ChangeLog revision 4e08afa9
1commit c745719e23af44a4b40ab4508447637b35d91a1e 2Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3Date: Tue Oct 3 09:00:01 2023 -0700 4 5 libX11 1.8.7 6 7 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 9commit 7916869d16bdd115ac5be30a67c3749907aea6a0 10Author: Yair Mizrahi <yairm@jfrog.com> 11Date: Thu Sep 7 16:15:32 2023 -0700 12 13 CVE-2023-43787: Integer overflow in XCreateImage() leading to a heap overflow 14 15 When the format is `Pixmap` it calculates the size of the image data as: 16 ROUNDUP((bits_per_pixel * width), image->bitmap_pad); 17 There is no validation on the `width` of the image, and so this 18 calculation exceeds the capacity of a 4-byte integer, causing an overflow. 19 20 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21 22commit b4031fc023816aca07fbd592ed97010b9b48784b 23Author: Alan Coopersmith <alan.coopersmith@oracle.com> 24Date: Thu Sep 7 16:12:27 2023 -0700 25 26 XCreatePixmap: trigger BadValue error for out-of-range dimensions 27 28 The CreatePixmap request specifies height & width of the image as CARD16 29 (unsigned 16-bit integer), so if either is larger than that, set it to 0 30 so the X server returns a BadValue error as the protocol requires. 31 32 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33 34commit 73a37d5f2fcadd6540159b432a70d80f442ddf4a 35Author: Alan Coopersmith <alan.coopersmith@oracle.com> 36Date: Thu Sep 7 15:55:04 2023 -0700 37 38 XPutImage: clip images to maximum height & width allowed by protocol 39 40 The PutImage request specifies height & width of the image as CARD16 41 (unsigned 16-bit integer), same as the maximum dimensions of an X11 42 Drawable, which the image is being copied to. 43 44 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 45 46commit 204c3393c4c90a29ed6bef64e43849536e863a86 47Author: Alan Coopersmith <alan.coopersmith@oracle.com> 48Date: Thu Sep 7 15:54:30 2023 -0700 49 50 CVE-2023-43786: stack exhaustion from infinite recursion in PutSubImage() 51 52 When splitting a single line of pixels into chunks to send to the 53 X server, be sure to take into account the number of bits per pixel, 54 so we don't just loop forever trying to send more pixels than fit in 55 the given request size and not breaking them down into a small enough 56 chunk to fix. 57 58 Fixes: "almost complete rewrite" (Dec. 12, 1987) from X11R2 59 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 60 61commit 6858d468d9ca55fb4c5fd70b223dbc78a3358a7f 62Author: Alan Coopersmith <alan.coopersmith@oracle.com> 63Date: Sun Sep 17 14:19:40 2023 -0700 64 65 CVE-2023-43785: out-of-bounds memory access in _XkbReadKeySyms() 66 67 Make sure we allocate enough memory in the first place, and 68 also handle error returns from _XkbReadBufferCopyKeySyms() when 69 it detects out-of-bounds issues. 70 71 Reported-by: Gregory James DUCK <gjduck@gmail.com> 72 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 73 74commit 78b37accff1abbe713349d59fdefd963ffa04bbc 75Author: Alan Coopersmith <alan.coopersmith@oracle.com> 76Date: Sun Sep 17 10:11:02 2023 -0700 77 78 XOpenDisplay: ensure each screen has a valid root_visual pointer 79 80 Other code assumes this pointer cannot be NULL, so fail the connection 81 if a bug has caused the X server to give a non-existent visual ID for 82 the default visual of any screen. 83 84 Reported-by: Gregory James DUCK <gjduck@gmail.com> 85 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 86 87commit 3962080b7846d79fd3cf10b16eddacf68eb321b7 88Author: Antti Savolainen <antti.savo@gmail.com> 89Date: Tue Aug 8 11:37:03 2023 +0000 90 91 Add two compose sequences for dagger/obelisk symbols 92 93 The dagger symbol has several modern uses such as marking someone as 94 dead or something as extinct. Historically it has been used to indicate 95 a footnote. 96 97commit 15bbc81cf6b7c76b8a59cab6d77c9aba88b8562d 98Author: Christopher Chavez <chrischavez@gmx.us> 99Date: Sat Jul 29 16:58:05 2023 +0000 100 101 Xutil.h: use Bool for XEmptyRegion(), XEqualRegion() 102 103commit 5433cb93513c31e9cba2a447cf48d4b9aeb53285 104Author: Benno Schulenberg <bensberg@telfort.nl> 105Date: Mon Jul 17 08:02:09 2023 +0200 106 107 nls: add two compose sequences for currency symbol `฿` (the Thai baht) 108 109 The compose sequences are obvious: the capital B plus the vertical bar. 110 111 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 112 113commit 2ff401a472c5f210844cc358d5a27bd340546796 114Author: Benno Schulenberg <bensberg@telfort.nl> 115Date: Mon Jul 17 07:56:14 2023 +0200 116 117 nls: reshuffle the compose sequences for currencies into ascending order 118 119 That is: sort them according to code point. 120 121commit c0e2d42d411be3245498ffe6484b35421f096c02 122Author: Benno Schulenberg <bensberg@telfort.nl> 123Date: Mon Jul 17 07:27:14 2023 +0200 124 125 nls: add compose sequences for `₲` (guaraní), `₭` (kip), and `₮` (tugrik) 126 127 When Ghana, Nigeria, Costa Rica and El Salvador have compose sequences 128 for their currency symbols (cedi: `₵`, naira: `₦`, colón: `₡`), then 129 Paraguay, Laos, and Mongolia deserve to have such sequences as well. 130 131 The sequences should be obvious: the relevant capital letter of the 132 name of the currency (G, K, T) plus a vertical bar, a minus sign, 133 and an equals sign, respectively. 134 135 Also add two sequences for `$` (the dollar sign), for consistency. 136 137 Drop the tentative comments for drachma, penny, and austral, as those 138 currencies have been obsolete for more than twenty years. 139 140 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 141 142commit d9fe5dc735c75398e36998c226d2418137229673 143Author: Benno Schulenberg <bensberg@telfort.nl> 144Date: Mon Jul 17 07:06:51 2023 +0200 145 146 nls: change result of sequence `<C> <bar>` from `¢` (CENT) to `₵` (CEDI) 147 148 As a cent is a small coin, it makes no sense to use an uppercase letter 149 to compose the `¢` symbol -- having four sequences with a lowercase `c` 150 plus a `bar` or a `slash` available for composing `¢` should be enough. 151 152 Use the sequence `<C> <bar` (with the uppercase `C`) for composing `₵` 153 (the CEDI SIGN) instead. 154 155 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 156 157commit 031e63060ed11eb8a876aac7515bc5a67371ed6b 158Author: Antti Savolainen <antti.savo@gmail.com> 159Date: Thu Aug 17 18:25:20 2023 +0300 160 161 nls: add a compose sequence with double dead_tilde for ≈ (almost equal to) 162 163 Some keyboards lack direct asciitilde and instead have only dead tilde. 164 This compose sequence allows those keyboards to type the almost equal 165 to sign. 166 167commit df2a18c4643bb4a50f2f795a75a905a1032a004a 168Author: Benno Schulenberg <bensberg@telfort.nl> 169Date: Mon Jul 17 17:03:16 2023 +0200 170 171 nls: delete twenty seven untypable Greek compose sequences 172 173 Only a few keyboard layouts contain the `dead_iota` keysym, and none 174 of those layouts contains the `acute` keysym, so compose sequences 175 that combine the two symbols cannot be typed and are thus useless. 176 177 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 178 179commit 44f908d9283710ffc75b22d2ae7a8948119b3e61 180Author: Alan Coopersmith <alan.coopersmith@oracle.com> 181Date: Sun Aug 20 15:11:04 2023 -0700 182 183 docs: fix names for XkbKeyKeyType & XkbKeyKeyTypeIndex 184 185 Implementation had "Key" twice in these macro names, 186 but the docs had only listed it once. 187 188 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 189 190commit 7b16c55063ba4eb258bf91c170e378c1e2d398bd 191Author: Alan Coopersmith <alan.coopersmith@oracle.com> 192Date: Sun Aug 20 15:01:09 2023 -0700 193 194 docs: remove XkbKeySymsOffset 195 196 This function was documented but never implemented. 197 198 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 199 200commit 41a157dfeefe943f5a79948e4f9ef93473144fd8 201Author: Alan Coopersmith <alan.coopersmith@oracle.com> 202Date: Sun Aug 20 14:52:18 2023 -0700 203 204 docs: remove XkbGetNameChanges 205 206 This function was documented but never implemented. 207 208 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 209 210commit 3442a8cee25dc0254ee69bcf83a89d287a86c97a 211Author: Alan Coopersmith <alan.coopersmith@oracle.com> 212Date: Sun Aug 20 14:44:18 2023 -0700 213 214 docs: remove XkbChangeIndicators and Xkb{Get,Note}IndicatorChanges 215 216 These functions were documented but never implemented. 217 218 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 219 220commit b7a15d6c6efd0bfddc81cf8443073c4bc1c9772d 221Author: Alan Coopersmith <alan.coopersmith@oracle.com> 222Date: Sun Aug 20 14:31:20 2023 -0700 223 224 docs: XkbSAActionSetCtrls is really named XkbActionSetCtrls 225 226 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 227 228commit a1d8dd726757e00e3a774b92456f5c742492475b 229Author: Alan Coopersmith <alan.coopersmith@oracle.com> 230Date: Sun Aug 20 14:18:32 2023 -0700 231 232 docs: remove XkbGetStickyKeysOptions & XkbSetStickyKeysOptions 233 234 These functions were documented but never implemented. 235 236 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 237 238commit bf13f197406fe745c5ff46a4748a41b6646aebf6 239Author: Alan Coopersmith <alan.coopersmith@oracle.com> 240Date: Sun Aug 20 14:09:35 2023 -0700 241 242 docs: remove XkbGetSlowKeysDelay & XkbSetSlowKeysDelay 243 244 These functions were documented but never implemented. 245 246 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 247 248commit caab7321d2ec14ee776ec329ed2facf0816a3136 249Author: Alan Coopersmith <alan.coopersmith@oracle.com> 250Date: Sun Aug 20 14:04:15 2023 -0700 251 252 docs: remove XkbGetAccessXTimeout & XkbSetAccessXTimeout 253 254 These functions were documented but never implemented. 255 256 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 257 258commit 843e89bd2467a58cb454705a09d095726b96d93f 259Author: Alan Coopersmith <alan.coopersmith@oracle.com> 260Date: Sun Aug 20 12:58:47 2023 -0700 261 262 docs: remove XkbAllocDeviceLedInfo 263 264 This function was documented but never implemented. 265 266 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 267 268commit 2686dd7a9d6e8e02ce2868e446cdec11617ffab4 269Author: Alan Coopersmith <alan.coopersmith@oracle.com> 270Date: Sun Aug 20 12:41:42 2023 -0700 271 272 docs: finish removing XkbGetBounceKeysDelay & XkbSetBounceKeysDelay 273 274 These functions were documented but never implemented. 275 276 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 277 278commit 188991fe7e41bbf2f384d0875ab2e25c936b0b41 279Author: G. Branden Robinson <g.branden.robinson@gmail.com> 280Date: Sat Jul 29 10:10:00 2023 -0700 281 282 configure script reports stray, confusing "yes" 283 284 Closes issue #194 285 286 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 287 288commit 70f44d76fd8fad96f33ba5c80a394d68b77dda03 289Author: Benno Schulenberg <bensberg@telfort.nl> 290Date: Sun Jul 16 17:08:52 2023 +0200 291 292 nls: add, correct, and normalize some comments of compose sequences 293 294 Add comments for the Khmer digraphs, correct the comments for the 295 Arabic lam-alef decompositions, and normalize the comments for the 296 Breton digraphs and trigraphs. 297 298 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 299 300commit 2a57c32e14779cf1c0c1d2da98a9cac21c00c095 301Author: Benno Schulenberg <bensberg@telfort.nl> 302Date: Sun Jun 25 10:01:05 2023 +0200 303 304 nls: harmonize the comments for compose sequences with combining accents 305 306 Replace the "WITH" with "plus" and lowercase the "AND" in the comments 307 for sequences with combining accents, to make it slightly clearer that 308 the resulting string consists of multiple code points. Also, use the 309 word "COMBINING" in the names of the accents, so that these sequences 310 can be easily grepped, and drop the redundant word "ACCENT". 311 312 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 313 314commit 757ab5ddd86f6cdce24b8ae2c43206b7beb7ab44 315Author: Alan Coopersmith <alan.coopersmith@oracle.com> 316Date: Mon Aug 14 08:33:28 2023 -0700 317 318 Remove XkbSetBounceKeysDelay.man from list of man pages to build 319 320 Fixes: f90e6bfa ("rm XkbSetBounceKeysDelay.man") 321 322 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 323 324commit f90e6bface92fd192b26f03b7ae745661d9c2690 325Author: Walter Harms <wharms@bfs.de> 326Date: Sun Aug 13 22:42:50 2023 +0200 327 328 rm XkbSetBounceKeysDelay.man 329 330 there is no function XkbSetBounceKeysDelay(). 331 It is listed in the specs but never implemented if someone 332 does it, feel free to get the file back. 333 334 closes issue #105 335 336commit b2c3fb7b4dd4c4c7b9d28c7af7776cccc8e0a98b 337Author: Benno Schulenberg <bensberg@telfort.nl> 338Date: Sat Jul 8 08:11:39 2023 +0200 339 340 nls: use the shorter and more consistent name for the dead capital schwa 341 342 The `dead_SCHWA` name is available since xorgproto-2023.1, which was 343 released last month. 344 345commit e45dff5c2a51ad0392061208a8ad33211d952385 346Author: jmcwilliams403 <jmcwilliams403@gmail.com> 347Date: Fri Jun 16 11:37:20 2023 -0400 348 349 NLS: Drop two math sequences, slightly clean up APL sequences. 350 351 * Two compose sequences containing `leftshoe` and `rightshoe` are 352 dropped as no keyboard layout uses these keysyms. 353 * The compose sequences for `therefore` and `because` in the APL 354 block are moved to ascending Unicode order. 355 * The comments for the compose sequences for `U2299` are corrected to 356 more accurately reflect its sequence nodes and its real name in 357 Unicode. 358 359commit af2b6dfab1616dc85be9c9b196e4c56d00447851 360Author: Benno Schulenberg <bensberg@telfort.nl> 361Date: Sun Jun 25 09:09:21 2023 +0200 362 363 nls: delete twenty eight compose sequences that cannot be typed 364 365 The letters `Ǫ` (U+01EA, O with ogonek), `Ȩ` (U+0228, E with cedilla), 366 `Ȯ` (U+022E, O with dot above), `Ạ` (U+1EA0, A with dot below), and 367 their lowercase forms do not occur in any layout of xkeyboard-config, 368 meaning that the compose sequences that contained these letters could 369 not be typed. Delete their dead weight. 370 371 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 372 373commit ab0442d3fa835ce16559b29532ac7f674f8557f4 374Author: Benno Schulenberg <bensberg@telfort.nl> 375Date: Sat Jun 24 09:46:07 2023 +0200 376 377 nls: remove four unobvious and redundant compose sequences for ¥ (yen) 378 379 Composing ¥ with Y and a minus sign seems to have been added in analogy 380 to composing £ with L and a minus sign. But ¥ clearly has a double line 381 through it, so using the equals sign for this is far more logical (and 382 those compose sequences of course exist). Also, L plus an equals sign 383 produces ₤ (lira), not £ (sterling). So... make these sequences more 384 consistent and allow composing ¥ only with Y/y plus an equals sign. 385 386 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 387 388commit 933912480c08495428d45988eebb48fcbe62f14b 389Author: Benno Schulenberg <bensberg@telfort.nl> 390Date: Sat Jun 24 10:02:45 2023 +0200 391 392 nls: order a few compose sequences left first, and in mirroring pairs 393 394commit 178c4fefd3b0b4be5e69274108b86a51f08ec3a6 395Author: Benno Schulenberg <bensberg@telfort.nl> 396Date: Fri Jun 16 09:33:03 2023 +0200 397 398 nls: remove three duplicated combining acute accents 399 400 For the Cyrillic YU with combining acute accent, the string between 401 the quotes contained two U+0301 code points, whereas one is enough, 402 like for all the neighboring strings. 403 404 (This duplication was found by accident with `nano --mini --cons`.) 405 406commit 695e90ad26f632feb0f58ad94882fb3a263bf114 407Author: Alan Coopersmith <alan.coopersmith@oracle.com> 408Date: Thu Jun 15 09:14:48 2023 -0700 409 410 libX11 1.8.6 411 412 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 413 414commit 304a654a0d57bf0f00d8998185f0360332cfa36c 415Author: Alan Coopersmith <alan.coopersmith@oracle.com> 416Date: Sat Jun 10 16:30:07 2023 -0700 417 418 InitExt.c: Add bounds checks for extension request, event, & error codes 419 420 Fixes CVE-2023-3138: X servers could return values from XQueryExtension 421 that would cause Xlib to write entries out-of-bounds of the arrays to 422 store them, though this would only overwrite other parts of the Display 423 struct, not outside the bounds allocated for that structure. 424 425 Reported-by: Gregory James DUCK <gjduck@gmail.com> 426 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 427 428commit 71b08b8af20474bb704a11affaa8ea39b06d5ddf 429Author: Alan Coopersmith <alan.coopersmith@oracle.com> 430Date: Wed May 31 17:45:40 2023 -0700 431 432 libX11 1.8.5 433 434 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 435 436commit 03ba0140940cc76524d83096a47309f5c398541f 437Author: Benno Schulenberg <bensberg@telfort.nl> 438Date: Mon May 22 12:02:06 2023 +0200 439 440 nls: use a slash instead of a combining solidus in compose sequences 441 442 First: combining diacritics like the combining long solidus (`U+0338`) 443 are not meant to be used in compose sequences. Second: there is just 444 one layout in xkeyboard-config that contains the `U0338` character: 445 the deprecated/obsolete German T3 layout. So, practically speaking, 446 these compose sequences with `U0338` were untypable. So, use a slash 447 instead, that almost all layouts have. This does require that the 448 sequence `<Compose> <less> <slash>` changes its meaning from backslash 449 to not-less-than (`≮`). This seems like an acceptable sacrifice, as 450 the sequence `<Compose> <slash> <slash>` is a faster/easier sequence 451 for the backslash and most layouts contain a backslash already anyway. 452 453 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 454 455commit 616701317e25b2c0f509f4d93af5dee6de09012d 456Author: Benno Schulenberg <bensberg@telfort.nl> 457Date: Mon May 22 11:19:32 2023 +0200 458 459 nls: delete six compose sequences that cannot be typed 460 461 None of the layouts in xkeyboard-config contain `Ohook` or `Uhook` 462 or `U+01D3` (U with caron) nor their lowercase forms, so these six 463 sequences cannot be typed on any known keyboard. 464 465 (Also, the target characters of the sequences with hook and horn 466 seem to occur only in Vietnamese, where the horn is part of the 467 vowel and the hook is a tonal mark. All Vietnamese layouts in 468 xkeyboard-config contain `Ohorn` and `Uhorn`, and then the five 469 tonal marks as dead keys, `dead_hook` among them. It does not 470 make sense to want to apply a horn to a vowel that already has 471 a tonal mark, nor is it possible with the Vietnamese layouts.) 472 473 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 474 475commit 35d9621d78cb196b4ccd3ee1baa1ce2a21e4674b 476Author: Benno Schulenberg <bensberg@telfort.nl> 477Date: Sun May 21 16:17:32 2023 +0200 478 479 nls: sort three sequences alphabetically in their group, like all others 480 481 Also, consistently form uppercase+lowercase pairs, like for most others. 482 483commit 208d550954c7266fa8093b02a2a97047e1478c00 484Author: Benno Schulenberg <bensberg@telfort.nl> 485Date: Thu Apr 13 17:25:35 2023 +0200 486 487 nls: make the Amharic compose sequences use the dead-vowel symbols 488 489 Last year, commit 488b156fe2 changed mistaken ASCII characters to the 490 code points that were actually used in the Ethiopian keyboard layout. 491 492 But those code points were mistaken too: the intention was not to use 493 the code point U+FE68 in the layout but the raw symbol code 0xfe68 -- 494 and so on for the other codes. The symbols that these raw codes were 495 intended to refer to were `dead_a` and friends. But these dead vowels 496 were added under different codes: 0xfe80 to 0xfe8b. 497 498 So, correct the Amharic compose sequences to make use of the dead-vowel 499 symbols that were specifically added for them fifteen years ago. 500 501 (As soon as this is merged, xkeyboard-config wil be changed too to use 502 the dead vowels in the Ethiopian layout.) 503 504 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 505 506commit 96cbac89a02220eb21e13ca5fa7c8c5adf77028a 507Author: jmcwilliams403 <jmcwilliams403@gmail.com> 508Date: Fri Mar 31 09:47:03 2023 -0400 509 510 nls: add compose sequence for capital schwa, and delete a deviant one 511 512 This sequence has already been defined in the iso8859-9e compose 513 file meant for the Azerbaijani locale, yet for the longest time, only 514 the lowercase form has existed in the en_US.UTF-8 master compose 515 file. This patch adds one sequence for Latin Capital Letter Schwa for 516 the Azerbaijani language. 517 518 Additionally, the sequence in the pt_BR.UTF-8 locale for capital 519 schwa has been removed as it uses two lowercase e's as part of its 520 sequence, which in practice would make typing both `Multi_key e e` 521 and `Multi_key E E` output capital schwa. 522 523commit a6528d92b3865adb4f9951df91a714f55f56d59e 524Author: Benno Schulenberg <bensberg@telfort.nl> 525Date: Tue Apr 4 11:35:44 2023 +0200 526 527 XSetScreenSaver.man: restore the part that was accidentally snipped 528 529 Four years ago, while removing private macros, commit fe46eb2871 530 unintentionally truncated the XSetScreenSaver manpage. Restore 531 the snipped part (minus trailing spaces and a mistaken singular). 532 533 This fixes issue #187. 534 535 Reported-by: Sergio Gelato 536 537 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 538 539commit eb166af8f9f4184108fe8e0611a09af03d12059e 540Author: jmcwilliams403 <jmcwilliams403@gmail.com> 541Date: Fri Mar 24 08:37:32 2023 -0400 542 543 NLS: Remove strange dead_cedilla cedi sign sequences 544 545 These sequences appear to be a leftover artifact of auto-generating 546 dead_currency sequences for cent and the cedi sign, where chaining 547 with ascii "c" vs "ccedilla" would output cent vs the cedi sign 548 respectively, but somehow this ended up creating strange sequences 549 with dead_cedilla followed by cent or the colon sign to output the 550 cedi sign, the latter sequence of which was already removed recently. 551 Additionally, sequences beginninng with dead_cedilla followed by 552 currency have been removed as they also appear to be related to these 553 artifacts. The two remaining sequences beginning with dead_currency 554 followed by dead_cedilla are maintained and moved to the stretch of 555 dead_currency sequences next to ccedilla, and sorted in order of 556 unicode decompositional complexity. 557 558commit 6e889f34679bb96f4d61ef069259c042cb4a9a59 559Author: Benno Schulenberg <bensberg@telfort.nl> 560Date: Fri Mar 24 09:41:48 2023 +0100 561 562 nls: remove twenty two untypable Greek compose sequences 563 564 None of the keyboard layouts in xkeyboard-config contains accented 565 Greek characters like `Greek_alphaaccent` or `Greek_iotadieresis` 566 (nor in their Unicode hexadecimal forms, like U03AC or 0x10003CA), 567 so none of these sequences could be typed on an existing layout. 568 569 Also, the two sequences that started with `Greek_accentdieresis` 570 were plain wrong: making a spacing character into a dead key. 571 572 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 573 574commit 98be4cb23a5eadc98f81f05c4696f687119152c8 575Author: Benno Schulenberg <bensberg@telfort.nl> 576Date: Fri Mar 24 09:00:48 2023 +0100 577 578 nls: remove four hundred and sixty untypable Greek compose sequences 579 580 None of the keyboard layouts in xkeyboard-config contains code points 581 in the range U+1F00..U+1FFF (the Greek Extended block), so none of the 582 removed sequences could be typed on an existing layout. 583 584 (Of course it is possible that some people have their own private layout 585 that contains some of the Greek Extended characters, but if they do, 586 then they can also define private compose sequences, when needed.) 587 588 Modern Greek does not use these characters with polytonic diacritics 589 anyway -- they are useful only for typing traditional Greek. 590 591 The useless sequences were removed with this command: 592 593 sed -i '/<U1F..>/d' nls/en_US.UTF-8/Compose.pre 594 595 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 596 597commit ff8706a5eae25b8bafce300527079f68a201d27f 598Author: Benno Schulenberg <bensberg@telfort.nl> 599Date: Wed Jun 15 11:54:54 2022 +0200 600 601 nls: delete compose sequences that pointlessly mix upper and lower case 602 603 It's nice to have compose sequences for things like © and ®, but allowing 604 them to be composed also with letters of different case is unneeded. It 605 is good enough to have sequences of only lowercase and only uppercase. 606 607 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 608 609commit ca99e338a9b8aad300933b1336f9e3c091392213 610Author: jmcwilliams403 <jmcwilliams403@gmail.com> 611Date: Sun Mar 12 15:13:27 2023 +0000 612 613 NLS: move dead-caron subscript compositions to the relevant Unicode block 614 615commit dac2985b347cebc0f631e43e41eaeddb68de1676 616Author: jmcwilliams403 <jmcwilliams403@gmail.com> 617Date: Sun Mar 12 14:49:47 2023 +0000 618 619 NLS: implement the expansion of the six Breton N-graph keysyms 620 621 These one-keysym-to-multiple-characters sequences will allow fully defining 622 the Breton keyboard layout, without needing custom compose sequences. 623 624commit e45ca7b41dcd3ace7681d6897505f85d374640f2 625Author: Alan Coopersmith <alan.coopersmith@oracle.com> 626Date: Tue Mar 14 10:22:48 2023 -0700 627 628 gitlab CI: add workflow rules 629 630 Needed due to the gitlab config changes described in: 631 https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 632 633 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 634 635commit 72eeeb6dedc39f68608312eb0001f77fffccd499 636Author: jmcwilliams403 <jmcwilliams403@gmail.com> 637Date: Sun Mar 5 13:33:38 2023 +0000 638 639 NLS: move long S compositions to respective blocks 640 641commit 8bbbed75a20556e41658103265974decee974645 642Author: Alan Coopersmith <alan.coopersmith@oracle.com> 643Date: Sat Mar 4 10:44:45 2023 -0800 644 645 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL 646 647 AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, 648 so it's time to rely on it. 649 650 Clears autoconf warnings: 651 652 configure.ac:20: warning: The macro `AC_PROG_LIBTOOL' is obsolete. 653 configure.ac:20: You should run autoupdate. 654 m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... 655 configure.ac:20: the top level 656 657 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 658 659commit 53bf8584e8d7d5d4a4a8114bff26a6f631c7fac1 660Author: Alan Coopersmith <alan.coopersmith@oracle.com> 661Date: Mon Feb 6 14:09:45 2023 -0800 662 663 configure: replace deprecated AC_HELP_STRING with AS_HELP_STRING 664 665 This silences an autoconf warning. 666 667 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 668 669commit 31a9451111fb1e3ae1199d44f94cd0b134ca455d 670Author: Alan Coopersmith <alan.coopersmith@oracle.com> 671Date: Mon Feb 6 13:13:21 2023 -0800 672 673 configure: raise minimum autoconf requirement to 2.70 674 675 Needed for builds on NetBSD to work correctly, since it depends on 676 AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the 677 prototype for reallocarray() in the system headers. 678 679 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 680 681commit 1ba02f878f83e3b42389547e01b24371f0a50e60 682Author: Alan Coopersmith <alan.coopersmith@oracle.com> 683Date: Mon Feb 6 13:32:02 2023 -0800 684 685 gitlab CI: Add libtool to required packages 686 687 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 688 689commit fc5ec8edda1efdf5d66db4e76796e3c407527b3b 690Author: Alan Coopersmith <alan.coopersmith@oracle.com> 691Date: Sat Feb 4 12:02:29 2023 -0800 692 693 libX11 1.8.4 694 695 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 696 697commit ba548ed1688d4d5a83913218155d0ddf616ff176 698Author: Alan Coopersmith <alan.coopersmith@oracle.com> 699Date: Sun Jan 15 11:39:20 2023 -0800 700 701 configure: options summary should say "libX11", not just "X11" 702 703 We're not configuring the entire window system here, just one library 704 705 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 706 707commit eb1c272ab5230d548077b9f59aca4b3457c3a8f8 708Author: GaryOderNichts <garyodernichts@gmail.com> 709Date: Sat Dec 17 16:28:40 2022 +0100 710 711 Fix a9e845 and 797755 Allow X*IfEvent() to reenter libX11 712 713commit 0c7c4ce875ea65160705180ebb68a2c88afb678e 714Author: Benno Schulenberg <bensberg@telfort.nl> 715Date: Thu Nov 3 17:25:29 2022 +0100 716 717 nls: add two compose sequences for capital B with stroke, for consistency 718 719 Two compose sequences (with plain ASCII characters) existed for 720 the lowercase b with stroke (ƀ) but not for the capital one (Ƀ). 721 722 This addresses part of issue #166. 723 724 Reported-by: J. McWilliams 725 726 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 727 728commit a80ef097e713aba0330b9cf9f3c1e309084b926f 729Author: Benno Schulenberg <bensberg@telfort.nl> 730Date: Thu Nov 3 16:48:03 2022 +0100 731 732 nls: delete twelve compose sequences that cannot be typed 733 734 There is not any keyboard layout (in xkeyboard-config) that contains 735 `obelowdot` or `ubelowdot`, so having compose sequences that use these 736 symbols is pointless. 737 738 There are some layouts that contain `otilde` (and one that contains 739 `utilde`), but those layouts then do not contain `dead_horn`, so 740 the compose sequences that combine the two symbols are pointless. 741 742 There are a few layouts that contain U+0256, U+025C, U+025F or U+0279, 743 but those layouts do not contain `dead_hook`, so the compose sequences 744 that combine the latter with one of the former are pointless. 745 746 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 747 748commit 078cc39f05ddfd6166762f3166129258ddd07dd3 749Author: Benno Schulenberg <bensberg@telfort.nl> 750Date: Thu Nov 3 16:31:04 2022 +0100 751 752 nls: delete 88 compose sequences that have the accents in the wrong order 753 754 The various compose sequences with the accents in their proper order 755 (the highest placed accent first) continue to exist. 756 757 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 758 759commit aa5ef0ba80558f946871f574d38a15673e66221e 760Author: Benno Schulenberg <bensberg@telfort.nl> 761Date: Thu Nov 3 16:27:51 2022 +0100 762 763 nls: move the compose sequences for Ș and Ț to the fitting Unicode block 764 765 This addresses a side note of issue #166. 766 767 Reported-by: J. McWilliams 768 769 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 770 771commit 82c25879b72f1ba7e9abe00e7bad55add33135cf 772Author: Alan Coopersmith <alan.coopersmith@oracle.com> 773Date: Wed Jan 4 11:25:48 2023 -0800 774 775 xlibi18n: Update Imake instructions to autoconf equivalent in comments 776 777 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 778 779commit 88399e01be679bfcc9a5e8922ffe2c47f0e56dee 780Author: Yuxuan Shui <yshuiv7@gmail.com> 781Date: Tue Jan 3 15:09:28 2023 +0000 782 783 Revert "Update XPutBackEvent() to support clients that put back unpadded events" 784 785 This reverts commit d6d6cba90215d323567fef13d6565756c9956f60. 786 787 The reverted commit intended to fix the problem where an unpadded X 788 event struct is passed into XPutBackEvent, by creating a padded struct 789 with _XEventToWire and _XWireToEvent. However, _XWireToEvent updates the 790 last sequence number in Display, which may cause xlib to complain about 791 lost sequence numbers. 792 793 IMO, the problem that commit tried to solve is a bug in the client 794 library, and workaround it inside Xlib is bad practice, especially given 795 the problem it caused. Plus, the offender cited in the original commit 796 message, freeglut, has already fixed this problem. 797 798 Fixes: #176 #174 799 800 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com> 801 802commit 48487c4b9028e9eec5371742f51e1d64c2e17296 803Author: Alan Coopersmith <alan.coopersmith@oracle.com> 804Date: Thu Dec 15 14:52:20 2022 -0800 805 806 libX11 1.8.3 807 808 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 809 810commit d6d6cba90215d323567fef13d6565756c9956f60 811Author: Keith Packard <keithp@keithp.com> 812Date: Sun Dec 11 10:32:26 2022 -0800 813 814 Update XPutBackEvent() to support clients that put back unpadded events 815 816 It seems to be common practice of some X11 clients to pass specific event 817 types into APIs that take XEvent*. For example, freeglut does: 818 819 XConfigureEvent fakeEvent = {0}; 820 ... 821 XPutBackEvent(fgDisplay.Display, (XEvent*)&fakeEvent); 822 823 This can result in reads overflowing the input event when libX11 does: 824 825 XEvent store = *event; 826 827 ================================================================= 828 ==75304==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x00016ee4a8e8 at pc 0x000101c54d14 bp 0x00016ee4a0d0 sp 0x00016ee49888 829 READ of size 192 at 0x00016ee4a8e8 thread T0 830 #0 0x101c54d10 in __asan_memcpy+0x1a4 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x3cd10) 831 #1 0x102848a18 in _XPutBackEvent PutBEvent.c:41 832 #2 0x1028490a4 in XPutBackEvent PutBEvent.c:84 833 #3 0x1013295c8 in fgOpenWindow freeglut_window.c:1178 834 #4 0x101321984 in fgCreateWindow freeglut_structure.c:108 835 #5 0x10132b138 in glutCreateWindow freeglut_window.c:1551 836 #6 0x100fb7d94 in main+0x78 (checkeredTriangles:arm64+0x100003d94) 837 #7 0x197de3e4c (<unknown module>) 838 839 Address 0x00016ee4a8e8 is located in stack of thread T0 at offset 840 in frame 840 #0 0x1013282f8 in fgOpenWindow freeglut_window.c:1063 841 842 This frame has 8 object(s): 843 [32, 40) 'title.addr' 844 [64, 176) 'winAttr' (line 1066) 845 [208, 240) 'textProperty' (line 1067) 846 [272, 352) 'sizeHints' (line 1068) 847 [384, 440) 'wmHints' (line 1069) 848 [480, 672) 'eventReturnBuffer' (line 1070) 849 [736, 740) 'num_FBConfigs' (line 1072) 850 [752, 840) 'fakeEvent' (line 1074) <== Memory access at offset 840 overflows this variable 851 852 This change allows XPutBackEvent() to support such clients without 853 risk of memory read overflow. 854 855 Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 856 Tested-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 857 858commit 496d9bfeedda89a2211ec665f9214c2693c022f4 859Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 860Date: Sat Dec 3 16:26:47 2022 -0800 861 862 ximcp: Address warning found by UBSan when growing an empty tree 863 864 imLcPrs.c:681:52: runtime error: applying zero offset to null pointer 865 866 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 867 868commit 7f7bcd7b6f569e9f70e3ddd134924f178e2596b1 869Author: Takao Fujiwara <tfujiwar@redhat.com> 870Date: Tue Dec 6 16:59:56 2022 +0000 871 872 nls: consecutive cs number in en_US.UTF-8/XLC_LOCALE 873 874commit ba095967349dff583bd0989d0ba78aa334e9bedf 875Author: Ulrich Sibiller <uli42@gmx.de> 876Date: Wed Nov 30 23:47:29 2022 +0100 877 878 ChkIfEv.c: fix wrong handling of dpy->in_ifevent 879 880 Is no longer a bool but a counter. 881 882 Signed-off-by: Ulrich Sibiller <uli42@gmx.de> 883 884commit 70eaf1174e2809d1a6c43868d53f8cd844ef636a 885Author: Ulrich Sibiller <uli42@gmx.de> 886Date: Wed Nov 30 23:42:02 2022 +0100 887 888 Indentation fixes around recent dpy->in_ifevent changes 889 890 Use the same indentation as the surrounding code. 891 892 Signed-off-by: Ulrich Sibiller <uli42@gmx.de> 893 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 894 895commit a9e845809bcaae22496bc8aa3ca252b410d5f39b 896Author: Matthieu Herrb <matthieu@herrb.eu> 897Date: Fri Nov 11 18:55:23 2022 +0100 898 899 Fix 797755 Allow X*IfEvent() to reenter libX11 900 901 - the activation logic is reversed 902 - there is also _XInternalLockDisplay() that needs protection 903 - I've found cases (in fvwm2) where the callback calls XCheckIfEvent() 904 recursively. So the flag needs to be a counter. 905 906 Reviewed-by: Adam Jackson <ajax@redhat.com> 907 908commit bccd787a565d3a88673bfc06574c1939f98d8d72 909Author: Nia Alarie <nia@NetBSD.org> 910Date: Thu Nov 10 22:31:47 2022 +0100 911 912 Don't use pragma inside a function, it breaks compiling with older GCCs. 913 914 XKBBind.c:230: error: #pragma GCC diagnostic not allowed inside functions 915 916 Signed-off-by: Thomas Klausner <wiz@gatalith.at> 917 918commit 696d19d5db7bcb1c1f582c2b1846520e7e0870cb 919Author: Oliver <halting@riseup.net> 920Date: Fri Nov 11 17:04:00 2022 +0000 921 922 Add XFreeThreads function. 923 924commit b4f24b272c6ef888b6fcfcf80670c196b2e8f755 925Author: Alan Coopersmith <alan.coopersmith@oracle.com> 926Date: Thu Nov 10 12:18:17 2022 -0800 927 928 libX11 1.8.2 929 930 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 931 932commit 77629ea5e79fa9b1596438bc36cfc7e0c631af43 933Author: Alan Coopersmith <alan.coopersmith@oracle.com> 934Date: Thu Nov 3 13:00:50 2022 -0700 935 936 README.md: Add 1.8.2 changes 937 938 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 939 940commit d1baf2ec4869dea3732d6fe13ba4935cb6caad01 941Author: Alan Coopersmith <alan.coopersmith@oracle.com> 942Date: Thu Nov 3 11:22:37 2022 -0700 943 944 Remove NEWS file which only covered 2006 & 2007 releases 945 946 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 947 948commit 1294bfa487bdecfd32621822922fec03203ee188 949Author: Po Lu <luangruo@yahoo.com> 950Date: Mon Oct 3 08:44:59 2022 +0800 951 952 specs: document change in XIMPreeditCallbacks 953 954 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 955 956commit 1a7e54609ce4dc0f2d3b933502437a413cf3dea8 957Author: Alan Coopersmith <alan.coopersmith@oracle.com> 958Date: Thu Nov 3 14:44:22 2022 -0700 959 960 man pages: document XCloseIM frees its argument 961 962 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 963 964commit a04b84f0f7bb3a78088756759f4b9b8bb363251e 965Author: Alan Coopersmith <alan.coopersmith@oracle.com> 966Date: Thu Nov 3 20:31:31 2022 +0000 967 968 Copyright & license cleanup 969 970commit 5e41119d9611504ff7e61c6aa4da1df708096801 971Author: Benno Schulenberg <bensberg@telfort.nl> 972Date: Mon Oct 31 12:42:51 2022 +0100 973 974 nls: reshuffle a few compose sequences, to have similar ones together 975 976 It makes more sense to have similar sequences grouped together 977 than to rigidly follow the order of ascending Unicode codes. 978 979commit 65d89342f59cfc2eac9bf8010076b937f22554e8 980Author: Benno Schulenberg <bensberg@telfort.nl> 981Date: Mon Oct 31 12:50:11 2022 +0100 982 983 nls: remove two compose sequences that use deprecated symbols 984 985 The last few occurrences of `leftcaret` and `rightcaret` were replaced 986 with `less` and `greater` in xkeyboard-config half a year ago. 987 988commit 6baccbae5324e7342cb5176cae82f463a6b34eae 989Author: Benno Schulenberg <bensberg@telfort.nl> 990Date: Mon Oct 31 12:40:12 2022 +0100 991 992 nls: let `<Multi_key> <minus> <underscore>` compose U+2212 (MINUS SIGN) 993 994 There was not yet any way to compose the Unicode minus sign, U+2212. 995 996commit 79775575418fd6f8ee1c5e5bbe403df4606fb5b6 997Author: Adam Jackson <ajax@redhat.com> 998Date: Fri Aug 5 15:19:08 2022 -0400 999 1000 Allow X*IfEvent() to reenter libX11 1001 1002 The documentation for this family of functions very clearly says not to 1003 call into xlib in your predicate function, but historically single 1004 threaded apps could get away with it just fine, and now that we've 1005 forced thread-safety on the world such apps will now deadlock instead. 1006 That's not an acceptable regression even if the app is technically 1007 broken. This has been reported with XFCE and FVWM, and Motif's 1008 cut-and-paste code has the same bug by inspection, so this does need to 1009 be addressed. 1010 1011 This change nerfs LockDisplay/UnlockDisplay while inside the critical 1012 bit of an IfEvent function. This is still safe in the sense that the 1013 display remains locked and no other thread should be able to change it 1014 from under us, but the loop that scans the event queue might not be 1015 robust against it being modified as a side effect of protocol emitted by 1016 the predicate callback. But that's not new, non-XInitThreads'd xlib 1017 would have the same caveat. 1018 1019 Closes: xorg/lib/libx11#157 1020 1021commit 0d1d65bdd98966f52bcac4077f94827b20b229dd 1022Author: Benno Schulenberg <bensberg@telfort.nl> 1023Date: Fri Oct 21 12:18:25 2022 +0200 1024 1025 nls: change <Compose> <^> <-> to mean superscript minus instead of macron 1026 1027 Several other `<Multi_key> <asciicircum> <symbol>` sequences 1028 produce the superscript equivalent of the given symbol. So, 1029 let `<Multi_key> <asciicircum> <minus>` do the same. 1030 1031 Also, add two other sequences for producing a plain macron, 1032 to compensate a bit the loss of the above sequence. 1033 1034 Additionally, make `<Multi_key> <underscore> <minus>` produce 1035 a subscript minus, for consistency. 1036 1037 This fixes issue #165. 1038 1039 Requested-by: J. McWilliams 1040 1041 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1042 1043commit 310898270787c1a3a6ab50221324f8654dddce8e 1044Author: Jan Tojnar <jtojnar@gmail.com> 1045Date: Thu Oct 20 07:10:58 2022 +0000 1046 1047 nls: Map sr locales to sr_RS compose files 1048 1049 Serbian used sr_YU (Yugoslavia) code in the past. 1050 Then it was succeeded by sr_CS (Serbia and Montenegro). 1051 Finally, it was split into sr_RS (Serbia) and sr_ME (Montenegro). 1052 1053 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 1054 introduced the modern sr_RS and sr_ME codes. 1055 1056 Next, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/40761898692e5063957bfa2518cca3d35b2e354a 1057 added the Serbian compose table but only for the legacy sr_CS entry. 1058 1059 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/5cd60398b7787297008b13a848ed3cfbd7ef178d 1060 removed the legacy sr_CS entry, the only one pointing to the correct compose file. 1061 It also renamed the file to sr_RS, but did not update the compose mapping. 1062 1063 Let’s point all Serbian locales to the Compose file again. 1064 1065commit a35d706cd8dc7b498bca2a3fc4a3732047439ed7 1066Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1067Date: Fri Oct 14 13:40:37 2022 -0700 1068 1069 COPYING: remove notice for the removed UIThrStubs.c 1070 1071 Fixes: 701e9e9a ("Use same pthread-stubs as libxcb") 1072 1073 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1074 1075commit 3b1750e982fedce0d61bface68aadcd5b1ea1fae 1076Author: Benno Schulenberg <bensberg@telfort.nl> 1077Date: Fri Oct 14 09:28:42 2022 +0200 1078 1079 nls: delete two compose sequences with an anomalous post-fixed breve 1080 1081 Two years ago, commit b126bfd7fe allowed using also a lowercase `u` 1082 wherever an uppercase `U` was used to represent a breve. But the 1083 commit should have limited itself to only the prefixed uses of `U`, 1084 as that is how most letters with a breve are composed. 1085 1086 Also, group the two compose sequences with an uppercase post-fixed `U` 1087 together with the corresponding other post-fixed sequences. 1088 1089 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1090 1091commit 701e9e9afb88bdc68c84a4611adc533400a3df36 1092Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1093Date: Tue Oct 4 11:24:57 2022 -0700 1094 1095 Use same pthread-stubs as libxcb 1096 1097 Avoid conflicts when libX11 calls libxcb and gets its pthread functions 1098 overriding our ancient stubs. 1099 1100 v2: Keep linking with real threads libraries when thread safety 1101 constructor is enabled. 1102 1103 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1104 1105commit 1d11822601fd24a396b354fa616b04ed3df8b4ef 1106Author: Thomas E. Dickey <dickey@invisible-island.net> 1107Date: Tue Oct 4 18:26:17 2022 -0400 1108 1109 fix a memory leak in XRegisterIMInstantiateCallback 1110 1111 Analysis: 1112 1113 _XimRegisterIMInstantiateCallback() opens an XIM and closes it using 1114 the internal function pointers, but the internal close function does 1115 not free the pointer to the XIM (this would be done in XCloseIM()). 1116 1117 Report/patch: 1118 1119 Date: Mon, 03 Oct 2022 18:47:32 +0800 1120 From: Po Lu <luangruo@yahoo.com> 1121 To: xorg-devel@lists.x.org 1122 Subject: Re: Yet another leak in Xlib 1123 1124 For reference, here's how I'm calling XRegisterIMInstantiateCallback: 1125 1126 XSetLocaleModifiers (""); 1127 XRegisterIMInstantiateCallback (compositor.display, 1128 XrmGetDatabase (compositor.display), 1129 (char *) compositor.resource_name, 1130 (char *) compositor.app_name, 1131 IMInstantiateCallback, NULL); 1132 1133 and XMODIFIERS is: 1134 1135 @im=ibus 1136 1137 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 1138 1139commit 1f8fd7ff1cf688ec1d3b34397c6d58110bb0cae5 1140Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1141Date: Mon Sep 26 16:01:40 2022 -0700 1142 1143 If thread-safety-constructor is enabled, link against pthreads not stubs 1144 1145 Only really makes a difference if pthreads is not in libc. 1146 1147 Fixes: #162 1148 1149 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1150 Reviewed-by: Adam Jackson <ajax@redhat.com> 1151 1152commit bfe5d2dd98f705438b0cdddbbf9c12882da89bae 1153Author: Thomas E. Dickey <dickey@invisible-island.net> 1154Date: Sun Sep 11 11:44:41 2022 -0400 1155 1156 reduce compiler warnings with casts (no object change) 1157 1158 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 1159 1160commit 926f2454bca9a7a7d1f4cf0648b0c193f5cef644 1161Author: Thomas E. Dickey <dickey@invisible-island.net> 1162Date: Sun Sep 11 10:35:31 2022 -0400 1163 1164 use casts to reduce compiler warnings (no object change) 1165 1166 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 1167 1168commit dc553ff908f10832c71dc2b5ba5af7e68589218e 1169Author: Mike FABIAN <mfabian@redhat.com> 1170Date: Fri Jul 22 11:39:01 2022 +0200 1171 1172 Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE 1173 1174 https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/src/xlibi18n/lcCT.c#L58 1175 has no escape sequence for KOI8-R. 1176 That makes Xutf8TextListToTextProperty() sometimes fail when trying to 1177 convert to COMPOUND_TEXT and when the KOI8-R charset is tried. 1178 1179 This is the cause for this bug: 1180 1181 https://github.com/ibus/ibus/issues/2422 1182 1183 Removing the KOI8-R charset entry fixes the problem. 1184 1185 This commit also fixes a few wrong texts in comments. 1186 1187 Signed-off-by: Mike FABIAN <mfabian@redhat.com> 1188 1189commit 1c04ac514196db5e2255d99635fb6e3c36be330d 1190Author: Adam Sampson <ats@offog.org> 1191Date: Sun Jul 4 23:02:04 2021 +0100 1192 1193 xkb: Fix off-by-one error in XKeycodeToKeysym 1194 1195 The code here that made indexes greater than 3 refer to XKB symbol 1196 groups had an off-by-one error, so it would always leave out the symbol 1197 that should have been at index 4. Rewrite the code to fix this and 1198 simplify the logic a bit. 1199 1200 Signed-off-by: Adam Sampson <ats@offog.org> 1201 1202commit ddaacd219609104f138006db6a8f708226db3874 1203Author: Thomas E. Dickey <dickey@invisible-island.net> 1204Date: Fri Sep 9 20:17:35 2022 -0400 1205 1206 reduce compiler warnings for macros BufAlloc, Data and Data32 using casts 1207 1208 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 1209 1210commit 62c3337d89d31e0d3ed807004e73ad711fad3342 1211Author: Kirill Chibisov <contact@kchibisov.com> 1212Date: Thu Sep 8 22:50:30 2022 +0000 1213 1214 ximcp/imRm.c: allow XNSpotLocation with OnTheSpot 1215 1216commit 1272879074ad9612314858a75cf844783c1963b2 1217Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1218Date: Thu Jul 28 17:30:21 2022 -0700 1219 1220 gitlab CI: stop requiring Signed-off-by in commits 1221 1222 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1223 1224commit 38033b073f393564acf6a04501927002b2b4aa86 1225Author: David H. Gutteridge <david@gutteridge.ca> 1226Date: Mon Jul 25 19:30:19 2022 -0400 1227 1228 configure.ac: report thread safety constructor build status 1229 1230 Signed-off-by: David H. Gutteridge <david@gutteridge.ca> 1231 1232commit 9a90b3a63d02da92dc8692ed3f6269d3e0c7c8cc 1233Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1234Date: Sun Jul 10 11:55:11 2022 -0700 1235 1236 doc: Document possible return values for XkbGetKeyboard() 1237 1238 Fixes: #160 1239 1240 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1241 1242commit 0beb0cf46ae48b0d4322ff8a0221f47bdb7d2296 1243Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1244Date: Sun Jul 10 11:42:19 2022 -0700 1245 1246 xkb: set num_keys when filling in keys in _XkbReadGetNamesReply() 1247 1248 Fixes: #160 1249 1250 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1251 1252commit 487e9489d1e086cc62c53045206ab6d6d9d02031 1253Author: Jon Turney <jon.turney@dronecode.org.uk> 1254Date: Wed Jun 22 16:15:37 2022 +0100 1255 1256 Fix Win32 build with -fno-common 1257 1258 /work/xorg/lib/libX11/src/XlibInt.c:1968: multiple definition of `_Xdebug_p'; .libs/globals.o:globals.c:(.bss+0xc): first defined here 1259 1260 Avoid redundant definition of _Xdebug_p in globals.c (which is under the 1261 influence of _Xdebug being #defined to _Xdebug_p. 1262 1263 This appears to be an ancient hack to work around data exports resolving 1264 to the address of the import stub, not the import. (See [1]). 1265 1266 (This is probably no longer needed or can be done in a better way, as 1267 per the discussion under --enable-auto-import in the ld manpage.) 1268 1269 [1] https://cygwin.com/pipermail/cygwin-xfree/2001-May/004606.html 1270 1271 Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> 1272 1273commit 35ad99fad2f65ec2c69bd84bdeb8138329092b57 1274Author: Benno Schulenberg <bensberg@telfort.nl> 1275Date: Fri Jul 15 11:29:46 2022 +0200 1276 1277 nls: add four sequences for the Samogitian E with dot above and macron 1278 1279 These sequences each produce two code points: the E-with-dot-above and 1280 a combining macron. The XIM input method is required for this to work. 1281 1282 (Also add a missing comment for a Unicode block.) 1283 1284 This fixes issue #54. 1285 1286 Requested-by: Arns Udovīčė 1287 1288 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1289 1290commit 2732dd20cc2694dd5c32fef292e1f48626011032 1291Author: Benno Schulenberg <bensberg@telfort.nl> 1292Date: Wed Jul 6 16:44:50 2022 +0200 1293 1294 nls: delete eight sequences that pointlessly mix upper and lower case 1295 1296 Typing a compose sequence requires some care -- surely the user is able 1297 to either keep holding the Shift key or not touch it at all while typing 1298 the sequence. Also, compose sequences are not an infinite resource AND 1299 take up space and time -- defining redundant ones is a waste. 1300 1301 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1302 1303commit ea3cc474e1acfed47b9fb856ea151008fa6cfd30 1304Author: Benno Schulenberg <bensberg@telfort.nl> 1305Date: Wed Jul 6 16:36:48 2022 +0200 1306 1307 nls: add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ 1308 1309 This allows the user to type the symbols for the five number systems. 1310 1311 This fixes the reasonable part of issue #159. 1312 1313 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1314 1315commit 95a03cde434c447fdb41d8cccbbdd41f20750f32 1316Author: Benno Schulenberg <bensberg@telfort.nl> 1317Date: Thu Jul 14 12:00:45 2022 +0200 1318 1319 nls: delete some pointless and wrong compose sequences meant for Bépo 1320 1321 Fourteen years ago, commit 7302984642 added some four hundred compose 1322 sequences for the benefit of the French Bépo layout. But among these 1323 four hundred there are several that use symbols that are not available 1324 in the Bépo layout and are thus impossible to type. Some of the used 1325 symbols, like Ahook, Ehook and Ohook, are not even present in *any* 1326 layout, making these sequences a dead weight in the Compose file. 1327 1328 The Amacron and Omacron are available only in the Latvian, Hawaiian, 1329 and Maori layouts, and the Omacron also in the Silesian layout. But 1330 the Latvian layouts and the Hawaiian do not contain any dead keys. 1331 Only in the Maori and Silesian layouts these sequences with Amacron 1332 and Omacron could be typed, but that was not why they were added. 1333 1334 More importantly, as James Cloos noted in issue #54, sequences like 1335 `<dead_abovedot> <amacron>` for generating `ǡ` (that is: the macron 1336 above the dot) are questionable, as in compose sequences generally 1337 the first accent typed is the uppermost in the composed character. 1338 1339 Reference: 1340 https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/54#note_17321 1341 1342 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1343 1344commit 9702b836862da6838d725f555e7a1d83faf51740 1345Author: Matthieu Herrb <matthieu@herrb.eu> 1346Date: Fri Jul 1 11:13:13 2022 +0200 1347 1348 Mention that the predicate function is called with the display lock 1349 1350 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 1351 1352commit a5d00f889fadad3f5b11e53fd5c04cf5343fa8a2 1353Author: Benno Schulenberg <bensberg@telfort.nl> 1354Date: Fri Jun 24 16:20:52 2022 +0200 1355 1356 docs: replace three placeholders with something that makes sense 1357 1358 Also, uncapitalize two arguments, to match the style of all others. 1359 1360 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1361 1362commit 9ff8502040e94cb172426d59df722cefa752a401 1363Author: Benno Schulenberg <bensberg@telfort.nl> 1364Date: Fri Jun 24 16:07:22 2022 +0200 1365 1366 docs: remove the unsightly dashes from the overviews of arguments 1367 1368 Seventeen months ago, commits 78027fdb7a and 4f15cfc645 removed 1369 these dashes from two of the man pages. Now, remove them all. 1370 They are unhelpful and just make one wonder why they are there 1371 (probably to function as improvised bullet points). 1372 1373 Also remove four leading spaces and a trailing comma. 1374 1375 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1376 1377commit a7968c47e35703446d67d070234fd9adf07f34b0 1378Author: Benno Schulenberg <bensberg@telfort.nl> 1379Date: Thu Jun 23 15:48:05 2022 +0200 1380 1381 docs: hard-wrap some items so that Table 2 fits within 80 characters 1382 1383 (Table 1 hard-wraps the first-column items in the same way.) 1384 1385 Also, correct the formatting of the subsequent paragraph. 1386 1387 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1388 1389commit c601c779ca8f46dc4335180ec2829851fb8bbc13 1390Author: Benno Schulenberg <bensberg@telfort.nl> 1391Date: Wed Jun 15 10:55:38 2022 +0200 1392 1393 nls: delete compose sequences that mix top-row digits with numpad digits 1394 1395 Compose sequences for circled numbers, like ⑫ or ㉑, are nice to have, 1396 but allowing them to be composed by typing one digit on the top row and 1397 the other on the numerical keypad (or the other way around) is over the 1398 top. Remove these absurd sequences. Keep only the sequences where both 1399 digits are either on the top row or on the numerical keypad. 1400 1401 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1402 1403commit 3a30ada60c5217ada37b143b541c8e6f6284c7fa 1404Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1405Date: Wed Jun 8 17:30:14 2022 -0700 1406 1407 libX11 1.8.1 1408 1409 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1410 1411commit 70f7403fd3bf362fc50b8de4a2e26300f757c68e 1412Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1413Date: Tue May 3 14:45:05 2022 -0700 1414 1415 configure.ac: Fix --enable-thread-safety-constructor 1416 1417 Prior to this, --enable-thread-safety-constructor would disable it, 1418 while --disable worked as expected, and no option left it enabled as 1419 expected by default. This also fixes the --help text to be displayed. 1420 1421 Fixes: afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 1422 Reported-by: @igor.v.kovalenko 1423 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1424 Reviewed-by: Adam Jackson <ajax@redhat.com> 1425 1426commit d0da5a1e0fb214ff911ecff86d35f6673ff70023 1427Author: Adam Jackson <ajax@redhat.com> 1428Date: Fri Apr 29 11:27:44 2022 -0400 1429 1430 libX11 1.8 1431 1432 Minor number bump to reflect the thread safety default change. 1433 1434 Signed-off-by: Adam Jackson <ajax@redhat.com> 1435 1436commit afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 1437Author: Adam Jackson <ajax@redhat.com> 1438Date: Tue Mar 22 18:24:29 2022 -0400 1439 1440 global: call XInitThreads() from the library's constructor 1441 1442 There is really no point in not being thread safe, I measured, all you 1443 can see happen is noop performance gets like twice as slow and you have 1444 thread safety bugs. And we're using xcb as the transport which means we 1445 should expect threads in our clients anyway. Just do it. 1446 1447 This assumes your compiler understands __attribute__((constructor)). If 1448 this is not your compiler, you can disable this with the appropriate 1449 configure flag, but be aware you're asking for bugs. 1450 1451 Signed-off-by: Adam Jackson <ajax@redhat.com> 1452 1453commit 1ab48f3cc966751d86e434808180beb2dc76c4fa 1454Author: Benno Schulenberg <bensberg@telfort.nl> 1455Date: Sun Apr 24 15:06:45 2022 +0200 1456 1457 docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5 1458 1459 They were forgotten when those releases were made. 1460 1461 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1462 1463commit 35d1513bc7fdd3ac6f5807feb601efc34ac19163 1464Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1465Date: Sat Apr 16 13:04:23 2022 -0700 1466 1467 XkbOpenDisplay: Add _Xconst qualifier to display name argument 1468 1469 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1470 1471commit c88ceaad4aaa0439e5cba13c1f5737ad54566e0b 1472Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1473Date: Sat Apr 16 12:59:39 2022 -0700 1474 1475 XKBgeom.h: Add _Xconst qualifier to char * arguments in functions 1476 1477 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1478 1479commit 0ce4425826074b12a58ced432f9d6fb346474737 1480Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1481Date: Sat Apr 16 12:20:51 2022 -0700 1482 1483 XKBgeom.h: Remove XKB_IN_SERVER section 1484 1485 The Xserver made its own copy of this file in 2008, and the API's are 1486 no longer the same between the server and client forks. 1487 1488 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1489 1490commit be8c01946ab1a1d4b79fdc5358541d630f14dc0a 1491Author: Benno Schulenberg <bensberg@telfort.nl> 1492Date: Wed Apr 20 09:29:09 2022 +0200 1493 1494 lcCT: use the correct index for checking the second byte 1495 1496 (Not that it will make any difference, as the checking of these 1497 high bits looks like an excess of precaution.) 1498 1499 This fixes issue #134. 1500 1501 Reported-by: Rafał Mikrut 1502 1503 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1504 1505commit 488b156fe2cc8aca6946a49236ec7b7698fceda4 1506Author: Benno Schulenberg <bensberg@telfort.nl> 1507Date: Fri Feb 25 16:35:46 2022 +0100 1508 1509 nls: make the Ethiopian compose sequences actually work 1510 1511 In the Ethiopian keyboard layout, the dead vowel keys do not produce <e> 1512 and <u> and so on, but instead produce <U+FE69> and <U+FE75> and so on, 1513 so the compose sequences should use those latter code points. 1514 1515 Also, include the basic compose sequences from en_US.UTF-8/Compose, 1516 so that, when switching to a different layout in the Ethiopian locale, 1517 all the usual compose sequences work too. 1518 1519 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1520 1521commit e6f98a3dbd82928e10adaf9d034dc574af1de6e5 1522Author: Benno Schulenberg <bensberg@telfort.nl> 1523Date: Mon Apr 18 17:24:55 2022 +0200 1524 1525 nls: add Multi-key sequences for abovedot, diaeresis, and ogonek 1526 1527 These accents by themselves could only be produced when one had a 1528 dead key for them, not with the help of the Multi key. 1529 1530 [Note that the sequences <dead_acute> <space> for apostrophe (') 1531 and <dead_diaeresis> <space> for double quote (") are anomalies, 1532 as normally <dead_accent> <space> produces the accent itself.] 1533 1534 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1535 1536commit d323704e7c57f9ac7fdfea3dc9fa73bf943e72d3 1537Author: Benno Schulenberg <bensberg@telfort.nl> 1538Date: Mon Apr 18 16:57:35 2022 +0200 1539 1540 nls: remove eight pointless self-producing compose sequences 1541 1542 Compose sequences are meant to produce certain symbols by combining 1543 certain different symbols, not to produce a symbol with the help of 1544 the symbol itself. 1545 1546 This fixes issue #59. 1547 1548 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1549 1550commit 3b62c0322c112c03597d850197dbce22d1830bb7 1551Author: Benno Schulenberg <bensberg@telfort.nl> 1552Date: Fri Feb 25 14:12:02 2022 +0100 1553 1554 nls: remove misplaced sequences from Ethiopian and Greek compose files 1555 1556 The Khmer digraphs and Arabic ligatures have nothing to do with 1557 Amharic or Greek. 1558 1559 (Also rewrap a comment and correct two others.) 1560 1561 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1562 1563commit 479af78f2e5caaf9b98a35ae5ff4ccdd2f040289 1564Author: Benno Schulenberg <bensberg@telfort.nl> 1565Date: Fri Feb 25 14:05:35 2022 +0100 1566 1567 nls: remove redundant Khmer digraphs, already defined in included file 1568 1569 This fixes issue #160. 1570 1571 Reported-by: Mike Fabian 1572 1573 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1574 1575commit 6d7d08726f4b0c517041842b27cd7e66e8f371eb 1576Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1577Date: Sun Apr 10 14:51:55 2022 -0700 1578 1579 XkbUpdateKeyTypeVirtualMods: always initialize mask 1580 1581 XkbVirtualModsToReal should only fail to set mask if the server does 1582 not support XKB, but it still made Oracle Parfait complain: 1583 1584 Error: Uninitialised memory 1585 Uninitialised memory variable [uninitialised-mem-var] (CWE 457): 1586 Possible access to uninitialised memory referenced by variable 'mask' 1587 at line 863 of lib/libX11/src/xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'. 1588 Path in callee avoiding write at line 862 1589 mask allocated at line 860 1590 1591 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1592 1593commit 9ac6859c20be2fc5e70c2908de60c6e466ec04e1 1594Author: Matt Turner <mattst88@gmail.com> 1595Date: Sun Apr 3 10:15:30 2022 -0700 1596 1597 libX11 1.7.5 1598 1599 Signed-off-by: Matt Turner <mattst88@gmail.com> 1600 1601commit 76d1cc3c1ce943c6ff81dc8c62a1d1b30fabf02e 1602Author: Simon McVittie <smcv@debian.org> 1603Date: Sun Apr 3 14:23:36 2022 +0100 1604 1605 Don't try to destroy NULL condition variables 1606 1607 This avoids a segfault during error-unwinding if an invalid display name 1608 is passed to XOpenDisplay(). 1609 1610 Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()" 1611 Resolves: #155 1612 Signed-off-by: Simon McVittie <smcv@debian.org> 1613 1614commit 80b30d12519ac54fc5b2b05500521d9c8269be9c 1615Author: Matt Turner <mattst88@gmail.com> 1616Date: Wed Mar 30 13:54:13 2022 -0700 1617 1618 libX11 1.7.4 1619 1620 Signed-off-by: Matt Turner <mattst88@gmail.com> 1621 1622commit 8a368d808fec166b5fb3dfe6312aab22c7ee20af 1623Author: Hodong <hodong@yozmos.com> 1624Date: Thu Jan 20 00:57:41 2022 +0900 1625 1626 Fix two memory leaks in _XFreeX11XCBStructure() 1627 1628 Even when XCloseDisplay() was called, some memory was leaked. 1629 1630 XCloseDisplay() calls _XFreeDisplayStructure(), which calls 1631 _XFreeX11XCBStructure(). 1632 1633 However, _XFreeX11XCBStructure() did not destroy the condition variables, 1634 resulting in the leaking of some 40 bytes. 1635 1636 Signed-off-by: Hodong <hodong@yozmos.com> 1637 1638commit da97120f2322882a17f14e5d7da00c1e772679e8 1639Author: Adam Jackson <ajax@redhat.com> 1640Date: Tue Mar 22 14:32:49 2022 -0400 1641 1642 xcb: Clarify the XInitThreads error message 1643 1644 XInitThreads has been called if _Xglobal_lock != NULL, we may as well 1645 check that before printing a misleading error message. 1646 1647 Signed-off-by: Adam Jackson <ajax@redhat.com> 1648 1649commit 257927c51b08242aa5bf239346717fc817b2b286 1650Author: Giovanni Mascellani <gmascellani@codeweavers.com> 1651Date: Fri Feb 4 10:49:25 2022 +0100 1652 1653 xcb_io: Allow jumps backwards when widening the request number. 1654 1655 Request numbers are not always seen in the numeric order by widen(), 1656 for example due to Mesa directly calling _XError(). When this happens, 1657 widen() adds 2^32 to the reported widened number, triggering failed 1658 assertions and bad behavior. 1659 1660 With this commit, wrapping of the lower dword is detected in a more 1661 robust way, by requiring that a skip of at least 2^31 is seen. 1662 1663 This fixes issue #152. 1664 1665 Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> 1666 1667commit 918063298cb893bee98040c9dca45ccdb2864773 1668Author: Benno Schulenberg <bensberg@telfort.nl> 1669Date: Thu Mar 3 12:00:45 2022 +0100 1670 1671 nls: add a compose sequence for the peace symbol 1672 1673 As the thing in the circle looks a bit like an upside-down Y, 1674 use <O> <Y> as the sequence, similar to <O> <A> for anarchism. 1675 1676 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1677 1678commit 4f9eb32709dca705f02ca771bbd47d6c08aba5e0 1679Author: Benno Schulenberg <bensberg@telfort.nl> 1680Date: Fri Feb 25 12:45:06 2022 +0100 1681 1682 nls: remove obsolete locale aliases with uppercase in the language code 1683 1684 (These aliases may have been useful on some systems twenty years ago, 1685 but nowadays all should have settled on lowercase language code plus 1686 uppercase country code.) 1687 1688 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1689 1690commit ba0d3b437deb2212bc7fc7c6f1c603fa6ced443c 1691Author: Benno Schulenberg <bensberg@telfort.nl> 1692Date: Fri Feb 25 12:35:28 2022 +0100 1693 1694 nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias 1695 1696 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1697 1698commit cfddb79981f23650feb0f9a0f4442c9cad584b33 1699Author: Benno Schulenberg <bensberg@telfort.nl> 1700Date: Fri Feb 25 12:12:05 2022 +0100 1701 1702 nls: remove the mistaken eo_EO names -- EO is not a valid country code 1703 1704 (Debian has had several of these lines commented out for years.) 1705 1706 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1707 1708commit eb5885245a1ba6955d058a03e31894c23b9f5490 1709Author: iyzana <iyzana@protonmail.com> 1710Date: Mon Feb 21 13:20:23 2022 +0100 1711 1712 nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8 1713 1714 There is no matching locale in the locale.dir and compose.dir files for 1715 the locale eo.UTF-8. Setting it as the locale resulted in compose files 1716 not being loaded. 1717 1718 Signed-off-by: iyzana <iyzana@protonmail.com> 1719 1720commit 24df23dff9d8c1cf5e918a5f040b852bdf2cfb84 1721Author: Benno Schulenberg <bensberg@telfort.nl> 1722Date: Thu Feb 3 17:19:05 2022 +0100 1723 1724 nls: group the compose sequences for tilde, degree, and cedilla together 1725 1726 Also, correct the comment for the double quote character ("), and move 1727 the soft hyphen and the interrobangs to a special punctuation group. 1728 1729 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1730 1731commit c0191f020f94907770937bc8ae67ea8acd7d63be 1732Author: Benno Schulenberg <bensberg@telfort.nl> 1733Date: Thu Feb 3 16:33:05 2022 +0100 1734 1735 nls: use shape-based compose sequences for hammer-and-sickle instead 1736 1737 Using a misspelled abbreviation (CCCP) of an obsolete country's name 1738 to compose a fairly general communist symbol does not seem right. 1739 1740 https://en.wikipedia.org/wiki/Hammer_and_sickle 1741 1742 Many compose sequences instead combine characters that together look 1743 similar to the target character. Do the same here: question mark (?) 1744 plus backslash (\) look a bit like ☭ . 1745 1746 In the bargain, this fixes issue #63. 1747 1748 Reported-by: Marc Mezzarobba 1749 1750 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1751 1752commit 582dc6f89e1f9288710a55cb2b8fbf2af99d7616 1753Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1754Date: Sun Feb 20 11:49:42 2022 -0800 1755 1756 gitlab CI: enable Static Application Security Testing (SAST) 1757 1758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1759 1760commit 336e8f72559b489396c5cd503c4586ef800c2a8f 1761Author: Benno Schulenberg <bensberg@telfort.nl> 1762Date: Sun Feb 20 15:06:02 2022 +0100 1763 1764 nls: add compose sequences for leftward, upward and downward double arrow 1765 1766 These sequences follow the logic of: the arrow shaft (=) first, the 1767 arrow head (< or > or ^ or v) second. This is so because the sequence 1768 <= is already taken for ≤, and there is no obvious ASCII character for 1769 a double vertical line, so we have to make do with a horizontal one. 1770 1771 Since commit 6101b967b6 from eight years ago, there is a compose sequence 1772 for the rightward double arrow, but not for the other three directions. 1773 1774 This fixes issue #138. 1775 1776 Requested-by: Mélanie Chauvel 1777 1778 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1779 1780commit 623b77d4f30b47258a40f89262e5aa5d25e95fa7 1781Author: Benno Schulenberg <bensberg@telfort.nl> 1782Date: Mon Feb 14 11:33:25 2022 +0100 1783 1784 imDefLkup: verify that a pointer isn't NULL before using it 1785 1786 It is possible for _XimICOfXICID() to return NULL, so it is necessary 1787 to check this isn't actually the case before dereferencing the pointer. 1788 All other callers of _XimICOfXICID() do this check too. 1789 1790 (The check itself is ugly, but it follows the style of the code in the 1791 rest of the module.) 1792 1793 Fixes issue #45. 1794 1795 Reported-by: Bhavi Dhingra 1796 1797 Original-patch-by: Bhavi Dhingra 1798 1799 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1800 1801commit b83938f7f97aa6210b00835002e6e7d614b2374a 1802Author: Christopher Chavez <chrischavez@gmx.us> 1803Date: Mon Feb 14 01:00:45 2022 +0000 1804 1805 Xlib.h: fix spelling in comment 1806 1807 Signed-off-by: Christopher Chavez <chrischavez@gmx.us> 1808 1809commit 4791055682552b4cc8e775479700fb06980d0b59 1810Author: Christopher Chavez <chrischavez@gmx.us> 1811Date: Sun Feb 13 05:26:14 2022 +0000 1812 1813 Xlib.h: spelling fix in comment 1814 1815commit 9304e645bdcdd3a71ff449a1157c4815e6304d7a 1816Author: Denis Drakhnia <numas13@gmail.com> 1817Date: Wed Feb 2 11:54:43 2022 +0200 1818 1819 nls: Add ru_UA.utf8 locale alias. 1820 1821 Signed-off-by: Denis Drakhnia <numas13@gmail.com> 1822 1823commit 9ef2551f0c201f9163b66d17189a98076b5be07a 1824Author: Benno Schulenberg <bensberg@telfort.nl> 1825Date: Wed Feb 2 16:50:35 2022 +0100 1826 1827 nls: do some manual adjustment of whitespace in the compose sequences 1828 1829 This achieves a more consistent vertical alignment (per group) of the 1830 target character and the trailing comments. 1831 1832 (Most blocks were aligned in some fashion, except the "Greek Extended" 1833 block, which has lines of greatly varying lengths.) 1834 1835 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1836 1837commit 0dad289ead6eb3412027c9365192441cc539d747 1838Author: Benno Schulenberg <bensberg@telfort.nl> 1839Date: Wed Feb 2 14:08:22 2022 +0100 1840 1841 nls: among the compose sequences, replace all runs of spaces with tabs 1842 1843 It was done with this script: 1844 1845 cat nls/en_US.UTF-8/Compose.pre | 1846 sed 's!\(^<.\{6,13\}>\)\s*:!\1\t\t\t\t:!' | 1847 sed 's!\(^<.\{14,21\}>\)\s*:!\1\t\t\t:!' | 1848 sed 's!\(^<.\{22,29\}>\)\s*:!\1\t\t:!' | 1849 sed 's!\(^<.\{30,37\}>\)\s*:!\1\t:!' | 1850 sed 's!\(: ".*"\)\s*!\1\t!' | 1851 sed 's!\(\s*# \)! # !' > trimmed && 1852 mv trimmed nls/en_US.UTF-8/Compose.pre 1853 1854 This saves 37 kilobytes of whitespace. 1855 1856 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1857 1858commit fc79e39c236501357e1fdbe8964882864eeef5d3 1859Author: Benno Schulenberg <bensberg@telfort.nl> 1860Date: Wed Feb 2 14:06:29 2022 +0100 1861 1862 docs: add missing word, wrap line, fix typo, and trim an excess space 1863 1864 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1865 1866commit 93446455c46dfc019984ab822ffa662cf6e2949c 1867Author: Benno Schulenberg <bensberg@telfort.nl> 1868Date: Thu Jan 27 15:01:18 2022 +0100 1869 1870 KeyBind: reshuffle two ifs into the general order of ascending codes 1871 1872 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1873 1874commit 93f15f5f29378ec4cc1dd011b155104e9a52b058 1875Author: Benno Schulenberg <bensberg@telfort.nl> 1876Date: Thu Jan 27 14:27:41 2022 +0100 1877 1878 KeyBind: slightly speed up some case conversions by adding missing returns 1879 1880 This avoids pointlessly tumbling through several more ifs when the 1881 conversion has aleady been done. 1882 1883 Also remove two redundant conditions (as lower codes have already 1884 been handled) and fold two other conditions together. 1885 1886 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1887 1888commit 317c7abbcc848011393d1336b9d020af8cabb000 1889Author: Benno Schulenberg <bensberg@telfort.nl> 1890Date: Thu Jan 27 13:54:29 2022 +0100 1891 1892 KeyBind: update the Greek case-conversion tables to Unicode Data 14.0 1893 1894 A few symbols, like Heta and Sampi and dotted lunate Sigma, have been 1895 assigned code points since Unicode Data 4.0, and need their entries. 1896 1897 This fixes issue #132. 1898 1899 Reported-by: Ray Vine 1900 1901 Original-patch-by: Ray Vine 1902 1903 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1904 1905commit 402b843fa72166d9ceefd887f5cea4728cbc6995 1906Author: Benno Schulenberg <bensberg@telfort.nl> 1907Date: Wed Jan 26 17:20:28 2022 +0100 1908 1909 remove a commented-out code fragment, and remove a stray blank line 1910 1911 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1912 1913commit fbbc3cf8b8b03f74f778772d4703fc4fec242282 1914Author: Benno Schulenberg <bensberg@telfort.nl> 1915Date: Wed Jan 26 16:55:50 2022 +0100 1916 1917 XKBCvt: remove an if that never gets triggered 1918 1919 The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols 1920 from the numeric keypad and some control symbols to pass -- XK_hyphen 1921 is not among them, so the check for XK_hyphen in the later 'if' will 1922 always be false. 1923 1924 (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was 1925 removed in March 1994.) 1926 1927 (Also, several keyboard layouts nowadays contain the 'hyphen' symbol, 1928 allowing the user to enter soft hyphens into a document. So we really 1929 don't want to remap this symbol.) 1930 1931 Fixes issue #48. 1932 1933 Reported-by: Bhavi Dhingra 1934 1935 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1936 1937commit 6786744f636b3fc545157a13cb2f6169b5be9fa5 1938Author: Benno Schulenberg <bensberg@telfort.nl> 1939Date: Sun Jan 23 17:12:03 2022 +0100 1940 1941 nls: add the es_CU locale name, for Cuba 1942 1943 It was added to glibc ten years ago. 1944 1945 This fixes issue #57. 1946 1947 Reported-by: Dominique Michel 1948 1949 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1950 1951commit d241d8af7f24e95949c2cf7ce791e35df7665e98 1952Author: Benno Schulenberg <bensberg@telfort.nl> 1953Date: Sun Jan 23 16:44:03 2022 +0100 1954 1955 nls: remove some obsolete Norwegian and Yugoslavian locale names 1956 1957 They have not existed in glibc for more than fifteen years. 1958 1959 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1960 1961commit 32dd7c03e92e01015744867b9b3148c250cc159a 1962Author: Benno Schulenberg <bensberg@telfort.nl> 1963Date: Sat Jan 22 17:56:32 2022 +0100 1964 1965 nls: put some entries in their alphabetical order, and adjust alignment 1966 1967 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1968 1969commit 46a066f25103bb909259baea25de8dd5c4a2b338 1970Author: Benno Schulenberg <bensberg@telfort.nl> 1971Date: Sat Jan 22 18:00:20 2022 +0100 1972 1973 nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment 1974 1975 The typo was only partially fixed in commit 22a5255b80 sixteen years ago, 1976 and the internet shows that there was at least one user frustrated that 1977 bg_BG.utf8 didn't work but bg_BG.UTF-8 did. 1978 1979 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1980 1981commit 84efc0aa598c8f7d6dd9a49e7450e85c8bc4773b 1982Author: Benno Schulenberg <bensberg@telfort.nl> 1983Date: Wed Jan 19 15:32:15 2022 +0100 1984 1985 nls: remove the compose sequences with the deviant KP_Space symbol 1986 1987 Using this KP_Space symbol as a stand-in for the symbol 2 doesn't make 1988 sense. It looks like a mistake, or as if someone had a broken keyboard 1989 and used KP_Space as a substitute for 2. 1990 1991 Also, no keyboard layout in the last fifteen years has contained the 1992 KP_Space symbol, so I don't see how anyone could type it. 1993 1994 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1995 1996commit b76e661ca223489da9027b0ab1ca1586efd0a280 1997Author: Benno Schulenberg <bensberg@telfort.nl> 1998Date: Wed Jan 19 13:49:56 2022 +0100 1999 2000 nls: move the block of Jamo to its logical place (ascending Unicodes) 2001 2002 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2003 2004commit 21f82fb9c69f8fdbf0bdc1aac6f8c11c2c6d55d1 2005Author: Benno Schulenberg <bensberg@telfort.nl> 2006Date: Wed Jan 19 13:40:56 2022 +0100 2007 2008 nls: delete some ineffective compose sequences (that were commented out) 2009 2010 They have never worked; there is no point in keeping them in the file. 2011 2012 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2013 2014commit 6cc31eafa8095d2117ff1906d7c14c1c01173248 2015Author: Benno Schulenberg <bensberg@telfort.nl> 2016Date: Wed Jan 19 12:18:21 2022 +0100 2017 2018 nls: group some compose sequences better, and add some comments 2019 2020 Also, align a few trailing comments more consistently, and change 2021 some comments so they will be excluded from the installed file -- 2022 there is no need for those comments there. 2023 2024 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2025 2026commit d60ede7843612f3c2967f83d629bf8272ba09ff1 2027Author: ArenaL5 <arenal5@protonmail.com> 2028Date: Thu Jan 13 01:13:56 2022 +0100 2029 2030 nls: add a compose sequence for the copyleft symbol 2031 2032 Probably not used anywhere yet, let alone seriously, as stated in 2033 https://en.wikipedia.org/wiki/Copyleft#Symbol 2034 2035 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 2036 2037commit df4dcdf9125c595f6df3a302356647cb8df38553 2038Author: Benno Schulenberg <bensberg@telfort.nl> 2039Date: Mon Jan 17 17:31:08 2022 +0100 2040 2041 nls: remove redundant compose sequences with deprecated Hebrew symbols 2042 2043 The compose sequences with the valid Hebrew key symbols are right there. 2044 2045 Also, no keyboard layout in the past seventeen years has contained these 2046 deprecated symbols on any key. 2047 2048 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2049 2050commit 4268472bd11a07a799716fb5833ea46cad3dd479 2051Author: Benno Schulenberg <bensberg@telfort.nl> 2052Date: Sun Jan 16 17:51:29 2022 +0100 2053 2054 nls: remove redundant compose sequences with the deprecated 'underbar' 2055 2056 The key symbol 'underbar' is equivalent to 'underscore' -- the mirror 2057 compose sequences with the latter symbol continue to exist. 2058 2059 Also, no keyboard layout in the past fifteen years has contained the 2060 symbol 'underbar' on any key -- except a Telugu layout since a few 2061 years, but that will be corrected soon. 2062 2063 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2064 2065commit 86e9749ef37189486c205ee7f77e43fed655ac70 2066Author: ArenaL5 <arenal5@protonmail.com> 2067Date: Sat Jan 15 16:20:56 2022 +0100 2068 2069 nls: add a compose sequence for the middle dot (·) using dead_circumflex 2070 2071 This makes the middle dot compose sequences consistent with others that 2072 begin with <dead_circumflex> and <Multi_key> <asciicircum>, e.g. 2073 superscripted 3 (³) 2074 2075 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 2076 2077commit 1adb531cd5be2b6489c2a8106e850e7418fae056 2078Author: Benno Schulenberg <bensberg@telfort.nl> 2079Date: Fri Jan 14 13:06:10 2022 +0100 2080 2081 docs: unwrap the comments of structure elements in the man pages 2082 2083 It doesn't matter that these lines get wider than 80 columns, as it's 2084 easy enough to make the pager scroll a bit to the right, or to have a 2085 terminal that is a 100 or more columns wide. It looks better to not 2086 hard-wrap these comments. 2087 2088 Also, fix the layout of two table elements. 2089 2090 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2091 2092commit da330a1644f10f9669c8dd9ee06489c40f9f0bd1 2093Author: Benno Schulenberg <bensberg@telfort.nl> 2094Date: Fri Jan 14 12:33:23 2022 +0100 2095 2096 docs: unwrap some mistakenly wrapped lines, and correct a comment 2097 2098 The wrapped lines messed up the table. Also, add some blank lines 2099 to make the table more readable. 2100 2101 Elsewhere, add spaces around an operator (for consistency), 2102 and correct a copy-paste error. 2103 2104 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2105 2106commit b9e0346abebb0c9e5c80c780bba4372419e63bde 2107Author: Benno Schulenberg <bensberg@telfort.nl> 2108Date: Fri Jan 14 15:57:56 2022 +0100 2109 2110 XKBMAlloc: use the correct first-key variable when extending a key range 2111 2112 When extending the range of changed virtual-modifier keys, one should 2113 pass the two variables relevant to that range. 2114 2115 These two mistakes were found by grepping for 'modmap_key' and then 2116 looking for asymmetries between the handling of the plain modmap thing 2117 and the virtual modmap thing. Inspired by issue #76. 2118 2119 (I suspect these mistakes were at the base of some intractable bugs 2120 reported against xkeyboard-config where virtual modifiers refused 2121 to work and had to be worked around by making other changes too.) 2122 2123 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2124 2125commit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0 2126Author: Benno Schulenberg <bensberg@telfort.nl> 2127Date: Wed Jan 12 11:34:23 2022 +0100 2128 2129 lcUTF8: remove two unneeded ifs and two elses that are never reached 2130 2131 When there is a break at the end of the while loop, it means that the 2132 loop will finish the first time that _XlcGetCharSetWithSide() returns 2133 a non-NULL result, which means that the first '(last_charset == NULL)' 2134 will always be true and the else part is redundant. 2135 2136 Fixes issue #46. 2137 2138 Reported-by: Bhavi Dhingra 2139 2140 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2141 2142commit 033f37d507801645a8251fd33c25ebd145d22cce 2143Author: Antti Savolainen <antti.savo@gmail.com> 2144Date: Wed Jan 12 16:10:21 2022 +0000 2145 2146 nls: add two compose sequences for an upwards arrow using dead_circumflex 2147 2148 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 2149 2150commit b7d724df615311c35418afc733e1fcc68c740aba 2151Author: Hodong <hodong@nimfsoft.com> 2152Date: Fri Jan 7 10:41:15 2022 +0000 2153 2154 specs/XIM: fix a missing "EXT" in the documentation 2155 2156 There was an "EXT" in the original text, but it seems to be missing. 2157 2158 See: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/4e66da0783b2e5e3b288aaecd3c89396ed425c20/specs/XIM/xim.ms#L693 2159 2160 Signed-off-by: Hodong Kim <hodong@nimfsoft.com> 2161 2162commit 4c96f3567a8d045ee57b886fddc9618b71282530 2163Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2164Date: Thu Dec 9 19:51:52 2021 -0800 2165 2166 libX11 1.7.3.1 2167 2168 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2169 2170commit c1710589bb00d6f442a383fc41f0d6496b436c88 2171Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2172Date: Tue Dec 7 08:29:43 2021 -0800 2173 2174 specs/XIM: Fix "encording" typos 2175 2176 Fixes: #145 2177 2178 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2179 2180commit e30771b4bbdd84fc7ff64a1cda483a46edb5707b 2181Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2182Date: Mon Dec 6 17:04:14 2021 -0800 2183 2184 libX11 1.7.3 2185 2186 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2187 2188commit 934417b1e89fe715b9cf6c0d62a3867fa1f5bccb 2189Author: Liang Chang <l-chang@users.sourceforge.net> 2190Date: Tue Sep 7 18:54:10 2021 +0800 2191 2192 Make Xutf8DrawString works correctly with ISO10646 fonts. 2193 2194 Signed-off-by: Liang Chang <l-chang@users.sourceforge.net> 2195 2196commit 3ad36c5d3ddca3e4c97faaf87b72a53954d1f473 2197Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2198Date: Thu Dec 2 17:48:55 2021 -0800 2199 2200 Build xz tarballs instead of bzip2 2201 2202 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2203 2204commit 93a050c3ad2d2264d3880db3791387b1a9bf2e9e 2205Author: Tatu Frisk <tatu.frisk@ge.com> 2206Date: Tue Mar 14 14:41:27 2017 +0200 2207 2208 Fix hanging issue in _XReply 2209 2210 Assume event queue is empty if another thread is blocking waiting for event. 2211 2212 If one thread was blocking waiting for an event and another thread sent a 2213 reply to the X server, both threads got blocked until an event was 2214 received. 2215 2216 Signed-off-by: Tatu Frisk <tatu.frisk@ge.com> 2217 Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> 2218 2219commit 8382253010267b93c9aeffc769e3f5e43d698094 2220Author: Matthieu Herrb <matthieu@herrb.eu> 2221Date: Mon Aug 30 21:47:09 2021 +0200 2222 2223 Avoid NULL pointer deref. Fixes issue #47. 2224 2225 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2226 2227commit 58d7b540c453601faf942c6f19f8277a5c5f78cc 2228Author: Peter Hutterer <peter.hutterer@who-t.net> 2229Date: Wed Dec 1 14:31:16 2021 +1000 2230 2231 gitlab CI: update to use the ci-fairy image 2232 2233 Let's use the pre-prepared image instead of building our own. 2234 2235 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2236 2237commit 150154c994829f9f3734a560f99f70b21d86b49c 2238Author: Hodong <hodong@nimfsoft.com> 2239Date: Sun Nov 14 06:36:42 2021 +0000 2240 2241 Fix a typo 2242 2243commit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e 2244Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 2245Date: Sun Sep 5 10:25:38 2021 +0300 2246 2247 libX11: do not crash in GetResReq() macro 2248 2249 When _XGetRequest() detects that requested length exceeds remaining display 2250 output buffer capacity it would return NULL. GetResReq() macro obtains "req" 2251 pointer from a call to _XGetRequest() and then proceeds to assign request id 2252 through "req" pointer which leads to NULL pointer dereference in this case. 2253 2254 Fix this by checking if "req" is valid before assigning request id. 2255 2256 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 2257 2258commit e92efc63acd7b377faa9e534f4bf52aaa86be2a9 2259Author: Peter Hutterer <peter.hutterer@who-t.net> 2260Date: Tue Jul 27 11:46:19 2021 +1000 2261 2262 makekeys: handle the new _EVDEVK xorgproto symbols 2263 2264 These keys are all defined through a macro in the form: 2265 #define XF86XK_BrightnessAuto _EVDEVK(0x0F4) 2266 2267 The _EVDEVK macro is simply an offset of 0x10081000. 2268 Let's parse these lines correctly so those keysyms end up in our 2269 hashtables. 2270 2271 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2272 2273commit d01d23374107f6fc55511f02559cf75be7bdf448 2274Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 2275Date: Wed Jun 16 12:17:04 2021 +0100 2276 2277 Avoid undefined behaviour after realloc() 2278 2279 Adding the offset between the realloc result and the old allocation to 2280 update pointers into the new allocation is undefined behaviour: the 2281 old pointers are no longer valid after realloc() according to the C 2282 standard. While this works on almost all architectures and compilers, 2283 it causes problems on architectures that track pointer bounds (e.g. 2284 CHERI or Arm's Morello): the value_list pointers will still have the 2285 bounds of the previous allocation and therefore any dereference will 2286 result in a run-time trap. 2287 2288 I found this due to a crash (dereferencing an invalid capability) while 2289 trying to run `xev` over SSH on a CHERI-RISC-V system. With these two 2290 realloc changes, and https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/41 2291 I am able to succesfully run `xev` compiled for CHERI-RISC-V. 2292 2293 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 2294 2295commit 1c845834a32421abb59408aee259ac0bef054d30 2296Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 2297Date: Tue Jun 15 08:46:53 2021 +0100 2298 2299 Fix cross-compilation from macOS 2300 2301 We can't use `LC_CTYPE=C sed` there since /usr/bin/sed is not compatible 2302 with the expressions in nls/ (`sed: RE error: illegal byte sequence`). 2303 To fix this use $(SED) instead which autotools will set to a GNU 2304 version of sed (usually /usr/local/bin/gsed) on macOS. 2305 2306 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 2307 2308commit 401f58f8ba258d4e7ce56a8f756595b72e544c15 2309Author: Lev Korol <epicatsupercell@gmail.com> 2310Date: Sun Apr 11 21:57:45 2021 +0300 2311 2312 nls: Add en_IL locale 2313 2314 Signed-off-by: Lev Korol <epicatsupercell@gmail.com> 2315 2316commit f906fe8e9769e4313294b68e61c402610ade69da 2317Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2318Date: Sat Jun 5 09:12:13 2021 -0700 2319 2320 libX11 1.7.2 2321 2322 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2323 2324commit 51b73ac0acda65005c8a9f17ca4ea7281b00ca84 2325Author: Tobias Stoeckmann <tobias@stoeckmann.org> 2326Date: Sun May 23 15:05:17 2021 +0200 2327 2328 Protect against overly long strings 2329 2330 Checking against upper limit of USHRT_MAX must happen before truncating 2331 size_t to int. On 64 bit systems with strings larger than 2 GB this 2332 could otherwise lead to negative ints or ints smaller than USHRT_MAX. 2333 2334 In XParseColor this could lead to out of boundary access with strings 2335 starting with a # (color sequence). A modulo 12 operation is performed 2336 to validate the string length, but with an overflown length, the for 2337 loop would eventually read behind terminating '\0' character. 2338 2339 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 2340 2341commit ab2f59530b16bdfbf023b8e025c7c8aba3b6fd0c 2342Author: Matthieu Herrb <matthieu@herrb.eu> 2343Date: Sun May 30 16:33:48 2021 +0200 2344 2345 Check for NULL strings before getting their lengths 2346 2347 Problem reported by Karsten Trulsen 2348 2349 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2350 2351commit a8216e8653a246db664e1443ecf707b27de65067 2352Author: Matthieu Herrb <matthieu@herrb.eu> 2353Date: Sat May 22 17:35:47 2021 +0200 2354 2355 include <limits.h> always, not if HAVE_CONFIG_H is set. 2356 2357 via Matthew Green from the NetBSD project 2358 2359 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2360 2361commit 6953a586df4819143c4d55e011b3a5e5377981b8 2362Author: Matthieu Herrb <matthieu.herrb@laas.fr> 2363Date: Tue May 18 15:27:58 2021 +0200 2364 2365 Version 1.7.1 2366 2367 Release notes in README.md, version bump in configure.ac 2368 2369commit 8d2e02ae650f00c4a53deb625211a0527126c605 2370Author: Matthieu Herrb <matthieu@herrb.eu> 2371Date: Fri Feb 19 15:30:39 2021 +0100 2372 2373 Reject string longer than USHRT_MAX before sending them on the wire 2374 2375 The X protocol uses CARD16 values to represent the length so 2376 this would overflow. 2377 2378 CVE-2021-31535 2379 2380 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2381 2382commit 838ea5a5a0267c25b20c095c9a70684edeeefba4 2383Author: Gaurav Ujjwal <gujjwal00@gmail.com> 2384Date: Sun May 9 05:04:36 2021 +0000 2385 2386 Fix out-of-bound access in KeySymToUcs4() 2387 2388 Array `keysym_to_unicode_590_5fe` is only valid for range [0x590, 0x5fe] but current lower-bound is checked against 0x589. 2389 2390 So invalid values from 0x58a to 0x58f are being allowed by current check. 2391 2392 If any of these invalid value is passed as `keysym`, `keysym - 0x590` would underflow. 2393 2394 Signed-off-by: Gaurav Ujjwal <gujjwal00@gmail.com> 2395 2396commit 32491b02c76ac22f99dc433a32466e22bdc181a7 2397Author: Christopher Chavez <chrischavez@gmx.us> 2398Date: Mon May 3 15:46:44 2021 +0000 2399 2400 Xlib.h: spelling fix in comment 2401 2402commit 5faa8dc0b364f55f19034c370436074646d9ad54 2403Author: Benno Schulenberg <bensberg@telfort.nl> 2404Date: Tue Nov 24 18:54:24 2020 +0100 2405 2406 nls: adjust three comments about the APL compose sequences 2407 2408 Commit 0bbc0d5e605e (from eight years ago) removed the lines that two 2409 of these comments referred to. Without those lines, the comments don't 2410 make sense any more. Reword and shorten them. 2411 2412 Also reword a comment about two sequences that don't work. 2413 2414 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2415 2416commit b126bfd7fe990b8c1df088f55c31d9b3fd440cde 2417Author: Benno Schulenberg <bensberg@telfort.nl> 2418Date: Tue Nov 24 12:23:32 2020 +0100 2419 2420 nls: allow composing all breved letters also with a lowercase "u" 2421 2422 The letters ă and ŭ can already be composed with "u a" and "u u", but 2423 ĕ, ğ, ĭ, and ŏ can be composed only with an uppercase U. Emancipate 2424 the latter four and understand also a lowercase "u" to mean 'breve'. 2425 2426 (Yesterday I needed ğ and was annoyed that "u g" did not work.) 2427 2428 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2429 2430commit 78027fdb7aa07621a3b7cdf37050bae39012f2fb 2431Author: Walter Harms <wharms@bfs.de> 2432Date: Sat Nov 28 21:05:33 2020 +0100 2433 2434 fix same roff code 2435 2436 Signed-off-by: Walter Harms <wharms@bfs.de> 2437 2438commit 4f15cfc64548098fef3ddd24f7359b76cf1bbda7 2439Author: Walter Harms <wharms@bfs.de> 2440Date: Sat Nov 28 20:56:35 2020 +0100 2441 2442 Fix some roff code add see also 2443 2444 Signed-off-by: Walter Harms <wharms@bfs.de> 2445 2446commit daa106927f78e6c5c9c36558a4b951d7cb58a8d1 2447Author: Walter Harms <wharms@bfs.de> 2448Date: Sat Nov 28 17:49:25 2020 +0100 2449 2450 fix broken nroff coding for code comments 2451 2452 the comments /* */ are code as /\(** */ that does not work. 2453 the coding in other X11 man pages is /\&* */ so we do the same here. 2454 2455commit 7bdeae239b17db002964ac73d06f43f216d1cf86 2456Author: Walter Harms <wharms@bfs.de> 2457Date: Fri Nov 27 22:43:21 2020 +0100 2458 2459 FIX: warning: macro `hN' not defined 2460 2461 Signed-off-by: Walter Harms <wharms@bfs.de> 2462 2463commit b7ec67d3ea78ab68857328d8f72d923324e68cc2 2464Author: Walter Harms <wharms@bfs.de> 2465Date: Fri Nov 27 22:26:15 2020 +0100 2466 2467 FIX: warning: macro `IN' not defined 2468 2469 just remove an other dead macro use. 2470 2471commit 7ca3ceb9175a829a40c347cb3b2e98341ec5a2df 2472Author: Walter Harms <wharms@bfs.de> 2473Date: Fri Nov 27 21:58:04 2020 +0100 2474 2475 fix warning: macro `s' not defined 2476 2477 this is caused by bad nroff coding, fix some more issues on the fly 2478 2479commit 14fb4e535626ba934cad5bc4308f511524cd1103 2480Author: Walter Harms <wharms@bfs.de> 2481Date: Fri Nov 27 20:04:22 2020 +0100 2482 2483 FIX: warning: macro `hN' not defined 2484 2485 this was found by checking man pages with 2486 groff -t -mandoc -Z -wmac -Tutf8 $FILE >/dev/null 2487 2488 In most cases .hN could be replaced with .BR 2489 2490 Signed-off-by: Walter Harms <wharms@bfs.de> 2491 2492commit cb03da4447aa53e8e5382f124917d89b50148036 2493Author: Walter Harms <wharms@bfs.de> 2494Date: Fri Nov 27 19:00:00 2020 +0100 2495 2496 FIX: warning: macro `Pn' not defined 2497 2498 The missing macro is found via: 2499 roff -t -mandoc -Z -wmac -Tutf8 XAnyEvent.man >/dev/null 2500 2501 To fix the problem the macro is replaced with .RB. 2502 2503 Signed-off-by: Walter Harms <wharms@bfs.de> 2504 2505commit cc9f8878f2cbe17c7b4035b4ff4352b52ece38e0 2506Author: Benno Schulenberg <bensberg@telfort.nl> 2507Date: Wed Nov 25 16:58:27 2020 +0100 2508 2509 nls: add 'C.utf8' as an alias for 'en_US.UTF-8' 2510 2511 The normal form is 'C.UTF-8', but 'C.utf8' has been seen in the wild. 2512 2513 Fixes #102. 2514 2515 Reported-by: Tomas Korbar 2516 2517 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2518 2519commit ca8115186f810eccb7d86b0979980eff3ba95f0b 2520Author: Keith Packard <keithp@keithp.com> 2521Date: Thu Nov 19 11:30:41 2020 -0800 2522 2523 Version 1.7.0 2524 2525 Release notes in README.md, version bump in configure.ac 2526 2527 Signed-off-by: Keith Packard <keithp@keithp.com> 2528 2529commit 325ac177fb6d38f4c7689d9ce059792eaef388ef 2530Author: Keith Packard <keithp@keithp.com> 2531Date: Mon Nov 16 15:48:40 2020 -0800 2532 2533 Update libX11 .so version to 6.4.0 2534 2535 There have been API additions since the previous release, so the 2536 .so version needs to change. 2537 2538 Signed-off-by: Keith Packard <keithp@keithp.com> 2539 2540commit 103e2e11519984aa5746c06e7d90d1f5bc8174a3 2541Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2542Date: Sat Oct 31 09:24:01 2020 -0700 2543 2544 Don't leave dangling pointers in Free functions 2545 2546 While these are mostly called during teardown of larger structures 2547 that are about to themselves be freed, there's no guarantee that 2548 will always be the case, so try to be safer here. 2549 2550 [ This bug was found by the Parfait 4.0 bug checking tool. 2551 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 2552 2553 v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies 2554 as suggested by @keithp 2555 2556 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2557 2558commit 7d70e302218e2ec8518548ddcdc02d828e7889af 2559Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2560Date: Sat Oct 31 08:56:34 2020 -0700 2561 2562 XimProto.h: wrap XIM_HEADER_SIZE definition in parens 2563 2564 Resolves parfait warning of potential macro misinterpretation if 2565 expanded in the midst of other arithmetic operations with higher 2566 precedence. 2567 2568 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2569 2570commit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a 2571Author: Keith Packard <keithp@keithp.com> 2572Date: Tue Nov 17 13:15:18 2020 -0800 2573 2574 Copy locale modifiers when creating XimInstCallback [v2] 2575 2576 Locale modifiers may be freed whenever XSetLocaleModifiers gets 2577 called, even if the locale hasn't changed. This means that we cannot 2578 save a pointer to those modifiers in the XimInstCallback record and 2579 must, instead, make a copy of them instead. 2580 2581 This fixes a problem uncovered when running wish under libasan as 2582 follows (on current Debian unstable): 2583 2584 $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish 2585 2586 Reported-by: Vittorio Zecca <zeccav@gmail.com> 2587 Signed-off-by: Keith Packard <keithp@keithp.com> 2588 2589 v2: 2590 Remove incorrect 'else' token found by @alanc 2591 2592commit 960e2e0cfac12c3477c672d0d40818a0dc74aca5 2593Author: Peter Hutterer <peter.hutterer@who-t.net> 2594Date: Mon Nov 16 09:34:57 2020 +1000 2595 2596 gitlab CI: add a basic build test 2597 2598 Using Arch as base distribution here because we can expect our dependencies to 2599 be up-to-date. We rely on the Arch for our dependencies rather than building 2600 those from git (notably: xorg-macros, xtrans and libxcb). 2601 2602 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2603 2604commit dbb55e1a5e82870466b095097d9e46046680ec25 2605Author: Frediano Ziglio <fziglio@redhat.com> 2606Date: Wed Jan 29 09:06:54 2020 +0000 2607 2608 Fix poll_for_response race condition 2609 2610 In poll_for_response is it possible that event replies are skipped 2611 and a more up to date message reply is returned. 2612 This will cause next poll_for_event call to fail aborting the program. 2613 2614 This was proved using some slow ssh tunnel or using some program 2615 to slow down server replies (I used a combination of xtrace and strace). 2616 2617 How the race happens: 2618 - program enters into poll_for_response; 2619 - poll_for_event is called but the server didn't still send the reply; 2620 - pending_requests is not NULL because we send a request (see call 2621 to append_pending_request in _XSend); 2622 - xcb_poll_for_reply64 is called from poll_for_response; 2623 - xcb_poll_for_reply64 will read from server, at this point 2624 server reply with an event (say sequence N) and the reply to our 2625 last request (say sequence N+1); 2626 - xcb_poll_for_reply64 returns the reply for the request we asked; 2627 - last_request_read is set to N+1 sequence in poll_for_response; 2628 - poll_for_response returns the response to the request; 2629 - poll_for_event is called (for instance from another poll_for_response); 2630 - event with sequence N is retrieved; 2631 - the N sequence is widen, however, as the "new" number computed from 2632 last_request_read is less than N the number is widened to N + 2^32 2633 (assuming last_request_read is still contained in 32 bit); 2634 - poll_for_event enters the nested if statement as req is NULL; 2635 - we compare the widen N (which now does not fit into 32 bit) with 2636 request (which fits into 32 bit) hitting the throw_thread_fail_assert. 2637 2638 To avoid the race condition and to avoid the sequence to go back 2639 I check again for new events after getting the response and 2640 return this last event if present saving the reply to return it 2641 later. 2642 2643 To test the race and the fix it's helpful to add a delay (I used a 2644 "usleep(5000)") before calling xcb_poll_for_reply64. 2645 2646 Original patch written by Frediano Ziglio, see 2647 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34 2648 2649 Reworked primarily for readability by Peter Hutterer, see 2650 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53 2651 2652 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2653 2654commit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277 2655Author: Keith Packard <keithp@keithp.com> 2656Date: Sat Nov 7 22:22:47 2020 -0800 2657 2658 Avoid recursing through _XError due to sequence adjustment 2659 2660 This patch is based on research done by Dmitry Osipenko to uncover the 2661 cause of a large class of Xlib lockups. 2662 2663 _XError must unlock and re-lock the display around the call to the 2664 user error handler function. When re-locking the display, two 2665 functions are called to ensure that the display is ready to generate a request: 2666 2667 _XIDHandler(dpy); 2668 _XSeqSyncFunction(dpy); 2669 2670 The first ensures that there is at least one XID available to use 2671 (possibly calling _xcb_generate_id to do so). The second makes sure a 2672 reply is received at least every 65535 requests to keep sequence 2673 numbers in sync (possibly generating a GetInputFocus request and 2674 synchronously awaiting the reply). 2675 2676 If the second of these does generate a GetInputFocus request and wait 2677 for the reply, then a pending error will cause recursion into _XError, 2678 which deadlocks the display. 2679 2680 One seemingly easy fix is to have _XError avoid those calls by 2681 invoking InternalLockDisplay instead of LockDisplay. That function 2682 does everything that LockDisplay does *except* call those final two 2683 functions which may end up receiving an error. 2684 2685 However, that doesn't protect the system from applications which call 2686 some legal Xlib function from within their error handler. Any Xlib 2687 function which cannot generate protocol or wait for events is valid, 2688 including many which invoke LockDisplay. 2689 2690 What we need to do is make LockDisplay skip these two function calls 2691 precisely when it is called from within the _XError context for the 2692 same display. 2693 2694 This patch accomplishes this by creating a list of threads in the 2695 display which are in _XError, and then having LockDisplay check the 2696 current thread against those list elements. 2697 2698 Inspired-by: Dmitry Osipenko <digetx@gmail.com> 2699 Signed-off-by: Keith Packard <keithp@keithp.com> 2700 Tested-by: Dmitry Osipenko <digetx@gmail.com> 2701 Reviewed-by: Dmitry Osipenko <digetx@gmail.com> 2702 2703commit c9c4d6efbf92ab51695e2e740319503221d68eed 2704Author: Benno Schulenberg <bensberg@telfort.nl> 2705Date: Fri Nov 13 11:34:04 2020 +0100 2706 2707 nls: improve the comments for the Serbian compose sequences 2708 2709 Also put an extra space before the lone combining characters 2710 so they have some room to breathe. 2711 2712 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2713 2714commit 3497dae3d9c52a252110b2a0983b82000be0fe8e 2715Author: Benno Schulenberg <bensberg@telfort.nl> 2716Date: Fri Nov 13 11:23:09 2020 +0100 2717 2718 nls: remove mistaken Serbian compose sequences with combining diacritics 2719 2720 Combining characters are not dead keys -- they have an immediate effect 2721 and combine with the preceding character. So they cannot be used in 2722 compose sequences. 2723 2724 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2725 2726commit 5cd60398b7787297008b13a848ed3cfbd7ef178d 2727Author: Benno Schulenberg <bensberg@telfort.nl> 2728Date: Mon Nov 2 16:34:39 2020 +0100 2729 2730 nls: rename the obsolete sr_CS locale to sr_RS 2731 2732 Fixes #107, for the most part. 2733 2734 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2735 2736commit 7cf1729590534e257b851899cf03421b65c538e3 2737Author: Keith Packard <keithp@keithp.com> 2738Date: Sat Nov 7 17:02:56 2020 -0800 2739 2740 Don't attempt to unload locale context data 2741 2742 Most locale context users call _XlcCurrentLC, which returns a pointer 2743 which never needs to be passed to _XCloseLC, meaning it has unbounded 2744 lifetime, so that locale data can never be freed. 2745 2746 Remove all reference counting and just leave all locales that were 2747 ever used in memory. 2748 2749 Signed-off-by: Keith Packard <keithp@keithp.com> 2750 Acked-by: Martin Peres <martin.peres@mupuf.org> 2751 2752commit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d 2753Author: Jacek Caban <jacek@codeweavers.com> 2754Date: Mon Aug 14 19:20:19 2017 +0200 2755 2756 Don't cache last lcd in _XlcCurrentLC. 2757 2758 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 2759 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 2760 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 2761 2762 The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway. 2763 2764 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 2765 Signed-off-by: Keith Packard <keithp@keithp.com> 2766 Acked-by: Martin Peres <martin.peres@mupuf.org> 2767 2768commit 7a38c09b82ee2522d987c3da4af8af186e562c61 2769Author: Keith Packard <keithp@keithp.com> 2770Date: Sat Nov 7 16:59:37 2020 -0800 2771 2772 Don't cache converters in _Xlcmbtowc and Xlcwctomb 2773 2774 These functions were caching encoding conversion functions in static 2775 variables which is not thread safe. Let the conversion loader do its 2776 job and cache locale to converters there. It's less efficient, but 2777 it's also (now) thread safe. 2778 2779 Signed-off-by: Keith Packard <keithp@keithp.com> 2780 Acked-by: Martin Peres <martin.peres@mupuf.org> 2781 2782commit b52ba5c209165fc2c533b77b86147b31763299f3 2783Author: Jacek Caban <jacek@codeweavers.com> 2784Date: Mon Aug 14 19:20:20 2017 +0200 2785 2786 Make conv_list thread safe. 2787 2788 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 2789 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 2790 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 2791 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 2792 Signed-off-by: Keith Packard <keithp@keithp.com> 2793 Acked-by: Martin Peres <martin.peres@mupuf.org> 2794 2795commit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956 2796Author: Antti Savolainen <antti.savo@gmail.com> 2797Date: Wed Sep 16 07:47:26 2020 +0000 2798 2799 Added DOWNWARD ARROW support 2800 2801commit 7138826dccba9d538dfb142ce9af1a40d64ea849 2802Author: Antti Savolainen <antti.savo@gmail.com> 2803Date: Tue Sep 8 00:54:23 2020 +0300 2804 2805 Added support for UPWARDS ARROW and ALMOST EQUAL TO 2806 2807 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 2808 2809commit 56d59299f7433cdeb88bac970b06eb7df44df5bb 2810Author: Jonathan Belsewir <jonbel@jonasund.de> 2811Date: Thu Nov 5 22:57:50 2020 +0000 2812 2813 Add less and greater to characters that are difficult to access on some keyboards 2814 2815commit 5caf45f8d3bebad5b72ac88545adc156ccfd754d 2816Author: Benno Schulenberg <bensberg@telfort.nl> 2817Date: Fri Oct 23 17:12:22 2020 +0200 2818 2819 nls: Allow all letters with a caron to be composed also with v. 2820 2821 It was strange that the accented letters Ž and ž can be composed with 2822 sequences that start with "v" ("v Z" and "v z"), but not Č and č and 2823 Š and š (and other letters with a caron). For these letters, compose 2824 sequences that start with a "c" had to be used, which was frustrating 2825 because it is hard to remember that "c" stands for "caron", AND the 2826 graphically more obvious "v" is right next to it. 2827 2828 (Unfortunately, the sequence "v l" is already taken for vertical line. 2829 Maybe the compose sequences for vertical line could be reduced to just 2830 "V L" and "L V"?) 2831 2832 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2833 2834commit 62de4ac9025e2cb3f62a890241c06ebc75acce62 2835Author: Benno Schulenberg <bensberg@telfort.nl> 2836Date: Sun Nov 1 20:23:55 2020 +0100 2837 2838 nls: vertically align the target column of aliases 2839 2840 Also improve the grammar of the initial comment. 2841 2842 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2843 2844commit f5b26a16ef959fc6860e9cf58b97a042600900b4 2845Author: Benno Schulenberg <bensberg@telfort.nl> 2846Date: Sun Nov 1 20:17:05 2020 +0100 2847 2848 nls: remove some twenty aliases that have been obsolete for fifteen years 2849 2850 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2851 2852commit 3e61f3b49660e081108f06bc514366f1784cb2e0 2853Author: Benno Schulenberg <bensberg@telfort.nl> 2854Date: Sun Nov 1 19:50:56 2020 +0100 2855 2856 nls: remove country-specific aliases for two constructed languages 2857 2858 These artificial languages are meant to be international and are 2859 thus not specific to any country. If one would want to support 2860 aliases like ia_FR or ia_CH, then one would also have to support 2861 ia_AU, ia_DE, ia_ES, et cetera, et cetera. That would be silly. 2862 2863 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2864 2865commit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c 2866Author: Benno Schulenberg <bensberg@telfort.nl> 2867Date: Sun Nov 1 17:28:24 2020 +0100 2868 2869 nls: remove four aliases where the name is identical to the definition 2870 2871 They were found with: 2872 2873 while read one two; do 2874 if [[ $one == $two: ]]; then echo $two; fi; 2875 done <nls/locale.alias.pre 2876 2877 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2878 2879commit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7 2880Author: Carlos Garnacho <carlosg@gnome.org> 2881Date: Fri Jun 14 17:55:14 2019 +0200 2882 2883 Add XSetIOErrorExitHandler() function 2884 2885 This function complements XSetIOErrorHandler(), allowing to override 2886 the default behavior that trusts on I/O errors never coming back 2887 (i.e. exit()ing the process). 2888 2889 This is meant as a mechanism for Wayland compositors (that are too 2890 a X11 client + compositing manager) to unfasten seatbelts and jump 2891 through the car window. It might get lucky and land on a stack of 2892 pillows. 2893 2894 In consequence, some functions labeled as _X_NORETURN can as a 2895 matter of fact return. So those hints were removed. 2896 2897 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 2898 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 2899 2900commit 4cb758019e374fa7c022fe79d28444e13441717b 2901Author: Carlos Garnacho <carlosg@gnome.org> 2902Date: Fri Jun 14 17:54:47 2019 +0200 2903 2904 Prepare for _XIOError() possibly returning 2905 2906 Ensure current state is cut short on _XIOError(), possible reentrancy 2907 should be skipped through the XlibDisplayIOError flag checks. 2908 2909 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 2910 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 2911 2912commit a37986f7a7d4ae9b8292b132dbb0da2885ea919c 2913Author: Ross Burton <ross.burton@intel.com> 2914Date: Wed Jan 22 17:11:23 2020 +0000 2915 2916 cpprules.in: squash whitespace in generated files 2917 2918 CPP is used to generate files, but as cpp reads files from the build host the 2919 output has a number of blank lines at the beginning which varies depending on 2920 what GCC and friends is used. 2921 2922 Pathalogical example: 2923 2924 $ cpp -undef -traditional /dev/null 2925 # 1 "/dev/null" 2926 # 1 "<built-in>" 2927 # 1 "<command-line>" 2928 # 31 "<command-line>" 2929 # 1 "/usr/include/stdc-predef.h" 1 3 4 2930 2931 # 17 "/usr/include/stdc-predef.h" 3 4 2932 2933 [ 40 blank line ] 2934 2935 # 32 "<command-line>" 2 2936 # 1 "/dev/null" 2937 2938 So depending on the content of stdc-predef.h and what other headers CPP will 2939 load, the amount of whitespace in the generates files varies. This can result in 2940 differences in reproducible environments, and file conflicts in multilib 2941 environments. 2942 2943 As whitespace is irrelevant to these machine-readable files, extend the sed to 2944 just delete blank lines. 2945 2946commit 16192ce2a7e462e09f95aa45ce9eaa180e483c43 2947Author: Carmina16 <mistresssilvara@hotmail.com> 2948Date: Sun Jun 16 02:54:25 2019 +0000 2949 2950 Adding ia and ie locales 2951 2952commit caa71668af7fd3ebdd56353c8f0ab90824773969 2953Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2954Date: Mon Sep 28 16:16:07 2020 -0700 2955 2956 Use __builtin_popcountl if available to replace Ones() in GetImage.c 2957 2958 If the compiler knows of a better algorithm for counting the number of 2959 bits set in a word for the target CPU, let it use that, instead of the 2960 classic algorithm optimized for PDP-6. 2961 2962 Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b 2963 2964 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2965 2966commit 1a9269a95c353e3de9f4d33bab9f1363d84e79db 2967Author: Krzesimir Nowak <qdlacz@gmail.com> 2968Date: Mon Jun 1 12:58:30 2020 +0000 2969 2970 Fix leaking modifiers string. 2971 2972 Reported by valgrind: 2973 2974 ``` 2975 ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675 2976 ==118175== at 0x483A809: malloc (vg_replace_malloc.c:307) 2977 ==118175== by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0) 2978 ==118175== by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0) 2979 ==118175== by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324) 2980 ==118175== by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455) 2981 ==118175== by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532) 2982 ==118175== by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206) 2983 ==118175== by 0x402634: main (fade.cc:35) 2984 ``` 2985 2986commit d127217f26df1bf7566c1f372d8b5329a06754ea 2987Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2988Date: Sun Aug 16 17:03:24 2020 -0700 2989 2990 Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings 2991 2992 Gets rid of: 2993 src/xkb/XKBBind.c: In function ‘XLookupKeysym’: 2994 src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated 2995 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations] 2996 234 | return XKeycodeToKeysym(dpy, event->keycode, col); 2997 | ^~~~~~ 2998 src/xkb/XKBBind.c:96:1: note: declared here 2999 96 | XKeycodeToKeysym(Display *dpy, 3000 | ^~~~~~~~~~~~~~~~ 3001 3002 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3003 3004commit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5 3005Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3006Date: Sun Aug 16 16:50:43 2020 -0700 3007 3008 lcUTF8: Increase string buffer size from 20 to 32 bytes 3009 3010 While we don't expect large enough ints to need it, we don't 3011 enforce a maximum size, so gcc assumes the worst and warns: 3012 3013 ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’: 3014 ../../../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=] 3015 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3016 | ^~~~~~~~~~~~~ 3017 ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 3018 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3019 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3020 ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 3021 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3022 | ^ 3023 ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 3024 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3025 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3026 ../../../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=] 3027 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3028 | ^~~~~~~~~~~~~ 3029 ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 3030 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3031 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3032 ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 3033 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3034 | ^ 3035 ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 3036 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3037 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3038 3039 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3040 3041commit 54925250ad9c825bea671dcade5c913bad88abee 3042Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3043Date: Sun Aug 16 16:33:59 2020 -0700 3044 3045 i18n: use memcpy instead of strncpy on unterminated char arrays 3046 3047 Avoids gcc warnings that we're using strncpy wrong to copy a known-length 3048 set of characters without a terminating '\0' to a buffer whose length we 3049 are checking separately. (Should also be imperceptibly faster since we 3050 no longer check if each byte is '\0' when we already know it won't be.) 3051 3052 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3053 3054commit 8754868dbbbc5fa096282df0504aa7880488eeb9 3055Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3056Date: Sun Aug 16 16:02:01 2020 -0700 3057 3058 Mark FreeBlueTblElements label unused in LRGB.c 3059 3060 Quiets gcc 10.2 warning of: 3061 src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’: 3062 src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined 3063 but not used 3064 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label] 3065 798 | FreeBlueTblElements: 3066 | ^~~~~~~~~~~~~~~~~~~ 3067 3068 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3069 3070commit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e 3071Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3072Date: Sun Aug 16 14:54:47 2020 -0700 3073 3074 Raise minimum required xproto version to 7.0.25 (released 2013-11-23) 3075 3076 Allows us to depend on _X_COLD directly instead of having to check for it. 3077 3078 (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required 3079 already but not checked for.) 3080 3081 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3082 3083commit deafb99fd8faf8b044eaee13d072440ce4db76af 3084Author: Maya Rashish <maya@NetBSD.org> 3085Date: Sun Aug 23 21:19:33 2020 +0300 3086 3087 Avoid the use of "register" keyword in public headers. 3088 3089 This causes issues when compiling code for C++17. 3090 3091commit 505420662577749e36640db48f6b6b9ae0236e09 3092Author: Matthieu Herrb <matthieu@herrb.eu> 3093Date: Mon Aug 24 15:42:25 2020 +0200 3094 3095 libX11 1.6.12 3096 3097 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3098 3099commit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d 3100Author: Matthieu Herrb <matthieu@herrb.eu> 3101Date: Thu Aug 13 18:02:58 2020 +0200 3102 3103 Fix an integer overflow in init_om() 3104 3105 CVE-2020-14363 3106 3107 This can lead to a double free later, as reported by Jayden Rivers. 3108 3109 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3110 3111commit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b 3112Author: Niclas Zeising <zeising@daemonic.se> 3113Date: Tue Aug 11 13:44:38 2020 +0200 3114 3115 Fix input clients connecting to server 3116 3117 Fix a bug where some input clients can't connect to the input server. 3118 This fixes #117. 3119 3120 FreeBSD bugzilla reference: 3121 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549 3122 3123 Signed-off-by: Niclas Zeising <zeising@daemonic.se> 3124 3125commit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c 3126Author: Maya Rashish <maya@NetBSD.org> 3127Date: Sat Aug 15 00:48:56 2020 +0300 3128 3129 Avoid the use of "register" keyword in XkbTranslateKeySym. 3130 3131 This causes issues when compiling code for C++17. 3132 While here, make function prototype match the header with regards 3133 to removal of another register keyword. 3134 3135commit 780d222343098b4bfe3ec529b4a0dc2aadea19bf 3136Author: Christopher Chavez <chrischavez@gmx.us> 3137Date: Mon Aug 10 17:08:39 2020 +0000 3138 3139 Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage 3140 3141commit 29a8251a456bb7dc10146b4713f499a624d6dacd 3142Author: Felix Yan <felixonmars@archlinux.org> 3143Date: Thu Aug 6 16:03:38 2020 +0000 3144 3145 Correct a typo in GetStCmap.c 3146 3147commit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70 3148Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3149Date: Thu Aug 6 08:07:57 2020 -0700 3150 3151 libX11 1.6.11 3152 3153 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3154 3155commit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b 3156Author: Yichao Yu <yyc1992@gmail.com> 3157Date: Sun Aug 2 13:43:58 2020 -0400 3158 3159 Fix size calculation in `_XimAttributeToValue`. 3160 3161 The check here guards the read below. 3162 For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers` 3163 these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`. 3164 (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this 3165 function and doesn't need to be checked.) 3166 3167 The old code here used the native datatype size instead of the wire protocol size causing 3168 the check to always fail. 3169 3170 Also fix the size calculation for the header (size). It is 2 x CARD16 for both types 3171 despite the unused `CARD16` for `XimType_XIMStyles`. 3172 3173 [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles 3174 3175 This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10. 3176 3177 Fix #116 3178 3179commit 9949364ea761ab7efa2a9930ec7718f966a740c0 3180Author: Matthieu Herrb <matthieu@herrb.eu> 3181Date: Thu Jul 30 21:36:22 2020 +0200 3182 3183 libX11 1.6.10 3184 3185 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3186 3187commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d 3188Author: Matthieu Herrb <matthieu@herrb.eu> 3189Date: Fri Jul 24 21:09:10 2020 +0200 3190 3191 Change the data_len parameter of _XimAttributeToValue() to CARD16 3192 3193 It's coming from a length in the protocol (unsigned) and passed 3194 to functions that expect unsigned int parameters (_XCopyToArg() 3195 and memcpy()). 3196 3197 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3198 Reviewed-by: Todd Carson <toc@daybefore.net> 3199 3200commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 3201Author: Todd Carson <tc@daybefore.net> 3202Date: Fri Jul 24 20:59:32 2020 +0200 3203 3204 Zero out buffers in functions 3205 3206 It looks like uninitialized stack or heap memory can leak 3207 out via padding bytes. 3208 3209 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3210 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3211 3212commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60 3213Author: Todd Carson <tc@daybefore.net> 3214Date: Fri Jul 24 20:22:44 2020 +0200 3215 3216 Fix more unchecked lengths 3217 3218 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3219 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3220 3221commit 388b303c62aa35a245f1704211a023440ad2c488 3222Author: Todd Carson <tc@daybefore.net> 3223Date: Fri Jul 24 19:36:51 2020 +0200 3224 3225 fix integer overflows in _XimAttributeToValue() 3226 3227 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3228 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3229 3230commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e 3231Author: Todd Carson <tc@daybefore.net> 3232Date: Fri Jul 24 19:33:30 2020 +0200 3233 3234 Fix signed length values in _XimGetAttributeID() 3235 3236 The lengths are unsigned according to the specification. Passing 3237 negative values can lead to data corruption. 3238 3239 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3240 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3241 3242commit 2b7598221d87049d03e9a95fcb541c37c8728184 3243Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3244Date: Wed Jul 22 15:19:58 2020 -0700 3245 3246 Fix spelling/wording issues 3247 3248 Found by using: 3249 codespell --builtin clear,rare,usage,informal,code,names 3250 3251 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3252 3253commit f9e3378ebcfc79ff00591b8617a68e97580a741e 3254Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 3255Date: Sun Jul 19 22:19:24 2020 +0200 3256 3257 xlibi18n: Fix converting horizline keysyms to UCS 3258 3259 U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is 3260 unified with scan line 5. 3261 3262 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 3263 3264commit 4385a84c4a79c1b60bf12839899a1544198de975 3265Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 3266Date: Thu Jun 4 02:19:13 2020 +0200 3267 3268 Braille: Fix default lookup 3269 3270 cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that 3271 translates Braille keysym patterns to Braille Unicode patterns since it 3272 rightfully clears brl_committing, but then we do not have it any more to 3273 fill brl_committed. 3274 3275 This change saves the committed pattern so we can return it in the 3276 default lookup. 3277 3278 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 3279 3280commit fb65b67169105c82c243f265e0f993cf72efdacd 3281Author: Marko Myllynen <myllynen@redhat.com> 3282Date: Fri Feb 28 13:59:36 2020 +0200 3283 3284 Update Finnish compose sequences for SFS 5966:2019 standard 3285 3286 U0219, U0218, U021B, U021A are now part of the standard. 3287 3288 Fixes #70 which was printed incorrectly in the earlier standard version. 3289 3290commit 07724ce046348a21cc82a874853b14b9a285df75 3291Author: Tristan Miller <psychonaut@nothingisreal.com> 3292Date: Wed Sep 25 13:34:01 2019 +0200 3293 3294 Add acute accent compose sequences for Russian vowels. 3295 3296 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104 3297 3298 Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com> 3299 3300commit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507 3301Author: Thomas E. Dickey <dickey@invisible-island.net> 3302Date: Sat Apr 25 14:40:54 2020 -0400 3303 3304 document an ancient performance problem (see Debian #954845). 3305 3306 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3307 3308commit 791c93816ce0520d54925b0b3ccbc29823370041 3309Author: Thomas E. Dickey <dickey@invisible-island.net> 3310Date: Sat Apr 25 14:22:11 2020 -0400 3311 3312 update/correct function prototypes in manpages to match headers 3313 3314 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3315 3316commit 844271305a28e87031562dfeb43defbea02960a2 3317Author: Thomas E. Dickey <dickey@invisible-island.net> 3318Date: Tue Apr 21 20:53:35 2020 -0400 3319 3320 reduce gcc-normal warnings using casts (no object change) 3321 3322 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3323 3324commit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca 3325Author: Thomas E. Dickey <dickey@invisible-island.net> 3326Date: Tue Apr 21 18:13:22 2020 -0400 3327 3328 reduce gcc-normal warnings using casts (no object change) 3329 3330 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3331 3332commit 68c72a7341b114277ab232f2499ee3bd035af8a0 3333Author: Adam Jackson <ajax@redhat.com> 3334Date: Wed Dec 11 11:53:11 2019 -0500 3335 3336 Fix XTS regression in XCopyColormapAndFree 3337 3338 XCopyColormapAndFree/5 threw an assertion: 3339 3340 520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A) 3341 520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap, 3342 520|4 5 00014017 1 4|then a BadColor error occurs. 3343 520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap. 3344 520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument. 3345 520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs. 3346 520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received 3347 220|4 5 2 15:05:53|UNRESOLVED 3348 410|4 5 1 15:05:53|IC End 3349 510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) 3350 3351 More specifically: 3352 3353 lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed. 3354 3355 This bug was introduced (by following my advice, d'oh) in: 3356 3357 commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 3358 Author: Tapani Pälli <tapani.palli@intel.com> 3359 Date: Mon May 13 08:29:49 2019 +0300 3360 3361 Protect colormap add/removal with display lock 3362 3363 In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the 3364 display lock. The problem is said routine has side effects, including 3365 trying to implicitly create a colormap in some cases. Since we don't run 3366 the XID handler until SyncHandle() we would see inconsistent internal 3367 xlib state, triggering the above assert. 3368 3369 Fix this by dropping and re-taking the display lock before calling into 3370 XCMS. 3371 3372 Reviewed-by: Tapani Pälli <tapani.palli@intel.com> 3373 3374commit 7f46a38139f66fda734f3a6c445b84ea89c8f310 3375Author: Alex Henrie <alexhenrie24@gmail.com> 3376Date: Wed Jan 1 14:54:06 2020 -0700 3377 3378 Handle small final sigma in XConvertCase 3379 3380 lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2) 3381 uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3) 3382 3383 This mapping was correct in UCSConvertCase, but the "legacy" mapping 3384 must also be correct for Caps Lock to work with the final sigma key. 3385 3386 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5 3387 3388 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> 3389 3390commit a48787d3d155c8a09cead345f5055da30c1db537 3391Author: Peter Hutterer <peter.hutterer@who-t.net> 3392Date: Wed Dec 11 14:12:27 2019 +1000 3393 3394 Handle ssharp in XConvertCase() 3395 3396 lowercase: LATIN SMALL LETTER SHARP S (U+00DF) 3397 uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E) 3398 3399 The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode 3400 but was added to the relevant keyboard layouts in xkeyboard-config-2.25 3401 (d1411e5e95c) 3402 https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144 3403 3404 Alas, the CapsLock behavior was broken on the finnish layout (maybe others). 3405 This was due to xkbcomp using XConvertCase() to determine whether a key 3406 requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC. 3407 3408 Let's make this function return the right lower/upper symbols for the sharp s 3409 and hope that the world won't get any worse because of it. 3410 3411 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110 3412 3413 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3414 3415commit b8766a438461e20b5c6f7a6111b703d4cb71501f 3416Author: Raul Fernandes <rgfernandes@gmail.com> 3417Date: Wed Oct 9 18:39:26 2019 +0000 3418 3419 Use memcmp and memcpy 3420 3421commit db7cca17ad7807e92a928da9d4c68a00f4836da2 3422Author: Adam Jackson <ajax@redhat.com> 3423Date: Wed Oct 9 13:41:29 2019 -0400 3424 3425 libX11 1.6.9 3426 3427 Signed-off-by: Adam Jackson <ajax@redhat.com> 3428 3429commit f5ba2c632a4c84279bdd48c687271292f5dc4f87 3430Author: Dmitry Osipenko <digetx@gmail.com> 3431Date: Sat May 18 19:10:32 2019 +0300 3432 3433 Fix lockup in _XReply() caused by recursive synchronization 3434 3435 This patch is based on a suggestion made by Uli Schlachter in a comment 3436 to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93. 3437 3438 Explanation of the bug (given by Uli Schlachter as well): 3439 3440 An error was received and handled. Since there was an error callback set, 3441 Xlib unlocks the display, runs the error callback, and then locks the display 3442 again. This goes through _XLockDisplay and then calls _XSeqSyncFunction. 3443 On this "lock the thing"-path, Xlib notices that sequence numbers are close to 3444 wrap-around and tries to send a GetInputFocus request. However, the earlier 3445 calls already registered themselves as "we are handling replies/errors, do 3446 not interfere!" and so the code here waits for "that other thread" to be done 3447 before it continues. Only that there is no other thread, but it is this thread 3448 itself and thus a deadlock follows. 3449 3450 The bug is relatively easy to reproduce on any desktop environment by 3451 using actively a touchscreen input that supports multitouch, i.e. practically 3452 all mobile devices are affected. 3453 3454 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93 3455 Suggested-by: Uli Schlachter <psychon@znc.in> 3456 Tested-by: Dmitry Osipenko <digetx@gmail.com> 3457 Reported-by: Dmitry Osipenko <digetx@gmail.com> 3458 Signed-off-by: Dmitry Osipenko <digetx@gmail.com> 3459 3460commit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905 3461Author: Adam Jackson <ajax@redhat.com> 3462Date: Fri Sep 13 16:44:32 2019 -0400 3463 3464 xkb: Provide <X11/extensions/XKBgeom.h> ourselves 3465 3466 This header refers to libX11 types, it doesn't belong in xorgproto and 3467 has been moved to legacy in 2019.2. Supply it ourselves. 3468 3469commit edc7680ed5a03cedb5facf14693823455e12c29c 3470Author: Ross Burton <ross.burton@intel.com> 3471Date: Tue Aug 6 14:53:43 2019 +0100 3472 3473 src/util/Makefile: explicitly reset LINK to not use libtool 3474 3475 Simply looking at libtool redefines LINK globally to use libtool, which when 3476 you're trying to cross-compile to Windows can cause complications. 3477 3478 As in src/util/ we're simply building a small binary for the build host, reset 3479 LINK to the automake default so that the traditional compile/link steps occur 3480 without libtool. 3481 3482 Also remove -all-static from LDFLAGS as that is a libtool-specific argument 3483 intended to solve this problem. 3484 3485 Closes: #100 3486 Signed-off-by: Ross Burton <ross.burton@intel.com> 3487 3488commit f111bf3ac091a3a6d1f094172621d9d033c3833c 3489Author: Thomas E. Dickey <dickey@invisible-island.net> 3490Date: Tue Jul 30 16:53:27 2019 -0400 3491 3492 improve some formatting 3493 3494 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3495 3496commit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9 3497Author: Thomas E. Dickey <dickey@invisible-island.net> 3498Date: Tue Jul 30 15:49:09 2019 -0400 3499 3500 fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/" 3501 3502 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3503 3504commit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98 3505Author: Thomas E. Dickey <dickey@invisible-island.net> 3506Date: Tue Jul 30 05:07:40 2019 -0400 3507 3508 split lines at sentence endings 3509 3510 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3511 3512commit 6f2cbcea5d6dcd1df7ef309481cad1663284c061 3513Author: Thomas E. Dickey <dickey@invisible-island.net> 3514Date: Tue Jul 30 04:52:25 2019 -0400 3515 3516 trim trailing whitespace from manpages 3517 3518 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3519 3520commit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5 3521Author: Thomas E. Dickey <dickey@invisible-island.net> 3522Date: Tue Jul 30 04:36:24 2019 -0400 3523 3524 another fake-quote fix 3525 3526 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3527 3528commit c0f0651f2b4dfa9fef86d1374689220125631993 3529Author: Thomas E. Dickey <dickey@invisible-island.net> 3530Date: Tue Jul 30 04:34:54 2019 -0400 3531 3532 the last commit overlooked some fake-quote pairs 3533 3534 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 3535 3536commit ef31143c9decda54b3ab2937d3300fcf5b493fd6 3537Author: Walter Harms <wharms@bfs.de> 3538Date: Mon Jul 29 18:50:19 2019 +0200 3539 3540 fix ``fake quotes'' in text 3541 3542 to remove the fake quotes replace them with propper 3543 predefined macros \*(lq and \*(rq. this will allow 3544 nroff to choose the propper characters when using ps etc. 3545 3546 Signed-off-by: Walter Harms <wharms@bfs.de> 3547 3548commit 705027ea9b17d6552388d2067736ab4b0bf9dfb5 3549Author: Walter Harms <wharms@bfs.de> 3550Date: Mon Jul 29 18:27:12 2019 +0200 3551 3552 get rid of ``fake quotes'' 3553 3554 these fake quotes are inside a comment and can be replaced with 3555 some double quotes 3556 3557 Signed-off-by: Walter Harms <wharms@bfs.de> 3558 3559commit fe46eb287106ad05538e896783a5cf877a4138df 3560Author: Walter Harms <wharms@bfs.de> 3561Date: Mon Jul 29 17:57:02 2019 +0200 3562 3563 remove all private macro defines 3564 3565 after converting everything to st. man page macros there is 3566 no need to maintain X11 private nroff macros, so remove them. 3567 3568 Signed-off-by: Walter Harms <wharms@bfs.de> 3569 3570commit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764 3571Author: Walter Harms <wharms@bfs.de> 3572Date: Mon Jul 29 17:47:35 2019 +0200 3573 3574 Replace home-grown .Ds .De macro with man page .EX/.EE macro 3575 3576 Same pages use the man page .EX/.EE macro. Replace all occurences 3577 of .De/.Ds with the std. macros to make the code better to maintain. 3578 3579 Signed-off-by: Walter Harms <wharms@bfs.de> 3580 3581commit 951e772bc8d89bc62c4bbac14adc5d4f5027419f 3582Author: Walter Harms <wharms@bfs.de> 3583Date: Wed Jul 3 18:23:51 2019 +0200 3584 3585 fix TBL format 3586 3587 Signed-off-by: Walter Harms <wharms@bfs.de> 3588 3589commit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e 3590Author: Walter Harms <wharms@bfs.de> 3591Date: Wed Jul 3 18:18:09 2019 +0200 3592 3593 replace home grown .ZN with std, .B and .BR 3594 3595 Replace the home grown macro .ZN with std. macros 3596 from man macro paket. So we can get rid of the 3597 definition an get a clean header. 3598 3599 Signed-off-by: Walter Harms <wharms@bfs.de> 3600 3601commit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458 3602Author: Walter Harms <wharms@bfs.de> 3603Date: Sat Jun 22 18:33:48 2019 +0200 3604 3605 remove in-text macros 3606 3607 remove in-text macros an fix a few typos on the way. 3608 hopefuly that will make maintenance more easy. 3609 3610 Signed-off-by: Walter Harms <wharms@bfs.de> 3611 3612commit cb0e894fe9927b07bd9d97c067fd0d007accb105 3613Author: Walter Harms <wharms@bfs.de> 3614Date: Fri Jun 21 18:01:16 2019 +0200 3615 3616 note that we can handle kbd==NULL 3617 3618 Signed-off-by: Walter Harms <wharms@bfs.de> 3619 3620commit 0327c427d62f671eced067c6d9b69f4e216a8cac 3621Author: Adam Jackson <ajax@redhat.com> 3622Date: Mon Jun 17 13:36:08 2019 -0400 3623 3624 makekeys: Detach ourselves from X headers entirely 3625 3626 Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer 3627 building makekeys with enough -I/foo/bar to find the X11 headers, so if 3628 they're not in a system include path, things fail. Since this utility is 3629 only needed at build time, there's no real reason to demand the X 3630 headers be installed for both the build and target machines if cross- 3631 compiling, we can just assume a vaguely ANSI environment instead. 3632 3633 Tested-by: Niclas Zeising <zeising@daemonic.se> 3634 Reviewed-by: Keith Packard <keithp@keithp.com> 3635 Reviewed-by: Matt Turner <mattst88@gmail.com> 3636 3637commit 57f0d421a1320090d3a4948181fe228d86cc8977 3638Author: Matt Turner <mattst88@gmail.com> 3639Date: Mon Jun 17 10:45:45 2019 -0400 3640 3641 libX11 1.6.8 3642 3643 Signed-off-by: Matt Turner <mattst88@gmail.com> 3644 3645commit 5464b302bc0c4a055d3eac06c6ab15e209ff7668 3646Author: Matt Turner <mattst88@gmail.com> 3647Date: Sun Jun 9 14:00:15 2019 -0700 3648 3649 Use AC_SYS_LARGEFILE 3650 3651 ... and include config.h in makekeys.c to get the definition of 3652 _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file 3653 system with 64-bit inode numbers. 3654 3655 Bug: https://bugs.gentoo.org/550502 3656 Bug: https://bugs.gentoo.org/616140 3657 Signed-off-by: Matt Turner <mattst88@gmail.com> 3658 3659commit 33b9148a833ab2ea46e44871da3c031bf1b78f77 3660Author: Ran Benita <ran234@gmail.com> 3661Date: Thu Feb 13 20:55:08 2014 +0200 3662 3663 Compose.man: fix escaped hexadecimal char description 3664 3665 The man page says: 3666 Strings may be direct text encoded in the locale for which the 3667 compose file is to be used, or an escaped octal or hexadecimal 3668 character code. Octal codes are specified as "\123" and 3669 hexadecimal codes as "\0x123a". 3670 3671 But the grammar in the parser and the implementation say: 3672 ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) 3673 HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] 3674 HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) 3675 3676 So "\0x123a" -> "\x3a". 3677 3678 Signed-off-by: Ran Benita <ran234@gmail.com> 3679 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3680 3681commit d9b2cc35edf01e4f751a9ccb5ac185745184cec0 3682Author: ojab <ojab@ojab.ru> 3683Date: Mon Apr 24 20:12:17 2017 +0000 3684 3685 Compose sequences for rouble sign 3686 3687 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 3688 3689 Signed-off-by: Slava Kardakov <ojab@ojab.ru> 3690 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3691 3692commit 3f211616f6414bd9958566c0ca137e87a2b6df95 3693Author: Pavel Labath <pavelo@centrum.sk> 3694Date: Fri Nov 30 20:45:04 2012 +0100 3695 3696 Fix a leak in XCreateFontSet 3697 3698 a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks, 3699 as evidenced by the following valgrind output: 3700 ==983== HEAP SUMMARY: 3701 ==983== in use at exit: 39,409 bytes in 341 blocks 3702 ==983== total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated 3703 ==983== 3704 ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record 3705 40 of 46 3706 ==983== at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 3707 ==983== by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0) 3708 ==983== by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0) 3709 ==983== by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0) 3710 ==983== by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0) 3711 ==983== by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0) 3712 ==983== by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0) 3713 ==983== by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0) 3714 ==983== by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0) 3715 ==983== by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746) 3716 ==983== by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602) 3717 ==983== by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92) 3718 ==983== 3719 ==983== LEAK SUMMARY: 3720 ==983== definitely lost: 136 bytes in 1 blocks 3721 ==983== indirectly lost: 1,552 bytes in 34 blocks 3722 ==983== possibly lost: 0 bytes in 0 blocks 3723 ==983== still reachable: 37,721 bytes in 306 blocks 3724 ==983== suppressed: 0 bytes in 0 blocks 3725 3726 This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still 3727 reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is 3728 destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using 3729 code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the 3730 correct code path, and I'm pretty sure this is correct (the object was constructed using 3731 _XlcCreateLC, it make sense to destroy it using its conterpart). 3732 3733 So far I haven't observed any strange behaviour on my system caused by this change (although, I'm 3734 not sure, how many programs actually use this function). 3735 3736 Signed-off-by: Pavel Labath <pavelo@centrum.sk> 3737 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3738 3739commit 4645e219133458781e3fb48eaea6a74cccb1b9aa 3740Author: Jon Turney <jon.turney@dronecode.org.uk> 3741Date: Tue Apr 30 14:39:06 2019 +0100 3742 3743 Avoid using libtool wrapper for makekeys 3744 3745 For Windows targets, libtool uses a wrapper executable, not a wrapper 3746 script (see [1]), which it compiles with the host compiler. This 3747 doesn't work when cross-compiling. 3748 3749 Since we don't actually need to link with anything, use the libtool flag 3750 -all-static to tell it to stay completely out of this. 3751 3752 [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html 3753 3754commit 6886d9ba06826785a8ccb312c04ea82b91bb6a25 3755Author: Jon Turney <jon.turney@dronecode.org.uk> 3756Date: Wed Apr 24 12:50:41 2019 +0100 3757 3758 Use EXEEXT_FOR_BUILD for makekeys 3759 3760 Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from 3761 EXEEXT_FOR_BUILD, such as when building for Windows from unix. 3762 3763 (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when 3764 cross-compiling. There could be some elaborate autodetection for 3765 EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from 3766 Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...) 3767 3768commit a121b7b0c210efe10bf93453b29050282324c906 3769Author: Jon Turney <jon.turney@dronecode.org.uk> 3770Date: Tue Apr 30 14:30:41 2019 +0100 3771 3772 Remove makekeys dependency on X headers 3773 3774 This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 3775 by Pierre Ossman, reworked for master. 3776 3777 Avoid using LIBS (which are for host, but we don't need) and rewrite 3778 makekeys slightly to avoid needing to include any X headers, which 3779 avoids potentially having -I with host paths in CFLAGS, which can cause 3780 standard headers e.g. stdio.h for the host to also be used, which can 3781 break things... 3782 3783commit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab 3784Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 3785Date: Fri Jun 7 23:35:33 2019 +0200 3786 3787 Braille: Fix typing quickly 3788 3789 On finishing releasing Braille keys, we should clear the just-commited 3790 pattern, to reset the state to initial state, and avoid having to wait for 3791 0.3s before typing the next pattern. 3792 3793 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 3794 Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr> 3795 3796commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 3797Author: Tapani Pälli <tapani.palli@intel.com> 3798Date: Mon May 13 08:29:49 2019 +0300 3799 3800 Protect colormap add/removal with display lock 3801 3802 This fixes a bug where concurrent threads call XCreateColormap and 3803 XFreeColormap corrupting a linked list where colormap structures 3804 are stored. 3805 3806 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94 3807 3808 v2: handle XCopyColormapAndFree also (Adam Jackson) 3809 3810 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> 3811 3812commit fea80d03c381a4de379863c0d41f6d4c00f15e1e 3813Author: Jon Turney <jon.turney@dronecode.org.uk> 3814Date: Wed Mar 13 13:12:20 2019 +0000 3815 3816 Add autoconf checks for headers we include for FIONREAD 3817 3818 Add autoconf checks for the extra headers we include to define FIONREAD. 3819 This needs sys/socket.h on Cygwin, and none of the alternatives on 3820 Windows. 3821 3822commit 87c77a1e6d7034536e9d25ce24a667ebf53486a7 3823Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 3824Date: Mon Mar 11 14:19:52 2019 +0000 3825 3826 locale.alias.pre - add the de_IT locale 3827 3828 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3829 3830commit 568f77f414072506bbe48646637c872987c97e63 3831Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 3832Date: Mon Mar 11 14:17:10 2019 +0000 3833 3834 locale.dir.pre - add the de_IT locale 3835 3836 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3837 3838commit 38c0c92feaef7dc4a72920b1dd79872e6578086c 3839Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 3840Date: Mon Mar 11 14:12:07 2019 +0000 3841 3842 compose.dir.pre - add de_IT locale 3843 3844 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3845 3846commit 49f835611ba6ab82e68b7b851507931c142db7a5 3847Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 3848Date: Tue Jan 29 15:34:34 2019 +0000 3849 3850 Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH) 3851 3852 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3853 3854commit ed669234d0cd5933618aa5fd2da697b59845b9be 3855Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 3856Date: Tue Jan 29 15:28:18 2019 +0000 3857 3858 locale.dir.pre - fix the de_LI latin15 locale 3859 3860 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3861 3862commit 82b5c1454a49333b4d94984d40db79cff386d37f 3863Author: Josh Triplett <josh@joshtriplett.org> 3864Date: Sun Feb 3 08:31:41 2019 +0100 3865 3866 compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences 3867 3868 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 3869 3870commit 603c3ab25a692194805fd4b0c62afac8093897fe 3871Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3872Date: Sat Mar 9 20:58:07 2019 -0800 3873 3874 Add missing close paren to XrmGetStringDatabase synopsis in man page 3875 3876 Fixes: commit 0642e99ac05afb0c 3877 3878 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3879 3880commit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85 3881Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3882Date: Sat Feb 23 11:12:27 2019 -0800 3883 3884 Include reallocarray.h in tarballs so "make distcheck" passes 3885 3886 Fixes: commit bcf7b5aa06c23aee 3887 3888 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3889 3890commit a4a7df06351ce9565d298a84547ff71f2d220fbf 3891Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3892Date: Sat Feb 23 11:04:41 2019 -0800 3893 3894 XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris 3895 3896 Fixes: commit 5538b3e4ae6dee 3897 3898 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3899 3900commit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044 3901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3902Date: Sat Feb 23 10:48:26 2019 -0800 3903 3904 specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys() 3905 3906 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86 3907 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550 3908 3909 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3910 3911commit 74f2f26811ae82b15dede31504b0eb541f7a3293 3912Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3913Date: Sat Feb 23 10:46:05 2019 -0800 3914 3915 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys() 3916 3917 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85 3918 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549 3919 3920 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3921 3922commit 66b039a41690f076e962ac6bd46cca017360a7d1 3923Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3924Date: Sat Feb 23 10:44:15 2019 -0800 3925 3926 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows() 3927 3928 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84 3929 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548 3930 3931 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3932 3933commit cdea0e840315171f8390adc63a2397ddf111eea4 3934Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3935Date: Sat Feb 23 10:38:08 2019 -0800 3936 3937 specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry() 3938 3939 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82 3940 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520 3941 3942 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3943 3944commit c72d17ada98723cd9e03ddf06680a0e54b2c3089 3945Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3946Date: Sat Feb 23 10:30:32 2019 -0800 3947 3948 XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys 3949 3950 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3951 3952commit 05002b8aef9544c8545e0823a02cf14f335d2b68 3953Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3954Date: Sun Feb 17 15:13:25 2019 -0800 3955 3956 Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask 3957 3958 Reported-by: Daniel Hahler <git@thequod.de> 3959 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3960 3961commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c 3962Author: Adam Jackson <ajax@redhat.com> 3963Date: Fri Mar 24 11:07:36 2017 -0400 3964 3965 _XDefaultIOError: Do better at detecting explicit shutdown 3966 3967 Currently, when the X server crashes or a client is disconnected with 3968 XKillClient, you get a somewhat confusing error message from libX11 3969 along the lines of: 3970 3971 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" 3972 after 98 requests (40 known processed) with 0 events remaining. 3973 3974 What's happening here is the previous recvmsg has thrown EAGAIN, since 3975 the socket is non-blocking. In this case, check whether the socket has 3976 any more data to read, and if not treat it like EPIPE. 3977 3978 Signed-off-by: Adam Jackson <ajax@redhat.com> 3979 3980commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 3981Author: Adam Jackson <ajax@redhat.com> 3982Date: Fri Mar 24 11:07:35 2017 -0400 3983 3984 _XDefaultIOError: Reformat to be less ugly 3985 3986 Signed-off-by: Adam Jackson <ajax@redhat.com> 3987 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3988 3989commit 003e30a66a249f5c70b30d1c187385124cd4cdad 3990Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3991Date: Tue Jan 1 14:34:04 2019 -0800 3992 3993 Avoid use-after-free in _XimProtoSetIMValues() 3994 3995 Fixes gitlab issue #49 3996 3997 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3998 3999commit 30656fd66ad47aeaca0bfc237a818f189554f07e 4000Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4001Date: Tue Jan 1 12:21:04 2019 -0800 4002 4003 Fix implicit conversion warnings in _XlcCreateDefaultCharSet 4004 4005 lcCharSet.c:187:50: warning: implicit conversion changes signedness: 4006 'int' to 'unsigned long' [-Wsign-conversion] 4007 tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1); 4008 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 4009 ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc' 4010 ~~~~~~ ^~~~ 4011 lcCharSet.c:192:31: warning: implicit conversion changes signedness: 4012 'int' to 'unsigned long' [-Wsign-conversion] 4013 memcpy(tmp, name, name_len+1); 4014 ~~~~~~ ~~~~~~~~^~ 4015 lcCharSet.c:216:45: warning: implicit conversion changes signedness: 4016 'int' to 'unsigned long' [-Wsign-conversion] 4017 memcpy(tmp, ct_sequence, ct_sequence_len+1); 4018 ~~~~~~ ~~~~~~~~~~~~~~~^~ 4019 lcCharSet.c:183:16: warning: implicit conversion loses integer precision: 4020 'unsigned long' to 'int' [-Wshorten-64-to-32] 4021 name_len = strlen(name); 4022 ~ ^~~~~~~~~~~~ 4023 lcCharSet.c:184:23: warning: implicit conversion loses integer precision: 4024 'unsigned long' to 'int' [-Wshorten-64-to-32] 4025 ct_sequence_len = strlen(ct_sequence); 4026 ~ ^~~~~~~~~~~~~~~~~~~ 4027 lcCharSet.c:198:37: warning: implicit conversion loses integer precision: 4028 'long' to 'unsigned int' [-Wshorten-64-to-32] 4029 unsigned int length = colon - charset->name; 4030 ~~~~~~ ~~~~~~^~~~~~~~~~~~~~~ 4031 4032 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4033 4034commit 2e6300905784fa8adfcea019262ea58b3e1ed4ad 4035Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4036Date: Tue Jan 1 11:41:47 2019 -0800 4037 4038 Remove no-longer-used name variable in _XGetAtomName 4039 4040 Fixes gcc warning: 4041 GetAtomNm.c: In function ‘_XGetAtomName’: 4042 GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable] 4043 char *name; 4044 ^~~~ 4045 4046 Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 4047 4048 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4049 4050commit f077871c2a12cf098b0c50572e112c6dc5e04de0 4051Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4052Date: Sat Dec 29 11:39:29 2018 -0800 4053 4054 Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 4055 4056 In-tree builds found reallocarray.h in $(top_builddir)/src but the 4057 out-of-tree build didn't find it at all. 4058 4059 Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline 4060 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4061 4062commit ba7f7cc783672784bebc6e69349b55c6c75c1973 4063Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4064Date: Sun Sep 27 18:35:27 2015 -0700 4065 4066 Convert src/xlibi18n to use reallocarray() 4067 4068 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4069 4070commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 4071Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4072Date: Sat Sep 26 11:12:47 2015 -0700 4073 4074 Replace Xmalloc+strcpy pairs with strdup calls 4075 4076 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4077 4078commit 258a8ced681dc1bc50396be7439fce23f9807e2a 4079Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4080Date: Sun Jul 19 11:58:50 2015 -0700 4081 4082 Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray 4083 4084 Makes resizing & clearing more consistent and gets rid of some weird 4085 quirks like always subtracting 1 from the size passed to _XkbClearElems 4086 so it could always add 1 to the size passed in. 4087 4088 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4089 4090commit f94273e2f4284040306b888e5ca0381ee00591af 4091Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4092Date: Sun Jul 19 09:47:29 2015 -0700 4093 4094 Add some missing allocation failure checks in src/xcms 4095 4096 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4097 4098commit 76850471b4a5a6d30f5660234e87ec2772e7b426 4099Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4100Date: Sun Jul 19 09:33:21 2015 -0700 4101 4102 Convert src/xcms to use reallocarray() 4103 4104 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4105 4106commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 4107Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4108Date: Sun Jul 19 09:24:02 2015 -0700 4109 4110 Convert src/XKB to use reallocarray() 4111 4112 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4113 4114commit 6d1dc1f6169ebf0ba71785d461bd98129c65c862 4115Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4116Date: Thu Jun 4 23:30:43 2015 -0700 4117 4118 Convert main src directory to use reallocarray() 4119 4120commit bcf7b5aa06c23aee00af7999b58cb96a8571ac42 4121Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4122Date: Thu Jun 4 23:18:23 2015 -0700 4123 4124 Import reallocarray() from OpenBSD 4125 4126 Wrapper for realloc() that checks for overflow when multiplying 4127 arguments together, so we don't have to add overflow checks to 4128 every single call. For documentation on usage, see: 4129 http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 4130 4131 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4132 4133commit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 4134Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4135Date: Mon Nov 19 21:26:23 2018 -0800 4136 4137 Update README for gitlab migration 4138 4139 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4140 4141commit c8bcc19970a2cc4ad337de1338c63a07325eefcd 4142Author: Albert Astals Cid <aacid@kde.org> 4143Date: Fri Nov 9 22:24:52 2018 +0100 4144 4145 locale.dir: Add ast_ES.UTF-8 4146 4147 With this patch xev properly reports 4148 XLookupString gives 2 bytes: (c2 b4) "´" 4149 for the dead_acute key when using the Asturian locale 4150 4151commit 117bb310b44ce03802c91a70949eb58dcc702a3c 4152Author: Albert Astals Cid <aacid@kde.org> 4153Date: Fri Nov 9 22:18:43 2018 +0100 4154 4155 compose.dir: Add ast_ES.UTF-8 4156 4157 With this patch one can properly type dead keys like á when using the 4158 Asturian locale 4159 4160commit d7e22252d68258a63ca537827c99d0ac0bc4b9d8 4161Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4162Date: Sat Nov 10 13:30:47 2018 -0800 4163 4164 Remove documentation of obsolete B16 & B32 tags in specs/libX11 4165 4166 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4167 4168commit f3c978476e0be6813268af494efb7ac507451116 4169Author: Matt Turner <mattst88@gmail.com> 4170Date: Tue Oct 9 10:26:05 2018 -0400 4171 4172 libX11 1.6.7 4173 4174 Signed-off-by: Matt Turner <mattst88@gmail.com> 4175 4176commit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 4177Author: Michel Dänzer <michel.daenzer@amd.com> 4178Date: Fri Sep 28 17:24:17 2018 +0200 4179 4180 poll_for_event: Allow using xcb_poll_for_queued_event 4181 4182 It avoids reading from the display connection again in cases where that 4183 was already done. 4184 4185 Suggested-by: Uli Schlachter <psychon@znc.in> 4186 Reviewed-by: Uli Schlachter <psychon@znc.in> 4187 4188commit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 4189Author: Michel Dänzer <michel.daenzer@amd.com> 4190Date: Tue Sep 25 17:10:58 2018 +0200 4191 4192 poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails 4193 4194 If xcb_poll_for_reply fails to find a reply, poll_for_response would 4195 always return NULL. However, xcb_poll_for_reply may have read events 4196 from the display connection while looking for a reply. In that case, 4197 returning NULL from poll_for_response is wrong and can result in the 4198 client hanging, e.g. because it returns to waiting for the display 4199 connection file descriptor becoming readable after XPending incorrectly 4200 returned 0 pending events. 4201 4202 The solution is to call poll_for_event again after xcb_poll_for_reply 4203 returned 0. This will return the first of any events read by 4204 xcb_poll_for_reply. 4205 4206 Fixes issue #79. 4207 4208 Reported-by: Yuxuan Shui <yshuiv7@gmail.com> 4209 Bugzilla: https://bugs.freedesktop.org/108008 4210 Bugzilla: https://bugs.freedesktop.org/107992 4211 Reviewed-by: Adam Jackson <ajax@redhat.com> 4212 4213commit d0416863d5bf75af54ce81f6c30d4c1476b5e04f 4214Author: Bhavi Dhingra <b.dhingra@samsung.com> 4215Date: Mon Sep 28 08:33:40 2015 +0000 4216 4217 XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB 4218 4219 Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 4220 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 4221 4222 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4223 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4224 4225commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 4226Author: Matthieu Herrb <matthieu@herrb.eu> 4227Date: Tue Aug 21 16:54:50 2018 +0200 4228 4229 libX11 1.6.6 4230 4231 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4232 4233commit 173704243fbcbea0b6de2068b4fb403c7408fb54 4234Author: Matthieu Herrb <matthieu@herrb.eu> 4235Date: Tue Aug 21 16:53:40 2018 +0200 4236 4237 Remove statement with no effect. 4238 4239 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4240 4241commit e83722768fd5c467ef61fa159e8c6278770b45c2 4242Author: Tobias Stoeckmann <tobias@stoeckmann.org> 4243Date: Fri Jul 27 16:38:00 2018 +0200 4244 4245 Fixed crash on invalid reply (CVE-2018-14598). 4246 4247 If the server sends a reply in which even the first string would 4248 overflow the transmitted bytes, list[0] (or flist[0]) will be set to 4249 NULL and a count of 0 is returned. 4250 4251 If the resulting list is freed with XFreeExtensionList or 4252 XFreeFontPath later on, the first Xfree call: 4253 4254 Xfree (list[0]-1) 4255 turns into 4256 Xfree (NULL-1) 4257 4258 which will most likely trigger a segmentation fault. 4259 4260 I have modified the code to return NULL if the first string would 4261 overflow, thus protecting the freeing functions later on. 4262 4263 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 4264 4265commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 4266Author: Tobias Stoeckmann <tobias@stoeckmann.org> 4267Date: Fri Jul 27 16:37:17 2018 +0200 4268 4269 Fixed out of boundary write (CVE-2018-14600). 4270 4271 The length value is interpreted as signed char on many systems 4272 (depending on default signedness of char), which can lead to an out of 4273 boundary write up to 128 bytes in front of the allocated storage, but 4274 limited to NUL byte(s). 4275 4276 Casting the length value to unsigned char fixes the problem and allows 4277 string values with up to 255 characters. 4278 4279 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 4280 4281commit b469da1430cdcee06e31c6251b83aede072a1ff0 4282Author: Tobias Stoeckmann <tobias@stoeckmann.org> 4283Date: Fri Jul 27 16:36:34 2018 +0200 4284 4285 Fixed off-by-one writes (CVE-2018-14599). 4286 4287 The functions XGetFontPath, XListExtensions, and XListFonts are 4288 vulnerable to an off-by-one override on malicious server responses. 4289 4290 The server replies consist of chunks consisting of a length byte 4291 followed by actual string, which is not NUL-terminated. 4292 4293 While parsing the response, the length byte is overridden with '\0', 4294 thus the memory area can be used as storage of C strings later on. To 4295 be able to NUL-terminate the last string, the buffer is reserved with 4296 an additional byte of space. 4297 4298 For a boundary check, the variable chend (end of ch) was introduced, 4299 pointing at the end of the buffer which ch initially points to. 4300 Unfortunately there is a difference in handling "the end of ch". 4301 4302 While chend points at the first byte that must not be written to, 4303 the for-loop uses chend as the last byte that can be written to. 4304 4305 Therefore, an off-by-one can occur. 4306 4307 I have refactored the code so chend actually points to the last byte 4308 that can be written to without an out of boundary access. As it is not 4309 possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 4310 with the corrected chend meaning, I removed the inner if-check. 4311 4312 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 4313 4314commit d81da209fd4d0c2c9ad0596a8078e58864479d0d 4315Author: Tobias Stoeckmann <tobias@stoeckmann.org> 4316Date: Tue Jul 3 22:31:37 2018 +0200 4317 4318 Validation of server response in XListHosts. 4319 4320 If a server sends an incorrect length in its response, a client is prone 4321 to perform an out of boundary read while processing the data. 4322 4323 The length field of xHostEntry is used to specify the amount of bytes 4324 used to represent the address. It is 16 bit, which means that it is not 4325 possible to perform an arbitrary memory access, but it might be enough 4326 to read sensitive information, e.g. malloc-related pointers and offsets. 4327 4328 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 4329 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4330 4331commit b676e62377483df77bcb6472d26b24f901323fa9 4332Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 4333Date: Wed Jun 13 15:46:58 2018 +0200 4334 4335 XkbOpenDisplay.3: fix typo 4336 4337 XkbOpenDisplay returns a pointer to Display, not a Display. 4338 4339 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 4340 4341commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 4342Author: Martin Natano <natano@natano.net> 4343Date: Sat Oct 8 19:57:50 2016 +0200 4344 4345 Don't rebuild ks_tables.h if nothing changed. 4346 4347 ks_tables.h is always considered out of date due to the forced rebuild 4348 of the makekeys util. This means the file is also rebuilt during 'make 4349 install', which is usually performed as root, which can to lead 4350 permission problems later on. 4351 4352 Signed-off-by: Martin Natano <natano@natano.net> 4353 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4354 4355commit 796f754cba6d75b676a0fc39b97802198fceda4f 4356Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4357Date: Sat May 5 14:43:30 2018 -0700 4358 4359 Change fall through comment in lcDB.c to match gcc's requirements 4360 4361 Needs to match one of the regexps shown under 4362 https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 4363 4364 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4365 4366commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 4367Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4368Date: Sat Mar 24 19:45:14 2018 -0700 4369 4370 Use size_t for buffer sizes in SetHints.c 4371 4372 These variables store values returned from strlen() as a size_t 4373 and are passed to Xmalloc, which expects a size_t, so lets stop 4374 converting back and forth to int along the way. 4375 4376 Reported by: Konstantin SKliarov 4377 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4378 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4379 4380commit 50a5a98984097d614227d22a49265e12b172cac7 4381Author: Bhavi Dhingra <b.dhingra@samsung.com> 4382Date: Tue Jul 5 11:37:50 2016 +0530 4383 4384 Fix possible memory leak in cmsProp.c:140 4385 4386 https://bugs.freedesktop.org/show_bug.cgi?id=96814 4387 4388 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4389 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4390 4391commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 4392Author: Michal Srb <msrb@suse.com> 4393Date: Thu Mar 15 09:50:58 2018 +0100 4394 4395 Use flexible array member instead of fake size. 4396 4397 The _XimCacheStruct structure is followed in memory by two strings containing 4398 fname and encoding. The memory was accessed using the last member of the 4399 structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 4400 confuses checkers. Lets declare it properly as a flexible array, so compilers 4401 don't complain about writing past that array. As bonus we can replace the 4402 XOffsetOf with regular sizeof. 4403 4404 Fixes GCC8 error: 4405 In function 'strcpy', 4406 inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 4407 inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 4408 inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 4409 /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 4410 forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 4411 return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 4412 4413 Caused by this line seemingly writing past the fname[1] array: 4414 imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 4415 4416 Reviewed-by: Keith Packard <keithp@keithp.com> 4417 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4418 4419commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 4420Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4421Date: Tue Mar 6 11:42:27 2018 -0800 4422 4423 If XGetImage fails to create image, don't dereference it to bounds check 4424 4425 Reported by gcc 7.3: 4426 4427 GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 4428 if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 4429 ~~~~~^~~~~~~~ 4430 4431 Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 4432 4433 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4434 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 4435 4436commit e835a9dcc3362b5e92893be756dd7ae361e64ced 4437Author: wharms <wharms@bfs.de> 4438Date: Sun Sep 3 14:17:45 2017 +0200 4439 4440 silence gcc warning assignment discards 'const' qualifier from pointer target type 4441 4442commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 4443Author: wharms <wharms@bfs.de> 4444Date: Sun Aug 20 21:51:57 2017 +0200 4445 4446 remove empty line 4447 4448commit e02dfe54f32b4165351d2712a9d2e0584906a3ce 4449Author: wharms <wharms@bfs.de> 4450Date: Sun Aug 20 21:50:33 2017 +0200 4451 4452 add _X_UNUSED to avoid unused variable warnings 4453 4454commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 4455Author: walter harms <wharms@bfs.de> 4456Date: Sat Jun 4 17:19:59 2016 +0200 4457 4458 Fixes: warning: variable 'req' set but not,used 4459 4460 Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 4461 by marking req _X_UNUSED 4462 Solution was discussed on xorg-devel ML 4463 Peter Hutter, Alan Coopersmith 4464 Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 4465 4466 Signed-off-by: harms wharms@bfs.de 4467 4468commit bf82ec0402479fd8399d69e7d62fc17d7956699a 4469Author: walter harms <wharms@bfs.de> 4470Date: Sat Jun 4 17:22:07 2016 +0200 4471 4472 mark _XDefaultIOError as no_return 4473 4474 mark _XDefaultIOError as no_return. No one comes back from exit() ... 4475 4476 Signed-off-by: harms wharms@bfs.de 4477 4478commit 9abe8380074edea3ac4e72466ec47e921ca05e47 4479Author: walter harms <wharms@bfs.de> 4480Date: Sat Jun 4 17:21:52 2016 +0200 4481 4482 no need to check XFree arguments 4483 4484 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 4485 4486 Signed-off-by: harms wharms@bfs.de 4487 4488commit 433477fcb7e07d0c26a22ba78aae88827ed1f440 4489Author: walter harms <wharms@bfs.de> 4490Date: Tue Apr 26 16:32:20 2016 +0200 4491 4492 fix memleak in error path 4493 4494 free all mem on error 4495 Signed-off-by: walter harms <wharms@bfs.de> 4496 4497commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 4498Author: walter harms <wharms@bfs.de> 4499Date: Tue Apr 26 17:58:16 2016 +0200 4500 4501 fix memleak in error path 4502 4503 V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 4504 4505 fix mem leak in error path 4506 Signed-off-by: walter harms <wharms@bfs.de> 4507 4508commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 4509Author: walter harms <wharms@bfs.de> 4510Date: Tue Apr 26 16:34:11 2016 +0200 4511 4512 no need to check args for Xfree() 4513 4514 simplify code 4515 4516 Signed-off-by: walter harms <wharms@bfs.de> 4517 4518commit c1c14af441ae73d1a8e67a971fafcf967e45ac48 4519Author: walter harms <wharms@bfs.de> 4520Date: Tue Apr 26 16:23:46 2016 +0200 4521 4522 remove stray extern 4523 4524 remove stray extern 4525 4526 Signed-off-by: walter harms <wharms@bfs.de> 4527 4528commit 714921f041a245dc5f37a689268b584226a2ccb9 4529Author: walter harms <wharms@bfs.de> 4530Date: Mon Apr 11 18:26:52 2016 +0200 4531 4532 no need to check argument for _XkbFree() 4533 4534 simplify code by removing unneeded checks 4535 4536 Signed-off-by: walter harms <wharms@bfs.de> 4537 4538commit d02c2466f65063a03c97dbcee05071c12a3676e6 4539Author: walter harms <wharms@bfs.de> 4540Date: Mon Apr 11 18:22:38 2016 +0200 4541 4542 fix more shadow warning 4543 4544 Signed-off-by: walter harms <wharms@bfs.de> 4545 4546commit 0355c3926d5372f9762f235071dbd94a89bbbdad 4547Author: walter harms <wharms@bfs.de> 4548Date: Thu Mar 31 19:16:33 2016 +0200 4549 4550 fix shadow char_size 4551 4552 Signed-off-by: walter harms <wharms@bfs.de> 4553 4554commit 916dffadf052135df3398651be873c353da629e1 4555Author: walter harms <wharms@bfs.de> 4556Date: Thu Mar 31 19:14:32 2016 +0200 4557 4558 remove argument check for free() adjust one inden 4559 4560 Signed-off-by: walter harms <wharms@bfs.de> 4561 4562commit 6ec901ebca3fea6a762e22090dc35b1b90911133 4563Author: walter harms <wharms@bfs.de> 4564Date: Thu Mar 31 19:12:17 2016 +0200 4565 4566 _XIOError(dpy); will never return so remore dead 4567 4568 Signed-off-by: walter harms <wharms@bfs.de> 4569 4570commit 83107a677b2ed458e4d62ea4a601e8181d3683d8 4571Author: walter harms <wharms@bfs.de> 4572Date: Thu Mar 31 19:10:49 2016 +0200 4573 4574 fix shadow warning 4575 4576 Signed-off-by: walter harms <wharms@bfs.de> 4577 4578commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 4579Author: Ryan C. Gordon <icculus@icculus.org> 4580Date: Wed Aug 2 02:41:03 2017 -0400 4581 4582 Valgrind fix for XStoreColor and XStoreColors. 4583 4584 If the "pad" field isn't set, Valgrind will report it as uninitialized 4585 memory accesses when the struct is copied into the Display's send buffer. 4586 4587 In practice, this is (probably) harmless, but Valgrind is correct in 4588 believing it's a bug. 4589 4590 https://bugs.freedesktop.org/attachment.cgi?id=133189 4591 4592 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4593 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4594 4595commit 7d2010fec25c2f52b873ad0572479eb43128b038 4596Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4597Date: Fri Apr 7 00:13:03 2017 -0700 4598 4599 Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 4600 4601 Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 4602 contains some malformed text" caused by extra whitespace after .TE macros 4603 4604 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4605 4606commit b856d5d929047d1ea169814d56e43784ea404c83 4607Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4608Date: Thu Mar 16 00:05:49 2017 -0700 4609 4610 Clarify state parameter to XkbSetNamedDeviceIndicator 4611 4612 Checking a Bool to see if it's NULL does not work well in C. 4613 Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 4614 4615 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4616 Reviewed-by: Adam Jackson <ajax@redhat.com> 4617 4618commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 4619Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4620Date: Wed Mar 15 23:50:26 2017 -0700 4621 4622 Make Xkb{Get,Set}NamedIndicator spec & manpages match code 4623 4624 The XKB Library spec and the man pages for XkbGetNamedIndicator & 4625 XkbSetNamedIndicator included a device_spec argument neither function 4626 takes, and do not include the XkbGetNamedDeviceIndicator & 4627 XkbSetNamedDeviceIndicator variants that do take it (along with two 4628 other arguments). 4629 4630 This updates them to match the interfaces the code has provided for 4631 decades. 4632 4633 This has been reported multiple times, so this fixes: 4634 https://bugs.freedesktop.org/show_bug.cgi?id=251 4635 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 4636 Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 4637 (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 4638 X.Org Group Defect Id #9418 4639 4640 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4641 Reviewed-by: Adam Jackson <ajax@redhat.com> 4642 4643commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 4644Author: Arthur Huillet <ahuillet@nvidia.com> 4645Date: Wed Feb 1 15:02:41 2017 +0100 4646 4647 _XDefaultError: set XlibDisplayIOError flag before calling exit 4648 4649 _XReply isn't reentrant, and it can lead to deadlocks when the default error 4650 handler is called: _XDefaultError calls exit(1). It is called indirectly by 4651 _XReply when a X protocol error comes in that isn't filtered/handled by an 4652 extension or the application. This means that if the application (or one of its 4653 loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 4654 _fini destructor, _fini will get called while still on the call stack of 4655 _XReply. If the destructor interacts with the X server and calls _XReply, it 4656 will hit a deadlock, looping on the following in _XReply: 4657 4658 ConditionWait(dpy, dpy->xcb->reply_notify); 4659 4660 It is legal for an application to make Xlib calls during _fini, and that is 4661 useful for an OpenGL driver to avoid resource leaks on the X server side, for 4662 example in the dlopen/dlclose case. However, the driver can not readily tell 4663 whether its _fini is being called because Xlib called exit, or for another 4664 reason (dlclose), so it is hard to cleanly work around this issue in the driver. 4665 4666 This change makes it so _XReply effectively becomes a no-op when called after 4667 _XDefaultError was called, as though an XIOError had happened. The dpy 4668 connection isn't broken at that point, but any call to _XReply is going to hang. 4669 This is a bit of a kludge, because the more correct solution would be to make 4670 _XReply reentrant, maybe by broadcasting the reply_notify condition before 4671 calling the default error handler. However, such a change would carry a grater 4672 risk of introducing regressions in Xlib. 4673 4674 This change will drop some valid requests on the floor, but this should not 4675 matter, as it will only do so in the case where the application is dying: X will 4676 clean up after it once exit() is done running. There is the case of 4677 XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 4678 to clean up resources in _fini would currently be hitting a deadlock, which is 4679 hardly a better situation. 4680 4681 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 4682 Reviewed-by: Jamey Sharp <jamey@minilop.net> 4683 4684commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 4685Author: Matt Turner <mattst88@gmail.com> 4686Date: Sat Feb 25 21:54:22 2017 -0800 4687 4688 libX11 1.6.5 4689 4690 Signed-off-by: Matt Turner <mattst88@gmail.com> 4691 4692commit a0da5835e8078445947c828fe2d86c1a31439012 4693Author: Adam Jackson <ajax@redhat.com> 4694Date: Tue Feb 14 15:33:29 2017 -0500 4695 4696 Revert "Compose sequences for rouble sign" 4697 4698 This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 4699 4700 Reported to break 'make check': 4701 4702 https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 4703 4704commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 4705Author: Mihail Konev <k.mvc@ya.ru> 4706Date: Fri Feb 10 18:48:18 2017 +0500 4707 4708 Compose sequences for rouble sign 4709 4710 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 4711 Also add Cyrillic sequences for hryvnia sign. 4712 4713 Submitted-by: Victor V. Kustov <coyote@bks.tv> 4714 Reviewed-by: Victor V. Kustov <coyote@bks.tv> 4715 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 4716 4717commit 23d9623c661694aba8cf1e8f277dffa7a86cf065 4718Author: Petr Písař <petr.pisar@atlas.cz> 4719Date: Sun Oct 30 12:49:11 2016 +0100 4720 4721 Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 4722 4723 The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 4724 locale and reporting this error: 4725 4726 Warning: locale not supported by Xlib, locale set to C 4727 4728 Therefore this patch reverts to the en_US.UTF-8 definition file that was used 4729 before. This patch also deduplicates the cs_CZ.UTF-8 entry. 4730 4731 <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 4732 4733 This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 4734 4735 Signed-off-by: Julien Cristau <jcristau@debian.org> 4736 4737commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 4738Author: Mihail Konev <k.mvc@ya.ru> 4739Date: Thu Jan 26 13:52:49 2017 +1000 4740 4741 autogen: add default patch prefix 4742 4743 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 4744 4745commit 2979011bc170c55894b9185b26376f8efc6db7d4 4746Author: Emil Velikov <emil.l.velikov@gmail.com> 4747Date: Mon Mar 9 12:00:52 2015 +0000 4748 4749 autogen.sh: use quoted string variables 4750 4751 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 4752 fall-outs, when they contain space. 4753 4754 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 4755 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4756 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4757 4758commit 4a0082a1b6affa65d38294f0e13511525cd8ad15 4759Author: Peter Hutterer <peter.hutterer@who-t.net> 4760Date: Tue Jan 24 10:32:07 2017 +1000 4761 4762 autogen.sh: use exec instead of waiting for configure to finish 4763 4764 Syncs the invocation of configure with the one from the server. 4765 4766 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4767 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 4768 4769commit c74b070f2712c95f0db7c320a10232b0e5c83049 4770Author: Julien Cristau <jcristau@debian.org> 4771Date: Sat Jan 7 16:20:31 2017 +0100 4772 4773 Fix wrong Xfree in XListFonts failure path 4774 4775 'ch' gets moved inside the allocated buffer as we're looping through 4776 fonts, so keep a reference to the start of the buffer so we can pass 4777 that to Xfree in the failure case. 4778 4779 Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 4780 4781 Signed-off-by: Julien Cristau <jcristau@debian.org> 4782 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4783 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4784 4785commit 663f47075fe67bab4f99bc5d186c49175d4a4334 4786Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4787Date: Sun Jan 1 20:57:58 2017 -0800 4788 4789 specs/libX11: Update Portability Considerations for the 21st century 4790 4791 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4792 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4793 4794commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 4795Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4796Date: Sun Jan 1 20:39:53 2017 -0800 4797 4798 specs/libX11: Fix broken synopsis for Data/Data16/Data32 4799 4800 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4801 4802commit 382561951e3460b09c21a1a23748cde0315fbb19 4803Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4804Date: Sun Jan 1 20:31:54 2017 -0800 4805 4806 specs/libX11: Add missing parameter types for XGetWindowProperty() 4807 4808 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4809 4810commit 2beaecdb66965b861d6b790d151ba947f65f0a22 4811Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4812Date: Sun Jan 1 20:16:08 2017 -0800 4813 4814 specs/libX11: Make paramdef spacing more consistent 4815 4816 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4817 4818commit 4c436c6c14cfd4c397b011563bf13c2872861133 4819Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4820Date: Sun Jan 1 20:02:53 2017 -0800 4821 4822 specs/libX11: Fix paramdef entries listing multiple parameters 4823 4824 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4825 4826commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 4827Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4828Date: Sun Jan 1 19:38:40 2017 -0800 4829 4830 specs/libX11: More synopsis fixes 4831 4832 Mostly transforming macro definitions and functions taking void arguments 4833 from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 4834 4835 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4836 4837commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 4838Author: Lucien Gentis <lucien.gentis@waika9.com> 4839Date: Wed Jun 1 17:02:47 2016 +0200 4840 4841 Typos in "Xlib - C Language X Interface" document - Chapter 02 4842 4843 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 4844 4845 Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 4846 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4847 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4848 4849commit 20a3f99eba5001925b8b313da3accb7900eb1927 4850Author: Emilio Pozuelo Monfort <pochu@debian.org> 4851Date: Tue Oct 25 21:30:15 2016 +0200 4852 4853 Plug a memory leak 4854 4855 This was introduced in 8ea762f. 4856 4857 Reported-by: Julien Cristau <jcristau@debian.org> 4858 Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 4859 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4860 4861commit 8f349feac24aacc958bd816afcc52380764e3d92 4862Author: Matthieu Herrb <matthieu.herrb@laas.fr> 4863Date: Tue Oct 4 21:01:39 2016 +0200 4864 4865 libX11 1.6.4 4866 4867 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4868 4869commit 8ea762f94f4c942d898fdeb590a1630c83235c17 4870Author: Tobias Stoeckmann <tobias@stoeckmann.org> 4871Date: Sun Sep 25 21:25:25 2016 +0200 4872 4873 Validation of server responses in XGetImage() 4874 4875 Check if enough bytes were received for specified image type and 4876 geometry. Otherwise GetPixel and other functions could trigger an 4877 out of boundary read later on. 4878 4879 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 4880 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4881 4882commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 4883Author: Tobias Stoeckmann <tobias@stoeckmann.org> 4884Date: Sun Sep 25 21:22:57 2016 +0200 4885 4886 The validation of server responses avoids out of boundary accesses. 4887 4888 v2: FontNames.c return a NULL list whenever a single 4889 length field from the server is incohent. 4890 4891 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 4892 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4893 4894commit 78851f6a03130e3c720b60c3cbf96f8eb216d741 4895Author: walter harms <wharms@bfs.de> 4896Date: Mon Aug 15 19:18:14 2016 +0200 4897 4898 XFree will accept NULL as argument 4899 4900 since Xfree is a define for free(): 4901 Xlibint.h:#define Xfree(ptr) free((ptr)) 4902 4903 Xfree will accept NULL and do nothing. 4904 4905 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 4906 4907commit 83adf3d1e3d0d6602244381334f75c216da4ab6e 4908Author: Matthew D. Fuller <fullermd@over-yonder.net> 4909Date: Sat Jun 4 11:24:01 2016 -0500 4910 4911 Fixup param specification for XChangeProperty() 4912 4913 Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 4914 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4915 4916commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 4917Author: Mats Blakstad <mats.gbproject@gmail.com> 4918Date: Sun Feb 28 13:22:03 2016 -0500 4919 4920 New compose keys for local languages in Togo 4921 4922 Signed-off-by: James Cloos <cloos@jhcloos.com> 4923 4924commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 4925Author: Daniel Albers <daniel@lbe.rs> 4926Date: Wed Mar 9 14:35:48 2016 +0100 4927 4928 Add Compose sequence for U+1F4A9. 4929 4930 Signed-off-by: Daniel Albers <daniel@lbe.rs> 4931 4932commit 6d7bb040c928485f2557c2c914b95cffb2354179 4933Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4934Date: Sat Feb 6 14:18:32 2016 -0800 4935 4936 xcms: use size_t for pointer offsets passed to strncmp 4937 4938 instead of converting to int and back 4939 4940 Fixes clang warnings of the form: 4941 HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 4942 'unsigned long' [-Wsign-conversion] 4943 if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 4944 ~~~~~~~ 4945 4946 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4947 4948commit a9266804eed38a83897ab5f0f9f8a8ab82a98882 4949Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4950Date: Sat Feb 6 13:32:44 2016 -0800 4951 4952 xcms: use unsigned indexes when looping through unsigned values 4953 4954 Clears many gcc warnings of the form: 4955 4956 uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 4957 uvY.c:263:19: warning: comparison between signed and unsigned integer 4958 expressions [-Wsign-compare] 4959 for (i = 0; i < nColors; i++, pColor++) { 4960 ^ 4961 4962 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4963 4964commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 4965Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4966Date: Sat Feb 6 13:01:25 2016 -0800 4967 4968 xcms: use size_t for strlen/sizeof values instead of converting to int & back 4969 4970 Fixes gcc warnings of the form: 4971 4972 IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 4973 IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4974 if ((len = strlen(prefix)) >= sizeof(string_buf)) { 4975 ^ 4976 IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4977 if (len >= sizeof(string_buf)) Xfree(string_lowered); 4978 ^ 4979 IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4980 if (len >= sizeof(string_buf)) Xfree(string_lowered); 4981 ^ 4982 IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4983 if (len >= sizeof(string_buf)) Xfree(string_lowered); 4984 ^ 4985 4986 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4987 4988commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 4989Author: Dominik Muth <nxdomainuser-muth@yahoo.com> 4990Date: Thu Mar 26 07:52:58 2015 +0100 4991 4992 Xlib.h: Fix macros imitating C functions. 4993 4994 The basic rule "put parantheses around macro parameters" should be 4995 observed where possible. Otherwise code like 4996 4997 ConnectionNumber(foo = bar); 4998 4999 fails to compile. (It obviously passes if ConnectionNumber is a C 5000 function.) There are several other macros amended for the same reason. 5001 5002 This bug appeared while building http://ioccc.org/1993/cmills.c, so 5003 historically it was not present. 5004 5005 Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 5006 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5007 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5008 5009commit 3706b0f2b14cc97578a6bee620266edca2722ebf 5010Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5011Date: Fri Nov 15 18:03:25 2013 -0800 5012 5013 Don't need to link libX11-xcb against libX11 5014 5015 libX11-xcb only accesses data structures defined in X11 headers, 5016 it doesn't call any functions or reference any global variables 5017 in libX11 itself. (Seems to have been left from previous XCL 5018 implementation.) 5019 5020 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5021 5022commit eddf1bbd18872b286a9f939140f0cd9ba4e93804 5023Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5024Date: Fri Jan 22 11:44:25 2016 -0800 5025 5026 Stop checking for preferred order of local transports 5027 5028 Removes --with-local-transport-order=... flag to configure. 5029 5030 Code which used this ordered list was removed in commit 15e5eaf6289 5031 which outsourced X11 connection handling & authentication to libxcb. 5032 5033 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5034 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5035 5036commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 5037Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5038Date: Fri Jan 22 09:39:28 2016 -0800 5039 5040 Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 5041 5042 Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 5043 5044 Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 5045 which outsourced X11 connection handling & authentication to libxcb. 5046 5047 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5048 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5049 5050commit 7eb724dc24505f1591ef32620fa63f079b540646 5051Author: Olivier Fourdan <ofourdan@redhat.com> 5052Date: Thu Jan 21 11:54:19 2016 +0100 5053 5054 XKB: fix XkbGetKeyboardByName with Xming server 5055 5056 XkbGetKeyboardByName relies on flags to read the data from the server. 5057 5058 If the X server sends us the wrong flags or if a subreply is smaller 5059 than it should be, XkbGetKeyboardByName will not read all the available 5060 data and leave data in the buffer, which will cause the next _XReply() 5061 to fail with: 5062 5063 [xcb] Extra reply data still left in queue 5064 [xcb] This is most likely caused by a broken X extension library 5065 [xcb] Aborting, sorry about that. 5066 xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 5067 Aborted 5068 5069 Check if there is some extra data left at the end of 5070 XkbGetKeyboardByName() and discard that data if any is found. 5071 5072 Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 5073 root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 5074 with the analysis! 5075 5076 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 5077 Reviewed-by: Daniel Stone <daniels@collabora.com> 5078 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5079 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5080 5081commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 5082Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5083Date: Sat Dec 19 18:03:41 2015 -0800 5084 5085 lcPubWrap: replace malloc(strlen) + strcpy with strdup 5086 5087 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5088 Reviewed-by: Adam Jackson <ajax@redhat.com> 5089 5090commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 5091Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5092Date: Sat Dec 19 10:21:04 2015 -0800 5093 5094 XlcDL.c: reduce code duplication 5095 5096 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5097 Reviewed-by: Adam Jackson <ajax@redhat.com> 5098 5099commit f7ecc0856be58608881d2086954cb71857ad64e1 5100Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5101Date: Sat Dec 19 10:19:25 2015 -0800 5102 5103 XlcDL.c: replace strcpy+strcat sequences with snprintf 5104 5105 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5106 Reviewed-by: Adam Jackson <ajax@redhat.com> 5107 5108commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 5109Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5110Date: Sat Dec 19 10:05:42 2015 -0800 5111 5112 XDefaultOMIF: Remove comments referring to ancient Sun bug ids 5113 5114 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5115 Reviewed-by: Adam Jackson <ajax@redhat.com> 5116 5117commit b738a104ae80e4270dd1d215ad0c6a80016982c2 5118Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5119Date: Sat Dec 19 10:00:22 2015 -0800 5120 5121 XDefaultOMIF: additional code simplification 5122 5123 Don't need to test for a case that we already returned for, don't need 5124 to store a count that will only ever be 1 if we didn't return, don't 5125 need to increment pointers to allow storing more than one item when we 5126 can only ever possibly do one. 5127 5128 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5129 Reviewed-by: Adam Jackson <ajax@redhat.com> 5130 5131commit 31011cf100419269eae7409581c784638be503cf 5132Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5133Date: Sat Dec 19 09:46:31 2015 -0800 5134 5135 XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 5136 5137 Code seems to have been originally written to handle appending multiple 5138 strings, but only ever operates on a single string. 5139 5140 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5141 Reviewed-by: Adam Jackson <ajax@redhat.com> 5142 5143commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 5144Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5145Date: Sat Dec 19 09:20:55 2015 -0800 5146 5147 Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 5148 5149 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5150 Reviewed-by: Adam Jackson <ajax@redhat.com> 5151 5152commit 4359dfabc04af082872d2bc2d5b52e26d6d93290 5153Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5154Date: Fri Dec 4 22:20:53 2015 -0800 5155 5156 Delete #if 0 hunks of code 5157 5158 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5159 5160commit a2f9dfac286f37e54eb47d4736cc3f0150224a84 5161Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5162Date: Thu Dec 3 23:38:07 2015 -0800 5163 5164 Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 5165 5166 Rework code to store allocations directly into XIM struct instead of 5167 temporary local variables, so we can use _XCloseIM to unwind instead 5168 of duplicating it, and consistently jump to error handler on failure, 5169 instead of sometimes leaking and sometimes freeing. 5170 5171 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 5172 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5173 5174commit 07a97b3944467dce085a1efd24706cc851d2caf2 5175Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5176Date: Thu Dec 3 23:19:48 2015 -0800 5177 5178 Bug 93184: read_EncodingInfo invalid free 5179 5180 Free the correct bits of memory if we run out and need to unwind 5181 5182 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 5183 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5184 5185commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 5186Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5187Date: Sat Nov 28 13:18:11 2015 -0800 5188 5189 Remove unused definition of XCONN_CHECK_FREQ 5190 5191 The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 5192 when we dropped the old Xlib connection handling in favor of xcb's. 5193 5194 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5195 Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 5196 5197commit 5f0da8311a61498edf073cc877f5b467bfd5f863 5198Author: James Cloos <cloos@jhcloos.com> 5199Date: Thu Dec 3 18:24:44 2015 -0500 5200 5201 Fix another missing update in cf4d5989383a 5202 5203 Reported in: 5204 5205 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 5206 5207 Signed-off-by: James Cloos <cloos@jhcloos.com> 5208 5209commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 5210Author: James Cloos <cloos@jhcloos.com> 5211Date: Thu Dec 3 18:15:40 2015 -0500 5212 5213 Fix missing update in cf4d5989383a 5214 5215 Reported in: 5216 5217 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 5218 5219 Signed-off-by: James Cloos <cloos@jhcloos.com> 5220 5221commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 5222Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5223Date: Sun Sep 27 18:38:32 2015 -0700 5224 5225 Get rid of some extraneous ; at the end of C source lines 5226 5227 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5228 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 5229 5230commit 121a1bad334459f66f78bfca6df53dc841cf97f8 5231Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 5232Date: Wed Sep 23 11:44:55 2015 -0400 5233 5234 Add compose file for pt_PT similar to pt_BR 5235 5236 This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 5237 5238 One of the conclusions from the discussion on that bug report, which 5239 basically is about typing the ccedilla character easily on a non- 5240 Portuguese keyboard, is that X11 should include a compose file for 5241 pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 5242 5243 FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 5244 5245 Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 5246 Signed-off-by: James Cloos <cloos@jhcloos.com> 5247 5248commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 5249Author: Julien Cristau <jcristau@debian.org> 5250Date: Fri May 1 13:50:15 2015 +0200 5251 5252 Mark _XNextRequest as hidden 5253 5254 It's only used inside XNextRequest(), so doesn't need to be exported. 5255 5256 Signed-off-by: Julien Cristau <jcristau@debian.org> 5257 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5258 5259commit a72d2d06c002b644b7040a0a9936c8525e092ba8 5260Author: Christian Linhart <chris@demorecorder.com> 5261Date: Mon Sep 7 17:17:32 2015 +0200 5262 5263 fix for Xlib 32-bit request number issues 5264 5265 Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 5266 the 32-bit sequence number wrap in libX11. 5267 5268 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 5269 Signed-off-by: Christian Linhart <chris@demorecorder.com> 5270 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 5271 Reviewed-by: Adam Jackson <ajax@redhat.com> 5272 5273commit 58af066a764305c506efea7065ef7679369a1a98 5274Author: Thomas Klausner <wiz@NetBSD.org> 5275Date: Sun Jul 19 10:23:21 2015 +0200 5276 5277 Ignore test-driver (used by newer autoconf). 5278 5279 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 5280 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5281 5282commit 80b9a346b9ba200fa4652560282e80d249519287 5283Author: Thomas Klausner <wiz@NetBSD.org> 5284Date: Sun Jul 19 10:22:45 2015 +0200 5285 5286 Do not return() after exit(). 5287 5288 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 5289 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5290 5291commit c827edcd1c4a7f920aa25208083b5b58d60d2b44 5292Author: Ross Burton <ross.burton@intel.com> 5293Date: Mon May 18 14:49:01 2015 +0100 5294 5295 Add missing NULL checks to ICWrap 5296 5297 ICWrap.c dereferences the xim parameter passed in from client code without a 5298 NULL check. I have seen mplayer trigger this resulting in a segfault. In this 5299 case mplayer had called XOpenIM and NULL was returned which was later passed 5300 into XCreateIC. 5301 5302 Patch originally by Drew Moseley <drew_moseley@mentor.com>. 5303 5304 Signed-off-by: Ross Burton <ross.burton@intel.com> 5305 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5306 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5307 5308commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 5309Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5310Date: Thu Jun 4 20:51:17 2015 -0700 5311 5312 Replace Xmalloc+memset pairs with Xcalloc calls 5313 5314 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5315 5316commit f0286b2770ece10aef5e2e8c004260217f12fd25 5317Author: Bhavi Dhingra <b.dhingra@samsung.com> 5318Date: Thu Jun 4 19:07:12 2015 -0700 5319 5320 omGeneric.c: Correct the parameter usage of sizeof 5321 5322 Incorrect parameter usage with sizeof. Earlier passed argument FontData 5323 will be 4 bytes always as its a pointer hence the change is needed and 5324 FontDataRec should be used for memset. 5325 5326 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5327 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5328 5329commit 47da70d75f9e48e800719c0db752f9ccd2d77aea 5330Author: Peter Hutterer <peter.hutterer@who-t.net> 5331Date: Tue May 19 12:30:22 2015 +1000 5332 5333 Fix three "use of uninitialized variable" coverity warnings 5334 5335 False positive, if rlen/nbytes are unset we quit early before using it. Still, 5336 initialize it so we don't have to deal with these warnings again. 5337 5338 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5339 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 5340 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5341 5342commit 19a30f17f30e9ae9641a7c0634fc52134208b060 5343Author: Peter Hutterer <peter.hutterer@who-t.net> 5344Date: Mon May 18 07:56:22 2015 +1000 5345 5346 Fix an indentation issue 5347 5348 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5349 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 5350 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5351 5352commit 013ccece124b990217ad3bcf2c41688e8fda1df8 5353Author: Peter Hutterer <peter.hutterer@who-t.net> 5354Date: Mon May 18 07:55:17 2015 +1000 5355 5356 Fix potential memory leak 5357 5358 If we hit the depth limit, filename leaks. Move the depth check up before we 5359 allocate filename. 5360 Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 5361 5362 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5363 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 5364 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5365 5366commit d3415d1f052530760b4617db45affcb984cfe35c 5367Author: Mike FABIAN <mfabian@redhat.com> 5368Date: Mon Apr 20 17:59:30 2015 +0200 5369 5370 Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 5371 5372 Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 5373 locales fixed it only partly, I introduced a new spelling mistake 5374 in the sd_IN locales. This patch fixes this. 5375 5376 Signed-off-by: James Cloos <cloos@jhcloos.com> 5377 5378commit 748d47e69f5c12d8557d56a8a8ec166588da7b93 5379Author: Mike FABIAN <mfabian@redhat.com> 5380Date: Wed Feb 19 11:46:45 2014 +0100 5381 5382 fix spelling mistakes in ks_IN and sd_IN devanagari locales 5383 5384 The codeset must be *before* the modifier. 5385 5386 See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 5387 5388 opengroup> The syntax for these environment variables is thus defined as: 5389 opengroup> 5390 opengroup> [language[_territory][.codeset][@modifier]] 5391 5392 Signed-off-by: James Cloos <cloos@jhcloos.com> 5393 5394commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 5395Author: Mike FABIAN <mfabian@redhat.com> 5396Date: Wed Feb 19 11:50:55 2014 +0100 5397 5398 add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 5399 5400 See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 5401 5402 If these are not in locale.dir, 5403 5404 $ LANG=sr_RS.UTF-8@latin xterm 5405 5406 and 5407 5408 $ LANG=sr_RS@latin xterm 5409 5410 give the warning: 5411 5412 Warning: locale not supported by Xlib, locale set to C 5413 5414 and some programs (like xmms) fail to find translations for Serbian 5415 in Latin because of this. 5416 5417 Signed-off-by: James Cloos <cloos@jhcloos.com> 5418 5419commit c85be01b006126c4407eebd1eb6e01a17312b7b4 5420Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5421Date: Sun Mar 22 16:46:45 2015 -0700 5422 5423 Move Compose \ o / to be with other emoji compose sequences 5424 5425 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5426 5427commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 5428Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5429Date: Mon Mar 9 15:28:29 2015 -0700 5430 5431 libX11 1.6.3 5432 5433 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5434 5435commit c8e19b393defd53f046ddc2da3a16881221b3c34 5436Author: Joonas Javanainen <joonas.javanainen@gmail.com> 5437Date: Thu Feb 5 17:31:04 2015 +0200 5438 5439 Fix XErrorEvent struct field order in man page 5440 5441 In the man page the field "resourceid" was in a different place than 5442 in the actual struct layout in Xlib.h 5443 5444 Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 5445 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5446 5447commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 5448Author: Ran Benita <ran234@gmail.com> 5449Date: Tue Feb 3 13:23:50 2015 -0500 5450 5451 compose: fix the description of modifiers in compose sequences 5452 5453 The Compose format has a feature which allows specifying certain 5454 modifiers must (or must not) be present with a given keysym in the 5455 sequence. 5456 5457 The grammar in imLcPrs.c and the Compose man page both do not match what 5458 the code actually does (see the handling of the variables 5459 `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 5460 eventually matched as `ev->state & modifier_mask == modifier`). 5461 5462 Also explicitly list the accepted modifier names, since they are 5463 not standard (e.g. "Ctrl" instead of "Control"). 5464 5465 Signed-off-by: Ran Benita <ran234@gmail.com> 5466 Signed-off-by: James Cloos <cloos@jhcloos.com> 5467 5468commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 5469Author: Ran Benita <ran234@gmail.com> 5470Date: Tue Feb 3 13:23:49 2015 -0500 5471 5472 xkb: fix misleading comment about consumed modifiers 5473 5474 In the spec and the man page the `mods_rtrn` argument is described as 5475 "backfilled with unconsumed modifiers" but actually it is backfilled 5476 with the *consumed* modifiers. This is also mentioned a few lines below 5477 in each case. 5478 5479 Signed-off-by: Ran Benita <ran234@gmail.com> 5480 Signed-off-by: James Cloos <cloos@jhcloos.com> 5481 5482commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 5483Author: Ingo Schwarze <schwarze@usta.de> 5484Date: Tue Dec 9 10:44:13 2014 +0100 5485 5486 Fix pasto in XkbGetKeyBehaviors(3) manual 5487 5488 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 5489 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5490 5491commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 5492Author: Benno Schulenberg <bensberg@justemail.net> 5493Date: Sun Nov 23 21:35:36 2014 +0100 5494 5495 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 5496 5497 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5498 5499commit a51681b60c84109fe19f5d449e13080522499324 5500Author: Benno Schulenberg <bensberg@justemail.net> 5501Date: Thu Sep 19 16:42:01 2013 +0200 5502 5503 nls: Remove a duplicate locale name, and sort some others more strictly. 5504 5505 Also improve the grammar of the initial comment. 5506 5507 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5508 Signed-off-by: James Cloos <cloos@jhcloos.com> 5509 5510commit 426b7f850f5376db96a4b12420ee141603fcc3cd 5511Author: Benno Schulenberg <bensberg@justemail.net> 5512Date: Fri Sep 20 12:37:29 2013 +0200 5513 5514 nls: Add a comment to the block of accented Hebrew letters. 5515 5516 And align them in a nicer manner. 5517 5518 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5519 Signed-off-by: James Cloos <cloos@jhcloos.com> 5520 5521commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 5522Author: Benno Schulenberg <bensberg@justemail.net> 5523Date: Fri Sep 20 12:05:09 2013 +0200 5524 5525 nls: Add one lowercase compose variant for ®, to mirror those for ©. 5526 5527 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5528 Signed-off-by: James Cloos <cloos@jhcloos.com> 5529 5530commit 18dcd13514fa538afefa78c93523d9dbd4688e74 5531Author: Benno Schulenberg <bensberg@justemail.net> 5532Date: Sat Sep 7 20:10:43 2013 +0200 5533 5534 nls: Adding the visual composing characters to two comment lines. 5535 5536 The lines around them also contain the characters in the comments. 5537 5538 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5539 Signed-off-by: James Cloos <cloos@jhcloos.com> 5540 5541commit 18d8307575af748913d5da17e3de45da2a22ede4 5542Author: Benno Schulenberg <bensberg@justemail.net> 5543Date: Sat Sep 7 20:09:32 2013 +0200 5544 5545 nls: Grouping a lone superscript minus together with its mates. 5546 5547 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5548 Signed-off-by: James Cloos <cloos@jhcloos.com> 5549 5550commit 33301cc45e6a2b8aa841ed6325547af970f8c4db 5551Author: Benno Schulenberg <bensberg@justemail.net> 5552Date: Sat Sep 7 19:53:38 2013 +0200 5553 5554 nls: Grouping the compose sequences for Dstroke/dstroke together. 5555 5556 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5557 Signed-off-by: James Cloos <cloos@jhcloos.com> 5558 5559commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 5560Author: Gioele Barabucci <gioele@svario.it> 5561Date: Sun Sep 21 23:05:55 2014 +0200 5562 5563 Add compose sequence for U+20B9 INDIAN RUPEE SIGN 5564 5565 The compose sequence for the new Indian Rupee sign is modelled after 5566 the sequence for the Euro sign. 5567 5568 Signed-off-by: Gioele Barabucci <gioele@svario.it> 5569 Signed-off-by: James Cloos <cloos@jhcloos.com> 5570 5571commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 5572Author: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 5573Date: Thu Jul 31 22:23:28 2014 -0300 5574 5575 Add double-arrow compose sequence 5576 5577 Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 5578 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5579 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5580 5581commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 5582Author: James Cloos <cloos@jhcloos.com> 5583Date: Fri Aug 1 18:30:42 2014 -0400 5584 5585 Add cs_CZ.UTF-8 locale to configure.ac 5586 5587 Commit cf4d5989383a should have included this. 5588 5589 Reported-by: Colin Harrison <colin.harrison@virgin.net> 5590 Signed-off-by: James Cloos <cloos@jhcloos.com> 5591 5592commit cf4d5989383acc4ed1b7eebadde9f380f2129766 5593Author: James Cloos <cloos@jhcloos.com> 5594Date: Tue Jul 29 15:02:56 2014 -0400 5595 5596 Add nls for cs_CZ.UTF-8 5597 5598 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 5599 override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 5600 to enter »ů«, and likewise for the majuscule, for the Czech locale. 5601 5602 This evidently is the norm for Czech keyboards. 5603 5604 Fixes bz#81875. 5605 5606 The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 5607 several other locales. That may require an update. 5608 5609 Reported-by: Vladimír Marek <vlmarek@volny.cz> 5610 Signed-off-by: James Cloos <cloos@jhcloos.com> 5611 5612commit d9f569572bd14db31921471e7b877523b5cf1e4c 5613Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5614Date: Sat Jul 26 12:17:47 2014 -0700 5615 5616 Fix source paths for out-of-tree lintlib builds 5617 5618 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5619 5620commit 0885cad1e4a9ed57266582be320be55259c881bf 5621Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5622Date: Sun Jul 20 09:21:20 2014 -0700 5623 5624 specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 5625 5626 Matches the way they were styled in original doc, before conversion 5627 to DocBook. 5628 5629 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5630 5631commit d0a9e9d56bb003315787201ee525b4d00fd54e06 5632Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5633Date: Sat Jul 19 23:55:47 2014 -0700 5634 5635 specs/XKB: acknowledge my contributions 5636 5637 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5638 5639commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 5640Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5641Date: Sat Jul 19 23:53:48 2014 -0700 5642 5643 specs/XKB: Trim leading spaces off text lines 5644 5645 perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 5646 5647 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5648 5649commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 5650Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5651Date: Sat Jul 19 20:30:55 2014 -0700 5652 5653 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 5654 5655 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5656 5657commit 5009621799444e9d1d284719f871d00be13e7330 5658Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5659Date: Sat Jul 19 12:34:28 2014 -0700 5660 5661 specs/XKB: Fix miscelleanous typos & spelling errors 5662 5663 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5664 5665commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 5666Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5667Date: Sat Jul 19 00:46:41 2014 -0700 5668 5669 specs/XKB: add some more indexterms by hand 5670 5671 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5672 5673commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 5674Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5675Date: Sat Jul 19 00:48:02 2014 -0700 5676 5677 specs/XKB: fixup various formatting issues in <programlisting>s 5678 5679 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5680 5681commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 5682Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5683Date: Fri Jul 18 23:56:29 2014 -0700 5684 5685 specs/XKB: fixup various formatting issues in <literallayout>s 5686 5687 Including translating some that are really just lists into 5688 <simplelist> markup. 5689 5690 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5691 5692commit 94b56774784ac00b9db02403aecea10bb0814c10 5693Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5694Date: Fri Jul 18 23:18:52 2014 -0700 5695 5696 specs/XKB: add some more links by hand 5697 5698 random bits where a link looked handy 5699 5700 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5701 5702commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 5703Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5704Date: Fri Jul 18 23:16:31 2014 -0700 5705 5706 specs/XKB: add links for terms in definition list under figure 1.1 5707 5708 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5709 5710commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 5711Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5712Date: Fri Jul 18 22:52:16 2014 -0700 5713 5714 specs/XKB: add links to more tables listing section references 5715 5716 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5717 5718commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 5719Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5720Date: Fri Jul 18 22:49:34 2014 -0700 5721 5722 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 5723 5724 Page numbers refer to old doc format, didn't translate to new one 5725 5726 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5727 5728commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 5729Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5730Date: Sat Jul 19 11:55:51 2014 -0700 5731 5732 specs/XKB: remove unwanted white space around C -> struct references 5733 5734 perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 5735 5736 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5737 5738commit 2be0cc0b2abbcc98cfd150210dea415a04787251 5739Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5740Date: Fri Jul 18 22:26:20 2014 -0700 5741 5742 specs/XKB: replace -> with → when used as arrow, not in C structs 5743 5744 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5745 5746commit bf1f3d6f6f995303624679ae546f507c70967dc0 5747Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5748Date: Fri Jul 18 22:21:10 2014 -0700 5749 5750 specs/XKB: replace => with ⇒ for double arrows 5751 5752 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5753 5754commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 5755Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5756Date: Sat Jul 19 11:33:35 2014 -0700 5757 5758 specs/XKB: Markup some ranges with – instead of - 5759 5760commit ec4075303c6c0d1d64bfe378e585968f9a137da7 5761Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5762Date: Fri Jul 18 22:10:45 2014 -0700 5763 5764 specs/XKB: Markup some subtractions with − instead of - 5765 5766 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5767 5768commit 441a267e461132a38abed205245f028686526f1d 5769Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5770Date: Fri Jul 18 22:04:40 2014 -0700 5771 5772 specs/XKB: make sure all files have DOCTYPEs so standard entities work 5773 5774 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5775 5776commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 5777Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5778Date: Fri Jul 18 21:55:41 2014 -0700 5779 5780 specs/XKB: Markup quoted terms as <quote> instead of with "" 5781 5782 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5783 5784commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 5785Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5786Date: Sat Jul 19 09:01:26 2014 -0700 5787 5788 specs/XKB: fixup newlines between tags and punctuation 5789 5790 Get rid of unwanted whitespace before punctuation by moving them to the 5791 lines with the tags, instead of before & after. 5792 5793 perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 5794 5795 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5796 5797commit 6d5ec492cd28c206423337f926503349702af5a6 5798Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5799Date: Fri Jul 18 21:29:33 2014 -0700 5800 5801 specs/XKB: fixup newlines between tags and parens 5802 5803 Get rid of unwanted whitespace inside parens by moving them to the 5804 lines with the tags, instead of before & after. 5805 5806 perl -i -0 -p \ 5807 -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 5808 -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 5809 5810 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5811 5812commit 59d688f4c787250e0b401a92b1db0437d8c60f2d 5813Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5814Date: Fri Jul 18 21:09:24 2014 -0700 5815 5816 specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 5817 5818 Also add <indexterm> entries for most of them, to make their definitions 5819 or introductions easy to find from the index. 5820 5821 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5822 5823commit 861f3087ee0f501362a67501f384c2ca4c7bfe73 5824Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5825Date: Thu Jul 10 20:00:53 2014 -0700 5826 5827 specs/XKB: Manual fixup of type markup 5828 5829 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5830 5831commit 6b96259dabe52701fd1bcaa0625b574180c4e769 5832Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5833Date: Thu Jul 10 15:00:30 2014 -0700 5834 5835 specs/XKB: Manual fixup of parameter markup 5836 5837 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5838 5839commit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 5840Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5841Date: Thu Jul 10 13:40:40 2014 -0700 5842 5843 specs/XKB: Manual fixup of struct name/field markup 5844 5845 Handles typos that caused the scripts to miss matches, misnamed structs, etc. 5846 5847 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5848 5849commit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 5850Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5851Date: Wed Jul 9 23:26:37 2014 -0700 5852 5853 specs/XKB: Manual fixup of symbol name markup 5854 5855 Handles typos that caused the scripts to miss matches, misnamed masks, etc. 5856 5857 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5858 5859commit eb1453a0c69606b8af96b90ddccf1b93a069fb35 5860Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5861Date: Wed Jul 9 00:03:23 2014 -0700 5862 5863 specs/XKB: Manual fixup of function name markup 5864 5865 Handles typos that caused the scripts to miss matches, functions like 5866 malloc & free from other libraries, function name patterns, etc. 5867 5868 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5869 5870commit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 5871Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5872Date: Thu Jul 10 19:42:31 2014 -0700 5873 5874 specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 5875 5876 No great fit in DocBook, so follow what we used in Xlib spec. 5877 5878 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5879 5880commit ed60df10aad15057577d5714c955d22d2a446e51 5881Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5882Date: Thu Jul 10 15:45:57 2014 -0700 5883 5884 specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 5885 5886 Also uses <guilabel> for LED names/labels, for lack of a better fit 5887 in DocBook. 5888 5889 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5890 5891commit f57b91ee497414083cc1bf481d28eb9ad9f965fb 5892Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5893Date: Thu Jul 10 15:41:19 2014 -0700 5894 5895 specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 5896 5897 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5898 5899commit cfd4279c9b59d7e87c9f7c67692c87973adb7667 5900Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5901Date: Thu Jul 10 11:08:14 2014 -0700 5902 5903 specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 5904 5905 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5906 5907commit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 5908Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5909Date: Wed Jul 9 23:30:54 2014 -0700 5910 5911 specs/XKB: Markup symbol names in table entries too 5912 5913 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5914 5915commit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 5916Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5917Date: Tue Jul 8 23:35:48 2014 -0700 5918 5919 specs/XKB: Markup *Ptr as <type> instead of <emphasis> 5920 5921 perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 5922 5923 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5924 5925commit 9f6c00629fd4b713082cc11f9150f7aafd272c89 5926Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5927Date: Tue Jul 8 23:34:29 2014 -0700 5928 5929 specs/XKB: Markup *Rec as <structname> instead of <emphasis> 5930 5931 perl -i -p -e \ 5932 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 5933 5934 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5935 5936commit 83839e37802b8b752c77859a95de60ad757feb79 5937Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5938Date: Tue Jul 8 23:29:49 2014 -0700 5939 5940 specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 5941 5942 Performed via: 5943 perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 5944 /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 5945 | sort -u > xkb-defines.pl 5946 perl -i -p -f xkb-defines.pl *.xml 5947 5948 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5949 5950commit 9e397ed37ce4cc70621de347de3a795df88d4506 5951Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5952Date: Tue Jul 8 22:53:12 2014 -0700 5953 5954 specs/XKB: Use ° instead of o for degrees. 5955 5956 Conversion from framemaker turned superscripted "o" into plain "o". 5957 5958 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5959 5960commit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 5961Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5962Date: Tue Jul 8 22:46:03 2014 -0700 5963 5964 specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 5965 5966 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5967 5968commit 33bef065683c8f910f3722730503c0c0699ee8be 5969Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5970Date: Tue Jul 8 22:26:56 2014 -0700 5971 5972 specs/XKB: Markup NULL as <symbol> instead of <emphasis> 5973 5974 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5975 5976commit f10aa1e09468bd28454d85ac8ab55d9dc7178029 5977Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5978Date: Tue Jul 8 22:22:29 2014 -0700 5979 5980 specs/XKB: Markup function args as <parameter> instead of <emphasis> 5981 5982 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5983 5984commit 79ba58cceb69521fcb313c69233cf93a9fcb177f 5985Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5986Date: Mon Jul 7 23:56:13 2014 -0700 5987 5988 specs/XKB: Convert remaining error names to errorname tags 5989 5990 Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 5991 are XKB-specific. (Plus some were badly split across tag boundaries.) 5992 5993 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5994 5995commit 42b2f5388c399949ece377f9cc9c479c06964972 5996Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5997Date: Mon Jul 7 23:16:56 2014 -0700 5998 5999 specs/XKB: manually fixup some more emphasis tagging mismatches 6000 6001 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6002 6003commit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 6004Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6005Date: Mon Jul 7 23:02:31 2014 -0700 6006 6007 specs/XKB: re-normalize <emphasis> layout in xml files 6008 6009 Same script as before, just with <!-- xref --> comments out of the way 6010 now. 6011 6012 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6013 6014commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 6015Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6016Date: Mon Jul 7 22:59:25 2014 -0700 6017 6018 specs/XKB: Remove remaining xref comments 6019 6020 All the places marked by these have been turned into the appropriate 6021 link, xref, or olink tags now. 6022 6023 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6024 6025commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 6026Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6027Date: Mon Jul 7 22:56:36 2014 -0700 6028 6029 specs/XKB: make olinks to xkbproto for references in section 10.13 6030 6031 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6032 6033commit fcda446877a62e7443d7bc704ba3610e90d1e755 6034Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6035Date: Mon Jul 7 22:22:28 2014 -0700 6036 6037 specs/XKB: Add <figure> tags and make Figure references link to them 6038 6039 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6040 6041commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 6042Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6043Date: Mon Jul 7 21:30:01 2014 -0700 6044 6045 specs/XKB: Turn Table references into links 6046 6047 Adds id attributes to all table tags so we can link to them 6048 6049 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6050 6051commit 135fa07b74cb50172c6a75768d499cd87ddb336e 6052Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6053Date: Sun Jul 6 21:29:59 2014 -0700 6054 6055 specs/XKB: Turn section references into xref links 6056 6057 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6058 6059commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 6060Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6061Date: Sun Jul 6 21:17:18 2014 -0700 6062 6063 specs/XKB: Turn Chapter references into xref links 6064 6065 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6066 6067commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 6068Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6069Date: Sun Jul 6 20:40:18 2014 -0700 6070 6071 specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 6072 6073 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6074 6075commit b00a7ddff2744238fbfe31c2298b02028a45a6ff 6076Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6077Date: Sun Jul 6 20:34:51 2014 -0700 6078 6079 specs/XKB: Markup function names as <function> instead of <emphasis> 6080 6081 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6082 6083commit bfbb58b7679221cb5c9212665209ea9099ad079a 6084Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6085Date: Sun Jul 6 20:25:46 2014 -0700 6086 6087 specs/XKB: normalize <emphasis> layout in xml files 6088 6089 - Stop placing <emphasis> on empty space, commas, and periods. 6090 - Move periods & commas after closing </emphasis> tag 6091 - move <emphasis> open & close tags to same line, instead of mirroring 6092 nroff layout. 6093 6094 Simplifies automating further transformations of these tags. 6095 6096 Performed via: 6097 perl -i -0 -p \ 6098 -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 6099 -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 6100 -e 's{\n([\.,])\s*}{\1\n}msg;' \ 6101 -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 6102 -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 6103 6104 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6105 6106commit b16ee69a0103109a661a88140a1765dcd7bda634 6107Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6108Date: Sun Jul 6 15:57:41 2014 -0700 6109 6110 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 6111 6112 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6113 6114commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 6115Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6116Date: Sun Jul 6 19:29:38 2014 -0700 6117 6118 specs/XKB: Add index 6119 6120 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6121 6122commit 72ae1d793be078db521dda60af578ece71f364de 6123Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6124Date: Sun Jul 6 13:21:40 2014 -0700 6125 6126 specs/XKB: Fix various markup issues in functiondecl tables 6127 6128 - Merge some functionargdecl entries incorrectly split across rows 6129 - Add missing parameter name markup to some functionargdecls 6130 - Add missing function prototype markup to a functiondecl 6131 - Remove stray emphasis tags in a functiondecl 6132 6133 Allows them to correctly convert to funcsynopsis markup in next step. 6134 6135 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6136 6137commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 6138Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6139Date: Sun Jul 6 12:15:23 2014 -0700 6140 6141 specs/XKB: Convert header filenames to filename tags 6142 6143 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6144 6145commit 5525e8433f93bce464412f27cffa203ea628f368 6146Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6147Date: Tue Jul 8 00:05:32 2014 -0700 6148 6149 specs/libX11: disengender a user reference 6150 6151 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6152 6153commit d8679eae9317b389ad4acb0430360ee0663e2af8 6154Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6155Date: Fri Jul 11 18:41:42 2014 -0700 6156 6157 specs/libX11: Correct value of IconicState to match Xutil.h 6158 6159 Xutil.h has always had a value of 3 for IconicState, since 2 was 6160 previously used for the long-obsolete ZoomState, so make the spec 6161 match what programs have used for decades. 6162 6163 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6164 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6165 6166commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 6167Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6168Date: Fri Jul 11 10:34:08 2014 -0700 6169 6170 Use C99 named initializers to fill in events passed to XSendEvent 6171 6172 Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 6173 and allows optimizer to order field initialization to best fit cache layout 6174 or other considerations. 6175 6176 Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 6177 instructions to rapidly zero-fill structs. 6178 6179 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6180 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6181 6182commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 6183Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6184Date: Sun Jul 6 11:13:49 2014 -0700 6185 6186 Fix validation of ctrls parameter to XkbGetPerClientControls() 6187 6188 Nothing in the XKB spec states that the memory pointed to by ctrls has to 6189 be initialized to any given value when passed to the function, only that 6190 it is set by the function to the values returned by the X server: 6191 http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 6192 6193 The check for the incoming value seems to be copied from 6194 XkbSetPerClientControls without explanation. 6195 6196 Instead change it to checking if ctrls is non-NULL, since there's no 6197 point asking the X server to return a value the caller won't even see. 6198 6199 Found while investigating report from cppcheck-1.65: 6200 [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 6201 dereference: ctrls - otherwise it is redundant to check it against null. 6202 6203 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6204 6205commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 6206Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6207Date: Sun Jul 6 10:54:57 2014 -0700 6208 6209 Fix map->num_types check in XkbAddKeyType() 6210 6211 Check is intended to ensure we allocate at least XkbNumRequiredTypes 6212 in map, but was accidentally marked with a ! causing the wrong check. 6213 6214 Reported-by: Harms <wharms@bfs,de> 6215 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6216 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6217 6218commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 6219Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6220Date: Sun Jul 6 15:08:21 2014 -0700 6221 6222 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 6223 6224 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6225 6226commit a06ea86773568926c36ae650b188fc818d540db7 6227Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6228Date: Sun Jul 6 15:04:27 2014 -0700 6229 6230 specs/libX11: Fix height & width in parameter lists to be two separate entries 6231 6232 "unsigned int width, unsigned int height", not a single parameter "height" 6233 of type "unsignedintwidth,". 6234 6235 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6236 6237commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 6238Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6239Date: Sun Jul 6 14:38:10 2014 -0700 6240 6241 specs/libX11: Fix x & y in parameter lists to be two separate parameters 6242 6243 "int x, int y" not a single parameter y of type "intx" 6244 6245 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6246 6247commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 6248Author: walter harms <wharms@bfs.de> 6249Date: Sat Jun 7 12:03:17 2014 +0200 6250 6251 lcDefConv.c: fix use before check 6252 6253 * Do not use variables before checked for NULL. 6254 * remove some superfluid spaces (Mark Kettenis) 6255 6256 Signed-off-by: Harms <wharms@bfs,de> 6257 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6258 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6259 6260commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 6261Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6262Date: Mon Jun 16 15:16:10 2014 -0700 6263 6264 Start adding Unicode 7.0 support to compose table 6265 6266 New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 6267 6268 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6269 6270commit a4679baaa18142576d42d423afe816447f08336c 6271Author: walter harms <wharms@bfs.de> 6272Date: Sat Jun 7 11:54:34 2014 +0200 6273 6274 rm redundant null checks 6275 6276 remove more redundant NULL checks 6277 note that _XkbFree() is really Xfree() 6278 6279 Signed-off-by: Harms <wharms@bfs,de> 6280 Reviewed-by: Rémi Cardona <remi@gentoo.org> 6281 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6282 6283commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 6284Author: walter harms <wharms@bfs.de> 6285Date: Sat Jun 7 15:17:27 2014 +0200 6286 6287 libX11: rm redundante NULL checks 6288 6289 This patch removes the last remaining NULL checks for Xfree() 6290 6291 Signed-off-by: Harms <wharms@bfs,de> 6292 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6293 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6294 6295commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 6296Author: walter harms <wharms@bfs.de> 6297Date: Fri Jun 6 22:53:05 2014 +0200 6298 6299 Remove more redundant null checks before Xfree() 6300 6301 Signed-off-by: Harms <wharms@bfs,de> 6302 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6303 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6304 6305commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 6306Author: walter harms <wharms@bfs.de> 6307Date: Thu Jun 5 18:37:40 2014 +0200 6308 6309 Remove redundant null checks before free 6310 6311 This patch removes some redundant null checks before free. 6312 It should not change the code otherwise. Be aware that this 6313 is only the first series. 6314 6315 Signed-off-by: Harms <wharms@bfs,de> 6316 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6317 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6318 6319commit 7d452fad5068ba92b964e92bc46708046f4044aa 6320Author: walter harms <wharms@bfs.de> 6321Date: Wed Jun 4 17:12:31 2014 +0200 6322 6323 libX11/lcUTF8.c fix: dereferenced before check 6324 6325 * Do not use variables before checked for NULL. 6326 6327 Signed-off-by: Harms <wharms@bfs,de> 6328 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6329 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6330 6331commit a3808f51517a720e7ff738208af60865779dd6ef 6332Author: walter harms <wharms@bfs.de> 6333Date: Wed Jun 4 17:10:20 2014 +0200 6334 6335 libX11/XKBNames.c fix: dereferenced before check 6336 6337 * Do not use variables before checked for NULL. 6338 6339 Signed-off-by: Harms <wharms@bfs,de> 6340 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6341 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6342 6343commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 6344Author: walter harms <wharms@bfs.de> 6345Date: Wed Jun 4 17:08:12 2014 +0200 6346 6347 libX11/lcGenConv.c fix: dereferenced before check 6348 6349 * Do not use variables before checked for NULL. 6350 6351 Signed-off-by: Harms <wharms@bfs,de> 6352 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6353 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6354 6355commit c6bc28d433243c32b3f74955f1478451b4fd27b5 6356Author: Andreas Schwab <schwab@linux-m68k.org> 6357Date: Sun Jan 19 16:59:13 2014 +0100 6358 6359 Restore lost tabs in sed commands 6360 6361 Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 6362 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6363 6364commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 6365Author: Benno Schulenberg <bensberg@justemail.net> 6366Date: Thu Sep 19 11:01:11 2013 +0200 6367 6368 nls: Transform Brazilian compose file to an include plus three overrides. 6369 6370 Signed-off-by: James Cloos <cloos@jhcloos.com> 6371 6372commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 6373Author: Benno Schulenberg <bensberg@justemail.net> 6374Date: Fri Sep 6 12:10:01 2013 +0200 6375 6376 nls: Adding the missing compose sequences with <comma> for O with ogonek. 6377 6378 All other vowels with ogoneks can already be composed using <comma>. 6379 6380 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6381 Signed-off-by: James Cloos <cloos@jhcloos.com> 6382 6383commit 655b60f48376069750b151c46da836fdd411c83b 6384Author: Benno Schulenberg <bensberg@justemail.net> 6385Date: Fri Sep 6 12:04:24 2013 +0200 6386 6387 nls: Adding the missing postfix sequences for composing vowels with ogoneks. 6388 6389 It existed for lowercase i, but not for uppercase I nor the other vowels. 6390 6391 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6392 Signed-off-by: James Cloos <cloos@jhcloos.com> 6393 6394commit 7f8f9a36ef901f31279c385caf960a22daeb33fe 6395Author: Owen W. Taylor <otaylor@fishsoup.net> 6396Date: Fri May 9 18:21:05 2014 -0400 6397 6398 Fix XNextRequest() after direct usage of XCB 6399 6400 When XCB owns the X socket, dpy->request is not updated, so 6401 NextRequest() and XNextRequest() return the wrong value. There's 6402 nothing we can do to fix NextRequest() while retaining ABI compat, 6403 but change XNextRequest() to grab the socket back from XCB, 6404 updating dpy->request. 6405 6406 Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 6407 Reviewed-by: Uli Schlachter <psychon@znc.in> 6408 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6409 6410commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 6411Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6412Date: Sun May 4 11:54:59 2014 -0700 6413 6414 Add missing .TE tags to end tables in Xkb man pages 6415 6416 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6417 6418commit 280274e5292e013b43e552274111fab434f5ed4e 6419Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6420Date: Sun May 4 11:23:17 2014 -0700 6421 6422 XCreateGC.man: simplify table to work with Solaris tbl 6423 6424 Having every table cell be a text diversion (T{...T}) was too much for 6425 Solaris tbl to handle, and thus "man XCreateGC" would print the error 6426 /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 6427 tbl quits 6428 and not display the table of mask bits or any text in the man page after 6429 that table. Since the #define column doesn't need special handling, 6430 making it not use text diversions brings the table under the tbl limit. 6431 6432 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6433 6434commit 93bb325a54025dd15f4744abce54b358960420f9 6435Author: James Cloos <cloos@jhcloos.com> 6436Date: Tue May 20 17:30:10 2014 -0400 6437 6438 Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 6439 6440 Parenleft is already in use for sequences of the form <(> <letter> <)> 6441 to generate circled letters. 6442 6443 Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 6444 6445 This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 6446 6447 Signed-off-by: James Cloos <cloos@jhcloos.com> 6448 6449commit 060707851be918f2f507a26d17b016f764ddf2b4 6450Author: Benno Schulenberg <bensberg@justemail.net> 6451Date: Fri Sep 6 11:42:59 2013 +0200 6452 6453 nls: Adding accessible compose sequences for Ș and Ț (with comma below). 6454 6455 Compose sequences with <dead_belowcomma> exist, but very few keyboard 6456 layouts contain that symbol. So a more usual character is needed to be 6457 able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 6458 used for composing letters with ogoneks -- but only vowels take ogoneks, 6459 so the character is free for consonants, and thus <semicolon> is used 6460 here to compose commas below. It is somewhat fitting, because on most 6461 Romanian keyboards the Ș is placed on that key, and the Ț next to it. 6462 6463 (Oh -- the more obvious sequences with <comma> were already taken for 6464 composing S and T with cedillas.) 6465 6466 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6467 Signed-off-by: James Cloos <cloos@jhcloos.com> 6468 6469commit ca435c2f753aa2961fb35ac448cdb2cc77112755 6470Author: Benno Schulenberg <bensberg@justemail.net> 6471Date: Tue Sep 3 21:10:33 2013 +0200 6472 6473 nls: Ordering some compose sequences in a more customary way. 6474 6475 The custom seems to be: pairing the ones that have only the sequence of 6476 two keys reversed, and putting the one with the diacritic first first. 6477 6478 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6479 Signed-off-by: James Cloos <cloos@jhcloos.com> 6480 6481commit f020235f4bd91fb6eade82f8c9f7b85a57981768 6482Author: Benno Schulenberg <bensberg@justemail.net> 6483Date: Tue Sep 3 20:44:42 2013 +0200 6484 6485 nls: Adding compose sequences (with <parenleft> first) that GTK also has. 6486 6487 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6488 Signed-off-by: James Cloos <cloos@jhcloos.com> 6489 6490commit bda0b3b5bd19154206dc40166364e73d4b6b1374 6491Author: Benno Schulenberg <bensberg@justemail.net> 6492Date: Tue Sep 3 11:14:16 2013 +0200 6493 6494 nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 6495 6496 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6497 Signed-off-by: James Cloos <cloos@jhcloos.com> 6498 6499commit 8be4610939b833587954957f5963eb4191b43d19 6500Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6501Date: Thu Mar 13 23:22:48 2014 -0700 6502 6503 Fix "follwing" typo in en_US.UTF-8/Compose comment 6504 6505 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6506 6507commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 6508Author: Reuben Thomas <rrt@sc3d.org> 6509Date: Mon Jan 27 14:18:24 2014 +0000 6510 6511 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 6512 6513 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6514 6515commit d6bd988bc00494914b38b95ee5df77ac4f32f19f 6516Author: Peter Hutterer <peter.hutterer@who-t.net> 6517Date: Mon Mar 3 12:38:48 2014 +1000 6518 6519 man: fix man page for XkbGetMap 6520 6521 Returned structure must be freed with XkbFreeKeyboard(). 6522 6523 Reported-by: Morten Bøgeskov <mb@dbc.dk> 6524 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6525 6526commit a6dcf2201a05adbff54122df05a1e6325936abb6 6527Author: Ran Benita <ran234@gmail.com> 6528Date: Tue Feb 11 13:26:16 2014 +0200 6529 6530 Remove dead USE_OWN_COMPOSE-protected code 6531 6532 The build doesn't provide any way to define this option. It also refers 6533 to files (imComp.h) and functions (e.g. XimCompInitTables(), 6534 XimCompProcessSym()) which are not found anywhere, and the ordinary 6535 Compose implementation in xim doesn't use any of it. 6536 6537 Signed-off-by: Ran Benita <ran234@gmail.com> 6538 Reviewed-by: Julien Cristau <jcristau@debian.org> 6539 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6540 6541commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 6542Author: Ran Benita <ran234@gmail.com> 6543Date: Sun Feb 16 15:24:58 2014 +0200 6544 6545 nls: always use XCOMM instead of # for comments in Compose.pre files 6546 6547 Lines starting with # are considered as preprocessor directives in the 6548 .pre files. 6549 6550 Fixes warnings like: 6551 <stdin>:3:0: error: invalid preprocessing directive #Khmer 6552 6553 Signed-off-by: Ran Benita <ran234@gmail.com> 6554 Signed-off-by: James Cloos <cloos@jhcloos.com> 6555 6556commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 6557Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6558Date: Thu Feb 6 13:48:08 2014 -0800 6559 6560 Fix typos in Xrm.c comments 6561 6562 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6563 6564commit aacf95dacc7c598e7297894580d4d655593813b2 6565Author: Marko Myllynen <myllynen@redhat.com> 6566Date: Mon Jan 13 16:43:18 2014 +0200 6567 6568 Annotate Finnish Compose map with Unicode code points 6569 6570 Scripted annotation, no functional changes. 6571 6572 Signed-off-by: James Cloos <cloos@jhcloos.com> 6573 6574commit 20fdccd81b54678376d49e00edfebbbe94951f07 6575Author: Teemu Likonen <tlikonen@iki.fi> 6576Date: Fri Jul 20 19:21:04 2012 +0300 6577 6578 Fix "RING ABOVE" key in the Finnish compose file 6579 6580 The Finnish keyboard standard defines that <dead_abovering> <space> must 6581 insert the character U+02DA RING ABOVE. Currently the Finnish Compose 6582 file inserts U+00B0 DEGREE SIGN even though the line's comment says 6583 "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 6584 6585 Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 6586 Signed-off-by: James Cloos <cloos@jhcloos.com> 6587 6588commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 6589Author: Ran Benita <ran234@gmail.com> 6590Date: Wed Jan 29 02:11:47 2014 +0200 6591 6592 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 6593 6594 Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 6595 keysyms: 6596 6597 #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 6598 #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 6599 6600 (and similarly for uhorn), there is no need to have both names. Remove 6601 the unicode literal ones. 6602 6603 Signed-off-by: Ran Benita <ran234@gmail.com> 6604 Signed-off-by: James Cloos <cloos@jhcloos.com> 6605 6606commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 6607Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6608Date: Sat Jan 18 22:35:18 2014 -0800 6609 6610 Add RANDR 1.4 requests & events to XErrorDB 6611 6612 Checked against randrproto.txt & randr.h 6613 6614 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6615 6616commit 321392ded15a7ee9d177d4ebe8846336ba76741c 6617Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6618Date: Fri Jan 3 20:04:33 2014 -0800 6619 6620 Remove unused ETEST & ESZTEST macros from XlibInt.c 6621 6622 Left behind when 15e5eaf62897 removed support for building without XCB. 6623 6624 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6625 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 6626 6627commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 6628Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6629Date: Thu Dec 26 09:26:13 2013 -0800 6630 6631 _XkbReadGeomOverlay: check for NULL first, then use pointer 6632 6633 Flagged by cppcheck 1.62: 6634 [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 6635 (warning) Possible null pointer dereference: row - otherwise it is 6636 redundant to check it against null. 6637 6638 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6639 6640commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 6641Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6642Date: Thu Dec 26 09:22:49 2013 -0800 6643 6644 XkbSelectEventDetails: remove unnecessary assignments 6645 6646 clear & selectAll are set to 0 already a few lines earlier, 6647 affectWhich is set to XkbMapNotifyMask a few lines later. 6648 None are used between the other assignments and the removed ones. 6649 6650 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6651 6652commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 6653Author: Jon TURNEY <jon.turney@dronecode.org.uk> 6654Date: Thu Oct 7 18:46:08 2010 +0100 6655 6656 Don't try so hard to find a matching font with the given encoding 6657 6658 See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 6659 6660 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 6661 does XCreateFontSet() with a font name of "*", we end up asking the server 6662 to list the (non-existent) fonts 11 times for each CJK encoding, which can 6663 take a while. 6664 6665 A * wildcard can match multiple components in a XLFD name in XListFonts(), 6666 so there's no need to try adding more than one to get a match. 6667 6668 We do try once with a leading '*-' in case the fontname isn't a full 6669 well-formed XLFD name, maybe even that isn't needed? 6670 6671 (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 6672 6673 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6674 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6675 6676commit 7e163300735d4bcd3386b86eec112acdad139c59 6677Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6678Date: Mon Dec 2 21:51:27 2013 -0800 6679 6680 unifdef -UISC 6681 6682 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6683 6684commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 6685Author: Benno Schulenberg <bensberg@justemail.net> 6686Date: Thu Sep 19 13:20:05 2013 +0200 6687 6688 nls: Fix transposed locale identifier for Khmer. 6689 6690 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6691 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6692 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6693 6694commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 6695Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6696Date: Sat Nov 16 20:21:54 2013 -0800 6697 6698 Drop X_LOCALE fallback for OS'es without setlocale() 6699 6700 C89 or bust! This was documented as being needed for "only Lynx, 6701 Linux-libc5, OS/2" and has never been enabled in modular builds, 6702 since none of those platforms have had anyone step up to add support 6703 since the X11R7 conversion to autotools. 6704 6705 Mostly performed with unifdef -UX_LOCALE, followed by removal of files 6706 left without any purpose, and manual cleanup of remaining references. 6707 6708 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6709 Reviewed-by: Adam Jackson <ajax@redhat.com> 6710 6711commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 6712Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6713Date: Wed Oct 23 10:37:53 2013 -0700 6714 6715 Xcms file parsing should not require the impossible to succeed 6716 6717 The field2 helper function, to split lines from Xcms.txt files into 6718 two tab delimited fields, contained a check: 6719 6720 if ((*pBuf != '\n') || (*pBuf != '\0')) { 6721 return(XcmsFailure); 6722 6723 which would cause it to return failure unless *pBuf had a value that 6724 was simultaneously equal to both \n & \0, and no one wants to live in 6725 a world where that could ever be true. 6726 6727 This has gone unnoticed since 1991, since this only caused lines 6728 in Xcms.txt that started with whitespace to be rejected, but now 6729 gcc -Wlogicalop has brought it to our attention, and 6730 https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 6731 6732 Now that we see it, and cannot unsee it, we change it to use the 6733 same logic as the check at other points in this function, to return 6734 failure only if we hit \n or \0 before we find the first non-whitespace 6735 character, so that lines starting with whitespace will have the space 6736 skipped over to get to the color name to be defined. 6737 6738 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6739 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 6740 6741commit 18a5278b008e9faa59b346fcab18a8d74b875fda 6742Author: Gaetan Nadon <memsize@videotron.ca> 6743Date: Sat Sep 28 17:33:52 2013 -0400 6744 6745 makekeys: don't need to use target-specific CFLAGS 6746 6747 It's the only thing built in that directory, so we can use AM_CFLAGS 6748 and AM_CPPFLAGS as usual. 6749 6750 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6751 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6752 6753commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 6754Author: James Cloos <cloos@jhcloos.com> 6755Date: Tue Sep 17 12:50:42 2013 -0400 6756 6757 nls/en_US.UTF-8/Compose.pre: Fix typo. 6758 6759 Fix typo added in 215ce6a67863, s/actute/acute/. 6760 6761 Fixes bug #69476. Reported by Jean Krohn. 6762 6763 Signed-off-by: James Cloos <cloos@jhcloos.com> 6764 6765commit cb107760df33ffc8630677e66e2e50aa37950a5c 6766Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6767Date: Sun Sep 8 18:37:01 2013 -0700 6768 6769 libX11 1.6.2 6770 6771commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 6772Author: Benno Schulenberg <bensberg@justemail.net> 6773Date: Sun Sep 1 12:38:30 2013 +0200 6774 6775 nls: Adding more accessible compose sequences for J́ and j́. 6776 6777 Few keyboards have an <acute> key, so this adds the much more 6778 accessible and usual compose sequences with <apostrophe>, ánd 6779 the most comfortable ones with <dead_acute>. 6780 6781 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6782 Signed-off-by: James Cloos <cloos@jhcloos.com> 6783 6784commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 6785Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6786Date: Sat Aug 24 17:27:43 2013 -0700 6787 6788 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 6789 6790 Pass *new* size to realloc, not old size. 6791 6792 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6793 6794commit c2b8e30790c21d6386767265263b3294ce1b1f9a 6795Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6796Date: Fri Aug 16 21:04:02 2013 -0700 6797 6798 Stop checking for HAVE_DIX_CONFIG_H on the client side 6799 6800 Leftover from when these XKB files were shared with the server sources 6801 and could be compiled in either the client or server, with the different 6802 autoconf config files in each. 6803 6804 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6805 6806commit 84276609b2f0aec74fb464c428c7db5714b0fcfc 6807Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6808Date: Fri Aug 16 18:27:28 2013 -0700 6809 6810 Rearrange some variable declarations & initializations in XKB 6811 6812 Little things noticed during XKB restyling that seemed to make the 6813 code easier to read. 6814 6815 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6816 6817commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 6818Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6819Date: Sun Aug 11 13:29:33 2013 -0700 6820 6821 Reindent XKB code to X.Org standard style 6822 6823 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6824 6825commit c0a0f78eb49c2e4ad956209de77475c85b9314ea 6826Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6827Date: Fri Aug 16 18:14:14 2013 -0700 6828 6829 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 6830 6831 We were checking to make sure that the largest keysym value was within 6832 the range of the allocated buffer, but checking against different limits 6833 in the not-yet-allocated vs. the already-allocated branches. 6834 6835 The check should be the same in both, and reflect the size used for the 6836 allocation, which is based on the maximum key code value, so we move it 6837 to be a common check, before we branch, instead of duplicating in each 6838 branch. 6839 6840 map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 6841 map->syms is the array for which num_syms is recorded, hence is not the 6842 right value to check for ensuring our key_sym_map accesses are in range. 6843 6844 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6845 Reported-by: Barry Kauler <bkauler@gmail.com> 6846 Tested-by: Barry Kauler <bkauler@gmail.com> 6847 6848commit bea6cbd027973142fc64532274e1d16861b47190 6849Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6850Date: Sun Aug 11 17:02:21 2013 -0700 6851 6852 Remove long unused src/udcInf.c 6853 6854 I can find no record of what this file was for. Neither the X11R6.8.2 6855 monolith Imakefile nor any modular release Makefile.am have ever built 6856 it and nothing else references it. 6857 6858 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6859 6860commit bf3501e0395abe890acfea98fdd9f50a6966f118 6861Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6862Date: Sun Aug 11 00:07:33 2013 -0700 6863 6864 Remove unnecessary casts of pointers to (char *) in calls to Xfree() 6865 6866 Left one cast behind that is necessary to change from const char * 6867 to char * in src/xlibi18n/lcCharSet.c. 6868 6869 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6870 6871commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 6872Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6873Date: Sat Aug 10 23:57:55 2013 -0700 6874 6875 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 6876 6877 sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 6878 don't strip down to unsigned int and re-expand unnecessarily. 6879 6880 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6881 6882commit 25a7a329def672fc8d26078538173777850c6390 6883Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6884Date: Sat Aug 10 23:51:08 2013 -0700 6885 6886 Remove even more casts of return values from Xmalloc/Xrealloc 6887 6888 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6889 6890commit f8fa16092a148b74ca35b4beb182053352606f2f 6891Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6892Date: Sat Aug 10 23:05:13 2013 -0700 6893 6894 xlibi18n: fix argsize argument to _XlcParsePath 6895 6896 The array is defined as having NUM_LOCALEDIR entries, so use that 6897 instead of hardcoded 256 value (the other two calls already did this). 6898 6899 Reported by parfait: 6900 Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 6901 Pointer size is 64 elements (of 8 bytes each), index is 255 6902 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 6903 called at line 178 in function '_XlcParsePath' with argv = argv. 6904 called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 6905 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 6906 called at line 178 in function '_XlcParsePath' with argv = argv. 6907 called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 6908 6909 [ This bug was found by the Parfait 1.2.0 bug checking tool. 6910 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 6911 6912 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6913 6914commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 6915Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6916Date: Sat Aug 10 22:32:42 2013 -0700 6917 6918 i18n modules: Fix some const cast warnings 6919 6920 imRm.c: In function '_XimSetICMode': 6921 imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6922 imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6923 6924 lcGenConv.c: In function 'byteM_parse_codeset': 6925 lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6926 6927 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6928 6929commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 6930Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6931Date: Sat Aug 10 22:21:54 2013 -0700 6932 6933 xlibi18n: Fix a bunch of const cast warnings 6934 6935 Add const qualifiers to casts where needed, remove other casts that 6936 are no longer needed. 6937 6938 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6939 6940commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 6941Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6942Date: Sat Aug 10 22:18:00 2013 -0700 6943 6944 Fix const handling in XSetLocaleModifiers 6945 6946 Instead of reusing the input parameter to store the output, make a 6947 result variable instead, so that there's less const confusion. 6948 6949 Fixes gcc warnings: 6950 lcWrap.c: In function 'XSetLocaleModifiers': 6951 lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6952 lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6953 lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6954 6955 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6956 6957commit 8ebbffa98563960910152e4f2e31cb032375d871 6958Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6959Date: Sat Aug 10 21:46:37 2013 -0700 6960 6961 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 6962 6963 Makes code considerably less crufty and clears gcc warnings: 6964 XlcDL.c: In function '_XlcDynamicLoad': 6965 XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 6966 from pointer target type [-Wcast-qual] 6967 XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 6968 from pointer target type [-Wcast-qual] 6969 6970 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6971 6972commit 07e4e864107b38c2f393564fdacc90f4e858f23f 6973Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6974Date: Sat Aug 10 13:37:53 2013 -0700 6975 6976 init_om: remove unneeded extra copy of string to local buffer 6977 6978 Strings from the supported_charset_list[] were being copied one by 6979 one to a stack buffer, and then strdup called on that buffer. 6980 6981 Instead, just strdup the original string, without the local copy, 6982 and use a more traditional for loop, so it's easier to figure out 6983 what the code is doing (cleaning up a gcc const-cast warning in 6984 the process). 6985 6986 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6987 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6988 6989commit 1cec14dad904ba21a861f4af131be5982ecb83dd 6990Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6991Date: Sat Aug 10 12:34:53 2013 -0700 6992 6993 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 6994 6995 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6996 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6997 6998commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 6999Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7000Date: Sat Aug 10 12:19:17 2013 -0700 7001 7002 miRegionOp(): ensure region size is not updated if realloc fails 7003 7004 This function performs operations on a region, and when finished, 7005 checks to see if it should compact the rectangle list. If the 7006 number of rectangles for which memory is allocated in the list is 7007 more than twice the number used, it tries to shrink. realloc() 7008 should not fail in this case, but if it does, might as well keep 7009 the correct value for the number of allocated rectangles, so we 7010 don't try to grow it unnecessarily later if adding to the region. 7011 7012 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7013 7014commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 7015Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7016Date: Sat Aug 10 12:19:17 2013 -0700 7017 7018 miRegionCopy(): handle realloc failure better 7019 7020 Zero out the region size when freeing the region so callers don't think 7021 there's anything there. (Pointer is already set to NULL from the realloc 7022 result itself.) Return 0 to the callers, and have them cascade that back 7023 to their callers to indicate failure, instead of their usual return value 7024 of 1 on success. 7025 7026 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7027 7028commit 5dc8b5385d513bbda88697c2372db750d23f46d4 7029Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7030Date: Sat Aug 10 11:27:22 2013 -0700 7031 7032 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 7033 7034 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7035 7036commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 7037Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7038Date: Sat Aug 10 12:07:51 2013 -0700 7039 7040 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 7041 7042 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7043 7044commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 7045Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7046Date: Sat Aug 10 12:30:39 2013 -0700 7047 7048 lcDB.c: ensure buffer size is updated correctly if realloc fails 7049 7050 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7051 7052commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 7053Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7054Date: Sat Aug 10 11:07:47 2013 -0700 7055 7056 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 7057 7058 Previously, if realloc failed to increase the size, we'd still 7059 record that we had allocated the larger size, but the pointer 7060 to it would be NULL, causing future calls to be broken, and the 7061 previous allocation to be lost/leaked. 7062 7063 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7064 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7065 7066commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 7067Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7068Date: Fri Aug 9 23:33:03 2013 -0700 7069 7070 omGeneric.c: convert sprintf calls to snprintf 7071 7072 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7073 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7074 7075commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 7076Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7077Date: Fri Aug 9 23:30:30 2013 -0700 7078 7079 ximcp/imRm.c: convert sprintf calls to snprintf 7080 7081 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7082 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7083 7084commit 4fadae243fb485628c9a137f5da3489ed6214b21 7085Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7086Date: Fri Aug 9 23:02:12 2013 -0700 7087 7088 xlibi18n: convert sprintf calls to snprintf 7089 7090 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7091 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7092 7093commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 7094Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7095Date: Fri Aug 9 23:02:12 2013 -0700 7096 7097 lcfile: skip over any null entries in args list 7098 7099 Previous code seemed to assume that printf("%s", NULL) would result 7100 in a 0-length string, not "(null)" or similar, but since there's no 7101 point looking for files in "(null)/filepath...", instead we just 7102 skip over NULL entries in search paths when generating file names. 7103 7104 In the *DirName() functions, this effectively just moves the "bail on 7105 NULL in arg[i]" check up from the later code that assigned it to targetdir 7106 and then bailed if that was NULL. 7107 7108 Not sure how there ever could be a NULL in arg[i], given the current 7109 implementation of XlcParsePath, but it's easy enough to check once and 7110 reject up front instead of on every reference. 7111 7112 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7113 7114commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 7115Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7116Date: Fri Aug 9 22:00:09 2013 -0700 7117 7118 Fix file leak on malloc error in XlcDL.c:resolve_object() 7119 7120 File Leak: Leaked File fp 7121 at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 7122 fp initialized at line 198 with fopen 7123 7124 [ This bug was found by the Parfait 1.2.0 bug checking tool. 7125 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 7126 7127 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7128 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7129 7130commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 7131Author: Julien Cristau <jcristau@debian.org> 7132Date: Sat Jun 15 18:02:21 2013 +0200 7133 7134 Add missing locales to configure.ac 7135 7136 Commits 40761898692e5063957bfa2518cca3d35b2e354a and 7137 f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 7138 (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 7139 meaning they're not included in tarballs. 7140 7141 Signed-off-by: Julien Cristau <jcristau@debian.org> 7142 Reviewed-by: James Cloos <cloos@jhcloos.com> 7143 7144commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 7145Author: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 7146Date: Tue Dec 18 15:28:05 2012 +0000 7147 7148 Fix bogus timestamp generated by XIM 7149 7150 Fix bogus timestamp generted by XIM due to uninitialized 7151 data field. Also set appropriate serial, too. 7152 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 7153 7154 Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 7155 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7156 7157commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 7158Author: Egbert Eich <eich@freedesktop.org> 7159Date: Thu Jun 16 18:47:49 2011 +0200 7160 7161 XIM: Fix sync problem on focus change. 7162 7163 XSetICFocus() and XUnsetICFocus() are both asynchronous events. 7164 This is a pretty stupid idea: those functions may undo certain 7165 settings on the client side for which requests from the server 7166 may still be in the queue unprocessed. Thus things may be set 7167 in the wrong order ie instead of set -> unest it will be unset -> set. 7168 Moreover there is no way for either the client or the server to 7169 cause the event queue to be flushed - which is pretty bad as 7170 XIM is bidirectional. 7171 The scenario is as follows: 7172 Two ICs are created: 7173 ic1 = XCreateIC(im, 7174 XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 7175 XNClientWindow, window, 7176 XNPreeditAttributes, preedit_attr, 7177 XNStatusAttributes, status_attr, 7178 NULL); 7179 ic2 = XCreateIC(im, XNInputStyle, 7180 XIMPreeditNothing | XIMStatusNothing, 7181 XNClientWindow, window, NULL); 7182 Then the focus is removed from ic2: 7183 XUnsetICFocus(ic2); 7184 If SCIM is used as the input server it will send a bunch of requests 7185 following an XCreateIC(). One of the requests registers a key release 7186 filter. XUnsetICFocus() unsets both key press and release filters. 7187 Since it is asynchronous, the input server requests to register key 7188 press and release filters may not have been processed, when XUnsetICFocus() 7189 is called. Since there is no explicite way for client programs to enforce 7190 the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 7191 call it would be safest to make those two calls synchronous in the sense 7192 that they ensure the request queue has been handled before they execute. 7193 The easiest way to do this from Xlib is thru a call to XGetICValues() 7194 which sends a request to the server and subsequently reads the queue 7195 from the server to the client. This will cause all outstanding requests 7196 in the queue to be read and handled. 7197 This is an ugly hack and this could be fixed directly in the client, 7198 however it seems to be easier to fix Xlib than to fix numerous clients. 7199 This problem arose since there is no well documented way how to handle 7200 and synchronize XIM requests and not all input servers send requests 7201 when an IC is created. 7202 This has been discussed extensively in: 7203 https://bugzilla.novell.com/show_bug.cgi?id=221326 7204 7205 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7206 7207commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 7208Author: Egbert Eich <eich@freedesktop.org> 7209Date: Thu Jun 16 17:28:39 2011 +0200 7210 7211 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 7212 7213 When synthesized key events are sent on commit XIM sets the 'fabricated' 7214 flag so that the keypress handler knows that these were not real events. 7215 This also happens when committing due to the loss of focus. However in this 7216 case the keypress/release filters which consume and unset this flag are no 7217 longer in the filter chain. 7218 So the flag is erronously set when a real keyboard event is received after 7219 focus has been regained. So the first event is wrongly treated as a 7220 fabricated key in the keypress handler which will at the same time reset 7221 the flag so the second key event is treated correctly. 7222 This fix only sets the flag when at least one of the keyboard filters is in 7223 place. 7224 How to reproduce this bug: run scim, choose a Japanese input method start 7225 two instances of xterm: start typing in one xterm (this should pop up an 7226 IM window). Without comitting (hitting 'enter') move focus to the other 7227 xterm, then move focus back. Start typing again. The first character will 7228 be committed immediately without popping up an input window. 7229 With this fix this behavior is gone. 7230 7231 See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 7232 7233 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7234 7235commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 7236Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7237Date: Mon Jul 29 21:29:49 2013 -0700 7238 7239 libX11 1.6.1 7240 7241 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7242 7243commit d19cfaca15826943d3c637ef7fa5db0a23d5feed 7244Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7245Date: Sat Jul 27 12:19:00 2013 -0700 7246 7247 Fix undefined XCMSDIR error when building lint library 7248 7249 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7250 7251commit 3083cd43d7dcd59da587975e7cadda681cd8a103 7252Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7253Date: Sat Jul 27 00:36:08 2013 -0700 7254 7255 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 7256 7257 Upstreaming from changes originally integrated into OpenSolaris 7258 under Sun bug id 6882572. 7259 7260 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7261 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 7262 7263commit 208e586c808e88a2ee819e4450dc27f557afc2bf 7264Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7265Date: Sat Jul 27 01:03:18 2013 -0700 7266 7267 omGeneric: remove space between struct name & member name 7268 7269 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7270 7271commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 7272Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7273Date: Tue Jul 23 22:18:46 2013 -0700 7274 7275 Refactor common code from XAddHost & XRemoveHost into single function 7276 7277 On the Xlib side, the only real difference is the mode flag we send 7278 to the server with the address, so just make that an argument to the 7279 function with the common code for packing the address into the request. 7280 7281 (Aside from labels, gcc 4.7.2 generates identical code before & after 7282 this change due to inlining, verified via diff of gcc -S output.) 7283 7284 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7285 7286commit 3292195a64a9ce4f0d27134cd544651ec647e728 7287Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7288Date: Tue Jul 23 22:11:34 2013 -0700 7289 7290 XSetModifierMapping: Use Data instead of GetReqExtra 7291 7292 Handle arbitrary length data in the same fashion as other calls, 7293 avoiding need to ensure it fits all in the request buffer. 7294 7295 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7296 7297commit feb131b18aee31c2c125dc3275b0260940245882 7298Author: Kees Cook <kees@outflux.net> 7299Date: Sun Jun 9 11:13:43 2013 -0700 7300 7301 libX11: check "req" when calling GetReqExtra 7302 7303 This fixes the two callers of GetReqExtra to check that "req" is non-NULL 7304 to avoid crashing now that GetReqExtra does internal bounds-checking on 7305 the resulting buffer sizes. 7306 7307 Additionally updates comment describing return values to use names 7308 instead of only literal values. 7309 7310 Signed-off-by: Kees Cook <kees@outflux.net> 7311 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7312 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7313 7314commit 54540d7cba0c2bfe9176221c7bca910058d304df 7315Author: Kees Cook <kees@outflux.net> 7316Date: Sun Jun 9 11:13:42 2013 -0700 7317 7318 libX11: check size of GetReqExtra after XFlush 7319 7320 Two users of GetReqExtra pass arbitrarily sized allocations from the 7321 caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 7322 macro) to double-check the requested length and invalidate "req" when 7323 this happens. Users of GetReqExtra passing lengths greater than the Xlib 7324 buffer size (normally 16K) must check "req" and fail gracefully instead 7325 of crashing. 7326 7327 Any callers of GetReqExtra that do not check "req" for NULL 7328 will experience this change, in the pathological case, as a NULL 7329 dereference instead of a buffer overflow. This is an improvement, but 7330 the documentation for GetReqExtra has been updated to reflect the need 7331 to check the value of "req" after the call. 7332 7333 Bug that manifested the problem: 7334 https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 7335 7336 Signed-off-by: Kees Cook <kees@outflux.net> 7337 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7338 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7339 7340commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 7341Author: Thomas Klausner <wiz@NetBSD.org> 7342Date: Tue Jun 25 22:35:29 2013 +0200 7343 7344 Tighten out-of-range comparisons. 7345 7346 [For all of these, LONG_MAX was the correct value to prevent overflows 7347 for the recent CVEs. Lowering to INT_MAX catches buggy replies from 7348 the server that 32-bit clients would reject but 64-bit would accept, 7349 so we catch bugs sooner, and really, no sane & working server should 7350 ever report more than 2gb of extension names, font path entries, 7351 key modifier maps, etc. -alan- ] 7352 7353 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7354 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7355 7356commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 7357Author: Thomas Klausner <wiz@NetBSD.org> 7358Date: Tue Jun 25 18:34:32 2013 +0200 7359 7360 Fix out-of-range comparison in _XF86BigfontQueryFont 7361 7362 clang complained (correctly): 7363 warning: comparison of constant 768614336404564650 with expression 7364 of type 'CARD32' (aka 'unsigned int') is always true 7365 [-Wtautological-constant-out-of-range-compare] 7366 7367 [While LONG_MAX is correct, since it's used in size_t math, the 7368 numbers have to be limited to 32-bit range to be usable by 32-bit 7369 clients, and values beyond that range are far more likely to be 7370 bugs in the data from the server than valid numbers of characters 7371 in a font. -alan- ] 7372 7373 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7374 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7375 7376commit 383e2b0d029482a0f4c39fe00e15397538576fc1 7377Author: Thomas Klausner <wiz@NetBSD.org> 7378Date: Tue Jun 25 18:33:56 2013 +0200 7379 7380 Check for symbol existence with #ifdef, not #if 7381 7382 Reviewed-by: Jamey Sharp <jamey@minilop.net> 7383 7384 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7385 7386commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 7387Author: Thomas Klausner <wiz@NetBSD.org> 7388Date: Tue Jun 25 18:33:07 2013 +0200 7389 7390 Use newer callback-based API for XIM. 7391 7392 Let libX11 load and make available the newer (X11R6) callback-based 7393 API for XIM (expected by emacs). 7394 7395 This patch updates the files to match the other nls/ files. 7396 7397 Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 7398 following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 7399 7400 Reviewed-by: James Cloos <cloos@jhcloos.com> 7401 7402 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7403 7404commit a17ceb7100bd36c2db210473ee701deb5d515731 7405Author: Thomas Klausner <wiz@NetBSD.org> 7406Date: Tue Jun 25 18:31:32 2013 +0200 7407 7408 Stop truncating source to destination length if it is larger. 7409 7410 It seems useless to do that since the code tests for both source 7411 length and destination to be non-zero. This fixes a cut'n'paste 7412 problem in xterm where the paste length was limited to 1024 (BUFSIZ) 7413 in button.c. 7414 7415 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7416 7417commit a336db9a0add3ae0783dda6e52459236622a12af 7418Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7419Date: Mon Jun 24 23:02:05 2013 -0700 7420 7421 Require ANSI C89 pre-processor, drop pre-C89 token pasting support 7422 7423 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7424 7425commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 7426Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7427Date: Fri Jun 7 11:30:11 2013 -0700 7428 7429 troff macro expansion in specs/libX11 7430 7431 Many of the custom nroff macros (.ds <macro> <contents>) were left 7432 unsubstituted in the nroff->docbook conversion. This substitution 7433 is now performed, via the following perl script: 7434 7435 #! /usr/bin/perl -w -i 7436 7437 use Text::Wrap; 7438 7439 while ($_ = <>) { 7440 while ($_ =~ m/\((\w+)\b/g) { 7441 my $m = $1; 7442 if (exists $macro{$m}) { 7443 $_ =~ s/\($m/$macro{$m}/; 7444 $_ = wrap('', '', $_); 7445 $_ =~ s/[ \t]+$//; 7446 } 7447 } 7448 7449 if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 7450 my ($m, $s) = ($1, $2); 7451 $macro{$m} = $s; 7452 while ($macro{$m} =~ /\\\s*$/) { 7453 $macro{$m} =~ s/\\\s*$//ms; 7454 $macro{$m} .= <>; 7455 chomp($macro{$m}); 7456 } 7457 $macro{$m} =~ s/\\ / /g; 7458 } else { 7459 print $_; 7460 } 7461 } 7462 7463 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7464 7465commit 20c17bd9ebf767a24643279e45866dddcb57b5ce 7466Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7467Date: Fri Jun 7 09:27:26 2013 -0700 7468 7469 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 7470 7471 The XListPixmapFormats arguments was being shown with XImageByteOrder's 7472 name and return types. Appears to have been a glitch in the nroff -> 7473 docbook conversion. 7474 7475 Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 7476 Reviewed-by: Jamey Sharp <jamey@minilop.net> 7477 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7478 7479commit ed3d830243c8a0eefaf24e15b11823272ffe5049 7480Author: Thomas Klausner <wiz@NetBSD.org> 7481Date: Sun Jun 2 20:49:55 2013 +0200 7482 7483 Deal with the limited range of VAX floating point numbers when compiling for VAX. 7484 7485 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7486 7487commit 0a48235d63639fb917c44d27c86e928e79fbac66 7488Author: Eric S. Raymond <esr@thyrsus.com> 7489Date: Thu Jun 6 16:43:56 2013 -0400 7490 7491 Remove call to undefined macro. 7492 7493commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 7494Author: Eric S. Raymond <esr@thyrsus.com> 7495Date: Thu Jun 6 16:42:20 2013 -0400 7496 7497 Remove call to undefined macro. 7498 7499commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 7500Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7501Date: Mon Jun 3 20:06:43 2013 -0700 7502 7503 Update README to reflect where to find the Xlib specs now 7504 7505 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7506 7507commit 655d631e86c95b14888758b27ed2836ca3e3ce86 7508Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7509Date: Mon Jun 3 19:21:06 2013 -0700 7510 7511 libX11 1.6.0 7512 7513 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7514 7515commit 4a89b7ea908554628f374537a79931c8006a2de3 7516Author: Thomas Klausner <wiz@NetBSD.org> 7517Date: Sun Jun 2 11:49:54 2013 -0700 7518 7519 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 7520 7521 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7522 7523commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 7524Author: Thomas Klausner <wiz@NetBSD.org> 7525Date: Sun Jun 2 20:49:48 2013 +0200 7526 7527 XCreateGC man page: Avoid .TS H and .TH macros 7528 7529 Avoid .TS H and .TH for now as it doesn't alter the output in this case, 7530 and improve the output with mandoc(1). 7531 7532 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7533 7534commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 7535Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7536Date: Thu May 23 19:43:35 2013 -0700 7537 7538 libX11 1.5.99.902 (1.6 RC2) 7539 7540 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7541 7542commit a3bdd2b090915fe0163b062f0e6576fe05dd332e 7543Author: Julien Cristau <jcristau@debian.org> 7544Date: Thu May 23 20:39:46 2013 +0200 7545 7546 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 7547 7548 The size of the arrays is max_key_code + 1. This makes these functions 7549 consistent with the other checks added for CVE-2013-1997. 7550 7551 Also check the XkbGetNames reply when names->keys was just allocated. 7552 7553 Signed-off-by: Julien Cristau <jcristau@debian.org> 7554 Tested-by: Colin Walters <walters@verbum.org> 7555 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7556 7557commit 7e30056e78e4b7979ff47f102e00327617266019 7558Author: Niveditha Rau <Niveditha.Rau@Oracle.COM> 7559Date: Fri May 17 15:26:21 2013 -0700 7560 7561 Make sure internal headers include required headers 7562 7563 Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 7564 longer ignores *.h files, but complains when they reference undefined 7565 typedefs or macros. 7566 7567 Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 7568 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7569 7570commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 7571Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7572Date: Thu May 16 23:05:36 2013 -0700 7573 7574 Free fs->properties in _XF86BigfontQueryFont overflow error path 7575 7576 Fixes small memory leak introduced in commit 5669a22081 7577 7578 Reported-by: Julien Cristau <jcristau@debian.org> 7579 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7580 7581commit 3131740513133a9ff7cb12123d29ceb18584fc38 7582Author: Matthieu Herrb <matthieu.herrb@laas.fr> 7583Date: Wed May 8 19:33:09 2013 +0200 7584 7585 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 7586 7587 Freeing a pointer that wasn't returned by malloc() is undefined 7588 behavior and produces an error with OpenBSD's implementation. 7589 7590 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7591 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7592 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7593 7594commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 7595Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7596Date: Fri Apr 19 14:30:40 2013 -0700 7597 7598 Give GNU & Solaris Studio compilers hints about XEatData branches 7599 7600 Try to offset the cost of all the recent checks we've added by giving 7601 the compiler a hint that the branches that involve us eating data 7602 are less likely to be used than the ones that process it. 7603 7604 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7605 7606commit e1b457beb8d4e831ef44279dada6c475cb955738 7607Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7608Date: Sun Mar 31 12:22:35 2013 -0700 7609 7610 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 7611 7612 Various other bounds checks in the code assume this is true, so 7613 enforce it when we first get the data from the X server. 7614 7615 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7616 7617commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 7618Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7619Date: Sat Mar 16 10:03:13 2013 -0700 7620 7621 Use calloc in XOpenDisplay to initialize structs containing pointers 7622 7623 Prevents trying to free uninitialized pointers if we have to bail out 7624 partway through setup, such as if we receive a corrupted or incomplete 7625 connection setup block from the server. 7626 7627 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7628 7629commit d38527e25f8b6e2f1174ecc21260c5c5416f972e 7630Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7631Date: Thu Mar 7 23:46:05 2013 -0800 7632 7633 Remove more unnecessary casts from Xmalloc/calloc calls 7634 7635 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7636 7637commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 7638Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7639Date: Sat Mar 2 16:56:16 2013 -0800 7640 7641 Convert more _XEatData callers to _XEatDataWords 7642 7643 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7644 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7645 7646commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 7647Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7648Date: Sat Mar 9 11:04:37 2013 -0800 7649 7650 Make XGetWindowProperty() always initialize returned values 7651 7652 Avoids memory corruption and other errors when callers access them 7653 without checking to see if XGetWindowProperty() returned an error value. 7654 7655 Callers are still required to check for errors, this just reduces the 7656 damage when they don't. 7657 7658 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7659 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7660 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7661 7662commit db1b1c871da29aa0545182bf888df81627f165a5 7663Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7664Date: Sat Mar 2 15:08:21 2013 -0800 7665 7666 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 7667 7668 Ensure that when breaking the returned list into individual strings, 7669 we don't walk past the end of allocated memory to write the '\0' bytes 7670 7671 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7672 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7673 7674commit 8d5936594993921acdfec778dd8f41b555e2543a 7675Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7676Date: Sat Mar 2 15:08:21 2013 -0800 7677 7678 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 7679 7680 Ensure that when breaking the returned list into individual strings, 7681 we don't walk past the end of allocated memory to write the '\0' bytes 7682 7683 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7684 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7685 7686commit 0c404db6a92dc2c198328bf586c02d8abbe02013 7687Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7688Date: Sat Mar 2 15:08:21 2013 -0800 7689 7690 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 7691 7692 Ensure that when breaking the returned list into individual strings, 7693 we don't walk past the end of allocated memory to write the '\0' bytes 7694 7695 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7696 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7697 7698commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 7699Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7700Date: Sat Mar 2 15:08:21 2013 -0800 7701 7702 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 7703 7704 Ensure that we don't underallocate when the server claims a very large reply 7705 7706 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7707 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7708 7709commit a351b8103b2ba78882e1c309e85893ca3abe2073 7710Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7711Date: Sat Mar 2 15:08:21 2013 -0800 7712 7713 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 7714 7715 Ensure that we don't underallocate when the server claims a very large reply 7716 7717 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7718 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7719 7720commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 7721Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7722Date: Sat Mar 2 15:08:21 2013 -0800 7723 7724 integer overflow in XGetImage() [CVE-2013-1981 11/13] 7725 7726 Ensure that we don't underallocate when the server claims to have sent a 7727 very large reply. 7728 7729 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7730 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7731 7732commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 7733Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7734Date: Fri Mar 8 22:25:35 2013 -0800 7735 7736 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 7737 7738 If the reported number of properties is too large, the calculations 7739 to allocate memory for them may overflow, leaving us returning less 7740 memory to the caller than implied by the value written to *nitems. 7741 7742 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7743 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7744 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7745 7746commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 7747Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7748Date: Sat Mar 2 13:18:48 2013 -0800 7749 7750 integer overflows in TransFileName() [CVE-2013-1981 9/13] 7751 7752 When trying to process file paths the tokens %H, %L, & %S are expanded 7753 to $HOME, the standard compose file path & the xlocaledir path. 7754 If enough of these tokens are repeated and values like $HOME are set to 7755 very large values, the calculation of the total string size required to 7756 hold the expanded path can overflow, resulting in allocating a smaller 7757 string than the amount of data we'll write to it. 7758 7759 Simply restrict all of these values, and the total path size to PATH_MAX, 7760 because really, that's all you should need for a filename path. 7761 7762 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7763 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7764 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7765 7766commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 7767Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7768Date: Fri Mar 1 18:37:37 2013 -0800 7769 7770 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 7771 7772 Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 7773 to specify filename. 7774 7775 If the size of off_t is larger than the size of unsigned long (as in 7776 32-bit builds with large file flags), a file larger than 4 gigs could 7777 have its size truncated, leading to data from that file being written 7778 past the end of the undersized buffer allocated for it. 7779 7780 While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 7781 builders may have added the large file compilation flags to CFLAGS on 7782 their own. 7783 7784 size is left limited to an int, because if your Xim file is 7785 larger than 2gb, you're doing it wrong. 7786 7787 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7789 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7790 7791commit 226622349a4b1e16064649d4444a34fb4be4f464 7792Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7793Date: Sat Mar 2 12:39:58 2013 -0800 7794 7795 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 7796 7797 parseline() can call _XimParseStringFile() which can call parseline() 7798 which can call _XimParseStringFile() which can call parseline() .... 7799 eventually causing recursive stack overflow and crash. 7800 7801 Limit is set to a include depth of 100 files, which should be enough 7802 for all known use cases, but could be adjusted later if necessary. 7803 7804 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7805 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7806 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7807 7808commit 236b603d235dc264d1c6250dca09c745458a9088 7809Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7810Date: Sat Mar 2 12:01:39 2013 -0800 7811 7812 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 7813 7814 GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 7815 which can call GetDatabase() which can call GetIncludeFile() .... 7816 eventually causing recursive stack overflow and crash. 7817 7818 Easily reproduced with a resource file that #includes itself. 7819 7820 Limit is set to a include depth of 100 files, which should be enough 7821 for all known use cases, but could be adjusted later if necessary. 7822 7823 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7824 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7825 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7826 7827commit 076428918e6c35f66b9b55c3fa097ff06496d155 7828Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7829Date: Fri Mar 1 18:37:37 2013 -0800 7830 7831 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 7832 7833 Called from XrmGetFileDatabase() which gets called from InitDefaults() 7834 which gets the filename from getenv ("XENVIRONMENT") 7835 7836 If file is exactly 0xffffffff bytes long (or longer and truncates to 7837 0xffffffff, on implementations where off_t is larger than an int), 7838 then size may be set to a value which overflows causing less memory 7839 to be allocated than is written to by the following read() call. 7840 7841 size is left limited to an int, because if your Xresources file is 7842 larger than 2gb, you're very definitely doing it wrong. 7843 7844 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7845 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7846 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7847 7848commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 7849Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7850Date: Sat Mar 2 11:44:19 2013 -0800 7851 7852 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 7853 7854 LoadColornameDB() calls stringSectionSize() to do a first pass over the 7855 file (which may be provided by the user via XCMSDB environment variable) 7856 to determine how much memory needs to be allocated to read in the file, 7857 then allocates the returned sizes and calls ReadColornameDB() to load the 7858 data from the file into that newly allocated memory. 7859 7860 If stringSectionSize() overflows the signed ints used to calculate the 7861 file size (say if you have an xcmsdb with ~4 billion lines in or a 7862 combined string length of ~4 gig - which while it may have been 7863 inconceivable when Xlib was written, is quite possible today), then 7864 LoadColornameDB() may allocate a memory buffer much smaller than the 7865 amount of data ReadColornameDB() will write to it. 7866 7867 The total size is left limited to an int, because if your xcmsdb file 7868 is larger than 2gb, you're doing it wrong. 7869 7870 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7871 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7872 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7873 7874commit b9ba832401734e1cbd30a930c0d11d850293f3f9 7875Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7876Date: Sat Mar 2 11:25:25 2013 -0800 7877 7878 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 7879 7880 Check the provided buffer size against the amount of data we're going to 7881 write into it, not against the reported length from the ClientMessage. 7882 7883 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7884 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7885 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7886 7887commit de2e6c322c4aca22856b380f67f8e488e7510015 7888Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7889Date: Sat Mar 2 11:11:08 2013 -0800 7890 7891 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 7892 7893 If the X server returns key name indexes outside the range of the number 7894 of keys it told us to allocate, out of bounds memory writes could occur. 7895 7896 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7897 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7898 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7899 7900commit 2df882eeb3a70256170127a746a9ba26376599a1 7901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7902Date: Sat Mar 2 11:01:04 2013 -0800 7903 7904 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 7905 7906 If the X server returns modifier map indexes outside the range of the number 7907 of keys it told us to allocate, out of bounds memory writes could occur. 7908 7909 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7910 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7911 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7912 7913commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 7914Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7915Date: Sat Mar 2 11:04:44 2013 -0800 7916 7917 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 7918 7919 If the X server returns key indexes outside the range of the number of 7920 keys it told us to allocate, out of bounds memory writes could occur. 7921 7922 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7923 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7924 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7925 7926commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 7927Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7928Date: Sat Mar 2 10:51:51 2013 -0800 7929 7930 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 7931 7932 If the X server returns modifier map indexes outside the range of the number 7933 of keys it told us to allocate, out of bounds memory writes could occur. 7934 7935 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7936 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7937 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7938 7939commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 7940Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7941Date: Sat Mar 2 10:39:21 2013 -0800 7942 7943 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 7944 7945 If the X server returns key behavior indexes outside the range of the number 7946 of keys it told us to allocate, out of bounds memory writes could occur. 7947 7948 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7949 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7950 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7951 7952commit 00626c3830b869259098985afa38933d77ccec72 7953Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7954Date: Sat Mar 2 09:40:22 2013 -0800 7955 7956 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 7957 7958 If the X server returns key action indexes outside the range of the number 7959 of keys it told us to allocate, out of bounds memory access could occur. 7960 7961 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7962 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7963 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7964 7965commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 7966Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7967Date: Sat Mar 2 09:28:33 2013 -0800 7968 7969 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 7970 7971 If the X server returns keymap indexes outside the range of the number of 7972 keys it told us to allocate, out of bounds memory access could occur. 7973 7974 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7975 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7976 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7977 7978commit 59ae16a00d18588e98af57d26e442af8ea42b7aa 7979Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7980Date: Sat Mar 2 09:18:26 2013 -0800 7981 7982 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 7983 7984 If the X server returns color indexes outside the range of the number of 7985 colors it told us to allocate, out of bounds memory access could occur. 7986 7987 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7988 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7989 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7990 7991commit bff938b9fe1629cbacb726509edfa2a3840b7207 7992Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7993Date: Sat Mar 2 09:12:47 2013 -0800 7994 7995 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 7996 7997 If the X server returns shape indexes outside the range of the number 7998 of shapes it told us to allocate, out of bounds memory access could occur. 7999 8000 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8001 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8002 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8003 8004commit f293659d5a4024bda386305bb7ebeb4647c40934 8005Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8006Date: Fri Mar 1 22:49:01 2013 -0800 8007 8008 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 8009 8010 If the X server returns more buttons than are allocated in the XKB 8011 device info structures, out of bounds writes could occur. 8012 8013 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8014 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8015 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8016 8017commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 8018Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8019Date: Fri Mar 1 19:30:09 2013 -0800 8020 8021 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 8022 8023 If a broken server returned larger than requested values for nPixels or 8024 nMasks, XAllocColorCells would happily overflow the buffers provided by 8025 the caller to write the results into. 8026 8027 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8028 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8029 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8030 8031commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 8032Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8033Date: Fri Mar 1 22:49:01 2013 -0800 8034 8035 integer overflow in XListHosts() [CVE-2013-1981 5/13] 8036 8037 If the reported number of host entries is too large, the calculations 8038 to allocate memory for them may overflow, leaving us writing beyond the 8039 bounds of the allocation. 8040 8041 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8042 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8043 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8044 8045commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 8046Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8047Date: Fri Mar 1 22:49:01 2013 -0800 8048 8049 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 8050 8051 If the reported number of motion events is too large, the calculations 8052 to allocate memory for them may overflow, leaving us writing beyond the 8053 bounds of the allocation. 8054 8055 v2: Ensure nEvents is set to 0 when returning NULL events pointer 8056 8057 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8058 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8059 8060commit 39515b7c3ba8cae9021bf6695e378ae19487082f 8061Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8062Date: Fri Mar 1 22:49:01 2013 -0800 8063 8064 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 8065 8066 If the reported number of remaining fonts is too large, the calculations 8067 to allocate memory for them may overflow, leaving us writing beyond the 8068 bounds of the allocation. 8069 8070 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 8071 v3: On error cases, also set values to be returned in pointer args to 0/NULL 8072 8073 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8074 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8075 8076commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 8077Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8078Date: Fri Mar 1 21:05:27 2013 -0800 8079 8080 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 8081 8082 Similar to _XQueryFont, but with more ways to go wrong and overflow. 8083 Only compiled if libX11 is built with XF86BigFont support. 8084 8085 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 8086 8087 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8088 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8089 8090commit 6df8a63d34b7514077188e2062a13774f920c085 8091Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8092Date: Fri Mar 1 21:05:27 2013 -0800 8093 8094 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 8095 8096 If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 8097 unsigned long, then too small of a buffer will be allocated for the 8098 data copied in from the reply. 8099 8100 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 8101 8102 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8103 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8104 8105commit 9f5d83706543696fc944c1835a403938c06f2cc5 8106Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8107Date: Fri Mar 1 20:54:24 2013 -0800 8108 8109 Add _XEatDataWords to discard a given number of 32-bit words of reply data 8110 8111 Matches the units of the length field in X protocol replies, and provides 8112 a single implementation of overflow checking to avoid having to replicate 8113 those checks in every caller. 8114 8115 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8116 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8117 8118commit d7f04c340ade3834e603c23d543132e1ee4e0c63 8119Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8120Date: Sat Mar 2 13:03:55 2013 -0800 8121 8122 Move repeated #ifdef magic to find PATH_MAX into a common header 8123 8124 Lets stop duplicating the mess all over 8125 8126 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8127 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8128 8129commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 8130Author: Pander <pander@users.sourceforge.net> 8131Date: Tue May 7 18:38:14 2013 -0400 8132 8133 Add compose sequences for J́ and j́. 8134 8135 The resulting sequences are: 8136 8137 U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 8138 U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 8139 8140 Used in Dutch, per: 8141 8142 http://lists.x.org/archives/xorg-devel/2013-February/035514.html 8143 https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 8144 8145 Signed-off-by: Pander <pander@users.sourceforge.net> 8146 Signed-off-by: James Cloos <cloos@jhcloos.com> 8147 8148commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 8149Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8150Date: Sat Mar 16 18:30:56 2013 -0700 8151 8152 Move big request comment in XOpenDisplay to the right place 8153 8154 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8155 8156commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 8157Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8158Date: Sat Mar 9 19:16:03 2013 -0800 8159 8160 libX11 1.5.99.901 (1.6 RC1) 8161 8162 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8163 8164commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 8165Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8166Date: Fri Mar 8 22:33:28 2013 -0800 8167 8168 Fix very weird indenting in src/GetFProp.c 8169 8170 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8171 8172commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 8173Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8174Date: Fri Mar 8 15:37:33 2013 -0800 8175 8176 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 8177 8178 While the C standard technically allows for the compiler to translate 8179 pointer = 0 or pointer = NULL into something other than filling the 8180 pointer address with 0 bytes, the rest of the Xlib code already assumes 8181 that calloc initializes any pointers in the struct to NULL, and there 8182 are no known systems supported by X.Org where this is not true. 8183 8184 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8185 8186commit 39547d600a13713e15429f49768e54c3173c828d 8187Author: Karl Tomlinson <xmail@karlt.net> 8188Date: Mon Feb 18 01:25:34 2013 +0000 8189 8190 MakeBigReq: don't move the last word, already handled by Data32 8191 8192 MakeBigReq inserts a length field after the first 4 bytes of the request 8193 (after req->length), pushing everything else back by 4 bytes. 8194 8195 The current memmove moves everything but the first 4 bytes back. 8196 If a request aligns to the end of the buffer pointer when MakeBigReq is 8197 invoked for that request, this runs over the buffer. 8198 Instead, we need to memmove minus the first 4 bytes (which aren't moved), 8199 minus the last 4 bytes (so we still align to the previous tail). 8200 8201 The 4 bytes that fell out are already handled with Data32, which will 8202 handle the buffermax correctly. 8203 8204 The case where req->length = 1 was already not functional. 8205 8206 Reported by Abhishek Arya <inferno@chromium.org>. 8207 8208 https://bugzilla.mozilla.org/show_bug.cgi?id=803762 8209 8210 Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 8211 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8212 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8213 8214Notes: 8215 CVE-2013-7439 8216 8217commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 8218Author: Quentin Glidic <sardemff7+git@sardemff7.net> 8219Date: Tue Jan 15 21:07:17 2013 +0000 8220 8221 nls/Makefile.am: Use LOG_COMPILER 8222 8223 TESTS_ENVIRONMENT is deprecated 8224 8225 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 8226 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8227 8228commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 8229Author: Quentin Glidic <sardemff7+git@sardemff7.net> 8230Date: Tue Jan 15 21:07:16 2013 +0000 8231 8232 nls/Makefile.am: Remove unneeded $(srcdir) 8233 8234 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 8235 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8236 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8237 8238commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 8239Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8240Date: Sat Mar 2 12:01:39 2013 -0800 8241 8242 Add <X11/Xresource.h> hint to all Xrm* man pages 8243 8244 Help users figure out which header file they need to #include 8245 8246 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8247 8248commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 8249Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8250Date: Fri Mar 8 17:13:09 2013 -0800 8251 8252 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 8253 8254 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8255 8256commit 47d2eff64d167b3245d346d7f38ca703be645e26 8257Author: Ken Moffat <ken@linuxfromscratch.org> 8258Date: Thu Mar 7 18:27:54 2013 -0500 8259 8260 dead_double_grave and dead_inverted_breve should only have one underscore. 8261 8262 Correct instances of dead_double_grave and dead_inverted_breve to 8263 dead_doublegrave and dead_invertedbreve. 8264 8265 Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 8266 Signed-off-by: James Cloos <cloos@jhcloos.com> 8267 8268commit c23d61d1b84dca3740bf4786978c7908d0065fb9 8269Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8270Date: Fri Mar 1 18:10:27 2013 -0800 8271 8272 Assume size_t is always available, since it was defined in C89 8273 8274 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 8275 We already use size_t throughout the rest of Xlib, just had this 8276 one instance left in XKBGAlloc.c of a fallback definition. 8277 8278 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8279 8280commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 8281Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8282Date: Fri Mar 1 18:09:07 2013 -0800 8283 8284 unifdef XKB_IN_SERVER 8285 8286 Leftovers from XKB files that were previously shared between the client 8287 and server code, but aren't any more. 8288 8289 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8290 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8291 8292commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 8293Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8294Date: Thu Feb 28 20:04:25 2013 -0800 8295 8296 unifdef CRAY & _CRAY 8297 8298 (mostly performed with unifdef, followed by some manual cleanup of 8299 the remaining code) 8300 8301 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8302 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8303 8304commit ca106eb03e5f5468df8033300c5caae3d3c6936b 8305Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8306Date: Thu Feb 28 20:04:25 2013 -0800 8307 8308 unifdef WORD64 8309 8310 WORD64 seems to have only been defined in <X11/Xmd.h> when building for 8311 CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 8312 64-bit alignment requirements. 8313 8314 It hadn't been fully supported even before autotooling, as can be 8315 seen by removed code such as: 8316 8317 #ifdef WORD64 8318 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 8319 #endif 8320 8321 (mostly performed with unifdef, followed by some manual cleanup of 8322 the remaining code) 8323 8324 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8325 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8326 8327commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 8328Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8329Date: Thu Feb 28 20:04:25 2013 -0800 8330 8331 unifdef MUSTCOPY 8332 8333 MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 8334 CRAY, to handle missing some sizes of integer type. 8335 8336 (mostly performed with unifdef, followed by some manual cleanup of 8337 spacing/indenting in the remaining code) 8338 8339 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8340 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8341 8342commit b687440c28c7da6ee0ae44514d20248db5161606 8343Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8344Date: Sat Feb 16 10:42:23 2013 -0800 8345 8346 Convert more sprintf calls to snprintf 8347 8348 You could analyze most of these and quickly recognize that there was no 8349 chance of buffer overflow already, but why make everyone spend time doing 8350 that when we can just make it obviously safe? 8351 8352 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8353 8354commit b092dabbd712d7b656abcf572d253b9b206c0237 8355Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8356Date: Fri Feb 15 23:43:12 2013 -0800 8357 8358 XKeysymToString: move variable declarations to the scope of their usage 8359 8360 Makes it easier for readers to understand scope of variable usage, and 8361 clears up gcc warning: 8362 8363 KeysymStr.c: In function 'XKeysymToString': 8364 KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 8365 KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 8366 8367 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8368 8369commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 8370Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8371Date: Fri Feb 15 23:34:40 2013 -0800 8372 8373 Preserve constness in casting arguments through the Data*() routines 8374 8375 Casts were annoying gcc by dropping constness when changing types, 8376 when routines simply either copy data into the request buffer or 8377 send it directly to the X server, and never modify the input. 8378 8379 Fixes gcc warnings including: 8380 ChProp.c: In function 'XChangeProperty': 8381 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8382 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8383 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8384 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8385 ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8386 SetHints.c: In function 'XSetStandardProperties': 8387 SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8388 SetPntMap.c: In function 'XSetPointerMapping': 8389 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8390 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8391 StBytes.c: In function 'XStoreBuffer': 8392 StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8393 StName.c: In function 'XStoreName': 8394 StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8395 StName.c: In function 'XSetIconName': 8396 StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8397 8398 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8399 8400commit 6c558ee357292dd9dfc6d9006f4525f625327c52 8401Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8402Date: Fri Feb 15 22:58:54 2013 -0800 8403 8404 Fix comment typo & confusing indentation levels in Data() macro definition 8405 8406 The final } matches the one on the #define line, not one that doesn't 8407 appear after the else statement it was lined up with 8408 8409 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8410 8411commit afd6593da90e51234d59f8921c411317f91ab48b 8412Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8413Date: Fri Feb 15 23:25:38 2013 -0800 8414 8415 XStringToKeysym: preserve constness when casting off unsignedness for strcmp 8416 8417 Fixes gcc warning: 8418 StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8419 8420 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8421 8422commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 8423Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8424Date: Fri Feb 15 23:14:40 2013 -0800 8425 8426 XRebindKeysym: Drop unnecessary const-removing cast 8427 8428 C89 defines memcpy as taking a const void *, so casting from 8429 const unsigned char * to char * simply angers gcc for no benefit: 8430 8431 KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8432 8433 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8434 8435commit 54527eab93d46055cf11eb6c18abb353a03ae544 8436Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8437Date: Fri Feb 15 22:45:19 2013 -0800 8438 8439 cmsColNm.c: maintain constness of arguments to qsort helper function 8440 8441 Fixes gcc warning: 8442 8443 cmsColNm.c: In function 'FirstCmp': 8444 cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8445 cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 8446 8447 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8448 8449commit deedeada53676ee529d700bf96fde0b29a3a1def 8450Author: Nickolai Zeldovich <nickolai@csail.mit.edu> 8451Date: Tue Jan 22 10:03:00 2013 -0500 8452 8453 XListFontsWithInfo: avoid accessing realloc'ed memory 8454 8455 If exactly one of the two reallocs in XListFontsWithInfo() fails, the 8456 subsequent code accesses memory freed by the other realloc. 8457 8458 Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 8459 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8460 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8461 8462commit f57fd760cba92ad846917f21e94e73e9c846185f 8463Author: Colin Walters <walters@verbum.org> 8464Date: Wed Jan 4 17:37:06 2012 -0500 8465 8466 autogen.sh: Implement GNOME Build API 8467 8468 http://people.gnome.org/~walters/docs/build-api.txt 8469 8470 Signed-off-by: Adam Jackson <ajax@redhat.com> 8471 8472commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 8473Author: Adam Jackson <ajax@redhat.com> 8474Date: Tue Jan 15 14:28:48 2013 -0500 8475 8476 configure: Remove AM_MAINTAINER_MODE 8477 8478 Signed-off-by: Adam Jackson <ajax@redhat.com> 8479 8480commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 8481Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8482Date: Wed Dec 26 22:57:39 2012 -0800 8483 8484 Remove unused DECnet ("DNETCONN") code from Xlib 8485 8486 Has never been converted to build in modular builds, so has been unusable 8487 since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 8488 back in 2008. 8489 8490 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8491 8492commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 8493Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8494Date: Wed Dec 26 22:56:38 2012 -0800 8495 8496 Remove unused TLI ("STREAMSCONN") code from Xlib 8497 8498 Has never been converted to build in modular builds, so has been unusable 8499 since X11R7.0 release in 2005. All known platforms with TLI/XTI support 8500 that X11R7 & later releases run on also have (and mostly prefer) BSD 8501 socket support for their networking API. 8502 8503 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8504 8505commit 59c9ee8cd58857c5769b643611cbe526005a9e45 8506Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8507Date: Sun Dec 16 17:44:42 2012 -0800 8508 8509 Tell clang not to report -Wpadded warnings on public headers we can't fix 8510 8511 Better to silence the compiler warning than break ABI. 8512 8513 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8514 8515commit 0b148750027fd0557c5ed93afda861ddf4b92e0f 8516Author: Jon TURNEY <jon.turney@dronecode.org.uk> 8517Date: Mon Nov 12 17:27:52 2012 +0000 8518 8519 Fix config check for loadable modules 8520 8521 The config check of the results of testing for dlfcn.h or dl.h just tests the 8522 value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 8523 it is 'yes', so loadable module support would always be detected. 8524 8525 This is necessary for successful compilation for the MinGW target without the 8526 optional dlfcn-win32 library. 8527 8528 v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 8529 correctly when dlfcn.h is available 8530 8531 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 8532 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 8533 8534commit cd25cab4b5b957641183ce72dd1ae0424aff1663 8535Author: Egbert Eich <eich@freedesktop.org> 8536Date: Fri May 20 18:27:02 2011 +0200 8537 8538 Install Xcms.txt in $(datadir) rather than $(libdir). 8539 8540 This file is an architecture independent data and should be where 8541 other databases are. 8542 This is the Xlib provided sample file, applications are free to 8543 use a different one specifying its location in the XCMSDB env 8544 variable. 8545 8546 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8547 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8548 8549commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 8550Author: Egbert Eich <eich@freedesktop.org> 8551Date: Fri May 20 18:25:24 2011 +0200 8552 8553 Don't hard code path to Xcms.txt file. 8554 8555 The path to this file is configurable at build time. The source 8556 however contains a hard coded path. 8557 8558 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8559 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8560 8561commit 9833489e6c3829a1e835bc0a11f028fc180809e4 8562Author: Colin Walters <walters@verbum.org> 8563Date: Fri Dec 7 08:51:21 2012 -0500 8564 8565 Fix build after dropping locales 8566 8567 They also needed to be removed from configure.ac 8568 8569 Signed-off-by: Colin Walters <walters@verbum.org> 8570 Signed-off-by: Julien Cristau <jcristau@debian.org> 8571 8572commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 8573Author: Egbert Eich <eich@freedesktop.org> 8574Date: Fri May 20 13:04:11 2011 +0200 8575 8576 i18n: Uppercased all occurances if 'iso8859' in the full locale name. 8577 8578 Making all occurances of iso8859 upper case in the full local name 8579 makes the alias entries more consistent and match the entries on 8580 locale.dir. 8581 8582 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8583 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8584 8585commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 8586Author: Egbert Eich <eich@freedesktop.org> 8587Date: Fri May 20 17:55:49 2011 +0200 8588 8589 i18n: Remove ja.S90 and ja.U90 locales. 8590 8591 Both locales carry a copyright notice and a prorietary statement: 8592 8593 Copyright 1995 by FUJITSU LIMITED 8594 This is source code modified by FUJITSU LIMITED under the Joint 8595 Development Agreement for the CDEnext PST. 8596 This is unpublished proprietary source code of FUJITSU LIMITED 8597 8598 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8599 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8600 8601commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 8602Author: Egbert Eich <eich@freedesktop.org> 8603Date: Fri May 20 16:46:15 2011 +0200 8604 8605 i18n: Bring locale.dir and compose.dir in sync. 8606 8607 Some entries for locale/encoding combinations were missing from 8608 either file or just misspelled, some entries were wrong or just 8609 aliases. 8610 8611 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8612 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8613 8614commit d1e6baa4e290b758e430077cb74e7c03ad850771 8615Author: Egbert Eich <eich@freedesktop.org> 8616Date: Fri May 20 14:02:39 2011 +0200 8617 8618 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 8619 8620 locale.alias contains a comment: 8621 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 8622 Thus lets treat 'a3' as an alias for 'az'. 8623 8624 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8625 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8626 Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 8627 8628commit fa2aab0bea18efa26a56977d3166277582ab7b07 8629Author: Egbert Eich <eich@freedesktop.org> 8630Date: Fri May 20 13:09:38 2011 +0200 8631 8632 i18n: Fixed typos in full locale names. 8633 8634 Fixing those typos those names actually match entries in 8635 locale.dir. 8636 8637 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8638 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8639 8640commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 8641Author: Egbert Eich <eich@freedesktop.org> 8642Date: Sat May 21 07:29:38 2011 +0200 8643 8644 i18n: Remove duplicates and aliases to oneself. 8645 8646 Aliases to itself don't make much sense. 8647 This changes occurances of: 8648 xy_UV.UTF-8: xy_UV.UTF-8 8649 to 8650 xy_UV: xy_UV.UTF-8 8651 where applicable. 8652 8653 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8654 Reviewed-by: James Cloos <cloos@jhcloos.com> 8655 8656commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 8657Author: Jens Herden <jens.herden@email.de> 8658Date: Fri May 20 17:29:03 2011 +0200 8659 8660 i18n: Add support for Khmer locale and compose table. 8661 8662 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8663 Reviewed-by: James Cloos <cloos@jhcloos.com> 8664 8665commit 40761898692e5063957bfa2518cca3d35b2e354a 8666Author: Kalman Kemenczy <kkemenczy@novell.com> 8667Date: Fri May 20 17:03:24 2011 +0200 8668 8669 i18n: Add support for Serbian specific compose table entries. 8670 8671 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8672 Reviewed-by: James Cloos <cloos@jhcloos.com> 8673 8674commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 8675Author: Egbert Eich <eich@freedesktop.org> 8676Date: Fri May 20 14:00:35 2011 +0200 8677 8678 i18n: Adding and removing comments. 8679 8680 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8681 Reviewed-by: James Cloos <cloos@jhcloos.com> 8682 8683commit 7754d68976106183751243c2c35a84134be17b34 8684Author: Egbert Eich <eich@freedesktop.org> 8685Date: Fri May 20 13:45:31 2011 +0200 8686 8687 i18n: Add missing locales which existed in locale.alias. 8688 8689 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8690 Reviewed-by: James Cloos <cloos@jhcloos.com> 8691 8692commit 952eccd0d25ba66023acfd31873eee2e71c38c42 8693Author: Egbert Eich <eich@freedesktop.org> 8694Date: Fri May 20 10:57:57 2011 +0200 8695 8696 i18n: Consolidate compose handling for locales with UTF-8 encoding. 8697 8698 - add an entry to include the default en_US compose file 8699 for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 8700 - add missing entries for zh_CN. and zh_HK and am_ET. 8701 - change entries for the UTF-8 encoding for ru_RU, ja_JP, 8702 ko_KR, th_TH and zh_TW to point to their native directory 8703 entries. 8704 8705 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8706 Reviewed-by: James Cloos <cloos@jhcloos.com> 8707 8708commit d14b6a250f004fa405179db7020f6953001d17b9 8709Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 8710Date: Mon Oct 22 13:54:11 2012 -0500 8711 8712 XIM: remove Private and Public macros 8713 8714 Private is a struct member name in mingw-w64 <winioctl.h>, causing this 8715 useless define in a private header to break the build. 8716 8717 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 8718 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 8719 8720commit f2a8def423a46d52e834cf7ea49fa0079427663a 8721Author: Adam Jackson <ajax@redhat.com> 8722Date: Wed Oct 17 14:40:43 2012 -0400 8723 8724 XErrorDB: Add GLXBadProfileARB 8725 8726 Signed-off-by: Adam Jackson <ajax@redhat.com> 8727 8728commit d45b3fc19fbe95c41afc4e51d768df6d42332010 8729Author: Ross Burton <ross.burton@intel.com> 8730Date: Wed Sep 12 14:39:40 2012 +0100 8731 8732 Allow overriding location of keysymdef.h 8733 8734 Currently keysymdef.h is found by using the includedir of xproto. This doesn't 8735 work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 8736 not a path into the cross-build environment. 8737 8738 So, add an option to allow explicitly specifying the location of keysymdef.h, 8739 and verify that the specified or found path exists. 8740 8741 (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 8742 8743 Signed-off-by: Ross Burton <ross.burton@intel.com> 8744 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 8745 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 8746 8747commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 8748Author: Eric S. Raymond <esr@thyrsus.com> 8749Date: Thu Aug 23 19:15:07 2012 -0400 8750 8751 Renove some unnecessary low-level markup. 8752 8753 Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 8754 This appears to have been somebody's thinko, it's only in a few of the files. 8755 8756 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 8757 8758commit b686600ab5ca93b5750f827786e79c329ab2db4d 8759Author: Eric S. Raymond <esr@thyrsus.com> 8760Date: Thu Aug 23 10:53:33 2012 -0400 8761 8762 The .NT/.NE macro pair is no longer used. Remove it. 8763 8764 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 8765 8766commit b83f2898528c5dd683acd2a2143879a760a8dad5 8767Author: Eric S. Raymond <esr@thyrsus.com> 8768Date: Thu Aug 23 10:42:46 2012 -0400 8769 8770 Remove the one and only use of the .NT/.NE pair. 8771 8772 The problem with these macros is that they rely on being able to 8773 center the note label. That doesn't play well with modern HTML, 8774 not anyway without coomplications like CSS. This use was just a cute 8775 trick, not adding enough value to be kept. 8776 8777commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 8778Author: Eric S. Raymond <esr@thyrsus.com> 8779Date: Thu Aug 23 10:23:45 2012 -0400 8780 8781 The .C{ and .C} macros are never used. Remove them. 8782 8783 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 8784 8785commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 8786Author: Eric S. Raymond <esr@thyrsus.com> 8787Date: Thu Aug 23 10:08:08 2012 -0400 8788 8789 The .FN macro, paired with .FD, is also never used. Remove it. 8790 8791 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 8792 8793commit cac6572701c976542da562b2b277b07ffb892a6f 8794Author: Eric S. Raymond <esr@thyrsus.com> 8795Date: Thu Aug 23 10:03:00 2012 -0400 8796 8797 The ".FD" macro is never used. Remove it. 8798 8799 It was a temptation to presentation-level klugery and is best gone. 8800 8801 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 8802 8803commit 6e27a828f39f7028bc7f4a8736e7262fca250632 8804Author: Eric S. Raymond <esr@thyrsus.com> 8805Date: Thu Aug 23 09:54:25 2012 -0400 8806 8807 Clean up, my last commit missed four cases. 8808 8809 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 8810 8811commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 8812Author: Eric S. Raymond <esr@thyrsus.com> 8813Date: Thu Aug 23 08:24:17 2012 -0400 8814 8815 Eliminate all uses of tab stops in the libX11 man pages. 8816 8817 Two steps: First, expand tabs to 8 spaces in code and structure 8818 listings. Second, make the .Ds used to wrap code listings switch to 8819 constant-width font (CW) rather than numeric font position 1, which 8820 maps to R on most systems. 8821 8822 It is possible some archaic systems won't know what CW is, but the 8823 only risk is that code listings won't look quite right on troff 8824 devices; the PostScript and DVI drivers definitely grok it, so those 8825 important cases are OK. 8826 8827 The purpose of these changes is to get rid of presentation-level 8828 markup so these pages will lift clean to DocBook. 8829 8830 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 8831 8832commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 8833Author: Will Thompson <will@willthompson.co.uk> 8834Date: Mon Jul 9 18:00:27 2012 +0100 8835 8836 Add compose sequences for "therefore" and "because". 8837 8838 These sequences look sensible to me. I added them to the APL-related 8839 section of Mathematical Operators—they're in that section of Unicode 8840 anyway. 8841 8842 https://bugs.freedesktop.org/show_bug.cgi?id=51922 8843 8844 Signed-off-by: Will Thompson <will@willthompson.co.uk> 8845 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 8846 8847commit 65358ea5079236b2508f787ac2fb2024a477e36d 8848Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8849Date: Fri Jun 29 23:08:04 2012 -0700 8850 8851 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 8852 8853 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8854 8855commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 8856Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8857Date: Fri Jun 29 22:57:13 2012 -0700 8858 8859 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 8860 8861 Fixes leaks in error paths found by Parfait 1.0.0: 8862 8863 Error: X Resource Leak 8864 Leaked X Resource pix 8865 at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 8866 pix initialized at line 60 with XCreatePixmap 8867 Error: X Resource Leak 8868 Leaked X Resource pix 8869 at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 8870 pix initialized at line 66 with XCreatePixmap 8871 8872 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8873 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 8874 8875commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 8876Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8877Date: Wed Jun 6 13:31:16 2012 -0700 8878 8879 libX11 spec: Correct prototype for XConvertSelection 8880 8881 selection & target parameters were accidentally run together 8882 8883 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8884 8885commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 8886Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8887Date: Fri Jun 1 23:37:09 2012 -0700 8888 8889 libX11 1.5.0 8890 8891 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8892 8893commit 05c587ec3be880721131a17c1dd4366e458fdd8b 8894Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8895Date: Sat May 26 14:37:28 2012 -0700 8896 8897 libX11 1.4.99.902 (1.5 RC2) 8898 8899 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8900 8901commit d817834d9772e3500d5102e2eae868b04a33c31f 8902Author: Pander <pander@users.sourceforge.net> 8903Date: Sat May 5 19:02:10 2012 +0200 8904 8905 Compose: Reassigned squences with minus and a or o 8906 8907 Reassigned squences with minus and a or o (vice versa and lower and 8908 upper case) to conform existing series and not resulting in tilde. 8909 Also added noe missing underscore sequence. 8910 8911 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8912 8913commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 8914Author: Pander <pander@users.sourceforge.net> 8915Date: Sat May 5 16:56:05 2012 +0200 8916 8917 Compose: Removed <slash> <U> and vice versa 8918 8919 Combination with lower case u suffices 8920 8921 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8922 8923commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 8924Author: Pander <pander@users.sourceforge.net> 8925Date: Sat May 5 16:44:31 2012 +0200 8926 8927 Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 8928 8929 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8930 8931commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 8932Author: Pander <pander@users.sourceforge.net> 8933Date: Sat May 5 16:40:20 2012 +0200 8934 8935 Compose: Removed <S> in combination with a numeral for superscript 8936 8937 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8938 8939commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 8940Author: Pander <pander@users.sourceforge.net> 8941Date: Sat May 5 16:28:01 2012 +0200 8942 8943 Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 8944 8945 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8946 8947commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 8948Author: James Cloos <cloos@jhcloos.com> 8949Date: Thu May 10 12:27:28 2012 -0400 8950 8951 Remove duplicate compose sequences from commit e51e37c118ae. 8952 8953 The compose-check script only handles compiled Compose files, not 8954 the Compose.pre files. One must remember to use: 8955 8956 ./autogen.sh; make; make check 8957 8958 when reviewing patches to the Compose.pre files.... 8959 8960 Signed-off-by: James Cloos <cloos@jhcloos.com> 8961 8962commit e51e37c118ae6cb9ced8244ce1c410677e0279ce 8963Author: Geoff Streeter <geoff@dyalog.com> 8964Date: Thu Mar 22 15:02:00 2012 +0000 8965 8966 Add APL support to compose 8967 8968 Signed-off-by: Geoff Streeter <geoff@dyalog.com> 8969 Signed-off-by: James Cloos <cloos@jhcloos.com> 8970 8971commit dac90324cee224df977a428afe80d960dceca769 8972Author: Julien Cristau <jcristau@debian.org> 8973Date: Sat May 5 16:05:07 2012 +0200 8974 8975 configure: make previous change work with older autoconf 8976 8977 autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 8978 the tests separately. 8979 8980 Reported-by: Dave Airlie 8981 Signed-off-by: Julien Cristau <jcristau@debian.org> 8982 8983commit f5b50af4324186962e258ffe9be78d5ee4681982 8984Author: Julien Cristau <jcristau@debian.org> 8985Date: Sun Apr 29 16:43:09 2012 +0200 8986 8987 configure: check if issetugid is declared 8988 8989 GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 8990 declare it anywhere, causing gcc to error out with 8991 -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 8992 AC_CHECK_FUNC so we disable this code instead of failing to build it. 8993 8994 Debian bug#669670 <http://bugs.debian.org/669670> 8995 8996 Signed-off-by: Julien Cristau <jcristau@debian.org> 8997 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8998 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8999 9000commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 9001Author: Peter Hutterer <peter.hutterer@who-t.net> 9002Date: Mon Apr 30 16:36:47 2012 +1000 9003 9004 Typo fix 9005 9006 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9007 9008commit b64969f0e510d5d3300cf968741a3726a6409577 9009Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9010Date: Tue Apr 17 18:12:02 2012 -0700 9011 9012 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 9013 9014 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9015 9016commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 9017Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9018Date: Tue Apr 17 18:01:36 2012 -0700 9019 9020 Add olinks from libX11 & localedb specs to ICCCM spec 9021 9022 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9023 9024commit b3c1b8cdab7d14220426c9b997ac362dc16318fc 9025Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9026Date: Tue Apr 17 17:49:44 2012 -0700 9027 9028 Add olinks from libX11 spec to ICCCM spec 9029 9030 Also convert ICCCM title mentions from <emphasis> to <citetitle> 9031 9032 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9033 9034commit ebebb65e753007ad01966dccc90bd6ca9a826488 9035Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9036Date: Sat Apr 14 23:40:01 2012 -0700 9037 9038 libX11 AppC: Fix section headers that didn't translate from nroff properly 9039 9040 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9041 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 9042 9043commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 9044Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9045Date: Sat Apr 14 23:13:05 2012 -0700 9046 9047 Add olinks from libX11 spec to x11protocol spec 9048 9049 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9050 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 9051 9052commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 9053Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9054Date: Sat Apr 14 22:28:53 2012 -0700 9055 9056 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 9057 9058 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9059 9060commit abc523fce31fcf2687229697a8eb656e343ecb0c 9061Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9062Date: Thu Mar 15 22:14:45 2012 -0700 9063 9064 libX11 1.4.99.901 (1.5 RC1) 9065 9066 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9067 9068commit b2cc5905a4a6d519957223e8ba2caef71520040c 9069Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9070Date: Thu Mar 15 22:03:21 2012 -0700 9071 9072 Remove "register" qualifier that annoys Solaris Studio compiler 9073 9074 Fixes warning: 9075 "Xrm.c", line 1094: warning: storage class after type is obsolescent 9076 9077 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9078 9079commit 62d42953893f93a98db0504eaf06d650ceaf5811 9080Author: James Cloos <cloos@jhcloos.com> 9081Date: Wed Mar 14 17:25:46 2012 -0400 9082 9083 Fix the gtk+ additions 9084 9085 (Some of) the Dstroke and dstroke entries already were present as U011[01], 9086 even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 9087 9088 The addition of <Multi_key> <o> <apostrophe> as a postfix version of 9089 <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 9090 That prevents its and <Multi_key> <O> <apostrophe>’s addition. 9091 9092 Signed-off-by: James Cloos <cloos@jhcloos.com> 9093 9094commit 91bcce48d94792f78333d2aea73961cc2e739d2e 9095Author: Pander <pander@users.sourceforge.net> 9096Date: Wed Mar 14 12:54:53 2012 -0400 9097 9098 Complete compose key sequences for musical symbols 9099 9100 Signed-off-by: Pander <pander@users.sourceforge.net> 9101 Signed-off-by: James Cloos <cloos@jhcloos.com> 9102 9103commit cf040016d455bc37f7665d6714337c5eafd8ea94 9104Author: Pander <pander@users.sourceforge.net> 9105Date: Wed Mar 14 12:46:25 2012 -0400 9106 9107 Add compose sequences from gtk+ to X.Org 9108 9109 Signed-off-by: Pander <pander@users.sourceforge.net> 9110 Signed-off-by: James Cloos <cloos@jhcloos.com> 9111 9112commit a4c591ced5cac9301b9abfa0e521be2d0b267882 9113Author: Keith Packard <keithp@keithp.com> 9114Date: Sun Mar 4 02:00:13 2012 -0800 9115 9116 Block for other threads in _XUserLockDisplay 9117 9118 Wait for all other threads to release the user-level lock when 9119 acquiring it. This ensures that only one thread at a time holds the 9120 user-level lock, necessary as it is a nesting lock and a single 9121 variable is used to determine when the lock is nesting and when it is 9122 contended. 9123 9124 Signed-off-by: Keith Packard <keithp@keithp.com> 9125 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9126 9127commit ed00b460acb08787b695f27b864e96102dfd4867 9128Author: Jon TURNEY <jon.turney@dronecode.org.uk> 9129Date: Fri Oct 28 11:09:20 2011 -0500 9130 9131 Don't use caddr_t casts 9132 9133 (caddr_t) isn't used anywhere else in xcb or libX11. 9134 Cast to (char *) for consistency. 9135 9136 Removing this cast allows building for MinGW without patching. 9137 9138 v2: Cast to (char *) rather than just dropping the cast 9139 9140 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 9141 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9142 9143commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 9144Author: Julien Cristau <jcristau@debian.org> 9145Date: Sun Feb 19 13:27:38 2012 +0100 9146 9147 Revert "xcb: Add TCP fallback" 9148 9149 This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 9150 9151 The TCP fallback ended up falling back to UNIX socket connection if 9152 $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 9153 9154 Debian bug#659558 <http://bugs.debian.org/659558> 9155 9156 Signed-off-by: Julien Cristau <jcristau@debian.org> 9157 9158 Conflicts: 9159 9160 src/OpenDis.c 9161 9162commit f4378193619baa9bb973c1b5b718721bbcbe92c7 9163Author: James Cloos <cloos@jhcloos.com> 9164Date: Wed Feb 22 14:13:20 2012 -0500 9165 9166 Make the compose sequence for ẞ work. 9167 9168 There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 9169 so use the U1e9e symbol in the Compose sequence. 9170 9171 (Compose sequences do not work when the target symbol is unknown.) 9172 9173 Signed-off-by: James Cloos <cloos@jhcloos.com> 9174 9175commit 2ca641c3a506dcbee97e279b67990d5387389f36 9176Author: Marko Myllynen <myllynen@redhat.com> 9177Date: Mon Feb 20 17:04:59 2012 +0200 9178 9179 Use ezh/EZH in compose maps 9180 9181 Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 9182 9183 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 9184 Reviewed-by: Matt Dew <marcoz@osource.org> 9185 Signed-off-by: James Cloos <cloos@jhcloos.com> 9186 9187commit 61725822f20f47684a545c1797183ee7075243ac 9188Author: Marko Myllynen <myllynen@redhat.com> 9189Date: Sun Feb 20 17:09:43 2011 +0200 9190 9191 Provide translation from XK_permille (ad5) to Unicode (U2030) 9192 9193 https://bugs.freedesktop.org/show_bug.cgi?id=19687 9194 9195 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 9196 Reviewed-by: Matt Dew <marcoz@osource.org> 9197 Signed-off-by: James Cloos <cloos@jhcloos.com> 9198 9199commit d2cce0abba0fa0143f49026442c8cab5ed721625 9200Author: Jeremy Huddleston <jeremyhu@apple.com> 9201Date: Sun Feb 12 19:01:43 2012 -0800 9202 9203 nls: Use LC_CTYPE=C for sed magic 9204 9205 Stricter versions of sed can trip up if the input does not match 9206 LC_CTYPE 9207 9208 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9209 9210commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 9211Author: Frédéric Boiteux <fboiteux@calistel.com> 9212Date: Wed Nov 30 12:47:31 2011 +0000 9213 9214 Compositions with the dead greek symbol 9215 9216 FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 9217 9218 Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 9219 Signed-off-by: James Cloos <cloos@jhcloos.com> 9220 9221commit d58e8f8e27790017fcfdeca0843b7318d541c189 9222Author: Ryan Pavlik <rpavlik@iastate.edu> 9223Date: Sun Jan 1 21:04:52 2012 +0000 9224 9225 Use pthreads on MinGW also 9226 9227 Use pthreads (provided by the pthreads-win32 compatability library which implements 9228 them using native Win32 threading) on MinGW 9229 9230 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 9231 9232commit bf15ccb6821664746ec23d769d757edf8059007e 9233Author: Ryan Pavlik <rpavlik@iastate.edu> 9234Date: Mon Jan 23 14:18:02 2012 +0000 9235 9236 Add XWindows.h include to Xxcbint.h 9237 9238 This avoids some conflicting type re-definition errors which occur if 9239 we attempt to include Windows headers after Xmd.h 9240 9241 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 9242 9243commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 9244Author: Matt Dew <marcoz@osource.org> 9245Date: Sat Jan 21 17:59:51 2012 -0700 9246 9247 informaltable & table cleanup 9248 9249 On certain tables, add top and bottom borders to table header 9250 and a bottom border to the table. This matches what those 9251 tables in the old pdfs looked like. 9252 9253 the <?dbfo keep-together='always'> prevents tables from 9254 splitting across pages. Useful for tiny tables. 9255 9256 Converting the colwidth to a floating point, IE, 1* -> 1.0* 9257 cleans up these build errors: 9258 WARNING: table-layout="fixed" and column-width unspecified => 9259 falling back to proportional-column-width(1) 9260 9261 Signed-off-by: Matt Dew <marcoz@osource.org> 9262 9263commit bb551f654df8f647c867f79252241964521e689e 9264Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9265Date: Wed Dec 28 21:22:41 2011 -0800 9266 9267 Add more Xkb man pages to the See Also lists for core keyboard functions 9268 9269 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9270 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9271 9272commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 9273Author: Gaetan Nadon <nadon@memsize.(none)> 9274Date: Fri Dec 30 17:08:14 2011 -0500 9275 9276 docbook.am: embed css styles inside the HTML HEAD element 9277 9278 Rather than referring to the external xorg.css stylesheet, embed the content 9279 of the file in the html output produced. This is accomplished by using 9280 version 1.10 of xorg-xhtml.xsl. 9281 9282 This makes the whole html docs tree much more relocatable. 9283 In addition, it eliminates xorg.css as a runtime file which makes 9284 xorg-sgml-doctools a build time only package. 9285 9286 Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 9287 9288commit 70505468b7c4a7068cc39be42e421dcee34ec595 9289Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9290Date: Tue Dec 13 19:58:30 2011 -0800 9291 9292 makekeys: move buf declaration from global to main to silence gcc -Wshadow 9293 9294 The global was only referenced in the main() function, which passes it 9295 as an argument of the same name to the parse_line() function, leading 9296 to gcc -Wshadow warnings: 9297 9298 makekeys.c: In function ‘parse_line’: 9299 makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 9300 makekeys.c:54:13: warning: shadowed declaration is here 9301 9302 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9303 9304commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 9305Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 9306Date: Wed Dec 14 02:17:55 2011 -0500 9307 9308 XQueryColors: Split a request into multiple requests if necessary 9309 9310 https://bugs.freedesktop.org/show_bug.cgi?id=9160 9311 9312 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 9313 Signed-off-by: James Cloos <cloos@jhcloos.com> 9314 9315commit d3b3570592e9b9e57f270a0bd86762fd205a2833 9316Author: Andreas Wettstein <wettstein509@solnet.ch> 9317Date: Tue Nov 8 20:18:09 2011 +0000 9318 9319 XIM: Allow modifier releases in compose sequences (#26705) 9320 9321 Currently, only non-modifier keys (actually, keysyms) can be part of a compose 9322 sequence, and they are matched against the defined compose sequences at the 9323 time the key is pressed. The patch allows to use modifier keys an well, but 9324 matches them on key release, and only if no other key has been pressed after 9325 the modifier. 9326 9327 Releasing a non-matched modifier during an ongoing compose sequence only aborts 9328 the sequence if any modifier release would have matched. In particular, if no 9329 compose sequences with modifiers are specified, the compose mechanism works 9330 exactly as without this patch. 9331 9332 Even if modifiers are part of a compose sequence, they are not filtered. This 9333 is because modifiers affect the keyboard state no matter what we do here and, 9334 therefore, filtering them only could confuse clients. 9335 9336 The purpose is this extension to the compose mechanism is to allow to make 9337 better use of keys in convenient reach for touch typing. 9338 9339 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 9340 Signed-off-by: James Cloos <cloos@jhcloos.com> 9341 9342commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 9343Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9344Date: Tue Nov 29 23:56:57 2011 -0800 9345 9346 Reject negative string counts in copy_string_list 9347 9348 Silences parfait warning of a potential memory leak: 9349 Memory leak of pointer 'dst' allocated with malloc(length) 9350 at line 160 of FSWrap.c in function 'copy_string_list'. 9351 'dst' allocated at line 145 with malloc(length). 9352 dst leaks when count <= 0 at line 154. 9353 9354 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9355 9356commit bf2d7c8c6d70539c72560b1921e18df2610acf29 9357Author: Peter Hutterer <peter.hutterer@who-t.net> 9358Date: Fri Nov 11 14:56:36 2011 +1000 9359 9360 libX11 1.4.99.1 9361 9362 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9363 9364commit 24283d40b1e4314c6647dda49d2a159833341a8b 9365Author: Derek Buitenhuis <derek.buitenhuis@gmail.com> 9366Date: Thu Sep 22 18:44:13 2011 -0400 9367 9368 makekeys: Fix build/target word size mismatch when cross-compiling 9369 9370 Since makekeys is built using build environment's gcc and 9371 runs natively, we have to make sure that the size of the 9372 Signature type is the same on both the native environment 9373 and the target, otherwise we get mismatches upon running X, 9374 and some LSB test failures (xts5). 9375 9376 Use an unsigned 32-bit integer on all platforms. Also, 9377 eliminate the redundant multiple typedefs for the 9378 Signature type. 9379 9380 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 9381 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 9382 9383commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 9384Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9385Date: Wed Nov 9 21:00:36 2011 -0800 9386 9387 XlcSL.c: convert old-style function definitions to ANSI C89 style 9388 9389 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9390 9391commit f6dad6aaa384bf836baa28ccb72b476a85c40eff 9392Author: Peter Hutterer <peter.hutterer@who-t.net> 9393Date: Thu Oct 27 13:53:22 2011 +1000 9394 9395 Use GetReqSized for GetReq and GetReqExtra 9396 9397 GetEmptyReq and GetResReq cannot do this due to the final typecast - 9398 typically requests that need either of those do not have their own typedef 9399 in the protocol headers. 9400 9401 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9402 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9403 9404commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 9405Author: Peter Hutterer <peter.hutterer@who-t.net> 9406Date: Fri Oct 14 14:51:06 2011 +1000 9407 9408 include: Add GetReqSized() for request buffers of specific size 9409 9410 Some XI2 requests change in size over different versions and libXi would 9411 need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 9412 library can explicitly specify the size of the request in 4-byte units. 9413 9414 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9415 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9416 9417commit ba8a7a19165e30d14bc165f43f67c19b6a115585 9418Author: Peter Hutterer <peter.hutterer@who-t.net> 9419Date: Thu Oct 27 13:24:10 2011 +1000 9420 9421 Switch GetEmptyReq and GetResReq to call _XGetRequest 9422 9423 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9424 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9425 9426commit 4a060f993bf676cf21ad9784e010f54134da7b40 9427Author: Peter Hutterer <peter.hutterer@who-t.net> 9428Date: Mon Oct 17 09:45:15 2011 +1000 9429 9430 Add _XGetRequest as substitute for GetReq/GetReqExtra 9431 9432 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9433 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9434 9435commit d8956520deb79c1cbb5e974c175bf8493859b22b 9436Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9437Date: Fri Oct 14 17:53:00 2011 -0700 9438 9439 Fix "nomal" -> "normal" typo in several comments 9440 9441 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9442 9443commit 002b36e308a26a152504f9b40aa08a0dce9a7991 9444Author: Xue Wei <Wei.Xue@Sun.COM> 9445Date: Fri Oct 14 17:39:21 2011 -0700 9446 9447 mbtocs should not truncate input 9448 9449 Fixes pasting more than 1024 bytes into xterm, as described in 9450 https://bugs.freedesktop.org/show_bug.cgi?id=25209 9451 9452 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9453 9454commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 9455Author: Marko Myllynen <myllynen@redhat.com> 9456Date: Mon Oct 10 09:41:13 2011 +0300 9457 9458 Add new compose sequences 9459 9460 This patch adds few new compose sequences to the en_US map, ligatures 9461 common in typesetting and sequences already in use in the fi_FI map. 9462 9463 https://bugs.freedesktop.org/show_bug.cgi?id=30621 9464 https://bugs.freedesktop.org/show_bug.cgi?id=34523 9465 9466 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9467 9468commit 738f7b867341c1da87ee667d48815822715c3e75 9469Author: Choe Hwanjin <choe.hwanjin@gmail.com> 9470Date: Thu Oct 13 07:58:02 2011 +0900 9471 9472 XIM: Make Xim handle NEED_SYNC_REPLY flag 9473 9474 NEED_SYNC_REPLY flag should be in Xim not in Xic. 9475 Because the focused Xic can be changed before sending sync reply. 9476 After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 9477 flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 9478 9479 This patch adds sync reply flag to Xim and removes sync reply 9480 from Xic. 9481 9482 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 9483 9484 Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 9485 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9486 9487commit 50e15379331c436851abb194251cde96999e67b3 9488Author: Bodo Graumann <mail@bodograumann.de> 9489Date: Mon Oct 10 16:40:52 2011 +0200 9490 9491 libX11: Fixing modifier key range in Xutil.h (Bug #21910) 9492 9493 IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 9494 which keys are regarded as modifiers. The constants ISO_Level5_Shift, 9495 ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 9496 some Neo2 modifiers functionless in combination with compose. 9497 This patch adjusts the range to include the correct, full range of 9498 modifier constants. 9499 9500 Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 9501 9502 X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 9503 9504 Signed-off-by: Bodo Graumann <mail@bodograumann.de> 9505 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 9506 9507commit b5a108624331fabf393223c0891914cc54d4caf4 9508Author: Yann Droneaud <yann@droneaud.fr> 9509Date: Tue Oct 11 17:27:59 2011 +0200 9510 9511 Return name instead of False in XSetICValues() 9512 9513 In case of error, XSetICValues() must return the first argument 9514 that failed to be set. 9515 9516 But in some error paths, it returns False, which is converted to NULL, 9517 so the function returns OK in case of error. 9518 9519 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 9520 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9521 9522commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 9523Author: Yann Droneaud <yann@droneaud.fr> 9524Date: Sun Oct 9 17:56:45 2011 +0200 9525 9526 Return name instead of value in XGetIMValues() and XSetIMValues() 9527 9528 As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 9529 XGetIMValues() and XSetImValues() "returns the name of the first argument 9530 that could not be obtained." 9531 9532 But currently, 9533 9534 err = XGetIMValues(im, "invalid", &arg, NULL); 9535 9536 returns &arg instead of "invalid". 9537 9538 This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 9539 9540 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 9541 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9542 9543commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 9544Author: Jeremy Huddleston <jeremyhu@apple.com> 9545Date: Mon Oct 10 14:09:17 2011 -0700 9546 9547 Mark XKeycodeToKeysym as _X_DEPRECATED 9548 9549 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9550 9551commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 9552Author: Jeremy Huddleston <jeremyhu@apple.com> 9553Date: Sun Oct 9 02:38:28 2011 -0700 9554 9555 Fix nobreakspace for pt_BR.UTF-8 9556 9557 https://bugs.freedesktop.org/show_bug.cgi?id=31334 9558 9559 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9560 9561commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 9562Author: Jeremy Huddleston <jeremyhu@apple.com> 9563Date: Sun Oct 9 02:26:45 2011 -0700 9564 9565 Fix potential uninitialized variable access in _XimMakeICAttrIDList 9566 9567 Found by clang static analysis 9568 9569 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9570 9571commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 9572Author: Jeremy Huddleston <jeremyhu@apple.com> 9573Date: Sun Oct 9 02:25:50 2011 -0700 9574 9575 Remove self-resolving aliases 9576 9577 https://bugs.freedesktop.org/show_bug.cgi?id=30112 9578 9579 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9580 9581commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 9582Author: Matt Dew <marcoz@osource.org> 9583Date: Fri Oct 7 22:52:30 2011 -0600 9584 9585 Cleanup IDs and links in doc 9586 9587 1 - fix the capitalization of the ID attributes to match either the 9588 <title> or <funcdef> string it goes with. 9589 2 - fix any <linkend>'s that were affected by 1. 9590 3 - any <function> in the docs that has an actual funcdef, 9591 will become an olink. 9592 9593 Signed-off-by: Matt Dew <marcoz@osource.org> 9594 9595commit f858f3326adbc0c5711669b92a64a84a9083a055 9596Author: James Cloos <cloos@jhcloos.com> 9597Date: Tue Oct 4 17:11:11 2011 -0400 9598 9599 [nls] Fix typo/synco. 9600 9601 The iso8859-1 Compose table includes an optional section which uses 9602 Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 9603 to generate an @ (at) either was incorrectly copied from the Multi_key 9604 section or was not kept in sync with the Multi_key section. 9605 9606 Fixing this eliminates the warning from compose-check.pl: 9607 9608 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9609 ┃ Clash with existing sequence in iso8859-1/Compose.pre 9610 ┃ on line 661: Ctrl<T> <A> <A> 9611 ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 9612 ┃ line #480: Ctrl<T> <A> <A> : "@" at 9613 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9614 9615 Signed-off-by: James Cloos <cloos@jhcloos.com> 9616 9617commit 7f35f7efc23234b3f8529fee31a802c21846d9ab 9618Author: Jeremy Huddleston <jeremyhu@apple.com> 9619Date: Mon Sep 26 11:32:56 2011 -0700 9620 9621 Remove conflicting compose sequences for cent and colon 9622 9623 Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 9624 Found by tinderbox 9625 9626 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9627 9628commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 9629Author: Jeremy Huddleston <jeremyhu@apple.com> 9630Date: Sun Sep 25 16:29:17 2011 -0700 9631 9632 Add additional compose sequences for pound sterling, yen, and cent (mixed case) 9633 9634 https://bugs.freedesktop.org/show_bug.cgi?id=1013 9635 9636 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9637 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9638 9639commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 9640Author: Jeremy Huddleston <jeremyhu@apple.com> 9641Date: Sat Sep 24 16:44:04 2011 -0700 9642 9643 Use a configure check for seteuid 9644 9645 HP-UX doesn't have seteuid 9646 9647 https://bugs.freedesktop.org/show_bug.cgi?id=1497 9648 9649 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9650 9651commit 79594b4d66344f248eb4314ecb78eb81f632c3ab 9652Author: Gaetan Nadon <memsize@videotron.ca> 9653Date: Tue Sep 20 16:06:10 2011 -0400 9654 9655 localedb specs: use <copyright> for first holder of multi license 9656 9657 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9658 9659commit 154430268cf004b06920edde2f1812dc16d71fae 9660Author: Gaetan Nadon <memsize@videotron.ca> 9661Date: Tue Sep 20 16:01:52 2011 -0400 9662 9663 libX11 specs: use <copyright> for first holder of multi license 9664 9665 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9666 9667commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 9668Author: Tollef Fog Heen <tfheen@err.no> 9669Date: Tue Sep 20 13:07:37 2011 -0400 9670 9671 NLS: Add more vulgar fractions 9672 9673 Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 9674 9675 Signed-off-by: Tollef Fog Heen <tfheen@err.no> 9676 Signed-off-by: James Cloos <cloos@jhcloos.com> 9677 9678commit e37a6da814b5653be46000a9a76902729660a2e6 9679Author: Alexander Polakov <polachok@gmail.com> 9680Date: Sat Sep 17 20:54:58 2011 +0400 9681 9682 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 9683 9684 There is no XAllowAccess man page to see. 9685 9686 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9687 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9688 9689commit a23f3323f269b33a43d16dce01395cd28bc41b45 9690Author: Gaetan Nadon <memsize@videotron.ca> 9691Date: Mon Sep 19 15:27:44 2011 -0400 9692 9693 XKB: provide adequate quotes for the license text 9694 9695 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9696 9697commit a9c7a5cad91d968f5536ef8fc735036e921832a3 9698Author: Gaetan Nadon <memsize@videotron.ca> 9699Date: Mon Sep 19 15:18:53 2011 -0400 9700 9701 XIM: refactor the multi licensing legal text 9702 9703 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9704 9705commit c46f934ed89e7de79746a0387c9f998d91994ea6 9706Author: Gaetan Nadon <memsize@videotron.ca> 9707Date: Mon Sep 19 10:33:30 2011 -0400 9708 9709 xim trans: restore Fujitsu copyright legal text 9710 9711 Somehow lost during docbook conversion. text from x.org ftp R7.5. 9712 9713 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9714 9715commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 9716Author: Gaetan Nadon <memsize@videotron.ca> 9717Date: Mon Sep 19 10:11:46 2011 -0400 9718 9719 xtrans: restore X Consortium original legal text 9720 9721 Asking X Consortium permission to use The Open Group name makes no sense. 9722 Even more so in 1994 before X Window System was passed on to the Open Group. 9723 9724 Using original text from xorg-docs/general/License 9725 9726 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9727 9728commit 136a381585a4a9686c11bad1a6130837978e677f 9729Author: Gaetan Nadon <memsize@videotron.ca> 9730Date: Mon Sep 19 10:03:21 2011 -0400 9731 9732 Framework: restore X Consortium copyright 9733 9734 Somewhat dammaged during docbook conversion. 9735 Also restore pasrt of the original license text 9736 9737 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9738 9739commit 33f346878406762704a0c13cdc018111c666f3c1 9740Author: Gaetan Nadon <memsize@videotron.ca> 9741Date: Mon Sep 19 09:50:00 2011 -0400 9742 9743 localedb: restore X Consortium original legal text 9744 9745 Asking X Consortium permission to use The Open Group name makes no sense. 9746 Even more so in 1994 before X Window System was passed on to the Open Group. 9747 9748 Using original text from xorg-docs/general/License 9749 9750 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9751 9752commit e99c9338e413efca026210b9d830efb5c74d34e5 9753Author: Gaetan Nadon <memsize@videotron.ca> 9754Date: Mon Sep 19 08:23:18 2011 -0400 9755 9756 specs: support multi licensed copyright notice and license text 9757 9758 For documentation having multiple licenses, the copyright and legalnotice 9759 elements sequence cannot instantiated multiple times. 9760 The copyright notice and license text are therefore coded inside a 9761 legalnotice element. The role attribute on the paragraph is used to allow 9762 styling of the copyright notice text which should not be italicized. 9763 9764 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9765 9766commit b9dedc757e667333ce899115d618f25cdaa4dd5e 9767Author: Gaetan Nadon <memsize@videotron.ca> 9768Date: Mon Sep 19 08:17:50 2011 -0400 9769 9770 localedb: add release info to spec 9771 9772 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9773 9774commit 4519c89a87ddce01e599542737a27c26030fe4ff 9775Author: Gaetan Nadon <memsize@videotron.ca> 9776Date: Mon Sep 19 08:05:32 2011 -0400 9777 9778 specs: fix The Open Group license text 9779 9780 The warranty referred to the X Consortium 9781 9782 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9783 9784commit 08ac378423e7be72e340197ba5559a1a36f1783c 9785Author: Gaetan Nadon <memsize@videotron.ca> 9786Date: Mon Sep 19 08:03:39 2011 -0400 9787 9788 specs: The strandard name is still "X Consortium Standard" 9789 9790 This spec, and fsproto spec, are the only two docs with a different 9791 standard name. 9792 9793 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9794 9795commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 9796Author: Gaetan Nadon <memsize@videotron.ca> 9797Date: Sun Sep 18 13:22:34 2011 -0400 9798 9799 specs: support multi licensed copyright notice and license text 9800 9801 For documentation having multiple licenses, the copyright and legalnotice 9802 elements sequence cannot instantiated multiple times. 9803 The copyright notice and license text are therefore coded inside a legalnotice 9804 element. The role attribute on the paragraph is used to allow styling of the 9805 copyright notice text which should not be italicized. 9806 9807 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9808 9809commit 278ca8947c1dabb2b819527dca0fa6190c034f67 9810Author: Gaetan Nadon <memsize@videotron.ca> 9811Date: Fri Sep 16 11:45:56 2011 -0400 9812 9813 docs: merge copyright holder under the same copyright notice 9814 9815 As per the docbook markup dtd. 9816 9817 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9818 9819commit 7ff012bb433109a622ac122ade71669e842ebdcf 9820Author: Gaetan Nadon <memsize@videotron.ca> 9821Date: Fri Sep 16 10:09:57 2011 -0400 9822 9823 specs: handle multiple sets of copyright notice/license/warranty 9824 9825 Docbook groups all the <copyright> elements together and all the 9826 <legalnotice> elements together. 9827 9828 We cannot have a sequence: 9829 <copyright> <legalnotice> <copyright> <legalnotice> [...] 9830 9831 A workaround, which was done in some documents, is to put the copyright 9832 notice inside the legalnotice in plain text without the <copyright> element. 9833 A formal paragraph title is added here which makes the copyright notice bold, 9834 and makes it much easier to locate. 9835 9836 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9837 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9838 9839commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 9840Author: Gaetan Nadon <memsize@videotron.ca> 9841Date: Wed Sep 14 15:55:42 2011 -0400 9842 9843 specs: remove orphan affiliation. 9844 9845 Authors affiliation are correct. 9846 9847 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9848 9849commit 0cc02a6df65214560b7575e89cebee741d6d2469 9850Author: Gaetan Nadon <memsize@videotron.ca> 9851Date: Tue Sep 13 17:39:02 2011 -0400 9852 9853 specs: use appropriate markup for Copyright statements 9854 9855 Also move <releaseinfo> to match order of appearance 9856 9857 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9858 9859commit afe13e19ebf0fc4e3460644164433af016f0add7 9860Author: Gaetan Nadon <memsize@videotron.ca> 9861Date: Mon Sep 12 16:54:45 2011 -0400 9862 9863 docs: use the &fullrelvers; entity to set X11 release information 9864 9865 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9866 9867commit 22a2153282db13e9d94881022b8c979539841a2c 9868Author: Gaetan Nadon <memsize@videotron.ca> 9869Date: Sun Sep 11 19:49:53 2011 -0400 9870 9871 docs: remove <productnumber> which is not used by default 9872 9873 This element is not rendered by default on the title. A template 9874 customization is required to display it. 9875 X Window System does not have a product number. 9876 9877 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9878 9879commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 9880Author: Gaetan Nadon <memsize@videotron.ca> 9881Date: Sun Sep 11 17:40:21 2011 -0400 9882 9883 docs: use the &fullrelvers; entity to set X11 release information 9884 9885 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9886 9887commit a6b2992f50b571d612ea9ade631c432c3099bc12 9888Author: Gaetan Nadon <memsize@videotron.ca> 9889Date: Sun Sep 11 17:38:42 2011 -0400 9890 9891 docs: remove orphan <affiliation> 9892 9893 Somehow created during the conversion from roff. Unable to locate 9894 the author to which it belongs. 9895 9896 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9897 9898commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 9899Author: Gaetan Nadon <memsize@videotron.ca> 9900Date: Sun Sep 11 17:38:05 2011 -0400 9901 9902 docs: remove <productnumber> which is not used by default 9903 9904 This element is not rendered by default on the title. A template 9905 customization is required to display it. 9906 X Window System does not have a product number. 9907 9908 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9909 9910commit 7d5b718c1edbc43c54b7001be548e515a49540ea 9911Author: Gaetan Nadon <memsize@videotron.ca> 9912Date: Fri Sep 9 14:46:39 2011 -0400 9913 9914 docbook.am: embed css styles inside the HTML HEAD element 9915 9916 Rather than referring to the external xorg.css stylesheet, embed the content 9917 of the file in the html output produced. This is accomplished by using 9918 version 1.10 of xorg-xhtml.xsl. 9919 9920 This makes the whole html docs tree much more relocatable. 9921 In addition, it eliminates xorg.css as a runtime file which makes 9922 xorg-sgml-doctools a build time only package. 9923 9924 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9925 9926commit 24632d280491c465dfe208ef788815890892e326 9927Author: Gaetan Nadon <memsize@videotron.ca> 9928Date: Mon Sep 5 12:53:12 2011 -0400 9929 9930 compose: upgrade makefile to support olinking on chunked html 9931 9932 The essential differences over the regular docbook.am are: 9933 Adding root.filename parameter for naming of chapters html files. 9934 Using xhtml xmlto format and xorg-chunk.xsl stylesheet 9935 Set olink.base.uri for pdf but not for chunked html 9936 Olink is not applicable to ps and txt formats. 9937 9938 Html chapters are added to shelf_DATA as they are also installed. 9939 The xml is generated from a perl script and not distributed. 9940 9941 Requires version 1.10 of xorg-sgml-doctools. 9942 9943 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9944 9945commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 9946Author: Gaetan Nadon <memsize@videotron.ca> 9947Date: Wed Aug 31 19:46:20 2011 -0400 9948 9949 docbook.am: refactor common flags for xmlto and xsltproc 9950 9951 Maximize reuse and reduce risk of setting the wrong flag 9952 at the wrong place. 9953 9954 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9955 9956commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 9957Author: Gaetan Nadon <memsize@videotron.ca> 9958Date: Wed Aug 31 10:46:59 2011 -0400 9959 9960 docbook.am: add search path for local entities 9961 9962 Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 9963 A module may want to add entities that apply only to itself and 9964 not to all modules, like the xserver does. 9965 9966 This feature may or may not be used in this module, but all modules 9967 share a copy of docbook.am. 9968 9969 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9970 9971commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 9972Author: Gaetan Nadon <memsize@videotron.ca> 9973Date: Thu Aug 25 14:39:20 2011 -0400 9974 9975 docbook.am: explicitly list xmlto flags for each target 9976 9977 Normal evolution of make targets make it impractical to factor out 9978 common command flags for xmlto. 9979 9980 The targets now list each command option as its presence or absence 9981 needs to be justified. 9982 9983 xorg.ss is only needed by xmlto for html. 9984 masterdb is only needed by xmlto. 9985 img.src.path must not be used by html. 9986 xsltproc need to use customization layer xorg-*.xsl. 9987 txt format is not required to search masterdb. 9988 9989 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9990 9991commit d5b3605f3b0639452e892e9ff3afb18bb7442069 9992Author: Gaetan Nadon <memsize@videotron.ca> 9993Date: Thu Aug 25 13:12:49 2011 -0400 9994 9995 docbook.am: do not generate docs if docbook customization layer is missing 9996 9997 The stylesheets used to be only about style, fonts or colors. 9998 Complex features are now used like olink and chunked html which 9999 may cause a build break when stylesheets are missing or lead to hard 10000 to find problem. 10001 10002 Some modules may be built when stylesheets are present while others 10003 are built without. There is no requirement to build crippled docs. 10004 10005 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10006 10007commit 7f23c72c94d9d14122426b0d8c66054f1402769a 10008Author: Gaetan Nadon <memsize@videotron.ca> 10009Date: Fri Aug 5 14:33:32 2011 -0400 10010 10011 libX11 specs: review doclifter generated tables 10012 10013 Many tables had a questionnable layout and some had information dropped. 10014 Each table was cross-referenced with a pre-docbook version 10015 to ensure semantic integrity. 10016 10017 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10018 10019commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 10020Author: Gaetan Nadon <memsize@videotron.ca> 10021Date: Wed Jul 20 15:28:47 2011 -0400 10022 10023 credits.xml: remove toc from Acknowledgments 10024 10025 There should be no toc for a simple preface with only one 10026 Acknowledgments section. 10027 10028 Use <simplesect> markup rather than sect1. 10029 10030 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10031 10032commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 10033Author: Gaetan Nadon <memsize@videotron.ca> 10034Date: Thu Aug 4 19:59:37 2011 -0400 10035 10036 libX11 specs: move </para> above <varaiablelist> 10037 10038 Many, but not all, function synopsis have a paragraph that 10039 nests the variable list. The code was generated by doclifter 10040 and there is no apprent reasons as to why it was done this way. 10041 Found while investigating a spacing issue. 10042 10043 Before the patch: 10044 <para>Some blurb about the function 10045 <funcsynopsis> 10046 </funcsynopsis> 10047 <variablelist> 10048 </variablelist> 10049 </para> 10050 10051 After the patch: 10052 <para>Some blurb about the function</para> 10053 <funcsynopsis> 10054 </funcsynopsis> 10055 <variablelist> 10056 </variablelist> 10057 10058 There are no noticable differences when reading the doc 10059 other than than the removed few pixels of spacing between 10060 the function sysnopsis and the variable list block. 10061 10062 In some cases, there are no "blurb about the fucntion" 10063 and the empty paragraph is removed. 10064 10065 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10066 10067commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 10068Author: Gaetan Nadon <memsize@videotron.ca> 10069Date: Thu Jul 28 19:46:14 2011 -0400 10070 10071 compose specs: generate chunked html 10072 10073 For large 600 page documents such as this one, chunked html 10074 provide faster browser load time and better navigation. 10075 10076 Simply click on the locale of your choice in the toc and 10077 the browser loads just that one file. Being a DocBook, 10078 it benefits from all of the usual features and can be 10079 integrated with the rest of the documentation. 10080 10081 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10082 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10083 10084commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 10085Author: Gaetan Nadon <memsize@videotron.ca> 10086Date: Thu Jun 23 15:16:47 2011 -0400 10087 10088 specs: build compose keys tables in specs/i18n/compose 10089 10090 Build the tables article together with the rest of the specs. 10091 Make it transparent that the source in generated in nls. 10092 Reuse docbook.am and get all the features such as olink. 10093 10094 The docbook article file stem and id must be the same. The new name 10095 for the main article is libX11-keys. The new installation location 10096 is $docdir/libX11/i18n/compose. 10097 10098 The nls dir retains the role of generating the DocBook/XML source 10099 but does not build neither installs output formats or generated source. 10100 10101 The tables article now has to specify that each included locale 10102 section is a dependency. It did not matter before as they were web links. 10103 10104 The xorg-sgml-doctools masterdb shall be updated to include this new doc. 10105 Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 10106 10107 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10108 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10109 10110commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 10111Author: Gaetan Nadon <memsize@videotron.ca> 10112Date: Thu Jun 23 14:43:31 2011 -0400 10113 10114 nls: restructure charts as a single article with sections 10115 10116 Looks more like a real article with a toc rather than individual 10117 web pages. Looks nicer in pdf. 10118 10119 Each locale is a "section" rather than an "article". 10120 Using XInclude to aggregate xml source files gets you the toc for free. 10121 10122 The single document is over 600 pages while there were 62 separate 10123 documents previously. FOP version 1.0 is required to handle missing 10124 character like capital sharp s. 10125 10126 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10127 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10128 10129commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 10130Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10131Date: Thu Jul 28 19:32:40 2011 -0700 10132 10133 libX11 1.4.4 10134 10135 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10136 10137commit ab1f30231755d99ed123af6873b981834640f01d 10138Author: Matt Dew <marcoz@osource.org> 10139Date: Wed Jul 13 12:33:40 2011 -0600 10140 10141 Add id attributes to error codes to allow linking from other docs. 10142 10143 Signed-off-by: Matt Dew <marcoz@osource.org> 10144 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10145 Acked-by: Gaetan Nadon <memsize@videotron.ca> 10146 10147commit 5c831fef402914ccf2ec14005c25be48852f119b 10148Author: David Coppa <dcoppa@gmail.com> 10149Date: Tue Jul 12 10:05:47 2011 +0200 10150 10151 Fix libpthread linkage on OpenBSD. 10152 10153 OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 10154 10155 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 10156 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10157 10158commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 10159Author: Gaetan Nadon <memsize@videotron.ca> 10160Date: Wed Jun 22 20:46:26 2011 -0400 10161 10162 config: use XORG_WITH_PERL macro to replace custom program check 10163 10164 New in version util-macros 1.15, the macro does the usual checking 10165 for program path and provides an interface for makefile variables. 10166 10167 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10168 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10169 10170commit 47d99a324db9232029a22dd523e3bc3ed0936aca 10171Author: Gaetan Nadon <memsize@videotron.ca> 10172Date: Wed Jun 22 20:41:18 2011 -0400 10173 10174 config: update XORG_WITH_FOP macro usage 10175 10176 A new feature to test for a minimum version has been added. 10177 10178 The parameter position changed. Due to limited usage 10179 and requiring 1.15, it turns out to be backward compatible. 10180 10181 There is no functional change to how docs are build. 10182 10183 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10184 10185commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 10186Author: Gaetan Nadon <memsize@videotron.ca> 10187Date: Wed Jun 22 11:48:49 2011 -0400 10188 10189 Remove unused xmlrules.in in specs, now in /nls 10190 10191 The specs dir has been converted to docbook.am 10192 10193 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10194 10195commit 9992092609bd83a0db778e9a9ac1e879d445e637 10196Author: Gaetan Nadon <memsize@videotron.ca> 10197Date: Thu Mar 31 10:23:22 2011 -0400 10198 10199 nls: move xmlrules.in from specs to nls 10200 10201 It is no longer used in the specs dir. 10202 Remove html from CLEANFILES as it breaks. Make do not clean directories 10203 Remove SUFFIXES as pattern rules are used rather than suffix rules. 10204 10205 Other improvements are possible, the first priority is to move it out 10206 of the specs dir. 10207 10208 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 10209 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10210 10211commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 10212Author: Gaetan Nadon <memsize@videotron.ca> 10213Date: Sun Jun 5 16:27:36 2011 -0400 10214 10215 Install target dbs alongside generated documents 10216 10217 This matches a change in xorg-sgml-docs whereby the masterdb will look for 10218 the target dbs into the same location as the generated documents. 10219 10220 The target dbs are now installed alongside the generated documents. 10221 Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 10222 has the potential of installing outside the package prefix and cause 10223 distcheck to fail when user does not have write permission in this package. 10224 10225 Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 10226 10227commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 10228Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10229Date: Tue Jun 7 18:41:30 2011 -0700 10230 10231 specs/libX11: Turn appendix references into links 10232 10233 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10234 10235commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 10236Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10237Date: Tue Jun 7 18:37:41 2011 -0700 10238 10239 specs/libX11: Turn chapter references into links 10240 10241 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10242 10243commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 10244Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10245Date: Tue Jun 7 00:52:32 2011 -0700 10246 10247 specs/libX11: Turn many "see section ..." into links 10248 10249 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10250 10251commit 02d4c08dead2f266809b3f93ec72377783423ac7 10252Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10253Date: Sun Jun 5 22:50:37 2011 -0700 10254 10255 specs/libX11: Convert some header filenames to filename tags 10256 10257 perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 10258 10259 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10260 10261commit c51a011329afa6e5b9d2b285349c132683ecf9fb 10262Author: Matt Dew <marcoz@osource.org> 10263Date: Tue May 31 20:03:23 2011 -0600 10264 10265 Add id attributes to funcsynopsis to allow other docs to olink to them. 10266 10267 Signed-off-by: Matt Dew <marcoz@osource.org> 10268 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10269 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10270 10271commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 10272Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10273Date: Fri May 27 20:14:36 2011 -0700 10274 10275 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 10276 10277 https://bugs.freedesktop.org/show_bug.cgi?id=37624 10278 10279 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10280 10281commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 10282Author: Matt Dew <marcoz@osource.org> 10283Date: Sat May 21 00:23:06 2011 -0600 10284 10285 Add id's to functions, to make clickable links. 10286 10287 Signed-off-by: Matt Dew <marcoz@osource.org> 10288 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10289 10290commit 5c06bc594473f6ab234724cd90db32e7b57fe811 10291Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10292Date: Fri May 20 15:38:08 2011 -0700 10293 10294 libX11 spec: fix monospaced column alignment after deligaturization 10295 10296 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10297 10298commit ef0019c714c273cb9b4ad3eba52d0b905109826b 10299Author: James Cloos <cloos@jhcloos.com> 10300Date: Fri May 20 15:51:46 2011 -0400 10301 10302 Expand latin ligatures out to their NFKC equivalents. 10303 10304 Ligatures should be done by the typesetting system. 10305 Manuscripts should not bother with them. 10306 10307 Signed-off-by: James Cloos <cloos@jhcloos.com> 10308 Reviewed-by: Keith Packard <keithp@keithp.com> 10309 10310commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 10311Author: Daniel Stone <daniel@fooishbar.org> 10312Date: Thu May 12 16:21:50 2011 +0200 10313 10314 XCB: Add more friendly error messages for common asserts 10315 10316 This patch adds more friendly error messages for three common classes of 10317 assertion: 10318 - missed sequence numbers due to being griefed by another thread 10319 - unknown requests in queue due to being griefed by another thread 10320 - extensions dequeuing too much or too little reply data 10321 10322 It adds error messages offering advice (e.g. call XInitThreads() first) 10323 on stderr, but still generates actual assertions. Hopefully this means 10324 it's a little more Googleable and a little less frightening. 10325 10326 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 10327 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 10328 10329commit 159bf292477048b9a2f074735afc516f52c93d80 10330Author: Gaetan Nadon <memsize@videotron.ca> 10331Date: Thu May 19 20:22:11 2011 -0400 10332 10333 Remove misplaced hyphens in libX11 DocBook/XML #37364 10334 10335 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 10336 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 10337 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10338 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10339 10340commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 10341Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10342Date: Tue May 17 20:49:59 2011 -0700 10343 10344 Fix man page and comment references to use XFreeModifiermap (lowercase map) 10345 10346 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10347 10348commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 10349Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10350Date: Tue May 17 20:30:54 2011 -0700 10351 10352 XKB man pages: Fix coordinantes typo in multiple pages 10353 10354 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10355 10356commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 10357Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10358Date: Tue May 17 16:27:32 2011 -0700 10359 10360 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 10361 10362 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10363 10364commit ae39d82b01359b07dd1fe092d867f79ea95a5438 10365Author: Jeremy Huddleston <jeremyhu@apple.com> 10366Date: Sun May 8 09:08:07 2011 -0700 10367 10368 Silence clang static analysis warnings for SetReqLen 10369 10370 This provides a simplified version of the SetReqLen macro when using clang for 10371 static analysis. Prior to this change, we would see many Idempotent operation 10372 warnings inside this macro due to the common case of calling with arg2 and 10373 arg3 being the same variable. This has no effect on code produced during 10374 compilation, but it silences a number of false positives in static analysis. 10375 10376 XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 10377 SetReqLen(req, num_modifiers, num_modifiers); 10378 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10379 In file included from XIPassiveGrab.c:26: 10380 .../include/X11/Xlibint.h:580:8: note: instantiated from: 10381 n = badlen; \ 10382 ^ 10383 10384 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10385 10386commit 130af2bc02090ee2526adb2f9803fc07019b8f1f 10387Author: Jeremy Huddleston <jeremyhu@apple.com> 10388Date: Wed May 4 15:34:31 2011 -0700 10389 10390 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 10391 10392 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 10393 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 10394 ^~~~~~~ 10395 10396 Found-by: clang static analyzer 10397 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10398 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 10399 10400commit c987ef04bea345d5810e60cf6c53b747ddbe910e 10401Author: Jeremy Huddleston <jeremyhu@apple.com> 10402Date: Wed May 4 15:31:17 2011 -0700 10403 10404 Revert "XKB: Avoid a possible NULL dereference" 10405 10406 Sorry for the noise. I accidentally pushed and didn't mean to. =( 10407 10408 This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 10409 10410commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 10411Author: Jeremy Huddleston <jeremyhu@apple.com> 10412Date: Wed May 4 11:35:31 2011 -0700 10413 10414 Dead code removal 10415 10416 XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 10417 for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 10418 ~~~^~~~ 10419 XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 10420 pos= 0; 10421 ^ ~ 10422 10423 Found-by: clang static analyzer 10424 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10425 10426commit 4024091678ea07e0d898b798df9b29f3bf68eb08 10427Author: Jeremy Huddleston <jeremyhu@apple.com> 10428Date: Wed May 4 11:34:53 2011 -0700 10429 10430 XKB: Avoid a possible NULL dereference 10431 10432 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 10433 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 10434 ^~~~~~~ 10435 10436 Found-by: clang static analyzer 10437 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10438 10439commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 10440Author: Jeremy Huddleston <jeremyhu@apple.com> 10441Date: Wed May 4 11:21:41 2011 -0700 10442 10443 Annotate _XIOError as _X_NORETURN 10444 10445 Found-by: clang static analyzer 10446 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10447 10448commit d3d7896408b435ab42656398839ff4351a37724d 10449Author: Jeremy Huddleston <jeremyhu@apple.com> 10450Date: Tue May 3 09:32:53 2011 -0700 10451 10452 clang analyzer: Don't warn about Xmalloc(0) 10453 10454 This will prevent a number of false positives in where clang's 10455 static analysis reports about calls to malloc(0). 10456 10457 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10458 10459commit 393921cf2188b2b0713cc157effaf17d0abab783 10460Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10461Date: Thu Apr 21 16:21:04 2011 -0700 10462 10463 Delete special case code to append "/sparcv9" to i18n module path 10464 10465 Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 10466 Inconsistent with all other platforms, and a bit overcomplicated. 10467 10468 Should anyone need to continue using that path, simply build with 10469 a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 10470 10471 Fixes Solaris bug 7038737: 10472 sparcv9 Xlib looking in wrong path for i18n loadable modules 10473 10474 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10475 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10476 10477commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 10478Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10479Date: Thu Apr 14 13:47:12 2011 -0700 10480 10481 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 10482 10483 Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 10484 10485 https://bugs.freedesktop.org/show_bug.cgi?id=36244 10486 10487 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10488 10489commit b850adbdebcf500c659f85285d4d7374e15857f5 10490Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10491Date: Tue Apr 12 22:30:45 2011 -0700 10492 10493 Convert malloc(strlen()); strcpy() sets to strdup 10494 10495 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10496 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10497 10498commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 10499Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10500Date: Tue Apr 12 21:27:45 2011 -0700 10501 10502 Replace Xmalloc+bzero pairs with Xcalloc calls 10503 10504 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10505 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10506 10507commit ac1e2bff7121987fd768500a11d428d9fb9447c5 10508Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10509Date: Fri Mar 25 14:47:35 2011 +0200 10510 10511 om: Fix memory leaks on get_font_name error paths. 10512 10513 While at it, remove unneeded check for NULL before Xfree. 10514 10515 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10516 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10517 10518commit 7c362e275c93c92b4e68fe862e73ee36665de703 10519Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10520Date: Wed Mar 30 15:06:10 2011 +0300 10521 10522 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 10523 10524 pScreenData is replaced when building per visual intensity tables. If 10525 malloc failed the old value of pScreenData (stored also in 10526 pScreenDefaultData) was being leaked. Also, property_return wasn't 10527 free'd in that case. 10528 10529 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10530 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10531 10532commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 10533Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10534Date: Wed Mar 30 15:19:28 2011 +0300 10535 10536 xcms: Fix error on LINEAR_RGB_InitSCCData error path. 10537 10538 Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 10539 be accessed after being free'd. 10540 10541 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10542 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10543 10544commit d749948f9492fd9b61c74655a08e32c595e0e3a5 10545Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10546Date: Fri Mar 25 16:06:15 2011 +0200 10547 10548 om: Fix potential memory leak in init_om. 10549 10550 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10551 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10552 10553commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 10554Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10555Date: Thu Mar 24 20:40:41 2011 +0200 10556 10557 om: Fix memory leak on read_EncodingInfo error path. 10558 10559 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10560 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10561 10562commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 10563Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10564Date: Thu Mar 24 19:55:33 2011 +0200 10565 10566 Fix memory leaks on _XimCbDispatch error path. 10567 10568 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10569 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10570 10571commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 10572Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10573Date: Thu Mar 24 19:52:05 2011 +0200 10574 10575 Fix memory leak on _XimCommitRecv error path. 10576 10577 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10578 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10579 10580commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 10581Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10582Date: Thu Mar 24 19:48:44 2011 +0200 10583 10584 Fix memory leaks on _XimWriteCachedDefaultTree error paths. 10585 10586 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10587 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10588 10589commit e29be94edbb58b3b8dab545377a710d1f73b61e0 10590Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10591Date: Thu Mar 24 19:42:36 2011 +0200 10592 10593 Fix memory leaks on _XimGetAttributeID error paths. 10594 10595 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10596 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10597 10598commit d144a50512466766f55ce61e3884925334b08f0d 10599Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10600Date: Thu Mar 24 19:36:56 2011 +0200 10601 10602 Fix memory leaks on _XimProtoCreateIC error paths. 10603 10604 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10605 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10606 10607commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 10608Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10609Date: Thu Mar 24 16:24:29 2011 +0200 10610 10611 Fix leaks in _XimEncodingNegotiation error paths. 10612 10613 name_ptr and detail_ptr weren't free'd in some cases before returning 10614 False. 10615 10616 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10617 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10618 10619commit 396e5a452a59c1f121220ba72167b720a863b30f 10620Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10621Date: Thu Mar 24 14:17:44 2011 +0200 10622 10623 FSWrap: fix potential leak in copy_string_list 10624 10625 If list_count is 0, dst would be allocated and leaked. 10626 10627 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10628 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10629 10630commit 1a944260182bb552b954d69f6355c2760d4415df 10631Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10632Date: Wed Mar 23 14:36:22 2011 +0200 10633 10634 Fix memory leak with broken bitmap files in XReadBitmapFileData 10635 10636 Bitmap file data is read looping through the lines in the input file. If 10637 there is extra data after the bitmap, these lines will be processed and 10638 if this data represents another bitmap it will replace the one read 10639 before causing the memory allocated for bits to leak. 10640 10641 This changes the code to stop processing the file once a bitmap was 10642 read. 10643 10644 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10645 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10646 10647commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 10648Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10649Date: Tue Apr 12 20:50:42 2011 -0700 10650 10651 Fix "attrinute" typo in comments in ximcp 10652 10653 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10654 10655commit 7103b83a88edb9c93acfa68f3b556595b087baff 10656Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10657Date: Fri Apr 8 21:36:11 2011 -0700 10658 10659 Make doc install subdirectories more like the pre-docbook.am paths 10660 10661 Haven't restored the "specs" path in the install path, but have restored 10662 libX11 & i18n subdirectories in the path for better logical grouping. 10663 10664 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10665 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10666 10667commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 10668Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10669Date: Fri Apr 8 13:24:28 2011 -0700 10670 10671 Install xml versions of specs even if HAVE_XMLTO is false 10672 10673 Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 10674 from before docbook.am changes (commit e8c76407d2f6e3) 10675 10676 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10677 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10678 10679commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 10680Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10681Date: Tue Apr 5 13:29:04 2011 -0700 10682 10683 libX11 1.4.3 10684 10685 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10686 10687commit e8c76407d2f6e3b11babdb84426e43e780c859c3 10688Author: Gaetan Nadon <memsize@videotron.ca> 10689Date: Fri Feb 25 09:23:54 2011 -0500 10690 10691 Documentation: add Docbook external references support 10692 10693 When writing technical documentation, it is often necessary to cross 10694 reference to other information. When that other information is not in the 10695 current document, additional support is needed, namely <olink>. 10696 10697 A new feature with version 1.7 of xorg-sgml-doctools adds references to 10698 other documents within or outside this package. 10699 10700 This patch adds technical support for this feature but does not change 10701 the content of the documentation as seen by the end user. 10702 10703 Each book or article must generate a database containing the href 10704 of sections that can be referred to from another document. This database 10705 is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 10706 the value of DATAROOTDIR for xorg-sgml-doctools and for the package 10707 documentation is the same. This forms a virtual document tree. 10708 10709 This database is consulted by other documents while they are being generated 10710 in order to fulfill the missing information for linking. 10711 Refer to the xorg-sgml-doctools for further technical information. 10712 10713 Co-authored-by: Matt Dew <marcoz@osource.org> 10714 10715 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10716 10717commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 10718Author: Harshula Jayasuriya <harshula@gmail.com> 10719Date: Mon Mar 21 14:49:37 2011 +0000 10720 10721 Add #define XK_SINHALA 10722 10723 Add #define XK_SINHALA so that the Sinhala keysyms can be used by 10724 the lk xkb keymap. 10725 10726 Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 10727 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10728 10729commit db8b20b789112717ac0590b40f0b4dc2171797d0 10730Author: Jeremy Huddleston <jeremyhu@apple.com> 10731Date: Thu Mar 17 16:15:00 2011 -0700 10732 10733 configure.ac: Bump version to 1.4.2 10734 10735 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10736 10737commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 10738Author: Jamey Sharp <jamey@minilop.net> 10739Date: Tue Mar 15 16:48:07 2011 -0700 10740 10741 Call _XErrorFunction without holding the Display lock. 10742 10743 Historically, Xlib dropped the Display lock around the upcall to any 10744 user-supplied _XErrorFunction, but somewhere along the way I quit doing 10745 that if you built with XCB. The reasons are lost somewhere in the 10746 pre-git history of Xlib/XCB, and I can't now see any reason to hold the 10747 lock. 10748 10749 The documentation for XSetErrorHandler still applies though: 10750 10751 Because this condition is not assumed to be fatal, it is acceptable 10752 for your error handler to return; the returned value is ignored. 10753 However, the error handler should not call any functions (directly 10754 or indirectly) on the display that will generate protocol requests 10755 or that will look for input events. 10756 10757 So while you are now once again permitted to re-enter Xlib from the 10758 error handler, you're only allowed to call non-protocol functions. 10759 10760 Signed-off-by: Jamey Sharp <jamey@minilop.net> 10761 10762commit fd85aca7a616c595fc17b2520f84316a11e8906f 10763Author: Jamey Sharp <jamey@minilop.net> 10764Date: Mon Mar 14 14:45:35 2011 -0700 10765 10766 Ignore user locks after sleeping in _XReply and _XReadEvents. 10767 10768 This bug appears as a hang in applications that wait for replies from 10769 multiple threads, where one such thread has taken a user lock using 10770 XLockDisplay. 10771 10772 Prior to this fix, the code could deadlock in this way: If thread 1 goes 10773 to sleep waiting for a reply, and then thread 2 takes a user lock and 10774 waits for a reply, then thread 2 will wait for thread 1 to process its 10775 reply (because responses must be processed in order), but thread 1 will 10776 wait for thread 2 to drop its user lock. 10777 10778 Fixed by making thread 1 not wait for thread 2 to drop its user lock. 10779 This makes the semantics of user locks hard to define, but they were 10780 already hard to define. The new behavior appears to be consistent with 10781 the way Xlib worked historically, anyway. 10782 10783 Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 10784 10785 There was a similar potential for deadlock in _XReadEvents, fixed the 10786 same way, with the same caveats about user-lock semantics. 10787 10788 Signed-off-by: Jamey Sharp <jamey@minilop.net> 10789 10790commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 10791Author: Erkki Seppälä <erkki.seppala@vincit.fi> 10792Date: Tue Jan 18 15:58:20 2011 +0200 10793 10794 xkb: XkbPropertyPtr determined allocation success from wrong variables 10795 10796 Cannot reach dead statement "return NULL;" 10797 10798 Check for the NULLness of prop->name and prop->value instead of 10799 name and value, which was checked earlier anyway. Decided against 10800 using strdup due to curious memory allocation functions and the 10801 rest of the xkb not using it either. 10802 10803 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10804 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 10805 10806commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 10807Author: Erkki Seppälä <erkki.seppala@vincit.fi> 10808Date: Mon Jan 10 16:37:22 2011 +0200 10809 10810 keyBind: Use Xcalloc to initialize allocated _XKeytrans 10811 10812 Using uninitialized value "p->modifiers" 10813 10814 Small fix by using Xcalloc instead of Xmalloc 10815 10816 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10817 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 10818 10819commit b993d73bb3214ecc24646f5427c8003b816c6921 10820Author: Erkki Seppälä <erkki.seppala@vincit.fi> 10821Date: Mon Jan 10 16:22:45 2011 +0200 10822 10823 im/ximcp: release modifiermap before returning 10824 10825 Variable "map" goes out of scope 10826 10827 Release modifiermap before returning. Reordered code to call 10828 XGetModifierMapping after the first return from the function. 10829 10830 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10831 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 10832 10833commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 10834Author: Gaetan Nadon <memsize@videotron.ca> 10835Date: Fri Feb 25 09:23:54 2011 -0500 10836 10837 Docbook: change the book id to match the xml file basename 10838 10839 This is required for the up-coming external references support. 10840 10841 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10842 10843commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 10844Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 10845Date: Mon Feb 21 21:54:17 2011 +0100 10846 10847 Make the Local XIM request key releases for braille 10848 10849 Braille chords management needs key release events. We need to explicitly 10850 request then, else GTK would not pass them throught XFilterEvent and braille 10851 wouldn't work. 10852 10853 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 10854 10855commit c97c42c49cd5095462abecdf908b416fb0b540b6 10856Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 10857Date: Mon Feb 21 17:27:38 2011 +0100 10858 10859 Match braille patterns with compose tree 10860 10861 Braille patterns should also be usable in Compose. This combines the 10862 implementation of braille chords and compose tree: only emit the braille 10863 pattern if it can not be found in the compose tree, if any. 10864 10865 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 10866 10867commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 10868Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 10869Date: Mon Feb 21 15:56:54 2011 +0100 10870 10871 Fix status reporting for braille patterns 10872 10873 _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 10874 convert to the current MB charset. 10875 _XimLocalUtf8LookupString needs to set the braille keysym and status too. 10876 10877 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 10878 10879commit 993abe751f4141f54d8d28b8b73588a1c9085970 10880Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10881Date: Fri Feb 11 14:49:17 2011 -0800 10882 10883 Clean up memory when first XCreateRegion succeeds and second fails 10884 10885 Error: Memory leak (CWE 401) 10886 Memory leak of pointer 's' allocated with XCreateRegion() 10887 at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 10888 's' allocated at line 387 with XCreateRegion(). 10889 s leaks when s != 0 at line 387. 10890 Error: Memory leak (CWE 401) 10891 Memory leak of pointer 'tra' allocated with XCreateRegion() 10892 at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 10893 'tra' allocated at line 1451 with XCreateRegion(). 10894 tra leaks when tra != 0 at line 1451. 10895 10896 [ This bug was found by the Parfait 0.3.6 bug checking tool. 10897 For more information see http://labs.oracle.com/projects/parfait/ ] 10898 10899 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10900 10901commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 10902Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10903Date: Fri Feb 11 14:20:24 2011 -0800 10904 10905 ximcp: Prevent memory leak & double free if multiple %L in string 10906 10907 In the highly unlikely event that TransFileName was passed a path 10908 containing multiple %L entries, for each entry it would call 10909 _XlcFileName, leaking the previous results, and then for each entry it 10910 would copy from that pointer and free it, resulting in invalid pointers 10911 & possible double frees for each use after the first one freed it. 10912 10913 Error: Use after free (CWE 416) 10914 Use after free of pointer 'lcCompose' 10915 at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 10916 Previously freed at line 360 with free. 10917 Error: Use after free (CWE 416) 10918 Use after free of pointer 'lcCompose' 10919 at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 10920 Previously freed at line 360 with free. 10921 Error: Double free (CWE 415) 10922 Double free of pointer 'lcCompose' 10923 at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 10924 Previously freed at line 360 with free. 10925 10926 [ This bug was found by the Parfait 0.3.6 bug checking tool. 10927 For more information see http://labs.oracle.com/projects/parfait/ ] 10928 10929 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10930 10931commit 502d414118c97d35a44f8e295709682022876331 10932Author: Erkki Seppälä <erkki.seppala@vincit.fi> 10933Date: Thu Feb 3 17:08:57 2011 +0200 10934 10935 xcms/cmsProp: don't deal with uninitialized values, fail instead 10936 10937 Properly handle the return value of XGetWindowProperty by considering 10938 if after the loop as well. 10939 10940 Using freed pointer "prop_ret" 10941 10942 There were numerous things wrong in how this function interacted with 10943 XGetWindowProperty. 10944 10945 None of the local variables were initialized and remained that way if 10946 the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 10947 result in after_ret being initialized in which case if it happens to 10948 be 0, the loop was exited. In that case format_ret and nitems_ret were 10949 uninitialized and the function might return with success (but with 10950 uninitialized pointer in prop_ret) or XcmsFailure. 10951 10952 As the buffer enlarging code was called only when XGetWindowProperty 10953 failed (returned not Success), after_ret would not have been 10954 initialized. It would have been initialized only if the 10955 XGetWindowProperty has returned Success earlier, but in that case the 10956 code fragment would not have been reached. 10957 10958 This patch alters the function to return XcmsFailure if the call to 10959 XGetWindowProperty fails. 10960 10961 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10962 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10963 Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 10964 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10965 10966commit c37e278993b9e5b3d7025ef4c434373a011996ec 10967Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10968Date: Mon Jan 31 14:02:07 2011 +0200 10969 10970 xcms/LRGB: don't double-free property_return 10971 10972 property_return was free'd before and in the case the conditional is true, 10973 the call to XcmsGetProperty failed which means that property_return wasn't 10974 set so there is no need to free it again. 10975 10976 Double free of pointer "property_return" in call to "free" 10977 10978 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10979 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10980 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10981 10982commit 50f4107811249806718a100f9d34f996c58e5e25 10983Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10984Date: Wed Feb 2 08:58:45 2011 -0800 10985 10986 Xrm.c: ReadInFile: refactor fstat error handling 10987 10988 We can simplify the fstat failure case now that the GetFileSize macro 10989 has been expanded inline. 10990 10991 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10992 Reviewed-by: Julien Cristau <jcristau@debian.org> 10993 10994commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 10995Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10996Date: Wed Feb 2 08:56:00 2011 -0800 10997 10998 Expand GetSizeOfFile() macro at the one place it's called 10999 11000 Removes XrmI.h header that only contained this single macro 11001 11002 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11003 Reviewed-by: Julien Cristau <jcristau@debian.org> 11004 11005commit 450e17422c0e374d25c643f343ea268cec68da38 11006Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11007Date: Mon Jan 31 14:01:57 2011 +0200 11008 11009 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 11010 11011 Possible overrun of 8192 byte fixed size buffer "buffer" by copying 11012 "ext->name" without length checking 11013 11014 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11015 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11016 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11017 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11018 11019commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 11020Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11021Date: Mon Jan 31 14:02:13 2011 +0200 11022 11023 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 11024 11025 Fixed by zero'ing conv on allocation with Xcalloc. Then 11026 close_converter works properly. 11027 11028 Using uninitialized value "conv->state" in call to function "close_converter" 11029 11030 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11031 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11032 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11033 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11034 11035commit 03f81ad8fb9783986cf9b17661dd31e95c396681 11036Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11037Date: Mon Jan 31 14:02:16 2011 +0200 11038 11039 xlibi18n/lcFile: Removed superfluous check for NULL target_dir 11040 11041 The situation is already handled before this code. 11042 11043 Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 11044 11045 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11046 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11047 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11048 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11049 11050commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 11051Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11052Date: Mon Jan 31 14:02:15 2011 +0200 11053 11054 ximcp/imLckup: Handle negative return value from _Xlcwctomb 11055 11056 Fixed by negative value to memcpy by checking for the negative return 11057 value of _Xlcwctomb and returning 0/XLookupNone in that case. 11058 11059 a negative value was passed to memcpy 11060 11061 Unfortunately the other return values for *status don't fit into the 11062 error (which appears to indicate some internal error or running out of 11063 memory). The other valid status codes are XBufferOverflow, 11064 XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 11065 these has a specific meaning attached. 11066 11067 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11068 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11069 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11070 11071commit 79a5c86e020f08cc108184298a72e2777036de39 11072Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11073Date: Mon Jan 31 14:02:14 2011 +0200 11074 11075 ximcp/imTrX: Handle failing XGetWindowProperty 11076 11077 Checked return value of XGetWindowProperty and return false if it fails. 11078 11079 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 11080 11081 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11082 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11083 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11084 11085commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 11086Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11087Date: Mon Jan 31 14:02:12 2011 +0200 11088 11089 XlibInt: info_list->watch_data was reallocated, but result was discarded 11090 11091 info_list->watch_data was being reallocated, but the return value of 11092 the reallocation was stored only into a local variable. This might 11093 cause some funky behavior and crashes. 11094 11095 Variable "wd_array" goes out of scope 11096 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)))" 11097 11098 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11099 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11100 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11101 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11102 11103commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 11104Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11105Date: Mon Jan 31 14:02:10 2011 +0200 11106 11107 GetProp: Zero-initialized error so its resourceID field is initialized 11108 11109 Using uninitialized value "error.resourceID" in call to function "_XError" 11110 11111 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11112 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11113 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11114 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11115 11116commit 85e9f38e016137f0ff2791eb0d092ab027382d2c 11117Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11118Date: Tue Feb 1 11:07:25 2011 +0200 11119 11120 xcms/LRGB: Add a label for freeing property_return. 11121 11122 The rest of the code uses goto's to free memory allocated later 11123 and prevent memory leaks, but there were several paths were 11124 property_return was free'd just before a goto. 11125 11126 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11127 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11128 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11129 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11130 11131commit 3161dc57d4e9b70f852f05e5e474455e121b06ab 11132Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11133Date: Mon Jan 31 14:02:08 2011 +0200 11134 11135 xcms/LRGB: Fix potential resource leak. 11136 11137 property_return was not free'd if the allocation of pRedTbl failed. 11138 11139 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11140 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11141 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11142 11143commit be3e6c205d94dedc1cdebf5d17b987f0f828377a 11144Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11145Date: Mon Jan 31 14:02:06 2011 +0200 11146 11147 Xrm: Handle the extremely unlikely situation of fstat failing 11148 11149 Tracked variable "size" was passed to a negative sink. 11150 11151 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11152 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11153 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11154 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11155 11156commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 11157Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11158Date: Mon Jan 31 14:02:05 2011 +0200 11159 11160 Xrm: NEWTABLE had a memory leak after a memory allocation error 11161 11162 The NEWTABLE macro missed freeing its allocated memory on subsequent 11163 memory allocation errors. Added call to Xfree. 11164 11165 Variable "table" goes out of scope 11166 11167 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11168 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11169 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11170 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11171 11172commit 7110ac653349a23c80c365f11f6270dc27c8975a 11173Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11174Date: Mon Jan 31 14:02:03 2011 +0200 11175 11176 ImUtil: Handle a memory leak in one early return branch 11177 11178 Fixed memory leak by adding Xfree for image 11179 11180 Variable "image" goes out of scope 11181 11182 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11183 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11184 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11185 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11186 11187commit d695f5da9f5b778e54b6987d9177048e32818c4d 11188Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11189Date: Mon Jan 31 14:02:01 2011 +0200 11190 11191 ximcp/imRm: Handle leaking colormap_ret 11192 11193 Fixed memory leak by adding Xfree for colormap_ret 11194 11195 Variable "colormap_ret" goes out of scope 11196 11197 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11198 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11199 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11200 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11201 11202commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 11203Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11204Date: Mon Jan 31 14:01:59 2011 +0200 11205 11206 ximcp/imRmAttr: Handle leaking missing_list 11207 11208 Fixed memory leak by adding Xfree and initializing missing_list with NULL 11209 11210 Variable "missing_list" goes out of scope 11211 11212 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11213 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11214 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11215 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11216 11217commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 11218Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11219Date: Mon Jan 31 14:01:58 2011 +0200 11220 11221 ximcp/imRmAttr: Handle leaking colormap_ret 11222 11223 XFree colormap_ret and initialize it when appropriate. 11224 11225 Variable "colormap_ret" goes out of scope 11226 11227 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11228 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11229 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11230 11231commit f66a032a937030f2d9baa81744d36dc585bb085c 11232Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11233Date: Mon Jan 31 14:01:56 2011 +0200 11234 11235 xlibi18n/lcGeneric: Initialize uninitialized local variable 11236 11237 Using uninitialized value "new" 11238 11239 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11240 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11241 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11242 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11243 11244commit d0266e06d38110ec908ca28379014eff743630b7 11245Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11246Date: Mon Jan 31 14:01:54 2011 +0200 11247 11248 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 11249 11250 Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 11251 11252 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11253 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11254 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11255 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11256 11257commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 11258Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11259Date: Tue Feb 1 12:30:56 2011 +0200 11260 11261 XDefaultOMIF.c: Fix memory leaks in get_font_name 11262 11263 Instead of copying the value returned by get_prop_name and then releasing it, 11264 directly use the return value of get_prop_name, which allocates memory for the 11265 name. 11266 11267 If get_prop_name returns NULL, continue on to XFreeFont to release the font 11268 before returning the NULL via the normal function return. 11269 11270 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11271 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11272 11273commit 95796351435d81eaef8166d49ba3a6e7b633d70a 11274Author: Gaetan Nadon <memsize@videotron.ca> 11275Date: Mon Jan 31 14:50:19 2011 -0500 11276 11277 config: comment, minor upgrade, quote and layout configure.ac 11278 11279 Group statements per section as per Autoconf standard layout 11280 Quote statements where appropriate. 11281 Autoconf recommends not using dnl instead of # for comments 11282 11283 Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 11284 Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 11285 11286 This helps automated maintenance and release activities. 11287 Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 11288 11289 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11290 11291commit e994ab227ed28655565c3193e63733630105e7f9 11292Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11293Date: Tue Jan 18 12:49:48 2011 +0200 11294 11295 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 11296 11297 Removed superfluous comparison. 11298 11299 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 11300 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11301 11302commit 4115f051e62f9b098efce691e070d44f09f30f1c 11303Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11304Date: Wed Jan 12 15:51:11 2011 +0200 11305 11306 Variable "entry" tracked as NULL was dereferenced. 11307 11308 Check entry for non-nullness before dereferencing it 11309 11310 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 11311 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11312 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11313 11314commit 0edb76d1d5fdca5a2543332699be2e72386dab24 11315Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11316Date: Thu Jan 27 09:54:00 2011 +0200 11317 11318 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 11319 11320 If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 11321 11322 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 11323 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11324 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11325 11326commit 59da8a211ef723909d0530c0331d541db8e63378 11327Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11328Date: Mon Jan 10 16:17:47 2011 +0200 11329 11330 Using freed pointer "e" 11331 11332 Reordered code to first to do the comparison and then to release data 11333 11334 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11335 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11336 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11337 11338commit 0f11c229f7099f7c5aeed4691b358dca151dac7d 11339Author: Matt Dew <marcoz@osource.org> 11340Date: Thu Jan 27 00:31:23 2011 -0700 11341 11342 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 11343 11344 Signed-off-by: Matt Dew <marcoz@osource.org> 11345 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11346 11347commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 11348Author: Gaetan Nadon <memsize@videotron.ca> 11349Date: Fri Jan 28 16:07:07 2011 -0500 11350 11351 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 11352 11353 This silences an Automake warning. 11354 11355 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11356 11357commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 11358Author: Gaetan Nadon <memsize@videotron.ca> 11359Date: Fri Jan 28 14:59:04 2011 -0500 11360 11361 config: remove unrequired AC_HEADER_STDC 11362 11363 Autoconf says: 11364 "This macro is obsolescent, as current systems have conforming 11365 header files. New programs need not use this macro". 11366 11367commit d4483375e37a72631d5821413cb75a423e990ffe 11368Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11369Date: Tue Jan 18 19:37:02 2011 -0800 11370 11371 config: Use correct AC_CONFIG_HEADERS macro 11372 11373 Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 11374 11375 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11376 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11377 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 11378 11379commit c6405fe931f313a0d159bdad00244fc8aae12468 11380Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11381Date: Sun Jan 16 11:55:23 2011 -0800 11382 11383 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 11384 11385 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 11386 AC_PROG_C_C99. This sets gcc with -std=gnu99. 11387 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 11388 11389 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11390 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11391 11392commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 11393Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11394Date: Sun Jan 16 11:40:59 2011 -0800 11395 11396 Update to xf86bigfontproto >= 1.2.0 header name 11397 11398 Clears compile-time warning of: 11399 "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 11400 "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 11401 11402 Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 11403 passed to configure. 11404 11405 Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 11406 that PKG_CHECK_MODULES does automatically 11407 11408 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11409 Reviewed-by: Julien Cristau <jcristau@debian.org> 11410 11411commit a9228fcc676aacf9a760dd94891c89f9bc82b20d 11412Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11413Date: Tue Jan 11 17:55:22 2011 -0800 11414 11415 libX11 1.4.1 11416 11417 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11418 11419commit 92fa96451af37a7a0f2592de07643fdaed7a9efd 11420Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 11421Date: Mon Jan 3 12:25:28 2011 -0500 11422 11423 Initialize event type 11424 11425 If we receive unsupported event closing connection triggers valgrind 11426 error. 11427 11428 ==12017== Conditional jump or move depends on uninitialised value(s) 11429 ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 11430 ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 11431 *snip* 11432 ==12017== Uninitialised value was created by a heap allocation 11433 ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 11434 ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 11435 ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 11436 ==12017== by 0x4892263: _XReply (xcb_io.c:626) 11437 *snip* 11438 11439 Problem is that XFreeDisplaySturture is checking for qelt->event.type == 11440 GenericEvent while _XUnknownWireEvent doesn't store the type. 11441 11442 Reviewed-by: Adam Jackson <ajax@redhat.com> 11443 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11444 Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 11445 11446commit fa9747b9d4443eef9b1687b8b1208801f5c585da 11447Author: Fernando Carrijo <fcarrijo.lists@gmail.com> 11448Date: Tue Dec 28 16:18:57 2010 -0500 11449 11450 specs: convert images from gif to svg format. 11451 11452 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11453 11454commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 11455Author: Philipp Reh <sefi@s-e-f-i.de> 11456Date: Wed Dec 22 15:14:05 2010 +0000 11457 11458 Events: Store event cookie when dequeuing event 11459 11460 When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 11461 make sure to store the corresponding cookie too. 11462 11463 Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 11464 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 11465 11466commit d2714d65e85b44abedf5f82e1a31506dba397ef2 11467Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11468Date: Tue Dec 21 18:47:16 2010 -0800 11469 11470 Revert "Mark atom names argument to XInternAtoms as const" 11471 11472 This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 11473 11474 The constification of a pointer to a pointer caused unexpected issues, 11475 and xorg-devel was unable to come up with a clean, safe, reasonable way 11476 to handle them, so we're chalking this up for now as yet another mistake 11477 in the Xlib API definition we'll be living with. 11478 11479 See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 11480 11481 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11482 11483commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 11484Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11485Date: Mon Dec 20 20:54:07 2010 -0800 11486 11487 specs/XKB: make acknowlegement section <preface> instead of <chapter> 11488 11489 Fixes numbering of actual chapters to match their filenames and to 11490 make the table/figure numbering match the references in the text. 11491 11492 Reported-by: jelmd on freenode irc 11493 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11494 11495commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 11496Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11497Date: Sun Dec 19 23:53:02 2010 -0800 11498 11499 Add XKBlib spec images to dist_spec_DATA for distribution & installation 11500 11501 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11502 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11503 11504commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 11505Author: Matt Dew <matt@osource.org> 11506Date: Tue Nov 30 10:52:07 2010 -0500 11507 11508 specs: convert XKBlib spec from Framemaker to DocBook.xml 11509 11510 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11511 11512commit c8701115462b482d99ecff24d9de0f2806084ba5 11513Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11514Date: Sun Nov 21 20:49:05 2010 -0800 11515 11516 Mark atom names argument to XInternAtoms as const 11517 11518 Updates code & docs for XInternAtoms. 11519 11520 The single atom name argument to XInternAtom was already const char * 11521 in the code, but not the docs, so updated it in the docs too. 11522 11523 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11524 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11525 11526commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 11527Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11528Date: Sun Nov 21 14:04:32 2010 -0800 11529 11530 libX11 1.4.0 11531 11532 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11533 11534commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 11535Author: Dan Nicholson <dbn.lists@gmail.com> 11536Date: Sat Nov 6 21:58:10 2010 +0000 11537 11538 config: Check host string when deciding architecture to build for 11539 11540 When checking for the OS/2 platform, $target_os is used. However, unless 11541 building a cross compiler, the $host* strings contain the platform 11542 details for the build system. See: 11543 11544 http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 11545 11546 $host_os is already being used to determine the transport and threading 11547 options. 11548 11549 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 11550 Reviewed-by: Julien Cristau <jcristau@debian.org> 11551 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11552 11553commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 11554Author: Dan Nicholson <dbn.lists@gmail.com> 11555Date: Sat Nov 6 21:58:09 2010 +0000 11556 11557 config: Fix architecture check for OS/2 to skip nios2 cpu 11558 11559 The OS/2 platform requires some utility functions as well as having a 11560 non-32 bit wchar_t. Fix the configure check so that it doesn't also 11561 affect the nios2 cpu, which wouldn't influence these operating system 11562 issues. 11563 11564 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 11565 Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 11566 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11567 Reviewed-by: Julien Cristau <jcristau@debian.org> 11568 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11569 11570commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 11571Author: Gaetan Nadon <memsize@videotron.ca> 11572Date: Tue Nov 9 13:04:44 2010 -0500 11573 11574 config: HTML file generation: use the installed copy of xorg.css 11575 11576 Currenlty the xorg.css file is copied in each location 11577 where a DocBook/XML file resides. This produces about 11578 70 copies in the $(docdir) install tree. 11579 11580 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11581 11582commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 11583Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11584Date: Fri Oct 29 22:02:10 2010 -0700 11585 11586 libX11 1.3.99.903 (1.4.0 RC3) 11587 11588 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11589 11590commit 5d245d8013289b13e0c42100951b26166c7fada4 11591Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11592Date: Fri Oct 29 22:01:39 2010 -0700 11593 11594 Require xorg-macros 1.11 now that it is released 11595 11596 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11597 11598commit 1ec89689fc771f116a6165226b9e076f54254a40 11599Author: Dan Nicholson <dbn.lists@gmail.com> 11600Date: Fri Oct 22 19:09:07 2010 -0700 11601 11602 docs: Disable fop documentation by default 11603 11604 fop is used to generate the pdf and ps formats of the documentation. 11605 This can significantly slow down the build, especially when creating all 11606 the compose key charts. Since few people probably want the full set of 11607 doc formats, set the default to 'no'. 11608 11609 The default parameter for XORG_WITH_FOP is only available in recent 11610 macros. Users generating configure from older macros will just get 11611 'auto' as the default. 11612 11613 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 11614 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11615 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11616 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11617 11618commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 11619Author: Jon TURNEY <jon.turney@dronecode.org.uk> 11620Date: Wed Apr 14 13:38:18 2010 +0100 11621 11622 Add C.UTF-8 and C.ASCII locale aliases 11623 11624 Add C.UTF-8 locale as an alias for en_US.UTF-8 11625 Add C.ASCII locale as an alias for C 11626 11627 (C.UTF-8 is the default locale for cygwin. It also exists in debian, 11628 although I don't think it's intended for use by humans.) 11629 11630 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 11631 Acked-by: Julien Cristau <jcristau@debian.org> 11632 Reviewed-by: James Cloos <cloos@jhcloos.com> 11633 11634commit 81d1d9a6bdca779a44f931730b866eea75777c00 11635Author: Dan Nicholson <dbn.lists@gmail.com> 11636Date: Sat Oct 9 16:00:47 2010 -0700 11637 11638 docs: Remove directory prerequisites from make rules 11639 11640 Make expects prerequisites to be files with valid timestamps, and 11641 directories are treated as always being out of date. Thus, any targets 11642 depending on directories will always be rebuilt. 11643 11644 Instead, the doc rules are changed to always create the target's leading 11645 directory. This should prevent the documentation from being rebuilt when 11646 "make install" is run. 11647 11648 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 11649 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11650 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11651 11652commit d0cbf388919364fe6b5b9127f36426eb744090a0 11653Author: Jeremy Huddleston <jeremyhu@apple.com> 11654Date: Sun Sep 26 21:21:16 2010 -0700 11655 11656 Add an "X11_" string to header guards to avoid possible collision 11657 11658 This addresses a build failure which can result from <X11/Xlocale.h> and 11659 <xlocale.h> being included in the same code since they both used the same 11660 _XLOCALE_H_ protection. 11661 11662 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11663 11664commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 11665Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11666Date: Tue Sep 21 19:53:03 2010 -0700 11667 11668 libX11 1.3.99.902 (1.4.0 RC2) 11669 11670 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11671 11672commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 11673Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11674Date: Tue Sep 14 00:10:31 2010 -0700 11675 11676 Bug 19379 - Provide docs with overview of all compose key combinations 11677 11678 Adds compose-chart.pl to generate DocBook/XML documents listing compose 11679 keys, and Makefile rules to generate HTML & PDF output from them if xmlto 11680 is present. 11681 11682 https://bugs.freedesktop.org/show_bug.cgi?id=19379 11683 11684 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11685 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 11686 Reviewed-by: James Cloos <cloos@jhcloos.com> 11687 Tested-by: Gaetan Nadon <memsize@videotron.ca> 11688 11689commit 3eb064071695ebf0f371163ed818a428dfeba8e6 11690Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11691Date: Sat Sep 11 00:49:21 2010 -0700 11692 11693 Make locale data build non-recursive / parallelizable 11694 11695 On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 11696 plus this simplifies the next set of changes. 11697 11698 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11699 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 11700 Reviewed-by: James Cloos <cloos@jhcloos.com> 11701 Tested-by: Gaetan Nadon <memsize@videotron.ca> 11702 11703commit a3fc78ac352e5a70a958996ef6aec50f653974d1 11704Author: Gaetan Nadon <memsize@videotron.ca> 11705Date: Fri Sep 17 17:38:11 2010 -0400 11706 11707 config: remove man page suffix from bottom summary 11708 11709 The man page suffix is the same for all libraries on a given 11710 platform and is not configurable. It should have been removed 11711 in commit 09edc6de6. 11712 11713 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11714 11715commit a52b0068f36c739eb7e426214cd72a8d9bb776ca 11716Author: Gaetan Nadon <memsize@videotron.ca> 11717Date: Fri Sep 17 17:29:30 2010 -0400 11718 11719 config: remove unhelpful comment in .gitignore 11720 11721 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11722 11723commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 11724Author: Adam Jackson <ajax@redhat.com> 11725Date: Wed Sep 8 10:44:23 2010 -0400 11726 11727 Zero buffer data in BufAlloc() 11728 11729 Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 11730 compress better with ssh and friends. Note that you'll need to rebuild 11731 all your protocol libraries to take advantage of this. 11732 11733 Signed-off-by: Adam Jackson <ajax@redhat.com> 11734 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11735 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11736 11737commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 11738Author: James Cloos <cloos@jhcloos.com> 11739Date: Sun Sep 12 17:00:54 2010 -0400 11740 11741 Revert “Dolt-ify" 11742 11743 Libtool’s is now sufficiently fast that DOLT is no longer 11744 worth the bother, even on those few systems where is works. 11745 11746 This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 11747 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 11748 11749 It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 11750 which moved dolt from configure.ac to m4/dolt.m4. 11751 11752 And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 11753 11754 Signed-off-by: James Cloos <cloos@jhcloos.com> 11755 11756commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 11757Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11758Date: Thu Sep 9 19:24:29 2010 -0700 11759 11760 XIM spec title page minor formatting cleanup 11761 11762 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11763 11764commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 11765Author: Jens Petersen <petersen@redhat.com> 11766Date: Mon Aug 23 18:08:10 2010 -0700 11767 11768 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 11769 11770 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 11771 11772 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11773 11774commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 11775Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11776Date: Fri Sep 3 23:11:53 2010 -0700 11777 11778 Sun's copyrights are now owned by Oracle 11779 11780 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11781 11782commit 7742bf62b1fa652da4270587e280249945367cae 11783Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11784Date: Fri Sep 3 18:31:44 2010 -0700 11785 11786 libX11 1.3.99.901 (1.4.0 RC1) 11787 11788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11789 11790commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 11791Author: Jeroen Hoek <mail@jeroenhoek.nl> 11792Date: Sun Aug 29 09:47:06 2010 -0400 11793 11794 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 11795 11796 Add LATIN CAPITAL LETTER SHARP S 11797 (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 11798 11799 Signed-off-by: James Cloos <cloos@jhcloos.com> 11800 11801commit 09edc6de6619a2eabda3b808ebff4165550664f1 11802Author: Gaetan Nadon <memsize@videotron.ca> 11803Date: Fri Aug 13 14:21:08 2010 -0400 11804 11805 config: remove man-pages configuration option 11806 11807 This option was added in commit 6e752ea120 with no explanation. 11808 The section number is provoded by XORG_MANPAGE_SECTIONS 11809 There is no case where libX11 should be different than other libs 11810 The option was also used to disable building of the man pages, 11811 which build in 14 secs. No indication this is required. 11812 11813 If there is a requirement from system builders to disable building 11814 of man pages, it could be done consistently for all modules. 11815 11816 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11817 11818commit f92e754297ec5fdb81068b56a4435026666224fa 11819Author: Aaron Plattner <aplattner@nvidia.com> 11820Date: Sun Aug 15 21:51:38 2010 -0700 11821 11822 XOpenDisplay: save the correct display_name value 11823 11824 The X Test Suite's XDisplayString test checks the invariant 11825 XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 11826 invariant by expanding str to the canonical form "host:display.scrn" (unless 11827 HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 11828 to ":1.0": 11829 11830 400|26 1 1 19:26:41|IC Start 11831 200|26 1 19:26:41|TP Start 11832 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 11833 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 11834 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 11835 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 11836 520|26 1 00032625 1 5|value used as the display argument. 11837 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 11838 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 11839 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 11840 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 11841 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 11842 220|26 1 1 19:26:41|FAIL 11843 410|26 1 1 19:26:41|IC End 11844 11845 Fix this by deleting all of the code to construct the canonical path and just 11846 stashing a copy of the original display_name in dpy->display_name. 11847 11848 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 11849 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11850 11851commit 1dc401f678469d0235e6d0b28eb4356f03327c9f 11852Author: Gaetan Nadon <memsize@videotron.ca> 11853Date: Fri Aug 13 13:06:51 2010 -0400 11854 11855 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 11856 11857 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11858 11859commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 11860Author: Gaetan Nadon <memsize@videotron.ca> 11861Date: Fri Aug 13 11:42:29 2010 -0400 11862 11863 man: simplify building of shadow man pages 11864 11865 Store the shadow files in git as any other man page. 11866 Move man pages to man dir and use the common makefile 11867 11868 Local fix in CVS for bug 5628 is not required 11869 as the problem has been fixed in 11870 util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 11871 11872 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11873 11874commit bfd899c9af2318ecbe84cb69007dba4223fdb502 11875Author: Gaetan Nadon <memsize@videotron.ca> 11876Date: Mon Aug 9 09:39:26 2010 -0400 11877 11878 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 11879 11880 in commit 76e07ef6911734eac418e399b114f1b544512736. 11881 11882 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11883 11884commit 76e07ef6911734eac418e399b114f1b544512736 11885Author: Gaetan Nadon <memsize@videotron.ca> 11886Date: Fri Aug 6 14:01:51 2010 -0400 11887 11888 man: using the C preprocessor is not required for man pages. 11889 11890 There were no special symbols needing cpp. 11891 Everything can be handled by the default MAN_SUBSTS in util-macros. 11892 11893 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11894 11895commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 11896Author: Jamey Sharp <jamey@minilop.net> 11897Date: Fri Aug 6 15:51:56 2010 -0700 11898 11899 Fix use-after-free in _XReply on X errors. 11900 11901 _XReply would always call dequeue_pending_request on errors. When it 11902 got an error for the current request, it would call dequeue, then break 11903 out of the loop; then, if it had an error in the event queue, it would 11904 compare it with the sequence number of the now-freed pending request. 11905 _XReply already stored that sequence number in dpy->last_request_read 11906 before freeing it, so look at that instead. 11907 11908 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 11909 11910 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11911 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 11912 11913commit 9fa146b30046396b70d64986e50d6617b3a8ac48 11914Author: Gaetan Nadon <memsize@videotron.ca> 11915Date: Sat Jul 31 16:15:35 2010 -0400 11916 11917 specs: xsl stylesheet requires abs path to images 11918 11919 Using abs_builddir requires automake 1.10 or later. 11920 11921 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11922 11923commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 11924Author: Gaetan Nadon <memsize@videotron.ca> 11925Date: Sun Aug 1 14:13:07 2010 -0400 11926 11927 specs: update .gitignore now that all groff generated files are gone 11928 11929 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11930 11931commit f70527f05677aaf6a493ba42d2d95f738aaebafa 11932Author: Adam Jackson <ajax@redhat.com> 11933Date: Thu Jul 29 11:11:21 2010 -0400 11934 11935 nls: Switch one of the interrobang sequences to gnaborretni 11936 11937 Since gnaborretni is primarily used in LTR locales, the ? part of the 11938 sequence reflects the position of the bulge in the ?. When scanning an 11939 inverted interrobang left-to-right, you see the bulge first, so the 11940 compose sequence ?! is used; upright interrobang shows the bulge 11941 last, so it's !?. 11942 11943 This is a change in behaviour, but I was unable to come up with anything 11944 better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 11945 would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 11946 Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 11947 ~!? and ~?! were considered but are arguably less intuitive. 11948 11949 Reviewed-by: James Cloos <cloos@jhcloos.com> 11950 Signed-off-by: Adam Jackson <ajax@redhat.com> 11951 11952commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 11953Author: Gaetan Nadon <memsize@videotron.ca> 11954Date: Wed Jul 28 10:27:39 2010 -0400 11955 11956 specs: move indexterm from glossdef to glossterm 11957 11958 This move fixes a Java class cast exception in the glossary. 11959 The problem was introduced in commit 11960 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 11961 11962 It may not happen on all versions of the doc toolchain. 11963 There is no reason why indexterm cannot appear in glossdef, 11964 this is a workaround to an implementation problem found by 11965 trial and error. 11966 11967 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11968 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11969 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11970 11971commit 87a108f3aa565aa803dacb3a53b811f45025b609 11972Author: Matt Dew <matt@osource.org> 11973Date: Sat Jul 24 14:46:57 2010 -0400 11974 11975 specs: replace troff source with docbook-xml source 11976 11977 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11978 11979commit 8e603413586ff42b1351688f6f99318cbe243bca 11980Author: Julien Cristau <jcristau@debian.org> 11981Date: Sat Jul 24 22:13:07 2010 +0200 11982 11983 Compose.man: default user compose file is .XCompose, not .Xcompose 11984 11985 The path was correct in the DESCRIPTION section, but not in FILES. 11986 11987 Signed-off-by: Julien Cristau <jcristau@debian.org> 11988 11989commit 554da76ece85d0fc0cada45a86860e69c2107e9a 11990Author: Daniel Stone <daniel@fooishbar.org> 11991Date: Tue Jul 20 12:34:48 2010 +0100 11992 11993 NLS: Add \o/ Compose sequence 11994 11995 Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 11996 to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 11997 11998 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11999 12000commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 12001Author: Daniel Stone <daniel@fooishbar.org> 12002Date: Fri Jul 9 18:13:13 2010 +0100 12003 12004 XStringToKeysym: Cope with 0x1234cafe-style input 12005 12006 If we get input in the style of 0xdeadbeef, just return that exact 12007 keysym. Introduces a dependency on strtoul, which I'm told is OK on all 12008 the systems we care about. 12009 12010 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12011 12012commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 12013Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12014Date: Mon Jul 19 17:58:27 2010 -0700 12015 12016 specs/libX11: Fix column count of Gravity Attributes table 12017 12018 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12019 12020commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 12021Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12022Date: Mon Jul 19 14:43:38 2010 -0700 12023 12024 specs/libX11: Convert \- to − and \^ to either   or removed 12025 12026 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12027 12028commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 12029Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12030Date: Mon Jul 19 11:28:50 2010 -0700 12031 12032 specs/libX11: Manual cleanup pass over Ch. 1 12033 12034 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12035 12036commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 12037Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12038Date: Mon Jul 19 14:51:10 2010 -0700 12039 12040 specs/libX11: make sure all files have DOCTYPEs so standard entities work 12041 12042 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12043 12044commit c944a8521f5760b485192658b921145159cdb439 12045Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12046Date: Sun Jul 18 13:12:20 2010 -0700 12047 12048 specs/libX11: Fix up list of header files in Ch.1 & add index entries 12049 12050 Combination of manual editing and automatic substitution via: 12051 12052 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 12053 12054 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12055 12056commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 12057Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12058Date: Sun Jul 18 12:47:27 2010 -0700 12059 12060 specs/libX11: Add indexterms for headerfiles that .hN used to provide 12061 12062 Automatic substitution performed via: 12063 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 12064 12065 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12066 12067commit d0b0d215cb85da48b323b1392149ce181e7ef5ec 12068Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12069Date: Fri Jul 16 21:15:13 2010 -0700 12070 12071 specs/libX11: convert multicolumn lists from tables to <simplelist> 12072 12073 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12074 12075commit e679f80c6210c0aefe3669f8f536353619097a4b 12076Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12077Date: Fri Jul 16 20:51:52 2010 -0700 12078 12079 specs/libX11: Tag WM_* as <property> 12080 12081 Mass substitution done by: 12082 perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 12083 12084 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12085 12086commit c7b7e59b3b22221d0be6286c540001c360308f69 12087Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12088Date: Fri Jul 16 20:41:33 2010 -0700 12089 12090 specs/libX11: Convert simpler eqn markup to docbook tags 12091 12092 Mostly "sup" to <superscript> 12093 12094 There's several more complicated equations that will probably need 12095 MathML or SVG to solve. 12096 12097 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12098 12099commit 897486c54c6a54771867d667441aaf9a4b9c35ca 12100Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12101Date: Fri Jul 16 00:50:39 2010 -0700 12102 12103 specs/libX11: App. D: convert literallayouts to synopsis or programlisting 12104 12105 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12106 12107commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 12108Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12109Date: Fri Jul 16 00:36:43 2010 -0700 12110 12111 specs/libX11: Fix section headers in Appendix D 12112 12113 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12114 12115commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 12116Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12117Date: Wed Jul 14 07:22:26 2010 -0700 12118 12119 specs/libX11: Explicitly tag document as English 12120 12121 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12122 12123commit 6783544706ff370e900c137f951e90230586d6dc 12124Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12125Date: Mon Jul 12 22:03:18 2010 -0700 12126 12127 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 12128 12129 Fixes display of a bunch of function prototypes and sample code 12130 12131 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12132 12133commit 8834cd9285e6aaf437aee56292c508d99a090fa9 12134Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12135Date: Mon Jul 12 18:37:16 2010 -0700 12136 12137 xmlrules.in: Add chunked-html rule to manually generate smaller files 12138 12139 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12140 12141commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 12142Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12143Date: Mon Jul 12 18:35:59 2010 -0700 12144 12145 specs/libX11: Convert Appendix A tables to real tables 12146 12147 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12148 12149commit 705a1257a8a47f4a1f94979aee09a837500ede7d 12150Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12151Date: Mon Jul 12 18:38:09 2010 -0700 12152 12153 specs/libX11: Fix out-of-place text in Chapter 1 12154 12155 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 12156 12157 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12158 12159commit a151346a2b7810e988f1de4b1e00b37672dc587a 12160Author: Jeremy Huddleston <jeremyhu@apple.com> 12161Date: Mon Jul 12 16:52:12 2010 -0700 12162 12163 launchd: Explicitly search /sbin 12164 12165 Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 12166 https://bugs.freedesktop.org/show_bug.cgi?id=29028 12167 12168 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 12169 12170commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 12171Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12172Date: Mon Jul 12 13:38:04 2010 -0700 12173 12174 Replace untranslated .hN macros with <filename> tags to show header names 12175 12176 Translation performed by: 12177 perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 12178 {<<filename class="headerfile">$1</filename>>$2}' *.xml 12179 12180 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12181 12182commit 75480440946603b8efdbbf78b88d59c641b6d2c8 12183Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12184Date: Sat Jul 10 00:06:13 2010 -0700 12185 12186 specs/libX11: Mass substitution of <function> tags with more specific tags 12187 12188 Matched names from X headers & "nm libX11.so" output to names in spec to 12189 map to more specific tags. Tags used: 12190 12191 <code> code fragments 12192 <constant> enum values 12193 <errorname> X protocol errors 12194 <filename> filenames 12195 <function> functions 12196 <function> function-like macros (#define foo(a,b)...) 12197 <returnvalue> function return codes 12198 <structfield> struct members 12199 <structname> struct names (even when typedefed) 12200 <symbol> simple value #defines (#define NAME value) 12201 <systemitem> X protocol requests 12202 <systemitem class="event"> X protocol events 12203 <type> non-struct typedefs 12204 <varname> global variables 12205 12206 (Also fixed a couple typos detected by failures of this matching, such as 12207 XESSetPrintErrorValues -> XESetPrintErrorValues.) 12208 12209 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12210 12211commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 12212Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12213Date: Fri Jul 9 00:37:23 2010 -0700 12214 12215 specs/libX11: Glossary cross-reference links 12216 12217 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12218 12219commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 12220Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12221Date: Thu Jul 8 21:19:08 2010 -0700 12222 12223 specs/libX11: Make whitespace around <function> tags more uniform 12224 12225 Simplifies regular expressions for further mass substitutions. 12226 12227 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12228 12229commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 12230Author: Gaetan Nadon <memsize@videotron.ca> 12231Date: Fri Jul 9 20:10:37 2010 -0400 12232 12233 specs: use pattern rules rather than suffix rules 12234 12235 This allows target to rebuild when included .xml files are changed. 12236 12237 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12238 12239commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 12240Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12241Date: Thu Jul 8 20:56:41 2010 -0700 12242 12243 specs/libX11: Move punctuation outside of the <function> tags 12244 12245 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12246 12247commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 12248Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12249Date: Thu Jul 8 20:42:50 2010 -0700 12250 12251 specs/libX11: Mark a number of <acronym>s 12252 12253 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12254 12255commit d5bbb12f55ac9f691eab6242cedc53207275131b 12256Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12257Date: Thu Jul 8 19:31:36 2010 -0700 12258 12259 specs/libX11: Glossary terms should not be marked as functions 12260 12261 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12262 12263commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 12264Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12265Date: Thu Jul 8 19:28:18 2010 -0700 12266 12267 specs/libX11: Clean up author list & acknowledgements a little 12268 12269 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12270 12271commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 12272Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12273Date: Thu Jul 8 17:30:34 2010 -0700 12274 12275 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 12276 12277 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12278 12279commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 12280Author: Gaetan Nadon <memsize@videotron.ca> 12281Date: Thu Jul 8 17:29:21 2010 -0400 12282 12283 specs: specdir is required to install xml files 12284 12285 The source is installed as well as the targets. 12286 This failed when configuring with --without-xmlto 12287 12288 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12289 12290commit e14273f44c1501ab51db4adcb83b18a1073787d8 12291Author: Matt Dew <matt@osource.org> 12292Date: Thu Jul 8 14:42:32 2010 -0400 12293 12294 specs: replace troff source with docbook-xml source 12295 12296 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12297 12298commit bea0873caf50e9ed1b89255775d9ab912cbecd45 12299Author: Daniel Stone <daniel@fooishbar.org> 12300Date: Thu Jul 8 16:49:51 2010 +0100 12301 12302 XStringToKeysym: Check strdup() return value 12303 12304 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12305 Reviewed-by: Keith Packard <keithp@keithp.com> 12306 12307commit cffa71b4a5743e2b6675b9a917d15aef4177d513 12308Author: Marko Myllynen <myllynen@redhat.com> 12309Date: Mon Jun 28 15:08:05 2010 +0300 12310 12311 Fix two typos in SFS 5966 Annex 3 12312 12313 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 12314 12315 Signed-off-by: Julien Cristau <jcristau@debian.org> 12316 12317commit eb023c0f8919e809b8b609e1467b14d20a290aa7 12318Author: Daniel Stone <daniel@fooishbar.org> 12319Date: Tue Jun 15 18:49:43 2010 +0100 12320 12321 Delete now-redundant XKeysymDB 12322 12323 Since XStringToKeysym now supports all the vendor keysyms, just delete 12324 our XKeysymDB, which was incomplete at best, misleading at worst, and 12325 always an annoyance. 12326 12327 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12328 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12329 12330commit 00175397480b76d32bf82b0c7c94c91a2a95954e 12331Author: Daniel Stone <daniel@fooishbar.org> 12332Date: Tue Jun 15 18:48:48 2010 +0100 12333 12334 makekeys: Scan vendor keysyms as well as core 12335 12336 Since we can't really live without vendor keysyms, scan them all in to 12337 generate ks_tables.h, rather than only doing the core ones, and leaving 12338 the vendor syms to be manually synchronised with XKeysymDB. 12339 12340 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12341 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12342 12343commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 12344Author: Daniel Stone <daniel@fooishbar.org> 12345Date: Tue Jun 15 18:47:37 2010 +0100 12346 12347 XStringToKeysym: Special case for XF86 keysyms 12348 12349 Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 12350 XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 12351 found our XF86_foo, try it again as XF86foo. 12352 12353 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12354 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12355 12356commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 12357Author: Daniel Stone <daniel@fooishbar.org> 12358Date: Tue Jun 15 17:20:48 2010 +0100 12359 12360 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 12361 12362 AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 12363 namespace, so start using the more proper AX_DEFINE_DIR instead. 12364 12365 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12366 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12367 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12368 12369commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 12370Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 12371Date: Thu Jul 1 06:50:47 2010 -0300 12372 12373 Purge macros NEED_EVENTS and NEED_REPLIES 12374 12375 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 12376 Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 12377 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12378 12379commit 0b724231be17f19538ee115a03b82b221b1f83c0 12380Author: Adam Jackson <ajax@redhat.com> 12381Date: Wed Jun 30 16:30:49 2010 -0400 12382 12383 Use -version-number consistently instead of -version-info 12384 12385 The latter is libtool braindamage. 12386 12387 Signed-off-by: Adam Jackson <ajax@redhat.com> 12388 12389commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 12390Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 12391Date: Tue Jun 29 18:32:42 2010 +0200 12392 12393 Make Compose-comma map to ogonek for I and U in UTF-8 locales. 12394 12395 With the preceding patch, it makes the UTF-8 compose map consistent with 12396 the ISO 8859-4 and -13 maps. 12397 12398commit af55e582f485a668c2bf43129be972bc65f03c60 12399Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 12400Date: Tue Jun 29 18:20:18 2010 +0200 12401 12402 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 12403 12404 This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 12405 as far as Polish is concerned. We only sacrifice one pair of characters, 12406 e-cedilla, which is not used in any language. 12407 12408commit d6ba13009fc9ef876a104b907ffef73c6e405d4b 12409Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12410Date: Thu Jun 24 13:13:11 2010 -0700 12411 12412 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 12413 12414 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12415 12416commit 978c7238789037de917b9423ea9adfb006da1260 12417Author: Jamey Sharp <jamey@minilop.net> 12418Date: Sat Jun 19 10:44:55 2010 -0700 12419 12420 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 12421 12422 Don't lose async replies. That's bad. 12423 12424 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 12425 _XReply path worked; that path waited for replies, rather than polling. 12426 12427 However, XRecordProcessReplies, which does nothing but call XPending, 12428 relied on the event-handling path to process async replies, and that was 12429 busted. 12430 12431 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 12432 12433 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12434 12435commit ef67486c5a8aada24fd95b2991a3c4979f53805f 12436Author: Jamey Sharp <jamey@minilop.net> 12437Date: Mon Jun 21 13:34:15 2010 -0700 12438 12439 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 12440 12441 This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 12442 a matter of fact, if poll_for_response returns NULL when we know 12443 dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 12444 request. 12445 12446commit 301ec5b41e9d253a446db656e1789ac7345dc433 12447Author: Jamey Sharp <jamey@minilop.net> 12448Date: Mon Jun 21 13:24:24 2010 -0700 12449 12450 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 12451 12452 This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 12453 need to check poll_for_event every time through the loop in 12454 poll_for_response, so the commit did too much. 12455 12456commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 12457Author: Jamey Sharp <jamey@minilop.net> 12458Date: Mon Jun 21 10:54:02 2010 -0700 12459 12460 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 12461 12462 Fixes the second bug reported in: 12463 https://bugs.freedesktop.org/show_bug.cgi?id=28595 12464 12465 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12466 12467commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 12468Author: Jamey Sharp <jamey@minilop.net> 12469Date: Sat Jun 19 10:44:55 2010 -0700 12470 12471 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 12472 12473 Don't lose async replies. That's bad. 12474 12475 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 12476 _XReply path worked; that path waited for replies, rather than polling. 12477 12478 However, XRecordProcessReplies, which does nothing but call XPending, 12479 relied on the event-handling path to process async replies, and that was 12480 busted. 12481 12482 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 12483 12484 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12485 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 12486 12487commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 12488Author: Marko Myllynen <myllynen@redhat.com> 12489Date: Sun Jun 13 19:23:05 2010 +0300 12490 12491 Implement SFS 5966 Annex 4 for Finland 12492 12493 This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 12494 Annex 3 (which were actually copied verbatim from the standard text). 12495 12496 The implementation of the standard is now complete. 12497 12498 X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 12499 12500 Signed-off-by: Julien Cristau <jcristau@debian.org> 12501 12502commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 12503Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12504Date: Fri Jun 4 13:20:17 2010 -0700 12505 12506 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 12507 12508 One of the malloc failure checks had a goto to the wrong spot in the 12509 list of cleanup free() calls to unwind at the end, and was freeing 12510 bits that hadn't been initialized/allocated yet, since they would be 12511 stored in the struct that just failed to be allocated. 12512 12513 Error: Null pointer dereference (CWE 476) 12514 Read from pointer that could be constant 'NULL' 12515 at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 12516 Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 12517 12518 [ This bug was found by the Parfait bug checking tool. 12519 For more information see http://research.sun.com/projects/parfait ] 12520 12521 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12522 12523commit aebbf3623888119b43893b253195d93b613a6e1e 12524Author: Josh Triplett <josh@joshtriplett.org> 12525Date: Sun Jun 6 19:11:55 2010 -0700 12526 12527 Mark the rest of Xprivate.h as _X_HIDDEN. 12528 12529 None of the functions in Xprivate.h should have any callers outside of 12530 Xlib, by definition. 12531 12532 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 12533 Suggested-by: Jamey Sharp <jamey@minilop.net> 12534 Reviewed-by: Jamey Sharp <jamey@minilop.net> 12535 12536commit abcd1b67c8135ad652833e5a60d818837c39fce1 12537Author: Julien Cristau <jcristau@debian.org> 12538Date: Fri Jun 4 13:57:45 2010 +0200 12539 12540 Hide _XSeqSyncFunction 12541 12542 Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 12543 non-static, but we don't need to export it. 12544 12545 Signed-off-by: Julien Cristau <jcristau@debian.org> 12546 Reviewed-by: Adam Jackson <ajax@redhat.com> 12547 Reviewed-by: Jamey Sharp <jamey@minilop.net> 12548 12549commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 12550Author: Josh Triplett <josh@joshtriplett.org> 12551Date: Thu Jun 3 09:41:01 2010 -0700 12552 12553 Remove support for building without XCB 12554 12555 And there was much rejoicing. 12556 12557 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 12558 Reviewed-by: Jamey Sharp <jamey@minilop.net> 12559 12560 Consensus on #xorg-devel agrees with removing --without-xcb; in 12561 particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 12562 Julien Cristau, and Rémi Cardona. 12563 12564commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 12565Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12566Date: Thu Jun 3 15:21:40 2010 -0700 12567 12568 libX11 1.3.4 12569 12570 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12571 12572commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 12573Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12574Date: Thu Jun 3 13:08:17 2010 -0700 12575 12576 Workaround bug in groff flag processing that breaks distcheck 12577 12578 At least with the groff 1.19.2 package I have installed, groff passes 12579 on the -I flags for the include path to grohtml, which if they come 12580 after the -P-I... flag we pass to grohtml to specify the image file 12581 name pattern cause it to override that flag and put the images in 12582 the wrong place, breaking "make distcheck" - changing the flag order 12583 works around this. 12584 12585 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12586 12587commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 12588Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12589Date: Thu Jun 3 11:25:33 2010 -0700 12590 12591 Fix typo that made configure always report "none" for man page suffix 12592 12593 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12594 12595commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 12596Author: Paul Bender <pebender@gmail.com> 12597Date: Thu Jun 3 11:20:26 2010 -0700 12598 12599 Bug 22591 - configure does not obey the --enable-*-transport options 12600 12601 https://bugs.freedesktop.org/show_bug.cgi?id=22591 12602 12603 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12604 12605commit d7f35946d673bb00f2768e025b6e1017422b2174 12606Author: Paul Bender <pebender@gmail.com> 12607Date: Thu Jun 3 11:17:45 2010 -0700 12608 12609 Bug 22590 - libX11 1.2.1 has broken abstract namespace support 12610 12611 https://bugs.freedesktop.org/show_bug.cgi?id=22590 12612 12613 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12614 12615commit b2487d07f7b355f230a56e32c763acd08862735c 12616Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12617Date: Thu Jun 3 11:06:15 2010 -0700 12618 12619 Bug 22584 - libX11 does not cross compile 12620 12621 Adaptation of patch submitted by Paul Bender in attachment 27301 to 12622 https://bugs.freedesktop.org/show_bug.cgi?id=22584 12623 12624 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12625 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 12626 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 12627 12628commit 4378219ff8c1418418c70086085358b69d574e74 12629Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12630Date: Tue Jun 1 18:55:48 2010 -0700 12631 12632 Clarify requirements in XRestackWindows man page 12633 12634 The required common parent window is not specified in the arguments, 12635 just implied as the parent of the first window in the list. 12636 12637 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12638 12639commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 12640Author: Jeremy Huddleston <jeremyhu@apple.com> 12641Date: Wed May 12 16:42:18 2010 -0700 12642 12643 xcb: Add TCP fallback 12644 12645 If we fail to connect to a UNIX socket and the transport isn't specified, 12646 fallback on TCP. This matches behavior with the xtrans codepath and the 12647 Xlib spec. 12648 12649 http://lists.x.org/archives/xorg-devel/2010-April/007915.html 12650 12651 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 12652 Reviewed-by: Jamey Sharp <jamey@minilop.net> 12653 12654commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 12655Merge: aae2a4a7 933aee1d 12656Author: Jamey Sharp <jamey@minilop.net> 12657Date: Mon May 10 16:51:24 2010 -0700 12658 12659 Merge branch 'xlib-xcb-thread-fixes' 12660 12661commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 12662Author: Jeremy Huddleston <jeremyhu@apple.com> 12663Date: Fri Apr 23 21:50:29 2010 -0700 12664 12665 Don't append the screen number when using a launchd socket 12666 12667 ssh gets confused by this. XQuartz is the only DDX using this 12668 functionality, and it doesn't support different screens, so 12669 let's just not include this until most ssh know how to handle 12670 this. 12671 12672 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 12673 12674commit adcd0ec209abf832a769d52db660fb37eaad6e0c 12675Author: Jeremy Huddleston <jeremyhu@apple.com> 12676Date: Fri Apr 23 16:33:44 2010 -0700 12677 12678 Remove launchd logic from _XConnectXCB as it's handled in XCB 12679 12680 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 12681 12682commit d232b259c36fdde1f4179822809fec1480867dc5 12683Author: Jeremy Huddleston <jeremyhu@apple.com> 12684Date: Tue Feb 2 17:01:28 2010 -0800 12685 12686 Fix various build warnings 12687 12688 imLcIm.c: In function '_XimCachedFileName': 12689 imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 12690 imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 12691 12692 imRm.c: In function '_XimDefaultArea': 12693 imRm.c:597: warning: cast from pointer to integer of different size 12694 imRm.c: In function '_XimDefaultColormap': 12695 imRm.c:626: warning: cast from pointer to integer of different size 12696 12697 lcFile.c:224: warning: no previous prototype for 'xlocaledir' 12698 12699 lcUTF8.c: In function 'iconv_cstombs': 12700 lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 12701 lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 12702 lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 12703 lcUTF8.c: In function 'iconv_mbstocs': 12704 lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 12705 lcUTF8.c: In function 'iconv_mbtocs': 12706 lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 12707 lcUTF8.c: In function 'iconv_mbstostr': 12708 lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 12709 lcUTF8.c: In function 'iconv_strtombs': 12710 lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 12711 lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 12712 lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 12713 lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 12714 lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 12715 lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 12716 lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 12717 lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 12718 lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 12719 12720 XlibInt.c: In function '_XGetHostname': 12721 XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 12722 XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 12723 12724 ConnDis.c: In function '_XDisconnectDisplay': 12725 ConnDis.c:540: warning: old-style function definition 12726 ConnDis.c: In function '_XSendClientPrefix': 12727 ConnDis.c:554: warning: old-style function definition 12728 ConnDis.c: In function 'XSetAuthorization': 12729 ConnDis.c:677: warning: old-style function definition 12730 12731 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 12732 12733commit 3e11c73187acb2e2be9a812840bbbea947527ccb 12734Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 12735Date: Fri Apr 23 00:01:54 2010 +0200 12736 12737 Allow X11 users to compose anarchism 12738 12739 I can easily compose the hammer and sickle (the symbol representative 12740 of communism) by pressing the key sequence: 12741 12742 <Compose> <C> <C> <C> <P> -> ☭ 12743 12744 But i can't easily make the circled A (the symbol representative of 12745 anarchism). 12746 12747 I'd like to be able to use <Compose> <O> <A> (this is a 12748 currently unused key sequence) to generate the symbol: Ⓐ 12749 12750 Debian bug#555938 <http://bugs.debian.org/555938> 12751 12752 Signed-off-by: Julien Cristau <jcristau@debian.org> 12753 12754commit 933aee1d5c53b0cc7d608011a29188b594c8d70b 12755Author: Jamey Sharp <jamey@minilop.net> 12756Date: Fri Apr 16 20:18:28 2010 -0700 12757 12758 Fix Xlib/XCB for multi-threaded applications (with caveats). 12759 12760 Rather than trying to group all response processing in one monolithic 12761 process_responses function, let _XEventsQueued, _XReadEvents, and 12762 _XReply each do their own thing with a minimum of code that can all be 12763 reasoned about independently. 12764 12765 Tested with `ico -threads 20`, which seems to be able to make many 12766 icosahedrons dance at once quite nicely now. 12767 12768 Caveats: 12769 12770 - Anything that was not thread-safe in Xlib before XCB probably still 12771 isn't. XListFontsWithInfo, for instance. 12772 12773 - If one thread is waiting for events and another thread tries to read a 12774 reply, both will hang until an event arrives. Previously, if this 12775 happened it might work sometimes, but otherwise would trigger either 12776 an assertion failure or a permanent hang. 12777 12778 - Versions of libxcb up to and including 1.6 have a bug that can cause 12779 xcb_wait_for_event or xcb_wait_for_reply to hang if they run 12780 concurrently with xcb_writev or other writers. So you'll want that fix 12781 as well. 12782 12783 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12784 Reviewed-by: Josh Triplett <josh@freedesktop.org> 12785 12786commit aab43278ae619eb57d2dd9c7396f460f078588fc 12787Author: Jamey Sharp <jamey@minilop.net> 12788Date: Fri Apr 16 22:24:16 2010 -0700 12789 12790 Use InternalLockDisplay on code paths called from LockDisplay. 12791 12792 It's easier to reason about the code when we can't re-enter the 12793 Xlib-private sync-handlers while they're already running. 12794 12795 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12796 Reviewed-by: Josh Triplett <josh@freedesktop.org> 12797 12798commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 12799Author: Jamey Sharp <jamey@minilop.net> 12800Date: Fri Apr 16 19:45:11 2010 -0700 12801 12802 Fix _XSend to enqueue the right range of pending requests. 12803 12804 _XSend was off-by-one on both ends. It should not re-enqueue the last 12805 request that was already flushed, but it should enqueue the last request 12806 currently being flushed. 12807 12808 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12809 Reviewed-by: Josh Triplett <josh@freedesktop.org> 12810 12811commit f2735889908d6e5a7f8dbee42f00c54a52665191 12812Author: Jamey Sharp <jamey@minilop.net> 12813Date: Fri Apr 16 19:45:11 2010 -0700 12814 12815 Pending requests are always added in-order. 12816 12817 Replace insert_pending_request, which did an in-order search of the 12818 queue to find the right insertion point, with a simpler 12819 append_pending_request, and use that in _XSend as well. 12820 12821 Includes assertions to check that the list of pending requests is in 12822 order by sequence number and does not have duplicates. 12823 12824 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12825 Reviewed-by: Josh Triplett <josh@freedesktop.org> 12826 12827commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 12828Author: Markus Duft <markus.duft@salomon.at> 12829Date: Fri Apr 16 08:39:34 2010 -0700 12830 12831 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 12832 12833 https://bugs.freedesktop.org/show_bug.cgi?id=26839 12834 12835 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12836 12837commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 12838Author: Josh Triplett <josh@freedesktop.org> 12839Date: Thu Apr 15 14:24:21 2010 -0700 12840 12841 Stop returning an int from _XIDHandler and _XSeqSyncFunction 12842 12843 _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 12844 thus had to return an int. Now, they only run from _XPrivSyncHandler or 12845 LockDisplay, neither of which needs to check their return value since they 12846 always returned 0. Make them both void. 12847 12848 Signed-off-by: Josh Triplett <josh@freedesktop.org> 12849 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12850 12851commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 12852Author: Jamey Sharp <jamey@minilop.net> 12853Date: Thu Apr 15 13:05:08 2010 -0700 12854 12855 Move XID and sync handling from SyncHandle to LockDisplay to fix races. 12856 12857 XID and sync handling happened via _XPrivSyncHandler, assigned to 12858 dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 12859 without the Display lock, so manipulating the Display caused races, and 12860 these races led to assertions in multithreaded code (demonstrated via 12861 ico). 12862 12863 In the XTHREADS case, after you've called XInitThreads, we can hook 12864 LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 12865 _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 12866 that we hold the lock, and thus we can avoid races. We think it makes 12867 sense to do these both from LockDisplay rather than UnlockDisplay, so 12868 that you know you have valid sync and a valid XID before you start 12869 setting up the request you locked to prepare. 12870 12871 In the !XTHREADS case, or if you haven't called XInitThreads, you don't 12872 get to use Xlib from multiple threads, so we can use the logic we have 12873 now (with synchandler and savedsynchandler) without any concern about 12874 races. 12875 12876 This approach gets a bit exciting when the XID and sequence sync 12877 handlers drop and re-acquire the Display lock. Reacquisition will re-run 12878 the handlers, but they return immediately unless they have work to do, 12879 so they can't recurse more than once. In the worst case, if both of 12880 them have work to do, we can nest the Display lock three deep. In the 12881 case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 12882 takes the socket back if it needs to request more XIDs, and taking the 12883 socket back will reacquire the lock; we take care to avoid letting 12884 _XIDHandler run again and re-enter XCB from the return_socket callback 12885 (which causes Very Bad Things, and is Not Allowed). 12886 12887 Tested with ico (with 1 and 20 threads), and with several test programs 12888 for XID and sequence sync. Tested with and without XInitThreads(), and 12889 with and without XCB. 12890 12891 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 12892 12893 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12894 Signed-off-by: Josh Triplett <josh@freedesktop.org> 12895 12896commit b089b53b697c2851db2985d32af3b29f1da5e31e 12897Author: Jamey Sharp <jamey@minilop.net> 12898Date: Wed Apr 14 12:59:11 2010 -0700 12899 12900 Honest. Extensions get to filter async errors too. 12901 12902 Under some circumstances, errors are picked up by calling 12903 xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 12904 the requests with the XCB_REQUEST_CHECKED flag. That happens when either 12905 an async handler is queued at the time the requests are flushed, or when 12906 XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 12907 event queue. 12908 12909 This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 12910 those cases. 12911 12912 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 12913 12914 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12915 12916commit a15c31274650e391bc6de5d0951eb4464c228139 12917Author: Jamey Sharp <jamey@minilop.net> 12918Date: Wed Apr 14 12:10:34 2010 -0700 12919 12920 _XError already runs async handlers; only call them directly for replies. 12921 12922 The previous behavior probably would have triggered bug reports someday. 12923 12924 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12925 12926commit 405132dab64bf2375f8e57d02b1b53da2311933a 12927Author: Jamey Sharp <jamey@minilop.net> 12928Date: Tue Apr 13 12:12:36 2010 -0700 12929 12930 Extensions get to filter async errors too. 12931 12932 Apparently I misread XlibInt.c:_XReply and thought that handlers set 12933 with XESetError should be consulted only for the sequence number that 12934 _XReply is currently looking for. In fact, the error handlers are also 12935 consulted when an error arrives for a request that was not expected to 12936 have a reply. 12937 12938 However, in an odd twist, the error handlers are *not* consulted outside 12939 of _XReply--that is, when looking for events, or waiting to be able to 12940 flush the output queue. So this patch takes some small pains to preserve 12941 that behavior, though it seems likely to have been unintentional. 12942 12943 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 12944 12945 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12946 12947commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 12948Author: Jamey Sharp <jamey@minilop.net> 12949Date: Tue Apr 13 12:49:59 2010 -0700 12950 12951 Prefer the xcb_generic_error_t we already have over casting to xEvent. 12952 12953 Just a minor cleanup. 12954 12955 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12956 12957commit 75ea8c37935ccc911557d16a303ba595b8ab106b 12958Author: Jamey Sharp <jamey@minilop.net> 12959Date: Mon Apr 12 11:30:20 2010 -0700 12960 12961 Run the user's synchandler as well as any internal synchandlers. 12962 12963 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 12964 12965 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12966 12967commit c3f3e4a9e531d010312c97e753d6e543e607094d 12968Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 12969Date: Fri Feb 12 17:16:10 2010 +0900 12970 12971 Fix manual typos. 12972 12973 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 12974 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12975 12976commit 75c6c5595408caba9ef8233839d77021d02f86f2 12977Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 12978Date: Fri Feb 5 20:42:46 2010 +0100 12979 12980 man: Correct the XkbAllAccessXEventsMask mask name 12981 12982 This mask has probably been renamed but not been updated in the manuals. 12983 12984 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 12985 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12986 12987commit 9262aceaff24c954cab8c252690032bc2ec25e7d 12988Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 12989Date: Fri Feb 5 20:42:45 2010 +0100 12990 12991 man: Add missing geometry component flag 12992 12993 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 12994 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12995 12996commit 50cf134465f6fd263f37acecac94518468ef1c6d 12997Author: Dirk Wallenstein <halsmit@t-online.de> 12998Date: Tue Feb 2 21:24:32 2010 +0100 12999 13000 man: Return value of XkbGetState is Status and not Bool 13001 13002 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 13003 Reviewed-by: Julien Cristau <jcristau@debian.org> 13004 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13005 13006commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 13007Author: Dirk Wallenstein <halsmit@t-online.de> 13008Date: Tue Feb 2 21:24:30 2010 +0100 13009 13010 man: Fix return value specification of XkbKeyActionEntry 13011 13012 The XkbKeyActionEntry macro expands to a pointer. 13013 13014 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 13015 Reviewed-by: Julien Cristau <jcristau@debian.org> 13016 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13017 13018commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 13019Author: Dirk Wallenstein <halsmit@t-online.de> 13020Date: Tue Feb 2 21:24:29 2010 +0100 13021 13022 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 13023 13024 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 13025 groups with 2 levels each. It wraps the index into the next group. 13026 This behavior confuses the unaware user, and therefore this will add a 13027 reference to XkbKeycodeToKeysym in the corresponding man paragraph. 13028 13029 Another bug had that issue, too. #5349 13030 13031 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 13032 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13033 13034commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 13035Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13036Date: Thu Apr 8 19:59:55 2010 -0700 13037 13038 Fix typo in new fi_FI.UTF-8 that was reported by "make check" 13039 13040 Unrecognized pattern in Compose on line #154: 13041 <dead_diaeresis> <space> " "¨" 13042 13043 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13044 13045commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 13046Author: Marko Myllynen <myllynen@redhat.com> 13047Date: Thu Apr 8 19:52:42 2010 -0700 13048 13049 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 13050 13051 I've rewritten the fi_FI.UTF-8 Compose file so that it 13052 13053 - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 13054 possible additions to en_US.UTF-8/Compose automatically included) 13055 - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 13056 definitions (thus making it safe to include en_US.UTF-8/Compose) 13057 - lists all the definitions specified in the SFS 5966 standard (thus making it 13058 easy to verify that the implementation is valid and complete) 13059 - adds a header about the file itself as required by the standard 13060 13061 The rewritten version is ~320 lines compared to over 5000 lines of the previous 13062 version. 13063 13064 https://bugs.freedesktop.org/show_bug.cgi?id=27465 13065 13066commit f6a4fd0c7615684d08e848245849dea4017a5214 13067Author: Gaetan Nadon <memsize@videotron.ca> 13068Date: Thu Apr 1 21:46:12 2010 -0400 13069 13070 config: update and relocate AC_DEFINE_DIR macro 13071 13072 Remove deprecated acinclude.m4 macro container file 13073 Use separate macro files as per autoconf recommendation 13074 Use the latest macro from GNU (ax) which replaces 13075 the non-gnu version (ac) 13076 This preserves the Autoconf macro AC namespace. 13077 13078 Also moved out of acinclude.m4 is the DOLT macro 13079 13080 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13081 13082commit 61d5231db418cec51bd718633c3bba39b18689d6 13083Author: Gaetan Nadon <memsize@videotron.ca> 13084Date: Mon Mar 29 14:53:48 2010 -0400 13085 13086 config: remove the pkgconfig pc.in file from EXTRA_DIST 13087 13088 Automake always includes it in the tarball. 13089 13090 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13091 13092commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 13093Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 13094Date: Wed Mar 17 23:53:16 2010 -0300 13095 13096 No need for req->firstKeyCode to be set twice. 13097 13098 There is no reason to set req->firstKeyCode twice when a client, wishful 13099 for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 13100 fixes the mistake by making no functional changes to libX11 whatsoever. 13101 13102 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 13103 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13104 13105commit b5797597f83ee62228abfb88f026ef92163e07a5 13106Author: Gaetan Nadon <memsize@videotron.ca> 13107Date: Tue Feb 16 10:37:21 2010 -0500 13108 13109 config: move CWARNFLAGS from configure.ac to Makefile.am 13110 13111 Compiler warning flags should be explicitly set in the makefile 13112 rather than being merged with other packages compiler flags. 13113 13114 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 13115 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13116 13117commit 052c4d7995b0e52a038933beb85cd544571c6b7e 13118Author: Gaetan Nadon <memsize@videotron.ca> 13119Date: Tue Feb 16 14:28:21 2010 -0500 13120 13121 specs: change install cmd due to automake 1.11 13122 13123 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 13124 13125 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13126 13127commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 13128Author: Gaetan Nadon <memsize@videotron.ca> 13129Date: Tue Feb 9 17:27:08 2010 -0500 13130 13131 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 13132 13133 $(MKDIR_P) is not defined in automake 1.9. 13134 13135 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13136 13137commit e66eda95b520727969d721416d4ea49b54ef2b03 13138Author: Gaetan Nadon <memsize@videotron.ca> 13139Date: Tue Feb 2 16:29:26 2010 -0500 13140 13141 specs: install html images in $docdir with html files 13142 13143 The images required by the html files have been omitted. 13144 13145 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13146 13147commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 13148Author: Gaetan Nadon <memsize@videotron.ca> 13149Date: Sun Jan 31 14:16:20 2010 -0500 13150 13151 doc: use new macros to control doc generation 13152 13153 Namely XORG_WITH_GROFF for the groff generation tool 13154 XORG_WITH_PS2PDF for the conversion of PS docs to PDF 13155 XORG_ENABLE_SPECS for the generation of specs 13156 13157 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13158 13159commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 13160Author: Gaetan Nadon <memsize@videotron.ca> 13161Date: Tue Jan 26 19:41:08 2010 -0500 13162 13163 doc: clean-up generated html images 13164 13165 Generate images in /images as is the convention 13166 Provide a base file name for images rather than process ID 13167 Remove images directory when running make clean 13168 13169 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13170 13171commit eb289b34bfc9978eef724e0f268975938334c06c 13172Author: Kristian Høgsberg <krh@bitplanet.net> 13173Date: Thu Jan 21 13:39:17 2010 -0500 13174 13175 XErrorDB: Add new DRI2 request names 13176 13177commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 13178Author: Julien Cristau <jcristau@debian.org> 13179Date: Sat Jan 16 22:47:03 2010 +0000 13180 13181 man: Fix typo in Makefile 13182 13183 Missing line continuation was preventing the XCompose alias from being 13184 generated. 13185 13186 Signed-off-by: Julien Cristau <jcristau@debian.org> 13187 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13188 13189commit 68530599e61cf9fef3fcc91650e7cef21837fce7 13190Author: Alan Coopersmith <alan.coopersmith@sun.com> 13191Date: Sat Jan 16 11:41:32 2010 -0800 13192 13193 libX11 1.3.3 13194 13195 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13196 13197commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 13198Author: Alan Coopersmith <alan.coopersmith@sun.com> 13199Date: Thu Jan 14 18:33:39 2010 -0800 13200 13201 Update COPYING file with actual licenses from libX11 code & docs 13202 13203 COPYING was previously a years out-of-date copy of the LICENSES 13204 doc summarizing all licenses for all XFree86 components, many of 13205 which did not apply to libX11. 13206 13207 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13208 13209commit ddb1786720d6136b1b28be599c75c10ad1b76a2a 13210Author: Alan Coopersmith <alan.coopersmith@sun.com> 13211Date: Thu Jan 14 17:38:26 2010 -0800 13212 13213 Purge CVS/RCS id tags 13214 13215 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13216 13217commit c1db9ddcfa7091f173478dca45bf720badedfca4 13218Author: Alan Coopersmith <alan.coopersmith@sun.com> 13219Date: Thu Jan 14 15:39:14 2010 -0800 13220 13221 Update Sun license notices to current X.Org standard form 13222 13223 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13224 13225commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 13226Author: Alan Coopersmith <alan.coopersmith@sun.com> 13227Date: Thu Jan 14 08:28:22 2010 -0800 13228 13229 Add %S substitutions to Compose man page 13230 13231 Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 13232 in Compose file include statements - this documents it in the Compose 13233 file man page. 13234 13235 Also changes the existing substitution documentation to list format 13236 instead of a paragraph format to allow easier adding of %S. 13237 13238 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13239 13240commit 94b45db93058cffa25598fe27dd3e385ace9d305 13241Author: Richard Purdie <rpurdie@linux.intel.com> 13242Date: Thu Jan 14 08:04:28 2010 -0800 13243 13244 Fix configure.ac PKG_ macro calls 13245 13246 If the first call to PKG_CHECK_MODULES() may not be called during execution 13247 which is the case here since its inside a case statement, call 13248 PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 13249 13250 Fixes a configure failure introduced by commit 13251 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 13252 13253 http://bugs.freedesktop.org/show_bug.cgi?id=26041 13254 13255 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 13256 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13257 13258commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 13259Author: Alan Coopersmith <alan.coopersmith@sun.com> 13260Date: Tue Jan 12 09:18:15 2010 -0800 13261 13262 Raise xorg-macros requirement to 1.4 13263 13264 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 13265 depend on the INSTALL file delivered in xorg-macros 1.4 13266 13267 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13268 13269commit 9df349a7894725f9469b106af645f57f7f3f9af3 13270Author: James Cloos <cloos@jhcloos.com> 13271Date: Wed Jan 13 11:04:38 2010 -0500 13272 13273 Allow inclusion of system level compose files. 13274 13275 With the release of XFree86 4.4 an inclusion system of compose files was 13276 added to Xlib to allow inclusion of the default compose file (with %L), 13277 any compose files from user’s home directory (with %H), or a compose 13278 file with a hard coded path¹. However, even today including system level 13279 compose files is not possible in a platform independent manner although 13280 the machinery for including compose files and overriding previously 13281 defined compositions is already in place. 13282 13283 With the ability to include system level compose files one could greatly 13284 reduce the need for compose file rule duplication and the work needed to 13285 propagate changes in one compose file to others. For example, currently 13286 the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 13287 is almost identical with en_US.UTF-8 except for perhaps half a dozen 13288 compositions. 13289 13290 This commit allows one to include system level compose files with the 13291 following kind of syntax: 13292 13293 include "%S/en_US.UTF-8/Compose" 13294 13295 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 13296 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 13297 13298 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 13299 Signed-off-by: James Cloos <cloos@jhcloos.com> 13300 13301commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 13302Author: Thien-Thi Nguyen <ttn@gnuvola.org> 13303Date: Tue Dec 1 10:31:47 2009 +0100 13304 13305 libX11: Fix comment: Invert polarity (direction) of reformat description. 13306 13307 Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 13308 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13309 13310commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 13311Author: Osamu Sayama <osamu.sayama@sun.com> 13312Date: Tue Jan 5 17:26:40 2010 -0800 13313 13314 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 13315 13316 - In set_fontset_extents, check font_data is not NULL before running 13317 loop that may increment it to a non-NULL invalid pointer. 13318 - Make sure get_rotate_fontname counts the final field 13319 13320 Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 13321 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 13322 13323 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13324 Reviewed-by: Adam Jackson <ajax@redhat.com> 13325 13326commit 87529c039050ce3336ff9ce00f1b5a21d15690da 13327Author: Alan Coopersmith <alan.coopersmith@sun.com> 13328Date: Tue Jan 5 18:02:37 2010 -0800 13329 13330 Merge X11, XKBPROTO, & XPROTO pkg-config lists 13331 13332 Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 13333 in configure.ac anyway, might as well combine the lists passed to 13334 PKG_CHECK_MODULES to reduce duplication in the flags. 13335 13336 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13337 Reviewed-by: Rémi Cardona <remi@gentoo.org> 13338 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 13339 13340commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 13341Author: Alan Coopersmith <alan.coopersmith@sun.com> 13342Date: Tue Jan 5 17:56:58 2010 -0800 13343 13344 Add XCompose man page shadow for Compose man page 13345 13346 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13347 13348commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 13349Author: Alan Coopersmith <alan.coopersmith@sun.com> 13350Date: Tue Jan 5 17:47:44 2010 -0800 13351 13352 Add $(AM_V_GEN) to silence lint rules too 13353 13354 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13355 13356commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 13357Author: Alan Coopersmith <alan.coopersmith@sun.com> 13358Date: Tue Jan 5 17:42:42 2010 -0800 13359 13360 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 13361 13362 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13363 13364commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 13365Author: Gaetan Nadon <memsize@videotron.ca> 13366Date: Sun Nov 29 10:44:24 2009 -0500 13367 13368 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 13369 13370 It must be following AC_USE_SYSTEM_EXTENSION 13371 13372commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 13373Author: Gaetan Nadon <memsize@videotron.ca> 13374Date: Sun Nov 29 10:01:44 2009 -0500 13375 13376 Add .gitignore in /specs for generated files 13377 13378 Being in /specs, it will apply for all 3 subdirs 13379 13380commit f45d39d37aab04742e44cd8c3c993aad7587e40c 13381Author: Gaetan Nadon <memsize@videotron.ca> 13382Date: Fri Nov 27 20:56:03 2009 -0500 13383 13384 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 13385 13386 Now that the INSTALL file is generated. 13387 Allows running make maintainer-clean. 13388 13389commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 13390Author: Gaetan Nadon <memsize@videotron.ca> 13391Date: Wed Oct 28 14:09:10 2009 -0400 13392 13393 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 13394 13395 Add missing INSTALL file. Use standard GNU file on building tarball 13396 README may have been updated 13397 Remove AUTHORS file as it is empty and no content available yet. 13398 Remove NEWS file as it is empty and no content available yet. 13399 13400commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 13401Author: Gaetan Nadon <memsize@videotron.ca> 13402Date: Tue Oct 27 15:07:25 2009 -0400 13403 13404 Deploy the new XORG_DEFAULT_OPTIONS #24242 13405 13406 This macro aggregate a number of existing macros that sets commmon 13407 X.Org components configuration options. It shields the configuration file from 13408 future changes. 13409 13410commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 13411Author: Gaetan Nadon <memsize@videotron.ca> 13412Date: Mon Oct 26 22:08:42 2009 -0400 13413 13414 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 13415 13416 ChangeLog filename is known to Automake and requires no further 13417 coding in the makefile. 13418 13419commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 13420Author: Gaetan Nadon <memsize@videotron.ca> 13421Date: Thu Oct 22 12:34:19 2009 -0400 13422 13423 .gitignore: use common defaults with custom section # 24239 13424 13425 Using common defaults will reduce errors and maintenance. 13426 Only the very small or inexistent custom section need periodic maintenance 13427 when the structure of the component changes. Do not edit defaults. 13428 13429commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 13430Author: Alan Coopersmith <alan.coopersmith@sun.com> 13431Date: Thu Nov 12 23:05:40 2009 -0800 13432 13433 Add compose-check.pl to EXTRA_DIST 13434 13435 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13436 13437commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 13438Author: Julien Cristau <jcristau@debian.org> 13439Date: Thu Oct 29 17:17:24 2009 +0100 13440 13441 man: fix XCopyGC argument order 13442 13443 Ubuntu bug#408337 13444 13445commit aad10032651cdc2a53b359035954454a28d6db67 13446Author: Alan Coopersmith <alan.coopersmith@sun.com> 13447Date: Fri Oct 23 13:55:14 2009 -0700 13448 13449 libX11 1.3.2 13450 13451 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13452 13453commit 6303ada89cb228c0f9656036f798703afb42fc29 13454Author: Peter Hutterer <peter.hutterer@who-t.net> 13455Date: Wed Oct 21 12:42:07 2009 +1000 13456 13457 Add smiley faces to compose sequences. 13458 13459 I wonder how we could have lasted that long without them. 13460 13461 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13462 Acked-by: Daniel Stone <daniel@fooishbar.org> 13463 Acked-By: James Cloos <cloos@jhcloos.com> 13464 13465commit 0e104ebd8628803c27e36b16922ad1edd891325a 13466Author: Alan Coopersmith <alan.coopersmith@sun.com> 13467Date: Thu Oct 22 23:12:30 2009 -0700 13468 13469 Add man page for Compose file format 13470 13471 Based on grammar description in modules/im/ximcp/imLcPrs.c and 13472 note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 13473 13474 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13475 13476commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 13477Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 13478Date: Tue Oct 20 12:46:03 2009 -0700 13479 13480 Add extra configuration and sanity checks for groff and ps2pdf 13481 13482 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 13483 environment variables. 13484 2) Check that groff -ms works 13485 13486 Some distributions ship the ms macros as a separate package which may 13487 not be installed together with groff, so we need to make sure that groff 13488 works and the required macros are actually installed before attempting 13489 to build the specs. 13490 13491 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 13492 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 13493 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 13494 13495commit d3f801fd2f9198eaad6797414dba652f9c006c6d 13496Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 13497Date: Sun Oct 18 17:34:53 2009 -0500 13498 13499 Fix VPATH build of libX11 specs 13500 13501 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 13502 13503commit ad15e1a89d30ccc11d80745897b83def1448e8c0 13504Author: Alan Coopersmith <alan.coopersmith@sun.com> 13505Date: Sat Oct 17 16:14:34 2009 -0700 13506 13507 libX11 1.3.1 13508 13509 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13510 13511commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 13512Author: Alan Coopersmith <alan.coopersmith@sun.com> 13513Date: Sat Oct 17 16:28:25 2009 -0700 13514 13515 Fix make distcheck 13516 13517 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13518 13519commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 13520Author: Alan Coopersmith <alan.coopersmith@sun.com> 13521Date: Fri Oct 16 19:25:35 2009 -0700 13522 13523 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 13524 13525 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13526 13527commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 13528Author: Alan Coopersmith <alan.coopersmith@sun.com> 13529Date: Wed Oct 14 16:18:24 2009 -0700 13530 13531 Move libX11 & XIM/locale specs from xorg-docs 13532 13533 If groff is found, and --disable-specs is not passed to configure, 13534 specs will be converted to text, html and ps (or pdf if ps2pdf is 13535 found) and installed to $(docdir) 13536 13537 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13538 13539commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 13540Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 13541Date: Tue Oct 13 19:15:51 2009 -0500 13542 13543 Provide _Xsetlocale compat wrappers on Cygwin 13544 13545 Previous versions of Cygwin did not have proper locale support, so Cygwin/X 13546 defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 13547 support, but we can't remove the _Xsetlocale entry point without breaking 13548 ABI. 13549 13550 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 13551 13552commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 13553Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 13554Date: Tue Oct 13 19:15:49 2009 -0500 13555 13556 dolt: add Cygwin to supported platforms 13557 13558 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 13559 13560commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 13561Author: Alan Coopersmith <alan.coopersmith@sun.com> 13562Date: Wed Oct 14 13:23:30 2009 -0700 13563 13564 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 13565 13566 Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 13567 13568 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13569 13570commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 13571Author: Jon TURNEY <jon.turney@dronecode.org.uk> 13572Date: Tue Feb 10 17:47:25 2009 +0000 13573 13574 Include sys/select.h for select() and struct timeval, if it exists 13575 13576 This is a cygwin build fix 13577 13578commit 383165916ddac91740d4c780174d4c0d07cdb994 13579Author: Xake <xake@rymdraket.net> 13580Date: Sun Sep 27 11:16:36 2009 +0200 13581 13582 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 13583 13584 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13585 13586commit 854269d55cdda8caf425515bfed2855e211a5ada 13587Author: Julien Cristau <jcristau@debian.org> 13588Date: Tue Oct 6 16:11:24 2009 +0200 13589 13590 configure: quote argument to m4_pattern_forbid 13591 13592 Without this, configure spits out 13593 ../configure: line 12364: ac_fn_c_check_member: command not found 13594 ../configure: line 12378: ac_fn_c_check_type: command not found 13595 13596 Also anchor the pattern to make it stricter. 13597 13598 Signed-off-by: Julien Cristau <jcristau@debian.org> 13599 13600commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 13601Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 13602Date: Thu Oct 1 22:20:38 2009 -0700 13603 13604 Split CFLAGS into CPPFLAGS and CFLAGS 13605 13606 On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 13607 X11 headers are in /some/prefix/include, they will be preferred over the 13608 shipped headers. This corrects that problem. 13609 13610commit d54caf1c9c55af8247621b7ba6afb20b23699839 13611Author: Peter Hutterer <peter.hutterer@who-t.net> 13612Date: Fri Oct 2 10:59:08 2009 +1000 13613 13614 libX11 1.3 13615 13616 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13617 13618commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 13619Author: Peter Hutterer <peter.hutterer@who-t.net> 13620Date: Fri Oct 2 12:10:29 2009 +1000 13621 13622 nls: remove duplicate Compose sequences from pt_BR.UTF-8 13623 13624 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13625 13626commit a293ae9e83739067fc92db1a39c262857bc2283e 13627Author: Peter Hutterer <peter.hutterer@who-t.net> 13628Date: Fri Sep 25 11:19:41 2009 +1000 13629 13630 Add XF86TouchpadToggle to XKeysymDB 13631 13632 Lenovo laptops provide a key to enable or disable the touchpad and the 13633 trackstick. This key is usually located on Fn + F8. 13634 13635 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13636 Acked-by: Adam Jackson <ajax@redhat.com> 13637 13638commit 69839f8903a24eab08f17a781b3797fb64dce9cf 13639Author: Alan Coopersmith <alan.coopersmith@sun.com> 13640Date: Sun Sep 27 10:34:16 2009 -0700 13641 13642 Bug 24173: libX11 from git fails to build with automake older then 1.11 13643 13644 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 13645 Makefiles, instead of after. 13646 <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 13647 13648 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13649 13650commit f5effd041f58ef07703cca2b4f396758811e1eec 13651Author: Alan Coopersmith <alan.coopersmith@sun.com> 13652Date: Wed Apr 15 10:59:23 2009 -0700 13653 13654 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 13655 13656 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13657 13658commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 13659Author: Alan Coopersmith <alan.coopersmith@sun.com> 13660Date: Wed Apr 15 10:56:09 2009 -0700 13661 13662 Add perl script to check for duplicate or conflicting compose file entries 13663 13664 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13665 13666commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 13667Author: Alan Coopersmith <alan.coopersmith@sun.com> 13668Date: Fri Sep 18 17:10:04 2009 -0700 13669 13670 Use make rules instead of shell for loops to generate shadow man pages 13671 13672 Allows parallel make and simpler build logs/error reporting 13673 13674 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13675 13676commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 13677Author: Alan Coopersmith <alan.coopersmith@sun.com> 13678Date: Fri Sep 18 16:58:53 2009 -0700 13679 13680 Add AM_SILENT_RULES support for cpp rules for man & nls files 13681 13682 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13683 13684commit bfa19cddd8546b4930a773f3bbd81137c362d82b 13685Author: Alan Coopersmith <alan.coopersmith@sun.com> 13686Date: Fri Sep 18 16:58:16 2009 -0700 13687 13688 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 13689 13690 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13691 13692commit 51396066c8003a96a6399c9a4bed2a81e512b582 13693Author: Mikko Niskanen <mikko.niskanen@iki.fi> 13694Date: Fri Sep 4 10:11:15 2009 +1000 13695 13696 Fix wrong typedef on HP-UX (#18998) 13697 13698 shl_dt doesn't exist, the type is shl_t. 13699 13700 X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 13701 13702 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13703 13704commit 615220a312b9430a580fe6dcf51703c6ef244f66 13705Author: Paul Bender <pebender@gmail.com> 13706Date: Fri Sep 4 09:57:10 2009 +1000 13707 13708 Don't require xdmcp in configure.ac (#22583) 13709 13710 X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 13711 13712 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13713 13714commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 13715Author: Peter Hutterer <peter.hutterer@who-t.net> 13716Date: Thu Sep 3 14:02:44 2009 +1000 13717 13718 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 13719 13720 X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 13721 13722 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13723 13724commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 13725Author: Peter Hutterer <peter.hutterer@who-t.net> 13726Date: Thu Sep 3 12:05:25 2009 +1000 13727 13728 man: XQueryTree may return BadWindow. (#23416) 13729 13730 X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 13731 13732 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13733 13734commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 13735Author: Alan Coopersmith <alan.coopersmith@sun.com> 13736Date: Fri Aug 28 23:07:58 2009 +0800 13737 13738 Fix version tag in .TH line of several XKB man pages 13739 13740 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13741 13742commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 13743Author: Alan Coopersmith <alan.coopersmith@sun.com> 13744Date: Fri Aug 28 23:04:38 2009 +0800 13745 13746 XkbSetDeviceButtonActions.man: remove non-existent actions argument 13747 13748 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13749 13750commit 53affa9335116f2d367f041e6502a411d4619e47 13751Author: Alan Coopersmith <alan.coopersmith@sun.com> 13752Date: Fri Aug 28 23:00:17 2009 +0800 13753 13754 XkbQueryExtension.man: Arguments should be pointers 13755 13756 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13757 13758commit 6233948885acc5873a5abddfff235afec555f3c2 13759Author: Alan Coopersmith <alan.coopersmith@sun.com> 13760Date: Fri Aug 28 22:53:03 2009 +0800 13761 13762 XkbSAActionSetCtrls.man: Fix typo in formatting macro 13763 13764 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13765 13766commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 13767Author: Alan Coopersmith <alan.coopersmith@sun.com> 13768Date: Fri Aug 28 22:49:31 2009 +0800 13769 13770 Convert Xkb API man pages to ANSI prototypes 13771 13772 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13773 13774commit fa2eecca85baab9616f7143cc1a853a594b4a90c 13775Author: James Cloos <cloos@jhcloos.com> 13776Date: Mon Aug 24 06:35:17 2009 -0400 13777 13778 Add some (Serbian) Cyrillic NFD sequences. 13779 13780 A number of characters in use in the various countries which use the 13781 Cyrillic script do not appear as pre-composed characters in The UCS 13782 or Unicode; they are only available as combining-character sequences. 13783 13784 This commit adds support for using (prefix) dead keys and Multi_key- 13785 initiated sequences to enter a number of these combining-character 13786 sequences. This ensures that users can enter these scripts even 13787 when using the current Cyrillic keymaps, which lack support for 13788 the combining characters. 13789 13790 Please see the discussions on the xkb mailing list. 13791 13792 Signed-off-by: James Cloos <cloos@jhcloos.com> 13793 13794commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 13795Author: Julien Cristau <jcristau@debian.org> 13796Date: Wed Aug 5 18:14:23 2009 +0200 13797 13798 man/xkb: delete spurious newline in .TH headers 13799 13800commit ee723b83b24682db833a2f0abd96cd319b8a62af 13801Author: Julien Cristau <jcristau@debian.org> 13802Date: Wed Aug 5 16:45:19 2009 +0200 13803 13804 man: use __libmansuffix__ instead of 3X11 for references to other pages 13805 13806commit 595e204feb82c798a92eea41fea03be6476ac181 13807Author: Julien Cristau <jcristau@debian.org> 13808Date: Wed Aug 5 16:43:36 2009 +0200 13809 13810 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 13811 13812commit 9da7e230d5320e1556ad2084fcd06ee7994385ea 13813Author: Peter Hutterer <peter.hutterer@who-t.net> 13814Date: Wed Aug 5 14:15:02 2009 +1000 13815 13816 Bump to 1.2.99.901 (1.3 RC1) 13817 13818 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13819 13820commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 13821Author: Filippo Giunchedi <filippo@debian.org> 13822Date: Sat Jun 6 16:56:54 2009 +0200 13823 13824 nls: add {left,right}wards arrow to compose table 13825 13826 Debian bug#532117 <http://bugs.debian.org/532117> 13827 13828 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13829 13830commit 7949bfa00390241d994f32463e50d4bd78920568 13831Author: Julien Cristau <jcristau@debian.org> 13832Date: Fri Jul 31 13:33:52 2009 +0200 13833 13834 Update library version for new symbols 13835 13836 Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 13837 cookie handling. Bump libX11 version number accordingly. 13838 13839 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13840 13841commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 13842Author: Julien Cristau <jcristau@debian.org> 13843Date: Sun Aug 2 17:18:31 2009 +0200 13844 13845 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 13846 13847 X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 13848 13849 Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 13850 Signed-off-by: Julien Cristau <jcristau@debian.org> 13851 13852commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 13853Author: Peter Hutterer <peter.hutterer@who-t.net> 13854Date: Wed Jul 29 08:44:09 2009 +1000 13855 13856 Fix compiler warning 'unused variable qelt' 13857 13858 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13859 13860commit 03f4907e14f5755e72309f08742977b871e81e33 13861Author: Peter Hutterer <peter.hutterer@who-t.net> 13862Date: Wed Jul 29 08:34:57 2009 +1000 13863 13864 Add utlist.h to the Makefile.am 13865 13866 utlist.h contains the linked list macros, it was added with the recent 13867 addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 13868 result, make dist failed. 13869 13870 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13871 13872commit 554f755e5545f63d3c8f299297927238da155773 13873Author: Peter Hutterer <peter.hutterer@who-t.net> 13874Date: Fri Jun 26 11:27:43 2009 +1000 13875 13876 Add generic event cookie handling to libX11. 13877 13878 Generic events require more bytes than Xlib provides in the standard XEvent. 13879 Memory allocated by the extension and stored as pointers inside the event is 13880 prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 13881 13882 This patch adds cookie handling for generic events. Extensions may register 13883 a cookie handler in addition to the normal event vectors. If an extension 13884 has registered a cookie handler, _all_ generic events for this extensions 13885 must be handled through cookies. Otherwise, the default event handler is 13886 used. 13887 13888 The cookie handler must return an XGenericEventCookie with a pointer to the 13889 data.The rest of the event (type, serialNumber, etc.) are to be filled as 13890 normal. When a client retrieves such a cookie event, the data is stored in 13891 an internal queue (the 'cookiejar'). This data is freed on the next call to 13892 XNextEvent(). 13893 13894 New extension interfaces: 13895 XESetWireToEventCookie(display, extension_number, cookie_handler) 13896 13897 Where cookie_handler must set cookie->data. The data pointer is of arbitray 13898 size and type but must be a single memory block. This memory block 13899 represents the actual extension's event. 13900 13901 New client interfaces: 13902 XGetEventData(display, *cookie); 13903 XFreeEventData(display, *cookie); 13904 13905 If the client needs the actual event data, it must call XGetEventData() with 13906 the cookie. This returns the data pointer (and removes it from the cookie 13907 jar) and the client is then responsible for freeing the event with 13908 XFreeEventData(). It is safe to call either function with a non-cookie 13909 event. Events unclaimed or not handled by the XGetEventData() are cleaned up 13910 automatically. 13911 13912 Example client code: 13913 XEvent event; 13914 XGenericEventCookie *cookie = &ev; 13915 13916 XNextEvent(display, &event); 13917 if (XGetEventData(display, cookie)) { 13918 XIEvent *xievent = cookie->data; 13919 ... 13920 } else if (cookie->type == GenericEvent) { 13921 /* handle generic event */ 13922 } else { 13923 /* handle extension/core event */ 13924 } 13925 XFreeEventData(display, cookie); 13926 13927 Cookies are not multi-threading safe. Clients that use XGetEventData() must 13928 lock between XNextEvent and XGetEventData to avoid other threads freeing 13929 cookies. 13930 13931 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13932 13933commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 13934Author: Peter Hutterer <peter.hutterer@who-t.net> 13935Date: Mon Jul 6 13:17:35 2009 +1000 13936 13937 Bump to 1.2.99.1 13938 13939 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13940 13941commit 75fe48e7a42a685d7098e8d7108b9b956c471563 13942Author: Peter Hutterer <peter.hutterer@who-t.net> 13943Date: Fri Jul 10 14:07:34 2009 +1000 13944 13945 Bump to 1.2.2 13946 13947 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13948 13949commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 13950Author: Peter Hutterer <peter.hutterer@who-t.net> 13951Date: Thu Jul 2 09:10:25 2009 +1000 13952 13953 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 13954 13955 GenericEvent cannot be selected for in the core event masks and they must 13956 thus be treated like extension events. 13957 13958 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13959 13960commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 13961Author: Peter Hutterer <peter.hutterer@who-t.net> 13962Date: Thu Jul 2 09:06:05 2009 +1000 13963 13964 XWindowEvent/XCheckWindowEvent must not return GenericEvents. 13965 13966 GenericEvents have no fixed position for the window, so they must be treated 13967 like extension events. 13968 13969 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13970 13971commit 38f9054554d63525d2dd51aafb5eb57821158ab9 13972Author: Alan Coopersmith <alan.coopersmith@sun.com> 13973Date: Mon Jun 15 19:00:43 2009 -0700 13974 13975 Drop ancient USG SysV #ifdefs 13976 13977 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13978 13979commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 13980Author: Adam Jackson <ajax@redhat.com> 13981Date: Fri Jun 12 12:44:01 2009 -0400 13982 13983 Remove X_NOT_STDC_ENV usage. (#6527) 13984 13985commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 13986Author: Julien Cristau <jcristau@debian.org> 13987Date: Fri May 29 11:18:11 2009 +0200 13988 13989 nls: remove more duplicated aliases 13990 13991 Signed-off-by: Julien Cristau <jcristau@debian.org> 13992 13993commit e4b0899f516da224010e68bd2d953d5293d94993 13994Author: parag <parag@rawhideTM.pnq.redhat.com> 13995Date: Thu May 28 11:29:35 2009 +0530 13996 13997 nls: Add pa_PK locale information and make pa_IN as default for pa. 13998 13999 X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 14000 14001 [jcristau: removed the pa_PK.UTF-8 alias to itself] 14002 14003 Signed-off-by: parag <pnemade@redhat.com> 14004 Signed-off-by: Julien Cristau <jcristau@debian.org> 14005 14006commit f0ea1f6d51145592f8617854f9320ec5dbff3299 14007Author: Julien Cristau <jcristau@debian.org> 14008Date: Fri May 29 10:58:20 2009 +0200 14009 14010 nls: remove broken sd_IN.UTF-8 alias 14011 14012 Signed-off-by: Julien Cristau <jcristau@debian.org> 14013 14014commit e29e010dabdb17d6498f2ef1786f69b8830c18ca 14015Author: Julien Cristau <jcristau@debian.org> 14016Date: Fri May 29 10:57:43 2009 +0200 14017 14018 nls: remove duplicated en_US* aliases 14019 14020 Signed-off-by: Julien Cristau <jcristau@debian.org> 14021 14022commit a89a300d87852c84389ad97db66dcb8930cb45dd 14023Author: Caolan McNamara <caolanm@redhat.com> 14024Date: Thu May 21 18:41:05 2009 +0200 14025 14026 man: missing space in XAllocColor man page 14027 14028 X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 14029 14030commit c1c001e36504fd304f76f69bf6af3643225c49ea 14031Author: James Cloos <cloos@jhcloos.com> 14032Date: Wed May 13 13:03:54 2009 -0400 14033 14034 [nls] Replace remaining UCS Combining Characters in Compose sequences. 14035 14036 The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 14037 where the keysym is used as a dead_key, with an actual dead_key symbol. 14038 14039 The only remaining instances of UCS combining characters in the 14040 compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 14041 used as a suffix in Multi_key-initiated sequences to create 14042 mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 14043 from ∈ U+2208 ELEMENT OF. 14044 14045commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 14046Author: James Cloos <cloos@jhcloos.com> 14047Date: Wed May 13 09:58:59 2009 -0400 14048 14049 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 14050 14051 This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 14052 where the matching keysym is used as a dead_key, and for which alternative 14053 compose sequences exist. 14054 14055commit 79f47e6dff2f0a0b673bbfecc47528edca814baa 14056Author: James Cloos <cloos@jhcloos.com> 14057Date: Fri May 8 20:11:54 2009 -0400 14058 14059 [nls] Remove combining_ keysyms from the Compose files 14060 14061 Some of the UTF-8 Compose tables included combining_ keysyms in 14062 the compose sequences as though they were dead symbols. This 14063 is contrary to how combining characters are used in the UCS. 14064 Therefore, those lines have been removed from the Compose tables. 14065 14066 There were also some combining_ keysyms as targets. As those 14067 are not included in x11proto’s keysymdef.h, and as those do 14068 exist there as Uxxxx keysyms, they are replaced with the Uxxxx 14069 keysym names. 14070 14071 This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 14072 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 14073 14074 Signed-off-by: James Cloos <cloos@jhcloos.com> 14075 14076commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 14077Author: parag <pnemade@redhat.com> 14078Date: Tue May 5 16:50:47 2009 +0530 14079 14080 libX11: Add new Indic language information to nls directory files. #21560 14081 14082 Signed-off-by: parag <pnemade@redhat.com> 14083 14084commit aaf81096eb44b4c2812108721ba02738391884da 14085Author: Alan Coopersmith <alan.coopersmith@sun.com> 14086Date: Sat May 2 01:38:14 2009 -0700 14087 14088 Correct return type in XkbGetKeyboard man page 14089 14090 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14091 14092commit 2bef065b70f70af520b5de8fb23529254d15f003 14093Author: Christoph Pfister <christophpfister@gmail.com> 14094Date: Mon Apr 27 22:32:57 2009 -0700 14095 14096 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 14097 14098 http://bugs.freedesktop.org/show_bug.cgi?id=21117 14099 14100 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14101 14102commit 5c1cde105db10df24d3c532f032cbc59050c7313 14103Author: Alan Coopersmith <alan.coopersmith@sun.com> 14104Date: Fri Apr 17 22:14:47 2009 -0700 14105 14106 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 14107 14108 Raises minimum autoconf version required to 2.60 14109 14110 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14111 14112commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 14113Author: Julien Cristau <jcristau@debian.org> 14114Date: Tue Apr 14 15:59:57 2009 +0100 14115 14116 Fix fi_FI.UTF-8, again 14117 14118 Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 14119 file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 14120 This reverts it back to using the en_US.UTF-8 one. 14121 14122commit 128daff4422f973ea40dd1e31b2db230e643549e 14123Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 14124Date: Thu Apr 9 12:01:07 2009 +0700 14125 14126 Thai XIM not retrieve MB surrounding on UTF-8 LC 14127 14128 On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 14129 that use X Input Method. 14130 14131 This is because GTK+ imxim immodule passes surrounding text in locale encoding, 14132 which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 14133 multi-byte StringConversionText response for the StringConversionCallback to 14134 always be TIS-620, by retrieving a single byte and using it as-is. 14135 14136 If the Thai XIM tries to convert the multi-byte text based on locale codeset 14137 before using it, it will work again. 14138 14139 X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 14140 14141 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 14142 Signed-off-by: Julien Cristau <jcristau@debian.org> 14143 14144commit e09f0d227fbf95b6252759af9d426efd57686f9f 14145Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 14146Date: Thu Apr 9 11:47:55 2009 +0700 14147 14148 Thai XIM not filters when NumLock or CapsLock is on 14149 14150 The Thai XIM component in libx11 activated on 'th*' locales normally filters 14151 input sequence according to orthographic rules. However, when NumLock/CapsLock 14152 is on, this stops working. All sequences are passed through. 14153 14154 This is caused by missing masks in _XimThaiFilter(), which normally screens out 14155 certain special keys from entering orthographic rules. Unfortunately, this 14156 included events with NumLock/CapsLock on. Negating the masks from the check 14157 allows the events to be tested by the rules. 14158 14159 X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 14160 14161 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 14162 Signed-off-by: Julien Cristau <jcristau@debian.org> 14163 14164commit d108d3c706af3502820b5202564488ea19908b77 14165Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 14166Date: Thu Apr 9 11:25:25 2009 +0700 14167 14168 CharSet-to-CompoundText Conversion Failed for Thai Locales 14169 14170 SCIM fails to commit Thai input characters on Thai locales, because it commits 14171 string in compound text form, which was converted via 14172 XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 14173 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 14174 src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 14175 So, declaring cs1 as ISO8859-11:GR instead makes it work. 14176 14177 Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 14178 support for UTF-8 input. 14179 14180 And, along discussion in the bug, a similar problem was found for fontset, too, 14181 by causing delays on X apps startups on systems without tis620-0 fonts. This 14182 is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 14183 by default for Thai X fonts. So, Thai fontset charset is also patched. 14184 14185 X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 14186 14187 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 14188 Signed-off-by: Julien Cristau <jcristau@debian.org> 14189 14190commit fd62d3318c846cd43d66a505946e94704d7d83dc 14191Author: Alan Coopersmith <alan.coopersmith@sun.com> 14192Date: Wed Apr 8 19:42:25 2009 -0700 14193 14194 Revert "Change masculine to ordmasculine in Compose file comments" 14195 14196 This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 14197 14198 As Julien Cristau correctly points out, I misread the Compose file grammar 14199 in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 14200 the keysym is named XK_masculine in keysymdef.h. This change is thus a 14201 bug in the Solaris compose tables to be fixed, not an improvement to bring 14202 upstream. 14203 14204commit eac57c77afdf44f50692225b8b0345a7c927bc84 14205Author: Alan Coopersmith <alan.coopersmith@sun.com> 14206Date: Tue Apr 7 15:38:45 2009 -0700 14207 14208 Version bump: 1.2.1 14209 14210 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14211 14212commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 14213Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 14214Date: Tue Apr 7 13:46:57 2009 -0700 14215 14216 Bug 20773: Xcursor dynamic loading on Cygwin 14217 14218 X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 14219 Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 14220 14221 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14222 14223commit c8c41614911be4fa222fa22478677d263b41c751 14224Author: Alan Coopersmith <alan.coopersmith@sun.com> 14225Date: Mon Apr 6 16:52:46 2009 -0700 14226 14227 Fix a several sparse warnings: Using plain integer as NULL pointer 14228 14229 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14230 14231commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 14232Author: Alan Coopersmith <alan.coopersmith@sun.com> 14233Date: Mon Apr 6 16:32:05 2009 -0700 14234 14235 Further ansify prototypes & reduce #ifdefs in locking.c 14236 14237 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14238 14239commit 892b401d5acc055803a20e349ede0d64490f2230 14240Author: Alan Coopersmith <alan.coopersmith@sun.com> 14241Date: Mon Apr 6 10:50:09 2009 -0700 14242 14243 Change masculine to ordmasculine in Compose file comments 14244 14245 Matches the ordfeminine name used for the matching character, 14246 and the ordmasculine name used in many font descriptions of the glyph. 14247 14248 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14249 14250commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 14251Author: Julien Cristau <jcristau@debian.org> 14252Date: Fri Mar 13 13:52:33 2009 +0100 14253 14254 Add a ru_RU.UTF-8 locale 14255 14256 Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 14257 14258 Debian bug#330144 <http://bugs.debian.org/330144> 14259 X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 14260 14261commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 14262Author: Alan Coopersmith <alan.coopersmith@sun.com> 14263Date: Wed Mar 25 17:59:09 2009 -0700 14264 14265 Delete some unused "#ifdef notdef" static functions 14266 14267 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14268 14269commit 4281892e31058ef3aecc96a5767824b34d88d415 14270Author: Alan Coopersmith <alan.coopersmith@sun.com> 14271Date: Wed Mar 25 17:52:48 2009 -0700 14272 14273 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 14274 14275 This copy of Xrm.c is never compiled into the Xprint server any more, so 14276 this old code-sharing #ifdef from the monolith tree isn't needed. 14277 14278 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14279 14280commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 14281Author: Alan Coopersmith <alan.coopersmith@sun.com> 14282Date: Tue Mar 17 18:38:58 2009 -0700 14283 14284 makekeys: combine malloc(strlen)+strcpy into strdup 14285 14286 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14287 14288commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 14289Author: Alan Coopersmith <alan.coopersmith@sun.com> 14290Date: Tue Mar 17 15:42:19 2009 -0700 14291 14292 When makekeys fails to find a good hash, print error instead of divide-by-zero 14293 14294 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14295 14296commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 14297Author: Alan Coopersmith <alan.coopersmith@sun.com> 14298Date: Tue Mar 17 14:59:16 2009 -0700 14299 14300 Remove ifdef checks for macII left over from ancient A/UX 3.0 support 14301 14302 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14303 14304commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 14305Author: Alan Coopersmith <alan.coopersmith@sun.com> 14306Date: Mon Mar 16 18:37:49 2009 -0700 14307 14308 XErrorDB additions for DRI2 requests 14309 14310 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14311 14312commit 273f45af1441be9d2135e4cac8c46ceb33470236 14313Author: Alan Coopersmith <alan.coopersmith@sun.com> 14314Date: Mon Mar 16 18:35:44 2009 -0700 14315 14316 XErrorDB additions for XInput errors and new XInput 1.5 requests 14317 14318 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14319 14320commit 90ef36f6336068183bf9d13ca972202db35b1202 14321Author: Alan Coopersmith <alan.coopersmith@sun.com> 14322Date: Mon Mar 16 18:23:05 2009 -0700 14323 14324 XErrorDB additions for RANDR 1.3 14325 14326 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14327 14328commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 14329Author: Lubos Lunak <l.lunak@suse.cz> 14330Date: Mon Mar 16 18:03:36 2009 -0700 14331 14332 XErrorDB updates for XTEST, RANDR, DAMAGE extensions 14333 14334 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 14335 14336 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14337 14338commit 80811846e37b805fddb37c71589fd5f6f6037b3f 14339Author: Lubos Lunak <l.lunak@suse.cz> 14340Date: Mon Mar 16 17:57:52 2009 -0700 14341 14342 XGetErrorText() fails for extension error codes equal to the error base 14343 14344 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 14345 14346 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14347 14348commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 14349Author: Milos Komarcevic <miloskomarcevic@netscape.net> 14350Date: Mon Mar 16 17:43:26 2009 -0700 14351 14352 Bug 11456: Serbian locale updates (sr_RS and sr_ME) 14353 14354 X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 14355 Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 14356 14357 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14358 14359commit 934a6c0519a9e32505beee55b004f36c2a710217 14360Author: Alan Coopersmith <alan.coopersmith@sun.com> 14361Date: Mon Mar 16 14:55:22 2009 -0700 14362 14363 Bug 10082: Compose entries for some standard mathematical operators 14364 14365 X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 14366 14367 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14368 14369commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 14370Author: Alan Coopersmith <alan.coopersmith@sun.com> 14371Date: Mon Mar 16 14:27:46 2009 -0700 14372 14373 Bug 14651: We need to add new locale specification for Belarusian Latin locale 14374 14375 X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 14376 14377 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14378 14379commit 837703c8651e1321a50147a8311c56e4758ce08a 14380Author: Caolan McNamara <caolanm@redhat.com> 14381Date: Mon Mar 16 14:15:50 2009 -0700 14382 14383 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 14384 14385 X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 14386 Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 14387 14388 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14389 14390commit 22199018879055d8653e59d8236bef57164fac66 14391Author: Alan Coopersmith <alan.coopersmith@sun.com> 14392Date: Mon Mar 16 13:28:18 2009 -0700 14393 14394 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 14395 14396 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14397 14398commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 14399Author: Alan Coopersmith <alan.coopersmith@sun.com> 14400Date: Thu Mar 12 18:57:20 2009 -0700 14401 14402 Bug 9953: Please provide locale alias hu_HU.utf8 14403 14404 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 14405 Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 14406 14407 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14408 14409commit 501f4e0ada1690783ada05ad412e4b191ad55336 14410Author: Alan Coopersmith <alan.coopersmith@sun.com> 14411Date: Thu Mar 12 17:38:21 2009 -0700 14412 14413 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 14414 14415 X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 14416 Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 14417 14418 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14419 14420commit 7b9c543e7210c7da204871c31a160e79d3a949b6 14421Author: Paul Bender <pebender@gmail.com> 14422Date: Thu Mar 12 17:11:42 2009 -0700 14423 14424 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 14425 14426 X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 14427 Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 14428 14429 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14430 14431commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 14432Author: Xue Wei <Wei.Xue@Sun.COM> 14433Date: Wed Mar 4 19:32:29 2009 -0800 14434 14435 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 14436 14437 Sun bug 6809309 Add new utf8 locales supported by Xlib 14438 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 14439 14440 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14441 14442commit cb70c9bc43267577859a3674ca9de9be396ba69e 14443Author: Alan Coopersmith <alan.coopersmith@sun.com> 14444Date: Mon Feb 23 19:29:15 2009 -0800 14445 14446 Add --with-locale-lib-dir configure option to set locale lib install dir 14447 14448 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14449 14450commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 14451Author: Alan Coopersmith <alan.coopersmith@sun.com> 14452Date: Mon Feb 23 18:33:51 2009 -0800 14453 14454 Incorporate more locale names/aliases from Solaris libX11 14455 14456 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14457 14458commit 83ce4daefdf544f801c7d666c89162690a36ce41 14459Author: Alan Coopersmith <alan.coopersmith@sun.com> 14460Date: Mon Feb 23 18:32:34 2009 -0800 14461 14462 Incorporate char range comments from Solaris version of ksc5601.h 14463 14464 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14465 14466commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 14467Author: Chris Ball <cjb@laptop.org> 14468Date: Sat Feb 21 14:48:42 2009 -0500 14469 14470 Fix fi_FI locale install directory. 14471 14472 fi_FI was setting "x11thislocaledir" to en_US, with the result that its 14473 locale data was written in that locale dir. 14474 14475 Signed-off-by: Chris Ball <cjb@laptop.org> 14476 14477commit da6bbca07c796c69172a649405474f03bee66754 14478Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 14479Date: Sat Feb 21 20:17:23 2009 +0100 14480 14481 xcb_io: Avoid datatype overflow on AMD64 and friends. 14482 14483commit 4ef6491afa69e8441caee7bbebc583e6e796275e 14484Author: Chris Ball <cjb@laptop.org> 14485Date: Sat Feb 21 12:51:03 2009 -0500 14486 14487 Build fix for fi_FI. 14488 14489 Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 14490 Makefile is written there by configure. 14491 14492 Signed-off-by: Chris Ball <cjb@laptop.org> 14493 14494commit 642c4e928e770e012379539a6ce09e11c02f09a6 14495Author: Julien Cristau <jcristau@debian.org> 14496Date: Sat Feb 21 03:12:05 2009 +0100 14497 14498 nls: actually use the fi_FI.UTF-8 files 14499 14500 The subdir wasn't added to nls/Makefile.am 14501 14502commit 9bad8309ef289bb943651abf6967b24fa2252aac 14503Author: Alan Coopersmith <alan.coopersmith@sun.com> 14504Date: Fri Feb 20 14:45:54 2009 -0800 14505 14506 flags member of Display structure needs to be marked volatile 14507 14508 Since the Xlib multithreaded code checks the flags variable in _XFlushInt 14509 to see if the other threads are done yet, it has to be marked volatile so 14510 the compiler doesn't optimize out re-loading it on each trip through the 14511 while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 14512 14513 Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 14514 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 14515 14516 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14517 14518commit ef5c446395aa30d7b1096a112e241a81c5b358e7 14519Author: Xue Wei <Wei.Xue@Sun.COM> 14520Date: Fri Feb 20 15:12:35 2009 -0800 14521 14522 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 14523 14524 Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 14525 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 14526 14527 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14528 14529commit 3822f2654e9630167f0c6cae317b472c09771672 14530Author: Xue Wei <Wei.Xue@Sun.COM> 14531Date: Fri Feb 20 15:03:51 2009 -0800 14532 14533 Add locale aliases for no_NO & sh_BA locale variants 14534 14535 Fixes Sun bug id 6691219: xterm refuses to start in some locales 14536 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 14537 14538 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14539 14540commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 14541Author: Xue Wei <Wei.Xue@Sun.COM> 14542Date: Fri Feb 20 14:23:11 2009 -0800 14543 14544 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 14545 14546 Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 14547 changing keyboard layout with gimlet does not work") 14548 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 14549 14550 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14551 14552commit d497301707962f3b94542e999a36abffcfbd303d 14553Author: Julien Cristau <jcristau@debian.org> 14554Date: Tue Feb 17 16:09:41 2009 +0100 14555 14556 Bump to 1.2 14557 14558commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 14559Author: Julien Cristau <jcristau@debian.org> 14560Date: Tue Feb 17 15:23:40 2009 +0100 14561 14562 Check Xmalloc return value in _XConnectXCB 14563 14564 X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 14565 14566 Signed-off-by: Julien Cristau <jcristau@debian.org> 14567 14568commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 14569Author: James Cloos <cloos@jhcloos.com> 14570Date: Sat Feb 14 12:35:56 2009 -0500 14571 14572 dolt: allow older versions of bash to compile the library 14573 14574 Cf xserver commit 7be6520d and bugzilla #19031. 14575 14576commit 20982d6866e24453642b0b592fa0f13a88aa747c 14577Author: Will Thompson <will@willthompson.co.uk> 14578Date: Thu Feb 5 02:53:06 2009 +1100 14579 14580 NLS: Compose: Non-aliasing CCCP 14581 14582 Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 14583 14584 Signed-off-by: Will Thompson <will@willthompson.co.uk> 14585 Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 14586 14587commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 14588Author: Will Thompson <will@willthompson.co.uk> 14589Date: Wed Feb 4 14:51:11 2009 +0000 14590 14591 Add two essential compose sequences 14592 14593 Signed-off-by: Will Thompson <will@willthompson.co.uk> 14594 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 14595 14596commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 14597Author: Alan Coopersmith <alan.coopersmith@sun.com> 14598Date: Mon Feb 2 20:34:31 2009 -0800 14599 14600 Add README with pointers to mailing list, bugzilla & git repos 14601 14602 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14603 14604commit f682c27e93512773122887d2cbabb1657af45d2e 14605Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14606Date: Mon Feb 2 16:36:39 2009 -0200 14607 14608 Check if a function argument is NULL. 14609 14610 This was an addition to patch (also by me) 14611 https://bugs.freedesktop.org/attachment.cgi?id=14660 14612 that was not added when rediscovering/correcting the problem. 14613 14614commit 427e9d45d424b84efd9fc499aebf8d72392844c5 14615Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14616Date: Thu Feb 28 15:58:12 2008 -0300 14617 14618 Allow multiple inclusions of cursorfont.h, cosmetic patch. 14619 14620commit b91524a53e691f6a5d278fd8972b48a14ebeedeb 14621Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14622Date: Thu Feb 28 15:54:43 2008 -0300 14623 14624 Don't add prototypes for functions that don't exist. 14625 14626 Note that a full review was not done, only for functions that receive 14627 char/short arguments, or one of it's parameters is a function pointer 14628 that requires char/short arguments. 14629 14630commit 537eb52fe266ac439c4b383bb04a70017b709911 14631Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14632Date: Thu Feb 28 15:50:27 2008 -0300 14633 14634 WORD64 compile fix. This bug catched on a overview of the code. 14635 14636 The code is wrong since the first git revision, so it seens that it has 14637 not been compiled with WORD64 for quite some time, there is also another 14638 interesting code in xkb/XKBRdBuf.c: 14639 <hash>ifdef WORD64 14640 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 14641 <hash>endif 14642 and possibly there are other similar problems. 14643 14644commit ffd0300fb74c6183208ae599133f2ded09e08d97 14645Author: Brian Rogers <brian@xyzw.org> 14646Date: Sat Jan 31 10:37:51 2009 -0800 14647 14648 Initialize event_notify after allocating the memory for it. 14649 14650 An uninitialized or otherwise invalid condition variable can apparently 14651 cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 14652 at least are freezing as a result of event_notify never being initialized. 14653 14654 Signed-off-by: Brian Rogers <brian@xyzw.org> 14655 Signed-off-by: Bart Massey <bart@cs.pdx.edu> 14656 14657commit 97fc6babd4ccaf300e25708868aa2a738893dc30 14658Author: James Cloos <cloos@jhcloos.com> 14659Date: Thu Jan 29 20:10:41 2009 -0500 14660 14661 NLS: Add UTF-8 compose file for Finnish 14662 14663 From bug report: 14664 14665 https://bugs.freedesktop.org/show_bug.cgi?id=18747 14666 14667commit 1bd2966ed88f83479a066c6ca7da23a515979550 14668Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14669Date: Thu Jan 29 20:25:15 2009 -0200 14670 14671 patches to avoid gcc warnings for libX11 (#4) 14672 14673 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 14674 Bug #17946, attachment #19443 14675 14676 This patch avoids the gcc warning 14677 ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 14678 (same as already done at other places) 14679 14680 BTW: what is the difference between XIM (the type of ic->core.im) 14681 and Xim ? 14682 14683commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 14684Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14685Date: Thu Jan 29 20:22:21 2009 -0200 14686 14687 patches to avoid gcc warnings for libX11 (#3) 14688 14689 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 14690 Bug #17946, attachment #19441 14691 14692 This patch avoids the two gcc warnings 14693 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 14694 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 14695 14696 Note, that this as a rather crude fix of the problem (and it is really a 14697 shame to cast name_table to non-const). 14698 14699 The right solution would be to declare XIMValuesList.supported_values 14700 (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 14701 This will, however, require extensive modifications in various places. 14702 14703commit cce75c5dce73fe1f8626ed9e6798138ada09a860 14704Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14705Date: Thu Jan 29 20:20:18 2009 -0200 14706 14707 patches to avoid gcc warnings for libX11 (#2) 14708 14709 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 14710 Bug #17946, attachment #19440 14711 14712 Avoid a preprocessor message 14713 <stdin>:194: warning: no newline at end of file 14714 14715 Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 14716 seem to be caused by a truncated (or otherwise incomplete) 14717 manpage. 14718 14719commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 14720Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14721Date: Thu Jan 29 20:12:24 2009 -0200 14722 14723 patches to avoid gcc warnings for libX11 (#1) 14724 14725 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 14726 Bug #17946, attachment #19439 14727 14728 Define as 1 (one) as done by autoconf and the command line 14729 option, e.g. -DX11_t, not as empty. 14730 14731 This avoids the gcc (3.4.6) warnings: 14732 ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 14733 <command line>:7:1: warning: this is the location of the previous definition 14734 ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 14735 <command line>:8:1: warning: this is the location of the previous definition 14736 14737 Similarly, follow the autoconf convention to define XTHREADS 14738 and XUSE_MTSAFE_API as one. 14739 14740 This avoids analogous warnings when compiling libXcomposite, 14741 libXcursor, and libXdamage. 14742 14743 No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 14744 14745commit a1977883c9f5ef0e515569d6e2ebccb07411f98c 14746Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14747Date: Thu Jan 29 15:01:06 2009 -0200 14748 14749 Janitor: Correct some gcc/sparse warnings. 14750 14751 Most remaining warnings are about XIM/Xim to/from conversion 14752 and discarding const from pointers. 14753 14754commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 14755Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14756Date: Wed Jan 28 20:31:42 2009 -0200 14757 14758 Janitor: ansification, make distcheck, compiler warnings. 14759 14760 Only convert to use "ansi prototypes" the functions warned from 14761 compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 14762 14763 Also, only address "trivial" compiler warning fixes in this commit. 14764 14765 The new .gitignore is the output of a command like: 14766 % find . -name .gitignore -exec cat {} \; | sort | uniq 14767 and only the toplevel .gitignore file was kept. 14768 14769commit 091c1624fd2f9d933329d6152e4ecd865aa7903a 14770Author: Peter Hutterer <peter.hutterer@who-t.net> 14771Date: Tue Jan 13 12:05:54 2009 +1000 14772 14773 Fix wrong implies symbol. 14774 14775 Quote Simos Xenitellis: 14776 > I checked the gtk+ commit logs that go back to 2000, and I see that still it 14777 > was 14778 > 14779 > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 14780 > DOUBLE ARROW */ 14781 > 14782 > In XFree86, it appears there was an error when they converted the 14783 > original table to 14784 > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 14785 > and the problem still shows up there (November 2000). 14786 14787 http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 14788 14789 Reported by Erik Streb del Toro. 14790 14791commit e32521f19e0b07649b7e3a03d56a2bd556b138fb 14792Author: James Cloos <cloos@jhcloos.com> 14793Date: Sun Dec 7 04:13:34 2008 -0500 14794 14795 [i18n] s/U00DC/Udiaeresis/g 14796 14797 The xkeyboard-config keyboards generate the symbol Udiaeresis, not 14798 U00DC. Make sure the relevant Compose sequences expect the symbol 14799 which the keyboards actually send. 14800 14801commit b7502abfe22f8dc009b21cda1172af221d8f9f32 14802Author: James Cloos <cloos@jhcloos.com> 14803Date: Sun Dec 7 04:09:46 2008 -0500 14804 14805 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 14806 14807 As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 14808 14809 This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 14810 14811commit c9d20e3f697c9cfae5511412023362c1db7449b1 14812Author: James Cloos <cloos@jhcloos.com> 14813Date: Sun Dec 7 04:08:23 2008 -0500 14814 14815 Use C comments rather than initial doubled hashes to exclude lines from .pre files 14816 14817commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 14818Author: vehemens <vehemens@verizon.net> 14819Date: Sun Dec 7 01:18:26 2008 -0500 14820 14821 [i18n] Distribute new headers which were added for gb18030 support. 14822 14823 big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 14824 make it into the tar. 14825 14826 Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 14827 14828 Signed-off-by: James Cloos <cloos@jhcloos.com> 14829 14830commit 418819558d2c60e58b4e3022ce0fadf2143488ac 14831Author: Stefan Dirsch <sndirsch@suse.de> 14832Date: Sat Nov 22 22:01:07 2008 +0100 14833 14834 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 14835 14836commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 14837Author: Stefan Dirsch <sndirsch@suse.de> 14838Date: Sat Nov 22 19:40:54 2008 +0100 14839 14840 Added remaining xlib patch required for gb18030 support (#1573). 14841 14842commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 14843Author: Stefan Dirsch <sndirsch@suse.de> 14844Date: Sat Nov 22 17:53:06 2008 +0100 14845 14846 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 14847 14848commit c859446c500c883a67f7a86cab1a44844e24dade 14849Author: Ken Thomases <ken@codeweavers.com> 14850Date: Fri Nov 21 13:58:10 2008 -0500 14851 14852 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 14853 14854 Signed-off-by: James Cloos <cloos@jhcloos.com> 14855 14856commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 14857Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 14858Date: Mon Nov 17 20:47:26 2008 -0800 14859 14860 Force local transport when using the launchd socket. 14861 14862 Fixes a regression due to 14863 bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 14864 14865commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 14866Author: Peter Hutterer <peter.hutterer@redhat.com> 14867Date: Fri Nov 14 10:32:50 2008 +1000 14868 14869 Add XF86Suspend, XF86Hibernate to KeysymDB. 14870 14871commit d16b11f25f8265e651def8d80bcd430c0448e664 14872Author: James Cloos <cloos@jhcloos.com> 14873Date: Tue Nov 11 19:43:39 2008 -0500 14874 14875 [nls] Annotate the Bépo compose sequences 14876 14877 Add comments with the UCS names. 14878 Add utf-8 strings for each result. 14879 Format for easy reading. 14880 14881commit 730298464240be6f65b32416b3f9b20062c61825 14882Author: James Cloos <cloos@jhcloos.com> 14883Date: Tue Nov 11 16:41:34 2008 -0500 14884 14885 [nls] Add some UTF-8 Compose sequences 14886 14887 As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 14888 14889 Cf. bugs: 14890 14891 https://bugs.freedesktop.org/show_bug.cgi?id=17821 14892 https://bugs.freedesktop.org/show_bug.cgi?id=17822 14893 14894commit ad6008a0c92733826983eb93f063d3d6276007d8 14895Author: Colin Harrison <colin.harrison@virgin.net> 14896Date: Thu Nov 6 17:48:21 2008 -0500 14897 14898 Fix copy/paste typo in imLcPrs 14899 14900 Signed-off-by: James Cloos <cloos@jhcloos.com> 14901 14902commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 14903Author: Adam Jackson <ajax@redhat.com> 14904Date: Thu Nov 6 14:54:13 2008 -0500 14905 14906 Fix leak in _XimXGetReadData 14907 14908 Spotted by Denis Dzyubenko 14909 14910commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 14911Author: Julien Cristau <jcristau@debian.org> 14912Date: Wed Nov 5 22:09:37 2008 +0100 14913 14914 Bump to 1.1.99.2 14915 14916commit d31e644c65c52828ea3e7abd94a8cf9aee12265c 14917Author: Julien Cristau <jcristau@debian.org> 14918Date: Wed Nov 5 21:33:13 2008 +0100 14919 14920 Fix distcheck 14921 14922commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 14923Author: Jamey Sharp <jamey@minilop.net> 14924Date: Wed Oct 29 14:00:33 2008 -0700 14925 14926 Support multiple independent internal sync handlers 14927 14928 Xlib has several independent tasks that need to be performed with the 14929 display unlocked. It does this by replacing the existing sync handler with 14930 one of a variety of internal sync handlers. However, if multiple internal 14931 sync handlers need to run, then the last one registering wins and 14932 previously registered internal sync handlers are never invoked. This 14933 manifested as a bug with DRI applications on Xlib/XCB as that requires 14934 both an XID handler after every XID allocation, and the periodic sequence 14935 number handler. The XID handler would win, and the sequence number handler 14936 would never be invoked. 14937 14938 Fix this by unifying the internal sync handler mechanism into a single 14939 function that calls all of the known internal sync handlers. They all need 14940 to deal with being called when not strictly necessary now. 14941 14942 Signed-off-by: Keith Packard <keithp@keithp.com> 14943 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14944 Signed-off-by: Josh Triplett <josh@freedesktop.org> 14945 14946commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 14947Author: Keith Packard <keithp@keithp.com> 14948Date: Sat Oct 11 21:44:21 2008 -0700 14949 14950 Ensure that _XReadEvents always leaves an event in the queue on return 14951 14952 XNextEvent assumes that the event queue will be non-empty on return from 14953 _XReadEvents, but with multiple event readers running, the previous change 14954 could leave the queue empty on return from process_responses. Re-invoke 14955 process_responses until the queue is non-empty. 14956 14957 Signed-off-by: Keith Packard <keithp@keithp.com> 14958 14959commit bedfe68259037c5564fe52758c92b9c97729640a 14960Author: Keith Packard <keithp@keithp.com> 14961Date: Sat Oct 11 21:10:23 2008 -0700 14962 14963 Permit only one Xlib thread to block waiting for events 14964 14965 As Xlib queues events internally, we must prevent multiple Xlib threads from 14966 entering XCB to wait for an event in case the queued event is to be 14967 delivered to the thread which didn't manage to read it. In other words, let 14968 only one Xlib thread into xcb_wait_for_event at a time. 14969 14970 Jamey Sharp looked over my shoulder while making this fix and, while hating 14971 my whitespace conventions, appears happy enough with the actual code. 14972 14973 Signed-off-by: Keith Packard <keithp@keithp.com> 14974 14975commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 14976Author: Jamey Sharp <jamey@minilop.net> 14977Date: Sun Mar 23 16:33:50 2008 -0700 14978 14979 Fix XAllocID race: hold the user display lock until we have a new XID. 14980 14981 Xlib built --without-xcb is also vulnerable to this race, and a similar 14982 fix might work there too. 14983 14984 Also, use an XID that's truly invalid while waiting for the next XID to be 14985 requested. 14986 14987commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 14988Author: Josh Triplett <josh@freedesktop.org> 14989Date: Sat Mar 15 17:22:23 2008 -0700 14990 14991 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 14992 14993 Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 14994 requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 14995 Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 14996 had to flush its requests when unlocking the display. 14997 14998 XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 14999 much of the existing Xlib/XCB implementation with the use of 15000 xcb_take_socket to take ownership of the write side of the X connection 15001 socket, and a return_socket callback which writes any outstanding requests 15002 with xcb_writev. This approach allows Xlib/XCB to use the same buffering 15003 as traditional Xlib did. In particular, programs which use Xlib/XCB and 15004 never make XCB calls will never need to hand the socket back to XCB, and 15005 vice versa. 15006 15007 This allows us to discard large quantities of synchronization code from 15008 Xlib/XCB, together with the synchronization bugs present in that code. 15009 Several test cases which previously failed now work perfectly, including 15010 multi-threaded ico. In addition, the infamous locking correctness 15011 assertions, triggered when double-locking or when unlocking without a 15012 previous lock, no longer exist, because Xlib/XCB no longer has any reason 15013 to care more about application locking than traditional Xlib does. 15014 15015 Furthermore, the handoff approach provides great improvements to 15016 performance. Results from x11perf's XNoOp test, which represented the 15017 worst case for the lock-based Xlib/XCB: 15018 15019 Traditional Xlib: average 19100000/sec 15020 Lock-based Xlib/XCB: average 3350000/sec 15021 Handoff-based Xlib/XCB: average 17400000/sec 15022 15023 Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 15024 Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 15025 performance. Of course, real-world workloads do not use no-op, so your 15026 mileage may vary. In particular, since no-ops represent the worst case, 15027 we expect real workloads to more closely match the performance of 15028 traditional Xlib. 15029 15030 While removing synchronization code, we changed _XReply to not drop any 15031 locks when calling xcb_wait_for_reply; previously, we had to carefully 15032 avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 15033 the locks reduces implementation complexity and should not impact 15034 applications. 15035 15036 Commit by Jamey Sharp and Josh Triplett. 15037 XCB's handoff mechanism inspired by Keith Packard. 15038 15039commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 15040Author: Chris Ball <cjb@laptop.org> 15041Date: Mon Nov 3 22:57:29 2008 -0500 15042 15043 Remove configure check for xcb-xlib. 15044 15045 xcb-xlib has been intentionally removed from libxcb; stop checking for 15046 it at configure-time. 15047 15048commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 15049Author: Josh Triplett <josh@freedesktop.org> 15050Date: Wed Oct 29 14:37:44 2008 -0700 15051 15052 .gitignore: Add dolt files 15053 15054commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 15055Author: Peter Hutterer <peter.hutterer@redhat.com> 15056Date: Tue Oct 28 11:56:55 2008 +1030 15057 15058 man: fix formatting error in XkbGetIndicatorState man page. 15059 15060commit b1022fa6d7e97640049e93ffa108083fc8d71b05 15061Author: James Cloos <cloos@jhcloos.com> 15062Date: Sat Oct 25 09:13:08 2008 -0400 15063 15064 Increase size of working arrays in the makekeys utility program. 15065 15066 Makekeys is used to create an optimal hash of the keysyms defined 15067 in x11proto’s keysymdef.h. 15068 15069 The recent addition of new keysyms there has triggered a bug in 15070 makekeys where it tries to use a zero on the rhs of the % (mod) 15071 operator (resulting in a divide by zero error) whenever it fails 15072 to find a solution within its constraints. 15073 15074 Increasing the size of the arrays allows it to find a solution for 15075 the current set of keysyms. 15076 15077 Makekeys is only run durring the build process, so this has no impact 15078 on users of libX11, only on the amount of VM needed to build it. 15079 15080 It still needs a more complete fix, but this allows compiles to 15081 progress until that is completed. 15082 15083commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 15084Author: James Cloos <cloos@jhcloos.com> 15085Date: Sat Oct 11 01:03:14 2008 -0400 15086 15087 Dolt-ify 15088 15089 Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 15090 15091commit 39c0b266cac8cbc15bf501d7869186862f01d823 15092Author: Peter Hutterer <peter.hutterer@redhat.com> 15093Date: Wed Oct 15 14:30:20 2008 +1030 15094 15095 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 15096 15097 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 15098 15099commit d23aad31338e7d869d878d5aa1b6b91d20287005 15100Author: Peter Hutterer <peter.hutterer@redhat.com> 15101Date: Mon Oct 13 09:41:59 2008 +1030 15102 15103 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 15104 15105commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 15106Author: Peter Hutterer <peter.hutterer@who-t.net> 15107Date: Thu Jul 24 15:44:26 2008 +0930 15108 15109 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 15110 15111 Thanks to Michael Meeks, Novell Bug 369263. 15112 https://bugzilla.novell.com/show_bug.cgi?id=369263 15113 15114commit e7ece39afc8e0adc3b6b1e70b337b98376754462 15115Author: Alan Coopersmith <alan.coopersmith@sun.com> 15116Date: Tue Oct 7 15:41:38 2008 -0700 15117 15118 Sun bug #6739431: double free in _X11TransConnectDisplay() 15119 15120 Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 15121 After copying original_hostname to phostname, set original_hostname 15122 to NULL, so we don't free the same pointer twice when we free both 15123 original_hostname and phostname. 15124 15125 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 15126 15127commit 0877bc916afbd1ff8f1833edc930b765ea783576 15128Author: Daniel Stone <daniel@fooishbar.org> 15129Date: Tue Sep 23 19:02:02 2008 +0300 15130 15131 configure.ac: Fix CC_FOR_BUILD logic error 15132 15133 Turns out we were accidentally smashing it so that you couldn't set it 15134 externally at all. Oops. 15135 15136commit 58bf3aa746908f01c37be7045699e43a4e270944 15137Author: John Tapsell <johnflux@gmail.com> 15138Date: Tue Sep 23 17:30:13 2008 +0300 15139 15140 Build: Use native compiler for makekeys 15141 15142 makekeys needs to be run during the build process, as opposed to on the 15143 target, so build it with either of gcc or cc to fix cross-compiling. 15144 This can be overridden by setting $CC_FOR_BUILD. 15145 15146commit 340422a5c7a413faef18666cada27cee14615250 15147Author: Adam Jackson <ajax@redhat.com> 15148Date: Wed Sep 17 12:54:34 2008 -0400 15149 15150 Fix the previous patch for the BadFont case. 15151 15152commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 15153Author: Matthias Clasen <mclasen@redhat.com> 15154Date: Wed Sep 17 10:43:52 2008 -0400 15155 15156 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 15157 15158commit db0b85db29699be6bf7e78dede655d59ba926dfc 15159Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 15160Date: Sun Sep 14 19:15:26 2008 -0400 15161 15162 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 15163 15164 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 15165 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 15166 ISO 8859 pt_BR Compose file) as the string but specify the keysym 15167 and comment for Ć and ć (c with acute accent). 15168 15169 This commit normalizes those two lines to match the specified string. 15170 15171 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 15172 15173 Signed-off-by: James Cloos <cloos@jhcloos.com> 15174 15175commit b065c011baa69b69e3ea77c30d5e153c0d103e2d 15176Author: Michael Verret <michael.verret@gmail.com> 15177Date: Mon Sep 8 16:33:35 2008 -0400 15178 15179 Fix documentation typo 15180 15181 Signed-off-by: James Cloos <cloos@jhcloos.com> 15182 15183commit 4213ea95185377bdd1b51e82933f331fc0f52e5b 15184Author: James Cloos <cloos@jhcloos.com> 15185Date: Sat Sep 6 04:19:19 2008 -0400 15186 15187 Remove extraneous <angle brackets> from the Ethiopic Compose file. 15188 15189 The am_ET.UTF-8 Compose file submitted in: 15190 15191 https://bugs.freedesktop.org/show_bug.cgi?id=11307 15192 15193 for the OLCP project used incorrect syntax. (It has angle brackets around the 15194 Uxxxx symbols on the right hand side rather than only on the left hand side). 15195 15196 This bug is noted in OLPC’s ticket: 15197 15198 http://dev.laptop.org/ticket/7474 15199 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 15200 15201commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 15202Author: James Cloos <cloos@jhcloos.com> 15203Date: Mon Sep 1 17:49:33 2008 -0400 15204 15205 Complete the set of vulgar fractions 15206 15207 Unicode 1.1 added thirds, fifths, sixths and eights; 15208 we might as well catch up. 15209 15210 (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 15211 and 0/3 (U2189) in their pipelines, but those four can be added 15212 here after they are published.) 15213 15214commit a788792e9de95f8db0639557859722a35087481d 15215Author: James Cloos <cloos@jhcloos.com> 15216Date: Wed Aug 20 15:28:07 2008 -0400 15217 15218 nls (en_US) Re-remove long compositions that override shorter 15219 15220 As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 15221 15222 Commit a6f4bbf7 15223 nls (en_US): remove long compositions that override shorter [...] 15224 removed some longer compose sequences because there are shorter 15225 ones which take preference over the longer. For example the 15226 sequences: 15227 15228 <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 15229 <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 15230 15231 were removed becase there already was: 15232 15233 <Multi_key> <apostrophe> <comma> : U201A # ‚ 15234 15235 Then commit 4ba09125 15236 Work on making the en_US and pt_BR UTF-8 Compose as similar as 15237 possible added exactly the same key sequences again. Obviusly 15238 they won't work. 15239 15240commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 15241Author: James Cloos <cloos@jhcloos.com> 15242Date: Thu Jul 17 21:01:42 2008 -0400 15243 15244 Add more <Multi_key> <cedilla> Compose tuples 15245 15246 The last commit missed the el_GR UTF-8 Compose.pre as well as 15247 the various ISO 8859 locales which have compose sequences 15248 generating ‘WITH CEDILLA’ characters. 15249 15250 (Interestingly, some of the 8859 locales already supported 15251 <Multi_key> <cedilla> for some CEDILLA characters, but not 15252 for Ç or ç.) 15253 15254 This is further work on bug 10397. 15255 15256commit 4ba091255bb953d53078ba5619d6751052c739f7 15257Author: James Cloos <cloos@jhcloos.com> 15258Date: Thu Jul 17 17:16:50 2008 -0400 15259 15260 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 15261 15262 The eventual goal here is to have a single primary UTF-8 Compose 15263 file which the locale-specific UTF-8 Compose.pre files can #include. 15264 15265commit 254522d3c24e0590732fc03cdd61ff4564819d94 15266Author: James Cloos <cloos@jhcloos.com> 15267Date: Thu Jul 17 17:13:36 2008 -0400 15268 15269 Add <Multi_key> <cedilla> Compose tuples 15270 15271 The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 15272 with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 15273 support for using <cedilla> instead of <comma> in said sequences. 15274 15275 This commit makes both styles work. 15276 15277commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 15278Author: James Cloos <cloos@jhcloos.com> 15279Date: Sat Jun 28 15:25:23 2008 -0400 15280 15281 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 15282 15283 The new block was added twice to the en_US.UTF-8 Compose.pre; 15284 delete the duplicate. 15285 15286commit 596e081b7457dcd1c4ad555ac140e6999239bc0d 15287Author: Peter Hutterer <peter@cs.unisa.edu.au> 15288Date: Sat Jun 28 20:14:05 2008 +0930 15289 15290 Fix unbalanced parenthesis in XKBlib.h # 16551 15291 15292 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 15293 15294commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 15295Author: Adam Jackson <ajax@redhat.com> 15296Date: Tue Jun 24 13:16:53 2008 -0400 15297 15298 Bug #14898: Don't abuse the sprintf() implementation. 15299 15300 The thing you're printing into should not itself appear in the list of 15301 things to print from, that's bad juju. Just use strcat(). 15302 15303commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 15304Author: Khaled Hosny <khaledhosny@eglug.org> 15305Date: Thu Jun 19 18:26:11 2008 -0400 15306 15307 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 15308 15309 Add some Arabic digraphs to utf-8 locales with a Compose.pre 15310 15311 Signed-off-by: James Cloos <cloos@jhcloos.com> 15312 15313commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 15314Author: Alan Coopersmith <alan.coopersmith@sun.com> 15315Date: Wed Jun 18 20:00:25 2008 -0700 15316 15317 Rework code to choose local connection types and fallback to others 15318 15319 Adds --with-local-transport-order configure flag if you don't like the 15320 default ordering (which is platform dependent) 15321 15322 Includes fixes for these Sun/Solaris bug ids: 15323 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 15324 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 15325 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 15326 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 15327 15328commit cf49e537014c3cb5aaee07e57400933e0bb72b6b 15329Author: Alan Coopersmith <alan.coopersmith@sun.com> 15330Date: Tue Jun 17 14:41:17 2008 -0700 15331 15332 Strip whitespace from end of lines in source files 15333 15334commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 15335Author: Jeff Smith <whydoubt@yahoo.com> 15336Date: Sun Jun 15 23:52:20 2008 -0500 15337 15338 Fix memory leak in XOpenDisplay 15339 15340 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 15341 15342commit fca0b0ba3f72b7284601d4690bba99fc80a92614 15343Author: Jens Herden <jens@khmeros.info> 15344Date: Tue Jun 10 20:07:30 2008 +0300 15345 15346 NLS: Add Khmer compose sequences (bug #5706) 15347 15348 Add some Khmer digraphs to all locales with a Compose.pre. 15349 15350commit e54cffb649b1622c17457e470cfab8cc56d38c97 15351Merge: 19802ccd 721b574d 15352Author: Daniel Stone <daniel@fooishbar.org> 15353Date: Tue Jun 10 20:04:30 2008 +0300 15354 15355 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 15356 15357commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 15358Author: Peter Hutterer <peter@cs.unisa.edu.au> 15359Date: Thu May 29 10:57:21 2008 +0930 15360 15361 Bump to 1.1.99.1 15362 15363commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 15364Author: Peter Hutterer <peter@cs.unisa.edu.au> 15365Date: Wed May 28 17:31:59 2008 +0930 15366 15367 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 15368 15369commit e9195db7257e418f83707233baeeb84b225caf4f 15370Merge: c34f76f4 a7f85567 15371Author: Peter Hutterer <peter@cs.unisa.edu.au> 15372Date: Thu May 22 12:14:28 2008 +0930 15373 15374 Merge branch 'master' into xge 15375 15376commit 19802ccd3909145e3ba2f6c073271cb5f3701685 15377Author: Daniel Stone <daniel@fooishbar.org> 15378Date: Mon May 19 19:22:31 2008 +0300 15379 15380 gitignore: Update with loads more bits from server 15381 15382commit a7f85567a3e850fba0c44571453d2852ab1a09be 15383Author: Adam Jackson <ajax@redhat.com> 15384Date: Tue May 13 10:28:39 2008 -0400 15385 15386 Bug #15884: Remove useless sleep()'s from the connection code. 15387 15388 For network transports, there's enough delay in the network layer 15389 already without adding more. For local transports, just hurry up 15390 and fail if the server isn't there. 15391 15392commit c34f76f475bc632490122e67b5a82575d69d5569 15393Author: Peter Hutterer <peter@cs.unisa.edu.au> 15394Date: Mon May 12 21:46:24 2008 +0930 15395 15396 Pull down extra bytes when reading a GenericEvent (non-xcb). 15397 15398 I refuse to take any responsibily for this code. It works, I guess. 15399 But - all the flushing is done somewhere before that, so we might need to 15400 flush here. Under some circumstances anyway. Don't ask me, I'm an optical 15401 illusion. 15402 15403 Build with xcb as transport layer highly recommended. 15404 15405commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 15406Merge: 17d7dcbf 9129057b 15407Author: Peter Hutterer <peter@cs.unisa.edu.au> 15408Date: Mon May 12 17:58:37 2008 +0930 15409 15410 Merge branch 'master' into xge 15411 15412commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 15413Author: Teemu Likonen <tlikonen@iki.fi> 15414Date: Wed May 7 21:44:22 2008 +0300 15415 15416 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 15417 15418 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 15419 <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 15420 U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 15421 duplicate compose sequences since these have already been defined. Also, 15422 using <dead_belowring> is more logical since the diacritic is indeed 15423 a "RING BELOW". 15424 15425commit 01a9cb58888d290cc3d319feec4ee4a0297a844c 15426Author: Daniel Stone <daniel@fooishbar.org> 15427Date: Wed May 7 20:04:44 2008 +0300 15428 15429 NLS: Make UTF-8 the default for Russian 15430 15431 No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 15432 only other possible answer would be KOI8-R. 15433 15434 Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 15435 15436commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 15437Author: Ross Burton <ross@burtonini.com> 15438Date: Tue Apr 29 13:38:10 2008 +0300 15439 15440 NLS: Add interrobang to UTF-8 compose tables (bug #15653) 15441 15442 It is what it says on the box. 15443 15444commit 0b6682303e9c61fefc3818acfda616b1e3691abf 15445Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 15446Date: Mon Apr 28 11:51:25 2008 +0300 15447 15448 IM: Respect XMODIFIERS for Thai locale (bug #15719) 15449 15450 When looking at Thai input methods, make sure XMODIFIERS is checked 15451 before jumping straight into built-in Thai processing, so external XIM 15452 servers such as SCIM can be used with Thai. 15453 15454commit c13aded1b2f830ba5004abb0ec5518f9ea16087e 15455Author: Colin Harrison <colin.harrison-at-virgin.net> 15456Date: Sat Apr 26 18:56:05 2008 +0100 15457 15458 Fix missing error condition 15459 15460commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 15461Author: Colin Harrison <colin.harrison-at-virgin.net> 15462Date: Mon Apr 21 17:24:33 2008 +0100 15463 15464 Xlib warning fixes 15465 15466commit 6b6caeea830a977bdb54688cfb648d879821e752 15467Author: James Cloos <cloos@jhcloos.com> 15468Date: Fri Apr 18 02:50:55 2008 -0400 15469 15470 Add some dead_key sequences to en_US.UTF-8 Compose table 15471 15472 Make use of the new dead key symbols added to x11proto’s 15473 commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 15474 was in responce to bug #15446). 15475 15476commit 8f9b039580deaf658e464b7d6254064fcf183df6 15477Author: Alan Coopersmith <alan.coopersmith@sun.com> 15478Date: Mon Apr 14 19:09:42 2008 -0700 15479 15480 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 15481 15482commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 15483Author: Alan Coopersmith <alan.coopersmith@sun.com> 15484Date: Mon Apr 14 18:21:14 2008 -0700 15485 15486 Fix mismatched brace indenting 15487 15488commit a19f9c65ee9e5e5d783feaa84998c36439b0288b 15489Author: Bart Massey <bart@cs.pdx.edu> 15490Date: Fri Apr 4 18:58:45 2008 -0700 15491 15492 added error check in Xcms color file parser; closes bug #15305 15493 15494commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 15495Author: Christian Weisgerber <naddy@mips.inka.de> 15496Date: Tue Mar 18 07:30:05 2008 +0100 15497 15498 ConnDis: properly cast 'addr' before accessing it as a byte array. 15499 15500 If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 15501 clients over IPv6, the clients are liable to segfaults. 15502 15503commit 64325f38bab082a8e0e9ce779a8e582de5c8588e 15504Author: Josh Triplett <josh@freedesktop.org> 15505Date: Sat Mar 15 12:29:33 2008 -0700 15506 15507 Fix fd.o bug 15023: make Xlib sync correctly given many void requests 15508 15509 If given many requests without replies, Xlib may not sync until it flushes 15510 the output buffer. Thus, if Xlib can fit enough requests in the buffer to 15511 pass by the number of requests it would normally sync after (65536 - 15512 BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 15513 demonstrated this by issuing a request with a reply (ListExtensions) at 15514 just the right time to get confused with the GetInputFocus reply issued in 15515 response to the sync 65,536 requests later; the test case used an async 15516 handler to watch the replies, since otherwise it could not issue a request 15517 without waiting for the response. When the test case failed, Xlib's sync 15518 handler would eat the ListExtensions reply, and the test case's async 15519 handler would see the GetInputFocus reply. 15520 15521 Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 15522 buffer size to figure out when the sequence numbers could potentially wrap 15523 before the next flush. 15524 15525 With this commit, the test case consistently passed, and the async reply 15526 handler always saw the ListExtensions reply. 15527 15528 Commit by Jamey Sharp and Josh Triplett. 15529 15530commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 15531Author: Colin Harrison <colin.harrison@virgin.net> 15532Date: Sat Mar 15 13:39:13 2008 -0400 15533 15534 Fix typo 15535 15536 Signed-off-by: James Cloos <cloos@jhcloos.com> 15537 15538commit f07585ca27a8487bc66dfe41486c823f0fdcea7d 15539Author: Daniel Stone <daniel@fooishbar.org> 15540Date: Sat Mar 15 17:32:57 2008 +0200 15541 15542 configure.ac: Don't search for legacy X11 headers 15543 15544 This can actually break cross-compiles, so don't do it anymore. 15545 15546commit bf69541238c7df6606340c0f389e5c47149b29c7 15547Author: Matthieu Herrb <matthieu.herrb@laas.fr> 15548Date: Sun Mar 9 09:08:07 2008 +0100 15549 15550 nuke RCS Ids 15551 15552commit 5e98aed13e529638df744e45893c471d5f2014fb 15553Author: Adam Jackson <ajax@redhat.com> 15554Date: Thu Mar 6 16:10:33 2008 -0500 15555 15556 libX11 1.1.4 15557 15558commit 8e085971dc661da9f80ff6b67747459c0fb15c08 15559Author: Alan Coopersmith <alan.coopersmith@sun.com> 15560Date: Thu Feb 28 20:17:41 2008 -0800 15561 15562 Man page typo fixes 15563 15564commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 15565Author: Søren Sandmann Pedersen <sandmann@redhat.com> 15566Date: Sun Feb 24 20:03:35 2008 -0500 15567 15568 XIM: Fix a hand when switching input context. 15569 15570 Red Hat bug #201284. 15571 15572commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 15573Author: Adam Jackson <ajax@redhat.com> 15574Date: Sun Feb 24 20:00:43 2008 -0500 15575 15576 Bug #14029: Don't LockDisplay() recursively. 15577 15578 See also Red Hat bugzilla #326461. 15579 15580commit e5892467ae3308c8651be76e06db322dcbc08522 15581Author: Alan Coopersmith <alan.coopersmith@sun.com> 15582Date: Fri Feb 15 17:27:53 2008 -0800 15583 15584 Add support for building lint library with --enable-lint-library 15585 15586commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 15587Author: Alan Coopersmith <alan.coopersmith@sun.com> 15588Date: Mon Feb 11 20:11:43 2008 -0800 15589 15590 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 15591 15592commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 15593Author: Alan Coopersmith <alan.coopersmith@sun.com> 15594Date: Fri Feb 8 16:46:46 2008 -0800 15595 15596 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 15597 15598commit 416a812200f24d19149dcc497e5c51a0608120f6 15599Author: Alan Coopersmith <alan.coopersmith@sun.com> 15600Date: Fri Feb 8 15:31:31 2008 -0800 15601 15602 XErrorDB updates for Render 0.9 & XFixes 4.0 15603 15604commit 16a76091cd632e5a3708e235ff864b58f3e4613e 15605Author: Kim Woelders <kim@woelders.dk> 15606Date: Sat Dec 22 21:45:23 2007 +0100 15607 15608 Fix bs_BA entries in locale.dir.pre 15609 15610 X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 15611 15612commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 15613Merge: 8f0bd3f4 e8d4cefa 15614Author: James Cloos <cloos@jhcloos.com> 15615Date: Fri Dec 14 22:43:47 2007 -0500 15616 15617 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 15618 15619commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 15620Author: James Cloos <cloos@jhcloos.com> 15621Date: Fri Dec 14 22:42:59 2007 -0500 15622 15623 add a comment to en_US.UTF-8/Compose 15624 15625commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 15626Author: James Cloos <cloos@jhcloos.com> 15627Date: Fri Dec 14 22:40:13 2007 -0500 15628 15629 Add <dead_stroke> compose sequences 15630 15631 The added sequences match the existing <Multi_key> <slash> sequences. 15632 15633 This is related to bug #12765¹. 15634 15635 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 15636 15637commit e8d4cefa0837afa149a10e981528b368485a9e38 15638Author: Jeremy Huddleston <jeremy@yuffie.local> 15639Date: Mon Dec 10 23:00:44 2007 -0800 15640 15641 Added launchd support. 15642 15643commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 15644Merge: 5dfefd38 13ac8046 15645Author: Peter Hutterer <peter@cs.unisa.edu.au> 15646Date: Thu Dec 6 14:08:29 2007 +1030 15647 15648 Merge branch 'master' into xge 15649 15650commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 15651Merge: a68a1cd7 eff33ae5 15652Author: Peter Hutterer <peter@cs.unisa.edu.au> 15653Date: Thu Dec 6 13:57:09 2007 +1030 15654 15655 Merge branch 'master' into xge 15656 15657 Conflicts: 15658 15659 src/xcb_io.c 15660 15661commit 13ac80469f6958cabac596834e203bd9cb6d4c94 15662Author: James Cloos <cloos@jhcloos.com> 15663Date: Wed Dec 5 20:14:03 2007 -0500 15664 15665 Update the currency symbols block of en_US.UTF-8/Compose.pre 15666 Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 15667 the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 15668 AUSTRAL, HRYVNIA and CEDI SIGNs. 15669 15670commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 15671Author: Anton Zinoviev <anton@lml.bas.bg> 15672Date: Wed Dec 5 19:56:03 2007 -0500 15673 15674 Additions to the Compose file for UTF-8 15675 From bug #5371¹ 15676 15677 Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 15678 from those in attachment #4122². The post³ on xorg resulted in only 15679 a positive reply⁴ from Daniel, so this block is now also commited. 15680 15681 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 15682 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 15683 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 15684 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 15685 15686 Signed-off-by: James Cloos <cloos@jhcloos.com> 15687 Acked-by: Daniel Stone <daniel@fooishbar.org> 15688 15689commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 15690Author: James Cloos <cloos@jhcloos.com> 15691Date: Tue Dec 4 17:25:39 2007 -0500 15692 15693 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 15694 15695 Based on src/KeysymStr.c and src/StrKeysym.c and comments in 15696 bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 15697 those should be in the form U plus the hex of the UCS Code Point. 15698 15699 The 0x01000000 is ORed in by the code. 15700 15701 This update fixes all of those. 15702 15703 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 15704 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 15705 15706commit 02e04059c89e175f51647e3b031344f743286b34 15707Merge: 1254c57d b57129ef 15708Author: James Cloos <cloos@jhcloos.com> 15709Date: Tue Dec 4 06:55:04 2007 -0500 15710 15711 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 15712 15713commit 1254c57dd3a8d6ea87041b2f63024f99094f290f 15714Author: James Cloos <cloos@jhcloos.com> 15715Date: Tue Dec 4 06:53:55 2007 -0500 15716 15717 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 15718 Inspired by bug 11930¹: 15719 15720 Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 15721 and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 15722 Compose files. 15723 15724 This was done with a pair of perl scripts based on the one quoted in the 15725 log for commit c76d30253f1483ac8200ad5c032a818907e65030. 15726 15727 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 15728 15729commit b57129ef324c73ee91c2a796b800c4b45f4d4855 15730Author: Jeremy Huddleston <jeremy@yuffie.local> 15731Date: Mon Dec 3 20:04:19 2007 -0800 15732 15733 Use __APPLE__ instead of __DARWIN__ 15734 15735commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 15736Author: Jeremy Huddleston <jeremy@yuffie.local> 15737Date: Wed Nov 28 16:43:49 2007 -0800 15738 15739 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 15740 15741commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 15742Author: Alan Coopersmith <alan.coopersmith@sun.com> 15743Date: Wed Nov 21 16:50:04 2007 -0800 15744 15745 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 15746 15747 X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 15748 15749 Protect /* sequences from cpp pre-processor removal without transforming 15750 to Unicode mathematical asterisk character 15751 15752commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 15753Author: Jamey Sharp <jamey@minilop.net> 15754Date: Mon Oct 29 10:46:20 2007 -0700 15755 15756 Two threads can request sequence sync and XID fetch simultaneously. 15757 15758 So don't assert that they can't. 15759 15760 This makes the Xlib/XCB implementation of _XAllocID more closely 15761 resemble the traditional Xlib version. 15762 15763commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 15764Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 15765Date: Sun Oct 28 04:44:00 2007 -0800 15766 15767 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 15768 15769 <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 15770 15771commit 24527c92fd1f433ea135e85ec876a94a529fe500 15772Author: Yann Droneaud <ydroneaud@mandriva.com> 15773Date: Wed Oct 24 19:26:07 2007 +0300 15774 15775 XIM: Properly initialise client event 15776 15777 Make sure all ClientMessage fields are initialised to 0 before we send it. 15778 15779commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 15780Author: Daniel Stone <daniel@fooishbar.org> 15781Date: Wed Oct 24 19:22:22 2007 +0300 15782 15783 Colours: Fix --disable-xcms 15784 15785 Disable large tracts of colour management code when passing 15786 --disable-xcms. 15787 15788commit 11ea09745efa8de7dc82fe30ebd2393f08390957 15789Author: Eric Anholt <eric@anholt.net> 15790Date: Fri Aug 31 17:30:33 2007 -0700 15791 15792 Bug #2081: Note the range limitation of XSetScreenSaver arguments. 15793 15794commit 31540f1438ec63faf37044f2fd654b335ddf80f0 15795Author: Kristian Høgsberg <krh@redhat.com> 15796Date: Wed Aug 29 19:50:57 2007 -0400 15797 15798 Add GLX 1.4 requests and errors. 15799 15800commit 7c996f78914c77fe17e9f4feede980d895d9df51 15801Author: Eric Anholt <eric@anholt.net> 15802Date: Tue Aug 28 15:15:11 2007 -0700 15803 15804 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 15805 15806commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 15807Author: Eric S. Raymond <esr@thyrsus.com> 15808Date: Sun Jan 14 10:48:00 2007 -0800 15809 15810 Bug #9658: Bad markup on XIfEvent.3x 15811 15812 X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 15813 15814commit 74cba78daa738ef4d92096107d95c1a585933666 15815Author: Eric S. Raymond <esr@thyrsus.com> 15816Date: Sun Jan 14 10:43:00 2007 -0800 15817 15818 Bug #9655: Bad markup in XrmUniqueQuark.3x 15819 15820 X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 15821 15822commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 15823Author: Eric S. Raymond <esr@thyrsus.com> 15824Date: Sun Jan 14 10:43:00 2007 -0800 15825 15826 Bug #9654: Bad markup in XrmGetFileDatabase.3x 15827 15828 X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 15829 15830commit 2db713252090cae08f0200fecad4fc25fb64c8b1 15831Author: Eric S. Raymond <esr@thyrsus.com> 15832Date: Sun Jan 14 10:40:00 2007 -0800 15833 15834 Bug #9653: Bad markup in XQueryColor.3x 15835 15836 X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 15837 15838commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 15839Author: Eric S. Raymond <esr@thyrsus.com> 15840Date: Sun Jan 14 10:40:00 2007 -0800 15841 15842 Bug #9652: Bad markup in XDrawArc.3x 15843 15844 X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 15845 15846commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 15847Author: Eric S. Raymond <esr@thyrsus.com> 15848Date: Sun Jan 14 10:39:00 2007 -0800 15849 15850 Bug #9651: Bad markup in XcmsColor.3x 15851 15852 X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 15853 15854commit c316aaf0aab06951db9dc5c9c1148bfea835d885 15855Author: Eric S. Raymond <esr@thyrsus.com> 15856Date: Sun Jan 14 10:38:00 2007 -0800 15857 15858 Bug #9650: Bad markup in XLoadFont.3x manual page 15859 15860 X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 15861 15862commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 15863Author: Eric S. Raymond <esr@thyrsus.com> 15864Date: Tue Jan 2 10:18:00 2007 -0800 15865 15866 Bug 9523: Markup problems in XQueryExtension.3x 15867 15868 X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 15869 15870commit fe713c616e29ba19c179b43c18eca1035079ce18 15871Author: Ian Romanick <idr@us.ibm.com> 15872Date: Tue Aug 21 14:56:33 2007 -0700 15873 15874 Make sure nls/am_ET.UTF-8/Makefile is created by configure. 15875 15876commit e3430616f26b68e1439143cbe10732f3fc329d20 15877Author: Eric S. Raymond <esr@thyrsus.com> 15878Date: Tue Jan 2 08:40:00 2007 -0800 15879 15880 Bug #9516: Markup error in XAllocWMHints.3x 15881 15882 X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 15883 15884commit d8fe979fc929833e8c754aed32641786d5a0622b 15885Merge: 21ca9533 4ec1723f 15886Author: James Cloos <cloos@jhcloos.com> 15887Date: Mon Aug 20 15:34:50 2007 -0400 15888 15889 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 15890 15891commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 15892Author: James Cloos <cloos@jhcloos.com> 15893Date: Mon Aug 20 15:34:03 2007 -0400 15894 15895 Fix typo 15896 The code <U1000000D> was used where <U10000DC> was obviously intended. 15897 15898 It is possible that <Udiaeresis> should be used instead, if that will 15899 not break anyone’s setup. 15900 15901commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 15902Author: James Cloos <cloos@jhcloos.com> 15903Date: Mon Aug 20 15:25:48 2007 -0400 15904 15905 Add compose file for Ethiopic to match new keyboard in xkeyboard-config 15906 From bug report: 15907 15908 https://bugs.freedesktop.org/show_bug.cgi?id=11307 15909 15910commit eff33ae525337ce2026be135a26464c7b1237113 15911Author: James Cloos <cloos@jhcloos.com> 15912Date: Sat Aug 18 17:58:23 2007 -0400 15913 15914 Patch for Catalan locales 15915 From bugzilla bug 10943¹: 15916 15917 There are several Catalan locale codes which presently can 15918 be used in X11 systems; especially after they were accepted 15919 in belocs-locale-data². 15920 15921 In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 15922 locale codes. For instance, without this, using ca_AD (actually 15923 a quite used locale⁴) some applications (eg. Emacs or Skype) 15924 cannot display Catalan diacritic marks as you type them. 15925 15926 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 15927 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 15928 3] Toni Hermoso Pulido <toniher@softcatala.org> 15929 4] https://launchpad.net/~ubuntu.cat/+members 15930 15931commit 1f980cb7d022f53d0aee9e793b08203fb888e86e 15932Author: James Cloos <cloos@jhcloos.com> 15933Date: Sat Aug 18 17:47:04 2007 -0400 15934 15935 Add additional Euro signs to compose 15936 Inspired by bug 7419¹ make all of: 15937 15938 C=, =C, c=, =c, E=, =E, e=, E= 15939 15940 after <Multi_key> generate € U+20AC EURO SIGN. 15941 15942 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 15943 15944commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 15945Author: James Cloos <cloos@jhcloos.com> 15946Date: Sat Aug 18 17:29:08 2007 -0400 15947 15948 Compose fix for Latin-1 (from Debian) 15949 The description from bugzilla bug 7417¹ is: 15950 15951 We've been shipping this patch for some time in Debian now. The 15952 problem description from the patch header is reproduced below. You 15953 may want to note the licensing issue mentioned below, but we've been 15954 shipping it because the method by which this particular patch was 15955 generated and updated was also given below. 15956 15957 This patch by Denis Barbier. 15958 15959 The X11 protocol states that Unicode keysyms are in the range 15960 0x01000100 - 0x0110FFFF. If the result of composing characters is a 15961 Unicode codepoint, X returns the corresponding Unicode keysym, which 15962 is its Unicode codepoint augmented by 0x01000000. Latin-1 15963 characters must not appear with their Unicode codepoints in compose 15964 files, otherwise the returned composed character lies in the range 15965 0x01000000 - 0x010000FF which is not valid. 15966 15967 There are two solutions: either fix composing routines to return 15968 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 15969 replace U00ZZ by their corresponding keysyms in compose files. The 15970 latter is more logical and less error prone, so compose files will 15971 be patched. Many applications accept these invalid Unicode keysyms, 15972 but few of them don't, most notably xemacs. Only UTF-8 locales are 15973 affected. 15974 15975 This has been fixed very recently in XFree86 CVS (but not xorg), but 15976 for licensing reasons, this patch is not grabbed. Instead automatic 15977 conversion is performed by: 15978 15979 sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 15980 | grep -v deprecated | grep 0x0 \ 15981 | sed -e 's/0x0/U0/' -e 's/XK_//' \ 15982 | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 15983 for f in nls/*.UTF-8/Compose.pre 15984 do 15985 sed -f sedfile $f > $f.tmp && mv $f.tmp $f 15986 done 15987 15988 [I edited the quoted script to update it for the current location of 15989 the installed keysymdef.h and the current layout of the libX11 15990 repo. -JimC] 15991 15992 I applied the script, not the patch attached to the bugreport. 15993 15994 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 15995 15996commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 15997Author: James Cloos <cloos@jhcloos.com> 15998Date: Sat Aug 18 17:13:41 2007 -0400 15999 16000 Add some compose sequences 16001 16002 Add some compose sequences from the patch in bug 5371 (attachment 4122). 16003 16004 Cf: 16005 16006 https://bugs.freedesktop.org/show_bug.cgi?id=5371 16007 https://bugs.freedesktop.org/attachment.cgi?id=4122 16008 16009commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 16010Author: James Cloos <cloos@jhcloos.com> 16011Date: Sat Aug 18 13:57:31 2007 -0400 16012 16013 Fix SMP Compose targets 16014 The compose targets from the SMP (plane 1) were incorrect. 16015 16016 At some point the 0x10000 bit had been lost. 16017 16018commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 16019Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 16020Date: Thu Aug 16 17:37:22 2007 -0500 16021 16022 Fix a mutex reference-counting bug. 16023 16024 I was told that some systems have a much more permissive libpthread. 16025 I was asked to commit this. This is from NetBSD's X source. 16026 (I didn't receive any feedback on xorg list for over two weeks 16027 about this.) 16028 16029commit ac00a44b4875de70382da5a40dd87f976e5b9327 16030Author: Tilman Sauerbeck <tilman@code-monkey.de> 16031Date: Wed Aug 1 20:36:03 2007 +0200 16032 16033 Bumped version to 1.1.3. 16034 16035commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 16036Author: Joerg Sonnenberger <joerg@netbsd.org> 16037Date: Fri Jul 27 11:15:47 2007 -0700 16038 16039 Fail properly on errors in recursive make. 16040 16041commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 16042Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 16043Date: Thu Jul 26 23:31:15 2007 +0200 16044 16045 Add missing override parameter in XrmCombineDatabase prototype in the manpage 16046 16047 Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 16048 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 16049 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 16050 16051 Also add the type of the second argument in XrmMergeDatabases. 16052 16053commit 6f0764d4b56f64786b4980839ca262f10a51af6f 16054Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 16055Date: Thu Jul 26 22:53:52 2007 +0200 16056 16057 Clarify return value of XGetCommand in case of error in the manpage 16058 16059 Reported by Sean Perry <shalehperry@attbi.com> 16060 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 16061 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 16062 16063commit b8bef57342632cc2d25580bb7daa3839bae04d89 16064Author: Alan Coopersmith <alan.coopersmith@sun.com> 16065Date: Wed Jul 25 17:44:06 2007 -0700 16066 16067 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 16068 16069commit 590cde811a79375231c59ed8583e02b111ed567c 16070Author: Kean Johnston <kean@armory.com> 16071Date: Thu Jul 19 16:44:20 2007 -0700 16072 16073 Reset hostname when falling back from :0 to hostname/localhost:0 as well 16074 16075commit d334665e619e9db657a2ea2764a8b852401d4a3f 16076Author: Kean Johnston <kean@armory.com> 16077Date: Tue Jul 17 16:34:30 2007 -0700 16078 16079 LOCALCONN fallback changes DisplayString() output, breaks KDE 16080 16081 See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 16082 16083commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 16084Author: Olivier Blin <blino@mandriva.org> 16085Date: Mon Jun 11 18:32:09 2007 +1000 16086 16087 fix XGetMotionEvents arguments order - Fixes bug 11222 16088 16089commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 16090Author: Jamey Sharp <jamey@minilop.net> 16091Date: Sun Jun 10 16:19:59 2007 -0700 16092 16093 Fix locking in _XimGetWindowEventmask. 16094 16095 Now that XFilterEvent drops the Display lock before invoking callback 16096 functions, _XimGetWindowEventmask is called without the lock held. So 16097 when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 16098 that does not lock the Display, Xlib/XCB would assert: 16099 16100 xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 16101 16102 Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 16103 16104commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 16105Author: Jamey Sharp <jamey@minilop.net> 16106Date: Sun Jun 3 21:41:47 2007 -0700 16107 16108 Move security fixes to the top of NEWS, and fix spacing. 16109 16110 Commit by Josh Triplett and Jamey Sharp. 16111 16112commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 16113Author: Jamey Sharp <jamey@minilop.net> 16114Date: Sun Jun 3 21:29:40 2007 -0700 16115 16116 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 16117 16118 Commit by Josh Triplett and Jamey Sharp 16119 16120commit 5123b77a3d32d3ad479462f319762c328278aed9 16121Author: Jamey Sharp <jamey@minilop.net> 16122Date: Sun Jun 3 21:24:54 2007 -0700 16123 16124 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 16125 16126 Commit by Josh Triplett and Jamey Sharp. 16127 16128commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 16129Author: Jamey Sharp <jamey@minilop.net> 16130Date: Sun Jun 3 20:59:12 2007 -0700 16131 16132 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 16133 16134 Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 16135 _XReadEvents always enqueues at least one event even if an error occurred, 16136 because the one call to xcb_wait_for_event would then return an error, not an 16137 event, and nothing else ensured that process_responses would obtain an event. 16138 Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 16139 f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 16140 process_responses, wait_for_first_event now serves as a flag, cleared when 16141 actually handling an event. 16142 16143 Commit by Josh Triplett and Jamey Sharp. 16144 16145commit e2c1d788d1fe7bd2d34756493951552441e59b8c 16146Author: Jamey Sharp <jamey@minilop.net> 16147Date: Sun Jun 3 17:33:23 2007 -0700 16148 16149 Xlib/XCB: Only remove pending_requests when there are provably no more responses. 16150 16151commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 16152Author: Josh Triplett <josh@freedesktop.org> 16153Date: Sun Jun 3 15:39:39 2007 -0700 16154 16155 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 16156 16157 Signed-off-by: Josh Triplett <josh@freedesktop.org> 16158 16159commit 416f38f2e67ee1979b3d2feac6f06b3670238804 16160Author: Josh Triplett <josh@freedesktop.org> 16161Date: Sun Jun 3 12:13:44 2007 -0700 16162 16163 Revert "Revert "include: don't distribute XlibConf.h"" 16164 16165 This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 16166 16167 Re-revert the XlibConf.h change, which prevented distribution, not 16168 installation. 16169 16170commit 79fa3d8070d95b960ba486f2439225872471dadd 16171Author: Josh Triplett <josh@freedesktop.org> 16172Date: Sat Jun 2 22:05:16 2007 -0700 16173 16174 Revert "include: don't distribute XlibConf.h" 16175 16176 This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 16177 16178 The installed XlibInt.h includes XlibConf.h , so libX11 should ship 16179 XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 16180 prevent automake from shipping XlibConf.h, because it used 16181 nodist_x11include_HEADERS rather than nodist_HEADERS.) 16182 16183commit f417570735aac865eb6b576d1ea76b5bfcd8573b 16184Author: Jamey Sharp <jamey@minilop.net> 16185Date: Sat Jun 2 17:59:15 2007 -0700 16186 16187 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 16188 16189 Commit by Josh Triplett and Jamey Sharp. 16190 16191commit c337f9de7cfd89f983f83956b7457a274dd412f3 16192Author: Jamey Sharp <jamey@minilop.net> 16193Date: Sat Jun 2 17:46:41 2007 -0700 16194 16195 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 16196 16197 Commit by Jamey Sharp and Josh Triplett. 16198 16199commit 7f66c897f04806b75e574b55b48921b48045e3f9 16200Author: Jamey Sharp <jamey@minilop.net> 16201Date: Sat Jun 2 16:43:39 2007 -0700 16202 16203 Update _XReply's copy of _XCBUnlockDisplay's guts. 16204 16205 We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 16206 16207 Also add a comment in _XCBUnlockDisplay to discourage this problem from 16208 respawning. 16209 16210 Commit by Josh Triplett and Jamey Sharp. 16211 16212commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 16213Author: Jamey Sharp <jamey@minilop.net> 16214Date: Sat Jun 2 16:01:01 2007 -0700 16215 16216 Xlib/XCB: Avoid re-crashing after _XIOError. 16217 16218 Commit by Josh Triplett and Jamey Sharp. 16219 16220commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 16221Author: Jamey Sharp <jamey@minilop.net> 16222Date: Sat Jun 2 12:30:30 2007 -0700 16223 16224 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 16225 16226 An Xlib client can query Display state, such as with NextRequest, while 16227 it holds only the Xlib user lock (between XLockDisplay and 16228 XUnlockDisplay), so XCB requests in other threads should be blocked when 16229 the Xlib user lock is held. 16230 16231 We acquire the lock even when XInitThreads was not called, so that pure 16232 XCB code can use multiple threads even in an otherwise single-threaded 16233 Xlib application. 16234 16235 Commit by Josh Triplett and Jamey Sharp. 16236 16237commit 95523387d619af5b400748898d722e080b5ce1a6 16238Author: Jamey Sharp <jamey@minilop.net> 16239Date: Sat Jun 2 11:57:39 2007 -0700 16240 16241 Allow re-entrant Xlib calls from _XIOError. 16242 16243 Some libraries try to clean up X resources from atexit handlers, _fini, 16244 or C++ destructors. To make these work, the Display lock should be 16245 downgraded to a user lock (as in XLockDisplay) before calling exit(3). 16246 This blocks Xlib calls from threads other than the one calling exit(3) 16247 while still allowing the exit handlers to call Xlib. 16248 16249 This assumes that the thread calling exit will call any atexit handlers. 16250 If this does not hold, then an alternate solution would involve 16251 registering an atexit handler to take over the lock, which would only 16252 assume that the same thread calls all the atexit handlers. 16253 16254 Commit by Josh Triplett and Jamey Sharp. 16255 16256commit 91b02b8064f4e0bcc56019f0722914850008a597 16257Author: Tilman Sauerbeck <tilman@code-monkey.de> 16258Date: Thu May 17 19:07:34 2007 +0200 16259 16260 More constification. 16261 16262commit a4f3841940158351f9424c3f59b305cce877177d 16263Author: Tilman Sauerbeck <tilman@code-monkey.de> 16264Date: Thu May 17 00:29:43 2007 +0200 16265 16266 Constified composite text charset table. 16267 16268commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 16269Author: Tilman Sauerbeck <tilman@code-monkey.de> 16270Date: Wed May 16 23:19:22 2007 +0200 16271 16272 Have the compiler fill in hexTable so we don't have to do it at runtime. 16273 16274commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 16275Author: Tilman Sauerbeck <tilman@code-monkey.de> 16276Date: Wed May 16 19:36:23 2007 +0200 16277 16278 More constification. 16279 16280commit 6d2bed8f04942b4de086a519ac693e729c9fdeea 16281Author: Tilman Sauerbeck <tilman@code-monkey.de> 16282Date: Wed May 16 19:18:20 2007 +0200 16283 16284 Constify and clean up token table. 16285 16286commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 16287Author: Tilman Sauerbeck <tilman@code-monkey.de> 16288Date: Wed May 16 18:24:42 2007 +0200 16289 16290 Constified more tables. 16291 16292commit e699c4231c205ef00d687b6412308d031b99806b 16293Author: Tilman Sauerbeck <tilman@code-monkey.de> 16294Date: Wed May 16 18:01:23 2007 +0200 16295 16296 Constified error list. 16297 16298commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 16299Author: Peter Hutterer <peter@cs.unisa.edu.au> 16300Date: Tue May 15 16:54:01 2007 +0930 16301 16302 Add XGenericEvent definition and handling for long events. 16303 16304commit c76d30253f1483ac8200ad5c032a818907e65030 16305Author: Jan Willem Stumpel <jstumpel@planet.nl> 16306Date: Fri May 4 12:00:49 2007 -0700 16307 16308 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 16309 16310 Cf: 16311 16312 https://bugs.freedesktop.org/show_bug.cgi?id=10851 16313 https://bugs.freedesktop.org/show_bug.cgi?id=10824 16314 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 16315 16316 The greek keyboard definition was changed to replace dead_horn and 16317 dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 16318 COMBINING REVERSED COMMA ABOVE (aka Dasia). 16319 16320 This patch modifies the Greek Compose.pre to match. 16321 16322 It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 16323 posted to 386385@bugs.debian.org: 16324 16325 #!/usr/bin/perl 16326 while (<>) { 16327 print $_; 16328 if (/dead_horn/) { 16329 s/dead_horn/U0313/; 16330 print $_; 16331 } 16332 elsif (/dead_ogonek/) { 16333 s/dead_ogonek/U0314/; 16334 print $_; 16335 } 16336 } 16337 16338commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 16339Author: Magnus Kessler <Magnus.Kessler@gmx.net> 16340Date: Tue May 1 15:20:08 2007 +0200 16341 16342 Switched function definitions from K&R to ANSI style. 16343 16344commit 605d357074d556a05a3fba2e85cbea36a3204248 16345Author: Tilman Sauerbeck <tilman@code-monkey.de> 16346Date: Tue May 1 14:47:03 2007 +0200 16347 16348 Tweaked configure output about the man pages suffix. 16349 16350commit 9824b40d2af4ca2376512c1be7743da0d5065900 16351Author: Alan Coopersmith <alan.coopersmith@sun.com> 16352Date: Sat Apr 28 00:42:18 2007 -0700 16353 16354 Fix typo in nroff macro in XkbAddGeomOverlayKey.man 16355 16356commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 16357Author: Alan Coopersmith <alan.coopersmith@sun.com> 16358Date: Sat Apr 28 00:30:55 2007 -0700 16359 16360 Protect C comments and #defines in XKB man pages from being mangled by cpp 16361 16362commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 16363Author: Alan Coopersmith <alan.coopersmith@sun.com> 16364Date: Sat Apr 28 00:14:50 2007 -0700 16365 16366 Add Makefile to process/install XKB man pages 16367 16368commit d9954c6f6f3a8c406b946acd0d034ff83c656156 16369Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 16370Date: Thu Aug 19 00:00:00 1999 -0700 16371 16372 Add man pages for XKB API's 16373 16374 Man pages originally written for X11R6.4 integration to Solaris 7 11/99 16375 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 16376 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 16377 16378 (Volunteer needed to convert prototypes in man pages to ANSI C style...) 16379 16380commit f640a49b5e2ebf29f9d655df544c63bf826f619a 16381Author: Tilman Sauerbeck <tilman@code-monkey.de> 16382Date: Fri Apr 20 18:39:59 2007 +0200 16383 16384 Markup tweak for XOpenIM. 16385 16386commit e972b0bb255af4f3258217852542faf5afa60b28 16387Author: Julien Cristau <jcristau@debian.org> 16388Date: Fri Apr 20 18:35:09 2007 +0200 16389 16390 Bug #9695: Fixed a few argument types in the XOpenIM manpage. 16391 16392commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 16393Author: Julien Cristau <jcristau@debian.org> 16394Date: Fri Apr 20 18:28:52 2007 +0200 16395 16396 Bug #9697: Fixed documentation of XVisualInfo struct. 16397 16398 The "depth" member was said to be unsigned int, but it's signed. 16399 16400commit 4068f3dae01c630f825002673b1d3a047ad61863 16401Author: Julien Cristau <jcristau@debian.org> 16402Date: Fri Apr 20 16:41:21 2007 +0200 16403 16404 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 16405 16406commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 16407Author: Tilman Sauerbeck <tilman@code-monkey.de> 16408Date: Sat Apr 7 14:42:55 2007 +0200 16409 16410 Use unistd.h to get getresuid() and friends. 16411 16412 This works since we now have _GNU_SOURCE defined. 16413 16414commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 16415Author: Tilman Sauerbeck <tilman@code-monkey.de> 16416Date: Sat Apr 7 14:27:12 2007 +0200 16417 16418 Bug #10562: Define _GNU_SOURCE on glibc systems. 16419 16420commit a225a0be48770beb689d5ac5da97073634f7deab 16421Author: Tilman Sauerbeck <tilman@code-monkey.de> 16422Date: Fri Apr 6 12:46:25 2007 +0200 16423 16424 For nls/*.pre, allow people to comment lines by starting them with '##'. 16425 16426 This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 16427 Fixing that file would have been a larger diff, and using ## may be 16428 nicer to use anyway. 16429 16430commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 16431Author: Tilman Sauerbeck <tilman@code-monkey.de> 16432Date: Fri Apr 6 11:59:31 2007 +0200 16433 16434 Bug #10475: Fixed lots of char*/const char* mixups. 16435 16436 I didn't fix all of them, as that would require touching 16437 public headers. 16438 16439commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 16440Author: Matthias Hopf <mhopf@suse.de> 16441Date: Thu Apr 5 11:53:18 2007 +0200 16442 16443 Fix 64bit issues with reallocation. 16444 16445commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 16446Author: Tilman Sauerbeck <tilman@code-monkey.de> 16447Date: Wed Apr 4 18:41:18 2007 +0200 16448 16449 Fixed a few warnings. 16450 16451commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 16452Author: Matthieu Herrb <matthieu@roadrock.(none)> 16453Date: Tue Apr 3 15:39:52 2007 +0200 16454 16455 Multiple integer overflows in the XGetPixel() and XInitImage functions 16456 16457 CVE-2007-1667 16458 16459commit 0284b144340a455a4b5b5011d81ac5a610372291 16460Author: David Baron <dbaron@dbaron.org> 16461Date: Fri Mar 30 17:07:46 2007 +0200 16462 16463 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 16464 16465 Now only those fields of the respective hint struct are set that 16466 are actually valid in the input data. 16467 The changed functions are: 16468 XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 16469 16470commit 0994faa0c76c45b106442db461b8a30a3e1c9395 16471Author: Tilman Sauerbeck <tilman@code-monkey.de> 16472Date: Thu Mar 29 17:31:25 2007 +0200 16473 16474 Fixed the change from the previous SendEvent commit. 16475 16476 Testing a different patch than the one you commit is bad, right? 16477 16478commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 16479Author: Tilman Sauerbeck <tilman@code-monkey.de> 16480Date: Wed Mar 28 22:23:44 2007 +0200 16481 16482 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 16483 16484commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 16485Author: David Baron <dbaron@dbaron.org> 16486Date: Wed Mar 28 22:21:40 2007 +0200 16487 16488 Bug #7713: Initialize all of the event's fields before sending it. 16489 16490commit bc80f9fe3ccce40ee41246b97470c4f0519756ad 16491Author: Julien Cristau <jcristau@debian.org> 16492Date: Sun Mar 18 13:14:48 2007 +0100 16493 16494 Bug #9279: Fixed a file descriptor leak. 16495 16496commit c9e28e05ae01ce8a29bea09df759b6271865b44c 16497Author: Daniel Stone <daniel@fooishbar.org> 16498Date: Sat Dec 16 00:45:19 2006 +0200 16499 16500 include: don't distribute XlibConf.h 16501 16502 Since XlibConf.h is built by configure, don't distribute it. 16503 16504commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 16505Merge: 129bbb9f 769b9854 16506Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 16507Date: Thu Dec 14 14:23:20 2006 -0600 16508 16509 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 16510 16511commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 16512Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 16513Date: Thu Dec 14 14:21:19 2006 -0600 16514 16515 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 16516 16517commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 16518Author: Daniel Stone <daniel@fooishbar.org> 16519Date: Wed Dec 6 18:53:00 2006 +0200 16520 16521 Makefile.am: make ChangeLog hook safer 16522 16523 Make ChangeLog hook as safe as possible. 16524 (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 16525 16526commit 8a8185a649e93b90ffa820387ffdca831227f5a9 16527Author: Josh Triplett <josh@freedesktop.org> 16528Date: Thu Nov 30 18:33:13 2006 -0800 16529 16530 Add autogen.sh to EXTRA_DIST. 16531 16532commit efe817f95ef8d05e863c83147e903140bc860de4 16533Author: Jamey Sharp <jamey@minilop.net> 16534Date: Thu Nov 30 17:58:35 2006 -0800 16535 16536 Release libX11 1.1.1. 16537 16538commit f637a5b03164263a3af2e644cf655e52b015f1bb 16539Author: Ross Combs <rocombs@cs.nmsu.edu> 16540Date: Sat Nov 25 14:45:17 2006 -0800 16541 16542 Debian bug #354315: Clarify return value in XGetWindowAttributes man page 16543 16544 This man page does not discuss the actual return values of the 16545 function, but says they are of type "Status". One might assume 16546 that this means you could compare it with the "Success" macro. 16547 One would be wrong. 16548 16549 The X functions seem to have two three types representing status. 16550 If it is an "int" there are a number of error codes or "Success" 16551 which can be compared against. If it is a bool, the result can be 16552 compared with "True" or "False". If the return type is "Status" it 16553 appears that the return type is either 0 or 1. Unfortunately the 16554 value for Success is zero, so it is important to distinguish 16555 between the first two types of return values and the third; 16556 otherwise the conditional will be inverted. 16557 16558 XGetWindowAttributes() is one of the functions which returns zero 16559 for failure. The man page should make this clear. 16560 16561commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 16562Author: Jamey Sharp <jamey@minilop.net> 16563Date: Sat Nov 25 14:23:45 2006 -0800 16564 16565 Bug #9154: Always process an event for _XReadEvents, even if an error occurs 16566 16567 Previously, process_responses (in the wait_for_first_event case called 16568 from _XReadEvents) considered any return from xcb_wait_for_event 16569 sufficient to think it had processed an event. If xcb_wait_for_event 16570 returned an error, and no more events occurred before process_responses 16571 called xcb_poll_for_event, process_responses would try to return with 16572 dpy->head NULL, and would fail an assertion for the _XReadEvents 16573 postcondition. Now, process_responses continues using xcb_wait_for_event 16574 until it gets an event. 16575 16576commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 16577Author: Tilman Sauerbeck <tilman@code-monkey.de> 16578Date: Sat Nov 25 05:29:31 2006 -0800 16579 16580 Bug #9153: Fix access to freed memory. 16581 16582 The fix for bug #8622 introduced a smaller bug where _XReply would 16583 read memory shortly after freeing it. This patch caches the needed 16584 value in a stack-allocated variable before the heap-allocated memory 16585 is freed. 16586 16587commit 934ca763bbc0dd7ae460469bfc000ba101602bcc 16588Author: Josh Triplett <josh@freedesktop.org> 16589Date: Fri Nov 24 19:57:58 2006 -0800 16590 16591 libx11 doesn't use inputproto in public headers; don't require it in x11.pc 16592 16593 Based on a Debian patch. 16594 16595commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 16596Author: Josh Triplett <josh@freedesktop.org> 16597Date: Thu Nov 23 07:19:32 2006 -0800 16598 16599 Release libX11 1.1 16600 16601commit a1168e11ec9377307c51a7271faec3bf88a63a66 16602Author: Jamey Sharp <jamey@minilop.net> 16603Date: Tue Nov 21 17:52:34 2006 -0800 16604 16605 Add note in man-page that XListFontsWithInfo is not thread-safe. 16606 16607 _XReply drops the Display lock, so the value of dpy->request may change 16608 before _XReply is called again. 16609 16610 I discovered this by inspection a year or two ago. I'm pretty confident 16611 in the claim, and nobody has come up with an argument for why it's safe 16612 despite appearances. 16613 16614commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 16615Author: Jamey Sharp <jamey@minilop.net> 16616Date: Sat Nov 18 15:39:26 2006 -0800 16617 16618 Bug #8622: Fix response processing order for threaded apps 16619 16620 Previously, process_responses (the common code for _XReply, 16621 _XReadEvents, and _XEventsQueued) took the current request sequence 16622 number as an argument, and did some highly complicated processing to 16623 attempt to process responses in order across threads. This didn't 16624 actually work. 16625 16626 Now, process_responses handles responses in order, by adding condition 16627 variables to the list of outstanding requests in 16628 dpy->xcb->pending_requests, and blocking on them when those requests 16629 should get processed to allow _XReply to process them; if actually 16630 called from _XReply, it returns when _XReply's request should get 16631 processed. _XReply broadcasts on the condition variable after it has 16632 read its reply and re-acquired the display lock. 16633 16634 Another great commit brought to you by Jamey Sharp, Josh Triplett, the 16635 Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 16636 forwarding. 16637 16638 Signed-off-by: Josh Triplett <josh@freedesktop.org> 16639 Signed-off-by: Jamey Sharp <jamey@minilop.net> 16640 16641commit 941f02ede63baa46f93ed8abccebe76fb29c0789 16642Author: Lars Knoll <lars@trolltech.com> 16643Date: Wed Nov 8 12:17:41 2006 -0800 16644 16645 Don't hold the display lock around callbacks to the application. 16646 16647 This fixes an XCB locking assertion failure, particularly with emacs. 16648 16649commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 16650Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 16651Date: Tue Nov 7 09:32:00 2006 -0800 16652 16653 Add xcb-xlib dependency to x11.pc when built against XCB. 16654 16655commit 2302008a3793eb4df8ede777d54fe06505c47eaf 16656Author: Eric Anholt <eric@anholt.net> 16657Date: Mon Nov 6 17:11:42 2006 -0800 16658 16659 XCB: Allocate the right amount of memory for dpy->lock_fns. 16660 16661 Fixes a crash I was experiencing on startup of anything using gdk. 16662 16663commit 5f860655be88108b03ccd97470a0814819254bf0 16664Author: Jamey Sharp <jamey@minilop.net> 16665Date: Thu Nov 2 17:55:31 2006 -0800 16666 16667 Release libX11 1.1 RC2 (1.0.99.2). 16668 16669commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 16670Author: Benno Schulenberg <bensberg@justemail.net> 16671Date: Sun Oct 29 03:10:30 2006 +0300 16672 16673 nls (en_US): remove long compositions that override shorter (bug #2286) 16674 Remove long compositions that override (or get overriden by) later shorter 16675 compositions, e.g. a four-key compose sequence that gets overriden by a 16676 later three-key compose sequence. 16677 16678commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 16679Author: Benno Schulenberg <bensberg@justemail.net> 16680Date: Sun Oct 29 03:08:36 2006 +0300 16681 16682 nls: remove shadowed compose entries (bug #2286) 16683 Remove compose entries shadowed by others later on. 16684 16685commit d118f2b1ef10997194b281524177dea7396da7dd 16686Author: Benno Schulenberg <bensberg@justemail.net> 16687Date: Sun Oct 29 03:07:15 2006 +0300 16688 16689 nls: remove duplicate compose entries (bug #2286) 16690 Remove a bunch of duplicate entries from various Compose files. 16691 16692commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 16693Author: Caolan McNamara <caolanm@redhat.com> 16694Date: Sun Oct 29 02:46:15 2006 +0300 16695 16696 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 16697 Don't leak the name and value of every property we parse, as well as the 16698 name of every colour. 16699 16700commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 16701Author: Matthias Hopf <mhopf@suse.de> 16702Date: Wed Oct 18 14:25:04 2006 +0200 16703 16704 Fix double open of compose file. 16705 16706 Issue found by Kees Cook <kees@canonical.com>. 16707 16708commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 16709Author: Jamey Sharp <jamey@minilop.net> 16710Date: Sat Oct 14 21:25:10 2006 -0700 16711 16712 XCB: check for and handle I/O errors in _XGetXCBBuffer. 16713 16714commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 16715Author: Jamey Sharp <jamey@minilop.net> 16716Date: Wed Oct 11 00:06:50 2006 -0700 16717 16718 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 16719 16720commit 1eedf1bd033e496843cfde42ae4ae5a119298605 16721Author: Jamey Sharp <jamey@minilop.net> 16722Date: Tue Oct 10 23:03:28 2006 -0700 16723 16724 Add correct Display locking to XKB functions. 16725 16726 Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 16727 This patch fixes at least some instances of that problem. 16728 16729 Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 16730 and proposing a fix, which this patch is based on. 16731 16732commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 16733Author: David Nusinow <dnusinow@debian.org> 16734Date: Tue Oct 10 22:11:05 2006 -0400 16735 16736 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 16737 16738commit e53557da969b706dbc843f6fde3db31ffe382e0f 16739Author: Jamey Sharp <jamey@minilop.net> 16740Date: Sat Oct 7 21:00:36 2006 -0700 16741 16742 Release libX11 1.1 RC1 (1.0.99.1). 16743 16744commit bf237409c5fce32c557d298f62f44d456c2b5bc8 16745Merge: ba477191 2d426d1f 16746Author: Jamey Sharp <jamey@minilop.net> 16747Date: Sat Oct 7 21:07:16 2006 -0700 16748 16749 As XCB support is about to be released in libX11, stable is now subsumed by master. 16750 16751commit ba477191c67ce93e61423cc1abe35275704cce50 16752Author: Jamey Sharp <jamey@minilop.net> 16753Date: Sat Oct 7 03:48:13 2006 -0700 16754 16755 XCB: Don't rely on having the definition of struct xcb_setup_t available. 16756 16757commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 16758Author: Jamey Sharp <jamey@minilop.net> 16759Date: Fri Oct 6 16:27:31 2006 -0700 16760 16761 xcb_poll_for_event no longer takes an 'int *error' out-parameter. 16762 16763commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 16764Author: Josh Triplett <josh@freedesktop.org> 16765Date: Fri Oct 6 16:26:11 2006 -0700 16766 16767 Actually ship Xxcbint.h 16768 16769commit 7b027e53b5e393082f4f515c8ba18077eb97163f 16770Author: Josh Triplett <josh@freedesktop.org> 16771Date: Fri Oct 6 16:25:50 2006 -0700 16772 16773 Clean ChangeLog only in "make maintainer-clean", not "make clean" 16774 16775 ChangeLog requires a git repo to generate; make clean and make distclean 16776 shouldn't get rid of it. 16777 16778commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 16779Author: Josh Triplett <josh@freedesktop.org> 16780Date: Fri Oct 6 16:24:58 2006 -0700 16781 16782 Add ChangeLog and "make dist"-generated files to .gitignore 16783 16784commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 16785Author: Josh Triplett <josh@freedesktop.org> 16786Date: Fri Oct 6 15:53:27 2006 -0700 16787 16788 Add manual pages for XGetXCBConnection and XSetEventQueueOwner 16789 16790commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 16791Author: Josh Triplett <josh@freedesktop.org> 16792Date: Fri Oct 6 13:41:16 2006 -0700 16793 16794 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 16795 16796commit ab728ca372288d0db1b486c265e34c1376f29104 16797Author: Josh Triplett <josh@freedesktop.org> 16798Date: Fri Oct 6 12:36:39 2006 -0700 16799 16800 XCL is dead; long live Xlib/XCB 16801 16802 Rename all instances of "XCL" to Xlib/XCB-derived names. 16803 16804 The only user-visible change: rename the include file <X11/xcl.h> to 16805 <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 16806 16807 Remove the XCL cast inlines from Xlib-xcb.h. 16808 16809commit 5b73093203039d307eb7ab3845c3ced207e9e26c 16810Author: Josh Triplett <josh@freedesktop.org> 16811Date: Fri Oct 6 11:33:49 2006 -0700 16812 16813 Add XCB developers to AUTHORS 16814 16815commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 16816Author: Josh Triplett <josh@freedesktop.org> 16817Date: Fri Oct 6 11:21:28 2006 -0700 16818 16819 Fix email addresses in README 16820 16821commit 12f038669278019594ca0ed53dadcf4e84092422 16822Author: Jamey Sharp <jamey@minilop.net> 16823Date: Fri Oct 6 02:13:05 2006 -0700 16824 16825 XCB: Handle all responses in order of monotonically increasing sequence number. 16826 16827commit f392680273278b43079302206897f794e60f3c70 16828Author: Josh Triplett <josh@freedesktop.org> 16829Date: Fri Oct 6 01:11:08 2006 -0700 16830 16831 Actually install x11-xcb.pc, and ship x11-xcb.pc.in 16832 16833commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 16834Author: Jamey Sharp <jamey@minilop.net> 16835Date: Thu Oct 5 18:32:29 2006 -0700 16836 16837 XCB: correctly handle failure to connect to X server. 16838 16839commit e754b3b078d556c7861da56aad47d244e9199e06 16840Author: Josh Triplett <josh@freedesktop.org> 16841Date: Thu Oct 5 17:44:22 2006 -0700 16842 16843 Split public Xlib/XCB functions into libX11-xcb 16844 16845 We can never change the libX11 soname, and we don't want to commit to never 16846 changing the public Xlib/XCB functions, so split them into a separate library 16847 libX11-xcb. This also means that a program linked solely against libX11 16848 should work with either Xlib or Xlib/XCB, which will make life easier for 16849 package maintainers. 16850 16851 Signed-off-by: Josh Triplett <josh@freedesktop.org> 16852 Acked-by: Jamey Sharp <jamey@minilop.net> 16853 16854commit ffd367f708b295abaedf3a23a1bfd4710d171d6f 16855Author: Jamey Sharp <jamey@minilop.net> 16856Date: Wed Oct 4 17:16:46 2006 -0700 16857 16858 No longer #include Xmd from xcl.h: we do not need it. 16859 16860commit 3aff149d42ba8ed620091971b3766bdf96c62aaf 16861Author: Jamey Sharp <jamey@minilop.net> 16862Date: Wed Oct 4 16:58:32 2006 -0700 16863 16864 XCB: Revert locking to simple wrapper around libX11's normal locks. 16865 16866 No more recursive mutexes, no more banging XCB's I/O lock in-place, and 16867 reduces the differences between the previous stable release and an 16868 XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 16869 too, now. I apologize to the world. 16870 16871commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 16872Author: Jamey Sharp <jamey@minilop.net> 16873Date: Mon Sep 25 04:54:52 2006 -0700 16874 16875 Link explicitly against XCB's Xlib compatibility functions. 16876 16877commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 16878Author: Jamey Sharp <jamey@minilop.net> 16879Date: Mon Sep 25 04:13:20 2006 -0700 16880 16881 libxcb now installs header files in <xcb>, not <X11/XCB>. 16882 16883commit 87d00207f5a1f25a45a153618739cd6481814f89 16884Author: Ian Osgood <iano@quirkster.com> 16885Date: Sun Sep 24 23:39:01 2006 -0700 16886 16887 Track XCB's "Great Renaming". 16888 16889commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 16890Author: Jamey Sharp <jamey@minilop.net> 16891Date: Tue Sep 12 23:02:42 2006 -0700 16892 16893 Quit using XCBGetQueuedRequestRead. 16894 16895commit a61936fc4e9bd93b108764bbacd5b8f786e51915 16896Author: Tollef Fog Heen <tfheen@err.no> 16897Date: Wed Aug 30 00:05:54 2006 +0300 16898 16899 nls: use _XlcUtf8Loader for en_US (bug #7982) 16900 Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 16901 every other locale. 16902 16903commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 16904Author: Alan Coopersmith <alan.coopersmith@sun.com> 16905Date: Wed Aug 23 18:49:30 2006 -0700 16906 16907 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 16908 16909 Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 16910 connect on a named pipe, try a Unix socket first, to better support people who 16911 replace their X servers with ones that don't support named pipe transport. 16912 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 16913 16914commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 16915Author: Mark Brown <mark.brown@sun.com> 16916Date: Thu Jul 27 19:17:10 2006 -0700 16917 16918 Sun bug 1149809: Document event delivery when grab is terminated. 16919 16920commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 16921Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 16922Date: Thu Jul 27 18:47:06 2006 -0700 16923 16924 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 16925 16926 Document that 32-bit format properties are always returned in arrays of type 16927 long, even on systems where long is 64-bits. 16928 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 16929 16930commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 16931Author: Alan Coopersmith <alan.coopersmith@sun.com> 16932Date: Mon Jul 24 15:52:00 2006 -0700 16933 16934 Add support for "make lint" to check code with lint/sparse/etc. 16935 16936commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 16937Author: Alan Coopersmith <alan.coopersmith@sun.com> 16938Date: Mon Jul 24 15:50:52 2006 -0700 16939 16940 ANSIfy some static function definitions 16941 16942commit 20b7abcaac324d90454de63f32f4a2b398e69e63 16943Author: Alan Coopersmith <alan.coopersmith@sun.com> 16944Date: Mon Jul 24 15:01:40 2006 -0700 16945 16946 Fix sparse warning: Using plain integer as NULL pointer 16947 16948commit d158ab29930513c4097f5b67e7bea08ed2bfd62c 16949Author: Alan Coopersmith <alan.coopersmith@sun.com> 16950Date: Mon Jul 24 14:00:24 2006 -0700 16951 16952 Remove unused variable 16953 16954commit 30377000375bdb958042dcb1f38503c94ef21eaf 16955Author: Eric Anholt <anholt@FreeBSD.org> 16956Date: Fri Jul 21 18:55:36 2006 -0400 16957 16958 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 16959 16960commit 4eba45879aea4e415ab550ee56b900d060099110 16961Author: Matthieu Herrb <matthieu.herrb@laas.fr> 16962Date: Sun Jul 16 10:55:39 2006 +0200 16963 16964 set GIT_DIR=${srcdir}/.git for git-log 16965 16966commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 16967Author: Aaron Plattner <aplattner@nvidia.com> 16968Date: Tue Jul 11 13:27:49 2006 -0700 16969 16970 Add a .PHONY to ensure the ChangeLog isn't stale. 16971 16972 Setting the ChangeLog rule as phony forces it to be re-run even when the 16973 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 16974 Solaris make. 16975 (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 16976 16977commit b8a98809ed81e1226775e6447ef219ffc01334b5 16978Author: Aaron Plattner <aplattner@nvidia.com> 16979Date: Tue Jul 11 13:27:49 2006 -0700 16980 16981 Add a .PHONY to ensure the ChangeLog isn't stale. 16982 16983 Setting the ChangeLog rule as phony forces it to be re-run even when the 16984 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 16985 Solaris make. 16986 16987commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 16988Author: Mayank Jain <majain@redhat.com> 16989Date: Tue Jul 11 19:42:47 2006 +0100 16990 16991 add Indian language locales 16992 Add as, kn, ml, or, ur, and te locales. 16993 16994commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 16995Author: Matthias Hopf <mhopf@suse.de> 16996Date: Tue Jul 4 12:16:30 2006 +0200 16997 16998 Fix for autoconf 2.60 issue. 16999 17000 Updated AC_DEFINE_DIR. 17001 Reverted datarootdir change. 17002 17003commit 644f4828b15bce42b597eb123ba0bbc372c46c03 17004Author: Keith Packard <keithp@neko.keithp.com> 17005Date: Sat Jul 1 21:31:23 2006 -0700 17006 17007 Work around recent autoconf (2.59?) changes in directory expansion. 17008 17009 Recent autoconf versions have changed how directory names are managed in the 17010 configure.ac script; automatic 'eval' invocations now occur as a part of the 17011 AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 17012 before the variables are used in further macro definitions. Also, ${datadir} 17013 is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 17014 expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 17015 is easy to work around by just using ${datarootdir} instead of ${datadir}. 17016 17017commit be70a31229aa106aff0a09d78c00812682cd3475 17018Author: Keith Packard <keithp@neko.keithp.com> 17019Date: Sat Jul 1 01:56:05 2006 -0700 17020 17021 Xlib/XCB: handle 32-bit sequence wrap. 17022 17023 Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 17024 XCB). 17025 Account for XCB sequence 0 handling. 17026 17027commit 99c711707ad08e1396e123b1c7df687c560a489a 17028Author: Donnie Berkholz <spyderous@gentoo.org> 17029Date: Thu Jun 29 19:43:20 2006 -0700 17030 17031 Bump version to 1.0.3. 17032 17033commit cde3c0dd72af2b490e80cffca962e3487dd31be4 17034Author: Donnie Berkholz <spyderous@gentoo.org> 17035Date: Thu Jun 29 19:39:36 2006 -0700 17036 17037 Bug #7349: Missed one of the setuid fixes. 17038 (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 17039 17040commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 17041Author: Matthias Hopf <mhopf@suse.de> 17042Date: Thu Jun 29 18:59:57 2006 +0200 17043 17044 Update to final Compose cache directory location. 17045 (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 17046 17047commit 912ef198292d3053daa810f842510e5d62ded0f0 17048Author: Matthias Hopf <mhopf@suse.de> 17049Date: Thu Jun 29 17:41:41 2006 +0200 17050 17051 Fix alignment of trees and wide chars in the cache. 17052 (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 17053 17054commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 17055Author: Matthias Hopf <mhopf@suse.de> 17056Date: Wed Jun 28 19:17:03 2006 +0200 17057 17058 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 17059 (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 17060 17061commit e9614c963b532f46a7932c2305a4b177a996a222 17062Author: Donnie Berkholz <spyderous@gentoo.org> 17063Date: Thu Jun 29 19:39:36 2006 -0700 17064 17065 Bug #7349: Missed one of the setuid fixes. 17066 17067commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 17068Author: Matthias Hopf <mhopf@suse.de> 17069Date: Thu Jun 29 18:59:57 2006 +0200 17070 17071 Update to final Compose cache directory location. 17072 17073commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 17074Author: Matthias Hopf <mhopf@suse.de> 17075Date: Thu Jun 29 17:41:41 2006 +0200 17076 17077 Fix alignment of trees and wide chars in the cache. 17078 17079commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 17080Author: Matthias Hopf <mhopf@suse.de> 17081Date: Wed Jun 28 19:17:03 2006 +0200 17082 17083 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 17084 17085commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 17086Author: Donnie Berkholz <spyderous@gentoo.org> 17087Date: Thu Jun 22 23:59:03 2006 -0700 17088 17089 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 17090 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 17091 ChangeLog. 17092 (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 17093 17094commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 17095Author: Donnie Berkholz <donnie@comet.(none)> 17096Date: Thu Jun 22 23:47:38 2006 -0700 17097 17098 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 17099 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 17100 ChangeLog. 17101 17102commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 17103Author: Donnie Berkholz <donnie@comet.(none)> 17104Date: Thu Jun 22 15:47:38 2006 -0700 17105 17106 Bump version to 1.0.2. 17107 17108commit c93539d974a67f596a5eb5b65042d26602546c72 17109Author: Matthieu Herrb <matthieu@deville.herrb.com> 17110Date: Tue Jun 20 21:04:03 2006 +0200 17111 17112 Check setuid() return value. 17113 (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 17114 17115commit 605533f814ab7892991578706a6458f61a89ca4d 17116Author: Derek Wang <derek.wang@sun.com> 17117Date: Mon Jun 19 11:05:37 2006 -0700 17118 17119 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 17120 (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 17121 17122commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 17123Author: Scott Revelt <scott.revelt@sun.com> 17124Date: Fri Jun 16 19:11:13 2006 -0700 17125 17126 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 17127 based on locale that doesn't match those used in the Xcms.txt 17128 (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 17129 17130commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 17131Author: Alan Coopersmith <alanc@alf.(none)> 17132Date: Fri Jun 16 18:53:33 2006 -0700 17133 17134 Add *~ to ignore emacs droppings 17135 (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 17136 17137commit 214658b76b56768f69c3959a11525aae7813f448 17138Author: Matthias Hopf <mhopf@suse.de> 17139Date: Fri Jun 16 15:36:40 2006 +0200 17140 17141 Bug #3104: Compose table cache for faster X11 application starts. 17142 (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 17143 17144commit 13968a23aaea838ba4b69e42e8900f803499e091 17145Author: Matthias Hopf <mhopf@suse.de> 17146Date: Tue Jun 13 20:23:46 2006 +0200 17147 17148 Bug #3104: Compose table cache for faster X11 application starts. 17149 (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 17150 17151commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 17152Author: Lubos Lunak <llunak@suse.de> 17153Date: Mon Jun 12 18:48:08 2006 +0200 17154 17155 Bug #3104: Compose table cache for faster X11 application starts. 17156 (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 17157 17158commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 17159Author: Matthias Hopf <mhopf@suse.de> 17160Date: Fri Jun 9 18:24:02 2006 +0200 17161 17162 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. 17163 (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 17164 17165commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 17166Author: Jamey Sharp <jamey@minilop.net> 17167Date: Wed Jun 7 20:29:05 2006 -0700 17168 17169 Fix bug #7035: unnecessary memmove in XOpenDisplay. 17170 Using memmove on the connection setup data causes a problem for XCB, but making 17171 Xlib stop doing that should be harmless for non-XCB as well. 17172 (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 17173 17174commit cd7328c46ae72903ed02832828891b2dab4d5ee0 17175Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17176Date: Sat Jun 3 13:51:51 2006 +0300 17177 17178 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 17179 (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 17180 17181commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 17182Merge: 33556ca8 ad9ebbd2 17183Author: Donnie Berkholz <donnie@comet.(none)> 17184Date: Thu Jun 22 14:25:35 2006 -0700 17185 17186 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 17187 17188commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 17189Author: Daniel Stone <daniel@fooishbar.org> 17190Date: Thu Jun 22 17:20:59 2006 +0300 17191 17192 Bump to 1.0.99.0 to avoid confusion. 17193 17194commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 17195Merge: e3acee88 4b8eb5d4 17196Author: Daniel Stone <daniel@fooishbar.org> 17197Date: Thu Jun 22 16:53:45 2006 +0300 17198 17199 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 17200 17201commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 17202Merge: 5169d0e0 eff50c94 17203Author: Matthieu Herrb <matthieu@deville.herrb.com> 17204Date: Tue Jun 20 21:05:15 2006 +0200 17205 17206 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 17207 17208commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 17209Author: Matthieu Herrb <matthieu@deville.herrb.com> 17210Date: Tue Jun 20 21:04:03 2006 +0200 17211 17212 Check setuid() return value. 17213 17214commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 17215Author: Derek Wang <derek.wang@sun.com> 17216Date: Mon Jun 19 11:05:37 2006 -0700 17217 17218 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 17219 17220commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 17221Author: Scott Revelt <scott.revelt@sun.com> 17222Date: Fri Jun 16 19:11:13 2006 -0700 17223 17224 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 17225 based on locale that doesn't match those used in the Xcms.txt 17226 17227commit c33d7b8282ac196b36229be26442296768c16f3e 17228Author: Alan Coopersmith <alanc@alf.(none)> 17229Date: Fri Jun 16 18:53:33 2006 -0700 17230 17231 Add *~ to ignore emacs droppings 17232 17233commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 17234Author: Matthias Hopf <mhopf@suse.de> 17235Date: Fri Jun 16 15:36:40 2006 +0200 17236 17237 Bug #3104: Compose table cache for faster X11 application starts. 17238 17239commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 17240Author: Matthias Hopf <mhopf@suse.de> 17241Date: Tue Jun 13 20:23:46 2006 +0200 17242 17243 Bug #3104: Compose table cache for faster X11 application starts. 17244 17245commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 17246Author: Lubos Lunak <llunak@suse.de> 17247Date: Mon Jun 12 18:48:08 2006 +0200 17248 17249 Bug #3104: Compose table cache for faster X11 application starts. 17250 17251commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 17252Author: Matthias Hopf <mhopf@suse.de> 17253Date: Fri Jun 9 18:24:02 2006 +0200 17254 17255 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. 17256 17257commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 17258Author: Jamey Sharp <jamey@minilop.net> 17259Date: Wed Jun 7 20:29:05 2006 -0700 17260 17261 Fix bug #7035: unnecessary memmove in XOpenDisplay. 17262 Using memmove on the connection setup data causes a problem for XCB, but making 17263 Xlib stop doing that should be harmless for non-XCB as well. 17264 17265commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 17266Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17267Date: Sat Jun 3 12:57:55 2006 +0300 17268 17269 Bug #2186: Add cs_CZ.iso8859-2 alias. 17270 17271commit 9e7765e0b1cbaae6643072d91066ba1201b36227 17272Author: Daniel Stone <daniel@fooishbar.org> 17273Date: Fri Jun 2 02:46:29 2006 +0300 17274 17275 nls: Serbian (sr_CS) update (#5575) 17276 17277 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 17278 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 17279 and locale.dir.pre. (Milos Komarcevic) 17280 17281commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 17282Author: Daniel Stone <daniel@fooishbar.org> 17283Date: Fri Jun 2 02:24:25 2006 +0300 17284 17285 im: add Braille input method (#6296) 17286 17287 Bug #6296: Add a Braille input method. (Samuel Thibault) 17288 17289commit 90de1e2e141ec591048a76cb695579ef809a28d3 17290Author: Daniel Stone <daniel@fooishbar.org> 17291Date: Fri Jun 2 02:22:17 2006 +0300 17292 17293 xkb support: small typo 17294 17295commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 17296Author: Daniel Stone <daniel@fooishbar.org> 17297Date: Fri Jun 2 01:50:24 2006 +0300 17298 17299 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 17300 17301 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 17302 adding Unicode character names, removing duplicate entries, et al. 17303 17304commit 0c6473dd329c7334ae511884bcb6e73e632c784f 17305Author: Daniel Stone <daniel@fooishbar.org> 17306Date: Fri Jun 2 01:44:53 2006 +0300 17307 17308 nls: fix use of non-keysym dead_space (#5107) 17309 17310 Bug #5107: Change users of dead_space to space. 17311 17312commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 17313Author: Daniel Stone <daniel@fooishbar.org> 17314Date: Fri Jun 2 01:41:18 2006 +0300 17315 17316 optional XKB support fix 17317 17318 Fix compilation with --disable-xkb. 17319 17320commit 217d43ed44ced901122093af3ef1294e1736bb77 17321Author: Daniel Stone <daniel@fooishbar.org> 17322Date: Fri Jun 2 01:39:12 2006 +0300 17323 17324 i18n: separate data and lib directories 17325 17326 Break out locale data into separate data and library directories, under 17327 $(datadir) and $(libdir), respectively, by default. 17328 17329commit 92fa7fcde8df22830fca7c0275ab201033f7909c 17330Author: Adam Jackson <ajax@benzedrine.nwnk.net> 17331Date: Thu May 11 14:04:48 2006 -0400 17332 17333 libXcursor.so.1, not libXcursor.so 17334 17335commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 17336Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17337Date: Wed May 10 18:06:03 2006 +0300 17338 17339 XKBMisc.c: use Xfree, not xfree 17340 17341 Use Xfree() instead of xfree() when freeing interps. 17342 17343commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 17344Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17345Date: Wed May 10 14:51:37 2006 +0300 17346 17347 locale.alias.pre: bg_BG typo fix 17348 17349 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 17350 17351commit cc533db60cb64dc163c66451933a9bf77c519062 17352Author: Daniel Stone <daniels@endtroducing.localdomain> 17353Date: Sun Apr 9 22:22:03 2006 +0300 17354 17355 Coverity #203, #204: Fix potential NULL dereferences. 17356 17357commit b83adf7dfd6157694fe4f232012fef36cd9666da 17358Author: Daniel Stone <daniels@endtroducing.localdomain> 17359Date: Sun Apr 9 22:20:25 2006 +0300 17360 17361 Coverity #205: Fix potential NULL dereference. 17362 17363commit 2d0cd10ad907864d0136739eaac459779c9a5332 17364Author: Daniel Stone <daniels@endtroducing.localdomain> 17365Date: Sun Apr 9 22:18:20 2006 +0300 17366 17367 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 17368 17369commit dc2f3966068d66a564aa452cab9f0c26657fa1df 17370Author: Daniel Stone <daniels@preemptive.research.nokia.com> 17371Date: Fri Apr 7 18:11:52 2006 +0300 17372 17373 Coverity #826: Fix potential memory leak. 17374 17375commit 23df609ec451a01c77e8f31ecc85c5af7c62efed 17376Author: Daniel Stone <daniels@preemptive.research.nokia.com> 17377Date: Fri Apr 7 17:49:41 2006 +0300 17378 17379 Bug #1625: Include keysym.h from Xutil.h. 17380 17381commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 17382Author: Eric Anholt <anholt@leguin.anholt.net> 17383Date: Wed Apr 5 17:12:15 2006 -0700 17384 17385 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 17386 17387 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 17388 of Coverity #599, #600. 17389 17390commit 8b42635f577468bb143ca593cdd9fb3450ad712c 17391Author: Eric Anholt <anholt@leguin.anholt.net> 17392Date: Wed Apr 5 16:42:26 2006 -0700 17393 17394 Coverity #558: Free newly-allocated Database in error path. 17395 17396commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 17397Author: Eric Anholt <anholt@leguin.anholt.net> 17398Date: Wed Apr 5 16:38:52 2006 -0700 17399 17400 Coverity #582: Free newly-allocated region in error path. 17401 17402commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 17403Author: Daniel Stone <daniels@preemptive.research.nokia.com> 17404Date: Fri Mar 17 15:58:39 2006 +0200 17405 17406 Properly clip bounds when only one point is defining an outline. 17407 17408commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 17409Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 17410Date: Sat Mar 11 15:39:15 2006 +0100 17411 17412 Fix prototype of XConfigureWindow(). Bugzilla #6023. 17413 17414commit 1da8bd904f1fc79d63d368473531b438d08bfe37 17415Author: Jeremy C. Reed <reed@reedmedia.net> 17416Date: Tue Feb 21 14:10:22 2006 -0800 17417 17418 Set XTHREADLIB correctly for dragonfly platforms. 17419 17420commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 17421Author: Jamey Sharp <jamey@minilop.net> 17422Date: Sun Feb 19 12:29:27 2006 -0800 17423 17424 Update .gitignores for *.o and nls/locale.dir*. 17425 17426commit efcbde6ba0b770bb0d4c7818e307712161011f10 17427Author: Jamey Sharp <jamey@minilop.net> 17428Date: Sun Feb 19 12:28:41 2006 -0800 17429 17430 Move .cvsignore to .gitignore. 17431 17432commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 17433Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17434Date: Sat Jun 3 13:51:51 2006 +0300 17435 17436 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 17437 17438commit f1bd3152359ddfadd0d043006036c239f3e2907b 17439Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17440Date: Sat Jun 3 12:57:55 2006 +0300 17441 17442 Bug #2186: Add cs_CZ.iso8859-2 alias. 17443 17444commit 2b1b79d90db1d7f0472718b8c010c36275994195 17445Author: Daniel Stone <daniel@fooishbar.org> 17446Date: Fri Jun 2 02:46:29 2006 +0300 17447 17448 nls: Serbian (sr_CS) update (#5575) 17449 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 17450 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 17451 and locale.dir.pre. (Milos Komarcevic) 17452 17453commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 17454Author: Daniel Stone <daniel@fooishbar.org> 17455Date: Fri Jun 2 02:24:25 2006 +0300 17456 17457 im: add Braille input method (#6296) 17458 Bug #6296: Add a Braille input method. (Samuel Thibault) 17459 17460commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 17461Author: Daniel Stone <daniel@fooishbar.org> 17462Date: Fri Jun 2 02:22:17 2006 +0300 17463 17464 xkb support: small typo 17465 17466commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 17467Author: Daniel Stone <daniel@fooishbar.org> 17468Date: Fri Jun 2 01:50:24 2006 +0300 17469 17470 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 17471 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 17472 adding Unicode character names, removing duplicate entries, et al. 17473 17474commit 332d45fce9fdbf59168d90a133af1f580a589e54 17475Author: Daniel Stone <daniel@fooishbar.org> 17476Date: Fri Jun 2 01:44:53 2006 +0300 17477 17478 nls: fix use of non-keysym dead_space (#5107) 17479 Bug #5107: Change users of dead_space to space. 17480 17481commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 17482Author: Daniel Stone <daniel@fooishbar.org> 17483Date: Fri Jun 2 01:41:18 2006 +0300 17484 17485 optional XKB support fix 17486 Fix compilation with --disable-xkb. 17487 17488commit c5940a0b85edec4003f91a59fc3c44f538accfe1 17489Author: Daniel Stone <daniel@fooishbar.org> 17490Date: Fri Jun 2 01:39:12 2006 +0300 17491 17492 i18n: separate data and lib directories 17493 Break out locale data into separate data and library directories, under 17494 $(datadir) and $(libdir), respectively, by default. 17495 17496commit 33556ca81db2419b9d2a37664c4cea2069414b37 17497Author: Adam Jackson <ajax@benzedrine.nwnk.net> 17498Date: Fri May 12 14:49:17 2006 -0400 17499 17500 Bump to 1.0.1 17501 17502commit 80d88557626fae9debc404de33d7fb5d69a6049d 17503Author: Adam Jackson <ajax@benzedrine.nwnk.net> 17504Date: Thu May 11 14:06:28 2006 -0400 17505 17506 libXcursor.so.1, not libXcursor.so 17507 17508commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 17509Author: Adam Jackson <ajax@benzedrine.nwnk.net> 17510Date: Thu May 11 14:04:48 2006 -0400 17511 17512 libXcursor.so.1, not libXcursor.so 17513 17514commit 01f4d433eed6b70c6e9636157acac022054fdeb6 17515Author: Jamey Sharp <jamey@minilop.net> 17516Date: Wed May 10 17:02:52 2006 -0700 17517 17518 Count any partial request towards the current Xlib sequence number. 17519 17520commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 17521Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17522Date: Wed May 10 18:06:03 2006 +0300 17523 17524 XKBMisc.c: use Xfree, not xfree 17525 Use Xfree() instead of xfree() when freeing interps. 17526 17527commit 22a5255b80b80772612279bc840a953edd0e3442 17528Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17529Date: Wed May 10 14:51:37 2006 +0300 17530 17531 locale.alias.pre: bg_BG typo fix 17532 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 17533 17534commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 17535Merge: 19b8840a e514bc87 17536Author: Daniel Stone <daniels@preemptive.fooishbar.org> 17537Date: Wed May 10 14:50:37 2006 +0300 17538 17539 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 17540 17541commit e514bc875f27f4bf197b06b8315eeca526195915 17542Author: Jamey Sharp <jamey@minilop.net> 17543Date: Tue May 9 12:41:59 2006 -0700 17544 17545 Assert that dpy->request does not go backwards. Catches #5839 earlier. 17546 17547commit fc1159137365a599bf611ee001f439416952c4e0 17548Author: Jamey Sharp <jamey@minilop.net> 17549Date: Sun May 7 17:40:01 2006 -0700 17550 17551 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 17552 17553commit c394480a4247213239822808e3f6e7c6cd6decd9 17554Author: Jamey Sharp <jamey@minilop.net> 17555Date: Sun May 7 16:58:13 2006 -0700 17556 17557 Update for XCB ConnSetupSuccessRep name change. 17558 17559commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 17560Author: Daniel Stone <daniels@endtroducing.localdomain> 17561Date: Sun Apr 9 22:22:03 2006 +0300 17562 17563 Coverity #203, #204: Fix potential NULL dereferences. 17564 17565commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 17566Author: Daniel Stone <daniels@endtroducing.localdomain> 17567Date: Sun Apr 9 22:20:25 2006 +0300 17568 17569 Coverity #205: Fix potential NULL dereference. 17570 17571commit b6771501feea98d037032f82117b6d4f15779f07 17572Author: Daniel Stone <daniels@endtroducing.localdomain> 17573Date: Sun Apr 9 22:18:20 2006 +0300 17574 17575 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 17576 17577commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 17578Author: Daniel Stone <daniels@preemptive.research.nokia.com> 17579Date: Fri Apr 7 18:11:52 2006 +0300 17580 17581 Coverity #826: Fix potential memory leak. 17582 17583commit 3a16f262abe48b44ed641525e894bc22e13bf72a 17584Author: Daniel Stone <daniels@preemptive.research.nokia.com> 17585Date: Fri Apr 7 17:49:41 2006 +0300 17586 17587 Bug #1625: Include keysym.h from Xutil.h. 17588 17589commit 2481b767ae96e2f2503c0390545932c8397b090f 17590Author: Eric Anholt <anholt@leguin.anholt.net> 17591Date: Wed Apr 5 17:12:15 2006 -0700 17592 17593 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 17594 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 17595 of Coverity #599, #600. 17596 17597commit 152b17e47d878c2d928eb74581aa69d925a29123 17598Author: Eric Anholt <anholt@leguin.anholt.net> 17599Date: Wed Apr 5 16:42:26 2006 -0700 17600 17601 Coverity #558: Free newly-allocated Database in error path. 17602 17603commit bc62b99ef36edb34035911c42104be7f6f9d2333 17604Author: Eric Anholt <anholt@leguin.anholt.net> 17605Date: Wed Apr 5 16:38:52 2006 -0700 17606 17607 Coverity #582: Free newly-allocated region in error path. 17608 17609commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 17610Author: Jamey Sharp <jamey@minilop.net> 17611Date: Fri Mar 31 22:53:07 2006 -0800 17612 17613 Fix buggy interaction with XCB when running out of XIDs. 17614 17615commit e3f452571824d6a875bbf582946de185de9e01e9 17616Author: Jamey Sharp <jamey@minilop.net> 17617Date: Fri Mar 31 22:52:14 2006 -0800 17618 17619 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 17620 17621commit 2363b74ca795c1b3a73c9e572532ba5191adec5b 17622Author: Daniel Stone <daniels@preemptive.research.nokia.com> 17623Date: Fri Mar 17 15:58:39 2006 +0200 17624 17625 Properly clip bounds when only one point is defining an outline. 17626 17627commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 17628Merge: be266b20 f71ea0bc 17629Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 17630Date: Sat Mar 11 15:40:35 2006 +0100 17631 17632 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 17633 17634commit be266b201dc13530a302a7572283ccd3f32aad87 17635Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 17636Date: Sat Mar 11 15:39:15 2006 +0100 17637 17638 Fix prototype of XConfigureWindow(). Bugzilla #6023. 17639 17640commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 17641Author: Jamey Sharp <jamey@minilop.net> 17642Date: Fri Mar 3 11:08:41 2006 -0800 17643 17644 Update for XCBSendRequest sequence number API changes. 17645 17646commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 17647Author: Jamey Sharp <jamey@minilop.net> 17648Date: Fri Mar 3 01:42:49 2006 -0800 17649 17650 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 17651 17652commit d8ba4ae7045b227f8b675628b9094dded02f1c08 17653Author: Jamey Sharp <jamey@minilop.net> 17654Date: Thu Mar 2 23:43:26 2006 -0800 17655 17656 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 17657 17658commit f9afb5a54435c30961306080e9358d4240ecb844 17659Author: Jamey Sharp <jamey@minilop.net> 17660Date: Thu Mar 2 23:34:19 2006 -0800 17661 17662 assert() that we will not infinite loop or read uninitialized memory. 17663 17664commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 17665Author: Jamey Sharp <jamey@minilop.net> 17666Date: Thu Mar 2 15:58:52 2006 -0800 17667 17668 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 17669 17670commit fb590c15a740264ee867d15a2547072e43b21eed 17671Author: Jamey Sharp <jamey@minilop.net> 17672Date: Thu Mar 2 12:06:04 2006 -0800 17673 17674 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 17675 17676commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 17677Author: Jamey Sharp <jamey@minilop.net> 17678Date: Mon Feb 27 11:51:47 2006 -0800 17679 17680 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 17681 17682commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 17683Author: Jamey Sharp <jamey@minilop.net> 17684Date: Sun Feb 26 15:46:01 2006 -0800 17685 17686 Update for new XCBSendRequest API. 17687 17688commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 17689Author: Jamey Sharp <jamey@minilop.net> 17690Date: Thu Feb 23 18:12:31 2006 -0800 17691 17692 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 17693 17694commit ec30a27341b97620b07dd886f98d1d7664a67685 17695Author: Jamey Sharp <jamey@minilop.net> 17696Date: Thu Feb 23 18:01:46 2006 -0800 17697 17698 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 17699 17700commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 17701Author: Jamey Sharp <jamey@minilop.net> 17702Date: Thu Feb 23 11:46:09 2006 -0800 17703 17704 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. 17705 17706commit 41c0121a8718b530feaf7fe315b673d9b8defce2 17707Author: Jamey Sharp <jamey@minilop.net> 17708Date: Tue Feb 21 21:25:41 2006 -0800 17709 17710 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 17711 17712commit 67d06e0fe468dca22847aa14d3f917128f89f9cf 17713Author: Jamey Sharp <jamey@minilop.net> 17714Date: Tue Feb 21 15:33:05 2006 -0800 17715 17716 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 17717 17718commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 17719Author: Jeremy C. Reed <reed@reedmedia.net> 17720Date: Tue Feb 21 14:10:22 2006 -0800 17721 17722 Set XTHREADLIB correctly for dragonfly platforms. 17723 17724commit b24834762e975bd319f9ab5c7cf790b2a02a9474 17725Author: Jamey Sharp <jamey@minilop.net> 17726Date: Tue Feb 21 14:03:26 2006 -0800 17727 17728 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 17729 17730commit 99b8defd0d5e6993071e21638128c9de2574b37d 17731Author: Jamey Sharp <jamey@minilop.net> 17732Date: Tue Feb 21 13:04:21 2006 -0800 17733 17734 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 17735 Traditional Xlib worked this way; I dunno why I changed it. 17736 17737commit 9b01e7849775749182052fe324df9d8e6ceeee99 17738Author: Jamey Sharp <jamey@minilop.net> 17739Date: Tue Feb 21 12:51:44 2006 -0800 17740 17741 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 17742 17743commit 7ce7ac882de128955751a5307889db9d712d8a72 17744Author: Jamey Sharp <jamey@minilop.net> 17745Date: Tue Feb 21 12:44:30 2006 -0800 17746 17747 Quit using a triple-pointer. Almost as if I were a sensible person. 17748 17749commit 35a858be218cdbfa4593d44a67663d5c25297016 17750Author: Jamey Sharp <jamey@minilop.net> 17751Date: Tue Feb 21 12:21:01 2006 -0800 17752 17753 Remove the XCL_PAD macro. 17754 17755commit e741b70ed2542c5463c57dac44bc37328616733b 17756Author: Jamey Sharp <jamey@minilop.net> 17757Date: Sun Feb 19 12:29:27 2006 -0800 17758 17759 Update .gitignores for *.o and nls/locale.dir*. 17760 17761commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 17762Author: Jamey Sharp <jamey@minilop.net> 17763Date: Sun Feb 19 12:28:41 2006 -0800 17764 17765 Move .cvsignore to .gitignore. 17766 17767commit c7cda56eebaf6ab11403363be14d4948d7d8be38 17768Author: Jamey Sharp <jamey@minilop.net> 17769Date: Sun Feb 19 11:49:15 2006 -0800 17770 17771 Land XCB support on X.org HEAD. 17772 17773commit 881467b3032261791ef5ec61b3879bb68d0a3d8c 17774Author: Jamey Sharp <jamey@minilop.net> 17775Date: Sun Feb 19 02:14:11 2006 +0000 17776 17777 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 17778 17779commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 17780Author: Jamey Sharp <jamey@minilop.net> 17781Date: Tue Feb 14 19:37:36 2006 +0000 17782 17783 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. 17784 17785commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 17786Author: Alan Coopersmith <alan.coopersmith@sun.com> 17787Date: Sun Feb 12 18:19:17 2006 +0000 17788 17789 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 17790 17791commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 17792Author: Alan Coopersmith <alan.coopersmith@sun.com> 17793Date: Fri Feb 3 23:34:43 2006 +0000 17794 17795 Fix typo in .TH line 17796 17797commit b091c217f3c3f60dde78b09a95c150df6c83d7ba 17798Author: Kevin E Martin <kem@kem.org> 17799Date: Thu Dec 15 00:24:28 2005 +0000 17800 17801 Update package version number for final X11R7 release candidate. 17802 17803commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 17804Author: Kevin E Martin <kem@kem.org> 17805Date: Tue Dec 6 22:48:41 2005 +0000 17806 17807 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 17808 17809commit b5c495854d5270e64e6d588388ffa906bfcaac22 17810Author: Kevin E Martin <kem@kem.org> 17811Date: Sat Dec 3 05:49:42 2005 +0000 17812 17813 Update package version number for X11R7 RC3 release. 17814 17815commit 9e96dbc343c7f27ff47607acd75378ab23903e2a 17816Author: Kevin E Martin <kem@kem.org> 17817Date: Sat Dec 3 04:41:47 2005 +0000 17818 17819 Add check and cflags for malloc(0) returning NULL. 17820 17821commit 649c37b47909620ccafde3e983de8321cddd74ce 17822Author: Alan Coopersmith <alan.coopersmith@sun.com> 17823Date: Mon Nov 28 22:03:04 2005 +0000 17824 17825 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) 17826 17827commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 17828Author: Alan Coopersmith <alan.coopersmith@sun.com> 17829Date: Wed Nov 23 22:33:06 2005 +0000 17830 17831 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 17832 17833commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 17834Author: Eric Anholt <anholt@freebsd.org> 17835Date: Sun Nov 20 23:17:39 2005 +0000 17836 17837 Add/improve libs .cvsignores. 17838 17839commit fa1f4a08112bfa14d3758f4702733dd3892966c3 17840Author: Kevin E Martin <kem@kem.org> 17841Date: Sat Nov 19 07:15:39 2005 +0000 17842 17843 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 17844 17845commit 7012f9b56c594cf40855ba0dbf93af1263417a8c 17846Author: Kevin E Martin <kem@kem.org> 17847Date: Mon Nov 14 21:51:07 2005 +0000 17848 17849 Fix xf86bigfont pkgconfig dep typo. 17850 17851commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 17852Author: Kevin E Martin <kem@kem.org> 17853Date: Wed Nov 9 21:19:12 2005 +0000 17854 17855 Update package version number for X11R7 RC2 release. 17856 17857commit 6bb0c3796b6e1beddc376a896e865704886e1462 17858Author: Kean Johnson <kean@armory.com> 17859Date: Tue Nov 8 06:33:25 2005 +0000 17860 17861 See ChangeLog entry 2005-11-07 for details. 17862 17863commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 17864Author: Kevin E Martin <kem@kem.org> 17865Date: Tue Nov 1 15:11:50 2005 +0000 17866 17867 Update pkgcheck dependencies to work with separate build roots. 17868 17869commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 17870Author: Donnie Berkholz <spyderous@gentoo.org> 17871Date: Fri Oct 28 10:44:03 2005 +0000 17872 17873 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 17874 17875commit be627a39fe373e2e81fdc263780e70a271d9e0c5 17876Author: Donnie Berkholz <spyderous@gentoo.org> 17877Date: Fri Oct 28 08:28:08 2005 +0000 17878 17879 Add dependency on inputproto for XI.h. 17880 17881commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 17882Author: Adam Jackson <ajax@nwnk.net> 17883Date: Fri Oct 21 18:44:24 2005 +0000 17884 17885 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 17886 17887commit 1171fa9dc77413f0e90933a565ec07068052afb4 17888Author: Kevin E Martin <kem@kem.org> 17889Date: Wed Oct 19 02:48:08 2005 +0000 17890 17891 Update package version number for RC1 release. 17892 17893commit 2a2d905706308b9d5a1c16af1067fb390f43850c 17894Author: Alan Coopersmith <alan.coopersmith@sun.com> 17895Date: Tue Oct 18 00:00:08 2005 +0000 17896 17897 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 17898 17899commit 66d35b6971fb26762392a2a8e2c47db46c11116a 17900Author: Alan Coopersmith <alan.coopersmith@sun.com> 17901Date: Mon Oct 17 21:13:15 2005 +0000 17902 17903 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 17904 17905commit a316995a17c084e98ef1b7f25d287c2c08b6d749 17906Author: Donnie Berkholz <spyderous@gentoo.org> 17907Date: Sun Oct 16 03:03:35 2005 +0000 17908 17909 Change '==' to portable '='. 17910 17911commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 17912Author: Alan Coopersmith <alan.coopersmith@sun.com> 17913Date: Wed Oct 12 00:04:50 2005 +0000 17914 17915 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 17916 17917commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 17918Author: Eric Anholt <anholt@freebsd.org> 17919Date: Tue Oct 11 02:18:36 2005 +0000 17920 17921 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 17922 17923commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 17924Author: Alan Coopersmith <alan.coopersmith@sun.com> 17925Date: Sun Oct 9 22:28:39 2005 +0000 17926 17927 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 17928 17929commit 91ed79852e790049ab54e68f288afb3c953194c9 17930Author: Kevin E Martin <kem@kem.org> 17931Date: Fri Oct 7 15:00:00 2005 +0000 17932 17933 Clean up generated files 17934 Add missing dist tarball files 17935 17936commit 440399b470c97b159a530602fff11c315aca8d97 17937Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17938Date: Wed Oct 5 18:27:10 2005 +0000 17939 17940 Add el_GR.UTF-8 compose file 17941 17942commit 010f0647e25ac617d0f92c8d2b8dda684da545db 17943Author: Daniel Stone <daniel@fooishbar.org> 17944Date: Fri Sep 30 07:52:46 2005 +0000 17945 17946 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 17947 17948commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 17949Author: Daniel Stone <daniel@fooishbar.org> 17950Date: Fri Sep 30 07:47:55 2005 +0000 17951 17952 Bug #1640: Kinyarwanda locale support. (Steve Murphy) 17953 17954commit 4ae0decabe0960870df0ec165f495166c10a053c 17955Author: Daniel Stone <daniel@fooishbar.org> 17956Date: Fri Sep 30 07:40:03 2005 +0000 17957 17958 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 17959 17960commit 3f79eb4c99844f618f1889741d1631c2ffe5385f 17961Author: Daniel Stone <daniel@fooishbar.org> 17962Date: Fri Sep 30 07:11:19 2005 +0000 17963 17964 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. 17965 17966commit d1237d1483ff972c76a0ac344ec97d5280db0007 17967Author: Alan Coopersmith <alan.coopersmith@sun.com> 17968Date: Thu Sep 29 21:27:12 2005 +0000 17969 17970 Add Xcms.txt to lib/X11 17971 17972commit 4a86f299693f7376cbe98175f0b0c44d691802b3 17973Author: Alan Coopersmith <alan.coopersmith@sun.com> 17974Date: Sat Sep 24 20:11:06 2005 +0000 17975 17976 Add XQueryExtension.man 17977 17978commit a057a66e2041d45198a13a4ece7c07068f76f21b 17979Author: Alan Coopersmith <alan.coopersmith@sun.com> 17980Date: Sat Sep 24 00:16:32 2005 +0000 17981 17982 Add XTHREAD_CFLAGS for platforms that need special defines like 17983 -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 17984 17985commit 3e920a65a7c376ad63eae2240fd06904d25d18bf 17986Author: Alan Coopersmith <alan.coopersmith@sun.com> 17987Date: Fri Sep 2 23:00:30 2005 +0000 17988 17989 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 17990 17991commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 17992Author: Kristian Høgsberg <krh@redhat.com> 17993Date: Thu Sep 1 19:24:13 2005 +0000 17994 17995 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 17996 17997commit 7afa64325183b78d2d6a4862821f8b3e9866105c 17998Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17999Date: Sun Aug 28 19:45:48 2005 +0000 18000 18001 OpenBSD needs -lpthread for threaded applications too. 18002 18003commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 18004Author: Daniel Stone <daniel@fooishbar.org> 18005Date: Fri Aug 26 05:16:46 2005 +0000 18006 18007 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 18008 18009commit 07066da0902df91c71f2adb81d1a17ec29165553 18010Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18011Date: Sun Aug 21 15:45:04 2005 +0000 18012 18013 update 18014 18015commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 18016Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18017Date: Sun Aug 21 15:38:39 2005 +0000 18018 18019 Threads support for BSD systems: 18020 - need to check for gewtpwuid_r to define mtsafeapi 18021 - build UIThrstubs if needed. 18022 18023commit 60217fdb918bafb2082519efe5cba3b13ad3082a 18024Author: Adam Jackson <ajax@nwnk.net> 18025Date: Wed Aug 17 19:46:08 2005 +0000 18026 18027 Add xthreadlib variable to x11.pc. Bump to 0.99.1. 18028 18029commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 18030Author: Alan Coopersmith <alan.coopersmith@sun.com> 18031Date: Wed Aug 17 01:27:08 2005 +0000 18032 18033 Fix more broken multi-line .ds macros. Remove extraneous ;'s . 18034 18035commit 1909786f4a7d686369edcfc05a938df115fab37c 18036Author: Alan Coopersmith <alan.coopersmith@sun.com> 18037Date: Tue Aug 16 19:23:15 2005 +0000 18038 18039 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) 18040 18041commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 18042Author: Alan Coopersmith <alan.coopersmith@sun.com> 18043Date: Mon Aug 15 19:53:37 2005 +0000 18044 18045 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 18046 18047commit 5bb43de17de8e71d967488a713bf2b3448533444 18048Author: Alan Coopersmith <alan.coopersmith@sun.com> 18049Date: Sat Aug 6 18:59:49 2005 +0000 18050 18051 Typo fix in output message 18052 18053commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 18054Author: Alan Coopersmith <alan.coopersmith@sun.com> 18055Date: Thu Aug 4 02:55:49 2005 +0000 18056 18057 //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) 18058 18059commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 18060Author: Alan Coopersmith <alan.coopersmith@sun.com> 18061Date: Thu Aug 4 02:51:30 2005 +0000 18062 18063 //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) 18064 18065commit 34b454df192f4563499c453ccdb8c079f4a20cbe 18066Author: Alan Coopersmith <alan.coopersmith@sun.com> 18067Date: Sat Jul 30 20:30:46 2005 +0000 18068 18069 Include config.h so Xtrans knows which transport types to build code for 18070 18071commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 18072Author: Alan Coopersmith <alan.coopersmith@sun.com> 18073Date: Sat Jul 30 19:15:16 2005 +0000 18074 18075 Add -D flags to clear various warnings (Stefan Dirsch) 18076 18077commit e7fef67b4531faddd805d8f2157903006d3117ed 18078Author: Kevin E Martin <kem@kem.org> 18079Date: Fri Jul 29 21:22:50 2005 +0000 18080 18081 Various changes preparing packages for RC0: 18082 - Verify and update package version numbers as needed 18083 - Implement versioning scheme 18084 - Change bug address to point to bugzilla bug entry form 18085 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 18086 - Fix makedepend to use pkgconfig and pass distcheck 18087 - Update build script to build macros first 18088 - Update modular Xorg version 18089 18090commit 2ebb00244928237088e68325b1032b3550455ce9 18091Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18092Date: Sat Jul 23 20:19:31 2005 +0000 18093 18094 remove orphan TAB at begin of line 18095 18096commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 18097Author: Kevin E Martin <kem@kem.org> 18098Date: Sat Jul 23 18:09:39 2005 +0000 18099 18100 Modify modular libs to use Xregion.h instead of region.h 18101 18102commit 6d635a88d91647b1b63611c3591f74916f88cd1c 18103Author: Kevin E Martin <kem@kem.org> 18104Date: Sat Jul 23 18:06:16 2005 +0000 18105 18106 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 18107 18108commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 18109Author: Daniel Stone <daniel@fooishbar.org> 18110Date: Sat Jul 16 06:25:35 2005 +0000 18111 18112 Set soversion to 6.2.0. 18113 18114commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 18115Author: Keith Packard <keithp@keithp.com> 18116Date: Fri Jul 15 04:27:32 2005 +0000 18117 18118 Add missing Makefile.am to lib/X11/modules 18119 18120commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 18121Author: Keith Packard <keithp@keithp.com> 18122Date: Fri Jul 15 04:08:51 2005 +0000 18123 18124 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 18125 Link i18n modules against xlib to resolve Xlib symbols used by them. 18126 18127commit 45f40126a73295345bb5eb187b1167874842ab6e 18128Author: Alexander Gottwald <ago@freedesktop.org> 18129Date: Thu Jul 14 19:50:00 2005 +0000 18130 18131 Add $(top_srcdir)/src to include list 18132 18133commit 0aed7d91f5928d09d541617aad03709b5090658d 18134Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18135Date: Thu Jul 14 17:04:49 2005 +0000 18136 18137 Build fix for non-GNU make. 18138 18139commit b79422ccb02ab44548d1038956ab0cd4e2638645 18140Author: Adam Jackson <ajax@nwnk.net> 18141Date: Thu Jul 14 15:12:44 2005 +0000 18142 18143 typo fixes (Matthieu Herrb) 18144 18145commit 419304cde2fda19457c667870edefc0b227651b3 18146Author: Alan Coopersmith <alan.coopersmith@sun.com> 18147Date: Wed Jul 13 02:41:36 2005 +0000 18148 18149 Add missing backslashes to xlocale_la_SOURCES 18150 18151commit d14cc5c8964c4539b57c6cb51ef653292e410b79 18152Author: Keith Packard <keithp@keithp.com> 18153Date: Mon Jul 11 20:32:55 2005 +0000 18154 18155 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 18156 18157commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 18158Author: Lars Knoll <lars@trolltech.com> 18159Date: Mon Jul 11 15:24:32 2005 +0000 18160 18161 compile 18162 18163commit de9784eb1bde46efc316da279e3da27c6cc288a7 18164Author: Keith Packard <keithp@keithp.com> 18165Date: Mon Jul 11 09:26:40 2005 +0000 18166 18167 Ignore built man page files 18168 18169commit 0c258c36d1523113790c599b16d2947d7aa6469a 18170Author: Keith Packard <keithp@keithp.com> 18171Date: Mon Jul 11 09:18:31 2005 +0000 18172 18173 Minor changes to help modular Xlib build i18n modules 18174 18175commit 6e752ea1203b786423e40f43340bce15ca3de0f0 18176Author: Keith Packard <keithp@keithp.com> 18177Date: Mon Jul 11 08:29:18 2005 +0000 18178 18179 Enable loadable i18n modules, making them configurable on the configure command line. 18180 Clean up conditionals for XKB, XCMS, XLOCALEDIR 18181 Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 18182 Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 18183 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. 18184 Display message at end of configure script with selected options. 18185 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. 18186 18187commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 18188Author: Daniel Stone <daniel@fooishbar.org> 18189Date: Sun Jul 10 22:37:33 2005 +0000 18190 18191 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 18192 18193commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 18194Author: Alan Coopersmith <alan.coopersmith@sun.com> 18195Date: Sat Jul 9 20:06:04 2005 +0000 18196 18197 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 18198 18199commit 3939ac4410446b46071c9d714f4270c12bf904fe 18200Author: Alan Coopersmith <alan.coopersmith@sun.com> 18201Date: Sat Jul 9 18:44:14 2005 +0000 18202 18203 - 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 18204 - Don't assume $(CPP) can take gcc-only -traditional flag 18205 - CPP process man pages as is done in the monolithic tree 18206 18207commit 19ba9d0df86c688319377467254b9ea9c4b0eccc 18208Author: Keith Packard <keithp@keithp.com> 18209Date: Sat Jul 9 06:01:49 2005 +0000 18210 18211 Clean up .cvsignore files 18212 18213commit f4bba6fa9b9ce637be7662754750054567e9250a 18214Author: Adam Jackson <ajax@nwnk.net> 18215Date: Sat Jul 9 02:53:29 2005 +0000 18216 18217 typo fix. i suck. 18218 18219commit 3305da61a61695e24c1ea11d3f59dddb52873d47 18220Author: Adam Jackson <ajax@nwnk.net> 18221Date: Sat Jul 9 02:41:18 2005 +0000 18222 18223 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 18224 18225commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 18226Author: Keith Packard <keithp@keithp.com> 18227Date: Fri Jul 8 07:11:56 2005 +0000 18228 18229 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 18230 18231commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 18232Author: Keith Packard <keithp@keithp.com> 18233Date: Fri Jul 8 06:57:06 2005 +0000 18234 18235 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. 18236 Add a bunch of .cvsignore files 18237 18238commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 18239Author: Chris Less <clee@c133.org> 18240Date: Mon Jul 4 23:01:48 2005 +0000 18241 18242 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 18243 18244commit 55328bb6caabd37885cd19d7a5821ed425daf321 18245Author: Eric Anholt <anholt@freebsd.org> 18246Date: Sun Jul 3 10:17:38 2005 +0000 18247 18248 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 18249 18250commit 726538ba21b631bfb0b8094a5546acdaf57379ff 18251Author: Daniel Stone <daniel@fooishbar.org> 18252Date: Sun Jul 3 07:37:33 2005 +0000 18253 18254 Fix more include paths; add dix-config.h to XKB code. 18255 18256commit 8c7677138e70e14eca0255f2168583f0ecc21994 18257Author: Daniel Stone <daniel@fooishbar.org> 18258Date: Sun Jul 3 07:00:55 2005 +0000 18259 18260 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 18261 Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 18262 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>. 18263 18264commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 18265Author: Daniel Stone <daniel@fooishbar.org> 18266Date: Fri Jul 1 22:13:35 2005 +0000 18267 18268 Fix objdir != srcdir, as well as make distcheck. 18269 Don't attempt to create Compose.pre files; formatting fixes. 18270 Added if not already present. 18271 18272commit c162d60ad8f124563f94a2a266de59373936266c 18273Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18274Date: Wed Jun 22 22:46:31 2005 +0000 18275 18276 Apply these patches from Theo van Klaveren: 18277 lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 18278 to make the libraries distcheck. 18279 18280commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 18281Author: Alan Coopersmith <alan.coopersmith@sun.com> 18282Date: Sat Jun 18 07:48:43 2005 +0000 18283 18284 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 18285 18286commit 12afc57b7d455781eee305e9ed6a899ceec8729e 18287Author: Daniel Stone <daniel@fooishbar.org> 18288Date: Wed Jun 15 16:50:47 2005 +0000 18289 18290 Typo fix to locale/error/keysym location declarations. 18291 18292commit 9a895777e30762f61b98d25be3b5d8b1169baa17 18293Author: Daniel Stone <daniel@fooishbar.org> 18294Date: Wed Jun 15 13:37:43 2005 +0000 18295 18296 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 18297 18298commit add49285663684875ab7a5c58ec7a2cf8b775f67 18299Author: Daniel Stone <daniel@fooishbar.org> 18300Date: Wed Jun 15 13:32:35 2005 +0000 18301 18302 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 18303 Move ImUtil.h from src/ to include/X11/. 18304 18305commit 845dfc6b42b950890866ee4df27761e086f50dca 18306Author: Daniel Stone <daniel@fooishbar.org> 18307Date: Wed Jun 15 13:27:48 2005 +0000 18308 18309 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 18310 18311commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 18312Author: Daniel Stone <daniel@fooishbar.org> 18313Date: Fri Jun 10 14:11:36 2005 +0000 18314 18315 Remove pointless include of Xlib.h. 18316 Fix #include path to bigreqstr.h. 18317 18318commit 1a0de49da1274882bab05b0f7240936b37955e5c 18319Author: Alexander Gottwald <ago@freedesktop.org> 18320Date: Thu Jun 9 21:30:15 2005 +0000 18321 18322 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 18323 18324commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 18325Author: Alexander Gottwald <ago@freedesktop.org> 18326Date: Thu Jun 9 15:55:33 2005 +0000 18327 18328 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 18329 18330commit fd5f58e0baf692e34b9b622286f18762cc2500d3 18331Author: Alexander Gottwald <ago@freedesktop.org> 18332Date: Thu Jun 9 15:52:02 2005 +0000 18333 18334 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 18335 Copy Xtrans.h to exports/include/X11/Xtrans only 18336 18337commit 44538f9940f969d46c0e5e4b201c684cde2ba611 18338Author: Alan Coopersmith <alan.coopersmith@sun.com> 18339Date: Sun Jun 5 03:29:33 2005 +0000 18340 18341 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 18342 18343commit 588e30e9ec65fa6205a34be650b79d5e2243edec 18344Author: Alan Coopersmith <alan.coopersmith@sun.com> 18345Date: Sat Jun 4 22:53:21 2005 +0000 18346 18347 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 18348 18349commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 18350Author: Alan Coopersmith <alan.coopersmith@sun.com> 18351Date: Sat Jun 4 21:20:20 2005 +0000 18352 18353 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) 18354 18355commit ca93c761559ae464189c7ea7cf11c6a6679f2431 18356Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18357Date: Sat May 28 01:02:32 2005 +0000 18358 18359 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 18360 18361commit 09ebb349359e3dd9131fa2fa8b07559faa173654 18362Author: Alan Coopersmith <alan.coopersmith@sun.com> 18363Date: Sun May 22 19:05:11 2005 +0000 18364 18365 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 18366 18367commit 761219b1ef9befc350c8a35b6f96d047e5f008cc 18368Author: Alan Coopersmith <alan.coopersmith@sun.com> 18369Date: Sat May 21 23:07:48 2005 +0000 18370 18371 xtrans: 18372 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 18373 ICE: 18374 Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 18375 X11: 18376 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. 18377 18378commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 18379Author: Alan Coopersmith <alan.coopersmith@sun.com> 18380Date: Sat May 21 04:26:12 2005 +0000 18381 18382 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) 18383 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). 18384 18385commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 18386Author: Adam Jackson <ajax@nwnk.net> 18387Date: Thu May 19 00:22:32 2005 +0000 18388 18389 revert last change, didn't do right thing at all, sorry for the noise 18390 18391commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 18392Author: Adam Jackson <ajax@nwnk.net> 18393Date: Thu May 19 00:10:07 2005 +0000 18394 18395 Require automake 1.7 in AM_INIT_AUTOMAKE 18396 18397commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 18398Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18399Date: Tue May 17 22:32:09 2005 +0000 18400 18401 - Check for xproto as its CFLAGS are needed in the .pc file 18402 18403commit 46e8d8a65430dd87c10b066b5cff99a689c22241 18404Author: Egbert Eich <eich-at-freedesktop-dot-org> 18405Date: Tue May 17 08:10:10 2005 +0000 18406 18407 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). 18408 18409commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 18410Author: <ssp@aware-of-vacuity.boston.redhat.com> 18411Date: Mon May 16 22:35:27 2005 +0000 18412 18413 Make Xdmcp unconditionally required, require various protocol modules. 18414 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 18415 Check for kbproto if using XKB. 18416 Require xextproto rather than xextensions 18417 Remove the entries from the xlibs tree, as they are not relevant here. 18418 18419commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 18420Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18421Date: Mon May 16 21:48:36 2005 +0000 18422 18423 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 18424 Check for kbproto if using XKB. 18425 18426commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 18427Author: <ssp@aware-of-vacuity.boston.redhat.com> 18428Date: Mon May 16 21:27:35 2005 +0000 18429 18430 Require xextproto rather than xextensions 18431 Remove the entries from the xlibs tree, as they are not relevant here. 18432 18433commit 7eee605e3aeed549d1053325a03027c5e8cbf71b 18434Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18435Date: Fri May 13 22:53:36 2005 +0000 18436 18437 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 18438 - For Xcomposite and Xdamage, don't link the build system out of the xc tree 18439 - Link the public X11 headers into their own directory 18440 - Add links to XKeysymDB and XErrorDB 18441 - Add links to all the Xlib man pages 18442 - Add links to the lcUniConv subdirectory 18443 - Conditionally include config.h in Xlib source 18444 18445commit 6769ccda88caf27d1441d335ef2b318a047a612b 18446Author: Alan Coopersmith <alan.coopersmith@sun.com> 18447Date: Mon Mar 21 04:58:21 2005 +0000 18448 18449 xc/lib/X11/ErrDes.c 18450 //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> 18451 18452commit 3b9e8ece93b916c55a82df53e85f097418edf471 18453Author: Roland Mainz <roland.mainz@nrubsig.org> 18454Date: Sat Mar 19 22:04:55 2005 +0000 18455 18456 xc/nls/Compose/iso8859-2 18457 xc/nls/Compose/iso8859-3 18458 xc/nls/Compose/iso8859-9 18459 //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>. 18460 18461commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 18462Author: Alan Coopersmith <alan.coopersmith@sun.com> 18463Date: Tue Mar 8 02:53:36 2005 +0000 18464 18465 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>. 18466 18467commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 18468Author: Roland Mainz <roland.mainz@nrubsig.org> 18469Date: Tue Feb 1 03:12:28 2005 +0000 18470 18471 xc/nls/Compose/pt_BR.UTF-8 18472 //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>. 18473 18474commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 18475Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 18476Date: Fri Jan 28 18:31:31 2005 +0000 18477 18478 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 18479 18480commit f234188a4c1e6b655aef0e3957ccad20d4c5847f 18481Author: Roland Mainz <roland.mainz@nrubsig.org> 18482Date: Wed Jan 19 01:53:55 2005 +0000 18483 18484 xc/nls/compose.dir 18485 xc/nls/locale.dir 18486 xc/nls/Compose/Imakefile 18487 xc/nls/Compose/pt_BR.UTF-8 18488 xc/nls/XI18N_OBJS/Imakefile 18489 xc/nls/XI18N_OBJS/pt_BR.UTF-8 18490 xc/nls/XLC_LOCALE/Imakefile 18491 xc/nls/XLC_LOCALE/pt_BR.UTF-8 18492 //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. 18493 18494commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 18495Author: Egbert Eich <eich-at-freedesktop-dot-org> 18496Date: Fri Jan 14 18:03:09 2005 +0000 18497 18498 Made some security enhancements: 18499 - no writing past end of buffer caused by bogus locale. 18500 - explicitely add a \0 character at end of string. (Bugzilla #2262) 18501 18502commit 5557d47fcf22a6f3adf327691158f2270e3d5094 18503Author: Roland Mainz <roland.mainz@nrubsig.org> 18504Date: Fri Jan 14 04:59:05 2005 +0000 18505 18506 xc/nls/compose.dir 18507 xc/nls/locale.alias 18508 xc/nls/locale.dir 18509 //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>. 18510 18511commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 18512Author: Egbert Eich <eich-at-freedesktop-dot-org> 18513Date: Tue Jan 11 17:37:57 2005 +0000 18514 18515 '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. 18516 18517commit 642cd269f94a234aa470a1d43385bd42625d89a1 18518Author: Egbert Eich <eich-at-freedesktop-dot-org> 18519Date: Tue Dec 14 08:59:20 2004 +0000 18520 18521 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 18522 Fixed typo. 18523 Added comment to a changed that's been committed with one of the previous commits. 18524 18525commit a07ccae36e629741d2e48de7730114d30a975a41 18526Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18527Date: Sun Dec 12 08:42:50 2004 +0000 18528 18529 Fix missing XChangeProperty() prototype missing in synopsis section. 18530 18531commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 18532Author: Alexander Gottwald <ago at freedesktop dot org> 18533Date: Wed Dec 8 13:42:01 2004 +0000 18534 18535 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 18536 18537commit d5e7ab194103e22fd6c5094aaa107d90210bb600 18538Author: Jim Gettys <jg@freedesktop.org> 18539Date: Thu Dec 2 16:18:16 2004 +0000 18540 18541 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 18542 18543commit 03940d7330cb1bbf93d49c650aefb19de457da7c 18544Author: Alexander Gottwald <ago at freedesktop dot org> 18545Date: Wed Dec 1 13:06:55 2004 +0000 18546 18547 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 18548 18549commit 11a03ab908bfcfab8a3492684e8e9320e492d552 18550Author: Alexander Gottwald <ago at freedesktop dot org> 18551Date: Wed Dec 1 12:42:17 2004 +0000 18552 18553 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 18554 18555commit f3d83ee153f42e8899b844377e6b842d93411e62 18556Author: Alexander Gottwald <ago@freedesktop.org> 18557Date: Mon Nov 15 15:06:54 2004 +0000 18558 18559 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 18560 18561commit b798ea11911ac58a8e6e7d15a2a643b023859749 18562Author: Alexander Gottwald <ago at freedesktop dot org> 18563Date: Mon Nov 15 13:29:56 2004 +0000 18564 18565 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 18566 18567commit 436108cd6c84053698e5ca629096f59b34f50c2a 18568Author: Kristian Høgsberg <krh@redhat.com> 18569Date: Thu Nov 11 15:37:01 2004 +0000 18570 18571 Fix #1818 18572 18573commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 18574Author: Roland Mainz <roland.mainz@nrubsig.org> 18575Date: Tue Nov 9 00:56:56 2004 +0000 18576 18577 xc/nls/compose.dir 18578 xc/nls/locale.alias 18579 xc/nls/locale.dir 18580 //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>. 18581 18582commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 18583Author: Roland Mainz <roland.mainz@nrubsig.org> 18584Date: Fri Nov 5 00:58:49 2004 +0000 18585 18586 xc/nls/compose.dir 18587 xc/nls/locale.alias 18588 xc/nls/locale.dir 18589 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>. 18590 18591commit af7467ec734321f127b957921cce7792902b6794 18592Author: Egbert Eich <eich-at-freedesktop-dot-org> 18593Date: Mon Oct 18 17:29:03 2004 +0000 18594 18595 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 18596 18597commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 18598Author: Egbert Eich <eich-at-freedesktop-dot-xorg> 18599Date: Mon Oct 18 14:21:45 2004 +0000 18600 18601 Made handling of DevelDrivers for x86-64 more conformant to other platforms. 18602 Compress all font encodings (Stefan Dirsch). 18603 Fixed warnings. 18604 Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 18605 Added another compose key combination for the Euro symbol (Stefan Dirsch). 18606 Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 18607 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. 18608 Added explanation for DESTDIR to install to a different directory than /. 18609 Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 18610 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. 18611 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(). 18612 Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 18613 Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 18614 Changed comment to mention xorg. 18615 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). 18616 Added 'pic' to the man page rendering command pipeline (Werner Fink). 18617 Added missing return value (Stefan Dirsch, Roland Mainz) 18618 18619commit 1ba103c3cad2329db3a31f88d7798b913affc570 18620Author: Eric Anholt <anholt@freebsd.org> 18621Date: Wed Oct 13 07:38:00 2004 +0000 18622 18623 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>) 18624 18625commit d80237db627bf71ad5615ff4ba05e6ab436aa740 18626Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18627Date: Fri Oct 8 22:57:56 2004 +0000 18628 18629 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 18630 Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 18631 18632commit d1f76d17ecf418396627b1a58319f2b9b255548a 18633Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 18634Date: Sun Sep 26 22:54:57 2004 +0000 18635 18636 bug fix for previous patch 18637 18638commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 18639Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 18640Date: Sun Sep 26 20:46:17 2004 +0000 18641 18642 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 18643 18644commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 18645Author: Egbert Eich <eich@freedesktop.org> 18646Date: Wed Sep 15 09:05:22 2004 +0000 18647 18648 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). 18649 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). 18650 18651commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 18652Author: Egbert Eich <eich@freedesktop.org> 18653Date: Tue Aug 31 11:37:03 2004 +0000 18654 18655 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). 18656 18657commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 18658Author: Kevin E Martin <kem@kem.org> 18659Date: Thu Aug 19 06:48:06 2004 +0000 18660 18661 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 18662 18663commit d558a53a6f57eecfcaadce5141fe3a08860defcb 18664Author: Keith Packard <keithp@keithp.com> 18665Date: Sat Aug 14 07:12:36 2004 +0000 18666 18667 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 18668 Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 18669 Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 18670 Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 18671 18672commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 18673Author: Alexander Gottwald <ago@freedesktop.org> 18674Date: Fri Aug 13 16:28:19 2004 +0000 18675 18676 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 18677 Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 18678 18679commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 18680Author: Adam Jackson <ajax@nwnk.net> 18681Date: Wed Aug 11 05:25:13 2004 +0000 18682 18683 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 18684 18685commit 92487437173f600f208d825f65756d3ad14a4f7e 18686Author: Kevin E Martin <kem@kem.org> 18687Date: Mon Aug 9 22:37:22 2004 +0000 18688 18689 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 18690 Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 18691 Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 18692 HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 18693 Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 18694 Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 18695 Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 18696 Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 18697 Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 18698 Fix several render problems: 18699 - MMIO mode support 18700 - Hang on IGP chips 18701 - VT switching hang 18702 - 3D render corruption (Bug #922, Hui Yu). 18703 18704commit 55c2ee568e7d3903258286a13bdf96ce5348ffda 18705Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18706Date: Tue Jul 27 06:06:05 2004 +0000 18707 18708 - remove remaining AMOEBA references. 18709 - remove unused file. 18710 18711commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 18712Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18713Date: Tue Jul 20 17:48:09 2004 +0000 18714 18715 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 18716 Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 18717 Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 18718 Use /dev/urandom on Linux.(#761). 18719 18720commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 18721Author: Eric Anholt <anholt@freebsd.org> 18722Date: Fri May 28 23:26:44 2004 +0000 18723 18724 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 18725 18726commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 18727Author: Egbert Eich <eich@pdx.freedesktop.org> 18728Date: Mon May 24 19:02:11 2004 +0000 18729 18730 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. 18731 18732commit 720702da29769d80ad1254d92edbad5b30f8a8da 18733Author: Alan Coopersmith <alan.coopersmith@sun.com> 18734Date: Sat May 22 03:47:42 2004 +0000 18735 18736 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 18737 18738commit 3aed873292424b497d9a7dcee2975b95bf5ac966 18739Author: Alan Coopersmith <alan.coopersmith@sun.com> 18740Date: Sat Apr 24 23:39:25 2004 +0000 18741 18742 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 18743 Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 18744 xc/config/cf/sunLib.tmpl 18745 xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 18746 18747commit c6349f43193b74a3c09945f3093a871b0157ba47 18748Author: Egbert Eich <eich@freedesktop.org> 18749Date: Fri Apr 23 18:42:09 2004 +0000 18750 18751 Merging XORG-CURRENT into trunk 18752 18753commit c3c4ddc682950a01b80825021f3e2503ab01ea7f 18754Author: Kaleb Keithley <kaleb@freedesktop.org> 18755Date: Tue Nov 25 19:28:07 2003 +0000 18756 18757 Initial revision 18758 18759commit dc4268a7dadc8da0d561757a68461246728613d3 18760Author: Kaleb Keithley <kaleb@freedesktop.org> 18761Date: Fri Nov 14 16:48:47 2003 +0000 18762 18763 Initial revision 18764 18765commit deae12c6b683898f5213992d561a59d4ea889cca 18766Author: Kaleb Keithley <kaleb@freedesktop.org> 18767Date: Fri Nov 14 15:54:30 2003 +0000 18768 18769 R6.6 is the Xorg base-line 18770