1commit 8ea4c3e22a2ff79d373f8a364309c5a4a0c01ced
2Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3Date:   Sat Oct 12 11:04:07 2024 -0700
4
5    xkbprint 1.0.7
6    
7    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8
9commit 3ce73201e3d808e5e4f6c20e22d6e6e86e3b81e8
10Author: Alan Coopersmith <alan.coopersmith@oracle.com>
11Date:   Sun Jul 28 16:53:26 2024 -0700
12
13    Use C99 struct initializers
14    
15    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
16    Part-of: <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/merge_requests/6>
17
18commit 4868f37f09843432b261371875b2f433f2a1f7fa
19Author: Alan Coopersmith <alan.coopersmith@oracle.com>
20Date:   Sun Jul 28 16:38:24 2024 -0700
21
22    Variable scope reductions
23    
24    Some recommended by cppcheck, others found by manual inspection
25    
26    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
27    Part-of: <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/merge_requests/6>
28
29commit 823cecf574645cd26ed43b18c9c68a06dc25f95a
30Author: Alan Coopersmith <alan.coopersmith@oracle.com>
31Date:   Sun Jul 28 16:20:59 2024 -0700
32
33    FindKeysymsByName: avoid NULL pointer dereference
34    
35    Clears warning from cppcheck:
36    
37    psgeom.c:1645:15: warning: Either the condition 'state->args!=0L' is
38     redundant or there is possible null pointer dereference: state->args.
39     [nullPointerRedundantCheck]
40        if ((state->args->wantDiffs) && (eG >= XkbKeyNumGroups(xkb, kc)))
41                  ^
42    psgeom.c:1635:21: note: Assuming that condition 'state->args!=0L' is not
43     redundant
44        if (state->args != NULL) {
45                        ^
46    psgeom.c:1645:15: note: Null pointer dereference
47        if ((state->args->wantDiffs) && (eG >= XkbKeyNumGroups(xkb, kc)))
48                  ^
49    
50    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51    Part-of: <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/merge_requests/6>
52
53commit ed190ca257c808b5d76babf01a5dd57c7d749c9d
54Author: Alan Coopersmith <alan.coopersmith@oracle.com>
55Date:   Sun Jul 28 16:18:02 2024 -0700
56
57    ClearFontStuff: avoid NULL pointer dereference
58    
59    Clears warning from cppcheck:
60    
61    psgeom.c:400:5: warning: Either the condition 'stuff' is redundant or there
62     is possible null pointer dereference: stuff. [nullPointerRedundantCheck]
63        bzero(stuff, sizeof(FontStuff));
64        ^
65    psgeom.c:398:9: note: Assuming that condition 'stuff' is not redundant
66        if (stuff && stuff->foundry)
67            ^
68    psgeom.c:400:5: note: Null pointer dereference
69        bzero(stuff, sizeof(FontStuff));
70        ^
71    
72    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
73    Part-of: <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/merge_requests/6>
74
75commit 75a78342999f5c98ba5e0d154a1c506497daac5d
76Author: Alan Coopersmith <alan.coopersmith@oracle.com>
77Date:   Sun Jul 28 16:13:11 2024 -0700
78
79    configure: Use AC_SYS_LARGEFILE to enable large file support
80    
81    While keymap files or generated output should never be more than 2gb in
82    size, they may be stored on filesystems with inodes or timestamps outside
83    of the 32-bit range.
84    
85    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
86    Part-of: <https://gitlab.freedesktop.org/xorg/app/xkbprint/-/merge_requests/6>
87
88commit 1a4c0388e5a8c938544e0e6c5ccdb92a51de1b84
89Author: Alan Coopersmith <alan.coopersmith@oracle.com>
90Date:   Sat Feb 11 12:31:51 2023 -0800
91
92    unifdef -Usgi
93    
94    SGI's End of Support Life for Irix was December 2013
95    
96    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
97
98commit 7500b59a3ce665fa53c476fe26a01db96dc994be
99Author: Alan Coopersmith <alan.coopersmith@oracle.com>
100Date:   Sat Oct 15 10:26:33 2022 -0700
101
102    xkbprint 1.0.6
103    
104    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
105
106commit 69deaf13057d3a8b9c01350e2cdfc40080f5433a
107Author: Alan Coopersmith <alan.coopersmith@oracle.com>
108Date:   Sat Apr 16 11:56:06 2022 -0700
109
110    gitlab CI: stop requiring Signed-off-by in commits
111    
112    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
113
114commit f586ae4a0a8d081c46f10f4cb4c27840d611edec
115Author: Alan Coopersmith <alan.coopersmith@oracle.com>
116Date:   Sat Apr 16 11:51:37 2022 -0700
117
118    Stop leaking XkbAtomGetString allocations
119    
120    XkbAtomGetString is a wrapper around XGetAtomName, and like XGetAtomName
121    returns a newly allocated string (or NULL) on every call, so we should
122    free those strings when done instead of leaking them.
123    
124    Reported by Oracle Parfait static analyser:
125    
126    Error: Memory leak
127       Memory leak [memory-leak] (CWE 401):
128          Memory leak of pointer pointer allocated with XkbAtomGetString(state->dpy, state->geom->name)
129            at line 720 of app/xkbprint/psgeom.c in function 'PSProlog'.
130            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
131              pointer allocated at line 612 of app/xkbprint/psgeom.c in function 'PSProlog' with XkbAtomGetString(state->dpy, state->geom->name)
132              pointer leaks when (i + 1) >= state->geom->num_colors at line 694
133                  and (i + 1) >= state->geom->num_shapes at line 712.
134    
135       Memory leak [memory-leak] (CWE 401):
136          Memory leak of pointer pointer allocated with XkbAtomGetString(state->dpy, state->geom->name)
137            at line 720 of app/xkbprint/psgeom.c in function 'PSProlog'.
138            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
139              pointer allocated at line 657 of app/xkbprint/psgeom.c in function 'PSProlog' with XkbAtomGetString(state->dpy, state->geom->name)
140              pointer leaks when (i + 1) >= state->geom->num_colors at line 694
141                  and (i + 1) >= state->geom->num_shapes at line 712.
142    
143    Error: Memory leak
144       Memory leak [memory-leak] (CWE 401):
145          Memory leak of pointer name allocated with XkbAtomGetString(state->dpy, geom->name)
146            at line 962 of app/xkbprint/psgeom.c in function 'PSPageTrailer'.
147            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
148              name allocated at line 845 of app/xkbprint/psgeom.c in function 'PSPageTrailer' with XkbAtomGetString(state->dpy, geom->name)
149              name leaks when (p + 1) >= state->args->copies at line 926.
150    
151       Memory leak [memory-leak] (CWE 401):
152          Memory leak of pointer sName allocated with XkbAtomGetString(state->dpy, sAtom)
153            at line 962 of app/xkbprint/psgeom.c in function 'PSPageTrailer'.
154            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
155              sName allocated at line 877 of app/xkbprint/psgeom.c in function 'PSPageTrailer' with XkbAtomGetString(state->dpy, sAtom)
156              sName leaks when (p + 1) >= state->args->copies at line 926.
157    
158       Memory leak [memory-leak] (CWE 401):
159          Memory leak of pointer sName allocated with XkbAtomGetString(state->dpy, sAtom)
160            at line 962 of app/xkbprint/psgeom.c in function 'PSPageTrailer'.
161            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
162              sName allocated at line 910 of app/xkbprint/psgeom.c in function 'PSPageTrailer' with XkbAtomGetString(state->dpy, sAtom)
163              sName leaks when (p + 1) >= state->args->copies at line 926.
164    
165    Error: Memory leak
166       Memory leak [memory-leak] (CWE 401):
167          Memory leak of pointer dname allocated with XkbAtomGetString(xkb->dpy, doodad.any.name)
168            at line 1068 of app/xkbprint/psgeom.c in function 'PSDoodad'.
169            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
170              dname allocated at line 974 of app/xkbprint/psgeom.c in function 'PSDoodad' with XkbAtomGetString(xkb->dpy, doodad.any.name)
171    
172       Memory leak [memory-leak] (CWE 401):
173          Memory leak of pointer name allocated with XkbAtomGetString(...)
174            at line 1068 of app/xkbprint/psgeom.c in function 'PSDoodad'.
175            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
176              name allocated at line 980 of app/xkbprint/psgeom.c in function 'PSDoodad' with XkbAtomGetString(...)
177    
178       Memory leak [memory-leak] (CWE 401):
179          Memory leak of pointer name allocated with XkbAtomGetString(...)
180            at line 1068 of app/xkbprint/psgeom.c in function 'PSDoodad'.
181            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
182              name allocated at line 1044 of app/xkbprint/psgeom.c in function 'PSDoodad' with XkbAtomGetString(...)
183    
184       Memory leak [memory-leak] (CWE 401):
185          Memory leak of pointer name allocated with XkbAtomGetString(...)
186            at line 1068 of app/xkbprint/psgeom.c in function 'PSDoodad'.
187            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
188              name allocated at line 1058 of app/xkbprint/psgeom.c in function 'PSDoodad' with XkbAtomGetString(...)
189    
190    Error: Memory leak
191       Memory leak [memory-leak] (CWE 401):
192          Memory leak of pointer pointer allocated with XkbAtomGetString(dpy, section->name)
193            at line 2063 of app/xkbprint/psgeom.c in function 'PSSection'.
194            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
195              pointer allocated at line 1907 of app/xkbprint/psgeom.c in function 'PSSection' with XkbAtomGetString(dpy, section->name)
196              pointer leaks when (k + 1) >= (section->rows + <pointer arithmetic>)->num_keys at line 1936
197    
198      Memory leak [memory-leak] (CWE 401):
199          Memory leak of pointer pointer allocated with XkbAtomGetString(dpy, shape->name)
200            at line 2063 of app/xkbprint/psgeom.c in function 'PSSection'.
201            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
202              pointer allocated at line 1945 of app/xkbprint/psgeom.c in function 'PSSection' with XkbAtomGetString(dpy, shape->name)
203              pointer leaks when (k + 1) >= (section->rows + <pointer arithmetic>)->num_keys at line 1936
204                  and (r + 1) >= section->num_rows at line 1925.
205    
206       Memory leak [memory-leak] (CWE 401):
207          Memory leak of pointer pointer allocated with XkbAtomGetString(dpy, shape->name)
208            at line 2063 of app/xkbprint/psgeom.c in function 'PSSection'.
209            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
210              pointer allocated at line 1951 of app/xkbprint/psgeom.c in function 'PSSection' with XkbAtomGetString(dpy, shape->name)
211              pointer leaks when (k + 1) >= (section->rows + <pointer arithmetic>)->num_keys at line 1936
212                  and (r + 1) >= section->num_rows at line 1925.
213    
214       Memory leak [memory-leak] (CWE 401):
215          Memory leak of pointer pointer allocated with XkbAtomGetString(dpy, shape->name)
216            at line 2063 of app/xkbprint/psgeom.c in function 'PSSection'.
217            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
218              pointer allocated at line 1960 of app/xkbprint/psgeom.c in function 'PSSection' with XkbAtomGetString(dpy, shape->name)
219              pointer leaks when (k + 1) >= (section->rows + <pointer arithmetic>)->num_keys at line 1936
220                  and (r + 1) >= section->num_rows at line 1925.
221    
222       Memory leak [memory-leak] (CWE 401):
223          Memory leak of pointer pointer allocated with XkbAtomGetString(dpy, shape->name)
224            at line 2063 of app/xkbprint/psgeom.c in function 'PSSection'.
225            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
226              pointer allocated at line 1966 of app/xkbprint/psgeom.c in function 'PSSection' with XkbAtomGetString(dpy, shape->name)
227              pointer leaks when (k + 1) >= (section->rows + <pointer arithmetic>)->num_keys at line 1936
228                  and (r + 1) >= section->num_rows at line 1925.
229    
230    Error: Memory leak
231       Memory leak [memory-leak] (CWE 401):
232          Memory leak of pointer name allocated with XkbAtomGetString(...)
233            at line 2131 of app/xkbprint/psgeom.c in function 'GeometryToPostScript'.
234            Allocated value returned to caller at line 207 of lib/libxkbfile/src/xkbatom.c in function 'XkbAtomGetString'
235              name allocated at line 2110 of app/xkbprint/psgeom.c in function 'GeometryToPostScript' with XkbAtomGetString(...)
236              name leaks when name != NULL at line 2111.
237    
238    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
239
240commit cc85e7b233613633a5496f0fa27bf49b409c33e4
241Author: Alan Coopersmith <alan.coopersmith@oracle.com>
242Date:   Sat Apr 2 12:57:58 2022 -0700
243
244    man page: remove out-of-date COPYRIGHT section
245    
246    The information previously listed here didn't match what is present in
247    the source code or the COPYING file, and the X(7) man page doesn't list
248    any license information as this had claimed.
249    
250    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
251
252commit df4b45b62fafb218b613baade4a831522effdfcc
253Author: Alan Coopersmith <alan.coopersmith@oracle.com>
254Date:   Mon Dec 6 15:01:12 2021 -0800
255
256    Build xz tarballs instead of bzip2
257    
258    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
259
260commit 963fd74b2c425e700e9a15942963fd78c9dcd447
261Author: Alan Coopersmith <alan.coopersmith@oracle.com>
262Date:   Mon Dec 6 15:01:09 2021 -0800
263
264    gitlab CI: add a basic build test
265    
266    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
267
268commit 7defa9ddfd5f5d1853b9f404af854b0f42fa6ee5
269Author: Matt Turner <mattst88@gmail.com>
270Date:   Sun Nov 3 14:20:07 2019 -0800
271
272    xkbprint 1.0.5
273    
274    Signed-off-by: Matt Turner <mattst88@gmail.com>
275
276commit b968db6ca6fdb6ebb2384eaffaabe406c5cf783f
277Author: Alan Coopersmith <alan.coopersmith@oracle.com>
278Date:   Sun Sep 15 17:53:55 2019 -0700
279
280    xkbprint(1): Some (typographical) corrections to the manual
281    
282    Fixes: https://gitlab.freedesktop.org/xorg/app/xkbprint/issues/2
283    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742356
284    
285    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
286
287commit 9b134b4835cc0b6743bbd67d61b647dff3941ca9
288Author: Alan Coopersmith <alan.coopersmith@oracle.com>
289Date:   Wed Nov 21 17:12:07 2018 -0800
290
291    Update configure.ac bug URL for gitlab migration
292    
293    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
294
295commit d15a9ce43042d12c545d194f46075214678046e9
296Author: Alan Coopersmith <alan.coopersmith@oracle.com>
297Date:   Fri Nov 16 22:27:40 2018 -0800
298
299    Update README for gitlab migration
300    
301    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
302
303commit 8122e255d9c8c417d1eb9496b9b7b5c6cb53c334
304Author: Mihail Konev <k.mvc@ya.ru>
305Date:   Thu Jan 26 14:00:21 2017 +1000
306
307    autogen: add default patch prefix
308    
309    Signed-off-by: Mihail Konev <k.mvc@ya.ru>
310
311commit e43f3641499669bc993fe8370b58dac94d4e7eb1
312Author: Emil Velikov <emil.l.velikov@gmail.com>
313Date:   Mon Mar 9 12:00:52 2015 +0000
314
315    autogen.sh: use quoted string variables
316    
317    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
318    fall-outs, when they contain space.
319    
320    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
321    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
322    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
323
324commit b08a9ce8e834d5c019b37a63dbc2e06b2ace93ca
325Author: Peter Hutterer <peter.hutterer@who-t.net>
326Date:   Tue Jan 24 10:32:07 2017 +1000
327
328    autogen.sh: use exec instead of waiting for configure to finish
329    
330    Syncs the invocation of configure with the one from the server.
331    
332    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
333    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
334
335commit facf56074567094349d9050e99a659d8e3a1b0ce
336Author: Alan Coopersmith <alan.coopersmith@oracle.com>
337Date:   Thu Apr 16 23:41:38 2015 -0700
338
339    xkbprint 1.0.4
340    
341    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
342
343commit e4c1258143bf09de5453faafe2c6f0bc107a1523
344Author: Alan Coopersmith <alan.coopersmith@oracle.com>
345Date:   Sat May 31 21:39:32 2014 -0700
346
347    autogen.sh: Honor NOCONFIGURE=1
348    
349    See http://people.gnome.org/~walters/docs/build-api.txt
350    
351    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
352
353commit 4b12d476447952ab0a5a7a30d35d43de6f7418f8
354Author: Alan Coopersmith <alan.coopersmith@oracle.com>
355Date:   Sat May 31 21:38:41 2014 -0700
356
357    configure: Drop AM_MAINTAINER_MODE
358    
359    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
360
361commit 59d82dc7c5dd4a6ca2098ba51fb9683fb03720ab
362Author: Alan Coopersmith <alan.coopersmith@oracle.com>
363Date:   Sat May 31 21:33:34 2014 -0700
364
365    Remove old CVS id tags
366    
367    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
368
369commit 545db04829433b7d30de75ea03dc4495a91a8ab6
370Author: Alan Coopersmith <alan.coopersmith@oracle.com>
371Date:   Sat May 31 20:16:42 2014 -0700
372
373    Add -version option to print program version
374    
375    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
376
377commit 8e86b50311c3b926d2bb1e00fb5343f3e76d55b3
378Author: Alan Coopersmith <alan.coopersmith@oracle.com>
379Date:   Sat May 31 19:51:00 2014 -0700
380
381    Fix some sign/size conversion warnings from clang
382    
383    psgeom.c:1320:17: warning: implicit conversion changes signedness:
384     'int' to 'unsigned long' [-Wsign-conversion]
385        if ((sym & (~0xff)) == 0x700) {
386                 ~  ^~~~~
387    psgeom.c:1666:31: warning: implicit conversion changes signedness:
388     'int' to 'unsigned long' [-Wsign-conversion]
389                else if (((sym & (~0xff)) == 0) && isprint(sym) && (!isspace(sym))) {
390                               ~  ^~~~~
391    psgeom.c:1860:27: warning: implicit conversion loses integer precision:
392     'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
393                    int len = strlen(top->label[i]);
394                        ~~~   ^~~~~~~~~~~~~~~~~~~~~
395    xkbprint.c:460:19: warning: implicit conversion loses integer precision:
396     'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
397            int len = strlen(inputFile);
398                ~~~   ^~~~~~~~~~~~~~~~~
399    
400    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
401
402commit 641a71f594688d870540be47ddff339d746a4fa0
403Author: Alan Coopersmith <alan.coopersmith@oracle.com>
404Date:   Sat May 31 19:40:34 2014 -0700
405
406    Remove unused INPUT_* definitions
407    
408    Flagged by clang:
409    xkbprint.c:62:9: warning: macro is not used [-Wunused-macros]
410            ^
411    xkbprint.c:61:9: warning: macro is not used [-Wunused-macros]
412            ^
413    xkbprint.c:60:9: warning: macro is not used [-Wunused-macros]
414            ^
415    
416    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
417
418commit 4bbc62129724cdc61f601e4f1c98490bca403619
419Author: Alan Coopersmith <alan.coopersmith@oracle.com>
420Date:   Sat May 31 19:18:08 2014 -0700
421
422    Move some local variables to the scope in which they live
423    
424    Helps both human readers and static code analyzers realize they're not
425    used outside these scopes.
426    
427    Flagged by cppcheck 1.64:
428    [psgeom.c:1761]: (style) The scope of the variable 'keycode' can be reduced.
429    [psgeom.c:1858]: (style) The scope of the variable 'len' can be reduced.
430    
431    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
432
433commit 7d186165440c5a370af7551f5958baae2f0b3725
434Author: Alan Coopersmith <alan.coopersmith@oracle.com>
435Date:   Sat May 31 19:00:09 2014 -0700
436
437    Combine IsoKeyCaps array of strings into a single string
438    
439    Packs more efficiently in binary, reduces number of calls to output,
440    gets rid of ~4k array of pointers to each string in data segment to
441    initialize on program load.
442    
443    "xkbprint -if IsoKeyCaps" generates identical IsoKeyCaps.pfa files
444    before & after this change.
445    
446    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
447
448commit bac53a94fec22563294cb57413e8d394df06c70a
449Author: Alan Coopersmith <alan.coopersmith@oracle.com>
450Date:   Tue May 27 21:51:01 2014 -0700
451
452    Replace calls to index() with calls to strchr()
453    
454    Both were in use in different functions, adopt the ANSI C standard
455    function for all calls.
456    
457    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
458
459commit 5ee01f266fd315e5bee624ec9d54357ffa593dfc
460Author: Alan Coopersmith <alan.coopersmith@oracle.com>
461Date:   Tue May 27 21:50:29 2014 -0700
462
463    Combine repeated sequences of fprintf() calls into single calls
464    
465    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
466
467commit e7aa5ea85d57b90c1ee3244facd2dfd4d3ff1cd5
468Author: Alan Coopersmith <alan.coopersmith@oracle.com>
469Date:   Tue May 27 21:04:05 2014 -0700
470
471    Replace remaining sprintf calls with snprintf()
472    
473    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
474
475commit bfb6044479e8e974e848f47969f75b84865fea13
476Author: Alan Coopersmith <alan.coopersmith@oracle.com>
477Date:   Tue May 27 20:55:33 2014 -0700
478
479    Replace several malloc+sprintf pairs with asprintf() calls
480    
481    Includes fallback uAsprintf() for systems without asprintf yet
482    
483    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
484
485commit 7848ba1d292f55553058c1f17596baa1094cdae5
486Author: Alan Coopersmith <alan.coopersmith@oracle.com>
487Date:   Tue May 27 20:39:48 2014 -0700
488
489    Add printf & noreturn attributes recommended by gcc
490    
491    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
492
493commit 8a7b707f6f841655498c753701ee38f12ba630cf
494Author: Alan Coopersmith <alan.coopersmith@oracle.com>
495Date:   Tue May 27 20:35:49 2014 -0700
496
497    Replace uStrCaseCmp() with direct calls to strcasecmp()
498    
499    strcasecmp is available in Unix98 and later, so part of the X.Org base
500    platform requirements.
501    
502    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
503
504commit e144ec9018cabd1d9904fb6d04382d2cf06ec3dc
505Author: Alan Coopersmith <alan.coopersmith@oracle.com>
506Date:   Tue May 27 20:32:42 2014 -0700
507
508    Replace uStringDup() with direct calls to strdup()
509    
510    strdup is available in Unix98 and later, so part of the X.Org base
511    platform requirements.
512    
513    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
514
515commit cefec39d93846c2d034be9a89f48466831eddde6
516Author: Alan Coopersmith <alan.coopersmith@oracle.com>
517Date:   Tue May 27 20:30:20 2014 -0700
518
519    Replace custom uAlloc/uCalloc with plain malloc/calloc
520    
521    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
522
523commit ab92831be0e862622105f015fe8c390715d2aae9
524Author: Alan Coopersmith <alan.coopersmith@oracle.com>
525Date:   Mon May 26 16:15:00 2014 -0700
526
527    Replace sole call to uFree() with direct call to free()
528    
529    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
530
531commit 4ae1b3d5f5330a8f7bd8880860a204000081095c
532Author: Alan Coopersmith <alan.coopersmith@oracle.com>
533Date:   Mon May 26 16:13:23 2014 -0700
534
535    Remove unused uTmpAlloc & uTmpFree fallbacks for alloca
536    
537    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
538
539commit e9a66d6ba4d0edd2d2d12cd0271aaecc43b6067d
540Author: Alan Coopersmith <alan.coopersmith@oracle.com>
541Date:   Mon May 26 16:12:05 2014 -0700
542
543    Remove unused uRealloc & uRecalloc functions
544    
545    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
546
547commit dbbc677985e3a853f2e52b8a9d09660d3fa6d983
548Author: Alan Coopersmith <alan.coopersmith@oracle.com>
549Date:   Mon May 26 16:10:33 2014 -0700
550
551    Remove unused uStrCasePrefix fallback for strncasecmp
552    
553    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
554
555commit 7ca2572623fee8db916eff668ef3c852f2ce124a
556Author: Alan Coopersmith <alan.coopersmith@oracle.com>
557Date:   Mon May 26 16:09:29 2014 -0700
558
559    Remove unused debugging & function tracing frameworks
560    
561    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
562
563commit b883af48e9624e2215d1e790ca0da4969480ce13
564Author: Alan Coopersmith <alan.coopersmith@oracle.com>
565Date:   Mon May 26 16:06:05 2014 -0700
566
567    Remove unused uASSERT macro
568    
569    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
570
571commit 5256304812e89c1c02bed093d11f96d97216bdbe
572Author: Alan Coopersmith <alan.coopersmith@oracle.com>
573Date:   Mon May 26 16:03:30 2014 -0700
574
575    Fix many const char * warnings
576    
577    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
578
579commit e1b1ecd2e9858dca67ed1da90799f1ea34fc9b71
580Author: Alan Coopersmith <alan.coopersmith@oracle.com>
581Date:   Mon May 26 10:17:12 2014 -0700
582
583    unifdef -Unotyet -UNOTYET
584    
585    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
586
587commit 9456437718d78b942333bdf74124c027ba35039f
588Author: Alan Coopersmith <alan.coopersmith@oracle.com>
589Date:   Mon May 26 10:13:31 2014 -0700
590
591    Convert sources to X.Org standard coding style
592    
593    Via util/modular/x-indent-all.sh
594    
595    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
596
597commit 7ebdc6c2ed2917dd48687aa16c6909186a575e2d
598Author: Gaetan Nadon <memsize@videotron.ca>
599Date:   Wed Jan 19 10:06:56 2011 -0500
600
601    config: move man pages into their own directory
602    
603    Use services provided by XORG_MANPAGE_SECTIONS.
604    Use standard Makefile for man pages.
605    
606    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
607
608commit d762e97a2c6745017912b19fe443ed814d557a51
609Author: Gaetan Nadon <memsize@videotron.ca>
610Date:   Thu Jan 13 17:15:36 2011 -0500
611
612    man: replace hard coded man page section with substitution strings
613    
614    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
615
616commit a65ad77d80a1037889d4ba8aa061d109a0d15c2c
617Author: Gaetan Nadon <memsize@videotron.ca>
618Date:   Thu Jan 13 11:15:47 2011 -0500
619
620    man: remove trailing spaces and tabs
621    
622    Using s/[ \t]*$//
623    
624    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
625
626commit 93479193971679781c302dcfda3f653ea67fb452
627Author: Alan Coopersmith <alan.coopersmith@oracle.com>
628Date:   Fri Jan 7 19:09:37 2011 -0800
629
630    xkbprint 1.0.3
631    
632    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
633
634commit c6cb1b17600e2c2937751a712c7eadd411eb6da9
635Author: Alan Coopersmith <alan.coopersmith@oracle.com>
636Date:   Wed Jan 5 17:03:30 2011 -0800
637
638    config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
639    
640    Regroup AC statements under the Autoconf initialization section.
641    Regroup AM statements under the Automake initialization section.
642    Add missing AC_CONFIG_SRCDIR
643    
644    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
645
646commit 5d321bc363ce5ef67a1297e24ed184a28eed4e9d
647Author: Alan Coopersmith <alan.coopersmith@oracle.com>
648Date:   Wed Jan 5 17:00:42 2011 -0800
649
650    config: upgrade to util-macros 1.8 for additional man page support
651    
652    Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
653    The value of MAN_SUBST is the same for all X.Org packages.
654    
655    Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS
656    Enables use of platform appropriate version of sed.
657    
658    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
659
660commit 16c0b77e78ce2ce750b690469850294f5e69ab97
661Author: Gaetan Nadon <memsize@videotron.ca>
662Date:   Wed Jan 5 16:58:47 2011 -0800
663
664    config: update AC_PREREQ statement to 2.60
665    
666    Unrelated to the previous patches, the new value simply reflects
667    the reality that the minimum level for autoconf to configure
668    all x.org modules is 2.60 dated June 2006.
669    
670    ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
671    
672    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
673    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
674
675commit 6b8537579db562937af77ca5a4b0e19893a7bbee
676Author: Alan Coopersmith <alan.coopersmith@oracle.com>
677Date:   Wed Jan 5 16:58:25 2011 -0800
678
679    config: Remove unnecessary calls from configure.ac
680    
681    AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now
682    PKG_CONFIG_MODULES handles AC_SUBST of the CFLAGS & LIBS variables
683    
684    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
685
686commit f15a69148c2ed5cf1717a0ad942ecdfcf037104d
687Author: Gaetan Nadon <memsize@videotron.ca>
688Date:   Thu Nov 26 09:19:54 2009 -0500
689
690    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
691    
692    Now that the INSTALL file is generated.
693    Allows running make maintainer-clean.
694
695commit 90d54a9a94ac30ac6ee7fa78ea8e6a898490afe6
696Author: Gaetan Nadon <memsize@videotron.ca>
697Date:   Wed Oct 28 14:09:08 2009 -0400
698
699    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
700    
701    Add missing INSTALL file. Use standard GNU file on building tarball
702    README may have been updated
703    Remove AUTHORS file as it is empty and no content available yet.
704    Remove NEWS file as it is empty and no content available yet.
705
706commit 8d49899afe456a93c2bb7477b963fd31dbad5942
707Author: Gaetan Nadon <memsize@videotron.ca>
708Date:   Tue Oct 27 15:07:25 2009 -0400
709
710    Deploy the new XORG_DEFAULT_OPTIONS #24242
711    
712    This macro aggregate a number of existing macros that sets commmon
713    X.Org components configuration options. It shields the configuration file from
714    future changes.
715
716commit d2d7a487230ebc281aa2d1a88038befb69e63b7d
717Author: Gaetan Nadon <memsize@videotron.ca>
718Date:   Mon Oct 26 22:08:39 2009 -0400
719
720    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
721    
722    ChangeLog filename is known to Automake and requires no further
723    coding in the makefile.
724
725commit 2683cf26ec97c49fac6145227d9f4cae3fa8a1bd
726Author: Gaetan Nadon <memsize@videotron.ca>
727Date:   Thu Oct 22 12:34:15 2009 -0400
728
729    .gitignore: use common defaults with custom section # 24239
730    
731    Using common defaults will reduce errors and maintenance.
732    Only the very small or inexistent custom section need periodic maintenance
733    when the structure of the component changes. Do not edit defaults.
734
735commit 31b7584cd60accc2d7dbaf5797d34495e321b793
736Author: Alan Coopersmith <alan.coopersmith@sun.com>
737Date:   Tue Nov 10 23:39:43 2009 -0800
738
739    xkbprint 1.0.2
740    
741    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
742
743commit ec17f1a60b1c9d9871213eae475740640fe6312d
744Author: Alan Coopersmith <alan.coopersmith@sun.com>
745Date:   Tue Nov 10 23:38:29 2009 -0800
746
747    Fill in COPYING with notices from code
748    
749    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
750
751commit 4ecf1e50d97afde8c5e343d6c25e5a1eb940e02c
752Author: Alan Coopersmith <alan.coopersmith@sun.com>
753Date:   Tue Nov 10 23:34:48 2009 -0800
754
755    Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
756    
757    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
758
759commit bcf318755e452925e6cc06ea564f63e846cabf38
760Author: Alan Coopersmith <alan.coopersmith@sun.com>
761Date:   Thu Oct 1 14:54:25 2009 -0700
762
763    Add README with pointers to mailing lists, bugzilla, & git
764    
765    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
766
767commit d67733133b7a1062628e6c5e7512adf998026b6a
768Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
769Date:   Thu Jan 22 14:53:41 2009 -0200
770
771    Correct make distcheck and sparse warnings.
772
773commit 077871dce17f78ffa94e8bc2de21461fd8a4960d
774Author: Peter Breitenlohner <peb@mppmu.mpg.de>
775Date:   Fri Nov 14 13:37:05 2008 +0100
776
777    build fixes
778    
779    use AM_CFLAGS instead of xkbprint_CFLAGS to avoid need for AM_PROG_CC_C_O
780    replace 'git-log' by 'git log' as required by git-1.6.x
781
782commit 58d940fbb303cc16549f913e33429362760132de
783Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
784Date:   Sun Mar 16 19:02:31 2008 -0300
785
786    Compile warning fixes.
787    
788    Use constant octals instead of constant characters in switch case values
789    to avoid warnings/problems if constant characters are signed.
790      Ansify some functions in utils.c.
791    
792    Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
793
794commit 885f2712b0d5137d5349c3debbcea0db0f39e92f
795Author: Pavel Kurashov <pavell@mail.ru>
796Date:   Fri Nov 14 13:50:20 2008 +0100
797
798    correct outline with cornerRadius
799    
800    http://bugs.freedesktop.org/show_bug.cgi?id=12790
801    https://bugs.freedesktop.org/attachment.cgi?id=12008
802    
803    Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
804
805commit 6bd5defc38d2e1868d9303026b38487d6bffc7ab
806Author: Niveditha Rau <Niveditha.Rau@Sun.COM>
807Date:   Thu Jun 12 16:52:05 2008 -0700
808
809    Fix typo in xkbprint man page
810
811commit 6e1a5562d22f2f7cdc9478be1e3c809dfa509573
812Author: James Cloos <cloos@jhcloos.com>
813Date:   Thu Dec 6 16:37:19 2007 -0500
814
815    Replace static ChangeLog with dist-hook to generate from git log
816
817commit a912837d96da29022c0a2a75212ac381aec1dcfe
818Author: James Cloos <cloos@jhcloos.com>
819Date:   Mon Sep 3 05:51:27 2007 -0400
820
821    Add *~ to .gitignore to skip patch/emacs droppings
822
823commit 4063d540920f603f334dc3bb8f478db23cdaa9e0
824Author: James Cloos <cloos@jhcloos.com>
825Date:   Thu Aug 23 19:24:53 2007 -0400
826
827    Rename .cvsignore to .gitignore
828
829commit 696b7234c93e3e9a6b8302640e625868699567ab
830Author: Kevin E Martin <kem@kem.org>
831Date:   Wed Dec 21 02:29:51 2005 +0000
832
833    Update package version for X11R7 release.
834
835commit 5e62ccda04eb02c3db07896a34253211ae749581
836Author: Adam Jackson <ajax@nwnk.net>
837Date:   Mon Dec 19 16:22:45 2005 +0000
838
839    Stub COPYING files
840
841commit e0e4e20547bf3f04f683e318862290b3fbaa0b37
842Author: Kevin E Martin <kem@kem.org>
843Date:   Thu Dec 15 00:24:08 2005 +0000
844
845    Update package version number for final X11R7 release candidate.
846
847commit 0a4cd3760ebc41fa95fea45ba0cc5579beebba4a
848Author: Kevin E Martin <kem@kem.org>
849Date:   Tue Dec 6 22:48:23 2005 +0000
850
851    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
852
853commit f64993bf8cc357a05ee11ce28e0c60322cec98d2
854Author: Kevin E Martin <kem@kem.org>
855Date:   Sat Dec 3 05:49:24 2005 +0000
856
857    Update package version number for X11R7 RC3 release.
858
859commit 6dbafe93cd59e599bebf5d0fae7ecb87a42da8e1
860Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
861Date:   Mon Nov 28 22:01:43 2005 +0000
862
863    Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
864        update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
865
866commit a7fca74540833d1d1cf02e6455cd33a91951e6e1
867Author: Eric Anholt <anholt@freebsd.org>
868Date:   Mon Nov 21 10:35:02 2005 +0000
869
870    Another pass at .cvsignores for apps.
871
872commit 1c9055c2dbdb68f1f419ffac0596130c3bda61e8
873Author: Eric Anholt <anholt@freebsd.org>
874Date:   Sun Nov 20 22:08:53 2005 +0000
875
876    Add/improve .cvsignore files for apps.
877
878commit 1739444b40ef1e07e9bd6e0d9fe1f1e6e254809a
879Author: Kevin E Martin <kem@kem.org>
880Date:   Sat Nov 19 07:15:37 2005 +0000
881
882    Update pkgconfig files to separate library build-time dependencies from
883        application build-time dependencies, and update package deps to work
884        with separate build roots.
885
886commit 3eb0b0085955c8213c869a8b14e8ec00f3514b7b
887Author: Kevin E Martin <kem@kem.org>
888Date:   Wed Oct 19 02:47:55 2005 +0000
889
890    Update package version number for RC1 release.
891
892commit a59499ec60ad710155a8ff27158945551270d6b8
893Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
894Date:   Mon Oct 17 23:56:23 2005 +0000
895
896    Use @APP_MAN_SUFFIX@ instead of $(APP_MAN_SUFFIX) in macro substitutions to
897        work better with BSD make
898
899commit 3e3050ac678f225dfd9a2f50778b603a3e7f5da4
900Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
901Date:   Fri Oct 14 00:25:46 2005 +0000
902
903    Use sed to fill in variables in man page
904
905commit a3be5e6602ee8614401d62d8b37ae0f2bed0f631
906Author: Kevin E Martin <kem@kem.org>
907Date:   Fri Jul 29 21:22:35 2005 +0000
908
909    Various changes preparing packages for RC0:
910    - Verify and update package version numbers as needed
911    - Implement versioning scheme
912    - Change bug address to point to bugzilla bug entry form
913    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
914        reenable it)
915    - Fix makedepend to use pkgconfig and pass distcheck
916    - Update build script to build macros first
917    - Update modular Xorg version
918
919commit 10e946b8da2718e6657e8a1a880fd46acc6c5ce8
920Author: Daniel Stone <daniel@fooishbar.org>
921Date:   Wed Jul 27 01:54:18 2005 +0000
922
923    Move manpages to section 1 instead of section m.
924
925commit 95191a911fce864af7349df2377363885e4c920f
926Author: Adam Jackson <ajax@nwnk.net>
927Date:   Wed Jul 20 19:31:57 2005 +0000
928
929    Use a unique token for PKG_CHECK_MODULES. Otherwise, if you use a global
930        configure cache, you cache it, and the cached value is probably wrong.
931
932commit c4b22b69df1162dab5db3691053ac0b6fb4c4503
933Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
934Date:   Wed Jul 6 20:42:02 2005 +0000
935
936    Build system for xkbprint
937
938commit 15c4274c3da2c63bd83b14ef4d35727222d62ed2
939Author: Egbert Eich <eich@suse.de>
940Date:   Fri Apr 23 19:54:57 2004 +0000
941
942    Merging XORG-CURRENT into trunk
943
944commit e4848d45534f7ff28304397ca9ff0aa2de6cfe97
945Author: Egbert Eich <eich@suse.de>
946Date:   Sun Mar 14 08:35:37 2004 +0000
947
948    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
949
950commit ca0576c0a0b21eb60562995318594a2958a76e9d
951Author: Egbert Eich <eich@suse.de>
952Date:   Wed Mar 3 12:13:14 2004 +0000
953
954    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
955
956commit 31c64747c1c70a36a916921519d004f22263964f
957Author: Egbert Eich <eich@suse.de>
958Date:   Thu Feb 26 13:36:26 2004 +0000
959
960    readding XFree86's cvs IDs
961
962commit 17de96585abae92ffab5e61b9890fb3170c202cd
963Author: Egbert Eich <eich@suse.de>
964Date:   Thu Feb 26 09:24:13 2004 +0000
965
966    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
967
968commit 53c425e61c058fa586040dda56728906025989e8
969Author: Kaleb Keithley <kaleb@freedesktop.org>
970Date:   Tue Nov 25 19:29:14 2003 +0000
971
972    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
973
974commit 1952210eda8c22ca34704894290e9a39ee96ecb4
975Author: Kaleb Keithley <kaleb@freedesktop.org>
976Date:   Fri Nov 14 16:49:23 2003 +0000
977
978    XFree86 4.3.0.1
979
980commit e621300441be997039c5f1abadd92fc3bab733f8
981Author: Kaleb Keithley <kaleb@freedesktop.org>
982Date:   Fri Nov 14 15:54:54 2003 +0000
983
984    R6.6 is the Xorg base-line
985