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