ChangeLog revision 9c019ec5
1commit 9949364ea761ab7efa2a9930ec7718f966a740c0 2Author: Matthieu Herrb <matthieu@herrb.eu> 3Date: Thu Jul 30 21:36:22 2020 +0200 4 5 libX11 1.6.10 6 7 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 8 9commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d 10Author: Matthieu Herrb <matthieu@herrb.eu> 11Date: Fri Jul 24 21:09:10 2020 +0200 12 13 Change the data_len parameter of _XimAttributeToValue() to CARD16 14 15 It's coming from a length in the protocol (unsigned) and passed 16 to functions that expect unsigned int parameters (_XCopyToArg() 17 and memcpy()). 18 19 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 20 Reviewed-by: Todd Carson <toc@daybefore.net> 21 22commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 23Author: Todd Carson <tc@daybefore.net> 24Date: Fri Jul 24 20:59:32 2020 +0200 25 26 Zero out buffers in functions 27 28 It looks like uninitialized stack or heap memory can leak 29 out via padding bytes. 30 31 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 32 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 33 34commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60 35Author: Todd Carson <tc@daybefore.net> 36Date: Fri Jul 24 20:22:44 2020 +0200 37 38 Fix more unchecked lengths 39 40 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 41 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 42 43commit 388b303c62aa35a245f1704211a023440ad2c488 44Author: Todd Carson <tc@daybefore.net> 45Date: Fri Jul 24 19:36:51 2020 +0200 46 47 fix integer overflows in _XimAttributeToValue() 48 49 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 50 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 51 52commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e 53Author: Todd Carson <tc@daybefore.net> 54Date: Fri Jul 24 19:33:30 2020 +0200 55 56 Fix signed length values in _XimGetAttributeID() 57 58 The lengths are unsigned according to the specification. Passing 59 negative values can lead to data corruption. 60 61 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 62 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 63 64commit 2b7598221d87049d03e9a95fcb541c37c8728184 65Author: Alan Coopersmith <alan.coopersmith@oracle.com> 66Date: Wed Jul 22 15:19:58 2020 -0700 67 68 Fix spelling/wording issues 69 70 Found by using: 71 codespell --builtin clear,rare,usage,informal,code,names 72 73 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 74 75commit f9e3378ebcfc79ff00591b8617a68e97580a741e 76Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 77Date: Sun Jul 19 22:19:24 2020 +0200 78 79 xlibi18n: Fix converting horizline keysyms to UCS 80 81 U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is 82 unified with scan line 5. 83 84 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 85 86commit 4385a84c4a79c1b60bf12839899a1544198de975 87Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 88Date: Thu Jun 4 02:19:13 2020 +0200 89 90 Braille: Fix default lookup 91 92 cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that 93 translates Braille keysym patterns to Braille Unicode patterns since it 94 rightfully clears brl_committing, but then we do not have it any more to 95 fill brl_committed. 96 97 This change saves the committed pattern so we can return it in the 98 default lookup. 99 100 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 101 102commit fb65b67169105c82c243f265e0f993cf72efdacd 103Author: Marko Myllynen <myllynen@redhat.com> 104Date: Fri Feb 28 13:59:36 2020 +0200 105 106 Update Finnish compose sequences for SFS 5966:2019 standard 107 108 U0219, U0218, U021B, U021A are now part of the standard. 109 110 Fixes #70 which was printed incorrectly in the earlier standard version. 111 112commit 07724ce046348a21cc82a874853b14b9a285df75 113Author: Tristan Miller <psychonaut@nothingisreal.com> 114Date: Wed Sep 25 13:34:01 2019 +0200 115 116 Add acute accent compose sequences for Russian vowels. 117 118 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104 119 120 Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com> 121 122commit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507 123Author: Thomas E. Dickey <dickey@invisible-island.net> 124Date: Sat Apr 25 14:40:54 2020 -0400 125 126 document an ancient performance problem (see Debian #954845). 127 128 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 129 130commit 791c93816ce0520d54925b0b3ccbc29823370041 131Author: Thomas E. Dickey <dickey@invisible-island.net> 132Date: Sat Apr 25 14:22:11 2020 -0400 133 134 update/correct function prototypes in manpages to match headers 135 136 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 137 138commit 844271305a28e87031562dfeb43defbea02960a2 139Author: Thomas E. Dickey <dickey@invisible-island.net> 140Date: Tue Apr 21 20:53:35 2020 -0400 141 142 reduce gcc-normal warnings using casts (no object change) 143 144 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 145 146commit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca 147Author: Thomas E. Dickey <dickey@invisible-island.net> 148Date: Tue Apr 21 18:13:22 2020 -0400 149 150 reduce gcc-normal warnings using casts (no object change) 151 152 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 153 154commit 68c72a7341b114277ab232f2499ee3bd035af8a0 155Author: Adam Jackson <ajax@redhat.com> 156Date: Wed Dec 11 11:53:11 2019 -0500 157 158 Fix XTS regression in XCopyColormapAndFree 159 160 XCopyColormapAndFree/5 threw an assertion: 161 162 520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A) 163 520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap, 164 520|4 5 00014017 1 4|then a BadColor error occurs. 165 520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap. 166 520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument. 167 520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs. 168 520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received 169 220|4 5 2 15:05:53|UNRESOLVED 170 410|4 5 1 15:05:53|IC End 171 510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) 172 173 More specifically: 174 175 lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed. 176 177 This bug was introduced (by following my advice, d'oh) in: 178 179 commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 180 Author: Tapani Pälli <tapani.palli@intel.com> 181 Date: Mon May 13 08:29:49 2019 +0300 182 183 Protect colormap add/removal with display lock 184 185 In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the 186 display lock. The problem is said routine has side effects, including 187 trying to implicitly create a colormap in some cases. Since we don't run 188 the XID handler until SyncHandle() we would see inconsistent internal 189 xlib state, triggering the above assert. 190 191 Fix this by dropping and re-taking the display lock before calling into 192 XCMS. 193 194 Reviewed-by: Tapani Pälli <tapani.palli@intel.com> 195 196commit 7f46a38139f66fda734f3a6c445b84ea89c8f310 197Author: Alex Henrie <alexhenrie24@gmail.com> 198Date: Wed Jan 1 14:54:06 2020 -0700 199 200 Handle small final sigma in XConvertCase 201 202 lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2) 203 uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3) 204 205 This mapping was correct in UCSConvertCase, but the "legacy" mapping 206 must also be correct for Caps Lock to work with the final sigma key. 207 208 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5 209 210 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> 211 212commit a48787d3d155c8a09cead345f5055da30c1db537 213Author: Peter Hutterer <peter.hutterer@who-t.net> 214Date: Wed Dec 11 14:12:27 2019 +1000 215 216 Handle ssharp in XConvertCase() 217 218 lowercase: LATIN SMALL LETTER SHARP S (U+00DF) 219 uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E) 220 221 The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode 222 but was added to the relevant keyboard layouts in xkeyboard-config-2.25 223 (d1411e5e95c) 224 https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144 225 226 Alas, the CapsLock behavior was broken on the finnish layout (maybe others). 227 This was due to xkbcomp using XConvertCase() to determine whether a key 228 requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC. 229 230 Let's make this function return the right lower/upper symbols for the sharp s 231 and hope that the world won't get any worse because of it. 232 233 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110 234 235 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 236 237commit b8766a438461e20b5c6f7a6111b703d4cb71501f 238Author: Raul Fernandes <rgfernandes@gmail.com> 239Date: Wed Oct 9 18:39:26 2019 +0000 240 241 Use memcmp and memcpy 242 243commit db7cca17ad7807e92a928da9d4c68a00f4836da2 244Author: Adam Jackson <ajax@redhat.com> 245Date: Wed Oct 9 13:41:29 2019 -0400 246 247 libX11 1.6.9 248 249 Signed-off-by: Adam Jackson <ajax@redhat.com> 250 251commit f5ba2c632a4c84279bdd48c687271292f5dc4f87 252Author: Dmitry Osipenko <digetx@gmail.com> 253Date: Sat May 18 19:10:32 2019 +0300 254 255 Fix lockup in _XReply() caused by recursive synchronization 256 257 This patch is based on a suggestion made by Uli Schlachter in a comment 258 to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93. 259 260 Explanation of the bug (given by Uli Schlachter as well): 261 262 An error was received and handled. Since there was an error callback set, 263 Xlib unlocks the display, runs the error callback, and then locks the display 264 again. This goes through _XLockDisplay and then calls _XSeqSyncFunction. 265 On this "lock the thing"-path, Xlib notices that sequence numbers are close to 266 wrap-around and tries to send a GetInputFocus request. However, the earlier 267 calls already registered themselves as "we are handling replies/errors, do 268 not interfere!" and so the code here waits for "that other thread" to be done 269 before it continues. Only that there is no other thread, but it is this thread 270 itself and thus a deadlock follows. 271 272 The bug is relatively easy to reproduce on any desktop environment by 273 using actively a touchscreen input that supports multitouch, i.e. practically 274 all mobile devices are affected. 275 276 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93 277 Suggested-by: Uli Schlachter <psychon@znc.in> 278 Tested-by: Dmitry Osipenko <digetx@gmail.com> 279 Reported-by: Dmitry Osipenko <digetx@gmail.com> 280 Signed-off-by: Dmitry Osipenko <digetx@gmail.com> 281 282commit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905 283Author: Adam Jackson <ajax@redhat.com> 284Date: Fri Sep 13 16:44:32 2019 -0400 285 286 xkb: Provide <X11/extensions/XKBgeom.h> ourselves 287 288 This header refers to libX11 types, it doesn't belong in xorgproto and 289 has been moved to legacy in 2019.2. Supply it ourselves. 290 291commit edc7680ed5a03cedb5facf14693823455e12c29c 292Author: Ross Burton <ross.burton@intel.com> 293Date: Tue Aug 6 14:53:43 2019 +0100 294 295 src/util/Makefile: explicitly reset LINK to not use libtool 296 297 Simply looking at libtool redefines LINK globally to use libtool, which when 298 you're trying to cross-compile to Windows can cause complications. 299 300 As in src/util/ we're simply building a small binary for the build host, reset 301 LINK to the automake default so that the traditional compile/link steps occur 302 without libtool. 303 304 Also remove -all-static from LDFLAGS as that is a libtool-specific argument 305 intended to solve this problem. 306 307 Closes: #100 308 Signed-off-by: Ross Burton <ross.burton@intel.com> 309 310commit f111bf3ac091a3a6d1f094172621d9d033c3833c 311Author: Thomas E. Dickey <dickey@invisible-island.net> 312Date: Tue Jul 30 16:53:27 2019 -0400 313 314 improve some formatting 315 316 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 317 318commit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9 319Author: Thomas E. Dickey <dickey@invisible-island.net> 320Date: Tue Jul 30 15:49:09 2019 -0400 321 322 fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/" 323 324 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 325 326commit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98 327Author: Thomas E. Dickey <dickey@invisible-island.net> 328Date: Tue Jul 30 05:07:40 2019 -0400 329 330 split lines at sentence endings 331 332 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 333 334commit 6f2cbcea5d6dcd1df7ef309481cad1663284c061 335Author: Thomas E. Dickey <dickey@invisible-island.net> 336Date: Tue Jul 30 04:52:25 2019 -0400 337 338 trim trailing whitespace from manpages 339 340 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 341 342commit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5 343Author: Thomas E. Dickey <dickey@invisible-island.net> 344Date: Tue Jul 30 04:36:24 2019 -0400 345 346 another fake-quote fix 347 348 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 349 350commit c0f0651f2b4dfa9fef86d1374689220125631993 351Author: Thomas E. Dickey <dickey@invisible-island.net> 352Date: Tue Jul 30 04:34:54 2019 -0400 353 354 the last commit overlooked some fake-quote pairs 355 356 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 357 358commit ef31143c9decda54b3ab2937d3300fcf5b493fd6 359Author: Walter Harms <wharms@bfs.de> 360Date: Mon Jul 29 18:50:19 2019 +0200 361 362 fix ``fake quotes'' in text 363 364 to remove the fake quotes replace them with propper 365 predefined macros \*(lq and \*(rq. this will allow 366 nroff to choose the propper characters when using ps etc. 367 368 Signed-off-by: Walter Harms <wharms@bfs.de> 369 370commit 705027ea9b17d6552388d2067736ab4b0bf9dfb5 371Author: Walter Harms <wharms@bfs.de> 372Date: Mon Jul 29 18:27:12 2019 +0200 373 374 get rid of ``fake quotes'' 375 376 these fake quotes are inside a comment and can be replaced with 377 some double quotes 378 379 Signed-off-by: Walter Harms <wharms@bfs.de> 380 381commit fe46eb287106ad05538e896783a5cf877a4138df 382Author: Walter Harms <wharms@bfs.de> 383Date: Mon Jul 29 17:57:02 2019 +0200 384 385 remove all private macro defines 386 387 after converting everything to st. man page macros there is 388 no need to maintain X11 private nroff macros, so remove them. 389 390 Signed-off-by: Walter Harms <wharms@bfs.de> 391 392commit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764 393Author: Walter Harms <wharms@bfs.de> 394Date: Mon Jul 29 17:47:35 2019 +0200 395 396 Replace home-grown .Ds .De macro with man page .EX/.EE macro 397 398 Same pages use the man page .EX/.EE macro. Replace all occurences 399 of .De/.Ds with the std. macros to make the code better to maintain. 400 401 Signed-off-by: Walter Harms <wharms@bfs.de> 402 403commit 951e772bc8d89bc62c4bbac14adc5d4f5027419f 404Author: Walter Harms <wharms@bfs.de> 405Date: Wed Jul 3 18:23:51 2019 +0200 406 407 fix TBL format 408 409 Signed-off-by: Walter Harms <wharms@bfs.de> 410 411commit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e 412Author: Walter Harms <wharms@bfs.de> 413Date: Wed Jul 3 18:18:09 2019 +0200 414 415 replace home grown .ZN with std, .B and .BR 416 417 Replace the home grown macro .ZN with std. macros 418 from man macro paket. So we can get rid of the 419 definition an get a clean header. 420 421 Signed-off-by: Walter Harms <wharms@bfs.de> 422 423commit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458 424Author: Walter Harms <wharms@bfs.de> 425Date: Sat Jun 22 18:33:48 2019 +0200 426 427 remove in-text macros 428 429 remove in-text macros an fix a few typos on the way. 430 hopefuly that will make maintenance more easy. 431 432 Signed-off-by: Walter Harms <wharms@bfs.de> 433 434commit cb0e894fe9927b07bd9d97c067fd0d007accb105 435Author: Walter Harms <wharms@bfs.de> 436Date: Fri Jun 21 18:01:16 2019 +0200 437 438 note that we can handle kbd==NULL 439 440 Signed-off-by: Walter Harms <wharms@bfs.de> 441 442commit 0327c427d62f671eced067c6d9b69f4e216a8cac 443Author: Adam Jackson <ajax@redhat.com> 444Date: Mon Jun 17 13:36:08 2019 -0400 445 446 makekeys: Detach ourselves from X headers entirely 447 448 Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer 449 building makekeys with enough -I/foo/bar to find the X11 headers, so if 450 they're not in a system include path, things fail. Since this utility is 451 only needed at build time, there's no real reason to demand the X 452 headers be installed for both the build and target machines if cross- 453 compiling, we can just assume a vaguely ANSI environment instead. 454 455 Tested-by: Niclas Zeising <zeising@daemonic.se> 456 Reviewed-by: Keith Packard <keithp@keithp.com> 457 Reviewed-by: Matt Turner <mattst88@gmail.com> 458 459commit 57f0d421a1320090d3a4948181fe228d86cc8977 460Author: Matt Turner <mattst88@gmail.com> 461Date: Mon Jun 17 10:45:45 2019 -0400 462 463 libX11 1.6.8 464 465 Signed-off-by: Matt Turner <mattst88@gmail.com> 466 467commit 5464b302bc0c4a055d3eac06c6ab15e209ff7668 468Author: Matt Turner <mattst88@gmail.com> 469Date: Sun Jun 9 14:00:15 2019 -0700 470 471 Use AC_SYS_LARGEFILE 472 473 ... and include config.h in makekeys.c to get the definition of 474 _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file 475 system with 64-bit inode numbers. 476 477 Bug: https://bugs.gentoo.org/550502 478 Bug: https://bugs.gentoo.org/616140 479 Signed-off-by: Matt Turner <mattst88@gmail.com> 480 481commit 33b9148a833ab2ea46e44871da3c031bf1b78f77 482Author: Ran Benita <ran234@gmail.com> 483Date: Thu Feb 13 20:55:08 2014 +0200 484 485 Compose.man: fix escaped hexadecimal char description 486 487 The man page says: 488 Strings may be direct text encoded in the locale for which the 489 compose file is to be used, or an escaped octal or hexadecimal 490 character code. Octal codes are specified as "\123" and 491 hexadecimal codes as "\0x123a". 492 493 But the grammar in the parser and the implementation say: 494 ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) 495 HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] 496 HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) 497 498 So "\0x123a" -> "\x3a". 499 500 Signed-off-by: Ran Benita <ran234@gmail.com> 501 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 502 503commit d9b2cc35edf01e4f751a9ccb5ac185745184cec0 504Author: ojab <ojab@ojab.ru> 505Date: Mon Apr 24 20:12:17 2017 +0000 506 507 Compose sequences for rouble sign 508 509 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 510 511 Signed-off-by: Slava Kardakov <ojab@ojab.ru> 512 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 513 514commit 3f211616f6414bd9958566c0ca137e87a2b6df95 515Author: Pavel Labath <pavelo@centrum.sk> 516Date: Fri Nov 30 20:45:04 2012 +0100 517 518 Fix a leak in XCreateFontSet 519 520 a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks, 521 as evidenced by the following valgrind output: 522 ==983== HEAP SUMMARY: 523 ==983== in use at exit: 39,409 bytes in 341 blocks 524 ==983== total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated 525 ==983== 526 ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record 527 40 of 46 528 ==983== at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 529 ==983== by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0) 530 ==983== by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0) 531 ==983== by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0) 532 ==983== by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0) 533 ==983== by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0) 534 ==983== by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0) 535 ==983== by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0) 536 ==983== by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0) 537 ==983== by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746) 538 ==983== by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602) 539 ==983== by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92) 540 ==983== 541 ==983== LEAK SUMMARY: 542 ==983== definitely lost: 136 bytes in 1 blocks 543 ==983== indirectly lost: 1,552 bytes in 34 blocks 544 ==983== possibly lost: 0 bytes in 0 blocks 545 ==983== still reachable: 37,721 bytes in 306 blocks 546 ==983== suppressed: 0 bytes in 0 blocks 547 548 This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still 549 reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is 550 destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using 551 code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the 552 correct code path, and I'm pretty sure this is correct (the object was constructed using 553 _XlcCreateLC, it make sense to destroy it using its conterpart). 554 555 So far I haven't observed any strange behaviour on my system caused by this change (although, I'm 556 not sure, how many programs actually use this function). 557 558 Signed-off-by: Pavel Labath <pavelo@centrum.sk> 559 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 560 561commit 4645e219133458781e3fb48eaea6a74cccb1b9aa 562Author: Jon Turney <jon.turney@dronecode.org.uk> 563Date: Tue Apr 30 14:39:06 2019 +0100 564 565 Avoid using libtool wrapper for makekeys 566 567 For Windows targets, libtool uses a wrapper executable, not a wrapper 568 script (see [1]), which it compiles with the host compiler. This 569 doesn't work when cross-compiling. 570 571 Since we don't actually need to link with anything, use the libtool flag 572 -all-static to tell it to stay completely out of this. 573 574 [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html 575 576commit 6886d9ba06826785a8ccb312c04ea82b91bb6a25 577Author: Jon Turney <jon.turney@dronecode.org.uk> 578Date: Wed Apr 24 12:50:41 2019 +0100 579 580 Use EXEEXT_FOR_BUILD for makekeys 581 582 Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from 583 EXEEXT_FOR_BUILD, such as when building for Windows from unix. 584 585 (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when 586 cross-compiling. There could be some elaborate autodetection for 587 EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from 588 Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...) 589 590commit a121b7b0c210efe10bf93453b29050282324c906 591Author: Jon Turney <jon.turney@dronecode.org.uk> 592Date: Tue Apr 30 14:30:41 2019 +0100 593 594 Remove makekeys dependency on X headers 595 596 This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 597 by Pierre Ossman, reworked for master. 598 599 Avoid using LIBS (which are for host, but we don't need) and rewrite 600 makekeys slightly to avoid needing to include any X headers, which 601 avoids potentially having -I with host paths in CFLAGS, which can cause 602 standard headers e.g. stdio.h for the host to also be used, which can 603 break things... 604 605commit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab 606Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 607Date: Fri Jun 7 23:35:33 2019 +0200 608 609 Braille: Fix typing quickly 610 611 On finishing releasing Braille keys, we should clear the just-commited 612 pattern, to reset the state to initial state, and avoid having to wait for 613 0.3s before typing the next pattern. 614 615 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 616 Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr> 617 618commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 619Author: Tapani Pälli <tapani.palli@intel.com> 620Date: Mon May 13 08:29:49 2019 +0300 621 622 Protect colormap add/removal with display lock 623 624 This fixes a bug where concurrent threads call XCreateColormap and 625 XFreeColormap corrupting a linked list where colormap structures 626 are stored. 627 628 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94 629 630 v2: handle XCopyColormapAndFree also (Adam Jackson) 631 632 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> 633 634commit fea80d03c381a4de379863c0d41f6d4c00f15e1e 635Author: Jon Turney <jon.turney@dronecode.org.uk> 636Date: Wed Mar 13 13:12:20 2019 +0000 637 638 Add autoconf checks for headers we include for FIONREAD 639 640 Add autoconf checks for the extra headers we include to define FIONREAD. 641 This needs sys/socket.h on Cygwin, and none of the alternatives on 642 Windows. 643 644commit 87c77a1e6d7034536e9d25ce24a667ebf53486a7 645Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 646Date: Mon Mar 11 14:19:52 2019 +0000 647 648 locale.alias.pre - add the de_IT locale 649 650 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 651 652commit 568f77f414072506bbe48646637c872987c97e63 653Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 654Date: Mon Mar 11 14:17:10 2019 +0000 655 656 locale.dir.pre - add the de_IT locale 657 658 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 659 660commit 38c0c92feaef7dc4a72920b1dd79872e6578086c 661Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 662Date: Mon Mar 11 14:12:07 2019 +0000 663 664 compose.dir.pre - add de_IT locale 665 666 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 667 668commit 49f835611ba6ab82e68b7b851507931c142db7a5 669Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 670Date: Tue Jan 29 15:34:34 2019 +0000 671 672 Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH) 673 674 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 675 676commit ed669234d0cd5933618aa5fd2da697b59845b9be 677Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 678Date: Tue Jan 29 15:28:18 2019 +0000 679 680 locale.dir.pre - fix the de_LI latin15 locale 681 682 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 683 684commit 82b5c1454a49333b4d94984d40db79cff386d37f 685Author: Josh Triplett <josh@joshtriplett.org> 686Date: Sun Feb 3 08:31:41 2019 +0100 687 688 compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences 689 690 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 691 692commit 603c3ab25a692194805fd4b0c62afac8093897fe 693Author: Alan Coopersmith <alan.coopersmith@oracle.com> 694Date: Sat Mar 9 20:58:07 2019 -0800 695 696 Add missing close paren to XrmGetStringDatabase synopsis in man page 697 698 Fixes: commit 0642e99ac05afb0c 699 700 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 701 702commit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85 703Author: Alan Coopersmith <alan.coopersmith@oracle.com> 704Date: Sat Feb 23 11:12:27 2019 -0800 705 706 Include reallocarray.h in tarballs so "make distcheck" passes 707 708 Fixes: commit bcf7b5aa06c23aee 709 710 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 711 712commit a4a7df06351ce9565d298a84547ff71f2d220fbf 713Author: Alan Coopersmith <alan.coopersmith@oracle.com> 714Date: Sat Feb 23 11:04:41 2019 -0800 715 716 XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris 717 718 Fixes: commit 5538b3e4ae6dee 719 720 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 721 722commit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044 723Author: Alan Coopersmith <alan.coopersmith@oracle.com> 724Date: Sat Feb 23 10:48:26 2019 -0800 725 726 specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys() 727 728 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86 729 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550 730 731 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 732 733commit 74f2f26811ae82b15dede31504b0eb541f7a3293 734Author: Alan Coopersmith <alan.coopersmith@oracle.com> 735Date: Sat Feb 23 10:46:05 2019 -0800 736 737 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys() 738 739 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85 740 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549 741 742 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 743 744commit 66b039a41690f076e962ac6bd46cca017360a7d1 745Author: Alan Coopersmith <alan.coopersmith@oracle.com> 746Date: Sat Feb 23 10:44:15 2019 -0800 747 748 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows() 749 750 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84 751 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548 752 753 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 754 755commit cdea0e840315171f8390adc63a2397ddf111eea4 756Author: Alan Coopersmith <alan.coopersmith@oracle.com> 757Date: Sat Feb 23 10:38:08 2019 -0800 758 759 specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry() 760 761 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82 762 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520 763 764 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 765 766commit c72d17ada98723cd9e03ddf06680a0e54b2c3089 767Author: Alan Coopersmith <alan.coopersmith@oracle.com> 768Date: Sat Feb 23 10:30:32 2019 -0800 769 770 XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys 771 772 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 773 774commit 05002b8aef9544c8545e0823a02cf14f335d2b68 775Author: Alan Coopersmith <alan.coopersmith@oracle.com> 776Date: Sun Feb 17 15:13:25 2019 -0800 777 778 Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask 779 780 Reported-by: Daniel Hahler <git@thequod.de> 781 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 782 783commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c 784Author: Adam Jackson <ajax@redhat.com> 785Date: Fri Mar 24 11:07:36 2017 -0400 786 787 _XDefaultIOError: Do better at detecting explicit shutdown 788 789 Currently, when the X server crashes or a client is disconnected with 790 XKillClient, you get a somewhat confusing error message from libX11 791 along the lines of: 792 793 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" 794 after 98 requests (40 known processed) with 0 events remaining. 795 796 What's happening here is the previous recvmsg has thrown EAGAIN, since 797 the socket is non-blocking. In this case, check whether the socket has 798 any more data to read, and if not treat it like EPIPE. 799 800 Signed-off-by: Adam Jackson <ajax@redhat.com> 801 802commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 803Author: Adam Jackson <ajax@redhat.com> 804Date: Fri Mar 24 11:07:35 2017 -0400 805 806 _XDefaultIOError: Reformat to be less ugly 807 808 Signed-off-by: Adam Jackson <ajax@redhat.com> 809 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 810 811commit 003e30a66a249f5c70b30d1c187385124cd4cdad 812Author: Alan Coopersmith <alan.coopersmith@oracle.com> 813Date: Tue Jan 1 14:34:04 2019 -0800 814 815 Avoid use-after-free in _XimProtoSetIMValues() 816 817 Fixes gitlab issue #49 818 819 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 820 821commit 30656fd66ad47aeaca0bfc237a818f189554f07e 822Author: Alan Coopersmith <alan.coopersmith@oracle.com> 823Date: Tue Jan 1 12:21:04 2019 -0800 824 825 Fix implicit conversion warnings in _XlcCreateDefaultCharSet 826 827 lcCharSet.c:187:50: warning: implicit conversion changes signedness: 828 'int' to 'unsigned long' [-Wsign-conversion] 829 tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1); 830 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 831 ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc' 832 ~~~~~~ ^~~~ 833 lcCharSet.c:192:31: warning: implicit conversion changes signedness: 834 'int' to 'unsigned long' [-Wsign-conversion] 835 memcpy(tmp, name, name_len+1); 836 ~~~~~~ ~~~~~~~~^~ 837 lcCharSet.c:216:45: warning: implicit conversion changes signedness: 838 'int' to 'unsigned long' [-Wsign-conversion] 839 memcpy(tmp, ct_sequence, ct_sequence_len+1); 840 ~~~~~~ ~~~~~~~~~~~~~~~^~ 841 lcCharSet.c:183:16: warning: implicit conversion loses integer precision: 842 'unsigned long' to 'int' [-Wshorten-64-to-32] 843 name_len = strlen(name); 844 ~ ^~~~~~~~~~~~ 845 lcCharSet.c:184:23: warning: implicit conversion loses integer precision: 846 'unsigned long' to 'int' [-Wshorten-64-to-32] 847 ct_sequence_len = strlen(ct_sequence); 848 ~ ^~~~~~~~~~~~~~~~~~~ 849 lcCharSet.c:198:37: warning: implicit conversion loses integer precision: 850 'long' to 'unsigned int' [-Wshorten-64-to-32] 851 unsigned int length = colon - charset->name; 852 ~~~~~~ ~~~~~~^~~~~~~~~~~~~~~ 853 854 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 855 856commit 2e6300905784fa8adfcea019262ea58b3e1ed4ad 857Author: Alan Coopersmith <alan.coopersmith@oracle.com> 858Date: Tue Jan 1 11:41:47 2019 -0800 859 860 Remove no-longer-used name variable in _XGetAtomName 861 862 Fixes gcc warning: 863 GetAtomNm.c: In function ‘_XGetAtomName’: 864 GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable] 865 char *name; 866 ^~~~ 867 868 Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 869 870 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 871 872commit f077871c2a12cf098b0c50572e112c6dc5e04de0 873Author: Alan Coopersmith <alan.coopersmith@oracle.com> 874Date: Sat Dec 29 11:39:29 2018 -0800 875 876 Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 877 878 In-tree builds found reallocarray.h in $(top_builddir)/src but the 879 out-of-tree build didn't find it at all. 880 881 Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline 882 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 883 884commit ba7f7cc783672784bebc6e69349b55c6c75c1973 885Author: Alan Coopersmith <alan.coopersmith@oracle.com> 886Date: Sun Sep 27 18:35:27 2015 -0700 887 888 Convert src/xlibi18n to use reallocarray() 889 890 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 891 892commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 893Author: Alan Coopersmith <alan.coopersmith@oracle.com> 894Date: Sat Sep 26 11:12:47 2015 -0700 895 896 Replace Xmalloc+strcpy pairs with strdup calls 897 898 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 899 900commit 258a8ced681dc1bc50396be7439fce23f9807e2a 901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 902Date: Sun Jul 19 11:58:50 2015 -0700 903 904 Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray 905 906 Makes resizing & clearing more consistent and gets rid of some weird 907 quirks like always subtracting 1 from the size passed to _XkbClearElems 908 so it could always add 1 to the size passed in. 909 910 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 911 912commit f94273e2f4284040306b888e5ca0381ee00591af 913Author: Alan Coopersmith <alan.coopersmith@oracle.com> 914Date: Sun Jul 19 09:47:29 2015 -0700 915 916 Add some missing allocation failure checks in src/xcms 917 918 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 919 920commit 76850471b4a5a6d30f5660234e87ec2772e7b426 921Author: Alan Coopersmith <alan.coopersmith@oracle.com> 922Date: Sun Jul 19 09:33:21 2015 -0700 923 924 Convert src/xcms to use reallocarray() 925 926 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 927 928commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 929Author: Alan Coopersmith <alan.coopersmith@oracle.com> 930Date: Sun Jul 19 09:24:02 2015 -0700 931 932 Convert src/XKB to use reallocarray() 933 934 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 935 936commit 6d1dc1f6169ebf0ba71785d461bd98129c65c862 937Author: Alan Coopersmith <alan.coopersmith@oracle.com> 938Date: Thu Jun 4 23:30:43 2015 -0700 939 940 Convert main src directory to use reallocarray() 941 942commit bcf7b5aa06c23aee00af7999b58cb96a8571ac42 943Author: Alan Coopersmith <alan.coopersmith@oracle.com> 944Date: Thu Jun 4 23:18:23 2015 -0700 945 946 Import reallocarray() from OpenBSD 947 948 Wrapper for realloc() that checks for overflow when multiplying 949 arguments together, so we don't have to add overflow checks to 950 every single call. For documentation on usage, see: 951 http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 952 953 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 954 955commit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 956Author: Alan Coopersmith <alan.coopersmith@oracle.com> 957Date: Mon Nov 19 21:26:23 2018 -0800 958 959 Update README for gitlab migration 960 961 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 962 963commit c8bcc19970a2cc4ad337de1338c63a07325eefcd 964Author: Albert Astals Cid <aacid@kde.org> 965Date: Fri Nov 9 22:24:52 2018 +0100 966 967 locale.dir: Add ast_ES.UTF-8 968 969 With this patch xev properly reports 970 XLookupString gives 2 bytes: (c2 b4) "´" 971 for the dead_acute key when using the Asturian locale 972 973commit 117bb310b44ce03802c91a70949eb58dcc702a3c 974Author: Albert Astals Cid <aacid@kde.org> 975Date: Fri Nov 9 22:18:43 2018 +0100 976 977 compose.dir: Add ast_ES.UTF-8 978 979 With this patch one can properly type dead keys like á when using the 980 Asturian locale 981 982commit d7e22252d68258a63ca537827c99d0ac0bc4b9d8 983Author: Alan Coopersmith <alan.coopersmith@oracle.com> 984Date: Sat Nov 10 13:30:47 2018 -0800 985 986 Remove documentation of obsolete B16 & B32 tags in specs/libX11 987 988 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 989 990commit f3c978476e0be6813268af494efb7ac507451116 991Author: Matt Turner <mattst88@gmail.com> 992Date: Tue Oct 9 10:26:05 2018 -0400 993 994 libX11 1.6.7 995 996 Signed-off-by: Matt Turner <mattst88@gmail.com> 997 998commit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 999Author: Michel Dänzer <michel.daenzer@amd.com> 1000Date: Fri Sep 28 17:24:17 2018 +0200 1001 1002 poll_for_event: Allow using xcb_poll_for_queued_event 1003 1004 It avoids reading from the display connection again in cases where that 1005 was already done. 1006 1007 Suggested-by: Uli Schlachter <psychon@znc.in> 1008 Reviewed-by: Uli Schlachter <psychon@znc.in> 1009 1010commit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 1011Author: Michel Dänzer <michel.daenzer@amd.com> 1012Date: Tue Sep 25 17:10:58 2018 +0200 1013 1014 poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails 1015 1016 If xcb_poll_for_reply fails to find a reply, poll_for_response would 1017 always return NULL. However, xcb_poll_for_reply may have read events 1018 from the display connection while looking for a reply. In that case, 1019 returning NULL from poll_for_response is wrong and can result in the 1020 client hanging, e.g. because it returns to waiting for the display 1021 connection file descriptor becoming readable after XPending incorrectly 1022 returned 0 pending events. 1023 1024 The solution is to call poll_for_event again after xcb_poll_for_reply 1025 returned 0. This will return the first of any events read by 1026 xcb_poll_for_reply. 1027 1028 Fixes issue #79. 1029 1030 Reported-by: Yuxuan Shui <yshuiv7@gmail.com> 1031 Bugzilla: https://bugs.freedesktop.org/108008 1032 Bugzilla: https://bugs.freedesktop.org/107992 1033 Reviewed-by: Adam Jackson <ajax@redhat.com> 1034 1035commit d0416863d5bf75af54ce81f6c30d4c1476b5e04f 1036Author: Bhavi Dhingra <b.dhingra@samsung.com> 1037Date: Mon Sep 28 08:33:40 2015 +0000 1038 1039 XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB 1040 1041 Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 1042 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 1043 1044 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1045 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1046 1047commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 1048Author: Matthieu Herrb <matthieu@herrb.eu> 1049Date: Tue Aug 21 16:54:50 2018 +0200 1050 1051 libX11 1.6.6 1052 1053 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 1054 1055commit 173704243fbcbea0b6de2068b4fb403c7408fb54 1056Author: Matthieu Herrb <matthieu@herrb.eu> 1057Date: Tue Aug 21 16:53:40 2018 +0200 1058 1059 Remove statement with no effect. 1060 1061 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 1062 1063commit e83722768fd5c467ef61fa159e8c6278770b45c2 1064Author: Tobias Stoeckmann <tobias@stoeckmann.org> 1065Date: Fri Jul 27 16:38:00 2018 +0200 1066 1067 Fixed crash on invalid reply (CVE-2018-14598). 1068 1069 If the server sends a reply in which even the first string would 1070 overflow the transmitted bytes, list[0] (or flist[0]) will be set to 1071 NULL and a count of 0 is returned. 1072 1073 If the resulting list is freed with XFreeExtensionList or 1074 XFreeFontPath later on, the first Xfree call: 1075 1076 Xfree (list[0]-1) 1077 turns into 1078 Xfree (NULL-1) 1079 1080 which will most likely trigger a segmentation fault. 1081 1082 I have modified the code to return NULL if the first string would 1083 overflow, thus protecting the freeing functions later on. 1084 1085 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1086 1087commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 1088Author: Tobias Stoeckmann <tobias@stoeckmann.org> 1089Date: Fri Jul 27 16:37:17 2018 +0200 1090 1091 Fixed out of boundary write (CVE-2018-14600). 1092 1093 The length value is interpreted as signed char on many systems 1094 (depending on default signedness of char), which can lead to an out of 1095 boundary write up to 128 bytes in front of the allocated storage, but 1096 limited to NUL byte(s). 1097 1098 Casting the length value to unsigned char fixes the problem and allows 1099 string values with up to 255 characters. 1100 1101 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1102 1103commit b469da1430cdcee06e31c6251b83aede072a1ff0 1104Author: Tobias Stoeckmann <tobias@stoeckmann.org> 1105Date: Fri Jul 27 16:36:34 2018 +0200 1106 1107 Fixed off-by-one writes (CVE-2018-14599). 1108 1109 The functions XGetFontPath, XListExtensions, and XListFonts are 1110 vulnerable to an off-by-one override on malicious server responses. 1111 1112 The server replies consist of chunks consisting of a length byte 1113 followed by actual string, which is not NUL-terminated. 1114 1115 While parsing the response, the length byte is overridden with '\0', 1116 thus the memory area can be used as storage of C strings later on. To 1117 be able to NUL-terminate the last string, the buffer is reserved with 1118 an additional byte of space. 1119 1120 For a boundary check, the variable chend (end of ch) was introduced, 1121 pointing at the end of the buffer which ch initially points to. 1122 Unfortunately there is a difference in handling "the end of ch". 1123 1124 While chend points at the first byte that must not be written to, 1125 the for-loop uses chend as the last byte that can be written to. 1126 1127 Therefore, an off-by-one can occur. 1128 1129 I have refactored the code so chend actually points to the last byte 1130 that can be written to without an out of boundary access. As it is not 1131 possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 1132 with the corrected chend meaning, I removed the inner if-check. 1133 1134 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1135 1136commit d81da209fd4d0c2c9ad0596a8078e58864479d0d 1137Author: Tobias Stoeckmann <tobias@stoeckmann.org> 1138Date: Tue Jul 3 22:31:37 2018 +0200 1139 1140 Validation of server response in XListHosts. 1141 1142 If a server sends an incorrect length in its response, a client is prone 1143 to perform an out of boundary read while processing the data. 1144 1145 The length field of xHostEntry is used to specify the amount of bytes 1146 used to represent the address. It is 16 bit, which means that it is not 1147 possible to perform an arbitrary memory access, but it might be enough 1148 to read sensitive information, e.g. malloc-related pointers and offsets. 1149 1150 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1151 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1152 1153commit b676e62377483df77bcb6472d26b24f901323fa9 1154Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 1155Date: Wed Jun 13 15:46:58 2018 +0200 1156 1157 XkbOpenDisplay.3: fix typo 1158 1159 XkbOpenDisplay returns a pointer to Display, not a Display. 1160 1161 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 1162 1163commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 1164Author: Martin Natano <natano@natano.net> 1165Date: Sat Oct 8 19:57:50 2016 +0200 1166 1167 Don't rebuild ks_tables.h if nothing changed. 1168 1169 ks_tables.h is always considered out of date due to the forced rebuild 1170 of the makekeys util. This means the file is also rebuilt during 'make 1171 install', which is usually performed as root, which can to lead 1172 permission problems later on. 1173 1174 Signed-off-by: Martin Natano <natano@natano.net> 1175 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1176 1177commit 796f754cba6d75b676a0fc39b97802198fceda4f 1178Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1179Date: Sat May 5 14:43:30 2018 -0700 1180 1181 Change fall through comment in lcDB.c to match gcc's requirements 1182 1183 Needs to match one of the regexps shown under 1184 https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 1185 1186 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1187 1188commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 1189Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1190Date: Sat Mar 24 19:45:14 2018 -0700 1191 1192 Use size_t for buffer sizes in SetHints.c 1193 1194 These variables store values returned from strlen() as a size_t 1195 and are passed to Xmalloc, which expects a size_t, so lets stop 1196 converting back and forth to int along the way. 1197 1198 Reported by: Konstantin SKliarov 1199 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1200 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1201 1202commit 50a5a98984097d614227d22a49265e12b172cac7 1203Author: Bhavi Dhingra <b.dhingra@samsung.com> 1204Date: Tue Jul 5 11:37:50 2016 +0530 1205 1206 Fix possible memory leak in cmsProp.c:140 1207 1208 https://bugs.freedesktop.org/show_bug.cgi?id=96814 1209 1210 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1211 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1212 1213commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 1214Author: Michal Srb <msrb@suse.com> 1215Date: Thu Mar 15 09:50:58 2018 +0100 1216 1217 Use flexible array member instead of fake size. 1218 1219 The _XimCacheStruct structure is followed in memory by two strings containing 1220 fname and encoding. The memory was accessed using the last member of the 1221 structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 1222 confuses checkers. Lets declare it properly as a flexible array, so compilers 1223 don't complain about writing past that array. As bonus we can replace the 1224 XOffsetOf with regular sizeof. 1225 1226 Fixes GCC8 error: 1227 In function 'strcpy', 1228 inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 1229 inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 1230 inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 1231 /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 1232 forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 1233 return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 1234 1235 Caused by this line seemingly writing past the fname[1] array: 1236 imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 1237 1238 Reviewed-by: Keith Packard <keithp@keithp.com> 1239 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1240 1241commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 1242Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1243Date: Tue Mar 6 11:42:27 2018 -0800 1244 1245 If XGetImage fails to create image, don't dereference it to bounds check 1246 1247 Reported by gcc 7.3: 1248 1249 GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 1250 if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 1251 ~~~~~^~~~~~~~ 1252 1253 Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 1254 1255 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1256 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 1257 1258commit e835a9dcc3362b5e92893be756dd7ae361e64ced 1259Author: wharms <wharms@bfs.de> 1260Date: Sun Sep 3 14:17:45 2017 +0200 1261 1262 silence gcc warning assignment discards 'const' qualifier from pointer target type 1263 1264commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 1265Author: wharms <wharms@bfs.de> 1266Date: Sun Aug 20 21:51:57 2017 +0200 1267 1268 remove empty line 1269 1270commit e02dfe54f32b4165351d2712a9d2e0584906a3ce 1271Author: wharms <wharms@bfs.de> 1272Date: Sun Aug 20 21:50:33 2017 +0200 1273 1274 add _X_UNUSED to avoid unused variable warnings 1275 1276commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 1277Author: walter harms <wharms@bfs.de> 1278Date: Sat Jun 4 17:19:59 2016 +0200 1279 1280 Fixes: warning: variable 'req' set but not,used 1281 1282 Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 1283 by marking req _X_UNUSED 1284 Solution was discussed on xorg-devel ML 1285 Peter Hutter, Alan Coopersmith 1286 Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 1287 1288 Signed-off-by: harms wharms@bfs.de 1289 1290commit bf82ec0402479fd8399d69e7d62fc17d7956699a 1291Author: walter harms <wharms@bfs.de> 1292Date: Sat Jun 4 17:22:07 2016 +0200 1293 1294 mark _XDefaultIOError as no_return 1295 1296 mark _XDefaultIOError as no_return. No one comes back from exit() ... 1297 1298 Signed-off-by: harms wharms@bfs.de 1299 1300commit 9abe8380074edea3ac4e72466ec47e921ca05e47 1301Author: walter harms <wharms@bfs.de> 1302Date: Sat Jun 4 17:21:52 2016 +0200 1303 1304 no need to check XFree arguments 1305 1306 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 1307 1308 Signed-off-by: harms wharms@bfs.de 1309 1310commit 433477fcb7e07d0c26a22ba78aae88827ed1f440 1311Author: walter harms <wharms@bfs.de> 1312Date: Tue Apr 26 16:32:20 2016 +0200 1313 1314 fix memleak in error path 1315 1316 free all mem on error 1317 Signed-off-by: walter harms <wharms@bfs.de> 1318 1319commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 1320Author: walter harms <wharms@bfs.de> 1321Date: Tue Apr 26 17:58:16 2016 +0200 1322 1323 fix memleak in error path 1324 1325 V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 1326 1327 fix mem leak in error path 1328 Signed-off-by: walter harms <wharms@bfs.de> 1329 1330commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 1331Author: walter harms <wharms@bfs.de> 1332Date: Tue Apr 26 16:34:11 2016 +0200 1333 1334 no need to check args for Xfree() 1335 1336 simplify code 1337 1338 Signed-off-by: walter harms <wharms@bfs.de> 1339 1340commit c1c14af441ae73d1a8e67a971fafcf967e45ac48 1341Author: walter harms <wharms@bfs.de> 1342Date: Tue Apr 26 16:23:46 2016 +0200 1343 1344 remove stray extern 1345 1346 remove stray extern 1347 1348 Signed-off-by: walter harms <wharms@bfs.de> 1349 1350commit 714921f041a245dc5f37a689268b584226a2ccb9 1351Author: walter harms <wharms@bfs.de> 1352Date: Mon Apr 11 18:26:52 2016 +0200 1353 1354 no need to check argument for _XkbFree() 1355 1356 simplify code by removing unneeded checks 1357 1358 Signed-off-by: walter harms <wharms@bfs.de> 1359 1360commit d02c2466f65063a03c97dbcee05071c12a3676e6 1361Author: walter harms <wharms@bfs.de> 1362Date: Mon Apr 11 18:22:38 2016 +0200 1363 1364 fix more shadow warning 1365 1366 Signed-off-by: walter harms <wharms@bfs.de> 1367 1368commit 0355c3926d5372f9762f235071dbd94a89bbbdad 1369Author: walter harms <wharms@bfs.de> 1370Date: Thu Mar 31 19:16:33 2016 +0200 1371 1372 fix shadow char_size 1373 1374 Signed-off-by: walter harms <wharms@bfs.de> 1375 1376commit 916dffadf052135df3398651be873c353da629e1 1377Author: walter harms <wharms@bfs.de> 1378Date: Thu Mar 31 19:14:32 2016 +0200 1379 1380 remove argument check for free() adjust one inden 1381 1382 Signed-off-by: walter harms <wharms@bfs.de> 1383 1384commit 6ec901ebca3fea6a762e22090dc35b1b90911133 1385Author: walter harms <wharms@bfs.de> 1386Date: Thu Mar 31 19:12:17 2016 +0200 1387 1388 _XIOError(dpy); will never return so remore dead 1389 1390 Signed-off-by: walter harms <wharms@bfs.de> 1391 1392commit 83107a677b2ed458e4d62ea4a601e8181d3683d8 1393Author: walter harms <wharms@bfs.de> 1394Date: Thu Mar 31 19:10:49 2016 +0200 1395 1396 fix shadow warning 1397 1398 Signed-off-by: walter harms <wharms@bfs.de> 1399 1400commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 1401Author: Ryan C. Gordon <icculus@icculus.org> 1402Date: Wed Aug 2 02:41:03 2017 -0400 1403 1404 Valgrind fix for XStoreColor and XStoreColors. 1405 1406 If the "pad" field isn't set, Valgrind will report it as uninitialized 1407 memory accesses when the struct is copied into the Display's send buffer. 1408 1409 In practice, this is (probably) harmless, but Valgrind is correct in 1410 believing it's a bug. 1411 1412 https://bugs.freedesktop.org/attachment.cgi?id=133189 1413 1414 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1415 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1416 1417commit 7d2010fec25c2f52b873ad0572479eb43128b038 1418Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1419Date: Fri Apr 7 00:13:03 2017 -0700 1420 1421 Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 1422 1423 Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 1424 contains some malformed text" caused by extra whitespace after .TE macros 1425 1426 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1427 1428commit b856d5d929047d1ea169814d56e43784ea404c83 1429Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1430Date: Thu Mar 16 00:05:49 2017 -0700 1431 1432 Clarify state parameter to XkbSetNamedDeviceIndicator 1433 1434 Checking a Bool to see if it's NULL does not work well in C. 1435 Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 1436 1437 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1438 Reviewed-by: Adam Jackson <ajax@redhat.com> 1439 1440commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 1441Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1442Date: Wed Mar 15 23:50:26 2017 -0700 1443 1444 Make Xkb{Get,Set}NamedIndicator spec & manpages match code 1445 1446 The XKB Library spec and the man pages for XkbGetNamedIndicator & 1447 XkbSetNamedIndicator included a device_spec argument neither function 1448 takes, and do not include the XkbGetNamedDeviceIndicator & 1449 XkbSetNamedDeviceIndicator variants that do take it (along with two 1450 other arguments). 1451 1452 This updates them to match the interfaces the code has provided for 1453 decades. 1454 1455 This has been reported multiple times, so this fixes: 1456 https://bugs.freedesktop.org/show_bug.cgi?id=251 1457 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 1458 Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 1459 (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 1460 X.Org Group Defect Id #9418 1461 1462 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1463 Reviewed-by: Adam Jackson <ajax@redhat.com> 1464 1465commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 1466Author: Arthur Huillet <ahuillet@nvidia.com> 1467Date: Wed Feb 1 15:02:41 2017 +0100 1468 1469 _XDefaultError: set XlibDisplayIOError flag before calling exit 1470 1471 _XReply isn't reentrant, and it can lead to deadlocks when the default error 1472 handler is called: _XDefaultError calls exit(1). It is called indirectly by 1473 _XReply when a X protocol error comes in that isn't filtered/handled by an 1474 extension or the application. This means that if the application (or one of its 1475 loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 1476 _fini destructor, _fini will get called while still on the call stack of 1477 _XReply. If the destructor interacts with the X server and calls _XReply, it 1478 will hit a deadlock, looping on the following in _XReply: 1479 1480 ConditionWait(dpy, dpy->xcb->reply_notify); 1481 1482 It is legal for an application to make Xlib calls during _fini, and that is 1483 useful for an OpenGL driver to avoid resource leaks on the X server side, for 1484 example in the dlopen/dlclose case. However, the driver can not readily tell 1485 whether its _fini is being called because Xlib called exit, or for another 1486 reason (dlclose), so it is hard to cleanly work around this issue in the driver. 1487 1488 This change makes it so _XReply effectively becomes a no-op when called after 1489 _XDefaultError was called, as though an XIOError had happened. The dpy 1490 connection isn't broken at that point, but any call to _XReply is going to hang. 1491 This is a bit of a kludge, because the more correct solution would be to make 1492 _XReply reentrant, maybe by broadcasting the reply_notify condition before 1493 calling the default error handler. However, such a change would carry a grater 1494 risk of introducing regressions in Xlib. 1495 1496 This change will drop some valid requests on the floor, but this should not 1497 matter, as it will only do so in the case where the application is dying: X will 1498 clean up after it once exit() is done running. There is the case of 1499 XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 1500 to clean up resources in _fini would currently be hitting a deadlock, which is 1501 hardly a better situation. 1502 1503 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 1504 Reviewed-by: Jamey Sharp <jamey@minilop.net> 1505 1506commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 1507Author: Matt Turner <mattst88@gmail.com> 1508Date: Sat Feb 25 21:54:22 2017 -0800 1509 1510 libX11 1.6.5 1511 1512 Signed-off-by: Matt Turner <mattst88@gmail.com> 1513 1514commit a0da5835e8078445947c828fe2d86c1a31439012 1515Author: Adam Jackson <ajax@redhat.com> 1516Date: Tue Feb 14 15:33:29 2017 -0500 1517 1518 Revert "Compose sequences for rouble sign" 1519 1520 This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 1521 1522 Reported to break 'make check': 1523 1524 https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 1525 1526commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 1527Author: Mihail Konev <k.mvc@ya.ru> 1528Date: Fri Feb 10 18:48:18 2017 +0500 1529 1530 Compose sequences for rouble sign 1531 1532 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 1533 Also add Cyrillic sequences for hryvnia sign. 1534 1535 Submitted-by: Victor V. Kustov <coyote@bks.tv> 1536 Reviewed-by: Victor V. Kustov <coyote@bks.tv> 1537 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 1538 1539commit 23d9623c661694aba8cf1e8f277dffa7a86cf065 1540Author: Petr Písař <petr.pisar@atlas.cz> 1541Date: Sun Oct 30 12:49:11 2016 +0100 1542 1543 Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 1544 1545 The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 1546 locale and reporting this error: 1547 1548 Warning: locale not supported by Xlib, locale set to C 1549 1550 Therefore this patch reverts to the en_US.UTF-8 definition file that was used 1551 before. This patch also deduplicates the cs_CZ.UTF-8 entry. 1552 1553 <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 1554 1555 This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 1556 1557 Signed-off-by: Julien Cristau <jcristau@debian.org> 1558 1559commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 1560Author: Mihail Konev <k.mvc@ya.ru> 1561Date: Thu Jan 26 13:52:49 2017 +1000 1562 1563 autogen: add default patch prefix 1564 1565 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 1566 1567commit 2979011bc170c55894b9185b26376f8efc6db7d4 1568Author: Emil Velikov <emil.l.velikov@gmail.com> 1569Date: Mon Mar 9 12:00:52 2015 +0000 1570 1571 autogen.sh: use quoted string variables 1572 1573 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 1574 fall-outs, when they contain space. 1575 1576 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 1577 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 1578 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1579 1580commit 4a0082a1b6affa65d38294f0e13511525cd8ad15 1581Author: Peter Hutterer <peter.hutterer@who-t.net> 1582Date: Tue Jan 24 10:32:07 2017 +1000 1583 1584 autogen.sh: use exec instead of waiting for configure to finish 1585 1586 Syncs the invocation of configure with the one from the server. 1587 1588 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1589 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 1590 1591commit c74b070f2712c95f0db7c320a10232b0e5c83049 1592Author: Julien Cristau <jcristau@debian.org> 1593Date: Sat Jan 7 16:20:31 2017 +0100 1594 1595 Fix wrong Xfree in XListFonts failure path 1596 1597 'ch' gets moved inside the allocated buffer as we're looping through 1598 fonts, so keep a reference to the start of the buffer so we can pass 1599 that to Xfree in the failure case. 1600 1601 Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 1602 1603 Signed-off-by: Julien Cristau <jcristau@debian.org> 1604 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1605 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1606 1607commit 663f47075fe67bab4f99bc5d186c49175d4a4334 1608Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1609Date: Sun Jan 1 20:57:58 2017 -0800 1610 1611 specs/libX11: Update Portability Considerations for the 21st century 1612 1613 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1614 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1615 1616commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 1617Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1618Date: Sun Jan 1 20:39:53 2017 -0800 1619 1620 specs/libX11: Fix broken synopsis for Data/Data16/Data32 1621 1622 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1623 1624commit 382561951e3460b09c21a1a23748cde0315fbb19 1625Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1626Date: Sun Jan 1 20:31:54 2017 -0800 1627 1628 specs/libX11: Add missing parameter types for XGetWindowProperty() 1629 1630 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1631 1632commit 2beaecdb66965b861d6b790d151ba947f65f0a22 1633Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1634Date: Sun Jan 1 20:16:08 2017 -0800 1635 1636 specs/libX11: Make paramdef spacing more consistent 1637 1638 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1639 1640commit 4c436c6c14cfd4c397b011563bf13c2872861133 1641Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1642Date: Sun Jan 1 20:02:53 2017 -0800 1643 1644 specs/libX11: Fix paramdef entries listing multiple parameters 1645 1646 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1647 1648commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 1649Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1650Date: Sun Jan 1 19:38:40 2017 -0800 1651 1652 specs/libX11: More synopsis fixes 1653 1654 Mostly transforming macro definitions and functions taking void arguments 1655 from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 1656 1657 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1658 1659commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 1660Author: Lucien Gentis <lucien.gentis@waika9.com> 1661Date: Wed Jun 1 17:02:47 2016 +0200 1662 1663 Typos in "Xlib - C Language X Interface" document - Chapter 02 1664 1665 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 1666 1667 Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 1668 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1669 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1670 1671commit 20a3f99eba5001925b8b313da3accb7900eb1927 1672Author: Emilio Pozuelo Monfort <pochu@debian.org> 1673Date: Tue Oct 25 21:30:15 2016 +0200 1674 1675 Plug a memory leak 1676 1677 This was introduced in 8ea762f. 1678 1679 Reported-by: Julien Cristau <jcristau@debian.org> 1680 Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 1681 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1682 1683commit 8f349feac24aacc958bd816afcc52380764e3d92 1684Author: Matthieu Herrb <matthieu.herrb@laas.fr> 1685Date: Tue Oct 4 21:01:39 2016 +0200 1686 1687 libX11 1.6.4 1688 1689 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 1690 1691commit 8ea762f94f4c942d898fdeb590a1630c83235c17 1692Author: Tobias Stoeckmann <tobias@stoeckmann.org> 1693Date: Sun Sep 25 21:25:25 2016 +0200 1694 1695 Validation of server responses in XGetImage() 1696 1697 Check if enough bytes were received for specified image type and 1698 geometry. Otherwise GetPixel and other functions could trigger an 1699 out of boundary read later on. 1700 1701 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1702 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1703 1704commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 1705Author: Tobias Stoeckmann <tobias@stoeckmann.org> 1706Date: Sun Sep 25 21:22:57 2016 +0200 1707 1708 The validation of server responses avoids out of boundary accesses. 1709 1710 v2: FontNames.c return a NULL list whenever a single 1711 length field from the server is incohent. 1712 1713 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1714 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1715 1716commit 78851f6a03130e3c720b60c3cbf96f8eb216d741 1717Author: walter harms <wharms@bfs.de> 1718Date: Mon Aug 15 19:18:14 2016 +0200 1719 1720 XFree will accept NULL as argument 1721 1722 since Xfree is a define for free(): 1723 Xlibint.h:#define Xfree(ptr) free((ptr)) 1724 1725 Xfree will accept NULL and do nothing. 1726 1727 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 1728 1729commit 83adf3d1e3d0d6602244381334f75c216da4ab6e 1730Author: Matthew D. Fuller <fullermd@over-yonder.net> 1731Date: Sat Jun 4 11:24:01 2016 -0500 1732 1733 Fixup param specification for XChangeProperty() 1734 1735 Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 1736 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1737 1738commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 1739Author: Mats Blakstad <mats.gbproject@gmail.com> 1740Date: Sun Feb 28 13:22:03 2016 -0500 1741 1742 New compose keys for local languages in Togo 1743 1744 Signed-off-by: James Cloos <cloos@jhcloos.com> 1745 1746commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 1747Author: Daniel Albers <daniel@lbe.rs> 1748Date: Wed Mar 9 14:35:48 2016 +0100 1749 1750 Add Compose sequence for U+1F4A9. 1751 1752 Signed-off-by: Daniel Albers <daniel@lbe.rs> 1753 1754commit 6d7bb040c928485f2557c2c914b95cffb2354179 1755Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1756Date: Sat Feb 6 14:18:32 2016 -0800 1757 1758 xcms: use size_t for pointer offsets passed to strncmp 1759 1760 instead of converting to int and back 1761 1762 Fixes clang warnings of the form: 1763 HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 1764 'unsigned long' [-Wsign-conversion] 1765 if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 1766 ~~~~~~~ 1767 1768 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1769 1770commit a9266804eed38a83897ab5f0f9f8a8ab82a98882 1771Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1772Date: Sat Feb 6 13:32:44 2016 -0800 1773 1774 xcms: use unsigned indexes when looping through unsigned values 1775 1776 Clears many gcc warnings of the form: 1777 1778 uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 1779 uvY.c:263:19: warning: comparison between signed and unsigned integer 1780 expressions [-Wsign-compare] 1781 for (i = 0; i < nColors; i++, pColor++) { 1782 ^ 1783 1784 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1785 1786commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 1787Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1788Date: Sat Feb 6 13:01:25 2016 -0800 1789 1790 xcms: use size_t for strlen/sizeof values instead of converting to int & back 1791 1792 Fixes gcc warnings of the form: 1793 1794 IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 1795 IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 1796 if ((len = strlen(prefix)) >= sizeof(string_buf)) { 1797 ^ 1798 IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 1799 if (len >= sizeof(string_buf)) Xfree(string_lowered); 1800 ^ 1801 IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 1802 if (len >= sizeof(string_buf)) Xfree(string_lowered); 1803 ^ 1804 IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 1805 if (len >= sizeof(string_buf)) Xfree(string_lowered); 1806 ^ 1807 1808 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1809 1810commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 1811Author: Dominik Muth <nxdomainuser-muth@yahoo.com> 1812Date: Thu Mar 26 07:52:58 2015 +0100 1813 1814 Xlib.h: Fix macros imitating C functions. 1815 1816 The basic rule "put parantheses around macro parameters" should be 1817 observed where possible. Otherwise code like 1818 1819 ConnectionNumber(foo = bar); 1820 1821 fails to compile. (It obviously passes if ConnectionNumber is a C 1822 function.) There are several other macros amended for the same reason. 1823 1824 This bug appeared while building http://ioccc.org/1993/cmills.c, so 1825 historically it was not present. 1826 1827 Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 1828 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1829 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1830 1831commit 3706b0f2b14cc97578a6bee620266edca2722ebf 1832Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1833Date: Fri Nov 15 18:03:25 2013 -0800 1834 1835 Don't need to link libX11-xcb against libX11 1836 1837 libX11-xcb only accesses data structures defined in X11 headers, 1838 it doesn't call any functions or reference any global variables 1839 in libX11 itself. (Seems to have been left from previous XCL 1840 implementation.) 1841 1842 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1843 1844commit eddf1bbd18872b286a9f939140f0cd9ba4e93804 1845Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1846Date: Fri Jan 22 11:44:25 2016 -0800 1847 1848 Stop checking for preferred order of local transports 1849 1850 Removes --with-local-transport-order=... flag to configure. 1851 1852 Code which used this ordered list was removed in commit 15e5eaf6289 1853 which outsourced X11 connection handling & authentication to libxcb. 1854 1855 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1856 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1857 1858commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 1859Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1860Date: Fri Jan 22 09:39:28 2016 -0800 1861 1862 Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 1863 1864 Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 1865 1866 Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 1867 which outsourced X11 connection handling & authentication to libxcb. 1868 1869 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1870 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1871 1872commit 7eb724dc24505f1591ef32620fa63f079b540646 1873Author: Olivier Fourdan <ofourdan@redhat.com> 1874Date: Thu Jan 21 11:54:19 2016 +0100 1875 1876 XKB: fix XkbGetKeyboardByName with Xming server 1877 1878 XkbGetKeyboardByName relies on flags to read the data from the server. 1879 1880 If the X server sends us the wrong flags or if a subreply is smaller 1881 than it should be, XkbGetKeyboardByName will not read all the available 1882 data and leave data in the buffer, which will cause the next _XReply() 1883 to fail with: 1884 1885 [xcb] Extra reply data still left in queue 1886 [xcb] This is most likely caused by a broken X extension library 1887 [xcb] Aborting, sorry about that. 1888 xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 1889 Aborted 1890 1891 Check if there is some extra data left at the end of 1892 XkbGetKeyboardByName() and discard that data if any is found. 1893 1894 Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 1895 root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 1896 with the analysis! 1897 1898 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 1899 Reviewed-by: Daniel Stone <daniels@collabora.com> 1900 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 1901 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1902 1903commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 1904Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1905Date: Sat Dec 19 18:03:41 2015 -0800 1906 1907 lcPubWrap: replace malloc(strlen) + strcpy with strdup 1908 1909 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1910 Reviewed-by: Adam Jackson <ajax@redhat.com> 1911 1912commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 1913Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1914Date: Sat Dec 19 10:21:04 2015 -0800 1915 1916 XlcDL.c: reduce code duplication 1917 1918 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1919 Reviewed-by: Adam Jackson <ajax@redhat.com> 1920 1921commit f7ecc0856be58608881d2086954cb71857ad64e1 1922Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1923Date: Sat Dec 19 10:19:25 2015 -0800 1924 1925 XlcDL.c: replace strcpy+strcat sequences with snprintf 1926 1927 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1928 Reviewed-by: Adam Jackson <ajax@redhat.com> 1929 1930commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 1931Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1932Date: Sat Dec 19 10:05:42 2015 -0800 1933 1934 XDefaultOMIF: Remove comments referring to ancient Sun bug ids 1935 1936 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1937 Reviewed-by: Adam Jackson <ajax@redhat.com> 1938 1939commit b738a104ae80e4270dd1d215ad0c6a80016982c2 1940Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1941Date: Sat Dec 19 10:00:22 2015 -0800 1942 1943 XDefaultOMIF: additional code simplification 1944 1945 Don't need to test for a case that we already returned for, don't need 1946 to store a count that will only ever be 1 if we didn't return, don't 1947 need to increment pointers to allow storing more than one item when we 1948 can only ever possibly do one. 1949 1950 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1951 Reviewed-by: Adam Jackson <ajax@redhat.com> 1952 1953commit 31011cf100419269eae7409581c784638be503cf 1954Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1955Date: Sat Dec 19 09:46:31 2015 -0800 1956 1957 XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 1958 1959 Code seems to have been originally written to handle appending multiple 1960 strings, but only ever operates on a single string. 1961 1962 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1963 Reviewed-by: Adam Jackson <ajax@redhat.com> 1964 1965commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 1966Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1967Date: Sat Dec 19 09:20:55 2015 -0800 1968 1969 Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 1970 1971 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1972 Reviewed-by: Adam Jackson <ajax@redhat.com> 1973 1974commit 4359dfabc04af082872d2bc2d5b52e26d6d93290 1975Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1976Date: Fri Dec 4 22:20:53 2015 -0800 1977 1978 Delete #if 0 hunks of code 1979 1980 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1981 1982commit a2f9dfac286f37e54eb47d4736cc3f0150224a84 1983Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1984Date: Thu Dec 3 23:38:07 2015 -0800 1985 1986 Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 1987 1988 Rework code to store allocations directly into XIM struct instead of 1989 temporary local variables, so we can use _XCloseIM to unwind instead 1990 of duplicating it, and consistently jump to error handler on failure, 1991 instead of sometimes leaking and sometimes freeing. 1992 1993 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 1994 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1995 1996commit 07a97b3944467dce085a1efd24706cc851d2caf2 1997Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1998Date: Thu Dec 3 23:19:48 2015 -0800 1999 2000 Bug 93184: read_EncodingInfo invalid free 2001 2002 Free the correct bits of memory if we run out and need to unwind 2003 2004 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 2005 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2006 2007commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 2008Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2009Date: Sat Nov 28 13:18:11 2015 -0800 2010 2011 Remove unused definition of XCONN_CHECK_FREQ 2012 2013 The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 2014 when we dropped the old Xlib connection handling in favor of xcb's. 2015 2016 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2017 Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 2018 2019commit 5f0da8311a61498edf073cc877f5b467bfd5f863 2020Author: James Cloos <cloos@jhcloos.com> 2021Date: Thu Dec 3 18:24:44 2015 -0500 2022 2023 Fix another missing update in cf4d5989383a 2024 2025 Reported in: 2026 2027 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 2028 2029 Signed-off-by: James Cloos <cloos@jhcloos.com> 2030 2031commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 2032Author: James Cloos <cloos@jhcloos.com> 2033Date: Thu Dec 3 18:15:40 2015 -0500 2034 2035 Fix missing update in cf4d5989383a 2036 2037 Reported in: 2038 2039 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 2040 2041 Signed-off-by: James Cloos <cloos@jhcloos.com> 2042 2043commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 2044Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2045Date: Sun Sep 27 18:38:32 2015 -0700 2046 2047 Get rid of some extraneous ; at the end of C source lines 2048 2049 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2050 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 2051 2052commit 121a1bad334459f66f78bfca6df53dc841cf97f8 2053Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 2054Date: Wed Sep 23 11:44:55 2015 -0400 2055 2056 Add compose file for pt_PT similar to pt_BR 2057 2058 This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 2059 2060 One of the conclusions from the discussion on that bug report, which 2061 basically is about typing the ccedilla character easily on a non- 2062 Portuguese keyboard, is that X11 should include a compose file for 2063 pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 2064 2065 FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 2066 2067 Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 2068 Signed-off-by: James Cloos <cloos@jhcloos.com> 2069 2070commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 2071Author: Julien Cristau <jcristau@debian.org> 2072Date: Fri May 1 13:50:15 2015 +0200 2073 2074 Mark _XNextRequest as hidden 2075 2076 It's only used inside XNextRequest(), so doesn't need to be exported. 2077 2078 Signed-off-by: Julien Cristau <jcristau@debian.org> 2079 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2080 2081commit a72d2d06c002b644b7040a0a9936c8525e092ba8 2082Author: Christian Linhart <chris@demorecorder.com> 2083Date: Mon Sep 7 17:17:32 2015 +0200 2084 2085 fix for Xlib 32-bit request number issues 2086 2087 Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 2088 the 32-bit sequence number wrap in libX11. 2089 2090 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 2091 Signed-off-by: Christian Linhart <chris@demorecorder.com> 2092 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 2093 Reviewed-by: Adam Jackson <ajax@redhat.com> 2094 2095commit 58af066a764305c506efea7065ef7679369a1a98 2096Author: Thomas Klausner <wiz@NetBSD.org> 2097Date: Sun Jul 19 10:23:21 2015 +0200 2098 2099 Ignore test-driver (used by newer autoconf). 2100 2101 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 2102 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2103 2104commit 80b9a346b9ba200fa4652560282e80d249519287 2105Author: Thomas Klausner <wiz@NetBSD.org> 2106Date: Sun Jul 19 10:22:45 2015 +0200 2107 2108 Do not return() after exit(). 2109 2110 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 2111 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2112 2113commit c827edcd1c4a7f920aa25208083b5b58d60d2b44 2114Author: Ross Burton <ross.burton@intel.com> 2115Date: Mon May 18 14:49:01 2015 +0100 2116 2117 Add missing NULL checks to ICWrap 2118 2119 ICWrap.c dereferences the xim parameter passed in from client code without a 2120 NULL check. I have seen mplayer trigger this resulting in a segfault. In this 2121 case mplayer had called XOpenIM and NULL was returned which was later passed 2122 into XCreateIC. 2123 2124 Patch originally by Drew Moseley <drew_moseley@mentor.com>. 2125 2126 Signed-off-by: Ross Burton <ross.burton@intel.com> 2127 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2128 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2129 2130commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 2131Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2132Date: Thu Jun 4 20:51:17 2015 -0700 2133 2134 Replace Xmalloc+memset pairs with Xcalloc calls 2135 2136 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2137 2138commit f0286b2770ece10aef5e2e8c004260217f12fd25 2139Author: Bhavi Dhingra <b.dhingra@samsung.com> 2140Date: Thu Jun 4 19:07:12 2015 -0700 2141 2142 omGeneric.c: Correct the parameter usage of sizeof 2143 2144 Incorrect parameter usage with sizeof. Earlier passed argument FontData 2145 will be 4 bytes always as its a pointer hence the change is needed and 2146 FontDataRec should be used for memset. 2147 2148 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2149 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2150 2151commit 47da70d75f9e48e800719c0db752f9ccd2d77aea 2152Author: Peter Hutterer <peter.hutterer@who-t.net> 2153Date: Tue May 19 12:30:22 2015 +1000 2154 2155 Fix three "use of uninitialized variable" coverity warnings 2156 2157 False positive, if rlen/nbytes are unset we quit early before using it. Still, 2158 initialize it so we don't have to deal with these warnings again. 2159 2160 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2161 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 2162 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2163 2164commit 19a30f17f30e9ae9641a7c0634fc52134208b060 2165Author: Peter Hutterer <peter.hutterer@who-t.net> 2166Date: Mon May 18 07:56:22 2015 +1000 2167 2168 Fix an indentation issue 2169 2170 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2171 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 2172 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2173 2174commit 013ccece124b990217ad3bcf2c41688e8fda1df8 2175Author: Peter Hutterer <peter.hutterer@who-t.net> 2176Date: Mon May 18 07:55:17 2015 +1000 2177 2178 Fix potential memory leak 2179 2180 If we hit the depth limit, filename leaks. Move the depth check up before we 2181 allocate filename. 2182 Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 2183 2184 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2185 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 2186 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2187 2188commit d3415d1f052530760b4617db45affcb984cfe35c 2189Author: Mike FABIAN <mfabian@redhat.com> 2190Date: Mon Apr 20 17:59:30 2015 +0200 2191 2192 Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 2193 2194 Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 2195 locales fixed it only partly, I introduced a new spelling mistake 2196 in the sd_IN locales. This patch fixes this. 2197 2198 Signed-off-by: James Cloos <cloos@jhcloos.com> 2199 2200commit 748d47e69f5c12d8557d56a8a8ec166588da7b93 2201Author: Mike FABIAN <mfabian@redhat.com> 2202Date: Wed Feb 19 11:46:45 2014 +0100 2203 2204 fix spelling mistakes in ks_IN and sd_IN devanagari locales 2205 2206 The codeset must be *before* the modifier. 2207 2208 See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 2209 2210 opengroup> The syntax for these environment variables is thus defined as: 2211 opengroup> 2212 opengroup> [language[_territory][.codeset][@modifier]] 2213 2214 Signed-off-by: James Cloos <cloos@jhcloos.com> 2215 2216commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 2217Author: Mike FABIAN <mfabian@redhat.com> 2218Date: Wed Feb 19 11:50:55 2014 +0100 2219 2220 add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 2221 2222 See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 2223 2224 If these are not in locale.dir, 2225 2226 $ LANG=sr_RS.UTF-8@latin xterm 2227 2228 and 2229 2230 $ LANG=sr_RS@latin xterm 2231 2232 give the warning: 2233 2234 Warning: locale not supported by Xlib, locale set to C 2235 2236 and some programs (like xmms) fail to find translations for Serbian 2237 in Latin because of this. 2238 2239 Signed-off-by: James Cloos <cloos@jhcloos.com> 2240 2241commit c85be01b006126c4407eebd1eb6e01a17312b7b4 2242Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2243Date: Sun Mar 22 16:46:45 2015 -0700 2244 2245 Move Compose \ o / to be with other emoji compose sequences 2246 2247 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2248 2249commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 2250Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2251Date: Mon Mar 9 15:28:29 2015 -0700 2252 2253 libX11 1.6.3 2254 2255 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2256 2257commit c8e19b393defd53f046ddc2da3a16881221b3c34 2258Author: Joonas Javanainen <joonas.javanainen@gmail.com> 2259Date: Thu Feb 5 17:31:04 2015 +0200 2260 2261 Fix XErrorEvent struct field order in man page 2262 2263 In the man page the field "resourceid" was in a different place than 2264 in the actual struct layout in Xlib.h 2265 2266 Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 2267 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2268 2269commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 2270Author: Ran Benita <ran234@gmail.com> 2271Date: Tue Feb 3 13:23:50 2015 -0500 2272 2273 compose: fix the description of modifiers in compose sequences 2274 2275 The Compose format has a feature which allows specifying certain 2276 modifiers must (or must not) be present with a given keysym in the 2277 sequence. 2278 2279 The grammar in imLcPrs.c and the Compose man page both do not match what 2280 the code actually does (see the handling of the variables 2281 `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 2282 eventually matched as `ev->state & modifier_mask == modifier`). 2283 2284 Also explicitly list the accepted modifier names, since they are 2285 not standard (e.g. "Ctrl" instead of "Control"). 2286 2287 Signed-off-by: Ran Benita <ran234@gmail.com> 2288 Signed-off-by: James Cloos <cloos@jhcloos.com> 2289 2290commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 2291Author: Ran Benita <ran234@gmail.com> 2292Date: Tue Feb 3 13:23:49 2015 -0500 2293 2294 xkb: fix misleading comment about consumed modifiers 2295 2296 In the spec and the man page the `mods_rtrn` argument is described as 2297 "backfilled with unconsumed modifiers" but actually it is backfilled 2298 with the *consumed* modifiers. This is also mentioned a few lines below 2299 in each case. 2300 2301 Signed-off-by: Ran Benita <ran234@gmail.com> 2302 Signed-off-by: James Cloos <cloos@jhcloos.com> 2303 2304commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 2305Author: Ingo Schwarze <schwarze@usta.de> 2306Date: Tue Dec 9 10:44:13 2014 +0100 2307 2308 Fix pasto in XkbGetKeyBehaviors(3) manual 2309 2310 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 2311 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2312 2313commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 2314Author: Benno Schulenberg <bensberg@justemail.net> 2315Date: Sun Nov 23 21:35:36 2014 +0100 2316 2317 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 2318 2319 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2320 2321commit a51681b60c84109fe19f5d449e13080522499324 2322Author: Benno Schulenberg <bensberg@justemail.net> 2323Date: Thu Sep 19 16:42:01 2013 +0200 2324 2325 nls: Remove a duplicate locale name, and sort some others more strictly. 2326 2327 Also improve the grammar of the initial comment. 2328 2329 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2330 Signed-off-by: James Cloos <cloos@jhcloos.com> 2331 2332commit 426b7f850f5376db96a4b12420ee141603fcc3cd 2333Author: Benno Schulenberg <bensberg@justemail.net> 2334Date: Fri Sep 20 12:37:29 2013 +0200 2335 2336 nls: Add a comment to the block of accented Hebrew letters. 2337 2338 And align them in a nicer manner. 2339 2340 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2341 Signed-off-by: James Cloos <cloos@jhcloos.com> 2342 2343commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 2344Author: Benno Schulenberg <bensberg@justemail.net> 2345Date: Fri Sep 20 12:05:09 2013 +0200 2346 2347 nls: Add one lowercase compose variant for ®, to mirror those for ©. 2348 2349 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2350 Signed-off-by: James Cloos <cloos@jhcloos.com> 2351 2352commit 18dcd13514fa538afefa78c93523d9dbd4688e74 2353Author: Benno Schulenberg <bensberg@justemail.net> 2354Date: Sat Sep 7 20:10:43 2013 +0200 2355 2356 nls: Adding the visual composing characters to two comment lines. 2357 2358 The lines around them also contain the characters in the comments. 2359 2360 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2361 Signed-off-by: James Cloos <cloos@jhcloos.com> 2362 2363commit 18d8307575af748913d5da17e3de45da2a22ede4 2364Author: Benno Schulenberg <bensberg@justemail.net> 2365Date: Sat Sep 7 20:09:32 2013 +0200 2366 2367 nls: Grouping a lone superscript minus together with its mates. 2368 2369 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2370 Signed-off-by: James Cloos <cloos@jhcloos.com> 2371 2372commit 33301cc45e6a2b8aa841ed6325547af970f8c4db 2373Author: Benno Schulenberg <bensberg@justemail.net> 2374Date: Sat Sep 7 19:53:38 2013 +0200 2375 2376 nls: Grouping the compose sequences for Dstroke/dstroke together. 2377 2378 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2379 Signed-off-by: James Cloos <cloos@jhcloos.com> 2380 2381commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 2382Author: Gioele Barabucci <gioele@svario.it> 2383Date: Sun Sep 21 23:05:55 2014 +0200 2384 2385 Add compose sequence for U+20B9 INDIAN RUPEE SIGN 2386 2387 The compose sequence for the new Indian Rupee sign is modelled after 2388 the sequence for the Euro sign. 2389 2390 Signed-off-by: Gioele Barabucci <gioele@svario.it> 2391 Signed-off-by: James Cloos <cloos@jhcloos.com> 2392 2393commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 2394Author: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 2395Date: Thu Jul 31 22:23:28 2014 -0300 2396 2397 Add double-arrow compose sequence 2398 2399 Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 2400 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2401 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2402 2403commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 2404Author: James Cloos <cloos@jhcloos.com> 2405Date: Fri Aug 1 18:30:42 2014 -0400 2406 2407 Add cs_CZ.UTF-8 locale to configure.ac 2408 2409 Commit cf4d5989383a should have included this. 2410 2411 Reported-by: Colin Harrison <colin.harrison@virgin.net> 2412 Signed-off-by: James Cloos <cloos@jhcloos.com> 2413 2414commit cf4d5989383acc4ed1b7eebadde9f380f2129766 2415Author: James Cloos <cloos@jhcloos.com> 2416Date: Tue Jul 29 15:02:56 2014 -0400 2417 2418 Add nls for cs_CZ.UTF-8 2419 2420 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 2421 override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 2422 to enter »ů«, and likewise for the majuscule, for the Czech locale. 2423 2424 This evidently is the norm for Czech keyboards. 2425 2426 Fixes bz#81875. 2427 2428 The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 2429 several other locales. That may require an update. 2430 2431 Reported-by: Vladimír Marek <vlmarek@volny.cz> 2432 Signed-off-by: James Cloos <cloos@jhcloos.com> 2433 2434commit d9f569572bd14db31921471e7b877523b5cf1e4c 2435Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2436Date: Sat Jul 26 12:17:47 2014 -0700 2437 2438 Fix source paths for out-of-tree lintlib builds 2439 2440 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2441 2442commit 0885cad1e4a9ed57266582be320be55259c881bf 2443Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2444Date: Sun Jul 20 09:21:20 2014 -0700 2445 2446 specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 2447 2448 Matches the way they were styled in original doc, before conversion 2449 to DocBook. 2450 2451 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2452 2453commit d0a9e9d56bb003315787201ee525b4d00fd54e06 2454Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2455Date: Sat Jul 19 23:55:47 2014 -0700 2456 2457 specs/XKB: acknowledge my contributions 2458 2459 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2460 2461commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 2462Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2463Date: Sat Jul 19 23:53:48 2014 -0700 2464 2465 specs/XKB: Trim leading spaces off text lines 2466 2467 perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 2468 2469 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2470 2471commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 2472Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2473Date: Sat Jul 19 20:30:55 2014 -0700 2474 2475 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 2476 2477 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2478 2479commit 5009621799444e9d1d284719f871d00be13e7330 2480Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2481Date: Sat Jul 19 12:34:28 2014 -0700 2482 2483 specs/XKB: Fix miscelleanous typos & spelling errors 2484 2485 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2486 2487commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 2488Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2489Date: Sat Jul 19 00:46:41 2014 -0700 2490 2491 specs/XKB: add some more indexterms by hand 2492 2493 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2494 2495commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 2496Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2497Date: Sat Jul 19 00:48:02 2014 -0700 2498 2499 specs/XKB: fixup various formatting issues in <programlisting>s 2500 2501 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2502 2503commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 2504Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2505Date: Fri Jul 18 23:56:29 2014 -0700 2506 2507 specs/XKB: fixup various formatting issues in <literallayout>s 2508 2509 Including translating some that are really just lists into 2510 <simplelist> markup. 2511 2512 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2513 2514commit 94b56774784ac00b9db02403aecea10bb0814c10 2515Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2516Date: Fri Jul 18 23:18:52 2014 -0700 2517 2518 specs/XKB: add some more links by hand 2519 2520 random bits where a link looked handy 2521 2522 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2523 2524commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 2525Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2526Date: Fri Jul 18 23:16:31 2014 -0700 2527 2528 specs/XKB: add links for terms in definition list under figure 1.1 2529 2530 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2531 2532commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 2533Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2534Date: Fri Jul 18 22:52:16 2014 -0700 2535 2536 specs/XKB: add links to more tables listing section references 2537 2538 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2539 2540commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 2541Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2542Date: Fri Jul 18 22:49:34 2014 -0700 2543 2544 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 2545 2546 Page numbers refer to old doc format, didn't translate to new one 2547 2548 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2549 2550commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 2551Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2552Date: Sat Jul 19 11:55:51 2014 -0700 2553 2554 specs/XKB: remove unwanted white space around C -> struct references 2555 2556 perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 2557 2558 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2559 2560commit 2be0cc0b2abbcc98cfd150210dea415a04787251 2561Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2562Date: Fri Jul 18 22:26:20 2014 -0700 2563 2564 specs/XKB: replace -> with → when used as arrow, not in C structs 2565 2566 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2567 2568commit bf1f3d6f6f995303624679ae546f507c70967dc0 2569Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2570Date: Fri Jul 18 22:21:10 2014 -0700 2571 2572 specs/XKB: replace => with ⇒ for double arrows 2573 2574 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2575 2576commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 2577Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2578Date: Sat Jul 19 11:33:35 2014 -0700 2579 2580 specs/XKB: Markup some ranges with – instead of - 2581 2582commit ec4075303c6c0d1d64bfe378e585968f9a137da7 2583Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2584Date: Fri Jul 18 22:10:45 2014 -0700 2585 2586 specs/XKB: Markup some subtractions with − instead of - 2587 2588 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2589 2590commit 441a267e461132a38abed205245f028686526f1d 2591Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2592Date: Fri Jul 18 22:04:40 2014 -0700 2593 2594 specs/XKB: make sure all files have DOCTYPEs so standard entities work 2595 2596 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2597 2598commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 2599Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2600Date: Fri Jul 18 21:55:41 2014 -0700 2601 2602 specs/XKB: Markup quoted terms as <quote> instead of with "" 2603 2604 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2605 2606commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 2607Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2608Date: Sat Jul 19 09:01:26 2014 -0700 2609 2610 specs/XKB: fixup newlines between tags and punctuation 2611 2612 Get rid of unwanted whitespace before punctuation by moving them to the 2613 lines with the tags, instead of before & after. 2614 2615 perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 2616 2617 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2618 2619commit 6d5ec492cd28c206423337f926503349702af5a6 2620Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2621Date: Fri Jul 18 21:29:33 2014 -0700 2622 2623 specs/XKB: fixup newlines between tags and parens 2624 2625 Get rid of unwanted whitespace inside parens by moving them to the 2626 lines with the tags, instead of before & after. 2627 2628 perl -i -0 -p \ 2629 -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 2630 -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 2631 2632 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2633 2634commit 59d688f4c787250e0b401a92b1db0437d8c60f2d 2635Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2636Date: Fri Jul 18 21:09:24 2014 -0700 2637 2638 specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 2639 2640 Also add <indexterm> entries for most of them, to make their definitions 2641 or introductions easy to find from the index. 2642 2643 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2644 2645commit 861f3087ee0f501362a67501f384c2ca4c7bfe73 2646Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2647Date: Thu Jul 10 20:00:53 2014 -0700 2648 2649 specs/XKB: Manual fixup of type markup 2650 2651 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2652 2653commit 6b96259dabe52701fd1bcaa0625b574180c4e769 2654Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2655Date: Thu Jul 10 15:00:30 2014 -0700 2656 2657 specs/XKB: Manual fixup of parameter markup 2658 2659 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2660 2661commit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 2662Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2663Date: Thu Jul 10 13:40:40 2014 -0700 2664 2665 specs/XKB: Manual fixup of struct name/field markup 2666 2667 Handles typos that caused the scripts to miss matches, misnamed structs, etc. 2668 2669 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2670 2671commit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 2672Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2673Date: Wed Jul 9 23:26:37 2014 -0700 2674 2675 specs/XKB: Manual fixup of symbol name markup 2676 2677 Handles typos that caused the scripts to miss matches, misnamed masks, etc. 2678 2679 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2680 2681commit eb1453a0c69606b8af96b90ddccf1b93a069fb35 2682Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2683Date: Wed Jul 9 00:03:23 2014 -0700 2684 2685 specs/XKB: Manual fixup of function name markup 2686 2687 Handles typos that caused the scripts to miss matches, functions like 2688 malloc & free from other libraries, function name patterns, etc. 2689 2690 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2691 2692commit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 2693Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2694Date: Thu Jul 10 19:42:31 2014 -0700 2695 2696 specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 2697 2698 No great fit in DocBook, so follow what we used in Xlib spec. 2699 2700 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2701 2702commit ed60df10aad15057577d5714c955d22d2a446e51 2703Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2704Date: Thu Jul 10 15:45:57 2014 -0700 2705 2706 specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 2707 2708 Also uses <guilabel> for LED names/labels, for lack of a better fit 2709 in DocBook. 2710 2711 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2712 2713commit f57b91ee497414083cc1bf481d28eb9ad9f965fb 2714Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2715Date: Thu Jul 10 15:41:19 2014 -0700 2716 2717 specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 2718 2719 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2720 2721commit cfd4279c9b59d7e87c9f7c67692c87973adb7667 2722Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2723Date: Thu Jul 10 11:08:14 2014 -0700 2724 2725 specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 2726 2727 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2728 2729commit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 2730Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2731Date: Wed Jul 9 23:30:54 2014 -0700 2732 2733 specs/XKB: Markup symbol names in table entries too 2734 2735 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2736 2737commit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 2738Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2739Date: Tue Jul 8 23:35:48 2014 -0700 2740 2741 specs/XKB: Markup *Ptr as <type> instead of <emphasis> 2742 2743 perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 2744 2745 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2746 2747commit 9f6c00629fd4b713082cc11f9150f7aafd272c89 2748Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2749Date: Tue Jul 8 23:34:29 2014 -0700 2750 2751 specs/XKB: Markup *Rec as <structname> instead of <emphasis> 2752 2753 perl -i -p -e \ 2754 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 2755 2756 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2757 2758commit 83839e37802b8b752c77859a95de60ad757feb79 2759Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2760Date: Tue Jul 8 23:29:49 2014 -0700 2761 2762 specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 2763 2764 Performed via: 2765 perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 2766 /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 2767 | sort -u > xkb-defines.pl 2768 perl -i -p -f xkb-defines.pl *.xml 2769 2770 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2771 2772commit 9e397ed37ce4cc70621de347de3a795df88d4506 2773Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2774Date: Tue Jul 8 22:53:12 2014 -0700 2775 2776 specs/XKB: Use ° instead of o for degrees. 2777 2778 Conversion from framemaker turned superscripted "o" into plain "o". 2779 2780 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2781 2782commit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 2783Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2784Date: Tue Jul 8 22:46:03 2014 -0700 2785 2786 specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 2787 2788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2789 2790commit 33bef065683c8f910f3722730503c0c0699ee8be 2791Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2792Date: Tue Jul 8 22:26:56 2014 -0700 2793 2794 specs/XKB: Markup NULL as <symbol> instead of <emphasis> 2795 2796 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2797 2798commit f10aa1e09468bd28454d85ac8ab55d9dc7178029 2799Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2800Date: Tue Jul 8 22:22:29 2014 -0700 2801 2802 specs/XKB: Markup function args as <parameter> instead of <emphasis> 2803 2804 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2805 2806commit 79ba58cceb69521fcb313c69233cf93a9fcb177f 2807Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2808Date: Mon Jul 7 23:56:13 2014 -0700 2809 2810 specs/XKB: Convert remaining error names to errorname tags 2811 2812 Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 2813 are XKB-specific. (Plus some were badly split across tag boundaries.) 2814 2815 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2816 2817commit 42b2f5388c399949ece377f9cc9c479c06964972 2818Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2819Date: Mon Jul 7 23:16:56 2014 -0700 2820 2821 specs/XKB: manually fixup some more emphasis tagging mismatches 2822 2823 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2824 2825commit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 2826Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2827Date: Mon Jul 7 23:02:31 2014 -0700 2828 2829 specs/XKB: re-normalize <emphasis> layout in xml files 2830 2831 Same script as before, just with <!-- xref --> comments out of the way 2832 now. 2833 2834 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2835 2836commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 2837Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2838Date: Mon Jul 7 22:59:25 2014 -0700 2839 2840 specs/XKB: Remove remaining xref comments 2841 2842 All the places marked by these have been turned into the appropriate 2843 link, xref, or olink tags now. 2844 2845 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2846 2847commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 2848Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2849Date: Mon Jul 7 22:56:36 2014 -0700 2850 2851 specs/XKB: make olinks to xkbproto for references in section 10.13 2852 2853 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2854 2855commit fcda446877a62e7443d7bc704ba3610e90d1e755 2856Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2857Date: Mon Jul 7 22:22:28 2014 -0700 2858 2859 specs/XKB: Add <figure> tags and make Figure references link to them 2860 2861 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2862 2863commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 2864Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2865Date: Mon Jul 7 21:30:01 2014 -0700 2866 2867 specs/XKB: Turn Table references into links 2868 2869 Adds id attributes to all table tags so we can link to them 2870 2871 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2872 2873commit 135fa07b74cb50172c6a75768d499cd87ddb336e 2874Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2875Date: Sun Jul 6 21:29:59 2014 -0700 2876 2877 specs/XKB: Turn section references into xref links 2878 2879 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2880 2881commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 2882Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2883Date: Sun Jul 6 21:17:18 2014 -0700 2884 2885 specs/XKB: Turn Chapter references into xref links 2886 2887 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2888 2889commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 2890Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2891Date: Sun Jul 6 20:40:18 2014 -0700 2892 2893 specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 2894 2895 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2896 2897commit b00a7ddff2744238fbfe31c2298b02028a45a6ff 2898Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2899Date: Sun Jul 6 20:34:51 2014 -0700 2900 2901 specs/XKB: Markup function names as <function> instead of <emphasis> 2902 2903 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2904 2905commit bfbb58b7679221cb5c9212665209ea9099ad079a 2906Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2907Date: Sun Jul 6 20:25:46 2014 -0700 2908 2909 specs/XKB: normalize <emphasis> layout in xml files 2910 2911 - Stop placing <emphasis> on empty space, commas, and periods. 2912 - Move periods & commas after closing </emphasis> tag 2913 - move <emphasis> open & close tags to same line, instead of mirroring 2914 nroff layout. 2915 2916 Simplifies automating further transformations of these tags. 2917 2918 Performed via: 2919 perl -i -0 -p \ 2920 -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 2921 -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 2922 -e 's{\n([\.,])\s*}{\1\n}msg;' \ 2923 -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 2924 -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 2925 2926 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2927 2928commit b16ee69a0103109a661a88140a1765dcd7bda634 2929Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2930Date: Sun Jul 6 15:57:41 2014 -0700 2931 2932 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 2933 2934 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2935 2936commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 2937Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2938Date: Sun Jul 6 19:29:38 2014 -0700 2939 2940 specs/XKB: Add index 2941 2942 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2943 2944commit 72ae1d793be078db521dda60af578ece71f364de 2945Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2946Date: Sun Jul 6 13:21:40 2014 -0700 2947 2948 specs/XKB: Fix various markup issues in functiondecl tables 2949 2950 - Merge some functionargdecl entries incorrectly split across rows 2951 - Add missing parameter name markup to some functionargdecls 2952 - Add missing function prototype markup to a functiondecl 2953 - Remove stray emphasis tags in a functiondecl 2954 2955 Allows them to correctly convert to funcsynopsis markup in next step. 2956 2957 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2958 2959commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 2960Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2961Date: Sun Jul 6 12:15:23 2014 -0700 2962 2963 specs/XKB: Convert header filenames to filename tags 2964 2965 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2966 2967commit 5525e8433f93bce464412f27cffa203ea628f368 2968Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2969Date: Tue Jul 8 00:05:32 2014 -0700 2970 2971 specs/libX11: disengender a user reference 2972 2973 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2974 2975commit d8679eae9317b389ad4acb0430360ee0663e2af8 2976Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2977Date: Fri Jul 11 18:41:42 2014 -0700 2978 2979 specs/libX11: Correct value of IconicState to match Xutil.h 2980 2981 Xutil.h has always had a value of 3 for IconicState, since 2 was 2982 previously used for the long-obsolete ZoomState, so make the spec 2983 match what programs have used for decades. 2984 2985 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2986 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 2987 2988commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 2989Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2990Date: Fri Jul 11 10:34:08 2014 -0700 2991 2992 Use C99 named initializers to fill in events passed to XSendEvent 2993 2994 Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 2995 and allows optimizer to order field initialization to best fit cache layout 2996 or other considerations. 2997 2998 Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 2999 instructions to rapidly zero-fill structs. 3000 3001 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3002 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3003 3004commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 3005Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3006Date: Sun Jul 6 11:13:49 2014 -0700 3007 3008 Fix validation of ctrls parameter to XkbGetPerClientControls() 3009 3010 Nothing in the XKB spec states that the memory pointed to by ctrls has to 3011 be initialized to any given value when passed to the function, only that 3012 it is set by the function to the values returned by the X server: 3013 http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 3014 3015 The check for the incoming value seems to be copied from 3016 XkbSetPerClientControls without explanation. 3017 3018 Instead change it to checking if ctrls is non-NULL, since there's no 3019 point asking the X server to return a value the caller won't even see. 3020 3021 Found while investigating report from cppcheck-1.65: 3022 [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 3023 dereference: ctrls - otherwise it is redundant to check it against null. 3024 3025 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3026 3027commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 3028Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3029Date: Sun Jul 6 10:54:57 2014 -0700 3030 3031 Fix map->num_types check in XkbAddKeyType() 3032 3033 Check is intended to ensure we allocate at least XkbNumRequiredTypes 3034 in map, but was accidentally marked with a ! causing the wrong check. 3035 3036 Reported-by: Harms <wharms@bfs,de> 3037 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 3038 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3039 3040commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 3041Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3042Date: Sun Jul 6 15:08:21 2014 -0700 3043 3044 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 3045 3046 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3047 3048commit a06ea86773568926c36ae650b188fc818d540db7 3049Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3050Date: Sun Jul 6 15:04:27 2014 -0700 3051 3052 specs/libX11: Fix height & width in parameter lists to be two separate entries 3053 3054 "unsigned int width, unsigned int height", not a single parameter "height" 3055 of type "unsignedintwidth,". 3056 3057 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3058 3059commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 3060Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3061Date: Sun Jul 6 14:38:10 2014 -0700 3062 3063 specs/libX11: Fix x & y in parameter lists to be two separate parameters 3064 3065 "int x, int y" not a single parameter y of type "intx" 3066 3067 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3068 3069commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 3070Author: walter harms <wharms@bfs.de> 3071Date: Sat Jun 7 12:03:17 2014 +0200 3072 3073 lcDefConv.c: fix use before check 3074 3075 * Do not use variables before checked for NULL. 3076 * remove some superfluid spaces (Mark Kettenis) 3077 3078 Signed-off-by: Harms <wharms@bfs,de> 3079 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3080 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3081 3082commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 3083Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3084Date: Mon Jun 16 15:16:10 2014 -0700 3085 3086 Start adding Unicode 7.0 support to compose table 3087 3088 New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 3089 3090 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3091 3092commit a4679baaa18142576d42d423afe816447f08336c 3093Author: walter harms <wharms@bfs.de> 3094Date: Sat Jun 7 11:54:34 2014 +0200 3095 3096 rm redundant null checks 3097 3098 remove more redundant NULL checks 3099 note that _XkbFree() is really Xfree() 3100 3101 Signed-off-by: Harms <wharms@bfs,de> 3102 Reviewed-by: Rémi Cardona <remi@gentoo.org> 3103 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3104 3105commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 3106Author: walter harms <wharms@bfs.de> 3107Date: Sat Jun 7 15:17:27 2014 +0200 3108 3109 libX11: rm redundante NULL checks 3110 3111 This patch removes the last remaining NULL checks for Xfree() 3112 3113 Signed-off-by: Harms <wharms@bfs,de> 3114 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 3115 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3116 3117commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 3118Author: walter harms <wharms@bfs.de> 3119Date: Fri Jun 6 22:53:05 2014 +0200 3120 3121 Remove more redundant null checks before Xfree() 3122 3123 Signed-off-by: Harms <wharms@bfs,de> 3124 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3125 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3126 3127commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 3128Author: walter harms <wharms@bfs.de> 3129Date: Thu Jun 5 18:37:40 2014 +0200 3130 3131 Remove redundant null checks before free 3132 3133 This patch removes some redundant null checks before free. 3134 It should not change the code otherwise. Be aware that this 3135 is only the first series. 3136 3137 Signed-off-by: Harms <wharms@bfs,de> 3138 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3139 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3140 3141commit 7d452fad5068ba92b964e92bc46708046f4044aa 3142Author: walter harms <wharms@bfs.de> 3143Date: Wed Jun 4 17:12:31 2014 +0200 3144 3145 libX11/lcUTF8.c fix: dereferenced before check 3146 3147 * Do not use variables before checked for NULL. 3148 3149 Signed-off-by: Harms <wharms@bfs,de> 3150 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3151 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3152 3153commit a3808f51517a720e7ff738208af60865779dd6ef 3154Author: walter harms <wharms@bfs.de> 3155Date: Wed Jun 4 17:10:20 2014 +0200 3156 3157 libX11/XKBNames.c fix: dereferenced before check 3158 3159 * Do not use variables before checked for NULL. 3160 3161 Signed-off-by: Harms <wharms@bfs,de> 3162 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3163 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3164 3165commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 3166Author: walter harms <wharms@bfs.de> 3167Date: Wed Jun 4 17:08:12 2014 +0200 3168 3169 libX11/lcGenConv.c fix: dereferenced before check 3170 3171 * Do not use variables before checked for NULL. 3172 3173 Signed-off-by: Harms <wharms@bfs,de> 3174 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3175 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3176 3177commit c6bc28d433243c32b3f74955f1478451b4fd27b5 3178Author: Andreas Schwab <schwab@linux-m68k.org> 3179Date: Sun Jan 19 16:59:13 2014 +0100 3180 3181 Restore lost tabs in sed commands 3182 3183 Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 3184 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3185 3186commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 3187Author: Benno Schulenberg <bensberg@justemail.net> 3188Date: Thu Sep 19 11:01:11 2013 +0200 3189 3190 nls: Transform Brazilian compose file to an include plus three overrides. 3191 3192 Signed-off-by: James Cloos <cloos@jhcloos.com> 3193 3194commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 3195Author: Benno Schulenberg <bensberg@justemail.net> 3196Date: Fri Sep 6 12:10:01 2013 +0200 3197 3198 nls: Adding the missing compose sequences with <comma> for O with ogonek. 3199 3200 All other vowels with ogoneks can already be composed using <comma>. 3201 3202 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3203 Signed-off-by: James Cloos <cloos@jhcloos.com> 3204 3205commit 655b60f48376069750b151c46da836fdd411c83b 3206Author: Benno Schulenberg <bensberg@justemail.net> 3207Date: Fri Sep 6 12:04:24 2013 +0200 3208 3209 nls: Adding the missing postfix sequences for composing vowels with ogoneks. 3210 3211 It existed for lowercase i, but not for uppercase I nor the other vowels. 3212 3213 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3214 Signed-off-by: James Cloos <cloos@jhcloos.com> 3215 3216commit 7f8f9a36ef901f31279c385caf960a22daeb33fe 3217Author: Owen W. Taylor <otaylor@fishsoup.net> 3218Date: Fri May 9 18:21:05 2014 -0400 3219 3220 Fix XNextRequest() after direct usage of XCB 3221 3222 When XCB owns the X socket, dpy->request is not updated, so 3223 NextRequest() and XNextRequest() return the wrong value. There's 3224 nothing we can do to fix NextRequest() while retaining ABI compat, 3225 but change XNextRequest() to grab the socket back from XCB, 3226 updating dpy->request. 3227 3228 Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 3229 Reviewed-by: Uli Schlachter <psychon@znc.in> 3230 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3231 3232commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 3233Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3234Date: Sun May 4 11:54:59 2014 -0700 3235 3236 Add missing .TE tags to end tables in Xkb man pages 3237 3238 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3239 3240commit 280274e5292e013b43e552274111fab434f5ed4e 3241Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3242Date: Sun May 4 11:23:17 2014 -0700 3243 3244 XCreateGC.man: simplify table to work with Solaris tbl 3245 3246 Having every table cell be a text diversion (T{...T}) was too much for 3247 Solaris tbl to handle, and thus "man XCreateGC" would print the error 3248 /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 3249 tbl quits 3250 and not display the table of mask bits or any text in the man page after 3251 that table. Since the #define column doesn't need special handling, 3252 making it not use text diversions brings the table under the tbl limit. 3253 3254 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3255 3256commit 93bb325a54025dd15f4744abce54b358960420f9 3257Author: James Cloos <cloos@jhcloos.com> 3258Date: Tue May 20 17:30:10 2014 -0400 3259 3260 Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 3261 3262 Parenleft is already in use for sequences of the form <(> <letter> <)> 3263 to generate circled letters. 3264 3265 Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 3266 3267 This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 3268 3269 Signed-off-by: James Cloos <cloos@jhcloos.com> 3270 3271commit 060707851be918f2f507a26d17b016f764ddf2b4 3272Author: Benno Schulenberg <bensberg@justemail.net> 3273Date: Fri Sep 6 11:42:59 2013 +0200 3274 3275 nls: Adding accessible compose sequences for Ș and Ț (with comma below). 3276 3277 Compose sequences with <dead_belowcomma> exist, but very few keyboard 3278 layouts contain that symbol. So a more usual character is needed to be 3279 able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 3280 used for composing letters with ogoneks -- but only vowels take ogoneks, 3281 so the character is free for consonants, and thus <semicolon> is used 3282 here to compose commas below. It is somewhat fitting, because on most 3283 Romanian keyboards the Ș is placed on that key, and the Ț next to it. 3284 3285 (Oh -- the more obvious sequences with <comma> were already taken for 3286 composing S and T with cedillas.) 3287 3288 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3289 Signed-off-by: James Cloos <cloos@jhcloos.com> 3290 3291commit ca435c2f753aa2961fb35ac448cdb2cc77112755 3292Author: Benno Schulenberg <bensberg@justemail.net> 3293Date: Tue Sep 3 21:10:33 2013 +0200 3294 3295 nls: Ordering some compose sequences in a more customary way. 3296 3297 The custom seems to be: pairing the ones that have only the sequence of 3298 two keys reversed, and putting the one with the diacritic first first. 3299 3300 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3301 Signed-off-by: James Cloos <cloos@jhcloos.com> 3302 3303commit f020235f4bd91fb6eade82f8c9f7b85a57981768 3304Author: Benno Schulenberg <bensberg@justemail.net> 3305Date: Tue Sep 3 20:44:42 2013 +0200 3306 3307 nls: Adding compose sequences (with <parenleft> first) that GTK also has. 3308 3309 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3310 Signed-off-by: James Cloos <cloos@jhcloos.com> 3311 3312commit bda0b3b5bd19154206dc40166364e73d4b6b1374 3313Author: Benno Schulenberg <bensberg@justemail.net> 3314Date: Tue Sep 3 11:14:16 2013 +0200 3315 3316 nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 3317 3318 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3319 Signed-off-by: James Cloos <cloos@jhcloos.com> 3320 3321commit 8be4610939b833587954957f5963eb4191b43d19 3322Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3323Date: Thu Mar 13 23:22:48 2014 -0700 3324 3325 Fix "follwing" typo in en_US.UTF-8/Compose comment 3326 3327 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3328 3329commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 3330Author: Reuben Thomas <rrt@sc3d.org> 3331Date: Mon Jan 27 14:18:24 2014 +0000 3332 3333 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 3334 3335 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3336 3337commit d6bd988bc00494914b38b95ee5df77ac4f32f19f 3338Author: Peter Hutterer <peter.hutterer@who-t.net> 3339Date: Mon Mar 3 12:38:48 2014 +1000 3340 3341 man: fix man page for XkbGetMap 3342 3343 Returned structure must be freed with XkbFreeKeyboard(). 3344 3345 Reported-by: Morten Bøgeskov <mb@dbc.dk> 3346 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3347 3348commit a6dcf2201a05adbff54122df05a1e6325936abb6 3349Author: Ran Benita <ran234@gmail.com> 3350Date: Tue Feb 11 13:26:16 2014 +0200 3351 3352 Remove dead USE_OWN_COMPOSE-protected code 3353 3354 The build doesn't provide any way to define this option. It also refers 3355 to files (imComp.h) and functions (e.g. XimCompInitTables(), 3356 XimCompProcessSym()) which are not found anywhere, and the ordinary 3357 Compose implementation in xim doesn't use any of it. 3358 3359 Signed-off-by: Ran Benita <ran234@gmail.com> 3360 Reviewed-by: Julien Cristau <jcristau@debian.org> 3361 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3362 3363commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 3364Author: Ran Benita <ran234@gmail.com> 3365Date: Sun Feb 16 15:24:58 2014 +0200 3366 3367 nls: always use XCOMM instead of # for comments in Compose.pre files 3368 3369 Lines starting with # are considered as preprocessor directives in the 3370 .pre files. 3371 3372 Fixes warnings like: 3373 <stdin>:3:0: error: invalid preprocessing directive #Khmer 3374 3375 Signed-off-by: Ran Benita <ran234@gmail.com> 3376 Signed-off-by: James Cloos <cloos@jhcloos.com> 3377 3378commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 3379Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3380Date: Thu Feb 6 13:48:08 2014 -0800 3381 3382 Fix typos in Xrm.c comments 3383 3384 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3385 3386commit aacf95dacc7c598e7297894580d4d655593813b2 3387Author: Marko Myllynen <myllynen@redhat.com> 3388Date: Mon Jan 13 16:43:18 2014 +0200 3389 3390 Annotate Finnish Compose map with Unicode code points 3391 3392 Scripted annotation, no functional changes. 3393 3394 Signed-off-by: James Cloos <cloos@jhcloos.com> 3395 3396commit 20fdccd81b54678376d49e00edfebbbe94951f07 3397Author: Teemu Likonen <tlikonen@iki.fi> 3398Date: Fri Jul 20 19:21:04 2012 +0300 3399 3400 Fix "RING ABOVE" key in the Finnish compose file 3401 3402 The Finnish keyboard standard defines that <dead_abovering> <space> must 3403 insert the character U+02DA RING ABOVE. Currently the Finnish Compose 3404 file inserts U+00B0 DEGREE SIGN even though the line's comment says 3405 "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 3406 3407 Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 3408 Signed-off-by: James Cloos <cloos@jhcloos.com> 3409 3410commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 3411Author: Ran Benita <ran234@gmail.com> 3412Date: Wed Jan 29 02:11:47 2014 +0200 3413 3414 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 3415 3416 Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 3417 keysyms: 3418 3419 #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 3420 #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 3421 3422 (and similarly for uhorn), there is no need to have both names. Remove 3423 the unicode literal ones. 3424 3425 Signed-off-by: Ran Benita <ran234@gmail.com> 3426 Signed-off-by: James Cloos <cloos@jhcloos.com> 3427 3428commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 3429Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3430Date: Sat Jan 18 22:35:18 2014 -0800 3431 3432 Add RANDR 1.4 requests & events to XErrorDB 3433 3434 Checked against randrproto.txt & randr.h 3435 3436 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3437 3438commit 321392ded15a7ee9d177d4ebe8846336ba76741c 3439Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3440Date: Fri Jan 3 20:04:33 2014 -0800 3441 3442 Remove unused ETEST & ESZTEST macros from XlibInt.c 3443 3444 Left behind when 15e5eaf62897 removed support for building without XCB. 3445 3446 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3447 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 3448 3449commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 3450Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3451Date: Thu Dec 26 09:26:13 2013 -0800 3452 3453 _XkbReadGeomOverlay: check for NULL first, then use pointer 3454 3455 Flagged by cppcheck 1.62: 3456 [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 3457 (warning) Possible null pointer dereference: row - otherwise it is 3458 redundant to check it against null. 3459 3460 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3461 3462commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 3463Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3464Date: Thu Dec 26 09:22:49 2013 -0800 3465 3466 XkbSelectEventDetails: remove unnecessary assignments 3467 3468 clear & selectAll are set to 0 already a few lines earlier, 3469 affectWhich is set to XkbMapNotifyMask a few lines later. 3470 None are used between the other assignments and the removed ones. 3471 3472 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3473 3474commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 3475Author: Jon TURNEY <jon.turney@dronecode.org.uk> 3476Date: Thu Oct 7 18:46:08 2010 +0100 3477 3478 Don't try so hard to find a matching font with the given encoding 3479 3480 See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 3481 3482 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 3483 does XCreateFontSet() with a font name of "*", we end up asking the server 3484 to list the (non-existent) fonts 11 times for each CJK encoding, which can 3485 take a while. 3486 3487 A * wildcard can match multiple components in a XLFD name in XListFonts(), 3488 so there's no need to try adding more than one to get a match. 3489 3490 We do try once with a leading '*-' in case the fontname isn't a full 3491 well-formed XLFD name, maybe even that isn't needed? 3492 3493 (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 3494 3495 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 3496 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3497 3498commit 7e163300735d4bcd3386b86eec112acdad139c59 3499Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3500Date: Mon Dec 2 21:51:27 2013 -0800 3501 3502 unifdef -UISC 3503 3504 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3505 3506commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 3507Author: Benno Schulenberg <bensberg@justemail.net> 3508Date: Thu Sep 19 13:20:05 2013 +0200 3509 3510 nls: Fix transposed locale identifier for Khmer. 3511 3512 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3513 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3514 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3515 3516commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 3517Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3518Date: Sat Nov 16 20:21:54 2013 -0800 3519 3520 Drop X_LOCALE fallback for OS'es without setlocale() 3521 3522 C89 or bust! This was documented as being needed for "only Lynx, 3523 Linux-libc5, OS/2" and has never been enabled in modular builds, 3524 since none of those platforms have had anyone step up to add support 3525 since the X11R7 conversion to autotools. 3526 3527 Mostly performed with unifdef -UX_LOCALE, followed by removal of files 3528 left without any purpose, and manual cleanup of remaining references. 3529 3530 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3531 Reviewed-by: Adam Jackson <ajax@redhat.com> 3532 3533commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 3534Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3535Date: Wed Oct 23 10:37:53 2013 -0700 3536 3537 Xcms file parsing should not require the impossible to succeed 3538 3539 The field2 helper function, to split lines from Xcms.txt files into 3540 two tab delimited fields, contained a check: 3541 3542 if ((*pBuf != '\n') || (*pBuf != '\0')) { 3543 return(XcmsFailure); 3544 3545 which would cause it to return failure unless *pBuf had a value that 3546 was simultaneously equal to both \n & \0, and no one wants to live in 3547 a world where that could ever be true. 3548 3549 This has gone unnoticed since 1991, since this only caused lines 3550 in Xcms.txt that started with whitespace to be rejected, but now 3551 gcc -Wlogicalop has brought it to our attention, and 3552 https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 3553 3554 Now that we see it, and cannot unsee it, we change it to use the 3555 same logic as the check at other points in this function, to return 3556 failure only if we hit \n or \0 before we find the first non-whitespace 3557 character, so that lines starting with whitespace will have the space 3558 skipped over to get to the color name to be defined. 3559 3560 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3561 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 3562 3563commit 18a5278b008e9faa59b346fcab18a8d74b875fda 3564Author: Gaetan Nadon <memsize@videotron.ca> 3565Date: Sat Sep 28 17:33:52 2013 -0400 3566 3567 makekeys: don't need to use target-specific CFLAGS 3568 3569 It's the only thing built in that directory, so we can use AM_CFLAGS 3570 and AM_CPPFLAGS as usual. 3571 3572 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3573 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 3574 3575commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 3576Author: James Cloos <cloos@jhcloos.com> 3577Date: Tue Sep 17 12:50:42 2013 -0400 3578 3579 nls/en_US.UTF-8/Compose.pre: Fix typo. 3580 3581 Fix typo added in 215ce6a67863, s/actute/acute/. 3582 3583 Fixes bug #69476. Reported by Jean Krohn. 3584 3585 Signed-off-by: James Cloos <cloos@jhcloos.com> 3586 3587commit cb107760df33ffc8630677e66e2e50aa37950a5c 3588Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3589Date: Sun Sep 8 18:37:01 2013 -0700 3590 3591 libX11 1.6.2 3592 3593commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 3594Author: Benno Schulenberg <bensberg@justemail.net> 3595Date: Sun Sep 1 12:38:30 2013 +0200 3596 3597 nls: Adding more accessible compose sequences for J́ and j́. 3598 3599 Few keyboards have an <acute> key, so this adds the much more 3600 accessible and usual compose sequences with <apostrophe>, ánd 3601 the most comfortable ones with <dead_acute>. 3602 3603 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 3604 Signed-off-by: James Cloos <cloos@jhcloos.com> 3605 3606commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 3607Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3608Date: Sat Aug 24 17:27:43 2013 -0700 3609 3610 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 3611 3612 Pass *new* size to realloc, not old size. 3613 3614 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3615 3616commit c2b8e30790c21d6386767265263b3294ce1b1f9a 3617Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3618Date: Fri Aug 16 21:04:02 2013 -0700 3619 3620 Stop checking for HAVE_DIX_CONFIG_H on the client side 3621 3622 Leftover from when these XKB files were shared with the server sources 3623 and could be compiled in either the client or server, with the different 3624 autoconf config files in each. 3625 3626 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3627 3628commit 84276609b2f0aec74fb464c428c7db5714b0fcfc 3629Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3630Date: Fri Aug 16 18:27:28 2013 -0700 3631 3632 Rearrange some variable declarations & initializations in XKB 3633 3634 Little things noticed during XKB restyling that seemed to make the 3635 code easier to read. 3636 3637 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3638 3639commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 3640Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3641Date: Sun Aug 11 13:29:33 2013 -0700 3642 3643 Reindent XKB code to X.Org standard style 3644 3645 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3646 3647commit c0a0f78eb49c2e4ad956209de77475c85b9314ea 3648Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3649Date: Fri Aug 16 18:14:14 2013 -0700 3650 3651 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 3652 3653 We were checking to make sure that the largest keysym value was within 3654 the range of the allocated buffer, but checking against different limits 3655 in the not-yet-allocated vs. the already-allocated branches. 3656 3657 The check should be the same in both, and reflect the size used for the 3658 allocation, which is based on the maximum key code value, so we move it 3659 to be a common check, before we branch, instead of duplicating in each 3660 branch. 3661 3662 map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 3663 map->syms is the array for which num_syms is recorded, hence is not the 3664 right value to check for ensuring our key_sym_map accesses are in range. 3665 3666 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3667 Reported-by: Barry Kauler <bkauler@gmail.com> 3668 Tested-by: Barry Kauler <bkauler@gmail.com> 3669 3670commit bea6cbd027973142fc64532274e1d16861b47190 3671Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3672Date: Sun Aug 11 17:02:21 2013 -0700 3673 3674 Remove long unused src/udcInf.c 3675 3676 I can find no record of what this file was for. Neither the X11R6.8.2 3677 monolith Imakefile nor any modular release Makefile.am have ever built 3678 it and nothing else references it. 3679 3680 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3681 3682commit bf3501e0395abe890acfea98fdd9f50a6966f118 3683Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3684Date: Sun Aug 11 00:07:33 2013 -0700 3685 3686 Remove unnecessary casts of pointers to (char *) in calls to Xfree() 3687 3688 Left one cast behind that is necessary to change from const char * 3689 to char * in src/xlibi18n/lcCharSet.c. 3690 3691 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3692 3693commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 3694Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3695Date: Sat Aug 10 23:57:55 2013 -0700 3696 3697 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 3698 3699 sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 3700 don't strip down to unsigned int and re-expand unnecessarily. 3701 3702 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3703 3704commit 25a7a329def672fc8d26078538173777850c6390 3705Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3706Date: Sat Aug 10 23:51:08 2013 -0700 3707 3708 Remove even more casts of return values from Xmalloc/Xrealloc 3709 3710 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3711 3712commit f8fa16092a148b74ca35b4beb182053352606f2f 3713Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3714Date: Sat Aug 10 23:05:13 2013 -0700 3715 3716 xlibi18n: fix argsize argument to _XlcParsePath 3717 3718 The array is defined as having NUM_LOCALEDIR entries, so use that 3719 instead of hardcoded 256 value (the other two calls already did this). 3720 3721 Reported by parfait: 3722 Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 3723 Pointer size is 64 elements (of 8 bytes each), index is 255 3724 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 3725 called at line 178 in function '_XlcParsePath' with argv = argv. 3726 called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 3727 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 3728 called at line 178 in function '_XlcParsePath' with argv = argv. 3729 called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 3730 3731 [ This bug was found by the Parfait 1.2.0 bug checking tool. 3732 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 3733 3734 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3735 3736commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 3737Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3738Date: Sat Aug 10 22:32:42 2013 -0700 3739 3740 i18n modules: Fix some const cast warnings 3741 3742 imRm.c: In function '_XimSetICMode': 3743 imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 3744 imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 3745 3746 lcGenConv.c: In function 'byteM_parse_codeset': 3747 lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 3748 3749 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3750 3751commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 3752Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3753Date: Sat Aug 10 22:21:54 2013 -0700 3754 3755 xlibi18n: Fix a bunch of const cast warnings 3756 3757 Add const qualifiers to casts where needed, remove other casts that 3758 are no longer needed. 3759 3760 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3761 3762commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 3763Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3764Date: Sat Aug 10 22:18:00 2013 -0700 3765 3766 Fix const handling in XSetLocaleModifiers 3767 3768 Instead of reusing the input parameter to store the output, make a 3769 result variable instead, so that there's less const confusion. 3770 3771 Fixes gcc warnings: 3772 lcWrap.c: In function 'XSetLocaleModifiers': 3773 lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 3774 lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 3775 lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 3776 3777 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3778 3779commit 8ebbffa98563960910152e4f2e31cb032375d871 3780Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3781Date: Sat Aug 10 21:46:37 2013 -0700 3782 3783 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 3784 3785 Makes code considerably less crufty and clears gcc warnings: 3786 XlcDL.c: In function '_XlcDynamicLoad': 3787 XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 3788 from pointer target type [-Wcast-qual] 3789 XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 3790 from pointer target type [-Wcast-qual] 3791 3792 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3793 3794commit 07e4e864107b38c2f393564fdacc90f4e858f23f 3795Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3796Date: Sat Aug 10 13:37:53 2013 -0700 3797 3798 init_om: remove unneeded extra copy of string to local buffer 3799 3800 Strings from the supported_charset_list[] were being copied one by 3801 one to a stack buffer, and then strdup called on that buffer. 3802 3803 Instead, just strdup the original string, without the local copy, 3804 and use a more traditional for loop, so it's easier to figure out 3805 what the code is doing (cleaning up a gcc const-cast warning in 3806 the process). 3807 3808 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3809 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3810 3811commit 1cec14dad904ba21a861f4af131be5982ecb83dd 3812Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3813Date: Sat Aug 10 12:34:53 2013 -0700 3814 3815 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 3816 3817 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3818 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3819 3820commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 3821Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3822Date: Sat Aug 10 12:19:17 2013 -0700 3823 3824 miRegionOp(): ensure region size is not updated if realloc fails 3825 3826 This function performs operations on a region, and when finished, 3827 checks to see if it should compact the rectangle list. If the 3828 number of rectangles for which memory is allocated in the list is 3829 more than twice the number used, it tries to shrink. realloc() 3830 should not fail in this case, but if it does, might as well keep 3831 the correct value for the number of allocated rectangles, so we 3832 don't try to grow it unnecessarily later if adding to the region. 3833 3834 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3835 3836commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 3837Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3838Date: Sat Aug 10 12:19:17 2013 -0700 3839 3840 miRegionCopy(): handle realloc failure better 3841 3842 Zero out the region size when freeing the region so callers don't think 3843 there's anything there. (Pointer is already set to NULL from the realloc 3844 result itself.) Return 0 to the callers, and have them cascade that back 3845 to their callers to indicate failure, instead of their usual return value 3846 of 1 on success. 3847 3848 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3849 3850commit 5dc8b5385d513bbda88697c2372db750d23f46d4 3851Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3852Date: Sat Aug 10 11:27:22 2013 -0700 3853 3854 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 3855 3856 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3857 3858commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 3859Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3860Date: Sat Aug 10 12:07:51 2013 -0700 3861 3862 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 3863 3864 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3865 3866commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 3867Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3868Date: Sat Aug 10 12:30:39 2013 -0700 3869 3870 lcDB.c: ensure buffer size is updated correctly if realloc fails 3871 3872 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3873 3874commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 3875Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3876Date: Sat Aug 10 11:07:47 2013 -0700 3877 3878 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 3879 3880 Previously, if realloc failed to increase the size, we'd still 3881 record that we had allocated the larger size, but the pointer 3882 to it would be NULL, causing future calls to be broken, and the 3883 previous allocation to be lost/leaked. 3884 3885 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3886 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3887 3888commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 3889Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3890Date: Fri Aug 9 23:33:03 2013 -0700 3891 3892 omGeneric.c: convert sprintf calls to snprintf 3893 3894 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3895 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3896 3897commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 3898Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3899Date: Fri Aug 9 23:30:30 2013 -0700 3900 3901 ximcp/imRm.c: convert sprintf calls to snprintf 3902 3903 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3904 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3905 3906commit 4fadae243fb485628c9a137f5da3489ed6214b21 3907Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3908Date: Fri Aug 9 23:02:12 2013 -0700 3909 3910 xlibi18n: convert sprintf calls to snprintf 3911 3912 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3913 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3914 3915commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 3916Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3917Date: Fri Aug 9 23:02:12 2013 -0700 3918 3919 lcfile: skip over any null entries in args list 3920 3921 Previous code seemed to assume that printf("%s", NULL) would result 3922 in a 0-length string, not "(null)" or similar, but since there's no 3923 point looking for files in "(null)/filepath...", instead we just 3924 skip over NULL entries in search paths when generating file names. 3925 3926 In the *DirName() functions, this effectively just moves the "bail on 3927 NULL in arg[i]" check up from the later code that assigned it to targetdir 3928 and then bailed if that was NULL. 3929 3930 Not sure how there ever could be a NULL in arg[i], given the current 3931 implementation of XlcParsePath, but it's easy enough to check once and 3932 reject up front instead of on every reference. 3933 3934 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3935 3936commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 3937Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3938Date: Fri Aug 9 22:00:09 2013 -0700 3939 3940 Fix file leak on malloc error in XlcDL.c:resolve_object() 3941 3942 File Leak: Leaked File fp 3943 at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 3944 fp initialized at line 198 with fopen 3945 3946 [ This bug was found by the Parfait 1.2.0 bug checking tool. 3947 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 3948 3949 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3950 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3951 3952commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 3953Author: Julien Cristau <jcristau@debian.org> 3954Date: Sat Jun 15 18:02:21 2013 +0200 3955 3956 Add missing locales to configure.ac 3957 3958 Commits 40761898692e5063957bfa2518cca3d35b2e354a and 3959 f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 3960 (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 3961 meaning they're not included in tarballs. 3962 3963 Signed-off-by: Julien Cristau <jcristau@debian.org> 3964 Reviewed-by: James Cloos <cloos@jhcloos.com> 3965 3966commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 3967Author: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 3968Date: Tue Dec 18 15:28:05 2012 +0000 3969 3970 Fix bogus timestamp generated by XIM 3971 3972 Fix bogus timestamp generted by XIM due to uninitialized 3973 data field. Also set appropriate serial, too. 3974 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 3975 3976 Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 3977 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3978 3979commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 3980Author: Egbert Eich <eich@freedesktop.org> 3981Date: Thu Jun 16 18:47:49 2011 +0200 3982 3983 XIM: Fix sync problem on focus change. 3984 3985 XSetICFocus() and XUnsetICFocus() are both asynchronous events. 3986 This is a pretty stupid idea: those functions may undo certain 3987 settings on the client side for which requests from the server 3988 may still be in the queue unprocessed. Thus things may be set 3989 in the wrong order ie instead of set -> unest it will be unset -> set. 3990 Moreover there is no way for either the client or the server to 3991 cause the event queue to be flushed - which is pretty bad as 3992 XIM is bidirectional. 3993 The scenario is as follows: 3994 Two ICs are created: 3995 ic1 = XCreateIC(im, 3996 XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 3997 XNClientWindow, window, 3998 XNPreeditAttributes, preedit_attr, 3999 XNStatusAttributes, status_attr, 4000 NULL); 4001 ic2 = XCreateIC(im, XNInputStyle, 4002 XIMPreeditNothing | XIMStatusNothing, 4003 XNClientWindow, window, NULL); 4004 Then the focus is removed from ic2: 4005 XUnsetICFocus(ic2); 4006 If SCIM is used as the input server it will send a bunch of requests 4007 following an XCreateIC(). One of the requests registers a key release 4008 filter. XUnsetICFocus() unsets both key press and release filters. 4009 Since it is asynchronous, the input server requests to register key 4010 press and release filters may not have been processed, when XUnsetICFocus() 4011 is called. Since there is no explicite way for client programs to enforce 4012 the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 4013 call it would be safest to make those two calls synchronous in the sense 4014 that they ensure the request queue has been handled before they execute. 4015 The easiest way to do this from Xlib is thru a call to XGetICValues() 4016 which sends a request to the server and subsequently reads the queue 4017 from the server to the client. This will cause all outstanding requests 4018 in the queue to be read and handled. 4019 This is an ugly hack and this could be fixed directly in the client, 4020 however it seems to be easier to fix Xlib than to fix numerous clients. 4021 This problem arose since there is no well documented way how to handle 4022 and synchronize XIM requests and not all input servers send requests 4023 when an IC is created. 4024 This has been discussed extensively in: 4025 https://bugzilla.novell.com/show_bug.cgi?id=221326 4026 4027 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4028 4029commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 4030Author: Egbert Eich <eich@freedesktop.org> 4031Date: Thu Jun 16 17:28:39 2011 +0200 4032 4033 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 4034 4035 When synthesized key events are sent on commit XIM sets the 'fabricated' 4036 flag so that the keypress handler knows that these were not real events. 4037 This also happens when committing due to the loss of focus. However in this 4038 case the keypress/release filters which consume and unset this flag are no 4039 longer in the filter chain. 4040 So the flag is erronously set when a real keyboard event is received after 4041 focus has been regained. So the first event is wrongly treated as a 4042 fabricated key in the keypress handler which will at the same time reset 4043 the flag so the second key event is treated correctly. 4044 This fix only sets the flag when at least one of the keyboard filters is in 4045 place. 4046 How to reproduce this bug: run scim, choose a Japanese input method start 4047 two instances of xterm: start typing in one xterm (this should pop up an 4048 IM window). Without comitting (hitting 'enter') move focus to the other 4049 xterm, then move focus back. Start typing again. The first character will 4050 be committed immediately without popping up an input window. 4051 With this fix this behavior is gone. 4052 4053 See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 4054 4055 Signed-off-by: Egbert Eich <eich@freedesktop.org> 4056 4057commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 4058Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4059Date: Mon Jul 29 21:29:49 2013 -0700 4060 4061 libX11 1.6.1 4062 4063 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4064 4065commit d19cfaca15826943d3c637ef7fa5db0a23d5feed 4066Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4067Date: Sat Jul 27 12:19:00 2013 -0700 4068 4069 Fix undefined XCMSDIR error when building lint library 4070 4071 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4072 4073commit 3083cd43d7dcd59da587975e7cadda681cd8a103 4074Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4075Date: Sat Jul 27 00:36:08 2013 -0700 4076 4077 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 4078 4079 Upstreaming from changes originally integrated into OpenSolaris 4080 under Sun bug id 6882572. 4081 4082 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4083 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 4084 4085commit 208e586c808e88a2ee819e4450dc27f557afc2bf 4086Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4087Date: Sat Jul 27 01:03:18 2013 -0700 4088 4089 omGeneric: remove space between struct name & member name 4090 4091 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4092 4093commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 4094Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4095Date: Tue Jul 23 22:18:46 2013 -0700 4096 4097 Refactor common code from XAddHost & XRemoveHost into single function 4098 4099 On the Xlib side, the only real difference is the mode flag we send 4100 to the server with the address, so just make that an argument to the 4101 function with the common code for packing the address into the request. 4102 4103 (Aside from labels, gcc 4.7.2 generates identical code before & after 4104 this change due to inlining, verified via diff of gcc -S output.) 4105 4106 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4107 4108commit 3292195a64a9ce4f0d27134cd544651ec647e728 4109Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4110Date: Tue Jul 23 22:11:34 2013 -0700 4111 4112 XSetModifierMapping: Use Data instead of GetReqExtra 4113 4114 Handle arbitrary length data in the same fashion as other calls, 4115 avoiding need to ensure it fits all in the request buffer. 4116 4117 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4118 4119commit feb131b18aee31c2c125dc3275b0260940245882 4120Author: Kees Cook <kees@outflux.net> 4121Date: Sun Jun 9 11:13:43 2013 -0700 4122 4123 libX11: check "req" when calling GetReqExtra 4124 4125 This fixes the two callers of GetReqExtra to check that "req" is non-NULL 4126 to avoid crashing now that GetReqExtra does internal bounds-checking on 4127 the resulting buffer sizes. 4128 4129 Additionally updates comment describing return values to use names 4130 instead of only literal values. 4131 4132 Signed-off-by: Kees Cook <kees@outflux.net> 4133 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4134 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4135 4136commit 54540d7cba0c2bfe9176221c7bca910058d304df 4137Author: Kees Cook <kees@outflux.net> 4138Date: Sun Jun 9 11:13:42 2013 -0700 4139 4140 libX11: check size of GetReqExtra after XFlush 4141 4142 Two users of GetReqExtra pass arbitrarily sized allocations from the 4143 caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 4144 macro) to double-check the requested length and invalidate "req" when 4145 this happens. Users of GetReqExtra passing lengths greater than the Xlib 4146 buffer size (normally 16K) must check "req" and fail gracefully instead 4147 of crashing. 4148 4149 Any callers of GetReqExtra that do not check "req" for NULL 4150 will experience this change, in the pathological case, as a NULL 4151 dereference instead of a buffer overflow. This is an improvement, but 4152 the documentation for GetReqExtra has been updated to reflect the need 4153 to check the value of "req" after the call. 4154 4155 Bug that manifested the problem: 4156 https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 4157 4158 Signed-off-by: Kees Cook <kees@outflux.net> 4159 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4160 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4161 4162commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 4163Author: Thomas Klausner <wiz@NetBSD.org> 4164Date: Tue Jun 25 22:35:29 2013 +0200 4165 4166 Tighten out-of-range comparisons. 4167 4168 [For all of these, LONG_MAX was the correct value to prevent overflows 4169 for the recent CVEs. Lowering to INT_MAX catches buggy replies from 4170 the server that 32-bit clients would reject but 64-bit would accept, 4171 so we catch bugs sooner, and really, no sane & working server should 4172 ever report more than 2gb of extension names, font path entries, 4173 key modifier maps, etc. -alan- ] 4174 4175 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4176 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4177 4178commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 4179Author: Thomas Klausner <wiz@NetBSD.org> 4180Date: Tue Jun 25 18:34:32 2013 +0200 4181 4182 Fix out-of-range comparison in _XF86BigfontQueryFont 4183 4184 clang complained (correctly): 4185 warning: comparison of constant 768614336404564650 with expression 4186 of type 'CARD32' (aka 'unsigned int') is always true 4187 [-Wtautological-constant-out-of-range-compare] 4188 4189 [While LONG_MAX is correct, since it's used in size_t math, the 4190 numbers have to be limited to 32-bit range to be usable by 32-bit 4191 clients, and values beyond that range are far more likely to be 4192 bugs in the data from the server than valid numbers of characters 4193 in a font. -alan- ] 4194 4195 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4196 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4197 4198commit 383e2b0d029482a0f4c39fe00e15397538576fc1 4199Author: Thomas Klausner <wiz@NetBSD.org> 4200Date: Tue Jun 25 18:33:56 2013 +0200 4201 4202 Check for symbol existence with #ifdef, not #if 4203 4204 Reviewed-by: Jamey Sharp <jamey@minilop.net> 4205 4206 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4207 4208commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 4209Author: Thomas Klausner <wiz@NetBSD.org> 4210Date: Tue Jun 25 18:33:07 2013 +0200 4211 4212 Use newer callback-based API for XIM. 4213 4214 Let libX11 load and make available the newer (X11R6) callback-based 4215 API for XIM (expected by emacs). 4216 4217 This patch updates the files to match the other nls/ files. 4218 4219 Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 4220 following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 4221 4222 Reviewed-by: James Cloos <cloos@jhcloos.com> 4223 4224 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4225 4226commit a17ceb7100bd36c2db210473ee701deb5d515731 4227Author: Thomas Klausner <wiz@NetBSD.org> 4228Date: Tue Jun 25 18:31:32 2013 +0200 4229 4230 Stop truncating source to destination length if it is larger. 4231 4232 It seems useless to do that since the code tests for both source 4233 length and destination to be non-zero. This fixes a cut'n'paste 4234 problem in xterm where the paste length was limited to 1024 (BUFSIZ) 4235 in button.c. 4236 4237 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4238 4239commit a336db9a0add3ae0783dda6e52459236622a12af 4240Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4241Date: Mon Jun 24 23:02:05 2013 -0700 4242 4243 Require ANSI C89 pre-processor, drop pre-C89 token pasting support 4244 4245 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4246 4247commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 4248Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4249Date: Fri Jun 7 11:30:11 2013 -0700 4250 4251 troff macro expansion in specs/libX11 4252 4253 Many of the custom nroff macros (.ds <macro> <contents>) were left 4254 unsubstituted in the nroff->docbook conversion. This substitution 4255 is now performed, via the following perl script: 4256 4257 #! /usr/bin/perl -w -i 4258 4259 use Text::Wrap; 4260 4261 while ($_ = <>) { 4262 while ($_ =~ m/\((\w+)\b/g) { 4263 my $m = $1; 4264 if (exists $macro{$m}) { 4265 $_ =~ s/\($m/$macro{$m}/; 4266 $_ = wrap('', '', $_); 4267 $_ =~ s/[ \t]+$//; 4268 } 4269 } 4270 4271 if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 4272 my ($m, $s) = ($1, $2); 4273 $macro{$m} = $s; 4274 while ($macro{$m} =~ /\\\s*$/) { 4275 $macro{$m} =~ s/\\\s*$//ms; 4276 $macro{$m} .= <>; 4277 chomp($macro{$m}); 4278 } 4279 $macro{$m} =~ s/\\ / /g; 4280 } else { 4281 print $_; 4282 } 4283 } 4284 4285 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4286 4287commit 20c17bd9ebf767a24643279e45866dddcb57b5ce 4288Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4289Date: Fri Jun 7 09:27:26 2013 -0700 4290 4291 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 4292 4293 The XListPixmapFormats arguments was being shown with XImageByteOrder's 4294 name and return types. Appears to have been a glitch in the nroff -> 4295 docbook conversion. 4296 4297 Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 4298 Reviewed-by: Jamey Sharp <jamey@minilop.net> 4299 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4300 4301commit ed3d830243c8a0eefaf24e15b11823272ffe5049 4302Author: Thomas Klausner <wiz@NetBSD.org> 4303Date: Sun Jun 2 20:49:55 2013 +0200 4304 4305 Deal with the limited range of VAX floating point numbers when compiling for VAX. 4306 4307 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4308 4309commit 0a48235d63639fb917c44d27c86e928e79fbac66 4310Author: Eric S. Raymond <esr@thyrsus.com> 4311Date: Thu Jun 6 16:43:56 2013 -0400 4312 4313 Remove call to undefined macro. 4314 4315commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 4316Author: Eric S. Raymond <esr@thyrsus.com> 4317Date: Thu Jun 6 16:42:20 2013 -0400 4318 4319 Remove call to undefined macro. 4320 4321commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 4322Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4323Date: Mon Jun 3 20:06:43 2013 -0700 4324 4325 Update README to reflect where to find the Xlib specs now 4326 4327 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4328 4329commit 655d631e86c95b14888758b27ed2836ca3e3ce86 4330Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4331Date: Mon Jun 3 19:21:06 2013 -0700 4332 4333 libX11 1.6.0 4334 4335 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4336 4337commit 4a89b7ea908554628f374537a79931c8006a2de3 4338Author: Thomas Klausner <wiz@NetBSD.org> 4339Date: Sun Jun 2 11:49:54 2013 -0700 4340 4341 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 4342 4343 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4344 4345commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 4346Author: Thomas Klausner <wiz@NetBSD.org> 4347Date: Sun Jun 2 20:49:48 2013 +0200 4348 4349 XCreateGC man page: Avoid .TS H and .TH macros 4350 4351 Avoid .TS H and .TH for now as it doesn't alter the output in this case, 4352 and improve the output with mandoc(1). 4353 4354 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4355 4356commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 4357Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4358Date: Thu May 23 19:43:35 2013 -0700 4359 4360 libX11 1.5.99.902 (1.6 RC2) 4361 4362 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4363 4364commit a3bdd2b090915fe0163b062f0e6576fe05dd332e 4365Author: Julien Cristau <jcristau@debian.org> 4366Date: Thu May 23 20:39:46 2013 +0200 4367 4368 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 4369 4370 The size of the arrays is max_key_code + 1. This makes these functions 4371 consistent with the other checks added for CVE-2013-1997. 4372 4373 Also check the XkbGetNames reply when names->keys was just allocated. 4374 4375 Signed-off-by: Julien Cristau <jcristau@debian.org> 4376 Tested-by: Colin Walters <walters@verbum.org> 4377 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4378 4379commit 7e30056e78e4b7979ff47f102e00327617266019 4380Author: Niveditha Rau <Niveditha.Rau@Oracle.COM> 4381Date: Fri May 17 15:26:21 2013 -0700 4382 4383 Make sure internal headers include required headers 4384 4385 Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 4386 longer ignores *.h files, but complains when they reference undefined 4387 typedefs or macros. 4388 4389 Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 4390 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4391 4392commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 4393Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4394Date: Thu May 16 23:05:36 2013 -0700 4395 4396 Free fs->properties in _XF86BigfontQueryFont overflow error path 4397 4398 Fixes small memory leak introduced in commit 5669a22081 4399 4400 Reported-by: Julien Cristau <jcristau@debian.org> 4401 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4402 4403commit 3131740513133a9ff7cb12123d29ceb18584fc38 4404Author: Matthieu Herrb <matthieu.herrb@laas.fr> 4405Date: Wed May 8 19:33:09 2013 +0200 4406 4407 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 4408 4409 Freeing a pointer that wasn't returned by malloc() is undefined 4410 behavior and produces an error with OpenBSD's implementation. 4411 4412 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4413 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4414 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4415 4416commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 4417Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4418Date: Fri Apr 19 14:30:40 2013 -0700 4419 4420 Give GNU & Solaris Studio compilers hints about XEatData branches 4421 4422 Try to offset the cost of all the recent checks we've added by giving 4423 the compiler a hint that the branches that involve us eating data 4424 are less likely to be used than the ones that process it. 4425 4426 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4427 4428commit e1b457beb8d4e831ef44279dada6c475cb955738 4429Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4430Date: Sun Mar 31 12:22:35 2013 -0700 4431 4432 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 4433 4434 Various other bounds checks in the code assume this is true, so 4435 enforce it when we first get the data from the X server. 4436 4437 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4438 4439commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 4440Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4441Date: Sat Mar 16 10:03:13 2013 -0700 4442 4443 Use calloc in XOpenDisplay to initialize structs containing pointers 4444 4445 Prevents trying to free uninitialized pointers if we have to bail out 4446 partway through setup, such as if we receive a corrupted or incomplete 4447 connection setup block from the server. 4448 4449 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4450 4451commit d38527e25f8b6e2f1174ecc21260c5c5416f972e 4452Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4453Date: Thu Mar 7 23:46:05 2013 -0800 4454 4455 Remove more unnecessary casts from Xmalloc/calloc calls 4456 4457 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4458 4459commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 4460Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4461Date: Sat Mar 2 16:56:16 2013 -0800 4462 4463 Convert more _XEatData callers to _XEatDataWords 4464 4465 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4466 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4467 4468commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 4469Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4470Date: Sat Mar 9 11:04:37 2013 -0800 4471 4472 Make XGetWindowProperty() always initialize returned values 4473 4474 Avoids memory corruption and other errors when callers access them 4475 without checking to see if XGetWindowProperty() returned an error value. 4476 4477 Callers are still required to check for errors, this just reduces the 4478 damage when they don't. 4479 4480 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4481 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4482 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4483 4484commit db1b1c871da29aa0545182bf888df81627f165a5 4485Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4486Date: Sat Mar 2 15:08:21 2013 -0800 4487 4488 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 4489 4490 Ensure that when breaking the returned list into individual strings, 4491 we don't walk past the end of allocated memory to write the '\0' bytes 4492 4493 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4494 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4495 4496commit 8d5936594993921acdfec778dd8f41b555e2543a 4497Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4498Date: Sat Mar 2 15:08:21 2013 -0800 4499 4500 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 4501 4502 Ensure that when breaking the returned list into individual strings, 4503 we don't walk past the end of allocated memory to write the '\0' bytes 4504 4505 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4506 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4507 4508commit 0c404db6a92dc2c198328bf586c02d8abbe02013 4509Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4510Date: Sat Mar 2 15:08:21 2013 -0800 4511 4512 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 4513 4514 Ensure that when breaking the returned list into individual strings, 4515 we don't walk past the end of allocated memory to write the '\0' bytes 4516 4517 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4518 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4519 4520commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 4521Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4522Date: Sat Mar 2 15:08:21 2013 -0800 4523 4524 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 4525 4526 Ensure that we don't underallocate when the server claims a very large reply 4527 4528 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4529 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4530 4531commit a351b8103b2ba78882e1c309e85893ca3abe2073 4532Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4533Date: Sat Mar 2 15:08:21 2013 -0800 4534 4535 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 4536 4537 Ensure that we don't underallocate when the server claims a very large reply 4538 4539 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4540 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4541 4542commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 4543Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4544Date: Sat Mar 2 15:08:21 2013 -0800 4545 4546 integer overflow in XGetImage() [CVE-2013-1981 11/13] 4547 4548 Ensure that we don't underallocate when the server claims to have sent a 4549 very large reply. 4550 4551 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4552 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4553 4554commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 4555Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4556Date: Fri Mar 8 22:25:35 2013 -0800 4557 4558 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 4559 4560 If the reported number of properties is too large, the calculations 4561 to allocate memory for them may overflow, leaving us returning less 4562 memory to the caller than implied by the value written to *nitems. 4563 4564 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4565 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4566 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4567 4568commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 4569Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4570Date: Sat Mar 2 13:18:48 2013 -0800 4571 4572 integer overflows in TransFileName() [CVE-2013-1981 9/13] 4573 4574 When trying to process file paths the tokens %H, %L, & %S are expanded 4575 to $HOME, the standard compose file path & the xlocaledir path. 4576 If enough of these tokens are repeated and values like $HOME are set to 4577 very large values, the calculation of the total string size required to 4578 hold the expanded path can overflow, resulting in allocating a smaller 4579 string than the amount of data we'll write to it. 4580 4581 Simply restrict all of these values, and the total path size to PATH_MAX, 4582 because really, that's all you should need for a filename path. 4583 4584 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4585 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4586 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4587 4588commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 4589Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4590Date: Fri Mar 1 18:37:37 2013 -0800 4591 4592 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 4593 4594 Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 4595 to specify filename. 4596 4597 If the size of off_t is larger than the size of unsigned long (as in 4598 32-bit builds with large file flags), a file larger than 4 gigs could 4599 have its size truncated, leading to data from that file being written 4600 past the end of the undersized buffer allocated for it. 4601 4602 While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 4603 builders may have added the large file compilation flags to CFLAGS on 4604 their own. 4605 4606 size is left limited to an int, because if your Xim file is 4607 larger than 2gb, you're doing it wrong. 4608 4609 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4610 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4611 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4612 4613commit 226622349a4b1e16064649d4444a34fb4be4f464 4614Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4615Date: Sat Mar 2 12:39:58 2013 -0800 4616 4617 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 4618 4619 parseline() can call _XimParseStringFile() which can call parseline() 4620 which can call _XimParseStringFile() which can call parseline() .... 4621 eventually causing recursive stack overflow and crash. 4622 4623 Limit is set to a include depth of 100 files, which should be enough 4624 for all known use cases, but could be adjusted later if necessary. 4625 4626 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4627 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4628 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4629 4630commit 236b603d235dc264d1c6250dca09c745458a9088 4631Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4632Date: Sat Mar 2 12:01:39 2013 -0800 4633 4634 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 4635 4636 GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 4637 which can call GetDatabase() which can call GetIncludeFile() .... 4638 eventually causing recursive stack overflow and crash. 4639 4640 Easily reproduced with a resource file that #includes itself. 4641 4642 Limit is set to a include depth of 100 files, which should be enough 4643 for all known use cases, but could be adjusted later if necessary. 4644 4645 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4646 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4647 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4648 4649commit 076428918e6c35f66b9b55c3fa097ff06496d155 4650Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4651Date: Fri Mar 1 18:37:37 2013 -0800 4652 4653 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 4654 4655 Called from XrmGetFileDatabase() which gets called from InitDefaults() 4656 which gets the filename from getenv ("XENVIRONMENT") 4657 4658 If file is exactly 0xffffffff bytes long (or longer and truncates to 4659 0xffffffff, on implementations where off_t is larger than an int), 4660 then size may be set to a value which overflows causing less memory 4661 to be allocated than is written to by the following read() call. 4662 4663 size is left limited to an int, because if your Xresources file is 4664 larger than 2gb, you're very definitely doing it wrong. 4665 4666 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4667 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4668 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4669 4670commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 4671Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4672Date: Sat Mar 2 11:44:19 2013 -0800 4673 4674 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 4675 4676 LoadColornameDB() calls stringSectionSize() to do a first pass over the 4677 file (which may be provided by the user via XCMSDB environment variable) 4678 to determine how much memory needs to be allocated to read in the file, 4679 then allocates the returned sizes and calls ReadColornameDB() to load the 4680 data from the file into that newly allocated memory. 4681 4682 If stringSectionSize() overflows the signed ints used to calculate the 4683 file size (say if you have an xcmsdb with ~4 billion lines in or a 4684 combined string length of ~4 gig - which while it may have been 4685 inconceivable when Xlib was written, is quite possible today), then 4686 LoadColornameDB() may allocate a memory buffer much smaller than the 4687 amount of data ReadColornameDB() will write to it. 4688 4689 The total size is left limited to an int, because if your xcmsdb file 4690 is larger than 2gb, you're doing it wrong. 4691 4692 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4693 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4694 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4695 4696commit b9ba832401734e1cbd30a930c0d11d850293f3f9 4697Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4698Date: Sat Mar 2 11:25:25 2013 -0800 4699 4700 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 4701 4702 Check the provided buffer size against the amount of data we're going to 4703 write into it, not against the reported length from the ClientMessage. 4704 4705 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4706 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4707 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4708 4709commit de2e6c322c4aca22856b380f67f8e488e7510015 4710Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4711Date: Sat Mar 2 11:11:08 2013 -0800 4712 4713 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 4714 4715 If the X server returns key name indexes outside the range of the number 4716 of keys it told us to allocate, out of bounds memory writes could occur. 4717 4718 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4719 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4720 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4721 4722commit 2df882eeb3a70256170127a746a9ba26376599a1 4723Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4724Date: Sat Mar 2 11:01:04 2013 -0800 4725 4726 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 4727 4728 If the X server returns modifier map indexes outside the range of the number 4729 of keys it told us to allocate, out of bounds memory writes could occur. 4730 4731 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4732 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4733 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4734 4735commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 4736Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4737Date: Sat Mar 2 11:04:44 2013 -0800 4738 4739 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 4740 4741 If the X server returns key indexes outside the range of the number of 4742 keys it told us to allocate, out of bounds memory writes could occur. 4743 4744 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4745 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4746 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4747 4748commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 4749Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4750Date: Sat Mar 2 10:51:51 2013 -0800 4751 4752 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 4753 4754 If the X server returns modifier map indexes outside the range of the number 4755 of keys it told us to allocate, out of bounds memory writes could occur. 4756 4757 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4759 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4760 4761commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 4762Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4763Date: Sat Mar 2 10:39:21 2013 -0800 4764 4765 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 4766 4767 If the X server returns key behavior indexes outside the range of the number 4768 of keys it told us to allocate, out of bounds memory writes could occur. 4769 4770 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4771 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4772 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4773 4774commit 00626c3830b869259098985afa38933d77ccec72 4775Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4776Date: Sat Mar 2 09:40:22 2013 -0800 4777 4778 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 4779 4780 If the X server returns key action indexes outside the range of the number 4781 of keys it told us to allocate, out of bounds memory access could occur. 4782 4783 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4784 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4785 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4786 4787commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 4788Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4789Date: Sat Mar 2 09:28:33 2013 -0800 4790 4791 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 4792 4793 If the X server returns keymap indexes outside the range of the number of 4794 keys it told us to allocate, out of bounds memory access could occur. 4795 4796 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4797 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4798 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4799 4800commit 59ae16a00d18588e98af57d26e442af8ea42b7aa 4801Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4802Date: Sat Mar 2 09:18:26 2013 -0800 4803 4804 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 4805 4806 If the X server returns color indexes outside the range of the number of 4807 colors it told us to allocate, out of bounds memory access could occur. 4808 4809 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4810 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4811 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4812 4813commit bff938b9fe1629cbacb726509edfa2a3840b7207 4814Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4815Date: Sat Mar 2 09:12:47 2013 -0800 4816 4817 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 4818 4819 If the X server returns shape indexes outside the range of the number 4820 of shapes it told us to allocate, out of bounds memory access could occur. 4821 4822 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4823 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4824 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4825 4826commit f293659d5a4024bda386305bb7ebeb4647c40934 4827Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4828Date: Fri Mar 1 22:49:01 2013 -0800 4829 4830 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 4831 4832 If the X server returns more buttons than are allocated in the XKB 4833 device info structures, out of bounds writes could occur. 4834 4835 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4836 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4837 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4838 4839commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 4840Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4841Date: Fri Mar 1 19:30:09 2013 -0800 4842 4843 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 4844 4845 If a broken server returned larger than requested values for nPixels or 4846 nMasks, XAllocColorCells would happily overflow the buffers provided by 4847 the caller to write the results into. 4848 4849 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4850 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4851 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4852 4853commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 4854Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4855Date: Fri Mar 1 22:49:01 2013 -0800 4856 4857 integer overflow in XListHosts() [CVE-2013-1981 5/13] 4858 4859 If the reported number of host entries is too large, the calculations 4860 to allocate memory for them may overflow, leaving us writing beyond the 4861 bounds of the allocation. 4862 4863 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4864 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4865 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4866 4867commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 4868Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4869Date: Fri Mar 1 22:49:01 2013 -0800 4870 4871 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 4872 4873 If the reported number of motion events is too large, the calculations 4874 to allocate memory for them may overflow, leaving us writing beyond the 4875 bounds of the allocation. 4876 4877 v2: Ensure nEvents is set to 0 when returning NULL events pointer 4878 4879 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4880 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4881 4882commit 39515b7c3ba8cae9021bf6695e378ae19487082f 4883Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4884Date: Fri Mar 1 22:49:01 2013 -0800 4885 4886 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 4887 4888 If the reported number of remaining fonts is too large, the calculations 4889 to allocate memory for them may overflow, leaving us writing beyond the 4890 bounds of the allocation. 4891 4892 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 4893 v3: On error cases, also set values to be returned in pointer args to 0/NULL 4894 4895 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4896 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4897 4898commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 4899Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4900Date: Fri Mar 1 21:05:27 2013 -0800 4901 4902 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 4903 4904 Similar to _XQueryFont, but with more ways to go wrong and overflow. 4905 Only compiled if libX11 is built with XF86BigFont support. 4906 4907 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 4908 4909 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4910 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4911 4912commit 6df8a63d34b7514077188e2062a13774f920c085 4913Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4914Date: Fri Mar 1 21:05:27 2013 -0800 4915 4916 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 4917 4918 If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 4919 unsigned long, then too small of a buffer will be allocated for the 4920 data copied in from the reply. 4921 4922 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 4923 4924 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 4925 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4926 4927commit 9f5d83706543696fc944c1835a403938c06f2cc5 4928Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4929Date: Fri Mar 1 20:54:24 2013 -0800 4930 4931 Add _XEatDataWords to discard a given number of 32-bit words of reply data 4932 4933 Matches the units of the length field in X protocol replies, and provides 4934 a single implementation of overflow checking to avoid having to replicate 4935 those checks in every caller. 4936 4937 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4938 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4939 4940commit d7f04c340ade3834e603c23d543132e1ee4e0c63 4941Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4942Date: Sat Mar 2 13:03:55 2013 -0800 4943 4944 Move repeated #ifdef magic to find PATH_MAX into a common header 4945 4946 Lets stop duplicating the mess all over 4947 4948 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4949 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4950 4951commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 4952Author: Pander <pander@users.sourceforge.net> 4953Date: Tue May 7 18:38:14 2013 -0400 4954 4955 Add compose sequences for J́ and j́. 4956 4957 The resulting sequences are: 4958 4959 U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 4960 U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 4961 4962 Used in Dutch, per: 4963 4964 http://lists.x.org/archives/xorg-devel/2013-February/035514.html 4965 https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 4966 4967 Signed-off-by: Pander <pander@users.sourceforge.net> 4968 Signed-off-by: James Cloos <cloos@jhcloos.com> 4969 4970commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 4971Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4972Date: Sat Mar 16 18:30:56 2013 -0700 4973 4974 Move big request comment in XOpenDisplay to the right place 4975 4976 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4977 4978commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 4979Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4980Date: Sat Mar 9 19:16:03 2013 -0800 4981 4982 libX11 1.5.99.901 (1.6 RC1) 4983 4984 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4985 4986commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 4987Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4988Date: Fri Mar 8 22:33:28 2013 -0800 4989 4990 Fix very weird indenting in src/GetFProp.c 4991 4992 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4993 4994commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 4995Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4996Date: Fri Mar 8 15:37:33 2013 -0800 4997 4998 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 4999 5000 While the C standard technically allows for the compiler to translate 5001 pointer = 0 or pointer = NULL into something other than filling the 5002 pointer address with 0 bytes, the rest of the Xlib code already assumes 5003 that calloc initializes any pointers in the struct to NULL, and there 5004 are no known systems supported by X.Org where this is not true. 5005 5006 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5007 5008commit 39547d600a13713e15429f49768e54c3173c828d 5009Author: Karl Tomlinson <xmail@karlt.net> 5010Date: Mon Feb 18 01:25:34 2013 +0000 5011 5012 MakeBigReq: don't move the last word, already handled by Data32 5013 5014 MakeBigReq inserts a length field after the first 4 bytes of the request 5015 (after req->length), pushing everything else back by 4 bytes. 5016 5017 The current memmove moves everything but the first 4 bytes back. 5018 If a request aligns to the end of the buffer pointer when MakeBigReq is 5019 invoked for that request, this runs over the buffer. 5020 Instead, we need to memmove minus the first 4 bytes (which aren't moved), 5021 minus the last 4 bytes (so we still align to the previous tail). 5022 5023 The 4 bytes that fell out are already handled with Data32, which will 5024 handle the buffermax correctly. 5025 5026 The case where req->length = 1 was already not functional. 5027 5028 Reported by Abhishek Arya <inferno@chromium.org>. 5029 5030 https://bugzilla.mozilla.org/show_bug.cgi?id=803762 5031 5032 Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 5033 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5034 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5035 5036commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 5037Author: Quentin Glidic <sardemff7+git@sardemff7.net> 5038Date: Tue Jan 15 21:07:17 2013 +0000 5039 5040 nls/Makefile.am: Use LOG_COMPILER 5041 5042 TESTS_ENVIRONMENT is deprecated 5043 5044 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 5045 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5046 5047commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 5048Author: Quentin Glidic <sardemff7+git@sardemff7.net> 5049Date: Tue Jan 15 21:07:16 2013 +0000 5050 5051 nls/Makefile.am: Remove unneeded $(srcdir) 5052 5053 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 5054 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 5055 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5056 5057commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 5058Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5059Date: Sat Mar 2 12:01:39 2013 -0800 5060 5061 Add <X11/Xresource.h> hint to all Xrm* man pages 5062 5063 Help users figure out which header file they need to #include 5064 5065 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5066 5067commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 5068Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5069Date: Fri Mar 8 17:13:09 2013 -0800 5070 5071 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 5072 5073 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5074 5075commit 47d2eff64d167b3245d346d7f38ca703be645e26 5076Author: Ken Moffat <ken@linuxfromscratch.org> 5077Date: Thu Mar 7 18:27:54 2013 -0500 5078 5079 dead_double_grave and dead_inverted_breve should only have one underscore. 5080 5081 Correct instances of dead_double_grave and dead_inverted_breve to 5082 dead_doublegrave and dead_invertedbreve. 5083 5084 Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 5085 Signed-off-by: James Cloos <cloos@jhcloos.com> 5086 5087commit c23d61d1b84dca3740bf4786978c7908d0065fb9 5088Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5089Date: Fri Mar 1 18:10:27 2013 -0800 5090 5091 Assume size_t is always available, since it was defined in C89 5092 5093 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 5094 We already use size_t throughout the rest of Xlib, just had this 5095 one instance left in XKBGAlloc.c of a fallback definition. 5096 5097 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5098 5099commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 5100Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5101Date: Fri Mar 1 18:09:07 2013 -0800 5102 5103 unifdef XKB_IN_SERVER 5104 5105 Leftovers from XKB files that were previously shared between the client 5106 and server code, but aren't any more. 5107 5108 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5109 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5110 5111commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 5112Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5113Date: Thu Feb 28 20:04:25 2013 -0800 5114 5115 unifdef CRAY & _CRAY 5116 5117 (mostly performed with unifdef, followed by some manual cleanup of 5118 the remaining code) 5119 5120 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5121 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5122 5123commit ca106eb03e5f5468df8033300c5caae3d3c6936b 5124Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5125Date: Thu Feb 28 20:04:25 2013 -0800 5126 5127 unifdef WORD64 5128 5129 WORD64 seems to have only been defined in <X11/Xmd.h> when building for 5130 CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 5131 64-bit alignment requirements. 5132 5133 It hadn't been fully supported even before autotooling, as can be 5134 seen by removed code such as: 5135 5136 #ifdef WORD64 5137 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 5138 #endif 5139 5140 (mostly performed with unifdef, followed by some manual cleanup of 5141 the remaining code) 5142 5143 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5144 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5145 5146commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 5147Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5148Date: Thu Feb 28 20:04:25 2013 -0800 5149 5150 unifdef MUSTCOPY 5151 5152 MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 5153 CRAY, to handle missing some sizes of integer type. 5154 5155 (mostly performed with unifdef, followed by some manual cleanup of 5156 spacing/indenting in the remaining code) 5157 5158 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5159 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5160 5161commit b687440c28c7da6ee0ae44514d20248db5161606 5162Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5163Date: Sat Feb 16 10:42:23 2013 -0800 5164 5165 Convert more sprintf calls to snprintf 5166 5167 You could analyze most of these and quickly recognize that there was no 5168 chance of buffer overflow already, but why make everyone spend time doing 5169 that when we can just make it obviously safe? 5170 5171 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5172 5173commit b092dabbd712d7b656abcf572d253b9b206c0237 5174Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5175Date: Fri Feb 15 23:43:12 2013 -0800 5176 5177 XKeysymToString: move variable declarations to the scope of their usage 5178 5179 Makes it easier for readers to understand scope of variable usage, and 5180 clears up gcc warning: 5181 5182 KeysymStr.c: In function 'XKeysymToString': 5183 KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 5184 KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 5185 5186 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5187 5188commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 5189Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5190Date: Fri Feb 15 23:34:40 2013 -0800 5191 5192 Preserve constness in casting arguments through the Data*() routines 5193 5194 Casts were annoying gcc by dropping constness when changing types, 5195 when routines simply either copy data into the request buffer or 5196 send it directly to the X server, and never modify the input. 5197 5198 Fixes gcc warnings including: 5199 ChProp.c: In function 'XChangeProperty': 5200 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5201 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5202 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5203 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5204 ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5205 SetHints.c: In function 'XSetStandardProperties': 5206 SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5207 SetPntMap.c: In function 'XSetPointerMapping': 5208 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5209 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5210 StBytes.c: In function 'XStoreBuffer': 5211 StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5212 StName.c: In function 'XStoreName': 5213 StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5214 StName.c: In function 'XSetIconName': 5215 StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5216 5217 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5218 5219commit 6c558ee357292dd9dfc6d9006f4525f625327c52 5220Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5221Date: Fri Feb 15 22:58:54 2013 -0800 5222 5223 Fix comment typo & confusing indentation levels in Data() macro definition 5224 5225 The final } matches the one on the #define line, not one that doesn't 5226 appear after the else statement it was lined up with 5227 5228 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5229 5230commit afd6593da90e51234d59f8921c411317f91ab48b 5231Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5232Date: Fri Feb 15 23:25:38 2013 -0800 5233 5234 XStringToKeysym: preserve constness when casting off unsignedness for strcmp 5235 5236 Fixes gcc warning: 5237 StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5238 5239 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5240 5241commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 5242Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5243Date: Fri Feb 15 23:14:40 2013 -0800 5244 5245 XRebindKeysym: Drop unnecessary const-removing cast 5246 5247 C89 defines memcpy as taking a const void *, so casting from 5248 const unsigned char * to char * simply angers gcc for no benefit: 5249 5250 KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5251 5252 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5253 5254commit 54527eab93d46055cf11eb6c18abb353a03ae544 5255Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5256Date: Fri Feb 15 22:45:19 2013 -0800 5257 5258 cmsColNm.c: maintain constness of arguments to qsort helper function 5259 5260 Fixes gcc warning: 5261 5262 cmsColNm.c: In function 'FirstCmp': 5263 cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5264 cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5265 5266 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5267 5268commit deedeada53676ee529d700bf96fde0b29a3a1def 5269Author: Nickolai Zeldovich <nickolai@csail.mit.edu> 5270Date: Tue Jan 22 10:03:00 2013 -0500 5271 5272 XListFontsWithInfo: avoid accessing realloc'ed memory 5273 5274 If exactly one of the two reallocs in XListFontsWithInfo() fails, the 5275 subsequent code accesses memory freed by the other realloc. 5276 5277 Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 5278 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5279 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5280 5281commit f57fd760cba92ad846917f21e94e73e9c846185f 5282Author: Colin Walters <walters@verbum.org> 5283Date: Wed Jan 4 17:37:06 2012 -0500 5284 5285 autogen.sh: Implement GNOME Build API 5286 5287 http://people.gnome.org/~walters/docs/build-api.txt 5288 5289 Signed-off-by: Adam Jackson <ajax@redhat.com> 5290 5291commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 5292Author: Adam Jackson <ajax@redhat.com> 5293Date: Tue Jan 15 14:28:48 2013 -0500 5294 5295 configure: Remove AM_MAINTAINER_MODE 5296 5297 Signed-off-by: Adam Jackson <ajax@redhat.com> 5298 5299commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 5300Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5301Date: Wed Dec 26 22:57:39 2012 -0800 5302 5303 Remove unused DECnet ("DNETCONN") code from Xlib 5304 5305 Has never been converted to build in modular builds, so has been unusable 5306 since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 5307 back in 2008. 5308 5309 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5310 5311commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 5312Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5313Date: Wed Dec 26 22:56:38 2012 -0800 5314 5315 Remove unused TLI ("STREAMSCONN") code from Xlib 5316 5317 Has never been converted to build in modular builds, so has been unusable 5318 since X11R7.0 release in 2005. All known platforms with TLI/XTI support 5319 that X11R7 & later releases run on also have (and mostly prefer) BSD 5320 socket support for their networking API. 5321 5322 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5323 5324commit 59c9ee8cd58857c5769b643611cbe526005a9e45 5325Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5326Date: Sun Dec 16 17:44:42 2012 -0800 5327 5328 Tell clang not to report -Wpadded warnings on public headers we can't fix 5329 5330 Better to silence the compiler warning than break ABI. 5331 5332 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5333 5334commit 0b148750027fd0557c5ed93afda861ddf4b92e0f 5335Author: Jon TURNEY <jon.turney@dronecode.org.uk> 5336Date: Mon Nov 12 17:27:52 2012 +0000 5337 5338 Fix config check for loadable modules 5339 5340 The config check of the results of testing for dlfcn.h or dl.h just tests the 5341 value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 5342 it is 'yes', so loadable module support would always be detected. 5343 5344 This is necessary for successful compilation for the MinGW target without the 5345 optional dlfcn-win32 library. 5346 5347 v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 5348 correctly when dlfcn.h is available 5349 5350 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5351 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 5352 5353commit cd25cab4b5b957641183ce72dd1ae0424aff1663 5354Author: Egbert Eich <eich@freedesktop.org> 5355Date: Fri May 20 18:27:02 2011 +0200 5356 5357 Install Xcms.txt in $(datadir) rather than $(libdir). 5358 5359 This file is an architecture independent data and should be where 5360 other databases are. 5361 This is the Xlib provided sample file, applications are free to 5362 use a different one specifying its location in the XCMSDB env 5363 variable. 5364 5365 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5366 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5367 5368commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 5369Author: Egbert Eich <eich@freedesktop.org> 5370Date: Fri May 20 18:25:24 2011 +0200 5371 5372 Don't hard code path to Xcms.txt file. 5373 5374 The path to this file is configurable at build time. The source 5375 however contains a hard coded path. 5376 5377 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5378 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5379 5380commit 9833489e6c3829a1e835bc0a11f028fc180809e4 5381Author: Colin Walters <walters@verbum.org> 5382Date: Fri Dec 7 08:51:21 2012 -0500 5383 5384 Fix build after dropping locales 5385 5386 They also needed to be removed from configure.ac 5387 5388 Signed-off-by: Colin Walters <walters@verbum.org> 5389 Signed-off-by: Julien Cristau <jcristau@debian.org> 5390 5391commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 5392Author: Egbert Eich <eich@freedesktop.org> 5393Date: Fri May 20 13:04:11 2011 +0200 5394 5395 i18n: Uppercased all occurances if 'iso8859' in the full locale name. 5396 5397 Making all occurances of iso8859 upper case in the full local name 5398 makes the alias entries more consistent and match the entries on 5399 locale.dir. 5400 5401 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5402 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5403 5404commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 5405Author: Egbert Eich <eich@freedesktop.org> 5406Date: Fri May 20 17:55:49 2011 +0200 5407 5408 i18n: Remove ja.S90 and ja.U90 locales. 5409 5410 Both locales carry a copyright notice and a prorietary statement: 5411 5412 Copyright 1995 by FUJITSU LIMITED 5413 This is source code modified by FUJITSU LIMITED under the Joint 5414 Development Agreement for the CDEnext PST. 5415 This is unpublished proprietary source code of FUJITSU LIMITED 5416 5417 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5418 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5419 5420commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 5421Author: Egbert Eich <eich@freedesktop.org> 5422Date: Fri May 20 16:46:15 2011 +0200 5423 5424 i18n: Bring locale.dir and compose.dir in sync. 5425 5426 Some entries for locale/encoding combinations were missing from 5427 either file or just misspelled, some entries were wrong or just 5428 aliases. 5429 5430 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5431 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5432 5433commit d1e6baa4e290b758e430077cb74e7c03ad850771 5434Author: Egbert Eich <eich@freedesktop.org> 5435Date: Fri May 20 14:02:39 2011 +0200 5436 5437 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 5438 5439 locale.alias contains a comment: 5440 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 5441 Thus lets treat 'a3' as an alias for 'az'. 5442 5443 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5444 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5445 Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 5446 5447commit fa2aab0bea18efa26a56977d3166277582ab7b07 5448Author: Egbert Eich <eich@freedesktop.org> 5449Date: Fri May 20 13:09:38 2011 +0200 5450 5451 i18n: Fixed typos in full locale names. 5452 5453 Fixing those typos those names actually match entries in 5454 locale.dir. 5455 5456 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5457 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5458 5459commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 5460Author: Egbert Eich <eich@freedesktop.org> 5461Date: Sat May 21 07:29:38 2011 +0200 5462 5463 i18n: Remove duplicates and aliases to oneself. 5464 5465 Aliases to itself don't make much sense. 5466 This changes occurances of: 5467 xy_UV.UTF-8: xy_UV.UTF-8 5468 to 5469 xy_UV: xy_UV.UTF-8 5470 where applicable. 5471 5472 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5473 Reviewed-by: James Cloos <cloos@jhcloos.com> 5474 5475commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 5476Author: Jens Herden <jens.herden@email.de> 5477Date: Fri May 20 17:29:03 2011 +0200 5478 5479 i18n: Add support for Khmer locale and compose table. 5480 5481 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5482 Reviewed-by: James Cloos <cloos@jhcloos.com> 5483 5484commit 40761898692e5063957bfa2518cca3d35b2e354a 5485Author: Kalman Kemenczy <kkemenczy@novell.com> 5486Date: Fri May 20 17:03:24 2011 +0200 5487 5488 i18n: Add support for Serbian specific compose table entries. 5489 5490 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5491 Reviewed-by: James Cloos <cloos@jhcloos.com> 5492 5493commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 5494Author: Egbert Eich <eich@freedesktop.org> 5495Date: Fri May 20 14:00:35 2011 +0200 5496 5497 i18n: Adding and removing comments. 5498 5499 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5500 Reviewed-by: James Cloos <cloos@jhcloos.com> 5501 5502commit 7754d68976106183751243c2c35a84134be17b34 5503Author: Egbert Eich <eich@freedesktop.org> 5504Date: Fri May 20 13:45:31 2011 +0200 5505 5506 i18n: Add missing locales which existed in locale.alias. 5507 5508 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5509 Reviewed-by: James Cloos <cloos@jhcloos.com> 5510 5511commit 952eccd0d25ba66023acfd31873eee2e71c38c42 5512Author: Egbert Eich <eich@freedesktop.org> 5513Date: Fri May 20 10:57:57 2011 +0200 5514 5515 i18n: Consolidate compose handling for locales with UTF-8 encoding. 5516 5517 - add an entry to include the default en_US compose file 5518 for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 5519 - add missing entries for zh_CN. and zh_HK and am_ET. 5520 - change entries for the UTF-8 encoding for ru_RU, ja_JP, 5521 ko_KR, th_TH and zh_TW to point to their native directory 5522 entries. 5523 5524 Signed-off-by: Egbert Eich <eich@freedesktop.org> 5525 Reviewed-by: James Cloos <cloos@jhcloos.com> 5526 5527commit d14b6a250f004fa405179db7020f6953001d17b9 5528Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 5529Date: Mon Oct 22 13:54:11 2012 -0500 5530 5531 XIM: remove Private and Public macros 5532 5533 Private is a struct member name in mingw-w64 <winioctl.h>, causing this 5534 useless define in a private header to break the build. 5535 5536 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 5537 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5538 5539commit f2a8def423a46d52e834cf7ea49fa0079427663a 5540Author: Adam Jackson <ajax@redhat.com> 5541Date: Wed Oct 17 14:40:43 2012 -0400 5542 5543 XErrorDB: Add GLXBadProfileARB 5544 5545 Signed-off-by: Adam Jackson <ajax@redhat.com> 5546 5547commit d45b3fc19fbe95c41afc4e51d768df6d42332010 5548Author: Ross Burton <ross.burton@intel.com> 5549Date: Wed Sep 12 14:39:40 2012 +0100 5550 5551 Allow overriding location of keysymdef.h 5552 5553 Currently keysymdef.h is found by using the includedir of xproto. This doesn't 5554 work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 5555 not a path into the cross-build environment. 5556 5557 So, add an option to allow explicitly specifying the location of keysymdef.h, 5558 and verify that the specified or found path exists. 5559 5560 (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 5561 5562 Signed-off-by: Ross Burton <ross.burton@intel.com> 5563 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 5564 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 5565 5566commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 5567Author: Eric S. Raymond <esr@thyrsus.com> 5568Date: Thu Aug 23 19:15:07 2012 -0400 5569 5570 Renove some unnecessary low-level markup. 5571 5572 Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 5573 This appears to have been somebody's thinko, it's only in a few of the files. 5574 5575 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 5576 5577commit b686600ab5ca93b5750f827786e79c329ab2db4d 5578Author: Eric S. Raymond <esr@thyrsus.com> 5579Date: Thu Aug 23 10:53:33 2012 -0400 5580 5581 The .NT/.NE macro pair is no longer used. Remove it. 5582 5583 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 5584 5585commit b83f2898528c5dd683acd2a2143879a760a8dad5 5586Author: Eric S. Raymond <esr@thyrsus.com> 5587Date: Thu Aug 23 10:42:46 2012 -0400 5588 5589 Remove the one and only use of the .NT/.NE pair. 5590 5591 The problem with these macros is that they rely on being able to 5592 center the note label. That doesn't play well with modern HTML, 5593 not anyway without coomplications like CSS. This use was just a cute 5594 trick, not adding enough value to be kept. 5595 5596commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 5597Author: Eric S. Raymond <esr@thyrsus.com> 5598Date: Thu Aug 23 10:23:45 2012 -0400 5599 5600 The .C{ and .C} macros are never used. Remove them. 5601 5602 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 5603 5604commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 5605Author: Eric S. Raymond <esr@thyrsus.com> 5606Date: Thu Aug 23 10:08:08 2012 -0400 5607 5608 The .FN macro, paired with .FD, is also never used. Remove it. 5609 5610 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 5611 5612commit cac6572701c976542da562b2b277b07ffb892a6f 5613Author: Eric S. Raymond <esr@thyrsus.com> 5614Date: Thu Aug 23 10:03:00 2012 -0400 5615 5616 The ".FD" macro is never used. Remove it. 5617 5618 It was a temptation to presentation-level klugery and is best gone. 5619 5620 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 5621 5622commit 6e27a828f39f7028bc7f4a8736e7262fca250632 5623Author: Eric S. Raymond <esr@thyrsus.com> 5624Date: Thu Aug 23 09:54:25 2012 -0400 5625 5626 Clean up, my last commit missed four cases. 5627 5628 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 5629 5630commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 5631Author: Eric S. Raymond <esr@thyrsus.com> 5632Date: Thu Aug 23 08:24:17 2012 -0400 5633 5634 Eliminate all uses of tab stops in the libX11 man pages. 5635 5636 Two steps: First, expand tabs to 8 spaces in code and structure 5637 listings. Second, make the .Ds used to wrap code listings switch to 5638 constant-width font (CW) rather than numeric font position 1, which 5639 maps to R on most systems. 5640 5641 It is possible some archaic systems won't know what CW is, but the 5642 only risk is that code listings won't look quite right on troff 5643 devices; the PostScript and DVI drivers definitely grok it, so those 5644 important cases are OK. 5645 5646 The purpose of these changes is to get rid of presentation-level 5647 markup so these pages will lift clean to DocBook. 5648 5649 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 5650 5651commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 5652Author: Will Thompson <will@willthompson.co.uk> 5653Date: Mon Jul 9 18:00:27 2012 +0100 5654 5655 Add compose sequences for "therefore" and "because". 5656 5657 These sequences look sensible to me. I added them to the APL-related 5658 section of Mathematical Operators—they're in that section of Unicode 5659 anyway. 5660 5661 https://bugs.freedesktop.org/show_bug.cgi?id=51922 5662 5663 Signed-off-by: Will Thompson <will@willthompson.co.uk> 5664 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 5665 5666commit 65358ea5079236b2508f787ac2fb2024a477e36d 5667Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5668Date: Fri Jun 29 23:08:04 2012 -0700 5669 5670 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 5671 5672 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5673 5674commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 5675Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5676Date: Fri Jun 29 22:57:13 2012 -0700 5677 5678 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 5679 5680 Fixes leaks in error paths found by Parfait 1.0.0: 5681 5682 Error: X Resource Leak 5683 Leaked X Resource pix 5684 at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 5685 pix initialized at line 60 with XCreatePixmap 5686 Error: X Resource Leak 5687 Leaked X Resource pix 5688 at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 5689 pix initialized at line 66 with XCreatePixmap 5690 5691 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5692 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 5693 5694commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 5695Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5696Date: Wed Jun 6 13:31:16 2012 -0700 5697 5698 libX11 spec: Correct prototype for XConvertSelection 5699 5700 selection & target parameters were accidentally run together 5701 5702 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5703 5704commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 5705Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5706Date: Fri Jun 1 23:37:09 2012 -0700 5707 5708 libX11 1.5.0 5709 5710 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5711 5712commit 05c587ec3be880721131a17c1dd4366e458fdd8b 5713Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5714Date: Sat May 26 14:37:28 2012 -0700 5715 5716 libX11 1.4.99.902 (1.5 RC2) 5717 5718 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5719 5720commit d817834d9772e3500d5102e2eae868b04a33c31f 5721Author: Pander <pander@users.sourceforge.net> 5722Date: Sat May 5 19:02:10 2012 +0200 5723 5724 Compose: Reassigned squences with minus and a or o 5725 5726 Reassigned squences with minus and a or o (vice versa and lower and 5727 upper case) to conform existing series and not resulting in tilde. 5728 Also added noe missing underscore sequence. 5729 5730 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5731 5732commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 5733Author: Pander <pander@users.sourceforge.net> 5734Date: Sat May 5 16:56:05 2012 +0200 5735 5736 Compose: Removed <slash> <U> and vice versa 5737 5738 Combination with lower case u suffices 5739 5740 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5741 5742commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 5743Author: Pander <pander@users.sourceforge.net> 5744Date: Sat May 5 16:44:31 2012 +0200 5745 5746 Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 5747 5748 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5749 5750commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 5751Author: Pander <pander@users.sourceforge.net> 5752Date: Sat May 5 16:40:20 2012 +0200 5753 5754 Compose: Removed <S> in combination with a numeral for superscript 5755 5756 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5757 5758commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 5759Author: Pander <pander@users.sourceforge.net> 5760Date: Sat May 5 16:28:01 2012 +0200 5761 5762 Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 5763 5764 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5765 5766commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 5767Author: James Cloos <cloos@jhcloos.com> 5768Date: Thu May 10 12:27:28 2012 -0400 5769 5770 Remove duplicate compose sequences from commit e51e37c118ae. 5771 5772 The compose-check script only handles compiled Compose files, not 5773 the Compose.pre files. One must remember to use: 5774 5775 ./autogen.sh; make; make check 5776 5777 when reviewing patches to the Compose.pre files.... 5778 5779 Signed-off-by: James Cloos <cloos@jhcloos.com> 5780 5781commit e51e37c118ae6cb9ced8244ce1c410677e0279ce 5782Author: Geoff Streeter <geoff@dyalog.com> 5783Date: Thu Mar 22 15:02:00 2012 +0000 5784 5785 Add APL support to compose 5786 5787 Signed-off-by: Geoff Streeter <geoff@dyalog.com> 5788 Signed-off-by: James Cloos <cloos@jhcloos.com> 5789 5790commit dac90324cee224df977a428afe80d960dceca769 5791Author: Julien Cristau <jcristau@debian.org> 5792Date: Sat May 5 16:05:07 2012 +0200 5793 5794 configure: make previous change work with older autoconf 5795 5796 autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 5797 the tests separately. 5798 5799 Reported-by: Dave Airlie 5800 Signed-off-by: Julien Cristau <jcristau@debian.org> 5801 5802commit f5b50af4324186962e258ffe9be78d5ee4681982 5803Author: Julien Cristau <jcristau@debian.org> 5804Date: Sun Apr 29 16:43:09 2012 +0200 5805 5806 configure: check if issetugid is declared 5807 5808 GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 5809 declare it anywhere, causing gcc to error out with 5810 -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 5811 AC_CHECK_FUNC so we disable this code instead of failing to build it. 5812 5813 Debian bug#669670 <http://bugs.debian.org/669670> 5814 5815 Signed-off-by: Julien Cristau <jcristau@debian.org> 5816 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5817 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5818 5819commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 5820Author: Peter Hutterer <peter.hutterer@who-t.net> 5821Date: Mon Apr 30 16:36:47 2012 +1000 5822 5823 Typo fix 5824 5825 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5826 5827commit b64969f0e510d5d3300cf968741a3726a6409577 5828Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5829Date: Tue Apr 17 18:12:02 2012 -0700 5830 5831 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 5832 5833 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5834 5835commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 5836Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5837Date: Tue Apr 17 18:01:36 2012 -0700 5838 5839 Add olinks from libX11 & localedb specs to ICCCM spec 5840 5841 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5842 5843commit b3c1b8cdab7d14220426c9b997ac362dc16318fc 5844Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5845Date: Tue Apr 17 17:49:44 2012 -0700 5846 5847 Add olinks from libX11 spec to ICCCM spec 5848 5849 Also convert ICCCM title mentions from <emphasis> to <citetitle> 5850 5851 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5852 5853commit ebebb65e753007ad01966dccc90bd6ca9a826488 5854Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5855Date: Sat Apr 14 23:40:01 2012 -0700 5856 5857 libX11 AppC: Fix section headers that didn't translate from nroff properly 5858 5859 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5860 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 5861 5862commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 5863Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5864Date: Sat Apr 14 23:13:05 2012 -0700 5865 5866 Add olinks from libX11 spec to x11protocol spec 5867 5868 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5869 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 5870 5871commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 5872Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5873Date: Sat Apr 14 22:28:53 2012 -0700 5874 5875 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 5876 5877 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5878 5879commit abc523fce31fcf2687229697a8eb656e343ecb0c 5880Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5881Date: Thu Mar 15 22:14:45 2012 -0700 5882 5883 libX11 1.4.99.901 (1.5 RC1) 5884 5885 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5886 5887commit b2cc5905a4a6d519957223e8ba2caef71520040c 5888Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5889Date: Thu Mar 15 22:03:21 2012 -0700 5890 5891 Remove "register" qualifier that annoys Solaris Studio compiler 5892 5893 Fixes warning: 5894 "Xrm.c", line 1094: warning: storage class after type is obsolescent 5895 5896 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5897 5898commit 62d42953893f93a98db0504eaf06d650ceaf5811 5899Author: James Cloos <cloos@jhcloos.com> 5900Date: Wed Mar 14 17:25:46 2012 -0400 5901 5902 Fix the gtk+ additions 5903 5904 (Some of) the Dstroke and dstroke entries already were present as U011[01], 5905 even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 5906 5907 The addition of <Multi_key> <o> <apostrophe> as a postfix version of 5908 <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 5909 That prevents its and <Multi_key> <O> <apostrophe>’s addition. 5910 5911 Signed-off-by: James Cloos <cloos@jhcloos.com> 5912 5913commit 91bcce48d94792f78333d2aea73961cc2e739d2e 5914Author: Pander <pander@users.sourceforge.net> 5915Date: Wed Mar 14 12:54:53 2012 -0400 5916 5917 Complete compose key sequences for musical symbols 5918 5919 Signed-off-by: Pander <pander@users.sourceforge.net> 5920 Signed-off-by: James Cloos <cloos@jhcloos.com> 5921 5922commit cf040016d455bc37f7665d6714337c5eafd8ea94 5923Author: Pander <pander@users.sourceforge.net> 5924Date: Wed Mar 14 12:46:25 2012 -0400 5925 5926 Add compose sequences from gtk+ to X.Org 5927 5928 Signed-off-by: Pander <pander@users.sourceforge.net> 5929 Signed-off-by: James Cloos <cloos@jhcloos.com> 5930 5931commit a4c591ced5cac9301b9abfa0e521be2d0b267882 5932Author: Keith Packard <keithp@keithp.com> 5933Date: Sun Mar 4 02:00:13 2012 -0800 5934 5935 Block for other threads in _XUserLockDisplay 5936 5937 Wait for all other threads to release the user-level lock when 5938 acquiring it. This ensures that only one thread at a time holds the 5939 user-level lock, necessary as it is a nesting lock and a single 5940 variable is used to determine when the lock is nesting and when it is 5941 contended. 5942 5943 Signed-off-by: Keith Packard <keithp@keithp.com> 5944 Reviewed-by: Jamey Sharp <jamey@minilop.net> 5945 5946commit ed00b460acb08787b695f27b864e96102dfd4867 5947Author: Jon TURNEY <jon.turney@dronecode.org.uk> 5948Date: Fri Oct 28 11:09:20 2011 -0500 5949 5950 Don't use caddr_t casts 5951 5952 (caddr_t) isn't used anywhere else in xcb or libX11. 5953 Cast to (char *) for consistency. 5954 5955 Removing this cast allows building for MinGW without patching. 5956 5957 v2: Cast to (char *) rather than just dropping the cast 5958 5959 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5960 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5961 5962commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 5963Author: Julien Cristau <jcristau@debian.org> 5964Date: Sun Feb 19 13:27:38 2012 +0100 5965 5966 Revert "xcb: Add TCP fallback" 5967 5968 This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 5969 5970 The TCP fallback ended up falling back to UNIX socket connection if 5971 $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 5972 5973 Debian bug#659558 <http://bugs.debian.org/659558> 5974 5975 Signed-off-by: Julien Cristau <jcristau@debian.org> 5976 5977 Conflicts: 5978 5979 src/OpenDis.c 5980 5981commit f4378193619baa9bb973c1b5b718721bbcbe92c7 5982Author: James Cloos <cloos@jhcloos.com> 5983Date: Wed Feb 22 14:13:20 2012 -0500 5984 5985 Make the compose sequence for ẞ work. 5986 5987 There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 5988 so use the U1e9e symbol in the Compose sequence. 5989 5990 (Compose sequences do not work when the target symbol is unknown.) 5991 5992 Signed-off-by: James Cloos <cloos@jhcloos.com> 5993 5994commit 2ca641c3a506dcbee97e279b67990d5387389f36 5995Author: Marko Myllynen <myllynen@redhat.com> 5996Date: Mon Feb 20 17:04:59 2012 +0200 5997 5998 Use ezh/EZH in compose maps 5999 6000 Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 6001 6002 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 6003 Reviewed-by: Matt Dew <marcoz@osource.org> 6004 Signed-off-by: James Cloos <cloos@jhcloos.com> 6005 6006commit 61725822f20f47684a545c1797183ee7075243ac 6007Author: Marko Myllynen <myllynen@redhat.com> 6008Date: Sun Feb 20 17:09:43 2011 +0200 6009 6010 Provide translation from XK_permille (ad5) to Unicode (U2030) 6011 6012 https://bugs.freedesktop.org/show_bug.cgi?id=19687 6013 6014 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 6015 Reviewed-by: Matt Dew <marcoz@osource.org> 6016 Signed-off-by: James Cloos <cloos@jhcloos.com> 6017 6018commit d2cce0abba0fa0143f49026442c8cab5ed721625 6019Author: Jeremy Huddleston <jeremyhu@apple.com> 6020Date: Sun Feb 12 19:01:43 2012 -0800 6021 6022 nls: Use LC_CTYPE=C for sed magic 6023 6024 Stricter versions of sed can trip up if the input does not match 6025 LC_CTYPE 6026 6027 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6028 6029commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 6030Author: Frédéric Boiteux <fboiteux@calistel.com> 6031Date: Wed Nov 30 12:47:31 2011 +0000 6032 6033 Compositions with the dead greek symbol 6034 6035 FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 6036 6037 Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 6038 Signed-off-by: James Cloos <cloos@jhcloos.com> 6039 6040commit d58e8f8e27790017fcfdeca0843b7318d541c189 6041Author: Ryan Pavlik <rpavlik@iastate.edu> 6042Date: Sun Jan 1 21:04:52 2012 +0000 6043 6044 Use pthreads on MinGW also 6045 6046 Use pthreads (provided by the pthreads-win32 compatability library which implements 6047 them using native Win32 threading) on MinGW 6048 6049 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6050 6051commit bf15ccb6821664746ec23d769d757edf8059007e 6052Author: Ryan Pavlik <rpavlik@iastate.edu> 6053Date: Mon Jan 23 14:18:02 2012 +0000 6054 6055 Add XWindows.h include to Xxcbint.h 6056 6057 This avoids some conflicting type re-definition errors which occur if 6058 we attempt to include Windows headers after Xmd.h 6059 6060 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6061 6062commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 6063Author: Matt Dew <marcoz@osource.org> 6064Date: Sat Jan 21 17:59:51 2012 -0700 6065 6066 informaltable & table cleanup 6067 6068 On certain tables, add top and bottom borders to table header 6069 and a bottom border to the table. This matches what those 6070 tables in the old pdfs looked like. 6071 6072 the <?dbfo keep-together='always'> prevents tables from 6073 splitting across pages. Useful for tiny tables. 6074 6075 Converting the colwidth to a floating point, IE, 1* -> 1.0* 6076 cleans up these build errors: 6077 WARNING: table-layout="fixed" and column-width unspecified => 6078 falling back to proportional-column-width(1) 6079 6080 Signed-off-by: Matt Dew <marcoz@osource.org> 6081 6082commit bb551f654df8f647c867f79252241964521e689e 6083Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6084Date: Wed Dec 28 21:22:41 2011 -0800 6085 6086 Add more Xkb man pages to the See Also lists for core keyboard functions 6087 6088 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6089 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6090 6091commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 6092Author: Gaetan Nadon <nadon@memsize.(none)> 6093Date: Fri Dec 30 17:08:14 2011 -0500 6094 6095 docbook.am: embed css styles inside the HTML HEAD element 6096 6097 Rather than referring to the external xorg.css stylesheet, embed the content 6098 of the file in the html output produced. This is accomplished by using 6099 version 1.10 of xorg-xhtml.xsl. 6100 6101 This makes the whole html docs tree much more relocatable. 6102 In addition, it eliminates xorg.css as a runtime file which makes 6103 xorg-sgml-doctools a build time only package. 6104 6105 Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 6106 6107commit 70505468b7c4a7068cc39be42e421dcee34ec595 6108Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6109Date: Tue Dec 13 19:58:30 2011 -0800 6110 6111 makekeys: move buf declaration from global to main to silence gcc -Wshadow 6112 6113 The global was only referenced in the main() function, which passes it 6114 as an argument of the same name to the parse_line() function, leading 6115 to gcc -Wshadow warnings: 6116 6117 makekeys.c: In function ‘parse_line’: 6118 makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 6119 makekeys.c:54:13: warning: shadowed declaration is here 6120 6121 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6122 6123commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 6124Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 6125Date: Wed Dec 14 02:17:55 2011 -0500 6126 6127 XQueryColors: Split a request into multiple requests if necessary 6128 6129 https://bugs.freedesktop.org/show_bug.cgi?id=9160 6130 6131 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 6132 Signed-off-by: James Cloos <cloos@jhcloos.com> 6133 6134commit d3b3570592e9b9e57f270a0bd86762fd205a2833 6135Author: Andreas Wettstein <wettstein509@solnet.ch> 6136Date: Tue Nov 8 20:18:09 2011 +0000 6137 6138 XIM: Allow modifier releases in compose sequences (#26705) 6139 6140 Currently, only non-modifier keys (actually, keysyms) can be part of a compose 6141 sequence, and they are matched against the defined compose sequences at the 6142 time the key is pressed. The patch allows to use modifier keys an well, but 6143 matches them on key release, and only if no other key has been pressed after 6144 the modifier. 6145 6146 Releasing a non-matched modifier during an ongoing compose sequence only aborts 6147 the sequence if any modifier release would have matched. In particular, if no 6148 compose sequences with modifiers are specified, the compose mechanism works 6149 exactly as without this patch. 6150 6151 Even if modifiers are part of a compose sequence, they are not filtered. This 6152 is because modifiers affect the keyboard state no matter what we do here and, 6153 therefore, filtering them only could confuse clients. 6154 6155 The purpose is this extension to the compose mechanism is to allow to make 6156 better use of keys in convenient reach for touch typing. 6157 6158 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 6159 Signed-off-by: James Cloos <cloos@jhcloos.com> 6160 6161commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 6162Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6163Date: Tue Nov 29 23:56:57 2011 -0800 6164 6165 Reject negative string counts in copy_string_list 6166 6167 Silences parfait warning of a potential memory leak: 6168 Memory leak of pointer 'dst' allocated with malloc(length) 6169 at line 160 of FSWrap.c in function 'copy_string_list'. 6170 'dst' allocated at line 145 with malloc(length). 6171 dst leaks when count <= 0 at line 154. 6172 6173 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6174 6175commit bf2d7c8c6d70539c72560b1921e18df2610acf29 6176Author: Peter Hutterer <peter.hutterer@who-t.net> 6177Date: Fri Nov 11 14:56:36 2011 +1000 6178 6179 libX11 1.4.99.1 6180 6181 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6182 6183commit 24283d40b1e4314c6647dda49d2a159833341a8b 6184Author: Derek Buitenhuis <derek.buitenhuis@gmail.com> 6185Date: Thu Sep 22 18:44:13 2011 -0400 6186 6187 makekeys: Fix build/target word size mismatch when cross-compiling 6188 6189 Since makekeys is built using build environment's gcc and 6190 runs natively, we have to make sure that the size of the 6191 Signature type is the same on both the native environment 6192 and the target, otherwise we get mismatches upon running X, 6193 and some LSB test failures (xts5). 6194 6195 Use an unsigned 32-bit integer on all platforms. Also, 6196 eliminate the redundant multiple typedefs for the 6197 Signature type. 6198 6199 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 6200 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6201 6202commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 6203Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6204Date: Wed Nov 9 21:00:36 2011 -0800 6205 6206 XlcSL.c: convert old-style function definitions to ANSI C89 style 6207 6208 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6209 6210commit f6dad6aaa384bf836baa28ccb72b476a85c40eff 6211Author: Peter Hutterer <peter.hutterer@who-t.net> 6212Date: Thu Oct 27 13:53:22 2011 +1000 6213 6214 Use GetReqSized for GetReq and GetReqExtra 6215 6216 GetEmptyReq and GetResReq cannot do this due to the final typecast - 6217 typically requests that need either of those do not have their own typedef 6218 in the protocol headers. 6219 6220 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6221 Reviewed-by: Jamey Sharp <jamey@minilop.net> 6222 6223commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 6224Author: Peter Hutterer <peter.hutterer@who-t.net> 6225Date: Fri Oct 14 14:51:06 2011 +1000 6226 6227 include: Add GetReqSized() for request buffers of specific size 6228 6229 Some XI2 requests change in size over different versions and libXi would 6230 need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 6231 library can explicitly specify the size of the request in 4-byte units. 6232 6233 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6234 Reviewed-by: Jamey Sharp <jamey@minilop.net> 6235 6236commit ba8a7a19165e30d14bc165f43f67c19b6a115585 6237Author: Peter Hutterer <peter.hutterer@who-t.net> 6238Date: Thu Oct 27 13:24:10 2011 +1000 6239 6240 Switch GetEmptyReq and GetResReq to call _XGetRequest 6241 6242 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6243 Reviewed-by: Jamey Sharp <jamey@minilop.net> 6244 6245commit 4a060f993bf676cf21ad9784e010f54134da7b40 6246Author: Peter Hutterer <peter.hutterer@who-t.net> 6247Date: Mon Oct 17 09:45:15 2011 +1000 6248 6249 Add _XGetRequest as substitute for GetReq/GetReqExtra 6250 6251 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6252 Reviewed-by: Jamey Sharp <jamey@minilop.net> 6253 6254commit d8956520deb79c1cbb5e974c175bf8493859b22b 6255Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6256Date: Fri Oct 14 17:53:00 2011 -0700 6257 6258 Fix "nomal" -> "normal" typo in several comments 6259 6260 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6261 6262commit 002b36e308a26a152504f9b40aa08a0dce9a7991 6263Author: Xue Wei <Wei.Xue@Sun.COM> 6264Date: Fri Oct 14 17:39:21 2011 -0700 6265 6266 mbtocs should not truncate input 6267 6268 Fixes pasting more than 1024 bytes into xterm, as described in 6269 https://bugs.freedesktop.org/show_bug.cgi?id=25209 6270 6271 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6272 6273commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 6274Author: Marko Myllynen <myllynen@redhat.com> 6275Date: Mon Oct 10 09:41:13 2011 +0300 6276 6277 Add new compose sequences 6278 6279 This patch adds few new compose sequences to the en_US map, ligatures 6280 common in typesetting and sequences already in use in the fi_FI map. 6281 6282 https://bugs.freedesktop.org/show_bug.cgi?id=30621 6283 https://bugs.freedesktop.org/show_bug.cgi?id=34523 6284 6285 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6286 6287commit 738f7b867341c1da87ee667d48815822715c3e75 6288Author: Choe Hwanjin <choe.hwanjin@gmail.com> 6289Date: Thu Oct 13 07:58:02 2011 +0900 6290 6291 XIM: Make Xim handle NEED_SYNC_REPLY flag 6292 6293 NEED_SYNC_REPLY flag should be in Xim not in Xic. 6294 Because the focused Xic can be changed before sending sync reply. 6295 After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 6296 flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 6297 6298 This patch adds sync reply flag to Xim and removes sync reply 6299 from Xic. 6300 6301 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 6302 6303 Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 6304 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6305 6306commit 50e15379331c436851abb194251cde96999e67b3 6307Author: Bodo Graumann <mail@bodograumann.de> 6308Date: Mon Oct 10 16:40:52 2011 +0200 6309 6310 libX11: Fixing modifier key range in Xutil.h (Bug #21910) 6311 6312 IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 6313 which keys are regarded as modifiers. The constants ISO_Level5_Shift, 6314 ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 6315 some Neo2 modifiers functionless in combination with compose. 6316 This patch adjusts the range to include the correct, full range of 6317 modifier constants. 6318 6319 Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 6320 6321 X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 6322 6323 Signed-off-by: Bodo Graumann <mail@bodograumann.de> 6324 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6325 6326commit b5a108624331fabf393223c0891914cc54d4caf4 6327Author: Yann Droneaud <yann@droneaud.fr> 6328Date: Tue Oct 11 17:27:59 2011 +0200 6329 6330 Return name instead of False in XSetICValues() 6331 6332 In case of error, XSetICValues() must return the first argument 6333 that failed to be set. 6334 6335 But in some error paths, it returns False, which is converted to NULL, 6336 so the function returns OK in case of error. 6337 6338 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 6339 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6340 6341commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 6342Author: Yann Droneaud <yann@droneaud.fr> 6343Date: Sun Oct 9 17:56:45 2011 +0200 6344 6345 Return name instead of value in XGetIMValues() and XSetIMValues() 6346 6347 As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 6348 XGetIMValues() and XSetImValues() "returns the name of the first argument 6349 that could not be obtained." 6350 6351 But currently, 6352 6353 err = XGetIMValues(im, "invalid", &arg, NULL); 6354 6355 returns &arg instead of "invalid". 6356 6357 This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 6358 6359 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 6360 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6361 6362commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 6363Author: Jeremy Huddleston <jeremyhu@apple.com> 6364Date: Mon Oct 10 14:09:17 2011 -0700 6365 6366 Mark XKeycodeToKeysym as _X_DEPRECATED 6367 6368 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6369 6370commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 6371Author: Jeremy Huddleston <jeremyhu@apple.com> 6372Date: Sun Oct 9 02:38:28 2011 -0700 6373 6374 Fix nobreakspace for pt_BR.UTF-8 6375 6376 https://bugs.freedesktop.org/show_bug.cgi?id=31334 6377 6378 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6379 6380commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 6381Author: Jeremy Huddleston <jeremyhu@apple.com> 6382Date: Sun Oct 9 02:26:45 2011 -0700 6383 6384 Fix potential uninitialized variable access in _XimMakeICAttrIDList 6385 6386 Found by clang static analysis 6387 6388 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6389 6390commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 6391Author: Jeremy Huddleston <jeremyhu@apple.com> 6392Date: Sun Oct 9 02:25:50 2011 -0700 6393 6394 Remove self-resolving aliases 6395 6396 https://bugs.freedesktop.org/show_bug.cgi?id=30112 6397 6398 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6399 6400commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 6401Author: Matt Dew <marcoz@osource.org> 6402Date: Fri Oct 7 22:52:30 2011 -0600 6403 6404 Cleanup IDs and links in doc 6405 6406 1 - fix the capitalization of the ID attributes to match either the 6407 <title> or <funcdef> string it goes with. 6408 2 - fix any <linkend>'s that were affected by 1. 6409 3 - any <function> in the docs that has an actual funcdef, 6410 will become an olink. 6411 6412 Signed-off-by: Matt Dew <marcoz@osource.org> 6413 6414commit f858f3326adbc0c5711669b92a64a84a9083a055 6415Author: James Cloos <cloos@jhcloos.com> 6416Date: Tue Oct 4 17:11:11 2011 -0400 6417 6418 [nls] Fix typo/synco. 6419 6420 The iso8859-1 Compose table includes an optional section which uses 6421 Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 6422 to generate an @ (at) either was incorrectly copied from the Multi_key 6423 section or was not kept in sync with the Multi_key section. 6424 6425 Fixing this eliminates the warning from compose-check.pl: 6426 6427 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6428 ┃ Clash with existing sequence in iso8859-1/Compose.pre 6429 ┃ on line 661: Ctrl<T> <A> <A> 6430 ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 6431 ┃ line #480: Ctrl<T> <A> <A> : "@" at 6432 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6433 6434 Signed-off-by: James Cloos <cloos@jhcloos.com> 6435 6436commit 7f35f7efc23234b3f8529fee31a802c21846d9ab 6437Author: Jeremy Huddleston <jeremyhu@apple.com> 6438Date: Mon Sep 26 11:32:56 2011 -0700 6439 6440 Remove conflicting compose sequences for cent and colon 6441 6442 Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 6443 Found by tinderbox 6444 6445 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6446 6447commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 6448Author: Jeremy Huddleston <jeremyhu@apple.com> 6449Date: Sun Sep 25 16:29:17 2011 -0700 6450 6451 Add additional compose sequences for pound sterling, yen, and cent (mixed case) 6452 6453 https://bugs.freedesktop.org/show_bug.cgi?id=1013 6454 6455 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6456 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 6457 6458commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 6459Author: Jeremy Huddleston <jeremyhu@apple.com> 6460Date: Sat Sep 24 16:44:04 2011 -0700 6461 6462 Use a configure check for seteuid 6463 6464 HP-UX doesn't have seteuid 6465 6466 https://bugs.freedesktop.org/show_bug.cgi?id=1497 6467 6468 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6469 6470commit 79594b4d66344f248eb4314ecb78eb81f632c3ab 6471Author: Gaetan Nadon <memsize@videotron.ca> 6472Date: Tue Sep 20 16:06:10 2011 -0400 6473 6474 localedb specs: use <copyright> for first holder of multi license 6475 6476 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6477 6478commit 154430268cf004b06920edde2f1812dc16d71fae 6479Author: Gaetan Nadon <memsize@videotron.ca> 6480Date: Tue Sep 20 16:01:52 2011 -0400 6481 6482 libX11 specs: use <copyright> for first holder of multi license 6483 6484 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6485 6486commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 6487Author: Tollef Fog Heen <tfheen@err.no> 6488Date: Tue Sep 20 13:07:37 2011 -0400 6489 6490 NLS: Add more vulgar fractions 6491 6492 Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 6493 6494 Signed-off-by: Tollef Fog Heen <tfheen@err.no> 6495 Signed-off-by: James Cloos <cloos@jhcloos.com> 6496 6497commit e37a6da814b5653be46000a9a76902729660a2e6 6498Author: Alexander Polakov <polachok@gmail.com> 6499Date: Sat Sep 17 20:54:58 2011 +0400 6500 6501 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 6502 6503 There is no XAllowAccess man page to see. 6504 6505 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6506 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6507 6508commit a23f3323f269b33a43d16dce01395cd28bc41b45 6509Author: Gaetan Nadon <memsize@videotron.ca> 6510Date: Mon Sep 19 15:27:44 2011 -0400 6511 6512 XKB: provide adequate quotes for the license text 6513 6514 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6515 6516commit a9c7a5cad91d968f5536ef8fc735036e921832a3 6517Author: Gaetan Nadon <memsize@videotron.ca> 6518Date: Mon Sep 19 15:18:53 2011 -0400 6519 6520 XIM: refactor the multi licensing legal text 6521 6522 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6523 6524commit c46f934ed89e7de79746a0387c9f998d91994ea6 6525Author: Gaetan Nadon <memsize@videotron.ca> 6526Date: Mon Sep 19 10:33:30 2011 -0400 6527 6528 xim trans: restore Fujitsu copyright legal text 6529 6530 Somehow lost during docbook conversion. text from x.org ftp R7.5. 6531 6532 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6533 6534commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 6535Author: Gaetan Nadon <memsize@videotron.ca> 6536Date: Mon Sep 19 10:11:46 2011 -0400 6537 6538 xtrans: restore X Consortium original legal text 6539 6540 Asking X Consortium permission to use The Open Group name makes no sense. 6541 Even more so in 1994 before X Window System was passed on to the Open Group. 6542 6543 Using original text from xorg-docs/general/License 6544 6545 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6546 6547commit 136a381585a4a9686c11bad1a6130837978e677f 6548Author: Gaetan Nadon <memsize@videotron.ca> 6549Date: Mon Sep 19 10:03:21 2011 -0400 6550 6551 Framework: restore X Consortium copyright 6552 6553 Somewhat dammaged during docbook conversion. 6554 Also restore pasrt of the original license text 6555 6556 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6557 6558commit 33f346878406762704a0c13cdc018111c666f3c1 6559Author: Gaetan Nadon <memsize@videotron.ca> 6560Date: Mon Sep 19 09:50:00 2011 -0400 6561 6562 localedb: restore X Consortium original legal text 6563 6564 Asking X Consortium permission to use The Open Group name makes no sense. 6565 Even more so in 1994 before X Window System was passed on to the Open Group. 6566 6567 Using original text from xorg-docs/general/License 6568 6569 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6570 6571commit e99c9338e413efca026210b9d830efb5c74d34e5 6572Author: Gaetan Nadon <memsize@videotron.ca> 6573Date: Mon Sep 19 08:23:18 2011 -0400 6574 6575 specs: support multi licensed copyright notice and license text 6576 6577 For documentation having multiple licenses, the copyright and legalnotice 6578 elements sequence cannot instantiated multiple times. 6579 The copyright notice and license text are therefore coded inside a 6580 legalnotice element. The role attribute on the paragraph is used to allow 6581 styling of the copyright notice text which should not be italicized. 6582 6583 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6584 6585commit b9dedc757e667333ce899115d618f25cdaa4dd5e 6586Author: Gaetan Nadon <memsize@videotron.ca> 6587Date: Mon Sep 19 08:17:50 2011 -0400 6588 6589 localedb: add release info to spec 6590 6591 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6592 6593commit 4519c89a87ddce01e599542737a27c26030fe4ff 6594Author: Gaetan Nadon <memsize@videotron.ca> 6595Date: Mon Sep 19 08:05:32 2011 -0400 6596 6597 specs: fix The Open Group license text 6598 6599 The warranty referred to the X Consortium 6600 6601 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6602 6603commit 08ac378423e7be72e340197ba5559a1a36f1783c 6604Author: Gaetan Nadon <memsize@videotron.ca> 6605Date: Mon Sep 19 08:03:39 2011 -0400 6606 6607 specs: The strandard name is still "X Consortium Standard" 6608 6609 This spec, and fsproto spec, are the only two docs with a different 6610 standard name. 6611 6612 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6613 6614commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 6615Author: Gaetan Nadon <memsize@videotron.ca> 6616Date: Sun Sep 18 13:22:34 2011 -0400 6617 6618 specs: support multi licensed copyright notice and license text 6619 6620 For documentation having multiple licenses, the copyright and legalnotice 6621 elements sequence cannot instantiated multiple times. 6622 The copyright notice and license text are therefore coded inside a legalnotice 6623 element. The role attribute on the paragraph is used to allow styling of the 6624 copyright notice text which should not be italicized. 6625 6626 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6627 6628commit 278ca8947c1dabb2b819527dca0fa6190c034f67 6629Author: Gaetan Nadon <memsize@videotron.ca> 6630Date: Fri Sep 16 11:45:56 2011 -0400 6631 6632 docs: merge copyright holder under the same copyright notice 6633 6634 As per the docbook markup dtd. 6635 6636 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6637 6638commit 7ff012bb433109a622ac122ade71669e842ebdcf 6639Author: Gaetan Nadon <memsize@videotron.ca> 6640Date: Fri Sep 16 10:09:57 2011 -0400 6641 6642 specs: handle multiple sets of copyright notice/license/warranty 6643 6644 Docbook groups all the <copyright> elements together and all the 6645 <legalnotice> elements together. 6646 6647 We cannot have a sequence: 6648 <copyright> <legalnotice> <copyright> <legalnotice> [...] 6649 6650 A workaround, which was done in some documents, is to put the copyright 6651 notice inside the legalnotice in plain text without the <copyright> element. 6652 A formal paragraph title is added here which makes the copyright notice bold, 6653 and makes it much easier to locate. 6654 6655 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6656 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6657 6658commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 6659Author: Gaetan Nadon <memsize@videotron.ca> 6660Date: Wed Sep 14 15:55:42 2011 -0400 6661 6662 specs: remove orphan affiliation. 6663 6664 Authors affiliation are correct. 6665 6666 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6667 6668commit 0cc02a6df65214560b7575e89cebee741d6d2469 6669Author: Gaetan Nadon <memsize@videotron.ca> 6670Date: Tue Sep 13 17:39:02 2011 -0400 6671 6672 specs: use appropriate markup for Copyright statements 6673 6674 Also move <releaseinfo> to match order of appearance 6675 6676 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6677 6678commit afe13e19ebf0fc4e3460644164433af016f0add7 6679Author: Gaetan Nadon <memsize@videotron.ca> 6680Date: Mon Sep 12 16:54:45 2011 -0400 6681 6682 docs: use the &fullrelvers; entity to set X11 release information 6683 6684 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6685 6686commit 22a2153282db13e9d94881022b8c979539841a2c 6687Author: Gaetan Nadon <memsize@videotron.ca> 6688Date: Sun Sep 11 19:49:53 2011 -0400 6689 6690 docs: remove <productnumber> which is not used by default 6691 6692 This element is not rendered by default on the title. A template 6693 customization is required to display it. 6694 X Window System does not have a product number. 6695 6696 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6697 6698commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 6699Author: Gaetan Nadon <memsize@videotron.ca> 6700Date: Sun Sep 11 17:40:21 2011 -0400 6701 6702 docs: use the &fullrelvers; entity to set X11 release information 6703 6704 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6705 6706commit a6b2992f50b571d612ea9ade631c432c3099bc12 6707Author: Gaetan Nadon <memsize@videotron.ca> 6708Date: Sun Sep 11 17:38:42 2011 -0400 6709 6710 docs: remove orphan <affiliation> 6711 6712 Somehow created during the conversion from roff. Unable to locate 6713 the author to which it belongs. 6714 6715 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6716 6717commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 6718Author: Gaetan Nadon <memsize@videotron.ca> 6719Date: Sun Sep 11 17:38:05 2011 -0400 6720 6721 docs: remove <productnumber> which is not used by default 6722 6723 This element is not rendered by default on the title. A template 6724 customization is required to display it. 6725 X Window System does not have a product number. 6726 6727 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6728 6729commit 7d5b718c1edbc43c54b7001be548e515a49540ea 6730Author: Gaetan Nadon <memsize@videotron.ca> 6731Date: Fri Sep 9 14:46:39 2011 -0400 6732 6733 docbook.am: embed css styles inside the HTML HEAD element 6734 6735 Rather than referring to the external xorg.css stylesheet, embed the content 6736 of the file in the html output produced. This is accomplished by using 6737 version 1.10 of xorg-xhtml.xsl. 6738 6739 This makes the whole html docs tree much more relocatable. 6740 In addition, it eliminates xorg.css as a runtime file which makes 6741 xorg-sgml-doctools a build time only package. 6742 6743 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6744 6745commit 24632d280491c465dfe208ef788815890892e326 6746Author: Gaetan Nadon <memsize@videotron.ca> 6747Date: Mon Sep 5 12:53:12 2011 -0400 6748 6749 compose: upgrade makefile to support olinking on chunked html 6750 6751 The essential differences over the regular docbook.am are: 6752 Adding root.filename parameter for naming of chapters html files. 6753 Using xhtml xmlto format and xorg-chunk.xsl stylesheet 6754 Set olink.base.uri for pdf but not for chunked html 6755 Olink is not applicable to ps and txt formats. 6756 6757 Html chapters are added to shelf_DATA as they are also installed. 6758 The xml is generated from a perl script and not distributed. 6759 6760 Requires version 1.10 of xorg-sgml-doctools. 6761 6762 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6763 6764commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 6765Author: Gaetan Nadon <memsize@videotron.ca> 6766Date: Wed Aug 31 19:46:20 2011 -0400 6767 6768 docbook.am: refactor common flags for xmlto and xsltproc 6769 6770 Maximize reuse and reduce risk of setting the wrong flag 6771 at the wrong place. 6772 6773 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6774 6775commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 6776Author: Gaetan Nadon <memsize@videotron.ca> 6777Date: Wed Aug 31 10:46:59 2011 -0400 6778 6779 docbook.am: add search path for local entities 6780 6781 Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 6782 A module may want to add entities that apply only to itself and 6783 not to all modules, like the xserver does. 6784 6785 This feature may or may not be used in this module, but all modules 6786 share a copy of docbook.am. 6787 6788 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6789 6790commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 6791Author: Gaetan Nadon <memsize@videotron.ca> 6792Date: Thu Aug 25 14:39:20 2011 -0400 6793 6794 docbook.am: explicitly list xmlto flags for each target 6795 6796 Normal evolution of make targets make it impractical to factor out 6797 common command flags for xmlto. 6798 6799 The targets now list each command option as its presence or absence 6800 needs to be justified. 6801 6802 xorg.ss is only needed by xmlto for html. 6803 masterdb is only needed by xmlto. 6804 img.src.path must not be used by html. 6805 xsltproc need to use customization layer xorg-*.xsl. 6806 txt format is not required to search masterdb. 6807 6808 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6809 6810commit d5b3605f3b0639452e892e9ff3afb18bb7442069 6811Author: Gaetan Nadon <memsize@videotron.ca> 6812Date: Thu Aug 25 13:12:49 2011 -0400 6813 6814 docbook.am: do not generate docs if docbook customization layer is missing 6815 6816 The stylesheets used to be only about style, fonts or colors. 6817 Complex features are now used like olink and chunked html which 6818 may cause a build break when stylesheets are missing or lead to hard 6819 to find problem. 6820 6821 Some modules may be built when stylesheets are present while others 6822 are built without. There is no requirement to build crippled docs. 6823 6824 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6825 6826commit 7f23c72c94d9d14122426b0d8c66054f1402769a 6827Author: Gaetan Nadon <memsize@videotron.ca> 6828Date: Fri Aug 5 14:33:32 2011 -0400 6829 6830 libX11 specs: review doclifter generated tables 6831 6832 Many tables had a questionnable layout and some had information dropped. 6833 Each table was cross-referenced with a pre-docbook version 6834 to ensure semantic integrity. 6835 6836 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6837 6838commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 6839Author: Gaetan Nadon <memsize@videotron.ca> 6840Date: Wed Jul 20 15:28:47 2011 -0400 6841 6842 credits.xml: remove toc from Acknowledgments 6843 6844 There should be no toc for a simple preface with only one 6845 Acknowledgments section. 6846 6847 Use <simplesect> markup rather than sect1. 6848 6849 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6850 6851commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 6852Author: Gaetan Nadon <memsize@videotron.ca> 6853Date: Thu Aug 4 19:59:37 2011 -0400 6854 6855 libX11 specs: move </para> above <varaiablelist> 6856 6857 Many, but not all, function synopsis have a paragraph that 6858 nests the variable list. The code was generated by doclifter 6859 and there is no apprent reasons as to why it was done this way. 6860 Found while investigating a spacing issue. 6861 6862 Before the patch: 6863 <para>Some blurb about the function 6864 <funcsynopsis> 6865 </funcsynopsis> 6866 <variablelist> 6867 </variablelist> 6868 </para> 6869 6870 After the patch: 6871 <para>Some blurb about the function</para> 6872 <funcsynopsis> 6873 </funcsynopsis> 6874 <variablelist> 6875 </variablelist> 6876 6877 There are no noticable differences when reading the doc 6878 other than than the removed few pixels of spacing between 6879 the function sysnopsis and the variable list block. 6880 6881 In some cases, there are no "blurb about the fucntion" 6882 and the empty paragraph is removed. 6883 6884 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6885 6886commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 6887Author: Gaetan Nadon <memsize@videotron.ca> 6888Date: Thu Jul 28 19:46:14 2011 -0400 6889 6890 compose specs: generate chunked html 6891 6892 For large 600 page documents such as this one, chunked html 6893 provide faster browser load time and better navigation. 6894 6895 Simply click on the locale of your choice in the toc and 6896 the browser loads just that one file. Being a DocBook, 6897 it benefits from all of the usual features and can be 6898 integrated with the rest of the documentation. 6899 6900 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6901 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6902 6903commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 6904Author: Gaetan Nadon <memsize@videotron.ca> 6905Date: Thu Jun 23 15:16:47 2011 -0400 6906 6907 specs: build compose keys tables in specs/i18n/compose 6908 6909 Build the tables article together with the rest of the specs. 6910 Make it transparent that the source in generated in nls. 6911 Reuse docbook.am and get all the features such as olink. 6912 6913 The docbook article file stem and id must be the same. The new name 6914 for the main article is libX11-keys. The new installation location 6915 is $docdir/libX11/i18n/compose. 6916 6917 The nls dir retains the role of generating the DocBook/XML source 6918 but does not build neither installs output formats or generated source. 6919 6920 The tables article now has to specify that each included locale 6921 section is a dependency. It did not matter before as they were web links. 6922 6923 The xorg-sgml-doctools masterdb shall be updated to include this new doc. 6924 Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 6925 6926 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6927 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6928 6929commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 6930Author: Gaetan Nadon <memsize@videotron.ca> 6931Date: Thu Jun 23 14:43:31 2011 -0400 6932 6933 nls: restructure charts as a single article with sections 6934 6935 Looks more like a real article with a toc rather than individual 6936 web pages. Looks nicer in pdf. 6937 6938 Each locale is a "section" rather than an "article". 6939 Using XInclude to aggregate xml source files gets you the toc for free. 6940 6941 The single document is over 600 pages while there were 62 separate 6942 documents previously. FOP version 1.0 is required to handle missing 6943 character like capital sharp s. 6944 6945 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6946 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6947 6948commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 6949Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6950Date: Thu Jul 28 19:32:40 2011 -0700 6951 6952 libX11 1.4.4 6953 6954 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6955 6956commit ab1f30231755d99ed123af6873b981834640f01d 6957Author: Matt Dew <marcoz@osource.org> 6958Date: Wed Jul 13 12:33:40 2011 -0600 6959 6960 Add id attributes to error codes to allow linking from other docs. 6961 6962 Signed-off-by: Matt Dew <marcoz@osource.org> 6963 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6964 Acked-by: Gaetan Nadon <memsize@videotron.ca> 6965 6966commit 5c831fef402914ccf2ec14005c25be48852f119b 6967Author: David Coppa <dcoppa@gmail.com> 6968Date: Tue Jul 12 10:05:47 2011 +0200 6969 6970 Fix libpthread linkage on OpenBSD. 6971 6972 OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 6973 6974 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 6975 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6976 6977commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 6978Author: Gaetan Nadon <memsize@videotron.ca> 6979Date: Wed Jun 22 20:46:26 2011 -0400 6980 6981 config: use XORG_WITH_PERL macro to replace custom program check 6982 6983 New in version util-macros 1.15, the macro does the usual checking 6984 for program path and provides an interface for makefile variables. 6985 6986 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6987 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 6988 6989commit 47d99a324db9232029a22dd523e3bc3ed0936aca 6990Author: Gaetan Nadon <memsize@videotron.ca> 6991Date: Wed Jun 22 20:41:18 2011 -0400 6992 6993 config: update XORG_WITH_FOP macro usage 6994 6995 A new feature to test for a minimum version has been added. 6996 6997 The parameter position changed. Due to limited usage 6998 and requiring 1.15, it turns out to be backward compatible. 6999 7000 There is no functional change to how docs are build. 7001 7002 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7003 7004commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 7005Author: Gaetan Nadon <memsize@videotron.ca> 7006Date: Wed Jun 22 11:48:49 2011 -0400 7007 7008 Remove unused xmlrules.in in specs, now in /nls 7009 7010 The specs dir has been converted to docbook.am 7011 7012 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7013 7014commit 9992092609bd83a0db778e9a9ac1e879d445e637 7015Author: Gaetan Nadon <memsize@videotron.ca> 7016Date: Thu Mar 31 10:23:22 2011 -0400 7017 7018 nls: move xmlrules.in from specs to nls 7019 7020 It is no longer used in the specs dir. 7021 Remove html from CLEANFILES as it breaks. Make do not clean directories 7022 Remove SUFFIXES as pattern rules are used rather than suffix rules. 7023 7024 Other improvements are possible, the first priority is to move it out 7025 of the specs dir. 7026 7027 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 7028 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7029 7030commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 7031Author: Gaetan Nadon <memsize@videotron.ca> 7032Date: Sun Jun 5 16:27:36 2011 -0400 7033 7034 Install target dbs alongside generated documents 7035 7036 This matches a change in xorg-sgml-docs whereby the masterdb will look for 7037 the target dbs into the same location as the generated documents. 7038 7039 The target dbs are now installed alongside the generated documents. 7040 Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 7041 has the potential of installing outside the package prefix and cause 7042 distcheck to fail when user does not have write permission in this package. 7043 7044 Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 7045 7046commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 7047Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7048Date: Tue Jun 7 18:41:30 2011 -0700 7049 7050 specs/libX11: Turn appendix references into links 7051 7052 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7053 7054commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 7055Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7056Date: Tue Jun 7 18:37:41 2011 -0700 7057 7058 specs/libX11: Turn chapter references into links 7059 7060 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7061 7062commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 7063Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7064Date: Tue Jun 7 00:52:32 2011 -0700 7065 7066 specs/libX11: Turn many "see section ..." into links 7067 7068 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7069 7070commit 02d4c08dead2f266809b3f93ec72377783423ac7 7071Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7072Date: Sun Jun 5 22:50:37 2011 -0700 7073 7074 specs/libX11: Convert some header filenames to filename tags 7075 7076 perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 7077 7078 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7079 7080commit c51a011329afa6e5b9d2b285349c132683ecf9fb 7081Author: Matt Dew <marcoz@osource.org> 7082Date: Tue May 31 20:03:23 2011 -0600 7083 7084 Add id attributes to funcsynopsis to allow other docs to olink to them. 7085 7086 Signed-off-by: Matt Dew <marcoz@osource.org> 7087 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7088 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7089 7090commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 7091Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7092Date: Fri May 27 20:14:36 2011 -0700 7093 7094 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 7095 7096 https://bugs.freedesktop.org/show_bug.cgi?id=37624 7097 7098 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7099 7100commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 7101Author: Matt Dew <marcoz@osource.org> 7102Date: Sat May 21 00:23:06 2011 -0600 7103 7104 Add id's to functions, to make clickable links. 7105 7106 Signed-off-by: Matt Dew <marcoz@osource.org> 7107 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7108 7109commit 5c06bc594473f6ab234724cd90db32e7b57fe811 7110Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7111Date: Fri May 20 15:38:08 2011 -0700 7112 7113 libX11 spec: fix monospaced column alignment after deligaturization 7114 7115 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7116 7117commit ef0019c714c273cb9b4ad3eba52d0b905109826b 7118Author: James Cloos <cloos@jhcloos.com> 7119Date: Fri May 20 15:51:46 2011 -0400 7120 7121 Expand latin ligatures out to their NFKC equivalents. 7122 7123 Ligatures should be done by the typesetting system. 7124 Manuscripts should not bother with them. 7125 7126 Signed-off-by: James Cloos <cloos@jhcloos.com> 7127 Reviewed-by: Keith Packard <keithp@keithp.com> 7128 7129commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 7130Author: Daniel Stone <daniel@fooishbar.org> 7131Date: Thu May 12 16:21:50 2011 +0200 7132 7133 XCB: Add more friendly error messages for common asserts 7134 7135 This patch adds more friendly error messages for three common classes of 7136 assertion: 7137 - missed sequence numbers due to being griefed by another thread 7138 - unknown requests in queue due to being griefed by another thread 7139 - extensions dequeuing too much or too little reply data 7140 7141 It adds error messages offering advice (e.g. call XInitThreads() first) 7142 on stderr, but still generates actual assertions. Hopefully this means 7143 it's a little more Googleable and a little less frightening. 7144 7145 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 7146 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7147 7148commit 159bf292477048b9a2f074735afc516f52c93d80 7149Author: Gaetan Nadon <memsize@videotron.ca> 7150Date: Thu May 19 20:22:11 2011 -0400 7151 7152 Remove misplaced hyphens in libX11 DocBook/XML #37364 7153 7154 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 7155 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7156 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7157 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7158 7159commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 7160Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7161Date: Tue May 17 20:49:59 2011 -0700 7162 7163 Fix man page and comment references to use XFreeModifiermap (lowercase map) 7164 7165 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7166 7167commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 7168Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7169Date: Tue May 17 20:30:54 2011 -0700 7170 7171 XKB man pages: Fix coordinantes typo in multiple pages 7172 7173 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7174 7175commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 7176Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7177Date: Tue May 17 16:27:32 2011 -0700 7178 7179 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 7180 7181 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7182 7183commit ae39d82b01359b07dd1fe092d867f79ea95a5438 7184Author: Jeremy Huddleston <jeremyhu@apple.com> 7185Date: Sun May 8 09:08:07 2011 -0700 7186 7187 Silence clang static analysis warnings for SetReqLen 7188 7189 This provides a simplified version of the SetReqLen macro when using clang for 7190 static analysis. Prior to this change, we would see many Idempotent operation 7191 warnings inside this macro due to the common case of calling with arg2 and 7192 arg3 being the same variable. This has no effect on code produced during 7193 compilation, but it silences a number of false positives in static analysis. 7194 7195 XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 7196 SetReqLen(req, num_modifiers, num_modifiers); 7197 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7198 In file included from XIPassiveGrab.c:26: 7199 .../include/X11/Xlibint.h:580:8: note: instantiated from: 7200 n = badlen; \ 7201 ^ 7202 7203 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7204 7205commit 130af2bc02090ee2526adb2f9803fc07019b8f1f 7206Author: Jeremy Huddleston <jeremyhu@apple.com> 7207Date: Wed May 4 15:34:31 2011 -0700 7208 7209 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 7210 7211 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 7212 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 7213 ^~~~~~~ 7214 7215 Found-by: clang static analyzer 7216 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7217 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7218 7219commit c987ef04bea345d5810e60cf6c53b747ddbe910e 7220Author: Jeremy Huddleston <jeremyhu@apple.com> 7221Date: Wed May 4 15:31:17 2011 -0700 7222 7223 Revert "XKB: Avoid a possible NULL dereference" 7224 7225 Sorry for the noise. I accidentally pushed and didn't mean to. =( 7226 7227 This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 7228 7229commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 7230Author: Jeremy Huddleston <jeremyhu@apple.com> 7231Date: Wed May 4 11:35:31 2011 -0700 7232 7233 Dead code removal 7234 7235 XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 7236 for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 7237 ~~~^~~~ 7238 XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 7239 pos= 0; 7240 ^ ~ 7241 7242 Found-by: clang static analyzer 7243 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7244 7245commit 4024091678ea07e0d898b798df9b29f3bf68eb08 7246Author: Jeremy Huddleston <jeremyhu@apple.com> 7247Date: Wed May 4 11:34:53 2011 -0700 7248 7249 XKB: Avoid a possible NULL dereference 7250 7251 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 7252 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 7253 ^~~~~~~ 7254 7255 Found-by: clang static analyzer 7256 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7257 7258commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 7259Author: Jeremy Huddleston <jeremyhu@apple.com> 7260Date: Wed May 4 11:21:41 2011 -0700 7261 7262 Annotate _XIOError as _X_NORETURN 7263 7264 Found-by: clang static analyzer 7265 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7266 7267commit d3d7896408b435ab42656398839ff4351a37724d 7268Author: Jeremy Huddleston <jeremyhu@apple.com> 7269Date: Tue May 3 09:32:53 2011 -0700 7270 7271 clang analyzer: Don't warn about Xmalloc(0) 7272 7273 This will prevent a number of false positives in where clang's 7274 static analysis reports about calls to malloc(0). 7275 7276 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7277 7278commit 393921cf2188b2b0713cc157effaf17d0abab783 7279Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7280Date: Thu Apr 21 16:21:04 2011 -0700 7281 7282 Delete special case code to append "/sparcv9" to i18n module path 7283 7284 Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 7285 Inconsistent with all other platforms, and a bit overcomplicated. 7286 7287 Should anyone need to continue using that path, simply build with 7288 a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 7289 7290 Fixes Solaris bug 7038737: 7291 sparcv9 Xlib looking in wrong path for i18n loadable modules 7292 7293 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7294 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 7295 7296commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 7297Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7298Date: Thu Apr 14 13:47:12 2011 -0700 7299 7300 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 7301 7302 Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 7303 7304 https://bugs.freedesktop.org/show_bug.cgi?id=36244 7305 7306 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7307 7308commit b850adbdebcf500c659f85285d4d7374e15857f5 7309Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7310Date: Tue Apr 12 22:30:45 2011 -0700 7311 7312 Convert malloc(strlen()); strcpy() sets to strdup 7313 7314 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7315 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7316 7317commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 7318Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7319Date: Tue Apr 12 21:27:45 2011 -0700 7320 7321 Replace Xmalloc+bzero pairs with Xcalloc calls 7322 7323 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7324 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7325 7326commit ac1e2bff7121987fd768500a11d428d9fb9447c5 7327Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7328Date: Fri Mar 25 14:47:35 2011 +0200 7329 7330 om: Fix memory leaks on get_font_name error paths. 7331 7332 While at it, remove unneeded check for NULL before Xfree. 7333 7334 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7335 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7336 7337commit 7c362e275c93c92b4e68fe862e73ee36665de703 7338Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7339Date: Wed Mar 30 15:06:10 2011 +0300 7340 7341 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 7342 7343 pScreenData is replaced when building per visual intensity tables. If 7344 malloc failed the old value of pScreenData (stored also in 7345 pScreenDefaultData) was being leaked. Also, property_return wasn't 7346 free'd in that case. 7347 7348 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7349 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7350 7351commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 7352Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7353Date: Wed Mar 30 15:19:28 2011 +0300 7354 7355 xcms: Fix error on LINEAR_RGB_InitSCCData error path. 7356 7357 Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 7358 be accessed after being free'd. 7359 7360 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7361 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7362 7363commit d749948f9492fd9b61c74655a08e32c595e0e3a5 7364Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7365Date: Fri Mar 25 16:06:15 2011 +0200 7366 7367 om: Fix potential memory leak in init_om. 7368 7369 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7370 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7371 7372commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 7373Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7374Date: Thu Mar 24 20:40:41 2011 +0200 7375 7376 om: Fix memory leak on read_EncodingInfo error path. 7377 7378 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7379 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7380 7381commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 7382Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7383Date: Thu Mar 24 19:55:33 2011 +0200 7384 7385 Fix memory leaks on _XimCbDispatch error path. 7386 7387 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7388 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7389 7390commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 7391Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7392Date: Thu Mar 24 19:52:05 2011 +0200 7393 7394 Fix memory leak on _XimCommitRecv error path. 7395 7396 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7397 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7398 7399commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 7400Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7401Date: Thu Mar 24 19:48:44 2011 +0200 7402 7403 Fix memory leaks on _XimWriteCachedDefaultTree error paths. 7404 7405 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7406 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7407 7408commit e29be94edbb58b3b8dab545377a710d1f73b61e0 7409Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7410Date: Thu Mar 24 19:42:36 2011 +0200 7411 7412 Fix memory leaks on _XimGetAttributeID error paths. 7413 7414 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7415 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7416 7417commit d144a50512466766f55ce61e3884925334b08f0d 7418Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7419Date: Thu Mar 24 19:36:56 2011 +0200 7420 7421 Fix memory leaks on _XimProtoCreateIC error paths. 7422 7423 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7424 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7425 7426commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 7427Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7428Date: Thu Mar 24 16:24:29 2011 +0200 7429 7430 Fix leaks in _XimEncodingNegotiation error paths. 7431 7432 name_ptr and detail_ptr weren't free'd in some cases before returning 7433 False. 7434 7435 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7436 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7437 7438commit 396e5a452a59c1f121220ba72167b720a863b30f 7439Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7440Date: Thu Mar 24 14:17:44 2011 +0200 7441 7442 FSWrap: fix potential leak in copy_string_list 7443 7444 If list_count is 0, dst would be allocated and leaked. 7445 7446 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7447 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7448 7449commit 1a944260182bb552b954d69f6355c2760d4415df 7450Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7451Date: Wed Mar 23 14:36:22 2011 +0200 7452 7453 Fix memory leak with broken bitmap files in XReadBitmapFileData 7454 7455 Bitmap file data is read looping through the lines in the input file. If 7456 there is extra data after the bitmap, these lines will be processed and 7457 if this data represents another bitmap it will replace the one read 7458 before causing the memory allocated for bits to leak. 7459 7460 This changes the code to stop processing the file once a bitmap was 7461 read. 7462 7463 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7464 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7465 7466commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 7467Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7468Date: Tue Apr 12 20:50:42 2011 -0700 7469 7470 Fix "attrinute" typo in comments in ximcp 7471 7472 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7473 7474commit 7103b83a88edb9c93acfa68f3b556595b087baff 7475Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7476Date: Fri Apr 8 21:36:11 2011 -0700 7477 7478 Make doc install subdirectories more like the pre-docbook.am paths 7479 7480 Haven't restored the "specs" path in the install path, but have restored 7481 libX11 & i18n subdirectories in the path for better logical grouping. 7482 7483 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7484 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7485 7486commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 7487Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7488Date: Fri Apr 8 13:24:28 2011 -0700 7489 7490 Install xml versions of specs even if HAVE_XMLTO is false 7491 7492 Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 7493 from before docbook.am changes (commit e8c76407d2f6e3) 7494 7495 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7496 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7497 7498commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 7499Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7500Date: Tue Apr 5 13:29:04 2011 -0700 7501 7502 libX11 1.4.3 7503 7504 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7505 7506commit e8c76407d2f6e3b11babdb84426e43e780c859c3 7507Author: Gaetan Nadon <memsize@videotron.ca> 7508Date: Fri Feb 25 09:23:54 2011 -0500 7509 7510 Documentation: add Docbook external references support 7511 7512 When writing technical documentation, it is often necessary to cross 7513 reference to other information. When that other information is not in the 7514 current document, additional support is needed, namely <olink>. 7515 7516 A new feature with version 1.7 of xorg-sgml-doctools adds references to 7517 other documents within or outside this package. 7518 7519 This patch adds technical support for this feature but does not change 7520 the content of the documentation as seen by the end user. 7521 7522 Each book or article must generate a database containing the href 7523 of sections that can be referred to from another document. This database 7524 is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 7525 the value of DATAROOTDIR for xorg-sgml-doctools and for the package 7526 documentation is the same. This forms a virtual document tree. 7527 7528 This database is consulted by other documents while they are being generated 7529 in order to fulfill the missing information for linking. 7530 Refer to the xorg-sgml-doctools for further technical information. 7531 7532 Co-authored-by: Matt Dew <marcoz@osource.org> 7533 7534 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7535 7536commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 7537Author: Harshula Jayasuriya <harshula@gmail.com> 7538Date: Mon Mar 21 14:49:37 2011 +0000 7539 7540 Add #define XK_SINHALA 7541 7542 Add #define XK_SINHALA so that the Sinhala keysyms can be used by 7543 the lk xkb keymap. 7544 7545 Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 7546 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 7547 7548commit db8b20b789112717ac0590b40f0b4dc2171797d0 7549Author: Jeremy Huddleston <jeremyhu@apple.com> 7550Date: Thu Mar 17 16:15:00 2011 -0700 7551 7552 configure.ac: Bump version to 1.4.2 7553 7554 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7555 7556commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 7557Author: Jamey Sharp <jamey@minilop.net> 7558Date: Tue Mar 15 16:48:07 2011 -0700 7559 7560 Call _XErrorFunction without holding the Display lock. 7561 7562 Historically, Xlib dropped the Display lock around the upcall to any 7563 user-supplied _XErrorFunction, but somewhere along the way I quit doing 7564 that if you built with XCB. The reasons are lost somewhere in the 7565 pre-git history of Xlib/XCB, and I can't now see any reason to hold the 7566 lock. 7567 7568 The documentation for XSetErrorHandler still applies though: 7569 7570 Because this condition is not assumed to be fatal, it is acceptable 7571 for your error handler to return; the returned value is ignored. 7572 However, the error handler should not call any functions (directly 7573 or indirectly) on the display that will generate protocol requests 7574 or that will look for input events. 7575 7576 So while you are now once again permitted to re-enter Xlib from the 7577 error handler, you're only allowed to call non-protocol functions. 7578 7579 Signed-off-by: Jamey Sharp <jamey@minilop.net> 7580 7581commit fd85aca7a616c595fc17b2520f84316a11e8906f 7582Author: Jamey Sharp <jamey@minilop.net> 7583Date: Mon Mar 14 14:45:35 2011 -0700 7584 7585 Ignore user locks after sleeping in _XReply and _XReadEvents. 7586 7587 This bug appears as a hang in applications that wait for replies from 7588 multiple threads, where one such thread has taken a user lock using 7589 XLockDisplay. 7590 7591 Prior to this fix, the code could deadlock in this way: If thread 1 goes 7592 to sleep waiting for a reply, and then thread 2 takes a user lock and 7593 waits for a reply, then thread 2 will wait for thread 1 to process its 7594 reply (because responses must be processed in order), but thread 1 will 7595 wait for thread 2 to drop its user lock. 7596 7597 Fixed by making thread 1 not wait for thread 2 to drop its user lock. 7598 This makes the semantics of user locks hard to define, but they were 7599 already hard to define. The new behavior appears to be consistent with 7600 the way Xlib worked historically, anyway. 7601 7602 Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 7603 7604 There was a similar potential for deadlock in _XReadEvents, fixed the 7605 same way, with the same caveats about user-lock semantics. 7606 7607 Signed-off-by: Jamey Sharp <jamey@minilop.net> 7608 7609commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 7610Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7611Date: Tue Jan 18 15:58:20 2011 +0200 7612 7613 xkb: XkbPropertyPtr determined allocation success from wrong variables 7614 7615 Cannot reach dead statement "return NULL;" 7616 7617 Check for the NULLness of prop->name and prop->value instead of 7618 name and value, which was checked earlier anyway. Decided against 7619 using strdup due to curious memory allocation functions and the 7620 rest of the xkb not using it either. 7621 7622 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7623 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 7624 7625commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 7626Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7627Date: Mon Jan 10 16:37:22 2011 +0200 7628 7629 keyBind: Use Xcalloc to initialize allocated _XKeytrans 7630 7631 Using uninitialized value "p->modifiers" 7632 7633 Small fix by using Xcalloc instead of Xmalloc 7634 7635 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7636 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 7637 7638commit b993d73bb3214ecc24646f5427c8003b816c6921 7639Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7640Date: Mon Jan 10 16:22:45 2011 +0200 7641 7642 im/ximcp: release modifiermap before returning 7643 7644 Variable "map" goes out of scope 7645 7646 Release modifiermap before returning. Reordered code to call 7647 XGetModifierMapping after the first return from the function. 7648 7649 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7650 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 7651 7652commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 7653Author: Gaetan Nadon <memsize@videotron.ca> 7654Date: Fri Feb 25 09:23:54 2011 -0500 7655 7656 Docbook: change the book id to match the xml file basename 7657 7658 This is required for the up-coming external references support. 7659 7660 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7661 7662commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 7663Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 7664Date: Mon Feb 21 21:54:17 2011 +0100 7665 7666 Make the Local XIM request key releases for braille 7667 7668 Braille chords management needs key release events. We need to explicitly 7669 request then, else GTK would not pass them throught XFilterEvent and braille 7670 wouldn't work. 7671 7672 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 7673 7674commit c97c42c49cd5095462abecdf908b416fb0b540b6 7675Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 7676Date: Mon Feb 21 17:27:38 2011 +0100 7677 7678 Match braille patterns with compose tree 7679 7680 Braille patterns should also be usable in Compose. This combines the 7681 implementation of braille chords and compose tree: only emit the braille 7682 pattern if it can not be found in the compose tree, if any. 7683 7684 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 7685 7686commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 7687Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 7688Date: Mon Feb 21 15:56:54 2011 +0100 7689 7690 Fix status reporting for braille patterns 7691 7692 _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 7693 convert to the current MB charset. 7694 _XimLocalUtf8LookupString needs to set the braille keysym and status too. 7695 7696 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 7697 7698commit 993abe751f4141f54d8d28b8b73588a1c9085970 7699Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7700Date: Fri Feb 11 14:49:17 2011 -0800 7701 7702 Clean up memory when first XCreateRegion succeeds and second fails 7703 7704 Error: Memory leak (CWE 401) 7705 Memory leak of pointer 's' allocated with XCreateRegion() 7706 at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 7707 's' allocated at line 387 with XCreateRegion(). 7708 s leaks when s != 0 at line 387. 7709 Error: Memory leak (CWE 401) 7710 Memory leak of pointer 'tra' allocated with XCreateRegion() 7711 at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 7712 'tra' allocated at line 1451 with XCreateRegion(). 7713 tra leaks when tra != 0 at line 1451. 7714 7715 [ This bug was found by the Parfait 0.3.6 bug checking tool. 7716 For more information see http://labs.oracle.com/projects/parfait/ ] 7717 7718 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7719 7720commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 7721Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7722Date: Fri Feb 11 14:20:24 2011 -0800 7723 7724 ximcp: Prevent memory leak & double free if multiple %L in string 7725 7726 In the highly unlikely event that TransFileName was passed a path 7727 containing multiple %L entries, for each entry it would call 7728 _XlcFileName, leaking the previous results, and then for each entry it 7729 would copy from that pointer and free it, resulting in invalid pointers 7730 & possible double frees for each use after the first one freed it. 7731 7732 Error: Use after free (CWE 416) 7733 Use after free of pointer 'lcCompose' 7734 at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 7735 Previously freed at line 360 with free. 7736 Error: Use after free (CWE 416) 7737 Use after free of pointer 'lcCompose' 7738 at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 7739 Previously freed at line 360 with free. 7740 Error: Double free (CWE 415) 7741 Double free of pointer 'lcCompose' 7742 at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 7743 Previously freed at line 360 with free. 7744 7745 [ This bug was found by the Parfait 0.3.6 bug checking tool. 7746 For more information see http://labs.oracle.com/projects/parfait/ ] 7747 7748 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7749 7750commit 502d414118c97d35a44f8e295709682022876331 7751Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7752Date: Thu Feb 3 17:08:57 2011 +0200 7753 7754 xcms/cmsProp: don't deal with uninitialized values, fail instead 7755 7756 Properly handle the return value of XGetWindowProperty by considering 7757 if after the loop as well. 7758 7759 Using freed pointer "prop_ret" 7760 7761 There were numerous things wrong in how this function interacted with 7762 XGetWindowProperty. 7763 7764 None of the local variables were initialized and remained that way if 7765 the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 7766 result in after_ret being initialized in which case if it happens to 7767 be 0, the loop was exited. In that case format_ret and nitems_ret were 7768 uninitialized and the function might return with success (but with 7769 uninitialized pointer in prop_ret) or XcmsFailure. 7770 7771 As the buffer enlarging code was called only when XGetWindowProperty 7772 failed (returned not Success), after_ret would not have been 7773 initialized. It would have been initialized only if the 7774 XGetWindowProperty has returned Success earlier, but in that case the 7775 code fragment would not have been reached. 7776 7777 This patch alters the function to return XcmsFailure if the call to 7778 XGetWindowProperty fails. 7779 7780 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7781 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7782 Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 7783 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7784 7785commit c37e278993b9e5b3d7025ef4c434373a011996ec 7786Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7787Date: Mon Jan 31 14:02:07 2011 +0200 7788 7789 xcms/LRGB: don't double-free property_return 7790 7791 property_return was free'd before and in the case the conditional is true, 7792 the call to XcmsGetProperty failed which means that property_return wasn't 7793 set so there is no need to free it again. 7794 7795 Double free of pointer "property_return" in call to "free" 7796 7797 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7798 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7799 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7800 7801commit 50f4107811249806718a100f9d34f996c58e5e25 7802Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7803Date: Wed Feb 2 08:58:45 2011 -0800 7804 7805 Xrm.c: ReadInFile: refactor fstat error handling 7806 7807 We can simplify the fstat failure case now that the GetFileSize macro 7808 has been expanded inline. 7809 7810 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7811 Reviewed-by: Julien Cristau <jcristau@debian.org> 7812 7813commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 7814Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7815Date: Wed Feb 2 08:56:00 2011 -0800 7816 7817 Expand GetSizeOfFile() macro at the one place it's called 7818 7819 Removes XrmI.h header that only contained this single macro 7820 7821 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7822 Reviewed-by: Julien Cristau <jcristau@debian.org> 7823 7824commit 450e17422c0e374d25c643f343ea268cec68da38 7825Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7826Date: Mon Jan 31 14:01:57 2011 +0200 7827 7828 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 7829 7830 Possible overrun of 8192 byte fixed size buffer "buffer" by copying 7831 "ext->name" without length checking 7832 7833 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7834 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7835 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7836 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7837 7838commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 7839Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7840Date: Mon Jan 31 14:02:13 2011 +0200 7841 7842 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 7843 7844 Fixed by zero'ing conv on allocation with Xcalloc. Then 7845 close_converter works properly. 7846 7847 Using uninitialized value "conv->state" in call to function "close_converter" 7848 7849 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7850 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7851 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7852 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7853 7854commit 03f81ad8fb9783986cf9b17661dd31e95c396681 7855Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7856Date: Mon Jan 31 14:02:16 2011 +0200 7857 7858 xlibi18n/lcFile: Removed superfluous check for NULL target_dir 7859 7860 The situation is already handled before this code. 7861 7862 Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 7863 7864 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7865 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7866 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7867 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7868 7869commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 7870Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7871Date: Mon Jan 31 14:02:15 2011 +0200 7872 7873 ximcp/imLckup: Handle negative return value from _Xlcwctomb 7874 7875 Fixed by negative value to memcpy by checking for the negative return 7876 value of _Xlcwctomb and returning 0/XLookupNone in that case. 7877 7878 a negative value was passed to memcpy 7879 7880 Unfortunately the other return values for *status don't fit into the 7881 error (which appears to indicate some internal error or running out of 7882 memory). The other valid status codes are XBufferOverflow, 7883 XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 7884 these has a specific meaning attached. 7885 7886 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7887 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7888 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7889 7890commit 79a5c86e020f08cc108184298a72e2777036de39 7891Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7892Date: Mon Jan 31 14:02:14 2011 +0200 7893 7894 ximcp/imTrX: Handle failing XGetWindowProperty 7895 7896 Checked return value of XGetWindowProperty and return false if it fails. 7897 7898 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 7899 7900 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7901 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7902 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7903 7904commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 7905Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7906Date: Mon Jan 31 14:02:12 2011 +0200 7907 7908 XlibInt: info_list->watch_data was reallocated, but result was discarded 7909 7910 info_list->watch_data was being reallocated, but the return value of 7911 the reallocation was stored only into a local variable. This might 7912 cause some funky behavior and crashes. 7913 7914 Variable "wd_array" goes out of scope 7915 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)))" 7916 7917 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7918 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7919 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7920 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7921 7922commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 7923Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7924Date: Mon Jan 31 14:02:10 2011 +0200 7925 7926 GetProp: Zero-initialized error so its resourceID field is initialized 7927 7928 Using uninitialized value "error.resourceID" in call to function "_XError" 7929 7930 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7931 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7932 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7933 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7934 7935commit 85e9f38e016137f0ff2791eb0d092ab027382d2c 7936Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7937Date: Tue Feb 1 11:07:25 2011 +0200 7938 7939 xcms/LRGB: Add a label for freeing property_return. 7940 7941 The rest of the code uses goto's to free memory allocated later 7942 and prevent memory leaks, but there were several paths were 7943 property_return was free'd just before a goto. 7944 7945 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7946 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7947 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7948 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7949 7950commit 3161dc57d4e9b70f852f05e5e474455e121b06ab 7951Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7952Date: Mon Jan 31 14:02:08 2011 +0200 7953 7954 xcms/LRGB: Fix potential resource leak. 7955 7956 property_return was not free'd if the allocation of pRedTbl failed. 7957 7958 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7959 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7960 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7961 7962commit be3e6c205d94dedc1cdebf5d17b987f0f828377a 7963Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7964Date: Mon Jan 31 14:02:06 2011 +0200 7965 7966 Xrm: Handle the extremely unlikely situation of fstat failing 7967 7968 Tracked variable "size" was passed to a negative sink. 7969 7970 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7971 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7972 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7973 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7974 7975commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 7976Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7977Date: Mon Jan 31 14:02:05 2011 +0200 7978 7979 Xrm: NEWTABLE had a memory leak after a memory allocation error 7980 7981 The NEWTABLE macro missed freeing its allocated memory on subsequent 7982 memory allocation errors. Added call to Xfree. 7983 7984 Variable "table" goes out of scope 7985 7986 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7987 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 7988 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 7989 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7990 7991commit 7110ac653349a23c80c365f11f6270dc27c8975a 7992Author: Erkki Seppälä <erkki.seppala@vincit.fi> 7993Date: Mon Jan 31 14:02:03 2011 +0200 7994 7995 ImUtil: Handle a memory leak in one early return branch 7996 7997 Fixed memory leak by adding Xfree for image 7998 7999 Variable "image" goes out of scope 8000 8001 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8002 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8003 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8004 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8005 8006commit d695f5da9f5b778e54b6987d9177048e32818c4d 8007Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8008Date: Mon Jan 31 14:02:01 2011 +0200 8009 8010 ximcp/imRm: Handle leaking colormap_ret 8011 8012 Fixed memory leak by adding Xfree for colormap_ret 8013 8014 Variable "colormap_ret" goes out of scope 8015 8016 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8017 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8018 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8019 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8020 8021commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 8022Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8023Date: Mon Jan 31 14:01:59 2011 +0200 8024 8025 ximcp/imRmAttr: Handle leaking missing_list 8026 8027 Fixed memory leak by adding Xfree and initializing missing_list with NULL 8028 8029 Variable "missing_list" goes out of scope 8030 8031 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8032 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8033 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8034 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8035 8036commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 8037Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8038Date: Mon Jan 31 14:01:58 2011 +0200 8039 8040 ximcp/imRmAttr: Handle leaking colormap_ret 8041 8042 XFree colormap_ret and initialize it when appropriate. 8043 8044 Variable "colormap_ret" goes out of scope 8045 8046 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8047 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8048 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8049 8050commit f66a032a937030f2d9baa81744d36dc585bb085c 8051Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8052Date: Mon Jan 31 14:01:56 2011 +0200 8053 8054 xlibi18n/lcGeneric: Initialize uninitialized local variable 8055 8056 Using uninitialized value "new" 8057 8058 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8059 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8060 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8061 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8062 8063commit d0266e06d38110ec908ca28379014eff743630b7 8064Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8065Date: Mon Jan 31 14:01:54 2011 +0200 8066 8067 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 8068 8069 Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 8070 8071 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8072 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8073 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8074 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8075 8076commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 8077Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8078Date: Tue Feb 1 12:30:56 2011 +0200 8079 8080 XDefaultOMIF.c: Fix memory leaks in get_font_name 8081 8082 Instead of copying the value returned by get_prop_name and then releasing it, 8083 directly use the return value of get_prop_name, which allocates memory for the 8084 name. 8085 8086 If get_prop_name returns NULL, continue on to XFreeFont to release the font 8087 before returning the NULL via the normal function return. 8088 8089 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8090 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8091 8092commit 95796351435d81eaef8166d49ba3a6e7b633d70a 8093Author: Gaetan Nadon <memsize@videotron.ca> 8094Date: Mon Jan 31 14:50:19 2011 -0500 8095 8096 config: comment, minor upgrade, quote and layout configure.ac 8097 8098 Group statements per section as per Autoconf standard layout 8099 Quote statements where appropriate. 8100 Autoconf recommends not using dnl instead of # for comments 8101 8102 Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 8103 Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 8104 8105 This helps automated maintenance and release activities. 8106 Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 8107 8108 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8109 8110commit e994ab227ed28655565c3193e63733630105e7f9 8111Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8112Date: Tue Jan 18 12:49:48 2011 +0200 8113 8114 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 8115 8116 Removed superfluous comparison. 8117 8118 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 8119 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8120 8121commit 4115f051e62f9b098efce691e070d44f09f30f1c 8122Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8123Date: Wed Jan 12 15:51:11 2011 +0200 8124 8125 Variable "entry" tracked as NULL was dereferenced. 8126 8127 Check entry for non-nullness before dereferencing it 8128 8129 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 8130 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8131 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8132 8133commit 0edb76d1d5fdca5a2543332699be2e72386dab24 8134Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8135Date: Thu Jan 27 09:54:00 2011 +0200 8136 8137 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 8138 8139 If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 8140 8141 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 8142 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8143 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8144 8145commit 59da8a211ef723909d0530c0331d541db8e63378 8146Author: Erkki Seppälä <erkki.seppala@vincit.fi> 8147Date: Mon Jan 10 16:17:47 2011 +0200 8148 8149 Using freed pointer "e" 8150 8151 Reordered code to first to do the comparison and then to release data 8152 8153 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8154 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 8155 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 8156 8157commit 0f11c229f7099f7c5aeed4691b358dca151dac7d 8158Author: Matt Dew <marcoz@osource.org> 8159Date: Thu Jan 27 00:31:23 2011 -0700 8160 8161 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 8162 8163 Signed-off-by: Matt Dew <marcoz@osource.org> 8164 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8165 8166commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 8167Author: Gaetan Nadon <memsize@videotron.ca> 8168Date: Fri Jan 28 16:07:07 2011 -0500 8169 8170 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 8171 8172 This silences an Automake warning. 8173 8174 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8175 8176commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 8177Author: Gaetan Nadon <memsize@videotron.ca> 8178Date: Fri Jan 28 14:59:04 2011 -0500 8179 8180 config: remove unrequired AC_HEADER_STDC 8181 8182 Autoconf says: 8183 "This macro is obsolescent, as current systems have conforming 8184 header files. New programs need not use this macro". 8185 8186commit d4483375e37a72631d5821413cb75a423e990ffe 8187Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8188Date: Tue Jan 18 19:37:02 2011 -0800 8189 8190 config: Use correct AC_CONFIG_HEADERS macro 8191 8192 Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 8193 8194 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8195 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8196 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 8197 8198commit c6405fe931f313a0d159bdad00244fc8aae12468 8199Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8200Date: Sun Jan 16 11:55:23 2011 -0800 8201 8202 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 8203 8204 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 8205 AC_PROG_C_C99. This sets gcc with -std=gnu99. 8206 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 8207 8208 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8209 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8210 8211commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 8212Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8213Date: Sun Jan 16 11:40:59 2011 -0800 8214 8215 Update to xf86bigfontproto >= 1.2.0 header name 8216 8217 Clears compile-time warning of: 8218 "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 8219 "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 8220 8221 Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 8222 passed to configure. 8223 8224 Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 8225 that PKG_CHECK_MODULES does automatically 8226 8227 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8228 Reviewed-by: Julien Cristau <jcristau@debian.org> 8229 8230commit a9228fcc676aacf9a760dd94891c89f9bc82b20d 8231Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8232Date: Tue Jan 11 17:55:22 2011 -0800 8233 8234 libX11 1.4.1 8235 8236 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8237 8238commit 92fa96451af37a7a0f2592de07643fdaed7a9efd 8239Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 8240Date: Mon Jan 3 12:25:28 2011 -0500 8241 8242 Initialize event type 8243 8244 If we receive unsupported event closing connection triggers valgrind 8245 error. 8246 8247 ==12017== Conditional jump or move depends on uninitialised value(s) 8248 ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 8249 ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 8250 *snip* 8251 ==12017== Uninitialised value was created by a heap allocation 8252 ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 8253 ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 8254 ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 8255 ==12017== by 0x4892263: _XReply (xcb_io.c:626) 8256 *snip* 8257 8258 Problem is that XFreeDisplaySturture is checking for qelt->event.type == 8259 GenericEvent while _XUnknownWireEvent doesn't store the type. 8260 8261 Reviewed-by: Adam Jackson <ajax@redhat.com> 8262 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8263 Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 8264 8265commit fa9747b9d4443eef9b1687b8b1208801f5c585da 8266Author: Fernando Carrijo <fcarrijo.lists@gmail.com> 8267Date: Tue Dec 28 16:18:57 2010 -0500 8268 8269 specs: convert images from gif to svg format. 8270 8271 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8272 8273commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 8274Author: Philipp Reh <sefi@s-e-f-i.de> 8275Date: Wed Dec 22 15:14:05 2010 +0000 8276 8277 Events: Store event cookie when dequeuing event 8278 8279 When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 8280 make sure to store the corresponding cookie too. 8281 8282 Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 8283 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 8284 8285commit d2714d65e85b44abedf5f82e1a31506dba397ef2 8286Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8287Date: Tue Dec 21 18:47:16 2010 -0800 8288 8289 Revert "Mark atom names argument to XInternAtoms as const" 8290 8291 This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 8292 8293 The constification of a pointer to a pointer caused unexpected issues, 8294 and xorg-devel was unable to come up with a clean, safe, reasonable way 8295 to handle them, so we're chalking this up for now as yet another mistake 8296 in the Xlib API definition we'll be living with. 8297 8298 See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 8299 8300 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8301 8302commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 8303Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8304Date: Mon Dec 20 20:54:07 2010 -0800 8305 8306 specs/XKB: make acknowlegement section <preface> instead of <chapter> 8307 8308 Fixes numbering of actual chapters to match their filenames and to 8309 make the table/figure numbering match the references in the text. 8310 8311 Reported-by: jelmd on freenode irc 8312 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8313 8314commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 8315Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8316Date: Sun Dec 19 23:53:02 2010 -0800 8317 8318 Add XKBlib spec images to dist_spec_DATA for distribution & installation 8319 8320 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8321 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8322 8323commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 8324Author: Matt Dew <matt@osource.org> 8325Date: Tue Nov 30 10:52:07 2010 -0500 8326 8327 specs: convert XKBlib spec from Framemaker to DocBook.xml 8328 8329 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8330 8331commit c8701115462b482d99ecff24d9de0f2806084ba5 8332Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8333Date: Sun Nov 21 20:49:05 2010 -0800 8334 8335 Mark atom names argument to XInternAtoms as const 8336 8337 Updates code & docs for XInternAtoms. 8338 8339 The single atom name argument to XInternAtom was already const char * 8340 in the code, but not the docs, so updated it in the docs too. 8341 8342 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8343 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8344 8345commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 8346Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8347Date: Sun Nov 21 14:04:32 2010 -0800 8348 8349 libX11 1.4.0 8350 8351 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8352 8353commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 8354Author: Dan Nicholson <dbn.lists@gmail.com> 8355Date: Sat Nov 6 21:58:10 2010 +0000 8356 8357 config: Check host string when deciding architecture to build for 8358 8359 When checking for the OS/2 platform, $target_os is used. However, unless 8360 building a cross compiler, the $host* strings contain the platform 8361 details for the build system. See: 8362 8363 http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 8364 8365 $host_os is already being used to determine the transport and threading 8366 options. 8367 8368 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 8369 Reviewed-by: Julien Cristau <jcristau@debian.org> 8370 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8371 8372commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 8373Author: Dan Nicholson <dbn.lists@gmail.com> 8374Date: Sat Nov 6 21:58:09 2010 +0000 8375 8376 config: Fix architecture check for OS/2 to skip nios2 cpu 8377 8378 The OS/2 platform requires some utility functions as well as having a 8379 non-32 bit wchar_t. Fix the configure check so that it doesn't also 8380 affect the nios2 cpu, which wouldn't influence these operating system 8381 issues. 8382 8383 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 8384 Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 8385 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8386 Reviewed-by: Julien Cristau <jcristau@debian.org> 8387 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8388 8389commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 8390Author: Gaetan Nadon <memsize@videotron.ca> 8391Date: Tue Nov 9 13:04:44 2010 -0500 8392 8393 config: HTML file generation: use the installed copy of xorg.css 8394 8395 Currenlty the xorg.css file is copied in each location 8396 where a DocBook/XML file resides. This produces about 8397 70 copies in the $(docdir) install tree. 8398 8399 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8400 8401commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 8402Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8403Date: Fri Oct 29 22:02:10 2010 -0700 8404 8405 libX11 1.3.99.903 (1.4.0 RC3) 8406 8407 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8408 8409commit 5d245d8013289b13e0c42100951b26166c7fada4 8410Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8411Date: Fri Oct 29 22:01:39 2010 -0700 8412 8413 Require xorg-macros 1.11 now that it is released 8414 8415 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8416 8417commit 1ec89689fc771f116a6165226b9e076f54254a40 8418Author: Dan Nicholson <dbn.lists@gmail.com> 8419Date: Fri Oct 22 19:09:07 2010 -0700 8420 8421 docs: Disable fop documentation by default 8422 8423 fop is used to generate the pdf and ps formats of the documentation. 8424 This can significantly slow down the build, especially when creating all 8425 the compose key charts. Since few people probably want the full set of 8426 doc formats, set the default to 'no'. 8427 8428 The default parameter for XORG_WITH_FOP is only available in recent 8429 macros. Users generating configure from older macros will just get 8430 'auto' as the default. 8431 8432 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 8433 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8434 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8435 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8436 8437commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 8438Author: Jon TURNEY <jon.turney@dronecode.org.uk> 8439Date: Wed Apr 14 13:38:18 2010 +0100 8440 8441 Add C.UTF-8 and C.ASCII locale aliases 8442 8443 Add C.UTF-8 locale as an alias for en_US.UTF-8 8444 Add C.ASCII locale as an alias for C 8445 8446 (C.UTF-8 is the default locale for cygwin. It also exists in debian, 8447 although I don't think it's intended for use by humans.) 8448 8449 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 8450 Acked-by: Julien Cristau <jcristau@debian.org> 8451 Reviewed-by: James Cloos <cloos@jhcloos.com> 8452 8453commit 81d1d9a6bdca779a44f931730b866eea75777c00 8454Author: Dan Nicholson <dbn.lists@gmail.com> 8455Date: Sat Oct 9 16:00:47 2010 -0700 8456 8457 docs: Remove directory prerequisites from make rules 8458 8459 Make expects prerequisites to be files with valid timestamps, and 8460 directories are treated as always being out of date. Thus, any targets 8461 depending on directories will always be rebuilt. 8462 8463 Instead, the doc rules are changed to always create the target's leading 8464 directory. This should prevent the documentation from being rebuilt when 8465 "make install" is run. 8466 8467 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 8468 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 8469 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8470 8471commit d0cbf388919364fe6b5b9127f36426eb744090a0 8472Author: Jeremy Huddleston <jeremyhu@apple.com> 8473Date: Sun Sep 26 21:21:16 2010 -0700 8474 8475 Add an "X11_" string to header guards to avoid possible collision 8476 8477 This addresses a build failure which can result from <X11/Xlocale.h> and 8478 <xlocale.h> being included in the same code since they both used the same 8479 _XLOCALE_H_ protection. 8480 8481 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8482 8483commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 8484Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8485Date: Tue Sep 21 19:53:03 2010 -0700 8486 8487 libX11 1.3.99.902 (1.4.0 RC2) 8488 8489 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8490 8491commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 8492Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8493Date: Tue Sep 14 00:10:31 2010 -0700 8494 8495 Bug 19379 - Provide docs with overview of all compose key combinations 8496 8497 Adds compose-chart.pl to generate DocBook/XML documents listing compose 8498 keys, and Makefile rules to generate HTML & PDF output from them if xmlto 8499 is present. 8500 8501 https://bugs.freedesktop.org/show_bug.cgi?id=19379 8502 8503 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8504 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 8505 Reviewed-by: James Cloos <cloos@jhcloos.com> 8506 Tested-by: Gaetan Nadon <memsize@videotron.ca> 8507 8508commit 3eb064071695ebf0f371163ed818a428dfeba8e6 8509Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8510Date: Sat Sep 11 00:49:21 2010 -0700 8511 8512 Make locale data build non-recursive / parallelizable 8513 8514 On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 8515 plus this simplifies the next set of changes. 8516 8517 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8518 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 8519 Reviewed-by: James Cloos <cloos@jhcloos.com> 8520 Tested-by: Gaetan Nadon <memsize@videotron.ca> 8521 8522commit a3fc78ac352e5a70a958996ef6aec50f653974d1 8523Author: Gaetan Nadon <memsize@videotron.ca> 8524Date: Fri Sep 17 17:38:11 2010 -0400 8525 8526 config: remove man page suffix from bottom summary 8527 8528 The man page suffix is the same for all libraries on a given 8529 platform and is not configurable. It should have been removed 8530 in commit 09edc6de6. 8531 8532 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8533 8534commit a52b0068f36c739eb7e426214cd72a8d9bb776ca 8535Author: Gaetan Nadon <memsize@videotron.ca> 8536Date: Fri Sep 17 17:29:30 2010 -0400 8537 8538 config: remove unhelpful comment in .gitignore 8539 8540 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8541 8542commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 8543Author: Adam Jackson <ajax@redhat.com> 8544Date: Wed Sep 8 10:44:23 2010 -0400 8545 8546 Zero buffer data in BufAlloc() 8547 8548 Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 8549 compress better with ssh and friends. Note that you'll need to rebuild 8550 all your protocol libraries to take advantage of this. 8551 8552 Signed-off-by: Adam Jackson <ajax@redhat.com> 8553 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 8554 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8555 8556commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 8557Author: James Cloos <cloos@jhcloos.com> 8558Date: Sun Sep 12 17:00:54 2010 -0400 8559 8560 Revert “Dolt-ify" 8561 8562 Libtool’s is now sufficiently fast that DOLT is no longer 8563 worth the bother, even on those few systems where is works. 8564 8565 This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 8566 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 8567 8568 It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 8569 which moved dolt from configure.ac to m4/dolt.m4. 8570 8571 And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 8572 8573 Signed-off-by: James Cloos <cloos@jhcloos.com> 8574 8575commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 8576Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8577Date: Thu Sep 9 19:24:29 2010 -0700 8578 8579 XIM spec title page minor formatting cleanup 8580 8581 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8582 8583commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 8584Author: Jens Petersen <petersen@redhat.com> 8585Date: Mon Aug 23 18:08:10 2010 -0700 8586 8587 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 8588 8589 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 8590 8591 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8592 8593commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 8594Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8595Date: Fri Sep 3 23:11:53 2010 -0700 8596 8597 Sun's copyrights are now owned by Oracle 8598 8599 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8600 8601commit 7742bf62b1fa652da4270587e280249945367cae 8602Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8603Date: Fri Sep 3 18:31:44 2010 -0700 8604 8605 libX11 1.3.99.901 (1.4.0 RC1) 8606 8607 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8608 8609commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 8610Author: Jeroen Hoek <mail@jeroenhoek.nl> 8611Date: Sun Aug 29 09:47:06 2010 -0400 8612 8613 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 8614 8615 Add LATIN CAPITAL LETTER SHARP S 8616 (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 8617 8618 Signed-off-by: James Cloos <cloos@jhcloos.com> 8619 8620commit 09edc6de6619a2eabda3b808ebff4165550664f1 8621Author: Gaetan Nadon <memsize@videotron.ca> 8622Date: Fri Aug 13 14:21:08 2010 -0400 8623 8624 config: remove man-pages configuration option 8625 8626 This option was added in commit 6e752ea120 with no explanation. 8627 The section number is provoded by XORG_MANPAGE_SECTIONS 8628 There is no case where libX11 should be different than other libs 8629 The option was also used to disable building of the man pages, 8630 which build in 14 secs. No indication this is required. 8631 8632 If there is a requirement from system builders to disable building 8633 of man pages, it could be done consistently for all modules. 8634 8635 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8636 8637commit f92e754297ec5fdb81068b56a4435026666224fa 8638Author: Aaron Plattner <aplattner@nvidia.com> 8639Date: Sun Aug 15 21:51:38 2010 -0700 8640 8641 XOpenDisplay: save the correct display_name value 8642 8643 The X Test Suite's XDisplayString test checks the invariant 8644 XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 8645 invariant by expanding str to the canonical form "host:display.scrn" (unless 8646 HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 8647 to ":1.0": 8648 8649 400|26 1 1 19:26:41|IC Start 8650 200|26 1 19:26:41|TP Start 8651 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 8652 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 8653 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 8654 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 8655 520|26 1 00032625 1 5|value used as the display argument. 8656 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 8657 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 8658 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 8659 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 8660 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 8661 220|26 1 1 19:26:41|FAIL 8662 410|26 1 1 19:26:41|IC End 8663 8664 Fix this by deleting all of the code to construct the canonical path and just 8665 stashing a copy of the original display_name in dpy->display_name. 8666 8667 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 8668 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 8669 8670commit 1dc401f678469d0235e6d0b28eb4356f03327c9f 8671Author: Gaetan Nadon <memsize@videotron.ca> 8672Date: Fri Aug 13 13:06:51 2010 -0400 8673 8674 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 8675 8676 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8677 8678commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 8679Author: Gaetan Nadon <memsize@videotron.ca> 8680Date: Fri Aug 13 11:42:29 2010 -0400 8681 8682 man: simplify building of shadow man pages 8683 8684 Store the shadow files in git as any other man page. 8685 Move man pages to man dir and use the common makefile 8686 8687 Local fix in CVS for bug 5628 is not required 8688 as the problem has been fixed in 8689 util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 8690 8691 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8692 8693commit bfd899c9af2318ecbe84cb69007dba4223fdb502 8694Author: Gaetan Nadon <memsize@videotron.ca> 8695Date: Mon Aug 9 09:39:26 2010 -0400 8696 8697 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 8698 8699 in commit 76e07ef6911734eac418e399b114f1b544512736. 8700 8701 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8702 8703commit 76e07ef6911734eac418e399b114f1b544512736 8704Author: Gaetan Nadon <memsize@videotron.ca> 8705Date: Fri Aug 6 14:01:51 2010 -0400 8706 8707 man: using the C preprocessor is not required for man pages. 8708 8709 There were no special symbols needing cpp. 8710 Everything can be handled by the default MAN_SUBSTS in util-macros. 8711 8712 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8713 8714commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 8715Author: Jamey Sharp <jamey@minilop.net> 8716Date: Fri Aug 6 15:51:56 2010 -0700 8717 8718 Fix use-after-free in _XReply on X errors. 8719 8720 _XReply would always call dequeue_pending_request on errors. When it 8721 got an error for the current request, it would call dequeue, then break 8722 out of the loop; then, if it had an error in the event queue, it would 8723 compare it with the sequence number of the now-freed pending request. 8724 _XReply already stored that sequence number in dpy->last_request_read 8725 before freeing it, so look at that instead. 8726 8727 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 8728 8729 Signed-off-by: Jamey Sharp <jamey@minilop.net> 8730 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 8731 8732commit 9fa146b30046396b70d64986e50d6617b3a8ac48 8733Author: Gaetan Nadon <memsize@videotron.ca> 8734Date: Sat Jul 31 16:15:35 2010 -0400 8735 8736 specs: xsl stylesheet requires abs path to images 8737 8738 Using abs_builddir requires automake 1.10 or later. 8739 8740 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8741 8742commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 8743Author: Gaetan Nadon <memsize@videotron.ca> 8744Date: Sun Aug 1 14:13:07 2010 -0400 8745 8746 specs: update .gitignore now that all groff generated files are gone 8747 8748 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8749 8750commit f70527f05677aaf6a493ba42d2d95f738aaebafa 8751Author: Adam Jackson <ajax@redhat.com> 8752Date: Thu Jul 29 11:11:21 2010 -0400 8753 8754 nls: Switch one of the interrobang sequences to gnaborretni 8755 8756 Since gnaborretni is primarily used in LTR locales, the ? part of the 8757 sequence reflects the position of the bulge in the ?. When scanning an 8758 inverted interrobang left-to-right, you see the bulge first, so the 8759 compose sequence ?! is used; upright interrobang shows the bulge 8760 last, so it's !?. 8761 8762 This is a change in behaviour, but I was unable to come up with anything 8763 better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 8764 would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 8765 Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 8766 ~!? and ~?! were considered but are arguably less intuitive. 8767 8768 Reviewed-by: James Cloos <cloos@jhcloos.com> 8769 Signed-off-by: Adam Jackson <ajax@redhat.com> 8770 8771commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 8772Author: Gaetan Nadon <memsize@videotron.ca> 8773Date: Wed Jul 28 10:27:39 2010 -0400 8774 8775 specs: move indexterm from glossdef to glossterm 8776 8777 This move fixes a Java class cast exception in the glossary. 8778 The problem was introduced in commit 8779 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 8780 8781 It may not happen on all versions of the doc toolchain. 8782 There is no reason why indexterm cannot appear in glossdef, 8783 this is a workaround to an implementation problem found by 8784 trial and error. 8785 8786 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8787 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8789 8790commit 87a108f3aa565aa803dacb3a53b811f45025b609 8791Author: Matt Dew <matt@osource.org> 8792Date: Sat Jul 24 14:46:57 2010 -0400 8793 8794 specs: replace troff source with docbook-xml source 8795 8796 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8797 8798commit 8e603413586ff42b1351688f6f99318cbe243bca 8799Author: Julien Cristau <jcristau@debian.org> 8800Date: Sat Jul 24 22:13:07 2010 +0200 8801 8802 Compose.man: default user compose file is .XCompose, not .Xcompose 8803 8804 The path was correct in the DESCRIPTION section, but not in FILES. 8805 8806 Signed-off-by: Julien Cristau <jcristau@debian.org> 8807 8808commit 554da76ece85d0fc0cada45a86860e69c2107e9a 8809Author: Daniel Stone <daniel@fooishbar.org> 8810Date: Tue Jul 20 12:34:48 2010 +0100 8811 8812 NLS: Add \o/ Compose sequence 8813 8814 Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 8815 to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 8816 8817 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8818 8819commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 8820Author: Daniel Stone <daniel@fooishbar.org> 8821Date: Fri Jul 9 18:13:13 2010 +0100 8822 8823 XStringToKeysym: Cope with 0x1234cafe-style input 8824 8825 If we get input in the style of 0xdeadbeef, just return that exact 8826 keysym. Introduces a dependency on strtoul, which I'm told is OK on all 8827 the systems we care about. 8828 8829 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8830 8831commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 8832Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8833Date: Mon Jul 19 17:58:27 2010 -0700 8834 8835 specs/libX11: Fix column count of Gravity Attributes table 8836 8837 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8838 8839commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 8840Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8841Date: Mon Jul 19 14:43:38 2010 -0700 8842 8843 specs/libX11: Convert \- to − and \^ to either   or removed 8844 8845 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8846 8847commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 8848Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8849Date: Mon Jul 19 11:28:50 2010 -0700 8850 8851 specs/libX11: Manual cleanup pass over Ch. 1 8852 8853 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8854 8855commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 8856Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8857Date: Mon Jul 19 14:51:10 2010 -0700 8858 8859 specs/libX11: make sure all files have DOCTYPEs so standard entities work 8860 8861 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8862 8863commit c944a8521f5760b485192658b921145159cdb439 8864Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8865Date: Sun Jul 18 13:12:20 2010 -0700 8866 8867 specs/libX11: Fix up list of header files in Ch.1 & add index entries 8868 8869 Combination of manual editing and automatic substitution via: 8870 8871 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 8872 8873 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8874 8875commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 8876Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8877Date: Sun Jul 18 12:47:27 2010 -0700 8878 8879 specs/libX11: Add indexterms for headerfiles that .hN used to provide 8880 8881 Automatic substitution performed via: 8882 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 8883 8884 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8885 8886commit d0b0d215cb85da48b323b1392149ce181e7ef5ec 8887Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8888Date: Fri Jul 16 21:15:13 2010 -0700 8889 8890 specs/libX11: convert multicolumn lists from tables to <simplelist> 8891 8892 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8893 8894commit e679f80c6210c0aefe3669f8f536353619097a4b 8895Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8896Date: Fri Jul 16 20:51:52 2010 -0700 8897 8898 specs/libX11: Tag WM_* as <property> 8899 8900 Mass substitution done by: 8901 perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 8902 8903 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8904 8905commit c7b7e59b3b22221d0be6286c540001c360308f69 8906Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8907Date: Fri Jul 16 20:41:33 2010 -0700 8908 8909 specs/libX11: Convert simpler eqn markup to docbook tags 8910 8911 Mostly "sup" to <superscript> 8912 8913 There's several more complicated equations that will probably need 8914 MathML or SVG to solve. 8915 8916 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8917 8918commit 897486c54c6a54771867d667441aaf9a4b9c35ca 8919Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8920Date: Fri Jul 16 00:50:39 2010 -0700 8921 8922 specs/libX11: App. D: convert literallayouts to synopsis or programlisting 8923 8924 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8925 8926commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 8927Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8928Date: Fri Jul 16 00:36:43 2010 -0700 8929 8930 specs/libX11: Fix section headers in Appendix D 8931 8932 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8933 8934commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 8935Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8936Date: Wed Jul 14 07:22:26 2010 -0700 8937 8938 specs/libX11: Explicitly tag document as English 8939 8940 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8941 8942commit 6783544706ff370e900c137f951e90230586d6dc 8943Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8944Date: Mon Jul 12 22:03:18 2010 -0700 8945 8946 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 8947 8948 Fixes display of a bunch of function prototypes and sample code 8949 8950 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8951 8952commit 8834cd9285e6aaf437aee56292c508d99a090fa9 8953Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8954Date: Mon Jul 12 18:37:16 2010 -0700 8955 8956 xmlrules.in: Add chunked-html rule to manually generate smaller files 8957 8958 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8959 8960commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 8961Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8962Date: Mon Jul 12 18:35:59 2010 -0700 8963 8964 specs/libX11: Convert Appendix A tables to real tables 8965 8966 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8967 8968commit 705a1257a8a47f4a1f94979aee09a837500ede7d 8969Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8970Date: Mon Jul 12 18:38:09 2010 -0700 8971 8972 specs/libX11: Fix out-of-place text in Chapter 1 8973 8974 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 8975 8976 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8977 8978commit a151346a2b7810e988f1de4b1e00b37672dc587a 8979Author: Jeremy Huddleston <jeremyhu@apple.com> 8980Date: Mon Jul 12 16:52:12 2010 -0700 8981 8982 launchd: Explicitly search /sbin 8983 8984 Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 8985 https://bugs.freedesktop.org/show_bug.cgi?id=29028 8986 8987 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 8988 8989commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 8990Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8991Date: Mon Jul 12 13:38:04 2010 -0700 8992 8993 Replace untranslated .hN macros with <filename> tags to show header names 8994 8995 Translation performed by: 8996 perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 8997 {<<filename class="headerfile">$1</filename>>$2}' *.xml 8998 8999 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9000 9001commit 75480440946603b8efdbbf78b88d59c641b6d2c8 9002Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9003Date: Sat Jul 10 00:06:13 2010 -0700 9004 9005 specs/libX11: Mass substitution of <function> tags with more specific tags 9006 9007 Matched names from X headers & "nm libX11.so" output to names in spec to 9008 map to more specific tags. Tags used: 9009 9010 <code> code fragments 9011 <constant> enum values 9012 <errorname> X protocol errors 9013 <filename> filenames 9014 <function> functions 9015 <function> function-like macros (#define foo(a,b)...) 9016 <returnvalue> function return codes 9017 <structfield> struct members 9018 <structname> struct names (even when typedefed) 9019 <symbol> simple value #defines (#define NAME value) 9020 <systemitem> X protocol requests 9021 <systemitem class="event"> X protocol events 9022 <type> non-struct typedefs 9023 <varname> global variables 9024 9025 (Also fixed a couple typos detected by failures of this matching, such as 9026 XESSetPrintErrorValues -> XESetPrintErrorValues.) 9027 9028 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9029 9030commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 9031Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9032Date: Fri Jul 9 00:37:23 2010 -0700 9033 9034 specs/libX11: Glossary cross-reference links 9035 9036 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9037 9038commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 9039Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9040Date: Thu Jul 8 21:19:08 2010 -0700 9041 9042 specs/libX11: Make whitespace around <function> tags more uniform 9043 9044 Simplifies regular expressions for further mass substitutions. 9045 9046 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9047 9048commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 9049Author: Gaetan Nadon <memsize@videotron.ca> 9050Date: Fri Jul 9 20:10:37 2010 -0400 9051 9052 specs: use pattern rules rather than suffix rules 9053 9054 This allows target to rebuild when included .xml files are changed. 9055 9056 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9057 9058commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 9059Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9060Date: Thu Jul 8 20:56:41 2010 -0700 9061 9062 specs/libX11: Move punctuation outside of the <function> tags 9063 9064 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9065 9066commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 9067Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9068Date: Thu Jul 8 20:42:50 2010 -0700 9069 9070 specs/libX11: Mark a number of <acronym>s 9071 9072 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9073 9074commit d5bbb12f55ac9f691eab6242cedc53207275131b 9075Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9076Date: Thu Jul 8 19:31:36 2010 -0700 9077 9078 specs/libX11: Glossary terms should not be marked as functions 9079 9080 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9081 9082commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 9083Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9084Date: Thu Jul 8 19:28:18 2010 -0700 9085 9086 specs/libX11: Clean up author list & acknowledgements a little 9087 9088 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9089 9090commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 9091Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9092Date: Thu Jul 8 17:30:34 2010 -0700 9093 9094 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 9095 9096 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9097 9098commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 9099Author: Gaetan Nadon <memsize@videotron.ca> 9100Date: Thu Jul 8 17:29:21 2010 -0400 9101 9102 specs: specdir is required to install xml files 9103 9104 The source is installed as well as the targets. 9105 This failed when configuring with --without-xmlto 9106 9107 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9108 9109commit e14273f44c1501ab51db4adcb83b18a1073787d8 9110Author: Matt Dew <matt@osource.org> 9111Date: Thu Jul 8 14:42:32 2010 -0400 9112 9113 specs: replace troff source with docbook-xml source 9114 9115 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9116 9117commit bea0873caf50e9ed1b89255775d9ab912cbecd45 9118Author: Daniel Stone <daniel@fooishbar.org> 9119Date: Thu Jul 8 16:49:51 2010 +0100 9120 9121 XStringToKeysym: Check strdup() return value 9122 9123 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9124 Reviewed-by: Keith Packard <keithp@keithp.com> 9125 9126commit cffa71b4a5743e2b6675b9a917d15aef4177d513 9127Author: Marko Myllynen <myllynen@redhat.com> 9128Date: Mon Jun 28 15:08:05 2010 +0300 9129 9130 Fix two typos in SFS 5966 Annex 3 9131 9132 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 9133 9134 Signed-off-by: Julien Cristau <jcristau@debian.org> 9135 9136commit eb023c0f8919e809b8b609e1467b14d20a290aa7 9137Author: Daniel Stone <daniel@fooishbar.org> 9138Date: Tue Jun 15 18:49:43 2010 +0100 9139 9140 Delete now-redundant XKeysymDB 9141 9142 Since XStringToKeysym now supports all the vendor keysyms, just delete 9143 our XKeysymDB, which was incomplete at best, misleading at worst, and 9144 always an annoyance. 9145 9146 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9147 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9148 9149commit 00175397480b76d32bf82b0c7c94c91a2a95954e 9150Author: Daniel Stone <daniel@fooishbar.org> 9151Date: Tue Jun 15 18:48:48 2010 +0100 9152 9153 makekeys: Scan vendor keysyms as well as core 9154 9155 Since we can't really live without vendor keysyms, scan them all in to 9156 generate ks_tables.h, rather than only doing the core ones, and leaving 9157 the vendor syms to be manually synchronised with XKeysymDB. 9158 9159 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9160 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9161 9162commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 9163Author: Daniel Stone <daniel@fooishbar.org> 9164Date: Tue Jun 15 18:47:37 2010 +0100 9165 9166 XStringToKeysym: Special case for XF86 keysyms 9167 9168 Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 9169 XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 9170 found our XF86_foo, try it again as XF86foo. 9171 9172 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9173 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9174 9175commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 9176Author: Daniel Stone <daniel@fooishbar.org> 9177Date: Tue Jun 15 17:20:48 2010 +0100 9178 9179 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 9180 9181 AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 9182 namespace, so start using the more proper AX_DEFINE_DIR instead. 9183 9184 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9185 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9186 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9187 9188commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 9189Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 9190Date: Thu Jul 1 06:50:47 2010 -0300 9191 9192 Purge macros NEED_EVENTS and NEED_REPLIES 9193 9194 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 9195 Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 9196 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9197 9198commit 0b724231be17f19538ee115a03b82b221b1f83c0 9199Author: Adam Jackson <ajax@redhat.com> 9200Date: Wed Jun 30 16:30:49 2010 -0400 9201 9202 Use -version-number consistently instead of -version-info 9203 9204 The latter is libtool braindamage. 9205 9206 Signed-off-by: Adam Jackson <ajax@redhat.com> 9207 9208commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 9209Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 9210Date: Tue Jun 29 18:32:42 2010 +0200 9211 9212 Make Compose-comma map to ogonek for I and U in UTF-8 locales. 9213 9214 With the preceding patch, it makes the UTF-8 compose map consistent with 9215 the ISO 8859-4 and -13 maps. 9216 9217commit af55e582f485a668c2bf43129be972bc65f03c60 9218Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 9219Date: Tue Jun 29 18:20:18 2010 +0200 9220 9221 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 9222 9223 This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 9224 as far as Polish is concerned. We only sacrifice one pair of characters, 9225 e-cedilla, which is not used in any language. 9226 9227commit d6ba13009fc9ef876a104b907ffef73c6e405d4b 9228Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9229Date: Thu Jun 24 13:13:11 2010 -0700 9230 9231 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 9232 9233 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9234 9235commit 978c7238789037de917b9423ea9adfb006da1260 9236Author: Jamey Sharp <jamey@minilop.net> 9237Date: Sat Jun 19 10:44:55 2010 -0700 9238 9239 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 9240 9241 Don't lose async replies. That's bad. 9242 9243 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 9244 _XReply path worked; that path waited for replies, rather than polling. 9245 9246 However, XRecordProcessReplies, which does nothing but call XPending, 9247 relied on the event-handling path to process async replies, and that was 9248 busted. 9249 9250 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 9251 9252 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9253 9254commit ef67486c5a8aada24fd95b2991a3c4979f53805f 9255Author: Jamey Sharp <jamey@minilop.net> 9256Date: Mon Jun 21 13:34:15 2010 -0700 9257 9258 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 9259 9260 This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 9261 a matter of fact, if poll_for_response returns NULL when we know 9262 dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 9263 request. 9264 9265commit 301ec5b41e9d253a446db656e1789ac7345dc433 9266Author: Jamey Sharp <jamey@minilop.net> 9267Date: Mon Jun 21 13:24:24 2010 -0700 9268 9269 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 9270 9271 This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 9272 need to check poll_for_event every time through the loop in 9273 poll_for_response, so the commit did too much. 9274 9275commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 9276Author: Jamey Sharp <jamey@minilop.net> 9277Date: Mon Jun 21 10:54:02 2010 -0700 9278 9279 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 9280 9281 Fixes the second bug reported in: 9282 https://bugs.freedesktop.org/show_bug.cgi?id=28595 9283 9284 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9285 9286commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 9287Author: Jamey Sharp <jamey@minilop.net> 9288Date: Sat Jun 19 10:44:55 2010 -0700 9289 9290 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 9291 9292 Don't lose async replies. That's bad. 9293 9294 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 9295 _XReply path worked; that path waited for replies, rather than polling. 9296 9297 However, XRecordProcessReplies, which does nothing but call XPending, 9298 relied on the event-handling path to process async replies, and that was 9299 busted. 9300 9301 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 9302 9303 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9304 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 9305 9306commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 9307Author: Marko Myllynen <myllynen@redhat.com> 9308Date: Sun Jun 13 19:23:05 2010 +0300 9309 9310 Implement SFS 5966 Annex 4 for Finland 9311 9312 This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 9313 Annex 3 (which were actually copied verbatim from the standard text). 9314 9315 The implementation of the standard is now complete. 9316 9317 X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 9318 9319 Signed-off-by: Julien Cristau <jcristau@debian.org> 9320 9321commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 9322Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9323Date: Fri Jun 4 13:20:17 2010 -0700 9324 9325 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 9326 9327 One of the malloc failure checks had a goto to the wrong spot in the 9328 list of cleanup free() calls to unwind at the end, and was freeing 9329 bits that hadn't been initialized/allocated yet, since they would be 9330 stored in the struct that just failed to be allocated. 9331 9332 Error: Null pointer dereference (CWE 476) 9333 Read from pointer that could be constant 'NULL' 9334 at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 9335 Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 9336 9337 [ This bug was found by the Parfait bug checking tool. 9338 For more information see http://research.sun.com/projects/parfait ] 9339 9340 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9341 9342commit aebbf3623888119b43893b253195d93b613a6e1e 9343Author: Josh Triplett <josh@joshtriplett.org> 9344Date: Sun Jun 6 19:11:55 2010 -0700 9345 9346 Mark the rest of Xprivate.h as _X_HIDDEN. 9347 9348 None of the functions in Xprivate.h should have any callers outside of 9349 Xlib, by definition. 9350 9351 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 9352 Suggested-by: Jamey Sharp <jamey@minilop.net> 9353 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9354 9355commit abcd1b67c8135ad652833e5a60d818837c39fce1 9356Author: Julien Cristau <jcristau@debian.org> 9357Date: Fri Jun 4 13:57:45 2010 +0200 9358 9359 Hide _XSeqSyncFunction 9360 9361 Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 9362 non-static, but we don't need to export it. 9363 9364 Signed-off-by: Julien Cristau <jcristau@debian.org> 9365 Reviewed-by: Adam Jackson <ajax@redhat.com> 9366 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9367 9368commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 9369Author: Josh Triplett <josh@joshtriplett.org> 9370Date: Thu Jun 3 09:41:01 2010 -0700 9371 9372 Remove support for building without XCB 9373 9374 And there was much rejoicing. 9375 9376 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 9377 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9378 9379 Consensus on #xorg-devel agrees with removing --without-xcb; in 9380 particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 9381 Julien Cristau, and Rémi Cardona. 9382 9383commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 9384Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9385Date: Thu Jun 3 15:21:40 2010 -0700 9386 9387 libX11 1.3.4 9388 9389 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9390 9391commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 9392Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9393Date: Thu Jun 3 13:08:17 2010 -0700 9394 9395 Workaround bug in groff flag processing that breaks distcheck 9396 9397 At least with the groff 1.19.2 package I have installed, groff passes 9398 on the -I flags for the include path to grohtml, which if they come 9399 after the -P-I... flag we pass to grohtml to specify the image file 9400 name pattern cause it to override that flag and put the images in 9401 the wrong place, breaking "make distcheck" - changing the flag order 9402 works around this. 9403 9404 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9405 9406commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 9407Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9408Date: Thu Jun 3 11:25:33 2010 -0700 9409 9410 Fix typo that made configure always report "none" for man page suffix 9411 9412 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9413 9414commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 9415Author: Paul Bender <pebender@gmail.com> 9416Date: Thu Jun 3 11:20:26 2010 -0700 9417 9418 Bug 22591 - configure does not obey the --enable-*-transport options 9419 9420 https://bugs.freedesktop.org/show_bug.cgi?id=22591 9421 9422 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9423 9424commit d7f35946d673bb00f2768e025b6e1017422b2174 9425Author: Paul Bender <pebender@gmail.com> 9426Date: Thu Jun 3 11:17:45 2010 -0700 9427 9428 Bug 22590 - libX11 1.2.1 has broken abstract namespace support 9429 9430 https://bugs.freedesktop.org/show_bug.cgi?id=22590 9431 9432 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9433 9434commit b2487d07f7b355f230a56e32c763acd08862735c 9435Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9436Date: Thu Jun 3 11:06:15 2010 -0700 9437 9438 Bug 22584 - libX11 does not cross compile 9439 9440 Adaptation of patch submitted by Paul Bender in attachment 27301 to 9441 https://bugs.freedesktop.org/show_bug.cgi?id=22584 9442 9443 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9444 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 9445 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 9446 9447commit 4378219ff8c1418418c70086085358b69d574e74 9448Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9449Date: Tue Jun 1 18:55:48 2010 -0700 9450 9451 Clarify requirements in XRestackWindows man page 9452 9453 The required common parent window is not specified in the arguments, 9454 just implied as the parent of the first window in the list. 9455 9456 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9457 9458commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 9459Author: Jeremy Huddleston <jeremyhu@apple.com> 9460Date: Wed May 12 16:42:18 2010 -0700 9461 9462 xcb: Add TCP fallback 9463 9464 If we fail to connect to a UNIX socket and the transport isn't specified, 9465 fallback on TCP. This matches behavior with the xtrans codepath and the 9466 Xlib spec. 9467 9468 http://lists.x.org/archives/xorg-devel/2010-April/007915.html 9469 9470 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9471 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9472 9473commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 9474Merge: aae2a4a7 933aee1d 9475Author: Jamey Sharp <jamey@minilop.net> 9476Date: Mon May 10 16:51:24 2010 -0700 9477 9478 Merge branch 'xlib-xcb-thread-fixes' 9479 9480commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 9481Author: Jeremy Huddleston <jeremyhu@apple.com> 9482Date: Fri Apr 23 21:50:29 2010 -0700 9483 9484 Don't append the screen number when using a launchd socket 9485 9486 ssh gets confused by this. XQuartz is the only DDX using this 9487 functionality, and it doesn't support different screens, so 9488 let's just not include this until most ssh know how to handle 9489 this. 9490 9491 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9492 9493commit adcd0ec209abf832a769d52db660fb37eaad6e0c 9494Author: Jeremy Huddleston <jeremyhu@apple.com> 9495Date: Fri Apr 23 16:33:44 2010 -0700 9496 9497 Remove launchd logic from _XConnectXCB as it's handled in XCB 9498 9499 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9500 9501commit d232b259c36fdde1f4179822809fec1480867dc5 9502Author: Jeremy Huddleston <jeremyhu@apple.com> 9503Date: Tue Feb 2 17:01:28 2010 -0800 9504 9505 Fix various build warnings 9506 9507 imLcIm.c: In function '_XimCachedFileName': 9508 imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 9509 imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 9510 9511 imRm.c: In function '_XimDefaultArea': 9512 imRm.c:597: warning: cast from pointer to integer of different size 9513 imRm.c: In function '_XimDefaultColormap': 9514 imRm.c:626: warning: cast from pointer to integer of different size 9515 9516 lcFile.c:224: warning: no previous prototype for 'xlocaledir' 9517 9518 lcUTF8.c: In function 'iconv_cstombs': 9519 lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 9520 lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 9521 lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 9522 lcUTF8.c: In function 'iconv_mbstocs': 9523 lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 9524 lcUTF8.c: In function 'iconv_mbtocs': 9525 lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 9526 lcUTF8.c: In function 'iconv_mbstostr': 9527 lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 9528 lcUTF8.c: In function 'iconv_strtombs': 9529 lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 9530 lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 9531 lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 9532 lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 9533 lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 9534 lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 9535 lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 9536 lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 9537 lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 9538 9539 XlibInt.c: In function '_XGetHostname': 9540 XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 9541 XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 9542 9543 ConnDis.c: In function '_XDisconnectDisplay': 9544 ConnDis.c:540: warning: old-style function definition 9545 ConnDis.c: In function '_XSendClientPrefix': 9546 ConnDis.c:554: warning: old-style function definition 9547 ConnDis.c: In function 'XSetAuthorization': 9548 ConnDis.c:677: warning: old-style function definition 9549 9550 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9551 9552commit 3e11c73187acb2e2be9a812840bbbea947527ccb 9553Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 9554Date: Fri Apr 23 00:01:54 2010 +0200 9555 9556 Allow X11 users to compose anarchism 9557 9558 I can easily compose the hammer and sickle (the symbol representative 9559 of communism) by pressing the key sequence: 9560 9561 <Compose> <C> <C> <C> <P> -> ☭ 9562 9563 But i can't easily make the circled A (the symbol representative of 9564 anarchism). 9565 9566 I'd like to be able to use <Compose> <O> <A> (this is a 9567 currently unused key sequence) to generate the symbol: Ⓐ 9568 9569 Debian bug#555938 <http://bugs.debian.org/555938> 9570 9571 Signed-off-by: Julien Cristau <jcristau@debian.org> 9572 9573commit 933aee1d5c53b0cc7d608011a29188b594c8d70b 9574Author: Jamey Sharp <jamey@minilop.net> 9575Date: Fri Apr 16 20:18:28 2010 -0700 9576 9577 Fix Xlib/XCB for multi-threaded applications (with caveats). 9578 9579 Rather than trying to group all response processing in one monolithic 9580 process_responses function, let _XEventsQueued, _XReadEvents, and 9581 _XReply each do their own thing with a minimum of code that can all be 9582 reasoned about independently. 9583 9584 Tested with `ico -threads 20`, which seems to be able to make many 9585 icosahedrons dance at once quite nicely now. 9586 9587 Caveats: 9588 9589 - Anything that was not thread-safe in Xlib before XCB probably still 9590 isn't. XListFontsWithInfo, for instance. 9591 9592 - If one thread is waiting for events and another thread tries to read a 9593 reply, both will hang until an event arrives. Previously, if this 9594 happened it might work sometimes, but otherwise would trigger either 9595 an assertion failure or a permanent hang. 9596 9597 - Versions of libxcb up to and including 1.6 have a bug that can cause 9598 xcb_wait_for_event or xcb_wait_for_reply to hang if they run 9599 concurrently with xcb_writev or other writers. So you'll want that fix 9600 as well. 9601 9602 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9603 Reviewed-by: Josh Triplett <josh@freedesktop.org> 9604 9605commit aab43278ae619eb57d2dd9c7396f460f078588fc 9606Author: Jamey Sharp <jamey@minilop.net> 9607Date: Fri Apr 16 22:24:16 2010 -0700 9608 9609 Use InternalLockDisplay on code paths called from LockDisplay. 9610 9611 It's easier to reason about the code when we can't re-enter the 9612 Xlib-private sync-handlers while they're already running. 9613 9614 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9615 Reviewed-by: Josh Triplett <josh@freedesktop.org> 9616 9617commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 9618Author: Jamey Sharp <jamey@minilop.net> 9619Date: Fri Apr 16 19:45:11 2010 -0700 9620 9621 Fix _XSend to enqueue the right range of pending requests. 9622 9623 _XSend was off-by-one on both ends. It should not re-enqueue the last 9624 request that was already flushed, but it should enqueue the last request 9625 currently being flushed. 9626 9627 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9628 Reviewed-by: Josh Triplett <josh@freedesktop.org> 9629 9630commit f2735889908d6e5a7f8dbee42f00c54a52665191 9631Author: Jamey Sharp <jamey@minilop.net> 9632Date: Fri Apr 16 19:45:11 2010 -0700 9633 9634 Pending requests are always added in-order. 9635 9636 Replace insert_pending_request, which did an in-order search of the 9637 queue to find the right insertion point, with a simpler 9638 append_pending_request, and use that in _XSend as well. 9639 9640 Includes assertions to check that the list of pending requests is in 9641 order by sequence number and does not have duplicates. 9642 9643 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9644 Reviewed-by: Josh Triplett <josh@freedesktop.org> 9645 9646commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 9647Author: Markus Duft <markus.duft@salomon.at> 9648Date: Fri Apr 16 08:39:34 2010 -0700 9649 9650 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 9651 9652 https://bugs.freedesktop.org/show_bug.cgi?id=26839 9653 9654 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9655 9656commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 9657Author: Josh Triplett <josh@freedesktop.org> 9658Date: Thu Apr 15 14:24:21 2010 -0700 9659 9660 Stop returning an int from _XIDHandler and _XSeqSyncFunction 9661 9662 _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 9663 thus had to return an int. Now, they only run from _XPrivSyncHandler or 9664 LockDisplay, neither of which needs to check their return value since they 9665 always returned 0. Make them both void. 9666 9667 Signed-off-by: Josh Triplett <josh@freedesktop.org> 9668 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9669 9670commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 9671Author: Jamey Sharp <jamey@minilop.net> 9672Date: Thu Apr 15 13:05:08 2010 -0700 9673 9674 Move XID and sync handling from SyncHandle to LockDisplay to fix races. 9675 9676 XID and sync handling happened via _XPrivSyncHandler, assigned to 9677 dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 9678 without the Display lock, so manipulating the Display caused races, and 9679 these races led to assertions in multithreaded code (demonstrated via 9680 ico). 9681 9682 In the XTHREADS case, after you've called XInitThreads, we can hook 9683 LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 9684 _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 9685 that we hold the lock, and thus we can avoid races. We think it makes 9686 sense to do these both from LockDisplay rather than UnlockDisplay, so 9687 that you know you have valid sync and a valid XID before you start 9688 setting up the request you locked to prepare. 9689 9690 In the !XTHREADS case, or if you haven't called XInitThreads, you don't 9691 get to use Xlib from multiple threads, so we can use the logic we have 9692 now (with synchandler and savedsynchandler) without any concern about 9693 races. 9694 9695 This approach gets a bit exciting when the XID and sequence sync 9696 handlers drop and re-acquire the Display lock. Reacquisition will re-run 9697 the handlers, but they return immediately unless they have work to do, 9698 so they can't recurse more than once. In the worst case, if both of 9699 them have work to do, we can nest the Display lock three deep. In the 9700 case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 9701 takes the socket back if it needs to request more XIDs, and taking the 9702 socket back will reacquire the lock; we take care to avoid letting 9703 _XIDHandler run again and re-enter XCB from the return_socket callback 9704 (which causes Very Bad Things, and is Not Allowed). 9705 9706 Tested with ico (with 1 and 20 threads), and with several test programs 9707 for XID and sequence sync. Tested with and without XInitThreads(), and 9708 with and without XCB. 9709 9710 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 9711 9712 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9713 Signed-off-by: Josh Triplett <josh@freedesktop.org> 9714 9715commit b089b53b697c2851db2985d32af3b29f1da5e31e 9716Author: Jamey Sharp <jamey@minilop.net> 9717Date: Wed Apr 14 12:59:11 2010 -0700 9718 9719 Honest. Extensions get to filter async errors too. 9720 9721 Under some circumstances, errors are picked up by calling 9722 xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 9723 the requests with the XCB_REQUEST_CHECKED flag. That happens when either 9724 an async handler is queued at the time the requests are flushed, or when 9725 XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 9726 event queue. 9727 9728 This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 9729 those cases. 9730 9731 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 9732 9733 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9734 9735commit a15c31274650e391bc6de5d0951eb4464c228139 9736Author: Jamey Sharp <jamey@minilop.net> 9737Date: Wed Apr 14 12:10:34 2010 -0700 9738 9739 _XError already runs async handlers; only call them directly for replies. 9740 9741 The previous behavior probably would have triggered bug reports someday. 9742 9743 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9744 9745commit 405132dab64bf2375f8e57d02b1b53da2311933a 9746Author: Jamey Sharp <jamey@minilop.net> 9747Date: Tue Apr 13 12:12:36 2010 -0700 9748 9749 Extensions get to filter async errors too. 9750 9751 Apparently I misread XlibInt.c:_XReply and thought that handlers set 9752 with XESetError should be consulted only for the sequence number that 9753 _XReply is currently looking for. In fact, the error handlers are also 9754 consulted when an error arrives for a request that was not expected to 9755 have a reply. 9756 9757 However, in an odd twist, the error handlers are *not* consulted outside 9758 of _XReply--that is, when looking for events, or waiting to be able to 9759 flush the output queue. So this patch takes some small pains to preserve 9760 that behavior, though it seems likely to have been unintentional. 9761 9762 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 9763 9764 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9765 9766commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 9767Author: Jamey Sharp <jamey@minilop.net> 9768Date: Tue Apr 13 12:49:59 2010 -0700 9769 9770 Prefer the xcb_generic_error_t we already have over casting to xEvent. 9771 9772 Just a minor cleanup. 9773 9774 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9775 9776commit 75ea8c37935ccc911557d16a303ba595b8ab106b 9777Author: Jamey Sharp <jamey@minilop.net> 9778Date: Mon Apr 12 11:30:20 2010 -0700 9779 9780 Run the user's synchandler as well as any internal synchandlers. 9781 9782 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 9783 9784 Signed-off-by: Jamey Sharp <jamey@minilop.net> 9785 9786commit c3f3e4a9e531d010312c97e753d6e543e607094d 9787Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 9788Date: Fri Feb 12 17:16:10 2010 +0900 9789 9790 Fix manual typos. 9791 9792 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 9793 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9794 9795commit 75c6c5595408caba9ef8233839d77021d02f86f2 9796Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 9797Date: Fri Feb 5 20:42:46 2010 +0100 9798 9799 man: Correct the XkbAllAccessXEventsMask mask name 9800 9801 This mask has probably been renamed but not been updated in the manuals. 9802 9803 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 9804 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9805 9806commit 9262aceaff24c954cab8c252690032bc2ec25e7d 9807Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 9808Date: Fri Feb 5 20:42:45 2010 +0100 9809 9810 man: Add missing geometry component flag 9811 9812 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 9813 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9814 9815commit 50cf134465f6fd263f37acecac94518468ef1c6d 9816Author: Dirk Wallenstein <halsmit@t-online.de> 9817Date: Tue Feb 2 21:24:32 2010 +0100 9818 9819 man: Return value of XkbGetState is Status and not Bool 9820 9821 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 9822 Reviewed-by: Julien Cristau <jcristau@debian.org> 9823 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9824 9825commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 9826Author: Dirk Wallenstein <halsmit@t-online.de> 9827Date: Tue Feb 2 21:24:30 2010 +0100 9828 9829 man: Fix return value specification of XkbKeyActionEntry 9830 9831 The XkbKeyActionEntry macro expands to a pointer. 9832 9833 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 9834 Reviewed-by: Julien Cristau <jcristau@debian.org> 9835 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9836 9837commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 9838Author: Dirk Wallenstein <halsmit@t-online.de> 9839Date: Tue Feb 2 21:24:29 2010 +0100 9840 9841 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 9842 9843 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 9844 groups with 2 levels each. It wraps the index into the next group. 9845 This behavior confuses the unaware user, and therefore this will add a 9846 reference to XkbKeycodeToKeysym in the corresponding man paragraph. 9847 9848 Another bug had that issue, too. #5349 9849 9850 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 9851 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9852 9853commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 9854Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9855Date: Thu Apr 8 19:59:55 2010 -0700 9856 9857 Fix typo in new fi_FI.UTF-8 that was reported by "make check" 9858 9859 Unrecognized pattern in Compose on line #154: 9860 <dead_diaeresis> <space> " "¨" 9861 9862 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9863 9864commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 9865Author: Marko Myllynen <myllynen@redhat.com> 9866Date: Thu Apr 8 19:52:42 2010 -0700 9867 9868 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 9869 9870 I've rewritten the fi_FI.UTF-8 Compose file so that it 9871 9872 - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 9873 possible additions to en_US.UTF-8/Compose automatically included) 9874 - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 9875 definitions (thus making it safe to include en_US.UTF-8/Compose) 9876 - lists all the definitions specified in the SFS 5966 standard (thus making it 9877 easy to verify that the implementation is valid and complete) 9878 - adds a header about the file itself as required by the standard 9879 9880 The rewritten version is ~320 lines compared to over 5000 lines of the previous 9881 version. 9882 9883 https://bugs.freedesktop.org/show_bug.cgi?id=27465 9884 9885commit f6a4fd0c7615684d08e848245849dea4017a5214 9886Author: Gaetan Nadon <memsize@videotron.ca> 9887Date: Thu Apr 1 21:46:12 2010 -0400 9888 9889 config: update and relocate AC_DEFINE_DIR macro 9890 9891 Remove deprecated acinclude.m4 macro container file 9892 Use separate macro files as per autoconf recommendation 9893 Use the latest macro from GNU (ax) which replaces 9894 the non-gnu version (ac) 9895 This preserves the Autoconf macro AC namespace. 9896 9897 Also moved out of acinclude.m4 is the DOLT macro 9898 9899 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9900 9901commit 61d5231db418cec51bd718633c3bba39b18689d6 9902Author: Gaetan Nadon <memsize@videotron.ca> 9903Date: Mon Mar 29 14:53:48 2010 -0400 9904 9905 config: remove the pkgconfig pc.in file from EXTRA_DIST 9906 9907 Automake always includes it in the tarball. 9908 9909 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9910 9911commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 9912Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 9913Date: Wed Mar 17 23:53:16 2010 -0300 9914 9915 No need for req->firstKeyCode to be set twice. 9916 9917 There is no reason to set req->firstKeyCode twice when a client, wishful 9918 for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 9919 fixes the mistake by making no functional changes to libX11 whatsoever. 9920 9921 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 9922 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9923 9924commit b5797597f83ee62228abfb88f026ef92163e07a5 9925Author: Gaetan Nadon <memsize@videotron.ca> 9926Date: Tue Feb 16 10:37:21 2010 -0500 9927 9928 config: move CWARNFLAGS from configure.ac to Makefile.am 9929 9930 Compiler warning flags should be explicitly set in the makefile 9931 rather than being merged with other packages compiler flags. 9932 9933 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 9934 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9935 9936commit 052c4d7995b0e52a038933beb85cd544571c6b7e 9937Author: Gaetan Nadon <memsize@videotron.ca> 9938Date: Tue Feb 16 14:28:21 2010 -0500 9939 9940 specs: change install cmd due to automake 1.11 9941 9942 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 9943 9944 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9945 9946commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 9947Author: Gaetan Nadon <memsize@videotron.ca> 9948Date: Tue Feb 9 17:27:08 2010 -0500 9949 9950 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 9951 9952 $(MKDIR_P) is not defined in automake 1.9. 9953 9954 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9955 9956commit e66eda95b520727969d721416d4ea49b54ef2b03 9957Author: Gaetan Nadon <memsize@videotron.ca> 9958Date: Tue Feb 2 16:29:26 2010 -0500 9959 9960 specs: install html images in $docdir with html files 9961 9962 The images required by the html files have been omitted. 9963 9964 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9965 9966commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 9967Author: Gaetan Nadon <memsize@videotron.ca> 9968Date: Sun Jan 31 14:16:20 2010 -0500 9969 9970 doc: use new macros to control doc generation 9971 9972 Namely XORG_WITH_GROFF for the groff generation tool 9973 XORG_WITH_PS2PDF for the conversion of PS docs to PDF 9974 XORG_ENABLE_SPECS for the generation of specs 9975 9976 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9977 9978commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 9979Author: Gaetan Nadon <memsize@videotron.ca> 9980Date: Tue Jan 26 19:41:08 2010 -0500 9981 9982 doc: clean-up generated html images 9983 9984 Generate images in /images as is the convention 9985 Provide a base file name for images rather than process ID 9986 Remove images directory when running make clean 9987 9988 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9989 9990commit eb289b34bfc9978eef724e0f268975938334c06c 9991Author: Kristian Høgsberg <krh@bitplanet.net> 9992Date: Thu Jan 21 13:39:17 2010 -0500 9993 9994 XErrorDB: Add new DRI2 request names 9995 9996commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 9997Author: Julien Cristau <jcristau@debian.org> 9998Date: Sat Jan 16 22:47:03 2010 +0000 9999 10000 man: Fix typo in Makefile 10001 10002 Missing line continuation was preventing the XCompose alias from being 10003 generated. 10004 10005 Signed-off-by: Julien Cristau <jcristau@debian.org> 10006 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10007 10008commit 68530599e61cf9fef3fcc91650e7cef21837fce7 10009Author: Alan Coopersmith <alan.coopersmith@sun.com> 10010Date: Sat Jan 16 11:41:32 2010 -0800 10011 10012 libX11 1.3.3 10013 10014 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10015 10016commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 10017Author: Alan Coopersmith <alan.coopersmith@sun.com> 10018Date: Thu Jan 14 18:33:39 2010 -0800 10019 10020 Update COPYING file with actual licenses from libX11 code & docs 10021 10022 COPYING was previously a years out-of-date copy of the LICENSES 10023 doc summarizing all licenses for all XFree86 components, many of 10024 which did not apply to libX11. 10025 10026 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10027 10028commit ddb1786720d6136b1b28be599c75c10ad1b76a2a 10029Author: Alan Coopersmith <alan.coopersmith@sun.com> 10030Date: Thu Jan 14 17:38:26 2010 -0800 10031 10032 Purge CVS/RCS id tags 10033 10034 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10035 10036commit c1db9ddcfa7091f173478dca45bf720badedfca4 10037Author: Alan Coopersmith <alan.coopersmith@sun.com> 10038Date: Thu Jan 14 15:39:14 2010 -0800 10039 10040 Update Sun license notices to current X.Org standard form 10041 10042 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10043 10044commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 10045Author: Alan Coopersmith <alan.coopersmith@sun.com> 10046Date: Thu Jan 14 08:28:22 2010 -0800 10047 10048 Add %S substitutions to Compose man page 10049 10050 Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 10051 in Compose file include statements - this documents it in the Compose 10052 file man page. 10053 10054 Also changes the existing substitution documentation to list format 10055 instead of a paragraph format to allow easier adding of %S. 10056 10057 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10058 10059commit 94b45db93058cffa25598fe27dd3e385ace9d305 10060Author: Richard Purdie <rpurdie@linux.intel.com> 10061Date: Thu Jan 14 08:04:28 2010 -0800 10062 10063 Fix configure.ac PKG_ macro calls 10064 10065 If the first call to PKG_CHECK_MODULES() may not be called during execution 10066 which is the case here since its inside a case statement, call 10067 PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 10068 10069 Fixes a configure failure introduced by commit 10070 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 10071 10072 http://bugs.freedesktop.org/show_bug.cgi?id=26041 10073 10074 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 10075 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10076 10077commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 10078Author: Alan Coopersmith <alan.coopersmith@sun.com> 10079Date: Tue Jan 12 09:18:15 2010 -0800 10080 10081 Raise xorg-macros requirement to 1.4 10082 10083 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 10084 depend on the INSTALL file delivered in xorg-macros 1.4 10085 10086 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10087 10088commit 9df349a7894725f9469b106af645f57f7f3f9af3 10089Author: James Cloos <cloos@jhcloos.com> 10090Date: Wed Jan 13 11:04:38 2010 -0500 10091 10092 Allow inclusion of system level compose files. 10093 10094 With the release of XFree86 4.4 an inclusion system of compose files was 10095 added to Xlib to allow inclusion of the default compose file (with %L), 10096 any compose files from user’s home directory (with %H), or a compose 10097 file with a hard coded path¹. However, even today including system level 10098 compose files is not possible in a platform independent manner although 10099 the machinery for including compose files and overriding previously 10100 defined compositions is already in place. 10101 10102 With the ability to include system level compose files one could greatly 10103 reduce the need for compose file rule duplication and the work needed to 10104 propagate changes in one compose file to others. For example, currently 10105 the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 10106 is almost identical with en_US.UTF-8 except for perhaps half a dozen 10107 compositions. 10108 10109 This commit allows one to include system level compose files with the 10110 following kind of syntax: 10111 10112 include "%S/en_US.UTF-8/Compose" 10113 10114 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 10115 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 10116 10117 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 10118 Signed-off-by: James Cloos <cloos@jhcloos.com> 10119 10120commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 10121Author: Thien-Thi Nguyen <ttn@gnuvola.org> 10122Date: Tue Dec 1 10:31:47 2009 +0100 10123 10124 libX11: Fix comment: Invert polarity (direction) of reformat description. 10125 10126 Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 10127 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10128 10129commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 10130Author: Osamu Sayama <osamu.sayama@sun.com> 10131Date: Tue Jan 5 17:26:40 2010 -0800 10132 10133 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 10134 10135 - In set_fontset_extents, check font_data is not NULL before running 10136 loop that may increment it to a non-NULL invalid pointer. 10137 - Make sure get_rotate_fontname counts the final field 10138 10139 Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 10140 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 10141 10142 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10143 Reviewed-by: Adam Jackson <ajax@redhat.com> 10144 10145commit 87529c039050ce3336ff9ce00f1b5a21d15690da 10146Author: Alan Coopersmith <alan.coopersmith@sun.com> 10147Date: Tue Jan 5 18:02:37 2010 -0800 10148 10149 Merge X11, XKBPROTO, & XPROTO pkg-config lists 10150 10151 Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 10152 in configure.ac anyway, might as well combine the lists passed to 10153 PKG_CHECK_MODULES to reduce duplication in the flags. 10154 10155 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10156 Reviewed-by: Rémi Cardona <remi@gentoo.org> 10157 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 10158 10159commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 10160Author: Alan Coopersmith <alan.coopersmith@sun.com> 10161Date: Tue Jan 5 17:56:58 2010 -0800 10162 10163 Add XCompose man page shadow for Compose man page 10164 10165 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10166 10167commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 10168Author: Alan Coopersmith <alan.coopersmith@sun.com> 10169Date: Tue Jan 5 17:47:44 2010 -0800 10170 10171 Add $(AM_V_GEN) to silence lint rules too 10172 10173 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10174 10175commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 10176Author: Alan Coopersmith <alan.coopersmith@sun.com> 10177Date: Tue Jan 5 17:42:42 2010 -0800 10178 10179 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 10180 10181 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10182 10183commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 10184Author: Gaetan Nadon <memsize@videotron.ca> 10185Date: Sun Nov 29 10:44:24 2009 -0500 10186 10187 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 10188 10189 It must be following AC_USE_SYSTEM_EXTENSION 10190 10191commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 10192Author: Gaetan Nadon <memsize@videotron.ca> 10193Date: Sun Nov 29 10:01:44 2009 -0500 10194 10195 Add .gitignore in /specs for generated files 10196 10197 Being in /specs, it will apply for all 3 subdirs 10198 10199commit f45d39d37aab04742e44cd8c3c993aad7587e40c 10200Author: Gaetan Nadon <memsize@videotron.ca> 10201Date: Fri Nov 27 20:56:03 2009 -0500 10202 10203 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 10204 10205 Now that the INSTALL file is generated. 10206 Allows running make maintainer-clean. 10207 10208commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 10209Author: Gaetan Nadon <memsize@videotron.ca> 10210Date: Wed Oct 28 14:09:10 2009 -0400 10211 10212 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 10213 10214 Add missing INSTALL file. Use standard GNU file on building tarball 10215 README may have been updated 10216 Remove AUTHORS file as it is empty and no content available yet. 10217 Remove NEWS file as it is empty and no content available yet. 10218 10219commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 10220Author: Gaetan Nadon <memsize@videotron.ca> 10221Date: Tue Oct 27 15:07:25 2009 -0400 10222 10223 Deploy the new XORG_DEFAULT_OPTIONS #24242 10224 10225 This macro aggregate a number of existing macros that sets commmon 10226 X.Org components configuration options. It shields the configuration file from 10227 future changes. 10228 10229commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 10230Author: Gaetan Nadon <memsize@videotron.ca> 10231Date: Mon Oct 26 22:08:42 2009 -0400 10232 10233 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 10234 10235 ChangeLog filename is known to Automake and requires no further 10236 coding in the makefile. 10237 10238commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 10239Author: Gaetan Nadon <memsize@videotron.ca> 10240Date: Thu Oct 22 12:34:19 2009 -0400 10241 10242 .gitignore: use common defaults with custom section # 24239 10243 10244 Using common defaults will reduce errors and maintenance. 10245 Only the very small or inexistent custom section need periodic maintenance 10246 when the structure of the component changes. Do not edit defaults. 10247 10248commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 10249Author: Alan Coopersmith <alan.coopersmith@sun.com> 10250Date: Thu Nov 12 23:05:40 2009 -0800 10251 10252 Add compose-check.pl to EXTRA_DIST 10253 10254 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10255 10256commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 10257Author: Julien Cristau <jcristau@debian.org> 10258Date: Thu Oct 29 17:17:24 2009 +0100 10259 10260 man: fix XCopyGC argument order 10261 10262 Ubuntu bug#408337 10263 10264commit aad10032651cdc2a53b359035954454a28d6db67 10265Author: Alan Coopersmith <alan.coopersmith@sun.com> 10266Date: Fri Oct 23 13:55:14 2009 -0700 10267 10268 libX11 1.3.2 10269 10270 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10271 10272commit 6303ada89cb228c0f9656036f798703afb42fc29 10273Author: Peter Hutterer <peter.hutterer@who-t.net> 10274Date: Wed Oct 21 12:42:07 2009 +1000 10275 10276 Add smiley faces to compose sequences. 10277 10278 I wonder how we could have lasted that long without them. 10279 10280 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10281 Acked-by: Daniel Stone <daniel@fooishbar.org> 10282 Acked-By: James Cloos <cloos@jhcloos.com> 10283 10284commit 0e104ebd8628803c27e36b16922ad1edd891325a 10285Author: Alan Coopersmith <alan.coopersmith@sun.com> 10286Date: Thu Oct 22 23:12:30 2009 -0700 10287 10288 Add man page for Compose file format 10289 10290 Based on grammar description in modules/im/ximcp/imLcPrs.c and 10291 note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 10292 10293 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10294 10295commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 10296Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 10297Date: Tue Oct 20 12:46:03 2009 -0700 10298 10299 Add extra configuration and sanity checks for groff and ps2pdf 10300 10301 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 10302 environment variables. 10303 2) Check that groff -ms works 10304 10305 Some distributions ship the ms macros as a separate package which may 10306 not be installed together with groff, so we need to make sure that groff 10307 works and the required macros are actually installed before attempting 10308 to build the specs. 10309 10310 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 10311 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 10312 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10313 10314commit d3f801fd2f9198eaad6797414dba652f9c006c6d 10315Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10316Date: Sun Oct 18 17:34:53 2009 -0500 10317 10318 Fix VPATH build of libX11 specs 10319 10320 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10321 10322commit ad15e1a89d30ccc11d80745897b83def1448e8c0 10323Author: Alan Coopersmith <alan.coopersmith@sun.com> 10324Date: Sat Oct 17 16:14:34 2009 -0700 10325 10326 libX11 1.3.1 10327 10328 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10329 10330commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 10331Author: Alan Coopersmith <alan.coopersmith@sun.com> 10332Date: Sat Oct 17 16:28:25 2009 -0700 10333 10334 Fix make distcheck 10335 10336 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10337 10338commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 10339Author: Alan Coopersmith <alan.coopersmith@sun.com> 10340Date: Fri Oct 16 19:25:35 2009 -0700 10341 10342 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 10343 10344 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10345 10346commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 10347Author: Alan Coopersmith <alan.coopersmith@sun.com> 10348Date: Wed Oct 14 16:18:24 2009 -0700 10349 10350 Move libX11 & XIM/locale specs from xorg-docs 10351 10352 If groff is found, and --disable-specs is not passed to configure, 10353 specs will be converted to text, html and ps (or pdf if ps2pdf is 10354 found) and installed to $(docdir) 10355 10356 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10357 10358commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 10359Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10360Date: Tue Oct 13 19:15:51 2009 -0500 10361 10362 Provide _Xsetlocale compat wrappers on Cygwin 10363 10364 Previous versions of Cygwin did not have proper locale support, so Cygwin/X 10365 defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 10366 support, but we can't remove the _Xsetlocale entry point without breaking 10367 ABI. 10368 10369 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10370 10371commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 10372Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10373Date: Tue Oct 13 19:15:49 2009 -0500 10374 10375 dolt: add Cygwin to supported platforms 10376 10377 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10378 10379commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 10380Author: Alan Coopersmith <alan.coopersmith@sun.com> 10381Date: Wed Oct 14 13:23:30 2009 -0700 10382 10383 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 10384 10385 Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 10386 10387 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10388 10389commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 10390Author: Jon TURNEY <jon.turney@dronecode.org.uk> 10391Date: Tue Feb 10 17:47:25 2009 +0000 10392 10393 Include sys/select.h for select() and struct timeval, if it exists 10394 10395 This is a cygwin build fix 10396 10397commit 383165916ddac91740d4c780174d4c0d07cdb994 10398Author: Xake <xake@rymdraket.net> 10399Date: Sun Sep 27 11:16:36 2009 +0200 10400 10401 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 10402 10403 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10404 10405commit 854269d55cdda8caf425515bfed2855e211a5ada 10406Author: Julien Cristau <jcristau@debian.org> 10407Date: Tue Oct 6 16:11:24 2009 +0200 10408 10409 configure: quote argument to m4_pattern_forbid 10410 10411 Without this, configure spits out 10412 ../configure: line 12364: ac_fn_c_check_member: command not found 10413 ../configure: line 12378: ac_fn_c_check_type: command not found 10414 10415 Also anchor the pattern to make it stricter. 10416 10417 Signed-off-by: Julien Cristau <jcristau@debian.org> 10418 10419commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 10420Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 10421Date: Thu Oct 1 22:20:38 2009 -0700 10422 10423 Split CFLAGS into CPPFLAGS and CFLAGS 10424 10425 On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 10426 X11 headers are in /some/prefix/include, they will be preferred over the 10427 shipped headers. This corrects that problem. 10428 10429commit d54caf1c9c55af8247621b7ba6afb20b23699839 10430Author: Peter Hutterer <peter.hutterer@who-t.net> 10431Date: Fri Oct 2 10:59:08 2009 +1000 10432 10433 libX11 1.3 10434 10435 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10436 10437commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 10438Author: Peter Hutterer <peter.hutterer@who-t.net> 10439Date: Fri Oct 2 12:10:29 2009 +1000 10440 10441 nls: remove duplicate Compose sequences from pt_BR.UTF-8 10442 10443 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10444 10445commit a293ae9e83739067fc92db1a39c262857bc2283e 10446Author: Peter Hutterer <peter.hutterer@who-t.net> 10447Date: Fri Sep 25 11:19:41 2009 +1000 10448 10449 Add XF86TouchpadToggle to XKeysymDB 10450 10451 Lenovo laptops provide a key to enable or disable the touchpad and the 10452 trackstick. This key is usually located on Fn + F8. 10453 10454 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10455 Acked-by: Adam Jackson <ajax@redhat.com> 10456 10457commit 69839f8903a24eab08f17a781b3797fb64dce9cf 10458Author: Alan Coopersmith <alan.coopersmith@sun.com> 10459Date: Sun Sep 27 10:34:16 2009 -0700 10460 10461 Bug 24173: libX11 from git fails to build with automake older then 1.11 10462 10463 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 10464 Makefiles, instead of after. 10465 <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 10466 10467 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10468 10469commit f5effd041f58ef07703cca2b4f396758811e1eec 10470Author: Alan Coopersmith <alan.coopersmith@sun.com> 10471Date: Wed Apr 15 10:59:23 2009 -0700 10472 10473 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 10474 10475 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10476 10477commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 10478Author: Alan Coopersmith <alan.coopersmith@sun.com> 10479Date: Wed Apr 15 10:56:09 2009 -0700 10480 10481 Add perl script to check for duplicate or conflicting compose file entries 10482 10483 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10484 10485commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 10486Author: Alan Coopersmith <alan.coopersmith@sun.com> 10487Date: Fri Sep 18 17:10:04 2009 -0700 10488 10489 Use make rules instead of shell for loops to generate shadow man pages 10490 10491 Allows parallel make and simpler build logs/error reporting 10492 10493 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10494 10495commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 10496Author: Alan Coopersmith <alan.coopersmith@sun.com> 10497Date: Fri Sep 18 16:58:53 2009 -0700 10498 10499 Add AM_SILENT_RULES support for cpp rules for man & nls files 10500 10501 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10502 10503commit bfa19cddd8546b4930a773f3bbd81137c362d82b 10504Author: Alan Coopersmith <alan.coopersmith@sun.com> 10505Date: Fri Sep 18 16:58:16 2009 -0700 10506 10507 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 10508 10509 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10510 10511commit 51396066c8003a96a6399c9a4bed2a81e512b582 10512Author: Mikko Niskanen <mikko.niskanen@iki.fi> 10513Date: Fri Sep 4 10:11:15 2009 +1000 10514 10515 Fix wrong typedef on HP-UX (#18998) 10516 10517 shl_dt doesn't exist, the type is shl_t. 10518 10519 X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 10520 10521 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10522 10523commit 615220a312b9430a580fe6dcf51703c6ef244f66 10524Author: Paul Bender <pebender@gmail.com> 10525Date: Fri Sep 4 09:57:10 2009 +1000 10526 10527 Don't require xdmcp in configure.ac (#22583) 10528 10529 X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 10530 10531 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10532 10533commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 10534Author: Peter Hutterer <peter.hutterer@who-t.net> 10535Date: Thu Sep 3 14:02:44 2009 +1000 10536 10537 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 10538 10539 X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 10540 10541 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10542 10543commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 10544Author: Peter Hutterer <peter.hutterer@who-t.net> 10545Date: Thu Sep 3 12:05:25 2009 +1000 10546 10547 man: XQueryTree may return BadWindow. (#23416) 10548 10549 X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 10550 10551 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10552 10553commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 10554Author: Alan Coopersmith <alan.coopersmith@sun.com> 10555Date: Fri Aug 28 23:07:58 2009 +0800 10556 10557 Fix version tag in .TH line of several XKB man pages 10558 10559 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10560 10561commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 10562Author: Alan Coopersmith <alan.coopersmith@sun.com> 10563Date: Fri Aug 28 23:04:38 2009 +0800 10564 10565 XkbSetDeviceButtonActions.man: remove non-existent actions argument 10566 10567 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10568 10569commit 53affa9335116f2d367f041e6502a411d4619e47 10570Author: Alan Coopersmith <alan.coopersmith@sun.com> 10571Date: Fri Aug 28 23:00:17 2009 +0800 10572 10573 XkbQueryExtension.man: Arguments should be pointers 10574 10575 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10576 10577commit 6233948885acc5873a5abddfff235afec555f3c2 10578Author: Alan Coopersmith <alan.coopersmith@sun.com> 10579Date: Fri Aug 28 22:53:03 2009 +0800 10580 10581 XkbSAActionSetCtrls.man: Fix typo in formatting macro 10582 10583 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10584 10585commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 10586Author: Alan Coopersmith <alan.coopersmith@sun.com> 10587Date: Fri Aug 28 22:49:31 2009 +0800 10588 10589 Convert Xkb API man pages to ANSI prototypes 10590 10591 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10592 10593commit fa2eecca85baab9616f7143cc1a853a594b4a90c 10594Author: James Cloos <cloos@jhcloos.com> 10595Date: Mon Aug 24 06:35:17 2009 -0400 10596 10597 Add some (Serbian) Cyrillic NFD sequences. 10598 10599 A number of characters in use in the various countries which use the 10600 Cyrillic script do not appear as pre-composed characters in The UCS 10601 or Unicode; they are only available as combining-character sequences. 10602 10603 This commit adds support for using (prefix) dead keys and Multi_key- 10604 initiated sequences to enter a number of these combining-character 10605 sequences. This ensures that users can enter these scripts even 10606 when using the current Cyrillic keymaps, which lack support for 10607 the combining characters. 10608 10609 Please see the discussions on the xkb mailing list. 10610 10611 Signed-off-by: James Cloos <cloos@jhcloos.com> 10612 10613commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 10614Author: Julien Cristau <jcristau@debian.org> 10615Date: Wed Aug 5 18:14:23 2009 +0200 10616 10617 man/xkb: delete spurious newline in .TH headers 10618 10619commit ee723b83b24682db833a2f0abd96cd319b8a62af 10620Author: Julien Cristau <jcristau@debian.org> 10621Date: Wed Aug 5 16:45:19 2009 +0200 10622 10623 man: use __libmansuffix__ instead of 3X11 for references to other pages 10624 10625commit 595e204feb82c798a92eea41fea03be6476ac181 10626Author: Julien Cristau <jcristau@debian.org> 10627Date: Wed Aug 5 16:43:36 2009 +0200 10628 10629 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 10630 10631commit 9da7e230d5320e1556ad2084fcd06ee7994385ea 10632Author: Peter Hutterer <peter.hutterer@who-t.net> 10633Date: Wed Aug 5 14:15:02 2009 +1000 10634 10635 Bump to 1.2.99.901 (1.3 RC1) 10636 10637 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10638 10639commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 10640Author: Filippo Giunchedi <filippo@debian.org> 10641Date: Sat Jun 6 16:56:54 2009 +0200 10642 10643 nls: add {left,right}wards arrow to compose table 10644 10645 Debian bug#532117 <http://bugs.debian.org/532117> 10646 10647 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10648 10649commit 7949bfa00390241d994f32463e50d4bd78920568 10650Author: Julien Cristau <jcristau@debian.org> 10651Date: Fri Jul 31 13:33:52 2009 +0200 10652 10653 Update library version for new symbols 10654 10655 Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 10656 cookie handling. Bump libX11 version number accordingly. 10657 10658 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10659 10660commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 10661Author: Julien Cristau <jcristau@debian.org> 10662Date: Sun Aug 2 17:18:31 2009 +0200 10663 10664 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 10665 10666 X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 10667 10668 Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 10669 Signed-off-by: Julien Cristau <jcristau@debian.org> 10670 10671commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 10672Author: Peter Hutterer <peter.hutterer@who-t.net> 10673Date: Wed Jul 29 08:44:09 2009 +1000 10674 10675 Fix compiler warning 'unused variable qelt' 10676 10677 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10678 10679commit 03f4907e14f5755e72309f08742977b871e81e33 10680Author: Peter Hutterer <peter.hutterer@who-t.net> 10681Date: Wed Jul 29 08:34:57 2009 +1000 10682 10683 Add utlist.h to the Makefile.am 10684 10685 utlist.h contains the linked list macros, it was added with the recent 10686 addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 10687 result, make dist failed. 10688 10689 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10690 10691commit 554f755e5545f63d3c8f299297927238da155773 10692Author: Peter Hutterer <peter.hutterer@who-t.net> 10693Date: Fri Jun 26 11:27:43 2009 +1000 10694 10695 Add generic event cookie handling to libX11. 10696 10697 Generic events require more bytes than Xlib provides in the standard XEvent. 10698 Memory allocated by the extension and stored as pointers inside the event is 10699 prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 10700 10701 This patch adds cookie handling for generic events. Extensions may register 10702 a cookie handler in addition to the normal event vectors. If an extension 10703 has registered a cookie handler, _all_ generic events for this extensions 10704 must be handled through cookies. Otherwise, the default event handler is 10705 used. 10706 10707 The cookie handler must return an XGenericEventCookie with a pointer to the 10708 data.The rest of the event (type, serialNumber, etc.) are to be filled as 10709 normal. When a client retrieves such a cookie event, the data is stored in 10710 an internal queue (the 'cookiejar'). This data is freed on the next call to 10711 XNextEvent(). 10712 10713 New extension interfaces: 10714 XESetWireToEventCookie(display, extension_number, cookie_handler) 10715 10716 Where cookie_handler must set cookie->data. The data pointer is of arbitray 10717 size and type but must be a single memory block. This memory block 10718 represents the actual extension's event. 10719 10720 New client interfaces: 10721 XGetEventData(display, *cookie); 10722 XFreeEventData(display, *cookie); 10723 10724 If the client needs the actual event data, it must call XGetEventData() with 10725 the cookie. This returns the data pointer (and removes it from the cookie 10726 jar) and the client is then responsible for freeing the event with 10727 XFreeEventData(). It is safe to call either function with a non-cookie 10728 event. Events unclaimed or not handled by the XGetEventData() are cleaned up 10729 automatically. 10730 10731 Example client code: 10732 XEvent event; 10733 XGenericEventCookie *cookie = &ev; 10734 10735 XNextEvent(display, &event); 10736 if (XGetEventData(display, cookie)) { 10737 XIEvent *xievent = cookie->data; 10738 ... 10739 } else if (cookie->type == GenericEvent) { 10740 /* handle generic event */ 10741 } else { 10742 /* handle extension/core event */ 10743 } 10744 XFreeEventData(display, cookie); 10745 10746 Cookies are not multi-threading safe. Clients that use XGetEventData() must 10747 lock between XNextEvent and XGetEventData to avoid other threads freeing 10748 cookies. 10749 10750 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10751 10752commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 10753Author: Peter Hutterer <peter.hutterer@who-t.net> 10754Date: Mon Jul 6 13:17:35 2009 +1000 10755 10756 Bump to 1.2.99.1 10757 10758 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10759 10760commit 75fe48e7a42a685d7098e8d7108b9b956c471563 10761Author: Peter Hutterer <peter.hutterer@who-t.net> 10762Date: Fri Jul 10 14:07:34 2009 +1000 10763 10764 Bump to 1.2.2 10765 10766 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10767 10768commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 10769Author: Peter Hutterer <peter.hutterer@who-t.net> 10770Date: Thu Jul 2 09:10:25 2009 +1000 10771 10772 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 10773 10774 GenericEvent cannot be selected for in the core event masks and they must 10775 thus be treated like extension events. 10776 10777 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10778 10779commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 10780Author: Peter Hutterer <peter.hutterer@who-t.net> 10781Date: Thu Jul 2 09:06:05 2009 +1000 10782 10783 XWindowEvent/XCheckWindowEvent must not return GenericEvents. 10784 10785 GenericEvents have no fixed position for the window, so they must be treated 10786 like extension events. 10787 10788 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10789 10790commit 38f9054554d63525d2dd51aafb5eb57821158ab9 10791Author: Alan Coopersmith <alan.coopersmith@sun.com> 10792Date: Mon Jun 15 19:00:43 2009 -0700 10793 10794 Drop ancient USG SysV #ifdefs 10795 10796 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10797 10798commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 10799Author: Adam Jackson <ajax@redhat.com> 10800Date: Fri Jun 12 12:44:01 2009 -0400 10801 10802 Remove X_NOT_STDC_ENV usage. (#6527) 10803 10804commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 10805Author: Julien Cristau <jcristau@debian.org> 10806Date: Fri May 29 11:18:11 2009 +0200 10807 10808 nls: remove more duplicated aliases 10809 10810 Signed-off-by: Julien Cristau <jcristau@debian.org> 10811 10812commit e4b0899f516da224010e68bd2d953d5293d94993 10813Author: parag <parag@rawhideTM.pnq.redhat.com> 10814Date: Thu May 28 11:29:35 2009 +0530 10815 10816 nls: Add pa_PK locale information and make pa_IN as default for pa. 10817 10818 X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 10819 10820 [jcristau: removed the pa_PK.UTF-8 alias to itself] 10821 10822 Signed-off-by: parag <pnemade@redhat.com> 10823 Signed-off-by: Julien Cristau <jcristau@debian.org> 10824 10825commit f0ea1f6d51145592f8617854f9320ec5dbff3299 10826Author: Julien Cristau <jcristau@debian.org> 10827Date: Fri May 29 10:58:20 2009 +0200 10828 10829 nls: remove broken sd_IN.UTF-8 alias 10830 10831 Signed-off-by: Julien Cristau <jcristau@debian.org> 10832 10833commit e29e010dabdb17d6498f2ef1786f69b8830c18ca 10834Author: Julien Cristau <jcristau@debian.org> 10835Date: Fri May 29 10:57:43 2009 +0200 10836 10837 nls: remove duplicated en_US* aliases 10838 10839 Signed-off-by: Julien Cristau <jcristau@debian.org> 10840 10841commit a89a300d87852c84389ad97db66dcb8930cb45dd 10842Author: Caolan McNamara <caolanm@redhat.com> 10843Date: Thu May 21 18:41:05 2009 +0200 10844 10845 man: missing space in XAllocColor man page 10846 10847 X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 10848 10849commit c1c001e36504fd304f76f69bf6af3643225c49ea 10850Author: James Cloos <cloos@jhcloos.com> 10851Date: Wed May 13 13:03:54 2009 -0400 10852 10853 [nls] Replace remaining UCS Combining Characters in Compose sequences. 10854 10855 The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 10856 where the keysym is used as a dead_key, with an actual dead_key symbol. 10857 10858 The only remaining instances of UCS combining characters in the 10859 compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 10860 used as a suffix in Multi_key-initiated sequences to create 10861 mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 10862 from ∈ U+2208 ELEMENT OF. 10863 10864commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 10865Author: James Cloos <cloos@jhcloos.com> 10866Date: Wed May 13 09:58:59 2009 -0400 10867 10868 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 10869 10870 This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 10871 where the matching keysym is used as a dead_key, and for which alternative 10872 compose sequences exist. 10873 10874commit 79f47e6dff2f0a0b673bbfecc47528edca814baa 10875Author: James Cloos <cloos@jhcloos.com> 10876Date: Fri May 8 20:11:54 2009 -0400 10877 10878 [nls] Remove combining_ keysyms from the Compose files 10879 10880 Some of the UTF-8 Compose tables included combining_ keysyms in 10881 the compose sequences as though they were dead symbols. This 10882 is contrary to how combining characters are used in the UCS. 10883 Therefore, those lines have been removed from the Compose tables. 10884 10885 There were also some combining_ keysyms as targets. As those 10886 are not included in x11proto’s keysymdef.h, and as those do 10887 exist there as Uxxxx keysyms, they are replaced with the Uxxxx 10888 keysym names. 10889 10890 This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 10891 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 10892 10893 Signed-off-by: James Cloos <cloos@jhcloos.com> 10894 10895commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 10896Author: parag <pnemade@redhat.com> 10897Date: Tue May 5 16:50:47 2009 +0530 10898 10899 libX11: Add new Indic language information to nls directory files. #21560 10900 10901 Signed-off-by: parag <pnemade@redhat.com> 10902 10903commit aaf81096eb44b4c2812108721ba02738391884da 10904Author: Alan Coopersmith <alan.coopersmith@sun.com> 10905Date: Sat May 2 01:38:14 2009 -0700 10906 10907 Correct return type in XkbGetKeyboard man page 10908 10909 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10910 10911commit 2bef065b70f70af520b5de8fb23529254d15f003 10912Author: Christoph Pfister <christophpfister@gmail.com> 10913Date: Mon Apr 27 22:32:57 2009 -0700 10914 10915 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 10916 10917 http://bugs.freedesktop.org/show_bug.cgi?id=21117 10918 10919 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10920 10921commit 5c1cde105db10df24d3c532f032cbc59050c7313 10922Author: Alan Coopersmith <alan.coopersmith@sun.com> 10923Date: Fri Apr 17 22:14:47 2009 -0700 10924 10925 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 10926 10927 Raises minimum autoconf version required to 2.60 10928 10929 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10930 10931commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 10932Author: Julien Cristau <jcristau@debian.org> 10933Date: Tue Apr 14 15:59:57 2009 +0100 10934 10935 Fix fi_FI.UTF-8, again 10936 10937 Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 10938 file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 10939 This reverts it back to using the en_US.UTF-8 one. 10940 10941commit 128daff4422f973ea40dd1e31b2db230e643549e 10942Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 10943Date: Thu Apr 9 12:01:07 2009 +0700 10944 10945 Thai XIM not retrieve MB surrounding on UTF-8 LC 10946 10947 On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 10948 that use X Input Method. 10949 10950 This is because GTK+ imxim immodule passes surrounding text in locale encoding, 10951 which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 10952 multi-byte StringConversionText response for the StringConversionCallback to 10953 always be TIS-620, by retrieving a single byte and using it as-is. 10954 10955 If the Thai XIM tries to convert the multi-byte text based on locale codeset 10956 before using it, it will work again. 10957 10958 X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 10959 10960 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 10961 Signed-off-by: Julien Cristau <jcristau@debian.org> 10962 10963commit e09f0d227fbf95b6252759af9d426efd57686f9f 10964Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 10965Date: Thu Apr 9 11:47:55 2009 +0700 10966 10967 Thai XIM not filters when NumLock or CapsLock is on 10968 10969 The Thai XIM component in libx11 activated on 'th*' locales normally filters 10970 input sequence according to orthographic rules. However, when NumLock/CapsLock 10971 is on, this stops working. All sequences are passed through. 10972 10973 This is caused by missing masks in _XimThaiFilter(), which normally screens out 10974 certain special keys from entering orthographic rules. Unfortunately, this 10975 included events with NumLock/CapsLock on. Negating the masks from the check 10976 allows the events to be tested by the rules. 10977 10978 X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 10979 10980 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 10981 Signed-off-by: Julien Cristau <jcristau@debian.org> 10982 10983commit d108d3c706af3502820b5202564488ea19908b77 10984Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 10985Date: Thu Apr 9 11:25:25 2009 +0700 10986 10987 CharSet-to-CompoundText Conversion Failed for Thai Locales 10988 10989 SCIM fails to commit Thai input characters on Thai locales, because it commits 10990 string in compound text form, which was converted via 10991 XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 10992 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 10993 src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 10994 So, declaring cs1 as ISO8859-11:GR instead makes it work. 10995 10996 Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 10997 support for UTF-8 input. 10998 10999 And, along discussion in the bug, a similar problem was found for fontset, too, 11000 by causing delays on X apps startups on systems without tis620-0 fonts. This 11001 is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 11002 by default for Thai X fonts. So, Thai fontset charset is also patched. 11003 11004 X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 11005 11006 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 11007 Signed-off-by: Julien Cristau <jcristau@debian.org> 11008 11009commit fd62d3318c846cd43d66a505946e94704d7d83dc 11010Author: Alan Coopersmith <alan.coopersmith@sun.com> 11011Date: Wed Apr 8 19:42:25 2009 -0700 11012 11013 Revert "Change masculine to ordmasculine in Compose file comments" 11014 11015 This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 11016 11017 As Julien Cristau correctly points out, I misread the Compose file grammar 11018 in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 11019 the keysym is named XK_masculine in keysymdef.h. This change is thus a 11020 bug in the Solaris compose tables to be fixed, not an improvement to bring 11021 upstream. 11022 11023commit eac57c77afdf44f50692225b8b0345a7c927bc84 11024Author: Alan Coopersmith <alan.coopersmith@sun.com> 11025Date: Tue Apr 7 15:38:45 2009 -0700 11026 11027 Version bump: 1.2.1 11028 11029 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11030 11031commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 11032Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 11033Date: Tue Apr 7 13:46:57 2009 -0700 11034 11035 Bug 20773: Xcursor dynamic loading on Cygwin 11036 11037 X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 11038 Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 11039 11040 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11041 11042commit c8c41614911be4fa222fa22478677d263b41c751 11043Author: Alan Coopersmith <alan.coopersmith@sun.com> 11044Date: Mon Apr 6 16:52:46 2009 -0700 11045 11046 Fix a several sparse warnings: Using plain integer as NULL pointer 11047 11048 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11049 11050commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 11051Author: Alan Coopersmith <alan.coopersmith@sun.com> 11052Date: Mon Apr 6 16:32:05 2009 -0700 11053 11054 Further ansify prototypes & reduce #ifdefs in locking.c 11055 11056 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11057 11058commit 892b401d5acc055803a20e349ede0d64490f2230 11059Author: Alan Coopersmith <alan.coopersmith@sun.com> 11060Date: Mon Apr 6 10:50:09 2009 -0700 11061 11062 Change masculine to ordmasculine in Compose file comments 11063 11064 Matches the ordfeminine name used for the matching character, 11065 and the ordmasculine name used in many font descriptions of the glyph. 11066 11067 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11068 11069commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 11070Author: Julien Cristau <jcristau@debian.org> 11071Date: Fri Mar 13 13:52:33 2009 +0100 11072 11073 Add a ru_RU.UTF-8 locale 11074 11075 Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 11076 11077 Debian bug#330144 <http://bugs.debian.org/330144> 11078 X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 11079 11080commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 11081Author: Alan Coopersmith <alan.coopersmith@sun.com> 11082Date: Wed Mar 25 17:59:09 2009 -0700 11083 11084 Delete some unused "#ifdef notdef" static functions 11085 11086 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11087 11088commit 4281892e31058ef3aecc96a5767824b34d88d415 11089Author: Alan Coopersmith <alan.coopersmith@sun.com> 11090Date: Wed Mar 25 17:52:48 2009 -0700 11091 11092 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 11093 11094 This copy of Xrm.c is never compiled into the Xprint server any more, so 11095 this old code-sharing #ifdef from the monolith tree isn't needed. 11096 11097 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11098 11099commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 11100Author: Alan Coopersmith <alan.coopersmith@sun.com> 11101Date: Tue Mar 17 18:38:58 2009 -0700 11102 11103 makekeys: combine malloc(strlen)+strcpy into strdup 11104 11105 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11106 11107commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 11108Author: Alan Coopersmith <alan.coopersmith@sun.com> 11109Date: Tue Mar 17 15:42:19 2009 -0700 11110 11111 When makekeys fails to find a good hash, print error instead of divide-by-zero 11112 11113 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11114 11115commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 11116Author: Alan Coopersmith <alan.coopersmith@sun.com> 11117Date: Tue Mar 17 14:59:16 2009 -0700 11118 11119 Remove ifdef checks for macII left over from ancient A/UX 3.0 support 11120 11121 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11122 11123commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 11124Author: Alan Coopersmith <alan.coopersmith@sun.com> 11125Date: Mon Mar 16 18:37:49 2009 -0700 11126 11127 XErrorDB additions for DRI2 requests 11128 11129 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11130 11131commit 273f45af1441be9d2135e4cac8c46ceb33470236 11132Author: Alan Coopersmith <alan.coopersmith@sun.com> 11133Date: Mon Mar 16 18:35:44 2009 -0700 11134 11135 XErrorDB additions for XInput errors and new XInput 1.5 requests 11136 11137 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11138 11139commit 90ef36f6336068183bf9d13ca972202db35b1202 11140Author: Alan Coopersmith <alan.coopersmith@sun.com> 11141Date: Mon Mar 16 18:23:05 2009 -0700 11142 11143 XErrorDB additions for RANDR 1.3 11144 11145 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11146 11147commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 11148Author: Lubos Lunak <l.lunak@suse.cz> 11149Date: Mon Mar 16 18:03:36 2009 -0700 11150 11151 XErrorDB updates for XTEST, RANDR, DAMAGE extensions 11152 11153 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 11154 11155 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11156 11157commit 80811846e37b805fddb37c71589fd5f6f6037b3f 11158Author: Lubos Lunak <l.lunak@suse.cz> 11159Date: Mon Mar 16 17:57:52 2009 -0700 11160 11161 XGetErrorText() fails for extension error codes equal to the error base 11162 11163 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 11164 11165 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11166 11167commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 11168Author: Milos Komarcevic <miloskomarcevic@netscape.net> 11169Date: Mon Mar 16 17:43:26 2009 -0700 11170 11171 Bug 11456: Serbian locale updates (sr_RS and sr_ME) 11172 11173 X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 11174 Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 11175 11176 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11177 11178commit 934a6c0519a9e32505beee55b004f36c2a710217 11179Author: Alan Coopersmith <alan.coopersmith@sun.com> 11180Date: Mon Mar 16 14:55:22 2009 -0700 11181 11182 Bug 10082: Compose entries for some standard mathematical operators 11183 11184 X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 11185 11186 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11187 11188commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 11189Author: Alan Coopersmith <alan.coopersmith@sun.com> 11190Date: Mon Mar 16 14:27:46 2009 -0700 11191 11192 Bug 14651: We need to add new locale specification for Belarusian Latin locale 11193 11194 X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 11195 11196 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11197 11198commit 837703c8651e1321a50147a8311c56e4758ce08a 11199Author: Caolan McNamara <caolanm@redhat.com> 11200Date: Mon Mar 16 14:15:50 2009 -0700 11201 11202 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 11203 11204 X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 11205 Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 11206 11207 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11208 11209commit 22199018879055d8653e59d8236bef57164fac66 11210Author: Alan Coopersmith <alan.coopersmith@sun.com> 11211Date: Mon Mar 16 13:28:18 2009 -0700 11212 11213 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 11214 11215 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11216 11217commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 11218Author: Alan Coopersmith <alan.coopersmith@sun.com> 11219Date: Thu Mar 12 18:57:20 2009 -0700 11220 11221 Bug 9953: Please provide locale alias hu_HU.utf8 11222 11223 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 11224 Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 11225 11226 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11227 11228commit 501f4e0ada1690783ada05ad412e4b191ad55336 11229Author: Alan Coopersmith <alan.coopersmith@sun.com> 11230Date: Thu Mar 12 17:38:21 2009 -0700 11231 11232 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 11233 11234 X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 11235 Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 11236 11237 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11238 11239commit 7b9c543e7210c7da204871c31a160e79d3a949b6 11240Author: Paul Bender <pebender@gmail.com> 11241Date: Thu Mar 12 17:11:42 2009 -0700 11242 11243 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 11244 11245 X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 11246 Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 11247 11248 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11249 11250commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 11251Author: Xue Wei <Wei.Xue@Sun.COM> 11252Date: Wed Mar 4 19:32:29 2009 -0800 11253 11254 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 11255 11256 Sun bug 6809309 Add new utf8 locales supported by Xlib 11257 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 11258 11259 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11260 11261commit cb70c9bc43267577859a3674ca9de9be396ba69e 11262Author: Alan Coopersmith <alan.coopersmith@sun.com> 11263Date: Mon Feb 23 19:29:15 2009 -0800 11264 11265 Add --with-locale-lib-dir configure option to set locale lib install dir 11266 11267 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11268 11269commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 11270Author: Alan Coopersmith <alan.coopersmith@sun.com> 11271Date: Mon Feb 23 18:33:51 2009 -0800 11272 11273 Incorporate more locale names/aliases from Solaris libX11 11274 11275 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11276 11277commit 83ce4daefdf544f801c7d666c89162690a36ce41 11278Author: Alan Coopersmith <alan.coopersmith@sun.com> 11279Date: Mon Feb 23 18:32:34 2009 -0800 11280 11281 Incorporate char range comments from Solaris version of ksc5601.h 11282 11283 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11284 11285commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 11286Author: Chris Ball <cjb@laptop.org> 11287Date: Sat Feb 21 14:48:42 2009 -0500 11288 11289 Fix fi_FI locale install directory. 11290 11291 fi_FI was setting "x11thislocaledir" to en_US, with the result that its 11292 locale data was written in that locale dir. 11293 11294 Signed-off-by: Chris Ball <cjb@laptop.org> 11295 11296commit da6bbca07c796c69172a649405474f03bee66754 11297Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 11298Date: Sat Feb 21 20:17:23 2009 +0100 11299 11300 xcb_io: Avoid datatype overflow on AMD64 and friends. 11301 11302commit 4ef6491afa69e8441caee7bbebc583e6e796275e 11303Author: Chris Ball <cjb@laptop.org> 11304Date: Sat Feb 21 12:51:03 2009 -0500 11305 11306 Build fix for fi_FI. 11307 11308 Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 11309 Makefile is written there by configure. 11310 11311 Signed-off-by: Chris Ball <cjb@laptop.org> 11312 11313commit 642c4e928e770e012379539a6ce09e11c02f09a6 11314Author: Julien Cristau <jcristau@debian.org> 11315Date: Sat Feb 21 03:12:05 2009 +0100 11316 11317 nls: actually use the fi_FI.UTF-8 files 11318 11319 The subdir wasn't added to nls/Makefile.am 11320 11321commit 9bad8309ef289bb943651abf6967b24fa2252aac 11322Author: Alan Coopersmith <alan.coopersmith@sun.com> 11323Date: Fri Feb 20 14:45:54 2009 -0800 11324 11325 flags member of Display structure needs to be marked volatile 11326 11327 Since the Xlib multithreaded code checks the flags variable in _XFlushInt 11328 to see if the other threads are done yet, it has to be marked volatile so 11329 the compiler doesn't optimize out re-loading it on each trip through the 11330 while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 11331 11332 Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 11333 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 11334 11335 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11336 11337commit ef5c446395aa30d7b1096a112e241a81c5b358e7 11338Author: Xue Wei <Wei.Xue@Sun.COM> 11339Date: Fri Feb 20 15:12:35 2009 -0800 11340 11341 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 11342 11343 Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 11344 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 11345 11346 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11347 11348commit 3822f2654e9630167f0c6cae317b472c09771672 11349Author: Xue Wei <Wei.Xue@Sun.COM> 11350Date: Fri Feb 20 15:03:51 2009 -0800 11351 11352 Add locale aliases for no_NO & sh_BA locale variants 11353 11354 Fixes Sun bug id 6691219: xterm refuses to start in some locales 11355 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 11356 11357 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11358 11359commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 11360Author: Xue Wei <Wei.Xue@Sun.COM> 11361Date: Fri Feb 20 14:23:11 2009 -0800 11362 11363 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 11364 11365 Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 11366 changing keyboard layout with gimlet does not work") 11367 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 11368 11369 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11370 11371commit d497301707962f3b94542e999a36abffcfbd303d 11372Author: Julien Cristau <jcristau@debian.org> 11373Date: Tue Feb 17 16:09:41 2009 +0100 11374 11375 Bump to 1.2 11376 11377commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 11378Author: Julien Cristau <jcristau@debian.org> 11379Date: Tue Feb 17 15:23:40 2009 +0100 11380 11381 Check Xmalloc return value in _XConnectXCB 11382 11383 X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 11384 11385 Signed-off-by: Julien Cristau <jcristau@debian.org> 11386 11387commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 11388Author: James Cloos <cloos@jhcloos.com> 11389Date: Sat Feb 14 12:35:56 2009 -0500 11390 11391 dolt: allow older versions of bash to compile the library 11392 11393 Cf xserver commit 7be6520d and bugzilla #19031. 11394 11395commit 20982d6866e24453642b0b592fa0f13a88aa747c 11396Author: Will Thompson <will@willthompson.co.uk> 11397Date: Thu Feb 5 02:53:06 2009 +1100 11398 11399 NLS: Compose: Non-aliasing CCCP 11400 11401 Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 11402 11403 Signed-off-by: Will Thompson <will@willthompson.co.uk> 11404 Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 11405 11406commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 11407Author: Will Thompson <will@willthompson.co.uk> 11408Date: Wed Feb 4 14:51:11 2009 +0000 11409 11410 Add two essential compose sequences 11411 11412 Signed-off-by: Will Thompson <will@willthompson.co.uk> 11413 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11414 11415commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 11416Author: Alan Coopersmith <alan.coopersmith@sun.com> 11417Date: Mon Feb 2 20:34:31 2009 -0800 11418 11419 Add README with pointers to mailing list, bugzilla & git repos 11420 11421 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11422 11423commit f682c27e93512773122887d2cbabb1657af45d2e 11424Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11425Date: Mon Feb 2 16:36:39 2009 -0200 11426 11427 Check if a function argument is NULL. 11428 11429 This was an addition to patch (also by me) 11430 https://bugs.freedesktop.org/attachment.cgi?id=14660 11431 that was not added when rediscovering/correcting the problem. 11432 11433commit 427e9d45d424b84efd9fc499aebf8d72392844c5 11434Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11435Date: Thu Feb 28 15:58:12 2008 -0300 11436 11437 Allow multiple inclusions of cursorfont.h, cosmetic patch. 11438 11439commit b91524a53e691f6a5d278fd8972b48a14ebeedeb 11440Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11441Date: Thu Feb 28 15:54:43 2008 -0300 11442 11443 Don't add prototypes for functions that don't exist. 11444 11445 Note that a full review was not done, only for functions that receive 11446 char/short arguments, or one of it's parameters is a function pointer 11447 that requires char/short arguments. 11448 11449commit 537eb52fe266ac439c4b383bb04a70017b709911 11450Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11451Date: Thu Feb 28 15:50:27 2008 -0300 11452 11453 WORD64 compile fix. This bug catched on a overview of the code. 11454 11455 The code is wrong since the first git revision, so it seens that it has 11456 not been compiled with WORD64 for quite some time, there is also another 11457 interesting code in xkb/XKBRdBuf.c: 11458 <hash>ifdef WORD64 11459 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 11460 <hash>endif 11461 and possibly there are other similar problems. 11462 11463commit ffd0300fb74c6183208ae599133f2ded09e08d97 11464Author: Brian Rogers <brian@xyzw.org> 11465Date: Sat Jan 31 10:37:51 2009 -0800 11466 11467 Initialize event_notify after allocating the memory for it. 11468 11469 An uninitialized or otherwise invalid condition variable can apparently 11470 cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 11471 at least are freezing as a result of event_notify never being initialized. 11472 11473 Signed-off-by: Brian Rogers <brian@xyzw.org> 11474 Signed-off-by: Bart Massey <bart@cs.pdx.edu> 11475 11476commit 97fc6babd4ccaf300e25708868aa2a738893dc30 11477Author: James Cloos <cloos@jhcloos.com> 11478Date: Thu Jan 29 20:10:41 2009 -0500 11479 11480 NLS: Add UTF-8 compose file for Finnish 11481 11482 From bug report: 11483 11484 https://bugs.freedesktop.org/show_bug.cgi?id=18747 11485 11486commit 1bd2966ed88f83479a066c6ca7da23a515979550 11487Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11488Date: Thu Jan 29 20:25:15 2009 -0200 11489 11490 patches to avoid gcc warnings for libX11 (#4) 11491 11492 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 11493 Bug #17946, attachment #19443 11494 11495 This patch avoids the gcc warning 11496 ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 11497 (same as already done at other places) 11498 11499 BTW: what is the difference between XIM (the type of ic->core.im) 11500 and Xim ? 11501 11502commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 11503Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11504Date: Thu Jan 29 20:22:21 2009 -0200 11505 11506 patches to avoid gcc warnings for libX11 (#3) 11507 11508 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 11509 Bug #17946, attachment #19441 11510 11511 This patch avoids the two gcc warnings 11512 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 11513 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 11514 11515 Note, that this as a rather crude fix of the problem (and it is really a 11516 shame to cast name_table to non-const). 11517 11518 The right solution would be to declare XIMValuesList.supported_values 11519 (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 11520 This will, however, require extensive modifications in various places. 11521 11522commit cce75c5dce73fe1f8626ed9e6798138ada09a860 11523Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11524Date: Thu Jan 29 20:20:18 2009 -0200 11525 11526 patches to avoid gcc warnings for libX11 (#2) 11527 11528 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 11529 Bug #17946, attachment #19440 11530 11531 Avoid a preprocessor message 11532 <stdin>:194: warning: no newline at end of file 11533 11534 Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 11535 seem to be caused by a truncated (or otherwise incomplete) 11536 manpage. 11537 11538commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 11539Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11540Date: Thu Jan 29 20:12:24 2009 -0200 11541 11542 patches to avoid gcc warnings for libX11 (#1) 11543 11544 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 11545 Bug #17946, attachment #19439 11546 11547 Define as 1 (one) as done by autoconf and the command line 11548 option, e.g. -DX11_t, not as empty. 11549 11550 This avoids the gcc (3.4.6) warnings: 11551 ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 11552 <command line>:7:1: warning: this is the location of the previous definition 11553 ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 11554 <command line>:8:1: warning: this is the location of the previous definition 11555 11556 Similarly, follow the autoconf convention to define XTHREADS 11557 and XUSE_MTSAFE_API as one. 11558 11559 This avoids analogous warnings when compiling libXcomposite, 11560 libXcursor, and libXdamage. 11561 11562 No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 11563 11564commit a1977883c9f5ef0e515569d6e2ebccb07411f98c 11565Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11566Date: Thu Jan 29 15:01:06 2009 -0200 11567 11568 Janitor: Correct some gcc/sparse warnings. 11569 11570 Most remaining warnings are about XIM/Xim to/from conversion 11571 and discarding const from pointers. 11572 11573commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 11574Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 11575Date: Wed Jan 28 20:31:42 2009 -0200 11576 11577 Janitor: ansification, make distcheck, compiler warnings. 11578 11579 Only convert to use "ansi prototypes" the functions warned from 11580 compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 11581 11582 Also, only address "trivial" compiler warning fixes in this commit. 11583 11584 The new .gitignore is the output of a command like: 11585 % find . -name .gitignore -exec cat {} \; | sort | uniq 11586 and only the toplevel .gitignore file was kept. 11587 11588commit 091c1624fd2f9d933329d6152e4ecd865aa7903a 11589Author: Peter Hutterer <peter.hutterer@who-t.net> 11590Date: Tue Jan 13 12:05:54 2009 +1000 11591 11592 Fix wrong implies symbol. 11593 11594 Quote Simos Xenitellis: 11595 > I checked the gtk+ commit logs that go back to 2000, and I see that still it 11596 > was 11597 > 11598 > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 11599 > DOUBLE ARROW */ 11600 > 11601 > In XFree86, it appears there was an error when they converted the 11602 > original table to 11603 > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 11604 > and the problem still shows up there (November 2000). 11605 11606 http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 11607 11608 Reported by Erik Streb del Toro. 11609 11610commit e32521f19e0b07649b7e3a03d56a2bd556b138fb 11611Author: James Cloos <cloos@jhcloos.com> 11612Date: Sun Dec 7 04:13:34 2008 -0500 11613 11614 [i18n] s/U00DC/Udiaeresis/g 11615 11616 The xkeyboard-config keyboards generate the symbol Udiaeresis, not 11617 U00DC. Make sure the relevant Compose sequences expect the symbol 11618 which the keyboards actually send. 11619 11620commit b7502abfe22f8dc009b21cda1172af221d8f9f32 11621Author: James Cloos <cloos@jhcloos.com> 11622Date: Sun Dec 7 04:09:46 2008 -0500 11623 11624 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 11625 11626 As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 11627 11628 This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 11629 11630commit c9d20e3f697c9cfae5511412023362c1db7449b1 11631Author: James Cloos <cloos@jhcloos.com> 11632Date: Sun Dec 7 04:08:23 2008 -0500 11633 11634 Use C comments rather than initial doubled hashes to exclude lines from .pre files 11635 11636commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 11637Author: vehemens <vehemens@verizon.net> 11638Date: Sun Dec 7 01:18:26 2008 -0500 11639 11640 [i18n] Distribute new headers which were added for gb18030 support. 11641 11642 big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 11643 make it into the tar. 11644 11645 Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 11646 11647 Signed-off-by: James Cloos <cloos@jhcloos.com> 11648 11649commit 418819558d2c60e58b4e3022ce0fadf2143488ac 11650Author: Stefan Dirsch <sndirsch@suse.de> 11651Date: Sat Nov 22 22:01:07 2008 +0100 11652 11653 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 11654 11655commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 11656Author: Stefan Dirsch <sndirsch@suse.de> 11657Date: Sat Nov 22 19:40:54 2008 +0100 11658 11659 Added remaining xlib patch required for gb18030 support (#1573). 11660 11661commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 11662Author: Stefan Dirsch <sndirsch@suse.de> 11663Date: Sat Nov 22 17:53:06 2008 +0100 11664 11665 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 11666 11667commit c859446c500c883a67f7a86cab1a44844e24dade 11668Author: Ken Thomases <ken@codeweavers.com> 11669Date: Fri Nov 21 13:58:10 2008 -0500 11670 11671 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 11672 11673 Signed-off-by: James Cloos <cloos@jhcloos.com> 11674 11675commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 11676Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 11677Date: Mon Nov 17 20:47:26 2008 -0800 11678 11679 Force local transport when using the launchd socket. 11680 11681 Fixes a regression due to 11682 bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 11683 11684commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 11685Author: Peter Hutterer <peter.hutterer@redhat.com> 11686Date: Fri Nov 14 10:32:50 2008 +1000 11687 11688 Add XF86Suspend, XF86Hibernate to KeysymDB. 11689 11690commit d16b11f25f8265e651def8d80bcd430c0448e664 11691Author: James Cloos <cloos@jhcloos.com> 11692Date: Tue Nov 11 19:43:39 2008 -0500 11693 11694 [nls] Annotate the Bépo compose sequences 11695 11696 Add comments with the UCS names. 11697 Add utf-8 strings for each result. 11698 Format for easy reading. 11699 11700commit 730298464240be6f65b32416b3f9b20062c61825 11701Author: James Cloos <cloos@jhcloos.com> 11702Date: Tue Nov 11 16:41:34 2008 -0500 11703 11704 [nls] Add some UTF-8 Compose sequences 11705 11706 As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 11707 11708 Cf. bugs: 11709 11710 https://bugs.freedesktop.org/show_bug.cgi?id=17821 11711 https://bugs.freedesktop.org/show_bug.cgi?id=17822 11712 11713commit ad6008a0c92733826983eb93f063d3d6276007d8 11714Author: Colin Harrison <colin.harrison@virgin.net> 11715Date: Thu Nov 6 17:48:21 2008 -0500 11716 11717 Fix copy/paste typo in imLcPrs 11718 11719 Signed-off-by: James Cloos <cloos@jhcloos.com> 11720 11721commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 11722Author: Adam Jackson <ajax@redhat.com> 11723Date: Thu Nov 6 14:54:13 2008 -0500 11724 11725 Fix leak in _XimXGetReadData 11726 11727 Spotted by Denis Dzyubenko 11728 11729commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 11730Author: Julien Cristau <jcristau@debian.org> 11731Date: Wed Nov 5 22:09:37 2008 +0100 11732 11733 Bump to 1.1.99.2 11734 11735commit d31e644c65c52828ea3e7abd94a8cf9aee12265c 11736Author: Julien Cristau <jcristau@debian.org> 11737Date: Wed Nov 5 21:33:13 2008 +0100 11738 11739 Fix distcheck 11740 11741commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 11742Author: Jamey Sharp <jamey@minilop.net> 11743Date: Wed Oct 29 14:00:33 2008 -0700 11744 11745 Support multiple independent internal sync handlers 11746 11747 Xlib has several independent tasks that need to be performed with the 11748 display unlocked. It does this by replacing the existing sync handler with 11749 one of a variety of internal sync handlers. However, if multiple internal 11750 sync handlers need to run, then the last one registering wins and 11751 previously registered internal sync handlers are never invoked. This 11752 manifested as a bug with DRI applications on Xlib/XCB as that requires 11753 both an XID handler after every XID allocation, and the periodic sequence 11754 number handler. The XID handler would win, and the sequence number handler 11755 would never be invoked. 11756 11757 Fix this by unifying the internal sync handler mechanism into a single 11758 function that calls all of the known internal sync handlers. They all need 11759 to deal with being called when not strictly necessary now. 11760 11761 Signed-off-by: Keith Packard <keithp@keithp.com> 11762 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11763 Signed-off-by: Josh Triplett <josh@freedesktop.org> 11764 11765commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 11766Author: Keith Packard <keithp@keithp.com> 11767Date: Sat Oct 11 21:44:21 2008 -0700 11768 11769 Ensure that _XReadEvents always leaves an event in the queue on return 11770 11771 XNextEvent assumes that the event queue will be non-empty on return from 11772 _XReadEvents, but with multiple event readers running, the previous change 11773 could leave the queue empty on return from process_responses. Re-invoke 11774 process_responses until the queue is non-empty. 11775 11776 Signed-off-by: Keith Packard <keithp@keithp.com> 11777 11778commit bedfe68259037c5564fe52758c92b9c97729640a 11779Author: Keith Packard <keithp@keithp.com> 11780Date: Sat Oct 11 21:10:23 2008 -0700 11781 11782 Permit only one Xlib thread to block waiting for events 11783 11784 As Xlib queues events internally, we must prevent multiple Xlib threads from 11785 entering XCB to wait for an event in case the queued event is to be 11786 delivered to the thread which didn't manage to read it. In other words, let 11787 only one Xlib thread into xcb_wait_for_event at a time. 11788 11789 Jamey Sharp looked over my shoulder while making this fix and, while hating 11790 my whitespace conventions, appears happy enough with the actual code. 11791 11792 Signed-off-by: Keith Packard <keithp@keithp.com> 11793 11794commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 11795Author: Jamey Sharp <jamey@minilop.net> 11796Date: Sun Mar 23 16:33:50 2008 -0700 11797 11798 Fix XAllocID race: hold the user display lock until we have a new XID. 11799 11800 Xlib built --without-xcb is also vulnerable to this race, and a similar 11801 fix might work there too. 11802 11803 Also, use an XID that's truly invalid while waiting for the next XID to be 11804 requested. 11805 11806commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 11807Author: Josh Triplett <josh@freedesktop.org> 11808Date: Sat Mar 15 17:22:23 2008 -0700 11809 11810 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 11811 11812 Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 11813 requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 11814 Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 11815 had to flush its requests when unlocking the display. 11816 11817 XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 11818 much of the existing Xlib/XCB implementation with the use of 11819 xcb_take_socket to take ownership of the write side of the X connection 11820 socket, and a return_socket callback which writes any outstanding requests 11821 with xcb_writev. This approach allows Xlib/XCB to use the same buffering 11822 as traditional Xlib did. In particular, programs which use Xlib/XCB and 11823 never make XCB calls will never need to hand the socket back to XCB, and 11824 vice versa. 11825 11826 This allows us to discard large quantities of synchronization code from 11827 Xlib/XCB, together with the synchronization bugs present in that code. 11828 Several test cases which previously failed now work perfectly, including 11829 multi-threaded ico. In addition, the infamous locking correctness 11830 assertions, triggered when double-locking or when unlocking without a 11831 previous lock, no longer exist, because Xlib/XCB no longer has any reason 11832 to care more about application locking than traditional Xlib does. 11833 11834 Furthermore, the handoff approach provides great improvements to 11835 performance. Results from x11perf's XNoOp test, which represented the 11836 worst case for the lock-based Xlib/XCB: 11837 11838 Traditional Xlib: average 19100000/sec 11839 Lock-based Xlib/XCB: average 3350000/sec 11840 Handoff-based Xlib/XCB: average 17400000/sec 11841 11842 Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 11843 Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 11844 performance. Of course, real-world workloads do not use no-op, so your 11845 mileage may vary. In particular, since no-ops represent the worst case, 11846 we expect real workloads to more closely match the performance of 11847 traditional Xlib. 11848 11849 While removing synchronization code, we changed _XReply to not drop any 11850 locks when calling xcb_wait_for_reply; previously, we had to carefully 11851 avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 11852 the locks reduces implementation complexity and should not impact 11853 applications. 11854 11855 Commit by Jamey Sharp and Josh Triplett. 11856 XCB's handoff mechanism inspired by Keith Packard. 11857 11858commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 11859Author: Chris Ball <cjb@laptop.org> 11860Date: Mon Nov 3 22:57:29 2008 -0500 11861 11862 Remove configure check for xcb-xlib. 11863 11864 xcb-xlib has been intentionally removed from libxcb; stop checking for 11865 it at configure-time. 11866 11867commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 11868Author: Josh Triplett <josh@freedesktop.org> 11869Date: Wed Oct 29 14:37:44 2008 -0700 11870 11871 .gitignore: Add dolt files 11872 11873commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 11874Author: Peter Hutterer <peter.hutterer@redhat.com> 11875Date: Tue Oct 28 11:56:55 2008 +1030 11876 11877 man: fix formatting error in XkbGetIndicatorState man page. 11878 11879commit b1022fa6d7e97640049e93ffa108083fc8d71b05 11880Author: James Cloos <cloos@jhcloos.com> 11881Date: Sat Oct 25 09:13:08 2008 -0400 11882 11883 Increase size of working arrays in the makekeys utility program. 11884 11885 Makekeys is used to create an optimal hash of the keysyms defined 11886 in x11proto’s keysymdef.h. 11887 11888 The recent addition of new keysyms there has triggered a bug in 11889 makekeys where it tries to use a zero on the rhs of the % (mod) 11890 operator (resulting in a divide by zero error) whenever it fails 11891 to find a solution within its constraints. 11892 11893 Increasing the size of the arrays allows it to find a solution for 11894 the current set of keysyms. 11895 11896 Makekeys is only run durring the build process, so this has no impact 11897 on users of libX11, only on the amount of VM needed to build it. 11898 11899 It still needs a more complete fix, but this allows compiles to 11900 progress until that is completed. 11901 11902commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 11903Author: James Cloos <cloos@jhcloos.com> 11904Date: Sat Oct 11 01:03:14 2008 -0400 11905 11906 Dolt-ify 11907 11908 Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 11909 11910commit 39c0b266cac8cbc15bf501d7869186862f01d823 11911Author: Peter Hutterer <peter.hutterer@redhat.com> 11912Date: Wed Oct 15 14:30:20 2008 +1030 11913 11914 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 11915 11916 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 11917 11918commit d23aad31338e7d869d878d5aa1b6b91d20287005 11919Author: Peter Hutterer <peter.hutterer@redhat.com> 11920Date: Mon Oct 13 09:41:59 2008 +1030 11921 11922 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 11923 11924commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 11925Author: Peter Hutterer <peter.hutterer@who-t.net> 11926Date: Thu Jul 24 15:44:26 2008 +0930 11927 11928 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 11929 11930 Thanks to Michael Meeks, Novell Bug 369263. 11931 https://bugzilla.novell.com/show_bug.cgi?id=369263 11932 11933commit e7ece39afc8e0adc3b6b1e70b337b98376754462 11934Author: Alan Coopersmith <alan.coopersmith@sun.com> 11935Date: Tue Oct 7 15:41:38 2008 -0700 11936 11937 Sun bug #6739431: double free in _X11TransConnectDisplay() 11938 11939 Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 11940 After copying original_hostname to phostname, set original_hostname 11941 to NULL, so we don't free the same pointer twice when we free both 11942 original_hostname and phostname. 11943 11944 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 11945 11946commit 0877bc916afbd1ff8f1833edc930b765ea783576 11947Author: Daniel Stone <daniel@fooishbar.org> 11948Date: Tue Sep 23 19:02:02 2008 +0300 11949 11950 configure.ac: Fix CC_FOR_BUILD logic error 11951 11952 Turns out we were accidentally smashing it so that you couldn't set it 11953 externally at all. Oops. 11954 11955commit 58bf3aa746908f01c37be7045699e43a4e270944 11956Author: John Tapsell <johnflux@gmail.com> 11957Date: Tue Sep 23 17:30:13 2008 +0300 11958 11959 Build: Use native compiler for makekeys 11960 11961 makekeys needs to be run during the build process, as opposed to on the 11962 target, so build it with either of gcc or cc to fix cross-compiling. 11963 This can be overridden by setting $CC_FOR_BUILD. 11964 11965commit 340422a5c7a413faef18666cada27cee14615250 11966Author: Adam Jackson <ajax@redhat.com> 11967Date: Wed Sep 17 12:54:34 2008 -0400 11968 11969 Fix the previous patch for the BadFont case. 11970 11971commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 11972Author: Matthias Clasen <mclasen@redhat.com> 11973Date: Wed Sep 17 10:43:52 2008 -0400 11974 11975 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 11976 11977commit db0b85db29699be6bf7e78dede655d59ba926dfc 11978Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 11979Date: Sun Sep 14 19:15:26 2008 -0400 11980 11981 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 11982 11983 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 11984 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 11985 ISO 8859 pt_BR Compose file) as the string but specify the keysym 11986 and comment for Ć and ć (c with acute accent). 11987 11988 This commit normalizes those two lines to match the specified string. 11989 11990 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 11991 11992 Signed-off-by: James Cloos <cloos@jhcloos.com> 11993 11994commit b065c011baa69b69e3ea77c30d5e153c0d103e2d 11995Author: Michael Verret <michael.verret@gmail.com> 11996Date: Mon Sep 8 16:33:35 2008 -0400 11997 11998 Fix documentation typo 11999 12000 Signed-off-by: James Cloos <cloos@jhcloos.com> 12001 12002commit 4213ea95185377bdd1b51e82933f331fc0f52e5b 12003Author: James Cloos <cloos@jhcloos.com> 12004Date: Sat Sep 6 04:19:19 2008 -0400 12005 12006 Remove extraneous <angle brackets> from the Ethiopic Compose file. 12007 12008 The am_ET.UTF-8 Compose file submitted in: 12009 12010 https://bugs.freedesktop.org/show_bug.cgi?id=11307 12011 12012 for the OLCP project used incorrect syntax. (It has angle brackets around the 12013 Uxxxx symbols on the right hand side rather than only on the left hand side). 12014 12015 This bug is noted in OLPC’s ticket: 12016 12017 http://dev.laptop.org/ticket/7474 12018 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 12019 12020commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 12021Author: James Cloos <cloos@jhcloos.com> 12022Date: Mon Sep 1 17:49:33 2008 -0400 12023 12024 Complete the set of vulgar fractions 12025 12026 Unicode 1.1 added thirds, fifths, sixths and eights; 12027 we might as well catch up. 12028 12029 (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 12030 and 0/3 (U2189) in their pipelines, but those four can be added 12031 here after they are published.) 12032 12033commit a788792e9de95f8db0639557859722a35087481d 12034Author: James Cloos <cloos@jhcloos.com> 12035Date: Wed Aug 20 15:28:07 2008 -0400 12036 12037 nls (en_US) Re-remove long compositions that override shorter 12038 12039 As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 12040 12041 Commit a6f4bbf7 12042 nls (en_US): remove long compositions that override shorter [...] 12043 removed some longer compose sequences because there are shorter 12044 ones which take preference over the longer. For example the 12045 sequences: 12046 12047 <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 12048 <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 12049 12050 were removed becase there already was: 12051 12052 <Multi_key> <apostrophe> <comma> : U201A # ‚ 12053 12054 Then commit 4ba09125 12055 Work on making the en_US and pt_BR UTF-8 Compose as similar as 12056 possible added exactly the same key sequences again. Obviusly 12057 they won't work. 12058 12059commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 12060Author: James Cloos <cloos@jhcloos.com> 12061Date: Thu Jul 17 21:01:42 2008 -0400 12062 12063 Add more <Multi_key> <cedilla> Compose tuples 12064 12065 The last commit missed the el_GR UTF-8 Compose.pre as well as 12066 the various ISO 8859 locales which have compose sequences 12067 generating ‘WITH CEDILLA’ characters. 12068 12069 (Interestingly, some of the 8859 locales already supported 12070 <Multi_key> <cedilla> for some CEDILLA characters, but not 12071 for Ç or ç.) 12072 12073 This is further work on bug 10397. 12074 12075commit 4ba091255bb953d53078ba5619d6751052c739f7 12076Author: James Cloos <cloos@jhcloos.com> 12077Date: Thu Jul 17 17:16:50 2008 -0400 12078 12079 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 12080 12081 The eventual goal here is to have a single primary UTF-8 Compose 12082 file which the locale-specific UTF-8 Compose.pre files can #include. 12083 12084commit 254522d3c24e0590732fc03cdd61ff4564819d94 12085Author: James Cloos <cloos@jhcloos.com> 12086Date: Thu Jul 17 17:13:36 2008 -0400 12087 12088 Add <Multi_key> <cedilla> Compose tuples 12089 12090 The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 12091 with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 12092 support for using <cedilla> instead of <comma> in said sequences. 12093 12094 This commit makes both styles work. 12095 12096commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 12097Author: James Cloos <cloos@jhcloos.com> 12098Date: Sat Jun 28 15:25:23 2008 -0400 12099 12100 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 12101 12102 The new block was added twice to the en_US.UTF-8 Compose.pre; 12103 delete the duplicate. 12104 12105commit 596e081b7457dcd1c4ad555ac140e6999239bc0d 12106Author: Peter Hutterer <peter@cs.unisa.edu.au> 12107Date: Sat Jun 28 20:14:05 2008 +0930 12108 12109 Fix unbalanced parenthesis in XKBlib.h # 16551 12110 12111 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 12112 12113commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 12114Author: Adam Jackson <ajax@redhat.com> 12115Date: Tue Jun 24 13:16:53 2008 -0400 12116 12117 Bug #14898: Don't abuse the sprintf() implementation. 12118 12119 The thing you're printing into should not itself appear in the list of 12120 things to print from, that's bad juju. Just use strcat(). 12121 12122commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 12123Author: Khaled Hosny <khaledhosny@eglug.org> 12124Date: Thu Jun 19 18:26:11 2008 -0400 12125 12126 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 12127 12128 Add some Arabic digraphs to utf-8 locales with a Compose.pre 12129 12130 Signed-off-by: James Cloos <cloos@jhcloos.com> 12131 12132commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 12133Author: Alan Coopersmith <alan.coopersmith@sun.com> 12134Date: Wed Jun 18 20:00:25 2008 -0700 12135 12136 Rework code to choose local connection types and fallback to others 12137 12138 Adds --with-local-transport-order configure flag if you don't like the 12139 default ordering (which is platform dependent) 12140 12141 Includes fixes for these Sun/Solaris bug ids: 12142 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 12143 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 12144 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 12145 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 12146 12147commit cf49e537014c3cb5aaee07e57400933e0bb72b6b 12148Author: Alan Coopersmith <alan.coopersmith@sun.com> 12149Date: Tue Jun 17 14:41:17 2008 -0700 12150 12151 Strip whitespace from end of lines in source files 12152 12153commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 12154Author: Jeff Smith <whydoubt@yahoo.com> 12155Date: Sun Jun 15 23:52:20 2008 -0500 12156 12157 Fix memory leak in XOpenDisplay 12158 12159 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 12160 12161commit fca0b0ba3f72b7284601d4690bba99fc80a92614 12162Author: Jens Herden <jens@khmeros.info> 12163Date: Tue Jun 10 20:07:30 2008 +0300 12164 12165 NLS: Add Khmer compose sequences (bug #5706) 12166 12167 Add some Khmer digraphs to all locales with a Compose.pre. 12168 12169commit e54cffb649b1622c17457e470cfab8cc56d38c97 12170Merge: 19802ccd 721b574d 12171Author: Daniel Stone <daniel@fooishbar.org> 12172Date: Tue Jun 10 20:04:30 2008 +0300 12173 12174 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 12175 12176commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 12177Author: Peter Hutterer <peter@cs.unisa.edu.au> 12178Date: Thu May 29 10:57:21 2008 +0930 12179 12180 Bump to 1.1.99.1 12181 12182commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 12183Author: Peter Hutterer <peter@cs.unisa.edu.au> 12184Date: Wed May 28 17:31:59 2008 +0930 12185 12186 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 12187 12188commit e9195db7257e418f83707233baeeb84b225caf4f 12189Merge: c34f76f4 a7f85567 12190Author: Peter Hutterer <peter@cs.unisa.edu.au> 12191Date: Thu May 22 12:14:28 2008 +0930 12192 12193 Merge branch 'master' into xge 12194 12195commit 19802ccd3909145e3ba2f6c073271cb5f3701685 12196Author: Daniel Stone <daniel@fooishbar.org> 12197Date: Mon May 19 19:22:31 2008 +0300 12198 12199 gitignore: Update with loads more bits from server 12200 12201commit a7f85567a3e850fba0c44571453d2852ab1a09be 12202Author: Adam Jackson <ajax@redhat.com> 12203Date: Tue May 13 10:28:39 2008 -0400 12204 12205 Bug #15884: Remove useless sleep()'s from the connection code. 12206 12207 For network transports, there's enough delay in the network layer 12208 already without adding more. For local transports, just hurry up 12209 and fail if the server isn't there. 12210 12211commit c34f76f475bc632490122e67b5a82575d69d5569 12212Author: Peter Hutterer <peter@cs.unisa.edu.au> 12213Date: Mon May 12 21:46:24 2008 +0930 12214 12215 Pull down extra bytes when reading a GenericEvent (non-xcb). 12216 12217 I refuse to take any responsibily for this code. It works, I guess. 12218 But - all the flushing is done somewhere before that, so we might need to 12219 flush here. Under some circumstances anyway. Don't ask me, I'm an optical 12220 illusion. 12221 12222 Build with xcb as transport layer highly recommended. 12223 12224commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 12225Merge: 17d7dcbf 9129057b 12226Author: Peter Hutterer <peter@cs.unisa.edu.au> 12227Date: Mon May 12 17:58:37 2008 +0930 12228 12229 Merge branch 'master' into xge 12230 12231commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 12232Author: Teemu Likonen <tlikonen@iki.fi> 12233Date: Wed May 7 21:44:22 2008 +0300 12234 12235 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 12236 12237 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 12238 <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 12239 U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 12240 duplicate compose sequences since these have already been defined. Also, 12241 using <dead_belowring> is more logical since the diacritic is indeed 12242 a "RING BELOW". 12243 12244commit 01a9cb58888d290cc3d319feec4ee4a0297a844c 12245Author: Daniel Stone <daniel@fooishbar.org> 12246Date: Wed May 7 20:04:44 2008 +0300 12247 12248 NLS: Make UTF-8 the default for Russian 12249 12250 No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 12251 only other possible answer would be KOI8-R. 12252 12253 Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 12254 12255commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 12256Author: Ross Burton <ross@burtonini.com> 12257Date: Tue Apr 29 13:38:10 2008 +0300 12258 12259 NLS: Add interrobang to UTF-8 compose tables (bug #15653) 12260 12261 It is what it says on the box. 12262 12263commit 0b6682303e9c61fefc3818acfda616b1e3691abf 12264Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 12265Date: Mon Apr 28 11:51:25 2008 +0300 12266 12267 IM: Respect XMODIFIERS for Thai locale (bug #15719) 12268 12269 When looking at Thai input methods, make sure XMODIFIERS is checked 12270 before jumping straight into built-in Thai processing, so external XIM 12271 servers such as SCIM can be used with Thai. 12272 12273commit c13aded1b2f830ba5004abb0ec5518f9ea16087e 12274Author: Colin Harrison <colin.harrison-at-virgin.net> 12275Date: Sat Apr 26 18:56:05 2008 +0100 12276 12277 Fix missing error condition 12278 12279commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 12280Author: Colin Harrison <colin.harrison-at-virgin.net> 12281Date: Mon Apr 21 17:24:33 2008 +0100 12282 12283 Xlib warning fixes 12284 12285commit 6b6caeea830a977bdb54688cfb648d879821e752 12286Author: James Cloos <cloos@jhcloos.com> 12287Date: Fri Apr 18 02:50:55 2008 -0400 12288 12289 Add some dead_key sequences to en_US.UTF-8 Compose table 12290 12291 Make use of the new dead key symbols added to x11proto’s 12292 commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 12293 was in responce to bug #15446). 12294 12295commit 8f9b039580deaf658e464b7d6254064fcf183df6 12296Author: Alan Coopersmith <alan.coopersmith@sun.com> 12297Date: Mon Apr 14 19:09:42 2008 -0700 12298 12299 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 12300 12301commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 12302Author: Alan Coopersmith <alan.coopersmith@sun.com> 12303Date: Mon Apr 14 18:21:14 2008 -0700 12304 12305 Fix mismatched brace indenting 12306 12307commit a19f9c65ee9e5e5d783feaa84998c36439b0288b 12308Author: Bart Massey <bart@cs.pdx.edu> 12309Date: Fri Apr 4 18:58:45 2008 -0700 12310 12311 added error check in Xcms color file parser; closes bug #15305 12312 12313commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 12314Author: Christian Weisgerber <naddy@mips.inka.de> 12315Date: Tue Mar 18 07:30:05 2008 +0100 12316 12317 ConnDis: properly cast 'addr' before accessing it as a byte array. 12318 12319 If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 12320 clients over IPv6, the clients are liable to segfaults. 12321 12322commit 64325f38bab082a8e0e9ce779a8e582de5c8588e 12323Author: Josh Triplett <josh@freedesktop.org> 12324Date: Sat Mar 15 12:29:33 2008 -0700 12325 12326 Fix fd.o bug 15023: make Xlib sync correctly given many void requests 12327 12328 If given many requests without replies, Xlib may not sync until it flushes 12329 the output buffer. Thus, if Xlib can fit enough requests in the buffer to 12330 pass by the number of requests it would normally sync after (65536 - 12331 BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 12332 demonstrated this by issuing a request with a reply (ListExtensions) at 12333 just the right time to get confused with the GetInputFocus reply issued in 12334 response to the sync 65,536 requests later; the test case used an async 12335 handler to watch the replies, since otherwise it could not issue a request 12336 without waiting for the response. When the test case failed, Xlib's sync 12337 handler would eat the ListExtensions reply, and the test case's async 12338 handler would see the GetInputFocus reply. 12339 12340 Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 12341 buffer size to figure out when the sequence numbers could potentially wrap 12342 before the next flush. 12343 12344 With this commit, the test case consistently passed, and the async reply 12345 handler always saw the ListExtensions reply. 12346 12347 Commit by Jamey Sharp and Josh Triplett. 12348 12349commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 12350Author: Colin Harrison <colin.harrison@virgin.net> 12351Date: Sat Mar 15 13:39:13 2008 -0400 12352 12353 Fix typo 12354 12355 Signed-off-by: James Cloos <cloos@jhcloos.com> 12356 12357commit f07585ca27a8487bc66dfe41486c823f0fdcea7d 12358Author: Daniel Stone <daniel@fooishbar.org> 12359Date: Sat Mar 15 17:32:57 2008 +0200 12360 12361 configure.ac: Don't search for legacy X11 headers 12362 12363 This can actually break cross-compiles, so don't do it anymore. 12364 12365commit bf69541238c7df6606340c0f389e5c47149b29c7 12366Author: Matthieu Herrb <matthieu.herrb@laas.fr> 12367Date: Sun Mar 9 09:08:07 2008 +0100 12368 12369 nuke RCS Ids 12370 12371commit 5e98aed13e529638df744e45893c471d5f2014fb 12372Author: Adam Jackson <ajax@redhat.com> 12373Date: Thu Mar 6 16:10:33 2008 -0500 12374 12375 libX11 1.1.4 12376 12377commit 8e085971dc661da9f80ff6b67747459c0fb15c08 12378Author: Alan Coopersmith <alan.coopersmith@sun.com> 12379Date: Thu Feb 28 20:17:41 2008 -0800 12380 12381 Man page typo fixes 12382 12383commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 12384Author: Søren Sandmann Pedersen <sandmann@redhat.com> 12385Date: Sun Feb 24 20:03:35 2008 -0500 12386 12387 XIM: Fix a hand when switching input context. 12388 12389 Red Hat bug #201284. 12390 12391commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 12392Author: Adam Jackson <ajax@redhat.com> 12393Date: Sun Feb 24 20:00:43 2008 -0500 12394 12395 Bug #14029: Don't LockDisplay() recursively. 12396 12397 See also Red Hat bugzilla #326461. 12398 12399commit e5892467ae3308c8651be76e06db322dcbc08522 12400Author: Alan Coopersmith <alan.coopersmith@sun.com> 12401Date: Fri Feb 15 17:27:53 2008 -0800 12402 12403 Add support for building lint library with --enable-lint-library 12404 12405commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 12406Author: Alan Coopersmith <alan.coopersmith@sun.com> 12407Date: Mon Feb 11 20:11:43 2008 -0800 12408 12409 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 12410 12411commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 12412Author: Alan Coopersmith <alan.coopersmith@sun.com> 12413Date: Fri Feb 8 16:46:46 2008 -0800 12414 12415 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 12416 12417commit 416a812200f24d19149dcc497e5c51a0608120f6 12418Author: Alan Coopersmith <alan.coopersmith@sun.com> 12419Date: Fri Feb 8 15:31:31 2008 -0800 12420 12421 XErrorDB updates for Render 0.9 & XFixes 4.0 12422 12423commit 16a76091cd632e5a3708e235ff864b58f3e4613e 12424Author: Kim Woelders <kim@woelders.dk> 12425Date: Sat Dec 22 21:45:23 2007 +0100 12426 12427 Fix bs_BA entries in locale.dir.pre 12428 12429 X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 12430 12431commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 12432Merge: 8f0bd3f4 e8d4cefa 12433Author: James Cloos <cloos@jhcloos.com> 12434Date: Fri Dec 14 22:43:47 2007 -0500 12435 12436 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 12437 12438commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 12439Author: James Cloos <cloos@jhcloos.com> 12440Date: Fri Dec 14 22:42:59 2007 -0500 12441 12442 add a comment to en_US.UTF-8/Compose 12443 12444commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 12445Author: James Cloos <cloos@jhcloos.com> 12446Date: Fri Dec 14 22:40:13 2007 -0500 12447 12448 Add <dead_stroke> compose sequences 12449 12450 The added sequences match the existing <Multi_key> <slash> sequences. 12451 12452 This is related to bug #12765¹. 12453 12454 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 12455 12456commit e8d4cefa0837afa149a10e981528b368485a9e38 12457Author: Jeremy Huddleston <jeremy@yuffie.local> 12458Date: Mon Dec 10 23:00:44 2007 -0800 12459 12460 Added launchd support. 12461 12462commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 12463Merge: 5dfefd38 13ac8046 12464Author: Peter Hutterer <peter@cs.unisa.edu.au> 12465Date: Thu Dec 6 14:08:29 2007 +1030 12466 12467 Merge branch 'master' into xge 12468 12469commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 12470Merge: a68a1cd7 eff33ae5 12471Author: Peter Hutterer <peter@cs.unisa.edu.au> 12472Date: Thu Dec 6 13:57:09 2007 +1030 12473 12474 Merge branch 'master' into xge 12475 12476 Conflicts: 12477 12478 src/xcb_io.c 12479 12480commit 13ac80469f6958cabac596834e203bd9cb6d4c94 12481Author: James Cloos <cloos@jhcloos.com> 12482Date: Wed Dec 5 20:14:03 2007 -0500 12483 12484 Update the currency symbols block of en_US.UTF-8/Compose.pre 12485 Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 12486 the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 12487 AUSTRAL, HRYVNIA and CEDI SIGNs. 12488 12489commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 12490Author: Anton Zinoviev <anton@lml.bas.bg> 12491Date: Wed Dec 5 19:56:03 2007 -0500 12492 12493 Additions to the Compose file for UTF-8 12494 From bug #5371¹ 12495 12496 Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 12497 from those in attachment #4122². The post³ on xorg resulted in only 12498 a positive reply⁴ from Daniel, so this block is now also commited. 12499 12500 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 12501 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 12502 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 12503 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 12504 12505 Signed-off-by: James Cloos <cloos@jhcloos.com> 12506 Acked-by: Daniel Stone <daniel@fooishbar.org> 12507 12508commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 12509Author: James Cloos <cloos@jhcloos.com> 12510Date: Tue Dec 4 17:25:39 2007 -0500 12511 12512 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 12513 12514 Based on src/KeysymStr.c and src/StrKeysym.c and comments in 12515 bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 12516 those should be in the form U plus the hex of the UCS Code Point. 12517 12518 The 0x01000000 is ORed in by the code. 12519 12520 This update fixes all of those. 12521 12522 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 12523 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 12524 12525commit 02e04059c89e175f51647e3b031344f743286b34 12526Merge: 1254c57d b57129ef 12527Author: James Cloos <cloos@jhcloos.com> 12528Date: Tue Dec 4 06:55:04 2007 -0500 12529 12530 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 12531 12532commit 1254c57dd3a8d6ea87041b2f63024f99094f290f 12533Author: James Cloos <cloos@jhcloos.com> 12534Date: Tue Dec 4 06:53:55 2007 -0500 12535 12536 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 12537 Inspired by bug 11930¹: 12538 12539 Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 12540 and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 12541 Compose files. 12542 12543 This was done with a pair of perl scripts based on the one quoted in the 12544 log for commit c76d30253f1483ac8200ad5c032a818907e65030. 12545 12546 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 12547 12548commit b57129ef324c73ee91c2a796b800c4b45f4d4855 12549Author: Jeremy Huddleston <jeremy@yuffie.local> 12550Date: Mon Dec 3 20:04:19 2007 -0800 12551 12552 Use __APPLE__ instead of __DARWIN__ 12553 12554commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 12555Author: Jeremy Huddleston <jeremy@yuffie.local> 12556Date: Wed Nov 28 16:43:49 2007 -0800 12557 12558 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 12559 12560commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 12561Author: Alan Coopersmith <alan.coopersmith@sun.com> 12562Date: Wed Nov 21 16:50:04 2007 -0800 12563 12564 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 12565 12566 X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 12567 12568 Protect /* sequences from cpp pre-processor removal without transforming 12569 to Unicode mathematical asterisk character 12570 12571commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 12572Author: Jamey Sharp <jamey@minilop.net> 12573Date: Mon Oct 29 10:46:20 2007 -0700 12574 12575 Two threads can request sequence sync and XID fetch simultaneously. 12576 12577 So don't assert that they can't. 12578 12579 This makes the Xlib/XCB implementation of _XAllocID more closely 12580 resemble the traditional Xlib version. 12581 12582commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 12583Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 12584Date: Sun Oct 28 04:44:00 2007 -0800 12585 12586 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 12587 12588 <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 12589 12590commit 24527c92fd1f433ea135e85ec876a94a529fe500 12591Author: Yann Droneaud <ydroneaud@mandriva.com> 12592Date: Wed Oct 24 19:26:07 2007 +0300 12593 12594 XIM: Properly initialise client event 12595 12596 Make sure all ClientMessage fields are initialised to 0 before we send it. 12597 12598commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 12599Author: Daniel Stone <daniel@fooishbar.org> 12600Date: Wed Oct 24 19:22:22 2007 +0300 12601 12602 Colours: Fix --disable-xcms 12603 12604 Disable large tracts of colour management code when passing 12605 --disable-xcms. 12606 12607commit 11ea09745efa8de7dc82fe30ebd2393f08390957 12608Author: Eric Anholt <eric@anholt.net> 12609Date: Fri Aug 31 17:30:33 2007 -0700 12610 12611 Bug #2081: Note the range limitation of XSetScreenSaver arguments. 12612 12613commit 31540f1438ec63faf37044f2fd654b335ddf80f0 12614Author: Kristian Høgsberg <krh@redhat.com> 12615Date: Wed Aug 29 19:50:57 2007 -0400 12616 12617 Add GLX 1.4 requests and errors. 12618 12619commit 7c996f78914c77fe17e9f4feede980d895d9df51 12620Author: Eric Anholt <eric@anholt.net> 12621Date: Tue Aug 28 15:15:11 2007 -0700 12622 12623 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 12624 12625commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 12626Author: Eric S. Raymond <esr@thyrsus.com> 12627Date: Sun Jan 14 10:48:00 2007 -0800 12628 12629 Bug #9658: Bad markup on XIfEvent.3x 12630 12631 X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 12632 12633commit 74cba78daa738ef4d92096107d95c1a585933666 12634Author: Eric S. Raymond <esr@thyrsus.com> 12635Date: Sun Jan 14 10:43:00 2007 -0800 12636 12637 Bug #9655: Bad markup in XrmUniqueQuark.3x 12638 12639 X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 12640 12641commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 12642Author: Eric S. Raymond <esr@thyrsus.com> 12643Date: Sun Jan 14 10:43:00 2007 -0800 12644 12645 Bug #9654: Bad markup in XrmGetFileDatabase.3x 12646 12647 X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 12648 12649commit 2db713252090cae08f0200fecad4fc25fb64c8b1 12650Author: Eric S. Raymond <esr@thyrsus.com> 12651Date: Sun Jan 14 10:40:00 2007 -0800 12652 12653 Bug #9653: Bad markup in XQueryColor.3x 12654 12655 X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 12656 12657commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 12658Author: Eric S. Raymond <esr@thyrsus.com> 12659Date: Sun Jan 14 10:40:00 2007 -0800 12660 12661 Bug #9652: Bad markup in XDrawArc.3x 12662 12663 X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 12664 12665commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 12666Author: Eric S. Raymond <esr@thyrsus.com> 12667Date: Sun Jan 14 10:39:00 2007 -0800 12668 12669 Bug #9651: Bad markup in XcmsColor.3x 12670 12671 X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 12672 12673commit c316aaf0aab06951db9dc5c9c1148bfea835d885 12674Author: Eric S. Raymond <esr@thyrsus.com> 12675Date: Sun Jan 14 10:38:00 2007 -0800 12676 12677 Bug #9650: Bad markup in XLoadFont.3x manual page 12678 12679 X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 12680 12681commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 12682Author: Eric S. Raymond <esr@thyrsus.com> 12683Date: Tue Jan 2 10:18:00 2007 -0800 12684 12685 Bug 9523: Markup problems in XQueryExtension.3x 12686 12687 X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 12688 12689commit fe713c616e29ba19c179b43c18eca1035079ce18 12690Author: Ian Romanick <idr@us.ibm.com> 12691Date: Tue Aug 21 14:56:33 2007 -0700 12692 12693 Make sure nls/am_ET.UTF-8/Makefile is created by configure. 12694 12695commit e3430616f26b68e1439143cbe10732f3fc329d20 12696Author: Eric S. Raymond <esr@thyrsus.com> 12697Date: Tue Jan 2 08:40:00 2007 -0800 12698 12699 Bug #9516: Markup error in XAllocWMHints.3x 12700 12701 X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 12702 12703commit d8fe979fc929833e8c754aed32641786d5a0622b 12704Merge: 21ca9533 4ec1723f 12705Author: James Cloos <cloos@jhcloos.com> 12706Date: Mon Aug 20 15:34:50 2007 -0400 12707 12708 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 12709 12710commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 12711Author: James Cloos <cloos@jhcloos.com> 12712Date: Mon Aug 20 15:34:03 2007 -0400 12713 12714 Fix typo 12715 The code <U1000000D> was used where <U10000DC> was obviously intended. 12716 12717 It is possible that <Udiaeresis> should be used instead, if that will 12718 not break anyone’s setup. 12719 12720commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 12721Author: James Cloos <cloos@jhcloos.com> 12722Date: Mon Aug 20 15:25:48 2007 -0400 12723 12724 Add compose file for Ethiopic to match new keyboard in xkeyboard-config 12725 From bug report: 12726 12727 https://bugs.freedesktop.org/show_bug.cgi?id=11307 12728 12729commit eff33ae525337ce2026be135a26464c7b1237113 12730Author: James Cloos <cloos@jhcloos.com> 12731Date: Sat Aug 18 17:58:23 2007 -0400 12732 12733 Patch for Catalan locales 12734 From bugzilla bug 10943¹: 12735 12736 There are several Catalan locale codes which presently can 12737 be used in X11 systems; especially after they were accepted 12738 in belocs-locale-data². 12739 12740 In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 12741 locale codes. For instance, without this, using ca_AD (actually 12742 a quite used locale⁴) some applications (eg. Emacs or Skype) 12743 cannot display Catalan diacritic marks as you type them. 12744 12745 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 12746 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 12747 3] Toni Hermoso Pulido <toniher@softcatala.org> 12748 4] https://launchpad.net/~ubuntu.cat/+members 12749 12750commit 1f980cb7d022f53d0aee9e793b08203fb888e86e 12751Author: James Cloos <cloos@jhcloos.com> 12752Date: Sat Aug 18 17:47:04 2007 -0400 12753 12754 Add additional Euro signs to compose 12755 Inspired by bug 7419¹ make all of: 12756 12757 C=, =C, c=, =c, E=, =E, e=, E= 12758 12759 after <Multi_key> generate € U+20AC EURO SIGN. 12760 12761 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 12762 12763commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 12764Author: James Cloos <cloos@jhcloos.com> 12765Date: Sat Aug 18 17:29:08 2007 -0400 12766 12767 Compose fix for Latin-1 (from Debian) 12768 The description from bugzilla bug 7417¹ is: 12769 12770 We've been shipping this patch for some time in Debian now. The 12771 problem description from the patch header is reproduced below. You 12772 may want to note the licensing issue mentioned below, but we've been 12773 shipping it because the method by which this particular patch was 12774 generated and updated was also given below. 12775 12776 This patch by Denis Barbier. 12777 12778 The X11 protocol states that Unicode keysyms are in the range 12779 0x01000100 - 0x0110FFFF. If the result of composing characters is a 12780 Unicode codepoint, X returns the corresponding Unicode keysym, which 12781 is its Unicode codepoint augmented by 0x01000000. Latin-1 12782 characters must not appear with their Unicode codepoints in compose 12783 files, otherwise the returned composed character lies in the range 12784 0x01000000 - 0x010000FF which is not valid. 12785 12786 There are two solutions: either fix composing routines to return 12787 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 12788 replace U00ZZ by their corresponding keysyms in compose files. The 12789 latter is more logical and less error prone, so compose files will 12790 be patched. Many applications accept these invalid Unicode keysyms, 12791 but few of them don't, most notably xemacs. Only UTF-8 locales are 12792 affected. 12793 12794 This has been fixed very recently in XFree86 CVS (but not xorg), but 12795 for licensing reasons, this patch is not grabbed. Instead automatic 12796 conversion is performed by: 12797 12798 sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 12799 | grep -v deprecated | grep 0x0 \ 12800 | sed -e 's/0x0/U0/' -e 's/XK_//' \ 12801 | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 12802 for f in nls/*.UTF-8/Compose.pre 12803 do 12804 sed -f sedfile $f > $f.tmp && mv $f.tmp $f 12805 done 12806 12807 [I edited the quoted script to update it for the current location of 12808 the installed keysymdef.h and the current layout of the libX11 12809 repo. -JimC] 12810 12811 I applied the script, not the patch attached to the bugreport. 12812 12813 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 12814 12815commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 12816Author: James Cloos <cloos@jhcloos.com> 12817Date: Sat Aug 18 17:13:41 2007 -0400 12818 12819 Add some compose sequences 12820 12821 Add some compose sequences from the patch in bug 5371 (attachment 4122). 12822 12823 Cf: 12824 12825 https://bugs.freedesktop.org/show_bug.cgi?id=5371 12826 https://bugs.freedesktop.org/attachment.cgi?id=4122 12827 12828commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 12829Author: James Cloos <cloos@jhcloos.com> 12830Date: Sat Aug 18 13:57:31 2007 -0400 12831 12832 Fix SMP Compose targets 12833 The compose targets from the SMP (plane 1) were incorrect. 12834 12835 At some point the 0x10000 bit had been lost. 12836 12837commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 12838Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 12839Date: Thu Aug 16 17:37:22 2007 -0500 12840 12841 Fix a mutex reference-counting bug. 12842 12843 I was told that some systems have a much more permissive libpthread. 12844 I was asked to commit this. This is from NetBSD's X source. 12845 (I didn't receive any feedback on xorg list for over two weeks 12846 about this.) 12847 12848commit ac00a44b4875de70382da5a40dd87f976e5b9327 12849Author: Tilman Sauerbeck <tilman@code-monkey.de> 12850Date: Wed Aug 1 20:36:03 2007 +0200 12851 12852 Bumped version to 1.1.3. 12853 12854commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 12855Author: Joerg Sonnenberger <joerg@netbsd.org> 12856Date: Fri Jul 27 11:15:47 2007 -0700 12857 12858 Fail properly on errors in recursive make. 12859 12860commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 12861Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 12862Date: Thu Jul 26 23:31:15 2007 +0200 12863 12864 Add missing override parameter in XrmCombineDatabase prototype in the manpage 12865 12866 Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 12867 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 12868 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 12869 12870 Also add the type of the second argument in XrmMergeDatabases. 12871 12872commit 6f0764d4b56f64786b4980839ca262f10a51af6f 12873Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 12874Date: Thu Jul 26 22:53:52 2007 +0200 12875 12876 Clarify return value of XGetCommand in case of error in the manpage 12877 12878 Reported by Sean Perry <shalehperry@attbi.com> 12879 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 12880 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 12881 12882commit b8bef57342632cc2d25580bb7daa3839bae04d89 12883Author: Alan Coopersmith <alan.coopersmith@sun.com> 12884Date: Wed Jul 25 17:44:06 2007 -0700 12885 12886 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 12887 12888commit 590cde811a79375231c59ed8583e02b111ed567c 12889Author: Kean Johnston <kean@armory.com> 12890Date: Thu Jul 19 16:44:20 2007 -0700 12891 12892 Reset hostname when falling back from :0 to hostname/localhost:0 as well 12893 12894commit d334665e619e9db657a2ea2764a8b852401d4a3f 12895Author: Kean Johnston <kean@armory.com> 12896Date: Tue Jul 17 16:34:30 2007 -0700 12897 12898 LOCALCONN fallback changes DisplayString() output, breaks KDE 12899 12900 See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 12901 12902commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 12903Author: Olivier Blin <blino@mandriva.org> 12904Date: Mon Jun 11 18:32:09 2007 +1000 12905 12906 fix XGetMotionEvents arguments order - Fixes bug 11222 12907 12908commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 12909Author: Jamey Sharp <jamey@minilop.net> 12910Date: Sun Jun 10 16:19:59 2007 -0700 12911 12912 Fix locking in _XimGetWindowEventmask. 12913 12914 Now that XFilterEvent drops the Display lock before invoking callback 12915 functions, _XimGetWindowEventmask is called without the lock held. So 12916 when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 12917 that does not lock the Display, Xlib/XCB would assert: 12918 12919 xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 12920 12921 Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 12922 12923commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 12924Author: Jamey Sharp <jamey@minilop.net> 12925Date: Sun Jun 3 21:41:47 2007 -0700 12926 12927 Move security fixes to the top of NEWS, and fix spacing. 12928 12929 Commit by Josh Triplett and Jamey Sharp. 12930 12931commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 12932Author: Jamey Sharp <jamey@minilop.net> 12933Date: Sun Jun 3 21:29:40 2007 -0700 12934 12935 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 12936 12937 Commit by Josh Triplett and Jamey Sharp 12938 12939commit 5123b77a3d32d3ad479462f319762c328278aed9 12940Author: Jamey Sharp <jamey@minilop.net> 12941Date: Sun Jun 3 21:24:54 2007 -0700 12942 12943 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 12944 12945 Commit by Josh Triplett and Jamey Sharp. 12946 12947commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 12948Author: Jamey Sharp <jamey@minilop.net> 12949Date: Sun Jun 3 20:59:12 2007 -0700 12950 12951 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 12952 12953 Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 12954 _XReadEvents always enqueues at least one event even if an error occurred, 12955 because the one call to xcb_wait_for_event would then return an error, not an 12956 event, and nothing else ensured that process_responses would obtain an event. 12957 Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 12958 f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 12959 process_responses, wait_for_first_event now serves as a flag, cleared when 12960 actually handling an event. 12961 12962 Commit by Josh Triplett and Jamey Sharp. 12963 12964commit e2c1d788d1fe7bd2d34756493951552441e59b8c 12965Author: Jamey Sharp <jamey@minilop.net> 12966Date: Sun Jun 3 17:33:23 2007 -0700 12967 12968 Xlib/XCB: Only remove pending_requests when there are provably no more responses. 12969 12970commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 12971Author: Josh Triplett <josh@freedesktop.org> 12972Date: Sun Jun 3 15:39:39 2007 -0700 12973 12974 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 12975 12976 Signed-off-by: Josh Triplett <josh@freedesktop.org> 12977 12978commit 416f38f2e67ee1979b3d2feac6f06b3670238804 12979Author: Josh Triplett <josh@freedesktop.org> 12980Date: Sun Jun 3 12:13:44 2007 -0700 12981 12982 Revert "Revert "include: don't distribute XlibConf.h"" 12983 12984 This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 12985 12986 Re-revert the XlibConf.h change, which prevented distribution, not 12987 installation. 12988 12989commit 79fa3d8070d95b960ba486f2439225872471dadd 12990Author: Josh Triplett <josh@freedesktop.org> 12991Date: Sat Jun 2 22:05:16 2007 -0700 12992 12993 Revert "include: don't distribute XlibConf.h" 12994 12995 This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 12996 12997 The installed XlibInt.h includes XlibConf.h , so libX11 should ship 12998 XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 12999 prevent automake from shipping XlibConf.h, because it used 13000 nodist_x11include_HEADERS rather than nodist_HEADERS.) 13001 13002commit f417570735aac865eb6b576d1ea76b5bfcd8573b 13003Author: Jamey Sharp <jamey@minilop.net> 13004Date: Sat Jun 2 17:59:15 2007 -0700 13005 13006 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 13007 13008 Commit by Josh Triplett and Jamey Sharp. 13009 13010commit c337f9de7cfd89f983f83956b7457a274dd412f3 13011Author: Jamey Sharp <jamey@minilop.net> 13012Date: Sat Jun 2 17:46:41 2007 -0700 13013 13014 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 13015 13016 Commit by Jamey Sharp and Josh Triplett. 13017 13018commit 7f66c897f04806b75e574b55b48921b48045e3f9 13019Author: Jamey Sharp <jamey@minilop.net> 13020Date: Sat Jun 2 16:43:39 2007 -0700 13021 13022 Update _XReply's copy of _XCBUnlockDisplay's guts. 13023 13024 We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 13025 13026 Also add a comment in _XCBUnlockDisplay to discourage this problem from 13027 respawning. 13028 13029 Commit by Josh Triplett and Jamey Sharp. 13030 13031commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 13032Author: Jamey Sharp <jamey@minilop.net> 13033Date: Sat Jun 2 16:01:01 2007 -0700 13034 13035 Xlib/XCB: Avoid re-crashing after _XIOError. 13036 13037 Commit by Josh Triplett and Jamey Sharp. 13038 13039commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 13040Author: Jamey Sharp <jamey@minilop.net> 13041Date: Sat Jun 2 12:30:30 2007 -0700 13042 13043 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 13044 13045 An Xlib client can query Display state, such as with NextRequest, while 13046 it holds only the Xlib user lock (between XLockDisplay and 13047 XUnlockDisplay), so XCB requests in other threads should be blocked when 13048 the Xlib user lock is held. 13049 13050 We acquire the lock even when XInitThreads was not called, so that pure 13051 XCB code can use multiple threads even in an otherwise single-threaded 13052 Xlib application. 13053 13054 Commit by Josh Triplett and Jamey Sharp. 13055 13056commit 95523387d619af5b400748898d722e080b5ce1a6 13057Author: Jamey Sharp <jamey@minilop.net> 13058Date: Sat Jun 2 11:57:39 2007 -0700 13059 13060 Allow re-entrant Xlib calls from _XIOError. 13061 13062 Some libraries try to clean up X resources from atexit handlers, _fini, 13063 or C++ destructors. To make these work, the Display lock should be 13064 downgraded to a user lock (as in XLockDisplay) before calling exit(3). 13065 This blocks Xlib calls from threads other than the one calling exit(3) 13066 while still allowing the exit handlers to call Xlib. 13067 13068 This assumes that the thread calling exit will call any atexit handlers. 13069 If this does not hold, then an alternate solution would involve 13070 registering an atexit handler to take over the lock, which would only 13071 assume that the same thread calls all the atexit handlers. 13072 13073 Commit by Josh Triplett and Jamey Sharp. 13074 13075commit 91b02b8064f4e0bcc56019f0722914850008a597 13076Author: Tilman Sauerbeck <tilman@code-monkey.de> 13077Date: Thu May 17 19:07:34 2007 +0200 13078 13079 More constification. 13080 13081commit a4f3841940158351f9424c3f59b305cce877177d 13082Author: Tilman Sauerbeck <tilman@code-monkey.de> 13083Date: Thu May 17 00:29:43 2007 +0200 13084 13085 Constified composite text charset table. 13086 13087commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 13088Author: Tilman Sauerbeck <tilman@code-monkey.de> 13089Date: Wed May 16 23:19:22 2007 +0200 13090 13091 Have the compiler fill in hexTable so we don't have to do it at runtime. 13092 13093commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 13094Author: Tilman Sauerbeck <tilman@code-monkey.de> 13095Date: Wed May 16 19:36:23 2007 +0200 13096 13097 More constification. 13098 13099commit 6d2bed8f04942b4de086a519ac693e729c9fdeea 13100Author: Tilman Sauerbeck <tilman@code-monkey.de> 13101Date: Wed May 16 19:18:20 2007 +0200 13102 13103 Constify and clean up token table. 13104 13105commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 13106Author: Tilman Sauerbeck <tilman@code-monkey.de> 13107Date: Wed May 16 18:24:42 2007 +0200 13108 13109 Constified more tables. 13110 13111commit e699c4231c205ef00d687b6412308d031b99806b 13112Author: Tilman Sauerbeck <tilman@code-monkey.de> 13113Date: Wed May 16 18:01:23 2007 +0200 13114 13115 Constified error list. 13116 13117commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 13118Author: Peter Hutterer <peter@cs.unisa.edu.au> 13119Date: Tue May 15 16:54:01 2007 +0930 13120 13121 Add XGenericEvent definition and handling for long events. 13122 13123commit c76d30253f1483ac8200ad5c032a818907e65030 13124Author: Jan Willem Stumpel <jstumpel@planet.nl> 13125Date: Fri May 4 12:00:49 2007 -0700 13126 13127 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 13128 13129 Cf: 13130 13131 https://bugs.freedesktop.org/show_bug.cgi?id=10851 13132 https://bugs.freedesktop.org/show_bug.cgi?id=10824 13133 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 13134 13135 The greek keyboard definition was changed to replace dead_horn and 13136 dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 13137 COMBINING REVERSED COMMA ABOVE (aka Dasia). 13138 13139 This patch modifies the Greek Compose.pre to match. 13140 13141 It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 13142 posted to 386385@bugs.debian.org: 13143 13144 #!/usr/bin/perl 13145 while (<>) { 13146 print $_; 13147 if (/dead_horn/) { 13148 s/dead_horn/U0313/; 13149 print $_; 13150 } 13151 elsif (/dead_ogonek/) { 13152 s/dead_ogonek/U0314/; 13153 print $_; 13154 } 13155 } 13156 13157commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 13158Author: Magnus Kessler <Magnus.Kessler@gmx.net> 13159Date: Tue May 1 15:20:08 2007 +0200 13160 13161 Switched function definitions from K&R to ANSI style. 13162 13163commit 605d357074d556a05a3fba2e85cbea36a3204248 13164Author: Tilman Sauerbeck <tilman@code-monkey.de> 13165Date: Tue May 1 14:47:03 2007 +0200 13166 13167 Tweaked configure output about the man pages suffix. 13168 13169commit 9824b40d2af4ca2376512c1be7743da0d5065900 13170Author: Alan Coopersmith <alan.coopersmith@sun.com> 13171Date: Sat Apr 28 00:42:18 2007 -0700 13172 13173 Fix typo in nroff macro in XkbAddGeomOverlayKey.man 13174 13175commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 13176Author: Alan Coopersmith <alan.coopersmith@sun.com> 13177Date: Sat Apr 28 00:30:55 2007 -0700 13178 13179 Protect C comments and #defines in XKB man pages from being mangled by cpp 13180 13181commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 13182Author: Alan Coopersmith <alan.coopersmith@sun.com> 13183Date: Sat Apr 28 00:14:50 2007 -0700 13184 13185 Add Makefile to process/install XKB man pages 13186 13187commit d9954c6f6f3a8c406b946acd0d034ff83c656156 13188Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 13189Date: Thu Aug 19 00:00:00 1999 -0700 13190 13191 Add man pages for XKB API's 13192 13193 Man pages originally written for X11R6.4 integration to Solaris 7 11/99 13194 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 13195 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 13196 13197 (Volunteer needed to convert prototypes in man pages to ANSI C style...) 13198 13199commit f640a49b5e2ebf29f9d655df544c63bf826f619a 13200Author: Tilman Sauerbeck <tilman@code-monkey.de> 13201Date: Fri Apr 20 18:39:59 2007 +0200 13202 13203 Markup tweak for XOpenIM. 13204 13205commit e972b0bb255af4f3258217852542faf5afa60b28 13206Author: Julien Cristau <jcristau@debian.org> 13207Date: Fri Apr 20 18:35:09 2007 +0200 13208 13209 Bug #9695: Fixed a few argument types in the XOpenIM manpage. 13210 13211commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 13212Author: Julien Cristau <jcristau@debian.org> 13213Date: Fri Apr 20 18:28:52 2007 +0200 13214 13215 Bug #9697: Fixed documentation of XVisualInfo struct. 13216 13217 The "depth" member was said to be unsigned int, but it's signed. 13218 13219commit 4068f3dae01c630f825002673b1d3a047ad61863 13220Author: Julien Cristau <jcristau@debian.org> 13221Date: Fri Apr 20 16:41:21 2007 +0200 13222 13223 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 13224 13225commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 13226Author: Tilman Sauerbeck <tilman@code-monkey.de> 13227Date: Sat Apr 7 14:42:55 2007 +0200 13228 13229 Use unistd.h to get getresuid() and friends. 13230 13231 This works since we now have _GNU_SOURCE defined. 13232 13233commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 13234Author: Tilman Sauerbeck <tilman@code-monkey.de> 13235Date: Sat Apr 7 14:27:12 2007 +0200 13236 13237 Bug #10562: Define _GNU_SOURCE on glibc systems. 13238 13239commit a225a0be48770beb689d5ac5da97073634f7deab 13240Author: Tilman Sauerbeck <tilman@code-monkey.de> 13241Date: Fri Apr 6 12:46:25 2007 +0200 13242 13243 For nls/*.pre, allow people to comment lines by starting them with '##'. 13244 13245 This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 13246 Fixing that file would have been a larger diff, and using ## may be 13247 nicer to use anyway. 13248 13249commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 13250Author: Tilman Sauerbeck <tilman@code-monkey.de> 13251Date: Fri Apr 6 11:59:31 2007 +0200 13252 13253 Bug #10475: Fixed lots of char*/const char* mixups. 13254 13255 I didn't fix all of them, as that would require touching 13256 public headers. 13257 13258commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 13259Author: Matthias Hopf <mhopf@suse.de> 13260Date: Thu Apr 5 11:53:18 2007 +0200 13261 13262 Fix 64bit issues with reallocation. 13263 13264commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 13265Author: Tilman Sauerbeck <tilman@code-monkey.de> 13266Date: Wed Apr 4 18:41:18 2007 +0200 13267 13268 Fixed a few warnings. 13269 13270commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 13271Author: Matthieu Herrb <matthieu@roadrock.(none)> 13272Date: Tue Apr 3 15:39:52 2007 +0200 13273 13274 Multiple integer overflows in the XGetPixel() and XInitImage functions 13275 13276 CVE-2007-1667 13277 13278commit 0284b144340a455a4b5b5011d81ac5a610372291 13279Author: David Baron <dbaron@dbaron.org> 13280Date: Fri Mar 30 17:07:46 2007 +0200 13281 13282 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 13283 13284 Now only those fields of the respective hint struct are set that 13285 are actually valid in the input data. 13286 The changed functions are: 13287 XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 13288 13289commit 0994faa0c76c45b106442db461b8a30a3e1c9395 13290Author: Tilman Sauerbeck <tilman@code-monkey.de> 13291Date: Thu Mar 29 17:31:25 2007 +0200 13292 13293 Fixed the change from the previous SendEvent commit. 13294 13295 Testing a different patch than the one you commit is bad, right? 13296 13297commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 13298Author: Tilman Sauerbeck <tilman@code-monkey.de> 13299Date: Wed Mar 28 22:23:44 2007 +0200 13300 13301 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 13302 13303commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 13304Author: David Baron <dbaron@dbaron.org> 13305Date: Wed Mar 28 22:21:40 2007 +0200 13306 13307 Bug #7713: Initialize all of the event's fields before sending it. 13308 13309commit bc80f9fe3ccce40ee41246b97470c4f0519756ad 13310Author: Julien Cristau <jcristau@debian.org> 13311Date: Sun Mar 18 13:14:48 2007 +0100 13312 13313 Bug #9279: Fixed a file descriptor leak. 13314 13315commit c9e28e05ae01ce8a29bea09df759b6271865b44c 13316Author: Daniel Stone <daniel@fooishbar.org> 13317Date: Sat Dec 16 00:45:19 2006 +0200 13318 13319 include: don't distribute XlibConf.h 13320 13321 Since XlibConf.h is built by configure, don't distribute it. 13322 13323commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 13324Merge: 129bbb9f 769b9854 13325Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 13326Date: Thu Dec 14 14:23:20 2006 -0600 13327 13328 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 13329 13330commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 13331Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 13332Date: Thu Dec 14 14:21:19 2006 -0600 13333 13334 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 13335 13336commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 13337Author: Daniel Stone <daniel@fooishbar.org> 13338Date: Wed Dec 6 18:53:00 2006 +0200 13339 13340 Makefile.am: make ChangeLog hook safer 13341 13342 Make ChangeLog hook as safe as possible. 13343 (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 13344 13345commit 8a8185a649e93b90ffa820387ffdca831227f5a9 13346Author: Josh Triplett <josh@freedesktop.org> 13347Date: Thu Nov 30 18:33:13 2006 -0800 13348 13349 Add autogen.sh to EXTRA_DIST. 13350 13351commit efe817f95ef8d05e863c83147e903140bc860de4 13352Author: Jamey Sharp <jamey@minilop.net> 13353Date: Thu Nov 30 17:58:35 2006 -0800 13354 13355 Release libX11 1.1.1. 13356 13357commit f637a5b03164263a3af2e644cf655e52b015f1bb 13358Author: Ross Combs <rocombs@cs.nmsu.edu> 13359Date: Sat Nov 25 14:45:17 2006 -0800 13360 13361 Debian bug #354315: Clarify return value in XGetWindowAttributes man page 13362 13363 This man page does not discuss the actual return values of the 13364 function, but says they are of type "Status". One might assume 13365 that this means you could compare it with the "Success" macro. 13366 One would be wrong. 13367 13368 The X functions seem to have two three types representing status. 13369 If it is an "int" there are a number of error codes or "Success" 13370 which can be compared against. If it is a bool, the result can be 13371 compared with "True" or "False". If the return type is "Status" it 13372 appears that the return type is either 0 or 1. Unfortunately the 13373 value for Success is zero, so it is important to distinguish 13374 between the first two types of return values and the third; 13375 otherwise the conditional will be inverted. 13376 13377 XGetWindowAttributes() is one of the functions which returns zero 13378 for failure. The man page should make this clear. 13379 13380commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 13381Author: Jamey Sharp <jamey@minilop.net> 13382Date: Sat Nov 25 14:23:45 2006 -0800 13383 13384 Bug #9154: Always process an event for _XReadEvents, even if an error occurs 13385 13386 Previously, process_responses (in the wait_for_first_event case called 13387 from _XReadEvents) considered any return from xcb_wait_for_event 13388 sufficient to think it had processed an event. If xcb_wait_for_event 13389 returned an error, and no more events occurred before process_responses 13390 called xcb_poll_for_event, process_responses would try to return with 13391 dpy->head NULL, and would fail an assertion for the _XReadEvents 13392 postcondition. Now, process_responses continues using xcb_wait_for_event 13393 until it gets an event. 13394 13395commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 13396Author: Tilman Sauerbeck <tilman@code-monkey.de> 13397Date: Sat Nov 25 05:29:31 2006 -0800 13398 13399 Bug #9153: Fix access to freed memory. 13400 13401 The fix for bug #8622 introduced a smaller bug where _XReply would 13402 read memory shortly after freeing it. This patch caches the needed 13403 value in a stack-allocated variable before the heap-allocated memory 13404 is freed. 13405 13406commit 934ca763bbc0dd7ae460469bfc000ba101602bcc 13407Author: Josh Triplett <josh@freedesktop.org> 13408Date: Fri Nov 24 19:57:58 2006 -0800 13409 13410 libx11 doesn't use inputproto in public headers; don't require it in x11.pc 13411 13412 Based on a Debian patch. 13413 13414commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 13415Author: Josh Triplett <josh@freedesktop.org> 13416Date: Thu Nov 23 07:19:32 2006 -0800 13417 13418 Release libX11 1.1 13419 13420commit a1168e11ec9377307c51a7271faec3bf88a63a66 13421Author: Jamey Sharp <jamey@minilop.net> 13422Date: Tue Nov 21 17:52:34 2006 -0800 13423 13424 Add note in man-page that XListFontsWithInfo is not thread-safe. 13425 13426 _XReply drops the Display lock, so the value of dpy->request may change 13427 before _XReply is called again. 13428 13429 I discovered this by inspection a year or two ago. I'm pretty confident 13430 in the claim, and nobody has come up with an argument for why it's safe 13431 despite appearances. 13432 13433commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 13434Author: Jamey Sharp <jamey@minilop.net> 13435Date: Sat Nov 18 15:39:26 2006 -0800 13436 13437 Bug #8622: Fix response processing order for threaded apps 13438 13439 Previously, process_responses (the common code for _XReply, 13440 _XReadEvents, and _XEventsQueued) took the current request sequence 13441 number as an argument, and did some highly complicated processing to 13442 attempt to process responses in order across threads. This didn't 13443 actually work. 13444 13445 Now, process_responses handles responses in order, by adding condition 13446 variables to the list of outstanding requests in 13447 dpy->xcb->pending_requests, and blocking on them when those requests 13448 should get processed to allow _XReply to process them; if actually 13449 called from _XReply, it returns when _XReply's request should get 13450 processed. _XReply broadcasts on the condition variable after it has 13451 read its reply and re-acquired the display lock. 13452 13453 Another great commit brought to you by Jamey Sharp, Josh Triplett, the 13454 Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 13455 forwarding. 13456 13457 Signed-off-by: Josh Triplett <josh@freedesktop.org> 13458 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13459 13460commit 941f02ede63baa46f93ed8abccebe76fb29c0789 13461Author: Lars Knoll <lars@trolltech.com> 13462Date: Wed Nov 8 12:17:41 2006 -0800 13463 13464 Don't hold the display lock around callbacks to the application. 13465 13466 This fixes an XCB locking assertion failure, particularly with emacs. 13467 13468commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 13469Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 13470Date: Tue Nov 7 09:32:00 2006 -0800 13471 13472 Add xcb-xlib dependency to x11.pc when built against XCB. 13473 13474commit 2302008a3793eb4df8ede777d54fe06505c47eaf 13475Author: Eric Anholt <eric@anholt.net> 13476Date: Mon Nov 6 17:11:42 2006 -0800 13477 13478 XCB: Allocate the right amount of memory for dpy->lock_fns. 13479 13480 Fixes a crash I was experiencing on startup of anything using gdk. 13481 13482commit 5f860655be88108b03ccd97470a0814819254bf0 13483Author: Jamey Sharp <jamey@minilop.net> 13484Date: Thu Nov 2 17:55:31 2006 -0800 13485 13486 Release libX11 1.1 RC2 (1.0.99.2). 13487 13488commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 13489Author: Benno Schulenberg <bensberg@justemail.net> 13490Date: Sun Oct 29 03:10:30 2006 +0300 13491 13492 nls (en_US): remove long compositions that override shorter (bug #2286) 13493 Remove long compositions that override (or get overriden by) later shorter 13494 compositions, e.g. a four-key compose sequence that gets overriden by a 13495 later three-key compose sequence. 13496 13497commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 13498Author: Benno Schulenberg <bensberg@justemail.net> 13499Date: Sun Oct 29 03:08:36 2006 +0300 13500 13501 nls: remove shadowed compose entries (bug #2286) 13502 Remove compose entries shadowed by others later on. 13503 13504commit d118f2b1ef10997194b281524177dea7396da7dd 13505Author: Benno Schulenberg <bensberg@justemail.net> 13506Date: Sun Oct 29 03:07:15 2006 +0300 13507 13508 nls: remove duplicate compose entries (bug #2286) 13509 Remove a bunch of duplicate entries from various Compose files. 13510 13511commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 13512Author: Caolan McNamara <caolanm@redhat.com> 13513Date: Sun Oct 29 02:46:15 2006 +0300 13514 13515 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 13516 Don't leak the name and value of every property we parse, as well as the 13517 name of every colour. 13518 13519commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 13520Author: Matthias Hopf <mhopf@suse.de> 13521Date: Wed Oct 18 14:25:04 2006 +0200 13522 13523 Fix double open of compose file. 13524 13525 Issue found by Kees Cook <kees@canonical.com>. 13526 13527commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 13528Author: Jamey Sharp <jamey@minilop.net> 13529Date: Sat Oct 14 21:25:10 2006 -0700 13530 13531 XCB: check for and handle I/O errors in _XGetXCBBuffer. 13532 13533commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 13534Author: Jamey Sharp <jamey@minilop.net> 13535Date: Wed Oct 11 00:06:50 2006 -0700 13536 13537 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 13538 13539commit 1eedf1bd033e496843cfde42ae4ae5a119298605 13540Author: Jamey Sharp <jamey@minilop.net> 13541Date: Tue Oct 10 23:03:28 2006 -0700 13542 13543 Add correct Display locking to XKB functions. 13544 13545 Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 13546 This patch fixes at least some instances of that problem. 13547 13548 Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 13549 and proposing a fix, which this patch is based on. 13550 13551commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 13552Author: David Nusinow <dnusinow@debian.org> 13553Date: Tue Oct 10 22:11:05 2006 -0400 13554 13555 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 13556 13557commit e53557da969b706dbc843f6fde3db31ffe382e0f 13558Author: Jamey Sharp <jamey@minilop.net> 13559Date: Sat Oct 7 21:00:36 2006 -0700 13560 13561 Release libX11 1.1 RC1 (1.0.99.1). 13562 13563commit bf237409c5fce32c557d298f62f44d456c2b5bc8 13564Merge: ba477191 2d426d1f 13565Author: Jamey Sharp <jamey@minilop.net> 13566Date: Sat Oct 7 21:07:16 2006 -0700 13567 13568 As XCB support is about to be released in libX11, stable is now subsumed by master. 13569 13570commit ba477191c67ce93e61423cc1abe35275704cce50 13571Author: Jamey Sharp <jamey@minilop.net> 13572Date: Sat Oct 7 03:48:13 2006 -0700 13573 13574 XCB: Don't rely on having the definition of struct xcb_setup_t available. 13575 13576commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 13577Author: Jamey Sharp <jamey@minilop.net> 13578Date: Fri Oct 6 16:27:31 2006 -0700 13579 13580 xcb_poll_for_event no longer takes an 'int *error' out-parameter. 13581 13582commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 13583Author: Josh Triplett <josh@freedesktop.org> 13584Date: Fri Oct 6 16:26:11 2006 -0700 13585 13586 Actually ship Xxcbint.h 13587 13588commit 7b027e53b5e393082f4f515c8ba18077eb97163f 13589Author: Josh Triplett <josh@freedesktop.org> 13590Date: Fri Oct 6 16:25:50 2006 -0700 13591 13592 Clean ChangeLog only in "make maintainer-clean", not "make clean" 13593 13594 ChangeLog requires a git repo to generate; make clean and make distclean 13595 shouldn't get rid of it. 13596 13597commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 13598Author: Josh Triplett <josh@freedesktop.org> 13599Date: Fri Oct 6 16:24:58 2006 -0700 13600 13601 Add ChangeLog and "make dist"-generated files to .gitignore 13602 13603commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 13604Author: Josh Triplett <josh@freedesktop.org> 13605Date: Fri Oct 6 15:53:27 2006 -0700 13606 13607 Add manual pages for XGetXCBConnection and XSetEventQueueOwner 13608 13609commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 13610Author: Josh Triplett <josh@freedesktop.org> 13611Date: Fri Oct 6 13:41:16 2006 -0700 13612 13613 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 13614 13615commit ab728ca372288d0db1b486c265e34c1376f29104 13616Author: Josh Triplett <josh@freedesktop.org> 13617Date: Fri Oct 6 12:36:39 2006 -0700 13618 13619 XCL is dead; long live Xlib/XCB 13620 13621 Rename all instances of "XCL" to Xlib/XCB-derived names. 13622 13623 The only user-visible change: rename the include file <X11/xcl.h> to 13624 <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 13625 13626 Remove the XCL cast inlines from Xlib-xcb.h. 13627 13628commit 5b73093203039d307eb7ab3845c3ced207e9e26c 13629Author: Josh Triplett <josh@freedesktop.org> 13630Date: Fri Oct 6 11:33:49 2006 -0700 13631 13632 Add XCB developers to AUTHORS 13633 13634commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 13635Author: Josh Triplett <josh@freedesktop.org> 13636Date: Fri Oct 6 11:21:28 2006 -0700 13637 13638 Fix email addresses in README 13639 13640commit 12f038669278019594ca0ed53dadcf4e84092422 13641Author: Jamey Sharp <jamey@minilop.net> 13642Date: Fri Oct 6 02:13:05 2006 -0700 13643 13644 XCB: Handle all responses in order of monotonically increasing sequence number. 13645 13646commit f392680273278b43079302206897f794e60f3c70 13647Author: Josh Triplett <josh@freedesktop.org> 13648Date: Fri Oct 6 01:11:08 2006 -0700 13649 13650 Actually install x11-xcb.pc, and ship x11-xcb.pc.in 13651 13652commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 13653Author: Jamey Sharp <jamey@minilop.net> 13654Date: Thu Oct 5 18:32:29 2006 -0700 13655 13656 XCB: correctly handle failure to connect to X server. 13657 13658commit e754b3b078d556c7861da56aad47d244e9199e06 13659Author: Josh Triplett <josh@freedesktop.org> 13660Date: Thu Oct 5 17:44:22 2006 -0700 13661 13662 Split public Xlib/XCB functions into libX11-xcb 13663 13664 We can never change the libX11 soname, and we don't want to commit to never 13665 changing the public Xlib/XCB functions, so split them into a separate library 13666 libX11-xcb. This also means that a program linked solely against libX11 13667 should work with either Xlib or Xlib/XCB, which will make life easier for 13668 package maintainers. 13669 13670 Signed-off-by: Josh Triplett <josh@freedesktop.org> 13671 Acked-by: Jamey Sharp <jamey@minilop.net> 13672 13673commit ffd367f708b295abaedf3a23a1bfd4710d171d6f 13674Author: Jamey Sharp <jamey@minilop.net> 13675Date: Wed Oct 4 17:16:46 2006 -0700 13676 13677 No longer #include Xmd from xcl.h: we do not need it. 13678 13679commit 3aff149d42ba8ed620091971b3766bdf96c62aaf 13680Author: Jamey Sharp <jamey@minilop.net> 13681Date: Wed Oct 4 16:58:32 2006 -0700 13682 13683 XCB: Revert locking to simple wrapper around libX11's normal locks. 13684 13685 No more recursive mutexes, no more banging XCB's I/O lock in-place, and 13686 reduces the differences between the previous stable release and an 13687 XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 13688 too, now. I apologize to the world. 13689 13690commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 13691Author: Jamey Sharp <jamey@minilop.net> 13692Date: Mon Sep 25 04:54:52 2006 -0700 13693 13694 Link explicitly against XCB's Xlib compatibility functions. 13695 13696commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 13697Author: Jamey Sharp <jamey@minilop.net> 13698Date: Mon Sep 25 04:13:20 2006 -0700 13699 13700 libxcb now installs header files in <xcb>, not <X11/XCB>. 13701 13702commit 87d00207f5a1f25a45a153618739cd6481814f89 13703Author: Ian Osgood <iano@quirkster.com> 13704Date: Sun Sep 24 23:39:01 2006 -0700 13705 13706 Track XCB's "Great Renaming". 13707 13708commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 13709Author: Jamey Sharp <jamey@minilop.net> 13710Date: Tue Sep 12 23:02:42 2006 -0700 13711 13712 Quit using XCBGetQueuedRequestRead. 13713 13714commit a61936fc4e9bd93b108764bbacd5b8f786e51915 13715Author: Tollef Fog Heen <tfheen@err.no> 13716Date: Wed Aug 30 00:05:54 2006 +0300 13717 13718 nls: use _XlcUtf8Loader for en_US (bug #7982) 13719 Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 13720 every other locale. 13721 13722commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 13723Author: Alan Coopersmith <alan.coopersmith@sun.com> 13724Date: Wed Aug 23 18:49:30 2006 -0700 13725 13726 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 13727 13728 Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 13729 connect on a named pipe, try a Unix socket first, to better support people who 13730 replace their X servers with ones that don't support named pipe transport. 13731 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 13732 13733commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 13734Author: Mark Brown <mark.brown@sun.com> 13735Date: Thu Jul 27 19:17:10 2006 -0700 13736 13737 Sun bug 1149809: Document event delivery when grab is terminated. 13738 13739commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 13740Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 13741Date: Thu Jul 27 18:47:06 2006 -0700 13742 13743 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 13744 13745 Document that 32-bit format properties are always returned in arrays of type 13746 long, even on systems where long is 64-bits. 13747 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 13748 13749commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 13750Author: Alan Coopersmith <alan.coopersmith@sun.com> 13751Date: Mon Jul 24 15:52:00 2006 -0700 13752 13753 Add support for "make lint" to check code with lint/sparse/etc. 13754 13755commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 13756Author: Alan Coopersmith <alan.coopersmith@sun.com> 13757Date: Mon Jul 24 15:50:52 2006 -0700 13758 13759 ANSIfy some static function definitions 13760 13761commit 20b7abcaac324d90454de63f32f4a2b398e69e63 13762Author: Alan Coopersmith <alan.coopersmith@sun.com> 13763Date: Mon Jul 24 15:01:40 2006 -0700 13764 13765 Fix sparse warning: Using plain integer as NULL pointer 13766 13767commit d158ab29930513c4097f5b67e7bea08ed2bfd62c 13768Author: Alan Coopersmith <alan.coopersmith@sun.com> 13769Date: Mon Jul 24 14:00:24 2006 -0700 13770 13771 Remove unused variable 13772 13773commit 30377000375bdb958042dcb1f38503c94ef21eaf 13774Author: Eric Anholt <anholt@FreeBSD.org> 13775Date: Fri Jul 21 18:55:36 2006 -0400 13776 13777 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 13778 13779commit 4eba45879aea4e415ab550ee56b900d060099110 13780Author: Matthieu Herrb <matthieu.herrb@laas.fr> 13781Date: Sun Jul 16 10:55:39 2006 +0200 13782 13783 set GIT_DIR=${srcdir}/.git for git-log 13784 13785commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 13786Author: Aaron Plattner <aplattner@nvidia.com> 13787Date: Tue Jul 11 13:27:49 2006 -0700 13788 13789 Add a .PHONY to ensure the ChangeLog isn't stale. 13790 13791 Setting the ChangeLog rule as phony forces it to be re-run even when the 13792 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 13793 Solaris make. 13794 (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 13795 13796commit b8a98809ed81e1226775e6447ef219ffc01334b5 13797Author: Aaron Plattner <aplattner@nvidia.com> 13798Date: Tue Jul 11 13:27:49 2006 -0700 13799 13800 Add a .PHONY to ensure the ChangeLog isn't stale. 13801 13802 Setting the ChangeLog rule as phony forces it to be re-run even when the 13803 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 13804 Solaris make. 13805 13806commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 13807Author: Mayank Jain <majain@redhat.com> 13808Date: Tue Jul 11 19:42:47 2006 +0100 13809 13810 add Indian language locales 13811 Add as, kn, ml, or, ur, and te locales. 13812 13813commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 13814Author: Matthias Hopf <mhopf@suse.de> 13815Date: Tue Jul 4 12:16:30 2006 +0200 13816 13817 Fix for autoconf 2.60 issue. 13818 13819 Updated AC_DEFINE_DIR. 13820 Reverted datarootdir change. 13821 13822commit 644f4828b15bce42b597eb123ba0bbc372c46c03 13823Author: Keith Packard <keithp@neko.keithp.com> 13824Date: Sat Jul 1 21:31:23 2006 -0700 13825 13826 Work around recent autoconf (2.59?) changes in directory expansion. 13827 13828 Recent autoconf versions have changed how directory names are managed in the 13829 configure.ac script; automatic 'eval' invocations now occur as a part of the 13830 AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 13831 before the variables are used in further macro definitions. Also, ${datadir} 13832 is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 13833 expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 13834 is easy to work around by just using ${datarootdir} instead of ${datadir}. 13835 13836commit be70a31229aa106aff0a09d78c00812682cd3475 13837Author: Keith Packard <keithp@neko.keithp.com> 13838Date: Sat Jul 1 01:56:05 2006 -0700 13839 13840 Xlib/XCB: handle 32-bit sequence wrap. 13841 13842 Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 13843 XCB). 13844 Account for XCB sequence 0 handling. 13845 13846commit 99c711707ad08e1396e123b1c7df687c560a489a 13847Author: Donnie Berkholz <spyderous@gentoo.org> 13848Date: Thu Jun 29 19:43:20 2006 -0700 13849 13850 Bump version to 1.0.3. 13851 13852commit cde3c0dd72af2b490e80cffca962e3487dd31be4 13853Author: Donnie Berkholz <spyderous@gentoo.org> 13854Date: Thu Jun 29 19:39:36 2006 -0700 13855 13856 Bug #7349: Missed one of the setuid fixes. 13857 (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 13858 13859commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 13860Author: Matthias Hopf <mhopf@suse.de> 13861Date: Thu Jun 29 18:59:57 2006 +0200 13862 13863 Update to final Compose cache directory location. 13864 (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 13865 13866commit 912ef198292d3053daa810f842510e5d62ded0f0 13867Author: Matthias Hopf <mhopf@suse.de> 13868Date: Thu Jun 29 17:41:41 2006 +0200 13869 13870 Fix alignment of trees and wide chars in the cache. 13871 (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 13872 13873commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 13874Author: Matthias Hopf <mhopf@suse.de> 13875Date: Wed Jun 28 19:17:03 2006 +0200 13876 13877 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 13878 (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 13879 13880commit e9614c963b532f46a7932c2305a4b177a996a222 13881Author: Donnie Berkholz <spyderous@gentoo.org> 13882Date: Thu Jun 29 19:39:36 2006 -0700 13883 13884 Bug #7349: Missed one of the setuid fixes. 13885 13886commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 13887Author: Matthias Hopf <mhopf@suse.de> 13888Date: Thu Jun 29 18:59:57 2006 +0200 13889 13890 Update to final Compose cache directory location. 13891 13892commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 13893Author: Matthias Hopf <mhopf@suse.de> 13894Date: Thu Jun 29 17:41:41 2006 +0200 13895 13896 Fix alignment of trees and wide chars in the cache. 13897 13898commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 13899Author: Matthias Hopf <mhopf@suse.de> 13900Date: Wed Jun 28 19:17:03 2006 +0200 13901 13902 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 13903 13904commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 13905Author: Donnie Berkholz <spyderous@gentoo.org> 13906Date: Thu Jun 22 23:59:03 2006 -0700 13907 13908 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 13909 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 13910 ChangeLog. 13911 (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 13912 13913commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 13914Author: Donnie Berkholz <donnie@comet.(none)> 13915Date: Thu Jun 22 23:47:38 2006 -0700 13916 13917 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 13918 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 13919 ChangeLog. 13920 13921commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 13922Author: Donnie Berkholz <donnie@comet.(none)> 13923Date: Thu Jun 22 15:47:38 2006 -0700 13924 13925 Bump version to 1.0.2. 13926 13927commit c93539d974a67f596a5eb5b65042d26602546c72 13928Author: Matthieu Herrb <matthieu@deville.herrb.com> 13929Date: Tue Jun 20 21:04:03 2006 +0200 13930 13931 Check setuid() return value. 13932 (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 13933 13934commit 605533f814ab7892991578706a6458f61a89ca4d 13935Author: Derek Wang <derek.wang@sun.com> 13936Date: Mon Jun 19 11:05:37 2006 -0700 13937 13938 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 13939 (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 13940 13941commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 13942Author: Scott Revelt <scott.revelt@sun.com> 13943Date: Fri Jun 16 19:11:13 2006 -0700 13944 13945 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 13946 based on locale that doesn't match those used in the Xcms.txt 13947 (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 13948 13949commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 13950Author: Alan Coopersmith <alanc@alf.(none)> 13951Date: Fri Jun 16 18:53:33 2006 -0700 13952 13953 Add *~ to ignore emacs droppings 13954 (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 13955 13956commit 214658b76b56768f69c3959a11525aae7813f448 13957Author: Matthias Hopf <mhopf@suse.de> 13958Date: Fri Jun 16 15:36:40 2006 +0200 13959 13960 Bug #3104: Compose table cache for faster X11 application starts. 13961 (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 13962 13963commit 13968a23aaea838ba4b69e42e8900f803499e091 13964Author: Matthias Hopf <mhopf@suse.de> 13965Date: Tue Jun 13 20:23:46 2006 +0200 13966 13967 Bug #3104: Compose table cache for faster X11 application starts. 13968 (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 13969 13970commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 13971Author: Lubos Lunak <llunak@suse.de> 13972Date: Mon Jun 12 18:48:08 2006 +0200 13973 13974 Bug #3104: Compose table cache for faster X11 application starts. 13975 (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 13976 13977commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 13978Author: Matthias Hopf <mhopf@suse.de> 13979Date: Fri Jun 9 18:24:02 2006 +0200 13980 13981 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. 13982 (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 13983 13984commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 13985Author: Jamey Sharp <jamey@minilop.net> 13986Date: Wed Jun 7 20:29:05 2006 -0700 13987 13988 Fix bug #7035: unnecessary memmove in XOpenDisplay. 13989 Using memmove on the connection setup data causes a problem for XCB, but making 13990 Xlib stop doing that should be harmless for non-XCB as well. 13991 (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 13992 13993commit cd7328c46ae72903ed02832828891b2dab4d5ee0 13994Author: Daniel Stone <daniels@preemptive.fooishbar.org> 13995Date: Sat Jun 3 13:51:51 2006 +0300 13996 13997 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 13998 (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 13999 14000commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 14001Merge: 33556ca8 ad9ebbd2 14002Author: Donnie Berkholz <donnie@comet.(none)> 14003Date: Thu Jun 22 14:25:35 2006 -0700 14004 14005 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 14006 14007commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 14008Author: Daniel Stone <daniel@fooishbar.org> 14009Date: Thu Jun 22 17:20:59 2006 +0300 14010 14011 Bump to 1.0.99.0 to avoid confusion. 14012 14013commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 14014Merge: e3acee88 4b8eb5d4 14015Author: Daniel Stone <daniel@fooishbar.org> 14016Date: Thu Jun 22 16:53:45 2006 +0300 14017 14018 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 14019 14020commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 14021Merge: 5169d0e0 eff50c94 14022Author: Matthieu Herrb <matthieu@deville.herrb.com> 14023Date: Tue Jun 20 21:05:15 2006 +0200 14024 14025 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 14026 14027commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 14028Author: Matthieu Herrb <matthieu@deville.herrb.com> 14029Date: Tue Jun 20 21:04:03 2006 +0200 14030 14031 Check setuid() return value. 14032 14033commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 14034Author: Derek Wang <derek.wang@sun.com> 14035Date: Mon Jun 19 11:05:37 2006 -0700 14036 14037 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 14038 14039commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 14040Author: Scott Revelt <scott.revelt@sun.com> 14041Date: Fri Jun 16 19:11:13 2006 -0700 14042 14043 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 14044 based on locale that doesn't match those used in the Xcms.txt 14045 14046commit c33d7b8282ac196b36229be26442296768c16f3e 14047Author: Alan Coopersmith <alanc@alf.(none)> 14048Date: Fri Jun 16 18:53:33 2006 -0700 14049 14050 Add *~ to ignore emacs droppings 14051 14052commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 14053Author: Matthias Hopf <mhopf@suse.de> 14054Date: Fri Jun 16 15:36:40 2006 +0200 14055 14056 Bug #3104: Compose table cache for faster X11 application starts. 14057 14058commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 14059Author: Matthias Hopf <mhopf@suse.de> 14060Date: Tue Jun 13 20:23:46 2006 +0200 14061 14062 Bug #3104: Compose table cache for faster X11 application starts. 14063 14064commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 14065Author: Lubos Lunak <llunak@suse.de> 14066Date: Mon Jun 12 18:48:08 2006 +0200 14067 14068 Bug #3104: Compose table cache for faster X11 application starts. 14069 14070commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 14071Author: Matthias Hopf <mhopf@suse.de> 14072Date: Fri Jun 9 18:24:02 2006 +0200 14073 14074 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. 14075 14076commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 14077Author: Jamey Sharp <jamey@minilop.net> 14078Date: Wed Jun 7 20:29:05 2006 -0700 14079 14080 Fix bug #7035: unnecessary memmove in XOpenDisplay. 14081 Using memmove on the connection setup data causes a problem for XCB, but making 14082 Xlib stop doing that should be harmless for non-XCB as well. 14083 14084commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 14085Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14086Date: Sat Jun 3 12:57:55 2006 +0300 14087 14088 Bug #2186: Add cs_CZ.iso8859-2 alias. 14089 14090commit 9e7765e0b1cbaae6643072d91066ba1201b36227 14091Author: Daniel Stone <daniel@fooishbar.org> 14092Date: Fri Jun 2 02:46:29 2006 +0300 14093 14094 nls: Serbian (sr_CS) update (#5575) 14095 14096 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 14097 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 14098 and locale.dir.pre. (Milos Komarcevic) 14099 14100commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 14101Author: Daniel Stone <daniel@fooishbar.org> 14102Date: Fri Jun 2 02:24:25 2006 +0300 14103 14104 im: add Braille input method (#6296) 14105 14106 Bug #6296: Add a Braille input method. (Samuel Thibault) 14107 14108commit 90de1e2e141ec591048a76cb695579ef809a28d3 14109Author: Daniel Stone <daniel@fooishbar.org> 14110Date: Fri Jun 2 02:22:17 2006 +0300 14111 14112 xkb support: small typo 14113 14114commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 14115Author: Daniel Stone <daniel@fooishbar.org> 14116Date: Fri Jun 2 01:50:24 2006 +0300 14117 14118 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 14119 14120 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 14121 adding Unicode character names, removing duplicate entries, et al. 14122 14123commit 0c6473dd329c7334ae511884bcb6e73e632c784f 14124Author: Daniel Stone <daniel@fooishbar.org> 14125Date: Fri Jun 2 01:44:53 2006 +0300 14126 14127 nls: fix use of non-keysym dead_space (#5107) 14128 14129 Bug #5107: Change users of dead_space to space. 14130 14131commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 14132Author: Daniel Stone <daniel@fooishbar.org> 14133Date: Fri Jun 2 01:41:18 2006 +0300 14134 14135 optional XKB support fix 14136 14137 Fix compilation with --disable-xkb. 14138 14139commit 217d43ed44ced901122093af3ef1294e1736bb77 14140Author: Daniel Stone <daniel@fooishbar.org> 14141Date: Fri Jun 2 01:39:12 2006 +0300 14142 14143 i18n: separate data and lib directories 14144 14145 Break out locale data into separate data and library directories, under 14146 $(datadir) and $(libdir), respectively, by default. 14147 14148commit 92fa7fcde8df22830fca7c0275ab201033f7909c 14149Author: Adam Jackson <ajax@benzedrine.nwnk.net> 14150Date: Thu May 11 14:04:48 2006 -0400 14151 14152 libXcursor.so.1, not libXcursor.so 14153 14154commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 14155Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14156Date: Wed May 10 18:06:03 2006 +0300 14157 14158 XKBMisc.c: use Xfree, not xfree 14159 14160 Use Xfree() instead of xfree() when freeing interps. 14161 14162commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 14163Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14164Date: Wed May 10 14:51:37 2006 +0300 14165 14166 locale.alias.pre: bg_BG typo fix 14167 14168 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 14169 14170commit cc533db60cb64dc163c66451933a9bf77c519062 14171Author: Daniel Stone <daniels@endtroducing.localdomain> 14172Date: Sun Apr 9 22:22:03 2006 +0300 14173 14174 Coverity #203, #204: Fix potential NULL dereferences. 14175 14176commit b83adf7dfd6157694fe4f232012fef36cd9666da 14177Author: Daniel Stone <daniels@endtroducing.localdomain> 14178Date: Sun Apr 9 22:20:25 2006 +0300 14179 14180 Coverity #205: Fix potential NULL dereference. 14181 14182commit 2d0cd10ad907864d0136739eaac459779c9a5332 14183Author: Daniel Stone <daniels@endtroducing.localdomain> 14184Date: Sun Apr 9 22:18:20 2006 +0300 14185 14186 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 14187 14188commit dc2f3966068d66a564aa452cab9f0c26657fa1df 14189Author: Daniel Stone <daniels@preemptive.research.nokia.com> 14190Date: Fri Apr 7 18:11:52 2006 +0300 14191 14192 Coverity #826: Fix potential memory leak. 14193 14194commit 23df609ec451a01c77e8f31ecc85c5af7c62efed 14195Author: Daniel Stone <daniels@preemptive.research.nokia.com> 14196Date: Fri Apr 7 17:49:41 2006 +0300 14197 14198 Bug #1625: Include keysym.h from Xutil.h. 14199 14200commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 14201Author: Eric Anholt <anholt@leguin.anholt.net> 14202Date: Wed Apr 5 17:12:15 2006 -0700 14203 14204 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 14205 14206 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 14207 of Coverity #599, #600. 14208 14209commit 8b42635f577468bb143ca593cdd9fb3450ad712c 14210Author: Eric Anholt <anholt@leguin.anholt.net> 14211Date: Wed Apr 5 16:42:26 2006 -0700 14212 14213 Coverity #558: Free newly-allocated Database in error path. 14214 14215commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 14216Author: Eric Anholt <anholt@leguin.anholt.net> 14217Date: Wed Apr 5 16:38:52 2006 -0700 14218 14219 Coverity #582: Free newly-allocated region in error path. 14220 14221commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 14222Author: Daniel Stone <daniels@preemptive.research.nokia.com> 14223Date: Fri Mar 17 15:58:39 2006 +0200 14224 14225 Properly clip bounds when only one point is defining an outline. 14226 14227commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 14228Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 14229Date: Sat Mar 11 15:39:15 2006 +0100 14230 14231 Fix prototype of XConfigureWindow(). Bugzilla #6023. 14232 14233commit 1da8bd904f1fc79d63d368473531b438d08bfe37 14234Author: Jeremy C. Reed <reed@reedmedia.net> 14235Date: Tue Feb 21 14:10:22 2006 -0800 14236 14237 Set XTHREADLIB correctly for dragonfly platforms. 14238 14239commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 14240Author: Jamey Sharp <jamey@minilop.net> 14241Date: Sun Feb 19 12:29:27 2006 -0800 14242 14243 Update .gitignores for *.o and nls/locale.dir*. 14244 14245commit efcbde6ba0b770bb0d4c7818e307712161011f10 14246Author: Jamey Sharp <jamey@minilop.net> 14247Date: Sun Feb 19 12:28:41 2006 -0800 14248 14249 Move .cvsignore to .gitignore. 14250 14251commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 14252Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14253Date: Sat Jun 3 13:51:51 2006 +0300 14254 14255 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 14256 14257commit f1bd3152359ddfadd0d043006036c239f3e2907b 14258Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14259Date: Sat Jun 3 12:57:55 2006 +0300 14260 14261 Bug #2186: Add cs_CZ.iso8859-2 alias. 14262 14263commit 2b1b79d90db1d7f0472718b8c010c36275994195 14264Author: Daniel Stone <daniel@fooishbar.org> 14265Date: Fri Jun 2 02:46:29 2006 +0300 14266 14267 nls: Serbian (sr_CS) update (#5575) 14268 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 14269 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 14270 and locale.dir.pre. (Milos Komarcevic) 14271 14272commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 14273Author: Daniel Stone <daniel@fooishbar.org> 14274Date: Fri Jun 2 02:24:25 2006 +0300 14275 14276 im: add Braille input method (#6296) 14277 Bug #6296: Add a Braille input method. (Samuel Thibault) 14278 14279commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 14280Author: Daniel Stone <daniel@fooishbar.org> 14281Date: Fri Jun 2 02:22:17 2006 +0300 14282 14283 xkb support: small typo 14284 14285commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 14286Author: Daniel Stone <daniel@fooishbar.org> 14287Date: Fri Jun 2 01:50:24 2006 +0300 14288 14289 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 14290 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 14291 adding Unicode character names, removing duplicate entries, et al. 14292 14293commit 332d45fce9fdbf59168d90a133af1f580a589e54 14294Author: Daniel Stone <daniel@fooishbar.org> 14295Date: Fri Jun 2 01:44:53 2006 +0300 14296 14297 nls: fix use of non-keysym dead_space (#5107) 14298 Bug #5107: Change users of dead_space to space. 14299 14300commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 14301Author: Daniel Stone <daniel@fooishbar.org> 14302Date: Fri Jun 2 01:41:18 2006 +0300 14303 14304 optional XKB support fix 14305 Fix compilation with --disable-xkb. 14306 14307commit c5940a0b85edec4003f91a59fc3c44f538accfe1 14308Author: Daniel Stone <daniel@fooishbar.org> 14309Date: Fri Jun 2 01:39:12 2006 +0300 14310 14311 i18n: separate data and lib directories 14312 Break out locale data into separate data and library directories, under 14313 $(datadir) and $(libdir), respectively, by default. 14314 14315commit 33556ca81db2419b9d2a37664c4cea2069414b37 14316Author: Adam Jackson <ajax@benzedrine.nwnk.net> 14317Date: Fri May 12 14:49:17 2006 -0400 14318 14319 Bump to 1.0.1 14320 14321commit 80d88557626fae9debc404de33d7fb5d69a6049d 14322Author: Adam Jackson <ajax@benzedrine.nwnk.net> 14323Date: Thu May 11 14:06:28 2006 -0400 14324 14325 libXcursor.so.1, not libXcursor.so 14326 14327commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 14328Author: Adam Jackson <ajax@benzedrine.nwnk.net> 14329Date: Thu May 11 14:04:48 2006 -0400 14330 14331 libXcursor.so.1, not libXcursor.so 14332 14333commit 01f4d433eed6b70c6e9636157acac022054fdeb6 14334Author: Jamey Sharp <jamey@minilop.net> 14335Date: Wed May 10 17:02:52 2006 -0700 14336 14337 Count any partial request towards the current Xlib sequence number. 14338 14339commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 14340Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14341Date: Wed May 10 18:06:03 2006 +0300 14342 14343 XKBMisc.c: use Xfree, not xfree 14344 Use Xfree() instead of xfree() when freeing interps. 14345 14346commit 22a5255b80b80772612279bc840a953edd0e3442 14347Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14348Date: Wed May 10 14:51:37 2006 +0300 14349 14350 locale.alias.pre: bg_BG typo fix 14351 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 14352 14353commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 14354Merge: 19b8840a e514bc87 14355Author: Daniel Stone <daniels@preemptive.fooishbar.org> 14356Date: Wed May 10 14:50:37 2006 +0300 14357 14358 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 14359 14360commit e514bc875f27f4bf197b06b8315eeca526195915 14361Author: Jamey Sharp <jamey@minilop.net> 14362Date: Tue May 9 12:41:59 2006 -0700 14363 14364 Assert that dpy->request does not go backwards. Catches #5839 earlier. 14365 14366commit fc1159137365a599bf611ee001f439416952c4e0 14367Author: Jamey Sharp <jamey@minilop.net> 14368Date: Sun May 7 17:40:01 2006 -0700 14369 14370 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 14371 14372commit c394480a4247213239822808e3f6e7c6cd6decd9 14373Author: Jamey Sharp <jamey@minilop.net> 14374Date: Sun May 7 16:58:13 2006 -0700 14375 14376 Update for XCB ConnSetupSuccessRep name change. 14377 14378commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 14379Author: Daniel Stone <daniels@endtroducing.localdomain> 14380Date: Sun Apr 9 22:22:03 2006 +0300 14381 14382 Coverity #203, #204: Fix potential NULL dereferences. 14383 14384commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 14385Author: Daniel Stone <daniels@endtroducing.localdomain> 14386Date: Sun Apr 9 22:20:25 2006 +0300 14387 14388 Coverity #205: Fix potential NULL dereference. 14389 14390commit b6771501feea98d037032f82117b6d4f15779f07 14391Author: Daniel Stone <daniels@endtroducing.localdomain> 14392Date: Sun Apr 9 22:18:20 2006 +0300 14393 14394 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 14395 14396commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 14397Author: Daniel Stone <daniels@preemptive.research.nokia.com> 14398Date: Fri Apr 7 18:11:52 2006 +0300 14399 14400 Coverity #826: Fix potential memory leak. 14401 14402commit 3a16f262abe48b44ed641525e894bc22e13bf72a 14403Author: Daniel Stone <daniels@preemptive.research.nokia.com> 14404Date: Fri Apr 7 17:49:41 2006 +0300 14405 14406 Bug #1625: Include keysym.h from Xutil.h. 14407 14408commit 2481b767ae96e2f2503c0390545932c8397b090f 14409Author: Eric Anholt <anholt@leguin.anholt.net> 14410Date: Wed Apr 5 17:12:15 2006 -0700 14411 14412 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 14413 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 14414 of Coverity #599, #600. 14415 14416commit 152b17e47d878c2d928eb74581aa69d925a29123 14417Author: Eric Anholt <anholt@leguin.anholt.net> 14418Date: Wed Apr 5 16:42:26 2006 -0700 14419 14420 Coverity #558: Free newly-allocated Database in error path. 14421 14422commit bc62b99ef36edb34035911c42104be7f6f9d2333 14423Author: Eric Anholt <anholt@leguin.anholt.net> 14424Date: Wed Apr 5 16:38:52 2006 -0700 14425 14426 Coverity #582: Free newly-allocated region in error path. 14427 14428commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 14429Author: Jamey Sharp <jamey@minilop.net> 14430Date: Fri Mar 31 22:53:07 2006 -0800 14431 14432 Fix buggy interaction with XCB when running out of XIDs. 14433 14434commit e3f452571824d6a875bbf582946de185de9e01e9 14435Author: Jamey Sharp <jamey@minilop.net> 14436Date: Fri Mar 31 22:52:14 2006 -0800 14437 14438 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 14439 14440commit 2363b74ca795c1b3a73c9e572532ba5191adec5b 14441Author: Daniel Stone <daniels@preemptive.research.nokia.com> 14442Date: Fri Mar 17 15:58:39 2006 +0200 14443 14444 Properly clip bounds when only one point is defining an outline. 14445 14446commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 14447Merge: be266b20 f71ea0bc 14448Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 14449Date: Sat Mar 11 15:40:35 2006 +0100 14450 14451 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 14452 14453commit be266b201dc13530a302a7572283ccd3f32aad87 14454Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 14455Date: Sat Mar 11 15:39:15 2006 +0100 14456 14457 Fix prototype of XConfigureWindow(). Bugzilla #6023. 14458 14459commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 14460Author: Jamey Sharp <jamey@minilop.net> 14461Date: Fri Mar 3 11:08:41 2006 -0800 14462 14463 Update for XCBSendRequest sequence number API changes. 14464 14465commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 14466Author: Jamey Sharp <jamey@minilop.net> 14467Date: Fri Mar 3 01:42:49 2006 -0800 14468 14469 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 14470 14471commit d8ba4ae7045b227f8b675628b9094dded02f1c08 14472Author: Jamey Sharp <jamey@minilop.net> 14473Date: Thu Mar 2 23:43:26 2006 -0800 14474 14475 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 14476 14477commit f9afb5a54435c30961306080e9358d4240ecb844 14478Author: Jamey Sharp <jamey@minilop.net> 14479Date: Thu Mar 2 23:34:19 2006 -0800 14480 14481 assert() that we will not infinite loop or read uninitialized memory. 14482 14483commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 14484Author: Jamey Sharp <jamey@minilop.net> 14485Date: Thu Mar 2 15:58:52 2006 -0800 14486 14487 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 14488 14489commit fb590c15a740264ee867d15a2547072e43b21eed 14490Author: Jamey Sharp <jamey@minilop.net> 14491Date: Thu Mar 2 12:06:04 2006 -0800 14492 14493 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 14494 14495commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 14496Author: Jamey Sharp <jamey@minilop.net> 14497Date: Mon Feb 27 11:51:47 2006 -0800 14498 14499 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 14500 14501commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 14502Author: Jamey Sharp <jamey@minilop.net> 14503Date: Sun Feb 26 15:46:01 2006 -0800 14504 14505 Update for new XCBSendRequest API. 14506 14507commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 14508Author: Jamey Sharp <jamey@minilop.net> 14509Date: Thu Feb 23 18:12:31 2006 -0800 14510 14511 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 14512 14513commit ec30a27341b97620b07dd886f98d1d7664a67685 14514Author: Jamey Sharp <jamey@minilop.net> 14515Date: Thu Feb 23 18:01:46 2006 -0800 14516 14517 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 14518 14519commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 14520Author: Jamey Sharp <jamey@minilop.net> 14521Date: Thu Feb 23 11:46:09 2006 -0800 14522 14523 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. 14524 14525commit 41c0121a8718b530feaf7fe315b673d9b8defce2 14526Author: Jamey Sharp <jamey@minilop.net> 14527Date: Tue Feb 21 21:25:41 2006 -0800 14528 14529 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 14530 14531commit 67d06e0fe468dca22847aa14d3f917128f89f9cf 14532Author: Jamey Sharp <jamey@minilop.net> 14533Date: Tue Feb 21 15:33:05 2006 -0800 14534 14535 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 14536 14537commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 14538Author: Jeremy C. Reed <reed@reedmedia.net> 14539Date: Tue Feb 21 14:10:22 2006 -0800 14540 14541 Set XTHREADLIB correctly for dragonfly platforms. 14542 14543commit b24834762e975bd319f9ab5c7cf790b2a02a9474 14544Author: Jamey Sharp <jamey@minilop.net> 14545Date: Tue Feb 21 14:03:26 2006 -0800 14546 14547 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 14548 14549commit 99b8defd0d5e6993071e21638128c9de2574b37d 14550Author: Jamey Sharp <jamey@minilop.net> 14551Date: Tue Feb 21 13:04:21 2006 -0800 14552 14553 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 14554 Traditional Xlib worked this way; I dunno why I changed it. 14555 14556commit 9b01e7849775749182052fe324df9d8e6ceeee99 14557Author: Jamey Sharp <jamey@minilop.net> 14558Date: Tue Feb 21 12:51:44 2006 -0800 14559 14560 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 14561 14562commit 7ce7ac882de128955751a5307889db9d712d8a72 14563Author: Jamey Sharp <jamey@minilop.net> 14564Date: Tue Feb 21 12:44:30 2006 -0800 14565 14566 Quit using a triple-pointer. Almost as if I were a sensible person. 14567 14568commit 35a858be218cdbfa4593d44a67663d5c25297016 14569Author: Jamey Sharp <jamey@minilop.net> 14570Date: Tue Feb 21 12:21:01 2006 -0800 14571 14572 Remove the XCL_PAD macro. 14573 14574commit e741b70ed2542c5463c57dac44bc37328616733b 14575Author: Jamey Sharp <jamey@minilop.net> 14576Date: Sun Feb 19 12:29:27 2006 -0800 14577 14578 Update .gitignores for *.o and nls/locale.dir*. 14579 14580commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 14581Author: Jamey Sharp <jamey@minilop.net> 14582Date: Sun Feb 19 12:28:41 2006 -0800 14583 14584 Move .cvsignore to .gitignore. 14585 14586commit c7cda56eebaf6ab11403363be14d4948d7d8be38 14587Author: Jamey Sharp <jamey@minilop.net> 14588Date: Sun Feb 19 11:49:15 2006 -0800 14589 14590 Land XCB support on X.org HEAD. 14591 14592commit 881467b3032261791ef5ec61b3879bb68d0a3d8c 14593Author: Jamey Sharp <jamey@minilop.net> 14594Date: Sun Feb 19 02:14:11 2006 +0000 14595 14596 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 14597 14598commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 14599Author: Jamey Sharp <jamey@minilop.net> 14600Date: Tue Feb 14 19:37:36 2006 +0000 14601 14602 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. 14603 14604commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 14605Author: Alan Coopersmith <alan.coopersmith@sun.com> 14606Date: Sun Feb 12 18:19:17 2006 +0000 14607 14608 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 14609 14610commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 14611Author: Alan Coopersmith <alan.coopersmith@sun.com> 14612Date: Fri Feb 3 23:34:43 2006 +0000 14613 14614 Fix typo in .TH line 14615 14616commit b091c217f3c3f60dde78b09a95c150df6c83d7ba 14617Author: Kevin E Martin <kem@kem.org> 14618Date: Thu Dec 15 00:24:28 2005 +0000 14619 14620 Update package version number for final X11R7 release candidate. 14621 14622commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 14623Author: Kevin E Martin <kem@kem.org> 14624Date: Tue Dec 6 22:48:41 2005 +0000 14625 14626 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 14627 14628commit b5c495854d5270e64e6d588388ffa906bfcaac22 14629Author: Kevin E Martin <kem@kem.org> 14630Date: Sat Dec 3 05:49:42 2005 +0000 14631 14632 Update package version number for X11R7 RC3 release. 14633 14634commit 9e96dbc343c7f27ff47607acd75378ab23903e2a 14635Author: Kevin E Martin <kem@kem.org> 14636Date: Sat Dec 3 04:41:47 2005 +0000 14637 14638 Add check and cflags for malloc(0) returning NULL. 14639 14640commit 649c37b47909620ccafde3e983de8321cddd74ce 14641Author: Alan Coopersmith <alan.coopersmith@sun.com> 14642Date: Mon Nov 28 22:03:04 2005 +0000 14643 14644 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) 14645 14646commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 14647Author: Alan Coopersmith <alan.coopersmith@sun.com> 14648Date: Wed Nov 23 22:33:06 2005 +0000 14649 14650 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 14651 14652commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 14653Author: Eric Anholt <anholt@freebsd.org> 14654Date: Sun Nov 20 23:17:39 2005 +0000 14655 14656 Add/improve libs .cvsignores. 14657 14658commit fa1f4a08112bfa14d3758f4702733dd3892966c3 14659Author: Kevin E Martin <kem@kem.org> 14660Date: Sat Nov 19 07:15:39 2005 +0000 14661 14662 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 14663 14664commit 7012f9b56c594cf40855ba0dbf93af1263417a8c 14665Author: Kevin E Martin <kem@kem.org> 14666Date: Mon Nov 14 21:51:07 2005 +0000 14667 14668 Fix xf86bigfont pkgconfig dep typo. 14669 14670commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 14671Author: Kevin E Martin <kem@kem.org> 14672Date: Wed Nov 9 21:19:12 2005 +0000 14673 14674 Update package version number for X11R7 RC2 release. 14675 14676commit 6bb0c3796b6e1beddc376a896e865704886e1462 14677Author: Kean Johnson <kean@armory.com> 14678Date: Tue Nov 8 06:33:25 2005 +0000 14679 14680 See ChangeLog entry 2005-11-07 for details. 14681 14682commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 14683Author: Kevin E Martin <kem@kem.org> 14684Date: Tue Nov 1 15:11:50 2005 +0000 14685 14686 Update pkgcheck dependencies to work with separate build roots. 14687 14688commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 14689Author: Donnie Berkholz <spyderous@gentoo.org> 14690Date: Fri Oct 28 10:44:03 2005 +0000 14691 14692 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 14693 14694commit be627a39fe373e2e81fdc263780e70a271d9e0c5 14695Author: Donnie Berkholz <spyderous@gentoo.org> 14696Date: Fri Oct 28 08:28:08 2005 +0000 14697 14698 Add dependency on inputproto for XI.h. 14699 14700commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 14701Author: Adam Jackson <ajax@nwnk.net> 14702Date: Fri Oct 21 18:44:24 2005 +0000 14703 14704 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 14705 14706commit 1171fa9dc77413f0e90933a565ec07068052afb4 14707Author: Kevin E Martin <kem@kem.org> 14708Date: Wed Oct 19 02:48:08 2005 +0000 14709 14710 Update package version number for RC1 release. 14711 14712commit 2a2d905706308b9d5a1c16af1067fb390f43850c 14713Author: Alan Coopersmith <alan.coopersmith@sun.com> 14714Date: Tue Oct 18 00:00:08 2005 +0000 14715 14716 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 14717 14718commit 66d35b6971fb26762392a2a8e2c47db46c11116a 14719Author: Alan Coopersmith <alan.coopersmith@sun.com> 14720Date: Mon Oct 17 21:13:15 2005 +0000 14721 14722 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 14723 14724commit a316995a17c084e98ef1b7f25d287c2c08b6d749 14725Author: Donnie Berkholz <spyderous@gentoo.org> 14726Date: Sun Oct 16 03:03:35 2005 +0000 14727 14728 Change '==' to portable '='. 14729 14730commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 14731Author: Alan Coopersmith <alan.coopersmith@sun.com> 14732Date: Wed Oct 12 00:04:50 2005 +0000 14733 14734 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 14735 14736commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 14737Author: Eric Anholt <anholt@freebsd.org> 14738Date: Tue Oct 11 02:18:36 2005 +0000 14739 14740 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 14741 14742commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 14743Author: Alan Coopersmith <alan.coopersmith@sun.com> 14744Date: Sun Oct 9 22:28:39 2005 +0000 14745 14746 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 14747 14748commit 91ed79852e790049ab54e68f288afb3c953194c9 14749Author: Kevin E Martin <kem@kem.org> 14750Date: Fri Oct 7 15:00:00 2005 +0000 14751 14752 Clean up generated files 14753 Add missing dist tarball files 14754 14755commit 440399b470c97b159a530602fff11c315aca8d97 14756Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 14757Date: Wed Oct 5 18:27:10 2005 +0000 14758 14759 Add el_GR.UTF-8 compose file 14760 14761commit 010f0647e25ac617d0f92c8d2b8dda684da545db 14762Author: Daniel Stone <daniel@fooishbar.org> 14763Date: Fri Sep 30 07:52:46 2005 +0000 14764 14765 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 14766 14767commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 14768Author: Daniel Stone <daniel@fooishbar.org> 14769Date: Fri Sep 30 07:47:55 2005 +0000 14770 14771 Bug #1640: Kinyarwanda locale support. (Steve Murphy) 14772 14773commit 4ae0decabe0960870df0ec165f495166c10a053c 14774Author: Daniel Stone <daniel@fooishbar.org> 14775Date: Fri Sep 30 07:40:03 2005 +0000 14776 14777 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 14778 14779commit 3f79eb4c99844f618f1889741d1631c2ffe5385f 14780Author: Daniel Stone <daniel@fooishbar.org> 14781Date: Fri Sep 30 07:11:19 2005 +0000 14782 14783 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. 14784 14785commit d1237d1483ff972c76a0ac344ec97d5280db0007 14786Author: Alan Coopersmith <alan.coopersmith@sun.com> 14787Date: Thu Sep 29 21:27:12 2005 +0000 14788 14789 Add Xcms.txt to lib/X11 14790 14791commit 4a86f299693f7376cbe98175f0b0c44d691802b3 14792Author: Alan Coopersmith <alan.coopersmith@sun.com> 14793Date: Sat Sep 24 20:11:06 2005 +0000 14794 14795 Add XQueryExtension.man 14796 14797commit a057a66e2041d45198a13a4ece7c07068f76f21b 14798Author: Alan Coopersmith <alan.coopersmith@sun.com> 14799Date: Sat Sep 24 00:16:32 2005 +0000 14800 14801 Add XTHREAD_CFLAGS for platforms that need special defines like 14802 -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 14803 14804commit 3e920a65a7c376ad63eae2240fd06904d25d18bf 14805Author: Alan Coopersmith <alan.coopersmith@sun.com> 14806Date: Fri Sep 2 23:00:30 2005 +0000 14807 14808 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 14809 14810commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 14811Author: Kristian Høgsberg <krh@redhat.com> 14812Date: Thu Sep 1 19:24:13 2005 +0000 14813 14814 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 14815 14816commit 7afa64325183b78d2d6a4862821f8b3e9866105c 14817Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14818Date: Sun Aug 28 19:45:48 2005 +0000 14819 14820 OpenBSD needs -lpthread for threaded applications too. 14821 14822commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 14823Author: Daniel Stone <daniel@fooishbar.org> 14824Date: Fri Aug 26 05:16:46 2005 +0000 14825 14826 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 14827 14828commit 07066da0902df91c71f2adb81d1a17ec29165553 14829Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14830Date: Sun Aug 21 15:45:04 2005 +0000 14831 14832 update 14833 14834commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 14835Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14836Date: Sun Aug 21 15:38:39 2005 +0000 14837 14838 Threads support for BSD systems: 14839 - need to check for gewtpwuid_r to define mtsafeapi 14840 - build UIThrstubs if needed. 14841 14842commit 60217fdb918bafb2082519efe5cba3b13ad3082a 14843Author: Adam Jackson <ajax@nwnk.net> 14844Date: Wed Aug 17 19:46:08 2005 +0000 14845 14846 Add xthreadlib variable to x11.pc. Bump to 0.99.1. 14847 14848commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 14849Author: Alan Coopersmith <alan.coopersmith@sun.com> 14850Date: Wed Aug 17 01:27:08 2005 +0000 14851 14852 Fix more broken multi-line .ds macros. Remove extraneous ;'s . 14853 14854commit 1909786f4a7d686369edcfc05a938df115fab37c 14855Author: Alan Coopersmith <alan.coopersmith@sun.com> 14856Date: Tue Aug 16 19:23:15 2005 +0000 14857 14858 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) 14859 14860commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 14861Author: Alan Coopersmith <alan.coopersmith@sun.com> 14862Date: Mon Aug 15 19:53:37 2005 +0000 14863 14864 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 14865 14866commit 5bb43de17de8e71d967488a713bf2b3448533444 14867Author: Alan Coopersmith <alan.coopersmith@sun.com> 14868Date: Sat Aug 6 18:59:49 2005 +0000 14869 14870 Typo fix in output message 14871 14872commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 14873Author: Alan Coopersmith <alan.coopersmith@sun.com> 14874Date: Thu Aug 4 02:55:49 2005 +0000 14875 14876 //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) 14877 14878commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 14879Author: Alan Coopersmith <alan.coopersmith@sun.com> 14880Date: Thu Aug 4 02:51:30 2005 +0000 14881 14882 //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) 14883 14884commit 34b454df192f4563499c453ccdb8c079f4a20cbe 14885Author: Alan Coopersmith <alan.coopersmith@sun.com> 14886Date: Sat Jul 30 20:30:46 2005 +0000 14887 14888 Include config.h so Xtrans knows which transport types to build code for 14889 14890commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 14891Author: Alan Coopersmith <alan.coopersmith@sun.com> 14892Date: Sat Jul 30 19:15:16 2005 +0000 14893 14894 Add -D flags to clear various warnings (Stefan Dirsch) 14895 14896commit e7fef67b4531faddd805d8f2157903006d3117ed 14897Author: Kevin E Martin <kem@kem.org> 14898Date: Fri Jul 29 21:22:50 2005 +0000 14899 14900 Various changes preparing packages for RC0: 14901 - Verify and update package version numbers as needed 14902 - Implement versioning scheme 14903 - Change bug address to point to bugzilla bug entry form 14904 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 14905 - Fix makedepend to use pkgconfig and pass distcheck 14906 - Update build script to build macros first 14907 - Update modular Xorg version 14908 14909commit 2ebb00244928237088e68325b1032b3550455ce9 14910Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14911Date: Sat Jul 23 20:19:31 2005 +0000 14912 14913 remove orphan TAB at begin of line 14914 14915commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 14916Author: Kevin E Martin <kem@kem.org> 14917Date: Sat Jul 23 18:09:39 2005 +0000 14918 14919 Modify modular libs to use Xregion.h instead of region.h 14920 14921commit 6d635a88d91647b1b63611c3591f74916f88cd1c 14922Author: Kevin E Martin <kem@kem.org> 14923Date: Sat Jul 23 18:06:16 2005 +0000 14924 14925 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 14926 14927commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 14928Author: Daniel Stone <daniel@fooishbar.org> 14929Date: Sat Jul 16 06:25:35 2005 +0000 14930 14931 Set soversion to 6.2.0. 14932 14933commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 14934Author: Keith Packard <keithp@keithp.com> 14935Date: Fri Jul 15 04:27:32 2005 +0000 14936 14937 Add missing Makefile.am to lib/X11/modules 14938 14939commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 14940Author: Keith Packard <keithp@keithp.com> 14941Date: Fri Jul 15 04:08:51 2005 +0000 14942 14943 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 14944 Link i18n modules against xlib to resolve Xlib symbols used by them. 14945 14946commit 45f40126a73295345bb5eb187b1167874842ab6e 14947Author: Alexander Gottwald <ago@freedesktop.org> 14948Date: Thu Jul 14 19:50:00 2005 +0000 14949 14950 Add $(top_srcdir)/src to include list 14951 14952commit 0aed7d91f5928d09d541617aad03709b5090658d 14953Author: Matthieu Herrb <matthieu.herrb@laas.fr> 14954Date: Thu Jul 14 17:04:49 2005 +0000 14955 14956 Build fix for non-GNU make. 14957 14958commit b79422ccb02ab44548d1038956ab0cd4e2638645 14959Author: Adam Jackson <ajax@nwnk.net> 14960Date: Thu Jul 14 15:12:44 2005 +0000 14961 14962 typo fixes (Matthieu Herrb) 14963 14964commit 419304cde2fda19457c667870edefc0b227651b3 14965Author: Alan Coopersmith <alan.coopersmith@sun.com> 14966Date: Wed Jul 13 02:41:36 2005 +0000 14967 14968 Add missing backslashes to xlocale_la_SOURCES 14969 14970commit d14cc5c8964c4539b57c6cb51ef653292e410b79 14971Author: Keith Packard <keithp@keithp.com> 14972Date: Mon Jul 11 20:32:55 2005 +0000 14973 14974 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 14975 14976commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 14977Author: Lars Knoll <lars@trolltech.com> 14978Date: Mon Jul 11 15:24:32 2005 +0000 14979 14980 compile 14981 14982commit de9784eb1bde46efc316da279e3da27c6cc288a7 14983Author: Keith Packard <keithp@keithp.com> 14984Date: Mon Jul 11 09:26:40 2005 +0000 14985 14986 Ignore built man page files 14987 14988commit 0c258c36d1523113790c599b16d2947d7aa6469a 14989Author: Keith Packard <keithp@keithp.com> 14990Date: Mon Jul 11 09:18:31 2005 +0000 14991 14992 Minor changes to help modular Xlib build i18n modules 14993 14994commit 6e752ea1203b786423e40f43340bce15ca3de0f0 14995Author: Keith Packard <keithp@keithp.com> 14996Date: Mon Jul 11 08:29:18 2005 +0000 14997 14998 Enable loadable i18n modules, making them configurable on the configure command line. 14999 Clean up conditionals for XKB, XCMS, XLOCALEDIR 15000 Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 15001 Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 15002 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. 15003 Display message at end of configure script with selected options. 15004 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. 15005 15006commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 15007Author: Daniel Stone <daniel@fooishbar.org> 15008Date: Sun Jul 10 22:37:33 2005 +0000 15009 15010 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 15011 15012commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 15013Author: Alan Coopersmith <alan.coopersmith@sun.com> 15014Date: Sat Jul 9 20:06:04 2005 +0000 15015 15016 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 15017 15018commit 3939ac4410446b46071c9d714f4270c12bf904fe 15019Author: Alan Coopersmith <alan.coopersmith@sun.com> 15020Date: Sat Jul 9 18:44:14 2005 +0000 15021 15022 - 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 15023 - Don't assume $(CPP) can take gcc-only -traditional flag 15024 - CPP process man pages as is done in the monolithic tree 15025 15026commit 19ba9d0df86c688319377467254b9ea9c4b0eccc 15027Author: Keith Packard <keithp@keithp.com> 15028Date: Sat Jul 9 06:01:49 2005 +0000 15029 15030 Clean up .cvsignore files 15031 15032commit f4bba6fa9b9ce637be7662754750054567e9250a 15033Author: Adam Jackson <ajax@nwnk.net> 15034Date: Sat Jul 9 02:53:29 2005 +0000 15035 15036 typo fix. i suck. 15037 15038commit 3305da61a61695e24c1ea11d3f59dddb52873d47 15039Author: Adam Jackson <ajax@nwnk.net> 15040Date: Sat Jul 9 02:41:18 2005 +0000 15041 15042 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 15043 15044commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 15045Author: Keith Packard <keithp@keithp.com> 15046Date: Fri Jul 8 07:11:56 2005 +0000 15047 15048 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 15049 15050commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 15051Author: Keith Packard <keithp@keithp.com> 15052Date: Fri Jul 8 06:57:06 2005 +0000 15053 15054 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. 15055 Add a bunch of .cvsignore files 15056 15057commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 15058Author: Chris Less <clee@c133.org> 15059Date: Mon Jul 4 23:01:48 2005 +0000 15060 15061 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 15062 15063commit 55328bb6caabd37885cd19d7a5821ed425daf321 15064Author: Eric Anholt <anholt@freebsd.org> 15065Date: Sun Jul 3 10:17:38 2005 +0000 15066 15067 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 15068 15069commit 726538ba21b631bfb0b8094a5546acdaf57379ff 15070Author: Daniel Stone <daniel@fooishbar.org> 15071Date: Sun Jul 3 07:37:33 2005 +0000 15072 15073 Fix more include paths; add dix-config.h to XKB code. 15074 15075commit 8c7677138e70e14eca0255f2168583f0ecc21994 15076Author: Daniel Stone <daniel@fooishbar.org> 15077Date: Sun Jul 3 07:00:55 2005 +0000 15078 15079 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 15080 Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 15081 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>. 15082 15083commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 15084Author: Daniel Stone <daniel@fooishbar.org> 15085Date: Fri Jul 1 22:13:35 2005 +0000 15086 15087 Fix objdir != srcdir, as well as make distcheck. 15088 Don't attempt to create Compose.pre files; formatting fixes. 15089 Added if not already present. 15090 15091commit c162d60ad8f124563f94a2a266de59373936266c 15092Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 15093Date: Wed Jun 22 22:46:31 2005 +0000 15094 15095 Apply these patches from Theo van Klaveren: 15096 lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 15097 to make the libraries distcheck. 15098 15099commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 15100Author: Alan Coopersmith <alan.coopersmith@sun.com> 15101Date: Sat Jun 18 07:48:43 2005 +0000 15102 15103 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 15104 15105commit 12afc57b7d455781eee305e9ed6a899ceec8729e 15106Author: Daniel Stone <daniel@fooishbar.org> 15107Date: Wed Jun 15 16:50:47 2005 +0000 15108 15109 Typo fix to locale/error/keysym location declarations. 15110 15111commit 9a895777e30762f61b98d25be3b5d8b1169baa17 15112Author: Daniel Stone <daniel@fooishbar.org> 15113Date: Wed Jun 15 13:37:43 2005 +0000 15114 15115 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 15116 15117commit add49285663684875ab7a5c58ec7a2cf8b775f67 15118Author: Daniel Stone <daniel@fooishbar.org> 15119Date: Wed Jun 15 13:32:35 2005 +0000 15120 15121 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 15122 Move ImUtil.h from src/ to include/X11/. 15123 15124commit 845dfc6b42b950890866ee4df27761e086f50dca 15125Author: Daniel Stone <daniel@fooishbar.org> 15126Date: Wed Jun 15 13:27:48 2005 +0000 15127 15128 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 15129 15130commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 15131Author: Daniel Stone <daniel@fooishbar.org> 15132Date: Fri Jun 10 14:11:36 2005 +0000 15133 15134 Remove pointless include of Xlib.h. 15135 Fix #include path to bigreqstr.h. 15136 15137commit 1a0de49da1274882bab05b0f7240936b37955e5c 15138Author: Alexander Gottwald <ago@freedesktop.org> 15139Date: Thu Jun 9 21:30:15 2005 +0000 15140 15141 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 15142 15143commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 15144Author: Alexander Gottwald <ago@freedesktop.org> 15145Date: Thu Jun 9 15:55:33 2005 +0000 15146 15147 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 15148 15149commit fd5f58e0baf692e34b9b622286f18762cc2500d3 15150Author: Alexander Gottwald <ago@freedesktop.org> 15151Date: Thu Jun 9 15:52:02 2005 +0000 15152 15153 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 15154 Copy Xtrans.h to exports/include/X11/Xtrans only 15155 15156commit 44538f9940f969d46c0e5e4b201c684cde2ba611 15157Author: Alan Coopersmith <alan.coopersmith@sun.com> 15158Date: Sun Jun 5 03:29:33 2005 +0000 15159 15160 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 15161 15162commit 588e30e9ec65fa6205a34be650b79d5e2243edec 15163Author: Alan Coopersmith <alan.coopersmith@sun.com> 15164Date: Sat Jun 4 22:53:21 2005 +0000 15165 15166 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 15167 15168commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 15169Author: Alan Coopersmith <alan.coopersmith@sun.com> 15170Date: Sat Jun 4 21:20:20 2005 +0000 15171 15172 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) 15173 15174commit ca93c761559ae464189c7ea7cf11c6a6679f2431 15175Author: Matthieu Herrb <matthieu.herrb@laas.fr> 15176Date: Sat May 28 01:02:32 2005 +0000 15177 15178 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 15179 15180commit 09ebb349359e3dd9131fa2fa8b07559faa173654 15181Author: Alan Coopersmith <alan.coopersmith@sun.com> 15182Date: Sun May 22 19:05:11 2005 +0000 15183 15184 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 15185 15186commit 761219b1ef9befc350c8a35b6f96d047e5f008cc 15187Author: Alan Coopersmith <alan.coopersmith@sun.com> 15188Date: Sat May 21 23:07:48 2005 +0000 15189 15190 xtrans: 15191 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 15192 ICE: 15193 Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 15194 X11: 15195 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. 15196 15197commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 15198Author: Alan Coopersmith <alan.coopersmith@sun.com> 15199Date: Sat May 21 04:26:12 2005 +0000 15200 15201 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) 15202 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). 15203 15204commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 15205Author: Adam Jackson <ajax@nwnk.net> 15206Date: Thu May 19 00:22:32 2005 +0000 15207 15208 revert last change, didn't do right thing at all, sorry for the noise 15209 15210commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 15211Author: Adam Jackson <ajax@nwnk.net> 15212Date: Thu May 19 00:10:07 2005 +0000 15213 15214 Require automake 1.7 in AM_INIT_AUTOMAKE 15215 15216commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 15217Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 15218Date: Tue May 17 22:32:09 2005 +0000 15219 15220 - Check for xproto as its CFLAGS are needed in the .pc file 15221 15222commit 46e8d8a65430dd87c10b066b5cff99a689c22241 15223Author: Egbert Eich <eich-at-freedesktop-dot-org> 15224Date: Tue May 17 08:10:10 2005 +0000 15225 15226 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). 15227 15228commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 15229Author: <ssp@aware-of-vacuity.boston.redhat.com> 15230Date: Mon May 16 22:35:27 2005 +0000 15231 15232 Make Xdmcp unconditionally required, require various protocol modules. 15233 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 15234 Check for kbproto if using XKB. 15235 Require xextproto rather than xextensions 15236 Remove the entries from the xlibs tree, as they are not relevant here. 15237 15238commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 15239Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 15240Date: Mon May 16 21:48:36 2005 +0000 15241 15242 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 15243 Check for kbproto if using XKB. 15244 15245commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 15246Author: <ssp@aware-of-vacuity.boston.redhat.com> 15247Date: Mon May 16 21:27:35 2005 +0000 15248 15249 Require xextproto rather than xextensions 15250 Remove the entries from the xlibs tree, as they are not relevant here. 15251 15252commit 7eee605e3aeed549d1053325a03027c5e8cbf71b 15253Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 15254Date: Fri May 13 22:53:36 2005 +0000 15255 15256 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 15257 - For Xcomposite and Xdamage, don't link the build system out of the xc tree 15258 - Link the public X11 headers into their own directory 15259 - Add links to XKeysymDB and XErrorDB 15260 - Add links to all the Xlib man pages 15261 - Add links to the lcUniConv subdirectory 15262 - Conditionally include config.h in Xlib source 15263 15264commit 6769ccda88caf27d1441d335ef2b318a047a612b 15265Author: Alan Coopersmith <alan.coopersmith@sun.com> 15266Date: Mon Mar 21 04:58:21 2005 +0000 15267 15268 xc/lib/X11/ErrDes.c 15269 //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> 15270 15271commit 3b9e8ece93b916c55a82df53e85f097418edf471 15272Author: Roland Mainz <roland.mainz@nrubsig.org> 15273Date: Sat Mar 19 22:04:55 2005 +0000 15274 15275 xc/nls/Compose/iso8859-2 15276 xc/nls/Compose/iso8859-3 15277 xc/nls/Compose/iso8859-9 15278 //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>. 15279 15280commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 15281Author: Alan Coopersmith <alan.coopersmith@sun.com> 15282Date: Tue Mar 8 02:53:36 2005 +0000 15283 15284 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>. 15285 15286commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 15287Author: Roland Mainz <roland.mainz@nrubsig.org> 15288Date: Tue Feb 1 03:12:28 2005 +0000 15289 15290 xc/nls/Compose/pt_BR.UTF-8 15291 //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>. 15292 15293commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 15294Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 15295Date: Fri Jan 28 18:31:31 2005 +0000 15296 15297 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 15298 15299commit f234188a4c1e6b655aef0e3957ccad20d4c5847f 15300Author: Roland Mainz <roland.mainz@nrubsig.org> 15301Date: Wed Jan 19 01:53:55 2005 +0000 15302 15303 xc/nls/compose.dir 15304 xc/nls/locale.dir 15305 xc/nls/Compose/Imakefile 15306 xc/nls/Compose/pt_BR.UTF-8 15307 xc/nls/XI18N_OBJS/Imakefile 15308 xc/nls/XI18N_OBJS/pt_BR.UTF-8 15309 xc/nls/XLC_LOCALE/Imakefile 15310 xc/nls/XLC_LOCALE/pt_BR.UTF-8 15311 //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. 15312 15313commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 15314Author: Egbert Eich <eich-at-freedesktop-dot-org> 15315Date: Fri Jan 14 18:03:09 2005 +0000 15316 15317 Made some security enhancements: 15318 - no writing past end of buffer caused by bogus locale. 15319 - explicitely add a \0 character at end of string. (Bugzilla #2262) 15320 15321commit 5557d47fcf22a6f3adf327691158f2270e3d5094 15322Author: Roland Mainz <roland.mainz@nrubsig.org> 15323Date: Fri Jan 14 04:59:05 2005 +0000 15324 15325 xc/nls/compose.dir 15326 xc/nls/locale.alias 15327 xc/nls/locale.dir 15328 //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>. 15329 15330commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 15331Author: Egbert Eich <eich-at-freedesktop-dot-org> 15332Date: Tue Jan 11 17:37:57 2005 +0000 15333 15334 '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. 15335 15336commit 642cd269f94a234aa470a1d43385bd42625d89a1 15337Author: Egbert Eich <eich-at-freedesktop-dot-org> 15338Date: Tue Dec 14 08:59:20 2004 +0000 15339 15340 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 15341 Fixed typo. 15342 Added comment to a changed that's been committed with one of the previous commits. 15343 15344commit a07ccae36e629741d2e48de7730114d30a975a41 15345Author: Matthieu Herrb <matthieu.herrb@laas.fr> 15346Date: Sun Dec 12 08:42:50 2004 +0000 15347 15348 Fix missing XChangeProperty() prototype missing in synopsis section. 15349 15350commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 15351Author: Alexander Gottwald <ago at freedesktop dot org> 15352Date: Wed Dec 8 13:42:01 2004 +0000 15353 15354 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 15355 15356commit d5e7ab194103e22fd6c5094aaa107d90210bb600 15357Author: Jim Gettys <jg@freedesktop.org> 15358Date: Thu Dec 2 16:18:16 2004 +0000 15359 15360 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 15361 15362commit 03940d7330cb1bbf93d49c650aefb19de457da7c 15363Author: Alexander Gottwald <ago at freedesktop dot org> 15364Date: Wed Dec 1 13:06:55 2004 +0000 15365 15366 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 15367 15368commit 11a03ab908bfcfab8a3492684e8e9320e492d552 15369Author: Alexander Gottwald <ago at freedesktop dot org> 15370Date: Wed Dec 1 12:42:17 2004 +0000 15371 15372 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 15373 15374commit f3d83ee153f42e8899b844377e6b842d93411e62 15375Author: Alexander Gottwald <ago@freedesktop.org> 15376Date: Mon Nov 15 15:06:54 2004 +0000 15377 15378 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 15379 15380commit b798ea11911ac58a8e6e7d15a2a643b023859749 15381Author: Alexander Gottwald <ago at freedesktop dot org> 15382Date: Mon Nov 15 13:29:56 2004 +0000 15383 15384 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 15385 15386commit 436108cd6c84053698e5ca629096f59b34f50c2a 15387Author: Kristian Høgsberg <krh@redhat.com> 15388Date: Thu Nov 11 15:37:01 2004 +0000 15389 15390 Fix #1818 15391 15392commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 15393Author: Roland Mainz <roland.mainz@nrubsig.org> 15394Date: Tue Nov 9 00:56:56 2004 +0000 15395 15396 xc/nls/compose.dir 15397 xc/nls/locale.alias 15398 xc/nls/locale.dir 15399 //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>. 15400 15401commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 15402Author: Roland Mainz <roland.mainz@nrubsig.org> 15403Date: Fri Nov 5 00:58:49 2004 +0000 15404 15405 xc/nls/compose.dir 15406 xc/nls/locale.alias 15407 xc/nls/locale.dir 15408 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>. 15409 15410commit af7467ec734321f127b957921cce7792902b6794 15411Author: Egbert Eich <eich-at-freedesktop-dot-org> 15412Date: Mon Oct 18 17:29:03 2004 +0000 15413 15414 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 15415 15416commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 15417Author: Egbert Eich <eich-at-freedesktop-dot-xorg> 15418Date: Mon Oct 18 14:21:45 2004 +0000 15419 15420 Made handling of DevelDrivers for x86-64 more conformant to other platforms. 15421 Compress all font encodings (Stefan Dirsch). 15422 Fixed warnings. 15423 Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 15424 Added another compose key combination for the Euro symbol (Stefan Dirsch). 15425 Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 15426 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. 15427 Added explanation for DESTDIR to install to a different directory than /. 15428 Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 15429 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. 15430 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(). 15431 Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 15432 Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 15433 Changed comment to mention xorg. 15434 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). 15435 Added 'pic' to the man page rendering command pipeline (Werner Fink). 15436 Added missing return value (Stefan Dirsch, Roland Mainz) 15437 15438commit 1ba103c3cad2329db3a31f88d7798b913affc570 15439Author: Eric Anholt <anholt@freebsd.org> 15440Date: Wed Oct 13 07:38:00 2004 +0000 15441 15442 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>) 15443 15444commit d80237db627bf71ad5615ff4ba05e6ab436aa740 15445Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 15446Date: Fri Oct 8 22:57:56 2004 +0000 15447 15448 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 15449 Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 15450 15451commit d1f76d17ecf418396627b1a58319f2b9b255548a 15452Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 15453Date: Sun Sep 26 22:54:57 2004 +0000 15454 15455 bug fix for previous patch 15456 15457commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 15458Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 15459Date: Sun Sep 26 20:46:17 2004 +0000 15460 15461 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 15462 15463commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 15464Author: Egbert Eich <eich@freedesktop.org> 15465Date: Wed Sep 15 09:05:22 2004 +0000 15466 15467 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). 15468 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). 15469 15470commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 15471Author: Egbert Eich <eich@freedesktop.org> 15472Date: Tue Aug 31 11:37:03 2004 +0000 15473 15474 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). 15475 15476commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 15477Author: Kevin E Martin <kem@kem.org> 15478Date: Thu Aug 19 06:48:06 2004 +0000 15479 15480 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 15481 15482commit d558a53a6f57eecfcaadce5141fe3a08860defcb 15483Author: Keith Packard <keithp@keithp.com> 15484Date: Sat Aug 14 07:12:36 2004 +0000 15485 15486 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 15487 Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 15488 Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 15489 Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 15490 15491commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 15492Author: Alexander Gottwald <ago@freedesktop.org> 15493Date: Fri Aug 13 16:28:19 2004 +0000 15494 15495 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 15496 Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 15497 15498commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 15499Author: Adam Jackson <ajax@nwnk.net> 15500Date: Wed Aug 11 05:25:13 2004 +0000 15501 15502 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 15503 15504commit 92487437173f600f208d825f65756d3ad14a4f7e 15505Author: Kevin E Martin <kem@kem.org> 15506Date: Mon Aug 9 22:37:22 2004 +0000 15507 15508 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 15509 Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 15510 Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 15511 HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 15512 Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 15513 Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 15514 Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 15515 Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 15516 Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 15517 Fix several render problems: 15518 - MMIO mode support 15519 - Hang on IGP chips 15520 - VT switching hang 15521 - 3D render corruption (Bug #922, Hui Yu). 15522 15523commit 55c2ee568e7d3903258286a13bdf96ce5348ffda 15524Author: Matthieu Herrb <matthieu.herrb@laas.fr> 15525Date: Tue Jul 27 06:06:05 2004 +0000 15526 15527 - remove remaining AMOEBA references. 15528 - remove unused file. 15529 15530commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 15531Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 15532Date: Tue Jul 20 17:48:09 2004 +0000 15533 15534 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 15535 Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 15536 Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 15537 Use /dev/urandom on Linux.(#761). 15538 15539commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 15540Author: Eric Anholt <anholt@freebsd.org> 15541Date: Fri May 28 23:26:44 2004 +0000 15542 15543 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 15544 15545commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 15546Author: Egbert Eich <eich@pdx.freedesktop.org> 15547Date: Mon May 24 19:02:11 2004 +0000 15548 15549 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. 15550 15551commit 720702da29769d80ad1254d92edbad5b30f8a8da 15552Author: Alan Coopersmith <alan.coopersmith@sun.com> 15553Date: Sat May 22 03:47:42 2004 +0000 15554 15555 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 15556 15557commit 3aed873292424b497d9a7dcee2975b95bf5ac966 15558Author: Alan Coopersmith <alan.coopersmith@sun.com> 15559Date: Sat Apr 24 23:39:25 2004 +0000 15560 15561 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 15562 Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 15563 xc/config/cf/sunLib.tmpl 15564 xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 15565 15566commit c6349f43193b74a3c09945f3093a871b0157ba47 15567Author: Egbert Eich <eich@freedesktop.org> 15568Date: Fri Apr 23 18:42:09 2004 +0000 15569 15570 Merging XORG-CURRENT into trunk 15571 15572commit c3c4ddc682950a01b80825021f3e2503ab01ea7f 15573Author: Kaleb Keithley <kaleb@freedesktop.org> 15574Date: Tue Nov 25 19:28:07 2003 +0000 15575 15576 Initial revision 15577 15578commit dc4268a7dadc8da0d561757a68461246728613d3 15579Author: Kaleb Keithley <kaleb@freedesktop.org> 15580Date: Fri Nov 14 16:48:47 2003 +0000 15581 15582 Initial revision 15583 15584commit deae12c6b683898f5213992d561a59d4ea889cca 15585Author: Kaleb Keithley <kaleb@freedesktop.org> 15586Date: Fri Nov 14 15:54:30 2003 +0000 15587 15588 R6.6 is the Xorg base-line 15589