ChangeLog revision 1c235774
1commit ddd8339e262cbb7b25993599299ad40e0c95ccf6
2Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3Date:   Tue Jan 17 08:19:26 2023 -0800
4
5    libXpm 3.5.15
6    
7    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8
9commit 8178eb0834d82242e1edbc7d4fb0d1b397569c68
10Author: Peter Hutterer <peter.hutterer@who-t.net>
11Date:   Mon Jan 16 19:44:52 2023 +1000
12
13    Use gzip -d instead of gunzip
14    
15    GNU gunzip [1] is a shell script that exec's `gzip -d`. Even if we call
16    /usr/bin/gunzip with the correct built-in path, the actual gzip call
17    will use whichever gzip it finds first, making our patch pointless.
18    
19    Fix this by explicitly calling gzip -d instead.
20    
21    https://git.savannah.gnu.org/cgit/gzip.git/tree/gunzip.in
22    
23    [Part of the fix for CVE-2022-4883]
24    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
25
26commit c5ab17bcc34914c0b0707d2135dbebe9a367c5f0
27Author: Matthieu Herrb <matthieu@herrb.eu>
28Date:   Thu Jan 12 15:05:39 2023 +1000
29
30    Prevent a double free in the error code path
31    
32    xpmParseDataAndCreate() calls XDestroyImage() in the error path.
33    Reproducible with sxpm "zero-width.xpm", that file is in the test/
34    directory.
35    
36    The same approach is needed in the bytes_per_line == 0 condition though
37    here it just plugs a memory leak.
38    
39    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
40
41commit 515294bb8023a45ff916696d0a14308ff4f3a376
42Author: Alan Coopersmith <alan.coopersmith@oracle.com>
43Date:   Fri Jan 6 12:50:48 2023 -0800
44
45    Fix CVE-2022-4883: compression commands depend on $PATH
46    
47    By default, on all platforms except MinGW, libXpm will detect if a
48    filename ends in .Z or .gz, and will when reading such a file fork off
49    an uncompress or gunzip command to read from via a pipe, and when
50    writing such a file will fork off a compress or gzip command to write
51    to via a pipe.
52    
53    In libXpm 3.5.14 or older these are run via execlp(), relying on $PATH
54    to find the commands.  If libXpm is called from a program running with
55    raised privileges, such as via setuid, then a malicious user could set
56    $PATH to include programs of their choosing to be run with those
57    privileges.
58    
59    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
60
61commit f80fa6ae47ad4a5beacb287c0030c9913b046643
62Author: Alan Coopersmith <alan.coopersmith@oracle.com>
63Date:   Sat Jan 7 12:44:28 2023 -0800
64
65    Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height
66    
67    When reading XPM images from a file with libXpm 3.5.14 or older, if a
68    image has a width of 0 and a very large height, the ParsePixels() function
69    will loop over the entire height calling getc() and ungetc() repeatedly,
70    or in some circumstances, may loop seemingly forever, which may cause a
71    denial of service to the calling program when given a small crafted XPM
72    file to parse.
73    
74    Closes: #2
75    
76    Reported-by: Martin Ettl <ettl.martin78@googlemail.com>
77    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
78
79commit f7fbbb92f6d383b21dd1587c3703a5de37c625b5
80Author: Alan Coopersmith <alan.coopersmith@oracle.com>
81Date:   Tue Jan 3 17:23:58 2023 -0800
82
83    test: add test cases for CVE-2022-44617 (zero-width w/enormous height)
84    
85    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
86
87commit a3a7c6dcc3b629d765014816c566c63165c63ca8
88Author: Alan Coopersmith <alan.coopersmith@oracle.com>
89Date:   Sat Dec 17 12:23:45 2022 -0800
90
91    Fix CVE-2022-46285: Infinite loop on unclosed comments
92    
93    When reading XPM images from a file with libXpm 3.5.14 or older, if a
94    comment in the file is not closed (i.e. a C-style comment starts with
95    "/*" and is missing the closing "*/"), the ParseComment() function will
96    loop forever calling getc() to try to read the rest of the comment,
97    failing to notice that it has returned EOF, which may cause a denial of
98    service to the calling program.
99    
100    Reported-by: Marco Ivaldi <raptor@0xdeadbeef.info>
101    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
102
103commit f7a167a48a950b89b91f5123a0ec8d9a7cb97495
104Author: Alan Coopersmith <alan.coopersmith@oracle.com>
105Date:   Sat Dec 17 12:18:24 2022 -0800
106
107    test: add test case for CVE-2022-46285 (unclosed comments)
108    
109    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
110
111commit 0ff2c6af823ce7712c06150c43c9b403846a035f
112Author: Alan Coopersmith <alan.coopersmith@oracle.com>
113Date:   Sat Jan 7 15:43:20 2023 -0800
114
115    cxpm: getc/ungetc wrappers should not adjust position when c == EOF
116    
117    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
118
119commit 501494c6c68a84114fdd0b44d4b67ef9cde776c9
120Author: Alan Coopersmith <alan.coopersmith@oracle.com>
121Date:   Sat Jan 7 13:39:56 2023 -0800
122
123    test: Add unit tests using glib framework
124    
125    Includes rudimentary tests for XpmReadFileToXpmImage, XpmReadFileToData,
126    XpmReadFileToBuffer, XpmCreateXpmImageFromData, XpmCreateXpmImageFromBuffer,
127    XpmWriteFileFromXpmImage, XpmWriteFileFromData, XpmWriteFileFromBuffer,
128    XpmAttributesSize, XpmGetErrorString, XpmLibraryVersion
129    
130    Includes test cases for CVE-2004-0687
131    
132    Tests .Z and .gz files if --enable-open-zfile is active
133    
134    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
135
136commit 4841039e5385f264d12757903894f47c64f59361
137Author: Alan Coopersmith <alan.coopersmith@oracle.com>
138Date:   Thu Jan 5 15:42:36 2023 -0800
139
140    configure: add --disable-open-zfile instead of requiring -DNO_ZPIPE
141    
142    Documents the two compression options in the README, makes their
143    configure options reflect the interdependency of their implementation,
144    and makes the configure script report their configuration.
145    
146    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
147
148commit aef0c8dd129838ac35b3cf8a7cdf04c7fd67dff1
149Author: Alan Coopersmith <alan.coopersmith@oracle.com>
150Date:   Sun Jan 1 14:19:17 2023 -0800
151
152    man pages: Apply standard man page style/formatting
153    
154    Function & macro names in bold, argument names in italics.
155    
156    In the man page body, bold function names followed by plain ()
157    for functions defined in this page, plain (3) for functions defined
158    in other man pages.
159    
160    New paragraphs start with .PP, not just a blank line.
161    
162    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
163
164commit 5d55a0be3f8a8d3e53c65c286878fc3224fce135
165Author: Alan Coopersmith <alan.coopersmith@oracle.com>
166Date:   Sun Jan 1 10:48:01 2023 -0800
167
168    man pages: Replace "See Also" entries with more useful ones
169    
170    "See Also" entries in man pages should list other man pages to
171    look at, not the alternate names for the current man page.
172    
173    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
174
175commit 392cb8fb444ae632176829076f412cb4029dbdbc
176Author: Alan Coopersmith <alan.coopersmith@oracle.com>
177Date:   Sun Jan 1 10:21:38 2023 -0800
178
179    man pages: Fix typos and other minor editing
180    
181    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
182
183commit 08bc174f28af028b6ebaa9edeccd3ff56c396e92
184Author: Alan Coopersmith <alan.coopersmith@oracle.com>
185Date:   Sat Nov 19 12:23:53 2022 -0800
186
187    libXpm 3.5.14
188    
189    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
190
191commit f0857c0de206e90777a5321cce9602083b283080
192Author: Alan Coopersmith <alan.coopersmith@oracle.com>
193Date:   Sat Aug 27 10:06:23 2022 -0700
194
195    man pages: Correct Copyright/License notices
196    
197    Since the text was copied from doc/xpm.PS.gz, the copyright and license
198    notices need to be copied from there as well.
199    
200    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
201
202commit deb81a9a210527b0a00f002b1796e5e21e492879
203Author: Alan Coopersmith <alan.coopersmith@oracle.com>
204Date:   Fri Aug 26 18:39:17 2022 -0700
205
206    man pages: Fix typos
207    
208    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
209
210commit 2d5fa4c2079494f502f9a576d749fa1e205f2144
211Author: Alan Coopersmith <alan.coopersmith@oracle.com>
212Date:   Fri Aug 26 18:29:05 2022 -0700
213
214    man pages: Add missing word 'function' where needed
215    
216    A number of instances of 'The Xpm... function' were missing the word
217    "function", so read awkwardly.
218    
219    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
220
221commit 2b7357e83e38e2a860687ee4150ef60bd6c0a47f
222Author: Alan Coopersmith <alan.coopersmith@oracle.com>
223Date:   Fri Aug 26 18:16:42 2022 -0700
224
225    man pages: Make function synopses more consistent with other pages
226    
227    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
228
229commit fb8590c9c57d661ec4a29da243e05b9d87b999d3
230Author: Alan Coopersmith <alan.coopersmith@oracle.com>
231Date:   Fri Aug 26 18:06:51 2022 -0700
232
233    man pages: Fix shadow man pages
234    
235    Shadow man pages have a .so line that needs to list the file to be
236    shown, not the name of the shadow page.
237    
238    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
239
240commit bfaebfdcc92433a8b78c004de4bb3c5a8a545e75
241Author: Alan Coopersmith <alan.coopersmith@oracle.com>
242Date:   Fri Aug 26 17:49:25 2022 -0700
243
244    man pages: Make file names consistent with their displayed names
245    
246    Lets users view the pages using the name displayed on the pages
247    
248    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
249
250commit 7a138a5278890e122731eb94b8e5a7d6ef543243
251Author: Alan Coopersmith <alan.coopersmith@oracle.com>
252Date:   Sun Jul 17 16:29:35 2022 -0700
253
254    gitlab CI: add a basic build test
255    
256    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
257
258commit 3433f4334db7c30864c112639a929c5ae8bd3c3b
259Author: Alan Coopersmith <alan.coopersmith@oracle.com>
260Date:   Sun Jul 17 16:27:01 2022 -0700
261
262    man: strip trailing whitespace
263    
264    git diff -w shows no changes from this commit
265    
266    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
267
268commit 961245427855ab6d30a5fa2dbb98aaffa571d728
269Author: Alan Coopersmith <alan.coopersmith@oracle.com>
270Date:   Sun Jul 17 16:25:38 2022 -0700
271
272    Fix spelling/wording issues
273    
274    Found by using:
275        codespell --builtin clear,rare,usage,informal,code,names
276    
277    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
278
279commit fa16fbda9c90f932a74cd80c90eee88432d987d7
280Author: Alan Coopersmith <alan.coopersmith@oracle.com>
281Date:   Sun Jul 17 16:23:04 2022 -0700
282
283    Build xz tarballs instead of bzip2
284    
285    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
286
287commit 83e5427f9cd5d32602bcf647547e0030ea361f00
288Author: Walter Harms <wharms@bfs.de>
289Date:   Wed Dec 25 20:40:04 2019 +0100
290
291    update man pages
292    
293    move from k&r to ansi prototypes
294    improve nroff coding
295    
296    Signed-off-by: Walter Harms <wharms@bfs.de>
297
298commit e48e649eb04f95ffbdbd0c8bb77d7131142f5e9a
299Author: Walter Harms <wharms@bfs.de>
300Date:   Tue Dec 24 17:20:09 2019 +0100
301
302    add man pages based on doc/xpm.PS
303    
304    More or less hand crafted man pages based on xpm.PS.
305    Prototypes are still in K&R, see also is a dud
306    
307    Signed-off-by: Walter Harms <wharms@bfs.de>
308
309commit b0fc485495a694816d76a43978e2cfd5575c554d
310Author: Peter Hutterer <peter.hutterer@who-t.net>
311Date:   Fri Dec 13 14:25:06 2019 +1000
312
313    libXpm 3.5.13
314    
315    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
316
317commit 5817fd4ac5308fe7c23301c652f174997009b7d5
318Author: Benjamin Tissoires <benjamin.tissoires@redhat.com>
319Date:   Wed Dec 4 11:17:21 2019 +0100
320
321    parse: simplify error paths in xpmParseColors()
322    
323    We introduced a new label to handle the errors, we should use it
324    for the rest of the function.
325    
326    Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
327
328commit e1d8f704d52f70680869b7aae1da0ad2382db363
329Author: Peter Hutterer <peter.hutterer@who-t.net>
330Date:   Thu Dec 5 06:17:00 2019 +1000
331
332    parse: avoid memleak on error with STRLCAT/STRLCPY
333    
334    The original macro might exit the function without freeing `colorTable`.
335    
336    Move the macros into a slightly less awful helper function and use goto
337    to clean up in case of error.
338    
339    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
340
341commit 7af7c5e275b69daedee3696bee1e880586f30373
342Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
343Date:   Fri May 3 07:59:09 2019 +0200
344
345    Allow usage when fork() is not available
346    
347    When fork() is not available, we need to define NO_ZPIPE so that
348    libXpm doesn't try to fork/exec to use a pipe to uncompress compressed
349    .xpm files. There is obviously a loss of functionality, but loading
350    uncompressed .xpm files should continue to work.
351    
352    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
353    [Retrieved from:
354    https://git.buildroot.net/buildroot/tree/package/x11r7/xlib_libXpm/0001-fork-check.patch]
355    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
356
357commit 0be2c6712728cea1fa1bcc640e564c45c2c82e37
358Author: Alan Coopersmith <alan.coopersmith@oracle.com>
359Date:   Fri Dec 7 19:47:06 2018 -0800
360
361    Update configure.ac bug URL for gitlab migration
362    
363    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
364
365commit c9f8faf1c05fb92abc6c5b1db5e45eb1a7942875
366Author: Alan Coopersmith <alan.coopersmith@oracle.com>
367Date:   Mon Nov 19 22:30:30 2018 -0800
368
369    Update README for gitlab migration
370    
371    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
372
373commit 73a1e769dcf2a603fc63f5c36626c1c6db815f46
374Author: Alan Coopersmith <alan.coopersmith@oracle.com>
375Date:   Sun Sep 30 15:09:29 2018 -0700
376
377    After fdopen(), use fclose() instead of close() in error path
378    
379    Found by Oracle's Parfait 2.2 static analyzer:
380    
381    Error: File Leak
382       File Leak [file-ptr-leak]:
383          Leaked File fp
384            at line 94 of lib/libXpm/src/RdFToBuf.c in function 'XpmReadFileToBuffer
385    '.
386              fp initialized at line 86 with fdopen
387              fp leaks when len < 0 at line 92.
388    
389    Introduced-by: commit 8b3024e6871ce50b34bf2dff924774bd654703bc
390    
391    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
392    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
393
394commit bc1b4962f048cfa33b76be46493e10cfb256fe98
395Author: Dave Bodenstab <the.tick@gmx.com>
396Date:   Wed Feb 22 12:04:54 2012 +0000
397
398    Windows build fixes
399    
400    https://bugs.freedesktop.org/show_bug.cgi?id=46475
401    https://bugs.freedesktop.org/attachment.cgi?id=57479
402    
403    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
404
405commit e42ca7b484418b169fd19a4c68e23ad2a6ec7a11
406Author: Mihail Konev <k.mvc@ya.ru>
407Date:   Thu Jan 26 13:52:49 2017 +1000
408
409    autogen: add default patch prefix
410    
411    Signed-off-by: Mihail Konev <k.mvc@ya.ru>
412
413commit ed8f9c2e8b635eb63497c48b24a056f9e6f50609
414Author: Emil Velikov <emil.l.velikov@gmail.com>
415Date:   Mon Mar 9 12:00:52 2015 +0000
416
417    autogen.sh: use quoted string variables
418    
419    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
420    fall-outs, when they contain space.
421    
422    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
423    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
424    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
425
426commit 644d7c595ba29fb368666fb497e1e14a92a65a77
427Author: Peter Hutterer <peter.hutterer@who-t.net>
428Date:   Tue Jan 24 10:32:07 2017 +1000
429
430    autogen.sh: use exec instead of waiting for configure to finish
431    
432    Syncs the invocation of configure with the one from the server.
433    
434    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
435    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
436
437commit 1fab5e81fd761f628fb68d22934615536dbd0220
438Author: Matthieu Herrb <matthieu@herrb.eu>
439Date:   Mon Dec 12 23:09:52 2016 +0100
440
441    libXpm 3.5.12
442    
443    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
444
445commit 8b3024e6871ce50b34bf2dff924774bd654703bc
446Author: Tobias Stoeckmann <tobias@stoeckmann.org>
447Date:   Sun Dec 11 13:50:05 2016 +0100
448
449    Handle size_t in file/buffer length
450    
451    The values of file sizes and buffer sizes can exceed current limits.
452    Therefore, use proper variable types for these operations.
453    
454    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
455    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
456
457commit d1167418f0fd02a27f617ec5afd6db053afbe185
458Author: Tobias Stoeckmann <tobias@stoeckmann.org>
459Date:   Thu Dec 8 17:07:55 2016 +0100
460
461    Avoid OOB write when handling malicious XPM files.
462    
463    libXpm uses unsigned int to store sizes, which fits size_t on 32 bit
464    systems, but leads to issues on 64 bit systems.
465    
466    On 64 bit systems, it is possible to overflow 32 bit integers while
467    parsing XPM extensions in a file.
468    
469    At first, it looks like a rather unimportant detail, because nobody
470    will seriously open a 4 GB file. But unfortunately XPM has support for
471    gzip compression out of the box. An attacker can therefore craft a
472    compressed file which is merely 4 MB in size, which makes an attack
473    much for feasable.
474    
475    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
476    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
477
478commit 1ec33006a9e4214b390045b820464e24297dc6c0
479Author: Tobias Stoeckmann <tobias@stoeckmann.org>
480Date:   Tue Dec 6 22:34:33 2016 +0100
481
482    Gracefully handle EOF while parsing files.
483    
484    libXpm does not properly handle EOF conditions when xpmGetC is called
485    multiple times in a row to construct a string. Instead of checking
486    its return value for EOF, the result is automatically casted into a
487    char and attached to a string.
488    
489    By carefully crafting the color table in an XPM file, it is possible to
490    send a libXpm program like gimp into a very long lasting loop and
491    massive memory allocations.
492    
493    Otherwise no memory issues arise, therefore this is just a purely
494    functional patch to dismiss invalid input.
495    
496    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
497    Reviewed-by: Matthieu Herrb <Matthieu@herrb.eu>
498
499commit c46dedeba15edf7216d62633ed6daf40cd1f5bfd
500Author: Tobias Stoeckmann <tobias@stoeckmann.org>
501Date:   Tue Dec 6 22:31:53 2016 +0100
502
503    Fix out out boundary read on unknown colors
504    
505    libXpm is vulnerable to an out of boundary read if an XPM file contains
506    a color with a symbolic name but without any default color value.
507    
508    A caller must set XpmColorSymbols and a color with a NULL name in
509    the supplied XpmAttributes to XpmReadFileToImage (or other functions of
510    this type) in order to trigger this issue.
511    
512    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
513    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
514
515commit 42ca8d956276bc00bec09e410d76daf053ae35f9
516Author: Jörg Sonnenberger  <joerg@NetBSD.org>
517Date:   Wed Mar 19 09:26:37 2014 +0100
518
519    Fix abs() usage.
520    
521    For long arguments, use labs().
522    
523    Reviewed-by: Matt Turner <mattst88@gmail.com>
524    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
525
526commit 3425cbb0e6086f74783eafbe23df1121b655e006
527Author: Alan Coopersmith <alan.coopersmith@oracle.com>
528Date:   Sat Sep 7 21:40:17 2013 -0700
529
530    libXpm 3.5.11
531    
532    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
533
534commit 4bab3b62a47996ee77b8ddebcd92f0ebe9679c28
535Author: Alan Coopersmith <alan.coopersmith@oracle.com>
536Date:   Sat Sep 7 21:36:51 2013 -0700
537
538    Fix typo in COPYING (matches src/amigax.h)
539    
540    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
541
542commit 9e38750da16c6e5bd8bb26b00d74041ddf9be3e8
543Author: Alan Coopersmith <alan.coopersmith@oracle.com>
544Date:   Fri Aug 2 22:22:09 2013 -0700
545
546    Add noreturn attributes suggested by gcc
547    
548    Remove extra bogus return added to avoid warnings when calling Punt()
549    since gcc didn't know it would never return.
550    
551    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
552
553commit 93f900ceac7ac899e00998adc8782ed02b352930
554Author: Eric S. Raymond <esr@thyrsus.com>
555Date:   Wed Jun 19 06:19:18 2013 -0400
556
557    doclifter can't handle more than one dash in a name line.
558
559commit 22734e4439b3609a6b621d8e7ef8465f0a2ac0d5
560Author: Claudio Bley <cbley@av-test.de>
561Date:   Mon May 27 09:32:05 2013 +0200
562
563    Fix libXpm build with NO_ZPIPE
564    
565    When NO_ZPIPE is defined, fcntl.h is not included in WrFFrI.c
566    although OpenWriteFile uses open, O_WRONLY, O_CREAT and O_TRUNC.
567    
568        * src/WrFFrI.c: unconditionally include fcntl.h regardless
569         of NO_ZPIPE being defined or not.
570    
571    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
572    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
573
574commit e439f6e7163e3259f11f3363fa319e8a29085a92
575Author: Christophe CURIS <christophe.curis@free.fr>
576Date:   Wed May 1 10:39:38 2013 +0200
577
578    Added 'const' attribute to all filename arguments in the API
579    
580    The filename is always a read-only argument, so it is a good idea
581    to let the caller now about it.
582    
583    This patch does not change active code; the place where the attribute
584    is added will not break source-level compatibility because it adds
585    no restriction on caller side, just adds information; because the
586    lib code behaved the same way it will not break the binary interface
587    either.
588    
589    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
590    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
591
592commit 01ee6b9c500cd9c67f167e68c8383e8c58db5ddf
593Author: Christophe CURIS <christophe.curis@free.fr>
594Date:   Wed May 1 10:39:37 2013 +0200
595
596    Added 'const' qualifier to the filename argument to internal functions
597    
598    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
599    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
600
601commit 980e9f851e47d31eed9635a6399a23d1456548d0
602Author: Alan Coopersmith <alan.coopersmith@oracle.com>
603Date:   Mon Apr 22 13:23:09 2013 -0700
604
605    Close fd if fdopen() or xpmPipeThrough() fails in OpenWriteFile()
606    
607    Fixes leak found by parfait 1.1 bug checking tool:
608       File Descriptor Leak: Leaked File Descriptor fd
609            at line 350 of lib/libXpm/src/WrFFrI.c in function 'OpenWriteFile'.
610              fd initialized at line 332 with open
611              fd leaks when strcmp(".Z", (filename + (len - 2))) != 0 at line 337
612                  and strcmp(".gz", (filename + (len - 3))) != 0 at line 340.
613    
614    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
615    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
616
617commit 81608285e11f2455800001a965dfece878861162
618Author: Colin Walters <walters@verbum.org>
619Date:   Wed Jan 4 17:37:06 2012 -0500
620
621    autogen.sh: Implement GNOME Build API
622    
623    http://people.gnome.org/~walters/docs/build-api.txt
624    
625    Signed-off-by: Adam Jackson <ajax@redhat.com>
626
627commit 4c3e0ff63a7c71daaafdcdaa1d619063e0cf4a63
628Author: Adam Jackson <ajax@redhat.com>
629Date:   Tue Jan 15 14:28:48 2013 -0500
630
631    configure: Remove AM_MAINTAINER_MODE
632    
633    Signed-off-by: Adam Jackson <ajax@redhat.com>
634
635commit 4ca8014afbb66f0b65cdcd8ea12e469f52c8c70c
636Author: Jon TURNEY <jon.turney@dronecode.org.uk>
637Date:   Mon Jan 2 22:45:53 2012 +0000
638
639    Define NO_ZPIPE when building for MinGW
640    
641    Define NO_ZPIPE when building for MinGW, decompressing via a pipe isn't implemented.
642    (since xpmPipeThrough() is only written in terms of fork() currently...)
643    
644    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
645    Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
646    Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
647    Reviewed-by: Ángel González <ingenit@zoho.com>
648
649commit acaaea96776b36c097d5413040c5ce85d3ae6cb9
650Author: Alan Coopersmith <alan.coopersmith@oracle.com>
651Date:   Wed Mar 7 20:39:55 2012 -0800
652
653    libXpm 3.5.10
654    
655    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
656
657commit 1450186652cb9d2efe55c8da7cb64996eddd34c7
658Author: Alan Coopersmith <alan.coopersmith@oracle.com>
659Date:   Fri Nov 18 23:25:16 2011 -0800
660
661    closeness_cmp: maintain constness when casting pointers
662    
663    create.c: In function 'closeness_cmp':
664    create.c:224:5: warning: cast discards qualifiers from pointer target type
665    create.c:224:5: warning: cast discards qualifiers from pointer target type
666    
667    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
668
669commit 7aa7b34491de534da56d637552ee86f94f038cc3
670Author: Alan Coopersmith <alan.coopersmith@oracle.com>
671Date:   Fri Nov 18 23:22:12 2011 -0800
672
673    sxpm: make ErrorMessage take const char * arg to fix -Wwrite-strings warnings
674    
675    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
676
677commit 4cedf181bcfe13e5d206554c51edb82cb17e7ad5
678Author: Jeremy Huddleston <jeremyhu@apple.com>
679Date:   Fri Nov 11 10:17:11 2011 -0800
680
681    Include missing headers
682    
683    This fixes implicit declarations for strdup and strcasecmp.
684    
685    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
686
687commit 933b5d1f1fe9273d1a984707687b36ec61c4c5af
688Author: Alan Coopersmith <alan.coopersmith@oracle.com>
689Date:   Thu Nov 10 21:32:15 2011 -0800
690
691    Fix gcc -Wwrite-strings warnings that don't require public API changes
692    
693    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
694
695commit 696be14bcb4daef5280b425e297223c6ae530cb5
696Author: Alan Coopersmith <alan.coopersmith@oracle.com>
697Date:   Thu Nov 10 21:03:44 2011 -0800
698
699    Assume C89 and just use const, not local Const macro
700    
701    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
702
703commit 29972ebbb2409bcba87637069a7ad9a958b3325d
704Author: Julien Cristau <jcristau@debian.org>
705Date:   Sat Sep 24 19:18:56 2011 +0200
706
707    Link sxpm against -lX11
708    
709    It calls various Xlib functions so should link with -lX11 directly.
710    
711    Signed-off-by: Julien Cristau <jcristau@debian.org>
712
713commit 3ea70059805b3ebc795f797b5880b90b6b3a9235
714Author: Alan Coopersmith <alan.coopersmith@oracle.com>
715Date:   Fri Sep 16 22:48:53 2011 -0700
716
717    Strip trailing whitespace
718    
719    Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
720    git diff -w & git diff -b show no diffs from this change
721    
722    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
723
724commit 0c9e200c3975917f5d78eac67b1f4cedefd73079
725Author: Gaetan Nadon <memsize@videotron.ca>
726Date:   Sat Mar 5 20:39:03 2011 -0500
727
728    man: add missing title header (.TH) __xorgversion__
729    
730    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
731
732commit 0f8f24302bb0e35eaab16f16358bf9c44f9f3af1
733Author: Gaetan Nadon <memsize@videotron.ca>
734Date:   Sat Mar 5 15:35:17 2011 -0500
735
736    config: move man pages into their own directory
737    
738    As per X.Org guidelines.
739    Fix whitespace issues.
740    
741    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
742
743commit 9c622c5fc82f2a19ae41e75398fee4ff1de52a1d
744Author: Gaetan Nadon <memsize@videotron.ca>
745Date:   Wed Feb 2 11:43:44 2011 -0500
746
747    config: minor layout change in configure.ac
748    
749    Group statements per section as per Autoconf standard layout
750    Quote statements where appropriate.
751    No functional configuration changes
752    
753    This helps automated maintenance and release activities.
754    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
755    
756    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
757
758commit 22a434d061af224536baee6c6110b603c5c96b2c
759Author: Alan Coopersmith <alan.coopersmith@oracle.com>
760Date:   Fri Oct 29 17:29:25 2010 -0700
761
762    libXpm 3.5.9
763    
764    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
765
766commit c11f1bd18303139f070e1873382632ee80cd9878
767Author: Gaetan Nadon <memsize@videotron.ca>
768Date:   Wed Oct 20 08:30:56 2010 -0400
769
770    config: remove obsolete FILES file from the Imakefile days
771    
772    It lists the files contained in the original
773    BULL Research Koala Project.
774    
775    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
776
777commit 0ea6c432a068fc4edf90c614e68a4f4be94edd14
778Author: Gaetan Nadon <memsize@videotron.ca>
779Date:   Sun Oct 17 12:51:15 2010 -0400
780
781    doc: move doc files to the newly created doc dir.
782    
783    As per guidelines for all xorg modules.
784    
785    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
786
787commit 7a3e69cfb079c7345f3d9b1217f373a706ba544c
788Author: Gaetan Nadon <memsize@videotron.ca>
789Date:   Fri Oct 15 17:14:39 2010 -0400
790
791    config: provide a Makefile for the include directory
792    
793    Reduce some complexity in the src makefile as it should not
794    handle sibling directories.
795    
796    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
797
798commit e50f645f4cc5bb1db0e025fc6e39c6e84a894c13
799Author: Gaetan Nadon <memsize@videotron.ca>
800Date:   Fri Oct 15 14:56:32 2010 -0400
801
802    libXpm make: remove redundant -I.
803    
804    It is always included by Automake
805    
806    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
807
808commit 8dee37ff3bb908d597d53f2b335fc2111643cce7
809Author: Gaetan Nadon <memsize@videotron.ca>
810Date:   Sun Oct 24 19:39:54 2010 -0400
811
812    sxpm make: no need to use a per target LDADD
813    
814    There is only one program in this makefile.
815    
816    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
817
818commit 34abbaaacddf1018d1805bc4890226ab200a50fb
819Author: Gaetan Nadon <memsize@videotron.ca>
820Date:   Fri Oct 15 11:45:58 2010 -0400
821
822    sxpm make: remove redundant $(XMP_LIBS) linker flags
823    
824    SXPM_LIBS contains the complete list of dependencies.
825    
826    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
827
828commit b818f5cf7f7d8240db2a94ebcc28603730760e48
829Author: Gaetan Nadon <memsize@videotron.ca>
830Date:   Fri Oct 15 10:21:08 2010 -0400
831
832    src make: remove -I$(top_builddir)/include
833    
834    This directory does not exist, only object code is created
835    in "builddir".
836    
837    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
838
839commit 78bca7e85b930593fefe85cc51b5e24f98de31d0
840Author: Gaetan Nadon <memsize@videotron.ca>
841Date:   Thu Oct 14 21:56:21 2010 -0400
842
843    config: fix warnings, m4 quoting and layout
844    
845    Fix some m4 quoting
846    Fix some autoconf warnings
847    Regroup statements per section
848    Add comments
849    
850    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
851
852commit 8e47c819490331c01959332e067f06a382d9a14a
853Author: Gaetan Nadon <memsize@videotron.ca>
854Date:   Thu Oct 14 20:35:47 2010 -0400
855
856    config: AC_OUTPUT with parms is deprecated, use AC_CONFIG_FILES
857    
858    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
859
860commit c6915d034fa3f72a9724816d2e3f5e8432ef9321
861Author: Gaetan Nadon <memsize@videotron.ca>
862Date:   Thu Oct 14 20:33:40 2010 -0400
863
864    config: AC_HELP_STRING is deprecated, use AS_HELP_STRING
865    
866    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
867
868commit e2fdf80a7f9feedacf67e46a8e577b2e6d415a5f
869Author: Gaetan Nadon <memsize@videotron.ca>
870Date:   Thu Oct 14 20:29:42 2010 -0400
871
872    config: remove unrequired AC_SUBST(XPM_CFLAGS)
873    
874    This macro is called by PKG_CHECK_MODULES
875    
876    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
877
878commit 937d8c8cf82bd57e82152af3768bdbfc5de4316a
879Author: Gaetan Nadon <memsize@videotron.ca>
880Date:   Thu Oct 14 20:28:43 2010 -0400
881
882    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
883    
884    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
885    AC_PROG_C_C99. This sets gcc with -std=gnu99.
886    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
887    
888    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
889
890commit 0ed9cb4546d0c65f08a9511736400c0f7fba982f
891Author: Gaetan Nadon <memsize@videotron.ca>
892Date:   Thu Oct 14 20:28:08 2010 -0400
893
894    config: remove unrequired AC_HEADER_STDC
895    
896    Autoconf says:
897    "This macro is obsolescent, as current systems have conforming
898    header files. New programs need not use this macro".
899    
900    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
901
902commit e99bce47294eab031fc733d695e3c9589b52aff8
903Author: Gaetan Nadon <memsize@videotron.ca>
904Date:   Thu Oct 14 20:25:00 2010 -0400
905
906    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
907    
908    Regroup AC statements at the top.
909    
910    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
911
912commit 0b5e15c685d295262bf2307d65bee3a0b28e74f5
913Author: Gaetan Nadon <memsize@videotron.ca>
914Date:   Thu Oct 14 20:15:08 2010 -0400
915
916    sxpm: use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
917    The value of MAN_SUBST is the same for all X.Org packages.
918    
919    Use the appropriate platform version of sed
920    
921    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
922
923commit 262bb7e9426150f6c7b553d184c51d3884d04adf
924Author: Gaetan Nadon <memsize@videotron.ca>
925Date:   Thu Oct 14 20:11:43 2010 -0400
926
927    cxpm: use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
928    The value of MAN_SUBST is the same for all X.Org packages.
929    
930    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
931
932commit acd4856aac05a884376736196154842959803aa6
933Author: Gaetan Nadon <memsize@videotron.ca>
934Date:   Thu Oct 14 20:03:13 2010 -0400
935
936    config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
937    
938    It depends on util-macros 1.8
939    The LT_AC_PROG_SED macro was never released by libtool.
940    Neither man makefile actually used $SED anyway.
941    
942    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
943
944commit d1bd1fbc6d7f7b4817aca4fecd8ccfe80a1c2f03
945Author: Gaetan Nadon <memsize@videotron.ca>
946Date:   Thu Oct 14 20:02:30 2010 -0400
947
948    config: upgrade to util-macros 1.8 for additional man page support
949    
950    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
951    The value of MAN_SUBST is the same for all X.Org packages.
952    
953    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
954
955commit 3b20344bf3c5ae7a8291041d4887dc8f23644d40
956Author: Colin Harrison <colin.harrison@virgin.net>
957Date:   Thu Oct 7 13:49:17 2010 +0200
958
959    Missing end comment in libXpm/src/parse.c
960    
961    CVS tag removal chopped too much out in this case...
962    
963    Signed-off-by: Julien Cristau <jcristau@debian.org>
964
965commit f8f0a68247b920052df0796a39ebcdc2e4161d05
966Author: Jesse Adkins <jesserayadkins@gmail.com>
967Date:   Tue Sep 28 13:30:03 2010 -0700
968
969    Purge cvs tags.
970    
971    Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
972    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
973
974commit d026662cce0808cf402e0d50932d90984a2ea1bb
975Author: Gaetan Nadon <memsize@videotron.ca>
976Date:   Thu Apr 1 21:11:35 2010 -0400
977
978    config: update AC_PREREQ statement to 2.60
979    
980    Unrelated to the previous patches, the new value simply reflects
981    the reality that the minimum level for autoconf to configure
982    all x.org modules is 2.60 dated June 2006.
983    
984    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
985    
986    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
987
988commit d4a7b15b3ed9e7cf94dbf64f929ae954bada9f60
989Author: Gaetan Nadon <memsize@videotron.ca>
990Date:   Thu Apr 1 21:07:54 2010 -0400
991
992    config: update and relocate AX_DEFINE_DIR macro
993    
994    Remove deprecated acinclude.m4 macro container file
995    Use separate macro files as per autoconf recommendation
996    Use the latest version of the macro from GNU
997    
998    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
999
1000commit e0920779d1227338e61aaab16458b9daad508c36
1001Author: Gaetan Nadon <memsize@videotron.ca>
1002Date:   Mon Mar 29 14:53:49 2010 -0400
1003
1004    config: remove the pkgconfig pc.in file from EXTRA_DIST
1005    
1006    Automake always includes it in the tarball.
1007    
1008    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1009
1010commit 34ebac912c6f1223a274ab2e4f0c12928d357ddd
1011Author: Gaetan Nadon <memsize@videotron.ca>
1012Date:   Thu Jan 14 09:36:38 2010 -0500
1013
1014    COPYING: add missing copyright notices
1015    
1016    Refer to: amigax.c, cxpm.c
1017    Copyright (C) 1998 Arnaud LE HORS
1018    Copyright (C) 19896 Lorens Younes
1019    
1020    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1021
1022commit dca7a9ccbdd4c85d84668c3a4bc14b0049f0c893
1023Author: Gaetan Nadon <memsize@videotron.ca>
1024Date:   Fri Nov 27 20:56:04 2009 -0500
1025
1026    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
1027    
1028    Now that the INSTALL file is generated.
1029    Allows running make maintainer-clean.
1030
1031commit af0d92b686c65f7ffb5556b74fd937b01719c535
1032Author: Gaetan Nadon <memsize@videotron.ca>
1033Date:   Wed Oct 28 14:09:10 2009 -0400
1034
1035    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
1036    
1037    Add missing INSTALL file. Use standard GNU file on building tarball
1038    README may have been updated
1039    Remove AUTHORS file as it is empty and no content available yet.
1040    Remove NEWS file as it is empty and no content available yet.
1041
1042commit 8bda9cdb6344c6cdf87237cb84c16c54a3ae84d8
1043Author: Gaetan Nadon <memsize@videotron.ca>
1044Date:   Tue Oct 27 15:07:25 2009 -0400
1045
1046    Deploy the new XORG_DEFAULT_OPTIONS #24242
1047    
1048    This macro aggregate a number of existing macros that sets commmon
1049    X.Org components configuration options. It shields the configuration file from
1050    future changes.
1051
1052commit 089237b624722b141a9ba6888584ebcc5247b227
1053Author: Gaetan Nadon <memsize@videotron.ca>
1054Date:   Mon Oct 26 22:08:43 2009 -0400
1055
1056    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
1057    
1058    ChangeLog filename is known to Automake and requires no further
1059    coding in the makefile.
1060
1061commit 37e75b28f4d30a66e16cfe192a0612a335aa8d46
1062Author: Gaetan Nadon <memsize@videotron.ca>
1063Date:   Thu Oct 22 12:34:19 2009 -0400
1064
1065    .gitignore: use common defaults with custom section # 24239
1066    
1067    Using common defaults will reduce errors and maintenance.
1068    Only the very small or inexistent custom section need periodic maintenance
1069    when the structure of the component changes. Do not edit defaults.
1070
1071commit 68ae0e442ad57534c25566284ad049299a982d00
1072Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
1073Date:   Wed Oct 21 12:47:25 2009 -0700
1074
1075    This is not a GNU project, so declare it foreign.
1076    
1077    On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote:
1078    > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote:
1079    > > I noticed an INSTALL file in xlsclients and libXvMC today, and it
1080    > > was quite annoying to work around since 'autoreconf -fvi' replaces
1081    > > it and git wants to commit it.  Should these files even be in git?
1082    > > Can I nuke them for the betterment of humanity and since they get
1083    > > created by autoreconf anyways?
1084    >
1085    > See https://bugs.freedesktop.org/show_bug.cgi?id=24206
1086    
1087    As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with
1088    AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation
1089    of the INSTALL file. It is also part of the 24206 solution.
1090    
1091    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
1092
1093commit 130b2fb0ea716143c63ba30856eecb351bc2af2a
1094Author: Alan Coopersmith <alan.coopersmith@sun.com>
1095Date:   Fri Oct 9 10:32:08 2009 -0700
1096
1097    libXpm 3.5.8
1098    
1099    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1100
1101commit a195bd6d375c311b9bf6d7cce477f1d131425757
1102Author: Alan Coopersmith <alan.coopersmith@sun.com>
1103Date:   Thu Oct 8 21:29:45 2009 -0700
1104
1105    Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
1106    
1107    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1108
1109commit f4c43f70dff3cb9702fd62bc388353d02589e618
1110Author: Alan Coopersmith <alan.coopersmith@sun.com>
1111Date:   Thu Oct 8 20:27:49 2009 -0700
1112
1113    Replace AC_DEFINE_DIR with AX_DEFINE_DIR from Autoconf Archive
1114
1115commit d846316822ba8eb545d41140007ef98a7de9274e
1116Author: Alan Coopersmith <alan.coopersmith@sun.com>
1117Date:   Tue May 19 01:34:19 2009 -0700
1118
1119    Update AC_DEFINE_DIR to latest version from Autoconf Archive
1120
1121commit 53f8b42f89214b85804ae9e64c49d1a9c2a7553d
1122Author: Alan Coopersmith <alan.coopersmith@sun.com>
1123Date:   Mon Feb 2 20:34:35 2009 -0800
1124
1125    Add README with pointers to mailing list, bugzilla & git repos
1126    
1127    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1128
1129commit 6697e31fbb616656b7f34515a79454af394b500a
1130Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1131Date:   Fri Jan 30 15:45:20 2009 -0200
1132
1133    Janitor: ansification, make distcheck, .gitignore
1134    
1135      The ansification code is minor edit of the patch (by me) at
1136    https://bugs.freedesktop.org/show_bug.cgi?id=14727
1137    as it would not apply cleanly anymore.
1138
1139commit 41e4e2de4d73d098d332ece0410e9f8fda4fe10d
1140Author: Peter Breitenlohner <peb@mppmu.mpg.de>
1141Date:   Mon Oct 20 19:36:52 2008 -0700
1142
1143    X.Org Bug 17944: avoid gcc warning for libXpm
1144    
1145    <http://bugs.freedesktop.org/show_bug.cgi?id=17944>
1146    
1147    Avoid the gcc warning
1148    cxpm/cxpm.c:102: warning: no previous prototype for 'ErrorMessage'
1149
1150commit 64323668c07b4768c57649f5ec7e2888265d1aeb
1151Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1152Date:   Sun Mar 9 08:57:47 2008 +0100
1153
1154    nuke RCS Ids
1155
1156commit 6ef45c37160079a9aa551adcd841abdb55eabae3
1157Author: Benjamin Close <Benjamin.Close@clearchain.com>
1158Date:   Thu Jan 31 14:42:41 2008 +1030
1159
1160    Use libtools SED check rather than autoconf's SED check.
1161    AC_PROG_SED required autoconf 2.60, libtool's should work
1162    regardless. This keeps us supporting 2.57 of autoconf
1163    
1164    Found by: Tinderbox (1.4.1 compile)
1165
1166commit 3f7624048aa6064c69e2320a70fb7fc89e0bb7ef
1167Author: Alan Coopersmith <alan.coopersmith@sun.com>
1168Date:   Thu Jan 24 14:26:34 2008 -0800
1169
1170    Bug 14171: sxpm/Makefile.am:21: SED was already defined
1171    
1172    <http://bugs.freedesktop.org/show_bug.cgi?id=14171>
1173
1174commit 503843fd3066031adbd4a362c686acc721787b7d
1175Author: James Cloos <cloos@jhcloos.com>
1176Date:   Thu Dec 6 16:38:36 2007 -0500
1177
1178    Replace static ChangeLog with dist-hook to generate from git log
1179
1180commit 3e37dd39b6169af9928d5b959c40ba79a07450ee
1181Author: Alan Coopersmith <alan.coopersmith@sun.com>
1182Date:   Wed Aug 22 13:23:30 2007 -0700
1183
1184    Version bump: 3.5.7
1185
1186commit d82244497b54889f91c78585374d1ad6a0cef2cf
1187Author: Alan Coopersmith <alan.coopersmith@sun.com>
1188Date:   Wed Aug 22 13:08:42 2007 -0700
1189
1190    Replace strcpy with strncpy to match previous code block
1191
1192commit 47c974872b51b8c1d6965eff4599f8ce739bcedc
1193Author: Alan Coopersmith <alan.coopersmith@sun.com>
1194Date:   Mon Aug 6 14:22:48 2007 -0700
1195
1196    Use srcdir in paths passed to xgettext when making .po files
1197
1198commit 6e003fd5f174a8e312d799d7f8812c2a5b87e433
1199Author: Alan Coopersmith <alan.coopersmith@sun.com>
1200Date:   Mon Aug 6 12:59:04 2007 -0700
1201
1202    Replace index/rindex with C89 standard strchr/strrchr
1203
1204commit 43dfc6be8128139888426d8c709aa78efc207953
1205Author: Jason Rumney <jasonr@gnu.org>
1206Date:   Mon Aug 6 12:52:52 2007 -0700
1207
1208    X.Org Bug #11863: Build libXpm on MS Windows (with MinGW)
1209    
1210        * src/XpmI.h [FOR_MSW]: Include simx.h instead of real X headers.
1211    
1212        * src/simx.h (_XFUNCPROTOBEGIN, _XFUNCPROTOEND, NO_ZPIPE): Define.
1213        (XAllocColor): Fix arg list in prototype.
1214        (bzero, close, fdopen, index, rindex, open, strdup, O_RDONLY):
1215        Map to W32 equivalents.
1216    
1217        * src/RdFToI.c [FOR_MSW]: Include fcntl.h.
1218
1219commit 290f0b9115428dab0cbf2880d154468c557b3e7e
1220Author: Alan Coopersmith <alan.coopersmith@sun.com>
1221Date:   Wed Jul 25 17:45:15 2007 -0700
1222
1223    Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4
1224
1225commit d4bc7dc0dea218cea380aba972f10f60dc1e86ac
1226Author: Alan Coopersmith <alan.coopersmith@sun.com>
1227Date:   Wed Jun 27 13:54:07 2007 -0700
1228
1229    Use AM_CFLAGS & AM_CPPFLAGS to replace per-program and obsolete macros
1230    
1231    Clears some warnings from automake-1.10
1232
1233commit 85a87de3c03ca8be526dedc0a2973f9426518c39
1234Author: Alan Coopersmith <alan.coopersmith@sun.com>
1235Date:   Tue Nov 21 17:12:18 2006 -0800
1236
1237    Sun bug 4486226: Xpm is not internationalized
1238    
1239    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4486226>
1240    Use gettext() to allow translated messages in sxpm & cxpm
1241    (cherry picked from bcda4f17ab3fa9f0572f876dbeb09b45fbc23f3d commit)
1242
1243commit 3c881daddcc251d6e806715d267e4e55934abd1a
1244Author: Alan Coopersmith <alan.coopersmith@sun.com>
1245Date:   Tue Nov 21 15:13:44 2006 -0800
1246
1247    Add *~ to .gitignore to skip over emacs/patch droppings
1248
1249commit 60817dd28774540622ea404f650db8389c66da54
1250Author: Adam Jackson <ajax@benzedrine.nwnk.net>
1251Date:   Fri Oct 13 16:23:49 2006 -0400
1252
1253    Bump to 3.5.6
1254
1255commit 12dc4dc15234ae818a21c20ebf7b2d053b7a94be
1256Author: Alan Coopersmith <alan.coopersmith@sun.com>
1257Date:   Thu Jul 13 14:59:03 2006 -0700
1258
1259    renamed: .cvsignore -> .gitignore
1260
1261commit 4daea919c3aa104b6caf8c0f42f49ae755545986
1262Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1263Date:   Sat Jun 3 06:11:30 2006 +0000
1264
1265    Always initialize atomTable to NULL, so xpmHashTableFree() doesn't try to
1266        free a random value from the stack if xpmHashTableInit returns an
1267        error.
1268
1269commit 19855d6e09aa36db7686ad6f538179bf87e9c6ea
1270Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1271Date:   Fri Jun 2 19:48:01 2006 +0000
1272
1273    Coverity #1432: Returned without freeing storage "hints_cmt" (in error case
1274        when xpmHashTableInit failed)
1275
1276commit 000abcd371d0c4b1d0a5380023d74bf5bfc47685
1277Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1278Date:   Fri Jun 2 19:33:29 2006 +0000
1279
1280    Coverity #1415: Returned without freeing storage "hints_cmt" (in error case
1281        when xpmHashTableInit failed)
1282
1283commit 5c70c99833d4040aaf595d0005b861e0a930ee66
1284Author: Adam Jackson <ajax@nwnk.net>
1285Date:   Thu Apr 27 00:19:37 2006 +0000
1286
1287    Bump to 3.5.5
1288
1289commit 2dcc187c92c1a579e6e9f0bad999a3b4e47228c3
1290Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1291Date:   Sat Mar 18 15:18:56 2006 +0000
1292
1293    doublecheck that a pointer is not NULL before dereferencing it. (Coverity
1294        CID 121).
1295
1296commit 93421a53ccf159ff39bc9f8ff72c57246f9cb90c
1297Author: Kevin E Martin <kem@kem.org>
1298Date:   Thu Dec 15 00:24:31 2005 +0000
1299
1300    Update package version number for final X11R7 release candidate.
1301
1302commit 2b229ddcb52a3bf9bef32e764f93cc57c1351420
1303Author: Kevin E Martin <kem@kem.org>
1304Date:   Tue Dec 6 22:48:44 2005 +0000
1305
1306    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
1307
1308commit 50214deb692a9af760088f8e7a51955c7d3f1707
1309Author: Kevin E Martin <kem@kem.org>
1310Date:   Sat Dec 3 05:49:44 2005 +0000
1311
1312    Update package version number for X11R7 RC3 release.
1313
1314commit 19881d3c88ff0713ef550382fd0dfb03123dabed
1315Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1316Date:   Mon Nov 28 22:03:06 2005 +0000
1317
1318    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
1319        update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
1320
1321commit a6fbdb403efd3bf7e1179660959fd0e66a301ce0
1322Author: Kevin E Martin <kem@kem.org>
1323Date:   Sat Nov 19 07:15:42 2005 +0000
1324
1325    Update pkgconfig files to separate library build-time dependencies from
1326        application build-time dependencies, and update package deps to work
1327        with separate build roots.
1328
1329commit 82513d04a8381da8d2281d7581f6b0d65901aede
1330Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1331Date:   Sun Nov 13 02:08:07 2005 +0000
1332
1333    Use sed to substitute variables in man pages
1334
1335commit d1b430289b2ddb6c1f3383c5288aa125b058508a
1336Author: Kevin E Martin <kem@kem.org>
1337Date:   Wed Nov 9 21:19:13 2005 +0000
1338
1339    Update package version number for X11R7 RC2 release.
1340
1341commit e2c9276ccc1ef619dcfbdeb414ef0dec5113c1ee
1342Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1343Date:   Sat Oct 29 02:26:49 2005 +0000
1344
1345    Add --enable-stat-zfile (on by default) to replace Imake's ZFILEDEF =
1346        -DSTAT_ZFILE to enable automatically searching for file.xpm.Z &
1347        file.xpm.gz when file.xpm is requested.
1348
1349commit 2f57ab95012d9221cca1af6c0a1ccea5d308c66f
1350Author: Kevin E Martin <kem@kem.org>
1351Date:   Wed Oct 19 02:48:11 2005 +0000
1352
1353    Update package version number for RC1 release.
1354
1355commit 72bf88ed120fb888c57ed3223faa316403031b36
1356Author: Kevin E Martin <kem@kem.org>
1357Date:   Wed Oct 5 20:24:14 2005 +0000
1358
1359    Add missing files to EXTRA_DIST
1360    Fix man page installation
1361
1362commit 08c43c5f1f851c1acad360a28767670dc62d8a66
1363Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1364Date:   Mon Oct 3 19:53:58 2005 +0000
1365
1366    Last argument of variable parameter list needs to be casted to a pointer
1367        type.
1368
1369commit 5ecad7c12c3104d653972385f548e3f86532cbe3
1370Author: Kevin E Martin <kem@kem.org>
1371Date:   Fri Jul 29 21:22:52 2005 +0000
1372
1373    Various changes preparing packages for RC0:
1374    - Verify and update package version numbers as needed
1375    - Implement versioning scheme
1376    - Change bug address to point to bugzilla bug entry form
1377    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
1378        reenable it)
1379    - Fix makedepend to use pkgconfig and pass distcheck
1380    - Update build script to build macros first
1381    - Update modular Xorg version
1382
1383commit 703207d3b3718223d4b2711fb77fc96a4f3909ef
1384Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1385Date:   Sun Jul 17 10:32:57 2005 +0000
1386
1387    fix build outside of $(srcdir)
1388
1389commit 5a0177d4474787951c0cae56e285bb075ab405f3
1390Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1391Date:   Sat Jul 16 21:11:25 2005 +0000
1392
1393    Accept autoconf HAVE_STRLCPY as alias for HAS_STRLCAT
1394
1395commit fd38ee667976855150d3c1231a1acc2cf1a89330
1396Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
1397Date:   Sat Jul 16 21:10:44 2005 +0000
1398
1399    Check for strlcat() for use in parse.c
1400
1401commit 9b3eed6e4f7ee542149ecec0d017a3a460f7c084
1402Author: Daniel Stone <daniel@fooishbar.org>
1403Date:   Sat Jul 16 07:23:39 2005 +0000
1404
1405    Set soversion to 4.11.0 with -version-number.
1406
1407commit a705a1cd9dc4c4ba1940c9b59d2107ba59360e39
1408Author: Keith Packard <keithp@keithp.com>
1409Date:   Sat Jul 9 06:45:44 2005 +0000
1410
1411    Add .cvsignore files
1412
1413commit b1d84a9fc9b15232c09b6ce5d96c097fdd4f0a15
1414Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
1415Date:   Thu Jun 9 13:42:36 2005 +0000
1416
1417    Use $(top_srcdir)/src instead of $(top_builddir)/src in INCLUDES
1418
1419commit 769751fba3e32f49272d19799929e1ad5a3d2cd0
1420Author: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
1421Date:   Thu May 19 17:09:13 2005 +0000
1422
1423    Add $(top_builddir)/include to INCLUDES
1424
1425commit 2cc1896c61eef5739bb6a8ffa89e58ba5c175a05
1426Author: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
1427Date:   Thu May 19 15:02:48 2005 +0000
1428
1429    - Add build system for lib/Xpm
1430    - Add Xpm to symlink.sh
1431    - Conditionally include config.h in xc/extras/Xpm
1432
1433commit cf0d69c7ace679f27f105c582760b9be14923aba
1434Author: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
1435Date:   Thu May 19 14:37:53 2005 +0000
1436
1437    Thu May 19 10:36:54 2005 Søren Sandmann <sandmann@redhat.com>
1438    Add "../lib" to INCLUDES.
1439    Replace #include "../lib/foo" with #include "foo".
1440
1441commit 639b3598cd0e7214010248efb62b75ef85a8e5c5
1442Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1443Date:   Mon Feb 21 20:52:32 2005 +0000
1444
1445    Avoid inifite loops. From Chris Gilbert in bug #1920.
1446
1447commit f1908d7ee5e2d2d44db2116b3c88213da9dfb854
1448Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1449Date:   Sat Dec 11 16:14:05 2004 +0000
1450
1451    Fix incomplete merge.
1452
1453commit b041980732f6a6002001cfe079fdfb982937d4a8
1454Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1455Date:   Sat Dec 11 16:08:59 2004 +0000
1456
1457    more s_open() cleanup.
1458
1459commit 90d0638a42553786f54df333f0da4d008e9a0573
1460Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1461Date:   Sat Dec 11 16:04:34 2004 +0000
1462
1463    Replace s_popen() by a more specific function that allows only one command
1464        in the pipe. Remove extraneous tests on file names that broke some
1465        applications. From Alex Reisen in Bugzilla #1920.
1466
1467commit 2c23dbf2cafaad72b1f45da915eb87a8f792fdb0
1468Author: Roland Mainz <roland.mainz@nrubsig.org>
1469Date:   Wed Dec 8 01:16:48 2004 +0000
1470
1471    //bugs.freedesktop.org/show_bug.cgi?id=830): Fix libXpm header (xpm.h) to
1472        use the X11 function begin/end marker macros (_XFUNCPROTOBEGIN,
1473        _XFUNCPROTOEND) instead of homegrown (native) C++ code. Patch by Kevin
1474        DeKorte <kdekorte@yahoo.com>.
1475
1476commit 50986a34f231fbc7a4b62466bd89bd4ae4027d2e
1477Author: Matthieu Herrb <matthieu.herrb@laas.fr>
1478Date:   Thu Nov 25 21:19:11 2004 +0000
1479
1480    Fixes for CAN-2004-0914 (Thomas Biege).
1481
1482commit a983dafac59dcb425666a5a5556da4734e50c6c5
1483Author: Egbert Eich <eich@suse.de>
1484Date:   Tue Sep 21 17:57:35 2004 +0000
1485
1486    Merged over libXpm security fix provided by Chris Evans, Matthieu Herrb and
1487        Alan Coopersmith from release 6.8.1.
1488    Fail during initialization with error if font/fontset is not set for
1489        widget. This prevents a sig11 later when the non-existent font/fontset
1490        structs are referenced.
1491    Check if xf86Info.kbdProc pointer is really set before calling it on abort
1492        as this pointer won't be set if the new modular keyboard driver is used
1493        (Matthias Hopf).
1494    Added new libs to the bindist control files.
1495    Removed inclusion of unnecessary kernel header on Linux. This may fail in
1496        an -ansi environment.
1497
1498Notes:
1499    Fixes CVE-2004-0687 (integer overflows) and CVE-2004-0688 (stack overflows)
1500
1501commit 2773a7214e282f6f673483f5233b880505947c3f
1502Author: Egbert Eich <eich@suse.de>
1503Date:   Fri Apr 23 18:42:32 2004 +0000
1504
1505    Merging XORG-CURRENT into trunk
1506
1507commit 65c64a2eaa8698434f1869dcdcb5d9ccb21c6932
1508Author: Egbert Eich <eich@suse.de>
1509Date:   Sun Mar 14 08:28:26 2004 +0000
1510
1511    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
1512
1513commit 0b313707a677523fed9ac485445e8b09d2a85c13
1514Author: Egbert Eich <eich@suse.de>
1515Date:   Wed Mar 3 12:09:53 2004 +0000
1516
1517    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
1518
1519commit 658f8e9a9094ba5d18743694cad7275be53c7a25
1520Author: Egbert Eich <eich@suse.de>
1521Date:   Thu Feb 26 13:34:33 2004 +0000
1522
1523    readding XFree86's cvs IDs
1524
1525commit 9971f91864e8f722b42c58f2ff19025715f33b98
1526Author: Egbert Eich <eich@suse.de>
1527Date:   Thu Feb 26 09:21:31 2004 +0000
1528
1529    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
1530
1531commit fbfe965054d8144946651b19085684af7f6715b9
1532Author: Kaleb Keithley <kaleb@freedesktop.org>
1533Date:   Tue Nov 25 19:27:16 2003 +0000
1534
1535    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
1536
1537commit c037348b5df0ac94ad4daba59f8bc9acf12ef623
1538Author: Kaleb Keithley <kaleb@freedesktop.org>
1539Date:   Fri Nov 14 16:48:24 2003 +0000
1540
1541    XFree86 4.3.0.1
1542
1543commit aafaabc4a0bfab6544e085ee504ad69de4a5ddb1
1544Author: Kaleb Keithley <kaleb@freedesktop.org>
1545Date:   Fri Nov 14 16:48:24 2003 +0000
1546
1547    Initial revision
1548