ChangeLog revision 5efbdfc3
1commit b4f24b272c6ef888b6fcfcf80670c196b2e8f755 2Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3Date: Thu Nov 10 12:18:17 2022 -0800 4 5 libX11 1.8.2 6 7 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 9commit 77629ea5e79fa9b1596438bc36cfc7e0c631af43 10Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11Date: Thu Nov 3 13:00:50 2022 -0700 12 13 README.md: Add 1.8.2 changes 14 15 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16 17commit d1baf2ec4869dea3732d6fe13ba4935cb6caad01 18Author: Alan Coopersmith <alan.coopersmith@oracle.com> 19Date: Thu Nov 3 11:22:37 2022 -0700 20 21 Remove NEWS file which only covered 2006 & 2007 releases 22 23 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24 25commit 1294bfa487bdecfd32621822922fec03203ee188 26Author: Po Lu <luangruo@yahoo.com> 27Date: Mon Oct 3 08:44:59 2022 +0800 28 29 specs: document change in XIMPreeditCallbacks 30 31 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32 33commit 1a7e54609ce4dc0f2d3b933502437a413cf3dea8 34Author: Alan Coopersmith <alan.coopersmith@oracle.com> 35Date: Thu Nov 3 14:44:22 2022 -0700 36 37 man pages: document XCloseIM frees its argument 38 39 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 40 41commit a04b84f0f7bb3a78088756759f4b9b8bb363251e 42Author: Alan Coopersmith <alan.coopersmith@oracle.com> 43Date: Thu Nov 3 20:31:31 2022 +0000 44 45 Copyright & license cleanup 46 47commit 5e41119d9611504ff7e61c6aa4da1df708096801 48Author: Benno Schulenberg <bensberg@telfort.nl> 49Date: Mon Oct 31 12:42:51 2022 +0100 50 51 nls: reshuffle a few compose sequences, to have similar ones together 52 53 It makes more sense to have similar sequences grouped together 54 than to rigidly follow the order of ascending Unicode codes. 55 56commit 65d89342f59cfc2eac9bf8010076b937f22554e8 57Author: Benno Schulenberg <bensberg@telfort.nl> 58Date: Mon Oct 31 12:50:11 2022 +0100 59 60 nls: remove two compose sequences that use deprecated symbols 61 62 The last few occurrences of `leftcaret` and `rightcaret` were replaced 63 with `less` and `greater` in xkeyboard-config half a year ago. 64 65commit 6baccbae5324e7342cb5176cae82f463a6b34eae 66Author: Benno Schulenberg <bensberg@telfort.nl> 67Date: Mon Oct 31 12:40:12 2022 +0100 68 69 nls: let `<Multi_key> <minus> <underscore>` compose U+2212 (MINUS SIGN) 70 71 There was not yet any way to compose the Unicode minus sign, U+2212. 72 73commit 79775575418fd6f8ee1c5e5bbe403df4606fb5b6 74Author: Adam Jackson <ajax@redhat.com> 75Date: Fri Aug 5 15:19:08 2022 -0400 76 77 Allow X*IfEvent() to reenter libX11 78 79 The documentation for this family of functions very clearly says not to 80 call into xlib in your predicate function, but historically single 81 threaded apps could get away with it just fine, and now that we've 82 forced thread-safety on the world such apps will now deadlock instead. 83 That's not an acceptable regression even if the app is technically 84 broken. This has been reported with XFCE and FVWM, and Motif's 85 cut-and-paste code has the same bug by inspection, so this does need to 86 be addressed. 87 88 This change nerfs LockDisplay/UnlockDisplay while inside the critical 89 bit of an IfEvent function. This is still safe in the sense that the 90 display remains locked and no other thread should be able to change it 91 from under us, but the loop that scans the event queue might not be 92 robust against it being modified as a side effect of protocol emitted by 93 the predicate callback. But that's not new, non-XInitThreads'd xlib 94 would have the same caveat. 95 96 Closes: xorg/lib/libx11#157 97 98commit 0d1d65bdd98966f52bcac4077f94827b20b229dd 99Author: Benno Schulenberg <bensberg@telfort.nl> 100Date: Fri Oct 21 12:18:25 2022 +0200 101 102 nls: change <Compose> <^> <-> to mean superscript minus instead of macron 103 104 Several other `<Multi_key> <asciicircum> <symbol>` sequences 105 produce the superscript equivalent of the given symbol. So, 106 let `<Multi_key> <asciicircum> <minus>` do the same. 107 108 Also, add two other sequences for producing a plain macron, 109 to compensate a bit the loss of the above sequence. 110 111 Additionally, make `<Multi_key> <underscore> <minus>` produce 112 a subscript minus, for consistency. 113 114 This fixes issue #165. 115 116 Requested-by: J. McWilliams 117 118 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 119 120commit 310898270787c1a3a6ab50221324f8654dddce8e 121Author: Jan Tojnar <jtojnar@gmail.com> 122Date: Thu Oct 20 07:10:58 2022 +0000 123 124 nls: Map sr locales to sr_RS compose files 125 126 Serbian used sr_YU (Yugoslavia) code in the past. 127 Then it was succeeded by sr_CS (Serbia and Montenegro). 128 Finally, it was split into sr_RS (Serbia) and sr_ME (Montenegro). 129 130 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 131 introduced the modern sr_RS and sr_ME codes. 132 133 Next, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/40761898692e5063957bfa2518cca3d35b2e354a 134 added the Serbian compose table but only for the legacy sr_CS entry. 135 136 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/5cd60398b7787297008b13a848ed3cfbd7ef178d 137 removed the legacy sr_CS entry, the only one pointing to the correct compose file. 138 It also renamed the file to sr_RS, but did not update the compose mapping. 139 140 Let’s point all Serbian locales to the Compose file again. 141 142commit a35d706cd8dc7b498bca2a3fc4a3732047439ed7 143Author: Alan Coopersmith <alan.coopersmith@oracle.com> 144Date: Fri Oct 14 13:40:37 2022 -0700 145 146 COPYING: remove notice for the removed UIThrStubs.c 147 148 Fixes: 701e9e9a ("Use same pthread-stubs as libxcb") 149 150 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 151 152commit 3b1750e982fedce0d61bface68aadcd5b1ea1fae 153Author: Benno Schulenberg <bensberg@telfort.nl> 154Date: Fri Oct 14 09:28:42 2022 +0200 155 156 nls: delete two compose sequences with an anomalous post-fixed breve 157 158 Two years ago, commit b126bfd7fe allowed using also a lowercase `u` 159 wherever an uppercase `U` was used to represent a breve. But the 160 commit should have limited itself to only the prefixed uses of `U`, 161 as that is how most letters with a breve are composed. 162 163 Also, group the two compose sequences with an uppercase post-fixed `U` 164 together with the corresponding other post-fixed sequences. 165 166 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 167 168commit 701e9e9afb88bdc68c84a4611adc533400a3df36 169Author: Alan Coopersmith <alan.coopersmith@oracle.com> 170Date: Tue Oct 4 11:24:57 2022 -0700 171 172 Use same pthread-stubs as libxcb 173 174 Avoid conflicts when libX11 calls libxcb and gets its pthread functions 175 overriding our ancient stubs. 176 177 v2: Keep linking with real threads libraries when thread safety 178 constructor is enabled. 179 180 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 181 182commit 1d11822601fd24a396b354fa616b04ed3df8b4ef 183Author: Thomas E. Dickey <dickey@invisible-island.net> 184Date: Tue Oct 4 18:26:17 2022 -0400 185 186 fix a memory leak in XRegisterIMInstantiateCallback 187 188 Analysis: 189 190 _XimRegisterIMInstantiateCallback() opens an XIM and closes it using 191 the internal function pointers, but the internal close function does 192 not free the pointer to the XIM (this would be done in XCloseIM()). 193 194 Report/patch: 195 196 Date: Mon, 03 Oct 2022 18:47:32 +0800 197 From: Po Lu <luangruo@yahoo.com> 198 To: xorg-devel@lists.x.org 199 Subject: Re: Yet another leak in Xlib 200 201 For reference, here's how I'm calling XRegisterIMInstantiateCallback: 202 203 XSetLocaleModifiers (""); 204 XRegisterIMInstantiateCallback (compositor.display, 205 XrmGetDatabase (compositor.display), 206 (char *) compositor.resource_name, 207 (char *) compositor.app_name, 208 IMInstantiateCallback, NULL); 209 210 and XMODIFIERS is: 211 212 @im=ibus 213 214 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 215 216commit 1f8fd7ff1cf688ec1d3b34397c6d58110bb0cae5 217Author: Alan Coopersmith <alan.coopersmith@oracle.com> 218Date: Mon Sep 26 16:01:40 2022 -0700 219 220 If thread-safety-constructor is enabled, link against pthreads not stubs 221 222 Only really makes a difference if pthreads is not in libc. 223 224 Fixes: #162 225 226 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 227 Reviewed-by: Adam Jackson <ajax@redhat.com> 228 229commit bfe5d2dd98f705438b0cdddbbf9c12882da89bae 230Author: Thomas E. Dickey <dickey@invisible-island.net> 231Date: Sun Sep 11 11:44:41 2022 -0400 232 233 reduce compiler warnings with casts (no object change) 234 235 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 236 237commit 926f2454bca9a7a7d1f4cf0648b0c193f5cef644 238Author: Thomas E. Dickey <dickey@invisible-island.net> 239Date: Sun Sep 11 10:35:31 2022 -0400 240 241 use casts to reduce compiler warnings (no object change) 242 243 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 244 245commit dc553ff908f10832c71dc2b5ba5af7e68589218e 246Author: Mike FABIAN <mfabian@redhat.com> 247Date: Fri Jul 22 11:39:01 2022 +0200 248 249 Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE 250 251 https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/src/xlibi18n/lcCT.c#L58 252 has no escape sequence for KOI8-R. 253 That makes Xutf8TextListToTextProperty() sometimes fail when trying to 254 convert to COMPOUND_TEXT and when the KOI8-R charset is tried. 255 256 This is the cause for this bug: 257 258 https://github.com/ibus/ibus/issues/2422 259 260 Removing the KOI8-R charset entry fixes the problem. 261 262 This commit also fixes a few wrong texts in comments. 263 264 Signed-off-by: Mike FABIAN <mfabian@redhat.com> 265 266commit 1c04ac514196db5e2255d99635fb6e3c36be330d 267Author: Adam Sampson <ats@offog.org> 268Date: Sun Jul 4 23:02:04 2021 +0100 269 270 xkb: Fix off-by-one error in XKeycodeToKeysym 271 272 The code here that made indexes greater than 3 refer to XKB symbol 273 groups had an off-by-one error, so it would always leave out the symbol 274 that should have been at index 4. Rewrite the code to fix this and 275 simplify the logic a bit. 276 277 Signed-off-by: Adam Sampson <ats@offog.org> 278 279commit ddaacd219609104f138006db6a8f708226db3874 280Author: Thomas E. Dickey <dickey@invisible-island.net> 281Date: Fri Sep 9 20:17:35 2022 -0400 282 283 reduce compiler warnings for macros BufAlloc, Data and Data32 using casts 284 285 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 286 287commit 62c3337d89d31e0d3ed807004e73ad711fad3342 288Author: Kirill Chibisov <contact@kchibisov.com> 289Date: Thu Sep 8 22:50:30 2022 +0000 290 291 ximcp/imRm.c: allow XNSpotLocation with OnTheSpot 292 293commit 1272879074ad9612314858a75cf844783c1963b2 294Author: Alan Coopersmith <alan.coopersmith@oracle.com> 295Date: Thu Jul 28 17:30:21 2022 -0700 296 297 gitlab CI: stop requiring Signed-off-by in commits 298 299 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 300 301commit 38033b073f393564acf6a04501927002b2b4aa86 302Author: David H. Gutteridge <david@gutteridge.ca> 303Date: Mon Jul 25 19:30:19 2022 -0400 304 305 configure.ac: report thread safety constructor build status 306 307 Signed-off-by: David H. Gutteridge <david@gutteridge.ca> 308 309commit 9a90b3a63d02da92dc8692ed3f6269d3e0c7c8cc 310Author: Alan Coopersmith <alan.coopersmith@oracle.com> 311Date: Sun Jul 10 11:55:11 2022 -0700 312 313 doc: Document possible return values for XkbGetKeyboard() 314 315 Fixes: #160 316 317 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 318 319commit 0beb0cf46ae48b0d4322ff8a0221f47bdb7d2296 320Author: Alan Coopersmith <alan.coopersmith@oracle.com> 321Date: Sun Jul 10 11:42:19 2022 -0700 322 323 xkb: set num_keys when filling in keys in _XkbReadGetNamesReply() 324 325 Fixes: #160 326 327 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 328 329commit 487e9489d1e086cc62c53045206ab6d6d9d02031 330Author: Jon Turney <jon.turney@dronecode.org.uk> 331Date: Wed Jun 22 16:15:37 2022 +0100 332 333 Fix Win32 build with -fno-common 334 335 /work/xorg/lib/libX11/src/XlibInt.c:1968: multiple definition of `_Xdebug_p'; .libs/globals.o:globals.c:(.bss+0xc): first defined here 336 337 Avoid redundant definition of _Xdebug_p in globals.c (which is under the 338 influence of _Xdebug being #defined to _Xdebug_p. 339 340 This appears to be an ancient hack to work around data exports resolving 341 to the address of the import stub, not the import. (See [1]). 342 343 (This is probably no longer needed or can be done in a better way, as 344 per the discussion under --enable-auto-import in the ld manpage.) 345 346 [1] https://cygwin.com/pipermail/cygwin-xfree/2001-May/004606.html 347 348 Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> 349 350commit 35ad99fad2f65ec2c69bd84bdeb8138329092b57 351Author: Benno Schulenberg <bensberg@telfort.nl> 352Date: Fri Jul 15 11:29:46 2022 +0200 353 354 nls: add four sequences for the Samogitian E with dot above and macron 355 356 These sequences each produce two code points: the E-with-dot-above and 357 a combining macron. The XIM input method is required for this to work. 358 359 (Also add a missing comment for a Unicode block.) 360 361 This fixes issue #54. 362 363 Requested-by: Arns Udovīčė 364 365 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 366 367commit 2732dd20cc2694dd5c32fef292e1f48626011032 368Author: Benno Schulenberg <bensberg@telfort.nl> 369Date: Wed Jul 6 16:44:50 2022 +0200 370 371 nls: delete eight sequences that pointlessly mix upper and lower case 372 373 Typing a compose sequence requires some care -- surely the user is able 374 to either keep holding the Shift key or not touch it at all while typing 375 the sequence. Also, compose sequences are not an infinite resource AND 376 take up space and time -- defining redundant ones is a waste. 377 378 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 379 380commit ea3cc474e1acfed47b9fb856ea151008fa6cfd30 381Author: Benno Schulenberg <bensberg@telfort.nl> 382Date: Wed Jul 6 16:36:48 2022 +0200 383 384 nls: add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ 385 386 This allows the user to type the symbols for the five number systems. 387 388 This fixes the reasonable part of issue #159. 389 390 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 391 392commit 95a03cde434c447fdb41d8cccbbdd41f20750f32 393Author: Benno Schulenberg <bensberg@telfort.nl> 394Date: Thu Jul 14 12:00:45 2022 +0200 395 396 nls: delete some pointless and wrong compose sequences meant for Bépo 397 398 Fourteen years ago, commit 7302984642 added some four hundred compose 399 sequences for the benefit of the French Bépo layout. But among these 400 four hundred there are several that use symbols that are not available 401 in the Bépo layout and are thus impossible to type. Some of the used 402 symbols, like Ahook, Ehook and Ohook, are not even present in *any* 403 layout, making these sequences a dead weight in the Compose file. 404 405 The Amacron and Omacron are available only in the Latvian, Hawaiian, 406 and Maori layouts, and the Omacron also in the Silesian layout. But 407 the Latvian layouts and the Hawaiian do not contain any dead keys. 408 Only in the Maori and Silesian layouts these sequences with Amacron 409 and Omacron could be typed, but that was not why they were added. 410 411 More importantly, as James Cloos noted in issue #54, sequences like 412 `<dead_abovedot> <amacron>` for generating `ǡ` (that is: the macron 413 above the dot) are questionable, as in compose sequences generally 414 the first accent typed is the uppermost in the composed character. 415 416 Reference: 417 https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/54#note_17321 418 419 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 420 421commit 9702b836862da6838d725f555e7a1d83faf51740 422Author: Matthieu Herrb <matthieu@herrb.eu> 423Date: Fri Jul 1 11:13:13 2022 +0200 424 425 Mention that the predicate function is called with the display lock 426 427 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 428 429commit a5d00f889fadad3f5b11e53fd5c04cf5343fa8a2 430Author: Benno Schulenberg <bensberg@telfort.nl> 431Date: Fri Jun 24 16:20:52 2022 +0200 432 433 docs: replace three placeholders with something that makes sense 434 435 Also, uncapitalize two arguments, to match the style of all others. 436 437 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 438 439commit 9ff8502040e94cb172426d59df722cefa752a401 440Author: Benno Schulenberg <bensberg@telfort.nl> 441Date: Fri Jun 24 16:07:22 2022 +0200 442 443 docs: remove the unsightly dashes from the overviews of arguments 444 445 Seventeen months ago, commits 78027fdb7a and 4f15cfc645 removed 446 these dashes from two of the man pages. Now, remove them all. 447 They are unhelpful and just make one wonder why they are there 448 (probably to function as improvised bullet points). 449 450 Also remove four leading spaces and a trailing comma. 451 452 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 453 454commit a7968c47e35703446d67d070234fd9adf07f34b0 455Author: Benno Schulenberg <bensberg@telfort.nl> 456Date: Thu Jun 23 15:48:05 2022 +0200 457 458 docs: hard-wrap some items so that Table 2 fits within 80 characters 459 460 (Table 1 hard-wraps the first-column items in the same way.) 461 462 Also, correct the formatting of the subsequent paragraph. 463 464 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 465 466commit c601c779ca8f46dc4335180ec2829851fb8bbc13 467Author: Benno Schulenberg <bensberg@telfort.nl> 468Date: Wed Jun 15 10:55:38 2022 +0200 469 470 nls: delete compose sequences that mix top-row digits with numpad digits 471 472 Compose sequences for circled numbers, like ⑫ or ㉑, are nice to have, 473 but allowing them to be composed by typing one digit on the top row and 474 the other on the numerical keypad (or the other way around) is over the 475 top. Remove these absurd sequences. Keep only the sequences where both 476 digits are either on the top row or on the numerical keypad. 477 478 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 479 480commit 3a30ada60c5217ada37b143b541c8e6f6284c7fa 481Author: Alan Coopersmith <alan.coopersmith@oracle.com> 482Date: Wed Jun 8 17:30:14 2022 -0700 483 484 libX11 1.8.1 485 486 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 487 488commit 70f7403fd3bf362fc50b8de4a2e26300f757c68e 489Author: Alan Coopersmith <alan.coopersmith@oracle.com> 490Date: Tue May 3 14:45:05 2022 -0700 491 492 configure.ac: Fix --enable-thread-safety-constructor 493 494 Prior to this, --enable-thread-safety-constructor would disable it, 495 while --disable worked as expected, and no option left it enabled as 496 expected by default. This also fixes the --help text to be displayed. 497 498 Fixes: afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 499 Reported-by: @igor.v.kovalenko 500 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 501 Reviewed-by: Adam Jackson <ajax@redhat.com> 502 503commit d0da5a1e0fb214ff911ecff86d35f6673ff70023 504Author: Adam Jackson <ajax@redhat.com> 505Date: Fri Apr 29 11:27:44 2022 -0400 506 507 libX11 1.8 508 509 Minor number bump to reflect the thread safety default change. 510 511 Signed-off-by: Adam Jackson <ajax@redhat.com> 512 513commit afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 514Author: Adam Jackson <ajax@redhat.com> 515Date: Tue Mar 22 18:24:29 2022 -0400 516 517 global: call XInitThreads() from the library's constructor 518 519 There is really no point in not being thread safe, I measured, all you 520 can see happen is noop performance gets like twice as slow and you have 521 thread safety bugs. And we're using xcb as the transport which means we 522 should expect threads in our clients anyway. Just do it. 523 524 This assumes your compiler understands __attribute__((constructor)). If 525 this is not your compiler, you can disable this with the appropriate 526 configure flag, but be aware you're asking for bugs. 527 528 Signed-off-by: Adam Jackson <ajax@redhat.com> 529 530commit 1ab48f3cc966751d86e434808180beb2dc76c4fa 531Author: Benno Schulenberg <bensberg@telfort.nl> 532Date: Sun Apr 24 15:06:45 2022 +0200 533 534 docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5 535 536 They were forgotten when those releases were made. 537 538 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 539 540commit 35d1513bc7fdd3ac6f5807feb601efc34ac19163 541Author: Alan Coopersmith <alan.coopersmith@oracle.com> 542Date: Sat Apr 16 13:04:23 2022 -0700 543 544 XkbOpenDisplay: Add _Xconst qualifier to display name argument 545 546 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 547 548commit c88ceaad4aaa0439e5cba13c1f5737ad54566e0b 549Author: Alan Coopersmith <alan.coopersmith@oracle.com> 550Date: Sat Apr 16 12:59:39 2022 -0700 551 552 XKBgeom.h: Add _Xconst qualifier to char * arguments in functions 553 554 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 555 556commit 0ce4425826074b12a58ced432f9d6fb346474737 557Author: Alan Coopersmith <alan.coopersmith@oracle.com> 558Date: Sat Apr 16 12:20:51 2022 -0700 559 560 XKBgeom.h: Remove XKB_IN_SERVER section 561 562 The Xserver made its own copy of this file in 2008, and the API's are 563 no longer the same between the server and client forks. 564 565 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 566 567commit be8c01946ab1a1d4b79fdc5358541d630f14dc0a 568Author: Benno Schulenberg <bensberg@telfort.nl> 569Date: Wed Apr 20 09:29:09 2022 +0200 570 571 lcCT: use the correct index for checking the second byte 572 573 (Not that it will make any difference, as the checking of these 574 high bits looks like an excess of precaution.) 575 576 This fixes issue #134. 577 578 Reported-by: Rafał Mikrut 579 580 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 581 582commit 488b156fe2cc8aca6946a49236ec7b7698fceda4 583Author: Benno Schulenberg <bensberg@telfort.nl> 584Date: Fri Feb 25 16:35:46 2022 +0100 585 586 nls: make the Ethiopian compose sequences actually work 587 588 In the Ethiopian keyboard layout, the dead vowel keys do not produce <e> 589 and <u> and so on, but instead produce <U+FE69> and <U+FE75> and so on, 590 so the compose sequences should use those latter code points. 591 592 Also, include the basic compose sequences from en_US.UTF-8/Compose, 593 so that, when switching to a different layout in the Ethiopian locale, 594 all the usual compose sequences work too. 595 596 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 597 598commit e6f98a3dbd82928e10adaf9d034dc574af1de6e5 599Author: Benno Schulenberg <bensberg@telfort.nl> 600Date: Mon Apr 18 17:24:55 2022 +0200 601 602 nls: add Multi-key sequences for abovedot, diaeresis, and ogonek 603 604 These accents by themselves could only be produced when one had a 605 dead key for them, not with the help of the Multi key. 606 607 [Note that the sequences <dead_acute> <space> for apostrophe (') 608 and <dead_diaeresis> <space> for double quote (") are anomalies, 609 as normally <dead_accent> <space> produces the accent itself.] 610 611 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 612 613commit d323704e7c57f9ac7fdfea3dc9fa73bf943e72d3 614Author: Benno Schulenberg <bensberg@telfort.nl> 615Date: Mon Apr 18 16:57:35 2022 +0200 616 617 nls: remove eight pointless self-producing compose sequences 618 619 Compose sequences are meant to produce certain symbols by combining 620 certain different symbols, not to produce a symbol with the help of 621 the symbol itself. 622 623 This fixes issue #59. 624 625 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 626 627commit 3b62c0322c112c03597d850197dbce22d1830bb7 628Author: Benno Schulenberg <bensberg@telfort.nl> 629Date: Fri Feb 25 14:12:02 2022 +0100 630 631 nls: remove misplaced sequences from Ethiopian and Greek compose files 632 633 The Khmer digraphs and Arabic ligatures have nothing to do with 634 Amharic or Greek. 635 636 (Also rewrap a comment and correct two others.) 637 638 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 639 640commit 479af78f2e5caaf9b98a35ae5ff4ccdd2f040289 641Author: Benno Schulenberg <bensberg@telfort.nl> 642Date: Fri Feb 25 14:05:35 2022 +0100 643 644 nls: remove redundant Khmer digraphs, already defined in included file 645 646 This fixes issue #160. 647 648 Reported-by: Mike Fabian 649 650 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 651 652commit 6d7d08726f4b0c517041842b27cd7e66e8f371eb 653Author: Alan Coopersmith <alan.coopersmith@oracle.com> 654Date: Sun Apr 10 14:51:55 2022 -0700 655 656 XkbUpdateKeyTypeVirtualMods: always initialize mask 657 658 XkbVirtualModsToReal should only fail to set mask if the server does 659 not support XKB, but it still made Oracle Parfait complain: 660 661 Error: Uninitialised memory 662 Uninitialised memory variable [uninitialised-mem-var] (CWE 457): 663 Possible access to uninitialised memory referenced by variable 'mask' 664 at line 863 of lib/libX11/src/xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'. 665 Path in callee avoiding write at line 862 666 mask allocated at line 860 667 668 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 669 670commit 9ac6859c20be2fc5e70c2908de60c6e466ec04e1 671Author: Matt Turner <mattst88@gmail.com> 672Date: Sun Apr 3 10:15:30 2022 -0700 673 674 libX11 1.7.5 675 676 Signed-off-by: Matt Turner <mattst88@gmail.com> 677 678commit 76d1cc3c1ce943c6ff81dc8c62a1d1b30fabf02e 679Author: Simon McVittie <smcv@debian.org> 680Date: Sun Apr 3 14:23:36 2022 +0100 681 682 Don't try to destroy NULL condition variables 683 684 This avoids a segfault during error-unwinding if an invalid display name 685 is passed to XOpenDisplay(). 686 687 Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()" 688 Resolves: #155 689 Signed-off-by: Simon McVittie <smcv@debian.org> 690 691commit 80b30d12519ac54fc5b2b05500521d9c8269be9c 692Author: Matt Turner <mattst88@gmail.com> 693Date: Wed Mar 30 13:54:13 2022 -0700 694 695 libX11 1.7.4 696 697 Signed-off-by: Matt Turner <mattst88@gmail.com> 698 699commit 8a368d808fec166b5fb3dfe6312aab22c7ee20af 700Author: Hodong <hodong@yozmos.com> 701Date: Thu Jan 20 00:57:41 2022 +0900 702 703 Fix two memory leaks in _XFreeX11XCBStructure() 704 705 Even when XCloseDisplay() was called, some memory was leaked. 706 707 XCloseDisplay() calls _XFreeDisplayStructure(), which calls 708 _XFreeX11XCBStructure(). 709 710 However, _XFreeX11XCBStructure() did not destroy the condition variables, 711 resulting in the leaking of some 40 bytes. 712 713 Signed-off-by: Hodong <hodong@yozmos.com> 714 715commit da97120f2322882a17f14e5d7da00c1e772679e8 716Author: Adam Jackson <ajax@redhat.com> 717Date: Tue Mar 22 14:32:49 2022 -0400 718 719 xcb: Clarify the XInitThreads error message 720 721 XInitThreads has been called if _Xglobal_lock != NULL, we may as well 722 check that before printing a misleading error message. 723 724 Signed-off-by: Adam Jackson <ajax@redhat.com> 725 726commit 257927c51b08242aa5bf239346717fc817b2b286 727Author: Giovanni Mascellani <gmascellani@codeweavers.com> 728Date: Fri Feb 4 10:49:25 2022 +0100 729 730 xcb_io: Allow jumps backwards when widening the request number. 731 732 Request numbers are not always seen in the numeric order by widen(), 733 for example due to Mesa directly calling _XError(). When this happens, 734 widen() adds 2^32 to the reported widened number, triggering failed 735 assertions and bad behavior. 736 737 With this commit, wrapping of the lower dword is detected in a more 738 robust way, by requiring that a skip of at least 2^31 is seen. 739 740 This fixes issue #152. 741 742 Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> 743 744commit 918063298cb893bee98040c9dca45ccdb2864773 745Author: Benno Schulenberg <bensberg@telfort.nl> 746Date: Thu Mar 3 12:00:45 2022 +0100 747 748 nls: add a compose sequence for the peace symbol 749 750 As the thing in the circle looks a bit like an upside-down Y, 751 use <O> <Y> as the sequence, similar to <O> <A> for anarchism. 752 753 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 754 755commit 4f9eb32709dca705f02ca771bbd47d6c08aba5e0 756Author: Benno Schulenberg <bensberg@telfort.nl> 757Date: Fri Feb 25 12:45:06 2022 +0100 758 759 nls: remove obsolete locale aliases with uppercase in the language code 760 761 (These aliases may have been useful on some systems twenty years ago, 762 but nowadays all should have settled on lowercase language code plus 763 uppercase country code.) 764 765 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 766 767commit ba0d3b437deb2212bc7fc7c6f1c603fa6ced443c 768Author: Benno Schulenberg <bensberg@telfort.nl> 769Date: Fri Feb 25 12:35:28 2022 +0100 770 771 nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias 772 773 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 774 775commit cfddb79981f23650feb0f9a0f4442c9cad584b33 776Author: Benno Schulenberg <bensberg@telfort.nl> 777Date: Fri Feb 25 12:12:05 2022 +0100 778 779 nls: remove the mistaken eo_EO names -- EO is not a valid country code 780 781 (Debian has had several of these lines commented out for years.) 782 783 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 784 785commit eb5885245a1ba6955d058a03e31894c23b9f5490 786Author: iyzana <iyzana@protonmail.com> 787Date: Mon Feb 21 13:20:23 2022 +0100 788 789 nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8 790 791 There is no matching locale in the locale.dir and compose.dir files for 792 the locale eo.UTF-8. Setting it as the locale resulted in compose files 793 not being loaded. 794 795 Signed-off-by: iyzana <iyzana@protonmail.com> 796 797commit 24df23dff9d8c1cf5e918a5f040b852bdf2cfb84 798Author: Benno Schulenberg <bensberg@telfort.nl> 799Date: Thu Feb 3 17:19:05 2022 +0100 800 801 nls: group the compose sequences for tilde, degree, and cedilla together 802 803 Also, correct the comment for the double quote character ("), and move 804 the soft hyphen and the interrobangs to a special punctuation group. 805 806 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 807 808commit c0191f020f94907770937bc8ae67ea8acd7d63be 809Author: Benno Schulenberg <bensberg@telfort.nl> 810Date: Thu Feb 3 16:33:05 2022 +0100 811 812 nls: use shape-based compose sequences for hammer-and-sickle instead 813 814 Using a misspelled abbreviation (CCCP) of an obsolete country's name 815 to compose a fairly general communist symbol does not seem right. 816 817 https://en.wikipedia.org/wiki/Hammer_and_sickle 818 819 Many compose sequences instead combine characters that together look 820 similar to the target character. Do the same here: question mark (?) 821 plus backslash (\) look a bit like ☭ . 822 823 In the bargain, this fixes issue #63. 824 825 Reported-by: Marc Mezzarobba 826 827 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 828 829commit 582dc6f89e1f9288710a55cb2b8fbf2af99d7616 830Author: Alan Coopersmith <alan.coopersmith@oracle.com> 831Date: Sun Feb 20 11:49:42 2022 -0800 832 833 gitlab CI: enable Static Application Security Testing (SAST) 834 835 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 836 837commit 336e8f72559b489396c5cd503c4586ef800c2a8f 838Author: Benno Schulenberg <bensberg@telfort.nl> 839Date: Sun Feb 20 15:06:02 2022 +0100 840 841 nls: add compose sequences for leftward, upward and downward double arrow 842 843 These sequences follow the logic of: the arrow shaft (=) first, the 844 arrow head (< or > or ^ or v) second. This is so because the sequence 845 <= is already taken for ≤, and there is no obvious ASCII character for 846 a double vertical line, so we have to make do with a horizontal one. 847 848 Since commit 6101b967b6 from eight years ago, there is a compose sequence 849 for the rightward double arrow, but not for the other three directions. 850 851 This fixes issue #138. 852 853 Requested-by: Mélanie Chauvel 854 855 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 856 857commit 623b77d4f30b47258a40f89262e5aa5d25e95fa7 858Author: Benno Schulenberg <bensberg@telfort.nl> 859Date: Mon Feb 14 11:33:25 2022 +0100 860 861 imDefLkup: verify that a pointer isn't NULL before using it 862 863 It is possible for _XimICOfXICID() to return NULL, so it is necessary 864 to check this isn't actually the case before dereferencing the pointer. 865 All other callers of _XimICOfXICID() do this check too. 866 867 (The check itself is ugly, but it follows the style of the code in the 868 rest of the module.) 869 870 Fixes issue #45. 871 872 Reported-by: Bhavi Dhingra 873 874 Original-patch-by: Bhavi Dhingra 875 876 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 877 878commit b83938f7f97aa6210b00835002e6e7d614b2374a 879Author: Christopher Chavez <chrischavez@gmx.us> 880Date: Mon Feb 14 01:00:45 2022 +0000 881 882 Xlib.h: fix spelling in comment 883 884 Signed-off-by: Christopher Chavez <chrischavez@gmx.us> 885 886commit 4791055682552b4cc8e775479700fb06980d0b59 887Author: Christopher Chavez <chrischavez@gmx.us> 888Date: Sun Feb 13 05:26:14 2022 +0000 889 890 Xlib.h: spelling fix in comment 891 892commit 9304e645bdcdd3a71ff449a1157c4815e6304d7a 893Author: Denis Drakhnia <numas13@gmail.com> 894Date: Wed Feb 2 11:54:43 2022 +0200 895 896 nls: Add ru_UA.utf8 locale alias. 897 898 Signed-off-by: Denis Drakhnia <numas13@gmail.com> 899 900commit 9ef2551f0c201f9163b66d17189a98076b5be07a 901Author: Benno Schulenberg <bensberg@telfort.nl> 902Date: Wed Feb 2 16:50:35 2022 +0100 903 904 nls: do some manual adjustment of whitespace in the compose sequences 905 906 This achieves a more consistent vertical alignment (per group) of the 907 target character and the trailing comments. 908 909 (Most blocks were aligned in some fashion, except the "Greek Extended" 910 block, which has lines of greatly varying lengths.) 911 912 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 913 914commit 0dad289ead6eb3412027c9365192441cc539d747 915Author: Benno Schulenberg <bensberg@telfort.nl> 916Date: Wed Feb 2 14:08:22 2022 +0100 917 918 nls: among the compose sequences, replace all runs of spaces with tabs 919 920 It was done with this script: 921 922 cat nls/en_US.UTF-8/Compose.pre | 923 sed 's!\(^<.\{6,13\}>\)\s*:!\1\t\t\t\t:!' | 924 sed 's!\(^<.\{14,21\}>\)\s*:!\1\t\t\t:!' | 925 sed 's!\(^<.\{22,29\}>\)\s*:!\1\t\t:!' | 926 sed 's!\(^<.\{30,37\}>\)\s*:!\1\t:!' | 927 sed 's!\(: ".*"\)\s*!\1\t!' | 928 sed 's!\(\s*# \)! # !' > trimmed && 929 mv trimmed nls/en_US.UTF-8/Compose.pre 930 931 This saves 37 kilobytes of whitespace. 932 933 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 934 935commit fc79e39c236501357e1fdbe8964882864eeef5d3 936Author: Benno Schulenberg <bensberg@telfort.nl> 937Date: Wed Feb 2 14:06:29 2022 +0100 938 939 docs: add missing word, wrap line, fix typo, and trim an excess space 940 941 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 942 943commit 93446455c46dfc019984ab822ffa662cf6e2949c 944Author: Benno Schulenberg <bensberg@telfort.nl> 945Date: Thu Jan 27 15:01:18 2022 +0100 946 947 KeyBind: reshuffle two ifs into the general order of ascending codes 948 949 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 950 951commit 93f15f5f29378ec4cc1dd011b155104e9a52b058 952Author: Benno Schulenberg <bensberg@telfort.nl> 953Date: Thu Jan 27 14:27:41 2022 +0100 954 955 KeyBind: slightly speed up some case conversions by adding missing returns 956 957 This avoids pointlessly tumbling through several more ifs when the 958 conversion has aleady been done. 959 960 Also remove two redundant conditions (as lower codes have already 961 been handled) and fold two other conditions together. 962 963 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 964 965commit 317c7abbcc848011393d1336b9d020af8cabb000 966Author: Benno Schulenberg <bensberg@telfort.nl> 967Date: Thu Jan 27 13:54:29 2022 +0100 968 969 KeyBind: update the Greek case-conversion tables to Unicode Data 14.0 970 971 A few symbols, like Heta and Sampi and dotted lunate Sigma, have been 972 assigned code points since Unicode Data 4.0, and need their entries. 973 974 This fixes issue #132. 975 976 Reported-by: Ray Vine 977 978 Original-patch-by: Ray Vine 979 980 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 981 982commit 402b843fa72166d9ceefd887f5cea4728cbc6995 983Author: Benno Schulenberg <bensberg@telfort.nl> 984Date: Wed Jan 26 17:20:28 2022 +0100 985 986 remove a commented-out code fragment, and remove a stray blank line 987 988 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 989 990commit fbbc3cf8b8b03f74f778772d4703fc4fec242282 991Author: Benno Schulenberg <bensberg@telfort.nl> 992Date: Wed Jan 26 16:55:50 2022 +0100 993 994 XKBCvt: remove an if that never gets triggered 995 996 The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols 997 from the numeric keypad and some control symbols to pass -- XK_hyphen 998 is not among them, so the check for XK_hyphen in the later 'if' will 999 always be false. 1000 1001 (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was 1002 removed in March 1994.) 1003 1004 (Also, several keyboard layouts nowadays contain the 'hyphen' symbol, 1005 allowing the user to enter soft hyphens into a document. So we really 1006 don't want to remap this symbol.) 1007 1008 Fixes issue #48. 1009 1010 Reported-by: Bhavi Dhingra 1011 1012 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1013 1014commit 6786744f636b3fc545157a13cb2f6169b5be9fa5 1015Author: Benno Schulenberg <bensberg@telfort.nl> 1016Date: Sun Jan 23 17:12:03 2022 +0100 1017 1018 nls: add the es_CU locale name, for Cuba 1019 1020 It was added to glibc ten years ago. 1021 1022 This fixes issue #57. 1023 1024 Reported-by: Dominique Michel 1025 1026 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1027 1028commit d241d8af7f24e95949c2cf7ce791e35df7665e98 1029Author: Benno Schulenberg <bensberg@telfort.nl> 1030Date: Sun Jan 23 16:44:03 2022 +0100 1031 1032 nls: remove some obsolete Norwegian and Yugoslavian locale names 1033 1034 They have not existed in glibc for more than fifteen years. 1035 1036 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1037 1038commit 32dd7c03e92e01015744867b9b3148c250cc159a 1039Author: Benno Schulenberg <bensberg@telfort.nl> 1040Date: Sat Jan 22 17:56:32 2022 +0100 1041 1042 nls: put some entries in their alphabetical order, and adjust alignment 1043 1044 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1045 1046commit 46a066f25103bb909259baea25de8dd5c4a2b338 1047Author: Benno Schulenberg <bensberg@telfort.nl> 1048Date: Sat Jan 22 18:00:20 2022 +0100 1049 1050 nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment 1051 1052 The typo was only partially fixed in commit 22a5255b80 sixteen years ago, 1053 and the internet shows that there was at least one user frustrated that 1054 bg_BG.utf8 didn't work but bg_BG.UTF-8 did. 1055 1056 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1057 1058commit 84efc0aa598c8f7d6dd9a49e7450e85c8bc4773b 1059Author: Benno Schulenberg <bensberg@telfort.nl> 1060Date: Wed Jan 19 15:32:15 2022 +0100 1061 1062 nls: remove the compose sequences with the deviant KP_Space symbol 1063 1064 Using this KP_Space symbol as a stand-in for the symbol 2 doesn't make 1065 sense. It looks like a mistake, or as if someone had a broken keyboard 1066 and used KP_Space as a substitute for 2. 1067 1068 Also, no keyboard layout in the last fifteen years has contained the 1069 KP_Space symbol, so I don't see how anyone could type it. 1070 1071 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1072 1073commit b76e661ca223489da9027b0ab1ca1586efd0a280 1074Author: Benno Schulenberg <bensberg@telfort.nl> 1075Date: Wed Jan 19 13:49:56 2022 +0100 1076 1077 nls: move the block of Jamo to its logical place (ascending Unicodes) 1078 1079 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1080 1081commit 21f82fb9c69f8fdbf0bdc1aac6f8c11c2c6d55d1 1082Author: Benno Schulenberg <bensberg@telfort.nl> 1083Date: Wed Jan 19 13:40:56 2022 +0100 1084 1085 nls: delete some ineffective compose sequences (that were commented out) 1086 1087 They have never worked; there is no point in keeping them in the file. 1088 1089 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1090 1091commit 6cc31eafa8095d2117ff1906d7c14c1c01173248 1092Author: Benno Schulenberg <bensberg@telfort.nl> 1093Date: Wed Jan 19 12:18:21 2022 +0100 1094 1095 nls: group some compose sequences better, and add some comments 1096 1097 Also, align a few trailing comments more consistently, and change 1098 some comments so they will be excluded from the installed file -- 1099 there is no need for those comments there. 1100 1101 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1102 1103commit d60ede7843612f3c2967f83d629bf8272ba09ff1 1104Author: ArenaL5 <arenal5@protonmail.com> 1105Date: Thu Jan 13 01:13:56 2022 +0100 1106 1107 nls: add a compose sequence for the copyleft symbol 1108 1109 Probably not used anywhere yet, let alone seriously, as stated in 1110 https://en.wikipedia.org/wiki/Copyleft#Symbol 1111 1112 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 1113 1114commit df4dcdf9125c595f6df3a302356647cb8df38553 1115Author: Benno Schulenberg <bensberg@telfort.nl> 1116Date: Mon Jan 17 17:31:08 2022 +0100 1117 1118 nls: remove redundant compose sequences with deprecated Hebrew symbols 1119 1120 The compose sequences with the valid Hebrew key symbols are right there. 1121 1122 Also, no keyboard layout in the past seventeen years has contained these 1123 deprecated symbols on any key. 1124 1125 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1126 1127commit 4268472bd11a07a799716fb5833ea46cad3dd479 1128Author: Benno Schulenberg <bensberg@telfort.nl> 1129Date: Sun Jan 16 17:51:29 2022 +0100 1130 1131 nls: remove redundant compose sequences with the deprecated 'underbar' 1132 1133 The key symbol 'underbar' is equivalent to 'underscore' -- the mirror 1134 compose sequences with the latter symbol continue to exist. 1135 1136 Also, no keyboard layout in the past fifteen years has contained the 1137 symbol 'underbar' on any key -- except a Telugu layout since a few 1138 years, but that will be corrected soon. 1139 1140 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1141 1142commit 86e9749ef37189486c205ee7f77e43fed655ac70 1143Author: ArenaL5 <arenal5@protonmail.com> 1144Date: Sat Jan 15 16:20:56 2022 +0100 1145 1146 nls: add a compose sequence for the middle dot (·) using dead_circumflex 1147 1148 This makes the middle dot compose sequences consistent with others that 1149 begin with <dead_circumflex> and <Multi_key> <asciicircum>, e.g. 1150 superscripted 3 (³) 1151 1152 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 1153 1154commit 1adb531cd5be2b6489c2a8106e850e7418fae056 1155Author: Benno Schulenberg <bensberg@telfort.nl> 1156Date: Fri Jan 14 13:06:10 2022 +0100 1157 1158 docs: unwrap the comments of structure elements in the man pages 1159 1160 It doesn't matter that these lines get wider than 80 columns, as it's 1161 easy enough to make the pager scroll a bit to the right, or to have a 1162 terminal that is a 100 or more columns wide. It looks better to not 1163 hard-wrap these comments. 1164 1165 Also, fix the layout of two table elements. 1166 1167 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1168 1169commit da330a1644f10f9669c8dd9ee06489c40f9f0bd1 1170Author: Benno Schulenberg <bensberg@telfort.nl> 1171Date: Fri Jan 14 12:33:23 2022 +0100 1172 1173 docs: unwrap some mistakenly wrapped lines, and correct a comment 1174 1175 The wrapped lines messed up the table. Also, add some blank lines 1176 to make the table more readable. 1177 1178 Elsewhere, add spaces around an operator (for consistency), 1179 and correct a copy-paste error. 1180 1181 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1182 1183commit b9e0346abebb0c9e5c80c780bba4372419e63bde 1184Author: Benno Schulenberg <bensberg@telfort.nl> 1185Date: Fri Jan 14 15:57:56 2022 +0100 1186 1187 XKBMAlloc: use the correct first-key variable when extending a key range 1188 1189 When extending the range of changed virtual-modifier keys, one should 1190 pass the two variables relevant to that range. 1191 1192 These two mistakes were found by grepping for 'modmap_key' and then 1193 looking for asymmetries between the handling of the plain modmap thing 1194 and the virtual modmap thing. Inspired by issue #76. 1195 1196 (I suspect these mistakes were at the base of some intractable bugs 1197 reported against xkeyboard-config where virtual modifiers refused 1198 to work and had to be worked around by making other changes too.) 1199 1200 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1201 1202commit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0 1203Author: Benno Schulenberg <bensberg@telfort.nl> 1204Date: Wed Jan 12 11:34:23 2022 +0100 1205 1206 lcUTF8: remove two unneeded ifs and two elses that are never reached 1207 1208 When there is a break at the end of the while loop, it means that the 1209 loop will finish the first time that _XlcGetCharSetWithSide() returns 1210 a non-NULL result, which means that the first '(last_charset == NULL)' 1211 will always be true and the else part is redundant. 1212 1213 Fixes issue #46. 1214 1215 Reported-by: Bhavi Dhingra 1216 1217 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1218 1219commit 033f37d507801645a8251fd33c25ebd145d22cce 1220Author: Antti Savolainen <antti.savo@gmail.com> 1221Date: Wed Jan 12 16:10:21 2022 +0000 1222 1223 nls: add two compose sequences for an upwards arrow using dead_circumflex 1224 1225 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 1226 1227commit b7d724df615311c35418afc733e1fcc68c740aba 1228Author: Hodong <hodong@nimfsoft.com> 1229Date: Fri Jan 7 10:41:15 2022 +0000 1230 1231 specs/XIM: fix a missing "EXT" in the documentation 1232 1233 There was an "EXT" in the original text, but it seems to be missing. 1234 1235 See: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/4e66da0783b2e5e3b288aaecd3c89396ed425c20/specs/XIM/xim.ms#L693 1236 1237 Signed-off-by: Hodong Kim <hodong@nimfsoft.com> 1238 1239commit 4c96f3567a8d045ee57b886fddc9618b71282530 1240Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1241Date: Thu Dec 9 19:51:52 2021 -0800 1242 1243 libX11 1.7.3.1 1244 1245 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1246 1247commit c1710589bb00d6f442a383fc41f0d6496b436c88 1248Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1249Date: Tue Dec 7 08:29:43 2021 -0800 1250 1251 specs/XIM: Fix "encording" typos 1252 1253 Fixes: #145 1254 1255 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1256 1257commit e30771b4bbdd84fc7ff64a1cda483a46edb5707b 1258Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1259Date: Mon Dec 6 17:04:14 2021 -0800 1260 1261 libX11 1.7.3 1262 1263 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1264 1265commit 934417b1e89fe715b9cf6c0d62a3867fa1f5bccb 1266Author: Liang Chang <l-chang@users.sourceforge.net> 1267Date: Tue Sep 7 18:54:10 2021 +0800 1268 1269 Make Xutf8DrawString works correctly with ISO10646 fonts. 1270 1271 Signed-off-by: Liang Chang <l-chang@users.sourceforge.net> 1272 1273commit 3ad36c5d3ddca3e4c97faaf87b72a53954d1f473 1274Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1275Date: Thu Dec 2 17:48:55 2021 -0800 1276 1277 Build xz tarballs instead of bzip2 1278 1279 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1280 1281commit 93a050c3ad2d2264d3880db3791387b1a9bf2e9e 1282Author: Tatu Frisk <tatu.frisk@ge.com> 1283Date: Tue Mar 14 14:41:27 2017 +0200 1284 1285 Fix hanging issue in _XReply 1286 1287 Assume event queue is empty if another thread is blocking waiting for event. 1288 1289 If one thread was blocking waiting for an event and another thread sent a 1290 reply to the X server, both threads got blocked until an event was 1291 received. 1292 1293 Signed-off-by: Tatu Frisk <tatu.frisk@ge.com> 1294 Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> 1295 1296commit 8382253010267b93c9aeffc769e3f5e43d698094 1297Author: Matthieu Herrb <matthieu@herrb.eu> 1298Date: Mon Aug 30 21:47:09 2021 +0200 1299 1300 Avoid NULL pointer deref. Fixes issue #47. 1301 1302 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 1303 1304commit 58d7b540c453601faf942c6f19f8277a5c5f78cc 1305Author: Peter Hutterer <peter.hutterer@who-t.net> 1306Date: Wed Dec 1 14:31:16 2021 +1000 1307 1308 gitlab CI: update to use the ci-fairy image 1309 1310 Let's use the pre-prepared image instead of building our own. 1311 1312 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1313 1314commit 150154c994829f9f3734a560f99f70b21d86b49c 1315Author: Hodong <hodong@nimfsoft.com> 1316Date: Sun Nov 14 06:36:42 2021 +0000 1317 1318 Fix a typo 1319 1320commit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e 1321Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 1322Date: Sun Sep 5 10:25:38 2021 +0300 1323 1324 libX11: do not crash in GetResReq() macro 1325 1326 When _XGetRequest() detects that requested length exceeds remaining display 1327 output buffer capacity it would return NULL. GetResReq() macro obtains "req" 1328 pointer from a call to _XGetRequest() and then proceeds to assign request id 1329 through "req" pointer which leads to NULL pointer dereference in this case. 1330 1331 Fix this by checking if "req" is valid before assigning request id. 1332 1333 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 1334 1335commit e92efc63acd7b377faa9e534f4bf52aaa86be2a9 1336Author: Peter Hutterer <peter.hutterer@who-t.net> 1337Date: Tue Jul 27 11:46:19 2021 +1000 1338 1339 makekeys: handle the new _EVDEVK xorgproto symbols 1340 1341 These keys are all defined through a macro in the form: 1342 #define XF86XK_BrightnessAuto _EVDEVK(0x0F4) 1343 1344 The _EVDEVK macro is simply an offset of 0x10081000. 1345 Let's parse these lines correctly so those keysyms end up in our 1346 hashtables. 1347 1348 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1349 1350commit d01d23374107f6fc55511f02559cf75be7bdf448 1351Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 1352Date: Wed Jun 16 12:17:04 2021 +0100 1353 1354 Avoid undefined behaviour after realloc() 1355 1356 Adding the offset between the realloc result and the old allocation to 1357 update pointers into the new allocation is undefined behaviour: the 1358 old pointers are no longer valid after realloc() according to the C 1359 standard. While this works on almost all architectures and compilers, 1360 it causes problems on architectures that track pointer bounds (e.g. 1361 CHERI or Arm's Morello): the value_list pointers will still have the 1362 bounds of the previous allocation and therefore any dereference will 1363 result in a run-time trap. 1364 1365 I found this due to a crash (dereferencing an invalid capability) while 1366 trying to run `xev` over SSH on a CHERI-RISC-V system. With these two 1367 realloc changes, and https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/41 1368 I am able to succesfully run `xev` compiled for CHERI-RISC-V. 1369 1370 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 1371 1372commit 1c845834a32421abb59408aee259ac0bef054d30 1373Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 1374Date: Tue Jun 15 08:46:53 2021 +0100 1375 1376 Fix cross-compilation from macOS 1377 1378 We can't use `LC_CTYPE=C sed` there since /usr/bin/sed is not compatible 1379 with the expressions in nls/ (`sed: RE error: illegal byte sequence`). 1380 To fix this use $(SED) instead which autotools will set to a GNU 1381 version of sed (usually /usr/local/bin/gsed) on macOS. 1382 1383 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 1384 1385commit 401f58f8ba258d4e7ce56a8f756595b72e544c15 1386Author: Lev Korol <epicatsupercell@gmail.com> 1387Date: Sun Apr 11 21:57:45 2021 +0300 1388 1389 nls: Add en_IL locale 1390 1391 Signed-off-by: Lev Korol <epicatsupercell@gmail.com> 1392 1393commit f906fe8e9769e4313294b68e61c402610ade69da 1394Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1395Date: Sat Jun 5 09:12:13 2021 -0700 1396 1397 libX11 1.7.2 1398 1399 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1400 1401commit 51b73ac0acda65005c8a9f17ca4ea7281b00ca84 1402Author: Tobias Stoeckmann <tobias@stoeckmann.org> 1403Date: Sun May 23 15:05:17 2021 +0200 1404 1405 Protect against overly long strings 1406 1407 Checking against upper limit of USHRT_MAX must happen before truncating 1408 size_t to int. On 64 bit systems with strings larger than 2 GB this 1409 could otherwise lead to negative ints or ints smaller than USHRT_MAX. 1410 1411 In XParseColor this could lead to out of boundary access with strings 1412 starting with a # (color sequence). A modulo 12 operation is performed 1413 to validate the string length, but with an overflown length, the for 1414 loop would eventually read behind terminating '\0' character. 1415 1416 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1417 1418commit ab2f59530b16bdfbf023b8e025c7c8aba3b6fd0c 1419Author: Matthieu Herrb <matthieu@herrb.eu> 1420Date: Sun May 30 16:33:48 2021 +0200 1421 1422 Check for NULL strings before getting their lengths 1423 1424 Problem reported by Karsten Trulsen 1425 1426 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 1427 1428commit a8216e8653a246db664e1443ecf707b27de65067 1429Author: Matthieu Herrb <matthieu@herrb.eu> 1430Date: Sat May 22 17:35:47 2021 +0200 1431 1432 include <limits.h> always, not if HAVE_CONFIG_H is set. 1433 1434 via Matthew Green from the NetBSD project 1435 1436 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 1437 1438commit 6953a586df4819143c4d55e011b3a5e5377981b8 1439Author: Matthieu Herrb <matthieu.herrb@laas.fr> 1440Date: Tue May 18 15:27:58 2021 +0200 1441 1442 Version 1.7.1 1443 1444 Release notes in README.md, version bump in configure.ac 1445 1446commit 8d2e02ae650f00c4a53deb625211a0527126c605 1447Author: Matthieu Herrb <matthieu@herrb.eu> 1448Date: Fri Feb 19 15:30:39 2021 +0100 1449 1450 Reject string longer than USHRT_MAX before sending them on the wire 1451 1452 The X protocol uses CARD16 values to represent the length so 1453 this would overflow. 1454 1455 CVE-2021-31535 1456 1457 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 1458 1459commit 838ea5a5a0267c25b20c095c9a70684edeeefba4 1460Author: Gaurav Ujjwal <gujjwal00@gmail.com> 1461Date: Sun May 9 05:04:36 2021 +0000 1462 1463 Fix out-of-bound access in KeySymToUcs4() 1464 1465 Array `keysym_to_unicode_590_5fe` is only valid for range [0x590, 0x5fe] but current lower-bound is checked against 0x589. 1466 1467 So invalid values from 0x58a to 0x58f are being allowed by current check. 1468 1469 If any of these invalid value is passed as `keysym`, `keysym - 0x590` would underflow. 1470 1471 Signed-off-by: Gaurav Ujjwal <gujjwal00@gmail.com> 1472 1473commit 32491b02c76ac22f99dc433a32466e22bdc181a7 1474Author: Christopher Chavez <chrischavez@gmx.us> 1475Date: Mon May 3 15:46:44 2021 +0000 1476 1477 Xlib.h: spelling fix in comment 1478 1479commit 5faa8dc0b364f55f19034c370436074646d9ad54 1480Author: Benno Schulenberg <bensberg@telfort.nl> 1481Date: Tue Nov 24 18:54:24 2020 +0100 1482 1483 nls: adjust three comments about the APL compose sequences 1484 1485 Commit 0bbc0d5e605e (from eight years ago) removed the lines that two 1486 of these comments referred to. Without those lines, the comments don't 1487 make sense any more. Reword and shorten them. 1488 1489 Also reword a comment about two sequences that don't work. 1490 1491 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1492 1493commit b126bfd7fe990b8c1df088f55c31d9b3fd440cde 1494Author: Benno Schulenberg <bensberg@telfort.nl> 1495Date: Tue Nov 24 12:23:32 2020 +0100 1496 1497 nls: allow composing all breved letters also with a lowercase "u" 1498 1499 The letters ă and ŭ can already be composed with "u a" and "u u", but 1500 ĕ, ğ, ĭ, and ŏ can be composed only with an uppercase U. Emancipate 1501 the latter four and understand also a lowercase "u" to mean 'breve'. 1502 1503 (Yesterday I needed ğ and was annoyed that "u g" did not work.) 1504 1505 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1506 1507commit 78027fdb7aa07621a3b7cdf37050bae39012f2fb 1508Author: Walter Harms <wharms@bfs.de> 1509Date: Sat Nov 28 21:05:33 2020 +0100 1510 1511 fix same roff code 1512 1513 Signed-off-by: Walter Harms <wharms@bfs.de> 1514 1515commit 4f15cfc64548098fef3ddd24f7359b76cf1bbda7 1516Author: Walter Harms <wharms@bfs.de> 1517Date: Sat Nov 28 20:56:35 2020 +0100 1518 1519 Fix some roff code add see also 1520 1521 Signed-off-by: Walter Harms <wharms@bfs.de> 1522 1523commit daa106927f78e6c5c9c36558a4b951d7cb58a8d1 1524Author: Walter Harms <wharms@bfs.de> 1525Date: Sat Nov 28 17:49:25 2020 +0100 1526 1527 fix broken nroff coding for code comments 1528 1529 the comments /* */ are code as /\(** */ that does not work. 1530 the coding in other X11 man pages is /\&* */ so we do the same here. 1531 1532commit 7bdeae239b17db002964ac73d06f43f216d1cf86 1533Author: Walter Harms <wharms@bfs.de> 1534Date: Fri Nov 27 22:43:21 2020 +0100 1535 1536 FIX: warning: macro `hN' not defined 1537 1538 Signed-off-by: Walter Harms <wharms@bfs.de> 1539 1540commit b7ec67d3ea78ab68857328d8f72d923324e68cc2 1541Author: Walter Harms <wharms@bfs.de> 1542Date: Fri Nov 27 22:26:15 2020 +0100 1543 1544 FIX: warning: macro `IN' not defined 1545 1546 just remove an other dead macro use. 1547 1548commit 7ca3ceb9175a829a40c347cb3b2e98341ec5a2df 1549Author: Walter Harms <wharms@bfs.de> 1550Date: Fri Nov 27 21:58:04 2020 +0100 1551 1552 fix warning: macro `s' not defined 1553 1554 this is caused by bad nroff coding, fix some more issues on the fly 1555 1556commit 14fb4e535626ba934cad5bc4308f511524cd1103 1557Author: Walter Harms <wharms@bfs.de> 1558Date: Fri Nov 27 20:04:22 2020 +0100 1559 1560 FIX: warning: macro `hN' not defined 1561 1562 this was found by checking man pages with 1563 groff -t -mandoc -Z -wmac -Tutf8 $FILE >/dev/null 1564 1565 In most cases .hN could be replaced with .BR 1566 1567 Signed-off-by: Walter Harms <wharms@bfs.de> 1568 1569commit cb03da4447aa53e8e5382f124917d89b50148036 1570Author: Walter Harms <wharms@bfs.de> 1571Date: Fri Nov 27 19:00:00 2020 +0100 1572 1573 FIX: warning: macro `Pn' not defined 1574 1575 The missing macro is found via: 1576 roff -t -mandoc -Z -wmac -Tutf8 XAnyEvent.man >/dev/null 1577 1578 To fix the problem the macro is replaced with .RB. 1579 1580 Signed-off-by: Walter Harms <wharms@bfs.de> 1581 1582commit cc9f8878f2cbe17c7b4035b4ff4352b52ece38e0 1583Author: Benno Schulenberg <bensberg@telfort.nl> 1584Date: Wed Nov 25 16:58:27 2020 +0100 1585 1586 nls: add 'C.utf8' as an alias for 'en_US.UTF-8' 1587 1588 The normal form is 'C.UTF-8', but 'C.utf8' has been seen in the wild. 1589 1590 Fixes #102. 1591 1592 Reported-by: Tomas Korbar 1593 1594 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1595 1596commit ca8115186f810eccb7d86b0979980eff3ba95f0b 1597Author: Keith Packard <keithp@keithp.com> 1598Date: Thu Nov 19 11:30:41 2020 -0800 1599 1600 Version 1.7.0 1601 1602 Release notes in README.md, version bump in configure.ac 1603 1604 Signed-off-by: Keith Packard <keithp@keithp.com> 1605 1606commit 325ac177fb6d38f4c7689d9ce059792eaef388ef 1607Author: Keith Packard <keithp@keithp.com> 1608Date: Mon Nov 16 15:48:40 2020 -0800 1609 1610 Update libX11 .so version to 6.4.0 1611 1612 There have been API additions since the previous release, so the 1613 .so version needs to change. 1614 1615 Signed-off-by: Keith Packard <keithp@keithp.com> 1616 1617commit 103e2e11519984aa5746c06e7d90d1f5bc8174a3 1618Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1619Date: Sat Oct 31 09:24:01 2020 -0700 1620 1621 Don't leave dangling pointers in Free functions 1622 1623 While these are mostly called during teardown of larger structures 1624 that are about to themselves be freed, there's no guarantee that 1625 will always be the case, so try to be safer here. 1626 1627 [ This bug was found by the Parfait 4.0 bug checking tool. 1628 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 1629 1630 v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies 1631 as suggested by @keithp 1632 1633 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1634 1635commit 7d70e302218e2ec8518548ddcdc02d828e7889af 1636Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1637Date: Sat Oct 31 08:56:34 2020 -0700 1638 1639 XimProto.h: wrap XIM_HEADER_SIZE definition in parens 1640 1641 Resolves parfait warning of potential macro misinterpretation if 1642 expanded in the midst of other arithmetic operations with higher 1643 precedence. 1644 1645 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1646 1647commit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a 1648Author: Keith Packard <keithp@keithp.com> 1649Date: Tue Nov 17 13:15:18 2020 -0800 1650 1651 Copy locale modifiers when creating XimInstCallback [v2] 1652 1653 Locale modifiers may be freed whenever XSetLocaleModifiers gets 1654 called, even if the locale hasn't changed. This means that we cannot 1655 save a pointer to those modifiers in the XimInstCallback record and 1656 must, instead, make a copy of them instead. 1657 1658 This fixes a problem uncovered when running wish under libasan as 1659 follows (on current Debian unstable): 1660 1661 $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish 1662 1663 Reported-by: Vittorio Zecca <zeccav@gmail.com> 1664 Signed-off-by: Keith Packard <keithp@keithp.com> 1665 1666 v2: 1667 Remove incorrect 'else' token found by @alanc 1668 1669commit 960e2e0cfac12c3477c672d0d40818a0dc74aca5 1670Author: Peter Hutterer <peter.hutterer@who-t.net> 1671Date: Mon Nov 16 09:34:57 2020 +1000 1672 1673 gitlab CI: add a basic build test 1674 1675 Using Arch as base distribution here because we can expect our dependencies to 1676 be up-to-date. We rely on the Arch for our dependencies rather than building 1677 those from git (notably: xorg-macros, xtrans and libxcb). 1678 1679 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1680 1681commit dbb55e1a5e82870466b095097d9e46046680ec25 1682Author: Frediano Ziglio <fziglio@redhat.com> 1683Date: Wed Jan 29 09:06:54 2020 +0000 1684 1685 Fix poll_for_response race condition 1686 1687 In poll_for_response is it possible that event replies are skipped 1688 and a more up to date message reply is returned. 1689 This will cause next poll_for_event call to fail aborting the program. 1690 1691 This was proved using some slow ssh tunnel or using some program 1692 to slow down server replies (I used a combination of xtrace and strace). 1693 1694 How the race happens: 1695 - program enters into poll_for_response; 1696 - poll_for_event is called but the server didn't still send the reply; 1697 - pending_requests is not NULL because we send a request (see call 1698 to append_pending_request in _XSend); 1699 - xcb_poll_for_reply64 is called from poll_for_response; 1700 - xcb_poll_for_reply64 will read from server, at this point 1701 server reply with an event (say sequence N) and the reply to our 1702 last request (say sequence N+1); 1703 - xcb_poll_for_reply64 returns the reply for the request we asked; 1704 - last_request_read is set to N+1 sequence in poll_for_response; 1705 - poll_for_response returns the response to the request; 1706 - poll_for_event is called (for instance from another poll_for_response); 1707 - event with sequence N is retrieved; 1708 - the N sequence is widen, however, as the "new" number computed from 1709 last_request_read is less than N the number is widened to N + 2^32 1710 (assuming last_request_read is still contained in 32 bit); 1711 - poll_for_event enters the nested if statement as req is NULL; 1712 - we compare the widen N (which now does not fit into 32 bit) with 1713 request (which fits into 32 bit) hitting the throw_thread_fail_assert. 1714 1715 To avoid the race condition and to avoid the sequence to go back 1716 I check again for new events after getting the response and 1717 return this last event if present saving the reply to return it 1718 later. 1719 1720 To test the race and the fix it's helpful to add a delay (I used a 1721 "usleep(5000)") before calling xcb_poll_for_reply64. 1722 1723 Original patch written by Frediano Ziglio, see 1724 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34 1725 1726 Reworked primarily for readability by Peter Hutterer, see 1727 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53 1728 1729 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1730 1731commit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277 1732Author: Keith Packard <keithp@keithp.com> 1733Date: Sat Nov 7 22:22:47 2020 -0800 1734 1735 Avoid recursing through _XError due to sequence adjustment 1736 1737 This patch is based on research done by Dmitry Osipenko to uncover the 1738 cause of a large class of Xlib lockups. 1739 1740 _XError must unlock and re-lock the display around the call to the 1741 user error handler function. When re-locking the display, two 1742 functions are called to ensure that the display is ready to generate a request: 1743 1744 _XIDHandler(dpy); 1745 _XSeqSyncFunction(dpy); 1746 1747 The first ensures that there is at least one XID available to use 1748 (possibly calling _xcb_generate_id to do so). The second makes sure a 1749 reply is received at least every 65535 requests to keep sequence 1750 numbers in sync (possibly generating a GetInputFocus request and 1751 synchronously awaiting the reply). 1752 1753 If the second of these does generate a GetInputFocus request and wait 1754 for the reply, then a pending error will cause recursion into _XError, 1755 which deadlocks the display. 1756 1757 One seemingly easy fix is to have _XError avoid those calls by 1758 invoking InternalLockDisplay instead of LockDisplay. That function 1759 does everything that LockDisplay does *except* call those final two 1760 functions which may end up receiving an error. 1761 1762 However, that doesn't protect the system from applications which call 1763 some legal Xlib function from within their error handler. Any Xlib 1764 function which cannot generate protocol or wait for events is valid, 1765 including many which invoke LockDisplay. 1766 1767 What we need to do is make LockDisplay skip these two function calls 1768 precisely when it is called from within the _XError context for the 1769 same display. 1770 1771 This patch accomplishes this by creating a list of threads in the 1772 display which are in _XError, and then having LockDisplay check the 1773 current thread against those list elements. 1774 1775 Inspired-by: Dmitry Osipenko <digetx@gmail.com> 1776 Signed-off-by: Keith Packard <keithp@keithp.com> 1777 Tested-by: Dmitry Osipenko <digetx@gmail.com> 1778 Reviewed-by: Dmitry Osipenko <digetx@gmail.com> 1779 1780commit c9c4d6efbf92ab51695e2e740319503221d68eed 1781Author: Benno Schulenberg <bensberg@telfort.nl> 1782Date: Fri Nov 13 11:34:04 2020 +0100 1783 1784 nls: improve the comments for the Serbian compose sequences 1785 1786 Also put an extra space before the lone combining characters 1787 so they have some room to breathe. 1788 1789 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1790 1791commit 3497dae3d9c52a252110b2a0983b82000be0fe8e 1792Author: Benno Schulenberg <bensberg@telfort.nl> 1793Date: Fri Nov 13 11:23:09 2020 +0100 1794 1795 nls: remove mistaken Serbian compose sequences with combining diacritics 1796 1797 Combining characters are not dead keys -- they have an immediate effect 1798 and combine with the preceding character. So they cannot be used in 1799 compose sequences. 1800 1801 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1802 1803commit 5cd60398b7787297008b13a848ed3cfbd7ef178d 1804Author: Benno Schulenberg <bensberg@telfort.nl> 1805Date: Mon Nov 2 16:34:39 2020 +0100 1806 1807 nls: rename the obsolete sr_CS locale to sr_RS 1808 1809 Fixes #107, for the most part. 1810 1811 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1812 1813commit 7cf1729590534e257b851899cf03421b65c538e3 1814Author: Keith Packard <keithp@keithp.com> 1815Date: Sat Nov 7 17:02:56 2020 -0800 1816 1817 Don't attempt to unload locale context data 1818 1819 Most locale context users call _XlcCurrentLC, which returns a pointer 1820 which never needs to be passed to _XCloseLC, meaning it has unbounded 1821 lifetime, so that locale data can never be freed. 1822 1823 Remove all reference counting and just leave all locales that were 1824 ever used in memory. 1825 1826 Signed-off-by: Keith Packard <keithp@keithp.com> 1827 Acked-by: Martin Peres <martin.peres@mupuf.org> 1828 1829commit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d 1830Author: Jacek Caban <jacek@codeweavers.com> 1831Date: Mon Aug 14 19:20:19 2017 +0200 1832 1833 Don't cache last lcd in _XlcCurrentLC. 1834 1835 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 1836 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 1837 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 1838 1839 The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway. 1840 1841 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 1842 Signed-off-by: Keith Packard <keithp@keithp.com> 1843 Acked-by: Martin Peres <martin.peres@mupuf.org> 1844 1845commit 7a38c09b82ee2522d987c3da4af8af186e562c61 1846Author: Keith Packard <keithp@keithp.com> 1847Date: Sat Nov 7 16:59:37 2020 -0800 1848 1849 Don't cache converters in _Xlcmbtowc and Xlcwctomb 1850 1851 These functions were caching encoding conversion functions in static 1852 variables which is not thread safe. Let the conversion loader do its 1853 job and cache locale to converters there. It's less efficient, but 1854 it's also (now) thread safe. 1855 1856 Signed-off-by: Keith Packard <keithp@keithp.com> 1857 Acked-by: Martin Peres <martin.peres@mupuf.org> 1858 1859commit b52ba5c209165fc2c533b77b86147b31763299f3 1860Author: Jacek Caban <jacek@codeweavers.com> 1861Date: Mon Aug 14 19:20:20 2017 +0200 1862 1863 Make conv_list thread safe. 1864 1865 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 1866 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 1867 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 1868 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 1869 Signed-off-by: Keith Packard <keithp@keithp.com> 1870 Acked-by: Martin Peres <martin.peres@mupuf.org> 1871 1872commit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956 1873Author: Antti Savolainen <antti.savo@gmail.com> 1874Date: Wed Sep 16 07:47:26 2020 +0000 1875 1876 Added DOWNWARD ARROW support 1877 1878commit 7138826dccba9d538dfb142ce9af1a40d64ea849 1879Author: Antti Savolainen <antti.savo@gmail.com> 1880Date: Tue Sep 8 00:54:23 2020 +0300 1881 1882 Added support for UPWARDS ARROW and ALMOST EQUAL TO 1883 1884 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 1885 1886commit 56d59299f7433cdeb88bac970b06eb7df44df5bb 1887Author: Jonathan Belsewir <jonbel@jonasund.de> 1888Date: Thu Nov 5 22:57:50 2020 +0000 1889 1890 Add less and greater to characters that are difficult to access on some keyboards 1891 1892commit 5caf45f8d3bebad5b72ac88545adc156ccfd754d 1893Author: Benno Schulenberg <bensberg@telfort.nl> 1894Date: Fri Oct 23 17:12:22 2020 +0200 1895 1896 nls: Allow all letters with a caron to be composed also with v. 1897 1898 It was strange that the accented letters Ž and ž can be composed with 1899 sequences that start with "v" ("v Z" and "v z"), but not Č and č and 1900 Š and š (and other letters with a caron). For these letters, compose 1901 sequences that start with a "c" had to be used, which was frustrating 1902 because it is hard to remember that "c" stands for "caron", AND the 1903 graphically more obvious "v" is right next to it. 1904 1905 (Unfortunately, the sequence "v l" is already taken for vertical line. 1906 Maybe the compose sequences for vertical line could be reduced to just 1907 "V L" and "L V"?) 1908 1909 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1910 1911commit 62de4ac9025e2cb3f62a890241c06ebc75acce62 1912Author: Benno Schulenberg <bensberg@telfort.nl> 1913Date: Sun Nov 1 20:23:55 2020 +0100 1914 1915 nls: vertically align the target column of aliases 1916 1917 Also improve the grammar of the initial comment. 1918 1919 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1920 1921commit f5b26a16ef959fc6860e9cf58b97a042600900b4 1922Author: Benno Schulenberg <bensberg@telfort.nl> 1923Date: Sun Nov 1 20:17:05 2020 +0100 1924 1925 nls: remove some twenty aliases that have been obsolete for fifteen years 1926 1927 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1928 1929commit 3e61f3b49660e081108f06bc514366f1784cb2e0 1930Author: Benno Schulenberg <bensberg@telfort.nl> 1931Date: Sun Nov 1 19:50:56 2020 +0100 1932 1933 nls: remove country-specific aliases for two constructed languages 1934 1935 These artificial languages are meant to be international and are 1936 thus not specific to any country. If one would want to support 1937 aliases like ia_FR or ia_CH, then one would also have to support 1938 ia_AU, ia_DE, ia_ES, et cetera, et cetera. That would be silly. 1939 1940 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1941 1942commit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c 1943Author: Benno Schulenberg <bensberg@telfort.nl> 1944Date: Sun Nov 1 17:28:24 2020 +0100 1945 1946 nls: remove four aliases where the name is identical to the definition 1947 1948 They were found with: 1949 1950 while read one two; do 1951 if [[ $one == $two: ]]; then echo $two; fi; 1952 done <nls/locale.alias.pre 1953 1954 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1955 1956commit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7 1957Author: Carlos Garnacho <carlosg@gnome.org> 1958Date: Fri Jun 14 17:55:14 2019 +0200 1959 1960 Add XSetIOErrorExitHandler() function 1961 1962 This function complements XSetIOErrorHandler(), allowing to override 1963 the default behavior that trusts on I/O errors never coming back 1964 (i.e. exit()ing the process). 1965 1966 This is meant as a mechanism for Wayland compositors (that are too 1967 a X11 client + compositing manager) to unfasten seatbelts and jump 1968 through the car window. It might get lucky and land on a stack of 1969 pillows. 1970 1971 In consequence, some functions labeled as _X_NORETURN can as a 1972 matter of fact return. So those hints were removed. 1973 1974 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 1975 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 1976 1977commit 4cb758019e374fa7c022fe79d28444e13441717b 1978Author: Carlos Garnacho <carlosg@gnome.org> 1979Date: Fri Jun 14 17:54:47 2019 +0200 1980 1981 Prepare for _XIOError() possibly returning 1982 1983 Ensure current state is cut short on _XIOError(), possible reentrancy 1984 should be skipped through the XlibDisplayIOError flag checks. 1985 1986 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 1987 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 1988 1989commit a37986f7a7d4ae9b8292b132dbb0da2885ea919c 1990Author: Ross Burton <ross.burton@intel.com> 1991Date: Wed Jan 22 17:11:23 2020 +0000 1992 1993 cpprules.in: squash whitespace in generated files 1994 1995 CPP is used to generate files, but as cpp reads files from the build host the 1996 output has a number of blank lines at the beginning which varies depending on 1997 what GCC and friends is used. 1998 1999 Pathalogical example: 2000 2001 $ cpp -undef -traditional /dev/null 2002 # 1 "/dev/null" 2003 # 1 "<built-in>" 2004 # 1 "<command-line>" 2005 # 31 "<command-line>" 2006 # 1 "/usr/include/stdc-predef.h" 1 3 4 2007 2008 # 17 "/usr/include/stdc-predef.h" 3 4 2009 2010 [ 40 blank line ] 2011 2012 # 32 "<command-line>" 2 2013 # 1 "/dev/null" 2014 2015 So depending on the content of stdc-predef.h and what other headers CPP will 2016 load, the amount of whitespace in the generates files varies. This can result in 2017 differences in reproducible environments, and file conflicts in multilib 2018 environments. 2019 2020 As whitespace is irrelevant to these machine-readable files, extend the sed to 2021 just delete blank lines. 2022 2023commit 16192ce2a7e462e09f95aa45ce9eaa180e483c43 2024Author: Carmina16 <mistresssilvara@hotmail.com> 2025Date: Sun Jun 16 02:54:25 2019 +0000 2026 2027 Adding ia and ie locales 2028 2029commit caa71668af7fd3ebdd56353c8f0ab90824773969 2030Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2031Date: Mon Sep 28 16:16:07 2020 -0700 2032 2033 Use __builtin_popcountl if available to replace Ones() in GetImage.c 2034 2035 If the compiler knows of a better algorithm for counting the number of 2036 bits set in a word for the target CPU, let it use that, instead of the 2037 classic algorithm optimized for PDP-6. 2038 2039 Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b 2040 2041 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2042 2043commit 1a9269a95c353e3de9f4d33bab9f1363d84e79db 2044Author: Krzesimir Nowak <qdlacz@gmail.com> 2045Date: Mon Jun 1 12:58:30 2020 +0000 2046 2047 Fix leaking modifiers string. 2048 2049 Reported by valgrind: 2050 2051 ``` 2052 ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675 2053 ==118175== at 0x483A809: malloc (vg_replace_malloc.c:307) 2054 ==118175== by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0) 2055 ==118175== by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0) 2056 ==118175== by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324) 2057 ==118175== by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455) 2058 ==118175== by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532) 2059 ==118175== by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206) 2060 ==118175== by 0x402634: main (fade.cc:35) 2061 ``` 2062 2063commit d127217f26df1bf7566c1f372d8b5329a06754ea 2064Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2065Date: Sun Aug 16 17:03:24 2020 -0700 2066 2067 Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings 2068 2069 Gets rid of: 2070 src/xkb/XKBBind.c: In function ‘XLookupKeysym’: 2071 src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated 2072 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations] 2073 234 | return XKeycodeToKeysym(dpy, event->keycode, col); 2074 | ^~~~~~ 2075 src/xkb/XKBBind.c:96:1: note: declared here 2076 96 | XKeycodeToKeysym(Display *dpy, 2077 | ^~~~~~~~~~~~~~~~ 2078 2079 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2080 2081commit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5 2082Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2083Date: Sun Aug 16 16:50:43 2020 -0700 2084 2085 lcUTF8: Increase string buffer size from 20 to 32 bytes 2086 2087 While we don't expect large enough ints to need it, we don't 2088 enforce a maximum size, so gcc assumes the worst and warns: 2089 2090 ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’: 2091 ../../../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=] 2092 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 2093 | ^~~~~~~~~~~~~ 2094 ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 2095 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 2096 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2097 ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 2098 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 2099 | ^ 2100 ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 2101 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 2102 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2103 ../../../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=] 2104 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 2105 | ^~~~~~~~~~~~~ 2106 ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 2107 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 2108 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2109 ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 2110 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 2111 | ^ 2112 ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 2113 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 2114 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2115 2116 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2117 2118commit 54925250ad9c825bea671dcade5c913bad88abee 2119Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2120Date: Sun Aug 16 16:33:59 2020 -0700 2121 2122 i18n: use memcpy instead of strncpy on unterminated char arrays 2123 2124 Avoids gcc warnings that we're using strncpy wrong to copy a known-length 2125 set of characters without a terminating '\0' to a buffer whose length we 2126 are checking separately. (Should also be imperceptibly faster since we 2127 no longer check if each byte is '\0' when we already know it won't be.) 2128 2129 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2130 2131commit 8754868dbbbc5fa096282df0504aa7880488eeb9 2132Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2133Date: Sun Aug 16 16:02:01 2020 -0700 2134 2135 Mark FreeBlueTblElements label unused in LRGB.c 2136 2137 Quiets gcc 10.2 warning of: 2138 src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’: 2139 src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined 2140 but not used 2141 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label] 2142 798 | FreeBlueTblElements: 2143 | ^~~~~~~~~~~~~~~~~~~ 2144 2145 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2146 2147commit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e 2148Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2149Date: Sun Aug 16 14:54:47 2020 -0700 2150 2151 Raise minimum required xproto version to 7.0.25 (released 2013-11-23) 2152 2153 Allows us to depend on _X_COLD directly instead of having to check for it. 2154 2155 (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required 2156 already but not checked for.) 2157 2158 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2159 2160commit deafb99fd8faf8b044eaee13d072440ce4db76af 2161Author: Maya Rashish <maya@NetBSD.org> 2162Date: Sun Aug 23 21:19:33 2020 +0300 2163 2164 Avoid the use of "register" keyword in public headers. 2165 2166 This causes issues when compiling code for C++17. 2167 2168commit 505420662577749e36640db48f6b6b9ae0236e09 2169Author: Matthieu Herrb <matthieu@herrb.eu> 2170Date: Mon Aug 24 15:42:25 2020 +0200 2171 2172 libX11 1.6.12 2173 2174 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2175 2176commit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d 2177Author: Matthieu Herrb <matthieu@herrb.eu> 2178Date: Thu Aug 13 18:02:58 2020 +0200 2179 2180 Fix an integer overflow in init_om() 2181 2182 CVE-2020-14363 2183 2184 This can lead to a double free later, as reported by Jayden Rivers. 2185 2186 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2187 2188commit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b 2189Author: Niclas Zeising <zeising@daemonic.se> 2190Date: Tue Aug 11 13:44:38 2020 +0200 2191 2192 Fix input clients connecting to server 2193 2194 Fix a bug where some input clients can't connect to the input server. 2195 This fixes #117. 2196 2197 FreeBSD bugzilla reference: 2198 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549 2199 2200 Signed-off-by: Niclas Zeising <zeising@daemonic.se> 2201 2202commit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c 2203Author: Maya Rashish <maya@NetBSD.org> 2204Date: Sat Aug 15 00:48:56 2020 +0300 2205 2206 Avoid the use of "register" keyword in XkbTranslateKeySym. 2207 2208 This causes issues when compiling code for C++17. 2209 While here, make function prototype match the header with regards 2210 to removal of another register keyword. 2211 2212commit 780d222343098b4bfe3ec529b4a0dc2aadea19bf 2213Author: Christopher Chavez <chrischavez@gmx.us> 2214Date: Mon Aug 10 17:08:39 2020 +0000 2215 2216 Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage 2217 2218commit 29a8251a456bb7dc10146b4713f499a624d6dacd 2219Author: Felix Yan <felixonmars@archlinux.org> 2220Date: Thu Aug 6 16:03:38 2020 +0000 2221 2222 Correct a typo in GetStCmap.c 2223 2224commit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70 2225Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2226Date: Thu Aug 6 08:07:57 2020 -0700 2227 2228 libX11 1.6.11 2229 2230 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2231 2232commit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b 2233Author: Yichao Yu <yyc1992@gmail.com> 2234Date: Sun Aug 2 13:43:58 2020 -0400 2235 2236 Fix size calculation in `_XimAttributeToValue`. 2237 2238 The check here guards the read below. 2239 For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers` 2240 these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`. 2241 (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this 2242 function and doesn't need to be checked.) 2243 2244 The old code here used the native datatype size instead of the wire protocol size causing 2245 the check to always fail. 2246 2247 Also fix the size calculation for the header (size). It is 2 x CARD16 for both types 2248 despite the unused `CARD16` for `XimType_XIMStyles`. 2249 2250 [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles 2251 2252 This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10. 2253 2254 Fix #116 2255 2256commit 9949364ea761ab7efa2a9930ec7718f966a740c0 2257Author: Matthieu Herrb <matthieu@herrb.eu> 2258Date: Thu Jul 30 21:36:22 2020 +0200 2259 2260 libX11 1.6.10 2261 2262 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2263 2264commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d 2265Author: Matthieu Herrb <matthieu@herrb.eu> 2266Date: Fri Jul 24 21:09:10 2020 +0200 2267 2268 Change the data_len parameter of _XimAttributeToValue() to CARD16 2269 2270 It's coming from a length in the protocol (unsigned) and passed 2271 to functions that expect unsigned int parameters (_XCopyToArg() 2272 and memcpy()). 2273 2274 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2275 Reviewed-by: Todd Carson <toc@daybefore.net> 2276 2277commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 2278Author: Todd Carson <tc@daybefore.net> 2279Date: Fri Jul 24 20:59:32 2020 +0200 2280 2281 Zero out buffers in functions 2282 2283 It looks like uninitialized stack or heap memory can leak 2284 out via padding bytes. 2285 2286 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2287 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 2288 2289commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60 2290Author: Todd Carson <tc@daybefore.net> 2291Date: Fri Jul 24 20:22:44 2020 +0200 2292 2293 Fix more unchecked lengths 2294 2295 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2296 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 2297 2298commit 388b303c62aa35a245f1704211a023440ad2c488 2299Author: Todd Carson <tc@daybefore.net> 2300Date: Fri Jul 24 19:36:51 2020 +0200 2301 2302 fix integer overflows in _XimAttributeToValue() 2303 2304 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2305 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 2306 2307commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e 2308Author: Todd Carson <tc@daybefore.net> 2309Date: Fri Jul 24 19:33:30 2020 +0200 2310 2311 Fix signed length values in _XimGetAttributeID() 2312 2313 The lengths are unsigned according to the specification. Passing 2314 negative values can lead to data corruption. 2315 2316 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2317 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 2318 2319commit 2b7598221d87049d03e9a95fcb541c37c8728184 2320Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2321Date: Wed Jul 22 15:19:58 2020 -0700 2322 2323 Fix spelling/wording issues 2324 2325 Found by using: 2326 codespell --builtin clear,rare,usage,informal,code,names 2327 2328 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2329 2330commit f9e3378ebcfc79ff00591b8617a68e97580a741e 2331Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 2332Date: Sun Jul 19 22:19:24 2020 +0200 2333 2334 xlibi18n: Fix converting horizline keysyms to UCS 2335 2336 U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is 2337 unified with scan line 5. 2338 2339 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 2340 2341commit 4385a84c4a79c1b60bf12839899a1544198de975 2342Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 2343Date: Thu Jun 4 02:19:13 2020 +0200 2344 2345 Braille: Fix default lookup 2346 2347 cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that 2348 translates Braille keysym patterns to Braille Unicode patterns since it 2349 rightfully clears brl_committing, but then we do not have it any more to 2350 fill brl_committed. 2351 2352 This change saves the committed pattern so we can return it in the 2353 default lookup. 2354 2355 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 2356 2357commit fb65b67169105c82c243f265e0f993cf72efdacd 2358Author: Marko Myllynen <myllynen@redhat.com> 2359Date: Fri Feb 28 13:59:36 2020 +0200 2360 2361 Update Finnish compose sequences for SFS 5966:2019 standard 2362 2363 U0219, U0218, U021B, U021A are now part of the standard. 2364 2365 Fixes #70 which was printed incorrectly in the earlier standard version. 2366 2367commit 07724ce046348a21cc82a874853b14b9a285df75 2368Author: Tristan Miller <psychonaut@nothingisreal.com> 2369Date: Wed Sep 25 13:34:01 2019 +0200 2370 2371 Add acute accent compose sequences for Russian vowels. 2372 2373 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104 2374 2375 Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com> 2376 2377commit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507 2378Author: Thomas E. Dickey <dickey@invisible-island.net> 2379Date: Sat Apr 25 14:40:54 2020 -0400 2380 2381 document an ancient performance problem (see Debian #954845). 2382 2383 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2384 2385commit 791c93816ce0520d54925b0b3ccbc29823370041 2386Author: Thomas E. Dickey <dickey@invisible-island.net> 2387Date: Sat Apr 25 14:22:11 2020 -0400 2388 2389 update/correct function prototypes in manpages to match headers 2390 2391 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2392 2393commit 844271305a28e87031562dfeb43defbea02960a2 2394Author: Thomas E. Dickey <dickey@invisible-island.net> 2395Date: Tue Apr 21 20:53:35 2020 -0400 2396 2397 reduce gcc-normal warnings using casts (no object change) 2398 2399 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2400 2401commit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca 2402Author: Thomas E. Dickey <dickey@invisible-island.net> 2403Date: Tue Apr 21 18:13:22 2020 -0400 2404 2405 reduce gcc-normal warnings using casts (no object change) 2406 2407 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2408 2409commit 68c72a7341b114277ab232f2499ee3bd035af8a0 2410Author: Adam Jackson <ajax@redhat.com> 2411Date: Wed Dec 11 11:53:11 2019 -0500 2412 2413 Fix XTS regression in XCopyColormapAndFree 2414 2415 XCopyColormapAndFree/5 threw an assertion: 2416 2417 520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A) 2418 520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap, 2419 520|4 5 00014017 1 4|then a BadColor error occurs. 2420 520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap. 2421 520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument. 2422 520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs. 2423 520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received 2424 220|4 5 2 15:05:53|UNRESOLVED 2425 410|4 5 1 15:05:53|IC End 2426 510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) 2427 2428 More specifically: 2429 2430 lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed. 2431 2432 This bug was introduced (by following my advice, d'oh) in: 2433 2434 commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 2435 Author: Tapani Pälli <tapani.palli@intel.com> 2436 Date: Mon May 13 08:29:49 2019 +0300 2437 2438 Protect colormap add/removal with display lock 2439 2440 In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the 2441 display lock. The problem is said routine has side effects, including 2442 trying to implicitly create a colormap in some cases. Since we don't run 2443 the XID handler until SyncHandle() we would see inconsistent internal 2444 xlib state, triggering the above assert. 2445 2446 Fix this by dropping and re-taking the display lock before calling into 2447 XCMS. 2448 2449 Reviewed-by: Tapani Pälli <tapani.palli@intel.com> 2450 2451commit 7f46a38139f66fda734f3a6c445b84ea89c8f310 2452Author: Alex Henrie <alexhenrie24@gmail.com> 2453Date: Wed Jan 1 14:54:06 2020 -0700 2454 2455 Handle small final sigma in XConvertCase 2456 2457 lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2) 2458 uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3) 2459 2460 This mapping was correct in UCSConvertCase, but the "legacy" mapping 2461 must also be correct for Caps Lock to work with the final sigma key. 2462 2463 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5 2464 2465 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> 2466 2467commit a48787d3d155c8a09cead345f5055da30c1db537 2468Author: Peter Hutterer <peter.hutterer@who-t.net> 2469Date: Wed Dec 11 14:12:27 2019 +1000 2470 2471 Handle ssharp in XConvertCase() 2472 2473 lowercase: LATIN SMALL LETTER SHARP S (U+00DF) 2474 uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E) 2475 2476 The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode 2477 but was added to the relevant keyboard layouts in xkeyboard-config-2.25 2478 (d1411e5e95c) 2479 https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144 2480 2481 Alas, the CapsLock behavior was broken on the finnish layout (maybe others). 2482 This was due to xkbcomp using XConvertCase() to determine whether a key 2483 requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC. 2484 2485 Let's make this function return the right lower/upper symbols for the sharp s 2486 and hope that the world won't get any worse because of it. 2487 2488 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110 2489 2490 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2491 2492commit b8766a438461e20b5c6f7a6111b703d4cb71501f 2493Author: Raul Fernandes <rgfernandes@gmail.com> 2494Date: Wed Oct 9 18:39:26 2019 +0000 2495 2496 Use memcmp and memcpy 2497 2498commit db7cca17ad7807e92a928da9d4c68a00f4836da2 2499Author: Adam Jackson <ajax@redhat.com> 2500Date: Wed Oct 9 13:41:29 2019 -0400 2501 2502 libX11 1.6.9 2503 2504 Signed-off-by: Adam Jackson <ajax@redhat.com> 2505 2506commit f5ba2c632a4c84279bdd48c687271292f5dc4f87 2507Author: Dmitry Osipenko <digetx@gmail.com> 2508Date: Sat May 18 19:10:32 2019 +0300 2509 2510 Fix lockup in _XReply() caused by recursive synchronization 2511 2512 This patch is based on a suggestion made by Uli Schlachter in a comment 2513 to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93. 2514 2515 Explanation of the bug (given by Uli Schlachter as well): 2516 2517 An error was received and handled. Since there was an error callback set, 2518 Xlib unlocks the display, runs the error callback, and then locks the display 2519 again. This goes through _XLockDisplay and then calls _XSeqSyncFunction. 2520 On this "lock the thing"-path, Xlib notices that sequence numbers are close to 2521 wrap-around and tries to send a GetInputFocus request. However, the earlier 2522 calls already registered themselves as "we are handling replies/errors, do 2523 not interfere!" and so the code here waits for "that other thread" to be done 2524 before it continues. Only that there is no other thread, but it is this thread 2525 itself and thus a deadlock follows. 2526 2527 The bug is relatively easy to reproduce on any desktop environment by 2528 using actively a touchscreen input that supports multitouch, i.e. practically 2529 all mobile devices are affected. 2530 2531 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93 2532 Suggested-by: Uli Schlachter <psychon@znc.in> 2533 Tested-by: Dmitry Osipenko <digetx@gmail.com> 2534 Reported-by: Dmitry Osipenko <digetx@gmail.com> 2535 Signed-off-by: Dmitry Osipenko <digetx@gmail.com> 2536 2537commit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905 2538Author: Adam Jackson <ajax@redhat.com> 2539Date: Fri Sep 13 16:44:32 2019 -0400 2540 2541 xkb: Provide <X11/extensions/XKBgeom.h> ourselves 2542 2543 This header refers to libX11 types, it doesn't belong in xorgproto and 2544 has been moved to legacy in 2019.2. Supply it ourselves. 2545 2546commit edc7680ed5a03cedb5facf14693823455e12c29c 2547Author: Ross Burton <ross.burton@intel.com> 2548Date: Tue Aug 6 14:53:43 2019 +0100 2549 2550 src/util/Makefile: explicitly reset LINK to not use libtool 2551 2552 Simply looking at libtool redefines LINK globally to use libtool, which when 2553 you're trying to cross-compile to Windows can cause complications. 2554 2555 As in src/util/ we're simply building a small binary for the build host, reset 2556 LINK to the automake default so that the traditional compile/link steps occur 2557 without libtool. 2558 2559 Also remove -all-static from LDFLAGS as that is a libtool-specific argument 2560 intended to solve this problem. 2561 2562 Closes: #100 2563 Signed-off-by: Ross Burton <ross.burton@intel.com> 2564 2565commit f111bf3ac091a3a6d1f094172621d9d033c3833c 2566Author: Thomas E. Dickey <dickey@invisible-island.net> 2567Date: Tue Jul 30 16:53:27 2019 -0400 2568 2569 improve some formatting 2570 2571 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2572 2573commit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9 2574Author: Thomas E. Dickey <dickey@invisible-island.net> 2575Date: Tue Jul 30 15:49:09 2019 -0400 2576 2577 fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/" 2578 2579 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2580 2581commit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98 2582Author: Thomas E. Dickey <dickey@invisible-island.net> 2583Date: Tue Jul 30 05:07:40 2019 -0400 2584 2585 split lines at sentence endings 2586 2587 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2588 2589commit 6f2cbcea5d6dcd1df7ef309481cad1663284c061 2590Author: Thomas E. Dickey <dickey@invisible-island.net> 2591Date: Tue Jul 30 04:52:25 2019 -0400 2592 2593 trim trailing whitespace from manpages 2594 2595 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2596 2597commit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5 2598Author: Thomas E. Dickey <dickey@invisible-island.net> 2599Date: Tue Jul 30 04:36:24 2019 -0400 2600 2601 another fake-quote fix 2602 2603 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2604 2605commit c0f0651f2b4dfa9fef86d1374689220125631993 2606Author: Thomas E. Dickey <dickey@invisible-island.net> 2607Date: Tue Jul 30 04:34:54 2019 -0400 2608 2609 the last commit overlooked some fake-quote pairs 2610 2611 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2612 2613commit ef31143c9decda54b3ab2937d3300fcf5b493fd6 2614Author: Walter Harms <wharms@bfs.de> 2615Date: Mon Jul 29 18:50:19 2019 +0200 2616 2617 fix ``fake quotes'' in text 2618 2619 to remove the fake quotes replace them with propper 2620 predefined macros \*(lq and \*(rq. this will allow 2621 nroff to choose the propper characters when using ps etc. 2622 2623 Signed-off-by: Walter Harms <wharms@bfs.de> 2624 2625commit 705027ea9b17d6552388d2067736ab4b0bf9dfb5 2626Author: Walter Harms <wharms@bfs.de> 2627Date: Mon Jul 29 18:27:12 2019 +0200 2628 2629 get rid of ``fake quotes'' 2630 2631 these fake quotes are inside a comment and can be replaced with 2632 some double quotes 2633 2634 Signed-off-by: Walter Harms <wharms@bfs.de> 2635 2636commit fe46eb287106ad05538e896783a5cf877a4138df 2637Author: Walter Harms <wharms@bfs.de> 2638Date: Mon Jul 29 17:57:02 2019 +0200 2639 2640 remove all private macro defines 2641 2642 after converting everything to st. man page macros there is 2643 no need to maintain X11 private nroff macros, so remove them. 2644 2645 Signed-off-by: Walter Harms <wharms@bfs.de> 2646 2647commit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764 2648Author: Walter Harms <wharms@bfs.de> 2649Date: Mon Jul 29 17:47:35 2019 +0200 2650 2651 Replace home-grown .Ds .De macro with man page .EX/.EE macro 2652 2653 Same pages use the man page .EX/.EE macro. Replace all occurences 2654 of .De/.Ds with the std. macros to make the code better to maintain. 2655 2656 Signed-off-by: Walter Harms <wharms@bfs.de> 2657 2658commit 951e772bc8d89bc62c4bbac14adc5d4f5027419f 2659Author: Walter Harms <wharms@bfs.de> 2660Date: Wed Jul 3 18:23:51 2019 +0200 2661 2662 fix TBL format 2663 2664 Signed-off-by: Walter Harms <wharms@bfs.de> 2665 2666commit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e 2667Author: Walter Harms <wharms@bfs.de> 2668Date: Wed Jul 3 18:18:09 2019 +0200 2669 2670 replace home grown .ZN with std, .B and .BR 2671 2672 Replace the home grown macro .ZN with std. macros 2673 from man macro paket. So we can get rid of the 2674 definition an get a clean header. 2675 2676 Signed-off-by: Walter Harms <wharms@bfs.de> 2677 2678commit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458 2679Author: Walter Harms <wharms@bfs.de> 2680Date: Sat Jun 22 18:33:48 2019 +0200 2681 2682 remove in-text macros 2683 2684 remove in-text macros an fix a few typos on the way. 2685 hopefuly that will make maintenance more easy. 2686 2687 Signed-off-by: Walter Harms <wharms@bfs.de> 2688 2689commit cb0e894fe9927b07bd9d97c067fd0d007accb105 2690Author: Walter Harms <wharms@bfs.de> 2691Date: Fri Jun 21 18:01:16 2019 +0200 2692 2693 note that we can handle kbd==NULL 2694 2695 Signed-off-by: Walter Harms <wharms@bfs.de> 2696 2697commit 0327c427d62f671eced067c6d9b69f4e216a8cac 2698Author: Adam Jackson <ajax@redhat.com> 2699Date: Mon Jun 17 13:36:08 2019 -0400 2700 2701 makekeys: Detach ourselves from X headers entirely 2702 2703 Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer 2704 building makekeys with enough -I/foo/bar to find the X11 headers, so if 2705 they're not in a system include path, things fail. Since this utility is 2706 only needed at build time, there's no real reason to demand the X 2707 headers be installed for both the build and target machines if cross- 2708 compiling, we can just assume a vaguely ANSI environment instead. 2709 2710 Tested-by: Niclas Zeising <zeising@daemonic.se> 2711 Reviewed-by: Keith Packard <keithp@keithp.com> 2712 Reviewed-by: Matt Turner <mattst88@gmail.com> 2713 2714commit 57f0d421a1320090d3a4948181fe228d86cc8977 2715Author: Matt Turner <mattst88@gmail.com> 2716Date: Mon Jun 17 10:45:45 2019 -0400 2717 2718 libX11 1.6.8 2719 2720 Signed-off-by: Matt Turner <mattst88@gmail.com> 2721 2722commit 5464b302bc0c4a055d3eac06c6ab15e209ff7668 2723Author: Matt Turner <mattst88@gmail.com> 2724Date: Sun Jun 9 14:00:15 2019 -0700 2725 2726 Use AC_SYS_LARGEFILE 2727 2728 ... and include config.h in makekeys.c to get the definition of 2729 _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file 2730 system with 64-bit inode numbers. 2731 2732 Bug: https://bugs.gentoo.org/550502 2733 Bug: https://bugs.gentoo.org/616140 2734 Signed-off-by: Matt Turner <mattst88@gmail.com> 2735 2736commit 33b9148a833ab2ea46e44871da3c031bf1b78f77 2737Author: Ran Benita <ran234@gmail.com> 2738Date: Thu Feb 13 20:55:08 2014 +0200 2739 2740 Compose.man: fix escaped hexadecimal char description 2741 2742 The man page says: 2743 Strings may be direct text encoded in the locale for which the 2744 compose file is to be used, or an escaped octal or hexadecimal 2745 character code. Octal codes are specified as "\123" and 2746 hexadecimal codes as "\0x123a". 2747 2748 But the grammar in the parser and the implementation say: 2749 ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) 2750 HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] 2751 HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) 2752 2753 So "\0x123a" -> "\x3a". 2754 2755 Signed-off-by: Ran Benita <ran234@gmail.com> 2756 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2757 2758commit d9b2cc35edf01e4f751a9ccb5ac185745184cec0 2759Author: ojab <ojab@ojab.ru> 2760Date: Mon Apr 24 20:12:17 2017 +0000 2761 2762 Compose sequences for rouble sign 2763 2764 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 2765 2766 Signed-off-by: Slava Kardakov <ojab@ojab.ru> 2767 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2768 2769commit 3f211616f6414bd9958566c0ca137e87a2b6df95 2770Author: Pavel Labath <pavelo@centrum.sk> 2771Date: Fri Nov 30 20:45:04 2012 +0100 2772 2773 Fix a leak in XCreateFontSet 2774 2775 a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks, 2776 as evidenced by the following valgrind output: 2777 ==983== HEAP SUMMARY: 2778 ==983== in use at exit: 39,409 bytes in 341 blocks 2779 ==983== total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated 2780 ==983== 2781 ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record 2782 40 of 46 2783 ==983== at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 2784 ==983== by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0) 2785 ==983== by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0) 2786 ==983== by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0) 2787 ==983== by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0) 2788 ==983== by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0) 2789 ==983== by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0) 2790 ==983== by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0) 2791 ==983== by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0) 2792 ==983== by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746) 2793 ==983== by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602) 2794 ==983== by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92) 2795 ==983== 2796 ==983== LEAK SUMMARY: 2797 ==983== definitely lost: 136 bytes in 1 blocks 2798 ==983== indirectly lost: 1,552 bytes in 34 blocks 2799 ==983== possibly lost: 0 bytes in 0 blocks 2800 ==983== still reachable: 37,721 bytes in 306 blocks 2801 ==983== suppressed: 0 bytes in 0 blocks 2802 2803 This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still 2804 reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is 2805 destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using 2806 code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the 2807 correct code path, and I'm pretty sure this is correct (the object was constructed using 2808 _XlcCreateLC, it make sense to destroy it using its conterpart). 2809 2810 So far I haven't observed any strange behaviour on my system caused by this change (although, I'm 2811 not sure, how many programs actually use this function). 2812 2813 Signed-off-by: Pavel Labath <pavelo@centrum.sk> 2814 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2815 2816commit 4645e219133458781e3fb48eaea6a74cccb1b9aa 2817Author: Jon Turney <jon.turney@dronecode.org.uk> 2818Date: Tue Apr 30 14:39:06 2019 +0100 2819 2820 Avoid using libtool wrapper for makekeys 2821 2822 For Windows targets, libtool uses a wrapper executable, not a wrapper 2823 script (see [1]), which it compiles with the host compiler. This 2824 doesn't work when cross-compiling. 2825 2826 Since we don't actually need to link with anything, use the libtool flag 2827 -all-static to tell it to stay completely out of this. 2828 2829 [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html 2830 2831commit 6886d9ba06826785a8ccb312c04ea82b91bb6a25 2832Author: Jon Turney <jon.turney@dronecode.org.uk> 2833Date: Wed Apr 24 12:50:41 2019 +0100 2834 2835 Use EXEEXT_FOR_BUILD for makekeys 2836 2837 Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from 2838 EXEEXT_FOR_BUILD, such as when building for Windows from unix. 2839 2840 (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when 2841 cross-compiling. There could be some elaborate autodetection for 2842 EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from 2843 Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...) 2844 2845commit a121b7b0c210efe10bf93453b29050282324c906 2846Author: Jon Turney <jon.turney@dronecode.org.uk> 2847Date: Tue Apr 30 14:30:41 2019 +0100 2848 2849 Remove makekeys dependency on X headers 2850 2851 This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 2852 by Pierre Ossman, reworked for master. 2853 2854 Avoid using LIBS (which are for host, but we don't need) and rewrite 2855 makekeys slightly to avoid needing to include any X headers, which 2856 avoids potentially having -I with host paths in CFLAGS, which can cause 2857 standard headers e.g. stdio.h for the host to also be used, which can 2858 break things... 2859 2860commit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab 2861Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 2862Date: Fri Jun 7 23:35:33 2019 +0200 2863 2864 Braille: Fix typing quickly 2865 2866 On finishing releasing Braille keys, we should clear the just-commited 2867 pattern, to reset the state to initial state, and avoid having to wait for 2868 0.3s before typing the next pattern. 2869 2870 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 2871 Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr> 2872 2873commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 2874Author: Tapani Pälli <tapani.palli@intel.com> 2875Date: Mon May 13 08:29:49 2019 +0300 2876 2877 Protect colormap add/removal with display lock 2878 2879 This fixes a bug where concurrent threads call XCreateColormap and 2880 XFreeColormap corrupting a linked list where colormap structures 2881 are stored. 2882 2883 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94 2884 2885 v2: handle XCopyColormapAndFree also (Adam Jackson) 2886 2887 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> 2888 2889commit fea80d03c381a4de379863c0d41f6d4c00f15e1e 2890Author: Jon Turney <jon.turney@dronecode.org.uk> 2891Date: Wed Mar 13 13:12:20 2019 +0000 2892 2893 Add autoconf checks for headers we include for FIONREAD 2894 2895 Add autoconf checks for the extra headers we include to define FIONREAD. 2896 This needs sys/socket.h on Cygwin, and none of the alternatives on 2897 Windows. 2898 2899commit 87c77a1e6d7034536e9d25ce24a667ebf53486a7 2900Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 2901Date: Mon Mar 11 14:19:52 2019 +0000 2902 2903 locale.alias.pre - add the de_IT locale 2904 2905 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2906 2907commit 568f77f414072506bbe48646637c872987c97e63 2908Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 2909Date: Mon Mar 11 14:17:10 2019 +0000 2910 2911 locale.dir.pre - add the de_IT locale 2912 2913 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2914 2915commit 38c0c92feaef7dc4a72920b1dd79872e6578086c 2916Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 2917Date: Mon Mar 11 14:12:07 2019 +0000 2918 2919 compose.dir.pre - add de_IT locale 2920 2921 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2922 2923commit 49f835611ba6ab82e68b7b851507931c142db7a5 2924Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 2925Date: Tue Jan 29 15:34:34 2019 +0000 2926 2927 Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH) 2928 2929 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2930 2931commit ed669234d0cd5933618aa5fd2da697b59845b9be 2932Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 2933Date: Tue Jan 29 15:28:18 2019 +0000 2934 2935 locale.dir.pre - fix the de_LI latin15 locale 2936 2937 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2938 2939commit 82b5c1454a49333b4d94984d40db79cff386d37f 2940Author: Josh Triplett <josh@joshtriplett.org> 2941Date: Sun Feb 3 08:31:41 2019 +0100 2942 2943 compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences 2944 2945 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 2946 2947commit 603c3ab25a692194805fd4b0c62afac8093897fe 2948Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2949Date: Sat Mar 9 20:58:07 2019 -0800 2950 2951 Add missing close paren to XrmGetStringDatabase synopsis in man page 2952 2953 Fixes: commit 0642e99ac05afb0c 2954 2955 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2956 2957commit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85 2958Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2959Date: Sat Feb 23 11:12:27 2019 -0800 2960 2961 Include reallocarray.h in tarballs so "make distcheck" passes 2962 2963 Fixes: commit bcf7b5aa06c23aee 2964 2965 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2966 2967commit a4a7df06351ce9565d298a84547ff71f2d220fbf 2968Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2969Date: Sat Feb 23 11:04:41 2019 -0800 2970 2971 XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris 2972 2973 Fixes: commit 5538b3e4ae6dee 2974 2975 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2976 2977commit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044 2978Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2979Date: Sat Feb 23 10:48:26 2019 -0800 2980 2981 specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys() 2982 2983 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86 2984 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550 2985 2986 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2987 2988commit 74f2f26811ae82b15dede31504b0eb541f7a3293 2989Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2990Date: Sat Feb 23 10:46:05 2019 -0800 2991 2992 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys() 2993 2994 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85 2995 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549 2996 2997 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2998 2999commit 66b039a41690f076e962ac6bd46cca017360a7d1 3000Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3001Date: Sat Feb 23 10:44:15 2019 -0800 3002 3003 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows() 3004 3005 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84 3006 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548 3007 3008 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3009 3010commit cdea0e840315171f8390adc63a2397ddf111eea4 3011Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3012Date: Sat Feb 23 10:38:08 2019 -0800 3013 3014 specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry() 3015 3016 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82 3017 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520 3018 3019 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3020 3021commit c72d17ada98723cd9e03ddf06680a0e54b2c3089 3022Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3023Date: Sat Feb 23 10:30:32 2019 -0800 3024 3025 XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys 3026 3027 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3028 3029commit 05002b8aef9544c8545e0823a02cf14f335d2b68 3030Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3031Date: Sun Feb 17 15:13:25 2019 -0800 3032 3033 Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask 3034 3035 Reported-by: Daniel Hahler <git@thequod.de> 3036 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3037 3038commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c 3039Author: Adam Jackson <ajax@redhat.com> 3040Date: Fri Mar 24 11:07:36 2017 -0400 3041 3042 _XDefaultIOError: Do better at detecting explicit shutdown 3043 3044 Currently, when the X server crashes or a client is disconnected with 3045 XKillClient, you get a somewhat confusing error message from libX11 3046 along the lines of: 3047 3048 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" 3049 after 98 requests (40 known processed) with 0 events remaining. 3050 3051 What's happening here is the previous recvmsg has thrown EAGAIN, since 3052 the socket is non-blocking. In this case, check whether the socket has 3053 any more data to read, and if not treat it like EPIPE. 3054 3055 Signed-off-by: Adam Jackson <ajax@redhat.com> 3056 3057commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 3058Author: Adam Jackson <ajax@redhat.com> 3059Date: Fri Mar 24 11:07:35 2017 -0400 3060 3061 _XDefaultIOError: Reformat to be less ugly 3062 3063 Signed-off-by: Adam Jackson <ajax@redhat.com> 3064 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3065 3066commit 003e30a66a249f5c70b30d1c187385124cd4cdad 3067Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3068Date: Tue Jan 1 14:34:04 2019 -0800 3069 3070 Avoid use-after-free in _XimProtoSetIMValues() 3071 3072 Fixes gitlab issue #49 3073 3074 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3075 3076commit 30656fd66ad47aeaca0bfc237a818f189554f07e 3077Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3078Date: Tue Jan 1 12:21:04 2019 -0800 3079 3080 Fix implicit conversion warnings in _XlcCreateDefaultCharSet 3081 3082 lcCharSet.c:187:50: warning: implicit conversion changes signedness: 3083 'int' to 'unsigned long' [-Wsign-conversion] 3084 tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1); 3085 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 3086 ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc' 3087 ~~~~~~ ^~~~ 3088 lcCharSet.c:192:31: warning: implicit conversion changes signedness: 3089 'int' to 'unsigned long' [-Wsign-conversion] 3090 memcpy(tmp, name, name_len+1); 3091 ~~~~~~ ~~~~~~~~^~ 3092 lcCharSet.c:216:45: warning: implicit conversion changes signedness: 3093 'int' to 'unsigned long' [-Wsign-conversion] 3094 memcpy(tmp, ct_sequence, ct_sequence_len+1); 3095 ~~~~~~ ~~~~~~~~~~~~~~~^~ 3096 lcCharSet.c:183:16: warning: implicit conversion loses integer precision: 3097 'unsigned long' to 'int' [-Wshorten-64-to-32] 3098 name_len = strlen(name); 3099 ~ ^~~~~~~~~~~~ 3100 lcCharSet.c:184:23: warning: implicit conversion loses integer precision: 3101 'unsigned long' to 'int' [-Wshorten-64-to-32] 3102 ct_sequence_len = strlen(ct_sequence); 3103 ~ ^~~~~~~~~~~~~~~~~~~ 3104 lcCharSet.c:198:37: warning: implicit conversion loses integer precision: 3105 'long' to 'unsigned int' [-Wshorten-64-to-32] 3106 unsigned int length = colon - charset->name; 3107 ~~~~~~ ~~~~~~^~~~~~~~~~~~~~~ 3108 3109 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3110 3111commit 2e6300905784fa8adfcea019262ea58b3e1ed4ad 3112Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3113Date: Tue Jan 1 11:41:47 2019 -0800 3114 3115 Remove no-longer-used name variable in _XGetAtomName 3116 3117 Fixes gcc warning: 3118 GetAtomNm.c: In function ‘_XGetAtomName’: 3119 GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable] 3120 char *name; 3121 ^~~~ 3122 3123 Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 3124 3125 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3126 3127commit f077871c2a12cf098b0c50572e112c6dc5e04de0 3128Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3129Date: Sat Dec 29 11:39:29 2018 -0800 3130 3131 Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 3132 3133 In-tree builds found reallocarray.h in $(top_builddir)/src but the 3134 out-of-tree build didn't find it at all. 3135 3136 Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline 3137 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3138 3139commit ba7f7cc783672784bebc6e69349b55c6c75c1973 3140Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3141Date: Sun Sep 27 18:35:27 2015 -0700 3142 3143 Convert src/xlibi18n to use reallocarray() 3144 3145 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3146 3147commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 3148Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3149Date: Sat Sep 26 11:12:47 2015 -0700 3150 3151 Replace Xmalloc+strcpy pairs with strdup calls 3152 3153 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3154 3155commit 258a8ced681dc1bc50396be7439fce23f9807e2a 3156Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3157Date: Sun Jul 19 11:58:50 2015 -0700 3158 3159 Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray 3160 3161 Makes resizing & clearing more consistent and gets rid of some weird 3162 quirks like always subtracting 1 from the size passed to _XkbClearElems 3163 so it could always add 1 to the size passed in. 3164 3165 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3166 3167commit f94273e2f4284040306b888e5ca0381ee00591af 3168Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3169Date: Sun Jul 19 09:47:29 2015 -0700 3170 3171 Add some missing allocation failure checks in src/xcms 3172 3173 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3174 3175commit 76850471b4a5a6d30f5660234e87ec2772e7b426 3176Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3177Date: Sun Jul 19 09:33:21 2015 -0700 3178 3179 Convert src/xcms to use reallocarray() 3180 3181 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3182 3183commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 3184Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3185Date: Sun Jul 19 09:24:02 2015 -0700 3186 3187 Convert src/XKB to use reallocarray() 3188 3189 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3190 3191commit 6d1dc1f6169ebf0ba71785d461bd98129c65c862 3192Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3193Date: Thu Jun 4 23:30:43 2015 -0700 3194 3195 Convert main src directory to use reallocarray() 3196 3197commit bcf7b5aa06c23aee00af7999b58cb96a8571ac42 3198Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3199Date: Thu Jun 4 23:18:23 2015 -0700 3200 3201 Import reallocarray() from OpenBSD 3202 3203 Wrapper for realloc() that checks for overflow when multiplying 3204 arguments together, so we don't have to add overflow checks to 3205 every single call. For documentation on usage, see: 3206 http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 3207 3208 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3209 3210commit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 3211Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3212Date: Mon Nov 19 21:26:23 2018 -0800 3213 3214 Update README for gitlab migration 3215 3216 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3217 3218commit c8bcc19970a2cc4ad337de1338c63a07325eefcd 3219Author: Albert Astals Cid <aacid@kde.org> 3220Date: Fri Nov 9 22:24:52 2018 +0100 3221 3222 locale.dir: Add ast_ES.UTF-8 3223 3224 With this patch xev properly reports 3225 XLookupString gives 2 bytes: (c2 b4) "´" 3226 for the dead_acute key when using the Asturian locale 3227 3228commit 117bb310b44ce03802c91a70949eb58dcc702a3c 3229Author: Albert Astals Cid <aacid@kde.org> 3230Date: Fri Nov 9 22:18:43 2018 +0100 3231 3232 compose.dir: Add ast_ES.UTF-8 3233 3234 With this patch one can properly type dead keys like á when using the 3235 Asturian locale 3236 3237commit d7e22252d68258a63ca537827c99d0ac0bc4b9d8 3238Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3239Date: Sat Nov 10 13:30:47 2018 -0800 3240 3241 Remove documentation of obsolete B16 & B32 tags in specs/libX11 3242 3243 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3244 3245commit f3c978476e0be6813268af494efb7ac507451116 3246Author: Matt Turner <mattst88@gmail.com> 3247Date: Tue Oct 9 10:26:05 2018 -0400 3248 3249 libX11 1.6.7 3250 3251 Signed-off-by: Matt Turner <mattst88@gmail.com> 3252 3253commit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 3254Author: Michel Dänzer <michel.daenzer@amd.com> 3255Date: Fri Sep 28 17:24:17 2018 +0200 3256 3257 poll_for_event: Allow using xcb_poll_for_queued_event 3258 3259 It avoids reading from the display connection again in cases where that 3260 was already done. 3261 3262 Suggested-by: Uli Schlachter <psychon@znc.in> 3263 Reviewed-by: Uli Schlachter <psychon@znc.in> 3264 3265commit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 3266Author: Michel Dänzer <michel.daenzer@amd.com> 3267Date: Tue Sep 25 17:10:58 2018 +0200 3268 3269 poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails 3270 3271 If xcb_poll_for_reply fails to find a reply, poll_for_response would 3272 always return NULL. However, xcb_poll_for_reply may have read events 3273 from the display connection while looking for a reply. In that case, 3274 returning NULL from poll_for_response is wrong and can result in the 3275 client hanging, e.g. because it returns to waiting for the display 3276 connection file descriptor becoming readable after XPending incorrectly 3277 returned 0 pending events. 3278 3279 The solution is to call poll_for_event again after xcb_poll_for_reply 3280 returned 0. This will return the first of any events read by 3281 xcb_poll_for_reply. 3282 3283 Fixes issue #79. 3284 3285 Reported-by: Yuxuan Shui <yshuiv7@gmail.com> 3286 Bugzilla: https://bugs.freedesktop.org/108008 3287 Bugzilla: https://bugs.freedesktop.org/107992 3288 Reviewed-by: Adam Jackson <ajax@redhat.com> 3289 3290commit d0416863d5bf75af54ce81f6c30d4c1476b5e04f 3291Author: Bhavi Dhingra <b.dhingra@samsung.com> 3292Date: Mon Sep 28 08:33:40 2015 +0000 3293 3294 XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB 3295 3296 Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 3297 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 3298 3299 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3300 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3301 3302commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 3303Author: Matthieu Herrb <matthieu@herrb.eu> 3304Date: Tue Aug 21 16:54:50 2018 +0200 3305 3306 libX11 1.6.6 3307 3308 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3309 3310commit 173704243fbcbea0b6de2068b4fb403c7408fb54 3311Author: Matthieu Herrb <matthieu@herrb.eu> 3312Date: Tue Aug 21 16:53:40 2018 +0200 3313 3314 Remove statement with no effect. 3315 3316 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3317 3318commit e83722768fd5c467ef61fa159e8c6278770b45c2 3319Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3320Date: Fri Jul 27 16:38:00 2018 +0200 3321 3322 Fixed crash on invalid reply (CVE-2018-14598). 3323 3324 If the server sends a reply in which even the first string would 3325 overflow the transmitted bytes, list[0] (or flist[0]) will be set to 3326 NULL and a count of 0 is returned. 3327 3328 If the resulting list is freed with XFreeExtensionList or 3329 XFreeFontPath later on, the first Xfree call: 3330 3331 Xfree (list[0]-1) 3332 turns into 3333 Xfree (NULL-1) 3334 3335 which will most likely trigger a segmentation fault. 3336 3337 I have modified the code to return NULL if the first string would 3338 overflow, thus protecting the freeing functions later on. 3339 3340 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3341 3342commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 3343Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3344Date: Fri Jul 27 16:37:17 2018 +0200 3345 3346 Fixed out of boundary write (CVE-2018-14600). 3347 3348 The length value is interpreted as signed char on many systems 3349 (depending on default signedness of char), which can lead to an out of 3350 boundary write up to 128 bytes in front of the allocated storage, but 3351 limited to NUL byte(s). 3352 3353 Casting the length value to unsigned char fixes the problem and allows 3354 string values with up to 255 characters. 3355 3356 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3357 3358commit b469da1430cdcee06e31c6251b83aede072a1ff0 3359Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3360Date: Fri Jul 27 16:36:34 2018 +0200 3361 3362 Fixed off-by-one writes (CVE-2018-14599). 3363 3364 The functions XGetFontPath, XListExtensions, and XListFonts are 3365 vulnerable to an off-by-one override on malicious server responses. 3366 3367 The server replies consist of chunks consisting of a length byte 3368 followed by actual string, which is not NUL-terminated. 3369 3370 While parsing the response, the length byte is overridden with '\0', 3371 thus the memory area can be used as storage of C strings later on. To 3372 be able to NUL-terminate the last string, the buffer is reserved with 3373 an additional byte of space. 3374 3375 For a boundary check, the variable chend (end of ch) was introduced, 3376 pointing at the end of the buffer which ch initially points to. 3377 Unfortunately there is a difference in handling "the end of ch". 3378 3379 While chend points at the first byte that must not be written to, 3380 the for-loop uses chend as the last byte that can be written to. 3381 3382 Therefore, an off-by-one can occur. 3383 3384 I have refactored the code so chend actually points to the last byte 3385 that can be written to without an out of boundary access. As it is not 3386 possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 3387 with the corrected chend meaning, I removed the inner if-check. 3388 3389 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3390 3391commit d81da209fd4d0c2c9ad0596a8078e58864479d0d 3392Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3393Date: Tue Jul 3 22:31:37 2018 +0200 3394 3395 Validation of server response in XListHosts. 3396 3397 If a server sends an incorrect length in its response, a client is prone 3398 to perform an out of boundary read while processing the data. 3399 3400 The length field of xHostEntry is used to specify the amount of bytes 3401 used to represent the address. It is 16 bit, which means that it is not 3402 possible to perform an arbitrary memory access, but it might be enough 3403 to read sensitive information, e.g. malloc-related pointers and offsets. 3404 3405 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3406 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3407 3408commit b676e62377483df77bcb6472d26b24f901323fa9 3409Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 3410Date: Wed Jun 13 15:46:58 2018 +0200 3411 3412 XkbOpenDisplay.3: fix typo 3413 3414 XkbOpenDisplay returns a pointer to Display, not a Display. 3415 3416 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 3417 3418commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 3419Author: Martin Natano <natano@natano.net> 3420Date: Sat Oct 8 19:57:50 2016 +0200 3421 3422 Don't rebuild ks_tables.h if nothing changed. 3423 3424 ks_tables.h is always considered out of date due to the forced rebuild 3425 of the makekeys util. This means the file is also rebuilt during 'make 3426 install', which is usually performed as root, which can to lead 3427 permission problems later on. 3428 3429 Signed-off-by: Martin Natano <natano@natano.net> 3430 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3431 3432commit 796f754cba6d75b676a0fc39b97802198fceda4f 3433Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3434Date: Sat May 5 14:43:30 2018 -0700 3435 3436 Change fall through comment in lcDB.c to match gcc's requirements 3437 3438 Needs to match one of the regexps shown under 3439 https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 3440 3441 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3442 3443commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 3444Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3445Date: Sat Mar 24 19:45:14 2018 -0700 3446 3447 Use size_t for buffer sizes in SetHints.c 3448 3449 These variables store values returned from strlen() as a size_t 3450 and are passed to Xmalloc, which expects a size_t, so lets stop 3451 converting back and forth to int along the way. 3452 3453 Reported by: Konstantin SKliarov 3454 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3455 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3456 3457commit 50a5a98984097d614227d22a49265e12b172cac7 3458Author: Bhavi Dhingra <b.dhingra@samsung.com> 3459Date: Tue Jul 5 11:37:50 2016 +0530 3460 3461 Fix possible memory leak in cmsProp.c:140 3462 3463 https://bugs.freedesktop.org/show_bug.cgi?id=96814 3464 3465 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3466 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3467 3468commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 3469Author: Michal Srb <msrb@suse.com> 3470Date: Thu Mar 15 09:50:58 2018 +0100 3471 3472 Use flexible array member instead of fake size. 3473 3474 The _XimCacheStruct structure is followed in memory by two strings containing 3475 fname and encoding. The memory was accessed using the last member of the 3476 structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 3477 confuses checkers. Lets declare it properly as a flexible array, so compilers 3478 don't complain about writing past that array. As bonus we can replace the 3479 XOffsetOf with regular sizeof. 3480 3481 Fixes GCC8 error: 3482 In function 'strcpy', 3483 inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 3484 inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 3485 inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 3486 /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 3487 forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 3488 return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 3489 3490 Caused by this line seemingly writing past the fname[1] array: 3491 imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 3492 3493 Reviewed-by: Keith Packard <keithp@keithp.com> 3494 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3495 3496commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 3497Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3498Date: Tue Mar 6 11:42:27 2018 -0800 3499 3500 If XGetImage fails to create image, don't dereference it to bounds check 3501 3502 Reported by gcc 7.3: 3503 3504 GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 3505 if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 3506 ~~~~~^~~~~~~~ 3507 3508 Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 3509 3510 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3511 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 3512 3513commit e835a9dcc3362b5e92893be756dd7ae361e64ced 3514Author: wharms <wharms@bfs.de> 3515Date: Sun Sep 3 14:17:45 2017 +0200 3516 3517 silence gcc warning assignment discards 'const' qualifier from pointer target type 3518 3519commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 3520Author: wharms <wharms@bfs.de> 3521Date: Sun Aug 20 21:51:57 2017 +0200 3522 3523 remove empty line 3524 3525commit e02dfe54f32b4165351d2712a9d2e0584906a3ce 3526Author: wharms <wharms@bfs.de> 3527Date: Sun Aug 20 21:50:33 2017 +0200 3528 3529 add _X_UNUSED to avoid unused variable warnings 3530 3531commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 3532Author: walter harms <wharms@bfs.de> 3533Date: Sat Jun 4 17:19:59 2016 +0200 3534 3535 Fixes: warning: variable 'req' set but not,used 3536 3537 Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 3538 by marking req _X_UNUSED 3539 Solution was discussed on xorg-devel ML 3540 Peter Hutter, Alan Coopersmith 3541 Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 3542 3543 Signed-off-by: harms wharms@bfs.de 3544 3545commit bf82ec0402479fd8399d69e7d62fc17d7956699a 3546Author: walter harms <wharms@bfs.de> 3547Date: Sat Jun 4 17:22:07 2016 +0200 3548 3549 mark _XDefaultIOError as no_return 3550 3551 mark _XDefaultIOError as no_return. No one comes back from exit() ... 3552 3553 Signed-off-by: harms wharms@bfs.de 3554 3555commit 9abe8380074edea3ac4e72466ec47e921ca05e47 3556Author: walter harms <wharms@bfs.de> 3557Date: Sat Jun 4 17:21:52 2016 +0200 3558 3559 no need to check XFree arguments 3560 3561 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 3562 3563 Signed-off-by: harms wharms@bfs.de 3564 3565commit 433477fcb7e07d0c26a22ba78aae88827ed1f440 3566Author: walter harms <wharms@bfs.de> 3567Date: Tue Apr 26 16:32:20 2016 +0200 3568 3569 fix memleak in error path 3570 3571 free all mem on error 3572 Signed-off-by: walter harms <wharms@bfs.de> 3573 3574commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 3575Author: walter harms <wharms@bfs.de> 3576Date: Tue Apr 26 17:58:16 2016 +0200 3577 3578 fix memleak in error path 3579 3580 V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 3581 3582 fix mem leak in error path 3583 Signed-off-by: walter harms <wharms@bfs.de> 3584 3585commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 3586Author: walter harms <wharms@bfs.de> 3587Date: Tue Apr 26 16:34:11 2016 +0200 3588 3589 no need to check args for Xfree() 3590 3591 simplify code 3592 3593 Signed-off-by: walter harms <wharms@bfs.de> 3594 3595commit c1c14af441ae73d1a8e67a971fafcf967e45ac48 3596Author: walter harms <wharms@bfs.de> 3597Date: Tue Apr 26 16:23:46 2016 +0200 3598 3599 remove stray extern 3600 3601 remove stray extern 3602 3603 Signed-off-by: walter harms <wharms@bfs.de> 3604 3605commit 714921f041a245dc5f37a689268b584226a2ccb9 3606Author: walter harms <wharms@bfs.de> 3607Date: Mon Apr 11 18:26:52 2016 +0200 3608 3609 no need to check argument for _XkbFree() 3610 3611 simplify code by removing unneeded checks 3612 3613 Signed-off-by: walter harms <wharms@bfs.de> 3614 3615commit d02c2466f65063a03c97dbcee05071c12a3676e6 3616Author: walter harms <wharms@bfs.de> 3617Date: Mon Apr 11 18:22:38 2016 +0200 3618 3619 fix more shadow warning 3620 3621 Signed-off-by: walter harms <wharms@bfs.de> 3622 3623commit 0355c3926d5372f9762f235071dbd94a89bbbdad 3624Author: walter harms <wharms@bfs.de> 3625Date: Thu Mar 31 19:16:33 2016 +0200 3626 3627 fix shadow char_size 3628 3629 Signed-off-by: walter harms <wharms@bfs.de> 3630 3631commit 916dffadf052135df3398651be873c353da629e1 3632Author: walter harms <wharms@bfs.de> 3633Date: Thu Mar 31 19:14:32 2016 +0200 3634 3635 remove argument check for free() adjust one inden 3636 3637 Signed-off-by: walter harms <wharms@bfs.de> 3638 3639commit 6ec901ebca3fea6a762e22090dc35b1b90911133 3640Author: walter harms <wharms@bfs.de> 3641Date: Thu Mar 31 19:12:17 2016 +0200 3642 3643 _XIOError(dpy); will never return so remore dead 3644 3645 Signed-off-by: walter harms <wharms@bfs.de> 3646 3647commit 83107a677b2ed458e4d62ea4a601e8181d3683d8 3648Author: walter harms <wharms@bfs.de> 3649Date: Thu Mar 31 19:10:49 2016 +0200 3650 3651 fix shadow warning 3652 3653 Signed-off-by: walter harms <wharms@bfs.de> 3654 3655commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 3656Author: Ryan C. Gordon <icculus@icculus.org> 3657Date: Wed Aug 2 02:41:03 2017 -0400 3658 3659 Valgrind fix for XStoreColor and XStoreColors. 3660 3661 If the "pad" field isn't set, Valgrind will report it as uninitialized 3662 memory accesses when the struct is copied into the Display's send buffer. 3663 3664 In practice, this is (probably) harmless, but Valgrind is correct in 3665 believing it's a bug. 3666 3667 https://bugs.freedesktop.org/attachment.cgi?id=133189 3668 3669 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3670 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3671 3672commit 7d2010fec25c2f52b873ad0572479eb43128b038 3673Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3674Date: Fri Apr 7 00:13:03 2017 -0700 3675 3676 Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 3677 3678 Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 3679 contains some malformed text" caused by extra whitespace after .TE macros 3680 3681 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3682 3683commit b856d5d929047d1ea169814d56e43784ea404c83 3684Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3685Date: Thu Mar 16 00:05:49 2017 -0700 3686 3687 Clarify state parameter to XkbSetNamedDeviceIndicator 3688 3689 Checking a Bool to see if it's NULL does not work well in C. 3690 Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 3691 3692 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3693 Reviewed-by: Adam Jackson <ajax@redhat.com> 3694 3695commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 3696Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3697Date: Wed Mar 15 23:50:26 2017 -0700 3698 3699 Make Xkb{Get,Set}NamedIndicator spec & manpages match code 3700 3701 The XKB Library spec and the man pages for XkbGetNamedIndicator & 3702 XkbSetNamedIndicator included a device_spec argument neither function 3703 takes, and do not include the XkbGetNamedDeviceIndicator & 3704 XkbSetNamedDeviceIndicator variants that do take it (along with two 3705 other arguments). 3706 3707 This updates them to match the interfaces the code has provided for 3708 decades. 3709 3710 This has been reported multiple times, so this fixes: 3711 https://bugs.freedesktop.org/show_bug.cgi?id=251 3712 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 3713 Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 3714 (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 3715 X.Org Group Defect Id #9418 3716 3717 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3718 Reviewed-by: Adam Jackson <ajax@redhat.com> 3719 3720commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 3721Author: Arthur Huillet <ahuillet@nvidia.com> 3722Date: Wed Feb 1 15:02:41 2017 +0100 3723 3724 _XDefaultError: set XlibDisplayIOError flag before calling exit 3725 3726 _XReply isn't reentrant, and it can lead to deadlocks when the default error 3727 handler is called: _XDefaultError calls exit(1). It is called indirectly by 3728 _XReply when a X protocol error comes in that isn't filtered/handled by an 3729 extension or the application. This means that if the application (or one of its 3730 loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 3731 _fini destructor, _fini will get called while still on the call stack of 3732 _XReply. If the destructor interacts with the X server and calls _XReply, it 3733 will hit a deadlock, looping on the following in _XReply: 3734 3735 ConditionWait(dpy, dpy->xcb->reply_notify); 3736 3737 It is legal for an application to make Xlib calls during _fini, and that is 3738 useful for an OpenGL driver to avoid resource leaks on the X server side, for 3739 example in the dlopen/dlclose case. However, the driver can not readily tell 3740 whether its _fini is being called because Xlib called exit, or for another 3741 reason (dlclose), so it is hard to cleanly work around this issue in the driver. 3742 3743 This change makes it so _XReply effectively becomes a no-op when called after 3744 _XDefaultError was called, as though an XIOError had happened. The dpy 3745 connection isn't broken at that point, but any call to _XReply is going to hang. 3746 This is a bit of a kludge, because the more correct solution would be to make 3747 _XReply reentrant, maybe by broadcasting the reply_notify condition before 3748 calling the default error handler. However, such a change would carry a grater 3749 risk of introducing regressions in Xlib. 3750 3751 This change will drop some valid requests on the floor, but this should not 3752 matter, as it will only do so in the case where the application is dying: X will 3753 clean up after it once exit() is done running. There is the case of 3754 XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 3755 to clean up resources in _fini would currently be hitting a deadlock, which is 3756 hardly a better situation. 3757 3758 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 3759 Reviewed-by: Jamey Sharp <jamey@minilop.net> 3760 3761commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 3762Author: Matt Turner <mattst88@gmail.com> 3763Date: Sat Feb 25 21:54:22 2017 -0800 3764 3765 libX11 1.6.5 3766 3767 Signed-off-by: Matt Turner <mattst88@gmail.com> 3768 3769commit a0da5835e8078445947c828fe2d86c1a31439012 3770Author: Adam Jackson <ajax@redhat.com> 3771Date: Tue Feb 14 15:33:29 2017 -0500 3772 3773 Revert "Compose sequences for rouble sign" 3774 3775 This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 3776 3777 Reported to break 'make check': 3778 3779 https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 3780 3781commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 3782Author: Mihail Konev <k.mvc@ya.ru> 3783Date: Fri Feb 10 18:48:18 2017 +0500 3784 3785 Compose sequences for rouble sign 3786 3787 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 3788 Also add Cyrillic sequences for hryvnia sign. 3789 3790 Submitted-by: Victor V. Kustov <coyote@bks.tv> 3791 Reviewed-by: Victor V. Kustov <coyote@bks.tv> 3792 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 3793 3794commit 23d9623c661694aba8cf1e8f277dffa7a86cf065 3795Author: Petr Písař < <petr.pisar@atlas.cz> 3796Date: Sun Oct 30 12:49:11 2016 +0100 3797 3798 Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 3799 3800 The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 3801 locale and reporting this error: 3802 3803 Warning: locale not supported by Xlib, locale set to C 3804 3805 Therefore this patch reverts to the en_US.UTF-8 definition file that was used 3806 before. This patch also deduplicates the cs_CZ.UTF-8 entry. 3807 3808 <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 3809 3810 This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 3811 3812 Signed-off-by: Julien Cristau <jcristau@debian.org> 3813 3814commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 3815Author: Mihail Konev <k.mvc@ya.ru> 3816Date: Thu Jan 26 13:52:49 2017 +1000 3817 3818 autogen: add default patch prefix 3819 3820 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 3821 3822commit 2979011bc170c55894b9185b26376f8efc6db7d4 3823Author: Emil Velikov <emil.l.velikov@gmail.com> 3824Date: Mon Mar 9 12:00:52 2015 +0000 3825 3826 autogen.sh: use quoted string variables 3827 3828 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 3829 fall-outs, when they contain space. 3830 3831 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 3832 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 3833 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3834 3835commit 4a0082a1b6affa65d38294f0e13511525cd8ad15 3836Author: Peter Hutterer <peter.hutterer@who-t.net> 3837Date: Tue Jan 24 10:32:07 2017 +1000 3838 3839 autogen.sh: use exec instead of waiting for configure to finish 3840 3841 Syncs the invocation of configure with the one from the server. 3842 3843 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3844 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 3845 3846commit c74b070f2712c95f0db7c320a10232b0e5c83049 3847Author: Julien Cristau <jcristau@debian.org> 3848Date: Sat Jan 7 16:20:31 2017 +0100 3849 3850 Fix wrong Xfree in XListFonts failure path 3851 3852 'ch' gets moved inside the allocated buffer as we're looping through 3853 fonts, so keep a reference to the start of the buffer so we can pass 3854 that to Xfree in the failure case. 3855 3856 Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 3857 3858 Signed-off-by: Julien Cristau <jcristau@debian.org> 3859 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3860 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3861 3862commit 663f47075fe67bab4f99bc5d186c49175d4a4334 3863Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3864Date: Sun Jan 1 20:57:58 2017 -0800 3865 3866 specs/libX11: Update Portability Considerations for the 21st century 3867 3868 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3869 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3870 3871commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 3872Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3873Date: Sun Jan 1 20:39:53 2017 -0800 3874 3875 specs/libX11: Fix broken synopsis for Data/Data16/Data32 3876 3877 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3878 3879commit 382561951e3460b09c21a1a23748cde0315fbb19 3880Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3881Date: Sun Jan 1 20:31:54 2017 -0800 3882 3883 specs/libX11: Add missing parameter types for XGetWindowProperty() 3884 3885 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3886 3887commit 2beaecdb66965b861d6b790d151ba947f65f0a22 3888Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3889Date: Sun Jan 1 20:16:08 2017 -0800 3890 3891 specs/libX11: Make paramdef spacing more consistent 3892 3893 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3894 3895commit 4c436c6c14cfd4c397b011563bf13c2872861133 3896Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3897Date: Sun Jan 1 20:02:53 2017 -0800 3898 3899 specs/libX11: Fix paramdef entries listing multiple parameters 3900 3901 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3902 3903commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 3904Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3905Date: Sun Jan 1 19:38:40 2017 -0800 3906 3907 specs/libX11: More synopsis fixes 3908 3909 Mostly transforming macro definitions and functions taking void arguments 3910 from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 3911 3912 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3913 3914commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 3915Author: Lucien Gentis <lucien.gentis@waika9.com> 3916Date: Wed Jun 1 17:02:47 2016 +0200 3917 3918 Typos in "Xlib - C Language X Interface" document - Chapter 02 3919 3920 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 3921 3922 Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 3923 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3924 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3925 3926commit 20a3f99eba5001925b8b313da3accb7900eb1927 3927Author: Emilio Pozuelo Monfort <pochu@debian.org> 3928Date: Tue Oct 25 21:30:15 2016 +0200 3929 3930 Plug a memory leak 3931 3932 This was introduced in 8ea762f. 3933 3934 Reported-by: Julien Cristau <jcristau@debian.org> 3935 Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 3936 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3937 3938commit 8f349feac24aacc958bd816afcc52380764e3d92 3939Author: Matthieu Herrb <matthieu.herrb@laas.fr> 3940Date: Tue Oct 4 21:01:39 2016 +0200 3941 3942 libX11 1.6.4 3943 3944 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3945 3946commit 8ea762f94f4c942d898fdeb590a1630c83235c17 3947Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3948Date: Sun Sep 25 21:25:25 2016 +0200 3949 3950 Validation of server responses in XGetImage() 3951 3952 Check if enough bytes were received for specified image type and 3953 geometry. Otherwise GetPixel and other functions could trigger an 3954 out of boundary read later on. 3955 3956 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3957 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3958 3959commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 3960Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3961Date: Sun Sep 25 21:22:57 2016 +0200 3962 3963 The validation of server responses avoids out of boundary accesses. 3964 3965 v2: FontNames.c return a NULL list whenever a single 3966 length field from the server is incohent. 3967 3968 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3969 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3970 3971commit 78851f6a03130e3c720b60c3cbf96f8eb216d741 3972Author: walter harms <wharms@bfs.de> 3973Date: Mon Aug 15 19:18:14 2016 +0200 3974 3975 XFree will accept NULL as argument 3976 3977 since Xfree is a define for free(): 3978 Xlibint.h:#define Xfree(ptr) free((ptr)) 3979 3980 Xfree will accept NULL and do nothing. 3981 3982 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 3983 3984commit 83adf3d1e3d0d6602244381334f75c216da4ab6e 3985Author: Matthew D. Fuller <fullermd@over-yonder.net> 3986Date: Sat Jun 4 11:24:01 2016 -0500 3987 3988 Fixup param specification for XChangeProperty() 3989 3990 Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 3991 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3992 3993commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 3994Author: Mats Blakstad <mats.gbproject@gmail.com> 3995Date: Sun Feb 28 13:22:03 2016 -0500 3996 3997 New compose keys for local languages in Togo 3998 3999 Signed-off-by: James Cloos <cloos@jhcloos.com> 4000 4001commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 4002Author: Daniel Albers <daniel@lbe.rs> 4003Date: Wed Mar 9 14:35:48 2016 +0100 4004 4005 Add Compose sequence for U+1F4A9. 4006 4007 Signed-off-by: Daniel Albers <daniel@lbe.rs> 4008 4009commit 6d7bb040c928485f2557c2c914b95cffb2354179 4010Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4011Date: Sat Feb 6 14:18:32 2016 -0800 4012 4013 xcms: use size_t for pointer offsets passed to strncmp 4014 4015 instead of converting to int and back 4016 4017 Fixes clang warnings of the form: 4018 HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 4019 'unsigned long' [-Wsign-conversion] 4020 if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 4021 ~~~~~~~ 4022 4023 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4024 4025commit a9266804eed38a83897ab5f0f9f8a8ab82a98882 4026Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4027Date: Sat Feb 6 13:32:44 2016 -0800 4028 4029 xcms: use unsigned indexes when looping through unsigned values 4030 4031 Clears many gcc warnings of the form: 4032 4033 uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 4034 uvY.c:263:19: warning: comparison between signed and unsigned integer 4035 expressions [-Wsign-compare] 4036 for (i = 0; i < nColors; i++, pColor++) { 4037 ^ 4038 4039 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4040 4041commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 4042Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4043Date: Sat Feb 6 13:01:25 2016 -0800 4044 4045 xcms: use size_t for strlen/sizeof values instead of converting to int & back 4046 4047 Fixes gcc warnings of the form: 4048 4049 IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 4050 IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4051 if ((len = strlen(prefix)) >= sizeof(string_buf)) { 4052 ^ 4053 IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4054 if (len >= sizeof(string_buf)) Xfree(string_lowered); 4055 ^ 4056 IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4057 if (len >= sizeof(string_buf)) Xfree(string_lowered); 4058 ^ 4059 IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 4060 if (len >= sizeof(string_buf)) Xfree(string_lowered); 4061 ^ 4062 4063 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4064 4065commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 4066Author: Dominik Muth <nxdomainuser-muth@yahoo.com> 4067Date: Thu Mar 26 07:52:58 2015 +0100 4068 4069 Xlib.h: Fix macros imitating C functions. 4070 4071 The basic rule "put parantheses around macro parameters" should be 4072 observed where possible. Otherwise code like 4073 4074 ConnectionNumber(foo = bar); 4075 4076 fails to compile. (It obviously passes if ConnectionNumber is a C 4077 function.) There are several other macros amended for the same reason. 4078 4079 This bug appeared while building http://ioccc.org/1993/cmills.c, so 4080 historically it was not present. 4081 4082 Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 4083 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4084 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4085 4086commit 3706b0f2b14cc97578a6bee620266edca2722ebf 4087Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4088Date: Fri Nov 15 18:03:25 2013 -0800 4089 4090 Don't need to link libX11-xcb against libX11 4091 4092 libX11-xcb only accesses data structures defined in X11 headers, 4093 it doesn't call any functions or reference any global variables 4094 in libX11 itself. (Seems to have been left from previous XCL 4095 implementation.) 4096 4097 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4098 4099commit eddf1bbd18872b286a9f939140f0cd9ba4e93804 4100Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4101Date: Fri Jan 22 11:44:25 2016 -0800 4102 4103 Stop checking for preferred order of local transports 4104 4105 Removes --with-local-transport-order=... flag to configure. 4106 4107 Code which used this ordered list was removed in commit 15e5eaf6289 4108 which outsourced X11 connection handling & authentication to libxcb. 4109 4110 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4111 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4112 4113commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 4114Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4115Date: Fri Jan 22 09:39:28 2016 -0800 4116 4117 Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 4118 4119 Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 4120 4121 Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 4122 which outsourced X11 connection handling & authentication to libxcb. 4123 4124 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4125 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4126 4127commit 7eb724dc24505f1591ef32620fa63f079b540646 4128Author: Olivier Fourdan <ofourdan@redhat.com> 4129Date: Thu Jan 21 11:54:19 2016 +0100 4130 4131 XKB: fix XkbGetKeyboardByName with Xming server 4132 4133 XkbGetKeyboardByName relies on flags to read the data from the server. 4134 4135 If the X server sends us the wrong flags or if a subreply is smaller 4136 than it should be, XkbGetKeyboardByName will not read all the available 4137 data and leave data in the buffer, which will cause the next _XReply() 4138 to fail with: 4139 4140 [xcb] Extra reply data still left in queue 4141 [xcb] This is most likely caused by a broken X extension library 4142 [xcb] Aborting, sorry about that. 4143 xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 4144 Aborted 4145 4146 Check if there is some extra data left at the end of 4147 XkbGetKeyboardByName() and discard that data if any is found. 4148 4149 Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 4150 root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 4151 with the analysis! 4152 4153 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 4154 Reviewed-by: Daniel Stone <daniels@collabora.com> 4155 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4156 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4157 4158commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 4159Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4160Date: Sat Dec 19 18:03:41 2015 -0800 4161 4162 lcPubWrap: replace malloc(strlen) + strcpy with strdup 4163 4164 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4165 Reviewed-by: Adam Jackson <ajax@redhat.com> 4166 4167commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 4168Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4169Date: Sat Dec 19 10:21:04 2015 -0800 4170 4171 XlcDL.c: reduce code duplication 4172 4173 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4174 Reviewed-by: Adam Jackson <ajax@redhat.com> 4175 4176commit f7ecc0856be58608881d2086954cb71857ad64e1 4177Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4178Date: Sat Dec 19 10:19:25 2015 -0800 4179 4180 XlcDL.c: replace strcpy+strcat sequences with snprintf 4181 4182 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4183 Reviewed-by: Adam Jackson <ajax@redhat.com> 4184 4185commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 4186Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4187Date: Sat Dec 19 10:05:42 2015 -0800 4188 4189 XDefaultOMIF: Remove comments referring to ancient Sun bug ids 4190 4191 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4192 Reviewed-by: Adam Jackson <ajax@redhat.com> 4193 4194commit b738a104ae80e4270dd1d215ad0c6a80016982c2 4195Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4196Date: Sat Dec 19 10:00:22 2015 -0800 4197 4198 XDefaultOMIF: additional code simplification 4199 4200 Don't need to test for a case that we already returned for, don't need 4201 to store a count that will only ever be 1 if we didn't return, don't 4202 need to increment pointers to allow storing more than one item when we 4203 can only ever possibly do one. 4204 4205 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4206 Reviewed-by: Adam Jackson <ajax@redhat.com> 4207 4208commit 31011cf100419269eae7409581c784638be503cf 4209Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4210Date: Sat Dec 19 09:46:31 2015 -0800 4211 4212 XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 4213 4214 Code seems to have been originally written to handle appending multiple 4215 strings, but only ever operates on a single string. 4216 4217 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4218 Reviewed-by: Adam Jackson <ajax@redhat.com> 4219 4220commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 4221Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4222Date: Sat Dec 19 09:20:55 2015 -0800 4223 4224 Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 4225 4226 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4227 Reviewed-by: Adam Jackson <ajax@redhat.com> 4228 4229commit 4359dfabc04af082872d2bc2d5b52e26d6d93290 4230Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4231Date: Fri Dec 4 22:20:53 2015 -0800 4232 4233 Delete #if 0 hunks of code 4234 4235 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4236 4237commit a2f9dfac286f37e54eb47d4736cc3f0150224a84 4238Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4239Date: Thu Dec 3 23:38:07 2015 -0800 4240 4241 Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 4242 4243 Rework code to store allocations directly into XIM struct instead of 4244 temporary local variables, so we can use _XCloseIM to unwind instead 4245 of duplicating it, and consistently jump to error handler on failure, 4246 instead of sometimes leaking and sometimes freeing. 4247 4248 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 4249 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4250 4251commit 07a97b3944467dce085a1efd24706cc851d2caf2 4252Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4253Date: Thu Dec 3 23:19:48 2015 -0800 4254 4255 Bug 93184: read_EncodingInfo invalid free 4256 4257 Free the correct bits of memory if we run out and need to unwind 4258 4259 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 4260 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4261 4262commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 4263Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4264Date: Sat Nov 28 13:18:11 2015 -0800 4265 4266 Remove unused definition of XCONN_CHECK_FREQ 4267 4268 The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 4269 when we dropped the old Xlib connection handling in favor of xcb's. 4270 4271 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4272 Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 4273 4274commit 5f0da8311a61498edf073cc877f5b467bfd5f863 4275Author: James Cloos <cloos@jhcloos.com> 4276Date: Thu Dec 3 18:24:44 2015 -0500 4277 4278 Fix another missing update in cf4d5989383a 4279 4280 Reported in: 4281 4282 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 4283 4284 Signed-off-by: James Cloos <cloos@jhcloos.com> 4285 4286commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 4287Author: James Cloos <cloos@jhcloos.com> 4288Date: Thu Dec 3 18:15:40 2015 -0500 4289 4290 Fix missing update in cf4d5989383a 4291 4292 Reported in: 4293 4294 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 4295 4296 Signed-off-by: James Cloos <cloos@jhcloos.com> 4297 4298commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 4299Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4300Date: Sun Sep 27 18:38:32 2015 -0700 4301 4302 Get rid of some extraneous ; at the end of C source lines 4303 4304 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4305 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 4306 4307commit 121a1bad334459f66f78bfca6df53dc841cf97f8 4308Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 4309Date: Wed Sep 23 11:44:55 2015 -0400 4310 4311 Add compose file for pt_PT similar to pt_BR 4312 4313 This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 4314 4315 One of the conclusions from the discussion on that bug report, which 4316 basically is about typing the ccedilla character easily on a non- 4317 Portuguese keyboard, is that X11 should include a compose file for 4318 pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 4319 4320 FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 4321 4322 Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 4323 Signed-off-by: James Cloos <cloos@jhcloos.com> 4324 4325commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 4326Author: Julien Cristau <jcristau@debian.org> 4327Date: Fri May 1 13:50:15 2015 +0200 4328 4329 Mark _XNextRequest as hidden 4330 4331 It's only used inside XNextRequest(), so doesn't need to be exported. 4332 4333 Signed-off-by: Julien Cristau <jcristau@debian.org> 4334 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4335 4336commit a72d2d06c002b644b7040a0a9936c8525e092ba8 4337Author: Christian Linhart <chris@demorecorder.com> 4338Date: Mon Sep 7 17:17:32 2015 +0200 4339 4340 fix for Xlib 32-bit request number issues 4341 4342 Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 4343 the 32-bit sequence number wrap in libX11. 4344 4345 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 4346 Signed-off-by: Christian Linhart <chris@demorecorder.com> 4347 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 4348 Reviewed-by: Adam Jackson <ajax@redhat.com> 4349 4350commit 58af066a764305c506efea7065ef7679369a1a98 4351Author: Thomas Klausner <wiz@NetBSD.org> 4352Date: Sun Jul 19 10:23:21 2015 +0200 4353 4354 Ignore test-driver (used by newer autoconf). 4355 4356 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 4357 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4358 4359commit 80b9a346b9ba200fa4652560282e80d249519287 4360Author: Thomas Klausner <wiz@NetBSD.org> 4361Date: Sun Jul 19 10:22:45 2015 +0200 4362 4363 Do not return() after exit(). 4364 4365 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 4366 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4367 4368commit c827edcd1c4a7f920aa25208083b5b58d60d2b44 4369Author: Ross Burton <ross.burton@intel.com> 4370Date: Mon May 18 14:49:01 2015 +0100 4371 4372 Add missing NULL checks to ICWrap 4373 4374 ICWrap.c dereferences the xim parameter passed in from client code without a 4375 NULL check. I have seen mplayer trigger this resulting in a segfault. In this 4376 case mplayer had called XOpenIM and NULL was returned which was later passed 4377 into XCreateIC. 4378 4379 Patch originally by Drew Moseley <drew_moseley@mentor.com>. 4380 4381 Signed-off-by: Ross Burton <ross.burton@intel.com> 4382 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4383 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4384 4385commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 4386Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4387Date: Thu Jun 4 20:51:17 2015 -0700 4388 4389 Replace Xmalloc+memset pairs with Xcalloc calls 4390 4391 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4392 4393commit f0286b2770ece10aef5e2e8c004260217f12fd25 4394Author: Bhavi Dhingra <b.dhingra@samsung.com> 4395Date: Thu Jun 4 19:07:12 2015 -0700 4396 4397 omGeneric.c: Correct the parameter usage of sizeof 4398 4399 Incorrect parameter usage with sizeof. Earlier passed argument FontData 4400 will be 4 bytes always as its a pointer hence the change is needed and 4401 FontDataRec should be used for memset. 4402 4403 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4404 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4405 4406commit 47da70d75f9e48e800719c0db752f9ccd2d77aea 4407Author: Peter Hutterer <peter.hutterer@who-t.net> 4408Date: Tue May 19 12:30:22 2015 +1000 4409 4410 Fix three "use of uninitialized variable" coverity warnings 4411 4412 False positive, if rlen/nbytes are unset we quit early before using it. Still, 4413 initialize it so we don't have to deal with these warnings again. 4414 4415 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4416 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 4417 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4418 4419commit 19a30f17f30e9ae9641a7c0634fc52134208b060 4420Author: Peter Hutterer <peter.hutterer@who-t.net> 4421Date: Mon May 18 07:56:22 2015 +1000 4422 4423 Fix an indentation issue 4424 4425 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4426 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 4427 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4428 4429commit 013ccece124b990217ad3bcf2c41688e8fda1df8 4430Author: Peter Hutterer <peter.hutterer@who-t.net> 4431Date: Mon May 18 07:55:17 2015 +1000 4432 4433 Fix potential memory leak 4434 4435 If we hit the depth limit, filename leaks. Move the depth check up before we 4436 allocate filename. 4437 Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 4438 4439 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4440 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 4441 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4442 4443commit d3415d1f052530760b4617db45affcb984cfe35c 4444Author: Mike FABIAN <mfabian@redhat.com> 4445Date: Mon Apr 20 17:59:30 2015 +0200 4446 4447 Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 4448 4449 Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 4450 locales fixed it only partly, I introduced a new spelling mistake 4451 in the sd_IN locales. This patch fixes this. 4452 4453 Signed-off-by: James Cloos <cloos@jhcloos.com> 4454 4455commit 748d47e69f5c12d8557d56a8a8ec166588da7b93 4456Author: Mike FABIAN <mfabian@redhat.com> 4457Date: Wed Feb 19 11:46:45 2014 +0100 4458 4459 fix spelling mistakes in ks_IN and sd_IN devanagari locales 4460 4461 The codeset must be *before* the modifier. 4462 4463 See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 4464 4465 opengroup> The syntax for these environment variables is thus defined as: 4466 opengroup> 4467 opengroup> [language[_territory][.codeset][@modifier]] 4468 4469 Signed-off-by: James Cloos <cloos@jhcloos.com> 4470 4471commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 4472Author: Mike FABIAN <mfabian@redhat.com> 4473Date: Wed Feb 19 11:50:55 2014 +0100 4474 4475 add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 4476 4477 See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 4478 4479 If these are not in locale.dir, 4480 4481 $ LANG=sr_RS.UTF-8@latin xterm 4482 4483 and 4484 4485 $ LANG=sr_RS@latin xterm 4486 4487 give the warning: 4488 4489 Warning: locale not supported by Xlib, locale set to C 4490 4491 and some programs (like xmms) fail to find translations for Serbian 4492 in Latin because of this. 4493 4494 Signed-off-by: James Cloos <cloos@jhcloos.com> 4495 4496commit c85be01b006126c4407eebd1eb6e01a17312b7b4 4497Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4498Date: Sun Mar 22 16:46:45 2015 -0700 4499 4500 Move Compose \ o / to be with other emoji compose sequences 4501 4502 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4503 4504commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 4505Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4506Date: Mon Mar 9 15:28:29 2015 -0700 4507 4508 libX11 1.6.3 4509 4510 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4511 4512commit c8e19b393defd53f046ddc2da3a16881221b3c34 4513Author: Joonas Javanainen <joonas.javanainen@gmail.com> 4514Date: Thu Feb 5 17:31:04 2015 +0200 4515 4516 Fix XErrorEvent struct field order in man page 4517 4518 In the man page the field "resourceid" was in a different place than 4519 in the actual struct layout in Xlib.h 4520 4521 Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 4522 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4523 4524commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 4525Author: Ran Benita <ran234@gmail.com> 4526Date: Tue Feb 3 13:23:50 2015 -0500 4527 4528 compose: fix the description of modifiers in compose sequences 4529 4530 The Compose format has a feature which allows specifying certain 4531 modifiers must (or must not) be present with a given keysym in the 4532 sequence. 4533 4534 The grammar in imLcPrs.c and the Compose man page both do not match what 4535 the code actually does (see the handling of the variables 4536 `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 4537 eventually matched as `ev->state & modifier_mask == modifier`). 4538 4539 Also explicitly list the accepted modifier names, since they are 4540 not standard (e.g. "Ctrl" instead of "Control"). 4541 4542 Signed-off-by: Ran Benita <ran234@gmail.com> 4543 Signed-off-by: James Cloos <cloos@jhcloos.com> 4544 4545commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 4546Author: Ran Benita <ran234@gmail.com> 4547Date: Tue Feb 3 13:23:49 2015 -0500 4548 4549 xkb: fix misleading comment about consumed modifiers 4550 4551 In the spec and the man page the `mods_rtrn` argument is described as 4552 "backfilled with unconsumed modifiers" but actually it is backfilled 4553 with the *consumed* modifiers. This is also mentioned a few lines below 4554 in each case. 4555 4556 Signed-off-by: Ran Benita <ran234@gmail.com> 4557 Signed-off-by: James Cloos <cloos@jhcloos.com> 4558 4559commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 4560Author: Ingo Schwarze <schwarze@usta.de> 4561Date: Tue Dec 9 10:44:13 2014 +0100 4562 4563 Fix pasto in XkbGetKeyBehaviors(3) manual 4564 4565 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 4566 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4567 4568commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 4569Author: Benno Schulenberg <bensberg@justemail.net> 4570Date: Sun Nov 23 21:35:36 2014 +0100 4571 4572 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 4573 4574 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4575 4576commit a51681b60c84109fe19f5d449e13080522499324 4577Author: Benno Schulenberg <bensberg@justemail.net> 4578Date: Thu Sep 19 16:42:01 2013 +0200 4579 4580 nls: Remove a duplicate locale name, and sort some others more strictly. 4581 4582 Also improve the grammar of the initial comment. 4583 4584 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4585 Signed-off-by: James Cloos <cloos@jhcloos.com> 4586 4587commit 426b7f850f5376db96a4b12420ee141603fcc3cd 4588Author: Benno Schulenberg <bensberg@justemail.net> 4589Date: Fri Sep 20 12:37:29 2013 +0200 4590 4591 nls: Add a comment to the block of accented Hebrew letters. 4592 4593 And align them in a nicer manner. 4594 4595 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4596 Signed-off-by: James Cloos <cloos@jhcloos.com> 4597 4598commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 4599Author: Benno Schulenberg <bensberg@justemail.net> 4600Date: Fri Sep 20 12:05:09 2013 +0200 4601 4602 nls: Add one lowercase compose variant for ®, to mirror those for ©. 4603 4604 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4605 Signed-off-by: James Cloos <cloos@jhcloos.com> 4606 4607commit 18dcd13514fa538afefa78c93523d9dbd4688e74 4608Author: Benno Schulenberg <bensberg@justemail.net> 4609Date: Sat Sep 7 20:10:43 2013 +0200 4610 4611 nls: Adding the visual composing characters to two comment lines. 4612 4613 The lines around them also contain the characters in the comments. 4614 4615 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4616 Signed-off-by: James Cloos <cloos@jhcloos.com> 4617 4618commit 18d8307575af748913d5da17e3de45da2a22ede4 4619Author: Benno Schulenberg <bensberg@justemail.net> 4620Date: Sat Sep 7 20:09:32 2013 +0200 4621 4622 nls: Grouping a lone superscript minus together with its mates. 4623 4624 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4625 Signed-off-by: James Cloos <cloos@jhcloos.com> 4626 4627commit 33301cc45e6a2b8aa841ed6325547af970f8c4db 4628Author: Benno Schulenberg <bensberg@justemail.net> 4629Date: Sat Sep 7 19:53:38 2013 +0200 4630 4631 nls: Grouping the compose sequences for Dstroke/dstroke together. 4632 4633 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4634 Signed-off-by: James Cloos <cloos@jhcloos.com> 4635 4636commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 4637Author: Gioele Barabucci <gioele@svario.it> 4638Date: Sun Sep 21 23:05:55 2014 +0200 4639 4640 Add compose sequence for U+20B9 INDIAN RUPEE SIGN 4641 4642 The compose sequence for the new Indian Rupee sign is modelled after 4643 the sequence for the Euro sign. 4644 4645 Signed-off-by: Gioele Barabucci <gioele@svario.it> 4646 Signed-off-by: James Cloos <cloos@jhcloos.com> 4647 4648commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 4649Author: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 4650Date: Thu Jul 31 22:23:28 2014 -0300 4651 4652 Add double-arrow compose sequence 4653 4654 Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 4655 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4656 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4657 4658commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 4659Author: James Cloos <cloos@jhcloos.com> 4660Date: Fri Aug 1 18:30:42 2014 -0400 4661 4662 Add cs_CZ.UTF-8 locale to configure.ac 4663 4664 Commit cf4d5989383a should have included this. 4665 4666 Reported-by: Colin Harrison <colin.harrison@virgin.net> 4667 Signed-off-by: James Cloos <cloos@jhcloos.com> 4668 4669commit cf4d5989383acc4ed1b7eebadde9f380f2129766 4670Author: James Cloos <cloos@jhcloos.com> 4671Date: Tue Jul 29 15:02:56 2014 -0400 4672 4673 Add nls for cs_CZ.UTF-8 4674 4675 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 4676 override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 4677 to enter »ů«, and likewise for the majuscule, for the Czech locale. 4678 4679 This evidently is the norm for Czech keyboards. 4680 4681 Fixes bz#81875. 4682 4683 The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 4684 several other locales. That may require an update. 4685 4686 Reported-by: Vladimír Marek <vlmarek@volny.cz> 4687 Signed-off-by: James Cloos <cloos@jhcloos.com> 4688 4689commit d9f569572bd14db31921471e7b877523b5cf1e4c 4690Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4691Date: Sat Jul 26 12:17:47 2014 -0700 4692 4693 Fix source paths for out-of-tree lintlib builds 4694 4695 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4696 4697commit 0885cad1e4a9ed57266582be320be55259c881bf 4698Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4699Date: Sun Jul 20 09:21:20 2014 -0700 4700 4701 specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 4702 4703 Matches the way they were styled in original doc, before conversion 4704 to DocBook. 4705 4706 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4707 4708commit d0a9e9d56bb003315787201ee525b4d00fd54e06 4709Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4710Date: Sat Jul 19 23:55:47 2014 -0700 4711 4712 specs/XKB: acknowledge my contributions 4713 4714 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4715 4716commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 4717Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4718Date: Sat Jul 19 23:53:48 2014 -0700 4719 4720 specs/XKB: Trim leading spaces off text lines 4721 4722 perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 4723 4724 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4725 4726commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 4727Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4728Date: Sat Jul 19 20:30:55 2014 -0700 4729 4730 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 4731 4732 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4733 4734commit 5009621799444e9d1d284719f871d00be13e7330 4735Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4736Date: Sat Jul 19 12:34:28 2014 -0700 4737 4738 specs/XKB: Fix miscelleanous typos & spelling errors 4739 4740 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4741 4742commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 4743Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4744Date: Sat Jul 19 00:46:41 2014 -0700 4745 4746 specs/XKB: add some more indexterms by hand 4747 4748 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4749 4750commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 4751Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4752Date: Sat Jul 19 00:48:02 2014 -0700 4753 4754 specs/XKB: fixup various formatting issues in <programlisting>s 4755 4756 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4757 4758commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 4759Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4760Date: Fri Jul 18 23:56:29 2014 -0700 4761 4762 specs/XKB: fixup various formatting issues in <literallayout>s 4763 4764 Including translating some that are really just lists into 4765 <simplelist> markup. 4766 4767 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4768 4769commit 94b56774784ac00b9db02403aecea10bb0814c10 4770Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4771Date: Fri Jul 18 23:18:52 2014 -0700 4772 4773 specs/XKB: add some more links by hand 4774 4775 random bits where a link looked handy 4776 4777 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4778 4779commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 4780Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4781Date: Fri Jul 18 23:16:31 2014 -0700 4782 4783 specs/XKB: add links for terms in definition list under figure 1.1 4784 4785 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4786 4787commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 4788Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4789Date: Fri Jul 18 22:52:16 2014 -0700 4790 4791 specs/XKB: add links to more tables listing section references 4792 4793 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4794 4795commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 4796Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4797Date: Fri Jul 18 22:49:34 2014 -0700 4798 4799 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 4800 4801 Page numbers refer to old doc format, didn't translate to new one 4802 4803 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4804 4805commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 4806Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4807Date: Sat Jul 19 11:55:51 2014 -0700 4808 4809 specs/XKB: remove unwanted white space around C -> struct references 4810 4811 perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 4812 4813 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4814 4815commit 2be0cc0b2abbcc98cfd150210dea415a04787251 4816Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4817Date: Fri Jul 18 22:26:20 2014 -0700 4818 4819 specs/XKB: replace -> with → when used as arrow, not in C structs 4820 4821 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4822 4823commit bf1f3d6f6f995303624679ae546f507c70967dc0 4824Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4825Date: Fri Jul 18 22:21:10 2014 -0700 4826 4827 specs/XKB: replace => with ⇒ for double arrows 4828 4829 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4830 4831commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 4832Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4833Date: Sat Jul 19 11:33:35 2014 -0700 4834 4835 specs/XKB: Markup some ranges with – instead of - 4836 4837commit ec4075303c6c0d1d64bfe378e585968f9a137da7 4838Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4839Date: Fri Jul 18 22:10:45 2014 -0700 4840 4841 specs/XKB: Markup some subtractions with − instead of - 4842 4843 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4844 4845commit 441a267e461132a38abed205245f028686526f1d 4846Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4847Date: Fri Jul 18 22:04:40 2014 -0700 4848 4849 specs/XKB: make sure all files have DOCTYPEs so standard entities work 4850 4851 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4852 4853commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 4854Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4855Date: Fri Jul 18 21:55:41 2014 -0700 4856 4857 specs/XKB: Markup quoted terms as <quote> instead of with "" 4858 4859 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4860 4861commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 4862Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4863Date: Sat Jul 19 09:01:26 2014 -0700 4864 4865 specs/XKB: fixup newlines between tags and punctuation 4866 4867 Get rid of unwanted whitespace before punctuation by moving them to the 4868 lines with the tags, instead of before & after. 4869 4870 perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 4871 4872 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4873 4874commit 6d5ec492cd28c206423337f926503349702af5a6 4875Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4876Date: Fri Jul 18 21:29:33 2014 -0700 4877 4878 specs/XKB: fixup newlines between tags and parens 4879 4880 Get rid of unwanted whitespace inside parens by moving them to the 4881 lines with the tags, instead of before & after. 4882 4883 perl -i -0 -p \ 4884 -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 4885 -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 4886 4887 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4888 4889commit 59d688f4c787250e0b401a92b1db0437d8c60f2d 4890Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4891Date: Fri Jul 18 21:09:24 2014 -0700 4892 4893 specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 4894 4895 Also add <indexterm> entries for most of them, to make their definitions 4896 or introductions easy to find from the index. 4897 4898 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4899 4900commit 861f3087ee0f501362a67501f384c2ca4c7bfe73 4901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4902Date: Thu Jul 10 20:00:53 2014 -0700 4903 4904 specs/XKB: Manual fixup of type markup 4905 4906 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4907 4908commit 6b96259dabe52701fd1bcaa0625b574180c4e769 4909Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4910Date: Thu Jul 10 15:00:30 2014 -0700 4911 4912 specs/XKB: Manual fixup of parameter markup 4913 4914 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4915 4916commit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 4917Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4918Date: Thu Jul 10 13:40:40 2014 -0700 4919 4920 specs/XKB: Manual fixup of struct name/field markup 4921 4922 Handles typos that caused the scripts to miss matches, misnamed structs, etc. 4923 4924 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4925 4926commit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 4927Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4928Date: Wed Jul 9 23:26:37 2014 -0700 4929 4930 specs/XKB: Manual fixup of symbol name markup 4931 4932 Handles typos that caused the scripts to miss matches, misnamed masks, etc. 4933 4934 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4935 4936commit eb1453a0c69606b8af96b90ddccf1b93a069fb35 4937Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4938Date: Wed Jul 9 00:03:23 2014 -0700 4939 4940 specs/XKB: Manual fixup of function name markup 4941 4942 Handles typos that caused the scripts to miss matches, functions like 4943 malloc & free from other libraries, function name patterns, etc. 4944 4945 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4946 4947commit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 4948Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4949Date: Thu Jul 10 19:42:31 2014 -0700 4950 4951 specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 4952 4953 No great fit in DocBook, so follow what we used in Xlib spec. 4954 4955 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4956 4957commit ed60df10aad15057577d5714c955d22d2a446e51 4958Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4959Date: Thu Jul 10 15:45:57 2014 -0700 4960 4961 specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 4962 4963 Also uses <guilabel> for LED names/labels, for lack of a better fit 4964 in DocBook. 4965 4966 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4967 4968commit f57b91ee497414083cc1bf481d28eb9ad9f965fb 4969Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4970Date: Thu Jul 10 15:41:19 2014 -0700 4971 4972 specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 4973 4974 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4975 4976commit cfd4279c9b59d7e87c9f7c67692c87973adb7667 4977Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4978Date: Thu Jul 10 11:08:14 2014 -0700 4979 4980 specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 4981 4982 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4983 4984commit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 4985Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4986Date: Wed Jul 9 23:30:54 2014 -0700 4987 4988 specs/XKB: Markup symbol names in table entries too 4989 4990 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4991 4992commit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 4993Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4994Date: Tue Jul 8 23:35:48 2014 -0700 4995 4996 specs/XKB: Markup *Ptr as <type> instead of <emphasis> 4997 4998 perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 4999 5000 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5001 5002commit 9f6c00629fd4b713082cc11f9150f7aafd272c89 5003Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5004Date: Tue Jul 8 23:34:29 2014 -0700 5005 5006 specs/XKB: Markup *Rec as <structname> instead of <emphasis> 5007 5008 perl -i -p -e \ 5009 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 5010 5011 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5012 5013commit 83839e37802b8b752c77859a95de60ad757feb79 5014Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5015Date: Tue Jul 8 23:29:49 2014 -0700 5016 5017 specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 5018 5019 Performed via: 5020 perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 5021 /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 5022 | sort -u > xkb-defines.pl 5023 perl -i -p -f xkb-defines.pl *.xml 5024 5025 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5026 5027commit 9e397ed37ce4cc70621de347de3a795df88d4506 5028Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5029Date: Tue Jul 8 22:53:12 2014 -0700 5030 5031 specs/XKB: Use ° instead of o for degrees. 5032 5033 Conversion from framemaker turned superscripted "o" into plain "o". 5034 5035 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5036 5037commit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 5038Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5039Date: Tue Jul 8 22:46:03 2014 -0700 5040 5041 specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 5042 5043 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5044 5045commit 33bef065683c8f910f3722730503c0c0699ee8be 5046Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5047Date: Tue Jul 8 22:26:56 2014 -0700 5048 5049 specs/XKB: Markup NULL as <symbol> instead of <emphasis> 5050 5051 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5052 5053commit f10aa1e09468bd28454d85ac8ab55d9dc7178029 5054Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5055Date: Tue Jul 8 22:22:29 2014 -0700 5056 5057 specs/XKB: Markup function args as <parameter> instead of <emphasis> 5058 5059 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5060 5061commit 79ba58cceb69521fcb313c69233cf93a9fcb177f 5062Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5063Date: Mon Jul 7 23:56:13 2014 -0700 5064 5065 specs/XKB: Convert remaining error names to errorname tags 5066 5067 Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 5068 are XKB-specific. (Plus some were badly split across tag boundaries.) 5069 5070 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5071 5072commit 42b2f5388c399949ece377f9cc9c479c06964972 5073Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5074Date: Mon Jul 7 23:16:56 2014 -0700 5075 5076 specs/XKB: manually fixup some more emphasis tagging mismatches 5077 5078 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5079 5080commit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 5081Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5082Date: Mon Jul 7 23:02:31 2014 -0700 5083 5084 specs/XKB: re-normalize <emphasis> layout in xml files 5085 5086 Same script as before, just with <!-- xref --> comments out of the way 5087 now. 5088 5089 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5090 5091commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 5092Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5093Date: Mon Jul 7 22:59:25 2014 -0700 5094 5095 specs/XKB: Remove remaining xref comments 5096 5097 All the places marked by these have been turned into the appropriate 5098 link, xref, or olink tags now. 5099 5100 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5101 5102commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 5103Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5104Date: Mon Jul 7 22:56:36 2014 -0700 5105 5106 specs/XKB: make olinks to xkbproto for references in section 10.13 5107 5108 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5109 5110commit fcda446877a62e7443d7bc704ba3610e90d1e755 5111Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5112Date: Mon Jul 7 22:22:28 2014 -0700 5113 5114 specs/XKB: Add <figure> tags and make Figure references link to them 5115 5116 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5117 5118commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 5119Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5120Date: Mon Jul 7 21:30:01 2014 -0700 5121 5122 specs/XKB: Turn Table references into links 5123 5124 Adds id attributes to all table tags so we can link to them 5125 5126 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5127 5128commit 135fa07b74cb50172c6a75768d499cd87ddb336e 5129Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5130Date: Sun Jul 6 21:29:59 2014 -0700 5131 5132 specs/XKB: Turn section references into xref links 5133 5134 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5135 5136commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 5137Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5138Date: Sun Jul 6 21:17:18 2014 -0700 5139 5140 specs/XKB: Turn Chapter references into xref links 5141 5142 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5143 5144commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 5145Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5146Date: Sun Jul 6 20:40:18 2014 -0700 5147 5148 specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 5149 5150 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5151 5152commit b00a7ddff2744238fbfe31c2298b02028a45a6ff 5153Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5154Date: Sun Jul 6 20:34:51 2014 -0700 5155 5156 specs/XKB: Markup function names as <function> instead of <emphasis> 5157 5158 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5159 5160commit bfbb58b7679221cb5c9212665209ea9099ad079a 5161Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5162Date: Sun Jul 6 20:25:46 2014 -0700 5163 5164 specs/XKB: normalize <emphasis> layout in xml files 5165 5166 - Stop placing <emphasis> on empty space, commas, and periods. 5167 - Move periods & commas after closing </emphasis> tag 5168 - move <emphasis> open & close tags to same line, instead of mirroring 5169 nroff layout. 5170 5171 Simplifies automating further transformations of these tags. 5172 5173 Performed via: 5174 perl -i -0 -p \ 5175 -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 5176 -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 5177 -e 's{\n([\.,])\s*}{\1\n}msg;' \ 5178 -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 5179 -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 5180 5181 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5182 5183commit b16ee69a0103109a661a88140a1765dcd7bda634 5184Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5185Date: Sun Jul 6 15:57:41 2014 -0700 5186 5187 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 5188 5189 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5190 5191commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 5192Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5193Date: Sun Jul 6 19:29:38 2014 -0700 5194 5195 specs/XKB: Add index 5196 5197 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5198 5199commit 72ae1d793be078db521dda60af578ece71f364de 5200Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5201Date: Sun Jul 6 13:21:40 2014 -0700 5202 5203 specs/XKB: Fix various markup issues in functiondecl tables 5204 5205 - Merge some functionargdecl entries incorrectly split across rows 5206 - Add missing parameter name markup to some functionargdecls 5207 - Add missing function prototype markup to a functiondecl 5208 - Remove stray emphasis tags in a functiondecl 5209 5210 Allows them to correctly convert to funcsynopsis markup in next step. 5211 5212 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5213 5214commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 5215Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5216Date: Sun Jul 6 12:15:23 2014 -0700 5217 5218 specs/XKB: Convert header filenames to filename tags 5219 5220 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5221 5222commit 5525e8433f93bce464412f27cffa203ea628f368 5223Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5224Date: Tue Jul 8 00:05:32 2014 -0700 5225 5226 specs/libX11: disengender a user reference 5227 5228 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5229 5230commit d8679eae9317b389ad4acb0430360ee0663e2af8 5231Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5232Date: Fri Jul 11 18:41:42 2014 -0700 5233 5234 specs/libX11: Correct value of IconicState to match Xutil.h 5235 5236 Xutil.h has always had a value of 3 for IconicState, since 2 was 5237 previously used for the long-obsolete ZoomState, so make the spec 5238 match what programs have used for decades. 5239 5240 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5241 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5242 5243commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 5244Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5245Date: Fri Jul 11 10:34:08 2014 -0700 5246 5247 Use C99 named initializers to fill in events passed to XSendEvent 5248 5249 Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 5250 and allows optimizer to order field initialization to best fit cache layout 5251 or other considerations. 5252 5253 Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 5254 instructions to rapidly zero-fill structs. 5255 5256 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5257 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5258 5259commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 5260Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5261Date: Sun Jul 6 11:13:49 2014 -0700 5262 5263 Fix validation of ctrls parameter to XkbGetPerClientControls() 5264 5265 Nothing in the XKB spec states that the memory pointed to by ctrls has to 5266 be initialized to any given value when passed to the function, only that 5267 it is set by the function to the values returned by the X server: 5268 http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 5269 5270 The check for the incoming value seems to be copied from 5271 XkbSetPerClientControls without explanation. 5272 5273 Instead change it to checking if ctrls is non-NULL, since there's no 5274 point asking the X server to return a value the caller won't even see. 5275 5276 Found while investigating report from cppcheck-1.65: 5277 [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 5278 dereference: ctrls - otherwise it is redundant to check it against null. 5279 5280 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5281 5282commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 5283Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5284Date: Sun Jul 6 10:54:57 2014 -0700 5285 5286 Fix map->num_types check in XkbAddKeyType() 5287 5288 Check is intended to ensure we allocate at least XkbNumRequiredTypes 5289 in map, but was accidentally marked with a ! causing the wrong check. 5290 5291 Reported-by: Harms <wharms@bfs,de> 5292 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5293 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5294 5295commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 5296Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5297Date: Sun Jul 6 15:08:21 2014 -0700 5298 5299 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 5300 5301 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5302 5303commit a06ea86773568926c36ae650b188fc818d540db7 5304Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5305Date: Sun Jul 6 15:04:27 2014 -0700 5306 5307 specs/libX11: Fix height & width in parameter lists to be two separate entries 5308 5309 "unsigned int width, unsigned int height", not a single parameter "height" 5310 of type "unsignedintwidth,". 5311 5312 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5313 5314commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 5315Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5316Date: Sun Jul 6 14:38:10 2014 -0700 5317 5318 specs/libX11: Fix x & y in parameter lists to be two separate parameters 5319 5320 "int x, int y" not a single parameter y of type "intx" 5321 5322 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5323 5324commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 5325Author: walter harms <wharms@bfs.de> 5326Date: Sat Jun 7 12:03:17 2014 +0200 5327 5328 lcDefConv.c: fix use before check 5329 5330 * Do not use variables before checked for NULL. 5331 * remove some superfluid spaces (Mark Kettenis) 5332 5333 Signed-off-by: Harms <wharms@bfs,de> 5334 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5335 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5336 5337commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 5338Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5339Date: Mon Jun 16 15:16:10 2014 -0700 5340 5341 Start adding Unicode 7.0 support to compose table 5342 5343 New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 5344 5345 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5346 5347commit a4679baaa18142576d42d423afe816447f08336c 5348Author: walter harms <wharms@bfs.de> 5349Date: Sat Jun 7 11:54:34 2014 +0200 5350 5351 rm redundant null checks 5352 5353 remove more redundant NULL checks 5354 note that _XkbFree() is really Xfree() 5355 5356 Signed-off-by: Harms <wharms@bfs,de> 5357 Reviewed-by: Rémi Cardona <remi@gentoo.org> 5358 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5359 5360commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 5361Author: walter harms <wharms@bfs.de> 5362Date: Sat Jun 7 15:17:27 2014 +0200 5363 5364 libX11: rm redundante NULL checks 5365 5366 This patch removes the last remaining NULL checks for Xfree() 5367 5368 Signed-off-by: Harms <wharms@bfs,de> 5369 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5370 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5371 5372commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 5373Author: walter harms <wharms@bfs.de> 5374Date: Fri Jun 6 22:53:05 2014 +0200 5375 5376 Remove more redundant null checks before Xfree() 5377 5378 Signed-off-by: Harms <wharms@bfs,de> 5379 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5380 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5381 5382commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 5383Author: walter harms <wharms@bfs.de> 5384Date: Thu Jun 5 18:37:40 2014 +0200 5385 5386 Remove redundant null checks before free 5387 5388 This patch removes some redundant null checks before free. 5389 It should not change the code otherwise. Be aware that this 5390 is only the first series. 5391 5392 Signed-off-by: Harms <wharms@bfs,de> 5393 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5394 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5395 5396commit 7d452fad5068ba92b964e92bc46708046f4044aa 5397Author: walter harms <wharms@bfs.de> 5398Date: Wed Jun 4 17:12:31 2014 +0200 5399 5400 libX11/lcUTF8.c fix: dereferenced before check 5401 5402 * Do not use variables before checked for NULL. 5403 5404 Signed-off-by: Harms <wharms@bfs,de> 5405 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5406 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5407 5408commit a3808f51517a720e7ff738208af60865779dd6ef 5409Author: walter harms <wharms@bfs.de> 5410Date: Wed Jun 4 17:10:20 2014 +0200 5411 5412 libX11/XKBNames.c fix: dereferenced before check 5413 5414 * Do not use variables before checked for NULL. 5415 5416 Signed-off-by: Harms <wharms@bfs,de> 5417 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5418 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5419 5420commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 5421Author: walter harms <wharms@bfs.de> 5422Date: Wed Jun 4 17:08:12 2014 +0200 5423 5424 libX11/lcGenConv.c fix: dereferenced before check 5425 5426 * Do not use variables before checked for NULL. 5427 5428 Signed-off-by: Harms <wharms@bfs,de> 5429 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5430 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5431 5432commit c6bc28d433243c32b3f74955f1478451b4fd27b5 5433Author: Andreas Schwab <schwab@linux-m68k.org> 5434Date: Sun Jan 19 16:59:13 2014 +0100 5435 5436 Restore lost tabs in sed commands 5437 5438 Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 5439 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5440 5441commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 5442Author: Benno Schulenberg <bensberg@justemail.net> 5443Date: Thu Sep 19 11:01:11 2013 +0200 5444 5445 nls: Transform Brazilian compose file to an include plus three overrides. 5446 5447 Signed-off-by: James Cloos <cloos@jhcloos.com> 5448 5449commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 5450Author: Benno Schulenberg <bensberg@justemail.net> 5451Date: Fri Sep 6 12:10:01 2013 +0200 5452 5453 nls: Adding the missing compose sequences with <comma> for O with ogonek. 5454 5455 All other vowels with ogoneks can already be composed using <comma>. 5456 5457 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5458 Signed-off-by: James Cloos <cloos@jhcloos.com> 5459 5460commit 655b60f48376069750b151c46da836fdd411c83b 5461Author: Benno Schulenberg <bensberg@justemail.net> 5462Date: Fri Sep 6 12:04:24 2013 +0200 5463 5464 nls: Adding the missing postfix sequences for composing vowels with ogoneks. 5465 5466 It existed for lowercase i, but not for uppercase I nor the other vowels. 5467 5468 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5469 Signed-off-by: James Cloos <cloos@jhcloos.com> 5470 5471commit 7f8f9a36ef901f31279c385caf960a22daeb33fe 5472Author: Owen W. Taylor <otaylor@fishsoup.net> 5473Date: Fri May 9 18:21:05 2014 -0400 5474 5475 Fix XNextRequest() after direct usage of XCB 5476 5477 When XCB owns the X socket, dpy->request is not updated, so 5478 NextRequest() and XNextRequest() return the wrong value. There's 5479 nothing we can do to fix NextRequest() while retaining ABI compat, 5480 but change XNextRequest() to grab the socket back from XCB, 5481 updating dpy->request. 5482 5483 Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 5484 Reviewed-by: Uli Schlachter <psychon@znc.in> 5485 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5486 5487commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 5488Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5489Date: Sun May 4 11:54:59 2014 -0700 5490 5491 Add missing .TE tags to end tables in Xkb man pages 5492 5493 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5494 5495commit 280274e5292e013b43e552274111fab434f5ed4e 5496Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5497Date: Sun May 4 11:23:17 2014 -0700 5498 5499 XCreateGC.man: simplify table to work with Solaris tbl 5500 5501 Having every table cell be a text diversion (T{...T}) was too much for 5502 Solaris tbl to handle, and thus "man XCreateGC" would print the error 5503 /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 5504 tbl quits 5505 and not display the table of mask bits or any text in the man page after 5506 that table. Since the #define column doesn't need special handling, 5507 making it not use text diversions brings the table under the tbl limit. 5508 5509 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5510 5511commit 93bb325a54025dd15f4744abce54b358960420f9 5512Author: James Cloos <cloos@jhcloos.com> 5513Date: Tue May 20 17:30:10 2014 -0400 5514 5515 Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 5516 5517 Parenleft is already in use for sequences of the form <(> <letter> <)> 5518 to generate circled letters. 5519 5520 Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 5521 5522 This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 5523 5524 Signed-off-by: James Cloos <cloos@jhcloos.com> 5525 5526commit 060707851be918f2f507a26d17b016f764ddf2b4 5527Author: Benno Schulenberg <bensberg@justemail.net> 5528Date: Fri Sep 6 11:42:59 2013 +0200 5529 5530 nls: Adding accessible compose sequences for Ș and Ț (with comma below). 5531 5532 Compose sequences with <dead_belowcomma> exist, but very few keyboard 5533 layouts contain that symbol. So a more usual character is needed to be 5534 able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 5535 used for composing letters with ogoneks -- but only vowels take ogoneks, 5536 so the character is free for consonants, and thus <semicolon> is used 5537 here to compose commas below. It is somewhat fitting, because on most 5538 Romanian keyboards the Ș is placed on that key, and the Ț next to it. 5539 5540 (Oh -- the more obvious sequences with <comma> were already taken for 5541 composing S and T with cedillas.) 5542 5543 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5544 Signed-off-by: James Cloos <cloos@jhcloos.com> 5545 5546commit ca435c2f753aa2961fb35ac448cdb2cc77112755 5547Author: Benno Schulenberg <bensberg@justemail.net> 5548Date: Tue Sep 3 21:10:33 2013 +0200 5549 5550 nls: Ordering some compose sequences in a more customary way. 5551 5552 The custom seems to be: pairing the ones that have only the sequence of 5553 two keys reversed, and putting the one with the diacritic first first. 5554 5555 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5556 Signed-off-by: James Cloos <cloos@jhcloos.com> 5557 5558commit f020235f4bd91fb6eade82f8c9f7b85a57981768 5559Author: Benno Schulenberg <bensberg@justemail.net> 5560Date: Tue Sep 3 20:44:42 2013 +0200 5561 5562 nls: Adding compose sequences (with <parenleft> first) that GTK also has. 5563 5564 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5565 Signed-off-by: James Cloos <cloos@jhcloos.com> 5566 5567commit bda0b3b5bd19154206dc40166364e73d4b6b1374 5568Author: Benno Schulenberg <bensberg@justemail.net> 5569Date: Tue Sep 3 11:14:16 2013 +0200 5570 5571 nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 5572 5573 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5574 Signed-off-by: James Cloos <cloos@jhcloos.com> 5575 5576commit 8be4610939b833587954957f5963eb4191b43d19 5577Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5578Date: Thu Mar 13 23:22:48 2014 -0700 5579 5580 Fix "follwing" typo in en_US.UTF-8/Compose comment 5581 5582 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5583 5584commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 5585Author: Reuben Thomas <rrt@sc3d.org> 5586Date: Mon Jan 27 14:18:24 2014 +0000 5587 5588 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 5589 5590 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5591 5592commit d6bd988bc00494914b38b95ee5df77ac4f32f19f 5593Author: Peter Hutterer <peter.hutterer@who-t.net> 5594Date: Mon Mar 3 12:38:48 2014 +1000 5595 5596 man: fix man page for XkbGetMap 5597 5598 Returned structure must be freed with XkbFreeKeyboard(). 5599 5600 Reported-by: Morten Bøgeskov <mb@dbc.dk> 5601 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5602 5603commit a6dcf2201a05adbff54122df05a1e6325936abb6 5604Author: Ran Benita <ran234@gmail.com> 5605Date: Tue Feb 11 13:26:16 2014 +0200 5606 5607 Remove dead USE_OWN_COMPOSE-protected code 5608 5609 The build doesn't provide any way to define this option. It also refers 5610 to files (imComp.h) and functions (e.g. XimCompInitTables(), 5611 XimCompProcessSym()) which are not found anywhere, and the ordinary 5612 Compose implementation in xim doesn't use any of it. 5613 5614 Signed-off-by: Ran Benita <ran234@gmail.com> 5615 Reviewed-by: Julien Cristau <jcristau@debian.org> 5616 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5617 5618commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 5619Author: Ran Benita <ran234@gmail.com> 5620Date: Sun Feb 16 15:24:58 2014 +0200 5621 5622 nls: always use XCOMM instead of # for comments in Compose.pre files 5623 5624 Lines starting with # are considered as preprocessor directives in the 5625 .pre files. 5626 5627 Fixes warnings like: 5628 <stdin>:3:0: error: invalid preprocessing directive #Khmer 5629 5630 Signed-off-by: Ran Benita <ran234@gmail.com> 5631 Signed-off-by: James Cloos <cloos@jhcloos.com> 5632 5633commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 5634Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5635Date: Thu Feb 6 13:48:08 2014 -0800 5636 5637 Fix typos in Xrm.c comments 5638 5639 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5640 5641commit aacf95dacc7c598e7297894580d4d655593813b2 5642Author: Marko Myllynen <myllynen@redhat.com> 5643Date: Mon Jan 13 16:43:18 2014 +0200 5644 5645 Annotate Finnish Compose map with Unicode code points 5646 5647 Scripted annotation, no functional changes. 5648 5649 Signed-off-by: James Cloos <cloos@jhcloos.com> 5650 5651commit 20fdccd81b54678376d49e00edfebbbe94951f07 5652Author: Teemu Likonen <tlikonen@iki.fi> 5653Date: Fri Jul 20 19:21:04 2012 +0300 5654 5655 Fix "RING ABOVE" key in the Finnish compose file 5656 5657 The Finnish keyboard standard defines that <dead_abovering> <space> must 5658 insert the character U+02DA RING ABOVE. Currently the Finnish Compose 5659 file inserts U+00B0 DEGREE SIGN even though the line's comment says 5660 "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 5661 5662 Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 5663 Signed-off-by: James Cloos <cloos@jhcloos.com> 5664 5665commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 5666Author: Ran Benita <ran234@gmail.com> 5667Date: Wed Jan 29 02:11:47 2014 +0200 5668 5669 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 5670 5671 Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 5672 keysyms: 5673 5674 #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 5675 #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 5676 5677 (and similarly for uhorn), there is no need to have both names. Remove 5678 the unicode literal ones. 5679 5680 Signed-off-by: Ran Benita <ran234@gmail.com> 5681 Signed-off-by: James Cloos <cloos@jhcloos.com> 5682 5683commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 5684Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5685Date: Sat Jan 18 22:35:18 2014 -0800 5686 5687 Add RANDR 1.4 requests & events to XErrorDB 5688 5689 Checked against randrproto.txt & randr.h 5690 5691 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5692 5693commit 321392ded15a7ee9d177d4ebe8846336ba76741c 5694Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5695Date: Fri Jan 3 20:04:33 2014 -0800 5696 5697 Remove unused ETEST & ESZTEST macros from XlibInt.c 5698 5699 Left behind when 15e5eaf62897 removed support for building without XCB. 5700 5701 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5702 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 5703 5704commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 5705Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5706Date: Thu Dec 26 09:26:13 2013 -0800 5707 5708 _XkbReadGeomOverlay: check for NULL first, then use pointer 5709 5710 Flagged by cppcheck 1.62: 5711 [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 5712 (warning) Possible null pointer dereference: row - otherwise it is 5713 redundant to check it against null. 5714 5715 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5716 5717commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 5718Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5719Date: Thu Dec 26 09:22:49 2013 -0800 5720 5721 XkbSelectEventDetails: remove unnecessary assignments 5722 5723 clear & selectAll are set to 0 already a few lines earlier, 5724 affectWhich is set to XkbMapNotifyMask a few lines later. 5725 None are used between the other assignments and the removed ones. 5726 5727 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5728 5729commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 5730Author: Jon TURNEY <jon.turney@dronecode.org.uk> 5731Date: Thu Oct 7 18:46:08 2010 +0100 5732 5733 Don't try so hard to find a matching font with the given encoding 5734 5735 See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 5736 5737 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 5738 does XCreateFontSet() with a font name of "*", we end up asking the server 5739 to list the (non-existent) fonts 11 times for each CJK encoding, which can 5740 take a while. 5741 5742 A * wildcard can match multiple components in a XLFD name in XListFonts(), 5743 so there's no need to try adding more than one to get a match. 5744 5745 We do try once with a leading '*-' in case the fontname isn't a full 5746 well-formed XLFD name, maybe even that isn't needed? 5747 5748 (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 5749 5750 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5751 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5752 5753commit 7e163300735d4bcd3386b86eec112acdad139c59 5754Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5755Date: Mon Dec 2 21:51:27 2013 -0800 5756 5757 unifdef -UISC 5758 5759 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5760 5761commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 5762Author: Benno Schulenberg <bensberg@justemail.net> 5763Date: Thu Sep 19 13:20:05 2013 +0200 5764 5765 nls: Fix transposed locale identifier for Khmer. 5766 5767 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5768 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5769 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5770 5771commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 5772Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5773Date: Sat Nov 16 20:21:54 2013 -0800 5774 5775 Drop X_LOCALE fallback for OS'es without setlocale() 5776 5777 C89 or bust! This was documented as being needed for "only Lynx, 5778 Linux-libc5, OS/2" and has never been enabled in modular builds, 5779 since none of those platforms have had anyone step up to add support 5780 since the X11R7 conversion to autotools. 5781 5782 Mostly performed with unifdef -UX_LOCALE, followed by removal of files 5783 left without any purpose, and manual cleanup of remaining references. 5784 5785 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5786 Reviewed-by: Adam Jackson <ajax@redhat.com> 5787 5788commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 5789Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5790Date: Wed Oct 23 10:37:53 2013 -0700 5791 5792 Xcms file parsing should not require the impossible to succeed 5793 5794 The field2 helper function, to split lines from Xcms.txt files into 5795 two tab delimited fields, contained a check: 5796 5797 if ((*pBuf != '\n') || (*pBuf != '\0')) { 5798 return(XcmsFailure); 5799 5800 which would cause it to return failure unless *pBuf had a value that 5801 was simultaneously equal to both \n & \0, and no one wants to live in 5802 a world where that could ever be true. 5803 5804 This has gone unnoticed since 1991, since this only caused lines 5805 in Xcms.txt that started with whitespace to be rejected, but now 5806 gcc -Wlogicalop has brought it to our attention, and 5807 https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 5808 5809 Now that we see it, and cannot unsee it, we change it to use the 5810 same logic as the check at other points in this function, to return 5811 failure only if we hit \n or \0 before we find the first non-whitespace 5812 character, so that lines starting with whitespace will have the space 5813 skipped over to get to the color name to be defined. 5814 5815 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5816 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 5817 5818commit 18a5278b008e9faa59b346fcab18a8d74b875fda 5819Author: Gaetan Nadon <memsize@videotron.ca> 5820Date: Sat Sep 28 17:33:52 2013 -0400 5821 5822 makekeys: don't need to use target-specific CFLAGS 5823 5824 It's the only thing built in that directory, so we can use AM_CFLAGS 5825 and AM_CPPFLAGS as usual. 5826 5827 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5828 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5829 5830commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 5831Author: James Cloos <cloos@jhcloos.com> 5832Date: Tue Sep 17 12:50:42 2013 -0400 5833 5834 nls/en_US.UTF-8/Compose.pre: Fix typo. 5835 5836 Fix typo added in 215ce6a67863, s/actute/acute/. 5837 5838 Fixes bug #69476. Reported by Jean Krohn. 5839 5840 Signed-off-by: James Cloos <cloos@jhcloos.com> 5841 5842commit cb107760df33ffc8630677e66e2e50aa37950a5c 5843Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5844Date: Sun Sep 8 18:37:01 2013 -0700 5845 5846 libX11 1.6.2 5847 5848commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 5849Author: Benno Schulenberg <bensberg@justemail.net> 5850Date: Sun Sep 1 12:38:30 2013 +0200 5851 5852 nls: Adding more accessible compose sequences for J́ and j́. 5853 5854 Few keyboards have an <acute> key, so this adds the much more 5855 accessible and usual compose sequences with <apostrophe>, ánd 5856 the most comfortable ones with <dead_acute>. 5857 5858 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 5859 Signed-off-by: James Cloos <cloos@jhcloos.com> 5860 5861commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 5862Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5863Date: Sat Aug 24 17:27:43 2013 -0700 5864 5865 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 5866 5867 Pass *new* size to realloc, not old size. 5868 5869 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5870 5871commit c2b8e30790c21d6386767265263b3294ce1b1f9a 5872Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5873Date: Fri Aug 16 21:04:02 2013 -0700 5874 5875 Stop checking for HAVE_DIX_CONFIG_H on the client side 5876 5877 Leftover from when these XKB files were shared with the server sources 5878 and could be compiled in either the client or server, with the different 5879 autoconf config files in each. 5880 5881 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5882 5883commit 84276609b2f0aec74fb464c428c7db5714b0fcfc 5884Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5885Date: Fri Aug 16 18:27:28 2013 -0700 5886 5887 Rearrange some variable declarations & initializations in XKB 5888 5889 Little things noticed during XKB restyling that seemed to make the 5890 code easier to read. 5891 5892 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5893 5894commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 5895Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5896Date: Sun Aug 11 13:29:33 2013 -0700 5897 5898 Reindent XKB code to X.Org standard style 5899 5900 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5901 5902commit c0a0f78eb49c2e4ad956209de77475c85b9314ea 5903Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5904Date: Fri Aug 16 18:14:14 2013 -0700 5905 5906 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 5907 5908 We were checking to make sure that the largest keysym value was within 5909 the range of the allocated buffer, but checking against different limits 5910 in the not-yet-allocated vs. the already-allocated branches. 5911 5912 The check should be the same in both, and reflect the size used for the 5913 allocation, which is based on the maximum key code value, so we move it 5914 to be a common check, before we branch, instead of duplicating in each 5915 branch. 5916 5917 map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 5918 map->syms is the array for which num_syms is recorded, hence is not the 5919 right value to check for ensuring our key_sym_map accesses are in range. 5920 5921 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5922 Reported-by: Barry Kauler <bkauler@gmail.com> 5923 Tested-by: Barry Kauler <bkauler@gmail.com> 5924 5925commit bea6cbd027973142fc64532274e1d16861b47190 5926Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5927Date: Sun Aug 11 17:02:21 2013 -0700 5928 5929 Remove long unused src/udcInf.c 5930 5931 I can find no record of what this file was for. Neither the X11R6.8.2 5932 monolith Imakefile nor any modular release Makefile.am have ever built 5933 it and nothing else references it. 5934 5935 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5936 5937commit bf3501e0395abe890acfea98fdd9f50a6966f118 5938Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5939Date: Sun Aug 11 00:07:33 2013 -0700 5940 5941 Remove unnecessary casts of pointers to (char *) in calls to Xfree() 5942 5943 Left one cast behind that is necessary to change from const char * 5944 to char * in src/xlibi18n/lcCharSet.c. 5945 5946 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5947 5948commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 5949Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5950Date: Sat Aug 10 23:57:55 2013 -0700 5951 5952 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 5953 5954 sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 5955 don't strip down to unsigned int and re-expand unnecessarily. 5956 5957 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5958 5959commit 25a7a329def672fc8d26078538173777850c6390 5960Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5961Date: Sat Aug 10 23:51:08 2013 -0700 5962 5963 Remove even more casts of return values from Xmalloc/Xrealloc 5964 5965 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5966 5967commit f8fa16092a148b74ca35b4beb182053352606f2f 5968Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5969Date: Sat Aug 10 23:05:13 2013 -0700 5970 5971 xlibi18n: fix argsize argument to _XlcParsePath 5972 5973 The array is defined as having NUM_LOCALEDIR entries, so use that 5974 instead of hardcoded 256 value (the other two calls already did this). 5975 5976 Reported by parfait: 5977 Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 5978 Pointer size is 64 elements (of 8 bytes each), index is 255 5979 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 5980 called at line 178 in function '_XlcParsePath' with argv = argv. 5981 called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 5982 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 5983 called at line 178 in function '_XlcParsePath' with argv = argv. 5984 called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 5985 5986 [ This bug was found by the Parfait 1.2.0 bug checking tool. 5987 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 5988 5989 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5990 5991commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 5992Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5993Date: Sat Aug 10 22:32:42 2013 -0700 5994 5995 i18n modules: Fix some const cast warnings 5996 5997 imRm.c: In function '_XimSetICMode': 5998 imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5999 imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6000 6001 lcGenConv.c: In function 'byteM_parse_codeset': 6002 lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6003 6004 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6005 6006commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 6007Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6008Date: Sat Aug 10 22:21:54 2013 -0700 6009 6010 xlibi18n: Fix a bunch of const cast warnings 6011 6012 Add const qualifiers to casts where needed, remove other casts that 6013 are no longer needed. 6014 6015 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6016 6017commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 6018Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6019Date: Sat Aug 10 22:18:00 2013 -0700 6020 6021 Fix const handling in XSetLocaleModifiers 6022 6023 Instead of reusing the input parameter to store the output, make a 6024 result variable instead, so that there's less const confusion. 6025 6026 Fixes gcc warnings: 6027 lcWrap.c: In function 'XSetLocaleModifiers': 6028 lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6029 lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6030 lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 6031 6032 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6033 6034commit 8ebbffa98563960910152e4f2e31cb032375d871 6035Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6036Date: Sat Aug 10 21:46:37 2013 -0700 6037 6038 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 6039 6040 Makes code considerably less crufty and clears gcc warnings: 6041 XlcDL.c: In function '_XlcDynamicLoad': 6042 XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 6043 from pointer target type [-Wcast-qual] 6044 XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 6045 from pointer target type [-Wcast-qual] 6046 6047 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6048 6049commit 07e4e864107b38c2f393564fdacc90f4e858f23f 6050Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6051Date: Sat Aug 10 13:37:53 2013 -0700 6052 6053 init_om: remove unneeded extra copy of string to local buffer 6054 6055 Strings from the supported_charset_list[] were being copied one by 6056 one to a stack buffer, and then strdup called on that buffer. 6057 6058 Instead, just strdup the original string, without the local copy, 6059 and use a more traditional for loop, so it's easier to figure out 6060 what the code is doing (cleaning up a gcc const-cast warning in 6061 the process). 6062 6063 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6064 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6065 6066commit 1cec14dad904ba21a861f4af131be5982ecb83dd 6067Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6068Date: Sat Aug 10 12:34:53 2013 -0700 6069 6070 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 6071 6072 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6073 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6074 6075commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 6076Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6077Date: Sat Aug 10 12:19:17 2013 -0700 6078 6079 miRegionOp(): ensure region size is not updated if realloc fails 6080 6081 This function performs operations on a region, and when finished, 6082 checks to see if it should compact the rectangle list. If the 6083 number of rectangles for which memory is allocated in the list is 6084 more than twice the number used, it tries to shrink. realloc() 6085 should not fail in this case, but if it does, might as well keep 6086 the correct value for the number of allocated rectangles, so we 6087 don't try to grow it unnecessarily later if adding to the region. 6088 6089 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6090 6091commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 6092Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6093Date: Sat Aug 10 12:19:17 2013 -0700 6094 6095 miRegionCopy(): handle realloc failure better 6096 6097 Zero out the region size when freeing the region so callers don't think 6098 there's anything there. (Pointer is already set to NULL from the realloc 6099 result itself.) Return 0 to the callers, and have them cascade that back 6100 to their callers to indicate failure, instead of their usual return value 6101 of 1 on success. 6102 6103 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6104 6105commit 5dc8b5385d513bbda88697c2372db750d23f46d4 6106Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6107Date: Sat Aug 10 11:27:22 2013 -0700 6108 6109 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 6110 6111 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6112 6113commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 6114Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6115Date: Sat Aug 10 12:07:51 2013 -0700 6116 6117 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 6118 6119 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6120 6121commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 6122Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6123Date: Sat Aug 10 12:30:39 2013 -0700 6124 6125 lcDB.c: ensure buffer size is updated correctly if realloc fails 6126 6127 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6128 6129commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 6130Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6131Date: Sat Aug 10 11:07:47 2013 -0700 6132 6133 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 6134 6135 Previously, if realloc failed to increase the size, we'd still 6136 record that we had allocated the larger size, but the pointer 6137 to it would be NULL, causing future calls to be broken, and the 6138 previous allocation to be lost/leaked. 6139 6140 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6141 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6142 6143commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 6144Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6145Date: Fri Aug 9 23:33:03 2013 -0700 6146 6147 omGeneric.c: convert sprintf calls to snprintf 6148 6149 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6150 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6151 6152commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 6153Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6154Date: Fri Aug 9 23:30:30 2013 -0700 6155 6156 ximcp/imRm.c: convert sprintf calls to snprintf 6157 6158 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6159 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6160 6161commit 4fadae243fb485628c9a137f5da3489ed6214b21 6162Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6163Date: Fri Aug 9 23:02:12 2013 -0700 6164 6165 xlibi18n: convert sprintf calls to snprintf 6166 6167 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6168 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6169 6170commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 6171Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6172Date: Fri Aug 9 23:02:12 2013 -0700 6173 6174 lcfile: skip over any null entries in args list 6175 6176 Previous code seemed to assume that printf("%s", NULL) would result 6177 in a 0-length string, not "(null)" or similar, but since there's no 6178 point looking for files in "(null)/filepath...", instead we just 6179 skip over NULL entries in search paths when generating file names. 6180 6181 In the *DirName() functions, this effectively just moves the "bail on 6182 NULL in arg[i]" check up from the later code that assigned it to targetdir 6183 and then bailed if that was NULL. 6184 6185 Not sure how there ever could be a NULL in arg[i], given the current 6186 implementation of XlcParsePath, but it's easy enough to check once and 6187 reject up front instead of on every reference. 6188 6189 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6190 6191commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 6192Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6193Date: Fri Aug 9 22:00:09 2013 -0700 6194 6195 Fix file leak on malloc error in XlcDL.c:resolve_object() 6196 6197 File Leak: Leaked File fp 6198 at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 6199 fp initialized at line 198 with fopen 6200 6201 [ This bug was found by the Parfait 1.2.0 bug checking tool. 6202 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 6203 6204 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6205 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6206 6207commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 6208Author: Julien Cristau <jcristau@debian.org> 6209Date: Sat Jun 15 18:02:21 2013 +0200 6210 6211 Add missing locales to configure.ac 6212 6213 Commits 40761898692e5063957bfa2518cca3d35b2e354a and 6214 f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 6215 (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 6216 meaning they're not included in tarballs. 6217 6218 Signed-off-by: Julien Cristau <jcristau@debian.org> 6219 Reviewed-by: James Cloos <cloos@jhcloos.com> 6220 6221commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 6222Author: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 6223Date: Tue Dec 18 15:28:05 2012 +0000 6224 6225 Fix bogus timestamp generated by XIM 6226 6227 Fix bogus timestamp generted by XIM due to uninitialized 6228 data field. Also set appropriate serial, too. 6229 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 6230 6231 Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 6232 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6233 6234commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 6235Author: Egbert Eich <eich@freedesktop.org> 6236Date: Thu Jun 16 18:47:49 2011 +0200 6237 6238 XIM: Fix sync problem on focus change. 6239 6240 XSetICFocus() and XUnsetICFocus() are both asynchronous events. 6241 This is a pretty stupid idea: those functions may undo certain 6242 settings on the client side for which requests from the server 6243 may still be in the queue unprocessed. Thus things may be set 6244 in the wrong order ie instead of set -> unest it will be unset -> set. 6245 Moreover there is no way for either the client or the server to 6246 cause the event queue to be flushed - which is pretty bad as 6247 XIM is bidirectional. 6248 The scenario is as follows: 6249 Two ICs are created: 6250 ic1 = XCreateIC(im, 6251 XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 6252 XNClientWindow, window, 6253 XNPreeditAttributes, preedit_attr, 6254 XNStatusAttributes, status_attr, 6255 NULL); 6256 ic2 = XCreateIC(im, XNInputStyle, 6257 XIMPreeditNothing | XIMStatusNothing, 6258 XNClientWindow, window, NULL); 6259 Then the focus is removed from ic2: 6260 XUnsetICFocus(ic2); 6261 If SCIM is used as the input server it will send a bunch of requests 6262 following an XCreateIC(). One of the requests registers a key release 6263 filter. XUnsetICFocus() unsets both key press and release filters. 6264 Since it is asynchronous, the input server requests to register key 6265 press and release filters may not have been processed, when XUnsetICFocus() 6266 is called. Since there is no explicite way for client programs to enforce 6267 the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 6268 call it would be safest to make those two calls synchronous in the sense 6269 that they ensure the request queue has been handled before they execute. 6270 The easiest way to do this from Xlib is thru a call to XGetICValues() 6271 which sends a request to the server and subsequently reads the queue 6272 from the server to the client. This will cause all outstanding requests 6273 in the queue to be read and handled. 6274 This is an ugly hack and this could be fixed directly in the client, 6275 however it seems to be easier to fix Xlib than to fix numerous clients. 6276 This problem arose since there is no well documented way how to handle 6277 and synchronize XIM requests and not all input servers send requests 6278 when an IC is created. 6279 This has been discussed extensively in: 6280 https://bugzilla.novell.com/show_bug.cgi?id=221326 6281 6282 Signed-off-by: Egbert Eich <eich@freedesktop.org> 6283 6284commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 6285Author: Egbert Eich <eich@freedesktop.org> 6286Date: Thu Jun 16 17:28:39 2011 +0200 6287 6288 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 6289 6290 When synthesized key events are sent on commit XIM sets the 'fabricated' 6291 flag so that the keypress handler knows that these were not real events. 6292 This also happens when committing due to the loss of focus. However in this 6293 case the keypress/release filters which consume and unset this flag are no 6294 longer in the filter chain. 6295 So the flag is erronously set when a real keyboard event is received after 6296 focus has been regained. So the first event is wrongly treated as a 6297 fabricated key in the keypress handler which will at the same time reset 6298 the flag so the second key event is treated correctly. 6299 This fix only sets the flag when at least one of the keyboard filters is in 6300 place. 6301 How to reproduce this bug: run scim, choose a Japanese input method start 6302 two instances of xterm: start typing in one xterm (this should pop up an 6303 IM window). Without comitting (hitting 'enter') move focus to the other 6304 xterm, then move focus back. Start typing again. The first character will 6305 be committed immediately without popping up an input window. 6306 With this fix this behavior is gone. 6307 6308 See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 6309 6310 Signed-off-by: Egbert Eich <eich@freedesktop.org> 6311 6312commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 6313Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6314Date: Mon Jul 29 21:29:49 2013 -0700 6315 6316 libX11 1.6.1 6317 6318 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6319 6320commit d19cfaca15826943d3c637ef7fa5db0a23d5feed 6321Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6322Date: Sat Jul 27 12:19:00 2013 -0700 6323 6324 Fix undefined XCMSDIR error when building lint library 6325 6326 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6327 6328commit 3083cd43d7dcd59da587975e7cadda681cd8a103 6329Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6330Date: Sat Jul 27 00:36:08 2013 -0700 6331 6332 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 6333 6334 Upstreaming from changes originally integrated into OpenSolaris 6335 under Sun bug id 6882572. 6336 6337 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6338 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 6339 6340commit 208e586c808e88a2ee819e4450dc27f557afc2bf 6341Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6342Date: Sat Jul 27 01:03:18 2013 -0700 6343 6344 omGeneric: remove space between struct name & member name 6345 6346 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6347 6348commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 6349Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6350Date: Tue Jul 23 22:18:46 2013 -0700 6351 6352 Refactor common code from XAddHost & XRemoveHost into single function 6353 6354 On the Xlib side, the only real difference is the mode flag we send 6355 to the server with the address, so just make that an argument to the 6356 function with the common code for packing the address into the request. 6357 6358 (Aside from labels, gcc 4.7.2 generates identical code before & after 6359 this change due to inlining, verified via diff of gcc -S output.) 6360 6361 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6362 6363commit 3292195a64a9ce4f0d27134cd544651ec647e728 6364Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6365Date: Tue Jul 23 22:11:34 2013 -0700 6366 6367 XSetModifierMapping: Use Data instead of GetReqExtra 6368 6369 Handle arbitrary length data in the same fashion as other calls, 6370 avoiding need to ensure it fits all in the request buffer. 6371 6372 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6373 6374commit feb131b18aee31c2c125dc3275b0260940245882 6375Author: Kees Cook <kees@outflux.net> 6376Date: Sun Jun 9 11:13:43 2013 -0700 6377 6378 libX11: check "req" when calling GetReqExtra 6379 6380 This fixes the two callers of GetReqExtra to check that "req" is non-NULL 6381 to avoid crashing now that GetReqExtra does internal bounds-checking on 6382 the resulting buffer sizes. 6383 6384 Additionally updates comment describing return values to use names 6385 instead of only literal values. 6386 6387 Signed-off-by: Kees Cook <kees@outflux.net> 6388 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6389 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6390 6391commit 54540d7cba0c2bfe9176221c7bca910058d304df 6392Author: Kees Cook <kees@outflux.net> 6393Date: Sun Jun 9 11:13:42 2013 -0700 6394 6395 libX11: check size of GetReqExtra after XFlush 6396 6397 Two users of GetReqExtra pass arbitrarily sized allocations from the 6398 caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 6399 macro) to double-check the requested length and invalidate "req" when 6400 this happens. Users of GetReqExtra passing lengths greater than the Xlib 6401 buffer size (normally 16K) must check "req" and fail gracefully instead 6402 of crashing. 6403 6404 Any callers of GetReqExtra that do not check "req" for NULL 6405 will experience this change, in the pathological case, as a NULL 6406 dereference instead of a buffer overflow. This is an improvement, but 6407 the documentation for GetReqExtra has been updated to reflect the need 6408 to check the value of "req" after the call. 6409 6410 Bug that manifested the problem: 6411 https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 6412 6413 Signed-off-by: Kees Cook <kees@outflux.net> 6414 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6415 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6416 6417commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 6418Author: Thomas Klausner <wiz@NetBSD.org> 6419Date: Tue Jun 25 22:35:29 2013 +0200 6420 6421 Tighten out-of-range comparisons. 6422 6423 [For all of these, LONG_MAX was the correct value to prevent overflows 6424 for the recent CVEs. Lowering to INT_MAX catches buggy replies from 6425 the server that 32-bit clients would reject but 64-bit would accept, 6426 so we catch bugs sooner, and really, no sane & working server should 6427 ever report more than 2gb of extension names, font path entries, 6428 key modifier maps, etc. -alan- ] 6429 6430 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6431 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6432 6433commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 6434Author: Thomas Klausner <wiz@NetBSD.org> 6435Date: Tue Jun 25 18:34:32 2013 +0200 6436 6437 Fix out-of-range comparison in _XF86BigfontQueryFont 6438 6439 clang complained (correctly): 6440 warning: comparison of constant 768614336404564650 with expression 6441 of type 'CARD32' (aka 'unsigned int') is always true 6442 [-Wtautological-constant-out-of-range-compare] 6443 6444 [While LONG_MAX is correct, since it's used in size_t math, the 6445 numbers have to be limited to 32-bit range to be usable by 32-bit 6446 clients, and values beyond that range are far more likely to be 6447 bugs in the data from the server than valid numbers of characters 6448 in a font. -alan- ] 6449 6450 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6451 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6452 6453commit 383e2b0d029482a0f4c39fe00e15397538576fc1 6454Author: Thomas Klausner <wiz@NetBSD.org> 6455Date: Tue Jun 25 18:33:56 2013 +0200 6456 6457 Check for symbol existence with #ifdef, not #if 6458 6459 Reviewed-by: Jamey Sharp <jamey@minilop.net> 6460 6461 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6462 6463commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 6464Author: Thomas Klausner <wiz@NetBSD.org> 6465Date: Tue Jun 25 18:33:07 2013 +0200 6466 6467 Use newer callback-based API for XIM. 6468 6469 Let libX11 load and make available the newer (X11R6) callback-based 6470 API for XIM (expected by emacs). 6471 6472 This patch updates the files to match the other nls/ files. 6473 6474 Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 6475 following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 6476 6477 Reviewed-by: James Cloos <cloos@jhcloos.com> 6478 6479 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6480 6481commit a17ceb7100bd36c2db210473ee701deb5d515731 6482Author: Thomas Klausner <wiz@NetBSD.org> 6483Date: Tue Jun 25 18:31:32 2013 +0200 6484 6485 Stop truncating source to destination length if it is larger. 6486 6487 It seems useless to do that since the code tests for both source 6488 length and destination to be non-zero. This fixes a cut'n'paste 6489 problem in xterm where the paste length was limited to 1024 (BUFSIZ) 6490 in button.c. 6491 6492 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6493 6494commit a336db9a0add3ae0783dda6e52459236622a12af 6495Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6496Date: Mon Jun 24 23:02:05 2013 -0700 6497 6498 Require ANSI C89 pre-processor, drop pre-C89 token pasting support 6499 6500 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6501 6502commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 6503Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6504Date: Fri Jun 7 11:30:11 2013 -0700 6505 6506 troff macro expansion in specs/libX11 6507 6508 Many of the custom nroff macros (.ds <macro> <contents>) were left 6509 unsubstituted in the nroff->docbook conversion. This substitution 6510 is now performed, via the following perl script: 6511 6512 #! /usr/bin/perl -w -i 6513 6514 use Text::Wrap; 6515 6516 while ($_ = <>) { 6517 while ($_ =~ m/\((\w+)\b/g) { 6518 my $m = $1; 6519 if (exists $macro{$m}) { 6520 $_ =~ s/\($m/$macro{$m}/; 6521 $_ = wrap('', '', $_); 6522 $_ =~ s/[ \t]+$//; 6523 } 6524 } 6525 6526 if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 6527 my ($m, $s) = ($1, $2); 6528 $macro{$m} = $s; 6529 while ($macro{$m} =~ /\\\s*$/) { 6530 $macro{$m} =~ s/\\\s*$//ms; 6531 $macro{$m} .= <>; 6532 chomp($macro{$m}); 6533 } 6534 $macro{$m} =~ s/\\ / /g; 6535 } else { 6536 print $_; 6537 } 6538 } 6539 6540 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6541 6542commit 20c17bd9ebf767a24643279e45866dddcb57b5ce 6543Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6544Date: Fri Jun 7 09:27:26 2013 -0700 6545 6546 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 6547 6548 The XListPixmapFormats arguments was being shown with XImageByteOrder's 6549 name and return types. Appears to have been a glitch in the nroff -> 6550 docbook conversion. 6551 6552 Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 6553 Reviewed-by: Jamey Sharp <jamey@minilop.net> 6554 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6555 6556commit ed3d830243c8a0eefaf24e15b11823272ffe5049 6557Author: Thomas Klausner <wiz@NetBSD.org> 6558Date: Sun Jun 2 20:49:55 2013 +0200 6559 6560 Deal with the limited range of VAX floating point numbers when compiling for VAX. 6561 6562 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6563 6564commit 0a48235d63639fb917c44d27c86e928e79fbac66 6565Author: Eric S. Raymond <esr@thyrsus.com> 6566Date: Thu Jun 6 16:43:56 2013 -0400 6567 6568 Remove call to undefined macro. 6569 6570commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 6571Author: Eric S. Raymond <esr@thyrsus.com> 6572Date: Thu Jun 6 16:42:20 2013 -0400 6573 6574 Remove call to undefined macro. 6575 6576commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 6577Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6578Date: Mon Jun 3 20:06:43 2013 -0700 6579 6580 Update README to reflect where to find the Xlib specs now 6581 6582 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6583 6584commit 655d631e86c95b14888758b27ed2836ca3e3ce86 6585Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6586Date: Mon Jun 3 19:21:06 2013 -0700 6587 6588 libX11 1.6.0 6589 6590 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6591 6592commit 4a89b7ea908554628f374537a79931c8006a2de3 6593Author: Thomas Klausner <wiz@NetBSD.org> 6594Date: Sun Jun 2 11:49:54 2013 -0700 6595 6596 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 6597 6598 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6599 6600commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 6601Author: Thomas Klausner <wiz@NetBSD.org> 6602Date: Sun Jun 2 20:49:48 2013 +0200 6603 6604 XCreateGC man page: Avoid .TS H and .TH macros 6605 6606 Avoid .TS H and .TH for now as it doesn't alter the output in this case, 6607 and improve the output with mandoc(1). 6608 6609 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6610 6611commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 6612Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6613Date: Thu May 23 19:43:35 2013 -0700 6614 6615 libX11 1.5.99.902 (1.6 RC2) 6616 6617 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6618 6619commit a3bdd2b090915fe0163b062f0e6576fe05dd332e 6620Author: Julien Cristau <jcristau@debian.org> 6621Date: Thu May 23 20:39:46 2013 +0200 6622 6623 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 6624 6625 The size of the arrays is max_key_code + 1. This makes these functions 6626 consistent with the other checks added for CVE-2013-1997. 6627 6628 Also check the XkbGetNames reply when names->keys was just allocated. 6629 6630 Signed-off-by: Julien Cristau <jcristau@debian.org> 6631 Tested-by: Colin Walters <walters@verbum.org> 6632 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6633 6634commit 7e30056e78e4b7979ff47f102e00327617266019 6635Author: Niveditha Rau <Niveditha.Rau@Oracle.COM> 6636Date: Fri May 17 15:26:21 2013 -0700 6637 6638 Make sure internal headers include required headers 6639 6640 Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 6641 longer ignores *.h files, but complains when they reference undefined 6642 typedefs or macros. 6643 6644 Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 6645 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6646 6647commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 6648Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6649Date: Thu May 16 23:05:36 2013 -0700 6650 6651 Free fs->properties in _XF86BigfontQueryFont overflow error path 6652 6653 Fixes small memory leak introduced in commit 5669a22081 6654 6655 Reported-by: Julien Cristau <jcristau@debian.org> 6656 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6657 6658commit 3131740513133a9ff7cb12123d29ceb18584fc38 6659Author: Matthieu Herrb <matthieu.herrb@laas.fr> 6660Date: Wed May 8 19:33:09 2013 +0200 6661 6662 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 6663 6664 Freeing a pointer that wasn't returned by malloc() is undefined 6665 behavior and produces an error with OpenBSD's implementation. 6666 6667 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6668 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6669 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6670 6671commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 6672Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6673Date: Fri Apr 19 14:30:40 2013 -0700 6674 6675 Give GNU & Solaris Studio compilers hints about XEatData branches 6676 6677 Try to offset the cost of all the recent checks we've added by giving 6678 the compiler a hint that the branches that involve us eating data 6679 are less likely to be used than the ones that process it. 6680 6681 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6682 6683commit e1b457beb8d4e831ef44279dada6c475cb955738 6684Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6685Date: Sun Mar 31 12:22:35 2013 -0700 6686 6687 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 6688 6689 Various other bounds checks in the code assume this is true, so 6690 enforce it when we first get the data from the X server. 6691 6692 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6693 6694commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 6695Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6696Date: Sat Mar 16 10:03:13 2013 -0700 6697 6698 Use calloc in XOpenDisplay to initialize structs containing pointers 6699 6700 Prevents trying to free uninitialized pointers if we have to bail out 6701 partway through setup, such as if we receive a corrupted or incomplete 6702 connection setup block from the server. 6703 6704 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6705 6706commit d38527e25f8b6e2f1174ecc21260c5c5416f972e 6707Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6708Date: Thu Mar 7 23:46:05 2013 -0800 6709 6710 Remove more unnecessary casts from Xmalloc/calloc calls 6711 6712 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6713 6714commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 6715Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6716Date: Sat Mar 2 16:56:16 2013 -0800 6717 6718 Convert more _XEatData callers to _XEatDataWords 6719 6720 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6721 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6722 6723commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 6724Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6725Date: Sat Mar 9 11:04:37 2013 -0800 6726 6727 Make XGetWindowProperty() always initialize returned values 6728 6729 Avoids memory corruption and other errors when callers access them 6730 without checking to see if XGetWindowProperty() returned an error value. 6731 6732 Callers are still required to check for errors, this just reduces the 6733 damage when they don't. 6734 6735 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6736 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6737 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6738 6739commit db1b1c871da29aa0545182bf888df81627f165a5 6740Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6741Date: Sat Mar 2 15:08:21 2013 -0800 6742 6743 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 6744 6745 Ensure that when breaking the returned list into individual strings, 6746 we don't walk past the end of allocated memory to write the '\0' bytes 6747 6748 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6749 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6750 6751commit 8d5936594993921acdfec778dd8f41b555e2543a 6752Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6753Date: Sat Mar 2 15:08:21 2013 -0800 6754 6755 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 6756 6757 Ensure that when breaking the returned list into individual strings, 6758 we don't walk past the end of allocated memory to write the '\0' bytes 6759 6760 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6761 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6762 6763commit 0c404db6a92dc2c198328bf586c02d8abbe02013 6764Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6765Date: Sat Mar 2 15:08:21 2013 -0800 6766 6767 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 6768 6769 Ensure that when breaking the returned list into individual strings, 6770 we don't walk past the end of allocated memory to write the '\0' bytes 6771 6772 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6773 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6774 6775commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 6776Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6777Date: Sat Mar 2 15:08:21 2013 -0800 6778 6779 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 6780 6781 Ensure that we don't underallocate when the server claims a very large reply 6782 6783 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6784 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6785 6786commit a351b8103b2ba78882e1c309e85893ca3abe2073 6787Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6788Date: Sat Mar 2 15:08:21 2013 -0800 6789 6790 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 6791 6792 Ensure that we don't underallocate when the server claims a very large reply 6793 6794 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6795 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6796 6797commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 6798Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6799Date: Sat Mar 2 15:08:21 2013 -0800 6800 6801 integer overflow in XGetImage() [CVE-2013-1981 11/13] 6802 6803 Ensure that we don't underallocate when the server claims to have sent a 6804 very large reply. 6805 6806 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6807 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6808 6809commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 6810Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6811Date: Fri Mar 8 22:25:35 2013 -0800 6812 6813 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 6814 6815 If the reported number of properties is too large, the calculations 6816 to allocate memory for them may overflow, leaving us returning less 6817 memory to the caller than implied by the value written to *nitems. 6818 6819 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6820 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6821 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6822 6823commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 6824Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6825Date: Sat Mar 2 13:18:48 2013 -0800 6826 6827 integer overflows in TransFileName() [CVE-2013-1981 9/13] 6828 6829 When trying to process file paths the tokens %H, %L, & %S are expanded 6830 to $HOME, the standard compose file path & the xlocaledir path. 6831 If enough of these tokens are repeated and values like $HOME are set to 6832 very large values, the calculation of the total string size required to 6833 hold the expanded path can overflow, resulting in allocating a smaller 6834 string than the amount of data we'll write to it. 6835 6836 Simply restrict all of these values, and the total path size to PATH_MAX, 6837 because really, that's all you should need for a filename path. 6838 6839 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6840 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6841 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6842 6843commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 6844Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6845Date: Fri Mar 1 18:37:37 2013 -0800 6846 6847 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 6848 6849 Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 6850 to specify filename. 6851 6852 If the size of off_t is larger than the size of unsigned long (as in 6853 32-bit builds with large file flags), a file larger than 4 gigs could 6854 have its size truncated, leading to data from that file being written 6855 past the end of the undersized buffer allocated for it. 6856 6857 While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 6858 builders may have added the large file compilation flags to CFLAGS on 6859 their own. 6860 6861 size is left limited to an int, because if your Xim file is 6862 larger than 2gb, you're doing it wrong. 6863 6864 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6865 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6866 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6867 6868commit 226622349a4b1e16064649d4444a34fb4be4f464 6869Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6870Date: Sat Mar 2 12:39:58 2013 -0800 6871 6872 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 6873 6874 parseline() can call _XimParseStringFile() which can call parseline() 6875 which can call _XimParseStringFile() which can call parseline() .... 6876 eventually causing recursive stack overflow and crash. 6877 6878 Limit is set to a include depth of 100 files, which should be enough 6879 for all known use cases, but could be adjusted later if necessary. 6880 6881 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6882 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6883 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6884 6885commit 236b603d235dc264d1c6250dca09c745458a9088 6886Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6887Date: Sat Mar 2 12:01:39 2013 -0800 6888 6889 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 6890 6891 GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 6892 which can call GetDatabase() which can call GetIncludeFile() .... 6893 eventually causing recursive stack overflow and crash. 6894 6895 Easily reproduced with a resource file that #includes itself. 6896 6897 Limit is set to a include depth of 100 files, which should be enough 6898 for all known use cases, but could be adjusted later if necessary. 6899 6900 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6901 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6902 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6903 6904commit 076428918e6c35f66b9b55c3fa097ff06496d155 6905Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6906Date: Fri Mar 1 18:37:37 2013 -0800 6907 6908 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 6909 6910 Called from XrmGetFileDatabase() which gets called from InitDefaults() 6911 which gets the filename from getenv ("XENVIRONMENT") 6912 6913 If file is exactly 0xffffffff bytes long (or longer and truncates to 6914 0xffffffff, on implementations where off_t is larger than an int), 6915 then size may be set to a value which overflows causing less memory 6916 to be allocated than is written to by the following read() call. 6917 6918 size is left limited to an int, because if your Xresources file is 6919 larger than 2gb, you're very definitely doing it wrong. 6920 6921 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6922 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6923 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6924 6925commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 6926Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6927Date: Sat Mar 2 11:44:19 2013 -0800 6928 6929 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 6930 6931 LoadColornameDB() calls stringSectionSize() to do a first pass over the 6932 file (which may be provided by the user via XCMSDB environment variable) 6933 to determine how much memory needs to be allocated to read in the file, 6934 then allocates the returned sizes and calls ReadColornameDB() to load the 6935 data from the file into that newly allocated memory. 6936 6937 If stringSectionSize() overflows the signed ints used to calculate the 6938 file size (say if you have an xcmsdb with ~4 billion lines in or a 6939 combined string length of ~4 gig - which while it may have been 6940 inconceivable when Xlib was written, is quite possible today), then 6941 LoadColornameDB() may allocate a memory buffer much smaller than the 6942 amount of data ReadColornameDB() will write to it. 6943 6944 The total size is left limited to an int, because if your xcmsdb file 6945 is larger than 2gb, you're doing it wrong. 6946 6947 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6948 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6949 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6950 6951commit b9ba832401734e1cbd30a930c0d11d850293f3f9 6952Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6953Date: Sat Mar 2 11:25:25 2013 -0800 6954 6955 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 6956 6957 Check the provided buffer size against the amount of data we're going to 6958 write into it, not against the reported length from the ClientMessage. 6959 6960 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6961 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6962 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6963 6964commit de2e6c322c4aca22856b380f67f8e488e7510015 6965Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6966Date: Sat Mar 2 11:11:08 2013 -0800 6967 6968 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 6969 6970 If the X server returns key name indexes outside the range of the number 6971 of keys it told us to allocate, out of bounds memory writes could occur. 6972 6973 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6974 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6975 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6976 6977commit 2df882eeb3a70256170127a746a9ba26376599a1 6978Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6979Date: Sat Mar 2 11:01:04 2013 -0800 6980 6981 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 6982 6983 If the X server returns modifier map indexes outside the range of the number 6984 of keys it told us to allocate, out of bounds memory writes could occur. 6985 6986 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 6987 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6988 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6989 6990commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 6991Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6992Date: Sat Mar 2 11:04:44 2013 -0800 6993 6994 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 6995 6996 If the X server returns key indexes outside the range of the number of 6997 keys it told us to allocate, out of bounds memory writes could occur. 6998 6999 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7000 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7001 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7002 7003commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 7004Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7005Date: Sat Mar 2 10:51:51 2013 -0800 7006 7007 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 7008 7009 If the X server returns modifier map indexes outside the range of the number 7010 of keys it told us to allocate, out of bounds memory writes could occur. 7011 7012 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7013 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7014 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7015 7016commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 7017Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7018Date: Sat Mar 2 10:39:21 2013 -0800 7019 7020 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 7021 7022 If the X server returns key behavior indexes outside the range of the number 7023 of keys it told us to allocate, out of bounds memory writes could occur. 7024 7025 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7026 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7027 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7028 7029commit 00626c3830b869259098985afa38933d77ccec72 7030Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7031Date: Sat Mar 2 09:40:22 2013 -0800 7032 7033 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 7034 7035 If the X server returns key action indexes outside the range of the number 7036 of keys it told us to allocate, out of bounds memory access could occur. 7037 7038 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7039 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7040 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7041 7042commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 7043Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7044Date: Sat Mar 2 09:28:33 2013 -0800 7045 7046 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 7047 7048 If the X server returns keymap indexes outside the range of the number of 7049 keys it told us to allocate, out of bounds memory access could occur. 7050 7051 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7052 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7053 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7054 7055commit 59ae16a00d18588e98af57d26e442af8ea42b7aa 7056Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7057Date: Sat Mar 2 09:18:26 2013 -0800 7058 7059 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 7060 7061 If the X server returns color indexes outside the range of the number of 7062 colors it told us to allocate, out of bounds memory access could occur. 7063 7064 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7065 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7066 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7067 7068commit bff938b9fe1629cbacb726509edfa2a3840b7207 7069Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7070Date: Sat Mar 2 09:12:47 2013 -0800 7071 7072 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 7073 7074 If the X server returns shape indexes outside the range of the number 7075 of shapes it told us to allocate, out of bounds memory access could occur. 7076 7077 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7078 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7079 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7080 7081commit f293659d5a4024bda386305bb7ebeb4647c40934 7082Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7083Date: Fri Mar 1 22:49:01 2013 -0800 7084 7085 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 7086 7087 If the X server returns more buttons than are allocated in the XKB 7088 device info structures, out of bounds writes could occur. 7089 7090 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7091 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7092 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7093 7094commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 7095Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7096Date: Fri Mar 1 19:30:09 2013 -0800 7097 7098 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 7099 7100 If a broken server returned larger than requested values for nPixels or 7101 nMasks, XAllocColorCells would happily overflow the buffers provided by 7102 the caller to write the results into. 7103 7104 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7105 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7106 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7107 7108commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 7109Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7110Date: Fri Mar 1 22:49:01 2013 -0800 7111 7112 integer overflow in XListHosts() [CVE-2013-1981 5/13] 7113 7114 If the reported number of host entries is too large, the calculations 7115 to allocate memory for them may overflow, leaving us writing beyond the 7116 bounds of the allocation. 7117 7118 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7119 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7120 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7121 7122commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 7123Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7124Date: Fri Mar 1 22:49:01 2013 -0800 7125 7126 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 7127 7128 If the reported number of motion events is too large, the calculations 7129 to allocate memory for them may overflow, leaving us writing beyond the 7130 bounds of the allocation. 7131 7132 v2: Ensure nEvents is set to 0 when returning NULL events pointer 7133 7134 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7135 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7136 7137commit 39515b7c3ba8cae9021bf6695e378ae19487082f 7138Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7139Date: Fri Mar 1 22:49:01 2013 -0800 7140 7141 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 7142 7143 If the reported number of remaining fonts is too large, the calculations 7144 to allocate memory for them may overflow, leaving us writing beyond the 7145 bounds of the allocation. 7146 7147 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 7148 v3: On error cases, also set values to be returned in pointer args to 0/NULL 7149 7150 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7151 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7152 7153commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 7154Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7155Date: Fri Mar 1 21:05:27 2013 -0800 7156 7157 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 7158 7159 Similar to _XQueryFont, but with more ways to go wrong and overflow. 7160 Only compiled if libX11 is built with XF86BigFont support. 7161 7162 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 7163 7164 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7165 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7166 7167commit 6df8a63d34b7514077188e2062a13774f920c085 7168Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7169Date: Fri Mar 1 21:05:27 2013 -0800 7170 7171 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 7172 7173 If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 7174 unsigned long, then too small of a buffer will be allocated for the 7175 data copied in from the reply. 7176 7177 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 7178 7179 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 7180 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7181 7182commit 9f5d83706543696fc944c1835a403938c06f2cc5 7183Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7184Date: Fri Mar 1 20:54:24 2013 -0800 7185 7186 Add _XEatDataWords to discard a given number of 32-bit words of reply data 7187 7188 Matches the units of the length field in X protocol replies, and provides 7189 a single implementation of overflow checking to avoid having to replicate 7190 those checks in every caller. 7191 7192 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7193 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7194 7195commit d7f04c340ade3834e603c23d543132e1ee4e0c63 7196Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7197Date: Sat Mar 2 13:03:55 2013 -0800 7198 7199 Move repeated #ifdef magic to find PATH_MAX into a common header 7200 7201 Lets stop duplicating the mess all over 7202 7203 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7204 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7205 7206commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 7207Author: Pander <pander@users.sourceforge.net> 7208Date: Tue May 7 18:38:14 2013 -0400 7209 7210 Add compose sequences for J́ and j́. 7211 7212 The resulting sequences are: 7213 7214 U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 7215 U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 7216 7217 Used in Dutch, per: 7218 7219 http://lists.x.org/archives/xorg-devel/2013-February/035514.html 7220 https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 7221 7222 Signed-off-by: Pander <pander@users.sourceforge.net> 7223 Signed-off-by: James Cloos <cloos@jhcloos.com> 7224 7225commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 7226Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7227Date: Sat Mar 16 18:30:56 2013 -0700 7228 7229 Move big request comment in XOpenDisplay to the right place 7230 7231 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7232 7233commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 7234Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7235Date: Sat Mar 9 19:16:03 2013 -0800 7236 7237 libX11 1.5.99.901 (1.6 RC1) 7238 7239 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7240 7241commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 7242Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7243Date: Fri Mar 8 22:33:28 2013 -0800 7244 7245 Fix very weird indenting in src/GetFProp.c 7246 7247 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7248 7249commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 7250Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7251Date: Fri Mar 8 15:37:33 2013 -0800 7252 7253 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 7254 7255 While the C standard technically allows for the compiler to translate 7256 pointer = 0 or pointer = NULL into something other than filling the 7257 pointer address with 0 bytes, the rest of the Xlib code already assumes 7258 that calloc initializes any pointers in the struct to NULL, and there 7259 are no known systems supported by X.Org where this is not true. 7260 7261 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7262 7263commit 39547d600a13713e15429f49768e54c3173c828d 7264Author: Karl Tomlinson <xmail@karlt.net> 7265Date: Mon Feb 18 01:25:34 2013 +0000 7266 7267 MakeBigReq: don't move the last word, already handled by Data32 7268 7269 MakeBigReq inserts a length field after the first 4 bytes of the request 7270 (after req->length), pushing everything else back by 4 bytes. 7271 7272 The current memmove moves everything but the first 4 bytes back. 7273 If a request aligns to the end of the buffer pointer when MakeBigReq is 7274 invoked for that request, this runs over the buffer. 7275 Instead, we need to memmove minus the first 4 bytes (which aren't moved), 7276 minus the last 4 bytes (so we still align to the previous tail). 7277 7278 The 4 bytes that fell out are already handled with Data32, which will 7279 handle the buffermax correctly. 7280 7281 The case where req->length = 1 was already not functional. 7282 7283 Reported by Abhishek Arya <inferno@chromium.org>. 7284 7285 https://bugzilla.mozilla.org/show_bug.cgi?id=803762 7286 7287 Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 7288 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7289 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7290 7291Notes: 7292 CVE-2013-7439 7293 7294commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 7295Author: Quentin Glidic <sardemff7+git@sardemff7.net> 7296Date: Tue Jan 15 21:07:17 2013 +0000 7297 7298 nls/Makefile.am: Use LOG_COMPILER 7299 7300 TESTS_ENVIRONMENT is deprecated 7301 7302 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 7303 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7304 7305commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 7306Author: Quentin Glidic <sardemff7+git@sardemff7.net> 7307Date: Tue Jan 15 21:07:16 2013 +0000 7308 7309 nls/Makefile.am: Remove unneeded $(srcdir) 7310 7311 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 7312 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7313 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7314 7315commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 7316Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7317Date: Sat Mar 2 12:01:39 2013 -0800 7318 7319 Add <X11/Xresource.h> hint to all Xrm* man pages 7320 7321 Help users figure out which header file they need to #include 7322 7323 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7324 7325commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 7326Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7327Date: Fri Mar 8 17:13:09 2013 -0800 7328 7329 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 7330 7331 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7332 7333commit 47d2eff64d167b3245d346d7f38ca703be645e26 7334Author: Ken Moffat <ken@linuxfromscratch.org> 7335Date: Thu Mar 7 18:27:54 2013 -0500 7336 7337 dead_double_grave and dead_inverted_breve should only have one underscore. 7338 7339 Correct instances of dead_double_grave and dead_inverted_breve to 7340 dead_doublegrave and dead_invertedbreve. 7341 7342 Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 7343 Signed-off-by: James Cloos <cloos@jhcloos.com> 7344 7345commit c23d61d1b84dca3740bf4786978c7908d0065fb9 7346Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7347Date: Fri Mar 1 18:10:27 2013 -0800 7348 7349 Assume size_t is always available, since it was defined in C89 7350 7351 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 7352 We already use size_t throughout the rest of Xlib, just had this 7353 one instance left in XKBGAlloc.c of a fallback definition. 7354 7355 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7356 7357commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 7358Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7359Date: Fri Mar 1 18:09:07 2013 -0800 7360 7361 unifdef XKB_IN_SERVER 7362 7363 Leftovers from XKB files that were previously shared between the client 7364 and server code, but aren't any more. 7365 7366 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7367 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7368 7369commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 7370Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7371Date: Thu Feb 28 20:04:25 2013 -0800 7372 7373 unifdef CRAY & _CRAY 7374 7375 (mostly performed with unifdef, followed by some manual cleanup of 7376 the remaining code) 7377 7378 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7379 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7380 7381commit ca106eb03e5f5468df8033300c5caae3d3c6936b 7382Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7383Date: Thu Feb 28 20:04:25 2013 -0800 7384 7385 unifdef WORD64 7386 7387 WORD64 seems to have only been defined in <X11/Xmd.h> when building for 7388 CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 7389 64-bit alignment requirements. 7390 7391 It hadn't been fully supported even before autotooling, as can be 7392 seen by removed code such as: 7393 7394 #ifdef WORD64 7395 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 7396 #endif 7397 7398 (mostly performed with unifdef, followed by some manual cleanup of 7399 the remaining code) 7400 7401 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7402 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7403 7404commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 7405Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7406Date: Thu Feb 28 20:04:25 2013 -0800 7407 7408 unifdef MUSTCOPY 7409 7410 MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 7411 CRAY, to handle missing some sizes of integer type. 7412 7413 (mostly performed with unifdef, followed by some manual cleanup of 7414 spacing/indenting in the remaining code) 7415 7416 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7417 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7418 7419commit b687440c28c7da6ee0ae44514d20248db5161606 7420Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7421Date: Sat Feb 16 10:42:23 2013 -0800 7422 7423 Convert more sprintf calls to snprintf 7424 7425 You could analyze most of these and quickly recognize that there was no 7426 chance of buffer overflow already, but why make everyone spend time doing 7427 that when we can just make it obviously safe? 7428 7429 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7430 7431commit b092dabbd712d7b656abcf572d253b9b206c0237 7432Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7433Date: Fri Feb 15 23:43:12 2013 -0800 7434 7435 XKeysymToString: move variable declarations to the scope of their usage 7436 7437 Makes it easier for readers to understand scope of variable usage, and 7438 clears up gcc warning: 7439 7440 KeysymStr.c: In function 'XKeysymToString': 7441 KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 7442 KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 7443 7444 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7445 7446commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 7447Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7448Date: Fri Feb 15 23:34:40 2013 -0800 7449 7450 Preserve constness in casting arguments through the Data*() routines 7451 7452 Casts were annoying gcc by dropping constness when changing types, 7453 when routines simply either copy data into the request buffer or 7454 send it directly to the X server, and never modify the input. 7455 7456 Fixes gcc warnings including: 7457 ChProp.c: In function 'XChangeProperty': 7458 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7459 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7460 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7461 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7462 ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7463 SetHints.c: In function 'XSetStandardProperties': 7464 SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7465 SetPntMap.c: In function 'XSetPointerMapping': 7466 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7467 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7468 StBytes.c: In function 'XStoreBuffer': 7469 StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7470 StName.c: In function 'XStoreName': 7471 StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7472 StName.c: In function 'XSetIconName': 7473 StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7474 7475 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7476 7477commit 6c558ee357292dd9dfc6d9006f4525f625327c52 7478Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7479Date: Fri Feb 15 22:58:54 2013 -0800 7480 7481 Fix comment typo & confusing indentation levels in Data() macro definition 7482 7483 The final } matches the one on the #define line, not one that doesn't 7484 appear after the else statement it was lined up with 7485 7486 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7487 7488commit afd6593da90e51234d59f8921c411317f91ab48b 7489Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7490Date: Fri Feb 15 23:25:38 2013 -0800 7491 7492 XStringToKeysym: preserve constness when casting off unsignedness for strcmp 7493 7494 Fixes gcc warning: 7495 StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7496 7497 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7498 7499commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 7500Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7501Date: Fri Feb 15 23:14:40 2013 -0800 7502 7503 XRebindKeysym: Drop unnecessary const-removing cast 7504 7505 C89 defines memcpy as taking a const void *, so casting from 7506 const unsigned char * to char * simply angers gcc for no benefit: 7507 7508 KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7509 7510 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7511 7512commit 54527eab93d46055cf11eb6c18abb353a03ae544 7513Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7514Date: Fri Feb 15 22:45:19 2013 -0800 7515 7516 cmsColNm.c: maintain constness of arguments to qsort helper function 7517 7518 Fixes gcc warning: 7519 7520 cmsColNm.c: In function 'FirstCmp': 7521 cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7522 cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7523 7524 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7525 7526commit deedeada53676ee529d700bf96fde0b29a3a1def 7527Author: Nickolai Zeldovich <nickolai@csail.mit.edu> 7528Date: Tue Jan 22 10:03:00 2013 -0500 7529 7530 XListFontsWithInfo: avoid accessing realloc'ed memory 7531 7532 If exactly one of the two reallocs in XListFontsWithInfo() fails, the 7533 subsequent code accesses memory freed by the other realloc. 7534 7535 Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 7536 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7537 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7538 7539commit f57fd760cba92ad846917f21e94e73e9c846185f 7540Author: Colin Walters <walters@verbum.org> 7541Date: Wed Jan 4 17:37:06 2012 -0500 7542 7543 autogen.sh: Implement GNOME Build API 7544 7545 http://people.gnome.org/~walters/docs/build-api.txt 7546 7547 Signed-off-by: Adam Jackson <ajax@redhat.com> 7548 7549commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 7550Author: Adam Jackson <ajax@redhat.com> 7551Date: Tue Jan 15 14:28:48 2013 -0500 7552 7553 configure: Remove AM_MAINTAINER_MODE 7554 7555 Signed-off-by: Adam Jackson <ajax@redhat.com> 7556 7557commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 7558Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7559Date: Wed Dec 26 22:57:39 2012 -0800 7560 7561 Remove unused DECnet ("DNETCONN") code from Xlib 7562 7563 Has never been converted to build in modular builds, so has been unusable 7564 since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 7565 back in 2008. 7566 7567 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7568 7569commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 7570Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7571Date: Wed Dec 26 22:56:38 2012 -0800 7572 7573 Remove unused TLI ("STREAMSCONN") code from Xlib 7574 7575 Has never been converted to build in modular builds, so has been unusable 7576 since X11R7.0 release in 2005. All known platforms with TLI/XTI support 7577 that X11R7 & later releases run on also have (and mostly prefer) BSD 7578 socket support for their networking API. 7579 7580 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7581 7582commit 59c9ee8cd58857c5769b643611cbe526005a9e45 7583Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7584Date: Sun Dec 16 17:44:42 2012 -0800 7585 7586 Tell clang not to report -Wpadded warnings on public headers we can't fix 7587 7588 Better to silence the compiler warning than break ABI. 7589 7590 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7591 7592commit 0b148750027fd0557c5ed93afda861ddf4b92e0f 7593Author: Jon TURNEY <jon.turney@dronecode.org.uk> 7594Date: Mon Nov 12 17:27:52 2012 +0000 7595 7596 Fix config check for loadable modules 7597 7598 The config check of the results of testing for dlfcn.h or dl.h just tests the 7599 value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 7600 it is 'yes', so loadable module support would always be detected. 7601 7602 This is necessary for successful compilation for the MinGW target without the 7603 optional dlfcn-win32 library. 7604 7605 v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 7606 correctly when dlfcn.h is available 7607 7608 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 7609 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 7610 7611commit cd25cab4b5b957641183ce72dd1ae0424aff1663 7612Author: Egbert Eich <eich@freedesktop.org> 7613Date: Fri May 20 18:27:02 2011 +0200 7614 7615 Install Xcms.txt in $(datadir) rather than $(libdir). 7616 7617 This file is an architecture independent data and should be where 7618 other databases are. 7619 This is the Xlib provided sample file, applications are free to 7620 use a different one specifying its location in the XCMSDB env 7621 variable. 7622 7623 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7624 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7625 7626commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 7627Author: Egbert Eich <eich@freedesktop.org> 7628Date: Fri May 20 18:25:24 2011 +0200 7629 7630 Don't hard code path to Xcms.txt file. 7631 7632 The path to this file is configurable at build time. The source 7633 however contains a hard coded path. 7634 7635 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7636 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7637 7638commit 9833489e6c3829a1e835bc0a11f028fc180809e4 7639Author: Colin Walters <walters@verbum.org> 7640Date: Fri Dec 7 08:51:21 2012 -0500 7641 7642 Fix build after dropping locales 7643 7644 They also needed to be removed from configure.ac 7645 7646 Signed-off-by: Colin Walters <walters@verbum.org> 7647 Signed-off-by: Julien Cristau <jcristau@debian.org> 7648 7649commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 7650Author: Egbert Eich <eich@freedesktop.org> 7651Date: Fri May 20 13:04:11 2011 +0200 7652 7653 i18n: Uppercased all occurances if 'iso8859' in the full locale name. 7654 7655 Making all occurances of iso8859 upper case in the full local name 7656 makes the alias entries more consistent and match the entries on 7657 locale.dir. 7658 7659 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7660 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7661 7662commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 7663Author: Egbert Eich <eich@freedesktop.org> 7664Date: Fri May 20 17:55:49 2011 +0200 7665 7666 i18n: Remove ja.S90 and ja.U90 locales. 7667 7668 Both locales carry a copyright notice and a prorietary statement: 7669 7670 Copyright 1995 by FUJITSU LIMITED 7671 This is source code modified by FUJITSU LIMITED under the Joint 7672 Development Agreement for the CDEnext PST. 7673 This is unpublished proprietary source code of FUJITSU LIMITED 7674 7675 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7676 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7677 7678commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 7679Author: Egbert Eich <eich@freedesktop.org> 7680Date: Fri May 20 16:46:15 2011 +0200 7681 7682 i18n: Bring locale.dir and compose.dir in sync. 7683 7684 Some entries for locale/encoding combinations were missing from 7685 either file or just misspelled, some entries were wrong or just 7686 aliases. 7687 7688 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7689 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7690 7691commit d1e6baa4e290b758e430077cb74e7c03ad850771 7692Author: Egbert Eich <eich@freedesktop.org> 7693Date: Fri May 20 14:02:39 2011 +0200 7694 7695 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 7696 7697 locale.alias contains a comment: 7698 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 7699 Thus lets treat 'a3' as an alias for 'az'. 7700 7701 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7702 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7703 Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 7704 7705commit fa2aab0bea18efa26a56977d3166277582ab7b07 7706Author: Egbert Eich <eich@freedesktop.org> 7707Date: Fri May 20 13:09:38 2011 +0200 7708 7709 i18n: Fixed typos in full locale names. 7710 7711 Fixing those typos those names actually match entries in 7712 locale.dir. 7713 7714 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7715 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7716 7717commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 7718Author: Egbert Eich <eich@freedesktop.org> 7719Date: Sat May 21 07:29:38 2011 +0200 7720 7721 i18n: Remove duplicates and aliases to oneself. 7722 7723 Aliases to itself don't make much sense. 7724 This changes occurances of: 7725 xy_UV.UTF-8: xy_UV.UTF-8 7726 to 7727 xy_UV: xy_UV.UTF-8 7728 where applicable. 7729 7730 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7731 Reviewed-by: James Cloos <cloos@jhcloos.com> 7732 7733commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 7734Author: Jens Herden <jens.herden@email.de> 7735Date: Fri May 20 17:29:03 2011 +0200 7736 7737 i18n: Add support for Khmer locale and compose table. 7738 7739 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7740 Reviewed-by: James Cloos <cloos@jhcloos.com> 7741 7742commit 40761898692e5063957bfa2518cca3d35b2e354a 7743Author: Kalman Kemenczy <kkemenczy@novell.com> 7744Date: Fri May 20 17:03:24 2011 +0200 7745 7746 i18n: Add support for Serbian specific compose table entries. 7747 7748 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7749 Reviewed-by: James Cloos <cloos@jhcloos.com> 7750 7751commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 7752Author: Egbert Eich <eich@freedesktop.org> 7753Date: Fri May 20 14:00:35 2011 +0200 7754 7755 i18n: Adding and removing comments. 7756 7757 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7758 Reviewed-by: James Cloos <cloos@jhcloos.com> 7759 7760commit 7754d68976106183751243c2c35a84134be17b34 7761Author: Egbert Eich <eich@freedesktop.org> 7762Date: Fri May 20 13:45:31 2011 +0200 7763 7764 i18n: Add missing locales which existed in locale.alias. 7765 7766 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7767 Reviewed-by: James Cloos <cloos@jhcloos.com> 7768 7769commit 952eccd0d25ba66023acfd31873eee2e71c38c42 7770Author: Egbert Eich <eich@freedesktop.org> 7771Date: Fri May 20 10:57:57 2011 +0200 7772 7773 i18n: Consolidate compose handling for locales with UTF-8 encoding. 7774 7775 - add an entry to include the default en_US compose file 7776 for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 7777 - add missing entries for zh_CN. and zh_HK and am_ET. 7778 - change entries for the UTF-8 encoding for ru_RU, ja_JP, 7779 ko_KR, th_TH and zh_TW to point to their native directory 7780 entries. 7781 7782 Signed-off-by: Egbert Eich <eich@freedesktop.org> 7783 Reviewed-by: James Cloos <cloos@jhcloos.com> 7784 7785commit d14b6a250f004fa405179db7020f6953001d17b9 7786Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 7787Date: Mon Oct 22 13:54:11 2012 -0500 7788 7789 XIM: remove Private and Public macros 7790 7791 Private is a struct member name in mingw-w64 <winioctl.h>, causing this 7792 useless define in a private header to break the build. 7793 7794 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 7795 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 7796 7797commit f2a8def423a46d52e834cf7ea49fa0079427663a 7798Author: Adam Jackson <ajax@redhat.com> 7799Date: Wed Oct 17 14:40:43 2012 -0400 7800 7801 XErrorDB: Add GLXBadProfileARB 7802 7803 Signed-off-by: Adam Jackson <ajax@redhat.com> 7804 7805commit d45b3fc19fbe95c41afc4e51d768df6d42332010 7806Author: Ross Burton <ross.burton@intel.com> 7807Date: Wed Sep 12 14:39:40 2012 +0100 7808 7809 Allow overriding location of keysymdef.h 7810 7811 Currently keysymdef.h is found by using the includedir of xproto. This doesn't 7812 work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 7813 not a path into the cross-build environment. 7814 7815 So, add an option to allow explicitly specifying the location of keysymdef.h, 7816 and verify that the specified or found path exists. 7817 7818 (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 7819 7820 Signed-off-by: Ross Burton <ross.burton@intel.com> 7821 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 7822 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 7823 7824commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 7825Author: Eric S. Raymond <esr@thyrsus.com> 7826Date: Thu Aug 23 19:15:07 2012 -0400 7827 7828 Renove some unnecessary low-level markup. 7829 7830 Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 7831 This appears to have been somebody's thinko, it's only in a few of the files. 7832 7833 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 7834 7835commit b686600ab5ca93b5750f827786e79c329ab2db4d 7836Author: Eric S. Raymond <esr@thyrsus.com> 7837Date: Thu Aug 23 10:53:33 2012 -0400 7838 7839 The .NT/.NE macro pair is no longer used. Remove it. 7840 7841 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 7842 7843commit b83f2898528c5dd683acd2a2143879a760a8dad5 7844Author: Eric S. Raymond <esr@thyrsus.com> 7845Date: Thu Aug 23 10:42:46 2012 -0400 7846 7847 Remove the one and only use of the .NT/.NE pair. 7848 7849 The problem with these macros is that they rely on being able to 7850 center the note label. That doesn't play well with modern HTML, 7851 not anyway without coomplications like CSS. This use was just a cute 7852 trick, not adding enough value to be kept. 7853 7854commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 7855Author: Eric S. Raymond <esr@thyrsus.com> 7856Date: Thu Aug 23 10:23:45 2012 -0400 7857 7858 The .C{ and .C} macros are never used. Remove them. 7859 7860 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 7861 7862commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 7863Author: Eric S. Raymond <esr@thyrsus.com> 7864Date: Thu Aug 23 10:08:08 2012 -0400 7865 7866 The .FN macro, paired with .FD, is also never used. Remove it. 7867 7868 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 7869 7870commit cac6572701c976542da562b2b277b07ffb892a6f 7871Author: Eric S. Raymond <esr@thyrsus.com> 7872Date: Thu Aug 23 10:03:00 2012 -0400 7873 7874 The ".FD" macro is never used. Remove it. 7875 7876 It was a temptation to presentation-level klugery and is best gone. 7877 7878 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 7879 7880commit 6e27a828f39f7028bc7f4a8736e7262fca250632 7881Author: Eric S. Raymond <esr@thyrsus.com> 7882Date: Thu Aug 23 09:54:25 2012 -0400 7883 7884 Clean up, my last commit missed four cases. 7885 7886 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 7887 7888commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 7889Author: Eric S. Raymond <esr@thyrsus.com> 7890Date: Thu Aug 23 08:24:17 2012 -0400 7891 7892 Eliminate all uses of tab stops in the libX11 man pages. 7893 7894 Two steps: First, expand tabs to 8 spaces in code and structure 7895 listings. Second, make the .Ds used to wrap code listings switch to 7896 constant-width font (CW) rather than numeric font position 1, which 7897 maps to R on most systems. 7898 7899 It is possible some archaic systems won't know what CW is, but the 7900 only risk is that code listings won't look quite right on troff 7901 devices; the PostScript and DVI drivers definitely grok it, so those 7902 important cases are OK. 7903 7904 The purpose of these changes is to get rid of presentation-level 7905 markup so these pages will lift clean to DocBook. 7906 7907 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 7908 7909commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 7910Author: Will Thompson <will@willthompson.co.uk> 7911Date: Mon Jul 9 18:00:27 2012 +0100 7912 7913 Add compose sequences for "therefore" and "because". 7914 7915 These sequences look sensible to me. I added them to the APL-related 7916 section of Mathematical Operators—they're in that section of Unicode 7917 anyway. 7918 7919 https://bugs.freedesktop.org/show_bug.cgi?id=51922 7920 7921 Signed-off-by: Will Thompson <will@willthompson.co.uk> 7922 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 7923 7924commit 65358ea5079236b2508f787ac2fb2024a477e36d 7925Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7926Date: Fri Jun 29 23:08:04 2012 -0700 7927 7928 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 7929 7930 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7931 7932commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 7933Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7934Date: Fri Jun 29 22:57:13 2012 -0700 7935 7936 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 7937 7938 Fixes leaks in error paths found by Parfait 1.0.0: 7939 7940 Error: X Resource Leak 7941 Leaked X Resource pix 7942 at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 7943 pix initialized at line 60 with XCreatePixmap 7944 Error: X Resource Leak 7945 Leaked X Resource pix 7946 at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 7947 pix initialized at line 66 with XCreatePixmap 7948 7949 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7950 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 7951 7952commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 7953Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7954Date: Wed Jun 6 13:31:16 2012 -0700 7955 7956 libX11 spec: Correct prototype for XConvertSelection 7957 7958 selection & target parameters were accidentally run together 7959 7960 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7961 7962commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 7963Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7964Date: Fri Jun 1 23:37:09 2012 -0700 7965 7966 libX11 1.5.0 7967 7968 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7969 7970commit 05c587ec3be880721131a17c1dd4366e458fdd8b 7971Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7972Date: Sat May 26 14:37:28 2012 -0700 7973 7974 libX11 1.4.99.902 (1.5 RC2) 7975 7976 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7977 7978commit d817834d9772e3500d5102e2eae868b04a33c31f 7979Author: Pander <pander@users.sourceforge.net> 7980Date: Sat May 5 19:02:10 2012 +0200 7981 7982 Compose: Reassigned squences with minus and a or o 7983 7984 Reassigned squences with minus and a or o (vice versa and lower and 7985 upper case) to conform existing series and not resulting in tilde. 7986 Also added noe missing underscore sequence. 7987 7988 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7989 7990commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 7991Author: Pander <pander@users.sourceforge.net> 7992Date: Sat May 5 16:56:05 2012 +0200 7993 7994 Compose: Removed <slash> <U> and vice versa 7995 7996 Combination with lower case u suffices 7997 7998 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7999 8000commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 8001Author: Pander <pander@users.sourceforge.net> 8002Date: Sat May 5 16:44:31 2012 +0200 8003 8004 Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 8005 8006 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8007 8008commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 8009Author: Pander <pander@users.sourceforge.net> 8010Date: Sat May 5 16:40:20 2012 +0200 8011 8012 Compose: Removed <S> in combination with a numeral for superscript 8013 8014 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8015 8016commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 8017Author: Pander <pander@users.sourceforge.net> 8018Date: Sat May 5 16:28:01 2012 +0200 8019 8020 Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 8021 8022 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8023 8024commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 8025Author: James Cloos <cloos@jhcloos.com> 8026Date: Thu May 10 12:27:28 2012 -0400 8027 8028 Remove duplicate compose sequences from commit e51e37c118ae. 8029 8030 The compose-check script only handles compiled Compose files, not 8031 the Compose.pre files. One must remember to use: 8032 8033 ./autogen.sh; make; make check 8034 8035 when reviewing patches to the Compose.pre files.... 8036 8037 Signed-off-by: James Cloos <cloos@jhcloos.com> 8038 8039commit e51e37c118ae6cb9ced8244ce1c410677e0279ce 8040Author: Geoff Streeter <geoff@dyalog.com> 8041Date: Thu Mar 22 15:02:00 2012 +0000 8042 8043 Add APL support to compose 8044 8045 Signed-off-by: Geoff Streeter <geoff@dyalog.com> 8046 Signed-off-by: James Cloos <cloos@jhcloos.com> 8047 8048commit dac90324cee224df977a428afe80d960dceca769 8049Author: Julien Cristau <jcristau@debian.org> 8050Date: Sat May 5 16:05:07 2012 +0200 8051 8052 configure: make previous change work with older autoconf 8053 8054 autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 8055 the tests separately. 8056 8057 Reported-by: Dave Airlie 8058 Signed-off-by: Julien Cristau <jcristau@debian.org> 8059 8060commit f5b50af4324186962e258ffe9be78d5ee4681982 8061Author: Julien Cristau <jcristau@debian.org> 8062Date: Sun Apr 29 16:43:09 2012 +0200 8063 8064 configure: check if issetugid is declared 8065 8066 GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 8067 declare it anywhere, causing gcc to error out with 8068 -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 8069 AC_CHECK_FUNC so we disable this code instead of failing to build it. 8070 8071 Debian bug#669670 <http://bugs.debian.org/669670> 8072 8073 Signed-off-by: Julien Cristau <jcristau@debian.org> 8074 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8075 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8076 8077commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 8078Author: Peter Hutterer <peter.hutterer@who-t.net> 8079Date: Mon Apr 30 16:36:47 2012 +1000 8080 8081 Typo fix 8082 8083 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8084 8085commit b64969f0e510d5d3300cf968741a3726a6409577 8086Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8087Date: Tue Apr 17 18:12:02 2012 -0700 8088 8089 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 8090 8091 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8092 8093commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 8094Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8095Date: Tue Apr 17 18:01:36 2012 -0700 8096 8097 Add olinks from libX11 & localedb specs to ICCCM spec 8098 8099 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8100 8101commit b3c1b8cdab7d14220426c9b997ac362dc16318fc 8102Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8103Date: Tue Apr 17 17:49:44 2012 -0700 8104 8105 Add olinks from libX11 spec to ICCCM spec 8106 8107 Also convert ICCCM title mentions from <emphasis> to <citetitle> 8108 8109 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8110 8111commit ebebb65e753007ad01966dccc90bd6ca9a826488 8112Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8113Date: Sat Apr 14 23:40:01 2012 -0700 8114 8115 libX11 AppC: Fix section headers that didn't translate from nroff properly 8116 8117 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8118 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 8119 8120commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 8121Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8122Date: Sat Apr 14 23:13:05 2012 -0700 8123 8124 Add olinks from libX11 spec to x11protocol spec 8125 8126 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8127 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 8128 8129commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 8130Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8131Date: Sat Apr 14 22:28:53 2012 -0700 8132 8133 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 8134 8135 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8136 8137commit abc523fce31fcf2687229697a8eb656e343ecb0c 8138Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8139Date: Thu Mar 15 22:14:45 2012 -0700 8140 8141 libX11 1.4.99.901 (1.5 RC1) 8142 8143 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8144 8145commit b2cc5905a4a6d519957223e8ba2caef71520040c 8146Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8147Date: Thu Mar 15 22:03:21 2012 -0700 8148 8149 Remove "register" qualifier that annoys Solaris Studio compiler 8150 8151 Fixes warning: 8152 "Xrm.c", line 1094: warning: storage class after type is obsolescent 8153 8154 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8155 8156commit 62d42953893f93a98db0504eaf06d650ceaf5811 8157Author: James Cloos <cloos@jhcloos.com> 8158Date: Wed Mar 14 17:25:46 2012 -0400 8159 8160 Fix the gtk+ additions 8161 8162 (Some of) the Dstroke and dstroke entries already were present as U011[01], 8163 even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 8164 8165 The addition of <Multi_key> <o> <apostrophe> as a postfix version of 8166 <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 8167 That prevents its and <Multi_key> <O> <apostrophe>’s addition. 8168 8169 Signed-off-by: James Cloos <cloos@jhcloos.com> 8170 8171commit 91bcce48d94792f78333d2aea73961cc2e739d2e 8172Author: Pander <pander@users.sourceforge.net> 8173Date: Wed Mar 14 12:54:53 2012 -0400 8174 8175 Complete compose key sequences for musical symbols 8176 8177 Signed-off-by: Pander <pander@users.sourceforge.net> 8178 Signed-off-by: James Cloos <cloos@jhcloos.com> 8179 8180commit cf040016d455bc37f7665d6714337c5eafd8ea94 8181Author: Pander <pander@users.sourceforge.net> 8182Date: Wed Mar 14 12:46:25 2012 -0400 8183 8184 Add compose sequences from gtk+ to X.Org 8185 8186 Signed-off-by: Pander <pander@users.sourceforge.net> 8187 Signed-off-by: James Cloos <cloos@jhcloos.com> 8188 8189commit a4c591ced5cac9301b9abfa0e521be2d0b267882 8190Author: Keith Packard <keithp@keithp.com> 8191Date: Sun Mar 4 02:00:13 2012 -0800 8192 8193 Block for other threads in _XUserLockDisplay 8194 8195 Wait for all other threads to release the user-level lock when 8196 acquiring it. This ensures that only one thread at a time holds the 8197 user-level lock, necessary as it is a nesting lock and a single 8198 variable is used to determine when the lock is nesting and when it is 8199 contended. 8200 8201 Signed-off-by: Keith Packard <keithp@keithp.com> 8202 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8203 8204commit ed00b460acb08787b695f27b864e96102dfd4867 8205Author: Jon TURNEY <jon.turney@dronecode.org.uk> 8206Date: Fri Oct 28 11:09:20 2011 -0500 8207 8208 Don't use caddr_t casts 8209 8210 (caddr_t) isn't used anywhere else in xcb or libX11. 8211 Cast to (char *) for consistency. 8212 8213 Removing this cast allows building for MinGW without patching. 8214 8215 v2: Cast to (char *) rather than just dropping the cast 8216 8217 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 8218 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8219 8220commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 8221Author: Julien Cristau <jcristau@debian.org> 8222Date: Sun Feb 19 13:27:38 2012 +0100 8223 8224 Revert "xcb: Add TCP fallback" 8225 8226 This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 8227 8228 The TCP fallback ended up falling back to UNIX socket connection if 8229 $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 8230 8231 Debian bug#659558 <http://bugs.debian.org/659558> 8232 8233 Signed-off-by: Julien Cristau <jcristau@debian.org> 8234 8235 Conflicts: 8236 8237 src/OpenDis.c 8238 8239commit f4378193619baa9bb973c1b5b718721bbcbe92c7 8240Author: James Cloos <cloos@jhcloos.com> 8241Date: Wed Feb 22 14:13:20 2012 -0500 8242 8243 Make the compose sequence for ẞ work. 8244 8245 There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 8246 so use the U1e9e symbol in the Compose sequence. 8247 8248 (Compose sequences do not work when the target symbol is unknown.) 8249 8250 Signed-off-by: James Cloos <cloos@jhcloos.com> 8251 8252commit 2ca641c3a506dcbee97e279b67990d5387389f36 8253Author: Marko Myllynen <myllynen@redhat.com> 8254Date: Mon Feb 20 17:04:59 2012 +0200 8255 8256 Use ezh/EZH in compose maps 8257 8258 Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 8259 8260 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 8261 Reviewed-by: Matt Dew <marcoz@osource.org> 8262 Signed-off-by: James Cloos <cloos@jhcloos.com> 8263 8264commit 61725822f20f47684a545c1797183ee7075243ac 8265Author: Marko Myllynen <myllynen@redhat.com> 8266Date: Sun Feb 20 17:09:43 2011 +0200 8267 8268 Provide translation from XK_permille (ad5) to Unicode (U2030) 8269 8270 https://bugs.freedesktop.org/show_bug.cgi?id=19687 8271 8272 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 8273 Reviewed-by: Matt Dew <marcoz@osource.org> 8274 Signed-off-by: James Cloos <cloos@jhcloos.com> 8275 8276commit d2cce0abba0fa0143f49026442c8cab5ed721625 8277Author: Jeremy Huddleston <jeremyhu@apple.com> 8278Date: Sun Feb 12 19:01:43 2012 -0800 8279 8280 nls: Use LC_CTYPE=C for sed magic 8281 8282 Stricter versions of sed can trip up if the input does not match 8283 LC_CTYPE 8284 8285 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8286 8287commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 8288Author: Frédéric Boiteux < <fboiteux@calistel.com> 8289Date: Wed Nov 30 12:47:31 2011 +0000 8290 8291 Compositions with the dead greek symbol 8292 8293 FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 8294 8295 Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 8296 Signed-off-by: James Cloos <cloos@jhcloos.com> 8297 8298commit d58e8f8e27790017fcfdeca0843b7318d541c189 8299Author: Ryan Pavlik <rpavlik@iastate.edu> 8300Date: Sun Jan 1 21:04:52 2012 +0000 8301 8302 Use pthreads on MinGW also 8303 8304 Use pthreads (provided by the pthreads-win32 compatability library which implements 8305 them using native Win32 threading) on MinGW 8306 8307 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 8308 8309commit bf15ccb6821664746ec23d769d757edf8059007e 8310Author: Ryan Pavlik <rpavlik@iastate.edu> 8311Date: Mon Jan 23 14:18:02 2012 +0000 8312 8313 Add XWindows.h include to Xxcbint.h 8314 8315 This avoids some conflicting type re-definition errors which occur if 8316 we attempt to include Windows headers after Xmd.h 8317 8318 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 8319 8320commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 8321Author: Matt Dew <marcoz@osource.org> 8322Date: Sat Jan 21 17:59:51 2012 -0700 8323 8324 informaltable & table cleanup 8325 8326 On certain tables, add top and bottom borders to table header 8327 and a bottom border to the table. This matches what those 8328 tables in the old pdfs looked like. 8329 8330 the <?dbfo keep-together='always'> prevents tables from 8331 splitting across pages. Useful for tiny tables. 8332 8333 Converting the colwidth to a floating point, IE, 1* -> 1.0* 8334 cleans up these build errors: 8335 WARNING: table-layout="fixed" and column-width unspecified => 8336 falling back to proportional-column-width(1) 8337 8338 Signed-off-by: Matt Dew <marcoz@osource.org> 8339 8340commit bb551f654df8f647c867f79252241964521e689e 8341Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8342Date: Wed Dec 28 21:22:41 2011 -0800 8343 8344 Add more Xkb man pages to the See Also lists for core keyboard functions 8345 8346 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8347 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8348 8349commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 8350Author: Gaetan Nadon <nadon@memsize.(none)> 8351Date: Fri Dec 30 17:08:14 2011 -0500 8352 8353 docbook.am: embed css styles inside the HTML HEAD element 8354 8355 Rather than referring to the external xorg.css stylesheet, embed the content 8356 of the file in the html output produced. This is accomplished by using 8357 version 1.10 of xorg-xhtml.xsl. 8358 8359 This makes the whole html docs tree much more relocatable. 8360 In addition, it eliminates xorg.css as a runtime file which makes 8361 xorg-sgml-doctools a build time only package. 8362 8363 Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 8364 8365commit 70505468b7c4a7068cc39be42e421dcee34ec595 8366Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8367Date: Tue Dec 13 19:58:30 2011 -0800 8368 8369 makekeys: move buf declaration from global to main to silence gcc -Wshadow 8370 8371 The global was only referenced in the main() function, which passes it 8372 as an argument of the same name to the parse_line() function, leading 8373 to gcc -Wshadow warnings: 8374 8375 makekeys.c: In function ‘parse_line’: 8376 makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 8377 makekeys.c:54:13: warning: shadowed declaration is here 8378 8379 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8380 8381commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 8382Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 8383Date: Wed Dec 14 02:17:55 2011 -0500 8384 8385 XQueryColors: Split a request into multiple requests if necessary 8386 8387 https://bugs.freedesktop.org/show_bug.cgi?id=9160 8388 8389 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 8390 Signed-off-by: James Cloos <cloos@jhcloos.com> 8391 8392commit d3b3570592e9b9e57f270a0bd86762fd205a2833 8393Author: Andreas Wettstein <wettstein509@solnet.ch> 8394Date: Tue Nov 8 20:18:09 2011 +0000 8395 8396 XIM: Allow modifier releases in compose sequences (#26705) 8397 8398 Currently, only non-modifier keys (actually, keysyms) can be part of a compose 8399 sequence, and they are matched against the defined compose sequences at the 8400 time the key is pressed. The patch allows to use modifier keys an well, but 8401 matches them on key release, and only if no other key has been pressed after 8402 the modifier. 8403 8404 Releasing a non-matched modifier during an ongoing compose sequence only aborts 8405 the sequence if any modifier release would have matched. In particular, if no 8406 compose sequences with modifiers are specified, the compose mechanism works 8407 exactly as without this patch. 8408 8409 Even if modifiers are part of a compose sequence, they are not filtered. This 8410 is because modifiers affect the keyboard state no matter what we do here and, 8411 therefore, filtering them only could confuse clients. 8412 8413 The purpose is this extension to the compose mechanism is to allow to make 8414 better use of keys in convenient reach for touch typing. 8415 8416 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 8417 Signed-off-by: James Cloos <cloos@jhcloos.com> 8418 8419commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 8420Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8421Date: Tue Nov 29 23:56:57 2011 -0800 8422 8423 Reject negative string counts in copy_string_list 8424 8425 Silences parfait warning of a potential memory leak: 8426 Memory leak of pointer 'dst' allocated with malloc(length) 8427 at line 160 of FSWrap.c in function 'copy_string_list'. 8428 'dst' allocated at line 145 with malloc(length). 8429 dst leaks when count <= 0 at line 154. 8430 8431 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8432 8433commit bf2d7c8c6d70539c72560b1921e18df2610acf29 8434Author: Peter Hutterer <peter.hutterer@who-t.net> 8435Date: Fri Nov 11 14:56:36 2011 +1000 8436 8437 libX11 1.4.99.1 8438 8439 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8440 8441commit 24283d40b1e4314c6647dda49d2a159833341a8b 8442Author: Derek Buitenhuis <derek.buitenhuis@gmail.com> 8443Date: Thu Sep 22 18:44:13 2011 -0400 8444 8445 makekeys: Fix build/target word size mismatch when cross-compiling 8446 8447 Since makekeys is built using build environment's gcc and 8448 runs natively, we have to make sure that the size of the 8449 Signature type is the same on both the native environment 8450 and the target, otherwise we get mismatches upon running X, 8451 and some LSB test failures (xts5). 8452 8453 Use an unsigned 32-bit integer on all platforms. Also, 8454 eliminate the redundant multiple typedefs for the 8455 Signature type. 8456 8457 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 8458 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 8459 8460commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 8461Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8462Date: Wed Nov 9 21:00:36 2011 -0800 8463 8464 XlcSL.c: convert old-style function definitions to ANSI C89 style 8465 8466 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8467 8468commit f6dad6aaa384bf836baa28ccb72b476a85c40eff 8469Author: Peter Hutterer <peter.hutterer@who-t.net> 8470Date: Thu Oct 27 13:53:22 2011 +1000 8471 8472 Use GetReqSized for GetReq and GetReqExtra 8473 8474 GetEmptyReq and GetResReq cannot do this due to the final typecast - 8475 typically requests that need either of those do not have their own typedef 8476 in the protocol headers. 8477 8478 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8479 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8480 8481commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 8482Author: Peter Hutterer <peter.hutterer@who-t.net> 8483Date: Fri Oct 14 14:51:06 2011 +1000 8484 8485 include: Add GetReqSized() for request buffers of specific size 8486 8487 Some XI2 requests change in size over different versions and libXi would 8488 need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 8489 library can explicitly specify the size of the request in 4-byte units. 8490 8491 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8492 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8493 8494commit ba8a7a19165e30d14bc165f43f67c19b6a115585 8495Author: Peter Hutterer <peter.hutterer@who-t.net> 8496Date: Thu Oct 27 13:24:10 2011 +1000 8497 8498 Switch GetEmptyReq and GetResReq to call _XGetRequest 8499 8500 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8501 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8502 8503commit 4a060f993bf676cf21ad9784e010f54134da7b40 8504Author: Peter Hutterer <peter.hutterer@who-t.net> 8505Date: Mon Oct 17 09:45:15 2011 +1000 8506 8507 Add _XGetRequest as substitute for GetReq/GetReqExtra 8508 8509 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8510 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8511 8512commit d8956520deb79c1cbb5e974c175bf8493859b22b 8513Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8514Date: Fri Oct 14 17:53:00 2011 -0700 8515 8516 Fix "nomal" -> "normal" typo in several comments 8517 8518 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8519 8520commit 002b36e308a26a152504f9b40aa08a0dce9a7991 8521Author: Xue Wei <Wei.Xue@Sun.COM> 8522Date: Fri Oct 14 17:39:21 2011 -0700 8523 8524 mbtocs should not truncate input 8525 8526 Fixes pasting more than 1024 bytes into xterm, as described in 8527 https://bugs.freedesktop.org/show_bug.cgi?id=25209 8528 8529 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8530 8531commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 8532Author: Marko Myllynen <myllynen@redhat.com> 8533Date: Mon Oct 10 09:41:13 2011 +0300 8534 8535 Add new compose sequences 8536 8537 This patch adds few new compose sequences to the en_US map, ligatures 8538 common in typesetting and sequences already in use in the fi_FI map. 8539 8540 https://bugs.freedesktop.org/show_bug.cgi?id=30621 8541 https://bugs.freedesktop.org/show_bug.cgi?id=34523 8542 8543 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 8544 8545commit 738f7b867341c1da87ee667d48815822715c3e75 8546Author: Choe Hwanjin <choe.hwanjin@gmail.com> 8547Date: Thu Oct 13 07:58:02 2011 +0900 8548 8549 XIM: Make Xim handle NEED_SYNC_REPLY flag 8550 8551 NEED_SYNC_REPLY flag should be in Xim not in Xic. 8552 Because the focused Xic can be changed before sending sync reply. 8553 After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 8554 flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 8555 8556 This patch adds sync reply flag to Xim and removes sync reply 8557 from Xic. 8558 8559 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 8560 8561 Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 8562 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 8563 8564commit 50e15379331c436851abb194251cde96999e67b3 8565Author: Bodo Graumann <mail@bodograumann.de> 8566Date: Mon Oct 10 16:40:52 2011 +0200 8567 8568 libX11: Fixing modifier key range in Xutil.h (Bug #21910) 8569 8570 IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 8571 which keys are regarded as modifiers. The constants ISO_Level5_Shift, 8572 ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 8573 some Neo2 modifiers functionless in combination with compose. 8574 This patch adjusts the range to include the correct, full range of 8575 modifier constants. 8576 8577 Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 8578 8579 X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 8580 8581 Signed-off-by: Bodo Graumann <mail@bodograumann.de> 8582 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 8583 8584commit b5a108624331fabf393223c0891914cc54d4caf4 8585Author: Yann Droneaud <yann@droneaud.fr> 8586Date: Tue Oct 11 17:27:59 2011 +0200 8587 8588 Return name instead of False in XSetICValues() 8589 8590 In case of error, XSetICValues() must return the first argument 8591 that failed to be set. 8592 8593 But in some error paths, it returns False, which is converted to NULL, 8594 so the function returns OK in case of error. 8595 8596 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 8597 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 8598 8599commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 8600Author: Yann Droneaud <yann@droneaud.fr> 8601Date: Sun Oct 9 17:56:45 2011 +0200 8602 8603 Return name instead of value in XGetIMValues() and XSetIMValues() 8604 8605 As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 8606 XGetIMValues() and XSetImValues() "returns the name of the first argument 8607 that could not be obtained." 8608 8609 But currently, 8610 8611 err = XGetIMValues(im, "invalid", &arg, NULL); 8612 8613 returns &arg instead of "invalid". 8614 8615 This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 8616 8617 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 8618 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 8619 8620commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 8621Author: Jeremy Huddleston <jeremyhu@apple.com> 8622Date: Mon Oct 10 14:09:17 2011 -0700 8623 8624 Mark XKeycodeToKeysym as _X_DEPRECATED 8625 8626 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8627 8628commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 8629Author: Jeremy Huddleston <jeremyhu@apple.com> 8630Date: Sun Oct 9 02:38:28 2011 -0700 8631 8632 Fix nobreakspace for pt_BR.UTF-8 8633 8634 https://bugs.freedesktop.org/show_bug.cgi?id=31334 8635 8636 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8637 8638commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 8639Author: Jeremy Huddleston <jeremyhu@apple.com> 8640Date: Sun Oct 9 02:26:45 2011 -0700 8641 8642 Fix potential uninitialized variable access in _XimMakeICAttrIDList 8643 8644 Found by clang static analysis 8645 8646 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8647 8648commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 8649Author: Jeremy Huddleston <jeremyhu@apple.com> 8650Date: Sun Oct 9 02:25:50 2011 -0700 8651 8652 Remove self-resolving aliases 8653 8654 https://bugs.freedesktop.org/show_bug.cgi?id=30112 8655 8656 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8657 8658commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 8659Author: Matt Dew <marcoz@osource.org> 8660Date: Fri Oct 7 22:52:30 2011 -0600 8661 8662 Cleanup IDs and links in doc 8663 8664 1 - fix the capitalization of the ID attributes to match either the 8665 <title> or <funcdef> string it goes with. 8666 2 - fix any <linkend>'s that were affected by 1. 8667 3 - any <function> in the docs that has an actual funcdef, 8668 will become an olink. 8669 8670 Signed-off-by: Matt Dew <marcoz@osource.org> 8671 8672commit f858f3326adbc0c5711669b92a64a84a9083a055 8673Author: James Cloos <cloos@jhcloos.com> 8674Date: Tue Oct 4 17:11:11 2011 -0400 8675 8676 [nls] Fix typo/synco. 8677 8678 The iso8859-1 Compose table includes an optional section which uses 8679 Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 8680 to generate an @ (at) either was incorrectly copied from the Multi_key 8681 section or was not kept in sync with the Multi_key section. 8682 8683 Fixing this eliminates the warning from compose-check.pl: 8684 8685 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8686 ┃ Clash with existing sequence in iso8859-1/Compose.pre 8687 ┃ on line 661: Ctrl<T> <A> <A> 8688 ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 8689 ┃ line #480: Ctrl<T> <A> <A> : "@" at 8690 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8691 8692 Signed-off-by: James Cloos <cloos@jhcloos.com> 8693 8694commit 7f35f7efc23234b3f8529fee31a802c21846d9ab 8695Author: Jeremy Huddleston <jeremyhu@apple.com> 8696Date: Mon Sep 26 11:32:56 2011 -0700 8697 8698 Remove conflicting compose sequences for cent and colon 8699 8700 Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 8701 Found by tinderbox 8702 8703 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8704 8705commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 8706Author: Jeremy Huddleston <jeremyhu@apple.com> 8707Date: Sun Sep 25 16:29:17 2011 -0700 8708 8709 Add additional compose sequences for pound sterling, yen, and cent (mixed case) 8710 8711 https://bugs.freedesktop.org/show_bug.cgi?id=1013 8712 8713 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8714 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8715 8716commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 8717Author: Jeremy Huddleston <jeremyhu@apple.com> 8718Date: Sat Sep 24 16:44:04 2011 -0700 8719 8720 Use a configure check for seteuid 8721 8722 HP-UX doesn't have seteuid 8723 8724 https://bugs.freedesktop.org/show_bug.cgi?id=1497 8725 8726 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8727 8728commit 79594b4d66344f248eb4314ecb78eb81f632c3ab 8729Author: Gaetan Nadon <memsize@videotron.ca> 8730Date: Tue Sep 20 16:06:10 2011 -0400 8731 8732 localedb specs: use <copyright> for first holder of multi license 8733 8734 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8735 8736commit 154430268cf004b06920edde2f1812dc16d71fae 8737Author: Gaetan Nadon <memsize@videotron.ca> 8738Date: Tue Sep 20 16:01:52 2011 -0400 8739 8740 libX11 specs: use <copyright> for first holder of multi license 8741 8742 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8743 8744commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 8745Author: Tollef Fog Heen <tfheen@err.no> 8746Date: Tue Sep 20 13:07:37 2011 -0400 8747 8748 NLS: Add more vulgar fractions 8749 8750 Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 8751 8752 Signed-off-by: Tollef Fog Heen <tfheen@err.no> 8753 Signed-off-by: James Cloos <cloos@jhcloos.com> 8754 8755commit e37a6da814b5653be46000a9a76902729660a2e6 8756Author: Alexander Polakov <polachok@gmail.com> 8757Date: Sat Sep 17 20:54:58 2011 +0400 8758 8759 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 8760 8761 There is no XAllowAccess man page to see. 8762 8763 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8764 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8765 8766commit a23f3323f269b33a43d16dce01395cd28bc41b45 8767Author: Gaetan Nadon <memsize@videotron.ca> 8768Date: Mon Sep 19 15:27:44 2011 -0400 8769 8770 XKB: provide adequate quotes for the license text 8771 8772 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8773 8774commit a9c7a5cad91d968f5536ef8fc735036e921832a3 8775Author: Gaetan Nadon <memsize@videotron.ca> 8776Date: Mon Sep 19 15:18:53 2011 -0400 8777 8778 XIM: refactor the multi licensing legal text 8779 8780 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8781 8782commit c46f934ed89e7de79746a0387c9f998d91994ea6 8783Author: Gaetan Nadon <memsize@videotron.ca> 8784Date: Mon Sep 19 10:33:30 2011 -0400 8785 8786 xim trans: restore Fujitsu copyright legal text 8787 8788 Somehow lost during docbook conversion. text from x.org ftp R7.5. 8789 8790 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8791 8792commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 8793Author: Gaetan Nadon <memsize@videotron.ca> 8794Date: Mon Sep 19 10:11:46 2011 -0400 8795 8796 xtrans: restore X Consortium original legal text 8797 8798 Asking X Consortium permission to use The Open Group name makes no sense. 8799 Even more so in 1994 before X Window System was passed on to the Open Group. 8800 8801 Using original text from xorg-docs/general/License 8802 8803 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8804 8805commit 136a381585a4a9686c11bad1a6130837978e677f 8806Author: Gaetan Nadon <memsize@videotron.ca> 8807Date: Mon Sep 19 10:03:21 2011 -0400 8808 8809 Framework: restore X Consortium copyright 8810 8811 Somewhat dammaged during docbook conversion. 8812 Also restore pasrt of the original license text 8813 8814 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8815 8816commit 33f346878406762704a0c13cdc018111c666f3c1 8817Author: Gaetan Nadon <memsize@videotron.ca> 8818Date: Mon Sep 19 09:50:00 2011 -0400 8819 8820 localedb: restore X Consortium original legal text 8821 8822 Asking X Consortium permission to use The Open Group name makes no sense. 8823 Even more so in 1994 before X Window System was passed on to the Open Group. 8824 8825 Using original text from xorg-docs/general/License 8826 8827 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8828 8829commit e99c9338e413efca026210b9d830efb5c74d34e5 8830Author: Gaetan Nadon <memsize@videotron.ca> 8831Date: Mon Sep 19 08:23:18 2011 -0400 8832 8833 specs: support multi licensed copyright notice and license text 8834 8835 For documentation having multiple licenses, the copyright and legalnotice 8836 elements sequence cannot instantiated multiple times. 8837 The copyright notice and license text are therefore coded inside a 8838 legalnotice element. The role attribute on the paragraph is used to allow 8839 styling of the copyright notice text which should not be italicized. 8840 8841 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8842 8843commit b9dedc757e667333ce899115d618f25cdaa4dd5e 8844Author: Gaetan Nadon <memsize@videotron.ca> 8845Date: Mon Sep 19 08:17:50 2011 -0400 8846 8847 localedb: add release info to spec 8848 8849 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8850 8851commit 4519c89a87ddce01e599542737a27c26030fe4ff 8852Author: Gaetan Nadon <memsize@videotron.ca> 8853Date: Mon Sep 19 08:05:32 2011 -0400 8854 8855 specs: fix The Open Group license text 8856 8857 The warranty referred to the X Consortium 8858 8859 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8860 8861commit 08ac378423e7be72e340197ba5559a1a36f1783c 8862Author: Gaetan Nadon <memsize@videotron.ca> 8863Date: Mon Sep 19 08:03:39 2011 -0400 8864 8865 specs: The strandard name is still "X Consortium Standard" 8866 8867 This spec, and fsproto spec, are the only two docs with a different 8868 standard name. 8869 8870 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8871 8872commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 8873Author: Gaetan Nadon <memsize@videotron.ca> 8874Date: Sun Sep 18 13:22:34 2011 -0400 8875 8876 specs: support multi licensed copyright notice and license text 8877 8878 For documentation having multiple licenses, the copyright and legalnotice 8879 elements sequence cannot instantiated multiple times. 8880 The copyright notice and license text are therefore coded inside a legalnotice 8881 element. The role attribute on the paragraph is used to allow styling of the 8882 copyright notice text which should not be italicized. 8883 8884 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8885 8886commit 278ca8947c1dabb2b819527dca0fa6190c034f67 8887Author: Gaetan Nadon <memsize@videotron.ca> 8888Date: Fri Sep 16 11:45:56 2011 -0400 8889 8890 docs: merge copyright holder under the same copyright notice 8891 8892 As per the docbook markup dtd. 8893 8894 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8895 8896commit 7ff012bb433109a622ac122ade71669e842ebdcf 8897Author: Gaetan Nadon <memsize@videotron.ca> 8898Date: Fri Sep 16 10:09:57 2011 -0400 8899 8900 specs: handle multiple sets of copyright notice/license/warranty 8901 8902 Docbook groups all the <copyright> elements together and all the 8903 <legalnotice> elements together. 8904 8905 We cannot have a sequence: 8906 <copyright> <legalnotice> <copyright> <legalnotice> [...] 8907 8908 A workaround, which was done in some documents, is to put the copyright 8909 notice inside the legalnotice in plain text without the <copyright> element. 8910 A formal paragraph title is added here which makes the copyright notice bold, 8911 and makes it much easier to locate. 8912 8913 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8914 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8915 8916commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 8917Author: Gaetan Nadon <memsize@videotron.ca> 8918Date: Wed Sep 14 15:55:42 2011 -0400 8919 8920 specs: remove orphan affiliation. 8921 8922 Authors affiliation are correct. 8923 8924 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8925 8926commit 0cc02a6df65214560b7575e89cebee741d6d2469 8927Author: Gaetan Nadon <memsize@videotron.ca> 8928Date: Tue Sep 13 17:39:02 2011 -0400 8929 8930 specs: use appropriate markup for Copyright statements 8931 8932 Also move <releaseinfo> to match order of appearance 8933 8934 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8935 8936commit afe13e19ebf0fc4e3460644164433af016f0add7 8937Author: Gaetan Nadon <memsize@videotron.ca> 8938Date: Mon Sep 12 16:54:45 2011 -0400 8939 8940 docs: use the &fullrelvers; entity to set X11 release information 8941 8942 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8943 8944commit 22a2153282db13e9d94881022b8c979539841a2c 8945Author: Gaetan Nadon <memsize@videotron.ca> 8946Date: Sun Sep 11 19:49:53 2011 -0400 8947 8948 docs: remove <productnumber> which is not used by default 8949 8950 This element is not rendered by default on the title. A template 8951 customization is required to display it. 8952 X Window System does not have a product number. 8953 8954 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8955 8956commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 8957Author: Gaetan Nadon <memsize@videotron.ca> 8958Date: Sun Sep 11 17:40:21 2011 -0400 8959 8960 docs: use the &fullrelvers; entity to set X11 release information 8961 8962 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8963 8964commit a6b2992f50b571d612ea9ade631c432c3099bc12 8965Author: Gaetan Nadon <memsize@videotron.ca> 8966Date: Sun Sep 11 17:38:42 2011 -0400 8967 8968 docs: remove orphan <affiliation> 8969 8970 Somehow created during the conversion from roff. Unable to locate 8971 the author to which it belongs. 8972 8973 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8974 8975commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 8976Author: Gaetan Nadon <memsize@videotron.ca> 8977Date: Sun Sep 11 17:38:05 2011 -0400 8978 8979 docs: remove <productnumber> which is not used by default 8980 8981 This element is not rendered by default on the title. A template 8982 customization is required to display it. 8983 X Window System does not have a product number. 8984 8985 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8986 8987commit 7d5b718c1edbc43c54b7001be548e515a49540ea 8988Author: Gaetan Nadon <memsize@videotron.ca> 8989Date: Fri Sep 9 14:46:39 2011 -0400 8990 8991 docbook.am: embed css styles inside the HTML HEAD element 8992 8993 Rather than referring to the external xorg.css stylesheet, embed the content 8994 of the file in the html output produced. This is accomplished by using 8995 version 1.10 of xorg-xhtml.xsl. 8996 8997 This makes the whole html docs tree much more relocatable. 8998 In addition, it eliminates xorg.css as a runtime file which makes 8999 xorg-sgml-doctools a build time only package. 9000 9001 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9002 9003commit 24632d280491c465dfe208ef788815890892e326 9004Author: Gaetan Nadon <memsize@videotron.ca> 9005Date: Mon Sep 5 12:53:12 2011 -0400 9006 9007 compose: upgrade makefile to support olinking on chunked html 9008 9009 The essential differences over the regular docbook.am are: 9010 Adding root.filename parameter for naming of chapters html files. 9011 Using xhtml xmlto format and xorg-chunk.xsl stylesheet 9012 Set olink.base.uri for pdf but not for chunked html 9013 Olink is not applicable to ps and txt formats. 9014 9015 Html chapters are added to shelf_DATA as they are also installed. 9016 The xml is generated from a perl script and not distributed. 9017 9018 Requires version 1.10 of xorg-sgml-doctools. 9019 9020 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9021 9022commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 9023Author: Gaetan Nadon <memsize@videotron.ca> 9024Date: Wed Aug 31 19:46:20 2011 -0400 9025 9026 docbook.am: refactor common flags for xmlto and xsltproc 9027 9028 Maximize reuse and reduce risk of setting the wrong flag 9029 at the wrong place. 9030 9031 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9032 9033commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 9034Author: Gaetan Nadon <memsize@videotron.ca> 9035Date: Wed Aug 31 10:46:59 2011 -0400 9036 9037 docbook.am: add search path for local entities 9038 9039 Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 9040 A module may want to add entities that apply only to itself and 9041 not to all modules, like the xserver does. 9042 9043 This feature may or may not be used in this module, but all modules 9044 share a copy of docbook.am. 9045 9046 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9047 9048commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 9049Author: Gaetan Nadon <memsize@videotron.ca> 9050Date: Thu Aug 25 14:39:20 2011 -0400 9051 9052 docbook.am: explicitly list xmlto flags for each target 9053 9054 Normal evolution of make targets make it impractical to factor out 9055 common command flags for xmlto. 9056 9057 The targets now list each command option as its presence or absence 9058 needs to be justified. 9059 9060 xorg.ss is only needed by xmlto for html. 9061 masterdb is only needed by xmlto. 9062 img.src.path must not be used by html. 9063 xsltproc need to use customization layer xorg-*.xsl. 9064 txt format is not required to search masterdb. 9065 9066 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9067 9068commit d5b3605f3b0639452e892e9ff3afb18bb7442069 9069Author: Gaetan Nadon <memsize@videotron.ca> 9070Date: Thu Aug 25 13:12:49 2011 -0400 9071 9072 docbook.am: do not generate docs if docbook customization layer is missing 9073 9074 The stylesheets used to be only about style, fonts or colors. 9075 Complex features are now used like olink and chunked html which 9076 may cause a build break when stylesheets are missing or lead to hard 9077 to find problem. 9078 9079 Some modules may be built when stylesheets are present while others 9080 are built without. There is no requirement to build crippled docs. 9081 9082 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9083 9084commit 7f23c72c94d9d14122426b0d8c66054f1402769a 9085Author: Gaetan Nadon <memsize@videotron.ca> 9086Date: Fri Aug 5 14:33:32 2011 -0400 9087 9088 libX11 specs: review doclifter generated tables 9089 9090 Many tables had a questionnable layout and some had information dropped. 9091 Each table was cross-referenced with a pre-docbook version 9092 to ensure semantic integrity. 9093 9094 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9095 9096commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 9097Author: Gaetan Nadon <memsize@videotron.ca> 9098Date: Wed Jul 20 15:28:47 2011 -0400 9099 9100 credits.xml: remove toc from Acknowledgments 9101 9102 There should be no toc for a simple preface with only one 9103 Acknowledgments section. 9104 9105 Use <simplesect> markup rather than sect1. 9106 9107 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9108 9109commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 9110Author: Gaetan Nadon <memsize@videotron.ca> 9111Date: Thu Aug 4 19:59:37 2011 -0400 9112 9113 libX11 specs: move </para> above <varaiablelist> 9114 9115 Many, but not all, function synopsis have a paragraph that 9116 nests the variable list. The code was generated by doclifter 9117 and there is no apprent reasons as to why it was done this way. 9118 Found while investigating a spacing issue. 9119 9120 Before the patch: 9121 <para>Some blurb about the function 9122 <funcsynopsis> 9123 </funcsynopsis> 9124 <variablelist> 9125 </variablelist> 9126 </para> 9127 9128 After the patch: 9129 <para>Some blurb about the function</para> 9130 <funcsynopsis> 9131 </funcsynopsis> 9132 <variablelist> 9133 </variablelist> 9134 9135 There are no noticable differences when reading the doc 9136 other than than the removed few pixels of spacing between 9137 the function sysnopsis and the variable list block. 9138 9139 In some cases, there are no "blurb about the fucntion" 9140 and the empty paragraph is removed. 9141 9142 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9143 9144commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 9145Author: Gaetan Nadon <memsize@videotron.ca> 9146Date: Thu Jul 28 19:46:14 2011 -0400 9147 9148 compose specs: generate chunked html 9149 9150 For large 600 page documents such as this one, chunked html 9151 provide faster browser load time and better navigation. 9152 9153 Simply click on the locale of your choice in the toc and 9154 the browser loads just that one file. Being a DocBook, 9155 it benefits from all of the usual features and can be 9156 integrated with the rest of the documentation. 9157 9158 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9159 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9160 9161commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 9162Author: Gaetan Nadon <memsize@videotron.ca> 9163Date: Thu Jun 23 15:16:47 2011 -0400 9164 9165 specs: build compose keys tables in specs/i18n/compose 9166 9167 Build the tables article together with the rest of the specs. 9168 Make it transparent that the source in generated in nls. 9169 Reuse docbook.am and get all the features such as olink. 9170 9171 The docbook article file stem and id must be the same. The new name 9172 for the main article is libX11-keys. The new installation location 9173 is $docdir/libX11/i18n/compose. 9174 9175 The nls dir retains the role of generating the DocBook/XML source 9176 but does not build neither installs output formats or generated source. 9177 9178 The tables article now has to specify that each included locale 9179 section is a dependency. It did not matter before as they were web links. 9180 9181 The xorg-sgml-doctools masterdb shall be updated to include this new doc. 9182 Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 9183 9184 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9185 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9186 9187commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 9188Author: Gaetan Nadon <memsize@videotron.ca> 9189Date: Thu Jun 23 14:43:31 2011 -0400 9190 9191 nls: restructure charts as a single article with sections 9192 9193 Looks more like a real article with a toc rather than individual 9194 web pages. Looks nicer in pdf. 9195 9196 Each locale is a "section" rather than an "article". 9197 Using XInclude to aggregate xml source files gets you the toc for free. 9198 9199 The single document is over 600 pages while there were 62 separate 9200 documents previously. FOP version 1.0 is required to handle missing 9201 character like capital sharp s. 9202 9203 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9204 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9205 9206commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 9207Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9208Date: Thu Jul 28 19:32:40 2011 -0700 9209 9210 libX11 1.4.4 9211 9212 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9213 9214commit ab1f30231755d99ed123af6873b981834640f01d 9215Author: Matt Dew <marcoz@osource.org> 9216Date: Wed Jul 13 12:33:40 2011 -0600 9217 9218 Add id attributes to error codes to allow linking from other docs. 9219 9220 Signed-off-by: Matt Dew <marcoz@osource.org> 9221 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9222 Acked-by: Gaetan Nadon <memsize@videotron.ca> 9223 9224commit 5c831fef402914ccf2ec14005c25be48852f119b 9225Author: David Coppa <dcoppa@gmail.com> 9226Date: Tue Jul 12 10:05:47 2011 +0200 9227 9228 Fix libpthread linkage on OpenBSD. 9229 9230 OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 9231 9232 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 9233 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9234 9235commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 9236Author: Gaetan Nadon <memsize@videotron.ca> 9237Date: Wed Jun 22 20:46:26 2011 -0400 9238 9239 config: use XORG_WITH_PERL macro to replace custom program check 9240 9241 New in version util-macros 1.15, the macro does the usual checking 9242 for program path and provides an interface for makefile variables. 9243 9244 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9245 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9246 9247commit 47d99a324db9232029a22dd523e3bc3ed0936aca 9248Author: Gaetan Nadon <memsize@videotron.ca> 9249Date: Wed Jun 22 20:41:18 2011 -0400 9250 9251 config: update XORG_WITH_FOP macro usage 9252 9253 A new feature to test for a minimum version has been added. 9254 9255 The parameter position changed. Due to limited usage 9256 and requiring 1.15, it turns out to be backward compatible. 9257 9258 There is no functional change to how docs are build. 9259 9260 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9261 9262commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 9263Author: Gaetan Nadon <memsize@videotron.ca> 9264Date: Wed Jun 22 11:48:49 2011 -0400 9265 9266 Remove unused xmlrules.in in specs, now in /nls 9267 9268 The specs dir has been converted to docbook.am 9269 9270 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9271 9272commit 9992092609bd83a0db778e9a9ac1e879d445e637 9273Author: Gaetan Nadon <memsize@videotron.ca> 9274Date: Thu Mar 31 10:23:22 2011 -0400 9275 9276 nls: move xmlrules.in from specs to nls 9277 9278 It is no longer used in the specs dir. 9279 Remove html from CLEANFILES as it breaks. Make do not clean directories 9280 Remove SUFFIXES as pattern rules are used rather than suffix rules. 9281 9282 Other improvements are possible, the first priority is to move it out 9283 of the specs dir. 9284 9285 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 9286 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9287 9288commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 9289Author: Gaetan Nadon <memsize@videotron.ca> 9290Date: Sun Jun 5 16:27:36 2011 -0400 9291 9292 Install target dbs alongside generated documents 9293 9294 This matches a change in xorg-sgml-docs whereby the masterdb will look for 9295 the target dbs into the same location as the generated documents. 9296 9297 The target dbs are now installed alongside the generated documents. 9298 Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 9299 has the potential of installing outside the package prefix and cause 9300 distcheck to fail when user does not have write permission in this package. 9301 9302 Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 9303 9304commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 9305Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9306Date: Tue Jun 7 18:41:30 2011 -0700 9307 9308 specs/libX11: Turn appendix references into links 9309 9310 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9311 9312commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 9313Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9314Date: Tue Jun 7 18:37:41 2011 -0700 9315 9316 specs/libX11: Turn chapter references into links 9317 9318 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9319 9320commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 9321Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9322Date: Tue Jun 7 00:52:32 2011 -0700 9323 9324 specs/libX11: Turn many "see section ..." into links 9325 9326 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9327 9328commit 02d4c08dead2f266809b3f93ec72377783423ac7 9329Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9330Date: Sun Jun 5 22:50:37 2011 -0700 9331 9332 specs/libX11: Convert some header filenames to filename tags 9333 9334 perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 9335 9336 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9337 9338commit c51a011329afa6e5b9d2b285349c132683ecf9fb 9339Author: Matt Dew <marcoz@osource.org> 9340Date: Tue May 31 20:03:23 2011 -0600 9341 9342 Add id attributes to funcsynopsis to allow other docs to olink to them. 9343 9344 Signed-off-by: Matt Dew <marcoz@osource.org> 9345 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9346 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9347 9348commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 9349Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9350Date: Fri May 27 20:14:36 2011 -0700 9351 9352 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 9353 9354 https://bugs.freedesktop.org/show_bug.cgi?id=37624 9355 9356 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9357 9358commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 9359Author: Matt Dew <marcoz@osource.org> 9360Date: Sat May 21 00:23:06 2011 -0600 9361 9362 Add id's to functions, to make clickable links. 9363 9364 Signed-off-by: Matt Dew <marcoz@osource.org> 9365 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9366 9367commit 5c06bc594473f6ab234724cd90db32e7b57fe811 9368Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9369Date: Fri May 20 15:38:08 2011 -0700 9370 9371 libX11 spec: fix monospaced column alignment after deligaturization 9372 9373 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9374 9375commit ef0019c714c273cb9b4ad3eba52d0b905109826b 9376Author: James Cloos <cloos@jhcloos.com> 9377Date: Fri May 20 15:51:46 2011 -0400 9378 9379 Expand latin ligatures out to their NFKC equivalents. 9380 9381 Ligatures should be done by the typesetting system. 9382 Manuscripts should not bother with them. 9383 9384 Signed-off-by: James Cloos <cloos@jhcloos.com> 9385 Reviewed-by: Keith Packard <keithp@keithp.com> 9386 9387commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 9388Author: Daniel Stone <daniel@fooishbar.org> 9389Date: Thu May 12 16:21:50 2011 +0200 9390 9391 XCB: Add more friendly error messages for common asserts 9392 9393 This patch adds more friendly error messages for three common classes of 9394 assertion: 9395 - missed sequence numbers due to being griefed by another thread 9396 - unknown requests in queue due to being griefed by another thread 9397 - extensions dequeuing too much or too little reply data 9398 9399 It adds error messages offering advice (e.g. call XInitThreads() first) 9400 on stderr, but still generates actual assertions. Hopefully this means 9401 it's a little more Googleable and a little less frightening. 9402 9403 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9404 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9405 9406commit 159bf292477048b9a2f074735afc516f52c93d80 9407Author: Gaetan Nadon <memsize@videotron.ca> 9408Date: Thu May 19 20:22:11 2011 -0400 9409 9410 Remove misplaced hyphens in libX11 DocBook/XML #37364 9411 9412 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 9413 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9414 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9415 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9416 9417commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 9418Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9419Date: Tue May 17 20:49:59 2011 -0700 9420 9421 Fix man page and comment references to use XFreeModifiermap (lowercase map) 9422 9423 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9424 9425commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 9426Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9427Date: Tue May 17 20:30:54 2011 -0700 9428 9429 XKB man pages: Fix coordinantes typo in multiple pages 9430 9431 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9432 9433commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 9434Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9435Date: Tue May 17 16:27:32 2011 -0700 9436 9437 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 9438 9439 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9440 9441commit ae39d82b01359b07dd1fe092d867f79ea95a5438 9442Author: Jeremy Huddleston <jeremyhu@apple.com> 9443Date: Sun May 8 09:08:07 2011 -0700 9444 9445 Silence clang static analysis warnings for SetReqLen 9446 9447 This provides a simplified version of the SetReqLen macro when using clang for 9448 static analysis. Prior to this change, we would see many Idempotent operation 9449 warnings inside this macro due to the common case of calling with arg2 and 9450 arg3 being the same variable. This has no effect on code produced during 9451 compilation, but it silences a number of false positives in static analysis. 9452 9453 XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 9454 SetReqLen(req, num_modifiers, num_modifiers); 9455 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9456 In file included from XIPassiveGrab.c:26: 9457 .../include/X11/Xlibint.h:580:8: note: instantiated from: 9458 n = badlen; \ 9459 ^ 9460 9461 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9462 9463commit 130af2bc02090ee2526adb2f9803fc07019b8f1f 9464Author: Jeremy Huddleston <jeremyhu@apple.com> 9465Date: Wed May 4 15:34:31 2011 -0700 9466 9467 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 9468 9469 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 9470 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 9471 ^~~~~~~ 9472 9473 Found-by: clang static analyzer 9474 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9475 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9476 9477commit c987ef04bea345d5810e60cf6c53b747ddbe910e 9478Author: Jeremy Huddleston <jeremyhu@apple.com> 9479Date: Wed May 4 15:31:17 2011 -0700 9480 9481 Revert "XKB: Avoid a possible NULL dereference" 9482 9483 Sorry for the noise. I accidentally pushed and didn't mean to. =( 9484 9485 This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 9486 9487commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 9488Author: Jeremy Huddleston <jeremyhu@apple.com> 9489Date: Wed May 4 11:35:31 2011 -0700 9490 9491 Dead code removal 9492 9493 XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 9494 for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 9495 ~~~^~~~ 9496 XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 9497 pos= 0; 9498 ^ ~ 9499 9500 Found-by: clang static analyzer 9501 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9502 9503commit 4024091678ea07e0d898b798df9b29f3bf68eb08 9504Author: Jeremy Huddleston <jeremyhu@apple.com> 9505Date: Wed May 4 11:34:53 2011 -0700 9506 9507 XKB: Avoid a possible NULL dereference 9508 9509 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 9510 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 9511 ^~~~~~~ 9512 9513 Found-by: clang static analyzer 9514 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9515 9516commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 9517Author: Jeremy Huddleston <jeremyhu@apple.com> 9518Date: Wed May 4 11:21:41 2011 -0700 9519 9520 Annotate _XIOError as _X_NORETURN 9521 9522 Found-by: clang static analyzer 9523 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9524 9525commit d3d7896408b435ab42656398839ff4351a37724d 9526Author: Jeremy Huddleston <jeremyhu@apple.com> 9527Date: Tue May 3 09:32:53 2011 -0700 9528 9529 clang analyzer: Don't warn about Xmalloc(0) 9530 9531 This will prevent a number of false positives in where clang's 9532 static analysis reports about calls to malloc(0). 9533 9534 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9535 9536commit 393921cf2188b2b0713cc157effaf17d0abab783 9537Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9538Date: Thu Apr 21 16:21:04 2011 -0700 9539 9540 Delete special case code to append "/sparcv9" to i18n module path 9541 9542 Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 9543 Inconsistent with all other platforms, and a bit overcomplicated. 9544 9545 Should anyone need to continue using that path, simply build with 9546 a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 9547 9548 Fixes Solaris bug 7038737: 9549 sparcv9 Xlib looking in wrong path for i18n loadable modules 9550 9551 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9552 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 9553 9554commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 9555Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9556Date: Thu Apr 14 13:47:12 2011 -0700 9557 9558 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 9559 9560 Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 9561 9562 https://bugs.freedesktop.org/show_bug.cgi?id=36244 9563 9564 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9565 9566commit b850adbdebcf500c659f85285d4d7374e15857f5 9567Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9568Date: Tue Apr 12 22:30:45 2011 -0700 9569 9570 Convert malloc(strlen()); strcpy() sets to strdup 9571 9572 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9573 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9574 9575commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 9576Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9577Date: Tue Apr 12 21:27:45 2011 -0700 9578 9579 Replace Xmalloc+bzero pairs with Xcalloc calls 9580 9581 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9582 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9583 9584commit ac1e2bff7121987fd768500a11d428d9fb9447c5 9585Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9586Date: Fri Mar 25 14:47:35 2011 +0200 9587 9588 om: Fix memory leaks on get_font_name error paths. 9589 9590 While at it, remove unneeded check for NULL before Xfree. 9591 9592 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9593 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9594 9595commit 7c362e275c93c92b4e68fe862e73ee36665de703 9596Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9597Date: Wed Mar 30 15:06:10 2011 +0300 9598 9599 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 9600 9601 pScreenData is replaced when building per visual intensity tables. If 9602 malloc failed the old value of pScreenData (stored also in 9603 pScreenDefaultData) was being leaked. Also, property_return wasn't 9604 free'd in that case. 9605 9606 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9607 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9608 9609commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 9610Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9611Date: Wed Mar 30 15:19:28 2011 +0300 9612 9613 xcms: Fix error on LINEAR_RGB_InitSCCData error path. 9614 9615 Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 9616 be accessed after being free'd. 9617 9618 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9619 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9620 9621commit d749948f9492fd9b61c74655a08e32c595e0e3a5 9622Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9623Date: Fri Mar 25 16:06:15 2011 +0200 9624 9625 om: Fix potential memory leak in init_om. 9626 9627 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9628 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9629 9630commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 9631Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9632Date: Thu Mar 24 20:40:41 2011 +0200 9633 9634 om: Fix memory leak on read_EncodingInfo error path. 9635 9636 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9637 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9638 9639commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 9640Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9641Date: Thu Mar 24 19:55:33 2011 +0200 9642 9643 Fix memory leaks on _XimCbDispatch error path. 9644 9645 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9646 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9647 9648commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 9649Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9650Date: Thu Mar 24 19:52:05 2011 +0200 9651 9652 Fix memory leak on _XimCommitRecv error path. 9653 9654 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9655 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9656 9657commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 9658Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9659Date: Thu Mar 24 19:48:44 2011 +0200 9660 9661 Fix memory leaks on _XimWriteCachedDefaultTree error paths. 9662 9663 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9664 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9665 9666commit e29be94edbb58b3b8dab545377a710d1f73b61e0 9667Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9668Date: Thu Mar 24 19:42:36 2011 +0200 9669 9670 Fix memory leaks on _XimGetAttributeID error paths. 9671 9672 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9673 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9674 9675commit d144a50512466766f55ce61e3884925334b08f0d 9676Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9677Date: Thu Mar 24 19:36:56 2011 +0200 9678 9679 Fix memory leaks on _XimProtoCreateIC error paths. 9680 9681 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9682 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9683 9684commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 9685Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9686Date: Thu Mar 24 16:24:29 2011 +0200 9687 9688 Fix leaks in _XimEncodingNegotiation error paths. 9689 9690 name_ptr and detail_ptr weren't free'd in some cases before returning 9691 False. 9692 9693 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9694 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9695 9696commit 396e5a452a59c1f121220ba72167b720a863b30f 9697Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9698Date: Thu Mar 24 14:17:44 2011 +0200 9699 9700 FSWrap: fix potential leak in copy_string_list 9701 9702 If list_count is 0, dst would be allocated and leaked. 9703 9704 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9705 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9706 9707commit 1a944260182bb552b954d69f6355c2760d4415df 9708Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9709Date: Wed Mar 23 14:36:22 2011 +0200 9710 9711 Fix memory leak with broken bitmap files in XReadBitmapFileData 9712 9713 Bitmap file data is read looping through the lines in the input file. If 9714 there is extra data after the bitmap, these lines will be processed and 9715 if this data represents another bitmap it will replace the one read 9716 before causing the memory allocated for bits to leak. 9717 9718 This changes the code to stop processing the file once a bitmap was 9719 read. 9720 9721 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 9722 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9723 9724commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 9725Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9726Date: Tue Apr 12 20:50:42 2011 -0700 9727 9728 Fix "attrinute" typo in comments in ximcp 9729 9730 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9731 9732commit 7103b83a88edb9c93acfa68f3b556595b087baff 9733Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9734Date: Fri Apr 8 21:36:11 2011 -0700 9735 9736 Make doc install subdirectories more like the pre-docbook.am paths 9737 9738 Haven't restored the "specs" path in the install path, but have restored 9739 libX11 & i18n subdirectories in the path for better logical grouping. 9740 9741 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9742 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9743 9744commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 9745Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9746Date: Fri Apr 8 13:24:28 2011 -0700 9747 9748 Install xml versions of specs even if HAVE_XMLTO is false 9749 9750 Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 9751 from before docbook.am changes (commit e8c76407d2f6e3) 9752 9753 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9754 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9755 9756commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 9757Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9758Date: Tue Apr 5 13:29:04 2011 -0700 9759 9760 libX11 1.4.3 9761 9762 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9763 9764commit e8c76407d2f6e3b11babdb84426e43e780c859c3 9765Author: Gaetan Nadon <memsize@videotron.ca> 9766Date: Fri Feb 25 09:23:54 2011 -0500 9767 9768 Documentation: add Docbook external references support 9769 9770 When writing technical documentation, it is often necessary to cross 9771 reference to other information. When that other information is not in the 9772 current document, additional support is needed, namely <olink>. 9773 9774 A new feature with version 1.7 of xorg-sgml-doctools adds references to 9775 other documents within or outside this package. 9776 9777 This patch adds technical support for this feature but does not change 9778 the content of the documentation as seen by the end user. 9779 9780 Each book or article must generate a database containing the href 9781 of sections that can be referred to from another document. This database 9782 is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 9783 the value of DATAROOTDIR for xorg-sgml-doctools and for the package 9784 documentation is the same. This forms a virtual document tree. 9785 9786 This database is consulted by other documents while they are being generated 9787 in order to fulfill the missing information for linking. 9788 Refer to the xorg-sgml-doctools for further technical information. 9789 9790 Co-authored-by: Matt Dew <marcoz@osource.org> 9791 9792 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9793 9794commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 9795Author: Harshula Jayasuriya <harshula@gmail.com> 9796Date: Mon Mar 21 14:49:37 2011 +0000 9797 9798 Add #define XK_SINHALA 9799 9800 Add #define XK_SINHALA so that the Sinhala keysyms can be used by 9801 the lk xkb keymap. 9802 9803 Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 9804 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 9805 9806commit db8b20b789112717ac0590b40f0b4dc2171797d0 9807Author: Jeremy Huddleston <jeremyhu@apple.com> 9808Date: Thu Mar 17 16:15:00 2011 -0700 9809 9810 configure.ac: Bump version to 1.4.2 9811 9812 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9813 9814commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 9815Author: Jamey Sharp <jamey@minilop.net> 9816Date: Tue Mar 15 16:48:07 2011 -0700 9817 9818 Call _XErrorFunction without holding the Display lock. 9819 9820 Historically, Xlib dropped the Display lock around the upcall to any 9821 user-supplied _XErrorFunction, but somewhere along the way I quit doing 9822 that if you built with XCB. The reasons are lost somewhere in the 9823 pre-git history of Xlib/XCB, and I can't now see any reason to hold the 9824 lock. 9825 9826 The documentation for XSetErrorHandler still applies though: 9827 9828 Because this condition is not assumed to be fatal, it is acceptable 9829 for your error handler to return; the returned value is ignored. 9830 However, the error handler should not call any functions (directly 9831 or indirectly) on the display that will generate protocol requests 9832 or that will look for input events. 9833 9834 So while you are now once again permitted to re-enter Xlib from the 9835 error handler, you're only allowed to call non-protocol functions. 9836 9837 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9838 9839commit fd85aca7a616c595fc17b2520f84316a11e8906f 9840Author: Jamey Sharp <jamey@minilop.net> 9841Date: Mon Mar 14 14:45:35 2011 -0700 9842 9843 Ignore user locks after sleeping in _XReply and _XReadEvents. 9844 9845 This bug appears as a hang in applications that wait for replies from 9846 multiple threads, where one such thread has taken a user lock using 9847 XLockDisplay. 9848 9849 Prior to this fix, the code could deadlock in this way: If thread 1 goes 9850 to sleep waiting for a reply, and then thread 2 takes a user lock and 9851 waits for a reply, then thread 2 will wait for thread 1 to process its 9852 reply (because responses must be processed in order), but thread 1 will 9853 wait for thread 2 to drop its user lock. 9854 9855 Fixed by making thread 1 not wait for thread 2 to drop its user lock. 9856 This makes the semantics of user locks hard to define, but they were 9857 already hard to define. The new behavior appears to be consistent with 9858 the way Xlib worked historically, anyway. 9859 9860 Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 9861 9862 There was a similar potential for deadlock in _XReadEvents, fixed the 9863 same way, with the same caveats about user-lock semantics. 9864 9865 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9866 9867commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 9868Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 9869Date: Tue Jan 18 15:58:20 2011 +0200 9870 9871 xkb: XkbPropertyPtr determined allocation success from wrong variables 9872 9873 Cannot reach dead statement "return NULL;" 9874 9875 Check for the NULLness of prop->name and prop->value instead of 9876 name and value, which was checked earlier anyway. Decided against 9877 using strdup due to curious memory allocation functions and the 9878 rest of the xkb not using it either. 9879 9880 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 9881 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 9882 9883commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 9884Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 9885Date: Mon Jan 10 16:37:22 2011 +0200 9886 9887 keyBind: Use Xcalloc to initialize allocated _XKeytrans 9888 9889 Using uninitialized value "p->modifiers" 9890 9891 Small fix by using Xcalloc instead of Xmalloc 9892 9893 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 9894 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 9895 9896commit b993d73bb3214ecc24646f5427c8003b816c6921 9897Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 9898Date: Mon Jan 10 16:22:45 2011 +0200 9899 9900 im/ximcp: release modifiermap before returning 9901 9902 Variable "map" goes out of scope 9903 9904 Release modifiermap before returning. Reordered code to call 9905 XGetModifierMapping after the first return from the function. 9906 9907 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 9908 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 9909 9910commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 9911Author: Gaetan Nadon <memsize@videotron.ca> 9912Date: Fri Feb 25 09:23:54 2011 -0500 9913 9914 Docbook: change the book id to match the xml file basename 9915 9916 This is required for the up-coming external references support. 9917 9918 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9919 9920commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 9921Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 9922Date: Mon Feb 21 21:54:17 2011 +0100 9923 9924 Make the Local XIM request key releases for braille 9925 9926 Braille chords management needs key release events. We need to explicitly 9927 request then, else GTK would not pass them throught XFilterEvent and braille 9928 wouldn't work. 9929 9930 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 9931 9932commit c97c42c49cd5095462abecdf908b416fb0b540b6 9933Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 9934Date: Mon Feb 21 17:27:38 2011 +0100 9935 9936 Match braille patterns with compose tree 9937 9938 Braille patterns should also be usable in Compose. This combines the 9939 implementation of braille chords and compose tree: only emit the braille 9940 pattern if it can not be found in the compose tree, if any. 9941 9942 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 9943 9944commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 9945Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 9946Date: Mon Feb 21 15:56:54 2011 +0100 9947 9948 Fix status reporting for braille patterns 9949 9950 _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 9951 convert to the current MB charset. 9952 _XimLocalUtf8LookupString needs to set the braille keysym and status too. 9953 9954 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 9955 9956commit 993abe751f4141f54d8d28b8b73588a1c9085970 9957Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9958Date: Fri Feb 11 14:49:17 2011 -0800 9959 9960 Clean up memory when first XCreateRegion succeeds and second fails 9961 9962 Error: Memory leak (CWE 401) 9963 Memory leak of pointer 's' allocated with XCreateRegion() 9964 at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 9965 's' allocated at line 387 with XCreateRegion(). 9966 s leaks when s != 0 at line 387. 9967 Error: Memory leak (CWE 401) 9968 Memory leak of pointer 'tra' allocated with XCreateRegion() 9969 at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 9970 'tra' allocated at line 1451 with XCreateRegion(). 9971 tra leaks when tra != 0 at line 1451. 9972 9973 [ This bug was found by the Parfait 0.3.6 bug checking tool. 9974 For more information see http://labs.oracle.com/projects/parfait/ ] 9975 9976 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9977 9978commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 9979Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9980Date: Fri Feb 11 14:20:24 2011 -0800 9981 9982 ximcp: Prevent memory leak & double free if multiple %L in string 9983 9984 In the highly unlikely event that TransFileName was passed a path 9985 containing multiple %L entries, for each entry it would call 9986 _XlcFileName, leaking the previous results, and then for each entry it 9987 would copy from that pointer and free it, resulting in invalid pointers 9988 & possible double frees for each use after the first one freed it. 9989 9990 Error: Use after free (CWE 416) 9991 Use after free of pointer 'lcCompose' 9992 at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 9993 Previously freed at line 360 with free. 9994 Error: Use after free (CWE 416) 9995 Use after free of pointer 'lcCompose' 9996 at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 9997 Previously freed at line 360 with free. 9998 Error: Double free (CWE 415) 9999 Double free of pointer 'lcCompose' 10000 at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 10001 Previously freed at line 360 with free. 10002 10003 [ This bug was found by the Parfait 0.3.6 bug checking tool. 10004 For more information see http://labs.oracle.com/projects/parfait/ ] 10005 10006 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10007 10008commit 502d414118c97d35a44f8e295709682022876331 10009Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10010Date: Thu Feb 3 17:08:57 2011 +0200 10011 10012 xcms/cmsProp: don't deal with uninitialized values, fail instead 10013 10014 Properly handle the return value of XGetWindowProperty by considering 10015 if after the loop as well. 10016 10017 Using freed pointer "prop_ret" 10018 10019 There were numerous things wrong in how this function interacted with 10020 XGetWindowProperty. 10021 10022 None of the local variables were initialized and remained that way if 10023 the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 10024 result in after_ret being initialized in which case if it happens to 10025 be 0, the loop was exited. In that case format_ret and nitems_ret were 10026 uninitialized and the function might return with success (but with 10027 uninitialized pointer in prop_ret) or XcmsFailure. 10028 10029 As the buffer enlarging code was called only when XGetWindowProperty 10030 failed (returned not Success), after_ret would not have been 10031 initialized. It would have been initialized only if the 10032 XGetWindowProperty has returned Success earlier, but in that case the 10033 code fragment would not have been reached. 10034 10035 This patch alters the function to return XcmsFailure if the call to 10036 XGetWindowProperty fails. 10037 10038 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10039 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10040 Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 10041 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10042 10043commit c37e278993b9e5b3d7025ef4c434373a011996ec 10044Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10045Date: Mon Jan 31 14:02:07 2011 +0200 10046 10047 xcms/LRGB: don't double-free property_return 10048 10049 property_return was free'd before and in the case the conditional is true, 10050 the call to XcmsGetProperty failed which means that property_return wasn't 10051 set so there is no need to free it again. 10052 10053 Double free of pointer "property_return" in call to "free" 10054 10055 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10056 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10057 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10058 10059commit 50f4107811249806718a100f9d34f996c58e5e25 10060Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10061Date: Wed Feb 2 08:58:45 2011 -0800 10062 10063 Xrm.c: ReadInFile: refactor fstat error handling 10064 10065 We can simplify the fstat failure case now that the GetFileSize macro 10066 has been expanded inline. 10067 10068 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10069 Reviewed-by: Julien Cristau <jcristau@debian.org> 10070 10071commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 10072Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10073Date: Wed Feb 2 08:56:00 2011 -0800 10074 10075 Expand GetSizeOfFile() macro at the one place it's called 10076 10077 Removes XrmI.h header that only contained this single macro 10078 10079 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10080 Reviewed-by: Julien Cristau <jcristau@debian.org> 10081 10082commit 450e17422c0e374d25c643f343ea268cec68da38 10083Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10084Date: Mon Jan 31 14:01:57 2011 +0200 10085 10086 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 10087 10088 Possible overrun of 8192 byte fixed size buffer "buffer" by copying 10089 "ext->name" without length checking 10090 10091 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10092 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10093 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10094 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10095 10096commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 10097Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10098Date: Mon Jan 31 14:02:13 2011 +0200 10099 10100 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 10101 10102 Fixed by zero'ing conv on allocation with Xcalloc. Then 10103 close_converter works properly. 10104 10105 Using uninitialized value "conv->state" in call to function "close_converter" 10106 10107 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10108 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10109 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10110 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10111 10112commit 03f81ad8fb9783986cf9b17661dd31e95c396681 10113Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10114Date: Mon Jan 31 14:02:16 2011 +0200 10115 10116 xlibi18n/lcFile: Removed superfluous check for NULL target_dir 10117 10118 The situation is already handled before this code. 10119 10120 Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 10121 10122 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10123 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10124 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10125 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10126 10127commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 10128Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10129Date: Mon Jan 31 14:02:15 2011 +0200 10130 10131 ximcp/imLckup: Handle negative return value from _Xlcwctomb 10132 10133 Fixed by negative value to memcpy by checking for the negative return 10134 value of _Xlcwctomb and returning 0/XLookupNone in that case. 10135 10136 a negative value was passed to memcpy 10137 10138 Unfortunately the other return values for *status don't fit into the 10139 error (which appears to indicate some internal error or running out of 10140 memory). The other valid status codes are XBufferOverflow, 10141 XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 10142 these has a specific meaning attached. 10143 10144 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10145 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10146 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10147 10148commit 79a5c86e020f08cc108184298a72e2777036de39 10149Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10150Date: Mon Jan 31 14:02:14 2011 +0200 10151 10152 ximcp/imTrX: Handle failing XGetWindowProperty 10153 10154 Checked return value of XGetWindowProperty and return false if it fails. 10155 10156 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 10157 10158 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10159 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10160 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10161 10162commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 10163Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10164Date: Mon Jan 31 14:02:12 2011 +0200 10165 10166 XlibInt: info_list->watch_data was reallocated, but result was discarded 10167 10168 info_list->watch_data was being reallocated, but the return value of 10169 the reallocation was stored only into a local variable. This might 10170 cause some funky behavior and crashes. 10171 10172 Variable "wd_array" goes out of scope 10173 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)))" 10174 10175 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10176 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10177 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10178 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10179 10180commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 10181Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10182Date: Mon Jan 31 14:02:10 2011 +0200 10183 10184 GetProp: Zero-initialized error so its resourceID field is initialized 10185 10186 Using uninitialized value "error.resourceID" in call to function "_XError" 10187 10188 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10189 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10190 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10191 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10192 10193commit 85e9f38e016137f0ff2791eb0d092ab027382d2c 10194Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10195Date: Tue Feb 1 11:07:25 2011 +0200 10196 10197 xcms/LRGB: Add a label for freeing property_return. 10198 10199 The rest of the code uses goto's to free memory allocated later 10200 and prevent memory leaks, but there were several paths were 10201 property_return was free'd just before a goto. 10202 10203 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10204 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10205 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10206 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10207 10208commit 3161dc57d4e9b70f852f05e5e474455e121b06ab 10209Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10210Date: Mon Jan 31 14:02:08 2011 +0200 10211 10212 xcms/LRGB: Fix potential resource leak. 10213 10214 property_return was not free'd if the allocation of pRedTbl failed. 10215 10216 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10217 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10218 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10219 10220commit be3e6c205d94dedc1cdebf5d17b987f0f828377a 10221Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10222Date: Mon Jan 31 14:02:06 2011 +0200 10223 10224 Xrm: Handle the extremely unlikely situation of fstat failing 10225 10226 Tracked variable "size" was passed to a negative sink. 10227 10228 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10229 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10230 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10231 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10232 10233commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 10234Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10235Date: Mon Jan 31 14:02:05 2011 +0200 10236 10237 Xrm: NEWTABLE had a memory leak after a memory allocation error 10238 10239 The NEWTABLE macro missed freeing its allocated memory on subsequent 10240 memory allocation errors. Added call to Xfree. 10241 10242 Variable "table" goes out of scope 10243 10244 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10245 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10246 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10247 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10248 10249commit 7110ac653349a23c80c365f11f6270dc27c8975a 10250Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10251Date: Mon Jan 31 14:02:03 2011 +0200 10252 10253 ImUtil: Handle a memory leak in one early return branch 10254 10255 Fixed memory leak by adding Xfree for image 10256 10257 Variable "image" goes out of scope 10258 10259 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10260 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10261 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10262 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10263 10264commit d695f5da9f5b778e54b6987d9177048e32818c4d 10265Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10266Date: Mon Jan 31 14:02:01 2011 +0200 10267 10268 ximcp/imRm: Handle leaking colormap_ret 10269 10270 Fixed memory leak by adding Xfree for colormap_ret 10271 10272 Variable "colormap_ret" goes out of scope 10273 10274 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10275 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10276 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10277 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10278 10279commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 10280Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10281Date: Mon Jan 31 14:01:59 2011 +0200 10282 10283 ximcp/imRmAttr: Handle leaking missing_list 10284 10285 Fixed memory leak by adding Xfree and initializing missing_list with NULL 10286 10287 Variable "missing_list" goes out of scope 10288 10289 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10290 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10291 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10292 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10293 10294commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 10295Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10296Date: Mon Jan 31 14:01:58 2011 +0200 10297 10298 ximcp/imRmAttr: Handle leaking colormap_ret 10299 10300 XFree colormap_ret and initialize it when appropriate. 10301 10302 Variable "colormap_ret" goes out of scope 10303 10304 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10305 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10306 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10307 10308commit f66a032a937030f2d9baa81744d36dc585bb085c 10309Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10310Date: Mon Jan 31 14:01:56 2011 +0200 10311 10312 xlibi18n/lcGeneric: Initialize uninitialized local variable 10313 10314 Using uninitialized value "new" 10315 10316 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10317 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10318 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10319 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10320 10321commit d0266e06d38110ec908ca28379014eff743630b7 10322Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10323Date: Mon Jan 31 14:01:54 2011 +0200 10324 10325 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 10326 10327 Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 10328 10329 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10330 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10331 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10332 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10333 10334commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 10335Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10336Date: Tue Feb 1 12:30:56 2011 +0200 10337 10338 XDefaultOMIF.c: Fix memory leaks in get_font_name 10339 10340 Instead of copying the value returned by get_prop_name and then releasing it, 10341 directly use the return value of get_prop_name, which allocates memory for the 10342 name. 10343 10344 If get_prop_name returns NULL, continue on to XFreeFont to release the font 10345 before returning the NULL via the normal function return. 10346 10347 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10348 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10349 10350commit 95796351435d81eaef8166d49ba3a6e7b633d70a 10351Author: Gaetan Nadon <memsize@videotron.ca> 10352Date: Mon Jan 31 14:50:19 2011 -0500 10353 10354 config: comment, minor upgrade, quote and layout configure.ac 10355 10356 Group statements per section as per Autoconf standard layout 10357 Quote statements where appropriate. 10358 Autoconf recommends not using dnl instead of # for comments 10359 10360 Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 10361 Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 10362 10363 This helps automated maintenance and release activities. 10364 Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 10365 10366 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10367 10368commit e994ab227ed28655565c3193e63733630105e7f9 10369Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10370Date: Tue Jan 18 12:49:48 2011 +0200 10371 10372 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 10373 10374 Removed superfluous comparison. 10375 10376 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 10377 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10378 10379commit 4115f051e62f9b098efce691e070d44f09f30f1c 10380Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10381Date: Wed Jan 12 15:51:11 2011 +0200 10382 10383 Variable "entry" tracked as NULL was dereferenced. 10384 10385 Check entry for non-nullness before dereferencing it 10386 10387 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 10388 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10389 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10390 10391commit 0edb76d1d5fdca5a2543332699be2e72386dab24 10392Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10393Date: Thu Jan 27 09:54:00 2011 +0200 10394 10395 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 10396 10397 If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 10398 10399 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 10400 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10401 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10402 10403commit 59da8a211ef723909d0530c0331d541db8e63378 10404Author: Erkki Seppälä < <erkki.seppala@vincit.fi> 10405Date: Mon Jan 10 16:17:47 2011 +0200 10406 10407 Using freed pointer "e" 10408 10409 Reordered code to first to do the comparison and then to release data 10410 10411 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10412 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 10413 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 10414 10415commit 0f11c229f7099f7c5aeed4691b358dca151dac7d 10416Author: Matt Dew <marcoz@osource.org> 10417Date: Thu Jan 27 00:31:23 2011 -0700 10418 10419 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 10420 10421 Signed-off-by: Matt Dew <marcoz@osource.org> 10422 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10423 10424commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 10425Author: Gaetan Nadon <memsize@videotron.ca> 10426Date: Fri Jan 28 16:07:07 2011 -0500 10427 10428 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 10429 10430 This silences an Automake warning. 10431 10432 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10433 10434commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 10435Author: Gaetan Nadon <memsize@videotron.ca> 10436Date: Fri Jan 28 14:59:04 2011 -0500 10437 10438 config: remove unrequired AC_HEADER_STDC 10439 10440 Autoconf says: 10441 "This macro is obsolescent, as current systems have conforming 10442 header files. New programs need not use this macro". 10443 10444commit d4483375e37a72631d5821413cb75a423e990ffe 10445Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10446Date: Tue Jan 18 19:37:02 2011 -0800 10447 10448 config: Use correct AC_CONFIG_HEADERS macro 10449 10450 Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 10451 10452 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10453 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10454 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 10455 10456commit c6405fe931f313a0d159bdad00244fc8aae12468 10457Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10458Date: Sun Jan 16 11:55:23 2011 -0800 10459 10460 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 10461 10462 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 10463 AC_PROG_C_C99. This sets gcc with -std=gnu99. 10464 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 10465 10466 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10467 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10468 10469commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 10470Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10471Date: Sun Jan 16 11:40:59 2011 -0800 10472 10473 Update to xf86bigfontproto >= 1.2.0 header name 10474 10475 Clears compile-time warning of: 10476 "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 10477 "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 10478 10479 Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 10480 passed to configure. 10481 10482 Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 10483 that PKG_CHECK_MODULES does automatically 10484 10485 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10486 Reviewed-by: Julien Cristau <jcristau@debian.org> 10487 10488commit a9228fcc676aacf9a760dd94891c89f9bc82b20d 10489Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10490Date: Tue Jan 11 17:55:22 2011 -0800 10491 10492 libX11 1.4.1 10493 10494 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10495 10496commit 92fa96451af37a7a0f2592de07643fdaed7a9efd 10497Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 10498Date: Mon Jan 3 12:25:28 2011 -0500 10499 10500 Initialize event type 10501 10502 If we receive unsupported event closing connection triggers valgrind 10503 error. 10504 10505 ==12017== Conditional jump or move depends on uninitialised value(s) 10506 ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 10507 ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 10508 *snip* 10509 ==12017== Uninitialised value was created by a heap allocation 10510 ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 10511 ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 10512 ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 10513 ==12017== by 0x4892263: _XReply (xcb_io.c:626) 10514 *snip* 10515 10516 Problem is that XFreeDisplaySturture is checking for qelt->event.type == 10517 GenericEvent while _XUnknownWireEvent doesn't store the type. 10518 10519 Reviewed-by: Adam Jackson <ajax@redhat.com> 10520 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 10521 Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 10522 10523commit fa9747b9d4443eef9b1687b8b1208801f5c585da 10524Author: Fernando Carrijo <fcarrijo.lists@gmail.com> 10525Date: Tue Dec 28 16:18:57 2010 -0500 10526 10527 specs: convert images from gif to svg format. 10528 10529 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10530 10531commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 10532Author: Philipp Reh <sefi@s-e-f-i.de> 10533Date: Wed Dec 22 15:14:05 2010 +0000 10534 10535 Events: Store event cookie when dequeuing event 10536 10537 When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 10538 make sure to store the corresponding cookie too. 10539 10540 Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 10541 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10542 10543commit d2714d65e85b44abedf5f82e1a31506dba397ef2 10544Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10545Date: Tue Dec 21 18:47:16 2010 -0800 10546 10547 Revert "Mark atom names argument to XInternAtoms as const" 10548 10549 This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 10550 10551 The constification of a pointer to a pointer caused unexpected issues, 10552 and xorg-devel was unable to come up with a clean, safe, reasonable way 10553 to handle them, so we're chalking this up for now as yet another mistake 10554 in the Xlib API definition we'll be living with. 10555 10556 See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 10557 10558 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10559 10560commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 10561Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10562Date: Mon Dec 20 20:54:07 2010 -0800 10563 10564 specs/XKB: make acknowlegement section <preface> instead of <chapter> 10565 10566 Fixes numbering of actual chapters to match their filenames and to 10567 make the table/figure numbering match the references in the text. 10568 10569 Reported-by: jelmd on freenode irc 10570 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10571 10572commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 10573Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10574Date: Sun Dec 19 23:53:02 2010 -0800 10575 10576 Add XKBlib spec images to dist_spec_DATA for distribution & installation 10577 10578 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10579 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10580 10581commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 10582Author: Matt Dew <matt@osource.org> 10583Date: Tue Nov 30 10:52:07 2010 -0500 10584 10585 specs: convert XKBlib spec from Framemaker to DocBook.xml 10586 10587 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10588 10589commit c8701115462b482d99ecff24d9de0f2806084ba5 10590Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10591Date: Sun Nov 21 20:49:05 2010 -0800 10592 10593 Mark atom names argument to XInternAtoms as const 10594 10595 Updates code & docs for XInternAtoms. 10596 10597 The single atom name argument to XInternAtom was already const char * 10598 in the code, but not the docs, so updated it in the docs too. 10599 10600 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10601 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 10602 10603commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 10604Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10605Date: Sun Nov 21 14:04:32 2010 -0800 10606 10607 libX11 1.4.0 10608 10609 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10610 10611commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 10612Author: Dan Nicholson <dbn.lists@gmail.com> 10613Date: Sat Nov 6 21:58:10 2010 +0000 10614 10615 config: Check host string when deciding architecture to build for 10616 10617 When checking for the OS/2 platform, $target_os is used. However, unless 10618 building a cross compiler, the $host* strings contain the platform 10619 details for the build system. See: 10620 10621 http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 10622 10623 $host_os is already being used to determine the transport and threading 10624 options. 10625 10626 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 10627 Reviewed-by: Julien Cristau <jcristau@debian.org> 10628 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10629 10630commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 10631Author: Dan Nicholson <dbn.lists@gmail.com> 10632Date: Sat Nov 6 21:58:09 2010 +0000 10633 10634 config: Fix architecture check for OS/2 to skip nios2 cpu 10635 10636 The OS/2 platform requires some utility functions as well as having a 10637 non-32 bit wchar_t. Fix the configure check so that it doesn't also 10638 affect the nios2 cpu, which wouldn't influence these operating system 10639 issues. 10640 10641 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 10642 Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 10643 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10644 Reviewed-by: Julien Cristau <jcristau@debian.org> 10645 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10646 10647commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 10648Author: Gaetan Nadon <memsize@videotron.ca> 10649Date: Tue Nov 9 13:04:44 2010 -0500 10650 10651 config: HTML file generation: use the installed copy of xorg.css 10652 10653 Currenlty the xorg.css file is copied in each location 10654 where a DocBook/XML file resides. This produces about 10655 70 copies in the $(docdir) install tree. 10656 10657 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10658 10659commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 10660Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10661Date: Fri Oct 29 22:02:10 2010 -0700 10662 10663 libX11 1.3.99.903 (1.4.0 RC3) 10664 10665 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10666 10667commit 5d245d8013289b13e0c42100951b26166c7fada4 10668Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10669Date: Fri Oct 29 22:01:39 2010 -0700 10670 10671 Require xorg-macros 1.11 now that it is released 10672 10673 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10674 10675commit 1ec89689fc771f116a6165226b9e076f54254a40 10676Author: Dan Nicholson <dbn.lists@gmail.com> 10677Date: Fri Oct 22 19:09:07 2010 -0700 10678 10679 docs: Disable fop documentation by default 10680 10681 fop is used to generate the pdf and ps formats of the documentation. 10682 This can significantly slow down the build, especially when creating all 10683 the compose key charts. Since few people probably want the full set of 10684 doc formats, set the default to 'no'. 10685 10686 The default parameter for XORG_WITH_FOP is only available in recent 10687 macros. Users generating configure from older macros will just get 10688 'auto' as the default. 10689 10690 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 10691 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10692 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10693 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10694 10695commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 10696Author: Jon TURNEY <jon.turney@dronecode.org.uk> 10697Date: Wed Apr 14 13:38:18 2010 +0100 10698 10699 Add C.UTF-8 and C.ASCII locale aliases 10700 10701 Add C.UTF-8 locale as an alias for en_US.UTF-8 10702 Add C.ASCII locale as an alias for C 10703 10704 (C.UTF-8 is the default locale for cygwin. It also exists in debian, 10705 although I don't think it's intended for use by humans.) 10706 10707 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10708 Acked-by: Julien Cristau <jcristau@debian.org> 10709 Reviewed-by: James Cloos <cloos@jhcloos.com> 10710 10711commit 81d1d9a6bdca779a44f931730b866eea75777c00 10712Author: Dan Nicholson <dbn.lists@gmail.com> 10713Date: Sat Oct 9 16:00:47 2010 -0700 10714 10715 docs: Remove directory prerequisites from make rules 10716 10717 Make expects prerequisites to be files with valid timestamps, and 10718 directories are treated as always being out of date. Thus, any targets 10719 depending on directories will always be rebuilt. 10720 10721 Instead, the doc rules are changed to always create the target's leading 10722 directory. This should prevent the documentation from being rebuilt when 10723 "make install" is run. 10724 10725 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 10726 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10727 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10728 10729commit d0cbf388919364fe6b5b9127f36426eb744090a0 10730Author: Jeremy Huddleston <jeremyhu@apple.com> 10731Date: Sun Sep 26 21:21:16 2010 -0700 10732 10733 Add an "X11_" string to header guards to avoid possible collision 10734 10735 This addresses a build failure which can result from <X11/Xlocale.h> and 10736 <xlocale.h> being included in the same code since they both used the same 10737 _XLOCALE_H_ protection. 10738 10739 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10740 10741commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 10742Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10743Date: Tue Sep 21 19:53:03 2010 -0700 10744 10745 libX11 1.3.99.902 (1.4.0 RC2) 10746 10747 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10748 10749commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 10750Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10751Date: Tue Sep 14 00:10:31 2010 -0700 10752 10753 Bug 19379 - Provide docs with overview of all compose key combinations 10754 10755 Adds compose-chart.pl to generate DocBook/XML documents listing compose 10756 keys, and Makefile rules to generate HTML & PDF output from them if xmlto 10757 is present. 10758 10759 https://bugs.freedesktop.org/show_bug.cgi?id=19379 10760 10761 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10762 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 10763 Reviewed-by: James Cloos <cloos@jhcloos.com> 10764 Tested-by: Gaetan Nadon <memsize@videotron.ca> 10765 10766commit 3eb064071695ebf0f371163ed818a428dfeba8e6 10767Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10768Date: Sat Sep 11 00:49:21 2010 -0700 10769 10770 Make locale data build non-recursive / parallelizable 10771 10772 On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 10773 plus this simplifies the next set of changes. 10774 10775 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10776 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 10777 Reviewed-by: James Cloos <cloos@jhcloos.com> 10778 Tested-by: Gaetan Nadon <memsize@videotron.ca> 10779 10780commit a3fc78ac352e5a70a958996ef6aec50f653974d1 10781Author: Gaetan Nadon <memsize@videotron.ca> 10782Date: Fri Sep 17 17:38:11 2010 -0400 10783 10784 config: remove man page suffix from bottom summary 10785 10786 The man page suffix is the same for all libraries on a given 10787 platform and is not configurable. It should have been removed 10788 in commit 09edc6de6. 10789 10790 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10791 10792commit a52b0068f36c739eb7e426214cd72a8d9bb776ca 10793Author: Gaetan Nadon <memsize@videotron.ca> 10794Date: Fri Sep 17 17:29:30 2010 -0400 10795 10796 config: remove unhelpful comment in .gitignore 10797 10798 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10799 10800commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 10801Author: Adam Jackson <ajax@redhat.com> 10802Date: Wed Sep 8 10:44:23 2010 -0400 10803 10804 Zero buffer data in BufAlloc() 10805 10806 Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 10807 compress better with ssh and friends. Note that you'll need to rebuild 10808 all your protocol libraries to take advantage of this. 10809 10810 Signed-off-by: Adam Jackson <ajax@redhat.com> 10811 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10812 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10813 10814commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 10815Author: James Cloos <cloos@jhcloos.com> 10816Date: Sun Sep 12 17:00:54 2010 -0400 10817 10818 Revert “Dolt-ify" 10819 10820 Libtool’s is now sufficiently fast that DOLT is no longer 10821 worth the bother, even on those few systems where is works. 10822 10823 This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 10824 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 10825 10826 It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 10827 which moved dolt from configure.ac to m4/dolt.m4. 10828 10829 And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 10830 10831 Signed-off-by: James Cloos <cloos@jhcloos.com> 10832 10833commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 10834Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10835Date: Thu Sep 9 19:24:29 2010 -0700 10836 10837 XIM spec title page minor formatting cleanup 10838 10839 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10840 10841commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 10842Author: Jens Petersen <petersen@redhat.com> 10843Date: Mon Aug 23 18:08:10 2010 -0700 10844 10845 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 10846 10847 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 10848 10849 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10850 10851commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 10852Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10853Date: Fri Sep 3 23:11:53 2010 -0700 10854 10855 Sun's copyrights are now owned by Oracle 10856 10857 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10858 10859commit 7742bf62b1fa652da4270587e280249945367cae 10860Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10861Date: Fri Sep 3 18:31:44 2010 -0700 10862 10863 libX11 1.3.99.901 (1.4.0 RC1) 10864 10865 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10866 10867commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 10868Author: Jeroen Hoek <mail@jeroenhoek.nl> 10869Date: Sun Aug 29 09:47:06 2010 -0400 10870 10871 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 10872 10873 Add LATIN CAPITAL LETTER SHARP S 10874 (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 10875 10876 Signed-off-by: James Cloos <cloos@jhcloos.com> 10877 10878commit 09edc6de6619a2eabda3b808ebff4165550664f1 10879Author: Gaetan Nadon <memsize@videotron.ca> 10880Date: Fri Aug 13 14:21:08 2010 -0400 10881 10882 config: remove man-pages configuration option 10883 10884 This option was added in commit 6e752ea120 with no explanation. 10885 The section number is provoded by XORG_MANPAGE_SECTIONS 10886 There is no case where libX11 should be different than other libs 10887 The option was also used to disable building of the man pages, 10888 which build in 14 secs. No indication this is required. 10889 10890 If there is a requirement from system builders to disable building 10891 of man pages, it could be done consistently for all modules. 10892 10893 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10894 10895commit f92e754297ec5fdb81068b56a4435026666224fa 10896Author: Aaron Plattner <aplattner@nvidia.com> 10897Date: Sun Aug 15 21:51:38 2010 -0700 10898 10899 XOpenDisplay: save the correct display_name value 10900 10901 The X Test Suite's XDisplayString test checks the invariant 10902 XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 10903 invariant by expanding str to the canonical form "host:display.scrn" (unless 10904 HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 10905 to ":1.0": 10906 10907 400|26 1 1 19:26:41|IC Start 10908 200|26 1 19:26:41|TP Start 10909 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 10910 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 10911 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 10912 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 10913 520|26 1 00032625 1 5|value used as the display argument. 10914 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 10915 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 10916 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 10917 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 10918 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 10919 220|26 1 1 19:26:41|FAIL 10920 410|26 1 1 19:26:41|IC End 10921 10922 Fix this by deleting all of the code to construct the canonical path and just 10923 stashing a copy of the original display_name in dpy->display_name. 10924 10925 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 10926 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10927 10928commit 1dc401f678469d0235e6d0b28eb4356f03327c9f 10929Author: Gaetan Nadon <memsize@videotron.ca> 10930Date: Fri Aug 13 13:06:51 2010 -0400 10931 10932 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 10933 10934 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10935 10936commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 10937Author: Gaetan Nadon <memsize@videotron.ca> 10938Date: Fri Aug 13 11:42:29 2010 -0400 10939 10940 man: simplify building of shadow man pages 10941 10942 Store the shadow files in git as any other man page. 10943 Move man pages to man dir and use the common makefile 10944 10945 Local fix in CVS for bug 5628 is not required 10946 as the problem has been fixed in 10947 util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 10948 10949 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10950 10951commit bfd899c9af2318ecbe84cb69007dba4223fdb502 10952Author: Gaetan Nadon <memsize@videotron.ca> 10953Date: Mon Aug 9 09:39:26 2010 -0400 10954 10955 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 10956 10957 in commit 76e07ef6911734eac418e399b114f1b544512736. 10958 10959 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10960 10961commit 76e07ef6911734eac418e399b114f1b544512736 10962Author: Gaetan Nadon <memsize@videotron.ca> 10963Date: Fri Aug 6 14:01:51 2010 -0400 10964 10965 man: using the C preprocessor is not required for man pages. 10966 10967 There were no special symbols needing cpp. 10968 Everything can be handled by the default MAN_SUBSTS in util-macros. 10969 10970 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10971 10972commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 10973Author: Jamey Sharp <jamey@minilop.net> 10974Date: Fri Aug 6 15:51:56 2010 -0700 10975 10976 Fix use-after-free in _XReply on X errors. 10977 10978 _XReply would always call dequeue_pending_request on errors. When it 10979 got an error for the current request, it would call dequeue, then break 10980 out of the loop; then, if it had an error in the event queue, it would 10981 compare it with the sequence number of the now-freed pending request. 10982 _XReply already stored that sequence number in dpy->last_request_read 10983 before freeing it, so look at that instead. 10984 10985 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 10986 10987 Signed-off-by: Jamey Sharp <jamey@minilop.net> 10988 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 10989 10990commit 9fa146b30046396b70d64986e50d6617b3a8ac48 10991Author: Gaetan Nadon <memsize@videotron.ca> 10992Date: Sat Jul 31 16:15:35 2010 -0400 10993 10994 specs: xsl stylesheet requires abs path to images 10995 10996 Using abs_builddir requires automake 1.10 or later. 10997 10998 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10999 11000commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 11001Author: Gaetan Nadon <memsize@videotron.ca> 11002Date: Sun Aug 1 14:13:07 2010 -0400 11003 11004 specs: update .gitignore now that all groff generated files are gone 11005 11006 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11007 11008commit f70527f05677aaf6a493ba42d2d95f738aaebafa 11009Author: Adam Jackson <ajax@redhat.com> 11010Date: Thu Jul 29 11:11:21 2010 -0400 11011 11012 nls: Switch one of the interrobang sequences to gnaborretni 11013 11014 Since gnaborretni is primarily used in LTR locales, the ? part of the 11015 sequence reflects the position of the bulge in the ?. When scanning an 11016 inverted interrobang left-to-right, you see the bulge first, so the 11017 compose sequence ?! is used; upright interrobang shows the bulge 11018 last, so it's !?. 11019 11020 This is a change in behaviour, but I was unable to come up with anything 11021 better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 11022 would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 11023 Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 11024 ~!? and ~?! were considered but are arguably less intuitive. 11025 11026 Reviewed-by: James Cloos <cloos@jhcloos.com> 11027 Signed-off-by: Adam Jackson <ajax@redhat.com> 11028 11029commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 11030Author: Gaetan Nadon <memsize@videotron.ca> 11031Date: Wed Jul 28 10:27:39 2010 -0400 11032 11033 specs: move indexterm from glossdef to glossterm 11034 11035 This move fixes a Java class cast exception in the glossary. 11036 The problem was introduced in commit 11037 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 11038 11039 It may not happen on all versions of the doc toolchain. 11040 There is no reason why indexterm cannot appear in glossdef, 11041 this is a workaround to an implementation problem found by 11042 trial and error. 11043 11044 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11045 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11046 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11047 11048commit 87a108f3aa565aa803dacb3a53b811f45025b609 11049Author: Matt Dew <matt@osource.org> 11050Date: Sat Jul 24 14:46:57 2010 -0400 11051 11052 specs: replace troff source with docbook-xml source 11053 11054 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11055 11056commit 8e603413586ff42b1351688f6f99318cbe243bca 11057Author: Julien Cristau <jcristau@debian.org> 11058Date: Sat Jul 24 22:13:07 2010 +0200 11059 11060 Compose.man: default user compose file is .XCompose, not .Xcompose 11061 11062 The path was correct in the DESCRIPTION section, but not in FILES. 11063 11064 Signed-off-by: Julien Cristau <jcristau@debian.org> 11065 11066commit 554da76ece85d0fc0cada45a86860e69c2107e9a 11067Author: Daniel Stone <daniel@fooishbar.org> 11068Date: Tue Jul 20 12:34:48 2010 +0100 11069 11070 NLS: Add \o/ Compose sequence 11071 11072 Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 11073 to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 11074 11075 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11076 11077commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 11078Author: Daniel Stone <daniel@fooishbar.org> 11079Date: Fri Jul 9 18:13:13 2010 +0100 11080 11081 XStringToKeysym: Cope with 0x1234cafe-style input 11082 11083 If we get input in the style of 0xdeadbeef, just return that exact 11084 keysym. Introduces a dependency on strtoul, which I'm told is OK on all 11085 the systems we care about. 11086 11087 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11088 11089commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 11090Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11091Date: Mon Jul 19 17:58:27 2010 -0700 11092 11093 specs/libX11: Fix column count of Gravity Attributes table 11094 11095 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11096 11097commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 11098Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11099Date: Mon Jul 19 14:43:38 2010 -0700 11100 11101 specs/libX11: Convert \- to − and \^ to either   or removed 11102 11103 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11104 11105commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 11106Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11107Date: Mon Jul 19 11:28:50 2010 -0700 11108 11109 specs/libX11: Manual cleanup pass over Ch. 1 11110 11111 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11112 11113commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 11114Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11115Date: Mon Jul 19 14:51:10 2010 -0700 11116 11117 specs/libX11: make sure all files have DOCTYPEs so standard entities work 11118 11119 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11120 11121commit c944a8521f5760b485192658b921145159cdb439 11122Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11123Date: Sun Jul 18 13:12:20 2010 -0700 11124 11125 specs/libX11: Fix up list of header files in Ch.1 & add index entries 11126 11127 Combination of manual editing and automatic substitution via: 11128 11129 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 11130 11131 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11132 11133commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 11134Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11135Date: Sun Jul 18 12:47:27 2010 -0700 11136 11137 specs/libX11: Add indexterms for headerfiles that .hN used to provide 11138 11139 Automatic substitution performed via: 11140 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 11141 11142 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11143 11144commit d0b0d215cb85da48b323b1392149ce181e7ef5ec 11145Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11146Date: Fri Jul 16 21:15:13 2010 -0700 11147 11148 specs/libX11: convert multicolumn lists from tables to <simplelist> 11149 11150 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11151 11152commit e679f80c6210c0aefe3669f8f536353619097a4b 11153Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11154Date: Fri Jul 16 20:51:52 2010 -0700 11155 11156 specs/libX11: Tag WM_* as <property> 11157 11158 Mass substitution done by: 11159 perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 11160 11161 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11162 11163commit c7b7e59b3b22221d0be6286c540001c360308f69 11164Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11165Date: Fri Jul 16 20:41:33 2010 -0700 11166 11167 specs/libX11: Convert simpler eqn markup to docbook tags 11168 11169 Mostly "sup" to <superscript> 11170 11171 There's several more complicated equations that will probably need 11172 MathML or SVG to solve. 11173 11174 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11175 11176commit 897486c54c6a54771867d667441aaf9a4b9c35ca 11177Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11178Date: Fri Jul 16 00:50:39 2010 -0700 11179 11180 specs/libX11: App. D: convert literallayouts to synopsis or programlisting 11181 11182 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11183 11184commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 11185Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11186Date: Fri Jul 16 00:36:43 2010 -0700 11187 11188 specs/libX11: Fix section headers in Appendix D 11189 11190 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11191 11192commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 11193Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11194Date: Wed Jul 14 07:22:26 2010 -0700 11195 11196 specs/libX11: Explicitly tag document as English 11197 11198 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11199 11200commit 6783544706ff370e900c137f951e90230586d6dc 11201Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11202Date: Mon Jul 12 22:03:18 2010 -0700 11203 11204 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 11205 11206 Fixes display of a bunch of function prototypes and sample code 11207 11208 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11209 11210commit 8834cd9285e6aaf437aee56292c508d99a090fa9 11211Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11212Date: Mon Jul 12 18:37:16 2010 -0700 11213 11214 xmlrules.in: Add chunked-html rule to manually generate smaller files 11215 11216 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11217 11218commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 11219Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11220Date: Mon Jul 12 18:35:59 2010 -0700 11221 11222 specs/libX11: Convert Appendix A tables to real tables 11223 11224 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11225 11226commit 705a1257a8a47f4a1f94979aee09a837500ede7d 11227Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11228Date: Mon Jul 12 18:38:09 2010 -0700 11229 11230 specs/libX11: Fix out-of-place text in Chapter 1 11231 11232 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 11233 11234 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11235 11236commit a151346a2b7810e988f1de4b1e00b37672dc587a 11237Author: Jeremy Huddleston <jeremyhu@apple.com> 11238Date: Mon Jul 12 16:52:12 2010 -0700 11239 11240 launchd: Explicitly search /sbin 11241 11242 Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 11243 https://bugs.freedesktop.org/show_bug.cgi?id=29028 11244 11245 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11246 11247commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 11248Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11249Date: Mon Jul 12 13:38:04 2010 -0700 11250 11251 Replace untranslated .hN macros with <filename> tags to show header names 11252 11253 Translation performed by: 11254 perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 11255 {<<filename class="headerfile">$1</filename>>$2}' *.xml 11256 11257 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11258 11259commit 75480440946603b8efdbbf78b88d59c641b6d2c8 11260Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11261Date: Sat Jul 10 00:06:13 2010 -0700 11262 11263 specs/libX11: Mass substitution of <function> tags with more specific tags 11264 11265 Matched names from X headers & "nm libX11.so" output to names in spec to 11266 map to more specific tags. Tags used: 11267 11268 <code> code fragments 11269 <constant> enum values 11270 <errorname> X protocol errors 11271 <filename> filenames 11272 <function> functions 11273 <function> function-like macros (#define foo(a,b)...) 11274 <returnvalue> function return codes 11275 <structfield> struct members 11276 <structname> struct names (even when typedefed) 11277 <symbol> simple value #defines (#define NAME value) 11278 <systemitem> X protocol requests 11279 <systemitem class="event"> X protocol events 11280 <type> non-struct typedefs 11281 <varname> global variables 11282 11283 (Also fixed a couple typos detected by failures of this matching, such as 11284 XESSetPrintErrorValues -> XESetPrintErrorValues.) 11285 11286 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11287 11288commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 11289Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11290Date: Fri Jul 9 00:37:23 2010 -0700 11291 11292 specs/libX11: Glossary cross-reference links 11293 11294 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11295 11296commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 11297Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11298Date: Thu Jul 8 21:19:08 2010 -0700 11299 11300 specs/libX11: Make whitespace around <function> tags more uniform 11301 11302 Simplifies regular expressions for further mass substitutions. 11303 11304 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11305 11306commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 11307Author: Gaetan Nadon <memsize@videotron.ca> 11308Date: Fri Jul 9 20:10:37 2010 -0400 11309 11310 specs: use pattern rules rather than suffix rules 11311 11312 This allows target to rebuild when included .xml files are changed. 11313 11314 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11315 11316commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 11317Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11318Date: Thu Jul 8 20:56:41 2010 -0700 11319 11320 specs/libX11: Move punctuation outside of the <function> tags 11321 11322 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11323 11324commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 11325Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11326Date: Thu Jul 8 20:42:50 2010 -0700 11327 11328 specs/libX11: Mark a number of <acronym>s 11329 11330 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11331 11332commit d5bbb12f55ac9f691eab6242cedc53207275131b 11333Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11334Date: Thu Jul 8 19:31:36 2010 -0700 11335 11336 specs/libX11: Glossary terms should not be marked as functions 11337 11338 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11339 11340commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 11341Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11342Date: Thu Jul 8 19:28:18 2010 -0700 11343 11344 specs/libX11: Clean up author list & acknowledgements a little 11345 11346 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11347 11348commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 11349Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11350Date: Thu Jul 8 17:30:34 2010 -0700 11351 11352 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 11353 11354 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11355 11356commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 11357Author: Gaetan Nadon <memsize@videotron.ca> 11358Date: Thu Jul 8 17:29:21 2010 -0400 11359 11360 specs: specdir is required to install xml files 11361 11362 The source is installed as well as the targets. 11363 This failed when configuring with --without-xmlto 11364 11365 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11366 11367commit e14273f44c1501ab51db4adcb83b18a1073787d8 11368Author: Matt Dew <matt@osource.org> 11369Date: Thu Jul 8 14:42:32 2010 -0400 11370 11371 specs: replace troff source with docbook-xml source 11372 11373 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11374 11375commit bea0873caf50e9ed1b89255775d9ab912cbecd45 11376Author: Daniel Stone <daniel@fooishbar.org> 11377Date: Thu Jul 8 16:49:51 2010 +0100 11378 11379 XStringToKeysym: Check strdup() return value 11380 11381 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11382 Reviewed-by: Keith Packard <keithp@keithp.com> 11383 11384commit cffa71b4a5743e2b6675b9a917d15aef4177d513 11385Author: Marko Myllynen <myllynen@redhat.com> 11386Date: Mon Jun 28 15:08:05 2010 +0300 11387 11388 Fix two typos in SFS 5966 Annex 3 11389 11390 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 11391 11392 Signed-off-by: Julien Cristau <jcristau@debian.org> 11393 11394commit eb023c0f8919e809b8b609e1467b14d20a290aa7 11395Author: Daniel Stone <daniel@fooishbar.org> 11396Date: Tue Jun 15 18:49:43 2010 +0100 11397 11398 Delete now-redundant XKeysymDB 11399 11400 Since XStringToKeysym now supports all the vendor keysyms, just delete 11401 our XKeysymDB, which was incomplete at best, misleading at worst, and 11402 always an annoyance. 11403 11404 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11405 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11406 11407commit 00175397480b76d32bf82b0c7c94c91a2a95954e 11408Author: Daniel Stone <daniel@fooishbar.org> 11409Date: Tue Jun 15 18:48:48 2010 +0100 11410 11411 makekeys: Scan vendor keysyms as well as core 11412 11413 Since we can't really live without vendor keysyms, scan them all in to 11414 generate ks_tables.h, rather than only doing the core ones, and leaving 11415 the vendor syms to be manually synchronised with XKeysymDB. 11416 11417 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11418 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11419 11420commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 11421Author: Daniel Stone <daniel@fooishbar.org> 11422Date: Tue Jun 15 18:47:37 2010 +0100 11423 11424 XStringToKeysym: Special case for XF86 keysyms 11425 11426 Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 11427 XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 11428 found our XF86_foo, try it again as XF86foo. 11429 11430 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11431 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11432 11433commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 11434Author: Daniel Stone <daniel@fooishbar.org> 11435Date: Tue Jun 15 17:20:48 2010 +0100 11436 11437 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 11438 11439 AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 11440 namespace, so start using the more proper AX_DEFINE_DIR instead. 11441 11442 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11443 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11444 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11445 11446commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 11447Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 11448Date: Thu Jul 1 06:50:47 2010 -0300 11449 11450 Purge macros NEED_EVENTS and NEED_REPLIES 11451 11452 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 11453 Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 11454 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11455 11456commit 0b724231be17f19538ee115a03b82b221b1f83c0 11457Author: Adam Jackson <ajax@redhat.com> 11458Date: Wed Jun 30 16:30:49 2010 -0400 11459 11460 Use -version-number consistently instead of -version-info 11461 11462 The latter is libtool braindamage. 11463 11464 Signed-off-by: Adam Jackson <ajax@redhat.com> 11465 11466commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 11467Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 11468Date: Tue Jun 29 18:32:42 2010 +0200 11469 11470 Make Compose-comma map to ogonek for I and U in UTF-8 locales. 11471 11472 With the preceding patch, it makes the UTF-8 compose map consistent with 11473 the ISO 8859-4 and -13 maps. 11474 11475commit af55e582f485a668c2bf43129be972bc65f03c60 11476Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 11477Date: Tue Jun 29 18:20:18 2010 +0200 11478 11479 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 11480 11481 This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 11482 as far as Polish is concerned. We only sacrifice one pair of characters, 11483 e-cedilla, which is not used in any language. 11484 11485commit d6ba13009fc9ef876a104b907ffef73c6e405d4b 11486Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11487Date: Thu Jun 24 13:13:11 2010 -0700 11488 11489 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 11490 11491 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11492 11493commit 978c7238789037de917b9423ea9adfb006da1260 11494Author: Jamey Sharp <jamey@minilop.net> 11495Date: Sat Jun 19 10:44:55 2010 -0700 11496 11497 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 11498 11499 Don't lose async replies. That's bad. 11500 11501 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 11502 _XReply path worked; that path waited for replies, rather than polling. 11503 11504 However, XRecordProcessReplies, which does nothing but call XPending, 11505 relied on the event-handling path to process async replies, and that was 11506 busted. 11507 11508 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 11509 11510 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11511 11512commit ef67486c5a8aada24fd95b2991a3c4979f53805f 11513Author: Jamey Sharp <jamey@minilop.net> 11514Date: Mon Jun 21 13:34:15 2010 -0700 11515 11516 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 11517 11518 This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 11519 a matter of fact, if poll_for_response returns NULL when we know 11520 dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 11521 request. 11522 11523commit 301ec5b41e9d253a446db656e1789ac7345dc433 11524Author: Jamey Sharp <jamey@minilop.net> 11525Date: Mon Jun 21 13:24:24 2010 -0700 11526 11527 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 11528 11529 This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 11530 need to check poll_for_event every time through the loop in 11531 poll_for_response, so the commit did too much. 11532 11533commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 11534Author: Jamey Sharp <jamey@minilop.net> 11535Date: Mon Jun 21 10:54:02 2010 -0700 11536 11537 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 11538 11539 Fixes the second bug reported in: 11540 https://bugs.freedesktop.org/show_bug.cgi?id=28595 11541 11542 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11543 11544commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 11545Author: Jamey Sharp <jamey@minilop.net> 11546Date: Sat Jun 19 10:44:55 2010 -0700 11547 11548 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 11549 11550 Don't lose async replies. That's bad. 11551 11552 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 11553 _XReply path worked; that path waited for replies, rather than polling. 11554 11555 However, XRecordProcessReplies, which does nothing but call XPending, 11556 relied on the event-handling path to process async replies, and that was 11557 busted. 11558 11559 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 11560 11561 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11562 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 11563 11564commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 11565Author: Marko Myllynen <myllynen@redhat.com> 11566Date: Sun Jun 13 19:23:05 2010 +0300 11567 11568 Implement SFS 5966 Annex 4 for Finland 11569 11570 This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 11571 Annex 3 (which were actually copied verbatim from the standard text). 11572 11573 The implementation of the standard is now complete. 11574 11575 X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 11576 11577 Signed-off-by: Julien Cristau <jcristau@debian.org> 11578 11579commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 11580Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11581Date: Fri Jun 4 13:20:17 2010 -0700 11582 11583 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 11584 11585 One of the malloc failure checks had a goto to the wrong spot in the 11586 list of cleanup free() calls to unwind at the end, and was freeing 11587 bits that hadn't been initialized/allocated yet, since they would be 11588 stored in the struct that just failed to be allocated. 11589 11590 Error: Null pointer dereference (CWE 476) 11591 Read from pointer that could be constant 'NULL' 11592 at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 11593 Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 11594 11595 [ This bug was found by the Parfait bug checking tool. 11596 For more information see http://research.sun.com/projects/parfait ] 11597 11598 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11599 11600commit aebbf3623888119b43893b253195d93b613a6e1e 11601Author: Josh Triplett <josh@joshtriplett.org> 11602Date: Sun Jun 6 19:11:55 2010 -0700 11603 11604 Mark the rest of Xprivate.h as _X_HIDDEN. 11605 11606 None of the functions in Xprivate.h should have any callers outside of 11607 Xlib, by definition. 11608 11609 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 11610 Suggested-by: Jamey Sharp <jamey@minilop.net> 11611 Reviewed-by: Jamey Sharp <jamey@minilop.net> 11612 11613commit abcd1b67c8135ad652833e5a60d818837c39fce1 11614Author: Julien Cristau <jcristau@debian.org> 11615Date: Fri Jun 4 13:57:45 2010 +0200 11616 11617 Hide _XSeqSyncFunction 11618 11619 Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 11620 non-static, but we don't need to export it. 11621 11622 Signed-off-by: Julien Cristau <jcristau@debian.org> 11623 Reviewed-by: Adam Jackson <ajax@redhat.com> 11624 Reviewed-by: Jamey Sharp <jamey@minilop.net> 11625 11626commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 11627Author: Josh Triplett <josh@joshtriplett.org> 11628Date: Thu Jun 3 09:41:01 2010 -0700 11629 11630 Remove support for building without XCB 11631 11632 And there was much rejoicing. 11633 11634 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 11635 Reviewed-by: Jamey Sharp <jamey@minilop.net> 11636 11637 Consensus on #xorg-devel agrees with removing --without-xcb; in 11638 particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 11639 Julien Cristau, and Rémi Cardona. 11640 11641commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 11642Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11643Date: Thu Jun 3 15:21:40 2010 -0700 11644 11645 libX11 1.3.4 11646 11647 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11648 11649commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 11650Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11651Date: Thu Jun 3 13:08:17 2010 -0700 11652 11653 Workaround bug in groff flag processing that breaks distcheck 11654 11655 At least with the groff 1.19.2 package I have installed, groff passes 11656 on the -I flags for the include path to grohtml, which if they come 11657 after the -P-I... flag we pass to grohtml to specify the image file 11658 name pattern cause it to override that flag and put the images in 11659 the wrong place, breaking "make distcheck" - changing the flag order 11660 works around this. 11661 11662 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11663 11664commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 11665Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11666Date: Thu Jun 3 11:25:33 2010 -0700 11667 11668 Fix typo that made configure always report "none" for man page suffix 11669 11670 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11671 11672commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 11673Author: Paul Bender <pebender@gmail.com> 11674Date: Thu Jun 3 11:20:26 2010 -0700 11675 11676 Bug 22591 - configure does not obey the --enable-*-transport options 11677 11678 https://bugs.freedesktop.org/show_bug.cgi?id=22591 11679 11680 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11681 11682commit d7f35946d673bb00f2768e025b6e1017422b2174 11683Author: Paul Bender <pebender@gmail.com> 11684Date: Thu Jun 3 11:17:45 2010 -0700 11685 11686 Bug 22590 - libX11 1.2.1 has broken abstract namespace support 11687 11688 https://bugs.freedesktop.org/show_bug.cgi?id=22590 11689 11690 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11691 11692commit b2487d07f7b355f230a56e32c763acd08862735c 11693Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11694Date: Thu Jun 3 11:06:15 2010 -0700 11695 11696 Bug 22584 - libX11 does not cross compile 11697 11698 Adaptation of patch submitted by Paul Bender in attachment 27301 to 11699 https://bugs.freedesktop.org/show_bug.cgi?id=22584 11700 11701 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11702 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 11703 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 11704 11705commit 4378219ff8c1418418c70086085358b69d574e74 11706Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11707Date: Tue Jun 1 18:55:48 2010 -0700 11708 11709 Clarify requirements in XRestackWindows man page 11710 11711 The required common parent window is not specified in the arguments, 11712 just implied as the parent of the first window in the list. 11713 11714 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11715 11716commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 11717Author: Jeremy Huddleston <jeremyhu@apple.com> 11718Date: Wed May 12 16:42:18 2010 -0700 11719 11720 xcb: Add TCP fallback 11721 11722 If we fail to connect to a UNIX socket and the transport isn't specified, 11723 fallback on TCP. This matches behavior with the xtrans codepath and the 11724 Xlib spec. 11725 11726 http://lists.x.org/archives/xorg-devel/2010-April/007915.html 11727 11728 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11729 Reviewed-by: Jamey Sharp <jamey@minilop.net> 11730 11731commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 11732Merge: aae2a4a7 933aee1d 11733Author: Jamey Sharp <jamey@minilop.net> 11734Date: Mon May 10 16:51:24 2010 -0700 11735 11736 Merge branch 'xlib-xcb-thread-fixes' 11737 11738commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 11739Author: Jeremy Huddleston <jeremyhu@apple.com> 11740Date: Fri Apr 23 21:50:29 2010 -0700 11741 11742 Don't append the screen number when using a launchd socket 11743 11744 ssh gets confused by this. XQuartz is the only DDX using this 11745 functionality, and it doesn't support different screens, so 11746 let's just not include this until most ssh know how to handle 11747 this. 11748 11749 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11750 11751commit adcd0ec209abf832a769d52db660fb37eaad6e0c 11752Author: Jeremy Huddleston <jeremyhu@apple.com> 11753Date: Fri Apr 23 16:33:44 2010 -0700 11754 11755 Remove launchd logic from _XConnectXCB as it's handled in XCB 11756 11757 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11758 11759commit d232b259c36fdde1f4179822809fec1480867dc5 11760Author: Jeremy Huddleston <jeremyhu@apple.com> 11761Date: Tue Feb 2 17:01:28 2010 -0800 11762 11763 Fix various build warnings 11764 11765 imLcIm.c: In function '_XimCachedFileName': 11766 imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 11767 imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 11768 11769 imRm.c: In function '_XimDefaultArea': 11770 imRm.c:597: warning: cast from pointer to integer of different size 11771 imRm.c: In function '_XimDefaultColormap': 11772 imRm.c:626: warning: cast from pointer to integer of different size 11773 11774 lcFile.c:224: warning: no previous prototype for 'xlocaledir' 11775 11776 lcUTF8.c: In function 'iconv_cstombs': 11777 lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 11778 lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 11779 lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 11780 lcUTF8.c: In function 'iconv_mbstocs': 11781 lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 11782 lcUTF8.c: In function 'iconv_mbtocs': 11783 lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 11784 lcUTF8.c: In function 'iconv_mbstostr': 11785 lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 11786 lcUTF8.c: In function 'iconv_strtombs': 11787 lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 11788 lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 11789 lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 11790 lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 11791 lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 11792 lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 11793 lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 11794 lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 11795 lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 11796 11797 XlibInt.c: In function '_XGetHostname': 11798 XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 11799 XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 11800 11801 ConnDis.c: In function '_XDisconnectDisplay': 11802 ConnDis.c:540: warning: old-style function definition 11803 ConnDis.c: In function '_XSendClientPrefix': 11804 ConnDis.c:554: warning: old-style function definition 11805 ConnDis.c: In function 'XSetAuthorization': 11806 ConnDis.c:677: warning: old-style function definition 11807 11808 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11809 11810commit 3e11c73187acb2e2be9a812840bbbea947527ccb 11811Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 11812Date: Fri Apr 23 00:01:54 2010 +0200 11813 11814 Allow X11 users to compose anarchism 11815 11816 I can easily compose the hammer and sickle (the symbol representative 11817 of communism) by pressing the key sequence: 11818 11819 <Compose> <C> <C> <C> <P> -> ☭ 11820 11821 But i can't easily make the circled A (the symbol representative of 11822 anarchism). 11823 11824 I'd like to be able to use <Compose> <O> <A> (this is a 11825 currently unused key sequence) to generate the symbol: Ⓐ 11826 11827 Debian bug#555938 <http://bugs.debian.org/555938> 11828 11829 Signed-off-by: Julien Cristau <jcristau@debian.org> 11830 11831commit 933aee1d5c53b0cc7d608011a29188b594c8d70b 11832Author: Jamey Sharp <jamey@minilop.net> 11833Date: Fri Apr 16 20:18:28 2010 -0700 11834 11835 Fix Xlib/XCB for multi-threaded applications (with caveats). 11836 11837 Rather than trying to group all response processing in one monolithic 11838 process_responses function, let _XEventsQueued, _XReadEvents, and 11839 _XReply each do their own thing with a minimum of code that can all be 11840 reasoned about independently. 11841 11842 Tested with `ico -threads 20`, which seems to be able to make many 11843 icosahedrons dance at once quite nicely now. 11844 11845 Caveats: 11846 11847 - Anything that was not thread-safe in Xlib before XCB probably still 11848 isn't. XListFontsWithInfo, for instance. 11849 11850 - If one thread is waiting for events and another thread tries to read a 11851 reply, both will hang until an event arrives. Previously, if this 11852 happened it might work sometimes, but otherwise would trigger either 11853 an assertion failure or a permanent hang. 11854 11855 - Versions of libxcb up to and including 1.6 have a bug that can cause 11856 xcb_wait_for_event or xcb_wait_for_reply to hang if they run 11857 concurrently with xcb_writev or other writers. So you'll want that fix 11858 as well. 11859 11860 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11861 Reviewed-by: Josh Triplett <josh@freedesktop.org> 11862 11863commit aab43278ae619eb57d2dd9c7396f460f078588fc 11864Author: Jamey Sharp <jamey@minilop.net> 11865Date: Fri Apr 16 22:24:16 2010 -0700 11866 11867 Use InternalLockDisplay on code paths called from LockDisplay. 11868 11869 It's easier to reason about the code when we can't re-enter the 11870 Xlib-private sync-handlers while they're already running. 11871 11872 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11873 Reviewed-by: Josh Triplett <josh@freedesktop.org> 11874 11875commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 11876Author: Jamey Sharp <jamey@minilop.net> 11877Date: Fri Apr 16 19:45:11 2010 -0700 11878 11879 Fix _XSend to enqueue the right range of pending requests. 11880 11881 _XSend was off-by-one on both ends. It should not re-enqueue the last 11882 request that was already flushed, but it should enqueue the last request 11883 currently being flushed. 11884 11885 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11886 Reviewed-by: Josh Triplett <josh@freedesktop.org> 11887 11888commit f2735889908d6e5a7f8dbee42f00c54a52665191 11889Author: Jamey Sharp <jamey@minilop.net> 11890Date: Fri Apr 16 19:45:11 2010 -0700 11891 11892 Pending requests are always added in-order. 11893 11894 Replace insert_pending_request, which did an in-order search of the 11895 queue to find the right insertion point, with a simpler 11896 append_pending_request, and use that in _XSend as well. 11897 11898 Includes assertions to check that the list of pending requests is in 11899 order by sequence number and does not have duplicates. 11900 11901 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11902 Reviewed-by: Josh Triplett <josh@freedesktop.org> 11903 11904commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 11905Author: Markus Duft <markus.duft@salomon.at> 11906Date: Fri Apr 16 08:39:34 2010 -0700 11907 11908 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 11909 11910 https://bugs.freedesktop.org/show_bug.cgi?id=26839 11911 11912 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11913 11914commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 11915Author: Josh Triplett <josh@freedesktop.org> 11916Date: Thu Apr 15 14:24:21 2010 -0700 11917 11918 Stop returning an int from _XIDHandler and _XSeqSyncFunction 11919 11920 _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 11921 thus had to return an int. Now, they only run from _XPrivSyncHandler or 11922 LockDisplay, neither of which needs to check their return value since they 11923 always returned 0. Make them both void. 11924 11925 Signed-off-by: Josh Triplett <josh@freedesktop.org> 11926 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11927 11928commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 11929Author: Jamey Sharp <jamey@minilop.net> 11930Date: Thu Apr 15 13:05:08 2010 -0700 11931 11932 Move XID and sync handling from SyncHandle to LockDisplay to fix races. 11933 11934 XID and sync handling happened via _XPrivSyncHandler, assigned to 11935 dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 11936 without the Display lock, so manipulating the Display caused races, and 11937 these races led to assertions in multithreaded code (demonstrated via 11938 ico). 11939 11940 In the XTHREADS case, after you've called XInitThreads, we can hook 11941 LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 11942 _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 11943 that we hold the lock, and thus we can avoid races. We think it makes 11944 sense to do these both from LockDisplay rather than UnlockDisplay, so 11945 that you know you have valid sync and a valid XID before you start 11946 setting up the request you locked to prepare. 11947 11948 In the !XTHREADS case, or if you haven't called XInitThreads, you don't 11949 get to use Xlib from multiple threads, so we can use the logic we have 11950 now (with synchandler and savedsynchandler) without any concern about 11951 races. 11952 11953 This approach gets a bit exciting when the XID and sequence sync 11954 handlers drop and re-acquire the Display lock. Reacquisition will re-run 11955 the handlers, but they return immediately unless they have work to do, 11956 so they can't recurse more than once. In the worst case, if both of 11957 them have work to do, we can nest the Display lock three deep. In the 11958 case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 11959 takes the socket back if it needs to request more XIDs, and taking the 11960 socket back will reacquire the lock; we take care to avoid letting 11961 _XIDHandler run again and re-enter XCB from the return_socket callback 11962 (which causes Very Bad Things, and is Not Allowed). 11963 11964 Tested with ico (with 1 and 20 threads), and with several test programs 11965 for XID and sequence sync. Tested with and without XInitThreads(), and 11966 with and without XCB. 11967 11968 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 11969 11970 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11971 Signed-off-by: Josh Triplett <josh@freedesktop.org> 11972 11973commit b089b53b697c2851db2985d32af3b29f1da5e31e 11974Author: Jamey Sharp <jamey@minilop.net> 11975Date: Wed Apr 14 12:59:11 2010 -0700 11976 11977 Honest. Extensions get to filter async errors too. 11978 11979 Under some circumstances, errors are picked up by calling 11980 xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 11981 the requests with the XCB_REQUEST_CHECKED flag. That happens when either 11982 an async handler is queued at the time the requests are flushed, or when 11983 XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 11984 event queue. 11985 11986 This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 11987 those cases. 11988 11989 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 11990 11991 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11992 11993commit a15c31274650e391bc6de5d0951eb4464c228139 11994Author: Jamey Sharp <jamey@minilop.net> 11995Date: Wed Apr 14 12:10:34 2010 -0700 11996 11997 _XError already runs async handlers; only call them directly for replies. 11998 11999 The previous behavior probably would have triggered bug reports someday. 12000 12001 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12002 12003commit 405132dab64bf2375f8e57d02b1b53da2311933a 12004Author: Jamey Sharp <jamey@minilop.net> 12005Date: Tue Apr 13 12:12:36 2010 -0700 12006 12007 Extensions get to filter async errors too. 12008 12009 Apparently I misread XlibInt.c:_XReply and thought that handlers set 12010 with XESetError should be consulted only for the sequence number that 12011 _XReply is currently looking for. In fact, the error handlers are also 12012 consulted when an error arrives for a request that was not expected to 12013 have a reply. 12014 12015 However, in an odd twist, the error handlers are *not* consulted outside 12016 of _XReply--that is, when looking for events, or waiting to be able to 12017 flush the output queue. So this patch takes some small pains to preserve 12018 that behavior, though it seems likely to have been unintentional. 12019 12020 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 12021 12022 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12023 12024commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 12025Author: Jamey Sharp <jamey@minilop.net> 12026Date: Tue Apr 13 12:49:59 2010 -0700 12027 12028 Prefer the xcb_generic_error_t we already have over casting to xEvent. 12029 12030 Just a minor cleanup. 12031 12032 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12033 12034commit 75ea8c37935ccc911557d16a303ba595b8ab106b 12035Author: Jamey Sharp <jamey@minilop.net> 12036Date: Mon Apr 12 11:30:20 2010 -0700 12037 12038 Run the user's synchandler as well as any internal synchandlers. 12039 12040 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 12041 12042 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12043 12044commit c3f3e4a9e531d010312c97e753d6e543e607094d 12045Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 12046Date: Fri Feb 12 17:16:10 2010 +0900 12047 12048 Fix manual typos. 12049 12050 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 12051 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12052 12053commit 75c6c5595408caba9ef8233839d77021d02f86f2 12054Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 12055Date: Fri Feb 5 20:42:46 2010 +0100 12056 12057 man: Correct the XkbAllAccessXEventsMask mask name 12058 12059 This mask has probably been renamed but not been updated in the manuals. 12060 12061 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 12062 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12063 12064commit 9262aceaff24c954cab8c252690032bc2ec25e7d 12065Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 12066Date: Fri Feb 5 20:42:45 2010 +0100 12067 12068 man: Add missing geometry component flag 12069 12070 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 12071 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12072 12073commit 50cf134465f6fd263f37acecac94518468ef1c6d 12074Author: Dirk Wallenstein <halsmit@t-online.de> 12075Date: Tue Feb 2 21:24:32 2010 +0100 12076 12077 man: Return value of XkbGetState is Status and not Bool 12078 12079 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 12080 Reviewed-by: Julien Cristau <jcristau@debian.org> 12081 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12082 12083commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 12084Author: Dirk Wallenstein <halsmit@t-online.de> 12085Date: Tue Feb 2 21:24:30 2010 +0100 12086 12087 man: Fix return value specification of XkbKeyActionEntry 12088 12089 The XkbKeyActionEntry macro expands to a pointer. 12090 12091 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 12092 Reviewed-by: Julien Cristau <jcristau@debian.org> 12093 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12094 12095commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 12096Author: Dirk Wallenstein <halsmit@t-online.de> 12097Date: Tue Feb 2 21:24:29 2010 +0100 12098 12099 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 12100 12101 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 12102 groups with 2 levels each. It wraps the index into the next group. 12103 This behavior confuses the unaware user, and therefore this will add a 12104 reference to XkbKeycodeToKeysym in the corresponding man paragraph. 12105 12106 Another bug had that issue, too. #5349 12107 12108 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 12109 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12110 12111commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 12112Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12113Date: Thu Apr 8 19:59:55 2010 -0700 12114 12115 Fix typo in new fi_FI.UTF-8 that was reported by "make check" 12116 12117 Unrecognized pattern in Compose on line #154: 12118 <dead_diaeresis> <space> " "¨" 12119 12120 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12121 12122commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 12123Author: Marko Myllynen <myllynen@redhat.com> 12124Date: Thu Apr 8 19:52:42 2010 -0700 12125 12126 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 12127 12128 I've rewritten the fi_FI.UTF-8 Compose file so that it 12129 12130 - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 12131 possible additions to en_US.UTF-8/Compose automatically included) 12132 - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 12133 definitions (thus making it safe to include en_US.UTF-8/Compose) 12134 - lists all the definitions specified in the SFS 5966 standard (thus making it 12135 easy to verify that the implementation is valid and complete) 12136 - adds a header about the file itself as required by the standard 12137 12138 The rewritten version is ~320 lines compared to over 5000 lines of the previous 12139 version. 12140 12141 https://bugs.freedesktop.org/show_bug.cgi?id=27465 12142 12143commit f6a4fd0c7615684d08e848245849dea4017a5214 12144Author: Gaetan Nadon <memsize@videotron.ca> 12145Date: Thu Apr 1 21:46:12 2010 -0400 12146 12147 config: update and relocate AC_DEFINE_DIR macro 12148 12149 Remove deprecated acinclude.m4 macro container file 12150 Use separate macro files as per autoconf recommendation 12151 Use the latest macro from GNU (ax) which replaces 12152 the non-gnu version (ac) 12153 This preserves the Autoconf macro AC namespace. 12154 12155 Also moved out of acinclude.m4 is the DOLT macro 12156 12157 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12158 12159commit 61d5231db418cec51bd718633c3bba39b18689d6 12160Author: Gaetan Nadon <memsize@videotron.ca> 12161Date: Mon Mar 29 14:53:48 2010 -0400 12162 12163 config: remove the pkgconfig pc.in file from EXTRA_DIST 12164 12165 Automake always includes it in the tarball. 12166 12167 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12168 12169commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 12170Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 12171Date: Wed Mar 17 23:53:16 2010 -0300 12172 12173 No need for req->firstKeyCode to be set twice. 12174 12175 There is no reason to set req->firstKeyCode twice when a client, wishful 12176 for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 12177 fixes the mistake by making no functional changes to libX11 whatsoever. 12178 12179 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 12180 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12181 12182commit b5797597f83ee62228abfb88f026ef92163e07a5 12183Author: Gaetan Nadon <memsize@videotron.ca> 12184Date: Tue Feb 16 10:37:21 2010 -0500 12185 12186 config: move CWARNFLAGS from configure.ac to Makefile.am 12187 12188 Compiler warning flags should be explicitly set in the makefile 12189 rather than being merged with other packages compiler flags. 12190 12191 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 12192 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12193 12194commit 052c4d7995b0e52a038933beb85cd544571c6b7e 12195Author: Gaetan Nadon <memsize@videotron.ca> 12196Date: Tue Feb 16 14:28:21 2010 -0500 12197 12198 specs: change install cmd due to automake 1.11 12199 12200 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 12201 12202 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12203 12204commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 12205Author: Gaetan Nadon <memsize@videotron.ca> 12206Date: Tue Feb 9 17:27:08 2010 -0500 12207 12208 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 12209 12210 $(MKDIR_P) is not defined in automake 1.9. 12211 12212 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12213 12214commit e66eda95b520727969d721416d4ea49b54ef2b03 12215Author: Gaetan Nadon <memsize@videotron.ca> 12216Date: Tue Feb 2 16:29:26 2010 -0500 12217 12218 specs: install html images in $docdir with html files 12219 12220 The images required by the html files have been omitted. 12221 12222 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12223 12224commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 12225Author: Gaetan Nadon <memsize@videotron.ca> 12226Date: Sun Jan 31 14:16:20 2010 -0500 12227 12228 doc: use new macros to control doc generation 12229 12230 Namely XORG_WITH_GROFF for the groff generation tool 12231 XORG_WITH_PS2PDF for the conversion of PS docs to PDF 12232 XORG_ENABLE_SPECS for the generation of specs 12233 12234 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12235 12236commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 12237Author: Gaetan Nadon <memsize@videotron.ca> 12238Date: Tue Jan 26 19:41:08 2010 -0500 12239 12240 doc: clean-up generated html images 12241 12242 Generate images in /images as is the convention 12243 Provide a base file name for images rather than process ID 12244 Remove images directory when running make clean 12245 12246 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12247 12248commit eb289b34bfc9978eef724e0f268975938334c06c 12249Author: Kristian Høgsberg <krh@bitplanet.net> 12250Date: Thu Jan 21 13:39:17 2010 -0500 12251 12252 XErrorDB: Add new DRI2 request names 12253 12254commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 12255Author: Julien Cristau <jcristau@debian.org> 12256Date: Sat Jan 16 22:47:03 2010 +0000 12257 12258 man: Fix typo in Makefile 12259 12260 Missing line continuation was preventing the XCompose alias from being 12261 generated. 12262 12263 Signed-off-by: Julien Cristau <jcristau@debian.org> 12264 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12265 12266commit 68530599e61cf9fef3fcc91650e7cef21837fce7 12267Author: Alan Coopersmith <alan.coopersmith@sun.com> 12268Date: Sat Jan 16 11:41:32 2010 -0800 12269 12270 libX11 1.3.3 12271 12272 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12273 12274commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 12275Author: Alan Coopersmith <alan.coopersmith@sun.com> 12276Date: Thu Jan 14 18:33:39 2010 -0800 12277 12278 Update COPYING file with actual licenses from libX11 code & docs 12279 12280 COPYING was previously a years out-of-date copy of the LICENSES 12281 doc summarizing all licenses for all XFree86 components, many of 12282 which did not apply to libX11. 12283 12284 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12285 12286commit ddb1786720d6136b1b28be599c75c10ad1b76a2a 12287Author: Alan Coopersmith <alan.coopersmith@sun.com> 12288Date: Thu Jan 14 17:38:26 2010 -0800 12289 12290 Purge CVS/RCS id tags 12291 12292 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12293 12294commit c1db9ddcfa7091f173478dca45bf720badedfca4 12295Author: Alan Coopersmith <alan.coopersmith@sun.com> 12296Date: Thu Jan 14 15:39:14 2010 -0800 12297 12298 Update Sun license notices to current X.Org standard form 12299 12300 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12301 12302commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 12303Author: Alan Coopersmith <alan.coopersmith@sun.com> 12304Date: Thu Jan 14 08:28:22 2010 -0800 12305 12306 Add %S substitutions to Compose man page 12307 12308 Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 12309 in Compose file include statements - this documents it in the Compose 12310 file man page. 12311 12312 Also changes the existing substitution documentation to list format 12313 instead of a paragraph format to allow easier adding of %S. 12314 12315 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12316 12317commit 94b45db93058cffa25598fe27dd3e385ace9d305 12318Author: Richard Purdie <rpurdie@linux.intel.com> 12319Date: Thu Jan 14 08:04:28 2010 -0800 12320 12321 Fix configure.ac PKG_ macro calls 12322 12323 If the first call to PKG_CHECK_MODULES() may not be called during execution 12324 which is the case here since its inside a case statement, call 12325 PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 12326 12327 Fixes a configure failure introduced by commit 12328 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 12329 12330 http://bugs.freedesktop.org/show_bug.cgi?id=26041 12331 12332 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 12333 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12334 12335commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 12336Author: Alan Coopersmith <alan.coopersmith@sun.com> 12337Date: Tue Jan 12 09:18:15 2010 -0800 12338 12339 Raise xorg-macros requirement to 1.4 12340 12341 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 12342 depend on the INSTALL file delivered in xorg-macros 1.4 12343 12344 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12345 12346commit 9df349a7894725f9469b106af645f57f7f3f9af3 12347Author: James Cloos <cloos@jhcloos.com> 12348Date: Wed Jan 13 11:04:38 2010 -0500 12349 12350 Allow inclusion of system level compose files. 12351 12352 With the release of XFree86 4.4 an inclusion system of compose files was 12353 added to Xlib to allow inclusion of the default compose file (with %L), 12354 any compose files from user’s home directory (with %H), or a compose 12355 file with a hard coded path¹. However, even today including system level 12356 compose files is not possible in a platform independent manner although 12357 the machinery for including compose files and overriding previously 12358 defined compositions is already in place. 12359 12360 With the ability to include system level compose files one could greatly 12361 reduce the need for compose file rule duplication and the work needed to 12362 propagate changes in one compose file to others. For example, currently 12363 the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 12364 is almost identical with en_US.UTF-8 except for perhaps half a dozen 12365 compositions. 12366 12367 This commit allows one to include system level compose files with the 12368 following kind of syntax: 12369 12370 include "%S/en_US.UTF-8/Compose" 12371 12372 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 12373 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 12374 12375 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 12376 Signed-off-by: James Cloos <cloos@jhcloos.com> 12377 12378commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 12379Author: Thien-Thi Nguyen <ttn@gnuvola.org> 12380Date: Tue Dec 1 10:31:47 2009 +0100 12381 12382 libX11: Fix comment: Invert polarity (direction) of reformat description. 12383 12384 Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 12385 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12386 12387commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 12388Author: Osamu Sayama <osamu.sayama@sun.com> 12389Date: Tue Jan 5 17:26:40 2010 -0800 12390 12391 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 12392 12393 - In set_fontset_extents, check font_data is not NULL before running 12394 loop that may increment it to a non-NULL invalid pointer. 12395 - Make sure get_rotate_fontname counts the final field 12396 12397 Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 12398 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 12399 12400 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12401 Reviewed-by: Adam Jackson <ajax@redhat.com> 12402 12403commit 87529c039050ce3336ff9ce00f1b5a21d15690da 12404Author: Alan Coopersmith <alan.coopersmith@sun.com> 12405Date: Tue Jan 5 18:02:37 2010 -0800 12406 12407 Merge X11, XKBPROTO, & XPROTO pkg-config lists 12408 12409 Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 12410 in configure.ac anyway, might as well combine the lists passed to 12411 PKG_CHECK_MODULES to reduce duplication in the flags. 12412 12413 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12414 Reviewed-by: Rémi Cardona <remi@gentoo.org> 12415 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 12416 12417commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 12418Author: Alan Coopersmith <alan.coopersmith@sun.com> 12419Date: Tue Jan 5 17:56:58 2010 -0800 12420 12421 Add XCompose man page shadow for Compose man page 12422 12423 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12424 12425commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 12426Author: Alan Coopersmith <alan.coopersmith@sun.com> 12427Date: Tue Jan 5 17:47:44 2010 -0800 12428 12429 Add $(AM_V_GEN) to silence lint rules too 12430 12431 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12432 12433commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 12434Author: Alan Coopersmith <alan.coopersmith@sun.com> 12435Date: Tue Jan 5 17:42:42 2010 -0800 12436 12437 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 12438 12439 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12440 12441commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 12442Author: Gaetan Nadon <memsize@videotron.ca> 12443Date: Sun Nov 29 10:44:24 2009 -0500 12444 12445 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 12446 12447 It must be following AC_USE_SYSTEM_EXTENSION 12448 12449commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 12450Author: Gaetan Nadon <memsize@videotron.ca> 12451Date: Sun Nov 29 10:01:44 2009 -0500 12452 12453 Add .gitignore in /specs for generated files 12454 12455 Being in /specs, it will apply for all 3 subdirs 12456 12457commit f45d39d37aab04742e44cd8c3c993aad7587e40c 12458Author: Gaetan Nadon <memsize@videotron.ca> 12459Date: Fri Nov 27 20:56:03 2009 -0500 12460 12461 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 12462 12463 Now that the INSTALL file is generated. 12464 Allows running make maintainer-clean. 12465 12466commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 12467Author: Gaetan Nadon <memsize@videotron.ca> 12468Date: Wed Oct 28 14:09:10 2009 -0400 12469 12470 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 12471 12472 Add missing INSTALL file. Use standard GNU file on building tarball 12473 README may have been updated 12474 Remove AUTHORS file as it is empty and no content available yet. 12475 Remove NEWS file as it is empty and no content available yet. 12476 12477commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 12478Author: Gaetan Nadon <memsize@videotron.ca> 12479Date: Tue Oct 27 15:07:25 2009 -0400 12480 12481 Deploy the new XORG_DEFAULT_OPTIONS #24242 12482 12483 This macro aggregate a number of existing macros that sets commmon 12484 X.Org components configuration options. It shields the configuration file from 12485 future changes. 12486 12487commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 12488Author: Gaetan Nadon <memsize@videotron.ca> 12489Date: Mon Oct 26 22:08:42 2009 -0400 12490 12491 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 12492 12493 ChangeLog filename is known to Automake and requires no further 12494 coding in the makefile. 12495 12496commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 12497Author: Gaetan Nadon <memsize@videotron.ca> 12498Date: Thu Oct 22 12:34:19 2009 -0400 12499 12500 .gitignore: use common defaults with custom section # 24239 12501 12502 Using common defaults will reduce errors and maintenance. 12503 Only the very small or inexistent custom section need periodic maintenance 12504 when the structure of the component changes. Do not edit defaults. 12505 12506commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 12507Author: Alan Coopersmith <alan.coopersmith@sun.com> 12508Date: Thu Nov 12 23:05:40 2009 -0800 12509 12510 Add compose-check.pl to EXTRA_DIST 12511 12512 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12513 12514commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 12515Author: Julien Cristau <jcristau@debian.org> 12516Date: Thu Oct 29 17:17:24 2009 +0100 12517 12518 man: fix XCopyGC argument order 12519 12520 Ubuntu bug#408337 12521 12522commit aad10032651cdc2a53b359035954454a28d6db67 12523Author: Alan Coopersmith <alan.coopersmith@sun.com> 12524Date: Fri Oct 23 13:55:14 2009 -0700 12525 12526 libX11 1.3.2 12527 12528 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12529 12530commit 6303ada89cb228c0f9656036f798703afb42fc29 12531Author: Peter Hutterer <peter.hutterer@who-t.net> 12532Date: Wed Oct 21 12:42:07 2009 +1000 12533 12534 Add smiley faces to compose sequences. 12535 12536 I wonder how we could have lasted that long without them. 12537 12538 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12539 Acked-by: Daniel Stone <daniel@fooishbar.org> 12540 Acked-By: James Cloos <cloos@jhcloos.com> 12541 12542commit 0e104ebd8628803c27e36b16922ad1edd891325a 12543Author: Alan Coopersmith <alan.coopersmith@sun.com> 12544Date: Thu Oct 22 23:12:30 2009 -0700 12545 12546 Add man page for Compose file format 12547 12548 Based on grammar description in modules/im/ximcp/imLcPrs.c and 12549 note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 12550 12551 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12552 12553commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 12554Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 12555Date: Tue Oct 20 12:46:03 2009 -0700 12556 12557 Add extra configuration and sanity checks for groff and ps2pdf 12558 12559 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 12560 environment variables. 12561 2) Check that groff -ms works 12562 12563 Some distributions ship the ms macros as a separate package which may 12564 not be installed together with groff, so we need to make sure that groff 12565 works and the required macros are actually installed before attempting 12566 to build the specs. 12567 12568 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 12569 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 12570 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 12571 12572commit d3f801fd2f9198eaad6797414dba652f9c006c6d 12573Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 12574Date: Sun Oct 18 17:34:53 2009 -0500 12575 12576 Fix VPATH build of libX11 specs 12577 12578 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 12579 12580commit ad15e1a89d30ccc11d80745897b83def1448e8c0 12581Author: Alan Coopersmith <alan.coopersmith@sun.com> 12582Date: Sat Oct 17 16:14:34 2009 -0700 12583 12584 libX11 1.3.1 12585 12586 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12587 12588commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 12589Author: Alan Coopersmith <alan.coopersmith@sun.com> 12590Date: Sat Oct 17 16:28:25 2009 -0700 12591 12592 Fix make distcheck 12593 12594 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12595 12596commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 12597Author: Alan Coopersmith <alan.coopersmith@sun.com> 12598Date: Fri Oct 16 19:25:35 2009 -0700 12599 12600 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 12601 12602 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12603 12604commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 12605Author: Alan Coopersmith <alan.coopersmith@sun.com> 12606Date: Wed Oct 14 16:18:24 2009 -0700 12607 12608 Move libX11 & XIM/locale specs from xorg-docs 12609 12610 If groff is found, and --disable-specs is not passed to configure, 12611 specs will be converted to text, html and ps (or pdf if ps2pdf is 12612 found) and installed to $(docdir) 12613 12614 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12615 12616commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 12617Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 12618Date: Tue Oct 13 19:15:51 2009 -0500 12619 12620 Provide _Xsetlocale compat wrappers on Cygwin 12621 12622 Previous versions of Cygwin did not have proper locale support, so Cygwin/X 12623 defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 12624 support, but we can't remove the _Xsetlocale entry point without breaking 12625 ABI. 12626 12627 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 12628 12629commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 12630Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 12631Date: Tue Oct 13 19:15:49 2009 -0500 12632 12633 dolt: add Cygwin to supported platforms 12634 12635 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 12636 12637commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 12638Author: Alan Coopersmith <alan.coopersmith@sun.com> 12639Date: Wed Oct 14 13:23:30 2009 -0700 12640 12641 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 12642 12643 Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 12644 12645 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12646 12647commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 12648Author: Jon TURNEY <jon.turney@dronecode.org.uk> 12649Date: Tue Feb 10 17:47:25 2009 +0000 12650 12651 Include sys/select.h for select() and struct timeval, if it exists 12652 12653 This is a cygwin build fix 12654 12655commit 383165916ddac91740d4c780174d4c0d07cdb994 12656Author: Xake <xake@rymdraket.net> 12657Date: Sun Sep 27 11:16:36 2009 +0200 12658 12659 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 12660 12661 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12662 12663commit 854269d55cdda8caf425515bfed2855e211a5ada 12664Author: Julien Cristau <jcristau@debian.org> 12665Date: Tue Oct 6 16:11:24 2009 +0200 12666 12667 configure: quote argument to m4_pattern_forbid 12668 12669 Without this, configure spits out 12670 ../configure: line 12364: ac_fn_c_check_member: command not found 12671 ../configure: line 12378: ac_fn_c_check_type: command not found 12672 12673 Also anchor the pattern to make it stricter. 12674 12675 Signed-off-by: Julien Cristau <jcristau@debian.org> 12676 12677commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 12678Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 12679Date: Thu Oct 1 22:20:38 2009 -0700 12680 12681 Split CFLAGS into CPPFLAGS and CFLAGS 12682 12683 On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 12684 X11 headers are in /some/prefix/include, they will be preferred over the 12685 shipped headers. This corrects that problem. 12686 12687commit d54caf1c9c55af8247621b7ba6afb20b23699839 12688Author: Peter Hutterer <peter.hutterer@who-t.net> 12689Date: Fri Oct 2 10:59:08 2009 +1000 12690 12691 libX11 1.3 12692 12693 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12694 12695commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 12696Author: Peter Hutterer <peter.hutterer@who-t.net> 12697Date: Fri Oct 2 12:10:29 2009 +1000 12698 12699 nls: remove duplicate Compose sequences from pt_BR.UTF-8 12700 12701 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12702 12703commit a293ae9e83739067fc92db1a39c262857bc2283e 12704Author: Peter Hutterer <peter.hutterer@who-t.net> 12705Date: Fri Sep 25 11:19:41 2009 +1000 12706 12707 Add XF86TouchpadToggle to XKeysymDB 12708 12709 Lenovo laptops provide a key to enable or disable the touchpad and the 12710 trackstick. This key is usually located on Fn + F8. 12711 12712 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12713 Acked-by: Adam Jackson <ajax@redhat.com> 12714 12715commit 69839f8903a24eab08f17a781b3797fb64dce9cf 12716Author: Alan Coopersmith <alan.coopersmith@sun.com> 12717Date: Sun Sep 27 10:34:16 2009 -0700 12718 12719 Bug 24173: libX11 from git fails to build with automake older then 1.11 12720 12721 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 12722 Makefiles, instead of after. 12723 <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 12724 12725 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12726 12727commit f5effd041f58ef07703cca2b4f396758811e1eec 12728Author: Alan Coopersmith <alan.coopersmith@sun.com> 12729Date: Wed Apr 15 10:59:23 2009 -0700 12730 12731 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 12732 12733 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12734 12735commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 12736Author: Alan Coopersmith <alan.coopersmith@sun.com> 12737Date: Wed Apr 15 10:56:09 2009 -0700 12738 12739 Add perl script to check for duplicate or conflicting compose file entries 12740 12741 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12742 12743commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 12744Author: Alan Coopersmith <alan.coopersmith@sun.com> 12745Date: Fri Sep 18 17:10:04 2009 -0700 12746 12747 Use make rules instead of shell for loops to generate shadow man pages 12748 12749 Allows parallel make and simpler build logs/error reporting 12750 12751 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12752 12753commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 12754Author: Alan Coopersmith <alan.coopersmith@sun.com> 12755Date: Fri Sep 18 16:58:53 2009 -0700 12756 12757 Add AM_SILENT_RULES support for cpp rules for man & nls files 12758 12759 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12760 12761commit bfa19cddd8546b4930a773f3bbd81137c362d82b 12762Author: Alan Coopersmith <alan.coopersmith@sun.com> 12763Date: Fri Sep 18 16:58:16 2009 -0700 12764 12765 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 12766 12767 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12768 12769commit 51396066c8003a96a6399c9a4bed2a81e512b582 12770Author: Mikko Niskanen <mikko.niskanen@iki.fi> 12771Date: Fri Sep 4 10:11:15 2009 +1000 12772 12773 Fix wrong typedef on HP-UX (#18998) 12774 12775 shl_dt doesn't exist, the type is shl_t. 12776 12777 X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 12778 12779 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12780 12781commit 615220a312b9430a580fe6dcf51703c6ef244f66 12782Author: Paul Bender <pebender@gmail.com> 12783Date: Fri Sep 4 09:57:10 2009 +1000 12784 12785 Don't require xdmcp in configure.ac (#22583) 12786 12787 X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 12788 12789 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12790 12791commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 12792Author: Peter Hutterer <peter.hutterer@who-t.net> 12793Date: Thu Sep 3 14:02:44 2009 +1000 12794 12795 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 12796 12797 X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 12798 12799 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12800 12801commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 12802Author: Peter Hutterer <peter.hutterer@who-t.net> 12803Date: Thu Sep 3 12:05:25 2009 +1000 12804 12805 man: XQueryTree may return BadWindow. (#23416) 12806 12807 X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 12808 12809 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12810 12811commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 12812Author: Alan Coopersmith <alan.coopersmith@sun.com> 12813Date: Fri Aug 28 23:07:58 2009 +0800 12814 12815 Fix version tag in .TH line of several XKB man pages 12816 12817 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12818 12819commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 12820Author: Alan Coopersmith <alan.coopersmith@sun.com> 12821Date: Fri Aug 28 23:04:38 2009 +0800 12822 12823 XkbSetDeviceButtonActions.man: remove non-existent actions argument 12824 12825 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12826 12827commit 53affa9335116f2d367f041e6502a411d4619e47 12828Author: Alan Coopersmith <alan.coopersmith@sun.com> 12829Date: Fri Aug 28 23:00:17 2009 +0800 12830 12831 XkbQueryExtension.man: Arguments should be pointers 12832 12833 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12834 12835commit 6233948885acc5873a5abddfff235afec555f3c2 12836Author: Alan Coopersmith <alan.coopersmith@sun.com> 12837Date: Fri Aug 28 22:53:03 2009 +0800 12838 12839 XkbSAActionSetCtrls.man: Fix typo in formatting macro 12840 12841 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12842 12843commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 12844Author: Alan Coopersmith <alan.coopersmith@sun.com> 12845Date: Fri Aug 28 22:49:31 2009 +0800 12846 12847 Convert Xkb API man pages to ANSI prototypes 12848 12849 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 12850 12851commit fa2eecca85baab9616f7143cc1a853a594b4a90c 12852Author: James Cloos <cloos@jhcloos.com> 12853Date: Mon Aug 24 06:35:17 2009 -0400 12854 12855 Add some (Serbian) Cyrillic NFD sequences. 12856 12857 A number of characters in use in the various countries which use the 12858 Cyrillic script do not appear as pre-composed characters in The UCS 12859 or Unicode; they are only available as combining-character sequences. 12860 12861 This commit adds support for using (prefix) dead keys and Multi_key- 12862 initiated sequences to enter a number of these combining-character 12863 sequences. This ensures that users can enter these scripts even 12864 when using the current Cyrillic keymaps, which lack support for 12865 the combining characters. 12866 12867 Please see the discussions on the xkb mailing list. 12868 12869 Signed-off-by: James Cloos <cloos@jhcloos.com> 12870 12871commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 12872Author: Julien Cristau <jcristau@debian.org> 12873Date: Wed Aug 5 18:14:23 2009 +0200 12874 12875 man/xkb: delete spurious newline in .TH headers 12876 12877commit ee723b83b24682db833a2f0abd96cd319b8a62af 12878Author: Julien Cristau <jcristau@debian.org> 12879Date: Wed Aug 5 16:45:19 2009 +0200 12880 12881 man: use __libmansuffix__ instead of 3X11 for references to other pages 12882 12883commit 595e204feb82c798a92eea41fea03be6476ac181 12884Author: Julien Cristau <jcristau@debian.org> 12885Date: Wed Aug 5 16:43:36 2009 +0200 12886 12887 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 12888 12889commit 9da7e230d5320e1556ad2084fcd06ee7994385ea 12890Author: Peter Hutterer <peter.hutterer@who-t.net> 12891Date: Wed Aug 5 14:15:02 2009 +1000 12892 12893 Bump to 1.2.99.901 (1.3 RC1) 12894 12895 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12896 12897commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 12898Author: Filippo Giunchedi <filippo@debian.org> 12899Date: Sat Jun 6 16:56:54 2009 +0200 12900 12901 nls: add {left,right}wards arrow to compose table 12902 12903 Debian bug#532117 <http://bugs.debian.org/532117> 12904 12905 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12906 12907commit 7949bfa00390241d994f32463e50d4bd78920568 12908Author: Julien Cristau <jcristau@debian.org> 12909Date: Fri Jul 31 13:33:52 2009 +0200 12910 12911 Update library version for new symbols 12912 12913 Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 12914 cookie handling. Bump libX11 version number accordingly. 12915 12916 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12917 12918commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 12919Author: Julien Cristau <jcristau@debian.org> 12920Date: Sun Aug 2 17:18:31 2009 +0200 12921 12922 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 12923 12924 X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 12925 12926 Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 12927 Signed-off-by: Julien Cristau <jcristau@debian.org> 12928 12929commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 12930Author: Peter Hutterer <peter.hutterer@who-t.net> 12931Date: Wed Jul 29 08:44:09 2009 +1000 12932 12933 Fix compiler warning 'unused variable qelt' 12934 12935 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12936 12937commit 03f4907e14f5755e72309f08742977b871e81e33 12938Author: Peter Hutterer <peter.hutterer@who-t.net> 12939Date: Wed Jul 29 08:34:57 2009 +1000 12940 12941 Add utlist.h to the Makefile.am 12942 12943 utlist.h contains the linked list macros, it was added with the recent 12944 addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 12945 result, make dist failed. 12946 12947 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12948 12949commit 554f755e5545f63d3c8f299297927238da155773 12950Author: Peter Hutterer <peter.hutterer@who-t.net> 12951Date: Fri Jun 26 11:27:43 2009 +1000 12952 12953 Add generic event cookie handling to libX11. 12954 12955 Generic events require more bytes than Xlib provides in the standard XEvent. 12956 Memory allocated by the extension and stored as pointers inside the event is 12957 prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 12958 12959 This patch adds cookie handling for generic events. Extensions may register 12960 a cookie handler in addition to the normal event vectors. If an extension 12961 has registered a cookie handler, _all_ generic events for this extensions 12962 must be handled through cookies. Otherwise, the default event handler is 12963 used. 12964 12965 The cookie handler must return an XGenericEventCookie with a pointer to the 12966 data.The rest of the event (type, serialNumber, etc.) are to be filled as 12967 normal. When a client retrieves such a cookie event, the data is stored in 12968 an internal queue (the 'cookiejar'). This data is freed on the next call to 12969 XNextEvent(). 12970 12971 New extension interfaces: 12972 XESetWireToEventCookie(display, extension_number, cookie_handler) 12973 12974 Where cookie_handler must set cookie->data. The data pointer is of arbitray 12975 size and type but must be a single memory block. This memory block 12976 represents the actual extension's event. 12977 12978 New client interfaces: 12979 XGetEventData(display, *cookie); 12980 XFreeEventData(display, *cookie); 12981 12982 If the client needs the actual event data, it must call XGetEventData() with 12983 the cookie. This returns the data pointer (and removes it from the cookie 12984 jar) and the client is then responsible for freeing the event with 12985 XFreeEventData(). It is safe to call either function with a non-cookie 12986 event. Events unclaimed or not handled by the XGetEventData() are cleaned up 12987 automatically. 12988 12989 Example client code: 12990 XEvent event; 12991 XGenericEventCookie *cookie = &ev; 12992 12993 XNextEvent(display, &event); 12994 if (XGetEventData(display, cookie)) { 12995 XIEvent *xievent = cookie->data; 12996 ... 12997 } else if (cookie->type == GenericEvent) { 12998 /* handle generic event */ 12999 } else { 13000 /* handle extension/core event */ 13001 } 13002 XFreeEventData(display, cookie); 13003 13004 Cookies are not multi-threading safe. Clients that use XGetEventData() must 13005 lock between XNextEvent and XGetEventData to avoid other threads freeing 13006 cookies. 13007 13008 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13009 13010commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 13011Author: Peter Hutterer <peter.hutterer@who-t.net> 13012Date: Mon Jul 6 13:17:35 2009 +1000 13013 13014 Bump to 1.2.99.1 13015 13016 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13017 13018commit 75fe48e7a42a685d7098e8d7108b9b956c471563 13019Author: Peter Hutterer <peter.hutterer@who-t.net> 13020Date: Fri Jul 10 14:07:34 2009 +1000 13021 13022 Bump to 1.2.2 13023 13024 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13025 13026commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 13027Author: Peter Hutterer <peter.hutterer@who-t.net> 13028Date: Thu Jul 2 09:10:25 2009 +1000 13029 13030 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 13031 13032 GenericEvent cannot be selected for in the core event masks and they must 13033 thus be treated like extension events. 13034 13035 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13036 13037commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 13038Author: Peter Hutterer <peter.hutterer@who-t.net> 13039Date: Thu Jul 2 09:06:05 2009 +1000 13040 13041 XWindowEvent/XCheckWindowEvent must not return GenericEvents. 13042 13043 GenericEvents have no fixed position for the window, so they must be treated 13044 like extension events. 13045 13046 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13047 13048commit 38f9054554d63525d2dd51aafb5eb57821158ab9 13049Author: Alan Coopersmith <alan.coopersmith@sun.com> 13050Date: Mon Jun 15 19:00:43 2009 -0700 13051 13052 Drop ancient USG SysV #ifdefs 13053 13054 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13055 13056commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 13057Author: Adam Jackson <ajax@redhat.com> 13058Date: Fri Jun 12 12:44:01 2009 -0400 13059 13060 Remove X_NOT_STDC_ENV usage. (#6527) 13061 13062commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 13063Author: Julien Cristau <jcristau@debian.org> 13064Date: Fri May 29 11:18:11 2009 +0200 13065 13066 nls: remove more duplicated aliases 13067 13068 Signed-off-by: Julien Cristau <jcristau@debian.org> 13069 13070commit e4b0899f516da224010e68bd2d953d5293d94993 13071Author: parag <parag@rawhideTM.pnq.redhat.com> 13072Date: Thu May 28 11:29:35 2009 +0530 13073 13074 nls: Add pa_PK locale information and make pa_IN as default for pa. 13075 13076 X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 13077 13078 [jcristau: removed the pa_PK.UTF-8 alias to itself] 13079 13080 Signed-off-by: parag <pnemade@redhat.com> 13081 Signed-off-by: Julien Cristau <jcristau@debian.org> 13082 13083commit f0ea1f6d51145592f8617854f9320ec5dbff3299 13084Author: Julien Cristau <jcristau@debian.org> 13085Date: Fri May 29 10:58:20 2009 +0200 13086 13087 nls: remove broken sd_IN.UTF-8 alias 13088 13089 Signed-off-by: Julien Cristau <jcristau@debian.org> 13090 13091commit e29e010dabdb17d6498f2ef1786f69b8830c18ca 13092Author: Julien Cristau <jcristau@debian.org> 13093Date: Fri May 29 10:57:43 2009 +0200 13094 13095 nls: remove duplicated en_US* aliases 13096 13097 Signed-off-by: Julien Cristau <jcristau@debian.org> 13098 13099commit a89a300d87852c84389ad97db66dcb8930cb45dd 13100Author: Caolan McNamara <caolanm@redhat.com> 13101Date: Thu May 21 18:41:05 2009 +0200 13102 13103 man: missing space in XAllocColor man page 13104 13105 X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 13106 13107commit c1c001e36504fd304f76f69bf6af3643225c49ea 13108Author: James Cloos <cloos@jhcloos.com> 13109Date: Wed May 13 13:03:54 2009 -0400 13110 13111 [nls] Replace remaining UCS Combining Characters in Compose sequences. 13112 13113 The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 13114 where the keysym is used as a dead_key, with an actual dead_key symbol. 13115 13116 The only remaining instances of UCS combining characters in the 13117 compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 13118 used as a suffix in Multi_key-initiated sequences to create 13119 mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 13120 from ∈ U+2208 ELEMENT OF. 13121 13122commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 13123Author: James Cloos <cloos@jhcloos.com> 13124Date: Wed May 13 09:58:59 2009 -0400 13125 13126 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 13127 13128 This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 13129 where the matching keysym is used as a dead_key, and for which alternative 13130 compose sequences exist. 13131 13132commit 79f47e6dff2f0a0b673bbfecc47528edca814baa 13133Author: James Cloos <cloos@jhcloos.com> 13134Date: Fri May 8 20:11:54 2009 -0400 13135 13136 [nls] Remove combining_ keysyms from the Compose files 13137 13138 Some of the UTF-8 Compose tables included combining_ keysyms in 13139 the compose sequences as though they were dead symbols. This 13140 is contrary to how combining characters are used in the UCS. 13141 Therefore, those lines have been removed from the Compose tables. 13142 13143 There were also some combining_ keysyms as targets. As those 13144 are not included in x11proto’s keysymdef.h, and as those do 13145 exist there as Uxxxx keysyms, they are replaced with the Uxxxx 13146 keysym names. 13147 13148 This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 13149 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 13150 13151 Signed-off-by: James Cloos <cloos@jhcloos.com> 13152 13153commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 13154Author: parag <pnemade@redhat.com> 13155Date: Tue May 5 16:50:47 2009 +0530 13156 13157 libX11: Add new Indic language information to nls directory files. #21560 13158 13159 Signed-off-by: parag <pnemade@redhat.com> 13160 13161commit aaf81096eb44b4c2812108721ba02738391884da 13162Author: Alan Coopersmith <alan.coopersmith@sun.com> 13163Date: Sat May 2 01:38:14 2009 -0700 13164 13165 Correct return type in XkbGetKeyboard man page 13166 13167 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13168 13169commit 2bef065b70f70af520b5de8fb23529254d15f003 13170Author: Christoph Pfister <christophpfister@gmail.com> 13171Date: Mon Apr 27 22:32:57 2009 -0700 13172 13173 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 13174 13175 http://bugs.freedesktop.org/show_bug.cgi?id=21117 13176 13177 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13178 13179commit 5c1cde105db10df24d3c532f032cbc59050c7313 13180Author: Alan Coopersmith <alan.coopersmith@sun.com> 13181Date: Fri Apr 17 22:14:47 2009 -0700 13182 13183 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 13184 13185 Raises minimum autoconf version required to 2.60 13186 13187 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13188 13189commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 13190Author: Julien Cristau <jcristau@debian.org> 13191Date: Tue Apr 14 15:59:57 2009 +0100 13192 13193 Fix fi_FI.UTF-8, again 13194 13195 Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 13196 file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 13197 This reverts it back to using the en_US.UTF-8 one. 13198 13199commit 128daff4422f973ea40dd1e31b2db230e643549e 13200Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 13201Date: Thu Apr 9 12:01:07 2009 +0700 13202 13203 Thai XIM not retrieve MB surrounding on UTF-8 LC 13204 13205 On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 13206 that use X Input Method. 13207 13208 This is because GTK+ imxim immodule passes surrounding text in locale encoding, 13209 which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 13210 multi-byte StringConversionText response for the StringConversionCallback to 13211 always be TIS-620, by retrieving a single byte and using it as-is. 13212 13213 If the Thai XIM tries to convert the multi-byte text based on locale codeset 13214 before using it, it will work again. 13215 13216 X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 13217 13218 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 13219 Signed-off-by: Julien Cristau <jcristau@debian.org> 13220 13221commit e09f0d227fbf95b6252759af9d426efd57686f9f 13222Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 13223Date: Thu Apr 9 11:47:55 2009 +0700 13224 13225 Thai XIM not filters when NumLock or CapsLock is on 13226 13227 The Thai XIM component in libx11 activated on 'th*' locales normally filters 13228 input sequence according to orthographic rules. However, when NumLock/CapsLock 13229 is on, this stops working. All sequences are passed through. 13230 13231 This is caused by missing masks in _XimThaiFilter(), which normally screens out 13232 certain special keys from entering orthographic rules. Unfortunately, this 13233 included events with NumLock/CapsLock on. Negating the masks from the check 13234 allows the events to be tested by the rules. 13235 13236 X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 13237 13238 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 13239 Signed-off-by: Julien Cristau <jcristau@debian.org> 13240 13241commit d108d3c706af3502820b5202564488ea19908b77 13242Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 13243Date: Thu Apr 9 11:25:25 2009 +0700 13244 13245 CharSet-to-CompoundText Conversion Failed for Thai Locales 13246 13247 SCIM fails to commit Thai input characters on Thai locales, because it commits 13248 string in compound text form, which was converted via 13249 XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 13250 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 13251 src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 13252 So, declaring cs1 as ISO8859-11:GR instead makes it work. 13253 13254 Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 13255 support for UTF-8 input. 13256 13257 And, along discussion in the bug, a similar problem was found for fontset, too, 13258 by causing delays on X apps startups on systems without tis620-0 fonts. This 13259 is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 13260 by default for Thai X fonts. So, Thai fontset charset is also patched. 13261 13262 X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 13263 13264 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 13265 Signed-off-by: Julien Cristau <jcristau@debian.org> 13266 13267commit fd62d3318c846cd43d66a505946e94704d7d83dc 13268Author: Alan Coopersmith <alan.coopersmith@sun.com> 13269Date: Wed Apr 8 19:42:25 2009 -0700 13270 13271 Revert "Change masculine to ordmasculine in Compose file comments" 13272 13273 This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 13274 13275 As Julien Cristau correctly points out, I misread the Compose file grammar 13276 in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 13277 the keysym is named XK_masculine in keysymdef.h. This change is thus a 13278 bug in the Solaris compose tables to be fixed, not an improvement to bring 13279 upstream. 13280 13281commit eac57c77afdf44f50692225b8b0345a7c927bc84 13282Author: Alan Coopersmith <alan.coopersmith@sun.com> 13283Date: Tue Apr 7 15:38:45 2009 -0700 13284 13285 Version bump: 1.2.1 13286 13287 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13288 13289commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 13290Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 13291Date: Tue Apr 7 13:46:57 2009 -0700 13292 13293 Bug 20773: Xcursor dynamic loading on Cygwin 13294 13295 X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 13296 Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 13297 13298 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13299 13300commit c8c41614911be4fa222fa22478677d263b41c751 13301Author: Alan Coopersmith <alan.coopersmith@sun.com> 13302Date: Mon Apr 6 16:52:46 2009 -0700 13303 13304 Fix a several sparse warnings: Using plain integer as NULL pointer 13305 13306 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13307 13308commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 13309Author: Alan Coopersmith <alan.coopersmith@sun.com> 13310Date: Mon Apr 6 16:32:05 2009 -0700 13311 13312 Further ansify prototypes & reduce #ifdefs in locking.c 13313 13314 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13315 13316commit 892b401d5acc055803a20e349ede0d64490f2230 13317Author: Alan Coopersmith <alan.coopersmith@sun.com> 13318Date: Mon Apr 6 10:50:09 2009 -0700 13319 13320 Change masculine to ordmasculine in Compose file comments 13321 13322 Matches the ordfeminine name used for the matching character, 13323 and the ordmasculine name used in many font descriptions of the glyph. 13324 13325 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13326 13327commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 13328Author: Julien Cristau <jcristau@debian.org> 13329Date: Fri Mar 13 13:52:33 2009 +0100 13330 13331 Add a ru_RU.UTF-8 locale 13332 13333 Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 13334 13335 Debian bug#330144 <http://bugs.debian.org/330144> 13336 X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 13337 13338commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 13339Author: Alan Coopersmith <alan.coopersmith@sun.com> 13340Date: Wed Mar 25 17:59:09 2009 -0700 13341 13342 Delete some unused "#ifdef notdef" static functions 13343 13344 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13345 13346commit 4281892e31058ef3aecc96a5767824b34d88d415 13347Author: Alan Coopersmith <alan.coopersmith@sun.com> 13348Date: Wed Mar 25 17:52:48 2009 -0700 13349 13350 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 13351 13352 This copy of Xrm.c is never compiled into the Xprint server any more, so 13353 this old code-sharing #ifdef from the monolith tree isn't needed. 13354 13355 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13356 13357commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 13358Author: Alan Coopersmith <alan.coopersmith@sun.com> 13359Date: Tue Mar 17 18:38:58 2009 -0700 13360 13361 makekeys: combine malloc(strlen)+strcpy into strdup 13362 13363 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13364 13365commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 13366Author: Alan Coopersmith <alan.coopersmith@sun.com> 13367Date: Tue Mar 17 15:42:19 2009 -0700 13368 13369 When makekeys fails to find a good hash, print error instead of divide-by-zero 13370 13371 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13372 13373commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 13374Author: Alan Coopersmith <alan.coopersmith@sun.com> 13375Date: Tue Mar 17 14:59:16 2009 -0700 13376 13377 Remove ifdef checks for macII left over from ancient A/UX 3.0 support 13378 13379 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13380 13381commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 13382Author: Alan Coopersmith <alan.coopersmith@sun.com> 13383Date: Mon Mar 16 18:37:49 2009 -0700 13384 13385 XErrorDB additions for DRI2 requests 13386 13387 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13388 13389commit 273f45af1441be9d2135e4cac8c46ceb33470236 13390Author: Alan Coopersmith <alan.coopersmith@sun.com> 13391Date: Mon Mar 16 18:35:44 2009 -0700 13392 13393 XErrorDB additions for XInput errors and new XInput 1.5 requests 13394 13395 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13396 13397commit 90ef36f6336068183bf9d13ca972202db35b1202 13398Author: Alan Coopersmith <alan.coopersmith@sun.com> 13399Date: Mon Mar 16 18:23:05 2009 -0700 13400 13401 XErrorDB additions for RANDR 1.3 13402 13403 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13404 13405commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 13406Author: Lubos Lunak <l.lunak@suse.cz> 13407Date: Mon Mar 16 18:03:36 2009 -0700 13408 13409 XErrorDB updates for XTEST, RANDR, DAMAGE extensions 13410 13411 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 13412 13413 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13414 13415commit 80811846e37b805fddb37c71589fd5f6f6037b3f 13416Author: Lubos Lunak <l.lunak@suse.cz> 13417Date: Mon Mar 16 17:57:52 2009 -0700 13418 13419 XGetErrorText() fails for extension error codes equal to the error base 13420 13421 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 13422 13423 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13424 13425commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 13426Author: Milos Komarcevic <miloskomarcevic@netscape.net> 13427Date: Mon Mar 16 17:43:26 2009 -0700 13428 13429 Bug 11456: Serbian locale updates (sr_RS and sr_ME) 13430 13431 X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 13432 Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 13433 13434 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13435 13436commit 934a6c0519a9e32505beee55b004f36c2a710217 13437Author: Alan Coopersmith <alan.coopersmith@sun.com> 13438Date: Mon Mar 16 14:55:22 2009 -0700 13439 13440 Bug 10082: Compose entries for some standard mathematical operators 13441 13442 X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 13443 13444 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13445 13446commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 13447Author: Alan Coopersmith <alan.coopersmith@sun.com> 13448Date: Mon Mar 16 14:27:46 2009 -0700 13449 13450 Bug 14651: We need to add new locale specification for Belarusian Latin locale 13451 13452 X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 13453 13454 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13455 13456commit 837703c8651e1321a50147a8311c56e4758ce08a 13457Author: Caolan McNamara <caolanm@redhat.com> 13458Date: Mon Mar 16 14:15:50 2009 -0700 13459 13460 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 13461 13462 X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 13463 Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 13464 13465 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13466 13467commit 22199018879055d8653e59d8236bef57164fac66 13468Author: Alan Coopersmith <alan.coopersmith@sun.com> 13469Date: Mon Mar 16 13:28:18 2009 -0700 13470 13471 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 13472 13473 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13474 13475commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 13476Author: Alan Coopersmith <alan.coopersmith@sun.com> 13477Date: Thu Mar 12 18:57:20 2009 -0700 13478 13479 Bug 9953: Please provide locale alias hu_HU.utf8 13480 13481 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 13482 Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 13483 13484 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13485 13486commit 501f4e0ada1690783ada05ad412e4b191ad55336 13487Author: Alan Coopersmith <alan.coopersmith@sun.com> 13488Date: Thu Mar 12 17:38:21 2009 -0700 13489 13490 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 13491 13492 X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 13493 Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 13494 13495 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13496 13497commit 7b9c543e7210c7da204871c31a160e79d3a949b6 13498Author: Paul Bender <pebender@gmail.com> 13499Date: Thu Mar 12 17:11:42 2009 -0700 13500 13501 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 13502 13503 X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 13504 Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 13505 13506 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13507 13508commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 13509Author: Xue Wei <Wei.Xue@Sun.COM> 13510Date: Wed Mar 4 19:32:29 2009 -0800 13511 13512 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 13513 13514 Sun bug 6809309 Add new utf8 locales supported by Xlib 13515 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 13516 13517 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13518 13519commit cb70c9bc43267577859a3674ca9de9be396ba69e 13520Author: Alan Coopersmith <alan.coopersmith@sun.com> 13521Date: Mon Feb 23 19:29:15 2009 -0800 13522 13523 Add --with-locale-lib-dir configure option to set locale lib install dir 13524 13525 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13526 13527commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 13528Author: Alan Coopersmith <alan.coopersmith@sun.com> 13529Date: Mon Feb 23 18:33:51 2009 -0800 13530 13531 Incorporate more locale names/aliases from Solaris libX11 13532 13533 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13534 13535commit 83ce4daefdf544f801c7d666c89162690a36ce41 13536Author: Alan Coopersmith <alan.coopersmith@sun.com> 13537Date: Mon Feb 23 18:32:34 2009 -0800 13538 13539 Incorporate char range comments from Solaris version of ksc5601.h 13540 13541 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13542 13543commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 13544Author: Chris Ball <cjb@laptop.org> 13545Date: Sat Feb 21 14:48:42 2009 -0500 13546 13547 Fix fi_FI locale install directory. 13548 13549 fi_FI was setting "x11thislocaledir" to en_US, with the result that its 13550 locale data was written in that locale dir. 13551 13552 Signed-off-by: Chris Ball <cjb@laptop.org> 13553 13554commit da6bbca07c796c69172a649405474f03bee66754 13555Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 13556Date: Sat Feb 21 20:17:23 2009 +0100 13557 13558 xcb_io: Avoid datatype overflow on AMD64 and friends. 13559 13560commit 4ef6491afa69e8441caee7bbebc583e6e796275e 13561Author: Chris Ball <cjb@laptop.org> 13562Date: Sat Feb 21 12:51:03 2009 -0500 13563 13564 Build fix for fi_FI. 13565 13566 Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 13567 Makefile is written there by configure. 13568 13569 Signed-off-by: Chris Ball <cjb@laptop.org> 13570 13571commit 642c4e928e770e012379539a6ce09e11c02f09a6 13572Author: Julien Cristau <jcristau@debian.org> 13573Date: Sat Feb 21 03:12:05 2009 +0100 13574 13575 nls: actually use the fi_FI.UTF-8 files 13576 13577 The subdir wasn't added to nls/Makefile.am 13578 13579commit 9bad8309ef289bb943651abf6967b24fa2252aac 13580Author: Alan Coopersmith <alan.coopersmith@sun.com> 13581Date: Fri Feb 20 14:45:54 2009 -0800 13582 13583 flags member of Display structure needs to be marked volatile 13584 13585 Since the Xlib multithreaded code checks the flags variable in _XFlushInt 13586 to see if the other threads are done yet, it has to be marked volatile so 13587 the compiler doesn't optimize out re-loading it on each trip through the 13588 while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 13589 13590 Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 13591 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 13592 13593 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13594 13595commit ef5c446395aa30d7b1096a112e241a81c5b358e7 13596Author: Xue Wei <Wei.Xue@Sun.COM> 13597Date: Fri Feb 20 15:12:35 2009 -0800 13598 13599 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 13600 13601 Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 13602 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 13603 13604 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13605 13606commit 3822f2654e9630167f0c6cae317b472c09771672 13607Author: Xue Wei <Wei.Xue@Sun.COM> 13608Date: Fri Feb 20 15:03:51 2009 -0800 13609 13610 Add locale aliases for no_NO & sh_BA locale variants 13611 13612 Fixes Sun bug id 6691219: xterm refuses to start in some locales 13613 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 13614 13615 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13616 13617commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 13618Author: Xue Wei <Wei.Xue@Sun.COM> 13619Date: Fri Feb 20 14:23:11 2009 -0800 13620 13621 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 13622 13623 Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 13624 changing keyboard layout with gimlet does not work") 13625 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 13626 13627 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13628 13629commit d497301707962f3b94542e999a36abffcfbd303d 13630Author: Julien Cristau <jcristau@debian.org> 13631Date: Tue Feb 17 16:09:41 2009 +0100 13632 13633 Bump to 1.2 13634 13635commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 13636Author: Julien Cristau <jcristau@debian.org> 13637Date: Tue Feb 17 15:23:40 2009 +0100 13638 13639 Check Xmalloc return value in _XConnectXCB 13640 13641 X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 13642 13643 Signed-off-by: Julien Cristau <jcristau@debian.org> 13644 13645commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 13646Author: James Cloos <cloos@jhcloos.com> 13647Date: Sat Feb 14 12:35:56 2009 -0500 13648 13649 dolt: allow older versions of bash to compile the library 13650 13651 Cf xserver commit 7be6520d and bugzilla #19031. 13652 13653commit 20982d6866e24453642b0b592fa0f13a88aa747c 13654Author: Will Thompson <will@willthompson.co.uk> 13655Date: Thu Feb 5 02:53:06 2009 +1100 13656 13657 NLS: Compose: Non-aliasing CCCP 13658 13659 Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 13660 13661 Signed-off-by: Will Thompson <will@willthompson.co.uk> 13662 Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 13663 13664commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 13665Author: Will Thompson <will@willthompson.co.uk> 13666Date: Wed Feb 4 14:51:11 2009 +0000 13667 13668 Add two essential compose sequences 13669 13670 Signed-off-by: Will Thompson <will@willthompson.co.uk> 13671 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13672 13673commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 13674Author: Alan Coopersmith <alan.coopersmith@sun.com> 13675Date: Mon Feb 2 20:34:31 2009 -0800 13676 13677 Add README with pointers to mailing list, bugzilla & git repos 13678 13679 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 13680 13681commit f682c27e93512773122887d2cbabb1657af45d2e 13682Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13683Date: Mon Feb 2 16:36:39 2009 -0200 13684 13685 Check if a function argument is NULL. 13686 13687 This was an addition to patch (also by me) 13688 https://bugs.freedesktop.org/attachment.cgi?id=14660 13689 that was not added when rediscovering/correcting the problem. 13690 13691commit 427e9d45d424b84efd9fc499aebf8d72392844c5 13692Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13693Date: Thu Feb 28 15:58:12 2008 -0300 13694 13695 Allow multiple inclusions of cursorfont.h, cosmetic patch. 13696 13697commit b91524a53e691f6a5d278fd8972b48a14ebeedeb 13698Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13699Date: Thu Feb 28 15:54:43 2008 -0300 13700 13701 Don't add prototypes for functions that don't exist. 13702 13703 Note that a full review was not done, only for functions that receive 13704 char/short arguments, or one of it's parameters is a function pointer 13705 that requires char/short arguments. 13706 13707commit 537eb52fe266ac439c4b383bb04a70017b709911 13708Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13709Date: Thu Feb 28 15:50:27 2008 -0300 13710 13711 WORD64 compile fix. This bug catched on a overview of the code. 13712 13713 The code is wrong since the first git revision, so it seens that it has 13714 not been compiled with WORD64 for quite some time, there is also another 13715 interesting code in xkb/XKBRdBuf.c: 13716 <hash>ifdef WORD64 13717 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 13718 <hash>endif 13719 and possibly there are other similar problems. 13720 13721commit ffd0300fb74c6183208ae599133f2ded09e08d97 13722Author: Brian Rogers <brian@xyzw.org> 13723Date: Sat Jan 31 10:37:51 2009 -0800 13724 13725 Initialize event_notify after allocating the memory for it. 13726 13727 An uninitialized or otherwise invalid condition variable can apparently 13728 cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 13729 at least are freezing as a result of event_notify never being initialized. 13730 13731 Signed-off-by: Brian Rogers <brian@xyzw.org> 13732 Signed-off-by: Bart Massey <bart@cs.pdx.edu> 13733 13734commit 97fc6babd4ccaf300e25708868aa2a738893dc30 13735Author: James Cloos <cloos@jhcloos.com> 13736Date: Thu Jan 29 20:10:41 2009 -0500 13737 13738 NLS: Add UTF-8 compose file for Finnish 13739 13740 From bug report: 13741 13742 https://bugs.freedesktop.org/show_bug.cgi?id=18747 13743 13744commit 1bd2966ed88f83479a066c6ca7da23a515979550 13745Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13746Date: Thu Jan 29 20:25:15 2009 -0200 13747 13748 patches to avoid gcc warnings for libX11 (#4) 13749 13750 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 13751 Bug #17946, attachment #19443 13752 13753 This patch avoids the gcc warning 13754 ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 13755 (same as already done at other places) 13756 13757 BTW: what is the difference between XIM (the type of ic->core.im) 13758 and Xim ? 13759 13760commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 13761Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13762Date: Thu Jan 29 20:22:21 2009 -0200 13763 13764 patches to avoid gcc warnings for libX11 (#3) 13765 13766 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 13767 Bug #17946, attachment #19441 13768 13769 This patch avoids the two gcc warnings 13770 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 13771 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 13772 13773 Note, that this as a rather crude fix of the problem (and it is really a 13774 shame to cast name_table to non-const). 13775 13776 The right solution would be to declare XIMValuesList.supported_values 13777 (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 13778 This will, however, require extensive modifications in various places. 13779 13780commit cce75c5dce73fe1f8626ed9e6798138ada09a860 13781Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13782Date: Thu Jan 29 20:20:18 2009 -0200 13783 13784 patches to avoid gcc warnings for libX11 (#2) 13785 13786 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 13787 Bug #17946, attachment #19440 13788 13789 Avoid a preprocessor message 13790 <stdin>:194: warning: no newline at end of file 13791 13792 Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 13793 seem to be caused by a truncated (or otherwise incomplete) 13794 manpage. 13795 13796commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 13797Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13798Date: Thu Jan 29 20:12:24 2009 -0200 13799 13800 patches to avoid gcc warnings for libX11 (#1) 13801 13802 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 13803 Bug #17946, attachment #19439 13804 13805 Define as 1 (one) as done by autoconf and the command line 13806 option, e.g. -DX11_t, not as empty. 13807 13808 This avoids the gcc (3.4.6) warnings: 13809 ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 13810 <command line>:7:1: warning: this is the location of the previous definition 13811 ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 13812 <command line>:8:1: warning: this is the location of the previous definition 13813 13814 Similarly, follow the autoconf convention to define XTHREADS 13815 and XUSE_MTSAFE_API as one. 13816 13817 This avoids analogous warnings when compiling libXcomposite, 13818 libXcursor, and libXdamage. 13819 13820 No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 13821 13822commit a1977883c9f5ef0e515569d6e2ebccb07411f98c 13823Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13824Date: Thu Jan 29 15:01:06 2009 -0200 13825 13826 Janitor: Correct some gcc/sparse warnings. 13827 13828 Most remaining warnings are about XIM/Xim to/from conversion 13829 and discarding const from pointers. 13830 13831commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 13832Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 13833Date: Wed Jan 28 20:31:42 2009 -0200 13834 13835 Janitor: ansification, make distcheck, compiler warnings. 13836 13837 Only convert to use "ansi prototypes" the functions warned from 13838 compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 13839 13840 Also, only address "trivial" compiler warning fixes in this commit. 13841 13842 The new .gitignore is the output of a command like: 13843 % find . -name .gitignore -exec cat {} \; | sort | uniq 13844 and only the toplevel .gitignore file was kept. 13845 13846commit 091c1624fd2f9d933329d6152e4ecd865aa7903a 13847Author: Peter Hutterer <peter.hutterer@who-t.net> 13848Date: Tue Jan 13 12:05:54 2009 +1000 13849 13850 Fix wrong implies symbol. 13851 13852 Quote Simos Xenitellis: 13853 > I checked the gtk+ commit logs that go back to 2000, and I see that still it 13854 > was 13855 > 13856 > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 13857 > DOUBLE ARROW */ 13858 > 13859 > In XFree86, it appears there was an error when they converted the 13860 > original table to 13861 > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 13862 > and the problem still shows up there (November 2000). 13863 13864 http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 13865 13866 Reported by Erik Streb del Toro. 13867 13868commit e32521f19e0b07649b7e3a03d56a2bd556b138fb 13869Author: James Cloos <cloos@jhcloos.com> 13870Date: Sun Dec 7 04:13:34 2008 -0500 13871 13872 [i18n] s/U00DC/Udiaeresis/g 13873 13874 The xkeyboard-config keyboards generate the symbol Udiaeresis, not 13875 U00DC. Make sure the relevant Compose sequences expect the symbol 13876 which the keyboards actually send. 13877 13878commit b7502abfe22f8dc009b21cda1172af221d8f9f32 13879Author: James Cloos <cloos@jhcloos.com> 13880Date: Sun Dec 7 04:09:46 2008 -0500 13881 13882 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 13883 13884 As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 13885 13886 This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 13887 13888commit c9d20e3f697c9cfae5511412023362c1db7449b1 13889Author: James Cloos <cloos@jhcloos.com> 13890Date: Sun Dec 7 04:08:23 2008 -0500 13891 13892 Use C comments rather than initial doubled hashes to exclude lines from .pre files 13893 13894commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 13895Author: vehemens <vehemens@verizon.net> 13896Date: Sun Dec 7 01:18:26 2008 -0500 13897 13898 [i18n] Distribute new headers which were added for gb18030 support. 13899 13900 big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 13901 make it into the tar. 13902 13903 Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 13904 13905 Signed-off-by: James Cloos <cloos@jhcloos.com> 13906 13907commit 418819558d2c60e58b4e3022ce0fadf2143488ac 13908Author: Stefan Dirsch <sndirsch@suse.de> 13909Date: Sat Nov 22 22:01:07 2008 +0100 13910 13911 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 13912 13913commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 13914Author: Stefan Dirsch <sndirsch@suse.de> 13915Date: Sat Nov 22 19:40:54 2008 +0100 13916 13917 Added remaining xlib patch required for gb18030 support (#1573). 13918 13919commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 13920Author: Stefan Dirsch <sndirsch@suse.de> 13921Date: Sat Nov 22 17:53:06 2008 +0100 13922 13923 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 13924 13925commit c859446c500c883a67f7a86cab1a44844e24dade 13926Author: Ken Thomases <ken@codeweavers.com> 13927Date: Fri Nov 21 13:58:10 2008 -0500 13928 13929 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 13930 13931 Signed-off-by: James Cloos <cloos@jhcloos.com> 13932 13933commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 13934Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 13935Date: Mon Nov 17 20:47:26 2008 -0800 13936 13937 Force local transport when using the launchd socket. 13938 13939 Fixes a regression due to 13940 bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 13941 13942commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 13943Author: Peter Hutterer <peter.hutterer@redhat.com> 13944Date: Fri Nov 14 10:32:50 2008 +1000 13945 13946 Add XF86Suspend, XF86Hibernate to KeysymDB. 13947 13948commit d16b11f25f8265e651def8d80bcd430c0448e664 13949Author: James Cloos <cloos@jhcloos.com> 13950Date: Tue Nov 11 19:43:39 2008 -0500 13951 13952 [nls] Annotate the Bépo compose sequences 13953 13954 Add comments with the UCS names. 13955 Add utf-8 strings for each result. 13956 Format for easy reading. 13957 13958commit 730298464240be6f65b32416b3f9b20062c61825 13959Author: James Cloos <cloos@jhcloos.com> 13960Date: Tue Nov 11 16:41:34 2008 -0500 13961 13962 [nls] Add some UTF-8 Compose sequences 13963 13964 As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 13965 13966 Cf. bugs: 13967 13968 https://bugs.freedesktop.org/show_bug.cgi?id=17821 13969 https://bugs.freedesktop.org/show_bug.cgi?id=17822 13970 13971commit ad6008a0c92733826983eb93f063d3d6276007d8 13972Author: Colin Harrison <colin.harrison@virgin.net> 13973Date: Thu Nov 6 17:48:21 2008 -0500 13974 13975 Fix copy/paste typo in imLcPrs 13976 13977 Signed-off-by: James Cloos <cloos@jhcloos.com> 13978 13979commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 13980Author: Adam Jackson <ajax@redhat.com> 13981Date: Thu Nov 6 14:54:13 2008 -0500 13982 13983 Fix leak in _XimXGetReadData 13984 13985 Spotted by Denis Dzyubenko 13986 13987commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 13988Author: Julien Cristau <jcristau@debian.org> 13989Date: Wed Nov 5 22:09:37 2008 +0100 13990 13991 Bump to 1.1.99.2 13992 13993commit d31e644c65c52828ea3e7abd94a8cf9aee12265c 13994Author: Julien Cristau <jcristau@debian.org> 13995Date: Wed Nov 5 21:33:13 2008 +0100 13996 13997 Fix distcheck 13998 13999commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 14000Author: Jamey Sharp <jamey@minilop.net> 14001Date: Wed Oct 29 14:00:33 2008 -0700 14002 14003 Support multiple independent internal sync handlers 14004 14005 Xlib has several independent tasks that need to be performed with the 14006 display unlocked. It does this by replacing the existing sync handler with 14007 one of a variety of internal sync handlers. However, if multiple internal 14008 sync handlers need to run, then the last one registering wins and 14009 previously registered internal sync handlers are never invoked. This 14010 manifested as a bug with DRI applications on Xlib/XCB as that requires 14011 both an XID handler after every XID allocation, and the periodic sequence 14012 number handler. The XID handler would win, and the sequence number handler 14013 would never be invoked. 14014 14015 Fix this by unifying the internal sync handler mechanism into a single 14016 function that calls all of the known internal sync handlers. They all need 14017 to deal with being called when not strictly necessary now. 14018 14019 Signed-off-by: Keith Packard <keithp@keithp.com> 14020 Signed-off-by: Jamey Sharp <jamey@minilop.net> 14021 Signed-off-by: Josh Triplett <josh@freedesktop.org> 14022 14023commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 14024Author: Keith Packard <keithp@keithp.com> 14025Date: Sat Oct 11 21:44:21 2008 -0700 14026 14027 Ensure that _XReadEvents always leaves an event in the queue on return 14028 14029 XNextEvent assumes that the event queue will be non-empty on return from 14030 _XReadEvents, but with multiple event readers running, the previous change 14031 could leave the queue empty on return from process_responses. Re-invoke 14032 process_responses until the queue is non-empty. 14033 14034 Signed-off-by: Keith Packard <keithp@keithp.com> 14035 14036commit bedfe68259037c5564fe52758c92b9c97729640a 14037Author: Keith Packard <keithp@keithp.com> 14038Date: Sat Oct 11 21:10:23 2008 -0700 14039 14040 Permit only one Xlib thread to block waiting for events 14041 14042 As Xlib queues events internally, we must prevent multiple Xlib threads from 14043 entering XCB to wait for an event in case the queued event is to be 14044 delivered to the thread which didn't manage to read it. In other words, let 14045 only one Xlib thread into xcb_wait_for_event at a time. 14046 14047 Jamey Sharp looked over my shoulder while making this fix and, while hating 14048 my whitespace conventions, appears happy enough with the actual code. 14049 14050 Signed-off-by: Keith Packard <keithp@keithp.com> 14051 14052commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 14053Author: Jamey Sharp <jamey@minilop.net> 14054Date: Sun Mar 23 16:33:50 2008 -0700 14055 14056 Fix XAllocID race: hold the user display lock until we have a new XID. 14057 14058 Xlib built --without-xcb is also vulnerable to this race, and a similar 14059 fix might work there too. 14060 14061 Also, use an XID that's truly invalid while waiting for the next XID to be 14062 requested. 14063 14064commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 14065Author: Josh Triplett <josh@freedesktop.org> 14066Date: Sat Mar 15 17:22:23 2008 -0700 14067 14068 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 14069 14070 Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 14071 requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 14072 Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 14073 had to flush its requests when unlocking the display. 14074 14075 XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 14076 much of the existing Xlib/XCB implementation with the use of 14077 xcb_take_socket to take ownership of the write side of the X connection 14078 socket, and a return_socket callback which writes any outstanding requests 14079 with xcb_writev. This approach allows Xlib/XCB to use the same buffering 14080 as traditional Xlib did. In particular, programs which use Xlib/XCB and 14081 never make XCB calls will never need to hand the socket back to XCB, and 14082 vice versa. 14083 14084 This allows us to discard large quantities of synchronization code from 14085 Xlib/XCB, together with the synchronization bugs present in that code. 14086 Several test cases which previously failed now work perfectly, including 14087 multi-threaded ico. In addition, the infamous locking correctness 14088 assertions, triggered when double-locking or when unlocking without a 14089 previous lock, no longer exist, because Xlib/XCB no longer has any reason 14090 to care more about application locking than traditional Xlib does. 14091 14092 Furthermore, the handoff approach provides great improvements to 14093 performance. Results from x11perf's XNoOp test, which represented the 14094 worst case for the lock-based Xlib/XCB: 14095 14096 Traditional Xlib: average 19100000/sec 14097 Lock-based Xlib/XCB: average 3350000/sec 14098 Handoff-based Xlib/XCB: average 17400000/sec 14099 14100 Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 14101 Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 14102 performance. Of course, real-world workloads do not use no-op, so your 14103 mileage may vary. In particular, since no-ops represent the worst case, 14104 we expect real workloads to more closely match the performance of 14105 traditional Xlib. 14106 14107 While removing synchronization code, we changed _XReply to not drop any 14108 locks when calling xcb_wait_for_reply; previously, we had to carefully 14109 avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 14110 the locks reduces implementation complexity and should not impact 14111 applications. 14112 14113 Commit by Jamey Sharp and Josh Triplett. 14114 XCB's handoff mechanism inspired by Keith Packard. 14115 14116commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 14117Author: Chris Ball <cjb@laptop.org> 14118Date: Mon Nov 3 22:57:29 2008 -0500 14119 14120 Remove configure check for xcb-xlib. 14121 14122 xcb-xlib has been intentionally removed from libxcb; stop checking for 14123 it at configure-time. 14124 14125commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 14126Author: Josh Triplett <josh@freedesktop.org> 14127Date: Wed Oct 29 14:37:44 2008 -0700 14128 14129 .gitignore: Add dolt files 14130 14131commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 14132Author: Peter Hutterer <peter.hutterer@redhat.com> 14133Date: Tue Oct 28 11:56:55 2008 +1030 14134 14135 man: fix formatting error in XkbGetIndicatorState man page. 14136 14137commit b1022fa6d7e97640049e93ffa108083fc8d71b05 14138Author: James Cloos <cloos@jhcloos.com> 14139Date: Sat Oct 25 09:13:08 2008 -0400 14140 14141 Increase size of working arrays in the makekeys utility program. 14142 14143 Makekeys is used to create an optimal hash of the keysyms defined 14144 in x11proto’s keysymdef.h. 14145 14146 The recent addition of new keysyms there has triggered a bug in 14147 makekeys where it tries to use a zero on the rhs of the % (mod) 14148 operator (resulting in a divide by zero error) whenever it fails 14149 to find a solution within its constraints. 14150 14151 Increasing the size of the arrays allows it to find a solution for 14152 the current set of keysyms. 14153 14154 Makekeys is only run durring the build process, so this has no impact 14155 on users of libX11, only on the amount of VM needed to build it. 14156 14157 It still needs a more complete fix, but this allows compiles to 14158 progress until that is completed. 14159 14160commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 14161Author: James Cloos <cloos@jhcloos.com> 14162Date: Sat Oct 11 01:03:14 2008 -0400 14163 14164 Dolt-ify 14165 14166 Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 14167 14168commit 39c0b266cac8cbc15bf501d7869186862f01d823 14169Author: Peter Hutterer <peter.hutterer@redhat.com> 14170Date: Wed Oct 15 14:30:20 2008 +1030 14171 14172 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 14173 14174 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 14175 14176commit d23aad31338e7d869d878d5aa1b6b91d20287005 14177Author: Peter Hutterer <peter.hutterer@redhat.com> 14178Date: Mon Oct 13 09:41:59 2008 +1030 14179 14180 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 14181 14182commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 14183Author: Peter Hutterer <peter.hutterer@who-t.net> 14184Date: Thu Jul 24 15:44:26 2008 +0930 14185 14186 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 14187 14188 Thanks to Michael Meeks, Novell Bug 369263. 14189 https://bugzilla.novell.com/show_bug.cgi?id=369263 14190 14191commit e7ece39afc8e0adc3b6b1e70b337b98376754462 14192Author: Alan Coopersmith <alan.coopersmith@sun.com> 14193Date: Tue Oct 7 15:41:38 2008 -0700 14194 14195 Sun bug #6739431: double free in _X11TransConnectDisplay() 14196 14197 Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 14198 After copying original_hostname to phostname, set original_hostname 14199 to NULL, so we don't free the same pointer twice when we free both 14200 original_hostname and phostname. 14201 14202 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 14203 14204commit 0877bc916afbd1ff8f1833edc930b765ea783576 14205Author: Daniel Stone <daniel@fooishbar.org> 14206Date: Tue Sep 23 19:02:02 2008 +0300 14207 14208 configure.ac: Fix CC_FOR_BUILD logic error 14209 14210 Turns out we were accidentally smashing it so that you couldn't set it 14211 externally at all. Oops. 14212 14213commit 58bf3aa746908f01c37be7045699e43a4e270944 14214Author: John Tapsell <johnflux@gmail.com> 14215Date: Tue Sep 23 17:30:13 2008 +0300 14216 14217 Build: Use native compiler for makekeys 14218 14219 makekeys needs to be run during the build process, as opposed to on the 14220 target, so build it with either of gcc or cc to fix cross-compiling. 14221 This can be overridden by setting $CC_FOR_BUILD. 14222 14223commit 340422a5c7a413faef18666cada27cee14615250 14224Author: Adam Jackson <ajax@redhat.com> 14225Date: Wed Sep 17 12:54:34 2008 -0400 14226 14227 Fix the previous patch for the BadFont case. 14228 14229commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 14230Author: Matthias Clasen <mclasen@redhat.com> 14231Date: Wed Sep 17 10:43:52 2008 -0400 14232 14233 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 14234 14235commit db0b85db29699be6bf7e78dede655d59ba926dfc 14236Author: Rafael Ávila de Espíndola < <rafael.espindola@gmail.com> 14237Date: Sun Sep 14 19:15:26 2008 -0400 14238 14239 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 14240 14241 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 14242 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 14243 ISO 8859 pt_BR Compose file) as the string but specify the keysym 14244 and comment for Ć and ć (c with acute accent). 14245 14246 This commit normalizes those two lines to match the specified string. 14247 14248 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 14249 14250 Signed-off-by: James Cloos <cloos@jhcloos.com> 14251 14252commit b065c011baa69b69e3ea77c30d5e153c0d103e2d 14253Author: Michael Verret <michael.verret@gmail.com> 14254Date: Mon Sep 8 16:33:35 2008 -0400 14255 14256 Fix documentation typo 14257 14258 Signed-off-by: James Cloos <cloos@jhcloos.com> 14259 14260commit 4213ea95185377bdd1b51e82933f331fc0f52e5b 14261Author: James Cloos <cloos@jhcloos.com> 14262Date: Sat Sep 6 04:19:19 2008 -0400 14263 14264 Remove extraneous <angle brackets> from the Ethiopic Compose file. 14265 14266 The am_ET.UTF-8 Compose file submitted in: 14267 14268 https://bugs.freedesktop.org/show_bug.cgi?id=11307 14269 14270 for the OLCP project used incorrect syntax. (It has angle brackets around the 14271 Uxxxx symbols on the right hand side rather than only on the left hand side). 14272 14273 This bug is noted in OLPC’s ticket: 14274 14275 http://dev.laptop.org/ticket/7474 14276 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 14277 14278commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 14279Author: James Cloos <cloos@jhcloos.com> 14280Date: Mon Sep 1 17:49:33 2008 -0400 14281 14282 Complete the set of vulgar fractions 14283 14284 Unicode 1.1 added thirds, fifths, sixths and eights; 14285 we might as well catch up. 14286 14287 (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 14288 and 0/3 (U2189) in their pipelines, but those four can be added 14289 here after they are published.) 14290 14291commit a788792e9de95f8db0639557859722a35087481d 14292Author: James Cloos <cloos@jhcloos.com> 14293Date: Wed Aug 20 15:28:07 2008 -0400 14294 14295 nls (en_US) Re-remove long compositions that override shorter 14296 14297 As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 14298 14299 Commit a6f4bbf7 14300 nls (en_US): remove long compositions that override shorter [...] 14301 removed some longer compose sequences because there are shorter 14302 ones which take preference over the longer. For example the 14303 sequences: 14304 14305 <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 14306 <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 14307 14308 were removed becase there already was: 14309 14310 <Multi_key> <apostrophe> <comma> : U201A # ‚ 14311 14312 Then commit 4ba09125 14313 Work on making the en_US and pt_BR UTF-8 Compose as similar as 14314 possible added exactly the same key sequences again. Obviusly 14315 they won't work. 14316 14317commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 14318Author: James Cloos <cloos@jhcloos.com> 14319Date: Thu Jul 17 21:01:42 2008 -0400 14320 14321 Add more <Multi_key> <cedilla> Compose tuples 14322 14323 The last commit missed the el_GR UTF-8 Compose.pre as well as 14324 the various ISO 8859 locales which have compose sequences 14325 generating ‘WITH CEDILLA’ characters. 14326 14327 (Interestingly, some of the 8859 locales already supported 14328 <Multi_key> <cedilla> for some CEDILLA characters, but not 14329 for Ç or ç.) 14330 14331 This is further work on bug 10397. 14332 14333commit 4ba091255bb953d53078ba5619d6751052c739f7 14334Author: James Cloos <cloos@jhcloos.com> 14335Date: Thu Jul 17 17:16:50 2008 -0400 14336 14337 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 14338 14339 The eventual goal here is to have a single primary UTF-8 Compose 14340 file which the locale-specific UTF-8 Compose.pre files can #include. 14341 14342commit 254522d3c24e0590732fc03cdd61ff4564819d94 14343Author: James Cloos <cloos@jhcloos.com> 14344Date: Thu Jul 17 17:13:36 2008 -0400 14345 14346 Add <Multi_key> <cedilla> Compose tuples 14347 14348 The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 14349 with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 14350 support for using <cedilla> instead of <comma> in said sequences. 14351 14352 This commit makes both styles work. 14353 14354commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 14355Author: James Cloos <cloos@jhcloos.com> 14356Date: Sat Jun 28 15:25:23 2008 -0400 14357 14358 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 14359 14360 The new block was added twice to the en_US.UTF-8 Compose.pre; 14361 delete the duplicate. 14362 14363commit 596e081b7457dcd1c4ad555ac140e6999239bc0d 14364Author: Peter Hutterer <peter@cs.unisa.edu.au> 14365Date: Sat Jun 28 20:14:05 2008 +0930 14366 14367 Fix unbalanced parenthesis in XKBlib.h # 16551 14368 14369 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 14370 14371commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 14372Author: Adam Jackson <ajax@redhat.com> 14373Date: Tue Jun 24 13:16:53 2008 -0400 14374 14375 Bug #14898: Don't abuse the sprintf() implementation. 14376 14377 The thing you're printing into should not itself appear in the list of 14378 things to print from, that's bad juju. Just use strcat(). 14379 14380commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 14381Author: Khaled Hosny <khaledhosny@eglug.org> 14382Date: Thu Jun 19 18:26:11 2008 -0400 14383 14384 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 14385 14386 Add some Arabic digraphs to utf-8 locales with a Compose.pre 14387 14388 Signed-off-by: James Cloos <cloos@jhcloos.com> 14389 14390commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 14391Author: Alan Coopersmith <alan.coopersmith@sun.com> 14392Date: Wed Jun 18 20:00:25 2008 -0700 14393 14394 Rework code to choose local connection types and fallback to others 14395 14396 Adds --with-local-transport-order configure flag if you don't like the 14397 default ordering (which is platform dependent) 14398 14399 Includes fixes for these Sun/Solaris bug ids: 14400 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 14401 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 14402 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 14403 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 14404 14405commit cf49e537014c3cb5aaee07e57400933e0bb72b6b 14406Author: Alan Coopersmith <alan.coopersmith@sun.com> 14407Date: Tue Jun 17 14:41:17 2008 -0700 14408 14409 Strip whitespace from end of lines in source files 14410 14411commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 14412Author: Jeff Smith <whydoubt@yahoo.com> 14413Date: Sun Jun 15 23:52:20 2008 -0500 14414 14415 Fix memory leak in XOpenDisplay 14416 14417 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 14418 14419commit fca0b0ba3f72b7284601d4690bba99fc80a92614 14420Author: Jens Herden <jens@khmeros.info> 14421Date: Tue Jun 10 20:07:30 2008 +0300 14422 14423 NLS: Add Khmer compose sequences (bug #5706) 14424 14425 Add some Khmer digraphs to all locales with a Compose.pre. 14426 14427commit e54cffb649b1622c17457e470cfab8cc56d38c97 14428Merge: 19802ccd 721b574d 14429Author: Daniel Stone <daniel@fooishbar.org> 14430Date: Tue Jun 10 20:04:30 2008 +0300 14431 14432 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 14433 14434commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 14435Author: Peter Hutterer <peter@cs.unisa.edu.au> 14436Date: Thu May 29 10:57:21 2008 +0930 14437 14438 Bump to 1.1.99.1 14439 14440commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 14441Author: Peter Hutterer <peter@cs.unisa.edu.au> 14442Date: Wed May 28 17:31:59 2008 +0930 14443 14444 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 14445 14446commit e9195db7257e418f83707233baeeb84b225caf4f 14447Merge: c34f76f4 a7f85567 14448Author: Peter Hutterer <peter@cs.unisa.edu.au> 14449Date: Thu May 22 12:14:28 2008 +0930 14450 14451 Merge branch 'master' into xge 14452 14453commit 19802ccd3909145e3ba2f6c073271cb5f3701685 14454Author: Daniel Stone <daniel@fooishbar.org> 14455Date: Mon May 19 19:22:31 2008 +0300 14456 14457 gitignore: Update with loads more bits from server 14458 14459commit a7f85567a3e850fba0c44571453d2852ab1a09be 14460Author: Adam Jackson <ajax@redhat.com> 14461Date: Tue May 13 10:28:39 2008 -0400 14462 14463 Bug #15884: Remove useless sleep()'s from the connection code. 14464 14465 For network transports, there's enough delay in the network layer 14466 already without adding more. For local transports, just hurry up 14467 and fail if the server isn't there. 14468 14469commit c34f76f475bc632490122e67b5a82575d69d5569 14470Author: Peter Hutterer <peter@cs.unisa.edu.au> 14471Date: Mon May 12 21:46:24 2008 +0930 14472 14473 Pull down extra bytes when reading a GenericEvent (non-xcb). 14474 14475 I refuse to take any responsibily for this code. It works, I guess. 14476 But - all the flushing is done somewhere before that, so we might need to 14477 flush here. Under some circumstances anyway. Don't ask me, I'm an optical 14478 illusion. 14479 14480 Build with xcb as transport layer highly recommended. 14481 14482commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 14483Merge: 17d7dcbf 9129057b 14484Author: Peter Hutterer <peter@cs.unisa.edu.au> 14485Date: Mon May 12 17:58:37 2008 +0930 14486 14487 Merge branch 'master' into xge 14488 14489commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 14490Author: Teemu Likonen <tlikonen@iki.fi> 14491Date: Wed May 7 21:44:22 2008 +0300 14492 14493 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 14494 14495 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 14496 <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 14497 U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 14498 duplicate compose sequences since these have already been defined. Also, 14499 using <dead_belowring> is more logical since the diacritic is indeed 14500 a "RING BELOW". 14501 14502commit 01a9cb58888d290cc3d319feec4ee4a0297a844c 14503Author: Daniel Stone <daniel@fooishbar.org> 14504Date: Wed May 7 20:04:44 2008 +0300 14505 14506 NLS: Make UTF-8 the default for Russian 14507 14508 No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 14509 only other possible answer would be KOI8-R. 14510 14511 Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 14512 14513commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 14514Author: Ross Burton <ross@burtonini.com> 14515Date: Tue Apr 29 13:38:10 2008 +0300 14516 14517 NLS: Add interrobang to UTF-8 compose tables (bug #15653) 14518 14519 It is what it says on the box. 14520 14521commit 0b6682303e9c61fefc3818acfda616b1e3691abf 14522Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 14523Date: Mon Apr 28 11:51:25 2008 +0300 14524 14525 IM: Respect XMODIFIERS for Thai locale (bug #15719) 14526 14527 When looking at Thai input methods, make sure XMODIFIERS is checked 14528 before jumping straight into built-in Thai processing, so external XIM 14529 servers such as SCIM can be used with Thai. 14530 14531commit c13aded1b2f830ba5004abb0ec5518f9ea16087e 14532Author: Colin Harrison <colin.harrison-at-virgin.net> 14533Date: Sat Apr 26 18:56:05 2008 +0100 14534 14535 Fix missing error condition 14536 14537commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 14538Author: Colin Harrison <colin.harrison-at-virgin.net> 14539Date: Mon Apr 21 17:24:33 2008 +0100 14540 14541 Xlib warning fixes 14542 14543commit 6b6caeea830a977bdb54688cfb648d879821e752 14544Author: James Cloos <cloos@jhcloos.com> 14545Date: Fri Apr 18 02:50:55 2008 -0400 14546 14547 Add some dead_key sequences to en_US.UTF-8 Compose table 14548 14549 Make use of the new dead key symbols added to x11proto’s 14550 commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 14551 was in responce to bug #15446). 14552 14553commit 8f9b039580deaf658e464b7d6254064fcf183df6 14554Author: Alan Coopersmith <alan.coopersmith@sun.com> 14555Date: Mon Apr 14 19:09:42 2008 -0700 14556 14557 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 14558 14559commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 14560Author: Alan Coopersmith <alan.coopersmith@sun.com> 14561Date: Mon Apr 14 18:21:14 2008 -0700 14562 14563 Fix mismatched brace indenting 14564 14565commit a19f9c65ee9e5e5d783feaa84998c36439b0288b 14566Author: Bart Massey <bart@cs.pdx.edu> 14567Date: Fri Apr 4 18:58:45 2008 -0700 14568 14569 added error check in Xcms color file parser; closes bug #15305 14570 14571commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 14572Author: Christian Weisgerber <naddy@mips.inka.de> 14573Date: Tue Mar 18 07:30:05 2008 +0100 14574 14575 ConnDis: properly cast 'addr' before accessing it as a byte array. 14576 14577 If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 14578 clients over IPv6, the clients are liable to segfaults. 14579 14580commit 64325f38bab082a8e0e9ce779a8e582de5c8588e 14581Author: Josh Triplett <josh@freedesktop.org> 14582Date: Sat Mar 15 12:29:33 2008 -0700 14583 14584 Fix fd.o bug 15023: make Xlib sync correctly given many void requests 14585 14586 If given many requests without replies, Xlib may not sync until it flushes 14587 the output buffer. Thus, if Xlib can fit enough requests in the buffer to 14588 pass by the number of requests it would normally sync after (65536 - 14589 BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 14590 demonstrated this by issuing a request with a reply (ListExtensions) at 14591 just the right time to get confused with the GetInputFocus reply issued in 14592 response to the sync 65,536 requests later; the test case used an async 14593 handler to watch the replies, since otherwise it could not issue a request 14594 without waiting for the response. When the test case failed, Xlib's sync 14595 handler would eat the ListExtensions reply, and the test case's async 14596 handler would see the GetInputFocus reply. 14597 14598 Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 14599 buffer size to figure out when the sequence numbers could potentially wrap 14600 before the next flush. 14601 14602 With this commit, the test case consistently passed, and the async reply 14603 handler always saw the ListExtensions reply. 14604 14605 Commit by Jamey Sharp and Josh Triplett. 14606 14607commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 14608Author: Colin Harrison <colin.harrison@virgin.net> 14609Date: Sat Mar 15 13:39:13 2008 -0400 14610 14611 Fix typo 14612 14613 Signed-off-by: James Cloos <cloos@jhcloos.com> 14614 14615commit f07585ca27a8487bc66dfe41486c823f0fdcea7d 14616Author: Daniel Stone <daniel@fooishbar.org> 14617Date: Sat Mar 15 17:32:57 2008 +0200 14618 14619 configure.ac: Don't search for legacy X11 headers 14620 14621 This can actually break cross-compiles, so don't do it anymore. 14622 14623commit bf69541238c7df6606340c0f389e5c47149b29c7 14624Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14625Date: Sun Mar 9 09:08:07 2008 +0100 14626 14627 nuke RCS Ids 14628 14629commit 5e98aed13e529638df744e45893c471d5f2014fb 14630Author: Adam Jackson <ajax@redhat.com> 14631Date: Thu Mar 6 16:10:33 2008 -0500 14632 14633 libX11 1.1.4 14634 14635commit 8e085971dc661da9f80ff6b67747459c0fb15c08 14636Author: Alan Coopersmith <alan.coopersmith@sun.com> 14637Date: Thu Feb 28 20:17:41 2008 -0800 14638 14639 Man page typo fixes 14640 14641commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 14642Author: Søren Sandmann Pedersen <sandmann@redhat.com> 14643Date: Sun Feb 24 20:03:35 2008 -0500 14644 14645 XIM: Fix a hand when switching input context. 14646 14647 Red Hat bug #201284. 14648 14649commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 14650Author: Adam Jackson <ajax@redhat.com> 14651Date: Sun Feb 24 20:00:43 2008 -0500 14652 14653 Bug #14029: Don't LockDisplay() recursively. 14654 14655 See also Red Hat bugzilla #326461. 14656 14657commit e5892467ae3308c8651be76e06db322dcbc08522 14658Author: Alan Coopersmith <alan.coopersmith@sun.com> 14659Date: Fri Feb 15 17:27:53 2008 -0800 14660 14661 Add support for building lint library with --enable-lint-library 14662 14663commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 14664Author: Alan Coopersmith <alan.coopersmith@sun.com> 14665Date: Mon Feb 11 20:11:43 2008 -0800 14666 14667 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 14668 14669commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 14670Author: Alan Coopersmith <alan.coopersmith@sun.com> 14671Date: Fri Feb 8 16:46:46 2008 -0800 14672 14673 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 14674 14675commit 416a812200f24d19149dcc497e5c51a0608120f6 14676Author: Alan Coopersmith <alan.coopersmith@sun.com> 14677Date: Fri Feb 8 15:31:31 2008 -0800 14678 14679 XErrorDB updates for Render 0.9 & XFixes 4.0 14680 14681commit 16a76091cd632e5a3708e235ff864b58f3e4613e 14682Author: Kim Woelders <kim@woelders.dk> 14683Date: Sat Dec 22 21:45:23 2007 +0100 14684 14685 Fix bs_BA entries in locale.dir.pre 14686 14687 X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 14688 14689commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 14690Merge: 8f0bd3f4 e8d4cefa 14691Author: James Cloos <cloos@jhcloos.com> 14692Date: Fri Dec 14 22:43:47 2007 -0500 14693 14694 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 14695 14696commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 14697Author: James Cloos <cloos@jhcloos.com> 14698Date: Fri Dec 14 22:42:59 2007 -0500 14699 14700 add a comment to en_US.UTF-8/Compose 14701 14702commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 14703Author: James Cloos <cloos@jhcloos.com> 14704Date: Fri Dec 14 22:40:13 2007 -0500 14705 14706 Add <dead_stroke> compose sequences 14707 14708 The added sequences match the existing <Multi_key> <slash> sequences. 14709 14710 This is related to bug #12765¹. 14711 14712 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 14713 14714commit e8d4cefa0837afa149a10e981528b368485a9e38 14715Author: Jeremy Huddleston <jeremy@yuffie.local> 14716Date: Mon Dec 10 23:00:44 2007 -0800 14717 14718 Added launchd support. 14719 14720commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 14721Merge: 5dfefd38 13ac8046 14722Author: Peter Hutterer <peter@cs.unisa.edu.au> 14723Date: Thu Dec 6 14:08:29 2007 +1030 14724 14725 Merge branch 'master' into xge 14726 14727commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 14728Merge: a68a1cd7 eff33ae5 14729Author: Peter Hutterer <peter@cs.unisa.edu.au> 14730Date: Thu Dec 6 13:57:09 2007 +1030 14731 14732 Merge branch 'master' into xge 14733 14734 Conflicts: 14735 14736 src/xcb_io.c 14737 14738commit 13ac80469f6958cabac596834e203bd9cb6d4c94 14739Author: James Cloos <cloos@jhcloos.com> 14740Date: Wed Dec 5 20:14:03 2007 -0500 14741 14742 Update the currency symbols block of en_US.UTF-8/Compose.pre 14743 Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 14744 the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 14745 AUSTRAL, HRYVNIA and CEDI SIGNs. 14746 14747commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 14748Author: Anton Zinoviev <anton@lml.bas.bg> 14749Date: Wed Dec 5 19:56:03 2007 -0500 14750 14751 Additions to the Compose file for UTF-8 14752 From bug #5371¹ 14753 14754 Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 14755 from those in attachment #4122². The post³ on xorg resulted in only 14756 a positive reply⁴ from Daniel, so this block is now also commited. 14757 14758 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 14759 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 14760 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 14761 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 14762 14763 Signed-off-by: James Cloos <cloos@jhcloos.com> 14764 Acked-by: Daniel Stone <daniel@fooishbar.org> 14765 14766commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 14767Author: James Cloos <cloos@jhcloos.com> 14768Date: Tue Dec 4 17:25:39 2007 -0500 14769 14770 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 14771 14772 Based on src/KeysymStr.c and src/StrKeysym.c and comments in 14773 bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 14774 those should be in the form U plus the hex of the UCS Code Point. 14775 14776 The 0x01000000 is ORed in by the code. 14777 14778 This update fixes all of those. 14779 14780 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 14781 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 14782 14783commit 02e04059c89e175f51647e3b031344f743286b34 14784Merge: 1254c57d b57129ef 14785Author: James Cloos <cloos@jhcloos.com> 14786Date: Tue Dec 4 06:55:04 2007 -0500 14787 14788 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 14789 14790commit 1254c57dd3a8d6ea87041b2f63024f99094f290f 14791Author: James Cloos <cloos@jhcloos.com> 14792Date: Tue Dec 4 06:53:55 2007 -0500 14793 14794 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 14795 Inspired by bug 11930¹: 14796 14797 Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 14798 and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 14799 Compose files. 14800 14801 This was done with a pair of perl scripts based on the one quoted in the 14802 log for commit c76d30253f1483ac8200ad5c032a818907e65030. 14803 14804 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 14805 14806commit b57129ef324c73ee91c2a796b800c4b45f4d4855 14807Author: Jeremy Huddleston <jeremy@yuffie.local> 14808Date: Mon Dec 3 20:04:19 2007 -0800 14809 14810 Use __APPLE__ instead of __DARWIN__ 14811 14812commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 14813Author: Jeremy Huddleston <jeremy@yuffie.local> 14814Date: Wed Nov 28 16:43:49 2007 -0800 14815 14816 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 14817 14818commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 14819Author: Alan Coopersmith <alan.coopersmith@sun.com> 14820Date: Wed Nov 21 16:50:04 2007 -0800 14821 14822 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 14823 14824 X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 14825 14826 Protect /* sequences from cpp pre-processor removal without transforming 14827 to Unicode mathematical asterisk character 14828 14829commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 14830Author: Jamey Sharp <jamey@minilop.net> 14831Date: Mon Oct 29 10:46:20 2007 -0700 14832 14833 Two threads can request sequence sync and XID fetch simultaneously. 14834 14835 So don't assert that they can't. 14836 14837 This makes the Xlib/XCB implementation of _XAllocID more closely 14838 resemble the traditional Xlib version. 14839 14840commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 14841Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 14842Date: Sun Oct 28 04:44:00 2007 -0800 14843 14844 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 14845 14846 <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 14847 14848commit 24527c92fd1f433ea135e85ec876a94a529fe500 14849Author: Yann Droneaud <ydroneaud@mandriva.com> 14850Date: Wed Oct 24 19:26:07 2007 +0300 14851 14852 XIM: Properly initialise client event 14853 14854 Make sure all ClientMessage fields are initialised to 0 before we send it. 14855 14856commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 14857Author: Daniel Stone <daniel@fooishbar.org> 14858Date: Wed Oct 24 19:22:22 2007 +0300 14859 14860 Colours: Fix --disable-xcms 14861 14862 Disable large tracts of colour management code when passing 14863 --disable-xcms. 14864 14865commit 11ea09745efa8de7dc82fe30ebd2393f08390957 14866Author: Eric Anholt <eric@anholt.net> 14867Date: Fri Aug 31 17:30:33 2007 -0700 14868 14869 Bug #2081: Note the range limitation of XSetScreenSaver arguments. 14870 14871commit 31540f1438ec63faf37044f2fd654b335ddf80f0 14872Author: Kristian Høgsberg <krh@redhat.com> 14873Date: Wed Aug 29 19:50:57 2007 -0400 14874 14875 Add GLX 1.4 requests and errors. 14876 14877commit 7c996f78914c77fe17e9f4feede980d895d9df51 14878Author: Eric Anholt <eric@anholt.net> 14879Date: Tue Aug 28 15:15:11 2007 -0700 14880 14881 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 14882 14883commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 14884Author: Eric S. Raymond <esr@thyrsus.com> 14885Date: Sun Jan 14 10:48:00 2007 -0800 14886 14887 Bug #9658: Bad markup on XIfEvent.3x 14888 14889 X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 14890 14891commit 74cba78daa738ef4d92096107d95c1a585933666 14892Author: Eric S. Raymond <esr@thyrsus.com> 14893Date: Sun Jan 14 10:43:00 2007 -0800 14894 14895 Bug #9655: Bad markup in XrmUniqueQuark.3x 14896 14897 X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 14898 14899commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 14900Author: Eric S. Raymond <esr@thyrsus.com> 14901Date: Sun Jan 14 10:43:00 2007 -0800 14902 14903 Bug #9654: Bad markup in XrmGetFileDatabase.3x 14904 14905 X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 14906 14907commit 2db713252090cae08f0200fecad4fc25fb64c8b1 14908Author: Eric S. Raymond <esr@thyrsus.com> 14909Date: Sun Jan 14 10:40:00 2007 -0800 14910 14911 Bug #9653: Bad markup in XQueryColor.3x 14912 14913 X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 14914 14915commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 14916Author: Eric S. Raymond <esr@thyrsus.com> 14917Date: Sun Jan 14 10:40:00 2007 -0800 14918 14919 Bug #9652: Bad markup in XDrawArc.3x 14920 14921 X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 14922 14923commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 14924Author: Eric S. Raymond <esr@thyrsus.com> 14925Date: Sun Jan 14 10:39:00 2007 -0800 14926 14927 Bug #9651: Bad markup in XcmsColor.3x 14928 14929 X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 14930 14931commit c316aaf0aab06951db9dc5c9c1148bfea835d885 14932Author: Eric S. Raymond <esr@thyrsus.com> 14933Date: Sun Jan 14 10:38:00 2007 -0800 14934 14935 Bug #9650: Bad markup in XLoadFont.3x manual page 14936 14937 X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 14938 14939commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 14940Author: Eric S. Raymond <esr@thyrsus.com> 14941Date: Tue Jan 2 10:18:00 2007 -0800 14942 14943 Bug 9523: Markup problems in XQueryExtension.3x 14944 14945 X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 14946 14947commit fe713c616e29ba19c179b43c18eca1035079ce18 14948Author: Ian Romanick <idr@us.ibm.com> 14949Date: Tue Aug 21 14:56:33 2007 -0700 14950 14951 Make sure nls/am_ET.UTF-8/Makefile is created by configure. 14952 14953commit e3430616f26b68e1439143cbe10732f3fc329d20 14954Author: Eric S. Raymond <esr@thyrsus.com> 14955Date: Tue Jan 2 08:40:00 2007 -0800 14956 14957 Bug #9516: Markup error in XAllocWMHints.3x 14958 14959 X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 14960 14961commit d8fe979fc929833e8c754aed32641786d5a0622b 14962Merge: 21ca9533 4ec1723f 14963Author: James Cloos <cloos@jhcloos.com> 14964Date: Mon Aug 20 15:34:50 2007 -0400 14965 14966 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 14967 14968commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 14969Author: James Cloos <cloos@jhcloos.com> 14970Date: Mon Aug 20 15:34:03 2007 -0400 14971 14972 Fix typo 14973 The code <U1000000D> was used where <U10000DC> was obviously intended. 14974 14975 It is possible that <Udiaeresis> should be used instead, if that will 14976 not break anyone’s setup. 14977 14978commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 14979Author: James Cloos <cloos@jhcloos.com> 14980Date: Mon Aug 20 15:25:48 2007 -0400 14981 14982 Add compose file for Ethiopic to match new keyboard in xkeyboard-config 14983 From bug report: 14984 14985 https://bugs.freedesktop.org/show_bug.cgi?id=11307 14986 14987commit eff33ae525337ce2026be135a26464c7b1237113 14988Author: James Cloos <cloos@jhcloos.com> 14989Date: Sat Aug 18 17:58:23 2007 -0400 14990 14991 Patch for Catalan locales 14992 From bugzilla bug 10943¹: 14993 14994 There are several Catalan locale codes which presently can 14995 be used in X11 systems; especially after they were accepted 14996 in belocs-locale-data². 14997 14998 In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 14999 locale codes. For instance, without this, using ca_AD (actually 15000 a quite used locale⁴) some applications (eg. Emacs or Skype) 15001 cannot display Catalan diacritic marks as you type them. 15002 15003 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 15004 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 15005 3] Toni Hermoso Pulido <toniher@softcatala.org> 15006 4] https://launchpad.net/~ubuntu.cat/+members 15007 15008commit 1f980cb7d022f53d0aee9e793b08203fb888e86e 15009Author: James Cloos <cloos@jhcloos.com> 15010Date: Sat Aug 18 17:47:04 2007 -0400 15011 15012 Add additional Euro signs to compose 15013 Inspired by bug 7419¹ make all of: 15014 15015 C=, =C, c=, =c, E=, =E, e=, E= 15016 15017 after <Multi_key> generate € U+20AC EURO SIGN. 15018 15019 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 15020 15021commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 15022Author: James Cloos <cloos@jhcloos.com> 15023Date: Sat Aug 18 17:29:08 2007 -0400 15024 15025 Compose fix for Latin-1 (from Debian) 15026 The description from bugzilla bug 7417¹ is: 15027 15028 We've been shipping this patch for some time in Debian now. The 15029 problem description from the patch header is reproduced below. You 15030 may want to note the licensing issue mentioned below, but we've been 15031 shipping it because the method by which this particular patch was 15032 generated and updated was also given below. 15033 15034 This patch by Denis Barbier. 15035 15036 The X11 protocol states that Unicode keysyms are in the range 15037 0x01000100 - 0x0110FFFF. If the result of composing characters is a 15038 Unicode codepoint, X returns the corresponding Unicode keysym, which 15039 is its Unicode codepoint augmented by 0x01000000. Latin-1 15040 characters must not appear with their Unicode codepoints in compose 15041 files, otherwise the returned composed character lies in the range 15042 0x01000000 - 0x010000FF which is not valid. 15043 15044 There are two solutions: either fix composing routines to return 15045 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 15046 replace U00ZZ by their corresponding keysyms in compose files. The 15047 latter is more logical and less error prone, so compose files will 15048 be patched. Many applications accept these invalid Unicode keysyms, 15049 but few of them don't, most notably xemacs. Only UTF-8 locales are 15050 affected. 15051 15052 This has been fixed very recently in XFree86 CVS (but not xorg), but 15053 for licensing reasons, this patch is not grabbed. Instead automatic 15054 conversion is performed by: 15055 15056 sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 15057 | grep -v deprecated | grep 0x0 \ 15058 | sed -e 's/0x0/U0/' -e 's/XK_//' \ 15059 | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 15060 for f in nls/*.UTF-8/Compose.pre 15061 do 15062 sed -f sedfile $f > $f.tmp && mv $f.tmp $f 15063 done 15064 15065 [I edited the quoted script to update it for the current location of 15066 the installed keysymdef.h and the current layout of the libX11 15067 repo. -JimC] 15068 15069 I applied the script, not the patch attached to the bugreport. 15070 15071 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 15072 15073commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 15074Author: James Cloos <cloos@jhcloos.com> 15075Date: Sat Aug 18 17:13:41 2007 -0400 15076 15077 Add some compose sequences 15078 15079 Add some compose sequences from the patch in bug 5371 (attachment 4122). 15080 15081 Cf: 15082 15083 https://bugs.freedesktop.org/show_bug.cgi?id=5371 15084 https://bugs.freedesktop.org/attachment.cgi?id=4122 15085 15086commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 15087Author: James Cloos <cloos@jhcloos.com> 15088Date: Sat Aug 18 13:57:31 2007 -0400 15089 15090 Fix SMP Compose targets 15091 The compose targets from the SMP (plane 1) were incorrect. 15092 15093 At some point the 0x10000 bit had been lost. 15094 15095commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 15096Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 15097Date: Thu Aug 16 17:37:22 2007 -0500 15098 15099 Fix a mutex reference-counting bug. 15100 15101 I was told that some systems have a much more permissive libpthread. 15102 I was asked to commit this. This is from NetBSD's X source. 15103 (I didn't receive any feedback on xorg list for over two weeks 15104 about this.) 15105 15106commit ac00a44b4875de70382da5a40dd87f976e5b9327 15107Author: Tilman Sauerbeck <tilman@code-monkey.de> 15108Date: Wed Aug 1 20:36:03 2007 +0200 15109 15110 Bumped version to 1.1.3. 15111 15112commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 15113Author: Joerg Sonnenberger <joerg@netbsd.org> 15114Date: Fri Jul 27 11:15:47 2007 -0700 15115 15116 Fail properly on errors in recursive make. 15117 15118commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 15119Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 15120Date: Thu Jul 26 23:31:15 2007 +0200 15121 15122 Add missing override parameter in XrmCombineDatabase prototype in the manpage 15123 15124 Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 15125 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 15126 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 15127 15128 Also add the type of the second argument in XrmMergeDatabases. 15129 15130commit 6f0764d4b56f64786b4980839ca262f10a51af6f 15131Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 15132Date: Thu Jul 26 22:53:52 2007 +0200 15133 15134 Clarify return value of XGetCommand in case of error in the manpage 15135 15136 Reported by Sean Perry <shalehperry@attbi.com> 15137 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 15138 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 15139 15140commit b8bef57342632cc2d25580bb7daa3839bae04d89 15141Author: Alan Coopersmith <alan.coopersmith@sun.com> 15142Date: Wed Jul 25 17:44:06 2007 -0700 15143 15144 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 15145 15146commit 590cde811a79375231c59ed8583e02b111ed567c 15147Author: Kean Johnston <kean@armory.com> 15148Date: Thu Jul 19 16:44:20 2007 -0700 15149 15150 Reset hostname when falling back from :0 to hostname/localhost:0 as well 15151 15152commit d334665e619e9db657a2ea2764a8b852401d4a3f 15153Author: Kean Johnston <kean@armory.com> 15154Date: Tue Jul 17 16:34:30 2007 -0700 15155 15156 LOCALCONN fallback changes DisplayString() output, breaks KDE 15157 15158 See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 15159 15160commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 15161Author: Olivier Blin <blino@mandriva.org> 15162Date: Mon Jun 11 18:32:09 2007 +1000 15163 15164 fix XGetMotionEvents arguments order - Fixes bug 11222 15165 15166commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 15167Author: Jamey Sharp <jamey@minilop.net> 15168Date: Sun Jun 10 16:19:59 2007 -0700 15169 15170 Fix locking in _XimGetWindowEventmask. 15171 15172 Now that XFilterEvent drops the Display lock before invoking callback 15173 functions, _XimGetWindowEventmask is called without the lock held. So 15174 when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 15175 that does not lock the Display, Xlib/XCB would assert: 15176 15177 xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 15178 15179 Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 15180 15181commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 15182Author: Jamey Sharp <jamey@minilop.net> 15183Date: Sun Jun 3 21:41:47 2007 -0700 15184 15185 Move security fixes to the top of NEWS, and fix spacing. 15186 15187 Commit by Josh Triplett and Jamey Sharp. 15188 15189commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 15190Author: Jamey Sharp <jamey@minilop.net> 15191Date: Sun Jun 3 21:29:40 2007 -0700 15192 15193 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 15194 15195 Commit by Josh Triplett and Jamey Sharp 15196 15197commit 5123b77a3d32d3ad479462f319762c328278aed9 15198Author: Jamey Sharp <jamey@minilop.net> 15199Date: Sun Jun 3 21:24:54 2007 -0700 15200 15201 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 15202 15203 Commit by Josh Triplett and Jamey Sharp. 15204 15205commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 15206Author: Jamey Sharp <jamey@minilop.net> 15207Date: Sun Jun 3 20:59:12 2007 -0700 15208 15209 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 15210 15211 Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 15212 _XReadEvents always enqueues at least one event even if an error occurred, 15213 because the one call to xcb_wait_for_event would then return an error, not an 15214 event, and nothing else ensured that process_responses would obtain an event. 15215 Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 15216 f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 15217 process_responses, wait_for_first_event now serves as a flag, cleared when 15218 actually handling an event. 15219 15220 Commit by Josh Triplett and Jamey Sharp. 15221 15222commit e2c1d788d1fe7bd2d34756493951552441e59b8c 15223Author: Jamey Sharp <jamey@minilop.net> 15224Date: Sun Jun 3 17:33:23 2007 -0700 15225 15226 Xlib/XCB: Only remove pending_requests when there are provably no more responses. 15227 15228commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 15229Author: Josh Triplett <josh@freedesktop.org> 15230Date: Sun Jun 3 15:39:39 2007 -0700 15231 15232 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 15233 15234 Signed-off-by: Josh Triplett <josh@freedesktop.org> 15235 15236commit 416f38f2e67ee1979b3d2feac6f06b3670238804 15237Author: Josh Triplett <josh@freedesktop.org> 15238Date: Sun Jun 3 12:13:44 2007 -0700 15239 15240 Revert "Revert "include: don't distribute XlibConf.h"" 15241 15242 This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 15243 15244 Re-revert the XlibConf.h change, which prevented distribution, not 15245 installation. 15246 15247commit 79fa3d8070d95b960ba486f2439225872471dadd 15248Author: Josh Triplett <josh@freedesktop.org> 15249Date: Sat Jun 2 22:05:16 2007 -0700 15250 15251 Revert "include: don't distribute XlibConf.h" 15252 15253 This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 15254 15255 The installed XlibInt.h includes XlibConf.h , so libX11 should ship 15256 XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 15257 prevent automake from shipping XlibConf.h, because it used 15258 nodist_x11include_HEADERS rather than nodist_HEADERS.) 15259 15260commit f417570735aac865eb6b576d1ea76b5bfcd8573b 15261Author: Jamey Sharp <jamey@minilop.net> 15262Date: Sat Jun 2 17:59:15 2007 -0700 15263 15264 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 15265 15266 Commit by Josh Triplett and Jamey Sharp. 15267 15268commit c337f9de7cfd89f983f83956b7457a274dd412f3 15269Author: Jamey Sharp <jamey@minilop.net> 15270Date: Sat Jun 2 17:46:41 2007 -0700 15271 15272 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 15273 15274 Commit by Jamey Sharp and Josh Triplett. 15275 15276commit 7f66c897f04806b75e574b55b48921b48045e3f9 15277Author: Jamey Sharp <jamey@minilop.net> 15278Date: Sat Jun 2 16:43:39 2007 -0700 15279 15280 Update _XReply's copy of _XCBUnlockDisplay's guts. 15281 15282 We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 15283 15284 Also add a comment in _XCBUnlockDisplay to discourage this problem from 15285 respawning. 15286 15287 Commit by Josh Triplett and Jamey Sharp. 15288 15289commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 15290Author: Jamey Sharp <jamey@minilop.net> 15291Date: Sat Jun 2 16:01:01 2007 -0700 15292 15293 Xlib/XCB: Avoid re-crashing after _XIOError. 15294 15295 Commit by Josh Triplett and Jamey Sharp. 15296 15297commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 15298Author: Jamey Sharp <jamey@minilop.net> 15299Date: Sat Jun 2 12:30:30 2007 -0700 15300 15301 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 15302 15303 An Xlib client can query Display state, such as with NextRequest, while 15304 it holds only the Xlib user lock (between XLockDisplay and 15305 XUnlockDisplay), so XCB requests in other threads should be blocked when 15306 the Xlib user lock is held. 15307 15308 We acquire the lock even when XInitThreads was not called, so that pure 15309 XCB code can use multiple threads even in an otherwise single-threaded 15310 Xlib application. 15311 15312 Commit by Josh Triplett and Jamey Sharp. 15313 15314commit 95523387d619af5b400748898d722e080b5ce1a6 15315Author: Jamey Sharp <jamey@minilop.net> 15316Date: Sat Jun 2 11:57:39 2007 -0700 15317 15318 Allow re-entrant Xlib calls from _XIOError. 15319 15320 Some libraries try to clean up X resources from atexit handlers, _fini, 15321 or C++ destructors. To make these work, the Display lock should be 15322 downgraded to a user lock (as in XLockDisplay) before calling exit(3). 15323 This blocks Xlib calls from threads other than the one calling exit(3) 15324 while still allowing the exit handlers to call Xlib. 15325 15326 This assumes that the thread calling exit will call any atexit handlers. 15327 If this does not hold, then an alternate solution would involve 15328 registering an atexit handler to take over the lock, which would only 15329 assume that the same thread calls all the atexit handlers. 15330 15331 Commit by Josh Triplett and Jamey Sharp. 15332 15333commit 91b02b8064f4e0bcc56019f0722914850008a597 15334Author: Tilman Sauerbeck <tilman@code-monkey.de> 15335Date: Thu May 17 19:07:34 2007 +0200 15336 15337 More constification. 15338 15339commit a4f3841940158351f9424c3f59b305cce877177d 15340Author: Tilman Sauerbeck <tilman@code-monkey.de> 15341Date: Thu May 17 00:29:43 2007 +0200 15342 15343 Constified composite text charset table. 15344 15345commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 15346Author: Tilman Sauerbeck <tilman@code-monkey.de> 15347Date: Wed May 16 23:19:22 2007 +0200 15348 15349 Have the compiler fill in hexTable so we don't have to do it at runtime. 15350 15351commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 15352Author: Tilman Sauerbeck <tilman@code-monkey.de> 15353Date: Wed May 16 19:36:23 2007 +0200 15354 15355 More constification. 15356 15357commit 6d2bed8f04942b4de086a519ac693e729c9fdeea 15358Author: Tilman Sauerbeck <tilman@code-monkey.de> 15359Date: Wed May 16 19:18:20 2007 +0200 15360 15361 Constify and clean up token table. 15362 15363commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 15364Author: Tilman Sauerbeck <tilman@code-monkey.de> 15365Date: Wed May 16 18:24:42 2007 +0200 15366 15367 Constified more tables. 15368 15369commit e699c4231c205ef00d687b6412308d031b99806b 15370Author: Tilman Sauerbeck <tilman@code-monkey.de> 15371Date: Wed May 16 18:01:23 2007 +0200 15372 15373 Constified error list. 15374 15375commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 15376Author: Peter Hutterer <peter@cs.unisa.edu.au> 15377Date: Tue May 15 16:54:01 2007 +0930 15378 15379 Add XGenericEvent definition and handling for long events. 15380 15381commit c76d30253f1483ac8200ad5c032a818907e65030 15382Author: Jan Willem Stumpel <jstumpel@planet.nl> 15383Date: Fri May 4 12:00:49 2007 -0700 15384 15385 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 15386 15387 Cf: 15388 15389 https://bugs.freedesktop.org/show_bug.cgi?id=10851 15390 https://bugs.freedesktop.org/show_bug.cgi?id=10824 15391 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 15392 15393 The greek keyboard definition was changed to replace dead_horn and 15394 dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 15395 COMBINING REVERSED COMMA ABOVE (aka Dasia). 15396 15397 This patch modifies the Greek Compose.pre to match. 15398 15399 It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 15400 posted to 386385@bugs.debian.org: 15401 15402 #!/usr/bin/perl 15403 while (<>) { 15404 print $_; 15405 if (/dead_horn/) { 15406 s/dead_horn/U0313/; 15407 print $_; 15408 } 15409 elsif (/dead_ogonek/) { 15410 s/dead_ogonek/U0314/; 15411 print $_; 15412 } 15413 } 15414 15415commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 15416Author: Magnus Kessler <Magnus.Kessler@gmx.net> 15417Date: Tue May 1 15:20:08 2007 +0200 15418 15419 Switched function definitions from K&R to ANSI style. 15420 15421commit 605d357074d556a05a3fba2e85cbea36a3204248 15422Author: Tilman Sauerbeck <tilman@code-monkey.de> 15423Date: Tue May 1 14:47:03 2007 +0200 15424 15425 Tweaked configure output about the man pages suffix. 15426 15427commit 9824b40d2af4ca2376512c1be7743da0d5065900 15428Author: Alan Coopersmith <alan.coopersmith@sun.com> 15429Date: Sat Apr 28 00:42:18 2007 -0700 15430 15431 Fix typo in nroff macro in XkbAddGeomOverlayKey.man 15432 15433commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 15434Author: Alan Coopersmith <alan.coopersmith@sun.com> 15435Date: Sat Apr 28 00:30:55 2007 -0700 15436 15437 Protect C comments and #defines in XKB man pages from being mangled by cpp 15438 15439commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 15440Author: Alan Coopersmith <alan.coopersmith@sun.com> 15441Date: Sat Apr 28 00:14:50 2007 -0700 15442 15443 Add Makefile to process/install XKB man pages 15444 15445commit d9954c6f6f3a8c406b946acd0d034ff83c656156 15446Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 15447Date: Thu Aug 19 00:00:00 1999 -0700 15448 15449 Add man pages for XKB API's 15450 15451 Man pages originally written for X11R6.4 integration to Solaris 7 11/99 15452 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 15453 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 15454 15455 (Volunteer needed to convert prototypes in man pages to ANSI C style...) 15456 15457commit f640a49b5e2ebf29f9d655df544c63bf826f619a 15458Author: Tilman Sauerbeck <tilman@code-monkey.de> 15459Date: Fri Apr 20 18:39:59 2007 +0200 15460 15461 Markup tweak for XOpenIM. 15462 15463commit e972b0bb255af4f3258217852542faf5afa60b28 15464Author: Julien Cristau <jcristau@debian.org> 15465Date: Fri Apr 20 18:35:09 2007 +0200 15466 15467 Bug #9695: Fixed a few argument types in the XOpenIM manpage. 15468 15469commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 15470Author: Julien Cristau <jcristau@debian.org> 15471Date: Fri Apr 20 18:28:52 2007 +0200 15472 15473 Bug #9697: Fixed documentation of XVisualInfo struct. 15474 15475 The "depth" member was said to be unsigned int, but it's signed. 15476 15477commit 4068f3dae01c630f825002673b1d3a047ad61863 15478Author: Julien Cristau <jcristau@debian.org> 15479Date: Fri Apr 20 16:41:21 2007 +0200 15480 15481 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 15482 15483commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 15484Author: Tilman Sauerbeck <tilman@code-monkey.de> 15485Date: Sat Apr 7 14:42:55 2007 +0200 15486 15487 Use unistd.h to get getresuid() and friends. 15488 15489 This works since we now have _GNU_SOURCE defined. 15490 15491commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 15492Author: Tilman Sauerbeck <tilman@code-monkey.de> 15493Date: Sat Apr 7 14:27:12 2007 +0200 15494 15495 Bug #10562: Define _GNU_SOURCE on glibc systems. 15496 15497commit a225a0be48770beb689d5ac5da97073634f7deab 15498Author: Tilman Sauerbeck <tilman@code-monkey.de> 15499Date: Fri Apr 6 12:46:25 2007 +0200 15500 15501 For nls/*.pre, allow people to comment lines by starting them with '##'. 15502 15503 This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 15504 Fixing that file would have been a larger diff, and using ## may be 15505 nicer to use anyway. 15506 15507commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 15508Author: Tilman Sauerbeck <tilman@code-monkey.de> 15509Date: Fri Apr 6 11:59:31 2007 +0200 15510 15511 Bug #10475: Fixed lots of char*/const char* mixups. 15512 15513 I didn't fix all of them, as that would require touching 15514 public headers. 15515 15516commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 15517Author: Matthias Hopf <mhopf@suse.de> 15518Date: Thu Apr 5 11:53:18 2007 +0200 15519 15520 Fix 64bit issues with reallocation. 15521 15522commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 15523Author: Tilman Sauerbeck <tilman@code-monkey.de> 15524Date: Wed Apr 4 18:41:18 2007 +0200 15525 15526 Fixed a few warnings. 15527 15528commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 15529Author: Matthieu Herrb <matthieu@roadrock.(none)> 15530Date: Tue Apr 3 15:39:52 2007 +0200 15531 15532 Multiple integer overflows in the XGetPixel() and XInitImage functions 15533 15534 CVE-2007-1667 15535 15536commit 0284b144340a455a4b5b5011d81ac5a610372291 15537Author: David Baron <dbaron@dbaron.org> 15538Date: Fri Mar 30 17:07:46 2007 +0200 15539 15540 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 15541 15542 Now only those fields of the respective hint struct are set that 15543 are actually valid in the input data. 15544 The changed functions are: 15545 XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 15546 15547commit 0994faa0c76c45b106442db461b8a30a3e1c9395 15548Author: Tilman Sauerbeck <tilman@code-monkey.de> 15549Date: Thu Mar 29 17:31:25 2007 +0200 15550 15551 Fixed the change from the previous SendEvent commit. 15552 15553 Testing a different patch than the one you commit is bad, right? 15554 15555commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 15556Author: Tilman Sauerbeck <tilman@code-monkey.de> 15557Date: Wed Mar 28 22:23:44 2007 +0200 15558 15559 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 15560 15561commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 15562Author: David Baron <dbaron@dbaron.org> 15563Date: Wed Mar 28 22:21:40 2007 +0200 15564 15565 Bug #7713: Initialize all of the event's fields before sending it. 15566 15567commit bc80f9fe3ccce40ee41246b97470c4f0519756ad 15568Author: Julien Cristau <jcristau@debian.org> 15569Date: Sun Mar 18 13:14:48 2007 +0100 15570 15571 Bug #9279: Fixed a file descriptor leak. 15572 15573commit c9e28e05ae01ce8a29bea09df759b6271865b44c 15574Author: Daniel Stone <daniel@fooishbar.org> 15575Date: Sat Dec 16 00:45:19 2006 +0200 15576 15577 include: don't distribute XlibConf.h 15578 15579 Since XlibConf.h is built by configure, don't distribute it. 15580 15581commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 15582Merge: 129bbb9f 769b9854 15583Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 15584Date: Thu Dec 14 14:23:20 2006 -0600 15585 15586 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 15587 15588commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 15589Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 15590Date: Thu Dec 14 14:21:19 2006 -0600 15591 15592 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 15593 15594commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 15595Author: Daniel Stone <daniel@fooishbar.org> 15596Date: Wed Dec 6 18:53:00 2006 +0200 15597 15598 Makefile.am: make ChangeLog hook safer 15599 15600 Make ChangeLog hook as safe as possible. 15601 (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 15602 15603commit 8a8185a649e93b90ffa820387ffdca831227f5a9 15604Author: Josh Triplett <josh@freedesktop.org> 15605Date: Thu Nov 30 18:33:13 2006 -0800 15606 15607 Add autogen.sh to EXTRA_DIST. 15608 15609commit efe817f95ef8d05e863c83147e903140bc860de4 15610Author: Jamey Sharp <jamey@minilop.net> 15611Date: Thu Nov 30 17:58:35 2006 -0800 15612 15613 Release libX11 1.1.1. 15614 15615commit f637a5b03164263a3af2e644cf655e52b015f1bb 15616Author: Ross Combs <rocombs@cs.nmsu.edu> 15617Date: Sat Nov 25 14:45:17 2006 -0800 15618 15619 Debian bug #354315: Clarify return value in XGetWindowAttributes man page 15620 15621 This man page does not discuss the actual return values of the 15622 function, but says they are of type "Status". One might assume 15623 that this means you could compare it with the "Success" macro. 15624 One would be wrong. 15625 15626 The X functions seem to have two three types representing status. 15627 If it is an "int" there are a number of error codes or "Success" 15628 which can be compared against. If it is a bool, the result can be 15629 compared with "True" or "False". If the return type is "Status" it 15630 appears that the return type is either 0 or 1. Unfortunately the 15631 value for Success is zero, so it is important to distinguish 15632 between the first two types of return values and the third; 15633 otherwise the conditional will be inverted. 15634 15635 XGetWindowAttributes() is one of the functions which returns zero 15636 for failure. The man page should make this clear. 15637 15638commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 15639Author: Jamey Sharp <jamey@minilop.net> 15640Date: Sat Nov 25 14:23:45 2006 -0800 15641 15642 Bug #9154: Always process an event for _XReadEvents, even if an error occurs 15643 15644 Previously, process_responses (in the wait_for_first_event case called 15645 from _XReadEvents) considered any return from xcb_wait_for_event 15646 sufficient to think it had processed an event. If xcb_wait_for_event 15647 returned an error, and no more events occurred before process_responses 15648 called xcb_poll_for_event, process_responses would try to return with 15649 dpy->head NULL, and would fail an assertion for the _XReadEvents 15650 postcondition. Now, process_responses continues using xcb_wait_for_event 15651 until it gets an event. 15652 15653commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 15654Author: Tilman Sauerbeck <tilman@code-monkey.de> 15655Date: Sat Nov 25 05:29:31 2006 -0800 15656 15657 Bug #9153: Fix access to freed memory. 15658 15659 The fix for bug #8622 introduced a smaller bug where _XReply would 15660 read memory shortly after freeing it. This patch caches the needed 15661 value in a stack-allocated variable before the heap-allocated memory 15662 is freed. 15663 15664commit 934ca763bbc0dd7ae460469bfc000ba101602bcc 15665Author: Josh Triplett <josh@freedesktop.org> 15666Date: Fri Nov 24 19:57:58 2006 -0800 15667 15668 libx11 doesn't use inputproto in public headers; don't require it in x11.pc 15669 15670 Based on a Debian patch. 15671 15672commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 15673Author: Josh Triplett <josh@freedesktop.org> 15674Date: Thu Nov 23 07:19:32 2006 -0800 15675 15676 Release libX11 1.1 15677 15678commit a1168e11ec9377307c51a7271faec3bf88a63a66 15679Author: Jamey Sharp <jamey@minilop.net> 15680Date: Tue Nov 21 17:52:34 2006 -0800 15681 15682 Add note in man-page that XListFontsWithInfo is not thread-safe. 15683 15684 _XReply drops the Display lock, so the value of dpy->request may change 15685 before _XReply is called again. 15686 15687 I discovered this by inspection a year or two ago. I'm pretty confident 15688 in the claim, and nobody has come up with an argument for why it's safe 15689 despite appearances. 15690 15691commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 15692Author: Jamey Sharp <jamey@minilop.net> 15693Date: Sat Nov 18 15:39:26 2006 -0800 15694 15695 Bug #8622: Fix response processing order for threaded apps 15696 15697 Previously, process_responses (the common code for _XReply, 15698 _XReadEvents, and _XEventsQueued) took the current request sequence 15699 number as an argument, and did some highly complicated processing to 15700 attempt to process responses in order across threads. This didn't 15701 actually work. 15702 15703 Now, process_responses handles responses in order, by adding condition 15704 variables to the list of outstanding requests in 15705 dpy->xcb->pending_requests, and blocking on them when those requests 15706 should get processed to allow _XReply to process them; if actually 15707 called from _XReply, it returns when _XReply's request should get 15708 processed. _XReply broadcasts on the condition variable after it has 15709 read its reply and re-acquired the display lock. 15710 15711 Another great commit brought to you by Jamey Sharp, Josh Triplett, the 15712 Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 15713 forwarding. 15714 15715 Signed-off-by: Josh Triplett <josh@freedesktop.org> 15716 Signed-off-by: Jamey Sharp <jamey@minilop.net> 15717 15718commit 941f02ede63baa46f93ed8abccebe76fb29c0789 15719Author: Lars Knoll <lars@trolltech.com> 15720Date: Wed Nov 8 12:17:41 2006 -0800 15721 15722 Don't hold the display lock around callbacks to the application. 15723 15724 This fixes an XCB locking assertion failure, particularly with emacs. 15725 15726commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 15727Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 15728Date: Tue Nov 7 09:32:00 2006 -0800 15729 15730 Add xcb-xlib dependency to x11.pc when built against XCB. 15731 15732commit 2302008a3793eb4df8ede777d54fe06505c47eaf 15733Author: Eric Anholt <eric@anholt.net> 15734Date: Mon Nov 6 17:11:42 2006 -0800 15735 15736 XCB: Allocate the right amount of memory for dpy->lock_fns. 15737 15738 Fixes a crash I was experiencing on startup of anything using gdk. 15739 15740commit 5f860655be88108b03ccd97470a0814819254bf0 15741Author: Jamey Sharp <jamey@minilop.net> 15742Date: Thu Nov 2 17:55:31 2006 -0800 15743 15744 Release libX11 1.1 RC2 (1.0.99.2). 15745 15746commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 15747Author: Benno Schulenberg <bensberg@justemail.net> 15748Date: Sun Oct 29 03:10:30 2006 +0300 15749 15750 nls (en_US): remove long compositions that override shorter (bug #2286) 15751 Remove long compositions that override (or get overriden by) later shorter 15752 compositions, e.g. a four-key compose sequence that gets overriden by a 15753 later three-key compose sequence. 15754 15755commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 15756Author: Benno Schulenberg <bensberg@justemail.net> 15757Date: Sun Oct 29 03:08:36 2006 +0300 15758 15759 nls: remove shadowed compose entries (bug #2286) 15760 Remove compose entries shadowed by others later on. 15761 15762commit d118f2b1ef10997194b281524177dea7396da7dd 15763Author: Benno Schulenberg <bensberg@justemail.net> 15764Date: Sun Oct 29 03:07:15 2006 +0300 15765 15766 nls: remove duplicate compose entries (bug #2286) 15767 Remove a bunch of duplicate entries from various Compose files. 15768 15769commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 15770Author: Caolan McNamara <caolanm@redhat.com> 15771Date: Sun Oct 29 02:46:15 2006 +0300 15772 15773 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 15774 Don't leak the name and value of every property we parse, as well as the 15775 name of every colour. 15776 15777commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 15778Author: Matthias Hopf <mhopf@suse.de> 15779Date: Wed Oct 18 14:25:04 2006 +0200 15780 15781 Fix double open of compose file. 15782 15783 Issue found by Kees Cook <kees@canonical.com>. 15784 15785commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 15786Author: Jamey Sharp <jamey@minilop.net> 15787Date: Sat Oct 14 21:25:10 2006 -0700 15788 15789 XCB: check for and handle I/O errors in _XGetXCBBuffer. 15790 15791commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 15792Author: Jamey Sharp <jamey@minilop.net> 15793Date: Wed Oct 11 00:06:50 2006 -0700 15794 15795 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 15796 15797commit 1eedf1bd033e496843cfde42ae4ae5a119298605 15798Author: Jamey Sharp <jamey@minilop.net> 15799Date: Tue Oct 10 23:03:28 2006 -0700 15800 15801 Add correct Display locking to XKB functions. 15802 15803 Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 15804 This patch fixes at least some instances of that problem. 15805 15806 Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 15807 and proposing a fix, which this patch is based on. 15808 15809commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 15810Author: David Nusinow <dnusinow@debian.org> 15811Date: Tue Oct 10 22:11:05 2006 -0400 15812 15813 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 15814 15815commit e53557da969b706dbc843f6fde3db31ffe382e0f 15816Author: Jamey Sharp <jamey@minilop.net> 15817Date: Sat Oct 7 21:00:36 2006 -0700 15818 15819 Release libX11 1.1 RC1 (1.0.99.1). 15820 15821commit bf237409c5fce32c557d298f62f44d456c2b5bc8 15822Merge: ba477191 2d426d1f 15823Author: Jamey Sharp <jamey@minilop.net> 15824Date: Sat Oct 7 21:07:16 2006 -0700 15825 15826 As XCB support is about to be released in libX11, stable is now subsumed by master. 15827 15828commit ba477191c67ce93e61423cc1abe35275704cce50 15829Author: Jamey Sharp <jamey@minilop.net> 15830Date: Sat Oct 7 03:48:13 2006 -0700 15831 15832 XCB: Don't rely on having the definition of struct xcb_setup_t available. 15833 15834commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 15835Author: Jamey Sharp <jamey@minilop.net> 15836Date: Fri Oct 6 16:27:31 2006 -0700 15837 15838 xcb_poll_for_event no longer takes an 'int *error' out-parameter. 15839 15840commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 15841Author: Josh Triplett <josh@freedesktop.org> 15842Date: Fri Oct 6 16:26:11 2006 -0700 15843 15844 Actually ship Xxcbint.h 15845 15846commit 7b027e53b5e393082f4f515c8ba18077eb97163f 15847Author: Josh Triplett <josh@freedesktop.org> 15848Date: Fri Oct 6 16:25:50 2006 -0700 15849 15850 Clean ChangeLog only in "make maintainer-clean", not "make clean" 15851 15852 ChangeLog requires a git repo to generate; make clean and make distclean 15853 shouldn't get rid of it. 15854 15855commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 15856Author: Josh Triplett <josh@freedesktop.org> 15857Date: Fri Oct 6 16:24:58 2006 -0700 15858 15859 Add ChangeLog and "make dist"-generated files to .gitignore 15860 15861commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 15862Author: Josh Triplett <josh@freedesktop.org> 15863Date: Fri Oct 6 15:53:27 2006 -0700 15864 15865 Add manual pages for XGetXCBConnection and XSetEventQueueOwner 15866 15867commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 15868Author: Josh Triplett <josh@freedesktop.org> 15869Date: Fri Oct 6 13:41:16 2006 -0700 15870 15871 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 15872 15873commit ab728ca372288d0db1b486c265e34c1376f29104 15874Author: Josh Triplett <josh@freedesktop.org> 15875Date: Fri Oct 6 12:36:39 2006 -0700 15876 15877 XCL is dead; long live Xlib/XCB 15878 15879 Rename all instances of "XCL" to Xlib/XCB-derived names. 15880 15881 The only user-visible change: rename the include file <X11/xcl.h> to 15882 <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 15883 15884 Remove the XCL cast inlines from Xlib-xcb.h. 15885 15886commit 5b73093203039d307eb7ab3845c3ced207e9e26c 15887Author: Josh Triplett <josh@freedesktop.org> 15888Date: Fri Oct 6 11:33:49 2006 -0700 15889 15890 Add XCB developers to AUTHORS 15891 15892commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 15893Author: Josh Triplett <josh@freedesktop.org> 15894Date: Fri Oct 6 11:21:28 2006 -0700 15895 15896 Fix email addresses in README 15897 15898commit 12f038669278019594ca0ed53dadcf4e84092422 15899Author: Jamey Sharp <jamey@minilop.net> 15900Date: Fri Oct 6 02:13:05 2006 -0700 15901 15902 XCB: Handle all responses in order of monotonically increasing sequence number. 15903 15904commit f392680273278b43079302206897f794e60f3c70 15905Author: Josh Triplett <josh@freedesktop.org> 15906Date: Fri Oct 6 01:11:08 2006 -0700 15907 15908 Actually install x11-xcb.pc, and ship x11-xcb.pc.in 15909 15910commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 15911Author: Jamey Sharp <jamey@minilop.net> 15912Date: Thu Oct 5 18:32:29 2006 -0700 15913 15914 XCB: correctly handle failure to connect to X server. 15915 15916commit e754b3b078d556c7861da56aad47d244e9199e06 15917Author: Josh Triplett <josh@freedesktop.org> 15918Date: Thu Oct 5 17:44:22 2006 -0700 15919 15920 Split public Xlib/XCB functions into libX11-xcb 15921 15922 We can never change the libX11 soname, and we don't want to commit to never 15923 changing the public Xlib/XCB functions, so split them into a separate library 15924 libX11-xcb. This also means that a program linked solely against libX11 15925 should work with either Xlib or Xlib/XCB, which will make life easier for 15926 package maintainers. 15927 15928 Signed-off-by: Josh Triplett <josh@freedesktop.org> 15929 Acked-by: Jamey Sharp <jamey@minilop.net> 15930 15931commit ffd367f708b295abaedf3a23a1bfd4710d171d6f 15932Author: Jamey Sharp <jamey@minilop.net> 15933Date: Wed Oct 4 17:16:46 2006 -0700 15934 15935 No longer #include Xmd from xcl.h: we do not need it. 15936 15937commit 3aff149d42ba8ed620091971b3766bdf96c62aaf 15938Author: Jamey Sharp <jamey@minilop.net> 15939Date: Wed Oct 4 16:58:32 2006 -0700 15940 15941 XCB: Revert locking to simple wrapper around libX11's normal locks. 15942 15943 No more recursive mutexes, no more banging XCB's I/O lock in-place, and 15944 reduces the differences between the previous stable release and an 15945 XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 15946 too, now. I apologize to the world. 15947 15948commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 15949Author: Jamey Sharp <jamey@minilop.net> 15950Date: Mon Sep 25 04:54:52 2006 -0700 15951 15952 Link explicitly against XCB's Xlib compatibility functions. 15953 15954commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 15955Author: Jamey Sharp <jamey@minilop.net> 15956Date: Mon Sep 25 04:13:20 2006 -0700 15957 15958 libxcb now installs header files in <xcb>, not <X11/XCB>. 15959 15960commit 87d00207f5a1f25a45a153618739cd6481814f89 15961Author: Ian Osgood <iano@quirkster.com> 15962Date: Sun Sep 24 23:39:01 2006 -0700 15963 15964 Track XCB's "Great Renaming". 15965 15966commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 15967Author: Jamey Sharp <jamey@minilop.net> 15968Date: Tue Sep 12 23:02:42 2006 -0700 15969 15970 Quit using XCBGetQueuedRequestRead. 15971 15972commit a61936fc4e9bd93b108764bbacd5b8f786e51915 15973Author: Tollef Fog Heen <tfheen@err.no> 15974Date: Wed Aug 30 00:05:54 2006 +0300 15975 15976 nls: use _XlcUtf8Loader for en_US (bug #7982) 15977 Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 15978 every other locale. 15979 15980commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 15981Author: Alan Coopersmith <alan.coopersmith@sun.com> 15982Date: Wed Aug 23 18:49:30 2006 -0700 15983 15984 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 15985 15986 Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 15987 connect on a named pipe, try a Unix socket first, to better support people who 15988 replace their X servers with ones that don't support named pipe transport. 15989 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 15990 15991commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 15992Author: Mark Brown <mark.brown@sun.com> 15993Date: Thu Jul 27 19:17:10 2006 -0700 15994 15995 Sun bug 1149809: Document event delivery when grab is terminated. 15996 15997commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 15998Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 15999Date: Thu Jul 27 18:47:06 2006 -0700 16000 16001 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 16002 16003 Document that 32-bit format properties are always returned in arrays of type 16004 long, even on systems where long is 64-bits. 16005 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 16006 16007commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 16008Author: Alan Coopersmith <alan.coopersmith@sun.com> 16009Date: Mon Jul 24 15:52:00 2006 -0700 16010 16011 Add support for "make lint" to check code with lint/sparse/etc. 16012 16013commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 16014Author: Alan Coopersmith <alan.coopersmith@sun.com> 16015Date: Mon Jul 24 15:50:52 2006 -0700 16016 16017 ANSIfy some static function definitions 16018 16019commit 20b7abcaac324d90454de63f32f4a2b398e69e63 16020Author: Alan Coopersmith <alan.coopersmith@sun.com> 16021Date: Mon Jul 24 15:01:40 2006 -0700 16022 16023 Fix sparse warning: Using plain integer as NULL pointer 16024 16025commit d158ab29930513c4097f5b67e7bea08ed2bfd62c 16026Author: Alan Coopersmith <alan.coopersmith@sun.com> 16027Date: Mon Jul 24 14:00:24 2006 -0700 16028 16029 Remove unused variable 16030 16031commit 30377000375bdb958042dcb1f38503c94ef21eaf 16032Author: Eric Anholt <anholt@FreeBSD.org> 16033Date: Fri Jul 21 18:55:36 2006 -0400 16034 16035 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 16036 16037commit 4eba45879aea4e415ab550ee56b900d060099110 16038Author: Matthieu Herrb <matthieu.herrb@laas.fr> 16039Date: Sun Jul 16 10:55:39 2006 +0200 16040 16041 set GIT_DIR=${srcdir}/.git for git-log 16042 16043commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 16044Author: Aaron Plattner <aplattner@nvidia.com> 16045Date: Tue Jul 11 13:27:49 2006 -0700 16046 16047 Add a .PHONY to ensure the ChangeLog isn't stale. 16048 16049 Setting the ChangeLog rule as phony forces it to be re-run even when the 16050 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 16051 Solaris make. 16052 (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 16053 16054commit b8a98809ed81e1226775e6447ef219ffc01334b5 16055Author: Aaron Plattner <aplattner@nvidia.com> 16056Date: Tue Jul 11 13:27:49 2006 -0700 16057 16058 Add a .PHONY to ensure the ChangeLog isn't stale. 16059 16060 Setting the ChangeLog rule as phony forces it to be re-run even when the 16061 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 16062 Solaris make. 16063 16064commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 16065Author: Mayank Jain <majain@redhat.com> 16066Date: Tue Jul 11 19:42:47 2006 +0100 16067 16068 add Indian language locales 16069 Add as, kn, ml, or, ur, and te locales. 16070 16071commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 16072Author: Matthias Hopf <mhopf@suse.de> 16073Date: Tue Jul 4 12:16:30 2006 +0200 16074 16075 Fix for autoconf 2.60 issue. 16076 16077 Updated AC_DEFINE_DIR. 16078 Reverted datarootdir change. 16079 16080commit 644f4828b15bce42b597eb123ba0bbc372c46c03 16081Author: Keith Packard <keithp@neko.keithp.com> 16082Date: Sat Jul 1 21:31:23 2006 -0700 16083 16084 Work around recent autoconf (2.59?) changes in directory expansion. 16085 16086 Recent autoconf versions have changed how directory names are managed in the 16087 configure.ac script; automatic 'eval' invocations now occur as a part of the 16088 AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 16089 before the variables are used in further macro definitions. Also, ${datadir} 16090 is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 16091 expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 16092 is easy to work around by just using ${datarootdir} instead of ${datadir}. 16093 16094commit be70a31229aa106aff0a09d78c00812682cd3475 16095Author: Keith Packard <keithp@neko.keithp.com> 16096Date: Sat Jul 1 01:56:05 2006 -0700 16097 16098 Xlib/XCB: handle 32-bit sequence wrap. 16099 16100 Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 16101 XCB). 16102 Account for XCB sequence 0 handling. 16103 16104commit 99c711707ad08e1396e123b1c7df687c560a489a 16105Author: Donnie Berkholz <spyderous@gentoo.org> 16106Date: Thu Jun 29 19:43:20 2006 -0700 16107 16108 Bump version to 1.0.3. 16109 16110commit cde3c0dd72af2b490e80cffca962e3487dd31be4 16111Author: Donnie Berkholz <spyderous@gentoo.org> 16112Date: Thu Jun 29 19:39:36 2006 -0700 16113 16114 Bug #7349: Missed one of the setuid fixes. 16115 (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 16116 16117commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 16118Author: Matthias Hopf <mhopf@suse.de> 16119Date: Thu Jun 29 18:59:57 2006 +0200 16120 16121 Update to final Compose cache directory location. 16122 (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 16123 16124commit 912ef198292d3053daa810f842510e5d62ded0f0 16125Author: Matthias Hopf <mhopf@suse.de> 16126Date: Thu Jun 29 17:41:41 2006 +0200 16127 16128 Fix alignment of trees and wide chars in the cache. 16129 (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 16130 16131commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 16132Author: Matthias Hopf <mhopf@suse.de> 16133Date: Wed Jun 28 19:17:03 2006 +0200 16134 16135 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 16136 (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 16137 16138commit e9614c963b532f46a7932c2305a4b177a996a222 16139Author: Donnie Berkholz <spyderous@gentoo.org> 16140Date: Thu Jun 29 19:39:36 2006 -0700 16141 16142 Bug #7349: Missed one of the setuid fixes. 16143 16144commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 16145Author: Matthias Hopf <mhopf@suse.de> 16146Date: Thu Jun 29 18:59:57 2006 +0200 16147 16148 Update to final Compose cache directory location. 16149 16150commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 16151Author: Matthias Hopf <mhopf@suse.de> 16152Date: Thu Jun 29 17:41:41 2006 +0200 16153 16154 Fix alignment of trees and wide chars in the cache. 16155 16156commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 16157Author: Matthias Hopf <mhopf@suse.de> 16158Date: Wed Jun 28 19:17:03 2006 +0200 16159 16160 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 16161 16162commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 16163Author: Donnie Berkholz <spyderous@gentoo.org> 16164Date: Thu Jun 22 23:59:03 2006 -0700 16165 16166 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 16167 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 16168 ChangeLog. 16169 (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 16170 16171commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 16172Author: Donnie Berkholz <donnie@comet.(none)> 16173Date: Thu Jun 22 23:47:38 2006 -0700 16174 16175 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 16176 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 16177 ChangeLog. 16178 16179commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 16180Author: Donnie Berkholz <donnie@comet.(none)> 16181Date: Thu Jun 22 15:47:38 2006 -0700 16182 16183 Bump version to 1.0.2. 16184 16185commit c93539d974a67f596a5eb5b65042d26602546c72 16186Author: Matthieu Herrb <matthieu@deville.herrb.com> 16187Date: Tue Jun 20 21:04:03 2006 +0200 16188 16189 Check setuid() return value. 16190 (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 16191 16192commit 605533f814ab7892991578706a6458f61a89ca4d 16193Author: Derek Wang <derek.wang@sun.com> 16194Date: Mon Jun 19 11:05:37 2006 -0700 16195 16196 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 16197 (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 16198 16199commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 16200Author: Scott Revelt <scott.revelt@sun.com> 16201Date: Fri Jun 16 19:11:13 2006 -0700 16202 16203 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 16204 based on locale that doesn't match those used in the Xcms.txt 16205 (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 16206 16207commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 16208Author: Alan Coopersmith <alanc@alf.(none)> 16209Date: Fri Jun 16 18:53:33 2006 -0700 16210 16211 Add *~ to ignore emacs droppings 16212 (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 16213 16214commit 214658b76b56768f69c3959a11525aae7813f448 16215Author: Matthias Hopf <mhopf@suse.de> 16216Date: Fri Jun 16 15:36:40 2006 +0200 16217 16218 Bug #3104: Compose table cache for faster X11 application starts. 16219 (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 16220 16221commit 13968a23aaea838ba4b69e42e8900f803499e091 16222Author: Matthias Hopf <mhopf@suse.de> 16223Date: Tue Jun 13 20:23:46 2006 +0200 16224 16225 Bug #3104: Compose table cache for faster X11 application starts. 16226 (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 16227 16228commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 16229Author: Lubos Lunak <llunak@suse.de> 16230Date: Mon Jun 12 18:48:08 2006 +0200 16231 16232 Bug #3104: Compose table cache for faster X11 application starts. 16233 (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 16234 16235commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 16236Author: Matthias Hopf <mhopf@suse.de> 16237Date: Fri Jun 9 18:24:02 2006 +0200 16238 16239 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. 16240 (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 16241 16242commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 16243Author: Jamey Sharp <jamey@minilop.net> 16244Date: Wed Jun 7 20:29:05 2006 -0700 16245 16246 Fix bug #7035: unnecessary memmove in XOpenDisplay. 16247 Using memmove on the connection setup data causes a problem for XCB, but making 16248 Xlib stop doing that should be harmless for non-XCB as well. 16249 (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 16250 16251commit cd7328c46ae72903ed02832828891b2dab4d5ee0 16252Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16253Date: Sat Jun 3 13:51:51 2006 +0300 16254 16255 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 16256 (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 16257 16258commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 16259Merge: 33556ca8 ad9ebbd2 16260Author: Donnie Berkholz <donnie@comet.(none)> 16261Date: Thu Jun 22 14:25:35 2006 -0700 16262 16263 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 16264 16265commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 16266Author: Daniel Stone <daniel@fooishbar.org> 16267Date: Thu Jun 22 17:20:59 2006 +0300 16268 16269 Bump to 1.0.99.0 to avoid confusion. 16270 16271commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 16272Merge: e3acee88 4b8eb5d4 16273Author: Daniel Stone <daniel@fooishbar.org> 16274Date: Thu Jun 22 16:53:45 2006 +0300 16275 16276 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 16277 16278commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 16279Merge: 5169d0e0 eff50c94 16280Author: Matthieu Herrb <matthieu@deville.herrb.com> 16281Date: Tue Jun 20 21:05:15 2006 +0200 16282 16283 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 16284 16285commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 16286Author: Matthieu Herrb <matthieu@deville.herrb.com> 16287Date: Tue Jun 20 21:04:03 2006 +0200 16288 16289 Check setuid() return value. 16290 16291commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 16292Author: Derek Wang <derek.wang@sun.com> 16293Date: Mon Jun 19 11:05:37 2006 -0700 16294 16295 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 16296 16297commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 16298Author: Scott Revelt <scott.revelt@sun.com> 16299Date: Fri Jun 16 19:11:13 2006 -0700 16300 16301 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 16302 based on locale that doesn't match those used in the Xcms.txt 16303 16304commit c33d7b8282ac196b36229be26442296768c16f3e 16305Author: Alan Coopersmith <alanc@alf.(none)> 16306Date: Fri Jun 16 18:53:33 2006 -0700 16307 16308 Add *~ to ignore emacs droppings 16309 16310commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 16311Author: Matthias Hopf <mhopf@suse.de> 16312Date: Fri Jun 16 15:36:40 2006 +0200 16313 16314 Bug #3104: Compose table cache for faster X11 application starts. 16315 16316commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 16317Author: Matthias Hopf <mhopf@suse.de> 16318Date: Tue Jun 13 20:23:46 2006 +0200 16319 16320 Bug #3104: Compose table cache for faster X11 application starts. 16321 16322commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 16323Author: Lubos Lunak <llunak@suse.de> 16324Date: Mon Jun 12 18:48:08 2006 +0200 16325 16326 Bug #3104: Compose table cache for faster X11 application starts. 16327 16328commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 16329Author: Matthias Hopf <mhopf@suse.de> 16330Date: Fri Jun 9 18:24:02 2006 +0200 16331 16332 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. 16333 16334commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 16335Author: Jamey Sharp <jamey@minilop.net> 16336Date: Wed Jun 7 20:29:05 2006 -0700 16337 16338 Fix bug #7035: unnecessary memmove in XOpenDisplay. 16339 Using memmove on the connection setup data causes a problem for XCB, but making 16340 Xlib stop doing that should be harmless for non-XCB as well. 16341 16342commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 16343Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16344Date: Sat Jun 3 12:57:55 2006 +0300 16345 16346 Bug #2186: Add cs_CZ.iso8859-2 alias. 16347 16348commit 9e7765e0b1cbaae6643072d91066ba1201b36227 16349Author: Daniel Stone <daniel@fooishbar.org> 16350Date: Fri Jun 2 02:46:29 2006 +0300 16351 16352 nls: Serbian (sr_CS) update (#5575) 16353 16354 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 16355 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 16356 and locale.dir.pre. (Milos Komarcevic) 16357 16358commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 16359Author: Daniel Stone <daniel@fooishbar.org> 16360Date: Fri Jun 2 02:24:25 2006 +0300 16361 16362 im: add Braille input method (#6296) 16363 16364 Bug #6296: Add a Braille input method. (Samuel Thibault) 16365 16366commit 90de1e2e141ec591048a76cb695579ef809a28d3 16367Author: Daniel Stone <daniel@fooishbar.org> 16368Date: Fri Jun 2 02:22:17 2006 +0300 16369 16370 xkb support: small typo 16371 16372commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 16373Author: Daniel Stone <daniel@fooishbar.org> 16374Date: Fri Jun 2 01:50:24 2006 +0300 16375 16376 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 16377 16378 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 16379 adding Unicode character names, removing duplicate entries, et al. 16380 16381commit 0c6473dd329c7334ae511884bcb6e73e632c784f 16382Author: Daniel Stone <daniel@fooishbar.org> 16383Date: Fri Jun 2 01:44:53 2006 +0300 16384 16385 nls: fix use of non-keysym dead_space (#5107) 16386 16387 Bug #5107: Change users of dead_space to space. 16388 16389commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 16390Author: Daniel Stone <daniel@fooishbar.org> 16391Date: Fri Jun 2 01:41:18 2006 +0300 16392 16393 optional XKB support fix 16394 16395 Fix compilation with --disable-xkb. 16396 16397commit 217d43ed44ced901122093af3ef1294e1736bb77 16398Author: Daniel Stone <daniel@fooishbar.org> 16399Date: Fri Jun 2 01:39:12 2006 +0300 16400 16401 i18n: separate data and lib directories 16402 16403 Break out locale data into separate data and library directories, under 16404 $(datadir) and $(libdir), respectively, by default. 16405 16406commit 92fa7fcde8df22830fca7c0275ab201033f7909c 16407Author: Adam Jackson <ajax@benzedrine.nwnk.net> 16408Date: Thu May 11 14:04:48 2006 -0400 16409 16410 libXcursor.so.1, not libXcursor.so 16411 16412commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 16413Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16414Date: Wed May 10 18:06:03 2006 +0300 16415 16416 XKBMisc.c: use Xfree, not xfree 16417 16418 Use Xfree() instead of xfree() when freeing interps. 16419 16420commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 16421Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16422Date: Wed May 10 14:51:37 2006 +0300 16423 16424 locale.alias.pre: bg_BG typo fix 16425 16426 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 16427 16428commit cc533db60cb64dc163c66451933a9bf77c519062 16429Author: Daniel Stone <daniels@endtroducing.localdomain> 16430Date: Sun Apr 9 22:22:03 2006 +0300 16431 16432 Coverity #203, #204: Fix potential NULL dereferences. 16433 16434commit b83adf7dfd6157694fe4f232012fef36cd9666da 16435Author: Daniel Stone <daniels@endtroducing.localdomain> 16436Date: Sun Apr 9 22:20:25 2006 +0300 16437 16438 Coverity #205: Fix potential NULL dereference. 16439 16440commit 2d0cd10ad907864d0136739eaac459779c9a5332 16441Author: Daniel Stone <daniels@endtroducing.localdomain> 16442Date: Sun Apr 9 22:18:20 2006 +0300 16443 16444 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 16445 16446commit dc2f3966068d66a564aa452cab9f0c26657fa1df 16447Author: Daniel Stone <daniels@preemptive.research.nokia.com> 16448Date: Fri Apr 7 18:11:52 2006 +0300 16449 16450 Coverity #826: Fix potential memory leak. 16451 16452commit 23df609ec451a01c77e8f31ecc85c5af7c62efed 16453Author: Daniel Stone <daniels@preemptive.research.nokia.com> 16454Date: Fri Apr 7 17:49:41 2006 +0300 16455 16456 Bug #1625: Include keysym.h from Xutil.h. 16457 16458commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 16459Author: Eric Anholt <anholt@leguin.anholt.net> 16460Date: Wed Apr 5 17:12:15 2006 -0700 16461 16462 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 16463 16464 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 16465 of Coverity #599, #600. 16466 16467commit 8b42635f577468bb143ca593cdd9fb3450ad712c 16468Author: Eric Anholt <anholt@leguin.anholt.net> 16469Date: Wed Apr 5 16:42:26 2006 -0700 16470 16471 Coverity #558: Free newly-allocated Database in error path. 16472 16473commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 16474Author: Eric Anholt <anholt@leguin.anholt.net> 16475Date: Wed Apr 5 16:38:52 2006 -0700 16476 16477 Coverity #582: Free newly-allocated region in error path. 16478 16479commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 16480Author: Daniel Stone <daniels@preemptive.research.nokia.com> 16481Date: Fri Mar 17 15:58:39 2006 +0200 16482 16483 Properly clip bounds when only one point is defining an outline. 16484 16485commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 16486Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 16487Date: Sat Mar 11 15:39:15 2006 +0100 16488 16489 Fix prototype of XConfigureWindow(). Bugzilla #6023. 16490 16491commit 1da8bd904f1fc79d63d368473531b438d08bfe37 16492Author: Jeremy C. Reed <reed@reedmedia.net> 16493Date: Tue Feb 21 14:10:22 2006 -0800 16494 16495 Set XTHREADLIB correctly for dragonfly platforms. 16496 16497commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 16498Author: Jamey Sharp <jamey@minilop.net> 16499Date: Sun Feb 19 12:29:27 2006 -0800 16500 16501 Update .gitignores for *.o and nls/locale.dir*. 16502 16503commit efcbde6ba0b770bb0d4c7818e307712161011f10 16504Author: Jamey Sharp <jamey@minilop.net> 16505Date: Sun Feb 19 12:28:41 2006 -0800 16506 16507 Move .cvsignore to .gitignore. 16508 16509commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 16510Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16511Date: Sat Jun 3 13:51:51 2006 +0300 16512 16513 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 16514 16515commit f1bd3152359ddfadd0d043006036c239f3e2907b 16516Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16517Date: Sat Jun 3 12:57:55 2006 +0300 16518 16519 Bug #2186: Add cs_CZ.iso8859-2 alias. 16520 16521commit 2b1b79d90db1d7f0472718b8c010c36275994195 16522Author: Daniel Stone <daniel@fooishbar.org> 16523Date: Fri Jun 2 02:46:29 2006 +0300 16524 16525 nls: Serbian (sr_CS) update (#5575) 16526 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 16527 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 16528 and locale.dir.pre. (Milos Komarcevic) 16529 16530commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 16531Author: Daniel Stone <daniel@fooishbar.org> 16532Date: Fri Jun 2 02:24:25 2006 +0300 16533 16534 im: add Braille input method (#6296) 16535 Bug #6296: Add a Braille input method. (Samuel Thibault) 16536 16537commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 16538Author: Daniel Stone <daniel@fooishbar.org> 16539Date: Fri Jun 2 02:22:17 2006 +0300 16540 16541 xkb support: small typo 16542 16543commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 16544Author: Daniel Stone <daniel@fooishbar.org> 16545Date: Fri Jun 2 01:50:24 2006 +0300 16546 16547 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 16548 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 16549 adding Unicode character names, removing duplicate entries, et al. 16550 16551commit 332d45fce9fdbf59168d90a133af1f580a589e54 16552Author: Daniel Stone <daniel@fooishbar.org> 16553Date: Fri Jun 2 01:44:53 2006 +0300 16554 16555 nls: fix use of non-keysym dead_space (#5107) 16556 Bug #5107: Change users of dead_space to space. 16557 16558commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 16559Author: Daniel Stone <daniel@fooishbar.org> 16560Date: Fri Jun 2 01:41:18 2006 +0300 16561 16562 optional XKB support fix 16563 Fix compilation with --disable-xkb. 16564 16565commit c5940a0b85edec4003f91a59fc3c44f538accfe1 16566Author: Daniel Stone <daniel@fooishbar.org> 16567Date: Fri Jun 2 01:39:12 2006 +0300 16568 16569 i18n: separate data and lib directories 16570 Break out locale data into separate data and library directories, under 16571 $(datadir) and $(libdir), respectively, by default. 16572 16573commit 33556ca81db2419b9d2a37664c4cea2069414b37 16574Author: Adam Jackson <ajax@benzedrine.nwnk.net> 16575Date: Fri May 12 14:49:17 2006 -0400 16576 16577 Bump to 1.0.1 16578 16579commit 80d88557626fae9debc404de33d7fb5d69a6049d 16580Author: Adam Jackson <ajax@benzedrine.nwnk.net> 16581Date: Thu May 11 14:06:28 2006 -0400 16582 16583 libXcursor.so.1, not libXcursor.so 16584 16585commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 16586Author: Adam Jackson <ajax@benzedrine.nwnk.net> 16587Date: Thu May 11 14:04:48 2006 -0400 16588 16589 libXcursor.so.1, not libXcursor.so 16590 16591commit 01f4d433eed6b70c6e9636157acac022054fdeb6 16592Author: Jamey Sharp <jamey@minilop.net> 16593Date: Wed May 10 17:02:52 2006 -0700 16594 16595 Count any partial request towards the current Xlib sequence number. 16596 16597commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 16598Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16599Date: Wed May 10 18:06:03 2006 +0300 16600 16601 XKBMisc.c: use Xfree, not xfree 16602 Use Xfree() instead of xfree() when freeing interps. 16603 16604commit 22a5255b80b80772612279bc840a953edd0e3442 16605Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16606Date: Wed May 10 14:51:37 2006 +0300 16607 16608 locale.alias.pre: bg_BG typo fix 16609 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 16610 16611commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 16612Merge: 19b8840a e514bc87 16613Author: Daniel Stone <daniels@preemptive.fooishbar.org> 16614Date: Wed May 10 14:50:37 2006 +0300 16615 16616 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 16617 16618commit e514bc875f27f4bf197b06b8315eeca526195915 16619Author: Jamey Sharp <jamey@minilop.net> 16620Date: Tue May 9 12:41:59 2006 -0700 16621 16622 Assert that dpy->request does not go backwards. Catches #5839 earlier. 16623 16624commit fc1159137365a599bf611ee001f439416952c4e0 16625Author: Jamey Sharp <jamey@minilop.net> 16626Date: Sun May 7 17:40:01 2006 -0700 16627 16628 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 16629 16630commit c394480a4247213239822808e3f6e7c6cd6decd9 16631Author: Jamey Sharp <jamey@minilop.net> 16632Date: Sun May 7 16:58:13 2006 -0700 16633 16634 Update for XCB ConnSetupSuccessRep name change. 16635 16636commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 16637Author: Daniel Stone <daniels@endtroducing.localdomain> 16638Date: Sun Apr 9 22:22:03 2006 +0300 16639 16640 Coverity #203, #204: Fix potential NULL dereferences. 16641 16642commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 16643Author: Daniel Stone <daniels@endtroducing.localdomain> 16644Date: Sun Apr 9 22:20:25 2006 +0300 16645 16646 Coverity #205: Fix potential NULL dereference. 16647 16648commit b6771501feea98d037032f82117b6d4f15779f07 16649Author: Daniel Stone <daniels@endtroducing.localdomain> 16650Date: Sun Apr 9 22:18:20 2006 +0300 16651 16652 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 16653 16654commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 16655Author: Daniel Stone <daniels@preemptive.research.nokia.com> 16656Date: Fri Apr 7 18:11:52 2006 +0300 16657 16658 Coverity #826: Fix potential memory leak. 16659 16660commit 3a16f262abe48b44ed641525e894bc22e13bf72a 16661Author: Daniel Stone <daniels@preemptive.research.nokia.com> 16662Date: Fri Apr 7 17:49:41 2006 +0300 16663 16664 Bug #1625: Include keysym.h from Xutil.h. 16665 16666commit 2481b767ae96e2f2503c0390545932c8397b090f 16667Author: Eric Anholt <anholt@leguin.anholt.net> 16668Date: Wed Apr 5 17:12:15 2006 -0700 16669 16670 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 16671 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 16672 of Coverity #599, #600. 16673 16674commit 152b17e47d878c2d928eb74581aa69d925a29123 16675Author: Eric Anholt <anholt@leguin.anholt.net> 16676Date: Wed Apr 5 16:42:26 2006 -0700 16677 16678 Coverity #558: Free newly-allocated Database in error path. 16679 16680commit bc62b99ef36edb34035911c42104be7f6f9d2333 16681Author: Eric Anholt <anholt@leguin.anholt.net> 16682Date: Wed Apr 5 16:38:52 2006 -0700 16683 16684 Coverity #582: Free newly-allocated region in error path. 16685 16686commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 16687Author: Jamey Sharp <jamey@minilop.net> 16688Date: Fri Mar 31 22:53:07 2006 -0800 16689 16690 Fix buggy interaction with XCB when running out of XIDs. 16691 16692commit e3f452571824d6a875bbf582946de185de9e01e9 16693Author: Jamey Sharp <jamey@minilop.net> 16694Date: Fri Mar 31 22:52:14 2006 -0800 16695 16696 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 16697 16698commit 2363b74ca795c1b3a73c9e572532ba5191adec5b 16699Author: Daniel Stone <daniels@preemptive.research.nokia.com> 16700Date: Fri Mar 17 15:58:39 2006 +0200 16701 16702 Properly clip bounds when only one point is defining an outline. 16703 16704commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 16705Merge: be266b20 f71ea0bc 16706Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 16707Date: Sat Mar 11 15:40:35 2006 +0100 16708 16709 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 16710 16711commit be266b201dc13530a302a7572283ccd3f32aad87 16712Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 16713Date: Sat Mar 11 15:39:15 2006 +0100 16714 16715 Fix prototype of XConfigureWindow(). Bugzilla #6023. 16716 16717commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 16718Author: Jamey Sharp <jamey@minilop.net> 16719Date: Fri Mar 3 11:08:41 2006 -0800 16720 16721 Update for XCBSendRequest sequence number API changes. 16722 16723commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 16724Author: Jamey Sharp <jamey@minilop.net> 16725Date: Fri Mar 3 01:42:49 2006 -0800 16726 16727 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 16728 16729commit d8ba4ae7045b227f8b675628b9094dded02f1c08 16730Author: Jamey Sharp <jamey@minilop.net> 16731Date: Thu Mar 2 23:43:26 2006 -0800 16732 16733 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 16734 16735commit f9afb5a54435c30961306080e9358d4240ecb844 16736Author: Jamey Sharp <jamey@minilop.net> 16737Date: Thu Mar 2 23:34:19 2006 -0800 16738 16739 assert() that we will not infinite loop or read uninitialized memory. 16740 16741commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 16742Author: Jamey Sharp <jamey@minilop.net> 16743Date: Thu Mar 2 15:58:52 2006 -0800 16744 16745 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 16746 16747commit fb590c15a740264ee867d15a2547072e43b21eed 16748Author: Jamey Sharp <jamey@minilop.net> 16749Date: Thu Mar 2 12:06:04 2006 -0800 16750 16751 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 16752 16753commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 16754Author: Jamey Sharp <jamey@minilop.net> 16755Date: Mon Feb 27 11:51:47 2006 -0800 16756 16757 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 16758 16759commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 16760Author: Jamey Sharp <jamey@minilop.net> 16761Date: Sun Feb 26 15:46:01 2006 -0800 16762 16763 Update for new XCBSendRequest API. 16764 16765commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 16766Author: Jamey Sharp <jamey@minilop.net> 16767Date: Thu Feb 23 18:12:31 2006 -0800 16768 16769 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 16770 16771commit ec30a27341b97620b07dd886f98d1d7664a67685 16772Author: Jamey Sharp <jamey@minilop.net> 16773Date: Thu Feb 23 18:01:46 2006 -0800 16774 16775 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 16776 16777commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 16778Author: Jamey Sharp <jamey@minilop.net> 16779Date: Thu Feb 23 11:46:09 2006 -0800 16780 16781 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. 16782 16783commit 41c0121a8718b530feaf7fe315b673d9b8defce2 16784Author: Jamey Sharp <jamey@minilop.net> 16785Date: Tue Feb 21 21:25:41 2006 -0800 16786 16787 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 16788 16789commit 67d06e0fe468dca22847aa14d3f917128f89f9cf 16790Author: Jamey Sharp <jamey@minilop.net> 16791Date: Tue Feb 21 15:33:05 2006 -0800 16792 16793 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 16794 16795commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 16796Author: Jeremy C. Reed <reed@reedmedia.net> 16797Date: Tue Feb 21 14:10:22 2006 -0800 16798 16799 Set XTHREADLIB correctly for dragonfly platforms. 16800 16801commit b24834762e975bd319f9ab5c7cf790b2a02a9474 16802Author: Jamey Sharp <jamey@minilop.net> 16803Date: Tue Feb 21 14:03:26 2006 -0800 16804 16805 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 16806 16807commit 99b8defd0d5e6993071e21638128c9de2574b37d 16808Author: Jamey Sharp <jamey@minilop.net> 16809Date: Tue Feb 21 13:04:21 2006 -0800 16810 16811 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 16812 Traditional Xlib worked this way; I dunno why I changed it. 16813 16814commit 9b01e7849775749182052fe324df9d8e6ceeee99 16815Author: Jamey Sharp <jamey@minilop.net> 16816Date: Tue Feb 21 12:51:44 2006 -0800 16817 16818 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 16819 16820commit 7ce7ac882de128955751a5307889db9d712d8a72 16821Author: Jamey Sharp <jamey@minilop.net> 16822Date: Tue Feb 21 12:44:30 2006 -0800 16823 16824 Quit using a triple-pointer. Almost as if I were a sensible person. 16825 16826commit 35a858be218cdbfa4593d44a67663d5c25297016 16827Author: Jamey Sharp <jamey@minilop.net> 16828Date: Tue Feb 21 12:21:01 2006 -0800 16829 16830 Remove the XCL_PAD macro. 16831 16832commit e741b70ed2542c5463c57dac44bc37328616733b 16833Author: Jamey Sharp <jamey@minilop.net> 16834Date: Sun Feb 19 12:29:27 2006 -0800 16835 16836 Update .gitignores for *.o and nls/locale.dir*. 16837 16838commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 16839Author: Jamey Sharp <jamey@minilop.net> 16840Date: Sun Feb 19 12:28:41 2006 -0800 16841 16842 Move .cvsignore to .gitignore. 16843 16844commit c7cda56eebaf6ab11403363be14d4948d7d8be38 16845Author: Jamey Sharp <jamey@minilop.net> 16846Date: Sun Feb 19 11:49:15 2006 -0800 16847 16848 Land XCB support on X.org HEAD. 16849 16850commit 881467b3032261791ef5ec61b3879bb68d0a3d8c 16851Author: Jamey Sharp <jamey@minilop.net> 16852Date: Sun Feb 19 02:14:11 2006 +0000 16853 16854 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 16855 16856commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 16857Author: Jamey Sharp <jamey@minilop.net> 16858Date: Tue Feb 14 19:37:36 2006 +0000 16859 16860 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. 16861 16862commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 16863Author: Alan Coopersmith <alan.coopersmith@sun.com> 16864Date: Sun Feb 12 18:19:17 2006 +0000 16865 16866 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 16867 16868commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 16869Author: Alan Coopersmith <alan.coopersmith@sun.com> 16870Date: Fri Feb 3 23:34:43 2006 +0000 16871 16872 Fix typo in .TH line 16873 16874commit b091c217f3c3f60dde78b09a95c150df6c83d7ba 16875Author: Kevin E Martin <kem@kem.org> 16876Date: Thu Dec 15 00:24:28 2005 +0000 16877 16878 Update package version number for final X11R7 release candidate. 16879 16880commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 16881Author: Kevin E Martin <kem@kem.org> 16882Date: Tue Dec 6 22:48:41 2005 +0000 16883 16884 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 16885 16886commit b5c495854d5270e64e6d588388ffa906bfcaac22 16887Author: Kevin E Martin <kem@kem.org> 16888Date: Sat Dec 3 05:49:42 2005 +0000 16889 16890 Update package version number for X11R7 RC3 release. 16891 16892commit 9e96dbc343c7f27ff47607acd75378ab23903e2a 16893Author: Kevin E Martin <kem@kem.org> 16894Date: Sat Dec 3 04:41:47 2005 +0000 16895 16896 Add check and cflags for malloc(0) returning NULL. 16897 16898commit 649c37b47909620ccafde3e983de8321cddd74ce 16899Author: Alan Coopersmith <alan.coopersmith@sun.com> 16900Date: Mon Nov 28 22:03:04 2005 +0000 16901 16902 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) 16903 16904commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 16905Author: Alan Coopersmith <alan.coopersmith@sun.com> 16906Date: Wed Nov 23 22:33:06 2005 +0000 16907 16908 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 16909 16910commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 16911Author: Eric Anholt <anholt@freebsd.org> 16912Date: Sun Nov 20 23:17:39 2005 +0000 16913 16914 Add/improve libs .cvsignores. 16915 16916commit fa1f4a08112bfa14d3758f4702733dd3892966c3 16917Author: Kevin E Martin <kem@kem.org> 16918Date: Sat Nov 19 07:15:39 2005 +0000 16919 16920 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 16921 16922commit 7012f9b56c594cf40855ba0dbf93af1263417a8c 16923Author: Kevin E Martin <kem@kem.org> 16924Date: Mon Nov 14 21:51:07 2005 +0000 16925 16926 Fix xf86bigfont pkgconfig dep typo. 16927 16928commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 16929Author: Kevin E Martin <kem@kem.org> 16930Date: Wed Nov 9 21:19:12 2005 +0000 16931 16932 Update package version number for X11R7 RC2 release. 16933 16934commit 6bb0c3796b6e1beddc376a896e865704886e1462 16935Author: Kean Johnson <kean@armory.com> 16936Date: Tue Nov 8 06:33:25 2005 +0000 16937 16938 See ChangeLog entry 2005-11-07 for details. 16939 16940commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 16941Author: Kevin E Martin <kem@kem.org> 16942Date: Tue Nov 1 15:11:50 2005 +0000 16943 16944 Update pkgcheck dependencies to work with separate build roots. 16945 16946commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 16947Author: Donnie Berkholz <spyderous@gentoo.org> 16948Date: Fri Oct 28 10:44:03 2005 +0000 16949 16950 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 16951 16952commit be627a39fe373e2e81fdc263780e70a271d9e0c5 16953Author: Donnie Berkholz <spyderous@gentoo.org> 16954Date: Fri Oct 28 08:28:08 2005 +0000 16955 16956 Add dependency on inputproto for XI.h. 16957 16958commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 16959Author: Adam Jackson <ajax@nwnk.net> 16960Date: Fri Oct 21 18:44:24 2005 +0000 16961 16962 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 16963 16964commit 1171fa9dc77413f0e90933a565ec07068052afb4 16965Author: Kevin E Martin <kem@kem.org> 16966Date: Wed Oct 19 02:48:08 2005 +0000 16967 16968 Update package version number for RC1 release. 16969 16970commit 2a2d905706308b9d5a1c16af1067fb390f43850c 16971Author: Alan Coopersmith <alan.coopersmith@sun.com> 16972Date: Tue Oct 18 00:00:08 2005 +0000 16973 16974 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 16975 16976commit 66d35b6971fb26762392a2a8e2c47db46c11116a 16977Author: Alan Coopersmith <alan.coopersmith@sun.com> 16978Date: Mon Oct 17 21:13:15 2005 +0000 16979 16980 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 16981 16982commit a316995a17c084e98ef1b7f25d287c2c08b6d749 16983Author: Donnie Berkholz <spyderous@gentoo.org> 16984Date: Sun Oct 16 03:03:35 2005 +0000 16985 16986 Change '==' to portable '='. 16987 16988commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 16989Author: Alan Coopersmith <alan.coopersmith@sun.com> 16990Date: Wed Oct 12 00:04:50 2005 +0000 16991 16992 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 16993 16994commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 16995Author: Eric Anholt <anholt@freebsd.org> 16996Date: Tue Oct 11 02:18:36 2005 +0000 16997 16998 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 16999 17000commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 17001Author: Alan Coopersmith <alan.coopersmith@sun.com> 17002Date: Sun Oct 9 22:28:39 2005 +0000 17003 17004 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 17005 17006commit 91ed79852e790049ab54e68f288afb3c953194c9 17007Author: Kevin E Martin <kem@kem.org> 17008Date: Fri Oct 7 15:00:00 2005 +0000 17009 17010 Clean up generated files 17011 Add missing dist tarball files 17012 17013commit 440399b470c97b159a530602fff11c315aca8d97 17014Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17015Date: Wed Oct 5 18:27:10 2005 +0000 17016 17017 Add el_GR.UTF-8 compose file 17018 17019commit 010f0647e25ac617d0f92c8d2b8dda684da545db 17020Author: Daniel Stone <daniel@fooishbar.org> 17021Date: Fri Sep 30 07:52:46 2005 +0000 17022 17023 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 17024 17025commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 17026Author: Daniel Stone <daniel@fooishbar.org> 17027Date: Fri Sep 30 07:47:55 2005 +0000 17028 17029 Bug #1640: Kinyarwanda locale support. (Steve Murphy) 17030 17031commit 4ae0decabe0960870df0ec165f495166c10a053c 17032Author: Daniel Stone <daniel@fooishbar.org> 17033Date: Fri Sep 30 07:40:03 2005 +0000 17034 17035 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 17036 17037commit 3f79eb4c99844f618f1889741d1631c2ffe5385f 17038Author: Daniel Stone <daniel@fooishbar.org> 17039Date: Fri Sep 30 07:11:19 2005 +0000 17040 17041 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. 17042 17043commit d1237d1483ff972c76a0ac344ec97d5280db0007 17044Author: Alan Coopersmith <alan.coopersmith@sun.com> 17045Date: Thu Sep 29 21:27:12 2005 +0000 17046 17047 Add Xcms.txt to lib/X11 17048 17049commit 4a86f299693f7376cbe98175f0b0c44d691802b3 17050Author: Alan Coopersmith <alan.coopersmith@sun.com> 17051Date: Sat Sep 24 20:11:06 2005 +0000 17052 17053 Add XQueryExtension.man 17054 17055commit a057a66e2041d45198a13a4ece7c07068f76f21b 17056Author: Alan Coopersmith <alan.coopersmith@sun.com> 17057Date: Sat Sep 24 00:16:32 2005 +0000 17058 17059 Add XTHREAD_CFLAGS for platforms that need special defines like 17060 -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 17061 17062commit 3e920a65a7c376ad63eae2240fd06904d25d18bf 17063Author: Alan Coopersmith <alan.coopersmith@sun.com> 17064Date: Fri Sep 2 23:00:30 2005 +0000 17065 17066 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 17067 17068commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 17069Author: Kristian Høgsberg <krh@redhat.com> 17070Date: Thu Sep 1 19:24:13 2005 +0000 17071 17072 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 17073 17074commit 7afa64325183b78d2d6a4862821f8b3e9866105c 17075Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17076Date: Sun Aug 28 19:45:48 2005 +0000 17077 17078 OpenBSD needs -lpthread for threaded applications too. 17079 17080commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 17081Author: Daniel Stone <daniel@fooishbar.org> 17082Date: Fri Aug 26 05:16:46 2005 +0000 17083 17084 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 17085 17086commit 07066da0902df91c71f2adb81d1a17ec29165553 17087Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17088Date: Sun Aug 21 15:45:04 2005 +0000 17089 17090 update 17091 17092commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 17093Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17094Date: Sun Aug 21 15:38:39 2005 +0000 17095 17096 Threads support for BSD systems: 17097 - need to check for gewtpwuid_r to define mtsafeapi 17098 - build UIThrstubs if needed. 17099 17100commit 60217fdb918bafb2082519efe5cba3b13ad3082a 17101Author: Adam Jackson <ajax@nwnk.net> 17102Date: Wed Aug 17 19:46:08 2005 +0000 17103 17104 Add xthreadlib variable to x11.pc. Bump to 0.99.1. 17105 17106commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 17107Author: Alan Coopersmith <alan.coopersmith@sun.com> 17108Date: Wed Aug 17 01:27:08 2005 +0000 17109 17110 Fix more broken multi-line .ds macros. Remove extraneous ;'s . 17111 17112commit 1909786f4a7d686369edcfc05a938df115fab37c 17113Author: Alan Coopersmith <alan.coopersmith@sun.com> 17114Date: Tue Aug 16 19:23:15 2005 +0000 17115 17116 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) 17117 17118commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 17119Author: Alan Coopersmith <alan.coopersmith@sun.com> 17120Date: Mon Aug 15 19:53:37 2005 +0000 17121 17122 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 17123 17124commit 5bb43de17de8e71d967488a713bf2b3448533444 17125Author: Alan Coopersmith <alan.coopersmith@sun.com> 17126Date: Sat Aug 6 18:59:49 2005 +0000 17127 17128 Typo fix in output message 17129 17130commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 17131Author: Alan Coopersmith <alan.coopersmith@sun.com> 17132Date: Thu Aug 4 02:55:49 2005 +0000 17133 17134 //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) 17135 17136commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 17137Author: Alan Coopersmith <alan.coopersmith@sun.com> 17138Date: Thu Aug 4 02:51:30 2005 +0000 17139 17140 //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) 17141 17142commit 34b454df192f4563499c453ccdb8c079f4a20cbe 17143Author: Alan Coopersmith <alan.coopersmith@sun.com> 17144Date: Sat Jul 30 20:30:46 2005 +0000 17145 17146 Include config.h so Xtrans knows which transport types to build code for 17147 17148commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 17149Author: Alan Coopersmith <alan.coopersmith@sun.com> 17150Date: Sat Jul 30 19:15:16 2005 +0000 17151 17152 Add -D flags to clear various warnings (Stefan Dirsch) 17153 17154commit e7fef67b4531faddd805d8f2157903006d3117ed 17155Author: Kevin E Martin <kem@kem.org> 17156Date: Fri Jul 29 21:22:50 2005 +0000 17157 17158 Various changes preparing packages for RC0: 17159 - Verify and update package version numbers as needed 17160 - Implement versioning scheme 17161 - Change bug address to point to bugzilla bug entry form 17162 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 17163 - Fix makedepend to use pkgconfig and pass distcheck 17164 - Update build script to build macros first 17165 - Update modular Xorg version 17166 17167commit 2ebb00244928237088e68325b1032b3550455ce9 17168Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17169Date: Sat Jul 23 20:19:31 2005 +0000 17170 17171 remove orphan TAB at begin of line 17172 17173commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 17174Author: Kevin E Martin <kem@kem.org> 17175Date: Sat Jul 23 18:09:39 2005 +0000 17176 17177 Modify modular libs to use Xregion.h instead of region.h 17178 17179commit 6d635a88d91647b1b63611c3591f74916f88cd1c 17180Author: Kevin E Martin <kem@kem.org> 17181Date: Sat Jul 23 18:06:16 2005 +0000 17182 17183 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 17184 17185commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 17186Author: Daniel Stone <daniel@fooishbar.org> 17187Date: Sat Jul 16 06:25:35 2005 +0000 17188 17189 Set soversion to 6.2.0. 17190 17191commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 17192Author: Keith Packard <keithp@keithp.com> 17193Date: Fri Jul 15 04:27:32 2005 +0000 17194 17195 Add missing Makefile.am to lib/X11/modules 17196 17197commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 17198Author: Keith Packard <keithp@keithp.com> 17199Date: Fri Jul 15 04:08:51 2005 +0000 17200 17201 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 17202 Link i18n modules against xlib to resolve Xlib symbols used by them. 17203 17204commit 45f40126a73295345bb5eb187b1167874842ab6e 17205Author: Alexander Gottwald <ago@freedesktop.org> 17206Date: Thu Jul 14 19:50:00 2005 +0000 17207 17208 Add $(top_srcdir)/src to include list 17209 17210commit 0aed7d91f5928d09d541617aad03709b5090658d 17211Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17212Date: Thu Jul 14 17:04:49 2005 +0000 17213 17214 Build fix for non-GNU make. 17215 17216commit b79422ccb02ab44548d1038956ab0cd4e2638645 17217Author: Adam Jackson <ajax@nwnk.net> 17218Date: Thu Jul 14 15:12:44 2005 +0000 17219 17220 typo fixes (Matthieu Herrb) 17221 17222commit 419304cde2fda19457c667870edefc0b227651b3 17223Author: Alan Coopersmith <alan.coopersmith@sun.com> 17224Date: Wed Jul 13 02:41:36 2005 +0000 17225 17226 Add missing backslashes to xlocale_la_SOURCES 17227 17228commit d14cc5c8964c4539b57c6cb51ef653292e410b79 17229Author: Keith Packard <keithp@keithp.com> 17230Date: Mon Jul 11 20:32:55 2005 +0000 17231 17232 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 17233 17234commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 17235Author: Lars Knoll <lars@trolltech.com> 17236Date: Mon Jul 11 15:24:32 2005 +0000 17237 17238 compile 17239 17240commit de9784eb1bde46efc316da279e3da27c6cc288a7 17241Author: Keith Packard <keithp@keithp.com> 17242Date: Mon Jul 11 09:26:40 2005 +0000 17243 17244 Ignore built man page files 17245 17246commit 0c258c36d1523113790c599b16d2947d7aa6469a 17247Author: Keith Packard <keithp@keithp.com> 17248Date: Mon Jul 11 09:18:31 2005 +0000 17249 17250 Minor changes to help modular Xlib build i18n modules 17251 17252commit 6e752ea1203b786423e40f43340bce15ca3de0f0 17253Author: Keith Packard <keithp@keithp.com> 17254Date: Mon Jul 11 08:29:18 2005 +0000 17255 17256 Enable loadable i18n modules, making them configurable on the configure command line. 17257 Clean up conditionals for XKB, XCMS, XLOCALEDIR 17258 Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 17259 Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 17260 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. 17261 Display message at end of configure script with selected options. 17262 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. 17263 17264commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 17265Author: Daniel Stone <daniel@fooishbar.org> 17266Date: Sun Jul 10 22:37:33 2005 +0000 17267 17268 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 17269 17270commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 17271Author: Alan Coopersmith <alan.coopersmith@sun.com> 17272Date: Sat Jul 9 20:06:04 2005 +0000 17273 17274 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 17275 17276commit 3939ac4410446b46071c9d714f4270c12bf904fe 17277Author: Alan Coopersmith <alan.coopersmith@sun.com> 17278Date: Sat Jul 9 18:44:14 2005 +0000 17279 17280 - 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 17281 - Don't assume $(CPP) can take gcc-only -traditional flag 17282 - CPP process man pages as is done in the monolithic tree 17283 17284commit 19ba9d0df86c688319377467254b9ea9c4b0eccc 17285Author: Keith Packard <keithp@keithp.com> 17286Date: Sat Jul 9 06:01:49 2005 +0000 17287 17288 Clean up .cvsignore files 17289 17290commit f4bba6fa9b9ce637be7662754750054567e9250a 17291Author: Adam Jackson <ajax@nwnk.net> 17292Date: Sat Jul 9 02:53:29 2005 +0000 17293 17294 typo fix. i suck. 17295 17296commit 3305da61a61695e24c1ea11d3f59dddb52873d47 17297Author: Adam Jackson <ajax@nwnk.net> 17298Date: Sat Jul 9 02:41:18 2005 +0000 17299 17300 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 17301 17302commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 17303Author: Keith Packard <keithp@keithp.com> 17304Date: Fri Jul 8 07:11:56 2005 +0000 17305 17306 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 17307 17308commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 17309Author: Keith Packard <keithp@keithp.com> 17310Date: Fri Jul 8 06:57:06 2005 +0000 17311 17312 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. 17313 Add a bunch of .cvsignore files 17314 17315commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 17316Author: Chris Less <clee@c133.org> 17317Date: Mon Jul 4 23:01:48 2005 +0000 17318 17319 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 17320 17321commit 55328bb6caabd37885cd19d7a5821ed425daf321 17322Author: Eric Anholt <anholt@freebsd.org> 17323Date: Sun Jul 3 10:17:38 2005 +0000 17324 17325 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 17326 17327commit 726538ba21b631bfb0b8094a5546acdaf57379ff 17328Author: Daniel Stone <daniel@fooishbar.org> 17329Date: Sun Jul 3 07:37:33 2005 +0000 17330 17331 Fix more include paths; add dix-config.h to XKB code. 17332 17333commit 8c7677138e70e14eca0255f2168583f0ecc21994 17334Author: Daniel Stone <daniel@fooishbar.org> 17335Date: Sun Jul 3 07:00:55 2005 +0000 17336 17337 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 17338 Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 17339 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>. 17340 17341commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 17342Author: Daniel Stone <daniel@fooishbar.org> 17343Date: Fri Jul 1 22:13:35 2005 +0000 17344 17345 Fix objdir != srcdir, as well as make distcheck. 17346 Don't attempt to create Compose.pre files; formatting fixes. 17347 Added if not already present. 17348 17349commit c162d60ad8f124563f94a2a266de59373936266c 17350Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17351Date: Wed Jun 22 22:46:31 2005 +0000 17352 17353 Apply these patches from Theo van Klaveren: 17354 lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 17355 to make the libraries distcheck. 17356 17357commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 17358Author: Alan Coopersmith <alan.coopersmith@sun.com> 17359Date: Sat Jun 18 07:48:43 2005 +0000 17360 17361 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 17362 17363commit 12afc57b7d455781eee305e9ed6a899ceec8729e 17364Author: Daniel Stone <daniel@fooishbar.org> 17365Date: Wed Jun 15 16:50:47 2005 +0000 17366 17367 Typo fix to locale/error/keysym location declarations. 17368 17369commit 9a895777e30762f61b98d25be3b5d8b1169baa17 17370Author: Daniel Stone <daniel@fooishbar.org> 17371Date: Wed Jun 15 13:37:43 2005 +0000 17372 17373 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 17374 17375commit add49285663684875ab7a5c58ec7a2cf8b775f67 17376Author: Daniel Stone <daniel@fooishbar.org> 17377Date: Wed Jun 15 13:32:35 2005 +0000 17378 17379 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 17380 Move ImUtil.h from src/ to include/X11/. 17381 17382commit 845dfc6b42b950890866ee4df27761e086f50dca 17383Author: Daniel Stone <daniel@fooishbar.org> 17384Date: Wed Jun 15 13:27:48 2005 +0000 17385 17386 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 17387 17388commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 17389Author: Daniel Stone <daniel@fooishbar.org> 17390Date: Fri Jun 10 14:11:36 2005 +0000 17391 17392 Remove pointless include of Xlib.h. 17393 Fix #include path to bigreqstr.h. 17394 17395commit 1a0de49da1274882bab05b0f7240936b37955e5c 17396Author: Alexander Gottwald <ago@freedesktop.org> 17397Date: Thu Jun 9 21:30:15 2005 +0000 17398 17399 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 17400 17401commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 17402Author: Alexander Gottwald <ago@freedesktop.org> 17403Date: Thu Jun 9 15:55:33 2005 +0000 17404 17405 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 17406 17407commit fd5f58e0baf692e34b9b622286f18762cc2500d3 17408Author: Alexander Gottwald <ago@freedesktop.org> 17409Date: Thu Jun 9 15:52:02 2005 +0000 17410 17411 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 17412 Copy Xtrans.h to exports/include/X11/Xtrans only 17413 17414commit 44538f9940f969d46c0e5e4b201c684cde2ba611 17415Author: Alan Coopersmith <alan.coopersmith@sun.com> 17416Date: Sun Jun 5 03:29:33 2005 +0000 17417 17418 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 17419 17420commit 588e30e9ec65fa6205a34be650b79d5e2243edec 17421Author: Alan Coopersmith <alan.coopersmith@sun.com> 17422Date: Sat Jun 4 22:53:21 2005 +0000 17423 17424 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 17425 17426commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 17427Author: Alan Coopersmith <alan.coopersmith@sun.com> 17428Date: Sat Jun 4 21:20:20 2005 +0000 17429 17430 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) 17431 17432commit ca93c761559ae464189c7ea7cf11c6a6679f2431 17433Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17434Date: Sat May 28 01:02:32 2005 +0000 17435 17436 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 17437 17438commit 09ebb349359e3dd9131fa2fa8b07559faa173654 17439Author: Alan Coopersmith <alan.coopersmith@sun.com> 17440Date: Sun May 22 19:05:11 2005 +0000 17441 17442 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 17443 17444commit 761219b1ef9befc350c8a35b6f96d047e5f008cc 17445Author: Alan Coopersmith <alan.coopersmith@sun.com> 17446Date: Sat May 21 23:07:48 2005 +0000 17447 17448 xtrans: 17449 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 17450 ICE: 17451 Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 17452 X11: 17453 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. 17454 17455commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 17456Author: Alan Coopersmith <alan.coopersmith@sun.com> 17457Date: Sat May 21 04:26:12 2005 +0000 17458 17459 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) 17460 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). 17461 17462commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 17463Author: Adam Jackson <ajax@nwnk.net> 17464Date: Thu May 19 00:22:32 2005 +0000 17465 17466 revert last change, didn't do right thing at all, sorry for the noise 17467 17468commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 17469Author: Adam Jackson <ajax@nwnk.net> 17470Date: Thu May 19 00:10:07 2005 +0000 17471 17472 Require automake 1.7 in AM_INIT_AUTOMAKE 17473 17474commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 17475Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17476Date: Tue May 17 22:32:09 2005 +0000 17477 17478 - Check for xproto as its CFLAGS are needed in the .pc file 17479 17480commit 46e8d8a65430dd87c10b066b5cff99a689c22241 17481Author: Egbert Eich <eich-at-freedesktop-dot-org> 17482Date: Tue May 17 08:10:10 2005 +0000 17483 17484 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). 17485 17486commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 17487Author: <ssp@aware-of-vacuity.boston.redhat.com> 17488Date: Mon May 16 22:35:27 2005 +0000 17489 17490 Make Xdmcp unconditionally required, require various protocol modules. 17491 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 17492 Check for kbproto if using XKB. 17493 Require xextproto rather than xextensions 17494 Remove the entries from the xlibs tree, as they are not relevant here. 17495 17496commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 17497Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17498Date: Mon May 16 21:48:36 2005 +0000 17499 17500 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 17501 Check for kbproto if using XKB. 17502 17503commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 17504Author: <ssp@aware-of-vacuity.boston.redhat.com> 17505Date: Mon May 16 21:27:35 2005 +0000 17506 17507 Require xextproto rather than xextensions 17508 Remove the entries from the xlibs tree, as they are not relevant here. 17509 17510commit 7eee605e3aeed549d1053325a03027c5e8cbf71b 17511Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17512Date: Fri May 13 22:53:36 2005 +0000 17513 17514 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 17515 - For Xcomposite and Xdamage, don't link the build system out of the xc tree 17516 - Link the public X11 headers into their own directory 17517 - Add links to XKeysymDB and XErrorDB 17518 - Add links to all the Xlib man pages 17519 - Add links to the lcUniConv subdirectory 17520 - Conditionally include config.h in Xlib source 17521 17522commit 6769ccda88caf27d1441d335ef2b318a047a612b 17523Author: Alan Coopersmith <alan.coopersmith@sun.com> 17524Date: Mon Mar 21 04:58:21 2005 +0000 17525 17526 xc/lib/X11/ErrDes.c 17527 //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> 17528 17529commit 3b9e8ece93b916c55a82df53e85f097418edf471 17530Author: Roland Mainz <roland.mainz@nrubsig.org> 17531Date: Sat Mar 19 22:04:55 2005 +0000 17532 17533 xc/nls/Compose/iso8859-2 17534 xc/nls/Compose/iso8859-3 17535 xc/nls/Compose/iso8859-9 17536 //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>. 17537 17538commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 17539Author: Alan Coopersmith <alan.coopersmith@sun.com> 17540Date: Tue Mar 8 02:53:36 2005 +0000 17541 17542 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>. 17543 17544commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 17545Author: Roland Mainz <roland.mainz@nrubsig.org> 17546Date: Tue Feb 1 03:12:28 2005 +0000 17547 17548 xc/nls/Compose/pt_BR.UTF-8 17549 //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>. 17550 17551commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 17552Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 17553Date: Fri Jan 28 18:31:31 2005 +0000 17554 17555 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 17556 17557commit f234188a4c1e6b655aef0e3957ccad20d4c5847f 17558Author: Roland Mainz <roland.mainz@nrubsig.org> 17559Date: Wed Jan 19 01:53:55 2005 +0000 17560 17561 xc/nls/compose.dir 17562 xc/nls/locale.dir 17563 xc/nls/Compose/Imakefile 17564 xc/nls/Compose/pt_BR.UTF-8 17565 xc/nls/XI18N_OBJS/Imakefile 17566 xc/nls/XI18N_OBJS/pt_BR.UTF-8 17567 xc/nls/XLC_LOCALE/Imakefile 17568 xc/nls/XLC_LOCALE/pt_BR.UTF-8 17569 //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. 17570 17571commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 17572Author: Egbert Eich <eich-at-freedesktop-dot-org> 17573Date: Fri Jan 14 18:03:09 2005 +0000 17574 17575 Made some security enhancements: 17576 - no writing past end of buffer caused by bogus locale. 17577 - explicitely add a \0 character at end of string. (Bugzilla #2262) 17578 17579commit 5557d47fcf22a6f3adf327691158f2270e3d5094 17580Author: Roland Mainz <roland.mainz@nrubsig.org> 17581Date: Fri Jan 14 04:59:05 2005 +0000 17582 17583 xc/nls/compose.dir 17584 xc/nls/locale.alias 17585 xc/nls/locale.dir 17586 //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>. 17587 17588commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 17589Author: Egbert Eich <eich-at-freedesktop-dot-org> 17590Date: Tue Jan 11 17:37:57 2005 +0000 17591 17592 '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. 17593 17594commit 642cd269f94a234aa470a1d43385bd42625d89a1 17595Author: Egbert Eich <eich-at-freedesktop-dot-org> 17596Date: Tue Dec 14 08:59:20 2004 +0000 17597 17598 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 17599 Fixed typo. 17600 Added comment to a changed that's been committed with one of the previous commits. 17601 17602commit a07ccae36e629741d2e48de7730114d30a975a41 17603Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17604Date: Sun Dec 12 08:42:50 2004 +0000 17605 17606 Fix missing XChangeProperty() prototype missing in synopsis section. 17607 17608commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 17609Author: Alexander Gottwald <ago at freedesktop dot org> 17610Date: Wed Dec 8 13:42:01 2004 +0000 17611 17612 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 17613 17614commit d5e7ab194103e22fd6c5094aaa107d90210bb600 17615Author: Jim Gettys <jg@freedesktop.org> 17616Date: Thu Dec 2 16:18:16 2004 +0000 17617 17618 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 17619 17620commit 03940d7330cb1bbf93d49c650aefb19de457da7c 17621Author: Alexander Gottwald <ago at freedesktop dot org> 17622Date: Wed Dec 1 13:06:55 2004 +0000 17623 17624 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 17625 17626commit 11a03ab908bfcfab8a3492684e8e9320e492d552 17627Author: Alexander Gottwald <ago at freedesktop dot org> 17628Date: Wed Dec 1 12:42:17 2004 +0000 17629 17630 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 17631 17632commit f3d83ee153f42e8899b844377e6b842d93411e62 17633Author: Alexander Gottwald <ago@freedesktop.org> 17634Date: Mon Nov 15 15:06:54 2004 +0000 17635 17636 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 17637 17638commit b798ea11911ac58a8e6e7d15a2a643b023859749 17639Author: Alexander Gottwald <ago at freedesktop dot org> 17640Date: Mon Nov 15 13:29:56 2004 +0000 17641 17642 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 17643 17644commit 436108cd6c84053698e5ca629096f59b34f50c2a 17645Author: Kristian Høgsberg <krh@redhat.com> 17646Date: Thu Nov 11 15:37:01 2004 +0000 17647 17648 Fix #1818 17649 17650commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 17651Author: Roland Mainz <roland.mainz@nrubsig.org> 17652Date: Tue Nov 9 00:56:56 2004 +0000 17653 17654 xc/nls/compose.dir 17655 xc/nls/locale.alias 17656 xc/nls/locale.dir 17657 //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>. 17658 17659commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 17660Author: Roland Mainz <roland.mainz@nrubsig.org> 17661Date: Fri Nov 5 00:58:49 2004 +0000 17662 17663 xc/nls/compose.dir 17664 xc/nls/locale.alias 17665 xc/nls/locale.dir 17666 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>. 17667 17668commit af7467ec734321f127b957921cce7792902b6794 17669Author: Egbert Eich <eich-at-freedesktop-dot-org> 17670Date: Mon Oct 18 17:29:03 2004 +0000 17671 17672 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 17673 17674commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 17675Author: Egbert Eich <eich-at-freedesktop-dot-xorg> 17676Date: Mon Oct 18 14:21:45 2004 +0000 17677 17678 Made handling of DevelDrivers for x86-64 more conformant to other platforms. 17679 Compress all font encodings (Stefan Dirsch). 17680 Fixed warnings. 17681 Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 17682 Added another compose key combination for the Euro symbol (Stefan Dirsch). 17683 Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 17684 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. 17685 Added explanation for DESTDIR to install to a different directory than /. 17686 Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 17687 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. 17688 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(). 17689 Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 17690 Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 17691 Changed comment to mention xorg. 17692 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). 17693 Added 'pic' to the man page rendering command pipeline (Werner Fink). 17694 Added missing return value (Stefan Dirsch, Roland Mainz) 17695 17696commit 1ba103c3cad2329db3a31f88d7798b913affc570 17697Author: Eric Anholt <anholt@freebsd.org> 17698Date: Wed Oct 13 07:38:00 2004 +0000 17699 17700 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>) 17701 17702commit d80237db627bf71ad5615ff4ba05e6ab436aa740 17703Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17704Date: Fri Oct 8 22:57:56 2004 +0000 17705 17706 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 17707 Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 17708 17709commit d1f76d17ecf418396627b1a58319f2b9b255548a 17710Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 17711Date: Sun Sep 26 22:54:57 2004 +0000 17712 17713 bug fix for previous patch 17714 17715commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 17716Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 17717Date: Sun Sep 26 20:46:17 2004 +0000 17718 17719 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 17720 17721commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 17722Author: Egbert Eich <eich@freedesktop.org> 17723Date: Wed Sep 15 09:05:22 2004 +0000 17724 17725 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). 17726 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). 17727 17728commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 17729Author: Egbert Eich <eich@freedesktop.org> 17730Date: Tue Aug 31 11:37:03 2004 +0000 17731 17732 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). 17733 17734commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 17735Author: Kevin E Martin <kem@kem.org> 17736Date: Thu Aug 19 06:48:06 2004 +0000 17737 17738 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 17739 17740commit d558a53a6f57eecfcaadce5141fe3a08860defcb 17741Author: Keith Packard <keithp@keithp.com> 17742Date: Sat Aug 14 07:12:36 2004 +0000 17743 17744 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 17745 Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 17746 Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 17747 Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 17748 17749commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 17750Author: Alexander Gottwald <ago@freedesktop.org> 17751Date: Fri Aug 13 16:28:19 2004 +0000 17752 17753 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 17754 Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 17755 17756commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 17757Author: Adam Jackson <ajax@nwnk.net> 17758Date: Wed Aug 11 05:25:13 2004 +0000 17759 17760 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 17761 17762commit 92487437173f600f208d825f65756d3ad14a4f7e 17763Author: Kevin E Martin <kem@kem.org> 17764Date: Mon Aug 9 22:37:22 2004 +0000 17765 17766 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 17767 Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 17768 Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 17769 HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 17770 Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 17771 Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 17772 Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 17773 Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 17774 Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 17775 Fix several render problems: 17776 - MMIO mode support 17777 - Hang on IGP chips 17778 - VT switching hang 17779 - 3D render corruption (Bug #922, Hui Yu). 17780 17781commit 55c2ee568e7d3903258286a13bdf96ce5348ffda 17782Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17783Date: Tue Jul 27 06:06:05 2004 +0000 17784 17785 - remove remaining AMOEBA references. 17786 - remove unused file. 17787 17788commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 17789Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17790Date: Tue Jul 20 17:48:09 2004 +0000 17791 17792 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 17793 Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 17794 Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 17795 Use /dev/urandom on Linux.(#761). 17796 17797commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 17798Author: Eric Anholt <anholt@freebsd.org> 17799Date: Fri May 28 23:26:44 2004 +0000 17800 17801 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 17802 17803commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 17804Author: Egbert Eich <eich@pdx.freedesktop.org> 17805Date: Mon May 24 19:02:11 2004 +0000 17806 17807 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. 17808 17809commit 720702da29769d80ad1254d92edbad5b30f8a8da 17810Author: Alan Coopersmith <alan.coopersmith@sun.com> 17811Date: Sat May 22 03:47:42 2004 +0000 17812 17813 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 17814 17815commit 3aed873292424b497d9a7dcee2975b95bf5ac966 17816Author: Alan Coopersmith <alan.coopersmith@sun.com> 17817Date: Sat Apr 24 23:39:25 2004 +0000 17818 17819 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 17820 Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 17821 xc/config/cf/sunLib.tmpl 17822 xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 17823 17824commit c6349f43193b74a3c09945f3093a871b0157ba47 17825Author: Egbert Eich <eich@freedesktop.org> 17826Date: Fri Apr 23 18:42:09 2004 +0000 17827 17828 Merging XORG-CURRENT into trunk 17829 17830commit c3c4ddc682950a01b80825021f3e2503ab01ea7f 17831Author: Kaleb Keithley <kaleb@freedesktop.org> 17832Date: Tue Nov 25 19:28:07 2003 +0000 17833 17834 Initial revision 17835 17836commit dc4268a7dadc8da0d561757a68461246728613d3 17837Author: Kaleb Keithley <kaleb@freedesktop.org> 17838Date: Fri Nov 14 16:48:47 2003 +0000 17839 17840 Initial revision 17841 17842commit deae12c6b683898f5213992d561a59d4ea889cca 17843Author: Kaleb Keithley <kaleb@freedesktop.org> 17844Date: Fri Nov 14 15:54:30 2003 +0000 17845 17846 R6.6 is the Xorg base-line 17847