ChangeLog revision da1f2d5d
1commit 7e8120c0574ab1910f63474ff6be8de0ddc4ccac
2Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3Date:   Fri Aug 26 15:23:32 2022 -0700
4
5    libFS 1.0.9
6    
7    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8
9commit ee33ecf31706877e1ab7dc257fadbb3eb535da50
10Author: Alan Coopersmith <alan.coopersmith@oracle.com>
11Date:   Sun May 8 12:35:00 2022 -0700
12
13    Convert code to use FSmallocarray() & FSreallocarray()
14    
15    Provides automatic integer overflow checking in allocation size calculations
16    (Though we already have explicit checks before using values provided
17     over the protocol in calculations, so many were already manually checked.)
18    
19    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
20
21commit 4a1d0977dbb6eb960ca4deedba90940bcaeecefb
22Author: Alan Coopersmith <alan.coopersmith@oracle.com>
23Date:   Sun May 8 12:20:58 2022 -0700
24
25    Import reallocarray() from libX11 (originally from OpenBSD)
26    
27    Wrapper for realloc() that checks for overflow when multiplying
28    arguments together, so we don't have to add overflow checks to
29    every single call.  For documentation on usage, see:
30    http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3
31    
32    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
33
34commit 8896fbce317e454e578cc80300693737e39e00fc
35Author: Alan Coopersmith <alan.coopersmith@oracle.com>
36Date:   Sun May 8 12:05:16 2022 -0700
37
38    gitlab CI: add a basic build test
39    
40    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
41
42commit 29f790a5c98abde13b3daa5a7b1c1f53c4574550
43Author: Alan Coopersmith <alan.coopersmith@oracle.com>
44Date:   Sun May 8 12:01:22 2022 -0700
45
46    Fix spelling/wording issues
47    
48    Found by using:
49        codespell --builtin clear,rare,usage,informal,code,names
50    
51    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52
53commit aea1ce86c4391ba72de4e8599f3862eccd3599f0
54Author: Alan Coopersmith <alan.coopersmith@oracle.com>
55Date:   Sun May 8 12:00:23 2022 -0700
56
57    Build xz tarballs instead of bzip2
58    
59    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
60
61commit 02de7390e58f00a3701f656a2b205dc6c8dafb58
62Author: Alan Coopersmith <alan.coopersmith@oracle.com>
63Date:   Sun Mar 10 15:39:06 2019 -0700
64
65    libFS 1.0.8
66    
67    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
68
69commit e8642e3203f9793c2cca19b2df334b4160c56742
70Author: Alan Coopersmith <alan.coopersmith@oracle.com>
71Date:   Fri Dec 7 19:29:44 2018 -0800
72
73    Update configure.ac bug URL for gitlab migration
74    
75    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
76
77commit 6052aa6479be8059c9294ced6e3a33e2316bb2d5
78Author: Alan Coopersmith <alan.coopersmith@oracle.com>
79Date:   Sun Nov 18 21:46:25 2018 -0800
80
81    Update README for gitlab migration
82    
83    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
84
85commit d3af455fb236931fadb6e863e5a4ed509c61d868
86Author: Alan Coopersmith <alan.coopersmith@oracle.com>
87Date:   Sun Sep 23 19:26:02 2018 -0700
88
89    Don't try to send strings larger than protocol allows in requests
90    
91    Also clears up all "Loss of precision on implicit conversion" warnings
92    from Oracle's Parfait static analyser.
93    
94    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
95
96commit 12d64c65200930885c694d018ec66d8946b3a214
97Author: Alan Coopersmith <alan.coopersmith@oracle.com>
98Date:   Sun Sep 23 13:51:25 2018 -0700
99
100    Fix sign comparison warning in loop index in FSQueryXInfo
101    
102    FSQXInfo.c: In function ‘FSQueryXInfo’:
103    FSQXInfo.c:110:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
104         for (j=0; j<props->num_offsets; j++)
105                    ^
106    
107    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
108
109commit 3eb9c6bbfb4e6caf6efb5dec8744f257c2d63be7
110Author: Alan Coopersmith <alan.coopersmith@oracle.com>
111Date:   Sun Sep 23 13:47:35 2018 -0700
112
113    Fix sign comparison warning in loop indexes in FSQueryXExtents{8,16}
114    
115    FSQXExt.c: In function ‘FSQueryXExtents8’:
116    FSQXExt.c:105:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
117         for (i = 0; i < reply.num_extents; i++) {
118                       ^
119    FSQXExt.c: In function ‘FSQueryXExtents16’:
120    FSQXExt.c:141:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
121      for (i = 0; i < str_len; i++) {
122                    ^
123    FSQXExt.c:165:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
124         for (i = 0; i < reply.num_extents; i++) {
125                       ^
126    
127    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
128
129commit 8213b7070c039ea16d0112eff01cc7420031c089
130Author: Alan Coopersmith <alan.coopersmith@oracle.com>
131Date:   Sun Sep 23 13:44:59 2018 -0700
132
133    Fix sign comparison warning in loop indexes in FSQueryXBitmaps{8,16}
134    
135    FSQGlyphs.c: In function ‘FSQueryXBitmaps8’:
136    FSQGlyphs.c:113:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
137         for (i=0; i<reply.num_chars; i++)
138                    ^
139    FSQGlyphs.c: In function ‘FSQueryXBitmaps16’:
140    FSQGlyphs.c:160:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
141      for (i = 0; i < str_len; i++) {
142                    ^
143    FSQGlyphs.c:198:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
144         for (i=0; i<reply.num_chars; i++)
145                    ^
146    
147    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
148
149commit caee4c2bf188484f117e5bd866e3b56c8506593e
150Author: Alan Coopersmith <alan.coopersmith@oracle.com>
151Date:   Sun Sep 23 13:40:30 2018 -0700
152
153    Fix sign comparison warning in loop index in FSListCatalogues
154    
155    FSListCats.c: In function ‘FSListCatalogues’:
156    FSListCats.c:104:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
157      for (i = 0; i < rep.num_catalogues; i++) {
158                    ^
159    
160    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
161
162commit b37bbeb7ca931b0f5170e877b0bbfd0959d344b7
163Author: Alan Coopersmith <alan.coopersmith@oracle.com>
164Date:   Sun Sep 23 13:34:04 2018 -0700
165
166    Fix sign comparison warning in loop index in FSListFontsWithXInfo
167    
168    FSFontInfo.c: In function ‘FSListFontsWithXInfo’:
169    FSFontInfo.c:182:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
170      for (j=0; j<pi[i]->num_offsets; j++)
171                 ^
172    
173    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
174
175commit fed3794a5204eace3926f13573b10f0b51f85fbc
176Author: Mihail Konev <k.mvc@ya.ru>
177Date:   Thu Jan 26 13:52:49 2017 +1000
178
179    autogen: add default patch prefix
180    
181    Signed-off-by: Mihail Konev <k.mvc@ya.ru>
182
183commit 89f456580ea831652f119158f8b257dfd531a7e1
184Author: Emil Velikov <emil.l.velikov@gmail.com>
185Date:   Mon Mar 9 12:00:52 2015 +0000
186
187    autogen.sh: use quoted string variables
188    
189    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
190    fall-outs, when they contain space.
191    
192    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
193    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
194    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
195
196commit 4ef3748251ac2139b73b137dcef529421447652b
197Author: Peter Hutterer <peter.hutterer@who-t.net>
198Date:   Tue Jan 24 10:32:07 2017 +1000
199
200    autogen.sh: use exec instead of waiting for configure to finish
201    
202    Syncs the invocation of configure with the one from the server.
203    
204    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
205    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
206
207commit a9db12661e7412dd935706c92db6d7bc46238782
208Author: Alan Coopersmith <alan.coopersmith@oracle.com>
209Date:   Thu Apr 30 21:14:46 2015 -0700
210
211    libFS 1.0.7
212    
213    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
214
215commit f1c9c18e2601151e3dfa7f83b4748edd2a5a3a6e
216Author: Alan Coopersmith <alan.coopersmith@oracle.com>
217Date:   Wed Nov 5 17:49:30 2014 -0800
218
219    Use 'imdent' to realign cpp indentation levels in FSlibos.h
220    
221    Parts were indented, others weren't, now is more consistent.
222    'git diff -w' shows no non-whitespace changes in this commit
223    
224    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
225
226commit f2c0bb056dbfbc2ca5b753b8de87b6c73742a990
227Author: Alan Coopersmith <alan.coopersmith@oracle.com>
228Date:   Wed Nov 5 17:48:18 2014 -0800
229
230    Remove unneeded checks for #ifndef X_NOT_POSIX
231    
232    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
233
234commit aef4c4f1330dc01d535cd88b9805c3d5d164b070
235Author: Alan Coopersmith <alan.coopersmith@oracle.com>
236Date:   Fri Jul 11 20:24:22 2014 -0700
237
238    Fix typos & wording issues in source comments
239    
240    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
241
242commit dcf25b1ed387d7019d2cf7703eeb33554987d63f
243Author: Alan Coopersmith <alan.coopersmith@oracle.com>
244Date:   Thu Jun 5 14:20:07 2014 -0700
245
246    Fix some sign/size conversion warnings from clang
247    
248    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
249
250commit fa577a18f189fe454995306d38059570e1ad8bf2
251Author: Alan Coopersmith <alan.coopersmith@oracle.com>
252Date:   Wed Jun 4 23:36:45 2014 -0700
253
254    Constify some more strings in API arguments
255    
256    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
257
258commit 5e0f1b91edb97759e2c07ec233c2ce8639c8e0fe
259Author: Alan Coopersmith <alan.coopersmith@oracle.com>
260Date:   Fri May 23 23:20:03 2014 -0700
261
262    Constify pattern argument to FSListCatalogues
263    
264    The contents of pattern are simply copied to the request sent to
265    the font server and never touched again, so can be labeled read-only.
266    
267    Fixes compiler warning building xfsinfo:
268    
269    xfsinfo.c: In function ‘print_catalogue_info’:
270    xfsinfo.c:158:5: warning: passing argument 2 of ‘FSListCatalogues’ discards
271     ‘const’ qualifier from pointer target type [enabled by default]
272         char      **cats = FSListCatalogues(svr, "*", 1000, &n);
273         ^
274    In file included from xfsinfo.c:66:0:
275    FSlib.h:255:16: note: expected ‘char *’ but argument is of type ‘const char *’
276     extern char ** FSListCatalogues ( FSServer *svr, char *pattern,
277    
278    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
279
280commit 88be5c37c40070305e64c4b8dc0a1c1f6ca80440
281Author: Alan Coopersmith <alan.coopersmith@oracle.com>
282Date:   Sun Mar 16 10:44:14 2014 -0700
283
284    libFS 1.0.6
285    
286    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
287
288commit e5be46eceee9c0c0d5f0363d3e08b19f86f85fcb
289Author: Alan Coopersmith <alan.coopersmith@oracle.com>
290Date:   Fri Jan 3 23:07:12 2014 -0800
291
292    Use strlcpy instead of strcpy/strncpy if it is available
293    
294    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
295
296commit e831ef9246684298c147f9b26de0810b8218c3cb
297Author: Alan Coopersmith <alan.coopersmith@oracle.com>
298Date:   Fri Jan 3 21:33:10 2014 -0800
299
300    Replace malloc(strlen + 1); strcpy() with strdup()
301    
302    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
303    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
304
305commit 980cf8ac0c636ff7ef1fccb9e74f116ac5ea34ae
306Author: Alan Coopersmith <alan.coopersmith@oracle.com>
307Date:   Fri Jan 3 21:13:30 2014 -0800
308
309    Remove unused internal helper _FSWireToEvent
310    
311    Since we build with -export-symbols-regex '^FS.*', it wasn't available
312    to callers outside libFS, and was never called by anything inside libFS.
313    
314    Seems to have been imported from XlibInt.c without ever being used.
315    
316    Flagged by cppcheck 1.62:
317    [FSlibInt.c:753]: (style) The function '_FSWireToEvent' is never used.
318    
319    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
320    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
321
322commit b9f27dc863c3ca01bb231ee48e84bc60b39d4f1f
323Author: Alan Coopersmith <alan.coopersmith@oracle.com>
324Date:   Fri Jan 3 20:55:33 2014 -0800
325
326    Remove unused internal helper _FSEventsQueued
327    
328    Since we build with -export-symbols-regex '^FS.*', it wasn't available
329    to callers outside libFS, and was never called by anything inside libFS.
330    
331    Seems to have been imported from XlibInt.c without ever being used.
332    
333    Flagged by cppcheck 1.62:
334    [FSlibInt.c:180]: (style) The function '_FSEventsQueued' is never used.
335    
336    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
337    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
338
339commit 37772516acb95b3c9934252994b7dfdc147dfd23
340Author: Alan Coopersmith <alan.coopersmith@oracle.com>
341Date:   Fri Jan 3 20:50:32 2014 -0800
342
343    Remove unused internal helper _FSAllocScratch
344    
345    Since we build with -export-symbols-regex '^FS.*', it wasn't available
346    to callers outside libFS, and was never called by anything inside libFS.
347    
348    Seems to have been imported from XlibInt.c without ever being used.
349    The _FSserver fields that it used (and nothing else did) are replaced
350    with "unused" placeholders to maintain struct layout/size.
351    
352    Flagged by cppcheck 1.62:
353    [FSlibInt.c:973]: (style) The function '_FSAllocScratch' is never used.
354    
355    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
356    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
357
358commit ac1eb6e3ea54724cf3ab3ad1ccf0595df9e34786
359Author: Alan Coopersmith <alan.coopersmith@oracle.com>
360Date:   Fri Jan 3 20:46:48 2014 -0800
361
362    Remove unused internal helper _FSGetHostname
363    
364    Since we build with -export-symbols-regex '^FS.*', it wasn't available
365    to callers outside libFS, and was never called by anything inside libFS.
366    
367    Xtrans provides it's own exact copy of this function, which gets
368    the name _FSTransGetHostname when built in libFS, nothing in libFS
369    outside the Xtrans code calls a gethostname() function.
370    
371    Flagged by cppcheck 1.62:
372    [FSlibInt.c:1060]: (style) The function '_FSGetHostname' is never used.
373    
374    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
375    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
376
377commit a4c12fe0ca5cb359bffe08b26a92ddcf8e194441
378Author: Alan Coopersmith <alan.coopersmith@oracle.com>
379Date:   Fri Jan 3 20:04:33 2014 -0800
380
381    If EAGAIN == EWOULDBLOCK, only need to check errno for one of them
382    
383    Solaris <sys/errno.h> has:
384     #define EWOULDBLOCK       EAGAIN
385    so checking (errno == EAGAIN || errno == EWOULDBLOCK) is overkill.
386    
387    This leads cppcheck 1.62 to complain:
388    [FSlibInt.c:153] -> [FSlibInt.c:153]: (style) Same expression on both sides of '||'.
389    [FSlibInt.c:301] -> [FSlibInt.c:301]: (style) Same expression on both sides of '||'.
390    [FSlibInt.c:379] -> [FSlibInt.c:379]: (style) Same expression on both sides of '||'.
391    [FSlibInt.c:472] -> [FSlibInt.c:472]: (style) Same expression on both sides of '||'.
392    
393    This quiets it, and reduces the number of calls Solaris Studio cc
394    generates to the __errno() function to get the thread-specific errno value.
395    
396    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
397    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
398
399commit b6885f7aedc3b6eba62ffa1edac1e8488d938cea
400Author: Alan Coopersmith <alan.coopersmith@oracle.com>
401Date:   Fri Jan 3 19:57:09 2014 -0800
402
403    Reduce scope & remove unneeded assignment of defaultp in FSGetErrorText()
404    
405    Suggested by cppcheck 1.62
406    
407    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
408
409commit dcb6c39feb63dcf7e843bd2394a2544fd4e79f9f
410Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
411Date:   Thu Jan 2 01:03:49 2014 -0800
412
413    FSOpenServer: Fix double-free in error path
414    
415    FSOpenServ.c:266:5: warning: Use of memory after it is freed
416        OutOfMemory(svr, setup);
417        ^~~~~~~~~~~~~~~~~~~~~~~
418    
419    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
420
421commit 4b0b74f953619164dc2863ee2cd3f09d15c65a51
422Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
423Date:   Thu Jan 2 00:49:27 2014 -0800
424
425    Update error loop to correctly handle error in i==0 case
426    
427    FSOpenServ.c:183:3: warning: Function call argument is an uninitialized value
428                    FSfree(alts[i].name);
429                    ^~~~~~~~~~~~~~~~~~~~
430    ./FSlibos.h:273:21: note: expanded from macro 'FSfree'
431                        ^~~~~~~~~~~
432    
433    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
434
435commit 5ed8b4cf1f1c35ef35a3c94350e6b96646a2a0b7
436Author: Alan Coopersmith <alan.coopersmith@oracle.com>
437Date:   Fri Dec 27 11:01:35 2013 -0800
438
439    Add AC_USE_SYSTEM_EXTENSIONS to expose non-standard extensions
440    
441    Required on Solaris to expose fd_mask in <sys/select.h> now that
442    xtrans 1.3 defines _XOPEN_SOURCE to 600 on Solaris, since fd_mask
443    is not defined in that version of the XPG standards.
444    
445    Fixes build failure:
446    ../../src/FSConnServ.c: In function '_FSWaitForWritable':
447    ../../src/FSConnServ.c:166:6: error: 'fd_mask' undeclared (first use in this function)
448    ../../src/FSConnServ.c:166:6: note: each undeclared identifier is reported only once for each function it appears in
449    
450    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
451    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
452
453commit 19ca53de0aae67b1f23085c832b445576c6a0b25
454Author: Adam Jackson <ajax@redhat.com>
455Date:   Fri Nov 1 11:14:58 2013 -0400
456
457    Fix build with xtrans 1.3
458    
459    ->Readv was in fact being used, oops.  Just call straight down to
460    readv() instead.
461    
462    Reviewed-by: Peter Harris <pharris@opentext.com>
463    Signed-off-by: Adam Jackson <ajax@redhat.com>
464
465commit 96243bfec19d0f543de3ef590a482f7f6dcdaa3d
466Author: Alan Coopersmith <alan.coopersmith@oracle.com>
467Date:   Mon Jun 24 22:52:09 2013 -0700
468
469    Drop Cray (WORD64/MUSTCOPY) support
470    
471    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
472
473commit d30a927b79ee0faa5f4547d5d60570f8fcd11fc2
474Author: Alan Coopersmith <alan.coopersmith@oracle.com>
475Date:   Mon Jun 24 22:46:52 2013 -0700
476
477    Fix a couple comment typos
478    
479    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
480
481commit 665fb8c34183bbaba5c7deb045863090082f814b
482Author: Alan Coopersmith <alan.coopersmith@oracle.com>
483Date:   Mon Jun 24 22:42:56 2013 -0700
484
485    Require ANSI C89 pre-processor, drop pre-C89 token pasting support
486    
487    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
488
489commit 279fbcc23d6cd462e034dec6a9d1378cb86247e3
490Author: Alan Coopersmith <alan.coopersmith@oracle.com>
491Date:   Tue May 28 17:42:06 2013 -0700
492
493    Fix typo in readme ("xfslsfonts" should be "fslsfonts")
494    
495    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
496
497commit 9d1458e02fe8dcac68b32917c9b10fa49d7161e7
498Author: Alan Coopersmith <alan.coopersmith@oracle.com>
499Date:   Tue May 28 17:17:40 2013 -0700
500
501    libFS 1.0.5
502    
503    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
504
505commit 26dc23446c2e7818fdebfb46e101bac4883df07e
506Author: Alan Coopersmith <alan.coopersmith@oracle.com>
507Date:   Sun Apr 14 09:07:32 2013 -0700
508
509    Sign extension issue and integer overflow in FSOpenServer() [CVE-2013-1996]
510    
511    >       altlen = (int) *ad++; <-- if char is 0xff, will sign extend to int (0xffffffff == -1)
512    >       alts[i].name = (char *) FSmalloc(altlen + 1); <-- -1 + 1 == 0
513    > ...
514    >       memmove(alts[i].name, ad, altlen); <-- memory corruption
515    
516    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
517    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
518
519commit f6030dd569094fb29720a4bf54aec784b1edcac5
520Author: Alan Coopersmith <alan.coopersmith@oracle.com>
521Date:   Wed Apr 10 21:43:40 2013 -0700
522
523    Get rid of more duplication in error cleanup code in FSListFontsWithXInfo
524    
525    Also get rely on free() to handle null pointers in cleanup code instead
526    of checking each one ourselves.
527    
528    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
529
530commit 1f260bfdcb8d83d6c21db70ad6ed0fa94e5f5abf
531Author: Alan Coopersmith <alan.coopersmith@oracle.com>
532Date:   Wed Apr 10 20:55:36 2013 -0700
533
534    Avoid accessing freed memory on realloc failure in FSListFontsWithXInfo
535    
536    Since we realloc 5 things in a row, and then check for failure, it's
537    quite possible one of our old pointers is now pointing to something
538    completely different, so instead update the pointers as we successfully
539    realloc them and then jump to the normal error processing cleanup if
540    one fails.
541    
542    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
543
544commit 3022dfdcdac08a4950695ded9f372e845f2be008
545Author: Alan Coopersmith <alan.coopersmith@oracle.com>
546Date:   Wed Apr 10 19:04:22 2013 -0700
547
548    Avoid reading outside bounds when _FSReply receives an Error response
549    
550    Upon receiving a response, _FSReply copies the first 8 bytes into *rep
551    and then looks at them to determine what type of response.   If it's an
552    error packet, it then converts to an error struct and reads the rest,
553    but it was copying 16 bytes out of *rep to begin with, due to sloppy
554    casting.   Since we immediately overwrite the second 8 bytes with the
555    data coming off the wire, this isn't horrible, but it really freaks out
556    static analysis and memory debugging tools.
557    
558    Fixes parfait 1.1 warning:
559    
560    Error: Buffer overrun
561       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
562          size(((char*)((union fsError*)rep))) is 8, 16 is 16
563            at line 751 of src/FSlibInt.c in function '_FSReply'.
564            called at line 67 of src/FSSync.c in function 'FSSync' with rep = ((union fsReply*)&rep).
565    
566    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
567
568commit 932131874109931bb6d50acc47ac94e51a2353de
569Author: Alan Coopersmith <alan.coopersmith@oracle.com>
570Date:   Wed Apr 10 18:54:35 2013 -0700
571
572    Use NULL instead of 0 for null pointers
573    
574    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
575
576commit 90b9754da977cb6804da4c38711ff33db772a9ca
577Author: Alan Coopersmith <alan.coopersmith@oracle.com>
578Date:   Wed Apr 10 18:30:24 2013 -0700
579
580    Get rid of unnecessary casts in FSfree calls
581    
582    No need to cast all other pointers to char *, since C89 free takes
583    any type of pointer.   Casting all of them just hides errors if you
584    try to free something that's not really a pointer.
585    
586    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
587
588commit 2cf3ed903048758ee696d410aba6afefd1582dec
589Author: Alan Coopersmith <alan.coopersmith@oracle.com>
590Date:   Wed Apr 10 18:26:22 2013 -0700
591
592    Get rid of unnecessary casts in FS*alloc calls
593    
594    Stop taking 64-bit size_t, truncating to 32-bit unsigned int, and then
595    putting into a 64-bit size_t argument to underlying *alloc call.
596    
597    Also stop casting results, since in C, that just hides missing prototype
598    errors that can cause memory corruption when taking an implicit 32-bit
599    int return value and trying to make a 64-bit pointer out of it.
600    
601    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
602
603commit 0ef550010ad1cb08297951b385c0034010e89a9a
604Author: Alan Coopersmith <alan.coopersmith@oracle.com>
605Date:   Fri Jan 18 23:18:47 2013 -0800
606
607    Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS
608    
609    Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html
610    
611      - Support for the long-deprecated INCLUDES variable will be removed
612        altogether in Automake 1.14.  The AM_CPPFLAGS variable should be
613        used instead.
614    
615    This variable was deprecated in Automake releases prior to 1.10, which is
616    the current minimum level required to build X.
617    
618    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
619
620commit 464fb353a406cbb4c478fae89952979cb5c8775c
621Author: Colin Walters <walters@verbum.org>
622Date:   Wed Jan 4 17:37:06 2012 -0500
623
624    autogen.sh: Implement GNOME Build API
625    
626    http://people.gnome.org/~walters/docs/build-api.txt
627    
628    Signed-off-by: Adam Jackson <ajax@redhat.com>
629
630commit 0e0109c5d035c9f803b52d2189151f600de59866
631Author: Adam Jackson <ajax@redhat.com>
632Date:   Tue Jan 15 14:28:48 2013 -0500
633
634    configure: Remove AM_MAINTAINER_MODE
635    
636    Signed-off-by: Adam Jackson <ajax@redhat.com>
637
638commit 56c83935a873fa7c6bb0c8c7d9f755ee08439aa5
639Author: Thomas Klausner <wiz@NetBSD.org>
640Date:   Thu Jul 12 14:39:26 2012 +0200
641
642    Fix a prototype error
643    
644    Per NetBSD PR 41899 from Henning Petersen.
645    
646    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
647    Signed-off-by: Julien Cristau <jcristau@debian.org>
648
649commit 589eea0713cacb7b6889d15e4dbcd2914684db9b
650Author: Alan Coopersmith <alan.coopersmith@oracle.com>
651Date:   Fri Mar 2 19:47:42 2012 -0800
652
653    libFS 1.0.4
654    
655    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
656
657commit 9e5c931053f261cc97e3d7b75a5c2f14990bbb9d
658Author: Alan Coopersmith <alan.coopersmith@oracle.com>
659Date:   Fri Mar 2 19:42:18 2012 -0800
660
661    Remove unneeded shadow definition of 'i' from FSQueryXBitmaps16
662    
663    Fixes gcc warning:
664    FSQGlyphs.c: In function 'FSQueryXBitmaps16':
665    FSQGlyphs.c:153:6: warning: declaration of 'i' shadows a previous local
666    FSQGlyphs.c:143:10: warning: shadowed declaration is here
667    
668    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
669
670commit 4ebfa48f74deb4f35490e02eeeb1e59ff56856ab
671Author: Alan Coopersmith <alan.coopersmith@oracle.com>
672Date:   Sun Dec 4 08:54:38 2011 -0800
673
674    Fix builds of FSlibInt.c with Solaris Studio compilers
675    
676    Required in order to build with Studio cc now that xorg-macros is
677    setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris
678    system headers causes the noreturn attribute to not be correctly
679    applied to the exit() prototype in <stdlib.h> when building with
680    Studio instead of gcc.
681    
682    Otherwise compiler exits with error:
683    "FSlibInt.c", line 976: Function has no return statement : _FSDefaultIOError
684    
685    Uses Studio-specific pragma instead of adding another exit() prototype
686    with a noreturn attribute to avoid causing gcc to warn about having
687    a redundant prototype for the exit() function.
688    
689    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
690
691commit 447b3268bfb2d6a92d105ad75c2ac5462f1adecb
692Author: Alan Coopersmith <alan.coopersmith@oracle.com>
693Date:   Fri Nov 11 22:54:21 2011 -0800
694
695    Mark pattern argument to FSListFonts* as const char *
696    
697    Needed to fix gcc -Wwrite-strings warnings in clients such as fslsfonts
698    
699    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
700
701commit 5dae1f32a775c3f99f26571f3fab8fb4f0f2874f
702Author: Alan Coopersmith <alan.coopersmith@oracle.com>
703Date:   Wed Sep 28 22:28:22 2011 -0700
704
705    Change FSOpenServer and FSServerName to take const char * args.
706    
707    Almost matches the current versions of the XOpenDisplay & XDisplayName
708    functions they're modeled on - unlike XDisplayName, FSServerName now
709    returns const char * as well so we don't lose the constness of the
710    string passed in if we return it.
711    
712    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
713
714commit 1353bd6b52241857f9e37cc6403e1fee3c5e69e4
715Author: Alan Coopersmith <alan.coopersmith@oracle.com>
716Date:   Mon Sep 26 15:07:57 2011 -0700
717
718    Add const attributes to fix gcc -Wwrite-strings warnings
719    
720    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
721
722commit 750fbfe7562e94788e5dfecb6617e26d6d3f0157
723Author: Alan Coopersmith <alan.coopersmith@oracle.com>
724Date:   Fri Sep 16 22:08:05 2011 -0700
725
726    Strip trailing whitespace
727    
728    Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
729    git diff -w & git diff -b show no diffs from this change
730    
731    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
732
733commit 06fd3e765d96fda0e323c11c7a6786b870655bbe
734Author: Jeremy Huddleston <jeremyhu@apple.com>
735Date:   Thu Apr 28 17:21:15 2011 -0700
736
737    Silence clang's -Wformat-nonliteral around our error printing code
738    
739    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
740
741commit b39bb910ce7a8dc18922957bad7c0e7b1fe9c499
742Author: Jeremy Huddleston <jeremyhu@apple.com>
743Date:   Thu Apr 28 17:11:05 2011 -0700
744
745    Annotate fatal errors with _X_NORETURN
746    
747    Fixes a false-positive with clang static analysis
748    
749    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
750
751commit 8607b9de7b331f7a97e623b1490194324a8b9a4b
752Author: Cyril Brulebois <kibi@debian.org>
753Date:   Fri Feb 18 21:17:12 2011 +0100
754
755    Silence gcc warning.
756    
757    Fix the build with CFLAGS="-Wall -Werror":
758    |   CC     FSGetErrorText.o
759    | cc1: warnings being treated as errors
760    | FSGetErrorText.c: In function ‘CheckErrorMessage’:
761    | FSGetErrorText.c:43: error: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’
762    
763    An int is likely to be sufficient for this buffer's size…
764    
765    Signed-off-by: Cyril Brulebois <kibi@debian.org>
766    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
767
768commit 07c1f9c135039606c63b88d51b93532199897ceb
769Author: Alan Coopersmith <alan.coopersmith@oracle.com>
770Date:   Sun Feb 13 10:23:43 2011 -0800
771
772    Off-by-one error on the other end of FSGetErrorText bounds check
773    
774    The Font Server protocol actually defines 0 as an error code too.
775    
776    Before this fix, test/FSGetErrorText printed:
777    
778    FSGetErrorText for code FSBadRequest (0) returned:
779    ||
780    
781    Afterwards:
782    
783    FSGetErrorText for code FSBadRequest (0) returned:
784    |BadRequest, invalid request code or no such operation|
785    
786    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
787
788commit ba4f4e7604afc23431c62c3886ab9419d5913661
789Author: Alan Coopersmith <alan.coopersmith@oracle.com>
790Date:   Sun Feb 13 10:20:48 2011 -0800
791
792    Add simple test program for FSGetErrorText()
793    
794    When run with arguments, prints messages for the given codes.
795    When run with no arguments, prints messages for known valid error codes
796    and some invalid codes.
797    
798    Not run as part of "make check" since it requires a connection to an
799    xfs server to run, just available for developers to manually run when
800    needed.
801    
802    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
803
804commit 3deb5cb746e94854728f8265b6bb8eeaec367322
805Author: Alan Coopersmith <alan.coopersmith@oracle.com>
806Date:   Fri Feb 11 18:32:08 2011 -0800
807
808    Off-by-one error in FSGetErrorText bounds check
809    
810    Read outside array bounds (CWE 125): In array dereference of <unknown> with index 'code'
811      Array size is 12 elements (of 4 bytes each), index >= 1 and index <= 12
812        at line 108 of libFS/src/FSErrDis.c in function 'FSGetErrorText'.
813    
814    [ This bug was found by the Parfait 0.3.6 bug checking tool.
815      For more information see http://labs.oracle.com/projects/parfait/ ]
816    
817    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
818    Reviewed-by: Julien Cristau <jcristau@debian.org>
819
820commit ee8e378880e3fd3422f378b419bb77665626629c
821Author: Gaetan Nadon <memsize@videotron.ca>
822Date:   Wed Feb 2 16:08:21 2011 -0500
823
824    config: splitting FS and XTRANS compiler option no longer required
825    
826    This was done for the wrong reasons and fixed in commit:
827    87c96993d17812a55d92ef32a91083614e258f02
828    where the libfs.pc.in was fixed.
829    
830    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
831    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
832
833commit 92a10dde49d707d79fe588bb9e5aba2534c0ab2c
834Author: Gaetan Nadon <memsize@videotron.ca>
835Date:   Wed Feb 2 11:43:40 2011 -0500
836
837    config: comment, minor upgrade, quote and layout configure.ac
838    
839    Group statements per section as per Autoconf standard layout
840    Quote statements where appropriate.
841    Autoconf recommends not using dnl instead of # for comments
842    
843    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
844    Add AC_CONFIG_SRCDIR([Makefile.am])
845    Update minimum version of util-macros to at least 1.8.
846    
847    This helps automated maintenance and release activities.
848    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
849
850commit 195bc673e232e73b4cfa0fd34150a574683c69d1
851Author: Gaetan Nadon <memsize@videotron.ca>
852Date:   Fri Jan 28 19:41:37 2011 -0500
853
854    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
855    
856    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
857
858commit 5895de6dedcb8603b6a415d3486395c29501868c
859Author: Cristian Rodríguez  <cristian.rodriguez@opensuse.org>
860Date:   Tue Dec 14 15:07:34 2010 -0500
861
862    Export only public API symbols
863    
864    Reviewed-by: Adam Jackson <ajax@redhat.com>
865    Signed-off-by: Cristian Rodríguez <cristian.rodriguez@opensuse.org>
866
867commit 4218339a30a899ceb82a9a057c6b96bce624f917
868Author: Alan Coopersmith <alan.coopersmith@oracle.com>
869Date:   Tue Oct 26 18:47:31 2010 -0700
870
871    libFS 1.0.3
872    
873    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
874
875commit f6aacdb5143032a9e21b8bb09212fcf69c839a85
876Author: Alan Coopersmith <alan.coopersmith@oracle.com>
877Date:   Tue Oct 26 18:45:48 2010 -0700
878
879    Remove unnecessary calls from configure.ac
880    
881    AM_PROG_CC is already covered by XORG_DEFAULT_OPTIONS
882    AC_SUBST of CFLAGS & LIBS is taken care of by PKG_CHECK_MODULES
883    
884    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
885
886commit c7c7dda28b61d9b008a2fab3baf8ed02662a6dbf
887Author: Gaetan Nadon <memsize@videotron.ca>
888Date:   Mon Mar 29 16:50:33 2010 -0400
889
890    config: update AC_PREREQ statement to 2.60
891    
892    Unrelated to the previous patches, the new value simply reflects
893    the reality that the minimum level for autoconf to configure
894    all x.org modules is 2.60 dated June 2006.
895    
896    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
897    
898    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
899
900commit dbe6f1912d77cd42ca0ac7ac5296113f84fc690e
901Author: Gaetan Nadon <memsize@videotron.ca>
902Date:   Mon Mar 29 15:09:34 2010 -0400
903
904    config: install in $docdir and distribute doc/FSlib.txt
905    
906    The dist_doc_DATA statement was designed for that purpose.
907    
908    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
909
910commit 315643e773d666d1cc2248fe7ba1bc979ec34c70
911Author: Gaetan Nadon <memsize@videotron.ca>
912Date:   Mon Mar 29 14:53:48 2010 -0400
913
914    config: remove the pkgconfig pc.in file from EXTRA_DIST
915    
916    Automake always includes it in the tarball.
917    
918    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
919
920commit a391fd191e207b4408ce230505df25570cf041d4
921Author: Gaetan Nadon <memsize@videotron.ca>
922Date:   Fri Nov 27 20:56:03 2009 -0500
923
924    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
925    
926    Now that the INSTALL file is generated.
927    Allows running make maintainer-clean.
928
929commit 15104bf1988d27e7dc4272d32dbd381455c0e9f7
930Author: Gaetan Nadon <memsize@videotron.ca>
931Date:   Wed Oct 28 14:09:10 2009 -0400
932
933    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
934    
935    Add missing INSTALL file. Use standard GNU file on building tarball
936    README may have been updated
937    Remove AUTHORS file as it is empty and no content available yet.
938    Remove NEWS file as it is empty and no content available yet.
939
940commit 491adff64c38f940ca21f6be9e370ebe90f72c3e
941Author: Gaetan Nadon <memsize@videotron.ca>
942Date:   Tue Oct 27 15:07:25 2009 -0400
943
944    Deploy the new XORG_DEFAULT_OPTIONS #24242
945    
946    This macro aggregate a number of existing macros that sets commmon
947    X.Org components configuration options. It shields the configuration file from
948    future changes.
949
950commit 1b6896d93de00ad79c28c537edead58309df0d31
951Author: Gaetan Nadon <memsize@videotron.ca>
952Date:   Mon Oct 26 22:08:41 2009 -0400
953
954    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
955    
956    ChangeLog filename is known to Automake and requires no further
957    coding in the makefile.
958
959commit 40addd2ce521edadc6e6373b80c3c8c4f73c11c1
960Author: Gaetan Nadon <memsize@videotron.ca>
961Date:   Thu Oct 22 12:34:18 2009 -0400
962
963    .gitignore: use common defaults with custom section # 24239
964    
965    Using common defaults will reduce errors and maintenance.
966    Only the very small or inexistent custom section need periodic maintenance
967    when the structure of the component changes. Do not edit defaults.
968
969commit be177a3bad2b3158c09ebfc0356e0944ca704732
970Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
971Date:   Wed Oct 21 12:47:23 2009 -0700
972
973    This is not a GNU project, so declare it foreign.
974    
975    On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote:
976    > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote:
977    > > I noticed an INSTALL file in xlsclients and libXvMC today, and it
978    > > was quite annoying to work around since 'autoreconf -fvi' replaces
979    > > it and git wants to commit it.  Should these files even be in git?
980    > > Can I nuke them for the betterment of humanity and since they get
981    > > created by autoreconf anyways?
982    >
983    > See https://bugs.freedesktop.org/show_bug.cgi?id=24206
984    
985    As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with
986    AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation
987    of the INSTALL file. It is also part of the 24206 solution.
988    
989    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
990
991commit 364af12a2426358461f5ed5b142c97411cad80c5
992Author: Alan Coopersmith <alan.coopersmith@sun.com>
993Date:   Tue Jul 7 15:47:36 2009 -0700
994
995    Version 1.0.2
996
997commit 040bfd8f055f7e49f15e457842b8bca4f8d2020a
998Author: Alan Coopersmith <alan.coopersmith@sun.com>
999Date:   Tue Jul 7 15:45:50 2009 -0700
1000
1001    Move CWARNFLAGS to Makefile.am for easier build-time overriding
1002    
1003    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1004
1005commit 233b72428a47272b599a6be0708b06f7ed674f7c
1006Author: Alan Coopersmith <alan.coopersmith@sun.com>
1007Date:   Tue Jul 7 08:57:53 2009 -0700
1008
1009    Strip out-of-date RCS/CVS & SCCS version tags
1010    
1011    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1012
1013commit f85f04b1287717d00cc29aaea2dc44bd59a2d2b3
1014Author: Alan Coopersmith <alan.coopersmith@sun.com>
1015Date:   Tue Jul 7 08:45:41 2009 -0700
1016
1017    Constify FSErrorList
1018    
1019    Matches the code in libX11/src/ErrDes.c this is based on.
1020    
1021    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1022
1023commit b6c63181aded7f8e8879914b0f92767a47aa47cf
1024Author: Alan Coopersmith <alan.coopersmith@sun.com>
1025Date:   Wed Jun 17 16:05:03 2009 -0700
1026
1027    Drop #ifdef USG checks for some truly ancient (pre-SVR4) SysV's
1028    
1029    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1030
1031commit b566d33d344876392254941d8ef73c848194c432
1032Author: Alan Coopersmith <alan.coopersmith@sun.com>
1033Date:   Wed Jun 17 15:36:54 2009 -0700
1034
1035    Fix server name handling in IOError messages during connection setup
1036    
1037     - Don't try to sprintf a NULL string for the server name
1038     - Initialize the server name pointer in the srv struct sooner,
1039       so errors during connection initialization can print it instead
1040       of a null string in the error message
1041    
1042    Had to update the error paths that freed the partially constructed
1043    structure, so combined them into a common implmentation via "goto fail".
1044    
1045    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1046
1047commit eab796dabe05b4db2e193ab225deae613ac46a7b
1048Author: Alan Coopersmith <alan.coopersmith@sun.com>
1049Date:   Tue May 19 01:58:38 2009 -0700
1050
1051    Make FSlib.txt prototypes match those in headers.
1052    
1053    Both conversion to ANSI C89 format and fixing some long standing mistakes.
1054    
1055    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1056
1057commit 39be8ae0ac4d5281a006de67ae11f7877f443bc8
1058Author: Alan Coopersmith <alan.coopersmith@sun.com>
1059Date:   Tue May 19 01:44:26 2009 -0700
1060
1061    Move API doc from xorg-doc/doc/FSlib.doc
1062
1063commit 84d71a733b6ab93318260a5641d7609dbc38a198
1064Author: Alan Coopersmith <alan.coopersmith@sun.com>
1065Date:   Mon Feb 2 20:34:29 2009 -0800
1066
1067    Add README with pointers to mailing list, bugzilla & git repos
1068    
1069    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1070
1071commit 3779550c57db5fe845f955bec141ca24800f2fdb
1072Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1073Date:   Wed Jan 28 16:41:28 2009 -0200
1074
1075    Janitor: Correct make distcheck and compiler warnings.
1076
1077commit 84cd6e7402382862abb473e7686a375db29f4d99
1078Author: Peter Korsgaard <jacmet@sunsite.dk>
1079Date:   Wed Oct 22 10:34:59 2008 -0400
1080
1081    bcopy -> memmove
1082
1083commit 9cbdb6ab49d8f9e6174a00d6b509bf6f1e3c1e78
1084Author: Alan Coopersmith <alan.coopersmith@sun.com>
1085Date:   Wed May 21 18:40:05 2008 -0700
1086
1087    Version 1.0.1
1088
1089commit 16c85877e9754dfc83b7c60c9892a85d1ac14eaa
1090Author: Alan Coopersmith <alan.coopersmith@sun.com>
1091Date:   Wed May 21 17:44:21 2008 -0700
1092
1093    Replace sprintf with snprintf
1094
1095commit 485308a08afe17e9486f8123c775b3e728d8d88f
1096Author: Alan Coopersmith <alan.coopersmith@sun.com>
1097Date:   Wed May 21 17:31:15 2008 -0700
1098
1099    Add hooks to check code with static analyzers like lint & sparse
1100
1101commit 0a64482e6dcd636b9c8b2f38ecfed7945adfdb39
1102Author: Alan Coopersmith <alan.coopersmith@sun.com>
1103Date:   Wed May 21 17:00:06 2008 -0700
1104
1105    Put all copyright/license notices into COPYING file
1106
1107commit 501f667cca6674704ad623a08918246ba2d2692d
1108Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1109Date:   Tue Mar 4 17:41:18 2008 -0300
1110
1111    libFS ansification.
1112
1113commit 1513378c0f71caa42fc2620e439961cc82470a61
1114Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1115Date:   Sun Mar 9 00:16:17 2008 +0100
1116
1117    nuke RCS Ids
1118
1119commit 77f3fc68504451487bfc4ef8d393ccd95c823071
1120Author: James Cloos <cloos@jhcloos.com>
1121Date:   Thu Dec 6 16:38:13 2007 -0500
1122
1123    Replace static ChangeLog with dist-hook to generate from git log
1124
1125commit 63fcbab9d8c6c3324d797e8ce5b52046484d2495
1126Author: James Cloos <cloos@jhcloos.com>
1127Date:   Mon Sep 3 05:53:29 2007 -0400
1128
1129    Add *~ to .gitignore to skip patch/emacs droppings
1130
1131commit 3efa1082c4b58080b6d369882d3e6611adee8b5b
1132Author: Alan Coopersmith <alan.coopersmith@sun.com>
1133Date:   Thu Jul 13 14:58:43 2006 -0700
1134
1135    renamed: .cvsignore -> .gitignore
1136
1137commit df8de2bc08703b8de404e113cba4a47134bca68f
1138Author: Kevin E Martin <kem@kem.org>
1139Date:   Thu Dec 15 00:24:27 2005 +0000
1140
1141    Update package version number for final X11R7 release candidate.
1142
1143commit ea190affa767ac2c64f70bc9a303929cf2eb6eff
1144Author: Kevin E Martin <kem@kem.org>
1145Date:   Sat Dec 3 05:49:41 2005 +0000
1146
1147    Update package version number for X11R7 RC3 release.
1148
1149commit 11b1397e6c1356a70f42713f3a9779b866835d9e
1150Author: Kevin E Martin <kem@kem.org>
1151Date:   Sat Dec 3 04:41:47 2005 +0000
1152
1153    Add check and cflags for malloc(0) returning NULL.
1154
1155commit 87c96993d17812a55d92ef32a91083614e258f02
1156Author: Kevin E Martin <kem@kem.org>
1157Date:   Sat Nov 19 07:15:39 2005 +0000
1158
1159    Update pkgconfig files to separate library build-time dependencies from
1160        application build-time dependencies, and update package deps to work
1161        with separate build roots.
1162
1163commit 2404b41c83ea49dcbf654e6448ea99ab72c8d82b
1164Author: Kevin E Martin <kem@kem.org>
1165Date:   Wed Nov 9 21:19:11 2005 +0000
1166
1167    Update package version number for X11R7 RC2 release.
1168
1169commit 516e8e27077b7c4b535189e398030f6c2c99300a
1170Author: Kean Johnson <kean@armory.com>
1171Date:   Tue Nov 8 06:33:25 2005 +0000
1172
1173    See ChangeLog entry 2005-11-07 for details.
1174
1175commit b7c75dbf546e30fba6afba95b9a95fe4f50c6bba
1176Author: Kevin E Martin <kem@kem.org>
1177Date:   Wed Oct 19 02:48:08 2005 +0000
1178
1179    Update package version number for RC1 release.
1180
1181commit 4902aa061cfdd2f2f35158240d9da9706698cf61
1182Author: Adam Jackson <ajax@nwnk.net>
1183Date:   Wed Aug 3 03:28:00 2005 +0000
1184
1185    Do PKG_CHECK_MODULES on a unique token instead of on "DEP", so builds with
1186        a global configure cache don't get confused.
1187
1188commit b15ff0fd68f67e37fc759742ebb637caac058f08
1189Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1190Date:   Sat Jul 30 19:15:15 2005 +0000
1191
1192    Add -D flags to clear various warnings (Stefan Dirsch)
1193
1194commit 04ae86a006b608d2626ee90679cb84066cbc9710
1195Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1196Date:   Sat Jul 30 19:09:37 2005 +0000
1197
1198    Need to include "config.h" in fs_transport.c so Xtrans knows which
1199        transport types to support
1200
1201commit 35facec2fbd93d176f637dda5323c16a38350dfa
1202Author: Kevin E Martin <kem@kem.org>
1203Date:   Fri Jul 29 21:22:49 2005 +0000
1204
1205    Various changes preparing packages for RC0:
1206    - Verify and update package version numbers as needed
1207    - Implement versioning scheme
1208    - Change bug address to point to bugzilla bug entry form
1209    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
1210        reenable it)
1211    - Fix makedepend to use pkgconfig and pass distcheck
1212    - Update build script to build macros first
1213    - Update modular Xorg version
1214
1215commit be058d899bb49c6319041d05d54ed8e289a62adf
1216Author: Daniel Stone <daniel@fooishbar.org>
1217Date:   Sat Jul 16 06:20:22 2005 +0000
1218
1219    Set soversion to 6.0.0 using -version-number.
1220
1221commit 227eb224880f912e7261d251ba2bf81992b7726f
1222Author: Keith Packard <keithp@keithp.com>
1223Date:   Wed Jul 13 07:27:15 2005 +0000
1224
1225    Eliminate xtrans CFLAGS from .pc file as xtrans is not part of the public
1226        API.
1227
1228commit 905552dfa2af617780bc2cd4d14edad845c3203b
1229Author: Keith Packard <keithp@keithp.com>
1230Date:   Wed Jul 13 07:23:56 2005 +0000
1231
1232    Make some minor source adjustments so that we don not need to use
1233        -D_XOPEN_SOURCE -D_BSD_SOURCE everywhere as this will leak out of the
1234        modular environment and into application build processes, potentially
1235        foulling up their compiles.
1236
1237commit 9a9aec0b9fb6315120c2ff87be94c6653802be76
1238Author: Keith Packard <keithp@keithp.com>
1239Date:   Sat Jul 9 05:58:09 2005 +0000
1240
1241    Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directory
1242
1243commit e5721d4ea9a1ef400f790583b33b0491a224733f
1244Author: Daniel Stone <daniel@fooishbar.org>
1245Date:   Sun Jul 3 07:00:55 2005 +0000
1246
1247    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
1248    Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
1249    Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
1250        source files in the xserver/xorg tree, predicated on defines of
1251        HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
1252        <X11/fonts/foo.h>.
1253
1254commit 6847a3b405dd98a1aa7804e97e6b2ce13bbf8bd7
1255Author: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
1256Date:   Wed Jun 22 22:46:31 2005 +0000
1257
1258    Apply these patches from Theo van Klaveren:
1259    lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch
1260        lib-XScrnSaver.patch lib-xtrans.patch
1261    to make the libraries distcheck.
1262
1263commit 5f6bbd9ed4002d9d6b5119a018bbc7345f47543a
1264Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
1265Date:   Thu Jun 9 15:54:09 2005 +0000
1266
1267    Replace <X11/transport.c> with <X11/Xtrans/transport.c>
1268
1269commit e798bd7804c100232a927b075fcc58262c1e50f9
1270Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
1271Date:   Thu Jun 9 15:52:02 2005 +0000
1272
1273    Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
1274    Copy Xtrans.h to exports/include/X11/Xtrans only
1275
1276commit 6c0b06eddcffce31814cb103142f5cda2df9da91
1277Author: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
1278Date:   Wed May 25 22:12:21 2005 +0000
1279
1280    - Use XTRANS_CONNECTION_FLAGS macro in lib/FS/configure.ac
1281    - Don't symlink transport.c, which is a generated file
1282    - instead add a new file fs_transport.c that include Xtrans/X11/transport.c
1283
1284commit 3a9234d968568f2009376cdb219ea47b90572c68
1285Author: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
1286Date:   Wed May 25 21:47:56 2005 +0000
1287
1288    - Add FSlib to symlink.sh
1289    - Change Xtrans includedir back to be X11/Xtrans, so that users of it can
1290        continue to include <X11/*>
1291    - Add build system for FSlib
1292    - Conditionally include config.h in xc/lib/FS
1293    - Remove redundant include of FSproto.h in xc/lib/FS
1294    - Add check to proto/X11/configure.ac whether -D_XOPEN_SOURCE is needed.
1295
1296commit f4a1380add427a6ed7a0025d5acd5642c683900e
1297Author: Egbert Eich <eich@suse.de>
1298Date:   Fri Apr 23 18:43:08 2004 +0000
1299
1300    Merging XORG-CURRENT into trunk
1301
1302commit 7642992f5eea63b270cb8a7cbb1d470417fc47ad
1303Author: Egbert Eich <eich@suse.de>
1304Date:   Sun Mar 14 08:31:37 2004 +0000
1305
1306    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
1307
1308commit a0ded183f87e10b1202446c1824ba1b895beea9e
1309Author: Egbert Eich <eich@suse.de>
1310Date:   Wed Mar 3 12:10:54 2004 +0000
1311
1312    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
1313
1314commit 6b3683787c2f47eaae68276e2919b2fbbbcf72c7
1315Author: Egbert Eich <eich@suse.de>
1316Date:   Thu Feb 26 13:35:14 2004 +0000
1317
1318    readding XFree86's cvs IDs
1319
1320commit 7e0de805849b4bb1951376600d152d0121b06b52
1321Author: Egbert Eich <eich@suse.de>
1322Date:   Thu Feb 26 09:22:28 2004 +0000
1323
1324    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
1325
1326commit 0c5c8c10d628f28943a9cde02fb079c486ed71a3
1327Author: Egbert Eich <eich@suse.de>
1328Date:   Thu Jan 29 08:07:56 2004 +0000
1329
1330    Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004
1331
1332commit f0345958208586004bee80bac057b651162b8a27
1333Author: Kaleb Keithley <kaleb@freedesktop.org>
1334Date:   Fri Dec 19 20:54:21 2003 +0000
1335
1336    XFree86 4.3.99.902 (RC 2)
1337
1338commit b84549f69b504b733592759c161d59a00de79ac3
1339Author: Kaleb Keithley <kaleb@freedesktop.org>
1340Date:   Tue Nov 25 19:28:02 2003 +0000
1341
1342    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
1343
1344commit eec6ef2ff2462876d5c6df53691b6fb2e07dfcea
1345Author: Kaleb Keithley <kaleb@freedesktop.org>
1346Date:   Fri Nov 14 16:48:44 2003 +0000
1347
1348    XFree86 4.3.0.1
1349
1350commit 9e8dd4f7585c334c5b08f05f01c8900b5e4edf52
1351Author: Kaleb Keithley <kaleb@freedesktop.org>
1352Date:   Fri Nov 14 15:54:36 2003 +0000
1353
1354    R6.6 is the Xorg base-line
1355