ChangeLog revision d5e6aabb
1commit 59917d28a3c41ad22d6fc52e323cafe2cdd596d5 2Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3Date: Sat Mar 8 15:23:04 2025 -0800 4 5 libX11 1.8.12 6 7 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 9commit 5f8077b257ea27a5fd6f114d2bc15284b2416b3c 10Author: Olivier Fourdan <ofourdan@redhat.com> 11Date: Thu Nov 28 14:09:04 2024 +0100 12 13 xkb: Fix buffer overflow in XkbChangeTypesOfKey() 14 15 If XkbChangeTypesOfKey() is called with nGroups == 0, it will resize the 16 key syms to 0 but leave the key actions unchanged. 17 18 If later, the same function is called with a non-zero value for nGroups, 19 this will cause a buffer overflow because the key actions are of the wrong 20 size. 21 22 To avoid the issue, make sure to resize both the key syms and key actions 23 when nGroups is 0. 24 25 (cherry picked from xorg/xserver@0e4ed94952b255c04fe910f6a1d9c852878dcd64) 26 27 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 28 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 29 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 30 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/279> 31 32commit 865fd56aeb5c5d1812cce46ed197873c48b08692 33Author: Alan Coopersmith <alan.coopersmith@oracle.com> 34Date: Sun Nov 1 15:45:08 2020 -0800 35 36 xkb: always set *mask_rtrn in XkbVirtualModsToReal 37 38 Resolves warning from Oracle Parfait static analyser: 39 40 Error: Uninitialised memory 41 Uninitialised memory variable [uninitialised-mem-var] (CWE 457): 42 Possible access to uninitialised memory referenced by variable 'mask' 43 at line 721 of xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'. 44 Path in callee avoiding write at line 720 45 mask allocated at line 718 46 47 (cherry picked from xorg/xserver@a6574033f464c7cde02bce8f1b130ff6b2b2d9eb) 48 49 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 50 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/279> 51 52commit 88d1a84ca3c0f87ffcb83b9b96e34a7121d5e2d3 53Author: Alan Coopersmith <alan.coopersmith@oracle.com> 54Date: Sat Feb 22 11:59:13 2025 -0800 55 56 XkbChangeTypesOfKey: verify newTypesIn is not null before using it 57 58 Based on xorg/xserver@97c9e6a7139e07a0761be05034fae42fcd65ba36 59 60 Fixes: 8ba0ca32 ("Janitor: ansification, make distcheck, compiler warnings.") 61 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 62 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/279> 63 64commit 48a1335cab13d883e15b4eb5e9a5e080289a5c64 65Author: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 66Date: Tue May 29 10:17:50 2012 +0530 67 68 xkb: Allocate size_syms correctly when width of a type increases 69 70 The current code seems to skip syms with width less than 71 type->num_levels when calculating the total size for the new 72 size_syms. This leads to less space being allocated than necessary 73 during the next phase, which is to copy over the syms to the new 74 location. This results in an overflow leading to a crash. 75 76 (cherry picked from xorg/xserver@42ae2e8199fe875319978249963de7499607988b) 77 78 Signed-off-by: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 79 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 80 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 81 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/279> 82 83commit 158be3ebd7d1da4d16bfc2dee82aac477fbcb833 84Author: Daniel Stone <daniel@fooishbar.org> 85Date: Wed Mar 21 02:04:12 2007 +0200 86 87 XKB: Fix size_syms calculation bug 88 89 Apparently it needed to be nSyms*15/10, not *12/10; make it match the 90 other allocation code. 91 92 (cherry picked from xorg/xserver@f292de2ef13dc994a38029cee9e2642576893332) 93 94 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 95 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/279> 96 97commit d6e1ca046aef42ec5465ece5edbdffe0bc7c0cb6 98Author: Alan Coopersmith <alan.coopersmith@oracle.com> 99Date: Sat Feb 22 10:13:52 2025 -0800 100 101 XkbFreeKeyboard: set xkb->geom to NULL after freeing it 102 103 Because XkbFreeGeometry takes a pointer to the geometry structure, 104 and not the overall xkb structure like the other XkbFree*() calls, 105 the caller is responsible for clearing the xkb->geom pointer to 106 ensure it is not used after free. 107 108 Based on xorg/xserver@629798c73ad76a77fa6a55bc6403fd9b95ade2bb 109 110 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 111 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/279> 112 113commit 4a3ca6eeced253aacb0e2ecf640b9eb93863badc 114Author: Alan Coopersmith <alan.coopersmith@oracle.com> 115Date: Sun Feb 23 15:19:54 2025 -0800 116 117 x11.pc: Add URL field 118 119 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 120 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/280> 121 122commit 23f0352eca362515d598bfdbd8ecec070dcd1b28 123Author: Alan Coopersmith <alan.coopersmith@oracle.com> 124Date: Sun Feb 2 13:54:27 2025 -0800 125 126 libX11 1.8.11 127 128 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 129 130commit 4665733565eda7ae32302c3abf1aaf5075b8abde 131Author: Alan Coopersmith <alan.coopersmith@oracle.com> 132Date: Sat Jan 11 10:31:08 2025 -0800 133 134 configure: drop `pthread-stubs` dependency on Dragonfly, FreeBSD, & NetBSD 135 136 syncs with changes to libxcb 1.16 & 1.16.1 137 138 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 139 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/277> 140 141commit ba15d51bfe789e84e291ccfb31d5f0ae6192969e 142Author: Aaron Muir Hamilton <aaron@correspondwith.me> 143Date: Sun Oct 27 21:42:23 2024 -0400 144 145 ximcp/imRm.c: allow XNArea with OnTheSpot 146 147 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/270> 148 149commit 61175323a8a374aaedb139894987ddaf2bb2ba27 150Author: Alan Coopersmith <alan.coopersmith@oracle.com> 151Date: Mon Dec 30 10:27:23 2024 -0800 152 153 cmsColNm: remove obsolete comment about FirstCmp being public 154 155 It was made a static function in May 14, 1991 by rws in 156 commit "make FirstCmp static" for X11R5 157 158 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 159 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/276> 160 161commit 7c75a066454fbafe586f7c24aeee65348f9d2bcc 162Author: Pierre Le Marre <dev@wismill.eu> 163Date: Mon Dec 9 14:51:17 2024 +0100 164 165 Fix misuse of UCSConvertCase in XConvertCase 166 167 There are two issues with the use of `UCSConvertCase` in `XConvertCase`: 168 169 - Some Latin-1 keysyms do not map within Latin-1, e.g. `ssharp`. 170 Only Latin-1 keysyms have the same value as the Unicode code point of 171 their corresponding character. So `UCSConvertCase` does not work for 172 some Latin-1 keysyms as it returns Unicode code points outside Latin-1 173 that do not match their corresponding keysyms values. 174 - Some Unicode keysyms should map to Latin-1 keysyms (<0x100). But the 175 Unicode keysym mask 0x01000000 is applied blindly to the result of 176 `UCSConvertCase`, resulting in invalid Unicode keysyms (0x010000nn) 177 while they should be Latin-1 keysyms. 178 179 Example with ß/ẞ: 180 181 ```c 182 KeySym lower, upper; 183 184 XConvertCase(XK_ssharp, &lower, &upper); 185 // Expected: lower == XK_ssharp, upper == U1E9E 186 // Got: lower == XK_ssharp, upper == 0x1E9E 187 188 XConvertCase(U1E9E, &lower, &upper); 189 // Expected: lower == XK_ssharp, upper == U1E9E 190 // Got: lower == 0x10000df, upper == U1E9E 191 ``` 192 193 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/274> 194 195commit 5a7d94e07fc7e4a10d6399f5e44793fa0c896af6 196Author: Alan Coopersmith <alan.coopersmith@oracle.com> 197Date: Tue Nov 12 12:40:04 2024 -0800 198 199 xkb: avoid undefined behavior due to left shift overflow 200 201 Closes: #225 202 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 203 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/273> 204 205commit 1ef3c6f010c03eade038b4e662c0eef47014800d 206Author: Alan Coopersmith <alan.coopersmith@oracle.com> 207Date: Sun Nov 10 15:38:25 2024 -0800 208 209 XIM_SET_PAD: add do ... while (0) to avoid -Wextra-semi-stmt warnings 210 211 Clears 8 warnings from clang of the form: 212 213 imDefIc.c:366:29: warning: empty expression statement has no effect; 214 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 215 XIM_SET_PAD(&buf_s[2], len); /* pad */ 216 ^ 217 218 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 219 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 220 221commit 22ded6890e9d11cc9eca59737fc531d40ec284a6 222Author: Alan Coopersmith <alan.coopersmith@oracle.com> 223Date: Sun Nov 10 15:30:48 2024 -0800 224 225 Xrm.c: remove unneccessary ; after {} 226 227 Clears 2 clang warnings: 228 229 Xrm.c:1186:51: warning: empty expression statement has no effect; 230 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 231 while (is_space(bits = next_char(c, str))) {}; 232 ^ 233 Xrm.c:1191:48: warning: empty expression statement has no effect; 234 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 235 while (is_space(bits = next_char(c, str))) {}; 236 ^ 237 238 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 239 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 240 241commit b7f59114abb4a4766d7fd5805d0435d023cd0c4b 242Author: Alan Coopersmith <alan.coopersmith@oracle.com> 243Date: Sun Nov 10 15:29:21 2024 -0800 244 245 DL_APPEND/DL_DELETE: remove trailing semicolon from definitions 246 247 Clears 2 clang warnings: 248 249 XlibInt.c:672:26: warning: empty expression statement has no effect; 250 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 251 DL_APPEND(*head, add); 252 ^ 253 XlibInt.c:694:36: warning: empty expression statement has no effect; 254 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 255 DL_DELETE(*head, event); 256 ^ 257 258 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 259 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 260 261commit da431b8f7ff21d36b5a88237c991ca43b185d65f 262Author: Alan Coopersmith <alan.coopersmith@oracle.com> 263Date: Sun Nov 10 15:25:40 2024 -0800 264 265 xcb_io.c: add do ... while (0) to avoid -Wextra-semi-stmt warnings 266 267 Clears 10 warnings from clang of the form: 268 269 xcb_io.c:177:56: warning: empty expression statement has no effect; 270 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 271 xcb_xlib_unknown_req_in_deq); 272 ^ 273 274 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 275 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 276 277commit a53c45d69e88799e59dfbd324843df65a30cf4a9 278Author: Alan Coopersmith <alan.coopersmith@oracle.com> 279Date: Sun Nov 10 13:16:41 2024 -0800 280 281 CI_GET_*_INFO_*: add do ... while (0) to avoid -Wextra-semi-stmt warnings 282 283 Clears 24 warnings from clang of the form: 284 285 TextExt16.c:63:34: warning: empty expression statement has no effect; 286 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 287 CI_GET_DEFAULT_INFO_1D (fs, def); 288 ^ 289 290 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 291 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 292 293commit 68912288218527846b04cbe8d647a2c252e82e20 294Author: Alan Coopersmith <alan.coopersmith@oracle.com> 295Date: Sun Nov 10 13:11:12 2024 -0800 296 297 RETURN: add do ... while (0) to avoid -Wextra-semi-stmt warnings 298 299 Clears 5 warnings from clang of the form: 300 301 RdBitF.c:141:32: warning: empty expression statement has no effect; 302 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 303 RETURN (BitmapFileInvalid); 304 ^ 305 306 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 307 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 308 309commit 38c642c8ebd69f761fdda03664eba6889a331598 310Author: Alan Coopersmith <alan.coopersmith@oracle.com> 311Date: Sun Nov 10 13:08:31 2024 -0800 312 313 poly.h: add do ... while (0) to avoid -Wextra-semi-stmt warnings 314 315 Clears 3 warnings from clang of the form: 316 317 PolyReg.c:224:67: warning: empty expression statement has no effect; 318 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 319 BRESINITPGONSTRUCT(dy, top->x, bottom->x, pETEs->bres); 320 ^ 321 322 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 323 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 324 325commit 906bf4a86d174ed20fda925d8f82de023aa26d2d 326Author: Alan Coopersmith <alan.coopersmith@oracle.com> 327Date: Sun Nov 10 12:37:53 2024 -0800 328 329 PutCommandResource: add do ... while (0) to avoid -Wextra-semi-stmt warnings 330 331 Clears 4 warnings from clang of the form: 332 333 ParseCmd.c:158:43: warning: empty expression statement has no effect; 334 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 335 PutCommandResource(options[i].value); 336 ^ 337 338 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 339 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 340 341commit c0768ab687fa07f83d0030dd161f4aa49cbe84f8 342Author: Alan Coopersmith <alan.coopersmith@oracle.com> 343Date: Sun Nov 10 12:35:44 2024 -0800 344 345 GetFunc: add do ... while (0) to avoid -Wextra-semi-stmt warnings 346 347 Clears 4 warnings from clang of the form: 348 349 CrGlCur.c:140:64: warning: empty expression statement has no effect; 350 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 351 GetFunc (TryShapeCursorFunc, "XcursorTryShapeCursor", func); 352 ^ 353 354 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 355 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 356 357commit 49350501687d9633a86ae317d5311228e7d812e8 358Author: Alan Coopersmith <alan.coopersmith@oracle.com> 359Date: Sun Nov 10 12:33:01 2024 -0800 360 361 _XCreateMutex/_XFreeMutex: remove trailing semicolon from definitions 362 363 Makes them match the style of the other macros here and clears 364 up 5 clang warnings of the form: 365 366 Context.c:194:27: warning: empty expression statement has no effect; 367 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 368 _XCreateMutex(&db->linfo); 369 ^ 370 371 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 372 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 373 374commit 41c4aa408c3488e920e1f08eb946442faa051e6c 375Author: Alan Coopersmith <alan.coopersmith@oracle.com> 376Date: Sun Nov 10 11:52:19 2024 -0800 377 378 OneDataCard32: add do ... while (0) to avoid -Wextra-semi-stmt warnings 379 380 Clears 13 warnings from clang of the form: 381 382 Backgnd.c:44:72: warning: empty expression statement has no effect; 383 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 384 OneDataCard32 (dpy, NEXTPTR(req,xChangeWindowAttributesReq), pixel); 385 ^ 386 387 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 388 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 389 390commit 68e6caad8fcad28143769384536d4529fe0161c4 391Author: Alan Coopersmith <alan.coopersmith@oracle.com> 392Date: Sun Nov 10 11:48:41 2024 -0800 393 394 _XkbCheckPendingRefresh: add do ... while (0) to avoid -Wextra-semi-stmt 395 396 Clears 6 warnings from clang of the form: 397 398 XKBBind.c:74:48: warning: empty expression statement has no effect; 399 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 400 _XkbCheckPendingRefresh(dpy, dpy->xkb_info); 401 ^ 402 403 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 404 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 405 406commit 563ddd4ff5575e3f8bbf635cbdc339b09a7e285e 407Author: Alan Coopersmith <alan.coopersmith@oracle.com> 408Date: Sun Nov 10 11:09:56 2024 -0800 409 410 BufAlloc: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings 411 412 Clears 46 warnings from clang of the form: 413 414 XKB.c:207:69: warning: empty expression statement has no effect; 415 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 416 BufAlloc(char *, out, (((size * 2) + (unsigned) 3) / 4) * 4); 417 ^ 418 419 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 420 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 421 422commit 5e22c4b3d56d8327d8610faabc8ecfc0c45399de 423Author: Alan Coopersmith <alan.coopersmith@oracle.com> 424Date: Sun Nov 10 11:06:28 2024 -0800 425 426 set_toupper: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings 427 428 Clears 4 warnings from clang of the form: 429 430 lcUtil.c:53:18: warning: empty expression statement has no effect; 431 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 432 set_toupper(ch1); 433 ^ 434 435 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 436 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 437 438commit 4cb567d9a05b4a995a50e2fe178c2e697d339668 439Author: Alan Coopersmith <alan.coopersmith@oracle.com> 440Date: Sun Nov 10 10:27:39 2024 -0800 441 442 Data: add do ... while (0) to avoid -Wextra-semi-stmt warnings 443 444 Clears 38 warnings from clang of the form: 445 446 cmsLkCol.c:155:35: warning: empty expression statement has no effect; 447 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 448 Data (dpy, colorname, (long)n); 449 ^ 450 451 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 452 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 453 454commit 9ab8f6a5f73cbe0675d1555504f6ec269c9dde8d 455Author: Alan Coopersmith <alan.coopersmith@oracle.com> 456Date: Sun Nov 10 10:14:49 2024 -0800 457 458 DeqAsyncHandler: add do ... while (0) to avoid -Wextra-semi-stmt warnings 459 460 Clears 12 warnings from clang of the form: 461 462 cmsCmap.c:194:34: warning: empty expression statement has no effect; 463 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 464 DeqAsyncHandler(dpy, &async); 465 ^ 466 467 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 468 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272> 469 470commit 8703ecf105d5bf6e5b105bc25ceaee8f43344c71 471Author: Julien Cristau <jcristau@debian.org> 472Date: Fri Nov 1 13:03:56 2024 +0100 473 474 ximcp: hide internal functions 475 476 commit 13e9ac4d45 "ximcp: Unmark to fabricate key events with XKeyEvent 477 serial" added new _XimFabricateSerial / _XimUnfabricateSerial / 478 _XimIsFabricatedSerial functions; they don't need to be exported by 479 libX11. 480 481 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/271> 482 483commit 41bc1a9dbe5b634489539f7779078d4a3b35df5e 484Author: Alan Coopersmith <alan.coopersmith@oracle.com> 485Date: Sat Oct 26 11:02:42 2024 -0700 486 487 ximcp: don't leak window if XGetAtomName() fails 488 489 Found by Oracle Parfait 13.3 static analyzer: 490 X Resource Leak [X-resource-leak]: 491 Leaked X Resource window 492 at line 306 of imDefIm.c in function '_XimPreConnectionIM'. 493 window initialized at line 300 with XCreateSimpleWindow 494 495 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 496 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/269> 497 498commit df1f1a47f90e71fbe68b1fe57bd021ac2320579b 499Author: Alan Coopersmith <alan.coopersmith@oracle.com> 500Date: Sun Jul 21 12:31:56 2024 -0700 501 502 _XGetRequest: Set data field to 0 when initializing new requests 503 504 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 505 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/268> 506 507commit f2ebbce6d0978d2d84f840196b03ee35a3ca1736 508Author: Alan Coopersmith <alan.coopersmith@oracle.com> 509Date: Sun Sep 29 10:24:23 2024 -0700 510 511 _XimStrConversionCallback: use size_t to calculate size to malloc 512 513 Avoids build failures with gcc 14.2 when MALLOC_0_RETURNS_NULL is defined: 514 515 imCallbk.c:346:9: error: ‘memcpy’ offset 10 is out of the bounds [0, 1] 516 [-Werror=array-bounds=] 517 346 | memcpy(&buf[p],&cbrec.text->string.mbs,length_in_bytes); 518 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 519 520 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 521 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/267> 522 523commit 75c5bdee81b3a1147c2f123db7a052a4a79fbea4 524Author: Alan Coopersmith <alan.coopersmith@oracle.com> 525Date: Sun Sep 29 10:04:40 2024 -0700 526 527 _XimEncodingNegotiation: swap order of arguments to calloc 528 529 Avoids build failures with gcc 14.2 when MALLOC_0_RETURNS_NULL is defined: 530 531 imDefIm.c: In function ‘_XimEncodingNegotiation’: 532 imDefIm.c:1739:15: error: ‘memcpy’ offset 8 is out of the bounds [0, 1] 533 [-Werror=array-bounds=] 534 1739 | (void)memcpy((char *)&buf_s[2], name_ptr, name_len); 535 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 536 537 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 538 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/267> 539 540commit 1f01aafa6d9100c5d4a48636b188334cdb223bd5 541Author: Alan Coopersmith <alan.coopersmith@oracle.com> 542Date: Sun Sep 29 09:06:32 2024 -0700 543 544 _XlcDefaultMapModifiers: remove conversions between size_t & int 545 546 Avoids build failures with gcc 14.2 when MALLOC_0_RETURNS_NULL is defined: 547 548 lcWrap.c: In function ‘_XlcDefaultMapModifiers’: 549 lcWrap.c:149:9: warning: ‘strcpy’ writing between 4294967296 and 550 9223372036854775806 bytes into a region of size 1 [-Wstringop-overflow=] 551 149 | strcpy(mods, prog_mods); 552 | ^~~~~~~~~~~~~~~~~~~~~~~ 553 ../../include/X11/Xlibint.h:457:24: note: destination object of size 1 554 allocated by ‘malloc’ 555 457 | # define Xmalloc(size) malloc((size_t)((size) == 0 ? 1 : (size))) 556 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 557 lcWrap.c:147:12: note: in expansion of macro ‘Xmalloc’ 558 147 | mods = Xmalloc(i); 559 | ^~~~~~~ 560 lcWrap.c:149:9: error: ‘__builtin_memcpy’ forming offset [1, 4294967295] 561 is out of the bounds [0, 1] [-Werror=array-bounds=] 562 149 | strcpy(mods, prog_mods); 563 | ^~~~~~~~~~~~~~~~~~~~~~~ 564 565 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 566 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/267> 567 568commit 86e71472bc826ac5c850e200cb3820485b5689cf 569Author: Alan Coopersmith <alan.coopersmith@oracle.com> 570Date: Sat Aug 31 10:49:16 2024 -0700 571 572 SetFontPath: if ndirs is 0, skip work to make a list of directories 573 574 Clears warning from gcc 14.1: 575 576 SetFPath.c: In function ‘XSetFontPath’: 577 ../include/X11/Xlibint.h:463:24: warning: argument 1 value is zero 578 [-Walloc-zero] 579 463 | # define Xmalloc(size) malloc((size_t)(size)) 580 | ^~~~~~~~~~~~~~~~~~~~~~ 581 SetFPath.c:61:18: note: in expansion of macro ‘Xmalloc’ 582 61 | if ((p = Xmalloc (nbytes))) { 583 | ^~~~~~~ 584 585 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 586 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/266> 587 588commit 19b2f5c2d0935cbf9c17ecf30604f80592807b59 589Author: Olivier Fourdan <ofourdan@redhat.com> 590Date: Fri Aug 9 10:24:13 2024 +0200 591 592 Fix indentation 593 594 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 595 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/264> 596 597commit f3d6ebac35301d4ad068e307f0fbe6aa12ccbccb 598Author: Olivier Fourdan <ofourdan@redhat.com> 599Date: Fri Aug 9 09:21:31 2024 +0200 600 601 Close xcb connection after freeing display structure 602 603 Commit 1472048b7 to fix a colormap threading issue added a display 604 lock/unlock and a call to SyncHandle() to _XcmsFreeClientCmaps(). 605 606 When running synchronized, that means calling XSync(). 607 608 _XcmsFreeClientCmaps() is called from _XFreeDisplayStructure() via 609 XCloseDisplay() after the xcb connection is closed. 610 611 So when running synchronized, we may end up calling XSync() after the 612 xcb connection to the display is closed, which will generate a spurious 613 XIO error: 614 615 | #0 in _XDefaultIOError () at /lib64/libX11.so.6 616 | #1 in _XIOError () at /lib64/libX11.so.6 617 | #2 in _XReply () at /lib64/libX11.so.6 618 | #3 in XSync () at /lib64/libX11.so.6 619 | #4 in _XSyncFunction () at /lib64/libX11.so.6 620 | 8#5 in _XFreeDisplayStructure () at /lib64/libX11.so.6 621 | 8#6 in XCloseDisplay () at /lib64/libX11.so.6 622 623 To avoid that issue, closed the xcb connection to the display last. 624 625 v2: And same in OutOfMemory() as well (José Expósito) 626 627 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 628 Reviewed-by: José Expósito <jexposit@redhat.com> 629 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/264> 630 631commit ed9fb5535efe1e5278654b6b3994a34337b4bf1a 632Author: Alan Coopersmith <alan.coopersmith@oracle.com> 633Date: Sun Jul 28 10:37:55 2024 -0700 634 635 libX11 1.8.10 636 637 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 638 639commit 92014b39634e0b0aa52d4bff955a7aac3ed0a915 640Author: Kelly Roadkill <roadkell@pm.me> 641Date: Tue Jul 23 08:12:01 2024 +0500 642 643 Revert "nls: add compose seq's for symbols absent from Cyrillic layouts to ru_RU" 644 645 Testing by multilingual typists revealed that the 646 proposed sequences are too complex for everyday 647 use. It seems that the inherent problems with 648 JCUKEN can only be fixed with better kbd layouts. 649 650 This reverts commit 174df0b8b6ada7e1c741373c7d686e00f42d8bd5. 651 652 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/261> 653 654commit be137dffa6f0b7640ce80b4266539009544bb045 655Author: Kelly Roadkill <roadkell@pm.me> 656Date: Fri Jul 19 16:47:40 2024 +0500 657 658 nls: add compose sequences for hryvnia currency 659 660 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/259> 661 662commit 39d57cbeda627115f7e8bd305b6cbd9df1daa007 663Author: Alan Coopersmith <alan.coopersmith@oracle.com> 664Date: Sat Jul 13 10:14:02 2024 -0700 665 666 xlibi18n/lcFile.c: avoid use of possibly-NULL pointer with strcpy 667 668 Fixes gcc warnings: 669 lcFile.c: In function ‘_XlcLocaleLibDirName’: 670 lcFile.c:708:5: warning: use of possibly-NULL ‘last_dir_name’ where 671 non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 672 708 | strcpy (last_dir_name, dir_name); 673 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 674 675 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 676 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/258> 677 678commit 8abcaba1a7ee363a35ad8d869715095096995c76 679Author: Alan Coopersmith <alan.coopersmith@oracle.com> 680Date: Sat Jul 6 09:37:50 2024 -0700 681 682 Revert "unifdef __vax__" 683 684 This reverts commit 4ce3962b701c502acc96b6eaf104a5ffc317c5d7. 685 Requested by NetBSD which still has a supported VAX port. 686 687 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/257> 688 689commit 751fbc59c30604980fdd19cb4b333d3cf2eccb24 690Author: Olivier Fourdan <ofourdan@redhat.com> 691Date: Fri Jun 21 14:37:24 2024 +0200 692 693 Fix deadlock in XRebindKeysym() 694 695 Xlib is now built with threading support enabled from the constructor 696 by default. 697 698 XRebindKeysym() acquires the display lock, then calls: 699 700 | XRebindKeysym() 701 | LockDisplay() 702 | ComputeMaskFromKeytrans() 703 | -> XkbKeysymToModifiers() 704 | -> _XkbLoadDpy() 705 | -> XkbGetMap() 706 | -> XkbGetUpdatedMap() 707 | LockDisplay() 708 709 And the dead lock: 710 711 | Xlib ERROR: XKBGetMap.c line 575 thread 1fc6e580: locking display already 712 | locked at KeyBind.c line 937 713 714 To avoid the issue, call ComputeMaskFromKeytrans() from outside the display 715 lock. 716 717 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 718 Closes: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/216 719 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/256> 720 721commit bc8c908ae8007d0bfe9b58c7752dd00fd282d999 722Author: Kelly Roadkill <roadkell@pm.me> 723Date: Tue Jun 18 14:49:50 2024 +0500 724 725 nls: delete compose sequence with anomalous post-fixed cedilla 726 727 The only sequence with post-fixed cedilla in the 728 whole en_US.UTF-8 was introduced in cf040016 with 729 the merge of GTK+ compose sequences 12 years ago. 730 It goes against the established patterns. 731 732 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/255> 733 734commit 1472048b7a02d1b7fc25cfeda761db23fba21eac 735Author: Olivier Fourdan <ofourdan@redhat.com> 736Date: Fri Jun 7 09:05:55 2024 +0200 737 738 Make colormap private interfaces thread safe. 739 740 Protect access to the dpy structure by a display lock, so that these can 741 be called outside of a global display lock. 742 743 That allows the XCMS colormap functions to be thread safe without having 744 the whole functions within a display lock, to avoid deadlocks. 745 746 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 747 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/215 748 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/94 749 Reviewed-by: Adam Jackson <ajax@redhat.com> 750 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/254> 751 752commit 739fce4c12c7aa39112353d80c8a3bf25bdd5274 753Author: Olivier Fourdan <ofourdan@redhat.com> 754Date: Fri Jun 7 09:07:39 2024 +0200 755 756 Revert "Protect colormap add/removal with display lock" 757 758 That commit 99a2cf1aa was moving the calls to the _Xcms*CmapRec*() 759 family of functions within a display lock to make the XCMS colormap 760 functions thread safe. 761 762 Unfortunately, that causes a deadlock in XCopyColormapAndFree(), because 763 _XcmsCopyCmapRecAndFree() calls CmapRecForColormap() which calls 764 XGetVisualInfo() which also tries to acquire the display lock. 765 766 So, instead of moving the entire functions within the display lock, 767 let's try to make the functions themselves thread safe in the following 768 commit, and revert this change which causes a deadlock. 769 770 This reverts commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d. 771 772 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/215 773 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/94 774 Reviewed-by: Adam Jackson <ajax@redhat.com> 775 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/254> 776 777commit 5dfedaf4aa1a032ea6cb4e871abd2e065f798129 778Author: Olivier Fourdan <ofourdan@redhat.com> 779Date: Thu Jun 6 16:25:26 2024 +0200 780 781 Revert "Fix XTS regression in XCopyColormapAndFree" 782 783 This change was to fix the next change that we are to revert as well. 784 785 This reverts commit 68c72a7341b114277ab232f2499ee3bd035af8a0. 786 787 Reviewed-by: Adam Jackson <ajax@redhat.com> 788 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/254> 789 790commit c099d0105f7a4f969cf922f333cb54c177aceacb 791Author: Alan Coopersmith <alan.coopersmith@oracle.com> 792Date: Sat May 18 11:41:36 2024 -0700 793 794 Avoid buffer overflow in _XimLookupMBText & _XimLookupUTF8Text 795 796 Reported-by: u32i <u32i@proton.me> 797 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 798 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/251> 799 800commit 0af3328dc330cbd8e097e2971b336b44466b1ab0 801Author: jmcwilliams403 <jmcwilliams403@gmail.com> 802Date: Sun Jul 16 11:31:22 2023 -0400 803 804 NLS: Add 6 Multi_key sequences for Ezh 805 806 Ezh is a Latin-Script letter belonging to several Uralic, Caucasian, 807 and West-African languages. It is present on some Finnish keyboards, 808 but users of many other layouts cannot presently type it. This commit 809 adds Multi_key sequences for both Capital and lowercase Ezh, as well 810 as Multi_key + dead_caron sequences for Ezh with a caron, which is 811 used in Laz and Skolt Sámi. 812 813 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/221> 814 815commit 174df0b8b6ada7e1c741373c7d686e00f42d8bd5 816Author: Kelly Roadkill <roadkell@pm.me> 817Date: Sun Dec 3 00:53:55 2023 +0500 818 819 nls: add compose seq's for symbols absent from Cyrillic layouts to ru_RU 820 821 JCUKEN (ЙЦУКЕН) - the default and de-facto standard layout for most Cyrillic scripts - lacks a number of ASCII symbols from QWERTY counterpart, forcing users to switch back-and-forth between layouts to type them. 822 This adds sequences for them to the ru_RU compose map in an intuitive and consistent manner. 823 824 Fixes #200 for ru_RU (but other Cyrillic layouts might benefit too) 825 826 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/238> 827 828commit 763f3f938c24993e9ceb1d6960d939b022fa8dfe 829Author: Mohamed Akram <mohd.akram@outlook.com> 830Date: Fri May 24 18:18:43 2024 +0400 831 832 nls: add Arabic hamza compose sequences 833 834 These sequences are intended for use in the ara(mac-phonetic) and 835 my(phonetic) layouts. They are based on the following layouts listed in 836 the CLDR: 837 838 - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ar-t-k0-osx-qwerty.xml 839 - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ms-t-k0-osx.xml 840 841 The sequences are listed in the `<transforms>` section, and are 842 reproduced below: 843 844 ``` 845 <transforms type="simple"> 846 <transform from="ء\u{64E}" to="آ"/> <!-- ءَ → آ --> 847 <transform from="ء\u{650}" to="إ"/> <!-- ءِ → إ --> 848 <transform from="ء " to="ء"/> 849 <transform from="ء\u{A0}" to="ء"/> 850 <transform from="ء!" to="إ"/> 851 <transform from="ء١" to="إ"/> 852 <transform from="ءا" to="أ"/> 853 <transform from="ءس" to="ئ"/> 854 <transform from="ءو" to="ؤ"/> 855 <transform from="ءي" to="ئ"/> 856 <transform from="ءى" to="ئ"/> 857 </transforms> 858 ``` 859 860 We limit ourselves to the sequences that strictly combine a character 861 and a hamza, and generate that character with a hamza on it, following 862 the behavior in sequences of other dead keys. Additional sequences, 863 potentially for other layouts as well, could be added later on as 864 necessary. 865 866 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/218> 867 868commit 97fb5bda3d0777380cd4b964f48771a82ef3f2a7 869Author: José Expósito <jexposit@redhat.com> 870Date: Tue Apr 30 18:21:08 2024 +0200 871 872 Fix buffer overrun in parse_omit_name 873 874 When `num_fields == 12`, if the last character of the pattern is '-', 875 the `buf` array is overrun. 876 877 This error has been found by a static analysis tool. This is the report: 878 879 Error: OVERRUN (CWE-119): 880 libX11-1.8.7/modules/om/generic/omGeneric.c:691: cond_at_most: 881 Checking "length > 255" implies that "length" may be up to 255 on 882 the false branch. 883 libX11-1.8.7/modules/om/generic/omGeneric.c:695: alias: 884 Assigning: "last" = "buf + length - 1". "last" may now point to as 885 high as byte 254 of "buf" (which consists of 256 bytes). 886 libX11-1.8.7/modules/om/generic/omGeneric.c:718: ptr_incr: 887 Incrementing "last". "last" may now point to as high as byte 255 888 of "buf" (which consists of 256 bytes). 889 libX11-1.8.7/modules/om/generic/omGeneric.c:720: ptr_incr: 890 Incrementing "last". "last" may now point to as high as byte 256 891 of "buf" (which consists of 256 bytes). 892 libX11-1.8.7/modules/om/generic/omGeneric.c:720: overrun-local: 893 Overrunning array of 256 bytes at byte offset 256 by 894 dereferencing pointer "++last". 895 # 718| *++last = '*'; 896 # 719| 897 # 720|-> *++last = '-'; 898 # 721| break; 899 # 722| case 13: 900 901 Signed-off-by: José Expósito <jexposit@redhat.com> 902 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 903 904commit f67a87dad40141f50f4da35b28a92a974bfdf7e1 905Author: José Expósito <jexposit@redhat.com> 906Date: Tue Apr 30 18:04:35 2024 +0200 907 908 Fix memory leak in _XimProtoSetIMValues 909 910 This error has been found by a static analysis tool. This is the report: 911 912 Error: RESOURCE_LEAK (CWE-772): 913 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1316: alloc_fn: 914 Storage is returned from allocation function "calloc". 915 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1316: var_assign: 916 Assigning: "tmp" = storage returned from 917 "calloc((size_t)((buf_size + data_len == 0) ? 1 : (buf_size + data_len)), 1UL)". 918 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1319: noescape: 919 Resource "tmp" is not freed or pointed-to in "memcpy". 920 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1320: var_assign: 921 Assigning: "buf" = "tmp". 922 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1302: var_assign: 923 Assigning: "data" = "buf". 924 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1303: noescape: 925 Resource "data" is not freed or pointed-to in 926 "_XimEncodeIMATTRIBUTE". 927 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: 928 Variable "data" going out of scope leaks the storage it points to. 929 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: 930 Variable "buf" going out of scope leaks the storage it points to. 931 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: 932 Variable "tmp" going out of scope leaks the storage it points to. 933 # 1331| 934 # 1332| if (!total) 935 # 1333|-> return (char *)NULL; 936 # 1334| 937 # 1335| buf_s = (CARD16 *)&buf[XIM_HEADER_SIZE]; 938 939 Signed-off-by: José Expósito <jexposit@redhat.com> 940 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 941 942commit af1312d2873d2ce49b18708a5029895aed477392 943Author: José Expósito <jexposit@redhat.com> 944Date: Tue Apr 30 17:37:39 2024 +0200 945 946 XKBMAlloc: Check that needed is >= 0 in XkbResizeKeyActions 947 948 Passing a negative value in `needed` to the `XkbResizeKeyActions()` 949 function can create a `newActs` array of an unespected size. 950 Check the value and return if it is invalid. 951 952 This error has been found by a static analysis tool. This is the report: 953 954 Error: OVERRUN (CWE-119): 955 libX11-1.8.7/src/xkb/XKBMAlloc.c:811: cond_const: 956 Checking "xkb->server->size_acts == 0" implies that 957 "xkb->server->size_acts" is 0 on the true branch. 958 libX11-1.8.7/src/xkb/XKBMAlloc.c:811: buffer_alloc: 959 "calloc" allocates 8 bytes dictated by parameters 960 "(size_t)((xkb->server->size_acts == 0) ? 1 : xkb->server->size_acts)" 961 and "8UL". 962 libX11-1.8.7/src/xkb/XKBMAlloc.c:811: var_assign: 963 Assigning: "newActs" = "calloc((size_t)((xkb->server->size_acts == 0) ? 1 : xkb->server->size_acts), 8UL)". 964 libX11-1.8.7/src/xkb/XKBMAlloc.c:815: assignment: 965 Assigning: "nActs" = "1". 966 libX11-1.8.7/src/xkb/XKBMAlloc.c:829: cond_at_least: 967 Checking "nCopy > 0" implies that "nCopy" is at least 1 on the 968 true branch. 969 libX11-1.8.7/src/xkb/XKBMAlloc.c:830: overrun-buffer-arg: 970 Overrunning buffer pointed to by "&newActs[nActs]" of 8 bytes by 971 passing it to a function which accesses it at byte offset 15 972 using argument "nCopy * 8UL" (which evaluates to 8). 973 # 828| 974 # 829| if (nCopy > 0) 975 # 830|-> memcpy(&newActs[nActs], XkbKeyActionsPtr(xkb, i), 976 # 831| nCopy * sizeof(XkbAction)); 977 # 832| if (nCopy < nKeyActs) 978 979 Signed-off-by: José Expósito <jexposit@redhat.com> 980 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 981 982commit 836a8f2cf5e930c8a56b512273fdf9890282ba04 983Author: José Expósito <jexposit@redhat.com> 984Date: Tue Apr 30 16:49:26 2024 +0200 985 986 Fix use of uninitialized variable in _XimEncodeICATTRIBUTE 987 988 In the `res->resource_size == XimType_NEST` code path, if 989 `res->xrm_name != pre_quark` and `res->xrm_name != sts_quark`, `len` can 990 be used uninitialized. 991 992 This error has been found by a static analysis tool. This is the report: 993 994 Error: UNINIT (CWE-457): 995 libX11-1.8.7/modules/im/ximcp/imRmAttr.c:1106: var_decl: 996 Declaring variable "len" without initializer. 997 libX11-1.8.7/modules/im/ximcp/imRmAttr.c:1179: uninit_use: 998 Using uninitialized value "len". 999 # 1177| } 1000 # 1178| 1001 # 1179|-> if (len == 0) { 1002 # 1180| continue; 1003 # 1181| } else if (len < 0) { 1004 1005 Signed-off-by: José Expósito <jexposit@redhat.com> 1006 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 1007 1008commit eaad761e24722b1743d3edee3383294bfb4947d6 1009Author: José Expósito <jexposit@redhat.com> 1010Date: Tue Apr 30 16:41:40 2024 +0200 1011 1012 Fix use of uninitialized variable in _XimExtension 1013 1014 `_XimRead()` is being called with `reply` as target buffer instead of 1015 using `preply`, accessing uninitialized memory a few lines later. 1016 1017 This error has been found by a static analysis tool. This is the report: 1018 1019 Error: UNINIT (CWE-457): 1020 libX11-1.8.7/modules/im/ximcp/imExten.c:468: alloc_fn: 1021 Calling "malloc" which returns uninitialized memory. 1022 libX11-1.8.7/modules/im/ximcp/imExten.c:468: assign: 1023 Assigning: "preply" = "malloc((size_t)((buf_size == 0) ? 1 : buf_size))", 1024 which points to uninitialized data. 1025 libX11-1.8.7/modules/im/ximcp/imExten.c:479: uninit_use: 1026 Using uninitialized value "*((CARD8 *)preply)". 1027 # 477| return False; 1028 # 478| buf_s = (CARD16 *)((char *)preply + XIM_HEADER_SIZE); 1029 # 479|-> if (*((CARD8 *)preply) == XIM_ERROR) { 1030 # 480| _XimProcError(im, 0, (XPointer)&buf_s[3]); 1031 # 481| if(reply != preply) 1032 1033 Signed-off-by: José Expósito <jexposit@redhat.com> 1034 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 1035 1036commit 4f5541193dd5a004ed5ea44c12fc25e227113c9b 1037Author: José Expósito <jexposit@redhat.com> 1038Date: Tue Apr 30 16:37:21 2024 +0200 1039 1040 Fix use of uninitialized variable in _XimTriggerNotify 1041 1042 `_XimRead()` is being called with `reply` as target buffer instead of 1043 using `preply`, accessing uninitialized memory a few lines later. 1044 1045 This error has been found by a static analysis tool. This is the report: 1046 1047 Error: UNINIT (CWE-457): 1048 libX11-1.8.7/modules/im/ximcp/imDefLkup.c:561: alloc_fn: 1049 Calling "malloc" which returns uninitialized memory. 1050 libX11-1.8.7/modules/im/ximcp/imDefLkup.c:561: assign: 1051 Assigning: "preply" = "malloc((size_t)((len == 0) ? 1 : len))", 1052 which points to uninitialized data. 1053 libX11-1.8.7/modules/im/ximcp/imDefLkup.c:573: uninit_use: 1054 Using uninitialized value "*((CARD8 *)preply)". 1055 # 571| } 1056 # 572| buf_s = (CARD16 *)((char *)preply + XIM_HEADER_SIZE); 1057 # 573|-> if (*((CARD8 *)preply) == XIM_ERROR) { 1058 # 574| _XimProcError(im, 0, (XPointer)&buf_s[3]); 1059 # 575| if(reply != preply) 1060 1061 Signed-off-by: José Expósito <jexposit@redhat.com> 1062 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 1063 1064commit 90b8fc65da1e773b0091a50be46b23609591e8b7 1065Author: Takao Fujiwara <tfujiwar@redhat.com> 1066Date: Fri Apr 26 01:29:39 2024 +0900 1067 1068 imDefIm: Add LIBX11_ENABLE_FABRICATED_ORDER env 1069 1070 If an XIM application does not return the XKeyEvent from XNextEvent() 1071 to XFilterEvent(), a timeout is reached and the behavior is fallen 1072 back to the previous one with a warning messsage and we can ask 1073 the application to send the XKeyEvent to XFilterEvent() but also 1074 libX11 provides LIBX11_ENABLE_FABRICATED_ORDER environment variable. 1075 If the application runs with LIBX11_ENABLE_FABRICATED_ORDER=0, the 1076 previous behavior is available until the application is fixed. 1077 1078 Closes: !246 1079 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 1080 1081commit 898746f9b1fb384d6d24ed827c836ec8a0b3da3b 1082Author: Takao Fujiwara <tfujiwar@redhat.com> 1083Date: Fri Apr 26 01:29:34 2024 +0900 1084 1085 ximcp: Unmark fabricated with serial 0 and Xic commit_info 1086 1087 GTK2 XIM resets the XKeyEvent serial to 0 even if _XimCommitRecv() 1088 sets the serial so now checks if the events are sent with 1089 Xic->private.proto.commit_info. 1090 1091 Closes: !246 1092 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 1093 1094commit 5a1e62d77b65ba148b1c6d1d22a81dc2b07e7d9e 1095Author: Takao Fujiwara <tfujiwar@redhat.com> 1096Date: Fri Apr 26 01:29:26 2024 +0900 1097 1098 Accept anon windows in XFilterEvent to update XIM state 1099 1100 When input focuses are switched quickly with shortcut keys in a Java 1101 window, the focus is sometimes lost and the Window=0 is assigned in 1102 XFilterEvent() but the XKeyEvent was forwarded by a XIM serer(IBus) 1103 with XIM_FORWARD_EVENT -> XNextEvent() -> XFilterEvent() and the event 1104 needs to be forwarded to the XIM XKeyEvent press and release filters 1105 to update the XIM state with Window=0 likes _XimPendingFilter() and 1106 _XimUnfabricateSerial(). 1107 1108 Closes: #205, #206 1109 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 1110 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 1111 1112commit 5a14178c7cc408f425fe298aeade3dee749b1ca1 1113Author: Takao Fujiwara <tfujiwar@redhat.com> 1114Date: Fri Apr 26 00:49:14 2024 +0900 1115 1116 ximcp: Add fabricated_time in XimProtoPrivate for timeout 1117 1118 When users type keys quickly, some applications using Steam or Java 1119 do not call XNextEvent() for a key event but _XimFilterKeypress() 1120 and _XimFilterKeyrelease() expect to receive the key events 1121 forwarded by input methods. 1122 1123 Now fabricated_time Time value is added to XimProtoPrivate to check 1124 the timeout value. 1125 1126 Closes: #205 1127 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 1128 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 1129 1130commit 1181abd6ffede3ac5663a3a3d4ee66aef1fa553b 1131Author: Takao Fujiwara <tfujiwar@redhat.com> 1132Date: Fri Apr 12 10:50:33 2024 +0900 1133 1134 imDefLkup: Mark and unmark fabricated with serial 0 1135 1136 GTK2 applications with GTK_IM_MODULE=xim sets the serial number 0 1137 to the XKeyEvent and the previous _XimFabricateSerial() logic did 1138 not work for the applications. 1139 Now the API marks to fabricate with the serial 0. 1140 1141 Closes: #205 1142 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 1143 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 1144 1145commit c7790072657f9fdbe8cda031776617088c5f11db 1146Author: Takao Fujiwara <tfujiwar@redhat.com> 1147Date: Fri Apr 12 10:21:43 2024 +0900 1148 1149 imDefLkup: Commit first info in XimCommitInfo 1150 1151 Xic.private.proto.commit_info can receive multiple XimCommitInfo 1152 when typing keys very quickly like an bar code scanner (or evemu-play) 1153 and the first info in XimCommitInfo should be committed to keep 1154 the typing key order. 1155 1156 This and 041b5291 are same patches but the regression issues will be 1157 fixed by the later patches. 1158 1159 Closes: #198 1160 Fixes: 041b5291 ("imDefLkup: Commit first info in XimCommitInfo") 1161 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 1162 1163commit 13e9ac4d458069c81d795f6b4842814d30431b4b 1164Author: Takao Fujiwara <tfujiwar@redhat.com> 1165Date: Fri Apr 12 10:21:41 2024 +0900 1166 1167 ximcp: Unmark to fabricate key events with XKeyEvent serial 1168 1169 _XimProtoKeypressFilter() and _XimProtoKeyreleaseFilter() can 1170 receive XKeyEvent from both the typing on the keyboard and the 1171 callback of XIM_FORWARD_EVENT. 1172 1173 If the filter functions unmark to fabricate XKeyEvent from the typing 1174 on the keyboard during receiving XKeyEvent from the callback of 1175 XIM_FORWARD_EVENT with typing keys very quickly likes an bar code 1176 scanner (or evemu-play), XIM server cannot receive some key events and 1177 it causes the key typing order to get scrambled. 1178 1179 Now XIM client saves the serial in XKeyEvent and the filter functions 1180 unmark to fabricate XKeyEvent from the callback of XIM_FORWARD_EVENT 1181 only. 1182 1183 This and 024d229f are same patches but the regression issues will be 1184 fixed by the later patches. 1185 1186 Closes: #198 1187 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 1188 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 1189 1190commit a465588218c1643eedc35b3c24409cb775454eee 1191Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1192Date: Fri Apr 5 15:50:06 2024 -0700 1193 1194 libX11 1.8.9 1195 1196 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1197 1198commit 52a191ee096e93cf711f77b6a56c508b68afc0b6 1199Author: Peter Hutterer <peter.hutterer@who-t.net> 1200Date: Fri Apr 5 13:15:32 2024 +1000 1201 1202 Revert "ximcp: Unmark to fabricate key events with XKeyEvent serial" 1203 1204 This commit causes a regression, see #205, #206, #207, #208. 1205 1206 This reverts commit 024d229fdf88a7755577b01b46af6ef908d599e0. 1207 1208commit 3ea9f4f769fecbbc8c5210c5833ad83ab8d9e97e 1209Author: Peter Hutterer <peter.hutterer@who-t.net> 1210Date: Fri Apr 5 13:14:33 2024 +1000 1211 1212 Revert "imDefLkup: Commit first info in XimCommitInfo" 1213 1214 This commit causes a regression, see #205, #206, #207, #208. 1215 1216 This reverts commit 041b5291f0956c5cda5054be2981c0d02b009a4c. 1217 1218commit 9afd55ada5d7a3c1d3ed23ff8451629a1d989a7f 1219Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1220Date: Mon Mar 25 11:51:03 2024 -0700 1221 1222 xlibi18n: restore parse_line1 for WIN32 builds 1223 1224 Accidentally removed by __UNIXOS2__ cleanup 1225 Closes: #204 1226 Fixes: 225a4bbb ("unifdef __UNIXOS2__") 1227 1228 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1229 1230commit e4927d0c4fbf950bc45fc27309290e1911e75f42 1231Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1232Date: Sun Mar 24 15:02:23 2024 -0700 1233 1234 libX11 1.8.8 1235 1236 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1237 1238commit 4ab58f26d388c82ffe46ef1c7dd1cee6259eec8a 1239Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1240Date: Wed Feb 21 18:23:36 2024 -0800 1241 1242 unifdef NULL_NOT_ZERO 1243 1244 I can't find any evidence this was ever defined, should only have 1245 been needed for odd-ball pre-C89 compilers. 1246 1247 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1248 1249commit 7bb2a5050a2f6049c92b301fae1cf89532b70060 1250Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1251Date: Wed Feb 21 18:18:46 2024 -0800 1252 1253 unifdef USL_SHAREDLIB 1254 1255 I can't find any history of this being set in the imake or autoconf builds 1256 1257 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1258 1259commit 4400a68b3a5ecacd1f997d41a0572544fa8fe544 1260Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1261Date: Sat Feb 17 15:37:41 2024 -0800 1262 1263 unifdef Lynx 1264 1265 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1266 1267commit 1e56b27429667e772b15b0f39863a8467297062b 1268Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1269Date: Sun Feb 11 15:15:00 2024 -0800 1270 1271 unifdef __QNX__ 1272 1273 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1274 1275commit ab0a3014822687da48cd3784253c34dea0a6ad2c 1276Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1277Date: Sun Feb 11 15:10:59 2024 -0800 1278 1279 unifdef __uxp__ 1280 1281 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1282 1283commit 4ce3962b701c502acc96b6eaf104a5ffc317c5d7 1284Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1285Date: Sun Feb 11 15:07:15 2024 -0800 1286 1287 unifdef __vax__ 1288 1289 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1290 1291commit 65a6f162fd9fee4e647ac49c546c5d6a1655c58c 1292Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1293Date: Sun Feb 11 15:03:19 2024 -0800 1294 1295 unifdef __sgi_not_xconsortium 1296 1297 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1298 1299commit 3296d7b8d14a6c114489d40b76e8da339e11b25c 1300Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1301Date: Sun Feb 11 15:01:25 2024 -0800 1302 1303 unifdef __sgi 1304 1305 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1306 1307commit 4322fff7e125c7975dc1b83c433b904c7d3384b5 1308Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1309Date: Sun Feb 11 15:00:34 2024 -0800 1310 1311 unifdef sgi 1312 1313 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1314 1315commit 613d3624c2cc0ab2f18206e165a3e4a02e261148 1316Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1317Date: Sun Feb 11 14:59:28 2024 -0800 1318 1319 unifdef hpux 1320 1321 Also removes shl_load() support, which was only buildable for HP-UX 1322 1323 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1324 1325commit 225a4bbbbd174e26cc408640e10f3c37f81f3a3f 1326Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1327Date: Sun Feb 11 14:56:22 2024 -0800 1328 1329 unifdef __UNIXOS2__ 1330 1331 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1332 1333commit 0df284b450933e0239d1a85a7ff2d0c9d44d22af 1334Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1335Date: Sun Feb 11 14:50:29 2024 -0800 1336 1337 unifdef ultrix 1338 1339 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1340 1341commit c3f3eb1284c59305568288923810dc155df6025c 1342Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1343Date: Sun Feb 11 14:49:13 2024 -0800 1344 1345 unifdef AIXV3 1346 1347 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1348 1349commit b35344c9a74b478509e33384cc99bcc4fd092a2d 1350Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1351Date: Sun Feb 11 14:47:31 2024 -0800 1352 1353 unifdef __osf__ 1354 1355 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1356 1357commit 041b5291f0956c5cda5054be2981c0d02b009a4c 1358Author: Takao Fujiwara <tfujiwar@redhat.com> 1359Date: Wed Jan 31 20:27:57 2024 +0900 1360 1361 imDefLkup: Commit first info in XimCommitInfo 1362 1363 Xic.private.proto.commit_info can receive multiple XimCommitInfo 1364 when typing keys very quickly like an bar code scanner (or evemu-play) 1365 and the first info in XimCommitInfo should be committed to keep 1366 the typing key order. 1367 1368 Fixes: #198 1369 1370commit 024d229fdf88a7755577b01b46af6ef908d599e0 1371Author: Takao Fujiwara <tfujiwar@redhat.com> 1372Date: Wed Jan 31 20:26:40 2024 +0900 1373 1374 ximcp: Unmark to fabricate key events with XKeyEvent serial 1375 1376 _XimProtoKeypressFilter() and _XimProtoKeyreleaseFilter() can 1377 receive XKeyEvent from both the typing on the keyboard and the 1378 callback of XIM_FORWARD_EVENT. 1379 1380 If the filter functions unmark to fabricate XKeyEvent from the typing 1381 on the keyboard during receiving XKeyEvent from the callback of 1382 XIM_FORWARD_EVENT with typing keys very quickly likes an bar code 1383 scanner (or evemu-play), XIM server cannot receive some key events and 1384 it causes the key typing order to get scrambled. 1385 1386 Now XIM client saves the serial in XKeyEvent and the filter functions 1387 unmark to fabricate XKeyEvent from the callback of XIM_FORWARD_EVENT 1388 only. 1389 1390 Fixes: #198 1391 1392commit ae3eca18cec44a953789c7f77ffab888713ed132 1393Author: Peter Hutterer <peter.hutterer@who-t.net> 1394Date: Thu Nov 30 15:05:51 2023 +1000 1395 1396 Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons 1397 1398 XkbGetDeviceInfo(dpy, XkbXI_ButtonActionsMask, 2, 0, 0) always returns 1399 NULL because the number of buttons on the device equals (unsurpisingly) 1400 the number of buttons requested (i.e. first + nBtns == dev->nbuttons). 1401 1402 This currently causes it to bail out and return NULL. 1403 1404 Fixes f293659d5a4024bda386305bb7ebeb4647c40934 1405 1406commit 0a951047f64e87c5ab328084310bf27bcd4964f3 1407Author: Walter Harms <wharms@bfs.de> 1408Date: Mon Jan 8 17:18:19 2024 +0100 1409 1410 _XimProtoIMFree:no need to check arg for Xfree() 1411 1412 Xfree() will happily ignore NULL, no need to check 1413 1414commit dce614623e1f069d79d33a233305e0754fa2fd48 1415Author: Walter Harms <wharms@bfs.de> 1416Date: Mon Jan 8 17:01:44 2024 +0100 1417 1418 _XimEncodeString:no need to check arg for Xfree() 1419 1420 Xfree() will happily ignore NULL, no need to check 1421 1422commit 4f78b615806fa1cfe2bdcf3f7c868b8a00dede77 1423Author: Walter Harms <wharms@bfs.de> 1424Date: Mon Jan 8 16:50:52 2024 +0100 1425 1426 Fix XCreateIC() memory leak (Part 2) 1427 1428 Direct leak of 12 byte(s) in 2 object(s) allocated from: 1429 #0 0x7f4f25c3f7a7 in strdup (/usr/lib64/libasan.so.6+0x5c7a7) 1430 #1 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:818 1431 #2 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:807 1432 #3 0x7f4f252d2f0f in _XimSetICValueData libX11-1.8.3/modules/im/ximcp/imRm.c:2912 1433 #4 0x7f4f252b536a in _XimLocalCreateIC libX11-1.8.3/modules/im/ximcp/imLcIc.c:176 1434 #5 1435 1436 0x7f4f251f0105 in XCreateIC libX11-1.8.3/src/xlibi18n/ICWrap.c:251 1437 1438 detected and fix by Patrick Lerda <patrick9876@free.fr> 1439 applied with adjustment, do changes when OOM (unlikely but good practise) 1440 1441commit ed0b97e480d7d07c24719007273989b2eb3e4046 1442Author: Walter Harms <wharms@bfs.de> 1443Date: Mon Jan 8 16:21:02 2024 +0100 1444 1445 _XimLocalDestroyIC:fix possible mem leak 1446 1447 Adapted: 1448 Fix XCreateIC() memory leak by Patrick Lerda <patrick9876@free.fr> Part 1 1449 1450commit 07978634b8f4f7d9537c7f46ddcd48f2ab3efcb8 1451Author: Walter Harms <wharms@bfs.de> 1452Date: Mon Jan 8 15:16:11 2024 +0100 1453 1454 _XimLocalCreateIC: get rid of bzero 1455 1456commit 59c9a89e250d479334bdd4d800ca6cfa919b8fc3 1457Author: Walter Harms <wharms@bfs.de> 1458Date: Mon Jan 8 15:09:49 2024 +0100 1459 1460 _XimLocalCreateIC: minor cleanup 1461 1462 minor cleanup, no code change 1463 1464commit e5b14e59a16fa49c7e7af0acfc1e4311bebec536 1465Author: Walter Harms <wharms@bfs.de> 1466Date: Mon Jan 8 13:35:28 2024 +0100 1467 1468 _XimLocalCreateIC:no need to check arg for Xfree() 1469 1470 Xfree() will happily ignore NULL, no need to check 1471 1472commit e6310b5212f1dea184e1626ad5eeec167fcb41ac 1473Author: Walter Harms <wharms@bfs.de> 1474Date: Mon Jan 8 13:06:03 2024 +0100 1475 1476 _XimLocalDestroyIC: no need to check arg for Xfree() 1477 1478 Xfree() will happily ignore NULL, no need to check 1479 1480commit 1261802fb316f088504b99ffe80095d13825a85b 1481Author: Walter Harms <wharms@bfs.de> 1482Date: Sun Jan 7 18:30:30 2024 +0100 1483 1484 fix table width 1485 1486 the width of first column was to small and 1487 caused a hyphenation. there is only one word, 1488 fix for me. 1489 1490commit c745719e23af44a4b40ab4508447637b35d91a1e 1491Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1492Date: Tue Oct 3 09:00:01 2023 -0700 1493 1494 libX11 1.8.7 1495 1496 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1497 1498commit 7916869d16bdd115ac5be30a67c3749907aea6a0 1499Author: Yair Mizrahi <yairm@jfrog.com> 1500Date: Thu Sep 7 16:15:32 2023 -0700 1501 1502 CVE-2023-43787: Integer overflow in XCreateImage() leading to a heap overflow 1503 1504 When the format is `Pixmap` it calculates the size of the image data as: 1505 ROUNDUP((bits_per_pixel * width), image->bitmap_pad); 1506 There is no validation on the `width` of the image, and so this 1507 calculation exceeds the capacity of a 4-byte integer, causing an overflow. 1508 1509 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1510 1511commit b4031fc023816aca07fbd592ed97010b9b48784b 1512Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1513Date: Thu Sep 7 16:12:27 2023 -0700 1514 1515 XCreatePixmap: trigger BadValue error for out-of-range dimensions 1516 1517 The CreatePixmap request specifies height & width of the image as CARD16 1518 (unsigned 16-bit integer), so if either is larger than that, set it to 0 1519 so the X server returns a BadValue error as the protocol requires. 1520 1521 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1522 1523commit 73a37d5f2fcadd6540159b432a70d80f442ddf4a 1524Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1525Date: Thu Sep 7 15:55:04 2023 -0700 1526 1527 XPutImage: clip images to maximum height & width allowed by protocol 1528 1529 The PutImage request specifies height & width of the image as CARD16 1530 (unsigned 16-bit integer), same as the maximum dimensions of an X11 1531 Drawable, which the image is being copied to. 1532 1533 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1534 1535commit 204c3393c4c90a29ed6bef64e43849536e863a86 1536Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1537Date: Thu Sep 7 15:54:30 2023 -0700 1538 1539 CVE-2023-43786: stack exhaustion from infinite recursion in PutSubImage() 1540 1541 When splitting a single line of pixels into chunks to send to the 1542 X server, be sure to take into account the number of bits per pixel, 1543 so we don't just loop forever trying to send more pixels than fit in 1544 the given request size and not breaking them down into a small enough 1545 chunk to fix. 1546 1547 Fixes: "almost complete rewrite" (Dec. 12, 1987) from X11R2 1548 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1549 1550commit 6858d468d9ca55fb4c5fd70b223dbc78a3358a7f 1551Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1552Date: Sun Sep 17 14:19:40 2023 -0700 1553 1554 CVE-2023-43785: out-of-bounds memory access in _XkbReadKeySyms() 1555 1556 Make sure we allocate enough memory in the first place, and 1557 also handle error returns from _XkbReadBufferCopyKeySyms() when 1558 it detects out-of-bounds issues. 1559 1560 Reported-by: Gregory James DUCK <gjduck@gmail.com> 1561 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1562 1563commit 78b37accff1abbe713349d59fdefd963ffa04bbc 1564Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1565Date: Sun Sep 17 10:11:02 2023 -0700 1566 1567 XOpenDisplay: ensure each screen has a valid root_visual pointer 1568 1569 Other code assumes this pointer cannot be NULL, so fail the connection 1570 if a bug has caused the X server to give a non-existent visual ID for 1571 the default visual of any screen. 1572 1573 Reported-by: Gregory James DUCK <gjduck@gmail.com> 1574 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1575 1576commit 3962080b7846d79fd3cf10b16eddacf68eb321b7 1577Author: Antti Savolainen <antti.savo@gmail.com> 1578Date: Tue Aug 8 11:37:03 2023 +0000 1579 1580 Add two compose sequences for dagger/obelisk symbols 1581 1582 The dagger symbol has several modern uses such as marking someone as 1583 dead or something as extinct. Historically it has been used to indicate 1584 a footnote. 1585 1586commit 15bbc81cf6b7c76b8a59cab6d77c9aba88b8562d 1587Author: Christopher Chavez <chrischavez@gmx.us> 1588Date: Sat Jul 29 16:58:05 2023 +0000 1589 1590 Xutil.h: use Bool for XEmptyRegion(), XEqualRegion() 1591 1592commit 5433cb93513c31e9cba2a447cf48d4b9aeb53285 1593Author: Benno Schulenberg <bensberg@telfort.nl> 1594Date: Mon Jul 17 08:02:09 2023 +0200 1595 1596 nls: add two compose sequences for currency symbol `฿` (the Thai baht) 1597 1598 The compose sequences are obvious: the capital B plus the vertical bar. 1599 1600 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1601 1602commit 2ff401a472c5f210844cc358d5a27bd340546796 1603Author: Benno Schulenberg <bensberg@telfort.nl> 1604Date: Mon Jul 17 07:56:14 2023 +0200 1605 1606 nls: reshuffle the compose sequences for currencies into ascending order 1607 1608 That is: sort them according to code point. 1609 1610commit c0e2d42d411be3245498ffe6484b35421f096c02 1611Author: Benno Schulenberg <bensberg@telfort.nl> 1612Date: Mon Jul 17 07:27:14 2023 +0200 1613 1614 nls: add compose sequences for `₲` (guaraní), `₭` (kip), and `₮` (tugrik) 1615 1616 When Ghana, Nigeria, Costa Rica and El Salvador have compose sequences 1617 for their currency symbols (cedi: `₵`, naira: `₦`, colón: `₡`), then 1618 Paraguay, Laos, and Mongolia deserve to have such sequences as well. 1619 1620 The sequences should be obvious: the relevant capital letter of the 1621 name of the currency (G, K, T) plus a vertical bar, a minus sign, 1622 and an equals sign, respectively. 1623 1624 Also add two sequences for `$` (the dollar sign), for consistency. 1625 1626 Drop the tentative comments for drachma, penny, and austral, as those 1627 currencies have been obsolete for more than twenty years. 1628 1629 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1630 1631commit d9fe5dc735c75398e36998c226d2418137229673 1632Author: Benno Schulenberg <bensberg@telfort.nl> 1633Date: Mon Jul 17 07:06:51 2023 +0200 1634 1635 nls: change result of sequence `<C> <bar>` from `¢` (CENT) to `₵` (CEDI) 1636 1637 As a cent is a small coin, it makes no sense to use an uppercase letter 1638 to compose the `¢` symbol -- having four sequences with a lowercase `c` 1639 plus a `bar` or a `slash` available for composing `¢` should be enough. 1640 1641 Use the sequence `<C> <bar` (with the uppercase `C`) for composing `₵` 1642 (the CEDI SIGN) instead. 1643 1644 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1645 1646commit 031e63060ed11eb8a876aac7515bc5a67371ed6b 1647Author: Antti Savolainen <antti.savo@gmail.com> 1648Date: Thu Aug 17 18:25:20 2023 +0300 1649 1650 nls: add a compose sequence with double dead_tilde for ≈ (almost equal to) 1651 1652 Some keyboards lack direct asciitilde and instead have only dead tilde. 1653 This compose sequence allows those keyboards to type the almost equal 1654 to sign. 1655 1656commit df2a18c4643bb4a50f2f795a75a905a1032a004a 1657Author: Benno Schulenberg <bensberg@telfort.nl> 1658Date: Mon Jul 17 17:03:16 2023 +0200 1659 1660 nls: delete twenty seven untypable Greek compose sequences 1661 1662 Only a few keyboard layouts contain the `dead_iota` keysym, and none 1663 of those layouts contains the `acute` keysym, so compose sequences 1664 that combine the two symbols cannot be typed and are thus useless. 1665 1666 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1667 1668commit 44f908d9283710ffc75b22d2ae7a8948119b3e61 1669Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1670Date: Sun Aug 20 15:11:04 2023 -0700 1671 1672 docs: fix names for XkbKeyKeyType & XkbKeyKeyTypeIndex 1673 1674 Implementation had "Key" twice in these macro names, 1675 but the docs had only listed it once. 1676 1677 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1678 1679commit 7b16c55063ba4eb258bf91c170e378c1e2d398bd 1680Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1681Date: Sun Aug 20 15:01:09 2023 -0700 1682 1683 docs: remove XkbKeySymsOffset 1684 1685 This function was documented but never implemented. 1686 1687 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1688 1689commit 41a157dfeefe943f5a79948e4f9ef93473144fd8 1690Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1691Date: Sun Aug 20 14:52:18 2023 -0700 1692 1693 docs: remove XkbGetNameChanges 1694 1695 This function was documented but never implemented. 1696 1697 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1698 1699commit 3442a8cee25dc0254ee69bcf83a89d287a86c97a 1700Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1701Date: Sun Aug 20 14:44:18 2023 -0700 1702 1703 docs: remove XkbChangeIndicators and Xkb{Get,Note}IndicatorChanges 1704 1705 These functions were documented but never implemented. 1706 1707 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1708 1709commit b7a15d6c6efd0bfddc81cf8443073c4bc1c9772d 1710Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1711Date: Sun Aug 20 14:31:20 2023 -0700 1712 1713 docs: XkbSAActionSetCtrls is really named XkbActionSetCtrls 1714 1715 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1716 1717commit a1d8dd726757e00e3a774b92456f5c742492475b 1718Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1719Date: Sun Aug 20 14:18:32 2023 -0700 1720 1721 docs: remove XkbGetStickyKeysOptions & XkbSetStickyKeysOptions 1722 1723 These functions were documented but never implemented. 1724 1725 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1726 1727commit bf13f197406fe745c5ff46a4748a41b6646aebf6 1728Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1729Date: Sun Aug 20 14:09:35 2023 -0700 1730 1731 docs: remove XkbGetSlowKeysDelay & XkbSetSlowKeysDelay 1732 1733 These functions were documented but never implemented. 1734 1735 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1736 1737commit caab7321d2ec14ee776ec329ed2facf0816a3136 1738Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1739Date: Sun Aug 20 14:04:15 2023 -0700 1740 1741 docs: remove XkbGetAccessXTimeout & XkbSetAccessXTimeout 1742 1743 These functions were documented but never implemented. 1744 1745 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1746 1747commit 843e89bd2467a58cb454705a09d095726b96d93f 1748Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1749Date: Sun Aug 20 12:58:47 2023 -0700 1750 1751 docs: remove XkbAllocDeviceLedInfo 1752 1753 This function was documented but never implemented. 1754 1755 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1756 1757commit 2686dd7a9d6e8e02ce2868e446cdec11617ffab4 1758Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1759Date: Sun Aug 20 12:41:42 2023 -0700 1760 1761 docs: finish removing XkbGetBounceKeysDelay & XkbSetBounceKeysDelay 1762 1763 These functions were documented but never implemented. 1764 1765 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1766 1767commit 188991fe7e41bbf2f384d0875ab2e25c936b0b41 1768Author: G. Branden Robinson <g.branden.robinson@gmail.com> 1769Date: Sat Jul 29 10:10:00 2023 -0700 1770 1771 configure script reports stray, confusing "yes" 1772 1773 Closes issue #194 1774 1775 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1776 1777commit 70f44d76fd8fad96f33ba5c80a394d68b77dda03 1778Author: Benno Schulenberg <bensberg@telfort.nl> 1779Date: Sun Jul 16 17:08:52 2023 +0200 1780 1781 nls: add, correct, and normalize some comments of compose sequences 1782 1783 Add comments for the Khmer digraphs, correct the comments for the 1784 Arabic lam-alef decompositions, and normalize the comments for the 1785 Breton digraphs and trigraphs. 1786 1787 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1788 1789commit 2a57c32e14779cf1c0c1d2da98a9cac21c00c095 1790Author: Benno Schulenberg <bensberg@telfort.nl> 1791Date: Sun Jun 25 10:01:05 2023 +0200 1792 1793 nls: harmonize the comments for compose sequences with combining accents 1794 1795 Replace the "WITH" with "plus" and lowercase the "AND" in the comments 1796 for sequences with combining accents, to make it slightly clearer that 1797 the resulting string consists of multiple code points. Also, use the 1798 word "COMBINING" in the names of the accents, so that these sequences 1799 can be easily grepped, and drop the redundant word "ACCENT". 1800 1801 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1802 1803commit 757ab5ddd86f6cdce24b8ae2c43206b7beb7ab44 1804Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1805Date: Mon Aug 14 08:33:28 2023 -0700 1806 1807 Remove XkbSetBounceKeysDelay.man from list of man pages to build 1808 1809 Fixes: f90e6bfa ("rm XkbSetBounceKeysDelay.man") 1810 1811 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1812 1813commit f90e6bface92fd192b26f03b7ae745661d9c2690 1814Author: Walter Harms <wharms@bfs.de> 1815Date: Sun Aug 13 22:42:50 2023 +0200 1816 1817 rm XkbSetBounceKeysDelay.man 1818 1819 there is no function XkbSetBounceKeysDelay(). 1820 It is listed in the specs but never implemented if someone 1821 does it, feel free to get the file back. 1822 1823 closes issue #105 1824 1825commit b2c3fb7b4dd4c4c7b9d28c7af7776cccc8e0a98b 1826Author: Benno Schulenberg <bensberg@telfort.nl> 1827Date: Sat Jul 8 08:11:39 2023 +0200 1828 1829 nls: use the shorter and more consistent name for the dead capital schwa 1830 1831 The `dead_SCHWA` name is available since xorgproto-2023.1, which was 1832 released last month. 1833 1834commit e45dff5c2a51ad0392061208a8ad33211d952385 1835Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1836Date: Fri Jun 16 11:37:20 2023 -0400 1837 1838 NLS: Drop two math sequences, slightly clean up APL sequences. 1839 1840 * Two compose sequences containing `leftshoe` and `rightshoe` are 1841 dropped as no keyboard layout uses these keysyms. 1842 * The compose sequences for `therefore` and `because` in the APL 1843 block are moved to ascending Unicode order. 1844 * The comments for the compose sequences for `U2299` are corrected to 1845 more accurately reflect its sequence nodes and its real name in 1846 Unicode. 1847 1848commit af2b6dfab1616dc85be9c9b196e4c56d00447851 1849Author: Benno Schulenberg <bensberg@telfort.nl> 1850Date: Sun Jun 25 09:09:21 2023 +0200 1851 1852 nls: delete twenty eight compose sequences that cannot be typed 1853 1854 The letters `Ǫ` (U+01EA, O with ogonek), `Ȩ` (U+0228, E with cedilla), 1855 `Ȯ` (U+022E, O with dot above), `Ạ` (U+1EA0, A with dot below), and 1856 their lowercase forms do not occur in any layout of xkeyboard-config, 1857 meaning that the compose sequences that contained these letters could 1858 not be typed. Delete their dead weight. 1859 1860 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1861 1862commit ab0442d3fa835ce16559b29532ac7f674f8557f4 1863Author: Benno Schulenberg <bensberg@telfort.nl> 1864Date: Sat Jun 24 09:46:07 2023 +0200 1865 1866 nls: remove four unobvious and redundant compose sequences for ¥ (yen) 1867 1868 Composing ¥ with Y and a minus sign seems to have been added in analogy 1869 to composing £ with L and a minus sign. But ¥ clearly has a double line 1870 through it, so using the equals sign for this is far more logical (and 1871 those compose sequences of course exist). Also, L plus an equals sign 1872 produces ₤ (lira), not £ (sterling). So... make these sequences more 1873 consistent and allow composing ¥ only with Y/y plus an equals sign. 1874 1875 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1876 1877commit 933912480c08495428d45988eebb48fcbe62f14b 1878Author: Benno Schulenberg <bensberg@telfort.nl> 1879Date: Sat Jun 24 10:02:45 2023 +0200 1880 1881 nls: order a few compose sequences left first, and in mirroring pairs 1882 1883commit 178c4fefd3b0b4be5e69274108b86a51f08ec3a6 1884Author: Benno Schulenberg <bensberg@telfort.nl> 1885Date: Fri Jun 16 09:33:03 2023 +0200 1886 1887 nls: remove three duplicated combining acute accents 1888 1889 For the Cyrillic YU with combining acute accent, the string between 1890 the quotes contained two U+0301 code points, whereas one is enough, 1891 like for all the neighboring strings. 1892 1893 (This duplication was found by accident with `nano --mini --cons`.) 1894 1895commit 695e90ad26f632feb0f58ad94882fb3a263bf114 1896Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1897Date: Thu Jun 15 09:14:48 2023 -0700 1898 1899 libX11 1.8.6 1900 1901 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1902 1903commit 304a654a0d57bf0f00d8998185f0360332cfa36c 1904Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1905Date: Sat Jun 10 16:30:07 2023 -0700 1906 1907 InitExt.c: Add bounds checks for extension request, event, & error codes 1908 1909 Fixes CVE-2023-3138: X servers could return values from XQueryExtension 1910 that would cause Xlib to write entries out-of-bounds of the arrays to 1911 store them, though this would only overwrite other parts of the Display 1912 struct, not outside the bounds allocated for that structure. 1913 1914 Reported-by: Gregory James DUCK <gjduck@gmail.com> 1915 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1916 1917commit 71b08b8af20474bb704a11affaa8ea39b06d5ddf 1918Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1919Date: Wed May 31 17:45:40 2023 -0700 1920 1921 libX11 1.8.5 1922 1923 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1924 1925commit 03ba0140940cc76524d83096a47309f5c398541f 1926Author: Benno Schulenberg <bensberg@telfort.nl> 1927Date: Mon May 22 12:02:06 2023 +0200 1928 1929 nls: use a slash instead of a combining solidus in compose sequences 1930 1931 First: combining diacritics like the combining long solidus (`U+0338`) 1932 are not meant to be used in compose sequences. Second: there is just 1933 one layout in xkeyboard-config that contains the `U0338` character: 1934 the deprecated/obsolete German T3 layout. So, practically speaking, 1935 these compose sequences with `U0338` were untypable. So, use a slash 1936 instead, that almost all layouts have. This does require that the 1937 sequence `<Compose> <less> <slash>` changes its meaning from backslash 1938 to not-less-than (`≮`). This seems like an acceptable sacrifice, as 1939 the sequence `<Compose> <slash> <slash>` is a faster/easier sequence 1940 for the backslash and most layouts contain a backslash already anyway. 1941 1942 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1943 1944commit 616701317e25b2c0f509f4d93af5dee6de09012d 1945Author: Benno Schulenberg <bensberg@telfort.nl> 1946Date: Mon May 22 11:19:32 2023 +0200 1947 1948 nls: delete six compose sequences that cannot be typed 1949 1950 None of the layouts in xkeyboard-config contain `Ohook` or `Uhook` 1951 or `U+01D3` (U with caron) nor their lowercase forms, so these six 1952 sequences cannot be typed on any known keyboard. 1953 1954 (Also, the target characters of the sequences with hook and horn 1955 seem to occur only in Vietnamese, where the horn is part of the 1956 vowel and the hook is a tonal mark. All Vietnamese layouts in 1957 xkeyboard-config contain `Ohorn` and `Uhorn`, and then the five 1958 tonal marks as dead keys, `dead_hook` among them. It does not 1959 make sense to want to apply a horn to a vowel that already has 1960 a tonal mark, nor is it possible with the Vietnamese layouts.) 1961 1962 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1963 1964commit 35d9621d78cb196b4ccd3ee1baa1ce2a21e4674b 1965Author: Benno Schulenberg <bensberg@telfort.nl> 1966Date: Sun May 21 16:17:32 2023 +0200 1967 1968 nls: sort three sequences alphabetically in their group, like all others 1969 1970 Also, consistently form uppercase+lowercase pairs, like for most others. 1971 1972commit 208d550954c7266fa8093b02a2a97047e1478c00 1973Author: Benno Schulenberg <bensberg@telfort.nl> 1974Date: Thu Apr 13 17:25:35 2023 +0200 1975 1976 nls: make the Amharic compose sequences use the dead-vowel symbols 1977 1978 Last year, commit 488b156fe2 changed mistaken ASCII characters to the 1979 code points that were actually used in the Ethiopian keyboard layout. 1980 1981 But those code points were mistaken too: the intention was not to use 1982 the code point U+FE68 in the layout but the raw symbol code 0xfe68 -- 1983 and so on for the other codes. The symbols that these raw codes were 1984 intended to refer to were `dead_a` and friends. But these dead vowels 1985 were added under different codes: 0xfe80 to 0xfe8b. 1986 1987 So, correct the Amharic compose sequences to make use of the dead-vowel 1988 symbols that were specifically added for them fifteen years ago. 1989 1990 (As soon as this is merged, xkeyboard-config wil be changed too to use 1991 the dead vowels in the Ethiopian layout.) 1992 1993 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1994 1995commit 96cbac89a02220eb21e13ca5fa7c8c5adf77028a 1996Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1997Date: Fri Mar 31 09:47:03 2023 -0400 1998 1999 nls: add compose sequence for capital schwa, and delete a deviant one 2000 2001 This sequence has already been defined in the iso8859-9e compose 2002 file meant for the Azerbaijani locale, yet for the longest time, only 2003 the lowercase form has existed in the en_US.UTF-8 master compose 2004 file. This patch adds one sequence for Latin Capital Letter Schwa for 2005 the Azerbaijani language. 2006 2007 Additionally, the sequence in the pt_BR.UTF-8 locale for capital 2008 schwa has been removed as it uses two lowercase e's as part of its 2009 sequence, which in practice would make typing both `Multi_key e e` 2010 and `Multi_key E E` output capital schwa. 2011 2012commit a6528d92b3865adb4f9951df91a714f55f56d59e 2013Author: Benno Schulenberg <bensberg@telfort.nl> 2014Date: Tue Apr 4 11:35:44 2023 +0200 2015 2016 XSetScreenSaver.man: restore the part that was accidentally snipped 2017 2018 Four years ago, while removing private macros, commit fe46eb2871 2019 unintentionally truncated the XSetScreenSaver manpage. Restore 2020 the snipped part (minus trailing spaces and a mistaken singular). 2021 2022 This fixes issue #187. 2023 2024 Reported-by: Sergio Gelato 2025 2026 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2027 2028commit eb166af8f9f4184108fe8e0611a09af03d12059e 2029Author: jmcwilliams403 <jmcwilliams403@gmail.com> 2030Date: Fri Mar 24 08:37:32 2023 -0400 2031 2032 NLS: Remove strange dead_cedilla cedi sign sequences 2033 2034 These sequences appear to be a leftover artifact of auto-generating 2035 dead_currency sequences for cent and the cedi sign, where chaining 2036 with ascii "c" vs "ccedilla" would output cent vs the cedi sign 2037 respectively, but somehow this ended up creating strange sequences 2038 with dead_cedilla followed by cent or the colon sign to output the 2039 cedi sign, the latter sequence of which was already removed recently. 2040 Additionally, sequences beginninng with dead_cedilla followed by 2041 currency have been removed as they also appear to be related to these 2042 artifacts. The two remaining sequences beginning with dead_currency 2043 followed by dead_cedilla are maintained and moved to the stretch of 2044 dead_currency sequences next to ccedilla, and sorted in order of 2045 unicode decompositional complexity. 2046 2047commit 6e889f34679bb96f4d61ef069259c042cb4a9a59 2048Author: Benno Schulenberg <bensberg@telfort.nl> 2049Date: Fri Mar 24 09:41:48 2023 +0100 2050 2051 nls: remove twenty two untypable Greek compose sequences 2052 2053 None of the keyboard layouts in xkeyboard-config contains accented 2054 Greek characters like `Greek_alphaaccent` or `Greek_iotadieresis` 2055 (nor in their Unicode hexadecimal forms, like U03AC or 0x10003CA), 2056 so none of these sequences could be typed on an existing layout. 2057 2058 Also, the two sequences that started with `Greek_accentdieresis` 2059 were plain wrong: making a spacing character into a dead key. 2060 2061 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2062 2063commit 98be4cb23a5eadc98f81f05c4696f687119152c8 2064Author: Benno Schulenberg <bensberg@telfort.nl> 2065Date: Fri Mar 24 09:00:48 2023 +0100 2066 2067 nls: remove four hundred and sixty untypable Greek compose sequences 2068 2069 None of the keyboard layouts in xkeyboard-config contains code points 2070 in the range U+1F00..U+1FFF (the Greek Extended block), so none of the 2071 removed sequences could be typed on an existing layout. 2072 2073 (Of course it is possible that some people have their own private layout 2074 that contains some of the Greek Extended characters, but if they do, 2075 then they can also define private compose sequences, when needed.) 2076 2077 Modern Greek does not use these characters with polytonic diacritics 2078 anyway -- they are useful only for typing traditional Greek. 2079 2080 The useless sequences were removed with this command: 2081 2082 sed -i '/<U1F..>/d' nls/en_US.UTF-8/Compose.pre 2083 2084 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2085 2086commit ff8706a5eae25b8bafce300527079f68a201d27f 2087Author: Benno Schulenberg <bensberg@telfort.nl> 2088Date: Wed Jun 15 11:54:54 2022 +0200 2089 2090 nls: delete compose sequences that pointlessly mix upper and lower case 2091 2092 It's nice to have compose sequences for things like © and ®, but allowing 2093 them to be composed also with letters of different case is unneeded. It 2094 is good enough to have sequences of only lowercase and only uppercase. 2095 2096 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2097 2098commit ca99e338a9b8aad300933b1336f9e3c091392213 2099Author: jmcwilliams403 <jmcwilliams403@gmail.com> 2100Date: Sun Mar 12 15:13:27 2023 +0000 2101 2102 NLS: move dead-caron subscript compositions to the relevant Unicode block 2103 2104commit dac2985b347cebc0f631e43e41eaeddb68de1676 2105Author: jmcwilliams403 <jmcwilliams403@gmail.com> 2106Date: Sun Mar 12 14:49:47 2023 +0000 2107 2108 NLS: implement the expansion of the six Breton N-graph keysyms 2109 2110 These one-keysym-to-multiple-characters sequences will allow fully defining 2111 the Breton keyboard layout, without needing custom compose sequences. 2112 2113commit e45ca7b41dcd3ace7681d6897505f85d374640f2 2114Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2115Date: Tue Mar 14 10:22:48 2023 -0700 2116 2117 gitlab CI: add workflow rules 2118 2119 Needed due to the gitlab config changes described in: 2120 https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 2121 2122 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2123 2124commit 72eeeb6dedc39f68608312eb0001f77fffccd499 2125Author: jmcwilliams403 <jmcwilliams403@gmail.com> 2126Date: Sun Mar 5 13:33:38 2023 +0000 2127 2128 NLS: move long S compositions to respective blocks 2129 2130commit 8bbbed75a20556e41658103265974decee974645 2131Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2132Date: Sat Mar 4 10:44:45 2023 -0800 2133 2134 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL 2135 2136 AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, 2137 so it's time to rely on it. 2138 2139 Clears autoconf warnings: 2140 2141 configure.ac:20: warning: The macro `AC_PROG_LIBTOOL' is obsolete. 2142 configure.ac:20: You should run autoupdate. 2143 m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... 2144 configure.ac:20: the top level 2145 2146 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2147 2148commit 53bf8584e8d7d5d4a4a8114bff26a6f631c7fac1 2149Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2150Date: Mon Feb 6 14:09:45 2023 -0800 2151 2152 configure: replace deprecated AC_HELP_STRING with AS_HELP_STRING 2153 2154 This silences an autoconf warning. 2155 2156 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2157 2158commit 31a9451111fb1e3ae1199d44f94cd0b134ca455d 2159Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2160Date: Mon Feb 6 13:13:21 2023 -0800 2161 2162 configure: raise minimum autoconf requirement to 2.70 2163 2164 Needed for builds on NetBSD to work correctly, since it depends on 2165 AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the 2166 prototype for reallocarray() in the system headers. 2167 2168 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2169 2170commit 1ba02f878f83e3b42389547e01b24371f0a50e60 2171Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2172Date: Mon Feb 6 13:32:02 2023 -0800 2173 2174 gitlab CI: Add libtool to required packages 2175 2176 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2177 2178commit fc5ec8edda1efdf5d66db4e76796e3c407527b3b 2179Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2180Date: Sat Feb 4 12:02:29 2023 -0800 2181 2182 libX11 1.8.4 2183 2184 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2185 2186commit ba548ed1688d4d5a83913218155d0ddf616ff176 2187Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2188Date: Sun Jan 15 11:39:20 2023 -0800 2189 2190 configure: options summary should say "libX11", not just "X11" 2191 2192 We're not configuring the entire window system here, just one library 2193 2194 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2195 2196commit eb1c272ab5230d548077b9f59aca4b3457c3a8f8 2197Author: GaryOderNichts <garyodernichts@gmail.com> 2198Date: Sat Dec 17 16:28:40 2022 +0100 2199 2200 Fix a9e845 and 797755 Allow X*IfEvent() to reenter libX11 2201 2202commit 0c7c4ce875ea65160705180ebb68a2c88afb678e 2203Author: Benno Schulenberg <bensberg@telfort.nl> 2204Date: Thu Nov 3 17:25:29 2022 +0100 2205 2206 nls: add two compose sequences for capital B with stroke, for consistency 2207 2208 Two compose sequences (with plain ASCII characters) existed for 2209 the lowercase b with stroke (ƀ) but not for the capital one (Ƀ). 2210 2211 This addresses part of issue #166. 2212 2213 Reported-by: J. McWilliams 2214 2215 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2216 2217commit a80ef097e713aba0330b9cf9f3c1e309084b926f 2218Author: Benno Schulenberg <bensberg@telfort.nl> 2219Date: Thu Nov 3 16:48:03 2022 +0100 2220 2221 nls: delete twelve compose sequences that cannot be typed 2222 2223 There is not any keyboard layout (in xkeyboard-config) that contains 2224 `obelowdot` or `ubelowdot`, so having compose sequences that use these 2225 symbols is pointless. 2226 2227 There are some layouts that contain `otilde` (and one that contains 2228 `utilde`), but those layouts then do not contain `dead_horn`, so 2229 the compose sequences that combine the two symbols are pointless. 2230 2231 There are a few layouts that contain U+0256, U+025C, U+025F or U+0279, 2232 but those layouts do not contain `dead_hook`, so the compose sequences 2233 that combine the latter with one of the former are pointless. 2234 2235 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2236 2237commit 078cc39f05ddfd6166762f3166129258ddd07dd3 2238Author: Benno Schulenberg <bensberg@telfort.nl> 2239Date: Thu Nov 3 16:31:04 2022 +0100 2240 2241 nls: delete 88 compose sequences that have the accents in the wrong order 2242 2243 The various compose sequences with the accents in their proper order 2244 (the highest placed accent first) continue to exist. 2245 2246 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2247 2248commit aa5ef0ba80558f946871f574d38a15673e66221e 2249Author: Benno Schulenberg <bensberg@telfort.nl> 2250Date: Thu Nov 3 16:27:51 2022 +0100 2251 2252 nls: move the compose sequences for Ș and Ț to the fitting Unicode block 2253 2254 This addresses a side note of issue #166. 2255 2256 Reported-by: J. McWilliams 2257 2258 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2259 2260commit 82c25879b72f1ba7e9abe00e7bad55add33135cf 2261Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2262Date: Wed Jan 4 11:25:48 2023 -0800 2263 2264 xlibi18n: Update Imake instructions to autoconf equivalent in comments 2265 2266 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2267 2268commit 88399e01be679bfcc9a5e8922ffe2c47f0e56dee 2269Author: Yuxuan Shui <yshuiv7@gmail.com> 2270Date: Tue Jan 3 15:09:28 2023 +0000 2271 2272 Revert "Update XPutBackEvent() to support clients that put back unpadded events" 2273 2274 This reverts commit d6d6cba90215d323567fef13d6565756c9956f60. 2275 2276 The reverted commit intended to fix the problem where an unpadded X 2277 event struct is passed into XPutBackEvent, by creating a padded struct 2278 with _XEventToWire and _XWireToEvent. However, _XWireToEvent updates the 2279 last sequence number in Display, which may cause xlib to complain about 2280 lost sequence numbers. 2281 2282 IMO, the problem that commit tried to solve is a bug in the client 2283 library, and workaround it inside Xlib is bad practice, especially given 2284 the problem it caused. Plus, the offender cited in the original commit 2285 message, freeglut, has already fixed this problem. 2286 2287 Fixes: #176 #174 2288 2289 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com> 2290 2291commit 48487c4b9028e9eec5371742f51e1d64c2e17296 2292Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2293Date: Thu Dec 15 14:52:20 2022 -0800 2294 2295 libX11 1.8.3 2296 2297 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2298 2299commit d6d6cba90215d323567fef13d6565756c9956f60 2300Author: Keith Packard <keithp@keithp.com> 2301Date: Sun Dec 11 10:32:26 2022 -0800 2302 2303 Update XPutBackEvent() to support clients that put back unpadded events 2304 2305 It seems to be common practice of some X11 clients to pass specific event 2306 types into APIs that take XEvent*. For example, freeglut does: 2307 2308 XConfigureEvent fakeEvent = {0}; 2309 ... 2310 XPutBackEvent(fgDisplay.Display, (XEvent*)&fakeEvent); 2311 2312 This can result in reads overflowing the input event when libX11 does: 2313 2314 XEvent store = *event; 2315 2316 ================================================================= 2317 ==75304==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x00016ee4a8e8 at pc 0x000101c54d14 bp 0x00016ee4a0d0 sp 0x00016ee49888 2318 READ of size 192 at 0x00016ee4a8e8 thread T0 2319 #0 0x101c54d10 in __asan_memcpy+0x1a4 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x3cd10) 2320 #1 0x102848a18 in _XPutBackEvent PutBEvent.c:41 2321 #2 0x1028490a4 in XPutBackEvent PutBEvent.c:84 2322 #3 0x1013295c8 in fgOpenWindow freeglut_window.c:1178 2323 #4 0x101321984 in fgCreateWindow freeglut_structure.c:108 2324 #5 0x10132b138 in glutCreateWindow freeglut_window.c:1551 2325 #6 0x100fb7d94 in main+0x78 (checkeredTriangles:arm64+0x100003d94) 2326 #7 0x197de3e4c (<unknown module>) 2327 2328 Address 0x00016ee4a8e8 is located in stack of thread T0 at offset 840 in frame 2329 #0 0x1013282f8 in fgOpenWindow freeglut_window.c:1063 2330 2331 This frame has 8 object(s): 2332 [32, 40) 'title.addr' 2333 [64, 176) 'winAttr' (line 1066) 2334 [208, 240) 'textProperty' (line 1067) 2335 [272, 352) 'sizeHints' (line 1068) 2336 [384, 440) 'wmHints' (line 1069) 2337 [480, 672) 'eventReturnBuffer' (line 1070) 2338 [736, 740) 'num_FBConfigs' (line 1072) 2339 [752, 840) 'fakeEvent' (line 1074) <== Memory access at offset 840 overflows this variable 2340 2341 This change allows XPutBackEvent() to support such clients without 2342 risk of memory read overflow. 2343 2344 Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2345 Tested-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2346 2347commit 496d9bfeedda89a2211ec665f9214c2693c022f4 2348Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2349Date: Sat Dec 3 16:26:47 2022 -0800 2350 2351 ximcp: Address warning found by UBSan when growing an empty tree 2352 2353 imLcPrs.c:681:52: runtime error: applying zero offset to null pointer 2354 2355 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 2356 2357commit 7f7bcd7b6f569e9f70e3ddd134924f178e2596b1 2358Author: Takao Fujiwara <tfujiwar@redhat.com> 2359Date: Tue Dec 6 16:59:56 2022 +0000 2360 2361 nls: consecutive cs number in en_US.UTF-8/XLC_LOCALE 2362 2363commit ba095967349dff583bd0989d0ba78aa334e9bedf 2364Author: Ulrich Sibiller <uli42@gmx.de> 2365Date: Wed Nov 30 23:47:29 2022 +0100 2366 2367 ChkIfEv.c: fix wrong handling of dpy->in_ifevent 2368 2369 Is no longer a bool but a counter. 2370 2371 Signed-off-by: Ulrich Sibiller <uli42@gmx.de> 2372 2373commit 70eaf1174e2809d1a6c43868d53f8cd844ef636a 2374Author: Ulrich Sibiller <uli42@gmx.de> 2375Date: Wed Nov 30 23:42:02 2022 +0100 2376 2377 Indentation fixes around recent dpy->in_ifevent changes 2378 2379 Use the same indentation as the surrounding code. 2380 2381 Signed-off-by: Ulrich Sibiller <uli42@gmx.de> 2382 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2383 2384commit a9e845809bcaae22496bc8aa3ca252b410d5f39b 2385Author: Matthieu Herrb <matthieu@herrb.eu> 2386Date: Fri Nov 11 18:55:23 2022 +0100 2387 2388 Fix 797755 Allow X*IfEvent() to reenter libX11 2389 2390 - the activation logic is reversed 2391 - there is also _XInternalLockDisplay() that needs protection 2392 - I've found cases (in fvwm2) where the callback calls XCheckIfEvent() 2393 recursively. So the flag needs to be a counter. 2394 2395 Reviewed-by: Adam Jackson <ajax@redhat.com> 2396 2397commit bccd787a565d3a88673bfc06574c1939f98d8d72 2398Author: Nia Alarie <nia@NetBSD.org> 2399Date: Thu Nov 10 22:31:47 2022 +0100 2400 2401 Don't use pragma inside a function, it breaks compiling with older GCCs. 2402 2403 XKBBind.c:230: error: #pragma GCC diagnostic not allowed inside functions 2404 2405 Signed-off-by: Thomas Klausner <wiz@gatalith.at> 2406 2407commit 696d19d5db7bcb1c1f582c2b1846520e7e0870cb 2408Author: Oliver <halting@riseup.net> 2409Date: Fri Nov 11 17:04:00 2022 +0000 2410 2411 Add XFreeThreads function. 2412 2413commit b4f24b272c6ef888b6fcfcf80670c196b2e8f755 2414Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2415Date: Thu Nov 10 12:18:17 2022 -0800 2416 2417 libX11 1.8.2 2418 2419 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2420 2421commit 77629ea5e79fa9b1596438bc36cfc7e0c631af43 2422Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2423Date: Thu Nov 3 13:00:50 2022 -0700 2424 2425 README.md: Add 1.8.2 changes 2426 2427 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2428 2429commit d1baf2ec4869dea3732d6fe13ba4935cb6caad01 2430Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2431Date: Thu Nov 3 11:22:37 2022 -0700 2432 2433 Remove NEWS file which only covered 2006 & 2007 releases 2434 2435 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2436 2437commit 1294bfa487bdecfd32621822922fec03203ee188 2438Author: Po Lu <luangruo@yahoo.com> 2439Date: Mon Oct 3 08:44:59 2022 +0800 2440 2441 specs: document change in XIMPreeditCallbacks 2442 2443 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2444 2445commit 1a7e54609ce4dc0f2d3b933502437a413cf3dea8 2446Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2447Date: Thu Nov 3 14:44:22 2022 -0700 2448 2449 man pages: document XCloseIM frees its argument 2450 2451 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2452 2453commit a04b84f0f7bb3a78088756759f4b9b8bb363251e 2454Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2455Date: Thu Nov 3 20:31:31 2022 +0000 2456 2457 Copyright & license cleanup 2458 2459commit 5e41119d9611504ff7e61c6aa4da1df708096801 2460Author: Benno Schulenberg <bensberg@telfort.nl> 2461Date: Mon Oct 31 12:42:51 2022 +0100 2462 2463 nls: reshuffle a few compose sequences, to have similar ones together 2464 2465 It makes more sense to have similar sequences grouped together 2466 than to rigidly follow the order of ascending Unicode codes. 2467 2468commit 65d89342f59cfc2eac9bf8010076b937f22554e8 2469Author: Benno Schulenberg <bensberg@telfort.nl> 2470Date: Mon Oct 31 12:50:11 2022 +0100 2471 2472 nls: remove two compose sequences that use deprecated symbols 2473 2474 The last few occurrences of `leftcaret` and `rightcaret` were replaced 2475 with `less` and `greater` in xkeyboard-config half a year ago. 2476 2477commit 6baccbae5324e7342cb5176cae82f463a6b34eae 2478Author: Benno Schulenberg <bensberg@telfort.nl> 2479Date: Mon Oct 31 12:40:12 2022 +0100 2480 2481 nls: let `<Multi_key> <minus> <underscore>` compose U+2212 (MINUS SIGN) 2482 2483 There was not yet any way to compose the Unicode minus sign, U+2212. 2484 2485commit 79775575418fd6f8ee1c5e5bbe403df4606fb5b6 2486Author: Adam Jackson <ajax@redhat.com> 2487Date: Fri Aug 5 15:19:08 2022 -0400 2488 2489 Allow X*IfEvent() to reenter libX11 2490 2491 The documentation for this family of functions very clearly says not to 2492 call into xlib in your predicate function, but historically single 2493 threaded apps could get away with it just fine, and now that we've 2494 forced thread-safety on the world such apps will now deadlock instead. 2495 That's not an acceptable regression even if the app is technically 2496 broken. This has been reported with XFCE and FVWM, and Motif's 2497 cut-and-paste code has the same bug by inspection, so this does need to 2498 be addressed. 2499 2500 This change nerfs LockDisplay/UnlockDisplay while inside the critical 2501 bit of an IfEvent function. This is still safe in the sense that the 2502 display remains locked and no other thread should be able to change it 2503 from under us, but the loop that scans the event queue might not be 2504 robust against it being modified as a side effect of protocol emitted by 2505 the predicate callback. But that's not new, non-XInitThreads'd xlib 2506 would have the same caveat. 2507 2508 Closes: xorg/lib/libx11#157 2509 2510commit 0d1d65bdd98966f52bcac4077f94827b20b229dd 2511Author: Benno Schulenberg <bensberg@telfort.nl> 2512Date: Fri Oct 21 12:18:25 2022 +0200 2513 2514 nls: change <Compose> <^> <-> to mean superscript minus instead of macron 2515 2516 Several other `<Multi_key> <asciicircum> <symbol>` sequences 2517 produce the superscript equivalent of the given symbol. So, 2518 let `<Multi_key> <asciicircum> <minus>` do the same. 2519 2520 Also, add two other sequences for producing a plain macron, 2521 to compensate a bit the loss of the above sequence. 2522 2523 Additionally, make `<Multi_key> <underscore> <minus>` produce 2524 a subscript minus, for consistency. 2525 2526 This fixes issue #165. 2527 2528 Requested-by: J. McWilliams 2529 2530 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2531 2532commit 310898270787c1a3a6ab50221324f8654dddce8e 2533Author: Jan Tojnar <jtojnar@gmail.com> 2534Date: Thu Oct 20 07:10:58 2022 +0000 2535 2536 nls: Map sr locales to sr_RS compose files 2537 2538 Serbian used sr_YU (Yugoslavia) code in the past. 2539 Then it was succeeded by sr_CS (Serbia and Montenegro). 2540 Finally, it was split into sr_RS (Serbia) and sr_ME (Montenegro). 2541 2542 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 2543 introduced the modern sr_RS and sr_ME codes. 2544 2545 Next, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/40761898692e5063957bfa2518cca3d35b2e354a 2546 added the Serbian compose table but only for the legacy sr_CS entry. 2547 2548 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/5cd60398b7787297008b13a848ed3cfbd7ef178d 2549 removed the legacy sr_CS entry, the only one pointing to the correct compose file. 2550 It also renamed the file to sr_RS, but did not update the compose mapping. 2551 2552 Let’s point all Serbian locales to the Compose file again. 2553 2554commit a35d706cd8dc7b498bca2a3fc4a3732047439ed7 2555Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2556Date: Fri Oct 14 13:40:37 2022 -0700 2557 2558 COPYING: remove notice for the removed UIThrStubs.c 2559 2560 Fixes: 701e9e9a ("Use same pthread-stubs as libxcb") 2561 2562 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2563 2564commit 3b1750e982fedce0d61bface68aadcd5b1ea1fae 2565Author: Benno Schulenberg <bensberg@telfort.nl> 2566Date: Fri Oct 14 09:28:42 2022 +0200 2567 2568 nls: delete two compose sequences with an anomalous post-fixed breve 2569 2570 Two years ago, commit b126bfd7fe allowed using also a lowercase `u` 2571 wherever an uppercase `U` was used to represent a breve. But the 2572 commit should have limited itself to only the prefixed uses of `U`, 2573 as that is how most letters with a breve are composed. 2574 2575 Also, group the two compose sequences with an uppercase post-fixed `U` 2576 together with the corresponding other post-fixed sequences. 2577 2578 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2579 2580commit 701e9e9afb88bdc68c84a4611adc533400a3df36 2581Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2582Date: Tue Oct 4 11:24:57 2022 -0700 2583 2584 Use same pthread-stubs as libxcb 2585 2586 Avoid conflicts when libX11 calls libxcb and gets its pthread functions 2587 overriding our ancient stubs. 2588 2589 v2: Keep linking with real threads libraries when thread safety 2590 constructor is enabled. 2591 2592 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2593 2594commit 1d11822601fd24a396b354fa616b04ed3df8b4ef 2595Author: Thomas E. Dickey <dickey@invisible-island.net> 2596Date: Tue Oct 4 18:26:17 2022 -0400 2597 2598 fix a memory leak in XRegisterIMInstantiateCallback 2599 2600 Analysis: 2601 2602 _XimRegisterIMInstantiateCallback() opens an XIM and closes it using 2603 the internal function pointers, but the internal close function does 2604 not free the pointer to the XIM (this would be done in XCloseIM()). 2605 2606 Report/patch: 2607 2608 Date: Mon, 03 Oct 2022 18:47:32 +0800 2609 From: Po Lu <luangruo@yahoo.com> 2610 To: xorg-devel@lists.x.org 2611 Subject: Re: Yet another leak in Xlib 2612 2613 For reference, here's how I'm calling XRegisterIMInstantiateCallback: 2614 2615 XSetLocaleModifiers (""); 2616 XRegisterIMInstantiateCallback (compositor.display, 2617 XrmGetDatabase (compositor.display), 2618 (char *) compositor.resource_name, 2619 (char *) compositor.app_name, 2620 IMInstantiateCallback, NULL); 2621 2622 and XMODIFIERS is: 2623 2624 @im=ibus 2625 2626 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2627 2628commit 1f8fd7ff1cf688ec1d3b34397c6d58110bb0cae5 2629Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2630Date: Mon Sep 26 16:01:40 2022 -0700 2631 2632 If thread-safety-constructor is enabled, link against pthreads not stubs 2633 2634 Only really makes a difference if pthreads is not in libc. 2635 2636 Fixes: #162 2637 2638 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2639 Reviewed-by: Adam Jackson <ajax@redhat.com> 2640 2641commit bfe5d2dd98f705438b0cdddbbf9c12882da89bae 2642Author: Thomas E. Dickey <dickey@invisible-island.net> 2643Date: Sun Sep 11 11:44:41 2022 -0400 2644 2645 reduce compiler warnings with casts (no object change) 2646 2647 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2648 2649commit 926f2454bca9a7a7d1f4cf0648b0c193f5cef644 2650Author: Thomas E. Dickey <dickey@invisible-island.net> 2651Date: Sun Sep 11 10:35:31 2022 -0400 2652 2653 use casts to reduce compiler warnings (no object change) 2654 2655 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2656 2657commit dc553ff908f10832c71dc2b5ba5af7e68589218e 2658Author: Mike FABIAN <mfabian@redhat.com> 2659Date: Fri Jul 22 11:39:01 2022 +0200 2660 2661 Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE 2662 2663 https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/src/xlibi18n/lcCT.c#L58 2664 has no escape sequence for KOI8-R. 2665 That makes Xutf8TextListToTextProperty() sometimes fail when trying to 2666 convert to COMPOUND_TEXT and when the KOI8-R charset is tried. 2667 2668 This is the cause for this bug: 2669 2670 https://github.com/ibus/ibus/issues/2422 2671 2672 Removing the KOI8-R charset entry fixes the problem. 2673 2674 This commit also fixes a few wrong texts in comments. 2675 2676 Signed-off-by: Mike FABIAN <mfabian@redhat.com> 2677 2678commit 1c04ac514196db5e2255d99635fb6e3c36be330d 2679Author: Adam Sampson <ats@offog.org> 2680Date: Sun Jul 4 23:02:04 2021 +0100 2681 2682 xkb: Fix off-by-one error in XKeycodeToKeysym 2683 2684 The code here that made indexes greater than 3 refer to XKB symbol 2685 groups had an off-by-one error, so it would always leave out the symbol 2686 that should have been at index 4. Rewrite the code to fix this and 2687 simplify the logic a bit. 2688 2689 Signed-off-by: Adam Sampson <ats@offog.org> 2690 2691commit ddaacd219609104f138006db6a8f708226db3874 2692Author: Thomas E. Dickey <dickey@invisible-island.net> 2693Date: Fri Sep 9 20:17:35 2022 -0400 2694 2695 reduce compiler warnings for macros BufAlloc, Data and Data32 using casts 2696 2697 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2698 2699commit 62c3337d89d31e0d3ed807004e73ad711fad3342 2700Author: Kirill Chibisov <contact@kchibisov.com> 2701Date: Thu Sep 8 22:50:30 2022 +0000 2702 2703 ximcp/imRm.c: allow XNSpotLocation with OnTheSpot 2704 2705commit 1272879074ad9612314858a75cf844783c1963b2 2706Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2707Date: Thu Jul 28 17:30:21 2022 -0700 2708 2709 gitlab CI: stop requiring Signed-off-by in commits 2710 2711 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2712 2713commit 38033b073f393564acf6a04501927002b2b4aa86 2714Author: David H. Gutteridge <david@gutteridge.ca> 2715Date: Mon Jul 25 19:30:19 2022 -0400 2716 2717 configure.ac: report thread safety constructor build status 2718 2719 Signed-off-by: David H. Gutteridge <david@gutteridge.ca> 2720 2721commit 9a90b3a63d02da92dc8692ed3f6269d3e0c7c8cc 2722Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2723Date: Sun Jul 10 11:55:11 2022 -0700 2724 2725 doc: Document possible return values for XkbGetKeyboard() 2726 2727 Fixes: #160 2728 2729 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2730 2731commit 0beb0cf46ae48b0d4322ff8a0221f47bdb7d2296 2732Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2733Date: Sun Jul 10 11:42:19 2022 -0700 2734 2735 xkb: set num_keys when filling in keys in _XkbReadGetNamesReply() 2736 2737 Fixes: #160 2738 2739 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2740 2741commit 487e9489d1e086cc62c53045206ab6d6d9d02031 2742Author: Jon Turney <jon.turney@dronecode.org.uk> 2743Date: Wed Jun 22 16:15:37 2022 +0100 2744 2745 Fix Win32 build with -fno-common 2746 2747 /work/xorg/lib/libX11/src/XlibInt.c:1968: multiple definition of `_Xdebug_p'; .libs/globals.o:globals.c:(.bss+0xc): first defined here 2748 2749 Avoid redundant definition of _Xdebug_p in globals.c (which is under the 2750 influence of _Xdebug being #defined to _Xdebug_p. 2751 2752 This appears to be an ancient hack to work around data exports resolving 2753 to the address of the import stub, not the import. (See [1]). 2754 2755 (This is probably no longer needed or can be done in a better way, as 2756 per the discussion under --enable-auto-import in the ld manpage.) 2757 2758 [1] https://cygwin.com/pipermail/cygwin-xfree/2001-May/004606.html 2759 2760 Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> 2761 2762commit 35ad99fad2f65ec2c69bd84bdeb8138329092b57 2763Author: Benno Schulenberg <bensberg@telfort.nl> 2764Date: Fri Jul 15 11:29:46 2022 +0200 2765 2766 nls: add four sequences for the Samogitian E with dot above and macron 2767 2768 These sequences each produce two code points: the E-with-dot-above and 2769 a combining macron. The XIM input method is required for this to work. 2770 2771 (Also add a missing comment for a Unicode block.) 2772 2773 This fixes issue #54. 2774 2775 Requested-by: Arns Udovīčė 2776 2777 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2778 2779commit 2732dd20cc2694dd5c32fef292e1f48626011032 2780Author: Benno Schulenberg <bensberg@telfort.nl> 2781Date: Wed Jul 6 16:44:50 2022 +0200 2782 2783 nls: delete eight sequences that pointlessly mix upper and lower case 2784 2785 Typing a compose sequence requires some care -- surely the user is able 2786 to either keep holding the Shift key or not touch it at all while typing 2787 the sequence. Also, compose sequences are not an infinite resource AND 2788 take up space and time -- defining redundant ones is a waste. 2789 2790 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2791 2792commit ea3cc474e1acfed47b9fb856ea151008fa6cfd30 2793Author: Benno Schulenberg <bensberg@telfort.nl> 2794Date: Wed Jul 6 16:36:48 2022 +0200 2795 2796 nls: add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ 2797 2798 This allows the user to type the symbols for the five number systems. 2799 2800 This fixes the reasonable part of issue #159. 2801 2802 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2803 2804commit 95a03cde434c447fdb41d8cccbbdd41f20750f32 2805Author: Benno Schulenberg <bensberg@telfort.nl> 2806Date: Thu Jul 14 12:00:45 2022 +0200 2807 2808 nls: delete some pointless and wrong compose sequences meant for Bépo 2809 2810 Fourteen years ago, commit 7302984642 added some four hundred compose 2811 sequences for the benefit of the French Bépo layout. But among these 2812 four hundred there are several that use symbols that are not available 2813 in the Bépo layout and are thus impossible to type. Some of the used 2814 symbols, like Ahook, Ehook and Ohook, are not even present in *any* 2815 layout, making these sequences a dead weight in the Compose file. 2816 2817 The Amacron and Omacron are available only in the Latvian, Hawaiian, 2818 and Maori layouts, and the Omacron also in the Silesian layout. But 2819 the Latvian layouts and the Hawaiian do not contain any dead keys. 2820 Only in the Maori and Silesian layouts these sequences with Amacron 2821 and Omacron could be typed, but that was not why they were added. 2822 2823 More importantly, as James Cloos noted in issue #54, sequences like 2824 `<dead_abovedot> <amacron>` for generating `ǡ` (that is: the macron 2825 above the dot) are questionable, as in compose sequences generally 2826 the first accent typed is the uppermost in the composed character. 2827 2828 Reference: 2829 https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/54#note_17321 2830 2831 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2832 2833commit 9702b836862da6838d725f555e7a1d83faf51740 2834Author: Matthieu Herrb <matthieu@herrb.eu> 2835Date: Fri Jul 1 11:13:13 2022 +0200 2836 2837 Mention that the predicate function is called with the display lock 2838 2839 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2840 2841commit a5d00f889fadad3f5b11e53fd5c04cf5343fa8a2 2842Author: Benno Schulenberg <bensberg@telfort.nl> 2843Date: Fri Jun 24 16:20:52 2022 +0200 2844 2845 docs: replace three placeholders with something that makes sense 2846 2847 Also, uncapitalize two arguments, to match the style of all others. 2848 2849 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2850 2851commit 9ff8502040e94cb172426d59df722cefa752a401 2852Author: Benno Schulenberg <bensberg@telfort.nl> 2853Date: Fri Jun 24 16:07:22 2022 +0200 2854 2855 docs: remove the unsightly dashes from the overviews of arguments 2856 2857 Seventeen months ago, commits 78027fdb7a and 4f15cfc645 removed 2858 these dashes from two of the man pages. Now, remove them all. 2859 They are unhelpful and just make one wonder why they are there 2860 (probably to function as improvised bullet points). 2861 2862 Also remove four leading spaces and a trailing comma. 2863 2864 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2865 2866commit a7968c47e35703446d67d070234fd9adf07f34b0 2867Author: Benno Schulenberg <bensberg@telfort.nl> 2868Date: Thu Jun 23 15:48:05 2022 +0200 2869 2870 docs: hard-wrap some items so that Table 2 fits within 80 characters 2871 2872 (Table 1 hard-wraps the first-column items in the same way.) 2873 2874 Also, correct the formatting of the subsequent paragraph. 2875 2876 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2877 2878commit c601c779ca8f46dc4335180ec2829851fb8bbc13 2879Author: Benno Schulenberg <bensberg@telfort.nl> 2880Date: Wed Jun 15 10:55:38 2022 +0200 2881 2882 nls: delete compose sequences that mix top-row digits with numpad digits 2883 2884 Compose sequences for circled numbers, like ⑫ or ㉑, are nice to have, 2885 but allowing them to be composed by typing one digit on the top row and 2886 the other on the numerical keypad (or the other way around) is over the 2887 top. Remove these absurd sequences. Keep only the sequences where both 2888 digits are either on the top row or on the numerical keypad. 2889 2890 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2891 2892commit 3a30ada60c5217ada37b143b541c8e6f6284c7fa 2893Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2894Date: Wed Jun 8 17:30:14 2022 -0700 2895 2896 libX11 1.8.1 2897 2898 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2899 2900commit 70f7403fd3bf362fc50b8de4a2e26300f757c68e 2901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2902Date: Tue May 3 14:45:05 2022 -0700 2903 2904 configure.ac: Fix --enable-thread-safety-constructor 2905 2906 Prior to this, --enable-thread-safety-constructor would disable it, 2907 while --disable worked as expected, and no option left it enabled as 2908 expected by default. This also fixes the --help text to be displayed. 2909 2910 Fixes: afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 2911 Reported-by: @igor.v.kovalenko 2912 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2913 Reviewed-by: Adam Jackson <ajax@redhat.com> 2914 2915commit d0da5a1e0fb214ff911ecff86d35f6673ff70023 2916Author: Adam Jackson <ajax@redhat.com> 2917Date: Fri Apr 29 11:27:44 2022 -0400 2918 2919 libX11 1.8 2920 2921 Minor number bump to reflect the thread safety default change. 2922 2923 Signed-off-by: Adam Jackson <ajax@redhat.com> 2924 2925commit afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 2926Author: Adam Jackson <ajax@redhat.com> 2927Date: Tue Mar 22 18:24:29 2022 -0400 2928 2929 global: call XInitThreads() from the library's constructor 2930 2931 There is really no point in not being thread safe, I measured, all you 2932 can see happen is noop performance gets like twice as slow and you have 2933 thread safety bugs. And we're using xcb as the transport which means we 2934 should expect threads in our clients anyway. Just do it. 2935 2936 This assumes your compiler understands __attribute__((constructor)). If 2937 this is not your compiler, you can disable this with the appropriate 2938 configure flag, but be aware you're asking for bugs. 2939 2940 Signed-off-by: Adam Jackson <ajax@redhat.com> 2941 2942commit 1ab48f3cc966751d86e434808180beb2dc76c4fa 2943Author: Benno Schulenberg <bensberg@telfort.nl> 2944Date: Sun Apr 24 15:06:45 2022 +0200 2945 2946 docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5 2947 2948 They were forgotten when those releases were made. 2949 2950 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2951 2952commit 35d1513bc7fdd3ac6f5807feb601efc34ac19163 2953Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2954Date: Sat Apr 16 13:04:23 2022 -0700 2955 2956 XkbOpenDisplay: Add _Xconst qualifier to display name argument 2957 2958 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2959 2960commit c88ceaad4aaa0439e5cba13c1f5737ad54566e0b 2961Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2962Date: Sat Apr 16 12:59:39 2022 -0700 2963 2964 XKBgeom.h: Add _Xconst qualifier to char * arguments in functions 2965 2966 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2967 2968commit 0ce4425826074b12a58ced432f9d6fb346474737 2969Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2970Date: Sat Apr 16 12:20:51 2022 -0700 2971 2972 XKBgeom.h: Remove XKB_IN_SERVER section 2973 2974 The Xserver made its own copy of this file in 2008, and the API's are 2975 no longer the same between the server and client forks. 2976 2977 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2978 2979commit be8c01946ab1a1d4b79fdc5358541d630f14dc0a 2980Author: Benno Schulenberg <bensberg@telfort.nl> 2981Date: Wed Apr 20 09:29:09 2022 +0200 2982 2983 lcCT: use the correct index for checking the second byte 2984 2985 (Not that it will make any difference, as the checking of these 2986 high bits looks like an excess of precaution.) 2987 2988 This fixes issue #134. 2989 2990 Reported-by: Rafał Mikrut 2991 2992 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2993 2994commit 488b156fe2cc8aca6946a49236ec7b7698fceda4 2995Author: Benno Schulenberg <bensberg@telfort.nl> 2996Date: Fri Feb 25 16:35:46 2022 +0100 2997 2998 nls: make the Ethiopian compose sequences actually work 2999 3000 In the Ethiopian keyboard layout, the dead vowel keys do not produce <e> 3001 and <u> and so on, but instead produce <U+FE69> and <U+FE75> and so on, 3002 so the compose sequences should use those latter code points. 3003 3004 Also, include the basic compose sequences from en_US.UTF-8/Compose, 3005 so that, when switching to a different layout in the Ethiopian locale, 3006 all the usual compose sequences work too. 3007 3008 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3009 3010commit e6f98a3dbd82928e10adaf9d034dc574af1de6e5 3011Author: Benno Schulenberg <bensberg@telfort.nl> 3012Date: Mon Apr 18 17:24:55 2022 +0200 3013 3014 nls: add Multi-key sequences for abovedot, diaeresis, and ogonek 3015 3016 These accents by themselves could only be produced when one had a 3017 dead key for them, not with the help of the Multi key. 3018 3019 [Note that the sequences <dead_acute> <space> for apostrophe (') 3020 and <dead_diaeresis> <space> for double quote (") are anomalies, 3021 as normally <dead_accent> <space> produces the accent itself.] 3022 3023 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3024 3025commit d323704e7c57f9ac7fdfea3dc9fa73bf943e72d3 3026Author: Benno Schulenberg <bensberg@telfort.nl> 3027Date: Mon Apr 18 16:57:35 2022 +0200 3028 3029 nls: remove eight pointless self-producing compose sequences 3030 3031 Compose sequences are meant to produce certain symbols by combining 3032 certain different symbols, not to produce a symbol with the help of 3033 the symbol itself. 3034 3035 This fixes issue #59. 3036 3037 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3038 3039commit 3b62c0322c112c03597d850197dbce22d1830bb7 3040Author: Benno Schulenberg <bensberg@telfort.nl> 3041Date: Fri Feb 25 14:12:02 2022 +0100 3042 3043 nls: remove misplaced sequences from Ethiopian and Greek compose files 3044 3045 The Khmer digraphs and Arabic ligatures have nothing to do with 3046 Amharic or Greek. 3047 3048 (Also rewrap a comment and correct two others.) 3049 3050 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3051 3052commit 479af78f2e5caaf9b98a35ae5ff4ccdd2f040289 3053Author: Benno Schulenberg <bensberg@telfort.nl> 3054Date: Fri Feb 25 14:05:35 2022 +0100 3055 3056 nls: remove redundant Khmer digraphs, already defined in included file 3057 3058 This fixes issue #160. 3059 3060 Reported-by: Mike Fabian 3061 3062 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3063 3064commit 6d7d08726f4b0c517041842b27cd7e66e8f371eb 3065Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3066Date: Sun Apr 10 14:51:55 2022 -0700 3067 3068 XkbUpdateKeyTypeVirtualMods: always initialize mask 3069 3070 XkbVirtualModsToReal should only fail to set mask if the server does 3071 not support XKB, but it still made Oracle Parfait complain: 3072 3073 Error: Uninitialised memory 3074 Uninitialised memory variable [uninitialised-mem-var] (CWE 457): 3075 Possible access to uninitialised memory referenced by variable 'mask' 3076 at line 863 of lib/libX11/src/xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'. 3077 Path in callee avoiding write at line 862 3078 mask allocated at line 860 3079 3080 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3081 3082commit 9ac6859c20be2fc5e70c2908de60c6e466ec04e1 3083Author: Matt Turner <mattst88@gmail.com> 3084Date: Sun Apr 3 10:15:30 2022 -0700 3085 3086 libX11 1.7.5 3087 3088 Signed-off-by: Matt Turner <mattst88@gmail.com> 3089 3090commit 76d1cc3c1ce943c6ff81dc8c62a1d1b30fabf02e 3091Author: Simon McVittie <smcv@debian.org> 3092Date: Sun Apr 3 14:23:36 2022 +0100 3093 3094 Don't try to destroy NULL condition variables 3095 3096 This avoids a segfault during error-unwinding if an invalid display name 3097 is passed to XOpenDisplay(). 3098 3099 Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()" 3100 Resolves: #155 3101 Signed-off-by: Simon McVittie <smcv@debian.org> 3102 3103commit 80b30d12519ac54fc5b2b05500521d9c8269be9c 3104Author: Matt Turner <mattst88@gmail.com> 3105Date: Wed Mar 30 13:54:13 2022 -0700 3106 3107 libX11 1.7.4 3108 3109 Signed-off-by: Matt Turner <mattst88@gmail.com> 3110 3111commit 8a368d808fec166b5fb3dfe6312aab22c7ee20af 3112Author: Hodong <hodong@yozmos.com> 3113Date: Thu Jan 20 00:57:41 2022 +0900 3114 3115 Fix two memory leaks in _XFreeX11XCBStructure() 3116 3117 Even when XCloseDisplay() was called, some memory was leaked. 3118 3119 XCloseDisplay() calls _XFreeDisplayStructure(), which calls 3120 _XFreeX11XCBStructure(). 3121 3122 However, _XFreeX11XCBStructure() did not destroy the condition variables, 3123 resulting in the leaking of some 40 bytes. 3124 3125 Signed-off-by: Hodong <hodong@yozmos.com> 3126 3127commit da97120f2322882a17f14e5d7da00c1e772679e8 3128Author: Adam Jackson <ajax@redhat.com> 3129Date: Tue Mar 22 14:32:49 2022 -0400 3130 3131 xcb: Clarify the XInitThreads error message 3132 3133 XInitThreads has been called if _Xglobal_lock != NULL, we may as well 3134 check that before printing a misleading error message. 3135 3136 Signed-off-by: Adam Jackson <ajax@redhat.com> 3137 3138commit 257927c51b08242aa5bf239346717fc817b2b286 3139Author: Giovanni Mascellani <gmascellani@codeweavers.com> 3140Date: Fri Feb 4 10:49:25 2022 +0100 3141 3142 xcb_io: Allow jumps backwards when widening the request number. 3143 3144 Request numbers are not always seen in the numeric order by widen(), 3145 for example due to Mesa directly calling _XError(). When this happens, 3146 widen() adds 2^32 to the reported widened number, triggering failed 3147 assertions and bad behavior. 3148 3149 With this commit, wrapping of the lower dword is detected in a more 3150 robust way, by requiring that a skip of at least 2^31 is seen. 3151 3152 This fixes issue #152. 3153 3154 Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> 3155 3156commit 918063298cb893bee98040c9dca45ccdb2864773 3157Author: Benno Schulenberg <bensberg@telfort.nl> 3158Date: Thu Mar 3 12:00:45 2022 +0100 3159 3160 nls: add a compose sequence for the peace symbol 3161 3162 As the thing in the circle looks a bit like an upside-down Y, 3163 use <O> <Y> as the sequence, similar to <O> <A> for anarchism. 3164 3165 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3166 3167commit 4f9eb32709dca705f02ca771bbd47d6c08aba5e0 3168Author: Benno Schulenberg <bensberg@telfort.nl> 3169Date: Fri Feb 25 12:45:06 2022 +0100 3170 3171 nls: remove obsolete locale aliases with uppercase in the language code 3172 3173 (These aliases may have been useful on some systems twenty years ago, 3174 but nowadays all should have settled on lowercase language code plus 3175 uppercase country code.) 3176 3177 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3178 3179commit ba0d3b437deb2212bc7fc7c6f1c603fa6ced443c 3180Author: Benno Schulenberg <bensberg@telfort.nl> 3181Date: Fri Feb 25 12:35:28 2022 +0100 3182 3183 nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias 3184 3185 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3186 3187commit cfddb79981f23650feb0f9a0f4442c9cad584b33 3188Author: Benno Schulenberg <bensberg@telfort.nl> 3189Date: Fri Feb 25 12:12:05 2022 +0100 3190 3191 nls: remove the mistaken eo_EO names -- EO is not a valid country code 3192 3193 (Debian has had several of these lines commented out for years.) 3194 3195 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3196 3197commit eb5885245a1ba6955d058a03e31894c23b9f5490 3198Author: iyzana <iyzana@protonmail.com> 3199Date: Mon Feb 21 13:20:23 2022 +0100 3200 3201 nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8 3202 3203 There is no matching locale in the locale.dir and compose.dir files for 3204 the locale eo.UTF-8. Setting it as the locale resulted in compose files 3205 not being loaded. 3206 3207 Signed-off-by: iyzana <iyzana@protonmail.com> 3208 3209commit 24df23dff9d8c1cf5e918a5f040b852bdf2cfb84 3210Author: Benno Schulenberg <bensberg@telfort.nl> 3211Date: Thu Feb 3 17:19:05 2022 +0100 3212 3213 nls: group the compose sequences for tilde, degree, and cedilla together 3214 3215 Also, correct the comment for the double quote character ("), and move 3216 the soft hyphen and the interrobangs to a special punctuation group. 3217 3218 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3219 3220commit c0191f020f94907770937bc8ae67ea8acd7d63be 3221Author: Benno Schulenberg <bensberg@telfort.nl> 3222Date: Thu Feb 3 16:33:05 2022 +0100 3223 3224 nls: use shape-based compose sequences for hammer-and-sickle instead 3225 3226 Using a misspelled abbreviation (CCCP) of an obsolete country's name 3227 to compose a fairly general communist symbol does not seem right. 3228 3229 https://en.wikipedia.org/wiki/Hammer_and_sickle 3230 3231 Many compose sequences instead combine characters that together look 3232 similar to the target character. Do the same here: question mark (?) 3233 plus backslash (\) look a bit like ☭ . 3234 3235 In the bargain, this fixes issue #63. 3236 3237 Reported-by: Marc Mezzarobba 3238 3239 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3240 3241commit 582dc6f89e1f9288710a55cb2b8fbf2af99d7616 3242Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3243Date: Sun Feb 20 11:49:42 2022 -0800 3244 3245 gitlab CI: enable Static Application Security Testing (SAST) 3246 3247 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3248 3249commit 336e8f72559b489396c5cd503c4586ef800c2a8f 3250Author: Benno Schulenberg <bensberg@telfort.nl> 3251Date: Sun Feb 20 15:06:02 2022 +0100 3252 3253 nls: add compose sequences for leftward, upward and downward double arrow 3254 3255 These sequences follow the logic of: the arrow shaft (=) first, the 3256 arrow head (< or > or ^ or v) second. This is so because the sequence 3257 <= is already taken for ≤, and there is no obvious ASCII character for 3258 a double vertical line, so we have to make do with a horizontal one. 3259 3260 Since commit 6101b967b6 from eight years ago, there is a compose sequence 3261 for the rightward double arrow, but not for the other three directions. 3262 3263 This fixes issue #138. 3264 3265 Requested-by: Mélanie Chauvel 3266 3267 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3268 3269commit 623b77d4f30b47258a40f89262e5aa5d25e95fa7 3270Author: Benno Schulenberg <bensberg@telfort.nl> 3271Date: Mon Feb 14 11:33:25 2022 +0100 3272 3273 imDefLkup: verify that a pointer isn't NULL before using it 3274 3275 It is possible for _XimICOfXICID() to return NULL, so it is necessary 3276 to check this isn't actually the case before dereferencing the pointer. 3277 All other callers of _XimICOfXICID() do this check too. 3278 3279 (The check itself is ugly, but it follows the style of the code in the 3280 rest of the module.) 3281 3282 Fixes issue #45. 3283 3284 Reported-by: Bhavi Dhingra 3285 3286 Original-patch-by: Bhavi Dhingra 3287 3288 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3289 3290commit b83938f7f97aa6210b00835002e6e7d614b2374a 3291Author: Christopher Chavez <chrischavez@gmx.us> 3292Date: Mon Feb 14 01:00:45 2022 +0000 3293 3294 Xlib.h: fix spelling in comment 3295 3296 Signed-off-by: Christopher Chavez <chrischavez@gmx.us> 3297 3298commit 4791055682552b4cc8e775479700fb06980d0b59 3299Author: Christopher Chavez <chrischavez@gmx.us> 3300Date: Sun Feb 13 05:26:14 2022 +0000 3301 3302 Xlib.h: spelling fix in comment 3303 3304commit 9304e645bdcdd3a71ff449a1157c4815e6304d7a 3305Author: Denis Drakhnia <numas13@gmail.com> 3306Date: Wed Feb 2 11:54:43 2022 +0200 3307 3308 nls: Add ru_UA.utf8 locale alias. 3309 3310 Signed-off-by: Denis Drakhnia <numas13@gmail.com> 3311 3312commit 9ef2551f0c201f9163b66d17189a98076b5be07a 3313Author: Benno Schulenberg <bensberg@telfort.nl> 3314Date: Wed Feb 2 16:50:35 2022 +0100 3315 3316 nls: do some manual adjustment of whitespace in the compose sequences 3317 3318 This achieves a more consistent vertical alignment (per group) of the 3319 target character and the trailing comments. 3320 3321 (Most blocks were aligned in some fashion, except the "Greek Extended" 3322 block, which has lines of greatly varying lengths.) 3323 3324 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3325 3326commit 0dad289ead6eb3412027c9365192441cc539d747 3327Author: Benno Schulenberg <bensberg@telfort.nl> 3328Date: Wed Feb 2 14:08:22 2022 +0100 3329 3330 nls: among the compose sequences, replace all runs of spaces with tabs 3331 3332 It was done with this script: 3333 3334 cat nls/en_US.UTF-8/Compose.pre | 3335 sed 's!\(^<.\{6,13\}>\)\s*:!\1\t\t\t\t:!' | 3336 sed 's!\(^<.\{14,21\}>\)\s*:!\1\t\t\t:!' | 3337 sed 's!\(^<.\{22,29\}>\)\s*:!\1\t\t:!' | 3338 sed 's!\(^<.\{30,37\}>\)\s*:!\1\t:!' | 3339 sed 's!\(: ".*"\)\s*!\1\t!' | 3340 sed 's!\(\s*# \)! # !' > trimmed && 3341 mv trimmed nls/en_US.UTF-8/Compose.pre 3342 3343 This saves 37 kilobytes of whitespace. 3344 3345 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3346 3347commit fc79e39c236501357e1fdbe8964882864eeef5d3 3348Author: Benno Schulenberg <bensberg@telfort.nl> 3349Date: Wed Feb 2 14:06:29 2022 +0100 3350 3351 docs: add missing word, wrap line, fix typo, and trim an excess space 3352 3353 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3354 3355commit 93446455c46dfc019984ab822ffa662cf6e2949c 3356Author: Benno Schulenberg <bensberg@telfort.nl> 3357Date: Thu Jan 27 15:01:18 2022 +0100 3358 3359 KeyBind: reshuffle two ifs into the general order of ascending codes 3360 3361 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3362 3363commit 93f15f5f29378ec4cc1dd011b155104e9a52b058 3364Author: Benno Schulenberg <bensberg@telfort.nl> 3365Date: Thu Jan 27 14:27:41 2022 +0100 3366 3367 KeyBind: slightly speed up some case conversions by adding missing returns 3368 3369 This avoids pointlessly tumbling through several more ifs when the 3370 conversion has aleady been done. 3371 3372 Also remove two redundant conditions (as lower codes have already 3373 been handled) and fold two other conditions together. 3374 3375 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3376 3377commit 317c7abbcc848011393d1336b9d020af8cabb000 3378Author: Benno Schulenberg <bensberg@telfort.nl> 3379Date: Thu Jan 27 13:54:29 2022 +0100 3380 3381 KeyBind: update the Greek case-conversion tables to Unicode Data 14.0 3382 3383 A few symbols, like Heta and Sampi and dotted lunate Sigma, have been 3384 assigned code points since Unicode Data 4.0, and need their entries. 3385 3386 This fixes issue #132. 3387 3388 Reported-by: Ray Vine 3389 3390 Original-patch-by: Ray Vine 3391 3392 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3393 3394commit 402b843fa72166d9ceefd887f5cea4728cbc6995 3395Author: Benno Schulenberg <bensberg@telfort.nl> 3396Date: Wed Jan 26 17:20:28 2022 +0100 3397 3398 remove a commented-out code fragment, and remove a stray blank line 3399 3400 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3401 3402commit fbbc3cf8b8b03f74f778772d4703fc4fec242282 3403Author: Benno Schulenberg <bensberg@telfort.nl> 3404Date: Wed Jan 26 16:55:50 2022 +0100 3405 3406 XKBCvt: remove an if that never gets triggered 3407 3408 The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols 3409 from the numeric keypad and some control symbols to pass -- XK_hyphen 3410 is not among them, so the check for XK_hyphen in the later 'if' will 3411 always be false. 3412 3413 (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was 3414 removed in March 1994.) 3415 3416 (Also, several keyboard layouts nowadays contain the 'hyphen' symbol, 3417 allowing the user to enter soft hyphens into a document. So we really 3418 don't want to remap this symbol.) 3419 3420 Fixes issue #48. 3421 3422 Reported-by: Bhavi Dhingra 3423 3424 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3425 3426commit 6786744f636b3fc545157a13cb2f6169b5be9fa5 3427Author: Benno Schulenberg <bensberg@telfort.nl> 3428Date: Sun Jan 23 17:12:03 2022 +0100 3429 3430 nls: add the es_CU locale name, for Cuba 3431 3432 It was added to glibc ten years ago. 3433 3434 This fixes issue #57. 3435 3436 Reported-by: Dominique Michel 3437 3438 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3439 3440commit d241d8af7f24e95949c2cf7ce791e35df7665e98 3441Author: Benno Schulenberg <bensberg@telfort.nl> 3442Date: Sun Jan 23 16:44:03 2022 +0100 3443 3444 nls: remove some obsolete Norwegian and Yugoslavian locale names 3445 3446 They have not existed in glibc for more than fifteen years. 3447 3448 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3449 3450commit 32dd7c03e92e01015744867b9b3148c250cc159a 3451Author: Benno Schulenberg <bensberg@telfort.nl> 3452Date: Sat Jan 22 17:56:32 2022 +0100 3453 3454 nls: put some entries in their alphabetical order, and adjust alignment 3455 3456 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3457 3458commit 46a066f25103bb909259baea25de8dd5c4a2b338 3459Author: Benno Schulenberg <bensberg@telfort.nl> 3460Date: Sat Jan 22 18:00:20 2022 +0100 3461 3462 nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment 3463 3464 The typo was only partially fixed in commit 22a5255b80 sixteen years ago, 3465 and the internet shows that there was at least one user frustrated that 3466 bg_BG.utf8 didn't work but bg_BG.UTF-8 did. 3467 3468 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3469 3470commit 84efc0aa598c8f7d6dd9a49e7450e85c8bc4773b 3471Author: Benno Schulenberg <bensberg@telfort.nl> 3472Date: Wed Jan 19 15:32:15 2022 +0100 3473 3474 nls: remove the compose sequences with the deviant KP_Space symbol 3475 3476 Using this KP_Space symbol as a stand-in for the symbol 2 doesn't make 3477 sense. It looks like a mistake, or as if someone had a broken keyboard 3478 and used KP_Space as a substitute for 2. 3479 3480 Also, no keyboard layout in the last fifteen years has contained the 3481 KP_Space symbol, so I don't see how anyone could type it. 3482 3483 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3484 3485commit b76e661ca223489da9027b0ab1ca1586efd0a280 3486Author: Benno Schulenberg <bensberg@telfort.nl> 3487Date: Wed Jan 19 13:49:56 2022 +0100 3488 3489 nls: move the block of Jamo to its logical place (ascending Unicodes) 3490 3491 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3492 3493commit 21f82fb9c69f8fdbf0bdc1aac6f8c11c2c6d55d1 3494Author: Benno Schulenberg <bensberg@telfort.nl> 3495Date: Wed Jan 19 13:40:56 2022 +0100 3496 3497 nls: delete some ineffective compose sequences (that were commented out) 3498 3499 They have never worked; there is no point in keeping them in the file. 3500 3501 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3502 3503commit 6cc31eafa8095d2117ff1906d7c14c1c01173248 3504Author: Benno Schulenberg <bensberg@telfort.nl> 3505Date: Wed Jan 19 12:18:21 2022 +0100 3506 3507 nls: group some compose sequences better, and add some comments 3508 3509 Also, align a few trailing comments more consistently, and change 3510 some comments so they will be excluded from the installed file -- 3511 there is no need for those comments there. 3512 3513 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3514 3515commit d60ede7843612f3c2967f83d629bf8272ba09ff1 3516Author: ArenaL5 <arenal5@protonmail.com> 3517Date: Thu Jan 13 01:13:56 2022 +0100 3518 3519 nls: add a compose sequence for the copyleft symbol 3520 3521 Probably not used anywhere yet, let alone seriously, as stated in 3522 https://en.wikipedia.org/wiki/Copyleft#Symbol 3523 3524 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 3525 3526commit df4dcdf9125c595f6df3a302356647cb8df38553 3527Author: Benno Schulenberg <bensberg@telfort.nl> 3528Date: Mon Jan 17 17:31:08 2022 +0100 3529 3530 nls: remove redundant compose sequences with deprecated Hebrew symbols 3531 3532 The compose sequences with the valid Hebrew key symbols are right there. 3533 3534 Also, no keyboard layout in the past seventeen years has contained these 3535 deprecated symbols on any key. 3536 3537 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3538 3539commit 4268472bd11a07a799716fb5833ea46cad3dd479 3540Author: Benno Schulenberg <bensberg@telfort.nl> 3541Date: Sun Jan 16 17:51:29 2022 +0100 3542 3543 nls: remove redundant compose sequences with the deprecated 'underbar' 3544 3545 The key symbol 'underbar' is equivalent to 'underscore' -- the mirror 3546 compose sequences with the latter symbol continue to exist. 3547 3548 Also, no keyboard layout in the past fifteen years has contained the 3549 symbol 'underbar' on any key -- except a Telugu layout since a few 3550 years, but that will be corrected soon. 3551 3552 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3553 3554commit 86e9749ef37189486c205ee7f77e43fed655ac70 3555Author: ArenaL5 <arenal5@protonmail.com> 3556Date: Sat Jan 15 16:20:56 2022 +0100 3557 3558 nls: add a compose sequence for the middle dot (·) using dead_circumflex 3559 3560 This makes the middle dot compose sequences consistent with others that 3561 begin with <dead_circumflex> and <Multi_key> <asciicircum>, e.g. 3562 superscripted 3 (³) 3563 3564 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 3565 3566commit 1adb531cd5be2b6489c2a8106e850e7418fae056 3567Author: Benno Schulenberg <bensberg@telfort.nl> 3568Date: Fri Jan 14 13:06:10 2022 +0100 3569 3570 docs: unwrap the comments of structure elements in the man pages 3571 3572 It doesn't matter that these lines get wider than 80 columns, as it's 3573 easy enough to make the pager scroll a bit to the right, or to have a 3574 terminal that is a 100 or more columns wide. It looks better to not 3575 hard-wrap these comments. 3576 3577 Also, fix the layout of two table elements. 3578 3579 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3580 3581commit da330a1644f10f9669c8dd9ee06489c40f9f0bd1 3582Author: Benno Schulenberg <bensberg@telfort.nl> 3583Date: Fri Jan 14 12:33:23 2022 +0100 3584 3585 docs: unwrap some mistakenly wrapped lines, and correct a comment 3586 3587 The wrapped lines messed up the table. Also, add some blank lines 3588 to make the table more readable. 3589 3590 Elsewhere, add spaces around an operator (for consistency), 3591 and correct a copy-paste error. 3592 3593 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3594 3595commit b9e0346abebb0c9e5c80c780bba4372419e63bde 3596Author: Benno Schulenberg <bensberg@telfort.nl> 3597Date: Fri Jan 14 15:57:56 2022 +0100 3598 3599 XKBMAlloc: use the correct first-key variable when extending a key range 3600 3601 When extending the range of changed virtual-modifier keys, one should 3602 pass the two variables relevant to that range. 3603 3604 These two mistakes were found by grepping for 'modmap_key' and then 3605 looking for asymmetries between the handling of the plain modmap thing 3606 and the virtual modmap thing. Inspired by issue #76. 3607 3608 (I suspect these mistakes were at the base of some intractable bugs 3609 reported against xkeyboard-config where virtual modifiers refused 3610 to work and had to be worked around by making other changes too.) 3611 3612 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3613 3614commit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0 3615Author: Benno Schulenberg <bensberg@telfort.nl> 3616Date: Wed Jan 12 11:34:23 2022 +0100 3617 3618 lcUTF8: remove two unneeded ifs and two elses that are never reached 3619 3620 When there is a break at the end of the while loop, it means that the 3621 loop will finish the first time that _XlcGetCharSetWithSide() returns 3622 a non-NULL result, which means that the first '(last_charset == NULL)' 3623 will always be true and the else part is redundant. 3624 3625 Fixes issue #46. 3626 3627 Reported-by: Bhavi Dhingra 3628 3629 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3630 3631commit 033f37d507801645a8251fd33c25ebd145d22cce 3632Author: Antti Savolainen <antti.savo@gmail.com> 3633Date: Wed Jan 12 16:10:21 2022 +0000 3634 3635 nls: add two compose sequences for an upwards arrow using dead_circumflex 3636 3637 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 3638 3639commit b7d724df615311c35418afc733e1fcc68c740aba 3640Author: Hodong <hodong@nimfsoft.com> 3641Date: Fri Jan 7 10:41:15 2022 +0000 3642 3643 specs/XIM: fix a missing "EXT" in the documentation 3644 3645 There was an "EXT" in the original text, but it seems to be missing. 3646 3647 See: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/4e66da0783b2e5e3b288aaecd3c89396ed425c20/specs/XIM/xim.ms#L693 3648 3649 Signed-off-by: Hodong Kim <hodong@nimfsoft.com> 3650 3651commit 4c96f3567a8d045ee57b886fddc9618b71282530 3652Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3653Date: Thu Dec 9 19:51:52 2021 -0800 3654 3655 libX11 1.7.3.1 3656 3657 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3658 3659commit c1710589bb00d6f442a383fc41f0d6496b436c88 3660Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3661Date: Tue Dec 7 08:29:43 2021 -0800 3662 3663 specs/XIM: Fix "encording" typos 3664 3665 Fixes: #145 3666 3667 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3668 3669commit e30771b4bbdd84fc7ff64a1cda483a46edb5707b 3670Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3671Date: Mon Dec 6 17:04:14 2021 -0800 3672 3673 libX11 1.7.3 3674 3675 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3676 3677commit 934417b1e89fe715b9cf6c0d62a3867fa1f5bccb 3678Author: Liang Chang <l-chang@users.sourceforge.net> 3679Date: Tue Sep 7 18:54:10 2021 +0800 3680 3681 Make Xutf8DrawString works correctly with ISO10646 fonts. 3682 3683 Signed-off-by: Liang Chang <l-chang@users.sourceforge.net> 3684 3685commit 3ad36c5d3ddca3e4c97faaf87b72a53954d1f473 3686Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3687Date: Thu Dec 2 17:48:55 2021 -0800 3688 3689 Build xz tarballs instead of bzip2 3690 3691 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3692 3693commit 93a050c3ad2d2264d3880db3791387b1a9bf2e9e 3694Author: Tatu Frisk <tatu.frisk@ge.com> 3695Date: Tue Mar 14 14:41:27 2017 +0200 3696 3697 Fix hanging issue in _XReply 3698 3699 Assume event queue is empty if another thread is blocking waiting for event. 3700 3701 If one thread was blocking waiting for an event and another thread sent a 3702 reply to the X server, both threads got blocked until an event was 3703 received. 3704 3705 Signed-off-by: Tatu Frisk <tatu.frisk@ge.com> 3706 Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> 3707 3708commit 8382253010267b93c9aeffc769e3f5e43d698094 3709Author: Matthieu Herrb <matthieu@herrb.eu> 3710Date: Mon Aug 30 21:47:09 2021 +0200 3711 3712 Avoid NULL pointer deref. Fixes issue #47. 3713 3714 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3715 3716commit 58d7b540c453601faf942c6f19f8277a5c5f78cc 3717Author: Peter Hutterer <peter.hutterer@who-t.net> 3718Date: Wed Dec 1 14:31:16 2021 +1000 3719 3720 gitlab CI: update to use the ci-fairy image 3721 3722 Let's use the pre-prepared image instead of building our own. 3723 3724 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3725 3726commit 150154c994829f9f3734a560f99f70b21d86b49c 3727Author: Hodong <hodong@nimfsoft.com> 3728Date: Sun Nov 14 06:36:42 2021 +0000 3729 3730 Fix a typo 3731 3732commit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e 3733Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 3734Date: Sun Sep 5 10:25:38 2021 +0300 3735 3736 libX11: do not crash in GetResReq() macro 3737 3738 When _XGetRequest() detects that requested length exceeds remaining display 3739 output buffer capacity it would return NULL. GetResReq() macro obtains "req" 3740 pointer from a call to _XGetRequest() and then proceeds to assign request id 3741 through "req" pointer which leads to NULL pointer dereference in this case. 3742 3743 Fix this by checking if "req" is valid before assigning request id. 3744 3745 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 3746 3747commit e92efc63acd7b377faa9e534f4bf52aaa86be2a9 3748Author: Peter Hutterer <peter.hutterer@who-t.net> 3749Date: Tue Jul 27 11:46:19 2021 +1000 3750 3751 makekeys: handle the new _EVDEVK xorgproto symbols 3752 3753 These keys are all defined through a macro in the form: 3754 #define XF86XK_BrightnessAuto _EVDEVK(0x0F4) 3755 3756 The _EVDEVK macro is simply an offset of 0x10081000. 3757 Let's parse these lines correctly so those keysyms end up in our 3758 hashtables. 3759 3760 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3761 3762commit d01d23374107f6fc55511f02559cf75be7bdf448 3763Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3764Date: Wed Jun 16 12:17:04 2021 +0100 3765 3766 Avoid undefined behaviour after realloc() 3767 3768 Adding the offset between the realloc result and the old allocation to 3769 update pointers into the new allocation is undefined behaviour: the 3770 old pointers are no longer valid after realloc() according to the C 3771 standard. While this works on almost all architectures and compilers, 3772 it causes problems on architectures that track pointer bounds (e.g. 3773 CHERI or Arm's Morello): the value_list pointers will still have the 3774 bounds of the previous allocation and therefore any dereference will 3775 result in a run-time trap. 3776 3777 I found this due to a crash (dereferencing an invalid capability) while 3778 trying to run `xev` over SSH on a CHERI-RISC-V system. With these two 3779 realloc changes, and https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/41 3780 I am able to succesfully run `xev` compiled for CHERI-RISC-V. 3781 3782 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3783 3784commit 1c845834a32421abb59408aee259ac0bef054d30 3785Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3786Date: Tue Jun 15 08:46:53 2021 +0100 3787 3788 Fix cross-compilation from macOS 3789 3790 We can't use `LC_CTYPE=C sed` there since /usr/bin/sed is not compatible 3791 with the expressions in nls/ (`sed: RE error: illegal byte sequence`). 3792 To fix this use $(SED) instead which autotools will set to a GNU 3793 version of sed (usually /usr/local/bin/gsed) on macOS. 3794 3795 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3796 3797commit 401f58f8ba258d4e7ce56a8f756595b72e544c15 3798Author: Lev Korol <epicatsupercell@gmail.com> 3799Date: Sun Apr 11 21:57:45 2021 +0300 3800 3801 nls: Add en_IL locale 3802 3803 Signed-off-by: Lev Korol <epicatsupercell@gmail.com> 3804 3805commit f906fe8e9769e4313294b68e61c402610ade69da 3806Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3807Date: Sat Jun 5 09:12:13 2021 -0700 3808 3809 libX11 1.7.2 3810 3811 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3812 3813commit 51b73ac0acda65005c8a9f17ca4ea7281b00ca84 3814Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3815Date: Sun May 23 15:05:17 2021 +0200 3816 3817 Protect against overly long strings 3818 3819 Checking against upper limit of USHRT_MAX must happen before truncating 3820 size_t to int. On 64 bit systems with strings larger than 2 GB this 3821 could otherwise lead to negative ints or ints smaller than USHRT_MAX. 3822 3823 In XParseColor this could lead to out of boundary access with strings 3824 starting with a # (color sequence). A modulo 12 operation is performed 3825 to validate the string length, but with an overflown length, the for 3826 loop would eventually read behind terminating '\0' character. 3827 3828 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3829 3830commit ab2f59530b16bdfbf023b8e025c7c8aba3b6fd0c 3831Author: Matthieu Herrb <matthieu@herrb.eu> 3832Date: Sun May 30 16:33:48 2021 +0200 3833 3834 Check for NULL strings before getting their lengths 3835 3836 Problem reported by Karsten Trulsen 3837 3838 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3839 3840commit a8216e8653a246db664e1443ecf707b27de65067 3841Author: Matthieu Herrb <matthieu@herrb.eu> 3842Date: Sat May 22 17:35:47 2021 +0200 3843 3844 include <limits.h> always, not if HAVE_CONFIG_H is set. 3845 3846 via Matthew Green from the NetBSD project 3847 3848 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3849 3850commit 6953a586df4819143c4d55e011b3a5e5377981b8 3851Author: Matthieu Herrb <matthieu.herrb@laas.fr> 3852Date: Tue May 18 15:27:58 2021 +0200 3853 3854 Version 1.7.1 3855 3856 Release notes in README.md, version bump in configure.ac 3857 3858commit 8d2e02ae650f00c4a53deb625211a0527126c605 3859Author: Matthieu Herrb <matthieu@herrb.eu> 3860Date: Fri Feb 19 15:30:39 2021 +0100 3861 3862 Reject string longer than USHRT_MAX before sending them on the wire 3863 3864 The X protocol uses CARD16 values to represent the length so 3865 this would overflow. 3866 3867 CVE-2021-31535 3868 3869 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3870 3871commit 838ea5a5a0267c25b20c095c9a70684edeeefba4 3872Author: Gaurav Ujjwal <gujjwal00@gmail.com> 3873Date: Sun May 9 05:04:36 2021 +0000 3874 3875 Fix out-of-bound access in KeySymToUcs4() 3876 3877 Array `keysym_to_unicode_590_5fe` is only valid for range [0x590, 0x5fe] but current lower-bound is checked against 0x589. 3878 3879 So invalid values from 0x58a to 0x58f are being allowed by current check. 3880 3881 If any of these invalid value is passed as `keysym`, `keysym - 0x590` would underflow. 3882 3883 Signed-off-by: Gaurav Ujjwal <gujjwal00@gmail.com> 3884 3885commit 32491b02c76ac22f99dc433a32466e22bdc181a7 3886Author: Christopher Chavez <chrischavez@gmx.us> 3887Date: Mon May 3 15:46:44 2021 +0000 3888 3889 Xlib.h: spelling fix in comment 3890 3891commit 5faa8dc0b364f55f19034c370436074646d9ad54 3892Author: Benno Schulenberg <bensberg@telfort.nl> 3893Date: Tue Nov 24 18:54:24 2020 +0100 3894 3895 nls: adjust three comments about the APL compose sequences 3896 3897 Commit 0bbc0d5e605e (from eight years ago) removed the lines that two 3898 of these comments referred to. Without those lines, the comments don't 3899 make sense any more. Reword and shorten them. 3900 3901 Also reword a comment about two sequences that don't work. 3902 3903 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3904 3905commit b126bfd7fe990b8c1df088f55c31d9b3fd440cde 3906Author: Benno Schulenberg <bensberg@telfort.nl> 3907Date: Tue Nov 24 12:23:32 2020 +0100 3908 3909 nls: allow composing all breved letters also with a lowercase "u" 3910 3911 The letters ă and ŭ can already be composed with "u a" and "u u", but 3912 ĕ, ğ, ĭ, and ŏ can be composed only with an uppercase U. Emancipate 3913 the latter four and understand also a lowercase "u" to mean 'breve'. 3914 3915 (Yesterday I needed ğ and was annoyed that "u g" did not work.) 3916 3917 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3918 3919commit 78027fdb7aa07621a3b7cdf37050bae39012f2fb 3920Author: Walter Harms <wharms@bfs.de> 3921Date: Sat Nov 28 21:05:33 2020 +0100 3922 3923 fix same roff code 3924 3925 Signed-off-by: Walter Harms <wharms@bfs.de> 3926 3927commit 4f15cfc64548098fef3ddd24f7359b76cf1bbda7 3928Author: Walter Harms <wharms@bfs.de> 3929Date: Sat Nov 28 20:56:35 2020 +0100 3930 3931 Fix some roff code add see also 3932 3933 Signed-off-by: Walter Harms <wharms@bfs.de> 3934 3935commit daa106927f78e6c5c9c36558a4b951d7cb58a8d1 3936Author: Walter Harms <wharms@bfs.de> 3937Date: Sat Nov 28 17:49:25 2020 +0100 3938 3939 fix broken nroff coding for code comments 3940 3941 the comments /* */ are code as /\(** */ that does not work. 3942 the coding in other X11 man pages is /\&* */ so we do the same here. 3943 3944commit 7bdeae239b17db002964ac73d06f43f216d1cf86 3945Author: Walter Harms <wharms@bfs.de> 3946Date: Fri Nov 27 22:43:21 2020 +0100 3947 3948 FIX: warning: macro `hN' not defined 3949 3950 Signed-off-by: Walter Harms <wharms@bfs.de> 3951 3952commit b7ec67d3ea78ab68857328d8f72d923324e68cc2 3953Author: Walter Harms <wharms@bfs.de> 3954Date: Fri Nov 27 22:26:15 2020 +0100 3955 3956 FIX: warning: macro `IN' not defined 3957 3958 just remove an other dead macro use. 3959 3960commit 7ca3ceb9175a829a40c347cb3b2e98341ec5a2df 3961Author: Walter Harms <wharms@bfs.de> 3962Date: Fri Nov 27 21:58:04 2020 +0100 3963 3964 fix warning: macro `s' not defined 3965 3966 this is caused by bad nroff coding, fix some more issues on the fly 3967 3968commit 14fb4e535626ba934cad5bc4308f511524cd1103 3969Author: Walter Harms <wharms@bfs.de> 3970Date: Fri Nov 27 20:04:22 2020 +0100 3971 3972 FIX: warning: macro `hN' not defined 3973 3974 this was found by checking man pages with 3975 groff -t -mandoc -Z -wmac -Tutf8 $FILE >/dev/null 3976 3977 In most cases .hN could be replaced with .BR 3978 3979 Signed-off-by: Walter Harms <wharms@bfs.de> 3980 3981commit cb03da4447aa53e8e5382f124917d89b50148036 3982Author: Walter Harms <wharms@bfs.de> 3983Date: Fri Nov 27 19:00:00 2020 +0100 3984 3985 FIX: warning: macro `Pn' not defined 3986 3987 The missing macro is found via: 3988 roff -t -mandoc -Z -wmac -Tutf8 XAnyEvent.man >/dev/null 3989 3990 To fix the problem the macro is replaced with .RB. 3991 3992 Signed-off-by: Walter Harms <wharms@bfs.de> 3993 3994commit cc9f8878f2cbe17c7b4035b4ff4352b52ece38e0 3995Author: Benno Schulenberg <bensberg@telfort.nl> 3996Date: Wed Nov 25 16:58:27 2020 +0100 3997 3998 nls: add 'C.utf8' as an alias for 'en_US.UTF-8' 3999 4000 The normal form is 'C.UTF-8', but 'C.utf8' has been seen in the wild. 4001 4002 Fixes #102. 4003 4004 Reported-by: Tomas Korbar 4005 4006 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4007 4008commit ca8115186f810eccb7d86b0979980eff3ba95f0b 4009Author: Keith Packard <keithp@keithp.com> 4010Date: Thu Nov 19 11:30:41 2020 -0800 4011 4012 Version 1.7.0 4013 4014 Release notes in README.md, version bump in configure.ac 4015 4016 Signed-off-by: Keith Packard <keithp@keithp.com> 4017 4018commit 325ac177fb6d38f4c7689d9ce059792eaef388ef 4019Author: Keith Packard <keithp@keithp.com> 4020Date: Mon Nov 16 15:48:40 2020 -0800 4021 4022 Update libX11 .so version to 6.4.0 4023 4024 There have been API additions since the previous release, so the 4025 .so version needs to change. 4026 4027 Signed-off-by: Keith Packard <keithp@keithp.com> 4028 4029commit 103e2e11519984aa5746c06e7d90d1f5bc8174a3 4030Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4031Date: Sat Oct 31 09:24:01 2020 -0700 4032 4033 Don't leave dangling pointers in Free functions 4034 4035 While these are mostly called during teardown of larger structures 4036 that are about to themselves be freed, there's no guarantee that 4037 will always be the case, so try to be safer here. 4038 4039 [ This bug was found by the Parfait 4.0 bug checking tool. 4040 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 4041 4042 v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies 4043 as suggested by @keithp 4044 4045 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4046 4047commit 7d70e302218e2ec8518548ddcdc02d828e7889af 4048Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4049Date: Sat Oct 31 08:56:34 2020 -0700 4050 4051 XimProto.h: wrap XIM_HEADER_SIZE definition in parens 4052 4053 Resolves parfait warning of potential macro misinterpretation if 4054 expanded in the midst of other arithmetic operations with higher 4055 precedence. 4056 4057 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4058 4059commit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a 4060Author: Keith Packard <keithp@keithp.com> 4061Date: Tue Nov 17 13:15:18 2020 -0800 4062 4063 Copy locale modifiers when creating XimInstCallback [v2] 4064 4065 Locale modifiers may be freed whenever XSetLocaleModifiers gets 4066 called, even if the locale hasn't changed. This means that we cannot 4067 save a pointer to those modifiers in the XimInstCallback record and 4068 must, instead, make a copy of them instead. 4069 4070 This fixes a problem uncovered when running wish under libasan as 4071 follows (on current Debian unstable): 4072 4073 $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish 4074 4075 Reported-by: Vittorio Zecca <zeccav@gmail.com> 4076 Signed-off-by: Keith Packard <keithp@keithp.com> 4077 4078 v2: 4079 Remove incorrect 'else' token found by @alanc 4080 4081commit 960e2e0cfac12c3477c672d0d40818a0dc74aca5 4082Author: Peter Hutterer <peter.hutterer@who-t.net> 4083Date: Mon Nov 16 09:34:57 2020 +1000 4084 4085 gitlab CI: add a basic build test 4086 4087 Using Arch as base distribution here because we can expect our dependencies to 4088 be up-to-date. We rely on the Arch for our dependencies rather than building 4089 those from git (notably: xorg-macros, xtrans and libxcb). 4090 4091 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4092 4093commit dbb55e1a5e82870466b095097d9e46046680ec25 4094Author: Frediano Ziglio <fziglio@redhat.com> 4095Date: Wed Jan 29 09:06:54 2020 +0000 4096 4097 Fix poll_for_response race condition 4098 4099 In poll_for_response is it possible that event replies are skipped 4100 and a more up to date message reply is returned. 4101 This will cause next poll_for_event call to fail aborting the program. 4102 4103 This was proved using some slow ssh tunnel or using some program 4104 to slow down server replies (I used a combination of xtrace and strace). 4105 4106 How the race happens: 4107 - program enters into poll_for_response; 4108 - poll_for_event is called but the server didn't still send the reply; 4109 - pending_requests is not NULL because we send a request (see call 4110 to append_pending_request in _XSend); 4111 - xcb_poll_for_reply64 is called from poll_for_response; 4112 - xcb_poll_for_reply64 will read from server, at this point 4113 server reply with an event (say sequence N) and the reply to our 4114 last request (say sequence N+1); 4115 - xcb_poll_for_reply64 returns the reply for the request we asked; 4116 - last_request_read is set to N+1 sequence in poll_for_response; 4117 - poll_for_response returns the response to the request; 4118 - poll_for_event is called (for instance from another poll_for_response); 4119 - event with sequence N is retrieved; 4120 - the N sequence is widen, however, as the "new" number computed from 4121 last_request_read is less than N the number is widened to N + 2^32 4122 (assuming last_request_read is still contained in 32 bit); 4123 - poll_for_event enters the nested if statement as req is NULL; 4124 - we compare the widen N (which now does not fit into 32 bit) with 4125 request (which fits into 32 bit) hitting the throw_thread_fail_assert. 4126 4127 To avoid the race condition and to avoid the sequence to go back 4128 I check again for new events after getting the response and 4129 return this last event if present saving the reply to return it 4130 later. 4131 4132 To test the race and the fix it's helpful to add a delay (I used a 4133 "usleep(5000)") before calling xcb_poll_for_reply64. 4134 4135 Original patch written by Frediano Ziglio, see 4136 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34 4137 4138 Reworked primarily for readability by Peter Hutterer, see 4139 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53 4140 4141 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4142 4143commit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277 4144Author: Keith Packard <keithp@keithp.com> 4145Date: Sat Nov 7 22:22:47 2020 -0800 4146 4147 Avoid recursing through _XError due to sequence adjustment 4148 4149 This patch is based on research done by Dmitry Osipenko to uncover the 4150 cause of a large class of Xlib lockups. 4151 4152 _XError must unlock and re-lock the display around the call to the 4153 user error handler function. When re-locking the display, two 4154 functions are called to ensure that the display is ready to generate a request: 4155 4156 _XIDHandler(dpy); 4157 _XSeqSyncFunction(dpy); 4158 4159 The first ensures that there is at least one XID available to use 4160 (possibly calling _xcb_generate_id to do so). The second makes sure a 4161 reply is received at least every 65535 requests to keep sequence 4162 numbers in sync (possibly generating a GetInputFocus request and 4163 synchronously awaiting the reply). 4164 4165 If the second of these does generate a GetInputFocus request and wait 4166 for the reply, then a pending error will cause recursion into _XError, 4167 which deadlocks the display. 4168 4169 One seemingly easy fix is to have _XError avoid those calls by 4170 invoking InternalLockDisplay instead of LockDisplay. That function 4171 does everything that LockDisplay does *except* call those final two 4172 functions which may end up receiving an error. 4173 4174 However, that doesn't protect the system from applications which call 4175 some legal Xlib function from within their error handler. Any Xlib 4176 function which cannot generate protocol or wait for events is valid, 4177 including many which invoke LockDisplay. 4178 4179 What we need to do is make LockDisplay skip these two function calls 4180 precisely when it is called from within the _XError context for the 4181 same display. 4182 4183 This patch accomplishes this by creating a list of threads in the 4184 display which are in _XError, and then having LockDisplay check the 4185 current thread against those list elements. 4186 4187 Inspired-by: Dmitry Osipenko <digetx@gmail.com> 4188 Signed-off-by: Keith Packard <keithp@keithp.com> 4189 Tested-by: Dmitry Osipenko <digetx@gmail.com> 4190 Reviewed-by: Dmitry Osipenko <digetx@gmail.com> 4191 4192commit c9c4d6efbf92ab51695e2e740319503221d68eed 4193Author: Benno Schulenberg <bensberg@telfort.nl> 4194Date: Fri Nov 13 11:34:04 2020 +0100 4195 4196 nls: improve the comments for the Serbian compose sequences 4197 4198 Also put an extra space before the lone combining characters 4199 so they have some room to breathe. 4200 4201 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4202 4203commit 3497dae3d9c52a252110b2a0983b82000be0fe8e 4204Author: Benno Schulenberg <bensberg@telfort.nl> 4205Date: Fri Nov 13 11:23:09 2020 +0100 4206 4207 nls: remove mistaken Serbian compose sequences with combining diacritics 4208 4209 Combining characters are not dead keys -- they have an immediate effect 4210 and combine with the preceding character. So they cannot be used in 4211 compose sequences. 4212 4213 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4214 4215commit 5cd60398b7787297008b13a848ed3cfbd7ef178d 4216Author: Benno Schulenberg <bensberg@telfort.nl> 4217Date: Mon Nov 2 16:34:39 2020 +0100 4218 4219 nls: rename the obsolete sr_CS locale to sr_RS 4220 4221 Fixes #107, for the most part. 4222 4223 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4224 4225commit 7cf1729590534e257b851899cf03421b65c538e3 4226Author: Keith Packard <keithp@keithp.com> 4227Date: Sat Nov 7 17:02:56 2020 -0800 4228 4229 Don't attempt to unload locale context data 4230 4231 Most locale context users call _XlcCurrentLC, which returns a pointer 4232 which never needs to be passed to _XCloseLC, meaning it has unbounded 4233 lifetime, so that locale data can never be freed. 4234 4235 Remove all reference counting and just leave all locales that were 4236 ever used in memory. 4237 4238 Signed-off-by: Keith Packard <keithp@keithp.com> 4239 Acked-by: Martin Peres <martin.peres@mupuf.org> 4240 4241commit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d 4242Author: Jacek Caban <jacek@codeweavers.com> 4243Date: Mon Aug 14 19:20:19 2017 +0200 4244 4245 Don't cache last lcd in _XlcCurrentLC. 4246 4247 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 4248 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 4249 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 4250 4251 The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway. 4252 4253 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 4254 Signed-off-by: Keith Packard <keithp@keithp.com> 4255 Acked-by: Martin Peres <martin.peres@mupuf.org> 4256 4257commit 7a38c09b82ee2522d987c3da4af8af186e562c61 4258Author: Keith Packard <keithp@keithp.com> 4259Date: Sat Nov 7 16:59:37 2020 -0800 4260 4261 Don't cache converters in _Xlcmbtowc and Xlcwctomb 4262 4263 These functions were caching encoding conversion functions in static 4264 variables which is not thread safe. Let the conversion loader do its 4265 job and cache locale to converters there. It's less efficient, but 4266 it's also (now) thread safe. 4267 4268 Signed-off-by: Keith Packard <keithp@keithp.com> 4269 Acked-by: Martin Peres <martin.peres@mupuf.org> 4270 4271commit b52ba5c209165fc2c533b77b86147b31763299f3 4272Author: Jacek Caban <jacek@codeweavers.com> 4273Date: Mon Aug 14 19:20:20 2017 +0200 4274 4275 Make conv_list thread safe. 4276 4277 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 4278 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 4279 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 4280 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 4281 Signed-off-by: Keith Packard <keithp@keithp.com> 4282 Acked-by: Martin Peres <martin.peres@mupuf.org> 4283 4284commit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956 4285Author: Antti Savolainen <antti.savo@gmail.com> 4286Date: Wed Sep 16 07:47:26 2020 +0000 4287 4288 Added DOWNWARD ARROW support 4289 4290commit 7138826dccba9d538dfb142ce9af1a40d64ea849 4291Author: Antti Savolainen <antti.savo@gmail.com> 4292Date: Tue Sep 8 00:54:23 2020 +0300 4293 4294 Added support for UPWARDS ARROW and ALMOST EQUAL TO 4295 4296 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 4297 4298commit 56d59299f7433cdeb88bac970b06eb7df44df5bb 4299Author: Jonathan Belsewir <jonbel@jonasund.de> 4300Date: Thu Nov 5 22:57:50 2020 +0000 4301 4302 Add less and greater to characters that are difficult to access on some keyboards 4303 4304commit 5caf45f8d3bebad5b72ac88545adc156ccfd754d 4305Author: Benno Schulenberg <bensberg@telfort.nl> 4306Date: Fri Oct 23 17:12:22 2020 +0200 4307 4308 nls: Allow all letters with a caron to be composed also with v. 4309 4310 It was strange that the accented letters Ž and ž can be composed with 4311 sequences that start with "v" ("v Z" and "v z"), but not Č and č and 4312 Š and š (and other letters with a caron). For these letters, compose 4313 sequences that start with a "c" had to be used, which was frustrating 4314 because it is hard to remember that "c" stands for "caron", AND the 4315 graphically more obvious "v" is right next to it. 4316 4317 (Unfortunately, the sequence "v l" is already taken for vertical line. 4318 Maybe the compose sequences for vertical line could be reduced to just 4319 "V L" and "L V"?) 4320 4321 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4322 4323commit 62de4ac9025e2cb3f62a890241c06ebc75acce62 4324Author: Benno Schulenberg <bensberg@telfort.nl> 4325Date: Sun Nov 1 20:23:55 2020 +0100 4326 4327 nls: vertically align the target column of aliases 4328 4329 Also improve the grammar of the initial comment. 4330 4331 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4332 4333commit f5b26a16ef959fc6860e9cf58b97a042600900b4 4334Author: Benno Schulenberg <bensberg@telfort.nl> 4335Date: Sun Nov 1 20:17:05 2020 +0100 4336 4337 nls: remove some twenty aliases that have been obsolete for fifteen years 4338 4339 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4340 4341commit 3e61f3b49660e081108f06bc514366f1784cb2e0 4342Author: Benno Schulenberg <bensberg@telfort.nl> 4343Date: Sun Nov 1 19:50:56 2020 +0100 4344 4345 nls: remove country-specific aliases for two constructed languages 4346 4347 These artificial languages are meant to be international and are 4348 thus not specific to any country. If one would want to support 4349 aliases like ia_FR or ia_CH, then one would also have to support 4350 ia_AU, ia_DE, ia_ES, et cetera, et cetera. That would be silly. 4351 4352 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4353 4354commit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c 4355Author: Benno Schulenberg <bensberg@telfort.nl> 4356Date: Sun Nov 1 17:28:24 2020 +0100 4357 4358 nls: remove four aliases where the name is identical to the definition 4359 4360 They were found with: 4361 4362 while read one two; do 4363 if [[ $one == $two: ]]; then echo $two; fi; 4364 done <nls/locale.alias.pre 4365 4366 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 4367 4368commit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7 4369Author: Carlos Garnacho <carlosg@gnome.org> 4370Date: Fri Jun 14 17:55:14 2019 +0200 4371 4372 Add XSetIOErrorExitHandler() function 4373 4374 This function complements XSetIOErrorHandler(), allowing to override 4375 the default behavior that trusts on I/O errors never coming back 4376 (i.e. exit()ing the process). 4377 4378 This is meant as a mechanism for Wayland compositors (that are too 4379 a X11 client + compositing manager) to unfasten seatbelts and jump 4380 through the car window. It might get lucky and land on a stack of 4381 pillows. 4382 4383 In consequence, some functions labeled as _X_NORETURN can as a 4384 matter of fact return. So those hints were removed. 4385 4386 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 4387 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 4388 4389commit 4cb758019e374fa7c022fe79d28444e13441717b 4390Author: Carlos Garnacho <carlosg@gnome.org> 4391Date: Fri Jun 14 17:54:47 2019 +0200 4392 4393 Prepare for _XIOError() possibly returning 4394 4395 Ensure current state is cut short on _XIOError(), possible reentrancy 4396 should be skipped through the XlibDisplayIOError flag checks. 4397 4398 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 4399 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 4400 4401commit a37986f7a7d4ae9b8292b132dbb0da2885ea919c 4402Author: Ross Burton <ross.burton@intel.com> 4403Date: Wed Jan 22 17:11:23 2020 +0000 4404 4405 cpprules.in: squash whitespace in generated files 4406 4407 CPP is used to generate files, but as cpp reads files from the build host the 4408 output has a number of blank lines at the beginning which varies depending on 4409 what GCC and friends is used. 4410 4411 Pathalogical example: 4412 4413 $ cpp -undef -traditional /dev/null 4414 # 1 "/dev/null" 4415 # 1 "<built-in>" 4416 # 1 "<command-line>" 4417 # 31 "<command-line>" 4418 # 1 "/usr/include/stdc-predef.h" 1 3 4 4419 4420 # 17 "/usr/include/stdc-predef.h" 3 4 4421 4422 [ 40 blank line ] 4423 4424 # 32 "<command-line>" 2 4425 # 1 "/dev/null" 4426 4427 So depending on the content of stdc-predef.h and what other headers CPP will 4428 load, the amount of whitespace in the generates files varies. This can result in 4429 differences in reproducible environments, and file conflicts in multilib 4430 environments. 4431 4432 As whitespace is irrelevant to these machine-readable files, extend the sed to 4433 just delete blank lines. 4434 4435commit 16192ce2a7e462e09f95aa45ce9eaa180e483c43 4436Author: Carmina16 <mistresssilvara@hotmail.com> 4437Date: Sun Jun 16 02:54:25 2019 +0000 4438 4439 Adding ia and ie locales 4440 4441commit caa71668af7fd3ebdd56353c8f0ab90824773969 4442Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4443Date: Mon Sep 28 16:16:07 2020 -0700 4444 4445 Use __builtin_popcountl if available to replace Ones() in GetImage.c 4446 4447 If the compiler knows of a better algorithm for counting the number of 4448 bits set in a word for the target CPU, let it use that, instead of the 4449 classic algorithm optimized for PDP-6. 4450 4451 Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b 4452 4453 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4454 4455commit 1a9269a95c353e3de9f4d33bab9f1363d84e79db 4456Author: Krzesimir Nowak <qdlacz@gmail.com> 4457Date: Mon Jun 1 12:58:30 2020 +0000 4458 4459 Fix leaking modifiers string. 4460 4461 Reported by valgrind: 4462 4463 ``` 4464 ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675 4465 ==118175== at 0x483A809: malloc (vg_replace_malloc.c:307) 4466 ==118175== by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0) 4467 ==118175== by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0) 4468 ==118175== by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324) 4469 ==118175== by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455) 4470 ==118175== by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532) 4471 ==118175== by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206) 4472 ==118175== by 0x402634: main (fade.cc:35) 4473 ``` 4474 4475commit d127217f26df1bf7566c1f372d8b5329a06754ea 4476Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4477Date: Sun Aug 16 17:03:24 2020 -0700 4478 4479 Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings 4480 4481 Gets rid of: 4482 src/xkb/XKBBind.c: In function ‘XLookupKeysym’: 4483 src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated 4484 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations] 4485 234 | return XKeycodeToKeysym(dpy, event->keycode, col); 4486 | ^~~~~~ 4487 src/xkb/XKBBind.c:96:1: note: declared here 4488 96 | XKeycodeToKeysym(Display *dpy, 4489 | ^~~~~~~~~~~~~~~~ 4490 4491 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4492 4493commit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5 4494Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4495Date: Sun Aug 16 16:50:43 2020 -0700 4496 4497 lcUTF8: Increase string buffer size from 20 to 32 bytes 4498 4499 While we don't expect large enough ints to need it, we don't 4500 enforce a maximum size, so gcc assumes the worst and warns: 4501 4502 ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’: 4503 ../../../src/xlibi18n/lcUTF8.c:1736:34: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=] 4504 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 4505 | ^~~~~~~~~~~~~ 4506 ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 4507 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 4508 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4509 ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 4510 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 4511 | ^ 4512 ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 4513 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 4514 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4515 ../../../src/xlibi18n/lcUTF8.c:1754:41: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=] 4516 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 4517 | ^~~~~~~~~~~~~ 4518 ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 4519 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 4520 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4521 ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 4522 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 4523 | ^ 4524 ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 4525 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 4526 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4527 4528 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4529 4530commit 54925250ad9c825bea671dcade5c913bad88abee 4531Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4532Date: Sun Aug 16 16:33:59 2020 -0700 4533 4534 i18n: use memcpy instead of strncpy on unterminated char arrays 4535 4536 Avoids gcc warnings that we're using strncpy wrong to copy a known-length 4537 set of characters without a terminating '\0' to a buffer whose length we 4538 are checking separately. (Should also be imperceptibly faster since we 4539 no longer check if each byte is '\0' when we already know it won't be.) 4540 4541 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4542 4543commit 8754868dbbbc5fa096282df0504aa7880488eeb9 4544Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4545Date: Sun Aug 16 16:02:01 2020 -0700 4546 4547 Mark FreeBlueTblElements label unused in LRGB.c 4548 4549 Quiets gcc 10.2 warning of: 4550 src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’: 4551 src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined 4552 but not used 4553 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label] 4554 798 | FreeBlueTblElements: 4555 | ^~~~~~~~~~~~~~~~~~~ 4556 4557 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4558 4559commit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e 4560Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4561Date: Sun Aug 16 14:54:47 2020 -0700 4562 4563 Raise minimum required xproto version to 7.0.25 (released 2013-11-23) 4564 4565 Allows us to depend on _X_COLD directly instead of having to check for it. 4566 4567 (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required 4568 already but not checked for.) 4569 4570 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4571 4572commit deafb99fd8faf8b044eaee13d072440ce4db76af 4573Author: Maya Rashish <maya@NetBSD.org> 4574Date: Sun Aug 23 21:19:33 2020 +0300 4575 4576 Avoid the use of "register" keyword in public headers. 4577 4578 This causes issues when compiling code for C++17. 4579 4580commit 505420662577749e36640db48f6b6b9ae0236e09 4581Author: Matthieu Herrb <matthieu@herrb.eu> 4582Date: Mon Aug 24 15:42:25 2020 +0200 4583 4584 libX11 1.6.12 4585 4586 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4587 4588commit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d 4589Author: Matthieu Herrb <matthieu@herrb.eu> 4590Date: Thu Aug 13 18:02:58 2020 +0200 4591 4592 Fix an integer overflow in init_om() 4593 4594 CVE-2020-14363 4595 4596 This can lead to a double free later, as reported by Jayden Rivers. 4597 4598 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4599 4600commit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b 4601Author: Niclas Zeising <zeising@daemonic.se> 4602Date: Tue Aug 11 13:44:38 2020 +0200 4603 4604 Fix input clients connecting to server 4605 4606 Fix a bug where some input clients can't connect to the input server. 4607 This fixes #117. 4608 4609 FreeBSD bugzilla reference: 4610 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549 4611 4612 Signed-off-by: Niclas Zeising <zeising@daemonic.se> 4613 4614commit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c 4615Author: Maya Rashish <maya@NetBSD.org> 4616Date: Sat Aug 15 00:48:56 2020 +0300 4617 4618 Avoid the use of "register" keyword in XkbTranslateKeySym. 4619 4620 This causes issues when compiling code for C++17. 4621 While here, make function prototype match the header with regards 4622 to removal of another register keyword. 4623 4624commit 780d222343098b4bfe3ec529b4a0dc2aadea19bf 4625Author: Christopher Chavez <chrischavez@gmx.us> 4626Date: Mon Aug 10 17:08:39 2020 +0000 4627 4628 Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage 4629 4630commit 29a8251a456bb7dc10146b4713f499a624d6dacd 4631Author: Felix Yan <felixonmars@archlinux.org> 4632Date: Thu Aug 6 16:03:38 2020 +0000 4633 4634 Correct a typo in GetStCmap.c 4635 4636commit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70 4637Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4638Date: Thu Aug 6 08:07:57 2020 -0700 4639 4640 libX11 1.6.11 4641 4642 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4643 4644commit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b 4645Author: Yichao Yu <yyc1992@gmail.com> 4646Date: Sun Aug 2 13:43:58 2020 -0400 4647 4648 Fix size calculation in `_XimAttributeToValue`. 4649 4650 The check here guards the read below. 4651 For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers` 4652 these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`. 4653 (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this 4654 function and doesn't need to be checked.) 4655 4656 The old code here used the native datatype size instead of the wire protocol size causing 4657 the check to always fail. 4658 4659 Also fix the size calculation for the header (size). It is 2 x CARD16 for both types 4660 despite the unused `CARD16` for `XimType_XIMStyles`. 4661 4662 [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles 4663 4664 This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10. 4665 4666 Fix #116 4667 4668commit 9949364ea761ab7efa2a9930ec7718f966a740c0 4669Author: Matthieu Herrb <matthieu@herrb.eu> 4670Date: Thu Jul 30 21:36:22 2020 +0200 4671 4672 libX11 1.6.10 4673 4674 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4675 4676commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d 4677Author: Matthieu Herrb <matthieu@herrb.eu> 4678Date: Fri Jul 24 21:09:10 2020 +0200 4679 4680 Change the data_len parameter of _XimAttributeToValue() to CARD16 4681 4682 It's coming from a length in the protocol (unsigned) and passed 4683 to functions that expect unsigned int parameters (_XCopyToArg() 4684 and memcpy()). 4685 4686 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4687 Reviewed-by: Todd Carson <toc@daybefore.net> 4688 4689commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 4690Author: Todd Carson <tc@daybefore.net> 4691Date: Fri Jul 24 20:59:32 2020 +0200 4692 4693 Zero out buffers in functions 4694 4695 It looks like uninitialized stack or heap memory can leak 4696 out via padding bytes. 4697 4698 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4699 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4700 4701commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60 4702Author: Todd Carson <tc@daybefore.net> 4703Date: Fri Jul 24 20:22:44 2020 +0200 4704 4705 Fix more unchecked lengths 4706 4707 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4708 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4709 4710commit 388b303c62aa35a245f1704211a023440ad2c488 4711Author: Todd Carson <tc@daybefore.net> 4712Date: Fri Jul 24 19:36:51 2020 +0200 4713 4714 fix integer overflows in _XimAttributeToValue() 4715 4716 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4717 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4718 4719commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e 4720Author: Todd Carson <tc@daybefore.net> 4721Date: Fri Jul 24 19:33:30 2020 +0200 4722 4723 Fix signed length values in _XimGetAttributeID() 4724 4725 The lengths are unsigned according to the specification. Passing 4726 negative values can lead to data corruption. 4727 4728 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4729 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4730 4731commit 2b7598221d87049d03e9a95fcb541c37c8728184 4732Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4733Date: Wed Jul 22 15:19:58 2020 -0700 4734 4735 Fix spelling/wording issues 4736 4737 Found by using: 4738 codespell --builtin clear,rare,usage,informal,code,names 4739 4740 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4741 4742commit f9e3378ebcfc79ff00591b8617a68e97580a741e 4743Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 4744Date: Sun Jul 19 22:19:24 2020 +0200 4745 4746 xlibi18n: Fix converting horizline keysyms to UCS 4747 4748 U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is 4749 unified with scan line 5. 4750 4751 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 4752 4753commit 4385a84c4a79c1b60bf12839899a1544198de975 4754Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 4755Date: Thu Jun 4 02:19:13 2020 +0200 4756 4757 Braille: Fix default lookup 4758 4759 cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that 4760 translates Braille keysym patterns to Braille Unicode patterns since it 4761 rightfully clears brl_committing, but then we do not have it any more to 4762 fill brl_committed. 4763 4764 This change saves the committed pattern so we can return it in the 4765 default lookup. 4766 4767 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 4768 4769commit fb65b67169105c82c243f265e0f993cf72efdacd 4770Author: Marko Myllynen <myllynen@redhat.com> 4771Date: Fri Feb 28 13:59:36 2020 +0200 4772 4773 Update Finnish compose sequences for SFS 5966:2019 standard 4774 4775 U0219, U0218, U021B, U021A are now part of the standard. 4776 4777 Fixes #70 which was printed incorrectly in the earlier standard version. 4778 4779commit 07724ce046348a21cc82a874853b14b9a285df75 4780Author: Tristan Miller <psychonaut@nothingisreal.com> 4781Date: Wed Sep 25 13:34:01 2019 +0200 4782 4783 Add acute accent compose sequences for Russian vowels. 4784 4785 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104 4786 4787 Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com> 4788 4789commit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507 4790Author: Thomas E. Dickey <dickey@invisible-island.net> 4791Date: Sat Apr 25 14:40:54 2020 -0400 4792 4793 document an ancient performance problem (see Debian #954845). 4794 4795 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4796 4797commit 791c93816ce0520d54925b0b3ccbc29823370041 4798Author: Thomas E. Dickey <dickey@invisible-island.net> 4799Date: Sat Apr 25 14:22:11 2020 -0400 4800 4801 update/correct function prototypes in manpages to match headers 4802 4803 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4804 4805commit 844271305a28e87031562dfeb43defbea02960a2 4806Author: Thomas E. Dickey <dickey@invisible-island.net> 4807Date: Tue Apr 21 20:53:35 2020 -0400 4808 4809 reduce gcc-normal warnings using casts (no object change) 4810 4811 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4812 4813commit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca 4814Author: Thomas E. Dickey <dickey@invisible-island.net> 4815Date: Tue Apr 21 18:13:22 2020 -0400 4816 4817 reduce gcc-normal warnings using casts (no object change) 4818 4819 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4820 4821commit 68c72a7341b114277ab232f2499ee3bd035af8a0 4822Author: Adam Jackson <ajax@redhat.com> 4823Date: Wed Dec 11 11:53:11 2019 -0500 4824 4825 Fix XTS regression in XCopyColormapAndFree 4826 4827 XCopyColormapAndFree/5 threw an assertion: 4828 4829 520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A) 4830 520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap, 4831 520|4 5 00014017 1 4|then a BadColor error occurs. 4832 520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap. 4833 520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument. 4834 520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs. 4835 520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received 4836 220|4 5 2 15:05:53|UNRESOLVED 4837 410|4 5 1 15:05:53|IC End 4838 510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) 4839 4840 More specifically: 4841 4842 lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed. 4843 4844 This bug was introduced (by following my advice, d'oh) in: 4845 4846 commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 4847 Author: Tapani Pälli <tapani.palli@intel.com> 4848 Date: Mon May 13 08:29:49 2019 +0300 4849 4850 Protect colormap add/removal with display lock 4851 4852 In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the 4853 display lock. The problem is said routine has side effects, including 4854 trying to implicitly create a colormap in some cases. Since we don't run 4855 the XID handler until SyncHandle() we would see inconsistent internal 4856 xlib state, triggering the above assert. 4857 4858 Fix this by dropping and re-taking the display lock before calling into 4859 XCMS. 4860 4861 Reviewed-by: Tapani Pälli <tapani.palli@intel.com> 4862 4863commit 7f46a38139f66fda734f3a6c445b84ea89c8f310 4864Author: Alex Henrie <alexhenrie24@gmail.com> 4865Date: Wed Jan 1 14:54:06 2020 -0700 4866 4867 Handle small final sigma in XConvertCase 4868 4869 lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2) 4870 uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3) 4871 4872 This mapping was correct in UCSConvertCase, but the "legacy" mapping 4873 must also be correct for Caps Lock to work with the final sigma key. 4874 4875 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5 4876 4877 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> 4878 4879commit a48787d3d155c8a09cead345f5055da30c1db537 4880Author: Peter Hutterer <peter.hutterer@who-t.net> 4881Date: Wed Dec 11 14:12:27 2019 +1000 4882 4883 Handle ssharp in XConvertCase() 4884 4885 lowercase: LATIN SMALL LETTER SHARP S (U+00DF) 4886 uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E) 4887 4888 The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode 4889 but was added to the relevant keyboard layouts in xkeyboard-config-2.25 4890 (d1411e5e95c) 4891 https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144 4892 4893 Alas, the CapsLock behavior was broken on the finnish layout (maybe others). 4894 This was due to xkbcomp using XConvertCase() to determine whether a key 4895 requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC. 4896 4897 Let's make this function return the right lower/upper symbols for the sharp s 4898 and hope that the world won't get any worse because of it. 4899 4900 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110 4901 4902 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4903 4904commit b8766a438461e20b5c6f7a6111b703d4cb71501f 4905Author: Raul Fernandes <rgfernandes@gmail.com> 4906Date: Wed Oct 9 18:39:26 2019 +0000 4907 4908 Use memcmp and memcpy 4909 4910commit db7cca17ad7807e92a928da9d4c68a00f4836da2 4911Author: Adam Jackson <ajax@redhat.com> 4912Date: Wed Oct 9 13:41:29 2019 -0400 4913 4914 libX11 1.6.9 4915 4916 Signed-off-by: Adam Jackson <ajax@redhat.com> 4917 4918commit f5ba2c632a4c84279bdd48c687271292f5dc4f87 4919Author: Dmitry Osipenko <digetx@gmail.com> 4920Date: Sat May 18 19:10:32 2019 +0300 4921 4922 Fix lockup in _XReply() caused by recursive synchronization 4923 4924 This patch is based on a suggestion made by Uli Schlachter in a comment 4925 to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93. 4926 4927 Explanation of the bug (given by Uli Schlachter as well): 4928 4929 An error was received and handled. Since there was an error callback set, 4930 Xlib unlocks the display, runs the error callback, and then locks the display 4931 again. This goes through _XLockDisplay and then calls _XSeqSyncFunction. 4932 On this "lock the thing"-path, Xlib notices that sequence numbers are close to 4933 wrap-around and tries to send a GetInputFocus request. However, the earlier 4934 calls already registered themselves as "we are handling replies/errors, do 4935 not interfere!" and so the code here waits for "that other thread" to be done 4936 before it continues. Only that there is no other thread, but it is this thread 4937 itself and thus a deadlock follows. 4938 4939 The bug is relatively easy to reproduce on any desktop environment by 4940 using actively a touchscreen input that supports multitouch, i.e. practically 4941 all mobile devices are affected. 4942 4943 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93 4944 Suggested-by: Uli Schlachter <psychon@znc.in> 4945 Tested-by: Dmitry Osipenko <digetx@gmail.com> 4946 Reported-by: Dmitry Osipenko <digetx@gmail.com> 4947 Signed-off-by: Dmitry Osipenko <digetx@gmail.com> 4948 4949commit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905 4950Author: Adam Jackson <ajax@redhat.com> 4951Date: Fri Sep 13 16:44:32 2019 -0400 4952 4953 xkb: Provide <X11/extensions/XKBgeom.h> ourselves 4954 4955 This header refers to libX11 types, it doesn't belong in xorgproto and 4956 has been moved to legacy in 2019.2. Supply it ourselves. 4957 4958commit edc7680ed5a03cedb5facf14693823455e12c29c 4959Author: Ross Burton <ross.burton@intel.com> 4960Date: Tue Aug 6 14:53:43 2019 +0100 4961 4962 src/util/Makefile: explicitly reset LINK to not use libtool 4963 4964 Simply looking at libtool redefines LINK globally to use libtool, which when 4965 you're trying to cross-compile to Windows can cause complications. 4966 4967 As in src/util/ we're simply building a small binary for the build host, reset 4968 LINK to the automake default so that the traditional compile/link steps occur 4969 without libtool. 4970 4971 Also remove -all-static from LDFLAGS as that is a libtool-specific argument 4972 intended to solve this problem. 4973 4974 Closes: #100 4975 Signed-off-by: Ross Burton <ross.burton@intel.com> 4976 4977commit f111bf3ac091a3a6d1f094172621d9d033c3833c 4978Author: Thomas E. Dickey <dickey@invisible-island.net> 4979Date: Tue Jul 30 16:53:27 2019 -0400 4980 4981 improve some formatting 4982 4983 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4984 4985commit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9 4986Author: Thomas E. Dickey <dickey@invisible-island.net> 4987Date: Tue Jul 30 15:49:09 2019 -0400 4988 4989 fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/" 4990 4991 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4992 4993commit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98 4994Author: Thomas E. Dickey <dickey@invisible-island.net> 4995Date: Tue Jul 30 05:07:40 2019 -0400 4996 4997 split lines at sentence endings 4998 4999 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 5000 5001commit 6f2cbcea5d6dcd1df7ef309481cad1663284c061 5002Author: Thomas E. Dickey <dickey@invisible-island.net> 5003Date: Tue Jul 30 04:52:25 2019 -0400 5004 5005 trim trailing whitespace from manpages 5006 5007 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 5008 5009commit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5 5010Author: Thomas E. Dickey <dickey@invisible-island.net> 5011Date: Tue Jul 30 04:36:24 2019 -0400 5012 5013 another fake-quote fix 5014 5015 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 5016 5017commit c0f0651f2b4dfa9fef86d1374689220125631993 5018Author: Thomas E. Dickey <dickey@invisible-island.net> 5019Date: Tue Jul 30 04:34:54 2019 -0400 5020 5021 the last commit overlooked some fake-quote pairs 5022 5023 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 5024 5025commit ef31143c9decda54b3ab2937d3300fcf5b493fd6 5026Author: Walter Harms <wharms@bfs.de> 5027Date: Mon Jul 29 18:50:19 2019 +0200 5028 5029 fix ``fake quotes'' in text 5030 5031 to remove the fake quotes replace them with propper 5032 predefined macros \*(lq and \*(rq. this will allow 5033 nroff to choose the propper characters when using ps etc. 5034 5035 Signed-off-by: Walter Harms <wharms@bfs.de> 5036 5037commit 705027ea9b17d6552388d2067736ab4b0bf9dfb5 5038Author: Walter Harms <wharms@bfs.de> 5039Date: Mon Jul 29 18:27:12 2019 +0200 5040 5041 get rid of ``fake quotes'' 5042 5043 these fake quotes are inside a comment and can be replaced with 5044 some double quotes 5045 5046 Signed-off-by: Walter Harms <wharms@bfs.de> 5047 5048commit fe46eb287106ad05538e896783a5cf877a4138df 5049Author: Walter Harms <wharms@bfs.de> 5050Date: Mon Jul 29 17:57:02 2019 +0200 5051 5052 remove all private macro defines 5053 5054 after converting everything to st. man page macros there is 5055 no need to maintain X11 private nroff macros, so remove them. 5056 5057 Signed-off-by: Walter Harms <wharms@bfs.de> 5058 5059commit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764 5060Author: Walter Harms <wharms@bfs.de> 5061Date: Mon Jul 29 17:47:35 2019 +0200 5062 5063 Replace home-grown .Ds .De macro with man page .EX/.EE macro 5064 5065 Same pages use the man page .EX/.EE macro. Replace all occurences 5066 of .De/.Ds with the std. macros to make the code better to maintain. 5067 5068 Signed-off-by: Walter Harms <wharms@bfs.de> 5069 5070commit 951e772bc8d89bc62c4bbac14adc5d4f5027419f 5071Author: Walter Harms <wharms@bfs.de> 5072Date: Wed Jul 3 18:23:51 2019 +0200 5073 5074 fix TBL format 5075 5076 Signed-off-by: Walter Harms <wharms@bfs.de> 5077 5078commit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e 5079Author: Walter Harms <wharms@bfs.de> 5080Date: Wed Jul 3 18:18:09 2019 +0200 5081 5082 replace home grown .ZN with std, .B and .BR 5083 5084 Replace the home grown macro .ZN with std. macros 5085 from man macro paket. So we can get rid of the 5086 definition an get a clean header. 5087 5088 Signed-off-by: Walter Harms <wharms@bfs.de> 5089 5090commit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458 5091Author: Walter Harms <wharms@bfs.de> 5092Date: Sat Jun 22 18:33:48 2019 +0200 5093 5094 remove in-text macros 5095 5096 remove in-text macros an fix a few typos on the way. 5097 hopefuly that will make maintenance more easy. 5098 5099 Signed-off-by: Walter Harms <wharms@bfs.de> 5100 5101commit cb0e894fe9927b07bd9d97c067fd0d007accb105 5102Author: Walter Harms <wharms@bfs.de> 5103Date: Fri Jun 21 18:01:16 2019 +0200 5104 5105 note that we can handle kbd==NULL 5106 5107 Signed-off-by: Walter Harms <wharms@bfs.de> 5108 5109commit 0327c427d62f671eced067c6d9b69f4e216a8cac 5110Author: Adam Jackson <ajax@redhat.com> 5111Date: Mon Jun 17 13:36:08 2019 -0400 5112 5113 makekeys: Detach ourselves from X headers entirely 5114 5115 Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer 5116 building makekeys with enough -I/foo/bar to find the X11 headers, so if 5117 they're not in a system include path, things fail. Since this utility is 5118 only needed at build time, there's no real reason to demand the X 5119 headers be installed for both the build and target machines if cross- 5120 compiling, we can just assume a vaguely ANSI environment instead. 5121 5122 Tested-by: Niclas Zeising <zeising@daemonic.se> 5123 Reviewed-by: Keith Packard <keithp@keithp.com> 5124 Reviewed-by: Matt Turner <mattst88@gmail.com> 5125 5126commit 57f0d421a1320090d3a4948181fe228d86cc8977 5127Author: Matt Turner <mattst88@gmail.com> 5128Date: Mon Jun 17 10:45:45 2019 -0400 5129 5130 libX11 1.6.8 5131 5132 Signed-off-by: Matt Turner <mattst88@gmail.com> 5133 5134commit 5464b302bc0c4a055d3eac06c6ab15e209ff7668 5135Author: Matt Turner <mattst88@gmail.com> 5136Date: Sun Jun 9 14:00:15 2019 -0700 5137 5138 Use AC_SYS_LARGEFILE 5139 5140 ... and include config.h in makekeys.c to get the definition of 5141 _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file 5142 system with 64-bit inode numbers. 5143 5144 Bug: https://bugs.gentoo.org/550502 5145 Bug: https://bugs.gentoo.org/616140 5146 Signed-off-by: Matt Turner <mattst88@gmail.com> 5147 5148commit 33b9148a833ab2ea46e44871da3c031bf1b78f77 5149Author: Ran Benita <ran234@gmail.com> 5150Date: Thu Feb 13 20:55:08 2014 +0200 5151 5152 Compose.man: fix escaped hexadecimal char description 5153 5154 The man page says: 5155 Strings may be direct text encoded in the locale for which the 5156 compose file is to be used, or an escaped octal or hexadecimal 5157 character code. Octal codes are specified as "\123" and 5158 hexadecimal codes as "\0x123a". 5159 5160 But the grammar in the parser and the implementation say: 5161 ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) 5162 HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] 5163 HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) 5164 5165 So "\0x123a" -> "\x3a". 5166 5167 Signed-off-by: Ran Benita <ran234@gmail.com> 5168 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5169 5170commit d9b2cc35edf01e4f751a9ccb5ac185745184cec0 5171Author: ojab <ojab@ojab.ru> 5172Date: Mon Apr 24 20:12:17 2017 +0000 5173 5174 Compose sequences for rouble sign 5175 5176 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 5177 5178 Signed-off-by: Slava Kardakov <ojab@ojab.ru> 5179 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5180 5181commit 3f211616f6414bd9958566c0ca137e87a2b6df95 5182Author: Pavel Labath <pavelo@centrum.sk> 5183Date: Fri Nov 30 20:45:04 2012 +0100 5184 5185 Fix a leak in XCreateFontSet 5186 5187 a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks, 5188 as evidenced by the following valgrind output: 5189 ==983== HEAP SUMMARY: 5190 ==983== in use at exit: 39,409 bytes in 341 blocks 5191 ==983== total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated 5192 ==983== 5193 ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record 5194 40 of 46 5195 ==983== at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 5196 ==983== by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0) 5197 ==983== by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0) 5198 ==983== by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0) 5199 ==983== by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0) 5200 ==983== by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0) 5201 ==983== by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0) 5202 ==983== by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0) 5203 ==983== by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0) 5204 ==983== by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746) 5205 ==983== by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602) 5206 ==983== by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92) 5207 ==983== 5208 ==983== LEAK SUMMARY: 5209 ==983== definitely lost: 136 bytes in 1 blocks 5210 ==983== indirectly lost: 1,552 bytes in 34 blocks 5211 ==983== possibly lost: 0 bytes in 0 blocks 5212 ==983== still reachable: 37,721 bytes in 306 blocks 5213 ==983== suppressed: 0 bytes in 0 blocks 5214 5215 This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still 5216 reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is 5217 destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using 5218 code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the 5219 correct code path, and I'm pretty sure this is correct (the object was constructed using 5220 _XlcCreateLC, it make sense to destroy it using its conterpart). 5221 5222 So far I haven't observed any strange behaviour on my system caused by this change (although, I'm 5223 not sure, how many programs actually use this function). 5224 5225 Signed-off-by: Pavel Labath <pavelo@centrum.sk> 5226 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5227 5228commit 4645e219133458781e3fb48eaea6a74cccb1b9aa 5229Author: Jon Turney <jon.turney@dronecode.org.uk> 5230Date: Tue Apr 30 14:39:06 2019 +0100 5231 5232 Avoid using libtool wrapper for makekeys 5233 5234 For Windows targets, libtool uses a wrapper executable, not a wrapper 5235 script (see [1]), which it compiles with the host compiler. This 5236 doesn't work when cross-compiling. 5237 5238 Since we don't actually need to link with anything, use the libtool flag 5239 -all-static to tell it to stay completely out of this. 5240 5241 [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html 5242 5243commit 6886d9ba06826785a8ccb312c04ea82b91bb6a25 5244Author: Jon Turney <jon.turney@dronecode.org.uk> 5245Date: Wed Apr 24 12:50:41 2019 +0100 5246 5247 Use EXEEXT_FOR_BUILD for makekeys 5248 5249 Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from 5250 EXEEXT_FOR_BUILD, such as when building for Windows from unix. 5251 5252 (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when 5253 cross-compiling. There could be some elaborate autodetection for 5254 EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from 5255 Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...) 5256 5257commit a121b7b0c210efe10bf93453b29050282324c906 5258Author: Jon Turney <jon.turney@dronecode.org.uk> 5259Date: Tue Apr 30 14:30:41 2019 +0100 5260 5261 Remove makekeys dependency on X headers 5262 5263 This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 5264 by Pierre Ossman, reworked for master. 5265 5266 Avoid using LIBS (which are for host, but we don't need) and rewrite 5267 makekeys slightly to avoid needing to include any X headers, which 5268 avoids potentially having -I with host paths in CFLAGS, which can cause 5269 standard headers e.g. stdio.h for the host to also be used, which can 5270 break things... 5271 5272commit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab 5273Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 5274Date: Fri Jun 7 23:35:33 2019 +0200 5275 5276 Braille: Fix typing quickly 5277 5278 On finishing releasing Braille keys, we should clear the just-commited 5279 pattern, to reset the state to initial state, and avoid having to wait for 5280 0.3s before typing the next pattern. 5281 5282 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 5283 Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr> 5284 5285commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 5286Author: Tapani Pälli <tapani.palli@intel.com> 5287Date: Mon May 13 08:29:49 2019 +0300 5288 5289 Protect colormap add/removal with display lock 5290 5291 This fixes a bug where concurrent threads call XCreateColormap and 5292 XFreeColormap corrupting a linked list where colormap structures 5293 are stored. 5294 5295 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94 5296 5297 v2: handle XCopyColormapAndFree also (Adam Jackson) 5298 5299 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> 5300 5301commit fea80d03c381a4de379863c0d41f6d4c00f15e1e 5302Author: Jon Turney <jon.turney@dronecode.org.uk> 5303Date: Wed Mar 13 13:12:20 2019 +0000 5304 5305 Add autoconf checks for headers we include for FIONREAD 5306 5307 Add autoconf checks for the extra headers we include to define FIONREAD. 5308 This needs sys/socket.h on Cygwin, and none of the alternatives on 5309 Windows. 5310 5311commit 87c77a1e6d7034536e9d25ce24a667ebf53486a7 5312Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 5313Date: Mon Mar 11 14:19:52 2019 +0000 5314 5315 locale.alias.pre - add the de_IT locale 5316 5317 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5318 5319commit 568f77f414072506bbe48646637c872987c97e63 5320Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 5321Date: Mon Mar 11 14:17:10 2019 +0000 5322 5323 locale.dir.pre - add the de_IT locale 5324 5325 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5326 5327commit 38c0c92feaef7dc4a72920b1dd79872e6578086c 5328Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 5329Date: Mon Mar 11 14:12:07 2019 +0000 5330 5331 compose.dir.pre - add de_IT locale 5332 5333 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5334 5335commit 49f835611ba6ab82e68b7b851507931c142db7a5 5336Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 5337Date: Tue Jan 29 15:34:34 2019 +0000 5338 5339 Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH) 5340 5341 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5342 5343commit ed669234d0cd5933618aa5fd2da697b59845b9be 5344Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 5345Date: Tue Jan 29 15:28:18 2019 +0000 5346 5347 locale.dir.pre - fix the de_LI latin15 locale 5348 5349 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5350 5351commit 82b5c1454a49333b4d94984d40db79cff386d37f 5352Author: Josh Triplett <josh@joshtriplett.org> 5353Date: Sun Feb 3 08:31:41 2019 +0100 5354 5355 compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences 5356 5357 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 5358 5359commit 603c3ab25a692194805fd4b0c62afac8093897fe 5360Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5361Date: Sat Mar 9 20:58:07 2019 -0800 5362 5363 Add missing close paren to XrmGetStringDatabase synopsis in man page 5364 5365 Fixes: commit 0642e99ac05afb0c 5366 5367 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5368 5369commit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85 5370Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5371Date: Sat Feb 23 11:12:27 2019 -0800 5372 5373 Include reallocarray.h in tarballs so "make distcheck" passes 5374 5375 Fixes: commit bcf7b5aa06c23aee 5376 5377 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5378 5379commit a4a7df06351ce9565d298a84547ff71f2d220fbf 5380Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5381Date: Sat Feb 23 11:04:41 2019 -0800 5382 5383 XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris 5384 5385 Fixes: commit 5538b3e4ae6dee 5386 5387 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5388 5389commit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044 5390Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5391Date: Sat Feb 23 10:48:26 2019 -0800 5392 5393 specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys() 5394 5395 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86 5396 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550 5397 5398 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5399 5400commit 74f2f26811ae82b15dede31504b0eb541f7a3293 5401Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5402Date: Sat Feb 23 10:46:05 2019 -0800 5403 5404 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys() 5405 5406 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85 5407 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549 5408 5409 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5410 5411commit 66b039a41690f076e962ac6bd46cca017360a7d1 5412Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5413Date: Sat Feb 23 10:44:15 2019 -0800 5414 5415 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows() 5416 5417 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84 5418 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548 5419 5420 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5421 5422commit cdea0e840315171f8390adc63a2397ddf111eea4 5423Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5424Date: Sat Feb 23 10:38:08 2019 -0800 5425 5426 specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry() 5427 5428 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82 5429 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520 5430 5431 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5432 5433commit c72d17ada98723cd9e03ddf06680a0e54b2c3089 5434Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5435Date: Sat Feb 23 10:30:32 2019 -0800 5436 5437 XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys 5438 5439 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5440 5441commit 05002b8aef9544c8545e0823a02cf14f335d2b68 5442Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5443Date: Sun Feb 17 15:13:25 2019 -0800 5444 5445 Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask 5446 5447 Reported-by: Daniel Hahler <git@thequod.de> 5448 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5449 5450commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c 5451Author: Adam Jackson <ajax@redhat.com> 5452Date: Fri Mar 24 11:07:36 2017 -0400 5453 5454 _XDefaultIOError: Do better at detecting explicit shutdown 5455 5456 Currently, when the X server crashes or a client is disconnected with 5457 XKillClient, you get a somewhat confusing error message from libX11 5458 along the lines of: 5459 5460 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" 5461 after 98 requests (40 known processed) with 0 events remaining. 5462 5463 What's happening here is the previous recvmsg has thrown EAGAIN, since 5464 the socket is non-blocking. In this case, check whether the socket has 5465 any more data to read, and if not treat it like EPIPE. 5466 5467 Signed-off-by: Adam Jackson <ajax@redhat.com> 5468 5469commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 5470Author: Adam Jackson <ajax@redhat.com> 5471Date: Fri Mar 24 11:07:35 2017 -0400 5472 5473 _XDefaultIOError: Reformat to be less ugly 5474 5475 Signed-off-by: Adam Jackson <ajax@redhat.com> 5476 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5477 5478commit 003e30a66a249f5c70b30d1c187385124cd4cdad 5479Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5480Date: Tue Jan 1 14:34:04 2019 -0800 5481 5482 Avoid use-after-free in _XimProtoSetIMValues() 5483 5484 Fixes gitlab issue #49 5485 5486 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5487 5488commit 30656fd66ad47aeaca0bfc237a818f189554f07e 5489Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5490Date: Tue Jan 1 12:21:04 2019 -0800 5491 5492 Fix implicit conversion warnings in _XlcCreateDefaultCharSet 5493 5494 lcCharSet.c:187:50: warning: implicit conversion changes signedness: 5495 'int' to 'unsigned long' [-Wsign-conversion] 5496 tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1); 5497 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 5498 ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc' 5499 ~~~~~~ ^~~~ 5500 lcCharSet.c:192:31: warning: implicit conversion changes signedness: 5501 'int' to 'unsigned long' [-Wsign-conversion] 5502 memcpy(tmp, name, name_len+1); 5503 ~~~~~~ ~~~~~~~~^~ 5504 lcCharSet.c:216:45: warning: implicit conversion changes signedness: 5505 'int' to 'unsigned long' [-Wsign-conversion] 5506 memcpy(tmp, ct_sequence, ct_sequence_len+1); 5507 ~~~~~~ ~~~~~~~~~~~~~~~^~ 5508 lcCharSet.c:183:16: warning: implicit conversion loses integer precision: 5509 'unsigned long' to 'int' [-Wshorten-64-to-32] 5510 name_len = strlen(name); 5511 ~ ^~~~~~~~~~~~ 5512 lcCharSet.c:184:23: warning: implicit conversion loses integer precision: 5513 'unsigned long' to 'int' [-Wshorten-64-to-32] 5514 ct_sequence_len = strlen(ct_sequence); 5515 ~ ^~~~~~~~~~~~~~~~~~~ 5516 lcCharSet.c:198:37: warning: implicit conversion loses integer precision: 5517 'long' to 'unsigned int' [-Wshorten-64-to-32] 5518 unsigned int length = colon - charset->name; 5519 ~~~~~~ ~~~~~~^~~~~~~~~~~~~~~ 5520 5521 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5522 5523commit 2e6300905784fa8adfcea019262ea58b3e1ed4ad 5524Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5525Date: Tue Jan 1 11:41:47 2019 -0800 5526 5527 Remove no-longer-used name variable in _XGetAtomName 5528 5529 Fixes gcc warning: 5530 GetAtomNm.c: In function ‘_XGetAtomName’: 5531 GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable] 5532 char *name; 5533 ^~~~ 5534 5535 Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 5536 5537 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5538 5539commit f077871c2a12cf098b0c50572e112c6dc5e04de0 5540Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5541Date: Sat Dec 29 11:39:29 2018 -0800 5542 5543 Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 5544 5545 In-tree builds found reallocarray.h in $(top_builddir)/src but the 5546 out-of-tree build didn't find it at all. 5547 5548 Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline 5549 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5550 5551commit ba7f7cc783672784bebc6e69349b55c6c75c1973 5552Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5553Date: Sun Sep 27 18:35:27 2015 -0700 5554 5555 Convert src/xlibi18n to use reallocarray() 5556 5557 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5558 5559commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 5560Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5561Date: Sat Sep 26 11:12:47 2015 -0700 5562 5563 Replace Xmalloc+strcpy pairs with strdup calls 5564 5565 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5566 5567commit 258a8ced681dc1bc50396be7439fce23f9807e2a 5568Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5569Date: Sun Jul 19 11:58:50 2015 -0700 5570 5571 Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray 5572 5573 Makes resizing & clearing more consistent and gets rid of some weird 5574 quirks like always subtracting 1 from the size passed to _XkbClearElems 5575 so it could always add 1 to the size passed in. 5576 5577 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5578 5579commit f94273e2f4284040306b888e5ca0381ee00591af 5580Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5581Date: Sun Jul 19 09:47:29 2015 -0700 5582 5583 Add some missing allocation failure checks in src/xcms 5584 5585 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5586 5587commit 76850471b4a5a6d30f5660234e87ec2772e7b426 5588Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5589Date: Sun Jul 19 09:33:21 2015 -0700 5590 5591 Convert src/xcms to use reallocarray() 5592 5593 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5594 5595commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 5596Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5597Date: Sun Jul 19 09:24:02 2015 -0700 5598 5599 Convert src/XKB to use reallocarray() 5600 5601 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5602 5603commit 6d1dc1f6169ebf0ba71785d461bd98129c65c862 5604Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5605Date: Thu Jun 4 23:30:43 2015 -0700 5606 5607 Convert main src directory to use reallocarray() 5608 5609commit bcf7b5aa06c23aee00af7999b58cb96a8571ac42 5610Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5611Date: Thu Jun 4 23:18:23 2015 -0700 5612 5613 Import reallocarray() from OpenBSD 5614 5615 Wrapper for realloc() that checks for overflow when multiplying 5616 arguments together, so we don't have to add overflow checks to 5617 every single call. For documentation on usage, see: 5618 http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 5619 5620 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5621 5622commit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 5623Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5624Date: Mon Nov 19 21:26:23 2018 -0800 5625 5626 Update README for gitlab migration 5627 5628 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5629 5630commit c8bcc19970a2cc4ad337de1338c63a07325eefcd 5631Author: Albert Astals Cid <aacid@kde.org> 5632Date: Fri Nov 9 22:24:52 2018 +0100 5633 5634 locale.dir: Add ast_ES.UTF-8 5635 5636 With this patch xev properly reports 5637 XLookupString gives 2 bytes: (c2 b4) "´" 5638 for the dead_acute key when using the Asturian locale 5639 5640commit 117bb310b44ce03802c91a70949eb58dcc702a3c 5641Author: Albert Astals Cid <aacid@kde.org> 5642Date: Fri Nov 9 22:18:43 2018 +0100 5643 5644 compose.dir: Add ast_ES.UTF-8 5645 5646 With this patch one can properly type dead keys like á when using the 5647 Asturian locale 5648 5649commit d7e22252d68258a63ca537827c99d0ac0bc4b9d8 5650Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5651Date: Sat Nov 10 13:30:47 2018 -0800 5652 5653 Remove documentation of obsolete B16 & B32 tags in specs/libX11 5654 5655 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5656 5657commit f3c978476e0be6813268af494efb7ac507451116 5658Author: Matt Turner <mattst88@gmail.com> 5659Date: Tue Oct 9 10:26:05 2018 -0400 5660 5661 libX11 1.6.7 5662 5663 Signed-off-by: Matt Turner <mattst88@gmail.com> 5664 5665commit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 5666Author: Michel Dänzer <michel.daenzer@amd.com> 5667Date: Fri Sep 28 17:24:17 2018 +0200 5668 5669 poll_for_event: Allow using xcb_poll_for_queued_event 5670 5671 It avoids reading from the display connection again in cases where that 5672 was already done. 5673 5674 Suggested-by: Uli Schlachter <psychon@znc.in> 5675 Reviewed-by: Uli Schlachter <psychon@znc.in> 5676 5677commit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 5678Author: Michel Dänzer <michel.daenzer@amd.com> 5679Date: Tue Sep 25 17:10:58 2018 +0200 5680 5681 poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails 5682 5683 If xcb_poll_for_reply fails to find a reply, poll_for_response would 5684 always return NULL. However, xcb_poll_for_reply may have read events 5685 from the display connection while looking for a reply. In that case, 5686 returning NULL from poll_for_response is wrong and can result in the 5687 client hanging, e.g. because it returns to waiting for the display 5688 connection file descriptor becoming readable after XPending incorrectly 5689 returned 0 pending events. 5690 5691 The solution is to call poll_for_event again after xcb_poll_for_reply 5692 returned 0. This will return the first of any events read by 5693 xcb_poll_for_reply. 5694 5695 Fixes issue #79. 5696 5697 Reported-by: Yuxuan Shui <yshuiv7@gmail.com> 5698 Bugzilla: https://bugs.freedesktop.org/108008 5699 Bugzilla: https://bugs.freedesktop.org/107992 5700 Reviewed-by: Adam Jackson <ajax@redhat.com> 5701 5702commit d0416863d5bf75af54ce81f6c30d4c1476b5e04f 5703Author: Bhavi Dhingra <b.dhingra@samsung.com> 5704Date: Mon Sep 28 08:33:40 2015 +0000 5705 5706 XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB 5707 5708 Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 5709 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 5710 5711 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5712 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5713 5714commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 5715Author: Matthieu Herrb <matthieu@herrb.eu> 5716Date: Tue Aug 21 16:54:50 2018 +0200 5717 5718 libX11 1.6.6 5719 5720 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 5721 5722commit 173704243fbcbea0b6de2068b4fb403c7408fb54 5723Author: Matthieu Herrb <matthieu@herrb.eu> 5724Date: Tue Aug 21 16:53:40 2018 +0200 5725 5726 Remove statement with no effect. 5727 5728 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 5729 5730commit e83722768fd5c467ef61fa159e8c6278770b45c2 5731Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5732Date: Fri Jul 27 16:38:00 2018 +0200 5733 5734 Fixed crash on invalid reply (CVE-2018-14598). 5735 5736 If the server sends a reply in which even the first string would 5737 overflow the transmitted bytes, list[0] (or flist[0]) will be set to 5738 NULL and a count of 0 is returned. 5739 5740 If the resulting list is freed with XFreeExtensionList or 5741 XFreeFontPath later on, the first Xfree call: 5742 5743 Xfree (list[0]-1) 5744 turns into 5745 Xfree (NULL-1) 5746 5747 which will most likely trigger a segmentation fault. 5748 5749 I have modified the code to return NULL if the first string would 5750 overflow, thus protecting the freeing functions later on. 5751 5752 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5753 5754commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 5755Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5756Date: Fri Jul 27 16:37:17 2018 +0200 5757 5758 Fixed out of boundary write (CVE-2018-14600). 5759 5760 The length value is interpreted as signed char on many systems 5761 (depending on default signedness of char), which can lead to an out of 5762 boundary write up to 128 bytes in front of the allocated storage, but 5763 limited to NUL byte(s). 5764 5765 Casting the length value to unsigned char fixes the problem and allows 5766 string values with up to 255 characters. 5767 5768 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5769 5770commit b469da1430cdcee06e31c6251b83aede072a1ff0 5771Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5772Date: Fri Jul 27 16:36:34 2018 +0200 5773 5774 Fixed off-by-one writes (CVE-2018-14599). 5775 5776 The functions XGetFontPath, XListExtensions, and XListFonts are 5777 vulnerable to an off-by-one override on malicious server responses. 5778 5779 The server replies consist of chunks consisting of a length byte 5780 followed by actual string, which is not NUL-terminated. 5781 5782 While parsing the response, the length byte is overridden with '\0', 5783 thus the memory area can be used as storage of C strings later on. To 5784 be able to NUL-terminate the last string, the buffer is reserved with 5785 an additional byte of space. 5786 5787 For a boundary check, the variable chend (end of ch) was introduced, 5788 pointing at the end of the buffer which ch initially points to. 5789 Unfortunately there is a difference in handling "the end of ch". 5790 5791 While chend points at the first byte that must not be written to, 5792 the for-loop uses chend as the last byte that can be written to. 5793 5794 Therefore, an off-by-one can occur. 5795 5796 I have refactored the code so chend actually points to the last byte 5797 that can be written to without an out of boundary access. As it is not 5798 possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 5799 with the corrected chend meaning, I removed the inner if-check. 5800 5801 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5802 5803commit d81da209fd4d0c2c9ad0596a8078e58864479d0d 5804Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5805Date: Tue Jul 3 22:31:37 2018 +0200 5806 5807 Validation of server response in XListHosts. 5808 5809 If a server sends an incorrect length in its response, a client is prone 5810 to perform an out of boundary read while processing the data. 5811 5812 The length field of xHostEntry is used to specify the amount of bytes 5813 used to represent the address. It is 16 bit, which means that it is not 5814 possible to perform an arbitrary memory access, but it might be enough 5815 to read sensitive information, e.g. malloc-related pointers and offsets. 5816 5817 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5818 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5819 5820commit b676e62377483df77bcb6472d26b24f901323fa9 5821Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 5822Date: Wed Jun 13 15:46:58 2018 +0200 5823 5824 XkbOpenDisplay.3: fix typo 5825 5826 XkbOpenDisplay returns a pointer to Display, not a Display. 5827 5828 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 5829 5830commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 5831Author: Martin Natano <natano@natano.net> 5832Date: Sat Oct 8 19:57:50 2016 +0200 5833 5834 Don't rebuild ks_tables.h if nothing changed. 5835 5836 ks_tables.h is always considered out of date due to the forced rebuild 5837 of the makekeys util. This means the file is also rebuilt during 'make 5838 install', which is usually performed as root, which can to lead 5839 permission problems later on. 5840 5841 Signed-off-by: Martin Natano <natano@natano.net> 5842 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5843 5844commit 796f754cba6d75b676a0fc39b97802198fceda4f 5845Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5846Date: Sat May 5 14:43:30 2018 -0700 5847 5848 Change fall through comment in lcDB.c to match gcc's requirements 5849 5850 Needs to match one of the regexps shown under 5851 https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 5852 5853 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5854 5855commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 5856Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5857Date: Sat Mar 24 19:45:14 2018 -0700 5858 5859 Use size_t for buffer sizes in SetHints.c 5860 5861 These variables store values returned from strlen() as a size_t 5862 and are passed to Xmalloc, which expects a size_t, so lets stop 5863 converting back and forth to int along the way. 5864 5865 Reported by: Konstantin SKliarov 5866 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5867 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5868 5869commit 50a5a98984097d614227d22a49265e12b172cac7 5870Author: Bhavi Dhingra <b.dhingra@samsung.com> 5871Date: Tue Jul 5 11:37:50 2016 +0530 5872 5873 Fix possible memory leak in cmsProp.c:140 5874 5875 https://bugs.freedesktop.org/show_bug.cgi?id=96814 5876 5877 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5878 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5879 5880commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 5881Author: Michal Srb <msrb@suse.com> 5882Date: Thu Mar 15 09:50:58 2018 +0100 5883 5884 Use flexible array member instead of fake size. 5885 5886 The _XimCacheStruct structure is followed in memory by two strings containing 5887 fname and encoding. The memory was accessed using the last member of the 5888 structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 5889 confuses checkers. Lets declare it properly as a flexible array, so compilers 5890 don't complain about writing past that array. As bonus we can replace the 5891 XOffsetOf with regular sizeof. 5892 5893 Fixes GCC8 error: 5894 In function 'strcpy', 5895 inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 5896 inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 5897 inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 5898 /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 5899 forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 5900 return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 5901 5902 Caused by this line seemingly writing past the fname[1] array: 5903 imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 5904 5905 Reviewed-by: Keith Packard <keithp@keithp.com> 5906 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5907 5908commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 5909Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5910Date: Tue Mar 6 11:42:27 2018 -0800 5911 5912 If XGetImage fails to create image, don't dereference it to bounds check 5913 5914 Reported by gcc 7.3: 5915 5916 GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 5917 if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 5918 ~~~~~^~~~~~~~ 5919 5920 Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 5921 5922 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5923 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 5924 5925commit e835a9dcc3362b5e92893be756dd7ae361e64ced 5926Author: wharms <wharms@bfs.de> 5927Date: Sun Sep 3 14:17:45 2017 +0200 5928 5929 silence gcc warning assignment discards 'const' qualifier from pointer target type 5930 5931commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 5932Author: wharms <wharms@bfs.de> 5933Date: Sun Aug 20 21:51:57 2017 +0200 5934 5935 remove empty line 5936 5937commit e02dfe54f32b4165351d2712a9d2e0584906a3ce 5938Author: wharms <wharms@bfs.de> 5939Date: Sun Aug 20 21:50:33 2017 +0200 5940 5941 add _X_UNUSED to avoid unused variable warnings 5942 5943commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 5944Author: walter harms <wharms@bfs.de> 5945Date: Sat Jun 4 17:19:59 2016 +0200 5946 5947 Fixes: warning: variable 'req' set but not,used 5948 5949 Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 5950 by marking req _X_UNUSED 5951 Solution was discussed on xorg-devel ML 5952 Peter Hutter, Alan Coopersmith 5953 Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 5954 5955 Signed-off-by: harms wharms@bfs.de 5956 5957commit bf82ec0402479fd8399d69e7d62fc17d7956699a 5958Author: walter harms <wharms@bfs.de> 5959Date: Sat Jun 4 17:22:07 2016 +0200 5960 5961 mark _XDefaultIOError as no_return 5962 5963 mark _XDefaultIOError as no_return. No one comes back from exit() ... 5964 5965 Signed-off-by: harms wharms@bfs.de 5966 5967commit 9abe8380074edea3ac4e72466ec47e921ca05e47 5968Author: walter harms <wharms@bfs.de> 5969Date: Sat Jun 4 17:21:52 2016 +0200 5970 5971 no need to check XFree arguments 5972 5973 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 5974 5975 Signed-off-by: harms wharms@bfs.de 5976 5977commit 433477fcb7e07d0c26a22ba78aae88827ed1f440 5978Author: walter harms <wharms@bfs.de> 5979Date: Tue Apr 26 16:32:20 2016 +0200 5980 5981 fix memleak in error path 5982 5983 free all mem on error 5984 Signed-off-by: walter harms <wharms@bfs.de> 5985 5986commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 5987Author: walter harms <wharms@bfs.de> 5988Date: Tue Apr 26 17:58:16 2016 +0200 5989 5990 fix memleak in error path 5991 5992 V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 5993 5994 fix mem leak in error path 5995 Signed-off-by: walter harms <wharms@bfs.de> 5996 5997commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 5998Author: walter harms <wharms@bfs.de> 5999Date: Tue Apr 26 16:34:11 2016 +0200 6000 6001 no need to check args for Xfree() 6002 6003 simplify code 6004 6005 Signed-off-by: walter harms <wharms@bfs.de> 6006 6007commit c1c14af441ae73d1a8e67a971fafcf967e45ac48 6008Author: walter harms <wharms@bfs.de> 6009Date: Tue Apr 26 16:23:46 2016 +0200 6010 6011 remove stray extern 6012 6013 remove stray extern 6014 6015 Signed-off-by: walter harms <wharms@bfs.de> 6016 6017commit 714921f041a245dc5f37a689268b584226a2ccb9 6018Author: walter harms <wharms@bfs.de> 6019Date: Mon Apr 11 18:26:52 2016 +0200 6020 6021 no need to check argument for _XkbFree() 6022 6023 simplify code by removing unneeded checks 6024 6025 Signed-off-by: walter harms <wharms@bfs.de> 6026 6027commit d02c2466f65063a03c97dbcee05071c12a3676e6 6028Author: walter harms <wharms@bfs.de> 6029Date: Mon Apr 11 18:22:38 2016 +0200 6030 6031 fix more shadow warning 6032 6033 Signed-off-by: walter harms <wharms@bfs.de> 6034 6035commit 0355c3926d5372f9762f235071dbd94a89bbbdad 6036Author: walter harms <wharms@bfs.de> 6037Date: Thu Mar 31 19:16:33 2016 +0200 6038 6039 fix shadow char_size 6040 6041 Signed-off-by: walter harms <wharms@bfs.de> 6042 6043commit 916dffadf052135df3398651be873c353da629e1 6044Author: walter harms <wharms@bfs.de> 6045Date: Thu Mar 31 19:14:32 2016 +0200 6046 6047 remove argument check for free() adjust one inden 6048 6049 Signed-off-by: walter harms <wharms@bfs.de> 6050 6051commit 6ec901ebca3fea6a762e22090dc35b1b90911133 6052Author: walter harms <wharms@bfs.de> 6053Date: Thu Mar 31 19:12:17 2016 +0200 6054 6055 _XIOError(dpy); will never return so remore dead 6056 6057 Signed-off-by: walter harms <wharms@bfs.de> 6058 6059commit 83107a677b2ed458e4d62ea4a601e8181d3683d8 6060Author: walter harms <wharms@bfs.de> 6061Date: Thu Mar 31 19:10:49 2016 +0200 6062 6063 fix shadow warning 6064 6065 Signed-off-by: walter harms <wharms@bfs.de> 6066 6067commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 6068Author: Ryan C. Gordon <icculus@icculus.org> 6069Date: Wed Aug 2 02:41:03 2017 -0400 6070 6071 Valgrind fix for XStoreColor and XStoreColors. 6072 6073 If the "pad" field isn't set, Valgrind will report it as uninitialized 6074 memory accesses when the struct is copied into the Display's send buffer. 6075 6076 In practice, this is (probably) harmless, but Valgrind is correct in 6077 believing it's a bug. 6078 6079 https://bugs.freedesktop.org/attachment.cgi?id=133189 6080 6081 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6082 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6083 6084commit 7d2010fec25c2f52b873ad0572479eb43128b038 6085Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6086Date: Fri Apr 7 00:13:03 2017 -0700 6087 6088 Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 6089 6090 Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 6091 contains some malformed text" caused by extra whitespace after .TE macros 6092 6093 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6094 6095commit b856d5d929047d1ea169814d56e43784ea404c83 6096Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6097Date: Thu Mar 16 00:05:49 2017 -0700 6098 6099 Clarify state parameter to XkbSetNamedDeviceIndicator 6100 6101 Checking a Bool to see if it's NULL does not work well in C. 6102 Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 6103 6104 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6105 Reviewed-by: Adam Jackson <ajax@redhat.com> 6106 6107commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 6108Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6109Date: Wed Mar 15 23:50:26 2017 -0700 6110 6111 Make Xkb{Get,Set}NamedIndicator spec & manpages match code 6112 6113 The XKB Library spec and the man pages for XkbGetNamedIndicator & 6114 XkbSetNamedIndicator included a device_spec argument neither function 6115 takes, and do not include the XkbGetNamedDeviceIndicator & 6116 XkbSetNamedDeviceIndicator variants that do take it (along with two 6117 other arguments). 6118 6119 This updates them to match the interfaces the code has provided for 6120 decades. 6121 6122 This has been reported multiple times, so this fixes: 6123 https://bugs.freedesktop.org/show_bug.cgi?id=251 6124 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 6125 Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 6126 (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 6127 X.Org Group Defect Id #9418 6128 6129 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6130 Reviewed-by: Adam Jackson <ajax@redhat.com> 6131 6132commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 6133Author: Arthur Huillet <ahuillet@nvidia.com> 6134Date: Wed Feb 1 15:02:41 2017 +0100 6135 6136 _XDefaultError: set XlibDisplayIOError flag before calling exit 6137 6138 _XReply isn't reentrant, and it can lead to deadlocks when the default error 6139 handler is called: _XDefaultError calls exit(1). It is called indirectly by 6140 _XReply when a X protocol error comes in that isn't filtered/handled by an 6141 extension or the application. This means that if the application (or one of its 6142 loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 6143 _fini destructor, _fini will get called while still on the call stack of 6144 _XReply. If the destructor interacts with the X server and calls _XReply, it 6145 will hit a deadlock, looping on the following in _XReply: 6146 6147 ConditionWait(dpy, dpy->xcb->reply_notify); 6148 6149 It is legal for an application to make Xlib calls during _fini, and that is 6150 useful for an OpenGL driver to avoid resource leaks on the X server side, for 6151 example in the dlopen/dlclose case. However, the driver can not readily tell 6152 whether its _fini is being called because Xlib called exit, or for another 6153 reason (dlclose), so it is hard to cleanly work around this issue in the driver. 6154 6155 This change makes it so _XReply effectively becomes a no-op when called after 6156 _XDefaultError was called, as though an XIOError had happened. The dpy 6157 connection isn't broken at that point, but any call to _XReply is going to hang. 6158 This is a bit of a kludge, because the more correct solution would be to make 6159 _XReply reentrant, maybe by broadcasting the reply_notify condition before 6160 calling the default error handler. However, such a change would carry a grater 6161 risk of introducing regressions in Xlib. 6162 6163 This change will drop some valid requests on the floor, but this should not 6164 matter, as it will only do so in the case where the application is dying: X will 6165 clean up after it once exit() is done running. There is the case of 6166 XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 6167 to clean up resources in _fini would currently be hitting a deadlock, which is 6168 hardly a better situation. 6169 6170 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 6171 Reviewed-by: Jamey Sharp <jamey@minilop.net> 6172 6173commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 6174Author: Matt Turner <mattst88@gmail.com> 6175Date: Sat Feb 25 21:54:22 2017 -0800 6176 6177 libX11 1.6.5 6178 6179 Signed-off-by: Matt Turner <mattst88@gmail.com> 6180 6181commit a0da5835e8078445947c828fe2d86c1a31439012 6182Author: Adam Jackson <ajax@redhat.com> 6183Date: Tue Feb 14 15:33:29 2017 -0500 6184 6185 Revert "Compose sequences for rouble sign" 6186 6187 This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 6188 6189 Reported to break 'make check': 6190 6191 https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 6192 6193commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 6194Author: Mihail Konev <k.mvc@ya.ru> 6195Date: Fri Feb 10 18:48:18 2017 +0500 6196 6197 Compose sequences for rouble sign 6198 6199 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 6200 Also add Cyrillic sequences for hryvnia sign. 6201 6202 Submitted-by: Victor V. Kustov <coyote@bks.tv> 6203 Reviewed-by: Victor V. Kustov <coyote@bks.tv> 6204 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 6205 6206commit 23d9623c661694aba8cf1e8f277dffa7a86cf065 6207Author: Petr Písař <petr.pisar@atlas.cz> 6208Date: Sun Oct 30 12:49:11 2016 +0100 6209 6210 Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 6211 6212 The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 6213 locale and reporting this error: 6214 6215 Warning: locale not supported by Xlib, locale set to C 6216 6217 Therefore this patch reverts to the en_US.UTF-8 definition file that was used 6218 before. This patch also deduplicates the cs_CZ.UTF-8 entry. 6219 6220 <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 6221 6222 This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 6223 6224 Signed-off-by: Julien Cristau <jcristau@debian.org> 6225 6226commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 6227Author: Mihail Konev <k.mvc@ya.ru> 6228Date: Thu Jan 26 13:52:49 2017 +1000 6229 6230 autogen: add default patch prefix 6231 6232 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 6233 6234commit 2979011bc170c55894b9185b26376f8efc6db7d4 6235Author: Emil Velikov <emil.l.velikov@gmail.com> 6236Date: Mon Mar 9 12:00:52 2015 +0000 6237 6238 autogen.sh: use quoted string variables 6239 6240 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 6241 fall-outs, when they contain space. 6242 6243 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 6244 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6245 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6246 6247commit 4a0082a1b6affa65d38294f0e13511525cd8ad15 6248Author: Peter Hutterer <peter.hutterer@who-t.net> 6249Date: Tue Jan 24 10:32:07 2017 +1000 6250 6251 autogen.sh: use exec instead of waiting for configure to finish 6252 6253 Syncs the invocation of configure with the one from the server. 6254 6255 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6256 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 6257 6258commit c74b070f2712c95f0db7c320a10232b0e5c83049 6259Author: Julien Cristau <jcristau@debian.org> 6260Date: Sat Jan 7 16:20:31 2017 +0100 6261 6262 Fix wrong Xfree in XListFonts failure path 6263 6264 'ch' gets moved inside the allocated buffer as we're looping through 6265 fonts, so keep a reference to the start of the buffer so we can pass 6266 that to Xfree in the failure case. 6267 6268 Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 6269 6270 Signed-off-by: Julien Cristau <jcristau@debian.org> 6271 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6272 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6273 6274commit 663f47075fe67bab4f99bc5d186c49175d4a4334 6275Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6276Date: Sun Jan 1 20:57:58 2017 -0800 6277 6278 specs/libX11: Update Portability Considerations for the 21st century 6279 6280 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6281 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6282 6283commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 6284Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6285Date: Sun Jan 1 20:39:53 2017 -0800 6286 6287 specs/libX11: Fix broken synopsis for Data/Data16/Data32 6288 6289 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6290 6291commit 382561951e3460b09c21a1a23748cde0315fbb19 6292Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6293Date: Sun Jan 1 20:31:54 2017 -0800 6294 6295 specs/libX11: Add missing parameter types for XGetWindowProperty() 6296 6297 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6298 6299commit 2beaecdb66965b861d6b790d151ba947f65f0a22 6300Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6301Date: Sun Jan 1 20:16:08 2017 -0800 6302 6303 specs/libX11: Make paramdef spacing more consistent 6304 6305 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6306 6307commit 4c436c6c14cfd4c397b011563bf13c2872861133 6308Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6309Date: Sun Jan 1 20:02:53 2017 -0800 6310 6311 specs/libX11: Fix paramdef entries listing multiple parameters 6312 6313 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6314 6315commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 6316Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6317Date: Sun Jan 1 19:38:40 2017 -0800 6318 6319 specs/libX11: More synopsis fixes 6320 6321 Mostly transforming macro definitions and functions taking void arguments 6322 from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 6323 6324 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6325 6326commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 6327Author: Lucien Gentis <lucien.gentis@waika9.com> 6328Date: Wed Jun 1 17:02:47 2016 +0200 6329 6330 Typos in "Xlib - C Language X Interface" document - Chapter 02 6331 6332 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 6333 6334 Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 6335 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6336 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6337 6338commit 20a3f99eba5001925b8b313da3accb7900eb1927 6339Author: Emilio Pozuelo Monfort <pochu@debian.org> 6340Date: Tue Oct 25 21:30:15 2016 +0200 6341 6342 Plug a memory leak 6343 6344 This was introduced in 8ea762f. 6345 6346 Reported-by: Julien Cristau <jcristau@debian.org> 6347 Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 6348 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6349 6350commit 8f349feac24aacc958bd816afcc52380764e3d92 6351Author: Matthieu Herrb <matthieu.herrb@laas.fr> 6352Date: Tue Oct 4 21:01:39 2016 +0200 6353 6354 libX11 1.6.4 6355 6356 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6357 6358commit 8ea762f94f4c942d898fdeb590a1630c83235c17 6359Author: Tobias Stoeckmann <tobias@stoeckmann.org> 6360Date: Sun Sep 25 21:25:25 2016 +0200 6361 6362 Validation of server responses in XGetImage() 6363 6364 Check if enough bytes were received for specified image type and 6365 geometry. Otherwise GetPixel and other functions could trigger an 6366 out of boundary read later on. 6367 6368 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 6369 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6370 6371commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 6372Author: Tobias Stoeckmann <tobias@stoeckmann.org> 6373Date: Sun Sep 25 21:22:57 2016 +0200 6374 6375 The validation of server responses avoids out of boundary accesses. 6376 6377 v2: FontNames.c return a NULL list whenever a single 6378 length field from the server is incohent. 6379 6380 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 6381 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6382 6383commit 78851f6a03130e3c720b60c3cbf96f8eb216d741 6384Author: walter harms <wharms@bfs.de> 6385Date: Mon Aug 15 19:18:14 2016 +0200 6386 6387 XFree will accept NULL as argument 6388 6389 since Xfree is a define for free(): 6390 Xlibint.h:#define Xfree(ptr) free((ptr)) 6391 6392 Xfree will accept NULL and do nothing. 6393 6394 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 6395 6396commit 83adf3d1e3d0d6602244381334f75c216da4ab6e 6397Author: Matthew D. Fuller <fullermd@over-yonder.net> 6398Date: Sat Jun 4 11:24:01 2016 -0500 6399 6400 Fixup param specification for XChangeProperty() 6401 6402 Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 6403 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6404 6405commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 6406Author: Mats Blakstad <mats.gbproject@gmail.com> 6407Date: Sun Feb 28 13:22:03 2016 -0500 6408 6409 New compose keys for local languages in Togo 6410 6411 Signed-off-by: James Cloos <cloos@jhcloos.com> 6412 6413commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 6414Author: Daniel Albers <daniel@lbe.rs> 6415Date: Wed Mar 9 14:35:48 2016 +0100 6416 6417 Add Compose sequence for U+1F4A9. 6418 6419 Signed-off-by: Daniel Albers <daniel@lbe.rs> 6420 6421commit 6d7bb040c928485f2557c2c914b95cffb2354179 6422Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6423Date: Sat Feb 6 14:18:32 2016 -0800 6424 6425 xcms: use size_t for pointer offsets passed to strncmp 6426 6427 instead of converting to int and back 6428 6429 Fixes clang warnings of the form: 6430 HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 6431 'unsigned long' [-Wsign-conversion] 6432 if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 6433 ~~~~~~~ 6434 6435 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6436 6437commit a9266804eed38a83897ab5f0f9f8a8ab82a98882 6438Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6439Date: Sat Feb 6 13:32:44 2016 -0800 6440 6441 xcms: use unsigned indexes when looping through unsigned values 6442 6443 Clears many gcc warnings of the form: 6444 6445 uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 6446 uvY.c:263:19: warning: comparison between signed and unsigned integer 6447 expressions [-Wsign-compare] 6448 for (i = 0; i < nColors; i++, pColor++) { 6449 ^ 6450 6451 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6452 6453commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 6454Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6455Date: Sat Feb 6 13:01:25 2016 -0800 6456 6457 xcms: use size_t for strlen/sizeof values instead of converting to int & back 6458 6459 Fixes gcc warnings of the form: 6460 6461 IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 6462 IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 6463 if ((len = strlen(prefix)) >= sizeof(string_buf)) { 6464 ^ 6465 IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 6466 if (len >= sizeof(string_buf)) Xfree(string_lowered); 6467 ^ 6468 IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 6469 if (len >= sizeof(string_buf)) Xfree(string_lowered); 6470 ^ 6471 IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 6472 if (len >= sizeof(string_buf)) Xfree(string_lowered); 6473 ^ 6474 6475 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6476 6477commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 6478Author: Dominik Muth <nxdomainuser-muth@yahoo.com> 6479Date: Thu Mar 26 07:52:58 2015 +0100 6480 6481 Xlib.h: Fix macros imitating C functions. 6482 6483 The basic rule "put parantheses around macro parameters" should be 6484 observed where possible. Otherwise code like 6485 6486 ConnectionNumber(foo = bar); 6487 6488 fails to compile. (It obviously passes if ConnectionNumber is a C 6489 function.) There are several other macros amended for the same reason. 6490 6491 This bug appeared while building http://ioccc.org/1993/cmills.c, so 6492 historically it was not present. 6493 6494 Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 6495 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6496 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6497 6498commit 3706b0f2b14cc97578a6bee620266edca2722ebf 6499Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6500Date: Fri Nov 15 18:03:25 2013 -0800 6501 6502 Don't need to link libX11-xcb against libX11 6503 6504 libX11-xcb only accesses data structures defined in X11 headers, 6505 it doesn't call any functions or reference any global variables 6506 in libX11 itself. (Seems to have been left from previous XCL 6507 implementation.) 6508 6509 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6510 6511commit eddf1bbd18872b286a9f939140f0cd9ba4e93804 6512Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6513Date: Fri Jan 22 11:44:25 2016 -0800 6514 6515 Stop checking for preferred order of local transports 6516 6517 Removes --with-local-transport-order=... flag to configure. 6518 6519 Code which used this ordered list was removed in commit 15e5eaf6289 6520 which outsourced X11 connection handling & authentication to libxcb. 6521 6522 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6523 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6524 6525commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 6526Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6527Date: Fri Jan 22 09:39:28 2016 -0800 6528 6529 Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 6530 6531 Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 6532 6533 Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 6534 which outsourced X11 connection handling & authentication to libxcb. 6535 6536 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6537 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6538 6539commit 7eb724dc24505f1591ef32620fa63f079b540646 6540Author: Olivier Fourdan <ofourdan@redhat.com> 6541Date: Thu Jan 21 11:54:19 2016 +0100 6542 6543 XKB: fix XkbGetKeyboardByName with Xming server 6544 6545 XkbGetKeyboardByName relies on flags to read the data from the server. 6546 6547 If the X server sends us the wrong flags or if a subreply is smaller 6548 than it should be, XkbGetKeyboardByName will not read all the available 6549 data and leave data in the buffer, which will cause the next _XReply() 6550 to fail with: 6551 6552 [xcb] Extra reply data still left in queue 6553 [xcb] This is most likely caused by a broken X extension library 6554 [xcb] Aborting, sorry about that. 6555 xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 6556 Aborted 6557 6558 Check if there is some extra data left at the end of 6559 XkbGetKeyboardByName() and discard that data if any is found. 6560 6561 Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 6562 root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 6563 with the analysis! 6564 6565 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 6566 Reviewed-by: Daniel Stone <daniels@collabora.com> 6567 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6568 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6569 6570commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 6571Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6572Date: Sat Dec 19 18:03:41 2015 -0800 6573 6574 lcPubWrap: replace malloc(strlen) + strcpy with strdup 6575 6576 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6577 Reviewed-by: Adam Jackson <ajax@redhat.com> 6578 6579commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 6580Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6581Date: Sat Dec 19 10:21:04 2015 -0800 6582 6583 XlcDL.c: reduce code duplication 6584 6585 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6586 Reviewed-by: Adam Jackson <ajax@redhat.com> 6587 6588commit f7ecc0856be58608881d2086954cb71857ad64e1 6589Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6590Date: Sat Dec 19 10:19:25 2015 -0800 6591 6592 XlcDL.c: replace strcpy+strcat sequences with snprintf 6593 6594 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6595 Reviewed-by: Adam Jackson <ajax@redhat.com> 6596 6597commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 6598Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6599Date: Sat Dec 19 10:05:42 2015 -0800 6600 6601 XDefaultOMIF: Remove comments referring to ancient Sun bug ids 6602 6603 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6604 Reviewed-by: Adam Jackson <ajax@redhat.com> 6605 6606commit b738a104ae80e4270dd1d215ad0c6a80016982c2 6607Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6608Date: Sat Dec 19 10:00:22 2015 -0800 6609 6610 XDefaultOMIF: additional code simplification 6611 6612 Don't need to test for a case that we already returned for, don't need 6613 to store a count that will only ever be 1 if we didn't return, don't 6614 need to increment pointers to allow storing more than one item when we 6615 can only ever possibly do one. 6616 6617 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6618 Reviewed-by: Adam Jackson <ajax@redhat.com> 6619 6620commit 31011cf100419269eae7409581c784638be503cf 6621Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6622Date: Sat Dec 19 09:46:31 2015 -0800 6623 6624 XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 6625 6626 Code seems to have been originally written to handle appending multiple 6627 strings, but only ever operates on a single string. 6628 6629 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6630 Reviewed-by: Adam Jackson <ajax@redhat.com> 6631 6632commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 6633Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6634Date: Sat Dec 19 09:20:55 2015 -0800 6635 6636 Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 6637 6638 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6639 Reviewed-by: Adam Jackson <ajax@redhat.com> 6640 6641commit 4359dfabc04af082872d2bc2d5b52e26d6d93290 6642Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6643Date: Fri Dec 4 22:20:53 2015 -0800 6644 6645 Delete #if 0 hunks of code 6646 6647 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6648 6649commit a2f9dfac286f37e54eb47d4736cc3f0150224a84 6650Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6651Date: Thu Dec 3 23:38:07 2015 -0800 6652 6653 Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 6654 6655 Rework code to store allocations directly into XIM struct instead of 6656 temporary local variables, so we can use _XCloseIM to unwind instead 6657 of duplicating it, and consistently jump to error handler on failure, 6658 instead of sometimes leaking and sometimes freeing. 6659 6660 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 6661 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6662 6663commit 07a97b3944467dce085a1efd24706cc851d2caf2 6664Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6665Date: Thu Dec 3 23:19:48 2015 -0800 6666 6667 Bug 93184: read_EncodingInfo invalid free 6668 6669 Free the correct bits of memory if we run out and need to unwind 6670 6671 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 6672 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6673 6674commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 6675Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6676Date: Sat Nov 28 13:18:11 2015 -0800 6677 6678 Remove unused definition of XCONN_CHECK_FREQ 6679 6680 The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 6681 when we dropped the old Xlib connection handling in favor of xcb's. 6682 6683 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6684 Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 6685 6686commit 5f0da8311a61498edf073cc877f5b467bfd5f863 6687Author: James Cloos <cloos@jhcloos.com> 6688Date: Thu Dec 3 18:24:44 2015 -0500 6689 6690 Fix another missing update in cf4d5989383a 6691 6692 Reported in: 6693 6694 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 6695 6696 Signed-off-by: James Cloos <cloos@jhcloos.com> 6697 6698commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 6699Author: James Cloos <cloos@jhcloos.com> 6700Date: Thu Dec 3 18:15:40 2015 -0500 6701 6702 Fix missing update in cf4d5989383a 6703 6704 Reported in: 6705 6706 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 6707 6708 Signed-off-by: James Cloos <cloos@jhcloos.com> 6709 6710commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 6711Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6712Date: Sun Sep 27 18:38:32 2015 -0700 6713 6714 Get rid of some extraneous ; at the end of C source lines 6715 6716 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6717 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 6718 6719commit 121a1bad334459f66f78bfca6df53dc841cf97f8 6720Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 6721Date: Wed Sep 23 11:44:55 2015 -0400 6722 6723 Add compose file for pt_PT similar to pt_BR 6724 6725 This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 6726 6727 One of the conclusions from the discussion on that bug report, which 6728 basically is about typing the ccedilla character easily on a non- 6729 Portuguese keyboard, is that X11 should include a compose file for 6730 pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 6731 6732 FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 6733 6734 Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 6735 Signed-off-by: James Cloos <cloos@jhcloos.com> 6736 6737commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 6738Author: Julien Cristau <jcristau@debian.org> 6739Date: Fri May 1 13:50:15 2015 +0200 6740 6741 Mark _XNextRequest as hidden 6742 6743 It's only used inside XNextRequest(), so doesn't need to be exported. 6744 6745 Signed-off-by: Julien Cristau <jcristau@debian.org> 6746 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6747 6748commit a72d2d06c002b644b7040a0a9936c8525e092ba8 6749Author: Christian Linhart <chris@demorecorder.com> 6750Date: Mon Sep 7 17:17:32 2015 +0200 6751 6752 fix for Xlib 32-bit request number issues 6753 6754 Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 6755 the 32-bit sequence number wrap in libX11. 6756 6757 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 6758 Signed-off-by: Christian Linhart <chris@demorecorder.com> 6759 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 6760 Reviewed-by: Adam Jackson <ajax@redhat.com> 6761 6762commit 58af066a764305c506efea7065ef7679369a1a98 6763Author: Thomas Klausner <wiz@NetBSD.org> 6764Date: Sun Jul 19 10:23:21 2015 +0200 6765 6766 Ignore test-driver (used by newer autoconf). 6767 6768 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 6769 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6770 6771commit 80b9a346b9ba200fa4652560282e80d249519287 6772Author: Thomas Klausner <wiz@NetBSD.org> 6773Date: Sun Jul 19 10:22:45 2015 +0200 6774 6775 Do not return() after exit(). 6776 6777 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 6778 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6779 6780commit c827edcd1c4a7f920aa25208083b5b58d60d2b44 6781Author: Ross Burton <ross.burton@intel.com> 6782Date: Mon May 18 14:49:01 2015 +0100 6783 6784 Add missing NULL checks to ICWrap 6785 6786 ICWrap.c dereferences the xim parameter passed in from client code without a 6787 NULL check. I have seen mplayer trigger this resulting in a segfault. In this 6788 case mplayer had called XOpenIM and NULL was returned which was later passed 6789 into XCreateIC. 6790 6791 Patch originally by Drew Moseley <drew_moseley@mentor.com>. 6792 6793 Signed-off-by: Ross Burton <ross.burton@intel.com> 6794 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6795 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6796 6797commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 6798Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6799Date: Thu Jun 4 20:51:17 2015 -0700 6800 6801 Replace Xmalloc+memset pairs with Xcalloc calls 6802 6803 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6804 6805commit f0286b2770ece10aef5e2e8c004260217f12fd25 6806Author: Bhavi Dhingra <b.dhingra@samsung.com> 6807Date: Thu Jun 4 19:07:12 2015 -0700 6808 6809 omGeneric.c: Correct the parameter usage of sizeof 6810 6811 Incorrect parameter usage with sizeof. Earlier passed argument FontData 6812 will be 4 bytes always as its a pointer hence the change is needed and 6813 FontDataRec should be used for memset. 6814 6815 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6816 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6817 6818commit 47da70d75f9e48e800719c0db752f9ccd2d77aea 6819Author: Peter Hutterer <peter.hutterer@who-t.net> 6820Date: Tue May 19 12:30:22 2015 +1000 6821 6822 Fix three "use of uninitialized variable" coverity warnings 6823 6824 False positive, if rlen/nbytes are unset we quit early before using it. Still, 6825 initialize it so we don't have to deal with these warnings again. 6826 6827 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6828 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 6829 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6830 6831commit 19a30f17f30e9ae9641a7c0634fc52134208b060 6832Author: Peter Hutterer <peter.hutterer@who-t.net> 6833Date: Mon May 18 07:56:22 2015 +1000 6834 6835 Fix an indentation issue 6836 6837 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6838 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 6839 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6840 6841commit 013ccece124b990217ad3bcf2c41688e8fda1df8 6842Author: Peter Hutterer <peter.hutterer@who-t.net> 6843Date: Mon May 18 07:55:17 2015 +1000 6844 6845 Fix potential memory leak 6846 6847 If we hit the depth limit, filename leaks. Move the depth check up before we 6848 allocate filename. 6849 Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 6850 6851 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6852 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 6853 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6854 6855commit d3415d1f052530760b4617db45affcb984cfe35c 6856Author: Mike FABIAN <mfabian@redhat.com> 6857Date: Mon Apr 20 17:59:30 2015 +0200 6858 6859 Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 6860 6861 Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 6862 locales fixed it only partly, I introduced a new spelling mistake 6863 in the sd_IN locales. This patch fixes this. 6864 6865 Signed-off-by: James Cloos <cloos@jhcloos.com> 6866 6867commit 748d47e69f5c12d8557d56a8a8ec166588da7b93 6868Author: Mike FABIAN <mfabian@redhat.com> 6869Date: Wed Feb 19 11:46:45 2014 +0100 6870 6871 fix spelling mistakes in ks_IN and sd_IN devanagari locales 6872 6873 The codeset must be *before* the modifier. 6874 6875 See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 6876 6877 opengroup> The syntax for these environment variables is thus defined as: 6878 opengroup> 6879 opengroup> [language[_territory][.codeset][@modifier]] 6880 6881 Signed-off-by: James Cloos <cloos@jhcloos.com> 6882 6883commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 6884Author: Mike FABIAN <mfabian@redhat.com> 6885Date: Wed Feb 19 11:50:55 2014 +0100 6886 6887 add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 6888 6889 See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 6890 6891 If these are not in locale.dir, 6892 6893 $ LANG=sr_RS.UTF-8@latin xterm 6894 6895 and 6896 6897 $ LANG=sr_RS@latin xterm 6898 6899 give the warning: 6900 6901 Warning: locale not supported by Xlib, locale set to C 6902 6903 and some programs (like xmms) fail to find translations for Serbian 6904 in Latin because of this. 6905 6906 Signed-off-by: James Cloos <cloos@jhcloos.com> 6907 6908commit c85be01b006126c4407eebd1eb6e01a17312b7b4 6909Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6910Date: Sun Mar 22 16:46:45 2015 -0700 6911 6912 Move Compose \ o / to be with other emoji compose sequences 6913 6914 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6915 6916commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 6917Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6918Date: Mon Mar 9 15:28:29 2015 -0700 6919 6920 libX11 1.6.3 6921 6922 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6923 6924commit c8e19b393defd53f046ddc2da3a16881221b3c34 6925Author: Joonas Javanainen <joonas.javanainen@gmail.com> 6926Date: Thu Feb 5 17:31:04 2015 +0200 6927 6928 Fix XErrorEvent struct field order in man page 6929 6930 In the man page the field "resourceid" was in a different place than 6931 in the actual struct layout in Xlib.h 6932 6933 Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 6934 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6935 6936commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 6937Author: Ran Benita <ran234@gmail.com> 6938Date: Tue Feb 3 13:23:50 2015 -0500 6939 6940 compose: fix the description of modifiers in compose sequences 6941 6942 The Compose format has a feature which allows specifying certain 6943 modifiers must (or must not) be present with a given keysym in the 6944 sequence. 6945 6946 The grammar in imLcPrs.c and the Compose man page both do not match what 6947 the code actually does (see the handling of the variables 6948 `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 6949 eventually matched as `ev->state & modifier_mask == modifier`). 6950 6951 Also explicitly list the accepted modifier names, since they are 6952 not standard (e.g. "Ctrl" instead of "Control"). 6953 6954 Signed-off-by: Ran Benita <ran234@gmail.com> 6955 Signed-off-by: James Cloos <cloos@jhcloos.com> 6956 6957commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 6958Author: Ran Benita <ran234@gmail.com> 6959Date: Tue Feb 3 13:23:49 2015 -0500 6960 6961 xkb: fix misleading comment about consumed modifiers 6962 6963 In the spec and the man page the `mods_rtrn` argument is described as 6964 "backfilled with unconsumed modifiers" but actually it is backfilled 6965 with the *consumed* modifiers. This is also mentioned a few lines below 6966 in each case. 6967 6968 Signed-off-by: Ran Benita <ran234@gmail.com> 6969 Signed-off-by: James Cloos <cloos@jhcloos.com> 6970 6971commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 6972Author: Ingo Schwarze <schwarze@usta.de> 6973Date: Tue Dec 9 10:44:13 2014 +0100 6974 6975 Fix pasto in XkbGetKeyBehaviors(3) manual 6976 6977 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 6978 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6979 6980commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 6981Author: Benno Schulenberg <bensberg@justemail.net> 6982Date: Sun Nov 23 21:35:36 2014 +0100 6983 6984 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 6985 6986 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6987 6988commit a51681b60c84109fe19f5d449e13080522499324 6989Author: Benno Schulenberg <bensberg@justemail.net> 6990Date: Thu Sep 19 16:42:01 2013 +0200 6991 6992 nls: Remove a duplicate locale name, and sort some others more strictly. 6993 6994 Also improve the grammar of the initial comment. 6995 6996 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6997 Signed-off-by: James Cloos <cloos@jhcloos.com> 6998 6999commit 426b7f850f5376db96a4b12420ee141603fcc3cd 7000Author: Benno Schulenberg <bensberg@justemail.net> 7001Date: Fri Sep 20 12:37:29 2013 +0200 7002 7003 nls: Add a comment to the block of accented Hebrew letters. 7004 7005 And align them in a nicer manner. 7006 7007 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7008 Signed-off-by: James Cloos <cloos@jhcloos.com> 7009 7010commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 7011Author: Benno Schulenberg <bensberg@justemail.net> 7012Date: Fri Sep 20 12:05:09 2013 +0200 7013 7014 nls: Add one lowercase compose variant for ®, to mirror those for ©. 7015 7016 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7017 Signed-off-by: James Cloos <cloos@jhcloos.com> 7018 7019commit 18dcd13514fa538afefa78c93523d9dbd4688e74 7020Author: Benno Schulenberg <bensberg@justemail.net> 7021Date: Sat Sep 7 20:10:43 2013 +0200 7022 7023 nls: Adding the visual composing characters to two comment lines. 7024 7025 The lines around them also contain the characters in the comments. 7026 7027 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7028 Signed-off-by: James Cloos <cloos@jhcloos.com> 7029 7030commit 18d8307575af748913d5da17e3de45da2a22ede4 7031Author: Benno Schulenberg <bensberg@justemail.net> 7032Date: Sat Sep 7 20:09:32 2013 +0200 7033 7034 nls: Grouping a lone superscript minus together with its mates. 7035 7036 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7037 Signed-off-by: James Cloos <cloos@jhcloos.com> 7038 7039commit 33301cc45e6a2b8aa841ed6325547af970f8c4db 7040Author: Benno Schulenberg <bensberg@justemail.net> 7041Date: Sat Sep 7 19:53:38 2013 +0200 7042 7043 nls: Grouping the compose sequences for Dstroke/dstroke together. 7044 7045 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7046 Signed-off-by: James Cloos <cloos@jhcloos.com> 7047 7048commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 7049Author: Gioele Barabucci <gioele@svario.it> 7050Date: Sun Sep 21 23:05:55 2014 +0200 7051 7052 Add compose sequence for U+20B9 INDIAN RUPEE SIGN 7053 7054 The compose sequence for the new Indian Rupee sign is modelled after 7055 the sequence for the Euro sign. 7056 7057 Signed-off-by: Gioele Barabucci <gioele@svario.it> 7058 Signed-off-by: James Cloos <cloos@jhcloos.com> 7059 7060commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 7061Author: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 7062Date: Thu Jul 31 22:23:28 2014 -0300 7063 7064 Add double-arrow compose sequence 7065 7066 Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 7067 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7068 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7069 7070commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 7071Author: James Cloos <cloos@jhcloos.com> 7072Date: Fri Aug 1 18:30:42 2014 -0400 7073 7074 Add cs_CZ.UTF-8 locale to configure.ac 7075 7076 Commit cf4d5989383a should have included this. 7077 7078 Reported-by: Colin Harrison <colin.harrison@virgin.net> 7079 Signed-off-by: James Cloos <cloos@jhcloos.com> 7080 7081commit cf4d5989383acc4ed1b7eebadde9f380f2129766 7082Author: James Cloos <cloos@jhcloos.com> 7083Date: Tue Jul 29 15:02:56 2014 -0400 7084 7085 Add nls for cs_CZ.UTF-8 7086 7087 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 7088 override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 7089 to enter »ů«, and likewise for the majuscule, for the Czech locale. 7090 7091 This evidently is the norm for Czech keyboards. 7092 7093 Fixes bz#81875. 7094 7095 The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 7096 several other locales. That may require an update. 7097 7098 Reported-by: Vladimír Marek <vlmarek@volny.cz> 7099 Signed-off-by: James Cloos <cloos@jhcloos.com> 7100 7101commit d9f569572bd14db31921471e7b877523b5cf1e4c 7102Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7103Date: Sat Jul 26 12:17:47 2014 -0700 7104 7105 Fix source paths for out-of-tree lintlib builds 7106 7107 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7108 7109commit 0885cad1e4a9ed57266582be320be55259c881bf 7110Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7111Date: Sun Jul 20 09:21:20 2014 -0700 7112 7113 specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 7114 7115 Matches the way they were styled in original doc, before conversion 7116 to DocBook. 7117 7118 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7119 7120commit d0a9e9d56bb003315787201ee525b4d00fd54e06 7121Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7122Date: Sat Jul 19 23:55:47 2014 -0700 7123 7124 specs/XKB: acknowledge my contributions 7125 7126 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7127 7128commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 7129Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7130Date: Sat Jul 19 23:53:48 2014 -0700 7131 7132 specs/XKB: Trim leading spaces off text lines 7133 7134 perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 7135 7136 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7137 7138commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 7139Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7140Date: Sat Jul 19 20:30:55 2014 -0700 7141 7142 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 7143 7144 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7145 7146commit 5009621799444e9d1d284719f871d00be13e7330 7147Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7148Date: Sat Jul 19 12:34:28 2014 -0700 7149 7150 specs/XKB: Fix miscelleanous typos & spelling errors 7151 7152 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7153 7154commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 7155Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7156Date: Sat Jul 19 00:46:41 2014 -0700 7157 7158 specs/XKB: add some more indexterms by hand 7159 7160 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7161 7162commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 7163Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7164Date: Sat Jul 19 00:48:02 2014 -0700 7165 7166 specs/XKB: fixup various formatting issues in <programlisting>s 7167 7168 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7169 7170commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 7171Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7172Date: Fri Jul 18 23:56:29 2014 -0700 7173 7174 specs/XKB: fixup various formatting issues in <literallayout>s 7175 7176 Including translating some that are really just lists into 7177 <simplelist> markup. 7178 7179 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7180 7181commit 94b56774784ac00b9db02403aecea10bb0814c10 7182Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7183Date: Fri Jul 18 23:18:52 2014 -0700 7184 7185 specs/XKB: add some more links by hand 7186 7187 random bits where a link looked handy 7188 7189 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7190 7191commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 7192Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7193Date: Fri Jul 18 23:16:31 2014 -0700 7194 7195 specs/XKB: add links for terms in definition list under figure 1.1 7196 7197 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7198 7199commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 7200Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7201Date: Fri Jul 18 22:52:16 2014 -0700 7202 7203 specs/XKB: add links to more tables listing section references 7204 7205 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7206 7207commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 7208Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7209Date: Fri Jul 18 22:49:34 2014 -0700 7210 7211 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 7212 7213 Page numbers refer to old doc format, didn't translate to new one 7214 7215 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7216 7217commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 7218Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7219Date: Sat Jul 19 11:55:51 2014 -0700 7220 7221 specs/XKB: remove unwanted white space around C -> struct references 7222 7223 perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 7224 7225 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7226 7227commit 2be0cc0b2abbcc98cfd150210dea415a04787251 7228Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7229Date: Fri Jul 18 22:26:20 2014 -0700 7230 7231 specs/XKB: replace -> with → when used as arrow, not in C structs 7232 7233 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7234 7235commit bf1f3d6f6f995303624679ae546f507c70967dc0 7236Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7237Date: Fri Jul 18 22:21:10 2014 -0700 7238 7239 specs/XKB: replace => with ⇒ for double arrows 7240 7241 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7242 7243commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 7244Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7245Date: Sat Jul 19 11:33:35 2014 -0700 7246 7247 specs/XKB: Markup some ranges with – instead of - 7248 7249commit ec4075303c6c0d1d64bfe378e585968f9a137da7 7250Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7251Date: Fri Jul 18 22:10:45 2014 -0700 7252 7253 specs/XKB: Markup some subtractions with − instead of - 7254 7255 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7256 7257commit 441a267e461132a38abed205245f028686526f1d 7258Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7259Date: Fri Jul 18 22:04:40 2014 -0700 7260 7261 specs/XKB: make sure all files have DOCTYPEs so standard entities work 7262 7263 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7264 7265commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 7266Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7267Date: Fri Jul 18 21:55:41 2014 -0700 7268 7269 specs/XKB: Markup quoted terms as <quote> instead of with "" 7270 7271 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7272 7273commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 7274Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7275Date: Sat Jul 19 09:01:26 2014 -0700 7276 7277 specs/XKB: fixup newlines between tags and punctuation 7278 7279 Get rid of unwanted whitespace before punctuation by moving them to the 7280 lines with the tags, instead of before & after. 7281 7282 perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 7283 7284 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7285 7286commit 6d5ec492cd28c206423337f926503349702af5a6 7287Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7288Date: Fri Jul 18 21:29:33 2014 -0700 7289 7290 specs/XKB: fixup newlines between tags and parens 7291 7292 Get rid of unwanted whitespace inside parens by moving them to the 7293 lines with the tags, instead of before & after. 7294 7295 perl -i -0 -p \ 7296 -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 7297 -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 7298 7299 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7300 7301commit 59d688f4c787250e0b401a92b1db0437d8c60f2d 7302Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7303Date: Fri Jul 18 21:09:24 2014 -0700 7304 7305 specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 7306 7307 Also add <indexterm> entries for most of them, to make their definitions 7308 or introductions easy to find from the index. 7309 7310 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7311 7312commit 861f3087ee0f501362a67501f384c2ca4c7bfe73 7313Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7314Date: Thu Jul 10 20:00:53 2014 -0700 7315 7316 specs/XKB: Manual fixup of type markup 7317 7318 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7319 7320commit 6b96259dabe52701fd1bcaa0625b574180c4e769 7321Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7322Date: Thu Jul 10 15:00:30 2014 -0700 7323 7324 specs/XKB: Manual fixup of parameter markup 7325 7326 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7327 7328commit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 7329Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7330Date: Thu Jul 10 13:40:40 2014 -0700 7331 7332 specs/XKB: Manual fixup of struct name/field markup 7333 7334 Handles typos that caused the scripts to miss matches, misnamed structs, etc. 7335 7336 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7337 7338commit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 7339Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7340Date: Wed Jul 9 23:26:37 2014 -0700 7341 7342 specs/XKB: Manual fixup of symbol name markup 7343 7344 Handles typos that caused the scripts to miss matches, misnamed masks, etc. 7345 7346 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7347 7348commit eb1453a0c69606b8af96b90ddccf1b93a069fb35 7349Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7350Date: Wed Jul 9 00:03:23 2014 -0700 7351 7352 specs/XKB: Manual fixup of function name markup 7353 7354 Handles typos that caused the scripts to miss matches, functions like 7355 malloc & free from other libraries, function name patterns, etc. 7356 7357 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7358 7359commit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 7360Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7361Date: Thu Jul 10 19:42:31 2014 -0700 7362 7363 specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 7364 7365 No great fit in DocBook, so follow what we used in Xlib spec. 7366 7367 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7368 7369commit ed60df10aad15057577d5714c955d22d2a446e51 7370Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7371Date: Thu Jul 10 15:45:57 2014 -0700 7372 7373 specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 7374 7375 Also uses <guilabel> for LED names/labels, for lack of a better fit 7376 in DocBook. 7377 7378 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7379 7380commit f57b91ee497414083cc1bf481d28eb9ad9f965fb 7381Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7382Date: Thu Jul 10 15:41:19 2014 -0700 7383 7384 specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 7385 7386 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7387 7388commit cfd4279c9b59d7e87c9f7c67692c87973adb7667 7389Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7390Date: Thu Jul 10 11:08:14 2014 -0700 7391 7392 specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 7393 7394 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7395 7396commit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 7397Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7398Date: Wed Jul 9 23:30:54 2014 -0700 7399 7400 specs/XKB: Markup symbol names in table entries too 7401 7402 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7403 7404commit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 7405Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7406Date: Tue Jul 8 23:35:48 2014 -0700 7407 7408 specs/XKB: Markup *Ptr as <type> instead of <emphasis> 7409 7410 perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 7411 7412 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7413 7414commit 9f6c00629fd4b713082cc11f9150f7aafd272c89 7415Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7416Date: Tue Jul 8 23:34:29 2014 -0700 7417 7418 specs/XKB: Markup *Rec as <structname> instead of <emphasis> 7419 7420 perl -i -p -e \ 7421 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 7422 7423 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7424 7425commit 83839e37802b8b752c77859a95de60ad757feb79 7426Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7427Date: Tue Jul 8 23:29:49 2014 -0700 7428 7429 specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 7430 7431 Performed via: 7432 perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 7433 /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 7434 | sort -u > xkb-defines.pl 7435 perl -i -p -f xkb-defines.pl *.xml 7436 7437 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7438 7439commit 9e397ed37ce4cc70621de347de3a795df88d4506 7440Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7441Date: Tue Jul 8 22:53:12 2014 -0700 7442 7443 specs/XKB: Use ° instead of o for degrees. 7444 7445 Conversion from framemaker turned superscripted "o" into plain "o". 7446 7447 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7448 7449commit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 7450Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7451Date: Tue Jul 8 22:46:03 2014 -0700 7452 7453 specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 7454 7455 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7456 7457commit 33bef065683c8f910f3722730503c0c0699ee8be 7458Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7459Date: Tue Jul 8 22:26:56 2014 -0700 7460 7461 specs/XKB: Markup NULL as <symbol> instead of <emphasis> 7462 7463 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7464 7465commit f10aa1e09468bd28454d85ac8ab55d9dc7178029 7466Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7467Date: Tue Jul 8 22:22:29 2014 -0700 7468 7469 specs/XKB: Markup function args as <parameter> instead of <emphasis> 7470 7471 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7472 7473commit 79ba58cceb69521fcb313c69233cf93a9fcb177f 7474Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7475Date: Mon Jul 7 23:56:13 2014 -0700 7476 7477 specs/XKB: Convert remaining error names to errorname tags 7478 7479 Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 7480 are XKB-specific. (Plus some were badly split across tag boundaries.) 7481 7482 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7483 7484commit 42b2f5388c399949ece377f9cc9c479c06964972 7485Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7486Date: Mon Jul 7 23:16:56 2014 -0700 7487 7488 specs/XKB: manually fixup some more emphasis tagging mismatches 7489 7490 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7491 7492commit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 7493Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7494Date: Mon Jul 7 23:02:31 2014 -0700 7495 7496 specs/XKB: re-normalize <emphasis> layout in xml files 7497 7498 Same script as before, just with <!-- xref --> comments out of the way 7499 now. 7500 7501 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7502 7503commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 7504Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7505Date: Mon Jul 7 22:59:25 2014 -0700 7506 7507 specs/XKB: Remove remaining xref comments 7508 7509 All the places marked by these have been turned into the appropriate 7510 link, xref, or olink tags now. 7511 7512 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7513 7514commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 7515Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7516Date: Mon Jul 7 22:56:36 2014 -0700 7517 7518 specs/XKB: make olinks to xkbproto for references in section 10.13 7519 7520 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7521 7522commit fcda446877a62e7443d7bc704ba3610e90d1e755 7523Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7524Date: Mon Jul 7 22:22:28 2014 -0700 7525 7526 specs/XKB: Add <figure> tags and make Figure references link to them 7527 7528 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7529 7530commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 7531Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7532Date: Mon Jul 7 21:30:01 2014 -0700 7533 7534 specs/XKB: Turn Table references into links 7535 7536 Adds id attributes to all table tags so we can link to them 7537 7538 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7539 7540commit 135fa07b74cb50172c6a75768d499cd87ddb336e 7541Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7542Date: Sun Jul 6 21:29:59 2014 -0700 7543 7544 specs/XKB: Turn section references into xref links 7545 7546 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7547 7548commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 7549Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7550Date: Sun Jul 6 21:17:18 2014 -0700 7551 7552 specs/XKB: Turn Chapter references into xref links 7553 7554 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7555 7556commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 7557Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7558Date: Sun Jul 6 20:40:18 2014 -0700 7559 7560 specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 7561 7562 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7563 7564commit b00a7ddff2744238fbfe31c2298b02028a45a6ff 7565Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7566Date: Sun Jul 6 20:34:51 2014 -0700 7567 7568 specs/XKB: Markup function names as <function> instead of <emphasis> 7569 7570 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7571 7572commit bfbb58b7679221cb5c9212665209ea9099ad079a 7573Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7574Date: Sun Jul 6 20:25:46 2014 -0700 7575 7576 specs/XKB: normalize <emphasis> layout in xml files 7577 7578 - Stop placing <emphasis> on empty space, commas, and periods. 7579 - Move periods & commas after closing </emphasis> tag 7580 - move <emphasis> open & close tags to same line, instead of mirroring 7581 nroff layout. 7582 7583 Simplifies automating further transformations of these tags. 7584 7585 Performed via: 7586 perl -i -0 -p \ 7587 -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 7588 -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 7589 -e 's{\n([\.,])\s*}{\1\n}msg;' \ 7590 -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 7591 -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 7592 7593 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7594 7595commit b16ee69a0103109a661a88140a1765dcd7bda634 7596Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7597Date: Sun Jul 6 15:57:41 2014 -0700 7598 7599 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 7600 7601 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7602 7603commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 7604Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7605Date: Sun Jul 6 19:29:38 2014 -0700 7606 7607 specs/XKB: Add index 7608 7609 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7610 7611commit 72ae1d793be078db521dda60af578ece71f364de 7612Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7613Date: Sun Jul 6 13:21:40 2014 -0700 7614 7615 specs/XKB: Fix various markup issues in functiondecl tables 7616 7617 - Merge some functionargdecl entries incorrectly split across rows 7618 - Add missing parameter name markup to some functionargdecls 7619 - Add missing function prototype markup to a functiondecl 7620 - Remove stray emphasis tags in a functiondecl 7621 7622 Allows them to correctly convert to funcsynopsis markup in next step. 7623 7624 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7625 7626commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 7627Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7628Date: Sun Jul 6 12:15:23 2014 -0700 7629 7630 specs/XKB: Convert header filenames to filename tags 7631 7632 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7633 7634commit 5525e8433f93bce464412f27cffa203ea628f368 7635Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7636Date: Tue Jul 8 00:05:32 2014 -0700 7637 7638 specs/libX11: disengender a user reference 7639 7640 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7641 7642commit d8679eae9317b389ad4acb0430360ee0663e2af8 7643Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7644Date: Fri Jul 11 18:41:42 2014 -0700 7645 7646 specs/libX11: Correct value of IconicState to match Xutil.h 7647 7648 Xutil.h has always had a value of 3 for IconicState, since 2 was 7649 previously used for the long-obsolete ZoomState, so make the spec 7650 match what programs have used for decades. 7651 7652 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7653 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7654 7655commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 7656Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7657Date: Fri Jul 11 10:34:08 2014 -0700 7658 7659 Use C99 named initializers to fill in events passed to XSendEvent 7660 7661 Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 7662 and allows optimizer to order field initialization to best fit cache layout 7663 or other considerations. 7664 7665 Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 7666 instructions to rapidly zero-fill structs. 7667 7668 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7669 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7670 7671commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 7672Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7673Date: Sun Jul 6 11:13:49 2014 -0700 7674 7675 Fix validation of ctrls parameter to XkbGetPerClientControls() 7676 7677 Nothing in the XKB spec states that the memory pointed to by ctrls has to 7678 be initialized to any given value when passed to the function, only that 7679 it is set by the function to the values returned by the X server: 7680 http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 7681 7682 The check for the incoming value seems to be copied from 7683 XkbSetPerClientControls without explanation. 7684 7685 Instead change it to checking if ctrls is non-NULL, since there's no 7686 point asking the X server to return a value the caller won't even see. 7687 7688 Found while investigating report from cppcheck-1.65: 7689 [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 7690 dereference: ctrls - otherwise it is redundant to check it against null. 7691 7692 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7693 7694commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 7695Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7696Date: Sun Jul 6 10:54:57 2014 -0700 7697 7698 Fix map->num_types check in XkbAddKeyType() 7699 7700 Check is intended to ensure we allocate at least XkbNumRequiredTypes 7701 in map, but was accidentally marked with a ! causing the wrong check. 7702 7703 Reported-by: Harms <wharms@bfs,de> 7704 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7705 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7706 7707commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 7708Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7709Date: Sun Jul 6 15:08:21 2014 -0700 7710 7711 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 7712 7713 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7714 7715commit a06ea86773568926c36ae650b188fc818d540db7 7716Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7717Date: Sun Jul 6 15:04:27 2014 -0700 7718 7719 specs/libX11: Fix height & width in parameter lists to be two separate entries 7720 7721 "unsigned int width, unsigned int height", not a single parameter "height" 7722 of type "unsignedintwidth,". 7723 7724 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7725 7726commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 7727Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7728Date: Sun Jul 6 14:38:10 2014 -0700 7729 7730 specs/libX11: Fix x & y in parameter lists to be two separate parameters 7731 7732 "int x, int y" not a single parameter y of type "intx" 7733 7734 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7735 7736commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 7737Author: walter harms <wharms@bfs.de> 7738Date: Sat Jun 7 12:03:17 2014 +0200 7739 7740 lcDefConv.c: fix use before check 7741 7742 * Do not use variables before checked for NULL. 7743 * remove some superfluid spaces (Mark Kettenis) 7744 7745 Signed-off-by: Harms <wharms@bfs,de> 7746 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7747 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7748 7749commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 7750Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7751Date: Mon Jun 16 15:16:10 2014 -0700 7752 7753 Start adding Unicode 7.0 support to compose table 7754 7755 New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 7756 7757 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7758 7759commit a4679baaa18142576d42d423afe816447f08336c 7760Author: walter harms <wharms@bfs.de> 7761Date: Sat Jun 7 11:54:34 2014 +0200 7762 7763 rm redundant null checks 7764 7765 remove more redundant NULL checks 7766 note that _XkbFree() is really Xfree() 7767 7768 Signed-off-by: Harms <wharms@bfs,de> 7769 Reviewed-by: Rémi Cardona <remi@gentoo.org> 7770 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7771 7772commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 7773Author: walter harms <wharms@bfs.de> 7774Date: Sat Jun 7 15:17:27 2014 +0200 7775 7776 libX11: rm redundante NULL checks 7777 7778 This patch removes the last remaining NULL checks for Xfree() 7779 7780 Signed-off-by: Harms <wharms@bfs,de> 7781 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7782 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7783 7784commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 7785Author: walter harms <wharms@bfs.de> 7786Date: Fri Jun 6 22:53:05 2014 +0200 7787 7788 Remove more redundant null checks before Xfree() 7789 7790 Signed-off-by: Harms <wharms@bfs,de> 7791 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7792 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7793 7794commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 7795Author: walter harms <wharms@bfs.de> 7796Date: Thu Jun 5 18:37:40 2014 +0200 7797 7798 Remove redundant null checks before free 7799 7800 This patch removes some redundant null checks before free. 7801 It should not change the code otherwise. Be aware that this 7802 is only the first series. 7803 7804 Signed-off-by: Harms <wharms@bfs,de> 7805 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7806 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7807 7808commit 7d452fad5068ba92b964e92bc46708046f4044aa 7809Author: walter harms <wharms@bfs.de> 7810Date: Wed Jun 4 17:12:31 2014 +0200 7811 7812 libX11/lcUTF8.c fix: dereferenced before check 7813 7814 * Do not use variables before checked for NULL. 7815 7816 Signed-off-by: Harms <wharms@bfs,de> 7817 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7818 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7819 7820commit a3808f51517a720e7ff738208af60865779dd6ef 7821Author: walter harms <wharms@bfs.de> 7822Date: Wed Jun 4 17:10:20 2014 +0200 7823 7824 libX11/XKBNames.c fix: dereferenced before check 7825 7826 * Do not use variables before checked for NULL. 7827 7828 Signed-off-by: Harms <wharms@bfs,de> 7829 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7830 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7831 7832commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 7833Author: walter harms <wharms@bfs.de> 7834Date: Wed Jun 4 17:08:12 2014 +0200 7835 7836 libX11/lcGenConv.c fix: dereferenced before check 7837 7838 * Do not use variables before checked for NULL. 7839 7840 Signed-off-by: Harms <wharms@bfs,de> 7841 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7842 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7843 7844commit c6bc28d433243c32b3f74955f1478451b4fd27b5 7845Author: Andreas Schwab <schwab@linux-m68k.org> 7846Date: Sun Jan 19 16:59:13 2014 +0100 7847 7848 Restore lost tabs in sed commands 7849 7850 Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 7851 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7852 7853commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 7854Author: Benno Schulenberg <bensberg@justemail.net> 7855Date: Thu Sep 19 11:01:11 2013 +0200 7856 7857 nls: Transform Brazilian compose file to an include plus three overrides. 7858 7859 Signed-off-by: James Cloos <cloos@jhcloos.com> 7860 7861commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 7862Author: Benno Schulenberg <bensberg@justemail.net> 7863Date: Fri Sep 6 12:10:01 2013 +0200 7864 7865 nls: Adding the missing compose sequences with <comma> for O with ogonek. 7866 7867 All other vowels with ogoneks can already be composed using <comma>. 7868 7869 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7870 Signed-off-by: James Cloos <cloos@jhcloos.com> 7871 7872commit 655b60f48376069750b151c46da836fdd411c83b 7873Author: Benno Schulenberg <bensberg@justemail.net> 7874Date: Fri Sep 6 12:04:24 2013 +0200 7875 7876 nls: Adding the missing postfix sequences for composing vowels with ogoneks. 7877 7878 It existed for lowercase i, but not for uppercase I nor the other vowels. 7879 7880 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7881 Signed-off-by: James Cloos <cloos@jhcloos.com> 7882 7883commit 7f8f9a36ef901f31279c385caf960a22daeb33fe 7884Author: Owen W. Taylor <otaylor@fishsoup.net> 7885Date: Fri May 9 18:21:05 2014 -0400 7886 7887 Fix XNextRequest() after direct usage of XCB 7888 7889 When XCB owns the X socket, dpy->request is not updated, so 7890 NextRequest() and XNextRequest() return the wrong value. There's 7891 nothing we can do to fix NextRequest() while retaining ABI compat, 7892 but change XNextRequest() to grab the socket back from XCB, 7893 updating dpy->request. 7894 7895 Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 7896 Reviewed-by: Uli Schlachter <psychon@znc.in> 7897 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7898 7899commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 7900Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7901Date: Sun May 4 11:54:59 2014 -0700 7902 7903 Add missing .TE tags to end tables in Xkb man pages 7904 7905 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7906 7907commit 280274e5292e013b43e552274111fab434f5ed4e 7908Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7909Date: Sun May 4 11:23:17 2014 -0700 7910 7911 XCreateGC.man: simplify table to work with Solaris tbl 7912 7913 Having every table cell be a text diversion (T{...T}) was too much for 7914 Solaris tbl to handle, and thus "man XCreateGC" would print the error 7915 /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 7916 tbl quits 7917 and not display the table of mask bits or any text in the man page after 7918 that table. Since the #define column doesn't need special handling, 7919 making it not use text diversions brings the table under the tbl limit. 7920 7921 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7922 7923commit 93bb325a54025dd15f4744abce54b358960420f9 7924Author: James Cloos <cloos@jhcloos.com> 7925Date: Tue May 20 17:30:10 2014 -0400 7926 7927 Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 7928 7929 Parenleft is already in use for sequences of the form <(> <letter> <)> 7930 to generate circled letters. 7931 7932 Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 7933 7934 This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 7935 7936 Signed-off-by: James Cloos <cloos@jhcloos.com> 7937 7938commit 060707851be918f2f507a26d17b016f764ddf2b4 7939Author: Benno Schulenberg <bensberg@justemail.net> 7940Date: Fri Sep 6 11:42:59 2013 +0200 7941 7942 nls: Adding accessible compose sequences for Ș and Ț (with comma below). 7943 7944 Compose sequences with <dead_belowcomma> exist, but very few keyboard 7945 layouts contain that symbol. So a more usual character is needed to be 7946 able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 7947 used for composing letters with ogoneks -- but only vowels take ogoneks, 7948 so the character is free for consonants, and thus <semicolon> is used 7949 here to compose commas below. It is somewhat fitting, because on most 7950 Romanian keyboards the Ș is placed on that key, and the Ț next to it. 7951 7952 (Oh -- the more obvious sequences with <comma> were already taken for 7953 composing S and T with cedillas.) 7954 7955 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7956 Signed-off-by: James Cloos <cloos@jhcloos.com> 7957 7958commit ca435c2f753aa2961fb35ac448cdb2cc77112755 7959Author: Benno Schulenberg <bensberg@justemail.net> 7960Date: Tue Sep 3 21:10:33 2013 +0200 7961 7962 nls: Ordering some compose sequences in a more customary way. 7963 7964 The custom seems to be: pairing the ones that have only the sequence of 7965 two keys reversed, and putting the one with the diacritic first first. 7966 7967 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7968 Signed-off-by: James Cloos <cloos@jhcloos.com> 7969 7970commit f020235f4bd91fb6eade82f8c9f7b85a57981768 7971Author: Benno Schulenberg <bensberg@justemail.net> 7972Date: Tue Sep 3 20:44:42 2013 +0200 7973 7974 nls: Adding compose sequences (with <parenleft> first) that GTK also has. 7975 7976 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7977 Signed-off-by: James Cloos <cloos@jhcloos.com> 7978 7979commit bda0b3b5bd19154206dc40166364e73d4b6b1374 7980Author: Benno Schulenberg <bensberg@justemail.net> 7981Date: Tue Sep 3 11:14:16 2013 +0200 7982 7983 nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 7984 7985 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7986 Signed-off-by: James Cloos <cloos@jhcloos.com> 7987 7988commit 8be4610939b833587954957f5963eb4191b43d19 7989Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7990Date: Thu Mar 13 23:22:48 2014 -0700 7991 7992 Fix "follwing" typo in en_US.UTF-8/Compose comment 7993 7994 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7995 7996commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 7997Author: Reuben Thomas <rrt@sc3d.org> 7998Date: Mon Jan 27 14:18:24 2014 +0000 7999 8000 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 8001 8002 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8003 8004commit d6bd988bc00494914b38b95ee5df77ac4f32f19f 8005Author: Peter Hutterer <peter.hutterer@who-t.net> 8006Date: Mon Mar 3 12:38:48 2014 +1000 8007 8008 man: fix man page for XkbGetMap 8009 8010 Returned structure must be freed with XkbFreeKeyboard(). 8011 8012 Reported-by: Morten Bøgeskov <mb@dbc.dk> 8013 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8014 8015commit a6dcf2201a05adbff54122df05a1e6325936abb6 8016Author: Ran Benita <ran234@gmail.com> 8017Date: Tue Feb 11 13:26:16 2014 +0200 8018 8019 Remove dead USE_OWN_COMPOSE-protected code 8020 8021 The build doesn't provide any way to define this option. It also refers 8022 to files (imComp.h) and functions (e.g. XimCompInitTables(), 8023 XimCompProcessSym()) which are not found anywhere, and the ordinary 8024 Compose implementation in xim doesn't use any of it. 8025 8026 Signed-off-by: Ran Benita <ran234@gmail.com> 8027 Reviewed-by: Julien Cristau <jcristau@debian.org> 8028 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8029 8030commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 8031Author: Ran Benita <ran234@gmail.com> 8032Date: Sun Feb 16 15:24:58 2014 +0200 8033 8034 nls: always use XCOMM instead of # for comments in Compose.pre files 8035 8036 Lines starting with # are considered as preprocessor directives in the 8037 .pre files. 8038 8039 Fixes warnings like: 8040 <stdin>:3:0: error: invalid preprocessing directive #Khmer 8041 8042 Signed-off-by: Ran Benita <ran234@gmail.com> 8043 Signed-off-by: James Cloos <cloos@jhcloos.com> 8044 8045commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 8046Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8047Date: Thu Feb 6 13:48:08 2014 -0800 8048 8049 Fix typos in Xrm.c comments 8050 8051 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8052 8053commit aacf95dacc7c598e7297894580d4d655593813b2 8054Author: Marko Myllynen <myllynen@redhat.com> 8055Date: Mon Jan 13 16:43:18 2014 +0200 8056 8057 Annotate Finnish Compose map with Unicode code points 8058 8059 Scripted annotation, no functional changes. 8060 8061 Signed-off-by: James Cloos <cloos@jhcloos.com> 8062 8063commit 20fdccd81b54678376d49e00edfebbbe94951f07 8064Author: Teemu Likonen <tlikonen@iki.fi> 8065Date: Fri Jul 20 19:21:04 2012 +0300 8066 8067 Fix "RING ABOVE" key in the Finnish compose file 8068 8069 The Finnish keyboard standard defines that <dead_abovering> <space> must 8070 insert the character U+02DA RING ABOVE. Currently the Finnish Compose 8071 file inserts U+00B0 DEGREE SIGN even though the line's comment says 8072 "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 8073 8074 Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 8075 Signed-off-by: James Cloos <cloos@jhcloos.com> 8076 8077commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 8078Author: Ran Benita <ran234@gmail.com> 8079Date: Wed Jan 29 02:11:47 2014 +0200 8080 8081 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 8082 8083 Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 8084 keysyms: 8085 8086 #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 8087 #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 8088 8089 (and similarly for uhorn), there is no need to have both names. Remove 8090 the unicode literal ones. 8091 8092 Signed-off-by: Ran Benita <ran234@gmail.com> 8093 Signed-off-by: James Cloos <cloos@jhcloos.com> 8094 8095commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 8096Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8097Date: Sat Jan 18 22:35:18 2014 -0800 8098 8099 Add RANDR 1.4 requests & events to XErrorDB 8100 8101 Checked against randrproto.txt & randr.h 8102 8103 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8104 8105commit 321392ded15a7ee9d177d4ebe8846336ba76741c 8106Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8107Date: Fri Jan 3 20:04:33 2014 -0800 8108 8109 Remove unused ETEST & ESZTEST macros from XlibInt.c 8110 8111 Left behind when 15e5eaf62897 removed support for building without XCB. 8112 8113 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8114 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 8115 8116commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 8117Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8118Date: Thu Dec 26 09:26:13 2013 -0800 8119 8120 _XkbReadGeomOverlay: check for NULL first, then use pointer 8121 8122 Flagged by cppcheck 1.62: 8123 [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 8124 (warning) Possible null pointer dereference: row - otherwise it is 8125 redundant to check it against null. 8126 8127 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8128 8129commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 8130Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8131Date: Thu Dec 26 09:22:49 2013 -0800 8132 8133 XkbSelectEventDetails: remove unnecessary assignments 8134 8135 clear & selectAll are set to 0 already a few lines earlier, 8136 affectWhich is set to XkbMapNotifyMask a few lines later. 8137 None are used between the other assignments and the removed ones. 8138 8139 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8140 8141commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 8142Author: Jon TURNEY <jon.turney@dronecode.org.uk> 8143Date: Thu Oct 7 18:46:08 2010 +0100 8144 8145 Don't try so hard to find a matching font with the given encoding 8146 8147 See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 8148 8149 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 8150 does XCreateFontSet() with a font name of "*", we end up asking the server 8151 to list the (non-existent) fonts 11 times for each CJK encoding, which can 8152 take a while. 8153 8154 A * wildcard can match multiple components in a XLFD name in XListFonts(), 8155 so there's no need to try adding more than one to get a match. 8156 8157 We do try once with a leading '*-' in case the fontname isn't a full 8158 well-formed XLFD name, maybe even that isn't needed? 8159 8160 (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 8161 8162 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 8163 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8164 8165commit 7e163300735d4bcd3386b86eec112acdad139c59 8166Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8167Date: Mon Dec 2 21:51:27 2013 -0800 8168 8169 unifdef -UISC 8170 8171 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8172 8173commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 8174Author: Benno Schulenberg <bensberg@justemail.net> 8175Date: Thu Sep 19 13:20:05 2013 +0200 8176 8177 nls: Fix transposed locale identifier for Khmer. 8178 8179 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 8180 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8181 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8182 8183commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 8184Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8185Date: Sat Nov 16 20:21:54 2013 -0800 8186 8187 Drop X_LOCALE fallback for OS'es without setlocale() 8188 8189 C89 or bust! This was documented as being needed for "only Lynx, 8190 Linux-libc5, OS/2" and has never been enabled in modular builds, 8191 since none of those platforms have had anyone step up to add support 8192 since the X11R7 conversion to autotools. 8193 8194 Mostly performed with unifdef -UX_LOCALE, followed by removal of files 8195 left without any purpose, and manual cleanup of remaining references. 8196 8197 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8198 Reviewed-by: Adam Jackson <ajax@redhat.com> 8199 8200commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 8201Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8202Date: Wed Oct 23 10:37:53 2013 -0700 8203 8204 Xcms file parsing should not require the impossible to succeed 8205 8206 The field2 helper function, to split lines from Xcms.txt files into 8207 two tab delimited fields, contained a check: 8208 8209 if ((*pBuf != '\n') || (*pBuf != '\0')) { 8210 return(XcmsFailure); 8211 8212 which would cause it to return failure unless *pBuf had a value that 8213 was simultaneously equal to both \n & \0, and no one wants to live in 8214 a world where that could ever be true. 8215 8216 This has gone unnoticed since 1991, since this only caused lines 8217 in Xcms.txt that started with whitespace to be rejected, but now 8218 gcc -Wlogicalop has brought it to our attention, and 8219 https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 8220 8221 Now that we see it, and cannot unsee it, we change it to use the 8222 same logic as the check at other points in this function, to return 8223 failure only if we hit \n or \0 before we find the first non-whitespace 8224 character, so that lines starting with whitespace will have the space 8225 skipped over to get to the color name to be defined. 8226 8227 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8228 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 8229 8230commit 18a5278b008e9faa59b346fcab18a8d74b875fda 8231Author: Gaetan Nadon <memsize@videotron.ca> 8232Date: Sat Sep 28 17:33:52 2013 -0400 8233 8234 makekeys: don't need to use target-specific CFLAGS 8235 8236 It's the only thing built in that directory, so we can use AM_CFLAGS 8237 and AM_CPPFLAGS as usual. 8238 8239 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8240 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8241 8242commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 8243Author: James Cloos <cloos@jhcloos.com> 8244Date: Tue Sep 17 12:50:42 2013 -0400 8245 8246 nls/en_US.UTF-8/Compose.pre: Fix typo. 8247 8248 Fix typo added in 215ce6a67863, s/actute/acute/. 8249 8250 Fixes bug #69476. Reported by Jean Krohn. 8251 8252 Signed-off-by: James Cloos <cloos@jhcloos.com> 8253 8254commit cb107760df33ffc8630677e66e2e50aa37950a5c 8255Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8256Date: Sun Sep 8 18:37:01 2013 -0700 8257 8258 libX11 1.6.2 8259 8260commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 8261Author: Benno Schulenberg <bensberg@justemail.net> 8262Date: Sun Sep 1 12:38:30 2013 +0200 8263 8264 nls: Adding more accessible compose sequences for J́ and j́. 8265 8266 Few keyboards have an <acute> key, so this adds the much more 8267 accessible and usual compose sequences with <apostrophe>, ánd 8268 the most comfortable ones with <dead_acute>. 8269 8270 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 8271 Signed-off-by: James Cloos <cloos@jhcloos.com> 8272 8273commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 8274Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8275Date: Sat Aug 24 17:27:43 2013 -0700 8276 8277 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 8278 8279 Pass *new* size to realloc, not old size. 8280 8281 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8282 8283commit c2b8e30790c21d6386767265263b3294ce1b1f9a 8284Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8285Date: Fri Aug 16 21:04:02 2013 -0700 8286 8287 Stop checking for HAVE_DIX_CONFIG_H on the client side 8288 8289 Leftover from when these XKB files were shared with the server sources 8290 and could be compiled in either the client or server, with the different 8291 autoconf config files in each. 8292 8293 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8294 8295commit 84276609b2f0aec74fb464c428c7db5714b0fcfc 8296Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8297Date: Fri Aug 16 18:27:28 2013 -0700 8298 8299 Rearrange some variable declarations & initializations in XKB 8300 8301 Little things noticed during XKB restyling that seemed to make the 8302 code easier to read. 8303 8304 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8305 8306commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 8307Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8308Date: Sun Aug 11 13:29:33 2013 -0700 8309 8310 Reindent XKB code to X.Org standard style 8311 8312 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8313 8314commit c0a0f78eb49c2e4ad956209de77475c85b9314ea 8315Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8316Date: Fri Aug 16 18:14:14 2013 -0700 8317 8318 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 8319 8320 We were checking to make sure that the largest keysym value was within 8321 the range of the allocated buffer, but checking against different limits 8322 in the not-yet-allocated vs. the already-allocated branches. 8323 8324 The check should be the same in both, and reflect the size used for the 8325 allocation, which is based on the maximum key code value, so we move it 8326 to be a common check, before we branch, instead of duplicating in each 8327 branch. 8328 8329 map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 8330 map->syms is the array for which num_syms is recorded, hence is not the 8331 right value to check for ensuring our key_sym_map accesses are in range. 8332 8333 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8334 Reported-by: Barry Kauler <bkauler@gmail.com> 8335 Tested-by: Barry Kauler <bkauler@gmail.com> 8336 8337commit bea6cbd027973142fc64532274e1d16861b47190 8338Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8339Date: Sun Aug 11 17:02:21 2013 -0700 8340 8341 Remove long unused src/udcInf.c 8342 8343 I can find no record of what this file was for. Neither the X11R6.8.2 8344 monolith Imakefile nor any modular release Makefile.am have ever built 8345 it and nothing else references it. 8346 8347 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8348 8349commit bf3501e0395abe890acfea98fdd9f50a6966f118 8350Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8351Date: Sun Aug 11 00:07:33 2013 -0700 8352 8353 Remove unnecessary casts of pointers to (char *) in calls to Xfree() 8354 8355 Left one cast behind that is necessary to change from const char * 8356 to char * in src/xlibi18n/lcCharSet.c. 8357 8358 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8359 8360commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 8361Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8362Date: Sat Aug 10 23:57:55 2013 -0700 8363 8364 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 8365 8366 sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 8367 don't strip down to unsigned int and re-expand unnecessarily. 8368 8369 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8370 8371commit 25a7a329def672fc8d26078538173777850c6390 8372Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8373Date: Sat Aug 10 23:51:08 2013 -0700 8374 8375 Remove even more casts of return values from Xmalloc/Xrealloc 8376 8377 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8378 8379commit f8fa16092a148b74ca35b4beb182053352606f2f 8380Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8381Date: Sat Aug 10 23:05:13 2013 -0700 8382 8383 xlibi18n: fix argsize argument to _XlcParsePath 8384 8385 The array is defined as having NUM_LOCALEDIR entries, so use that 8386 instead of hardcoded 256 value (the other two calls already did this). 8387 8388 Reported by parfait: 8389 Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 8390 Pointer size is 64 elements (of 8 bytes each), index is 255 8391 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 8392 called at line 178 in function '_XlcParsePath' with argv = argv. 8393 called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 8394 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 8395 called at line 178 in function '_XlcParsePath' with argv = argv. 8396 called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 8397 8398 [ This bug was found by the Parfait 1.2.0 bug checking tool. 8399 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 8400 8401 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8402 8403commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 8404Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8405Date: Sat Aug 10 22:32:42 2013 -0700 8406 8407 i18n modules: Fix some const cast warnings 8408 8409 imRm.c: In function '_XimSetICMode': 8410 imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8411 imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8412 8413 lcGenConv.c: In function 'byteM_parse_codeset': 8414 lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8415 8416 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8417 8418commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 8419Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8420Date: Sat Aug 10 22:21:54 2013 -0700 8421 8422 xlibi18n: Fix a bunch of const cast warnings 8423 8424 Add const qualifiers to casts where needed, remove other casts that 8425 are no longer needed. 8426 8427 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8428 8429commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 8430Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8431Date: Sat Aug 10 22:18:00 2013 -0700 8432 8433 Fix const handling in XSetLocaleModifiers 8434 8435 Instead of reusing the input parameter to store the output, make a 8436 result variable instead, so that there's less const confusion. 8437 8438 Fixes gcc warnings: 8439 lcWrap.c: In function 'XSetLocaleModifiers': 8440 lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8441 lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8442 lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8443 8444 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8445 8446commit 8ebbffa98563960910152e4f2e31cb032375d871 8447Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8448Date: Sat Aug 10 21:46:37 2013 -0700 8449 8450 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 8451 8452 Makes code considerably less crufty and clears gcc warnings: 8453 XlcDL.c: In function '_XlcDynamicLoad': 8454 XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 8455 from pointer target type [-Wcast-qual] 8456 XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 8457 from pointer target type [-Wcast-qual] 8458 8459 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8460 8461commit 07e4e864107b38c2f393564fdacc90f4e858f23f 8462Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8463Date: Sat Aug 10 13:37:53 2013 -0700 8464 8465 init_om: remove unneeded extra copy of string to local buffer 8466 8467 Strings from the supported_charset_list[] were being copied one by 8468 one to a stack buffer, and then strdup called on that buffer. 8469 8470 Instead, just strdup the original string, without the local copy, 8471 and use a more traditional for loop, so it's easier to figure out 8472 what the code is doing (cleaning up a gcc const-cast warning in 8473 the process). 8474 8475 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8476 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8477 8478commit 1cec14dad904ba21a861f4af131be5982ecb83dd 8479Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8480Date: Sat Aug 10 12:34:53 2013 -0700 8481 8482 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 8483 8484 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8485 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8486 8487commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 8488Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8489Date: Sat Aug 10 12:19:17 2013 -0700 8490 8491 miRegionOp(): ensure region size is not updated if realloc fails 8492 8493 This function performs operations on a region, and when finished, 8494 checks to see if it should compact the rectangle list. If the 8495 number of rectangles for which memory is allocated in the list is 8496 more than twice the number used, it tries to shrink. realloc() 8497 should not fail in this case, but if it does, might as well keep 8498 the correct value for the number of allocated rectangles, so we 8499 don't try to grow it unnecessarily later if adding to the region. 8500 8501 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8502 8503commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 8504Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8505Date: Sat Aug 10 12:19:17 2013 -0700 8506 8507 miRegionCopy(): handle realloc failure better 8508 8509 Zero out the region size when freeing the region so callers don't think 8510 there's anything there. (Pointer is already set to NULL from the realloc 8511 result itself.) Return 0 to the callers, and have them cascade that back 8512 to their callers to indicate failure, instead of their usual return value 8513 of 1 on success. 8514 8515 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8516 8517commit 5dc8b5385d513bbda88697c2372db750d23f46d4 8518Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8519Date: Sat Aug 10 11:27:22 2013 -0700 8520 8521 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 8522 8523 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8524 8525commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 8526Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8527Date: Sat Aug 10 12:07:51 2013 -0700 8528 8529 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 8530 8531 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8532 8533commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 8534Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8535Date: Sat Aug 10 12:30:39 2013 -0700 8536 8537 lcDB.c: ensure buffer size is updated correctly if realloc fails 8538 8539 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8540 8541commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 8542Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8543Date: Sat Aug 10 11:07:47 2013 -0700 8544 8545 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 8546 8547 Previously, if realloc failed to increase the size, we'd still 8548 record that we had allocated the larger size, but the pointer 8549 to it would be NULL, causing future calls to be broken, and the 8550 previous allocation to be lost/leaked. 8551 8552 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8553 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8554 8555commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 8556Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8557Date: Fri Aug 9 23:33:03 2013 -0700 8558 8559 omGeneric.c: convert sprintf calls to snprintf 8560 8561 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8562 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8563 8564commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 8565Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8566Date: Fri Aug 9 23:30:30 2013 -0700 8567 8568 ximcp/imRm.c: convert sprintf calls to snprintf 8569 8570 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8571 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8572 8573commit 4fadae243fb485628c9a137f5da3489ed6214b21 8574Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8575Date: Fri Aug 9 23:02:12 2013 -0700 8576 8577 xlibi18n: convert sprintf calls to snprintf 8578 8579 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8580 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8581 8582commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 8583Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8584Date: Fri Aug 9 23:02:12 2013 -0700 8585 8586 lcfile: skip over any null entries in args list 8587 8588 Previous code seemed to assume that printf("%s", NULL) would result 8589 in a 0-length string, not "(null)" or similar, but since there's no 8590 point looking for files in "(null)/filepath...", instead we just 8591 skip over NULL entries in search paths when generating file names. 8592 8593 In the *DirName() functions, this effectively just moves the "bail on 8594 NULL in arg[i]" check up from the later code that assigned it to targetdir 8595 and then bailed if that was NULL. 8596 8597 Not sure how there ever could be a NULL in arg[i], given the current 8598 implementation of XlcParsePath, but it's easy enough to check once and 8599 reject up front instead of on every reference. 8600 8601 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8602 8603commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 8604Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8605Date: Fri Aug 9 22:00:09 2013 -0700 8606 8607 Fix file leak on malloc error in XlcDL.c:resolve_object() 8608 8609 File Leak: Leaked File fp 8610 at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 8611 fp initialized at line 198 with fopen 8612 8613 [ This bug was found by the Parfait 1.2.0 bug checking tool. 8614 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 8615 8616 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8617 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8618 8619commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 8620Author: Julien Cristau <jcristau@debian.org> 8621Date: Sat Jun 15 18:02:21 2013 +0200 8622 8623 Add missing locales to configure.ac 8624 8625 Commits 40761898692e5063957bfa2518cca3d35b2e354a and 8626 f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 8627 (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 8628 meaning they're not included in tarballs. 8629 8630 Signed-off-by: Julien Cristau <jcristau@debian.org> 8631 Reviewed-by: James Cloos <cloos@jhcloos.com> 8632 8633commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 8634Author: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 8635Date: Tue Dec 18 15:28:05 2012 +0000 8636 8637 Fix bogus timestamp generated by XIM 8638 8639 Fix bogus timestamp generted by XIM due to uninitialized 8640 data field. Also set appropriate serial, too. 8641 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 8642 8643 Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 8644 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8645 8646commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 8647Author: Egbert Eich <eich@freedesktop.org> 8648Date: Thu Jun 16 18:47:49 2011 +0200 8649 8650 XIM: Fix sync problem on focus change. 8651 8652 XSetICFocus() and XUnsetICFocus() are both asynchronous events. 8653 This is a pretty stupid idea: those functions may undo certain 8654 settings on the client side for which requests from the server 8655 may still be in the queue unprocessed. Thus things may be set 8656 in the wrong order ie instead of set -> unest it will be unset -> set. 8657 Moreover there is no way for either the client or the server to 8658 cause the event queue to be flushed - which is pretty bad as 8659 XIM is bidirectional. 8660 The scenario is as follows: 8661 Two ICs are created: 8662 ic1 = XCreateIC(im, 8663 XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 8664 XNClientWindow, window, 8665 XNPreeditAttributes, preedit_attr, 8666 XNStatusAttributes, status_attr, 8667 NULL); 8668 ic2 = XCreateIC(im, XNInputStyle, 8669 XIMPreeditNothing | XIMStatusNothing, 8670 XNClientWindow, window, NULL); 8671 Then the focus is removed from ic2: 8672 XUnsetICFocus(ic2); 8673 If SCIM is used as the input server it will send a bunch of requests 8674 following an XCreateIC(). One of the requests registers a key release 8675 filter. XUnsetICFocus() unsets both key press and release filters. 8676 Since it is asynchronous, the input server requests to register key 8677 press and release filters may not have been processed, when XUnsetICFocus() 8678 is called. Since there is no explicite way for client programs to enforce 8679 the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 8680 call it would be safest to make those two calls synchronous in the sense 8681 that they ensure the request queue has been handled before they execute. 8682 The easiest way to do this from Xlib is thru a call to XGetICValues() 8683 which sends a request to the server and subsequently reads the queue 8684 from the server to the client. This will cause all outstanding requests 8685 in the queue to be read and handled. 8686 This is an ugly hack and this could be fixed directly in the client, 8687 however it seems to be easier to fix Xlib than to fix numerous clients. 8688 This problem arose since there is no well documented way how to handle 8689 and synchronize XIM requests and not all input servers send requests 8690 when an IC is created. 8691 This has been discussed extensively in: 8692 https://bugzilla.novell.com/show_bug.cgi?id=221326 8693 8694 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8695 8696commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 8697Author: Egbert Eich <eich@freedesktop.org> 8698Date: Thu Jun 16 17:28:39 2011 +0200 8699 8700 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 8701 8702 When synthesized key events are sent on commit XIM sets the 'fabricated' 8703 flag so that the keypress handler knows that these were not real events. 8704 This also happens when committing due to the loss of focus. However in this 8705 case the keypress/release filters which consume and unset this flag are no 8706 longer in the filter chain. 8707 So the flag is erronously set when a real keyboard event is received after 8708 focus has been regained. So the first event is wrongly treated as a 8709 fabricated key in the keypress handler which will at the same time reset 8710 the flag so the second key event is treated correctly. 8711 This fix only sets the flag when at least one of the keyboard filters is in 8712 place. 8713 How to reproduce this bug: run scim, choose a Japanese input method start 8714 two instances of xterm: start typing in one xterm (this should pop up an 8715 IM window). Without comitting (hitting 'enter') move focus to the other 8716 xterm, then move focus back. Start typing again. The first character will 8717 be committed immediately without popping up an input window. 8718 With this fix this behavior is gone. 8719 8720 See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 8721 8722 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8723 8724commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 8725Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8726Date: Mon Jul 29 21:29:49 2013 -0700 8727 8728 libX11 1.6.1 8729 8730 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8731 8732commit d19cfaca15826943d3c637ef7fa5db0a23d5feed 8733Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8734Date: Sat Jul 27 12:19:00 2013 -0700 8735 8736 Fix undefined XCMSDIR error when building lint library 8737 8738 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8739 8740commit 3083cd43d7dcd59da587975e7cadda681cd8a103 8741Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8742Date: Sat Jul 27 00:36:08 2013 -0700 8743 8744 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 8745 8746 Upstreaming from changes originally integrated into OpenSolaris 8747 under Sun bug id 6882572. 8748 8749 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8750 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 8751 8752commit 208e586c808e88a2ee819e4450dc27f557afc2bf 8753Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8754Date: Sat Jul 27 01:03:18 2013 -0700 8755 8756 omGeneric: remove space between struct name & member name 8757 8758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8759 8760commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 8761Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8762Date: Tue Jul 23 22:18:46 2013 -0700 8763 8764 Refactor common code from XAddHost & XRemoveHost into single function 8765 8766 On the Xlib side, the only real difference is the mode flag we send 8767 to the server with the address, so just make that an argument to the 8768 function with the common code for packing the address into the request. 8769 8770 (Aside from labels, gcc 4.7.2 generates identical code before & after 8771 this change due to inlining, verified via diff of gcc -S output.) 8772 8773 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8774 8775commit 3292195a64a9ce4f0d27134cd544651ec647e728 8776Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8777Date: Tue Jul 23 22:11:34 2013 -0700 8778 8779 XSetModifierMapping: Use Data instead of GetReqExtra 8780 8781 Handle arbitrary length data in the same fashion as other calls, 8782 avoiding need to ensure it fits all in the request buffer. 8783 8784 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8785 8786commit feb131b18aee31c2c125dc3275b0260940245882 8787Author: Kees Cook <kees@outflux.net> 8788Date: Sun Jun 9 11:13:43 2013 -0700 8789 8790 libX11: check "req" when calling GetReqExtra 8791 8792 This fixes the two callers of GetReqExtra to check that "req" is non-NULL 8793 to avoid crashing now that GetReqExtra does internal bounds-checking on 8794 the resulting buffer sizes. 8795 8796 Additionally updates comment describing return values to use names 8797 instead of only literal values. 8798 8799 Signed-off-by: Kees Cook <kees@outflux.net> 8800 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8801 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8802 8803commit 54540d7cba0c2bfe9176221c7bca910058d304df 8804Author: Kees Cook <kees@outflux.net> 8805Date: Sun Jun 9 11:13:42 2013 -0700 8806 8807 libX11: check size of GetReqExtra after XFlush 8808 8809 Two users of GetReqExtra pass arbitrarily sized allocations from the 8810 caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 8811 macro) to double-check the requested length and invalidate "req" when 8812 this happens. Users of GetReqExtra passing lengths greater than the Xlib 8813 buffer size (normally 16K) must check "req" and fail gracefully instead 8814 of crashing. 8815 8816 Any callers of GetReqExtra that do not check "req" for NULL 8817 will experience this change, in the pathological case, as a NULL 8818 dereference instead of a buffer overflow. This is an improvement, but 8819 the documentation for GetReqExtra has been updated to reflect the need 8820 to check the value of "req" after the call. 8821 8822 Bug that manifested the problem: 8823 https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 8824 8825 Signed-off-by: Kees Cook <kees@outflux.net> 8826 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8827 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8828 8829commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 8830Author: Thomas Klausner <wiz@NetBSD.org> 8831Date: Tue Jun 25 22:35:29 2013 +0200 8832 8833 Tighten out-of-range comparisons. 8834 8835 [For all of these, LONG_MAX was the correct value to prevent overflows 8836 for the recent CVEs. Lowering to INT_MAX catches buggy replies from 8837 the server that 32-bit clients would reject but 64-bit would accept, 8838 so we catch bugs sooner, and really, no sane & working server should 8839 ever report more than 2gb of extension names, font path entries, 8840 key modifier maps, etc. -alan- ] 8841 8842 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8843 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8844 8845commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 8846Author: Thomas Klausner <wiz@NetBSD.org> 8847Date: Tue Jun 25 18:34:32 2013 +0200 8848 8849 Fix out-of-range comparison in _XF86BigfontQueryFont 8850 8851 clang complained (correctly): 8852 warning: comparison of constant 768614336404564650 with expression 8853 of type 'CARD32' (aka 'unsigned int') is always true 8854 [-Wtautological-constant-out-of-range-compare] 8855 8856 [While LONG_MAX is correct, since it's used in size_t math, the 8857 numbers have to be limited to 32-bit range to be usable by 32-bit 8858 clients, and values beyond that range are far more likely to be 8859 bugs in the data from the server than valid numbers of characters 8860 in a font. -alan- ] 8861 8862 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8863 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8864 8865commit 383e2b0d029482a0f4c39fe00e15397538576fc1 8866Author: Thomas Klausner <wiz@NetBSD.org> 8867Date: Tue Jun 25 18:33:56 2013 +0200 8868 8869 Check for symbol existence with #ifdef, not #if 8870 8871 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8872 8873 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8874 8875commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 8876Author: Thomas Klausner <wiz@NetBSD.org> 8877Date: Tue Jun 25 18:33:07 2013 +0200 8878 8879 Use newer callback-based API for XIM. 8880 8881 Let libX11 load and make available the newer (X11R6) callback-based 8882 API for XIM (expected by emacs). 8883 8884 This patch updates the files to match the other nls/ files. 8885 8886 Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 8887 following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 8888 8889 Reviewed-by: James Cloos <cloos@jhcloos.com> 8890 8891 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8892 8893commit a17ceb7100bd36c2db210473ee701deb5d515731 8894Author: Thomas Klausner <wiz@NetBSD.org> 8895Date: Tue Jun 25 18:31:32 2013 +0200 8896 8897 Stop truncating source to destination length if it is larger. 8898 8899 It seems useless to do that since the code tests for both source 8900 length and destination to be non-zero. This fixes a cut'n'paste 8901 problem in xterm where the paste length was limited to 1024 (BUFSIZ) 8902 in button.c. 8903 8904 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8905 8906commit a336db9a0add3ae0783dda6e52459236622a12af 8907Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8908Date: Mon Jun 24 23:02:05 2013 -0700 8909 8910 Require ANSI C89 pre-processor, drop pre-C89 token pasting support 8911 8912 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8913 8914commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 8915Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8916Date: Fri Jun 7 11:30:11 2013 -0700 8917 8918 troff macro expansion in specs/libX11 8919 8920 Many of the custom nroff macros (.ds <macro> <contents>) were left 8921 unsubstituted in the nroff->docbook conversion. This substitution 8922 is now performed, via the following perl script: 8923 8924 #! /usr/bin/perl -w -i 8925 8926 use Text::Wrap; 8927 8928 while ($_ = <>) { 8929 while ($_ =~ m/\((\w+)\b/g) { 8930 my $m = $1; 8931 if (exists $macro{$m}) { 8932 $_ =~ s/\($m/$macro{$m}/; 8933 $_ = wrap('', '', $_); 8934 $_ =~ s/[ \t]+$//; 8935 } 8936 } 8937 8938 if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 8939 my ($m, $s) = ($1, $2); 8940 $macro{$m} = $s; 8941 while ($macro{$m} =~ /\\\s*$/) { 8942 $macro{$m} =~ s/\\\s*$//ms; 8943 $macro{$m} .= <>; 8944 chomp($macro{$m}); 8945 } 8946 $macro{$m} =~ s/\\ / /g; 8947 } else { 8948 print $_; 8949 } 8950 } 8951 8952 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8953 8954commit 20c17bd9ebf767a24643279e45866dddcb57b5ce 8955Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8956Date: Fri Jun 7 09:27:26 2013 -0700 8957 8958 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 8959 8960 The XListPixmapFormats arguments was being shown with XImageByteOrder's 8961 name and return types. Appears to have been a glitch in the nroff -> 8962 docbook conversion. 8963 8964 Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 8965 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8966 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8967 8968commit ed3d830243c8a0eefaf24e15b11823272ffe5049 8969Author: Thomas Klausner <wiz@NetBSD.org> 8970Date: Sun Jun 2 20:49:55 2013 +0200 8971 8972 Deal with the limited range of VAX floating point numbers when compiling for VAX. 8973 8974 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8975 8976commit 0a48235d63639fb917c44d27c86e928e79fbac66 8977Author: Eric S. Raymond <esr@thyrsus.com> 8978Date: Thu Jun 6 16:43:56 2013 -0400 8979 8980 Remove call to undefined macro. 8981 8982commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 8983Author: Eric S. Raymond <esr@thyrsus.com> 8984Date: Thu Jun 6 16:42:20 2013 -0400 8985 8986 Remove call to undefined macro. 8987 8988commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 8989Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8990Date: Mon Jun 3 20:06:43 2013 -0700 8991 8992 Update README to reflect where to find the Xlib specs now 8993 8994 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8995 8996commit 655d631e86c95b14888758b27ed2836ca3e3ce86 8997Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8998Date: Mon Jun 3 19:21:06 2013 -0700 8999 9000 libX11 1.6.0 9001 9002 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9003 9004commit 4a89b7ea908554628f374537a79931c8006a2de3 9005Author: Thomas Klausner <wiz@NetBSD.org> 9006Date: Sun Jun 2 11:49:54 2013 -0700 9007 9008 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 9009 9010 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9011 9012commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 9013Author: Thomas Klausner <wiz@NetBSD.org> 9014Date: Sun Jun 2 20:49:48 2013 +0200 9015 9016 XCreateGC man page: Avoid .TS H and .TH macros 9017 9018 Avoid .TS H and .TH for now as it doesn't alter the output in this case, 9019 and improve the output with mandoc(1). 9020 9021 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9022 9023commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 9024Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9025Date: Thu May 23 19:43:35 2013 -0700 9026 9027 libX11 1.5.99.902 (1.6 RC2) 9028 9029 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9030 9031commit a3bdd2b090915fe0163b062f0e6576fe05dd332e 9032Author: Julien Cristau <jcristau@debian.org> 9033Date: Thu May 23 20:39:46 2013 +0200 9034 9035 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 9036 9037 The size of the arrays is max_key_code + 1. This makes these functions 9038 consistent with the other checks added for CVE-2013-1997. 9039 9040 Also check the XkbGetNames reply when names->keys was just allocated. 9041 9042 Signed-off-by: Julien Cristau <jcristau@debian.org> 9043 Tested-by: Colin Walters <walters@verbum.org> 9044 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9045 9046commit 7e30056e78e4b7979ff47f102e00327617266019 9047Author: Niveditha Rau <Niveditha.Rau@Oracle.COM> 9048Date: Fri May 17 15:26:21 2013 -0700 9049 9050 Make sure internal headers include required headers 9051 9052 Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 9053 longer ignores *.h files, but complains when they reference undefined 9054 typedefs or macros. 9055 9056 Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 9057 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9058 9059commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 9060Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9061Date: Thu May 16 23:05:36 2013 -0700 9062 9063 Free fs->properties in _XF86BigfontQueryFont overflow error path 9064 9065 Fixes small memory leak introduced in commit 5669a22081 9066 9067 Reported-by: Julien Cristau <jcristau@debian.org> 9068 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9069 9070commit 3131740513133a9ff7cb12123d29ceb18584fc38 9071Author: Matthieu Herrb <matthieu.herrb@laas.fr> 9072Date: Wed May 8 19:33:09 2013 +0200 9073 9074 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 9075 9076 Freeing a pointer that wasn't returned by malloc() is undefined 9077 behavior and produces an error with OpenBSD's implementation. 9078 9079 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9080 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9081 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9082 9083commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 9084Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9085Date: Fri Apr 19 14:30:40 2013 -0700 9086 9087 Give GNU & Solaris Studio compilers hints about XEatData branches 9088 9089 Try to offset the cost of all the recent checks we've added by giving 9090 the compiler a hint that the branches that involve us eating data 9091 are less likely to be used than the ones that process it. 9092 9093 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9094 9095commit e1b457beb8d4e831ef44279dada6c475cb955738 9096Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9097Date: Sun Mar 31 12:22:35 2013 -0700 9098 9099 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 9100 9101 Various other bounds checks in the code assume this is true, so 9102 enforce it when we first get the data from the X server. 9103 9104 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9105 9106commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 9107Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9108Date: Sat Mar 16 10:03:13 2013 -0700 9109 9110 Use calloc in XOpenDisplay to initialize structs containing pointers 9111 9112 Prevents trying to free uninitialized pointers if we have to bail out 9113 partway through setup, such as if we receive a corrupted or incomplete 9114 connection setup block from the server. 9115 9116 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9117 9118commit d38527e25f8b6e2f1174ecc21260c5c5416f972e 9119Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9120Date: Thu Mar 7 23:46:05 2013 -0800 9121 9122 Remove more unnecessary casts from Xmalloc/calloc calls 9123 9124 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9125 9126commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 9127Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9128Date: Sat Mar 2 16:56:16 2013 -0800 9129 9130 Convert more _XEatData callers to _XEatDataWords 9131 9132 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9133 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9134 9135commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 9136Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9137Date: Sat Mar 9 11:04:37 2013 -0800 9138 9139 Make XGetWindowProperty() always initialize returned values 9140 9141 Avoids memory corruption and other errors when callers access them 9142 without checking to see if XGetWindowProperty() returned an error value. 9143 9144 Callers are still required to check for errors, this just reduces the 9145 damage when they don't. 9146 9147 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9148 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9149 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9150 9151commit db1b1c871da29aa0545182bf888df81627f165a5 9152Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9153Date: Sat Mar 2 15:08:21 2013 -0800 9154 9155 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 9156 9157 Ensure that when breaking the returned list into individual strings, 9158 we don't walk past the end of allocated memory to write the '\0' bytes 9159 9160 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9161 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9162 9163commit 8d5936594993921acdfec778dd8f41b555e2543a 9164Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9165Date: Sat Mar 2 15:08:21 2013 -0800 9166 9167 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 9168 9169 Ensure that when breaking the returned list into individual strings, 9170 we don't walk past the end of allocated memory to write the '\0' bytes 9171 9172 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9173 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9174 9175commit 0c404db6a92dc2c198328bf586c02d8abbe02013 9176Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9177Date: Sat Mar 2 15:08:21 2013 -0800 9178 9179 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 9180 9181 Ensure that when breaking the returned list into individual strings, 9182 we don't walk past the end of allocated memory to write the '\0' bytes 9183 9184 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9185 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9186 9187commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 9188Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9189Date: Sat Mar 2 15:08:21 2013 -0800 9190 9191 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 9192 9193 Ensure that we don't underallocate when the server claims a very large reply 9194 9195 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9196 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9197 9198commit a351b8103b2ba78882e1c309e85893ca3abe2073 9199Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9200Date: Sat Mar 2 15:08:21 2013 -0800 9201 9202 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 9203 9204 Ensure that we don't underallocate when the server claims a very large reply 9205 9206 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9207 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9208 9209commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 9210Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9211Date: Sat Mar 2 15:08:21 2013 -0800 9212 9213 integer overflow in XGetImage() [CVE-2013-1981 11/13] 9214 9215 Ensure that we don't underallocate when the server claims to have sent a 9216 very large reply. 9217 9218 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9219 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9220 9221commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 9222Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9223Date: Fri Mar 8 22:25:35 2013 -0800 9224 9225 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 9226 9227 If the reported number of properties is too large, the calculations 9228 to allocate memory for them may overflow, leaving us returning less 9229 memory to the caller than implied by the value written to *nitems. 9230 9231 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9232 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9233 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9234 9235commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 9236Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9237Date: Sat Mar 2 13:18:48 2013 -0800 9238 9239 integer overflows in TransFileName() [CVE-2013-1981 9/13] 9240 9241 When trying to process file paths the tokens %H, %L, & %S are expanded 9242 to $HOME, the standard compose file path & the xlocaledir path. 9243 If enough of these tokens are repeated and values like $HOME are set to 9244 very large values, the calculation of the total string size required to 9245 hold the expanded path can overflow, resulting in allocating a smaller 9246 string than the amount of data we'll write to it. 9247 9248 Simply restrict all of these values, and the total path size to PATH_MAX, 9249 because really, that's all you should need for a filename path. 9250 9251 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9252 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9253 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9254 9255commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 9256Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9257Date: Fri Mar 1 18:37:37 2013 -0800 9258 9259 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 9260 9261 Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 9262 to specify filename. 9263 9264 If the size of off_t is larger than the size of unsigned long (as in 9265 32-bit builds with large file flags), a file larger than 4 gigs could 9266 have its size truncated, leading to data from that file being written 9267 past the end of the undersized buffer allocated for it. 9268 9269 While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 9270 builders may have added the large file compilation flags to CFLAGS on 9271 their own. 9272 9273 size is left limited to an int, because if your Xim file is 9274 larger than 2gb, you're doing it wrong. 9275 9276 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9277 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9278 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9279 9280commit 226622349a4b1e16064649d4444a34fb4be4f464 9281Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9282Date: Sat Mar 2 12:39:58 2013 -0800 9283 9284 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 9285 9286 parseline() can call _XimParseStringFile() which can call parseline() 9287 which can call _XimParseStringFile() which can call parseline() .... 9288 eventually causing recursive stack overflow and crash. 9289 9290 Limit is set to a include depth of 100 files, which should be enough 9291 for all known use cases, but could be adjusted later if necessary. 9292 9293 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9294 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9295 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9296 9297commit 236b603d235dc264d1c6250dca09c745458a9088 9298Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9299Date: Sat Mar 2 12:01:39 2013 -0800 9300 9301 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 9302 9303 GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 9304 which can call GetDatabase() which can call GetIncludeFile() .... 9305 eventually causing recursive stack overflow and crash. 9306 9307 Easily reproduced with a resource file that #includes itself. 9308 9309 Limit is set to a include depth of 100 files, which should be enough 9310 for all known use cases, but could be adjusted later if necessary. 9311 9312 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9313 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9314 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9315 9316commit 076428918e6c35f66b9b55c3fa097ff06496d155 9317Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9318Date: Fri Mar 1 18:37:37 2013 -0800 9319 9320 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 9321 9322 Called from XrmGetFileDatabase() which gets called from InitDefaults() 9323 which gets the filename from getenv ("XENVIRONMENT") 9324 9325 If file is exactly 0xffffffff bytes long (or longer and truncates to 9326 0xffffffff, on implementations where off_t is larger than an int), 9327 then size may be set to a value which overflows causing less memory 9328 to be allocated than is written to by the following read() call. 9329 9330 size is left limited to an int, because if your Xresources file is 9331 larger than 2gb, you're very definitely doing it wrong. 9332 9333 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9334 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9335 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9336 9337commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 9338Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9339Date: Sat Mar 2 11:44:19 2013 -0800 9340 9341 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 9342 9343 LoadColornameDB() calls stringSectionSize() to do a first pass over the 9344 file (which may be provided by the user via XCMSDB environment variable) 9345 to determine how much memory needs to be allocated to read in the file, 9346 then allocates the returned sizes and calls ReadColornameDB() to load the 9347 data from the file into that newly allocated memory. 9348 9349 If stringSectionSize() overflows the signed ints used to calculate the 9350 file size (say if you have an xcmsdb with ~4 billion lines in or a 9351 combined string length of ~4 gig - which while it may have been 9352 inconceivable when Xlib was written, is quite possible today), then 9353 LoadColornameDB() may allocate a memory buffer much smaller than the 9354 amount of data ReadColornameDB() will write to it. 9355 9356 The total size is left limited to an int, because if your xcmsdb file 9357 is larger than 2gb, you're doing it wrong. 9358 9359 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9360 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9361 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9362 9363commit b9ba832401734e1cbd30a930c0d11d850293f3f9 9364Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9365Date: Sat Mar 2 11:25:25 2013 -0800 9366 9367 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 9368 9369 Check the provided buffer size against the amount of data we're going to 9370 write into it, not against the reported length from the ClientMessage. 9371 9372 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9373 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9374 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9375 9376commit de2e6c322c4aca22856b380f67f8e488e7510015 9377Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9378Date: Sat Mar 2 11:11:08 2013 -0800 9379 9380 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 9381 9382 If the X server returns key name indexes outside the range of the number 9383 of keys it told us to allocate, out of bounds memory writes could occur. 9384 9385 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9386 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9387 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9388 9389commit 2df882eeb3a70256170127a746a9ba26376599a1 9390Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9391Date: Sat Mar 2 11:01:04 2013 -0800 9392 9393 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 9394 9395 If the X server returns modifier map indexes outside the range of the number 9396 of keys it told us to allocate, out of bounds memory writes could occur. 9397 9398 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9399 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9400 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9401 9402commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 9403Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9404Date: Sat Mar 2 11:04:44 2013 -0800 9405 9406 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 9407 9408 If the X server returns key indexes outside the range of the number of 9409 keys it told us to allocate, out of bounds memory writes could occur. 9410 9411 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9412 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9413 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9414 9415commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 9416Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9417Date: Sat Mar 2 10:51:51 2013 -0800 9418 9419 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 9420 9421 If the X server returns modifier map indexes outside the range of the number 9422 of keys it told us to allocate, out of bounds memory writes could occur. 9423 9424 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9425 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9426 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9427 9428commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 9429Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9430Date: Sat Mar 2 10:39:21 2013 -0800 9431 9432 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 9433 9434 If the X server returns key behavior indexes outside the range of the number 9435 of keys it told us to allocate, out of bounds memory writes could occur. 9436 9437 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9438 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9439 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9440 9441commit 00626c3830b869259098985afa38933d77ccec72 9442Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9443Date: Sat Mar 2 09:40:22 2013 -0800 9444 9445 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 9446 9447 If the X server returns key action indexes outside the range of the number 9448 of keys it told us to allocate, out of bounds memory access could occur. 9449 9450 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9451 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9452 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9453 9454commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 9455Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9456Date: Sat Mar 2 09:28:33 2013 -0800 9457 9458 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 9459 9460 If the X server returns keymap indexes outside the range of the number of 9461 keys it told us to allocate, out of bounds memory access could occur. 9462 9463 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9464 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9465 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9466 9467commit 59ae16a00d18588e98af57d26e442af8ea42b7aa 9468Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9469Date: Sat Mar 2 09:18:26 2013 -0800 9470 9471 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 9472 9473 If the X server returns color indexes outside the range of the number of 9474 colors it told us to allocate, out of bounds memory access could occur. 9475 9476 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9477 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9478 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9479 9480commit bff938b9fe1629cbacb726509edfa2a3840b7207 9481Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9482Date: Sat Mar 2 09:12:47 2013 -0800 9483 9484 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 9485 9486 If the X server returns shape indexes outside the range of the number 9487 of shapes it told us to allocate, out of bounds memory access could occur. 9488 9489 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9490 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9491 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9492 9493commit f293659d5a4024bda386305bb7ebeb4647c40934 9494Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9495Date: Fri Mar 1 22:49:01 2013 -0800 9496 9497 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 9498 9499 If the X server returns more buttons than are allocated in the XKB 9500 device info structures, out of bounds writes could occur. 9501 9502 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9503 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9504 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9505 9506commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 9507Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9508Date: Fri Mar 1 19:30:09 2013 -0800 9509 9510 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 9511 9512 If a broken server returned larger than requested values for nPixels or 9513 nMasks, XAllocColorCells would happily overflow the buffers provided by 9514 the caller to write the results into. 9515 9516 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9517 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9518 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9519 9520commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 9521Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9522Date: Fri Mar 1 22:49:01 2013 -0800 9523 9524 integer overflow in XListHosts() [CVE-2013-1981 5/13] 9525 9526 If the reported number of host entries is too large, the calculations 9527 to allocate memory for them may overflow, leaving us writing beyond the 9528 bounds of the allocation. 9529 9530 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9531 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9532 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9533 9534commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 9535Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9536Date: Fri Mar 1 22:49:01 2013 -0800 9537 9538 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 9539 9540 If the reported number of motion events is too large, the calculations 9541 to allocate memory for them may overflow, leaving us writing beyond the 9542 bounds of the allocation. 9543 9544 v2: Ensure nEvents is set to 0 when returning NULL events pointer 9545 9546 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9547 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9548 9549commit 39515b7c3ba8cae9021bf6695e378ae19487082f 9550Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9551Date: Fri Mar 1 22:49:01 2013 -0800 9552 9553 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 9554 9555 If the reported number of remaining fonts is too large, the calculations 9556 to allocate memory for them may overflow, leaving us writing beyond the 9557 bounds of the allocation. 9558 9559 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 9560 v3: On error cases, also set values to be returned in pointer args to 0/NULL 9561 9562 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9563 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9564 9565commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 9566Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9567Date: Fri Mar 1 21:05:27 2013 -0800 9568 9569 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 9570 9571 Similar to _XQueryFont, but with more ways to go wrong and overflow. 9572 Only compiled if libX11 is built with XF86BigFont support. 9573 9574 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 9575 9576 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9577 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9578 9579commit 6df8a63d34b7514077188e2062a13774f920c085 9580Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9581Date: Fri Mar 1 21:05:27 2013 -0800 9582 9583 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 9584 9585 If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 9586 unsigned long, then too small of a buffer will be allocated for the 9587 data copied in from the reply. 9588 9589 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 9590 9591 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 9592 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9593 9594commit 9f5d83706543696fc944c1835a403938c06f2cc5 9595Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9596Date: Fri Mar 1 20:54:24 2013 -0800 9597 9598 Add _XEatDataWords to discard a given number of 32-bit words of reply data 9599 9600 Matches the units of the length field in X protocol replies, and provides 9601 a single implementation of overflow checking to avoid having to replicate 9602 those checks in every caller. 9603 9604 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9605 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9606 9607commit d7f04c340ade3834e603c23d543132e1ee4e0c63 9608Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9609Date: Sat Mar 2 13:03:55 2013 -0800 9610 9611 Move repeated #ifdef magic to find PATH_MAX into a common header 9612 9613 Lets stop duplicating the mess all over 9614 9615 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9616 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9617 9618commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 9619Author: Pander <pander@users.sourceforge.net> 9620Date: Tue May 7 18:38:14 2013 -0400 9621 9622 Add compose sequences for J́ and j́. 9623 9624 The resulting sequences are: 9625 9626 U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 9627 U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 9628 9629 Used in Dutch, per: 9630 9631 http://lists.x.org/archives/xorg-devel/2013-February/035514.html 9632 https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 9633 9634 Signed-off-by: Pander <pander@users.sourceforge.net> 9635 Signed-off-by: James Cloos <cloos@jhcloos.com> 9636 9637commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 9638Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9639Date: Sat Mar 16 18:30:56 2013 -0700 9640 9641 Move big request comment in XOpenDisplay to the right place 9642 9643 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9644 9645commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 9646Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9647Date: Sat Mar 9 19:16:03 2013 -0800 9648 9649 libX11 1.5.99.901 (1.6 RC1) 9650 9651 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9652 9653commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 9654Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9655Date: Fri Mar 8 22:33:28 2013 -0800 9656 9657 Fix very weird indenting in src/GetFProp.c 9658 9659 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9660 9661commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 9662Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9663Date: Fri Mar 8 15:37:33 2013 -0800 9664 9665 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 9666 9667 While the C standard technically allows for the compiler to translate 9668 pointer = 0 or pointer = NULL into something other than filling the 9669 pointer address with 0 bytes, the rest of the Xlib code already assumes 9670 that calloc initializes any pointers in the struct to NULL, and there 9671 are no known systems supported by X.Org where this is not true. 9672 9673 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9674 9675commit 39547d600a13713e15429f49768e54c3173c828d 9676Author: Karl Tomlinson <xmail@karlt.net> 9677Date: Mon Feb 18 01:25:34 2013 +0000 9678 9679 MakeBigReq: don't move the last word, already handled by Data32 9680 9681 MakeBigReq inserts a length field after the first 4 bytes of the request 9682 (after req->length), pushing everything else back by 4 bytes. 9683 9684 The current memmove moves everything but the first 4 bytes back. 9685 If a request aligns to the end of the buffer pointer when MakeBigReq is 9686 invoked for that request, this runs over the buffer. 9687 Instead, we need to memmove minus the first 4 bytes (which aren't moved), 9688 minus the last 4 bytes (so we still align to the previous tail). 9689 9690 The 4 bytes that fell out are already handled with Data32, which will 9691 handle the buffermax correctly. 9692 9693 The case where req->length = 1 was already not functional. 9694 9695 Reported by Abhishek Arya <inferno@chromium.org>. 9696 9697 https://bugzilla.mozilla.org/show_bug.cgi?id=803762 9698 9699 Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 9700 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9701 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9702 9703Notes: 9704 CVE-2013-7439 9705 9706commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 9707Author: Quentin Glidic <sardemff7+git@sardemff7.net> 9708Date: Tue Jan 15 21:07:17 2013 +0000 9709 9710 nls/Makefile.am: Use LOG_COMPILER 9711 9712 TESTS_ENVIRONMENT is deprecated 9713 9714 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 9715 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9716 9717commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 9718Author: Quentin Glidic <sardemff7+git@sardemff7.net> 9719Date: Tue Jan 15 21:07:16 2013 +0000 9720 9721 nls/Makefile.am: Remove unneeded $(srcdir) 9722 9723 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 9724 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9725 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9726 9727commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 9728Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9729Date: Sat Mar 2 12:01:39 2013 -0800 9730 9731 Add <X11/Xresource.h> hint to all Xrm* man pages 9732 9733 Help users figure out which header file they need to #include 9734 9735 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9736 9737commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 9738Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9739Date: Fri Mar 8 17:13:09 2013 -0800 9740 9741 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 9742 9743 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9744 9745commit 47d2eff64d167b3245d346d7f38ca703be645e26 9746Author: Ken Moffat <ken@linuxfromscratch.org> 9747Date: Thu Mar 7 18:27:54 2013 -0500 9748 9749 dead_double_grave and dead_inverted_breve should only have one underscore. 9750 9751 Correct instances of dead_double_grave and dead_inverted_breve to 9752 dead_doublegrave and dead_invertedbreve. 9753 9754 Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 9755 Signed-off-by: James Cloos <cloos@jhcloos.com> 9756 9757commit c23d61d1b84dca3740bf4786978c7908d0065fb9 9758Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9759Date: Fri Mar 1 18:10:27 2013 -0800 9760 9761 Assume size_t is always available, since it was defined in C89 9762 9763 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 9764 We already use size_t throughout the rest of Xlib, just had this 9765 one instance left in XKBGAlloc.c of a fallback definition. 9766 9767 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9768 9769commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 9770Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9771Date: Fri Mar 1 18:09:07 2013 -0800 9772 9773 unifdef XKB_IN_SERVER 9774 9775 Leftovers from XKB files that were previously shared between the client 9776 and server code, but aren't any more. 9777 9778 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9779 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9780 9781commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 9782Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9783Date: Thu Feb 28 20:04:25 2013 -0800 9784 9785 unifdef CRAY & _CRAY 9786 9787 (mostly performed with unifdef, followed by some manual cleanup of 9788 the remaining code) 9789 9790 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9791 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9792 9793commit ca106eb03e5f5468df8033300c5caae3d3c6936b 9794Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9795Date: Thu Feb 28 20:04:25 2013 -0800 9796 9797 unifdef WORD64 9798 9799 WORD64 seems to have only been defined in <X11/Xmd.h> when building for 9800 CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 9801 64-bit alignment requirements. 9802 9803 It hadn't been fully supported even before autotooling, as can be 9804 seen by removed code such as: 9805 9806 #ifdef WORD64 9807 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 9808 #endif 9809 9810 (mostly performed with unifdef, followed by some manual cleanup of 9811 the remaining code) 9812 9813 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9814 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9815 9816commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 9817Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9818Date: Thu Feb 28 20:04:25 2013 -0800 9819 9820 unifdef MUSTCOPY 9821 9822 MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 9823 CRAY, to handle missing some sizes of integer type. 9824 9825 (mostly performed with unifdef, followed by some manual cleanup of 9826 spacing/indenting in the remaining code) 9827 9828 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9829 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9830 9831commit b687440c28c7da6ee0ae44514d20248db5161606 9832Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9833Date: Sat Feb 16 10:42:23 2013 -0800 9834 9835 Convert more sprintf calls to snprintf 9836 9837 You could analyze most of these and quickly recognize that there was no 9838 chance of buffer overflow already, but why make everyone spend time doing 9839 that when we can just make it obviously safe? 9840 9841 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9842 9843commit b092dabbd712d7b656abcf572d253b9b206c0237 9844Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9845Date: Fri Feb 15 23:43:12 2013 -0800 9846 9847 XKeysymToString: move variable declarations to the scope of their usage 9848 9849 Makes it easier for readers to understand scope of variable usage, and 9850 clears up gcc warning: 9851 9852 KeysymStr.c: In function 'XKeysymToString': 9853 KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 9854 KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 9855 9856 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9857 9858commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 9859Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9860Date: Fri Feb 15 23:34:40 2013 -0800 9861 9862 Preserve constness in casting arguments through the Data*() routines 9863 9864 Casts were annoying gcc by dropping constness when changing types, 9865 when routines simply either copy data into the request buffer or 9866 send it directly to the X server, and never modify the input. 9867 9868 Fixes gcc warnings including: 9869 ChProp.c: In function 'XChangeProperty': 9870 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9871 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9872 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9873 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9874 ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9875 SetHints.c: In function 'XSetStandardProperties': 9876 SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9877 SetPntMap.c: In function 'XSetPointerMapping': 9878 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9879 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9880 StBytes.c: In function 'XStoreBuffer': 9881 StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9882 StName.c: In function 'XStoreName': 9883 StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9884 StName.c: In function 'XSetIconName': 9885 StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9886 9887 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9888 9889commit 6c558ee357292dd9dfc6d9006f4525f625327c52 9890Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9891Date: Fri Feb 15 22:58:54 2013 -0800 9892 9893 Fix comment typo & confusing indentation levels in Data() macro definition 9894 9895 The final } matches the one on the #define line, not one that doesn't 9896 appear after the else statement it was lined up with 9897 9898 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9899 9900commit afd6593da90e51234d59f8921c411317f91ab48b 9901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9902Date: Fri Feb 15 23:25:38 2013 -0800 9903 9904 XStringToKeysym: preserve constness when casting off unsignedness for strcmp 9905 9906 Fixes gcc warning: 9907 StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9908 9909 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9910 9911commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 9912Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9913Date: Fri Feb 15 23:14:40 2013 -0800 9914 9915 XRebindKeysym: Drop unnecessary const-removing cast 9916 9917 C89 defines memcpy as taking a const void *, so casting from 9918 const unsigned char * to char * simply angers gcc for no benefit: 9919 9920 KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9921 9922 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9923 9924commit 54527eab93d46055cf11eb6c18abb353a03ae544 9925Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9926Date: Fri Feb 15 22:45:19 2013 -0800 9927 9928 cmsColNm.c: maintain constness of arguments to qsort helper function 9929 9930 Fixes gcc warning: 9931 9932 cmsColNm.c: In function 'FirstCmp': 9933 cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9934 cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9935 9936 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9937 9938commit deedeada53676ee529d700bf96fde0b29a3a1def 9939Author: Nickolai Zeldovich <nickolai@csail.mit.edu> 9940Date: Tue Jan 22 10:03:00 2013 -0500 9941 9942 XListFontsWithInfo: avoid accessing realloc'ed memory 9943 9944 If exactly one of the two reallocs in XListFontsWithInfo() fails, the 9945 subsequent code accesses memory freed by the other realloc. 9946 9947 Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 9948 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9949 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9950 9951commit f57fd760cba92ad846917f21e94e73e9c846185f 9952Author: Colin Walters <walters@verbum.org> 9953Date: Wed Jan 4 17:37:06 2012 -0500 9954 9955 autogen.sh: Implement GNOME Build API 9956 9957 http://people.gnome.org/~walters/docs/build-api.txt 9958 9959 Signed-off-by: Adam Jackson <ajax@redhat.com> 9960 9961commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 9962Author: Adam Jackson <ajax@redhat.com> 9963Date: Tue Jan 15 14:28:48 2013 -0500 9964 9965 configure: Remove AM_MAINTAINER_MODE 9966 9967 Signed-off-by: Adam Jackson <ajax@redhat.com> 9968 9969commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 9970Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9971Date: Wed Dec 26 22:57:39 2012 -0800 9972 9973 Remove unused DECnet ("DNETCONN") code from Xlib 9974 9975 Has never been converted to build in modular builds, so has been unusable 9976 since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 9977 back in 2008. 9978 9979 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9980 9981commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 9982Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9983Date: Wed Dec 26 22:56:38 2012 -0800 9984 9985 Remove unused TLI ("STREAMSCONN") code from Xlib 9986 9987 Has never been converted to build in modular builds, so has been unusable 9988 since X11R7.0 release in 2005. All known platforms with TLI/XTI support 9989 that X11R7 & later releases run on also have (and mostly prefer) BSD 9990 socket support for their networking API. 9991 9992 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9993 9994commit 59c9ee8cd58857c5769b643611cbe526005a9e45 9995Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9996Date: Sun Dec 16 17:44:42 2012 -0800 9997 9998 Tell clang not to report -Wpadded warnings on public headers we can't fix 9999 10000 Better to silence the compiler warning than break ABI. 10001 10002 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10003 10004commit 0b148750027fd0557c5ed93afda861ddf4b92e0f 10005Author: Jon TURNEY <jon.turney@dronecode.org.uk> 10006Date: Mon Nov 12 17:27:52 2012 +0000 10007 10008 Fix config check for loadable modules 10009 10010 The config check of the results of testing for dlfcn.h or dl.h just tests the 10011 value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 10012 it is 'yes', so loadable module support would always be detected. 10013 10014 This is necessary for successful compilation for the MinGW target without the 10015 optional dlfcn-win32 library. 10016 10017 v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 10018 correctly when dlfcn.h is available 10019 10020 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10021 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 10022 10023commit cd25cab4b5b957641183ce72dd1ae0424aff1663 10024Author: Egbert Eich <eich@freedesktop.org> 10025Date: Fri May 20 18:27:02 2011 +0200 10026 10027 Install Xcms.txt in $(datadir) rather than $(libdir). 10028 10029 This file is an architecture independent data and should be where 10030 other databases are. 10031 This is the Xlib provided sample file, applications are free to 10032 use a different one specifying its location in the XCMSDB env 10033 variable. 10034 10035 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10036 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10037 10038commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 10039Author: Egbert Eich <eich@freedesktop.org> 10040Date: Fri May 20 18:25:24 2011 +0200 10041 10042 Don't hard code path to Xcms.txt file. 10043 10044 The path to this file is configurable at build time. The source 10045 however contains a hard coded path. 10046 10047 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10048 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10049 10050commit 9833489e6c3829a1e835bc0a11f028fc180809e4 10051Author: Colin Walters <walters@verbum.org> 10052Date: Fri Dec 7 08:51:21 2012 -0500 10053 10054 Fix build after dropping locales 10055 10056 They also needed to be removed from configure.ac 10057 10058 Signed-off-by: Colin Walters <walters@verbum.org> 10059 Signed-off-by: Julien Cristau <jcristau@debian.org> 10060 10061commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 10062Author: Egbert Eich <eich@freedesktop.org> 10063Date: Fri May 20 13:04:11 2011 +0200 10064 10065 i18n: Uppercased all occurances if 'iso8859' in the full locale name. 10066 10067 Making all occurances of iso8859 upper case in the full local name 10068 makes the alias entries more consistent and match the entries on 10069 locale.dir. 10070 10071 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10072 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10073 10074commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 10075Author: Egbert Eich <eich@freedesktop.org> 10076Date: Fri May 20 17:55:49 2011 +0200 10077 10078 i18n: Remove ja.S90 and ja.U90 locales. 10079 10080 Both locales carry a copyright notice and a prorietary statement: 10081 10082 Copyright 1995 by FUJITSU LIMITED 10083 This is source code modified by FUJITSU LIMITED under the Joint 10084 Development Agreement for the CDEnext PST. 10085 This is unpublished proprietary source code of FUJITSU LIMITED 10086 10087 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10088 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10089 10090commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 10091Author: Egbert Eich <eich@freedesktop.org> 10092Date: Fri May 20 16:46:15 2011 +0200 10093 10094 i18n: Bring locale.dir and compose.dir in sync. 10095 10096 Some entries for locale/encoding combinations were missing from 10097 either file or just misspelled, some entries were wrong or just 10098 aliases. 10099 10100 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10101 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10102 10103commit d1e6baa4e290b758e430077cb74e7c03ad850771 10104Author: Egbert Eich <eich@freedesktop.org> 10105Date: Fri May 20 14:02:39 2011 +0200 10106 10107 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 10108 10109 locale.alias contains a comment: 10110 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 10111 Thus lets treat 'a3' as an alias for 'az'. 10112 10113 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10114 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10115 Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 10116 10117commit fa2aab0bea18efa26a56977d3166277582ab7b07 10118Author: Egbert Eich <eich@freedesktop.org> 10119Date: Fri May 20 13:09:38 2011 +0200 10120 10121 i18n: Fixed typos in full locale names. 10122 10123 Fixing those typos those names actually match entries in 10124 locale.dir. 10125 10126 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10127 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10128 10129commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 10130Author: Egbert Eich <eich@freedesktop.org> 10131Date: Sat May 21 07:29:38 2011 +0200 10132 10133 i18n: Remove duplicates and aliases to oneself. 10134 10135 Aliases to itself don't make much sense. 10136 This changes occurances of: 10137 xy_UV.UTF-8: xy_UV.UTF-8 10138 to 10139 xy_UV: xy_UV.UTF-8 10140 where applicable. 10141 10142 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10143 Reviewed-by: James Cloos <cloos@jhcloos.com> 10144 10145commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 10146Author: Jens Herden <jens.herden@email.de> 10147Date: Fri May 20 17:29:03 2011 +0200 10148 10149 i18n: Add support for Khmer locale and compose table. 10150 10151 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10152 Reviewed-by: James Cloos <cloos@jhcloos.com> 10153 10154commit 40761898692e5063957bfa2518cca3d35b2e354a 10155Author: Kalman Kemenczy <kkemenczy@novell.com> 10156Date: Fri May 20 17:03:24 2011 +0200 10157 10158 i18n: Add support for Serbian specific compose table entries. 10159 10160 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10161 Reviewed-by: James Cloos <cloos@jhcloos.com> 10162 10163commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 10164Author: Egbert Eich <eich@freedesktop.org> 10165Date: Fri May 20 14:00:35 2011 +0200 10166 10167 i18n: Adding and removing comments. 10168 10169 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10170 Reviewed-by: James Cloos <cloos@jhcloos.com> 10171 10172commit 7754d68976106183751243c2c35a84134be17b34 10173Author: Egbert Eich <eich@freedesktop.org> 10174Date: Fri May 20 13:45:31 2011 +0200 10175 10176 i18n: Add missing locales which existed in locale.alias. 10177 10178 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10179 Reviewed-by: James Cloos <cloos@jhcloos.com> 10180 10181commit 952eccd0d25ba66023acfd31873eee2e71c38c42 10182Author: Egbert Eich <eich@freedesktop.org> 10183Date: Fri May 20 10:57:57 2011 +0200 10184 10185 i18n: Consolidate compose handling for locales with UTF-8 encoding. 10186 10187 - add an entry to include the default en_US compose file 10188 for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 10189 - add missing entries for zh_CN. and zh_HK and am_ET. 10190 - change entries for the UTF-8 encoding for ru_RU, ja_JP, 10191 ko_KR, th_TH and zh_TW to point to their native directory 10192 entries. 10193 10194 Signed-off-by: Egbert Eich <eich@freedesktop.org> 10195 Reviewed-by: James Cloos <cloos@jhcloos.com> 10196 10197commit d14b6a250f004fa405179db7020f6953001d17b9 10198Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10199Date: Mon Oct 22 13:54:11 2012 -0500 10200 10201 XIM: remove Private and Public macros 10202 10203 Private is a struct member name in mingw-w64 <winioctl.h>, causing this 10204 useless define in a private header to break the build. 10205 10206 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10207 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10208 10209commit f2a8def423a46d52e834cf7ea49fa0079427663a 10210Author: Adam Jackson <ajax@redhat.com> 10211Date: Wed Oct 17 14:40:43 2012 -0400 10212 10213 XErrorDB: Add GLXBadProfileARB 10214 10215 Signed-off-by: Adam Jackson <ajax@redhat.com> 10216 10217commit d45b3fc19fbe95c41afc4e51d768df6d42332010 10218Author: Ross Burton <ross.burton@intel.com> 10219Date: Wed Sep 12 14:39:40 2012 +0100 10220 10221 Allow overriding location of keysymdef.h 10222 10223 Currently keysymdef.h is found by using the includedir of xproto. This doesn't 10224 work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 10225 not a path into the cross-build environment. 10226 10227 So, add an option to allow explicitly specifying the location of keysymdef.h, 10228 and verify that the specified or found path exists. 10229 10230 (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 10231 10232 Signed-off-by: Ross Burton <ross.burton@intel.com> 10233 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 10234 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10235 10236commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 10237Author: Eric S. Raymond <esr@thyrsus.com> 10238Date: Thu Aug 23 19:15:07 2012 -0400 10239 10240 Renove some unnecessary low-level markup. 10241 10242 Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 10243 This appears to have been somebody's thinko, it's only in a few of the files. 10244 10245 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 10246 10247commit b686600ab5ca93b5750f827786e79c329ab2db4d 10248Author: Eric S. Raymond <esr@thyrsus.com> 10249Date: Thu Aug 23 10:53:33 2012 -0400 10250 10251 The .NT/.NE macro pair is no longer used. Remove it. 10252 10253 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 10254 10255commit b83f2898528c5dd683acd2a2143879a760a8dad5 10256Author: Eric S. Raymond <esr@thyrsus.com> 10257Date: Thu Aug 23 10:42:46 2012 -0400 10258 10259 Remove the one and only use of the .NT/.NE pair. 10260 10261 The problem with these macros is that they rely on being able to 10262 center the note label. That doesn't play well with modern HTML, 10263 not anyway without coomplications like CSS. This use was just a cute 10264 trick, not adding enough value to be kept. 10265 10266commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 10267Author: Eric S. Raymond <esr@thyrsus.com> 10268Date: Thu Aug 23 10:23:45 2012 -0400 10269 10270 The .C{ and .C} macros are never used. Remove them. 10271 10272 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 10273 10274commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 10275Author: Eric S. Raymond <esr@thyrsus.com> 10276Date: Thu Aug 23 10:08:08 2012 -0400 10277 10278 The .FN macro, paired with .FD, is also never used. Remove it. 10279 10280 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 10281 10282commit cac6572701c976542da562b2b277b07ffb892a6f 10283Author: Eric S. Raymond <esr@thyrsus.com> 10284Date: Thu Aug 23 10:03:00 2012 -0400 10285 10286 The ".FD" macro is never used. Remove it. 10287 10288 It was a temptation to presentation-level klugery and is best gone. 10289 10290 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 10291 10292commit 6e27a828f39f7028bc7f4a8736e7262fca250632 10293Author: Eric S. Raymond <esr@thyrsus.com> 10294Date: Thu Aug 23 09:54:25 2012 -0400 10295 10296 Clean up, my last commit missed four cases. 10297 10298 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 10299 10300commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 10301Author: Eric S. Raymond <esr@thyrsus.com> 10302Date: Thu Aug 23 08:24:17 2012 -0400 10303 10304 Eliminate all uses of tab stops in the libX11 man pages. 10305 10306 Two steps: First, expand tabs to 8 spaces in code and structure 10307 listings. Second, make the .Ds used to wrap code listings switch to 10308 constant-width font (CW) rather than numeric font position 1, which 10309 maps to R on most systems. 10310 10311 It is possible some archaic systems won't know what CW is, but the 10312 only risk is that code listings won't look quite right on troff 10313 devices; the PostScript and DVI drivers definitely grok it, so those 10314 important cases are OK. 10315 10316 The purpose of these changes is to get rid of presentation-level 10317 markup so these pages will lift clean to DocBook. 10318 10319 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 10320 10321commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 10322Author: Will Thompson <will@willthompson.co.uk> 10323Date: Mon Jul 9 18:00:27 2012 +0100 10324 10325 Add compose sequences for "therefore" and "because". 10326 10327 These sequences look sensible to me. I added them to the APL-related 10328 section of Mathematical Operators—they're in that section of Unicode 10329 anyway. 10330 10331 https://bugs.freedesktop.org/show_bug.cgi?id=51922 10332 10333 Signed-off-by: Will Thompson <will@willthompson.co.uk> 10334 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10335 10336commit 65358ea5079236b2508f787ac2fb2024a477e36d 10337Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10338Date: Fri Jun 29 23:08:04 2012 -0700 10339 10340 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 10341 10342 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10343 10344commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 10345Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10346Date: Fri Jun 29 22:57:13 2012 -0700 10347 10348 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 10349 10350 Fixes leaks in error paths found by Parfait 1.0.0: 10351 10352 Error: X Resource Leak 10353 Leaked X Resource pix 10354 at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 10355 pix initialized at line 60 with XCreatePixmap 10356 Error: X Resource Leak 10357 Leaked X Resource pix 10358 at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 10359 pix initialized at line 66 with XCreatePixmap 10360 10361 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10362 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 10363 10364commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 10365Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10366Date: Wed Jun 6 13:31:16 2012 -0700 10367 10368 libX11 spec: Correct prototype for XConvertSelection 10369 10370 selection & target parameters were accidentally run together 10371 10372 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10373 10374commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 10375Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10376Date: Fri Jun 1 23:37:09 2012 -0700 10377 10378 libX11 1.5.0 10379 10380 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10381 10382commit 05c587ec3be880721131a17c1dd4366e458fdd8b 10383Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10384Date: Sat May 26 14:37:28 2012 -0700 10385 10386 libX11 1.4.99.902 (1.5 RC2) 10387 10388 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10389 10390commit d817834d9772e3500d5102e2eae868b04a33c31f 10391Author: Pander <pander@users.sourceforge.net> 10392Date: Sat May 5 19:02:10 2012 +0200 10393 10394 Compose: Reassigned squences with minus and a or o 10395 10396 Reassigned squences with minus and a or o (vice versa and lower and 10397 upper case) to conform existing series and not resulting in tilde. 10398 Also added noe missing underscore sequence. 10399 10400 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10401 10402commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 10403Author: Pander <pander@users.sourceforge.net> 10404Date: Sat May 5 16:56:05 2012 +0200 10405 10406 Compose: Removed <slash> <U> and vice versa 10407 10408 Combination with lower case u suffices 10409 10410 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10411 10412commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 10413Author: Pander <pander@users.sourceforge.net> 10414Date: Sat May 5 16:44:31 2012 +0200 10415 10416 Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 10417 10418 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10419 10420commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 10421Author: Pander <pander@users.sourceforge.net> 10422Date: Sat May 5 16:40:20 2012 +0200 10423 10424 Compose: Removed <S> in combination with a numeral for superscript 10425 10426 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10427 10428commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 10429Author: Pander <pander@users.sourceforge.net> 10430Date: Sat May 5 16:28:01 2012 +0200 10431 10432 Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 10433 10434 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10435 10436commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 10437Author: James Cloos <cloos@jhcloos.com> 10438Date: Thu May 10 12:27:28 2012 -0400 10439 10440 Remove duplicate compose sequences from commit e51e37c118ae. 10441 10442 The compose-check script only handles compiled Compose files, not 10443 the Compose.pre files. One must remember to use: 10444 10445 ./autogen.sh; make; make check 10446 10447 when reviewing patches to the Compose.pre files.... 10448 10449 Signed-off-by: James Cloos <cloos@jhcloos.com> 10450 10451commit e51e37c118ae6cb9ced8244ce1c410677e0279ce 10452Author: Geoff Streeter <geoff@dyalog.com> 10453Date: Thu Mar 22 15:02:00 2012 +0000 10454 10455 Add APL support to compose 10456 10457 Signed-off-by: Geoff Streeter <geoff@dyalog.com> 10458 Signed-off-by: James Cloos <cloos@jhcloos.com> 10459 10460commit dac90324cee224df977a428afe80d960dceca769 10461Author: Julien Cristau <jcristau@debian.org> 10462Date: Sat May 5 16:05:07 2012 +0200 10463 10464 configure: make previous change work with older autoconf 10465 10466 autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 10467 the tests separately. 10468 10469 Reported-by: Dave Airlie 10470 Signed-off-by: Julien Cristau <jcristau@debian.org> 10471 10472commit f5b50af4324186962e258ffe9be78d5ee4681982 10473Author: Julien Cristau <jcristau@debian.org> 10474Date: Sun Apr 29 16:43:09 2012 +0200 10475 10476 configure: check if issetugid is declared 10477 10478 GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 10479 declare it anywhere, causing gcc to error out with 10480 -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 10481 AC_CHECK_FUNC so we disable this code instead of failing to build it. 10482 10483 Debian bug#669670 <http://bugs.debian.org/669670> 10484 10485 Signed-off-by: Julien Cristau <jcristau@debian.org> 10486 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10487 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10488 10489commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 10490Author: Peter Hutterer <peter.hutterer@who-t.net> 10491Date: Mon Apr 30 16:36:47 2012 +1000 10492 10493 Typo fix 10494 10495 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10496 10497commit b64969f0e510d5d3300cf968741a3726a6409577 10498Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10499Date: Tue Apr 17 18:12:02 2012 -0700 10500 10501 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 10502 10503 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10504 10505commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 10506Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10507Date: Tue Apr 17 18:01:36 2012 -0700 10508 10509 Add olinks from libX11 & localedb specs to ICCCM spec 10510 10511 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10512 10513commit b3c1b8cdab7d14220426c9b997ac362dc16318fc 10514Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10515Date: Tue Apr 17 17:49:44 2012 -0700 10516 10517 Add olinks from libX11 spec to ICCCM spec 10518 10519 Also convert ICCCM title mentions from <emphasis> to <citetitle> 10520 10521 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10522 10523commit ebebb65e753007ad01966dccc90bd6ca9a826488 10524Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10525Date: Sat Apr 14 23:40:01 2012 -0700 10526 10527 libX11 AppC: Fix section headers that didn't translate from nroff properly 10528 10529 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10530 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 10531 10532commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 10533Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10534Date: Sat Apr 14 23:13:05 2012 -0700 10535 10536 Add olinks from libX11 spec to x11protocol spec 10537 10538 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10539 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 10540 10541commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 10542Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10543Date: Sat Apr 14 22:28:53 2012 -0700 10544 10545 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 10546 10547 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10548 10549commit abc523fce31fcf2687229697a8eb656e343ecb0c 10550Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10551Date: Thu Mar 15 22:14:45 2012 -0700 10552 10553 libX11 1.4.99.901 (1.5 RC1) 10554 10555 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10556 10557commit b2cc5905a4a6d519957223e8ba2caef71520040c 10558Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10559Date: Thu Mar 15 22:03:21 2012 -0700 10560 10561 Remove "register" qualifier that annoys Solaris Studio compiler 10562 10563 Fixes warning: 10564 "Xrm.c", line 1094: warning: storage class after type is obsolescent 10565 10566 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10567 10568commit 62d42953893f93a98db0504eaf06d650ceaf5811 10569Author: James Cloos <cloos@jhcloos.com> 10570Date: Wed Mar 14 17:25:46 2012 -0400 10571 10572 Fix the gtk+ additions 10573 10574 (Some of) the Dstroke and dstroke entries already were present as U011[01], 10575 even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 10576 10577 The addition of <Multi_key> <o> <apostrophe> as a postfix version of 10578 <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 10579 That prevents its and <Multi_key> <O> <apostrophe>’s addition. 10580 10581 Signed-off-by: James Cloos <cloos@jhcloos.com> 10582 10583commit 91bcce48d94792f78333d2aea73961cc2e739d2e 10584Author: Pander <pander@users.sourceforge.net> 10585Date: Wed Mar 14 12:54:53 2012 -0400 10586 10587 Complete compose key sequences for musical symbols 10588 10589 Signed-off-by: Pander <pander@users.sourceforge.net> 10590 Signed-off-by: James Cloos <cloos@jhcloos.com> 10591 10592commit cf040016d455bc37f7665d6714337c5eafd8ea94 10593Author: Pander <pander@users.sourceforge.net> 10594Date: Wed Mar 14 12:46:25 2012 -0400 10595 10596 Add compose sequences from gtk+ to X.Org 10597 10598 Signed-off-by: Pander <pander@users.sourceforge.net> 10599 Signed-off-by: James Cloos <cloos@jhcloos.com> 10600 10601commit a4c591ced5cac9301b9abfa0e521be2d0b267882 10602Author: Keith Packard <keithp@keithp.com> 10603Date: Sun Mar 4 02:00:13 2012 -0800 10604 10605 Block for other threads in _XUserLockDisplay 10606 10607 Wait for all other threads to release the user-level lock when 10608 acquiring it. This ensures that only one thread at a time holds the 10609 user-level lock, necessary as it is a nesting lock and a single 10610 variable is used to determine when the lock is nesting and when it is 10611 contended. 10612 10613 Signed-off-by: Keith Packard <keithp@keithp.com> 10614 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10615 10616commit ed00b460acb08787b695f27b864e96102dfd4867 10617Author: Jon TURNEY <jon.turney@dronecode.org.uk> 10618Date: Fri Oct 28 11:09:20 2011 -0500 10619 10620 Don't use caddr_t casts 10621 10622 (caddr_t) isn't used anywhere else in xcb or libX11. 10623 Cast to (char *) for consistency. 10624 10625 Removing this cast allows building for MinGW without patching. 10626 10627 v2: Cast to (char *) rather than just dropping the cast 10628 10629 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10630 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10631 10632commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 10633Author: Julien Cristau <jcristau@debian.org> 10634Date: Sun Feb 19 13:27:38 2012 +0100 10635 10636 Revert "xcb: Add TCP fallback" 10637 10638 This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 10639 10640 The TCP fallback ended up falling back to UNIX socket connection if 10641 $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 10642 10643 Debian bug#659558 <http://bugs.debian.org/659558> 10644 10645 Signed-off-by: Julien Cristau <jcristau@debian.org> 10646 10647 Conflicts: 10648 10649 src/OpenDis.c 10650 10651commit f4378193619baa9bb973c1b5b718721bbcbe92c7 10652Author: James Cloos <cloos@jhcloos.com> 10653Date: Wed Feb 22 14:13:20 2012 -0500 10654 10655 Make the compose sequence for ẞ work. 10656 10657 There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 10658 so use the U1e9e symbol in the Compose sequence. 10659 10660 (Compose sequences do not work when the target symbol is unknown.) 10661 10662 Signed-off-by: James Cloos <cloos@jhcloos.com> 10663 10664commit 2ca641c3a506dcbee97e279b67990d5387389f36 10665Author: Marko Myllynen <myllynen@redhat.com> 10666Date: Mon Feb 20 17:04:59 2012 +0200 10667 10668 Use ezh/EZH in compose maps 10669 10670 Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 10671 10672 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 10673 Reviewed-by: Matt Dew <marcoz@osource.org> 10674 Signed-off-by: James Cloos <cloos@jhcloos.com> 10675 10676commit 61725822f20f47684a545c1797183ee7075243ac 10677Author: Marko Myllynen <myllynen@redhat.com> 10678Date: Sun Feb 20 17:09:43 2011 +0200 10679 10680 Provide translation from XK_permille (ad5) to Unicode (U2030) 10681 10682 https://bugs.freedesktop.org/show_bug.cgi?id=19687 10683 10684 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 10685 Reviewed-by: Matt Dew <marcoz@osource.org> 10686 Signed-off-by: James Cloos <cloos@jhcloos.com> 10687 10688commit d2cce0abba0fa0143f49026442c8cab5ed721625 10689Author: Jeremy Huddleston <jeremyhu@apple.com> 10690Date: Sun Feb 12 19:01:43 2012 -0800 10691 10692 nls: Use LC_CTYPE=C for sed magic 10693 10694 Stricter versions of sed can trip up if the input does not match 10695 LC_CTYPE 10696 10697 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10698 10699commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 10700Author: Frédéric Boiteux <fboiteux@calistel.com> 10701Date: Wed Nov 30 12:47:31 2011 +0000 10702 10703 Compositions with the dead greek symbol 10704 10705 FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 10706 10707 Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 10708 Signed-off-by: James Cloos <cloos@jhcloos.com> 10709 10710commit d58e8f8e27790017fcfdeca0843b7318d541c189 10711Author: Ryan Pavlik <rpavlik@iastate.edu> 10712Date: Sun Jan 1 21:04:52 2012 +0000 10713 10714 Use pthreads on MinGW also 10715 10716 Use pthreads (provided by the pthreads-win32 compatability library which implements 10717 them using native Win32 threading) on MinGW 10718 10719 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10720 10721commit bf15ccb6821664746ec23d769d757edf8059007e 10722Author: Ryan Pavlik <rpavlik@iastate.edu> 10723Date: Mon Jan 23 14:18:02 2012 +0000 10724 10725 Add XWindows.h include to Xxcbint.h 10726 10727 This avoids some conflicting type re-definition errors which occur if 10728 we attempt to include Windows headers after Xmd.h 10729 10730 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10731 10732commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 10733Author: Matt Dew <marcoz@osource.org> 10734Date: Sat Jan 21 17:59:51 2012 -0700 10735 10736 informaltable & table cleanup 10737 10738 On certain tables, add top and bottom borders to table header 10739 and a bottom border to the table. This matches what those 10740 tables in the old pdfs looked like. 10741 10742 the <?dbfo keep-together='always'> prevents tables from 10743 splitting across pages. Useful for tiny tables. 10744 10745 Converting the colwidth to a floating point, IE, 1* -> 1.0* 10746 cleans up these build errors: 10747 WARNING: table-layout="fixed" and column-width unspecified => 10748 falling back to proportional-column-width(1) 10749 10750 Signed-off-by: Matt Dew <marcoz@osource.org> 10751 10752commit bb551f654df8f647c867f79252241964521e689e 10753Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10754Date: Wed Dec 28 21:22:41 2011 -0800 10755 10756 Add more Xkb man pages to the See Also lists for core keyboard functions 10757 10758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10759 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 10760 10761commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 10762Author: Gaetan Nadon <nadon@memsize.(none)> 10763Date: Fri Dec 30 17:08:14 2011 -0500 10764 10765 docbook.am: embed css styles inside the HTML HEAD element 10766 10767 Rather than referring to the external xorg.css stylesheet, embed the content 10768 of the file in the html output produced. This is accomplished by using 10769 version 1.10 of xorg-xhtml.xsl. 10770 10771 This makes the whole html docs tree much more relocatable. 10772 In addition, it eliminates xorg.css as a runtime file which makes 10773 xorg-sgml-doctools a build time only package. 10774 10775 Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 10776 10777commit 70505468b7c4a7068cc39be42e421dcee34ec595 10778Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10779Date: Tue Dec 13 19:58:30 2011 -0800 10780 10781 makekeys: move buf declaration from global to main to silence gcc -Wshadow 10782 10783 The global was only referenced in the main() function, which passes it 10784 as an argument of the same name to the parse_line() function, leading 10785 to gcc -Wshadow warnings: 10786 10787 makekeys.c: In function ‘parse_line’: 10788 makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 10789 makekeys.c:54:13: warning: shadowed declaration is here 10790 10791 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10792 10793commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 10794Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 10795Date: Wed Dec 14 02:17:55 2011 -0500 10796 10797 XQueryColors: Split a request into multiple requests if necessary 10798 10799 https://bugs.freedesktop.org/show_bug.cgi?id=9160 10800 10801 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 10802 Signed-off-by: James Cloos <cloos@jhcloos.com> 10803 10804commit d3b3570592e9b9e57f270a0bd86762fd205a2833 10805Author: Andreas Wettstein <wettstein509@solnet.ch> 10806Date: Tue Nov 8 20:18:09 2011 +0000 10807 10808 XIM: Allow modifier releases in compose sequences (#26705) 10809 10810 Currently, only non-modifier keys (actually, keysyms) can be part of a compose 10811 sequence, and they are matched against the defined compose sequences at the 10812 time the key is pressed. The patch allows to use modifier keys an well, but 10813 matches them on key release, and only if no other key has been pressed after 10814 the modifier. 10815 10816 Releasing a non-matched modifier during an ongoing compose sequence only aborts 10817 the sequence if any modifier release would have matched. In particular, if no 10818 compose sequences with modifiers are specified, the compose mechanism works 10819 exactly as without this patch. 10820 10821 Even if modifiers are part of a compose sequence, they are not filtered. This 10822 is because modifiers affect the keyboard state no matter what we do here and, 10823 therefore, filtering them only could confuse clients. 10824 10825 The purpose is this extension to the compose mechanism is to allow to make 10826 better use of keys in convenient reach for touch typing. 10827 10828 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 10829 Signed-off-by: James Cloos <cloos@jhcloos.com> 10830 10831commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 10832Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10833Date: Tue Nov 29 23:56:57 2011 -0800 10834 10835 Reject negative string counts in copy_string_list 10836 10837 Silences parfait warning of a potential memory leak: 10838 Memory leak of pointer 'dst' allocated with malloc(length) 10839 at line 160 of FSWrap.c in function 'copy_string_list'. 10840 'dst' allocated at line 145 with malloc(length). 10841 dst leaks when count <= 0 at line 154. 10842 10843 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10844 10845commit bf2d7c8c6d70539c72560b1921e18df2610acf29 10846Author: Peter Hutterer <peter.hutterer@who-t.net> 10847Date: Fri Nov 11 14:56:36 2011 +1000 10848 10849 libX11 1.4.99.1 10850 10851 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10852 10853commit 24283d40b1e4314c6647dda49d2a159833341a8b 10854Author: Derek Buitenhuis <derek.buitenhuis@gmail.com> 10855Date: Thu Sep 22 18:44:13 2011 -0400 10856 10857 makekeys: Fix build/target word size mismatch when cross-compiling 10858 10859 Since makekeys is built using build environment's gcc and 10860 runs natively, we have to make sure that the size of the 10861 Signature type is the same on both the native environment 10862 and the target, otherwise we get mismatches upon running X, 10863 and some LSB test failures (xts5). 10864 10865 Use an unsigned 32-bit integer on all platforms. Also, 10866 eliminate the redundant multiple typedefs for the 10867 Signature type. 10868 10869 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 10870 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10871 10872commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 10873Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10874Date: Wed Nov 9 21:00:36 2011 -0800 10875 10876 XlcSL.c: convert old-style function definitions to ANSI C89 style 10877 10878 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10879 10880commit f6dad6aaa384bf836baa28ccb72b476a85c40eff 10881Author: Peter Hutterer <peter.hutterer@who-t.net> 10882Date: Thu Oct 27 13:53:22 2011 +1000 10883 10884 Use GetReqSized for GetReq and GetReqExtra 10885 10886 GetEmptyReq and GetResReq cannot do this due to the final typecast - 10887 typically requests that need either of those do not have their own typedef 10888 in the protocol headers. 10889 10890 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10891 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10892 10893commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 10894Author: Peter Hutterer <peter.hutterer@who-t.net> 10895Date: Fri Oct 14 14:51:06 2011 +1000 10896 10897 include: Add GetReqSized() for request buffers of specific size 10898 10899 Some XI2 requests change in size over different versions and libXi would 10900 need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 10901 library can explicitly specify the size of the request in 4-byte units. 10902 10903 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10904 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10905 10906commit ba8a7a19165e30d14bc165f43f67c19b6a115585 10907Author: Peter Hutterer <peter.hutterer@who-t.net> 10908Date: Thu Oct 27 13:24:10 2011 +1000 10909 10910 Switch GetEmptyReq and GetResReq to call _XGetRequest 10911 10912 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10913 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10914 10915commit 4a060f993bf676cf21ad9784e010f54134da7b40 10916Author: Peter Hutterer <peter.hutterer@who-t.net> 10917Date: Mon Oct 17 09:45:15 2011 +1000 10918 10919 Add _XGetRequest as substitute for GetReq/GetReqExtra 10920 10921 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10922 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10923 10924commit d8956520deb79c1cbb5e974c175bf8493859b22b 10925Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10926Date: Fri Oct 14 17:53:00 2011 -0700 10927 10928 Fix "nomal" -> "normal" typo in several comments 10929 10930 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10931 10932commit 002b36e308a26a152504f9b40aa08a0dce9a7991 10933Author: Xue Wei <Wei.Xue@Sun.COM> 10934Date: Fri Oct 14 17:39:21 2011 -0700 10935 10936 mbtocs should not truncate input 10937 10938 Fixes pasting more than 1024 bytes into xterm, as described in 10939 https://bugs.freedesktop.org/show_bug.cgi?id=25209 10940 10941 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10942 10943commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 10944Author: Marko Myllynen <myllynen@redhat.com> 10945Date: Mon Oct 10 09:41:13 2011 +0300 10946 10947 Add new compose sequences 10948 10949 This patch adds few new compose sequences to the en_US map, ligatures 10950 common in typesetting and sequences already in use in the fi_FI map. 10951 10952 https://bugs.freedesktop.org/show_bug.cgi?id=30621 10953 https://bugs.freedesktop.org/show_bug.cgi?id=34523 10954 10955 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10956 10957commit 738f7b867341c1da87ee667d48815822715c3e75 10958Author: Choe Hwanjin <choe.hwanjin@gmail.com> 10959Date: Thu Oct 13 07:58:02 2011 +0900 10960 10961 XIM: Make Xim handle NEED_SYNC_REPLY flag 10962 10963 NEED_SYNC_REPLY flag should be in Xim not in Xic. 10964 Because the focused Xic can be changed before sending sync reply. 10965 After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 10966 flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 10967 10968 This patch adds sync reply flag to Xim and removes sync reply 10969 from Xic. 10970 10971 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 10972 10973 Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 10974 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10975 10976commit 50e15379331c436851abb194251cde96999e67b3 10977Author: Bodo Graumann <mail@bodograumann.de> 10978Date: Mon Oct 10 16:40:52 2011 +0200 10979 10980 libX11: Fixing modifier key range in Xutil.h (Bug #21910) 10981 10982 IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 10983 which keys are regarded as modifiers. The constants ISO_Level5_Shift, 10984 ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 10985 some Neo2 modifiers functionless in combination with compose. 10986 This patch adjusts the range to include the correct, full range of 10987 modifier constants. 10988 10989 Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 10990 10991 X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 10992 10993 Signed-off-by: Bodo Graumann <mail@bodograumann.de> 10994 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10995 10996commit b5a108624331fabf393223c0891914cc54d4caf4 10997Author: Yann Droneaud <yann@droneaud.fr> 10998Date: Tue Oct 11 17:27:59 2011 +0200 10999 11000 Return name instead of False in XSetICValues() 11001 11002 In case of error, XSetICValues() must return the first argument 11003 that failed to be set. 11004 11005 But in some error paths, it returns False, which is converted to NULL, 11006 so the function returns OK in case of error. 11007 11008 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 11009 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11010 11011commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 11012Author: Yann Droneaud <yann@droneaud.fr> 11013Date: Sun Oct 9 17:56:45 2011 +0200 11014 11015 Return name instead of value in XGetIMValues() and XSetIMValues() 11016 11017 As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 11018 XGetIMValues() and XSetImValues() "returns the name of the first argument 11019 that could not be obtained." 11020 11021 But currently, 11022 11023 err = XGetIMValues(im, "invalid", &arg, NULL); 11024 11025 returns &arg instead of "invalid". 11026 11027 This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 11028 11029 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 11030 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11031 11032commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 11033Author: Jeremy Huddleston <jeremyhu@apple.com> 11034Date: Mon Oct 10 14:09:17 2011 -0700 11035 11036 Mark XKeycodeToKeysym as _X_DEPRECATED 11037 11038 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11039 11040commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 11041Author: Jeremy Huddleston <jeremyhu@apple.com> 11042Date: Sun Oct 9 02:38:28 2011 -0700 11043 11044 Fix nobreakspace for pt_BR.UTF-8 11045 11046 https://bugs.freedesktop.org/show_bug.cgi?id=31334 11047 11048 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11049 11050commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 11051Author: Jeremy Huddleston <jeremyhu@apple.com> 11052Date: Sun Oct 9 02:26:45 2011 -0700 11053 11054 Fix potential uninitialized variable access in _XimMakeICAttrIDList 11055 11056 Found by clang static analysis 11057 11058 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11059 11060commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 11061Author: Jeremy Huddleston <jeremyhu@apple.com> 11062Date: Sun Oct 9 02:25:50 2011 -0700 11063 11064 Remove self-resolving aliases 11065 11066 https://bugs.freedesktop.org/show_bug.cgi?id=30112 11067 11068 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11069 11070commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 11071Author: Matt Dew <marcoz@osource.org> 11072Date: Fri Oct 7 22:52:30 2011 -0600 11073 11074 Cleanup IDs and links in doc 11075 11076 1 - fix the capitalization of the ID attributes to match either the 11077 <title> or <funcdef> string it goes with. 11078 2 - fix any <linkend>'s that were affected by 1. 11079 3 - any <function> in the docs that has an actual funcdef, 11080 will become an olink. 11081 11082 Signed-off-by: Matt Dew <marcoz@osource.org> 11083 11084commit f858f3326adbc0c5711669b92a64a84a9083a055 11085Author: James Cloos <cloos@jhcloos.com> 11086Date: Tue Oct 4 17:11:11 2011 -0400 11087 11088 [nls] Fix typo/synco. 11089 11090 The iso8859-1 Compose table includes an optional section which uses 11091 Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 11092 to generate an @ (at) either was incorrectly copied from the Multi_key 11093 section or was not kept in sync with the Multi_key section. 11094 11095 Fixing this eliminates the warning from compose-check.pl: 11096 11097 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11098 ┃ Clash with existing sequence in iso8859-1/Compose.pre 11099 ┃ on line 661: Ctrl<T> <A> <A> 11100 ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 11101 ┃ line #480: Ctrl<T> <A> <A> : "@" at 11102 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11103 11104 Signed-off-by: James Cloos <cloos@jhcloos.com> 11105 11106commit 7f35f7efc23234b3f8529fee31a802c21846d9ab 11107Author: Jeremy Huddleston <jeremyhu@apple.com> 11108Date: Mon Sep 26 11:32:56 2011 -0700 11109 11110 Remove conflicting compose sequences for cent and colon 11111 11112 Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 11113 Found by tinderbox 11114 11115 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11116 11117commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 11118Author: Jeremy Huddleston <jeremyhu@apple.com> 11119Date: Sun Sep 25 16:29:17 2011 -0700 11120 11121 Add additional compose sequences for pound sterling, yen, and cent (mixed case) 11122 11123 https://bugs.freedesktop.org/show_bug.cgi?id=1013 11124 11125 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11126 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11127 11128commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 11129Author: Jeremy Huddleston <jeremyhu@apple.com> 11130Date: Sat Sep 24 16:44:04 2011 -0700 11131 11132 Use a configure check for seteuid 11133 11134 HP-UX doesn't have seteuid 11135 11136 https://bugs.freedesktop.org/show_bug.cgi?id=1497 11137 11138 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11139 11140commit 79594b4d66344f248eb4314ecb78eb81f632c3ab 11141Author: Gaetan Nadon <memsize@videotron.ca> 11142Date: Tue Sep 20 16:06:10 2011 -0400 11143 11144 localedb specs: use <copyright> for first holder of multi license 11145 11146 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11147 11148commit 154430268cf004b06920edde2f1812dc16d71fae 11149Author: Gaetan Nadon <memsize@videotron.ca> 11150Date: Tue Sep 20 16:01:52 2011 -0400 11151 11152 libX11 specs: use <copyright> for first holder of multi license 11153 11154 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11155 11156commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 11157Author: Tollef Fog Heen <tfheen@err.no> 11158Date: Tue Sep 20 13:07:37 2011 -0400 11159 11160 NLS: Add more vulgar fractions 11161 11162 Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 11163 11164 Signed-off-by: Tollef Fog Heen <tfheen@err.no> 11165 Signed-off-by: James Cloos <cloos@jhcloos.com> 11166 11167commit e37a6da814b5653be46000a9a76902729660a2e6 11168Author: Alexander Polakov <polachok@gmail.com> 11169Date: Sat Sep 17 20:54:58 2011 +0400 11170 11171 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 11172 11173 There is no XAllowAccess man page to see. 11174 11175 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11176 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11177 11178commit a23f3323f269b33a43d16dce01395cd28bc41b45 11179Author: Gaetan Nadon <memsize@videotron.ca> 11180Date: Mon Sep 19 15:27:44 2011 -0400 11181 11182 XKB: provide adequate quotes for the license text 11183 11184 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11185 11186commit a9c7a5cad91d968f5536ef8fc735036e921832a3 11187Author: Gaetan Nadon <memsize@videotron.ca> 11188Date: Mon Sep 19 15:18:53 2011 -0400 11189 11190 XIM: refactor the multi licensing legal text 11191 11192 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11193 11194commit c46f934ed89e7de79746a0387c9f998d91994ea6 11195Author: Gaetan Nadon <memsize@videotron.ca> 11196Date: Mon Sep 19 10:33:30 2011 -0400 11197 11198 xim trans: restore Fujitsu copyright legal text 11199 11200 Somehow lost during docbook conversion. text from x.org ftp R7.5. 11201 11202 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11203 11204commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 11205Author: Gaetan Nadon <memsize@videotron.ca> 11206Date: Mon Sep 19 10:11:46 2011 -0400 11207 11208 xtrans: restore X Consortium original legal text 11209 11210 Asking X Consortium permission to use The Open Group name makes no sense. 11211 Even more so in 1994 before X Window System was passed on to the Open Group. 11212 11213 Using original text from xorg-docs/general/License 11214 11215 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11216 11217commit 136a381585a4a9686c11bad1a6130837978e677f 11218Author: Gaetan Nadon <memsize@videotron.ca> 11219Date: Mon Sep 19 10:03:21 2011 -0400 11220 11221 Framework: restore X Consortium copyright 11222 11223 Somewhat dammaged during docbook conversion. 11224 Also restore pasrt of the original license text 11225 11226 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11227 11228commit 33f346878406762704a0c13cdc018111c666f3c1 11229Author: Gaetan Nadon <memsize@videotron.ca> 11230Date: Mon Sep 19 09:50:00 2011 -0400 11231 11232 localedb: restore X Consortium original legal text 11233 11234 Asking X Consortium permission to use The Open Group name makes no sense. 11235 Even more so in 1994 before X Window System was passed on to the Open Group. 11236 11237 Using original text from xorg-docs/general/License 11238 11239 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11240 11241commit e99c9338e413efca026210b9d830efb5c74d34e5 11242Author: Gaetan Nadon <memsize@videotron.ca> 11243Date: Mon Sep 19 08:23:18 2011 -0400 11244 11245 specs: support multi licensed copyright notice and license text 11246 11247 For documentation having multiple licenses, the copyright and legalnotice 11248 elements sequence cannot instantiated multiple times. 11249 The copyright notice and license text are therefore coded inside a 11250 legalnotice element. The role attribute on the paragraph is used to allow 11251 styling of the copyright notice text which should not be italicized. 11252 11253 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11254 11255commit b9dedc757e667333ce899115d618f25cdaa4dd5e 11256Author: Gaetan Nadon <memsize@videotron.ca> 11257Date: Mon Sep 19 08:17:50 2011 -0400 11258 11259 localedb: add release info to spec 11260 11261 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11262 11263commit 4519c89a87ddce01e599542737a27c26030fe4ff 11264Author: Gaetan Nadon <memsize@videotron.ca> 11265Date: Mon Sep 19 08:05:32 2011 -0400 11266 11267 specs: fix The Open Group license text 11268 11269 The warranty referred to the X Consortium 11270 11271 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11272 11273commit 08ac378423e7be72e340197ba5559a1a36f1783c 11274Author: Gaetan Nadon <memsize@videotron.ca> 11275Date: Mon Sep 19 08:03:39 2011 -0400 11276 11277 specs: The strandard name is still "X Consortium Standard" 11278 11279 This spec, and fsproto spec, are the only two docs with a different 11280 standard name. 11281 11282 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11283 11284commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 11285Author: Gaetan Nadon <memsize@videotron.ca> 11286Date: Sun Sep 18 13:22:34 2011 -0400 11287 11288 specs: support multi licensed copyright notice and license text 11289 11290 For documentation having multiple licenses, the copyright and legalnotice 11291 elements sequence cannot instantiated multiple times. 11292 The copyright notice and license text are therefore coded inside a legalnotice 11293 element. The role attribute on the paragraph is used to allow styling of the 11294 copyright notice text which should not be italicized. 11295 11296 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11297 11298commit 278ca8947c1dabb2b819527dca0fa6190c034f67 11299Author: Gaetan Nadon <memsize@videotron.ca> 11300Date: Fri Sep 16 11:45:56 2011 -0400 11301 11302 docs: merge copyright holder under the same copyright notice 11303 11304 As per the docbook markup dtd. 11305 11306 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11307 11308commit 7ff012bb433109a622ac122ade71669e842ebdcf 11309Author: Gaetan Nadon <memsize@videotron.ca> 11310Date: Fri Sep 16 10:09:57 2011 -0400 11311 11312 specs: handle multiple sets of copyright notice/license/warranty 11313 11314 Docbook groups all the <copyright> elements together and all the 11315 <legalnotice> elements together. 11316 11317 We cannot have a sequence: 11318 <copyright> <legalnotice> <copyright> <legalnotice> [...] 11319 11320 A workaround, which was done in some documents, is to put the copyright 11321 notice inside the legalnotice in plain text without the <copyright> element. 11322 A formal paragraph title is added here which makes the copyright notice bold, 11323 and makes it much easier to locate. 11324 11325 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11326 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11327 11328commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 11329Author: Gaetan Nadon <memsize@videotron.ca> 11330Date: Wed Sep 14 15:55:42 2011 -0400 11331 11332 specs: remove orphan affiliation. 11333 11334 Authors affiliation are correct. 11335 11336 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11337 11338commit 0cc02a6df65214560b7575e89cebee741d6d2469 11339Author: Gaetan Nadon <memsize@videotron.ca> 11340Date: Tue Sep 13 17:39:02 2011 -0400 11341 11342 specs: use appropriate markup for Copyright statements 11343 11344 Also move <releaseinfo> to match order of appearance 11345 11346 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11347 11348commit afe13e19ebf0fc4e3460644164433af016f0add7 11349Author: Gaetan Nadon <memsize@videotron.ca> 11350Date: Mon Sep 12 16:54:45 2011 -0400 11351 11352 docs: use the &fullrelvers; entity to set X11 release information 11353 11354 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11355 11356commit 22a2153282db13e9d94881022b8c979539841a2c 11357Author: Gaetan Nadon <memsize@videotron.ca> 11358Date: Sun Sep 11 19:49:53 2011 -0400 11359 11360 docs: remove <productnumber> which is not used by default 11361 11362 This element is not rendered by default on the title. A template 11363 customization is required to display it. 11364 X Window System does not have a product number. 11365 11366 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11367 11368commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 11369Author: Gaetan Nadon <memsize@videotron.ca> 11370Date: Sun Sep 11 17:40:21 2011 -0400 11371 11372 docs: use the &fullrelvers; entity to set X11 release information 11373 11374 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11375 11376commit a6b2992f50b571d612ea9ade631c432c3099bc12 11377Author: Gaetan Nadon <memsize@videotron.ca> 11378Date: Sun Sep 11 17:38:42 2011 -0400 11379 11380 docs: remove orphan <affiliation> 11381 11382 Somehow created during the conversion from roff. Unable to locate 11383 the author to which it belongs. 11384 11385 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11386 11387commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 11388Author: Gaetan Nadon <memsize@videotron.ca> 11389Date: Sun Sep 11 17:38:05 2011 -0400 11390 11391 docs: remove <productnumber> which is not used by default 11392 11393 This element is not rendered by default on the title. A template 11394 customization is required to display it. 11395 X Window System does not have a product number. 11396 11397 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11398 11399commit 7d5b718c1edbc43c54b7001be548e515a49540ea 11400Author: Gaetan Nadon <memsize@videotron.ca> 11401Date: Fri Sep 9 14:46:39 2011 -0400 11402 11403 docbook.am: embed css styles inside the HTML HEAD element 11404 11405 Rather than referring to the external xorg.css stylesheet, embed the content 11406 of the file in the html output produced. This is accomplished by using 11407 version 1.10 of xorg-xhtml.xsl. 11408 11409 This makes the whole html docs tree much more relocatable. 11410 In addition, it eliminates xorg.css as a runtime file which makes 11411 xorg-sgml-doctools a build time only package. 11412 11413 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11414 11415commit 24632d280491c465dfe208ef788815890892e326 11416Author: Gaetan Nadon <memsize@videotron.ca> 11417Date: Mon Sep 5 12:53:12 2011 -0400 11418 11419 compose: upgrade makefile to support olinking on chunked html 11420 11421 The essential differences over the regular docbook.am are: 11422 Adding root.filename parameter for naming of chapters html files. 11423 Using xhtml xmlto format and xorg-chunk.xsl stylesheet 11424 Set olink.base.uri for pdf but not for chunked html 11425 Olink is not applicable to ps and txt formats. 11426 11427 Html chapters are added to shelf_DATA as they are also installed. 11428 The xml is generated from a perl script and not distributed. 11429 11430 Requires version 1.10 of xorg-sgml-doctools. 11431 11432 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11433 11434commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 11435Author: Gaetan Nadon <memsize@videotron.ca> 11436Date: Wed Aug 31 19:46:20 2011 -0400 11437 11438 docbook.am: refactor common flags for xmlto and xsltproc 11439 11440 Maximize reuse and reduce risk of setting the wrong flag 11441 at the wrong place. 11442 11443 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11444 11445commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 11446Author: Gaetan Nadon <memsize@videotron.ca> 11447Date: Wed Aug 31 10:46:59 2011 -0400 11448 11449 docbook.am: add search path for local entities 11450 11451 Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 11452 A module may want to add entities that apply only to itself and 11453 not to all modules, like the xserver does. 11454 11455 This feature may or may not be used in this module, but all modules 11456 share a copy of docbook.am. 11457 11458 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11459 11460commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 11461Author: Gaetan Nadon <memsize@videotron.ca> 11462Date: Thu Aug 25 14:39:20 2011 -0400 11463 11464 docbook.am: explicitly list xmlto flags for each target 11465 11466 Normal evolution of make targets make it impractical to factor out 11467 common command flags for xmlto. 11468 11469 The targets now list each command option as its presence or absence 11470 needs to be justified. 11471 11472 xorg.ss is only needed by xmlto for html. 11473 masterdb is only needed by xmlto. 11474 img.src.path must not be used by html. 11475 xsltproc need to use customization layer xorg-*.xsl. 11476 txt format is not required to search masterdb. 11477 11478 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11479 11480commit d5b3605f3b0639452e892e9ff3afb18bb7442069 11481Author: Gaetan Nadon <memsize@videotron.ca> 11482Date: Thu Aug 25 13:12:49 2011 -0400 11483 11484 docbook.am: do not generate docs if docbook customization layer is missing 11485 11486 The stylesheets used to be only about style, fonts or colors. 11487 Complex features are now used like olink and chunked html which 11488 may cause a build break when stylesheets are missing or lead to hard 11489 to find problem. 11490 11491 Some modules may be built when stylesheets are present while others 11492 are built without. There is no requirement to build crippled docs. 11493 11494 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11495 11496commit 7f23c72c94d9d14122426b0d8c66054f1402769a 11497Author: Gaetan Nadon <memsize@videotron.ca> 11498Date: Fri Aug 5 14:33:32 2011 -0400 11499 11500 libX11 specs: review doclifter generated tables 11501 11502 Many tables had a questionnable layout and some had information dropped. 11503 Each table was cross-referenced with a pre-docbook version 11504 to ensure semantic integrity. 11505 11506 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11507 11508commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 11509Author: Gaetan Nadon <memsize@videotron.ca> 11510Date: Wed Jul 20 15:28:47 2011 -0400 11511 11512 credits.xml: remove toc from Acknowledgments 11513 11514 There should be no toc for a simple preface with only one 11515 Acknowledgments section. 11516 11517 Use <simplesect> markup rather than sect1. 11518 11519 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11520 11521commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 11522Author: Gaetan Nadon <memsize@videotron.ca> 11523Date: Thu Aug 4 19:59:37 2011 -0400 11524 11525 libX11 specs: move </para> above <varaiablelist> 11526 11527 Many, but not all, function synopsis have a paragraph that 11528 nests the variable list. The code was generated by doclifter 11529 and there is no apprent reasons as to why it was done this way. 11530 Found while investigating a spacing issue. 11531 11532 Before the patch: 11533 <para>Some blurb about the function 11534 <funcsynopsis> 11535 </funcsynopsis> 11536 <variablelist> 11537 </variablelist> 11538 </para> 11539 11540 After the patch: 11541 <para>Some blurb about the function</para> 11542 <funcsynopsis> 11543 </funcsynopsis> 11544 <variablelist> 11545 </variablelist> 11546 11547 There are no noticable differences when reading the doc 11548 other than than the removed few pixels of spacing between 11549 the function sysnopsis and the variable list block. 11550 11551 In some cases, there are no "blurb about the fucntion" 11552 and the empty paragraph is removed. 11553 11554 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11555 11556commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 11557Author: Gaetan Nadon <memsize@videotron.ca> 11558Date: Thu Jul 28 19:46:14 2011 -0400 11559 11560 compose specs: generate chunked html 11561 11562 For large 600 page documents such as this one, chunked html 11563 provide faster browser load time and better navigation. 11564 11565 Simply click on the locale of your choice in the toc and 11566 the browser loads just that one file. Being a DocBook, 11567 it benefits from all of the usual features and can be 11568 integrated with the rest of the documentation. 11569 11570 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11571 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11572 11573commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 11574Author: Gaetan Nadon <memsize@videotron.ca> 11575Date: Thu Jun 23 15:16:47 2011 -0400 11576 11577 specs: build compose keys tables in specs/i18n/compose 11578 11579 Build the tables article together with the rest of the specs. 11580 Make it transparent that the source in generated in nls. 11581 Reuse docbook.am and get all the features such as olink. 11582 11583 The docbook article file stem and id must be the same. The new name 11584 for the main article is libX11-keys. The new installation location 11585 is $docdir/libX11/i18n/compose. 11586 11587 The nls dir retains the role of generating the DocBook/XML source 11588 but does not build neither installs output formats or generated source. 11589 11590 The tables article now has to specify that each included locale 11591 section is a dependency. It did not matter before as they were web links. 11592 11593 The xorg-sgml-doctools masterdb shall be updated to include this new doc. 11594 Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 11595 11596 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11597 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11598 11599commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 11600Author: Gaetan Nadon <memsize@videotron.ca> 11601Date: Thu Jun 23 14:43:31 2011 -0400 11602 11603 nls: restructure charts as a single article with sections 11604 11605 Looks more like a real article with a toc rather than individual 11606 web pages. Looks nicer in pdf. 11607 11608 Each locale is a "section" rather than an "article". 11609 Using XInclude to aggregate xml source files gets you the toc for free. 11610 11611 The single document is over 600 pages while there were 62 separate 11612 documents previously. FOP version 1.0 is required to handle missing 11613 character like capital sharp s. 11614 11615 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11616 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11617 11618commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 11619Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11620Date: Thu Jul 28 19:32:40 2011 -0700 11621 11622 libX11 1.4.4 11623 11624 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11625 11626commit ab1f30231755d99ed123af6873b981834640f01d 11627Author: Matt Dew <marcoz@osource.org> 11628Date: Wed Jul 13 12:33:40 2011 -0600 11629 11630 Add id attributes to error codes to allow linking from other docs. 11631 11632 Signed-off-by: Matt Dew <marcoz@osource.org> 11633 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11634 Acked-by: Gaetan Nadon <memsize@videotron.ca> 11635 11636commit 5c831fef402914ccf2ec14005c25be48852f119b 11637Author: David Coppa <dcoppa@gmail.com> 11638Date: Tue Jul 12 10:05:47 2011 +0200 11639 11640 Fix libpthread linkage on OpenBSD. 11641 11642 OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 11643 11644 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 11645 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11646 11647commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 11648Author: Gaetan Nadon <memsize@videotron.ca> 11649Date: Wed Jun 22 20:46:26 2011 -0400 11650 11651 config: use XORG_WITH_PERL macro to replace custom program check 11652 11653 New in version util-macros 1.15, the macro does the usual checking 11654 for program path and provides an interface for makefile variables. 11655 11656 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11657 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11658 11659commit 47d99a324db9232029a22dd523e3bc3ed0936aca 11660Author: Gaetan Nadon <memsize@videotron.ca> 11661Date: Wed Jun 22 20:41:18 2011 -0400 11662 11663 config: update XORG_WITH_FOP macro usage 11664 11665 A new feature to test for a minimum version has been added. 11666 11667 The parameter position changed. Due to limited usage 11668 and requiring 1.15, it turns out to be backward compatible. 11669 11670 There is no functional change to how docs are build. 11671 11672 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11673 11674commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 11675Author: Gaetan Nadon <memsize@videotron.ca> 11676Date: Wed Jun 22 11:48:49 2011 -0400 11677 11678 Remove unused xmlrules.in in specs, now in /nls 11679 11680 The specs dir has been converted to docbook.am 11681 11682 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11683 11684commit 9992092609bd83a0db778e9a9ac1e879d445e637 11685Author: Gaetan Nadon <memsize@videotron.ca> 11686Date: Thu Mar 31 10:23:22 2011 -0400 11687 11688 nls: move xmlrules.in from specs to nls 11689 11690 It is no longer used in the specs dir. 11691 Remove html from CLEANFILES as it breaks. Make do not clean directories 11692 Remove SUFFIXES as pattern rules are used rather than suffix rules. 11693 11694 Other improvements are possible, the first priority is to move it out 11695 of the specs dir. 11696 11697 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 11698 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11699 11700commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 11701Author: Gaetan Nadon <memsize@videotron.ca> 11702Date: Sun Jun 5 16:27:36 2011 -0400 11703 11704 Install target dbs alongside generated documents 11705 11706 This matches a change in xorg-sgml-docs whereby the masterdb will look for 11707 the target dbs into the same location as the generated documents. 11708 11709 The target dbs are now installed alongside the generated documents. 11710 Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 11711 has the potential of installing outside the package prefix and cause 11712 distcheck to fail when user does not have write permission in this package. 11713 11714 Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 11715 11716commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 11717Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11718Date: Tue Jun 7 18:41:30 2011 -0700 11719 11720 specs/libX11: Turn appendix references into links 11721 11722 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11723 11724commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 11725Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11726Date: Tue Jun 7 18:37:41 2011 -0700 11727 11728 specs/libX11: Turn chapter references into links 11729 11730 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11731 11732commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 11733Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11734Date: Tue Jun 7 00:52:32 2011 -0700 11735 11736 specs/libX11: Turn many "see section ..." into links 11737 11738 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11739 11740commit 02d4c08dead2f266809b3f93ec72377783423ac7 11741Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11742Date: Sun Jun 5 22:50:37 2011 -0700 11743 11744 specs/libX11: Convert some header filenames to filename tags 11745 11746 perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 11747 11748 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11749 11750commit c51a011329afa6e5b9d2b285349c132683ecf9fb 11751Author: Matt Dew <marcoz@osource.org> 11752Date: Tue May 31 20:03:23 2011 -0600 11753 11754 Add id attributes to funcsynopsis to allow other docs to olink to them. 11755 11756 Signed-off-by: Matt Dew <marcoz@osource.org> 11757 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11758 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11759 11760commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 11761Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11762Date: Fri May 27 20:14:36 2011 -0700 11763 11764 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 11765 11766 https://bugs.freedesktop.org/show_bug.cgi?id=37624 11767 11768 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11769 11770commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 11771Author: Matt Dew <marcoz@osource.org> 11772Date: Sat May 21 00:23:06 2011 -0600 11773 11774 Add id's to functions, to make clickable links. 11775 11776 Signed-off-by: Matt Dew <marcoz@osource.org> 11777 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11778 11779commit 5c06bc594473f6ab234724cd90db32e7b57fe811 11780Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11781Date: Fri May 20 15:38:08 2011 -0700 11782 11783 libX11 spec: fix monospaced column alignment after deligaturization 11784 11785 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11786 11787commit ef0019c714c273cb9b4ad3eba52d0b905109826b 11788Author: James Cloos <cloos@jhcloos.com> 11789Date: Fri May 20 15:51:46 2011 -0400 11790 11791 Expand latin ligatures out to their NFKC equivalents. 11792 11793 Ligatures should be done by the typesetting system. 11794 Manuscripts should not bother with them. 11795 11796 Signed-off-by: James Cloos <cloos@jhcloos.com> 11797 Reviewed-by: Keith Packard <keithp@keithp.com> 11798 11799commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 11800Author: Daniel Stone <daniel@fooishbar.org> 11801Date: Thu May 12 16:21:50 2011 +0200 11802 11803 XCB: Add more friendly error messages for common asserts 11804 11805 This patch adds more friendly error messages for three common classes of 11806 assertion: 11807 - missed sequence numbers due to being griefed by another thread 11808 - unknown requests in queue due to being griefed by another thread 11809 - extensions dequeuing too much or too little reply data 11810 11811 It adds error messages offering advice (e.g. call XInitThreads() first) 11812 on stderr, but still generates actual assertions. Hopefully this means 11813 it's a little more Googleable and a little less frightening. 11814 11815 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11816 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11817 11818commit 159bf292477048b9a2f074735afc516f52c93d80 11819Author: Gaetan Nadon <memsize@videotron.ca> 11820Date: Thu May 19 20:22:11 2011 -0400 11821 11822 Remove misplaced hyphens in libX11 DocBook/XML #37364 11823 11824 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 11825 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11826 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11827 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11828 11829commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 11830Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11831Date: Tue May 17 20:49:59 2011 -0700 11832 11833 Fix man page and comment references to use XFreeModifiermap (lowercase map) 11834 11835 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11836 11837commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 11838Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11839Date: Tue May 17 20:30:54 2011 -0700 11840 11841 XKB man pages: Fix coordinantes typo in multiple pages 11842 11843 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11844 11845commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 11846Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11847Date: Tue May 17 16:27:32 2011 -0700 11848 11849 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 11850 11851 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11852 11853commit ae39d82b01359b07dd1fe092d867f79ea95a5438 11854Author: Jeremy Huddleston <jeremyhu@apple.com> 11855Date: Sun May 8 09:08:07 2011 -0700 11856 11857 Silence clang static analysis warnings for SetReqLen 11858 11859 This provides a simplified version of the SetReqLen macro when using clang for 11860 static analysis. Prior to this change, we would see many Idempotent operation 11861 warnings inside this macro due to the common case of calling with arg2 and 11862 arg3 being the same variable. This has no effect on code produced during 11863 compilation, but it silences a number of false positives in static analysis. 11864 11865 XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 11866 SetReqLen(req, num_modifiers, num_modifiers); 11867 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11868 In file included from XIPassiveGrab.c:26: 11869 .../include/X11/Xlibint.h:580:8: note: instantiated from: 11870 n = badlen; \ 11871 ^ 11872 11873 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11874 11875commit 130af2bc02090ee2526adb2f9803fc07019b8f1f 11876Author: Jeremy Huddleston <jeremyhu@apple.com> 11877Date: Wed May 4 15:34:31 2011 -0700 11878 11879 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 11880 11881 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 11882 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 11883 ^~~~~~~ 11884 11885 Found-by: clang static analyzer 11886 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11887 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11888 11889commit c987ef04bea345d5810e60cf6c53b747ddbe910e 11890Author: Jeremy Huddleston <jeremyhu@apple.com> 11891Date: Wed May 4 15:31:17 2011 -0700 11892 11893 Revert "XKB: Avoid a possible NULL dereference" 11894 11895 Sorry for the noise. I accidentally pushed and didn't mean to. =( 11896 11897 This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 11898 11899commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 11900Author: Jeremy Huddleston <jeremyhu@apple.com> 11901Date: Wed May 4 11:35:31 2011 -0700 11902 11903 Dead code removal 11904 11905 XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 11906 for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 11907 ~~~^~~~ 11908 XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 11909 pos= 0; 11910 ^ ~ 11911 11912 Found-by: clang static analyzer 11913 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11914 11915commit 4024091678ea07e0d898b798df9b29f3bf68eb08 11916Author: Jeremy Huddleston <jeremyhu@apple.com> 11917Date: Wed May 4 11:34:53 2011 -0700 11918 11919 XKB: Avoid a possible NULL dereference 11920 11921 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 11922 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 11923 ^~~~~~~ 11924 11925 Found-by: clang static analyzer 11926 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11927 11928commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 11929Author: Jeremy Huddleston <jeremyhu@apple.com> 11930Date: Wed May 4 11:21:41 2011 -0700 11931 11932 Annotate _XIOError as _X_NORETURN 11933 11934 Found-by: clang static analyzer 11935 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11936 11937commit d3d7896408b435ab42656398839ff4351a37724d 11938Author: Jeremy Huddleston <jeremyhu@apple.com> 11939Date: Tue May 3 09:32:53 2011 -0700 11940 11941 clang analyzer: Don't warn about Xmalloc(0) 11942 11943 This will prevent a number of false positives in where clang's 11944 static analysis reports about calls to malloc(0). 11945 11946 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11947 11948commit 393921cf2188b2b0713cc157effaf17d0abab783 11949Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11950Date: Thu Apr 21 16:21:04 2011 -0700 11951 11952 Delete special case code to append "/sparcv9" to i18n module path 11953 11954 Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 11955 Inconsistent with all other platforms, and a bit overcomplicated. 11956 11957 Should anyone need to continue using that path, simply build with 11958 a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 11959 11960 Fixes Solaris bug 7038737: 11961 sparcv9 Xlib looking in wrong path for i18n loadable modules 11962 11963 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11964 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 11965 11966commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 11967Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11968Date: Thu Apr 14 13:47:12 2011 -0700 11969 11970 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 11971 11972 Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 11973 11974 https://bugs.freedesktop.org/show_bug.cgi?id=36244 11975 11976 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11977 11978commit b850adbdebcf500c659f85285d4d7374e15857f5 11979Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11980Date: Tue Apr 12 22:30:45 2011 -0700 11981 11982 Convert malloc(strlen()); strcpy() sets to strdup 11983 11984 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11985 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11986 11987commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 11988Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11989Date: Tue Apr 12 21:27:45 2011 -0700 11990 11991 Replace Xmalloc+bzero pairs with Xcalloc calls 11992 11993 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11994 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11995 11996commit ac1e2bff7121987fd768500a11d428d9fb9447c5 11997Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11998Date: Fri Mar 25 14:47:35 2011 +0200 11999 12000 om: Fix memory leaks on get_font_name error paths. 12001 12002 While at it, remove unneeded check for NULL before Xfree. 12003 12004 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12005 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12006 12007commit 7c362e275c93c92b4e68fe862e73ee36665de703 12008Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12009Date: Wed Mar 30 15:06:10 2011 +0300 12010 12011 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 12012 12013 pScreenData is replaced when building per visual intensity tables. If 12014 malloc failed the old value of pScreenData (stored also in 12015 pScreenDefaultData) was being leaked. Also, property_return wasn't 12016 free'd in that case. 12017 12018 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12019 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12020 12021commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 12022Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12023Date: Wed Mar 30 15:19:28 2011 +0300 12024 12025 xcms: Fix error on LINEAR_RGB_InitSCCData error path. 12026 12027 Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 12028 be accessed after being free'd. 12029 12030 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12031 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12032 12033commit d749948f9492fd9b61c74655a08e32c595e0e3a5 12034Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12035Date: Fri Mar 25 16:06:15 2011 +0200 12036 12037 om: Fix potential memory leak in init_om. 12038 12039 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12040 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12041 12042commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 12043Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12044Date: Thu Mar 24 20:40:41 2011 +0200 12045 12046 om: Fix memory leak on read_EncodingInfo error path. 12047 12048 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12049 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12050 12051commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 12052Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12053Date: Thu Mar 24 19:55:33 2011 +0200 12054 12055 Fix memory leaks on _XimCbDispatch error path. 12056 12057 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12058 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12059 12060commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 12061Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12062Date: Thu Mar 24 19:52:05 2011 +0200 12063 12064 Fix memory leak on _XimCommitRecv error path. 12065 12066 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12067 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12068 12069commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 12070Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12071Date: Thu Mar 24 19:48:44 2011 +0200 12072 12073 Fix memory leaks on _XimWriteCachedDefaultTree error paths. 12074 12075 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12076 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12077 12078commit e29be94edbb58b3b8dab545377a710d1f73b61e0 12079Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12080Date: Thu Mar 24 19:42:36 2011 +0200 12081 12082 Fix memory leaks on _XimGetAttributeID error paths. 12083 12084 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12085 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12086 12087commit d144a50512466766f55ce61e3884925334b08f0d 12088Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12089Date: Thu Mar 24 19:36:56 2011 +0200 12090 12091 Fix memory leaks on _XimProtoCreateIC error paths. 12092 12093 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12094 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12095 12096commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 12097Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12098Date: Thu Mar 24 16:24:29 2011 +0200 12099 12100 Fix leaks in _XimEncodingNegotiation error paths. 12101 12102 name_ptr and detail_ptr weren't free'd in some cases before returning 12103 False. 12104 12105 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12106 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12107 12108commit 396e5a452a59c1f121220ba72167b720a863b30f 12109Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12110Date: Thu Mar 24 14:17:44 2011 +0200 12111 12112 FSWrap: fix potential leak in copy_string_list 12113 12114 If list_count is 0, dst would be allocated and leaked. 12115 12116 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12117 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12118 12119commit 1a944260182bb552b954d69f6355c2760d4415df 12120Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12121Date: Wed Mar 23 14:36:22 2011 +0200 12122 12123 Fix memory leak with broken bitmap files in XReadBitmapFileData 12124 12125 Bitmap file data is read looping through the lines in the input file. If 12126 there is extra data after the bitmap, these lines will be processed and 12127 if this data represents another bitmap it will replace the one read 12128 before causing the memory allocated for bits to leak. 12129 12130 This changes the code to stop processing the file once a bitmap was 12131 read. 12132 12133 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12134 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12135 12136commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 12137Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12138Date: Tue Apr 12 20:50:42 2011 -0700 12139 12140 Fix "attrinute" typo in comments in ximcp 12141 12142 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12143 12144commit 7103b83a88edb9c93acfa68f3b556595b087baff 12145Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12146Date: Fri Apr 8 21:36:11 2011 -0700 12147 12148 Make doc install subdirectories more like the pre-docbook.am paths 12149 12150 Haven't restored the "specs" path in the install path, but have restored 12151 libX11 & i18n subdirectories in the path for better logical grouping. 12152 12153 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12154 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12155 12156commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 12157Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12158Date: Fri Apr 8 13:24:28 2011 -0700 12159 12160 Install xml versions of specs even if HAVE_XMLTO is false 12161 12162 Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 12163 from before docbook.am changes (commit e8c76407d2f6e3) 12164 12165 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12166 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12167 12168commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 12169Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12170Date: Tue Apr 5 13:29:04 2011 -0700 12171 12172 libX11 1.4.3 12173 12174 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12175 12176commit e8c76407d2f6e3b11babdb84426e43e780c859c3 12177Author: Gaetan Nadon <memsize@videotron.ca> 12178Date: Fri Feb 25 09:23:54 2011 -0500 12179 12180 Documentation: add Docbook external references support 12181 12182 When writing technical documentation, it is often necessary to cross 12183 reference to other information. When that other information is not in the 12184 current document, additional support is needed, namely <olink>. 12185 12186 A new feature with version 1.7 of xorg-sgml-doctools adds references to 12187 other documents within or outside this package. 12188 12189 This patch adds technical support for this feature but does not change 12190 the content of the documentation as seen by the end user. 12191 12192 Each book or article must generate a database containing the href 12193 of sections that can be referred to from another document. This database 12194 is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 12195 the value of DATAROOTDIR for xorg-sgml-doctools and for the package 12196 documentation is the same. This forms a virtual document tree. 12197 12198 This database is consulted by other documents while they are being generated 12199 in order to fulfill the missing information for linking. 12200 Refer to the xorg-sgml-doctools for further technical information. 12201 12202 Co-authored-by: Matt Dew <marcoz@osource.org> 12203 12204 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12205 12206commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 12207Author: Harshula Jayasuriya <harshula@gmail.com> 12208Date: Mon Mar 21 14:49:37 2011 +0000 12209 12210 Add #define XK_SINHALA 12211 12212 Add #define XK_SINHALA so that the Sinhala keysyms can be used by 12213 the lk xkb keymap. 12214 12215 Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 12216 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 12217 12218commit db8b20b789112717ac0590b40f0b4dc2171797d0 12219Author: Jeremy Huddleston <jeremyhu@apple.com> 12220Date: Thu Mar 17 16:15:00 2011 -0700 12221 12222 configure.ac: Bump version to 1.4.2 12223 12224 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 12225 12226commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 12227Author: Jamey Sharp <jamey@minilop.net> 12228Date: Tue Mar 15 16:48:07 2011 -0700 12229 12230 Call _XErrorFunction without holding the Display lock. 12231 12232 Historically, Xlib dropped the Display lock around the upcall to any 12233 user-supplied _XErrorFunction, but somewhere along the way I quit doing 12234 that if you built with XCB. The reasons are lost somewhere in the 12235 pre-git history of Xlib/XCB, and I can't now see any reason to hold the 12236 lock. 12237 12238 The documentation for XSetErrorHandler still applies though: 12239 12240 Because this condition is not assumed to be fatal, it is acceptable 12241 for your error handler to return; the returned value is ignored. 12242 However, the error handler should not call any functions (directly 12243 or indirectly) on the display that will generate protocol requests 12244 or that will look for input events. 12245 12246 So while you are now once again permitted to re-enter Xlib from the 12247 error handler, you're only allowed to call non-protocol functions. 12248 12249 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12250 12251commit fd85aca7a616c595fc17b2520f84316a11e8906f 12252Author: Jamey Sharp <jamey@minilop.net> 12253Date: Mon Mar 14 14:45:35 2011 -0700 12254 12255 Ignore user locks after sleeping in _XReply and _XReadEvents. 12256 12257 This bug appears as a hang in applications that wait for replies from 12258 multiple threads, where one such thread has taken a user lock using 12259 XLockDisplay. 12260 12261 Prior to this fix, the code could deadlock in this way: If thread 1 goes 12262 to sleep waiting for a reply, and then thread 2 takes a user lock and 12263 waits for a reply, then thread 2 will wait for thread 1 to process its 12264 reply (because responses must be processed in order), but thread 1 will 12265 wait for thread 2 to drop its user lock. 12266 12267 Fixed by making thread 1 not wait for thread 2 to drop its user lock. 12268 This makes the semantics of user locks hard to define, but they were 12269 already hard to define. The new behavior appears to be consistent with 12270 the way Xlib worked historically, anyway. 12271 12272 Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 12273 12274 There was a similar potential for deadlock in _XReadEvents, fixed the 12275 same way, with the same caveats about user-lock semantics. 12276 12277 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12278 12279commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 12280Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12281Date: Tue Jan 18 15:58:20 2011 +0200 12282 12283 xkb: XkbPropertyPtr determined allocation success from wrong variables 12284 12285 Cannot reach dead statement "return NULL;" 12286 12287 Check for the NULLness of prop->name and prop->value instead of 12288 name and value, which was checked earlier anyway. Decided against 12289 using strdup due to curious memory allocation functions and the 12290 rest of the xkb not using it either. 12291 12292 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12293 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 12294 12295commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 12296Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12297Date: Mon Jan 10 16:37:22 2011 +0200 12298 12299 keyBind: Use Xcalloc to initialize allocated _XKeytrans 12300 12301 Using uninitialized value "p->modifiers" 12302 12303 Small fix by using Xcalloc instead of Xmalloc 12304 12305 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12306 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 12307 12308commit b993d73bb3214ecc24646f5427c8003b816c6921 12309Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12310Date: Mon Jan 10 16:22:45 2011 +0200 12311 12312 im/ximcp: release modifiermap before returning 12313 12314 Variable "map" goes out of scope 12315 12316 Release modifiermap before returning. Reordered code to call 12317 XGetModifierMapping after the first return from the function. 12318 12319 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12320 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 12321 12322commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 12323Author: Gaetan Nadon <memsize@videotron.ca> 12324Date: Fri Feb 25 09:23:54 2011 -0500 12325 12326 Docbook: change the book id to match the xml file basename 12327 12328 This is required for the up-coming external references support. 12329 12330 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12331 12332commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 12333Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 12334Date: Mon Feb 21 21:54:17 2011 +0100 12335 12336 Make the Local XIM request key releases for braille 12337 12338 Braille chords management needs key release events. We need to explicitly 12339 request then, else GTK would not pass them throught XFilterEvent and braille 12340 wouldn't work. 12341 12342 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 12343 12344commit c97c42c49cd5095462abecdf908b416fb0b540b6 12345Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 12346Date: Mon Feb 21 17:27:38 2011 +0100 12347 12348 Match braille patterns with compose tree 12349 12350 Braille patterns should also be usable in Compose. This combines the 12351 implementation of braille chords and compose tree: only emit the braille 12352 pattern if it can not be found in the compose tree, if any. 12353 12354 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 12355 12356commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 12357Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 12358Date: Mon Feb 21 15:56:54 2011 +0100 12359 12360 Fix status reporting for braille patterns 12361 12362 _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 12363 convert to the current MB charset. 12364 _XimLocalUtf8LookupString needs to set the braille keysym and status too. 12365 12366 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 12367 12368commit 993abe751f4141f54d8d28b8b73588a1c9085970 12369Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12370Date: Fri Feb 11 14:49:17 2011 -0800 12371 12372 Clean up memory when first XCreateRegion succeeds and second fails 12373 12374 Error: Memory leak (CWE 401) 12375 Memory leak of pointer 's' allocated with XCreateRegion() 12376 at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 12377 's' allocated at line 387 with XCreateRegion(). 12378 s leaks when s != 0 at line 387. 12379 Error: Memory leak (CWE 401) 12380 Memory leak of pointer 'tra' allocated with XCreateRegion() 12381 at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 12382 'tra' allocated at line 1451 with XCreateRegion(). 12383 tra leaks when tra != 0 at line 1451. 12384 12385 [ This bug was found by the Parfait 0.3.6 bug checking tool. 12386 For more information see http://labs.oracle.com/projects/parfait/ ] 12387 12388 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12389 12390commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 12391Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12392Date: Fri Feb 11 14:20:24 2011 -0800 12393 12394 ximcp: Prevent memory leak & double free if multiple %L in string 12395 12396 In the highly unlikely event that TransFileName was passed a path 12397 containing multiple %L entries, for each entry it would call 12398 _XlcFileName, leaking the previous results, and then for each entry it 12399 would copy from that pointer and free it, resulting in invalid pointers 12400 & possible double frees for each use after the first one freed it. 12401 12402 Error: Use after free (CWE 416) 12403 Use after free of pointer 'lcCompose' 12404 at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 12405 Previously freed at line 360 with free. 12406 Error: Use after free (CWE 416) 12407 Use after free of pointer 'lcCompose' 12408 at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 12409 Previously freed at line 360 with free. 12410 Error: Double free (CWE 415) 12411 Double free of pointer 'lcCompose' 12412 at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 12413 Previously freed at line 360 with free. 12414 12415 [ This bug was found by the Parfait 0.3.6 bug checking tool. 12416 For more information see http://labs.oracle.com/projects/parfait/ ] 12417 12418 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12419 12420commit 502d414118c97d35a44f8e295709682022876331 12421Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12422Date: Thu Feb 3 17:08:57 2011 +0200 12423 12424 xcms/cmsProp: don't deal with uninitialized values, fail instead 12425 12426 Properly handle the return value of XGetWindowProperty by considering 12427 if after the loop as well. 12428 12429 Using freed pointer "prop_ret" 12430 12431 There were numerous things wrong in how this function interacted with 12432 XGetWindowProperty. 12433 12434 None of the local variables were initialized and remained that way if 12435 the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 12436 result in after_ret being initialized in which case if it happens to 12437 be 0, the loop was exited. In that case format_ret and nitems_ret were 12438 uninitialized and the function might return with success (but with 12439 uninitialized pointer in prop_ret) or XcmsFailure. 12440 12441 As the buffer enlarging code was called only when XGetWindowProperty 12442 failed (returned not Success), after_ret would not have been 12443 initialized. It would have been initialized only if the 12444 XGetWindowProperty has returned Success earlier, but in that case the 12445 code fragment would not have been reached. 12446 12447 This patch alters the function to return XcmsFailure if the call to 12448 XGetWindowProperty fails. 12449 12450 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12451 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12452 Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 12453 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12454 12455commit c37e278993b9e5b3d7025ef4c434373a011996ec 12456Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12457Date: Mon Jan 31 14:02:07 2011 +0200 12458 12459 xcms/LRGB: don't double-free property_return 12460 12461 property_return was free'd before and in the case the conditional is true, 12462 the call to XcmsGetProperty failed which means that property_return wasn't 12463 set so there is no need to free it again. 12464 12465 Double free of pointer "property_return" in call to "free" 12466 12467 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12468 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12469 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12470 12471commit 50f4107811249806718a100f9d34f996c58e5e25 12472Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12473Date: Wed Feb 2 08:58:45 2011 -0800 12474 12475 Xrm.c: ReadInFile: refactor fstat error handling 12476 12477 We can simplify the fstat failure case now that the GetFileSize macro 12478 has been expanded inline. 12479 12480 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12481 Reviewed-by: Julien Cristau <jcristau@debian.org> 12482 12483commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 12484Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12485Date: Wed Feb 2 08:56:00 2011 -0800 12486 12487 Expand GetSizeOfFile() macro at the one place it's called 12488 12489 Removes XrmI.h header that only contained this single macro 12490 12491 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12492 Reviewed-by: Julien Cristau <jcristau@debian.org> 12493 12494commit 450e17422c0e374d25c643f343ea268cec68da38 12495Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12496Date: Mon Jan 31 14:01:57 2011 +0200 12497 12498 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 12499 12500 Possible overrun of 8192 byte fixed size buffer "buffer" by copying 12501 "ext->name" without length checking 12502 12503 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12504 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12505 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12506 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12507 12508commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 12509Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12510Date: Mon Jan 31 14:02:13 2011 +0200 12511 12512 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 12513 12514 Fixed by zero'ing conv on allocation with Xcalloc. Then 12515 close_converter works properly. 12516 12517 Using uninitialized value "conv->state" in call to function "close_converter" 12518 12519 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12520 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12521 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12522 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12523 12524commit 03f81ad8fb9783986cf9b17661dd31e95c396681 12525Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12526Date: Mon Jan 31 14:02:16 2011 +0200 12527 12528 xlibi18n/lcFile: Removed superfluous check for NULL target_dir 12529 12530 The situation is already handled before this code. 12531 12532 Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 12533 12534 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12535 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12536 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12537 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12538 12539commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 12540Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12541Date: Mon Jan 31 14:02:15 2011 +0200 12542 12543 ximcp/imLckup: Handle negative return value from _Xlcwctomb 12544 12545 Fixed by negative value to memcpy by checking for the negative return 12546 value of _Xlcwctomb and returning 0/XLookupNone in that case. 12547 12548 a negative value was passed to memcpy 12549 12550 Unfortunately the other return values for *status don't fit into the 12551 error (which appears to indicate some internal error or running out of 12552 memory). The other valid status codes are XBufferOverflow, 12553 XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 12554 these has a specific meaning attached. 12555 12556 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12557 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12558 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12559 12560commit 79a5c86e020f08cc108184298a72e2777036de39 12561Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12562Date: Mon Jan 31 14:02:14 2011 +0200 12563 12564 ximcp/imTrX: Handle failing XGetWindowProperty 12565 12566 Checked return value of XGetWindowProperty and return false if it fails. 12567 12568 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 12569 12570 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12571 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12572 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12573 12574commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 12575Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12576Date: Mon Jan 31 14:02:12 2011 +0200 12577 12578 XlibInt: info_list->watch_data was reallocated, but result was discarded 12579 12580 info_list->watch_data was being reallocated, but the return value of 12581 the reallocation was stored only into a local variable. This might 12582 cause some funky behavior and crashes. 12583 12584 Variable "wd_array" goes out of scope 12585 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)))" 12586 12587 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12588 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12589 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12590 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12591 12592commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 12593Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12594Date: Mon Jan 31 14:02:10 2011 +0200 12595 12596 GetProp: Zero-initialized error so its resourceID field is initialized 12597 12598 Using uninitialized value "error.resourceID" in call to function "_XError" 12599 12600 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12601 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12602 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12603 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12604 12605commit 85e9f38e016137f0ff2791eb0d092ab027382d2c 12606Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12607Date: Tue Feb 1 11:07:25 2011 +0200 12608 12609 xcms/LRGB: Add a label for freeing property_return. 12610 12611 The rest of the code uses goto's to free memory allocated later 12612 and prevent memory leaks, but there were several paths were 12613 property_return was free'd just before a goto. 12614 12615 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12616 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12617 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12618 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12619 12620commit 3161dc57d4e9b70f852f05e5e474455e121b06ab 12621Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12622Date: Mon Jan 31 14:02:08 2011 +0200 12623 12624 xcms/LRGB: Fix potential resource leak. 12625 12626 property_return was not free'd if the allocation of pRedTbl failed. 12627 12628 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12629 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12630 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12631 12632commit be3e6c205d94dedc1cdebf5d17b987f0f828377a 12633Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12634Date: Mon Jan 31 14:02:06 2011 +0200 12635 12636 Xrm: Handle the extremely unlikely situation of fstat failing 12637 12638 Tracked variable "size" was passed to a negative sink. 12639 12640 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12641 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12642 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12643 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12644 12645commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 12646Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12647Date: Mon Jan 31 14:02:05 2011 +0200 12648 12649 Xrm: NEWTABLE had a memory leak after a memory allocation error 12650 12651 The NEWTABLE macro missed freeing its allocated memory on subsequent 12652 memory allocation errors. Added call to Xfree. 12653 12654 Variable "table" goes out of scope 12655 12656 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12657 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12658 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12659 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12660 12661commit 7110ac653349a23c80c365f11f6270dc27c8975a 12662Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12663Date: Mon Jan 31 14:02:03 2011 +0200 12664 12665 ImUtil: Handle a memory leak in one early return branch 12666 12667 Fixed memory leak by adding Xfree for image 12668 12669 Variable "image" goes out of scope 12670 12671 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12672 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12673 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12674 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12675 12676commit d695f5da9f5b778e54b6987d9177048e32818c4d 12677Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12678Date: Mon Jan 31 14:02:01 2011 +0200 12679 12680 ximcp/imRm: Handle leaking colormap_ret 12681 12682 Fixed memory leak by adding Xfree for colormap_ret 12683 12684 Variable "colormap_ret" goes out of scope 12685 12686 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12687 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12688 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12689 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12690 12691commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 12692Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12693Date: Mon Jan 31 14:01:59 2011 +0200 12694 12695 ximcp/imRmAttr: Handle leaking missing_list 12696 12697 Fixed memory leak by adding Xfree and initializing missing_list with NULL 12698 12699 Variable "missing_list" goes out of scope 12700 12701 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12702 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12703 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12704 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12705 12706commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 12707Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12708Date: Mon Jan 31 14:01:58 2011 +0200 12709 12710 ximcp/imRmAttr: Handle leaking colormap_ret 12711 12712 XFree colormap_ret and initialize it when appropriate. 12713 12714 Variable "colormap_ret" goes out of scope 12715 12716 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12717 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12718 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12719 12720commit f66a032a937030f2d9baa81744d36dc585bb085c 12721Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12722Date: Mon Jan 31 14:01:56 2011 +0200 12723 12724 xlibi18n/lcGeneric: Initialize uninitialized local variable 12725 12726 Using uninitialized value "new" 12727 12728 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12729 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12730 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12731 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12732 12733commit d0266e06d38110ec908ca28379014eff743630b7 12734Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12735Date: Mon Jan 31 14:01:54 2011 +0200 12736 12737 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 12738 12739 Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 12740 12741 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12742 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12743 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12744 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12745 12746commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 12747Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12748Date: Tue Feb 1 12:30:56 2011 +0200 12749 12750 XDefaultOMIF.c: Fix memory leaks in get_font_name 12751 12752 Instead of copying the value returned by get_prop_name and then releasing it, 12753 directly use the return value of get_prop_name, which allocates memory for the 12754 name. 12755 12756 If get_prop_name returns NULL, continue on to XFreeFont to release the font 12757 before returning the NULL via the normal function return. 12758 12759 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12760 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12761 12762commit 95796351435d81eaef8166d49ba3a6e7b633d70a 12763Author: Gaetan Nadon <memsize@videotron.ca> 12764Date: Mon Jan 31 14:50:19 2011 -0500 12765 12766 config: comment, minor upgrade, quote and layout configure.ac 12767 12768 Group statements per section as per Autoconf standard layout 12769 Quote statements where appropriate. 12770 Autoconf recommends not using dnl instead of # for comments 12771 12772 Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 12773 Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 12774 12775 This helps automated maintenance and release activities. 12776 Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 12777 12778 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12779 12780commit e994ab227ed28655565c3193e63733630105e7f9 12781Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12782Date: Tue Jan 18 12:49:48 2011 +0200 12783 12784 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 12785 12786 Removed superfluous comparison. 12787 12788 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 12789 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12790 12791commit 4115f051e62f9b098efce691e070d44f09f30f1c 12792Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12793Date: Wed Jan 12 15:51:11 2011 +0200 12794 12795 Variable "entry" tracked as NULL was dereferenced. 12796 12797 Check entry for non-nullness before dereferencing it 12798 12799 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 12800 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12801 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12802 12803commit 0edb76d1d5fdca5a2543332699be2e72386dab24 12804Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12805Date: Thu Jan 27 09:54:00 2011 +0200 12806 12807 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 12808 12809 If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 12810 12811 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 12812 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12813 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12814 12815commit 59da8a211ef723909d0530c0331d541db8e63378 12816Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12817Date: Mon Jan 10 16:17:47 2011 +0200 12818 12819 Using freed pointer "e" 12820 12821 Reordered code to first to do the comparison and then to release data 12822 12823 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12824 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12825 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12826 12827commit 0f11c229f7099f7c5aeed4691b358dca151dac7d 12828Author: Matt Dew <marcoz@osource.org> 12829Date: Thu Jan 27 00:31:23 2011 -0700 12830 12831 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 12832 12833 Signed-off-by: Matt Dew <marcoz@osource.org> 12834 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12835 12836commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 12837Author: Gaetan Nadon <memsize@videotron.ca> 12838Date: Fri Jan 28 16:07:07 2011 -0500 12839 12840 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 12841 12842 This silences an Automake warning. 12843 12844 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12845 12846commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 12847Author: Gaetan Nadon <memsize@videotron.ca> 12848Date: Fri Jan 28 14:59:04 2011 -0500 12849 12850 config: remove unrequired AC_HEADER_STDC 12851 12852 Autoconf says: 12853 "This macro is obsolescent, as current systems have conforming 12854 header files. New programs need not use this macro". 12855 12856commit d4483375e37a72631d5821413cb75a423e990ffe 12857Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12858Date: Tue Jan 18 19:37:02 2011 -0800 12859 12860 config: Use correct AC_CONFIG_HEADERS macro 12861 12862 Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 12863 12864 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12865 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12866 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 12867 12868commit c6405fe931f313a0d159bdad00244fc8aae12468 12869Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12870Date: Sun Jan 16 11:55:23 2011 -0800 12871 12872 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 12873 12874 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 12875 AC_PROG_C_C99. This sets gcc with -std=gnu99. 12876 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 12877 12878 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12879 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12880 12881commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 12882Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12883Date: Sun Jan 16 11:40:59 2011 -0800 12884 12885 Update to xf86bigfontproto >= 1.2.0 header name 12886 12887 Clears compile-time warning of: 12888 "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 12889 "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 12890 12891 Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 12892 passed to configure. 12893 12894 Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 12895 that PKG_CHECK_MODULES does automatically 12896 12897 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12898 Reviewed-by: Julien Cristau <jcristau@debian.org> 12899 12900commit a9228fcc676aacf9a760dd94891c89f9bc82b20d 12901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12902Date: Tue Jan 11 17:55:22 2011 -0800 12903 12904 libX11 1.4.1 12905 12906 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12907 12908commit 92fa96451af37a7a0f2592de07643fdaed7a9efd 12909Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 12910Date: Mon Jan 3 12:25:28 2011 -0500 12911 12912 Initialize event type 12913 12914 If we receive unsupported event closing connection triggers valgrind 12915 error. 12916 12917 ==12017== Conditional jump or move depends on uninitialised value(s) 12918 ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 12919 ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 12920 *snip* 12921 ==12017== Uninitialised value was created by a heap allocation 12922 ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 12923 ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 12924 ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 12925 ==12017== by 0x4892263: _XReply (xcb_io.c:626) 12926 *snip* 12927 12928 Problem is that XFreeDisplaySturture is checking for qelt->event.type == 12929 GenericEvent while _XUnknownWireEvent doesn't store the type. 12930 12931 Reviewed-by: Adam Jackson <ajax@redhat.com> 12932 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 12933 Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 12934 12935commit fa9747b9d4443eef9b1687b8b1208801f5c585da 12936Author: Fernando Carrijo <fcarrijo.lists@gmail.com> 12937Date: Tue Dec 28 16:18:57 2010 -0500 12938 12939 specs: convert images from gif to svg format. 12940 12941 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12942 12943commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 12944Author: Philipp Reh <sefi@s-e-f-i.de> 12945Date: Wed Dec 22 15:14:05 2010 +0000 12946 12947 Events: Store event cookie when dequeuing event 12948 12949 When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 12950 make sure to store the corresponding cookie too. 12951 12952 Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 12953 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 12954 12955commit d2714d65e85b44abedf5f82e1a31506dba397ef2 12956Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12957Date: Tue Dec 21 18:47:16 2010 -0800 12958 12959 Revert "Mark atom names argument to XInternAtoms as const" 12960 12961 This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 12962 12963 The constification of a pointer to a pointer caused unexpected issues, 12964 and xorg-devel was unable to come up with a clean, safe, reasonable way 12965 to handle them, so we're chalking this up for now as yet another mistake 12966 in the Xlib API definition we'll be living with. 12967 12968 See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 12969 12970 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12971 12972commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 12973Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12974Date: Mon Dec 20 20:54:07 2010 -0800 12975 12976 specs/XKB: make acknowlegement section <preface> instead of <chapter> 12977 12978 Fixes numbering of actual chapters to match their filenames and to 12979 make the table/figure numbering match the references in the text. 12980 12981 Reported-by: jelmd on freenode irc 12982 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12983 12984commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 12985Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12986Date: Sun Dec 19 23:53:02 2010 -0800 12987 12988 Add XKBlib spec images to dist_spec_DATA for distribution & installation 12989 12990 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12991 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12992 12993commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 12994Author: Matt Dew <matt@osource.org> 12995Date: Tue Nov 30 10:52:07 2010 -0500 12996 12997 specs: convert XKBlib spec from Framemaker to DocBook.xml 12998 12999 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13000 13001commit c8701115462b482d99ecff24d9de0f2806084ba5 13002Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13003Date: Sun Nov 21 20:49:05 2010 -0800 13004 13005 Mark atom names argument to XInternAtoms as const 13006 13007 Updates code & docs for XInternAtoms. 13008 13009 The single atom name argument to XInternAtom was already const char * 13010 in the code, but not the docs, so updated it in the docs too. 13011 13012 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13013 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 13014 13015commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 13016Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13017Date: Sun Nov 21 14:04:32 2010 -0800 13018 13019 libX11 1.4.0 13020 13021 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13022 13023commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 13024Author: Dan Nicholson <dbn.lists@gmail.com> 13025Date: Sat Nov 6 21:58:10 2010 +0000 13026 13027 config: Check host string when deciding architecture to build for 13028 13029 When checking for the OS/2 platform, $target_os is used. However, unless 13030 building a cross compiler, the $host* strings contain the platform 13031 details for the build system. See: 13032 13033 http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 13034 13035 $host_os is already being used to determine the transport and threading 13036 options. 13037 13038 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 13039 Reviewed-by: Julien Cristau <jcristau@debian.org> 13040 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13041 13042commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 13043Author: Dan Nicholson <dbn.lists@gmail.com> 13044Date: Sat Nov 6 21:58:09 2010 +0000 13045 13046 config: Fix architecture check for OS/2 to skip nios2 cpu 13047 13048 The OS/2 platform requires some utility functions as well as having a 13049 non-32 bit wchar_t. Fix the configure check so that it doesn't also 13050 affect the nios2 cpu, which wouldn't influence these operating system 13051 issues. 13052 13053 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 13054 Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 13055 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13056 Reviewed-by: Julien Cristau <jcristau@debian.org> 13057 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13058 13059commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 13060Author: Gaetan Nadon <memsize@videotron.ca> 13061Date: Tue Nov 9 13:04:44 2010 -0500 13062 13063 config: HTML file generation: use the installed copy of xorg.css 13064 13065 Currenlty the xorg.css file is copied in each location 13066 where a DocBook/XML file resides. This produces about 13067 70 copies in the $(docdir) install tree. 13068 13069 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13070 13071commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 13072Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13073Date: Fri Oct 29 22:02:10 2010 -0700 13074 13075 libX11 1.3.99.903 (1.4.0 RC3) 13076 13077 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13078 13079commit 5d245d8013289b13e0c42100951b26166c7fada4 13080Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13081Date: Fri Oct 29 22:01:39 2010 -0700 13082 13083 Require xorg-macros 1.11 now that it is released 13084 13085 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13086 13087commit 1ec89689fc771f116a6165226b9e076f54254a40 13088Author: Dan Nicholson <dbn.lists@gmail.com> 13089Date: Fri Oct 22 19:09:07 2010 -0700 13090 13091 docs: Disable fop documentation by default 13092 13093 fop is used to generate the pdf and ps formats of the documentation. 13094 This can significantly slow down the build, especially when creating all 13095 the compose key charts. Since few people probably want the full set of 13096 doc formats, set the default to 'no'. 13097 13098 The default parameter for XORG_WITH_FOP is only available in recent 13099 macros. Users generating configure from older macros will just get 13100 'auto' as the default. 13101 13102 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 13103 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 13104 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13105 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13106 13107commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 13108Author: Jon TURNEY <jon.turney@dronecode.org.uk> 13109Date: Wed Apr 14 13:38:18 2010 +0100 13110 13111 Add C.UTF-8 and C.ASCII locale aliases 13112 13113 Add C.UTF-8 locale as an alias for en_US.UTF-8 13114 Add C.ASCII locale as an alias for C 13115 13116 (C.UTF-8 is the default locale for cygwin. It also exists in debian, 13117 although I don't think it's intended for use by humans.) 13118 13119 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 13120 Acked-by: Julien Cristau <jcristau@debian.org> 13121 Reviewed-by: James Cloos <cloos@jhcloos.com> 13122 13123commit 81d1d9a6bdca779a44f931730b866eea75777c00 13124Author: Dan Nicholson <dbn.lists@gmail.com> 13125Date: Sat Oct 9 16:00:47 2010 -0700 13126 13127 docs: Remove directory prerequisites from make rules 13128 13129 Make expects prerequisites to be files with valid timestamps, and 13130 directories are treated as always being out of date. Thus, any targets 13131 depending on directories will always be rebuilt. 13132 13133 Instead, the doc rules are changed to always create the target's leading 13134 directory. This should prevent the documentation from being rebuilt when 13135 "make install" is run. 13136 13137 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 13138 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 13139 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13140 13141commit d0cbf388919364fe6b5b9127f36426eb744090a0 13142Author: Jeremy Huddleston <jeremyhu@apple.com> 13143Date: Sun Sep 26 21:21:16 2010 -0700 13144 13145 Add an "X11_" string to header guards to avoid possible collision 13146 13147 This addresses a build failure which can result from <X11/Xlocale.h> and 13148 <xlocale.h> being included in the same code since they both used the same 13149 _XLOCALE_H_ protection. 13150 13151 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 13152 13153commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 13154Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13155Date: Tue Sep 21 19:53:03 2010 -0700 13156 13157 libX11 1.3.99.902 (1.4.0 RC2) 13158 13159 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13160 13161commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 13162Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13163Date: Tue Sep 14 00:10:31 2010 -0700 13164 13165 Bug 19379 - Provide docs with overview of all compose key combinations 13166 13167 Adds compose-chart.pl to generate DocBook/XML documents listing compose 13168 keys, and Makefile rules to generate HTML & PDF output from them if xmlto 13169 is present. 13170 13171 https://bugs.freedesktop.org/show_bug.cgi?id=19379 13172 13173 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13174 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 13175 Reviewed-by: James Cloos <cloos@jhcloos.com> 13176 Tested-by: Gaetan Nadon <memsize@videotron.ca> 13177 13178commit 3eb064071695ebf0f371163ed818a428dfeba8e6 13179Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13180Date: Sat Sep 11 00:49:21 2010 -0700 13181 13182 Make locale data build non-recursive / parallelizable 13183 13184 On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 13185 plus this simplifies the next set of changes. 13186 13187 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13188 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 13189 Reviewed-by: James Cloos <cloos@jhcloos.com> 13190 Tested-by: Gaetan Nadon <memsize@videotron.ca> 13191 13192commit a3fc78ac352e5a70a958996ef6aec50f653974d1 13193Author: Gaetan Nadon <memsize@videotron.ca> 13194Date: Fri Sep 17 17:38:11 2010 -0400 13195 13196 config: remove man page suffix from bottom summary 13197 13198 The man page suffix is the same for all libraries on a given 13199 platform and is not configurable. It should have been removed 13200 in commit 09edc6de6. 13201 13202 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13203 13204commit a52b0068f36c739eb7e426214cd72a8d9bb776ca 13205Author: Gaetan Nadon <memsize@videotron.ca> 13206Date: Fri Sep 17 17:29:30 2010 -0400 13207 13208 config: remove unhelpful comment in .gitignore 13209 13210 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13211 13212commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 13213Author: Adam Jackson <ajax@redhat.com> 13214Date: Wed Sep 8 10:44:23 2010 -0400 13215 13216 Zero buffer data in BufAlloc() 13217 13218 Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 13219 compress better with ssh and friends. Note that you'll need to rebuild 13220 all your protocol libraries to take advantage of this. 13221 13222 Signed-off-by: Adam Jackson <ajax@redhat.com> 13223 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 13224 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13225 13226commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 13227Author: James Cloos <cloos@jhcloos.com> 13228Date: Sun Sep 12 17:00:54 2010 -0400 13229 13230 Revert “Dolt-ify" 13231 13232 Libtool’s is now sufficiently fast that DOLT is no longer 13233 worth the bother, even on those few systems where is works. 13234 13235 This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 13236 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 13237 13238 It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 13239 which moved dolt from configure.ac to m4/dolt.m4. 13240 13241 And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 13242 13243 Signed-off-by: James Cloos <cloos@jhcloos.com> 13244 13245commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 13246Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13247Date: Thu Sep 9 19:24:29 2010 -0700 13248 13249 XIM spec title page minor formatting cleanup 13250 13251 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13252 13253commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 13254Author: Jens Petersen <petersen@redhat.com> 13255Date: Mon Aug 23 18:08:10 2010 -0700 13256 13257 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 13258 13259 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 13260 13261 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13262 13263commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 13264Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13265Date: Fri Sep 3 23:11:53 2010 -0700 13266 13267 Sun's copyrights are now owned by Oracle 13268 13269 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13270 13271commit 7742bf62b1fa652da4270587e280249945367cae 13272Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13273Date: Fri Sep 3 18:31:44 2010 -0700 13274 13275 libX11 1.3.99.901 (1.4.0 RC1) 13276 13277 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13278 13279commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 13280Author: Jeroen Hoek <mail@jeroenhoek.nl> 13281Date: Sun Aug 29 09:47:06 2010 -0400 13282 13283 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 13284 13285 Add LATIN CAPITAL LETTER SHARP S 13286 (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 13287 13288 Signed-off-by: James Cloos <cloos@jhcloos.com> 13289 13290commit 09edc6de6619a2eabda3b808ebff4165550664f1 13291Author: Gaetan Nadon <memsize@videotron.ca> 13292Date: Fri Aug 13 14:21:08 2010 -0400 13293 13294 config: remove man-pages configuration option 13295 13296 This option was added in commit 6e752ea120 with no explanation. 13297 The section number is provoded by XORG_MANPAGE_SECTIONS 13298 There is no case where libX11 should be different than other libs 13299 The option was also used to disable building of the man pages, 13300 which build in 14 secs. No indication this is required. 13301 13302 If there is a requirement from system builders to disable building 13303 of man pages, it could be done consistently for all modules. 13304 13305 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13306 13307commit f92e754297ec5fdb81068b56a4435026666224fa 13308Author: Aaron Plattner <aplattner@nvidia.com> 13309Date: Sun Aug 15 21:51:38 2010 -0700 13310 13311 XOpenDisplay: save the correct display_name value 13312 13313 The X Test Suite's XDisplayString test checks the invariant 13314 XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 13315 invariant by expanding str to the canonical form "host:display.scrn" (unless 13316 HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 13317 to ":1.0": 13318 13319 400|26 1 1 19:26:41|IC Start 13320 200|26 1 19:26:41|TP Start 13321 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 13322 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 13323 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 13324 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 13325 520|26 1 00032625 1 5|value used as the display argument. 13326 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 13327 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 13328 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 13329 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 13330 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 13331 220|26 1 1 19:26:41|FAIL 13332 410|26 1 1 19:26:41|IC End 13333 13334 Fix this by deleting all of the code to construct the canonical path and just 13335 stashing a copy of the original display_name in dpy->display_name. 13336 13337 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 13338 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 13339 13340commit 1dc401f678469d0235e6d0b28eb4356f03327c9f 13341Author: Gaetan Nadon <memsize@videotron.ca> 13342Date: Fri Aug 13 13:06:51 2010 -0400 13343 13344 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 13345 13346 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13347 13348commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 13349Author: Gaetan Nadon <memsize@videotron.ca> 13350Date: Fri Aug 13 11:42:29 2010 -0400 13351 13352 man: simplify building of shadow man pages 13353 13354 Store the shadow files in git as any other man page. 13355 Move man pages to man dir and use the common makefile 13356 13357 Local fix in CVS for bug 5628 is not required 13358 as the problem has been fixed in 13359 util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 13360 13361 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13362 13363commit bfd899c9af2318ecbe84cb69007dba4223fdb502 13364Author: Gaetan Nadon <memsize@videotron.ca> 13365Date: Mon Aug 9 09:39:26 2010 -0400 13366 13367 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 13368 13369 in commit 76e07ef6911734eac418e399b114f1b544512736. 13370 13371 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13372 13373commit 76e07ef6911734eac418e399b114f1b544512736 13374Author: Gaetan Nadon <memsize@videotron.ca> 13375Date: Fri Aug 6 14:01:51 2010 -0400 13376 13377 man: using the C preprocessor is not required for man pages. 13378 13379 There were no special symbols needing cpp. 13380 Everything can be handled by the default MAN_SUBSTS in util-macros. 13381 13382 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13383 13384commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 13385Author: Jamey Sharp <jamey@minilop.net> 13386Date: Fri Aug 6 15:51:56 2010 -0700 13387 13388 Fix use-after-free in _XReply on X errors. 13389 13390 _XReply would always call dequeue_pending_request on errors. When it 13391 got an error for the current request, it would call dequeue, then break 13392 out of the loop; then, if it had an error in the event queue, it would 13393 compare it with the sequence number of the now-freed pending request. 13394 _XReply already stored that sequence number in dpy->last_request_read 13395 before freeing it, so look at that instead. 13396 13397 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 13398 13399 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13400 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 13401 13402commit 9fa146b30046396b70d64986e50d6617b3a8ac48 13403Author: Gaetan Nadon <memsize@videotron.ca> 13404Date: Sat Jul 31 16:15:35 2010 -0400 13405 13406 specs: xsl stylesheet requires abs path to images 13407 13408 Using abs_builddir requires automake 1.10 or later. 13409 13410 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13411 13412commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 13413Author: Gaetan Nadon <memsize@videotron.ca> 13414Date: Sun Aug 1 14:13:07 2010 -0400 13415 13416 specs: update .gitignore now that all groff generated files are gone 13417 13418 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13419 13420commit f70527f05677aaf6a493ba42d2d95f738aaebafa 13421Author: Adam Jackson <ajax@redhat.com> 13422Date: Thu Jul 29 11:11:21 2010 -0400 13423 13424 nls: Switch one of the interrobang sequences to gnaborretni 13425 13426 Since gnaborretni is primarily used in LTR locales, the ? part of the 13427 sequence reflects the position of the bulge in the ?. When scanning an 13428 inverted interrobang left-to-right, you see the bulge first, so the 13429 compose sequence ?! is used; upright interrobang shows the bulge 13430 last, so it's !?. 13431 13432 This is a change in behaviour, but I was unable to come up with anything 13433 better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 13434 would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 13435 Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 13436 ~!? and ~?! were considered but are arguably less intuitive. 13437 13438 Reviewed-by: James Cloos <cloos@jhcloos.com> 13439 Signed-off-by: Adam Jackson <ajax@redhat.com> 13440 13441commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 13442Author: Gaetan Nadon <memsize@videotron.ca> 13443Date: Wed Jul 28 10:27:39 2010 -0400 13444 13445 specs: move indexterm from glossdef to glossterm 13446 13447 This move fixes a Java class cast exception in the glossary. 13448 The problem was introduced in commit 13449 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 13450 13451 It may not happen on all versions of the doc toolchain. 13452 There is no reason why indexterm cannot appear in glossdef, 13453 this is a workaround to an implementation problem found by 13454 trial and error. 13455 13456 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13457 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13458 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13459 13460commit 87a108f3aa565aa803dacb3a53b811f45025b609 13461Author: Matt Dew <matt@osource.org> 13462Date: Sat Jul 24 14:46:57 2010 -0400 13463 13464 specs: replace troff source with docbook-xml source 13465 13466 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13467 13468commit 8e603413586ff42b1351688f6f99318cbe243bca 13469Author: Julien Cristau <jcristau@debian.org> 13470Date: Sat Jul 24 22:13:07 2010 +0200 13471 13472 Compose.man: default user compose file is .XCompose, not .Xcompose 13473 13474 The path was correct in the DESCRIPTION section, but not in FILES. 13475 13476 Signed-off-by: Julien Cristau <jcristau@debian.org> 13477 13478commit 554da76ece85d0fc0cada45a86860e69c2107e9a 13479Author: Daniel Stone <daniel@fooishbar.org> 13480Date: Tue Jul 20 12:34:48 2010 +0100 13481 13482 NLS: Add \o/ Compose sequence 13483 13484 Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 13485 to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 13486 13487 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13488 13489commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 13490Author: Daniel Stone <daniel@fooishbar.org> 13491Date: Fri Jul 9 18:13:13 2010 +0100 13492 13493 XStringToKeysym: Cope with 0x1234cafe-style input 13494 13495 If we get input in the style of 0xdeadbeef, just return that exact 13496 keysym. Introduces a dependency on strtoul, which I'm told is OK on all 13497 the systems we care about. 13498 13499 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13500 13501commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 13502Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13503Date: Mon Jul 19 17:58:27 2010 -0700 13504 13505 specs/libX11: Fix column count of Gravity Attributes table 13506 13507 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13508 13509commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 13510Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13511Date: Mon Jul 19 14:43:38 2010 -0700 13512 13513 specs/libX11: Convert \- to − and \^ to either   or removed 13514 13515 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13516 13517commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 13518Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13519Date: Mon Jul 19 11:28:50 2010 -0700 13520 13521 specs/libX11: Manual cleanup pass over Ch. 1 13522 13523 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13524 13525commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 13526Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13527Date: Mon Jul 19 14:51:10 2010 -0700 13528 13529 specs/libX11: make sure all files have DOCTYPEs so standard entities work 13530 13531 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13532 13533commit c944a8521f5760b485192658b921145159cdb439 13534Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13535Date: Sun Jul 18 13:12:20 2010 -0700 13536 13537 specs/libX11: Fix up list of header files in Ch.1 & add index entries 13538 13539 Combination of manual editing and automatic substitution via: 13540 13541 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 13542 13543 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13544 13545commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 13546Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13547Date: Sun Jul 18 12:47:27 2010 -0700 13548 13549 specs/libX11: Add indexterms for headerfiles that .hN used to provide 13550 13551 Automatic substitution performed via: 13552 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 13553 13554 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13555 13556commit d0b0d215cb85da48b323b1392149ce181e7ef5ec 13557Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13558Date: Fri Jul 16 21:15:13 2010 -0700 13559 13560 specs/libX11: convert multicolumn lists from tables to <simplelist> 13561 13562 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13563 13564commit e679f80c6210c0aefe3669f8f536353619097a4b 13565Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13566Date: Fri Jul 16 20:51:52 2010 -0700 13567 13568 specs/libX11: Tag WM_* as <property> 13569 13570 Mass substitution done by: 13571 perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 13572 13573 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13574 13575commit c7b7e59b3b22221d0be6286c540001c360308f69 13576Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13577Date: Fri Jul 16 20:41:33 2010 -0700 13578 13579 specs/libX11: Convert simpler eqn markup to docbook tags 13580 13581 Mostly "sup" to <superscript> 13582 13583 There's several more complicated equations that will probably need 13584 MathML or SVG to solve. 13585 13586 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13587 13588commit 897486c54c6a54771867d667441aaf9a4b9c35ca 13589Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13590Date: Fri Jul 16 00:50:39 2010 -0700 13591 13592 specs/libX11: App. D: convert literallayouts to synopsis or programlisting 13593 13594 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13595 13596commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 13597Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13598Date: Fri Jul 16 00:36:43 2010 -0700 13599 13600 specs/libX11: Fix section headers in Appendix D 13601 13602 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13603 13604commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 13605Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13606Date: Wed Jul 14 07:22:26 2010 -0700 13607 13608 specs/libX11: Explicitly tag document as English 13609 13610 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13611 13612commit 6783544706ff370e900c137f951e90230586d6dc 13613Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13614Date: Mon Jul 12 22:03:18 2010 -0700 13615 13616 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 13617 13618 Fixes display of a bunch of function prototypes and sample code 13619 13620 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13621 13622commit 8834cd9285e6aaf437aee56292c508d99a090fa9 13623Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13624Date: Mon Jul 12 18:37:16 2010 -0700 13625 13626 xmlrules.in: Add chunked-html rule to manually generate smaller files 13627 13628 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13629 13630commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 13631Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13632Date: Mon Jul 12 18:35:59 2010 -0700 13633 13634 specs/libX11: Convert Appendix A tables to real tables 13635 13636 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13637 13638commit 705a1257a8a47f4a1f94979aee09a837500ede7d 13639Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13640Date: Mon Jul 12 18:38:09 2010 -0700 13641 13642 specs/libX11: Fix out-of-place text in Chapter 1 13643 13644 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 13645 13646 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13647 13648commit a151346a2b7810e988f1de4b1e00b37672dc587a 13649Author: Jeremy Huddleston <jeremyhu@apple.com> 13650Date: Mon Jul 12 16:52:12 2010 -0700 13651 13652 launchd: Explicitly search /sbin 13653 13654 Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 13655 https://bugs.freedesktop.org/show_bug.cgi?id=29028 13656 13657 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 13658 13659commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 13660Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13661Date: Mon Jul 12 13:38:04 2010 -0700 13662 13663 Replace untranslated .hN macros with <filename> tags to show header names 13664 13665 Translation performed by: 13666 perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 13667 {<<filename class="headerfile">$1</filename>>$2}' *.xml 13668 13669 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13670 13671commit 75480440946603b8efdbbf78b88d59c641b6d2c8 13672Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13673Date: Sat Jul 10 00:06:13 2010 -0700 13674 13675 specs/libX11: Mass substitution of <function> tags with more specific tags 13676 13677 Matched names from X headers & "nm libX11.so" output to names in spec to 13678 map to more specific tags. Tags used: 13679 13680 <code> code fragments 13681 <constant> enum values 13682 <errorname> X protocol errors 13683 <filename> filenames 13684 <function> functions 13685 <function> function-like macros (#define foo(a,b)...) 13686 <returnvalue> function return codes 13687 <structfield> struct members 13688 <structname> struct names (even when typedefed) 13689 <symbol> simple value #defines (#define NAME value) 13690 <systemitem> X protocol requests 13691 <systemitem class="event"> X protocol events 13692 <type> non-struct typedefs 13693 <varname> global variables 13694 13695 (Also fixed a couple typos detected by failures of this matching, such as 13696 XESSetPrintErrorValues -> XESetPrintErrorValues.) 13697 13698 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13699 13700commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 13701Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13702Date: Fri Jul 9 00:37:23 2010 -0700 13703 13704 specs/libX11: Glossary cross-reference links 13705 13706 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13707 13708commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 13709Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13710Date: Thu Jul 8 21:19:08 2010 -0700 13711 13712 specs/libX11: Make whitespace around <function> tags more uniform 13713 13714 Simplifies regular expressions for further mass substitutions. 13715 13716 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13717 13718commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 13719Author: Gaetan Nadon <memsize@videotron.ca> 13720Date: Fri Jul 9 20:10:37 2010 -0400 13721 13722 specs: use pattern rules rather than suffix rules 13723 13724 This allows target to rebuild when included .xml files are changed. 13725 13726 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13727 13728commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 13729Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13730Date: Thu Jul 8 20:56:41 2010 -0700 13731 13732 specs/libX11: Move punctuation outside of the <function> tags 13733 13734 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13735 13736commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 13737Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13738Date: Thu Jul 8 20:42:50 2010 -0700 13739 13740 specs/libX11: Mark a number of <acronym>s 13741 13742 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13743 13744commit d5bbb12f55ac9f691eab6242cedc53207275131b 13745Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13746Date: Thu Jul 8 19:31:36 2010 -0700 13747 13748 specs/libX11: Glossary terms should not be marked as functions 13749 13750 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13751 13752commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 13753Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13754Date: Thu Jul 8 19:28:18 2010 -0700 13755 13756 specs/libX11: Clean up author list & acknowledgements a little 13757 13758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13759 13760commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 13761Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13762Date: Thu Jul 8 17:30:34 2010 -0700 13763 13764 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 13765 13766 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13767 13768commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 13769Author: Gaetan Nadon <memsize@videotron.ca> 13770Date: Thu Jul 8 17:29:21 2010 -0400 13771 13772 specs: specdir is required to install xml files 13773 13774 The source is installed as well as the targets. 13775 This failed when configuring with --without-xmlto 13776 13777 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13778 13779commit e14273f44c1501ab51db4adcb83b18a1073787d8 13780Author: Matt Dew <matt@osource.org> 13781Date: Thu Jul 8 14:42:32 2010 -0400 13782 13783 specs: replace troff source with docbook-xml source 13784 13785 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13786 13787commit bea0873caf50e9ed1b89255775d9ab912cbecd45 13788Author: Daniel Stone <daniel@fooishbar.org> 13789Date: Thu Jul 8 16:49:51 2010 +0100 13790 13791 XStringToKeysym: Check strdup() return value 13792 13793 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13794 Reviewed-by: Keith Packard <keithp@keithp.com> 13795 13796commit cffa71b4a5743e2b6675b9a917d15aef4177d513 13797Author: Marko Myllynen <myllynen@redhat.com> 13798Date: Mon Jun 28 15:08:05 2010 +0300 13799 13800 Fix two typos in SFS 5966 Annex 3 13801 13802 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 13803 13804 Signed-off-by: Julien Cristau <jcristau@debian.org> 13805 13806commit eb023c0f8919e809b8b609e1467b14d20a290aa7 13807Author: Daniel Stone <daniel@fooishbar.org> 13808Date: Tue Jun 15 18:49:43 2010 +0100 13809 13810 Delete now-redundant XKeysymDB 13811 13812 Since XStringToKeysym now supports all the vendor keysyms, just delete 13813 our XKeysymDB, which was incomplete at best, misleading at worst, and 13814 always an annoyance. 13815 13816 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13817 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13818 13819commit 00175397480b76d32bf82b0c7c94c91a2a95954e 13820Author: Daniel Stone <daniel@fooishbar.org> 13821Date: Tue Jun 15 18:48:48 2010 +0100 13822 13823 makekeys: Scan vendor keysyms as well as core 13824 13825 Since we can't really live without vendor keysyms, scan them all in to 13826 generate ks_tables.h, rather than only doing the core ones, and leaving 13827 the vendor syms to be manually synchronised with XKeysymDB. 13828 13829 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13830 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13831 13832commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 13833Author: Daniel Stone <daniel@fooishbar.org> 13834Date: Tue Jun 15 18:47:37 2010 +0100 13835 13836 XStringToKeysym: Special case for XF86 keysyms 13837 13838 Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 13839 XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 13840 found our XF86_foo, try it again as XF86foo. 13841 13842 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13843 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13844 13845commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 13846Author: Daniel Stone <daniel@fooishbar.org> 13847Date: Tue Jun 15 17:20:48 2010 +0100 13848 13849 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 13850 13851 AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 13852 namespace, so start using the more proper AX_DEFINE_DIR instead. 13853 13854 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13855 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 13856 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13857 13858commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 13859Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 13860Date: Thu Jul 1 06:50:47 2010 -0300 13861 13862 Purge macros NEED_EVENTS and NEED_REPLIES 13863 13864 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 13865 Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 13866 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13867 13868commit 0b724231be17f19538ee115a03b82b221b1f83c0 13869Author: Adam Jackson <ajax@redhat.com> 13870Date: Wed Jun 30 16:30:49 2010 -0400 13871 13872 Use -version-number consistently instead of -version-info 13873 13874 The latter is libtool braindamage. 13875 13876 Signed-off-by: Adam Jackson <ajax@redhat.com> 13877 13878commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 13879Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 13880Date: Tue Jun 29 18:32:42 2010 +0200 13881 13882 Make Compose-comma map to ogonek for I and U in UTF-8 locales. 13883 13884 With the preceding patch, it makes the UTF-8 compose map consistent with 13885 the ISO 8859-4 and -13 maps. 13886 13887commit af55e582f485a668c2bf43129be972bc65f03c60 13888Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 13889Date: Tue Jun 29 18:20:18 2010 +0200 13890 13891 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 13892 13893 This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 13894 as far as Polish is concerned. We only sacrifice one pair of characters, 13895 e-cedilla, which is not used in any language. 13896 13897commit d6ba13009fc9ef876a104b907ffef73c6e405d4b 13898Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13899Date: Thu Jun 24 13:13:11 2010 -0700 13900 13901 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 13902 13903 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13904 13905commit 978c7238789037de917b9423ea9adfb006da1260 13906Author: Jamey Sharp <jamey@minilop.net> 13907Date: Sat Jun 19 10:44:55 2010 -0700 13908 13909 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 13910 13911 Don't lose async replies. That's bad. 13912 13913 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 13914 _XReply path worked; that path waited for replies, rather than polling. 13915 13916 However, XRecordProcessReplies, which does nothing but call XPending, 13917 relied on the event-handling path to process async replies, and that was 13918 busted. 13919 13920 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 13921 13922 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13923 13924commit ef67486c5a8aada24fd95b2991a3c4979f53805f 13925Author: Jamey Sharp <jamey@minilop.net> 13926Date: Mon Jun 21 13:34:15 2010 -0700 13927 13928 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 13929 13930 This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 13931 a matter of fact, if poll_for_response returns NULL when we know 13932 dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 13933 request. 13934 13935commit 301ec5b41e9d253a446db656e1789ac7345dc433 13936Author: Jamey Sharp <jamey@minilop.net> 13937Date: Mon Jun 21 13:24:24 2010 -0700 13938 13939 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 13940 13941 This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 13942 need to check poll_for_event every time through the loop in 13943 poll_for_response, so the commit did too much. 13944 13945commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 13946Author: Jamey Sharp <jamey@minilop.net> 13947Date: Mon Jun 21 10:54:02 2010 -0700 13948 13949 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 13950 13951 Fixes the second bug reported in: 13952 https://bugs.freedesktop.org/show_bug.cgi?id=28595 13953 13954 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13955 13956commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 13957Author: Jamey Sharp <jamey@minilop.net> 13958Date: Sat Jun 19 10:44:55 2010 -0700 13959 13960 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 13961 13962 Don't lose async replies. That's bad. 13963 13964 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 13965 _XReply path worked; that path waited for replies, rather than polling. 13966 13967 However, XRecordProcessReplies, which does nothing but call XPending, 13968 relied on the event-handling path to process async replies, and that was 13969 busted. 13970 13971 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 13972 13973 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13974 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 13975 13976commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 13977Author: Marko Myllynen <myllynen@redhat.com> 13978Date: Sun Jun 13 19:23:05 2010 +0300 13979 13980 Implement SFS 5966 Annex 4 for Finland 13981 13982 This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 13983 Annex 3 (which were actually copied verbatim from the standard text). 13984 13985 The implementation of the standard is now complete. 13986 13987 X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 13988 13989 Signed-off-by: Julien Cristau <jcristau@debian.org> 13990 13991commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 13992Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13993Date: Fri Jun 4 13:20:17 2010 -0700 13994 13995 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 13996 13997 One of the malloc failure checks had a goto to the wrong spot in the 13998 list of cleanup free() calls to unwind at the end, and was freeing 13999 bits that hadn't been initialized/allocated yet, since they would be 14000 stored in the struct that just failed to be allocated. 14001 14002 Error: Null pointer dereference (CWE 476) 14003 Read from pointer that could be constant 'NULL' 14004 at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 14005 Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 14006 14007 [ This bug was found by the Parfait bug checking tool. 14008 For more information see http://research.sun.com/projects/parfait ] 14009 14010 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14011 14012commit aebbf3623888119b43893b253195d93b613a6e1e 14013Author: Josh Triplett <josh@joshtriplett.org> 14014Date: Sun Jun 6 19:11:55 2010 -0700 14015 14016 Mark the rest of Xprivate.h as _X_HIDDEN. 14017 14018 None of the functions in Xprivate.h should have any callers outside of 14019 Xlib, by definition. 14020 14021 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 14022 Suggested-by: Jamey Sharp <jamey@minilop.net> 14023 Reviewed-by: Jamey Sharp <jamey@minilop.net> 14024 14025commit abcd1b67c8135ad652833e5a60d818837c39fce1 14026Author: Julien Cristau <jcristau@debian.org> 14027Date: Fri Jun 4 13:57:45 2010 +0200 14028 14029 Hide _XSeqSyncFunction 14030 14031 Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 14032 non-static, but we don't need to export it. 14033 14034 Signed-off-by: Julien Cristau <jcristau@debian.org> 14035 Reviewed-by: Adam Jackson <ajax@redhat.com> 14036 Reviewed-by: Jamey Sharp <jamey@minilop.net> 14037 14038commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 14039Author: Josh Triplett <josh@joshtriplett.org> 14040Date: Thu Jun 3 09:41:01 2010 -0700 14041 14042 Remove support for building without XCB 14043 14044 And there was much rejoicing. 14045 14046 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 14047 Reviewed-by: Jamey Sharp <jamey@minilop.net> 14048 14049 Consensus on #xorg-devel agrees with removing --without-xcb; in 14050 particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 14051 Julien Cristau, and Rémi Cardona. 14052 14053commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 14054Author: Alan Coopersmith <alan.coopersmith@oracle.com> 14055Date: Thu Jun 3 15:21:40 2010 -0700 14056 14057 libX11 1.3.4 14058 14059 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14060 14061commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 14062Author: Alan Coopersmith <alan.coopersmith@oracle.com> 14063Date: Thu Jun 3 13:08:17 2010 -0700 14064 14065 Workaround bug in groff flag processing that breaks distcheck 14066 14067 At least with the groff 1.19.2 package I have installed, groff passes 14068 on the -I flags for the include path to grohtml, which if they come 14069 after the -P-I... flag we pass to grohtml to specify the image file 14070 name pattern cause it to override that flag and put the images in 14071 the wrong place, breaking "make distcheck" - changing the flag order 14072 works around this. 14073 14074 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14075 14076commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 14077Author: Alan Coopersmith <alan.coopersmith@oracle.com> 14078Date: Thu Jun 3 11:25:33 2010 -0700 14079 14080 Fix typo that made configure always report "none" for man page suffix 14081 14082 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14083 14084commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 14085Author: Paul Bender <pebender@gmail.com> 14086Date: Thu Jun 3 11:20:26 2010 -0700 14087 14088 Bug 22591 - configure does not obey the --enable-*-transport options 14089 14090 https://bugs.freedesktop.org/show_bug.cgi?id=22591 14091 14092 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14093 14094commit d7f35946d673bb00f2768e025b6e1017422b2174 14095Author: Paul Bender <pebender@gmail.com> 14096Date: Thu Jun 3 11:17:45 2010 -0700 14097 14098 Bug 22590 - libX11 1.2.1 has broken abstract namespace support 14099 14100 https://bugs.freedesktop.org/show_bug.cgi?id=22590 14101 14102 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14103 14104commit b2487d07f7b355f230a56e32c763acd08862735c 14105Author: Alan Coopersmith <alan.coopersmith@oracle.com> 14106Date: Thu Jun 3 11:06:15 2010 -0700 14107 14108 Bug 22584 - libX11 does not cross compile 14109 14110 Adaptation of patch submitted by Paul Bender in attachment 27301 to 14111 https://bugs.freedesktop.org/show_bug.cgi?id=22584 14112 14113 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14114 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 14115 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 14116 14117commit 4378219ff8c1418418c70086085358b69d574e74 14118Author: Alan Coopersmith <alan.coopersmith@oracle.com> 14119Date: Tue Jun 1 18:55:48 2010 -0700 14120 14121 Clarify requirements in XRestackWindows man page 14122 14123 The required common parent window is not specified in the arguments, 14124 just implied as the parent of the first window in the list. 14125 14126 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14127 14128commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 14129Author: Jeremy Huddleston <jeremyhu@apple.com> 14130Date: Wed May 12 16:42:18 2010 -0700 14131 14132 xcb: Add TCP fallback 14133 14134 If we fail to connect to a UNIX socket and the transport isn't specified, 14135 fallback on TCP. This matches behavior with the xtrans codepath and the 14136 Xlib spec. 14137 14138 http://lists.x.org/archives/xorg-devel/2010-April/007915.html 14139 14140 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 14141 Reviewed-by: Jamey Sharp <jamey@minilop.net> 14142 14143commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 14144Merge: aae2a4a7 933aee1d 14145Author: Jamey Sharp <jamey@minilop.net> 14146Date: Mon May 10 16:51:24 2010 -0700 14147 14148 Merge branch 'xlib-xcb-thread-fixes' 14149 14150commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 14151Author: Jeremy Huddleston <jeremyhu@apple.com> 14152Date: Fri Apr 23 21:50:29 2010 -0700 14153 14154 Don't append the screen number when using a launchd socket 14155 14156 ssh gets confused by this. XQuartz is the only DDX using this 14157 functionality, and it doesn't support different screens, so 14158 let's just not include this until most ssh know how to handle 14159 this. 14160 14161 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 14162 14163commit adcd0ec209abf832a769d52db660fb37eaad6e0c 14164Author: Jeremy Huddleston <jeremyhu@apple.com> 14165Date: Fri Apr 23 16:33:44 2010 -0700 14166 14167 Remove launchd logic from _XConnectXCB as it's handled in XCB 14168 14169 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 14170 14171commit d232b259c36fdde1f4179822809fec1480867dc5 14172Author: Jeremy Huddleston <jeremyhu@apple.com> 14173Date: Tue Feb 2 17:01:28 2010 -0800 14174 14175 Fix various build warnings 14176 14177 imLcIm.c: In function '_XimCachedFileName': 14178 imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 14179 imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 14180 14181 imRm.c: In function '_XimDefaultArea': 14182 imRm.c:597: warning: cast from pointer to integer of different size 14183 imRm.c: In function '_XimDefaultColormap': 14184 imRm.c:626: warning: cast from pointer to integer of different size 14185 14186 lcFile.c:224: warning: no previous prototype for 'xlocaledir' 14187 14188 lcUTF8.c: In function 'iconv_cstombs': 14189 lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 14190 lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 14191 lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 14192 lcUTF8.c: In function 'iconv_mbstocs': 14193 lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 14194 lcUTF8.c: In function 'iconv_mbtocs': 14195 lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 14196 lcUTF8.c: In function 'iconv_mbstostr': 14197 lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 14198 lcUTF8.c: In function 'iconv_strtombs': 14199 lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 14200 lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 14201 lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 14202 lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 14203 lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 14204 lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 14205 lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 14206 lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 14207 lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 14208 14209 XlibInt.c: In function '_XGetHostname': 14210 XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 14211 XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 14212 14213 ConnDis.c: In function '_XDisconnectDisplay': 14214 ConnDis.c:540: warning: old-style function definition 14215 ConnDis.c: In function '_XSendClientPrefix': 14216 ConnDis.c:554: warning: old-style function definition 14217 ConnDis.c: In function 'XSetAuthorization': 14218 ConnDis.c:677: warning: old-style function definition 14219 14220 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 14221 14222commit 3e11c73187acb2e2be9a812840bbbea947527ccb 14223Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 14224Date: Fri Apr 23 00:01:54 2010 +0200 14225 14226 Allow X11 users to compose anarchism 14227 14228 I can easily compose the hammer and sickle (the symbol representative 14229 of communism) by pressing the key sequence: 14230 14231 <Compose> <C> <C> <C> <P> -> ☭ 14232 14233 But i can't easily make the circled A (the symbol representative of 14234 anarchism). 14235 14236 I'd like to be able to use <Compose> <O> <A> (this is a 14237 currently unused key sequence) to generate the symbol: Ⓐ 14238 14239 Debian bug#555938 <http://bugs.debian.org/555938> 14240 14241 Signed-off-by: Julien Cristau <jcristau@debian.org> 14242 14243commit 933aee1d5c53b0cc7d608011a29188b594c8d70b 14244Author: Jamey Sharp <jamey@minilop.net> 14245Date: Fri Apr 16 20:18:28 2010 -0700 14246 14247 Fix Xlib/XCB for multi-threaded applications (with caveats). 14248 14249 Rather than trying to group all response processing in one monolithic 14250 process_responses function, let _XEventsQueued, _XReadEvents, and 14251 _XReply each do their own thing with a minimum of code that can all be 14252 reasoned about independently. 14253 14254 Tested with `ico -threads 20`, which seems to be able to make many 14255 icosahedrons dance at once quite nicely now. 14256 14257 Caveats: 14258 14259 - Anything that was not thread-safe in Xlib before XCB probably still 14260 isn't. XListFontsWithInfo, for instance. 14261 14262 - If one thread is waiting for events and another thread tries to read a 14263 reply, both will hang until an event arrives. Previously, if this 14264 happened it might work sometimes, but otherwise would trigger either 14265 an assertion failure or a permanent hang. 14266 14267 - Versions of libxcb up to and including 1.6 have a bug that can cause 14268 xcb_wait_for_event or xcb_wait_for_reply to hang if they run 14269 concurrently with xcb_writev or other writers. So you'll want that fix 14270 as well. 14271 14272 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14273 Reviewed-by: Josh Triplett <josh@freedesktop.org> 14274 14275commit aab43278ae619eb57d2dd9c7396f460f078588fc 14276Author: Jamey Sharp <jamey@minilop.net> 14277Date: Fri Apr 16 22:24:16 2010 -0700 14278 14279 Use InternalLockDisplay on code paths called from LockDisplay. 14280 14281 It's easier to reason about the code when we can't re-enter the 14282 Xlib-private sync-handlers while they're already running. 14283 14284 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14285 Reviewed-by: Josh Triplett <josh@freedesktop.org> 14286 14287commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 14288Author: Jamey Sharp <jamey@minilop.net> 14289Date: Fri Apr 16 19:45:11 2010 -0700 14290 14291 Fix _XSend to enqueue the right range of pending requests. 14292 14293 _XSend was off-by-one on both ends. It should not re-enqueue the last 14294 request that was already flushed, but it should enqueue the last request 14295 currently being flushed. 14296 14297 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14298 Reviewed-by: Josh Triplett <josh@freedesktop.org> 14299 14300commit f2735889908d6e5a7f8dbee42f00c54a52665191 14301Author: Jamey Sharp <jamey@minilop.net> 14302Date: Fri Apr 16 19:45:11 2010 -0700 14303 14304 Pending requests are always added in-order. 14305 14306 Replace insert_pending_request, which did an in-order search of the 14307 queue to find the right insertion point, with a simpler 14308 append_pending_request, and use that in _XSend as well. 14309 14310 Includes assertions to check that the list of pending requests is in 14311 order by sequence number and does not have duplicates. 14312 14313 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14314 Reviewed-by: Josh Triplett <josh@freedesktop.org> 14315 14316commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 14317Author: Markus Duft <markus.duft@salomon.at> 14318Date: Fri Apr 16 08:39:34 2010 -0700 14319 14320 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 14321 14322 https://bugs.freedesktop.org/show_bug.cgi?id=26839 14323 14324 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14325 14326commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 14327Author: Josh Triplett <josh@freedesktop.org> 14328Date: Thu Apr 15 14:24:21 2010 -0700 14329 14330 Stop returning an int from _XIDHandler and _XSeqSyncFunction 14331 14332 _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 14333 thus had to return an int. Now, they only run from _XPrivSyncHandler or 14334 LockDisplay, neither of which needs to check their return value since they 14335 always returned 0. Make them both void. 14336 14337 Signed-off-by: Josh Triplett <josh@freedesktop.org> 14338 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14339 14340commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 14341Author: Jamey Sharp <jamey@minilop.net> 14342Date: Thu Apr 15 13:05:08 2010 -0700 14343 14344 Move XID and sync handling from SyncHandle to LockDisplay to fix races. 14345 14346 XID and sync handling happened via _XPrivSyncHandler, assigned to 14347 dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 14348 without the Display lock, so manipulating the Display caused races, and 14349 these races led to assertions in multithreaded code (demonstrated via 14350 ico). 14351 14352 In the XTHREADS case, after you've called XInitThreads, we can hook 14353 LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 14354 _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 14355 that we hold the lock, and thus we can avoid races. We think it makes 14356 sense to do these both from LockDisplay rather than UnlockDisplay, so 14357 that you know you have valid sync and a valid XID before you start 14358 setting up the request you locked to prepare. 14359 14360 In the !XTHREADS case, or if you haven't called XInitThreads, you don't 14361 get to use Xlib from multiple threads, so we can use the logic we have 14362 now (with synchandler and savedsynchandler) without any concern about 14363 races. 14364 14365 This approach gets a bit exciting when the XID and sequence sync 14366 handlers drop and re-acquire the Display lock. Reacquisition will re-run 14367 the handlers, but they return immediately unless they have work to do, 14368 so they can't recurse more than once. In the worst case, if both of 14369 them have work to do, we can nest the Display lock three deep. In the 14370 case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 14371 takes the socket back if it needs to request more XIDs, and taking the 14372 socket back will reacquire the lock; we take care to avoid letting 14373 _XIDHandler run again and re-enter XCB from the return_socket callback 14374 (which causes Very Bad Things, and is Not Allowed). 14375 14376 Tested with ico (with 1 and 20 threads), and with several test programs 14377 for XID and sequence sync. Tested with and without XInitThreads(), and 14378 with and without XCB. 14379 14380 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 14381 14382 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14383 Signed-off-by: Josh Triplett <josh@freedesktop.org> 14384 14385commit b089b53b697c2851db2985d32af3b29f1da5e31e 14386Author: Jamey Sharp <jamey@minilop.net> 14387Date: Wed Apr 14 12:59:11 2010 -0700 14388 14389 Honest. Extensions get to filter async errors too. 14390 14391 Under some circumstances, errors are picked up by calling 14392 xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 14393 the requests with the XCB_REQUEST_CHECKED flag. That happens when either 14394 an async handler is queued at the time the requests are flushed, or when 14395 XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 14396 event queue. 14397 14398 This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 14399 those cases. 14400 14401 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 14402 14403 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14404 14405commit a15c31274650e391bc6de5d0951eb4464c228139 14406Author: Jamey Sharp <jamey@minilop.net> 14407Date: Wed Apr 14 12:10:34 2010 -0700 14408 14409 _XError already runs async handlers; only call them directly for replies. 14410 14411 The previous behavior probably would have triggered bug reports someday. 14412 14413 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14414 14415commit 405132dab64bf2375f8e57d02b1b53da2311933a 14416Author: Jamey Sharp <jamey@minilop.net> 14417Date: Tue Apr 13 12:12:36 2010 -0700 14418 14419 Extensions get to filter async errors too. 14420 14421 Apparently I misread XlibInt.c:_XReply and thought that handlers set 14422 with XESetError should be consulted only for the sequence number that 14423 _XReply is currently looking for. In fact, the error handlers are also 14424 consulted when an error arrives for a request that was not expected to 14425 have a reply. 14426 14427 However, in an odd twist, the error handlers are *not* consulted outside 14428 of _XReply--that is, when looking for events, or waiting to be able to 14429 flush the output queue. So this patch takes some small pains to preserve 14430 that behavior, though it seems likely to have been unintentional. 14431 14432 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 14433 14434 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14435 14436commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 14437Author: Jamey Sharp <jamey@minilop.net> 14438Date: Tue Apr 13 12:49:59 2010 -0700 14439 14440 Prefer the xcb_generic_error_t we already have over casting to xEvent. 14441 14442 Just a minor cleanup. 14443 14444 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14445 14446commit 75ea8c37935ccc911557d16a303ba595b8ab106b 14447Author: Jamey Sharp <jamey@minilop.net> 14448Date: Mon Apr 12 11:30:20 2010 -0700 14449 14450 Run the user's synchandler as well as any internal synchandlers. 14451 14452 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 14453 14454 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14455 14456commit c3f3e4a9e531d010312c97e753d6e543e607094d 14457Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 14458Date: Fri Feb 12 17:16:10 2010 +0900 14459 14460 Fix manual typos. 14461 14462 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 14463 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14464 14465commit 75c6c5595408caba9ef8233839d77021d02f86f2 14466Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 14467Date: Fri Feb 5 20:42:46 2010 +0100 14468 14469 man: Correct the XkbAllAccessXEventsMask mask name 14470 14471 This mask has probably been renamed but not been updated in the manuals. 14472 14473 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 14474 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14475 14476commit 9262aceaff24c954cab8c252690032bc2ec25e7d 14477Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 14478Date: Fri Feb 5 20:42:45 2010 +0100 14479 14480 man: Add missing geometry component flag 14481 14482 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 14483 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14484 14485commit 50cf134465f6fd263f37acecac94518468ef1c6d 14486Author: Dirk Wallenstein <halsmit@t-online.de> 14487Date: Tue Feb 2 21:24:32 2010 +0100 14488 14489 man: Return value of XkbGetState is Status and not Bool 14490 14491 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 14492 Reviewed-by: Julien Cristau <jcristau@debian.org> 14493 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14494 14495commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 14496Author: Dirk Wallenstein <halsmit@t-online.de> 14497Date: Tue Feb 2 21:24:30 2010 +0100 14498 14499 man: Fix return value specification of XkbKeyActionEntry 14500 14501 The XkbKeyActionEntry macro expands to a pointer. 14502 14503 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 14504 Reviewed-by: Julien Cristau <jcristau@debian.org> 14505 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14506 14507commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 14508Author: Dirk Wallenstein <halsmit@t-online.de> 14509Date: Tue Feb 2 21:24:29 2010 +0100 14510 14511 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 14512 14513 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 14514 groups with 2 levels each. It wraps the index into the next group. 14515 This behavior confuses the unaware user, and therefore this will add a 14516 reference to XkbKeycodeToKeysym in the corresponding man paragraph. 14517 14518 Another bug had that issue, too. #5349 14519 14520 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 14521 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14522 14523commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 14524Author: Alan Coopersmith <alan.coopersmith@oracle.com> 14525Date: Thu Apr 8 19:59:55 2010 -0700 14526 14527 Fix typo in new fi_FI.UTF-8 that was reported by "make check" 14528 14529 Unrecognized pattern in Compose on line #154: 14530 <dead_diaeresis> <space> " "¨" 14531 14532 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14533 14534commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 14535Author: Marko Myllynen <myllynen@redhat.com> 14536Date: Thu Apr 8 19:52:42 2010 -0700 14537 14538 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 14539 14540 I've rewritten the fi_FI.UTF-8 Compose file so that it 14541 14542 - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 14543 possible additions to en_US.UTF-8/Compose automatically included) 14544 - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 14545 definitions (thus making it safe to include en_US.UTF-8/Compose) 14546 - lists all the definitions specified in the SFS 5966 standard (thus making it 14547 easy to verify that the implementation is valid and complete) 14548 - adds a header about the file itself as required by the standard 14549 14550 The rewritten version is ~320 lines compared to over 5000 lines of the previous 14551 version. 14552 14553 https://bugs.freedesktop.org/show_bug.cgi?id=27465 14554 14555commit f6a4fd0c7615684d08e848245849dea4017a5214 14556Author: Gaetan Nadon <memsize@videotron.ca> 14557Date: Thu Apr 1 21:46:12 2010 -0400 14558 14559 config: update and relocate AC_DEFINE_DIR macro 14560 14561 Remove deprecated acinclude.m4 macro container file 14562 Use separate macro files as per autoconf recommendation 14563 Use the latest macro from GNU (ax) which replaces 14564 the non-gnu version (ac) 14565 This preserves the Autoconf macro AC namespace. 14566 14567 Also moved out of acinclude.m4 is the DOLT macro 14568 14569 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14570 14571commit 61d5231db418cec51bd718633c3bba39b18689d6 14572Author: Gaetan Nadon <memsize@videotron.ca> 14573Date: Mon Mar 29 14:53:48 2010 -0400 14574 14575 config: remove the pkgconfig pc.in file from EXTRA_DIST 14576 14577 Automake always includes it in the tarball. 14578 14579 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14580 14581commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 14582Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 14583Date: Wed Mar 17 23:53:16 2010 -0300 14584 14585 No need for req->firstKeyCode to be set twice. 14586 14587 There is no reason to set req->firstKeyCode twice when a client, wishful 14588 for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 14589 fixes the mistake by making no functional changes to libX11 whatsoever. 14590 14591 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 14592 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14593 14594commit b5797597f83ee62228abfb88f026ef92163e07a5 14595Author: Gaetan Nadon <memsize@videotron.ca> 14596Date: Tue Feb 16 10:37:21 2010 -0500 14597 14598 config: move CWARNFLAGS from configure.ac to Makefile.am 14599 14600 Compiler warning flags should be explicitly set in the makefile 14601 rather than being merged with other packages compiler flags. 14602 14603 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 14604 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14605 14606commit 052c4d7995b0e52a038933beb85cd544571c6b7e 14607Author: Gaetan Nadon <memsize@videotron.ca> 14608Date: Tue Feb 16 14:28:21 2010 -0500 14609 14610 specs: change install cmd due to automake 1.11 14611 14612 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 14613 14614 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14615 14616commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 14617Author: Gaetan Nadon <memsize@videotron.ca> 14618Date: Tue Feb 9 17:27:08 2010 -0500 14619 14620 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 14621 14622 $(MKDIR_P) is not defined in automake 1.9. 14623 14624 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14625 14626commit e66eda95b520727969d721416d4ea49b54ef2b03 14627Author: Gaetan Nadon <memsize@videotron.ca> 14628Date: Tue Feb 2 16:29:26 2010 -0500 14629 14630 specs: install html images in $docdir with html files 14631 14632 The images required by the html files have been omitted. 14633 14634 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14635 14636commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 14637Author: Gaetan Nadon <memsize@videotron.ca> 14638Date: Sun Jan 31 14:16:20 2010 -0500 14639 14640 doc: use new macros to control doc generation 14641 14642 Namely XORG_WITH_GROFF for the groff generation tool 14643 XORG_WITH_PS2PDF for the conversion of PS docs to PDF 14644 XORG_ENABLE_SPECS for the generation of specs 14645 14646 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14647 14648commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 14649Author: Gaetan Nadon <memsize@videotron.ca> 14650Date: Tue Jan 26 19:41:08 2010 -0500 14651 14652 doc: clean-up generated html images 14653 14654 Generate images in /images as is the convention 14655 Provide a base file name for images rather than process ID 14656 Remove images directory when running make clean 14657 14658 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14659 14660commit eb289b34bfc9978eef724e0f268975938334c06c 14661Author: Kristian Høgsberg <krh@bitplanet.net> 14662Date: Thu Jan 21 13:39:17 2010 -0500 14663 14664 XErrorDB: Add new DRI2 request names 14665 14666commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 14667Author: Julien Cristau <jcristau@debian.org> 14668Date: Sat Jan 16 22:47:03 2010 +0000 14669 14670 man: Fix typo in Makefile 14671 14672 Missing line continuation was preventing the XCompose alias from being 14673 generated. 14674 14675 Signed-off-by: Julien Cristau <jcristau@debian.org> 14676 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14677 14678commit 68530599e61cf9fef3fcc91650e7cef21837fce7 14679Author: Alan Coopersmith <alan.coopersmith@sun.com> 14680Date: Sat Jan 16 11:41:32 2010 -0800 14681 14682 libX11 1.3.3 14683 14684 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14685 14686commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 14687Author: Alan Coopersmith <alan.coopersmith@sun.com> 14688Date: Thu Jan 14 18:33:39 2010 -0800 14689 14690 Update COPYING file with actual licenses from libX11 code & docs 14691 14692 COPYING was previously a years out-of-date copy of the LICENSES 14693 doc summarizing all licenses for all XFree86 components, many of 14694 which did not apply to libX11. 14695 14696 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14697 14698commit ddb1786720d6136b1b28be599c75c10ad1b76a2a 14699Author: Alan Coopersmith <alan.coopersmith@sun.com> 14700Date: Thu Jan 14 17:38:26 2010 -0800 14701 14702 Purge CVS/RCS id tags 14703 14704 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14705 14706commit c1db9ddcfa7091f173478dca45bf720badedfca4 14707Author: Alan Coopersmith <alan.coopersmith@sun.com> 14708Date: Thu Jan 14 15:39:14 2010 -0800 14709 14710 Update Sun license notices to current X.Org standard form 14711 14712 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14713 14714commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 14715Author: Alan Coopersmith <alan.coopersmith@sun.com> 14716Date: Thu Jan 14 08:28:22 2010 -0800 14717 14718 Add %S substitutions to Compose man page 14719 14720 Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 14721 in Compose file include statements - this documents it in the Compose 14722 file man page. 14723 14724 Also changes the existing substitution documentation to list format 14725 instead of a paragraph format to allow easier adding of %S. 14726 14727 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14728 14729commit 94b45db93058cffa25598fe27dd3e385ace9d305 14730Author: Richard Purdie <rpurdie@linux.intel.com> 14731Date: Thu Jan 14 08:04:28 2010 -0800 14732 14733 Fix configure.ac PKG_ macro calls 14734 14735 If the first call to PKG_CHECK_MODULES() may not be called during execution 14736 which is the case here since its inside a case statement, call 14737 PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 14738 14739 Fixes a configure failure introduced by commit 14740 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 14741 14742 http://bugs.freedesktop.org/show_bug.cgi?id=26041 14743 14744 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 14745 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14746 14747commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 14748Author: Alan Coopersmith <alan.coopersmith@sun.com> 14749Date: Tue Jan 12 09:18:15 2010 -0800 14750 14751 Raise xorg-macros requirement to 1.4 14752 14753 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 14754 depend on the INSTALL file delivered in xorg-macros 1.4 14755 14756 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14757 14758commit 9df349a7894725f9469b106af645f57f7f3f9af3 14759Author: James Cloos <cloos@jhcloos.com> 14760Date: Wed Jan 13 11:04:38 2010 -0500 14761 14762 Allow inclusion of system level compose files. 14763 14764 With the release of XFree86 4.4 an inclusion system of compose files was 14765 added to Xlib to allow inclusion of the default compose file (with %L), 14766 any compose files from user’s home directory (with %H), or a compose 14767 file with a hard coded path¹. However, even today including system level 14768 compose files is not possible in a platform independent manner although 14769 the machinery for including compose files and overriding previously 14770 defined compositions is already in place. 14771 14772 With the ability to include system level compose files one could greatly 14773 reduce the need for compose file rule duplication and the work needed to 14774 propagate changes in one compose file to others. For example, currently 14775 the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 14776 is almost identical with en_US.UTF-8 except for perhaps half a dozen 14777 compositions. 14778 14779 This commit allows one to include system level compose files with the 14780 following kind of syntax: 14781 14782 include "%S/en_US.UTF-8/Compose" 14783 14784 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 14785 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 14786 14787 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 14788 Signed-off-by: James Cloos <cloos@jhcloos.com> 14789 14790commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 14791Author: Thien-Thi Nguyen <ttn@gnuvola.org> 14792Date: Tue Dec 1 10:31:47 2009 +0100 14793 14794 libX11: Fix comment: Invert polarity (direction) of reformat description. 14795 14796 Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 14797 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14798 14799commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 14800Author: Osamu Sayama <osamu.sayama@sun.com> 14801Date: Tue Jan 5 17:26:40 2010 -0800 14802 14803 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 14804 14805 - In set_fontset_extents, check font_data is not NULL before running 14806 loop that may increment it to a non-NULL invalid pointer. 14807 - Make sure get_rotate_fontname counts the final field 14808 14809 Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 14810 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 14811 14812 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14813 Reviewed-by: Adam Jackson <ajax@redhat.com> 14814 14815commit 87529c039050ce3336ff9ce00f1b5a21d15690da 14816Author: Alan Coopersmith <alan.coopersmith@sun.com> 14817Date: Tue Jan 5 18:02:37 2010 -0800 14818 14819 Merge X11, XKBPROTO, & XPROTO pkg-config lists 14820 14821 Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 14822 in configure.ac anyway, might as well combine the lists passed to 14823 PKG_CHECK_MODULES to reduce duplication in the flags. 14824 14825 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14826 Reviewed-by: Rémi Cardona <remi@gentoo.org> 14827 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 14828 14829commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 14830Author: Alan Coopersmith <alan.coopersmith@sun.com> 14831Date: Tue Jan 5 17:56:58 2010 -0800 14832 14833 Add XCompose man page shadow for Compose man page 14834 14835 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14836 14837commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 14838Author: Alan Coopersmith <alan.coopersmith@sun.com> 14839Date: Tue Jan 5 17:47:44 2010 -0800 14840 14841 Add $(AM_V_GEN) to silence lint rules too 14842 14843 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14844 14845commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 14846Author: Alan Coopersmith <alan.coopersmith@sun.com> 14847Date: Tue Jan 5 17:42:42 2010 -0800 14848 14849 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 14850 14851 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14852 14853commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 14854Author: Gaetan Nadon <memsize@videotron.ca> 14855Date: Sun Nov 29 10:44:24 2009 -0500 14856 14857 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 14858 14859 It must be following AC_USE_SYSTEM_EXTENSION 14860 14861commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 14862Author: Gaetan Nadon <memsize@videotron.ca> 14863Date: Sun Nov 29 10:01:44 2009 -0500 14864 14865 Add .gitignore in /specs for generated files 14866 14867 Being in /specs, it will apply for all 3 subdirs 14868 14869commit f45d39d37aab04742e44cd8c3c993aad7587e40c 14870Author: Gaetan Nadon <memsize@videotron.ca> 14871Date: Fri Nov 27 20:56:03 2009 -0500 14872 14873 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 14874 14875 Now that the INSTALL file is generated. 14876 Allows running make maintainer-clean. 14877 14878commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 14879Author: Gaetan Nadon <memsize@videotron.ca> 14880Date: Wed Oct 28 14:09:10 2009 -0400 14881 14882 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 14883 14884 Add missing INSTALL file. Use standard GNU file on building tarball 14885 README may have been updated 14886 Remove AUTHORS file as it is empty and no content available yet. 14887 Remove NEWS file as it is empty and no content available yet. 14888 14889commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 14890Author: Gaetan Nadon <memsize@videotron.ca> 14891Date: Tue Oct 27 15:07:25 2009 -0400 14892 14893 Deploy the new XORG_DEFAULT_OPTIONS #24242 14894 14895 This macro aggregate a number of existing macros that sets commmon 14896 X.Org components configuration options. It shields the configuration file from 14897 future changes. 14898 14899commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 14900Author: Gaetan Nadon <memsize@videotron.ca> 14901Date: Mon Oct 26 22:08:42 2009 -0400 14902 14903 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 14904 14905 ChangeLog filename is known to Automake and requires no further 14906 coding in the makefile. 14907 14908commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 14909Author: Gaetan Nadon <memsize@videotron.ca> 14910Date: Thu Oct 22 12:34:19 2009 -0400 14911 14912 .gitignore: use common defaults with custom section # 24239 14913 14914 Using common defaults will reduce errors and maintenance. 14915 Only the very small or inexistent custom section need periodic maintenance 14916 when the structure of the component changes. Do not edit defaults. 14917 14918commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 14919Author: Alan Coopersmith <alan.coopersmith@sun.com> 14920Date: Thu Nov 12 23:05:40 2009 -0800 14921 14922 Add compose-check.pl to EXTRA_DIST 14923 14924 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14925 14926commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 14927Author: Julien Cristau <jcristau@debian.org> 14928Date: Thu Oct 29 17:17:24 2009 +0100 14929 14930 man: fix XCopyGC argument order 14931 14932 Ubuntu bug#408337 14933 14934commit aad10032651cdc2a53b359035954454a28d6db67 14935Author: Alan Coopersmith <alan.coopersmith@sun.com> 14936Date: Fri Oct 23 13:55:14 2009 -0700 14937 14938 libX11 1.3.2 14939 14940 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14941 14942commit 6303ada89cb228c0f9656036f798703afb42fc29 14943Author: Peter Hutterer <peter.hutterer@who-t.net> 14944Date: Wed Oct 21 12:42:07 2009 +1000 14945 14946 Add smiley faces to compose sequences. 14947 14948 I wonder how we could have lasted that long without them. 14949 14950 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14951 Acked-by: Daniel Stone <daniel@fooishbar.org> 14952 Acked-By: James Cloos <cloos@jhcloos.com> 14953 14954commit 0e104ebd8628803c27e36b16922ad1edd891325a 14955Author: Alan Coopersmith <alan.coopersmith@sun.com> 14956Date: Thu Oct 22 23:12:30 2009 -0700 14957 14958 Add man page for Compose file format 14959 14960 Based on grammar description in modules/im/ximcp/imLcPrs.c and 14961 note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 14962 14963 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14964 14965commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 14966Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 14967Date: Tue Oct 20 12:46:03 2009 -0700 14968 14969 Add extra configuration and sanity checks for groff and ps2pdf 14970 14971 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 14972 environment variables. 14973 2) Check that groff -ms works 14974 14975 Some distributions ship the ms macros as a separate package which may 14976 not be installed together with groff, so we need to make sure that groff 14977 works and the required macros are actually installed before attempting 14978 to build the specs. 14979 14980 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 14981 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 14982 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14983 14984commit d3f801fd2f9198eaad6797414dba652f9c006c6d 14985Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14986Date: Sun Oct 18 17:34:53 2009 -0500 14987 14988 Fix VPATH build of libX11 specs 14989 14990 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14991 14992commit ad15e1a89d30ccc11d80745897b83def1448e8c0 14993Author: Alan Coopersmith <alan.coopersmith@sun.com> 14994Date: Sat Oct 17 16:14:34 2009 -0700 14995 14996 libX11 1.3.1 14997 14998 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14999 15000commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 15001Author: Alan Coopersmith <alan.coopersmith@sun.com> 15002Date: Sat Oct 17 16:28:25 2009 -0700 15003 15004 Fix make distcheck 15005 15006 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15007 15008commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 15009Author: Alan Coopersmith <alan.coopersmith@sun.com> 15010Date: Fri Oct 16 19:25:35 2009 -0700 15011 15012 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 15013 15014 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15015 15016commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 15017Author: Alan Coopersmith <alan.coopersmith@sun.com> 15018Date: Wed Oct 14 16:18:24 2009 -0700 15019 15020 Move libX11 & XIM/locale specs from xorg-docs 15021 15022 If groff is found, and --disable-specs is not passed to configure, 15023 specs will be converted to text, html and ps (or pdf if ps2pdf is 15024 found) and installed to $(docdir) 15025 15026 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15027 15028commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 15029Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 15030Date: Tue Oct 13 19:15:51 2009 -0500 15031 15032 Provide _Xsetlocale compat wrappers on Cygwin 15033 15034 Previous versions of Cygwin did not have proper locale support, so Cygwin/X 15035 defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 15036 support, but we can't remove the _Xsetlocale entry point without breaking 15037 ABI. 15038 15039 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 15040 15041commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 15042Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 15043Date: Tue Oct 13 19:15:49 2009 -0500 15044 15045 dolt: add Cygwin to supported platforms 15046 15047 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 15048 15049commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 15050Author: Alan Coopersmith <alan.coopersmith@sun.com> 15051Date: Wed Oct 14 13:23:30 2009 -0700 15052 15053 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 15054 15055 Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 15056 15057 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15058 15059commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 15060Author: Jon TURNEY <jon.turney@dronecode.org.uk> 15061Date: Tue Feb 10 17:47:25 2009 +0000 15062 15063 Include sys/select.h for select() and struct timeval, if it exists 15064 15065 This is a cygwin build fix 15066 15067commit 383165916ddac91740d4c780174d4c0d07cdb994 15068Author: Xake <xake@rymdraket.net> 15069Date: Sun Sep 27 11:16:36 2009 +0200 15070 15071 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 15072 15073 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15074 15075commit 854269d55cdda8caf425515bfed2855e211a5ada 15076Author: Julien Cristau <jcristau@debian.org> 15077Date: Tue Oct 6 16:11:24 2009 +0200 15078 15079 configure: quote argument to m4_pattern_forbid 15080 15081 Without this, configure spits out 15082 ../configure: line 12364: ac_fn_c_check_member: command not found 15083 ../configure: line 12378: ac_fn_c_check_type: command not found 15084 15085 Also anchor the pattern to make it stricter. 15086 15087 Signed-off-by: Julien Cristau <jcristau@debian.org> 15088 15089commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 15090Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 15091Date: Thu Oct 1 22:20:38 2009 -0700 15092 15093 Split CFLAGS into CPPFLAGS and CFLAGS 15094 15095 On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 15096 X11 headers are in /some/prefix/include, they will be preferred over the 15097 shipped headers. This corrects that problem. 15098 15099commit d54caf1c9c55af8247621b7ba6afb20b23699839 15100Author: Peter Hutterer <peter.hutterer@who-t.net> 15101Date: Fri Oct 2 10:59:08 2009 +1000 15102 15103 libX11 1.3 15104 15105 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15106 15107commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 15108Author: Peter Hutterer <peter.hutterer@who-t.net> 15109Date: Fri Oct 2 12:10:29 2009 +1000 15110 15111 nls: remove duplicate Compose sequences from pt_BR.UTF-8 15112 15113 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15114 15115commit a293ae9e83739067fc92db1a39c262857bc2283e 15116Author: Peter Hutterer <peter.hutterer@who-t.net> 15117Date: Fri Sep 25 11:19:41 2009 +1000 15118 15119 Add XF86TouchpadToggle to XKeysymDB 15120 15121 Lenovo laptops provide a key to enable or disable the touchpad and the 15122 trackstick. This key is usually located on Fn + F8. 15123 15124 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15125 Acked-by: Adam Jackson <ajax@redhat.com> 15126 15127commit 69839f8903a24eab08f17a781b3797fb64dce9cf 15128Author: Alan Coopersmith <alan.coopersmith@sun.com> 15129Date: Sun Sep 27 10:34:16 2009 -0700 15130 15131 Bug 24173: libX11 from git fails to build with automake older then 1.11 15132 15133 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 15134 Makefiles, instead of after. 15135 <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 15136 15137 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15138 15139commit f5effd041f58ef07703cca2b4f396758811e1eec 15140Author: Alan Coopersmith <alan.coopersmith@sun.com> 15141Date: Wed Apr 15 10:59:23 2009 -0700 15142 15143 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 15144 15145 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15146 15147commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 15148Author: Alan Coopersmith <alan.coopersmith@sun.com> 15149Date: Wed Apr 15 10:56:09 2009 -0700 15150 15151 Add perl script to check for duplicate or conflicting compose file entries 15152 15153 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15154 15155commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 15156Author: Alan Coopersmith <alan.coopersmith@sun.com> 15157Date: Fri Sep 18 17:10:04 2009 -0700 15158 15159 Use make rules instead of shell for loops to generate shadow man pages 15160 15161 Allows parallel make and simpler build logs/error reporting 15162 15163 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15164 15165commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 15166Author: Alan Coopersmith <alan.coopersmith@sun.com> 15167Date: Fri Sep 18 16:58:53 2009 -0700 15168 15169 Add AM_SILENT_RULES support for cpp rules for man & nls files 15170 15171 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15172 15173commit bfa19cddd8546b4930a773f3bbd81137c362d82b 15174Author: Alan Coopersmith <alan.coopersmith@sun.com> 15175Date: Fri Sep 18 16:58:16 2009 -0700 15176 15177 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 15178 15179 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15180 15181commit 51396066c8003a96a6399c9a4bed2a81e512b582 15182Author: Mikko Niskanen <mikko.niskanen@iki.fi> 15183Date: Fri Sep 4 10:11:15 2009 +1000 15184 15185 Fix wrong typedef on HP-UX (#18998) 15186 15187 shl_dt doesn't exist, the type is shl_t. 15188 15189 X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 15190 15191 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15192 15193commit 615220a312b9430a580fe6dcf51703c6ef244f66 15194Author: Paul Bender <pebender@gmail.com> 15195Date: Fri Sep 4 09:57:10 2009 +1000 15196 15197 Don't require xdmcp in configure.ac (#22583) 15198 15199 X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 15200 15201 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15202 15203commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 15204Author: Peter Hutterer <peter.hutterer@who-t.net> 15205Date: Thu Sep 3 14:02:44 2009 +1000 15206 15207 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 15208 15209 X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 15210 15211 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15212 15213commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 15214Author: Peter Hutterer <peter.hutterer@who-t.net> 15215Date: Thu Sep 3 12:05:25 2009 +1000 15216 15217 man: XQueryTree may return BadWindow. (#23416) 15218 15219 X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 15220 15221 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15222 15223commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 15224Author: Alan Coopersmith <alan.coopersmith@sun.com> 15225Date: Fri Aug 28 23:07:58 2009 +0800 15226 15227 Fix version tag in .TH line of several XKB man pages 15228 15229 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15230 15231commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 15232Author: Alan Coopersmith <alan.coopersmith@sun.com> 15233Date: Fri Aug 28 23:04:38 2009 +0800 15234 15235 XkbSetDeviceButtonActions.man: remove non-existent actions argument 15236 15237 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15238 15239commit 53affa9335116f2d367f041e6502a411d4619e47 15240Author: Alan Coopersmith <alan.coopersmith@sun.com> 15241Date: Fri Aug 28 23:00:17 2009 +0800 15242 15243 XkbQueryExtension.man: Arguments should be pointers 15244 15245 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15246 15247commit 6233948885acc5873a5abddfff235afec555f3c2 15248Author: Alan Coopersmith <alan.coopersmith@sun.com> 15249Date: Fri Aug 28 22:53:03 2009 +0800 15250 15251 XkbSAActionSetCtrls.man: Fix typo in formatting macro 15252 15253 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15254 15255commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 15256Author: Alan Coopersmith <alan.coopersmith@sun.com> 15257Date: Fri Aug 28 22:49:31 2009 +0800 15258 15259 Convert Xkb API man pages to ANSI prototypes 15260 15261 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15262 15263commit fa2eecca85baab9616f7143cc1a853a594b4a90c 15264Author: James Cloos <cloos@jhcloos.com> 15265Date: Mon Aug 24 06:35:17 2009 -0400 15266 15267 Add some (Serbian) Cyrillic NFD sequences. 15268 15269 A number of characters in use in the various countries which use the 15270 Cyrillic script do not appear as pre-composed characters in The UCS 15271 or Unicode; they are only available as combining-character sequences. 15272 15273 This commit adds support for using (prefix) dead keys and Multi_key- 15274 initiated sequences to enter a number of these combining-character 15275 sequences. This ensures that users can enter these scripts even 15276 when using the current Cyrillic keymaps, which lack support for 15277 the combining characters. 15278 15279 Please see the discussions on the xkb mailing list. 15280 15281 Signed-off-by: James Cloos <cloos@jhcloos.com> 15282 15283commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 15284Author: Julien Cristau <jcristau@debian.org> 15285Date: Wed Aug 5 18:14:23 2009 +0200 15286 15287 man/xkb: delete spurious newline in .TH headers 15288 15289commit ee723b83b24682db833a2f0abd96cd319b8a62af 15290Author: Julien Cristau <jcristau@debian.org> 15291Date: Wed Aug 5 16:45:19 2009 +0200 15292 15293 man: use __libmansuffix__ instead of 3X11 for references to other pages 15294 15295commit 595e204feb82c798a92eea41fea03be6476ac181 15296Author: Julien Cristau <jcristau@debian.org> 15297Date: Wed Aug 5 16:43:36 2009 +0200 15298 15299 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 15300 15301commit 9da7e230d5320e1556ad2084fcd06ee7994385ea 15302Author: Peter Hutterer <peter.hutterer@who-t.net> 15303Date: Wed Aug 5 14:15:02 2009 +1000 15304 15305 Bump to 1.2.99.901 (1.3 RC1) 15306 15307 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15308 15309commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 15310Author: Filippo Giunchedi <filippo@debian.org> 15311Date: Sat Jun 6 16:56:54 2009 +0200 15312 15313 nls: add {left,right}wards arrow to compose table 15314 15315 Debian bug#532117 <http://bugs.debian.org/532117> 15316 15317 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15318 15319commit 7949bfa00390241d994f32463e50d4bd78920568 15320Author: Julien Cristau <jcristau@debian.org> 15321Date: Fri Jul 31 13:33:52 2009 +0200 15322 15323 Update library version for new symbols 15324 15325 Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 15326 cookie handling. Bump libX11 version number accordingly. 15327 15328 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15329 15330commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 15331Author: Julien Cristau <jcristau@debian.org> 15332Date: Sun Aug 2 17:18:31 2009 +0200 15333 15334 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 15335 15336 X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 15337 15338 Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 15339 Signed-off-by: Julien Cristau <jcristau@debian.org> 15340 15341commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 15342Author: Peter Hutterer <peter.hutterer@who-t.net> 15343Date: Wed Jul 29 08:44:09 2009 +1000 15344 15345 Fix compiler warning 'unused variable qelt' 15346 15347 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15348 15349commit 03f4907e14f5755e72309f08742977b871e81e33 15350Author: Peter Hutterer <peter.hutterer@who-t.net> 15351Date: Wed Jul 29 08:34:57 2009 +1000 15352 15353 Add utlist.h to the Makefile.am 15354 15355 utlist.h contains the linked list macros, it was added with the recent 15356 addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 15357 result, make dist failed. 15358 15359 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15360 15361commit 554f755e5545f63d3c8f299297927238da155773 15362Author: Peter Hutterer <peter.hutterer@who-t.net> 15363Date: Fri Jun 26 11:27:43 2009 +1000 15364 15365 Add generic event cookie handling to libX11. 15366 15367 Generic events require more bytes than Xlib provides in the standard XEvent. 15368 Memory allocated by the extension and stored as pointers inside the event is 15369 prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 15370 15371 This patch adds cookie handling for generic events. Extensions may register 15372 a cookie handler in addition to the normal event vectors. If an extension 15373 has registered a cookie handler, _all_ generic events for this extensions 15374 must be handled through cookies. Otherwise, the default event handler is 15375 used. 15376 15377 The cookie handler must return an XGenericEventCookie with a pointer to the 15378 data.The rest of the event (type, serialNumber, etc.) are to be filled as 15379 normal. When a client retrieves such a cookie event, the data is stored in 15380 an internal queue (the 'cookiejar'). This data is freed on the next call to 15381 XNextEvent(). 15382 15383 New extension interfaces: 15384 XESetWireToEventCookie(display, extension_number, cookie_handler) 15385 15386 Where cookie_handler must set cookie->data. The data pointer is of arbitray 15387 size and type but must be a single memory block. This memory block 15388 represents the actual extension's event. 15389 15390 New client interfaces: 15391 XGetEventData(display, *cookie); 15392 XFreeEventData(display, *cookie); 15393 15394 If the client needs the actual event data, it must call XGetEventData() with 15395 the cookie. This returns the data pointer (and removes it from the cookie 15396 jar) and the client is then responsible for freeing the event with 15397 XFreeEventData(). It is safe to call either function with a non-cookie 15398 event. Events unclaimed or not handled by the XGetEventData() are cleaned up 15399 automatically. 15400 15401 Example client code: 15402 XEvent event; 15403 XGenericEventCookie *cookie = &ev; 15404 15405 XNextEvent(display, &event); 15406 if (XGetEventData(display, cookie)) { 15407 XIEvent *xievent = cookie->data; 15408 ... 15409 } else if (cookie->type == GenericEvent) { 15410 /* handle generic event */ 15411 } else { 15412 /* handle extension/core event */ 15413 } 15414 XFreeEventData(display, cookie); 15415 15416 Cookies are not multi-threading safe. Clients that use XGetEventData() must 15417 lock between XNextEvent and XGetEventData to avoid other threads freeing 15418 cookies. 15419 15420 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15421 15422commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 15423Author: Peter Hutterer <peter.hutterer@who-t.net> 15424Date: Mon Jul 6 13:17:35 2009 +1000 15425 15426 Bump to 1.2.99.1 15427 15428 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15429 15430commit 75fe48e7a42a685d7098e8d7108b9b956c471563 15431Author: Peter Hutterer <peter.hutterer@who-t.net> 15432Date: Fri Jul 10 14:07:34 2009 +1000 15433 15434 Bump to 1.2.2 15435 15436 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15437 15438commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 15439Author: Peter Hutterer <peter.hutterer@who-t.net> 15440Date: Thu Jul 2 09:10:25 2009 +1000 15441 15442 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 15443 15444 GenericEvent cannot be selected for in the core event masks and they must 15445 thus be treated like extension events. 15446 15447 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15448 15449commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 15450Author: Peter Hutterer <peter.hutterer@who-t.net> 15451Date: Thu Jul 2 09:06:05 2009 +1000 15452 15453 XWindowEvent/XCheckWindowEvent must not return GenericEvents. 15454 15455 GenericEvents have no fixed position for the window, so they must be treated 15456 like extension events. 15457 15458 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 15459 15460commit 38f9054554d63525d2dd51aafb5eb57821158ab9 15461Author: Alan Coopersmith <alan.coopersmith@sun.com> 15462Date: Mon Jun 15 19:00:43 2009 -0700 15463 15464 Drop ancient USG SysV #ifdefs 15465 15466 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15467 15468commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 15469Author: Adam Jackson <ajax@redhat.com> 15470Date: Fri Jun 12 12:44:01 2009 -0400 15471 15472 Remove X_NOT_STDC_ENV usage. (#6527) 15473 15474commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 15475Author: Julien Cristau <jcristau@debian.org> 15476Date: Fri May 29 11:18:11 2009 +0200 15477 15478 nls: remove more duplicated aliases 15479 15480 Signed-off-by: Julien Cristau <jcristau@debian.org> 15481 15482commit e4b0899f516da224010e68bd2d953d5293d94993 15483Author: parag <parag@rawhideTM.pnq.redhat.com> 15484Date: Thu May 28 11:29:35 2009 +0530 15485 15486 nls: Add pa_PK locale information and make pa_IN as default for pa. 15487 15488 X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 15489 15490 [jcristau: removed the pa_PK.UTF-8 alias to itself] 15491 15492 Signed-off-by: parag <pnemade@redhat.com> 15493 Signed-off-by: Julien Cristau <jcristau@debian.org> 15494 15495commit f0ea1f6d51145592f8617854f9320ec5dbff3299 15496Author: Julien Cristau <jcristau@debian.org> 15497Date: Fri May 29 10:58:20 2009 +0200 15498 15499 nls: remove broken sd_IN.UTF-8 alias 15500 15501 Signed-off-by: Julien Cristau <jcristau@debian.org> 15502 15503commit e29e010dabdb17d6498f2ef1786f69b8830c18ca 15504Author: Julien Cristau <jcristau@debian.org> 15505Date: Fri May 29 10:57:43 2009 +0200 15506 15507 nls: remove duplicated en_US* aliases 15508 15509 Signed-off-by: Julien Cristau <jcristau@debian.org> 15510 15511commit a89a300d87852c84389ad97db66dcb8930cb45dd 15512Author: Caolan McNamara <caolanm@redhat.com> 15513Date: Thu May 21 18:41:05 2009 +0200 15514 15515 man: missing space in XAllocColor man page 15516 15517 X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 15518 15519commit c1c001e36504fd304f76f69bf6af3643225c49ea 15520Author: James Cloos <cloos@jhcloos.com> 15521Date: Wed May 13 13:03:54 2009 -0400 15522 15523 [nls] Replace remaining UCS Combining Characters in Compose sequences. 15524 15525 The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 15526 where the keysym is used as a dead_key, with an actual dead_key symbol. 15527 15528 The only remaining instances of UCS combining characters in the 15529 compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 15530 used as a suffix in Multi_key-initiated sequences to create 15531 mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 15532 from ∈ U+2208 ELEMENT OF. 15533 15534commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 15535Author: James Cloos <cloos@jhcloos.com> 15536Date: Wed May 13 09:58:59 2009 -0400 15537 15538 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 15539 15540 This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 15541 where the matching keysym is used as a dead_key, and for which alternative 15542 compose sequences exist. 15543 15544commit 79f47e6dff2f0a0b673bbfecc47528edca814baa 15545Author: James Cloos <cloos@jhcloos.com> 15546Date: Fri May 8 20:11:54 2009 -0400 15547 15548 [nls] Remove combining_ keysyms from the Compose files 15549 15550 Some of the UTF-8 Compose tables included combining_ keysyms in 15551 the compose sequences as though they were dead symbols. This 15552 is contrary to how combining characters are used in the UCS. 15553 Therefore, those lines have been removed from the Compose tables. 15554 15555 There were also some combining_ keysyms as targets. As those 15556 are not included in x11proto’s keysymdef.h, and as those do 15557 exist there as Uxxxx keysyms, they are replaced with the Uxxxx 15558 keysym names. 15559 15560 This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 15561 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 15562 15563 Signed-off-by: James Cloos <cloos@jhcloos.com> 15564 15565commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 15566Author: parag <pnemade@redhat.com> 15567Date: Tue May 5 16:50:47 2009 +0530 15568 15569 libX11: Add new Indic language information to nls directory files. #21560 15570 15571 Signed-off-by: parag <pnemade@redhat.com> 15572 15573commit aaf81096eb44b4c2812108721ba02738391884da 15574Author: Alan Coopersmith <alan.coopersmith@sun.com> 15575Date: Sat May 2 01:38:14 2009 -0700 15576 15577 Correct return type in XkbGetKeyboard man page 15578 15579 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15580 15581commit 2bef065b70f70af520b5de8fb23529254d15f003 15582Author: Christoph Pfister <christophpfister@gmail.com> 15583Date: Mon Apr 27 22:32:57 2009 -0700 15584 15585 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 15586 15587 http://bugs.freedesktop.org/show_bug.cgi?id=21117 15588 15589 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15590 15591commit 5c1cde105db10df24d3c532f032cbc59050c7313 15592Author: Alan Coopersmith <alan.coopersmith@sun.com> 15593Date: Fri Apr 17 22:14:47 2009 -0700 15594 15595 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 15596 15597 Raises minimum autoconf version required to 2.60 15598 15599 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15600 15601commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 15602Author: Julien Cristau <jcristau@debian.org> 15603Date: Tue Apr 14 15:59:57 2009 +0100 15604 15605 Fix fi_FI.UTF-8, again 15606 15607 Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 15608 file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 15609 This reverts it back to using the en_US.UTF-8 one. 15610 15611commit 128daff4422f973ea40dd1e31b2db230e643549e 15612Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 15613Date: Thu Apr 9 12:01:07 2009 +0700 15614 15615 Thai XIM not retrieve MB surrounding on UTF-8 LC 15616 15617 On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 15618 that use X Input Method. 15619 15620 This is because GTK+ imxim immodule passes surrounding text in locale encoding, 15621 which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 15622 multi-byte StringConversionText response for the StringConversionCallback to 15623 always be TIS-620, by retrieving a single byte and using it as-is. 15624 15625 If the Thai XIM tries to convert the multi-byte text based on locale codeset 15626 before using it, it will work again. 15627 15628 X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 15629 15630 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 15631 Signed-off-by: Julien Cristau <jcristau@debian.org> 15632 15633commit e09f0d227fbf95b6252759af9d426efd57686f9f 15634Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 15635Date: Thu Apr 9 11:47:55 2009 +0700 15636 15637 Thai XIM not filters when NumLock or CapsLock is on 15638 15639 The Thai XIM component in libx11 activated on 'th*' locales normally filters 15640 input sequence according to orthographic rules. However, when NumLock/CapsLock 15641 is on, this stops working. All sequences are passed through. 15642 15643 This is caused by missing masks in _XimThaiFilter(), which normally screens out 15644 certain special keys from entering orthographic rules. Unfortunately, this 15645 included events with NumLock/CapsLock on. Negating the masks from the check 15646 allows the events to be tested by the rules. 15647 15648 X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 15649 15650 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 15651 Signed-off-by: Julien Cristau <jcristau@debian.org> 15652 15653commit d108d3c706af3502820b5202564488ea19908b77 15654Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 15655Date: Thu Apr 9 11:25:25 2009 +0700 15656 15657 CharSet-to-CompoundText Conversion Failed for Thai Locales 15658 15659 SCIM fails to commit Thai input characters on Thai locales, because it commits 15660 string in compound text form, which was converted via 15661 XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 15662 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 15663 src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 15664 So, declaring cs1 as ISO8859-11:GR instead makes it work. 15665 15666 Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 15667 support for UTF-8 input. 15668 15669 And, along discussion in the bug, a similar problem was found for fontset, too, 15670 by causing delays on X apps startups on systems without tis620-0 fonts. This 15671 is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 15672 by default for Thai X fonts. So, Thai fontset charset is also patched. 15673 15674 X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 15675 15676 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 15677 Signed-off-by: Julien Cristau <jcristau@debian.org> 15678 15679commit fd62d3318c846cd43d66a505946e94704d7d83dc 15680Author: Alan Coopersmith <alan.coopersmith@sun.com> 15681Date: Wed Apr 8 19:42:25 2009 -0700 15682 15683 Revert "Change masculine to ordmasculine in Compose file comments" 15684 15685 This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 15686 15687 As Julien Cristau correctly points out, I misread the Compose file grammar 15688 in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 15689 the keysym is named XK_masculine in keysymdef.h. This change is thus a 15690 bug in the Solaris compose tables to be fixed, not an improvement to bring 15691 upstream. 15692 15693commit eac57c77afdf44f50692225b8b0345a7c927bc84 15694Author: Alan Coopersmith <alan.coopersmith@sun.com> 15695Date: Tue Apr 7 15:38:45 2009 -0700 15696 15697 Version bump: 1.2.1 15698 15699 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15700 15701commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 15702Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 15703Date: Tue Apr 7 13:46:57 2009 -0700 15704 15705 Bug 20773: Xcursor dynamic loading on Cygwin 15706 15707 X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 15708 Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 15709 15710 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15711 15712commit c8c41614911be4fa222fa22478677d263b41c751 15713Author: Alan Coopersmith <alan.coopersmith@sun.com> 15714Date: Mon Apr 6 16:52:46 2009 -0700 15715 15716 Fix a several sparse warnings: Using plain integer as NULL pointer 15717 15718 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15719 15720commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 15721Author: Alan Coopersmith <alan.coopersmith@sun.com> 15722Date: Mon Apr 6 16:32:05 2009 -0700 15723 15724 Further ansify prototypes & reduce #ifdefs in locking.c 15725 15726 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15727 15728commit 892b401d5acc055803a20e349ede0d64490f2230 15729Author: Alan Coopersmith <alan.coopersmith@sun.com> 15730Date: Mon Apr 6 10:50:09 2009 -0700 15731 15732 Change masculine to ordmasculine in Compose file comments 15733 15734 Matches the ordfeminine name used for the matching character, 15735 and the ordmasculine name used in many font descriptions of the glyph. 15736 15737 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15738 15739commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 15740Author: Julien Cristau <jcristau@debian.org> 15741Date: Fri Mar 13 13:52:33 2009 +0100 15742 15743 Add a ru_RU.UTF-8 locale 15744 15745 Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 15746 15747 Debian bug#330144 <http://bugs.debian.org/330144> 15748 X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 15749 15750commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 15751Author: Alan Coopersmith <alan.coopersmith@sun.com> 15752Date: Wed Mar 25 17:59:09 2009 -0700 15753 15754 Delete some unused "#ifdef notdef" static functions 15755 15756 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15757 15758commit 4281892e31058ef3aecc96a5767824b34d88d415 15759Author: Alan Coopersmith <alan.coopersmith@sun.com> 15760Date: Wed Mar 25 17:52:48 2009 -0700 15761 15762 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 15763 15764 This copy of Xrm.c is never compiled into the Xprint server any more, so 15765 this old code-sharing #ifdef from the monolith tree isn't needed. 15766 15767 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15768 15769commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 15770Author: Alan Coopersmith <alan.coopersmith@sun.com> 15771Date: Tue Mar 17 18:38:58 2009 -0700 15772 15773 makekeys: combine malloc(strlen)+strcpy into strdup 15774 15775 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15776 15777commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 15778Author: Alan Coopersmith <alan.coopersmith@sun.com> 15779Date: Tue Mar 17 15:42:19 2009 -0700 15780 15781 When makekeys fails to find a good hash, print error instead of divide-by-zero 15782 15783 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15784 15785commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 15786Author: Alan Coopersmith <alan.coopersmith@sun.com> 15787Date: Tue Mar 17 14:59:16 2009 -0700 15788 15789 Remove ifdef checks for macII left over from ancient A/UX 3.0 support 15790 15791 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15792 15793commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 15794Author: Alan Coopersmith <alan.coopersmith@sun.com> 15795Date: Mon Mar 16 18:37:49 2009 -0700 15796 15797 XErrorDB additions for DRI2 requests 15798 15799 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15800 15801commit 273f45af1441be9d2135e4cac8c46ceb33470236 15802Author: Alan Coopersmith <alan.coopersmith@sun.com> 15803Date: Mon Mar 16 18:35:44 2009 -0700 15804 15805 XErrorDB additions for XInput errors and new XInput 1.5 requests 15806 15807 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15808 15809commit 90ef36f6336068183bf9d13ca972202db35b1202 15810Author: Alan Coopersmith <alan.coopersmith@sun.com> 15811Date: Mon Mar 16 18:23:05 2009 -0700 15812 15813 XErrorDB additions for RANDR 1.3 15814 15815 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15816 15817commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 15818Author: Lubos Lunak <l.lunak@suse.cz> 15819Date: Mon Mar 16 18:03:36 2009 -0700 15820 15821 XErrorDB updates for XTEST, RANDR, DAMAGE extensions 15822 15823 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 15824 15825 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15826 15827commit 80811846e37b805fddb37c71589fd5f6f6037b3f 15828Author: Lubos Lunak <l.lunak@suse.cz> 15829Date: Mon Mar 16 17:57:52 2009 -0700 15830 15831 XGetErrorText() fails for extension error codes equal to the error base 15832 15833 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 15834 15835 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15836 15837commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 15838Author: Milos Komarcevic <miloskomarcevic@netscape.net> 15839Date: Mon Mar 16 17:43:26 2009 -0700 15840 15841 Bug 11456: Serbian locale updates (sr_RS and sr_ME) 15842 15843 X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 15844 Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 15845 15846 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15847 15848commit 934a6c0519a9e32505beee55b004f36c2a710217 15849Author: Alan Coopersmith <alan.coopersmith@sun.com> 15850Date: Mon Mar 16 14:55:22 2009 -0700 15851 15852 Bug 10082: Compose entries for some standard mathematical operators 15853 15854 X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 15855 15856 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15857 15858commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 15859Author: Alan Coopersmith <alan.coopersmith@sun.com> 15860Date: Mon Mar 16 14:27:46 2009 -0700 15861 15862 Bug 14651: We need to add new locale specification for Belarusian Latin locale 15863 15864 X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 15865 15866 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15867 15868commit 837703c8651e1321a50147a8311c56e4758ce08a 15869Author: Caolan McNamara <caolanm@redhat.com> 15870Date: Mon Mar 16 14:15:50 2009 -0700 15871 15872 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 15873 15874 X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 15875 Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 15876 15877 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15878 15879commit 22199018879055d8653e59d8236bef57164fac66 15880Author: Alan Coopersmith <alan.coopersmith@sun.com> 15881Date: Mon Mar 16 13:28:18 2009 -0700 15882 15883 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 15884 15885 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15886 15887commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 15888Author: Alan Coopersmith <alan.coopersmith@sun.com> 15889Date: Thu Mar 12 18:57:20 2009 -0700 15890 15891 Bug 9953: Please provide locale alias hu_HU.utf8 15892 15893 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 15894 Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 15895 15896 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15897 15898commit 501f4e0ada1690783ada05ad412e4b191ad55336 15899Author: Alan Coopersmith <alan.coopersmith@sun.com> 15900Date: Thu Mar 12 17:38:21 2009 -0700 15901 15902 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 15903 15904 X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 15905 Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 15906 15907 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15908 15909commit 7b9c543e7210c7da204871c31a160e79d3a949b6 15910Author: Paul Bender <pebender@gmail.com> 15911Date: Thu Mar 12 17:11:42 2009 -0700 15912 15913 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 15914 15915 X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 15916 Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 15917 15918 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15919 15920commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 15921Author: Xue Wei <Wei.Xue@Sun.COM> 15922Date: Wed Mar 4 19:32:29 2009 -0800 15923 15924 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 15925 15926 Sun bug 6809309 Add new utf8 locales supported by Xlib 15927 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 15928 15929 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15930 15931commit cb70c9bc43267577859a3674ca9de9be396ba69e 15932Author: Alan Coopersmith <alan.coopersmith@sun.com> 15933Date: Mon Feb 23 19:29:15 2009 -0800 15934 15935 Add --with-locale-lib-dir configure option to set locale lib install dir 15936 15937 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15938 15939commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 15940Author: Alan Coopersmith <alan.coopersmith@sun.com> 15941Date: Mon Feb 23 18:33:51 2009 -0800 15942 15943 Incorporate more locale names/aliases from Solaris libX11 15944 15945 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15946 15947commit 83ce4daefdf544f801c7d666c89162690a36ce41 15948Author: Alan Coopersmith <alan.coopersmith@sun.com> 15949Date: Mon Feb 23 18:32:34 2009 -0800 15950 15951 Incorporate char range comments from Solaris version of ksc5601.h 15952 15953 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15954 15955commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 15956Author: Chris Ball <cjb@laptop.org> 15957Date: Sat Feb 21 14:48:42 2009 -0500 15958 15959 Fix fi_FI locale install directory. 15960 15961 fi_FI was setting "x11thislocaledir" to en_US, with the result that its 15962 locale data was written in that locale dir. 15963 15964 Signed-off-by: Chris Ball <cjb@laptop.org> 15965 15966commit da6bbca07c796c69172a649405474f03bee66754 15967Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 15968Date: Sat Feb 21 20:17:23 2009 +0100 15969 15970 xcb_io: Avoid datatype overflow on AMD64 and friends. 15971 15972commit 4ef6491afa69e8441caee7bbebc583e6e796275e 15973Author: Chris Ball <cjb@laptop.org> 15974Date: Sat Feb 21 12:51:03 2009 -0500 15975 15976 Build fix for fi_FI. 15977 15978 Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 15979 Makefile is written there by configure. 15980 15981 Signed-off-by: Chris Ball <cjb@laptop.org> 15982 15983commit 642c4e928e770e012379539a6ce09e11c02f09a6 15984Author: Julien Cristau <jcristau@debian.org> 15985Date: Sat Feb 21 03:12:05 2009 +0100 15986 15987 nls: actually use the fi_FI.UTF-8 files 15988 15989 The subdir wasn't added to nls/Makefile.am 15990 15991commit 9bad8309ef289bb943651abf6967b24fa2252aac 15992Author: Alan Coopersmith <alan.coopersmith@sun.com> 15993Date: Fri Feb 20 14:45:54 2009 -0800 15994 15995 flags member of Display structure needs to be marked volatile 15996 15997 Since the Xlib multithreaded code checks the flags variable in _XFlushInt 15998 to see if the other threads are done yet, it has to be marked volatile so 15999 the compiler doesn't optimize out re-loading it on each trip through the 16000 while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 16001 16002 Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 16003 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 16004 16005 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 16006 16007commit ef5c446395aa30d7b1096a112e241a81c5b358e7 16008Author: Xue Wei <Wei.Xue@Sun.COM> 16009Date: Fri Feb 20 15:12:35 2009 -0800 16010 16011 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 16012 16013 Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 16014 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 16015 16016 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 16017 16018commit 3822f2654e9630167f0c6cae317b472c09771672 16019Author: Xue Wei <Wei.Xue@Sun.COM> 16020Date: Fri Feb 20 15:03:51 2009 -0800 16021 16022 Add locale aliases for no_NO & sh_BA locale variants 16023 16024 Fixes Sun bug id 6691219: xterm refuses to start in some locales 16025 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 16026 16027 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 16028 16029commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 16030Author: Xue Wei <Wei.Xue@Sun.COM> 16031Date: Fri Feb 20 14:23:11 2009 -0800 16032 16033 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 16034 16035 Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 16036 changing keyboard layout with gimlet does not work") 16037 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 16038 16039 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 16040 16041commit d497301707962f3b94542e999a36abffcfbd303d 16042Author: Julien Cristau <jcristau@debian.org> 16043Date: Tue Feb 17 16:09:41 2009 +0100 16044 16045 Bump to 1.2 16046 16047commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 16048Author: Julien Cristau <jcristau@debian.org> 16049Date: Tue Feb 17 15:23:40 2009 +0100 16050 16051 Check Xmalloc return value in _XConnectXCB 16052 16053 X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 16054 16055 Signed-off-by: Julien Cristau <jcristau@debian.org> 16056 16057commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 16058Author: James Cloos <cloos@jhcloos.com> 16059Date: Sat Feb 14 12:35:56 2009 -0500 16060 16061 dolt: allow older versions of bash to compile the library 16062 16063 Cf xserver commit 7be6520d and bugzilla #19031. 16064 16065commit 20982d6866e24453642b0b592fa0f13a88aa747c 16066Author: Will Thompson <will@willthompson.co.uk> 16067Date: Thu Feb 5 02:53:06 2009 +1100 16068 16069 NLS: Compose: Non-aliasing CCCP 16070 16071 Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 16072 16073 Signed-off-by: Will Thompson <will@willthompson.co.uk> 16074 Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 16075 16076commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 16077Author: Will Thompson <will@willthompson.co.uk> 16078Date: Wed Feb 4 14:51:11 2009 +0000 16079 16080 Add two essential compose sequences 16081 16082 Signed-off-by: Will Thompson <will@willthompson.co.uk> 16083 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 16084 16085commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 16086Author: Alan Coopersmith <alan.coopersmith@sun.com> 16087Date: Mon Feb 2 20:34:31 2009 -0800 16088 16089 Add README with pointers to mailing list, bugzilla & git repos 16090 16091 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 16092 16093commit f682c27e93512773122887d2cbabb1657af45d2e 16094Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16095Date: Mon Feb 2 16:36:39 2009 -0200 16096 16097 Check if a function argument is NULL. 16098 16099 This was an addition to patch (also by me) 16100 https://bugs.freedesktop.org/attachment.cgi?id=14660 16101 that was not added when rediscovering/correcting the problem. 16102 16103commit 427e9d45d424b84efd9fc499aebf8d72392844c5 16104Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16105Date: Thu Feb 28 15:58:12 2008 -0300 16106 16107 Allow multiple inclusions of cursorfont.h, cosmetic patch. 16108 16109commit b91524a53e691f6a5d278fd8972b48a14ebeedeb 16110Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16111Date: Thu Feb 28 15:54:43 2008 -0300 16112 16113 Don't add prototypes for functions that don't exist. 16114 16115 Note that a full review was not done, only for functions that receive 16116 char/short arguments, or one of it's parameters is a function pointer 16117 that requires char/short arguments. 16118 16119commit 537eb52fe266ac439c4b383bb04a70017b709911 16120Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16121Date: Thu Feb 28 15:50:27 2008 -0300 16122 16123 WORD64 compile fix. This bug catched on a overview of the code. 16124 16125 The code is wrong since the first git revision, so it seens that it has 16126 not been compiled with WORD64 for quite some time, there is also another 16127 interesting code in xkb/XKBRdBuf.c: 16128 <hash>ifdef WORD64 16129 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 16130 <hash>endif 16131 and possibly there are other similar problems. 16132 16133commit ffd0300fb74c6183208ae599133f2ded09e08d97 16134Author: Brian Rogers <brian@xyzw.org> 16135Date: Sat Jan 31 10:37:51 2009 -0800 16136 16137 Initialize event_notify after allocating the memory for it. 16138 16139 An uninitialized or otherwise invalid condition variable can apparently 16140 cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 16141 at least are freezing as a result of event_notify never being initialized. 16142 16143 Signed-off-by: Brian Rogers <brian@xyzw.org> 16144 Signed-off-by: Bart Massey <bart@cs.pdx.edu> 16145 16146commit 97fc6babd4ccaf300e25708868aa2a738893dc30 16147Author: James Cloos <cloos@jhcloos.com> 16148Date: Thu Jan 29 20:10:41 2009 -0500 16149 16150 NLS: Add UTF-8 compose file for Finnish 16151 16152 From bug report: 16153 16154 https://bugs.freedesktop.org/show_bug.cgi?id=18747 16155 16156commit 1bd2966ed88f83479a066c6ca7da23a515979550 16157Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16158Date: Thu Jan 29 20:25:15 2009 -0200 16159 16160 patches to avoid gcc warnings for libX11 (#4) 16161 16162 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 16163 Bug #17946, attachment #19443 16164 16165 This patch avoids the gcc warning 16166 ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 16167 (same as already done at other places) 16168 16169 BTW: what is the difference between XIM (the type of ic->core.im) 16170 and Xim ? 16171 16172commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 16173Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16174Date: Thu Jan 29 20:22:21 2009 -0200 16175 16176 patches to avoid gcc warnings for libX11 (#3) 16177 16178 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 16179 Bug #17946, attachment #19441 16180 16181 This patch avoids the two gcc warnings 16182 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 16183 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 16184 16185 Note, that this as a rather crude fix of the problem (and it is really a 16186 shame to cast name_table to non-const). 16187 16188 The right solution would be to declare XIMValuesList.supported_values 16189 (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 16190 This will, however, require extensive modifications in various places. 16191 16192commit cce75c5dce73fe1f8626ed9e6798138ada09a860 16193Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16194Date: Thu Jan 29 20:20:18 2009 -0200 16195 16196 patches to avoid gcc warnings for libX11 (#2) 16197 16198 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 16199 Bug #17946, attachment #19440 16200 16201 Avoid a preprocessor message 16202 <stdin>:194: warning: no newline at end of file 16203 16204 Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 16205 seem to be caused by a truncated (or otherwise incomplete) 16206 manpage. 16207 16208commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 16209Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16210Date: Thu Jan 29 20:12:24 2009 -0200 16211 16212 patches to avoid gcc warnings for libX11 (#1) 16213 16214 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 16215 Bug #17946, attachment #19439 16216 16217 Define as 1 (one) as done by autoconf and the command line 16218 option, e.g. -DX11_t, not as empty. 16219 16220 This avoids the gcc (3.4.6) warnings: 16221 ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 16222 <command line>:7:1: warning: this is the location of the previous definition 16223 ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 16224 <command line>:8:1: warning: this is the location of the previous definition 16225 16226 Similarly, follow the autoconf convention to define XTHREADS 16227 and XUSE_MTSAFE_API as one. 16228 16229 This avoids analogous warnings when compiling libXcomposite, 16230 libXcursor, and libXdamage. 16231 16232 No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 16233 16234commit a1977883c9f5ef0e515569d6e2ebccb07411f98c 16235Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16236Date: Thu Jan 29 15:01:06 2009 -0200 16237 16238 Janitor: Correct some gcc/sparse warnings. 16239 16240 Most remaining warnings are about XIM/Xim to/from conversion 16241 and discarding const from pointers. 16242 16243commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 16244Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 16245Date: Wed Jan 28 20:31:42 2009 -0200 16246 16247 Janitor: ansification, make distcheck, compiler warnings. 16248 16249 Only convert to use "ansi prototypes" the functions warned from 16250 compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 16251 16252 Also, only address "trivial" compiler warning fixes in this commit. 16253 16254 The new .gitignore is the output of a command like: 16255 % find . -name .gitignore -exec cat {} \; | sort | uniq 16256 and only the toplevel .gitignore file was kept. 16257 16258commit 091c1624fd2f9d933329d6152e4ecd865aa7903a 16259Author: Peter Hutterer <peter.hutterer@who-t.net> 16260Date: Tue Jan 13 12:05:54 2009 +1000 16261 16262 Fix wrong implies symbol. 16263 16264 Quote Simos Xenitellis: 16265 > I checked the gtk+ commit logs that go back to 2000, and I see that still it 16266 > was 16267 > 16268 > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 16269 > DOUBLE ARROW */ 16270 > 16271 > In XFree86, it appears there was an error when they converted the 16272 > original table to 16273 > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 16274 > and the problem still shows up there (November 2000). 16275 16276 http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 16277 16278 Reported by Erik Streb del Toro. 16279 16280commit e32521f19e0b07649b7e3a03d56a2bd556b138fb 16281Author: James Cloos <cloos@jhcloos.com> 16282Date: Sun Dec 7 04:13:34 2008 -0500 16283 16284 [i18n] s/U00DC/Udiaeresis/g 16285 16286 The xkeyboard-config keyboards generate the symbol Udiaeresis, not 16287 U00DC. Make sure the relevant Compose sequences expect the symbol 16288 which the keyboards actually send. 16289 16290commit b7502abfe22f8dc009b21cda1172af221d8f9f32 16291Author: James Cloos <cloos@jhcloos.com> 16292Date: Sun Dec 7 04:09:46 2008 -0500 16293 16294 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 16295 16296 As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 16297 16298 This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 16299 16300commit c9d20e3f697c9cfae5511412023362c1db7449b1 16301Author: James Cloos <cloos@jhcloos.com> 16302Date: Sun Dec 7 04:08:23 2008 -0500 16303 16304 Use C comments rather than initial doubled hashes to exclude lines from .pre files 16305 16306commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 16307Author: vehemens <vehemens@verizon.net> 16308Date: Sun Dec 7 01:18:26 2008 -0500 16309 16310 [i18n] Distribute new headers which were added for gb18030 support. 16311 16312 big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 16313 make it into the tar. 16314 16315 Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 16316 16317 Signed-off-by: James Cloos <cloos@jhcloos.com> 16318 16319commit 418819558d2c60e58b4e3022ce0fadf2143488ac 16320Author: Stefan Dirsch <sndirsch@suse.de> 16321Date: Sat Nov 22 22:01:07 2008 +0100 16322 16323 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 16324 16325commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 16326Author: Stefan Dirsch <sndirsch@suse.de> 16327Date: Sat Nov 22 19:40:54 2008 +0100 16328 16329 Added remaining xlib patch required for gb18030 support (#1573). 16330 16331commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 16332Author: Stefan Dirsch <sndirsch@suse.de> 16333Date: Sat Nov 22 17:53:06 2008 +0100 16334 16335 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 16336 16337commit c859446c500c883a67f7a86cab1a44844e24dade 16338Author: Ken Thomases <ken@codeweavers.com> 16339Date: Fri Nov 21 13:58:10 2008 -0500 16340 16341 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 16342 16343 Signed-off-by: James Cloos <cloos@jhcloos.com> 16344 16345commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 16346Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 16347Date: Mon Nov 17 20:47:26 2008 -0800 16348 16349 Force local transport when using the launchd socket. 16350 16351 Fixes a regression due to 16352 bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 16353 16354commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 16355Author: Peter Hutterer <peter.hutterer@redhat.com> 16356Date: Fri Nov 14 10:32:50 2008 +1000 16357 16358 Add XF86Suspend, XF86Hibernate to KeysymDB. 16359 16360commit d16b11f25f8265e651def8d80bcd430c0448e664 16361Author: James Cloos <cloos@jhcloos.com> 16362Date: Tue Nov 11 19:43:39 2008 -0500 16363 16364 [nls] Annotate the Bépo compose sequences 16365 16366 Add comments with the UCS names. 16367 Add utf-8 strings for each result. 16368 Format for easy reading. 16369 16370commit 730298464240be6f65b32416b3f9b20062c61825 16371Author: James Cloos <cloos@jhcloos.com> 16372Date: Tue Nov 11 16:41:34 2008 -0500 16373 16374 [nls] Add some UTF-8 Compose sequences 16375 16376 As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 16377 16378 Cf. bugs: 16379 16380 https://bugs.freedesktop.org/show_bug.cgi?id=17821 16381 https://bugs.freedesktop.org/show_bug.cgi?id=17822 16382 16383commit ad6008a0c92733826983eb93f063d3d6276007d8 16384Author: Colin Harrison <colin.harrison@virgin.net> 16385Date: Thu Nov 6 17:48:21 2008 -0500 16386 16387 Fix copy/paste typo in imLcPrs 16388 16389 Signed-off-by: James Cloos <cloos@jhcloos.com> 16390 16391commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 16392Author: Adam Jackson <ajax@redhat.com> 16393Date: Thu Nov 6 14:54:13 2008 -0500 16394 16395 Fix leak in _XimXGetReadData 16396 16397 Spotted by Denis Dzyubenko 16398 16399commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 16400Author: Julien Cristau <jcristau@debian.org> 16401Date: Wed Nov 5 22:09:37 2008 +0100 16402 16403 Bump to 1.1.99.2 16404 16405commit d31e644c65c52828ea3e7abd94a8cf9aee12265c 16406Author: Julien Cristau <jcristau@debian.org> 16407Date: Wed Nov 5 21:33:13 2008 +0100 16408 16409 Fix distcheck 16410 16411commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 16412Author: Jamey Sharp <jamey@minilop.net> 16413Date: Wed Oct 29 14:00:33 2008 -0700 16414 16415 Support multiple independent internal sync handlers 16416 16417 Xlib has several independent tasks that need to be performed with the 16418 display unlocked. It does this by replacing the existing sync handler with 16419 one of a variety of internal sync handlers. However, if multiple internal 16420 sync handlers need to run, then the last one registering wins and 16421 previously registered internal sync handlers are never invoked. This 16422 manifested as a bug with DRI applications on Xlib/XCB as that requires 16423 both an XID handler after every XID allocation, and the periodic sequence 16424 number handler. The XID handler would win, and the sequence number handler 16425 would never be invoked. 16426 16427 Fix this by unifying the internal sync handler mechanism into a single 16428 function that calls all of the known internal sync handlers. They all need 16429 to deal with being called when not strictly necessary now. 16430 16431 Signed-off-by: Keith Packard <keithp@keithp.com> 16432 Signed-off-by: Jamey Sharp <jamey@minilop.net> 16433 Signed-off-by: Josh Triplett <josh@freedesktop.org> 16434 16435commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 16436Author: Keith Packard <keithp@keithp.com> 16437Date: Sat Oct 11 21:44:21 2008 -0700 16438 16439 Ensure that _XReadEvents always leaves an event in the queue on return 16440 16441 XNextEvent assumes that the event queue will be non-empty on return from 16442 _XReadEvents, but with multiple event readers running, the previous change 16443 could leave the queue empty on return from process_responses. Re-invoke 16444 process_responses until the queue is non-empty. 16445 16446 Signed-off-by: Keith Packard <keithp@keithp.com> 16447 16448commit bedfe68259037c5564fe52758c92b9c97729640a 16449Author: Keith Packard <keithp@keithp.com> 16450Date: Sat Oct 11 21:10:23 2008 -0700 16451 16452 Permit only one Xlib thread to block waiting for events 16453 16454 As Xlib queues events internally, we must prevent multiple Xlib threads from 16455 entering XCB to wait for an event in case the queued event is to be 16456 delivered to the thread which didn't manage to read it. In other words, let 16457 only one Xlib thread into xcb_wait_for_event at a time. 16458 16459 Jamey Sharp looked over my shoulder while making this fix and, while hating 16460 my whitespace conventions, appears happy enough with the actual code. 16461 16462 Signed-off-by: Keith Packard <keithp@keithp.com> 16463 16464commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 16465Author: Jamey Sharp <jamey@minilop.net> 16466Date: Sun Mar 23 16:33:50 2008 -0700 16467 16468 Fix XAllocID race: hold the user display lock until we have a new XID. 16469 16470 Xlib built --without-xcb is also vulnerable to this race, and a similar 16471 fix might work there too. 16472 16473 Also, use an XID that's truly invalid while waiting for the next XID to be 16474 requested. 16475 16476commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 16477Author: Josh Triplett <josh@freedesktop.org> 16478Date: Sat Mar 15 17:22:23 2008 -0700 16479 16480 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 16481 16482 Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 16483 requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 16484 Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 16485 had to flush its requests when unlocking the display. 16486 16487 XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 16488 much of the existing Xlib/XCB implementation with the use of 16489 xcb_take_socket to take ownership of the write side of the X connection 16490 socket, and a return_socket callback which writes any outstanding requests 16491 with xcb_writev. This approach allows Xlib/XCB to use the same buffering 16492 as traditional Xlib did. In particular, programs which use Xlib/XCB and 16493 never make XCB calls will never need to hand the socket back to XCB, and 16494 vice versa. 16495 16496 This allows us to discard large quantities of synchronization code from 16497 Xlib/XCB, together with the synchronization bugs present in that code. 16498 Several test cases which previously failed now work perfectly, including 16499 multi-threaded ico. In addition, the infamous locking correctness 16500 assertions, triggered when double-locking or when unlocking without a 16501 previous lock, no longer exist, because Xlib/XCB no longer has any reason 16502 to care more about application locking than traditional Xlib does. 16503 16504 Furthermore, the handoff approach provides great improvements to 16505 performance. Results from x11perf's XNoOp test, which represented the 16506 worst case for the lock-based Xlib/XCB: 16507 16508 Traditional Xlib: average 19100000/sec 16509 Lock-based Xlib/XCB: average 3350000/sec 16510 Handoff-based Xlib/XCB: average 17400000/sec 16511 16512 Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 16513 Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 16514 performance. Of course, real-world workloads do not use no-op, so your 16515 mileage may vary. In particular, since no-ops represent the worst case, 16516 we expect real workloads to more closely match the performance of 16517 traditional Xlib. 16518 16519 While removing synchronization code, we changed _XReply to not drop any 16520 locks when calling xcb_wait_for_reply; previously, we had to carefully 16521 avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 16522 the locks reduces implementation complexity and should not impact 16523 applications. 16524 16525 Commit by Jamey Sharp and Josh Triplett. 16526 XCB's handoff mechanism inspired by Keith Packard. 16527 16528commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 16529Author: Chris Ball <cjb@laptop.org> 16530Date: Mon Nov 3 22:57:29 2008 -0500 16531 16532 Remove configure check for xcb-xlib. 16533 16534 xcb-xlib has been intentionally removed from libxcb; stop checking for 16535 it at configure-time. 16536 16537commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 16538Author: Josh Triplett <josh@freedesktop.org> 16539Date: Wed Oct 29 14:37:44 2008 -0700 16540 16541 .gitignore: Add dolt files 16542 16543commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 16544Author: Peter Hutterer <peter.hutterer@redhat.com> 16545Date: Tue Oct 28 11:56:55 2008 +1030 16546 16547 man: fix formatting error in XkbGetIndicatorState man page. 16548 16549commit b1022fa6d7e97640049e93ffa108083fc8d71b05 16550Author: James Cloos <cloos@jhcloos.com> 16551Date: Sat Oct 25 09:13:08 2008 -0400 16552 16553 Increase size of working arrays in the makekeys utility program. 16554 16555 Makekeys is used to create an optimal hash of the keysyms defined 16556 in x11proto’s keysymdef.h. 16557 16558 The recent addition of new keysyms there has triggered a bug in 16559 makekeys where it tries to use a zero on the rhs of the % (mod) 16560 operator (resulting in a divide by zero error) whenever it fails 16561 to find a solution within its constraints. 16562 16563 Increasing the size of the arrays allows it to find a solution for 16564 the current set of keysyms. 16565 16566 Makekeys is only run durring the build process, so this has no impact 16567 on users of libX11, only on the amount of VM needed to build it. 16568 16569 It still needs a more complete fix, but this allows compiles to 16570 progress until that is completed. 16571 16572commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 16573Author: James Cloos <cloos@jhcloos.com> 16574Date: Sat Oct 11 01:03:14 2008 -0400 16575 16576 Dolt-ify 16577 16578 Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 16579 16580commit 39c0b266cac8cbc15bf501d7869186862f01d823 16581Author: Peter Hutterer <peter.hutterer@redhat.com> 16582Date: Wed Oct 15 14:30:20 2008 +1030 16583 16584 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 16585 16586 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 16587 16588commit d23aad31338e7d869d878d5aa1b6b91d20287005 16589Author: Peter Hutterer <peter.hutterer@redhat.com> 16590Date: Mon Oct 13 09:41:59 2008 +1030 16591 16592 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 16593 16594commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 16595Author: Peter Hutterer <peter.hutterer@who-t.net> 16596Date: Thu Jul 24 15:44:26 2008 +0930 16597 16598 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 16599 16600 Thanks to Michael Meeks, Novell Bug 369263. 16601 https://bugzilla.novell.com/show_bug.cgi?id=369263 16602 16603commit e7ece39afc8e0adc3b6b1e70b337b98376754462 16604Author: Alan Coopersmith <alan.coopersmith@sun.com> 16605Date: Tue Oct 7 15:41:38 2008 -0700 16606 16607 Sun bug #6739431: double free in _X11TransConnectDisplay() 16608 16609 Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 16610 After copying original_hostname to phostname, set original_hostname 16611 to NULL, so we don't free the same pointer twice when we free both 16612 original_hostname and phostname. 16613 16614 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 16615 16616commit 0877bc916afbd1ff8f1833edc930b765ea783576 16617Author: Daniel Stone <daniel@fooishbar.org> 16618Date: Tue Sep 23 19:02:02 2008 +0300 16619 16620 configure.ac: Fix CC_FOR_BUILD logic error 16621 16622 Turns out we were accidentally smashing it so that you couldn't set it 16623 externally at all. Oops. 16624 16625commit 58bf3aa746908f01c37be7045699e43a4e270944 16626Author: John Tapsell <johnflux@gmail.com> 16627Date: Tue Sep 23 17:30:13 2008 +0300 16628 16629 Build: Use native compiler for makekeys 16630 16631 makekeys needs to be run during the build process, as opposed to on the 16632 target, so build it with either of gcc or cc to fix cross-compiling. 16633 This can be overridden by setting $CC_FOR_BUILD. 16634 16635commit 340422a5c7a413faef18666cada27cee14615250 16636Author: Adam Jackson <ajax@redhat.com> 16637Date: Wed Sep 17 12:54:34 2008 -0400 16638 16639 Fix the previous patch for the BadFont case. 16640 16641commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 16642Author: Matthias Clasen <mclasen@redhat.com> 16643Date: Wed Sep 17 10:43:52 2008 -0400 16644 16645 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 16646 16647commit db0b85db29699be6bf7e78dede655d59ba926dfc 16648Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 16649Date: Sun Sep 14 19:15:26 2008 -0400 16650 16651 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 16652 16653 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 16654 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 16655 ISO 8859 pt_BR Compose file) as the string but specify the keysym 16656 and comment for Ć and ć (c with acute accent). 16657 16658 This commit normalizes those two lines to match the specified string. 16659 16660 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 16661 16662 Signed-off-by: James Cloos <cloos@jhcloos.com> 16663 16664commit b065c011baa69b69e3ea77c30d5e153c0d103e2d 16665Author: Michael Verret <michael.verret@gmail.com> 16666Date: Mon Sep 8 16:33:35 2008 -0400 16667 16668 Fix documentation typo 16669 16670 Signed-off-by: James Cloos <cloos@jhcloos.com> 16671 16672commit 4213ea95185377bdd1b51e82933f331fc0f52e5b 16673Author: James Cloos <cloos@jhcloos.com> 16674Date: Sat Sep 6 04:19:19 2008 -0400 16675 16676 Remove extraneous <angle brackets> from the Ethiopic Compose file. 16677 16678 The am_ET.UTF-8 Compose file submitted in: 16679 16680 https://bugs.freedesktop.org/show_bug.cgi?id=11307 16681 16682 for the OLCP project used incorrect syntax. (It has angle brackets around the 16683 Uxxxx symbols on the right hand side rather than only on the left hand side). 16684 16685 This bug is noted in OLPC’s ticket: 16686 16687 http://dev.laptop.org/ticket/7474 16688 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 16689 16690commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 16691Author: James Cloos <cloos@jhcloos.com> 16692Date: Mon Sep 1 17:49:33 2008 -0400 16693 16694 Complete the set of vulgar fractions 16695 16696 Unicode 1.1 added thirds, fifths, sixths and eights; 16697 we might as well catch up. 16698 16699 (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 16700 and 0/3 (U2189) in their pipelines, but those four can be added 16701 here after they are published.) 16702 16703commit a788792e9de95f8db0639557859722a35087481d 16704Author: James Cloos <cloos@jhcloos.com> 16705Date: Wed Aug 20 15:28:07 2008 -0400 16706 16707 nls (en_US) Re-remove long compositions that override shorter 16708 16709 As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 16710 16711 Commit a6f4bbf7 16712 nls (en_US): remove long compositions that override shorter [...] 16713 removed some longer compose sequences because there are shorter 16714 ones which take preference over the longer. For example the 16715 sequences: 16716 16717 <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 16718 <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 16719 16720 were removed becase there already was: 16721 16722 <Multi_key> <apostrophe> <comma> : U201A # ‚ 16723 16724 Then commit 4ba09125 16725 Work on making the en_US and pt_BR UTF-8 Compose as similar as 16726 possible added exactly the same key sequences again. Obviusly 16727 they won't work. 16728 16729commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 16730Author: James Cloos <cloos@jhcloos.com> 16731Date: Thu Jul 17 21:01:42 2008 -0400 16732 16733 Add more <Multi_key> <cedilla> Compose tuples 16734 16735 The last commit missed the el_GR UTF-8 Compose.pre as well as 16736 the various ISO 8859 locales which have compose sequences 16737 generating ‘WITH CEDILLA’ characters. 16738 16739 (Interestingly, some of the 8859 locales already supported 16740 <Multi_key> <cedilla> for some CEDILLA characters, but not 16741 for Ç or ç.) 16742 16743 This is further work on bug 10397. 16744 16745commit 4ba091255bb953d53078ba5619d6751052c739f7 16746Author: James Cloos <cloos@jhcloos.com> 16747Date: Thu Jul 17 17:16:50 2008 -0400 16748 16749 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 16750 16751 The eventual goal here is to have a single primary UTF-8 Compose 16752 file which the locale-specific UTF-8 Compose.pre files can #include. 16753 16754commit 254522d3c24e0590732fc03cdd61ff4564819d94 16755Author: James Cloos <cloos@jhcloos.com> 16756Date: Thu Jul 17 17:13:36 2008 -0400 16757 16758 Add <Multi_key> <cedilla> Compose tuples 16759 16760 The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 16761 with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 16762 support for using <cedilla> instead of <comma> in said sequences. 16763 16764 This commit makes both styles work. 16765 16766commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 16767Author: James Cloos <cloos@jhcloos.com> 16768Date: Sat Jun 28 15:25:23 2008 -0400 16769 16770 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 16771 16772 The new block was added twice to the en_US.UTF-8 Compose.pre; 16773 delete the duplicate. 16774 16775commit 596e081b7457dcd1c4ad555ac140e6999239bc0d 16776Author: Peter Hutterer <peter@cs.unisa.edu.au> 16777Date: Sat Jun 28 20:14:05 2008 +0930 16778 16779 Fix unbalanced parenthesis in XKBlib.h # 16551 16780 16781 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 16782 16783commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 16784Author: Adam Jackson <ajax@redhat.com> 16785Date: Tue Jun 24 13:16:53 2008 -0400 16786 16787 Bug #14898: Don't abuse the sprintf() implementation. 16788 16789 The thing you're printing into should not itself appear in the list of 16790 things to print from, that's bad juju. Just use strcat(). 16791 16792commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 16793Author: Khaled Hosny <khaledhosny@eglug.org> 16794Date: Thu Jun 19 18:26:11 2008 -0400 16795 16796 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 16797 16798 Add some Arabic digraphs to utf-8 locales with a Compose.pre 16799 16800 Signed-off-by: James Cloos <cloos@jhcloos.com> 16801 16802commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 16803Author: Alan Coopersmith <alan.coopersmith@sun.com> 16804Date: Wed Jun 18 20:00:25 2008 -0700 16805 16806 Rework code to choose local connection types and fallback to others 16807 16808 Adds --with-local-transport-order configure flag if you don't like the 16809 default ordering (which is platform dependent) 16810 16811 Includes fixes for these Sun/Solaris bug ids: 16812 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 16813 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 16814 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 16815 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 16816 16817commit cf49e537014c3cb5aaee07e57400933e0bb72b6b 16818Author: Alan Coopersmith <alan.coopersmith@sun.com> 16819Date: Tue Jun 17 14:41:17 2008 -0700 16820 16821 Strip whitespace from end of lines in source files 16822 16823commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 16824Author: Jeff Smith <whydoubt@yahoo.com> 16825Date: Sun Jun 15 23:52:20 2008 -0500 16826 16827 Fix memory leak in XOpenDisplay 16828 16829 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 16830 16831commit fca0b0ba3f72b7284601d4690bba99fc80a92614 16832Author: Jens Herden <jens@khmeros.info> 16833Date: Tue Jun 10 20:07:30 2008 +0300 16834 16835 NLS: Add Khmer compose sequences (bug #5706) 16836 16837 Add some Khmer digraphs to all locales with a Compose.pre. 16838 16839commit e54cffb649b1622c17457e470cfab8cc56d38c97 16840Merge: 19802ccd 721b574d 16841Author: Daniel Stone <daniel@fooishbar.org> 16842Date: Tue Jun 10 20:04:30 2008 +0300 16843 16844 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 16845 16846commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 16847Author: Peter Hutterer <peter@cs.unisa.edu.au> 16848Date: Thu May 29 10:57:21 2008 +0930 16849 16850 Bump to 1.1.99.1 16851 16852commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 16853Author: Peter Hutterer <peter@cs.unisa.edu.au> 16854Date: Wed May 28 17:31:59 2008 +0930 16855 16856 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 16857 16858commit e9195db7257e418f83707233baeeb84b225caf4f 16859Merge: c34f76f4 a7f85567 16860Author: Peter Hutterer <peter@cs.unisa.edu.au> 16861Date: Thu May 22 12:14:28 2008 +0930 16862 16863 Merge branch 'master' into xge 16864 16865commit 19802ccd3909145e3ba2f6c073271cb5f3701685 16866Author: Daniel Stone <daniel@fooishbar.org> 16867Date: Mon May 19 19:22:31 2008 +0300 16868 16869 gitignore: Update with loads more bits from server 16870 16871commit a7f85567a3e850fba0c44571453d2852ab1a09be 16872Author: Adam Jackson <ajax@redhat.com> 16873Date: Tue May 13 10:28:39 2008 -0400 16874 16875 Bug #15884: Remove useless sleep()'s from the connection code. 16876 16877 For network transports, there's enough delay in the network layer 16878 already without adding more. For local transports, just hurry up 16879 and fail if the server isn't there. 16880 16881commit c34f76f475bc632490122e67b5a82575d69d5569 16882Author: Peter Hutterer <peter@cs.unisa.edu.au> 16883Date: Mon May 12 21:46:24 2008 +0930 16884 16885 Pull down extra bytes when reading a GenericEvent (non-xcb). 16886 16887 I refuse to take any responsibily for this code. It works, I guess. 16888 But - all the flushing is done somewhere before that, so we might need to 16889 flush here. Under some circumstances anyway. Don't ask me, I'm an optical 16890 illusion. 16891 16892 Build with xcb as transport layer highly recommended. 16893 16894commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 16895Merge: 17d7dcbf 9129057b 16896Author: Peter Hutterer <peter@cs.unisa.edu.au> 16897Date: Mon May 12 17:58:37 2008 +0930 16898 16899 Merge branch 'master' into xge 16900 16901commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 16902Author: Teemu Likonen <tlikonen@iki.fi> 16903Date: Wed May 7 21:44:22 2008 +0300 16904 16905 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 16906 16907 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 16908 <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 16909 U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 16910 duplicate compose sequences since these have already been defined. Also, 16911 using <dead_belowring> is more logical since the diacritic is indeed 16912 a "RING BELOW". 16913 16914commit 01a9cb58888d290cc3d319feec4ee4a0297a844c 16915Author: Daniel Stone <daniel@fooishbar.org> 16916Date: Wed May 7 20:04:44 2008 +0300 16917 16918 NLS: Make UTF-8 the default for Russian 16919 16920 No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 16921 only other possible answer would be KOI8-R. 16922 16923 Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 16924 16925commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 16926Author: Ross Burton <ross@burtonini.com> 16927Date: Tue Apr 29 13:38:10 2008 +0300 16928 16929 NLS: Add interrobang to UTF-8 compose tables (bug #15653) 16930 16931 It is what it says on the box. 16932 16933commit 0b6682303e9c61fefc3818acfda616b1e3691abf 16934Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 16935Date: Mon Apr 28 11:51:25 2008 +0300 16936 16937 IM: Respect XMODIFIERS for Thai locale (bug #15719) 16938 16939 When looking at Thai input methods, make sure XMODIFIERS is checked 16940 before jumping straight into built-in Thai processing, so external XIM 16941 servers such as SCIM can be used with Thai. 16942 16943commit c13aded1b2f830ba5004abb0ec5518f9ea16087e 16944Author: Colin Harrison <colin.harrison-at-virgin.net> 16945Date: Sat Apr 26 18:56:05 2008 +0100 16946 16947 Fix missing error condition 16948 16949commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 16950Author: Colin Harrison <colin.harrison-at-virgin.net> 16951Date: Mon Apr 21 17:24:33 2008 +0100 16952 16953 Xlib warning fixes 16954 16955commit 6b6caeea830a977bdb54688cfb648d879821e752 16956Author: James Cloos <cloos@jhcloos.com> 16957Date: Fri Apr 18 02:50:55 2008 -0400 16958 16959 Add some dead_key sequences to en_US.UTF-8 Compose table 16960 16961 Make use of the new dead key symbols added to x11proto’s 16962 commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 16963 was in responce to bug #15446). 16964 16965commit 8f9b039580deaf658e464b7d6254064fcf183df6 16966Author: Alan Coopersmith <alan.coopersmith@sun.com> 16967Date: Mon Apr 14 19:09:42 2008 -0700 16968 16969 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 16970 16971commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 16972Author: Alan Coopersmith <alan.coopersmith@sun.com> 16973Date: Mon Apr 14 18:21:14 2008 -0700 16974 16975 Fix mismatched brace indenting 16976 16977commit a19f9c65ee9e5e5d783feaa84998c36439b0288b 16978Author: Bart Massey <bart@cs.pdx.edu> 16979Date: Fri Apr 4 18:58:45 2008 -0700 16980 16981 added error check in Xcms color file parser; closes bug #15305 16982 16983commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 16984Author: Christian Weisgerber <naddy@mips.inka.de> 16985Date: Tue Mar 18 07:30:05 2008 +0100 16986 16987 ConnDis: properly cast 'addr' before accessing it as a byte array. 16988 16989 If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 16990 clients over IPv6, the clients are liable to segfaults. 16991 16992commit 64325f38bab082a8e0e9ce779a8e582de5c8588e 16993Author: Josh Triplett <josh@freedesktop.org> 16994Date: Sat Mar 15 12:29:33 2008 -0700 16995 16996 Fix fd.o bug 15023: make Xlib sync correctly given many void requests 16997 16998 If given many requests without replies, Xlib may not sync until it flushes 16999 the output buffer. Thus, if Xlib can fit enough requests in the buffer to 17000 pass by the number of requests it would normally sync after (65536 - 17001 BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 17002 demonstrated this by issuing a request with a reply (ListExtensions) at 17003 just the right time to get confused with the GetInputFocus reply issued in 17004 response to the sync 65,536 requests later; the test case used an async 17005 handler to watch the replies, since otherwise it could not issue a request 17006 without waiting for the response. When the test case failed, Xlib's sync 17007 handler would eat the ListExtensions reply, and the test case's async 17008 handler would see the GetInputFocus reply. 17009 17010 Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 17011 buffer size to figure out when the sequence numbers could potentially wrap 17012 before the next flush. 17013 17014 With this commit, the test case consistently passed, and the async reply 17015 handler always saw the ListExtensions reply. 17016 17017 Commit by Jamey Sharp and Josh Triplett. 17018 17019commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 17020Author: Colin Harrison <colin.harrison@virgin.net> 17021Date: Sat Mar 15 13:39:13 2008 -0400 17022 17023 Fix typo 17024 17025 Signed-off-by: James Cloos <cloos@jhcloos.com> 17026 17027commit f07585ca27a8487bc66dfe41486c823f0fdcea7d 17028Author: Daniel Stone <daniel@fooishbar.org> 17029Date: Sat Mar 15 17:32:57 2008 +0200 17030 17031 configure.ac: Don't search for legacy X11 headers 17032 17033 This can actually break cross-compiles, so don't do it anymore. 17034 17035commit bf69541238c7df6606340c0f389e5c47149b29c7 17036Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17037Date: Sun Mar 9 09:08:07 2008 +0100 17038 17039 nuke RCS Ids 17040 17041commit 5e98aed13e529638df744e45893c471d5f2014fb 17042Author: Adam Jackson <ajax@redhat.com> 17043Date: Thu Mar 6 16:10:33 2008 -0500 17044 17045 libX11 1.1.4 17046 17047commit 8e085971dc661da9f80ff6b67747459c0fb15c08 17048Author: Alan Coopersmith <alan.coopersmith@sun.com> 17049Date: Thu Feb 28 20:17:41 2008 -0800 17050 17051 Man page typo fixes 17052 17053commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 17054Author: Søren Sandmann Pedersen <sandmann@redhat.com> 17055Date: Sun Feb 24 20:03:35 2008 -0500 17056 17057 XIM: Fix a hand when switching input context. 17058 17059 Red Hat bug #201284. 17060 17061commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 17062Author: Adam Jackson <ajax@redhat.com> 17063Date: Sun Feb 24 20:00:43 2008 -0500 17064 17065 Bug #14029: Don't LockDisplay() recursively. 17066 17067 See also Red Hat bugzilla #326461. 17068 17069commit e5892467ae3308c8651be76e06db322dcbc08522 17070Author: Alan Coopersmith <alan.coopersmith@sun.com> 17071Date: Fri Feb 15 17:27:53 2008 -0800 17072 17073 Add support for building lint library with --enable-lint-library 17074 17075commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 17076Author: Alan Coopersmith <alan.coopersmith@sun.com> 17077Date: Mon Feb 11 20:11:43 2008 -0800 17078 17079 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 17080 17081commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 17082Author: Alan Coopersmith <alan.coopersmith@sun.com> 17083Date: Fri Feb 8 16:46:46 2008 -0800 17084 17085 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 17086 17087commit 416a812200f24d19149dcc497e5c51a0608120f6 17088Author: Alan Coopersmith <alan.coopersmith@sun.com> 17089Date: Fri Feb 8 15:31:31 2008 -0800 17090 17091 XErrorDB updates for Render 0.9 & XFixes 4.0 17092 17093commit 16a76091cd632e5a3708e235ff864b58f3e4613e 17094Author: Kim Woelders <kim@woelders.dk> 17095Date: Sat Dec 22 21:45:23 2007 +0100 17096 17097 Fix bs_BA entries in locale.dir.pre 17098 17099 X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 17100 17101commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 17102Merge: 8f0bd3f4 e8d4cefa 17103Author: James Cloos <cloos@jhcloos.com> 17104Date: Fri Dec 14 22:43:47 2007 -0500 17105 17106 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 17107 17108commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 17109Author: James Cloos <cloos@jhcloos.com> 17110Date: Fri Dec 14 22:42:59 2007 -0500 17111 17112 add a comment to en_US.UTF-8/Compose 17113 17114commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 17115Author: James Cloos <cloos@jhcloos.com> 17116Date: Fri Dec 14 22:40:13 2007 -0500 17117 17118 Add <dead_stroke> compose sequences 17119 17120 The added sequences match the existing <Multi_key> <slash> sequences. 17121 17122 This is related to bug #12765¹. 17123 17124 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 17125 17126commit e8d4cefa0837afa149a10e981528b368485a9e38 17127Author: Jeremy Huddleston <jeremy@yuffie.local> 17128Date: Mon Dec 10 23:00:44 2007 -0800 17129 17130 Added launchd support. 17131 17132commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 17133Merge: 5dfefd38 13ac8046 17134Author: Peter Hutterer <peter@cs.unisa.edu.au> 17135Date: Thu Dec 6 14:08:29 2007 +1030 17136 17137 Merge branch 'master' into xge 17138 17139commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 17140Merge: a68a1cd7 eff33ae5 17141Author: Peter Hutterer <peter@cs.unisa.edu.au> 17142Date: Thu Dec 6 13:57:09 2007 +1030 17143 17144 Merge branch 'master' into xge 17145 17146 Conflicts: 17147 17148 src/xcb_io.c 17149 17150commit 13ac80469f6958cabac596834e203bd9cb6d4c94 17151Author: James Cloos <cloos@jhcloos.com> 17152Date: Wed Dec 5 20:14:03 2007 -0500 17153 17154 Update the currency symbols block of en_US.UTF-8/Compose.pre 17155 Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 17156 the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 17157 AUSTRAL, HRYVNIA and CEDI SIGNs. 17158 17159commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 17160Author: Anton Zinoviev <anton@lml.bas.bg> 17161Date: Wed Dec 5 19:56:03 2007 -0500 17162 17163 Additions to the Compose file for UTF-8 17164 From bug #5371¹ 17165 17166 Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 17167 from those in attachment #4122². The post³ on xorg resulted in only 17168 a positive reply⁴ from Daniel, so this block is now also commited. 17169 17170 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 17171 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 17172 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 17173 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 17174 17175 Signed-off-by: James Cloos <cloos@jhcloos.com> 17176 Acked-by: Daniel Stone <daniel@fooishbar.org> 17177 17178commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 17179Author: James Cloos <cloos@jhcloos.com> 17180Date: Tue Dec 4 17:25:39 2007 -0500 17181 17182 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 17183 17184 Based on src/KeysymStr.c and src/StrKeysym.c and comments in 17185 bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 17186 those should be in the form U plus the hex of the UCS Code Point. 17187 17188 The 0x01000000 is ORed in by the code. 17189 17190 This update fixes all of those. 17191 17192 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 17193 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 17194 17195commit 02e04059c89e175f51647e3b031344f743286b34 17196Merge: 1254c57d b57129ef 17197Author: James Cloos <cloos@jhcloos.com> 17198Date: Tue Dec 4 06:55:04 2007 -0500 17199 17200 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 17201 17202commit 1254c57dd3a8d6ea87041b2f63024f99094f290f 17203Author: James Cloos <cloos@jhcloos.com> 17204Date: Tue Dec 4 06:53:55 2007 -0500 17205 17206 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 17207 Inspired by bug 11930¹: 17208 17209 Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 17210 and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 17211 Compose files. 17212 17213 This was done with a pair of perl scripts based on the one quoted in the 17214 log for commit c76d30253f1483ac8200ad5c032a818907e65030. 17215 17216 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 17217 17218commit b57129ef324c73ee91c2a796b800c4b45f4d4855 17219Author: Jeremy Huddleston <jeremy@yuffie.local> 17220Date: Mon Dec 3 20:04:19 2007 -0800 17221 17222 Use __APPLE__ instead of __DARWIN__ 17223 17224commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 17225Author: Jeremy Huddleston <jeremy@yuffie.local> 17226Date: Wed Nov 28 16:43:49 2007 -0800 17227 17228 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 17229 17230commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 17231Author: Alan Coopersmith <alan.coopersmith@sun.com> 17232Date: Wed Nov 21 16:50:04 2007 -0800 17233 17234 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 17235 17236 X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 17237 17238 Protect /* sequences from cpp pre-processor removal without transforming 17239 to Unicode mathematical asterisk character 17240 17241commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 17242Author: Jamey Sharp <jamey@minilop.net> 17243Date: Mon Oct 29 10:46:20 2007 -0700 17244 17245 Two threads can request sequence sync and XID fetch simultaneously. 17246 17247 So don't assert that they can't. 17248 17249 This makes the Xlib/XCB implementation of _XAllocID more closely 17250 resemble the traditional Xlib version. 17251 17252commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 17253Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 17254Date: Sun Oct 28 04:44:00 2007 -0800 17255 17256 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 17257 17258 <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 17259 17260commit 24527c92fd1f433ea135e85ec876a94a529fe500 17261Author: Yann Droneaud <ydroneaud@mandriva.com> 17262Date: Wed Oct 24 19:26:07 2007 +0300 17263 17264 XIM: Properly initialise client event 17265 17266 Make sure all ClientMessage fields are initialised to 0 before we send it. 17267 17268commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 17269Author: Daniel Stone <daniel@fooishbar.org> 17270Date: Wed Oct 24 19:22:22 2007 +0300 17271 17272 Colours: Fix --disable-xcms 17273 17274 Disable large tracts of colour management code when passing 17275 --disable-xcms. 17276 17277commit 11ea09745efa8de7dc82fe30ebd2393f08390957 17278Author: Eric Anholt <eric@anholt.net> 17279Date: Fri Aug 31 17:30:33 2007 -0700 17280 17281 Bug #2081: Note the range limitation of XSetScreenSaver arguments. 17282 17283commit 31540f1438ec63faf37044f2fd654b335ddf80f0 17284Author: Kristian Høgsberg <krh@redhat.com> 17285Date: Wed Aug 29 19:50:57 2007 -0400 17286 17287 Add GLX 1.4 requests and errors. 17288 17289commit 7c996f78914c77fe17e9f4feede980d895d9df51 17290Author: Eric Anholt <eric@anholt.net> 17291Date: Tue Aug 28 15:15:11 2007 -0700 17292 17293 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 17294 17295commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 17296Author: Eric S. Raymond <esr@thyrsus.com> 17297Date: Sun Jan 14 10:48:00 2007 -0800 17298 17299 Bug #9658: Bad markup on XIfEvent.3x 17300 17301 X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 17302 17303commit 74cba78daa738ef4d92096107d95c1a585933666 17304Author: Eric S. Raymond <esr@thyrsus.com> 17305Date: Sun Jan 14 10:43:00 2007 -0800 17306 17307 Bug #9655: Bad markup in XrmUniqueQuark.3x 17308 17309 X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 17310 17311commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 17312Author: Eric S. Raymond <esr@thyrsus.com> 17313Date: Sun Jan 14 10:43:00 2007 -0800 17314 17315 Bug #9654: Bad markup in XrmGetFileDatabase.3x 17316 17317 X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 17318 17319commit 2db713252090cae08f0200fecad4fc25fb64c8b1 17320Author: Eric S. Raymond <esr@thyrsus.com> 17321Date: Sun Jan 14 10:40:00 2007 -0800 17322 17323 Bug #9653: Bad markup in XQueryColor.3x 17324 17325 X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 17326 17327commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 17328Author: Eric S. Raymond <esr@thyrsus.com> 17329Date: Sun Jan 14 10:40:00 2007 -0800 17330 17331 Bug #9652: Bad markup in XDrawArc.3x 17332 17333 X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 17334 17335commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 17336Author: Eric S. Raymond <esr@thyrsus.com> 17337Date: Sun Jan 14 10:39:00 2007 -0800 17338 17339 Bug #9651: Bad markup in XcmsColor.3x 17340 17341 X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 17342 17343commit c316aaf0aab06951db9dc5c9c1148bfea835d885 17344Author: Eric S. Raymond <esr@thyrsus.com> 17345Date: Sun Jan 14 10:38:00 2007 -0800 17346 17347 Bug #9650: Bad markup in XLoadFont.3x manual page 17348 17349 X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 17350 17351commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 17352Author: Eric S. Raymond <esr@thyrsus.com> 17353Date: Tue Jan 2 10:18:00 2007 -0800 17354 17355 Bug 9523: Markup problems in XQueryExtension.3x 17356 17357 X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 17358 17359commit fe713c616e29ba19c179b43c18eca1035079ce18 17360Author: Ian Romanick <idr@us.ibm.com> 17361Date: Tue Aug 21 14:56:33 2007 -0700 17362 17363 Make sure nls/am_ET.UTF-8/Makefile is created by configure. 17364 17365commit e3430616f26b68e1439143cbe10732f3fc329d20 17366Author: Eric S. Raymond <esr@thyrsus.com> 17367Date: Tue Jan 2 08:40:00 2007 -0800 17368 17369 Bug #9516: Markup error in XAllocWMHints.3x 17370 17371 X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 17372 17373commit d8fe979fc929833e8c754aed32641786d5a0622b 17374Merge: 21ca9533 4ec1723f 17375Author: James Cloos <cloos@jhcloos.com> 17376Date: Mon Aug 20 15:34:50 2007 -0400 17377 17378 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 17379 17380commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 17381Author: James Cloos <cloos@jhcloos.com> 17382Date: Mon Aug 20 15:34:03 2007 -0400 17383 17384 Fix typo 17385 The code <U1000000D> was used where <U10000DC> was obviously intended. 17386 17387 It is possible that <Udiaeresis> should be used instead, if that will 17388 not break anyone’s setup. 17389 17390commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 17391Author: James Cloos <cloos@jhcloos.com> 17392Date: Mon Aug 20 15:25:48 2007 -0400 17393 17394 Add compose file for Ethiopic to match new keyboard in xkeyboard-config 17395 From bug report: 17396 17397 https://bugs.freedesktop.org/show_bug.cgi?id=11307 17398 17399commit eff33ae525337ce2026be135a26464c7b1237113 17400Author: James Cloos <cloos@jhcloos.com> 17401Date: Sat Aug 18 17:58:23 2007 -0400 17402 17403 Patch for Catalan locales 17404 From bugzilla bug 10943¹: 17405 17406 There are several Catalan locale codes which presently can 17407 be used in X11 systems; especially after they were accepted 17408 in belocs-locale-data². 17409 17410 In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 17411 locale codes. For instance, without this, using ca_AD (actually 17412 a quite used locale⁴) some applications (eg. Emacs or Skype) 17413 cannot display Catalan diacritic marks as you type them. 17414 17415 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 17416 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 17417 3] Toni Hermoso Pulido <toniher@softcatala.org> 17418 4] https://launchpad.net/~ubuntu.cat/+members 17419 17420commit 1f980cb7d022f53d0aee9e793b08203fb888e86e 17421Author: James Cloos <cloos@jhcloos.com> 17422Date: Sat Aug 18 17:47:04 2007 -0400 17423 17424 Add additional Euro signs to compose 17425 Inspired by bug 7419¹ make all of: 17426 17427 C=, =C, c=, =c, E=, =E, e=, E= 17428 17429 after <Multi_key> generate € U+20AC EURO SIGN. 17430 17431 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 17432 17433commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 17434Author: James Cloos <cloos@jhcloos.com> 17435Date: Sat Aug 18 17:29:08 2007 -0400 17436 17437 Compose fix for Latin-1 (from Debian) 17438 The description from bugzilla bug 7417¹ is: 17439 17440 We've been shipping this patch for some time in Debian now. The 17441 problem description from the patch header is reproduced below. You 17442 may want to note the licensing issue mentioned below, but we've been 17443 shipping it because the method by which this particular patch was 17444 generated and updated was also given below. 17445 17446 This patch by Denis Barbier. 17447 17448 The X11 protocol states that Unicode keysyms are in the range 17449 0x01000100 - 0x0110FFFF. If the result of composing characters is a 17450 Unicode codepoint, X returns the corresponding Unicode keysym, which 17451 is its Unicode codepoint augmented by 0x01000000. Latin-1 17452 characters must not appear with their Unicode codepoints in compose 17453 files, otherwise the returned composed character lies in the range 17454 0x01000000 - 0x010000FF which is not valid. 17455 17456 There are two solutions: either fix composing routines to return 17457 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 17458 replace U00ZZ by their corresponding keysyms in compose files. The 17459 latter is more logical and less error prone, so compose files will 17460 be patched. Many applications accept these invalid Unicode keysyms, 17461 but few of them don't, most notably xemacs. Only UTF-8 locales are 17462 affected. 17463 17464 This has been fixed very recently in XFree86 CVS (but not xorg), but 17465 for licensing reasons, this patch is not grabbed. Instead automatic 17466 conversion is performed by: 17467 17468 sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 17469 | grep -v deprecated | grep 0x0 \ 17470 | sed -e 's/0x0/U0/' -e 's/XK_//' \ 17471 | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 17472 for f in nls/*.UTF-8/Compose.pre 17473 do 17474 sed -f sedfile $f > $f.tmp && mv $f.tmp $f 17475 done 17476 17477 [I edited the quoted script to update it for the current location of 17478 the installed keysymdef.h and the current layout of the libX11 17479 repo. -JimC] 17480 17481 I applied the script, not the patch attached to the bugreport. 17482 17483 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 17484 17485commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 17486Author: James Cloos <cloos@jhcloos.com> 17487Date: Sat Aug 18 17:13:41 2007 -0400 17488 17489 Add some compose sequences 17490 17491 Add some compose sequences from the patch in bug 5371 (attachment 4122). 17492 17493 Cf: 17494 17495 https://bugs.freedesktop.org/show_bug.cgi?id=5371 17496 https://bugs.freedesktop.org/attachment.cgi?id=4122 17497 17498commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 17499Author: James Cloos <cloos@jhcloos.com> 17500Date: Sat Aug 18 13:57:31 2007 -0400 17501 17502 Fix SMP Compose targets 17503 The compose targets from the SMP (plane 1) were incorrect. 17504 17505 At some point the 0x10000 bit had been lost. 17506 17507commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 17508Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 17509Date: Thu Aug 16 17:37:22 2007 -0500 17510 17511 Fix a mutex reference-counting bug. 17512 17513 I was told that some systems have a much more permissive libpthread. 17514 I was asked to commit this. This is from NetBSD's X source. 17515 (I didn't receive any feedback on xorg list for over two weeks 17516 about this.) 17517 17518commit ac00a44b4875de70382da5a40dd87f976e5b9327 17519Author: Tilman Sauerbeck <tilman@code-monkey.de> 17520Date: Wed Aug 1 20:36:03 2007 +0200 17521 17522 Bumped version to 1.1.3. 17523 17524commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 17525Author: Joerg Sonnenberger <joerg@netbsd.org> 17526Date: Fri Jul 27 11:15:47 2007 -0700 17527 17528 Fail properly on errors in recursive make. 17529 17530commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 17531Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 17532Date: Thu Jul 26 23:31:15 2007 +0200 17533 17534 Add missing override parameter in XrmCombineDatabase prototype in the manpage 17535 17536 Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 17537 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 17538 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 17539 17540 Also add the type of the second argument in XrmMergeDatabases. 17541 17542commit 6f0764d4b56f64786b4980839ca262f10a51af6f 17543Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 17544Date: Thu Jul 26 22:53:52 2007 +0200 17545 17546 Clarify return value of XGetCommand in case of error in the manpage 17547 17548 Reported by Sean Perry <shalehperry@attbi.com> 17549 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 17550 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 17551 17552commit b8bef57342632cc2d25580bb7daa3839bae04d89 17553Author: Alan Coopersmith <alan.coopersmith@sun.com> 17554Date: Wed Jul 25 17:44:06 2007 -0700 17555 17556 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 17557 17558commit 590cde811a79375231c59ed8583e02b111ed567c 17559Author: Kean Johnston <kean@armory.com> 17560Date: Thu Jul 19 16:44:20 2007 -0700 17561 17562 Reset hostname when falling back from :0 to hostname/localhost:0 as well 17563 17564commit d334665e619e9db657a2ea2764a8b852401d4a3f 17565Author: Kean Johnston <kean@armory.com> 17566Date: Tue Jul 17 16:34:30 2007 -0700 17567 17568 LOCALCONN fallback changes DisplayString() output, breaks KDE 17569 17570 See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 17571 17572commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 17573Author: Olivier Blin <blino@mandriva.org> 17574Date: Mon Jun 11 18:32:09 2007 +1000 17575 17576 fix XGetMotionEvents arguments order - Fixes bug 11222 17577 17578commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 17579Author: Jamey Sharp <jamey@minilop.net> 17580Date: Sun Jun 10 16:19:59 2007 -0700 17581 17582 Fix locking in _XimGetWindowEventmask. 17583 17584 Now that XFilterEvent drops the Display lock before invoking callback 17585 functions, _XimGetWindowEventmask is called without the lock held. So 17586 when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 17587 that does not lock the Display, Xlib/XCB would assert: 17588 17589 xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 17590 17591 Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 17592 17593commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 17594Author: Jamey Sharp <jamey@minilop.net> 17595Date: Sun Jun 3 21:41:47 2007 -0700 17596 17597 Move security fixes to the top of NEWS, and fix spacing. 17598 17599 Commit by Josh Triplett and Jamey Sharp. 17600 17601commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 17602Author: Jamey Sharp <jamey@minilop.net> 17603Date: Sun Jun 3 21:29:40 2007 -0700 17604 17605 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 17606 17607 Commit by Josh Triplett and Jamey Sharp 17608 17609commit 5123b77a3d32d3ad479462f319762c328278aed9 17610Author: Jamey Sharp <jamey@minilop.net> 17611Date: Sun Jun 3 21:24:54 2007 -0700 17612 17613 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 17614 17615 Commit by Josh Triplett and Jamey Sharp. 17616 17617commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 17618Author: Jamey Sharp <jamey@minilop.net> 17619Date: Sun Jun 3 20:59:12 2007 -0700 17620 17621 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 17622 17623 Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 17624 _XReadEvents always enqueues at least one event even if an error occurred, 17625 because the one call to xcb_wait_for_event would then return an error, not an 17626 event, and nothing else ensured that process_responses would obtain an event. 17627 Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 17628 f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 17629 process_responses, wait_for_first_event now serves as a flag, cleared when 17630 actually handling an event. 17631 17632 Commit by Josh Triplett and Jamey Sharp. 17633 17634commit e2c1d788d1fe7bd2d34756493951552441e59b8c 17635Author: Jamey Sharp <jamey@minilop.net> 17636Date: Sun Jun 3 17:33:23 2007 -0700 17637 17638 Xlib/XCB: Only remove pending_requests when there are provably no more responses. 17639 17640commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 17641Author: Josh Triplett <josh@freedesktop.org> 17642Date: Sun Jun 3 15:39:39 2007 -0700 17643 17644 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 17645 17646 Signed-off-by: Josh Triplett <josh@freedesktop.org> 17647 17648commit 416f38f2e67ee1979b3d2feac6f06b3670238804 17649Author: Josh Triplett <josh@freedesktop.org> 17650Date: Sun Jun 3 12:13:44 2007 -0700 17651 17652 Revert "Revert "include: don't distribute XlibConf.h"" 17653 17654 This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 17655 17656 Re-revert the XlibConf.h change, which prevented distribution, not 17657 installation. 17658 17659commit 79fa3d8070d95b960ba486f2439225872471dadd 17660Author: Josh Triplett <josh@freedesktop.org> 17661Date: Sat Jun 2 22:05:16 2007 -0700 17662 17663 Revert "include: don't distribute XlibConf.h" 17664 17665 This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 17666 17667 The installed XlibInt.h includes XlibConf.h , so libX11 should ship 17668 XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 17669 prevent automake from shipping XlibConf.h, because it used 17670 nodist_x11include_HEADERS rather than nodist_HEADERS.) 17671 17672commit f417570735aac865eb6b576d1ea76b5bfcd8573b 17673Author: Jamey Sharp <jamey@minilop.net> 17674Date: Sat Jun 2 17:59:15 2007 -0700 17675 17676 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 17677 17678 Commit by Josh Triplett and Jamey Sharp. 17679 17680commit c337f9de7cfd89f983f83956b7457a274dd412f3 17681Author: Jamey Sharp <jamey@minilop.net> 17682Date: Sat Jun 2 17:46:41 2007 -0700 17683 17684 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 17685 17686 Commit by Jamey Sharp and Josh Triplett. 17687 17688commit 7f66c897f04806b75e574b55b48921b48045e3f9 17689Author: Jamey Sharp <jamey@minilop.net> 17690Date: Sat Jun 2 16:43:39 2007 -0700 17691 17692 Update _XReply's copy of _XCBUnlockDisplay's guts. 17693 17694 We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 17695 17696 Also add a comment in _XCBUnlockDisplay to discourage this problem from 17697 respawning. 17698 17699 Commit by Josh Triplett and Jamey Sharp. 17700 17701commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 17702Author: Jamey Sharp <jamey@minilop.net> 17703Date: Sat Jun 2 16:01:01 2007 -0700 17704 17705 Xlib/XCB: Avoid re-crashing after _XIOError. 17706 17707 Commit by Josh Triplett and Jamey Sharp. 17708 17709commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 17710Author: Jamey Sharp <jamey@minilop.net> 17711Date: Sat Jun 2 12:30:30 2007 -0700 17712 17713 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 17714 17715 An Xlib client can query Display state, such as with NextRequest, while 17716 it holds only the Xlib user lock (between XLockDisplay and 17717 XUnlockDisplay), so XCB requests in other threads should be blocked when 17718 the Xlib user lock is held. 17719 17720 We acquire the lock even when XInitThreads was not called, so that pure 17721 XCB code can use multiple threads even in an otherwise single-threaded 17722 Xlib application. 17723 17724 Commit by Josh Triplett and Jamey Sharp. 17725 17726commit 95523387d619af5b400748898d722e080b5ce1a6 17727Author: Jamey Sharp <jamey@minilop.net> 17728Date: Sat Jun 2 11:57:39 2007 -0700 17729 17730 Allow re-entrant Xlib calls from _XIOError. 17731 17732 Some libraries try to clean up X resources from atexit handlers, _fini, 17733 or C++ destructors. To make these work, the Display lock should be 17734 downgraded to a user lock (as in XLockDisplay) before calling exit(3). 17735 This blocks Xlib calls from threads other than the one calling exit(3) 17736 while still allowing the exit handlers to call Xlib. 17737 17738 This assumes that the thread calling exit will call any atexit handlers. 17739 If this does not hold, then an alternate solution would involve 17740 registering an atexit handler to take over the lock, which would only 17741 assume that the same thread calls all the atexit handlers. 17742 17743 Commit by Josh Triplett and Jamey Sharp. 17744 17745commit 91b02b8064f4e0bcc56019f0722914850008a597 17746Author: Tilman Sauerbeck <tilman@code-monkey.de> 17747Date: Thu May 17 19:07:34 2007 +0200 17748 17749 More constification. 17750 17751commit a4f3841940158351f9424c3f59b305cce877177d 17752Author: Tilman Sauerbeck <tilman@code-monkey.de> 17753Date: Thu May 17 00:29:43 2007 +0200 17754 17755 Constified composite text charset table. 17756 17757commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 17758Author: Tilman Sauerbeck <tilman@code-monkey.de> 17759Date: Wed May 16 23:19:22 2007 +0200 17760 17761 Have the compiler fill in hexTable so we don't have to do it at runtime. 17762 17763commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 17764Author: Tilman Sauerbeck <tilman@code-monkey.de> 17765Date: Wed May 16 19:36:23 2007 +0200 17766 17767 More constification. 17768 17769commit 6d2bed8f04942b4de086a519ac693e729c9fdeea 17770Author: Tilman Sauerbeck <tilman@code-monkey.de> 17771Date: Wed May 16 19:18:20 2007 +0200 17772 17773 Constify and clean up token table. 17774 17775commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 17776Author: Tilman Sauerbeck <tilman@code-monkey.de> 17777Date: Wed May 16 18:24:42 2007 +0200 17778 17779 Constified more tables. 17780 17781commit e699c4231c205ef00d687b6412308d031b99806b 17782Author: Tilman Sauerbeck <tilman@code-monkey.de> 17783Date: Wed May 16 18:01:23 2007 +0200 17784 17785 Constified error list. 17786 17787commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 17788Author: Peter Hutterer <peter@cs.unisa.edu.au> 17789Date: Tue May 15 16:54:01 2007 +0930 17790 17791 Add XGenericEvent definition and handling for long events. 17792 17793commit c76d30253f1483ac8200ad5c032a818907e65030 17794Author: Jan Willem Stumpel <jstumpel@planet.nl> 17795Date: Fri May 4 12:00:49 2007 -0700 17796 17797 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 17798 17799 Cf: 17800 17801 https://bugs.freedesktop.org/show_bug.cgi?id=10851 17802 https://bugs.freedesktop.org/show_bug.cgi?id=10824 17803 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 17804 17805 The greek keyboard definition was changed to replace dead_horn and 17806 dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 17807 COMBINING REVERSED COMMA ABOVE (aka Dasia). 17808 17809 This patch modifies the Greek Compose.pre to match. 17810 17811 It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 17812 posted to 386385@bugs.debian.org: 17813 17814 #!/usr/bin/perl 17815 while (<>) { 17816 print $_; 17817 if (/dead_horn/) { 17818 s/dead_horn/U0313/; 17819 print $_; 17820 } 17821 elsif (/dead_ogonek/) { 17822 s/dead_ogonek/U0314/; 17823 print $_; 17824 } 17825 } 17826 17827commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 17828Author: Magnus Kessler <Magnus.Kessler@gmx.net> 17829Date: Tue May 1 15:20:08 2007 +0200 17830 17831 Switched function definitions from K&R to ANSI style. 17832 17833commit 605d357074d556a05a3fba2e85cbea36a3204248 17834Author: Tilman Sauerbeck <tilman@code-monkey.de> 17835Date: Tue May 1 14:47:03 2007 +0200 17836 17837 Tweaked configure output about the man pages suffix. 17838 17839commit 9824b40d2af4ca2376512c1be7743da0d5065900 17840Author: Alan Coopersmith <alan.coopersmith@sun.com> 17841Date: Sat Apr 28 00:42:18 2007 -0700 17842 17843 Fix typo in nroff macro in XkbAddGeomOverlayKey.man 17844 17845commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 17846Author: Alan Coopersmith <alan.coopersmith@sun.com> 17847Date: Sat Apr 28 00:30:55 2007 -0700 17848 17849 Protect C comments and #defines in XKB man pages from being mangled by cpp 17850 17851commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 17852Author: Alan Coopersmith <alan.coopersmith@sun.com> 17853Date: Sat Apr 28 00:14:50 2007 -0700 17854 17855 Add Makefile to process/install XKB man pages 17856 17857commit d9954c6f6f3a8c406b946acd0d034ff83c656156 17858Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 17859Date: Thu Aug 19 00:00:00 1999 -0700 17860 17861 Add man pages for XKB API's 17862 17863 Man pages originally written for X11R6.4 integration to Solaris 7 11/99 17864 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 17865 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 17866 17867 (Volunteer needed to convert prototypes in man pages to ANSI C style...) 17868 17869commit f640a49b5e2ebf29f9d655df544c63bf826f619a 17870Author: Tilman Sauerbeck <tilman@code-monkey.de> 17871Date: Fri Apr 20 18:39:59 2007 +0200 17872 17873 Markup tweak for XOpenIM. 17874 17875commit e972b0bb255af4f3258217852542faf5afa60b28 17876Author: Julien Cristau <jcristau@debian.org> 17877Date: Fri Apr 20 18:35:09 2007 +0200 17878 17879 Bug #9695: Fixed a few argument types in the XOpenIM manpage. 17880 17881commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 17882Author: Julien Cristau <jcristau@debian.org> 17883Date: Fri Apr 20 18:28:52 2007 +0200 17884 17885 Bug #9697: Fixed documentation of XVisualInfo struct. 17886 17887 The "depth" member was said to be unsigned int, but it's signed. 17888 17889commit 4068f3dae01c630f825002673b1d3a047ad61863 17890Author: Julien Cristau <jcristau@debian.org> 17891Date: Fri Apr 20 16:41:21 2007 +0200 17892 17893 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 17894 17895commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 17896Author: Tilman Sauerbeck <tilman@code-monkey.de> 17897Date: Sat Apr 7 14:42:55 2007 +0200 17898 17899 Use unistd.h to get getresuid() and friends. 17900 17901 This works since we now have _GNU_SOURCE defined. 17902 17903commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 17904Author: Tilman Sauerbeck <tilman@code-monkey.de> 17905Date: Sat Apr 7 14:27:12 2007 +0200 17906 17907 Bug #10562: Define _GNU_SOURCE on glibc systems. 17908 17909commit a225a0be48770beb689d5ac5da97073634f7deab 17910Author: Tilman Sauerbeck <tilman@code-monkey.de> 17911Date: Fri Apr 6 12:46:25 2007 +0200 17912 17913 For nls/*.pre, allow people to comment lines by starting them with '##'. 17914 17915 This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 17916 Fixing that file would have been a larger diff, and using ## may be 17917 nicer to use anyway. 17918 17919commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 17920Author: Tilman Sauerbeck <tilman@code-monkey.de> 17921Date: Fri Apr 6 11:59:31 2007 +0200 17922 17923 Bug #10475: Fixed lots of char*/const char* mixups. 17924 17925 I didn't fix all of them, as that would require touching 17926 public headers. 17927 17928commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 17929Author: Matthias Hopf <mhopf@suse.de> 17930Date: Thu Apr 5 11:53:18 2007 +0200 17931 17932 Fix 64bit issues with reallocation. 17933 17934commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 17935Author: Tilman Sauerbeck <tilman@code-monkey.de> 17936Date: Wed Apr 4 18:41:18 2007 +0200 17937 17938 Fixed a few warnings. 17939 17940commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 17941Author: Matthieu Herrb <matthieu@roadrock.(none)> 17942Date: Tue Apr 3 15:39:52 2007 +0200 17943 17944 Multiple integer overflows in the XGetPixel() and XInitImage functions 17945 17946 CVE-2007-1667 17947 17948commit 0284b144340a455a4b5b5011d81ac5a610372291 17949Author: David Baron <dbaron@dbaron.org> 17950Date: Fri Mar 30 17:07:46 2007 +0200 17951 17952 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 17953 17954 Now only those fields of the respective hint struct are set that 17955 are actually valid in the input data. 17956 The changed functions are: 17957 XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 17958 17959commit 0994faa0c76c45b106442db461b8a30a3e1c9395 17960Author: Tilman Sauerbeck <tilman@code-monkey.de> 17961Date: Thu Mar 29 17:31:25 2007 +0200 17962 17963 Fixed the change from the previous SendEvent commit. 17964 17965 Testing a different patch than the one you commit is bad, right? 17966 17967commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 17968Author: Tilman Sauerbeck <tilman@code-monkey.de> 17969Date: Wed Mar 28 22:23:44 2007 +0200 17970 17971 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 17972 17973commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 17974Author: David Baron <dbaron@dbaron.org> 17975Date: Wed Mar 28 22:21:40 2007 +0200 17976 17977 Bug #7713: Initialize all of the event's fields before sending it. 17978 17979commit bc80f9fe3ccce40ee41246b97470c4f0519756ad 17980Author: Julien Cristau <jcristau@debian.org> 17981Date: Sun Mar 18 13:14:48 2007 +0100 17982 17983 Bug #9279: Fixed a file descriptor leak. 17984 17985commit c9e28e05ae01ce8a29bea09df759b6271865b44c 17986Author: Daniel Stone <daniel@fooishbar.org> 17987Date: Sat Dec 16 00:45:19 2006 +0200 17988 17989 include: don't distribute XlibConf.h 17990 17991 Since XlibConf.h is built by configure, don't distribute it. 17992 17993commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 17994Merge: 129bbb9f 769b9854 17995Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 17996Date: Thu Dec 14 14:23:20 2006 -0600 17997 17998 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 17999 18000commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 18001Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 18002Date: Thu Dec 14 14:21:19 2006 -0600 18003 18004 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 18005 18006commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 18007Author: Daniel Stone <daniel@fooishbar.org> 18008Date: Wed Dec 6 18:53:00 2006 +0200 18009 18010 Makefile.am: make ChangeLog hook safer 18011 18012 Make ChangeLog hook as safe as possible. 18013 (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 18014 18015commit 8a8185a649e93b90ffa820387ffdca831227f5a9 18016Author: Josh Triplett <josh@freedesktop.org> 18017Date: Thu Nov 30 18:33:13 2006 -0800 18018 18019 Add autogen.sh to EXTRA_DIST. 18020 18021commit efe817f95ef8d05e863c83147e903140bc860de4 18022Author: Jamey Sharp <jamey@minilop.net> 18023Date: Thu Nov 30 17:58:35 2006 -0800 18024 18025 Release libX11 1.1.1. 18026 18027commit f637a5b03164263a3af2e644cf655e52b015f1bb 18028Author: Ross Combs <rocombs@cs.nmsu.edu> 18029Date: Sat Nov 25 14:45:17 2006 -0800 18030 18031 Debian bug #354315: Clarify return value in XGetWindowAttributes man page 18032 18033 This man page does not discuss the actual return values of the 18034 function, but says they are of type "Status". One might assume 18035 that this means you could compare it with the "Success" macro. 18036 One would be wrong. 18037 18038 The X functions seem to have two three types representing status. 18039 If it is an "int" there are a number of error codes or "Success" 18040 which can be compared against. If it is a bool, the result can be 18041 compared with "True" or "False". If the return type is "Status" it 18042 appears that the return type is either 0 or 1. Unfortunately the 18043 value for Success is zero, so it is important to distinguish 18044 between the first two types of return values and the third; 18045 otherwise the conditional will be inverted. 18046 18047 XGetWindowAttributes() is one of the functions which returns zero 18048 for failure. The man page should make this clear. 18049 18050commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 18051Author: Jamey Sharp <jamey@minilop.net> 18052Date: Sat Nov 25 14:23:45 2006 -0800 18053 18054 Bug #9154: Always process an event for _XReadEvents, even if an error occurs 18055 18056 Previously, process_responses (in the wait_for_first_event case called 18057 from _XReadEvents) considered any return from xcb_wait_for_event 18058 sufficient to think it had processed an event. If xcb_wait_for_event 18059 returned an error, and no more events occurred before process_responses 18060 called xcb_poll_for_event, process_responses would try to return with 18061 dpy->head NULL, and would fail an assertion for the _XReadEvents 18062 postcondition. Now, process_responses continues using xcb_wait_for_event 18063 until it gets an event. 18064 18065commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 18066Author: Tilman Sauerbeck <tilman@code-monkey.de> 18067Date: Sat Nov 25 05:29:31 2006 -0800 18068 18069 Bug #9153: Fix access to freed memory. 18070 18071 The fix for bug #8622 introduced a smaller bug where _XReply would 18072 read memory shortly after freeing it. This patch caches the needed 18073 value in a stack-allocated variable before the heap-allocated memory 18074 is freed. 18075 18076commit 934ca763bbc0dd7ae460469bfc000ba101602bcc 18077Author: Josh Triplett <josh@freedesktop.org> 18078Date: Fri Nov 24 19:57:58 2006 -0800 18079 18080 libx11 doesn't use inputproto in public headers; don't require it in x11.pc 18081 18082 Based on a Debian patch. 18083 18084commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 18085Author: Josh Triplett <josh@freedesktop.org> 18086Date: Thu Nov 23 07:19:32 2006 -0800 18087 18088 Release libX11 1.1 18089 18090commit a1168e11ec9377307c51a7271faec3bf88a63a66 18091Author: Jamey Sharp <jamey@minilop.net> 18092Date: Tue Nov 21 17:52:34 2006 -0800 18093 18094 Add note in man-page that XListFontsWithInfo is not thread-safe. 18095 18096 _XReply drops the Display lock, so the value of dpy->request may change 18097 before _XReply is called again. 18098 18099 I discovered this by inspection a year or two ago. I'm pretty confident 18100 in the claim, and nobody has come up with an argument for why it's safe 18101 despite appearances. 18102 18103commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 18104Author: Jamey Sharp <jamey@minilop.net> 18105Date: Sat Nov 18 15:39:26 2006 -0800 18106 18107 Bug #8622: Fix response processing order for threaded apps 18108 18109 Previously, process_responses (the common code for _XReply, 18110 _XReadEvents, and _XEventsQueued) took the current request sequence 18111 number as an argument, and did some highly complicated processing to 18112 attempt to process responses in order across threads. This didn't 18113 actually work. 18114 18115 Now, process_responses handles responses in order, by adding condition 18116 variables to the list of outstanding requests in 18117 dpy->xcb->pending_requests, and blocking on them when those requests 18118 should get processed to allow _XReply to process them; if actually 18119 called from _XReply, it returns when _XReply's request should get 18120 processed. _XReply broadcasts on the condition variable after it has 18121 read its reply and re-acquired the display lock. 18122 18123 Another great commit brought to you by Jamey Sharp, Josh Triplett, the 18124 Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 18125 forwarding. 18126 18127 Signed-off-by: Josh Triplett <josh@freedesktop.org> 18128 Signed-off-by: Jamey Sharp <jamey@minilop.net> 18129 18130commit 941f02ede63baa46f93ed8abccebe76fb29c0789 18131Author: Lars Knoll <lars@trolltech.com> 18132Date: Wed Nov 8 12:17:41 2006 -0800 18133 18134 Don't hold the display lock around callbacks to the application. 18135 18136 This fixes an XCB locking assertion failure, particularly with emacs. 18137 18138commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 18139Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 18140Date: Tue Nov 7 09:32:00 2006 -0800 18141 18142 Add xcb-xlib dependency to x11.pc when built against XCB. 18143 18144commit 2302008a3793eb4df8ede777d54fe06505c47eaf 18145Author: Eric Anholt <eric@anholt.net> 18146Date: Mon Nov 6 17:11:42 2006 -0800 18147 18148 XCB: Allocate the right amount of memory for dpy->lock_fns. 18149 18150 Fixes a crash I was experiencing on startup of anything using gdk. 18151 18152commit 5f860655be88108b03ccd97470a0814819254bf0 18153Author: Jamey Sharp <jamey@minilop.net> 18154Date: Thu Nov 2 17:55:31 2006 -0800 18155 18156 Release libX11 1.1 RC2 (1.0.99.2). 18157 18158commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 18159Author: Benno Schulenberg <bensberg@justemail.net> 18160Date: Sun Oct 29 03:10:30 2006 +0300 18161 18162 nls (en_US): remove long compositions that override shorter (bug #2286) 18163 Remove long compositions that override (or get overriden by) later shorter 18164 compositions, e.g. a four-key compose sequence that gets overriden by a 18165 later three-key compose sequence. 18166 18167commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 18168Author: Benno Schulenberg <bensberg@justemail.net> 18169Date: Sun Oct 29 03:08:36 2006 +0300 18170 18171 nls: remove shadowed compose entries (bug #2286) 18172 Remove compose entries shadowed by others later on. 18173 18174commit d118f2b1ef10997194b281524177dea7396da7dd 18175Author: Benno Schulenberg <bensberg@justemail.net> 18176Date: Sun Oct 29 03:07:15 2006 +0300 18177 18178 nls: remove duplicate compose entries (bug #2286) 18179 Remove a bunch of duplicate entries from various Compose files. 18180 18181commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 18182Author: Caolan McNamara <caolanm@redhat.com> 18183Date: Sun Oct 29 02:46:15 2006 +0300 18184 18185 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 18186 Don't leak the name and value of every property we parse, as well as the 18187 name of every colour. 18188 18189commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 18190Author: Matthias Hopf <mhopf@suse.de> 18191Date: Wed Oct 18 14:25:04 2006 +0200 18192 18193 Fix double open of compose file. 18194 18195 Issue found by Kees Cook <kees@canonical.com>. 18196 18197commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 18198Author: Jamey Sharp <jamey@minilop.net> 18199Date: Sat Oct 14 21:25:10 2006 -0700 18200 18201 XCB: check for and handle I/O errors in _XGetXCBBuffer. 18202 18203commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 18204Author: Jamey Sharp <jamey@minilop.net> 18205Date: Wed Oct 11 00:06:50 2006 -0700 18206 18207 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 18208 18209commit 1eedf1bd033e496843cfde42ae4ae5a119298605 18210Author: Jamey Sharp <jamey@minilop.net> 18211Date: Tue Oct 10 23:03:28 2006 -0700 18212 18213 Add correct Display locking to XKB functions. 18214 18215 Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 18216 This patch fixes at least some instances of that problem. 18217 18218 Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 18219 and proposing a fix, which this patch is based on. 18220 18221commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 18222Author: David Nusinow <dnusinow@debian.org> 18223Date: Tue Oct 10 22:11:05 2006 -0400 18224 18225 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 18226 18227commit e53557da969b706dbc843f6fde3db31ffe382e0f 18228Author: Jamey Sharp <jamey@minilop.net> 18229Date: Sat Oct 7 21:00:36 2006 -0700 18230 18231 Release libX11 1.1 RC1 (1.0.99.1). 18232 18233commit bf237409c5fce32c557d298f62f44d456c2b5bc8 18234Merge: ba477191 2d426d1f 18235Author: Jamey Sharp <jamey@minilop.net> 18236Date: Sat Oct 7 21:07:16 2006 -0700 18237 18238 As XCB support is about to be released in libX11, stable is now subsumed by master. 18239 18240commit ba477191c67ce93e61423cc1abe35275704cce50 18241Author: Jamey Sharp <jamey@minilop.net> 18242Date: Sat Oct 7 03:48:13 2006 -0700 18243 18244 XCB: Don't rely on having the definition of struct xcb_setup_t available. 18245 18246commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 18247Author: Jamey Sharp <jamey@minilop.net> 18248Date: Fri Oct 6 16:27:31 2006 -0700 18249 18250 xcb_poll_for_event no longer takes an 'int *error' out-parameter. 18251 18252commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 18253Author: Josh Triplett <josh@freedesktop.org> 18254Date: Fri Oct 6 16:26:11 2006 -0700 18255 18256 Actually ship Xxcbint.h 18257 18258commit 7b027e53b5e393082f4f515c8ba18077eb97163f 18259Author: Josh Triplett <josh@freedesktop.org> 18260Date: Fri Oct 6 16:25:50 2006 -0700 18261 18262 Clean ChangeLog only in "make maintainer-clean", not "make clean" 18263 18264 ChangeLog requires a git repo to generate; make clean and make distclean 18265 shouldn't get rid of it. 18266 18267commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 18268Author: Josh Triplett <josh@freedesktop.org> 18269Date: Fri Oct 6 16:24:58 2006 -0700 18270 18271 Add ChangeLog and "make dist"-generated files to .gitignore 18272 18273commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 18274Author: Josh Triplett <josh@freedesktop.org> 18275Date: Fri Oct 6 15:53:27 2006 -0700 18276 18277 Add manual pages for XGetXCBConnection and XSetEventQueueOwner 18278 18279commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 18280Author: Josh Triplett <josh@freedesktop.org> 18281Date: Fri Oct 6 13:41:16 2006 -0700 18282 18283 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 18284 18285commit ab728ca372288d0db1b486c265e34c1376f29104 18286Author: Josh Triplett <josh@freedesktop.org> 18287Date: Fri Oct 6 12:36:39 2006 -0700 18288 18289 XCL is dead; long live Xlib/XCB 18290 18291 Rename all instances of "XCL" to Xlib/XCB-derived names. 18292 18293 The only user-visible change: rename the include file <X11/xcl.h> to 18294 <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 18295 18296 Remove the XCL cast inlines from Xlib-xcb.h. 18297 18298commit 5b73093203039d307eb7ab3845c3ced207e9e26c 18299Author: Josh Triplett <josh@freedesktop.org> 18300Date: Fri Oct 6 11:33:49 2006 -0700 18301 18302 Add XCB developers to AUTHORS 18303 18304commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 18305Author: Josh Triplett <josh@freedesktop.org> 18306Date: Fri Oct 6 11:21:28 2006 -0700 18307 18308 Fix email addresses in README 18309 18310commit 12f038669278019594ca0ed53dadcf4e84092422 18311Author: Jamey Sharp <jamey@minilop.net> 18312Date: Fri Oct 6 02:13:05 2006 -0700 18313 18314 XCB: Handle all responses in order of monotonically increasing sequence number. 18315 18316commit f392680273278b43079302206897f794e60f3c70 18317Author: Josh Triplett <josh@freedesktop.org> 18318Date: Fri Oct 6 01:11:08 2006 -0700 18319 18320 Actually install x11-xcb.pc, and ship x11-xcb.pc.in 18321 18322commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 18323Author: Jamey Sharp <jamey@minilop.net> 18324Date: Thu Oct 5 18:32:29 2006 -0700 18325 18326 XCB: correctly handle failure to connect to X server. 18327 18328commit e754b3b078d556c7861da56aad47d244e9199e06 18329Author: Josh Triplett <josh@freedesktop.org> 18330Date: Thu Oct 5 17:44:22 2006 -0700 18331 18332 Split public Xlib/XCB functions into libX11-xcb 18333 18334 We can never change the libX11 soname, and we don't want to commit to never 18335 changing the public Xlib/XCB functions, so split them into a separate library 18336 libX11-xcb. This also means that a program linked solely against libX11 18337 should work with either Xlib or Xlib/XCB, which will make life easier for 18338 package maintainers. 18339 18340 Signed-off-by: Josh Triplett <josh@freedesktop.org> 18341 Acked-by: Jamey Sharp <jamey@minilop.net> 18342 18343commit ffd367f708b295abaedf3a23a1bfd4710d171d6f 18344Author: Jamey Sharp <jamey@minilop.net> 18345Date: Wed Oct 4 17:16:46 2006 -0700 18346 18347 No longer #include Xmd from xcl.h: we do not need it. 18348 18349commit 3aff149d42ba8ed620091971b3766bdf96c62aaf 18350Author: Jamey Sharp <jamey@minilop.net> 18351Date: Wed Oct 4 16:58:32 2006 -0700 18352 18353 XCB: Revert locking to simple wrapper around libX11's normal locks. 18354 18355 No more recursive mutexes, no more banging XCB's I/O lock in-place, and 18356 reduces the differences between the previous stable release and an 18357 XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 18358 too, now. I apologize to the world. 18359 18360commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 18361Author: Jamey Sharp <jamey@minilop.net> 18362Date: Mon Sep 25 04:54:52 2006 -0700 18363 18364 Link explicitly against XCB's Xlib compatibility functions. 18365 18366commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 18367Author: Jamey Sharp <jamey@minilop.net> 18368Date: Mon Sep 25 04:13:20 2006 -0700 18369 18370 libxcb now installs header files in <xcb>, not <X11/XCB>. 18371 18372commit 87d00207f5a1f25a45a153618739cd6481814f89 18373Author: Ian Osgood <iano@quirkster.com> 18374Date: Sun Sep 24 23:39:01 2006 -0700 18375 18376 Track XCB's "Great Renaming". 18377 18378commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 18379Author: Jamey Sharp <jamey@minilop.net> 18380Date: Tue Sep 12 23:02:42 2006 -0700 18381 18382 Quit using XCBGetQueuedRequestRead. 18383 18384commit a61936fc4e9bd93b108764bbacd5b8f786e51915 18385Author: Tollef Fog Heen <tfheen@err.no> 18386Date: Wed Aug 30 00:05:54 2006 +0300 18387 18388 nls: use _XlcUtf8Loader for en_US (bug #7982) 18389 Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 18390 every other locale. 18391 18392commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 18393Author: Alan Coopersmith <alan.coopersmith@sun.com> 18394Date: Wed Aug 23 18:49:30 2006 -0700 18395 18396 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 18397 18398 Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 18399 connect on a named pipe, try a Unix socket first, to better support people who 18400 replace their X servers with ones that don't support named pipe transport. 18401 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 18402 18403commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 18404Author: Mark Brown <mark.brown@sun.com> 18405Date: Thu Jul 27 19:17:10 2006 -0700 18406 18407 Sun bug 1149809: Document event delivery when grab is terminated. 18408 18409commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 18410Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 18411Date: Thu Jul 27 18:47:06 2006 -0700 18412 18413 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 18414 18415 Document that 32-bit format properties are always returned in arrays of type 18416 long, even on systems where long is 64-bits. 18417 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 18418 18419commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 18420Author: Alan Coopersmith <alan.coopersmith@sun.com> 18421Date: Mon Jul 24 15:52:00 2006 -0700 18422 18423 Add support for "make lint" to check code with lint/sparse/etc. 18424 18425commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 18426Author: Alan Coopersmith <alan.coopersmith@sun.com> 18427Date: Mon Jul 24 15:50:52 2006 -0700 18428 18429 ANSIfy some static function definitions 18430 18431commit 20b7abcaac324d90454de63f32f4a2b398e69e63 18432Author: Alan Coopersmith <alan.coopersmith@sun.com> 18433Date: Mon Jul 24 15:01:40 2006 -0700 18434 18435 Fix sparse warning: Using plain integer as NULL pointer 18436 18437commit d158ab29930513c4097f5b67e7bea08ed2bfd62c 18438Author: Alan Coopersmith <alan.coopersmith@sun.com> 18439Date: Mon Jul 24 14:00:24 2006 -0700 18440 18441 Remove unused variable 18442 18443commit 30377000375bdb958042dcb1f38503c94ef21eaf 18444Author: Eric Anholt <anholt@FreeBSD.org> 18445Date: Fri Jul 21 18:55:36 2006 -0400 18446 18447 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 18448 18449commit 4eba45879aea4e415ab550ee56b900d060099110 18450Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18451Date: Sun Jul 16 10:55:39 2006 +0200 18452 18453 set GIT_DIR=${srcdir}/.git for git-log 18454 18455commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 18456Author: Aaron Plattner <aplattner@nvidia.com> 18457Date: Tue Jul 11 13:27:49 2006 -0700 18458 18459 Add a .PHONY to ensure the ChangeLog isn't stale. 18460 18461 Setting the ChangeLog rule as phony forces it to be re-run even when the 18462 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 18463 Solaris make. 18464 (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 18465 18466commit b8a98809ed81e1226775e6447ef219ffc01334b5 18467Author: Aaron Plattner <aplattner@nvidia.com> 18468Date: Tue Jul 11 13:27:49 2006 -0700 18469 18470 Add a .PHONY to ensure the ChangeLog isn't stale. 18471 18472 Setting the ChangeLog rule as phony forces it to be re-run even when the 18473 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 18474 Solaris make. 18475 18476commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 18477Author: Mayank Jain <majain@redhat.com> 18478Date: Tue Jul 11 19:42:47 2006 +0100 18479 18480 add Indian language locales 18481 Add as, kn, ml, or, ur, and te locales. 18482 18483commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 18484Author: Matthias Hopf <mhopf@suse.de> 18485Date: Tue Jul 4 12:16:30 2006 +0200 18486 18487 Fix for autoconf 2.60 issue. 18488 18489 Updated AC_DEFINE_DIR. 18490 Reverted datarootdir change. 18491 18492commit 644f4828b15bce42b597eb123ba0bbc372c46c03 18493Author: Keith Packard <keithp@neko.keithp.com> 18494Date: Sat Jul 1 21:31:23 2006 -0700 18495 18496 Work around recent autoconf (2.59?) changes in directory expansion. 18497 18498 Recent autoconf versions have changed how directory names are managed in the 18499 configure.ac script; automatic 'eval' invocations now occur as a part of the 18500 AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 18501 before the variables are used in further macro definitions. Also, ${datadir} 18502 is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 18503 expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 18504 is easy to work around by just using ${datarootdir} instead of ${datadir}. 18505 18506commit be70a31229aa106aff0a09d78c00812682cd3475 18507Author: Keith Packard <keithp@neko.keithp.com> 18508Date: Sat Jul 1 01:56:05 2006 -0700 18509 18510 Xlib/XCB: handle 32-bit sequence wrap. 18511 18512 Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 18513 XCB). 18514 Account for XCB sequence 0 handling. 18515 18516commit 99c711707ad08e1396e123b1c7df687c560a489a 18517Author: Donnie Berkholz <spyderous@gentoo.org> 18518Date: Thu Jun 29 19:43:20 2006 -0700 18519 18520 Bump version to 1.0.3. 18521 18522commit cde3c0dd72af2b490e80cffca962e3487dd31be4 18523Author: Donnie Berkholz <spyderous@gentoo.org> 18524Date: Thu Jun 29 19:39:36 2006 -0700 18525 18526 Bug #7349: Missed one of the setuid fixes. 18527 (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 18528 18529commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 18530Author: Matthias Hopf <mhopf@suse.de> 18531Date: Thu Jun 29 18:59:57 2006 +0200 18532 18533 Update to final Compose cache directory location. 18534 (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 18535 18536commit 912ef198292d3053daa810f842510e5d62ded0f0 18537Author: Matthias Hopf <mhopf@suse.de> 18538Date: Thu Jun 29 17:41:41 2006 +0200 18539 18540 Fix alignment of trees and wide chars in the cache. 18541 (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 18542 18543commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 18544Author: Matthias Hopf <mhopf@suse.de> 18545Date: Wed Jun 28 19:17:03 2006 +0200 18546 18547 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 18548 (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 18549 18550commit e9614c963b532f46a7932c2305a4b177a996a222 18551Author: Donnie Berkholz <spyderous@gentoo.org> 18552Date: Thu Jun 29 19:39:36 2006 -0700 18553 18554 Bug #7349: Missed one of the setuid fixes. 18555 18556commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 18557Author: Matthias Hopf <mhopf@suse.de> 18558Date: Thu Jun 29 18:59:57 2006 +0200 18559 18560 Update to final Compose cache directory location. 18561 18562commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 18563Author: Matthias Hopf <mhopf@suse.de> 18564Date: Thu Jun 29 17:41:41 2006 +0200 18565 18566 Fix alignment of trees and wide chars in the cache. 18567 18568commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 18569Author: Matthias Hopf <mhopf@suse.de> 18570Date: Wed Jun 28 19:17:03 2006 +0200 18571 18572 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 18573 18574commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 18575Author: Donnie Berkholz <spyderous@gentoo.org> 18576Date: Thu Jun 22 23:59:03 2006 -0700 18577 18578 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 18579 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 18580 ChangeLog. 18581 (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 18582 18583commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 18584Author: Donnie Berkholz <donnie@comet.(none)> 18585Date: Thu Jun 22 23:47:38 2006 -0700 18586 18587 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 18588 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 18589 ChangeLog. 18590 18591commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 18592Author: Donnie Berkholz <donnie@comet.(none)> 18593Date: Thu Jun 22 15:47:38 2006 -0700 18594 18595 Bump version to 1.0.2. 18596 18597commit c93539d974a67f596a5eb5b65042d26602546c72 18598Author: Matthieu Herrb <matthieu@deville.herrb.com> 18599Date: Tue Jun 20 21:04:03 2006 +0200 18600 18601 Check setuid() return value. 18602 (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 18603 18604commit 605533f814ab7892991578706a6458f61a89ca4d 18605Author: Derek Wang <derek.wang@sun.com> 18606Date: Mon Jun 19 11:05:37 2006 -0700 18607 18608 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 18609 (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 18610 18611commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 18612Author: Scott Revelt <scott.revelt@sun.com> 18613Date: Fri Jun 16 19:11:13 2006 -0700 18614 18615 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 18616 based on locale that doesn't match those used in the Xcms.txt 18617 (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 18618 18619commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 18620Author: Alan Coopersmith <alanc@alf.(none)> 18621Date: Fri Jun 16 18:53:33 2006 -0700 18622 18623 Add *~ to ignore emacs droppings 18624 (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 18625 18626commit 214658b76b56768f69c3959a11525aae7813f448 18627Author: Matthias Hopf <mhopf@suse.de> 18628Date: Fri Jun 16 15:36:40 2006 +0200 18629 18630 Bug #3104: Compose table cache for faster X11 application starts. 18631 (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 18632 18633commit 13968a23aaea838ba4b69e42e8900f803499e091 18634Author: Matthias Hopf <mhopf@suse.de> 18635Date: Tue Jun 13 20:23:46 2006 +0200 18636 18637 Bug #3104: Compose table cache for faster X11 application starts. 18638 (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 18639 18640commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 18641Author: Lubos Lunak <llunak@suse.de> 18642Date: Mon Jun 12 18:48:08 2006 +0200 18643 18644 Bug #3104: Compose table cache for faster X11 application starts. 18645 (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 18646 18647commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 18648Author: Matthias Hopf <mhopf@suse.de> 18649Date: Fri Jun 9 18:24:02 2006 +0200 18650 18651 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. 18652 (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 18653 18654commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 18655Author: Jamey Sharp <jamey@minilop.net> 18656Date: Wed Jun 7 20:29:05 2006 -0700 18657 18658 Fix bug #7035: unnecessary memmove in XOpenDisplay. 18659 Using memmove on the connection setup data causes a problem for XCB, but making 18660 Xlib stop doing that should be harmless for non-XCB as well. 18661 (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 18662 18663commit cd7328c46ae72903ed02832828891b2dab4d5ee0 18664Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18665Date: Sat Jun 3 13:51:51 2006 +0300 18666 18667 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 18668 (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 18669 18670commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 18671Merge: 33556ca8 ad9ebbd2 18672Author: Donnie Berkholz <donnie@comet.(none)> 18673Date: Thu Jun 22 14:25:35 2006 -0700 18674 18675 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 18676 18677commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 18678Author: Daniel Stone <daniel@fooishbar.org> 18679Date: Thu Jun 22 17:20:59 2006 +0300 18680 18681 Bump to 1.0.99.0 to avoid confusion. 18682 18683commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 18684Merge: e3acee88 4b8eb5d4 18685Author: Daniel Stone <daniel@fooishbar.org> 18686Date: Thu Jun 22 16:53:45 2006 +0300 18687 18688 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 18689 18690commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 18691Merge: 5169d0e0 eff50c94 18692Author: Matthieu Herrb <matthieu@deville.herrb.com> 18693Date: Tue Jun 20 21:05:15 2006 +0200 18694 18695 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 18696 18697commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 18698Author: Matthieu Herrb <matthieu@deville.herrb.com> 18699Date: Tue Jun 20 21:04:03 2006 +0200 18700 18701 Check setuid() return value. 18702 18703commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 18704Author: Derek Wang <derek.wang@sun.com> 18705Date: Mon Jun 19 11:05:37 2006 -0700 18706 18707 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 18708 18709commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 18710Author: Scott Revelt <scott.revelt@sun.com> 18711Date: Fri Jun 16 19:11:13 2006 -0700 18712 18713 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 18714 based on locale that doesn't match those used in the Xcms.txt 18715 18716commit c33d7b8282ac196b36229be26442296768c16f3e 18717Author: Alan Coopersmith <alanc@alf.(none)> 18718Date: Fri Jun 16 18:53:33 2006 -0700 18719 18720 Add *~ to ignore emacs droppings 18721 18722commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 18723Author: Matthias Hopf <mhopf@suse.de> 18724Date: Fri Jun 16 15:36:40 2006 +0200 18725 18726 Bug #3104: Compose table cache for faster X11 application starts. 18727 18728commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 18729Author: Matthias Hopf <mhopf@suse.de> 18730Date: Tue Jun 13 20:23:46 2006 +0200 18731 18732 Bug #3104: Compose table cache for faster X11 application starts. 18733 18734commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 18735Author: Lubos Lunak <llunak@suse.de> 18736Date: Mon Jun 12 18:48:08 2006 +0200 18737 18738 Bug #3104: Compose table cache for faster X11 application starts. 18739 18740commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 18741Author: Matthias Hopf <mhopf@suse.de> 18742Date: Fri Jun 9 18:24:02 2006 +0200 18743 18744 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. 18745 18746commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 18747Author: Jamey Sharp <jamey@minilop.net> 18748Date: Wed Jun 7 20:29:05 2006 -0700 18749 18750 Fix bug #7035: unnecessary memmove in XOpenDisplay. 18751 Using memmove on the connection setup data causes a problem for XCB, but making 18752 Xlib stop doing that should be harmless for non-XCB as well. 18753 18754commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 18755Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18756Date: Sat Jun 3 12:57:55 2006 +0300 18757 18758 Bug #2186: Add cs_CZ.iso8859-2 alias. 18759 18760commit 9e7765e0b1cbaae6643072d91066ba1201b36227 18761Author: Daniel Stone <daniel@fooishbar.org> 18762Date: Fri Jun 2 02:46:29 2006 +0300 18763 18764 nls: Serbian (sr_CS) update (#5575) 18765 18766 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 18767 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 18768 and locale.dir.pre. (Milos Komarcevic) 18769 18770commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 18771Author: Daniel Stone <daniel@fooishbar.org> 18772Date: Fri Jun 2 02:24:25 2006 +0300 18773 18774 im: add Braille input method (#6296) 18775 18776 Bug #6296: Add a Braille input method. (Samuel Thibault) 18777 18778commit 90de1e2e141ec591048a76cb695579ef809a28d3 18779Author: Daniel Stone <daniel@fooishbar.org> 18780Date: Fri Jun 2 02:22:17 2006 +0300 18781 18782 xkb support: small typo 18783 18784commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 18785Author: Daniel Stone <daniel@fooishbar.org> 18786Date: Fri Jun 2 01:50:24 2006 +0300 18787 18788 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 18789 18790 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 18791 adding Unicode character names, removing duplicate entries, et al. 18792 18793commit 0c6473dd329c7334ae511884bcb6e73e632c784f 18794Author: Daniel Stone <daniel@fooishbar.org> 18795Date: Fri Jun 2 01:44:53 2006 +0300 18796 18797 nls: fix use of non-keysym dead_space (#5107) 18798 18799 Bug #5107: Change users of dead_space to space. 18800 18801commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 18802Author: Daniel Stone <daniel@fooishbar.org> 18803Date: Fri Jun 2 01:41:18 2006 +0300 18804 18805 optional XKB support fix 18806 18807 Fix compilation with --disable-xkb. 18808 18809commit 217d43ed44ced901122093af3ef1294e1736bb77 18810Author: Daniel Stone <daniel@fooishbar.org> 18811Date: Fri Jun 2 01:39:12 2006 +0300 18812 18813 i18n: separate data and lib directories 18814 18815 Break out locale data into separate data and library directories, under 18816 $(datadir) and $(libdir), respectively, by default. 18817 18818commit 92fa7fcde8df22830fca7c0275ab201033f7909c 18819Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18820Date: Thu May 11 14:04:48 2006 -0400 18821 18822 libXcursor.so.1, not libXcursor.so 18823 18824commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 18825Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18826Date: Wed May 10 18:06:03 2006 +0300 18827 18828 XKBMisc.c: use Xfree, not xfree 18829 18830 Use Xfree() instead of xfree() when freeing interps. 18831 18832commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 18833Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18834Date: Wed May 10 14:51:37 2006 +0300 18835 18836 locale.alias.pre: bg_BG typo fix 18837 18838 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 18839 18840commit cc533db60cb64dc163c66451933a9bf77c519062 18841Author: Daniel Stone <daniels@endtroducing.localdomain> 18842Date: Sun Apr 9 22:22:03 2006 +0300 18843 18844 Coverity #203, #204: Fix potential NULL dereferences. 18845 18846commit b83adf7dfd6157694fe4f232012fef36cd9666da 18847Author: Daniel Stone <daniels@endtroducing.localdomain> 18848Date: Sun Apr 9 22:20:25 2006 +0300 18849 18850 Coverity #205: Fix potential NULL dereference. 18851 18852commit 2d0cd10ad907864d0136739eaac459779c9a5332 18853Author: Daniel Stone <daniels@endtroducing.localdomain> 18854Date: Sun Apr 9 22:18:20 2006 +0300 18855 18856 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 18857 18858commit dc2f3966068d66a564aa452cab9f0c26657fa1df 18859Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18860Date: Fri Apr 7 18:11:52 2006 +0300 18861 18862 Coverity #826: Fix potential memory leak. 18863 18864commit 23df609ec451a01c77e8f31ecc85c5af7c62efed 18865Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18866Date: Fri Apr 7 17:49:41 2006 +0300 18867 18868 Bug #1625: Include keysym.h from Xutil.h. 18869 18870commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 18871Author: Eric Anholt <anholt@leguin.anholt.net> 18872Date: Wed Apr 5 17:12:15 2006 -0700 18873 18874 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 18875 18876 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 18877 of Coverity #599, #600. 18878 18879commit 8b42635f577468bb143ca593cdd9fb3450ad712c 18880Author: Eric Anholt <anholt@leguin.anholt.net> 18881Date: Wed Apr 5 16:42:26 2006 -0700 18882 18883 Coverity #558: Free newly-allocated Database in error path. 18884 18885commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 18886Author: Eric Anholt <anholt@leguin.anholt.net> 18887Date: Wed Apr 5 16:38:52 2006 -0700 18888 18889 Coverity #582: Free newly-allocated region in error path. 18890 18891commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 18892Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18893Date: Fri Mar 17 15:58:39 2006 +0200 18894 18895 Properly clip bounds when only one point is defining an outline. 18896 18897commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 18898Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 18899Date: Sat Mar 11 15:39:15 2006 +0100 18900 18901 Fix prototype of XConfigureWindow(). Bugzilla #6023. 18902 18903commit 1da8bd904f1fc79d63d368473531b438d08bfe37 18904Author: Jeremy C. Reed <reed@reedmedia.net> 18905Date: Tue Feb 21 14:10:22 2006 -0800 18906 18907 Set XTHREADLIB correctly for dragonfly platforms. 18908 18909commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 18910Author: Jamey Sharp <jamey@minilop.net> 18911Date: Sun Feb 19 12:29:27 2006 -0800 18912 18913 Update .gitignores for *.o and nls/locale.dir*. 18914 18915commit efcbde6ba0b770bb0d4c7818e307712161011f10 18916Author: Jamey Sharp <jamey@minilop.net> 18917Date: Sun Feb 19 12:28:41 2006 -0800 18918 18919 Move .cvsignore to .gitignore. 18920 18921commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 18922Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18923Date: Sat Jun 3 13:51:51 2006 +0300 18924 18925 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 18926 18927commit f1bd3152359ddfadd0d043006036c239f3e2907b 18928Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18929Date: Sat Jun 3 12:57:55 2006 +0300 18930 18931 Bug #2186: Add cs_CZ.iso8859-2 alias. 18932 18933commit 2b1b79d90db1d7f0472718b8c010c36275994195 18934Author: Daniel Stone <daniel@fooishbar.org> 18935Date: Fri Jun 2 02:46:29 2006 +0300 18936 18937 nls: Serbian (sr_CS) update (#5575) 18938 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 18939 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 18940 and locale.dir.pre. (Milos Komarcevic) 18941 18942commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 18943Author: Daniel Stone <daniel@fooishbar.org> 18944Date: Fri Jun 2 02:24:25 2006 +0300 18945 18946 im: add Braille input method (#6296) 18947 Bug #6296: Add a Braille input method. (Samuel Thibault) 18948 18949commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 18950Author: Daniel Stone <daniel@fooishbar.org> 18951Date: Fri Jun 2 02:22:17 2006 +0300 18952 18953 xkb support: small typo 18954 18955commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 18956Author: Daniel Stone <daniel@fooishbar.org> 18957Date: Fri Jun 2 01:50:24 2006 +0300 18958 18959 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 18960 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 18961 adding Unicode character names, removing duplicate entries, et al. 18962 18963commit 332d45fce9fdbf59168d90a133af1f580a589e54 18964Author: Daniel Stone <daniel@fooishbar.org> 18965Date: Fri Jun 2 01:44:53 2006 +0300 18966 18967 nls: fix use of non-keysym dead_space (#5107) 18968 Bug #5107: Change users of dead_space to space. 18969 18970commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 18971Author: Daniel Stone <daniel@fooishbar.org> 18972Date: Fri Jun 2 01:41:18 2006 +0300 18973 18974 optional XKB support fix 18975 Fix compilation with --disable-xkb. 18976 18977commit c5940a0b85edec4003f91a59fc3c44f538accfe1 18978Author: Daniel Stone <daniel@fooishbar.org> 18979Date: Fri Jun 2 01:39:12 2006 +0300 18980 18981 i18n: separate data and lib directories 18982 Break out locale data into separate data and library directories, under 18983 $(datadir) and $(libdir), respectively, by default. 18984 18985commit 33556ca81db2419b9d2a37664c4cea2069414b37 18986Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18987Date: Fri May 12 14:49:17 2006 -0400 18988 18989 Bump to 1.0.1 18990 18991commit 80d88557626fae9debc404de33d7fb5d69a6049d 18992Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18993Date: Thu May 11 14:06:28 2006 -0400 18994 18995 libXcursor.so.1, not libXcursor.so 18996 18997commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 18998Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18999Date: Thu May 11 14:04:48 2006 -0400 19000 19001 libXcursor.so.1, not libXcursor.so 19002 19003commit 01f4d433eed6b70c6e9636157acac022054fdeb6 19004Author: Jamey Sharp <jamey@minilop.net> 19005Date: Wed May 10 17:02:52 2006 -0700 19006 19007 Count any partial request towards the current Xlib sequence number. 19008 19009commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 19010Author: Daniel Stone <daniels@preemptive.fooishbar.org> 19011Date: Wed May 10 18:06:03 2006 +0300 19012 19013 XKBMisc.c: use Xfree, not xfree 19014 Use Xfree() instead of xfree() when freeing interps. 19015 19016commit 22a5255b80b80772612279bc840a953edd0e3442 19017Author: Daniel Stone <daniels@preemptive.fooishbar.org> 19018Date: Wed May 10 14:51:37 2006 +0300 19019 19020 locale.alias.pre: bg_BG typo fix 19021 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 19022 19023commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 19024Merge: 19b8840a e514bc87 19025Author: Daniel Stone <daniels@preemptive.fooishbar.org> 19026Date: Wed May 10 14:50:37 2006 +0300 19027 19028 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 19029 19030commit e514bc875f27f4bf197b06b8315eeca526195915 19031Author: Jamey Sharp <jamey@minilop.net> 19032Date: Tue May 9 12:41:59 2006 -0700 19033 19034 Assert that dpy->request does not go backwards. Catches #5839 earlier. 19035 19036commit fc1159137365a599bf611ee001f439416952c4e0 19037Author: Jamey Sharp <jamey@minilop.net> 19038Date: Sun May 7 17:40:01 2006 -0700 19039 19040 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 19041 19042commit c394480a4247213239822808e3f6e7c6cd6decd9 19043Author: Jamey Sharp <jamey@minilop.net> 19044Date: Sun May 7 16:58:13 2006 -0700 19045 19046 Update for XCB ConnSetupSuccessRep name change. 19047 19048commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 19049Author: Daniel Stone <daniels@endtroducing.localdomain> 19050Date: Sun Apr 9 22:22:03 2006 +0300 19051 19052 Coverity #203, #204: Fix potential NULL dereferences. 19053 19054commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 19055Author: Daniel Stone <daniels@endtroducing.localdomain> 19056Date: Sun Apr 9 22:20:25 2006 +0300 19057 19058 Coverity #205: Fix potential NULL dereference. 19059 19060commit b6771501feea98d037032f82117b6d4f15779f07 19061Author: Daniel Stone <daniels@endtroducing.localdomain> 19062Date: Sun Apr 9 22:18:20 2006 +0300 19063 19064 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 19065 19066commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 19067Author: Daniel Stone <daniels@preemptive.research.nokia.com> 19068Date: Fri Apr 7 18:11:52 2006 +0300 19069 19070 Coverity #826: Fix potential memory leak. 19071 19072commit 3a16f262abe48b44ed641525e894bc22e13bf72a 19073Author: Daniel Stone <daniels@preemptive.research.nokia.com> 19074Date: Fri Apr 7 17:49:41 2006 +0300 19075 19076 Bug #1625: Include keysym.h from Xutil.h. 19077 19078commit 2481b767ae96e2f2503c0390545932c8397b090f 19079Author: Eric Anholt <anholt@leguin.anholt.net> 19080Date: Wed Apr 5 17:12:15 2006 -0700 19081 19082 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 19083 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 19084 of Coverity #599, #600. 19085 19086commit 152b17e47d878c2d928eb74581aa69d925a29123 19087Author: Eric Anholt <anholt@leguin.anholt.net> 19088Date: Wed Apr 5 16:42:26 2006 -0700 19089 19090 Coverity #558: Free newly-allocated Database in error path. 19091 19092commit bc62b99ef36edb34035911c42104be7f6f9d2333 19093Author: Eric Anholt <anholt@leguin.anholt.net> 19094Date: Wed Apr 5 16:38:52 2006 -0700 19095 19096 Coverity #582: Free newly-allocated region in error path. 19097 19098commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 19099Author: Jamey Sharp <jamey@minilop.net> 19100Date: Fri Mar 31 22:53:07 2006 -0800 19101 19102 Fix buggy interaction with XCB when running out of XIDs. 19103 19104commit e3f452571824d6a875bbf582946de185de9e01e9 19105Author: Jamey Sharp <jamey@minilop.net> 19106Date: Fri Mar 31 22:52:14 2006 -0800 19107 19108 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 19109 19110commit 2363b74ca795c1b3a73c9e572532ba5191adec5b 19111Author: Daniel Stone <daniels@preemptive.research.nokia.com> 19112Date: Fri Mar 17 15:58:39 2006 +0200 19113 19114 Properly clip bounds when only one point is defining an outline. 19115 19116commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 19117Merge: be266b20 f71ea0bc 19118Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 19119Date: Sat Mar 11 15:40:35 2006 +0100 19120 19121 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 19122 19123commit be266b201dc13530a302a7572283ccd3f32aad87 19124Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 19125Date: Sat Mar 11 15:39:15 2006 +0100 19126 19127 Fix prototype of XConfigureWindow(). Bugzilla #6023. 19128 19129commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 19130Author: Jamey Sharp <jamey@minilop.net> 19131Date: Fri Mar 3 11:08:41 2006 -0800 19132 19133 Update for XCBSendRequest sequence number API changes. 19134 19135commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 19136Author: Jamey Sharp <jamey@minilop.net> 19137Date: Fri Mar 3 01:42:49 2006 -0800 19138 19139 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 19140 19141commit d8ba4ae7045b227f8b675628b9094dded02f1c08 19142Author: Jamey Sharp <jamey@minilop.net> 19143Date: Thu Mar 2 23:43:26 2006 -0800 19144 19145 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 19146 19147commit f9afb5a54435c30961306080e9358d4240ecb844 19148Author: Jamey Sharp <jamey@minilop.net> 19149Date: Thu Mar 2 23:34:19 2006 -0800 19150 19151 assert() that we will not infinite loop or read uninitialized memory. 19152 19153commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 19154Author: Jamey Sharp <jamey@minilop.net> 19155Date: Thu Mar 2 15:58:52 2006 -0800 19156 19157 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 19158 19159commit fb590c15a740264ee867d15a2547072e43b21eed 19160Author: Jamey Sharp <jamey@minilop.net> 19161Date: Thu Mar 2 12:06:04 2006 -0800 19162 19163 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 19164 19165commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 19166Author: Jamey Sharp <jamey@minilop.net> 19167Date: Mon Feb 27 11:51:47 2006 -0800 19168 19169 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 19170 19171commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 19172Author: Jamey Sharp <jamey@minilop.net> 19173Date: Sun Feb 26 15:46:01 2006 -0800 19174 19175 Update for new XCBSendRequest API. 19176 19177commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 19178Author: Jamey Sharp <jamey@minilop.net> 19179Date: Thu Feb 23 18:12:31 2006 -0800 19180 19181 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 19182 19183commit ec30a27341b97620b07dd886f98d1d7664a67685 19184Author: Jamey Sharp <jamey@minilop.net> 19185Date: Thu Feb 23 18:01:46 2006 -0800 19186 19187 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 19188 19189commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 19190Author: Jamey Sharp <jamey@minilop.net> 19191Date: Thu Feb 23 11:46:09 2006 -0800 19192 19193 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. 19194 19195commit 41c0121a8718b530feaf7fe315b673d9b8defce2 19196Author: Jamey Sharp <jamey@minilop.net> 19197Date: Tue Feb 21 21:25:41 2006 -0800 19198 19199 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 19200 19201commit 67d06e0fe468dca22847aa14d3f917128f89f9cf 19202Author: Jamey Sharp <jamey@minilop.net> 19203Date: Tue Feb 21 15:33:05 2006 -0800 19204 19205 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 19206 19207commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 19208Author: Jeremy C. Reed <reed@reedmedia.net> 19209Date: Tue Feb 21 14:10:22 2006 -0800 19210 19211 Set XTHREADLIB correctly for dragonfly platforms. 19212 19213commit b24834762e975bd319f9ab5c7cf790b2a02a9474 19214Author: Jamey Sharp <jamey@minilop.net> 19215Date: Tue Feb 21 14:03:26 2006 -0800 19216 19217 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 19218 19219commit 99b8defd0d5e6993071e21638128c9de2574b37d 19220Author: Jamey Sharp <jamey@minilop.net> 19221Date: Tue Feb 21 13:04:21 2006 -0800 19222 19223 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 19224 Traditional Xlib worked this way; I dunno why I changed it. 19225 19226commit 9b01e7849775749182052fe324df9d8e6ceeee99 19227Author: Jamey Sharp <jamey@minilop.net> 19228Date: Tue Feb 21 12:51:44 2006 -0800 19229 19230 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 19231 19232commit 7ce7ac882de128955751a5307889db9d712d8a72 19233Author: Jamey Sharp <jamey@minilop.net> 19234Date: Tue Feb 21 12:44:30 2006 -0800 19235 19236 Quit using a triple-pointer. Almost as if I were a sensible person. 19237 19238commit 35a858be218cdbfa4593d44a67663d5c25297016 19239Author: Jamey Sharp <jamey@minilop.net> 19240Date: Tue Feb 21 12:21:01 2006 -0800 19241 19242 Remove the XCL_PAD macro. 19243 19244commit e741b70ed2542c5463c57dac44bc37328616733b 19245Author: Jamey Sharp <jamey@minilop.net> 19246Date: Sun Feb 19 12:29:27 2006 -0800 19247 19248 Update .gitignores for *.o and nls/locale.dir*. 19249 19250commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 19251Author: Jamey Sharp <jamey@minilop.net> 19252Date: Sun Feb 19 12:28:41 2006 -0800 19253 19254 Move .cvsignore to .gitignore. 19255 19256commit c7cda56eebaf6ab11403363be14d4948d7d8be38 19257Author: Jamey Sharp <jamey@minilop.net> 19258Date: Sun Feb 19 11:49:15 2006 -0800 19259 19260 Land XCB support on X.org HEAD. 19261 19262commit 881467b3032261791ef5ec61b3879bb68d0a3d8c 19263Author: Jamey Sharp <jamey@minilop.net> 19264Date: Sun Feb 19 02:14:11 2006 +0000 19265 19266 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 19267 19268commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 19269Author: Jamey Sharp <jamey@minilop.net> 19270Date: Tue Feb 14 19:37:36 2006 +0000 19271 19272 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. 19273 19274commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 19275Author: Alan Coopersmith <alan.coopersmith@sun.com> 19276Date: Sun Feb 12 18:19:17 2006 +0000 19277 19278 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 19279 19280commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 19281Author: Alan Coopersmith <alan.coopersmith@sun.com> 19282Date: Fri Feb 3 23:34:43 2006 +0000 19283 19284 Fix typo in .TH line 19285 19286commit b091c217f3c3f60dde78b09a95c150df6c83d7ba 19287Author: Kevin E Martin <kem@kem.org> 19288Date: Thu Dec 15 00:24:28 2005 +0000 19289 19290 Update package version number for final X11R7 release candidate. 19291 19292commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 19293Author: Kevin E Martin <kem@kem.org> 19294Date: Tue Dec 6 22:48:41 2005 +0000 19295 19296 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 19297 19298commit b5c495854d5270e64e6d588388ffa906bfcaac22 19299Author: Kevin E Martin <kem@kem.org> 19300Date: Sat Dec 3 05:49:42 2005 +0000 19301 19302 Update package version number for X11R7 RC3 release. 19303 19304commit 9e96dbc343c7f27ff47607acd75378ab23903e2a 19305Author: Kevin E Martin <kem@kem.org> 19306Date: Sat Dec 3 04:41:47 2005 +0000 19307 19308 Add check and cflags for malloc(0) returning NULL. 19309 19310commit 649c37b47909620ccafde3e983de8321cddd74ce 19311Author: Alan Coopersmith <alan.coopersmith@sun.com> 19312Date: Mon Nov 28 22:03:04 2005 +0000 19313 19314 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) 19315 19316commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 19317Author: Alan Coopersmith <alan.coopersmith@sun.com> 19318Date: Wed Nov 23 22:33:06 2005 +0000 19319 19320 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 19321 19322commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 19323Author: Eric Anholt <anholt@freebsd.org> 19324Date: Sun Nov 20 23:17:39 2005 +0000 19325 19326 Add/improve libs .cvsignores. 19327 19328commit fa1f4a08112bfa14d3758f4702733dd3892966c3 19329Author: Kevin E Martin <kem@kem.org> 19330Date: Sat Nov 19 07:15:39 2005 +0000 19331 19332 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 19333 19334commit 7012f9b56c594cf40855ba0dbf93af1263417a8c 19335Author: Kevin E Martin <kem@kem.org> 19336Date: Mon Nov 14 21:51:07 2005 +0000 19337 19338 Fix xf86bigfont pkgconfig dep typo. 19339 19340commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 19341Author: Kevin E Martin <kem@kem.org> 19342Date: Wed Nov 9 21:19:12 2005 +0000 19343 19344 Update package version number for X11R7 RC2 release. 19345 19346commit 6bb0c3796b6e1beddc376a896e865704886e1462 19347Author: Kean Johnson <kean@armory.com> 19348Date: Tue Nov 8 06:33:25 2005 +0000 19349 19350 See ChangeLog entry 2005-11-07 for details. 19351 19352commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 19353Author: Kevin E Martin <kem@kem.org> 19354Date: Tue Nov 1 15:11:50 2005 +0000 19355 19356 Update pkgcheck dependencies to work with separate build roots. 19357 19358commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 19359Author: Donnie Berkholz <spyderous@gentoo.org> 19360Date: Fri Oct 28 10:44:03 2005 +0000 19361 19362 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 19363 19364commit be627a39fe373e2e81fdc263780e70a271d9e0c5 19365Author: Donnie Berkholz <spyderous@gentoo.org> 19366Date: Fri Oct 28 08:28:08 2005 +0000 19367 19368 Add dependency on inputproto for XI.h. 19369 19370commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 19371Author: Adam Jackson <ajax@nwnk.net> 19372Date: Fri Oct 21 18:44:24 2005 +0000 19373 19374 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 19375 19376commit 1171fa9dc77413f0e90933a565ec07068052afb4 19377Author: Kevin E Martin <kem@kem.org> 19378Date: Wed Oct 19 02:48:08 2005 +0000 19379 19380 Update package version number for RC1 release. 19381 19382commit 2a2d905706308b9d5a1c16af1067fb390f43850c 19383Author: Alan Coopersmith <alan.coopersmith@sun.com> 19384Date: Tue Oct 18 00:00:08 2005 +0000 19385 19386 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 19387 19388commit 66d35b6971fb26762392a2a8e2c47db46c11116a 19389Author: Alan Coopersmith <alan.coopersmith@sun.com> 19390Date: Mon Oct 17 21:13:15 2005 +0000 19391 19392 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 19393 19394commit a316995a17c084e98ef1b7f25d287c2c08b6d749 19395Author: Donnie Berkholz <spyderous@gentoo.org> 19396Date: Sun Oct 16 03:03:35 2005 +0000 19397 19398 Change '==' to portable '='. 19399 19400commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 19401Author: Alan Coopersmith <alan.coopersmith@sun.com> 19402Date: Wed Oct 12 00:04:50 2005 +0000 19403 19404 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 19405 19406commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 19407Author: Eric Anholt <anholt@freebsd.org> 19408Date: Tue Oct 11 02:18:36 2005 +0000 19409 19410 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 19411 19412commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 19413Author: Alan Coopersmith <alan.coopersmith@sun.com> 19414Date: Sun Oct 9 22:28:39 2005 +0000 19415 19416 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 19417 19418commit 91ed79852e790049ab54e68f288afb3c953194c9 19419Author: Kevin E Martin <kem@kem.org> 19420Date: Fri Oct 7 15:00:00 2005 +0000 19421 19422 Clean up generated files 19423 Add missing dist tarball files 19424 19425commit 440399b470c97b159a530602fff11c315aca8d97 19426Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19427Date: Wed Oct 5 18:27:10 2005 +0000 19428 19429 Add el_GR.UTF-8 compose file 19430 19431commit 010f0647e25ac617d0f92c8d2b8dda684da545db 19432Author: Daniel Stone <daniel@fooishbar.org> 19433Date: Fri Sep 30 07:52:46 2005 +0000 19434 19435 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 19436 19437commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 19438Author: Daniel Stone <daniel@fooishbar.org> 19439Date: Fri Sep 30 07:47:55 2005 +0000 19440 19441 Bug #1640: Kinyarwanda locale support. (Steve Murphy) 19442 19443commit 4ae0decabe0960870df0ec165f495166c10a053c 19444Author: Daniel Stone <daniel@fooishbar.org> 19445Date: Fri Sep 30 07:40:03 2005 +0000 19446 19447 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 19448 19449commit 3f79eb4c99844f618f1889741d1631c2ffe5385f 19450Author: Daniel Stone <daniel@fooishbar.org> 19451Date: Fri Sep 30 07:11:19 2005 +0000 19452 19453 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. 19454 19455commit d1237d1483ff972c76a0ac344ec97d5280db0007 19456Author: Alan Coopersmith <alan.coopersmith@sun.com> 19457Date: Thu Sep 29 21:27:12 2005 +0000 19458 19459 Add Xcms.txt to lib/X11 19460 19461commit 4a86f299693f7376cbe98175f0b0c44d691802b3 19462Author: Alan Coopersmith <alan.coopersmith@sun.com> 19463Date: Sat Sep 24 20:11:06 2005 +0000 19464 19465 Add XQueryExtension.man 19466 19467commit a057a66e2041d45198a13a4ece7c07068f76f21b 19468Author: Alan Coopersmith <alan.coopersmith@sun.com> 19469Date: Sat Sep 24 00:16:32 2005 +0000 19470 19471 Add XTHREAD_CFLAGS for platforms that need special defines like 19472 -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 19473 19474commit 3e920a65a7c376ad63eae2240fd06904d25d18bf 19475Author: Alan Coopersmith <alan.coopersmith@sun.com> 19476Date: Fri Sep 2 23:00:30 2005 +0000 19477 19478 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 19479 19480commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 19481Author: Kristian Høgsberg <krh@redhat.com> 19482Date: Thu Sep 1 19:24:13 2005 +0000 19483 19484 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 19485 19486commit 7afa64325183b78d2d6a4862821f8b3e9866105c 19487Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19488Date: Sun Aug 28 19:45:48 2005 +0000 19489 19490 OpenBSD needs -lpthread for threaded applications too. 19491 19492commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 19493Author: Daniel Stone <daniel@fooishbar.org> 19494Date: Fri Aug 26 05:16:46 2005 +0000 19495 19496 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 19497 19498commit 07066da0902df91c71f2adb81d1a17ec29165553 19499Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19500Date: Sun Aug 21 15:45:04 2005 +0000 19501 19502 update 19503 19504commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 19505Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19506Date: Sun Aug 21 15:38:39 2005 +0000 19507 19508 Threads support for BSD systems: 19509 - need to check for gewtpwuid_r to define mtsafeapi 19510 - build UIThrstubs if needed. 19511 19512commit 60217fdb918bafb2082519efe5cba3b13ad3082a 19513Author: Adam Jackson <ajax@nwnk.net> 19514Date: Wed Aug 17 19:46:08 2005 +0000 19515 19516 Add xthreadlib variable to x11.pc. Bump to 0.99.1. 19517 19518commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 19519Author: Alan Coopersmith <alan.coopersmith@sun.com> 19520Date: Wed Aug 17 01:27:08 2005 +0000 19521 19522 Fix more broken multi-line .ds macros. Remove extraneous ;'s . 19523 19524commit 1909786f4a7d686369edcfc05a938df115fab37c 19525Author: Alan Coopersmith <alan.coopersmith@sun.com> 19526Date: Tue Aug 16 19:23:15 2005 +0000 19527 19528 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) 19529 19530commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 19531Author: Alan Coopersmith <alan.coopersmith@sun.com> 19532Date: Mon Aug 15 19:53:37 2005 +0000 19533 19534 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 19535 19536commit 5bb43de17de8e71d967488a713bf2b3448533444 19537Author: Alan Coopersmith <alan.coopersmith@sun.com> 19538Date: Sat Aug 6 18:59:49 2005 +0000 19539 19540 Typo fix in output message 19541 19542commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 19543Author: Alan Coopersmith <alan.coopersmith@sun.com> 19544Date: Thu Aug 4 02:55:49 2005 +0000 19545 19546 //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) 19547 19548commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 19549Author: Alan Coopersmith <alan.coopersmith@sun.com> 19550Date: Thu Aug 4 02:51:30 2005 +0000 19551 19552 //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) 19553 19554commit 34b454df192f4563499c453ccdb8c079f4a20cbe 19555Author: Alan Coopersmith <alan.coopersmith@sun.com> 19556Date: Sat Jul 30 20:30:46 2005 +0000 19557 19558 Include config.h so Xtrans knows which transport types to build code for 19559 19560commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 19561Author: Alan Coopersmith <alan.coopersmith@sun.com> 19562Date: Sat Jul 30 19:15:16 2005 +0000 19563 19564 Add -D flags to clear various warnings (Stefan Dirsch) 19565 19566commit e7fef67b4531faddd805d8f2157903006d3117ed 19567Author: Kevin E Martin <kem@kem.org> 19568Date: Fri Jul 29 21:22:50 2005 +0000 19569 19570 Various changes preparing packages for RC0: 19571 - Verify and update package version numbers as needed 19572 - Implement versioning scheme 19573 - Change bug address to point to bugzilla bug entry form 19574 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 19575 - Fix makedepend to use pkgconfig and pass distcheck 19576 - Update build script to build macros first 19577 - Update modular Xorg version 19578 19579commit 2ebb00244928237088e68325b1032b3550455ce9 19580Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19581Date: Sat Jul 23 20:19:31 2005 +0000 19582 19583 remove orphan TAB at begin of line 19584 19585commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 19586Author: Kevin E Martin <kem@kem.org> 19587Date: Sat Jul 23 18:09:39 2005 +0000 19588 19589 Modify modular libs to use Xregion.h instead of region.h 19590 19591commit 6d635a88d91647b1b63611c3591f74916f88cd1c 19592Author: Kevin E Martin <kem@kem.org> 19593Date: Sat Jul 23 18:06:16 2005 +0000 19594 19595 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 19596 19597commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 19598Author: Daniel Stone <daniel@fooishbar.org> 19599Date: Sat Jul 16 06:25:35 2005 +0000 19600 19601 Set soversion to 6.2.0. 19602 19603commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 19604Author: Keith Packard <keithp@keithp.com> 19605Date: Fri Jul 15 04:27:32 2005 +0000 19606 19607 Add missing Makefile.am to lib/X11/modules 19608 19609commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 19610Author: Keith Packard <keithp@keithp.com> 19611Date: Fri Jul 15 04:08:51 2005 +0000 19612 19613 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 19614 Link i18n modules against xlib to resolve Xlib symbols used by them. 19615 19616commit 45f40126a73295345bb5eb187b1167874842ab6e 19617Author: Alexander Gottwald <ago@freedesktop.org> 19618Date: Thu Jul 14 19:50:00 2005 +0000 19619 19620 Add $(top_srcdir)/src to include list 19621 19622commit 0aed7d91f5928d09d541617aad03709b5090658d 19623Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19624Date: Thu Jul 14 17:04:49 2005 +0000 19625 19626 Build fix for non-GNU make. 19627 19628commit b79422ccb02ab44548d1038956ab0cd4e2638645 19629Author: Adam Jackson <ajax@nwnk.net> 19630Date: Thu Jul 14 15:12:44 2005 +0000 19631 19632 typo fixes (Matthieu Herrb) 19633 19634commit 419304cde2fda19457c667870edefc0b227651b3 19635Author: Alan Coopersmith <alan.coopersmith@sun.com> 19636Date: Wed Jul 13 02:41:36 2005 +0000 19637 19638 Add missing backslashes to xlocale_la_SOURCES 19639 19640commit d14cc5c8964c4539b57c6cb51ef653292e410b79 19641Author: Keith Packard <keithp@keithp.com> 19642Date: Mon Jul 11 20:32:55 2005 +0000 19643 19644 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 19645 19646commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 19647Author: Lars Knoll <lars@trolltech.com> 19648Date: Mon Jul 11 15:24:32 2005 +0000 19649 19650 compile 19651 19652commit de9784eb1bde46efc316da279e3da27c6cc288a7 19653Author: Keith Packard <keithp@keithp.com> 19654Date: Mon Jul 11 09:26:40 2005 +0000 19655 19656 Ignore built man page files 19657 19658commit 0c258c36d1523113790c599b16d2947d7aa6469a 19659Author: Keith Packard <keithp@keithp.com> 19660Date: Mon Jul 11 09:18:31 2005 +0000 19661 19662 Minor changes to help modular Xlib build i18n modules 19663 19664commit 6e752ea1203b786423e40f43340bce15ca3de0f0 19665Author: Keith Packard <keithp@keithp.com> 19666Date: Mon Jul 11 08:29:18 2005 +0000 19667 19668 Enable loadable i18n modules, making them configurable on the configure command line. 19669 Clean up conditionals for XKB, XCMS, XLOCALEDIR 19670 Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 19671 Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 19672 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. 19673 Display message at end of configure script with selected options. 19674 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. 19675 19676commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 19677Author: Daniel Stone <daniel@fooishbar.org> 19678Date: Sun Jul 10 22:37:33 2005 +0000 19679 19680 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 19681 19682commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 19683Author: Alan Coopersmith <alan.coopersmith@sun.com> 19684Date: Sat Jul 9 20:06:04 2005 +0000 19685 19686 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 19687 19688commit 3939ac4410446b46071c9d714f4270c12bf904fe 19689Author: Alan Coopersmith <alan.coopersmith@sun.com> 19690Date: Sat Jul 9 18:44:14 2005 +0000 19691 19692 - 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 19693 - Don't assume $(CPP) can take gcc-only -traditional flag 19694 - CPP process man pages as is done in the monolithic tree 19695 19696commit 19ba9d0df86c688319377467254b9ea9c4b0eccc 19697Author: Keith Packard <keithp@keithp.com> 19698Date: Sat Jul 9 06:01:49 2005 +0000 19699 19700 Clean up .cvsignore files 19701 19702commit f4bba6fa9b9ce637be7662754750054567e9250a 19703Author: Adam Jackson <ajax@nwnk.net> 19704Date: Sat Jul 9 02:53:29 2005 +0000 19705 19706 typo fix. i suck. 19707 19708commit 3305da61a61695e24c1ea11d3f59dddb52873d47 19709Author: Adam Jackson <ajax@nwnk.net> 19710Date: Sat Jul 9 02:41:18 2005 +0000 19711 19712 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 19713 19714commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 19715Author: Keith Packard <keithp@keithp.com> 19716Date: Fri Jul 8 07:11:56 2005 +0000 19717 19718 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 19719 19720commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 19721Author: Keith Packard <keithp@keithp.com> 19722Date: Fri Jul 8 06:57:06 2005 +0000 19723 19724 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. 19725 Add a bunch of .cvsignore files 19726 19727commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 19728Author: Chris Less <clee@c133.org> 19729Date: Mon Jul 4 23:01:48 2005 +0000 19730 19731 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 19732 19733commit 55328bb6caabd37885cd19d7a5821ed425daf321 19734Author: Eric Anholt <anholt@freebsd.org> 19735Date: Sun Jul 3 10:17:38 2005 +0000 19736 19737 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 19738 19739commit 726538ba21b631bfb0b8094a5546acdaf57379ff 19740Author: Daniel Stone <daniel@fooishbar.org> 19741Date: Sun Jul 3 07:37:33 2005 +0000 19742 19743 Fix more include paths; add dix-config.h to XKB code. 19744 19745commit 8c7677138e70e14eca0255f2168583f0ecc21994 19746Author: Daniel Stone <daniel@fooishbar.org> 19747Date: Sun Jul 3 07:00:55 2005 +0000 19748 19749 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 19750 Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 19751 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>. 19752 19753commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 19754Author: Daniel Stone <daniel@fooishbar.org> 19755Date: Fri Jul 1 22:13:35 2005 +0000 19756 19757 Fix objdir != srcdir, as well as make distcheck. 19758 Don't attempt to create Compose.pre files; formatting fixes. 19759 Added if not already present. 19760 19761commit c162d60ad8f124563f94a2a266de59373936266c 19762Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19763Date: Wed Jun 22 22:46:31 2005 +0000 19764 19765 Apply these patches from Theo van Klaveren: 19766 lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 19767 to make the libraries distcheck. 19768 19769commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 19770Author: Alan Coopersmith <alan.coopersmith@sun.com> 19771Date: Sat Jun 18 07:48:43 2005 +0000 19772 19773 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 19774 19775commit 12afc57b7d455781eee305e9ed6a899ceec8729e 19776Author: Daniel Stone <daniel@fooishbar.org> 19777Date: Wed Jun 15 16:50:47 2005 +0000 19778 19779 Typo fix to locale/error/keysym location declarations. 19780 19781commit 9a895777e30762f61b98d25be3b5d8b1169baa17 19782Author: Daniel Stone <daniel@fooishbar.org> 19783Date: Wed Jun 15 13:37:43 2005 +0000 19784 19785 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 19786 19787commit add49285663684875ab7a5c58ec7a2cf8b775f67 19788Author: Daniel Stone <daniel@fooishbar.org> 19789Date: Wed Jun 15 13:32:35 2005 +0000 19790 19791 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 19792 Move ImUtil.h from src/ to include/X11/. 19793 19794commit 845dfc6b42b950890866ee4df27761e086f50dca 19795Author: Daniel Stone <daniel@fooishbar.org> 19796Date: Wed Jun 15 13:27:48 2005 +0000 19797 19798 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 19799 19800commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 19801Author: Daniel Stone <daniel@fooishbar.org> 19802Date: Fri Jun 10 14:11:36 2005 +0000 19803 19804 Remove pointless include of Xlib.h. 19805 Fix #include path to bigreqstr.h. 19806 19807commit 1a0de49da1274882bab05b0f7240936b37955e5c 19808Author: Alexander Gottwald <ago@freedesktop.org> 19809Date: Thu Jun 9 21:30:15 2005 +0000 19810 19811 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 19812 19813commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 19814Author: Alexander Gottwald <ago@freedesktop.org> 19815Date: Thu Jun 9 15:55:33 2005 +0000 19816 19817 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 19818 19819commit fd5f58e0baf692e34b9b622286f18762cc2500d3 19820Author: Alexander Gottwald <ago@freedesktop.org> 19821Date: Thu Jun 9 15:52:02 2005 +0000 19822 19823 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 19824 Copy Xtrans.h to exports/include/X11/Xtrans only 19825 19826commit 44538f9940f969d46c0e5e4b201c684cde2ba611 19827Author: Alan Coopersmith <alan.coopersmith@sun.com> 19828Date: Sun Jun 5 03:29:33 2005 +0000 19829 19830 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 19831 19832commit 588e30e9ec65fa6205a34be650b79d5e2243edec 19833Author: Alan Coopersmith <alan.coopersmith@sun.com> 19834Date: Sat Jun 4 22:53:21 2005 +0000 19835 19836 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 19837 19838commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 19839Author: Alan Coopersmith <alan.coopersmith@sun.com> 19840Date: Sat Jun 4 21:20:20 2005 +0000 19841 19842 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) 19843 19844commit ca93c761559ae464189c7ea7cf11c6a6679f2431 19845Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19846Date: Sat May 28 01:02:32 2005 +0000 19847 19848 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 19849 19850commit 09ebb349359e3dd9131fa2fa8b07559faa173654 19851Author: Alan Coopersmith <alan.coopersmith@sun.com> 19852Date: Sun May 22 19:05:11 2005 +0000 19853 19854 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 19855 19856commit 761219b1ef9befc350c8a35b6f96d047e5f008cc 19857Author: Alan Coopersmith <alan.coopersmith@sun.com> 19858Date: Sat May 21 23:07:48 2005 +0000 19859 19860 xtrans: 19861 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 19862 ICE: 19863 Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 19864 X11: 19865 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. 19866 19867commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 19868Author: Alan Coopersmith <alan.coopersmith@sun.com> 19869Date: Sat May 21 04:26:12 2005 +0000 19870 19871 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) 19872 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). 19873 19874commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 19875Author: Adam Jackson <ajax@nwnk.net> 19876Date: Thu May 19 00:22:32 2005 +0000 19877 19878 revert last change, didn't do right thing at all, sorry for the noise 19879 19880commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 19881Author: Adam Jackson <ajax@nwnk.net> 19882Date: Thu May 19 00:10:07 2005 +0000 19883 19884 Require automake 1.7 in AM_INIT_AUTOMAKE 19885 19886commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 19887Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19888Date: Tue May 17 22:32:09 2005 +0000 19889 19890 - Check for xproto as its CFLAGS are needed in the .pc file 19891 19892commit 46e8d8a65430dd87c10b066b5cff99a689c22241 19893Author: Egbert Eich <eich-at-freedesktop-dot-org> 19894Date: Tue May 17 08:10:10 2005 +0000 19895 19896 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). 19897 19898commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 19899Author: <ssp@aware-of-vacuity.boston.redhat.com> 19900Date: Mon May 16 22:35:27 2005 +0000 19901 19902 Make Xdmcp unconditionally required, require various protocol modules. 19903 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 19904 Check for kbproto if using XKB. 19905 Require xextproto rather than xextensions 19906 Remove the entries from the xlibs tree, as they are not relevant here. 19907 19908commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 19909Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19910Date: Mon May 16 21:48:36 2005 +0000 19911 19912 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 19913 Check for kbproto if using XKB. 19914 19915commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 19916Author: <ssp@aware-of-vacuity.boston.redhat.com> 19917Date: Mon May 16 21:27:35 2005 +0000 19918 19919 Require xextproto rather than xextensions 19920 Remove the entries from the xlibs tree, as they are not relevant here. 19921 19922commit 7eee605e3aeed549d1053325a03027c5e8cbf71b 19923Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19924Date: Fri May 13 22:53:36 2005 +0000 19925 19926 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 19927 - For Xcomposite and Xdamage, don't link the build system out of the xc tree 19928 - Link the public X11 headers into their own directory 19929 - Add links to XKeysymDB and XErrorDB 19930 - Add links to all the Xlib man pages 19931 - Add links to the lcUniConv subdirectory 19932 - Conditionally include config.h in Xlib source 19933 19934commit 6769ccda88caf27d1441d335ef2b318a047a612b 19935Author: Alan Coopersmith <alan.coopersmith@sun.com> 19936Date: Mon Mar 21 04:58:21 2005 +0000 19937 19938 xc/lib/X11/ErrDes.c 19939 //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> 19940 19941commit 3b9e8ece93b916c55a82df53e85f097418edf471 19942Author: Roland Mainz <roland.mainz@nrubsig.org> 19943Date: Sat Mar 19 22:04:55 2005 +0000 19944 19945 xc/nls/Compose/iso8859-2 19946 xc/nls/Compose/iso8859-3 19947 xc/nls/Compose/iso8859-9 19948 //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>. 19949 19950commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 19951Author: Alan Coopersmith <alan.coopersmith@sun.com> 19952Date: Tue Mar 8 02:53:36 2005 +0000 19953 19954 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>. 19955 19956commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 19957Author: Roland Mainz <roland.mainz@nrubsig.org> 19958Date: Tue Feb 1 03:12:28 2005 +0000 19959 19960 xc/nls/Compose/pt_BR.UTF-8 19961 //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>. 19962 19963commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 19964Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 19965Date: Fri Jan 28 18:31:31 2005 +0000 19966 19967 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 19968 19969commit f234188a4c1e6b655aef0e3957ccad20d4c5847f 19970Author: Roland Mainz <roland.mainz@nrubsig.org> 19971Date: Wed Jan 19 01:53:55 2005 +0000 19972 19973 xc/nls/compose.dir 19974 xc/nls/locale.dir 19975 xc/nls/Compose/Imakefile 19976 xc/nls/Compose/pt_BR.UTF-8 19977 xc/nls/XI18N_OBJS/Imakefile 19978 xc/nls/XI18N_OBJS/pt_BR.UTF-8 19979 xc/nls/XLC_LOCALE/Imakefile 19980 xc/nls/XLC_LOCALE/pt_BR.UTF-8 19981 //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. 19982 19983commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 19984Author: Egbert Eich <eich-at-freedesktop-dot-org> 19985Date: Fri Jan 14 18:03:09 2005 +0000 19986 19987 Made some security enhancements: 19988 - no writing past end of buffer caused by bogus locale. 19989 - explicitely add a \0 character at end of string. (Bugzilla #2262) 19990 19991commit 5557d47fcf22a6f3adf327691158f2270e3d5094 19992Author: Roland Mainz <roland.mainz@nrubsig.org> 19993Date: Fri Jan 14 04:59:05 2005 +0000 19994 19995 xc/nls/compose.dir 19996 xc/nls/locale.alias 19997 xc/nls/locale.dir 19998 //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>. 19999 20000commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 20001Author: Egbert Eich <eich-at-freedesktop-dot-org> 20002Date: Tue Jan 11 17:37:57 2005 +0000 20003 20004 '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. 20005 20006commit 642cd269f94a234aa470a1d43385bd42625d89a1 20007Author: Egbert Eich <eich-at-freedesktop-dot-org> 20008Date: Tue Dec 14 08:59:20 2004 +0000 20009 20010 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 20011 Fixed typo. 20012 Added comment to a changed that's been committed with one of the previous commits. 20013 20014commit a07ccae36e629741d2e48de7730114d30a975a41 20015Author: Matthieu Herrb <matthieu.herrb@laas.fr> 20016Date: Sun Dec 12 08:42:50 2004 +0000 20017 20018 Fix missing XChangeProperty() prototype missing in synopsis section. 20019 20020commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 20021Author: Alexander Gottwald <ago at freedesktop dot org> 20022Date: Wed Dec 8 13:42:01 2004 +0000 20023 20024 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 20025 20026commit d5e7ab194103e22fd6c5094aaa107d90210bb600 20027Author: Jim Gettys <jg@freedesktop.org> 20028Date: Thu Dec 2 16:18:16 2004 +0000 20029 20030 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 20031 20032commit 03940d7330cb1bbf93d49c650aefb19de457da7c 20033Author: Alexander Gottwald <ago at freedesktop dot org> 20034Date: Wed Dec 1 13:06:55 2004 +0000 20035 20036 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 20037 20038commit 11a03ab908bfcfab8a3492684e8e9320e492d552 20039Author: Alexander Gottwald <ago at freedesktop dot org> 20040Date: Wed Dec 1 12:42:17 2004 +0000 20041 20042 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 20043 20044commit f3d83ee153f42e8899b844377e6b842d93411e62 20045Author: Alexander Gottwald <ago@freedesktop.org> 20046Date: Mon Nov 15 15:06:54 2004 +0000 20047 20048 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 20049 20050commit b798ea11911ac58a8e6e7d15a2a643b023859749 20051Author: Alexander Gottwald <ago at freedesktop dot org> 20052Date: Mon Nov 15 13:29:56 2004 +0000 20053 20054 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 20055 20056commit 436108cd6c84053698e5ca629096f59b34f50c2a 20057Author: Kristian Høgsberg <krh@redhat.com> 20058Date: Thu Nov 11 15:37:01 2004 +0000 20059 20060 Fix #1818 20061 20062commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 20063Author: Roland Mainz <roland.mainz@nrubsig.org> 20064Date: Tue Nov 9 00:56:56 2004 +0000 20065 20066 xc/nls/compose.dir 20067 xc/nls/locale.alias 20068 xc/nls/locale.dir 20069 //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>. 20070 20071commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 20072Author: Roland Mainz <roland.mainz@nrubsig.org> 20073Date: Fri Nov 5 00:58:49 2004 +0000 20074 20075 xc/nls/compose.dir 20076 xc/nls/locale.alias 20077 xc/nls/locale.dir 20078 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>. 20079 20080commit af7467ec734321f127b957921cce7792902b6794 20081Author: Egbert Eich <eich-at-freedesktop-dot-org> 20082Date: Mon Oct 18 17:29:03 2004 +0000 20083 20084 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 20085 20086commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 20087Author: Egbert Eich <eich-at-freedesktop-dot-xorg> 20088Date: Mon Oct 18 14:21:45 2004 +0000 20089 20090 Made handling of DevelDrivers for x86-64 more conformant to other platforms. 20091 Compress all font encodings (Stefan Dirsch). 20092 Fixed warnings. 20093 Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 20094 Added another compose key combination for the Euro symbol (Stefan Dirsch). 20095 Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 20096 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. 20097 Added explanation for DESTDIR to install to a different directory than /. 20098 Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 20099 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. 20100 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(). 20101 Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 20102 Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 20103 Changed comment to mention xorg. 20104 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). 20105 Added 'pic' to the man page rendering command pipeline (Werner Fink). 20106 Added missing return value (Stefan Dirsch, Roland Mainz) 20107 20108commit 1ba103c3cad2329db3a31f88d7798b913affc570 20109Author: Eric Anholt <anholt@freebsd.org> 20110Date: Wed Oct 13 07:38:00 2004 +0000 20111 20112 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>) 20113 20114commit d80237db627bf71ad5615ff4ba05e6ab436aa740 20115Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 20116Date: Fri Oct 8 22:57:56 2004 +0000 20117 20118 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 20119 Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 20120 20121commit d1f76d17ecf418396627b1a58319f2b9b255548a 20122Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 20123Date: Sun Sep 26 22:54:57 2004 +0000 20124 20125 bug fix for previous patch 20126 20127commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 20128Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 20129Date: Sun Sep 26 20:46:17 2004 +0000 20130 20131 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 20132 20133commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 20134Author: Egbert Eich <eich@freedesktop.org> 20135Date: Wed Sep 15 09:05:22 2004 +0000 20136 20137 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). 20138 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). 20139 20140commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 20141Author: Egbert Eich <eich@freedesktop.org> 20142Date: Tue Aug 31 11:37:03 2004 +0000 20143 20144 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). 20145 20146commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 20147Author: Kevin E Martin <kem@kem.org> 20148Date: Thu Aug 19 06:48:06 2004 +0000 20149 20150 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 20151 20152commit d558a53a6f57eecfcaadce5141fe3a08860defcb 20153Author: Keith Packard <keithp@keithp.com> 20154Date: Sat Aug 14 07:12:36 2004 +0000 20155 20156 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 20157 Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 20158 Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 20159 Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 20160 20161commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 20162Author: Alexander Gottwald <ago@freedesktop.org> 20163Date: Fri Aug 13 16:28:19 2004 +0000 20164 20165 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 20166 Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 20167 20168commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 20169Author: Adam Jackson <ajax@nwnk.net> 20170Date: Wed Aug 11 05:25:13 2004 +0000 20171 20172 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 20173 20174commit 92487437173f600f208d825f65756d3ad14a4f7e 20175Author: Kevin E Martin <kem@kem.org> 20176Date: Mon Aug 9 22:37:22 2004 +0000 20177 20178 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 20179 Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 20180 Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 20181 HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 20182 Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 20183 Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 20184 Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 20185 Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 20186 Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 20187 Fix several render problems: 20188 - MMIO mode support 20189 - Hang on IGP chips 20190 - VT switching hang 20191 - 3D render corruption (Bug #922, Hui Yu). 20192 20193commit 55c2ee568e7d3903258286a13bdf96ce5348ffda 20194Author: Matthieu Herrb <matthieu.herrb@laas.fr> 20195Date: Tue Jul 27 06:06:05 2004 +0000 20196 20197 - remove remaining AMOEBA references. 20198 - remove unused file. 20199 20200commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 20201Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 20202Date: Tue Jul 20 17:48:09 2004 +0000 20203 20204 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 20205 Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 20206 Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 20207 Use /dev/urandom on Linux.(#761). 20208 20209commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 20210Author: Eric Anholt <anholt@freebsd.org> 20211Date: Fri May 28 23:26:44 2004 +0000 20212 20213 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 20214 20215commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 20216Author: Egbert Eich <eich@pdx.freedesktop.org> 20217Date: Mon May 24 19:02:11 2004 +0000 20218 20219 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. 20220 20221commit 720702da29769d80ad1254d92edbad5b30f8a8da 20222Author: Alan Coopersmith <alan.coopersmith@sun.com> 20223Date: Sat May 22 03:47:42 2004 +0000 20224 20225 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 20226 20227commit 3aed873292424b497d9a7dcee2975b95bf5ac966 20228Author: Alan Coopersmith <alan.coopersmith@sun.com> 20229Date: Sat Apr 24 23:39:25 2004 +0000 20230 20231 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 20232 Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 20233 xc/config/cf/sunLib.tmpl 20234 xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 20235 20236commit c6349f43193b74a3c09945f3093a871b0157ba47 20237Author: Egbert Eich <eich@freedesktop.org> 20238Date: Fri Apr 23 18:42:09 2004 +0000 20239 20240 Merging XORG-CURRENT into trunk 20241 20242commit c3c4ddc682950a01b80825021f3e2503ab01ea7f 20243Author: Kaleb Keithley <kaleb@freedesktop.org> 20244Date: Tue Nov 25 19:28:07 2003 +0000 20245 20246 Initial revision 20247 20248commit dc4268a7dadc8da0d561757a68461246728613d3 20249Author: Kaleb Keithley <kaleb@freedesktop.org> 20250Date: Fri Nov 14 16:48:47 2003 +0000 20251 20252 Initial revision 20253 20254commit deae12c6b683898f5213992d561a59d4ea889cca 20255Author: Kaleb Keithley <kaleb@freedesktop.org> 20256Date: Fri Nov 14 15:54:30 2003 +0000 20257 20258 R6.6 is the Xorg base-line 20259