ChangeLog revision 6a46240f
1commit 2c2e44c94ef17ecd5003a173237b57b315e28d93
2Author: Alan Coopersmith <alan.coopersmith@oracle.com>
3Date:   Thu Aug 1 15:53:10 2024 -0700
4
5    libXfont2 2.0.7
6    
7    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8
9commit dbc2fbc5823e2a9fb6dc9536a1716674840da24c
10Author: Enrico Weigelt, metux IT consult <info@metux.net>
11Date:   Fri Jul 19 13:33:21 2024 +0200
12
13    include: libxfont2: fix missing includes of fontproto.h
14    
15    * needs types from X11/fonts/fontproto.h (eg. NameCheckFunc) from this header,
16    but forgot to include it.
17    * needs NULL, which is defined in stddef.h
18    
19    Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
20    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/merge_requests/28>
21
22commit 0006737243ee3599775e41b59c42028e07a68f0a
23Author: José Expósito <jexposit@redhat.com>
24Date:   Mon Jul 1 16:28:04 2024 +0200
25
26    stubs/atom.c: Fix memory leak in __libxfont_internal__MakeAtom
27    
28    Reported by a static analysis tool:
29    
30         9. libXfont2-2.0.6/src/stubs/atom.c:179:5:
31            alloc_fn: Storage is returned from allocation function "malloc".
32        10. libXfont2-2.0.6/src/stubs/atom.c:179:5:
33            var_assign: Assigning: "a" = storage returned from
34            "malloc(24UL + len + 1UL)".
35        16. libXfont2-2.0.6/src/stubs/atom.c:194:6:
36            leaked_storage: Variable "a" going out of scope leaks the
37            storage it points to.
38        #   192|  if ((ResizeHashTable() == FALSE) &&
39        #   193|     ((hashTable == NULL) || (hashUsed == hashSize)))
40        #   194|->   return None;
41        #   195|  h = hash & hashMask;
42        #   196|  if (hashTable[h]) {
43    
44    Fixes: 78085e6b683b ("stubs/atom.c: check for ResizeHashTable failure")
45    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/merge_requests/27>
46
47commit c47d610ae27e89911539773f15bd7940fc00d35d
48Author: Alan Coopersmith <alan.coopersmith@oracle.com>
49Date:   Sat Feb 17 12:56:52 2024 -0800
50
51    Use autoconf to check for float.h instead of platform-specific ifdefs
52    
53    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54
55commit 3d41257544d7903935e6a1407f3da6624bbc3914
56Author: Alan Coopersmith <alan.coopersmith@oracle.com>
57Date:   Sat Feb 17 12:25:15 2024 -0800
58
59    unifdef NCD
60    
61    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
62
63commit bac7adac9a9865ef736589863ad144d4172585e1
64Author: Alan Coopersmith <alan.coopersmith@oracle.com>
65Date:   Sat Feb 17 12:22:09 2024 -0800
66
67    unifdef Lynx
68    
69    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
70
71commit 1f7b4edf09faa5ca8088745c0ad94a01c63043cd
72Author: Alan Coopersmith <alan.coopersmith@oracle.com>
73Date:   Sat Feb 17 12:21:15 2024 -0800
74
75    unifdef ISC
76    
77    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
78
79commit e38d1d27a1867b79eb86309f9d757133216cb32c
80Author: Alan Coopersmith <alan.coopersmith@oracle.com>
81Date:   Sat Feb 17 12:20:37 2024 -0800
82
83    unifdef __OSF1__
84    
85    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
86
87commit 24951703b738407e172343f7721bd8217ee8430e
88Author: Alan Coopersmith <alan.coopersmith@oracle.com>
89Date:   Sat Feb 17 12:19:18 2024 -0800
90
91    unifdef sony
92    
93    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
94
95commit c908d2773aea21692edcd1ea8aa9e11e9f5828b7
96Author: Alan Coopersmith <alan.coopersmith@oracle.com>
97Date:   Sat Jan 27 11:20:21 2024 -0800
98
99    bitscale.c: remove unused MAX() macro
100    
101    Code that used it was removed in commit 632a2e90a4b209facc
102    
103    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
104
105commit 0be12a9f7c8cbc710660d29ec54328916cc41beb
106Author: Alan Coopersmith <alan.coopersmith@oracle.com>
107Date:   Sat Jan 27 11:19:36 2024 -0800
108
109    bitscale.c: ensure SCORE macro expands properly
110    
111    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
112
113commit 42d2b5add560ad9a14f36c5f628e83a39ac89f47
114Author: Alan Coopersmith <alan.coopersmith@oracle.com>
115Date:   Sat Jan 27 11:12:09 2024 -0800
116
117    bitscale.c: ensure SCORE2 macro expands properly
118    
119    Handles warning from Oracle Parfait 11.2 static analyzer:
120    
121    Error: Misleading macro
122       Misleading macro [misleading-macro]:
123          misleading evaluation of '/' operator in expansion of macro SCORE2 due to missing parentheses
124            at line 299 of src/bitmap/bitscale.c.
125            '/' operator has lower precedence than '/' operator inside macro body at line 438
126            low precedence '/' operator is hidden by expansion of macro argument m at line 299
127       Misleading macro [misleading-macro]:
128          misleading evaluation of '/' operator in expansion of macro SCORE2 due to missing parentheses
129            at line 299 of src/bitmap/bitscale.c.
130            binary '*' operator has lower precedence than '/' operator inside macro body at line 440
131            low precedence binary '*' operator is hidden by expansion of macro argument m at line 299
132    
133    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
134
135commit 87b05995a861f75e38b889659a56b13485e58ce2
136Author: Alan Coopersmith <alan.coopersmith@oracle.com>
137Date:   Wed Jan 24 17:44:38 2024 -0800
138
139    configure: Use AC_SYS_LARGEFILE to enable large file support
140    
141    While font files should never be more than 2gb in size, they may be
142    stored on filesystems with large inodes or timestamps outside of the
143    32-bit range.
144    
145    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
146
147commit b4b35189d54bef2c5d6062518076505167c3dd9b
148Author: Alan Coopersmith <alan.coopersmith@oracle.com>
149Date:   Wed Jan 24 17:42:19 2024 -0800
150
151    Modernize lseek() calls
152    
153    Position should be stored in an off_t, not an int, and the
154    "whence" arg should use symbolic constants instead of raw numbers.
155    
156    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
157
158commit c0ab2a2c42af6d2f34a987c7b9903e9737e27a87
159Author: Alan Coopersmith <alan.coopersmith@oracle.com>
160Date:   Sat Mar 25 10:40:19 2023 -0700
161
162    Set close-on-exec when opening fonts.dir & fonts.alias files
163    
164    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
165
166commit a5ee0e9ab968d795fdb9983457a9b7d16ed249ef
167Author: Alan Coopersmith <alan.coopersmith@oracle.com>
168Date:   Sat Mar 4 10:44:45 2023 -0800
169
170    configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
171    
172    AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
173    so it's time to rely on it.
174    
175    Clears autoconf warnings:
176    
177    configure.ac:38: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
178    configure.ac:38: You should run autoupdate.
179    aclocal.m4:3640: AC_PROG_LIBTOOL is expanded from...
180    configure.ac:38: the top level
181    
182    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
183    libtoolize: and rerunning libtoolize and aclocal.
184    
185    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
186
187commit a3a85df9a65a5185bdbd47823f336c4cb3fa14c3
188Author: Alan Coopersmith <alan.coopersmith@oracle.com>
189Date:   Sat Feb 25 09:26:20 2023 -0800
190
191    Remove "All rights reserved" from Oracle copyright notices
192    
193    Oracle no longer includes this term in our copyright & license notices.
194    
195    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
196
197commit 0bee036267c8e44a3109002965d18c9224296c08
198Author: Alan Coopersmith <alan.coopersmith@oracle.com>
199Date:   Thu Feb 16 19:02:29 2023 -0800
200
201    configure: raise minimum autoconf requirement to 2.70
202    
203    Needed for builds on NetBSD to work correctly, since it depends on
204    AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the
205    prototype for reallocarray() in the system headers.
206    
207    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
208
209commit 572d9d52f408f23905d3af22a02108991944ab2d
210Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
211Date:   Sat Nov 26 21:55:16 2022 -0800
212
213    atom: Update Hash() to be unsigned
214    
215    This avoids undefined behavior (left shift overflow in signed integer type)
216    
217    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
218
219commit 5ca90ec8665294cb8499a54c303b8275eeeaaf4d
220Author: Peter Harris <pharris@opentext.com>
221Date:   Wed Nov 2 15:38:19 2022 -0400
222
223    Fix font server reconnection timeout
224    
225    The great libxfont2 rewrite 135fb032e940ce226c9feb13e6e903f3ecbc5eb0 split
226    fs_wakeup into fs_wakeup and fs_fd_handler. The fs_fd_handler side is
227    called when there is new data on the socket. The fs_wakeup side is called
228    on a timeout.
229    
230    If there's a connection timeout, the block handler will set the timeout
231    to zero, expecting fs_wakeup to handle the timeout. Therefore, we need to
232    call _fs_check_reconnect in fs_wakeup to handle the connection timeout.
233    If we don't, the X server will go to 100% CPU (and the font server
234    connection will not be retried).
235    
236    Signed-off-by: Peter Harris <pharris@opentext.com>
237
238commit 644bea5c481365343e709d0f2ddbc553a6d8fc30
239Author: Alan Coopersmith <alan.coopersmith@oracle.com>
240Date:   Sat Nov 5 09:16:14 2022 -0700
241
242    Only link with libbsd if needed for reallocarray() or strlcat()
243    
244    Avoid unnecessary library dependency when using a libc with these
245    functions included
246    
247    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
248
249commit f476c0a09c0d0dd22d22f447cae9fa02eb560506
250Author: Guillem Jover <guillem@hadrons.org>
251Date:   Thu Oct 6 00:38:36 2022 +0000
252
253    Switch from libbsd to libbsd-overlay
254    
255    This is the preferred usage form for libbsd, as it makes the code more
256    portable and requires no special includes for libbsd, by transparently
257    injects the needed standard headers that would be used on a BSD.
258    
259    Signed-off-by: Guillem Jover <guillem@hadrons.org>
260
261commit d54aaf2483df6a1f98fadc09004157e657b7f73e
262Author: Alan Coopersmith <alan.coopersmith@oracle.com>
263Date:   Fri Aug 26 16:22:15 2022 -0700
264
265    libXfont2 2.0.6
266    
267    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
268
269commit efb287223612e9225e5089bed76e348c236b15f0
270Author: Peter Harris <pharris@opentext.com>
271Date:   Thu Mar 25 15:56:31 2021 -0400
272
273    Fix buffer overrun in FontFileMakeDir on WIN32
274    
275    When dirName is "" (eg. when called by BuiltinReadDirectory),
276    FontFileMakeDir would read after the string when WIN32 is defined.
277    
278    Fix the overrun issue by checking the location of the found :
279    before adding two.
280    
281    Signed-off-by: Peter Harris <pharris@opentext.com>
282    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
283
284commit 3c8fdf6e35bed077a5614b4094770e668c96b9e9
285Author: Alan Coopersmith <alan.coopersmith@oracle.com>
286Date:   Tue Jun 21 17:37:32 2022 -0700
287
288    Fix comments to reflect removal of OS/2 support
289    
290    Commit 6c29007756301 removed OS/2 support from the code,
291    but missed updating the comments to match.
292    
293    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
294
295commit 8e3d94c867741319bf75b47266176cf677218641
296Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
297Date:   Mon Jun 20 23:32:52 2022 -0700
298
299    Correct fsCreateACReq length
300    
301    Regressed-in: 6972ea08ee5b2ef1cfbdc2fcaf14f06bbd391561
302    Fixes: https://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues/13
303    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
304
305commit 5cb3b8809b9f141a2cf8a4e00a8387c75dc6bc10
306Author: Alan Coopersmith <alan.coopersmith@oracle.com>
307Date:   Mon Jun 20 12:30:41 2022 -0700
308
309    configure: Use pkg-config to handle zlib dependency if possible
310    
311    Preserves fallback for systems like darwin without zlib.pc
312    
313    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
314
315commit 12bed78985af1da2d1f4954a3491ee497a878b23
316Author: Alan Coopersmith <alan.coopersmith@oracle.com>
317Date:   Wed Apr 6 14:37:42 2022 -0700
318
319    Fix spelling/wording issues
320    
321    Found by using:
322        codespell --builtin clear,rare,usage,informal,code,names
323    
324    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
325
326commit f83ea5e953c6904578a458e2c2bc2e1d5ae3cb47
327Author: Alan Coopersmith <alan.coopersmith@oracle.com>
328Date:   Wed Apr 6 14:14:21 2022 -0700
329
330    Build xz tarballs instead of bzip2
331    
332    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
333
334commit a6aee4c9a41a95a0509f654beca27009671731b3
335Author: Alan Coopersmith <alan.coopersmith@oracle.com>
336Date:   Wed Apr 6 14:10:16 2022 -0700
337
338    gitlab CI: add a basic build test
339    
340    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
341
342commit 3a4f68284c5aeea77789af1fe395cac35efc8562
343Author: Alan Coopersmith <alan.coopersmith@oracle.com>
344Date:   Sun Aug 1 17:36:43 2021 -0700
345
346    libXfont2 2.0.5
347    
348    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
349
350commit daff8876379c64c7bee126319af804896f83b5da
351Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
352Date:   Wed Jul 14 17:23:48 2021 +0100
353
354    Fix out-of-bounds read in FontFileMakeDir()
355    
356    BuiltinReadDirectory() calls FontFileMakeDir ("", builtin_dir_count); and
357    this causes the `dirName[dirlen - 1]` access to read before the start of
358    the string. I found this while porting Xvnc to CHERI-RISC-V (which has
359    bounds and permissions on all pointers).
360
361commit ce7a3265019e4d66198c1581d9e8c859c34e8ef1
362Author: Bernd Kuhls <bernd.kuhls@t-online.de>
363Date:   Sat Oct 19 09:32:41 2019 +0200
364
365    configure: define HAVE_LIBBSD when libbsd was found
366
367commit 9529d2351fe52ffaaf9342343865073d5c5b6802
368Author: Peter Harris <pharris@opentext.com>
369Date:   Tue Mar 2 14:39:45 2021 -0500
370
371    Fix use after free when font server connection lost
372    
373    If there are multiple blocks waiting for the same font, only one of them
374    will have ->freeFont set. The rest will be in a state of FS_DEPENDING.
375    
376    If the font server dies before the font finishes opening, the block with
377    ->freeFont set will call ->unload_font, invalidating the pfont pointers
378    in the remaining FS_DEPENDING blocks.
379    
380    Avoid a use after free (and potential crash) by passing conn to
381    fs_cleanup_font instead of dereferencing pfont to find the conn.
382    
383    Signed-off-by: Peter Harris <pharris@opentext.com>
384
385commit e7b2cae1ad9f07c188bcad27767a2f4fa6e0c2a4
386Author: Peter Harris <pharris@opentext.com>
387Date:   Fri Mar 6 10:42:03 2020 -0500
388
389    Fix crash when font server connection lost
390    
391    Always initialize the return value of fs_new_block_rec. Even if the
392    conn->blockState is FS_BROKEN_CONNECTION | FS_RECONNECTING, we must not
393    return with an uninitialized blockrec on the block list. When the
394    blockrec times out, _fs_clean_aborted_blockrec calls fs_cleanup_bfont,
395    which will try to follow pointers in the blockrec (which has not been
396    initialized).
397    
398    Signed-off-by: Peter Harris <pharris@opentext.com>
399
400commit 608640b87dc47233940664632e3ab8f13972be2b
401Author: Jon Turney <jon.turney@dronecode.org.uk>
402Date:   Thu Oct 17 19:11:52 2019 +0100
403
404    Fix Win32 build since c4ed2e06 "Add some unit testing utilities"
405    
406    Provide Win32 replacements for realpath() and err.h
407
408commit 13ebb8f32f767c596b1b8bd16b90703a8135f20b
409Author: Adam Jackson <ajax@redhat.com>
410Date:   Mon Sep 16 10:47:27 2019 -0400
411
412    README: Remove mention of libXfont 1.5
413    
414    xfs was ported to libXfont2 in release 1.2, and bdftopcf 1.1 includes a
415    copy of enough of the old libXfont1 code to not need an external
416    libXfont at all.
417
418commit ed8b8e9fe544ec51ab1b1dfaea6fced35470ad6c
419Author: Alan Coopersmith <alan.coopersmith@oracle.com>
420Date:   Sat Sep 14 11:34:03 2019 -0700
421
422    libXfont2 2.0.4
423    
424    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
425
426commit b46cd2fef2bfe192579930f29a830051670d4d00
427Author: Alan Coopersmith <alan.coopersmith@oracle.com>
428Date:   Sat Sep 14 11:32:02 2019 -0700
429
430    Add src/util/replace.h to noinst_HEADERS so it gets included in tarballs
431    
432    Found when "make distcheck" failed.
433    
434    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
435
436commit 5561a9dc835a249e58cfdb3c384547f6f401a15d
437Author: Alan Coopersmith <alan.coopersmith@oracle.com>
438Date:   Sat Aug 17 14:31:24 2019 -0700
439
440    fs_read_glyphs: check if rep is null before dereferencing
441    
442    Resolves coverity warning def16 from the list in
443    https://gitlab.freedesktop.org/xorg/lib/libxfont/issues/6
444    
445    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
446
447commit c84ce6be6a7e2e70c9ab20b60bc7198699690d50
448Author: Alan Coopersmith <alan.coopersmith@oracle.com>
449Date:   Sat Aug 17 14:19:04 2019 -0700
450
451    CatalogueRescan: if opendir() fails, unref fpes, but don't free the cat
452    
453    None of the callers of CatalogueRescan check for failure before accessing
454    the cat pointer so don't free it (especially without clearing the pointer
455    to it in fpe->private), just unref the contents.
456    
457    Can only be triggered if somehow stat() succeeds on the directory, but
458    opendir fails anyway (removed between the calls?  permission problem?).
459    
460    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
461
462commit c1c5c9aa4cacb9138d6a2e5d37619f7960b54536
463Author: Alan Coopersmith <alan.coopersmith@oracle.com>
464Date:   Sat Aug 17 13:56:03 2019 -0700
465
466    ComputeScaledProperties: check for valid pointers before making atoms
467    
468    Resolves coverity warning def23 from the list in
469    https://gitlab.freedesktop.org/xorg/lib/libxfont/issues/6
470    
471    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
472
473commit 78085e6b683b4e5a13b38508597a0c93ac2ed9ea
474Author: Alan Coopersmith <alan.coopersmith@oracle.com>
475Date:   Sat Aug 17 13:41:02 2019 -0700
476
477    stubs/atom.c: check for ResizeHashTable failure
478    
479    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
480
481commit 3e0e36e4a9fee32105aa7c5cb6e089c495b92b10
482Author: Maya Rashish <maya@NetBSD.org>
483Date:   Fri Aug 9 12:53:48 2019 +0300
484
485    Fix whitespace
486
487commit 194cb45ceb510c3e580460919cd7e5dd31a285c8
488Author: Alan Coopersmith <alan.coopersmith@oracle.com>
489Date:   Sun Aug 4 11:14:39 2019 -0700
490
491    fontxlfd.c: tell gcc that switch fallthrough is intentional
492    
493    Quiets:
494    src/util/fontxlfd.c: In function ‘FontParseXLFDName’:
495    src/util/fontxlfd.c:450:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
496      replaceChar = '*';
497      ~~~~~~~~~~~~^~~~~
498    src/util/fontxlfd.c:451:5: note: here
499         case FONT_XLFD_REPLACE_ZERO:
500         ^~~~
501    
502    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
503
504commit ddbee30d3525cdd66b84056affc407601680cc29
505Author: Alan Coopersmith <alan.coopersmith@oracle.com>
506Date:   Sat Aug 3 19:29:05 2019 -0700
507
508    Convert multiplying malloc calls to use mallocarray instead
509    
510    Introduces mallocarray as a macro calling reallocarray with a NULL
511    pointer for the old allocation.
512    
513    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
514
515commit f54470dab5b392380df61a22b4b4bef685b6cee2
516Author: Alan Coopersmith <alan.coopersmith@oracle.com>
517Date:   Sat Aug 3 19:09:19 2019 -0700
518
519    Convert multiplying realloc calls to use reallocarray instead
520    
521    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
522
523commit 27207d35d4b4bbd5d2b2c5f7e13a61ea43d04a4a
524Author: Alan Coopersmith <alan.coopersmith@oracle.com>
525Date:   Sat Aug 3 16:13:21 2019 -0700
526
527    Add reallocarray fallback if not provided by libc nor libbsd
528    
529    Implementation copied from the Xserver
530    
531    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
532
533commit 2178c7445a3464bd69637ad91a2dd0320a60e0df
534Author: Alan Coopersmith <alan.coopersmith@oracle.com>
535Date:   Sat Aug 3 18:19:11 2019 -0700
536
537    Use bounds checking string functions everywhere
538    
539    Replace strcpy, strcat, sprintf with strlcpy, strlcat, snprintf
540    everywhere, even where there were already bounds checks in place,
541    to reduce time spent checking static analysis results.
542    
543    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
544
545commit d4c941ea8b1dc07a14efce656bff58d31a14c985
546Author: Alan Coopersmith <alan.coopersmith@oracle.com>
547Date:   Sat Aug 3 16:05:21 2019 -0700
548
549    Add strlcat & strlcpy fallbacks if not provided by libc nor libbsd
550    
551    Implementations copied from the Xserver
552    
553    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
554
555commit c4ed2e069dc8aa5b8b7ef2fc926ae8584ff2a67b
556Author: Alan Coopersmith <alan.coopersmith@oracle.com>
557Date:   Sat Aug 3 13:45:54 2019 -0700
558
559    Add some unit testing utilities
560    
561    The test/utils directory contains some standalone test programs for testing
562    libXfont funtionality without needing a full X server session.  They could
563    be used to generate automated unit testing in the future, but that work has
564    not yet been done.
565    
566    [v2: updated original work from libXfont 1.5 to 2.0 API & makefiles]
567    
568    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
569
570commit 77ae4048564eff2e96b80cedfac013877e46d506
571Author: Adam Jackson <ajax@redhat.com>
572Date:   Wed Jan 4 12:13:04 2017 -0500
573
574    fontfile: Remove unused 'bc' slot from _FontEntry
575    
576    Whatever this is, we're not using it. On my machine we allocate about
577    1100 of these structs, and this change reduces the struct from 152 to 48
578    bytes, so this saves about 100k of memory.
579    
580    Signed-off-by: Adam Jackson <ajax@redhat.com>
581
582commit 6624b5e705da8333a3bc63d1ddeea6b11e831e24
583Author: Alan Coopersmith <alan.coopersmith@oracle.com>
584Date:   Sat Mar 16 12:40:03 2019 -0700
585
586    Update configure.ac bug URL for gitlab migration
587    
588    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
589
590commit 66a26687b2b86b53c315544483b740deb6f01c1e
591Author: Alan Coopersmith <alan.coopersmith@oracle.com>
592Date:   Mon Nov 19 22:05:10 2018 -0800
593
594    Update README for gitlab migration
595    
596    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
597
598commit 099ed6fa9f293d283163b138830d43bbd47c5df1
599Author: Rin Okuyama <rin@NetBSD.org>
600Date:   Tue Feb 21 06:18:37 2017 +0000
601
602    avoid -Wformat errors from clang when building with -DDEBUG
603    
604    https://bugs.freedesktop.org/show_bug.cgi?id=99882
605    
606    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
607    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
608
609commit cdb2f990348c3bd1407022f7e0e5fcba552d539f
610Author: Matthieu Herrb <matthieu@herrb.eu>
611Date:   Sat Nov 25 12:01:16 2017 +0100
612
613    libXfont2 2.0.3
614    
615    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
616
617commit 7b377456f95d2ec3ead40f4fb74ea620191f88c8
618Author: Michal Srb <msrb@suse.com>
619Date:   Thu Oct 26 09:48:13 2017 +0200
620
621    Open files with O_NOFOLLOW. (CVE-2017-16611)
622    
623    A non-privileged X client can instruct X server running under root to open any
624    file by creating own directory with "fonts.dir", "fonts.alias" or any font file
625    being a symbolic link to any other file in the system. X server will then open
626    it. This can be issue with special files such as /dev/watchdog.
627    
628    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
629
630commit d82dfe25491c599f650b2ad868772c3b8e6ba7bc
631Author: Adam Jackson <ajax@redhat.com>
632Date:   Wed Oct 11 11:33:29 2017 -0400
633
634    libXfont 2.0.2
635    
636    Signed-off-by: Adam Jackson <ajax@redhat.com>
637
638commit 672bb944311392e2415b39c0d63b1e1902905bcd
639Author: Michal Srb <msrb@suse.com>
640Date:   Thu Jul 20 17:05:23 2017 +0200
641
642    pcfGetProperties: Check string boundaries (CVE-2017-13722)
643    
644    Without the checks a malformed PCF file can cause the library to make
645    atom from random heap memory that was behind the `strings` buffer.
646    This may crash the process or leak information.
647    
648    Signed-off-by: Julien Cristau <jcristau@debian.org>
649
650commit d1e670a4a8704b8708e493ab6155589bcd570608
651Author: Michal Srb <msrb@suse.com>
652Date:   Thu Jul 20 13:38:53 2017 +0200
653
654    Check for end of string in PatternMatch (CVE-2017-13720)
655    
656    If a pattern contains '?' character, any character in the string is skipped,
657    even if it is '\0'. The rest of the matching then reads invalid memory.
658    
659    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
660    Signed-off-by: Julien Cristau <jcristau@debian.org>
661
662commit 9112a6846b9d8ff18f7568c58e06d0a450e25814
663Author: Adam Jackson <ajax@redhat.com>
664Date:   Thu Apr 13 12:10:05 2017 -0400
665
666    readme: Update for libXfont 2.0 interface change
667    
668    While xfs can be more or less trivially ported to 2.0, bcftopcf cannot
669    because the font file I/O API is no longer externally visible. This is
670    intentional, because bdftopcf is literally the only consumer of that
671    API, and is itself only used in the build process for the classic core
672    fonts themselves. The plan for bdftopcf is to import a copy of libXfont
673    1.5 and link against that statically instead.
674    
675    Signed-off-by: Adam Jackson <ajax@redhat.com>
676    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
677
678commit f8ff8d5f7442b3cbac57d5fe343aabd8f54a030f
679Author: Emil Velikov <emil.l.velikov@gmail.com>
680Date:   Mon Mar 9 12:00:52 2015 +0000
681
682    autogen.sh: use quoted string variables
683    
684    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
685    fall-outs, when they contain space.
686    
687    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
688    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
689    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
690
691commit 75b9a15b51a062941a549fef0dedaee9daef4867
692Author: Peter Hutterer <peter.hutterer@who-t.net>
693Date:   Tue Jan 24 10:32:07 2017 +1000
694
695    autogen.sh: use exec instead of waiting for configure to finish
696    
697    Syncs the invocation of configure with the one from the server.
698    
699    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
700    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
701
702commit 33a98f2b5343da927f29191348e992f505544873
703Author: Adam Jackson <ajax@redhat.com>
704Date:   Wed Jun 8 14:28:09 2016 -0400
705
706    freetype: Fix a logic error in computing face name
707    
708    gcc6 chirps an indentation warning here, but really this is bad code.
709    Effectively this would ignore en_US or en_UK names for the font, despite
710    that those are the English names the font is most likely to have.
711    
712    Signed-off-by: Adam Jackson <ajax@redhat.com>
713    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
714
715commit 79084468fb844e386a72d938c67be0728959a2bd
716Author: Adam Jackson <ajax@redhat.com>
717Date:   Wed May 18 11:49:52 2016 -0400
718
719    autogen: Set a default subject prefix for patches
720    
721    Signed-off-by: Adam Jackson <ajax@redhat.com>
722
723commit 7557fe152d9948bcb4b805bb7b6b6f8121bd34fb
724Author: Adam Jackson <ajax@redhat.com>
725Date:   Wed May 18 11:52:27 2016 -0400
726
727    configure: Use -fvisibility=hidden if available
728    
729    text       data     bss     dec     hex filename
730     233732    8168    1616  243516   3b73c .libs/libXfont2.so.2.before
731     217113    6816    1616  225545   37109 .libs/libXfont2.so.2.after
732    
733    Signed-off-by: Adam Jackson <ajax@redhat.com>
734    Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
735
736commit 6972ea08ee5b2ef1cfbdc2fcaf14f06bbd391561
737Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
738Date:   Mon May 30 00:46:21 2016 -0700
739
740    fserve: Fix a buffer read overrun in _fs_client_access
741    
742    https://bugs.freedesktop.org/show_bug.cgi?id=83224
743    
744    Found by clang's Address Sanitizer
745    
746            crac.num_auths = set_font_authorizations(&authorizations, &authlen,
747                                                     client);
748            /* Work around bug in xfs versions up through modular release 1.0.8
749               which rejects CreateAC packets with num_auths = 0 & authlen < 4 */
750            if (crac.num_auths == 0) {
751                authorizations = padding;
752                authlen = 4;
753            } else {
754                authlen = (authlen + 3) & ~0x3;
755            }
756            crac.length = (sizeof (fsCreateACReq) + authlen) >> 2;
757            crac.acid = cur->acid;
758            _fs_add_req_log(conn, FS_CreateAC);
759            _fs_write(conn, (char *) &crac, sizeof (fsCreateACReq));
760            _fs_write(conn, authorizations, authlen);
761    
762    In the case in the report, set_font_authorizations setup authorizations as a
763    34 byte buffer (and authlen set to 34 as one would expect). The following
764    block changed authlen to 36 to make it 4byte aligned and the final _fs_write()
765    caused us to read 36 bytes from this 34 byte buffer.
766    
767    This changes the incorrect size increase to instead use _fs_write_pad which
768    takes care of the padding for us.
769    
770    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
771
772commit d967caa988eaabd9e84c82879e2f21bd33b952a7
773Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
774Date:   Sun May 29 23:39:06 2016 -0700
775
776    fstrans: Remove unused foo() function
777    
778    The point of it seems to have been to silence an unused function warning, but
779    there's no point if we're just transitioning that to another unused function
780    warning.
781    
782    src/fc/fstrans.c:32:20: warning: unused function 'foo' [-Wunused-function]
783    static inline void foo(void) { (void) is_numeric("a"); }
784                       ^
785    1 warning generated.
786    
787    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
788    Reviewed-by: Keith Packard <keithp@keithp.com>
789
790commit e6009adbc89ec3e1f924bcb57b333c1c02f5e66d
791Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
792Date:   Sun May 29 23:37:13 2016 -0700
793
794    fserve: Silence a -Wformat warning
795    
796    src/fc/fserve.c:653:32: warning: format specifies type 'int' but the argument has type 'CARD32' (aka 'unsigned long') [-Wformat]
797                   " from font server\n", rep->length);
798                                          ^~~~~~~~~~~
799    1 warning generated.
800    
801    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
802
803commit ac559fad20bbae45332c758abb6a790c3fd341a2
804Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
805Date:   Sun May 29 23:34:35 2016 -0700
806
807    bitmap: Bail out on invalid input to FontFileMakeDir instead of calling calloc for 0 bytes
808    
809    Found by clang static analysis:
810        Call to 'calloc' has an allocation size of 0 bytes
811    
812    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
813
814commit d0fff111992fed9d9bfbf0c19e136bda9ba1db55
815Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
816Date:   Sun May 29 23:29:50 2016 -0700
817
818    FreeType: Correct an allocation size
819    
820    Found by clang static analysis:
821        Result of 'calloc' is converted to a pointer of type 'int', which is
822        incompatible with sizeof operand type 'int *'
823    
824    This is likely benign because the old size was larger on any platform where
825    sizeof(int) <= sizeof(void *), which is everywhere.
826    
827    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
828
829commit eefc0b0b908eb8533e704d7156ce983ad7891cc5
830Author: Keith Packard <keithp@keithp.com>
831Date:   Sat Dec 12 14:54:26 2015 -0800
832
833    Revert "Add compiler warning flags". Leave warning fixes.
834    
835    This reverts commit eb67d10ae82b364a4324e96ce53baaa4e5e75f97, but
836    leaves the warning fixes in place; it looks like either I was
837    confused, or something has changed so that XORG_DEFAULT_OPTIONS now
838    pulls in the appropriate compiler warnings.
839
840commit 14488af0338191356c0177e3d0b5fa473ffbd59c
841Author: Keith Packard <keithp@keithp.com>
842Date:   Fri Dec 11 07:08:29 2015 -0800
843
844    Bump version to 2.0.1
845    
846    This release just fixes some build issues with 2.0.0
847    
848    Signed-off-by: Keith Packard <keithp@keithp.com>
849
850commit 95a40553b8f12cd9479dd4b3c531e2069c53b870
851Author: Keith Packard <keithp@keithp.com>
852Date:   Wed Dec 9 14:53:26 2015 -0800
853
854    Remove fontconf.h
855    
856    This file used to advertise which font formats the library
857    supports. The X server doesn't care, so let's just remove it so that
858    it doesn't conflict with the older version of libXfont
859    
860    Signed-off-by: Keith Packard <keithp@keithp.com>
861
862commit 903cd14547b445d7f40b52462750fc8b28441581
863Author: Matt Turner <mattst88@gmail.com>
864Date:   Wed Sep 2 19:15:27 2015 -0700
865
866    Convert to non-recursive build.
867
868commit 9928d71ec04cd630a8ed9c583d144decb4e98c05
869Author: Keith Packard <keithp@keithp.com>
870Date:   Wed Dec 9 09:07:30 2015 -0800
871
872    Add missing 'attributes.m4' file
873    
874    Matt Turner noted that this file was missing; 'make distcheck' doesn't
875    appear to catch this kind of problem.
876    
877    Signed-off-by: Keith Packard <keithp@keithp.com>
878
879commit 135fb032e940ce226c9feb13e6e903f3ecbc5eb0
880Author: Keith Packard <keithp@keithp.com>
881Date:   Wed Sep 2 00:04:32 2015 -0700
882
883    Eliminate calls back to X server or font server functions by name (v4)
884    
885    This eliminates the weak symbol adventures and makes all of the calls
886    back to the X server or Font server go through a table of functions
887    instead, clarifying the required API.
888    
889    As this is a rather major change to the API for the library, it now
890    installs itself as libXfont2 instead of libXfont, and the package
891    config file is now xfont2.pc.
892    
893    All of the installed headers remain the same as the original library;
894    there's now a new include file, libxfont2.h, which defines the X
895    server and Font server interfaces.
896    
897    This moves util/atom.c to stubs/atom.c and reformats that file, hence
898    the diff being larger than it would otherwise be.
899    
900    v2: Rename to libXfont2 instead of libXfont_2 as suggested by Emil Velikov
901        Fix whitespace in stubs/atom.c, which was moved from util/
902    
903    v3: Remove select masks from API. Expose single 'font_init' function
904        for all library initialization.
905    
906    v4: Change name of distributed tarballs to libXfont2 as well
907    
908    Signed-off-by: Keith Packard <keithp@keithp.com>
909
910commit eb67d10ae82b364a4324e96ce53baaa4e5e75f97
911Author: Keith Packard <keithp@keithp.com>
912Date:   Mon Dec 7 15:46:13 2015 -0800
913
914    Add compiler warning flags and fix warnings
915    
916    Mostly signed vs unsigned comparisons
917    
918    Signed-off-by: Keith Packard <keithp@keithp.com>
919
920commit d6877a7c1c35985f6a75b6cd4e814595e781adc4
921Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
922Date:   Wed Oct 21 21:03:00 2015 -0700
923
924    Use NO_WEAK_SYMBOLS instead of -flat_namespace
925    
926    Lesser of two evil hacks, I suppose...
927    
928    This reverts commit 0386fa77367a305deea3cc27f8a3865cc3c467c0.
929
930commit 2788c6984bc54bfba61b2dbdb5353978199d8a37
931Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
932Date:   Wed Oct 21 21:27:26 2015 -0700
933
934    stubs: Add missing externs for declarations in the NO_WEAK_SYMBOLS && PIC stubs resolution
935    
936    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
937
938commit d66f107d6e714a54515f39d94caf46aef9be7416
939Author: Thomas Klausner <wiz@NetBSD.org>
940Date:   Wed Feb 25 21:45:50 2015 +0100
941
942    Fix is*() usage.
943    
944    The argument must be an unsigned char or -1; in these cases
945    we know it's not -1 so cast it to unsigned char.
946    Fixes
947    warning: array subscript is of type 'char' [-Wchar-subscripts]
948    
949    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
950
951commit 1a73d6828dfa03924f2d68644fb5b99afd9c78e2
952Author: Benjamin Tissoires <benjamin.tissoires@gmail.com>
953Date:   Mon Jul 13 14:43:06 2015 -0400
954
955    bdfReadCharacters: Allow negative DWIDTH values
956    
957    The fix for CVE-2015-1804 prevent DWIDTH to be negative.
958    However, the spec states that "DWIDTH [...] is a vector indicating the
959    position of the next glyph’s origin relative to the origin of this glyph."
960    
961    So negative values are correct.
962    
963    Found by trying to compile XTS.
964    
965    Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
966    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
967    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
968
969commit 159bfa4ec094e7d342c9b59c31bfea7dccbac58a
970Author: Alan Coopersmith <alan.coopersmith@oracle.com>
971Date:   Sat Feb 7 17:24:48 2015 -0800
972
973    doc: add a couple olinks to fsproto & xfs-design docs
974    
975    Don't seem to have ability to link to BDF or Xserver internals docs yet
976    
977    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
978
979commit da4246c98bc51297daeec47c15181e179df94013
980Author: Alan Coopersmith <alan.coopersmith@oracle.com>
981Date:   Tue Mar 17 08:12:19 2015 -0700
982
983    libXfont 1.5.1
984    
985    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
986
987commit 2351c83a77a478b49cba6beb2ad386835e264744
988Author: Alan Coopersmith <alan.coopersmith@oracle.com>
989Date:   Fri Mar 6 22:54:58 2015 -0800
990
991    bdfReadCharacters: ensure metrics fit into xCharInfo struct [CVE-2015-1804]
992    
993    We use 32-bit ints to read from the bdf file, but then try to stick
994    into a 16-bit int in the xCharInfo struct, so make sure they won't
995    overflow that range.
996    
997    Found by afl-1.24b.
998    
999    v2: Verify that additions won't overflow 32-bit int range either.
1000    v3: As Julien correctly observes, the previous check for bh & bw not
1001        being < 0 reduces the number of cases we need to check for overflow.
1002    
1003    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1004    Reviewed-by: Julien Cristau <jcristau@debian.org>
1005
1006commit 78c2e3d70d29698244f70164428bd2868c0ab34c
1007Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1008Date:   Fri Feb 6 15:54:00 2015 -0800
1009
1010    bdfReadCharacters: bailout if a char's bitmap cannot be read [CVE-2015-1803]
1011    
1012    Previously would charge on ahead with a NULL pointer in ci->bits, and
1013    then crash later in FontCharInkMetrics() trying to access the bits.
1014    
1015    Found with afl-1.23b.
1016    
1017    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1018    Reviewed-by: Julien Cristau <jcristau@debian.org>
1019
1020commit 2deda9906480f9c8ae07b8c2a5510cc7e4c59a8e
1021Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1022Date:   Fri Feb 6 15:50:45 2015 -0800
1023
1024    bdfReadProperties: property count needs range check [CVE-2015-1802]
1025    
1026    Avoid integer overflow or underflow when allocating memory arrays
1027    by multiplying the number of properties reported for a BDF font.
1028    
1029    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1030    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1031    Reviewed-by: Julien Cristau <jcristau@debian.org>
1032
1033commit d9fda3d247942292a5f24694c22337c547006e11
1034Author: Christos Zoulas <christos@NetBSD.org>
1035Date:   Wed Feb 25 21:39:30 2015 +0100
1036
1037    Set close-on-exec for font file I/O.
1038    
1039    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1040    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
1041
1042commit 3b33588117c2ca3099b999939985ffe098d479b3
1043Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1044Date:   Wed Nov 5 17:41:24 2014 -0800
1045
1046    Use 'imdent' to realign cpp indentation levels in fslibos.h
1047    
1048    Parts were indented, others weren't, now is more consistent.
1049    'git diff -w' shows no non-whitespace changes in this commit
1050    
1051    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1052
1053commit 03c035b061a0582159467dcadfc8e95074e2a84f
1054Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1055Date:   Wed Nov 5 17:39:05 2014 -0800
1056
1057    Remove unneeded checks for #ifndef X_NOT_POSIX
1058    
1059    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1060
1061commit ad4f4d8a2d0730c0ea3c09210bf921638b4682bc
1062Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1063Date:   Sat Jul 19 09:49:23 2014 -0700
1064
1065    libXfont 1.5.0
1066    
1067    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1068
1069commit b19cf2a78f7f721c43d0d9e2f32b71fc746142a3
1070Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1071Date:   Mon Jul 7 13:18:18 2014 -0700
1072
1073    libXfont 1.4.99.901
1074    
1075    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1076
1077commit 0dcdd82059c69ec417bb094f4da2afef7cc1426a
1078Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1079Date:   Sun Apr 6 14:18:32 2014 -0500
1080
1081    Make shared library work on Cygwin/MinGW
1082    
1083    Weak symbols on PE platforms do not work the same way as on ELF
1084    platforms, hence we have been unable to have a fully functional shared
1085    libXfont until now.  This patch works around these issues so that we
1086    can fix that.
1087    
1088    In summary, only when compiling shared libraries on NO_WEAK_SYMBOLS
1089    platforms, when the first stub is called, the invoking program is first
1090    checked to determine if it exports the stubbed functions.  Then, for
1091    every stub call, if the function is exported by the loader, it is called
1092    instead of the stub code.
1093    
1094    serverClient and serverGeneration are data pointers, and therefore are
1095    replaced by getter functions. ErrorF is variadic, so the override is
1096    routed through VErrorF instead. FatalError has no va_list equivalent,
1097    but it is not actually used in libXfont and therefore should be safe to
1098    remove.
1099    
1100    This requires all X servers to export their symbols, which requires
1101    forthcoming patches for hw/xwin and xfs; the other xservers (including
1102    tigervnc) already do this via LD_EXPORT_SYMBOLS_FLAG.
1103    
1104    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1105    Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
1106    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1107    Tested-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1108
1109commit 783a406d6258509abfbdc54c0b32366dcaf13044
1110Author: Keith Packard <keithp@keithp.com>
1111Date:   Mon Apr 21 13:37:00 2014 -0700
1112
1113    Use default glyphs when getting 16-bit font with 8-bit text
1114    
1115    When accessing a 16-bit font with firstRow > 0 with 8-bit text, check
1116    to see if the font has a default character and return that for every
1117    incoming character.
1118    
1119    Signed-off-by: Keith Packard <keithp@keithp.com>
1120    Reviewed-by: Eric Anholt <eric@anholt.net>
1121    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1122
1123commit e8d20171fe04dbdc5f97739d5a59e02f0b091ba0
1124Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1125Date:   Thu May 15 23:04:23 2014 -0700
1126
1127    Don't build unused code in bitmapfunc.c if all bitmap formats are disabled
1128    
1129    If the only bitmaps we support are builtins, don't need the code to
1130    register all the bitmap font file handlers.
1131    
1132    Fixes gcc warnings:
1133    bitmapfunc.c:110:1: warning: 'BitmapOpenBitmap' defined but not used [-Wunused-function]
1134     BitmapOpenBitmap (FontPathElementPtr fpe, FontPtr *ppFont, int flags,
1135     ^
1136    bitmapfunc.c:155:1: warning: 'BitmapGetInfoBitmap' defined but not used [-Wunused-function]
1137     BitmapGetInfoBitmap (FontPathElementPtr fpe, FontInfoPtr pFontInfo,
1138     ^
1139    
1140    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1141    Reviewed-by: Rémi Cardona <remi@gentoo.org>
1142
1143commit c2b7758d268fd98e09c3e66a0e7717b47ff12a47
1144Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1145Date:   Thu May 15 22:44:38 2014 -0700
1146
1147    Don't compile bitmap source files for disabled formats
1148    
1149    pcfread.c is a special case - it's needed for either reading pcf files
1150    from disk (--enable-pcfformat) or from the builtin fonts in memory
1151    (--enable-builtins), so needed a new AM_CONDITIONAL case.
1152    
1153    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1154    Reviewed-by: Rémi Cardona <remi@gentoo.org>
1155
1156commit a81f1a9bd3cd0a9d45d93d5b9e392b4e08ac60f7
1157Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1158Date:   Thu May 15 20:43:34 2014 -0700
1159
1160    Drop imake/monolithic compatibility #define mapping
1161    
1162    Require the #defines from configure.ac now that we're not sharing source
1163    with the imake builds any longer.
1164    
1165    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1166    Reviewed-by: Rémi Cardona <remi@gentoo.org>
1167
1168commit 37595cfd4feaf031552d66f96dc6d58686f9c851
1169Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1170Date:   Thu May 15 20:26:41 2014 -0700
1171
1172    Change default to disabling SNF support
1173    
1174    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1175    Reviewed-by: Rémi Cardona <remi@gentoo.org>
1176
1177commit 9f677e55c7bf07df280427f127af21e5b70f1e03
1178Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1179Date:   Thu May 15 20:21:29 2014 -0700
1180
1181    Use AS_HELP_STRING to provide help for AC_ARG_ENABLE & AC_ARG_WITH options
1182    
1183    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1184    Reviewed-by: Rémi Cardona <remi@gentoo.org>
1185
1186commit d338f81df1e188eb16e1d6aeea7f4800f89c1218
1187Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1188Date:   Fri May 2 19:24:17 2014 -0700
1189
1190    CVE-2014-0210: unvalidated length fields in fs_read_list_info()
1191    
1192    fs_read_list_info() parses a reply from the font server.  The reply
1193    contains a number of additional data items with embedded length or
1194    count fields, none of which are validated. This can cause out of
1195    bound reads when looping over these items in the reply.
1196    
1197    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1198
1199commit 5fa73ac18474be3032ee7af9c6e29deab163ea39
1200Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1201Date:   Fri May 2 19:24:17 2014 -0700
1202
1203    CVE-2014-0210: unvalidated length fields in fs_read_list()
1204    
1205    fs_read_list() parses a reply from the font server.  The reply
1206    contains a list of strings with embedded length fields, none of
1207    which are validated. This can cause out of bound reads when looping
1208    over the strings in the reply.
1209    
1210    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1211
1212commit 520683652564c2a4e42328ae23eef9bb63271565
1213Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1214Date:   Fri Apr 25 23:03:24 2014 -0700
1215
1216    CVE-2014-0210: unvalidated length fields in fs_read_glyphs()
1217    
1218    fs_read_glyphs() parses a reply from the font server.  The reply
1219    contains embedded length fields, none of which are validated.
1220    This can cause out of bound reads when looping over the glyph
1221    bitmaps in the reply.
1222    
1223    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1224    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1225    Reviewed-by: Adam Jackson <ajax@redhat.com>
1226    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1227
1228commit a3f21421537620fc4e1f844a594a4bcd9f7e2bd8
1229Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1230Date:   Fri Apr 25 23:03:05 2014 -0700
1231
1232    CVE-2014-0210: unvalidated length fields in fs_read_extent_info()
1233    
1234    Looping over the extents in the reply could go past the end of the
1235    reply buffer if the reply indicated more extents than could fit in
1236    the specified reply length.
1237    
1238    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1239    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1240    Reviewed-by: Adam Jackson <ajax@redhat.com>
1241    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1242
1243commit a42f707f8a62973f5e8bbcd08afb10a79e9cee33
1244Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1245Date:   Fri Apr 25 23:02:54 2014 -0700
1246
1247    CVE-2014-0211: integer overflow in fs_alloc_glyphs()
1248    
1249    fs_alloc_glyphs() is a malloc wrapper used by the font code.
1250    It contains a classic integer overflow in the malloc() call,
1251    which can cause memory corruption.
1252    
1253    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1254    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1255    Reviewed-by: Adam Jackson <ajax@redhat.com>
1256    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1257
1258commit c578408c1fd4db09e4e3173f8a9e65c81cc187c1
1259Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1260Date:   Fri Apr 25 23:02:42 2014 -0700
1261
1262    CVE-2014-0211: integer overflow in fs_read_extent_info()
1263    
1264    fs_read_extent_info() parses a reply from the font server.
1265    The reply contains a 32bit number of elements field which is used
1266    to calculate a buffer length. There is an integer overflow in this
1267    calculation which can lead to memory corruption.
1268    
1269    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1270    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1271    Reviewed-by: Adam Jackson <ajax@redhat.com>
1272    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1273
1274commit 491291cabf78efdeec8f18b09e14726a9030cc8f
1275Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1276Date:   Fri Apr 25 23:02:34 2014 -0700
1277
1278    CVE-2014-0210: unvalidated length fields in fs_read_query_info()
1279    
1280    fs_read_query_info() parses a reply from the font server.  The reply
1281    contains embedded length fields, none of which are validated.  This
1282    can cause out of bound reads in either fs_read_query_info() or in
1283    _fs_convert_props() which it calls to parse the fsPropInfo in the reply.
1284    
1285    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1286    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1287    Reviewed-by: Adam Jackson <ajax@redhat.com>
1288    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1289
1290commit 0f1a5d372c143f91a602bdf10c917d7eabaee09b
1291Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1292Date:   Fri Apr 25 23:02:25 2014 -0700
1293
1294    CVE-2014-0211: Integer overflow in fs_get_reply/_fs_start_read
1295    
1296    fs_get_reply() would take any reply size, multiply it by 4 and pass to
1297    _fs_start_read.  If that size was bigger than the current reply buffer
1298    size, _fs_start_read would add it to the existing buffer size plus the
1299    buffer size increment constant and realloc the buffer to that result.
1300    
1301    This math could overflow, causing the code to allocate a smaller
1302    buffer than the amount it was about to read into that buffer from
1303    the network.  It could also succeed, allowing the remote font server
1304    to cause massive allocations in the X server, possibly using up all
1305    the address space in a 32-bit X server, allowing the triggering of
1306    other bugs in code that fails to handle malloc failure properly.
1307    
1308    This patch protects against both problems, by disconnecting any
1309    font server trying to feed us more than (the somewhat arbitrary)
1310    64 mb in a single reply.
1311    
1312    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1313    Reviewed-by: Adam Jackson <ajax@redhat.com>
1314    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1315
1316commit cbb64aef35960b2882be721f4b8fbaa0fb649d12
1317Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1318Date:   Fri Apr 25 23:02:12 2014 -0700
1319
1320    CVE-2014-0210: unvalidated lengths when reading replies from font server
1321    
1322    Functions to handle replies to font server requests were casting replies
1323    from the generic form to reply specific structs without first checking
1324    that the reply was at least as long as the struct being cast to.
1325    
1326    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1327    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1328    Reviewed-by: Adam Jackson <ajax@redhat.com>
1329    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1330
1331commit 891e084b26837162b12f841060086a105edde86d
1332Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1333Date:   Fri Apr 25 23:02:00 2014 -0700
1334
1335    CVE-2014-0210: unvalidated length in _fs_recv_conn_setup()
1336    
1337    The connection setup reply from the font server can include a list
1338    of alternate servers to contact if this font server stops working.
1339    
1340    The reply specifies a total size of all the font server names, and
1341    then provides a list of names. _fs_recv_conn_setup() allocated the
1342    specified total size for copying the names to, but didn't check to
1343    make sure it wasn't copying more data to that buffer than the size
1344    it had allocated.
1345    
1346    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1347    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1348    Reviewed-by: Adam Jackson <ajax@redhat.com>
1349    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1350
1351commit 05c8020a49416dd8b7510cbba45ce4f3fc81a7dc
1352Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1353Date:   Fri Apr 25 23:01:48 2014 -0700
1354
1355    CVE-2014-0209: integer overflow of realloc() size in lexAlias()
1356    
1357    lexAlias() reads from a file in a loop. It does this by starting with a
1358    64 byte buffer.  If that size limit is hit, it does a realloc of the
1359    buffer size << 1, basically doubling the needed length every time the
1360    length limit is hit.
1361    
1362    Eventually, this will shift out to 0 (for a length of ~4gig), and that
1363    length will be passed on to realloc().  A length of 0 (with a valid
1364    pointer) causes realloc to free the buffer on most POSIX platforms,
1365    but the caller will still have a pointer to it, leading to use after
1366    free issues.
1367    
1368    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1369    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1370    Reviewed-by: Adam Jackson <ajax@redhat.com>
1371    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1372
1373commit 2f5e57317339c526e6eaee1010b0e2ab8089c42e
1374Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1375Date:   Fri Apr 25 23:01:11 2014 -0700
1376
1377    CVE-2014-0209: integer overflow of realloc() size in FontFileAddEntry()
1378    
1379    FontFileReadDirectory() opens a fonts.dir file, and reads over every
1380    line in an fscanf loop.  For each successful entry read (font name,
1381    file name) a call is made to FontFileAddFontFile().
1382    
1383    FontFileAddFontFile() will add a font file entry (for the font name
1384    and file) each time it’s called, by calling FontFileAddEntry().
1385    FontFileAddEntry() will do the actual adding.  If the table it has
1386    to add to is full, it will do a realloc, adding 100 more entries
1387    to the table size without checking to see if that will overflow the
1388    int used to store the size.
1389    
1390    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
1391    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1392    Reviewed-by: Adam Jackson <ajax@redhat.com>
1393    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1394
1395commit 2a5111af9e03a55bd099c6c3a5b9a7fd3dfce76f
1396Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1397Date:   Thu Apr 24 22:11:08 2014 -0700
1398
1399    fs_send_open_font needs to allow namelen of 0 when FontReopen is set
1400    
1401    When _fs_load_glyphs calls fs_send_open_font with FontReopen set, it
1402    passes a NULL name and namelen of 0, since fs_send_open_font is going
1403    to reuse the previous name.
1404    
1405    This overly restrictive check was added in XFree86 4.3.99.12:
1406    http://cvsweb.xfree86.org/cvsweb/xc/lib/font/fc/fserve.c.diff?r1=3.23&r2=3.24
1407    http://cvsweb.xfree86.org/cvsweb/xc/lib/font/fc/fserve.c?rev=3.24&content-type=text/vnd.viewcvs-markup
1408    
1409    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1410
1411commit 77902e1422315963364fcba3736ff9b5b0f32d47
1412Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1413Date:   Tue Apr 22 23:49:29 2014 -0700
1414
1415    Clean up warnings when src/fc is built with -DDEBUG
1416    
1417    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1418
1419commit f75f7bde4cedc36d5ca1289988b3daebb80528d2
1420Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1421Date:   Tue Apr 22 23:45:41 2014 -0700
1422
1423    Allow enabling src/fc DEBUG helpers via CPPFLAGS
1424    
1425    Instead of editing fsio.h to turn on debugging logs, just add
1426    -DDEBUG to CPPFLAGS when building.
1427    
1428    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1429
1430commit 21f5d3ec9d833b8bce08d0749b8001e1e88544ac
1431Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1432Date:   Mon Apr 21 22:05:20 2014 -0700
1433
1434    Bump version to 1.4.99.0 for master branch (to become 1.5)
1435    
1436    libXfont 1.5.0 will be synchronized with the fontsproto 2.1.3 API
1437    changes needed for xorg-server 1.16 branch.
1438    
1439    libXfont 1.4.x will be left for stable release branch for older
1440    Xserver releases.
1441    
1442    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1443
1444commit 5a398a55ccdd92d0ff05793692ef8e57f3a50198
1445Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1446Date:   Sun Apr 20 18:10:07 2014 -0700
1447
1448    Require fontsproto 2.1.3 for matching function prototypes
1449    
1450    Building current libXfont git against fontsproto 2.1.2 causes clang
1451    complaints of:
1452    
1453    patcache.c:130:1: error: conflicting types for 'CacheFontPattern'
1454    CacheFontPattern (FontPatternCachePtr cache,
1455    ^
1456    patcache.c:176:1: error: conflicting types for 'FindCachedFontPattern'
1457    FindCachedFontPattern (FontPatternCachePtr cache,
1458    ^
1459    
1460    due to the constification of arguments not matching.
1461    
1462    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1463    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
1464
1465commit c77a0784bdfc8c178f0742689cf6ae02a2fce37f
1466Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1467Date:   Sun Apr 20 17:59:14 2014 -0700
1468
1469    Check if pointer returned by BufFileCreate is NULL before writing to it
1470    
1471    Fixes clang analyzer warning:
1472    
1473    bufio.c:165:13: warning: Access to field 'bufp' results in a dereference
1474     of a null pointer (loaded from variable 'f')
1475        f->bufp = f->buffer;
1476        ~       ^
1477    
1478    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1479    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
1480
1481commit c8855746aec2a9b732502da0ca3258b4e701c61a
1482Author: Peter Harris <pharris@opentext.com>
1483Date:   Mon Apr 7 14:25:02 2014 -0400
1484
1485    Fix buffer read overrun
1486    
1487    "FreeType" is only eight bytes long. The atom "FreeType\x00\x??" is
1488    probably not what the author intended.
1489    
1490    Signed-off-by: Peter Harris <pharris@opentext.com>
1491    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1492
1493commit a96cc1f032a059da89319ceccb6659c8edd446fb
1494Author: Keith Packard <keithp@keithp.com>
1495Date:   Fri Nov 15 21:46:15 2013 +0900
1496
1497    Warning fixes.
1498    
1499    Many const char issues.
1500    
1501    One extra 'i' declared in ScaleFont; we can just use the same 'i' as
1502    exists at the top level scope.
1503    
1504    Also ignore bad-function-cast in ftfuncs.c and bitscale.c because
1505    we're casting the return value from floor or ceil from double to
1506    int. As floor and ceil are kinda designed to generate integer results,
1507    it's pretty clear that we're doing what we want and that the compiler
1508    is generating noise. I'm not sure why bad-function-cast is ever a good
1509    warning to turn on, but I'll leave that for another day.
1510    
1511    Signed-off-by: Keith Packard <keithp@keithp.com>
1512    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
1513
1514commit 2a3429413df27224ceeddd22500ce43b5431d698
1515Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1516Date:   Fri Jan 17 22:25:56 2014 -0800
1517
1518    Add note to README declaring snf fonts to be deprecated
1519    
1520    pcf was introduced to replace snf in X11R5 in 1991:
1521        http://www.x.org/wiki/X11R5/#index56h3
1522    22 years is long enough to move off a font format that was alive for
1523    less than a decade before that, and widely considered a bad idea even
1524    then:
1525        http://www.faqs.org/faqs/fonts-faq/part15/
1526    
1527    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1528    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1529    Reviewed-by: Eric Anholt <eric@anholt.net>
1530    Reviewed-by: Julien Cristau <jcristau@debian.org>
1531
1532commit efcb136a03f642fba7e289e25d5dcf609bd13f07
1533Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1534Date:   Fri Jan 17 22:25:01 2014 -0800
1535
1536    Add notes to README about various font formats & configure options
1537    
1538    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1539    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1540    Reviewed-by: Eric Anholt <eric@anholt.net>
1541    Reviewed-by: Julien Cristau <jcristau@debian.org>
1542
1543commit 5d696738c2ab901bdef004169799bb63939fa7b5
1544Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1545Date:   Fri Jan 17 22:00:25 2014 -0800
1546
1547    Correct comment in configure.ac about scalable font support
1548    
1549    Bitstream Speedo support was removed in commit d50de26430c1a114a.
1550    All scalable font support now goes through FreeType, which can
1551    also handle some bitmap font formats as well.
1552    
1553    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1554    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1555    Reviewed-by: Eric Anholt <eric@anholt.net>
1556    Reviewed-by: Julien Cristau <jcristau@debian.org>
1557
1558commit 6371fcf2b60e48605ed59f098d1e642e35b1d142
1559Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1560Date:   Tue Jan 7 23:09:08 2014 -0800
1561
1562    Remove redundant setting of 'len' in SPropRecValList_add_by_font_cap
1563    
1564    Found by cppcheck 1.63:
1565    [FreeType/xttcap.c:621] -> [FreeType/xttcap.c:624]: (performance)
1566     Variable 'len' is reassigned a value before the old one has been used.
1567    
1568    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1569    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
1570
1571commit 63c7ac4dbb739e51d55249e71282699e5e0d7e1d
1572Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1573Date:   Tue Jan 7 22:58:22 2014 -0800
1574
1575    Initialize (unused) data field in fsListCataloguesReq before sending it.
1576    
1577    Quiets cppcheck 1.63 warning:
1578    [fc/fserve.c:2972]: (error) Uninitialized variable: lcreq
1579    
1580    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1581    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
1582
1583commit d279ffa49284b5e5f787f76edbe8c52226534a64
1584Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1585Date:   Tue Jan 7 22:29:04 2014 -0800
1586
1587    Remove redundant declaration of FontFileStartListFonts()
1588    
1589    Fixes gcc warning:
1590    catalogue.c:336:1: warning: redundant redeclaration of
1591     'FontFileStartListFonts' [-Wredundant-decls]
1592    In file included from ../../include/X11/fonts/fntfilst.h:40:0,
1593                     from catalogue.c:32:
1594    ../../include/X11/fonts/fntfil.h:92:12: note: previous declaration
1595     of 'FontFileStartListFonts' was here
1596    
1597    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1598    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
1599
1600commit 2fb6295ace36394732815aca5aef1a85e63de56c
1601Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1602Date:   Tue Jan 7 22:15:50 2014 -0800
1603
1604    Fix unused variable 'dir' warnings
1605    
1606    catalogue.c: In function 'CatalogueOpenFont':
1607    catalogue.c:290:22: warning: variable 'dir' set but not used [-Wunused-but-set-variable]
1608    catalogue.c: In function 'CatalogueListFonts':
1609    catalogue.c:324:22: warning: variable 'dir' set but not used [-Wunused-but-set-variable]
1610    fpe.c: In function 'BuiltinResetFPE':
1611    fpe.c:57:22: warning: variable 'dir' set but not used [-Wunused-but-set-variable]
1612    
1613    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1614    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
1615
1616commit 30110063857ff9a5f93f6d8d13f535c9b6e59e2a
1617Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1618Date:   Tue Jan 7 08:22:31 2014 -0800
1619
1620    libXfont 1.4.7
1621    
1622    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1623
1624commit 2a84680376bafd74609c6ef3e38befcb8467d814
1625Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1626Date:   Mon Dec 23 19:01:11 2013 -0800
1627
1628    Limit additional sscanf strings to fit buffer sizes
1629    
1630    None of these could currently result in buffer overflow, as the input
1631    and output buffers were the same size, but adding limits helps ensure
1632    we keep it that way, if we ever resize any of these in the future.
1633    
1634    Fixes cppcheck warnings:
1635     [lib/libXfont/src/bitmap/bdfread.c:547]: (warning)
1636      scanf without field width limits can crash with huge input data.
1637     [lib/libXfont/src/bitmap/bdfread.c:553]: (warning)
1638      scanf without field width limits can crash with huge input data.
1639     [lib/libXfont/src/bitmap/bdfread.c:636]: (warning)
1640      scanf without field width limits can crash with huge input data.
1641    
1642    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1643    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1644    Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1645
1646commit 4d024ac10f964f6bd372ae0dd14f02772a6e5f63
1647Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1648Date:   Mon Dec 23 18:34:02 2013 -0800
1649
1650    CVE-2013-6462: unlimited sscanf overflows stack buffer in bdfReadCharacters()
1651    
1652    Fixes cppcheck warning:
1653     [lib/libXfont/src/bitmap/bdfread.c:341]: (warning)
1654      scanf without field width limits can crash with huge input data.
1655    
1656    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1657    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
1658    Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
1659
1660commit fdcf9a9be6a5d453659beadec5d1a1fdbab9afaf
1661Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1662Date:   Fri Dec 27 11:01:35 2013 -0800
1663
1664    Add AC_USE_SYSTEM_EXTENSIONS to expose non-standard extensions
1665    
1666    Required on Solaris to expose definitions in system headers that
1667    are not defined in the XPG standards now that xtrans 1.3 defines
1668    _XOPEN_SOURCE to 600 on Solaris.
1669    
1670    Fixes build failures:
1671    fserve.c: In function 'fs_block_handler':
1672    fserve.c:1210:5: error: 'fd_mask' undeclared (first use in this function)
1673    fserve.c:1210:5: note: each undeclared identifier is reported only once for each function it appears in
1674    In file included from transport.c:67:0,
1675                     from fstrans.c:28:
1676    Xtranssock.c: In function '_FontTransSocketINETConnect':
1677    Xtranssock.c:1421:19: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function)
1678    Xtranssock.c:1421:19: note: each undeclared identifier is reported only once for each function it appears in
1679    
1680    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1681    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
1682
1683commit 0d24378a6f08f5ab594ff552d60cf5f8f74bcb33
1684Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1685Date:   Sat Dec 7 20:11:29 2013 -0800
1686
1687    Don't leak old allocation if realloc fails to enlarge it
1688    
1689    In ftfuncs.c, since the buffer being reallocated is a function local
1690    buffer, used to accumulate data for a single run of the function and
1691    then freed at the end of the function, we just free the old buffer if
1692    realloc fails.
1693    
1694    In atom.c however, the ReverseMap is a static buffer, so we operate in
1695    temporary variables until we know we're successful, then update the
1696    static variables.  If we fail, we leave the old static variables in place,
1697    since they contain data about previous atoms we should maintain, not lose.
1698    
1699    Reported by cppcheck:
1700    [lib/libXfont/src/FreeType/ftfuncs.c:2122]: (error) Common realloc mistake:
1701     'ranges' nulled but not freed upon failure
1702    [lib/libXfont/src/util/atom.c:126]: (error) Common realloc mistake:
1703     'reverseMap' nulled but not freed upon failure
1704    
1705    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1706    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1707
1708commit 5e27c364b174497d427dcecd122d711ef6b9f630
1709Author: Julien Cristau <jcristau@debian.org>
1710Date:   Mon Aug 12 18:40:27 2013 +0200
1711
1712    Make serverGeneration unsigned
1713    
1714    Makes the definition match other declarations, and xserver's definition.
1715    
1716    Debian bug#689439
1717    
1718    Reported-by: Michael Tautschnig <mt@debian.org>
1719    Signed-off-by: Julien Cristau <jcristau@debian.org>
1720    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1721    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1722
1723commit 7d34534c050cb4366c7b14bff585c17d6d578f89
1724Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1725Date:   Sat Oct 26 00:06:22 2013 -0700
1726
1727    Replace malloc(strlen)+strcpy/strcat calls with strdup
1728    
1729    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1730
1731commit 8a9fc31628a98e3cdaae6078bb5d92bce06c37ac
1732Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1733Date:   Fri Oct 25 23:56:55 2013 -0700
1734
1735    xstrdup -> strdup
1736    
1737    Missed in xalloc -> malloc etal conversion in 0cdc9b8f850342
1738    
1739    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1740    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
1741
1742commit 8b289e10c5013cdcbf817c06bd929e3ea8339987
1743Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1744Date:   Sun Jul 21 16:53:47 2013 -0700
1745
1746    libXfont 1.4.6
1747    
1748    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1749
1750commit 7447029974415641a7a8a85918edcc20cfd9d461
1751Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1752Date:   Mon Jun 24 22:40:39 2013 -0700
1753
1754    Require ANSI C89 pre-processor, drop pre-C89 token pasting support
1755    
1756    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1757
1758commit c21d25de05d82a761a3225b685e9adcb7bb374bd
1759Author: Thomas Klausner <wiz@NetBSD.org>
1760Date:   Sun Jun 2 21:03:27 2013 +0200
1761
1762    Protect config.h inclusion with ifdef HAVE_CONFIG_H, like usual.
1763    
1764    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1765    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1766
1767commit b8dd42dce868f9c16a59790ce51f0542b59cb79d
1768Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1769Date:   Tue Jan 15 18:30:32 2013 -0800
1770
1771    Replace deprecated Automake INCLUDES variable with AM_CPPFLAGS
1772    
1773    Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html
1774    
1775      - Support for the long-deprecated INCLUDES variable will be removed
1776        altogether in Automake 1.14.  The AM_CPPFLAGS variable should be
1777        used instead.
1778    
1779    This variable was deprecated in Automake releases prior to 1.10, which is
1780    the current minimum level required to build X.
1781    
1782    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1783    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
1784
1785commit 8d946d2606b3a349b2a54d602e027a09ae330e88
1786Author: Colin Walters <walters@verbum.org>
1787Date:   Wed Jan 4 17:37:06 2012 -0500
1788
1789    autogen.sh: Implement GNOME Build API
1790    
1791    http://people.gnome.org/~walters/docs/build-api.txt
1792    
1793    Signed-off-by: Adam Jackson <ajax@redhat.com>
1794
1795commit 9d8936879b2fe1ca6460354ef68cd5e824d6748c
1796Author: Adam Jackson <ajax@redhat.com>
1797Date:   Tue Jan 15 14:28:48 2013 -0500
1798
1799    configure: Remove AM_MAINTAINER_MODE
1800    
1801    Signed-off-by: Adam Jackson <ajax@redhat.com>
1802
1803commit a756da1844f63a2f2162eb8e53a883f496e4faad
1804Author: Adam Jackson <ajax@redhat.com>
1805Date:   Fri Dec 7 10:30:38 2012 -0500
1806
1807    catalogue: Fix obvious thinko
1808    
1809    Signed-off-by: Adam Jackson <ajax@redhat.com>
1810
1811commit 5680e4c3d76cd5c64175d88d0685ee6962aa1e46
1812Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1813Date:   Mon Oct 29 09:59:30 2012 -0500
1814
1815    Omit catalogue support on systems without symlinks
1816    
1817    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1818    Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
1819    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
1820
1821commit 3c534f72d6d4327926474a5f8fa53cbcf19de3cf
1822Author: Arvind Umrao <arvind.umrao@oracle.com>
1823Date:   Thu Aug 23 16:15:04 2012 +0530
1824
1825    If socket is interrupted with signal EINTR, re-attempt read.
1826    
1827    If socket is getting interrupted with signal EINTR, we should keep
1828    socket in progress state. I have borrowed following code from socket
1829    write _fs_flush():line274 . I have done exactly same at _fs_fill().
1830    Socket write will not close the connection and re attempt to read buffer.
1831    
1832    Signed-off-by: Arvind Umrao <arvind.umrao@oracle.com>
1833    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1834    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1835
1836commit 4b67ad5486c322c01a2ca86b0b4af0a74228f813
1837Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1838Date:   Fri Mar 2 10:05:21 2012 -0800
1839
1840    libXfont 1.4.5
1841    
1842    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1843
1844commit 3f87a8b0b86de83ea8944a53de82caf254a9988a
1845Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1846Date:   Fri Oct 21 20:49:50 2011 -0700
1847
1848    Use * precision notation instead of computing sprintf format strings
1849    
1850    Allows gcc to check format strings instead of just warning about them
1851    
1852    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1853    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1854
1855commit 613faa245437bb948b4c86ea6c7fbb716e38f0bf
1856Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1857Date:   Sun Oct 2 09:30:09 2011 -0700
1858
1859    Fix printf warnings about incorrect argument types
1860    
1861    Mostly due to difference between sizeof & int on 64-bit platforms
1862    
1863    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1864    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1865
1866commit f24c559bcb42e3ea9321c3e6a9ecf0720a581e33
1867Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1868Date:   Sun Oct 2 09:19:47 2011 -0700
1869
1870    Add _X_ATTRIBUTE_PRINTF to *Error/*Warning functions taking printf formats
1871    
1872    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1873    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1874
1875commit 3715cd752bac912a56aa1cbb9dd874624a709aab
1876Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1877Date:   Sun Oct 2 09:16:05 2011 -0700
1878
1879    Add const attributes to fix gcc -Wwrite-strings warnings
1880    
1881    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1882    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1883
1884commit 8d130ac0fcf19e0e0dd0a404d9317fd8860baad4
1885Author: Tomas Hoger <thoger@redhat.com>
1886Date:   Mon Oct 10 14:38:06 2011 -0700
1887
1888    Support compress files with maxbits < 12
1889    
1890    The compress decompression code used by libXfont rejects valid archives
1891    with maxbits less than 12 (compress allows values 9 - 16, 16 is the
1892    default).  This is because maxbits-12 is used as index to hsize_table[].
1893    
1894    That looks like an incorrect port of the original compress code, where:
1895    - hsize depended on BITS, the maximum maxbits value supported by particular
1896      build, rather than on maxbits value from the particular input file
1897    - the same hsize was used for all BITS <= 12
1898    
1899    The quick way to verify the problem is:
1900      compress -b 11 fontfile.bdf
1901      bdftopcf -o /dev/null fontfile.bdf.Z
1902    which fails, while 12-16 works correctly.
1903    
1904    This fix removes hsize_table and uses 1 << maxbits (aka maxmaxcode) as
1905    tab_prefix size.  As decompression code does not use hashing as compression
1906    code, there does not seem to be a reason to allocate any extra space.
1907    
1908    Note: In this fix, maxbits == 9 is still rejected early.  AFAICS compress
1909    is able to generate such files (unknown how correct such output is), but is
1910    unable to uncompress them correctly.
1911    
1912    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
1913
1914commit bb97dbf56dff50bef936c0631587ed08dd6c8fa9
1915Author: Matt Dew <marcoz@osource.org>
1916Date:   Mon Oct 3 20:23:47 2011 -0600
1917
1918        1 - fix the capitalization of the ID attriutes to match either the
1919            <title> or <funcdef> string it goes with.
1920        2 - fix any <linkend>'s that were affected by 1.
1921        3 - any <function> in the docs that has an actual funcdef,
1922            will become an olink.
1923    
1924        Signed-off-by: Matt Dew <marcoz@osource.org>
1925
1926commit c73a0e09a2713d0dc16ca5cd9d288b8868846a19
1927Author: Gaetan Nadon <memsize@videotron.ca>
1928Date:   Thu Sep 22 14:00:36 2011 -0400
1929
1930    doc: fix typo in copyright statement
1931    
1932    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1933
1934commit d86d8f34f5c2ac5c80230aea2de49bb97eaf5f92
1935Author: Gaetan Nadon <memsize@videotron.ca>
1936Date:   Thu Sep 22 09:20:38 2011 -0400
1937
1938    doc: refactor legal text for multi licensing copyrights
1939    
1940    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1941
1942commit 43d587d89bee679850bb18ff25aa77c961712728
1943Author: Olli Vertanen <olli.vertanen@symbio.com>
1944Date:   Tue Sep 6 19:00:55 2011 +0000
1945
1946    libxfont: An uninitialized pointer causes a crash if pcf header is corrupted.
1947    
1948    If pcfReadTOC() or pcfGetProperties() fail in the beginning
1949    of execution of pcfReadFont(), function tries to free an
1950    uninitialized pointer (isStringProp) when bailing out.
1951    
1952    The pointer gets now initialized correctly.
1953    
1954    Signed-off-by: Olli Vertanen <olli.vertanen@symbio.com>
1955    Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
1956
1957commit 73e6c94a351c891ed85446df84c9a30a4224f478
1958Author: Joerg Sonnenberger <joerg@britannica.bec.de>
1959Date:   Sun Aug 21 19:07:51 2011 +0200
1960
1961    Fix empty statement in if conditional.
1962    
1963    Assume for a moment that the intention here is to do
1964    something useful.
1965    
1966    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
1967
1968commit bd48ad11fd11412c62c3ac8ed5d52c4f10a985aa
1969Author: Joerg Sonnenberger <joerg@britannica.bec.de>
1970Date:   Sun Aug 21 18:51:53 2011 +0200
1971
1972    Do proper input validation to fix for CVE-2011-2895.
1973    
1974    It ensures that all valid input can be decompressed, checks that the
1975    overflow conditions doesn't happen and generally tightens the
1976    validation of the LZW stream and doesn't pessimize the inner loop for
1977    no good reason. It's derived from a change in libarchive from 2004.
1978    
1979    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
1980    Reviewed-by: Tomas Hoger <thoger@redhat.com>
1981
1982commit 098ab294deed98371ee362fadafcf2e510e0cc50
1983Author: Alan Coopersmith <alan.coopersmith@oracle.com>
1984Date:   Fri Sep 16 22:21:21 2011 -0700
1985
1986    Strip trailing whitespace
1987    
1988    Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
1989    git diff -w & git diff -b show no diffs from this change
1990    
1991    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1992
1993commit 211368b8d04ed13ba520de2dd49a875cb1d663a7
1994Author: Gaetan Nadon <memsize@videotron.ca>
1995Date:   Mon Sep 12 11:09:50 2011 -0400
1996
1997    docs: use the &fullrelvers; entity to set X11 release information
1998    
1999    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2000
2001commit 425ee265c61b3815a0ef1e4e0445dc91921d71ee
2002Author: Gaetan Nadon <memsize@videotron.ca>
2003Date:   Fri Sep 9 13:08:04 2011 -0400
2004
2005    devbook.am: maintenance update from docbook.am
2006    
2007    The developer docs are generated from a subset of docbook.am
2008    which is sometimes updated.
2009    
2010    The one difference is the embedded css style in the HEAD element.
2011    
2012    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013
2014commit 1c7cfd7a2b89329f27951c0437f925dd3301e3de
2015Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2016Date:   Wed Aug 10 22:19:44 2011 -0700
2017
2018    Remove configure comment about synchronizing version numbers
2019    
2020    This appears to have been a mistaken copy-and-paste from something like
2021    libXcursor - I can't find any Xfont.h header, nor any libXfont header
2022    containing a version number.
2023    
2024    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2025    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2026
2027commit a7970f5c817b5c75d945389cfaf1384ff23437f3
2028Author: Matthieu Herrb <matthieu.herrb@laas.fr>
2029Date:   Mon Aug 8 18:08:05 2011 +0200
2030
2031    libXfont 1.4.4
2032    
2033    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2034    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2035
2036commit d11ee5886e9d9ec610051a206b135a4cdc1e09a0
2037Author: Thomas Hoger <thoger@redhat.com>
2038Date:   Mon Aug 8 18:03:09 2011 +0200
2039
2040    LZW decompress: fix for CVE-2011-2895
2041    
2042    Specially crafted LZW stream can crash an application using libXfont
2043    that is used to open untrusted font files.  With X server, this may
2044    allow privilege escalation when exploited
2045    
2046    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2047    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2048    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2049
2050commit 214ca6a7a2247544627e6dc7c8705811305ad007
2051Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2052Date:   Mon May 16 18:28:13 2011 -0700
2053
2054    Fix memory leak in allocation failure path of BitmapOpenScalable()
2055    
2056    Go ahead and fill in the font->info pointers so that bitmapUnloadScalable()
2057    will free the bits that were allocated, even if some were not.
2058    
2059    Error: Memory leak (CWE 401)
2060       Memory leak of pointer <unknown> allocated with ComputeScaledProperties(...)
2061            at line 1629 of /export/alanc/X.Org/git/lib/libXfont/src/bitmap/bitscale.c in function 'BitmapOpenScalable'.
2062              pointer allocated at line 1616 with ComputeScaledProperties(...).
2063              <unknown> leaks when props != 0 at line 1623.
2064    
2065    [ This bug was found by the Parfait 0.3.7 bug checking tool.
2066      For more information see http://labs.oracle.com/projects/parfait/ ]
2067    
2068    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2069    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2070
2071commit 7f8345aa6fb60a7fd7adf0095a2354fad1d8d5ef
2072Author: Gaetan Nadon <memsize@videotron.ca>
2073Date:   Wed Mar 2 14:33:07 2011 -0500
2074
2075    doc: use common makefile for developers documentation
2076    
2077    The user/specs docs now have external references support.
2078    Developers doc are not installed so they do not participate.
2079    However, using a similar makefile shared amongst developers
2080    document reduces maintenance and is forward looking.
2081    
2082    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2083
2084commit 77027deabca37183cfbbed107cf14ca80f29f26d
2085Author: Gaetan Nadon <memsize@videotron.ca>
2086Date:   Wed Feb 2 11:43:42 2011 -0500
2087
2088    config: comment, minor upgrade, quote and layout configure.ac
2089    
2090    Group statements per section as per Autoconf standard layout
2091    Quote statements where appropriate.
2092    Autoconf recommends not using dnl instead of # for comments
2093    
2094    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
2095    Add AC_CONFIG_SRCDIR([Makefile.am])
2096    
2097    This helps automated maintenance and release activities.
2098    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
2099
2100commit 9ea1790d61bd135714c40e5089ecb1effa1dbcc0
2101Author: Gaetan Nadon <memsize@videotron.ca>
2102Date:   Thu Jan 27 18:50:15 2011 -0500
2103
2104    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
2105    
2106    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
2107    AC_PROG_C_C99. This sets gcc with -std=gnu99.
2108    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
2109    
2110    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2111
2112commit 4e0c6c45d819befdd9315d6282b957f7cfec3ae2
2113Author: Paulo Zanoni <pzanoni@mandriva.com>
2114Date:   Thu Dec 16 14:09:12 2010 -0200
2115
2116    Use docbookx.dtd version 4.3 for all docs
2117    
2118    Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
2119    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2120
2121commit 01c30845853f5a8114467185d76274ae9bbff091
2122Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2123Date:   Sun Nov 21 11:35:20 2010 -0800
2124
2125    Sun's copyrights belong to Oracle now
2126    
2127    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2128
2129commit 72ade58381a49514f2b29065ba33a464b7efc3d0
2130Author: Gaetan Nadon <memsize@videotron.ca>
2131Date:   Tue Nov 9 13:04:51 2010 -0500
2132
2133    config: HTML file generation: use the installed copy of xorg.css
2134    
2135    Currenlty the xorg.css file is copied in each location
2136    where a DocBook/XML file resides. This produces about
2137    70 copies in the $(docdir) install tree.
2138    
2139    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2140
2141commit 12157fbebc35c2d039df2df4fc5ac2b299eeec03
2142Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2143Date:   Thu Oct 28 20:43:27 2010 -0700
2144
2145    libXfont 1.4.3
2146    
2147    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2148
2149commit f29f1d68d7eca96e45ba3758686be07993d82e03
2150Author: Jesse Adkins <jesserayadkins@gmail.com>
2151Date:   Tue Sep 28 13:30:02 2010 -0700
2152
2153    Purge cvs tags.
2154    
2155    Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2156    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2157
2158commit 6628b4d82426cf9ac240da363cd8a8252e6f71ef
2159Author: Jeremy Huddleston <jeremyhu@apple.com>
2160Date:   Mon Sep 27 12:31:50 2010 -0700
2161
2162    FreeType: Cleanup MUMBLE and fix printing of XLFD in debug spew.
2163    
2164    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2165
2166commit c482a2c104aa5cd1a265c2ca310a308dcc418fe7
2167Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2168Date:   Wed Apr 14 05:58:28 2010 -0500
2169
2170    Revert "Bug #6247: Fix build on Cygwin"
2171    
2172    libtool requires the '-no-undefined' flag in order to create shared
2173    libraries on PE/COFF platforms (Cygwin/MinGW); on other platforms this
2174    flag has no effect.
2175    
2176    The problem with libXfont is that PE weak symbols do not behave exactly
2177    as they do on ELF platforms.  Since PE binaries (both executables and
2178    libraries) must have all symbols resolved at link time, there is no way
2179    for the real symbols in xserver to "displace" those in libXfont at
2180    runtime, so the result is that libXfont uses its stubs, which do
2181    nothing, and xserver ends up unable to find its fonts.
2182    
2183    Solving this will require either significant changes to libXfont or some
2184    major improvement to the toolchain to handle this case.  Until that
2185    happens, removing '-no-undefined' will result in a static-only library
2186    on these platforms, which is the only currently working solution.
2187    
2188    http://sourceware.org/bugzilla/show_bug.cgi?id=11306
2189    http://cygwin.com/ml/cygwin/2010-04/msg00281.html
2190    
2191    This reverts commit 69c4ae1e3e14a58bc2eb9b9b8820dc7183b82a67.
2192    
2193    Conflicts:
2194    
2195            ChangeLog
2196    
2197    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2198
2199commit 455ec66e82e3c4bedd9e789d2ab33030b8e64ffa
2200Author: Alan Coopersmith <alan.coopersmith@oracle.com>
2201Date:   Sun Aug 8 00:19:36 2010 -0700
2202
2203    Fix builds with Sun compilers
2204    
2205    Sun compilers use #pragma weak in the *.c files to declare weak symbols,
2206    so should have weak defined to empty, but not define NO_WEAK_SYMBOLS
2207    
2208    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2209
2210commit 0386fa77367a305deea3cc27f8a3865cc3c467c0
2211Author: Jeremy Huddleston <jeremyhu@apple.com>
2212Date:   Sat Jul 10 10:08:21 2010 -0700
2213
2214    darwin: Fix build regression introduced by previous patch
2215    
2216    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2217
2218commit 8f75706901da0141590d46f0f898e5678feac953
2219Author: Jon TURNEY <jon.turney@dronecode.org.uk>
2220Date:   Mon Jun 28 17:56:07 2010 +0100
2221
2222    Build fix for platforms which don't have weak linkage
2223    
2224    Since we fix this by removing the serverGeneration symbol, assuming
2225    an external definition will be provided, this means on Windows libXfont
2226    can only be built as a static library (since PE shared libraries cannot
2227    contain undefined symbols).  This produces a libXfont which might only
2228    be useful to the xserver, but the only other users we might care about
2229    are xfs, which is obsolete, and bdftopcf, which fortunately doesn't
2230    pull in any objects which reference serverGeneration from libXfont.
2231    
2232    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2233    Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
2234
2235commit 5c49c956e9c85d89f6b2e719eb9b6fbde62c2f72
2236Author: Gaetan Nadon <memsize@videotron.ca>
2237Date:   Mon Jun 28 13:18:22 2010 -0400
2238
2239    doc: use xorg-docs xorg.css stylesheet
2240    
2241    Use latest DocBook XML util-macros infrastructure
2242    
2243    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2244
2245commit 27270de56f7da5e047784434f3b29fa672f97ffd
2246Author: Tiago Vignatti <tiago.vignatti@nokia.com>
2247Date:   Thu Jun 10 16:29:37 2010 +0300
2248
2249    libXfont 1.4.2
2250    
2251    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2252    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2253    Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2254    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2255
2256commit a85f4fc6142349517aaa4cf6bc8049e2d85c1006
2257Author: Tiago Vignatti <tiago.vignatti@nokia.com>
2258Date:   Thu Jun 10 16:18:05 2010 +0300
2259
2260    Use one single function to register fpe functions
2261    
2262    X server doesn't need to understand fpe internals, so let it transparent
2263    turning all registration functions in a single one. For that, fill the already
2264    existent register_fpe_functions().
2265    
2266    Some X servers don't want font server support, so this patch also sets font
2267    server support to be configured in build time.
2268    
2269    In my machine, I see 20kB of RSS being saved in libXfont mapped in Xorg
2270    process when I disabled font server support and other kind of fonts in the
2271    library (--disable-pcfformat --disable-bdfformat --disable-snfformat
2272    --disable-freetype --disable-fc).
2273    
2274    The default library built was taking:
2275       text    data     bss     dec     hex filename
2276     261847    4484    1536  267867   4165b ./lib/libXfont.so
2277    
2278    and with these flags, it jumps to:
2279       text    data     bss     dec     hex filename
2280     157764    2428    1188  161380   27664 ./lib/libXfont.so
2281    
2282    Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2283    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2284    Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2285    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2286
2287commit d137c81b83e0a6f68989c37035d0c950bb43fcc5
2288Author: Gaetan Nadon <memsize@videotron.ca>
2289Date:   Thu Apr 1 14:12:47 2010 -0400
2290
2291    config: fontconf.h.in is redundant in EXTRA_DIST
2292    
2293    Output files listed in AC_CONFIG_HEADERS or AC_OUTPUT have
2294    their input files (typically .in) included in the tarball.
2295    
2296    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2297    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2298
2299commit d8d901323776599c8392f9b973ba129c3af45a4b
2300Author: Gaetan Nadon <memsize@videotron.ca>
2301Date:   Tue Mar 30 09:26:13 2010 -0400
2302
2303    config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS
2304    
2305    There are 2 headers to generate. The first one (config.h)
2306    is picked up by autoheader to generate the familiar config.h.in
2307    input file. The others in the list (or in subsequent AC_CONFIG_HEADERS
2308    macro calls) are generated from their existing matching template,
2309    e.g. fontconf.h.in.
2310    
2311    When multiple headers are listed in the same macro call,
2312    they cannot be separated by a new line like we do in AC_OUTPUT.
2313    
2314    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2315    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2316
2317commit df94cb141f02f123a64b0ef7abf5f593c1b27e13
2318Author: Gaetan Nadon <memsize@videotron.ca>
2319Date:   Wed Mar 31 20:21:47 2010 -0400
2320
2321    Revert "config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS"
2322    
2323    This reverts commit 8e84687b26be6e8f5da4fce173c0a134eb07f4f3.
2324    
2325    Until the issue is resolved on MAC O/S
2326    http://tinderbox.x.org/builds/2010-03-31-0030/logs/libXfont/
2327
2328commit 8e84687b26be6e8f5da4fce173c0a134eb07f4f3
2329Author: Gaetan Nadon <memsize@videotron.ca>
2330Date:   Tue Mar 30 09:26:13 2010 -0400
2331
2332    config: replace obsolete AM_CONFIG_HEADER with AC_CONFIG_HEADERS
2333    
2334    Both headers end up created by the same macro.
2335    
2336    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2337    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2338
2339commit a7b7bc72b9ad061ed164601d2d18dbffd6ec1f4f
2340Author: Gaetan Nadon <memsize@videotron.ca>
2341Date:   Mon Mar 29 14:53:48 2010 -0400
2342
2343    config: remove the pkgconfig pc.in file from EXTRA_DIST
2344    
2345    Automake always includes it in the tarball.
2346    
2347    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2348
2349commit f77258d0b286c2fd2a2fee36e42280016e310b10
2350Author: Gaetan Nadon <memsize@videotron.ca>
2351Date:   Sat Mar 27 17:06:34 2010 -0400
2352
2353    config: remove protection for AS_HELP_STRING for old autoconf
2354    
2355    No longer needed as modules will not configure with 2.57.
2356    AS_HELP_STRING was introduced in 2.58. The minimum level
2357    is now 2.60.
2358    
2359    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2360    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2361
2362commit a79a22bfcb344c47f2659e4178fd79f8555fbcfd
2363Author: Gaetan Nadon <memsize@videotron.ca>
2364Date:   Thu Mar 11 10:11:23 2010 -0500
2365
2366    doc: specify 0.0.20 as the minimum version for xmlto
2367    
2368    Older versions do not have fop backend.
2369    
2370    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2371
2372commit a76488f75f23b8e08763e28b2fa56352e7b04e19
2373Author: Gaetan Nadon <memsize@videotron.ca>
2374Date:   Sat Jan 30 13:13:33 2010 -0500
2375
2376    doc: use new macros to control doc generation
2377    
2378    Namely XORG_WITH_FOP for the fop backend (pdf) and
2379    XORG_ENABLE_DEVEL_DOCS for the generation of all docs
2380    
2381    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2382
2383commit 360f10333ac19f033ea64a8360c4886fbb657890
2384Author: Gaetan Nadon <memsize@videotron.ca>
2385Date:   Wed Jan 20 11:46:21 2010 -0500
2386
2387    config: replace custom code with reusable macro XORG_WITH_XMLTO
2388    
2389    XORG_WITH_XMLTO provides additional functions like a configure
2390    option which allow platform builders to control the usage of
2391    the xmlto program.
2392    
2393    This is a requirement from platforms that do not have such doc tool.
2394    
2395    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2396
2397commit 24a257ca5b70e168564f0c6527e60bb06b61be8c
2398Author: Alan Coopersmith <alan.coopersmith@sun.com>
2399Date:   Thu Jan 14 21:39:11 2010 -0800
2400
2401    Update Sun license notices to current X.Org standard form
2402    
2403    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2404
2405commit d1c9028a410a10ef1b27c990f55de836eb948887
2406Author: Gaetan Nadon <memsize@videotron.ca>
2407Date:   Fri Nov 27 20:56:04 2009 -0500
2408
2409    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
2410    
2411    Now that the INSTALL file is generated.
2412    Allows running make maintainer-clean.
2413
2414commit 72353a449e8dbf82a53a1d7958755198e989d892
2415Author: Gaetan Nadon <memsize@videotron.ca>
2416Date:   Wed Oct 28 15:28:32 2009 -0400
2417
2418    configure.ac: AM_MAINTAINER_MODE missing #24238
2419    
2420    This turns off maintainer mode build rules in tarballs.
2421    Works in conjunction with autogen.sh --enable-maintainer-mode
2422    For all X.Org components.
2423
2424commit 489e7b2cb3371042552489385902a98dc1cd976a
2425Author: Gaetan Nadon <memsize@videotron.ca>
2426Date:   Wed Oct 28 14:09:10 2009 -0400
2427
2428    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
2429    
2430    Add missing INSTALL file. Use standard GNU file on building tarball
2431    README may have been updated
2432    Remove AUTHORS file as it is empty and no content available yet.
2433    Remove NEWS file as it is empty and no content available yet.
2434
2435commit c22d67cc78c27d19bb6eaba5bf71b66444ed4a40
2436Author: Gaetan Nadon <memsize@videotron.ca>
2437Date:   Tue Oct 27 15:07:25 2009 -0400
2438
2439    Deploy the new XORG_DEFAULT_OPTIONS #24242
2440    
2441    This macro aggregate a number of existing macros that sets commmon
2442    X.Org components configuration options. It shields the configuration file from
2443    future changes.
2444
2445commit 271382b01995469eb60035d38880f9d3665d4c4c
2446Author: Gaetan Nadon <memsize@videotron.ca>
2447Date:   Mon Oct 26 22:08:43 2009 -0400
2448
2449    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
2450    
2451    ChangeLog filename is known to Automake and requires no further
2452    coding in the makefile.
2453
2454commit 9be83ae94cd82b447ed59ba0869f9e94ed9018f7
2455Author: Gaetan Nadon <memsize@videotron.ca>
2456Date:   Thu Oct 22 15:34:34 2009 -0400
2457
2458    .gitignore: use common defaults with custom section # 24239
2459    
2460    Using common defaults will reduce errors and maintenance.
2461    Only the very small or inexistent custom section need periodic maintenance
2462    when the structure of the component changes. Do not edit defaults.
2463
2464commit 489924bfb693a844f8f8ad6023fc78e4a212bef6
2465Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2466Date:   Wed Oct 14 11:31:59 2009 -0500
2467
2468    Add -lbz2 to Libs.private if bzip2 is enabled
2469    
2470    This is required on Cygwin, which must link the xservers with a static
2471    libXfont due to poor weak-symbol support.  Z_LIBS includes -lz and, if
2472    bzip2 support is enabled, -lbz2.
2473    
2474    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
2475    Acked-by: Julien Cristau <jcristau@debian.org>
2476
2477commit 64f21944c5f374b0da63657f01e289b34d00904c
2478Author: Alan Coopersmith <alan.coopersmith@sun.com>
2479Date:   Fri Oct 9 17:38:33 2009 -0700
2480
2481    libXfont 1.4.1
2482    
2483    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2484
2485commit 947d3162f5edaaa05bbbfcfe2303d0c8b796f9ca
2486Author: Alan Coopersmith <alan.coopersmith@sun.com>
2487Date:   Wed Oct 7 13:05:26 2009 -0700
2488
2489    Remove unused setting of ENCODINGSDIR
2490    
2491    Seems to have been a leftover from before the encoding code was split
2492    out into libfontenc by XFree86
2493    
2494    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2495
2496commit 18053ffbf92473ffce23a3c5182de92b608b9cdf
2497Author: Alan Coopersmith <alan.coopersmith@sun.com>
2498Date:   Wed Oct 7 10:44:27 2009 -0700
2499
2500    Convert documentation from troff to DocBook/XML
2501    
2502    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2503
2504commit 96a4daad7097ce94d4340a4e9ce779e378f9b83c
2505Author: Alan Coopersmith <alan.coopersmith@sun.com>
2506Date:   Wed Oct 7 08:31:54 2009 -0700
2507
2508    Move fontlib.ms from xorg-docs
2509    
2510    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2511
2512commit b7be4a976a59f3149590cf62a2ea8144aa729c2a
2513Author: Alan Coopersmith <alan.coopersmith@sun.com>
2514Date:   Tue Oct 6 13:03:25 2009 -0700
2515
2516    Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
2517    
2518    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2519
2520commit 18c5e2ff1097880e8dea951079ae49a93ec315b0
2521Author: Bob Ham <rah@bash.sh>
2522Date:   Tue Sep 15 14:28:12 2009 +1000
2523
2524     Fixed int(*)()->double cast warning
2525    
2526    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2527
2528commit 0045b2555b288099c90b65f97bd4b4a5ebc8c688
2529Author: Adam Jackson <ajax@redhat.com>
2530Date:   Wed Feb 18 13:53:14 2009 -0500
2531
2532    libXfont 1.4.0
2533
2534commit 04ced93e997b185b5d9124cacc96fa39a77b2ab7
2535Author: Peter Astrand <astrand@maggie.lkpg.cendio.se>
2536Date:   Wed Feb 4 22:09:25 2009 +0100
2537
2538    Avoid sending uninitialized padding data over the network.
2539    
2540    Besides cluttering Valgrind output, this might also be an information leak.
2541    
2542    Signed-off-by: Peter Astrand <astrand@cendio.se>
2543    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2544
2545commit e15dca77fa76252dd8499f8585d8ce922ac3b869
2546Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2547Date:   Thu Jan 29 18:02:34 2009 -0200
2548
2549    Janitor: make distcheck and .gitignore
2550    
2551      Distribute ChangeLog but not autogen.sh.
2552      Use a single toplevel .gitignore file, instead of one per subdirectory.
2553
2554commit 38bac54519a67ab1a276b66dbaa84a3327ccf827
2555Author: Adam Jackson <ajax@redhat.com>
2556Date:   Sat Sep 27 02:06:27 2008 -0400
2557
2558    Remove some strcasecmp silliness
2559
2560commit f431b4eb4dc743ccdf94b1b2ed858cc21f63c091
2561Author: Adam Jackson <ajax@redhat.com>
2562Date:   Tue Jan 20 23:23:40 2009 -0500
2563
2564    Allow case insensitive filename matching in fontfile.
2565    
2566    Simplify the freetype renderer list to match.
2567
2568commit 903d39aeea73a973fb8b05ca1ac147c2cca146cb
2569Author: Adam Jackson <ajax@redhat.com>
2570Date:   Tue Jan 20 23:21:29 2009 -0500
2571
2572    Delete some dead ifdefs
2573
2574commit daa7af2bb2326de363aa5ea51c29616e3634343a
2575Author: Adam Jackson <ajax@redhat.com>
2576Date:   Tue Jan 20 23:20:20 2009 -0500
2577
2578    Move the copy of CopyISOLatin1Lowered near its user, and un-weak it.
2579
2580commit 6c29007756301f513c0151e2b63af073f310af66
2581Author: Adam Jackson <ajax@redhat.com>
2582Date:   Tue Jan 20 23:17:55 2009 -0500
2583
2584    Drop OS/2 support
2585
2586commit 0cdc9b8f850342d50b72a57507db3413eacc6fb8
2587Author: Adam Jackson <ajax@redhat.com>
2588Date:   Tue Jan 20 23:16:35 2009 -0500
2589
2590    xalloc -> malloc, etc.
2591
2592commit 632a2e90a4b209facc84d7a18873f19a720ea7df
2593Author: Adam Jackson <ajax@redhat.com>
2594Date:   Sat Sep 27 01:30:13 2008 -0400
2595
2596    Remove PMF support.
2597    
2598    .pmf files are printer font metrics; they have no glyphs, just boxes for
2599    layout.  They can't possibly be useful in a post-Xprint world.
2600
2601commit e1927f80deabe0268dc18b4a9f3ceda1325171f5
2602Author: Adam Jackson <ajax@redhat.com>
2603Date:   Tue Jan 20 22:57:35 2009 -0500
2604
2605    Remove printer font support.
2606    
2607    Xprint is just insidious, isn't it.
2608
2609commit 732191d5d6ad58caab25e24df16fb89efaea2e9a
2610Author: Adam Jackson <ajax@redhat.com>
2611Date:   Tue Jan 20 22:42:22 2009 -0500
2612
2613    Remove loadable renderer support.
2614
2615commit 423d0a2c1dfad969f4a238618811937bc5f49776
2616Author: Adam Jackson <ajax@redhat.com>
2617Date:   Sat Sep 27 01:55:47 2008 -0400
2618
2619    Remove useless #define
2620
2621commit 50bca6dd881c2d787b3afa4d98a2c2667f767614
2622Author: Adam Jackson <ajax@redhat.com>
2623Date:   Tue Jan 20 22:33:06 2009 -0500
2624
2625    Get rid of a useless array
2626
2627commit 6ba0565362ba9c8d1037c0e4725cb31faa141656
2628Author: Adam Jackson <ajax@redhat.com>
2629Date:   Tue Jan 20 22:29:10 2009 -0500
2630
2631    const cleanup
2632
2633commit 1247f01ee36f80222e30c1678f940329aadb8335
2634Author: Adam Jackson <ajax@redhat.com>
2635Date:   Tue Jan 20 01:13:08 2009 -0500
2636
2637    Delete Type1
2638    
2639    Yes, these are still real fonts, but freetype can handle them just fine.
2640
2641commit 85b66b8a7f3095f10437c8ecb3dcbfe68c9cfced
2642Author: Adam Jackson <ajax@redhat.com>
2643Date:   Tue Jan 20 01:03:16 2009 -0500
2644
2645    Delete speedo
2646    
2647    OUT OUT OUT
2648
2649commit 1559d8086e8063c692aae008006578b88e1368fe
2650Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
2651Date:   Sun Dec 28 12:35:37 2008 -0800
2652
2653    Added missing AM_CFLAGS for -Wl,-flat_namespace
2654    
2655    Fixes commit f859a76b0f325b07952ad1c5c818318307c589b0
2656
2657commit 99bad52b592f4f11887bf9033590b61880c3c976
2658Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2659Date:   Sat Mar 1 16:45:55 2008 -0300
2660
2661    Disable some fun stdio wrapping.
2662    
2663      The code is still there but no magic with macros is attempted anymore
2664    to handle files.
2665      This should really be changed to just use stdio, and properly adapt
2666     functions like T1Decript, T1eexec, etc.
2667
2668commit 95760fbe45a700ea4cc118daa536604393721a59
2669Author: Alan Coopersmith <alan.coopersmith@sun.com>
2670Date:   Fri Dec 19 16:24:39 2008 -0800
2671
2672    Restore comment deleted by b6f793d7d5
2673
2674commit b6f793d7d5c7f7c55911e6524dede41b92dcbc22
2675Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
2676Date:   Fri Mar 14 01:30:24 2008 -0300
2677
2678    libXfont ansification and removal of xf86_ansic.h dependency
2679    
2680      Basically the code is now compiled as if FONTMODULE was never defined,
2681    but also removed some "magic" defining _XOPEN_SOURCE before including
2682    math.h.
2683      Also removed some #if 0'ed code instead of fixing prototypes inside
2684    the "dead code".
2685      Changes to spdo_prv.h were due to defines like:
2686      <hash>define foo() sp_foo()
2687      that would not compile with the ansification in the format:
2688      type foo(void)
2689      due to the macro receiving "void" as an argument.
2690
2691commit 282ac4226195d58e3818e7ac97093e396aa78086
2692Author: Alan Coopersmith <alan.coopersmith@sun.com>
2693Date:   Fri Dec 19 15:07:21 2008 -0800
2694
2695    Version bump: 1.3.4
2696
2697commit 5c631ad798fcdea4f2b7d0b012ac94182fad4184
2698Author: Alan Coopersmith <alan.coopersmith@sun.com>
2699Date:   Fri Dec 19 14:01:28 2008 -0800
2700
2701    miscutil.c:108: warning: old-style parameter declaration
2702
2703commit d21d6c5b23a23f120f32b483ec6b86cf88cb3a98
2704Author: Alan Coopersmith <alan.coopersmith@sun.com>
2705Date:   Fri Dec 19 13:47:48 2008 -0800
2706
2707    Add simple README with pointers to bugzilla/git/mailing list
2708
2709commit d3be1261d29b7d8eda124add3497a93ebe34712c
2710Author: Alan Coopersmith <alan.coopersmith@sun.com>
2711Date:   Fri Dec 19 13:47:27 2008 -0800
2712
2713    Update COPYING file with additional copyrights/licenses
2714
2715commit b5cc4a10c0fe365b40be19613777f192a1ada0db
2716Author: Alan Coopersmith <alan.coopersmith@sun.com>
2717Date:   Fri Dec 19 13:05:32 2008 -0800
2718
2719    Use XORG_CWARNFLAGS & XORG_CHANGELOG macros from xorg-macros 1.2
2720
2721commit 377584bb71ccb2cc380c3a8f71f0acd7e755ad33
2722Author: Alan Coopersmith <alan.coopersmith@sun.com>
2723Date:   Thu Dec 18 21:22:31 2008 -0800
2724
2725    Always scan catalogue dirs at startup, even if their mtime < 0
2726    
2727    Works around bug in VMWare that caused the Solaris kernel to fail to read
2728    the time-of-day chip on boot, and start with a time < 0 (i.e. back to the
2729    1960's) - when the system was then installed from this mode, Xorg wouldn't
2730    start after reboot, since the mtime would be < 0 and the catalogue dir was
2731    then skipped as not changed since reading at the 0 initially set in the
2732    cat->mtime.
2733    
2734    Fixes OpenSolaris bug #4780
2735       <http://defect.opensolaris.org/bz/show_bug.cgi?id=4780>
2736
2737commit 9ad7f24fafe876851b89190732034da6fb640788
2738Author: Benjamin Close <Benjamin.Close@clearchain.com>
2739Date:   Thu Dec 11 15:26:13 2008 +1030
2740
2741    Make sure font names/font alias names are null terminated
2742    
2743    This fixes a crash upon server restart where the saved fonts were
2744    being restored however strlen(font_name) was incorrect hence memory
2745    was being clobbered.
2746
2747commit d93cc906d4a2f42d11629e245fb13a2d08cf2a61
2748Author: Alan Coopersmith <alan.coopersmith@sun.com>
2749Date:   Thu Dec 4 16:56:56 2008 -0800
2750
2751    Pad CreateAC packets with 0 auths to workaround xfs bug
2752    
2753    Versions of xfs before commit 3fe28a31a2974287acc182c7c9bfd68d94ea6292
2754    will reject CreateAC packets with 0 auths unless they claim to have at
2755    least 4 bytes of authentication data that isn't actually read.
2756
2757commit f859a76b0f325b07952ad1c5c818318307c589b0
2758Author: Julien Cristau <jcristau@debian.org>
2759Date:   Tue Nov 4 19:24:29 2008 +0100
2760
2761    Don't clobber CFLAGS in configure
2762    
2763    This lets the user set CFLAGS when running make.
2764
2765commit 6bf52de1fb84d61b227daf7a7077af9ea3ec27a3
2766Author: Peter Breitenlohner <peb@mppmu.mpg.de>
2767Date:   Mon Oct 20 19:32:23 2008 -0700
2768
2769    X.Org Bug 17945: avoid gcc warnings for libXfont
2770    
2771    <http://bugs.freedesktop.org/show_bug.cgi?id=17945>
2772    
2773    Avoid two gcc warnings
2774    src/fontfile/ffcheck.c:150: warning: initialization discards qualifiers from pointer target type
2775    src/fontfile/register.c:98: warning: initialization discards qualifiers from pointer target type
2776
2777commit b012dcf65b1f0e41def2f595f1b1e7b06a49d275
2778Author: Adam Jackson <ajax@redhat.com>
2779Date:   Thu Aug 28 15:36:06 2008 -0400
2780
2781    Retry font server connections faster.
2782
2783commit 8a6df69750a2d350074715fb31d9d20195d00b4c
2784Author: Adam Jackson <ajax@redhat.com>
2785Date:   Thu Aug 28 15:35:16 2008 -0400
2786
2787    Nuke fontcache.
2788    
2789    Hasn't been relevant since the X-TT merge ages ago.
2790
2791commit 5d5587a36453d731e9a7353a98fa391dbb51b57d
2792Author: Alan Coopersmith <alan.coopersmith@sun.com>
2793Date:   Thu Aug 21 19:58:06 2008 -0700
2794
2795    Add support for bzip2 bitmap font compression
2796    
2797    Code originally written for Solaris Xsun in 2003, ported now to current Xorg
2798    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4819077>
2799
2800commit 624b7a507cdea25cec0728b4679610df3fb3097c
2801Author: Derek Wang <derek.wang@sun.com>
2802Date:   Thu Aug 21 16:06:51 2008 -0700
2803
2804    Sun bug 4510977: dtremote fails to start session
2805    
2806    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4510977>
2807
2808commit 684c000e57f30344777cf763f2f1b540ef008b38
2809Author: Adam Jackson <ajax@redhat.com>
2810Date:   Wed Jul 2 15:30:03 2008 -0400
2811
2812    libXfont 1.3.3
2813
2814commit 11edbc3a818e15ea2b622b31e6f87159ee68ae4a
2815Author: Maarten ter Huurne <maarten.ter.huurne@philips.com>
2816Date:   Sat Jun 28 15:34:50 2008 -0400
2817
2818    Do not call FT_Get_BDF_Charset_ID() if configured with --disable-bdfformat
2819    
2820    When I configure libXfont-1.3.2 with --disable-bdfformat and link it against
2821    FreeType that is built without BDF support, I get the following link error:
2822    
2823    libXfont.so: undefined reference to ‘FT_Get_BDF_Charset_ID’
2824    
2825    I fixed it by checking XFONT_BDFFORMAT and if BDF support is disabled, the call
2826    to FT_Get_BDF_Charset_ID() is omitted and the result code is set as if the call
2827    had failed.
2828    
2829    Signed-off-by: James Cloos <cloos@jhcloos.com>
2830
2831commit 1ab07ce0eec4f6c7ed66c7aba3edf8c4315dd907
2832Author: Alan Coopersmith <alan.coopersmith@sun.com>
2833Date:   Tue May 13 17:26:57 2008 -0700
2834
2835    FontFileDirectoryChanged: check length of "fonts.alias" as well as "fonts.dir"
2836
2837commit 0f9db4aa7de6e0644ac9c5811b949e5f936c9d61
2838Author: Alan Coopersmith <alan.coopersmith@sun.com>
2839Date:   Fri May 9 12:36:30 2008 -0700
2840
2841    Don't allow a font alias to point to itself and create a loop
2842    
2843    Part of fix for Sun bug 4258475
2844    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258475>
2845
2846commit 67311922a2e02d8a763831831b65bb4833db58b5
2847Author: Colin Harrison <colin.harrison-at-virgin.net>
2848Date:   Mon May 5 22:17:55 2008 +0100
2849
2850    Fix build for WIN32
2851
2852commit 6ba408c956ca8e241d10d463c45b4e987b757333
2853Author: Matthieu Herrb <matthieu.herrb@laas.fr>
2854Date:   Sun Mar 9 08:21:34 2008 +0100
2855
2856    nuke RCS Ids
2857
2858commit 754cabe62e91b9ad50c3027c063f4269775f7add
2859Author: Julien Cristau <jcristau@debian.org>
2860Date:   Fri Mar 7 12:19:22 2008 +0100
2861
2862    Add missing include in src/FreeType/ftfuncs.c
2863    
2864    Fixes compiler warning:
2865    ../../../src/FreeType/ftfuncs.c: In function 'restrict_code_range_by_str':
2866    ../../../src/FreeType/ftfuncs.c:2081: warning: implicit declaration of function 'isspace'
2867
2868commit 0fd2a1428df56d8b29e148b08dcec2dfed9302fa
2869Author: Adam Jackson <ajax@redhat.com>
2870Date:   Wed Mar 5 22:04:06 2008 -0500
2871
2872    libXfont 1.3.2
2873
2874commit b76df66d2c507898472bba0f9986ef5700029a36
2875Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
2876Date:   Thu Jan 17 15:30:37 2008 +0100
2877
2878    Fix for CVE-2008-0006 - PCF Font parser buffer overflow.
2879
2880commit 2297c6390a1609fe810c2cd5b3443f3722610944
2881Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
2882Date:   Thu Oct 18 21:46:49 2007 +0200
2883
2884    ftsystem.c is not needed anymore.
2885
2886commit 5bf703700ee4a5d6eae20da07cb7a29369667aef
2887Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
2888Date:   Fri Sep 28 08:17:57 2007 +0200
2889
2890    catalogue.c: prevent a one character overflow
2891    
2892    this occurs if readlink writes a result that's exactly the
2893    size of the buffer that's passed to it. Reported by
2894    Joerg Sonnenberger.
2895    
2896    Re
2897
2898commit fd8a03fbbd74f5cbaa740e5d50fccdf5c1f78b5b
2899Author: Jens Granseuer <jensgr@gmx.net>
2900Date:   Thu Sep 27 23:12:00 2007 +0200
2901
2902    fix build with gcc 2.95.
2903    
2904    In addition to fixing the C89 issue, the patch also flags a few functions as
2905    static to avoid "no previous prototype" warnings.
2906
2907commit 268f1bb1859e97944e8b63a5bb12677e874ed144
2908Author: Tilman Sauerbeck <tilman@code-monkey.de>
2909Date:   Thu Sep 13 20:40:26 2007 +0200
2910
2911    Replaced one instance of bcopy() with memcpy().
2912    
2913    f->buffer cannot overlap with io->file->bits, so it's safe to
2914    use memcpy() rather than memmove().
2915    Compile-tested only.
2916
2917commit f2725a5c9da771fb610d503ebfda3b4d1553bac4
2918Author: Eric Anholt <eric@anholt.net>
2919Date:   Wed Sep 5 13:10:43 2007 -0700
2920
2921    Bump version to 1.3.1.
2922
2923commit aca95d12a8b35de7ae914632fc9e8a723d58a860
2924Author: Matthieu Herrb <matthieu@bluenote.herrb.com>
2925Date:   Sat Aug 25 23:32:54 2007 +0200
2926
2927    Kill unused macro definition.
2928
2929commit 3c3b47bf6f080ddb700886de3e5bfa42c2f0774e
2930Merge: 9f86614 32d2d33
2931Author: Dodji Seketeli <dodji@openedhand.com>
2932Date:   Sat Aug 11 23:09:50 2007 +0200
2933
2934    Merge branch 'master' of ssh://dodji@git.freedesktop.org/git/xorg/lib/libXfont
2935
2936commit 9f86614394af81bc484cf00f3e9996510d3718cb
2937Author: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
2938Date:   Mon Jul 30 14:36:21 2007 -0400
2939
2940    Fix dirfd leak on CatalogueRescan().
2941
2942commit 87f50267181887ed9214536608bd2035d2dd70f7
2943Author: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
2944Date:   Mon Jul 30 14:35:01 2007 -0400
2945
2946    Support relative paths in catalogue:<dir> symlinks.
2947    
2948    Relative symlinks are common inside the catalogue directory and
2949    should be supported as well.
2950
2951commit 32d2d335eacd1b55980323a71ef35cdf7c22366d
2952Author: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
2953Date:   Mon Jul 30 14:36:21 2007 -0400
2954
2955    Fix dirfd leak on CatalogueRescan().
2956
2957commit 0a5b31a40c4933f4c69157c61d4d4890af2205b1
2958Author: Ademar de Souza Reis Jr <ademar@mandriva.com.br>
2959Date:   Mon Jul 30 14:35:01 2007 -0400
2960
2961    Support relative paths in catalogue:<dir> symlinks.
2962    
2963    Relative symlinks are common inside the catalogue directory and
2964    should be supported as well.
2965
2966commit 7670d4a2720c61fbc7b989fed14c676f04ac3ad1
2967Author: Dodji Seketeli <dodji@seketeli.org>
2968Date:   Mon Jul 16 12:24:34 2007 +0200
2969
2970    Remove side effects from BuiltinReadDirectory()
2971    
2972    The first time BuiltinReadDirectory() is called,
2973    save the content of builtin_dir and builtin_alias,
2974    before calling FontFileAddFontFile(), because that fonction
2975    will modify those.
2976    
2977    Then, in subsequent calls to BuiltinReadDirectory(), restore
2978    builtin_dir and builtin_alias so that the side effect incurred
2979    by the first call disappears.
2980
2981commit e3642d9b2c0819a607d4cce413b9f0541285545b
2982Author: Kristian Høgsberg <krh@redhat.com>
2983Date:   Mon Jul 2 15:01:05 2007 -0400
2984
2985    Bump version to 1.3.0.
2986
2987commit f33f9361086db3cf1d09cec067f38fe751ed22eb
2988Author: Kristian Høgsberg <krh@redhat.com>
2989Date:   Mon Jul 2 14:59:11 2007 -0400
2990
2991    Fix crash when no attributes are present for symlink.
2992
2993commit 8d47483711be6076e7bfefab14aa890c5f37e1aa
2994Author: Kristian Høgsberg <krh@redhat.com>
2995Date:   Thu Jun 21 21:44:02 2007 -0400
2996
2997    Bump version to 1.2.9.
2998
2999commit c5ab59762c4ad5def68436d55937a2bd558d5c99
3000Author: Kristian Høgsberg <krh@redhat.com>
3001Date:   Tue Jun 19 10:38:02 2007 -0400
3002
3003    Add a new 'catalogue' FPE, which takes font paths from symlinks in a dir.
3004    
3005    This patch adds a new FPE type, which will match font path elements of the
3006    form
3007    
3008            catalogue:<dir>
3009    
3010    The dir specified after the catalogue: prefix will be scanned for symlinks
3011    and each symlink destination will be added as a local fontfile FPE.
3012    The symlink can be suffixed by attributes, such as 'unscaled', which
3013    will be passed through to the underlying fontfile FPE.  Except the new
3014    attribute 'pri' which will be used for ordering the fontfile FPEs.
3015    
3016    An example configuration:
3017    
3018            75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi
3019            ghostscript:pri=60 -> /usr/share/fonts/default/ghostscript
3020            misc:unscaled:pri=10 -> /usr/share/X11/fonts/misc
3021            type1:pri=40 -> /usr/share/X11/fonts/Type1
3022            type1:pri=50 -> /usr/share/fonts/default/Type1
3023    
3024    will add /usr/share/X11/fonts/misc as the first FPE with the attribute
3025    'unscaled', second FPE will be /usr/share/X11/fonts/75dpi, also with
3026    the attribute unscaled etc.  This is functionally equivalent to setting
3027    the following font path:
3028    
3029            /usr/share/X11/fonts/misc:unscaled,
3030            /usr/share/X11/fonts/75dpi:unscaled,
3031            /usr/share/X11/fonts/Type1,
3032            /usr/share/fonts/default/Type1,
3033            /usr/share/fonts/default/ghostscript
3034    
3035    The motivation is to let font packages add a symlink to the new font
3036    directory they provide instead of rewriting either the Xorg config file
3037    or the xfs config file.
3038
3039commit 1a690feaf7c416da9b01861af381d15a661e5f52
3040Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3041Date:   Thu Jun 7 16:01:03 2007 -0400
3042
3043    Minor fontfile cleanup.
3044
3045commit 3b1bcd7676fe810ce60d6a4758067b571796cceb
3046Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3047Date:   Thu Jun 7 15:54:51 2007 -0400
3048
3049    Dead code cull from fontserver code.
3050
3051commit 6257af0e547095483331b8c8ed588e5467852671
3052Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3053Date:   Thu Jun 7 15:41:19 2007 -0400
3054
3055    Static markup over bitmap and builtins.
3056
3057commit 8c31fadabd706af63381007d666e685a66b58fd9
3058Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3059Date:   Thu Jun 7 15:28:09 2007 -0400
3060
3061    Dead code cull from FreeType.
3062
3063commit fabf5458f1acbfc967bdaea3b89d707c22b97364
3064Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3065Date:   Thu Jun 7 15:17:16 2007 -0400
3066
3067    Death to open-coded strcasecmp.
3068    
3069    Seriously, if you don't already have this, you've already lost.
3070
3071commit d50de26430c1a114a22597de40a3e5ac3c8e1ab7
3072Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3073Date:   Thu Jun 7 15:13:44 2007 -0400
3074
3075    Dead code cull from Speedo.
3076
3077commit 3fd7a510b5467479d6e2559819b96b222c7328e8
3078Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3079Date:   Thu Jun 7 14:39:03 2007 -0400
3080
3081    One more missed static in Type1
3082
3083commit 440166a027b78eb53d7686937148b755ad51f7f9
3084Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3085Date:   Thu Jun 7 14:24:46 2007 -0400
3086
3087    Dead code removal and static markup for Type1.
3088
3089commit 9739e750a7ca4b86ddb89674b104e9b9a8b61014
3090Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3091Date:   Thu Jun 7 14:20:27 2007 -0400
3092
3093    Warning cleanup.
3094
3095commit 87db45f5eb7880395735f7bf3a8ee2d89b7e0122
3096Author: Alan Coopersmith <alan.coopersmith@sun.com>
3097Date:   Wed Apr 4 17:05:13 2007 -0700
3098
3099    Version bump: 1.2.8
3100
3101commit 224fb6403a328e70b370540cc5cefd74421fafac
3102Merge: e7a59cf 0fbb37c
3103Author: Matthieu Herrb <matthieu@roadrock.(none)>
3104Date:   Tue Apr 3 16:05:48 2007 +0200
3105
3106    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libXfont
3107
3108commit e7a59cfb5d442d2965cfcffeff405a4b05591190
3109Author: Matthieu Herrb <matthieu@roadrock.(none)>
3110Date:   Tue Apr 3 15:45:21 2007 +0200
3111
3112    Integer overflow vulnerabilities
3113    
3114    CVE-2007-1351: BDFFont Parsing Integer Overflow
3115    CVE-2007-1352: fonts.dir File Parsing Integer Overflow
3116
3117commit 0fbb37ccc630ced42d6a973c81d947870cca7637
3118Author: Alan Coopersmith <alan.coopersmith@sun.com>
3119Date:   Mon Apr 2 17:40:19 2007 -0700
3120
3121    Add #pragma weak for Sun cc where needed
3122
3123commit cc824e4f2c9a53a00b36a6f83bf065c363027087
3124Author: Alan Coopersmith <alan.coopersmith@sun.com>
3125Date:   Fri Mar 23 15:57:29 2007 -0700
3126
3127    Actually use loadable font modules
3128    
3129    Loadable font modules were not being initialized, and all font renderers
3130    known at build time were always being initialized, regardless of Xorg
3131    module configuration.
3132
3133commit fc6e22f238d34918156ded34148730075b7b9cc2
3134Author: Ben Byer <bbyer@bbyer.(none)>
3135Date:   Tue Feb 20 00:20:23 2007 -0800
3136
3137    added -flat_namespace to CFLAGS for Darwin
3138
3139commit 9509d5c7ee5d5e78c6eef54e8faceede5ca5f24e
3140Author: Kristian Høgsberg <krh@redhat.com>
3141Date:   Mon Jan 22 18:24:19 2007 -0500
3142
3143    Bump to 1.2.7.
3144
3145commit 63af35b908b51690a6c12fd42b54cf4ee08c762a
3146Author: Simon Law <sfllaw@debian.org>
3147Date:   Fri Jan 19 08:50:39 2007 +1100
3148
3149    fontfile: accept empty (but valid) font paths (bug #3091)
3150    If a path has a valid fonts.dir or fonts.alias, but does not contain any
3151    fonts (either fonts.dir specifies zero fonts, or fonts could not be
3152    loaded), load it as a valid font path anyway.
3153
3154commit 931b777108526dd0761f948dcd9f1603ac02efc8
3155Author: Kristian Høgsberg <krh@redhat.com>
3156Date:   Wed Jan 17 17:19:53 2007 -0500
3157
3158    Add stubs for the scalable renderer callbacks.
3159    
3160    Trying to scale a bitmap font provided by the built-in backend will
3161    crash the X server as it calls into a NULL pointer.  This patch
3162    adds "return BadFont;" stubs to prevent the crash.
3163
3164commit 2e4ae1b524a0149479c46f3f12a9ce2413092442
3165Author: Daniel Stone <daniel@fooishbar.org>
3166Date:   Sat Dec 16 00:53:43 2006 +0200
3167
3168    bump to 1.2.6
3169
3170commit facc7ce4892eab4353fff0f45d2d3fd6be7d3e3d
3171Author: Daniel Stone <daniel@fooishbar.org>
3172Date:   Sat Dec 16 00:53:32 2006 +0200
3173
3174    build Type1 by default
3175    Build Type1 by default, instead of needing to explicitly enable it.
3176
3177commit 257db35656d5bf9385080e1d173260f0076f849c
3178Author: Daniel Stone <daniel@fooishbar.org>
3179Date:   Sat Dec 16 00:53:07 2006 +0200
3180
3181    don't distribute fontconf.h
3182    Since fontconf.h is a generated file, don't distribute it.
3183
3184commit ab0f05dcfb5537ba5aec7e48ddb713d4fdba7e75
3185Author: Daniel Stone <daniel@fooishbar.org>
3186Date:   Wed Dec 6 18:53:54 2006 +0200
3187
3188    Makefile.am: make ChangeLog hook safer
3189    Make ChangeLog hook as safe as possible.
3190
3191commit da20e256b786eaa6357e3d55baa9e90e38f14614
3192Author: Daniel Stone <daniel@fooishbar.org>
3193Date:   Fri Dec 1 01:05:59 2006 +0200
3194
3195    bump to 1.2.5
3196
3197commit 16a0c282a673136c0bbb116f35e6e89d8b43a877
3198Author: Daniel Stone <daniel@fooishbar.org>
3199Date:   Fri Dec 1 01:05:40 2006 +0200
3200
3201    post-CID fixes
3202    Curiously, make distcheck succeeded ... go figure.
3203
3204commit e47fb944a8f485c4ad6be9c2cf6a4866eff7a07f
3205Author: Daniel Stone <daniel@fooishbar.org>
3206Date:   Fri Dec 1 00:35:48 2006 +0200
3207
3208    bump to 1.2.4
3209
3210commit 47084ba39920068030c3e59523701d1205161a9f
3211Author: Daniel Stone <daniel@fooishbar.org>
3212Date:   Fri Dec 1 00:35:04 2006 +0200
3213
3214    remove CID font support (bug #5553)
3215    Remove non-free CID font support, which was unused anyway.
3216
3217commit c4741cdd83bcdedcc6f7a072a73b16668fc905eb
3218Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3219Date:   Fri Oct 13 16:17:26 2006 -0400
3220
3221    Bump to 1.2.3
3222
3223commit 5dfff0eb0f532edb1f4a25daa5529e08dd832ecb
3224Author: Alan Coopersmith <alan.coopersmith@sun.com>
3225Date:   Thu Oct 5 18:12:50 2006 -0700
3226
3227    --disable-builtins should not force off all bitmap support
3228
3229commit 264df52d24f585915e0d9823d5f087cf23e3fc75
3230Merge: 0fb55cb d896c3e
3231Author: Alan Coopersmith <alan.coopersmith@sun.com>
3232Date:   Fri Sep 22 11:36:43 2006 -0700
3233
3234    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libXfont
3235
3236commit d896c3eaeafdb8831ed0833af46250c36f82502f
3237Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3238Date:   Tue Sep 12 11:11:12 2006 -0400
3239
3240    Fix distcheck.
3241
3242commit 1bb49c77c321fab1f5c268404ea0ec622fa083ed
3243Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3244Date:   Tue Sep 12 11:01:13 2006 -0400
3245
3246    Bump to 1.2.2.
3247
3248commit 8c8203ca2760105aca4e0b6ec5909355a061f0b3
3249Author: Matthieu Herrb <matthieu@blues.laas.fr>
3250Date:   Tue Sep 12 13:50:31 2006 +0200
3251
3252    Fixes for integer overflows in CID encoded fonts parsing reported by iDefense
3253    CVE-ID 2006-3739, 2006-3740, bugzilla #8000, #8001.
3254
3255commit 0fb55cb86e2ec5dbfbf27a01ceafb77c72fe9f40
3256Author: Alan Coopersmith <alan.coopersmith@sun.com>
3257Date:   Wed Aug 30 15:53:14 2006 -0700
3258
3259    Fix typo in comment (alreadt -> already)
3260
3261commit aa7f3107d5aad41cb3f7b1bb3a4723014314289c
3262Author: Alan Coopersmith <alan.coopersmith@sun.com>
3263Date:   Fri Aug 25 17:51:46 2006 -0700
3264
3265    Add *~ to .gitignore to skip emacs droppings
3266
3267commit cd09f4d54045b957d728d853398d62543d687d03
3268Author: Alan Coopersmith <alan.coopersmith@sun.com>
3269Date:   Fri Aug 25 17:51:04 2006 -0700
3270
3271    Replace static ChangeLog with dist-hook to generate from git log
3272
3273commit 8d171fe61e564d8ed8f75034d4191062cecf190b
3274Author: Matthieu Herrb <matthieu.herrb@laas.fr>
3275Date:   Sun Jul 23 22:42:43 2006 +0200
3276
3277    More check on PCF file reading. Bugzilla #7535
3278
3279commit fead0fa3bae0ba5a4744d6a2aee1caa08019f344
3280Author: Daniel Stone <daniel@fooishbar.org>
3281Date:   Wed Jul 19 18:03:58 2006 -0400
3282
3283    use OpenBitmap when available
3284    Don't just use OpenScalable unconditionally.  Fixes builtin fonts.
3285
3286commit 13422d0e0468f2ddf7cb74cbf925e5bcf4551ae7
3287Author: Daniel Stone <daniel@fooishbar.org>
3288Date:   Wed Jul 19 18:03:26 2006 -0400
3289
3290    move builtin fonts to gzip
3291    Use gzip, rather than compress, for builtin fonts.
3292
3293commit 47ca9941396a375f5e22c220327b6bd513350996
3294Author: Alan Coopersmith <alan.coopersmith@sun.com>
3295Date:   Thu Jul 13 14:58:56 2006 -0700
3296
3297    renamed: .cvsignore -> .gitignore
3298
3299commit 1bf657186d19887a0916340b544b5534e29da081
3300Author: Matthieu Herrb <matthieu.herrb@laas.fr>
3301Date:   Thu Jul 13 10:18:38 2006 -0400
3302
3303    Bug #7397: Fix a buffer overflow in Freetype font support.
3304
3305commit 5d39f5fd3048fc413cb07afeffec0c4daa0cc5a4
3306Author: Adam Jackson <ajax@benzedrine.nwnk.net>
3307Date:   Thu Jul 6 16:13:14 2006 -0400
3308
3309    Bump to 1.2.0
3310
3311commit d9e83ea0ab1cc3bafcdca04812dcbfe541ce1473
3312Author: Jie Luo <clotho67@gmail.com>
3313Date:   Thu Jul 6 15:59:31 2006 -0400
3314
3315    Bug #6918: remove dependencies on Freetype internal headers.  As of 2.2
3316    Freetype no longer installs them.
3317
3318commit 2a564715e6d01bafdf4b701e125e45a77c2c404b
3319Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3320Date:   Sat Jun 3 06:25:05 2006 +0000
3321
3322    Coverity #1541: Double free of pointer "ranges" in call to "Xfree"
3323
3324commit ddd281e6b9408c786cdc759cf7d1ec8972048658
3325Author: Adam Jackson <ajax@nwnk.net>
3326Date:   Thu Jun 1 21:49:51 2006 +0000
3327
3328    For the 20-odd symbols defined both in libXfont and the X server, emit them
3329        as weak symbols so that the linker will prefer the server's definition
3330        when present.
3331
3332commit e9357d6670fc2e8ccf8d8770bac4c31994d6cc2f
3333Author: Adam Jackson <ajax@nwnk.net>
3334Date:   Sat Apr 1 23:05:40 2006 +0000
3335
3336    Add ft.h and ftfuncs.h to the install set for Xprint's benefit. Bump to 1.1
3337        for new header files and bugfixes.
3338
3339commit 7ecd09a15c30770ed6e70d80fb67f88819471c20
3340Author: Daniel Stone <daniel@fooishbar.org>
3341Date:   Fri Mar 31 07:17:16 2006 +0000
3342
3343    Change BUILD_* to XFONT_* (Drew Parsons). Remove random #ifndef CRAY.
3344
3345commit 69c4ae1e3e14a58bc2eb9b9b8820dc7183b82a67
3346Author: Adam Jackson <ajax@nwnk.net>
3347Date:   Mon Mar 20 19:44:26 2006 +0000
3348
3349    Bug #6247: Fix build on Cygwin. (Yaakov Selkowitz)
3350
3351commit bfb8a71f4f7e5c5ed4278cb3ee271bf9990d276d
3352Author: Daniel Stone <daniel@fooishbar.org>
3353Date:   Tue Feb 21 21:35:32 2006 +0000
3354
3355    Don't crash when we receive an FS_Error from the font server (Guillem
3356        Jover).
3357
3358commit 784838e88ea205c4457f41335b4ce7876833dffc
3359Author: Kevin E Martin <kem@kem.org>
3360Date:   Thu Dec 15 00:24:29 2005 +0000
3361
3362    Update package version number for final X11R7 release candidate.
3363
3364commit e2e5839417ac4d635781508e48ab1838218f4a77
3365Author: Kevin E Martin <kem@kem.org>
3366Date:   Fri Dec 9 06:55:27 2005 +0000
3367
3368    Bug #5175: Make encodingsdir configurable.
3369
3370commit 9a7909e80a8b436aa7aad84c8aceba7df2ffc95c
3371Author: Kevin E Martin <kem@kem.org>
3372Date:   Sat Dec 3 05:49:43 2005 +0000
3373
3374    Update package version number for X11R7 RC3 release.
3375
3376commit ad001bd8823594fed860e070b278748fe2b7c3aa
3377Author: Eric Anholt <anholt@freebsd.org>
3378Date:   Sun Nov 20 23:17:40 2005 +0000
3379
3380    Add/improve libs .cvsignores.
3381
3382commit d48bfbaf52598d89b4b1d97b230924874175e068
3383Author: Kevin E Martin <kem@kem.org>
3384Date:   Sat Nov 19 07:15:41 2005 +0000
3385
3386    Update pkgconfig files to separate library build-time dependencies from
3387        application build-time dependencies, and update package deps to work
3388        with separate build roots.
3389
3390commit 70a8aeb19223cc6db9ff6fc1335e3ef94bbb9253
3391Author: Adam Jackson <ajax@nwnk.net>
3392Date:   Mon Nov 14 20:40:42 2005 +0000
3393
3394    Bug #5047: Make font directory attribs work in modular.
3395
3396commit 659b2a75a690838dc37ae488d0295c4c594978ce
3397Author: Kevin E Martin <kem@kem.org>
3398Date:   Wed Nov 9 21:19:13 2005 +0000
3399
3400    Update package version number for X11R7 RC2 release.
3401
3402commit fc82a56858e26674e83cc9429fa0eae24d97a530
3403Author: Kean Johnson <kean@armory.com>
3404Date:   Tue Nov 8 06:33:26 2005 +0000
3405
3406    See ChangeLog entry 2005-11-07 for details.
3407
3408commit fb3d726bbff1fad62a3d6dbbcf1c397872aadef3
3409Author: Adam Jackson <ajax@nwnk.net>
3410Date:   Sun Oct 23 18:32:05 2005 +0000
3411
3412    Bug #4721: Fix crash when using Freetype 2.1.10. (Michael Gor)
3413
3414commit 0f006d82f8edd15e0125800fa3166a147e79b9f5
3415Author: Kevin E Martin <kem@kem.org>
3416Date:   Wed Oct 19 02:48:10 2005 +0000
3417
3418    Update package version number for RC1 release.
3419
3420commit 70dfb55c0390cd8698a77baad5e9fbb07aab272d
3421Author: Kevin E Martin <kem@kem.org>
3422Date:   Wed Oct 5 19:39:06 2005 +0000
3423
3424    Include missing files
3425
3426commit 01f5840009b23cc504359219a6fbab3c150d4656
3427Author: Adam Jackson <ajax@nwnk.net>
3428Date:   Tue Oct 4 00:24:47 2005 +0000
3429
3430    Bug #4677: Don't install libfontcache.so
3431
3432commit 30f912cd14e8b7272a95586dc0af429a0fa4c84f
3433Author: Daniel Stone <daniel@fooishbar.org>
3434Date:   Fri Sep 9 05:32:58 2005 +0000
3435
3436    AC_DEFINE FONTCACHE rather than XFONT_FONTCACHE, as the former is used in
3437        the code, and the latter in Makefile.ams for an AM_CONDITIONAL.
3438
3439commit 4a2f7ae2f3317e53d99daf15ad362230388949d4
3440Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3441Date:   Thu Aug 4 16:15:46 2005 +0000
3442
3443    If --with-freetype-config is not specified, try pkgconfig freetype2, then
3444        fall back to freetype-config if pkgconfig fails.
3445
3446commit 0c52dd6f8816a72d8309f0b059afb0c3393f17cf
3447Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3448Date:   Sat Jul 30 18:56:32 2005 +0000
3449
3450    Clear compiler warnings. (Stefan Dirsch)
3451
3452commit 8520fa13d35e42da7352772b499beef258723d43
3453Author: Kevin E Martin <kem@kem.org>
3454Date:   Fri Jul 29 21:22:51 2005 +0000
3455
3456    Various changes preparing packages for RC0:
3457    - Verify and update package version numbers as needed
3458    - Implement versioning scheme
3459    - Change bug address to point to bugzilla bug entry form
3460    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
3461        reenable it)
3462    - Fix makedepend to use pkgconfig and pass distcheck
3463    - Update build script to build macros first
3464    - Update modular Xorg version
3465
3466commit d0c5d54d2c7f0bb9364414620df869e3c7615cd5
3467Author: Kevin E Martin <kem@kem.org>
3468Date:   Sat Jul 23 05:27:00 2005 +0000
3469
3470    Fix distchecks
3471
3472commit 561a45751e4c553f1e0887b73abcc724828f03b0
3473Author: Daniel Stone <daniel@fooishbar.org>
3474Date:   Sat Jul 16 07:55:12 2005 +0000
3475
3476    Set soversion to 1.0.0 using -version-number.
3477
3478commit 054dd01fd5793cff89f7c536c04fd8d904aca4a3
3479Author: Adam Jackson <ajax@nwnk.net>
3480Date:   Thu Jul 14 14:56:13 2005 +0000
3481
3482    Add a dummy source file to avoid link failures.
3483
3484commit 740cfa83024ce5d3f131cdc2f52dd5bf26f945b3
3485Author: Kevin E Martin <kem@kem.org>
3486Date:   Sun Jul 10 21:35:08 2005 +0000
3487
3488    Change include dir now that public headers are referenced by
3489        <X11/fonts/*.h>
3490
3491commit cd24fcabc449bbc701a25e3cad279009dec69032
3492Author: Keith Packard <keithp@keithp.com>
3493Date:   Sat Jul 9 23:31:40 2005 +0000
3494
3495    Switch from monolithic configuration symbols to modular ones, add backward
3496        compatibility for monolithic symbols
3497
3498commit 428dd333c1c1a96d205d8236c6ecee32dbf7cac9
3499Author: Keith Packard <keithp@keithp.com>
3500Date:   Sat Jul 9 23:30:07 2005 +0000
3501
3502    Switch from monolithic configuration symbols to modular ones, add backward
3503        compatibility for monolithic symbols
3504
3505commit 99cde389c331616f22dd6aab395c488f3a798e2e
3506Author: Keith Packard <keithp@keithp.com>
3507Date:   Sat Jul 9 23:15:37 2005 +0000
3508
3509    Rearrange configuration options so that individual font file formats drive
3510        combined options, and so that the default matches the monolithic
3511        defaults
3512    Extent fontconf.h to cover all formats
3513    Typo in src/Makefile.am failed to link in Type1 library
3514    Missing xttcap.c from FreeType shim library.
3515
3516commit 3c4ac0b9f5b7aced60a763bcaca7b32cd53a7fec
3517Author: Keith Packard <keithp@keithp.com>
3518Date:   Sat Jul 9 06:36:13 2005 +0000
3519
3520    Include config.h in every source file to make sure necessary options are
3521        found when building in the modular tree
3522
3523commit 712140dadd20c7d2024d7b75f7033fff407e57e6
3524Author: Keith Packard <keithp@keithp.com>
3525Date:   Sat Jul 9 06:20:37 2005 +0000
3526
3527    Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directory
3528
3529commit ef504c5311dfd441dcb73be64e90f6e7a530b61c
3530Author: Adam Jackson <ajax@nwnk.net>
3531Date:   Fri Jul 8 20:47:12 2005 +0000
3532
3533    add -D_XOPEN_SOURCE for linux builds; others might need it too
3534
3535commit 3ff8db61b901a4d6236a0e4fa40fe5f1b7afcf78
3536Author: Adam Jackson <ajax@nwnk.net>
3537Date:   Fri Jul 8 20:16:12 2005 +0000
3538
3539    disable the poll detection momentarily, it's not correct
3540
3541commit 830d29e5cb0a8c46cd366adefbf3a291c65bd3ac
3542Author: Adam Jackson <ajax@nwnk.net>
3543Date:   Fri Jul 8 20:08:12 2005 +0000
3544
3545    silence a warning
3546
3547commit 75bbb2d461957902258223a9f8f7f8490132e75d
3548Author: Adam Jackson <ajax@nwnk.net>
3549Date:   Fri Jul 8 19:53:05 2005 +0000
3550
3551    config.h includes to fix modular build.
3552
3553commit f068c478d0966be93f9e984c1e9ce2600819a6a1
3554Author: Adam Jackson <ajax@nwnk.net>
3555Date:   Fri Jul 8 18:29:58 2005 +0000
3556
3557    Properly test for the existance of poll(3). Default to using it if it
3558        exists; add a flag to disable it if you like going slow.
3559    Also s/BULITIN/BUILTIN/.
3560
3561commit e5f35e324548994f2d6df89d6bd0a4eb913f7414
3562Author: Alan Coopersmith <Alan.Coopersmith@sun.com>
3563Date:   Thu Jul 7 14:59:47 2005 +0000
3564
3565    Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2332
3566        <https://bugs.freedesktop.org/attachment.cgi?id=2332> This patch avoids
3567        79 gcc-3.4.3 warnings 'xxx' declared `static' but never defined mostly
3568        due to including "ftfuncs.h" with the declaration of static functions
3569        defined in "ftfuncs.c". (Peter Breitenlohner)
3570
3571commit c073ce34164a9872688ce619cc0b3fedbdc76f83
3572Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
3573Date:   Mon Jul 4 22:26:15 2005 +0000
3574
3575    Test for xtrans connection flags
3576
3577commit a0dc7d02bfcaea8c8a60dcbd00795999bd7f8e0a
3578Author: Kevin E Martin <kem@kem.org>
3579Date:   Sun Jul 3 21:43:32 2005 +0000
3580
3581    Undo previous change to add ${includedir}/X11/fonts to CFLAGS. Instead,
3582        require all apps to include font headers explicitly -- i.e., from
3583        <X11/fonts/*.h> instead of "*.h" or <*.h>.
3584
3585commit b15a03de6b1897d7c8292e154d0e927f43e3cde0
3586Author: Kevin E Martin <kem@kem.org>
3587Date:   Sun Jul 3 21:38:42 2005 +0000
3588
3589    Install publicly used headers in X11/fonts.
3590    Change source files that use these headers to get them via <X11/fonts/*.h>.
3591
3592commit bf4070d02196cab1de62d5fe19be9a1aa74a87c7
3593Author: Kevin E Martin <kem@kem.org>
3594Date:   Sun Jul 3 16:10:05 2005 +0000
3595
3596    Change include dir now that public headers are referenced by
3597        <X11/fonts/*.h>
3598
3599commit 932edb23b47440397447265bf72ad7932fd80070
3600Author: Daniel Stone <daniel@fooishbar.org>
3601Date:   Sun Jul 3 07:01:01 2005 +0000
3602
3603    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
3604    Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
3605    Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
3606        source files in the xserver/xorg tree, predicated on defines of
3607        HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
3608        <X11/fonts/foo.h>.
3609
3610commit b03d67fd1612a0df5132b10dd0bd9b2cec053a39
3611Author: Keith Packard <keithp@keithp.com>
3612Date:   Sat Jul 2 23:03:05 2005 +0000
3613
3614    Add suitable .cvsignore files
3615
3616commit 69ee19fc4131ce168c9bad2602ff2da176a86715
3617Author: Kevin E Martin <kem@kem.org>
3618Date:   Sat Jul 2 21:39:23 2005 +0000
3619
3620    Make headers needed by bdftopcf public
3621    Set CFLAGS to make public interface actually public
3622    Fix distcheck problem
3623
3624commit 0ea9f882abb9ad56de2bb8b569e21728e13a1ea7
3625Author: Keith Packard <keithp@keithp.com>
3626Date:   Sat Jul 2 21:22:31 2005 +0000
3627
3628    Build libXfont.la in the 'src' directory as my version of automake really
3629        didn't like sub-subdirs in SUBDIRS.
3630
3631commit 6abcfa406de44d726f550fe7e9b04e4168fce265
3632Author: Daniel Stone <daniel@fooishbar.org>
3633Date:   Sat Jul 2 18:02:19 2005 +0000
3634
3635    Remove -I${includedir}/X11/fonts from CFLAGS.
3636
3637commit 58edcd0de115e23030955493e88afb25b57668e9
3638Author: Daniel Stone <daniel@fooishbar.org>
3639Date:   Fri Jul 1 22:21:43 2005 +0000
3640
3641    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
3642
3643commit 12cca25eea410bfd536ada44e252d79e0896ffa2
3644Author: Daniel Stone <daniel@fooishbar.org>
3645Date:   Fri Jul 1 21:24:31 2005 +0000
3646
3647    Default --enable-fc to yes; minor formatting changes.
3648
3649commit 4534fa0c8adb77b7db47101318e0e863edb186ce
3650Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
3651Date:   Mon Jun 27 16:09:14 2005 +0000
3652
3653    - Remove fontenc from Xfont
3654    - Add a dependency from Xfont on libfontenc
3655    - Add build system for lib/fontenc
3656    - xc/lib/font: Change #include "fontenc.h" to #include
3657        <X11/fonts/fontenc.h> in some places.
3658    - Remove dpsinfo and dpsexec from the app section of symlink.sh
3659    - Fix xp.pc.in to add XPRINT_LIBS/CFLAGS instead of X_LIBS/CFLAGS
3660
3661commit fda7215c0783ad170eb14f7dda078fac3f134470
3662Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
3663Date:   Tue Jun 21 21:29:40 2005 +0000
3664
3665    Add fontenc directory, update buildsystem
3666
3667commit db8fd7e670cbd901116344212217bee8001ab460
3668Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
3669Date:   Fri Jun 17 20:33:33 2005 +0000
3670
3671    Add lbxutil to symlink.sh Add back accidentally removed include in Type1
3672        directory Disable Speedo by default
3673
3674commit e5525d268c6165318894f326be445b22a2523558
3675Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
3676Date:   Thu Jun 16 21:35:26 2005 +0000
3677
3678    Add Speedo directory to Xfont
3679
3680commit b96f539005da57273dc7e2bee13651de4eedf087
3681Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
3682Date:   Thu Jun 16 20:50:12 2005 +0000
3683
3684    Add Type1 subdirectory to lib/Xfonts, update build system accordingly.
3685
3686commit 01c8cee1736be252348306412ab56b2e03bf2678
3687Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
3688Date:   Thu Jun 9 15:56:05 2005 +0000
3689
3690    Replace <X11/transport.c> with <X11/Xtrans/transport.c>
3691
3692commit 3a46316e5f21e28402babdc95871317bd7013809
3693Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
3694Date:   Thu Jun 9 15:52:03 2005 +0000
3695
3696    Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
3697    Copy Xtrans.h to exports/include/X11/Xtrans only
3698
3699commit 175bbc2e58f7dbe5c1f097ef36eadc3f6fe4b5e6
3700Author: Josh Triplett <josh@speakeasy.net>
3701Date:   Fri May 27 17:44:08 2005 +0000
3702
3703    Reference X11/fonts header files using X11/fonts/ prefix.
3704
3705commit fd884a4dbe3f1be8919426da3ebd177fa474a59e
3706Author: Josh Triplett <josh@speakeasy.net>
3707Date:   Fri May 27 05:17:52 2005 +0000
3708
3709    Add Xfont.
3710
3711commit 73c3c1850bc5ba1b0d42b2a9d4f3f5593bfbfd02
3712Author: Adam Jackson <ajax@nwnk.net>
3713Date:   Fri Apr 22 20:49:49 2005 +0000
3714
3715    Bug #3069: Drop the BuildLowMem hack, it doesn't compile and isn't useful.
3716
3717commit dd695cb666d6912f615b264eaabbad63592588c1
3718Author: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>
3719Date:   Mon Nov 15 15:06:56 2004 +0000
3720
3721    Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added
3722        mingw (Win32) port
3723
3724commit 8cb3bec3667fa6ee57277956d3be71671915a73b
3725Author: Roland Mainz <roland.mainz@nrubsig.org>
3726Date:   Wed Nov 10 07:46:26 2004 +0000
3727
3728    xc/lib/font/util/Imakefile
3729    //freedesktop.org/bugzilla/show_bug.cgi?id=1804): Fix build failure (caused
3730        by missing symbols such as |TwoByteSwap|) when linking the FreeType
3731        module and the FreeType library both statically info the Xserver.
3732
3733commit 69e87288b14a9f28caf0ed5e4ccf5a52767b22eb
3734Author: Roland Mainz <roland.mainz@nrubsig.org>
3735Date:   Wed Nov 3 19:43:57 2004 +0000
3736
3737    //freedesktop.org/bugzilla/show_bug.cgi?id=1767): Fixing build bustage in
3738        xc/programs/bdftopcf/ due missing `FT_STREAM_SEEK'/`FT_STREAM_POS'
3739        symbols.
3740
3741commit 29b00ebfebf9811d0940c164a4fcff1b2fc5f2a0
3742Author: Egbert Eich <eich@suse.de>
3743Date:   Tue Nov 2 08:54:52 2004 +0000
3744
3745    Removing unneeded private FreeType2 symbol.
3746    Updating to EDID 1.3. (Bugzilla# 1490, Jay Cotton, Egbert Eich).
3747    Removing unneeded code.
3748    Fixed KGA handling for i810. KGA handling for chips derived from C&T chips
3749        is slightly different. The changes make the code consistent with the
3750        C&T (chips) and i740 drivers.
3751
3752commit e521b8425894ae62ebe225af80e8b6f820df6ff8
3753Author: Egbert Eich <eich@suse.de>
3754Date:   Wed Aug 4 12:21:48 2004 +0000
3755
3756    Optimization of CJK rendering when using versions of freetype prior to
3757        2.1.8 (Chisato Yamauchi).
3758    A small backward compatibility fix to make the freetype module build with
3759        freetype version < 2.1.7.
3760    Fixed/added some debugging code.
3761
3762commit 0cbe4e38042a21ee193b2fda42fa647e23f61758
3763Author: Egbert Eich <eich@suse.de>
3764Date:   Tue Aug 3 16:12:53 2004 +0000
3765
3766    fixed typo
3767
3768commit 3ebaa297368aaf4c49caf179d2032c1678066663
3769Author: Egbert Eich <eich@suse.de>
3770Date:   Tue Aug 3 09:02:17 2004 +0000
3771
3772    Bugzilla #925: Simpler version of backward compatibility fix (Chisato
3773        Yamauchi). Fix to support older versions of gcc (Matthieu Herrb).
3774
3775commit 96a97b8f86982ece612aa72865b737820d88105b
3776Author: Egbert Eich <eich@suse.de>
3777Date:   Mon Aug 2 19:35:07 2004 +0000
3778
3779    Removed distro specific stuff.
3780    Fixed FreeType module to build with FreeType versions older than 2.1.7.
3781    Fixed typo.
3782    Added vtSema to protect call of driver DPMS function.
3783    removed unneeded variable
3784    Modified RandR driver hook to reduce the number of function calls to one.
3785        Function is sufficiently generic to be extended in the future.
3786
3787commit d1054db0eec3af6a7c322b262cfc1bf5a3992805
3788Author: Egbert Eich <eich@suse.de>
3789Date:   Mon May 24 19:06:59 2004 +0000
3790
3791    Fix build glitches when building modules independently using Imake.
3792
3793commit 2a7109894f4dcfaba70135e19fb6d595332522c7
3794Author: Egbert Eich <eich@suse.de>
3795Date:   Wed May 5 17:24:40 2004 +0000
3796
3797    BugZilla #601: fixed missing symbols in Xserver freetype module due to
3798        using isdigit instead of ft_isdigit, missing or faulty defines for
3799        digit and string functions in ftstdlib.h (now myftstdlib.h). Reverted
3800        freetype2 to upstream version, fixed CHAR_BIT in myftstdlib.h and made
3801        the use of a copy of ftconfig.h in lib/font/FreeType obsolete (Egbert
3802        Eich).
3803
3804commit b096ed91beaa09eb06b07ef948eeb6207bd3c5e4
3805Author: Roland Mainz <roland.mainz@nrubsig.org>
3806Date:   Tue May 4 22:59:15 2004 +0000
3807
3808    Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=595 -
3809        RFE: Retire XTT font module and FreeType1 from xorg tree. The
3810        functionality of XTT has been integrated into the FreeType font module
3811        and the old XTT1.x code (incl. FreeType1 in xc/extras/) is no longer
3812        needed anymore.
3813
3814commit ca5602cde91fc78f54ebe9f08c11a44a9372a652
3815Author: Roland Mainz <roland.mainz@nrubsig.org>
3816Date:   Tue May 4 18:47:31 2004 +0000
3817
3818    Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=307 -
3819        Restore optimization heuristics on CJK fonts in the FreeType font
3820        module which were broken in X11R6.7. Patch by Chisato Yamauchi
3821        <cyamauch@a.phys.nagoya-u.ac.jp>.
3822
3823commit 3d75ea33ecf80c3539b38a993092cd16325a9525
3824Author: Egbert Eich <eich@suse.de>
3825Date:   Fri Apr 23 18:44:23 2004 +0000
3826
3827    Merging XORG-CURRENT into trunk
3828
3829commit 8ee2a19ff0295d625baf0b42e0a8bb7f4ad575fd
3830Author: Egbert Eich <eich@suse.de>
3831Date:   Sun Mar 14 08:32:37 2004 +0000
3832
3833    Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
3834
3835commit 4986cabb22d133aeb37b53514471ff7d5bf999fe
3836Author: Egbert Eich <eich@suse.de>
3837Date:   Wed Mar 3 12:11:44 2004 +0000
3838
3839    Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
3840
3841commit f827ecf1e0c4289b5020256f9bf5b8d563b202c7
3842Author: Egbert Eich <eich@suse.de>
3843Date:   Thu Feb 26 13:35:35 2004 +0000
3844
3845    readding XFree86's cvs IDs
3846
3847commit 90614769a00fbdaf6ef2e313b480e1f0857425f3
3848Author: Egbert Eich <eich@suse.de>
3849Date:   Thu Feb 26 09:22:53 2004 +0000
3850
3851    Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
3852
3853commit 45fc57ae316da51b2f9abab2aee303456730ab54
3854Author: Kaleb Keithley <kaleb@freedesktop.org>
3855Date:   Mon Feb 23 20:34:43 2004 +0000
3856
3857    Import most of XFree86 4.4RC3. This import excludes files which have the
3858        new license. If we want to, later we can import 4.4RC3 again and pick
3859        up the files that have the new license, but for now the vendor branch
3860        is "pure."
3861
3862commit d7467b679ccff6fb2025f963b9bcea5dbe72fa15
3863Author: Egbert Eich <eich@suse.de>
3864Date:   Thu Jan 29 08:08:15 2004 +0000
3865
3866    Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004
3867
3868commit a0e93cace89c3da8df33d8626a486afe6840d530
3869Author: Kaleb Keithley <kaleb@freedesktop.org>
3870Date:   Fri Dec 19 20:54:40 2003 +0000
3871
3872    XFree86 4.3.99.902 (RC 2)
3873
3874commit d82accff22e36919479b3ac1de72de6115688138
3875Author: Kaleb Keithley <kaleb@freedesktop.org>
3876Date:   Thu Dec 4 22:03:04 2003 +0000
3877
3878    XFree86 4.3.99.901 (RC 1)
3879
3880commit fb0cbe6e7287d635a5f368e055cc0aae6ed50125
3881Author: Kaleb Keithley <kaleb@freedesktop.org>
3882Date:   Tue Nov 25 19:28:20 2003 +0000
3883
3884    XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
3885
3886commit ca219ad2fc4f392505d378dfa5a2b34d33de6d61
3887Author: Kaleb Keithley <kaleb@freedesktop.org>
3888Date:   Tue Nov 25 19:28:16 2003 +0000
3889
3890    Initial revision
3891
3892commit 4349bf0fa125e2a1c32b0b49c974ff5fa588cdbe
3893Author: Kaleb Keithley <kaleb@freedesktop.org>
3894Date:   Fri Nov 14 16:48:50 2003 +0000
3895
3896    XFree86 4.3.0.1
3897
3898commit 3795e9702b3b3a6fe0594d09cdd110adeb5e42f9
3899Author: Kaleb Keithley <kaleb@freedesktop.org>
3900Date:   Fri Nov 14 16:48:50 2003 +0000
3901
3902    Initial revision
3903
3904commit 153e8da44452905ae04a0e20ad0d85f40399b4ca
3905Author: Kaleb Keithley <kaleb@freedesktop.org>
3906Date:   Fri Nov 14 15:54:40 2003 +0000
3907
3908    R6.6 is the Xorg base-line
3909