ChangeLog revision 3233502e
1commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 2Author: Matthieu Herrb <matthieu@herrb.eu> 3Date: Tue Aug 21 16:54:50 2018 +0200 4 5 libX11 1.6.6 6 7 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 8 9commit 173704243fbcbea0b6de2068b4fb403c7408fb54 10Author: Matthieu Herrb <matthieu@herrb.eu> 11Date: Tue Aug 21 16:53:40 2018 +0200 12 13 Remove statement with no effect. 14 15 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 16 17commit e83722768fd5c467ef61fa159e8c6278770b45c2 18Author: Tobias Stoeckmann <tobias@stoeckmann.org> 19Date: Fri Jul 27 16:38:00 2018 +0200 20 21 Fixed crash on invalid reply (CVE-2018-14598). 22 23 If the server sends a reply in which even the first string would 24 overflow the transmitted bytes, list[0] (or flist[0]) will be set to 25 NULL and a count of 0 is returned. 26 27 If the resulting list is freed with XFreeExtensionList or 28 XFreeFontPath later on, the first Xfree call: 29 30 Xfree (list[0]-1) 31 turns into 32 Xfree (NULL-1) 33 34 which will most likely trigger a segmentation fault. 35 36 I have modified the code to return NULL if the first string would 37 overflow, thus protecting the freeing functions later on. 38 39 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 40 41commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 42Author: Tobias Stoeckmann <tobias@stoeckmann.org> 43Date: Fri Jul 27 16:37:17 2018 +0200 44 45 Fixed out of boundary write (CVE-2018-14600). 46 47 The length value is interpreted as signed char on many systems 48 (depending on default signedness of char), which can lead to an out of 49 boundary write up to 128 bytes in front of the allocated storage, but 50 limited to NUL byte(s). 51 52 Casting the length value to unsigned char fixes the problem and allows 53 string values with up to 255 characters. 54 55 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 56 57commit b469da1430cdcee06e31c6251b83aede072a1ff0 58Author: Tobias Stoeckmann <tobias@stoeckmann.org> 59Date: Fri Jul 27 16:36:34 2018 +0200 60 61 Fixed off-by-one writes (CVE-2018-14599). 62 63 The functions XGetFontPath, XListExtensions, and XListFonts are 64 vulnerable to an off-by-one override on malicious server responses. 65 66 The server replies consist of chunks consisting of a length byte 67 followed by actual string, which is not NUL-terminated. 68 69 While parsing the response, the length byte is overridden with '\0', 70 thus the memory area can be used as storage of C strings later on. To 71 be able to NUL-terminate the last string, the buffer is reserved with 72 an additional byte of space. 73 74 For a boundary check, the variable chend (end of ch) was introduced, 75 pointing at the end of the buffer which ch initially points to. 76 Unfortunately there is a difference in handling "the end of ch". 77 78 While chend points at the first byte that must not be written to, 79 the for-loop uses chend as the last byte that can be written to. 80 81 Therefore, an off-by-one can occur. 82 83 I have refactored the code so chend actually points to the last byte 84 that can be written to without an out of boundary access. As it is not 85 possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 86 with the corrected chend meaning, I removed the inner if-check. 87 88 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 89 90commit d81da209fd4d0c2c9ad0596a8078e58864479d0d 91Author: Tobias Stoeckmann <tobias@stoeckmann.org> 92Date: Tue Jul 3 22:31:37 2018 +0200 93 94 Validation of server response in XListHosts. 95 96 If a server sends an incorrect length in its response, a client is prone 97 to perform an out of boundary read while processing the data. 98 99 The length field of xHostEntry is used to specify the amount of bytes 100 used to represent the address. It is 16 bit, which means that it is not 101 possible to perform an arbitrary memory access, but it might be enough 102 to read sensitive information, e.g. malloc-related pointers and offsets. 103 104 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 105 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 106 107commit b676e62377483df77bcb6472d26b24f901323fa9 108Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 109Date: Wed Jun 13 15:46:58 2018 +0200 110 111 XkbOpenDisplay.3: fix typo 112 113 XkbOpenDisplay returns a pointer to Display, not a Display. 114 115 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 116 117commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 118Author: Martin Natano <natano@natano.net> 119Date: Sat Oct 8 19:57:50 2016 +0200 120 121 Don't rebuild ks_tables.h if nothing changed. 122 123 ks_tables.h is always considered out of date due to the forced rebuild 124 of the makekeys util. This means the file is also rebuilt during 'make 125 install', which is usually performed as root, which can to lead 126 permission problems later on. 127 128 Signed-off-by: Martin Natano <natano@natano.net> 129 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 130 131commit 796f754cba6d75b676a0fc39b97802198fceda4f 132Author: Alan Coopersmith <alan.coopersmith@oracle.com> 133Date: Sat May 5 14:43:30 2018 -0700 134 135 Change fall through comment in lcDB.c to match gcc's requirements 136 137 Needs to match one of the regexps shown under 138 https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 139 140 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 141 142commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 143Author: Alan Coopersmith <alan.coopersmith@oracle.com> 144Date: Sat Mar 24 19:45:14 2018 -0700 145 146 Use size_t for buffer sizes in SetHints.c 147 148 These variables store values returned from strlen() as a size_t 149 and are passed to Xmalloc, which expects a size_t, so lets stop 150 converting back and forth to int along the way. 151 152 Reported by: Konstantin SKliarov 153 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 154 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 155 156commit 50a5a98984097d614227d22a49265e12b172cac7 157Author: Bhavi Dhingra <b.dhingra@samsung.com> 158Date: Tue Jul 5 11:37:50 2016 +0530 159 160 Fix possible memory leak in cmsProp.c:140 161 162 https://bugs.freedesktop.org/show_bug.cgi?id=96814 163 164 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 165 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 166 167commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 168Author: Michal Srb <msrb@suse.com> 169Date: Thu Mar 15 09:50:58 2018 +0100 170 171 Use flexible array member instead of fake size. 172 173 The _XimCacheStruct structure is followed in memory by two strings containing 174 fname and encoding. The memory was accessed using the last member of the 175 structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 176 confuses checkers. Lets declare it properly as a flexible array, so compilers 177 don't complain about writing past that array. As bonus we can replace the 178 XOffsetOf with regular sizeof. 179 180 Fixes GCC8 error: 181 In function 'strcpy', 182 inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 183 inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 184 inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 185 /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 186 forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 187 return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 188 189 Caused by this line seemingly writing past the fname[1] array: 190 imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 191 192 Reviewed-by: Keith Packard <keithp@keithp.com> 193 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 194 195commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 196Author: Alan Coopersmith <alan.coopersmith@oracle.com> 197Date: Tue Mar 6 11:42:27 2018 -0800 198 199 If XGetImage fails to create image, don't dereference it to bounds check 200 201 Reported by gcc 7.3: 202 203 GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 204 if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 205 ~~~~~^~~~~~~~ 206 207 Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 208 209 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 210 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 211 212commit e835a9dcc3362b5e92893be756dd7ae361e64ced 213Author: wharms <wharms@bfs.de> 214Date: Sun Sep 3 14:17:45 2017 +0200 215 216 silence gcc warning assignment discards 'const' qualifier from pointer target type 217 218commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 219Author: wharms <wharms@bfs.de> 220Date: Sun Aug 20 21:51:57 2017 +0200 221 222 remove empty line 223 224commit e02dfe54f32b4165351d2712a9d2e0584906a3ce 225Author: wharms <wharms@bfs.de> 226Date: Sun Aug 20 21:50:33 2017 +0200 227 228 add _X_UNUSED to avoid unused variable warnings 229 230commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 231Author: walter harms <wharms@bfs.de> 232Date: Sat Jun 4 17:19:59 2016 +0200 233 234 Fixes: warning: variable 'req' set but not,used 235 236 Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 237 by marking req _X_UNUSED 238 Solution was discussed on xorg-devel ML 239 Peter Hutter, Alan Coopersmith 240 Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 241 242 Signed-off-by: harms wharms@bfs.de 243 244commit bf82ec0402479fd8399d69e7d62fc17d7956699a 245Author: walter harms <wharms@bfs.de> 246Date: Sat Jun 4 17:22:07 2016 +0200 247 248 mark _XDefaultIOError as no_return 249 250 mark _XDefaultIOError as no_return. No one comes back from exit() ... 251 252 Signed-off-by: harms wharms@bfs.de 253 254commit 9abe8380074edea3ac4e72466ec47e921ca05e47 255Author: walter harms <wharms@bfs.de> 256Date: Sat Jun 4 17:21:52 2016 +0200 257 258 no need to check XFree arguments 259 260 You can save a bit of code. The is no need to check XFree arguments bring free_fontdataOM in line with other free function and check for NULL arg 261 262 Signed-off-by: harms wharms@bfs.de 263 264commit 433477fcb7e07d0c26a22ba78aae88827ed1f440 265Author: walter harms <wharms@bfs.de> 266Date: Tue Apr 26 16:32:20 2016 +0200 267 268 fix memleak in error path 269 270 free all mem on error 271 Signed-off-by: walter harms <wharms@bfs.de> 272 273commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 274Author: walter harms <wharms@bfs.de> 275Date: Tue Apr 26 17:58:16 2016 +0200 276 277 fix memleak in error path 278 279 V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 280 281 fix mem leak in error path 282 Signed-off-by: walter harms <wharms@bfs.de> 283 284commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 285Author: walter harms <wharms@bfs.de> 286Date: Tue Apr 26 16:34:11 2016 +0200 287 288 no need to check args for Xfree() 289 290 simplify code 291 292 Signed-off-by: walter harms <wharms@bfs.de> 293 294commit c1c14af441ae73d1a8e67a971fafcf967e45ac48 295Author: walter harms <wharms@bfs.de> 296Date: Tue Apr 26 16:23:46 2016 +0200 297 298 remove stray extern 299 300 remove stray extern 301 302 Signed-off-by: walter harms <wharms@bfs.de> 303 304commit 714921f041a245dc5f37a689268b584226a2ccb9 305Author: walter harms <wharms@bfs.de> 306Date: Mon Apr 11 18:26:52 2016 +0200 307 308 no need to check argument for _XkbFree() 309 310 simplify code by removing unneeded checks 311 312 Signed-off-by: walter harms <wharms@bfs.de> 313 314commit d02c2466f65063a03c97dbcee05071c12a3676e6 315Author: walter harms <wharms@bfs.de> 316Date: Mon Apr 11 18:22:38 2016 +0200 317 318 fix more shadow warning 319 320 Signed-off-by: walter harms <wharms@bfs.de> 321 322commit 0355c3926d5372f9762f235071dbd94a89bbbdad 323Author: walter harms <wharms@bfs.de> 324Date: Thu Mar 31 19:16:33 2016 +0200 325 326 fix shadow char_size 327 328 Signed-off-by: walter harms <wharms@bfs.de> 329 330commit 916dffadf052135df3398651be873c353da629e1 331Author: walter harms <wharms@bfs.de> 332Date: Thu Mar 31 19:14:32 2016 +0200 333 334 remove argument check for free() adjust one inden 335 336 Signed-off-by: walter harms <wharms@bfs.de> 337 338commit 6ec901ebca3fea6a762e22090dc35b1b90911133 339Author: walter harms <wharms@bfs.de> 340Date: Thu Mar 31 19:12:17 2016 +0200 341 342 _XIOError(dpy); will never return so remore dead 343 344 Signed-off-by: walter harms <wharms@bfs.de> 345 346commit 83107a677b2ed458e4d62ea4a601e8181d3683d8 347Author: walter harms <wharms@bfs.de> 348Date: Thu Mar 31 19:10:49 2016 +0200 349 350 fix shadow warning 351 352 Signed-off-by: walter harms <wharms@bfs.de> 353 354commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 355Author: Ryan C. Gordon <icculus@icculus.org> 356Date: Wed Aug 2 02:41:03 2017 -0400 357 358 Valgrind fix for XStoreColor and XStoreColors. 359 360 If the "pad" field isn't set, Valgrind will report it as uninitialized 361 memory accesses when the struct is copied into the Display's send buffer. 362 363 In practice, this is (probably) harmless, but Valgrind is correct in 364 believing it's a bug. 365 366 https://bugs.freedesktop.org/attachment.cgi?id=133189 367 368 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 369 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 370 371commit 7d2010fec25c2f52b873ad0572479eb43128b038 372Author: Alan Coopersmith <alan.coopersmith@oracle.com> 373Date: Fri Apr 7 00:13:03 2017 -0700 374 375 Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 376 377 Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 378 contains some malformed text" caused by extra whitespace after .TE macros 379 380 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 381 382commit b856d5d929047d1ea169814d56e43784ea404c83 383Author: Alan Coopersmith <alan.coopersmith@oracle.com> 384Date: Thu Mar 16 00:05:49 2017 -0700 385 386 Clarify state parameter to XkbSetNamedDeviceIndicator 387 388 Checking a Bool to see if it's NULL does not work well in C. 389 Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 390 391 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 392 Reviewed-by: Adam Jackson <ajax@redhat.com> 393 394commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 395Author: Alan Coopersmith <alan.coopersmith@oracle.com> 396Date: Wed Mar 15 23:50:26 2017 -0700 397 398 Make Xkb{Get,Set}NamedIndicator spec & manpages match code 399 400 The XKB Library spec and the man pages for XkbGetNamedIndicator & 401 XkbSetNamedIndicator included a device_spec argument neither function 402 takes, and do not include the XkbGetNamedDeviceIndicator & 403 XkbSetNamedDeviceIndicator variants that do take it (along with two 404 other arguments). 405 406 This updates them to match the interfaces the code has provided for 407 decades. 408 409 This has been reported multiple times, so this fixes: 410 https://bugs.freedesktop.org/show_bug.cgi?id=251 411 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 412 Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 413 (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 414 X.Org Group Defect Id #9418 415 416 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 417 Reviewed-by: Adam Jackson <ajax@redhat.com> 418 419commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 420Author: Arthur Huillet <ahuillet@nvidia.com> 421Date: Wed Feb 1 15:02:41 2017 +0100 422 423 _XDefaultError: set XlibDisplayIOError flag before calling exit 424 425 _XReply isn't reentrant, and it can lead to deadlocks when the default error 426 handler is called: _XDefaultError calls exit(1). It is called indirectly by 427 _XReply when a X protocol error comes in that isn't filtered/handled by an 428 extension or the application. This means that if the application (or one of its 429 loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 430 _fini destructor, _fini will get called while still on the call stack of 431 _XReply. If the destructor interacts with the X server and calls _XReply, it 432 will hit a deadlock, looping on the following in _XReply: 433 434 ConditionWait(dpy, dpy->xcb->reply_notify); 435 436 It is legal for an application to make Xlib calls during _fini, and that is 437 useful for an OpenGL driver to avoid resource leaks on the X server side, for 438 example in the dlopen/dlclose case. However, the driver can not readily tell 439 whether its _fini is being called because Xlib called exit, or for another 440 reason (dlclose), so it is hard to cleanly work around this issue in the driver. 441 442 This change makes it so _XReply effectively becomes a no-op when called after 443 _XDefaultError was called, as though an XIOError had happened. The dpy 444 connection isn't broken at that point, but any call to _XReply is going to hang. 445 This is a bit of a kludge, because the more correct solution would be to make 446 _XReply reentrant, maybe by broadcasting the reply_notify condition before 447 calling the default error handler. However, such a change would carry a grater 448 risk of introducing regressions in Xlib. 449 450 This change will drop some valid requests on the floor, but this should not 451 matter, as it will only do so in the case where the application is dying: X will 452 clean up after it once exit() is done running. There is the case of 453 XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 454 to clean up resources in _fini would currently be hitting a deadlock, which is 455 hardly a better situation. 456 457 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 458 Reviewed-by: Jamey Sharp <jamey@minilop.net> 459 460commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 461Author: Matt Turner <mattst88@gmail.com> 462Date: Sat Feb 25 21:54:22 2017 -0800 463 464 libX11 1.6.5 465 466 Signed-off-by: Matt Turner <mattst88@gmail.com> 467 468commit a0da5835e8078445947c828fe2d86c1a31439012 469Author: Adam Jackson <ajax@redhat.com> 470Date: Tue Feb 14 15:33:29 2017 -0500 471 472 Revert "Compose sequences for rouble sign" 473 474 This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 475 476 Reported to break 'make check': 477 478 https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 479 480commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 481Author: Mihail Konev <k.mvc@ya.ru> 482Date: Fri Feb 10 18:48:18 2017 +0500 483 484 Compose sequences for rouble sign 485 486 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 487 Also add Cyrillic sequences for hryvnia sign. 488 489 Submitted-by: Victor V. Kustov <coyote@bks.tv> 490 Reviewed-by: Victor V. Kustov <coyote@bks.tv> 491 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 492 493commit 23d9623c661694aba8cf1e8f277dffa7a86cf065 494Author: Petr Písař <petr.pisar@atlas.cz> 495Date: Sun Oct 30 12:49:11 2016 +0100 496 497 Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 498 499 The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 500 locale and reporting this error: 501 502 Warning: locale not supported by Xlib, locale set to C 503 504 Therefore this patch reverts to the en_US.UTF-8 definition file that was used 505 before. This patch also deduplicates the cs_CZ.UTF-8 entry. 506 507 <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 508 509 This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 510 511 Signed-off-by: Julien Cristau <jcristau@debian.org> 512 513commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 514Author: Mihail Konev <k.mvc@ya.ru> 515Date: Thu Jan 26 13:52:49 2017 +1000 516 517 autogen: add default patch prefix 518 519 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 520 521commit 2979011bc170c55894b9185b26376f8efc6db7d4 522Author: Emil Velikov <emil.l.velikov@gmail.com> 523Date: Mon Mar 9 12:00:52 2015 +0000 524 525 autogen.sh: use quoted string variables 526 527 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 528 fall-outs, when they contain space. 529 530 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 531 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 532 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 533 534commit 4a0082a1b6affa65d38294f0e13511525cd8ad15 535Author: Peter Hutterer <peter.hutterer@who-t.net> 536Date: Tue Jan 24 10:32:07 2017 +1000 537 538 autogen.sh: use exec instead of waiting for configure to finish 539 540 Syncs the invocation of configure with the one from the server. 541 542 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 543 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 544 545commit c74b070f2712c95f0db7c320a10232b0e5c83049 546Author: Julien Cristau <jcristau@debian.org> 547Date: Sat Jan 7 16:20:31 2017 +0100 548 549 Fix wrong Xfree in XListFonts failure path 550 551 'ch' gets moved inside the allocated buffer as we're looping through 552 fonts, so keep a reference to the start of the buffer so we can pass 553 that to Xfree in the failure case. 554 555 Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 556 557 Signed-off-by: Julien Cristau <jcristau@debian.org> 558 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 559 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 560 561commit 663f47075fe67bab4f99bc5d186c49175d4a4334 562Author: Alan Coopersmith <alan.coopersmith@oracle.com> 563Date: Sun Jan 1 20:57:58 2017 -0800 564 565 specs/libX11: Update Portability Considerations for the 21st century 566 567 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 568 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 569 570commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 571Author: Alan Coopersmith <alan.coopersmith@oracle.com> 572Date: Sun Jan 1 20:39:53 2017 -0800 573 574 specs/libX11: Fix broken synopsis for Data/Data16/Data32 575 576 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 577 578commit 382561951e3460b09c21a1a23748cde0315fbb19 579Author: Alan Coopersmith <alan.coopersmith@oracle.com> 580Date: Sun Jan 1 20:31:54 2017 -0800 581 582 specs/libX11: Add missing parameter types for XGetWindowProperty() 583 584 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 585 586commit 2beaecdb66965b861d6b790d151ba947f65f0a22 587Author: Alan Coopersmith <alan.coopersmith@oracle.com> 588Date: Sun Jan 1 20:16:08 2017 -0800 589 590 specs/libX11: Make paramdef spacing more consistent 591 592 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 593 594commit 4c436c6c14cfd4c397b011563bf13c2872861133 595Author: Alan Coopersmith <alan.coopersmith@oracle.com> 596Date: Sun Jan 1 20:02:53 2017 -0800 597 598 specs/libX11: Fix paramdef entries listing multiple parameters 599 600 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 601 602commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 603Author: Alan Coopersmith <alan.coopersmith@oracle.com> 604Date: Sun Jan 1 19:38:40 2017 -0800 605 606 specs/libX11: More synopsis fixes 607 608 Mostly transforming macro definitions and functions taking void arguments 609 from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 610 611 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 612 613commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 614Author: Lucien Gentis <lucien.gentis@waika9.com> 615Date: Wed Jun 1 17:02:47 2016 +0200 616 617 Typos in "Xlib - C Language X Interface" document - Chapter 02 618 619 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 620 621 Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 622 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 623 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 624 625commit 20a3f99eba5001925b8b313da3accb7900eb1927 626Author: Emilio Pozuelo Monfort <pochu@debian.org> 627Date: Tue Oct 25 21:30:15 2016 +0200 628 629 Plug a memory leak 630 631 This was introduced in 8ea762f. 632 633 Reported-by: Julien Cristau <jcristau@debian.org> 634 Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 635 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 636 637commit 8f349feac24aacc958bd816afcc52380764e3d92 638Author: Matthieu Herrb <matthieu.herrb@laas.fr> 639Date: Tue Oct 4 21:01:39 2016 +0200 640 641 libX11 1.6.4 642 643 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 644 645commit 8ea762f94f4c942d898fdeb590a1630c83235c17 646Author: Tobias Stoeckmann <tobias@stoeckmann.org> 647Date: Sun Sep 25 21:25:25 2016 +0200 648 649 Validation of server responses in XGetImage() 650 651 Check if enough bytes were received for specified image type and 652 geometry. Otherwise GetPixel and other functions could trigger an 653 out of boundary read later on. 654 655 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 656 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 657 658commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 659Author: Tobias Stoeckmann <tobias@stoeckmann.org> 660Date: Sun Sep 25 21:22:57 2016 +0200 661 662 The validation of server responses avoids out of boundary accesses. 663 664 v2: FontNames.c return a NULL list whenever a single 665 length field from the server is incohent. 666 667 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 668 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 669 670commit 78851f6a03130e3c720b60c3cbf96f8eb216d741 671Author: walter harms <wharms@bfs.de> 672Date: Mon Aug 15 19:18:14 2016 +0200 673 674 XFree will accept NULL as argument 675 676 since Xfree is a define for free(): 677 Xlibint.h:#define Xfree(ptr) free((ptr)) 678 679 Xfree will accept NULL and do nothing. 680 681 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 682 683commit 83adf3d1e3d0d6602244381334f75c216da4ab6e 684Author: Matthew D. Fuller <fullermd@over-yonder.net> 685Date: Sat Jun 4 11:24:01 2016 -0500 686 687 Fixup param specification for XChangeProperty() 688 689 Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 690 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 691 692commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 693Author: Mats Blakstad <mats.gbproject@gmail.com> 694Date: Sun Feb 28 13:22:03 2016 -0500 695 696 New compose keys for local languages in Togo 697 698 Signed-off-by: James Cloos <cloos@jhcloos.com> 699 700commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 701Author: Daniel Albers <daniel@lbe.rs> 702Date: Wed Mar 9 14:35:48 2016 +0100 703 704 Add Compose sequence for U+1F4A9. 705 706 Signed-off-by: Daniel Albers <daniel@lbe.rs> 707 708commit 6d7bb040c928485f2557c2c914b95cffb2354179 709Author: Alan Coopersmith <alan.coopersmith@oracle.com> 710Date: Sat Feb 6 14:18:32 2016 -0800 711 712 xcms: use size_t for pointer offsets passed to strncmp 713 714 instead of converting to int and back 715 716 Fixes clang warnings of the form: 717 HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 718 'unsigned long' [-Wsign-conversion] 719 if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 720 ~~~~~~~ 721 722 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 723 724commit a9266804eed38a83897ab5f0f9f8a8ab82a98882 725Author: Alan Coopersmith <alan.coopersmith@oracle.com> 726Date: Sat Feb 6 13:32:44 2016 -0800 727 728 xcms: use unsigned indexes when looping through unsigned values 729 730 Clears many gcc warnings of the form: 731 732 uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 733 uvY.c:263:19: warning: comparison between signed and unsigned integer 734 expressions [-Wsign-compare] 735 for (i = 0; i < nColors; i++, pColor++) { 736 ^ 737 738 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 739 740commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 741Author: Alan Coopersmith <alan.coopersmith@oracle.com> 742Date: Sat Feb 6 13:01:25 2016 -0800 743 744 xcms: use size_t for strlen/sizeof values instead of converting to int & back 745 746 Fixes gcc warnings of the form: 747 748 IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 749 IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 750 if ((len = strlen(prefix)) >= sizeof(string_buf)) { 751 ^ 752 IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 753 if (len >= sizeof(string_buf)) Xfree(string_lowered); 754 ^ 755 IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 756 if (len >= sizeof(string_buf)) Xfree(string_lowered); 757 ^ 758 IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 759 if (len >= sizeof(string_buf)) Xfree(string_lowered); 760 ^ 761 762 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 763 764commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 765Author: Dominik Muth <nxdomainuser-muth@yahoo.com> 766Date: Thu Mar 26 07:52:58 2015 +0100 767 768 Xlib.h: Fix macros imitating C functions. 769 770 The basic rule "put parantheses around macro parameters" should be 771 observed where possible. Otherwise code like 772 773 ConnectionNumber(foo = bar); 774 775 fails to compile. (It obviously passes if ConnectionNumber is a C 776 function.) There are several other macros amended for the same reason. 777 778 This bug appeared while building http://ioccc.org/1993/cmills.c, so 779 historically it was not present. 780 781 Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 782 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 783 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 784 785commit 3706b0f2b14cc97578a6bee620266edca2722ebf 786Author: Alan Coopersmith <alan.coopersmith@oracle.com> 787Date: Fri Nov 15 18:03:25 2013 -0800 788 789 Don't need to link libX11-xcb against libX11 790 791 libX11-xcb only accesses data structures defined in X11 headers, 792 it doesn't call any functions or reference any global variables 793 in libX11 itself. (Seems to have been left from previous XCL 794 implementation.) 795 796 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 797 798commit eddf1bbd18872b286a9f939140f0cd9ba4e93804 799Author: Alan Coopersmith <alan.coopersmith@oracle.com> 800Date: Fri Jan 22 11:44:25 2016 -0800 801 802 Stop checking for preferred order of local transports 803 804 Removes --with-local-transport-order=... flag to configure. 805 806 Code which used this ordered list was removed in commit 15e5eaf6289 807 which outsourced X11 connection handling & authentication to libxcb. 808 809 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 810 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 811 812commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 813Author: Alan Coopersmith <alan.coopersmith@oracle.com> 814Date: Fri Jan 22 09:39:28 2016 -0800 815 816 Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 817 818 Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 819 820 Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 821 which outsourced X11 connection handling & authentication to libxcb. 822 823 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 824 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 825 826commit 7eb724dc24505f1591ef32620fa63f079b540646 827Author: Olivier Fourdan <ofourdan@redhat.com> 828Date: Thu Jan 21 11:54:19 2016 +0100 829 830 XKB: fix XkbGetKeyboardByName with Xming server 831 832 XkbGetKeyboardByName relies on flags to read the data from the server. 833 834 If the X server sends us the wrong flags or if a subreply is smaller 835 than it should be, XkbGetKeyboardByName will not read all the available 836 data and leave data in the buffer, which will cause the next _XReply() 837 to fail with: 838 839 [xcb] Extra reply data still left in queue 840 [xcb] This is most likely caused by a broken X extension library 841 [xcb] Aborting, sorry about that. 842 xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 843 Aborted 844 845 Check if there is some extra data left at the end of 846 XkbGetKeyboardByName() and discard that data if any is found. 847 848 Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 849 root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 850 with the analysis! 851 852 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 853 Reviewed-by: Daniel Stone <daniels@collabora.com> 854 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 855 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 856 857commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 858Author: Alan Coopersmith <alan.coopersmith@oracle.com> 859Date: Sat Dec 19 18:03:41 2015 -0800 860 861 lcPubWrap: replace malloc(strlen) + strcpy with strdup 862 863 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 864 Reviewed-by: Adam Jackson <ajax@redhat.com> 865 866commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 867Author: Alan Coopersmith <alan.coopersmith@oracle.com> 868Date: Sat Dec 19 10:21:04 2015 -0800 869 870 XlcDL.c: reduce code duplication 871 872 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 873 Reviewed-by: Adam Jackson <ajax@redhat.com> 874 875commit f7ecc0856be58608881d2086954cb71857ad64e1 876Author: Alan Coopersmith <alan.coopersmith@oracle.com> 877Date: Sat Dec 19 10:19:25 2015 -0800 878 879 XlcDL.c: replace strcpy+strcat sequences with snprintf 880 881 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 882 Reviewed-by: Adam Jackson <ajax@redhat.com> 883 884commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 885Author: Alan Coopersmith <alan.coopersmith@oracle.com> 886Date: Sat Dec 19 10:05:42 2015 -0800 887 888 XDefaultOMIF: Remove comments referring to ancient Sun bug ids 889 890 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 891 Reviewed-by: Adam Jackson <ajax@redhat.com> 892 893commit b738a104ae80e4270dd1d215ad0c6a80016982c2 894Author: Alan Coopersmith <alan.coopersmith@oracle.com> 895Date: Sat Dec 19 10:00:22 2015 -0800 896 897 XDefaultOMIF: additional code simplification 898 899 Don't need to test for a case that we already returned for, don't need 900 to store a count that will only ever be 1 if we didn't return, don't 901 need to increment pointers to allow storing more than one item when we 902 can only ever possibly do one. 903 904 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 905 Reviewed-by: Adam Jackson <ajax@redhat.com> 906 907commit 31011cf100419269eae7409581c784638be503cf 908Author: Alan Coopersmith <alan.coopersmith@oracle.com> 909Date: Sat Dec 19 09:46:31 2015 -0800 910 911 XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 912 913 Code seems to have been originally written to handle appending multiple 914 strings, but only ever operates on a single string. 915 916 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 917 Reviewed-by: Adam Jackson <ajax@redhat.com> 918 919commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 920Author: Alan Coopersmith <alan.coopersmith@oracle.com> 921Date: Sat Dec 19 09:20:55 2015 -0800 922 923 Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 924 925 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 926 Reviewed-by: Adam Jackson <ajax@redhat.com> 927 928commit 4359dfabc04af082872d2bc2d5b52e26d6d93290 929Author: Alan Coopersmith <alan.coopersmith@oracle.com> 930Date: Fri Dec 4 22:20:53 2015 -0800 931 932 Delete #if 0 hunks of code 933 934 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 935 936commit a2f9dfac286f37e54eb47d4736cc3f0150224a84 937Author: Alan Coopersmith <alan.coopersmith@oracle.com> 938Date: Thu Dec 3 23:38:07 2015 -0800 939 940 Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 941 942 Rework code to store allocations directly into XIM struct instead of 943 temporary local variables, so we can use _XCloseIM to unwind instead 944 of duplicating it, and consistently jump to error handler on failure, 945 instead of sometimes leaking and sometimes freeing. 946 947 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 948 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 949 950commit 07a97b3944467dce085a1efd24706cc851d2caf2 951Author: Alan Coopersmith <alan.coopersmith@oracle.com> 952Date: Thu Dec 3 23:19:48 2015 -0800 953 954 Bug 93184: read_EncodingInfo invalid free 955 956 Free the correct bits of memory if we run out and need to unwind 957 958 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 959 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 960 961commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 962Author: Alan Coopersmith <alan.coopersmith@oracle.com> 963Date: Sat Nov 28 13:18:11 2015 -0800 964 965 Remove unused definition of XCONN_CHECK_FREQ 966 967 The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 968 when we dropped the old Xlib connection handling in favor of xcb's. 969 970 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 971 Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 972 973commit 5f0da8311a61498edf073cc877f5b467bfd5f863 974Author: James Cloos <cloos@jhcloos.com> 975Date: Thu Dec 3 18:24:44 2015 -0500 976 977 Fix another missing update in cf4d5989383a 978 979 Reported in: 980 981 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 982 983 Signed-off-by: James Cloos <cloos@jhcloos.com> 984 985commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 986Author: James Cloos <cloos@jhcloos.com> 987Date: Thu Dec 3 18:15:40 2015 -0500 988 989 Fix missing update in cf4d5989383a 990 991 Reported in: 992 993 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 994 995 Signed-off-by: James Cloos <cloos@jhcloos.com> 996 997commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 998Author: Alan Coopersmith <alan.coopersmith@oracle.com> 999Date: Sun Sep 27 18:38:32 2015 -0700 1000 1001 Get rid of some extraneous ; at the end of C source lines 1002 1003 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1004 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 1005 1006commit 121a1bad334459f66f78bfca6df53dc841cf97f8 1007Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 1008Date: Wed Sep 23 11:44:55 2015 -0400 1009 1010 Add compose file for pt_PT similar to pt_BR 1011 1012 This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 1013 1014 One of the conclusions from the discussion on that bug report, which 1015 basically is about typing the ccedilla character easily on a non- 1016 Portuguese keyboard, is that X11 should include a compose file for 1017 pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 1018 1019 FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 1020 1021 Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 1022 Signed-off-by: James Cloos <cloos@jhcloos.com> 1023 1024commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 1025Author: Julien Cristau <jcristau@debian.org> 1026Date: Fri May 1 13:50:15 2015 +0200 1027 1028 Mark _XNextRequest as hidden 1029 1030 It's only used inside XNextRequest(), so doesn't need to be exported. 1031 1032 Signed-off-by: Julien Cristau <jcristau@debian.org> 1033 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1034 1035commit a72d2d06c002b644b7040a0a9936c8525e092ba8 1036Author: Christian Linhart <chris@demorecorder.com> 1037Date: Mon Sep 7 17:17:32 2015 +0200 1038 1039 fix for Xlib 32-bit request number issues 1040 1041 Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 1042 the 32-bit sequence number wrap in libX11. 1043 1044 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 1045 Signed-off-by: Christian Linhart <chris@demorecorder.com> 1046 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 1047 Reviewed-by: Adam Jackson <ajax@redhat.com> 1048 1049commit 58af066a764305c506efea7065ef7679369a1a98 1050Author: Thomas Klausner <wiz@NetBSD.org> 1051Date: Sun Jul 19 10:23:21 2015 +0200 1052 1053 Ignore test-driver (used by newer autoconf). 1054 1055 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 1056 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1057 1058commit 80b9a346b9ba200fa4652560282e80d249519287 1059Author: Thomas Klausner <wiz@NetBSD.org> 1060Date: Sun Jul 19 10:22:45 2015 +0200 1061 1062 Do not return() after exit(). 1063 1064 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 1065 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1066 1067commit c827edcd1c4a7f920aa25208083b5b58d60d2b44 1068Author: Ross Burton <ross.burton@intel.com> 1069Date: Mon May 18 14:49:01 2015 +0100 1070 1071 Add missing NULL checks to ICWrap 1072 1073 ICWrap.c dereferences the xim parameter passed in from client code without a 1074 NULL check. I have seen mplayer trigger this resulting in a segfault. In this 1075 case mplayer had called XOpenIM and NULL was returned which was later passed 1076 into XCreateIC. 1077 1078 Patch originally by Drew Moseley <drew_moseley@mentor.com>. 1079 1080 Signed-off-by: Ross Burton <ross.burton@intel.com> 1081 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1082 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1083 1084commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 1085Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1086Date: Thu Jun 4 20:51:17 2015 -0700 1087 1088 Replace Xmalloc+memset pairs with Xcalloc calls 1089 1090 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1091 1092commit f0286b2770ece10aef5e2e8c004260217f12fd25 1093Author: Bhavi Dhingra <b.dhingra@samsung.com> 1094Date: Thu Jun 4 19:07:12 2015 -0700 1095 1096 omGeneric.c: Correct the parameter usage of sizeof 1097 1098 Incorrect parameter usage with sizeof. Earlier passed argument FontData 1099 will be 4 bytes always as its a pointer hence the change is needed and 1100 FontDataRec should be used for memset. 1101 1102 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1103 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1104 1105commit 47da70d75f9e48e800719c0db752f9ccd2d77aea 1106Author: Peter Hutterer <peter.hutterer@who-t.net> 1107Date: Tue May 19 12:30:22 2015 +1000 1108 1109 Fix three "use of uninitialized variable" coverity warnings 1110 1111 False positive, if rlen/nbytes are unset we quit early before using it. Still, 1112 initialize it so we don't have to deal with these warnings again. 1113 1114 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1115 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 1116 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1117 1118commit 19a30f17f30e9ae9641a7c0634fc52134208b060 1119Author: Peter Hutterer <peter.hutterer@who-t.net> 1120Date: Mon May 18 07:56:22 2015 +1000 1121 1122 Fix an indentation issue 1123 1124 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1125 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 1126 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1127 1128commit 013ccece124b990217ad3bcf2c41688e8fda1df8 1129Author: Peter Hutterer <peter.hutterer@who-t.net> 1130Date: Mon May 18 07:55:17 2015 +1000 1131 1132 Fix potential memory leak 1133 1134 If we hit the depth limit, filename leaks. Move the depth check up before we 1135 allocate filename. 1136 Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 1137 1138 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1139 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 1140 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1141 1142commit d3415d1f052530760b4617db45affcb984cfe35c 1143Author: Mike FABIAN <mfabian@redhat.com> 1144Date: Mon Apr 20 17:59:30 2015 +0200 1145 1146 Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 1147 1148 Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 1149 locales fixed it only partly, I introduced a new spelling mistake 1150 in the sd_IN locales. This patch fixes this. 1151 1152 Signed-off-by: James Cloos <cloos@jhcloos.com> 1153 1154commit 748d47e69f5c12d8557d56a8a8ec166588da7b93 1155Author: Mike FABIAN <mfabian@redhat.com> 1156Date: Wed Feb 19 11:46:45 2014 +0100 1157 1158 fix spelling mistakes in ks_IN and sd_IN devanagari locales 1159 1160 The codeset must be *before* the modifier. 1161 1162 See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 1163 1164 opengroup> The syntax for these environment variables is thus defined as: 1165 opengroup> 1166 opengroup> [language[_territory][.codeset][@modifier]] 1167 1168 Signed-off-by: James Cloos <cloos@jhcloos.com> 1169 1170commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 1171Author: Mike FABIAN <mfabian@redhat.com> 1172Date: Wed Feb 19 11:50:55 2014 +0100 1173 1174 add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 1175 1176 See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 1177 1178 If these are not in locale.dir, 1179 1180 $ LANG=sr_RS.UTF-8@latin xterm 1181 1182 and 1183 1184 $ LANG=sr_RS@latin xterm 1185 1186 give the warning: 1187 1188 Warning: locale not supported by Xlib, locale set to C 1189 1190 and some programs (like xmms) fail to find translations for Serbian 1191 in Latin because of this. 1192 1193 Signed-off-by: James Cloos <cloos@jhcloos.com> 1194 1195commit c85be01b006126c4407eebd1eb6e01a17312b7b4 1196Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1197Date: Sun Mar 22 16:46:45 2015 -0700 1198 1199 Move Compose \ o / to be with other emoji compose sequences 1200 1201 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1202 1203commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 1204Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1205Date: Mon Mar 9 15:28:29 2015 -0700 1206 1207 libX11 1.6.3 1208 1209 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1210 1211commit c8e19b393defd53f046ddc2da3a16881221b3c34 1212Author: Joonas Javanainen <joonas.javanainen@gmail.com> 1213Date: Thu Feb 5 17:31:04 2015 +0200 1214 1215 Fix XErrorEvent struct field order in man page 1216 1217 In the man page the field "resourceid" was in a different place than 1218 in the actual struct layout in Xlib.h 1219 1220 Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 1221 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1222 1223commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 1224Author: Ran Benita <ran234@gmail.com> 1225Date: Tue Feb 3 13:23:50 2015 -0500 1226 1227 compose: fix the description of modifiers in compose sequences 1228 1229 The Compose format has a feature which allows specifying certain 1230 modifiers must (or must not) be present with a given keysym in the 1231 sequence. 1232 1233 The grammar in imLcPrs.c and the Compose man page both do not match what 1234 the code actually does (see the handling of the variables 1235 `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 1236 eventually matched as `ev->state & modifier_mask == modifier`). 1237 1238 Also explicitly list the accepted modifier names, since they are 1239 not standard (e.g. "Ctrl" instead of "Control"). 1240 1241 Signed-off-by: Ran Benita <ran234@gmail.com> 1242 Signed-off-by: James Cloos <cloos@jhcloos.com> 1243 1244commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 1245Author: Ran Benita <ran234@gmail.com> 1246Date: Tue Feb 3 13:23:49 2015 -0500 1247 1248 xkb: fix misleading comment about consumed modifiers 1249 1250 In the spec and the man page the `mods_rtrn` argument is described as 1251 "backfilled with unconsumed modifiers" but actually it is backfilled 1252 with the *consumed* modifiers. This is also mentioned a few lines below 1253 in each case. 1254 1255 Signed-off-by: Ran Benita <ran234@gmail.com> 1256 Signed-off-by: James Cloos <cloos@jhcloos.com> 1257 1258commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 1259Author: Ingo Schwarze <schwarze@usta.de> 1260Date: Tue Dec 9 10:44:13 2014 +0100 1261 1262 Fix pasto in XkbGetKeyBehaviors(3) manual 1263 1264 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 1265 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1266 1267commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 1268Author: Benno Schulenberg <bensberg@justemail.net> 1269Date: Sun Nov 23 21:35:36 2014 +0100 1270 1271 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 1272 1273 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1274 1275commit a51681b60c84109fe19f5d449e13080522499324 1276Author: Benno Schulenberg <bensberg@justemail.net> 1277Date: Thu Sep 19 16:42:01 2013 +0200 1278 1279 nls: Remove a duplicate locale name, and sort some others more strictly. 1280 1281 Also improve the grammar of the initial comment. 1282 1283 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1284 Signed-off-by: James Cloos <cloos@jhcloos.com> 1285 1286commit 426b7f850f5376db96a4b12420ee141603fcc3cd 1287Author: Benno Schulenberg <bensberg@justemail.net> 1288Date: Fri Sep 20 12:37:29 2013 +0200 1289 1290 nls: Add a comment to the block of accented Hebrew letters. 1291 1292 And align them in a nicer manner. 1293 1294 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1295 Signed-off-by: James Cloos <cloos@jhcloos.com> 1296 1297commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 1298Author: Benno Schulenberg <bensberg@justemail.net> 1299Date: Fri Sep 20 12:05:09 2013 +0200 1300 1301 nls: Add one lowercase compose variant for ®, to mirror those for ©. 1302 1303 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1304 Signed-off-by: James Cloos <cloos@jhcloos.com> 1305 1306commit 18dcd13514fa538afefa78c93523d9dbd4688e74 1307Author: Benno Schulenberg <bensberg@justemail.net> 1308Date: Sat Sep 7 20:10:43 2013 +0200 1309 1310 nls: Adding the visual composing characters to two comment lines. 1311 1312 The lines around them also contain the characters in the comments. 1313 1314 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1315 Signed-off-by: James Cloos <cloos@jhcloos.com> 1316 1317commit 18d8307575af748913d5da17e3de45da2a22ede4 1318Author: Benno Schulenberg <bensberg@justemail.net> 1319Date: Sat Sep 7 20:09:32 2013 +0200 1320 1321 nls: Grouping a lone superscript minus together with its mates. 1322 1323 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1324 Signed-off-by: James Cloos <cloos@jhcloos.com> 1325 1326commit 33301cc45e6a2b8aa841ed6325547af970f8c4db 1327Author: Benno Schulenberg <bensberg@justemail.net> 1328Date: Sat Sep 7 19:53:38 2013 +0200 1329 1330 nls: Grouping the compose sequences for Dstroke/dstroke together. 1331 1332 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 1333 Signed-off-by: James Cloos <cloos@jhcloos.com> 1334 1335commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 1336Author: Gioele Barabucci <gioele@svario.it> 1337Date: Sun Sep 21 23:05:55 2014 +0200 1338 1339 Add compose sequence for U+20B9 INDIAN RUPEE SIGN 1340 1341 The compose sequence for the new Indian Rupee sign is modelled after 1342 the sequence for the Euro sign. 1343 1344 Signed-off-by: Gioele Barabucci <gioele@svario.it> 1345 Signed-off-by: James Cloos <cloos@jhcloos.com> 1346 1347commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 1348Author: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 1349Date: Thu Jul 31 22:23:28 2014 -0300 1350 1351 Add double-arrow compose sequence 1352 1353 Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 1354 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1355 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1356 1357commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 1358Author: James Cloos <cloos@jhcloos.com> 1359Date: Fri Aug 1 18:30:42 2014 -0400 1360 1361 Add cs_CZ.UTF-8 locale to configure.ac 1362 1363 Commit cf4d5989383a should have included this. 1364 1365 Reported-by: Colin Harrison <colin.harrison@virgin.net> 1366 Signed-off-by: James Cloos <cloos@jhcloos.com> 1367 1368commit cf4d5989383acc4ed1b7eebadde9f380f2129766 1369Author: James Cloos <cloos@jhcloos.com> 1370Date: Tue Jul 29 15:02:56 2014 -0400 1371 1372 Add nls for cs_CZ.UTF-8 1373 1374 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 1375 override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 1376 to enter »ů«, and likewise for the majuscule, for the Czech locale. 1377 1378 This evidently is the norm for Czech keyboards. 1379 1380 Fixes bz#81875. 1381 1382 The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 1383 several other locales. That may require an update. 1384 1385 Reported-by: Vladimír Marek <vlmarek@volny.cz> 1386 Signed-off-by: James Cloos <cloos@jhcloos.com> 1387 1388commit d9f569572bd14db31921471e7b877523b5cf1e4c 1389Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1390Date: Sat Jul 26 12:17:47 2014 -0700 1391 1392 Fix source paths for out-of-tree lintlib builds 1393 1394 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1395 1396commit 0885cad1e4a9ed57266582be320be55259c881bf 1397Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1398Date: Sun Jul 20 09:21:20 2014 -0700 1399 1400 specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 1401 1402 Matches the way they were styled in original doc, before conversion 1403 to DocBook. 1404 1405 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1406 1407commit d0a9e9d56bb003315787201ee525b4d00fd54e06 1408Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1409Date: Sat Jul 19 23:55:47 2014 -0700 1410 1411 specs/XKB: acknowledge my contributions 1412 1413 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1414 1415commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 1416Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1417Date: Sat Jul 19 23:53:48 2014 -0700 1418 1419 specs/XKB: Trim leading spaces off text lines 1420 1421 perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 1422 1423 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1424 1425commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 1426Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1427Date: Sat Jul 19 20:30:55 2014 -0700 1428 1429 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 1430 1431 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1432 1433commit 5009621799444e9d1d284719f871d00be13e7330 1434Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1435Date: Sat Jul 19 12:34:28 2014 -0700 1436 1437 specs/XKB: Fix miscelleanous typos & spelling errors 1438 1439 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1440 1441commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 1442Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1443Date: Sat Jul 19 00:46:41 2014 -0700 1444 1445 specs/XKB: add some more indexterms by hand 1446 1447 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1448 1449commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 1450Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1451Date: Sat Jul 19 00:48:02 2014 -0700 1452 1453 specs/XKB: fixup various formatting issues in <programlisting>s 1454 1455 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1456 1457commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 1458Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1459Date: Fri Jul 18 23:56:29 2014 -0700 1460 1461 specs/XKB: fixup various formatting issues in <literallayout>s 1462 1463 Including translating some that are really just lists into 1464 <simplelist> markup. 1465 1466 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1467 1468commit 94b56774784ac00b9db02403aecea10bb0814c10 1469Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1470Date: Fri Jul 18 23:18:52 2014 -0700 1471 1472 specs/XKB: add some more links by hand 1473 1474 random bits where a link looked handy 1475 1476 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1477 1478commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 1479Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1480Date: Fri Jul 18 23:16:31 2014 -0700 1481 1482 specs/XKB: add links for terms in definition list under figure 1.1 1483 1484 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1485 1486commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 1487Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1488Date: Fri Jul 18 22:52:16 2014 -0700 1489 1490 specs/XKB: add links to more tables listing section references 1491 1492 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1493 1494commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 1495Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1496Date: Fri Jul 18 22:49:34 2014 -0700 1497 1498 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 1499 1500 Page numbers refer to old doc format, didn't translate to new one 1501 1502 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1503 1504commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 1505Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1506Date: Sat Jul 19 11:55:51 2014 -0700 1507 1508 specs/XKB: remove unwanted white space around C -> struct references 1509 1510 perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 1511 1512 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1513 1514commit 2be0cc0b2abbcc98cfd150210dea415a04787251 1515Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1516Date: Fri Jul 18 22:26:20 2014 -0700 1517 1518 specs/XKB: replace -> with → when used as arrow, not in C structs 1519 1520 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1521 1522commit bf1f3d6f6f995303624679ae546f507c70967dc0 1523Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1524Date: Fri Jul 18 22:21:10 2014 -0700 1525 1526 specs/XKB: replace => with ⇒ for double arrows 1527 1528 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1529 1530commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 1531Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1532Date: Sat Jul 19 11:33:35 2014 -0700 1533 1534 specs/XKB: Markup some ranges with – instead of - 1535 1536commit ec4075303c6c0d1d64bfe378e585968f9a137da7 1537Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1538Date: Fri Jul 18 22:10:45 2014 -0700 1539 1540 specs/XKB: Markup some subtractions with − instead of - 1541 1542 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1543 1544commit 441a267e461132a38abed205245f028686526f1d 1545Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1546Date: Fri Jul 18 22:04:40 2014 -0700 1547 1548 specs/XKB: make sure all files have DOCTYPEs so standard entities work 1549 1550 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1551 1552commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 1553Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1554Date: Fri Jul 18 21:55:41 2014 -0700 1555 1556 specs/XKB: Markup quoted terms as <quote> instead of with "" 1557 1558 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1559 1560commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 1561Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1562Date: Sat Jul 19 09:01:26 2014 -0700 1563 1564 specs/XKB: fixup newlines between tags and punctuation 1565 1566 Get rid of unwanted whitespace before punctuation by moving them to the 1567 lines with the tags, instead of before & after. 1568 1569 perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 1570 1571 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1572 1573commit 6d5ec492cd28c206423337f926503349702af5a6 1574Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1575Date: Fri Jul 18 21:29:33 2014 -0700 1576 1577 specs/XKB: fixup newlines between tags and parens 1578 1579 Get rid of unwanted whitespace inside parens by moving them to the 1580 lines with the tags, instead of before & after. 1581 1582 perl -i -0 -p \ 1583 -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 1584 -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 1585 1586 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1587 1588commit 59d688f4c787250e0b401a92b1db0437d8c60f2d 1589Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1590Date: Fri Jul 18 21:09:24 2014 -0700 1591 1592 specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 1593 1594 Also add <indexterm> entries for most of them, to make their definitions 1595 or introductions easy to find from the index. 1596 1597 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1598 1599commit 861f3087ee0f501362a67501f384c2ca4c7bfe73 1600Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1601Date: Thu Jul 10 20:00:53 2014 -0700 1602 1603 specs/XKB: Manual fixup of type markup 1604 1605 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1606 1607commit 6b96259dabe52701fd1bcaa0625b574180c4e769 1608Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1609Date: Thu Jul 10 15:00:30 2014 -0700 1610 1611 specs/XKB: Manual fixup of parameter markup 1612 1613 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1614 1615commit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 1616Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1617Date: Thu Jul 10 13:40:40 2014 -0700 1618 1619 specs/XKB: Manual fixup of struct name/field markup 1620 1621 Handles typos that caused the scripts to miss matches, misnamed structs, etc. 1622 1623 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1624 1625commit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 1626Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1627Date: Wed Jul 9 23:26:37 2014 -0700 1628 1629 specs/XKB: Manual fixup of symbol name markup 1630 1631 Handles typos that caused the scripts to miss matches, misnamed masks, etc. 1632 1633 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1634 1635commit eb1453a0c69606b8af96b90ddccf1b93a069fb35 1636Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1637Date: Wed Jul 9 00:03:23 2014 -0700 1638 1639 specs/XKB: Manual fixup of function name markup 1640 1641 Handles typos that caused the scripts to miss matches, functions like 1642 malloc & free from other libraries, function name patterns, etc. 1643 1644 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1645 1646commit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 1647Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1648Date: Thu Jul 10 19:42:31 2014 -0700 1649 1650 specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 1651 1652 No great fit in DocBook, so follow what we used in Xlib spec. 1653 1654 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1655 1656commit ed60df10aad15057577d5714c955d22d2a446e51 1657Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1658Date: Thu Jul 10 15:45:57 2014 -0700 1659 1660 specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 1661 1662 Also uses <guilabel> for LED names/labels, for lack of a better fit 1663 in DocBook. 1664 1665 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1666 1667commit f57b91ee497414083cc1bf481d28eb9ad9f965fb 1668Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1669Date: Thu Jul 10 15:41:19 2014 -0700 1670 1671 specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 1672 1673 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1674 1675commit cfd4279c9b59d7e87c9f7c67692c87973adb7667 1676Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1677Date: Thu Jul 10 11:08:14 2014 -0700 1678 1679 specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 1680 1681 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1682 1683commit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 1684Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1685Date: Wed Jul 9 23:30:54 2014 -0700 1686 1687 specs/XKB: Markup symbol names in table entries too 1688 1689 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1690 1691commit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 1692Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1693Date: Tue Jul 8 23:35:48 2014 -0700 1694 1695 specs/XKB: Markup *Ptr as <type> instead of <emphasis> 1696 1697 perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 1698 1699 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1700 1701commit 9f6c00629fd4b713082cc11f9150f7aafd272c89 1702Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1703Date: Tue Jul 8 23:34:29 2014 -0700 1704 1705 specs/XKB: Markup *Rec as <structname> instead of <emphasis> 1706 1707 perl -i -p -e \ 1708 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 1709 1710 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1711 1712commit 83839e37802b8b752c77859a95de60ad757feb79 1713Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1714Date: Tue Jul 8 23:29:49 2014 -0700 1715 1716 specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 1717 1718 Performed via: 1719 perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 1720 /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 1721 | sort -u > xkb-defines.pl 1722 perl -i -p -f xkb-defines.pl *.xml 1723 1724 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1725 1726commit 9e397ed37ce4cc70621de347de3a795df88d4506 1727Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1728Date: Tue Jul 8 22:53:12 2014 -0700 1729 1730 specs/XKB: Use ° instead of o for degrees. 1731 1732 Conversion from framemaker turned superscripted "o" into plain "o". 1733 1734 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1735 1736commit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 1737Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1738Date: Tue Jul 8 22:46:03 2014 -0700 1739 1740 specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 1741 1742 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1743 1744commit 33bef065683c8f910f3722730503c0c0699ee8be 1745Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1746Date: Tue Jul 8 22:26:56 2014 -0700 1747 1748 specs/XKB: Markup NULL as <symbol> instead of <emphasis> 1749 1750 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1751 1752commit f10aa1e09468bd28454d85ac8ab55d9dc7178029 1753Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1754Date: Tue Jul 8 22:22:29 2014 -0700 1755 1756 specs/XKB: Markup function args as <parameter> instead of <emphasis> 1757 1758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1759 1760commit 79ba58cceb69521fcb313c69233cf93a9fcb177f 1761Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1762Date: Mon Jul 7 23:56:13 2014 -0700 1763 1764 specs/XKB: Convert remaining error names to errorname tags 1765 1766 Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 1767 are XKB-specific. (Plus some were badly split across tag boundaries.) 1768 1769 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1770 1771commit 42b2f5388c399949ece377f9cc9c479c06964972 1772Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1773Date: Mon Jul 7 23:16:56 2014 -0700 1774 1775 specs/XKB: manually fixup some more emphasis tagging mismatches 1776 1777 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1778 1779commit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 1780Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1781Date: Mon Jul 7 23:02:31 2014 -0700 1782 1783 specs/XKB: re-normalize <emphasis> layout in xml files 1784 1785 Same script as before, just with <!-- xref --> comments out of the way 1786 now. 1787 1788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1789 1790commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 1791Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1792Date: Mon Jul 7 22:59:25 2014 -0700 1793 1794 specs/XKB: Remove remaining xref comments 1795 1796 All the places marked by these have been turned into the appropriate 1797 link, xref, or olink tags now. 1798 1799 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1800 1801commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 1802Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1803Date: Mon Jul 7 22:56:36 2014 -0700 1804 1805 specs/XKB: make olinks to xkbproto for references in section 10.13 1806 1807 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1808 1809commit fcda446877a62e7443d7bc704ba3610e90d1e755 1810Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1811Date: Mon Jul 7 22:22:28 2014 -0700 1812 1813 specs/XKB: Add <figure> tags and make Figure references link to them 1814 1815 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1816 1817commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 1818Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1819Date: Mon Jul 7 21:30:01 2014 -0700 1820 1821 specs/XKB: Turn Table references into links 1822 1823 Adds id attributes to all table tags so we can link to them 1824 1825 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1826 1827commit 135fa07b74cb50172c6a75768d499cd87ddb336e 1828Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1829Date: Sun Jul 6 21:29:59 2014 -0700 1830 1831 specs/XKB: Turn section references into xref links 1832 1833 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1834 1835commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 1836Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1837Date: Sun Jul 6 21:17:18 2014 -0700 1838 1839 specs/XKB: Turn Chapter references into xref links 1840 1841 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1842 1843commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 1844Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1845Date: Sun Jul 6 20:40:18 2014 -0700 1846 1847 specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 1848 1849 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1850 1851commit b00a7ddff2744238fbfe31c2298b02028a45a6ff 1852Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1853Date: Sun Jul 6 20:34:51 2014 -0700 1854 1855 specs/XKB: Markup function names as <function> instead of <emphasis> 1856 1857 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1858 1859commit bfbb58b7679221cb5c9212665209ea9099ad079a 1860Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1861Date: Sun Jul 6 20:25:46 2014 -0700 1862 1863 specs/XKB: normalize <emphasis> layout in xml files 1864 1865 - Stop placing <emphasis> on empty space, commas, and periods. 1866 - Move periods & commas after closing </emphasis> tag 1867 - move <emphasis> open & close tags to same line, instead of mirroring 1868 nroff layout. 1869 1870 Simplifies automating further transformations of these tags. 1871 1872 Performed via: 1873 perl -i -0 -p \ 1874 -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 1875 -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 1876 -e 's{\n([\.,])\s*}{\1\n}msg;' \ 1877 -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 1878 -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 1879 1880 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1881 1882commit b16ee69a0103109a661a88140a1765dcd7bda634 1883Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1884Date: Sun Jul 6 15:57:41 2014 -0700 1885 1886 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 1887 1888 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1889 1890commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 1891Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1892Date: Sun Jul 6 19:29:38 2014 -0700 1893 1894 specs/XKB: Add index 1895 1896 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1897 1898commit 72ae1d793be078db521dda60af578ece71f364de 1899Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1900Date: Sun Jul 6 13:21:40 2014 -0700 1901 1902 specs/XKB: Fix various markup issues in functiondecl tables 1903 1904 - Merge some functionargdecl entries incorrectly split across rows 1905 - Add missing parameter name markup to some functionargdecls 1906 - Add missing function prototype markup to a functiondecl 1907 - Remove stray emphasis tags in a functiondecl 1908 1909 Allows them to correctly convert to funcsynopsis markup in next step. 1910 1911 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1912 1913commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 1914Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1915Date: Sun Jul 6 12:15:23 2014 -0700 1916 1917 specs/XKB: Convert header filenames to filename tags 1918 1919 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1920 1921commit 5525e8433f93bce464412f27cffa203ea628f368 1922Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1923Date: Tue Jul 8 00:05:32 2014 -0700 1924 1925 specs/libX11: disengender a user reference 1926 1927 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1928 1929commit d8679eae9317b389ad4acb0430360ee0663e2af8 1930Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1931Date: Fri Jul 11 18:41:42 2014 -0700 1932 1933 specs/libX11: Correct value of IconicState to match Xutil.h 1934 1935 Xutil.h has always had a value of 3 for IconicState, since 2 was 1936 previously used for the long-obsolete ZoomState, so make the spec 1937 match what programs have used for decades. 1938 1939 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1940 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1941 1942commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 1943Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1944Date: Fri Jul 11 10:34:08 2014 -0700 1945 1946 Use C99 named initializers to fill in events passed to XSendEvent 1947 1948 Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 1949 and allows optimizer to order field initialization to best fit cache layout 1950 or other considerations. 1951 1952 Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 1953 instructions to rapidly zero-fill structs. 1954 1955 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1956 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1957 1958commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 1959Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1960Date: Sun Jul 6 11:13:49 2014 -0700 1961 1962 Fix validation of ctrls parameter to XkbGetPerClientControls() 1963 1964 Nothing in the XKB spec states that the memory pointed to by ctrls has to 1965 be initialized to any given value when passed to the function, only that 1966 it is set by the function to the values returned by the X server: 1967 http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 1968 1969 The check for the incoming value seems to be copied from 1970 XkbSetPerClientControls without explanation. 1971 1972 Instead change it to checking if ctrls is non-NULL, since there's no 1973 point asking the X server to return a value the caller won't even see. 1974 1975 Found while investigating report from cppcheck-1.65: 1976 [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 1977 dereference: ctrls - otherwise it is redundant to check it against null. 1978 1979 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1980 1981commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 1982Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1983Date: Sun Jul 6 10:54:57 2014 -0700 1984 1985 Fix map->num_types check in XkbAddKeyType() 1986 1987 Check is intended to ensure we allocate at least XkbNumRequiredTypes 1988 in map, but was accidentally marked with a ! causing the wrong check. 1989 1990 Reported-by: Harms <wharms@bfs,de> 1991 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1992 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1993 1994commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 1995Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1996Date: Sun Jul 6 15:08:21 2014 -0700 1997 1998 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 1999 2000 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2001 2002commit a06ea86773568926c36ae650b188fc818d540db7 2003Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2004Date: Sun Jul 6 15:04:27 2014 -0700 2005 2006 specs/libX11: Fix height & width in parameter lists to be two separate entries 2007 2008 "unsigned int width, unsigned int height", not a single parameter "height" 2009 of type "unsignedintwidth,". 2010 2011 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2012 2013commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 2014Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2015Date: Sun Jul 6 14:38:10 2014 -0700 2016 2017 specs/libX11: Fix x & y in parameter lists to be two separate parameters 2018 2019 "int x, int y" not a single parameter y of type "intx" 2020 2021 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2022 2023commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 2024Author: walter harms <wharms@bfs.de> 2025Date: Sat Jun 7 12:03:17 2014 +0200 2026 2027 lcDefConv.c: fix use before check 2028 2029 * Do not use variables before checked for NULL. 2030 * remove some superfluid spaces (Mark Kettenis) 2031 2032 Signed-off-by: Harms <wharms@bfs,de> 2033 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2034 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2035 2036commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 2037Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2038Date: Mon Jun 16 15:16:10 2014 -0700 2039 2040 Start adding Unicode 7.0 support to compose table 2041 2042 New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 2043 2044 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2045 2046commit a4679baaa18142576d42d423afe816447f08336c 2047Author: walter harms <wharms@bfs.de> 2048Date: Sat Jun 7 11:54:34 2014 +0200 2049 2050 rm redundant null checks 2051 2052 remove more redundant NULL checks 2053 note that _XkbFree() is really Xfree() 2054 2055 Signed-off-by: Harms <wharms@bfs,de> 2056 Reviewed-by: Rémi Cardona <remi@gentoo.org> 2057 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2058 2059commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 2060Author: walter harms <wharms@bfs.de> 2061Date: Sat Jun 7 15:17:27 2014 +0200 2062 2063 libX11: rm redundante NULL checks 2064 2065 This patch removes the last remaining NULL checks for Xfree() 2066 2067 Signed-off-by: Harms <wharms@bfs,de> 2068 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 2069 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2070 2071commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 2072Author: walter harms <wharms@bfs.de> 2073Date: Fri Jun 6 22:53:05 2014 +0200 2074 2075 Remove more redundant null checks before Xfree() 2076 2077 Signed-off-by: Harms <wharms@bfs,de> 2078 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2079 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2080 2081commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 2082Author: walter harms <wharms@bfs.de> 2083Date: Thu Jun 5 18:37:40 2014 +0200 2084 2085 Remove redundant null checks before free 2086 2087 This patch removes some redundant null checks before free. 2088 It should not change the code otherwise. Be aware that this 2089 is only the first series. 2090 2091 Signed-off-by: Harms <wharms@bfs,de> 2092 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2093 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2094 2095commit 7d452fad5068ba92b964e92bc46708046f4044aa 2096Author: walter harms <wharms@bfs.de> 2097Date: Wed Jun 4 17:12:31 2014 +0200 2098 2099 libX11/lcUTF8.c fix: dereferenced before check 2100 2101 * Do not use variables before checked for NULL. 2102 2103 Signed-off-by: Harms <wharms@bfs,de> 2104 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2105 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2106 2107commit a3808f51517a720e7ff738208af60865779dd6ef 2108Author: walter harms <wharms@bfs.de> 2109Date: Wed Jun 4 17:10:20 2014 +0200 2110 2111 libX11/XKBNames.c fix: dereferenced before check 2112 2113 * Do not use variables before checked for NULL. 2114 2115 Signed-off-by: Harms <wharms@bfs,de> 2116 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2117 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2118 2119commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 2120Author: walter harms <wharms@bfs.de> 2121Date: Wed Jun 4 17:08:12 2014 +0200 2122 2123 libX11/lcGenConv.c fix: dereferenced before check 2124 2125 * Do not use variables before checked for NULL. 2126 2127 Signed-off-by: Harms <wharms@bfs,de> 2128 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2129 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2130 2131commit c6bc28d433243c32b3f74955f1478451b4fd27b5 2132Author: Andreas Schwab <schwab@linux-m68k.org> 2133Date: Sun Jan 19 16:59:13 2014 +0100 2134 2135 Restore lost tabs in sed commands 2136 2137 Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 2138 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2139 2140commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 2141Author: Benno Schulenberg <bensberg@justemail.net> 2142Date: Thu Sep 19 11:01:11 2013 +0200 2143 2144 nls: Transform Brazilian compose file to an include plus three overrides. 2145 2146 Signed-off-by: James Cloos <cloos@jhcloos.com> 2147 2148commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 2149Author: Benno Schulenberg <bensberg@justemail.net> 2150Date: Fri Sep 6 12:10:01 2013 +0200 2151 2152 nls: Adding the missing compose sequences with <comma> for O with ogonek. 2153 2154 All other vowels with ogoneks can already be composed using <comma>. 2155 2156 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2157 Signed-off-by: James Cloos <cloos@jhcloos.com> 2158 2159commit 655b60f48376069750b151c46da836fdd411c83b 2160Author: Benno Schulenberg <bensberg@justemail.net> 2161Date: Fri Sep 6 12:04:24 2013 +0200 2162 2163 nls: Adding the missing postfix sequences for composing vowels with ogoneks. 2164 2165 It existed for lowercase i, but not for uppercase I nor the other vowels. 2166 2167 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2168 Signed-off-by: James Cloos <cloos@jhcloos.com> 2169 2170commit 7f8f9a36ef901f31279c385caf960a22daeb33fe 2171Author: Owen W. Taylor <otaylor@fishsoup.net> 2172Date: Fri May 9 18:21:05 2014 -0400 2173 2174 Fix XNextRequest() after direct usage of XCB 2175 2176 When XCB owns the X socket, dpy->request is not updated, so 2177 NextRequest() and XNextRequest() return the wrong value. There's 2178 nothing we can do to fix NextRequest() while retaining ABI compat, 2179 but change XNextRequest() to grab the socket back from XCB, 2180 updating dpy->request. 2181 2182 Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 2183 Reviewed-by: Uli Schlachter <psychon@znc.in> 2184 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2185 2186commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 2187Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2188Date: Sun May 4 11:54:59 2014 -0700 2189 2190 Add missing .TE tags to end tables in Xkb man pages 2191 2192 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2193 2194commit 280274e5292e013b43e552274111fab434f5ed4e 2195Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2196Date: Sun May 4 11:23:17 2014 -0700 2197 2198 XCreateGC.man: simplify table to work with Solaris tbl 2199 2200 Having every table cell be a text diversion (T{...T}) was too much for 2201 Solaris tbl to handle, and thus "man XCreateGC" would print the error 2202 /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 2203 tbl quits 2204 and not display the table of mask bits or any text in the man page after 2205 that table. Since the #define column doesn't need special handling, 2206 making it not use text diversions brings the table under the tbl limit. 2207 2208 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2209 2210commit 93bb325a54025dd15f4744abce54b358960420f9 2211Author: James Cloos <cloos@jhcloos.com> 2212Date: Tue May 20 17:30:10 2014 -0400 2213 2214 Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 2215 2216 Parenleft is already in use for sequences of the form <(> <letter> <)> 2217 to generate circled letters. 2218 2219 Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 2220 2221 This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 2222 2223 Signed-off-by: James Cloos <cloos@jhcloos.com> 2224 2225commit 060707851be918f2f507a26d17b016f764ddf2b4 2226Author: Benno Schulenberg <bensberg@justemail.net> 2227Date: Fri Sep 6 11:42:59 2013 +0200 2228 2229 nls: Adding accessible compose sequences for Ș and Ț (with comma below). 2230 2231 Compose sequences with <dead_belowcomma> exist, but very few keyboard 2232 layouts contain that symbol. So a more usual character is needed to be 2233 able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 2234 used for composing letters with ogoneks -- but only vowels take ogoneks, 2235 so the character is free for consonants, and thus <semicolon> is used 2236 here to compose commas below. It is somewhat fitting, because on most 2237 Romanian keyboards the Ș is placed on that key, and the Ț next to it. 2238 2239 (Oh -- the more obvious sequences with <comma> were already taken for 2240 composing S and T with cedillas.) 2241 2242 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2243 Signed-off-by: James Cloos <cloos@jhcloos.com> 2244 2245commit ca435c2f753aa2961fb35ac448cdb2cc77112755 2246Author: Benno Schulenberg <bensberg@justemail.net> 2247Date: Tue Sep 3 21:10:33 2013 +0200 2248 2249 nls: Ordering some compose sequences in a more customary way. 2250 2251 The custom seems to be: pairing the ones that have only the sequence of 2252 two keys reversed, and putting the one with the diacritic first first. 2253 2254 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2255 Signed-off-by: James Cloos <cloos@jhcloos.com> 2256 2257commit f020235f4bd91fb6eade82f8c9f7b85a57981768 2258Author: Benno Schulenberg <bensberg@justemail.net> 2259Date: Tue Sep 3 20:44:42 2013 +0200 2260 2261 nls: Adding compose sequences (with <parenleft> first) that GTK also has. 2262 2263 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2264 Signed-off-by: James Cloos <cloos@jhcloos.com> 2265 2266commit bda0b3b5bd19154206dc40166364e73d4b6b1374 2267Author: Benno Schulenberg <bensberg@justemail.net> 2268Date: Tue Sep 3 11:14:16 2013 +0200 2269 2270 nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 2271 2272 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2273 Signed-off-by: James Cloos <cloos@jhcloos.com> 2274 2275commit 8be4610939b833587954957f5963eb4191b43d19 2276Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2277Date: Thu Mar 13 23:22:48 2014 -0700 2278 2279 Fix "follwing" typo in en_US.UTF-8/Compose comment 2280 2281 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2282 2283commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 2284Author: Reuben Thomas <rrt@sc3d.org> 2285Date: Mon Jan 27 14:18:24 2014 +0000 2286 2287 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 2288 2289 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2290 2291commit d6bd988bc00494914b38b95ee5df77ac4f32f19f 2292Author: Peter Hutterer <peter.hutterer@who-t.net> 2293Date: Mon Mar 3 12:38:48 2014 +1000 2294 2295 man: fix man page for XkbGetMap 2296 2297 Returned structure must be freed with XkbFreeKeyboard(). 2298 2299 Reported-by: Morten Bøgeskov <mb@dbc.dk> 2300 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2301 2302commit a6dcf2201a05adbff54122df05a1e6325936abb6 2303Author: Ran Benita <ran234@gmail.com> 2304Date: Tue Feb 11 13:26:16 2014 +0200 2305 2306 Remove dead USE_OWN_COMPOSE-protected code 2307 2308 The build doesn't provide any way to define this option. It also refers 2309 to files (imComp.h) and functions (e.g. XimCompInitTables(), 2310 XimCompProcessSym()) which are not found anywhere, and the ordinary 2311 Compose implementation in xim doesn't use any of it. 2312 2313 Signed-off-by: Ran Benita <ran234@gmail.com> 2314 Reviewed-by: Julien Cristau <jcristau@debian.org> 2315 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2316 2317commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 2318Author: Ran Benita <ran234@gmail.com> 2319Date: Sun Feb 16 15:24:58 2014 +0200 2320 2321 nls: always use XCOMM instead of # for comments in Compose.pre files 2322 2323 Lines starting with # are considered as preprocessor directives in the 2324 .pre files. 2325 2326 Fixes warnings like: 2327 <stdin>:3:0: error: invalid preprocessing directive #Khmer 2328 2329 Signed-off-by: Ran Benita <ran234@gmail.com> 2330 Signed-off-by: James Cloos <cloos@jhcloos.com> 2331 2332commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 2333Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2334Date: Thu Feb 6 13:48:08 2014 -0800 2335 2336 Fix typos in Xrm.c comments 2337 2338 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2339 2340commit aacf95dacc7c598e7297894580d4d655593813b2 2341Author: Marko Myllynen <myllynen@redhat.com> 2342Date: Mon Jan 13 16:43:18 2014 +0200 2343 2344 Annotate Finnish Compose map with Unicode code points 2345 2346 Scripted annotation, no functional changes. 2347 2348 Signed-off-by: James Cloos <cloos@jhcloos.com> 2349 2350commit 20fdccd81b54678376d49e00edfebbbe94951f07 2351Author: Teemu Likonen <tlikonen@iki.fi> 2352Date: Fri Jul 20 19:21:04 2012 +0300 2353 2354 Fix "RING ABOVE" key in the Finnish compose file 2355 2356 The Finnish keyboard standard defines that <dead_abovering> <space> must 2357 insert the character U+02DA RING ABOVE. Currently the Finnish Compose 2358 file inserts U+00B0 DEGREE SIGN even though the line's comment says 2359 "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 2360 2361 Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 2362 Signed-off-by: James Cloos <cloos@jhcloos.com> 2363 2364commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 2365Author: Ran Benita <ran234@gmail.com> 2366Date: Wed Jan 29 02:11:47 2014 +0200 2367 2368 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 2369 2370 Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 2371 keysyms: 2372 2373 #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 2374 #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 2375 2376 (and similarly for uhorn), there is no need to have both names. Remove 2377 the unicode literal ones. 2378 2379 Signed-off-by: Ran Benita <ran234@gmail.com> 2380 Signed-off-by: James Cloos <cloos@jhcloos.com> 2381 2382commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 2383Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2384Date: Sat Jan 18 22:35:18 2014 -0800 2385 2386 Add RANDR 1.4 requests & events to XErrorDB 2387 2388 Checked against randrproto.txt & randr.h 2389 2390 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2391 2392commit 321392ded15a7ee9d177d4ebe8846336ba76741c 2393Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2394Date: Fri Jan 3 20:04:33 2014 -0800 2395 2396 Remove unused ETEST & ESZTEST macros from XlibInt.c 2397 2398 Left behind when 15e5eaf62897 removed support for building without XCB. 2399 2400 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2401 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 2402 2403commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 2404Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2405Date: Thu Dec 26 09:26:13 2013 -0800 2406 2407 _XkbReadGeomOverlay: check for NULL first, then use pointer 2408 2409 Flagged by cppcheck 1.62: 2410 [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 2411 (warning) Possible null pointer dereference: row - otherwise it is 2412 redundant to check it against null. 2413 2414 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2415 2416commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 2417Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2418Date: Thu Dec 26 09:22:49 2013 -0800 2419 2420 XkbSelectEventDetails: remove unnecessary assignments 2421 2422 clear & selectAll are set to 0 already a few lines earlier, 2423 affectWhich is set to XkbMapNotifyMask a few lines later. 2424 None are used between the other assignments and the removed ones. 2425 2426 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2427 2428commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 2429Author: Jon TURNEY <jon.turney@dronecode.org.uk> 2430Date: Thu Oct 7 18:46:08 2010 +0100 2431 2432 Don't try so hard to find a matching font with the given encoding 2433 2434 See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 2435 2436 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 2437 does XCreateFontSet() with a font name of "*", we end up asking the server 2438 to list the (non-existent) fonts 11 times for each CJK encoding, which can 2439 take a while. 2440 2441 A * wildcard can match multiple components in a XLFD name in XListFonts(), 2442 so there's no need to try adding more than one to get a match. 2443 2444 We do try once with a leading '*-' in case the fontname isn't a full 2445 well-formed XLFD name, maybe even that isn't needed? 2446 2447 (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 2448 2449 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 2450 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2451 2452commit 7e163300735d4bcd3386b86eec112acdad139c59 2453Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2454Date: Mon Dec 2 21:51:27 2013 -0800 2455 2456 unifdef -UISC 2457 2458 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2459 2460commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 2461Author: Benno Schulenberg <bensberg@justemail.net> 2462Date: Thu Sep 19 13:20:05 2013 +0200 2463 2464 nls: Fix transposed locale identifier for Khmer. 2465 2466 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2467 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2468 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2469 2470commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 2471Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2472Date: Sat Nov 16 20:21:54 2013 -0800 2473 2474 Drop X_LOCALE fallback for OS'es without setlocale() 2475 2476 C89 or bust! This was documented as being needed for "only Lynx, 2477 Linux-libc5, OS/2" and has never been enabled in modular builds, 2478 since none of those platforms have had anyone step up to add support 2479 since the X11R7 conversion to autotools. 2480 2481 Mostly performed with unifdef -UX_LOCALE, followed by removal of files 2482 left without any purpose, and manual cleanup of remaining references. 2483 2484 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2485 Reviewed-by: Adam Jackson <ajax@redhat.com> 2486 2487commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 2488Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2489Date: Wed Oct 23 10:37:53 2013 -0700 2490 2491 Xcms file parsing should not require the impossible to succeed 2492 2493 The field2 helper function, to split lines from Xcms.txt files into 2494 two tab delimited fields, contained a check: 2495 2496 if ((*pBuf != '\n') || (*pBuf != '\0')) { 2497 return(XcmsFailure); 2498 2499 which would cause it to return failure unless *pBuf had a value that 2500 was simultaneously equal to both \n & \0, and no one wants to live in 2501 a world where that could ever be true. 2502 2503 This has gone unnoticed since 1991, since this only caused lines 2504 in Xcms.txt that started with whitespace to be rejected, but now 2505 gcc -Wlogicalop has brought it to our attention, and 2506 https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 2507 2508 Now that we see it, and cannot unsee it, we change it to use the 2509 same logic as the check at other points in this function, to return 2510 failure only if we hit \n or \0 before we find the first non-whitespace 2511 character, so that lines starting with whitespace will have the space 2512 skipped over to get to the color name to be defined. 2513 2514 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2515 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 2516 2517commit 18a5278b008e9faa59b346fcab18a8d74b875fda 2518Author: Gaetan Nadon <memsize@videotron.ca> 2519Date: Sat Sep 28 17:33:52 2013 -0400 2520 2521 makekeys: don't need to use target-specific CFLAGS 2522 2523 It's the only thing built in that directory, so we can use AM_CFLAGS 2524 and AM_CPPFLAGS as usual. 2525 2526 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2527 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 2528 2529commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 2530Author: James Cloos <cloos@jhcloos.com> 2531Date: Tue Sep 17 12:50:42 2013 -0400 2532 2533 nls/en_US.UTF-8/Compose.pre: Fix typo. 2534 2535 Fix typo added in 215ce6a67863, s/actute/acute/. 2536 2537 Fixes bug #69476. Reported by Jean Krohn. 2538 2539 Signed-off-by: James Cloos <cloos@jhcloos.com> 2540 2541commit cb107760df33ffc8630677e66e2e50aa37950a5c 2542Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2543Date: Sun Sep 8 18:37:01 2013 -0700 2544 2545 libX11 1.6.2 2546 2547commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 2548Author: Benno Schulenberg <bensberg@justemail.net> 2549Date: Sun Sep 1 12:38:30 2013 +0200 2550 2551 nls: Adding more accessible compose sequences for J́ and j́. 2552 2553 Few keyboards have an <acute> key, so this adds the much more 2554 accessible and usual compose sequences with <apostrophe>, ánd 2555 the most comfortable ones with <dead_acute>. 2556 2557 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2558 Signed-off-by: James Cloos <cloos@jhcloos.com> 2559 2560commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 2561Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2562Date: Sat Aug 24 17:27:43 2013 -0700 2563 2564 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 2565 2566 Pass *new* size to realloc, not old size. 2567 2568 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2569 2570commit c2b8e30790c21d6386767265263b3294ce1b1f9a 2571Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2572Date: Fri Aug 16 21:04:02 2013 -0700 2573 2574 Stop checking for HAVE_DIX_CONFIG_H on the client side 2575 2576 Leftover from when these XKB files were shared with the server sources 2577 and could be compiled in either the client or server, with the different 2578 autoconf config files in each. 2579 2580 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2581 2582commit 84276609b2f0aec74fb464c428c7db5714b0fcfc 2583Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2584Date: Fri Aug 16 18:27:28 2013 -0700 2585 2586 Rearrange some variable declarations & initializations in XKB 2587 2588 Little things noticed during XKB restyling that seemed to make the 2589 code easier to read. 2590 2591 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2592 2593commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 2594Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2595Date: Sun Aug 11 13:29:33 2013 -0700 2596 2597 Reindent XKB code to X.Org standard style 2598 2599 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2600 2601commit c0a0f78eb49c2e4ad956209de77475c85b9314ea 2602Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2603Date: Fri Aug 16 18:14:14 2013 -0700 2604 2605 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 2606 2607 We were checking to make sure that the largest keysym value was within 2608 the range of the allocated buffer, but checking against different limits 2609 in the not-yet-allocated vs. the already-allocated branches. 2610 2611 The check should be the same in both, and reflect the size used for the 2612 allocation, which is based on the maximum key code value, so we move it 2613 to be a common check, before we branch, instead of duplicating in each 2614 branch. 2615 2616 map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 2617 map->syms is the array for which num_syms is recorded, hence is not the 2618 right value to check for ensuring our key_sym_map accesses are in range. 2619 2620 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2621 Reported-by: Barry Kauler <bkauler@gmail.com> 2622 Tested-by: Barry Kauler <bkauler@gmail.com> 2623 2624commit bea6cbd027973142fc64532274e1d16861b47190 2625Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2626Date: Sun Aug 11 17:02:21 2013 -0700 2627 2628 Remove long unused src/udcInf.c 2629 2630 I can find no record of what this file was for. Neither the X11R6.8.2 2631 monolith Imakefile nor any modular release Makefile.am have ever built 2632 it and nothing else references it. 2633 2634 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2635 2636commit bf3501e0395abe890acfea98fdd9f50a6966f118 2637Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2638Date: Sun Aug 11 00:07:33 2013 -0700 2639 2640 Remove unnecessary casts of pointers to (char *) in calls to Xfree() 2641 2642 Left one cast behind that is necessary to change from const char * 2643 to char * in src/xlibi18n/lcCharSet.c. 2644 2645 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2646 2647commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 2648Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2649Date: Sat Aug 10 23:57:55 2013 -0700 2650 2651 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 2652 2653 sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 2654 don't strip down to unsigned int and re-expand unnecessarily. 2655 2656 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2657 2658commit 25a7a329def672fc8d26078538173777850c6390 2659Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2660Date: Sat Aug 10 23:51:08 2013 -0700 2661 2662 Remove even more casts of return values from Xmalloc/Xrealloc 2663 2664 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2665 2666commit f8fa16092a148b74ca35b4beb182053352606f2f 2667Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2668Date: Sat Aug 10 23:05:13 2013 -0700 2669 2670 xlibi18n: fix argsize argument to _XlcParsePath 2671 2672 The array is defined as having NUM_LOCALEDIR entries, so use that 2673 instead of hardcoded 256 value (the other two calls already did this). 2674 2675 Reported by parfait: 2676 Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 2677 Pointer size is 64 elements (of 8 bytes each), index is 255 2678 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 2679 called at line 178 in function '_XlcParsePath' with argv = argv. 2680 called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 2681 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 2682 called at line 178 in function '_XlcParsePath' with argv = argv. 2683 called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 2684 2685 [ This bug was found by the Parfait 1.2.0 bug checking tool. 2686 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 2687 2688 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2689 2690commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 2691Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2692Date: Sat Aug 10 22:32:42 2013 -0700 2693 2694 i18n modules: Fix some const cast warnings 2695 2696 imRm.c: In function '_XimSetICMode': 2697 imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2698 imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2699 2700 lcGenConv.c: In function 'byteM_parse_codeset': 2701 lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2702 2703 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2704 2705commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 2706Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2707Date: Sat Aug 10 22:21:54 2013 -0700 2708 2709 xlibi18n: Fix a bunch of const cast warnings 2710 2711 Add const qualifiers to casts where needed, remove other casts that 2712 are no longer needed. 2713 2714 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2715 2716commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 2717Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2718Date: Sat Aug 10 22:18:00 2013 -0700 2719 2720 Fix const handling in XSetLocaleModifiers 2721 2722 Instead of reusing the input parameter to store the output, make a 2723 result variable instead, so that there's less const confusion. 2724 2725 Fixes gcc warnings: 2726 lcWrap.c: In function 'XSetLocaleModifiers': 2727 lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2728 lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2729 lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2730 2731 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2732 2733commit 8ebbffa98563960910152e4f2e31cb032375d871 2734Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2735Date: Sat Aug 10 21:46:37 2013 -0700 2736 2737 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 2738 2739 Makes code considerably less crufty and clears gcc warnings: 2740 XlcDL.c: In function '_XlcDynamicLoad': 2741 XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 2742 from pointer target type [-Wcast-qual] 2743 XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 2744 from pointer target type [-Wcast-qual] 2745 2746 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2747 2748commit 07e4e864107b38c2f393564fdacc90f4e858f23f 2749Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2750Date: Sat Aug 10 13:37:53 2013 -0700 2751 2752 init_om: remove unneeded extra copy of string to local buffer 2753 2754 Strings from the supported_charset_list[] were being copied one by 2755 one to a stack buffer, and then strdup called on that buffer. 2756 2757 Instead, just strdup the original string, without the local copy, 2758 and use a more traditional for loop, so it's easier to figure out 2759 what the code is doing (cleaning up a gcc const-cast warning in 2760 the process). 2761 2762 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2763 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2764 2765commit 1cec14dad904ba21a861f4af131be5982ecb83dd 2766Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2767Date: Sat Aug 10 12:34:53 2013 -0700 2768 2769 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 2770 2771 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2772 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2773 2774commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 2775Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2776Date: Sat Aug 10 12:19:17 2013 -0700 2777 2778 miRegionOp(): ensure region size is not updated if realloc fails 2779 2780 This function performs operations on a region, and when finished, 2781 checks to see if it should compact the rectangle list. If the 2782 number of rectangles for which memory is allocated in the list is 2783 more than twice the number used, it tries to shrink. realloc() 2784 should not fail in this case, but if it does, might as well keep 2785 the correct value for the number of allocated rectangles, so we 2786 don't try to grow it unnecessarily later if adding to the region. 2787 2788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2789 2790commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 2791Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2792Date: Sat Aug 10 12:19:17 2013 -0700 2793 2794 miRegionCopy(): handle realloc failure better 2795 2796 Zero out the region size when freeing the region so callers don't think 2797 there's anything there. (Pointer is already set to NULL from the realloc 2798 result itself.) Return 0 to the callers, and have them cascade that back 2799 to their callers to indicate failure, instead of their usual return value 2800 of 1 on success. 2801 2802 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2803 2804commit 5dc8b5385d513bbda88697c2372db750d23f46d4 2805Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2806Date: Sat Aug 10 11:27:22 2013 -0700 2807 2808 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 2809 2810 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2811 2812commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 2813Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2814Date: Sat Aug 10 12:07:51 2013 -0700 2815 2816 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 2817 2818 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2819 2820commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 2821Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2822Date: Sat Aug 10 12:30:39 2013 -0700 2823 2824 lcDB.c: ensure buffer size is updated correctly if realloc fails 2825 2826 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2827 2828commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 2829Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2830Date: Sat Aug 10 11:07:47 2013 -0700 2831 2832 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 2833 2834 Previously, if realloc failed to increase the size, we'd still 2835 record that we had allocated the larger size, but the pointer 2836 to it would be NULL, causing future calls to be broken, and the 2837 previous allocation to be lost/leaked. 2838 2839 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2840 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2841 2842commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 2843Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2844Date: Fri Aug 9 23:33:03 2013 -0700 2845 2846 omGeneric.c: convert sprintf calls to snprintf 2847 2848 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2849 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2850 2851commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 2852Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2853Date: Fri Aug 9 23:30:30 2013 -0700 2854 2855 ximcp/imRm.c: convert sprintf calls to snprintf 2856 2857 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2858 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2859 2860commit 4fadae243fb485628c9a137f5da3489ed6214b21 2861Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2862Date: Fri Aug 9 23:02:12 2013 -0700 2863 2864 xlibi18n: convert sprintf calls to snprintf 2865 2866 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2867 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2868 2869commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 2870Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2871Date: Fri Aug 9 23:02:12 2013 -0700 2872 2873 lcfile: skip over any null entries in args list 2874 2875 Previous code seemed to assume that printf("%s", NULL) would result 2876 in a 0-length string, not "(null)" or similar, but since there's no 2877 point looking for files in "(null)/filepath...", instead we just 2878 skip over NULL entries in search paths when generating file names. 2879 2880 In the *DirName() functions, this effectively just moves the "bail on 2881 NULL in arg[i]" check up from the later code that assigned it to targetdir 2882 and then bailed if that was NULL. 2883 2884 Not sure how there ever could be a NULL in arg[i], given the current 2885 implementation of XlcParsePath, but it's easy enough to check once and 2886 reject up front instead of on every reference. 2887 2888 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2889 2890commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 2891Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2892Date: Fri Aug 9 22:00:09 2013 -0700 2893 2894 Fix file leak on malloc error in XlcDL.c:resolve_object() 2895 2896 File Leak: Leaked File fp 2897 at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 2898 fp initialized at line 198 with fopen 2899 2900 [ This bug was found by the Parfait 1.2.0 bug checking tool. 2901 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 2902 2903 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2904 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2905 2906commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 2907Author: Julien Cristau <jcristau@debian.org> 2908Date: Sat Jun 15 18:02:21 2013 +0200 2909 2910 Add missing locales to configure.ac 2911 2912 Commits 40761898692e5063957bfa2518cca3d35b2e354a and 2913 f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 2914 (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 2915 meaning they're not included in tarballs. 2916 2917 Signed-off-by: Julien Cristau <jcristau@debian.org> 2918 Reviewed-by: James Cloos <cloos@jhcloos.com> 2919 2920commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 2921Author: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 2922Date: Tue Dec 18 15:28:05 2012 +0000 2923 2924 Fix bogus timestamp generated by XIM 2925 2926 Fix bogus timestamp generted by XIM due to uninitialized 2927 data field. Also set appropriate serial, too. 2928 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 2929 2930 Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 2931 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2932 2933commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 2934Author: Egbert Eich <eich@freedesktop.org> 2935Date: Thu Jun 16 18:47:49 2011 +0200 2936 2937 XIM: Fix sync problem on focus change. 2938 2939 XSetICFocus() and XUnsetICFocus() are both asynchronous events. 2940 This is a pretty stupid idea: those functions may undo certain 2941 settings on the client side for which requests from the server 2942 may still be in the queue unprocessed. Thus things may be set 2943 in the wrong order ie instead of set -> unest it will be unset -> set. 2944 Moreover there is no way for either the client or the server to 2945 cause the event queue to be flushed - which is pretty bad as 2946 XIM is bidirectional. 2947 The scenario is as follows: 2948 Two ICs are created: 2949 ic1 = XCreateIC(im, 2950 XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 2951 XNClientWindow, window, 2952 XNPreeditAttributes, preedit_attr, 2953 XNStatusAttributes, status_attr, 2954 NULL); 2955 ic2 = XCreateIC(im, XNInputStyle, 2956 XIMPreeditNothing | XIMStatusNothing, 2957 XNClientWindow, window, NULL); 2958 Then the focus is removed from ic2: 2959 XUnsetICFocus(ic2); 2960 If SCIM is used as the input server it will send a bunch of requests 2961 following an XCreateIC(). One of the requests registers a key release 2962 filter. XUnsetICFocus() unsets both key press and release filters. 2963 Since it is asynchronous, the input server requests to register key 2964 press and release filters may not have been processed, when XUnsetICFocus() 2965 is called. Since there is no explicite way for client programs to enforce 2966 the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 2967 call it would be safest to make those two calls synchronous in the sense 2968 that they ensure the request queue has been handled before they execute. 2969 The easiest way to do this from Xlib is thru a call to XGetICValues() 2970 which sends a request to the server and subsequently reads the queue 2971 from the server to the client. This will cause all outstanding requests 2972 in the queue to be read and handled. 2973 This is an ugly hack and this could be fixed directly in the client, 2974 however it seems to be easier to fix Xlib than to fix numerous clients. 2975 This problem arose since there is no well documented way how to handle 2976 and synchronize XIM requests and not all input servers send requests 2977 when an IC is created. 2978 This has been discussed extensively in: 2979 https://bugzilla.novell.com/show_bug.cgi?id=221326 2980 2981 Signed-off-by: Egbert Eich <eich@freedesktop.org> 2982 2983commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 2984Author: Egbert Eich <eich@freedesktop.org> 2985Date: Thu Jun 16 17:28:39 2011 +0200 2986 2987 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 2988 2989 When synthesized key events are sent on commit XIM sets the 'fabricated' 2990 flag so that the keypress handler knows that these were not real events. 2991 This also happens when committing due to the loss of focus. However in this 2992 case the keypress/release filters which consume and unset this flag are no 2993 longer in the filter chain. 2994 So the flag is erronously set when a real keyboard event is received after 2995 focus has been regained. So the first event is wrongly treated as a 2996 fabricated key in the keypress handler which will at the same time reset 2997 the flag so the second key event is treated correctly. 2998 This fix only sets the flag when at least one of the keyboard filters is in 2999 place. 3000 How to reproduce this bug: run scim, choose a Japanese input method start 3001 two instances of xterm: start typing in one xterm (this should pop up an 3002 IM window). Without comitting (hitting 'enter') move focus to the other 3003 xterm, then move focus back. Start typing again. The first character will 3004 be committed immediately without popping up an input window. 3005 With this fix this behavior is gone. 3006 3007 See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 3008 3009 Signed-off-by: Egbert Eich <eich@freedesktop.org> 3010 3011commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 3012Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3013Date: Mon Jul 29 21:29:49 2013 -0700 3014 3015 libX11 1.6.1 3016 3017 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3018 3019commit d19cfaca15826943d3c637ef7fa5db0a23d5feed 3020Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3021Date: Sat Jul 27 12:19:00 2013 -0700 3022 3023 Fix undefined XCMSDIR error when building lint library 3024 3025 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3026 3027commit 3083cd43d7dcd59da587975e7cadda681cd8a103 3028Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3029Date: Sat Jul 27 00:36:08 2013 -0700 3030 3031 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 3032 3033 Upstreaming from changes originally integrated into OpenSolaris 3034 under Sun bug id 6882572. 3035 3036 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3037 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 3038 3039commit 208e586c808e88a2ee819e4450dc27f557afc2bf 3040Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3041Date: Sat Jul 27 01:03:18 2013 -0700 3042 3043 omGeneric: remove space between struct name & member name 3044 3045 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3046 3047commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 3048Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3049Date: Tue Jul 23 22:18:46 2013 -0700 3050 3051 Refactor common code from XAddHost & XRemoveHost into single function 3052 3053 On the Xlib side, the only real difference is the mode flag we send 3054 to the server with the address, so just make that an argument to the 3055 function with the common code for packing the address into the request. 3056 3057 (Aside from labels, gcc 4.7.2 generates identical code before & after 3058 this change due to inlining, verified via diff of gcc -S output.) 3059 3060 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3061 3062commit 3292195a64a9ce4f0d27134cd544651ec647e728 3063Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3064Date: Tue Jul 23 22:11:34 2013 -0700 3065 3066 XSetModifierMapping: Use Data instead of GetReqExtra 3067 3068 Handle arbitrary length data in the same fashion as other calls, 3069 avoiding need to ensure it fits all in the request buffer. 3070 3071 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3072 3073commit feb131b18aee31c2c125dc3275b0260940245882 3074Author: Kees Cook <kees@outflux.net> 3075Date: Sun Jun 9 11:13:43 2013 -0700 3076 3077 libX11: check "req" when calling GetReqExtra 3078 3079 This fixes the two callers of GetReqExtra to check that "req" is non-NULL 3080 to avoid crashing now that GetReqExtra does internal bounds-checking on 3081 the resulting buffer sizes. 3082 3083 Additionally updates comment describing return values to use names 3084 instead of only literal values. 3085 3086 Signed-off-by: Kees Cook <kees@outflux.net> 3087 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3088 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3089 3090commit 54540d7cba0c2bfe9176221c7bca910058d304df 3091Author: Kees Cook <kees@outflux.net> 3092Date: Sun Jun 9 11:13:42 2013 -0700 3093 3094 libX11: check size of GetReqExtra after XFlush 3095 3096 Two users of GetReqExtra pass arbitrarily sized allocations from the 3097 caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 3098 macro) to double-check the requested length and invalidate "req" when 3099 this happens. Users of GetReqExtra passing lengths greater than the Xlib 3100 buffer size (normally 16K) must check "req" and fail gracefully instead 3101 of crashing. 3102 3103 Any callers of GetReqExtra that do not check "req" for NULL 3104 will experience this change, in the pathological case, as a NULL 3105 dereference instead of a buffer overflow. This is an improvement, but 3106 the documentation for GetReqExtra has been updated to reflect the need 3107 to check the value of "req" after the call. 3108 3109 Bug that manifested the problem: 3110 https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 3111 3112 Signed-off-by: Kees Cook <kees@outflux.net> 3113 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3114 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3115 3116commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 3117Author: Thomas Klausner <wiz@NetBSD.org> 3118Date: Tue Jun 25 22:35:29 2013 +0200 3119 3120 Tighten out-of-range comparisons. 3121 3122 [For all of these, LONG_MAX was the correct value to prevent overflows 3123 for the recent CVEs. Lowering to INT_MAX catches buggy replies from 3124 the server that 32-bit clients would reject but 64-bit would accept, 3125 so we catch bugs sooner, and really, no sane & working server should 3126 ever report more than 2gb of extension names, font path entries, 3127 key modifier maps, etc. -alan- ] 3128 3129 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3130 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3131 3132commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 3133Author: Thomas Klausner <wiz@NetBSD.org> 3134Date: Tue Jun 25 18:34:32 2013 +0200 3135 3136 Fix out-of-range comparison in _XF86BigfontQueryFont 3137 3138 clang complained (correctly): 3139 warning: comparison of constant 768614336404564650 with expression 3140 of type 'CARD32' (aka 'unsigned int') is always true 3141 [-Wtautological-constant-out-of-range-compare] 3142 3143 [While LONG_MAX is correct, since it's used in size_t math, the 3144 numbers have to be limited to 32-bit range to be usable by 32-bit 3145 clients, and values beyond that range are far more likely to be 3146 bugs in the data from the server than valid numbers of characters 3147 in a font. -alan- ] 3148 3149 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3150 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3151 3152commit 383e2b0d029482a0f4c39fe00e15397538576fc1 3153Author: Thomas Klausner <wiz@NetBSD.org> 3154Date: Tue Jun 25 18:33:56 2013 +0200 3155 3156 Check for symbol existence with #ifdef, not #if 3157 3158 Reviewed-by: Jamey Sharp <jamey@minilop.net> 3159 3160 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3161 3162commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 3163Author: Thomas Klausner <wiz@NetBSD.org> 3164Date: Tue Jun 25 18:33:07 2013 +0200 3165 3166 Use newer callback-based API for XIM. 3167 3168 Let libX11 load and make available the newer (X11R6) callback-based 3169 API for XIM (expected by emacs). 3170 3171 This patch updates the files to match the other nls/ files. 3172 3173 Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 3174 following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 3175 3176 Reviewed-by: James Cloos <cloos@jhcloos.com> 3177 3178 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3179 3180commit a17ceb7100bd36c2db210473ee701deb5d515731 3181Author: Thomas Klausner <wiz@NetBSD.org> 3182Date: Tue Jun 25 18:31:32 2013 +0200 3183 3184 Stop truncating source to destination length if it is larger. 3185 3186 It seems useless to do that since the code tests for both source 3187 length and destination to be non-zero. This fixes a cut'n'paste 3188 problem in xterm where the paste length was limited to 1024 (BUFSIZ) 3189 in button.c. 3190 3191 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3192 3193commit a336db9a0add3ae0783dda6e52459236622a12af 3194Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3195Date: Mon Jun 24 23:02:05 2013 -0700 3196 3197 Require ANSI C89 pre-processor, drop pre-C89 token pasting support 3198 3199 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3200 3201commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 3202Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3203Date: Fri Jun 7 11:30:11 2013 -0700 3204 3205 troff macro expansion in specs/libX11 3206 3207 Many of the custom nroff macros (.ds <macro> <contents>) were left 3208 unsubstituted in the nroff->docbook conversion. This substitution 3209 is now performed, via the following perl script: 3210 3211 #! /usr/bin/perl -w -i 3212 3213 use Text::Wrap; 3214 3215 while ($_ = <>) { 3216 while ($_ =~ m/\((\w+)\b/g) { 3217 my $m = $1; 3218 if (exists $macro{$m}) { 3219 $_ =~ s/\($m/$macro{$m}/; 3220 $_ = wrap('', '', $_); 3221 $_ =~ s/[ \t]+$//; 3222 } 3223 } 3224 3225 if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 3226 my ($m, $s) = ($1, $2); 3227 $macro{$m} = $s; 3228 while ($macro{$m} =~ /\\\s*$/) { 3229 $macro{$m} =~ s/\\\s*$//ms; 3230 $macro{$m} .= <>; 3231 chomp($macro{$m}); 3232 } 3233 $macro{$m} =~ s/\\ / /g; 3234 } else { 3235 print $_; 3236 } 3237 } 3238 3239 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3240 3241commit 20c17bd9ebf767a24643279e45866dddcb57b5ce 3242Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3243Date: Fri Jun 7 09:27:26 2013 -0700 3244 3245 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 3246 3247 The XListPixmapFormats arguments was being shown with XImageByteOrder's 3248 name and return types. Appears to have been a glitch in the nroff -> 3249 docbook conversion. 3250 3251 Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 3252 Reviewed-by: Jamey Sharp <jamey@minilop.net> 3253 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3254 3255commit ed3d830243c8a0eefaf24e15b11823272ffe5049 3256Author: Thomas Klausner <wiz@NetBSD.org> 3257Date: Sun Jun 2 20:49:55 2013 +0200 3258 3259 Deal with the limited range of VAX floating point numbers when compiling for VAX. 3260 3261 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3262 3263commit 0a48235d63639fb917c44d27c86e928e79fbac66 3264Author: Eric S. Raymond <esr@thyrsus.com> 3265Date: Thu Jun 6 16:43:56 2013 -0400 3266 3267 Remove call to undefined macro. 3268 3269commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 3270Author: Eric S. Raymond <esr@thyrsus.com> 3271Date: Thu Jun 6 16:42:20 2013 -0400 3272 3273 Remove call to undefined macro. 3274 3275commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 3276Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3277Date: Mon Jun 3 20:06:43 2013 -0700 3278 3279 Update README to reflect where to find the Xlib specs now 3280 3281 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3282 3283commit 655d631e86c95b14888758b27ed2836ca3e3ce86 3284Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3285Date: Mon Jun 3 19:21:06 2013 -0700 3286 3287 libX11 1.6.0 3288 3289 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3290 3291commit 4a89b7ea908554628f374537a79931c8006a2de3 3292Author: Thomas Klausner <wiz@NetBSD.org> 3293Date: Sun Jun 2 11:49:54 2013 -0700 3294 3295 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 3296 3297 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3298 3299commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 3300Author: Thomas Klausner <wiz@NetBSD.org> 3301Date: Sun Jun 2 20:49:48 2013 +0200 3302 3303 XCreateGC man page: Avoid .TS H and .TH macros 3304 3305 Avoid .TS H and .TH for now as it doesn't alter the output in this case, 3306 and improve the output with mandoc(1). 3307 3308 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3309 3310commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 3311Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3312Date: Thu May 23 19:43:35 2013 -0700 3313 3314 libX11 1.5.99.902 (1.6 RC2) 3315 3316 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3317 3318commit a3bdd2b090915fe0163b062f0e6576fe05dd332e 3319Author: Julien Cristau <jcristau@debian.org> 3320Date: Thu May 23 20:39:46 2013 +0200 3321 3322 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 3323 3324 The size of the arrays is max_key_code + 1. This makes these functions 3325 consistent with the other checks added for CVE-2013-1997. 3326 3327 Also check the XkbGetNames reply when names->keys was just allocated. 3328 3329 Signed-off-by: Julien Cristau <jcristau@debian.org> 3330 Tested-by: Colin Walters <walters@verbum.org> 3331 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3332 3333commit 7e30056e78e4b7979ff47f102e00327617266019 3334Author: Niveditha Rau <Niveditha.Rau@Oracle.COM> 3335Date: Fri May 17 15:26:21 2013 -0700 3336 3337 Make sure internal headers include required headers 3338 3339 Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 3340 longer ignores *.h files, but complains when they reference undefined 3341 typedefs or macros. 3342 3343 Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 3344 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3345 3346commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 3347Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3348Date: Thu May 16 23:05:36 2013 -0700 3349 3350 Free fs->properties in _XF86BigfontQueryFont overflow error path 3351 3352 Fixes small memory leak introduced in commit 5669a22081 3353 3354 Reported-by: Julien Cristau <jcristau@debian.org> 3355 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3356 3357commit 3131740513133a9ff7cb12123d29ceb18584fc38 3358Author: Matthieu Herrb <matthieu.herrb@laas.fr> 3359Date: Wed May 8 19:33:09 2013 +0200 3360 3361 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 3362 3363 Freeing a pointer that wasn't returned by malloc() is undefined 3364 behavior and produces an error with OpenBSD's implementation. 3365 3366 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3367 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3368 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3369 3370commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 3371Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3372Date: Fri Apr 19 14:30:40 2013 -0700 3373 3374 Give GNU & Solaris Studio compilers hints about XEatData branches 3375 3376 Try to offset the cost of all the recent checks we've added by giving 3377 the compiler a hint that the branches that involve us eating data 3378 are less likely to be used than the ones that process it. 3379 3380 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3381 3382commit e1b457beb8d4e831ef44279dada6c475cb955738 3383Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3384Date: Sun Mar 31 12:22:35 2013 -0700 3385 3386 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 3387 3388 Various other bounds checks in the code assume this is true, so 3389 enforce it when we first get the data from the X server. 3390 3391 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3392 3393commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 3394Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3395Date: Sat Mar 16 10:03:13 2013 -0700 3396 3397 Use calloc in XOpenDisplay to initialize structs containing pointers 3398 3399 Prevents trying to free uninitialized pointers if we have to bail out 3400 partway through setup, such as if we receive a corrupted or incomplete 3401 connection setup block from the server. 3402 3403 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3404 3405commit d38527e25f8b6e2f1174ecc21260c5c5416f972e 3406Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3407Date: Thu Mar 7 23:46:05 2013 -0800 3408 3409 Remove more unnecessary casts from Xmalloc/calloc calls 3410 3411 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3412 3413commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 3414Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3415Date: Sat Mar 2 16:56:16 2013 -0800 3416 3417 Convert more _XEatData callers to _XEatDataWords 3418 3419 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3420 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3421 3422commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 3423Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3424Date: Sat Mar 9 11:04:37 2013 -0800 3425 3426 Make XGetWindowProperty() always initialize returned values 3427 3428 Avoids memory corruption and other errors when callers access them 3429 without checking to see if XGetWindowProperty() returned an error value. 3430 3431 Callers are still required to check for errors, this just reduces the 3432 damage when they don't. 3433 3434 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3435 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3436 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3437 3438commit db1b1c871da29aa0545182bf888df81627f165a5 3439Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3440Date: Sat Mar 2 15:08:21 2013 -0800 3441 3442 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 3443 3444 Ensure that when breaking the returned list into individual strings, 3445 we don't walk past the end of allocated memory to write the '\0' bytes 3446 3447 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3448 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3449 3450commit 8d5936594993921acdfec778dd8f41b555e2543a 3451Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3452Date: Sat Mar 2 15:08:21 2013 -0800 3453 3454 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 3455 3456 Ensure that when breaking the returned list into individual strings, 3457 we don't walk past the end of allocated memory to write the '\0' bytes 3458 3459 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3460 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3461 3462commit 0c404db6a92dc2c198328bf586c02d8abbe02013 3463Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3464Date: Sat Mar 2 15:08:21 2013 -0800 3465 3466 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 3467 3468 Ensure that when breaking the returned list into individual strings, 3469 we don't walk past the end of allocated memory to write the '\0' bytes 3470 3471 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3472 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3473 3474commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 3475Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3476Date: Sat Mar 2 15:08:21 2013 -0800 3477 3478 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 3479 3480 Ensure that we don't underallocate when the server claims a very large reply 3481 3482 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3483 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3484 3485commit a351b8103b2ba78882e1c309e85893ca3abe2073 3486Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3487Date: Sat Mar 2 15:08:21 2013 -0800 3488 3489 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 3490 3491 Ensure that we don't underallocate when the server claims a very large reply 3492 3493 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3494 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3495 3496commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 3497Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3498Date: Sat Mar 2 15:08:21 2013 -0800 3499 3500 integer overflow in XGetImage() [CVE-2013-1981 11/13] 3501 3502 Ensure that we don't underallocate when the server claims to have sent a 3503 very large reply. 3504 3505 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3506 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3507 3508commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 3509Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3510Date: Fri Mar 8 22:25:35 2013 -0800 3511 3512 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 3513 3514 If the reported number of properties is too large, the calculations 3515 to allocate memory for them may overflow, leaving us returning less 3516 memory to the caller than implied by the value written to *nitems. 3517 3518 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3519 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3520 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3521 3522commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 3523Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3524Date: Sat Mar 2 13:18:48 2013 -0800 3525 3526 integer overflows in TransFileName() [CVE-2013-1981 9/13] 3527 3528 When trying to process file paths the tokens %H, %L, & %S are expanded 3529 to $HOME, the standard compose file path & the xlocaledir path. 3530 If enough of these tokens are repeated and values like $HOME are set to 3531 very large values, the calculation of the total string size required to 3532 hold the expanded path can overflow, resulting in allocating a smaller 3533 string than the amount of data we'll write to it. 3534 3535 Simply restrict all of these values, and the total path size to PATH_MAX, 3536 because really, that's all you should need for a filename path. 3537 3538 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3539 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3540 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3541 3542commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 3543Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3544Date: Fri Mar 1 18:37:37 2013 -0800 3545 3546 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 3547 3548 Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 3549 to specify filename. 3550 3551 If the size of off_t is larger than the size of unsigned long (as in 3552 32-bit builds with large file flags), a file larger than 4 gigs could 3553 have its size truncated, leading to data from that file being written 3554 past the end of the undersized buffer allocated for it. 3555 3556 While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 3557 builders may have added the large file compilation flags to CFLAGS on 3558 their own. 3559 3560 size is left limited to an int, because if your Xim file is 3561 larger than 2gb, you're doing it wrong. 3562 3563 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3564 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3565 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3566 3567commit 226622349a4b1e16064649d4444a34fb4be4f464 3568Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3569Date: Sat Mar 2 12:39:58 2013 -0800 3570 3571 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 3572 3573 parseline() can call _XimParseStringFile() which can call parseline() 3574 which can call _XimParseStringFile() which can call parseline() .... 3575 eventually causing recursive stack overflow and crash. 3576 3577 Limit is set to a include depth of 100 files, which should be enough 3578 for all known use cases, but could be adjusted later if necessary. 3579 3580 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3581 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3582 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3583 3584commit 236b603d235dc264d1c6250dca09c745458a9088 3585Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3586Date: Sat Mar 2 12:01:39 2013 -0800 3587 3588 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 3589 3590 GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 3591 which can call GetDatabase() which can call GetIncludeFile() .... 3592 eventually causing recursive stack overflow and crash. 3593 3594 Easily reproduced with a resource file that #includes itself. 3595 3596 Limit is set to a include depth of 100 files, which should be enough 3597 for all known use cases, but could be adjusted later if necessary. 3598 3599 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3600 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3601 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3602 3603commit 076428918e6c35f66b9b55c3fa097ff06496d155 3604Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3605Date: Fri Mar 1 18:37:37 2013 -0800 3606 3607 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 3608 3609 Called from XrmGetFileDatabase() which gets called from InitDefaults() 3610 which gets the filename from getenv ("XENVIRONMENT") 3611 3612 If file is exactly 0xffffffff bytes long (or longer and truncates to 3613 0xffffffff, on implementations where off_t is larger than an int), 3614 then size may be set to a value which overflows causing less memory 3615 to be allocated than is written to by the following read() call. 3616 3617 size is left limited to an int, because if your Xresources file is 3618 larger than 2gb, you're very definitely doing it wrong. 3619 3620 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3621 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3622 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3623 3624commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 3625Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3626Date: Sat Mar 2 11:44:19 2013 -0800 3627 3628 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 3629 3630 LoadColornameDB() calls stringSectionSize() to do a first pass over the 3631 file (which may be provided by the user via XCMSDB environment variable) 3632 to determine how much memory needs to be allocated to read in the file, 3633 then allocates the returned sizes and calls ReadColornameDB() to load the 3634 data from the file into that newly allocated memory. 3635 3636 If stringSectionSize() overflows the signed ints used to calculate the 3637 file size (say if you have an xcmsdb with ~4 billion lines in or a 3638 combined string length of ~4 gig - which while it may have been 3639 inconceivable when Xlib was written, is quite possible today), then 3640 LoadColornameDB() may allocate a memory buffer much smaller than the 3641 amount of data ReadColornameDB() will write to it. 3642 3643 The total size is left limited to an int, because if your xcmsdb file 3644 is larger than 2gb, you're doing it wrong. 3645 3646 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3647 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3648 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3649 3650commit b9ba832401734e1cbd30a930c0d11d850293f3f9 3651Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3652Date: Sat Mar 2 11:25:25 2013 -0800 3653 3654 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 3655 3656 Check the provided buffer size against the amount of data we're going to 3657 write into it, not against the reported length from the ClientMessage. 3658 3659 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3660 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3661 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3662 3663commit de2e6c322c4aca22856b380f67f8e488e7510015 3664Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3665Date: Sat Mar 2 11:11:08 2013 -0800 3666 3667 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 3668 3669 If the X server returns key name indexes outside the range of the number 3670 of keys it told us to allocate, out of bounds memory writes could occur. 3671 3672 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3673 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3674 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3675 3676commit 2df882eeb3a70256170127a746a9ba26376599a1 3677Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3678Date: Sat Mar 2 11:01:04 2013 -0800 3679 3680 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 3681 3682 If the X server returns modifier map indexes outside the range of the number 3683 of keys it told us to allocate, out of bounds memory writes could occur. 3684 3685 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3686 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3687 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3688 3689commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 3690Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3691Date: Sat Mar 2 11:04:44 2013 -0800 3692 3693 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 3694 3695 If the X server returns key indexes outside the range of the number of 3696 keys it told us to allocate, out of bounds memory writes could occur. 3697 3698 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3699 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3700 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3701 3702commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 3703Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3704Date: Sat Mar 2 10:51:51 2013 -0800 3705 3706 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 3707 3708 If the X server returns modifier map indexes outside the range of the number 3709 of keys it told us to allocate, out of bounds memory writes could occur. 3710 3711 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3712 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3713 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3714 3715commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 3716Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3717Date: Sat Mar 2 10:39:21 2013 -0800 3718 3719 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 3720 3721 If the X server returns key behavior indexes outside the range of the number 3722 of keys it told us to allocate, out of bounds memory writes could occur. 3723 3724 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3725 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3726 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3727 3728commit 00626c3830b869259098985afa38933d77ccec72 3729Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3730Date: Sat Mar 2 09:40:22 2013 -0800 3731 3732 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 3733 3734 If the X server returns key action indexes outside the range of the number 3735 of keys it told us to allocate, out of bounds memory access could occur. 3736 3737 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3738 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3739 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3740 3741commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 3742Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3743Date: Sat Mar 2 09:28:33 2013 -0800 3744 3745 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 3746 3747 If the X server returns keymap indexes outside the range of the number of 3748 keys it told us to allocate, out of bounds memory access could occur. 3749 3750 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3751 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3752 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3753 3754commit 59ae16a00d18588e98af57d26e442af8ea42b7aa 3755Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3756Date: Sat Mar 2 09:18:26 2013 -0800 3757 3758 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 3759 3760 If the X server returns color indexes outside the range of the number of 3761 colors it told us to allocate, out of bounds memory access could occur. 3762 3763 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3764 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3765 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3766 3767commit bff938b9fe1629cbacb726509edfa2a3840b7207 3768Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3769Date: Sat Mar 2 09:12:47 2013 -0800 3770 3771 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 3772 3773 If the X server returns shape indexes outside the range of the number 3774 of shapes it told us to allocate, out of bounds memory access could occur. 3775 3776 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3777 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3778 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3779 3780commit f293659d5a4024bda386305bb7ebeb4647c40934 3781Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3782Date: Fri Mar 1 22:49:01 2013 -0800 3783 3784 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 3785 3786 If the X server returns more buttons than are allocated in the XKB 3787 device info structures, out of bounds writes could occur. 3788 3789 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3790 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3791 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3792 3793commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 3794Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3795Date: Fri Mar 1 19:30:09 2013 -0800 3796 3797 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 3798 3799 If a broken server returned larger than requested values for nPixels or 3800 nMasks, XAllocColorCells would happily overflow the buffers provided by 3801 the caller to write the results into. 3802 3803 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3804 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3805 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3806 3807commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 3808Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3809Date: Fri Mar 1 22:49:01 2013 -0800 3810 3811 integer overflow in XListHosts() [CVE-2013-1981 5/13] 3812 3813 If the reported number of host entries is too large, the calculations 3814 to allocate memory for them may overflow, leaving us writing beyond the 3815 bounds of the allocation. 3816 3817 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3818 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3819 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3820 3821commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 3822Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3823Date: Fri Mar 1 22:49:01 2013 -0800 3824 3825 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 3826 3827 If the reported number of motion events is too large, the calculations 3828 to allocate memory for them may overflow, leaving us writing beyond the 3829 bounds of the allocation. 3830 3831 v2: Ensure nEvents is set to 0 when returning NULL events pointer 3832 3833 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3834 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3835 3836commit 39515b7c3ba8cae9021bf6695e378ae19487082f 3837Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3838Date: Fri Mar 1 22:49:01 2013 -0800 3839 3840 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 3841 3842 If the reported number of remaining fonts is too large, the calculations 3843 to allocate memory for them may overflow, leaving us writing beyond the 3844 bounds of the allocation. 3845 3846 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 3847 v3: On error cases, also set values to be returned in pointer args to 0/NULL 3848 3849 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3850 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3851 3852commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 3853Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3854Date: Fri Mar 1 21:05:27 2013 -0800 3855 3856 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 3857 3858 Similar to _XQueryFont, but with more ways to go wrong and overflow. 3859 Only compiled if libX11 is built with XF86BigFont support. 3860 3861 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 3862 3863 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3864 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3865 3866commit 6df8a63d34b7514077188e2062a13774f920c085 3867Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3868Date: Fri Mar 1 21:05:27 2013 -0800 3869 3870 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 3871 3872 If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 3873 unsigned long, then too small of a buffer will be allocated for the 3874 data copied in from the reply. 3875 3876 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 3877 3878 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3879 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3880 3881commit 9f5d83706543696fc944c1835a403938c06f2cc5 3882Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3883Date: Fri Mar 1 20:54:24 2013 -0800 3884 3885 Add _XEatDataWords to discard a given number of 32-bit words of reply data 3886 3887 Matches the units of the length field in X protocol replies, and provides 3888 a single implementation of overflow checking to avoid having to replicate 3889 those checks in every caller. 3890 3891 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3892 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3893 3894commit d7f04c340ade3834e603c23d543132e1ee4e0c63 3895Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3896Date: Sat Mar 2 13:03:55 2013 -0800 3897 3898 Move repeated #ifdef magic to find PATH_MAX into a common header 3899 3900 Lets stop duplicating the mess all over 3901 3902 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3903 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3904 3905commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 3906Author: Pander <pander@users.sourceforge.net> 3907Date: Tue May 7 18:38:14 2013 -0400 3908 3909 Add compose sequences for J́ and j́. 3910 3911 The resulting sequences are: 3912 3913 U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 3914 U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 3915 3916 Used in Dutch, per: 3917 3918 http://lists.x.org/archives/xorg-devel/2013-February/035514.html 3919 https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 3920 3921 Signed-off-by: Pander <pander@users.sourceforge.net> 3922 Signed-off-by: James Cloos <cloos@jhcloos.com> 3923 3924commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 3925Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3926Date: Sat Mar 16 18:30:56 2013 -0700 3927 3928 Move big request comment in XOpenDisplay to the right place 3929 3930 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3931 3932commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 3933Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3934Date: Sat Mar 9 19:16:03 2013 -0800 3935 3936 libX11 1.5.99.901 (1.6 RC1) 3937 3938 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3939 3940commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 3941Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3942Date: Fri Mar 8 22:33:28 2013 -0800 3943 3944 Fix very weird indenting in src/GetFProp.c 3945 3946 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3947 3948commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 3949Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3950Date: Fri Mar 8 15:37:33 2013 -0800 3951 3952 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 3953 3954 While the C standard technically allows for the compiler to translate 3955 pointer = 0 or pointer = NULL into something other than filling the 3956 pointer address with 0 bytes, the rest of the Xlib code already assumes 3957 that calloc initializes any pointers in the struct to NULL, and there 3958 are no known systems supported by X.Org where this is not true. 3959 3960 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3961 3962commit 39547d600a13713e15429f49768e54c3173c828d 3963Author: Karl Tomlinson <xmail@karlt.net> 3964Date: Mon Feb 18 01:25:34 2013 +0000 3965 3966 MakeBigReq: don't move the last word, already handled by Data32 3967 3968 MakeBigReq inserts a length field after the first 4 bytes of the request 3969 (after req->length), pushing everything else back by 4 bytes. 3970 3971 The current memmove moves everything but the first 4 bytes back. 3972 If a request aligns to the end of the buffer pointer when MakeBigReq is 3973 invoked for that request, this runs over the buffer. 3974 Instead, we need to memmove minus the first 4 bytes (which aren't moved), 3975 minus the last 4 bytes (so we still align to the previous tail). 3976 3977 The 4 bytes that fell out are already handled with Data32, which will 3978 handle the buffermax correctly. 3979 3980 The case where req->length = 1 was already not functional. 3981 3982 Reported by Abhishek Arya <inferno@chromium.org>. 3983 3984 https://bugzilla.mozilla.org/show_bug.cgi?id=803762 3985 3986 Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 3987 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 3988 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3989 3990commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 3991Author: Quentin Glidic <sardemff7+git@sardemff7.net> 3992Date: Tue Jan 15 21:07:17 2013 +0000 3993 3994 nls/Makefile.am: Use LOG_COMPILER 3995 3996 TESTS_ENVIRONMENT is deprecated 3997 3998 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 3999 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4000 4001commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 4002Author: Quentin Glidic <sardemff7+git@sardemff7.net> 4003Date: Tue Jan 15 21:07:16 2013 +0000 4004 4005 nls/Makefile.am: Remove unneeded $(srcdir) 4006 4007 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 4008 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 4009 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4010 4011commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 4012Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4013Date: Sat Mar 2 12:01:39 2013 -0800 4014 4015 Add <X11/Xresource.h> hint to all Xrm* man pages 4016 4017 Help users figure out which header file they need to #include 4018 4019 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4020 4021commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 4022Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4023Date: Fri Mar 8 17:13:09 2013 -0800 4024 4025 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 4026 4027 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4028 4029commit 47d2eff64d167b3245d346d7f38ca703be645e26 4030Author: Ken Moffat <ken@linuxfromscratch.org> 4031Date: Thu Mar 7 18:27:54 2013 -0500 4032 4033 dead_double_grave and dead_inverted_breve should only have one underscore. 4034 4035 Correct instances of dead_double_grave and dead_inverted_breve to 4036 dead_doublegrave and dead_invertedbreve. 4037 4038 Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 4039 Signed-off-by: James Cloos <cloos@jhcloos.com> 4040 4041commit c23d61d1b84dca3740bf4786978c7908d0065fb9 4042Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4043Date: Fri Mar 1 18:10:27 2013 -0800 4044 4045 Assume size_t is always available, since it was defined in C89 4046 4047 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 4048 We already use size_t throughout the rest of Xlib, just had this 4049 one instance left in XKBGAlloc.c of a fallback definition. 4050 4051 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4052 4053commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 4054Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4055Date: Fri Mar 1 18:09:07 2013 -0800 4056 4057 unifdef XKB_IN_SERVER 4058 4059 Leftovers from XKB files that were previously shared between the client 4060 and server code, but aren't any more. 4061 4062 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4063 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4064 4065commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 4066Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4067Date: Thu Feb 28 20:04:25 2013 -0800 4068 4069 unifdef CRAY & _CRAY 4070 4071 (mostly performed with unifdef, followed by some manual cleanup of 4072 the remaining code) 4073 4074 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4075 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4076 4077commit ca106eb03e5f5468df8033300c5caae3d3c6936b 4078Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4079Date: Thu Feb 28 20:04:25 2013 -0800 4080 4081 unifdef WORD64 4082 4083 WORD64 seems to have only been defined in <X11/Xmd.h> when building for 4084 CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 4085 64-bit alignment requirements. 4086 4087 It hadn't been fully supported even before autotooling, as can be 4088 seen by removed code such as: 4089 4090 #ifdef WORD64 4091 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 4092 #endif 4093 4094 (mostly performed with unifdef, followed by some manual cleanup of 4095 the remaining code) 4096 4097 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4098 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4099 4100commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 4101Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4102Date: Thu Feb 28 20:04:25 2013 -0800 4103 4104 unifdef MUSTCOPY 4105 4106 MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 4107 CRAY, to handle missing some sizes of integer type. 4108 4109 (mostly performed with unifdef, followed by some manual cleanup of 4110 spacing/indenting in the remaining code) 4111 4112 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4113 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4114 4115commit b687440c28c7da6ee0ae44514d20248db5161606 4116Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4117Date: Sat Feb 16 10:42:23 2013 -0800 4118 4119 Convert more sprintf calls to snprintf 4120 4121 You could analyze most of these and quickly recognize that there was no 4122 chance of buffer overflow already, but why make everyone spend time doing 4123 that when we can just make it obviously safe? 4124 4125 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4126 4127commit b092dabbd712d7b656abcf572d253b9b206c0237 4128Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4129Date: Fri Feb 15 23:43:12 2013 -0800 4130 4131 XKeysymToString: move variable declarations to the scope of their usage 4132 4133 Makes it easier for readers to understand scope of variable usage, and 4134 clears up gcc warning: 4135 4136 KeysymStr.c: In function 'XKeysymToString': 4137 KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 4138 KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 4139 4140 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4141 4142commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 4143Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4144Date: Fri Feb 15 23:34:40 2013 -0800 4145 4146 Preserve constness in casting arguments through the Data*() routines 4147 4148 Casts were annoying gcc by dropping constness when changing types, 4149 when routines simply either copy data into the request buffer or 4150 send it directly to the X server, and never modify the input. 4151 4152 Fixes gcc warnings including: 4153 ChProp.c: In function 'XChangeProperty': 4154 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4155 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4156 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4157 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4158 ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4159 SetHints.c: In function 'XSetStandardProperties': 4160 SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4161 SetPntMap.c: In function 'XSetPointerMapping': 4162 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4163 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4164 StBytes.c: In function 'XStoreBuffer': 4165 StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4166 StName.c: In function 'XStoreName': 4167 StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4168 StName.c: In function 'XSetIconName': 4169 StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4170 4171 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4172 4173commit 6c558ee357292dd9dfc6d9006f4525f625327c52 4174Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4175Date: Fri Feb 15 22:58:54 2013 -0800 4176 4177 Fix comment typo & confusing indentation levels in Data() macro definition 4178 4179 The final } matches the one on the #define line, not one that doesn't 4180 appear after the else statement it was lined up with 4181 4182 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4183 4184commit afd6593da90e51234d59f8921c411317f91ab48b 4185Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4186Date: Fri Feb 15 23:25:38 2013 -0800 4187 4188 XStringToKeysym: preserve constness when casting off unsignedness for strcmp 4189 4190 Fixes gcc warning: 4191 StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4192 4193 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4194 4195commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 4196Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4197Date: Fri Feb 15 23:14:40 2013 -0800 4198 4199 XRebindKeysym: Drop unnecessary const-removing cast 4200 4201 C89 defines memcpy as taking a const void *, so casting from 4202 const unsigned char * to char * simply angers gcc for no benefit: 4203 4204 KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4205 4206 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4207 4208commit 54527eab93d46055cf11eb6c18abb353a03ae544 4209Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4210Date: Fri Feb 15 22:45:19 2013 -0800 4211 4212 cmsColNm.c: maintain constness of arguments to qsort helper function 4213 4214 Fixes gcc warning: 4215 4216 cmsColNm.c: In function 'FirstCmp': 4217 cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4218 cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4219 4220 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4221 4222commit deedeada53676ee529d700bf96fde0b29a3a1def 4223Author: Nickolai Zeldovich <nickolai@csail.mit.edu> 4224Date: Tue Jan 22 10:03:00 2013 -0500 4225 4226 XListFontsWithInfo: avoid accessing realloc'ed memory 4227 4228 If exactly one of the two reallocs in XListFontsWithInfo() fails, the 4229 subsequent code accesses memory freed by the other realloc. 4230 4231 Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 4232 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4233 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4234 4235commit f57fd760cba92ad846917f21e94e73e9c846185f 4236Author: Colin Walters <walters@verbum.org> 4237Date: Wed Jan 4 17:37:06 2012 -0500 4238 4239 autogen.sh: Implement GNOME Build API 4240 4241 http://people.gnome.org/~walters/docs/build-api.txt 4242 4243 Signed-off-by: Adam Jackson <ajax@redhat.com> 4244 4245commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 4246Author: Adam Jackson <ajax@redhat.com> 4247Date: Tue Jan 15 14:28:48 2013 -0500 4248 4249 configure: Remove AM_MAINTAINER_MODE 4250 4251 Signed-off-by: Adam Jackson <ajax@redhat.com> 4252 4253commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 4254Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4255Date: Wed Dec 26 22:57:39 2012 -0800 4256 4257 Remove unused DECnet ("DNETCONN") code from Xlib 4258 4259 Has never been converted to build in modular builds, so has been unusable 4260 since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 4261 back in 2008. 4262 4263 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4264 4265commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 4266Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4267Date: Wed Dec 26 22:56:38 2012 -0800 4268 4269 Remove unused TLI ("STREAMSCONN") code from Xlib 4270 4271 Has never been converted to build in modular builds, so has been unusable 4272 since X11R7.0 release in 2005. All known platforms with TLI/XTI support 4273 that X11R7 & later releases run on also have (and mostly prefer) BSD 4274 socket support for their networking API. 4275 4276 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4277 4278commit 59c9ee8cd58857c5769b643611cbe526005a9e45 4279Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4280Date: Sun Dec 16 17:44:42 2012 -0800 4281 4282 Tell clang not to report -Wpadded warnings on public headers we can't fix 4283 4284 Better to silence the compiler warning than break ABI. 4285 4286 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4287 4288commit 0b148750027fd0557c5ed93afda861ddf4b92e0f 4289Author: Jon TURNEY <jon.turney@dronecode.org.uk> 4290Date: Mon Nov 12 17:27:52 2012 +0000 4291 4292 Fix config check for loadable modules 4293 4294 The config check of the results of testing for dlfcn.h or dl.h just tests the 4295 value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 4296 it is 'yes', so loadable module support would always be detected. 4297 4298 This is necessary for successful compilation for the MinGW target without the 4299 optional dlfcn-win32 library. 4300 4301 v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 4302 correctly when dlfcn.h is available 4303 4304 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 4305 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 4306 4307commit cd25cab4b5b957641183ce72dd1ae0424aff1663 4308Author: Egbert Eich <eich@freedesktop.org> 4309Date: Fri May 20 18:27:02 2011 +0200 4310 4311 Install Xcms.txt in $(datadir) rather than $(libdir). 4312 4313 This file is an architecture independent data and should be where 4314 other databases are. 4315 This is the Xlib provided sample file, applications are free to 4316 use a different one specifying its location in the XCMSDB env 4317 variable. 4318 4319 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4320 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4321 4322commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 4323Author: Egbert Eich <eich@freedesktop.org> 4324Date: Fri May 20 18:25:24 2011 +0200 4325 4326 Don't hard code path to Xcms.txt file. 4327 4328 The path to this file is configurable at build time. The source 4329 however contains a hard coded path. 4330 4331 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4332 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4333 4334commit 9833489e6c3829a1e835bc0a11f028fc180809e4 4335Author: Colin Walters <walters@verbum.org> 4336Date: Fri Dec 7 08:51:21 2012 -0500 4337 4338 Fix build after dropping locales 4339 4340 They also needed to be removed from configure.ac 4341 4342 Signed-off-by: Colin Walters <walters@verbum.org> 4343 Signed-off-by: Julien Cristau <jcristau@debian.org> 4344 4345commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 4346Author: Egbert Eich <eich@freedesktop.org> 4347Date: Fri May 20 13:04:11 2011 +0200 4348 4349 i18n: Uppercased all occurances if 'iso8859' in the full locale name. 4350 4351 Making all occurances of iso8859 upper case in the full local name 4352 makes the alias entries more consistent and match the entries on 4353 locale.dir. 4354 4355 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4356 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4357 4358commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 4359Author: Egbert Eich <eich@freedesktop.org> 4360Date: Fri May 20 17:55:49 2011 +0200 4361 4362 i18n: Remove ja.S90 and ja.U90 locales. 4363 4364 Both locales carry a copyright notice and a prorietary statement: 4365 4366 Copyright 1995 by FUJITSU LIMITED 4367 This is source code modified by FUJITSU LIMITED under the Joint 4368 Development Agreement for the CDEnext PST. 4369 This is unpublished proprietary source code of FUJITSU LIMITED 4370 4371 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4372 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4373 4374commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 4375Author: Egbert Eich <eich@freedesktop.org> 4376Date: Fri May 20 16:46:15 2011 +0200 4377 4378 i18n: Bring locale.dir and compose.dir in sync. 4379 4380 Some entries for locale/encoding combinations were missing from 4381 either file or just misspelled, some entries were wrong or just 4382 aliases. 4383 4384 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4385 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4386 4387commit d1e6baa4e290b758e430077cb74e7c03ad850771 4388Author: Egbert Eich <eich@freedesktop.org> 4389Date: Fri May 20 14:02:39 2011 +0200 4390 4391 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 4392 4393 locale.alias contains a comment: 4394 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 4395 Thus lets treat 'a3' as an alias for 'az'. 4396 4397 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4398 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4399 Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 4400 4401commit fa2aab0bea18efa26a56977d3166277582ab7b07 4402Author: Egbert Eich <eich@freedesktop.org> 4403Date: Fri May 20 13:09:38 2011 +0200 4404 4405 i18n: Fixed typos in full locale names. 4406 4407 Fixing those typos those names actually match entries in 4408 locale.dir. 4409 4410 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4411 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4412 4413commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 4414Author: Egbert Eich <eich@freedesktop.org> 4415Date: Sat May 21 07:29:38 2011 +0200 4416 4417 i18n: Remove duplicates and aliases to oneself. 4418 4419 Aliases to itself don't make much sense. 4420 This changes occurances of: 4421 xy_UV.UTF-8: xy_UV.UTF-8 4422 to 4423 xy_UV: xy_UV.UTF-8 4424 where applicable. 4425 4426 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4427 Reviewed-by: James Cloos <cloos@jhcloos.com> 4428 4429commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 4430Author: Jens Herden <jens.herden@email.de> 4431Date: Fri May 20 17:29:03 2011 +0200 4432 4433 i18n: Add support for Khmer locale and compose table. 4434 4435 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4436 Reviewed-by: James Cloos <cloos@jhcloos.com> 4437 4438commit 40761898692e5063957bfa2518cca3d35b2e354a 4439Author: Kalman Kemenczy <kkemenczy@novell.com> 4440Date: Fri May 20 17:03:24 2011 +0200 4441 4442 i18n: Add support for Serbian specific compose table entries. 4443 4444 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4445 Reviewed-by: James Cloos <cloos@jhcloos.com> 4446 4447commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 4448Author: Egbert Eich <eich@freedesktop.org> 4449Date: Fri May 20 14:00:35 2011 +0200 4450 4451 i18n: Adding and removing comments. 4452 4453 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4454 Reviewed-by: James Cloos <cloos@jhcloos.com> 4455 4456commit 7754d68976106183751243c2c35a84134be17b34 4457Author: Egbert Eich <eich@freedesktop.org> 4458Date: Fri May 20 13:45:31 2011 +0200 4459 4460 i18n: Add missing locales which existed in locale.alias. 4461 4462 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4463 Reviewed-by: James Cloos <cloos@jhcloos.com> 4464 4465commit 952eccd0d25ba66023acfd31873eee2e71c38c42 4466Author: Egbert Eich <eich@freedesktop.org> 4467Date: Fri May 20 10:57:57 2011 +0200 4468 4469 i18n: Consolidate compose handling for locales with UTF-8 encoding. 4470 4471 - add an entry to include the default en_US compose file 4472 for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 4473 - add missing entries for zh_CN. and zh_HK and am_ET. 4474 - change entries for the UTF-8 encoding for ru_RU, ja_JP, 4475 ko_KR, th_TH and zh_TW to point to their native directory 4476 entries. 4477 4478 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4479 Reviewed-by: James Cloos <cloos@jhcloos.com> 4480 4481commit d14b6a250f004fa405179db7020f6953001d17b9 4482Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 4483Date: Mon Oct 22 13:54:11 2012 -0500 4484 4485 XIM: remove Private and Public macros 4486 4487 Private is a struct member name in mingw-w64 <winioctl.h>, causing this 4488 useless define in a private header to break the build. 4489 4490 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 4491 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 4492 4493commit f2a8def423a46d52e834cf7ea49fa0079427663a 4494Author: Adam Jackson <ajax@redhat.com> 4495Date: Wed Oct 17 14:40:43 2012 -0400 4496 4497 XErrorDB: Add GLXBadProfileARB 4498 4499 Signed-off-by: Adam Jackson <ajax@redhat.com> 4500 4501commit d45b3fc19fbe95c41afc4e51d768df6d42332010 4502Author: Ross Burton <ross.burton@intel.com> 4503Date: Wed Sep 12 14:39:40 2012 +0100 4504 4505 Allow overriding location of keysymdef.h 4506 4507 Currently keysymdef.h is found by using the includedir of xproto. This doesn't 4508 work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 4509 not a path into the cross-build environment. 4510 4511 So, add an option to allow explicitly specifying the location of keysymdef.h, 4512 and verify that the specified or found path exists. 4513 4514 (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 4515 4516 Signed-off-by: Ross Burton <ross.burton@intel.com> 4517 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 4518 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 4519 4520commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 4521Author: Eric S. Raymond <esr@thyrsus.com> 4522Date: Thu Aug 23 19:15:07 2012 -0400 4523 4524 Renove some unnecessary low-level markup. 4525 4526 Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 4527 This appears to have been somebody's thinko, it's only in a few of the files. 4528 4529 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4530 4531commit b686600ab5ca93b5750f827786e79c329ab2db4d 4532Author: Eric S. Raymond <esr@thyrsus.com> 4533Date: Thu Aug 23 10:53:33 2012 -0400 4534 4535 The .NT/.NE macro pair is no longer used. Remove it. 4536 4537 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4538 4539commit b83f2898528c5dd683acd2a2143879a760a8dad5 4540Author: Eric S. Raymond <esr@thyrsus.com> 4541Date: Thu Aug 23 10:42:46 2012 -0400 4542 4543 Remove the one and only use of the .NT/.NE pair. 4544 4545 The problem with these macros is that they rely on being able to 4546 center the note label. That doesn't play well with modern HTML, 4547 not anyway without coomplications like CSS. This use was just a cute 4548 trick, not adding enough value to be kept. 4549 4550commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 4551Author: Eric S. Raymond <esr@thyrsus.com> 4552Date: Thu Aug 23 10:23:45 2012 -0400 4553 4554 The .C{ and .C} macros are never used. Remove them. 4555 4556 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4557 4558commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 4559Author: Eric S. Raymond <esr@thyrsus.com> 4560Date: Thu Aug 23 10:08:08 2012 -0400 4561 4562 The .FN macro, paired with .FD, is also never used. Remove it. 4563 4564 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4565 4566commit cac6572701c976542da562b2b277b07ffb892a6f 4567Author: Eric S. Raymond <esr@thyrsus.com> 4568Date: Thu Aug 23 10:03:00 2012 -0400 4569 4570 The ".FD" macro is never used. Remove it. 4571 4572 It was a temptation to presentation-level klugery and is best gone. 4573 4574 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4575 4576commit 6e27a828f39f7028bc7f4a8736e7262fca250632 4577Author: Eric S. Raymond <esr@thyrsus.com> 4578Date: Thu Aug 23 09:54:25 2012 -0400 4579 4580 Clean up, my last commit missed four cases. 4581 4582 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4583 4584commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 4585Author: Eric S. Raymond <esr@thyrsus.com> 4586Date: Thu Aug 23 08:24:17 2012 -0400 4587 4588 Eliminate all uses of tab stops in the libX11 man pages. 4589 4590 Two steps: First, expand tabs to 8 spaces in code and structure 4591 listings. Second, make the .Ds used to wrap code listings switch to 4592 constant-width font (CW) rather than numeric font position 1, which 4593 maps to R on most systems. 4594 4595 It is possible some archaic systems won't know what CW is, but the 4596 only risk is that code listings won't look quite right on troff 4597 devices; the PostScript and DVI drivers definitely grok it, so those 4598 important cases are OK. 4599 4600 The purpose of these changes is to get rid of presentation-level 4601 markup so these pages will lift clean to DocBook. 4602 4603 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4604 4605commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 4606Author: Will Thompson <will@willthompson.co.uk> 4607Date: Mon Jul 9 18:00:27 2012 +0100 4608 4609 Add compose sequences for "therefore" and "because". 4610 4611 These sequences look sensible to me. I added them to the APL-related 4612 section of Mathematical Operators—they're in that section of Unicode 4613 anyway. 4614 4615 https://bugs.freedesktop.org/show_bug.cgi?id=51922 4616 4617 Signed-off-by: Will Thompson <will@willthompson.co.uk> 4618 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 4619 4620commit 65358ea5079236b2508f787ac2fb2024a477e36d 4621Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4622Date: Fri Jun 29 23:08:04 2012 -0700 4623 4624 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 4625 4626 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4627 4628commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 4629Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4630Date: Fri Jun 29 22:57:13 2012 -0700 4631 4632 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 4633 4634 Fixes leaks in error paths found by Parfait 1.0.0: 4635 4636 Error: X Resource Leak 4637 Leaked X Resource pix 4638 at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 4639 pix initialized at line 60 with XCreatePixmap 4640 Error: X Resource Leak 4641 Leaked X Resource pix 4642 at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 4643 pix initialized at line 66 with XCreatePixmap 4644 4645 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4646 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 4647 4648commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 4649Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4650Date: Wed Jun 6 13:31:16 2012 -0700 4651 4652 libX11 spec: Correct prototype for XConvertSelection 4653 4654 selection & target parameters were accidentally run together 4655 4656 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4657 4658commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 4659Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4660Date: Fri Jun 1 23:37:09 2012 -0700 4661 4662 libX11 1.5.0 4663 4664 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4665 4666commit 05c587ec3be880721131a17c1dd4366e458fdd8b 4667Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4668Date: Sat May 26 14:37:28 2012 -0700 4669 4670 libX11 1.4.99.902 (1.5 RC2) 4671 4672 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4673 4674commit d817834d9772e3500d5102e2eae868b04a33c31f 4675Author: Pander <pander@users.sourceforge.net> 4676Date: Sat May 5 19:02:10 2012 +0200 4677 4678 Compose: Reassigned squences with minus and a or o 4679 4680 Reassigned squences with minus and a or o (vice versa and lower and 4681 upper case) to conform existing series and not resulting in tilde. 4682 Also added noe missing underscore sequence. 4683 4684 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4685 4686commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 4687Author: Pander <pander@users.sourceforge.net> 4688Date: Sat May 5 16:56:05 2012 +0200 4689 4690 Compose: Removed <slash> <U> and vice versa 4691 4692 Combination with lower case u suffices 4693 4694 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4695 4696commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 4697Author: Pander <pander@users.sourceforge.net> 4698Date: Sat May 5 16:44:31 2012 +0200 4699 4700 Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 4701 4702 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4703 4704commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 4705Author: Pander <pander@users.sourceforge.net> 4706Date: Sat May 5 16:40:20 2012 +0200 4707 4708 Compose: Removed <S> in combination with a numeral for superscript 4709 4710 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4711 4712commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 4713Author: Pander <pander@users.sourceforge.net> 4714Date: Sat May 5 16:28:01 2012 +0200 4715 4716 Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 4717 4718 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4719 4720commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 4721Author: James Cloos <cloos@jhcloos.com> 4722Date: Thu May 10 12:27:28 2012 -0400 4723 4724 Remove duplicate compose sequences from commit e51e37c118ae. 4725 4726 The compose-check script only handles compiled Compose files, not 4727 the Compose.pre files. One must remember to use: 4728 4729 ./autogen.sh; make; make check 4730 4731 when reviewing patches to the Compose.pre files.... 4732 4733 Signed-off-by: James Cloos <cloos@jhcloos.com> 4734 4735commit e51e37c118ae6cb9ced8244ce1c410677e0279ce 4736Author: Geoff Streeter <geoff@dyalog.com> 4737Date: Thu Mar 22 15:02:00 2012 +0000 4738 4739 Add APL support to compose 4740 4741 Signed-off-by: Geoff Streeter <geoff@dyalog.com> 4742 Signed-off-by: James Cloos <cloos@jhcloos.com> 4743 4744commit dac90324cee224df977a428afe80d960dceca769 4745Author: Julien Cristau <jcristau@debian.org> 4746Date: Sat May 5 16:05:07 2012 +0200 4747 4748 configure: make previous change work with older autoconf 4749 4750 autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 4751 the tests separately. 4752 4753 Reported-by: Dave Airlie 4754 Signed-off-by: Julien Cristau <jcristau@debian.org> 4755 4756commit f5b50af4324186962e258ffe9be78d5ee4681982 4757Author: Julien Cristau <jcristau@debian.org> 4758Date: Sun Apr 29 16:43:09 2012 +0200 4759 4760 configure: check if issetugid is declared 4761 4762 GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 4763 declare it anywhere, causing gcc to error out with 4764 -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 4765 AC_CHECK_FUNC so we disable this code instead of failing to build it. 4766 4767 Debian bug#669670 <http://bugs.debian.org/669670> 4768 4769 Signed-off-by: Julien Cristau <jcristau@debian.org> 4770 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4771 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4772 4773commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 4774Author: Peter Hutterer <peter.hutterer@who-t.net> 4775Date: Mon Apr 30 16:36:47 2012 +1000 4776 4777 Typo fix 4778 4779 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4780 4781commit b64969f0e510d5d3300cf968741a3726a6409577 4782Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4783Date: Tue Apr 17 18:12:02 2012 -0700 4784 4785 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 4786 4787 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4788 4789commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 4790Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4791Date: Tue Apr 17 18:01:36 2012 -0700 4792 4793 Add olinks from libX11 & localedb specs to ICCCM spec 4794 4795 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4796 4797commit b3c1b8cdab7d14220426c9b997ac362dc16318fc 4798Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4799Date: Tue Apr 17 17:49:44 2012 -0700 4800 4801 Add olinks from libX11 spec to ICCCM spec 4802 4803 Also convert ICCCM title mentions from <emphasis> to <citetitle> 4804 4805 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4806 4807commit ebebb65e753007ad01966dccc90bd6ca9a826488 4808Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4809Date: Sat Apr 14 23:40:01 2012 -0700 4810 4811 libX11 AppC: Fix section headers that didn't translate from nroff properly 4812 4813 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4814 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 4815 4816commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 4817Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4818Date: Sat Apr 14 23:13:05 2012 -0700 4819 4820 Add olinks from libX11 spec to x11protocol spec 4821 4822 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4823 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 4824 4825commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 4826Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4827Date: Sat Apr 14 22:28:53 2012 -0700 4828 4829 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 4830 4831 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4832 4833commit abc523fce31fcf2687229697a8eb656e343ecb0c 4834Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4835Date: Thu Mar 15 22:14:45 2012 -0700 4836 4837 libX11 1.4.99.901 (1.5 RC1) 4838 4839 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4840 4841commit b2cc5905a4a6d519957223e8ba2caef71520040c 4842Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4843Date: Thu Mar 15 22:03:21 2012 -0700 4844 4845 Remove "register" qualifier that annoys Solaris Studio compiler 4846 4847 Fixes warning: 4848 "Xrm.c", line 1094: warning: storage class after type is obsolescent 4849 4850 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4851 4852commit 62d42953893f93a98db0504eaf06d650ceaf5811 4853Author: James Cloos <cloos@jhcloos.com> 4854Date: Wed Mar 14 17:25:46 2012 -0400 4855 4856 Fix the gtk+ additions 4857 4858 (Some of) the Dstroke and dstroke entries already were present as U011[01], 4859 even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 4860 4861 The addition of <Multi_key> <o> <apostrophe> as a postfix version of 4862 <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 4863 That prevents its and <Multi_key> <O> <apostrophe>’s addition. 4864 4865 Signed-off-by: James Cloos <cloos@jhcloos.com> 4866 4867commit 91bcce48d94792f78333d2aea73961cc2e739d2e 4868Author: Pander <pander@users.sourceforge.net> 4869Date: Wed Mar 14 12:54:53 2012 -0400 4870 4871 Complete compose key sequences for musical symbols 4872 4873 Signed-off-by: Pander <pander@users.sourceforge.net> 4874 Signed-off-by: James Cloos <cloos@jhcloos.com> 4875 4876commit cf040016d455bc37f7665d6714337c5eafd8ea94 4877Author: Pander <pander@users.sourceforge.net> 4878Date: Wed Mar 14 12:46:25 2012 -0400 4879 4880 Add compose sequences from gtk+ to X.Org 4881 4882 Signed-off-by: Pander <pander@users.sourceforge.net> 4883 Signed-off-by: James Cloos <cloos@jhcloos.com> 4884 4885commit a4c591ced5cac9301b9abfa0e521be2d0b267882 4886Author: Keith Packard <keithp@keithp.com> 4887Date: Sun Mar 4 02:00:13 2012 -0800 4888 4889 Block for other threads in _XUserLockDisplay 4890 4891 Wait for all other threads to release the user-level lock when 4892 acquiring it. This ensures that only one thread at a time holds the 4893 user-level lock, necessary as it is a nesting lock and a single 4894 variable is used to determine when the lock is nesting and when it is 4895 contended. 4896 4897 Signed-off-by: Keith Packard <keithp@keithp.com> 4898 Reviewed-by: Jamey Sharp <jamey@minilop.net> 4899 4900commit ed00b460acb08787b695f27b864e96102dfd4867 4901Author: Jon TURNEY <jon.turney@dronecode.org.uk> 4902Date: Fri Oct 28 11:09:20 2011 -0500 4903 4904 Don't use caddr_t casts 4905 4906 (caddr_t) isn't used anywhere else in xcb or libX11. 4907 Cast to (char *) for consistency. 4908 4909 Removing this cast allows building for MinGW without patching. 4910 4911 v2: Cast to (char *) rather than just dropping the cast 4912 4913 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 4914 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4915 4916commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 4917Author: Julien Cristau <jcristau@debian.org> 4918Date: Sun Feb 19 13:27:38 2012 +0100 4919 4920 Revert "xcb: Add TCP fallback" 4921 4922 This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 4923 4924 The TCP fallback ended up falling back to UNIX socket connection if 4925 $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 4926 4927 Debian bug#659558 <http://bugs.debian.org/659558> 4928 4929 Signed-off-by: Julien Cristau <jcristau@debian.org> 4930 4931 Conflicts: 4932 4933 src/OpenDis.c 4934 4935commit f4378193619baa9bb973c1b5b718721bbcbe92c7 4936Author: James Cloos <cloos@jhcloos.com> 4937Date: Wed Feb 22 14:13:20 2012 -0500 4938 4939 Make the compose sequence for ẞ work. 4940 4941 There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 4942 so use the U1e9e symbol in the Compose sequence. 4943 4944 (Compose sequences do not work when the target symbol is unknown.) 4945 4946 Signed-off-by: James Cloos <cloos@jhcloos.com> 4947 4948commit 2ca641c3a506dcbee97e279b67990d5387389f36 4949Author: Marko Myllynen <myllynen@redhat.com> 4950Date: Mon Feb 20 17:04:59 2012 +0200 4951 4952 Use ezh/EZH in compose maps 4953 4954 Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 4955 4956 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 4957 Reviewed-by: Matt Dew <marcoz@osource.org> 4958 Signed-off-by: James Cloos <cloos@jhcloos.com> 4959 4960commit 61725822f20f47684a545c1797183ee7075243ac 4961Author: Marko Myllynen <myllynen@redhat.com> 4962Date: Sun Feb 20 17:09:43 2011 +0200 4963 4964 Provide translation from XK_permille (ad5) to Unicode (U2030) 4965 4966 https://bugs.freedesktop.org/show_bug.cgi?id=19687 4967 4968 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 4969 Reviewed-by: Matt Dew <marcoz@osource.org> 4970 Signed-off-by: James Cloos <cloos@jhcloos.com> 4971 4972commit d2cce0abba0fa0143f49026442c8cab5ed721625 4973Author: Jeremy Huddleston <jeremyhu@apple.com> 4974Date: Sun Feb 12 19:01:43 2012 -0800 4975 4976 nls: Use LC_CTYPE=C for sed magic 4977 4978 Stricter versions of sed can trip up if the input does not match 4979 LC_CTYPE 4980 4981 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 4982 4983commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 4984Author: Frédéric Boiteux <fboiteux@calistel.com> 4985Date: Wed Nov 30 12:47:31 2011 +0000 4986 4987 Compositions with the dead greek symbol 4988 4989 FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 4990 4991 Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 4992 Signed-off-by: James Cloos <cloos@jhcloos.com> 4993 4994commit d58e8f8e27790017fcfdeca0843b7318d541c189 4995Author: Ryan Pavlik <rpavlik@iastate.edu> 4996Date: Sun Jan 1 21:04:52 2012 +0000 4997 4998 Use pthreads on MinGW also 4999 5000 Use pthreads (provided by the pthreads-win32 compatability library which implements 5001 them using native Win32 threading) on MinGW 5002 5003 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5004 5005commit bf15ccb6821664746ec23d769d757edf8059007e 5006Author: Ryan Pavlik <rpavlik@iastate.edu> 5007Date: Mon Jan 23 14:18:02 2012 +0000 5008 5009 Add XWindows.h include to Xxcbint.h 5010 5011 This avoids some conflicting type re-definition errors which occur if 5012 we attempt to include Windows headers after Xmd.h 5013 5014 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5015 5016commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 5017Author: Matt Dew <marcoz@osource.org> 5018Date: Sat Jan 21 17:59:51 2012 -0700 5019 5020 informaltable & table cleanup 5021 5022 On certain tables, add top and bottom borders to table header 5023 and a bottom border to the table. This matches what those 5024 tables in the old pdfs looked like. 5025 5026 the <?dbfo keep-together='always'> prevents tables from 5027 splitting across pages. Useful for tiny tables. 5028 5029 Converting the colwidth to a floating point, IE, 1* -> 1.0* 5030 cleans up these build errors: 5031 WARNING: table-layout="fixed" and column-width unspecified => 5032 falling back to proportional-column-width(1) 5033 5034 Signed-off-by: Matt Dew <marcoz@osource.org> 5035 5036commit bb551f654df8f647c867f79252241964521e689e 5037Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5038Date: Wed Dec 28 21:22:41 2011 -0800 5039 5040 Add more Xkb man pages to the See Also lists for core keyboard functions 5041 5042 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5043 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5044 5045commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 5046Author: Gaetan Nadon <nadon@memsize.(none)> 5047Date: Fri Dec 30 17:08:14 2011 -0500 5048 5049 docbook.am: embed css styles inside the HTML HEAD element 5050 5051 Rather than referring to the external xorg.css stylesheet, embed the content 5052 of the file in the html output produced. This is accomplished by using 5053 version 1.10 of xorg-xhtml.xsl. 5054 5055 This makes the whole html docs tree much more relocatable. 5056 In addition, it eliminates xorg.css as a runtime file which makes 5057 xorg-sgml-doctools a build time only package. 5058 5059 Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 5060 5061commit 70505468b7c4a7068cc39be42e421dcee34ec595 5062Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5063Date: Tue Dec 13 19:58:30 2011 -0800 5064 5065 makekeys: move buf declaration from global to main to silence gcc -Wshadow 5066 5067 The global was only referenced in the main() function, which passes it 5068 as an argument of the same name to the parse_line() function, leading 5069 to gcc -Wshadow warnings: 5070 5071 makekeys.c: In function ‘parse_line’: 5072 makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 5073 makekeys.c:54:13: warning: shadowed declaration is here 5074 5075 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5076 5077commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 5078Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 5079Date: Wed Dec 14 02:17:55 2011 -0500 5080 5081 XQueryColors: Split a request into multiple requests if necessary 5082 5083 https://bugs.freedesktop.org/show_bug.cgi?id=9160 5084 5085 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 5086 Signed-off-by: James Cloos <cloos@jhcloos.com> 5087 5088commit d3b3570592e9b9e57f270a0bd86762fd205a2833 5089Author: Andreas Wettstein <wettstein509@solnet.ch> 5090Date: Tue Nov 8 20:18:09 2011 +0000 5091 5092 XIM: Allow modifier releases in compose sequences (#26705) 5093 5094 Currently, only non-modifier keys (actually, keysyms) can be part of a compose 5095 sequence, and they are matched against the defined compose sequences at the 5096 time the key is pressed. The patch allows to use modifier keys an well, but 5097 matches them on key release, and only if no other key has been pressed after 5098 the modifier. 5099 5100 Releasing a non-matched modifier during an ongoing compose sequence only aborts 5101 the sequence if any modifier release would have matched. In particular, if no 5102 compose sequences with modifiers are specified, the compose mechanism works 5103 exactly as without this patch. 5104 5105 Even if modifiers are part of a compose sequence, they are not filtered. This 5106 is because modifiers affect the keyboard state no matter what we do here and, 5107 therefore, filtering them only could confuse clients. 5108 5109 The purpose is this extension to the compose mechanism is to allow to make 5110 better use of keys in convenient reach for touch typing. 5111 5112 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 5113 Signed-off-by: James Cloos <cloos@jhcloos.com> 5114 5115commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 5116Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5117Date: Tue Nov 29 23:56:57 2011 -0800 5118 5119 Reject negative string counts in copy_string_list 5120 5121 Silences parfait warning of a potential memory leak: 5122 Memory leak of pointer 'dst' allocated with malloc(length) 5123 at line 160 of FSWrap.c in function 'copy_string_list'. 5124 'dst' allocated at line 145 with malloc(length). 5125 dst leaks when count <= 0 at line 154. 5126 5127 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5128 5129commit bf2d7c8c6d70539c72560b1921e18df2610acf29 5130Author: Peter Hutterer <peter.hutterer@who-t.net> 5131Date: Fri Nov 11 14:56:36 2011 +1000 5132 5133 libX11 1.4.99.1 5134 5135 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5136 5137commit 24283d40b1e4314c6647dda49d2a159833341a8b 5138Author: Derek Buitenhuis <derek.buitenhuis@gmail.com> 5139Date: Thu Sep 22 18:44:13 2011 -0400 5140 5141 makekeys: Fix build/target word size mismatch when cross-compiling 5142 5143 Since makekeys is built using build environment's gcc and 5144 runs natively, we have to make sure that the size of the 5145 Signature type is the same on both the native environment 5146 and the target, otherwise we get mismatches upon running X, 5147 and some LSB test failures (xts5). 5148 5149 Use an unsigned 32-bit integer on all platforms. Also, 5150 eliminate the redundant multiple typedefs for the 5151 Signature type. 5152 5153 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 5154 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 5155 5156commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 5157Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5158Date: Wed Nov 9 21:00:36 2011 -0800 5159 5160 XlcSL.c: convert old-style function definitions to ANSI C89 style 5161 5162 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5163 5164commit f6dad6aaa384bf836baa28ccb72b476a85c40eff 5165Author: Peter Hutterer <peter.hutterer@who-t.net> 5166Date: Thu Oct 27 13:53:22 2011 +1000 5167 5168 Use GetReqSized for GetReq and GetReqExtra 5169 5170 GetEmptyReq and GetResReq cannot do this due to the final typecast - 5171 typically requests that need either of those do not have their own typedef 5172 in the protocol headers. 5173 5174 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5175 Reviewed-by: Jamey Sharp <jamey@minilop.net> 5176 5177commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 5178Author: Peter Hutterer <peter.hutterer@who-t.net> 5179Date: Fri Oct 14 14:51:06 2011 +1000 5180 5181 include: Add GetReqSized() for request buffers of specific size 5182 5183 Some XI2 requests change in size over different versions and libXi would 5184 need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 5185 library can explicitly specify the size of the request in 4-byte units. 5186 5187 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5188 Reviewed-by: Jamey Sharp <jamey@minilop.net> 5189 5190commit ba8a7a19165e30d14bc165f43f67c19b6a115585 5191Author: Peter Hutterer <peter.hutterer@who-t.net> 5192Date: Thu Oct 27 13:24:10 2011 +1000 5193 5194 Switch GetEmptyReq and GetResReq to call _XGetRequest 5195 5196 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5197 Reviewed-by: Jamey Sharp <jamey@minilop.net> 5198 5199commit 4a060f993bf676cf21ad9784e010f54134da7b40 5200Author: Peter Hutterer <peter.hutterer@who-t.net> 5201Date: Mon Oct 17 09:45:15 2011 +1000 5202 5203 Add _XGetRequest as substitute for GetReq/GetReqExtra 5204 5205 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5206 Reviewed-by: Jamey Sharp <jamey@minilop.net> 5207 5208commit d8956520deb79c1cbb5e974c175bf8493859b22b 5209Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5210Date: Fri Oct 14 17:53:00 2011 -0700 5211 5212 Fix "nomal" -> "normal" typo in several comments 5213 5214 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5215 5216commit 002b36e308a26a152504f9b40aa08a0dce9a7991 5217Author: Xue Wei <Wei.Xue@Sun.COM> 5218Date: Fri Oct 14 17:39:21 2011 -0700 5219 5220 mbtocs should not truncate input 5221 5222 Fixes pasting more than 1024 bytes into xterm, as described in 5223 https://bugs.freedesktop.org/show_bug.cgi?id=25209 5224 5225 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5226 5227commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 5228Author: Marko Myllynen <myllynen@redhat.com> 5229Date: Mon Oct 10 09:41:13 2011 +0300 5230 5231 Add new compose sequences 5232 5233 This patch adds few new compose sequences to the en_US map, ligatures 5234 common in typesetting and sequences already in use in the fi_FI map. 5235 5236 https://bugs.freedesktop.org/show_bug.cgi?id=30621 5237 https://bugs.freedesktop.org/show_bug.cgi?id=34523 5238 5239 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5240 5241commit 738f7b867341c1da87ee667d48815822715c3e75 5242Author: Choe Hwanjin <choe.hwanjin@gmail.com> 5243Date: Thu Oct 13 07:58:02 2011 +0900 5244 5245 XIM: Make Xim handle NEED_SYNC_REPLY flag 5246 5247 NEED_SYNC_REPLY flag should be in Xim not in Xic. 5248 Because the focused Xic can be changed before sending sync reply. 5249 After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 5250 flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 5251 5252 This patch adds sync reply flag to Xim and removes sync reply 5253 from Xic. 5254 5255 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 5256 5257 Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 5258 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5259 5260commit 50e15379331c436851abb194251cde96999e67b3 5261Author: Bodo Graumann <mail@bodograumann.de> 5262Date: Mon Oct 10 16:40:52 2011 +0200 5263 5264 libX11: Fixing modifier key range in Xutil.h (Bug #21910) 5265 5266 IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 5267 which keys are regarded as modifiers. The constants ISO_Level5_Shift, 5268 ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 5269 some Neo2 modifiers functionless in combination with compose. 5270 This patch adjusts the range to include the correct, full range of 5271 modifier constants. 5272 5273 Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 5274 5275 X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 5276 5277 Signed-off-by: Bodo Graumann <mail@bodograumann.de> 5278 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 5279 5280commit b5a108624331fabf393223c0891914cc54d4caf4 5281Author: Yann Droneaud <yann@droneaud.fr> 5282Date: Tue Oct 11 17:27:59 2011 +0200 5283 5284 Return name instead of False in XSetICValues() 5285 5286 In case of error, XSetICValues() must return the first argument 5287 that failed to be set. 5288 5289 But in some error paths, it returns False, which is converted to NULL, 5290 so the function returns OK in case of error. 5291 5292 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 5293 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5294 5295commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 5296Author: Yann Droneaud <yann@droneaud.fr> 5297Date: Sun Oct 9 17:56:45 2011 +0200 5298 5299 Return name instead of value in XGetIMValues() and XSetIMValues() 5300 5301 As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 5302 XGetIMValues() and XSetImValues() "returns the name of the first argument 5303 that could not be obtained." 5304 5305 But currently, 5306 5307 err = XGetIMValues(im, "invalid", &arg, NULL); 5308 5309 returns &arg instead of "invalid". 5310 5311 This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 5312 5313 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 5314 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5315 5316commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 5317Author: Jeremy Huddleston <jeremyhu@apple.com> 5318Date: Mon Oct 10 14:09:17 2011 -0700 5319 5320 Mark XKeycodeToKeysym as _X_DEPRECATED 5321 5322 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5323 5324commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 5325Author: Jeremy Huddleston <jeremyhu@apple.com> 5326Date: Sun Oct 9 02:38:28 2011 -0700 5327 5328 Fix nobreakspace for pt_BR.UTF-8 5329 5330 https://bugs.freedesktop.org/show_bug.cgi?id=31334 5331 5332 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5333 5334commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 5335Author: Jeremy Huddleston <jeremyhu@apple.com> 5336Date: Sun Oct 9 02:26:45 2011 -0700 5337 5338 Fix potential uninitialized variable access in _XimMakeICAttrIDList 5339 5340 Found by clang static analysis 5341 5342 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5343 5344commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 5345Author: Jeremy Huddleston <jeremyhu@apple.com> 5346Date: Sun Oct 9 02:25:50 2011 -0700 5347 5348 Remove self-resolving aliases 5349 5350 https://bugs.freedesktop.org/show_bug.cgi?id=30112 5351 5352 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5353 5354commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 5355Author: Matt Dew <marcoz@osource.org> 5356Date: Fri Oct 7 22:52:30 2011 -0600 5357 5358 Cleanup IDs and links in doc 5359 5360 1 - fix the capitalization of the ID attributes to match either the 5361 <title> or <funcdef> string it goes with. 5362 2 - fix any <linkend>'s that were affected by 1. 5363 3 - any <function> in the docs that has an actual funcdef, 5364 will become an olink. 5365 5366 Signed-off-by: Matt Dew <marcoz@osource.org> 5367 5368commit f858f3326adbc0c5711669b92a64a84a9083a055 5369Author: James Cloos <cloos@jhcloos.com> 5370Date: Tue Oct 4 17:11:11 2011 -0400 5371 5372 [nls] Fix typo/synco. 5373 5374 The iso8859-1 Compose table includes an optional section which uses 5375 Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 5376 to generate an @ (at) either was incorrectly copied from the Multi_key 5377 section or was not kept in sync with the Multi_key section. 5378 5379 Fixing this eliminates the warning from compose-check.pl: 5380 5381 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5382 ┃ Clash with existing sequence in iso8859-1/Compose.pre 5383 ┃ on line 661: Ctrl<T> <A> <A> 5384 ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 5385 ┃ line #480: Ctrl<T> <A> <A> : "@" at 5386 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5387 5388 Signed-off-by: James Cloos <cloos@jhcloos.com> 5389 5390commit 7f35f7efc23234b3f8529fee31a802c21846d9ab 5391Author: Jeremy Huddleston <jeremyhu@apple.com> 5392Date: Mon Sep 26 11:32:56 2011 -0700 5393 5394 Remove conflicting compose sequences for cent and colon 5395 5396 Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 5397 Found by tinderbox 5398 5399 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5400 5401commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 5402Author: Jeremy Huddleston <jeremyhu@apple.com> 5403Date: Sun Sep 25 16:29:17 2011 -0700 5404 5405 Add additional compose sequences for pound sterling, yen, and cent (mixed case) 5406 5407 https://bugs.freedesktop.org/show_bug.cgi?id=1013 5408 5409 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5410 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 5411 5412commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 5413Author: Jeremy Huddleston <jeremyhu@apple.com> 5414Date: Sat Sep 24 16:44:04 2011 -0700 5415 5416 Use a configure check for seteuid 5417 5418 HP-UX doesn't have seteuid 5419 5420 https://bugs.freedesktop.org/show_bug.cgi?id=1497 5421 5422 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5423 5424commit 79594b4d66344f248eb4314ecb78eb81f632c3ab 5425Author: Gaetan Nadon <memsize@videotron.ca> 5426Date: Tue Sep 20 16:06:10 2011 -0400 5427 5428 localedb specs: use <copyright> for first holder of multi license 5429 5430 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5431 5432commit 154430268cf004b06920edde2f1812dc16d71fae 5433Author: Gaetan Nadon <memsize@videotron.ca> 5434Date: Tue Sep 20 16:01:52 2011 -0400 5435 5436 libX11 specs: use <copyright> for first holder of multi license 5437 5438 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5439 5440commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 5441Author: Tollef Fog Heen <tfheen@err.no> 5442Date: Tue Sep 20 13:07:37 2011 -0400 5443 5444 NLS: Add more vulgar fractions 5445 5446 Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 5447 5448 Signed-off-by: Tollef Fog Heen <tfheen@err.no> 5449 Signed-off-by: James Cloos <cloos@jhcloos.com> 5450 5451commit e37a6da814b5653be46000a9a76902729660a2e6 5452Author: Alexander Polakov <polachok@gmail.com> 5453Date: Sat Sep 17 20:54:58 2011 +0400 5454 5455 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 5456 5457 There is no XAllowAccess man page to see. 5458 5459 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5460 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5461 5462commit a23f3323f269b33a43d16dce01395cd28bc41b45 5463Author: Gaetan Nadon <memsize@videotron.ca> 5464Date: Mon Sep 19 15:27:44 2011 -0400 5465 5466 XKB: provide adequate quotes for the license text 5467 5468 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5469 5470commit a9c7a5cad91d968f5536ef8fc735036e921832a3 5471Author: Gaetan Nadon <memsize@videotron.ca> 5472Date: Mon Sep 19 15:18:53 2011 -0400 5473 5474 XIM: refactor the multi licensing legal text 5475 5476 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5477 5478commit c46f934ed89e7de79746a0387c9f998d91994ea6 5479Author: Gaetan Nadon <memsize@videotron.ca> 5480Date: Mon Sep 19 10:33:30 2011 -0400 5481 5482 xim trans: restore Fujitsu copyright legal text 5483 5484 Somehow lost during docbook conversion. text from x.org ftp R7.5. 5485 5486 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5487 5488commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 5489Author: Gaetan Nadon <memsize@videotron.ca> 5490Date: Mon Sep 19 10:11:46 2011 -0400 5491 5492 xtrans: restore X Consortium original legal text 5493 5494 Asking X Consortium permission to use The Open Group name makes no sense. 5495 Even more so in 1994 before X Window System was passed on to the Open Group. 5496 5497 Using original text from xorg-docs/general/License 5498 5499 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5500 5501commit 136a381585a4a9686c11bad1a6130837978e677f 5502Author: Gaetan Nadon <memsize@videotron.ca> 5503Date: Mon Sep 19 10:03:21 2011 -0400 5504 5505 Framework: restore X Consortium copyright 5506 5507 Somewhat dammaged during docbook conversion. 5508 Also restore pasrt of the original license text 5509 5510 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5511 5512commit 33f346878406762704a0c13cdc018111c666f3c1 5513Author: Gaetan Nadon <memsize@videotron.ca> 5514Date: Mon Sep 19 09:50:00 2011 -0400 5515 5516 localedb: restore X Consortium original legal text 5517 5518 Asking X Consortium permission to use The Open Group name makes no sense. 5519 Even more so in 1994 before X Window System was passed on to the Open Group. 5520 5521 Using original text from xorg-docs/general/License 5522 5523 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5524 5525commit e99c9338e413efca026210b9d830efb5c74d34e5 5526Author: Gaetan Nadon <memsize@videotron.ca> 5527Date: Mon Sep 19 08:23:18 2011 -0400 5528 5529 specs: support multi licensed copyright notice and license text 5530 5531 For documentation having multiple licenses, the copyright and legalnotice 5532 elements sequence cannot instantiated multiple times. 5533 The copyright notice and license text are therefore coded inside a 5534 legalnotice element. The role attribute on the paragraph is used to allow 5535 styling of the copyright notice text which should not be italicized. 5536 5537 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5538 5539commit b9dedc757e667333ce899115d618f25cdaa4dd5e 5540Author: Gaetan Nadon <memsize@videotron.ca> 5541Date: Mon Sep 19 08:17:50 2011 -0400 5542 5543 localedb: add release info to spec 5544 5545 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5546 5547commit 4519c89a87ddce01e599542737a27c26030fe4ff 5548Author: Gaetan Nadon <memsize@videotron.ca> 5549Date: Mon Sep 19 08:05:32 2011 -0400 5550 5551 specs: fix The Open Group license text 5552 5553 The warranty referred to the X Consortium 5554 5555 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5556 5557commit 08ac378423e7be72e340197ba5559a1a36f1783c 5558Author: Gaetan Nadon <memsize@videotron.ca> 5559Date: Mon Sep 19 08:03:39 2011 -0400 5560 5561 specs: The strandard name is still "X Consortium Standard" 5562 5563 This spec, and fsproto spec, are the only two docs with a different 5564 standard name. 5565 5566 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5567 5568commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 5569Author: Gaetan Nadon <memsize@videotron.ca> 5570Date: Sun Sep 18 13:22:34 2011 -0400 5571 5572 specs: support multi licensed copyright notice and license text 5573 5574 For documentation having multiple licenses, the copyright and legalnotice 5575 elements sequence cannot instantiated multiple times. 5576 The copyright notice and license text are therefore coded inside a legalnotice 5577 element. The role attribute on the paragraph is used to allow styling of the 5578 copyright notice text which should not be italicized. 5579 5580 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5581 5582commit 278ca8947c1dabb2b819527dca0fa6190c034f67 5583Author: Gaetan Nadon <memsize@videotron.ca> 5584Date: Fri Sep 16 11:45:56 2011 -0400 5585 5586 docs: merge copyright holder under the same copyright notice 5587 5588 As per the docbook markup dtd. 5589 5590 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5591 5592commit 7ff012bb433109a622ac122ade71669e842ebdcf 5593Author: Gaetan Nadon <memsize@videotron.ca> 5594Date: Fri Sep 16 10:09:57 2011 -0400 5595 5596 specs: handle multiple sets of copyright notice/license/warranty 5597 5598 Docbook groups all the <copyright> elements together and all the 5599 <legalnotice> elements together. 5600 5601 We cannot have a sequence: 5602 <copyright> <legalnotice> <copyright> <legalnotice> [...] 5603 5604 A workaround, which was done in some documents, is to put the copyright 5605 notice inside the legalnotice in plain text without the <copyright> element. 5606 A formal paragraph title is added here which makes the copyright notice bold, 5607 and makes it much easier to locate. 5608 5609 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5610 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5611 5612commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 5613Author: Gaetan Nadon <memsize@videotron.ca> 5614Date: Wed Sep 14 15:55:42 2011 -0400 5615 5616 specs: remove orphan affiliation. 5617 5618 Authors affiliation are correct. 5619 5620 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5621 5622commit 0cc02a6df65214560b7575e89cebee741d6d2469 5623Author: Gaetan Nadon <memsize@videotron.ca> 5624Date: Tue Sep 13 17:39:02 2011 -0400 5625 5626 specs: use appropriate markup for Copyright statements 5627 5628 Also move <releaseinfo> to match order of appearance 5629 5630 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5631 5632commit afe13e19ebf0fc4e3460644164433af016f0add7 5633Author: Gaetan Nadon <memsize@videotron.ca> 5634Date: Mon Sep 12 16:54:45 2011 -0400 5635 5636 docs: use the &fullrelvers; entity to set X11 release information 5637 5638 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5639 5640commit 22a2153282db13e9d94881022b8c979539841a2c 5641Author: Gaetan Nadon <memsize@videotron.ca> 5642Date: Sun Sep 11 19:49:53 2011 -0400 5643 5644 docs: remove <productnumber> which is not used by default 5645 5646 This element is not rendered by default on the title. A template 5647 customization is required to display it. 5648 X Window System does not have a product number. 5649 5650 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5651 5652commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 5653Author: Gaetan Nadon <memsize@videotron.ca> 5654Date: Sun Sep 11 17:40:21 2011 -0400 5655 5656 docs: use the &fullrelvers; entity to set X11 release information 5657 5658 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5659 5660commit a6b2992f50b571d612ea9ade631c432c3099bc12 5661Author: Gaetan Nadon <memsize@videotron.ca> 5662Date: Sun Sep 11 17:38:42 2011 -0400 5663 5664 docs: remove orphan <affiliation> 5665 5666 Somehow created during the conversion from roff. Unable to locate 5667 the author to which it belongs. 5668 5669 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5670 5671commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 5672Author: Gaetan Nadon <memsize@videotron.ca> 5673Date: Sun Sep 11 17:38:05 2011 -0400 5674 5675 docs: remove <productnumber> which is not used by default 5676 5677 This element is not rendered by default on the title. A template 5678 customization is required to display it. 5679 X Window System does not have a product number. 5680 5681 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5682 5683commit 7d5b718c1edbc43c54b7001be548e515a49540ea 5684Author: Gaetan Nadon <memsize@videotron.ca> 5685Date: Fri Sep 9 14:46:39 2011 -0400 5686 5687 docbook.am: embed css styles inside the HTML HEAD element 5688 5689 Rather than referring to the external xorg.css stylesheet, embed the content 5690 of the file in the html output produced. This is accomplished by using 5691 version 1.10 of xorg-xhtml.xsl. 5692 5693 This makes the whole html docs tree much more relocatable. 5694 In addition, it eliminates xorg.css as a runtime file which makes 5695 xorg-sgml-doctools a build time only package. 5696 5697 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5698 5699commit 24632d280491c465dfe208ef788815890892e326 5700Author: Gaetan Nadon <memsize@videotron.ca> 5701Date: Mon Sep 5 12:53:12 2011 -0400 5702 5703 compose: upgrade makefile to support olinking on chunked html 5704 5705 The essential differences over the regular docbook.am are: 5706 Adding root.filename parameter for naming of chapters html files. 5707 Using xhtml xmlto format and xorg-chunk.xsl stylesheet 5708 Set olink.base.uri for pdf but not for chunked html 5709 Olink is not applicable to ps and txt formats. 5710 5711 Html chapters are added to shelf_DATA as they are also installed. 5712 The xml is generated from a perl script and not distributed. 5713 5714 Requires version 1.10 of xorg-sgml-doctools. 5715 5716 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5717 5718commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 5719Author: Gaetan Nadon <memsize@videotron.ca> 5720Date: Wed Aug 31 19:46:20 2011 -0400 5721 5722 docbook.am: refactor common flags for xmlto and xsltproc 5723 5724 Maximize reuse and reduce risk of setting the wrong flag 5725 at the wrong place. 5726 5727 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5728 5729commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 5730Author: Gaetan Nadon <memsize@videotron.ca> 5731Date: Wed Aug 31 10:46:59 2011 -0400 5732 5733 docbook.am: add search path for local entities 5734 5735 Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 5736 A module may want to add entities that apply only to itself and 5737 not to all modules, like the xserver does. 5738 5739 This feature may or may not be used in this module, but all modules 5740 share a copy of docbook.am. 5741 5742 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5743 5744commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 5745Author: Gaetan Nadon <memsize@videotron.ca> 5746Date: Thu Aug 25 14:39:20 2011 -0400 5747 5748 docbook.am: explicitly list xmlto flags for each target 5749 5750 Normal evolution of make targets make it impractical to factor out 5751 common command flags for xmlto. 5752 5753 The targets now list each command option as its presence or absence 5754 needs to be justified. 5755 5756 xorg.ss is only needed by xmlto for html. 5757 masterdb is only needed by xmlto. 5758 img.src.path must not be used by html. 5759 xsltproc need to use customization layer xorg-*.xsl. 5760 txt format is not required to search masterdb. 5761 5762 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5763 5764commit d5b3605f3b0639452e892e9ff3afb18bb7442069 5765Author: Gaetan Nadon <memsize@videotron.ca> 5766Date: Thu Aug 25 13:12:49 2011 -0400 5767 5768 docbook.am: do not generate docs if docbook customization layer is missing 5769 5770 The stylesheets used to be only about style, fonts or colors. 5771 Complex features are now used like olink and chunked html which 5772 may cause a build break when stylesheets are missing or lead to hard 5773 to find problem. 5774 5775 Some modules may be built when stylesheets are present while others 5776 are built without. There is no requirement to build crippled docs. 5777 5778 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5779 5780commit 7f23c72c94d9d14122426b0d8c66054f1402769a 5781Author: Gaetan Nadon <memsize@videotron.ca> 5782Date: Fri Aug 5 14:33:32 2011 -0400 5783 5784 libX11 specs: review doclifter generated tables 5785 5786 Many tables had a questionnable layout and some had information dropped. 5787 Each table was cross-referenced with a pre-docbook version 5788 to ensure semantic integrity. 5789 5790 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5791 5792commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 5793Author: Gaetan Nadon <memsize@videotron.ca> 5794Date: Wed Jul 20 15:28:47 2011 -0400 5795 5796 credits.xml: remove toc from Acknowledgments 5797 5798 There should be no toc for a simple preface with only one 5799 Acknowledgments section. 5800 5801 Use <simplesect> markup rather than sect1. 5802 5803 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5804 5805commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 5806Author: Gaetan Nadon <memsize@videotron.ca> 5807Date: Thu Aug 4 19:59:37 2011 -0400 5808 5809 libX11 specs: move </para> above <varaiablelist> 5810 5811 Many, but not all, function synopsis have a paragraph that 5812 nests the variable list. The code was generated by doclifter 5813 and there is no apprent reasons as to why it was done this way. 5814 Found while investigating a spacing issue. 5815 5816 Before the patch: 5817 <para>Some blurb about the function 5818 <funcsynopsis> 5819 </funcsynopsis> 5820 <variablelist> 5821 </variablelist> 5822 </para> 5823 5824 After the patch: 5825 <para>Some blurb about the function</para> 5826 <funcsynopsis> 5827 </funcsynopsis> 5828 <variablelist> 5829 </variablelist> 5830 5831 There are no noticable differences when reading the doc 5832 other than than the removed few pixels of spacing between 5833 the function sysnopsis and the variable list block. 5834 5835 In some cases, there are no "blurb about the fucntion" 5836 and the empty paragraph is removed. 5837 5838 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5839 5840commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 5841Author: Gaetan Nadon <memsize@videotron.ca> 5842Date: Thu Jul 28 19:46:14 2011 -0400 5843 5844 compose specs: generate chunked html 5845 5846 For large 600 page documents such as this one, chunked html 5847 provide faster browser load time and better navigation. 5848 5849 Simply click on the locale of your choice in the toc and 5850 the browser loads just that one file. Being a DocBook, 5851 it benefits from all of the usual features and can be 5852 integrated with the rest of the documentation. 5853 5854 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5855 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5856 5857commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 5858Author: Gaetan Nadon <memsize@videotron.ca> 5859Date: Thu Jun 23 15:16:47 2011 -0400 5860 5861 specs: build compose keys tables in specs/i18n/compose 5862 5863 Build the tables article together with the rest of the specs. 5864 Make it transparent that the source in generated in nls. 5865 Reuse docbook.am and get all the features such as olink. 5866 5867 The docbook article file stem and id must be the same. The new name 5868 for the main article is libX11-keys. The new installation location 5869 is $docdir/libX11/i18n/compose. 5870 5871 The nls dir retains the role of generating the DocBook/XML source 5872 but does not build neither installs output formats or generated source. 5873 5874 The tables article now has to specify that each included locale 5875 section is a dependency. It did not matter before as they were web links. 5876 5877 The xorg-sgml-doctools masterdb shall be updated to include this new doc. 5878 Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 5879 5880 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5881 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5882 5883commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 5884Author: Gaetan Nadon <memsize@videotron.ca> 5885Date: Thu Jun 23 14:43:31 2011 -0400 5886 5887 nls: restructure charts as a single article with sections 5888 5889 Looks more like a real article with a toc rather than individual 5890 web pages. Looks nicer in pdf. 5891 5892 Each locale is a "section" rather than an "article". 5893 Using XInclude to aggregate xml source files gets you the toc for free. 5894 5895 The single document is over 600 pages while there were 62 separate 5896 documents previously. FOP version 1.0 is required to handle missing 5897 character like capital sharp s. 5898 5899 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5900 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5901 5902commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 5903Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5904Date: Thu Jul 28 19:32:40 2011 -0700 5905 5906 libX11 1.4.4 5907 5908 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5909 5910commit ab1f30231755d99ed123af6873b981834640f01d 5911Author: Matt Dew <marcoz@osource.org> 5912Date: Wed Jul 13 12:33:40 2011 -0600 5913 5914 Add id attributes to error codes to allow linking from other docs. 5915 5916 Signed-off-by: Matt Dew <marcoz@osource.org> 5917 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5918 Acked-by: Gaetan Nadon <memsize@videotron.ca> 5919 5920commit 5c831fef402914ccf2ec14005c25be48852f119b 5921Author: David Coppa <dcoppa@gmail.com> 5922Date: Tue Jul 12 10:05:47 2011 +0200 5923 5924 Fix libpthread linkage on OpenBSD. 5925 5926 OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 5927 5928 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5929 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5930 5931commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 5932Author: Gaetan Nadon <memsize@videotron.ca> 5933Date: Wed Jun 22 20:46:26 2011 -0400 5934 5935 config: use XORG_WITH_PERL macro to replace custom program check 5936 5937 New in version util-macros 1.15, the macro does the usual checking 5938 for program path and provides an interface for makefile variables. 5939 5940 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5941 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5942 5943commit 47d99a324db9232029a22dd523e3bc3ed0936aca 5944Author: Gaetan Nadon <memsize@videotron.ca> 5945Date: Wed Jun 22 20:41:18 2011 -0400 5946 5947 config: update XORG_WITH_FOP macro usage 5948 5949 A new feature to test for a minimum version has been added. 5950 5951 The parameter position changed. Due to limited usage 5952 and requiring 1.15, it turns out to be backward compatible. 5953 5954 There is no functional change to how docs are build. 5955 5956 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5957 5958commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 5959Author: Gaetan Nadon <memsize@videotron.ca> 5960Date: Wed Jun 22 11:48:49 2011 -0400 5961 5962 Remove unused xmlrules.in in specs, now in /nls 5963 5964 The specs dir has been converted to docbook.am 5965 5966 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5967 5968commit 9992092609bd83a0db778e9a9ac1e879d445e637 5969Author: Gaetan Nadon <memsize@videotron.ca> 5970Date: Thu Mar 31 10:23:22 2011 -0400 5971 5972 nls: move xmlrules.in from specs to nls 5973 5974 It is no longer used in the specs dir. 5975 Remove html from CLEANFILES as it breaks. Make do not clean directories 5976 Remove SUFFIXES as pattern rules are used rather than suffix rules. 5977 5978 Other improvements are possible, the first priority is to move it out 5979 of the specs dir. 5980 5981 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 5982 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5983 5984commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 5985Author: Gaetan Nadon <memsize@videotron.ca> 5986Date: Sun Jun 5 16:27:36 2011 -0400 5987 5988 Install target dbs alongside generated documents 5989 5990 This matches a change in xorg-sgml-docs whereby the masterdb will look for 5991 the target dbs into the same location as the generated documents. 5992 5993 The target dbs are now installed alongside the generated documents. 5994 Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 5995 has the potential of installing outside the package prefix and cause 5996 distcheck to fail when user does not have write permission in this package. 5997 5998 Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 5999 6000commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 6001Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6002Date: Tue Jun 7 18:41:30 2011 -0700 6003 6004 specs/libX11: Turn appendix references into links 6005 6006 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6007 6008commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 6009Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6010Date: Tue Jun 7 18:37:41 2011 -0700 6011 6012 specs/libX11: Turn chapter references into links 6013 6014 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6015 6016commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 6017Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6018Date: Tue Jun 7 00:52:32 2011 -0700 6019 6020 specs/libX11: Turn many "see section ..." into links 6021 6022 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6023 6024commit 02d4c08dead2f266809b3f93ec72377783423ac7 6025Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6026Date: Sun Jun 5 22:50:37 2011 -0700 6027 6028 specs/libX11: Convert some header filenames to filename tags 6029 6030 perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 6031 6032 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6033 6034commit c51a011329afa6e5b9d2b285349c132683ecf9fb 6035Author: Matt Dew <marcoz@osource.org> 6036Date: Tue May 31 20:03:23 2011 -0600 6037 6038 Add id attributes to funcsynopsis to allow other docs to olink to them. 6039 6040 Signed-off-by: Matt Dew <marcoz@osource.org> 6041 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6042 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 6043 6044commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 6045Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6046Date: Fri May 27 20:14:36 2011 -0700 6047 6048 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 6049 6050 https://bugs.freedesktop.org/show_bug.cgi?id=37624 6051 6052 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6053 6054commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 6055Author: Matt Dew <marcoz@osource.org> 6056Date: Sat May 21 00:23:06 2011 -0600 6057 6058 Add id's to functions, to make clickable links. 6059 6060 Signed-off-by: Matt Dew <marcoz@osource.org> 6061 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 6062 6063commit 5c06bc594473f6ab234724cd90db32e7b57fe811 6064Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6065Date: Fri May 20 15:38:08 2011 -0700 6066 6067 libX11 spec: fix monospaced column alignment after deligaturization 6068 6069 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6070 6071commit ef0019c714c273cb9b4ad3eba52d0b905109826b 6072Author: James Cloos <cloos@jhcloos.com> 6073Date: Fri May 20 15:51:46 2011 -0400 6074 6075 Expand latin ligatures out to their NFKC equivalents. 6076 6077 Ligatures should be done by the typesetting system. 6078 Manuscripts should not bother with them. 6079 6080 Signed-off-by: James Cloos <cloos@jhcloos.com> 6081 Reviewed-by: Keith Packard <keithp@keithp.com> 6082 6083commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 6084Author: Daniel Stone <daniel@fooishbar.org> 6085Date: Thu May 12 16:21:50 2011 +0200 6086 6087 XCB: Add more friendly error messages for common asserts 6088 6089 This patch adds more friendly error messages for three common classes of 6090 assertion: 6091 - missed sequence numbers due to being griefed by another thread 6092 - unknown requests in queue due to being griefed by another thread 6093 - extensions dequeuing too much or too little reply data 6094 6095 It adds error messages offering advice (e.g. call XInitThreads() first) 6096 on stderr, but still generates actual assertions. Hopefully this means 6097 it's a little more Googleable and a little less frightening. 6098 6099 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 6100 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6101 6102commit 159bf292477048b9a2f074735afc516f52c93d80 6103Author: Gaetan Nadon <memsize@videotron.ca> 6104Date: Thu May 19 20:22:11 2011 -0400 6105 6106 Remove misplaced hyphens in libX11 DocBook/XML #37364 6107 6108 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 6109 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6110 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6111 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6112 6113commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 6114Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6115Date: Tue May 17 20:49:59 2011 -0700 6116 6117 Fix man page and comment references to use XFreeModifiermap (lowercase map) 6118 6119 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6120 6121commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 6122Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6123Date: Tue May 17 20:30:54 2011 -0700 6124 6125 XKB man pages: Fix coordinantes typo in multiple pages 6126 6127 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6128 6129commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 6130Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6131Date: Tue May 17 16:27:32 2011 -0700 6132 6133 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 6134 6135 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6136 6137commit ae39d82b01359b07dd1fe092d867f79ea95a5438 6138Author: Jeremy Huddleston <jeremyhu@apple.com> 6139Date: Sun May 8 09:08:07 2011 -0700 6140 6141 Silence clang static analysis warnings for SetReqLen 6142 6143 This provides a simplified version of the SetReqLen macro when using clang for 6144 static analysis. Prior to this change, we would see many Idempotent operation 6145 warnings inside this macro due to the common case of calling with arg2 and 6146 arg3 being the same variable. This has no effect on code produced during 6147 compilation, but it silences a number of false positives in static analysis. 6148 6149 XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 6150 SetReqLen(req, num_modifiers, num_modifiers); 6151 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6152 In file included from XIPassiveGrab.c:26: 6153 .../include/X11/Xlibint.h:580:8: note: instantiated from: 6154 n = badlen; \ 6155 ^ 6156 6157 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6158 6159commit 130af2bc02090ee2526adb2f9803fc07019b8f1f 6160Author: Jeremy Huddleston <jeremyhu@apple.com> 6161Date: Wed May 4 15:34:31 2011 -0700 6162 6163 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 6164 6165 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 6166 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 6167 ^~~~~~~ 6168 6169 Found-by: clang static analyzer 6170 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6171 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6172 6173commit c987ef04bea345d5810e60cf6c53b747ddbe910e 6174Author: Jeremy Huddleston <jeremyhu@apple.com> 6175Date: Wed May 4 15:31:17 2011 -0700 6176 6177 Revert "XKB: Avoid a possible NULL dereference" 6178 6179 Sorry for the noise. I accidentally pushed and didn't mean to. =( 6180 6181 This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 6182 6183commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 6184Author: Jeremy Huddleston <jeremyhu@apple.com> 6185Date: Wed May 4 11:35:31 2011 -0700 6186 6187 Dead code removal 6188 6189 XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 6190 for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 6191 ~~~^~~~ 6192 XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 6193 pos= 0; 6194 ^ ~ 6195 6196 Found-by: clang static analyzer 6197 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6198 6199commit 4024091678ea07e0d898b798df9b29f3bf68eb08 6200Author: Jeremy Huddleston <jeremyhu@apple.com> 6201Date: Wed May 4 11:34:53 2011 -0700 6202 6203 XKB: Avoid a possible NULL dereference 6204 6205 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 6206 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 6207 ^~~~~~~ 6208 6209 Found-by: clang static analyzer 6210 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6211 6212commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 6213Author: Jeremy Huddleston <jeremyhu@apple.com> 6214Date: Wed May 4 11:21:41 2011 -0700 6215 6216 Annotate _XIOError as _X_NORETURN 6217 6218 Found-by: clang static analyzer 6219 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6220 6221commit d3d7896408b435ab42656398839ff4351a37724d 6222Author: Jeremy Huddleston <jeremyhu@apple.com> 6223Date: Tue May 3 09:32:53 2011 -0700 6224 6225 clang analyzer: Don't warn about Xmalloc(0) 6226 6227 This will prevent a number of false positives in where clang's 6228 static analysis reports about calls to malloc(0). 6229 6230 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6231 6232commit 393921cf2188b2b0713cc157effaf17d0abab783 6233Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6234Date: Thu Apr 21 16:21:04 2011 -0700 6235 6236 Delete special case code to append "/sparcv9" to i18n module path 6237 6238 Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 6239 Inconsistent with all other platforms, and a bit overcomplicated. 6240 6241 Should anyone need to continue using that path, simply build with 6242 a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 6243 6244 Fixes Solaris bug 7038737: 6245 sparcv9 Xlib looking in wrong path for i18n loadable modules 6246 6247 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6248 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6249 6250commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 6251Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6252Date: Thu Apr 14 13:47:12 2011 -0700 6253 6254 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 6255 6256 Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 6257 6258 https://bugs.freedesktop.org/show_bug.cgi?id=36244 6259 6260 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6261 6262commit b850adbdebcf500c659f85285d4d7374e15857f5 6263Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6264Date: Tue Apr 12 22:30:45 2011 -0700 6265 6266 Convert malloc(strlen()); strcpy() sets to strdup 6267 6268 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6269 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6270 6271commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 6272Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6273Date: Tue Apr 12 21:27:45 2011 -0700 6274 6275 Replace Xmalloc+bzero pairs with Xcalloc calls 6276 6277 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6278 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6279 6280commit ac1e2bff7121987fd768500a11d428d9fb9447c5 6281Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6282Date: Fri Mar 25 14:47:35 2011 +0200 6283 6284 om: Fix memory leaks on get_font_name error paths. 6285 6286 While at it, remove unneeded check for NULL before Xfree. 6287 6288 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6289 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6290 6291commit 7c362e275c93c92b4e68fe862e73ee36665de703 6292Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6293Date: Wed Mar 30 15:06:10 2011 +0300 6294 6295 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 6296 6297 pScreenData is replaced when building per visual intensity tables. If 6298 malloc failed the old value of pScreenData (stored also in 6299 pScreenDefaultData) was being leaked. Also, property_return wasn't 6300 free'd in that case. 6301 6302 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6303 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6304 6305commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 6306Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6307Date: Wed Mar 30 15:19:28 2011 +0300 6308 6309 xcms: Fix error on LINEAR_RGB_InitSCCData error path. 6310 6311 Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 6312 be accessed after being free'd. 6313 6314 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6315 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6316 6317commit d749948f9492fd9b61c74655a08e32c595e0e3a5 6318Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6319Date: Fri Mar 25 16:06:15 2011 +0200 6320 6321 om: Fix potential memory leak in init_om. 6322 6323 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6324 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6325 6326commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 6327Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6328Date: Thu Mar 24 20:40:41 2011 +0200 6329 6330 om: Fix memory leak on read_EncodingInfo error path. 6331 6332 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6333 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6334 6335commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 6336Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6337Date: Thu Mar 24 19:55:33 2011 +0200 6338 6339 Fix memory leaks on _XimCbDispatch error path. 6340 6341 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6342 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6343 6344commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 6345Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6346Date: Thu Mar 24 19:52:05 2011 +0200 6347 6348 Fix memory leak on _XimCommitRecv error path. 6349 6350 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6351 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6352 6353commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 6354Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6355Date: Thu Mar 24 19:48:44 2011 +0200 6356 6357 Fix memory leaks on _XimWriteCachedDefaultTree error paths. 6358 6359 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6360 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6361 6362commit e29be94edbb58b3b8dab545377a710d1f73b61e0 6363Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6364Date: Thu Mar 24 19:42:36 2011 +0200 6365 6366 Fix memory leaks on _XimGetAttributeID error paths. 6367 6368 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6369 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6370 6371commit d144a50512466766f55ce61e3884925334b08f0d 6372Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6373Date: Thu Mar 24 19:36:56 2011 +0200 6374 6375 Fix memory leaks on _XimProtoCreateIC error paths. 6376 6377 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6378 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6379 6380commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 6381Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6382Date: Thu Mar 24 16:24:29 2011 +0200 6383 6384 Fix leaks in _XimEncodingNegotiation error paths. 6385 6386 name_ptr and detail_ptr weren't free'd in some cases before returning 6387 False. 6388 6389 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6390 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6391 6392commit 396e5a452a59c1f121220ba72167b720a863b30f 6393Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6394Date: Thu Mar 24 14:17:44 2011 +0200 6395 6396 FSWrap: fix potential leak in copy_string_list 6397 6398 If list_count is 0, dst would be allocated and leaked. 6399 6400 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6401 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6402 6403commit 1a944260182bb552b954d69f6355c2760d4415df 6404Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6405Date: Wed Mar 23 14:36:22 2011 +0200 6406 6407 Fix memory leak with broken bitmap files in XReadBitmapFileData 6408 6409 Bitmap file data is read looping through the lines in the input file. If 6410 there is extra data after the bitmap, these lines will be processed and 6411 if this data represents another bitmap it will replace the one read 6412 before causing the memory allocated for bits to leak. 6413 6414 This changes the code to stop processing the file once a bitmap was 6415 read. 6416 6417 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6418 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6419 6420commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 6421Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6422Date: Tue Apr 12 20:50:42 2011 -0700 6423 6424 Fix "attrinute" typo in comments in ximcp 6425 6426 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6427 6428commit 7103b83a88edb9c93acfa68f3b556595b087baff 6429Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6430Date: Fri Apr 8 21:36:11 2011 -0700 6431 6432 Make doc install subdirectories more like the pre-docbook.am paths 6433 6434 Haven't restored the "specs" path in the install path, but have restored 6435 libX11 & i18n subdirectories in the path for better logical grouping. 6436 6437 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6438 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 6439 6440commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 6441Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6442Date: Fri Apr 8 13:24:28 2011 -0700 6443 6444 Install xml versions of specs even if HAVE_XMLTO is false 6445 6446 Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 6447 from before docbook.am changes (commit e8c76407d2f6e3) 6448 6449 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6450 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 6451 6452commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 6453Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6454Date: Tue Apr 5 13:29:04 2011 -0700 6455 6456 libX11 1.4.3 6457 6458 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6459 6460commit e8c76407d2f6e3b11babdb84426e43e780c859c3 6461Author: Gaetan Nadon <memsize@videotron.ca> 6462Date: Fri Feb 25 09:23:54 2011 -0500 6463 6464 Documentation: add Docbook external references support 6465 6466 When writing technical documentation, it is often necessary to cross 6467 reference to other information. When that other information is not in the 6468 current document, additional support is needed, namely <olink>. 6469 6470 A new feature with version 1.7 of xorg-sgml-doctools adds references to 6471 other documents within or outside this package. 6472 6473 This patch adds technical support for this feature but does not change 6474 the content of the documentation as seen by the end user. 6475 6476 Each book or article must generate a database containing the href 6477 of sections that can be referred to from another document. This database 6478 is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 6479 the value of DATAROOTDIR for xorg-sgml-doctools and for the package 6480 documentation is the same. This forms a virtual document tree. 6481 6482 This database is consulted by other documents while they are being generated 6483 in order to fulfill the missing information for linking. 6484 Refer to the xorg-sgml-doctools for further technical information. 6485 6486 Co-authored-by: Matt Dew <marcoz@osource.org> 6487 6488 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6489 6490commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 6491Author: Harshula Jayasuriya <harshula@gmail.com> 6492Date: Mon Mar 21 14:49:37 2011 +0000 6493 6494 Add #define XK_SINHALA 6495 6496 Add #define XK_SINHALA so that the Sinhala keysyms can be used by 6497 the lk xkb keymap. 6498 6499 Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 6500 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6501 6502commit db8b20b789112717ac0590b40f0b4dc2171797d0 6503Author: Jeremy Huddleston <jeremyhu@apple.com> 6504Date: Thu Mar 17 16:15:00 2011 -0700 6505 6506 configure.ac: Bump version to 1.4.2 6507 6508 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6509 6510commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 6511Author: Jamey Sharp <jamey@minilop.net> 6512Date: Tue Mar 15 16:48:07 2011 -0700 6513 6514 Call _XErrorFunction without holding the Display lock. 6515 6516 Historically, Xlib dropped the Display lock around the upcall to any 6517 user-supplied _XErrorFunction, but somewhere along the way I quit doing 6518 that if you built with XCB. The reasons are lost somewhere in the 6519 pre-git history of Xlib/XCB, and I can't now see any reason to hold the 6520 lock. 6521 6522 The documentation for XSetErrorHandler still applies though: 6523 6524 Because this condition is not assumed to be fatal, it is acceptable 6525 for your error handler to return; the returned value is ignored. 6526 However, the error handler should not call any functions (directly 6527 or indirectly) on the display that will generate protocol requests 6528 or that will look for input events. 6529 6530 So while you are now once again permitted to re-enter Xlib from the 6531 error handler, you're only allowed to call non-protocol functions. 6532 6533 Signed-off-by: Jamey Sharp <jamey@minilop.net> 6534 6535commit fd85aca7a616c595fc17b2520f84316a11e8906f 6536Author: Jamey Sharp <jamey@minilop.net> 6537Date: Mon Mar 14 14:45:35 2011 -0700 6538 6539 Ignore user locks after sleeping in _XReply and _XReadEvents. 6540 6541 This bug appears as a hang in applications that wait for replies from 6542 multiple threads, where one such thread has taken a user lock using 6543 XLockDisplay. 6544 6545 Prior to this fix, the code could deadlock in this way: If thread 1 goes 6546 to sleep waiting for a reply, and then thread 2 takes a user lock and 6547 waits for a reply, then thread 2 will wait for thread 1 to process its 6548 reply (because responses must be processed in order), but thread 1 will 6549 wait for thread 2 to drop its user lock. 6550 6551 Fixed by making thread 1 not wait for thread 2 to drop its user lock. 6552 This makes the semantics of user locks hard to define, but they were 6553 already hard to define. The new behavior appears to be consistent with 6554 the way Xlib worked historically, anyway. 6555 6556 Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 6557 6558 There was a similar potential for deadlock in _XReadEvents, fixed the 6559 same way, with the same caveats about user-lock semantics. 6560 6561 Signed-off-by: Jamey Sharp <jamey@minilop.net> 6562 6563commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 6564Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6565Date: Tue Jan 18 15:58:20 2011 +0200 6566 6567 xkb: XkbPropertyPtr determined allocation success from wrong variables 6568 6569 Cannot reach dead statement "return NULL;" 6570 6571 Check for the NULLness of prop->name and prop->value instead of 6572 name and value, which was checked earlier anyway. Decided against 6573 using strdup due to curious memory allocation functions and the 6574 rest of the xkb not using it either. 6575 6576 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6577 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 6578 6579commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 6580Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6581Date: Mon Jan 10 16:37:22 2011 +0200 6582 6583 keyBind: Use Xcalloc to initialize allocated _XKeytrans 6584 6585 Using uninitialized value "p->modifiers" 6586 6587 Small fix by using Xcalloc instead of Xmalloc 6588 6589 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6590 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 6591 6592commit b993d73bb3214ecc24646f5427c8003b816c6921 6593Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6594Date: Mon Jan 10 16:22:45 2011 +0200 6595 6596 im/ximcp: release modifiermap before returning 6597 6598 Variable "map" goes out of scope 6599 6600 Release modifiermap before returning. Reordered code to call 6601 XGetModifierMapping after the first return from the function. 6602 6603 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6604 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 6605 6606commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 6607Author: Gaetan Nadon <memsize@videotron.ca> 6608Date: Fri Feb 25 09:23:54 2011 -0500 6609 6610 Docbook: change the book id to match the xml file basename 6611 6612 This is required for the up-coming external references support. 6613 6614 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6615 6616commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 6617Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 6618Date: Mon Feb 21 21:54:17 2011 +0100 6619 6620 Make the Local XIM request key releases for braille 6621 6622 Braille chords management needs key release events. We need to explicitly 6623 request then, else GTK would not pass them throught XFilterEvent and braille 6624 wouldn't work. 6625 6626 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 6627 6628commit c97c42c49cd5095462abecdf908b416fb0b540b6 6629Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 6630Date: Mon Feb 21 17:27:38 2011 +0100 6631 6632 Match braille patterns with compose tree 6633 6634 Braille patterns should also be usable in Compose. This combines the 6635 implementation of braille chords and compose tree: only emit the braille 6636 pattern if it can not be found in the compose tree, if any. 6637 6638 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 6639 6640commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 6641Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 6642Date: Mon Feb 21 15:56:54 2011 +0100 6643 6644 Fix status reporting for braille patterns 6645 6646 _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 6647 convert to the current MB charset. 6648 _XimLocalUtf8LookupString needs to set the braille keysym and status too. 6649 6650 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 6651 6652commit 993abe751f4141f54d8d28b8b73588a1c9085970 6653Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6654Date: Fri Feb 11 14:49:17 2011 -0800 6655 6656 Clean up memory when first XCreateRegion succeeds and second fails 6657 6658 Error: Memory leak (CWE 401) 6659 Memory leak of pointer 's' allocated with XCreateRegion() 6660 at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 6661 's' allocated at line 387 with XCreateRegion(). 6662 s leaks when s != 0 at line 387. 6663 Error: Memory leak (CWE 401) 6664 Memory leak of pointer 'tra' allocated with XCreateRegion() 6665 at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 6666 'tra' allocated at line 1451 with XCreateRegion(). 6667 tra leaks when tra != 0 at line 1451. 6668 6669 [ This bug was found by the Parfait 0.3.6 bug checking tool. 6670 For more information see http://labs.oracle.com/projects/parfait/ ] 6671 6672 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6673 6674commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 6675Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6676Date: Fri Feb 11 14:20:24 2011 -0800 6677 6678 ximcp: Prevent memory leak & double free if multiple %L in string 6679 6680 In the highly unlikely event that TransFileName was passed a path 6681 containing multiple %L entries, for each entry it would call 6682 _XlcFileName, leaking the previous results, and then for each entry it 6683 would copy from that pointer and free it, resulting in invalid pointers 6684 & possible double frees for each use after the first one freed it. 6685 6686 Error: Use after free (CWE 416) 6687 Use after free of pointer 'lcCompose' 6688 at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 6689 Previously freed at line 360 with free. 6690 Error: Use after free (CWE 416) 6691 Use after free of pointer 'lcCompose' 6692 at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 6693 Previously freed at line 360 with free. 6694 Error: Double free (CWE 415) 6695 Double free of pointer 'lcCompose' 6696 at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 6697 Previously freed at line 360 with free. 6698 6699 [ This bug was found by the Parfait 0.3.6 bug checking tool. 6700 For more information see http://labs.oracle.com/projects/parfait/ ] 6701 6702 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6703 6704commit 502d414118c97d35a44f8e295709682022876331 6705Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6706Date: Thu Feb 3 17:08:57 2011 +0200 6707 6708 xcms/cmsProp: don't deal with uninitialized values, fail instead 6709 6710 Properly handle the return value of XGetWindowProperty by considering 6711 if after the loop as well. 6712 6713 Using freed pointer "prop_ret" 6714 6715 There were numerous things wrong in how this function interacted with 6716 XGetWindowProperty. 6717 6718 None of the local variables were initialized and remained that way if 6719 the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 6720 result in after_ret being initialized in which case if it happens to 6721 be 0, the loop was exited. In that case format_ret and nitems_ret were 6722 uninitialized and the function might return with success (but with 6723 uninitialized pointer in prop_ret) or XcmsFailure. 6724 6725 As the buffer enlarging code was called only when XGetWindowProperty 6726 failed (returned not Success), after_ret would not have been 6727 initialized. It would have been initialized only if the 6728 XGetWindowProperty has returned Success earlier, but in that case the 6729 code fragment would not have been reached. 6730 6731 This patch alters the function to return XcmsFailure if the call to 6732 XGetWindowProperty fails. 6733 6734 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6735 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6736 Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 6737 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6738 6739commit c37e278993b9e5b3d7025ef4c434373a011996ec 6740Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6741Date: Mon Jan 31 14:02:07 2011 +0200 6742 6743 xcms/LRGB: don't double-free property_return 6744 6745 property_return was free'd before and in the case the conditional is true, 6746 the call to XcmsGetProperty failed which means that property_return wasn't 6747 set so there is no need to free it again. 6748 6749 Double free of pointer "property_return" in call to "free" 6750 6751 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6752 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6753 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6754 6755commit 50f4107811249806718a100f9d34f996c58e5e25 6756Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6757Date: Wed Feb 2 08:58:45 2011 -0800 6758 6759 Xrm.c: ReadInFile: refactor fstat error handling 6760 6761 We can simplify the fstat failure case now that the GetFileSize macro 6762 has been expanded inline. 6763 6764 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6765 Reviewed-by: Julien Cristau <jcristau@debian.org> 6766 6767commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 6768Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6769Date: Wed Feb 2 08:56:00 2011 -0800 6770 6771 Expand GetSizeOfFile() macro at the one place it's called 6772 6773 Removes XrmI.h header that only contained this single macro 6774 6775 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6776 Reviewed-by: Julien Cristau <jcristau@debian.org> 6777 6778commit 450e17422c0e374d25c643f343ea268cec68da38 6779Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6780Date: Mon Jan 31 14:01:57 2011 +0200 6781 6782 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 6783 6784 Possible overrun of 8192 byte fixed size buffer "buffer" by copying 6785 "ext->name" without length checking 6786 6787 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6788 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6789 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6790 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6791 6792commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 6793Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6794Date: Mon Jan 31 14:02:13 2011 +0200 6795 6796 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 6797 6798 Fixed by zero'ing conv on allocation with Xcalloc. Then 6799 close_converter works properly. 6800 6801 Using uninitialized value "conv->state" in call to function "close_converter" 6802 6803 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6804 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6805 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6806 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6807 6808commit 03f81ad8fb9783986cf9b17661dd31e95c396681 6809Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6810Date: Mon Jan 31 14:02:16 2011 +0200 6811 6812 xlibi18n/lcFile: Removed superfluous check for NULL target_dir 6813 6814 The situation is already handled before this code. 6815 6816 Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 6817 6818 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6819 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6820 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6821 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6822 6823commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 6824Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6825Date: Mon Jan 31 14:02:15 2011 +0200 6826 6827 ximcp/imLckup: Handle negative return value from _Xlcwctomb 6828 6829 Fixed by negative value to memcpy by checking for the negative return 6830 value of _Xlcwctomb and returning 0/XLookupNone in that case. 6831 6832 a negative value was passed to memcpy 6833 6834 Unfortunately the other return values for *status don't fit into the 6835 error (which appears to indicate some internal error or running out of 6836 memory). The other valid status codes are XBufferOverflow, 6837 XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 6838 these has a specific meaning attached. 6839 6840 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6841 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6842 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6843 6844commit 79a5c86e020f08cc108184298a72e2777036de39 6845Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6846Date: Mon Jan 31 14:02:14 2011 +0200 6847 6848 ximcp/imTrX: Handle failing XGetWindowProperty 6849 6850 Checked return value of XGetWindowProperty and return false if it fails. 6851 6852 Return value of "XGetWindowProperty(im->core.display, spec->lib_connect_wid, prop, 0L, (length + bytes_after_ret + 3UL) / 4UL, 1, 0UL, &type_ret, &format_ret, &nitems, &bytes_after_ret, &prop_ret)" is not checked 6853 6854 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6855 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6856 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6857 6858commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 6859Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6860Date: Mon Jan 31 14:02:12 2011 +0200 6861 6862 XlibInt: info_list->watch_data was reallocated, but result was discarded 6863 6864 info_list->watch_data was being reallocated, but the return value of 6865 the reallocation was stored only into a local variable. This might 6866 cause some funky behavior and crashes. 6867 6868 Variable "wd_array" goes out of scope 6869 Value "wd_array" is overwritten in "wd_array = (XPointer*)realloc((char*)info_list->watch_data, (((dpy->watcher_count + 1) * 4U == 0U) ? 1U : ((dpy->watcher_count + 1) * 4U)))" 6870 6871 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6872 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6873 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6874 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6875 6876commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 6877Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6878Date: Mon Jan 31 14:02:10 2011 +0200 6879 6880 GetProp: Zero-initialized error so its resourceID field is initialized 6881 6882 Using uninitialized value "error.resourceID" in call to function "_XError" 6883 6884 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6885 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6886 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6887 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6888 6889commit 85e9f38e016137f0ff2791eb0d092ab027382d2c 6890Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6891Date: Tue Feb 1 11:07:25 2011 +0200 6892 6893 xcms/LRGB: Add a label for freeing property_return. 6894 6895 The rest of the code uses goto's to free memory allocated later 6896 and prevent memory leaks, but there were several paths were 6897 property_return was free'd just before a goto. 6898 6899 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6900 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6901 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6902 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6903 6904commit 3161dc57d4e9b70f852f05e5e474455e121b06ab 6905Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6906Date: Mon Jan 31 14:02:08 2011 +0200 6907 6908 xcms/LRGB: Fix potential resource leak. 6909 6910 property_return was not free'd if the allocation of pRedTbl failed. 6911 6912 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6913 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6914 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6915 6916commit be3e6c205d94dedc1cdebf5d17b987f0f828377a 6917Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6918Date: Mon Jan 31 14:02:06 2011 +0200 6919 6920 Xrm: Handle the extremely unlikely situation of fstat failing 6921 6922 Tracked variable "size" was passed to a negative sink. 6923 6924 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6925 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6926 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6927 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6928 6929commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 6930Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6931Date: Mon Jan 31 14:02:05 2011 +0200 6932 6933 Xrm: NEWTABLE had a memory leak after a memory allocation error 6934 6935 The NEWTABLE macro missed freeing its allocated memory on subsequent 6936 memory allocation errors. Added call to Xfree. 6937 6938 Variable "table" goes out of scope 6939 6940 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6941 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6942 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6943 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6944 6945commit 7110ac653349a23c80c365f11f6270dc27c8975a 6946Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6947Date: Mon Jan 31 14:02:03 2011 +0200 6948 6949 ImUtil: Handle a memory leak in one early return branch 6950 6951 Fixed memory leak by adding Xfree for image 6952 6953 Variable "image" goes out of scope 6954 6955 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6956 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6957 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6958 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6959 6960commit d695f5da9f5b778e54b6987d9177048e32818c4d 6961Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6962Date: Mon Jan 31 14:02:01 2011 +0200 6963 6964 ximcp/imRm: Handle leaking colormap_ret 6965 6966 Fixed memory leak by adding Xfree for colormap_ret 6967 6968 Variable "colormap_ret" goes out of scope 6969 6970 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6971 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6972 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6973 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6974 6975commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 6976Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6977Date: Mon Jan 31 14:01:59 2011 +0200 6978 6979 ximcp/imRmAttr: Handle leaking missing_list 6980 6981 Fixed memory leak by adding Xfree and initializing missing_list with NULL 6982 6983 Variable "missing_list" goes out of scope 6984 6985 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6986 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 6987 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 6988 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6989 6990commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 6991Author: Erkki Seppälä <erkki.seppala@vincit.fi> 6992Date: Mon Jan 31 14:01:58 2011 +0200 6993 6994 ximcp/imRmAttr: Handle leaking colormap_ret 6995 6996 XFree colormap_ret and initialize it when appropriate. 6997 6998 Variable "colormap_ret" goes out of scope 6999 7000 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7001 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7002 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7003 7004commit f66a032a937030f2d9baa81744d36dc585bb085c 7005Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7006Date: Mon Jan 31 14:01:56 2011 +0200 7007 7008 xlibi18n/lcGeneric: Initialize uninitialized local variable 7009 7010 Using uninitialized value "new" 7011 7012 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7013 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7014 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7015 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7016 7017commit d0266e06d38110ec908ca28379014eff743630b7 7018Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7019Date: Mon Jan 31 14:01:54 2011 +0200 7020 7021 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 7022 7023 Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 7024 7025 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7026 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7027 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7028 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7029 7030commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 7031Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7032Date: Tue Feb 1 12:30:56 2011 +0200 7033 7034 XDefaultOMIF.c: Fix memory leaks in get_font_name 7035 7036 Instead of copying the value returned by get_prop_name and then releasing it, 7037 directly use the return value of get_prop_name, which allocates memory for the 7038 name. 7039 7040 If get_prop_name returns NULL, continue on to XFreeFont to release the font 7041 before returning the NULL via the normal function return. 7042 7043 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7044 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7045 7046commit 95796351435d81eaef8166d49ba3a6e7b633d70a 7047Author: Gaetan Nadon <memsize@videotron.ca> 7048Date: Mon Jan 31 14:50:19 2011 -0500 7049 7050 config: comment, minor upgrade, quote and layout configure.ac 7051 7052 Group statements per section as per Autoconf standard layout 7053 Quote statements where appropriate. 7054 Autoconf recommends not using dnl instead of # for comments 7055 7056 Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 7057 Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 7058 7059 This helps automated maintenance and release activities. 7060 Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 7061 7062 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7063 7064commit e994ab227ed28655565c3193e63733630105e7f9 7065Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7066Date: Tue Jan 18 12:49:48 2011 +0200 7067 7068 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 7069 7070 Removed superfluous comparison. 7071 7072 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 7073 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7074 7075commit 4115f051e62f9b098efce691e070d44f09f30f1c 7076Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7077Date: Wed Jan 12 15:51:11 2011 +0200 7078 7079 Variable "entry" tracked as NULL was dereferenced. 7080 7081 Check entry for non-nullness before dereferencing it 7082 7083 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 7084 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7085 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7086 7087commit 0edb76d1d5fdca5a2543332699be2e72386dab24 7088Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7089Date: Thu Jan 27 09:54:00 2011 +0200 7090 7091 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 7092 7093 If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 7094 7095 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 7096 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7097 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7098 7099commit 59da8a211ef723909d0530c0331d541db8e63378 7100Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7101Date: Mon Jan 10 16:17:47 2011 +0200 7102 7103 Using freed pointer "e" 7104 7105 Reordered code to first to do the comparison and then to release data 7106 7107 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7108 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7109 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7110 7111commit 0f11c229f7099f7c5aeed4691b358dca151dac7d 7112Author: Matt Dew <marcoz@osource.org> 7113Date: Thu Jan 27 00:31:23 2011 -0700 7114 7115 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 7116 7117 Signed-off-by: Matt Dew <marcoz@osource.org> 7118 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7119 7120commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 7121Author: Gaetan Nadon <memsize@videotron.ca> 7122Date: Fri Jan 28 16:07:07 2011 -0500 7123 7124 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 7125 7126 This silences an Automake warning. 7127 7128 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7129 7130commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 7131Author: Gaetan Nadon <memsize@videotron.ca> 7132Date: Fri Jan 28 14:59:04 2011 -0500 7133 7134 config: remove unrequired AC_HEADER_STDC 7135 7136 Autoconf says: 7137 "This macro is obsolescent, as current systems have conforming 7138 header files. New programs need not use this macro". 7139 7140commit d4483375e37a72631d5821413cb75a423e990ffe 7141Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7142Date: Tue Jan 18 19:37:02 2011 -0800 7143 7144 config: Use correct AC_CONFIG_HEADERS macro 7145 7146 Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 7147 7148 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7149 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7150 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 7151 7152commit c6405fe931f313a0d159bdad00244fc8aae12468 7153Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7154Date: Sun Jan 16 11:55:23 2011 -0800 7155 7156 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 7157 7158 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 7159 AC_PROG_C_C99. This sets gcc with -std=gnu99. 7160 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 7161 7162 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7163 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7164 7165commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 7166Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7167Date: Sun Jan 16 11:40:59 2011 -0800 7168 7169 Update to xf86bigfontproto >= 1.2.0 header name 7170 7171 Clears compile-time warning of: 7172 "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 7173 "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 7174 7175 Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 7176 passed to configure. 7177 7178 Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 7179 that PKG_CHECK_MODULES does automatically 7180 7181 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7182 Reviewed-by: Julien Cristau <jcristau@debian.org> 7183 7184commit a9228fcc676aacf9a760dd94891c89f9bc82b20d 7185Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7186Date: Tue Jan 11 17:55:22 2011 -0800 7187 7188 libX11 1.4.1 7189 7190 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7191 7192commit 92fa96451af37a7a0f2592de07643fdaed7a9efd 7193Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 7194Date: Mon Jan 3 12:25:28 2011 -0500 7195 7196 Initialize event type 7197 7198 If we receive unsupported event closing connection triggers valgrind 7199 error. 7200 7201 ==12017== Conditional jump or move depends on uninitialised value(s) 7202 ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 7203 ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 7204 *snip* 7205 ==12017== Uninitialised value was created by a heap allocation 7206 ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 7207 ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 7208 ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 7209 ==12017== by 0x4892263: _XReply (xcb_io.c:626) 7210 *snip* 7211 7212 Problem is that XFreeDisplaySturture is checking for qelt->event.type == 7213 GenericEvent while _XUnknownWireEvent doesn't store the type. 7214 7215 Reviewed-by: Adam Jackson <ajax@redhat.com> 7216 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7217 Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 7218 7219commit fa9747b9d4443eef9b1687b8b1208801f5c585da 7220Author: Fernando Carrijo <fcarrijo.lists@gmail.com> 7221Date: Tue Dec 28 16:18:57 2010 -0500 7222 7223 specs: convert images from gif to svg format. 7224 7225 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7226 7227commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 7228Author: Philipp Reh <sefi@s-e-f-i.de> 7229Date: Wed Dec 22 15:14:05 2010 +0000 7230 7231 Events: Store event cookie when dequeuing event 7232 7233 When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 7234 make sure to store the corresponding cookie too. 7235 7236 Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 7237 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 7238 7239commit d2714d65e85b44abedf5f82e1a31506dba397ef2 7240Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7241Date: Tue Dec 21 18:47:16 2010 -0800 7242 7243 Revert "Mark atom names argument to XInternAtoms as const" 7244 7245 This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 7246 7247 The constification of a pointer to a pointer caused unexpected issues, 7248 and xorg-devel was unable to come up with a clean, safe, reasonable way 7249 to handle them, so we're chalking this up for now as yet another mistake 7250 in the Xlib API definition we'll be living with. 7251 7252 See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 7253 7254 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7255 7256commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 7257Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7258Date: Mon Dec 20 20:54:07 2010 -0800 7259 7260 specs/XKB: make acknowlegement section <preface> instead of <chapter> 7261 7262 Fixes numbering of actual chapters to match their filenames and to 7263 make the table/figure numbering match the references in the text. 7264 7265 Reported-by: jelmd on freenode irc 7266 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7267 7268commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 7269Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7270Date: Sun Dec 19 23:53:02 2010 -0800 7271 7272 Add XKBlib spec images to dist_spec_DATA for distribution & installation 7273 7274 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7275 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7276 7277commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 7278Author: Matt Dew <matt@osource.org> 7279Date: Tue Nov 30 10:52:07 2010 -0500 7280 7281 specs: convert XKBlib spec from Framemaker to DocBook.xml 7282 7283 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7284 7285commit c8701115462b482d99ecff24d9de0f2806084ba5 7286Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7287Date: Sun Nov 21 20:49:05 2010 -0800 7288 7289 Mark atom names argument to XInternAtoms as const 7290 7291 Updates code & docs for XInternAtoms. 7292 7293 The single atom name argument to XInternAtom was already const char * 7294 in the code, but not the docs, so updated it in the docs too. 7295 7296 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7297 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7298 7299commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 7300Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7301Date: Sun Nov 21 14:04:32 2010 -0800 7302 7303 libX11 1.4.0 7304 7305 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7306 7307commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 7308Author: Dan Nicholson <dbn.lists@gmail.com> 7309Date: Sat Nov 6 21:58:10 2010 +0000 7310 7311 config: Check host string when deciding architecture to build for 7312 7313 When checking for the OS/2 platform, $target_os is used. However, unless 7314 building a cross compiler, the $host* strings contain the platform 7315 details for the build system. See: 7316 7317 http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 7318 7319 $host_os is already being used to determine the transport and threading 7320 options. 7321 7322 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7323 Reviewed-by: Julien Cristau <jcristau@debian.org> 7324 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7325 7326commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 7327Author: Dan Nicholson <dbn.lists@gmail.com> 7328Date: Sat Nov 6 21:58:09 2010 +0000 7329 7330 config: Fix architecture check for OS/2 to skip nios2 cpu 7331 7332 The OS/2 platform requires some utility functions as well as having a 7333 non-32 bit wchar_t. Fix the configure check so that it doesn't also 7334 affect the nios2 cpu, which wouldn't influence these operating system 7335 issues. 7336 7337 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7338 Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 7339 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7340 Reviewed-by: Julien Cristau <jcristau@debian.org> 7341 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7342 7343commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 7344Author: Gaetan Nadon <memsize@videotron.ca> 7345Date: Tue Nov 9 13:04:44 2010 -0500 7346 7347 config: HTML file generation: use the installed copy of xorg.css 7348 7349 Currenlty the xorg.css file is copied in each location 7350 where a DocBook/XML file resides. This produces about 7351 70 copies in the $(docdir) install tree. 7352 7353 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7354 7355commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 7356Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7357Date: Fri Oct 29 22:02:10 2010 -0700 7358 7359 libX11 1.3.99.903 (1.4.0 RC3) 7360 7361 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7362 7363commit 5d245d8013289b13e0c42100951b26166c7fada4 7364Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7365Date: Fri Oct 29 22:01:39 2010 -0700 7366 7367 Require xorg-macros 1.11 now that it is released 7368 7369 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7370 7371commit 1ec89689fc771f116a6165226b9e076f54254a40 7372Author: Dan Nicholson <dbn.lists@gmail.com> 7373Date: Fri Oct 22 19:09:07 2010 -0700 7374 7375 docs: Disable fop documentation by default 7376 7377 fop is used to generate the pdf and ps formats of the documentation. 7378 This can significantly slow down the build, especially when creating all 7379 the compose key charts. Since few people probably want the full set of 7380 doc formats, set the default to 'no'. 7381 7382 The default parameter for XORG_WITH_FOP is only available in recent 7383 macros. Users generating configure from older macros will just get 7384 'auto' as the default. 7385 7386 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7387 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7388 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7389 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7390 7391commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 7392Author: Jon TURNEY <jon.turney@dronecode.org.uk> 7393Date: Wed Apr 14 13:38:18 2010 +0100 7394 7395 Add C.UTF-8 and C.ASCII locale aliases 7396 7397 Add C.UTF-8 locale as an alias for en_US.UTF-8 7398 Add C.ASCII locale as an alias for C 7399 7400 (C.UTF-8 is the default locale for cygwin. It also exists in debian, 7401 although I don't think it's intended for use by humans.) 7402 7403 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 7404 Acked-by: Julien Cristau <jcristau@debian.org> 7405 Reviewed-by: James Cloos <cloos@jhcloos.com> 7406 7407commit 81d1d9a6bdca779a44f931730b866eea75777c00 7408Author: Dan Nicholson <dbn.lists@gmail.com> 7409Date: Sat Oct 9 16:00:47 2010 -0700 7410 7411 docs: Remove directory prerequisites from make rules 7412 7413 Make expects prerequisites to be files with valid timestamps, and 7414 directories are treated as always being out of date. Thus, any targets 7415 depending on directories will always be rebuilt. 7416 7417 Instead, the doc rules are changed to always create the target's leading 7418 directory. This should prevent the documentation from being rebuilt when 7419 "make install" is run. 7420 7421 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7422 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7423 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7424 7425commit d0cbf388919364fe6b5b9127f36426eb744090a0 7426Author: Jeremy Huddleston <jeremyhu@apple.com> 7427Date: Sun Sep 26 21:21:16 2010 -0700 7428 7429 Add an "X11_" string to header guards to avoid possible collision 7430 7431 This addresses a build failure which can result from <X11/Xlocale.h> and 7432 <xlocale.h> being included in the same code since they both used the same 7433 _XLOCALE_H_ protection. 7434 7435 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7436 7437commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 7438Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7439Date: Tue Sep 21 19:53:03 2010 -0700 7440 7441 libX11 1.3.99.902 (1.4.0 RC2) 7442 7443 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7444 7445commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 7446Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7447Date: Tue Sep 14 00:10:31 2010 -0700 7448 7449 Bug 19379 - Provide docs with overview of all compose key combinations 7450 7451 Adds compose-chart.pl to generate DocBook/XML documents listing compose 7452 keys, and Makefile rules to generate HTML & PDF output from them if xmlto 7453 is present. 7454 7455 https://bugs.freedesktop.org/show_bug.cgi?id=19379 7456 7457 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7458 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 7459 Reviewed-by: James Cloos <cloos@jhcloos.com> 7460 Tested-by: Gaetan Nadon <memsize@videotron.ca> 7461 7462commit 3eb064071695ebf0f371163ed818a428dfeba8e6 7463Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7464Date: Sat Sep 11 00:49:21 2010 -0700 7465 7466 Make locale data build non-recursive / parallelizable 7467 7468 On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 7469 plus this simplifies the next set of changes. 7470 7471 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7472 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 7473 Reviewed-by: James Cloos <cloos@jhcloos.com> 7474 Tested-by: Gaetan Nadon <memsize@videotron.ca> 7475 7476commit a3fc78ac352e5a70a958996ef6aec50f653974d1 7477Author: Gaetan Nadon <memsize@videotron.ca> 7478Date: Fri Sep 17 17:38:11 2010 -0400 7479 7480 config: remove man page suffix from bottom summary 7481 7482 The man page suffix is the same for all libraries on a given 7483 platform and is not configurable. It should have been removed 7484 in commit 09edc6de6. 7485 7486 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7487 7488commit a52b0068f36c739eb7e426214cd72a8d9bb776ca 7489Author: Gaetan Nadon <memsize@videotron.ca> 7490Date: Fri Sep 17 17:29:30 2010 -0400 7491 7492 config: remove unhelpful comment in .gitignore 7493 7494 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7495 7496commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 7497Author: Adam Jackson <ajax@redhat.com> 7498Date: Wed Sep 8 10:44:23 2010 -0400 7499 7500 Zero buffer data in BufAlloc() 7501 7502 Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 7503 compress better with ssh and friends. Note that you'll need to rebuild 7504 all your protocol libraries to take advantage of this. 7505 7506 Signed-off-by: Adam Jackson <ajax@redhat.com> 7507 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7508 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7509 7510commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 7511Author: James Cloos <cloos@jhcloos.com> 7512Date: Sun Sep 12 17:00:54 2010 -0400 7513 7514 Revert “Dolt-ify" 7515 7516 Libtool’s is now sufficiently fast that DOLT is no longer 7517 worth the bother, even on those few systems where is works. 7518 7519 This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 7520 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 7521 7522 It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 7523 which moved dolt from configure.ac to m4/dolt.m4. 7524 7525 And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 7526 7527 Signed-off-by: James Cloos <cloos@jhcloos.com> 7528 7529commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 7530Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7531Date: Thu Sep 9 19:24:29 2010 -0700 7532 7533 XIM spec title page minor formatting cleanup 7534 7535 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7536 7537commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 7538Author: Jens Petersen <petersen@redhat.com> 7539Date: Mon Aug 23 18:08:10 2010 -0700 7540 7541 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 7542 7543 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 7544 7545 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7546 7547commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 7548Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7549Date: Fri Sep 3 23:11:53 2010 -0700 7550 7551 Sun's copyrights are now owned by Oracle 7552 7553 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7554 7555commit 7742bf62b1fa652da4270587e280249945367cae 7556Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7557Date: Fri Sep 3 18:31:44 2010 -0700 7558 7559 libX11 1.3.99.901 (1.4.0 RC1) 7560 7561 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7562 7563commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 7564Author: Jeroen Hoek <mail@jeroenhoek.nl> 7565Date: Sun Aug 29 09:47:06 2010 -0400 7566 7567 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 7568 7569 Add LATIN CAPITAL LETTER SHARP S 7570 (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 7571 7572 Signed-off-by: James Cloos <cloos@jhcloos.com> 7573 7574commit 09edc6de6619a2eabda3b808ebff4165550664f1 7575Author: Gaetan Nadon <memsize@videotron.ca> 7576Date: Fri Aug 13 14:21:08 2010 -0400 7577 7578 config: remove man-pages configuration option 7579 7580 This option was added in commit 6e752ea120 with no explanation. 7581 The section number is provoded by XORG_MANPAGE_SECTIONS 7582 There is no case where libX11 should be different than other libs 7583 The option was also used to disable building of the man pages, 7584 which build in 14 secs. No indication this is required. 7585 7586 If there is a requirement from system builders to disable building 7587 of man pages, it could be done consistently for all modules. 7588 7589 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7590 7591commit f92e754297ec5fdb81068b56a4435026666224fa 7592Author: Aaron Plattner <aplattner@nvidia.com> 7593Date: Sun Aug 15 21:51:38 2010 -0700 7594 7595 XOpenDisplay: save the correct display_name value 7596 7597 The X Test Suite's XDisplayString test checks the invariant 7598 XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 7599 invariant by expanding str to the canonical form "host:display.scrn" (unless 7600 HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 7601 to ":1.0": 7602 7603 400|26 1 1 19:26:41|IC Start 7604 200|26 1 19:26:41|TP Start 7605 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 7606 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 7607 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 7608 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 7609 520|26 1 00032625 1 5|value used as the display argument. 7610 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 7611 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 7612 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 7613 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 7614 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 7615 220|26 1 1 19:26:41|FAIL 7616 410|26 1 1 19:26:41|IC End 7617 7618 Fix this by deleting all of the code to construct the canonical path and just 7619 stashing a copy of the original display_name in dpy->display_name. 7620 7621 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 7622 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7623 7624commit 1dc401f678469d0235e6d0b28eb4356f03327c9f 7625Author: Gaetan Nadon <memsize@videotron.ca> 7626Date: Fri Aug 13 13:06:51 2010 -0400 7627 7628 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 7629 7630 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7631 7632commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 7633Author: Gaetan Nadon <memsize@videotron.ca> 7634Date: Fri Aug 13 11:42:29 2010 -0400 7635 7636 man: simplify building of shadow man pages 7637 7638 Store the shadow files in git as any other man page. 7639 Move man pages to man dir and use the common makefile 7640 7641 Local fix in CVS for bug 5628 is not required 7642 as the problem has been fixed in 7643 util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 7644 7645 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7646 7647commit bfd899c9af2318ecbe84cb69007dba4223fdb502 7648Author: Gaetan Nadon <memsize@videotron.ca> 7649Date: Mon Aug 9 09:39:26 2010 -0400 7650 7651 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 7652 7653 in commit 76e07ef6911734eac418e399b114f1b544512736. 7654 7655 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7656 7657commit 76e07ef6911734eac418e399b114f1b544512736 7658Author: Gaetan Nadon <memsize@videotron.ca> 7659Date: Fri Aug 6 14:01:51 2010 -0400 7660 7661 man: using the C preprocessor is not required for man pages. 7662 7663 There were no special symbols needing cpp. 7664 Everything can be handled by the default MAN_SUBSTS in util-macros. 7665 7666 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7667 7668commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 7669Author: Jamey Sharp <jamey@minilop.net> 7670Date: Fri Aug 6 15:51:56 2010 -0700 7671 7672 Fix use-after-free in _XReply on X errors. 7673 7674 _XReply would always call dequeue_pending_request on errors. When it 7675 got an error for the current request, it would call dequeue, then break 7676 out of the loop; then, if it had an error in the event queue, it would 7677 compare it with the sequence number of the now-freed pending request. 7678 _XReply already stored that sequence number in dpy->last_request_read 7679 before freeing it, so look at that instead. 7680 7681 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 7682 7683 Signed-off-by: Jamey Sharp <jamey@minilop.net> 7684 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 7685 7686commit 9fa146b30046396b70d64986e50d6617b3a8ac48 7687Author: Gaetan Nadon <memsize@videotron.ca> 7688Date: Sat Jul 31 16:15:35 2010 -0400 7689 7690 specs: xsl stylesheet requires abs path to images 7691 7692 Using abs_builddir requires automake 1.10 or later. 7693 7694 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7695 7696commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 7697Author: Gaetan Nadon <memsize@videotron.ca> 7698Date: Sun Aug 1 14:13:07 2010 -0400 7699 7700 specs: update .gitignore now that all groff generated files are gone 7701 7702 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7703 7704commit f70527f05677aaf6a493ba42d2d95f738aaebafa 7705Author: Adam Jackson <ajax@redhat.com> 7706Date: Thu Jul 29 11:11:21 2010 -0400 7707 7708 nls: Switch one of the interrobang sequences to gnaborretni 7709 7710 Since gnaborretni is primarily used in LTR locales, the ? part of the 7711 sequence reflects the position of the bulge in the ?. When scanning an 7712 inverted interrobang left-to-right, you see the bulge first, so the 7713 compose sequence ?! is used; upright interrobang shows the bulge 7714 last, so it's !?. 7715 7716 This is a change in behaviour, but I was unable to come up with anything 7717 better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 7718 would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 7719 Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 7720 ~!? and ~?! were considered but are arguably less intuitive. 7721 7722 Reviewed-by: James Cloos <cloos@jhcloos.com> 7723 Signed-off-by: Adam Jackson <ajax@redhat.com> 7724 7725commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 7726Author: Gaetan Nadon <memsize@videotron.ca> 7727Date: Wed Jul 28 10:27:39 2010 -0400 7728 7729 specs: move indexterm from glossdef to glossterm 7730 7731 This move fixes a Java class cast exception in the glossary. 7732 The problem was introduced in commit 7733 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 7734 7735 It may not happen on all versions of the doc toolchain. 7736 There is no reason why indexterm cannot appear in glossdef, 7737 this is a workaround to an implementation problem found by 7738 trial and error. 7739 7740 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7741 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7742 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7743 7744commit 87a108f3aa565aa803dacb3a53b811f45025b609 7745Author: Matt Dew <matt@osource.org> 7746Date: Sat Jul 24 14:46:57 2010 -0400 7747 7748 specs: replace troff source with docbook-xml source 7749 7750 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7751 7752commit 8e603413586ff42b1351688f6f99318cbe243bca 7753Author: Julien Cristau <jcristau@debian.org> 7754Date: Sat Jul 24 22:13:07 2010 +0200 7755 7756 Compose.man: default user compose file is .XCompose, not .Xcompose 7757 7758 The path was correct in the DESCRIPTION section, but not in FILES. 7759 7760 Signed-off-by: Julien Cristau <jcristau@debian.org> 7761 7762commit 554da76ece85d0fc0cada45a86860e69c2107e9a 7763Author: Daniel Stone <daniel@fooishbar.org> 7764Date: Tue Jul 20 12:34:48 2010 +0100 7765 7766 NLS: Add \o/ Compose sequence 7767 7768 Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 7769 to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 7770 7771 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 7772 7773commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 7774Author: Daniel Stone <daniel@fooishbar.org> 7775Date: Fri Jul 9 18:13:13 2010 +0100 7776 7777 XStringToKeysym: Cope with 0x1234cafe-style input 7778 7779 If we get input in the style of 0xdeadbeef, just return that exact 7780 keysym. Introduces a dependency on strtoul, which I'm told is OK on all 7781 the systems we care about. 7782 7783 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 7784 7785commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 7786Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7787Date: Mon Jul 19 17:58:27 2010 -0700 7788 7789 specs/libX11: Fix column count of Gravity Attributes table 7790 7791 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7792 7793commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 7794Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7795Date: Mon Jul 19 14:43:38 2010 -0700 7796 7797 specs/libX11: Convert \- to − and \^ to either   or removed 7798 7799 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7800 7801commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 7802Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7803Date: Mon Jul 19 11:28:50 2010 -0700 7804 7805 specs/libX11: Manual cleanup pass over Ch. 1 7806 7807 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7808 7809commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 7810Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7811Date: Mon Jul 19 14:51:10 2010 -0700 7812 7813 specs/libX11: make sure all files have DOCTYPEs so standard entities work 7814 7815 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7816 7817commit c944a8521f5760b485192658b921145159cdb439 7818Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7819Date: Sun Jul 18 13:12:20 2010 -0700 7820 7821 specs/libX11: Fix up list of header files in Ch.1 & add index entries 7822 7823 Combination of manual editing and automatic substitution via: 7824 7825 perl -i -p -00 -e 's{<varlistentry>(\s+)<term><X11/([^&]+)></term>(\s+)<listitem>(\s+)<para>}{<varlistentry id="Standard_Header_Files:$2">$1<term><filename class="headerfile"><X11/$2></filename></term>$3<listitem>$4<indexterm type="file"><primary><filename class="headerfile">X11/$2</filename></primary></indexterm>$4<indexterm><primary>Files</primary><secondary><X11/$2></secondary></indexterm>$4<indexterm><primary>Headers</primary><secondary><X11/$2></secondary></indexterm>$4<para>}g' CH01.xml 7826 7827 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7828 7829commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 7830Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7831Date: Sun Jul 18 12:47:27 2010 -0700 7832 7833 specs/libX11: Add indexterms for headerfiles that .hN used to provide 7834 7835 Automatic substitution performed via: 7836 perl -i -p -e 's{^<<filename class="headerfile">([^<]+)</filename>>(.*)$}{<filename class="headerfile"><$1></filename>$2\n<indexterm type="file"><primary><filename class="headerfile">$1</filename></primary></indexterm>\n<indexterm><primary>Files</primary><secondary><filename class="headerfile"><$1></filename></secondary></indexterm>\n<indexterm><primary>Headers</primary><secondary><filename class="headerfile"><$1></filename></secondary></indexterm>}' *.xml 7837 7838 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7839 7840commit d0b0d215cb85da48b323b1392149ce181e7ef5ec 7841Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7842Date: Fri Jul 16 21:15:13 2010 -0700 7843 7844 specs/libX11: convert multicolumn lists from tables to <simplelist> 7845 7846 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7847 7848commit e679f80c6210c0aefe3669f8f536353619097a4b 7849Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7850Date: Fri Jul 16 20:51:52 2010 -0700 7851 7852 specs/libX11: Tag WM_* as <property> 7853 7854 Mass substitution done by: 7855 perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 7856 7857 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7858 7859commit c7b7e59b3b22221d0be6286c540001c360308f69 7860Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7861Date: Fri Jul 16 20:41:33 2010 -0700 7862 7863 specs/libX11: Convert simpler eqn markup to docbook tags 7864 7865 Mostly "sup" to <superscript> 7866 7867 There's several more complicated equations that will probably need 7868 MathML or SVG to solve. 7869 7870 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7871 7872commit 897486c54c6a54771867d667441aaf9a4b9c35ca 7873Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7874Date: Fri Jul 16 00:50:39 2010 -0700 7875 7876 specs/libX11: App. D: convert literallayouts to synopsis or programlisting 7877 7878 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7879 7880commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 7881Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7882Date: Fri Jul 16 00:36:43 2010 -0700 7883 7884 specs/libX11: Fix section headers in Appendix D 7885 7886 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7887 7888commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 7889Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7890Date: Wed Jul 14 07:22:26 2010 -0700 7891 7892 specs/libX11: Explicitly tag document as English 7893 7894 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7895 7896commit 6783544706ff370e900c137f951e90230586d6dc 7897Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7898Date: Mon Jul 12 22:03:18 2010 -0700 7899 7900 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 7901 7902 Fixes display of a bunch of function prototypes and sample code 7903 7904 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7905 7906commit 8834cd9285e6aaf437aee56292c508d99a090fa9 7907Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7908Date: Mon Jul 12 18:37:16 2010 -0700 7909 7910 xmlrules.in: Add chunked-html rule to manually generate smaller files 7911 7912 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7913 7914commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 7915Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7916Date: Mon Jul 12 18:35:59 2010 -0700 7917 7918 specs/libX11: Convert Appendix A tables to real tables 7919 7920 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7921 7922commit 705a1257a8a47f4a1f94979aee09a837500ede7d 7923Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7924Date: Mon Jul 12 18:38:09 2010 -0700 7925 7926 specs/libX11: Fix out-of-place text in Chapter 1 7927 7928 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 7929 7930 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7931 7932commit a151346a2b7810e988f1de4b1e00b37672dc587a 7933Author: Jeremy Huddleston <jeremyhu@apple.com> 7934Date: Mon Jul 12 16:52:12 2010 -0700 7935 7936 launchd: Explicitly search /sbin 7937 7938 Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 7939 https://bugs.freedesktop.org/show_bug.cgi?id=29028 7940 7941 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7942 7943commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 7944Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7945Date: Mon Jul 12 13:38:04 2010 -0700 7946 7947 Replace untranslated .hN macros with <filename> tags to show header names 7948 7949 Translation performed by: 7950 perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 7951 {<<filename class="headerfile">$1</filename>>$2}' *.xml 7952 7953 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7954 7955commit 75480440946603b8efdbbf78b88d59c641b6d2c8 7956Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7957Date: Sat Jul 10 00:06:13 2010 -0700 7958 7959 specs/libX11: Mass substitution of <function> tags with more specific tags 7960 7961 Matched names from X headers & "nm libX11.so" output to names in spec to 7962 map to more specific tags. Tags used: 7963 7964 <code> code fragments 7965 <constant> enum values 7966 <errorname> X protocol errors 7967 <filename> filenames 7968 <function> functions 7969 <function> function-like macros (#define foo(a,b)...) 7970 <returnvalue> function return codes 7971 <structfield> struct members 7972 <structname> struct names (even when typedefed) 7973 <symbol> simple value #defines (#define NAME value) 7974 <systemitem> X protocol requests 7975 <systemitem class="event"> X protocol events 7976 <type> non-struct typedefs 7977 <varname> global variables 7978 7979 (Also fixed a couple typos detected by failures of this matching, such as 7980 XESSetPrintErrorValues -> XESetPrintErrorValues.) 7981 7982 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7983 7984commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 7985Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7986Date: Fri Jul 9 00:37:23 2010 -0700 7987 7988 specs/libX11: Glossary cross-reference links 7989 7990 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7991 7992commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 7993Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7994Date: Thu Jul 8 21:19:08 2010 -0700 7995 7996 specs/libX11: Make whitespace around <function> tags more uniform 7997 7998 Simplifies regular expressions for further mass substitutions. 7999 8000 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8001 8002commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 8003Author: Gaetan Nadon <memsize@videotron.ca> 8004Date: Fri Jul 9 20:10:37 2010 -0400 8005 8006 specs: use pattern rules rather than suffix rules 8007 8008 This allows target to rebuild when included .xml files are changed. 8009 8010 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8011 8012commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 8013Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8014Date: Thu Jul 8 20:56:41 2010 -0700 8015 8016 specs/libX11: Move punctuation outside of the <function> tags 8017 8018 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8019 8020commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 8021Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8022Date: Thu Jul 8 20:42:50 2010 -0700 8023 8024 specs/libX11: Mark a number of <acronym>s 8025 8026 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8027 8028commit d5bbb12f55ac9f691eab6242cedc53207275131b 8029Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8030Date: Thu Jul 8 19:31:36 2010 -0700 8031 8032 specs/libX11: Glossary terms should not be marked as functions 8033 8034 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8035 8036commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 8037Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8038Date: Thu Jul 8 19:28:18 2010 -0700 8039 8040 specs/libX11: Clean up author list & acknowledgements a little 8041 8042 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8043 8044commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 8045Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8046Date: Thu Jul 8 17:30:34 2010 -0700 8047 8048 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 8049 8050 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8051 8052commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 8053Author: Gaetan Nadon <memsize@videotron.ca> 8054Date: Thu Jul 8 17:29:21 2010 -0400 8055 8056 specs: specdir is required to install xml files 8057 8058 The source is installed as well as the targets. 8059 This failed when configuring with --without-xmlto 8060 8061 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8062 8063commit e14273f44c1501ab51db4adcb83b18a1073787d8 8064Author: Matt Dew <matt@osource.org> 8065Date: Thu Jul 8 14:42:32 2010 -0400 8066 8067 specs: replace troff source with docbook-xml source 8068 8069 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8070 8071commit bea0873caf50e9ed1b89255775d9ab912cbecd45 8072Author: Daniel Stone <daniel@fooishbar.org> 8073Date: Thu Jul 8 16:49:51 2010 +0100 8074 8075 XStringToKeysym: Check strdup() return value 8076 8077 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8078 Reviewed-by: Keith Packard <keithp@keithp.com> 8079 8080commit cffa71b4a5743e2b6675b9a917d15aef4177d513 8081Author: Marko Myllynen <myllynen@redhat.com> 8082Date: Mon Jun 28 15:08:05 2010 +0300 8083 8084 Fix two typos in SFS 5966 Annex 3 8085 8086 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 8087 8088 Signed-off-by: Julien Cristau <jcristau@debian.org> 8089 8090commit eb023c0f8919e809b8b609e1467b14d20a290aa7 8091Author: Daniel Stone <daniel@fooishbar.org> 8092Date: Tue Jun 15 18:49:43 2010 +0100 8093 8094 Delete now-redundant XKeysymDB 8095 8096 Since XStringToKeysym now supports all the vendor keysyms, just delete 8097 our XKeysymDB, which was incomplete at best, misleading at worst, and 8098 always an annoyance. 8099 8100 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8101 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8102 8103commit 00175397480b76d32bf82b0c7c94c91a2a95954e 8104Author: Daniel Stone <daniel@fooishbar.org> 8105Date: Tue Jun 15 18:48:48 2010 +0100 8106 8107 makekeys: Scan vendor keysyms as well as core 8108 8109 Since we can't really live without vendor keysyms, scan them all in to 8110 generate ks_tables.h, rather than only doing the core ones, and leaving 8111 the vendor syms to be manually synchronised with XKeysymDB. 8112 8113 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8114 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8115 8116commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 8117Author: Daniel Stone <daniel@fooishbar.org> 8118Date: Tue Jun 15 18:47:37 2010 +0100 8119 8120 XStringToKeysym: Special case for XF86 keysyms 8121 8122 Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 8123 XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 8124 found our XF86_foo, try it again as XF86foo. 8125 8126 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8127 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8128 8129commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 8130Author: Daniel Stone <daniel@fooishbar.org> 8131Date: Tue Jun 15 17:20:48 2010 +0100 8132 8133 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 8134 8135 AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 8136 namespace, so start using the more proper AX_DEFINE_DIR instead. 8137 8138 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8139 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8140 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8141 8142commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 8143Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 8144Date: Thu Jul 1 06:50:47 2010 -0300 8145 8146 Purge macros NEED_EVENTS and NEED_REPLIES 8147 8148 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 8149 Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 8150 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8151 8152commit 0b724231be17f19538ee115a03b82b221b1f83c0 8153Author: Adam Jackson <ajax@redhat.com> 8154Date: Wed Jun 30 16:30:49 2010 -0400 8155 8156 Use -version-number consistently instead of -version-info 8157 8158 The latter is libtool braindamage. 8159 8160 Signed-off-by: Adam Jackson <ajax@redhat.com> 8161 8162commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 8163Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 8164Date: Tue Jun 29 18:32:42 2010 +0200 8165 8166 Make Compose-comma map to ogonek for I and U in UTF-8 locales. 8167 8168 With the preceding patch, it makes the UTF-8 compose map consistent with 8169 the ISO 8859-4 and -13 maps. 8170 8171commit af55e582f485a668c2bf43129be972bc65f03c60 8172Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 8173Date: Tue Jun 29 18:20:18 2010 +0200 8174 8175 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 8176 8177 This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 8178 as far as Polish is concerned. We only sacrifice one pair of characters, 8179 e-cedilla, which is not used in any language. 8180 8181commit d6ba13009fc9ef876a104b907ffef73c6e405d4b 8182Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8183Date: Thu Jun 24 13:13:11 2010 -0700 8184 8185 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 8186 8187 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8188 8189commit 978c7238789037de917b9423ea9adfb006da1260 8190Author: Jamey Sharp <jamey@minilop.net> 8191Date: Sat Jun 19 10:44:55 2010 -0700 8192 8193 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 8194 8195 Don't lose async replies. That's bad. 8196 8197 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 8198 _XReply path worked; that path waited for replies, rather than polling. 8199 8200 However, XRecordProcessReplies, which does nothing but call XPending, 8201 relied on the event-handling path to process async replies, and that was 8202 busted. 8203 8204 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 8205 8206 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8207 8208commit ef67486c5a8aada24fd95b2991a3c4979f53805f 8209Author: Jamey Sharp <jamey@minilop.net> 8210Date: Mon Jun 21 13:34:15 2010 -0700 8211 8212 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 8213 8214 This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 8215 a matter of fact, if poll_for_response returns NULL when we know 8216 dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 8217 request. 8218 8219commit 301ec5b41e9d253a446db656e1789ac7345dc433 8220Author: Jamey Sharp <jamey@minilop.net> 8221Date: Mon Jun 21 13:24:24 2010 -0700 8222 8223 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 8224 8225 This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 8226 need to check poll_for_event every time through the loop in 8227 poll_for_response, so the commit did too much. 8228 8229commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 8230Author: Jamey Sharp <jamey@minilop.net> 8231Date: Mon Jun 21 10:54:02 2010 -0700 8232 8233 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 8234 8235 Fixes the second bug reported in: 8236 https://bugs.freedesktop.org/show_bug.cgi?id=28595 8237 8238 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8239 8240commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 8241Author: Jamey Sharp <jamey@minilop.net> 8242Date: Sat Jun 19 10:44:55 2010 -0700 8243 8244 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 8245 8246 Don't lose async replies. That's bad. 8247 8248 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 8249 _XReply path worked; that path waited for replies, rather than polling. 8250 8251 However, XRecordProcessReplies, which does nothing but call XPending, 8252 relied on the event-handling path to process async replies, and that was 8253 busted. 8254 8255 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 8256 8257 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8258 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 8259 8260commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 8261Author: Marko Myllynen <myllynen@redhat.com> 8262Date: Sun Jun 13 19:23:05 2010 +0300 8263 8264 Implement SFS 5966 Annex 4 for Finland 8265 8266 This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 8267 Annex 3 (which were actually copied verbatim from the standard text). 8268 8269 The implementation of the standard is now complete. 8270 8271 X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 8272 8273 Signed-off-by: Julien Cristau <jcristau@debian.org> 8274 8275commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 8276Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8277Date: Fri Jun 4 13:20:17 2010 -0700 8278 8279 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 8280 8281 One of the malloc failure checks had a goto to the wrong spot in the 8282 list of cleanup free() calls to unwind at the end, and was freeing 8283 bits that hadn't been initialized/allocated yet, since they would be 8284 stored in the struct that just failed to be allocated. 8285 8286 Error: Null pointer dereference (CWE 476) 8287 Read from pointer that could be constant 'NULL' 8288 at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 8289 Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 8290 8291 [ This bug was found by the Parfait bug checking tool. 8292 For more information see http://research.sun.com/projects/parfait ] 8293 8294 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8295 8296commit aebbf3623888119b43893b253195d93b613a6e1e 8297Author: Josh Triplett <josh@joshtriplett.org> 8298Date: Sun Jun 6 19:11:55 2010 -0700 8299 8300 Mark the rest of Xprivate.h as _X_HIDDEN. 8301 8302 None of the functions in Xprivate.h should have any callers outside of 8303 Xlib, by definition. 8304 8305 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 8306 Suggested-by: Jamey Sharp <jamey@minilop.net> 8307 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8308 8309commit abcd1b67c8135ad652833e5a60d818837c39fce1 8310Author: Julien Cristau <jcristau@debian.org> 8311Date: Fri Jun 4 13:57:45 2010 +0200 8312 8313 Hide _XSeqSyncFunction 8314 8315 Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 8316 non-static, but we don't need to export it. 8317 8318 Signed-off-by: Julien Cristau <jcristau@debian.org> 8319 Reviewed-by: Adam Jackson <ajax@redhat.com> 8320 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8321 8322commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 8323Author: Josh Triplett <josh@joshtriplett.org> 8324Date: Thu Jun 3 09:41:01 2010 -0700 8325 8326 Remove support for building without XCB 8327 8328 And there was much rejoicing. 8329 8330 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 8331 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8332 8333 Consensus on #xorg-devel agrees with removing --without-xcb; in 8334 particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 8335 Julien Cristau, and Rémi Cardona. 8336 8337commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 8338Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8339Date: Thu Jun 3 15:21:40 2010 -0700 8340 8341 libX11 1.3.4 8342 8343 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8344 8345commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 8346Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8347Date: Thu Jun 3 13:08:17 2010 -0700 8348 8349 Workaround bug in groff flag processing that breaks distcheck 8350 8351 At least with the groff 1.19.2 package I have installed, groff passes 8352 on the -I flags for the include path to grohtml, which if they come 8353 after the -P-I... flag we pass to grohtml to specify the image file 8354 name pattern cause it to override that flag and put the images in 8355 the wrong place, breaking "make distcheck" - changing the flag order 8356 works around this. 8357 8358 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8359 8360commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 8361Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8362Date: Thu Jun 3 11:25:33 2010 -0700 8363 8364 Fix typo that made configure always report "none" for man page suffix 8365 8366 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8367 8368commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 8369Author: Paul Bender <pebender@gmail.com> 8370Date: Thu Jun 3 11:20:26 2010 -0700 8371 8372 Bug 22591 - configure does not obey the --enable-*-transport options 8373 8374 https://bugs.freedesktop.org/show_bug.cgi?id=22591 8375 8376 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8377 8378commit d7f35946d673bb00f2768e025b6e1017422b2174 8379Author: Paul Bender <pebender@gmail.com> 8380Date: Thu Jun 3 11:17:45 2010 -0700 8381 8382 Bug 22590 - libX11 1.2.1 has broken abstract namespace support 8383 8384 https://bugs.freedesktop.org/show_bug.cgi?id=22590 8385 8386 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8387 8388commit b2487d07f7b355f230a56e32c763acd08862735c 8389Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8390Date: Thu Jun 3 11:06:15 2010 -0700 8391 8392 Bug 22584 - libX11 does not cross compile 8393 8394 Adaptation of patch submitted by Paul Bender in attachment 27301 to 8395 https://bugs.freedesktop.org/show_bug.cgi?id=22584 8396 8397 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8398 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 8399 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 8400 8401commit 4378219ff8c1418418c70086085358b69d574e74 8402Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8403Date: Tue Jun 1 18:55:48 2010 -0700 8404 8405 Clarify requirements in XRestackWindows man page 8406 8407 The required common parent window is not specified in the arguments, 8408 just implied as the parent of the first window in the list. 8409 8410 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8411 8412commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 8413Author: Jeremy Huddleston <jeremyhu@apple.com> 8414Date: Wed May 12 16:42:18 2010 -0700 8415 8416 xcb: Add TCP fallback 8417 8418 If we fail to connect to a UNIX socket and the transport isn't specified, 8419 fallback on TCP. This matches behavior with the xtrans codepath and the 8420 Xlib spec. 8421 8422 http://lists.x.org/archives/xorg-devel/2010-April/007915.html 8423 8424 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8425 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8426 8427commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 8428Merge: aae2a4a 933aee1 8429Author: Jamey Sharp <jamey@minilop.net> 8430Date: Mon May 10 16:51:24 2010 -0700 8431 8432 Merge branch 'xlib-xcb-thread-fixes' 8433 8434commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 8435Author: Jeremy Huddleston <jeremyhu@apple.com> 8436Date: Fri Apr 23 21:50:29 2010 -0700 8437 8438 Don't append the screen number when using a launchd socket 8439 8440 ssh gets confused by this. XQuartz is the only DDX using this 8441 functionality, and it doesn't support different screens, so 8442 let's just not include this until most ssh know how to handle 8443 this. 8444 8445 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8446 8447commit adcd0ec209abf832a769d52db660fb37eaad6e0c 8448Author: Jeremy Huddleston <jeremyhu@apple.com> 8449Date: Fri Apr 23 16:33:44 2010 -0700 8450 8451 Remove launchd logic from _XConnectXCB as it's handled in XCB 8452 8453 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8454 8455commit d232b259c36fdde1f4179822809fec1480867dc5 8456Author: Jeremy Huddleston <jeremyhu@apple.com> 8457Date: Tue Feb 2 17:01:28 2010 -0800 8458 8459 Fix various build warnings 8460 8461 imLcIm.c: In function '_XimCachedFileName': 8462 imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 8463 imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 8464 8465 imRm.c: In function '_XimDefaultArea': 8466 imRm.c:597: warning: cast from pointer to integer of different size 8467 imRm.c: In function '_XimDefaultColormap': 8468 imRm.c:626: warning: cast from pointer to integer of different size 8469 8470 lcFile.c:224: warning: no previous prototype for 'xlocaledir' 8471 8472 lcUTF8.c: In function 'iconv_cstombs': 8473 lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 8474 lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 8475 lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 8476 lcUTF8.c: In function 'iconv_mbstocs': 8477 lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 8478 lcUTF8.c: In function 'iconv_mbtocs': 8479 lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 8480 lcUTF8.c: In function 'iconv_mbstostr': 8481 lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 8482 lcUTF8.c: In function 'iconv_strtombs': 8483 lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 8484 lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 8485 lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 8486 lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 8487 lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 8488 lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 8489 lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 8490 lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 8491 lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 8492 8493 XlibInt.c: In function '_XGetHostname': 8494 XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 8495 XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 8496 8497 ConnDis.c: In function '_XDisconnectDisplay': 8498 ConnDis.c:540: warning: old-style function definition 8499 ConnDis.c: In function '_XSendClientPrefix': 8500 ConnDis.c:554: warning: old-style function definition 8501 ConnDis.c: In function 'XSetAuthorization': 8502 ConnDis.c:677: warning: old-style function definition 8503 8504 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8505 8506commit 3e11c73187acb2e2be9a812840bbbea947527ccb 8507Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 8508Date: Fri Apr 23 00:01:54 2010 +0200 8509 8510 Allow X11 users to compose anarchism 8511 8512 I can easily compose the hammer and sickle (the symbol representative 8513 of communism) by pressing the key sequence: 8514 8515 <Compose> <C> <C> <C> <P> -> ☭ 8516 8517 But i can't easily make the circled A (the symbol representative of 8518 anarchism). 8519 8520 I'd like to be able to use <Compose> <O> <A> (this is a 8521 currently unused key sequence) to generate the symbol: Ⓐ 8522 8523 Debian bug#555938 <http://bugs.debian.org/555938> 8524 8525 Signed-off-by: Julien Cristau <jcristau@debian.org> 8526 8527commit 933aee1d5c53b0cc7d608011a29188b594c8d70b 8528Author: Jamey Sharp <jamey@minilop.net> 8529Date: Fri Apr 16 20:18:28 2010 -0700 8530 8531 Fix Xlib/XCB for multi-threaded applications (with caveats). 8532 8533 Rather than trying to group all response processing in one monolithic 8534 process_responses function, let _XEventsQueued, _XReadEvents, and 8535 _XReply each do their own thing with a minimum of code that can all be 8536 reasoned about independently. 8537 8538 Tested with `ico -threads 20`, which seems to be able to make many 8539 icosahedrons dance at once quite nicely now. 8540 8541 Caveats: 8542 8543 - Anything that was not thread-safe in Xlib before XCB probably still 8544 isn't. XListFontsWithInfo, for instance. 8545 8546 - If one thread is waiting for events and another thread tries to read a 8547 reply, both will hang until an event arrives. Previously, if this 8548 happened it might work sometimes, but otherwise would trigger either 8549 an assertion failure or a permanent hang. 8550 8551 - Versions of libxcb up to and including 1.6 have a bug that can cause 8552 xcb_wait_for_event or xcb_wait_for_reply to hang if they run 8553 concurrently with xcb_writev or other writers. So you'll want that fix 8554 as well. 8555 8556 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8557 Reviewed-by: Josh Triplett <josh@freedesktop.org> 8558 8559commit aab43278ae619eb57d2dd9c7396f460f078588fc 8560Author: Jamey Sharp <jamey@minilop.net> 8561Date: Fri Apr 16 22:24:16 2010 -0700 8562 8563 Use InternalLockDisplay on code paths called from LockDisplay. 8564 8565 It's easier to reason about the code when we can't re-enter the 8566 Xlib-private sync-handlers while they're already running. 8567 8568 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8569 Reviewed-by: Josh Triplett <josh@freedesktop.org> 8570 8571commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 8572Author: Jamey Sharp <jamey@minilop.net> 8573Date: Fri Apr 16 19:45:11 2010 -0700 8574 8575 Fix _XSend to enqueue the right range of pending requests. 8576 8577 _XSend was off-by-one on both ends. It should not re-enqueue the last 8578 request that was already flushed, but it should enqueue the last request 8579 currently being flushed. 8580 8581 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8582 Reviewed-by: Josh Triplett <josh@freedesktop.org> 8583 8584commit f2735889908d6e5a7f8dbee42f00c54a52665191 8585Author: Jamey Sharp <jamey@minilop.net> 8586Date: Fri Apr 16 19:45:11 2010 -0700 8587 8588 Pending requests are always added in-order. 8589 8590 Replace insert_pending_request, which did an in-order search of the 8591 queue to find the right insertion point, with a simpler 8592 append_pending_request, and use that in _XSend as well. 8593 8594 Includes assertions to check that the list of pending requests is in 8595 order by sequence number and does not have duplicates. 8596 8597 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8598 Reviewed-by: Josh Triplett <josh@freedesktop.org> 8599 8600commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 8601Author: Markus Duft <markus.duft@salomon.at> 8602Date: Fri Apr 16 08:39:34 2010 -0700 8603 8604 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 8605 8606 https://bugs.freedesktop.org/show_bug.cgi?id=26839 8607 8608 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8609 8610commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 8611Author: Josh Triplett <josh@freedesktop.org> 8612Date: Thu Apr 15 14:24:21 2010 -0700 8613 8614 Stop returning an int from _XIDHandler and _XSeqSyncFunction 8615 8616 _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 8617 thus had to return an int. Now, they only run from _XPrivSyncHandler or 8618 LockDisplay, neither of which needs to check their return value since they 8619 always returned 0. Make them both void. 8620 8621 Signed-off-by: Josh Triplett <josh@freedesktop.org> 8622 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8623 8624commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 8625Author: Jamey Sharp <jamey@minilop.net> 8626Date: Thu Apr 15 13:05:08 2010 -0700 8627 8628 Move XID and sync handling from SyncHandle to LockDisplay to fix races. 8629 8630 XID and sync handling happened via _XPrivSyncHandler, assigned to 8631 dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 8632 without the Display lock, so manipulating the Display caused races, and 8633 these races led to assertions in multithreaded code (demonstrated via 8634 ico). 8635 8636 In the XTHREADS case, after you've called XInitThreads, we can hook 8637 LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 8638 _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 8639 that we hold the lock, and thus we can avoid races. We think it makes 8640 sense to do these both from LockDisplay rather than UnlockDisplay, so 8641 that you know you have valid sync and a valid XID before you start 8642 setting up the request you locked to prepare. 8643 8644 In the !XTHREADS case, or if you haven't called XInitThreads, you don't 8645 get to use Xlib from multiple threads, so we can use the logic we have 8646 now (with synchandler and savedsynchandler) without any concern about 8647 races. 8648 8649 This approach gets a bit exciting when the XID and sequence sync 8650 handlers drop and re-acquire the Display lock. Reacquisition will re-run 8651 the handlers, but they return immediately unless they have work to do, 8652 so they can't recurse more than once. In the worst case, if both of 8653 them have work to do, we can nest the Display lock three deep. In the 8654 case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 8655 takes the socket back if it needs to request more XIDs, and taking the 8656 socket back will reacquire the lock; we take care to avoid letting 8657 _XIDHandler run again and re-enter XCB from the return_socket callback 8658 (which causes Very Bad Things, and is Not Allowed). 8659 8660 Tested with ico (with 1 and 20 threads), and with several test programs 8661 for XID and sequence sync. Tested with and without XInitThreads(), and 8662 with and without XCB. 8663 8664 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 8665 8666 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8667 Signed-off-by: Josh Triplett <josh@freedesktop.org> 8668 8669commit b089b53b697c2851db2985d32af3b29f1da5e31e 8670Author: Jamey Sharp <jamey@minilop.net> 8671Date: Wed Apr 14 12:59:11 2010 -0700 8672 8673 Honest. Extensions get to filter async errors too. 8674 8675 Under some circumstances, errors are picked up by calling 8676 xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 8677 the requests with the XCB_REQUEST_CHECKED flag. That happens when either 8678 an async handler is queued at the time the requests are flushed, or when 8679 XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 8680 event queue. 8681 8682 This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 8683 those cases. 8684 8685 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 8686 8687 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8688 8689commit a15c31274650e391bc6de5d0951eb4464c228139 8690Author: Jamey Sharp <jamey@minilop.net> 8691Date: Wed Apr 14 12:10:34 2010 -0700 8692 8693 _XError already runs async handlers; only call them directly for replies. 8694 8695 The previous behavior probably would have triggered bug reports someday. 8696 8697 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8698 8699commit 405132dab64bf2375f8e57d02b1b53da2311933a 8700Author: Jamey Sharp <jamey@minilop.net> 8701Date: Tue Apr 13 12:12:36 2010 -0700 8702 8703 Extensions get to filter async errors too. 8704 8705 Apparently I misread XlibInt.c:_XReply and thought that handlers set 8706 with XESetError should be consulted only for the sequence number that 8707 _XReply is currently looking for. In fact, the error handlers are also 8708 consulted when an error arrives for a request that was not expected to 8709 have a reply. 8710 8711 However, in an odd twist, the error handlers are *not* consulted outside 8712 of _XReply--that is, when looking for events, or waiting to be able to 8713 flush the output queue. So this patch takes some small pains to preserve 8714 that behavior, though it seems likely to have been unintentional. 8715 8716 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 8717 8718 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8719 8720commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 8721Author: Jamey Sharp <jamey@minilop.net> 8722Date: Tue Apr 13 12:49:59 2010 -0700 8723 8724 Prefer the xcb_generic_error_t we already have over casting to xEvent. 8725 8726 Just a minor cleanup. 8727 8728 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8729 8730commit 75ea8c37935ccc911557d16a303ba595b8ab106b 8731Author: Jamey Sharp <jamey@minilop.net> 8732Date: Mon Apr 12 11:30:20 2010 -0700 8733 8734 Run the user's synchandler as well as any internal synchandlers. 8735 8736 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 8737 8738 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8739 8740commit c3f3e4a9e531d010312c97e753d6e543e607094d 8741Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 8742Date: Fri Feb 12 17:16:10 2010 +0900 8743 8744 Fix manual typos. 8745 8746 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 8747 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8748 8749commit 75c6c5595408caba9ef8233839d77021d02f86f2 8750Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 8751Date: Fri Feb 5 20:42:46 2010 +0100 8752 8753 man: Correct the XkbAllAccessXEventsMask mask name 8754 8755 This mask has probably been renamed but not been updated in the manuals. 8756 8757 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 8758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8759 8760commit 9262aceaff24c954cab8c252690032bc2ec25e7d 8761Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 8762Date: Fri Feb 5 20:42:45 2010 +0100 8763 8764 man: Add missing geometry component flag 8765 8766 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 8767 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8768 8769commit 50cf134465f6fd263f37acecac94518468ef1c6d 8770Author: Dirk Wallenstein <halsmit@t-online.de> 8771Date: Tue Feb 2 21:24:32 2010 +0100 8772 8773 man: Return value of XkbGetState is Status and not Bool 8774 8775 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 8776 Reviewed-by: Julien Cristau <jcristau@debian.org> 8777 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8778 8779commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 8780Author: Dirk Wallenstein <halsmit@t-online.de> 8781Date: Tue Feb 2 21:24:30 2010 +0100 8782 8783 man: Fix return value specification of XkbKeyActionEntry 8784 8785 The XkbKeyActionEntry macro expands to a pointer. 8786 8787 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 8788 Reviewed-by: Julien Cristau <jcristau@debian.org> 8789 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8790 8791commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 8792Author: Dirk Wallenstein <halsmit@t-online.de> 8793Date: Tue Feb 2 21:24:29 2010 +0100 8794 8795 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 8796 8797 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 8798 groups with 2 levels each. It wraps the index into the next group. 8799 This behavior confuses the unaware user, and therefore this will add a 8800 reference to XkbKeycodeToKeysym in the corresponding man paragraph. 8801 8802 Another bug had that issue, too. #5349 8803 8804 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 8805 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8806 8807commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 8808Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8809Date: Thu Apr 8 19:59:55 2010 -0700 8810 8811 Fix typo in new fi_FI.UTF-8 that was reported by "make check" 8812 8813 Unrecognized pattern in Compose on line #154: 8814 <dead_diaeresis> <space> " "¨" 8815 8816 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8817 8818commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 8819Author: Marko Myllynen <myllynen@redhat.com> 8820Date: Thu Apr 8 19:52:42 2010 -0700 8821 8822 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 8823 8824 I've rewritten the fi_FI.UTF-8 Compose file so that it 8825 8826 - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 8827 possible additions to en_US.UTF-8/Compose automatically included) 8828 - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 8829 definitions (thus making it safe to include en_US.UTF-8/Compose) 8830 - lists all the definitions specified in the SFS 5966 standard (thus making it 8831 easy to verify that the implementation is valid and complete) 8832 - adds a header about the file itself as required by the standard 8833 8834 The rewritten version is ~320 lines compared to over 5000 lines of the previous 8835 version. 8836 8837 https://bugs.freedesktop.org/show_bug.cgi?id=27465 8838 8839commit f6a4fd0c7615684d08e848245849dea4017a5214 8840Author: Gaetan Nadon <memsize@videotron.ca> 8841Date: Thu Apr 1 21:46:12 2010 -0400 8842 8843 config: update and relocate AC_DEFINE_DIR macro 8844 8845 Remove deprecated acinclude.m4 macro container file 8846 Use separate macro files as per autoconf recommendation 8847 Use the latest macro from GNU (ax) which replaces 8848 the non-gnu version (ac) 8849 This preserves the Autoconf macro AC namespace. 8850 8851 Also moved out of acinclude.m4 is the DOLT macro 8852 8853 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8854 8855commit 61d5231db418cec51bd718633c3bba39b18689d6 8856Author: Gaetan Nadon <memsize@videotron.ca> 8857Date: Mon Mar 29 14:53:48 2010 -0400 8858 8859 config: remove the pkgconfig pc.in file from EXTRA_DIST 8860 8861 Automake always includes it in the tarball. 8862 8863 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8864 8865commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 8866Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 8867Date: Wed Mar 17 23:53:16 2010 -0300 8868 8869 No need for req->firstKeyCode to be set twice. 8870 8871 There is no reason to set req->firstKeyCode twice when a client, wishful 8872 for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 8873 fixes the mistake by making no functional changes to libX11 whatsoever. 8874 8875 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 8876 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8877 8878commit b5797597f83ee62228abfb88f026ef92163e07a5 8879Author: Gaetan Nadon <memsize@videotron.ca> 8880Date: Tue Feb 16 10:37:21 2010 -0500 8881 8882 config: move CWARNFLAGS from configure.ac to Makefile.am 8883 8884 Compiler warning flags should be explicitly set in the makefile 8885 rather than being merged with other packages compiler flags. 8886 8887 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 8888 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8889 8890commit 052c4d7995b0e52a038933beb85cd544571c6b7e 8891Author: Gaetan Nadon <memsize@videotron.ca> 8892Date: Tue Feb 16 14:28:21 2010 -0500 8893 8894 specs: change install cmd due to automake 1.11 8895 8896 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 8897 8898 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8899 8900commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 8901Author: Gaetan Nadon <memsize@videotron.ca> 8902Date: Tue Feb 9 17:27:08 2010 -0500 8903 8904 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 8905 8906 $(MKDIR_P) is not defined in automake 1.9. 8907 8908 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8909 8910commit e66eda95b520727969d721416d4ea49b54ef2b03 8911Author: Gaetan Nadon <memsize@videotron.ca> 8912Date: Tue Feb 2 16:29:26 2010 -0500 8913 8914 specs: install html images in $docdir with html files 8915 8916 The images required by the html files have been omitted. 8917 8918 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8919 8920commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 8921Author: Gaetan Nadon <memsize@videotron.ca> 8922Date: Sun Jan 31 14:16:20 2010 -0500 8923 8924 doc: use new macros to control doc generation 8925 8926 Namely XORG_WITH_GROFF for the groff generation tool 8927 XORG_WITH_PS2PDF for the conversion of PS docs to PDF 8928 XORG_ENABLE_SPECS for the generation of specs 8929 8930 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8931 8932commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 8933Author: Gaetan Nadon <memsize@videotron.ca> 8934Date: Tue Jan 26 19:41:08 2010 -0500 8935 8936 doc: clean-up generated html images 8937 8938 Generate images in /images as is the convention 8939 Provide a base file name for images rather than process ID 8940 Remove images directory when running make clean 8941 8942 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8943 8944commit eb289b34bfc9978eef724e0f268975938334c06c 8945Author: Kristian Høgsberg <krh@bitplanet.net> 8946Date: Thu Jan 21 13:39:17 2010 -0500 8947 8948 XErrorDB: Add new DRI2 request names 8949 8950commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 8951Author: Julien Cristau <jcristau@debian.org> 8952Date: Sat Jan 16 22:47:03 2010 +0000 8953 8954 man: Fix typo in Makefile 8955 8956 Missing line continuation was preventing the XCompose alias from being 8957 generated. 8958 8959 Signed-off-by: Julien Cristau <jcristau@debian.org> 8960 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 8961 8962commit 68530599e61cf9fef3fcc91650e7cef21837fce7 8963Author: Alan Coopersmith <alan.coopersmith@sun.com> 8964Date: Sat Jan 16 11:41:32 2010 -0800 8965 8966 libX11 1.3.3 8967 8968 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 8969 8970commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 8971Author: Alan Coopersmith <alan.coopersmith@sun.com> 8972Date: Thu Jan 14 18:33:39 2010 -0800 8973 8974 Update COPYING file with actual licenses from libX11 code & docs 8975 8976 COPYING was previously a years out-of-date copy of the LICENSES 8977 doc summarizing all licenses for all XFree86 components, many of 8978 which did not apply to libX11. 8979 8980 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 8981 8982commit ddb1786720d6136b1b28be599c75c10ad1b76a2a 8983Author: Alan Coopersmith <alan.coopersmith@sun.com> 8984Date: Thu Jan 14 17:38:26 2010 -0800 8985 8986 Purge CVS/RCS id tags 8987 8988 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 8989 8990commit c1db9ddcfa7091f173478dca45bf720badedfca4 8991Author: Alan Coopersmith <alan.coopersmith@sun.com> 8992Date: Thu Jan 14 15:39:14 2010 -0800 8993 8994 Update Sun license notices to current X.Org standard form 8995 8996 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 8997 8998commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 8999Author: Alan Coopersmith <alan.coopersmith@sun.com> 9000Date: Thu Jan 14 08:28:22 2010 -0800 9001 9002 Add %S substitutions to Compose man page 9003 9004 Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 9005 in Compose file include statements - this documents it in the Compose 9006 file man page. 9007 9008 Also changes the existing substitution documentation to list format 9009 instead of a paragraph format to allow easier adding of %S. 9010 9011 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9012 9013commit 94b45db93058cffa25598fe27dd3e385ace9d305 9014Author: Richard Purdie <rpurdie@linux.intel.com> 9015Date: Thu Jan 14 08:04:28 2010 -0800 9016 9017 Fix configure.ac PKG_ macro calls 9018 9019 If the first call to PKG_CHECK_MODULES() may not be called during execution 9020 which is the case here since its inside a case statement, call 9021 PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 9022 9023 Fixes a configure failure introduced by commit 9024 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 9025 9026 http://bugs.freedesktop.org/show_bug.cgi?id=26041 9027 9028 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 9029 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9030 9031commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 9032Author: Alan Coopersmith <alan.coopersmith@sun.com> 9033Date: Tue Jan 12 09:18:15 2010 -0800 9034 9035 Raise xorg-macros requirement to 1.4 9036 9037 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 9038 depend on the INSTALL file delivered in xorg-macros 1.4 9039 9040 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9041 9042commit 9df349a7894725f9469b106af645f57f7f3f9af3 9043Author: James Cloos <cloos@jhcloos.com> 9044Date: Wed Jan 13 11:04:38 2010 -0500 9045 9046 Allow inclusion of system level compose files. 9047 9048 With the release of XFree86 4.4 an inclusion system of compose files was 9049 added to Xlib to allow inclusion of the default compose file (with %L), 9050 any compose files from user’s home directory (with %H), or a compose 9051 file with a hard coded path¹. However, even today including system level 9052 compose files is not possible in a platform independent manner although 9053 the machinery for including compose files and overriding previously 9054 defined compositions is already in place. 9055 9056 With the ability to include system level compose files one could greatly 9057 reduce the need for compose file rule duplication and the work needed to 9058 propagate changes in one compose file to others. For example, currently 9059 the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 9060 is almost identical with en_US.UTF-8 except for perhaps half a dozen 9061 compositions. 9062 9063 This commit allows one to include system level compose files with the 9064 following kind of syntax: 9065 9066 include "%S/en_US.UTF-8/Compose" 9067 9068 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 9069 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 9070 9071 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 9072 Signed-off-by: James Cloos <cloos@jhcloos.com> 9073 9074commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 9075Author: Thien-Thi Nguyen <ttn@gnuvola.org> 9076Date: Tue Dec 1 10:31:47 2009 +0100 9077 9078 libX11: Fix comment: Invert polarity (direction) of reformat description. 9079 9080 Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 9081 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9082 9083commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 9084Author: Osamu Sayama <osamu.sayama@sun.com> 9085Date: Tue Jan 5 17:26:40 2010 -0800 9086 9087 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 9088 9089 - In set_fontset_extents, check font_data is not NULL before running 9090 loop that may increment it to a non-NULL invalid pointer. 9091 - Make sure get_rotate_fontname counts the final field 9092 9093 Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 9094 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 9095 9096 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9097 Reviewed-by: Adam Jackson <ajax@redhat.com> 9098 9099commit 87529c039050ce3336ff9ce00f1b5a21d15690da 9100Author: Alan Coopersmith <alan.coopersmith@sun.com> 9101Date: Tue Jan 5 18:02:37 2010 -0800 9102 9103 Merge X11, XKBPROTO, & XPROTO pkg-config lists 9104 9105 Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 9106 in configure.ac anyway, might as well combine the lists passed to 9107 PKG_CHECK_MODULES to reduce duplication in the flags. 9108 9109 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9110 Reviewed-by: Rémi Cardona <remi@gentoo.org> 9111 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 9112 9113commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 9114Author: Alan Coopersmith <alan.coopersmith@sun.com> 9115Date: Tue Jan 5 17:56:58 2010 -0800 9116 9117 Add XCompose man page shadow for Compose man page 9118 9119 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9120 9121commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 9122Author: Alan Coopersmith <alan.coopersmith@sun.com> 9123Date: Tue Jan 5 17:47:44 2010 -0800 9124 9125 Add $(AM_V_GEN) to silence lint rules too 9126 9127 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9128 9129commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 9130Author: Alan Coopersmith <alan.coopersmith@sun.com> 9131Date: Tue Jan 5 17:42:42 2010 -0800 9132 9133 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 9134 9135 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9136 9137commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 9138Author: Gaetan Nadon <memsize@videotron.ca> 9139Date: Sun Nov 29 10:44:24 2009 -0500 9140 9141 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 9142 9143 It must be following AC_USE_SYSTEM_EXTENSION 9144 9145commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 9146Author: Gaetan Nadon <memsize@videotron.ca> 9147Date: Sun Nov 29 10:01:44 2009 -0500 9148 9149 Add .gitignore in /specs for generated files 9150 9151 Being in /specs, it will apply for all 3 subdirs 9152 9153commit f45d39d37aab04742e44cd8c3c993aad7587e40c 9154Author: Gaetan Nadon <memsize@videotron.ca> 9155Date: Fri Nov 27 20:56:03 2009 -0500 9156 9157 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 9158 9159 Now that the INSTALL file is generated. 9160 Allows running make maintainer-clean. 9161 9162commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 9163Author: Gaetan Nadon <memsize@videotron.ca> 9164Date: Wed Oct 28 14:09:10 2009 -0400 9165 9166 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 9167 9168 Add missing INSTALL file. Use standard GNU file on building tarball 9169 README may have been updated 9170 Remove AUTHORS file as it is empty and no content available yet. 9171 Remove NEWS file as it is empty and no content available yet. 9172 9173commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 9174Author: Gaetan Nadon <memsize@videotron.ca> 9175Date: Tue Oct 27 15:07:25 2009 -0400 9176 9177 Deploy the new XORG_DEFAULT_OPTIONS #24242 9178 9179 This macro aggregate a number of existing macros that sets commmon 9180 X.Org components configuration options. It shields the configuration file from 9181 future changes. 9182 9183commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 9184Author: Gaetan Nadon <memsize@videotron.ca> 9185Date: Mon Oct 26 22:08:42 2009 -0400 9186 9187 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 9188 9189 ChangeLog filename is known to Automake and requires no further 9190 coding in the makefile. 9191 9192commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 9193Author: Gaetan Nadon <memsize@videotron.ca> 9194Date: Thu Oct 22 12:34:19 2009 -0400 9195 9196 .gitignore: use common defaults with custom section # 24239 9197 9198 Using common defaults will reduce errors and maintenance. 9199 Only the very small or inexistent custom section need periodic maintenance 9200 when the structure of the component changes. Do not edit defaults. 9201 9202commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 9203Author: Alan Coopersmith <alan.coopersmith@sun.com> 9204Date: Thu Nov 12 23:05:40 2009 -0800 9205 9206 Add compose-check.pl to EXTRA_DIST 9207 9208 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9209 9210commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 9211Author: Julien Cristau <jcristau@debian.org> 9212Date: Thu Oct 29 17:17:24 2009 +0100 9213 9214 man: fix XCopyGC argument order 9215 9216 Ubuntu bug#408337 9217 9218commit aad10032651cdc2a53b359035954454a28d6db67 9219Author: Alan Coopersmith <alan.coopersmith@sun.com> 9220Date: Fri Oct 23 13:55:14 2009 -0700 9221 9222 libX11 1.3.2 9223 9224 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9225 9226commit 6303ada89cb228c0f9656036f798703afb42fc29 9227Author: Peter Hutterer <peter.hutterer@who-t.net> 9228Date: Wed Oct 21 12:42:07 2009 +1000 9229 9230 Add smiley faces to compose sequences. 9231 9232 I wonder how we could have lasted that long without them. 9233 9234 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9235 Acked-by: Daniel Stone <daniel@fooishbar.org> 9236 Acked-By: James Cloos <cloos@jhcloos.com> 9237 9238commit 0e104ebd8628803c27e36b16922ad1edd891325a 9239Author: Alan Coopersmith <alan.coopersmith@sun.com> 9240Date: Thu Oct 22 23:12:30 2009 -0700 9241 9242 Add man page for Compose file format 9243 9244 Based on grammar description in modules/im/ximcp/imLcPrs.c and 9245 note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 9246 9247 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9248 9249commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 9250Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 9251Date: Tue Oct 20 12:46:03 2009 -0700 9252 9253 Add extra configuration and sanity checks for groff and ps2pdf 9254 9255 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 9256 environment variables. 9257 2) Check that groff -ms works 9258 9259 Some distributions ship the ms macros as a separate package which may 9260 not be installed together with groff, so we need to make sure that groff 9261 works and the required macros are actually installed before attempting 9262 to build the specs. 9263 9264 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 9265 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 9266 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9267 9268commit d3f801fd2f9198eaad6797414dba652f9c006c6d 9269Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9270Date: Sun Oct 18 17:34:53 2009 -0500 9271 9272 Fix VPATH build of libX11 specs 9273 9274 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9275 9276commit ad15e1a89d30ccc11d80745897b83def1448e8c0 9277Author: Alan Coopersmith <alan.coopersmith@sun.com> 9278Date: Sat Oct 17 16:14:34 2009 -0700 9279 9280 libX11 1.3.1 9281 9282 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9283 9284commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 9285Author: Alan Coopersmith <alan.coopersmith@sun.com> 9286Date: Sat Oct 17 16:28:25 2009 -0700 9287 9288 Fix make distcheck 9289 9290 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9291 9292commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 9293Author: Alan Coopersmith <alan.coopersmith@sun.com> 9294Date: Fri Oct 16 19:25:35 2009 -0700 9295 9296 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 9297 9298 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9299 9300commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 9301Author: Alan Coopersmith <alan.coopersmith@sun.com> 9302Date: Wed Oct 14 16:18:24 2009 -0700 9303 9304 Move libX11 & XIM/locale specs from xorg-docs 9305 9306 If groff is found, and --disable-specs is not passed to configure, 9307 specs will be converted to text, html and ps (or pdf if ps2pdf is 9308 found) and installed to $(docdir) 9309 9310 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9311 9312commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 9313Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9314Date: Tue Oct 13 19:15:51 2009 -0500 9315 9316 Provide _Xsetlocale compat wrappers on Cygwin 9317 9318 Previous versions of Cygwin did not have proper locale support, so Cygwin/X 9319 defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 9320 support, but we can't remove the _Xsetlocale entry point without breaking 9321 ABI. 9322 9323 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9324 9325commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 9326Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9327Date: Tue Oct 13 19:15:49 2009 -0500 9328 9329 dolt: add Cygwin to supported platforms 9330 9331 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9332 9333commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 9334Author: Alan Coopersmith <alan.coopersmith@sun.com> 9335Date: Wed Oct 14 13:23:30 2009 -0700 9336 9337 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 9338 9339 Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 9340 9341 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9342 9343commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 9344Author: Jon TURNEY <jon.turney@dronecode.org.uk> 9345Date: Tue Feb 10 17:47:25 2009 +0000 9346 9347 Include sys/select.h for select() and struct timeval, if it exists 9348 9349 This is a cygwin build fix 9350 9351commit 383165916ddac91740d4c780174d4c0d07cdb994 9352Author: Xake <xake@rymdraket.net> 9353Date: Sun Sep 27 11:16:36 2009 +0200 9354 9355 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 9356 9357 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9358 9359commit 854269d55cdda8caf425515bfed2855e211a5ada 9360Author: Julien Cristau <jcristau@debian.org> 9361Date: Tue Oct 6 16:11:24 2009 +0200 9362 9363 configure: quote argument to m4_pattern_forbid 9364 9365 Without this, configure spits out 9366 ../configure: line 12364: ac_fn_c_check_member: command not found 9367 ../configure: line 12378: ac_fn_c_check_type: command not found 9368 9369 Also anchor the pattern to make it stricter. 9370 9371 Signed-off-by: Julien Cristau <jcristau@debian.org> 9372 9373commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 9374Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 9375Date: Thu Oct 1 22:20:38 2009 -0700 9376 9377 Split CFLAGS into CPPFLAGS and CFLAGS 9378 9379 On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 9380 X11 headers are in /some/prefix/include, they will be preferred over the 9381 shipped headers. This corrects that problem. 9382 9383commit d54caf1c9c55af8247621b7ba6afb20b23699839 9384Author: Peter Hutterer <peter.hutterer@who-t.net> 9385Date: Fri Oct 2 10:59:08 2009 +1000 9386 9387 libX11 1.3 9388 9389 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9390 9391commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 9392Author: Peter Hutterer <peter.hutterer@who-t.net> 9393Date: Fri Oct 2 12:10:29 2009 +1000 9394 9395 nls: remove duplicate Compose sequences from pt_BR.UTF-8 9396 9397 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9398 9399commit a293ae9e83739067fc92db1a39c262857bc2283e 9400Author: Peter Hutterer <peter.hutterer@who-t.net> 9401Date: Fri Sep 25 11:19:41 2009 +1000 9402 9403 Add XF86TouchpadToggle to XKeysymDB 9404 9405 Lenovo laptops provide a key to enable or disable the touchpad and the 9406 trackstick. This key is usually located on Fn + F8. 9407 9408 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9409 Acked-by: Adam Jackson <ajax@redhat.com> 9410 9411commit 69839f8903a24eab08f17a781b3797fb64dce9cf 9412Author: Alan Coopersmith <alan.coopersmith@sun.com> 9413Date: Sun Sep 27 10:34:16 2009 -0700 9414 9415 Bug 24173: libX11 from git fails to build with automake older then 1.11 9416 9417 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 9418 Makefiles, instead of after. 9419 <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 9420 9421 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9422 9423commit f5effd041f58ef07703cca2b4f396758811e1eec 9424Author: Alan Coopersmith <alan.coopersmith@sun.com> 9425Date: Wed Apr 15 10:59:23 2009 -0700 9426 9427 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 9428 9429 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9430 9431commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 9432Author: Alan Coopersmith <alan.coopersmith@sun.com> 9433Date: Wed Apr 15 10:56:09 2009 -0700 9434 9435 Add perl script to check for duplicate or conflicting compose file entries 9436 9437 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9438 9439commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 9440Author: Alan Coopersmith <alan.coopersmith@sun.com> 9441Date: Fri Sep 18 17:10:04 2009 -0700 9442 9443 Use make rules instead of shell for loops to generate shadow man pages 9444 9445 Allows parallel make and simpler build logs/error reporting 9446 9447 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9448 9449commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 9450Author: Alan Coopersmith <alan.coopersmith@sun.com> 9451Date: Fri Sep 18 16:58:53 2009 -0700 9452 9453 Add AM_SILENT_RULES support for cpp rules for man & nls files 9454 9455 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9456 9457commit bfa19cddd8546b4930a773f3bbd81137c362d82b 9458Author: Alan Coopersmith <alan.coopersmith@sun.com> 9459Date: Fri Sep 18 16:58:16 2009 -0700 9460 9461 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 9462 9463 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9464 9465commit 51396066c8003a96a6399c9a4bed2a81e512b582 9466Author: Mikko Niskanen <mikko.niskanen@iki.fi> 9467Date: Fri Sep 4 10:11:15 2009 +1000 9468 9469 Fix wrong typedef on HP-UX (#18998) 9470 9471 shl_dt doesn't exist, the type is shl_t. 9472 9473 X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 9474 9475 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9476 9477commit 615220a312b9430a580fe6dcf51703c6ef244f66 9478Author: Paul Bender <pebender@gmail.com> 9479Date: Fri Sep 4 09:57:10 2009 +1000 9480 9481 Don't require xdmcp in configure.ac (#22583) 9482 9483 X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 9484 9485 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9486 9487commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 9488Author: Peter Hutterer <peter.hutterer@who-t.net> 9489Date: Thu Sep 3 14:02:44 2009 +1000 9490 9491 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 9492 9493 X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 9494 9495 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9496 9497commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 9498Author: Peter Hutterer <peter.hutterer@who-t.net> 9499Date: Thu Sep 3 12:05:25 2009 +1000 9500 9501 man: XQueryTree may return BadWindow. (#23416) 9502 9503 X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 9504 9505 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9506 9507commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 9508Author: Alan Coopersmith <alan.coopersmith@sun.com> 9509Date: Fri Aug 28 23:07:58 2009 +0800 9510 9511 Fix version tag in .TH line of several XKB man pages 9512 9513 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9514 9515commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 9516Author: Alan Coopersmith <alan.coopersmith@sun.com> 9517Date: Fri Aug 28 23:04:38 2009 +0800 9518 9519 XkbSetDeviceButtonActions.man: remove non-existent actions argument 9520 9521 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9522 9523commit 53affa9335116f2d367f041e6502a411d4619e47 9524Author: Alan Coopersmith <alan.coopersmith@sun.com> 9525Date: Fri Aug 28 23:00:17 2009 +0800 9526 9527 XkbQueryExtension.man: Arguments should be pointers 9528 9529 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9530 9531commit 6233948885acc5873a5abddfff235afec555f3c2 9532Author: Alan Coopersmith <alan.coopersmith@sun.com> 9533Date: Fri Aug 28 22:53:03 2009 +0800 9534 9535 XkbSAActionSetCtrls.man: Fix typo in formatting macro 9536 9537 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9538 9539commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 9540Author: Alan Coopersmith <alan.coopersmith@sun.com> 9541Date: Fri Aug 28 22:49:31 2009 +0800 9542 9543 Convert Xkb API man pages to ANSI prototypes 9544 9545 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9546 9547commit fa2eecca85baab9616f7143cc1a853a594b4a90c 9548Author: James Cloos <cloos@jhcloos.com> 9549Date: Mon Aug 24 06:35:17 2009 -0400 9550 9551 Add some (Serbian) Cyrillic NFD sequences. 9552 9553 A number of characters in use in the various countries which use the 9554 Cyrillic script do not appear as pre-composed characters in The UCS 9555 or Unicode; they are only available as combining-character sequences. 9556 9557 This commit adds support for using (prefix) dead keys and Multi_key- 9558 initiated sequences to enter a number of these combining-character 9559 sequences. This ensures that users can enter these scripts even 9560 when using the current Cyrillic keymaps, which lack support for 9561 the combining characters. 9562 9563 Please see the discussions on the xkb mailing list. 9564 9565 Signed-off-by: James Cloos <cloos@jhcloos.com> 9566 9567commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 9568Author: Julien Cristau <jcristau@debian.org> 9569Date: Wed Aug 5 18:14:23 2009 +0200 9570 9571 man/xkb: delete spurious newline in .TH headers 9572 9573commit ee723b83b24682db833a2f0abd96cd319b8a62af 9574Author: Julien Cristau <jcristau@debian.org> 9575Date: Wed Aug 5 16:45:19 2009 +0200 9576 9577 man: use __libmansuffix__ instead of 3X11 for references to other pages 9578 9579commit 595e204feb82c798a92eea41fea03be6476ac181 9580Author: Julien Cristau <jcristau@debian.org> 9581Date: Wed Aug 5 16:43:36 2009 +0200 9582 9583 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 9584 9585commit 9da7e230d5320e1556ad2084fcd06ee7994385ea 9586Author: Peter Hutterer <peter.hutterer@who-t.net> 9587Date: Wed Aug 5 14:15:02 2009 +1000 9588 9589 Bump to 1.2.99.901 (1.3 RC1) 9590 9591 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9592 9593commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 9594Author: Filippo Giunchedi <filippo@debian.org> 9595Date: Sat Jun 6 16:56:54 2009 +0200 9596 9597 nls: add {left,right}wards arrow to compose table 9598 9599 Debian bug#532117 <http://bugs.debian.org/532117> 9600 9601 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9602 9603commit 7949bfa00390241d994f32463e50d4bd78920568 9604Author: Julien Cristau <jcristau@debian.org> 9605Date: Fri Jul 31 13:33:52 2009 +0200 9606 9607 Update library version for new symbols 9608 9609 Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 9610 cookie handling. Bump libX11 version number accordingly. 9611 9612 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9613 9614commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 9615Author: Julien Cristau <jcristau@debian.org> 9616Date: Sun Aug 2 17:18:31 2009 +0200 9617 9618 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 9619 9620 X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 9621 9622 Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 9623 Signed-off-by: Julien Cristau <jcristau@debian.org> 9624 9625commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 9626Author: Peter Hutterer <peter.hutterer@who-t.net> 9627Date: Wed Jul 29 08:44:09 2009 +1000 9628 9629 Fix compiler warning 'unused variable qelt' 9630 9631 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9632 9633commit 03f4907e14f5755e72309f08742977b871e81e33 9634Author: Peter Hutterer <peter.hutterer@who-t.net> 9635Date: Wed Jul 29 08:34:57 2009 +1000 9636 9637 Add utlist.h to the Makefile.am 9638 9639 utlist.h contains the linked list macros, it was added with the recent 9640 addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 9641 result, make dist failed. 9642 9643 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9644 9645commit 554f755e5545f63d3c8f299297927238da155773 9646Author: Peter Hutterer <peter.hutterer@who-t.net> 9647Date: Fri Jun 26 11:27:43 2009 +1000 9648 9649 Add generic event cookie handling to libX11. 9650 9651 Generic events require more bytes than Xlib provides in the standard XEvent. 9652 Memory allocated by the extension and stored as pointers inside the event is 9653 prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 9654 9655 This patch adds cookie handling for generic events. Extensions may register 9656 a cookie handler in addition to the normal event vectors. If an extension 9657 has registered a cookie handler, _all_ generic events for this extensions 9658 must be handled through cookies. Otherwise, the default event handler is 9659 used. 9660 9661 The cookie handler must return an XGenericEventCookie with a pointer to the 9662 data.The rest of the event (type, serialNumber, etc.) are to be filled as 9663 normal. When a client retrieves such a cookie event, the data is stored in 9664 an internal queue (the 'cookiejar'). This data is freed on the next call to 9665 XNextEvent(). 9666 9667 New extension interfaces: 9668 XESetWireToEventCookie(display, extension_number, cookie_handler) 9669 9670 Where cookie_handler must set cookie->data. The data pointer is of arbitray 9671 size and type but must be a single memory block. This memory block 9672 represents the actual extension's event. 9673 9674 New client interfaces: 9675 XGetEventData(display, *cookie); 9676 XFreeEventData(display, *cookie); 9677 9678 If the client needs the actual event data, it must call XGetEventData() with 9679 the cookie. This returns the data pointer (and removes it from the cookie 9680 jar) and the client is then responsible for freeing the event with 9681 XFreeEventData(). It is safe to call either function with a non-cookie 9682 event. Events unclaimed or not handled by the XGetEventData() are cleaned up 9683 automatically. 9684 9685 Example client code: 9686 XEvent event; 9687 XGenericEventCookie *cookie = &ev; 9688 9689 XNextEvent(display, &event); 9690 if (XGetEventData(display, cookie)) { 9691 XIEvent *xievent = cookie->data; 9692 ... 9693 } else if (cookie->type == GenericEvent) { 9694 /* handle generic event */ 9695 } else { 9696 /* handle extension/core event */ 9697 } 9698 XFreeEventData(display, cookie); 9699 9700 Cookies are not multi-threading safe. Clients that use XGetEventData() must 9701 lock between XNextEvent and XGetEventData to avoid other threads freeing 9702 cookies. 9703 9704 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9705 9706commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 9707Author: Peter Hutterer <peter.hutterer@who-t.net> 9708Date: Mon Jul 6 13:17:35 2009 +1000 9709 9710 Bump to 1.2.99.1 9711 9712 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9713 9714commit 75fe48e7a42a685d7098e8d7108b9b956c471563 9715Author: Peter Hutterer <peter.hutterer@who-t.net> 9716Date: Fri Jul 10 14:07:34 2009 +1000 9717 9718 Bump to 1.2.2 9719 9720 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9721 9722commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 9723Author: Peter Hutterer <peter.hutterer@who-t.net> 9724Date: Thu Jul 2 09:10:25 2009 +1000 9725 9726 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 9727 9728 GenericEvent cannot be selected for in the core event masks and they must 9729 thus be treated like extension events. 9730 9731 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9732 9733commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 9734Author: Peter Hutterer <peter.hutterer@who-t.net> 9735Date: Thu Jul 2 09:06:05 2009 +1000 9736 9737 XWindowEvent/XCheckWindowEvent must not return GenericEvents. 9738 9739 GenericEvents have no fixed position for the window, so they must be treated 9740 like extension events. 9741 9742 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9743 9744commit 38f9054554d63525d2dd51aafb5eb57821158ab9 9745Author: Alan Coopersmith <alan.coopersmith@sun.com> 9746Date: Mon Jun 15 19:00:43 2009 -0700 9747 9748 Drop ancient USG SysV #ifdefs 9749 9750 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9751 9752commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 9753Author: Adam Jackson <ajax@redhat.com> 9754Date: Fri Jun 12 12:44:01 2009 -0400 9755 9756 Remove X_NOT_STDC_ENV usage. (#6527) 9757 9758commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 9759Author: Julien Cristau <jcristau@debian.org> 9760Date: Fri May 29 11:18:11 2009 +0200 9761 9762 nls: remove more duplicated aliases 9763 9764 Signed-off-by: Julien Cristau <jcristau@debian.org> 9765 9766commit e4b0899f516da224010e68bd2d953d5293d94993 9767Author: parag <parag@rawhideTM.pnq.redhat.com> 9768Date: Thu May 28 11:29:35 2009 +0530 9769 9770 nls: Add pa_PK locale information and make pa_IN as default for pa. 9771 9772 X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 9773 9774 [jcristau: removed the pa_PK.UTF-8 alias to itself] 9775 9776 Signed-off-by: parag <pnemade@redhat.com> 9777 Signed-off-by: Julien Cristau <jcristau@debian.org> 9778 9779commit f0ea1f6d51145592f8617854f9320ec5dbff3299 9780Author: Julien Cristau <jcristau@debian.org> 9781Date: Fri May 29 10:58:20 2009 +0200 9782 9783 nls: remove broken sd_IN.UTF-8 alias 9784 9785 Signed-off-by: Julien Cristau <jcristau@debian.org> 9786 9787commit e29e010dabdb17d6498f2ef1786f69b8830c18ca 9788Author: Julien Cristau <jcristau@debian.org> 9789Date: Fri May 29 10:57:43 2009 +0200 9790 9791 nls: remove duplicated en_US* aliases 9792 9793 Signed-off-by: Julien Cristau <jcristau@debian.org> 9794 9795commit a89a300d87852c84389ad97db66dcb8930cb45dd 9796Author: Caolan McNamara <caolanm@redhat.com> 9797Date: Thu May 21 18:41:05 2009 +0200 9798 9799 man: missing space in XAllocColor man page 9800 9801 X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 9802 9803commit c1c001e36504fd304f76f69bf6af3643225c49ea 9804Author: James Cloos <cloos@jhcloos.com> 9805Date: Wed May 13 13:03:54 2009 -0400 9806 9807 [nls] Replace remaining UCS Combining Characters in Compose sequences. 9808 9809 The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 9810 where the keysym is used as a dead_key, with an actual dead_key symbol. 9811 9812 The only remaining instances of UCS combining characters in the 9813 compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 9814 used as a suffix in Multi_key-initiated sequences to create 9815 mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 9816 from ∈ U+2208 ELEMENT OF. 9817 9818commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 9819Author: James Cloos <cloos@jhcloos.com> 9820Date: Wed May 13 09:58:59 2009 -0400 9821 9822 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 9823 9824 This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 9825 where the matching keysym is used as a dead_key, and for which alternative 9826 compose sequences exist. 9827 9828commit 79f47e6dff2f0a0b673bbfecc47528edca814baa 9829Author: James Cloos <cloos@jhcloos.com> 9830Date: Fri May 8 20:11:54 2009 -0400 9831 9832 [nls] Remove combining_ keysyms from the Compose files 9833 9834 Some of the UTF-8 Compose tables included combining_ keysyms in 9835 the compose sequences as though they were dead symbols. This 9836 is contrary to how combining characters are used in the UCS. 9837 Therefore, those lines have been removed from the Compose tables. 9838 9839 There were also some combining_ keysyms as targets. As those 9840 are not included in x11proto’s keysymdef.h, and as those do 9841 exist there as Uxxxx keysyms, they are replaced with the Uxxxx 9842 keysym names. 9843 9844 This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 9845 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 9846 9847 Signed-off-by: James Cloos <cloos@jhcloos.com> 9848 9849commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 9850Author: parag <pnemade@redhat.com> 9851Date: Tue May 5 16:50:47 2009 +0530 9852 9853 libX11: Add new Indic language information to nls directory files. #21560 9854 9855 Signed-off-by: parag <pnemade@redhat.com> 9856 9857commit aaf81096eb44b4c2812108721ba02738391884da 9858Author: Alan Coopersmith <alan.coopersmith@sun.com> 9859Date: Sat May 2 01:38:14 2009 -0700 9860 9861 Correct return type in XkbGetKeyboard man page 9862 9863 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9864 9865commit 2bef065b70f70af520b5de8fb23529254d15f003 9866Author: Christoph Pfister <christophpfister@gmail.com> 9867Date: Mon Apr 27 22:32:57 2009 -0700 9868 9869 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 9870 9871 http://bugs.freedesktop.org/show_bug.cgi?id=21117 9872 9873 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9874 9875commit 5c1cde105db10df24d3c532f032cbc59050c7313 9876Author: Alan Coopersmith <alan.coopersmith@sun.com> 9877Date: Fri Apr 17 22:14:47 2009 -0700 9878 9879 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 9880 9881 Raises minimum autoconf version required to 2.60 9882 9883 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9884 9885commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 9886Author: Julien Cristau <jcristau@debian.org> 9887Date: Tue Apr 14 15:59:57 2009 +0100 9888 9889 Fix fi_FI.UTF-8, again 9890 9891 Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 9892 file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 9893 This reverts it back to using the en_US.UTF-8 one. 9894 9895commit 128daff4422f973ea40dd1e31b2db230e643549e 9896Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 9897Date: Thu Apr 9 12:01:07 2009 +0700 9898 9899 Thai XIM not retrieve MB surrounding on UTF-8 LC 9900 9901 On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 9902 that use X Input Method. 9903 9904 This is because GTK+ imxim immodule passes surrounding text in locale encoding, 9905 which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 9906 multi-byte StringConversionText response for the StringConversionCallback to 9907 always be TIS-620, by retrieving a single byte and using it as-is. 9908 9909 If the Thai XIM tries to convert the multi-byte text based on locale codeset 9910 before using it, it will work again. 9911 9912 X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 9913 9914 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 9915 Signed-off-by: Julien Cristau <jcristau@debian.org> 9916 9917commit e09f0d227fbf95b6252759af9d426efd57686f9f 9918Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 9919Date: Thu Apr 9 11:47:55 2009 +0700 9920 9921 Thai XIM not filters when NumLock or CapsLock is on 9922 9923 The Thai XIM component in libx11 activated on 'th*' locales normally filters 9924 input sequence according to orthographic rules. However, when NumLock/CapsLock 9925 is on, this stops working. All sequences are passed through. 9926 9927 This is caused by missing masks in _XimThaiFilter(), which normally screens out 9928 certain special keys from entering orthographic rules. Unfortunately, this 9929 included events with NumLock/CapsLock on. Negating the masks from the check 9930 allows the events to be tested by the rules. 9931 9932 X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 9933 9934 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 9935 Signed-off-by: Julien Cristau <jcristau@debian.org> 9936 9937commit d108d3c706af3502820b5202564488ea19908b77 9938Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 9939Date: Thu Apr 9 11:25:25 2009 +0700 9940 9941 CharSet-to-CompoundText Conversion Failed for Thai Locales 9942 9943 SCIM fails to commit Thai input characters on Thai locales, because it commits 9944 string in compound text form, which was converted via 9945 XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 9946 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 9947 src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 9948 So, declaring cs1 as ISO8859-11:GR instead makes it work. 9949 9950 Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 9951 support for UTF-8 input. 9952 9953 And, along discussion in the bug, a similar problem was found for fontset, too, 9954 by causing delays on X apps startups on systems without tis620-0 fonts. This 9955 is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 9956 by default for Thai X fonts. So, Thai fontset charset is also patched. 9957 9958 X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 9959 9960 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 9961 Signed-off-by: Julien Cristau <jcristau@debian.org> 9962 9963commit fd62d3318c846cd43d66a505946e94704d7d83dc 9964Author: Alan Coopersmith <alan.coopersmith@sun.com> 9965Date: Wed Apr 8 19:42:25 2009 -0700 9966 9967 Revert "Change masculine to ordmasculine in Compose file comments" 9968 9969 This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 9970 9971 As Julien Cristau correctly points out, I misread the Compose file grammar 9972 in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 9973 the keysym is named XK_masculine in keysymdef.h. This change is thus a 9974 bug in the Solaris compose tables to be fixed, not an improvement to bring 9975 upstream. 9976 9977commit eac57c77afdf44f50692225b8b0345a7c927bc84 9978Author: Alan Coopersmith <alan.coopersmith@sun.com> 9979Date: Tue Apr 7 15:38:45 2009 -0700 9980 9981 Version bump: 1.2.1 9982 9983 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9984 9985commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 9986Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 9987Date: Tue Apr 7 13:46:57 2009 -0700 9988 9989 Bug 20773: Xcursor dynamic loading on Cygwin 9990 9991 X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 9992 Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 9993 9994 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9995 9996commit c8c41614911be4fa222fa22478677d263b41c751 9997Author: Alan Coopersmith <alan.coopersmith@sun.com> 9998Date: Mon Apr 6 16:52:46 2009 -0700 9999 10000 Fix a several sparse warnings: Using plain integer as NULL pointer 10001 10002 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10003 10004commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 10005Author: Alan Coopersmith <alan.coopersmith@sun.com> 10006Date: Mon Apr 6 16:32:05 2009 -0700 10007 10008 Further ansify prototypes & reduce #ifdefs in locking.c 10009 10010 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10011 10012commit 892b401d5acc055803a20e349ede0d64490f2230 10013Author: Alan Coopersmith <alan.coopersmith@sun.com> 10014Date: Mon Apr 6 10:50:09 2009 -0700 10015 10016 Change masculine to ordmasculine in Compose file comments 10017 10018 Matches the ordfeminine name used for the matching character, 10019 and the ordmasculine name used in many font descriptions of the glyph. 10020 10021 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10022 10023commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 10024Author: Julien Cristau <jcristau@debian.org> 10025Date: Fri Mar 13 13:52:33 2009 +0100 10026 10027 Add a ru_RU.UTF-8 locale 10028 10029 Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 10030 10031 Debian bug#330144 <http://bugs.debian.org/330144> 10032 X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 10033 10034commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 10035Author: Alan Coopersmith <alan.coopersmith@sun.com> 10036Date: Wed Mar 25 17:59:09 2009 -0700 10037 10038 Delete some unused "#ifdef notdef" static functions 10039 10040 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10041 10042commit 4281892e31058ef3aecc96a5767824b34d88d415 10043Author: Alan Coopersmith <alan.coopersmith@sun.com> 10044Date: Wed Mar 25 17:52:48 2009 -0700 10045 10046 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 10047 10048 This copy of Xrm.c is never compiled into the Xprint server any more, so 10049 this old code-sharing #ifdef from the monolith tree isn't needed. 10050 10051 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10052 10053commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 10054Author: Alan Coopersmith <alan.coopersmith@sun.com> 10055Date: Tue Mar 17 18:38:58 2009 -0700 10056 10057 makekeys: combine malloc(strlen)+strcpy into strdup 10058 10059 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10060 10061commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 10062Author: Alan Coopersmith <alan.coopersmith@sun.com> 10063Date: Tue Mar 17 15:42:19 2009 -0700 10064 10065 When makekeys fails to find a good hash, print error instead of divide-by-zero 10066 10067 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10068 10069commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 10070Author: Alan Coopersmith <alan.coopersmith@sun.com> 10071Date: Tue Mar 17 14:59:16 2009 -0700 10072 10073 Remove ifdef checks for macII left over from ancient A/UX 3.0 support 10074 10075 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10076 10077commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 10078Author: Alan Coopersmith <alan.coopersmith@sun.com> 10079Date: Mon Mar 16 18:37:49 2009 -0700 10080 10081 XErrorDB additions for DRI2 requests 10082 10083 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10084 10085commit 273f45af1441be9d2135e4cac8c46ceb33470236 10086Author: Alan Coopersmith <alan.coopersmith@sun.com> 10087Date: Mon Mar 16 18:35:44 2009 -0700 10088 10089 XErrorDB additions for XInput errors and new XInput 1.5 requests 10090 10091 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10092 10093commit 90ef36f6336068183bf9d13ca972202db35b1202 10094Author: Alan Coopersmith <alan.coopersmith@sun.com> 10095Date: Mon Mar 16 18:23:05 2009 -0700 10096 10097 XErrorDB additions for RANDR 1.3 10098 10099 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10100 10101commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 10102Author: Lubos Lunak <l.lunak@suse.cz> 10103Date: Mon Mar 16 18:03:36 2009 -0700 10104 10105 XErrorDB updates for XTEST, RANDR, DAMAGE extensions 10106 10107 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 10108 10109 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10110 10111commit 80811846e37b805fddb37c71589fd5f6f6037b3f 10112Author: Lubos Lunak <l.lunak@suse.cz> 10113Date: Mon Mar 16 17:57:52 2009 -0700 10114 10115 XGetErrorText() fails for extension error codes equal to the error base 10116 10117 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 10118 10119 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10120 10121commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 10122Author: Milos Komarcevic <miloskomarcevic@netscape.net> 10123Date: Mon Mar 16 17:43:26 2009 -0700 10124 10125 Bug 11456: Serbian locale updates (sr_RS and sr_ME) 10126 10127 X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 10128 Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 10129 10130 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10131 10132commit 934a6c0519a9e32505beee55b004f36c2a710217 10133Author: Alan Coopersmith <alan.coopersmith@sun.com> 10134Date: Mon Mar 16 14:55:22 2009 -0700 10135 10136 Bug 10082: Compose entries for some standard mathematical operators 10137 10138 X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 10139 10140 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10141 10142commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 10143Author: Alan Coopersmith <alan.coopersmith@sun.com> 10144Date: Mon Mar 16 14:27:46 2009 -0700 10145 10146 Bug 14651: We need to add new locale specification for Belarusian Latin locale 10147 10148 X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 10149 10150 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10151 10152commit 837703c8651e1321a50147a8311c56e4758ce08a 10153Author: Caolan McNamara <caolanm@redhat.com> 10154Date: Mon Mar 16 14:15:50 2009 -0700 10155 10156 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 10157 10158 X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 10159 Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 10160 10161 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10162 10163commit 22199018879055d8653e59d8236bef57164fac66 10164Author: Alan Coopersmith <alan.coopersmith@sun.com> 10165Date: Mon Mar 16 13:28:18 2009 -0700 10166 10167 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 10168 10169 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10170 10171commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 10172Author: Alan Coopersmith <alan.coopersmith@sun.com> 10173Date: Thu Mar 12 18:57:20 2009 -0700 10174 10175 Bug 9953: Please provide locale alias hu_HU.utf8 10176 10177 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 10178 Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 10179 10180 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10181 10182commit 501f4e0ada1690783ada05ad412e4b191ad55336 10183Author: Alan Coopersmith <alan.coopersmith@sun.com> 10184Date: Thu Mar 12 17:38:21 2009 -0700 10185 10186 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 10187 10188 X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 10189 Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 10190 10191 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10192 10193commit 7b9c543e7210c7da204871c31a160e79d3a949b6 10194Author: Paul Bender <pebender@gmail.com> 10195Date: Thu Mar 12 17:11:42 2009 -0700 10196 10197 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 10198 10199 X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 10200 Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 10201 10202 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10203 10204commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 10205Author: Xue Wei <Wei.Xue@Sun.COM> 10206Date: Wed Mar 4 19:32:29 2009 -0800 10207 10208 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 10209 10210 Sun bug 6809309 Add new utf8 locales supported by Xlib 10211 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 10212 10213 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10214 10215commit cb70c9bc43267577859a3674ca9de9be396ba69e 10216Author: Alan Coopersmith <alan.coopersmith@sun.com> 10217Date: Mon Feb 23 19:29:15 2009 -0800 10218 10219 Add --with-locale-lib-dir configure option to set locale lib install dir 10220 10221 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10222 10223commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 10224Author: Alan Coopersmith <alan.coopersmith@sun.com> 10225Date: Mon Feb 23 18:33:51 2009 -0800 10226 10227 Incorporate more locale names/aliases from Solaris libX11 10228 10229 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10230 10231commit 83ce4daefdf544f801c7d666c89162690a36ce41 10232Author: Alan Coopersmith <alan.coopersmith@sun.com> 10233Date: Mon Feb 23 18:32:34 2009 -0800 10234 10235 Incorporate char range comments from Solaris version of ksc5601.h 10236 10237 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10238 10239commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 10240Author: Chris Ball <cjb@laptop.org> 10241Date: Sat Feb 21 14:48:42 2009 -0500 10242 10243 Fix fi_FI locale install directory. 10244 10245 fi_FI was setting "x11thislocaledir" to en_US, with the result that its 10246 locale data was written in that locale dir. 10247 10248 Signed-off-by: Chris Ball <cjb@laptop.org> 10249 10250commit da6bbca07c796c69172a649405474f03bee66754 10251Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 10252Date: Sat Feb 21 20:17:23 2009 +0100 10253 10254 xcb_io: Avoid datatype overflow on AMD64 and friends. 10255 10256commit 4ef6491afa69e8441caee7bbebc583e6e796275e 10257Author: Chris Ball <cjb@laptop.org> 10258Date: Sat Feb 21 12:51:03 2009 -0500 10259 10260 Build fix for fi_FI. 10261 10262 Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 10263 Makefile is written there by configure. 10264 10265 Signed-off-by: Chris Ball <cjb@laptop.org> 10266 10267commit 642c4e928e770e012379539a6ce09e11c02f09a6 10268Author: Julien Cristau <jcristau@debian.org> 10269Date: Sat Feb 21 03:12:05 2009 +0100 10270 10271 nls: actually use the fi_FI.UTF-8 files 10272 10273 The subdir wasn't added to nls/Makefile.am 10274 10275commit 9bad8309ef289bb943651abf6967b24fa2252aac 10276Author: Alan Coopersmith <alan.coopersmith@sun.com> 10277Date: Fri Feb 20 14:45:54 2009 -0800 10278 10279 flags member of Display structure needs to be marked volatile 10280 10281 Since the Xlib multithreaded code checks the flags variable in _XFlushInt 10282 to see if the other threads are done yet, it has to be marked volatile so 10283 the compiler doesn't optimize out re-loading it on each trip through the 10284 while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 10285 10286 Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 10287 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 10288 10289 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10290 10291commit ef5c446395aa30d7b1096a112e241a81c5b358e7 10292Author: Xue Wei <Wei.Xue@Sun.COM> 10293Date: Fri Feb 20 15:12:35 2009 -0800 10294 10295 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 10296 10297 Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 10298 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 10299 10300 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10301 10302commit 3822f2654e9630167f0c6cae317b472c09771672 10303Author: Xue Wei <Wei.Xue@Sun.COM> 10304Date: Fri Feb 20 15:03:51 2009 -0800 10305 10306 Add locale aliases for no_NO & sh_BA locale variants 10307 10308 Fixes Sun bug id 6691219: xterm refuses to start in some locales 10309 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 10310 10311 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10312 10313commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 10314Author: Xue Wei <Wei.Xue@Sun.COM> 10315Date: Fri Feb 20 14:23:11 2009 -0800 10316 10317 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 10318 10319 Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 10320 changing keyboard layout with gimlet does not work") 10321 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 10322 10323 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10324 10325commit d497301707962f3b94542e999a36abffcfbd303d 10326Author: Julien Cristau <jcristau@debian.org> 10327Date: Tue Feb 17 16:09:41 2009 +0100 10328 10329 Bump to 1.2 10330 10331commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 10332Author: Julien Cristau <jcristau@debian.org> 10333Date: Tue Feb 17 15:23:40 2009 +0100 10334 10335 Check Xmalloc return value in _XConnectXCB 10336 10337 X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 10338 10339 Signed-off-by: Julien Cristau <jcristau@debian.org> 10340 10341commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 10342Author: James Cloos <cloos@jhcloos.com> 10343Date: Sat Feb 14 12:35:56 2009 -0500 10344 10345 dolt: allow older versions of bash to compile the library 10346 10347 Cf xserver commit 7be6520d and bugzilla #19031. 10348 10349commit 20982d6866e24453642b0b592fa0f13a88aa747c 10350Author: Will Thompson <will@willthompson.co.uk> 10351Date: Thu Feb 5 02:53:06 2009 +1100 10352 10353 NLS: Compose: Non-aliasing CCCP 10354 10355 Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 10356 10357 Signed-off-by: Will Thompson <will@willthompson.co.uk> 10358 Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 10359 10360commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 10361Author: Will Thompson <will@willthompson.co.uk> 10362Date: Wed Feb 4 14:51:11 2009 +0000 10363 10364 Add two essential compose sequences 10365 10366 Signed-off-by: Will Thompson <will@willthompson.co.uk> 10367 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 10368 10369commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 10370Author: Alan Coopersmith <alan.coopersmith@sun.com> 10371Date: Mon Feb 2 20:34:31 2009 -0800 10372 10373 Add README with pointers to mailing list, bugzilla & git repos 10374 10375 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10376 10377commit f682c27e93512773122887d2cbabb1657af45d2e 10378Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10379Date: Mon Feb 2 16:36:39 2009 -0200 10380 10381 Check if a function argument is NULL. 10382 10383 This was an addition to patch (also by me) 10384 https://bugs.freedesktop.org/attachment.cgi?id=14660 10385 that was not added when rediscovering/correcting the problem. 10386 10387commit 427e9d45d424b84efd9fc499aebf8d72392844c5 10388Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10389Date: Thu Feb 28 15:58:12 2008 -0300 10390 10391 Allow multiple inclusions of cursorfont.h, cosmetic patch. 10392 10393commit b91524a53e691f6a5d278fd8972b48a14ebeedeb 10394Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10395Date: Thu Feb 28 15:54:43 2008 -0300 10396 10397 Don't add prototypes for functions that don't exist. 10398 10399 Note that a full review was not done, only for functions that receive 10400 char/short arguments, or one of it's parameters is a function pointer 10401 that requires char/short arguments. 10402 10403commit 537eb52fe266ac439c4b383bb04a70017b709911 10404Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10405Date: Thu Feb 28 15:50:27 2008 -0300 10406 10407 WORD64 compile fix. This bug catched on a overview of the code. 10408 10409 The code is wrong since the first git revision, so it seens that it has 10410 not been compiled with WORD64 for quite some time, there is also another 10411 interesting code in xkb/XKBRdBuf.c: 10412 <hash>ifdef WORD64 10413 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 10414 <hash>endif 10415 and possibly there are other similar problems. 10416 10417commit ffd0300fb74c6183208ae599133f2ded09e08d97 10418Author: Brian Rogers <brian@xyzw.org> 10419Date: Sat Jan 31 10:37:51 2009 -0800 10420 10421 Initialize event_notify after allocating the memory for it. 10422 10423 An uninitialized or otherwise invalid condition variable can apparently 10424 cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 10425 at least are freezing as a result of event_notify never being initialized. 10426 10427 Signed-off-by: Brian Rogers <brian@xyzw.org> 10428 Signed-off-by: Bart Massey <bart@cs.pdx.edu> 10429 10430commit 97fc6babd4ccaf300e25708868aa2a738893dc30 10431Author: James Cloos <cloos@jhcloos.com> 10432Date: Thu Jan 29 20:10:41 2009 -0500 10433 10434 NLS: Add UTF-8 compose file for Finnish 10435 10436 From bug report: 10437 10438 https://bugs.freedesktop.org/show_bug.cgi?id=18747 10439 10440commit 1bd2966ed88f83479a066c6ca7da23a515979550 10441Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10442Date: Thu Jan 29 20:25:15 2009 -0200 10443 10444 patches to avoid gcc warnings for libX11 (#4) 10445 10446 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 10447 Bug #17946, attachment #19443 10448 10449 This patch avoids the gcc warning 10450 ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 10451 (same as already done at other places) 10452 10453 BTW: what is the difference between XIM (the type of ic->core.im) 10454 and Xim ? 10455 10456commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 10457Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10458Date: Thu Jan 29 20:22:21 2009 -0200 10459 10460 patches to avoid gcc warnings for libX11 (#3) 10461 10462 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 10463 Bug #17946, attachment #19441 10464 10465 This patch avoids the two gcc warnings 10466 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 10467 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 10468 10469 Note, that this as a rather crude fix of the problem (and it is really a 10470 shame to cast name_table to non-const). 10471 10472 The right solution would be to declare XIMValuesList.supported_values 10473 (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 10474 This will, however, require extensive modifications in various places. 10475 10476commit cce75c5dce73fe1f8626ed9e6798138ada09a860 10477Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10478Date: Thu Jan 29 20:20:18 2009 -0200 10479 10480 patches to avoid gcc warnings for libX11 (#2) 10481 10482 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 10483 Bug #17946, attachment #19440 10484 10485 Avoid a preprocessor message 10486 <stdin>:194: warning: no newline at end of file 10487 10488 Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 10489 seem to be caused by a truncated (or otherwise incomplete) 10490 manpage. 10491 10492commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 10493Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10494Date: Thu Jan 29 20:12:24 2009 -0200 10495 10496 patches to avoid gcc warnings for libX11 (#1) 10497 10498 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 10499 Bug #17946, attachment #19439 10500 10501 Define as 1 (one) as done by autoconf and the command line 10502 option, e.g. -DX11_t, not as empty. 10503 10504 This avoids the gcc (3.4.6) warnings: 10505 ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 10506 <command line>:7:1: warning: this is the location of the previous definition 10507 ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 10508 <command line>:8:1: warning: this is the location of the previous definition 10509 10510 Similarly, follow the autoconf convention to define XTHREADS 10511 and XUSE_MTSAFE_API as one. 10512 10513 This avoids analogous warnings when compiling libXcomposite, 10514 libXcursor, and libXdamage. 10515 10516 No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 10517 10518commit a1977883c9f5ef0e515569d6e2ebccb07411f98c 10519Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10520Date: Thu Jan 29 15:01:06 2009 -0200 10521 10522 Janitor: Correct some gcc/sparse warnings. 10523 10524 Most remaining warnings are about XIM/Xim to/from conversion 10525 and discarding const from pointers. 10526 10527commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 10528Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 10529Date: Wed Jan 28 20:31:42 2009 -0200 10530 10531 Janitor: ansification, make distcheck, compiler warnings. 10532 10533 Only convert to use "ansi prototypes" the functions warned from 10534 compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 10535 10536 Also, only address "trivial" compiler warning fixes in this commit. 10537 10538 The new .gitignore is the output of a command like: 10539 % find . -name .gitignore -exec cat {} \; | sort | uniq 10540 and only the toplevel .gitignore file was kept. 10541 10542commit 091c1624fd2f9d933329d6152e4ecd865aa7903a 10543Author: Peter Hutterer <peter.hutterer@who-t.net> 10544Date: Tue Jan 13 12:05:54 2009 +1000 10545 10546 Fix wrong implies symbol. 10547 10548 Quote Simos Xenitellis: 10549 > I checked the gtk+ commit logs that go back to 2000, and I see that still it 10550 > was 10551 > 10552 > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 10553 > DOUBLE ARROW */ 10554 > 10555 > In XFree86, it appears there was an error when they converted the 10556 > original table to 10557 > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 10558 > and the problem still shows up there (November 2000). 10559 10560 http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 10561 10562 Reported by Erik Streb del Toro. 10563 10564commit e32521f19e0b07649b7e3a03d56a2bd556b138fb 10565Author: James Cloos <cloos@jhcloos.com> 10566Date: Sun Dec 7 04:13:34 2008 -0500 10567 10568 [i18n] s/U00DC/Udiaeresis/g 10569 10570 The xkeyboard-config keyboards generate the symbol Udiaeresis, not 10571 U00DC. Make sure the relevant Compose sequences expect the symbol 10572 which the keyboards actually send. 10573 10574commit b7502abfe22f8dc009b21cda1172af221d8f9f32 10575Author: James Cloos <cloos@jhcloos.com> 10576Date: Sun Dec 7 04:09:46 2008 -0500 10577 10578 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 10579 10580 As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 10581 10582 This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 10583 10584commit c9d20e3f697c9cfae5511412023362c1db7449b1 10585Author: James Cloos <cloos@jhcloos.com> 10586Date: Sun Dec 7 04:08:23 2008 -0500 10587 10588 Use C comments rather than initial doubled hashes to exclude lines from .pre files 10589 10590commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 10591Author: vehemens <vehemens@verizon.net> 10592Date: Sun Dec 7 01:18:26 2008 -0500 10593 10594 [i18n] Distribute new headers which were added for gb18030 support. 10595 10596 big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 10597 make it into the tar. 10598 10599 Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 10600 10601 Signed-off-by: James Cloos <cloos@jhcloos.com> 10602 10603commit 418819558d2c60e58b4e3022ce0fadf2143488ac 10604Author: Stefan Dirsch <sndirsch@suse.de> 10605Date: Sat Nov 22 22:01:07 2008 +0100 10606 10607 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 10608 10609commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 10610Author: Stefan Dirsch <sndirsch@suse.de> 10611Date: Sat Nov 22 19:40:54 2008 +0100 10612 10613 Added remaining xlib patch required for gb18030 support (#1573). 10614 10615commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 10616Author: Stefan Dirsch <sndirsch@suse.de> 10617Date: Sat Nov 22 17:53:06 2008 +0100 10618 10619 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 10620 10621commit c859446c500c883a67f7a86cab1a44844e24dade 10622Author: Ken Thomases <ken@codeweavers.com> 10623Date: Fri Nov 21 13:58:10 2008 -0500 10624 10625 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 10626 10627 Signed-off-by: James Cloos <cloos@jhcloos.com> 10628 10629commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 10630Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 10631Date: Mon Nov 17 20:47:26 2008 -0800 10632 10633 Force local transport when using the launchd socket. 10634 10635 Fixes a regression due to 10636 bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 10637 10638commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 10639Author: Peter Hutterer <peter.hutterer@redhat.com> 10640Date: Fri Nov 14 10:32:50 2008 +1000 10641 10642 Add XF86Suspend, XF86Hibernate to KeysymDB. 10643 10644commit d16b11f25f8265e651def8d80bcd430c0448e664 10645Author: James Cloos <cloos@jhcloos.com> 10646Date: Tue Nov 11 19:43:39 2008 -0500 10647 10648 [nls] Annotate the Bépo compose sequences 10649 10650 Add comments with the UCS names. 10651 Add utf-8 strings for each result. 10652 Format for easy reading. 10653 10654commit 730298464240be6f65b32416b3f9b20062c61825 10655Author: James Cloos <cloos@jhcloos.com> 10656Date: Tue Nov 11 16:41:34 2008 -0500 10657 10658 [nls] Add some UTF-8 Compose sequences 10659 10660 As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 10661 10662 Cf. bugs: 10663 10664 https://bugs.freedesktop.org/show_bug.cgi?id=17821 10665 https://bugs.freedesktop.org/show_bug.cgi?id=17822 10666 10667commit ad6008a0c92733826983eb93f063d3d6276007d8 10668Author: Colin Harrison <colin.harrison@virgin.net> 10669Date: Thu Nov 6 17:48:21 2008 -0500 10670 10671 Fix copy/paste typo in imLcPrs 10672 10673 Signed-off-by: James Cloos <cloos@jhcloos.com> 10674 10675commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 10676Author: Adam Jackson <ajax@redhat.com> 10677Date: Thu Nov 6 14:54:13 2008 -0500 10678 10679 Fix leak in _XimXGetReadData 10680 10681 Spotted by Denis Dzyubenko 10682 10683commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 10684Author: Julien Cristau <jcristau@debian.org> 10685Date: Wed Nov 5 22:09:37 2008 +0100 10686 10687 Bump to 1.1.99.2 10688 10689commit d31e644c65c52828ea3e7abd94a8cf9aee12265c 10690Author: Julien Cristau <jcristau@debian.org> 10691Date: Wed Nov 5 21:33:13 2008 +0100 10692 10693 Fix distcheck 10694 10695commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 10696Author: Jamey Sharp <jamey@minilop.net> 10697Date: Wed Oct 29 14:00:33 2008 -0700 10698 10699 Support multiple independent internal sync handlers 10700 10701 Xlib has several independent tasks that need to be performed with the 10702 display unlocked. It does this by replacing the existing sync handler with 10703 one of a variety of internal sync handlers. However, if multiple internal 10704 sync handlers need to run, then the last one registering wins and 10705 previously registered internal sync handlers are never invoked. This 10706 manifested as a bug with DRI applications on Xlib/XCB as that requires 10707 both an XID handler after every XID allocation, and the periodic sequence 10708 number handler. The XID handler would win, and the sequence number handler 10709 would never be invoked. 10710 10711 Fix this by unifying the internal sync handler mechanism into a single 10712 function that calls all of the known internal sync handlers. They all need 10713 to deal with being called when not strictly necessary now. 10714 10715 Signed-off-by: Keith Packard <keithp@keithp.com> 10716 Signed-off-by: Jamey Sharp <jamey@minilop.net> 10717 Signed-off-by: Josh Triplett <josh@freedesktop.org> 10718 10719commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 10720Author: Keith Packard <keithp@keithp.com> 10721Date: Sat Oct 11 21:44:21 2008 -0700 10722 10723 Ensure that _XReadEvents always leaves an event in the queue on return 10724 10725 XNextEvent assumes that the event queue will be non-empty on return from 10726 _XReadEvents, but with multiple event readers running, the previous change 10727 could leave the queue empty on return from process_responses. Re-invoke 10728 process_responses until the queue is non-empty. 10729 10730 Signed-off-by: Keith Packard <keithp@keithp.com> 10731 10732commit bedfe68259037c5564fe52758c92b9c97729640a 10733Author: Keith Packard <keithp@keithp.com> 10734Date: Sat Oct 11 21:10:23 2008 -0700 10735 10736 Permit only one Xlib thread to block waiting for events 10737 10738 As Xlib queues events internally, we must prevent multiple Xlib threads from 10739 entering XCB to wait for an event in case the queued event is to be 10740 delivered to the thread which didn't manage to read it. In other words, let 10741 only one Xlib thread into xcb_wait_for_event at a time. 10742 10743 Jamey Sharp looked over my shoulder while making this fix and, while hating 10744 my whitespace conventions, appears happy enough with the actual code. 10745 10746 Signed-off-by: Keith Packard <keithp@keithp.com> 10747 10748commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 10749Author: Jamey Sharp <jamey@minilop.net> 10750Date: Sun Mar 23 16:33:50 2008 -0700 10751 10752 Fix XAllocID race: hold the user display lock until we have a new XID. 10753 10754 Xlib built --without-xcb is also vulnerable to this race, and a similar 10755 fix might work there too. 10756 10757 Also, use an XID that's truly invalid while waiting for the next XID to be 10758 requested. 10759 10760commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 10761Author: Josh Triplett <josh@freedesktop.org> 10762Date: Sat Mar 15 17:22:23 2008 -0700 10763 10764 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 10765 10766 Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 10767 requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 10768 Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 10769 had to flush its requests when unlocking the display. 10770 10771 XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 10772 much of the existing Xlib/XCB implementation with the use of 10773 xcb_take_socket to take ownership of the write side of the X connection 10774 socket, and a return_socket callback which writes any outstanding requests 10775 with xcb_writev. This approach allows Xlib/XCB to use the same buffering 10776 as traditional Xlib did. In particular, programs which use Xlib/XCB and 10777 never make XCB calls will never need to hand the socket back to XCB, and 10778 vice versa. 10779 10780 This allows us to discard large quantities of synchronization code from 10781 Xlib/XCB, together with the synchronization bugs present in that code. 10782 Several test cases which previously failed now work perfectly, including 10783 multi-threaded ico. In addition, the infamous locking correctness 10784 assertions, triggered when double-locking or when unlocking without a 10785 previous lock, no longer exist, because Xlib/XCB no longer has any reason 10786 to care more about application locking than traditional Xlib does. 10787 10788 Furthermore, the handoff approach provides great improvements to 10789 performance. Results from x11perf's XNoOp test, which represented the 10790 worst case for the lock-based Xlib/XCB: 10791 10792 Traditional Xlib: average 19100000/sec 10793 Lock-based Xlib/XCB: average 3350000/sec 10794 Handoff-based Xlib/XCB: average 17400000/sec 10795 10796 Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 10797 Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 10798 performance. Of course, real-world workloads do not use no-op, so your 10799 mileage may vary. In particular, since no-ops represent the worst case, 10800 we expect real workloads to more closely match the performance of 10801 traditional Xlib. 10802 10803 While removing synchronization code, we changed _XReply to not drop any 10804 locks when calling xcb_wait_for_reply; previously, we had to carefully 10805 avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 10806 the locks reduces implementation complexity and should not impact 10807 applications. 10808 10809 Commit by Jamey Sharp and Josh Triplett. 10810 XCB's handoff mechanism inspired by Keith Packard. 10811 10812commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 10813Author: Chris Ball <cjb@laptop.org> 10814Date: Mon Nov 3 22:57:29 2008 -0500 10815 10816 Remove configure check for xcb-xlib. 10817 10818 xcb-xlib has been intentionally removed from libxcb; stop checking for 10819 it at configure-time. 10820 10821commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 10822Author: Josh Triplett <josh@freedesktop.org> 10823Date: Wed Oct 29 14:37:44 2008 -0700 10824 10825 .gitignore: Add dolt files 10826 10827commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 10828Author: Peter Hutterer <peter.hutterer@redhat.com> 10829Date: Tue Oct 28 11:56:55 2008 +1030 10830 10831 man: fix formatting error in XkbGetIndicatorState man page. 10832 10833commit b1022fa6d7e97640049e93ffa108083fc8d71b05 10834Author: James Cloos <cloos@jhcloos.com> 10835Date: Sat Oct 25 09:13:08 2008 -0400 10836 10837 Increase size of working arrays in the makekeys utility program. 10838 10839 Makekeys is used to create an optimal hash of the keysyms defined 10840 in x11proto’s keysymdef.h. 10841 10842 The recent addition of new keysyms there has triggered a bug in 10843 makekeys where it tries to use a zero on the rhs of the % (mod) 10844 operator (resulting in a divide by zero error) whenever it fails 10845 to find a solution within its constraints. 10846 10847 Increasing the size of the arrays allows it to find a solution for 10848 the current set of keysyms. 10849 10850 Makekeys is only run durring the build process, so this has no impact 10851 on users of libX11, only on the amount of VM needed to build it. 10852 10853 It still needs a more complete fix, but this allows compiles to 10854 progress until that is completed. 10855 10856commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 10857Author: James Cloos <cloos@jhcloos.com> 10858Date: Sat Oct 11 01:03:14 2008 -0400 10859 10860 Dolt-ify 10861 10862 Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 10863 10864commit 39c0b266cac8cbc15bf501d7869186862f01d823 10865Author: Peter Hutterer <peter.hutterer@redhat.com> 10866Date: Wed Oct 15 14:30:20 2008 +1030 10867 10868 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 10869 10870 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 10871 10872commit d23aad31338e7d869d878d5aa1b6b91d20287005 10873Author: Peter Hutterer <peter.hutterer@redhat.com> 10874Date: Mon Oct 13 09:41:59 2008 +1030 10875 10876 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 10877 10878commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 10879Author: Peter Hutterer <peter.hutterer@who-t.net> 10880Date: Thu Jul 24 15:44:26 2008 +0930 10881 10882 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 10883 10884 Thanks to Michael Meeks, Novell Bug 369263. 10885 https://bugzilla.novell.com/show_bug.cgi?id=369263 10886 10887commit e7ece39afc8e0adc3b6b1e70b337b98376754462 10888Author: Alan Coopersmith <alan.coopersmith@sun.com> 10889Date: Tue Oct 7 15:41:38 2008 -0700 10890 10891 Sun bug #6739431: double free in _X11TransConnectDisplay() 10892 10893 Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 10894 After copying original_hostname to phostname, set original_hostname 10895 to NULL, so we don't free the same pointer twice when we free both 10896 original_hostname and phostname. 10897 10898 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 10899 10900commit 0877bc916afbd1ff8f1833edc930b765ea783576 10901Author: Daniel Stone <daniel@fooishbar.org> 10902Date: Tue Sep 23 19:02:02 2008 +0300 10903 10904 configure.ac: Fix CC_FOR_BUILD logic error 10905 10906 Turns out we were accidentally smashing it so that you couldn't set it 10907 externally at all. Oops. 10908 10909commit 58bf3aa746908f01c37be7045699e43a4e270944 10910Author: John Tapsell <johnflux@gmail.com> 10911Date: Tue Sep 23 17:30:13 2008 +0300 10912 10913 Build: Use native compiler for makekeys 10914 10915 makekeys needs to be run during the build process, as opposed to on the 10916 target, so build it with either of gcc or cc to fix cross-compiling. 10917 This can be overridden by setting $CC_FOR_BUILD. 10918 10919commit 340422a5c7a413faef18666cada27cee14615250 10920Author: Adam Jackson <ajax@redhat.com> 10921Date: Wed Sep 17 12:54:34 2008 -0400 10922 10923 Fix the previous patch for the BadFont case. 10924 10925commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 10926Author: Matthias Clasen <mclasen@redhat.com> 10927Date: Wed Sep 17 10:43:52 2008 -0400 10928 10929 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 10930 10931commit db0b85db29699be6bf7e78dede655d59ba926dfc 10932Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 10933Date: Sun Sep 14 19:15:26 2008 -0400 10934 10935 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 10936 10937 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 10938 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 10939 ISO 8859 pt_BR Compose file) as the string but specify the keysym 10940 and comment for Ć and ć (c with acute accent). 10941 10942 This commit normalizes those two lines to match the specified string. 10943 10944 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 10945 10946 Signed-off-by: James Cloos <cloos@jhcloos.com> 10947 10948commit b065c011baa69b69e3ea77c30d5e153c0d103e2d 10949Author: Michael Verret <michael.verret@gmail.com> 10950Date: Mon Sep 8 16:33:35 2008 -0400 10951 10952 Fix documentation typo 10953 10954 Signed-off-by: James Cloos <cloos@jhcloos.com> 10955 10956commit 4213ea95185377bdd1b51e82933f331fc0f52e5b 10957Author: James Cloos <cloos@jhcloos.com> 10958Date: Sat Sep 6 04:19:19 2008 -0400 10959 10960 Remove extraneous <angle brackets> from the Ethiopic Compose file. 10961 10962 The am_ET.UTF-8 Compose file submitted in: 10963 10964 https://bugs.freedesktop.org/show_bug.cgi?id=11307 10965 10966 for the OLCP project used incorrect syntax. (It has angle brackets around the 10967 Uxxxx symbols on the right hand side rather than only on the left hand side). 10968 10969 This bug is noted in OLPC’s ticket: 10970 10971 http://dev.laptop.org/ticket/7474 10972 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 10973 10974commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 10975Author: James Cloos <cloos@jhcloos.com> 10976Date: Mon Sep 1 17:49:33 2008 -0400 10977 10978 Complete the set of vulgar fractions 10979 10980 Unicode 1.1 added thirds, fifths, sixths and eights; 10981 we might as well catch up. 10982 10983 (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 10984 and 0/3 (U2189) in their pipelines, but those four can be added 10985 here after they are published.) 10986 10987commit a788792e9de95f8db0639557859722a35087481d 10988Author: James Cloos <cloos@jhcloos.com> 10989Date: Wed Aug 20 15:28:07 2008 -0400 10990 10991 nls (en_US) Re-remove long compositions that override shorter 10992 10993 As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 10994 10995 Commit a6f4bbf7 10996 nls (en_US): remove long compositions that override shorter [...] 10997 removed some longer compose sequences because there are shorter 10998 ones which take preference over the longer. For example the 10999 sequences: 11000 11001 <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 11002 <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 11003 11004 were removed becase there already was: 11005 11006 <Multi_key> <apostrophe> <comma> : U201A # ‚ 11007 11008 Then commit 4ba09125 11009 Work on making the en_US and pt_BR UTF-8 Compose as similar as 11010 possible added exactly the same key sequences again. Obviusly 11011 they won't work. 11012 11013commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 11014Author: James Cloos <cloos@jhcloos.com> 11015Date: Thu Jul 17 21:01:42 2008 -0400 11016 11017 Add more <Multi_key> <cedilla> Compose tuples 11018 11019 The last commit missed the el_GR UTF-8 Compose.pre as well as 11020 the various ISO 8859 locales which have compose sequences 11021 generating ‘WITH CEDILLA’ characters. 11022 11023 (Interestingly, some of the 8859 locales already supported 11024 <Multi_key> <cedilla> for some CEDILLA characters, but not 11025 for Ç or ç.) 11026 11027 This is further work on bug 10397. 11028 11029commit 4ba091255bb953d53078ba5619d6751052c739f7 11030Author: James Cloos <cloos@jhcloos.com> 11031Date: Thu Jul 17 17:16:50 2008 -0400 11032 11033 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 11034 11035 The eventual goal here is to have a single primary UTF-8 Compose 11036 file which the locale-specific UTF-8 Compose.pre files can #include. 11037 11038commit 254522d3c24e0590732fc03cdd61ff4564819d94 11039Author: James Cloos <cloos@jhcloos.com> 11040Date: Thu Jul 17 17:13:36 2008 -0400 11041 11042 Add <Multi_key> <cedilla> Compose tuples 11043 11044 The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 11045 with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 11046 support for using <cedilla> instead of <comma> in said sequences. 11047 11048 This commit makes both styles work. 11049 11050commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 11051Author: James Cloos <cloos@jhcloos.com> 11052Date: Sat Jun 28 15:25:23 2008 -0400 11053 11054 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 11055 11056 The new block was added twice to the en_US.UTF-8 Compose.pre; 11057 delete the duplicate. 11058 11059commit 596e081b7457dcd1c4ad555ac140e6999239bc0d 11060Author: Peter Hutterer <peter@cs.unisa.edu.au> 11061Date: Sat Jun 28 20:14:05 2008 +0930 11062 11063 Fix unbalanced parenthesis in XKBlib.h # 16551 11064 11065 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 11066 11067commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 11068Author: Adam Jackson <ajax@redhat.com> 11069Date: Tue Jun 24 13:16:53 2008 -0400 11070 11071 Bug #14898: Don't abuse the sprintf() implementation. 11072 11073 The thing you're printing into should not itself appear in the list of 11074 things to print from, that's bad juju. Just use strcat(). 11075 11076commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 11077Author: Khaled Hosny <khaledhosny@eglug.org> 11078Date: Thu Jun 19 18:26:11 2008 -0400 11079 11080 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 11081 11082 Add some Arabic digraphs to utf-8 locales with a Compose.pre 11083 11084 Signed-off-by: James Cloos <cloos@jhcloos.com> 11085 11086commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 11087Author: Alan Coopersmith <alan.coopersmith@sun.com> 11088Date: Wed Jun 18 20:00:25 2008 -0700 11089 11090 Rework code to choose local connection types and fallback to others 11091 11092 Adds --with-local-transport-order configure flag if you don't like the 11093 default ordering (which is platform dependent) 11094 11095 Includes fixes for these Sun/Solaris bug ids: 11096 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 11097 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 11098 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 11099 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 11100 11101commit cf49e537014c3cb5aaee07e57400933e0bb72b6b 11102Author: Alan Coopersmith <alan.coopersmith@sun.com> 11103Date: Tue Jun 17 14:41:17 2008 -0700 11104 11105 Strip whitespace from end of lines in source files 11106 11107commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 11108Author: Jeff Smith <whydoubt@yahoo.com> 11109Date: Sun Jun 15 23:52:20 2008 -0500 11110 11111 Fix memory leak in XOpenDisplay 11112 11113 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 11114 11115commit fca0b0ba3f72b7284601d4690bba99fc80a92614 11116Author: Jens Herden <jens@khmeros.info> 11117Date: Tue Jun 10 20:07:30 2008 +0300 11118 11119 NLS: Add Khmer compose sequences (bug #5706) 11120 11121 Add some Khmer digraphs to all locales with a Compose.pre. 11122 11123commit e54cffb649b1622c17457e470cfab8cc56d38c97 11124Merge: 19802cc 721b574 11125Author: Daniel Stone <daniel@fooishbar.org> 11126Date: Tue Jun 10 20:04:30 2008 +0300 11127 11128 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 11129 11130commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 11131Author: Peter Hutterer <peter@cs.unisa.edu.au> 11132Date: Thu May 29 10:57:21 2008 +0930 11133 11134 Bump to 1.1.99.1 11135 11136commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 11137Author: Peter Hutterer <peter@cs.unisa.edu.au> 11138Date: Wed May 28 17:31:59 2008 +0930 11139 11140 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 11141 11142commit e9195db7257e418f83707233baeeb84b225caf4f 11143Merge: c34f76f a7f8556 11144Author: Peter Hutterer <peter@cs.unisa.edu.au> 11145Date: Thu May 22 12:14:28 2008 +0930 11146 11147 Merge branch 'master' into xge 11148 11149commit 19802ccd3909145e3ba2f6c073271cb5f3701685 11150Author: Daniel Stone <daniel@fooishbar.org> 11151Date: Mon May 19 19:22:31 2008 +0300 11152 11153 gitignore: Update with loads more bits from server 11154 11155commit a7f85567a3e850fba0c44571453d2852ab1a09be 11156Author: Adam Jackson <ajax@redhat.com> 11157Date: Tue May 13 10:28:39 2008 -0400 11158 11159 Bug #15884: Remove useless sleep()'s from the connection code. 11160 11161 For network transports, there's enough delay in the network layer 11162 already without adding more. For local transports, just hurry up 11163 and fail if the server isn't there. 11164 11165commit c34f76f475bc632490122e67b5a82575d69d5569 11166Author: Peter Hutterer <peter@cs.unisa.edu.au> 11167Date: Mon May 12 21:46:24 2008 +0930 11168 11169 Pull down extra bytes when reading a GenericEvent (non-xcb). 11170 11171 I refuse to take any responsibily for this code. It works, I guess. 11172 But - all the flushing is done somewhere before that, so we might need to 11173 flush here. Under some circumstances anyway. Don't ask me, I'm an optical 11174 illusion. 11175 11176 Build with xcb as transport layer highly recommended. 11177 11178commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 11179Merge: 17d7dcb 9129057 11180Author: Peter Hutterer <peter@cs.unisa.edu.au> 11181Date: Mon May 12 17:58:37 2008 +0930 11182 11183 Merge branch 'master' into xge 11184 11185commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 11186Author: Teemu Likonen <tlikonen@iki.fi> 11187Date: Wed May 7 21:44:22 2008 +0300 11188 11189 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 11190 11191 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 11192 <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 11193 U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 11194 duplicate compose sequences since these have already been defined. Also, 11195 using <dead_belowring> is more logical since the diacritic is indeed 11196 a "RING BELOW". 11197 11198commit 01a9cb58888d290cc3d319feec4ee4a0297a844c 11199Author: Daniel Stone <daniel@fooishbar.org> 11200Date: Wed May 7 20:04:44 2008 +0300 11201 11202 NLS: Make UTF-8 the default for Russian 11203 11204 No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 11205 only other possible answer would be KOI8-R. 11206 11207 Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 11208 11209commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 11210Author: Ross Burton <ross@burtonini.com> 11211Date: Tue Apr 29 13:38:10 2008 +0300 11212 11213 NLS: Add interrobang to UTF-8 compose tables (bug #15653) 11214 11215 It is what it says on the box. 11216 11217commit 0b6682303e9c61fefc3818acfda616b1e3691abf 11218Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 11219Date: Mon Apr 28 11:51:25 2008 +0300 11220 11221 IM: Respect XMODIFIERS for Thai locale (bug #15719) 11222 11223 When looking at Thai input methods, make sure XMODIFIERS is checked 11224 before jumping straight into built-in Thai processing, so external XIM 11225 servers such as SCIM can be used with Thai. 11226 11227commit c13aded1b2f830ba5004abb0ec5518f9ea16087e 11228Author: Colin Harrison <colin.harrison-at-virgin.net> 11229Date: Sat Apr 26 18:56:05 2008 +0100 11230 11231 Fix missing error condition 11232 11233commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 11234Author: Colin Harrison <colin.harrison-at-virgin.net> 11235Date: Mon Apr 21 17:24:33 2008 +0100 11236 11237 Xlib warning fixes 11238 11239commit 6b6caeea830a977bdb54688cfb648d879821e752 11240Author: James Cloos <cloos@jhcloos.com> 11241Date: Fri Apr 18 02:50:55 2008 -0400 11242 11243 Add some dead_key sequences to en_US.UTF-8 Compose table 11244 11245 Make use of the new dead key symbols added to x11proto’s 11246 commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 11247 was in responce to bug #15446). 11248 11249commit 8f9b039580deaf658e464b7d6254064fcf183df6 11250Author: Alan Coopersmith <alan.coopersmith@sun.com> 11251Date: Mon Apr 14 19:09:42 2008 -0700 11252 11253 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 11254 11255commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 11256Author: Alan Coopersmith <alan.coopersmith@sun.com> 11257Date: Mon Apr 14 18:21:14 2008 -0700 11258 11259 Fix mismatched brace indenting 11260 11261commit a19f9c65ee9e5e5d783feaa84998c36439b0288b 11262Author: Bart Massey <bart@cs.pdx.edu> 11263Date: Fri Apr 4 18:58:45 2008 -0700 11264 11265 added error check in Xcms color file parser; closes bug #15305 11266 11267commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 11268Author: Christian Weisgerber <naddy@mips.inka.de> 11269Date: Tue Mar 18 07:30:05 2008 +0100 11270 11271 ConnDis: properly cast 'addr' before accessing it as a byte array. 11272 11273 If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 11274 clients over IPv6, the clients are liable to segfaults. 11275 11276commit 64325f38bab082a8e0e9ce779a8e582de5c8588e 11277Author: Josh Triplett <josh@freedesktop.org> 11278Date: Sat Mar 15 12:29:33 2008 -0700 11279 11280 Fix fd.o bug 15023: make Xlib sync correctly given many void requests 11281 11282 If given many requests without replies, Xlib may not sync until it flushes 11283 the output buffer. Thus, if Xlib can fit enough requests in the buffer to 11284 pass by the number of requests it would normally sync after (65536 - 11285 BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 11286 demonstrated this by issuing a request with a reply (ListExtensions) at 11287 just the right time to get confused with the GetInputFocus reply issued in 11288 response to the sync 65,536 requests later; the test case used an async 11289 handler to watch the replies, since otherwise it could not issue a request 11290 without waiting for the response. When the test case failed, Xlib's sync 11291 handler would eat the ListExtensions reply, and the test case's async 11292 handler would see the GetInputFocus reply. 11293 11294 Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 11295 buffer size to figure out when the sequence numbers could potentially wrap 11296 before the next flush. 11297 11298 With this commit, the test case consistently passed, and the async reply 11299 handler always saw the ListExtensions reply. 11300 11301 Commit by Jamey Sharp and Josh Triplett. 11302 11303commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 11304Author: Colin Harrison <colin.harrison@virgin.net> 11305Date: Sat Mar 15 13:39:13 2008 -0400 11306 11307 Fix typo 11308 11309 Signed-off-by: James Cloos <cloos@jhcloos.com> 11310 11311commit f07585ca27a8487bc66dfe41486c823f0fdcea7d 11312Author: Daniel Stone <daniel@fooishbar.org> 11313Date: Sat Mar 15 17:32:57 2008 +0200 11314 11315 configure.ac: Don't search for legacy X11 headers 11316 11317 This can actually break cross-compiles, so don't do it anymore. 11318 11319commit bf69541238c7df6606340c0f389e5c47149b29c7 11320Author: Matthieu Herrb <matthieu.herrb@laas.fr> 11321Date: Sun Mar 9 09:08:07 2008 +0100 11322 11323 nuke RCS Ids 11324 11325commit 5e98aed13e529638df744e45893c471d5f2014fb 11326Author: Adam Jackson <ajax@redhat.com> 11327Date: Thu Mar 6 16:10:33 2008 -0500 11328 11329 libX11 1.1.4 11330 11331commit 8e085971dc661da9f80ff6b67747459c0fb15c08 11332Author: Alan Coopersmith <alan.coopersmith@sun.com> 11333Date: Thu Feb 28 20:17:41 2008 -0800 11334 11335 Man page typo fixes 11336 11337commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 11338Author: Søren Sandmann Pedersen <sandmann@redhat.com> 11339Date: Sun Feb 24 20:03:35 2008 -0500 11340 11341 XIM: Fix a hand when switching input context. 11342 11343 Red Hat bug #201284. 11344 11345commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 11346Author: Adam Jackson <ajax@redhat.com> 11347Date: Sun Feb 24 20:00:43 2008 -0500 11348 11349 Bug #14029: Don't LockDisplay() recursively. 11350 11351 See also Red Hat bugzilla #326461. 11352 11353commit e5892467ae3308c8651be76e06db322dcbc08522 11354Author: Alan Coopersmith <alan.coopersmith@sun.com> 11355Date: Fri Feb 15 17:27:53 2008 -0800 11356 11357 Add support for building lint library with --enable-lint-library 11358 11359commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 11360Author: Alan Coopersmith <alan.coopersmith@sun.com> 11361Date: Mon Feb 11 20:11:43 2008 -0800 11362 11363 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 11364 11365commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 11366Author: Alan Coopersmith <alan.coopersmith@sun.com> 11367Date: Fri Feb 8 16:46:46 2008 -0800 11368 11369 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 11370 11371commit 416a812200f24d19149dcc497e5c51a0608120f6 11372Author: Alan Coopersmith <alan.coopersmith@sun.com> 11373Date: Fri Feb 8 15:31:31 2008 -0800 11374 11375 XErrorDB updates for Render 0.9 & XFixes 4.0 11376 11377commit 16a76091cd632e5a3708e235ff864b58f3e4613e 11378Author: Kim Woelders <kim@woelders.dk> 11379Date: Sat Dec 22 21:45:23 2007 +0100 11380 11381 Fix bs_BA entries in locale.dir.pre 11382 11383 X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 11384 11385commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 11386Merge: 8f0bd3f e8d4cef 11387Author: James Cloos <cloos@jhcloos.com> 11388Date: Fri Dec 14 22:43:47 2007 -0500 11389 11390 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 11391 11392commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 11393Author: James Cloos <cloos@jhcloos.com> 11394Date: Fri Dec 14 22:42:59 2007 -0500 11395 11396 add a comment to en_US.UTF-8/Compose 11397 11398commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 11399Author: James Cloos <cloos@jhcloos.com> 11400Date: Fri Dec 14 22:40:13 2007 -0500 11401 11402 Add <dead_stroke> compose sequences 11403 11404 The added sequences match the existing <Multi_key> <slash> sequences. 11405 11406 This is related to bug #12765¹. 11407 11408 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 11409 11410commit e8d4cefa0837afa149a10e981528b368485a9e38 11411Author: Jeremy Huddleston <jeremy@yuffie.local> 11412Date: Mon Dec 10 23:00:44 2007 -0800 11413 11414 Added launchd support. 11415 11416commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 11417Merge: 5dfefd3 13ac804 11418Author: Peter Hutterer <peter@cs.unisa.edu.au> 11419Date: Thu Dec 6 14:08:29 2007 +1030 11420 11421 Merge branch 'master' into xge 11422 11423commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 11424Merge: a68a1cd eff33ae 11425Author: Peter Hutterer <peter@cs.unisa.edu.au> 11426Date: Thu Dec 6 13:57:09 2007 +1030 11427 11428 Merge branch 'master' into xge 11429 11430 Conflicts: 11431 11432 src/xcb_io.c 11433 11434commit 13ac80469f6958cabac596834e203bd9cb6d4c94 11435Author: James Cloos <cloos@jhcloos.com> 11436Date: Wed Dec 5 20:14:03 2007 -0500 11437 11438 Update the currency symbols block of en_US.UTF-8/Compose.pre 11439 Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 11440 the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 11441 AUSTRAL, HRYVNIA and CEDI SIGNs. 11442 11443commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 11444Author: Anton Zinoviev <anton@lml.bas.bg> 11445Date: Wed Dec 5 19:56:03 2007 -0500 11446 11447 Additions to the Compose file for UTF-8 11448 From bug #5371¹ 11449 11450 Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 11451 from those in attachment #4122². The post³ on xorg resulted in only 11452 a positive reply⁴ from Daniel, so this block is now also commited. 11453 11454 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 11455 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 11456 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 11457 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 11458 11459 Signed-off-by: James Cloos <cloos@jhcloos.com> 11460 Acked-by: Daniel Stone <daniel@fooishbar.org> 11461 11462commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 11463Author: James Cloos <cloos@jhcloos.com> 11464Date: Tue Dec 4 17:25:39 2007 -0500 11465 11466 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 11467 11468 Based on src/KeysymStr.c and src/StrKeysym.c and comments in 11469 bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 11470 those should be in the form U plus the hex of the UCS Code Point. 11471 11472 The 0x01000000 is ORed in by the code. 11473 11474 This update fixes all of those. 11475 11476 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 11477 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 11478 11479commit 02e04059c89e175f51647e3b031344f743286b34 11480Merge: 1254c57 b57129e 11481Author: James Cloos <cloos@jhcloos.com> 11482Date: Tue Dec 4 06:55:04 2007 -0500 11483 11484 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 11485 11486commit 1254c57dd3a8d6ea87041b2f63024f99094f290f 11487Author: James Cloos <cloos@jhcloos.com> 11488Date: Tue Dec 4 06:53:55 2007 -0500 11489 11490 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 11491 Inspired by bug 11930¹: 11492 11493 Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 11494 and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 11495 Compose files. 11496 11497 This was done with a pair of perl scripts based on the one quoted in the 11498 log for commit c76d30253f1483ac8200ad5c032a818907e65030. 11499 11500 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 11501 11502commit b57129ef324c73ee91c2a796b800c4b45f4d4855 11503Author: Jeremy Huddleston <jeremy@yuffie.local> 11504Date: Mon Dec 3 20:04:19 2007 -0800 11505 11506 Use __APPLE__ instead of __DARWIN__ 11507 11508commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 11509Author: Jeremy Huddleston <jeremy@yuffie.local> 11510Date: Wed Nov 28 16:43:49 2007 -0800 11511 11512 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 11513 11514commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 11515Author: Alan Coopersmith <alan.coopersmith@sun.com> 11516Date: Wed Nov 21 16:50:04 2007 -0800 11517 11518 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 11519 11520 X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 11521 11522 Protect /* sequences from cpp pre-processor removal without transforming 11523 to Unicode mathematical asterisk character 11524 11525commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 11526Author: Jamey Sharp <jamey@minilop.net> 11527Date: Mon Oct 29 10:46:20 2007 -0700 11528 11529 Two threads can request sequence sync and XID fetch simultaneously. 11530 11531 So don't assert that they can't. 11532 11533 This makes the Xlib/XCB implementation of _XAllocID more closely 11534 resemble the traditional Xlib version. 11535 11536commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 11537Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 11538Date: Sun Oct 28 04:44:00 2007 -0800 11539 11540 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 11541 11542 <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 11543 11544commit 24527c92fd1f433ea135e85ec876a94a529fe500 11545Author: Yann Droneaud <ydroneaud@mandriva.com> 11546Date: Wed Oct 24 19:26:07 2007 +0300 11547 11548 XIM: Properly initialise client event 11549 11550 Make sure all ClientMessage fields are initialised to 0 before we send it. 11551 11552commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 11553Author: Daniel Stone <daniel@fooishbar.org> 11554Date: Wed Oct 24 19:22:22 2007 +0300 11555 11556 Colours: Fix --disable-xcms 11557 11558 Disable large tracts of colour management code when passing 11559 --disable-xcms. 11560 11561commit 11ea09745efa8de7dc82fe30ebd2393f08390957 11562Author: Eric Anholt <eric@anholt.net> 11563Date: Fri Aug 31 17:30:33 2007 -0700 11564 11565 Bug #2081: Note the range limitation of XSetScreenSaver arguments. 11566 11567commit 31540f1438ec63faf37044f2fd654b335ddf80f0 11568Author: Kristian Høgsberg <krh@redhat.com> 11569Date: Wed Aug 29 19:50:57 2007 -0400 11570 11571 Add GLX 1.4 requests and errors. 11572 11573commit 7c996f78914c77fe17e9f4feede980d895d9df51 11574Author: Eric Anholt <eric@anholt.net> 11575Date: Tue Aug 28 15:15:11 2007 -0700 11576 11577 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 11578 11579commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 11580Author: Eric S. Raymond <esr@thyrsus.com> 11581Date: Sun Jan 14 10:48:00 2007 -0800 11582 11583 Bug #9658: Bad markup on XIfEvent.3x 11584 11585 X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 11586 11587commit 74cba78daa738ef4d92096107d95c1a585933666 11588Author: Eric S. Raymond <esr@thyrsus.com> 11589Date: Sun Jan 14 10:43:00 2007 -0800 11590 11591 Bug #9655: Bad markup in XrmUniqueQuark.3x 11592 11593 X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 11594 11595commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 11596Author: Eric S. Raymond <esr@thyrsus.com> 11597Date: Sun Jan 14 10:43:00 2007 -0800 11598 11599 Bug #9654: Bad markup in XrmGetFileDatabase.3x 11600 11601 X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 11602 11603commit 2db713252090cae08f0200fecad4fc25fb64c8b1 11604Author: Eric S. Raymond <esr@thyrsus.com> 11605Date: Sun Jan 14 10:40:00 2007 -0800 11606 11607 Bug #9653: Bad markup in XQueryColor.3x 11608 11609 X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 11610 11611commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 11612Author: Eric S. Raymond <esr@thyrsus.com> 11613Date: Sun Jan 14 10:40:00 2007 -0800 11614 11615 Bug #9652: Bad markup in XDrawArc.3x 11616 11617 X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 11618 11619commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 11620Author: Eric S. Raymond <esr@thyrsus.com> 11621Date: Sun Jan 14 10:39:00 2007 -0800 11622 11623 Bug #9651: Bad markup in XcmsColor.3x 11624 11625 X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 11626 11627commit c316aaf0aab06951db9dc5c9c1148bfea835d885 11628Author: Eric S. Raymond <esr@thyrsus.com> 11629Date: Sun Jan 14 10:38:00 2007 -0800 11630 11631 Bug #9650: Bad markup in XLoadFont.3x manual page 11632 11633 X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 11634 11635commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 11636Author: Eric S. Raymond <esr@thyrsus.com> 11637Date: Tue Jan 2 10:18:00 2007 -0800 11638 11639 Bug 9523: Markup problems in XQueryExtension.3x 11640 11641 X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 11642 11643commit fe713c616e29ba19c179b43c18eca1035079ce18 11644Author: Ian Romanick <idr@us.ibm.com> 11645Date: Tue Aug 21 14:56:33 2007 -0700 11646 11647 Make sure nls/am_ET.UTF-8/Makefile is created by configure. 11648 11649commit e3430616f26b68e1439143cbe10732f3fc329d20 11650Author: Eric S. Raymond <esr@thyrsus.com> 11651Date: Tue Jan 2 08:40:00 2007 -0800 11652 11653 Bug #9516: Markup error in XAllocWMHints.3x 11654 11655 X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 11656 11657commit d8fe979fc929833e8c754aed32641786d5a0622b 11658Merge: 21ca953 4ec1723 11659Author: James Cloos <cloos@jhcloos.com> 11660Date: Mon Aug 20 15:34:50 2007 -0400 11661 11662 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 11663 11664commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 11665Author: James Cloos <cloos@jhcloos.com> 11666Date: Mon Aug 20 15:34:03 2007 -0400 11667 11668 Fix typo 11669 The code <U1000000D> was used where <U10000DC> was obviously intended. 11670 11671 It is possible that <Udiaeresis> should be used instead, if that will 11672 not break anyone’s setup. 11673 11674commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 11675Author: James Cloos <cloos@jhcloos.com> 11676Date: Mon Aug 20 15:25:48 2007 -0400 11677 11678 Add compose file for Ethiopic to match new keyboard in xkeyboard-config 11679 From bug report: 11680 11681 https://bugs.freedesktop.org/show_bug.cgi?id=11307 11682 11683commit eff33ae525337ce2026be135a26464c7b1237113 11684Author: James Cloos <cloos@jhcloos.com> 11685Date: Sat Aug 18 17:58:23 2007 -0400 11686 11687 Patch for Catalan locales 11688 From bugzilla bug 10943¹: 11689 11690 There are several Catalan locale codes which presently can 11691 be used in X11 systems; especially after they were accepted 11692 in belocs-locale-data². 11693 11694 In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 11695 locale codes. For instance, without this, using ca_AD (actually 11696 a quite used locale⁴) some applications (eg. Emacs or Skype) 11697 cannot display Catalan diacritic marks as you type them. 11698 11699 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 11700 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 11701 3] Toni Hermoso Pulido <toniher@softcatala.org> 11702 4] https://launchpad.net/~ubuntu.cat/+members 11703 11704commit 1f980cb7d022f53d0aee9e793b08203fb888e86e 11705Author: James Cloos <cloos@jhcloos.com> 11706Date: Sat Aug 18 17:47:04 2007 -0400 11707 11708 Add additional Euro signs to compose 11709 Inspired by bug 7419¹ make all of: 11710 11711 C=, =C, c=, =c, E=, =E, e=, E= 11712 11713 after <Multi_key> generate € U+20AC EURO SIGN. 11714 11715 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 11716 11717commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 11718Author: James Cloos <cloos@jhcloos.com> 11719Date: Sat Aug 18 17:29:08 2007 -0400 11720 11721 Compose fix for Latin-1 (from Debian) 11722 The description from bugzilla bug 7417¹ is: 11723 11724 We've been shipping this patch for some time in Debian now. The 11725 problem description from the patch header is reproduced below. You 11726 may want to note the licensing issue mentioned below, but we've been 11727 shipping it because the method by which this particular patch was 11728 generated and updated was also given below. 11729 11730 This patch by Denis Barbier. 11731 11732 The X11 protocol states that Unicode keysyms are in the range 11733 0x01000100 - 0x0110FFFF. If the result of composing characters is a 11734 Unicode codepoint, X returns the corresponding Unicode keysym, which 11735 is its Unicode codepoint augmented by 0x01000000. Latin-1 11736 characters must not appear with their Unicode codepoints in compose 11737 files, otherwise the returned composed character lies in the range 11738 0x01000000 - 0x010000FF which is not valid. 11739 11740 There are two solutions: either fix composing routines to return 11741 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 11742 replace U00ZZ by their corresponding keysyms in compose files. The 11743 latter is more logical and less error prone, so compose files will 11744 be patched. Many applications accept these invalid Unicode keysyms, 11745 but few of them don't, most notably xemacs. Only UTF-8 locales are 11746 affected. 11747 11748 This has been fixed very recently in XFree86 CVS (but not xorg), but 11749 for licensing reasons, this patch is not grabbed. Instead automatic 11750 conversion is performed by: 11751 11752 sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 11753 | grep -v deprecated | grep 0x0 \ 11754 | sed -e 's/0x0/U0/' -e 's/XK_//' \ 11755 | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 11756 for f in nls/*.UTF-8/Compose.pre 11757 do 11758 sed -f sedfile $f > $f.tmp && mv $f.tmp $f 11759 done 11760 11761 [I edited the quoted script to update it for the current location of 11762 the installed keysymdef.h and the current layout of the libX11 11763 repo. -JimC] 11764 11765 I applied the script, not the patch attached to the bugreport. 11766 11767 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 11768 11769commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 11770Author: James Cloos <cloos@jhcloos.com> 11771Date: Sat Aug 18 17:13:41 2007 -0400 11772 11773 Add some compose sequences 11774 11775 Add some compose sequences from the patch in bug 5371 (attachment 4122). 11776 11777 Cf: 11778 11779 https://bugs.freedesktop.org/show_bug.cgi?id=5371 11780 https://bugs.freedesktop.org/attachment.cgi?id=4122 11781 11782commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 11783Author: James Cloos <cloos@jhcloos.com> 11784Date: Sat Aug 18 13:57:31 2007 -0400 11785 11786 Fix SMP Compose targets 11787 The compose targets from the SMP (plane 1) were incorrect. 11788 11789 At some point the 0x10000 bit had been lost. 11790 11791commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 11792Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 11793Date: Thu Aug 16 17:37:22 2007 -0500 11794 11795 Fix a mutex reference-counting bug. 11796 11797 I was told that some systems have a much more permissive libpthread. 11798 I was asked to commit this. This is from NetBSD's X source. 11799 (I didn't receive any feedback on xorg list for over two weeks 11800 about this.) 11801 11802commit ac00a44b4875de70382da5a40dd87f976e5b9327 11803Author: Tilman Sauerbeck <tilman@code-monkey.de> 11804Date: Wed Aug 1 20:36:03 2007 +0200 11805 11806 Bumped version to 1.1.3. 11807 11808commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 11809Author: Joerg Sonnenberger <joerg@netbsd.org> 11810Date: Fri Jul 27 11:15:47 2007 -0700 11811 11812 Fail properly on errors in recursive make. 11813 11814commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 11815Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 11816Date: Thu Jul 26 23:31:15 2007 +0200 11817 11818 Add missing override parameter in XrmCombineDatabase prototype in the manpage 11819 11820 Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 11821 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 11822 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 11823 11824 Also add the type of the second argument in XrmMergeDatabases. 11825 11826commit 6f0764d4b56f64786b4980839ca262f10a51af6f 11827Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 11828Date: Thu Jul 26 22:53:52 2007 +0200 11829 11830 Clarify return value of XGetCommand in case of error in the manpage 11831 11832 Reported by Sean Perry <shalehperry@attbi.com> 11833 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 11834 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 11835 11836commit b8bef57342632cc2d25580bb7daa3839bae04d89 11837Author: Alan Coopersmith <alan.coopersmith@sun.com> 11838Date: Wed Jul 25 17:44:06 2007 -0700 11839 11840 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 11841 11842commit 590cde811a79375231c59ed8583e02b111ed567c 11843Author: Kean Johnston <kean@armory.com> 11844Date: Thu Jul 19 16:44:20 2007 -0700 11845 11846 Reset hostname when falling back from :0 to hostname/localhost:0 as well 11847 11848commit d334665e619e9db657a2ea2764a8b852401d4a3f 11849Author: Kean Johnston <kean@armory.com> 11850Date: Tue Jul 17 16:34:30 2007 -0700 11851 11852 LOCALCONN fallback changes DisplayString() output, breaks KDE 11853 11854 See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 11855 11856commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 11857Author: Olivier Blin <blino@mandriva.org> 11858Date: Mon Jun 11 18:32:09 2007 +1000 11859 11860 fix XGetMotionEvents arguments order - Fixes bug 11222 11861 11862commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 11863Author: Jamey Sharp <jamey@minilop.net> 11864Date: Sun Jun 10 16:19:59 2007 -0700 11865 11866 Fix locking in _XimGetWindowEventmask. 11867 11868 Now that XFilterEvent drops the Display lock before invoking callback 11869 functions, _XimGetWindowEventmask is called without the lock held. So 11870 when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 11871 that does not lock the Display, Xlib/XCB would assert: 11872 11873 xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 11874 11875 Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 11876 11877commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 11878Author: Jamey Sharp <jamey@minilop.net> 11879Date: Sun Jun 3 21:41:47 2007 -0700 11880 11881 Move security fixes to the top of NEWS, and fix spacing. 11882 11883 Commit by Josh Triplett and Jamey Sharp. 11884 11885commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 11886Author: Jamey Sharp <jamey@minilop.net> 11887Date: Sun Jun 3 21:29:40 2007 -0700 11888 11889 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 11890 11891 Commit by Josh Triplett and Jamey Sharp 11892 11893commit 5123b77a3d32d3ad479462f319762c328278aed9 11894Author: Jamey Sharp <jamey@minilop.net> 11895Date: Sun Jun 3 21:24:54 2007 -0700 11896 11897 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 11898 11899 Commit by Josh Triplett and Jamey Sharp. 11900 11901commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 11902Author: Jamey Sharp <jamey@minilop.net> 11903Date: Sun Jun 3 20:59:12 2007 -0700 11904 11905 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 11906 11907 Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 11908 _XReadEvents always enqueues at least one event even if an error occurred, 11909 because the one call to xcb_wait_for_event would then return an error, not an 11910 event, and nothing else ensured that process_responses would obtain an event. 11911 Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 11912 f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 11913 process_responses, wait_for_first_event now serves as a flag, cleared when 11914 actually handling an event. 11915 11916 Commit by Josh Triplett and Jamey Sharp. 11917 11918commit e2c1d788d1fe7bd2d34756493951552441e59b8c 11919Author: Jamey Sharp <jamey@minilop.net> 11920Date: Sun Jun 3 17:33:23 2007 -0700 11921 11922 Xlib/XCB: Only remove pending_requests when there are provably no more responses. 11923 11924commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 11925Author: Josh Triplett <josh@freedesktop.org> 11926Date: Sun Jun 3 15:39:39 2007 -0700 11927 11928 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 11929 11930 Signed-off-by: Josh Triplett <josh@freedesktop.org> 11931 11932commit 416f38f2e67ee1979b3d2feac6f06b3670238804 11933Author: Josh Triplett <josh@freedesktop.org> 11934Date: Sun Jun 3 12:13:44 2007 -0700 11935 11936 Revert "Revert "include: don't distribute XlibConf.h"" 11937 11938 This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 11939 11940 Re-revert the XlibConf.h change, which prevented distribution, not 11941 installation. 11942 11943commit 79fa3d8070d95b960ba486f2439225872471dadd 11944Author: Josh Triplett <josh@freedesktop.org> 11945Date: Sat Jun 2 22:05:16 2007 -0700 11946 11947 Revert "include: don't distribute XlibConf.h" 11948 11949 This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 11950 11951 The installed XlibInt.h includes XlibConf.h , so libX11 should ship 11952 XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 11953 prevent automake from shipping XlibConf.h, because it used 11954 nodist_x11include_HEADERS rather than nodist_HEADERS.) 11955 11956commit f417570735aac865eb6b576d1ea76b5bfcd8573b 11957Author: Jamey Sharp <jamey@minilop.net> 11958Date: Sat Jun 2 17:59:15 2007 -0700 11959 11960 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 11961 11962 Commit by Josh Triplett and Jamey Sharp. 11963 11964commit c337f9de7cfd89f983f83956b7457a274dd412f3 11965Author: Jamey Sharp <jamey@minilop.net> 11966Date: Sat Jun 2 17:46:41 2007 -0700 11967 11968 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 11969 11970 Commit by Jamey Sharp and Josh Triplett. 11971 11972commit 7f66c897f04806b75e574b55b48921b48045e3f9 11973Author: Jamey Sharp <jamey@minilop.net> 11974Date: Sat Jun 2 16:43:39 2007 -0700 11975 11976 Update _XReply's copy of _XCBUnlockDisplay's guts. 11977 11978 We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 11979 11980 Also add a comment in _XCBUnlockDisplay to discourage this problem from 11981 respawning. 11982 11983 Commit by Josh Triplett and Jamey Sharp. 11984 11985commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 11986Author: Jamey Sharp <jamey@minilop.net> 11987Date: Sat Jun 2 16:01:01 2007 -0700 11988 11989 Xlib/XCB: Avoid re-crashing after _XIOError. 11990 11991 Commit by Josh Triplett and Jamey Sharp. 11992 11993commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 11994Author: Jamey Sharp <jamey@minilop.net> 11995Date: Sat Jun 2 12:30:30 2007 -0700 11996 11997 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 11998 11999 An Xlib client can query Display state, such as with NextRequest, while 12000 it holds only the Xlib user lock (between XLockDisplay and 12001 XUnlockDisplay), so XCB requests in other threads should be blocked when 12002 the Xlib user lock is held. 12003 12004 We acquire the lock even when XInitThreads was not called, so that pure 12005 XCB code can use multiple threads even in an otherwise single-threaded 12006 Xlib application. 12007 12008 Commit by Josh Triplett and Jamey Sharp. 12009 12010commit 95523387d619af5b400748898d722e080b5ce1a6 12011Author: Jamey Sharp <jamey@minilop.net> 12012Date: Sat Jun 2 11:57:39 2007 -0700 12013 12014 Allow re-entrant Xlib calls from _XIOError. 12015 12016 Some libraries try to clean up X resources from atexit handlers, _fini, 12017 or C++ destructors. To make these work, the Display lock should be 12018 downgraded to a user lock (as in XLockDisplay) before calling exit(3). 12019 This blocks Xlib calls from threads other than the one calling exit(3) 12020 while still allowing the exit handlers to call Xlib. 12021 12022 This assumes that the thread calling exit will call any atexit handlers. 12023 If this does not hold, then an alternate solution would involve 12024 registering an atexit handler to take over the lock, which would only 12025 assume that the same thread calls all the atexit handlers. 12026 12027 Commit by Josh Triplett and Jamey Sharp. 12028 12029commit 91b02b8064f4e0bcc56019f0722914850008a597 12030Author: Tilman Sauerbeck <tilman@code-monkey.de> 12031Date: Thu May 17 19:07:34 2007 +0200 12032 12033 More constification. 12034 12035commit a4f3841940158351f9424c3f59b305cce877177d 12036Author: Tilman Sauerbeck <tilman@code-monkey.de> 12037Date: Thu May 17 00:29:43 2007 +0200 12038 12039 Constified composite text charset table. 12040 12041commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 12042Author: Tilman Sauerbeck <tilman@code-monkey.de> 12043Date: Wed May 16 23:19:22 2007 +0200 12044 12045 Have the compiler fill in hexTable so we don't have to do it at runtime. 12046 12047commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 12048Author: Tilman Sauerbeck <tilman@code-monkey.de> 12049Date: Wed May 16 19:36:23 2007 +0200 12050 12051 More constification. 12052 12053commit 6d2bed8f04942b4de086a519ac693e729c9fdeea 12054Author: Tilman Sauerbeck <tilman@code-monkey.de> 12055Date: Wed May 16 19:18:20 2007 +0200 12056 12057 Constify and clean up token table. 12058 12059commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 12060Author: Tilman Sauerbeck <tilman@code-monkey.de> 12061Date: Wed May 16 18:24:42 2007 +0200 12062 12063 Constified more tables. 12064 12065commit e699c4231c205ef00d687b6412308d031b99806b 12066Author: Tilman Sauerbeck <tilman@code-monkey.de> 12067Date: Wed May 16 18:01:23 2007 +0200 12068 12069 Constified error list. 12070 12071commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 12072Author: Peter Hutterer <peter@cs.unisa.edu.au> 12073Date: Tue May 15 16:54:01 2007 +0930 12074 12075 Add XGenericEvent definition and handling for long events. 12076 12077commit c76d30253f1483ac8200ad5c032a818907e65030 12078Author: Jan Willem Stumpel <jstumpel@planet.nl> 12079Date: Fri May 4 12:00:49 2007 -0700 12080 12081 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 12082 12083 Cf: 12084 12085 https://bugs.freedesktop.org/show_bug.cgi?id=10851 12086 https://bugs.freedesktop.org/show_bug.cgi?id=10824 12087 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 12088 12089 The greek keyboard definition was changed to replace dead_horn and 12090 dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 12091 COMBINING REVERSED COMMA ABOVE (aka Dasia). 12092 12093 This patch modifies the Greek Compose.pre to match. 12094 12095 It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 12096 posted to 386385@bugs.debian.org: 12097 12098 #!/usr/bin/perl 12099 while (<>) { 12100 print $_; 12101 if (/dead_horn/) { 12102 s/dead_horn/U0313/; 12103 print $_; 12104 } 12105 elsif (/dead_ogonek/) { 12106 s/dead_ogonek/U0314/; 12107 print $_; 12108 } 12109 } 12110 12111commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 12112Author: Magnus Kessler <Magnus.Kessler@gmx.net> 12113Date: Tue May 1 15:20:08 2007 +0200 12114 12115 Switched function definitions from K&R to ANSI style. 12116 12117commit 605d357074d556a05a3fba2e85cbea36a3204248 12118Author: Tilman Sauerbeck <tilman@code-monkey.de> 12119Date: Tue May 1 14:47:03 2007 +0200 12120 12121 Tweaked configure output about the man pages suffix. 12122 12123commit 9824b40d2af4ca2376512c1be7743da0d5065900 12124Author: Alan Coopersmith <alan.coopersmith@sun.com> 12125Date: Sat Apr 28 00:42:18 2007 -0700 12126 12127 Fix typo in nroff macro in XkbAddGeomOverlayKey.man 12128 12129commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 12130Author: Alan Coopersmith <alan.coopersmith@sun.com> 12131Date: Sat Apr 28 00:30:55 2007 -0700 12132 12133 Protect C comments and #defines in XKB man pages from being mangled by cpp 12134 12135commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 12136Author: Alan Coopersmith <alan.coopersmith@sun.com> 12137Date: Sat Apr 28 00:14:50 2007 -0700 12138 12139 Add Makefile to process/install XKB man pages 12140 12141commit d9954c6f6f3a8c406b946acd0d034ff83c656156 12142Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 12143Date: Thu Aug 19 00:00:00 1999 -0700 12144 12145 Add man pages for XKB API's 12146 12147 Man pages originally written for X11R6.4 integration to Solaris 7 11/99 12148 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 12149 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 12150 12151 (Volunteer needed to convert prototypes in man pages to ANSI C style...) 12152 12153commit f640a49b5e2ebf29f9d655df544c63bf826f619a 12154Author: Tilman Sauerbeck <tilman@code-monkey.de> 12155Date: Fri Apr 20 18:39:59 2007 +0200 12156 12157 Markup tweak for XOpenIM. 12158 12159commit e972b0bb255af4f3258217852542faf5afa60b28 12160Author: Julien Cristau <jcristau@debian.org> 12161Date: Fri Apr 20 18:35:09 2007 +0200 12162 12163 Bug #9695: Fixed a few argument types in the XOpenIM manpage. 12164 12165commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 12166Author: Julien Cristau <jcristau@debian.org> 12167Date: Fri Apr 20 18:28:52 2007 +0200 12168 12169 Bug #9697: Fixed documentation of XVisualInfo struct. 12170 12171 The "depth" member was said to be unsigned int, but it's signed. 12172 12173commit 4068f3dae01c630f825002673b1d3a047ad61863 12174Author: Julien Cristau <jcristau@debian.org> 12175Date: Fri Apr 20 16:41:21 2007 +0200 12176 12177 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 12178 12179commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 12180Author: Tilman Sauerbeck <tilman@code-monkey.de> 12181Date: Sat Apr 7 14:42:55 2007 +0200 12182 12183 Use unistd.h to get getresuid() and friends. 12184 12185 This works since we now have _GNU_SOURCE defined. 12186 12187commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 12188Author: Tilman Sauerbeck <tilman@code-monkey.de> 12189Date: Sat Apr 7 14:27:12 2007 +0200 12190 12191 Bug #10562: Define _GNU_SOURCE on glibc systems. 12192 12193commit a225a0be48770beb689d5ac5da97073634f7deab 12194Author: Tilman Sauerbeck <tilman@code-monkey.de> 12195Date: Fri Apr 6 12:46:25 2007 +0200 12196 12197 For nls/*.pre, allow people to comment lines by starting them with '##'. 12198 12199 This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 12200 Fixing that file would have been a larger diff, and using ## may be 12201 nicer to use anyway. 12202 12203commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 12204Author: Tilman Sauerbeck <tilman@code-monkey.de> 12205Date: Fri Apr 6 11:59:31 2007 +0200 12206 12207 Bug #10475: Fixed lots of char*/const char* mixups. 12208 12209 I didn't fix all of them, as that would require touching 12210 public headers. 12211 12212commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 12213Author: Matthias Hopf <mhopf@suse.de> 12214Date: Thu Apr 5 11:53:18 2007 +0200 12215 12216 Fix 64bit issues with reallocation. 12217 12218commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 12219Author: Tilman Sauerbeck <tilman@code-monkey.de> 12220Date: Wed Apr 4 18:41:18 2007 +0200 12221 12222 Fixed a few warnings. 12223 12224commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 12225Author: Matthieu Herrb <matthieu@roadrock.(none)> 12226Date: Tue Apr 3 15:39:52 2007 +0200 12227 12228 Multiple integer overflows in the XGetPixel() and XInitImage functions 12229 12230 CVE-2007-1667 12231 12232commit 0284b144340a455a4b5b5011d81ac5a610372291 12233Author: David Baron <dbaron@dbaron.org> 12234Date: Fri Mar 30 17:07:46 2007 +0200 12235 12236 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 12237 12238 Now only those fields of the respective hint struct are set that 12239 are actually valid in the input data. 12240 The changed functions are: 12241 XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 12242 12243commit 0994faa0c76c45b106442db461b8a30a3e1c9395 12244Author: Tilman Sauerbeck <tilman@code-monkey.de> 12245Date: Thu Mar 29 17:31:25 2007 +0200 12246 12247 Fixed the change from the previous SendEvent commit. 12248 12249 Testing a different patch than the one you commit is bad, right? 12250 12251commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 12252Author: Tilman Sauerbeck <tilman@code-monkey.de> 12253Date: Wed Mar 28 22:23:44 2007 +0200 12254 12255 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 12256 12257commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 12258Author: David Baron <dbaron@dbaron.org> 12259Date: Wed Mar 28 22:21:40 2007 +0200 12260 12261 Bug #7713: Initialize all of the event's fields before sending it. 12262 12263commit bc80f9fe3ccce40ee41246b97470c4f0519756ad 12264Author: Julien Cristau <jcristau@debian.org> 12265Date: Sun Mar 18 13:14:48 2007 +0100 12266 12267 Bug #9279: Fixed a file descriptor leak. 12268 12269commit c9e28e05ae01ce8a29bea09df759b6271865b44c 12270Author: Daniel Stone <daniel@fooishbar.org> 12271Date: Sat Dec 16 00:45:19 2006 +0200 12272 12273 include: don't distribute XlibConf.h 12274 12275 Since XlibConf.h is built by configure, don't distribute it. 12276 12277commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 12278Merge: 129bbb9 769b985 12279Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 12280Date: Thu Dec 14 14:23:20 2006 -0600 12281 12282 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 12283 12284commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 12285Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 12286Date: Thu Dec 14 14:21:19 2006 -0600 12287 12288 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 12289 12290commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 12291Author: Daniel Stone <daniel@fooishbar.org> 12292Date: Wed Dec 6 18:53:00 2006 +0200 12293 12294 Makefile.am: make ChangeLog hook safer 12295 12296 Make ChangeLog hook as safe as possible. 12297 (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 12298 12299commit 8a8185a649e93b90ffa820387ffdca831227f5a9 12300Author: Josh Triplett <josh@freedesktop.org> 12301Date: Thu Nov 30 18:33:13 2006 -0800 12302 12303 Add autogen.sh to EXTRA_DIST. 12304 12305commit efe817f95ef8d05e863c83147e903140bc860de4 12306Author: Jamey Sharp <jamey@minilop.net> 12307Date: Thu Nov 30 17:58:35 2006 -0800 12308 12309 Release libX11 1.1.1. 12310 12311commit f637a5b03164263a3af2e644cf655e52b015f1bb 12312Author: Ross Combs <rocombs@cs.nmsu.edu> 12313Date: Sat Nov 25 14:45:17 2006 -0800 12314 12315 Debian bug #354315: Clarify return value in XGetWindowAttributes man page 12316 12317 This man page does not discuss the actual return values of the 12318 function, but says they are of type "Status". One might assume 12319 that this means you could compare it with the "Success" macro. 12320 One would be wrong. 12321 12322 The X functions seem to have two three types representing status. 12323 If it is an "int" there are a number of error codes or "Success" 12324 which can be compared against. If it is a bool, the result can be 12325 compared with "True" or "False". If the return type is "Status" it 12326 appears that the return type is either 0 or 1. Unfortunately the 12327 value for Success is zero, so it is important to distinguish 12328 between the first two types of return values and the third; 12329 otherwise the conditional will be inverted. 12330 12331 XGetWindowAttributes() is one of the functions which returns zero 12332 for failure. The man page should make this clear. 12333 12334commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 12335Author: Jamey Sharp <jamey@minilop.net> 12336Date: Sat Nov 25 14:23:45 2006 -0800 12337 12338 Bug #9154: Always process an event for _XReadEvents, even if an error occurs 12339 12340 Previously, process_responses (in the wait_for_first_event case called 12341 from _XReadEvents) considered any return from xcb_wait_for_event 12342 sufficient to think it had processed an event. If xcb_wait_for_event 12343 returned an error, and no more events occurred before process_responses 12344 called xcb_poll_for_event, process_responses would try to return with 12345 dpy->head NULL, and would fail an assertion for the _XReadEvents 12346 postcondition. Now, process_responses continues using xcb_wait_for_event 12347 until it gets an event. 12348 12349commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 12350Author: Tilman Sauerbeck <tilman@code-monkey.de> 12351Date: Sat Nov 25 05:29:31 2006 -0800 12352 12353 Bug #9153: Fix access to freed memory. 12354 12355 The fix for bug #8622 introduced a smaller bug where _XReply would 12356 read memory shortly after freeing it. This patch caches the needed 12357 value in a stack-allocated variable before the heap-allocated memory 12358 is freed. 12359 12360commit 934ca763bbc0dd7ae460469bfc000ba101602bcc 12361Author: Josh Triplett <josh@freedesktop.org> 12362Date: Fri Nov 24 19:57:58 2006 -0800 12363 12364 libx11 doesn't use inputproto in public headers; don't require it in x11.pc 12365 12366 Based on a Debian patch. 12367 12368commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 12369Author: Josh Triplett <josh@freedesktop.org> 12370Date: Thu Nov 23 07:19:32 2006 -0800 12371 12372 Release libX11 1.1 12373 12374commit a1168e11ec9377307c51a7271faec3bf88a63a66 12375Author: Jamey Sharp <jamey@minilop.net> 12376Date: Tue Nov 21 17:52:34 2006 -0800 12377 12378 Add note in man-page that XListFontsWithInfo is not thread-safe. 12379 12380 _XReply drops the Display lock, so the value of dpy->request may change 12381 before _XReply is called again. 12382 12383 I discovered this by inspection a year or two ago. I'm pretty confident 12384 in the claim, and nobody has come up with an argument for why it's safe 12385 despite appearances. 12386 12387commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 12388Author: Jamey Sharp <jamey@minilop.net> 12389Date: Sat Nov 18 15:39:26 2006 -0800 12390 12391 Bug #8622: Fix response processing order for threaded apps 12392 12393 Previously, process_responses (the common code for _XReply, 12394 _XReadEvents, and _XEventsQueued) took the current request sequence 12395 number as an argument, and did some highly complicated processing to 12396 attempt to process responses in order across threads. This didn't 12397 actually work. 12398 12399 Now, process_responses handles responses in order, by adding condition 12400 variables to the list of outstanding requests in 12401 dpy->xcb->pending_requests, and blocking on them when those requests 12402 should get processed to allow _XReply to process them; if actually 12403 called from _XReply, it returns when _XReply's request should get 12404 processed. _XReply broadcasts on the condition variable after it has 12405 read its reply and re-acquired the display lock. 12406 12407 Another great commit brought to you by Jamey Sharp, Josh Triplett, the 12408 Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 12409 forwarding. 12410 12411 Signed-off-by: Josh Triplett <josh@freedesktop.org> 12412 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12413 12414commit 941f02ede63baa46f93ed8abccebe76fb29c0789 12415Author: Lars Knoll <lars@trolltech.com> 12416Date: Wed Nov 8 12:17:41 2006 -0800 12417 12418 Don't hold the display lock around callbacks to the application. 12419 12420 This fixes an XCB locking assertion failure, particularly with emacs. 12421 12422commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 12423Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 12424Date: Tue Nov 7 09:32:00 2006 -0800 12425 12426 Add xcb-xlib dependency to x11.pc when built against XCB. 12427 12428commit 2302008a3793eb4df8ede777d54fe06505c47eaf 12429Author: Eric Anholt <eric@anholt.net> 12430Date: Mon Nov 6 17:11:42 2006 -0800 12431 12432 XCB: Allocate the right amount of memory for dpy->lock_fns. 12433 12434 Fixes a crash I was experiencing on startup of anything using gdk. 12435 12436commit 5f860655be88108b03ccd97470a0814819254bf0 12437Author: Jamey Sharp <jamey@minilop.net> 12438Date: Thu Nov 2 17:55:31 2006 -0800 12439 12440 Release libX11 1.1 RC2 (1.0.99.2). 12441 12442commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 12443Author: Benno Schulenberg <bensberg@justemail.net> 12444Date: Sun Oct 29 03:10:30 2006 +0300 12445 12446 nls (en_US): remove long compositions that override shorter (bug #2286) 12447 Remove long compositions that override (or get overriden by) later shorter 12448 compositions, e.g. a four-key compose sequence that gets overriden by a 12449 later three-key compose sequence. 12450 12451commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 12452Author: Benno Schulenberg <bensberg@justemail.net> 12453Date: Sun Oct 29 03:08:36 2006 +0300 12454 12455 nls: remove shadowed compose entries (bug #2286) 12456 Remove compose entries shadowed by others later on. 12457 12458commit d118f2b1ef10997194b281524177dea7396da7dd 12459Author: Benno Schulenberg <bensberg@justemail.net> 12460Date: Sun Oct 29 03:07:15 2006 +0300 12461 12462 nls: remove duplicate compose entries (bug #2286) 12463 Remove a bunch of duplicate entries from various Compose files. 12464 12465commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 12466Author: Caolan McNamara <caolanm@redhat.com> 12467Date: Sun Oct 29 02:46:15 2006 +0300 12468 12469 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 12470 Don't leak the name and value of every property we parse, as well as the 12471 name of every colour. 12472 12473commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 12474Author: Matthias Hopf <mhopf@suse.de> 12475Date: Wed Oct 18 14:25:04 2006 +0200 12476 12477 Fix double open of compose file. 12478 12479 Issue found by Kees Cook <kees@canonical.com>. 12480 12481commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 12482Author: Jamey Sharp <jamey@minilop.net> 12483Date: Sat Oct 14 21:25:10 2006 -0700 12484 12485 XCB: check for and handle I/O errors in _XGetXCBBuffer. 12486 12487commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 12488Author: Jamey Sharp <jamey@minilop.net> 12489Date: Wed Oct 11 00:06:50 2006 -0700 12490 12491 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 12492 12493commit 1eedf1bd033e496843cfde42ae4ae5a119298605 12494Author: Jamey Sharp <jamey@minilop.net> 12495Date: Tue Oct 10 23:03:28 2006 -0700 12496 12497 Add correct Display locking to XKB functions. 12498 12499 Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 12500 This patch fixes at least some instances of that problem. 12501 12502 Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 12503 and proposing a fix, which this patch is based on. 12504 12505commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 12506Author: David Nusinow <dnusinow@debian.org> 12507Date: Tue Oct 10 22:11:05 2006 -0400 12508 12509 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 12510 12511commit e53557da969b706dbc843f6fde3db31ffe382e0f 12512Author: Jamey Sharp <jamey@minilop.net> 12513Date: Sat Oct 7 21:00:36 2006 -0700 12514 12515 Release libX11 1.1 RC1 (1.0.99.1). 12516 12517commit bf237409c5fce32c557d298f62f44d456c2b5bc8 12518Merge: ba47719 2d426d1 12519Author: Jamey Sharp <jamey@minilop.net> 12520Date: Sat Oct 7 21:07:16 2006 -0700 12521 12522 As XCB support is about to be released in libX11, stable is now subsumed by master. 12523 12524commit ba477191c67ce93e61423cc1abe35275704cce50 12525Author: Jamey Sharp <jamey@minilop.net> 12526Date: Sat Oct 7 03:48:13 2006 -0700 12527 12528 XCB: Don't rely on having the definition of struct xcb_setup_t available. 12529 12530commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 12531Author: Jamey Sharp <jamey@minilop.net> 12532Date: Fri Oct 6 16:27:31 2006 -0700 12533 12534 xcb_poll_for_event no longer takes an 'int *error' out-parameter. 12535 12536commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 12537Author: Josh Triplett <josh@freedesktop.org> 12538Date: Fri Oct 6 16:26:11 2006 -0700 12539 12540 Actually ship Xxcbint.h 12541 12542commit 7b027e53b5e393082f4f515c8ba18077eb97163f 12543Author: Josh Triplett <josh@freedesktop.org> 12544Date: Fri Oct 6 16:25:50 2006 -0700 12545 12546 Clean ChangeLog only in "make maintainer-clean", not "make clean" 12547 12548 ChangeLog requires a git repo to generate; make clean and make distclean 12549 shouldn't get rid of it. 12550 12551commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 12552Author: Josh Triplett <josh@freedesktop.org> 12553Date: Fri Oct 6 16:24:58 2006 -0700 12554 12555 Add ChangeLog and "make dist"-generated files to .gitignore 12556 12557commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 12558Author: Josh Triplett <josh@freedesktop.org> 12559Date: Fri Oct 6 15:53:27 2006 -0700 12560 12561 Add manual pages for XGetXCBConnection and XSetEventQueueOwner 12562 12563commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 12564Author: Josh Triplett <josh@freedesktop.org> 12565Date: Fri Oct 6 13:41:16 2006 -0700 12566 12567 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 12568 12569commit ab728ca372288d0db1b486c265e34c1376f29104 12570Author: Josh Triplett <josh@freedesktop.org> 12571Date: Fri Oct 6 12:36:39 2006 -0700 12572 12573 XCL is dead; long live Xlib/XCB 12574 12575 Rename all instances of "XCL" to Xlib/XCB-derived names. 12576 12577 The only user-visible change: rename the include file <X11/xcl.h> to 12578 <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 12579 12580 Remove the XCL cast inlines from Xlib-xcb.h. 12581 12582commit 5b73093203039d307eb7ab3845c3ced207e9e26c 12583Author: Josh Triplett <josh@freedesktop.org> 12584Date: Fri Oct 6 11:33:49 2006 -0700 12585 12586 Add XCB developers to AUTHORS 12587 12588commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 12589Author: Josh Triplett <josh@freedesktop.org> 12590Date: Fri Oct 6 11:21:28 2006 -0700 12591 12592 Fix email addresses in README 12593 12594commit 12f038669278019594ca0ed53dadcf4e84092422 12595Author: Jamey Sharp <jamey@minilop.net> 12596Date: Fri Oct 6 02:13:05 2006 -0700 12597 12598 XCB: Handle all responses in order of monotonically increasing sequence number. 12599 12600commit f392680273278b43079302206897f794e60f3c70 12601Author: Josh Triplett <josh@freedesktop.org> 12602Date: Fri Oct 6 01:11:08 2006 -0700 12603 12604 Actually install x11-xcb.pc, and ship x11-xcb.pc.in 12605 12606commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 12607Author: Jamey Sharp <jamey@minilop.net> 12608Date: Thu Oct 5 18:32:29 2006 -0700 12609 12610 XCB: correctly handle failure to connect to X server. 12611 12612commit e754b3b078d556c7861da56aad47d244e9199e06 12613Author: Josh Triplett <josh@freedesktop.org> 12614Date: Thu Oct 5 17:44:22 2006 -0700 12615 12616 Split public Xlib/XCB functions into libX11-xcb 12617 12618 We can never change the libX11 soname, and we don't want to commit to never 12619 changing the public Xlib/XCB functions, so split them into a separate library 12620 libX11-xcb. This also means that a program linked solely against libX11 12621 should work with either Xlib or Xlib/XCB, which will make life easier for 12622 package maintainers. 12623 12624 Signed-off-by: Josh Triplett <josh@freedesktop.org> 12625 Acked-by: Jamey Sharp <jamey@minilop.net> 12626 12627commit ffd367f708b295abaedf3a23a1bfd4710d171d6f 12628Author: Jamey Sharp <jamey@minilop.net> 12629Date: Wed Oct 4 17:16:46 2006 -0700 12630 12631 No longer #include Xmd from xcl.h: we do not need it. 12632 12633commit 3aff149d42ba8ed620091971b3766bdf96c62aaf 12634Author: Jamey Sharp <jamey@minilop.net> 12635Date: Wed Oct 4 16:58:32 2006 -0700 12636 12637 XCB: Revert locking to simple wrapper around libX11's normal locks. 12638 12639 No more recursive mutexes, no more banging XCB's I/O lock in-place, and 12640 reduces the differences between the previous stable release and an 12641 XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 12642 too, now. I apologize to the world. 12643 12644commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 12645Author: Jamey Sharp <jamey@minilop.net> 12646Date: Mon Sep 25 04:54:52 2006 -0700 12647 12648 Link explicitly against XCB's Xlib compatibility functions. 12649 12650commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 12651Author: Jamey Sharp <jamey@minilop.net> 12652Date: Mon Sep 25 04:13:20 2006 -0700 12653 12654 libxcb now installs header files in <xcb>, not <X11/XCB>. 12655 12656commit 87d00207f5a1f25a45a153618739cd6481814f89 12657Author: Ian Osgood <iano@quirkster.com> 12658Date: Sun Sep 24 23:39:01 2006 -0700 12659 12660 Track XCB's "Great Renaming". 12661 12662commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 12663Author: Jamey Sharp <jamey@minilop.net> 12664Date: Tue Sep 12 23:02:42 2006 -0700 12665 12666 Quit using XCBGetQueuedRequestRead. 12667 12668commit a61936fc4e9bd93b108764bbacd5b8f786e51915 12669Author: Tollef Fog Heen <tfheen@err.no> 12670Date: Wed Aug 30 00:05:54 2006 +0300 12671 12672 nls: use _XlcUtf8Loader for en_US (bug #7982) 12673 Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 12674 every other locale. 12675 12676commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 12677Author: Alan Coopersmith <alan.coopersmith@sun.com> 12678Date: Wed Aug 23 18:49:30 2006 -0700 12679 12680 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 12681 12682 Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 12683 connect on a named pipe, try a Unix socket first, to better support people who 12684 replace their X servers with ones that don't support named pipe transport. 12685 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 12686 12687commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 12688Author: Mark Brown <mark.brown@sun.com> 12689Date: Thu Jul 27 19:17:10 2006 -0700 12690 12691 Sun bug 1149809: Document event delivery when grab is terminated. 12692 12693commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 12694Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 12695Date: Thu Jul 27 18:47:06 2006 -0700 12696 12697 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 12698 12699 Document that 32-bit format properties are always returned in arrays of type 12700 long, even on systems where long is 64-bits. 12701 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 12702 12703commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 12704Author: Alan Coopersmith <alan.coopersmith@sun.com> 12705Date: Mon Jul 24 15:52:00 2006 -0700 12706 12707 Add support for "make lint" to check code with lint/sparse/etc. 12708 12709commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 12710Author: Alan Coopersmith <alan.coopersmith@sun.com> 12711Date: Mon Jul 24 15:50:52 2006 -0700 12712 12713 ANSIfy some static function definitions 12714 12715commit 20b7abcaac324d90454de63f32f4a2b398e69e63 12716Author: Alan Coopersmith <alan.coopersmith@sun.com> 12717Date: Mon Jul 24 15:01:40 2006 -0700 12718 12719 Fix sparse warning: Using plain integer as NULL pointer 12720 12721commit d158ab29930513c4097f5b67e7bea08ed2bfd62c 12722Author: Alan Coopersmith <alan.coopersmith@sun.com> 12723Date: Mon Jul 24 14:00:24 2006 -0700 12724 12725 Remove unused variable 12726 12727commit 30377000375bdb958042dcb1f38503c94ef21eaf 12728Author: Eric Anholt <anholt@FreeBSD.org> 12729Date: Fri Jul 21 18:55:36 2006 -0400 12730 12731 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 12732 12733commit 4eba45879aea4e415ab550ee56b900d060099110 12734Author: Matthieu Herrb <matthieu.herrb@laas.fr> 12735Date: Sun Jul 16 10:55:39 2006 +0200 12736 12737 set GIT_DIR=${srcdir}/.git for git-log 12738 12739commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 12740Author: Aaron Plattner <aplattner@nvidia.com> 12741Date: Tue Jul 11 13:27:49 2006 -0700 12742 12743 Add a .PHONY to ensure the ChangeLog isn't stale. 12744 12745 Setting the ChangeLog rule as phony forces it to be re-run even when the 12746 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 12747 Solaris make. 12748 (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 12749 12750commit b8a98809ed81e1226775e6447ef219ffc01334b5 12751Author: Aaron Plattner <aplattner@nvidia.com> 12752Date: Tue Jul 11 13:27:49 2006 -0700 12753 12754 Add a .PHONY to ensure the ChangeLog isn't stale. 12755 12756 Setting the ChangeLog rule as phony forces it to be re-run even when the 12757 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 12758 Solaris make. 12759 12760commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 12761Author: Mayank Jain <majain@redhat.com> 12762Date: Tue Jul 11 19:42:47 2006 +0100 12763 12764 add Indian language locales 12765 Add as, kn, ml, or, ur, and te locales. 12766 12767commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 12768Author: Matthias Hopf <mhopf@suse.de> 12769Date: Tue Jul 4 12:16:30 2006 +0200 12770 12771 Fix for autoconf 2.60 issue. 12772 12773 Updated AC_DEFINE_DIR. 12774 Reverted datarootdir change. 12775 12776commit 644f4828b15bce42b597eb123ba0bbc372c46c03 12777Author: Keith Packard <keithp@neko.keithp.com> 12778Date: Sat Jul 1 21:31:23 2006 -0700 12779 12780 Work around recent autoconf (2.59?) changes in directory expansion. 12781 12782 Recent autoconf versions have changed how directory names are managed in the 12783 configure.ac script; automatic 'eval' invocations now occur as a part of the 12784 AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 12785 before the variables are used in further macro definitions. Also, ${datadir} 12786 is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 12787 expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 12788 is easy to work around by just using ${datarootdir} instead of ${datadir}. 12789 12790commit be70a31229aa106aff0a09d78c00812682cd3475 12791Author: Keith Packard <keithp@neko.keithp.com> 12792Date: Sat Jul 1 01:56:05 2006 -0700 12793 12794 Xlib/XCB: handle 32-bit sequence wrap. 12795 12796 Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 12797 XCB). 12798 Account for XCB sequence 0 handling. 12799 12800commit 99c711707ad08e1396e123b1c7df687c560a489a 12801Author: Donnie Berkholz <spyderous@gentoo.org> 12802Date: Thu Jun 29 19:43:20 2006 -0700 12803 12804 Bump version to 1.0.3. 12805 12806commit cde3c0dd72af2b490e80cffca962e3487dd31be4 12807Author: Donnie Berkholz <spyderous@gentoo.org> 12808Date: Thu Jun 29 19:39:36 2006 -0700 12809 12810 Bug #7349: Missed one of the setuid fixes. 12811 (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 12812 12813commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 12814Author: Matthias Hopf <mhopf@suse.de> 12815Date: Thu Jun 29 18:59:57 2006 +0200 12816 12817 Update to final Compose cache directory location. 12818 (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 12819 12820commit 912ef198292d3053daa810f842510e5d62ded0f0 12821Author: Matthias Hopf <mhopf@suse.de> 12822Date: Thu Jun 29 17:41:41 2006 +0200 12823 12824 Fix alignment of trees and wide chars in the cache. 12825 (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 12826 12827commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 12828Author: Matthias Hopf <mhopf@suse.de> 12829Date: Wed Jun 28 19:17:03 2006 +0200 12830 12831 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 12832 (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 12833 12834commit e9614c963b532f46a7932c2305a4b177a996a222 12835Author: Donnie Berkholz <spyderous@gentoo.org> 12836Date: Thu Jun 29 19:39:36 2006 -0700 12837 12838 Bug #7349: Missed one of the setuid fixes. 12839 12840commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 12841Author: Matthias Hopf <mhopf@suse.de> 12842Date: Thu Jun 29 18:59:57 2006 +0200 12843 12844 Update to final Compose cache directory location. 12845 12846commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 12847Author: Matthias Hopf <mhopf@suse.de> 12848Date: Thu Jun 29 17:41:41 2006 +0200 12849 12850 Fix alignment of trees and wide chars in the cache. 12851 12852commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 12853Author: Matthias Hopf <mhopf@suse.de> 12854Date: Wed Jun 28 19:17:03 2006 +0200 12855 12856 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 12857 12858commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 12859Author: Donnie Berkholz <spyderous@gentoo.org> 12860Date: Thu Jun 22 23:59:03 2006 -0700 12861 12862 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 12863 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 12864 ChangeLog. 12865 (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 12866 12867commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 12868Author: Donnie Berkholz <donnie@comet.(none)> 12869Date: Thu Jun 22 23:47:38 2006 -0700 12870 12871 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 12872 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 12873 ChangeLog. 12874 12875commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 12876Author: Donnie Berkholz <donnie@comet.(none)> 12877Date: Thu Jun 22 15:47:38 2006 -0700 12878 12879 Bump version to 1.0.2. 12880 12881commit c93539d974a67f596a5eb5b65042d26602546c72 12882Author: Matthieu Herrb <matthieu@deville.herrb.com> 12883Date: Tue Jun 20 21:04:03 2006 +0200 12884 12885 Check setuid() return value. 12886 (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 12887 12888commit 605533f814ab7892991578706a6458f61a89ca4d 12889Author: Derek Wang <derek.wang@sun.com> 12890Date: Mon Jun 19 11:05:37 2006 -0700 12891 12892 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 12893 (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 12894 12895commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 12896Author: Scott Revelt <scott.revelt@sun.com> 12897Date: Fri Jun 16 19:11:13 2006 -0700 12898 12899 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 12900 based on locale that doesn't match those used in the Xcms.txt 12901 (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 12902 12903commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 12904Author: Alan Coopersmith <alanc@alf.(none)> 12905Date: Fri Jun 16 18:53:33 2006 -0700 12906 12907 Add *~ to ignore emacs droppings 12908 (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 12909 12910commit 214658b76b56768f69c3959a11525aae7813f448 12911Author: Matthias Hopf <mhopf@suse.de> 12912Date: Fri Jun 16 15:36:40 2006 +0200 12913 12914 Bug #3104: Compose table cache for faster X11 application starts. 12915 (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 12916 12917commit 13968a23aaea838ba4b69e42e8900f803499e091 12918Author: Matthias Hopf <mhopf@suse.de> 12919Date: Tue Jun 13 20:23:46 2006 +0200 12920 12921 Bug #3104: Compose table cache for faster X11 application starts. 12922 (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 12923 12924commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 12925Author: Lubos Lunak <llunak@suse.de> 12926Date: Mon Jun 12 18:48:08 2006 +0200 12927 12928 Bug #3104: Compose table cache for faster X11 application starts. 12929 (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 12930 12931commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 12932Author: Matthias Hopf <mhopf@suse.de> 12933Date: Fri Jun 9 18:24:02 2006 +0200 12934 12935 Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure. 12936 (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 12937 12938commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 12939Author: Jamey Sharp <jamey@minilop.net> 12940Date: Wed Jun 7 20:29:05 2006 -0700 12941 12942 Fix bug #7035: unnecessary memmove in XOpenDisplay. 12943 Using memmove on the connection setup data causes a problem for XCB, but making 12944 Xlib stop doing that should be harmless for non-XCB as well. 12945 (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 12946 12947commit cd7328c46ae72903ed02832828891b2dab4d5ee0 12948Author: Daniel Stone <daniels@preemptive.fooishbar.org> 12949Date: Sat Jun 3 13:51:51 2006 +0300 12950 12951 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 12952 (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 12953 12954commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 12955Merge: 33556ca ad9ebbd 12956Author: Donnie Berkholz <donnie@comet.(none)> 12957Date: Thu Jun 22 14:25:35 2006 -0700 12958 12959 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 12960 12961commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 12962Author: Daniel Stone <daniel@fooishbar.org> 12963Date: Thu Jun 22 17:20:59 2006 +0300 12964 12965 Bump to 1.0.99.0 to avoid confusion. 12966 12967commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 12968Merge: e3acee8 4b8eb5d 12969Author: Daniel Stone <daniel@fooishbar.org> 12970Date: Thu Jun 22 16:53:45 2006 +0300 12971 12972 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 12973 12974commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 12975Merge: 5169d0e eff50c9 12976Author: Matthieu Herrb <matthieu@deville.herrb.com> 12977Date: Tue Jun 20 21:05:15 2006 +0200 12978 12979 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 12980 12981commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 12982Author: Matthieu Herrb <matthieu@deville.herrb.com> 12983Date: Tue Jun 20 21:04:03 2006 +0200 12984 12985 Check setuid() return value. 12986 12987commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 12988Author: Derek Wang <derek.wang@sun.com> 12989Date: Mon Jun 19 11:05:37 2006 -0700 12990 12991 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 12992 12993commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 12994Author: Scott Revelt <scott.revelt@sun.com> 12995Date: Fri Jun 16 19:11:13 2006 -0700 12996 12997 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 12998 based on locale that doesn't match those used in the Xcms.txt 12999 13000commit c33d7b8282ac196b36229be26442296768c16f3e 13001Author: Alan Coopersmith <alanc@alf.(none)> 13002Date: Fri Jun 16 18:53:33 2006 -0700 13003 13004 Add *~ to ignore emacs droppings 13005 13006commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 13007Author: Matthias Hopf <mhopf@suse.de> 13008Date: Fri Jun 16 15:36:40 2006 +0200 13009 13010 Bug #3104: Compose table cache for faster X11 application starts. 13011 13012commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 13013Author: Matthias Hopf <mhopf@suse.de> 13014Date: Tue Jun 13 20:23:46 2006 +0200 13015 13016 Bug #3104: Compose table cache for faster X11 application starts. 13017 13018commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 13019Author: Lubos Lunak <llunak@suse.de> 13020Date: Mon Jun 12 18:48:08 2006 +0200 13021 13022 Bug #3104: Compose table cache for faster X11 application starts. 13023 13024commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 13025Author: Matthias Hopf <mhopf@suse.de> 13026Date: Fri Jun 9 18:24:02 2006 +0200 13027 13028 Bug #3104: Compose table cache for faster X11 application starts. Part 1: Pointerless compose data structure, using indices instead of pointers, needed for mmap()ing data structure. 13029 13030commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 13031Author: Jamey Sharp <jamey@minilop.net> 13032Date: Wed Jun 7 20:29:05 2006 -0700 13033 13034 Fix bug #7035: unnecessary memmove in XOpenDisplay. 13035 Using memmove on the connection setup data causes a problem for XCB, but making 13036 Xlib stop doing that should be harmless for non-XCB as well. 13037 13038commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 13039Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13040Date: Sat Jun 3 12:57:55 2006 +0300 13041 13042 Bug #2186: Add cs_CZ.iso8859-2 alias. 13043 13044commit 9e7765e0b1cbaae6643072d91066ba1201b36227 13045Author: Daniel Stone <daniel@fooishbar.org> 13046Date: Fri Jun 2 02:46:29 2006 +0300 13047 13048 nls: Serbian (sr_CS) update (#5575) 13049 13050 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 13051 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 13052 and locale.dir.pre. (Milos Komarcevic) 13053 13054commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 13055Author: Daniel Stone <daniel@fooishbar.org> 13056Date: Fri Jun 2 02:24:25 2006 +0300 13057 13058 im: add Braille input method (#6296) 13059 13060 Bug #6296: Add a Braille input method. (Samuel Thibault) 13061 13062commit 90de1e2e141ec591048a76cb695579ef809a28d3 13063Author: Daniel Stone <daniel@fooishbar.org> 13064Date: Fri Jun 2 02:22:17 2006 +0300 13065 13066 xkb support: small typo 13067 13068commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 13069Author: Daniel Stone <daniel@fooishbar.org> 13070Date: Fri Jun 2 01:50:24 2006 +0300 13071 13072 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 13073 13074 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 13075 adding Unicode character names, removing duplicate entries, et al. 13076 13077commit 0c6473dd329c7334ae511884bcb6e73e632c784f 13078Author: Daniel Stone <daniel@fooishbar.org> 13079Date: Fri Jun 2 01:44:53 2006 +0300 13080 13081 nls: fix use of non-keysym dead_space (#5107) 13082 13083 Bug #5107: Change users of dead_space to space. 13084 13085commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 13086Author: Daniel Stone <daniel@fooishbar.org> 13087Date: Fri Jun 2 01:41:18 2006 +0300 13088 13089 optional XKB support fix 13090 13091 Fix compilation with --disable-xkb. 13092 13093commit 217d43ed44ced901122093af3ef1294e1736bb77 13094Author: Daniel Stone <daniel@fooishbar.org> 13095Date: Fri Jun 2 01:39:12 2006 +0300 13096 13097 i18n: separate data and lib directories 13098 13099 Break out locale data into separate data and library directories, under 13100 $(datadir) and $(libdir), respectively, by default. 13101 13102commit 92fa7fcde8df22830fca7c0275ab201033f7909c 13103Author: Adam Jackson <ajax@benzedrine.nwnk.net> 13104Date: Thu May 11 14:04:48 2006 -0400 13105 13106 libXcursor.so.1, not libXcursor.so 13107 13108commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 13109Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13110Date: Wed May 10 18:06:03 2006 +0300 13111 13112 XKBMisc.c: use Xfree, not xfree 13113 13114 Use Xfree() instead of xfree() when freeing interps. 13115 13116commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 13117Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13118Date: Wed May 10 14:51:37 2006 +0300 13119 13120 locale.alias.pre: bg_BG typo fix 13121 13122 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 13123 13124commit cc533db60cb64dc163c66451933a9bf77c519062 13125Author: Daniel Stone <daniels@endtroducing.localdomain> 13126Date: Sun Apr 9 22:22:03 2006 +0300 13127 13128 Coverity #203, #204: Fix potential NULL dereferences. 13129 13130commit b83adf7dfd6157694fe4f232012fef36cd9666da 13131Author: Daniel Stone <daniels@endtroducing.localdomain> 13132Date: Sun Apr 9 22:20:25 2006 +0300 13133 13134 Coverity #205: Fix potential NULL dereference. 13135 13136commit 2d0cd10ad907864d0136739eaac459779c9a5332 13137Author: Daniel Stone <daniels@endtroducing.localdomain> 13138Date: Sun Apr 9 22:18:20 2006 +0300 13139 13140 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 13141 13142commit dc2f3966068d66a564aa452cab9f0c26657fa1df 13143Author: Daniel Stone <daniels@preemptive.research.nokia.com> 13144Date: Fri Apr 7 18:11:52 2006 +0300 13145 13146 Coverity #826: Fix potential memory leak. 13147 13148commit 23df609ec451a01c77e8f31ecc85c5af7c62efed 13149Author: Daniel Stone <daniels@preemptive.research.nokia.com> 13150Date: Fri Apr 7 17:49:41 2006 +0300 13151 13152 Bug #1625: Include keysym.h from Xutil.h. 13153 13154commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 13155Author: Eric Anholt <anholt@leguin.anholt.net> 13156Date: Wed Apr 5 17:12:15 2006 -0700 13157 13158 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 13159 13160 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 13161 of Coverity #599, #600. 13162 13163commit 8b42635f577468bb143ca593cdd9fb3450ad712c 13164Author: Eric Anholt <anholt@leguin.anholt.net> 13165Date: Wed Apr 5 16:42:26 2006 -0700 13166 13167 Coverity #558: Free newly-allocated Database in error path. 13168 13169commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 13170Author: Eric Anholt <anholt@leguin.anholt.net> 13171Date: Wed Apr 5 16:38:52 2006 -0700 13172 13173 Coverity #582: Free newly-allocated region in error path. 13174 13175commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 13176Author: Daniel Stone <daniels@preemptive.research.nokia.com> 13177Date: Fri Mar 17 15:58:39 2006 +0200 13178 13179 Properly clip bounds when only one point is defining an outline. 13180 13181commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 13182Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 13183Date: Sat Mar 11 15:39:15 2006 +0100 13184 13185 Fix prototype of XConfigureWindow(). Bugzilla #6023. 13186 13187commit 1da8bd904f1fc79d63d368473531b438d08bfe37 13188Author: Jeremy C. Reed <reed@reedmedia.net> 13189Date: Tue Feb 21 14:10:22 2006 -0800 13190 13191 Set XTHREADLIB correctly for dragonfly platforms. 13192 13193commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 13194Author: Jamey Sharp <jamey@minilop.net> 13195Date: Sun Feb 19 12:29:27 2006 -0800 13196 13197 Update .gitignores for *.o and nls/locale.dir*. 13198 13199commit efcbde6ba0b770bb0d4c7818e307712161011f10 13200Author: Jamey Sharp <jamey@minilop.net> 13201Date: Sun Feb 19 12:28:41 2006 -0800 13202 13203 Move .cvsignore to .gitignore. 13204 13205commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 13206Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13207Date: Sat Jun 3 13:51:51 2006 +0300 13208 13209 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 13210 13211commit f1bd3152359ddfadd0d043006036c239f3e2907b 13212Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13213Date: Sat Jun 3 12:57:55 2006 +0300 13214 13215 Bug #2186: Add cs_CZ.iso8859-2 alias. 13216 13217commit 2b1b79d90db1d7f0472718b8c010c36275994195 13218Author: Daniel Stone <daniel@fooishbar.org> 13219Date: Fri Jun 2 02:46:29 2006 +0300 13220 13221 nls: Serbian (sr_CS) update (#5575) 13222 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 13223 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 13224 and locale.dir.pre. (Milos Komarcevic) 13225 13226commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 13227Author: Daniel Stone <daniel@fooishbar.org> 13228Date: Fri Jun 2 02:24:25 2006 +0300 13229 13230 im: add Braille input method (#6296) 13231 Bug #6296: Add a Braille input method. (Samuel Thibault) 13232 13233commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 13234Author: Daniel Stone <daniel@fooishbar.org> 13235Date: Fri Jun 2 02:22:17 2006 +0300 13236 13237 xkb support: small typo 13238 13239commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 13240Author: Daniel Stone <daniel@fooishbar.org> 13241Date: Fri Jun 2 01:50:24 2006 +0300 13242 13243 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 13244 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 13245 adding Unicode character names, removing duplicate entries, et al. 13246 13247commit 332d45fce9fdbf59168d90a133af1f580a589e54 13248Author: Daniel Stone <daniel@fooishbar.org> 13249Date: Fri Jun 2 01:44:53 2006 +0300 13250 13251 nls: fix use of non-keysym dead_space (#5107) 13252 Bug #5107: Change users of dead_space to space. 13253 13254commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 13255Author: Daniel Stone <daniel@fooishbar.org> 13256Date: Fri Jun 2 01:41:18 2006 +0300 13257 13258 optional XKB support fix 13259 Fix compilation with --disable-xkb. 13260 13261commit c5940a0b85edec4003f91a59fc3c44f538accfe1 13262Author: Daniel Stone <daniel@fooishbar.org> 13263Date: Fri Jun 2 01:39:12 2006 +0300 13264 13265 i18n: separate data and lib directories 13266 Break out locale data into separate data and library directories, under 13267 $(datadir) and $(libdir), respectively, by default. 13268 13269commit 33556ca81db2419b9d2a37664c4cea2069414b37 13270Author: Adam Jackson <ajax@benzedrine.nwnk.net> 13271Date: Fri May 12 14:49:17 2006 -0400 13272 13273 Bump to 1.0.1 13274 13275commit 80d88557626fae9debc404de33d7fb5d69a6049d 13276Author: Adam Jackson <ajax@benzedrine.nwnk.net> 13277Date: Thu May 11 14:06:28 2006 -0400 13278 13279 libXcursor.so.1, not libXcursor.so 13280 13281commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 13282Author: Adam Jackson <ajax@benzedrine.nwnk.net> 13283Date: Thu May 11 14:04:48 2006 -0400 13284 13285 libXcursor.so.1, not libXcursor.so 13286 13287commit 01f4d433eed6b70c6e9636157acac022054fdeb6 13288Author: Jamey Sharp <jamey@minilop.net> 13289Date: Wed May 10 17:02:52 2006 -0700 13290 13291 Count any partial request towards the current Xlib sequence number. 13292 13293commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 13294Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13295Date: Wed May 10 18:06:03 2006 +0300 13296 13297 XKBMisc.c: use Xfree, not xfree 13298 Use Xfree() instead of xfree() when freeing interps. 13299 13300commit 22a5255b80b80772612279bc840a953edd0e3442 13301Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13302Date: Wed May 10 14:51:37 2006 +0300 13303 13304 locale.alias.pre: bg_BG typo fix 13305 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 13306 13307commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 13308Merge: 19b8840 e514bc8 13309Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13310Date: Wed May 10 14:50:37 2006 +0300 13311 13312 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 13313 13314commit e514bc875f27f4bf197b06b8315eeca526195915 13315Author: Jamey Sharp <jamey@minilop.net> 13316Date: Tue May 9 12:41:59 2006 -0700 13317 13318 Assert that dpy->request does not go backwards. Catches #5839 earlier. 13319 13320commit fc1159137365a599bf611ee001f439416952c4e0 13321Author: Jamey Sharp <jamey@minilop.net> 13322Date: Sun May 7 17:40:01 2006 -0700 13323 13324 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 13325 13326commit c394480a4247213239822808e3f6e7c6cd6decd9 13327Author: Jamey Sharp <jamey@minilop.net> 13328Date: Sun May 7 16:58:13 2006 -0700 13329 13330 Update for XCB ConnSetupSuccessRep name change. 13331 13332commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 13333Author: Daniel Stone <daniels@endtroducing.localdomain> 13334Date: Sun Apr 9 22:22:03 2006 +0300 13335 13336 Coverity #203, #204: Fix potential NULL dereferences. 13337 13338commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 13339Author: Daniel Stone <daniels@endtroducing.localdomain> 13340Date: Sun Apr 9 22:20:25 2006 +0300 13341 13342 Coverity #205: Fix potential NULL dereference. 13343 13344commit b6771501feea98d037032f82117b6d4f15779f07 13345Author: Daniel Stone <daniels@endtroducing.localdomain> 13346Date: Sun Apr 9 22:18:20 2006 +0300 13347 13348 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 13349 13350commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 13351Author: Daniel Stone <daniels@preemptive.research.nokia.com> 13352Date: Fri Apr 7 18:11:52 2006 +0300 13353 13354 Coverity #826: Fix potential memory leak. 13355 13356commit 3a16f262abe48b44ed641525e894bc22e13bf72a 13357Author: Daniel Stone <daniels@preemptive.research.nokia.com> 13358Date: Fri Apr 7 17:49:41 2006 +0300 13359 13360 Bug #1625: Include keysym.h from Xutil.h. 13361 13362commit 2481b767ae96e2f2503c0390545932c8397b090f 13363Author: Eric Anholt <anholt@leguin.anholt.net> 13364Date: Wed Apr 5 17:12:15 2006 -0700 13365 13366 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 13367 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 13368 of Coverity #599, #600. 13369 13370commit 152b17e47d878c2d928eb74581aa69d925a29123 13371Author: Eric Anholt <anholt@leguin.anholt.net> 13372Date: Wed Apr 5 16:42:26 2006 -0700 13373 13374 Coverity #558: Free newly-allocated Database in error path. 13375 13376commit bc62b99ef36edb34035911c42104be7f6f9d2333 13377Author: Eric Anholt <anholt@leguin.anholt.net> 13378Date: Wed Apr 5 16:38:52 2006 -0700 13379 13380 Coverity #582: Free newly-allocated region in error path. 13381 13382commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 13383Author: Jamey Sharp <jamey@minilop.net> 13384Date: Fri Mar 31 22:53:07 2006 -0800 13385 13386 Fix buggy interaction with XCB when running out of XIDs. 13387 13388commit e3f452571824d6a875bbf582946de185de9e01e9 13389Author: Jamey Sharp <jamey@minilop.net> 13390Date: Fri Mar 31 22:52:14 2006 -0800 13391 13392 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 13393 13394commit 2363b74ca795c1b3a73c9e572532ba5191adec5b 13395Author: Daniel Stone <daniels@preemptive.research.nokia.com> 13396Date: Fri Mar 17 15:58:39 2006 +0200 13397 13398 Properly clip bounds when only one point is defining an outline. 13399 13400commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 13401Merge: be266b2 f71ea0b 13402Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 13403Date: Sat Mar 11 15:40:35 2006 +0100 13404 13405 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 13406 13407commit be266b201dc13530a302a7572283ccd3f32aad87 13408Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 13409Date: Sat Mar 11 15:39:15 2006 +0100 13410 13411 Fix prototype of XConfigureWindow(). Bugzilla #6023. 13412 13413commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 13414Author: Jamey Sharp <jamey@minilop.net> 13415Date: Fri Mar 3 11:08:41 2006 -0800 13416 13417 Update for XCBSendRequest sequence number API changes. 13418 13419commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 13420Author: Jamey Sharp <jamey@minilop.net> 13421Date: Fri Mar 3 01:42:49 2006 -0800 13422 13423 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 13424 13425commit d8ba4ae7045b227f8b675628b9094dded02f1c08 13426Author: Jamey Sharp <jamey@minilop.net> 13427Date: Thu Mar 2 23:43:26 2006 -0800 13428 13429 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 13430 13431commit f9afb5a54435c30961306080e9358d4240ecb844 13432Author: Jamey Sharp <jamey@minilop.net> 13433Date: Thu Mar 2 23:34:19 2006 -0800 13434 13435 assert() that we will not infinite loop or read uninitialized memory. 13436 13437commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 13438Author: Jamey Sharp <jamey@minilop.net> 13439Date: Thu Mar 2 15:58:52 2006 -0800 13440 13441 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 13442 13443commit fb590c15a740264ee867d15a2547072e43b21eed 13444Author: Jamey Sharp <jamey@minilop.net> 13445Date: Thu Mar 2 12:06:04 2006 -0800 13446 13447 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 13448 13449commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 13450Author: Jamey Sharp <jamey@minilop.net> 13451Date: Mon Feb 27 11:51:47 2006 -0800 13452 13453 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 13454 13455commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 13456Author: Jamey Sharp <jamey@minilop.net> 13457Date: Sun Feb 26 15:46:01 2006 -0800 13458 13459 Update for new XCBSendRequest API. 13460 13461commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 13462Author: Jamey Sharp <jamey@minilop.net> 13463Date: Thu Feb 23 18:12:31 2006 -0800 13464 13465 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 13466 13467commit ec30a27341b97620b07dd886f98d1d7664a67685 13468Author: Jamey Sharp <jamey@minilop.net> 13469Date: Thu Feb 23 18:01:46 2006 -0800 13470 13471 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 13472 13473commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 13474Author: Jamey Sharp <jamey@minilop.net> 13475Date: Thu Feb 23 11:46:09 2006 -0800 13476 13477 XCBFlush used to return non-positive on failure, and this test did not catch 0. Now it returns boolean: 0 or 1. Testing <= 0 covers both cases. I probably want to switch to a boolean test eventually. 13478 13479commit 41c0121a8718b530feaf7fe315b673d9b8defce2 13480Author: Jamey Sharp <jamey@minilop.net> 13481Date: Tue Feb 21 21:25:41 2006 -0800 13482 13483 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 13484 13485commit 67d06e0fe468dca22847aa14d3f917128f89f9cf 13486Author: Jamey Sharp <jamey@minilop.net> 13487Date: Tue Feb 21 15:33:05 2006 -0800 13488 13489 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 13490 13491commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 13492Author: Jeremy C. Reed <reed@reedmedia.net> 13493Date: Tue Feb 21 14:10:22 2006 -0800 13494 13495 Set XTHREADLIB correctly for dragonfly platforms. 13496 13497commit b24834762e975bd319f9ab5c7cf790b2a02a9474 13498Author: Jamey Sharp <jamey@minilop.net> 13499Date: Tue Feb 21 14:03:26 2006 -0800 13500 13501 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 13502 13503commit 99b8defd0d5e6993071e21638128c9de2574b37d 13504Author: Jamey Sharp <jamey@minilop.net> 13505Date: Tue Feb 21 13:04:21 2006 -0800 13506 13507 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 13508 Traditional Xlib worked this way; I dunno why I changed it. 13509 13510commit 9b01e7849775749182052fe324df9d8e6ceeee99 13511Author: Jamey Sharp <jamey@minilop.net> 13512Date: Tue Feb 21 12:51:44 2006 -0800 13513 13514 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 13515 13516commit 7ce7ac882de128955751a5307889db9d712d8a72 13517Author: Jamey Sharp <jamey@minilop.net> 13518Date: Tue Feb 21 12:44:30 2006 -0800 13519 13520 Quit using a triple-pointer. Almost as if I were a sensible person. 13521 13522commit 35a858be218cdbfa4593d44a67663d5c25297016 13523Author: Jamey Sharp <jamey@minilop.net> 13524Date: Tue Feb 21 12:21:01 2006 -0800 13525 13526 Remove the XCL_PAD macro. 13527 13528commit e741b70ed2542c5463c57dac44bc37328616733b 13529Author: Jamey Sharp <jamey@minilop.net> 13530Date: Sun Feb 19 12:29:27 2006 -0800 13531 13532 Update .gitignores for *.o and nls/locale.dir*. 13533 13534commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 13535Author: Jamey Sharp <jamey@minilop.net> 13536Date: Sun Feb 19 12:28:41 2006 -0800 13537 13538 Move .cvsignore to .gitignore. 13539 13540commit c7cda56eebaf6ab11403363be14d4948d7d8be38 13541Author: Jamey Sharp <jamey@minilop.net> 13542Date: Sun Feb 19 11:49:15 2006 -0800 13543 13544 Land XCB support on X.org HEAD. 13545 13546commit 881467b3032261791ef5ec61b3879bb68d0a3d8c 13547Author: Jamey Sharp <jamey@minilop.net> 13548Date: Sun Feb 19 02:14:11 2006 +0000 13549 13550 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 13551 13552commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 13553Author: Jamey Sharp <jamey@minilop.net> 13554Date: Tue Feb 14 19:37:36 2006 +0000 13555 13556 Refactor _XFlush and _XSend code that sets dpy->synchandler to _XSeqSyncFunction into a new function, _XSetSeqSyncFunction. It makes the patch for XCB cleaner, but is arguably a good idea anyway. 13557 13558commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 13559Author: Alan Coopersmith <alan.coopersmith@sun.com> 13560Date: Sun Feb 12 18:19:17 2006 +0000 13561 13562 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 13563 13564commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 13565Author: Alan Coopersmith <alan.coopersmith@sun.com> 13566Date: Fri Feb 3 23:34:43 2006 +0000 13567 13568 Fix typo in .TH line 13569 13570commit b091c217f3c3f60dde78b09a95c150df6c83d7ba 13571Author: Kevin E Martin <kem@kem.org> 13572Date: Thu Dec 15 00:24:28 2005 +0000 13573 13574 Update package version number for final X11R7 release candidate. 13575 13576commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 13577Author: Kevin E Martin <kem@kem.org> 13578Date: Tue Dec 6 22:48:41 2005 +0000 13579 13580 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 13581 13582commit b5c495854d5270e64e6d588388ffa906bfcaac22 13583Author: Kevin E Martin <kem@kem.org> 13584Date: Sat Dec 3 05:49:42 2005 +0000 13585 13586 Update package version number for X11R7 RC3 release. 13587 13588commit 9e96dbc343c7f27ff47607acd75378ab23903e2a 13589Author: Kevin E Martin <kem@kem.org> 13590Date: Sat Dec 3 04:41:47 2005 +0000 13591 13592 Add check and cflags for malloc(0) returning NULL. 13593 13594commit 649c37b47909620ccafde3e983de8321cddd74ce 13595Author: Alan Coopersmith <alan.coopersmith@sun.com> 13596Date: Mon Nov 28 22:03:04 2005 +0000 13597 13598 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 13599 13600commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 13601Author: Alan Coopersmith <alan.coopersmith@sun.com> 13602Date: Wed Nov 23 22:33:06 2005 +0000 13603 13604 Bug #5003 <https://bugs.freedesktop.org/show_bug.cgi?id=5003> Patch #3763 <https://bugs.freedesktop.org/attachment.cgi?id=3763> Xorg code misuses S_IF* macros 13605 13606commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 13607Author: Eric Anholt <anholt@freebsd.org> 13608Date: Sun Nov 20 23:17:39 2005 +0000 13609 13610 Add/improve libs .cvsignores. 13611 13612commit fa1f4a08112bfa14d3758f4702733dd3892966c3 13613Author: Kevin E Martin <kem@kem.org> 13614Date: Sat Nov 19 07:15:39 2005 +0000 13615 13616 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 13617 13618commit 7012f9b56c594cf40855ba0dbf93af1263417a8c 13619Author: Kevin E Martin <kem@kem.org> 13620Date: Mon Nov 14 21:51:07 2005 +0000 13621 13622 Fix xf86bigfont pkgconfig dep typo. 13623 13624commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 13625Author: Kevin E Martin <kem@kem.org> 13626Date: Wed Nov 9 21:19:12 2005 +0000 13627 13628 Update package version number for X11R7 RC2 release. 13629 13630commit 6bb0c3796b6e1beddc376a896e865704886e1462 13631Author: Kean Johnson <kean@armory.com> 13632Date: Tue Nov 8 06:33:25 2005 +0000 13633 13634 See ChangeLog entry 2005-11-07 for details. 13635 13636commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 13637Author: Kevin E Martin <kem@kem.org> 13638Date: Tue Nov 1 15:11:50 2005 +0000 13639 13640 Update pkgcheck dependencies to work with separate build roots. 13641 13642commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 13643Author: Donnie Berkholz <spyderous@gentoo.org> 13644Date: Fri Oct 28 10:44:03 2005 +0000 13645 13646 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 13647 13648commit be627a39fe373e2e81fdc263780e70a271d9e0c5 13649Author: Donnie Berkholz <spyderous@gentoo.org> 13650Date: Fri Oct 28 08:28:08 2005 +0000 13651 13652 Add dependency on inputproto for XI.h. 13653 13654commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 13655Author: Adam Jackson <ajax@nwnk.net> 13656Date: Fri Oct 21 18:44:24 2005 +0000 13657 13658 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 13659 13660commit 1171fa9dc77413f0e90933a565ec07068052afb4 13661Author: Kevin E Martin <kem@kem.org> 13662Date: Wed Oct 19 02:48:08 2005 +0000 13663 13664 Update package version number for RC1 release. 13665 13666commit 2a2d905706308b9d5a1c16af1067fb390f43850c 13667Author: Alan Coopersmith <alan.coopersmith@sun.com> 13668Date: Tue Oct 18 00:00:08 2005 +0000 13669 13670 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 13671 13672commit 66d35b6971fb26762392a2a8e2c47db46c11116a 13673Author: Alan Coopersmith <alan.coopersmith@sun.com> 13674Date: Mon Oct 17 21:13:15 2005 +0000 13675 13676 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 13677 13678commit a316995a17c084e98ef1b7f25d287c2c08b6d749 13679Author: Donnie Berkholz <spyderous@gentoo.org> 13680Date: Sun Oct 16 03:03:35 2005 +0000 13681 13682 Change '==' to portable '='. 13683 13684commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 13685Author: Alan Coopersmith <alan.coopersmith@sun.com> 13686Date: Wed Oct 12 00:04:50 2005 +0000 13687 13688 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 13689 13690commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 13691Author: Eric Anholt <anholt@freebsd.org> 13692Date: Tue Oct 11 02:18:36 2005 +0000 13693 13694 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 13695 13696commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 13697Author: Alan Coopersmith <alan.coopersmith@sun.com> 13698Date: Sun Oct 9 22:28:39 2005 +0000 13699 13700 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 13701 13702commit 91ed79852e790049ab54e68f288afb3c953194c9 13703Author: Kevin E Martin <kem@kem.org> 13704Date: Fri Oct 7 15:00:00 2005 +0000 13705 13706 Clean up generated files 13707 Add missing dist tarball files 13708 13709commit 440399b470c97b159a530602fff11c315aca8d97 13710Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 13711Date: Wed Oct 5 18:27:10 2005 +0000 13712 13713 Add el_GR.UTF-8 compose file 13714 13715commit 010f0647e25ac617d0f92c8d2b8dda684da545db 13716Author: Daniel Stone <daniel@fooishbar.org> 13717Date: Fri Sep 30 07:52:46 2005 +0000 13718 13719 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 13720 13721commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 13722Author: Daniel Stone <daniel@fooishbar.org> 13723Date: Fri Sep 30 07:47:55 2005 +0000 13724 13725 Bug #1640: Kinyarwanda locale support. (Steve Murphy) 13726 13727commit 4ae0decabe0960870df0ec165f495166c10a053c 13728Author: Daniel Stone <daniel@fooishbar.org> 13729Date: Fri Sep 30 07:40:03 2005 +0000 13730 13731 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 13732 13733commit 3f79eb4c99844f618f1889741d1631c2ffe5385f 13734Author: Daniel Stone <daniel@fooishbar.org> 13735Date: Fri Sep 30 07:11:19 2005 +0000 13736 13737 Generate locale.alias and compose.dir exactly like we do in the monolith, which fixes non-UTF-8 locales in particular (so we get foo: bar, as well as foo bar). Switch to generating locale.dir the same way. 13738 13739commit d1237d1483ff972c76a0ac344ec97d5280db0007 13740Author: Alan Coopersmith <alan.coopersmith@sun.com> 13741Date: Thu Sep 29 21:27:12 2005 +0000 13742 13743 Add Xcms.txt to lib/X11 13744 13745commit 4a86f299693f7376cbe98175f0b0c44d691802b3 13746Author: Alan Coopersmith <alan.coopersmith@sun.com> 13747Date: Sat Sep 24 20:11:06 2005 +0000 13748 13749 Add XQueryExtension.man 13750 13751commit a057a66e2041d45198a13a4ece7c07068f76f21b 13752Author: Alan Coopersmith <alan.coopersmith@sun.com> 13753Date: Sat Sep 24 00:16:32 2005 +0000 13754 13755 Add XTHREAD_CFLAGS for platforms that need special defines like 13756 -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 13757 13758commit 3e920a65a7c376ad63eae2240fd06904d25d18bf 13759Author: Alan Coopersmith <alan.coopersmith@sun.com> 13760Date: Fri Sep 2 23:00:30 2005 +0000 13761 13762 Issue an error if XTRANS macros were not found when generating configure from configure.ac to flag errors early, instead of when people wonder why libX11 can't talk to an Xserver because it has no transports defined 13763 13764commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 13765Author: Kristian Høgsberg <krh@redhat.com> 13766Date: Thu Sep 1 19:24:13 2005 +0000 13767 13768 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 13769 13770commit 7afa64325183b78d2d6a4862821f8b3e9866105c 13771Author: Matthieu Herrb <matthieu.herrb@laas.fr> 13772Date: Sun Aug 28 19:45:48 2005 +0000 13773 13774 OpenBSD needs -lpthread for threaded applications too. 13775 13776commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 13777Author: Daniel Stone <daniel@fooishbar.org> 13778Date: Fri Aug 26 05:16:46 2005 +0000 13779 13780 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 13781 13782commit 07066da0902df91c71f2adb81d1a17ec29165553 13783Author: Matthieu Herrb <matthieu.herrb@laas.fr> 13784Date: Sun Aug 21 15:45:04 2005 +0000 13785 13786 update 13787 13788commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 13789Author: Matthieu Herrb <matthieu.herrb@laas.fr> 13790Date: Sun Aug 21 15:38:39 2005 +0000 13791 13792 Threads support for BSD systems: 13793 - need to check for gewtpwuid_r to define mtsafeapi 13794 - build UIThrstubs if needed. 13795 13796commit 60217fdb918bafb2082519efe5cba3b13ad3082a 13797Author: Adam Jackson <ajax@nwnk.net> 13798Date: Wed Aug 17 19:46:08 2005 +0000 13799 13800 Add xthreadlib variable to x11.pc. Bump to 0.99.1. 13801 13802commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 13803Author: Alan Coopersmith <alan.coopersmith@sun.com> 13804Date: Wed Aug 17 01:27:08 2005 +0000 13805 13806 Fix more broken multi-line .ds macros. Remove extraneous ;'s . 13807 13808commit 1909786f4a7d686369edcfc05a938df115fab37c 13809Author: Alan Coopersmith <alan.coopersmith@sun.com> 13810Date: Tue Aug 16 19:23:15 2005 +0000 13811 13812 Bugzilla #4112 <https://bugs.freedesktop.org/show_bug.cgi?id=4112> Patch #2687 <https://bugs.freedesktop.org/attachment.cgi?id=2897> Fix multi-line macros in XPutImage man page. (Debian bug #323210, fix by David Mart?nez Moreno) 13813 13814commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 13815Author: Alan Coopersmith <alan.coopersmith@sun.com> 13816Date: Mon Aug 15 19:53:37 2005 +0000 13817 13818 Move RAWCPP macro to xorg-macros.m4 so other modules can use it Add check for whether or not RAWCPP needs -traditional instead of hardcoding it, so non-gcc cpp's can be used 13819 13820commit 5bb43de17de8e71d967488a713bf2b3448533444 13821Author: Alan Coopersmith <alan.coopersmith@sun.com> 13822Date: Sat Aug 6 18:59:49 2005 +0000 13823 13824 Typo fix in output message 13825 13826commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 13827Author: Alan Coopersmith <alan.coopersmith@sun.com> 13828Date: Thu Aug 4 02:55:49 2005 +0000 13829 13830 //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3005 <https://bugs.freedesktop.org/attachment.cgi?id=3005> libX11 locale defs severely adrift from glibc: adding new aliases (From Debian via Nathanael Nerode) 13831 13832commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 13833Author: Alan Coopersmith <alan.coopersmith@sun.com> 13834Date: Thu Aug 4 02:51:30 2005 +0000 13835 13836 //bugs.freedesktop.org/show_bug.cgi?id=1887> Patch #3002 <https://bugs.freedesktop.org/attachment.cgi?id=3002> libX11 locale defs severely adrift from glibc: locales bugfix for bs_BA (From Debian via Nathanael Nerode) 13837 13838commit 34b454df192f4563499c453ccdb8c079f4a20cbe 13839Author: Alan Coopersmith <alan.coopersmith@sun.com> 13840Date: Sat Jul 30 20:30:46 2005 +0000 13841 13842 Include config.h so Xtrans knows which transport types to build code for 13843 13844commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 13845Author: Alan Coopersmith <alan.coopersmith@sun.com> 13846Date: Sat Jul 30 19:15:16 2005 +0000 13847 13848 Add -D flags to clear various warnings (Stefan Dirsch) 13849 13850commit e7fef67b4531faddd805d8f2157903006d3117ed 13851Author: Kevin E Martin <kem@kem.org> 13852Date: Fri Jul 29 21:22:50 2005 +0000 13853 13854 Various changes preparing packages for RC0: 13855 - Verify and update package version numbers as needed 13856 - Implement versioning scheme 13857 - Change bug address to point to bugzilla bug entry form 13858 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 13859 - Fix makedepend to use pkgconfig and pass distcheck 13860 - Update build script to build macros first 13861 - Update modular Xorg version 13862 13863commit 2ebb00244928237088e68325b1032b3550455ce9 13864Author: Matthieu Herrb <matthieu.herrb@laas.fr> 13865Date: Sat Jul 23 20:19:31 2005 +0000 13866 13867 remove orphan TAB at begin of line 13868 13869commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 13870Author: Kevin E Martin <kem@kem.org> 13871Date: Sat Jul 23 18:09:39 2005 +0000 13872 13873 Modify modular libs to use Xregion.h instead of region.h 13874 13875commit 6d635a88d91647b1b63611c3591f74916f88cd1c 13876Author: Kevin E Martin <kem@kem.org> 13877Date: Sat Jul 23 18:06:16 2005 +0000 13878 13879 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 13880 13881commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 13882Author: Daniel Stone <daniel@fooishbar.org> 13883Date: Sat Jul 16 06:25:35 2005 +0000 13884 13885 Set soversion to 6.2.0. 13886 13887commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 13888Author: Keith Packard <keithp@keithp.com> 13889Date: Fri Jul 15 04:27:32 2005 +0000 13890 13891 Add missing Makefile.am to lib/X11/modules 13892 13893commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 13894Author: Keith Packard <keithp@keithp.com> 13895Date: Fri Jul 15 04:08:51 2005 +0000 13896 13897 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 13898 Link i18n modules against xlib to resolve Xlib symbols used by them. 13899 13900commit 45f40126a73295345bb5eb187b1167874842ab6e 13901Author: Alexander Gottwald <ago@freedesktop.org> 13902Date: Thu Jul 14 19:50:00 2005 +0000 13903 13904 Add $(top_srcdir)/src to include list 13905 13906commit 0aed7d91f5928d09d541617aad03709b5090658d 13907Author: Matthieu Herrb <matthieu.herrb@laas.fr> 13908Date: Thu Jul 14 17:04:49 2005 +0000 13909 13910 Build fix for non-GNU make. 13911 13912commit b79422ccb02ab44548d1038956ab0cd4e2638645 13913Author: Adam Jackson <ajax@nwnk.net> 13914Date: Thu Jul 14 15:12:44 2005 +0000 13915 13916 typo fixes (Matthieu Herrb) 13917 13918commit 419304cde2fda19457c667870edefc0b227651b3 13919Author: Alan Coopersmith <alan.coopersmith@sun.com> 13920Date: Wed Jul 13 02:41:36 2005 +0000 13921 13922 Add missing backslashes to xlocale_la_SOURCES 13923 13924commit d14cc5c8964c4539b57c6cb51ef653292e410b79 13925Author: Keith Packard <keithp@keithp.com> 13926Date: Mon Jul 11 20:32:55 2005 +0000 13927 13928 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 13929 13930commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 13931Author: Lars Knoll <lars@trolltech.com> 13932Date: Mon Jul 11 15:24:32 2005 +0000 13933 13934 compile 13935 13936commit de9784eb1bde46efc316da279e3da27c6cc288a7 13937Author: Keith Packard <keithp@keithp.com> 13938Date: Mon Jul 11 09:26:40 2005 +0000 13939 13940 Ignore built man page files 13941 13942commit 0c258c36d1523113790c599b16d2947d7aa6469a 13943Author: Keith Packard <keithp@keithp.com> 13944Date: Mon Jul 11 09:18:31 2005 +0000 13945 13946 Minor changes to help modular Xlib build i18n modules 13947 13948commit 6e752ea1203b786423e40f43340bce15ca3de0f0 13949Author: Keith Packard <keithp@keithp.com> 13950Date: Mon Jul 11 08:29:18 2005 +0000 13951 13952 Enable loadable i18n modules, making them configurable on the configure command line. 13953 Clean up conditionals for XKB, XCMS, XLOCALEDIR 13954 Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 13955 Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 13956 Split out xcms, xkb, xlibi18n sources from main xlib bits so they can be conditionally included more easily. Lots of source files have been moved with this step; the result seems like it might be easier to maintain. 13957 Display message at end of configure script with selected options. 13958 Fix manual building with cpp to add -traditional in cpprules.in. This isn't conditionalized at all, so it will break on systems not using GNU cpp. 13959 13960commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 13961Author: Daniel Stone <daniel@fooishbar.org> 13962Date: Sun Jul 10 22:37:33 2005 +0000 13963 13964 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 13965 13966commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 13967Author: Alan Coopersmith <alan.coopersmith@sun.com> 13968Date: Sat Jul 9 20:06:04 2005 +0000 13969 13970 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 13971 13972commit 3939ac4410446b46071c9d714f4270c12bf904fe 13973Author: Alan Coopersmith <alan.coopersmith@sun.com> 13974Date: Sat Jul 9 18:44:14 2005 +0000 13975 13976 - Since all but one line of all the nls/*/Makefile.am files are identical, move common bits to nls/localerules.in for easier updating and use automake includes to include in all the nls/*/Makefile.am files 13977 - Don't assume $(CPP) can take gcc-only -traditional flag 13978 - CPP process man pages as is done in the monolithic tree 13979 13980commit 19ba9d0df86c688319377467254b9ea9c4b0eccc 13981Author: Keith Packard <keithp@keithp.com> 13982Date: Sat Jul 9 06:01:49 2005 +0000 13983 13984 Clean up .cvsignore files 13985 13986commit f4bba6fa9b9ce637be7662754750054567e9250a 13987Author: Adam Jackson <ajax@nwnk.net> 13988Date: Sat Jul 9 02:53:29 2005 +0000 13989 13990 typo fix. i suck. 13991 13992commit 3305da61a61695e24c1ea11d3f59dddb52873d47 13993Author: Adam Jackson <ajax@nwnk.net> 13994Date: Sat Jul 9 02:41:18 2005 +0000 13995 13996 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 13997 13998commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 13999Author: Keith Packard <keithp@keithp.com> 14000Date: Fri Jul 8 07:11:56 2005 +0000 14001 14002 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 14003 14004commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 14005Author: Keith Packard <keithp@keithp.com> 14006Date: Fri Jul 8 06:57:06 2005 +0000 14007 14008 Create and install XlibConf.h to provide external users of Xlibint.h the defines necessary to correctly use the library. Xlibint.h should #include this new file. 14009 Add a bunch of .cvsignore files 14010 14011commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 14012Author: Chris Less <clee@c133.org> 14013Date: Mon Jul 4 23:01:48 2005 +0000 14014 14015 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 14016 14017commit 55328bb6caabd37885cd19d7a5821ed425daf321 14018Author: Eric Anholt <anholt@freebsd.org> 14019Date: Sun Jul 3 10:17:38 2005 +0000 14020 14021 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 14022 14023commit 726538ba21b631bfb0b8094a5546acdaf57379ff 14024Author: Daniel Stone <daniel@fooishbar.org> 14025Date: Sun Jul 3 07:37:33 2005 +0000 14026 14027 Fix more include paths; add dix-config.h to XKB code. 14028 14029commit 8c7677138e70e14eca0255f2168583f0ecc21994 14030Author: Daniel Stone <daniel@fooishbar.org> 14031Date: Sun Jul 3 07:00:55 2005 +0000 14032 14033 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 14034 Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 14035 Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>. 14036 14037commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 14038Author: Daniel Stone <daniel@fooishbar.org> 14039Date: Fri Jul 1 22:13:35 2005 +0000 14040 14041 Fix objdir != srcdir, as well as make distcheck. 14042 Don't attempt to create Compose.pre files; formatting fixes. 14043 Added if not already present. 14044 14045commit c162d60ad8f124563f94a2a266de59373936266c 14046Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 14047Date: Wed Jun 22 22:46:31 2005 +0000 14048 14049 Apply these patches from Theo van Klaveren: 14050 lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 14051 to make the libraries distcheck. 14052 14053commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 14054Author: Alan Coopersmith <alan.coopersmith@sun.com> 14055Date: Sat Jun 18 07:48:43 2005 +0000 14056 14057 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 14058 14059commit 12afc57b7d455781eee305e9ed6a899ceec8729e 14060Author: Daniel Stone <daniel@fooishbar.org> 14061Date: Wed Jun 15 16:50:47 2005 +0000 14062 14063 Typo fix to locale/error/keysym location declarations. 14064 14065commit 9a895777e30762f61b98d25be3b5d8b1169baa17 14066Author: Daniel Stone <daniel@fooishbar.org> 14067Date: Wed Jun 15 13:37:43 2005 +0000 14068 14069 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 14070 14071commit add49285663684875ab7a5c58ec7a2cf8b775f67 14072Author: Daniel Stone <daniel@fooishbar.org> 14073Date: Wed Jun 15 13:32:35 2005 +0000 14074 14075 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 14076 Move ImUtil.h from src/ to include/X11/. 14077 14078commit 845dfc6b42b950890866ee4df27761e086f50dca 14079Author: Daniel Stone <daniel@fooishbar.org> 14080Date: Wed Jun 15 13:27:48 2005 +0000 14081 14082 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 14083 14084commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 14085Author: Daniel Stone <daniel@fooishbar.org> 14086Date: Fri Jun 10 14:11:36 2005 +0000 14087 14088 Remove pointless include of Xlib.h. 14089 Fix #include path to bigreqstr.h. 14090 14091commit 1a0de49da1274882bab05b0f7240936b37955e5c 14092Author: Alexander Gottwald <ago@freedesktop.org> 14093Date: Thu Jun 9 21:30:15 2005 +0000 14094 14095 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 14096 14097commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 14098Author: Alexander Gottwald <ago@freedesktop.org> 14099Date: Thu Jun 9 15:55:33 2005 +0000 14100 14101 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 14102 14103commit fd5f58e0baf692e34b9b622286f18762cc2500d3 14104Author: Alexander Gottwald <ago@freedesktop.org> 14105Date: Thu Jun 9 15:52:02 2005 +0000 14106 14107 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 14108 Copy Xtrans.h to exports/include/X11/Xtrans only 14109 14110commit 44538f9940f969d46c0e5e4b201c684cde2ba611 14111Author: Alan Coopersmith <alan.coopersmith@sun.com> 14112Date: Sun Jun 5 03:29:33 2005 +0000 14113 14114 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 14115 14116commit 588e30e9ec65fa6205a34be650b79d5e2243edec 14117Author: Alan Coopersmith <alan.coopersmith@sun.com> 14118Date: Sat Jun 4 22:53:21 2005 +0000 14119 14120 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 14121 14122commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 14123Author: Alan Coopersmith <alan.coopersmith@sun.com> 14124Date: Sat Jun 4 21:20:20 2005 +0000 14125 14126 Bug #3436 <https://bugs.freedesktop.org/show_bug.cgi?id=3436> Conndis.c uses incorrect type for args to XdmcpWrap() (Mike Harris - mharris@www.linux.org.uk) 14127 14128commit ca93c761559ae464189c7ea7cf11c6a6679f2431 14129Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14130Date: Sat May 28 01:02:32 2005 +0000 14131 14132 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 14133 14134commit 09ebb349359e3dd9131fa2fa8b07559faa173654 14135Author: Alan Coopersmith <alan.coopersmith@sun.com> 14136Date: Sun May 22 19:05:11 2005 +0000 14137 14138 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 14139 14140commit 761219b1ef9befc350c8a35b6f96d047e5f008cc 14141Author: Alan Coopersmith <alan.coopersmith@sun.com> 14142Date: Sat May 21 23:07:48 2005 +0000 14143 14144 xtrans: 14145 Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports 14146 ICE: 14147 Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 14148 X11: 14149 Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans. 14150 14151commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 14152Author: Alan Coopersmith <alan.coopersmith@sun.com> 14153Date: Sat May 21 04:26:12 2005 +0000 14154 14155 Quote $ac_cv_search_* variables to prevent errors from test when they are set to "none required" (as happens on Solaris since dlopen is in libc) 14156 Comment out "override CC = gcc" line as it breaks builds with non-GNU makes, and its incorrect to force a specific compiler. Change LINK line from gcc to $(CC). 14157 14158commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 14159Author: Adam Jackson <ajax@nwnk.net> 14160Date: Thu May 19 00:22:32 2005 +0000 14161 14162 revert last change, didn't do right thing at all, sorry for the noise 14163 14164commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 14165Author: Adam Jackson <ajax@nwnk.net> 14166Date: Thu May 19 00:10:07 2005 +0000 14167 14168 Require automake 1.7 in AM_INIT_AUTOMAKE 14169 14170commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 14171Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 14172Date: Tue May 17 22:32:09 2005 +0000 14173 14174 - Check for xproto as its CFLAGS are needed in the .pc file 14175 14176commit 46e8d8a65430dd87c10b066b5cff99a689c22241 14177Author: Egbert Eich <eich-at-freedesktop-dot-org> 14178Date: Tue May 17 08:10:10 2005 +0000 14179 14180 gcc4 allows to check if sentinels are correct (a sentinel is the terminating element in a varargs list). A sentinel needs to be NULL, not 0 - which doesn't make a difference on 32bit but matters on 64bit. Furthermore it can be told that functions have a printf-like format string and argument list so that they can verify that both match. To use these features certain attributes need to be set - which are compiler specific. To do this we define macros which are expanded depending on the compiler version. For now we put those in include/Xfuncproto.h (the XFree86 DDX layer contains a file compiler.h which however is not visible outside the DDX) (Bugzilla #3268). 14181 14182commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 14183Author: <ssp@aware-of-vacuity.boston.redhat.com> 14184Date: Mon May 16 22:35:27 2005 +0000 14185 14186 Make Xdmcp unconditionally required, require various protocol modules. 14187 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 14188 Check for kbproto if using XKB. 14189 Require xextproto rather than xextensions 14190 Remove the entries from the xlibs tree, as they are not relevant here. 14191 14192commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 14193Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 14194Date: Mon May 16 21:48:36 2005 +0000 14195 14196 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 14197 Check for kbproto if using XKB. 14198 14199commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 14200Author: <ssp@aware-of-vacuity.boston.redhat.com> 14201Date: Mon May 16 21:27:35 2005 +0000 14202 14203 Require xextproto rather than xextensions 14204 Remove the entries from the xlibs tree, as they are not relevant here. 14205 14206commit 7eee605e3aeed549d1053325a03027c5e8cbf71b 14207Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 14208Date: Fri May 13 22:53:36 2005 +0000 14209 14210 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 14211 - For Xcomposite and Xdamage, don't link the build system out of the xc tree 14212 - Link the public X11 headers into their own directory 14213 - Add links to XKeysymDB and XErrorDB 14214 - Add links to all the Xlib man pages 14215 - Add links to the lcUniConv subdirectory 14216 - Conditionally include config.h in Xlib source 14217 14218commit 6769ccda88caf27d1441d335ef2b318a047a612b 14219Author: Alan Coopersmith <alan.coopersmith@sun.com> 14220Date: Mon Mar 21 04:58:21 2005 +0000 14221 14222 xc/lib/X11/ErrDes.c 14223 //bugs.freedesktop.org/show_bug.cgi?id=132) Patch #2168 (https://bugs.freedesktop.org/attachment.cgi?id=2168) Replace a couple of BUFSIZE uses with better values to check against. Fixes by Stuart Anderson <anderson@netsweng.com> 14224 14225commit 3b9e8ece93b916c55a82df53e85f097418edf471 14226Author: Roland Mainz <roland.mainz@nrubsig.org> 14227Date: Sat Mar 19 22:04:55 2005 +0000 14228 14229 xc/nls/Compose/iso8859-2 14230 xc/nls/Compose/iso8859-3 14231 xc/nls/Compose/iso8859-9 14232 //bugs.freedesktop.org/show_bug.cgi?id=2592) attachment #2156 (https://bugs.freedesktop.org/attachment.cgi?id=2156) Fix a couple of typos in ISO8859-* Compose files ("asciicircum" instead "of asciicirum"). Patch by Matthias Hopf <mhopf@suse.de>. 14233 14234commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 14235Author: Alan Coopersmith <alan.coopersmith@sun.com> 14236Date: Tue Mar 8 02:53:36 2005 +0000 14237 14238 Bugzilla Bug 2006 (https://bugs.freedesktop.org/show_bug.cgi?id=2006) Patch #2031 (https://bugs.freedesktop.org/attachment.cgi?id=2031) XEmbed client doesn't receive key events from XIM: Use | to set a bit, not &. Patch by Hidetoshi Tajima <hidetoshi.tajima@sun.com>. 14239 14240commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 14241Author: Roland Mainz <roland.mainz@nrubsig.org> 14242Date: Tue Feb 1 03:12:28 2005 +0000 14243 14244 xc/nls/Compose/pt_BR.UTF-8 14245 //bugs.freedesktop.org/show_bug.cgi?id=2400) attachment #1762 (https://bugs.freedesktop.org/attachment.cgi?id=1762): Fix build bustage caused by broken patch for brazillian locale support (see Bugzilla #1896). Patch by Kevin E. Martin <kem@freedesktop.org>. 14246 14247commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 14248Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 14249Date: Fri Jan 28 18:31:31 2005 +0000 14250 14251 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 14252 14253commit f234188a4c1e6b655aef0e3957ccad20d4c5847f 14254Author: Roland Mainz <roland.mainz@nrubsig.org> 14255Date: Wed Jan 19 01:53:55 2005 +0000 14256 14257 xc/nls/compose.dir 14258 xc/nls/locale.dir 14259 xc/nls/Compose/Imakefile 14260 xc/nls/Compose/pt_BR.UTF-8 14261 xc/nls/XI18N_OBJS/Imakefile 14262 xc/nls/XI18N_OBJS/pt_BR.UTF-8 14263 xc/nls/XLC_LOCALE/Imakefile 14264 xc/nls/XLC_LOCALE/pt_BR.UTF-8 14265 //bugs.freedesktop.org/show_bug.cgi?id=1896) attachment #1675 (https://bugs.freedesktop.org/attachment.cgi?id=1675): Add support for pt_BR.UTF-8 locale. Patch by Gustavo Noronha Silva, Branden Robinson, Julien Lafon. 14266 14267commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 14268Author: Egbert Eich <eich-at-freedesktop-dot-org> 14269Date: Fri Jan 14 18:03:09 2005 +0000 14270 14271 Made some security enhancements: 14272 - no writing past end of buffer caused by bogus locale. 14273 - explicitely add a \0 character at end of string. (Bugzilla #2262) 14274 14275commit 5557d47fcf22a6f3adf327691158f2270e3d5094 14276Author: Roland Mainz <roland.mainz@nrubsig.org> 14277Date: Fri Jan 14 04:59:05 2005 +0000 14278 14279 xc/nls/compose.dir 14280 xc/nls/locale.alias 14281 xc/nls/locale.dir 14282 //bugs.freedesktop.org/show_bug.cgi?id=1830) attachment #1674 (https://bugs.freedesktop.org/attachment.cgi?id=1674): Adding support for the bs_BA (bs, bs_BA, bs_BA.iso88592, bs_BA.ISO-8859-2, bs_BA.ISO_8859-2, bs_BA.UTF-8) locale. Patch by Vedran Ljubovic <vljubovic@smartnet.ba>. 14283 14284commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 14285Author: Egbert Eich <eich-at-freedesktop-dot-org> 14286Date: Tue Jan 11 17:37:57 2005 +0000 14287 14288 'Normalize' locale names (ie. remove any '-' and '_' and convert to lower case after the <language>_<territory> part) before matching against locale.alias (Bugzilla #2262). This needs adequate testing that we don't accidentally introduce undesirable side effects. 14289 14290commit 642cd269f94a234aa470a1d43385bd42625d89a1 14291Author: Egbert Eich <eich-at-freedesktop-dot-org> 14292Date: Tue Dec 14 08:59:20 2004 +0000 14293 14294 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 14295 Fixed typo. 14296 Added comment to a changed that's been committed with one of the previous commits. 14297 14298commit a07ccae36e629741d2e48de7730114d30a975a41 14299Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14300Date: Sun Dec 12 08:42:50 2004 +0000 14301 14302 Fix missing XChangeProperty() prototype missing in synopsis section. 14303 14304commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 14305Author: Alexander Gottwald <ago at freedesktop dot org> 14306Date: Wed Dec 8 13:42:01 2004 +0000 14307 14308 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 14309 14310commit d5e7ab194103e22fd6c5094aaa107d90210bb600 14311Author: Jim Gettys <jg@freedesktop.org> 14312Date: Thu Dec 2 16:18:16 2004 +0000 14313 14314 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 14315 14316commit 03940d7330cb1bbf93d49c650aefb19de457da7c 14317Author: Alexander Gottwald <ago at freedesktop dot org> 14318Date: Wed Dec 1 13:06:55 2004 +0000 14319 14320 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 14321 14322commit 11a03ab908bfcfab8a3492684e8e9320e492d552 14323Author: Alexander Gottwald <ago at freedesktop dot org> 14324Date: Wed Dec 1 12:42:17 2004 +0000 14325 14326 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 14327 14328commit f3d83ee153f42e8899b844377e6b842d93411e62 14329Author: Alexander Gottwald <ago@freedesktop.org> 14330Date: Mon Nov 15 15:06:54 2004 +0000 14331 14332 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 14333 14334commit b798ea11911ac58a8e6e7d15a2a643b023859749 14335Author: Alexander Gottwald <ago at freedesktop dot org> 14336Date: Mon Nov 15 13:29:56 2004 +0000 14337 14338 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 14339 14340commit 436108cd6c84053698e5ca629096f59b34f50c2a 14341Author: Kristian Høgsberg <krh@redhat.com> 14342Date: Thu Nov 11 15:37:01 2004 +0000 14343 14344 Fix #1818 14345 14346commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 14347Author: Roland Mainz <roland.mainz@nrubsig.org> 14348Date: Tue Nov 9 00:56:56 2004 +0000 14349 14350 xc/nls/compose.dir 14351 xc/nls/locale.alias 14352 xc/nls/locale.dir 14353 //freedesktop.org/bugzilla/show_bug.cgi?id=1544): Adding support for the si_LK (si, sinhala, si_LK, si_LK.UTF-8) locale. Patch by Anuradha Ratnaweera <gnu.slash.linux@gmail.com>. 14354 14355commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 14356Author: Roland Mainz <roland.mainz@nrubsig.org> 14357Date: Fri Nov 5 00:58:49 2004 +0000 14358 14359 xc/nls/compose.dir 14360 xc/nls/locale.alias 14361 xc/nls/locale.dir 14362 Adding some of the major indic locales (bn_IN.UTF-8, bn_IN.utf8, gu_IN.UTF-8, gu_IN.utf8, pa_IN.UTF-8, pa_IN.utf8) to X. Patch by Leon Ho <llch@redhat.com>. 14363 14364commit af7467ec734321f127b957921cce7792902b6794 14365Author: Egbert Eich <eich-at-freedesktop-dot-org> 14366Date: Mon Oct 18 17:29:03 2004 +0000 14367 14368 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 14369 14370commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 14371Author: Egbert Eich <eich-at-freedesktop-dot-xorg> 14372Date: Mon Oct 18 14:21:45 2004 +0000 14373 14374 Made handling of DevelDrivers for x86-64 more conformant to other platforms. 14375 Compress all font encodings (Stefan Dirsch). 14376 Fixed warnings. 14377 Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 14378 Added another compose key combination for the Euro symbol (Stefan Dirsch). 14379 Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 14380 Changed default encoding for ru from KOI8-R to ISO8859-5 (Mike Fabian). This is the encoding that is also used by glibc. We may break other libcs - lets see who complains. 14381 Added explanation for DESTDIR to install to a different directory than /. 14382 Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 14383 XV support doesn't depend on 2D acceleration any more. This patch removes this limitation from the NSC driver. This is a patch that I have committed to XFree86 a while ago but never ported over to X.Org. Matthieu Herrb contributed some build fixes. 14384 Fixing SetDPMSTimers() so that DPMS*Time == 0 disables the appropriate timer. This takes advantage of the fact that TimerSet() with a timeout argument 0 behaves like TimerCanel(). 14385 Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 14386 Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 14387 Changed comment to mention xorg. 14388 Changed cursor for the 'kill' action from XC_draped_box to XC_Pirate. If you don't like it we can change it back (original author unkown). 14389 Added 'pic' to the man page rendering command pipeline (Werner Fink). 14390 Added missing return value (Stefan Dirsch, Roland Mainz) 14391 14392commit 1ba103c3cad2329db3a31f88d7798b913affc570 14393Author: Eric Anholt <anholt@freebsd.org> 14394Date: Wed Oct 13 07:38:00 2004 +0000 14395 14396 Use attributes instead of pragmas for weak symbols on gcc 2.95 as well. Using pragmas may result in the symbols being undefined with big -O. (FreeBSD ports/69708, Masakazu HIGAKI <higamasa@dream.com>) 14397 14398commit d80237db627bf71ad5615ff4ba05e6ab436aa740 14399Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 14400Date: Fri Oct 8 22:57:56 2004 +0000 14401 14402 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 14403 Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 14404 14405commit d1f76d17ecf418396627b1a58319f2b9b255548a 14406Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 14407Date: Sun Sep 26 22:54:57 2004 +0000 14408 14409 bug fix for previous patch 14410 14411commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 14412Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 14413Date: Sun Sep 26 20:46:17 2004 +0000 14414 14415 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 14416 14417commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 14418Author: Egbert Eich <eich@freedesktop.org> 14419Date: Wed Sep 15 09:05:22 2004 +0000 14420 14421 Unregistering events in XSelectInput() when unregistering IM filter callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak). 14422 Fix size of a variable that gets assigned the value of SmartScheduleTime (long) to long. This should help to prevent smart scheduler lockup on 64 bit systems due to overruns (Andreas Schwab). 14423 14424commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 14425Author: Egbert Eich <eich@freedesktop.org> 14426Date: Tue Aug 31 11:37:03 2004 +0000 14427 14428 Fixed some lockups in XIM code when the application is running with multi thread support. These lockups occur deep down in XFilterEvents() which itself locks when another Xlib function gets called that also locks. This fixes two instances by separating those Xlib functions into an internal (non-locking) call and a locking wrapper that is used as an external function. There may be several other such instances therefore another more general patch is eventually required (Bugzilla #1182). 14429 14430commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 14431Author: Kevin E Martin <kem@kem.org> 14432Date: Thu Aug 19 06:48:06 2004 +0000 14433 14434 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 14435 14436commit d558a53a6f57eecfcaadce5141fe3a08860defcb 14437Author: Keith Packard <keithp@keithp.com> 14438Date: Sat Aug 14 07:12:36 2004 +0000 14439 14440 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 14441 Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 14442 Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 14443 Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 14444 14445commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 14446Author: Alexander Gottwald <ago@freedesktop.org> 14447Date: Fri Aug 13 16:28:19 2004 +0000 14448 14449 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 14450 Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 14451 14452commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 14453Author: Adam Jackson <ajax@nwnk.net> 14454Date: Wed Aug 11 05:25:13 2004 +0000 14455 14456 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 14457 14458commit 92487437173f600f208d825f65756d3ad14a4f7e 14459Author: Kevin E Martin <kem@kem.org> 14460Date: Mon Aug 9 22:37:22 2004 +0000 14461 14462 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 14463 Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 14464 Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 14465 HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 14466 Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 14467 Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 14468 Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 14469 Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 14470 Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 14471 Fix several render problems: 14472 - MMIO mode support 14473 - Hang on IGP chips 14474 - VT switching hang 14475 - 3D render corruption (Bug #922, Hui Yu). 14476 14477commit 55c2ee568e7d3903258286a13bdf96ce5348ffda 14478Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14479Date: Tue Jul 27 06:06:05 2004 +0000 14480 14481 - remove remaining AMOEBA references. 14482 - remove unused file. 14483 14484commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 14485Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 14486Date: Tue Jul 20 17:48:09 2004 +0000 14487 14488 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 14489 Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 14490 Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 14491 Use /dev/urandom on Linux.(#761). 14492 14493commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 14494Author: Eric Anholt <anholt@freebsd.org> 14495Date: Fri May 28 23:26:44 2004 +0000 14496 14497 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 14498 14499commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 14500Author: Egbert Eich <eich@pdx.freedesktop.org> 14501Date: Mon May 24 19:02:11 2004 +0000 14502 14503 Improve 'uniqueness' of authorization cookie sent by client for XDM-AUTHORIZATION-1. Old 'uniquness' consisted of the PID of the client, a time stamp (in seconds) and a number obtained by starting to count down from 0xffff. When a client did an XOpenDisplay() then execv'ed a child and did XOpenDisplay() again within the same second, the cookie was identical to the previous one (as the PID did not change but the static 'count down' variable was reinitialized) and thus refused by the server. 14504 14505commit 720702da29769d80ad1254d92edbad5b30f8a8da 14506Author: Alan Coopersmith <alan.coopersmith@sun.com> 14507Date: Sat May 22 03:47:42 2004 +0000 14508 14509 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 14510 14511commit 3aed873292424b497d9a7dcee2975b95bf5ac966 14512Author: Alan Coopersmith <alan.coopersmith@sun.com> 14513Date: Sat Apr 24 23:39:25 2004 +0000 14514 14515 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 14516 Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 14517 xc/config/cf/sunLib.tmpl 14518 xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 14519 14520commit c6349f43193b74a3c09945f3093a871b0157ba47 14521Author: Egbert Eich <eich@freedesktop.org> 14522Date: Fri Apr 23 18:42:09 2004 +0000 14523 14524 Merging XORG-CURRENT into trunk 14525 14526commit c3c4ddc682950a01b80825021f3e2503ab01ea7f 14527Author: Kaleb Keithley <kaleb@freedesktop.org> 14528Date: Tue Nov 25 19:28:07 2003 +0000 14529 14530 Initial revision 14531 14532commit dc4268a7dadc8da0d561757a68461246728613d3 14533Author: Kaleb Keithley <kaleb@freedesktop.org> 14534Date: Fri Nov 14 16:48:47 2003 +0000 14535 14536 Initial revision 14537 14538commit deae12c6b683898f5213992d561a59d4ea889cca 14539Author: Kaleb Keithley <kaleb@freedesktop.org> 14540Date: Fri Nov 14 15:54:30 2003 +0000 14541 14542 R6.6 is the Xorg base-line 14543