ChangeLog revision 6e467124
1commit ed9fb5535efe1e5278654b6b3994a34337b4bf1a 2Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3Date: Sun Jul 28 10:37:55 2024 -0700 4 5 libX11 1.8.10 6 7 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8 9commit 92014b39634e0b0aa52d4bff955a7aac3ed0a915 10Author: Kelly Roadkill <roadkell@pm.me> 11Date: Tue Jul 23 08:12:01 2024 +0500 12 13 Revert "nls: add compose seq's for symbols absent from Cyrillic layouts to ru_RU" 14 15 Testing by multilingual typists revealed that the 16 proposed sequences are too complex for everyday 17 use. It seems that the inherent problems with 18 JCUKEN can only be fixed with better kbd layouts. 19 20 This reverts commit 174df0b8b6ada7e1c741373c7d686e00f42d8bd5. 21 22 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/261> 23 24commit be137dffa6f0b7640ce80b4266539009544bb045 25Author: Kelly Roadkill <roadkell@pm.me> 26Date: Fri Jul 19 16:47:40 2024 +0500 27 28 nls: add compose sequences for hryvnia currency 29 30 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/259> 31 32commit 39d57cbeda627115f7e8bd305b6cbd9df1daa007 33Author: Alan Coopersmith <alan.coopersmith@oracle.com> 34Date: Sat Jul 13 10:14:02 2024 -0700 35 36 xlibi18n/lcFile.c: avoid use of possibly-NULL pointer with strcpy 37 38 Fixes gcc warnings: 39 lcFile.c: In function ‘_XlcLocaleLibDirName’: 40 lcFile.c:708:5: warning: use of possibly-NULL ‘last_dir_name’ where 41 non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 42 708 | strcpy (last_dir_name, dir_name); 43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 45 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 46 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/258> 47 48commit 8abcaba1a7ee363a35ad8d869715095096995c76 49Author: Alan Coopersmith <alan.coopersmith@oracle.com> 50Date: Sat Jul 6 09:37:50 2024 -0700 51 52 Revert "unifdef __vax__" 53 54 This reverts commit 4ce3962b701c502acc96b6eaf104a5ffc317c5d7. 55 Requested by NetBSD which still has a supported VAX port. 56 57 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/257> 58 59commit 751fbc59c30604980fdd19cb4b333d3cf2eccb24 60Author: Olivier Fourdan <ofourdan@redhat.com> 61Date: Fri Jun 21 14:37:24 2024 +0200 62 63 Fix deadlock in XRebindKeysym() 64 65 Xlib is now built with threading support enabled from the constructor 66 by default. 67 68 XRebindKeysym() acquires the display lock, then calls: 69 70 | XRebindKeysym() 71 | LockDisplay() 72 | ComputeMaskFromKeytrans() 73 | -> XkbKeysymToModifiers() 74 | -> _XkbLoadDpy() 75 | -> XkbGetMap() 76 | -> XkbGetUpdatedMap() 77 | LockDisplay() 78 79 And the dead lock: 80 81 | Xlib ERROR: XKBGetMap.c line 575 thread 1fc6e580: locking display already 82 | locked at KeyBind.c line 937 83 84 To avoid the issue, call ComputeMaskFromKeytrans() from outside the display 85 lock. 86 87 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 88 Closes: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/216 89 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/256> 90 91commit bc8c908ae8007d0bfe9b58c7752dd00fd282d999 92Author: Kelly Roadkill <roadkell@pm.me> 93Date: Tue Jun 18 14:49:50 2024 +0500 94 95 nls: delete compose sequence with anomalous post-fixed cedilla 96 97 The only sequence with post-fixed cedilla in the 98 whole en_US.UTF-8 was introduced in cf040016 with 99 the merge of GTK+ compose sequences 12 years ago. 100 It goes against the established patterns. 101 102 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/255> 103 104commit 1472048b7a02d1b7fc25cfeda761db23fba21eac 105Author: Olivier Fourdan <ofourdan@redhat.com> 106Date: Fri Jun 7 09:05:55 2024 +0200 107 108 Make colormap private interfaces thread safe. 109 110 Protect access to the dpy structure by a display lock, so that these can 111 be called outside of a global display lock. 112 113 That allows the XCMS colormap functions to be thread safe without having 114 the whole functions within a display lock, to avoid deadlocks. 115 116 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 117 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/215 118 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/94 119 Reviewed-by: Adam Jackson <ajax@redhat.com> 120 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/254> 121 122commit 739fce4c12c7aa39112353d80c8a3bf25bdd5274 123Author: Olivier Fourdan <ofourdan@redhat.com> 124Date: Fri Jun 7 09:07:39 2024 +0200 125 126 Revert "Protect colormap add/removal with display lock" 127 128 That commit 99a2cf1aa was moving the calls to the _Xcms*CmapRec*() 129 family of functions within a display lock to make the XCMS colormap 130 functions thread safe. 131 132 Unfortunately, that causes a deadlock in XCopyColormapAndFree(), because 133 _XcmsCopyCmapRecAndFree() calls CmapRecForColormap() which calls 134 XGetVisualInfo() which also tries to acquire the display lock. 135 136 So, instead of moving the entire functions within the display lock, 137 let's try to make the functions themselves thread safe in the following 138 commit, and revert this change which causes a deadlock. 139 140 This reverts commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d. 141 142 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/215 143 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/94 144 Reviewed-by: Adam Jackson <ajax@redhat.com> 145 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/254> 146 147commit 5dfedaf4aa1a032ea6cb4e871abd2e065f798129 148Author: Olivier Fourdan <ofourdan@redhat.com> 149Date: Thu Jun 6 16:25:26 2024 +0200 150 151 Revert "Fix XTS regression in XCopyColormapAndFree" 152 153 This change was to fix the next change that we are to revert as well. 154 155 This reverts commit 68c72a7341b114277ab232f2499ee3bd035af8a0. 156 157 Reviewed-by: Adam Jackson <ajax@redhat.com> 158 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/254> 159 160commit c099d0105f7a4f969cf922f333cb54c177aceacb 161Author: Alan Coopersmith <alan.coopersmith@oracle.com> 162Date: Sat May 18 11:41:36 2024 -0700 163 164 Avoid buffer overflow in _XimLookupMBText & _XimLookupUTF8Text 165 166 Reported-by: u32i <u32i@proton.me> 167 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 168 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/251> 169 170commit 0af3328dc330cbd8e097e2971b336b44466b1ab0 171Author: jmcwilliams403 <jmcwilliams403@gmail.com> 172Date: Sun Jul 16 11:31:22 2023 -0400 173 174 NLS: Add 6 Multi_key sequences for Ezh 175 176 Ezh is a Latin-Script letter belonging to several Uralic, Caucasian, 177 and West-African languages. It is present on some Finnish keyboards, 178 but users of many other layouts cannot presently type it. This commit 179 adds Multi_key sequences for both Capital and lowercase Ezh, as well 180 as Multi_key + dead_caron sequences for Ezh with a caron, which is 181 used in Laz and Skolt Sámi. 182 183 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/221> 184 185commit 174df0b8b6ada7e1c741373c7d686e00f42d8bd5 186Author: Kelly Roadkill <roadkell@pm.me> 187Date: Sun Dec 3 00:53:55 2023 +0500 188 189 nls: add compose seq's for symbols absent from Cyrillic layouts to ru_RU 190 191 JCUKEN (ЙЦУКЕН) - the default and de-facto standard layout for most Cyrillic scripts - lacks a number of ASCII symbols from QWERTY counterpart, forcing users to switch back-and-forth between layouts to type them. 192 This adds sequences for them to the ru_RU compose map in an intuitive and consistent manner. 193 194 Fixes #200 for ru_RU (but other Cyrillic layouts might benefit too) 195 196 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/238> 197 198commit 763f3f938c24993e9ceb1d6960d939b022fa8dfe 199Author: Mohamed Akram <mohd.akram@outlook.com> 200Date: Fri May 24 18:18:43 2024 +0400 201 202 nls: add Arabic hamza compose sequences 203 204 These sequences are intended for use in the ara(mac-phonetic) and 205 my(phonetic) layouts. They are based on the following layouts listed in 206 the CLDR: 207 208 - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ar-t-k0-osx-qwerty.xml 209 - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ms-t-k0-osx.xml 210 211 The sequences are listed in the `<transforms>` section, and are 212 reproduced below: 213 214 ``` 215 <transforms type="simple"> 216 <transform from="ء\u{64E}" to="آ"/> <!-- ءَ → آ --> 217 <transform from="ء\u{650}" to="إ"/> <!-- ءِ → إ --> 218 <transform from="ء " to="ء"/> 219 <transform from="ء\u{A0}" to="ء"/> 220 <transform from="ء!" to="إ"/> 221 <transform from="ء١" to="إ"/> 222 <transform from="ءا" to="أ"/> 223 <transform from="ءس" to="ئ"/> 224 <transform from="ءو" to="ؤ"/> 225 <transform from="ءي" to="ئ"/> 226 <transform from="ءى" to="ئ"/> 227 </transforms> 228 ``` 229 230 We limit ourselves to the sequences that strictly combine a character 231 and a hamza, and generate that character with a hamza on it, following 232 the behavior in sequences of other dead keys. Additional sequences, 233 potentially for other layouts as well, could be added later on as 234 necessary. 235 236 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/218> 237 238commit 97fb5bda3d0777380cd4b964f48771a82ef3f2a7 239Author: José Expósito <jexposit@redhat.com> 240Date: Tue Apr 30 18:21:08 2024 +0200 241 242 Fix buffer overrun in parse_omit_name 243 244 When `num_fields == 12`, if the last character of the pattern is '-', 245 the `buf` array is overrun. 246 247 This error has been found by a static analysis tool. This is the report: 248 249 Error: OVERRUN (CWE-119): 250 libX11-1.8.7/modules/om/generic/omGeneric.c:691: cond_at_most: 251 Checking "length > 255" implies that "length" may be up to 255 on 252 the false branch. 253 libX11-1.8.7/modules/om/generic/omGeneric.c:695: alias: 254 Assigning: "last" = "buf + length - 1". "last" may now point to as 255 high as byte 254 of "buf" (which consists of 256 bytes). 256 libX11-1.8.7/modules/om/generic/omGeneric.c:718: ptr_incr: 257 Incrementing "last". "last" may now point to as high as byte 255 258 of "buf" (which consists of 256 bytes). 259 libX11-1.8.7/modules/om/generic/omGeneric.c:720: ptr_incr: 260 Incrementing "last". "last" may now point to as high as byte 256 261 of "buf" (which consists of 256 bytes). 262 libX11-1.8.7/modules/om/generic/omGeneric.c:720: overrun-local: 263 Overrunning array of 256 bytes at byte offset 256 by 264 dereferencing pointer "++last". 265 # 718| *++last = '*'; 266 # 719| 267 # 720|-> *++last = '-'; 268 # 721| break; 269 # 722| case 13: 270 271 Signed-off-by: José Expósito <jexposit@redhat.com> 272 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 273 274commit f67a87dad40141f50f4da35b28a92a974bfdf7e1 275Author: José Expósito <jexposit@redhat.com> 276Date: Tue Apr 30 18:04:35 2024 +0200 277 278 Fix memory leak in _XimProtoSetIMValues 279 280 This error has been found by a static analysis tool. This is the report: 281 282 Error: RESOURCE_LEAK (CWE-772): 283 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1316: alloc_fn: 284 Storage is returned from allocation function "calloc". 285 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1316: var_assign: 286 Assigning: "tmp" = storage returned from 287 "calloc((size_t)((buf_size + data_len == 0) ? 1 : (buf_size + data_len)), 1UL)". 288 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1319: noescape: 289 Resource "tmp" is not freed or pointed-to in "memcpy". 290 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1320: var_assign: 291 Assigning: "buf" = "tmp". 292 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1302: var_assign: 293 Assigning: "data" = "buf". 294 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1303: noescape: 295 Resource "data" is not freed or pointed-to in 296 "_XimEncodeIMATTRIBUTE". 297 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: 298 Variable "data" going out of scope leaks the storage it points to. 299 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: 300 Variable "buf" going out of scope leaks the storage it points to. 301 libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: 302 Variable "tmp" going out of scope leaks the storage it points to. 303 # 1331| 304 # 1332| if (!total) 305 # 1333|-> return (char *)NULL; 306 # 1334| 307 # 1335| buf_s = (CARD16 *)&buf[XIM_HEADER_SIZE]; 308 309 Signed-off-by: José Expósito <jexposit@redhat.com> 310 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 311 312commit af1312d2873d2ce49b18708a5029895aed477392 313Author: José Expósito <jexposit@redhat.com> 314Date: Tue Apr 30 17:37:39 2024 +0200 315 316 XKBMAlloc: Check that needed is >= 0 in XkbResizeKeyActions 317 318 Passing a negative value in `needed` to the `XkbResizeKeyActions()` 319 function can create a `newActs` array of an unespected size. 320 Check the value and return if it is invalid. 321 322 This error has been found by a static analysis tool. This is the report: 323 324 Error: OVERRUN (CWE-119): 325 libX11-1.8.7/src/xkb/XKBMAlloc.c:811: cond_const: 326 Checking "xkb->server->size_acts == 0" implies that 327 "xkb->server->size_acts" is 0 on the true branch. 328 libX11-1.8.7/src/xkb/XKBMAlloc.c:811: buffer_alloc: 329 "calloc" allocates 8 bytes dictated by parameters 330 "(size_t)((xkb->server->size_acts == 0) ? 1 : xkb->server->size_acts)" 331 and "8UL". 332 libX11-1.8.7/src/xkb/XKBMAlloc.c:811: var_assign: 333 Assigning: "newActs" = "calloc((size_t)((xkb->server->size_acts == 0) ? 1 : xkb->server->size_acts), 8UL)". 334 libX11-1.8.7/src/xkb/XKBMAlloc.c:815: assignment: 335 Assigning: "nActs" = "1". 336 libX11-1.8.7/src/xkb/XKBMAlloc.c:829: cond_at_least: 337 Checking "nCopy > 0" implies that "nCopy" is at least 1 on the 338 true branch. 339 libX11-1.8.7/src/xkb/XKBMAlloc.c:830: overrun-buffer-arg: 340 Overrunning buffer pointed to by "&newActs[nActs]" of 8 bytes by 341 passing it to a function which accesses it at byte offset 15 342 using argument "nCopy * 8UL" (which evaluates to 8). 343 # 828| 344 # 829| if (nCopy > 0) 345 # 830|-> memcpy(&newActs[nActs], XkbKeyActionsPtr(xkb, i), 346 # 831| nCopy * sizeof(XkbAction)); 347 # 832| if (nCopy < nKeyActs) 348 349 Signed-off-by: José Expósito <jexposit@redhat.com> 350 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 351 352commit 836a8f2cf5e930c8a56b512273fdf9890282ba04 353Author: José Expósito <jexposit@redhat.com> 354Date: Tue Apr 30 16:49:26 2024 +0200 355 356 Fix use of uninitialized variable in _XimEncodeICATTRIBUTE 357 358 In the `res->resource_size == XimType_NEST` code path, if 359 `res->xrm_name != pre_quark` and `res->xrm_name != sts_quark`, `len` can 360 be used uninitialized. 361 362 This error has been found by a static analysis tool. This is the report: 363 364 Error: UNINIT (CWE-457): 365 libX11-1.8.7/modules/im/ximcp/imRmAttr.c:1106: var_decl: 366 Declaring variable "len" without initializer. 367 libX11-1.8.7/modules/im/ximcp/imRmAttr.c:1179: uninit_use: 368 Using uninitialized value "len". 369 # 1177| } 370 # 1178| 371 # 1179|-> if (len == 0) { 372 # 1180| continue; 373 # 1181| } else if (len < 0) { 374 375 Signed-off-by: José Expósito <jexposit@redhat.com> 376 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 377 378commit eaad761e24722b1743d3edee3383294bfb4947d6 379Author: José Expósito <jexposit@redhat.com> 380Date: Tue Apr 30 16:41:40 2024 +0200 381 382 Fix use of uninitialized variable in _XimExtension 383 384 `_XimRead()` is being called with `reply` as target buffer instead of 385 using `preply`, accessing uninitialized memory a few lines later. 386 387 This error has been found by a static analysis tool. This is the report: 388 389 Error: UNINIT (CWE-457): 390 libX11-1.8.7/modules/im/ximcp/imExten.c:468: alloc_fn: 391 Calling "malloc" which returns uninitialized memory. 392 libX11-1.8.7/modules/im/ximcp/imExten.c:468: assign: 393 Assigning: "preply" = "malloc((size_t)((buf_size == 0) ? 1 : buf_size))", 394 which points to uninitialized data. 395 libX11-1.8.7/modules/im/ximcp/imExten.c:479: uninit_use: 396 Using uninitialized value "*((CARD8 *)preply)". 397 # 477| return False; 398 # 478| buf_s = (CARD16 *)((char *)preply + XIM_HEADER_SIZE); 399 # 479|-> if (*((CARD8 *)preply) == XIM_ERROR) { 400 # 480| _XimProcError(im, 0, (XPointer)&buf_s[3]); 401 # 481| if(reply != preply) 402 403 Signed-off-by: José Expósito <jexposit@redhat.com> 404 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 405 406commit 4f5541193dd5a004ed5ea44c12fc25e227113c9b 407Author: José Expósito <jexposit@redhat.com> 408Date: Tue Apr 30 16:37:21 2024 +0200 409 410 Fix use of uninitialized variable in _XimTriggerNotify 411 412 `_XimRead()` is being called with `reply` as target buffer instead of 413 using `preply`, accessing uninitialized memory a few lines later. 414 415 This error has been found by a static analysis tool. This is the report: 416 417 Error: UNINIT (CWE-457): 418 libX11-1.8.7/modules/im/ximcp/imDefLkup.c:561: alloc_fn: 419 Calling "malloc" which returns uninitialized memory. 420 libX11-1.8.7/modules/im/ximcp/imDefLkup.c:561: assign: 421 Assigning: "preply" = "malloc((size_t)((len == 0) ? 1 : len))", 422 which points to uninitialized data. 423 libX11-1.8.7/modules/im/ximcp/imDefLkup.c:573: uninit_use: 424 Using uninitialized value "*((CARD8 *)preply)". 425 # 571| } 426 # 572| buf_s = (CARD16 *)((char *)preply + XIM_HEADER_SIZE); 427 # 573|-> if (*((CARD8 *)preply) == XIM_ERROR) { 428 # 574| _XimProcError(im, 0, (XPointer)&buf_s[3]); 429 # 575| if(reply != preply) 430 431 Signed-off-by: José Expósito <jexposit@redhat.com> 432 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/250> 433 434commit 90b8fc65da1e773b0091a50be46b23609591e8b7 435Author: Takao Fujiwara <tfujiwar@redhat.com> 436Date: Fri Apr 26 01:29:39 2024 +0900 437 438 imDefIm: Add LIBX11_ENABLE_FABRICATED_ORDER env 439 440 If an XIM application does not return the XKeyEvent from XNextEvent() 441 to XFilterEvent(), a timeout is reached and the behavior is fallen 442 back to the previous one with a warning messsage and we can ask 443 the application to send the XKeyEvent to XFilterEvent() but also 444 libX11 provides LIBX11_ENABLE_FABRICATED_ORDER environment variable. 445 If the application runs with LIBX11_ENABLE_FABRICATED_ORDER=0, the 446 previous behavior is available until the application is fixed. 447 448 Closes: !246 449 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 450 451commit 898746f9b1fb384d6d24ed827c836ec8a0b3da3b 452Author: Takao Fujiwara <tfujiwar@redhat.com> 453Date: Fri Apr 26 01:29:34 2024 +0900 454 455 ximcp: Unmark fabricated with serial 0 and Xic commit_info 456 457 GTK2 XIM resets the XKeyEvent serial to 0 even if _XimCommitRecv() 458 sets the serial so now checks if the events are sent with 459 Xic->private.proto.commit_info. 460 461 Closes: !246 462 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 463 464commit 5a1e62d77b65ba148b1c6d1d22a81dc2b07e7d9e 465Author: Takao Fujiwara <tfujiwar@redhat.com> 466Date: Fri Apr 26 01:29:26 2024 +0900 467 468 Accept anon windows in XFilterEvent to update XIM state 469 470 When input focuses are switched quickly with shortcut keys in a Java 471 window, the focus is sometimes lost and the Window=0 is assigned in 472 XFilterEvent() but the XKeyEvent was forwarded by a XIM serer(IBus) 473 with XIM_FORWARD_EVENT -> XNextEvent() -> XFilterEvent() and the event 474 needs to be forwarded to the XIM XKeyEvent press and release filters 475 to update the XIM state with Window=0 likes _XimPendingFilter() and 476 _XimUnfabricateSerial(). 477 478 Closes: #205, #206 479 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 480 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 481 482commit 5a14178c7cc408f425fe298aeade3dee749b1ca1 483Author: Takao Fujiwara <tfujiwar@redhat.com> 484Date: Fri Apr 26 00:49:14 2024 +0900 485 486 ximcp: Add fabricated_time in XimProtoPrivate for timeout 487 488 When users type keys quickly, some applications using Steam or Java 489 do not call XNextEvent() for a key event but _XimFilterKeypress() 490 and _XimFilterKeyrelease() expect to receive the key events 491 forwarded by input methods. 492 493 Now fabricated_time Time value is added to XimProtoPrivate to check 494 the timeout value. 495 496 Closes: #205 497 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 498 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 499 500commit 1181abd6ffede3ac5663a3a3d4ee66aef1fa553b 501Author: Takao Fujiwara <tfujiwar@redhat.com> 502Date: Fri Apr 12 10:50:33 2024 +0900 503 504 imDefLkup: Mark and unmark fabricated with serial 0 505 506 GTK2 applications with GTK_IM_MODULE=xim sets the serial number 0 507 to the XKeyEvent and the previous _XimFabricateSerial() logic did 508 not work for the applications. 509 Now the API marks to fabricate with the serial 0. 510 511 Closes: #205 512 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 513 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 514 515commit c7790072657f9fdbe8cda031776617088c5f11db 516Author: Takao Fujiwara <tfujiwar@redhat.com> 517Date: Fri Apr 12 10:21:43 2024 +0900 518 519 imDefLkup: Commit first info in XimCommitInfo 520 521 Xic.private.proto.commit_info can receive multiple XimCommitInfo 522 when typing keys very quickly like an bar code scanner (or evemu-play) 523 and the first info in XimCommitInfo should be committed to keep 524 the typing key order. 525 526 This and 041b5291 are same patches but the regression issues will be 527 fixed by the later patches. 528 529 Closes: #198 530 Fixes: 041b5291 ("imDefLkup: Commit first info in XimCommitInfo") 531 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 532 533commit 13e9ac4d458069c81d795f6b4842814d30431b4b 534Author: Takao Fujiwara <tfujiwar@redhat.com> 535Date: Fri Apr 12 10:21:41 2024 +0900 536 537 ximcp: Unmark to fabricate key events with XKeyEvent serial 538 539 _XimProtoKeypressFilter() and _XimProtoKeyreleaseFilter() can 540 receive XKeyEvent from both the typing on the keyboard and the 541 callback of XIM_FORWARD_EVENT. 542 543 If the filter functions unmark to fabricate XKeyEvent from the typing 544 on the keyboard during receiving XKeyEvent from the callback of 545 XIM_FORWARD_EVENT with typing keys very quickly likes an bar code 546 scanner (or evemu-play), XIM server cannot receive some key events and 547 it causes the key typing order to get scrambled. 548 549 Now XIM client saves the serial in XKeyEvent and the filter functions 550 unmark to fabricate XKeyEvent from the callback of XIM_FORWARD_EVENT 551 only. 552 553 This and 024d229f are same patches but the regression issues will be 554 fixed by the later patches. 555 556 Closes: #198 557 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") 558 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/246> 559 560commit a465588218c1643eedc35b3c24409cb775454eee 561Author: Alan Coopersmith <alan.coopersmith@oracle.com> 562Date: Fri Apr 5 15:50:06 2024 -0700 563 564 libX11 1.8.9 565 566 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 567 568commit 52a191ee096e93cf711f77b6a56c508b68afc0b6 569Author: Peter Hutterer <peter.hutterer@who-t.net> 570Date: Fri Apr 5 13:15:32 2024 +1000 571 572 Revert "ximcp: Unmark to fabricate key events with XKeyEvent serial" 573 574 This commit causes a regression, see #205, #206, #207, #208. 575 576 This reverts commit 024d229fdf88a7755577b01b46af6ef908d599e0. 577 578commit 3ea9f4f769fecbbc8c5210c5833ad83ab8d9e97e 579Author: Peter Hutterer <peter.hutterer@who-t.net> 580Date: Fri Apr 5 13:14:33 2024 +1000 581 582 Revert "imDefLkup: Commit first info in XimCommitInfo" 583 584 This commit causes a regression, see #205, #206, #207, #208. 585 586 This reverts commit 041b5291f0956c5cda5054be2981c0d02b009a4c. 587 588commit 9afd55ada5d7a3c1d3ed23ff8451629a1d989a7f 589Author: Alan Coopersmith <alan.coopersmith@oracle.com> 590Date: Mon Mar 25 11:51:03 2024 -0700 591 592 xlibi18n: restore parse_line1 for WIN32 builds 593 594 Accidentally removed by __UNIXOS2__ cleanup 595 Closes: #204 596 Fixes: 225a4bbb ("unifdef __UNIXOS2__") 597 598 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 599 600commit e4927d0c4fbf950bc45fc27309290e1911e75f42 601Author: Alan Coopersmith <alan.coopersmith@oracle.com> 602Date: Sun Mar 24 15:02:23 2024 -0700 603 604 libX11 1.8.8 605 606 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 607 608commit 4ab58f26d388c82ffe46ef1c7dd1cee6259eec8a 609Author: Alan Coopersmith <alan.coopersmith@oracle.com> 610Date: Wed Feb 21 18:23:36 2024 -0800 611 612 unifdef NULL_NOT_ZERO 613 614 I can't find any evidence this was ever defined, should only have 615 been needed for odd-ball pre-C89 compilers. 616 617 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 618 619commit 7bb2a5050a2f6049c92b301fae1cf89532b70060 620Author: Alan Coopersmith <alan.coopersmith@oracle.com> 621Date: Wed Feb 21 18:18:46 2024 -0800 622 623 unifdef USL_SHAREDLIB 624 625 I can't find any history of this being set in the imake or autoconf builds 626 627 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 628 629commit 4400a68b3a5ecacd1f997d41a0572544fa8fe544 630Author: Alan Coopersmith <alan.coopersmith@oracle.com> 631Date: Sat Feb 17 15:37:41 2024 -0800 632 633 unifdef Lynx 634 635 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 636 637commit 1e56b27429667e772b15b0f39863a8467297062b 638Author: Alan Coopersmith <alan.coopersmith@oracle.com> 639Date: Sun Feb 11 15:15:00 2024 -0800 640 641 unifdef __QNX__ 642 643 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 644 645commit ab0a3014822687da48cd3784253c34dea0a6ad2c 646Author: Alan Coopersmith <alan.coopersmith@oracle.com> 647Date: Sun Feb 11 15:10:59 2024 -0800 648 649 unifdef __uxp__ 650 651 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 652 653commit 4ce3962b701c502acc96b6eaf104a5ffc317c5d7 654Author: Alan Coopersmith <alan.coopersmith@oracle.com> 655Date: Sun Feb 11 15:07:15 2024 -0800 656 657 unifdef __vax__ 658 659 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 660 661commit 65a6f162fd9fee4e647ac49c546c5d6a1655c58c 662Author: Alan Coopersmith <alan.coopersmith@oracle.com> 663Date: Sun Feb 11 15:03:19 2024 -0800 664 665 unifdef __sgi_not_xconsortium 666 667 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 668 669commit 3296d7b8d14a6c114489d40b76e8da339e11b25c 670Author: Alan Coopersmith <alan.coopersmith@oracle.com> 671Date: Sun Feb 11 15:01:25 2024 -0800 672 673 unifdef __sgi 674 675 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 676 677commit 4322fff7e125c7975dc1b83c433b904c7d3384b5 678Author: Alan Coopersmith <alan.coopersmith@oracle.com> 679Date: Sun Feb 11 15:00:34 2024 -0800 680 681 unifdef sgi 682 683 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 684 685commit 613d3624c2cc0ab2f18206e165a3e4a02e261148 686Author: Alan Coopersmith <alan.coopersmith@oracle.com> 687Date: Sun Feb 11 14:59:28 2024 -0800 688 689 unifdef hpux 690 691 Also removes shl_load() support, which was only buildable for HP-UX 692 693 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 694 695commit 225a4bbbbd174e26cc408640e10f3c37f81f3a3f 696Author: Alan Coopersmith <alan.coopersmith@oracle.com> 697Date: Sun Feb 11 14:56:22 2024 -0800 698 699 unifdef __UNIXOS2__ 700 701 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 702 703commit 0df284b450933e0239d1a85a7ff2d0c9d44d22af 704Author: Alan Coopersmith <alan.coopersmith@oracle.com> 705Date: Sun Feb 11 14:50:29 2024 -0800 706 707 unifdef ultrix 708 709 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 710 711commit c3f3eb1284c59305568288923810dc155df6025c 712Author: Alan Coopersmith <alan.coopersmith@oracle.com> 713Date: Sun Feb 11 14:49:13 2024 -0800 714 715 unifdef AIXV3 716 717 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 718 719commit b35344c9a74b478509e33384cc99bcc4fd092a2d 720Author: Alan Coopersmith <alan.coopersmith@oracle.com> 721Date: Sun Feb 11 14:47:31 2024 -0800 722 723 unifdef __osf__ 724 725 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 726 727commit 041b5291f0956c5cda5054be2981c0d02b009a4c 728Author: Takao Fujiwara <tfujiwar@redhat.com> 729Date: Wed Jan 31 20:27:57 2024 +0900 730 731 imDefLkup: Commit first info in XimCommitInfo 732 733 Xic.private.proto.commit_info can receive multiple XimCommitInfo 734 when typing keys very quickly like an bar code scanner (or evemu-play) 735 and the first info in XimCommitInfo should be committed to keep 736 the typing key order. 737 738 Fixes: #198 739 740commit 024d229fdf88a7755577b01b46af6ef908d599e0 741Author: Takao Fujiwara <tfujiwar@redhat.com> 742Date: Wed Jan 31 20:26:40 2024 +0900 743 744 ximcp: Unmark to fabricate key events with XKeyEvent serial 745 746 _XimProtoKeypressFilter() and _XimProtoKeyreleaseFilter() can 747 receive XKeyEvent from both the typing on the keyboard and the 748 callback of XIM_FORWARD_EVENT. 749 750 If the filter functions unmark to fabricate XKeyEvent from the typing 751 on the keyboard during receiving XKeyEvent from the callback of 752 XIM_FORWARD_EVENT with typing keys very quickly likes an bar code 753 scanner (or evemu-play), XIM server cannot receive some key events and 754 it causes the key typing order to get scrambled. 755 756 Now XIM client saves the serial in XKeyEvent and the filter functions 757 unmark to fabricate XKeyEvent from the callback of XIM_FORWARD_EVENT 758 only. 759 760 Fixes: #198 761 762commit ae3eca18cec44a953789c7f77ffab888713ed132 763Author: Peter Hutterer <peter.hutterer@who-t.net> 764Date: Thu Nov 30 15:05:51 2023 +1000 765 766 Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons 767 768 XkbGetDeviceInfo(dpy, XkbXI_ButtonActionsMask, 2, 0, 0) always returns 769 NULL because the number of buttons on the device equals (unsurpisingly) 770 the number of buttons requested (i.e. first + nBtns == dev->nbuttons). 771 772 This currently causes it to bail out and return NULL. 773 774 Fixes f293659d5a4024bda386305bb7ebeb4647c40934 775 776commit 0a951047f64e87c5ab328084310bf27bcd4964f3 777Author: Walter Harms <wharms@bfs.de> 778Date: Mon Jan 8 17:18:19 2024 +0100 779 780 _XimProtoIMFree:no need to check arg for Xfree() 781 782 Xfree() will happily ignore NULL, no need to check 783 784commit dce614623e1f069d79d33a233305e0754fa2fd48 785Author: Walter Harms <wharms@bfs.de> 786Date: Mon Jan 8 17:01:44 2024 +0100 787 788 _XimEncodeString:no need to check arg for Xfree() 789 790 Xfree() will happily ignore NULL, no need to check 791 792commit 4f78b615806fa1cfe2bdcf3f7c868b8a00dede77 793Author: Walter Harms <wharms@bfs.de> 794Date: Mon Jan 8 16:50:52 2024 +0100 795 796 Fix XCreateIC() memory leak (Part 2) 797 798 Direct leak of 12 byte(s) in 2 object(s) allocated from: 799 #0 0x7f4f25c3f7a7 in strdup (/usr/lib64/libasan.so.6+0x5c7a7) 800 #1 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:818 801 #2 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:807 802 #3 0x7f4f252d2f0f in _XimSetICValueData libX11-1.8.3/modules/im/ximcp/imRm.c:2912 803 #4 0x7f4f252b536a in _XimLocalCreateIC libX11-1.8.3/modules/im/ximcp/imLcIc.c:176 804 #5 805 806 0x7f4f251f0105 in XCreateIC libX11-1.8.3/src/xlibi18n/ICWrap.c:251 807 808 detected and fix by Patrick Lerda <patrick9876@free.fr> 809 applied with adjustment, do changes when OOM (unlikely but good practise) 810 811commit ed0b97e480d7d07c24719007273989b2eb3e4046 812Author: Walter Harms <wharms@bfs.de> 813Date: Mon Jan 8 16:21:02 2024 +0100 814 815 _XimLocalDestroyIC:fix possible mem leak 816 817 Adapted: 818 Fix XCreateIC() memory leak by Patrick Lerda <patrick9876@free.fr> Part 1 819 820commit 07978634b8f4f7d9537c7f46ddcd48f2ab3efcb8 821Author: Walter Harms <wharms@bfs.de> 822Date: Mon Jan 8 15:16:11 2024 +0100 823 824 _XimLocalCreateIC: get rid of bzero 825 826commit 59c9a89e250d479334bdd4d800ca6cfa919b8fc3 827Author: Walter Harms <wharms@bfs.de> 828Date: Mon Jan 8 15:09:49 2024 +0100 829 830 _XimLocalCreateIC: minor cleanup 831 832 minor cleanup, no code change 833 834commit e5b14e59a16fa49c7e7af0acfc1e4311bebec536 835Author: Walter Harms <wharms@bfs.de> 836Date: Mon Jan 8 13:35:28 2024 +0100 837 838 _XimLocalCreateIC:no need to check arg for Xfree() 839 840 Xfree() will happily ignore NULL, no need to check 841 842commit e6310b5212f1dea184e1626ad5eeec167fcb41ac 843Author: Walter Harms <wharms@bfs.de> 844Date: Mon Jan 8 13:06:03 2024 +0100 845 846 _XimLocalDestroyIC: no need to check arg for Xfree() 847 848 Xfree() will happily ignore NULL, no need to check 849 850commit 1261802fb316f088504b99ffe80095d13825a85b 851Author: Walter Harms <wharms@bfs.de> 852Date: Sun Jan 7 18:30:30 2024 +0100 853 854 fix table width 855 856 the width of first column was to small and 857 caused a hyphenation. there is only one word, 858 fix for me. 859 860commit c745719e23af44a4b40ab4508447637b35d91a1e 861Author: Alan Coopersmith <alan.coopersmith@oracle.com> 862Date: Tue Oct 3 09:00:01 2023 -0700 863 864 libX11 1.8.7 865 866 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 867 868commit 7916869d16bdd115ac5be30a67c3749907aea6a0 869Author: Yair Mizrahi <yairm@jfrog.com> 870Date: Thu Sep 7 16:15:32 2023 -0700 871 872 CVE-2023-43787: Integer overflow in XCreateImage() leading to a heap overflow 873 874 When the format is `Pixmap` it calculates the size of the image data as: 875 ROUNDUP((bits_per_pixel * width), image->bitmap_pad); 876 There is no validation on the `width` of the image, and so this 877 calculation exceeds the capacity of a 4-byte integer, causing an overflow. 878 879 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 880 881commit b4031fc023816aca07fbd592ed97010b9b48784b 882Author: Alan Coopersmith <alan.coopersmith@oracle.com> 883Date: Thu Sep 7 16:12:27 2023 -0700 884 885 XCreatePixmap: trigger BadValue error for out-of-range dimensions 886 887 The CreatePixmap request specifies height & width of the image as CARD16 888 (unsigned 16-bit integer), so if either is larger than that, set it to 0 889 so the X server returns a BadValue error as the protocol requires. 890 891 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 892 893commit 73a37d5f2fcadd6540159b432a70d80f442ddf4a 894Author: Alan Coopersmith <alan.coopersmith@oracle.com> 895Date: Thu Sep 7 15:55:04 2023 -0700 896 897 XPutImage: clip images to maximum height & width allowed by protocol 898 899 The PutImage request specifies height & width of the image as CARD16 900 (unsigned 16-bit integer), same as the maximum dimensions of an X11 901 Drawable, which the image is being copied to. 902 903 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 904 905commit 204c3393c4c90a29ed6bef64e43849536e863a86 906Author: Alan Coopersmith <alan.coopersmith@oracle.com> 907Date: Thu Sep 7 15:54:30 2023 -0700 908 909 CVE-2023-43786: stack exhaustion from infinite recursion in PutSubImage() 910 911 When splitting a single line of pixels into chunks to send to the 912 X server, be sure to take into account the number of bits per pixel, 913 so we don't just loop forever trying to send more pixels than fit in 914 the given request size and not breaking them down into a small enough 915 chunk to fix. 916 917 Fixes: "almost complete rewrite" (Dec. 12, 1987) from X11R2 918 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 919 920commit 6858d468d9ca55fb4c5fd70b223dbc78a3358a7f 921Author: Alan Coopersmith <alan.coopersmith@oracle.com> 922Date: Sun Sep 17 14:19:40 2023 -0700 923 924 CVE-2023-43785: out-of-bounds memory access in _XkbReadKeySyms() 925 926 Make sure we allocate enough memory in the first place, and 927 also handle error returns from _XkbReadBufferCopyKeySyms() when 928 it detects out-of-bounds issues. 929 930 Reported-by: Gregory James DUCK <gjduck@gmail.com> 931 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 932 933commit 78b37accff1abbe713349d59fdefd963ffa04bbc 934Author: Alan Coopersmith <alan.coopersmith@oracle.com> 935Date: Sun Sep 17 10:11:02 2023 -0700 936 937 XOpenDisplay: ensure each screen has a valid root_visual pointer 938 939 Other code assumes this pointer cannot be NULL, so fail the connection 940 if a bug has caused the X server to give a non-existent visual ID for 941 the default visual of any screen. 942 943 Reported-by: Gregory James DUCK <gjduck@gmail.com> 944 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 945 946commit 3962080b7846d79fd3cf10b16eddacf68eb321b7 947Author: Antti Savolainen <antti.savo@gmail.com> 948Date: Tue Aug 8 11:37:03 2023 +0000 949 950 Add two compose sequences for dagger/obelisk symbols 951 952 The dagger symbol has several modern uses such as marking someone as 953 dead or something as extinct. Historically it has been used to indicate 954 a footnote. 955 956commit 15bbc81cf6b7c76b8a59cab6d77c9aba88b8562d 957Author: Christopher Chavez <chrischavez@gmx.us> 958Date: Sat Jul 29 16:58:05 2023 +0000 959 960 Xutil.h: use Bool for XEmptyRegion(), XEqualRegion() 961 962commit 5433cb93513c31e9cba2a447cf48d4b9aeb53285 963Author: Benno Schulenberg <bensberg@telfort.nl> 964Date: Mon Jul 17 08:02:09 2023 +0200 965 966 nls: add two compose sequences for currency symbol `฿` (the Thai baht) 967 968 The compose sequences are obvious: the capital B plus the vertical bar. 969 970 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 971 972commit 2ff401a472c5f210844cc358d5a27bd340546796 973Author: Benno Schulenberg <bensberg@telfort.nl> 974Date: Mon Jul 17 07:56:14 2023 +0200 975 976 nls: reshuffle the compose sequences for currencies into ascending order 977 978 That is: sort them according to code point. 979 980commit c0e2d42d411be3245498ffe6484b35421f096c02 981Author: Benno Schulenberg <bensberg@telfort.nl> 982Date: Mon Jul 17 07:27:14 2023 +0200 983 984 nls: add compose sequences for `₲` (guaraní), `₭` (kip), and `₮` (tugrik) 985 986 When Ghana, Nigeria, Costa Rica and El Salvador have compose sequences 987 for their currency symbols (cedi: `₵`, naira: `₦`, colón: `₡`), then 988 Paraguay, Laos, and Mongolia deserve to have such sequences as well. 989 990 The sequences should be obvious: the relevant capital letter of the 991 name of the currency (G, K, T) plus a vertical bar, a minus sign, 992 and an equals sign, respectively. 993 994 Also add two sequences for `$` (the dollar sign), for consistency. 995 996 Drop the tentative comments for drachma, penny, and austral, as those 997 currencies have been obsolete for more than twenty years. 998 999 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1000 1001commit d9fe5dc735c75398e36998c226d2418137229673 1002Author: Benno Schulenberg <bensberg@telfort.nl> 1003Date: Mon Jul 17 07:06:51 2023 +0200 1004 1005 nls: change result of sequence `<C> <bar>` from `¢` (CENT) to `₵` (CEDI) 1006 1007 As a cent is a small coin, it makes no sense to use an uppercase letter 1008 to compose the `¢` symbol -- having four sequences with a lowercase `c` 1009 plus a `bar` or a `slash` available for composing `¢` should be enough. 1010 1011 Use the sequence `<C> <bar` (with the uppercase `C`) for composing `₵` 1012 (the CEDI SIGN) instead. 1013 1014 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1015 1016commit 031e63060ed11eb8a876aac7515bc5a67371ed6b 1017Author: Antti Savolainen <antti.savo@gmail.com> 1018Date: Thu Aug 17 18:25:20 2023 +0300 1019 1020 nls: add a compose sequence with double dead_tilde for ≈ (almost equal to) 1021 1022 Some keyboards lack direct asciitilde and instead have only dead tilde. 1023 This compose sequence allows those keyboards to type the almost equal 1024 to sign. 1025 1026commit df2a18c4643bb4a50f2f795a75a905a1032a004a 1027Author: Benno Schulenberg <bensberg@telfort.nl> 1028Date: Mon Jul 17 17:03:16 2023 +0200 1029 1030 nls: delete twenty seven untypable Greek compose sequences 1031 1032 Only a few keyboard layouts contain the `dead_iota` keysym, and none 1033 of those layouts contains the `acute` keysym, so compose sequences 1034 that combine the two symbols cannot be typed and are thus useless. 1035 1036 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1037 1038commit 44f908d9283710ffc75b22d2ae7a8948119b3e61 1039Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1040Date: Sun Aug 20 15:11:04 2023 -0700 1041 1042 docs: fix names for XkbKeyKeyType & XkbKeyKeyTypeIndex 1043 1044 Implementation had "Key" twice in these macro names, 1045 but the docs had only listed it once. 1046 1047 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1048 1049commit 7b16c55063ba4eb258bf91c170e378c1e2d398bd 1050Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1051Date: Sun Aug 20 15:01:09 2023 -0700 1052 1053 docs: remove XkbKeySymsOffset 1054 1055 This function was documented but never implemented. 1056 1057 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1058 1059commit 41a157dfeefe943f5a79948e4f9ef93473144fd8 1060Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1061Date: Sun Aug 20 14:52:18 2023 -0700 1062 1063 docs: remove XkbGetNameChanges 1064 1065 This function was documented but never implemented. 1066 1067 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1068 1069commit 3442a8cee25dc0254ee69bcf83a89d287a86c97a 1070Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1071Date: Sun Aug 20 14:44:18 2023 -0700 1072 1073 docs: remove XkbChangeIndicators and Xkb{Get,Note}IndicatorChanges 1074 1075 These functions were documented but never implemented. 1076 1077 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1078 1079commit b7a15d6c6efd0bfddc81cf8443073c4bc1c9772d 1080Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1081Date: Sun Aug 20 14:31:20 2023 -0700 1082 1083 docs: XkbSAActionSetCtrls is really named XkbActionSetCtrls 1084 1085 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1086 1087commit a1d8dd726757e00e3a774b92456f5c742492475b 1088Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1089Date: Sun Aug 20 14:18:32 2023 -0700 1090 1091 docs: remove XkbGetStickyKeysOptions & XkbSetStickyKeysOptions 1092 1093 These functions were documented but never implemented. 1094 1095 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1096 1097commit bf13f197406fe745c5ff46a4748a41b6646aebf6 1098Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1099Date: Sun Aug 20 14:09:35 2023 -0700 1100 1101 docs: remove XkbGetSlowKeysDelay & XkbSetSlowKeysDelay 1102 1103 These functions were documented but never implemented. 1104 1105 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1106 1107commit caab7321d2ec14ee776ec329ed2facf0816a3136 1108Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1109Date: Sun Aug 20 14:04:15 2023 -0700 1110 1111 docs: remove XkbGetAccessXTimeout & XkbSetAccessXTimeout 1112 1113 These functions were documented but never implemented. 1114 1115 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1116 1117commit 843e89bd2467a58cb454705a09d095726b96d93f 1118Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1119Date: Sun Aug 20 12:58:47 2023 -0700 1120 1121 docs: remove XkbAllocDeviceLedInfo 1122 1123 This function was documented but never implemented. 1124 1125 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1126 1127commit 2686dd7a9d6e8e02ce2868e446cdec11617ffab4 1128Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1129Date: Sun Aug 20 12:41:42 2023 -0700 1130 1131 docs: finish removing XkbGetBounceKeysDelay & XkbSetBounceKeysDelay 1132 1133 These functions were documented but never implemented. 1134 1135 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1136 1137commit 188991fe7e41bbf2f384d0875ab2e25c936b0b41 1138Author: G. Branden Robinson <g.branden.robinson@gmail.com> 1139Date: Sat Jul 29 10:10:00 2023 -0700 1140 1141 configure script reports stray, confusing "yes" 1142 1143 Closes issue #194 1144 1145 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1146 1147commit 70f44d76fd8fad96f33ba5c80a394d68b77dda03 1148Author: Benno Schulenberg <bensberg@telfort.nl> 1149Date: Sun Jul 16 17:08:52 2023 +0200 1150 1151 nls: add, correct, and normalize some comments of compose sequences 1152 1153 Add comments for the Khmer digraphs, correct the comments for the 1154 Arabic lam-alef decompositions, and normalize the comments for the 1155 Breton digraphs and trigraphs. 1156 1157 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1158 1159commit 2a57c32e14779cf1c0c1d2da98a9cac21c00c095 1160Author: Benno Schulenberg <bensberg@telfort.nl> 1161Date: Sun Jun 25 10:01:05 2023 +0200 1162 1163 nls: harmonize the comments for compose sequences with combining accents 1164 1165 Replace the "WITH" with "plus" and lowercase the "AND" in the comments 1166 for sequences with combining accents, to make it slightly clearer that 1167 the resulting string consists of multiple code points. Also, use the 1168 word "COMBINING" in the names of the accents, so that these sequences 1169 can be easily grepped, and drop the redundant word "ACCENT". 1170 1171 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1172 1173commit 757ab5ddd86f6cdce24b8ae2c43206b7beb7ab44 1174Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1175Date: Mon Aug 14 08:33:28 2023 -0700 1176 1177 Remove XkbSetBounceKeysDelay.man from list of man pages to build 1178 1179 Fixes: f90e6bfa ("rm XkbSetBounceKeysDelay.man") 1180 1181 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1182 1183commit f90e6bface92fd192b26f03b7ae745661d9c2690 1184Author: Walter Harms <wharms@bfs.de> 1185Date: Sun Aug 13 22:42:50 2023 +0200 1186 1187 rm XkbSetBounceKeysDelay.man 1188 1189 there is no function XkbSetBounceKeysDelay(). 1190 It is listed in the specs but never implemented if someone 1191 does it, feel free to get the file back. 1192 1193 closes issue #105 1194 1195commit b2c3fb7b4dd4c4c7b9d28c7af7776cccc8e0a98b 1196Author: Benno Schulenberg <bensberg@telfort.nl> 1197Date: Sat Jul 8 08:11:39 2023 +0200 1198 1199 nls: use the shorter and more consistent name for the dead capital schwa 1200 1201 The `dead_SCHWA` name is available since xorgproto-2023.1, which was 1202 released last month. 1203 1204commit e45dff5c2a51ad0392061208a8ad33211d952385 1205Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1206Date: Fri Jun 16 11:37:20 2023 -0400 1207 1208 NLS: Drop two math sequences, slightly clean up APL sequences. 1209 1210 * Two compose sequences containing `leftshoe` and `rightshoe` are 1211 dropped as no keyboard layout uses these keysyms. 1212 * The compose sequences for `therefore` and `because` in the APL 1213 block are moved to ascending Unicode order. 1214 * The comments for the compose sequences for `U2299` are corrected to 1215 more accurately reflect its sequence nodes and its real name in 1216 Unicode. 1217 1218commit af2b6dfab1616dc85be9c9b196e4c56d00447851 1219Author: Benno Schulenberg <bensberg@telfort.nl> 1220Date: Sun Jun 25 09:09:21 2023 +0200 1221 1222 nls: delete twenty eight compose sequences that cannot be typed 1223 1224 The letters `Ǫ` (U+01EA, O with ogonek), `Ȩ` (U+0228, E with cedilla), 1225 `Ȯ` (U+022E, O with dot above), `Ạ` (U+1EA0, A with dot below), and 1226 their lowercase forms do not occur in any layout of xkeyboard-config, 1227 meaning that the compose sequences that contained these letters could 1228 not be typed. Delete their dead weight. 1229 1230 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1231 1232commit ab0442d3fa835ce16559b29532ac7f674f8557f4 1233Author: Benno Schulenberg <bensberg@telfort.nl> 1234Date: Sat Jun 24 09:46:07 2023 +0200 1235 1236 nls: remove four unobvious and redundant compose sequences for ¥ (yen) 1237 1238 Composing ¥ with Y and a minus sign seems to have been added in analogy 1239 to composing £ with L and a minus sign. But ¥ clearly has a double line 1240 through it, so using the equals sign for this is far more logical (and 1241 those compose sequences of course exist). Also, L plus an equals sign 1242 produces ₤ (lira), not £ (sterling). So... make these sequences more 1243 consistent and allow composing ¥ only with Y/y plus an equals sign. 1244 1245 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1246 1247commit 933912480c08495428d45988eebb48fcbe62f14b 1248Author: Benno Schulenberg <bensberg@telfort.nl> 1249Date: Sat Jun 24 10:02:45 2023 +0200 1250 1251 nls: order a few compose sequences left first, and in mirroring pairs 1252 1253commit 178c4fefd3b0b4be5e69274108b86a51f08ec3a6 1254Author: Benno Schulenberg <bensberg@telfort.nl> 1255Date: Fri Jun 16 09:33:03 2023 +0200 1256 1257 nls: remove three duplicated combining acute accents 1258 1259 For the Cyrillic YU with combining acute accent, the string between 1260 the quotes contained two U+0301 code points, whereas one is enough, 1261 like for all the neighboring strings. 1262 1263 (This duplication was found by accident with `nano --mini --cons`.) 1264 1265commit 695e90ad26f632feb0f58ad94882fb3a263bf114 1266Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1267Date: Thu Jun 15 09:14:48 2023 -0700 1268 1269 libX11 1.8.6 1270 1271 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1272 1273commit 304a654a0d57bf0f00d8998185f0360332cfa36c 1274Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1275Date: Sat Jun 10 16:30:07 2023 -0700 1276 1277 InitExt.c: Add bounds checks for extension request, event, & error codes 1278 1279 Fixes CVE-2023-3138: X servers could return values from XQueryExtension 1280 that would cause Xlib to write entries out-of-bounds of the arrays to 1281 store them, though this would only overwrite other parts of the Display 1282 struct, not outside the bounds allocated for that structure. 1283 1284 Reported-by: Gregory James DUCK <gjduck@gmail.com> 1285 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1286 1287commit 71b08b8af20474bb704a11affaa8ea39b06d5ddf 1288Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1289Date: Wed May 31 17:45:40 2023 -0700 1290 1291 libX11 1.8.5 1292 1293 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1294 1295commit 03ba0140940cc76524d83096a47309f5c398541f 1296Author: Benno Schulenberg <bensberg@telfort.nl> 1297Date: Mon May 22 12:02:06 2023 +0200 1298 1299 nls: use a slash instead of a combining solidus in compose sequences 1300 1301 First: combining diacritics like the combining long solidus (`U+0338`) 1302 are not meant to be used in compose sequences. Second: there is just 1303 one layout in xkeyboard-config that contains the `U0338` character: 1304 the deprecated/obsolete German T3 layout. So, practically speaking, 1305 these compose sequences with `U0338` were untypable. So, use a slash 1306 instead, that almost all layouts have. This does require that the 1307 sequence `<Compose> <less> <slash>` changes its meaning from backslash 1308 to not-less-than (`≮`). This seems like an acceptable sacrifice, as 1309 the sequence `<Compose> <slash> <slash>` is a faster/easier sequence 1310 for the backslash and most layouts contain a backslash already anyway. 1311 1312 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1313 1314commit 616701317e25b2c0f509f4d93af5dee6de09012d 1315Author: Benno Schulenberg <bensberg@telfort.nl> 1316Date: Mon May 22 11:19:32 2023 +0200 1317 1318 nls: delete six compose sequences that cannot be typed 1319 1320 None of the layouts in xkeyboard-config contain `Ohook` or `Uhook` 1321 or `U+01D3` (U with caron) nor their lowercase forms, so these six 1322 sequences cannot be typed on any known keyboard. 1323 1324 (Also, the target characters of the sequences with hook and horn 1325 seem to occur only in Vietnamese, where the horn is part of the 1326 vowel and the hook is a tonal mark. All Vietnamese layouts in 1327 xkeyboard-config contain `Ohorn` and `Uhorn`, and then the five 1328 tonal marks as dead keys, `dead_hook` among them. It does not 1329 make sense to want to apply a horn to a vowel that already has 1330 a tonal mark, nor is it possible with the Vietnamese layouts.) 1331 1332 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1333 1334commit 35d9621d78cb196b4ccd3ee1baa1ce2a21e4674b 1335Author: Benno Schulenberg <bensberg@telfort.nl> 1336Date: Sun May 21 16:17:32 2023 +0200 1337 1338 nls: sort three sequences alphabetically in their group, like all others 1339 1340 Also, consistently form uppercase+lowercase pairs, like for most others. 1341 1342commit 208d550954c7266fa8093b02a2a97047e1478c00 1343Author: Benno Schulenberg <bensberg@telfort.nl> 1344Date: Thu Apr 13 17:25:35 2023 +0200 1345 1346 nls: make the Amharic compose sequences use the dead-vowel symbols 1347 1348 Last year, commit 488b156fe2 changed mistaken ASCII characters to the 1349 code points that were actually used in the Ethiopian keyboard layout. 1350 1351 But those code points were mistaken too: the intention was not to use 1352 the code point U+FE68 in the layout but the raw symbol code 0xfe68 -- 1353 and so on for the other codes. The symbols that these raw codes were 1354 intended to refer to were `dead_a` and friends. But these dead vowels 1355 were added under different codes: 0xfe80 to 0xfe8b. 1356 1357 So, correct the Amharic compose sequences to make use of the dead-vowel 1358 symbols that were specifically added for them fifteen years ago. 1359 1360 (As soon as this is merged, xkeyboard-config wil be changed too to use 1361 the dead vowels in the Ethiopian layout.) 1362 1363 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1364 1365commit 96cbac89a02220eb21e13ca5fa7c8c5adf77028a 1366Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1367Date: Fri Mar 31 09:47:03 2023 -0400 1368 1369 nls: add compose sequence for capital schwa, and delete a deviant one 1370 1371 This sequence has already been defined in the iso8859-9e compose 1372 file meant for the Azerbaijani locale, yet for the longest time, only 1373 the lowercase form has existed in the en_US.UTF-8 master compose 1374 file. This patch adds one sequence for Latin Capital Letter Schwa for 1375 the Azerbaijani language. 1376 1377 Additionally, the sequence in the pt_BR.UTF-8 locale for capital 1378 schwa has been removed as it uses two lowercase e's as part of its 1379 sequence, which in practice would make typing both `Multi_key e e` 1380 and `Multi_key E E` output capital schwa. 1381 1382commit a6528d92b3865adb4f9951df91a714f55f56d59e 1383Author: Benno Schulenberg <bensberg@telfort.nl> 1384Date: Tue Apr 4 11:35:44 2023 +0200 1385 1386 XSetScreenSaver.man: restore the part that was accidentally snipped 1387 1388 Four years ago, while removing private macros, commit fe46eb2871 1389 unintentionally truncated the XSetScreenSaver manpage. Restore 1390 the snipped part (minus trailing spaces and a mistaken singular). 1391 1392 This fixes issue #187. 1393 1394 Reported-by: Sergio Gelato 1395 1396 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1397 1398commit eb166af8f9f4184108fe8e0611a09af03d12059e 1399Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1400Date: Fri Mar 24 08:37:32 2023 -0400 1401 1402 NLS: Remove strange dead_cedilla cedi sign sequences 1403 1404 These sequences appear to be a leftover artifact of auto-generating 1405 dead_currency sequences for cent and the cedi sign, where chaining 1406 with ascii "c" vs "ccedilla" would output cent vs the cedi sign 1407 respectively, but somehow this ended up creating strange sequences 1408 with dead_cedilla followed by cent or the colon sign to output the 1409 cedi sign, the latter sequence of which was already removed recently. 1410 Additionally, sequences beginninng with dead_cedilla followed by 1411 currency have been removed as they also appear to be related to these 1412 artifacts. The two remaining sequences beginning with dead_currency 1413 followed by dead_cedilla are maintained and moved to the stretch of 1414 dead_currency sequences next to ccedilla, and sorted in order of 1415 unicode decompositional complexity. 1416 1417commit 6e889f34679bb96f4d61ef069259c042cb4a9a59 1418Author: Benno Schulenberg <bensberg@telfort.nl> 1419Date: Fri Mar 24 09:41:48 2023 +0100 1420 1421 nls: remove twenty two untypable Greek compose sequences 1422 1423 None of the keyboard layouts in xkeyboard-config contains accented 1424 Greek characters like `Greek_alphaaccent` or `Greek_iotadieresis` 1425 (nor in their Unicode hexadecimal forms, like U03AC or 0x10003CA), 1426 so none of these sequences could be typed on an existing layout. 1427 1428 Also, the two sequences that started with `Greek_accentdieresis` 1429 were plain wrong: making a spacing character into a dead key. 1430 1431 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1432 1433commit 98be4cb23a5eadc98f81f05c4696f687119152c8 1434Author: Benno Schulenberg <bensberg@telfort.nl> 1435Date: Fri Mar 24 09:00:48 2023 +0100 1436 1437 nls: remove four hundred and sixty untypable Greek compose sequences 1438 1439 None of the keyboard layouts in xkeyboard-config contains code points 1440 in the range U+1F00..U+1FFF (the Greek Extended block), so none of the 1441 removed sequences could be typed on an existing layout. 1442 1443 (Of course it is possible that some people have their own private layout 1444 that contains some of the Greek Extended characters, but if they do, 1445 then they can also define private compose sequences, when needed.) 1446 1447 Modern Greek does not use these characters with polytonic diacritics 1448 anyway -- they are useful only for typing traditional Greek. 1449 1450 The useless sequences were removed with this command: 1451 1452 sed -i '/<U1F..>/d' nls/en_US.UTF-8/Compose.pre 1453 1454 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1455 1456commit ff8706a5eae25b8bafce300527079f68a201d27f 1457Author: Benno Schulenberg <bensberg@telfort.nl> 1458Date: Wed Jun 15 11:54:54 2022 +0200 1459 1460 nls: delete compose sequences that pointlessly mix upper and lower case 1461 1462 It's nice to have compose sequences for things like © and ®, but allowing 1463 them to be composed also with letters of different case is unneeded. It 1464 is good enough to have sequences of only lowercase and only uppercase. 1465 1466 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1467 1468commit ca99e338a9b8aad300933b1336f9e3c091392213 1469Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1470Date: Sun Mar 12 15:13:27 2023 +0000 1471 1472 NLS: move dead-caron subscript compositions to the relevant Unicode block 1473 1474commit dac2985b347cebc0f631e43e41eaeddb68de1676 1475Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1476Date: Sun Mar 12 14:49:47 2023 +0000 1477 1478 NLS: implement the expansion of the six Breton N-graph keysyms 1479 1480 These one-keysym-to-multiple-characters sequences will allow fully defining 1481 the Breton keyboard layout, without needing custom compose sequences. 1482 1483commit e45ca7b41dcd3ace7681d6897505f85d374640f2 1484Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1485Date: Tue Mar 14 10:22:48 2023 -0700 1486 1487 gitlab CI: add workflow rules 1488 1489 Needed due to the gitlab config changes described in: 1490 https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 1491 1492 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1493 1494commit 72eeeb6dedc39f68608312eb0001f77fffccd499 1495Author: jmcwilliams403 <jmcwilliams403@gmail.com> 1496Date: Sun Mar 5 13:33:38 2023 +0000 1497 1498 NLS: move long S compositions to respective blocks 1499 1500commit 8bbbed75a20556e41658103265974decee974645 1501Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1502Date: Sat Mar 4 10:44:45 2023 -0800 1503 1504 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL 1505 1506 AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, 1507 so it's time to rely on it. 1508 1509 Clears autoconf warnings: 1510 1511 configure.ac:20: warning: The macro `AC_PROG_LIBTOOL' is obsolete. 1512 configure.ac:20: You should run autoupdate. 1513 m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... 1514 configure.ac:20: the top level 1515 1516 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1517 1518commit 53bf8584e8d7d5d4a4a8114bff26a6f631c7fac1 1519Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1520Date: Mon Feb 6 14:09:45 2023 -0800 1521 1522 configure: replace deprecated AC_HELP_STRING with AS_HELP_STRING 1523 1524 This silences an autoconf warning. 1525 1526 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1527 1528commit 31a9451111fb1e3ae1199d44f94cd0b134ca455d 1529Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1530Date: Mon Feb 6 13:13:21 2023 -0800 1531 1532 configure: raise minimum autoconf requirement to 2.70 1533 1534 Needed for builds on NetBSD to work correctly, since it depends on 1535 AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the 1536 prototype for reallocarray() in the system headers. 1537 1538 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1539 1540commit 1ba02f878f83e3b42389547e01b24371f0a50e60 1541Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1542Date: Mon Feb 6 13:32:02 2023 -0800 1543 1544 gitlab CI: Add libtool to required packages 1545 1546 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1547 1548commit fc5ec8edda1efdf5d66db4e76796e3c407527b3b 1549Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1550Date: Sat Feb 4 12:02:29 2023 -0800 1551 1552 libX11 1.8.4 1553 1554 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1555 1556commit ba548ed1688d4d5a83913218155d0ddf616ff176 1557Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1558Date: Sun Jan 15 11:39:20 2023 -0800 1559 1560 configure: options summary should say "libX11", not just "X11" 1561 1562 We're not configuring the entire window system here, just one library 1563 1564 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1565 1566commit eb1c272ab5230d548077b9f59aca4b3457c3a8f8 1567Author: GaryOderNichts <garyodernichts@gmail.com> 1568Date: Sat Dec 17 16:28:40 2022 +0100 1569 1570 Fix a9e845 and 797755 Allow X*IfEvent() to reenter libX11 1571 1572commit 0c7c4ce875ea65160705180ebb68a2c88afb678e 1573Author: Benno Schulenberg <bensberg@telfort.nl> 1574Date: Thu Nov 3 17:25:29 2022 +0100 1575 1576 nls: add two compose sequences for capital B with stroke, for consistency 1577 1578 Two compose sequences (with plain ASCII characters) existed for 1579 the lowercase b with stroke (ƀ) but not for the capital one (Ƀ). 1580 1581 This addresses part of issue #166. 1582 1583 Reported-by: J. McWilliams 1584 1585 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1586 1587commit a80ef097e713aba0330b9cf9f3c1e309084b926f 1588Author: Benno Schulenberg <bensberg@telfort.nl> 1589Date: Thu Nov 3 16:48:03 2022 +0100 1590 1591 nls: delete twelve compose sequences that cannot be typed 1592 1593 There is not any keyboard layout (in xkeyboard-config) that contains 1594 `obelowdot` or `ubelowdot`, so having compose sequences that use these 1595 symbols is pointless. 1596 1597 There are some layouts that contain `otilde` (and one that contains 1598 `utilde`), but those layouts then do not contain `dead_horn`, so 1599 the compose sequences that combine the two symbols are pointless. 1600 1601 There are a few layouts that contain U+0256, U+025C, U+025F or U+0279, 1602 but those layouts do not contain `dead_hook`, so the compose sequences 1603 that combine the latter with one of the former are pointless. 1604 1605 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1606 1607commit 078cc39f05ddfd6166762f3166129258ddd07dd3 1608Author: Benno Schulenberg <bensberg@telfort.nl> 1609Date: Thu Nov 3 16:31:04 2022 +0100 1610 1611 nls: delete 88 compose sequences that have the accents in the wrong order 1612 1613 The various compose sequences with the accents in their proper order 1614 (the highest placed accent first) continue to exist. 1615 1616 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1617 1618commit aa5ef0ba80558f946871f574d38a15673e66221e 1619Author: Benno Schulenberg <bensberg@telfort.nl> 1620Date: Thu Nov 3 16:27:51 2022 +0100 1621 1622 nls: move the compose sequences for Ș and Ț to the fitting Unicode block 1623 1624 This addresses a side note of issue #166. 1625 1626 Reported-by: J. McWilliams 1627 1628 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1629 1630commit 82c25879b72f1ba7e9abe00e7bad55add33135cf 1631Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1632Date: Wed Jan 4 11:25:48 2023 -0800 1633 1634 xlibi18n: Update Imake instructions to autoconf equivalent in comments 1635 1636 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1637 1638commit 88399e01be679bfcc9a5e8922ffe2c47f0e56dee 1639Author: Yuxuan Shui <yshuiv7@gmail.com> 1640Date: Tue Jan 3 15:09:28 2023 +0000 1641 1642 Revert "Update XPutBackEvent() to support clients that put back unpadded events" 1643 1644 This reverts commit d6d6cba90215d323567fef13d6565756c9956f60. 1645 1646 The reverted commit intended to fix the problem where an unpadded X 1647 event struct is passed into XPutBackEvent, by creating a padded struct 1648 with _XEventToWire and _XWireToEvent. However, _XWireToEvent updates the 1649 last sequence number in Display, which may cause xlib to complain about 1650 lost sequence numbers. 1651 1652 IMO, the problem that commit tried to solve is a bug in the client 1653 library, and workaround it inside Xlib is bad practice, especially given 1654 the problem it caused. Plus, the offender cited in the original commit 1655 message, freeglut, has already fixed this problem. 1656 1657 Fixes: #176 #174 1658 1659 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com> 1660 1661commit 48487c4b9028e9eec5371742f51e1d64c2e17296 1662Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1663Date: Thu Dec 15 14:52:20 2022 -0800 1664 1665 libX11 1.8.3 1666 1667 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1668 1669commit d6d6cba90215d323567fef13d6565756c9956f60 1670Author: Keith Packard <keithp@keithp.com> 1671Date: Sun Dec 11 10:32:26 2022 -0800 1672 1673 Update XPutBackEvent() to support clients that put back unpadded events 1674 1675 It seems to be common practice of some X11 clients to pass specific event 1676 types into APIs that take XEvent*. For example, freeglut does: 1677 1678 XConfigureEvent fakeEvent = {0}; 1679 ... 1680 XPutBackEvent(fgDisplay.Display, (XEvent*)&fakeEvent); 1681 1682 This can result in reads overflowing the input event when libX11 does: 1683 1684 XEvent store = *event; 1685 1686 ================================================================= 1687 ==75304==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x00016ee4a8e8 at pc 0x000101c54d14 bp 0x00016ee4a0d0 sp 0x00016ee49888 1688 READ of size 192 at 0x00016ee4a8e8 thread T0 1689 #0 0x101c54d10 in __asan_memcpy+0x1a4 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x3cd10) 1690 #1 0x102848a18 in _XPutBackEvent PutBEvent.c:41 1691 #2 0x1028490a4 in XPutBackEvent PutBEvent.c:84 1692 #3 0x1013295c8 in fgOpenWindow freeglut_window.c:1178 1693 #4 0x101321984 in fgCreateWindow freeglut_structure.c:108 1694 #5 0x10132b138 in glutCreateWindow freeglut_window.c:1551 1695 #6 0x100fb7d94 in main+0x78 (checkeredTriangles:arm64+0x100003d94) 1696 #7 0x197de3e4c (<unknown module>) 1697 1698 Address 0x00016ee4a8e8 is located in stack of thread T0 at offset 840 in frame 1699 #0 0x1013282f8 in fgOpenWindow freeglut_window.c:1063 1700 1701 This frame has 8 object(s): 1702 [32, 40) 'title.addr' 1703 [64, 176) 'winAttr' (line 1066) 1704 [208, 240) 'textProperty' (line 1067) 1705 [272, 352) 'sizeHints' (line 1068) 1706 [384, 440) 'wmHints' (line 1069) 1707 [480, 672) 'eventReturnBuffer' (line 1070) 1708 [736, 740) 'num_FBConfigs' (line 1072) 1709 [752, 840) 'fakeEvent' (line 1074) <== Memory access at offset 840 overflows this variable 1710 1711 This change allows XPutBackEvent() to support such clients without 1712 risk of memory read overflow. 1713 1714 Reviewed-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 1715 Tested-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 1716 1717commit 496d9bfeedda89a2211ec665f9214c2693c022f4 1718Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 1719Date: Sat Dec 3 16:26:47 2022 -0800 1720 1721 ximcp: Address warning found by UBSan when growing an empty tree 1722 1723 imLcPrs.c:681:52: runtime error: applying zero offset to null pointer 1724 1725 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> 1726 1727commit 7f7bcd7b6f569e9f70e3ddd134924f178e2596b1 1728Author: Takao Fujiwara <tfujiwar@redhat.com> 1729Date: Tue Dec 6 16:59:56 2022 +0000 1730 1731 nls: consecutive cs number in en_US.UTF-8/XLC_LOCALE 1732 1733commit ba095967349dff583bd0989d0ba78aa334e9bedf 1734Author: Ulrich Sibiller <uli42@gmx.de> 1735Date: Wed Nov 30 23:47:29 2022 +0100 1736 1737 ChkIfEv.c: fix wrong handling of dpy->in_ifevent 1738 1739 Is no longer a bool but a counter. 1740 1741 Signed-off-by: Ulrich Sibiller <uli42@gmx.de> 1742 1743commit 70eaf1174e2809d1a6c43868d53f8cd844ef636a 1744Author: Ulrich Sibiller <uli42@gmx.de> 1745Date: Wed Nov 30 23:42:02 2022 +0100 1746 1747 Indentation fixes around recent dpy->in_ifevent changes 1748 1749 Use the same indentation as the surrounding code. 1750 1751 Signed-off-by: Ulrich Sibiller <uli42@gmx.de> 1752 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1753 1754commit a9e845809bcaae22496bc8aa3ca252b410d5f39b 1755Author: Matthieu Herrb <matthieu@herrb.eu> 1756Date: Fri Nov 11 18:55:23 2022 +0100 1757 1758 Fix 797755 Allow X*IfEvent() to reenter libX11 1759 1760 - the activation logic is reversed 1761 - there is also _XInternalLockDisplay() that needs protection 1762 - I've found cases (in fvwm2) where the callback calls XCheckIfEvent() 1763 recursively. So the flag needs to be a counter. 1764 1765 Reviewed-by: Adam Jackson <ajax@redhat.com> 1766 1767commit bccd787a565d3a88673bfc06574c1939f98d8d72 1768Author: Nia Alarie <nia@NetBSD.org> 1769Date: Thu Nov 10 22:31:47 2022 +0100 1770 1771 Don't use pragma inside a function, it breaks compiling with older GCCs. 1772 1773 XKBBind.c:230: error: #pragma GCC diagnostic not allowed inside functions 1774 1775 Signed-off-by: Thomas Klausner <wiz@gatalith.at> 1776 1777commit 696d19d5db7bcb1c1f582c2b1846520e7e0870cb 1778Author: Oliver <halting@riseup.net> 1779Date: Fri Nov 11 17:04:00 2022 +0000 1780 1781 Add XFreeThreads function. 1782 1783commit b4f24b272c6ef888b6fcfcf80670c196b2e8f755 1784Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1785Date: Thu Nov 10 12:18:17 2022 -0800 1786 1787 libX11 1.8.2 1788 1789 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1790 1791commit 77629ea5e79fa9b1596438bc36cfc7e0c631af43 1792Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1793Date: Thu Nov 3 13:00:50 2022 -0700 1794 1795 README.md: Add 1.8.2 changes 1796 1797 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1798 1799commit d1baf2ec4869dea3732d6fe13ba4935cb6caad01 1800Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1801Date: Thu Nov 3 11:22:37 2022 -0700 1802 1803 Remove NEWS file which only covered 2006 & 2007 releases 1804 1805 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1806 1807commit 1294bfa487bdecfd32621822922fec03203ee188 1808Author: Po Lu <luangruo@yahoo.com> 1809Date: Mon Oct 3 08:44:59 2022 +0800 1810 1811 specs: document change in XIMPreeditCallbacks 1812 1813 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1814 1815commit 1a7e54609ce4dc0f2d3b933502437a413cf3dea8 1816Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1817Date: Thu Nov 3 14:44:22 2022 -0700 1818 1819 man pages: document XCloseIM frees its argument 1820 1821 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1822 1823commit a04b84f0f7bb3a78088756759f4b9b8bb363251e 1824Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1825Date: Thu Nov 3 20:31:31 2022 +0000 1826 1827 Copyright & license cleanup 1828 1829commit 5e41119d9611504ff7e61c6aa4da1df708096801 1830Author: Benno Schulenberg <bensberg@telfort.nl> 1831Date: Mon Oct 31 12:42:51 2022 +0100 1832 1833 nls: reshuffle a few compose sequences, to have similar ones together 1834 1835 It makes more sense to have similar sequences grouped together 1836 than to rigidly follow the order of ascending Unicode codes. 1837 1838commit 65d89342f59cfc2eac9bf8010076b937f22554e8 1839Author: Benno Schulenberg <bensberg@telfort.nl> 1840Date: Mon Oct 31 12:50:11 2022 +0100 1841 1842 nls: remove two compose sequences that use deprecated symbols 1843 1844 The last few occurrences of `leftcaret` and `rightcaret` were replaced 1845 with `less` and `greater` in xkeyboard-config half a year ago. 1846 1847commit 6baccbae5324e7342cb5176cae82f463a6b34eae 1848Author: Benno Schulenberg <bensberg@telfort.nl> 1849Date: Mon Oct 31 12:40:12 2022 +0100 1850 1851 nls: let `<Multi_key> <minus> <underscore>` compose U+2212 (MINUS SIGN) 1852 1853 There was not yet any way to compose the Unicode minus sign, U+2212. 1854 1855commit 79775575418fd6f8ee1c5e5bbe403df4606fb5b6 1856Author: Adam Jackson <ajax@redhat.com> 1857Date: Fri Aug 5 15:19:08 2022 -0400 1858 1859 Allow X*IfEvent() to reenter libX11 1860 1861 The documentation for this family of functions very clearly says not to 1862 call into xlib in your predicate function, but historically single 1863 threaded apps could get away with it just fine, and now that we've 1864 forced thread-safety on the world such apps will now deadlock instead. 1865 That's not an acceptable regression even if the app is technically 1866 broken. This has been reported with XFCE and FVWM, and Motif's 1867 cut-and-paste code has the same bug by inspection, so this does need to 1868 be addressed. 1869 1870 This change nerfs LockDisplay/UnlockDisplay while inside the critical 1871 bit of an IfEvent function. This is still safe in the sense that the 1872 display remains locked and no other thread should be able to change it 1873 from under us, but the loop that scans the event queue might not be 1874 robust against it being modified as a side effect of protocol emitted by 1875 the predicate callback. But that's not new, non-XInitThreads'd xlib 1876 would have the same caveat. 1877 1878 Closes: xorg/lib/libx11#157 1879 1880commit 0d1d65bdd98966f52bcac4077f94827b20b229dd 1881Author: Benno Schulenberg <bensberg@telfort.nl> 1882Date: Fri Oct 21 12:18:25 2022 +0200 1883 1884 nls: change <Compose> <^> <-> to mean superscript minus instead of macron 1885 1886 Several other `<Multi_key> <asciicircum> <symbol>` sequences 1887 produce the superscript equivalent of the given symbol. So, 1888 let `<Multi_key> <asciicircum> <minus>` do the same. 1889 1890 Also, add two other sequences for producing a plain macron, 1891 to compensate a bit the loss of the above sequence. 1892 1893 Additionally, make `<Multi_key> <underscore> <minus>` produce 1894 a subscript minus, for consistency. 1895 1896 This fixes issue #165. 1897 1898 Requested-by: J. McWilliams 1899 1900 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1901 1902commit 310898270787c1a3a6ab50221324f8654dddce8e 1903Author: Jan Tojnar <jtojnar@gmail.com> 1904Date: Thu Oct 20 07:10:58 2022 +0000 1905 1906 nls: Map sr locales to sr_RS compose files 1907 1908 Serbian used sr_YU (Yugoslavia) code in the past. 1909 Then it was succeeded by sr_CS (Serbia and Montenegro). 1910 Finally, it was split into sr_RS (Serbia) and sr_ME (Montenegro). 1911 1912 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 1913 introduced the modern sr_RS and sr_ME codes. 1914 1915 Next, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/40761898692e5063957bfa2518cca3d35b2e354a 1916 added the Serbian compose table but only for the legacy sr_CS entry. 1917 1918 https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/5cd60398b7787297008b13a848ed3cfbd7ef178d 1919 removed the legacy sr_CS entry, the only one pointing to the correct compose file. 1920 It also renamed the file to sr_RS, but did not update the compose mapping. 1921 1922 Let’s point all Serbian locales to the Compose file again. 1923 1924commit a35d706cd8dc7b498bca2a3fc4a3732047439ed7 1925Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1926Date: Fri Oct 14 13:40:37 2022 -0700 1927 1928 COPYING: remove notice for the removed UIThrStubs.c 1929 1930 Fixes: 701e9e9a ("Use same pthread-stubs as libxcb") 1931 1932 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1933 1934commit 3b1750e982fedce0d61bface68aadcd5b1ea1fae 1935Author: Benno Schulenberg <bensberg@telfort.nl> 1936Date: Fri Oct 14 09:28:42 2022 +0200 1937 1938 nls: delete two compose sequences with an anomalous post-fixed breve 1939 1940 Two years ago, commit b126bfd7fe allowed using also a lowercase `u` 1941 wherever an uppercase `U` was used to represent a breve. But the 1942 commit should have limited itself to only the prefixed uses of `U`, 1943 as that is how most letters with a breve are composed. 1944 1945 Also, group the two compose sequences with an uppercase post-fixed `U` 1946 together with the corresponding other post-fixed sequences. 1947 1948 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 1949 1950commit 701e9e9afb88bdc68c84a4611adc533400a3df36 1951Author: Alan Coopersmith <alan.coopersmith@oracle.com> 1952Date: Tue Oct 4 11:24:57 2022 -0700 1953 1954 Use same pthread-stubs as libxcb 1955 1956 Avoid conflicts when libX11 calls libxcb and gets its pthread functions 1957 overriding our ancient stubs. 1958 1959 v2: Keep linking with real threads libraries when thread safety 1960 constructor is enabled. 1961 1962 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1963 1964commit 1d11822601fd24a396b354fa616b04ed3df8b4ef 1965Author: Thomas E. Dickey <dickey@invisible-island.net> 1966Date: Tue Oct 4 18:26:17 2022 -0400 1967 1968 fix a memory leak in XRegisterIMInstantiateCallback 1969 1970 Analysis: 1971 1972 _XimRegisterIMInstantiateCallback() opens an XIM and closes it using 1973 the internal function pointers, but the internal close function does 1974 not free the pointer to the XIM (this would be done in XCloseIM()). 1975 1976 Report/patch: 1977 1978 Date: Mon, 03 Oct 2022 18:47:32 +0800 1979 From: Po Lu <luangruo@yahoo.com> 1980 To: xorg-devel@lists.x.org 1981 Subject: Re: Yet another leak in Xlib 1982 1983 For reference, here's how I'm calling XRegisterIMInstantiateCallback: 1984 1985 XSetLocaleModifiers (""); 1986 XRegisterIMInstantiateCallback (compositor.display, 1987 XrmGetDatabase (compositor.display), 1988 (char *) compositor.resource_name, 1989 (char *) compositor.app_name, 1990 IMInstantiateCallback, NULL); 1991 1992 and XMODIFIERS is: 1993 1994 @im=ibus 1995 1996 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 1997 1998commit 1f8fd7ff1cf688ec1d3b34397c6d58110bb0cae5 1999Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2000Date: Mon Sep 26 16:01:40 2022 -0700 2001 2002 If thread-safety-constructor is enabled, link against pthreads not stubs 2003 2004 Only really makes a difference if pthreads is not in libc. 2005 2006 Fixes: #162 2007 2008 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2009 Reviewed-by: Adam Jackson <ajax@redhat.com> 2010 2011commit bfe5d2dd98f705438b0cdddbbf9c12882da89bae 2012Author: Thomas E. Dickey <dickey@invisible-island.net> 2013Date: Sun Sep 11 11:44:41 2022 -0400 2014 2015 reduce compiler warnings with casts (no object change) 2016 2017 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2018 2019commit 926f2454bca9a7a7d1f4cf0648b0c193f5cef644 2020Author: Thomas E. Dickey <dickey@invisible-island.net> 2021Date: Sun Sep 11 10:35:31 2022 -0400 2022 2023 use casts to reduce compiler warnings (no object change) 2024 2025 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2026 2027commit dc553ff908f10832c71dc2b5ba5af7e68589218e 2028Author: Mike FABIAN <mfabian@redhat.com> 2029Date: Fri Jul 22 11:39:01 2022 +0200 2030 2031 Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE 2032 2033 https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/src/xlibi18n/lcCT.c#L58 2034 has no escape sequence for KOI8-R. 2035 That makes Xutf8TextListToTextProperty() sometimes fail when trying to 2036 convert to COMPOUND_TEXT and when the KOI8-R charset is tried. 2037 2038 This is the cause for this bug: 2039 2040 https://github.com/ibus/ibus/issues/2422 2041 2042 Removing the KOI8-R charset entry fixes the problem. 2043 2044 This commit also fixes a few wrong texts in comments. 2045 2046 Signed-off-by: Mike FABIAN <mfabian@redhat.com> 2047 2048commit 1c04ac514196db5e2255d99635fb6e3c36be330d 2049Author: Adam Sampson <ats@offog.org> 2050Date: Sun Jul 4 23:02:04 2021 +0100 2051 2052 xkb: Fix off-by-one error in XKeycodeToKeysym 2053 2054 The code here that made indexes greater than 3 refer to XKB symbol 2055 groups had an off-by-one error, so it would always leave out the symbol 2056 that should have been at index 4. Rewrite the code to fix this and 2057 simplify the logic a bit. 2058 2059 Signed-off-by: Adam Sampson <ats@offog.org> 2060 2061commit ddaacd219609104f138006db6a8f708226db3874 2062Author: Thomas E. Dickey <dickey@invisible-island.net> 2063Date: Fri Sep 9 20:17:35 2022 -0400 2064 2065 reduce compiler warnings for macros BufAlloc, Data and Data32 using casts 2066 2067 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 2068 2069commit 62c3337d89d31e0d3ed807004e73ad711fad3342 2070Author: Kirill Chibisov <contact@kchibisov.com> 2071Date: Thu Sep 8 22:50:30 2022 +0000 2072 2073 ximcp/imRm.c: allow XNSpotLocation with OnTheSpot 2074 2075commit 1272879074ad9612314858a75cf844783c1963b2 2076Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2077Date: Thu Jul 28 17:30:21 2022 -0700 2078 2079 gitlab CI: stop requiring Signed-off-by in commits 2080 2081 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2082 2083commit 38033b073f393564acf6a04501927002b2b4aa86 2084Author: David H. Gutteridge <david@gutteridge.ca> 2085Date: Mon Jul 25 19:30:19 2022 -0400 2086 2087 configure.ac: report thread safety constructor build status 2088 2089 Signed-off-by: David H. Gutteridge <david@gutteridge.ca> 2090 2091commit 9a90b3a63d02da92dc8692ed3f6269d3e0c7c8cc 2092Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2093Date: Sun Jul 10 11:55:11 2022 -0700 2094 2095 doc: Document possible return values for XkbGetKeyboard() 2096 2097 Fixes: #160 2098 2099 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2100 2101commit 0beb0cf46ae48b0d4322ff8a0221f47bdb7d2296 2102Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2103Date: Sun Jul 10 11:42:19 2022 -0700 2104 2105 xkb: set num_keys when filling in keys in _XkbReadGetNamesReply() 2106 2107 Fixes: #160 2108 2109 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2110 2111commit 487e9489d1e086cc62c53045206ab6d6d9d02031 2112Author: Jon Turney <jon.turney@dronecode.org.uk> 2113Date: Wed Jun 22 16:15:37 2022 +0100 2114 2115 Fix Win32 build with -fno-common 2116 2117 /work/xorg/lib/libX11/src/XlibInt.c:1968: multiple definition of `_Xdebug_p'; .libs/globals.o:globals.c:(.bss+0xc): first defined here 2118 2119 Avoid redundant definition of _Xdebug_p in globals.c (which is under the 2120 influence of _Xdebug being #defined to _Xdebug_p. 2121 2122 This appears to be an ancient hack to work around data exports resolving 2123 to the address of the import stub, not the import. (See [1]). 2124 2125 (This is probably no longer needed or can be done in a better way, as 2126 per the discussion under --enable-auto-import in the ld manpage.) 2127 2128 [1] https://cygwin.com/pipermail/cygwin-xfree/2001-May/004606.html 2129 2130 Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> 2131 2132commit 35ad99fad2f65ec2c69bd84bdeb8138329092b57 2133Author: Benno Schulenberg <bensberg@telfort.nl> 2134Date: Fri Jul 15 11:29:46 2022 +0200 2135 2136 nls: add four sequences for the Samogitian E with dot above and macron 2137 2138 These sequences each produce two code points: the E-with-dot-above and 2139 a combining macron. The XIM input method is required for this to work. 2140 2141 (Also add a missing comment for a Unicode block.) 2142 2143 This fixes issue #54. 2144 2145 Requested-by: Arns Udovīčė 2146 2147 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2148 2149commit 2732dd20cc2694dd5c32fef292e1f48626011032 2150Author: Benno Schulenberg <bensberg@telfort.nl> 2151Date: Wed Jul 6 16:44:50 2022 +0200 2152 2153 nls: delete eight sequences that pointlessly mix upper and lower case 2154 2155 Typing a compose sequence requires some care -- surely the user is able 2156 to either keep holding the Shift key or not touch it at all while typing 2157 the sequence. Also, compose sequences are not an infinite resource AND 2158 take up space and time -- defining redundant ones is a waste. 2159 2160 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2161 2162commit ea3cc474e1acfed47b9fb856ea151008fa6cfd30 2163Author: Benno Schulenberg <bensberg@telfort.nl> 2164Date: Wed Jul 6 16:36:48 2022 +0200 2165 2166 nls: add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ 2167 2168 This allows the user to type the symbols for the five number systems. 2169 2170 This fixes the reasonable part of issue #159. 2171 2172 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2173 2174commit 95a03cde434c447fdb41d8cccbbdd41f20750f32 2175Author: Benno Schulenberg <bensberg@telfort.nl> 2176Date: Thu Jul 14 12:00:45 2022 +0200 2177 2178 nls: delete some pointless and wrong compose sequences meant for Bépo 2179 2180 Fourteen years ago, commit 7302984642 added some four hundred compose 2181 sequences for the benefit of the French Bépo layout. But among these 2182 four hundred there are several that use symbols that are not available 2183 in the Bépo layout and are thus impossible to type. Some of the used 2184 symbols, like Ahook, Ehook and Ohook, are not even present in *any* 2185 layout, making these sequences a dead weight in the Compose file. 2186 2187 The Amacron and Omacron are available only in the Latvian, Hawaiian, 2188 and Maori layouts, and the Omacron also in the Silesian layout. But 2189 the Latvian layouts and the Hawaiian do not contain any dead keys. 2190 Only in the Maori and Silesian layouts these sequences with Amacron 2191 and Omacron could be typed, but that was not why they were added. 2192 2193 More importantly, as James Cloos noted in issue #54, sequences like 2194 `<dead_abovedot> <amacron>` for generating `ǡ` (that is: the macron 2195 above the dot) are questionable, as in compose sequences generally 2196 the first accent typed is the uppermost in the composed character. 2197 2198 Reference: 2199 https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/54#note_17321 2200 2201 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2202 2203commit 9702b836862da6838d725f555e7a1d83faf51740 2204Author: Matthieu Herrb <matthieu@herrb.eu> 2205Date: Fri Jul 1 11:13:13 2022 +0200 2206 2207 Mention that the predicate function is called with the display lock 2208 2209 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 2210 2211commit a5d00f889fadad3f5b11e53fd5c04cf5343fa8a2 2212Author: Benno Schulenberg <bensberg@telfort.nl> 2213Date: Fri Jun 24 16:20:52 2022 +0200 2214 2215 docs: replace three placeholders with something that makes sense 2216 2217 Also, uncapitalize two arguments, to match the style of all others. 2218 2219 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2220 2221commit 9ff8502040e94cb172426d59df722cefa752a401 2222Author: Benno Schulenberg <bensberg@telfort.nl> 2223Date: Fri Jun 24 16:07:22 2022 +0200 2224 2225 docs: remove the unsightly dashes from the overviews of arguments 2226 2227 Seventeen months ago, commits 78027fdb7a and 4f15cfc645 removed 2228 these dashes from two of the man pages. Now, remove them all. 2229 They are unhelpful and just make one wonder why they are there 2230 (probably to function as improvised bullet points). 2231 2232 Also remove four leading spaces and a trailing comma. 2233 2234 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2235 2236commit a7968c47e35703446d67d070234fd9adf07f34b0 2237Author: Benno Schulenberg <bensberg@telfort.nl> 2238Date: Thu Jun 23 15:48:05 2022 +0200 2239 2240 docs: hard-wrap some items so that Table 2 fits within 80 characters 2241 2242 (Table 1 hard-wraps the first-column items in the same way.) 2243 2244 Also, correct the formatting of the subsequent paragraph. 2245 2246 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2247 2248commit c601c779ca8f46dc4335180ec2829851fb8bbc13 2249Author: Benno Schulenberg <bensberg@telfort.nl> 2250Date: Wed Jun 15 10:55:38 2022 +0200 2251 2252 nls: delete compose sequences that mix top-row digits with numpad digits 2253 2254 Compose sequences for circled numbers, like ⑫ or ㉑, are nice to have, 2255 but allowing them to be composed by typing one digit on the top row and 2256 the other on the numerical keypad (or the other way around) is over the 2257 top. Remove these absurd sequences. Keep only the sequences where both 2258 digits are either on the top row or on the numerical keypad. 2259 2260 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2261 2262commit 3a30ada60c5217ada37b143b541c8e6f6284c7fa 2263Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2264Date: Wed Jun 8 17:30:14 2022 -0700 2265 2266 libX11 1.8.1 2267 2268 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2269 2270commit 70f7403fd3bf362fc50b8de4a2e26300f757c68e 2271Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2272Date: Tue May 3 14:45:05 2022 -0700 2273 2274 configure.ac: Fix --enable-thread-safety-constructor 2275 2276 Prior to this, --enable-thread-safety-constructor would disable it, 2277 while --disable worked as expected, and no option left it enabled as 2278 expected by default. This also fixes the --help text to be displayed. 2279 2280 Fixes: afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 2281 Reported-by: @igor.v.kovalenko 2282 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2283 Reviewed-by: Adam Jackson <ajax@redhat.com> 2284 2285commit d0da5a1e0fb214ff911ecff86d35f6673ff70023 2286Author: Adam Jackson <ajax@redhat.com> 2287Date: Fri Apr 29 11:27:44 2022 -0400 2288 2289 libX11 1.8 2290 2291 Minor number bump to reflect the thread safety default change. 2292 2293 Signed-off-by: Adam Jackson <ajax@redhat.com> 2294 2295commit afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 2296Author: Adam Jackson <ajax@redhat.com> 2297Date: Tue Mar 22 18:24:29 2022 -0400 2298 2299 global: call XInitThreads() from the library's constructor 2300 2301 There is really no point in not being thread safe, I measured, all you 2302 can see happen is noop performance gets like twice as slow and you have 2303 thread safety bugs. And we're using xcb as the transport which means we 2304 should expect threads in our clients anyway. Just do it. 2305 2306 This assumes your compiler understands __attribute__((constructor)). If 2307 this is not your compiler, you can disable this with the appropriate 2308 configure flag, but be aware you're asking for bugs. 2309 2310 Signed-off-by: Adam Jackson <ajax@redhat.com> 2311 2312commit 1ab48f3cc966751d86e434808180beb2dc76c4fa 2313Author: Benno Schulenberg <bensberg@telfort.nl> 2314Date: Sun Apr 24 15:06:45 2022 +0200 2315 2316 docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5 2317 2318 They were forgotten when those releases were made. 2319 2320 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2321 2322commit 35d1513bc7fdd3ac6f5807feb601efc34ac19163 2323Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2324Date: Sat Apr 16 13:04:23 2022 -0700 2325 2326 XkbOpenDisplay: Add _Xconst qualifier to display name argument 2327 2328 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2329 2330commit c88ceaad4aaa0439e5cba13c1f5737ad54566e0b 2331Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2332Date: Sat Apr 16 12:59:39 2022 -0700 2333 2334 XKBgeom.h: Add _Xconst qualifier to char * arguments in functions 2335 2336 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2337 2338commit 0ce4425826074b12a58ced432f9d6fb346474737 2339Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2340Date: Sat Apr 16 12:20:51 2022 -0700 2341 2342 XKBgeom.h: Remove XKB_IN_SERVER section 2343 2344 The Xserver made its own copy of this file in 2008, and the API's are 2345 no longer the same between the server and client forks. 2346 2347 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2348 2349commit be8c01946ab1a1d4b79fdc5358541d630f14dc0a 2350Author: Benno Schulenberg <bensberg@telfort.nl> 2351Date: Wed Apr 20 09:29:09 2022 +0200 2352 2353 lcCT: use the correct index for checking the second byte 2354 2355 (Not that it will make any difference, as the checking of these 2356 high bits looks like an excess of precaution.) 2357 2358 This fixes issue #134. 2359 2360 Reported-by: Rafał Mikrut 2361 2362 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2363 2364commit 488b156fe2cc8aca6946a49236ec7b7698fceda4 2365Author: Benno Schulenberg <bensberg@telfort.nl> 2366Date: Fri Feb 25 16:35:46 2022 +0100 2367 2368 nls: make the Ethiopian compose sequences actually work 2369 2370 In the Ethiopian keyboard layout, the dead vowel keys do not produce <e> 2371 and <u> and so on, but instead produce <U+FE69> and <U+FE75> and so on, 2372 so the compose sequences should use those latter code points. 2373 2374 Also, include the basic compose sequences from en_US.UTF-8/Compose, 2375 so that, when switching to a different layout in the Ethiopian locale, 2376 all the usual compose sequences work too. 2377 2378 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2379 2380commit e6f98a3dbd82928e10adaf9d034dc574af1de6e5 2381Author: Benno Schulenberg <bensberg@telfort.nl> 2382Date: Mon Apr 18 17:24:55 2022 +0200 2383 2384 nls: add Multi-key sequences for abovedot, diaeresis, and ogonek 2385 2386 These accents by themselves could only be produced when one had a 2387 dead key for them, not with the help of the Multi key. 2388 2389 [Note that the sequences <dead_acute> <space> for apostrophe (') 2390 and <dead_diaeresis> <space> for double quote (") are anomalies, 2391 as normally <dead_accent> <space> produces the accent itself.] 2392 2393 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2394 2395commit d323704e7c57f9ac7fdfea3dc9fa73bf943e72d3 2396Author: Benno Schulenberg <bensberg@telfort.nl> 2397Date: Mon Apr 18 16:57:35 2022 +0200 2398 2399 nls: remove eight pointless self-producing compose sequences 2400 2401 Compose sequences are meant to produce certain symbols by combining 2402 certain different symbols, not to produce a symbol with the help of 2403 the symbol itself. 2404 2405 This fixes issue #59. 2406 2407 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2408 2409commit 3b62c0322c112c03597d850197dbce22d1830bb7 2410Author: Benno Schulenberg <bensberg@telfort.nl> 2411Date: Fri Feb 25 14:12:02 2022 +0100 2412 2413 nls: remove misplaced sequences from Ethiopian and Greek compose files 2414 2415 The Khmer digraphs and Arabic ligatures have nothing to do with 2416 Amharic or Greek. 2417 2418 (Also rewrap a comment and correct two others.) 2419 2420 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2421 2422commit 479af78f2e5caaf9b98a35ae5ff4ccdd2f040289 2423Author: Benno Schulenberg <bensberg@telfort.nl> 2424Date: Fri Feb 25 14:05:35 2022 +0100 2425 2426 nls: remove redundant Khmer digraphs, already defined in included file 2427 2428 This fixes issue #160. 2429 2430 Reported-by: Mike Fabian 2431 2432 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2433 2434commit 6d7d08726f4b0c517041842b27cd7e66e8f371eb 2435Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2436Date: Sun Apr 10 14:51:55 2022 -0700 2437 2438 XkbUpdateKeyTypeVirtualMods: always initialize mask 2439 2440 XkbVirtualModsToReal should only fail to set mask if the server does 2441 not support XKB, but it still made Oracle Parfait complain: 2442 2443 Error: Uninitialised memory 2444 Uninitialised memory variable [uninitialised-mem-var] (CWE 457): 2445 Possible access to uninitialised memory referenced by variable 'mask' 2446 at line 863 of lib/libX11/src/xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'. 2447 Path in callee avoiding write at line 862 2448 mask allocated at line 860 2449 2450 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2451 2452commit 9ac6859c20be2fc5e70c2908de60c6e466ec04e1 2453Author: Matt Turner <mattst88@gmail.com> 2454Date: Sun Apr 3 10:15:30 2022 -0700 2455 2456 libX11 1.7.5 2457 2458 Signed-off-by: Matt Turner <mattst88@gmail.com> 2459 2460commit 76d1cc3c1ce943c6ff81dc8c62a1d1b30fabf02e 2461Author: Simon McVittie <smcv@debian.org> 2462Date: Sun Apr 3 14:23:36 2022 +0100 2463 2464 Don't try to destroy NULL condition variables 2465 2466 This avoids a segfault during error-unwinding if an invalid display name 2467 is passed to XOpenDisplay(). 2468 2469 Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()" 2470 Resolves: #155 2471 Signed-off-by: Simon McVittie <smcv@debian.org> 2472 2473commit 80b30d12519ac54fc5b2b05500521d9c8269be9c 2474Author: Matt Turner <mattst88@gmail.com> 2475Date: Wed Mar 30 13:54:13 2022 -0700 2476 2477 libX11 1.7.4 2478 2479 Signed-off-by: Matt Turner <mattst88@gmail.com> 2480 2481commit 8a368d808fec166b5fb3dfe6312aab22c7ee20af 2482Author: Hodong <hodong@yozmos.com> 2483Date: Thu Jan 20 00:57:41 2022 +0900 2484 2485 Fix two memory leaks in _XFreeX11XCBStructure() 2486 2487 Even when XCloseDisplay() was called, some memory was leaked. 2488 2489 XCloseDisplay() calls _XFreeDisplayStructure(), which calls 2490 _XFreeX11XCBStructure(). 2491 2492 However, _XFreeX11XCBStructure() did not destroy the condition variables, 2493 resulting in the leaking of some 40 bytes. 2494 2495 Signed-off-by: Hodong <hodong@yozmos.com> 2496 2497commit da97120f2322882a17f14e5d7da00c1e772679e8 2498Author: Adam Jackson <ajax@redhat.com> 2499Date: Tue Mar 22 14:32:49 2022 -0400 2500 2501 xcb: Clarify the XInitThreads error message 2502 2503 XInitThreads has been called if _Xglobal_lock != NULL, we may as well 2504 check that before printing a misleading error message. 2505 2506 Signed-off-by: Adam Jackson <ajax@redhat.com> 2507 2508commit 257927c51b08242aa5bf239346717fc817b2b286 2509Author: Giovanni Mascellani <gmascellani@codeweavers.com> 2510Date: Fri Feb 4 10:49:25 2022 +0100 2511 2512 xcb_io: Allow jumps backwards when widening the request number. 2513 2514 Request numbers are not always seen in the numeric order by widen(), 2515 for example due to Mesa directly calling _XError(). When this happens, 2516 widen() adds 2^32 to the reported widened number, triggering failed 2517 assertions and bad behavior. 2518 2519 With this commit, wrapping of the lower dword is detected in a more 2520 robust way, by requiring that a skip of at least 2^31 is seen. 2521 2522 This fixes issue #152. 2523 2524 Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> 2525 2526commit 918063298cb893bee98040c9dca45ccdb2864773 2527Author: Benno Schulenberg <bensberg@telfort.nl> 2528Date: Thu Mar 3 12:00:45 2022 +0100 2529 2530 nls: add a compose sequence for the peace symbol 2531 2532 As the thing in the circle looks a bit like an upside-down Y, 2533 use <O> <Y> as the sequence, similar to <O> <A> for anarchism. 2534 2535 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2536 2537commit 4f9eb32709dca705f02ca771bbd47d6c08aba5e0 2538Author: Benno Schulenberg <bensberg@telfort.nl> 2539Date: Fri Feb 25 12:45:06 2022 +0100 2540 2541 nls: remove obsolete locale aliases with uppercase in the language code 2542 2543 (These aliases may have been useful on some systems twenty years ago, 2544 but nowadays all should have settled on lowercase language code plus 2545 uppercase country code.) 2546 2547 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2548 2549commit ba0d3b437deb2212bc7fc7c6f1c603fa6ced443c 2550Author: Benno Schulenberg <bensberg@telfort.nl> 2551Date: Fri Feb 25 12:35:28 2022 +0100 2552 2553 nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias 2554 2555 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2556 2557commit cfddb79981f23650feb0f9a0f4442c9cad584b33 2558Author: Benno Schulenberg <bensberg@telfort.nl> 2559Date: Fri Feb 25 12:12:05 2022 +0100 2560 2561 nls: remove the mistaken eo_EO names -- EO is not a valid country code 2562 2563 (Debian has had several of these lines commented out for years.) 2564 2565 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2566 2567commit eb5885245a1ba6955d058a03e31894c23b9f5490 2568Author: iyzana <iyzana@protonmail.com> 2569Date: Mon Feb 21 13:20:23 2022 +0100 2570 2571 nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8 2572 2573 There is no matching locale in the locale.dir and compose.dir files for 2574 the locale eo.UTF-8. Setting it as the locale resulted in compose files 2575 not being loaded. 2576 2577 Signed-off-by: iyzana <iyzana@protonmail.com> 2578 2579commit 24df23dff9d8c1cf5e918a5f040b852bdf2cfb84 2580Author: Benno Schulenberg <bensberg@telfort.nl> 2581Date: Thu Feb 3 17:19:05 2022 +0100 2582 2583 nls: group the compose sequences for tilde, degree, and cedilla together 2584 2585 Also, correct the comment for the double quote character ("), and move 2586 the soft hyphen and the interrobangs to a special punctuation group. 2587 2588 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2589 2590commit c0191f020f94907770937bc8ae67ea8acd7d63be 2591Author: Benno Schulenberg <bensberg@telfort.nl> 2592Date: Thu Feb 3 16:33:05 2022 +0100 2593 2594 nls: use shape-based compose sequences for hammer-and-sickle instead 2595 2596 Using a misspelled abbreviation (CCCP) of an obsolete country's name 2597 to compose a fairly general communist symbol does not seem right. 2598 2599 https://en.wikipedia.org/wiki/Hammer_and_sickle 2600 2601 Many compose sequences instead combine characters that together look 2602 similar to the target character. Do the same here: question mark (?) 2603 plus backslash (\) look a bit like ☭ . 2604 2605 In the bargain, this fixes issue #63. 2606 2607 Reported-by: Marc Mezzarobba 2608 2609 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2610 2611commit 582dc6f89e1f9288710a55cb2b8fbf2af99d7616 2612Author: Alan Coopersmith <alan.coopersmith@oracle.com> 2613Date: Sun Feb 20 11:49:42 2022 -0800 2614 2615 gitlab CI: enable Static Application Security Testing (SAST) 2616 2617 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2618 2619commit 336e8f72559b489396c5cd503c4586ef800c2a8f 2620Author: Benno Schulenberg <bensberg@telfort.nl> 2621Date: Sun Feb 20 15:06:02 2022 +0100 2622 2623 nls: add compose sequences for leftward, upward and downward double arrow 2624 2625 These sequences follow the logic of: the arrow shaft (=) first, the 2626 arrow head (< or > or ^ or v) second. This is so because the sequence 2627 <= is already taken for ≤, and there is no obvious ASCII character for 2628 a double vertical line, so we have to make do with a horizontal one. 2629 2630 Since commit 6101b967b6 from eight years ago, there is a compose sequence 2631 for the rightward double arrow, but not for the other three directions. 2632 2633 This fixes issue #138. 2634 2635 Requested-by: Mélanie Chauvel 2636 2637 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2638 2639commit 623b77d4f30b47258a40f89262e5aa5d25e95fa7 2640Author: Benno Schulenberg <bensberg@telfort.nl> 2641Date: Mon Feb 14 11:33:25 2022 +0100 2642 2643 imDefLkup: verify that a pointer isn't NULL before using it 2644 2645 It is possible for _XimICOfXICID() to return NULL, so it is necessary 2646 to check this isn't actually the case before dereferencing the pointer. 2647 All other callers of _XimICOfXICID() do this check too. 2648 2649 (The check itself is ugly, but it follows the style of the code in the 2650 rest of the module.) 2651 2652 Fixes issue #45. 2653 2654 Reported-by: Bhavi Dhingra 2655 2656 Original-patch-by: Bhavi Dhingra 2657 2658 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2659 2660commit b83938f7f97aa6210b00835002e6e7d614b2374a 2661Author: Christopher Chavez <chrischavez@gmx.us> 2662Date: Mon Feb 14 01:00:45 2022 +0000 2663 2664 Xlib.h: fix spelling in comment 2665 2666 Signed-off-by: Christopher Chavez <chrischavez@gmx.us> 2667 2668commit 4791055682552b4cc8e775479700fb06980d0b59 2669Author: Christopher Chavez <chrischavez@gmx.us> 2670Date: Sun Feb 13 05:26:14 2022 +0000 2671 2672 Xlib.h: spelling fix in comment 2673 2674commit 9304e645bdcdd3a71ff449a1157c4815e6304d7a 2675Author: Denis Drakhnia <numas13@gmail.com> 2676Date: Wed Feb 2 11:54:43 2022 +0200 2677 2678 nls: Add ru_UA.utf8 locale alias. 2679 2680 Signed-off-by: Denis Drakhnia <numas13@gmail.com> 2681 2682commit 9ef2551f0c201f9163b66d17189a98076b5be07a 2683Author: Benno Schulenberg <bensberg@telfort.nl> 2684Date: Wed Feb 2 16:50:35 2022 +0100 2685 2686 nls: do some manual adjustment of whitespace in the compose sequences 2687 2688 This achieves a more consistent vertical alignment (per group) of the 2689 target character and the trailing comments. 2690 2691 (Most blocks were aligned in some fashion, except the "Greek Extended" 2692 block, which has lines of greatly varying lengths.) 2693 2694 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2695 2696commit 0dad289ead6eb3412027c9365192441cc539d747 2697Author: Benno Schulenberg <bensberg@telfort.nl> 2698Date: Wed Feb 2 14:08:22 2022 +0100 2699 2700 nls: among the compose sequences, replace all runs of spaces with tabs 2701 2702 It was done with this script: 2703 2704 cat nls/en_US.UTF-8/Compose.pre | 2705 sed 's!\(^<.\{6,13\}>\)\s*:!\1\t\t\t\t:!' | 2706 sed 's!\(^<.\{14,21\}>\)\s*:!\1\t\t\t:!' | 2707 sed 's!\(^<.\{22,29\}>\)\s*:!\1\t\t:!' | 2708 sed 's!\(^<.\{30,37\}>\)\s*:!\1\t:!' | 2709 sed 's!\(: ".*"\)\s*!\1\t!' | 2710 sed 's!\(\s*# \)! # !' > trimmed && 2711 mv trimmed nls/en_US.UTF-8/Compose.pre 2712 2713 This saves 37 kilobytes of whitespace. 2714 2715 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2716 2717commit fc79e39c236501357e1fdbe8964882864eeef5d3 2718Author: Benno Schulenberg <bensberg@telfort.nl> 2719Date: Wed Feb 2 14:06:29 2022 +0100 2720 2721 docs: add missing word, wrap line, fix typo, and trim an excess space 2722 2723 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2724 2725commit 93446455c46dfc019984ab822ffa662cf6e2949c 2726Author: Benno Schulenberg <bensberg@telfort.nl> 2727Date: Thu Jan 27 15:01:18 2022 +0100 2728 2729 KeyBind: reshuffle two ifs into the general order of ascending codes 2730 2731 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2732 2733commit 93f15f5f29378ec4cc1dd011b155104e9a52b058 2734Author: Benno Schulenberg <bensberg@telfort.nl> 2735Date: Thu Jan 27 14:27:41 2022 +0100 2736 2737 KeyBind: slightly speed up some case conversions by adding missing returns 2738 2739 This avoids pointlessly tumbling through several more ifs when the 2740 conversion has aleady been done. 2741 2742 Also remove two redundant conditions (as lower codes have already 2743 been handled) and fold two other conditions together. 2744 2745 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2746 2747commit 317c7abbcc848011393d1336b9d020af8cabb000 2748Author: Benno Schulenberg <bensberg@telfort.nl> 2749Date: Thu Jan 27 13:54:29 2022 +0100 2750 2751 KeyBind: update the Greek case-conversion tables to Unicode Data 14.0 2752 2753 A few symbols, like Heta and Sampi and dotted lunate Sigma, have been 2754 assigned code points since Unicode Data 4.0, and need their entries. 2755 2756 This fixes issue #132. 2757 2758 Reported-by: Ray Vine 2759 2760 Original-patch-by: Ray Vine 2761 2762 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2763 2764commit 402b843fa72166d9ceefd887f5cea4728cbc6995 2765Author: Benno Schulenberg <bensberg@telfort.nl> 2766Date: Wed Jan 26 17:20:28 2022 +0100 2767 2768 remove a commented-out code fragment, and remove a stray blank line 2769 2770 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2771 2772commit fbbc3cf8b8b03f74f778772d4703fc4fec242282 2773Author: Benno Schulenberg <bensberg@telfort.nl> 2774Date: Wed Jan 26 16:55:50 2022 +0100 2775 2776 XKBCvt: remove an if that never gets triggered 2777 2778 The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols 2779 from the numeric keypad and some control symbols to pass -- XK_hyphen 2780 is not among them, so the check for XK_hyphen in the later 'if' will 2781 always be false. 2782 2783 (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was 2784 removed in March 1994.) 2785 2786 (Also, several keyboard layouts nowadays contain the 'hyphen' symbol, 2787 allowing the user to enter soft hyphens into a document. So we really 2788 don't want to remap this symbol.) 2789 2790 Fixes issue #48. 2791 2792 Reported-by: Bhavi Dhingra 2793 2794 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2795 2796commit 6786744f636b3fc545157a13cb2f6169b5be9fa5 2797Author: Benno Schulenberg <bensberg@telfort.nl> 2798Date: Sun Jan 23 17:12:03 2022 +0100 2799 2800 nls: add the es_CU locale name, for Cuba 2801 2802 It was added to glibc ten years ago. 2803 2804 This fixes issue #57. 2805 2806 Reported-by: Dominique Michel 2807 2808 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2809 2810commit d241d8af7f24e95949c2cf7ce791e35df7665e98 2811Author: Benno Schulenberg <bensberg@telfort.nl> 2812Date: Sun Jan 23 16:44:03 2022 +0100 2813 2814 nls: remove some obsolete Norwegian and Yugoslavian locale names 2815 2816 They have not existed in glibc for more than fifteen years. 2817 2818 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2819 2820commit 32dd7c03e92e01015744867b9b3148c250cc159a 2821Author: Benno Schulenberg <bensberg@telfort.nl> 2822Date: Sat Jan 22 17:56:32 2022 +0100 2823 2824 nls: put some entries in their alphabetical order, and adjust alignment 2825 2826 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2827 2828commit 46a066f25103bb909259baea25de8dd5c4a2b338 2829Author: Benno Schulenberg <bensberg@telfort.nl> 2830Date: Sat Jan 22 18:00:20 2022 +0100 2831 2832 nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment 2833 2834 The typo was only partially fixed in commit 22a5255b80 sixteen years ago, 2835 and the internet shows that there was at least one user frustrated that 2836 bg_BG.utf8 didn't work but bg_BG.UTF-8 did. 2837 2838 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2839 2840commit 84efc0aa598c8f7d6dd9a49e7450e85c8bc4773b 2841Author: Benno Schulenberg <bensberg@telfort.nl> 2842Date: Wed Jan 19 15:32:15 2022 +0100 2843 2844 nls: remove the compose sequences with the deviant KP_Space symbol 2845 2846 Using this KP_Space symbol as a stand-in for the symbol 2 doesn't make 2847 sense. It looks like a mistake, or as if someone had a broken keyboard 2848 and used KP_Space as a substitute for 2. 2849 2850 Also, no keyboard layout in the last fifteen years has contained the 2851 KP_Space symbol, so I don't see how anyone could type it. 2852 2853 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2854 2855commit b76e661ca223489da9027b0ab1ca1586efd0a280 2856Author: Benno Schulenberg <bensberg@telfort.nl> 2857Date: Wed Jan 19 13:49:56 2022 +0100 2858 2859 nls: move the block of Jamo to its logical place (ascending Unicodes) 2860 2861 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2862 2863commit 21f82fb9c69f8fdbf0bdc1aac6f8c11c2c6d55d1 2864Author: Benno Schulenberg <bensberg@telfort.nl> 2865Date: Wed Jan 19 13:40:56 2022 +0100 2866 2867 nls: delete some ineffective compose sequences (that were commented out) 2868 2869 They have never worked; there is no point in keeping them in the file. 2870 2871 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2872 2873commit 6cc31eafa8095d2117ff1906d7c14c1c01173248 2874Author: Benno Schulenberg <bensberg@telfort.nl> 2875Date: Wed Jan 19 12:18:21 2022 +0100 2876 2877 nls: group some compose sequences better, and add some comments 2878 2879 Also, align a few trailing comments more consistently, and change 2880 some comments so they will be excluded from the installed file -- 2881 there is no need for those comments there. 2882 2883 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2884 2885commit d60ede7843612f3c2967f83d629bf8272ba09ff1 2886Author: ArenaL5 <arenal5@protonmail.com> 2887Date: Thu Jan 13 01:13:56 2022 +0100 2888 2889 nls: add a compose sequence for the copyleft symbol 2890 2891 Probably not used anywhere yet, let alone seriously, as stated in 2892 https://en.wikipedia.org/wiki/Copyleft#Symbol 2893 2894 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 2895 2896commit df4dcdf9125c595f6df3a302356647cb8df38553 2897Author: Benno Schulenberg <bensberg@telfort.nl> 2898Date: Mon Jan 17 17:31:08 2022 +0100 2899 2900 nls: remove redundant compose sequences with deprecated Hebrew symbols 2901 2902 The compose sequences with the valid Hebrew key symbols are right there. 2903 2904 Also, no keyboard layout in the past seventeen years has contained these 2905 deprecated symbols on any key. 2906 2907 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2908 2909commit 4268472bd11a07a799716fb5833ea46cad3dd479 2910Author: Benno Schulenberg <bensberg@telfort.nl> 2911Date: Sun Jan 16 17:51:29 2022 +0100 2912 2913 nls: remove redundant compose sequences with the deprecated 'underbar' 2914 2915 The key symbol 'underbar' is equivalent to 'underscore' -- the mirror 2916 compose sequences with the latter symbol continue to exist. 2917 2918 Also, no keyboard layout in the past fifteen years has contained the 2919 symbol 'underbar' on any key -- except a Telugu layout since a few 2920 years, but that will be corrected soon. 2921 2922 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2923 2924commit 86e9749ef37189486c205ee7f77e43fed655ac70 2925Author: ArenaL5 <arenal5@protonmail.com> 2926Date: Sat Jan 15 16:20:56 2022 +0100 2927 2928 nls: add a compose sequence for the middle dot (·) using dead_circumflex 2929 2930 This makes the middle dot compose sequences consistent with others that 2931 begin with <dead_circumflex> and <Multi_key> <asciicircum>, e.g. 2932 superscripted 3 (³) 2933 2934 Signed-off-by: ArenaL5 <arenal5@protonmail.com> 2935 2936commit 1adb531cd5be2b6489c2a8106e850e7418fae056 2937Author: Benno Schulenberg <bensberg@telfort.nl> 2938Date: Fri Jan 14 13:06:10 2022 +0100 2939 2940 docs: unwrap the comments of structure elements in the man pages 2941 2942 It doesn't matter that these lines get wider than 80 columns, as it's 2943 easy enough to make the pager scroll a bit to the right, or to have a 2944 terminal that is a 100 or more columns wide. It looks better to not 2945 hard-wrap these comments. 2946 2947 Also, fix the layout of two table elements. 2948 2949 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2950 2951commit da330a1644f10f9669c8dd9ee06489c40f9f0bd1 2952Author: Benno Schulenberg <bensberg@telfort.nl> 2953Date: Fri Jan 14 12:33:23 2022 +0100 2954 2955 docs: unwrap some mistakenly wrapped lines, and correct a comment 2956 2957 The wrapped lines messed up the table. Also, add some blank lines 2958 to make the table more readable. 2959 2960 Elsewhere, add spaces around an operator (for consistency), 2961 and correct a copy-paste error. 2962 2963 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2964 2965commit b9e0346abebb0c9e5c80c780bba4372419e63bde 2966Author: Benno Schulenberg <bensberg@telfort.nl> 2967Date: Fri Jan 14 15:57:56 2022 +0100 2968 2969 XKBMAlloc: use the correct first-key variable when extending a key range 2970 2971 When extending the range of changed virtual-modifier keys, one should 2972 pass the two variables relevant to that range. 2973 2974 These two mistakes were found by grepping for 'modmap_key' and then 2975 looking for asymmetries between the handling of the plain modmap thing 2976 and the virtual modmap thing. Inspired by issue #76. 2977 2978 (I suspect these mistakes were at the base of some intractable bugs 2979 reported against xkeyboard-config where virtual modifiers refused 2980 to work and had to be worked around by making other changes too.) 2981 2982 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 2983 2984commit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0 2985Author: Benno Schulenberg <bensberg@telfort.nl> 2986Date: Wed Jan 12 11:34:23 2022 +0100 2987 2988 lcUTF8: remove two unneeded ifs and two elses that are never reached 2989 2990 When there is a break at the end of the while loop, it means that the 2991 loop will finish the first time that _XlcGetCharSetWithSide() returns 2992 a non-NULL result, which means that the first '(last_charset == NULL)' 2993 will always be true and the else part is redundant. 2994 2995 Fixes issue #46. 2996 2997 Reported-by: Bhavi Dhingra 2998 2999 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3000 3001commit 033f37d507801645a8251fd33c25ebd145d22cce 3002Author: Antti Savolainen <antti.savo@gmail.com> 3003Date: Wed Jan 12 16:10:21 2022 +0000 3004 3005 nls: add two compose sequences for an upwards arrow using dead_circumflex 3006 3007 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 3008 3009commit b7d724df615311c35418afc733e1fcc68c740aba 3010Author: Hodong <hodong@nimfsoft.com> 3011Date: Fri Jan 7 10:41:15 2022 +0000 3012 3013 specs/XIM: fix a missing "EXT" in the documentation 3014 3015 There was an "EXT" in the original text, but it seems to be missing. 3016 3017 See: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/4e66da0783b2e5e3b288aaecd3c89396ed425c20/specs/XIM/xim.ms#L693 3018 3019 Signed-off-by: Hodong Kim <hodong@nimfsoft.com> 3020 3021commit 4c96f3567a8d045ee57b886fddc9618b71282530 3022Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3023Date: Thu Dec 9 19:51:52 2021 -0800 3024 3025 libX11 1.7.3.1 3026 3027 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3028 3029commit c1710589bb00d6f442a383fc41f0d6496b436c88 3030Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3031Date: Tue Dec 7 08:29:43 2021 -0800 3032 3033 specs/XIM: Fix "encording" typos 3034 3035 Fixes: #145 3036 3037 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3038 3039commit e30771b4bbdd84fc7ff64a1cda483a46edb5707b 3040Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3041Date: Mon Dec 6 17:04:14 2021 -0800 3042 3043 libX11 1.7.3 3044 3045 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3046 3047commit 934417b1e89fe715b9cf6c0d62a3867fa1f5bccb 3048Author: Liang Chang <l-chang@users.sourceforge.net> 3049Date: Tue Sep 7 18:54:10 2021 +0800 3050 3051 Make Xutf8DrawString works correctly with ISO10646 fonts. 3052 3053 Signed-off-by: Liang Chang <l-chang@users.sourceforge.net> 3054 3055commit 3ad36c5d3ddca3e4c97faaf87b72a53954d1f473 3056Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3057Date: Thu Dec 2 17:48:55 2021 -0800 3058 3059 Build xz tarballs instead of bzip2 3060 3061 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3062 3063commit 93a050c3ad2d2264d3880db3791387b1a9bf2e9e 3064Author: Tatu Frisk <tatu.frisk@ge.com> 3065Date: Tue Mar 14 14:41:27 2017 +0200 3066 3067 Fix hanging issue in _XReply 3068 3069 Assume event queue is empty if another thread is blocking waiting for event. 3070 3071 If one thread was blocking waiting for an event and another thread sent a 3072 reply to the X server, both threads got blocked until an event was 3073 received. 3074 3075 Signed-off-by: Tatu Frisk <tatu.frisk@ge.com> 3076 Signed-off-by: Jose Alarcon <jose.alarcon@ge.com> 3077 3078commit 8382253010267b93c9aeffc769e3f5e43d698094 3079Author: Matthieu Herrb <matthieu@herrb.eu> 3080Date: Mon Aug 30 21:47:09 2021 +0200 3081 3082 Avoid NULL pointer deref. Fixes issue #47. 3083 3084 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3085 3086commit 58d7b540c453601faf942c6f19f8277a5c5f78cc 3087Author: Peter Hutterer <peter.hutterer@who-t.net> 3088Date: Wed Dec 1 14:31:16 2021 +1000 3089 3090 gitlab CI: update to use the ci-fairy image 3091 3092 Let's use the pre-prepared image instead of building our own. 3093 3094 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3095 3096commit 150154c994829f9f3734a560f99f70b21d86b49c 3097Author: Hodong <hodong@nimfsoft.com> 3098Date: Sun Nov 14 06:36:42 2021 +0000 3099 3100 Fix a typo 3101 3102commit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e 3103Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 3104Date: Sun Sep 5 10:25:38 2021 +0300 3105 3106 libX11: do not crash in GetResReq() macro 3107 3108 When _XGetRequest() detects that requested length exceeds remaining display 3109 output buffer capacity it would return NULL. GetResReq() macro obtains "req" 3110 pointer from a call to _XGetRequest() and then proceeds to assign request id 3111 through "req" pointer which leads to NULL pointer dereference in this case. 3112 3113 Fix this by checking if "req" is valid before assigning request id. 3114 3115 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> 3116 3117commit e92efc63acd7b377faa9e534f4bf52aaa86be2a9 3118Author: Peter Hutterer <peter.hutterer@who-t.net> 3119Date: Tue Jul 27 11:46:19 2021 +1000 3120 3121 makekeys: handle the new _EVDEVK xorgproto symbols 3122 3123 These keys are all defined through a macro in the form: 3124 #define XF86XK_BrightnessAuto _EVDEVK(0x0F4) 3125 3126 The _EVDEVK macro is simply an offset of 0x10081000. 3127 Let's parse these lines correctly so those keysyms end up in our 3128 hashtables. 3129 3130 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3131 3132commit d01d23374107f6fc55511f02559cf75be7bdf448 3133Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3134Date: Wed Jun 16 12:17:04 2021 +0100 3135 3136 Avoid undefined behaviour after realloc() 3137 3138 Adding the offset between the realloc result and the old allocation to 3139 update pointers into the new allocation is undefined behaviour: the 3140 old pointers are no longer valid after realloc() according to the C 3141 standard. While this works on almost all architectures and compilers, 3142 it causes problems on architectures that track pointer bounds (e.g. 3143 CHERI or Arm's Morello): the value_list pointers will still have the 3144 bounds of the previous allocation and therefore any dereference will 3145 result in a run-time trap. 3146 3147 I found this due to a crash (dereferencing an invalid capability) while 3148 trying to run `xev` over SSH on a CHERI-RISC-V system. With these two 3149 realloc changes, and https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/41 3150 I am able to succesfully run `xev` compiled for CHERI-RISC-V. 3151 3152 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3153 3154commit 1c845834a32421abb59408aee259ac0bef054d30 3155Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3156Date: Tue Jun 15 08:46:53 2021 +0100 3157 3158 Fix cross-compilation from macOS 3159 3160 We can't use `LC_CTYPE=C sed` there since /usr/bin/sed is not compatible 3161 with the expressions in nls/ (`sed: RE error: illegal byte sequence`). 3162 To fix this use $(SED) instead which autotools will set to a GNU 3163 version of sed (usually /usr/local/bin/gsed) on macOS. 3164 3165 Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> 3166 3167commit 401f58f8ba258d4e7ce56a8f756595b72e544c15 3168Author: Lev Korol <epicatsupercell@gmail.com> 3169Date: Sun Apr 11 21:57:45 2021 +0300 3170 3171 nls: Add en_IL locale 3172 3173 Signed-off-by: Lev Korol <epicatsupercell@gmail.com> 3174 3175commit f906fe8e9769e4313294b68e61c402610ade69da 3176Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3177Date: Sat Jun 5 09:12:13 2021 -0700 3178 3179 libX11 1.7.2 3180 3181 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3182 3183commit 51b73ac0acda65005c8a9f17ca4ea7281b00ca84 3184Author: Tobias Stoeckmann <tobias@stoeckmann.org> 3185Date: Sun May 23 15:05:17 2021 +0200 3186 3187 Protect against overly long strings 3188 3189 Checking against upper limit of USHRT_MAX must happen before truncating 3190 size_t to int. On 64 bit systems with strings larger than 2 GB this 3191 could otherwise lead to negative ints or ints smaller than USHRT_MAX. 3192 3193 In XParseColor this could lead to out of boundary access with strings 3194 starting with a # (color sequence). A modulo 12 operation is performed 3195 to validate the string length, but with an overflown length, the for 3196 loop would eventually read behind terminating '\0' character. 3197 3198 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 3199 3200commit ab2f59530b16bdfbf023b8e025c7c8aba3b6fd0c 3201Author: Matthieu Herrb <matthieu@herrb.eu> 3202Date: Sun May 30 16:33:48 2021 +0200 3203 3204 Check for NULL strings before getting their lengths 3205 3206 Problem reported by Karsten Trulsen 3207 3208 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3209 3210commit a8216e8653a246db664e1443ecf707b27de65067 3211Author: Matthieu Herrb <matthieu@herrb.eu> 3212Date: Sat May 22 17:35:47 2021 +0200 3213 3214 include <limits.h> always, not if HAVE_CONFIG_H is set. 3215 3216 via Matthew Green from the NetBSD project 3217 3218 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3219 3220commit 6953a586df4819143c4d55e011b3a5e5377981b8 3221Author: Matthieu Herrb <matthieu.herrb@laas.fr> 3222Date: Tue May 18 15:27:58 2021 +0200 3223 3224 Version 1.7.1 3225 3226 Release notes in README.md, version bump in configure.ac 3227 3228commit 8d2e02ae650f00c4a53deb625211a0527126c605 3229Author: Matthieu Herrb <matthieu@herrb.eu> 3230Date: Fri Feb 19 15:30:39 2021 +0100 3231 3232 Reject string longer than USHRT_MAX before sending them on the wire 3233 3234 The X protocol uses CARD16 values to represent the length so 3235 this would overflow. 3236 3237 CVE-2021-31535 3238 3239 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3240 3241commit 838ea5a5a0267c25b20c095c9a70684edeeefba4 3242Author: Gaurav Ujjwal <gujjwal00@gmail.com> 3243Date: Sun May 9 05:04:36 2021 +0000 3244 3245 Fix out-of-bound access in KeySymToUcs4() 3246 3247 Array `keysym_to_unicode_590_5fe` is only valid for range [0x590, 0x5fe] but current lower-bound is checked against 0x589. 3248 3249 So invalid values from 0x58a to 0x58f are being allowed by current check. 3250 3251 If any of these invalid value is passed as `keysym`, `keysym - 0x590` would underflow. 3252 3253 Signed-off-by: Gaurav Ujjwal <gujjwal00@gmail.com> 3254 3255commit 32491b02c76ac22f99dc433a32466e22bdc181a7 3256Author: Christopher Chavez <chrischavez@gmx.us> 3257Date: Mon May 3 15:46:44 2021 +0000 3258 3259 Xlib.h: spelling fix in comment 3260 3261commit 5faa8dc0b364f55f19034c370436074646d9ad54 3262Author: Benno Schulenberg <bensberg@telfort.nl> 3263Date: Tue Nov 24 18:54:24 2020 +0100 3264 3265 nls: adjust three comments about the APL compose sequences 3266 3267 Commit 0bbc0d5e605e (from eight years ago) removed the lines that two 3268 of these comments referred to. Without those lines, the comments don't 3269 make sense any more. Reword and shorten them. 3270 3271 Also reword a comment about two sequences that don't work. 3272 3273 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3274 3275commit b126bfd7fe990b8c1df088f55c31d9b3fd440cde 3276Author: Benno Schulenberg <bensberg@telfort.nl> 3277Date: Tue Nov 24 12:23:32 2020 +0100 3278 3279 nls: allow composing all breved letters also with a lowercase "u" 3280 3281 The letters ă and ŭ can already be composed with "u a" and "u u", but 3282 ĕ, ğ, ĭ, and ŏ can be composed only with an uppercase U. Emancipate 3283 the latter four and understand also a lowercase "u" to mean 'breve'. 3284 3285 (Yesterday I needed ğ and was annoyed that "u g" did not work.) 3286 3287 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3288 3289commit 78027fdb7aa07621a3b7cdf37050bae39012f2fb 3290Author: Walter Harms <wharms@bfs.de> 3291Date: Sat Nov 28 21:05:33 2020 +0100 3292 3293 fix same roff code 3294 3295 Signed-off-by: Walter Harms <wharms@bfs.de> 3296 3297commit 4f15cfc64548098fef3ddd24f7359b76cf1bbda7 3298Author: Walter Harms <wharms@bfs.de> 3299Date: Sat Nov 28 20:56:35 2020 +0100 3300 3301 Fix some roff code add see also 3302 3303 Signed-off-by: Walter Harms <wharms@bfs.de> 3304 3305commit daa106927f78e6c5c9c36558a4b951d7cb58a8d1 3306Author: Walter Harms <wharms@bfs.de> 3307Date: Sat Nov 28 17:49:25 2020 +0100 3308 3309 fix broken nroff coding for code comments 3310 3311 the comments /* */ are code as /\(** */ that does not work. 3312 the coding in other X11 man pages is /\&* */ so we do the same here. 3313 3314commit 7bdeae239b17db002964ac73d06f43f216d1cf86 3315Author: Walter Harms <wharms@bfs.de> 3316Date: Fri Nov 27 22:43:21 2020 +0100 3317 3318 FIX: warning: macro `hN' not defined 3319 3320 Signed-off-by: Walter Harms <wharms@bfs.de> 3321 3322commit b7ec67d3ea78ab68857328d8f72d923324e68cc2 3323Author: Walter Harms <wharms@bfs.de> 3324Date: Fri Nov 27 22:26:15 2020 +0100 3325 3326 FIX: warning: macro `IN' not defined 3327 3328 just remove an other dead macro use. 3329 3330commit 7ca3ceb9175a829a40c347cb3b2e98341ec5a2df 3331Author: Walter Harms <wharms@bfs.de> 3332Date: Fri Nov 27 21:58:04 2020 +0100 3333 3334 fix warning: macro `s' not defined 3335 3336 this is caused by bad nroff coding, fix some more issues on the fly 3337 3338commit 14fb4e535626ba934cad5bc4308f511524cd1103 3339Author: Walter Harms <wharms@bfs.de> 3340Date: Fri Nov 27 20:04:22 2020 +0100 3341 3342 FIX: warning: macro `hN' not defined 3343 3344 this was found by checking man pages with 3345 groff -t -mandoc -Z -wmac -Tutf8 $FILE >/dev/null 3346 3347 In most cases .hN could be replaced with .BR 3348 3349 Signed-off-by: Walter Harms <wharms@bfs.de> 3350 3351commit cb03da4447aa53e8e5382f124917d89b50148036 3352Author: Walter Harms <wharms@bfs.de> 3353Date: Fri Nov 27 19:00:00 2020 +0100 3354 3355 FIX: warning: macro `Pn' not defined 3356 3357 The missing macro is found via: 3358 roff -t -mandoc -Z -wmac -Tutf8 XAnyEvent.man >/dev/null 3359 3360 To fix the problem the macro is replaced with .RB. 3361 3362 Signed-off-by: Walter Harms <wharms@bfs.de> 3363 3364commit cc9f8878f2cbe17c7b4035b4ff4352b52ece38e0 3365Author: Benno Schulenberg <bensberg@telfort.nl> 3366Date: Wed Nov 25 16:58:27 2020 +0100 3367 3368 nls: add 'C.utf8' as an alias for 'en_US.UTF-8' 3369 3370 The normal form is 'C.UTF-8', but 'C.utf8' has been seen in the wild. 3371 3372 Fixes #102. 3373 3374 Reported-by: Tomas Korbar 3375 3376 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3377 3378commit ca8115186f810eccb7d86b0979980eff3ba95f0b 3379Author: Keith Packard <keithp@keithp.com> 3380Date: Thu Nov 19 11:30:41 2020 -0800 3381 3382 Version 1.7.0 3383 3384 Release notes in README.md, version bump in configure.ac 3385 3386 Signed-off-by: Keith Packard <keithp@keithp.com> 3387 3388commit 325ac177fb6d38f4c7689d9ce059792eaef388ef 3389Author: Keith Packard <keithp@keithp.com> 3390Date: Mon Nov 16 15:48:40 2020 -0800 3391 3392 Update libX11 .so version to 6.4.0 3393 3394 There have been API additions since the previous release, so the 3395 .so version needs to change. 3396 3397 Signed-off-by: Keith Packard <keithp@keithp.com> 3398 3399commit 103e2e11519984aa5746c06e7d90d1f5bc8174a3 3400Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3401Date: Sat Oct 31 09:24:01 2020 -0700 3402 3403 Don't leave dangling pointers in Free functions 3404 3405 While these are mostly called during teardown of larger structures 3406 that are about to themselves be freed, there's no guarantee that 3407 will always be the case, so try to be safer here. 3408 3409 [ This bug was found by the Parfait 4.0 bug checking tool. 3410 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 3411 3412 v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies 3413 as suggested by @keithp 3414 3415 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3416 3417commit 7d70e302218e2ec8518548ddcdc02d828e7889af 3418Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3419Date: Sat Oct 31 08:56:34 2020 -0700 3420 3421 XimProto.h: wrap XIM_HEADER_SIZE definition in parens 3422 3423 Resolves parfait warning of potential macro misinterpretation if 3424 expanded in the midst of other arithmetic operations with higher 3425 precedence. 3426 3427 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3428 3429commit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a 3430Author: Keith Packard <keithp@keithp.com> 3431Date: Tue Nov 17 13:15:18 2020 -0800 3432 3433 Copy locale modifiers when creating XimInstCallback [v2] 3434 3435 Locale modifiers may be freed whenever XSetLocaleModifiers gets 3436 called, even if the locale hasn't changed. This means that we cannot 3437 save a pointer to those modifiers in the XimInstCallback record and 3438 must, instead, make a copy of them instead. 3439 3440 This fixes a problem uncovered when running wish under libasan as 3441 follows (on current Debian unstable): 3442 3443 $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish 3444 3445 Reported-by: Vittorio Zecca <zeccav@gmail.com> 3446 Signed-off-by: Keith Packard <keithp@keithp.com> 3447 3448 v2: 3449 Remove incorrect 'else' token found by @alanc 3450 3451commit 960e2e0cfac12c3477c672d0d40818a0dc74aca5 3452Author: Peter Hutterer <peter.hutterer@who-t.net> 3453Date: Mon Nov 16 09:34:57 2020 +1000 3454 3455 gitlab CI: add a basic build test 3456 3457 Using Arch as base distribution here because we can expect our dependencies to 3458 be up-to-date. We rely on the Arch for our dependencies rather than building 3459 those from git (notably: xorg-macros, xtrans and libxcb). 3460 3461 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3462 3463commit dbb55e1a5e82870466b095097d9e46046680ec25 3464Author: Frediano Ziglio <fziglio@redhat.com> 3465Date: Wed Jan 29 09:06:54 2020 +0000 3466 3467 Fix poll_for_response race condition 3468 3469 In poll_for_response is it possible that event replies are skipped 3470 and a more up to date message reply is returned. 3471 This will cause next poll_for_event call to fail aborting the program. 3472 3473 This was proved using some slow ssh tunnel or using some program 3474 to slow down server replies (I used a combination of xtrace and strace). 3475 3476 How the race happens: 3477 - program enters into poll_for_response; 3478 - poll_for_event is called but the server didn't still send the reply; 3479 - pending_requests is not NULL because we send a request (see call 3480 to append_pending_request in _XSend); 3481 - xcb_poll_for_reply64 is called from poll_for_response; 3482 - xcb_poll_for_reply64 will read from server, at this point 3483 server reply with an event (say sequence N) and the reply to our 3484 last request (say sequence N+1); 3485 - xcb_poll_for_reply64 returns the reply for the request we asked; 3486 - last_request_read is set to N+1 sequence in poll_for_response; 3487 - poll_for_response returns the response to the request; 3488 - poll_for_event is called (for instance from another poll_for_response); 3489 - event with sequence N is retrieved; 3490 - the N sequence is widen, however, as the "new" number computed from 3491 last_request_read is less than N the number is widened to N + 2^32 3492 (assuming last_request_read is still contained in 32 bit); 3493 - poll_for_event enters the nested if statement as req is NULL; 3494 - we compare the widen N (which now does not fit into 32 bit) with 3495 request (which fits into 32 bit) hitting the throw_thread_fail_assert. 3496 3497 To avoid the race condition and to avoid the sequence to go back 3498 I check again for new events after getting the response and 3499 return this last event if present saving the reply to return it 3500 later. 3501 3502 To test the race and the fix it's helpful to add a delay (I used a 3503 "usleep(5000)") before calling xcb_poll_for_reply64. 3504 3505 Original patch written by Frediano Ziglio, see 3506 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34 3507 3508 Reworked primarily for readability by Peter Hutterer, see 3509 https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53 3510 3511 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3512 3513commit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277 3514Author: Keith Packard <keithp@keithp.com> 3515Date: Sat Nov 7 22:22:47 2020 -0800 3516 3517 Avoid recursing through _XError due to sequence adjustment 3518 3519 This patch is based on research done by Dmitry Osipenko to uncover the 3520 cause of a large class of Xlib lockups. 3521 3522 _XError must unlock and re-lock the display around the call to the 3523 user error handler function. When re-locking the display, two 3524 functions are called to ensure that the display is ready to generate a request: 3525 3526 _XIDHandler(dpy); 3527 _XSeqSyncFunction(dpy); 3528 3529 The first ensures that there is at least one XID available to use 3530 (possibly calling _xcb_generate_id to do so). The second makes sure a 3531 reply is received at least every 65535 requests to keep sequence 3532 numbers in sync (possibly generating a GetInputFocus request and 3533 synchronously awaiting the reply). 3534 3535 If the second of these does generate a GetInputFocus request and wait 3536 for the reply, then a pending error will cause recursion into _XError, 3537 which deadlocks the display. 3538 3539 One seemingly easy fix is to have _XError avoid those calls by 3540 invoking InternalLockDisplay instead of LockDisplay. That function 3541 does everything that LockDisplay does *except* call those final two 3542 functions which may end up receiving an error. 3543 3544 However, that doesn't protect the system from applications which call 3545 some legal Xlib function from within their error handler. Any Xlib 3546 function which cannot generate protocol or wait for events is valid, 3547 including many which invoke LockDisplay. 3548 3549 What we need to do is make LockDisplay skip these two function calls 3550 precisely when it is called from within the _XError context for the 3551 same display. 3552 3553 This patch accomplishes this by creating a list of threads in the 3554 display which are in _XError, and then having LockDisplay check the 3555 current thread against those list elements. 3556 3557 Inspired-by: Dmitry Osipenko <digetx@gmail.com> 3558 Signed-off-by: Keith Packard <keithp@keithp.com> 3559 Tested-by: Dmitry Osipenko <digetx@gmail.com> 3560 Reviewed-by: Dmitry Osipenko <digetx@gmail.com> 3561 3562commit c9c4d6efbf92ab51695e2e740319503221d68eed 3563Author: Benno Schulenberg <bensberg@telfort.nl> 3564Date: Fri Nov 13 11:34:04 2020 +0100 3565 3566 nls: improve the comments for the Serbian compose sequences 3567 3568 Also put an extra space before the lone combining characters 3569 so they have some room to breathe. 3570 3571 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3572 3573commit 3497dae3d9c52a252110b2a0983b82000be0fe8e 3574Author: Benno Schulenberg <bensberg@telfort.nl> 3575Date: Fri Nov 13 11:23:09 2020 +0100 3576 3577 nls: remove mistaken Serbian compose sequences with combining diacritics 3578 3579 Combining characters are not dead keys -- they have an immediate effect 3580 and combine with the preceding character. So they cannot be used in 3581 compose sequences. 3582 3583 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3584 3585commit 5cd60398b7787297008b13a848ed3cfbd7ef178d 3586Author: Benno Schulenberg <bensberg@telfort.nl> 3587Date: Mon Nov 2 16:34:39 2020 +0100 3588 3589 nls: rename the obsolete sr_CS locale to sr_RS 3590 3591 Fixes #107, for the most part. 3592 3593 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3594 3595commit 7cf1729590534e257b851899cf03421b65c538e3 3596Author: Keith Packard <keithp@keithp.com> 3597Date: Sat Nov 7 17:02:56 2020 -0800 3598 3599 Don't attempt to unload locale context data 3600 3601 Most locale context users call _XlcCurrentLC, which returns a pointer 3602 which never needs to be passed to _XCloseLC, meaning it has unbounded 3603 lifetime, so that locale data can never be freed. 3604 3605 Remove all reference counting and just leave all locales that were 3606 ever used in memory. 3607 3608 Signed-off-by: Keith Packard <keithp@keithp.com> 3609 Acked-by: Martin Peres <martin.peres@mupuf.org> 3610 3611commit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d 3612Author: Jacek Caban <jacek@codeweavers.com> 3613Date: Mon Aug 14 19:20:19 2017 +0200 3614 3615 Don't cache last lcd in _XlcCurrentLC. 3616 3617 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 3618 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 3619 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 3620 3621 The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway. 3622 3623 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 3624 Signed-off-by: Keith Packard <keithp@keithp.com> 3625 Acked-by: Martin Peres <martin.peres@mupuf.org> 3626 3627commit 7a38c09b82ee2522d987c3da4af8af186e562c61 3628Author: Keith Packard <keithp@keithp.com> 3629Date: Sat Nov 7 16:59:37 2020 -0800 3630 3631 Don't cache converters in _Xlcmbtowc and Xlcwctomb 3632 3633 These functions were caching encoding conversion functions in static 3634 variables which is not thread safe. Let the conversion loader do its 3635 job and cache locale to converters there. It's less efficient, but 3636 it's also (now) thread safe. 3637 3638 Signed-off-by: Keith Packard <keithp@keithp.com> 3639 Acked-by: Martin Peres <martin.peres@mupuf.org> 3640 3641commit b52ba5c209165fc2c533b77b86147b31763299f3 3642Author: Jacek Caban <jacek@codeweavers.com> 3643Date: Mon Aug 14 19:20:20 2017 +0200 3644 3645 Make conv_list thread safe. 3646 3647 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 3648 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 3649 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 3650 Signed-off-by: Jacek Caban <jacek@codeweavers.com> 3651 Signed-off-by: Keith Packard <keithp@keithp.com> 3652 Acked-by: Martin Peres <martin.peres@mupuf.org> 3653 3654commit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956 3655Author: Antti Savolainen <antti.savo@gmail.com> 3656Date: Wed Sep 16 07:47:26 2020 +0000 3657 3658 Added DOWNWARD ARROW support 3659 3660commit 7138826dccba9d538dfb142ce9af1a40d64ea849 3661Author: Antti Savolainen <antti.savo@gmail.com> 3662Date: Tue Sep 8 00:54:23 2020 +0300 3663 3664 Added support for UPWARDS ARROW and ALMOST EQUAL TO 3665 3666 Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 3667 3668commit 56d59299f7433cdeb88bac970b06eb7df44df5bb 3669Author: Jonathan Belsewir <jonbel@jonasund.de> 3670Date: Thu Nov 5 22:57:50 2020 +0000 3671 3672 Add less and greater to characters that are difficult to access on some keyboards 3673 3674commit 5caf45f8d3bebad5b72ac88545adc156ccfd754d 3675Author: Benno Schulenberg <bensberg@telfort.nl> 3676Date: Fri Oct 23 17:12:22 2020 +0200 3677 3678 nls: Allow all letters with a caron to be composed also with v. 3679 3680 It was strange that the accented letters Ž and ž can be composed with 3681 sequences that start with "v" ("v Z" and "v z"), but not Č and č and 3682 Š and š (and other letters with a caron). For these letters, compose 3683 sequences that start with a "c" had to be used, which was frustrating 3684 because it is hard to remember that "c" stands for "caron", AND the 3685 graphically more obvious "v" is right next to it. 3686 3687 (Unfortunately, the sequence "v l" is already taken for vertical line. 3688 Maybe the compose sequences for vertical line could be reduced to just 3689 "V L" and "L V"?) 3690 3691 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3692 3693commit 62de4ac9025e2cb3f62a890241c06ebc75acce62 3694Author: Benno Schulenberg <bensberg@telfort.nl> 3695Date: Sun Nov 1 20:23:55 2020 +0100 3696 3697 nls: vertically align the target column of aliases 3698 3699 Also improve the grammar of the initial comment. 3700 3701 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3702 3703commit f5b26a16ef959fc6860e9cf58b97a042600900b4 3704Author: Benno Schulenberg <bensberg@telfort.nl> 3705Date: Sun Nov 1 20:17:05 2020 +0100 3706 3707 nls: remove some twenty aliases that have been obsolete for fifteen years 3708 3709 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3710 3711commit 3e61f3b49660e081108f06bc514366f1784cb2e0 3712Author: Benno Schulenberg <bensberg@telfort.nl> 3713Date: Sun Nov 1 19:50:56 2020 +0100 3714 3715 nls: remove country-specific aliases for two constructed languages 3716 3717 These artificial languages are meant to be international and are 3718 thus not specific to any country. If one would want to support 3719 aliases like ia_FR or ia_CH, then one would also have to support 3720 ia_AU, ia_DE, ia_ES, et cetera, et cetera. That would be silly. 3721 3722 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3723 3724commit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c 3725Author: Benno Schulenberg <bensberg@telfort.nl> 3726Date: Sun Nov 1 17:28:24 2020 +0100 3727 3728 nls: remove four aliases where the name is identical to the definition 3729 3730 They were found with: 3731 3732 while read one two; do 3733 if [[ $one == $two: ]]; then echo $two; fi; 3734 done <nls/locale.alias.pre 3735 3736 Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 3737 3738commit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7 3739Author: Carlos Garnacho <carlosg@gnome.org> 3740Date: Fri Jun 14 17:55:14 2019 +0200 3741 3742 Add XSetIOErrorExitHandler() function 3743 3744 This function complements XSetIOErrorHandler(), allowing to override 3745 the default behavior that trusts on I/O errors never coming back 3746 (i.e. exit()ing the process). 3747 3748 This is meant as a mechanism for Wayland compositors (that are too 3749 a X11 client + compositing manager) to unfasten seatbelts and jump 3750 through the car window. It might get lucky and land on a stack of 3751 pillows. 3752 3753 In consequence, some functions labeled as _X_NORETURN can as a 3754 matter of fact return. So those hints were removed. 3755 3756 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 3757 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 3758 3759commit 4cb758019e374fa7c022fe79d28444e13441717b 3760Author: Carlos Garnacho <carlosg@gnome.org> 3761Date: Fri Jun 14 17:54:47 2019 +0200 3762 3763 Prepare for _XIOError() possibly returning 3764 3765 Ensure current state is cut short on _XIOError(), possible reentrancy 3766 should be skipped through the XlibDisplayIOError flag checks. 3767 3768 Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 3769 Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 3770 3771commit a37986f7a7d4ae9b8292b132dbb0da2885ea919c 3772Author: Ross Burton <ross.burton@intel.com> 3773Date: Wed Jan 22 17:11:23 2020 +0000 3774 3775 cpprules.in: squash whitespace in generated files 3776 3777 CPP is used to generate files, but as cpp reads files from the build host the 3778 output has a number of blank lines at the beginning which varies depending on 3779 what GCC and friends is used. 3780 3781 Pathalogical example: 3782 3783 $ cpp -undef -traditional /dev/null 3784 # 1 "/dev/null" 3785 # 1 "<built-in>" 3786 # 1 "<command-line>" 3787 # 31 "<command-line>" 3788 # 1 "/usr/include/stdc-predef.h" 1 3 4 3789 3790 # 17 "/usr/include/stdc-predef.h" 3 4 3791 3792 [ 40 blank line ] 3793 3794 # 32 "<command-line>" 2 3795 # 1 "/dev/null" 3796 3797 So depending on the content of stdc-predef.h and what other headers CPP will 3798 load, the amount of whitespace in the generates files varies. This can result in 3799 differences in reproducible environments, and file conflicts in multilib 3800 environments. 3801 3802 As whitespace is irrelevant to these machine-readable files, extend the sed to 3803 just delete blank lines. 3804 3805commit 16192ce2a7e462e09f95aa45ce9eaa180e483c43 3806Author: Carmina16 <mistresssilvara@hotmail.com> 3807Date: Sun Jun 16 02:54:25 2019 +0000 3808 3809 Adding ia and ie locales 3810 3811commit caa71668af7fd3ebdd56353c8f0ab90824773969 3812Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3813Date: Mon Sep 28 16:16:07 2020 -0700 3814 3815 Use __builtin_popcountl if available to replace Ones() in GetImage.c 3816 3817 If the compiler knows of a better algorithm for counting the number of 3818 bits set in a word for the target CPU, let it use that, instead of the 3819 classic algorithm optimized for PDP-6. 3820 3821 Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b 3822 3823 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3824 3825commit 1a9269a95c353e3de9f4d33bab9f1363d84e79db 3826Author: Krzesimir Nowak <qdlacz@gmail.com> 3827Date: Mon Jun 1 12:58:30 2020 +0000 3828 3829 Fix leaking modifiers string. 3830 3831 Reported by valgrind: 3832 3833 ``` 3834 ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675 3835 ==118175== at 0x483A809: malloc (vg_replace_malloc.c:307) 3836 ==118175== by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0) 3837 ==118175== by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0) 3838 ==118175== by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324) 3839 ==118175== by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455) 3840 ==118175== by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532) 3841 ==118175== by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206) 3842 ==118175== by 0x402634: main (fade.cc:35) 3843 ``` 3844 3845commit d127217f26df1bf7566c1f372d8b5329a06754ea 3846Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3847Date: Sun Aug 16 17:03:24 2020 -0700 3848 3849 Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings 3850 3851 Gets rid of: 3852 src/xkb/XKBBind.c: In function ‘XLookupKeysym’: 3853 src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated 3854 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations] 3855 234 | return XKeycodeToKeysym(dpy, event->keycode, col); 3856 | ^~~~~~ 3857 src/xkb/XKBBind.c:96:1: note: declared here 3858 96 | XKeycodeToKeysym(Display *dpy, 3859 | ^~~~~~~~~~~~~~~~ 3860 3861 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3862 3863commit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5 3864Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3865Date: Sun Aug 16 16:50:43 2020 -0700 3866 3867 lcUTF8: Increase string buffer size from 20 to 32 bytes 3868 3869 While we don't expect large enough ints to need it, we don't 3870 enforce a maximum size, so gcc assumes the worst and warns: 3871 3872 ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’: 3873 ../../../src/xlibi18n/lcUTF8.c:1736:34: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=] 3874 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3875 | ^~~~~~~~~~~~~ 3876 ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 3877 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3878 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3879 ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 3880 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3881 | ^ 3882 ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 3883 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3884 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3885 ../../../src/xlibi18n/lcUTF8.c:1754:41: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=] 3886 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3887 | ^~~~~~~~~~~~~ 3888 ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 3889 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 3890 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3891 ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 3892 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3893 | ^ 3894 ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 3895 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 3896 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3897 3898 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3899 3900commit 54925250ad9c825bea671dcade5c913bad88abee 3901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3902Date: Sun Aug 16 16:33:59 2020 -0700 3903 3904 i18n: use memcpy instead of strncpy on unterminated char arrays 3905 3906 Avoids gcc warnings that we're using strncpy wrong to copy a known-length 3907 set of characters without a terminating '\0' to a buffer whose length we 3908 are checking separately. (Should also be imperceptibly faster since we 3909 no longer check if each byte is '\0' when we already know it won't be.) 3910 3911 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3912 3913commit 8754868dbbbc5fa096282df0504aa7880488eeb9 3914Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3915Date: Sun Aug 16 16:02:01 2020 -0700 3916 3917 Mark FreeBlueTblElements label unused in LRGB.c 3918 3919 Quiets gcc 10.2 warning of: 3920 src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’: 3921 src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined 3922 but not used 3923 [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label] 3924 798 | FreeBlueTblElements: 3925 | ^~~~~~~~~~~~~~~~~~~ 3926 3927 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3928 3929commit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e 3930Author: Alan Coopersmith <alan.coopersmith@oracle.com> 3931Date: Sun Aug 16 14:54:47 2020 -0700 3932 3933 Raise minimum required xproto version to 7.0.25 (released 2013-11-23) 3934 3935 Allows us to depend on _X_COLD directly instead of having to check for it. 3936 3937 (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required 3938 already but not checked for.) 3939 3940 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3941 3942commit deafb99fd8faf8b044eaee13d072440ce4db76af 3943Author: Maya Rashish <maya@NetBSD.org> 3944Date: Sun Aug 23 21:19:33 2020 +0300 3945 3946 Avoid the use of "register" keyword in public headers. 3947 3948 This causes issues when compiling code for C++17. 3949 3950commit 505420662577749e36640db48f6b6b9ae0236e09 3951Author: Matthieu Herrb <matthieu@herrb.eu> 3952Date: Mon Aug 24 15:42:25 2020 +0200 3953 3954 libX11 1.6.12 3955 3956 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3957 3958commit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d 3959Author: Matthieu Herrb <matthieu@herrb.eu> 3960Date: Thu Aug 13 18:02:58 2020 +0200 3961 3962 Fix an integer overflow in init_om() 3963 3964 CVE-2020-14363 3965 3966 This can lead to a double free later, as reported by Jayden Rivers. 3967 3968 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 3969 3970commit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b 3971Author: Niclas Zeising <zeising@daemonic.se> 3972Date: Tue Aug 11 13:44:38 2020 +0200 3973 3974 Fix input clients connecting to server 3975 3976 Fix a bug where some input clients can't connect to the input server. 3977 This fixes #117. 3978 3979 FreeBSD bugzilla reference: 3980 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549 3981 3982 Signed-off-by: Niclas Zeising <zeising@daemonic.se> 3983 3984commit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c 3985Author: Maya Rashish <maya@NetBSD.org> 3986Date: Sat Aug 15 00:48:56 2020 +0300 3987 3988 Avoid the use of "register" keyword in XkbTranslateKeySym. 3989 3990 This causes issues when compiling code for C++17. 3991 While here, make function prototype match the header with regards 3992 to removal of another register keyword. 3993 3994commit 780d222343098b4bfe3ec529b4a0dc2aadea19bf 3995Author: Christopher Chavez <chrischavez@gmx.us> 3996Date: Mon Aug 10 17:08:39 2020 +0000 3997 3998 Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage 3999 4000commit 29a8251a456bb7dc10146b4713f499a624d6dacd 4001Author: Felix Yan <felixonmars@archlinux.org> 4002Date: Thu Aug 6 16:03:38 2020 +0000 4003 4004 Correct a typo in GetStCmap.c 4005 4006commit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70 4007Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4008Date: Thu Aug 6 08:07:57 2020 -0700 4009 4010 libX11 1.6.11 4011 4012 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4013 4014commit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b 4015Author: Yichao Yu <yyc1992@gmail.com> 4016Date: Sun Aug 2 13:43:58 2020 -0400 4017 4018 Fix size calculation in `_XimAttributeToValue`. 4019 4020 The check here guards the read below. 4021 For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers` 4022 these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`. 4023 (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this 4024 function and doesn't need to be checked.) 4025 4026 The old code here used the native datatype size instead of the wire protocol size causing 4027 the check to always fail. 4028 4029 Also fix the size calculation for the header (size). It is 2 x CARD16 for both types 4030 despite the unused `CARD16` for `XimType_XIMStyles`. 4031 4032 [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles 4033 4034 This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10. 4035 4036 Fix #116 4037 4038commit 9949364ea761ab7efa2a9930ec7718f966a740c0 4039Author: Matthieu Herrb <matthieu@herrb.eu> 4040Date: Thu Jul 30 21:36:22 2020 +0200 4041 4042 libX11 1.6.10 4043 4044 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4045 4046commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d 4047Author: Matthieu Herrb <matthieu@herrb.eu> 4048Date: Fri Jul 24 21:09:10 2020 +0200 4049 4050 Change the data_len parameter of _XimAttributeToValue() to CARD16 4051 4052 It's coming from a length in the protocol (unsigned) and passed 4053 to functions that expect unsigned int parameters (_XCopyToArg() 4054 and memcpy()). 4055 4056 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4057 Reviewed-by: Todd Carson <toc@daybefore.net> 4058 4059commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 4060Author: Todd Carson <tc@daybefore.net> 4061Date: Fri Jul 24 20:59:32 2020 +0200 4062 4063 Zero out buffers in functions 4064 4065 It looks like uninitialized stack or heap memory can leak 4066 out via padding bytes. 4067 4068 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4069 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4070 4071commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60 4072Author: Todd Carson <tc@daybefore.net> 4073Date: Fri Jul 24 20:22:44 2020 +0200 4074 4075 Fix more unchecked lengths 4076 4077 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4078 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4079 4080commit 388b303c62aa35a245f1704211a023440ad2c488 4081Author: Todd Carson <tc@daybefore.net> 4082Date: Fri Jul 24 19:36:51 2020 +0200 4083 4084 fix integer overflows in _XimAttributeToValue() 4085 4086 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4087 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4088 4089commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e 4090Author: Todd Carson <tc@daybefore.net> 4091Date: Fri Jul 24 19:33:30 2020 +0200 4092 4093 Fix signed length values in _XimGetAttributeID() 4094 4095 The lengths are unsigned according to the specification. Passing 4096 negative values can lead to data corruption. 4097 4098 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 4099 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 4100 4101commit 2b7598221d87049d03e9a95fcb541c37c8728184 4102Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4103Date: Wed Jul 22 15:19:58 2020 -0700 4104 4105 Fix spelling/wording issues 4106 4107 Found by using: 4108 codespell --builtin clear,rare,usage,informal,code,names 4109 4110 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4111 4112commit f9e3378ebcfc79ff00591b8617a68e97580a741e 4113Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 4114Date: Sun Jul 19 22:19:24 2020 +0200 4115 4116 xlibi18n: Fix converting horizline keysyms to UCS 4117 4118 U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is 4119 unified with scan line 5. 4120 4121 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 4122 4123commit 4385a84c4a79c1b60bf12839899a1544198de975 4124Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 4125Date: Thu Jun 4 02:19:13 2020 +0200 4126 4127 Braille: Fix default lookup 4128 4129 cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that 4130 translates Braille keysym patterns to Braille Unicode patterns since it 4131 rightfully clears brl_committing, but then we do not have it any more to 4132 fill brl_committed. 4133 4134 This change saves the committed pattern so we can return it in the 4135 default lookup. 4136 4137 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 4138 4139commit fb65b67169105c82c243f265e0f993cf72efdacd 4140Author: Marko Myllynen <myllynen@redhat.com> 4141Date: Fri Feb 28 13:59:36 2020 +0200 4142 4143 Update Finnish compose sequences for SFS 5966:2019 standard 4144 4145 U0219, U0218, U021B, U021A are now part of the standard. 4146 4147 Fixes #70 which was printed incorrectly in the earlier standard version. 4148 4149commit 07724ce046348a21cc82a874853b14b9a285df75 4150Author: Tristan Miller <psychonaut@nothingisreal.com> 4151Date: Wed Sep 25 13:34:01 2019 +0200 4152 4153 Add acute accent compose sequences for Russian vowels. 4154 4155 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104 4156 4157 Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com> 4158 4159commit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507 4160Author: Thomas E. Dickey <dickey@invisible-island.net> 4161Date: Sat Apr 25 14:40:54 2020 -0400 4162 4163 document an ancient performance problem (see Debian #954845). 4164 4165 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4166 4167commit 791c93816ce0520d54925b0b3ccbc29823370041 4168Author: Thomas E. Dickey <dickey@invisible-island.net> 4169Date: Sat Apr 25 14:22:11 2020 -0400 4170 4171 update/correct function prototypes in manpages to match headers 4172 4173 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4174 4175commit 844271305a28e87031562dfeb43defbea02960a2 4176Author: Thomas E. Dickey <dickey@invisible-island.net> 4177Date: Tue Apr 21 20:53:35 2020 -0400 4178 4179 reduce gcc-normal warnings using casts (no object change) 4180 4181 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4182 4183commit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca 4184Author: Thomas E. Dickey <dickey@invisible-island.net> 4185Date: Tue Apr 21 18:13:22 2020 -0400 4186 4187 reduce gcc-normal warnings using casts (no object change) 4188 4189 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4190 4191commit 68c72a7341b114277ab232f2499ee3bd035af8a0 4192Author: Adam Jackson <ajax@redhat.com> 4193Date: Wed Dec 11 11:53:11 2019 -0500 4194 4195 Fix XTS regression in XCopyColormapAndFree 4196 4197 XCopyColormapAndFree/5 threw an assertion: 4198 4199 520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A) 4200 520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap, 4201 520|4 5 00014017 1 4|then a BadColor error occurs. 4202 520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap. 4203 520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument. 4204 520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs. 4205 520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received 4206 220|4 5 2 15:05:53|UNRESOLVED 4207 410|4 5 1 15:05:53|IC End 4208 510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) 4209 4210 More specifically: 4211 4212 lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed. 4213 4214 This bug was introduced (by following my advice, d'oh) in: 4215 4216 commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 4217 Author: Tapani Pälli <tapani.palli@intel.com> 4218 Date: Mon May 13 08:29:49 2019 +0300 4219 4220 Protect colormap add/removal with display lock 4221 4222 In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the 4223 display lock. The problem is said routine has side effects, including 4224 trying to implicitly create a colormap in some cases. Since we don't run 4225 the XID handler until SyncHandle() we would see inconsistent internal 4226 xlib state, triggering the above assert. 4227 4228 Fix this by dropping and re-taking the display lock before calling into 4229 XCMS. 4230 4231 Reviewed-by: Tapani Pälli <tapani.palli@intel.com> 4232 4233commit 7f46a38139f66fda734f3a6c445b84ea89c8f310 4234Author: Alex Henrie <alexhenrie24@gmail.com> 4235Date: Wed Jan 1 14:54:06 2020 -0700 4236 4237 Handle small final sigma in XConvertCase 4238 4239 lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2) 4240 uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3) 4241 4242 This mapping was correct in UCSConvertCase, but the "legacy" mapping 4243 must also be correct for Caps Lock to work with the final sigma key. 4244 4245 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5 4246 4247 Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> 4248 4249commit a48787d3d155c8a09cead345f5055da30c1db537 4250Author: Peter Hutterer <peter.hutterer@who-t.net> 4251Date: Wed Dec 11 14:12:27 2019 +1000 4252 4253 Handle ssharp in XConvertCase() 4254 4255 lowercase: LATIN SMALL LETTER SHARP S (U+00DF) 4256 uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E) 4257 4258 The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode 4259 but was added to the relevant keyboard layouts in xkeyboard-config-2.25 4260 (d1411e5e95c) 4261 https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144 4262 4263 Alas, the CapsLock behavior was broken on the finnish layout (maybe others). 4264 This was due to xkbcomp using XConvertCase() to determine whether a key 4265 requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC. 4266 4267 Let's make this function return the right lower/upper symbols for the sharp s 4268 and hope that the world won't get any worse because of it. 4269 4270 https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110 4271 4272 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4273 4274commit b8766a438461e20b5c6f7a6111b703d4cb71501f 4275Author: Raul Fernandes <rgfernandes@gmail.com> 4276Date: Wed Oct 9 18:39:26 2019 +0000 4277 4278 Use memcmp and memcpy 4279 4280commit db7cca17ad7807e92a928da9d4c68a00f4836da2 4281Author: Adam Jackson <ajax@redhat.com> 4282Date: Wed Oct 9 13:41:29 2019 -0400 4283 4284 libX11 1.6.9 4285 4286 Signed-off-by: Adam Jackson <ajax@redhat.com> 4287 4288commit f5ba2c632a4c84279bdd48c687271292f5dc4f87 4289Author: Dmitry Osipenko <digetx@gmail.com> 4290Date: Sat May 18 19:10:32 2019 +0300 4291 4292 Fix lockup in _XReply() caused by recursive synchronization 4293 4294 This patch is based on a suggestion made by Uli Schlachter in a comment 4295 to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93. 4296 4297 Explanation of the bug (given by Uli Schlachter as well): 4298 4299 An error was received and handled. Since there was an error callback set, 4300 Xlib unlocks the display, runs the error callback, and then locks the display 4301 again. This goes through _XLockDisplay and then calls _XSeqSyncFunction. 4302 On this "lock the thing"-path, Xlib notices that sequence numbers are close to 4303 wrap-around and tries to send a GetInputFocus request. However, the earlier 4304 calls already registered themselves as "we are handling replies/errors, do 4305 not interfere!" and so the code here waits for "that other thread" to be done 4306 before it continues. Only that there is no other thread, but it is this thread 4307 itself and thus a deadlock follows. 4308 4309 The bug is relatively easy to reproduce on any desktop environment by 4310 using actively a touchscreen input that supports multitouch, i.e. practically 4311 all mobile devices are affected. 4312 4313 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93 4314 Suggested-by: Uli Schlachter <psychon@znc.in> 4315 Tested-by: Dmitry Osipenko <digetx@gmail.com> 4316 Reported-by: Dmitry Osipenko <digetx@gmail.com> 4317 Signed-off-by: Dmitry Osipenko <digetx@gmail.com> 4318 4319commit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905 4320Author: Adam Jackson <ajax@redhat.com> 4321Date: Fri Sep 13 16:44:32 2019 -0400 4322 4323 xkb: Provide <X11/extensions/XKBgeom.h> ourselves 4324 4325 This header refers to libX11 types, it doesn't belong in xorgproto and 4326 has been moved to legacy in 2019.2. Supply it ourselves. 4327 4328commit edc7680ed5a03cedb5facf14693823455e12c29c 4329Author: Ross Burton <ross.burton@intel.com> 4330Date: Tue Aug 6 14:53:43 2019 +0100 4331 4332 src/util/Makefile: explicitly reset LINK to not use libtool 4333 4334 Simply looking at libtool redefines LINK globally to use libtool, which when 4335 you're trying to cross-compile to Windows can cause complications. 4336 4337 As in src/util/ we're simply building a small binary for the build host, reset 4338 LINK to the automake default so that the traditional compile/link steps occur 4339 without libtool. 4340 4341 Also remove -all-static from LDFLAGS as that is a libtool-specific argument 4342 intended to solve this problem. 4343 4344 Closes: #100 4345 Signed-off-by: Ross Burton <ross.burton@intel.com> 4346 4347commit f111bf3ac091a3a6d1f094172621d9d033c3833c 4348Author: Thomas E. Dickey <dickey@invisible-island.net> 4349Date: Tue Jul 30 16:53:27 2019 -0400 4350 4351 improve some formatting 4352 4353 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4354 4355commit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9 4356Author: Thomas E. Dickey <dickey@invisible-island.net> 4357Date: Tue Jul 30 15:49:09 2019 -0400 4358 4359 fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/" 4360 4361 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4362 4363commit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98 4364Author: Thomas E. Dickey <dickey@invisible-island.net> 4365Date: Tue Jul 30 05:07:40 2019 -0400 4366 4367 split lines at sentence endings 4368 4369 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4370 4371commit 6f2cbcea5d6dcd1df7ef309481cad1663284c061 4372Author: Thomas E. Dickey <dickey@invisible-island.net> 4373Date: Tue Jul 30 04:52:25 2019 -0400 4374 4375 trim trailing whitespace from manpages 4376 4377 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4378 4379commit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5 4380Author: Thomas E. Dickey <dickey@invisible-island.net> 4381Date: Tue Jul 30 04:36:24 2019 -0400 4382 4383 another fake-quote fix 4384 4385 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4386 4387commit c0f0651f2b4dfa9fef86d1374689220125631993 4388Author: Thomas E. Dickey <dickey@invisible-island.net> 4389Date: Tue Jul 30 04:34:54 2019 -0400 4390 4391 the last commit overlooked some fake-quote pairs 4392 4393 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 4394 4395commit ef31143c9decda54b3ab2937d3300fcf5b493fd6 4396Author: Walter Harms <wharms@bfs.de> 4397Date: Mon Jul 29 18:50:19 2019 +0200 4398 4399 fix ``fake quotes'' in text 4400 4401 to remove the fake quotes replace them with propper 4402 predefined macros \*(lq and \*(rq. this will allow 4403 nroff to choose the propper characters when using ps etc. 4404 4405 Signed-off-by: Walter Harms <wharms@bfs.de> 4406 4407commit 705027ea9b17d6552388d2067736ab4b0bf9dfb5 4408Author: Walter Harms <wharms@bfs.de> 4409Date: Mon Jul 29 18:27:12 2019 +0200 4410 4411 get rid of ``fake quotes'' 4412 4413 these fake quotes are inside a comment and can be replaced with 4414 some double quotes 4415 4416 Signed-off-by: Walter Harms <wharms@bfs.de> 4417 4418commit fe46eb287106ad05538e896783a5cf877a4138df 4419Author: Walter Harms <wharms@bfs.de> 4420Date: Mon Jul 29 17:57:02 2019 +0200 4421 4422 remove all private macro defines 4423 4424 after converting everything to st. man page macros there is 4425 no need to maintain X11 private nroff macros, so remove them. 4426 4427 Signed-off-by: Walter Harms <wharms@bfs.de> 4428 4429commit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764 4430Author: Walter Harms <wharms@bfs.de> 4431Date: Mon Jul 29 17:47:35 2019 +0200 4432 4433 Replace home-grown .Ds .De macro with man page .EX/.EE macro 4434 4435 Same pages use the man page .EX/.EE macro. Replace all occurences 4436 of .De/.Ds with the std. macros to make the code better to maintain. 4437 4438 Signed-off-by: Walter Harms <wharms@bfs.de> 4439 4440commit 951e772bc8d89bc62c4bbac14adc5d4f5027419f 4441Author: Walter Harms <wharms@bfs.de> 4442Date: Wed Jul 3 18:23:51 2019 +0200 4443 4444 fix TBL format 4445 4446 Signed-off-by: Walter Harms <wharms@bfs.de> 4447 4448commit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e 4449Author: Walter Harms <wharms@bfs.de> 4450Date: Wed Jul 3 18:18:09 2019 +0200 4451 4452 replace home grown .ZN with std, .B and .BR 4453 4454 Replace the home grown macro .ZN with std. macros 4455 from man macro paket. So we can get rid of the 4456 definition an get a clean header. 4457 4458 Signed-off-by: Walter Harms <wharms@bfs.de> 4459 4460commit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458 4461Author: Walter Harms <wharms@bfs.de> 4462Date: Sat Jun 22 18:33:48 2019 +0200 4463 4464 remove in-text macros 4465 4466 remove in-text macros an fix a few typos on the way. 4467 hopefuly that will make maintenance more easy. 4468 4469 Signed-off-by: Walter Harms <wharms@bfs.de> 4470 4471commit cb0e894fe9927b07bd9d97c067fd0d007accb105 4472Author: Walter Harms <wharms@bfs.de> 4473Date: Fri Jun 21 18:01:16 2019 +0200 4474 4475 note that we can handle kbd==NULL 4476 4477 Signed-off-by: Walter Harms <wharms@bfs.de> 4478 4479commit 0327c427d62f671eced067c6d9b69f4e216a8cac 4480Author: Adam Jackson <ajax@redhat.com> 4481Date: Mon Jun 17 13:36:08 2019 -0400 4482 4483 makekeys: Detach ourselves from X headers entirely 4484 4485 Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer 4486 building makekeys with enough -I/foo/bar to find the X11 headers, so if 4487 they're not in a system include path, things fail. Since this utility is 4488 only needed at build time, there's no real reason to demand the X 4489 headers be installed for both the build and target machines if cross- 4490 compiling, we can just assume a vaguely ANSI environment instead. 4491 4492 Tested-by: Niclas Zeising <zeising@daemonic.se> 4493 Reviewed-by: Keith Packard <keithp@keithp.com> 4494 Reviewed-by: Matt Turner <mattst88@gmail.com> 4495 4496commit 57f0d421a1320090d3a4948181fe228d86cc8977 4497Author: Matt Turner <mattst88@gmail.com> 4498Date: Mon Jun 17 10:45:45 2019 -0400 4499 4500 libX11 1.6.8 4501 4502 Signed-off-by: Matt Turner <mattst88@gmail.com> 4503 4504commit 5464b302bc0c4a055d3eac06c6ab15e209ff7668 4505Author: Matt Turner <mattst88@gmail.com> 4506Date: Sun Jun 9 14:00:15 2019 -0700 4507 4508 Use AC_SYS_LARGEFILE 4509 4510 ... and include config.h in makekeys.c to get the definition of 4511 _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file 4512 system with 64-bit inode numbers. 4513 4514 Bug: https://bugs.gentoo.org/550502 4515 Bug: https://bugs.gentoo.org/616140 4516 Signed-off-by: Matt Turner <mattst88@gmail.com> 4517 4518commit 33b9148a833ab2ea46e44871da3c031bf1b78f77 4519Author: Ran Benita <ran234@gmail.com> 4520Date: Thu Feb 13 20:55:08 2014 +0200 4521 4522 Compose.man: fix escaped hexadecimal char description 4523 4524 The man page says: 4525 Strings may be direct text encoded in the locale for which the 4526 compose file is to be used, or an escaped octal or hexadecimal 4527 character code. Octal codes are specified as "\123" and 4528 hexadecimal codes as "\0x123a". 4529 4530 But the grammar in the parser and the implementation say: 4531 ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) 4532 HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] 4533 HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) 4534 4535 So "\0x123a" -> "\x3a". 4536 4537 Signed-off-by: Ran Benita <ran234@gmail.com> 4538 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4539 4540commit d9b2cc35edf01e4f751a9ccb5ac185745184cec0 4541Author: ojab <ojab@ojab.ru> 4542Date: Mon Apr 24 20:12:17 2017 +0000 4543 4544 Compose sequences for rouble sign 4545 4546 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 4547 4548 Signed-off-by: Slava Kardakov <ojab@ojab.ru> 4549 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4550 4551commit 3f211616f6414bd9958566c0ca137e87a2b6df95 4552Author: Pavel Labath <pavelo@centrum.sk> 4553Date: Fri Nov 30 20:45:04 2012 +0100 4554 4555 Fix a leak in XCreateFontSet 4556 4557 a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks, 4558 as evidenced by the following valgrind output: 4559 ==983== HEAP SUMMARY: 4560 ==983== in use at exit: 39,409 bytes in 341 blocks 4561 ==983== total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated 4562 ==983== 4563 ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record 4564 40 of 46 4565 ==983== at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 4566 ==983== by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0) 4567 ==983== by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0) 4568 ==983== by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0) 4569 ==983== by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0) 4570 ==983== by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0) 4571 ==983== by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0) 4572 ==983== by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0) 4573 ==983== by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0) 4574 ==983== by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746) 4575 ==983== by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602) 4576 ==983== by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92) 4577 ==983== 4578 ==983== LEAK SUMMARY: 4579 ==983== definitely lost: 136 bytes in 1 blocks 4580 ==983== indirectly lost: 1,552 bytes in 34 blocks 4581 ==983== possibly lost: 0 bytes in 0 blocks 4582 ==983== still reachable: 37,721 bytes in 306 blocks 4583 ==983== suppressed: 0 bytes in 0 blocks 4584 4585 This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still 4586 reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is 4587 destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using 4588 code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the 4589 correct code path, and I'm pretty sure this is correct (the object was constructed using 4590 _XlcCreateLC, it make sense to destroy it using its conterpart). 4591 4592 So far I haven't observed any strange behaviour on my system caused by this change (although, I'm 4593 not sure, how many programs actually use this function). 4594 4595 Signed-off-by: Pavel Labath <pavelo@centrum.sk> 4596 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4597 4598commit 4645e219133458781e3fb48eaea6a74cccb1b9aa 4599Author: Jon Turney <jon.turney@dronecode.org.uk> 4600Date: Tue Apr 30 14:39:06 2019 +0100 4601 4602 Avoid using libtool wrapper for makekeys 4603 4604 For Windows targets, libtool uses a wrapper executable, not a wrapper 4605 script (see [1]), which it compiles with the host compiler. This 4606 doesn't work when cross-compiling. 4607 4608 Since we don't actually need to link with anything, use the libtool flag 4609 -all-static to tell it to stay completely out of this. 4610 4611 [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html 4612 4613commit 6886d9ba06826785a8ccb312c04ea82b91bb6a25 4614Author: Jon Turney <jon.turney@dronecode.org.uk> 4615Date: Wed Apr 24 12:50:41 2019 +0100 4616 4617 Use EXEEXT_FOR_BUILD for makekeys 4618 4619 Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from 4620 EXEEXT_FOR_BUILD, such as when building for Windows from unix. 4621 4622 (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when 4623 cross-compiling. There could be some elaborate autodetection for 4624 EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from 4625 Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...) 4626 4627commit a121b7b0c210efe10bf93453b29050282324c906 4628Author: Jon Turney <jon.turney@dronecode.org.uk> 4629Date: Tue Apr 30 14:30:41 2019 +0100 4630 4631 Remove makekeys dependency on X headers 4632 4633 This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 4634 by Pierre Ossman, reworked for master. 4635 4636 Avoid using LIBS (which are for host, but we don't need) and rewrite 4637 makekeys slightly to avoid needing to include any X headers, which 4638 avoids potentially having -I with host paths in CFLAGS, which can cause 4639 standard headers e.g. stdio.h for the host to also be used, which can 4640 break things... 4641 4642commit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab 4643Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 4644Date: Fri Jun 7 23:35:33 2019 +0200 4645 4646 Braille: Fix typing quickly 4647 4648 On finishing releasing Braille keys, we should clear the just-commited 4649 pattern, to reset the state to initial state, and avoid having to wait for 4650 0.3s before typing the next pattern. 4651 4652 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 4653 Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr> 4654 4655commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 4656Author: Tapani Pälli <tapani.palli@intel.com> 4657Date: Mon May 13 08:29:49 2019 +0300 4658 4659 Protect colormap add/removal with display lock 4660 4661 This fixes a bug where concurrent threads call XCreateColormap and 4662 XFreeColormap corrupting a linked list where colormap structures 4663 are stored. 4664 4665 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94 4666 4667 v2: handle XCopyColormapAndFree also (Adam Jackson) 4668 4669 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> 4670 4671commit fea80d03c381a4de379863c0d41f6d4c00f15e1e 4672Author: Jon Turney <jon.turney@dronecode.org.uk> 4673Date: Wed Mar 13 13:12:20 2019 +0000 4674 4675 Add autoconf checks for headers we include for FIONREAD 4676 4677 Add autoconf checks for the extra headers we include to define FIONREAD. 4678 This needs sys/socket.h on Cygwin, and none of the alternatives on 4679 Windows. 4680 4681commit 87c77a1e6d7034536e9d25ce24a667ebf53486a7 4682Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 4683Date: Mon Mar 11 14:19:52 2019 +0000 4684 4685 locale.alias.pre - add the de_IT locale 4686 4687 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4688 4689commit 568f77f414072506bbe48646637c872987c97e63 4690Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 4691Date: Mon Mar 11 14:17:10 2019 +0000 4692 4693 locale.dir.pre - add the de_IT locale 4694 4695 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4696 4697commit 38c0c92feaef7dc4a72920b1dd79872e6578086c 4698Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 4699Date: Mon Mar 11 14:12:07 2019 +0000 4700 4701 compose.dir.pre - add de_IT locale 4702 4703 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4704 4705commit 49f835611ba6ab82e68b7b851507931c142db7a5 4706Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 4707Date: Tue Jan 29 15:34:34 2019 +0000 4708 4709 Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH) 4710 4711 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4712 4713commit ed669234d0cd5933618aa5fd2da697b59845b9be 4714Author: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 4715Date: Tue Jan 29 15:28:18 2019 +0000 4716 4717 locale.dir.pre - fix the de_LI latin15 locale 4718 4719 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4720 4721commit 82b5c1454a49333b4d94984d40db79cff386d37f 4722Author: Josh Triplett <josh@joshtriplett.org> 4723Date: Sun Feb 3 08:31:41 2019 +0100 4724 4725 compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences 4726 4727 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 4728 4729commit 603c3ab25a692194805fd4b0c62afac8093897fe 4730Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4731Date: Sat Mar 9 20:58:07 2019 -0800 4732 4733 Add missing close paren to XrmGetStringDatabase synopsis in man page 4734 4735 Fixes: commit 0642e99ac05afb0c 4736 4737 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4738 4739commit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85 4740Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4741Date: Sat Feb 23 11:12:27 2019 -0800 4742 4743 Include reallocarray.h in tarballs so "make distcheck" passes 4744 4745 Fixes: commit bcf7b5aa06c23aee 4746 4747 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4748 4749commit a4a7df06351ce9565d298a84547ff71f2d220fbf 4750Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4751Date: Sat Feb 23 11:04:41 2019 -0800 4752 4753 XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris 4754 4755 Fixes: commit 5538b3e4ae6dee 4756 4757 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4758 4759commit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044 4760Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4761Date: Sat Feb 23 10:48:26 2019 -0800 4762 4763 specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys() 4764 4765 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86 4766 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550 4767 4768 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4769 4770commit 74f2f26811ae82b15dede31504b0eb541f7a3293 4771Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4772Date: Sat Feb 23 10:46:05 2019 -0800 4773 4774 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys() 4775 4776 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85 4777 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549 4778 4779 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4780 4781commit 66b039a41690f076e962ac6bd46cca017360a7d1 4782Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4783Date: Sat Feb 23 10:44:15 2019 -0800 4784 4785 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows() 4786 4787 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84 4788 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548 4789 4790 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4791 4792commit cdea0e840315171f8390adc63a2397ddf111eea4 4793Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4794Date: Sat Feb 23 10:38:08 2019 -0800 4795 4796 specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry() 4797 4798 Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82 4799 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520 4800 4801 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4802 4803commit c72d17ada98723cd9e03ddf06680a0e54b2c3089 4804Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4805Date: Sat Feb 23 10:30:32 2019 -0800 4806 4807 XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys 4808 4809 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4810 4811commit 05002b8aef9544c8545e0823a02cf14f335d2b68 4812Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4813Date: Sun Feb 17 15:13:25 2019 -0800 4814 4815 Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask 4816 4817 Reported-by: Daniel Hahler <git@thequod.de> 4818 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4819 4820commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c 4821Author: Adam Jackson <ajax@redhat.com> 4822Date: Fri Mar 24 11:07:36 2017 -0400 4823 4824 _XDefaultIOError: Do better at detecting explicit shutdown 4825 4826 Currently, when the X server crashes or a client is disconnected with 4827 XKillClient, you get a somewhat confusing error message from libX11 4828 along the lines of: 4829 4830 XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" 4831 after 98 requests (40 known processed) with 0 events remaining. 4832 4833 What's happening here is the previous recvmsg has thrown EAGAIN, since 4834 the socket is non-blocking. In this case, check whether the socket has 4835 any more data to read, and if not treat it like EPIPE. 4836 4837 Signed-off-by: Adam Jackson <ajax@redhat.com> 4838 4839commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 4840Author: Adam Jackson <ajax@redhat.com> 4841Date: Fri Mar 24 11:07:35 2017 -0400 4842 4843 _XDefaultIOError: Reformat to be less ugly 4844 4845 Signed-off-by: Adam Jackson <ajax@redhat.com> 4846 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4847 4848commit 003e30a66a249f5c70b30d1c187385124cd4cdad 4849Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4850Date: Tue Jan 1 14:34:04 2019 -0800 4851 4852 Avoid use-after-free in _XimProtoSetIMValues() 4853 4854 Fixes gitlab issue #49 4855 4856 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4857 4858commit 30656fd66ad47aeaca0bfc237a818f189554f07e 4859Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4860Date: Tue Jan 1 12:21:04 2019 -0800 4861 4862 Fix implicit conversion warnings in _XlcCreateDefaultCharSet 4863 4864 lcCharSet.c:187:50: warning: implicit conversion changes signedness: 4865 'int' to 'unsigned long' [-Wsign-conversion] 4866 tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1); 4867 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 4868 ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc' 4869 ~~~~~~ ^~~~ 4870 lcCharSet.c:192:31: warning: implicit conversion changes signedness: 4871 'int' to 'unsigned long' [-Wsign-conversion] 4872 memcpy(tmp, name, name_len+1); 4873 ~~~~~~ ~~~~~~~~^~ 4874 lcCharSet.c:216:45: warning: implicit conversion changes signedness: 4875 'int' to 'unsigned long' [-Wsign-conversion] 4876 memcpy(tmp, ct_sequence, ct_sequence_len+1); 4877 ~~~~~~ ~~~~~~~~~~~~~~~^~ 4878 lcCharSet.c:183:16: warning: implicit conversion loses integer precision: 4879 'unsigned long' to 'int' [-Wshorten-64-to-32] 4880 name_len = strlen(name); 4881 ~ ^~~~~~~~~~~~ 4882 lcCharSet.c:184:23: warning: implicit conversion loses integer precision: 4883 'unsigned long' to 'int' [-Wshorten-64-to-32] 4884 ct_sequence_len = strlen(ct_sequence); 4885 ~ ^~~~~~~~~~~~~~~~~~~ 4886 lcCharSet.c:198:37: warning: implicit conversion loses integer precision: 4887 'long' to 'unsigned int' [-Wshorten-64-to-32] 4888 unsigned int length = colon - charset->name; 4889 ~~~~~~ ~~~~~~^~~~~~~~~~~~~~~ 4890 4891 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4892 4893commit 2e6300905784fa8adfcea019262ea58b3e1ed4ad 4894Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4895Date: Tue Jan 1 11:41:47 2019 -0800 4896 4897 Remove no-longer-used name variable in _XGetAtomName 4898 4899 Fixes gcc warning: 4900 GetAtomNm.c: In function ‘_XGetAtomName’: 4901 GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable] 4902 char *name; 4903 ^~~~ 4904 4905 Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 4906 4907 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4908 4909commit f077871c2a12cf098b0c50572e112c6dc5e04de0 4910Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4911Date: Sat Dec 29 11:39:29 2018 -0800 4912 4913 Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 4914 4915 In-tree builds found reallocarray.h in $(top_builddir)/src but the 4916 out-of-tree build didn't find it at all. 4917 4918 Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline 4919 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4920 4921commit ba7f7cc783672784bebc6e69349b55c6c75c1973 4922Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4923Date: Sun Sep 27 18:35:27 2015 -0700 4924 4925 Convert src/xlibi18n to use reallocarray() 4926 4927 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4928 4929commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 4930Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4931Date: Sat Sep 26 11:12:47 2015 -0700 4932 4933 Replace Xmalloc+strcpy pairs with strdup calls 4934 4935 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4936 4937commit 258a8ced681dc1bc50396be7439fce23f9807e2a 4938Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4939Date: Sun Jul 19 11:58:50 2015 -0700 4940 4941 Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray 4942 4943 Makes resizing & clearing more consistent and gets rid of some weird 4944 quirks like always subtracting 1 from the size passed to _XkbClearElems 4945 so it could always add 1 to the size passed in. 4946 4947 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4948 4949commit f94273e2f4284040306b888e5ca0381ee00591af 4950Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4951Date: Sun Jul 19 09:47:29 2015 -0700 4952 4953 Add some missing allocation failure checks in src/xcms 4954 4955 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4956 4957commit 76850471b4a5a6d30f5660234e87ec2772e7b426 4958Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4959Date: Sun Jul 19 09:33:21 2015 -0700 4960 4961 Convert src/xcms to use reallocarray() 4962 4963 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4964 4965commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 4966Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4967Date: Sun Jul 19 09:24:02 2015 -0700 4968 4969 Convert src/XKB to use reallocarray() 4970 4971 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4972 4973commit 6d1dc1f6169ebf0ba71785d461bd98129c65c862 4974Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4975Date: Thu Jun 4 23:30:43 2015 -0700 4976 4977 Convert main src directory to use reallocarray() 4978 4979commit bcf7b5aa06c23aee00af7999b58cb96a8571ac42 4980Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4981Date: Thu Jun 4 23:18:23 2015 -0700 4982 4983 Import reallocarray() from OpenBSD 4984 4985 Wrapper for realloc() that checks for overflow when multiplying 4986 arguments together, so we don't have to add overflow checks to 4987 every single call. For documentation on usage, see: 4988 http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 4989 4990 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4991 4992commit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 4993Author: Alan Coopersmith <alan.coopersmith@oracle.com> 4994Date: Mon Nov 19 21:26:23 2018 -0800 4995 4996 Update README for gitlab migration 4997 4998 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4999 5000commit c8bcc19970a2cc4ad337de1338c63a07325eefcd 5001Author: Albert Astals Cid <aacid@kde.org> 5002Date: Fri Nov 9 22:24:52 2018 +0100 5003 5004 locale.dir: Add ast_ES.UTF-8 5005 5006 With this patch xev properly reports 5007 XLookupString gives 2 bytes: (c2 b4) "´" 5008 for the dead_acute key when using the Asturian locale 5009 5010commit 117bb310b44ce03802c91a70949eb58dcc702a3c 5011Author: Albert Astals Cid <aacid@kde.org> 5012Date: Fri Nov 9 22:18:43 2018 +0100 5013 5014 compose.dir: Add ast_ES.UTF-8 5015 5016 With this patch one can properly type dead keys like á when using the 5017 Asturian locale 5018 5019commit d7e22252d68258a63ca537827c99d0ac0bc4b9d8 5020Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5021Date: Sat Nov 10 13:30:47 2018 -0800 5022 5023 Remove documentation of obsolete B16 & B32 tags in specs/libX11 5024 5025 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5026 5027commit f3c978476e0be6813268af494efb7ac507451116 5028Author: Matt Turner <mattst88@gmail.com> 5029Date: Tue Oct 9 10:26:05 2018 -0400 5030 5031 libX11 1.6.7 5032 5033 Signed-off-by: Matt Turner <mattst88@gmail.com> 5034 5035commit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 5036Author: Michel Dänzer <michel.daenzer@amd.com> 5037Date: Fri Sep 28 17:24:17 2018 +0200 5038 5039 poll_for_event: Allow using xcb_poll_for_queued_event 5040 5041 It avoids reading from the display connection again in cases where that 5042 was already done. 5043 5044 Suggested-by: Uli Schlachter <psychon@znc.in> 5045 Reviewed-by: Uli Schlachter <psychon@znc.in> 5046 5047commit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 5048Author: Michel Dänzer <michel.daenzer@amd.com> 5049Date: Tue Sep 25 17:10:58 2018 +0200 5050 5051 poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails 5052 5053 If xcb_poll_for_reply fails to find a reply, poll_for_response would 5054 always return NULL. However, xcb_poll_for_reply may have read events 5055 from the display connection while looking for a reply. In that case, 5056 returning NULL from poll_for_response is wrong and can result in the 5057 client hanging, e.g. because it returns to waiting for the display 5058 connection file descriptor becoming readable after XPending incorrectly 5059 returned 0 pending events. 5060 5061 The solution is to call poll_for_event again after xcb_poll_for_reply 5062 returned 0. This will return the first of any events read by 5063 xcb_poll_for_reply. 5064 5065 Fixes issue #79. 5066 5067 Reported-by: Yuxuan Shui <yshuiv7@gmail.com> 5068 Bugzilla: https://bugs.freedesktop.org/108008 5069 Bugzilla: https://bugs.freedesktop.org/107992 5070 Reviewed-by: Adam Jackson <ajax@redhat.com> 5071 5072commit d0416863d5bf75af54ce81f6c30d4c1476b5e04f 5073Author: Bhavi Dhingra <b.dhingra@samsung.com> 5074Date: Mon Sep 28 08:33:40 2015 +0000 5075 5076 XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB 5077 5078 Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 5079 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 5080 5081 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5082 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5083 5084commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 5085Author: Matthieu Herrb <matthieu@herrb.eu> 5086Date: Tue Aug 21 16:54:50 2018 +0200 5087 5088 libX11 1.6.6 5089 5090 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 5091 5092commit 173704243fbcbea0b6de2068b4fb403c7408fb54 5093Author: Matthieu Herrb <matthieu@herrb.eu> 5094Date: Tue Aug 21 16:53:40 2018 +0200 5095 5096 Remove statement with no effect. 5097 5098 Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 5099 5100commit e83722768fd5c467ef61fa159e8c6278770b45c2 5101Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5102Date: Fri Jul 27 16:38:00 2018 +0200 5103 5104 Fixed crash on invalid reply (CVE-2018-14598). 5105 5106 If the server sends a reply in which even the first string would 5107 overflow the transmitted bytes, list[0] (or flist[0]) will be set to 5108 NULL and a count of 0 is returned. 5109 5110 If the resulting list is freed with XFreeExtensionList or 5111 XFreeFontPath later on, the first Xfree call: 5112 5113 Xfree (list[0]-1) 5114 turns into 5115 Xfree (NULL-1) 5116 5117 which will most likely trigger a segmentation fault. 5118 5119 I have modified the code to return NULL if the first string would 5120 overflow, thus protecting the freeing functions later on. 5121 5122 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5123 5124commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 5125Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5126Date: Fri Jul 27 16:37:17 2018 +0200 5127 5128 Fixed out of boundary write (CVE-2018-14600). 5129 5130 The length value is interpreted as signed char on many systems 5131 (depending on default signedness of char), which can lead to an out of 5132 boundary write up to 128 bytes in front of the allocated storage, but 5133 limited to NUL byte(s). 5134 5135 Casting the length value to unsigned char fixes the problem and allows 5136 string values with up to 255 characters. 5137 5138 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5139 5140commit b469da1430cdcee06e31c6251b83aede072a1ff0 5141Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5142Date: Fri Jul 27 16:36:34 2018 +0200 5143 5144 Fixed off-by-one writes (CVE-2018-14599). 5145 5146 The functions XGetFontPath, XListExtensions, and XListFonts are 5147 vulnerable to an off-by-one override on malicious server responses. 5148 5149 The server replies consist of chunks consisting of a length byte 5150 followed by actual string, which is not NUL-terminated. 5151 5152 While parsing the response, the length byte is overridden with '\0', 5153 thus the memory area can be used as storage of C strings later on. To 5154 be able to NUL-terminate the last string, the buffer is reserved with 5155 an additional byte of space. 5156 5157 For a boundary check, the variable chend (end of ch) was introduced, 5158 pointing at the end of the buffer which ch initially points to. 5159 Unfortunately there is a difference in handling "the end of ch". 5160 5161 While chend points at the first byte that must not be written to, 5162 the for-loop uses chend as the last byte that can be written to. 5163 5164 Therefore, an off-by-one can occur. 5165 5166 I have refactored the code so chend actually points to the last byte 5167 that can be written to without an out of boundary access. As it is not 5168 possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 5169 with the corrected chend meaning, I removed the inner if-check. 5170 5171 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5172 5173commit d81da209fd4d0c2c9ad0596a8078e58864479d0d 5174Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5175Date: Tue Jul 3 22:31:37 2018 +0200 5176 5177 Validation of server response in XListHosts. 5178 5179 If a server sends an incorrect length in its response, a client is prone 5180 to perform an out of boundary read while processing the data. 5181 5182 The length field of xHostEntry is used to specify the amount of bytes 5183 used to represent the address. It is 16 bit, which means that it is not 5184 possible to perform an arbitrary memory access, but it might be enough 5185 to read sensitive information, e.g. malloc-related pointers and offsets. 5186 5187 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5188 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5189 5190commit b676e62377483df77bcb6472d26b24f901323fa9 5191Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 5192Date: Wed Jun 13 15:46:58 2018 +0200 5193 5194 XkbOpenDisplay.3: fix typo 5195 5196 XkbOpenDisplay returns a pointer to Display, not a Display. 5197 5198 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 5199 5200commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 5201Author: Martin Natano <natano@natano.net> 5202Date: Sat Oct 8 19:57:50 2016 +0200 5203 5204 Don't rebuild ks_tables.h if nothing changed. 5205 5206 ks_tables.h is always considered out of date due to the forced rebuild 5207 of the makekeys util. This means the file is also rebuilt during 'make 5208 install', which is usually performed as root, which can to lead 5209 permission problems later on. 5210 5211 Signed-off-by: Martin Natano <natano@natano.net> 5212 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5213 5214commit 796f754cba6d75b676a0fc39b97802198fceda4f 5215Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5216Date: Sat May 5 14:43:30 2018 -0700 5217 5218 Change fall through comment in lcDB.c to match gcc's requirements 5219 5220 Needs to match one of the regexps shown under 5221 https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 5222 5223 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5224 5225commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 5226Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5227Date: Sat Mar 24 19:45:14 2018 -0700 5228 5229 Use size_t for buffer sizes in SetHints.c 5230 5231 These variables store values returned from strlen() as a size_t 5232 and are passed to Xmalloc, which expects a size_t, so lets stop 5233 converting back and forth to int along the way. 5234 5235 Reported by: Konstantin SKliarov 5236 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5237 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5238 5239commit 50a5a98984097d614227d22a49265e12b172cac7 5240Author: Bhavi Dhingra <b.dhingra@samsung.com> 5241Date: Tue Jul 5 11:37:50 2016 +0530 5242 5243 Fix possible memory leak in cmsProp.c:140 5244 5245 https://bugs.freedesktop.org/show_bug.cgi?id=96814 5246 5247 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5248 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5249 5250commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 5251Author: Michal Srb <msrb@suse.com> 5252Date: Thu Mar 15 09:50:58 2018 +0100 5253 5254 Use flexible array member instead of fake size. 5255 5256 The _XimCacheStruct structure is followed in memory by two strings containing 5257 fname and encoding. The memory was accessed using the last member of the 5258 structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 5259 confuses checkers. Lets declare it properly as a flexible array, so compilers 5260 don't complain about writing past that array. As bonus we can replace the 5261 XOffsetOf with regular sizeof. 5262 5263 Fixes GCC8 error: 5264 In function 'strcpy', 5265 inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 5266 inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 5267 inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 5268 /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 5269 forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 5270 return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 5271 5272 Caused by this line seemingly writing past the fname[1] array: 5273 imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 5274 5275 Reviewed-by: Keith Packard <keithp@keithp.com> 5276 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5277 5278commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 5279Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5280Date: Tue Mar 6 11:42:27 2018 -0800 5281 5282 If XGetImage fails to create image, don't dereference it to bounds check 5283 5284 Reported by gcc 7.3: 5285 5286 GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 5287 if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 5288 ~~~~~^~~~~~~~ 5289 5290 Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 5291 5292 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5293 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 5294 5295commit e835a9dcc3362b5e92893be756dd7ae361e64ced 5296Author: wharms <wharms@bfs.de> 5297Date: Sun Sep 3 14:17:45 2017 +0200 5298 5299 silence gcc warning assignment discards 'const' qualifier from pointer target type 5300 5301commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 5302Author: wharms <wharms@bfs.de> 5303Date: Sun Aug 20 21:51:57 2017 +0200 5304 5305 remove empty line 5306 5307commit e02dfe54f32b4165351d2712a9d2e0584906a3ce 5308Author: wharms <wharms@bfs.de> 5309Date: Sun Aug 20 21:50:33 2017 +0200 5310 5311 add _X_UNUSED to avoid unused variable warnings 5312 5313commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 5314Author: walter harms <wharms@bfs.de> 5315Date: Sat Jun 4 17:19:59 2016 +0200 5316 5317 Fixes: warning: variable 'req' set but not,used 5318 5319 Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 5320 by marking req _X_UNUSED 5321 Solution was discussed on xorg-devel ML 5322 Peter Hutter, Alan Coopersmith 5323 Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 5324 5325 Signed-off-by: harms wharms@bfs.de 5326 5327commit bf82ec0402479fd8399d69e7d62fc17d7956699a 5328Author: walter harms <wharms@bfs.de> 5329Date: Sat Jun 4 17:22:07 2016 +0200 5330 5331 mark _XDefaultIOError as no_return 5332 5333 mark _XDefaultIOError as no_return. No one comes back from exit() ... 5334 5335 Signed-off-by: harms wharms@bfs.de 5336 5337commit 9abe8380074edea3ac4e72466ec47e921ca05e47 5338Author: walter harms <wharms@bfs.de> 5339Date: Sat Jun 4 17:21:52 2016 +0200 5340 5341 no need to check XFree arguments 5342 5343 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 5344 5345 Signed-off-by: harms wharms@bfs.de 5346 5347commit 433477fcb7e07d0c26a22ba78aae88827ed1f440 5348Author: walter harms <wharms@bfs.de> 5349Date: Tue Apr 26 16:32:20 2016 +0200 5350 5351 fix memleak in error path 5352 5353 free all mem on error 5354 Signed-off-by: walter harms <wharms@bfs.de> 5355 5356commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 5357Author: walter harms <wharms@bfs.de> 5358Date: Tue Apr 26 17:58:16 2016 +0200 5359 5360 fix memleak in error path 5361 5362 V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 5363 5364 fix mem leak in error path 5365 Signed-off-by: walter harms <wharms@bfs.de> 5366 5367commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 5368Author: walter harms <wharms@bfs.de> 5369Date: Tue Apr 26 16:34:11 2016 +0200 5370 5371 no need to check args for Xfree() 5372 5373 simplify code 5374 5375 Signed-off-by: walter harms <wharms@bfs.de> 5376 5377commit c1c14af441ae73d1a8e67a971fafcf967e45ac48 5378Author: walter harms <wharms@bfs.de> 5379Date: Tue Apr 26 16:23:46 2016 +0200 5380 5381 remove stray extern 5382 5383 remove stray extern 5384 5385 Signed-off-by: walter harms <wharms@bfs.de> 5386 5387commit 714921f041a245dc5f37a689268b584226a2ccb9 5388Author: walter harms <wharms@bfs.de> 5389Date: Mon Apr 11 18:26:52 2016 +0200 5390 5391 no need to check argument for _XkbFree() 5392 5393 simplify code by removing unneeded checks 5394 5395 Signed-off-by: walter harms <wharms@bfs.de> 5396 5397commit d02c2466f65063a03c97dbcee05071c12a3676e6 5398Author: walter harms <wharms@bfs.de> 5399Date: Mon Apr 11 18:22:38 2016 +0200 5400 5401 fix more shadow warning 5402 5403 Signed-off-by: walter harms <wharms@bfs.de> 5404 5405commit 0355c3926d5372f9762f235071dbd94a89bbbdad 5406Author: walter harms <wharms@bfs.de> 5407Date: Thu Mar 31 19:16:33 2016 +0200 5408 5409 fix shadow char_size 5410 5411 Signed-off-by: walter harms <wharms@bfs.de> 5412 5413commit 916dffadf052135df3398651be873c353da629e1 5414Author: walter harms <wharms@bfs.de> 5415Date: Thu Mar 31 19:14:32 2016 +0200 5416 5417 remove argument check for free() adjust one inden 5418 5419 Signed-off-by: walter harms <wharms@bfs.de> 5420 5421commit 6ec901ebca3fea6a762e22090dc35b1b90911133 5422Author: walter harms <wharms@bfs.de> 5423Date: Thu Mar 31 19:12:17 2016 +0200 5424 5425 _XIOError(dpy); will never return so remore dead 5426 5427 Signed-off-by: walter harms <wharms@bfs.de> 5428 5429commit 83107a677b2ed458e4d62ea4a601e8181d3683d8 5430Author: walter harms <wharms@bfs.de> 5431Date: Thu Mar 31 19:10:49 2016 +0200 5432 5433 fix shadow warning 5434 5435 Signed-off-by: walter harms <wharms@bfs.de> 5436 5437commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 5438Author: Ryan C. Gordon <icculus@icculus.org> 5439Date: Wed Aug 2 02:41:03 2017 -0400 5440 5441 Valgrind fix for XStoreColor and XStoreColors. 5442 5443 If the "pad" field isn't set, Valgrind will report it as uninitialized 5444 memory accesses when the struct is copied into the Display's send buffer. 5445 5446 In practice, this is (probably) harmless, but Valgrind is correct in 5447 believing it's a bug. 5448 5449 https://bugs.freedesktop.org/attachment.cgi?id=133189 5450 5451 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5452 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5453 5454commit 7d2010fec25c2f52b873ad0572479eb43128b038 5455Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5456Date: Fri Apr 7 00:13:03 2017 -0700 5457 5458 Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 5459 5460 Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 5461 contains some malformed text" caused by extra whitespace after .TE macros 5462 5463 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5464 5465commit b856d5d929047d1ea169814d56e43784ea404c83 5466Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5467Date: Thu Mar 16 00:05:49 2017 -0700 5468 5469 Clarify state parameter to XkbSetNamedDeviceIndicator 5470 5471 Checking a Bool to see if it's NULL does not work well in C. 5472 Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 5473 5474 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5475 Reviewed-by: Adam Jackson <ajax@redhat.com> 5476 5477commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 5478Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5479Date: Wed Mar 15 23:50:26 2017 -0700 5480 5481 Make Xkb{Get,Set}NamedIndicator spec & manpages match code 5482 5483 The XKB Library spec and the man pages for XkbGetNamedIndicator & 5484 XkbSetNamedIndicator included a device_spec argument neither function 5485 takes, and do not include the XkbGetNamedDeviceIndicator & 5486 XkbSetNamedDeviceIndicator variants that do take it (along with two 5487 other arguments). 5488 5489 This updates them to match the interfaces the code has provided for 5490 decades. 5491 5492 This has been reported multiple times, so this fixes: 5493 https://bugs.freedesktop.org/show_bug.cgi?id=251 5494 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 5495 Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 5496 (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 5497 X.Org Group Defect Id #9418 5498 5499 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5500 Reviewed-by: Adam Jackson <ajax@redhat.com> 5501 5502commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 5503Author: Arthur Huillet <ahuillet@nvidia.com> 5504Date: Wed Feb 1 15:02:41 2017 +0100 5505 5506 _XDefaultError: set XlibDisplayIOError flag before calling exit 5507 5508 _XReply isn't reentrant, and it can lead to deadlocks when the default error 5509 handler is called: _XDefaultError calls exit(1). It is called indirectly by 5510 _XReply when a X protocol error comes in that isn't filtered/handled by an 5511 extension or the application. This means that if the application (or one of its 5512 loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 5513 _fini destructor, _fini will get called while still on the call stack of 5514 _XReply. If the destructor interacts with the X server and calls _XReply, it 5515 will hit a deadlock, looping on the following in _XReply: 5516 5517 ConditionWait(dpy, dpy->xcb->reply_notify); 5518 5519 It is legal for an application to make Xlib calls during _fini, and that is 5520 useful for an OpenGL driver to avoid resource leaks on the X server side, for 5521 example in the dlopen/dlclose case. However, the driver can not readily tell 5522 whether its _fini is being called because Xlib called exit, or for another 5523 reason (dlclose), so it is hard to cleanly work around this issue in the driver. 5524 5525 This change makes it so _XReply effectively becomes a no-op when called after 5526 _XDefaultError was called, as though an XIOError had happened. The dpy 5527 connection isn't broken at that point, but any call to _XReply is going to hang. 5528 This is a bit of a kludge, because the more correct solution would be to make 5529 _XReply reentrant, maybe by broadcasting the reply_notify condition before 5530 calling the default error handler. However, such a change would carry a grater 5531 risk of introducing regressions in Xlib. 5532 5533 This change will drop some valid requests on the floor, but this should not 5534 matter, as it will only do so in the case where the application is dying: X will 5535 clean up after it once exit() is done running. There is the case of 5536 XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 5537 to clean up resources in _fini would currently be hitting a deadlock, which is 5538 hardly a better situation. 5539 5540 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 5541 Reviewed-by: Jamey Sharp <jamey@minilop.net> 5542 5543commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 5544Author: Matt Turner <mattst88@gmail.com> 5545Date: Sat Feb 25 21:54:22 2017 -0800 5546 5547 libX11 1.6.5 5548 5549 Signed-off-by: Matt Turner <mattst88@gmail.com> 5550 5551commit a0da5835e8078445947c828fe2d86c1a31439012 5552Author: Adam Jackson <ajax@redhat.com> 5553Date: Tue Feb 14 15:33:29 2017 -0500 5554 5555 Revert "Compose sequences for rouble sign" 5556 5557 This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 5558 5559 Reported to break 'make check': 5560 5561 https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 5562 5563commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 5564Author: Mihail Konev <k.mvc@ya.ru> 5565Date: Fri Feb 10 18:48:18 2017 +0500 5566 5567 Compose sequences for rouble sign 5568 5569 Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 5570 Also add Cyrillic sequences for hryvnia sign. 5571 5572 Submitted-by: Victor V. Kustov <coyote@bks.tv> 5573 Reviewed-by: Victor V. Kustov <coyote@bks.tv> 5574 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 5575 5576commit 23d9623c661694aba8cf1e8f277dffa7a86cf065 5577Author: Petr Písař <petr.pisar@atlas.cz> 5578Date: Sun Oct 30 12:49:11 2016 +0100 5579 5580 Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 5581 5582 The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 5583 locale and reporting this error: 5584 5585 Warning: locale not supported by Xlib, locale set to C 5586 5587 Therefore this patch reverts to the en_US.UTF-8 definition file that was used 5588 before. This patch also deduplicates the cs_CZ.UTF-8 entry. 5589 5590 <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 5591 5592 This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 5593 5594 Signed-off-by: Julien Cristau <jcristau@debian.org> 5595 5596commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 5597Author: Mihail Konev <k.mvc@ya.ru> 5598Date: Thu Jan 26 13:52:49 2017 +1000 5599 5600 autogen: add default patch prefix 5601 5602 Signed-off-by: Mihail Konev <k.mvc@ya.ru> 5603 5604commit 2979011bc170c55894b9185b26376f8efc6db7d4 5605Author: Emil Velikov <emil.l.velikov@gmail.com> 5606Date: Mon Mar 9 12:00:52 2015 +0000 5607 5608 autogen.sh: use quoted string variables 5609 5610 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 5611 fall-outs, when they contain space. 5612 5613 Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 5614 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5615 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5616 5617commit 4a0082a1b6affa65d38294f0e13511525cd8ad15 5618Author: Peter Hutterer <peter.hutterer@who-t.net> 5619Date: Tue Jan 24 10:32:07 2017 +1000 5620 5621 autogen.sh: use exec instead of waiting for configure to finish 5622 5623 Syncs the invocation of configure with the one from the server. 5624 5625 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5626 Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 5627 5628commit c74b070f2712c95f0db7c320a10232b0e5c83049 5629Author: Julien Cristau <jcristau@debian.org> 5630Date: Sat Jan 7 16:20:31 2017 +0100 5631 5632 Fix wrong Xfree in XListFonts failure path 5633 5634 'ch' gets moved inside the allocated buffer as we're looping through 5635 fonts, so keep a reference to the start of the buffer so we can pass 5636 that to Xfree in the failure case. 5637 5638 Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 5639 5640 Signed-off-by: Julien Cristau <jcristau@debian.org> 5641 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5642 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5643 5644commit 663f47075fe67bab4f99bc5d186c49175d4a4334 5645Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5646Date: Sun Jan 1 20:57:58 2017 -0800 5647 5648 specs/libX11: Update Portability Considerations for the 21st century 5649 5650 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5651 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5652 5653commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 5654Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5655Date: Sun Jan 1 20:39:53 2017 -0800 5656 5657 specs/libX11: Fix broken synopsis for Data/Data16/Data32 5658 5659 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5660 5661commit 382561951e3460b09c21a1a23748cde0315fbb19 5662Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5663Date: Sun Jan 1 20:31:54 2017 -0800 5664 5665 specs/libX11: Add missing parameter types for XGetWindowProperty() 5666 5667 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5668 5669commit 2beaecdb66965b861d6b790d151ba947f65f0a22 5670Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5671Date: Sun Jan 1 20:16:08 2017 -0800 5672 5673 specs/libX11: Make paramdef spacing more consistent 5674 5675 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5676 5677commit 4c436c6c14cfd4c397b011563bf13c2872861133 5678Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5679Date: Sun Jan 1 20:02:53 2017 -0800 5680 5681 specs/libX11: Fix paramdef entries listing multiple parameters 5682 5683 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5684 5685commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 5686Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5687Date: Sun Jan 1 19:38:40 2017 -0800 5688 5689 specs/libX11: More synopsis fixes 5690 5691 Mostly transforming macro definitions and functions taking void arguments 5692 from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 5693 5694 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5695 5696commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 5697Author: Lucien Gentis <lucien.gentis@waika9.com> 5698Date: Wed Jun 1 17:02:47 2016 +0200 5699 5700 Typos in "Xlib - C Language X Interface" document - Chapter 02 5701 5702 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 5703 5704 Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 5705 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5706 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5707 5708commit 20a3f99eba5001925b8b313da3accb7900eb1927 5709Author: Emilio Pozuelo Monfort <pochu@debian.org> 5710Date: Tue Oct 25 21:30:15 2016 +0200 5711 5712 Plug a memory leak 5713 5714 This was introduced in 8ea762f. 5715 5716 Reported-by: Julien Cristau <jcristau@debian.org> 5717 Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 5718 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5719 5720commit 8f349feac24aacc958bd816afcc52380764e3d92 5721Author: Matthieu Herrb <matthieu.herrb@laas.fr> 5722Date: Tue Oct 4 21:01:39 2016 +0200 5723 5724 libX11 1.6.4 5725 5726 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5727 5728commit 8ea762f94f4c942d898fdeb590a1630c83235c17 5729Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5730Date: Sun Sep 25 21:25:25 2016 +0200 5731 5732 Validation of server responses in XGetImage() 5733 5734 Check if enough bytes were received for specified image type and 5735 geometry. Otherwise GetPixel and other functions could trigger an 5736 out of boundary read later on. 5737 5738 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5739 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5740 5741commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 5742Author: Tobias Stoeckmann <tobias@stoeckmann.org> 5743Date: Sun Sep 25 21:22:57 2016 +0200 5744 5745 The validation of server responses avoids out of boundary accesses. 5746 5747 v2: FontNames.c return a NULL list whenever a single 5748 length field from the server is incohent. 5749 5750 Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 5751 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5752 5753commit 78851f6a03130e3c720b60c3cbf96f8eb216d741 5754Author: walter harms <wharms@bfs.de> 5755Date: Mon Aug 15 19:18:14 2016 +0200 5756 5757 XFree will accept NULL as argument 5758 5759 since Xfree is a define for free(): 5760 Xlibint.h:#define Xfree(ptr) free((ptr)) 5761 5762 Xfree will accept NULL and do nothing. 5763 5764 Signed-off-by: Hans de Goede <hdegoede@redhat.com> 5765 5766commit 83adf3d1e3d0d6602244381334f75c216da4ab6e 5767Author: Matthew D. Fuller <fullermd@over-yonder.net> 5768Date: Sat Jun 4 11:24:01 2016 -0500 5769 5770 Fixup param specification for XChangeProperty() 5771 5772 Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 5773 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5774 5775commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 5776Author: Mats Blakstad <mats.gbproject@gmail.com> 5777Date: Sun Feb 28 13:22:03 2016 -0500 5778 5779 New compose keys for local languages in Togo 5780 5781 Signed-off-by: James Cloos <cloos@jhcloos.com> 5782 5783commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 5784Author: Daniel Albers <daniel@lbe.rs> 5785Date: Wed Mar 9 14:35:48 2016 +0100 5786 5787 Add Compose sequence for U+1F4A9. 5788 5789 Signed-off-by: Daniel Albers <daniel@lbe.rs> 5790 5791commit 6d7bb040c928485f2557c2c914b95cffb2354179 5792Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5793Date: Sat Feb 6 14:18:32 2016 -0800 5794 5795 xcms: use size_t for pointer offsets passed to strncmp 5796 5797 instead of converting to int and back 5798 5799 Fixes clang warnings of the form: 5800 HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 5801 'unsigned long' [-Wsign-conversion] 5802 if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 5803 ~~~~~~~ 5804 5805 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5806 5807commit a9266804eed38a83897ab5f0f9f8a8ab82a98882 5808Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5809Date: Sat Feb 6 13:32:44 2016 -0800 5810 5811 xcms: use unsigned indexes when looping through unsigned values 5812 5813 Clears many gcc warnings of the form: 5814 5815 uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 5816 uvY.c:263:19: warning: comparison between signed and unsigned integer 5817 expressions [-Wsign-compare] 5818 for (i = 0; i < nColors; i++, pColor++) { 5819 ^ 5820 5821 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5822 5823commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 5824Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5825Date: Sat Feb 6 13:01:25 2016 -0800 5826 5827 xcms: use size_t for strlen/sizeof values instead of converting to int & back 5828 5829 Fixes gcc warnings of the form: 5830 5831 IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 5832 IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 5833 if ((len = strlen(prefix)) >= sizeof(string_buf)) { 5834 ^ 5835 IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 5836 if (len >= sizeof(string_buf)) Xfree(string_lowered); 5837 ^ 5838 IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 5839 if (len >= sizeof(string_buf)) Xfree(string_lowered); 5840 ^ 5841 IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 5842 if (len >= sizeof(string_buf)) Xfree(string_lowered); 5843 ^ 5844 5845 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5846 5847commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 5848Author: Dominik Muth <nxdomainuser-muth@yahoo.com> 5849Date: Thu Mar 26 07:52:58 2015 +0100 5850 5851 Xlib.h: Fix macros imitating C functions. 5852 5853 The basic rule "put parantheses around macro parameters" should be 5854 observed where possible. Otherwise code like 5855 5856 ConnectionNumber(foo = bar); 5857 5858 fails to compile. (It obviously passes if ConnectionNumber is a C 5859 function.) There are several other macros amended for the same reason. 5860 5861 This bug appeared while building http://ioccc.org/1993/cmills.c, so 5862 historically it was not present. 5863 5864 Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 5865 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5866 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5867 5868commit 3706b0f2b14cc97578a6bee620266edca2722ebf 5869Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5870Date: Fri Nov 15 18:03:25 2013 -0800 5871 5872 Don't need to link libX11-xcb against libX11 5873 5874 libX11-xcb only accesses data structures defined in X11 headers, 5875 it doesn't call any functions or reference any global variables 5876 in libX11 itself. (Seems to have been left from previous XCL 5877 implementation.) 5878 5879 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5880 5881commit eddf1bbd18872b286a9f939140f0cd9ba4e93804 5882Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5883Date: Fri Jan 22 11:44:25 2016 -0800 5884 5885 Stop checking for preferred order of local transports 5886 5887 Removes --with-local-transport-order=... flag to configure. 5888 5889 Code which used this ordered list was removed in commit 15e5eaf6289 5890 which outsourced X11 connection handling & authentication to libxcb. 5891 5892 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5893 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5894 5895commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 5896Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5897Date: Fri Jan 22 09:39:28 2016 -0800 5898 5899 Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 5900 5901 Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 5902 5903 Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 5904 which outsourced X11 connection handling & authentication to libxcb. 5905 5906 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5907 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 5908 5909commit 7eb724dc24505f1591ef32620fa63f079b540646 5910Author: Olivier Fourdan <ofourdan@redhat.com> 5911Date: Thu Jan 21 11:54:19 2016 +0100 5912 5913 XKB: fix XkbGetKeyboardByName with Xming server 5914 5915 XkbGetKeyboardByName relies on flags to read the data from the server. 5916 5917 If the X server sends us the wrong flags or if a subreply is smaller 5918 than it should be, XkbGetKeyboardByName will not read all the available 5919 data and leave data in the buffer, which will cause the next _XReply() 5920 to fail with: 5921 5922 [xcb] Extra reply data still left in queue 5923 [xcb] This is most likely caused by a broken X extension library 5924 [xcb] Aborting, sorry about that. 5925 xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 5926 Aborted 5927 5928 Check if there is some extra data left at the end of 5929 XkbGetKeyboardByName() and discard that data if any is found. 5930 5931 Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 5932 root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 5933 with the analysis! 5934 5935 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 5936 Reviewed-by: Daniel Stone <daniels@collabora.com> 5937 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5938 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5939 5940commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 5941Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5942Date: Sat Dec 19 18:03:41 2015 -0800 5943 5944 lcPubWrap: replace malloc(strlen) + strcpy with strdup 5945 5946 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5947 Reviewed-by: Adam Jackson <ajax@redhat.com> 5948 5949commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 5950Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5951Date: Sat Dec 19 10:21:04 2015 -0800 5952 5953 XlcDL.c: reduce code duplication 5954 5955 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5956 Reviewed-by: Adam Jackson <ajax@redhat.com> 5957 5958commit f7ecc0856be58608881d2086954cb71857ad64e1 5959Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5960Date: Sat Dec 19 10:19:25 2015 -0800 5961 5962 XlcDL.c: replace strcpy+strcat sequences with snprintf 5963 5964 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5965 Reviewed-by: Adam Jackson <ajax@redhat.com> 5966 5967commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 5968Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5969Date: Sat Dec 19 10:05:42 2015 -0800 5970 5971 XDefaultOMIF: Remove comments referring to ancient Sun bug ids 5972 5973 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5974 Reviewed-by: Adam Jackson <ajax@redhat.com> 5975 5976commit b738a104ae80e4270dd1d215ad0c6a80016982c2 5977Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5978Date: Sat Dec 19 10:00:22 2015 -0800 5979 5980 XDefaultOMIF: additional code simplification 5981 5982 Don't need to test for a case that we already returned for, don't need 5983 to store a count that will only ever be 1 if we didn't return, don't 5984 need to increment pointers to allow storing more than one item when we 5985 can only ever possibly do one. 5986 5987 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5988 Reviewed-by: Adam Jackson <ajax@redhat.com> 5989 5990commit 31011cf100419269eae7409581c784638be503cf 5991Author: Alan Coopersmith <alan.coopersmith@oracle.com> 5992Date: Sat Dec 19 09:46:31 2015 -0800 5993 5994 XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 5995 5996 Code seems to have been originally written to handle appending multiple 5997 strings, but only ever operates on a single string. 5998 5999 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6000 Reviewed-by: Adam Jackson <ajax@redhat.com> 6001 6002commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 6003Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6004Date: Sat Dec 19 09:20:55 2015 -0800 6005 6006 Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 6007 6008 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6009 Reviewed-by: Adam Jackson <ajax@redhat.com> 6010 6011commit 4359dfabc04af082872d2bc2d5b52e26d6d93290 6012Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6013Date: Fri Dec 4 22:20:53 2015 -0800 6014 6015 Delete #if 0 hunks of code 6016 6017 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6018 6019commit a2f9dfac286f37e54eb47d4736cc3f0150224a84 6020Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6021Date: Thu Dec 3 23:38:07 2015 -0800 6022 6023 Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 6024 6025 Rework code to store allocations directly into XIM struct instead of 6026 temporary local variables, so we can use _XCloseIM to unwind instead 6027 of duplicating it, and consistently jump to error handler on failure, 6028 instead of sometimes leaking and sometimes freeing. 6029 6030 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 6031 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6032 6033commit 07a97b3944467dce085a1efd24706cc851d2caf2 6034Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6035Date: Thu Dec 3 23:19:48 2015 -0800 6036 6037 Bug 93184: read_EncodingInfo invalid free 6038 6039 Free the correct bits of memory if we run out and need to unwind 6040 6041 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 6042 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6043 6044commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 6045Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6046Date: Sat Nov 28 13:18:11 2015 -0800 6047 6048 Remove unused definition of XCONN_CHECK_FREQ 6049 6050 The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 6051 when we dropped the old Xlib connection handling in favor of xcb's. 6052 6053 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6054 Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 6055 6056commit 5f0da8311a61498edf073cc877f5b467bfd5f863 6057Author: James Cloos <cloos@jhcloos.com> 6058Date: Thu Dec 3 18:24:44 2015 -0500 6059 6060 Fix another missing update in cf4d5989383a 6061 6062 Reported in: 6063 6064 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 6065 6066 Signed-off-by: James Cloos <cloos@jhcloos.com> 6067 6068commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 6069Author: James Cloos <cloos@jhcloos.com> 6070Date: Thu Dec 3 18:15:40 2015 -0500 6071 6072 Fix missing update in cf4d5989383a 6073 6074 Reported in: 6075 6076 https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 6077 6078 Signed-off-by: James Cloos <cloos@jhcloos.com> 6079 6080commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 6081Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6082Date: Sun Sep 27 18:38:32 2015 -0700 6083 6084 Get rid of some extraneous ; at the end of C source lines 6085 6086 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6087 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 6088 6089commit 121a1bad334459f66f78bfca6df53dc841cf97f8 6090Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 6091Date: Wed Sep 23 11:44:55 2015 -0400 6092 6093 Add compose file for pt_PT similar to pt_BR 6094 6095 This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 6096 6097 One of the conclusions from the discussion on that bug report, which 6098 basically is about typing the ccedilla character easily on a non- 6099 Portuguese keyboard, is that X11 should include a compose file for 6100 pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 6101 6102 FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 6103 6104 Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 6105 Signed-off-by: James Cloos <cloos@jhcloos.com> 6106 6107commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 6108Author: Julien Cristau <jcristau@debian.org> 6109Date: Fri May 1 13:50:15 2015 +0200 6110 6111 Mark _XNextRequest as hidden 6112 6113 It's only used inside XNextRequest(), so doesn't need to be exported. 6114 6115 Signed-off-by: Julien Cristau <jcristau@debian.org> 6116 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6117 6118commit a72d2d06c002b644b7040a0a9936c8525e092ba8 6119Author: Christian Linhart <chris@demorecorder.com> 6120Date: Mon Sep 7 17:17:32 2015 +0200 6121 6122 fix for Xlib 32-bit request number issues 6123 6124 Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 6125 the 32-bit sequence number wrap in libX11. 6126 6127 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 6128 Signed-off-by: Christian Linhart <chris@demorecorder.com> 6129 Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 6130 Reviewed-by: Adam Jackson <ajax@redhat.com> 6131 6132commit 58af066a764305c506efea7065ef7679369a1a98 6133Author: Thomas Klausner <wiz@NetBSD.org> 6134Date: Sun Jul 19 10:23:21 2015 +0200 6135 6136 Ignore test-driver (used by newer autoconf). 6137 6138 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 6139 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6140 6141commit 80b9a346b9ba200fa4652560282e80d249519287 6142Author: Thomas Klausner <wiz@NetBSD.org> 6143Date: Sun Jul 19 10:22:45 2015 +0200 6144 6145 Do not return() after exit(). 6146 6147 Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 6148 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6149 6150commit c827edcd1c4a7f920aa25208083b5b58d60d2b44 6151Author: Ross Burton <ross.burton@intel.com> 6152Date: Mon May 18 14:49:01 2015 +0100 6153 6154 Add missing NULL checks to ICWrap 6155 6156 ICWrap.c dereferences the xim parameter passed in from client code without a 6157 NULL check. I have seen mplayer trigger this resulting in a segfault. In this 6158 case mplayer had called XOpenIM and NULL was returned which was later passed 6159 into XCreateIC. 6160 6161 Patch originally by Drew Moseley <drew_moseley@mentor.com>. 6162 6163 Signed-off-by: Ross Burton <ross.burton@intel.com> 6164 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6165 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6166 6167commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 6168Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6169Date: Thu Jun 4 20:51:17 2015 -0700 6170 6171 Replace Xmalloc+memset pairs with Xcalloc calls 6172 6173 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6174 6175commit f0286b2770ece10aef5e2e8c004260217f12fd25 6176Author: Bhavi Dhingra <b.dhingra@samsung.com> 6177Date: Thu Jun 4 19:07:12 2015 -0700 6178 6179 omGeneric.c: Correct the parameter usage of sizeof 6180 6181 Incorrect parameter usage with sizeof. Earlier passed argument FontData 6182 will be 4 bytes always as its a pointer hence the change is needed and 6183 FontDataRec should be used for memset. 6184 6185 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6186 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6187 6188commit 47da70d75f9e48e800719c0db752f9ccd2d77aea 6189Author: Peter Hutterer <peter.hutterer@who-t.net> 6190Date: Tue May 19 12:30:22 2015 +1000 6191 6192 Fix three "use of uninitialized variable" coverity warnings 6193 6194 False positive, if rlen/nbytes are unset we quit early before using it. Still, 6195 initialize it so we don't have to deal with these warnings again. 6196 6197 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6198 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 6199 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6200 6201commit 19a30f17f30e9ae9641a7c0634fc52134208b060 6202Author: Peter Hutterer <peter.hutterer@who-t.net> 6203Date: Mon May 18 07:56:22 2015 +1000 6204 6205 Fix an indentation issue 6206 6207 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6208 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 6209 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6210 6211commit 013ccece124b990217ad3bcf2c41688e8fda1df8 6212Author: Peter Hutterer <peter.hutterer@who-t.net> 6213Date: Mon May 18 07:55:17 2015 +1000 6214 6215 Fix potential memory leak 6216 6217 If we hit the depth limit, filename leaks. Move the depth check up before we 6218 allocate filename. 6219 Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 6220 6221 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6222 Reviewed-by: Hans de Goede <hdegoede@redhat.com> 6223 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6224 6225commit d3415d1f052530760b4617db45affcb984cfe35c 6226Author: Mike FABIAN <mfabian@redhat.com> 6227Date: Mon Apr 20 17:59:30 2015 +0200 6228 6229 Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 6230 6231 Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 6232 locales fixed it only partly, I introduced a new spelling mistake 6233 in the sd_IN locales. This patch fixes this. 6234 6235 Signed-off-by: James Cloos <cloos@jhcloos.com> 6236 6237commit 748d47e69f5c12d8557d56a8a8ec166588da7b93 6238Author: Mike FABIAN <mfabian@redhat.com> 6239Date: Wed Feb 19 11:46:45 2014 +0100 6240 6241 fix spelling mistakes in ks_IN and sd_IN devanagari locales 6242 6243 The codeset must be *before* the modifier. 6244 6245 See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 6246 6247 opengroup> The syntax for these environment variables is thus defined as: 6248 opengroup> 6249 opengroup> [language[_territory][.codeset][@modifier]] 6250 6251 Signed-off-by: James Cloos <cloos@jhcloos.com> 6252 6253commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 6254Author: Mike FABIAN <mfabian@redhat.com> 6255Date: Wed Feb 19 11:50:55 2014 +0100 6256 6257 add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 6258 6259 See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 6260 6261 If these are not in locale.dir, 6262 6263 $ LANG=sr_RS.UTF-8@latin xterm 6264 6265 and 6266 6267 $ LANG=sr_RS@latin xterm 6268 6269 give the warning: 6270 6271 Warning: locale not supported by Xlib, locale set to C 6272 6273 and some programs (like xmms) fail to find translations for Serbian 6274 in Latin because of this. 6275 6276 Signed-off-by: James Cloos <cloos@jhcloos.com> 6277 6278commit c85be01b006126c4407eebd1eb6e01a17312b7b4 6279Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6280Date: Sun Mar 22 16:46:45 2015 -0700 6281 6282 Move Compose \ o / to be with other emoji compose sequences 6283 6284 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6285 6286commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 6287Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6288Date: Mon Mar 9 15:28:29 2015 -0700 6289 6290 libX11 1.6.3 6291 6292 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6293 6294commit c8e19b393defd53f046ddc2da3a16881221b3c34 6295Author: Joonas Javanainen <joonas.javanainen@gmail.com> 6296Date: Thu Feb 5 17:31:04 2015 +0200 6297 6298 Fix XErrorEvent struct field order in man page 6299 6300 In the man page the field "resourceid" was in a different place than 6301 in the actual struct layout in Xlib.h 6302 6303 Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 6304 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6305 6306commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 6307Author: Ran Benita <ran234@gmail.com> 6308Date: Tue Feb 3 13:23:50 2015 -0500 6309 6310 compose: fix the description of modifiers in compose sequences 6311 6312 The Compose format has a feature which allows specifying certain 6313 modifiers must (or must not) be present with a given keysym in the 6314 sequence. 6315 6316 The grammar in imLcPrs.c and the Compose man page both do not match what 6317 the code actually does (see the handling of the variables 6318 `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 6319 eventually matched as `ev->state & modifier_mask == modifier`). 6320 6321 Also explicitly list the accepted modifier names, since they are 6322 not standard (e.g. "Ctrl" instead of "Control"). 6323 6324 Signed-off-by: Ran Benita <ran234@gmail.com> 6325 Signed-off-by: James Cloos <cloos@jhcloos.com> 6326 6327commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 6328Author: Ran Benita <ran234@gmail.com> 6329Date: Tue Feb 3 13:23:49 2015 -0500 6330 6331 xkb: fix misleading comment about consumed modifiers 6332 6333 In the spec and the man page the `mods_rtrn` argument is described as 6334 "backfilled with unconsumed modifiers" but actually it is backfilled 6335 with the *consumed* modifiers. This is also mentioned a few lines below 6336 in each case. 6337 6338 Signed-off-by: Ran Benita <ran234@gmail.com> 6339 Signed-off-by: James Cloos <cloos@jhcloos.com> 6340 6341commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 6342Author: Ingo Schwarze <schwarze@usta.de> 6343Date: Tue Dec 9 10:44:13 2014 +0100 6344 6345 Fix pasto in XkbGetKeyBehaviors(3) manual 6346 6347 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 6348 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6349 6350commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 6351Author: Benno Schulenberg <bensberg@justemail.net> 6352Date: Sun Nov 23 21:35:36 2014 +0100 6353 6354 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 6355 6356 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6357 6358commit a51681b60c84109fe19f5d449e13080522499324 6359Author: Benno Schulenberg <bensberg@justemail.net> 6360Date: Thu Sep 19 16:42:01 2013 +0200 6361 6362 nls: Remove a duplicate locale name, and sort some others more strictly. 6363 6364 Also improve the grammar of the initial comment. 6365 6366 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6367 Signed-off-by: James Cloos <cloos@jhcloos.com> 6368 6369commit 426b7f850f5376db96a4b12420ee141603fcc3cd 6370Author: Benno Schulenberg <bensberg@justemail.net> 6371Date: Fri Sep 20 12:37:29 2013 +0200 6372 6373 nls: Add a comment to the block of accented Hebrew letters. 6374 6375 And align them in a nicer manner. 6376 6377 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6378 Signed-off-by: James Cloos <cloos@jhcloos.com> 6379 6380commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 6381Author: Benno Schulenberg <bensberg@justemail.net> 6382Date: Fri Sep 20 12:05:09 2013 +0200 6383 6384 nls: Add one lowercase compose variant for ®, to mirror those for ©. 6385 6386 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6387 Signed-off-by: James Cloos <cloos@jhcloos.com> 6388 6389commit 18dcd13514fa538afefa78c93523d9dbd4688e74 6390Author: Benno Schulenberg <bensberg@justemail.net> 6391Date: Sat Sep 7 20:10:43 2013 +0200 6392 6393 nls: Adding the visual composing characters to two comment lines. 6394 6395 The lines around them also contain the characters in the comments. 6396 6397 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6398 Signed-off-by: James Cloos <cloos@jhcloos.com> 6399 6400commit 18d8307575af748913d5da17e3de45da2a22ede4 6401Author: Benno Schulenberg <bensberg@justemail.net> 6402Date: Sat Sep 7 20:09:32 2013 +0200 6403 6404 nls: Grouping a lone superscript minus together with its mates. 6405 6406 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6407 Signed-off-by: James Cloos <cloos@jhcloos.com> 6408 6409commit 33301cc45e6a2b8aa841ed6325547af970f8c4db 6410Author: Benno Schulenberg <bensberg@justemail.net> 6411Date: Sat Sep 7 19:53:38 2013 +0200 6412 6413 nls: Grouping the compose sequences for Dstroke/dstroke together. 6414 6415 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 6416 Signed-off-by: James Cloos <cloos@jhcloos.com> 6417 6418commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 6419Author: Gioele Barabucci <gioele@svario.it> 6420Date: Sun Sep 21 23:05:55 2014 +0200 6421 6422 Add compose sequence for U+20B9 INDIAN RUPEE SIGN 6423 6424 The compose sequence for the new Indian Rupee sign is modelled after 6425 the sequence for the Euro sign. 6426 6427 Signed-off-by: Gioele Barabucci <gioele@svario.it> 6428 Signed-off-by: James Cloos <cloos@jhcloos.com> 6429 6430commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 6431Author: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 6432Date: Thu Jul 31 22:23:28 2014 -0300 6433 6434 Add double-arrow compose sequence 6435 6436 Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 6437 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6438 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6439 6440commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 6441Author: James Cloos <cloos@jhcloos.com> 6442Date: Fri Aug 1 18:30:42 2014 -0400 6443 6444 Add cs_CZ.UTF-8 locale to configure.ac 6445 6446 Commit cf4d5989383a should have included this. 6447 6448 Reported-by: Colin Harrison <colin.harrison@virgin.net> 6449 Signed-off-by: James Cloos <cloos@jhcloos.com> 6450 6451commit cf4d5989383acc4ed1b7eebadde9f380f2129766 6452Author: James Cloos <cloos@jhcloos.com> 6453Date: Tue Jul 29 15:02:56 2014 -0400 6454 6455 Add nls for cs_CZ.UTF-8 6456 6457 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 6458 override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 6459 to enter »ů«, and likewise for the majuscule, for the Czech locale. 6460 6461 This evidently is the norm for Czech keyboards. 6462 6463 Fixes bz#81875. 6464 6465 The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 6466 several other locales. That may require an update. 6467 6468 Reported-by: Vladimír Marek <vlmarek@volny.cz> 6469 Signed-off-by: James Cloos <cloos@jhcloos.com> 6470 6471commit d9f569572bd14db31921471e7b877523b5cf1e4c 6472Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6473Date: Sat Jul 26 12:17:47 2014 -0700 6474 6475 Fix source paths for out-of-tree lintlib builds 6476 6477 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6478 6479commit 0885cad1e4a9ed57266582be320be55259c881bf 6480Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6481Date: Sun Jul 20 09:21:20 2014 -0700 6482 6483 specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 6484 6485 Matches the way they were styled in original doc, before conversion 6486 to DocBook. 6487 6488 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6489 6490commit d0a9e9d56bb003315787201ee525b4d00fd54e06 6491Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6492Date: Sat Jul 19 23:55:47 2014 -0700 6493 6494 specs/XKB: acknowledge my contributions 6495 6496 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6497 6498commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 6499Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6500Date: Sat Jul 19 23:53:48 2014 -0700 6501 6502 specs/XKB: Trim leading spaces off text lines 6503 6504 perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 6505 6506 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6507 6508commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 6509Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6510Date: Sat Jul 19 20:30:55 2014 -0700 6511 6512 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 6513 6514 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6515 6516commit 5009621799444e9d1d284719f871d00be13e7330 6517Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6518Date: Sat Jul 19 12:34:28 2014 -0700 6519 6520 specs/XKB: Fix miscelleanous typos & spelling errors 6521 6522 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6523 6524commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 6525Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6526Date: Sat Jul 19 00:46:41 2014 -0700 6527 6528 specs/XKB: add some more indexterms by hand 6529 6530 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6531 6532commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 6533Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6534Date: Sat Jul 19 00:48:02 2014 -0700 6535 6536 specs/XKB: fixup various formatting issues in <programlisting>s 6537 6538 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6539 6540commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 6541Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6542Date: Fri Jul 18 23:56:29 2014 -0700 6543 6544 specs/XKB: fixup various formatting issues in <literallayout>s 6545 6546 Including translating some that are really just lists into 6547 <simplelist> markup. 6548 6549 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6550 6551commit 94b56774784ac00b9db02403aecea10bb0814c10 6552Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6553Date: Fri Jul 18 23:18:52 2014 -0700 6554 6555 specs/XKB: add some more links by hand 6556 6557 random bits where a link looked handy 6558 6559 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6560 6561commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 6562Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6563Date: Fri Jul 18 23:16:31 2014 -0700 6564 6565 specs/XKB: add links for terms in definition list under figure 1.1 6566 6567 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6568 6569commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 6570Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6571Date: Fri Jul 18 22:52:16 2014 -0700 6572 6573 specs/XKB: add links to more tables listing section references 6574 6575 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6576 6577commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 6578Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6579Date: Fri Jul 18 22:49:34 2014 -0700 6580 6581 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 6582 6583 Page numbers refer to old doc format, didn't translate to new one 6584 6585 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6586 6587commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 6588Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6589Date: Sat Jul 19 11:55:51 2014 -0700 6590 6591 specs/XKB: remove unwanted white space around C -> struct references 6592 6593 perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 6594 6595 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6596 6597commit 2be0cc0b2abbcc98cfd150210dea415a04787251 6598Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6599Date: Fri Jul 18 22:26:20 2014 -0700 6600 6601 specs/XKB: replace -> with → when used as arrow, not in C structs 6602 6603 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6604 6605commit bf1f3d6f6f995303624679ae546f507c70967dc0 6606Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6607Date: Fri Jul 18 22:21:10 2014 -0700 6608 6609 specs/XKB: replace => with ⇒ for double arrows 6610 6611 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6612 6613commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 6614Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6615Date: Sat Jul 19 11:33:35 2014 -0700 6616 6617 specs/XKB: Markup some ranges with – instead of - 6618 6619commit ec4075303c6c0d1d64bfe378e585968f9a137da7 6620Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6621Date: Fri Jul 18 22:10:45 2014 -0700 6622 6623 specs/XKB: Markup some subtractions with − instead of - 6624 6625 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6626 6627commit 441a267e461132a38abed205245f028686526f1d 6628Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6629Date: Fri Jul 18 22:04:40 2014 -0700 6630 6631 specs/XKB: make sure all files have DOCTYPEs so standard entities work 6632 6633 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6634 6635commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 6636Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6637Date: Fri Jul 18 21:55:41 2014 -0700 6638 6639 specs/XKB: Markup quoted terms as <quote> instead of with "" 6640 6641 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6642 6643commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 6644Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6645Date: Sat Jul 19 09:01:26 2014 -0700 6646 6647 specs/XKB: fixup newlines between tags and punctuation 6648 6649 Get rid of unwanted whitespace before punctuation by moving them to the 6650 lines with the tags, instead of before & after. 6651 6652 perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 6653 6654 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6655 6656commit 6d5ec492cd28c206423337f926503349702af5a6 6657Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6658Date: Fri Jul 18 21:29:33 2014 -0700 6659 6660 specs/XKB: fixup newlines between tags and parens 6661 6662 Get rid of unwanted whitespace inside parens by moving them to the 6663 lines with the tags, instead of before & after. 6664 6665 perl -i -0 -p \ 6666 -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 6667 -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 6668 6669 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6670 6671commit 59d688f4c787250e0b401a92b1db0437d8c60f2d 6672Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6673Date: Fri Jul 18 21:09:24 2014 -0700 6674 6675 specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 6676 6677 Also add <indexterm> entries for most of them, to make their definitions 6678 or introductions easy to find from the index. 6679 6680 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6681 6682commit 861f3087ee0f501362a67501f384c2ca4c7bfe73 6683Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6684Date: Thu Jul 10 20:00:53 2014 -0700 6685 6686 specs/XKB: Manual fixup of type markup 6687 6688 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6689 6690commit 6b96259dabe52701fd1bcaa0625b574180c4e769 6691Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6692Date: Thu Jul 10 15:00:30 2014 -0700 6693 6694 specs/XKB: Manual fixup of parameter markup 6695 6696 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6697 6698commit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 6699Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6700Date: Thu Jul 10 13:40:40 2014 -0700 6701 6702 specs/XKB: Manual fixup of struct name/field markup 6703 6704 Handles typos that caused the scripts to miss matches, misnamed structs, etc. 6705 6706 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6707 6708commit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 6709Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6710Date: Wed Jul 9 23:26:37 2014 -0700 6711 6712 specs/XKB: Manual fixup of symbol name markup 6713 6714 Handles typos that caused the scripts to miss matches, misnamed masks, etc. 6715 6716 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6717 6718commit eb1453a0c69606b8af96b90ddccf1b93a069fb35 6719Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6720Date: Wed Jul 9 00:03:23 2014 -0700 6721 6722 specs/XKB: Manual fixup of function name markup 6723 6724 Handles typos that caused the scripts to miss matches, functions like 6725 malloc & free from other libraries, function name patterns, etc. 6726 6727 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6728 6729commit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 6730Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6731Date: Thu Jul 10 19:42:31 2014 -0700 6732 6733 specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 6734 6735 No great fit in DocBook, so follow what we used in Xlib spec. 6736 6737 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6738 6739commit ed60df10aad15057577d5714c955d22d2a446e51 6740Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6741Date: Thu Jul 10 15:45:57 2014 -0700 6742 6743 specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 6744 6745 Also uses <guilabel> for LED names/labels, for lack of a better fit 6746 in DocBook. 6747 6748 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6749 6750commit f57b91ee497414083cc1bf481d28eb9ad9f965fb 6751Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6752Date: Thu Jul 10 15:41:19 2014 -0700 6753 6754 specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 6755 6756 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6757 6758commit cfd4279c9b59d7e87c9f7c67692c87973adb7667 6759Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6760Date: Thu Jul 10 11:08:14 2014 -0700 6761 6762 specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 6763 6764 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6765 6766commit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 6767Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6768Date: Wed Jul 9 23:30:54 2014 -0700 6769 6770 specs/XKB: Markup symbol names in table entries too 6771 6772 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6773 6774commit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 6775Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6776Date: Tue Jul 8 23:35:48 2014 -0700 6777 6778 specs/XKB: Markup *Ptr as <type> instead of <emphasis> 6779 6780 perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 6781 6782 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6783 6784commit 9f6c00629fd4b713082cc11f9150f7aafd272c89 6785Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6786Date: Tue Jul 8 23:34:29 2014 -0700 6787 6788 specs/XKB: Markup *Rec as <structname> instead of <emphasis> 6789 6790 perl -i -p -e \ 6791 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 6792 6793 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6794 6795commit 83839e37802b8b752c77859a95de60ad757feb79 6796Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6797Date: Tue Jul 8 23:29:49 2014 -0700 6798 6799 specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 6800 6801 Performed via: 6802 perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 6803 /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 6804 | sort -u > xkb-defines.pl 6805 perl -i -p -f xkb-defines.pl *.xml 6806 6807 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6808 6809commit 9e397ed37ce4cc70621de347de3a795df88d4506 6810Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6811Date: Tue Jul 8 22:53:12 2014 -0700 6812 6813 specs/XKB: Use ° instead of o for degrees. 6814 6815 Conversion from framemaker turned superscripted "o" into plain "o". 6816 6817 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6818 6819commit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 6820Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6821Date: Tue Jul 8 22:46:03 2014 -0700 6822 6823 specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 6824 6825 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6826 6827commit 33bef065683c8f910f3722730503c0c0699ee8be 6828Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6829Date: Tue Jul 8 22:26:56 2014 -0700 6830 6831 specs/XKB: Markup NULL as <symbol> instead of <emphasis> 6832 6833 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6834 6835commit f10aa1e09468bd28454d85ac8ab55d9dc7178029 6836Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6837Date: Tue Jul 8 22:22:29 2014 -0700 6838 6839 specs/XKB: Markup function args as <parameter> instead of <emphasis> 6840 6841 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6842 6843commit 79ba58cceb69521fcb313c69233cf93a9fcb177f 6844Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6845Date: Mon Jul 7 23:56:13 2014 -0700 6846 6847 specs/XKB: Convert remaining error names to errorname tags 6848 6849 Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 6850 are XKB-specific. (Plus some were badly split across tag boundaries.) 6851 6852 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6853 6854commit 42b2f5388c399949ece377f9cc9c479c06964972 6855Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6856Date: Mon Jul 7 23:16:56 2014 -0700 6857 6858 specs/XKB: manually fixup some more emphasis tagging mismatches 6859 6860 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6861 6862commit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 6863Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6864Date: Mon Jul 7 23:02:31 2014 -0700 6865 6866 specs/XKB: re-normalize <emphasis> layout in xml files 6867 6868 Same script as before, just with <!-- xref --> comments out of the way 6869 now. 6870 6871 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6872 6873commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 6874Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6875Date: Mon Jul 7 22:59:25 2014 -0700 6876 6877 specs/XKB: Remove remaining xref comments 6878 6879 All the places marked by these have been turned into the appropriate 6880 link, xref, or olink tags now. 6881 6882 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6883 6884commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 6885Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6886Date: Mon Jul 7 22:56:36 2014 -0700 6887 6888 specs/XKB: make olinks to xkbproto for references in section 10.13 6889 6890 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6891 6892commit fcda446877a62e7443d7bc704ba3610e90d1e755 6893Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6894Date: Mon Jul 7 22:22:28 2014 -0700 6895 6896 specs/XKB: Add <figure> tags and make Figure references link to them 6897 6898 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6899 6900commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 6901Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6902Date: Mon Jul 7 21:30:01 2014 -0700 6903 6904 specs/XKB: Turn Table references into links 6905 6906 Adds id attributes to all table tags so we can link to them 6907 6908 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6909 6910commit 135fa07b74cb50172c6a75768d499cd87ddb336e 6911Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6912Date: Sun Jul 6 21:29:59 2014 -0700 6913 6914 specs/XKB: Turn section references into xref links 6915 6916 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6917 6918commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 6919Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6920Date: Sun Jul 6 21:17:18 2014 -0700 6921 6922 specs/XKB: Turn Chapter references into xref links 6923 6924 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6925 6926commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 6927Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6928Date: Sun Jul 6 20:40:18 2014 -0700 6929 6930 specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 6931 6932 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6933 6934commit b00a7ddff2744238fbfe31c2298b02028a45a6ff 6935Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6936Date: Sun Jul 6 20:34:51 2014 -0700 6937 6938 specs/XKB: Markup function names as <function> instead of <emphasis> 6939 6940 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6941 6942commit bfbb58b7679221cb5c9212665209ea9099ad079a 6943Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6944Date: Sun Jul 6 20:25:46 2014 -0700 6945 6946 specs/XKB: normalize <emphasis> layout in xml files 6947 6948 - Stop placing <emphasis> on empty space, commas, and periods. 6949 - Move periods & commas after closing </emphasis> tag 6950 - move <emphasis> open & close tags to same line, instead of mirroring 6951 nroff layout. 6952 6953 Simplifies automating further transformations of these tags. 6954 6955 Performed via: 6956 perl -i -0 -p \ 6957 -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 6958 -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 6959 -e 's{\n([\.,])\s*}{\1\n}msg;' \ 6960 -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 6961 -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 6962 6963 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6964 6965commit b16ee69a0103109a661a88140a1765dcd7bda634 6966Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6967Date: Sun Jul 6 15:57:41 2014 -0700 6968 6969 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 6970 6971 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6972 6973commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 6974Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6975Date: Sun Jul 6 19:29:38 2014 -0700 6976 6977 specs/XKB: Add index 6978 6979 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6980 6981commit 72ae1d793be078db521dda60af578ece71f364de 6982Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6983Date: Sun Jul 6 13:21:40 2014 -0700 6984 6985 specs/XKB: Fix various markup issues in functiondecl tables 6986 6987 - Merge some functionargdecl entries incorrectly split across rows 6988 - Add missing parameter name markup to some functionargdecls 6989 - Add missing function prototype markup to a functiondecl 6990 - Remove stray emphasis tags in a functiondecl 6991 6992 Allows them to correctly convert to funcsynopsis markup in next step. 6993 6994 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6995 6996commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 6997Author: Alan Coopersmith <alan.coopersmith@oracle.com> 6998Date: Sun Jul 6 12:15:23 2014 -0700 6999 7000 specs/XKB: Convert header filenames to filename tags 7001 7002 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7003 7004commit 5525e8433f93bce464412f27cffa203ea628f368 7005Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7006Date: Tue Jul 8 00:05:32 2014 -0700 7007 7008 specs/libX11: disengender a user reference 7009 7010 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7011 7012commit d8679eae9317b389ad4acb0430360ee0663e2af8 7013Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7014Date: Fri Jul 11 18:41:42 2014 -0700 7015 7016 specs/libX11: Correct value of IconicState to match Xutil.h 7017 7018 Xutil.h has always had a value of 3 for IconicState, since 2 was 7019 previously used for the long-obsolete ZoomState, so make the spec 7020 match what programs have used for decades. 7021 7022 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7023 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7024 7025commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 7026Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7027Date: Fri Jul 11 10:34:08 2014 -0700 7028 7029 Use C99 named initializers to fill in events passed to XSendEvent 7030 7031 Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 7032 and allows optimizer to order field initialization to best fit cache layout 7033 or other considerations. 7034 7035 Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 7036 instructions to rapidly zero-fill structs. 7037 7038 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7039 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7040 7041commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 7042Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7043Date: Sun Jul 6 11:13:49 2014 -0700 7044 7045 Fix validation of ctrls parameter to XkbGetPerClientControls() 7046 7047 Nothing in the XKB spec states that the memory pointed to by ctrls has to 7048 be initialized to any given value when passed to the function, only that 7049 it is set by the function to the values returned by the X server: 7050 http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 7051 7052 The check for the incoming value seems to be copied from 7053 XkbSetPerClientControls without explanation. 7054 7055 Instead change it to checking if ctrls is non-NULL, since there's no 7056 point asking the X server to return a value the caller won't even see. 7057 7058 Found while investigating report from cppcheck-1.65: 7059 [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 7060 dereference: ctrls - otherwise it is redundant to check it against null. 7061 7062 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7063 7064commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 7065Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7066Date: Sun Jul 6 10:54:57 2014 -0700 7067 7068 Fix map->num_types check in XkbAddKeyType() 7069 7070 Check is intended to ensure we allocate at least XkbNumRequiredTypes 7071 in map, but was accidentally marked with a ! causing the wrong check. 7072 7073 Reported-by: Harms <wharms@bfs,de> 7074 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7075 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7076 7077commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 7078Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7079Date: Sun Jul 6 15:08:21 2014 -0700 7080 7081 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 7082 7083 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7084 7085commit a06ea86773568926c36ae650b188fc818d540db7 7086Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7087Date: Sun Jul 6 15:04:27 2014 -0700 7088 7089 specs/libX11: Fix height & width in parameter lists to be two separate entries 7090 7091 "unsigned int width, unsigned int height", not a single parameter "height" 7092 of type "unsignedintwidth,". 7093 7094 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7095 7096commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 7097Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7098Date: Sun Jul 6 14:38:10 2014 -0700 7099 7100 specs/libX11: Fix x & y in parameter lists to be two separate parameters 7101 7102 "int x, int y" not a single parameter y of type "intx" 7103 7104 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7105 7106commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 7107Author: walter harms <wharms@bfs.de> 7108Date: Sat Jun 7 12:03:17 2014 +0200 7109 7110 lcDefConv.c: fix use before check 7111 7112 * Do not use variables before checked for NULL. 7113 * remove some superfluid spaces (Mark Kettenis) 7114 7115 Signed-off-by: Harms <wharms@bfs,de> 7116 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7117 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7118 7119commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 7120Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7121Date: Mon Jun 16 15:16:10 2014 -0700 7122 7123 Start adding Unicode 7.0 support to compose table 7124 7125 New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 7126 7127 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7128 7129commit a4679baaa18142576d42d423afe816447f08336c 7130Author: walter harms <wharms@bfs.de> 7131Date: Sat Jun 7 11:54:34 2014 +0200 7132 7133 rm redundant null checks 7134 7135 remove more redundant NULL checks 7136 note that _XkbFree() is really Xfree() 7137 7138 Signed-off-by: Harms <wharms@bfs,de> 7139 Reviewed-by: Rémi Cardona <remi@gentoo.org> 7140 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7141 7142commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 7143Author: walter harms <wharms@bfs.de> 7144Date: Sat Jun 7 15:17:27 2014 +0200 7145 7146 libX11: rm redundante NULL checks 7147 7148 This patch removes the last remaining NULL checks for Xfree() 7149 7150 Signed-off-by: Harms <wharms@bfs,de> 7151 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7152 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7153 7154commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 7155Author: walter harms <wharms@bfs.de> 7156Date: Fri Jun 6 22:53:05 2014 +0200 7157 7158 Remove more redundant null checks before Xfree() 7159 7160 Signed-off-by: Harms <wharms@bfs,de> 7161 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7162 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7163 7164commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 7165Author: walter harms <wharms@bfs.de> 7166Date: Thu Jun 5 18:37:40 2014 +0200 7167 7168 Remove redundant null checks before free 7169 7170 This patch removes some redundant null checks before free. 7171 It should not change the code otherwise. Be aware that this 7172 is only the first series. 7173 7174 Signed-off-by: Harms <wharms@bfs,de> 7175 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7176 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7177 7178commit 7d452fad5068ba92b964e92bc46708046f4044aa 7179Author: walter harms <wharms@bfs.de> 7180Date: Wed Jun 4 17:12:31 2014 +0200 7181 7182 libX11/lcUTF8.c fix: dereferenced before check 7183 7184 * Do not use variables before checked for NULL. 7185 7186 Signed-off-by: Harms <wharms@bfs,de> 7187 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7188 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7189 7190commit a3808f51517a720e7ff738208af60865779dd6ef 7191Author: walter harms <wharms@bfs.de> 7192Date: Wed Jun 4 17:10:20 2014 +0200 7193 7194 libX11/XKBNames.c fix: dereferenced before check 7195 7196 * Do not use variables before checked for NULL. 7197 7198 Signed-off-by: Harms <wharms@bfs,de> 7199 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7200 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7201 7202commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 7203Author: walter harms <wharms@bfs.de> 7204Date: Wed Jun 4 17:08:12 2014 +0200 7205 7206 libX11/lcGenConv.c fix: dereferenced before check 7207 7208 * Do not use variables before checked for NULL. 7209 7210 Signed-off-by: Harms <wharms@bfs,de> 7211 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7212 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7213 7214commit c6bc28d433243c32b3f74955f1478451b4fd27b5 7215Author: Andreas Schwab <schwab@linux-m68k.org> 7216Date: Sun Jan 19 16:59:13 2014 +0100 7217 7218 Restore lost tabs in sed commands 7219 7220 Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 7221 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7222 7223commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 7224Author: Benno Schulenberg <bensberg@justemail.net> 7225Date: Thu Sep 19 11:01:11 2013 +0200 7226 7227 nls: Transform Brazilian compose file to an include plus three overrides. 7228 7229 Signed-off-by: James Cloos <cloos@jhcloos.com> 7230 7231commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 7232Author: Benno Schulenberg <bensberg@justemail.net> 7233Date: Fri Sep 6 12:10:01 2013 +0200 7234 7235 nls: Adding the missing compose sequences with <comma> for O with ogonek. 7236 7237 All other vowels with ogoneks can already be composed using <comma>. 7238 7239 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7240 Signed-off-by: James Cloos <cloos@jhcloos.com> 7241 7242commit 655b60f48376069750b151c46da836fdd411c83b 7243Author: Benno Schulenberg <bensberg@justemail.net> 7244Date: Fri Sep 6 12:04:24 2013 +0200 7245 7246 nls: Adding the missing postfix sequences for composing vowels with ogoneks. 7247 7248 It existed for lowercase i, but not for uppercase I nor the other vowels. 7249 7250 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7251 Signed-off-by: James Cloos <cloos@jhcloos.com> 7252 7253commit 7f8f9a36ef901f31279c385caf960a22daeb33fe 7254Author: Owen W. Taylor <otaylor@fishsoup.net> 7255Date: Fri May 9 18:21:05 2014 -0400 7256 7257 Fix XNextRequest() after direct usage of XCB 7258 7259 When XCB owns the X socket, dpy->request is not updated, so 7260 NextRequest() and XNextRequest() return the wrong value. There's 7261 nothing we can do to fix NextRequest() while retaining ABI compat, 7262 but change XNextRequest() to grab the socket back from XCB, 7263 updating dpy->request. 7264 7265 Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 7266 Reviewed-by: Uli Schlachter <psychon@znc.in> 7267 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7268 7269commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 7270Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7271Date: Sun May 4 11:54:59 2014 -0700 7272 7273 Add missing .TE tags to end tables in Xkb man pages 7274 7275 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7276 7277commit 280274e5292e013b43e552274111fab434f5ed4e 7278Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7279Date: Sun May 4 11:23:17 2014 -0700 7280 7281 XCreateGC.man: simplify table to work with Solaris tbl 7282 7283 Having every table cell be a text diversion (T{...T}) was too much for 7284 Solaris tbl to handle, and thus "man XCreateGC" would print the error 7285 /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 7286 tbl quits 7287 and not display the table of mask bits or any text in the man page after 7288 that table. Since the #define column doesn't need special handling, 7289 making it not use text diversions brings the table under the tbl limit. 7290 7291 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7292 7293commit 93bb325a54025dd15f4744abce54b358960420f9 7294Author: James Cloos <cloos@jhcloos.com> 7295Date: Tue May 20 17:30:10 2014 -0400 7296 7297 Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 7298 7299 Parenleft is already in use for sequences of the form <(> <letter> <)> 7300 to generate circled letters. 7301 7302 Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 7303 7304 This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 7305 7306 Signed-off-by: James Cloos <cloos@jhcloos.com> 7307 7308commit 060707851be918f2f507a26d17b016f764ddf2b4 7309Author: Benno Schulenberg <bensberg@justemail.net> 7310Date: Fri Sep 6 11:42:59 2013 +0200 7311 7312 nls: Adding accessible compose sequences for Ș and Ț (with comma below). 7313 7314 Compose sequences with <dead_belowcomma> exist, but very few keyboard 7315 layouts contain that symbol. So a more usual character is needed to be 7316 able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 7317 used for composing letters with ogoneks -- but only vowels take ogoneks, 7318 so the character is free for consonants, and thus <semicolon> is used 7319 here to compose commas below. It is somewhat fitting, because on most 7320 Romanian keyboards the Ș is placed on that key, and the Ț next to it. 7321 7322 (Oh -- the more obvious sequences with <comma> were already taken for 7323 composing S and T with cedillas.) 7324 7325 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7326 Signed-off-by: James Cloos <cloos@jhcloos.com> 7327 7328commit ca435c2f753aa2961fb35ac448cdb2cc77112755 7329Author: Benno Schulenberg <bensberg@justemail.net> 7330Date: Tue Sep 3 21:10:33 2013 +0200 7331 7332 nls: Ordering some compose sequences in a more customary way. 7333 7334 The custom seems to be: pairing the ones that have only the sequence of 7335 two keys reversed, and putting the one with the diacritic first first. 7336 7337 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7338 Signed-off-by: James Cloos <cloos@jhcloos.com> 7339 7340commit f020235f4bd91fb6eade82f8c9f7b85a57981768 7341Author: Benno Schulenberg <bensberg@justemail.net> 7342Date: Tue Sep 3 20:44:42 2013 +0200 7343 7344 nls: Adding compose sequences (with <parenleft> first) that GTK also has. 7345 7346 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7347 Signed-off-by: James Cloos <cloos@jhcloos.com> 7348 7349commit bda0b3b5bd19154206dc40166364e73d4b6b1374 7350Author: Benno Schulenberg <bensberg@justemail.net> 7351Date: Tue Sep 3 11:14:16 2013 +0200 7352 7353 nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 7354 7355 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7356 Signed-off-by: James Cloos <cloos@jhcloos.com> 7357 7358commit 8be4610939b833587954957f5963eb4191b43d19 7359Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7360Date: Thu Mar 13 23:22:48 2014 -0700 7361 7362 Fix "follwing" typo in en_US.UTF-8/Compose comment 7363 7364 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7365 7366commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 7367Author: Reuben Thomas <rrt@sc3d.org> 7368Date: Mon Jan 27 14:18:24 2014 +0000 7369 7370 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 7371 7372 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7373 7374commit d6bd988bc00494914b38b95ee5df77ac4f32f19f 7375Author: Peter Hutterer <peter.hutterer@who-t.net> 7376Date: Mon Mar 3 12:38:48 2014 +1000 7377 7378 man: fix man page for XkbGetMap 7379 7380 Returned structure must be freed with XkbFreeKeyboard(). 7381 7382 Reported-by: Morten Bøgeskov <mb@dbc.dk> 7383 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7384 7385commit a6dcf2201a05adbff54122df05a1e6325936abb6 7386Author: Ran Benita <ran234@gmail.com> 7387Date: Tue Feb 11 13:26:16 2014 +0200 7388 7389 Remove dead USE_OWN_COMPOSE-protected code 7390 7391 The build doesn't provide any way to define this option. It also refers 7392 to files (imComp.h) and functions (e.g. XimCompInitTables(), 7393 XimCompProcessSym()) which are not found anywhere, and the ordinary 7394 Compose implementation in xim doesn't use any of it. 7395 7396 Signed-off-by: Ran Benita <ran234@gmail.com> 7397 Reviewed-by: Julien Cristau <jcristau@debian.org> 7398 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7399 7400commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 7401Author: Ran Benita <ran234@gmail.com> 7402Date: Sun Feb 16 15:24:58 2014 +0200 7403 7404 nls: always use XCOMM instead of # for comments in Compose.pre files 7405 7406 Lines starting with # are considered as preprocessor directives in the 7407 .pre files. 7408 7409 Fixes warnings like: 7410 <stdin>:3:0: error: invalid preprocessing directive #Khmer 7411 7412 Signed-off-by: Ran Benita <ran234@gmail.com> 7413 Signed-off-by: James Cloos <cloos@jhcloos.com> 7414 7415commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 7416Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7417Date: Thu Feb 6 13:48:08 2014 -0800 7418 7419 Fix typos in Xrm.c comments 7420 7421 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7422 7423commit aacf95dacc7c598e7297894580d4d655593813b2 7424Author: Marko Myllynen <myllynen@redhat.com> 7425Date: Mon Jan 13 16:43:18 2014 +0200 7426 7427 Annotate Finnish Compose map with Unicode code points 7428 7429 Scripted annotation, no functional changes. 7430 7431 Signed-off-by: James Cloos <cloos@jhcloos.com> 7432 7433commit 20fdccd81b54678376d49e00edfebbbe94951f07 7434Author: Teemu Likonen <tlikonen@iki.fi> 7435Date: Fri Jul 20 19:21:04 2012 +0300 7436 7437 Fix "RING ABOVE" key in the Finnish compose file 7438 7439 The Finnish keyboard standard defines that <dead_abovering> <space> must 7440 insert the character U+02DA RING ABOVE. Currently the Finnish Compose 7441 file inserts U+00B0 DEGREE SIGN even though the line's comment says 7442 "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 7443 7444 Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 7445 Signed-off-by: James Cloos <cloos@jhcloos.com> 7446 7447commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 7448Author: Ran Benita <ran234@gmail.com> 7449Date: Wed Jan 29 02:11:47 2014 +0200 7450 7451 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 7452 7453 Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 7454 keysyms: 7455 7456 #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 7457 #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 7458 7459 (and similarly for uhorn), there is no need to have both names. Remove 7460 the unicode literal ones. 7461 7462 Signed-off-by: Ran Benita <ran234@gmail.com> 7463 Signed-off-by: James Cloos <cloos@jhcloos.com> 7464 7465commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 7466Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7467Date: Sat Jan 18 22:35:18 2014 -0800 7468 7469 Add RANDR 1.4 requests & events to XErrorDB 7470 7471 Checked against randrproto.txt & randr.h 7472 7473 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7474 7475commit 321392ded15a7ee9d177d4ebe8846336ba76741c 7476Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7477Date: Fri Jan 3 20:04:33 2014 -0800 7478 7479 Remove unused ETEST & ESZTEST macros from XlibInt.c 7480 7481 Left behind when 15e5eaf62897 removed support for building without XCB. 7482 7483 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7484 Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 7485 7486commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 7487Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7488Date: Thu Dec 26 09:26:13 2013 -0800 7489 7490 _XkbReadGeomOverlay: check for NULL first, then use pointer 7491 7492 Flagged by cppcheck 1.62: 7493 [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 7494 (warning) Possible null pointer dereference: row - otherwise it is 7495 redundant to check it against null. 7496 7497 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7498 7499commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 7500Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7501Date: Thu Dec 26 09:22:49 2013 -0800 7502 7503 XkbSelectEventDetails: remove unnecessary assignments 7504 7505 clear & selectAll are set to 0 already a few lines earlier, 7506 affectWhich is set to XkbMapNotifyMask a few lines later. 7507 None are used between the other assignments and the removed ones. 7508 7509 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7510 7511commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 7512Author: Jon TURNEY <jon.turney@dronecode.org.uk> 7513Date: Thu Oct 7 18:46:08 2010 +0100 7514 7515 Don't try so hard to find a matching font with the given encoding 7516 7517 See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 7518 7519 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 7520 does XCreateFontSet() with a font name of "*", we end up asking the server 7521 to list the (non-existent) fonts 11 times for each CJK encoding, which can 7522 take a while. 7523 7524 A * wildcard can match multiple components in a XLFD name in XListFonts(), 7525 so there's no need to try adding more than one to get a match. 7526 7527 We do try once with a leading '*-' in case the fontname isn't a full 7528 well-formed XLFD name, maybe even that isn't needed? 7529 7530 (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 7531 7532 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 7533 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7534 7535commit 7e163300735d4bcd3386b86eec112acdad139c59 7536Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7537Date: Mon Dec 2 21:51:27 2013 -0800 7538 7539 unifdef -UISC 7540 7541 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7542 7543commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 7544Author: Benno Schulenberg <bensberg@justemail.net> 7545Date: Thu Sep 19 13:20:05 2013 +0200 7546 7547 nls: Fix transposed locale identifier for Khmer. 7548 7549 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7550 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7551 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7552 7553commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 7554Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7555Date: Sat Nov 16 20:21:54 2013 -0800 7556 7557 Drop X_LOCALE fallback for OS'es without setlocale() 7558 7559 C89 or bust! This was documented as being needed for "only Lynx, 7560 Linux-libc5, OS/2" and has never been enabled in modular builds, 7561 since none of those platforms have had anyone step up to add support 7562 since the X11R7 conversion to autotools. 7563 7564 Mostly performed with unifdef -UX_LOCALE, followed by removal of files 7565 left without any purpose, and manual cleanup of remaining references. 7566 7567 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7568 Reviewed-by: Adam Jackson <ajax@redhat.com> 7569 7570commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 7571Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7572Date: Wed Oct 23 10:37:53 2013 -0700 7573 7574 Xcms file parsing should not require the impossible to succeed 7575 7576 The field2 helper function, to split lines from Xcms.txt files into 7577 two tab delimited fields, contained a check: 7578 7579 if ((*pBuf != '\n') || (*pBuf != '\0')) { 7580 return(XcmsFailure); 7581 7582 which would cause it to return failure unless *pBuf had a value that 7583 was simultaneously equal to both \n & \0, and no one wants to live in 7584 a world where that could ever be true. 7585 7586 This has gone unnoticed since 1991, since this only caused lines 7587 in Xcms.txt that started with whitespace to be rejected, but now 7588 gcc -Wlogicalop has brought it to our attention, and 7589 https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 7590 7591 Now that we see it, and cannot unsee it, we change it to use the 7592 same logic as the check at other points in this function, to return 7593 failure only if we hit \n or \0 before we find the first non-whitespace 7594 character, so that lines starting with whitespace will have the space 7595 skipped over to get to the color name to be defined. 7596 7597 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7598 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 7599 7600commit 18a5278b008e9faa59b346fcab18a8d74b875fda 7601Author: Gaetan Nadon <memsize@videotron.ca> 7602Date: Sat Sep 28 17:33:52 2013 -0400 7603 7604 makekeys: don't need to use target-specific CFLAGS 7605 7606 It's the only thing built in that directory, so we can use AM_CFLAGS 7607 and AM_CPPFLAGS as usual. 7608 7609 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7610 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7611 7612commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 7613Author: James Cloos <cloos@jhcloos.com> 7614Date: Tue Sep 17 12:50:42 2013 -0400 7615 7616 nls/en_US.UTF-8/Compose.pre: Fix typo. 7617 7618 Fix typo added in 215ce6a67863, s/actute/acute/. 7619 7620 Fixes bug #69476. Reported by Jean Krohn. 7621 7622 Signed-off-by: James Cloos <cloos@jhcloos.com> 7623 7624commit cb107760df33ffc8630677e66e2e50aa37950a5c 7625Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7626Date: Sun Sep 8 18:37:01 2013 -0700 7627 7628 libX11 1.6.2 7629 7630commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 7631Author: Benno Schulenberg <bensberg@justemail.net> 7632Date: Sun Sep 1 12:38:30 2013 +0200 7633 7634 nls: Adding more accessible compose sequences for J́ and j́. 7635 7636 Few keyboards have an <acute> key, so this adds the much more 7637 accessible and usual compose sequences with <apostrophe>, ánd 7638 the most comfortable ones with <dead_acute>. 7639 7640 Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 7641 Signed-off-by: James Cloos <cloos@jhcloos.com> 7642 7643commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 7644Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7645Date: Sat Aug 24 17:27:43 2013 -0700 7646 7647 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 7648 7649 Pass *new* size to realloc, not old size. 7650 7651 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7652 7653commit c2b8e30790c21d6386767265263b3294ce1b1f9a 7654Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7655Date: Fri Aug 16 21:04:02 2013 -0700 7656 7657 Stop checking for HAVE_DIX_CONFIG_H on the client side 7658 7659 Leftover from when these XKB files were shared with the server sources 7660 and could be compiled in either the client or server, with the different 7661 autoconf config files in each. 7662 7663 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7664 7665commit 84276609b2f0aec74fb464c428c7db5714b0fcfc 7666Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7667Date: Fri Aug 16 18:27:28 2013 -0700 7668 7669 Rearrange some variable declarations & initializations in XKB 7670 7671 Little things noticed during XKB restyling that seemed to make the 7672 code easier to read. 7673 7674 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7675 7676commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 7677Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7678Date: Sun Aug 11 13:29:33 2013 -0700 7679 7680 Reindent XKB code to X.Org standard style 7681 7682 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7683 7684commit c0a0f78eb49c2e4ad956209de77475c85b9314ea 7685Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7686Date: Fri Aug 16 18:14:14 2013 -0700 7687 7688 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 7689 7690 We were checking to make sure that the largest keysym value was within 7691 the range of the allocated buffer, but checking against different limits 7692 in the not-yet-allocated vs. the already-allocated branches. 7693 7694 The check should be the same in both, and reflect the size used for the 7695 allocation, which is based on the maximum key code value, so we move it 7696 to be a common check, before we branch, instead of duplicating in each 7697 branch. 7698 7699 map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 7700 map->syms is the array for which num_syms is recorded, hence is not the 7701 right value to check for ensuring our key_sym_map accesses are in range. 7702 7703 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7704 Reported-by: Barry Kauler <bkauler@gmail.com> 7705 Tested-by: Barry Kauler <bkauler@gmail.com> 7706 7707commit bea6cbd027973142fc64532274e1d16861b47190 7708Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7709Date: Sun Aug 11 17:02:21 2013 -0700 7710 7711 Remove long unused src/udcInf.c 7712 7713 I can find no record of what this file was for. Neither the X11R6.8.2 7714 monolith Imakefile nor any modular release Makefile.am have ever built 7715 it and nothing else references it. 7716 7717 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7718 7719commit bf3501e0395abe890acfea98fdd9f50a6966f118 7720Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7721Date: Sun Aug 11 00:07:33 2013 -0700 7722 7723 Remove unnecessary casts of pointers to (char *) in calls to Xfree() 7724 7725 Left one cast behind that is necessary to change from const char * 7726 to char * in src/xlibi18n/lcCharSet.c. 7727 7728 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7729 7730commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 7731Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7732Date: Sat Aug 10 23:57:55 2013 -0700 7733 7734 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 7735 7736 sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 7737 don't strip down to unsigned int and re-expand unnecessarily. 7738 7739 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7740 7741commit 25a7a329def672fc8d26078538173777850c6390 7742Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7743Date: Sat Aug 10 23:51:08 2013 -0700 7744 7745 Remove even more casts of return values from Xmalloc/Xrealloc 7746 7747 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7748 7749commit f8fa16092a148b74ca35b4beb182053352606f2f 7750Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7751Date: Sat Aug 10 23:05:13 2013 -0700 7752 7753 xlibi18n: fix argsize argument to _XlcParsePath 7754 7755 The array is defined as having NUM_LOCALEDIR entries, so use that 7756 instead of hardcoded 256 value (the other two calls already did this). 7757 7758 Reported by parfait: 7759 Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 7760 Pointer size is 64 elements (of 8 bytes each), index is 255 7761 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 7762 called at line 178 in function '_XlcParsePath' with argv = argv. 7763 called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 7764 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 7765 called at line 178 in function '_XlcParsePath' with argv = argv. 7766 called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 7767 7768 [ This bug was found by the Parfait 1.2.0 bug checking tool. 7769 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 7770 7771 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7772 7773commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 7774Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7775Date: Sat Aug 10 22:32:42 2013 -0700 7776 7777 i18n modules: Fix some const cast warnings 7778 7779 imRm.c: In function '_XimSetICMode': 7780 imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7781 imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7782 7783 lcGenConv.c: In function 'byteM_parse_codeset': 7784 lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7785 7786 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7787 7788commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 7789Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7790Date: Sat Aug 10 22:21:54 2013 -0700 7791 7792 xlibi18n: Fix a bunch of const cast warnings 7793 7794 Add const qualifiers to casts where needed, remove other casts that 7795 are no longer needed. 7796 7797 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7798 7799commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 7800Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7801Date: Sat Aug 10 22:18:00 2013 -0700 7802 7803 Fix const handling in XSetLocaleModifiers 7804 7805 Instead of reusing the input parameter to store the output, make a 7806 result variable instead, so that there's less const confusion. 7807 7808 Fixes gcc warnings: 7809 lcWrap.c: In function 'XSetLocaleModifiers': 7810 lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7811 lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7812 lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 7813 7814 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7815 7816commit 8ebbffa98563960910152e4f2e31cb032375d871 7817Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7818Date: Sat Aug 10 21:46:37 2013 -0700 7819 7820 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 7821 7822 Makes code considerably less crufty and clears gcc warnings: 7823 XlcDL.c: In function '_XlcDynamicLoad': 7824 XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 7825 from pointer target type [-Wcast-qual] 7826 XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 7827 from pointer target type [-Wcast-qual] 7828 7829 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7830 7831commit 07e4e864107b38c2f393564fdacc90f4e858f23f 7832Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7833Date: Sat Aug 10 13:37:53 2013 -0700 7834 7835 init_om: remove unneeded extra copy of string to local buffer 7836 7837 Strings from the supported_charset_list[] were being copied one by 7838 one to a stack buffer, and then strdup called on that buffer. 7839 7840 Instead, just strdup the original string, without the local copy, 7841 and use a more traditional for loop, so it's easier to figure out 7842 what the code is doing (cleaning up a gcc const-cast warning in 7843 the process). 7844 7845 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7846 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7847 7848commit 1cec14dad904ba21a861f4af131be5982ecb83dd 7849Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7850Date: Sat Aug 10 12:34:53 2013 -0700 7851 7852 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 7853 7854 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7855 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7856 7857commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 7858Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7859Date: Sat Aug 10 12:19:17 2013 -0700 7860 7861 miRegionOp(): ensure region size is not updated if realloc fails 7862 7863 This function performs operations on a region, and when finished, 7864 checks to see if it should compact the rectangle list. If the 7865 number of rectangles for which memory is allocated in the list is 7866 more than twice the number used, it tries to shrink. realloc() 7867 should not fail in this case, but if it does, might as well keep 7868 the correct value for the number of allocated rectangles, so we 7869 don't try to grow it unnecessarily later if adding to the region. 7870 7871 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7872 7873commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 7874Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7875Date: Sat Aug 10 12:19:17 2013 -0700 7876 7877 miRegionCopy(): handle realloc failure better 7878 7879 Zero out the region size when freeing the region so callers don't think 7880 there's anything there. (Pointer is already set to NULL from the realloc 7881 result itself.) Return 0 to the callers, and have them cascade that back 7882 to their callers to indicate failure, instead of their usual return value 7883 of 1 on success. 7884 7885 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7886 7887commit 5dc8b5385d513bbda88697c2372db750d23f46d4 7888Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7889Date: Sat Aug 10 11:27:22 2013 -0700 7890 7891 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 7892 7893 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7894 7895commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 7896Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7897Date: Sat Aug 10 12:07:51 2013 -0700 7898 7899 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 7900 7901 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7902 7903commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 7904Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7905Date: Sat Aug 10 12:30:39 2013 -0700 7906 7907 lcDB.c: ensure buffer size is updated correctly if realloc fails 7908 7909 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7910 7911commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 7912Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7913Date: Sat Aug 10 11:07:47 2013 -0700 7914 7915 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 7916 7917 Previously, if realloc failed to increase the size, we'd still 7918 record that we had allocated the larger size, but the pointer 7919 to it would be NULL, causing future calls to be broken, and the 7920 previous allocation to be lost/leaked. 7921 7922 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7923 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7924 7925commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 7926Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7927Date: Fri Aug 9 23:33:03 2013 -0700 7928 7929 omGeneric.c: convert sprintf calls to snprintf 7930 7931 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7932 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7933 7934commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 7935Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7936Date: Fri Aug 9 23:30:30 2013 -0700 7937 7938 ximcp/imRm.c: convert sprintf calls to snprintf 7939 7940 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7941 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7942 7943commit 4fadae243fb485628c9a137f5da3489ed6214b21 7944Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7945Date: Fri Aug 9 23:02:12 2013 -0700 7946 7947 xlibi18n: convert sprintf calls to snprintf 7948 7949 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7950 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7951 7952commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 7953Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7954Date: Fri Aug 9 23:02:12 2013 -0700 7955 7956 lcfile: skip over any null entries in args list 7957 7958 Previous code seemed to assume that printf("%s", NULL) would result 7959 in a 0-length string, not "(null)" or similar, but since there's no 7960 point looking for files in "(null)/filepath...", instead we just 7961 skip over NULL entries in search paths when generating file names. 7962 7963 In the *DirName() functions, this effectively just moves the "bail on 7964 NULL in arg[i]" check up from the later code that assigned it to targetdir 7965 and then bailed if that was NULL. 7966 7967 Not sure how there ever could be a NULL in arg[i], given the current 7968 implementation of XlcParsePath, but it's easy enough to check once and 7969 reject up front instead of on every reference. 7970 7971 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7972 7973commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 7974Author: Alan Coopersmith <alan.coopersmith@oracle.com> 7975Date: Fri Aug 9 22:00:09 2013 -0700 7976 7977 Fix file leak on malloc error in XlcDL.c:resolve_object() 7978 7979 File Leak: Leaked File fp 7980 at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 7981 fp initialized at line 198 with fopen 7982 7983 [ This bug was found by the Parfait 1.2.0 bug checking tool. 7984 http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 7985 7986 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7987 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7988 7989commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 7990Author: Julien Cristau <jcristau@debian.org> 7991Date: Sat Jun 15 18:02:21 2013 +0200 7992 7993 Add missing locales to configure.ac 7994 7995 Commits 40761898692e5063957bfa2518cca3d35b2e354a and 7996 f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 7997 (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 7998 meaning they're not included in tarballs. 7999 8000 Signed-off-by: Julien Cristau <jcristau@debian.org> 8001 Reviewed-by: James Cloos <cloos@jhcloos.com> 8002 8003commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 8004Author: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 8005Date: Tue Dec 18 15:28:05 2012 +0000 8006 8007 Fix bogus timestamp generated by XIM 8008 8009 Fix bogus timestamp generted by XIM due to uninitialized 8010 data field. Also set appropriate serial, too. 8011 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 8012 8013 Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 8014 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8015 8016commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 8017Author: Egbert Eich <eich@freedesktop.org> 8018Date: Thu Jun 16 18:47:49 2011 +0200 8019 8020 XIM: Fix sync problem on focus change. 8021 8022 XSetICFocus() and XUnsetICFocus() are both asynchronous events. 8023 This is a pretty stupid idea: those functions may undo certain 8024 settings on the client side for which requests from the server 8025 may still be in the queue unprocessed. Thus things may be set 8026 in the wrong order ie instead of set -> unest it will be unset -> set. 8027 Moreover there is no way for either the client or the server to 8028 cause the event queue to be flushed - which is pretty bad as 8029 XIM is bidirectional. 8030 The scenario is as follows: 8031 Two ICs are created: 8032 ic1 = XCreateIC(im, 8033 XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 8034 XNClientWindow, window, 8035 XNPreeditAttributes, preedit_attr, 8036 XNStatusAttributes, status_attr, 8037 NULL); 8038 ic2 = XCreateIC(im, XNInputStyle, 8039 XIMPreeditNothing | XIMStatusNothing, 8040 XNClientWindow, window, NULL); 8041 Then the focus is removed from ic2: 8042 XUnsetICFocus(ic2); 8043 If SCIM is used as the input server it will send a bunch of requests 8044 following an XCreateIC(). One of the requests registers a key release 8045 filter. XUnsetICFocus() unsets both key press and release filters. 8046 Since it is asynchronous, the input server requests to register key 8047 press and release filters may not have been processed, when XUnsetICFocus() 8048 is called. Since there is no explicite way for client programs to enforce 8049 the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 8050 call it would be safest to make those two calls synchronous in the sense 8051 that they ensure the request queue has been handled before they execute. 8052 The easiest way to do this from Xlib is thru a call to XGetICValues() 8053 which sends a request to the server and subsequently reads the queue 8054 from the server to the client. This will cause all outstanding requests 8055 in the queue to be read and handled. 8056 This is an ugly hack and this could be fixed directly in the client, 8057 however it seems to be easier to fix Xlib than to fix numerous clients. 8058 This problem arose since there is no well documented way how to handle 8059 and synchronize XIM requests and not all input servers send requests 8060 when an IC is created. 8061 This has been discussed extensively in: 8062 https://bugzilla.novell.com/show_bug.cgi?id=221326 8063 8064 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8065 8066commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 8067Author: Egbert Eich <eich@freedesktop.org> 8068Date: Thu Jun 16 17:28:39 2011 +0200 8069 8070 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 8071 8072 When synthesized key events are sent on commit XIM sets the 'fabricated' 8073 flag so that the keypress handler knows that these were not real events. 8074 This also happens when committing due to the loss of focus. However in this 8075 case the keypress/release filters which consume and unset this flag are no 8076 longer in the filter chain. 8077 So the flag is erronously set when a real keyboard event is received after 8078 focus has been regained. So the first event is wrongly treated as a 8079 fabricated key in the keypress handler which will at the same time reset 8080 the flag so the second key event is treated correctly. 8081 This fix only sets the flag when at least one of the keyboard filters is in 8082 place. 8083 How to reproduce this bug: run scim, choose a Japanese input method start 8084 two instances of xterm: start typing in one xterm (this should pop up an 8085 IM window). Without comitting (hitting 'enter') move focus to the other 8086 xterm, then move focus back. Start typing again. The first character will 8087 be committed immediately without popping up an input window. 8088 With this fix this behavior is gone. 8089 8090 See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 8091 8092 Signed-off-by: Egbert Eich <eich@freedesktop.org> 8093 8094commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 8095Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8096Date: Mon Jul 29 21:29:49 2013 -0700 8097 8098 libX11 1.6.1 8099 8100 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8101 8102commit d19cfaca15826943d3c637ef7fa5db0a23d5feed 8103Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8104Date: Sat Jul 27 12:19:00 2013 -0700 8105 8106 Fix undefined XCMSDIR error when building lint library 8107 8108 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8109 8110commit 3083cd43d7dcd59da587975e7cadda681cd8a103 8111Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8112Date: Sat Jul 27 00:36:08 2013 -0700 8113 8114 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 8115 8116 Upstreaming from changes originally integrated into OpenSolaris 8117 under Sun bug id 6882572. 8118 8119 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8120 Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 8121 8122commit 208e586c808e88a2ee819e4450dc27f557afc2bf 8123Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8124Date: Sat Jul 27 01:03:18 2013 -0700 8125 8126 omGeneric: remove space between struct name & member name 8127 8128 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8129 8130commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 8131Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8132Date: Tue Jul 23 22:18:46 2013 -0700 8133 8134 Refactor common code from XAddHost & XRemoveHost into single function 8135 8136 On the Xlib side, the only real difference is the mode flag we send 8137 to the server with the address, so just make that an argument to the 8138 function with the common code for packing the address into the request. 8139 8140 (Aside from labels, gcc 4.7.2 generates identical code before & after 8141 this change due to inlining, verified via diff of gcc -S output.) 8142 8143 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8144 8145commit 3292195a64a9ce4f0d27134cd544651ec647e728 8146Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8147Date: Tue Jul 23 22:11:34 2013 -0700 8148 8149 XSetModifierMapping: Use Data instead of GetReqExtra 8150 8151 Handle arbitrary length data in the same fashion as other calls, 8152 avoiding need to ensure it fits all in the request buffer. 8153 8154 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8155 8156commit feb131b18aee31c2c125dc3275b0260940245882 8157Author: Kees Cook <kees@outflux.net> 8158Date: Sun Jun 9 11:13:43 2013 -0700 8159 8160 libX11: check "req" when calling GetReqExtra 8161 8162 This fixes the two callers of GetReqExtra to check that "req" is non-NULL 8163 to avoid crashing now that GetReqExtra does internal bounds-checking on 8164 the resulting buffer sizes. 8165 8166 Additionally updates comment describing return values to use names 8167 instead of only literal values. 8168 8169 Signed-off-by: Kees Cook <kees@outflux.net> 8170 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8171 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8172 8173commit 54540d7cba0c2bfe9176221c7bca910058d304df 8174Author: Kees Cook <kees@outflux.net> 8175Date: Sun Jun 9 11:13:42 2013 -0700 8176 8177 libX11: check size of GetReqExtra after XFlush 8178 8179 Two users of GetReqExtra pass arbitrarily sized allocations from the 8180 caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 8181 macro) to double-check the requested length and invalidate "req" when 8182 this happens. Users of GetReqExtra passing lengths greater than the Xlib 8183 buffer size (normally 16K) must check "req" and fail gracefully instead 8184 of crashing. 8185 8186 Any callers of GetReqExtra that do not check "req" for NULL 8187 will experience this change, in the pathological case, as a NULL 8188 dereference instead of a buffer overflow. This is an improvement, but 8189 the documentation for GetReqExtra has been updated to reflect the need 8190 to check the value of "req" after the call. 8191 8192 Bug that manifested the problem: 8193 https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 8194 8195 Signed-off-by: Kees Cook <kees@outflux.net> 8196 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8197 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8198 8199commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 8200Author: Thomas Klausner <wiz@NetBSD.org> 8201Date: Tue Jun 25 22:35:29 2013 +0200 8202 8203 Tighten out-of-range comparisons. 8204 8205 [For all of these, LONG_MAX was the correct value to prevent overflows 8206 for the recent CVEs. Lowering to INT_MAX catches buggy replies from 8207 the server that 32-bit clients would reject but 64-bit would accept, 8208 so we catch bugs sooner, and really, no sane & working server should 8209 ever report more than 2gb of extension names, font path entries, 8210 key modifier maps, etc. -alan- ] 8211 8212 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8213 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8214 8215commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 8216Author: Thomas Klausner <wiz@NetBSD.org> 8217Date: Tue Jun 25 18:34:32 2013 +0200 8218 8219 Fix out-of-range comparison in _XF86BigfontQueryFont 8220 8221 clang complained (correctly): 8222 warning: comparison of constant 768614336404564650 with expression 8223 of type 'CARD32' (aka 'unsigned int') is always true 8224 [-Wtautological-constant-out-of-range-compare] 8225 8226 [While LONG_MAX is correct, since it's used in size_t math, the 8227 numbers have to be limited to 32-bit range to be usable by 32-bit 8228 clients, and values beyond that range are far more likely to be 8229 bugs in the data from the server than valid numbers of characters 8230 in a font. -alan- ] 8231 8232 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8233 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8234 8235commit 383e2b0d029482a0f4c39fe00e15397538576fc1 8236Author: Thomas Klausner <wiz@NetBSD.org> 8237Date: Tue Jun 25 18:33:56 2013 +0200 8238 8239 Check for symbol existence with #ifdef, not #if 8240 8241 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8242 8243 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8244 8245commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 8246Author: Thomas Klausner <wiz@NetBSD.org> 8247Date: Tue Jun 25 18:33:07 2013 +0200 8248 8249 Use newer callback-based API for XIM. 8250 8251 Let libX11 load and make available the newer (X11R6) callback-based 8252 API for XIM (expected by emacs). 8253 8254 This patch updates the files to match the other nls/ files. 8255 8256 Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 8257 following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 8258 8259 Reviewed-by: James Cloos <cloos@jhcloos.com> 8260 8261 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8262 8263commit a17ceb7100bd36c2db210473ee701deb5d515731 8264Author: Thomas Klausner <wiz@NetBSD.org> 8265Date: Tue Jun 25 18:31:32 2013 +0200 8266 8267 Stop truncating source to destination length if it is larger. 8268 8269 It seems useless to do that since the code tests for both source 8270 length and destination to be non-zero. This fixes a cut'n'paste 8271 problem in xterm where the paste length was limited to 1024 (BUFSIZ) 8272 in button.c. 8273 8274 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8275 8276commit a336db9a0add3ae0783dda6e52459236622a12af 8277Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8278Date: Mon Jun 24 23:02:05 2013 -0700 8279 8280 Require ANSI C89 pre-processor, drop pre-C89 token pasting support 8281 8282 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8283 8284commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 8285Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8286Date: Fri Jun 7 11:30:11 2013 -0700 8287 8288 troff macro expansion in specs/libX11 8289 8290 Many of the custom nroff macros (.ds <macro> <contents>) were left 8291 unsubstituted in the nroff->docbook conversion. This substitution 8292 is now performed, via the following perl script: 8293 8294 #! /usr/bin/perl -w -i 8295 8296 use Text::Wrap; 8297 8298 while ($_ = <>) { 8299 while ($_ =~ m/\((\w+)\b/g) { 8300 my $m = $1; 8301 if (exists $macro{$m}) { 8302 $_ =~ s/\($m/$macro{$m}/; 8303 $_ = wrap('', '', $_); 8304 $_ =~ s/[ \t]+$//; 8305 } 8306 } 8307 8308 if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 8309 my ($m, $s) = ($1, $2); 8310 $macro{$m} = $s; 8311 while ($macro{$m} =~ /\\\s*$/) { 8312 $macro{$m} =~ s/\\\s*$//ms; 8313 $macro{$m} .= <>; 8314 chomp($macro{$m}); 8315 } 8316 $macro{$m} =~ s/\\ / /g; 8317 } else { 8318 print $_; 8319 } 8320 } 8321 8322 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8323 8324commit 20c17bd9ebf767a24643279e45866dddcb57b5ce 8325Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8326Date: Fri Jun 7 09:27:26 2013 -0700 8327 8328 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 8329 8330 The XListPixmapFormats arguments was being shown with XImageByteOrder's 8331 name and return types. Appears to have been a glitch in the nroff -> 8332 docbook conversion. 8333 8334 Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 8335 Reviewed-by: Jamey Sharp <jamey@minilop.net> 8336 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8337 8338commit ed3d830243c8a0eefaf24e15b11823272ffe5049 8339Author: Thomas Klausner <wiz@NetBSD.org> 8340Date: Sun Jun 2 20:49:55 2013 +0200 8341 8342 Deal with the limited range of VAX floating point numbers when compiling for VAX. 8343 8344 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8345 8346commit 0a48235d63639fb917c44d27c86e928e79fbac66 8347Author: Eric S. Raymond <esr@thyrsus.com> 8348Date: Thu Jun 6 16:43:56 2013 -0400 8349 8350 Remove call to undefined macro. 8351 8352commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 8353Author: Eric S. Raymond <esr@thyrsus.com> 8354Date: Thu Jun 6 16:42:20 2013 -0400 8355 8356 Remove call to undefined macro. 8357 8358commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 8359Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8360Date: Mon Jun 3 20:06:43 2013 -0700 8361 8362 Update README to reflect where to find the Xlib specs now 8363 8364 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8365 8366commit 655d631e86c95b14888758b27ed2836ca3e3ce86 8367Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8368Date: Mon Jun 3 19:21:06 2013 -0700 8369 8370 libX11 1.6.0 8371 8372 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8373 8374commit 4a89b7ea908554628f374537a79931c8006a2de3 8375Author: Thomas Klausner <wiz@NetBSD.org> 8376Date: Sun Jun 2 11:49:54 2013 -0700 8377 8378 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 8379 8380 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8381 8382commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 8383Author: Thomas Klausner <wiz@NetBSD.org> 8384Date: Sun Jun 2 20:49:48 2013 +0200 8385 8386 XCreateGC man page: Avoid .TS H and .TH macros 8387 8388 Avoid .TS H and .TH for now as it doesn't alter the output in this case, 8389 and improve the output with mandoc(1). 8390 8391 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8392 8393commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 8394Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8395Date: Thu May 23 19:43:35 2013 -0700 8396 8397 libX11 1.5.99.902 (1.6 RC2) 8398 8399 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8400 8401commit a3bdd2b090915fe0163b062f0e6576fe05dd332e 8402Author: Julien Cristau <jcristau@debian.org> 8403Date: Thu May 23 20:39:46 2013 +0200 8404 8405 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 8406 8407 The size of the arrays is max_key_code + 1. This makes these functions 8408 consistent with the other checks added for CVE-2013-1997. 8409 8410 Also check the XkbGetNames reply when names->keys was just allocated. 8411 8412 Signed-off-by: Julien Cristau <jcristau@debian.org> 8413 Tested-by: Colin Walters <walters@verbum.org> 8414 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8415 8416commit 7e30056e78e4b7979ff47f102e00327617266019 8417Author: Niveditha Rau <Niveditha.Rau@Oracle.COM> 8418Date: Fri May 17 15:26:21 2013 -0700 8419 8420 Make sure internal headers include required headers 8421 8422 Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 8423 longer ignores *.h files, but complains when they reference undefined 8424 typedefs or macros. 8425 8426 Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 8427 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8428 8429commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 8430Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8431Date: Thu May 16 23:05:36 2013 -0700 8432 8433 Free fs->properties in _XF86BigfontQueryFont overflow error path 8434 8435 Fixes small memory leak introduced in commit 5669a22081 8436 8437 Reported-by: Julien Cristau <jcristau@debian.org> 8438 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8439 8440commit 3131740513133a9ff7cb12123d29ceb18584fc38 8441Author: Matthieu Herrb <matthieu.herrb@laas.fr> 8442Date: Wed May 8 19:33:09 2013 +0200 8443 8444 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 8445 8446 Freeing a pointer that wasn't returned by malloc() is undefined 8447 behavior and produces an error with OpenBSD's implementation. 8448 8449 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8450 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8451 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8452 8453commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 8454Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8455Date: Fri Apr 19 14:30:40 2013 -0700 8456 8457 Give GNU & Solaris Studio compilers hints about XEatData branches 8458 8459 Try to offset the cost of all the recent checks we've added by giving 8460 the compiler a hint that the branches that involve us eating data 8461 are less likely to be used than the ones that process it. 8462 8463 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8464 8465commit e1b457beb8d4e831ef44279dada6c475cb955738 8466Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8467Date: Sun Mar 31 12:22:35 2013 -0700 8468 8469 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 8470 8471 Various other bounds checks in the code assume this is true, so 8472 enforce it when we first get the data from the X server. 8473 8474 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8475 8476commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 8477Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8478Date: Sat Mar 16 10:03:13 2013 -0700 8479 8480 Use calloc in XOpenDisplay to initialize structs containing pointers 8481 8482 Prevents trying to free uninitialized pointers if we have to bail out 8483 partway through setup, such as if we receive a corrupted or incomplete 8484 connection setup block from the server. 8485 8486 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8487 8488commit d38527e25f8b6e2f1174ecc21260c5c5416f972e 8489Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8490Date: Thu Mar 7 23:46:05 2013 -0800 8491 8492 Remove more unnecessary casts from Xmalloc/calloc calls 8493 8494 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8495 8496commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 8497Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8498Date: Sat Mar 2 16:56:16 2013 -0800 8499 8500 Convert more _XEatData callers to _XEatDataWords 8501 8502 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8503 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8504 8505commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 8506Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8507Date: Sat Mar 9 11:04:37 2013 -0800 8508 8509 Make XGetWindowProperty() always initialize returned values 8510 8511 Avoids memory corruption and other errors when callers access them 8512 without checking to see if XGetWindowProperty() returned an error value. 8513 8514 Callers are still required to check for errors, this just reduces the 8515 damage when they don't. 8516 8517 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8518 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8519 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8520 8521commit db1b1c871da29aa0545182bf888df81627f165a5 8522Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8523Date: Sat Mar 2 15:08:21 2013 -0800 8524 8525 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 8526 8527 Ensure that when breaking the returned list into individual strings, 8528 we don't walk past the end of allocated memory to write the '\0' bytes 8529 8530 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8531 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8532 8533commit 8d5936594993921acdfec778dd8f41b555e2543a 8534Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8535Date: Sat Mar 2 15:08:21 2013 -0800 8536 8537 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 8538 8539 Ensure that when breaking the returned list into individual strings, 8540 we don't walk past the end of allocated memory to write the '\0' bytes 8541 8542 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8543 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8544 8545commit 0c404db6a92dc2c198328bf586c02d8abbe02013 8546Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8547Date: Sat Mar 2 15:08:21 2013 -0800 8548 8549 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 8550 8551 Ensure that when breaking the returned list into individual strings, 8552 we don't walk past the end of allocated memory to write the '\0' bytes 8553 8554 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8555 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8556 8557commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 8558Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8559Date: Sat Mar 2 15:08:21 2013 -0800 8560 8561 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 8562 8563 Ensure that we don't underallocate when the server claims a very large reply 8564 8565 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8566 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8567 8568commit a351b8103b2ba78882e1c309e85893ca3abe2073 8569Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8570Date: Sat Mar 2 15:08:21 2013 -0800 8571 8572 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 8573 8574 Ensure that we don't underallocate when the server claims a very large reply 8575 8576 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8577 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8578 8579commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 8580Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8581Date: Sat Mar 2 15:08:21 2013 -0800 8582 8583 integer overflow in XGetImage() [CVE-2013-1981 11/13] 8584 8585 Ensure that we don't underallocate when the server claims to have sent a 8586 very large reply. 8587 8588 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8589 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8590 8591commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 8592Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8593Date: Fri Mar 8 22:25:35 2013 -0800 8594 8595 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 8596 8597 If the reported number of properties is too large, the calculations 8598 to allocate memory for them may overflow, leaving us returning less 8599 memory to the caller than implied by the value written to *nitems. 8600 8601 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8602 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8603 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8604 8605commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 8606Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8607Date: Sat Mar 2 13:18:48 2013 -0800 8608 8609 integer overflows in TransFileName() [CVE-2013-1981 9/13] 8610 8611 When trying to process file paths the tokens %H, %L, & %S are expanded 8612 to $HOME, the standard compose file path & the xlocaledir path. 8613 If enough of these tokens are repeated and values like $HOME are set to 8614 very large values, the calculation of the total string size required to 8615 hold the expanded path can overflow, resulting in allocating a smaller 8616 string than the amount of data we'll write to it. 8617 8618 Simply restrict all of these values, and the total path size to PATH_MAX, 8619 because really, that's all you should need for a filename path. 8620 8621 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8622 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8623 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8624 8625commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 8626Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8627Date: Fri Mar 1 18:37:37 2013 -0800 8628 8629 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 8630 8631 Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 8632 to specify filename. 8633 8634 If the size of off_t is larger than the size of unsigned long (as in 8635 32-bit builds with large file flags), a file larger than 4 gigs could 8636 have its size truncated, leading to data from that file being written 8637 past the end of the undersized buffer allocated for it. 8638 8639 While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 8640 builders may have added the large file compilation flags to CFLAGS on 8641 their own. 8642 8643 size is left limited to an int, because if your Xim file is 8644 larger than 2gb, you're doing it wrong. 8645 8646 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8647 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8648 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8649 8650commit 226622349a4b1e16064649d4444a34fb4be4f464 8651Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8652Date: Sat Mar 2 12:39:58 2013 -0800 8653 8654 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 8655 8656 parseline() can call _XimParseStringFile() which can call parseline() 8657 which can call _XimParseStringFile() which can call parseline() .... 8658 eventually causing recursive stack overflow and crash. 8659 8660 Limit is set to a include depth of 100 files, which should be enough 8661 for all known use cases, but could be adjusted later if necessary. 8662 8663 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8664 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8665 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8666 8667commit 236b603d235dc264d1c6250dca09c745458a9088 8668Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8669Date: Sat Mar 2 12:01:39 2013 -0800 8670 8671 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 8672 8673 GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 8674 which can call GetDatabase() which can call GetIncludeFile() .... 8675 eventually causing recursive stack overflow and crash. 8676 8677 Easily reproduced with a resource file that #includes itself. 8678 8679 Limit is set to a include depth of 100 files, which should be enough 8680 for all known use cases, but could be adjusted later if necessary. 8681 8682 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8683 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8684 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8685 8686commit 076428918e6c35f66b9b55c3fa097ff06496d155 8687Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8688Date: Fri Mar 1 18:37:37 2013 -0800 8689 8690 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 8691 8692 Called from XrmGetFileDatabase() which gets called from InitDefaults() 8693 which gets the filename from getenv ("XENVIRONMENT") 8694 8695 If file is exactly 0xffffffff bytes long (or longer and truncates to 8696 0xffffffff, on implementations where off_t is larger than an int), 8697 then size may be set to a value which overflows causing less memory 8698 to be allocated than is written to by the following read() call. 8699 8700 size is left limited to an int, because if your Xresources file is 8701 larger than 2gb, you're very definitely doing it wrong. 8702 8703 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8704 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8705 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8706 8707commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 8708Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8709Date: Sat Mar 2 11:44:19 2013 -0800 8710 8711 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 8712 8713 LoadColornameDB() calls stringSectionSize() to do a first pass over the 8714 file (which may be provided by the user via XCMSDB environment variable) 8715 to determine how much memory needs to be allocated to read in the file, 8716 then allocates the returned sizes and calls ReadColornameDB() to load the 8717 data from the file into that newly allocated memory. 8718 8719 If stringSectionSize() overflows the signed ints used to calculate the 8720 file size (say if you have an xcmsdb with ~4 billion lines in or a 8721 combined string length of ~4 gig - which while it may have been 8722 inconceivable when Xlib was written, is quite possible today), then 8723 LoadColornameDB() may allocate a memory buffer much smaller than the 8724 amount of data ReadColornameDB() will write to it. 8725 8726 The total size is left limited to an int, because if your xcmsdb file 8727 is larger than 2gb, you're doing it wrong. 8728 8729 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8730 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8731 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8732 8733commit b9ba832401734e1cbd30a930c0d11d850293f3f9 8734Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8735Date: Sat Mar 2 11:25:25 2013 -0800 8736 8737 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 8738 8739 Check the provided buffer size against the amount of data we're going to 8740 write into it, not against the reported length from the ClientMessage. 8741 8742 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8743 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8744 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8745 8746commit de2e6c322c4aca22856b380f67f8e488e7510015 8747Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8748Date: Sat Mar 2 11:11:08 2013 -0800 8749 8750 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 8751 8752 If the X server returns key name indexes outside the range of the number 8753 of keys it told us to allocate, out of bounds memory writes could occur. 8754 8755 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8756 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8757 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8758 8759commit 2df882eeb3a70256170127a746a9ba26376599a1 8760Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8761Date: Sat Mar 2 11:01:04 2013 -0800 8762 8763 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 8764 8765 If the X server returns modifier map indexes outside the range of the number 8766 of keys it told us to allocate, out of bounds memory writes could occur. 8767 8768 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8769 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8770 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8771 8772commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 8773Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8774Date: Sat Mar 2 11:04:44 2013 -0800 8775 8776 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 8777 8778 If the X server returns key indexes outside the range of the number of 8779 keys it told us to allocate, out of bounds memory writes could occur. 8780 8781 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8782 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8783 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8784 8785commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 8786Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8787Date: Sat Mar 2 10:51:51 2013 -0800 8788 8789 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 8790 8791 If the X server returns modifier map indexes outside the range of the number 8792 of keys it told us to allocate, out of bounds memory writes could occur. 8793 8794 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8795 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8796 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8797 8798commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 8799Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8800Date: Sat Mar 2 10:39:21 2013 -0800 8801 8802 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 8803 8804 If the X server returns key behavior indexes outside the range of the number 8805 of keys it told us to allocate, out of bounds memory writes could occur. 8806 8807 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8808 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8809 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8810 8811commit 00626c3830b869259098985afa38933d77ccec72 8812Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8813Date: Sat Mar 2 09:40:22 2013 -0800 8814 8815 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 8816 8817 If the X server returns key action indexes outside the range of the number 8818 of keys it told us to allocate, out of bounds memory access could occur. 8819 8820 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8821 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8822 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8823 8824commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 8825Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8826Date: Sat Mar 2 09:28:33 2013 -0800 8827 8828 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 8829 8830 If the X server returns keymap indexes outside the range of the number of 8831 keys it told us to allocate, out of bounds memory access could occur. 8832 8833 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8834 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8835 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8836 8837commit 59ae16a00d18588e98af57d26e442af8ea42b7aa 8838Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8839Date: Sat Mar 2 09:18:26 2013 -0800 8840 8841 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 8842 8843 If the X server returns color indexes outside the range of the number of 8844 colors it told us to allocate, out of bounds memory access could occur. 8845 8846 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8847 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8848 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8849 8850commit bff938b9fe1629cbacb726509edfa2a3840b7207 8851Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8852Date: Sat Mar 2 09:12:47 2013 -0800 8853 8854 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 8855 8856 If the X server returns shape indexes outside the range of the number 8857 of shapes it told us to allocate, out of bounds memory access could occur. 8858 8859 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8860 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8861 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8862 8863commit f293659d5a4024bda386305bb7ebeb4647c40934 8864Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8865Date: Fri Mar 1 22:49:01 2013 -0800 8866 8867 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 8868 8869 If the X server returns more buttons than are allocated in the XKB 8870 device info structures, out of bounds writes could occur. 8871 8872 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8873 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8874 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8875 8876commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 8877Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8878Date: Fri Mar 1 19:30:09 2013 -0800 8879 8880 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 8881 8882 If a broken server returned larger than requested values for nPixels or 8883 nMasks, XAllocColorCells would happily overflow the buffers provided by 8884 the caller to write the results into. 8885 8886 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8887 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8888 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8889 8890commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 8891Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8892Date: Fri Mar 1 22:49:01 2013 -0800 8893 8894 integer overflow in XListHosts() [CVE-2013-1981 5/13] 8895 8896 If the reported number of host entries is too large, the calculations 8897 to allocate memory for them may overflow, leaving us writing beyond the 8898 bounds of the allocation. 8899 8900 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8901 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8902 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8903 8904commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 8905Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8906Date: Fri Mar 1 22:49:01 2013 -0800 8907 8908 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 8909 8910 If the reported number of motion events is too large, the calculations 8911 to allocate memory for them may overflow, leaving us writing beyond the 8912 bounds of the allocation. 8913 8914 v2: Ensure nEvents is set to 0 when returning NULL events pointer 8915 8916 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8917 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8918 8919commit 39515b7c3ba8cae9021bf6695e378ae19487082f 8920Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8921Date: Fri Mar 1 22:49:01 2013 -0800 8922 8923 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 8924 8925 If the reported number of remaining fonts is too large, the calculations 8926 to allocate memory for them may overflow, leaving us writing beyond the 8927 bounds of the allocation. 8928 8929 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 8930 v3: On error cases, also set values to be returned in pointer args to 0/NULL 8931 8932 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8933 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8934 8935commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 8936Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8937Date: Fri Mar 1 21:05:27 2013 -0800 8938 8939 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 8940 8941 Similar to _XQueryFont, but with more ways to go wrong and overflow. 8942 Only compiled if libX11 is built with XF86BigFont support. 8943 8944 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 8945 8946 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8947 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8948 8949commit 6df8a63d34b7514077188e2062a13774f920c085 8950Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8951Date: Fri Mar 1 21:05:27 2013 -0800 8952 8953 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 8954 8955 If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 8956 unsigned long, then too small of a buffer will be allocated for the 8957 data copied in from the reply. 8958 8959 v2: Fix reply_left calculations, check calculated sizes fit in reply_left 8960 8961 Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 8962 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8963 8964commit 9f5d83706543696fc944c1835a403938c06f2cc5 8965Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8966Date: Fri Mar 1 20:54:24 2013 -0800 8967 8968 Add _XEatDataWords to discard a given number of 32-bit words of reply data 8969 8970 Matches the units of the length field in X protocol replies, and provides 8971 a single implementation of overflow checking to avoid having to replicate 8972 those checks in every caller. 8973 8974 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8975 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8976 8977commit d7f04c340ade3834e603c23d543132e1ee4e0c63 8978Author: Alan Coopersmith <alan.coopersmith@oracle.com> 8979Date: Sat Mar 2 13:03:55 2013 -0800 8980 8981 Move repeated #ifdef magic to find PATH_MAX into a common header 8982 8983 Lets stop duplicating the mess all over 8984 8985 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8986 Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 8987 8988commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 8989Author: Pander <pander@users.sourceforge.net> 8990Date: Tue May 7 18:38:14 2013 -0400 8991 8992 Add compose sequences for J́ and j́. 8993 8994 The resulting sequences are: 8995 8996 U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 8997 U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 8998 8999 Used in Dutch, per: 9000 9001 http://lists.x.org/archives/xorg-devel/2013-February/035514.html 9002 https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 9003 9004 Signed-off-by: Pander <pander@users.sourceforge.net> 9005 Signed-off-by: James Cloos <cloos@jhcloos.com> 9006 9007commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 9008Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9009Date: Sat Mar 16 18:30:56 2013 -0700 9010 9011 Move big request comment in XOpenDisplay to the right place 9012 9013 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9014 9015commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 9016Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9017Date: Sat Mar 9 19:16:03 2013 -0800 9018 9019 libX11 1.5.99.901 (1.6 RC1) 9020 9021 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9022 9023commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 9024Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9025Date: Fri Mar 8 22:33:28 2013 -0800 9026 9027 Fix very weird indenting in src/GetFProp.c 9028 9029 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9030 9031commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 9032Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9033Date: Fri Mar 8 15:37:33 2013 -0800 9034 9035 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 9036 9037 While the C standard technically allows for the compiler to translate 9038 pointer = 0 or pointer = NULL into something other than filling the 9039 pointer address with 0 bytes, the rest of the Xlib code already assumes 9040 that calloc initializes any pointers in the struct to NULL, and there 9041 are no known systems supported by X.Org where this is not true. 9042 9043 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9044 9045commit 39547d600a13713e15429f49768e54c3173c828d 9046Author: Karl Tomlinson <xmail@karlt.net> 9047Date: Mon Feb 18 01:25:34 2013 +0000 9048 9049 MakeBigReq: don't move the last word, already handled by Data32 9050 9051 MakeBigReq inserts a length field after the first 4 bytes of the request 9052 (after req->length), pushing everything else back by 4 bytes. 9053 9054 The current memmove moves everything but the first 4 bytes back. 9055 If a request aligns to the end of the buffer pointer when MakeBigReq is 9056 invoked for that request, this runs over the buffer. 9057 Instead, we need to memmove minus the first 4 bytes (which aren't moved), 9058 minus the last 4 bytes (so we still align to the previous tail). 9059 9060 The 4 bytes that fell out are already handled with Data32, which will 9061 handle the buffermax correctly. 9062 9063 The case where req->length = 1 was already not functional. 9064 9065 Reported by Abhishek Arya <inferno@chromium.org>. 9066 9067 https://bugzilla.mozilla.org/show_bug.cgi?id=803762 9068 9069 Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 9070 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9071 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9072 9073Notes: 9074 CVE-2013-7439 9075 9076commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 9077Author: Quentin Glidic <sardemff7+git@sardemff7.net> 9078Date: Tue Jan 15 21:07:17 2013 +0000 9079 9080 nls/Makefile.am: Use LOG_COMPILER 9081 9082 TESTS_ENVIRONMENT is deprecated 9083 9084 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 9085 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9086 9087commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 9088Author: Quentin Glidic <sardemff7+git@sardemff7.net> 9089Date: Tue Jan 15 21:07:16 2013 +0000 9090 9091 nls/Makefile.am: Remove unneeded $(srcdir) 9092 9093 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 9094 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9095 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9096 9097commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 9098Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9099Date: Sat Mar 2 12:01:39 2013 -0800 9100 9101 Add <X11/Xresource.h> hint to all Xrm* man pages 9102 9103 Help users figure out which header file they need to #include 9104 9105 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9106 9107commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 9108Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9109Date: Fri Mar 8 17:13:09 2013 -0800 9110 9111 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 9112 9113 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9114 9115commit 47d2eff64d167b3245d346d7f38ca703be645e26 9116Author: Ken Moffat <ken@linuxfromscratch.org> 9117Date: Thu Mar 7 18:27:54 2013 -0500 9118 9119 dead_double_grave and dead_inverted_breve should only have one underscore. 9120 9121 Correct instances of dead_double_grave and dead_inverted_breve to 9122 dead_doublegrave and dead_invertedbreve. 9123 9124 Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 9125 Signed-off-by: James Cloos <cloos@jhcloos.com> 9126 9127commit c23d61d1b84dca3740bf4786978c7908d0065fb9 9128Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9129Date: Fri Mar 1 18:10:27 2013 -0800 9130 9131 Assume size_t is always available, since it was defined in C89 9132 9133 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 9134 We already use size_t throughout the rest of Xlib, just had this 9135 one instance left in XKBGAlloc.c of a fallback definition. 9136 9137 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9138 9139commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 9140Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9141Date: Fri Mar 1 18:09:07 2013 -0800 9142 9143 unifdef XKB_IN_SERVER 9144 9145 Leftovers from XKB files that were previously shared between the client 9146 and server code, but aren't any more. 9147 9148 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9149 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9150 9151commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 9152Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9153Date: Thu Feb 28 20:04:25 2013 -0800 9154 9155 unifdef CRAY & _CRAY 9156 9157 (mostly performed with unifdef, followed by some manual cleanup of 9158 the remaining code) 9159 9160 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9161 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9162 9163commit ca106eb03e5f5468df8033300c5caae3d3c6936b 9164Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9165Date: Thu Feb 28 20:04:25 2013 -0800 9166 9167 unifdef WORD64 9168 9169 WORD64 seems to have only been defined in <X11/Xmd.h> when building for 9170 CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 9171 64-bit alignment requirements. 9172 9173 It hadn't been fully supported even before autotooling, as can be 9174 seen by removed code such as: 9175 9176 #ifdef WORD64 9177 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 9178 #endif 9179 9180 (mostly performed with unifdef, followed by some manual cleanup of 9181 the remaining code) 9182 9183 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9184 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9185 9186commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 9187Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9188Date: Thu Feb 28 20:04:25 2013 -0800 9189 9190 unifdef MUSTCOPY 9191 9192 MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 9193 CRAY, to handle missing some sizes of integer type. 9194 9195 (mostly performed with unifdef, followed by some manual cleanup of 9196 spacing/indenting in the remaining code) 9197 9198 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9199 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9200 9201commit b687440c28c7da6ee0ae44514d20248db5161606 9202Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9203Date: Sat Feb 16 10:42:23 2013 -0800 9204 9205 Convert more sprintf calls to snprintf 9206 9207 You could analyze most of these and quickly recognize that there was no 9208 chance of buffer overflow already, but why make everyone spend time doing 9209 that when we can just make it obviously safe? 9210 9211 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9212 9213commit b092dabbd712d7b656abcf572d253b9b206c0237 9214Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9215Date: Fri Feb 15 23:43:12 2013 -0800 9216 9217 XKeysymToString: move variable declarations to the scope of their usage 9218 9219 Makes it easier for readers to understand scope of variable usage, and 9220 clears up gcc warning: 9221 9222 KeysymStr.c: In function 'XKeysymToString': 9223 KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 9224 KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 9225 9226 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9227 9228commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 9229Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9230Date: Fri Feb 15 23:34:40 2013 -0800 9231 9232 Preserve constness in casting arguments through the Data*() routines 9233 9234 Casts were annoying gcc by dropping constness when changing types, 9235 when routines simply either copy data into the request buffer or 9236 send it directly to the X server, and never modify the input. 9237 9238 Fixes gcc warnings including: 9239 ChProp.c: In function 'XChangeProperty': 9240 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9241 ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9242 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9243 ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9244 ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9245 SetHints.c: In function 'XSetStandardProperties': 9246 SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9247 SetPntMap.c: In function 'XSetPointerMapping': 9248 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9249 SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9250 StBytes.c: In function 'XStoreBuffer': 9251 StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9252 StName.c: In function 'XStoreName': 9253 StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9254 StName.c: In function 'XSetIconName': 9255 StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9256 9257 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9258 9259commit 6c558ee357292dd9dfc6d9006f4525f625327c52 9260Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9261Date: Fri Feb 15 22:58:54 2013 -0800 9262 9263 Fix comment typo & confusing indentation levels in Data() macro definition 9264 9265 The final } matches the one on the #define line, not one that doesn't 9266 appear after the else statement it was lined up with 9267 9268 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9269 9270commit afd6593da90e51234d59f8921c411317f91ab48b 9271Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9272Date: Fri Feb 15 23:25:38 2013 -0800 9273 9274 XStringToKeysym: preserve constness when casting off unsignedness for strcmp 9275 9276 Fixes gcc warning: 9277 StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9278 9279 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9280 9281commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 9282Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9283Date: Fri Feb 15 23:14:40 2013 -0800 9284 9285 XRebindKeysym: Drop unnecessary const-removing cast 9286 9287 C89 defines memcpy as taking a const void *, so casting from 9288 const unsigned char * to char * simply angers gcc for no benefit: 9289 9290 KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9291 9292 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9293 9294commit 54527eab93d46055cf11eb6c18abb353a03ae544 9295Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9296Date: Fri Feb 15 22:45:19 2013 -0800 9297 9298 cmsColNm.c: maintain constness of arguments to qsort helper function 9299 9300 Fixes gcc warning: 9301 9302 cmsColNm.c: In function 'FirstCmp': 9303 cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9304 cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 9305 9306 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9307 9308commit deedeada53676ee529d700bf96fde0b29a3a1def 9309Author: Nickolai Zeldovich <nickolai@csail.mit.edu> 9310Date: Tue Jan 22 10:03:00 2013 -0500 9311 9312 XListFontsWithInfo: avoid accessing realloc'ed memory 9313 9314 If exactly one of the two reallocs in XListFontsWithInfo() fails, the 9315 subsequent code accesses memory freed by the other realloc. 9316 9317 Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 9318 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9319 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9320 9321commit f57fd760cba92ad846917f21e94e73e9c846185f 9322Author: Colin Walters <walters@verbum.org> 9323Date: Wed Jan 4 17:37:06 2012 -0500 9324 9325 autogen.sh: Implement GNOME Build API 9326 9327 http://people.gnome.org/~walters/docs/build-api.txt 9328 9329 Signed-off-by: Adam Jackson <ajax@redhat.com> 9330 9331commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 9332Author: Adam Jackson <ajax@redhat.com> 9333Date: Tue Jan 15 14:28:48 2013 -0500 9334 9335 configure: Remove AM_MAINTAINER_MODE 9336 9337 Signed-off-by: Adam Jackson <ajax@redhat.com> 9338 9339commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 9340Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9341Date: Wed Dec 26 22:57:39 2012 -0800 9342 9343 Remove unused DECnet ("DNETCONN") code from Xlib 9344 9345 Has never been converted to build in modular builds, so has been unusable 9346 since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 9347 back in 2008. 9348 9349 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9350 9351commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 9352Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9353Date: Wed Dec 26 22:56:38 2012 -0800 9354 9355 Remove unused TLI ("STREAMSCONN") code from Xlib 9356 9357 Has never been converted to build in modular builds, so has been unusable 9358 since X11R7.0 release in 2005. All known platforms with TLI/XTI support 9359 that X11R7 & later releases run on also have (and mostly prefer) BSD 9360 socket support for their networking API. 9361 9362 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9363 9364commit 59c9ee8cd58857c5769b643611cbe526005a9e45 9365Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9366Date: Sun Dec 16 17:44:42 2012 -0800 9367 9368 Tell clang not to report -Wpadded warnings on public headers we can't fix 9369 9370 Better to silence the compiler warning than break ABI. 9371 9372 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9373 9374commit 0b148750027fd0557c5ed93afda861ddf4b92e0f 9375Author: Jon TURNEY <jon.turney@dronecode.org.uk> 9376Date: Mon Nov 12 17:27:52 2012 +0000 9377 9378 Fix config check for loadable modules 9379 9380 The config check of the results of testing for dlfcn.h or dl.h just tests the 9381 value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 9382 it is 'yes', so loadable module support would always be detected. 9383 9384 This is necessary for successful compilation for the MinGW target without the 9385 optional dlfcn-win32 library. 9386 9387 v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 9388 correctly when dlfcn.h is available 9389 9390 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 9391 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 9392 9393commit cd25cab4b5b957641183ce72dd1ae0424aff1663 9394Author: Egbert Eich <eich@freedesktop.org> 9395Date: Fri May 20 18:27:02 2011 +0200 9396 9397 Install Xcms.txt in $(datadir) rather than $(libdir). 9398 9399 This file is an architecture independent data and should be where 9400 other databases are. 9401 This is the Xlib provided sample file, applications are free to 9402 use a different one specifying its location in the XCMSDB env 9403 variable. 9404 9405 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9406 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9407 9408commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 9409Author: Egbert Eich <eich@freedesktop.org> 9410Date: Fri May 20 18:25:24 2011 +0200 9411 9412 Don't hard code path to Xcms.txt file. 9413 9414 The path to this file is configurable at build time. The source 9415 however contains a hard coded path. 9416 9417 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9418 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9419 9420commit 9833489e6c3829a1e835bc0a11f028fc180809e4 9421Author: Colin Walters <walters@verbum.org> 9422Date: Fri Dec 7 08:51:21 2012 -0500 9423 9424 Fix build after dropping locales 9425 9426 They also needed to be removed from configure.ac 9427 9428 Signed-off-by: Colin Walters <walters@verbum.org> 9429 Signed-off-by: Julien Cristau <jcristau@debian.org> 9430 9431commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 9432Author: Egbert Eich <eich@freedesktop.org> 9433Date: Fri May 20 13:04:11 2011 +0200 9434 9435 i18n: Uppercased all occurances if 'iso8859' in the full locale name. 9436 9437 Making all occurances of iso8859 upper case in the full local name 9438 makes the alias entries more consistent and match the entries on 9439 locale.dir. 9440 9441 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9442 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9443 9444commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 9445Author: Egbert Eich <eich@freedesktop.org> 9446Date: Fri May 20 17:55:49 2011 +0200 9447 9448 i18n: Remove ja.S90 and ja.U90 locales. 9449 9450 Both locales carry a copyright notice and a prorietary statement: 9451 9452 Copyright 1995 by FUJITSU LIMITED 9453 This is source code modified by FUJITSU LIMITED under the Joint 9454 Development Agreement for the CDEnext PST. 9455 This is unpublished proprietary source code of FUJITSU LIMITED 9456 9457 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9458 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9459 9460commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 9461Author: Egbert Eich <eich@freedesktop.org> 9462Date: Fri May 20 16:46:15 2011 +0200 9463 9464 i18n: Bring locale.dir and compose.dir in sync. 9465 9466 Some entries for locale/encoding combinations were missing from 9467 either file or just misspelled, some entries were wrong or just 9468 aliases. 9469 9470 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9471 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9472 9473commit d1e6baa4e290b758e430077cb74e7c03ad850771 9474Author: Egbert Eich <eich@freedesktop.org> 9475Date: Fri May 20 14:02:39 2011 +0200 9476 9477 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 9478 9479 locale.alias contains a comment: 9480 XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 9481 Thus lets treat 'a3' as an alias for 'az'. 9482 9483 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9484 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9485 Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 9486 9487commit fa2aab0bea18efa26a56977d3166277582ab7b07 9488Author: Egbert Eich <eich@freedesktop.org> 9489Date: Fri May 20 13:09:38 2011 +0200 9490 9491 i18n: Fixed typos in full locale names. 9492 9493 Fixing those typos those names actually match entries in 9494 locale.dir. 9495 9496 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9497 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9498 9499commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 9500Author: Egbert Eich <eich@freedesktop.org> 9501Date: Sat May 21 07:29:38 2011 +0200 9502 9503 i18n: Remove duplicates and aliases to oneself. 9504 9505 Aliases to itself don't make much sense. 9506 This changes occurances of: 9507 xy_UV.UTF-8: xy_UV.UTF-8 9508 to 9509 xy_UV: xy_UV.UTF-8 9510 where applicable. 9511 9512 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9513 Reviewed-by: James Cloos <cloos@jhcloos.com> 9514 9515commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 9516Author: Jens Herden <jens.herden@email.de> 9517Date: Fri May 20 17:29:03 2011 +0200 9518 9519 i18n: Add support for Khmer locale and compose table. 9520 9521 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9522 Reviewed-by: James Cloos <cloos@jhcloos.com> 9523 9524commit 40761898692e5063957bfa2518cca3d35b2e354a 9525Author: Kalman Kemenczy <kkemenczy@novell.com> 9526Date: Fri May 20 17:03:24 2011 +0200 9527 9528 i18n: Add support for Serbian specific compose table entries. 9529 9530 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9531 Reviewed-by: James Cloos <cloos@jhcloos.com> 9532 9533commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 9534Author: Egbert Eich <eich@freedesktop.org> 9535Date: Fri May 20 14:00:35 2011 +0200 9536 9537 i18n: Adding and removing comments. 9538 9539 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9540 Reviewed-by: James Cloos <cloos@jhcloos.com> 9541 9542commit 7754d68976106183751243c2c35a84134be17b34 9543Author: Egbert Eich <eich@freedesktop.org> 9544Date: Fri May 20 13:45:31 2011 +0200 9545 9546 i18n: Add missing locales which existed in locale.alias. 9547 9548 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9549 Reviewed-by: James Cloos <cloos@jhcloos.com> 9550 9551commit 952eccd0d25ba66023acfd31873eee2e71c38c42 9552Author: Egbert Eich <eich@freedesktop.org> 9553Date: Fri May 20 10:57:57 2011 +0200 9554 9555 i18n: Consolidate compose handling for locales with UTF-8 encoding. 9556 9557 - add an entry to include the default en_US compose file 9558 for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 9559 - add missing entries for zh_CN. and zh_HK and am_ET. 9560 - change entries for the UTF-8 encoding for ru_RU, ja_JP, 9561 ko_KR, th_TH and zh_TW to point to their native directory 9562 entries. 9563 9564 Signed-off-by: Egbert Eich <eich@freedesktop.org> 9565 Reviewed-by: James Cloos <cloos@jhcloos.com> 9566 9567commit d14b6a250f004fa405179db7020f6953001d17b9 9568Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9569Date: Mon Oct 22 13:54:11 2012 -0500 9570 9571 XIM: remove Private and Public macros 9572 9573 Private is a struct member name in mingw-w64 <winioctl.h>, causing this 9574 useless define in a private header to break the build. 9575 9576 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9577 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 9578 9579commit f2a8def423a46d52e834cf7ea49fa0079427663a 9580Author: Adam Jackson <ajax@redhat.com> 9581Date: Wed Oct 17 14:40:43 2012 -0400 9582 9583 XErrorDB: Add GLXBadProfileARB 9584 9585 Signed-off-by: Adam Jackson <ajax@redhat.com> 9586 9587commit d45b3fc19fbe95c41afc4e51d768df6d42332010 9588Author: Ross Burton <ross.burton@intel.com> 9589Date: Wed Sep 12 14:39:40 2012 +0100 9590 9591 Allow overriding location of keysymdef.h 9592 9593 Currently keysymdef.h is found by using the includedir of xproto. This doesn't 9594 work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 9595 not a path into the cross-build environment. 9596 9597 So, add an option to allow explicitly specifying the location of keysymdef.h, 9598 and verify that the specified or found path exists. 9599 9600 (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 9601 9602 Signed-off-by: Ross Burton <ross.burton@intel.com> 9603 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 9604 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 9605 9606commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 9607Author: Eric S. Raymond <esr@thyrsus.com> 9608Date: Thu Aug 23 19:15:07 2012 -0400 9609 9610 Renove some unnecessary low-level markup. 9611 9612 Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 9613 This appears to have been somebody's thinko, it's only in a few of the files. 9614 9615 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 9616 9617commit b686600ab5ca93b5750f827786e79c329ab2db4d 9618Author: Eric S. Raymond <esr@thyrsus.com> 9619Date: Thu Aug 23 10:53:33 2012 -0400 9620 9621 The .NT/.NE macro pair is no longer used. Remove it. 9622 9623 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 9624 9625commit b83f2898528c5dd683acd2a2143879a760a8dad5 9626Author: Eric S. Raymond <esr@thyrsus.com> 9627Date: Thu Aug 23 10:42:46 2012 -0400 9628 9629 Remove the one and only use of the .NT/.NE pair. 9630 9631 The problem with these macros is that they rely on being able to 9632 center the note label. That doesn't play well with modern HTML, 9633 not anyway without coomplications like CSS. This use was just a cute 9634 trick, not adding enough value to be kept. 9635 9636commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 9637Author: Eric S. Raymond <esr@thyrsus.com> 9638Date: Thu Aug 23 10:23:45 2012 -0400 9639 9640 The .C{ and .C} macros are never used. Remove them. 9641 9642 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 9643 9644commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 9645Author: Eric S. Raymond <esr@thyrsus.com> 9646Date: Thu Aug 23 10:08:08 2012 -0400 9647 9648 The .FN macro, paired with .FD, is also never used. Remove it. 9649 9650 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 9651 9652commit cac6572701c976542da562b2b277b07ffb892a6f 9653Author: Eric S. Raymond <esr@thyrsus.com> 9654Date: Thu Aug 23 10:03:00 2012 -0400 9655 9656 The ".FD" macro is never used. Remove it. 9657 9658 It was a temptation to presentation-level klugery and is best gone. 9659 9660 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 9661 9662commit 6e27a828f39f7028bc7f4a8736e7262fca250632 9663Author: Eric S. Raymond <esr@thyrsus.com> 9664Date: Thu Aug 23 09:54:25 2012 -0400 9665 9666 Clean up, my last commit missed four cases. 9667 9668 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 9669 9670commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 9671Author: Eric S. Raymond <esr@thyrsus.com> 9672Date: Thu Aug 23 08:24:17 2012 -0400 9673 9674 Eliminate all uses of tab stops in the libX11 man pages. 9675 9676 Two steps: First, expand tabs to 8 spaces in code and structure 9677 listings. Second, make the .Ds used to wrap code listings switch to 9678 constant-width font (CW) rather than numeric font position 1, which 9679 maps to R on most systems. 9680 9681 It is possible some archaic systems won't know what CW is, but the 9682 only risk is that code listings won't look quite right on troff 9683 devices; the PostScript and DVI drivers definitely grok it, so those 9684 important cases are OK. 9685 9686 The purpose of these changes is to get rid of presentation-level 9687 markup so these pages will lift clean to DocBook. 9688 9689 Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 9690 9691commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 9692Author: Will Thompson <will@willthompson.co.uk> 9693Date: Mon Jul 9 18:00:27 2012 +0100 9694 9695 Add compose sequences for "therefore" and "because". 9696 9697 These sequences look sensible to me. I added them to the APL-related 9698 section of Mathematical Operators—they're in that section of Unicode 9699 anyway. 9700 9701 https://bugs.freedesktop.org/show_bug.cgi?id=51922 9702 9703 Signed-off-by: Will Thompson <will@willthompson.co.uk> 9704 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 9705 9706commit 65358ea5079236b2508f787ac2fb2024a477e36d 9707Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9708Date: Fri Jun 29 23:08:04 2012 -0700 9709 9710 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 9711 9712 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9713 9714commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 9715Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9716Date: Fri Jun 29 22:57:13 2012 -0700 9717 9718 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 9719 9720 Fixes leaks in error paths found by Parfait 1.0.0: 9721 9722 Error: X Resource Leak 9723 Leaked X Resource pix 9724 at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 9725 pix initialized at line 60 with XCreatePixmap 9726 Error: X Resource Leak 9727 Leaked X Resource pix 9728 at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 9729 pix initialized at line 66 with XCreatePixmap 9730 9731 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9732 Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 9733 9734commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 9735Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9736Date: Wed Jun 6 13:31:16 2012 -0700 9737 9738 libX11 spec: Correct prototype for XConvertSelection 9739 9740 selection & target parameters were accidentally run together 9741 9742 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9743 9744commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 9745Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9746Date: Fri Jun 1 23:37:09 2012 -0700 9747 9748 libX11 1.5.0 9749 9750 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9751 9752commit 05c587ec3be880721131a17c1dd4366e458fdd8b 9753Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9754Date: Sat May 26 14:37:28 2012 -0700 9755 9756 libX11 1.4.99.902 (1.5 RC2) 9757 9758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9759 9760commit d817834d9772e3500d5102e2eae868b04a33c31f 9761Author: Pander <pander@users.sourceforge.net> 9762Date: Sat May 5 19:02:10 2012 +0200 9763 9764 Compose: Reassigned squences with minus and a or o 9765 9766 Reassigned squences with minus and a or o (vice versa and lower and 9767 upper case) to conform existing series and not resulting in tilde. 9768 Also added noe missing underscore sequence. 9769 9770 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9771 9772commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 9773Author: Pander <pander@users.sourceforge.net> 9774Date: Sat May 5 16:56:05 2012 +0200 9775 9776 Compose: Removed <slash> <U> and vice versa 9777 9778 Combination with lower case u suffices 9779 9780 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9781 9782commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 9783Author: Pander <pander@users.sourceforge.net> 9784Date: Sat May 5 16:44:31 2012 +0200 9785 9786 Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 9787 9788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9789 9790commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 9791Author: Pander <pander@users.sourceforge.net> 9792Date: Sat May 5 16:40:20 2012 +0200 9793 9794 Compose: Removed <S> in combination with a numeral for superscript 9795 9796 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9797 9798commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 9799Author: Pander <pander@users.sourceforge.net> 9800Date: Sat May 5 16:28:01 2012 +0200 9801 9802 Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 9803 9804 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9805 9806commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 9807Author: James Cloos <cloos@jhcloos.com> 9808Date: Thu May 10 12:27:28 2012 -0400 9809 9810 Remove duplicate compose sequences from commit e51e37c118ae. 9811 9812 The compose-check script only handles compiled Compose files, not 9813 the Compose.pre files. One must remember to use: 9814 9815 ./autogen.sh; make; make check 9816 9817 when reviewing patches to the Compose.pre files.... 9818 9819 Signed-off-by: James Cloos <cloos@jhcloos.com> 9820 9821commit e51e37c118ae6cb9ced8244ce1c410677e0279ce 9822Author: Geoff Streeter <geoff@dyalog.com> 9823Date: Thu Mar 22 15:02:00 2012 +0000 9824 9825 Add APL support to compose 9826 9827 Signed-off-by: Geoff Streeter <geoff@dyalog.com> 9828 Signed-off-by: James Cloos <cloos@jhcloos.com> 9829 9830commit dac90324cee224df977a428afe80d960dceca769 9831Author: Julien Cristau <jcristau@debian.org> 9832Date: Sat May 5 16:05:07 2012 +0200 9833 9834 configure: make previous change work with older autoconf 9835 9836 autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 9837 the tests separately. 9838 9839 Reported-by: Dave Airlie 9840 Signed-off-by: Julien Cristau <jcristau@debian.org> 9841 9842commit f5b50af4324186962e258ffe9be78d5ee4681982 9843Author: Julien Cristau <jcristau@debian.org> 9844Date: Sun Apr 29 16:43:09 2012 +0200 9845 9846 configure: check if issetugid is declared 9847 9848 GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 9849 declare it anywhere, causing gcc to error out with 9850 -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 9851 AC_CHECK_FUNC so we disable this code instead of failing to build it. 9852 9853 Debian bug#669670 <http://bugs.debian.org/669670> 9854 9855 Signed-off-by: Julien Cristau <jcristau@debian.org> 9856 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9857 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9858 9859commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 9860Author: Peter Hutterer <peter.hutterer@who-t.net> 9861Date: Mon Apr 30 16:36:47 2012 +1000 9862 9863 Typo fix 9864 9865 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9866 9867commit b64969f0e510d5d3300cf968741a3726a6409577 9868Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9869Date: Tue Apr 17 18:12:02 2012 -0700 9870 9871 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 9872 9873 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9874 9875commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 9876Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9877Date: Tue Apr 17 18:01:36 2012 -0700 9878 9879 Add olinks from libX11 & localedb specs to ICCCM spec 9880 9881 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9882 9883commit b3c1b8cdab7d14220426c9b997ac362dc16318fc 9884Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9885Date: Tue Apr 17 17:49:44 2012 -0700 9886 9887 Add olinks from libX11 spec to ICCCM spec 9888 9889 Also convert ICCCM title mentions from <emphasis> to <citetitle> 9890 9891 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9892 9893commit ebebb65e753007ad01966dccc90bd6ca9a826488 9894Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9895Date: Sat Apr 14 23:40:01 2012 -0700 9896 9897 libX11 AppC: Fix section headers that didn't translate from nroff properly 9898 9899 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9900 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 9901 9902commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 9903Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9904Date: Sat Apr 14 23:13:05 2012 -0700 9905 9906 Add olinks from libX11 spec to x11protocol spec 9907 9908 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9909 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 9910 9911commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 9912Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9913Date: Sat Apr 14 22:28:53 2012 -0700 9914 9915 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 9916 9917 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9918 9919commit abc523fce31fcf2687229697a8eb656e343ecb0c 9920Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9921Date: Thu Mar 15 22:14:45 2012 -0700 9922 9923 libX11 1.4.99.901 (1.5 RC1) 9924 9925 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9926 9927commit b2cc5905a4a6d519957223e8ba2caef71520040c 9928Author: Alan Coopersmith <alan.coopersmith@oracle.com> 9929Date: Thu Mar 15 22:03:21 2012 -0700 9930 9931 Remove "register" qualifier that annoys Solaris Studio compiler 9932 9933 Fixes warning: 9934 "Xrm.c", line 1094: warning: storage class after type is obsolescent 9935 9936 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9937 9938commit 62d42953893f93a98db0504eaf06d650ceaf5811 9939Author: James Cloos <cloos@jhcloos.com> 9940Date: Wed Mar 14 17:25:46 2012 -0400 9941 9942 Fix the gtk+ additions 9943 9944 (Some of) the Dstroke and dstroke entries already were present as U011[01], 9945 even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 9946 9947 The addition of <Multi_key> <o> <apostrophe> as a postfix version of 9948 <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 9949 That prevents its and <Multi_key> <O> <apostrophe>’s addition. 9950 9951 Signed-off-by: James Cloos <cloos@jhcloos.com> 9952 9953commit 91bcce48d94792f78333d2aea73961cc2e739d2e 9954Author: Pander <pander@users.sourceforge.net> 9955Date: Wed Mar 14 12:54:53 2012 -0400 9956 9957 Complete compose key sequences for musical symbols 9958 9959 Signed-off-by: Pander <pander@users.sourceforge.net> 9960 Signed-off-by: James Cloos <cloos@jhcloos.com> 9961 9962commit cf040016d455bc37f7665d6714337c5eafd8ea94 9963Author: Pander <pander@users.sourceforge.net> 9964Date: Wed Mar 14 12:46:25 2012 -0400 9965 9966 Add compose sequences from gtk+ to X.Org 9967 9968 Signed-off-by: Pander <pander@users.sourceforge.net> 9969 Signed-off-by: James Cloos <cloos@jhcloos.com> 9970 9971commit a4c591ced5cac9301b9abfa0e521be2d0b267882 9972Author: Keith Packard <keithp@keithp.com> 9973Date: Sun Mar 4 02:00:13 2012 -0800 9974 9975 Block for other threads in _XUserLockDisplay 9976 9977 Wait for all other threads to release the user-level lock when 9978 acquiring it. This ensures that only one thread at a time holds the 9979 user-level lock, necessary as it is a nesting lock and a single 9980 variable is used to determine when the lock is nesting and when it is 9981 contended. 9982 9983 Signed-off-by: Keith Packard <keithp@keithp.com> 9984 Reviewed-by: Jamey Sharp <jamey@minilop.net> 9985 9986commit ed00b460acb08787b695f27b864e96102dfd4867 9987Author: Jon TURNEY <jon.turney@dronecode.org.uk> 9988Date: Fri Oct 28 11:09:20 2011 -0500 9989 9990 Don't use caddr_t casts 9991 9992 (caddr_t) isn't used anywhere else in xcb or libX11. 9993 Cast to (char *) for consistency. 9994 9995 Removing this cast allows building for MinGW without patching. 9996 9997 v2: Cast to (char *) rather than just dropping the cast 9998 9999 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10000 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10001 10002commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 10003Author: Julien Cristau <jcristau@debian.org> 10004Date: Sun Feb 19 13:27:38 2012 +0100 10005 10006 Revert "xcb: Add TCP fallback" 10007 10008 This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 10009 10010 The TCP fallback ended up falling back to UNIX socket connection if 10011 $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 10012 10013 Debian bug#659558 <http://bugs.debian.org/659558> 10014 10015 Signed-off-by: Julien Cristau <jcristau@debian.org> 10016 10017 Conflicts: 10018 10019 src/OpenDis.c 10020 10021commit f4378193619baa9bb973c1b5b718721bbcbe92c7 10022Author: James Cloos <cloos@jhcloos.com> 10023Date: Wed Feb 22 14:13:20 2012 -0500 10024 10025 Make the compose sequence for ẞ work. 10026 10027 There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 10028 so use the U1e9e symbol in the Compose sequence. 10029 10030 (Compose sequences do not work when the target symbol is unknown.) 10031 10032 Signed-off-by: James Cloos <cloos@jhcloos.com> 10033 10034commit 2ca641c3a506dcbee97e279b67990d5387389f36 10035Author: Marko Myllynen <myllynen@redhat.com> 10036Date: Mon Feb 20 17:04:59 2012 +0200 10037 10038 Use ezh/EZH in compose maps 10039 10040 Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 10041 10042 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 10043 Reviewed-by: Matt Dew <marcoz@osource.org> 10044 Signed-off-by: James Cloos <cloos@jhcloos.com> 10045 10046commit 61725822f20f47684a545c1797183ee7075243ac 10047Author: Marko Myllynen <myllynen@redhat.com> 10048Date: Sun Feb 20 17:09:43 2011 +0200 10049 10050 Provide translation from XK_permille (ad5) to Unicode (U2030) 10051 10052 https://bugs.freedesktop.org/show_bug.cgi?id=19687 10053 10054 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 10055 Reviewed-by: Matt Dew <marcoz@osource.org> 10056 Signed-off-by: James Cloos <cloos@jhcloos.com> 10057 10058commit d2cce0abba0fa0143f49026442c8cab5ed721625 10059Author: Jeremy Huddleston <jeremyhu@apple.com> 10060Date: Sun Feb 12 19:01:43 2012 -0800 10061 10062 nls: Use LC_CTYPE=C for sed magic 10063 10064 Stricter versions of sed can trip up if the input does not match 10065 LC_CTYPE 10066 10067 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10068 10069commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 10070Author: Frédéric Boiteux <fboiteux@calistel.com> 10071Date: Wed Nov 30 12:47:31 2011 +0000 10072 10073 Compositions with the dead greek symbol 10074 10075 FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 10076 10077 Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 10078 Signed-off-by: James Cloos <cloos@jhcloos.com> 10079 10080commit d58e8f8e27790017fcfdeca0843b7318d541c189 10081Author: Ryan Pavlik <rpavlik@iastate.edu> 10082Date: Sun Jan 1 21:04:52 2012 +0000 10083 10084 Use pthreads on MinGW also 10085 10086 Use pthreads (provided by the pthreads-win32 compatability library which implements 10087 them using native Win32 threading) on MinGW 10088 10089 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10090 10091commit bf15ccb6821664746ec23d769d757edf8059007e 10092Author: Ryan Pavlik <rpavlik@iastate.edu> 10093Date: Mon Jan 23 14:18:02 2012 +0000 10094 10095 Add XWindows.h include to Xxcbint.h 10096 10097 This avoids some conflicting type re-definition errors which occur if 10098 we attempt to include Windows headers after Xmd.h 10099 10100 Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 10101 10102commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 10103Author: Matt Dew <marcoz@osource.org> 10104Date: Sat Jan 21 17:59:51 2012 -0700 10105 10106 informaltable & table cleanup 10107 10108 On certain tables, add top and bottom borders to table header 10109 and a bottom border to the table. This matches what those 10110 tables in the old pdfs looked like. 10111 10112 the <?dbfo keep-together='always'> prevents tables from 10113 splitting across pages. Useful for tiny tables. 10114 10115 Converting the colwidth to a floating point, IE, 1* -> 1.0* 10116 cleans up these build errors: 10117 WARNING: table-layout="fixed" and column-width unspecified => 10118 falling back to proportional-column-width(1) 10119 10120 Signed-off-by: Matt Dew <marcoz@osource.org> 10121 10122commit bb551f654df8f647c867f79252241964521e689e 10123Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10124Date: Wed Dec 28 21:22:41 2011 -0800 10125 10126 Add more Xkb man pages to the See Also lists for core keyboard functions 10127 10128 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10129 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 10130 10131commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 10132Author: Gaetan Nadon <nadon@memsize.(none)> 10133Date: Fri Dec 30 17:08:14 2011 -0500 10134 10135 docbook.am: embed css styles inside the HTML HEAD element 10136 10137 Rather than referring to the external xorg.css stylesheet, embed the content 10138 of the file in the html output produced. This is accomplished by using 10139 version 1.10 of xorg-xhtml.xsl. 10140 10141 This makes the whole html docs tree much more relocatable. 10142 In addition, it eliminates xorg.css as a runtime file which makes 10143 xorg-sgml-doctools a build time only package. 10144 10145 Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 10146 10147commit 70505468b7c4a7068cc39be42e421dcee34ec595 10148Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10149Date: Tue Dec 13 19:58:30 2011 -0800 10150 10151 makekeys: move buf declaration from global to main to silence gcc -Wshadow 10152 10153 The global was only referenced in the main() function, which passes it 10154 as an argument of the same name to the parse_line() function, leading 10155 to gcc -Wshadow warnings: 10156 10157 makekeys.c: In function ‘parse_line’: 10158 makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 10159 makekeys.c:54:13: warning: shadowed declaration is here 10160 10161 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10162 10163commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 10164Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 10165Date: Wed Dec 14 02:17:55 2011 -0500 10166 10167 XQueryColors: Split a request into multiple requests if necessary 10168 10169 https://bugs.freedesktop.org/show_bug.cgi?id=9160 10170 10171 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 10172 Signed-off-by: James Cloos <cloos@jhcloos.com> 10173 10174commit d3b3570592e9b9e57f270a0bd86762fd205a2833 10175Author: Andreas Wettstein <wettstein509@solnet.ch> 10176Date: Tue Nov 8 20:18:09 2011 +0000 10177 10178 XIM: Allow modifier releases in compose sequences (#26705) 10179 10180 Currently, only non-modifier keys (actually, keysyms) can be part of a compose 10181 sequence, and they are matched against the defined compose sequences at the 10182 time the key is pressed. The patch allows to use modifier keys an well, but 10183 matches them on key release, and only if no other key has been pressed after 10184 the modifier. 10185 10186 Releasing a non-matched modifier during an ongoing compose sequence only aborts 10187 the sequence if any modifier release would have matched. In particular, if no 10188 compose sequences with modifiers are specified, the compose mechanism works 10189 exactly as without this patch. 10190 10191 Even if modifiers are part of a compose sequence, they are not filtered. This 10192 is because modifiers affect the keyboard state no matter what we do here and, 10193 therefore, filtering them only could confuse clients. 10194 10195 The purpose is this extension to the compose mechanism is to allow to make 10196 better use of keys in convenient reach for touch typing. 10197 10198 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 10199 Signed-off-by: James Cloos <cloos@jhcloos.com> 10200 10201commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 10202Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10203Date: Tue Nov 29 23:56:57 2011 -0800 10204 10205 Reject negative string counts in copy_string_list 10206 10207 Silences parfait warning of a potential memory leak: 10208 Memory leak of pointer 'dst' allocated with malloc(length) 10209 at line 160 of FSWrap.c in function 'copy_string_list'. 10210 'dst' allocated at line 145 with malloc(length). 10211 dst leaks when count <= 0 at line 154. 10212 10213 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10214 10215commit bf2d7c8c6d70539c72560b1921e18df2610acf29 10216Author: Peter Hutterer <peter.hutterer@who-t.net> 10217Date: Fri Nov 11 14:56:36 2011 +1000 10218 10219 libX11 1.4.99.1 10220 10221 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10222 10223commit 24283d40b1e4314c6647dda49d2a159833341a8b 10224Author: Derek Buitenhuis <derek.buitenhuis@gmail.com> 10225Date: Thu Sep 22 18:44:13 2011 -0400 10226 10227 makekeys: Fix build/target word size mismatch when cross-compiling 10228 10229 Since makekeys is built using build environment's gcc and 10230 runs natively, we have to make sure that the size of the 10231 Signature type is the same on both the native environment 10232 and the target, otherwise we get mismatches upon running X, 10233 and some LSB test failures (xts5). 10234 10235 Use an unsigned 32-bit integer on all platforms. Also, 10236 eliminate the redundant multiple typedefs for the 10237 Signature type. 10238 10239 Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 10240 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10241 10242commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 10243Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10244Date: Wed Nov 9 21:00:36 2011 -0800 10245 10246 XlcSL.c: convert old-style function definitions to ANSI C89 style 10247 10248 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10249 10250commit f6dad6aaa384bf836baa28ccb72b476a85c40eff 10251Author: Peter Hutterer <peter.hutterer@who-t.net> 10252Date: Thu Oct 27 13:53:22 2011 +1000 10253 10254 Use GetReqSized for GetReq and GetReqExtra 10255 10256 GetEmptyReq and GetResReq cannot do this due to the final typecast - 10257 typically requests that need either of those do not have their own typedef 10258 in the protocol headers. 10259 10260 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10261 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10262 10263commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 10264Author: Peter Hutterer <peter.hutterer@who-t.net> 10265Date: Fri Oct 14 14:51:06 2011 +1000 10266 10267 include: Add GetReqSized() for request buffers of specific size 10268 10269 Some XI2 requests change in size over different versions and libXi would 10270 need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 10271 library can explicitly specify the size of the request in 4-byte units. 10272 10273 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10274 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10275 10276commit ba8a7a19165e30d14bc165f43f67c19b6a115585 10277Author: Peter Hutterer <peter.hutterer@who-t.net> 10278Date: Thu Oct 27 13:24:10 2011 +1000 10279 10280 Switch GetEmptyReq and GetResReq to call _XGetRequest 10281 10282 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10283 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10284 10285commit 4a060f993bf676cf21ad9784e010f54134da7b40 10286Author: Peter Hutterer <peter.hutterer@who-t.net> 10287Date: Mon Oct 17 09:45:15 2011 +1000 10288 10289 Add _XGetRequest as substitute for GetReq/GetReqExtra 10290 10291 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10292 Reviewed-by: Jamey Sharp <jamey@minilop.net> 10293 10294commit d8956520deb79c1cbb5e974c175bf8493859b22b 10295Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10296Date: Fri Oct 14 17:53:00 2011 -0700 10297 10298 Fix "nomal" -> "normal" typo in several comments 10299 10300 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10301 10302commit 002b36e308a26a152504f9b40aa08a0dce9a7991 10303Author: Xue Wei <Wei.Xue@Sun.COM> 10304Date: Fri Oct 14 17:39:21 2011 -0700 10305 10306 mbtocs should not truncate input 10307 10308 Fixes pasting more than 1024 bytes into xterm, as described in 10309 https://bugs.freedesktop.org/show_bug.cgi?id=25209 10310 10311 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10312 10313commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 10314Author: Marko Myllynen <myllynen@redhat.com> 10315Date: Mon Oct 10 09:41:13 2011 +0300 10316 10317 Add new compose sequences 10318 10319 This patch adds few new compose sequences to the en_US map, ligatures 10320 common in typesetting and sequences already in use in the fi_FI map. 10321 10322 https://bugs.freedesktop.org/show_bug.cgi?id=30621 10323 https://bugs.freedesktop.org/show_bug.cgi?id=34523 10324 10325 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10326 10327commit 738f7b867341c1da87ee667d48815822715c3e75 10328Author: Choe Hwanjin <choe.hwanjin@gmail.com> 10329Date: Thu Oct 13 07:58:02 2011 +0900 10330 10331 XIM: Make Xim handle NEED_SYNC_REPLY flag 10332 10333 NEED_SYNC_REPLY flag should be in Xim not in Xic. 10334 Because the focused Xic can be changed before sending sync reply. 10335 After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 10336 flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 10337 10338 This patch adds sync reply flag to Xim and removes sync reply 10339 from Xic. 10340 10341 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 10342 10343 Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 10344 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10345 10346commit 50e15379331c436851abb194251cde96999e67b3 10347Author: Bodo Graumann <mail@bodograumann.de> 10348Date: Mon Oct 10 16:40:52 2011 +0200 10349 10350 libX11: Fixing modifier key range in Xutil.h (Bug #21910) 10351 10352 IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 10353 which keys are regarded as modifiers. The constants ISO_Level5_Shift, 10354 ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 10355 some Neo2 modifiers functionless in combination with compose. 10356 This patch adjusts the range to include the correct, full range of 10357 modifier constants. 10358 10359 Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 10360 10361 X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 10362 10363 Signed-off-by: Bodo Graumann <mail@bodograumann.de> 10364 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 10365 10366commit b5a108624331fabf393223c0891914cc54d4caf4 10367Author: Yann Droneaud <yann@droneaud.fr> 10368Date: Tue Oct 11 17:27:59 2011 +0200 10369 10370 Return name instead of False in XSetICValues() 10371 10372 In case of error, XSetICValues() must return the first argument 10373 that failed to be set. 10374 10375 But in some error paths, it returns False, which is converted to NULL, 10376 so the function returns OK in case of error. 10377 10378 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 10379 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10380 10381commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 10382Author: Yann Droneaud <yann@droneaud.fr> 10383Date: Sun Oct 9 17:56:45 2011 +0200 10384 10385 Return name instead of value in XGetIMValues() and XSetIMValues() 10386 10387 As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 10388 XGetIMValues() and XSetImValues() "returns the name of the first argument 10389 that could not be obtained." 10390 10391 But currently, 10392 10393 err = XGetIMValues(im, "invalid", &arg, NULL); 10394 10395 returns &arg instead of "invalid". 10396 10397 This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 10398 10399 Signed-off-by: Yann Droneaud <yann@droneaud.fr> 10400 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 10401 10402commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 10403Author: Jeremy Huddleston <jeremyhu@apple.com> 10404Date: Mon Oct 10 14:09:17 2011 -0700 10405 10406 Mark XKeycodeToKeysym as _X_DEPRECATED 10407 10408 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10409 10410commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 10411Author: Jeremy Huddleston <jeremyhu@apple.com> 10412Date: Sun Oct 9 02:38:28 2011 -0700 10413 10414 Fix nobreakspace for pt_BR.UTF-8 10415 10416 https://bugs.freedesktop.org/show_bug.cgi?id=31334 10417 10418 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10419 10420commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 10421Author: Jeremy Huddleston <jeremyhu@apple.com> 10422Date: Sun Oct 9 02:26:45 2011 -0700 10423 10424 Fix potential uninitialized variable access in _XimMakeICAttrIDList 10425 10426 Found by clang static analysis 10427 10428 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10429 10430commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 10431Author: Jeremy Huddleston <jeremyhu@apple.com> 10432Date: Sun Oct 9 02:25:50 2011 -0700 10433 10434 Remove self-resolving aliases 10435 10436 https://bugs.freedesktop.org/show_bug.cgi?id=30112 10437 10438 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10439 10440commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 10441Author: Matt Dew <marcoz@osource.org> 10442Date: Fri Oct 7 22:52:30 2011 -0600 10443 10444 Cleanup IDs and links in doc 10445 10446 1 - fix the capitalization of the ID attributes to match either the 10447 <title> or <funcdef> string it goes with. 10448 2 - fix any <linkend>'s that were affected by 1. 10449 3 - any <function> in the docs that has an actual funcdef, 10450 will become an olink. 10451 10452 Signed-off-by: Matt Dew <marcoz@osource.org> 10453 10454commit f858f3326adbc0c5711669b92a64a84a9083a055 10455Author: James Cloos <cloos@jhcloos.com> 10456Date: Tue Oct 4 17:11:11 2011 -0400 10457 10458 [nls] Fix typo/synco. 10459 10460 The iso8859-1 Compose table includes an optional section which uses 10461 Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 10462 to generate an @ (at) either was incorrectly copied from the Multi_key 10463 section or was not kept in sync with the Multi_key section. 10464 10465 Fixing this eliminates the warning from compose-check.pl: 10466 10467 ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10468 ┃ Clash with existing sequence in iso8859-1/Compose.pre 10469 ┃ on line 661: Ctrl<T> <A> <A> 10470 ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 10471 ┃ line #480: Ctrl<T> <A> <A> : "@" at 10472 ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10473 10474 Signed-off-by: James Cloos <cloos@jhcloos.com> 10475 10476commit 7f35f7efc23234b3f8529fee31a802c21846d9ab 10477Author: Jeremy Huddleston <jeremyhu@apple.com> 10478Date: Mon Sep 26 11:32:56 2011 -0700 10479 10480 Remove conflicting compose sequences for cent and colon 10481 10482 Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 10483 Found by tinderbox 10484 10485 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10486 10487commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 10488Author: Jeremy Huddleston <jeremyhu@apple.com> 10489Date: Sun Sep 25 16:29:17 2011 -0700 10490 10491 Add additional compose sequences for pound sterling, yen, and cent (mixed case) 10492 10493 https://bugs.freedesktop.org/show_bug.cgi?id=1013 10494 10495 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10496 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 10497 10498commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 10499Author: Jeremy Huddleston <jeremyhu@apple.com> 10500Date: Sat Sep 24 16:44:04 2011 -0700 10501 10502 Use a configure check for seteuid 10503 10504 HP-UX doesn't have seteuid 10505 10506 https://bugs.freedesktop.org/show_bug.cgi?id=1497 10507 10508 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 10509 10510commit 79594b4d66344f248eb4314ecb78eb81f632c3ab 10511Author: Gaetan Nadon <memsize@videotron.ca> 10512Date: Tue Sep 20 16:06:10 2011 -0400 10513 10514 localedb specs: use <copyright> for first holder of multi license 10515 10516 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10517 10518commit 154430268cf004b06920edde2f1812dc16d71fae 10519Author: Gaetan Nadon <memsize@videotron.ca> 10520Date: Tue Sep 20 16:01:52 2011 -0400 10521 10522 libX11 specs: use <copyright> for first holder of multi license 10523 10524 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10525 10526commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 10527Author: Tollef Fog Heen <tfheen@err.no> 10528Date: Tue Sep 20 13:07:37 2011 -0400 10529 10530 NLS: Add more vulgar fractions 10531 10532 Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 10533 10534 Signed-off-by: Tollef Fog Heen <tfheen@err.no> 10535 Signed-off-by: James Cloos <cloos@jhcloos.com> 10536 10537commit e37a6da814b5653be46000a9a76902729660a2e6 10538Author: Alexander Polakov <polachok@gmail.com> 10539Date: Sat Sep 17 20:54:58 2011 +0400 10540 10541 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 10542 10543 There is no XAllowAccess man page to see. 10544 10545 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10546 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10547 10548commit a23f3323f269b33a43d16dce01395cd28bc41b45 10549Author: Gaetan Nadon <memsize@videotron.ca> 10550Date: Mon Sep 19 15:27:44 2011 -0400 10551 10552 XKB: provide adequate quotes for the license text 10553 10554 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10555 10556commit a9c7a5cad91d968f5536ef8fc735036e921832a3 10557Author: Gaetan Nadon <memsize@videotron.ca> 10558Date: Mon Sep 19 15:18:53 2011 -0400 10559 10560 XIM: refactor the multi licensing legal text 10561 10562 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10563 10564commit c46f934ed89e7de79746a0387c9f998d91994ea6 10565Author: Gaetan Nadon <memsize@videotron.ca> 10566Date: Mon Sep 19 10:33:30 2011 -0400 10567 10568 xim trans: restore Fujitsu copyright legal text 10569 10570 Somehow lost during docbook conversion. text from x.org ftp R7.5. 10571 10572 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10573 10574commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 10575Author: Gaetan Nadon <memsize@videotron.ca> 10576Date: Mon Sep 19 10:11:46 2011 -0400 10577 10578 xtrans: restore X Consortium original legal text 10579 10580 Asking X Consortium permission to use The Open Group name makes no sense. 10581 Even more so in 1994 before X Window System was passed on to the Open Group. 10582 10583 Using original text from xorg-docs/general/License 10584 10585 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10586 10587commit 136a381585a4a9686c11bad1a6130837978e677f 10588Author: Gaetan Nadon <memsize@videotron.ca> 10589Date: Mon Sep 19 10:03:21 2011 -0400 10590 10591 Framework: restore X Consortium copyright 10592 10593 Somewhat dammaged during docbook conversion. 10594 Also restore pasrt of the original license text 10595 10596 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10597 10598commit 33f346878406762704a0c13cdc018111c666f3c1 10599Author: Gaetan Nadon <memsize@videotron.ca> 10600Date: Mon Sep 19 09:50:00 2011 -0400 10601 10602 localedb: restore X Consortium original legal text 10603 10604 Asking X Consortium permission to use The Open Group name makes no sense. 10605 Even more so in 1994 before X Window System was passed on to the Open Group. 10606 10607 Using original text from xorg-docs/general/License 10608 10609 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10610 10611commit e99c9338e413efca026210b9d830efb5c74d34e5 10612Author: Gaetan Nadon <memsize@videotron.ca> 10613Date: Mon Sep 19 08:23:18 2011 -0400 10614 10615 specs: support multi licensed copyright notice and license text 10616 10617 For documentation having multiple licenses, the copyright and legalnotice 10618 elements sequence cannot instantiated multiple times. 10619 The copyright notice and license text are therefore coded inside a 10620 legalnotice element. The role attribute on the paragraph is used to allow 10621 styling of the copyright notice text which should not be italicized. 10622 10623 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10624 10625commit b9dedc757e667333ce899115d618f25cdaa4dd5e 10626Author: Gaetan Nadon <memsize@videotron.ca> 10627Date: Mon Sep 19 08:17:50 2011 -0400 10628 10629 localedb: add release info to spec 10630 10631 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10632 10633commit 4519c89a87ddce01e599542737a27c26030fe4ff 10634Author: Gaetan Nadon <memsize@videotron.ca> 10635Date: Mon Sep 19 08:05:32 2011 -0400 10636 10637 specs: fix The Open Group license text 10638 10639 The warranty referred to the X Consortium 10640 10641 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10642 10643commit 08ac378423e7be72e340197ba5559a1a36f1783c 10644Author: Gaetan Nadon <memsize@videotron.ca> 10645Date: Mon Sep 19 08:03:39 2011 -0400 10646 10647 specs: The strandard name is still "X Consortium Standard" 10648 10649 This spec, and fsproto spec, are the only two docs with a different 10650 standard name. 10651 10652 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10653 10654commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 10655Author: Gaetan Nadon <memsize@videotron.ca> 10656Date: Sun Sep 18 13:22:34 2011 -0400 10657 10658 specs: support multi licensed copyright notice and license text 10659 10660 For documentation having multiple licenses, the copyright and legalnotice 10661 elements sequence cannot instantiated multiple times. 10662 The copyright notice and license text are therefore coded inside a legalnotice 10663 element. The role attribute on the paragraph is used to allow styling of the 10664 copyright notice text which should not be italicized. 10665 10666 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10667 10668commit 278ca8947c1dabb2b819527dca0fa6190c034f67 10669Author: Gaetan Nadon <memsize@videotron.ca> 10670Date: Fri Sep 16 11:45:56 2011 -0400 10671 10672 docs: merge copyright holder under the same copyright notice 10673 10674 As per the docbook markup dtd. 10675 10676 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10677 10678commit 7ff012bb433109a622ac122ade71669e842ebdcf 10679Author: Gaetan Nadon <memsize@videotron.ca> 10680Date: Fri Sep 16 10:09:57 2011 -0400 10681 10682 specs: handle multiple sets of copyright notice/license/warranty 10683 10684 Docbook groups all the <copyright> elements together and all the 10685 <legalnotice> elements together. 10686 10687 We cannot have a sequence: 10688 <copyright> <legalnotice> <copyright> <legalnotice> [...] 10689 10690 A workaround, which was done in some documents, is to put the copyright 10691 notice inside the legalnotice in plain text without the <copyright> element. 10692 A formal paragraph title is added here which makes the copyright notice bold, 10693 and makes it much easier to locate. 10694 10695 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10696 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10697 10698commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 10699Author: Gaetan Nadon <memsize@videotron.ca> 10700Date: Wed Sep 14 15:55:42 2011 -0400 10701 10702 specs: remove orphan affiliation. 10703 10704 Authors affiliation are correct. 10705 10706 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10707 10708commit 0cc02a6df65214560b7575e89cebee741d6d2469 10709Author: Gaetan Nadon <memsize@videotron.ca> 10710Date: Tue Sep 13 17:39:02 2011 -0400 10711 10712 specs: use appropriate markup for Copyright statements 10713 10714 Also move <releaseinfo> to match order of appearance 10715 10716 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10717 10718commit afe13e19ebf0fc4e3460644164433af016f0add7 10719Author: Gaetan Nadon <memsize@videotron.ca> 10720Date: Mon Sep 12 16:54:45 2011 -0400 10721 10722 docs: use the &fullrelvers; entity to set X11 release information 10723 10724 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10725 10726commit 22a2153282db13e9d94881022b8c979539841a2c 10727Author: Gaetan Nadon <memsize@videotron.ca> 10728Date: Sun Sep 11 19:49:53 2011 -0400 10729 10730 docs: remove <productnumber> which is not used by default 10731 10732 This element is not rendered by default on the title. A template 10733 customization is required to display it. 10734 X Window System does not have a product number. 10735 10736 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10737 10738commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 10739Author: Gaetan Nadon <memsize@videotron.ca> 10740Date: Sun Sep 11 17:40:21 2011 -0400 10741 10742 docs: use the &fullrelvers; entity to set X11 release information 10743 10744 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10745 10746commit a6b2992f50b571d612ea9ade631c432c3099bc12 10747Author: Gaetan Nadon <memsize@videotron.ca> 10748Date: Sun Sep 11 17:38:42 2011 -0400 10749 10750 docs: remove orphan <affiliation> 10751 10752 Somehow created during the conversion from roff. Unable to locate 10753 the author to which it belongs. 10754 10755 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10756 10757commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 10758Author: Gaetan Nadon <memsize@videotron.ca> 10759Date: Sun Sep 11 17:38:05 2011 -0400 10760 10761 docs: remove <productnumber> which is not used by default 10762 10763 This element is not rendered by default on the title. A template 10764 customization is required to display it. 10765 X Window System does not have a product number. 10766 10767 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10768 10769commit 7d5b718c1edbc43c54b7001be548e515a49540ea 10770Author: Gaetan Nadon <memsize@videotron.ca> 10771Date: Fri Sep 9 14:46:39 2011 -0400 10772 10773 docbook.am: embed css styles inside the HTML HEAD element 10774 10775 Rather than referring to the external xorg.css stylesheet, embed the content 10776 of the file in the html output produced. This is accomplished by using 10777 version 1.10 of xorg-xhtml.xsl. 10778 10779 This makes the whole html docs tree much more relocatable. 10780 In addition, it eliminates xorg.css as a runtime file which makes 10781 xorg-sgml-doctools a build time only package. 10782 10783 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10784 10785commit 24632d280491c465dfe208ef788815890892e326 10786Author: Gaetan Nadon <memsize@videotron.ca> 10787Date: Mon Sep 5 12:53:12 2011 -0400 10788 10789 compose: upgrade makefile to support olinking on chunked html 10790 10791 The essential differences over the regular docbook.am are: 10792 Adding root.filename parameter for naming of chapters html files. 10793 Using xhtml xmlto format and xorg-chunk.xsl stylesheet 10794 Set olink.base.uri for pdf but not for chunked html 10795 Olink is not applicable to ps and txt formats. 10796 10797 Html chapters are added to shelf_DATA as they are also installed. 10798 The xml is generated from a perl script and not distributed. 10799 10800 Requires version 1.10 of xorg-sgml-doctools. 10801 10802 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10803 10804commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 10805Author: Gaetan Nadon <memsize@videotron.ca> 10806Date: Wed Aug 31 19:46:20 2011 -0400 10807 10808 docbook.am: refactor common flags for xmlto and xsltproc 10809 10810 Maximize reuse and reduce risk of setting the wrong flag 10811 at the wrong place. 10812 10813 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10814 10815commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 10816Author: Gaetan Nadon <memsize@videotron.ca> 10817Date: Wed Aug 31 10:46:59 2011 -0400 10818 10819 docbook.am: add search path for local entities 10820 10821 Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 10822 A module may want to add entities that apply only to itself and 10823 not to all modules, like the xserver does. 10824 10825 This feature may or may not be used in this module, but all modules 10826 share a copy of docbook.am. 10827 10828 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10829 10830commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 10831Author: Gaetan Nadon <memsize@videotron.ca> 10832Date: Thu Aug 25 14:39:20 2011 -0400 10833 10834 docbook.am: explicitly list xmlto flags for each target 10835 10836 Normal evolution of make targets make it impractical to factor out 10837 common command flags for xmlto. 10838 10839 The targets now list each command option as its presence or absence 10840 needs to be justified. 10841 10842 xorg.ss is only needed by xmlto for html. 10843 masterdb is only needed by xmlto. 10844 img.src.path must not be used by html. 10845 xsltproc need to use customization layer xorg-*.xsl. 10846 txt format is not required to search masterdb. 10847 10848 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10849 10850commit d5b3605f3b0639452e892e9ff3afb18bb7442069 10851Author: Gaetan Nadon <memsize@videotron.ca> 10852Date: Thu Aug 25 13:12:49 2011 -0400 10853 10854 docbook.am: do not generate docs if docbook customization layer is missing 10855 10856 The stylesheets used to be only about style, fonts or colors. 10857 Complex features are now used like olink and chunked html which 10858 may cause a build break when stylesheets are missing or lead to hard 10859 to find problem. 10860 10861 Some modules may be built when stylesheets are present while others 10862 are built without. There is no requirement to build crippled docs. 10863 10864 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10865 10866commit 7f23c72c94d9d14122426b0d8c66054f1402769a 10867Author: Gaetan Nadon <memsize@videotron.ca> 10868Date: Fri Aug 5 14:33:32 2011 -0400 10869 10870 libX11 specs: review doclifter generated tables 10871 10872 Many tables had a questionnable layout and some had information dropped. 10873 Each table was cross-referenced with a pre-docbook version 10874 to ensure semantic integrity. 10875 10876 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10877 10878commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 10879Author: Gaetan Nadon <memsize@videotron.ca> 10880Date: Wed Jul 20 15:28:47 2011 -0400 10881 10882 credits.xml: remove toc from Acknowledgments 10883 10884 There should be no toc for a simple preface with only one 10885 Acknowledgments section. 10886 10887 Use <simplesect> markup rather than sect1. 10888 10889 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10890 10891commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 10892Author: Gaetan Nadon <memsize@videotron.ca> 10893Date: Thu Aug 4 19:59:37 2011 -0400 10894 10895 libX11 specs: move </para> above <varaiablelist> 10896 10897 Many, but not all, function synopsis have a paragraph that 10898 nests the variable list. The code was generated by doclifter 10899 and there is no apprent reasons as to why it was done this way. 10900 Found while investigating a spacing issue. 10901 10902 Before the patch: 10903 <para>Some blurb about the function 10904 <funcsynopsis> 10905 </funcsynopsis> 10906 <variablelist> 10907 </variablelist> 10908 </para> 10909 10910 After the patch: 10911 <para>Some blurb about the function</para> 10912 <funcsynopsis> 10913 </funcsynopsis> 10914 <variablelist> 10915 </variablelist> 10916 10917 There are no noticable differences when reading the doc 10918 other than than the removed few pixels of spacing between 10919 the function sysnopsis and the variable list block. 10920 10921 In some cases, there are no "blurb about the fucntion" 10922 and the empty paragraph is removed. 10923 10924 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10925 10926commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 10927Author: Gaetan Nadon <memsize@videotron.ca> 10928Date: Thu Jul 28 19:46:14 2011 -0400 10929 10930 compose specs: generate chunked html 10931 10932 For large 600 page documents such as this one, chunked html 10933 provide faster browser load time and better navigation. 10934 10935 Simply click on the locale of your choice in the toc and 10936 the browser loads just that one file. Being a DocBook, 10937 it benefits from all of the usual features and can be 10938 integrated with the rest of the documentation. 10939 10940 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10941 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10942 10943commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 10944Author: Gaetan Nadon <memsize@videotron.ca> 10945Date: Thu Jun 23 15:16:47 2011 -0400 10946 10947 specs: build compose keys tables in specs/i18n/compose 10948 10949 Build the tables article together with the rest of the specs. 10950 Make it transparent that the source in generated in nls. 10951 Reuse docbook.am and get all the features such as olink. 10952 10953 The docbook article file stem and id must be the same. The new name 10954 for the main article is libX11-keys. The new installation location 10955 is $docdir/libX11/i18n/compose. 10956 10957 The nls dir retains the role of generating the DocBook/XML source 10958 but does not build neither installs output formats or generated source. 10959 10960 The tables article now has to specify that each included locale 10961 section is a dependency. It did not matter before as they were web links. 10962 10963 The xorg-sgml-doctools masterdb shall be updated to include this new doc. 10964 Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 10965 10966 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10967 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10968 10969commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 10970Author: Gaetan Nadon <memsize@videotron.ca> 10971Date: Thu Jun 23 14:43:31 2011 -0400 10972 10973 nls: restructure charts as a single article with sections 10974 10975 Looks more like a real article with a toc rather than individual 10976 web pages. Looks nicer in pdf. 10977 10978 Each locale is a "section" rather than an "article". 10979 Using XInclude to aggregate xml source files gets you the toc for free. 10980 10981 The single document is over 600 pages while there were 62 separate 10982 documents previously. FOP version 1.0 is required to handle missing 10983 character like capital sharp s. 10984 10985 Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10986 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10987 10988commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 10989Author: Alan Coopersmith <alan.coopersmith@oracle.com> 10990Date: Thu Jul 28 19:32:40 2011 -0700 10991 10992 libX11 1.4.4 10993 10994 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10995 10996commit ab1f30231755d99ed123af6873b981834640f01d 10997Author: Matt Dew <marcoz@osource.org> 10998Date: Wed Jul 13 12:33:40 2011 -0600 10999 11000 Add id attributes to error codes to allow linking from other docs. 11001 11002 Signed-off-by: Matt Dew <marcoz@osource.org> 11003 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11004 Acked-by: Gaetan Nadon <memsize@videotron.ca> 11005 11006commit 5c831fef402914ccf2ec14005c25be48852f119b 11007Author: David Coppa <dcoppa@gmail.com> 11008Date: Tue Jul 12 10:05:47 2011 +0200 11009 11010 Fix libpthread linkage on OpenBSD. 11011 11012 OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 11013 11014 Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 11015 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11016 11017commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 11018Author: Gaetan Nadon <memsize@videotron.ca> 11019Date: Wed Jun 22 20:46:26 2011 -0400 11020 11021 config: use XORG_WITH_PERL macro to replace custom program check 11022 11023 New in version util-macros 1.15, the macro does the usual checking 11024 for program path and provides an interface for makefile variables. 11025 11026 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11027 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11028 11029commit 47d99a324db9232029a22dd523e3bc3ed0936aca 11030Author: Gaetan Nadon <memsize@videotron.ca> 11031Date: Wed Jun 22 20:41:18 2011 -0400 11032 11033 config: update XORG_WITH_FOP macro usage 11034 11035 A new feature to test for a minimum version has been added. 11036 11037 The parameter position changed. Due to limited usage 11038 and requiring 1.15, it turns out to be backward compatible. 11039 11040 There is no functional change to how docs are build. 11041 11042 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11043 11044commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 11045Author: Gaetan Nadon <memsize@videotron.ca> 11046Date: Wed Jun 22 11:48:49 2011 -0400 11047 11048 Remove unused xmlrules.in in specs, now in /nls 11049 11050 The specs dir has been converted to docbook.am 11051 11052 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11053 11054commit 9992092609bd83a0db778e9a9ac1e879d445e637 11055Author: Gaetan Nadon <memsize@videotron.ca> 11056Date: Thu Mar 31 10:23:22 2011 -0400 11057 11058 nls: move xmlrules.in from specs to nls 11059 11060 It is no longer used in the specs dir. 11061 Remove html from CLEANFILES as it breaks. Make do not clean directories 11062 Remove SUFFIXES as pattern rules are used rather than suffix rules. 11063 11064 Other improvements are possible, the first priority is to move it out 11065 of the specs dir. 11066 11067 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 11068 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11069 11070commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 11071Author: Gaetan Nadon <memsize@videotron.ca> 11072Date: Sun Jun 5 16:27:36 2011 -0400 11073 11074 Install target dbs alongside generated documents 11075 11076 This matches a change in xorg-sgml-docs whereby the masterdb will look for 11077 the target dbs into the same location as the generated documents. 11078 11079 The target dbs are now installed alongside the generated documents. 11080 Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 11081 has the potential of installing outside the package prefix and cause 11082 distcheck to fail when user does not have write permission in this package. 11083 11084 Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 11085 11086commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 11087Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11088Date: Tue Jun 7 18:41:30 2011 -0700 11089 11090 specs/libX11: Turn appendix references into links 11091 11092 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11093 11094commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 11095Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11096Date: Tue Jun 7 18:37:41 2011 -0700 11097 11098 specs/libX11: Turn chapter references into links 11099 11100 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11101 11102commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 11103Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11104Date: Tue Jun 7 00:52:32 2011 -0700 11105 11106 specs/libX11: Turn many "see section ..." into links 11107 11108 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11109 11110commit 02d4c08dead2f266809b3f93ec72377783423ac7 11111Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11112Date: Sun Jun 5 22:50:37 2011 -0700 11113 11114 specs/libX11: Convert some header filenames to filename tags 11115 11116 perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 11117 11118 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11119 11120commit c51a011329afa6e5b9d2b285349c132683ecf9fb 11121Author: Matt Dew <marcoz@osource.org> 11122Date: Tue May 31 20:03:23 2011 -0600 11123 11124 Add id attributes to funcsynopsis to allow other docs to olink to them. 11125 11126 Signed-off-by: Matt Dew <marcoz@osource.org> 11127 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11128 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11129 11130commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 11131Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11132Date: Fri May 27 20:14:36 2011 -0700 11133 11134 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 11135 11136 https://bugs.freedesktop.org/show_bug.cgi?id=37624 11137 11138 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11139 11140commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 11141Author: Matt Dew <marcoz@osource.org> 11142Date: Sat May 21 00:23:06 2011 -0600 11143 11144 Add id's to functions, to make clickable links. 11145 11146 Signed-off-by: Matt Dew <marcoz@osource.org> 11147 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11148 11149commit 5c06bc594473f6ab234724cd90db32e7b57fe811 11150Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11151Date: Fri May 20 15:38:08 2011 -0700 11152 11153 libX11 spec: fix monospaced column alignment after deligaturization 11154 11155 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11156 11157commit ef0019c714c273cb9b4ad3eba52d0b905109826b 11158Author: James Cloos <cloos@jhcloos.com> 11159Date: Fri May 20 15:51:46 2011 -0400 11160 11161 Expand latin ligatures out to their NFKC equivalents. 11162 11163 Ligatures should be done by the typesetting system. 11164 Manuscripts should not bother with them. 11165 11166 Signed-off-by: James Cloos <cloos@jhcloos.com> 11167 Reviewed-by: Keith Packard <keithp@keithp.com> 11168 11169commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 11170Author: Daniel Stone <daniel@fooishbar.org> 11171Date: Thu May 12 16:21:50 2011 +0200 11172 11173 XCB: Add more friendly error messages for common asserts 11174 11175 This patch adds more friendly error messages for three common classes of 11176 assertion: 11177 - missed sequence numbers due to being griefed by another thread 11178 - unknown requests in queue due to being griefed by another thread 11179 - extensions dequeuing too much or too little reply data 11180 11181 It adds error messages offering advice (e.g. call XInitThreads() first) 11182 on stderr, but still generates actual assertions. Hopefully this means 11183 it's a little more Googleable and a little less frightening. 11184 11185 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 11186 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11187 11188commit 159bf292477048b9a2f074735afc516f52c93d80 11189Author: Gaetan Nadon <memsize@videotron.ca> 11190Date: Thu May 19 20:22:11 2011 -0400 11191 11192 Remove misplaced hyphens in libX11 DocBook/XML #37364 11193 11194 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 11195 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11196 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11197 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11198 11199commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 11200Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11201Date: Tue May 17 20:49:59 2011 -0700 11202 11203 Fix man page and comment references to use XFreeModifiermap (lowercase map) 11204 11205 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11206 11207commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 11208Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11209Date: Tue May 17 20:30:54 2011 -0700 11210 11211 XKB man pages: Fix coordinantes typo in multiple pages 11212 11213 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11214 11215commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 11216Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11217Date: Tue May 17 16:27:32 2011 -0700 11218 11219 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 11220 11221 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11222 11223commit ae39d82b01359b07dd1fe092d867f79ea95a5438 11224Author: Jeremy Huddleston <jeremyhu@apple.com> 11225Date: Sun May 8 09:08:07 2011 -0700 11226 11227 Silence clang static analysis warnings for SetReqLen 11228 11229 This provides a simplified version of the SetReqLen macro when using clang for 11230 static analysis. Prior to this change, we would see many Idempotent operation 11231 warnings inside this macro due to the common case of calling with arg2 and 11232 arg3 being the same variable. This has no effect on code produced during 11233 compilation, but it silences a number of false positives in static analysis. 11234 11235 XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 11236 SetReqLen(req, num_modifiers, num_modifiers); 11237 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11238 In file included from XIPassiveGrab.c:26: 11239 .../include/X11/Xlibint.h:580:8: note: instantiated from: 11240 n = badlen; \ 11241 ^ 11242 11243 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11244 11245commit 130af2bc02090ee2526adb2f9803fc07019b8f1f 11246Author: Jeremy Huddleston <jeremyhu@apple.com> 11247Date: Wed May 4 15:34:31 2011 -0700 11248 11249 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 11250 11251 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 11252 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 11253 ^~~~~~~ 11254 11255 Found-by: clang static analyzer 11256 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11257 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 11258 11259commit c987ef04bea345d5810e60cf6c53b747ddbe910e 11260Author: Jeremy Huddleston <jeremyhu@apple.com> 11261Date: Wed May 4 15:31:17 2011 -0700 11262 11263 Revert "XKB: Avoid a possible NULL dereference" 11264 11265 Sorry for the noise. I accidentally pushed and didn't mean to. =( 11266 11267 This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 11268 11269commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 11270Author: Jeremy Huddleston <jeremyhu@apple.com> 11271Date: Wed May 4 11:35:31 2011 -0700 11272 11273 Dead code removal 11274 11275 XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 11276 for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 11277 ~~~^~~~ 11278 XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 11279 pos= 0; 11280 ^ ~ 11281 11282 Found-by: clang static analyzer 11283 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11284 11285commit 4024091678ea07e0d898b798df9b29f3bf68eb08 11286Author: Jeremy Huddleston <jeremyhu@apple.com> 11287Date: Wed May 4 11:34:53 2011 -0700 11288 11289 XKB: Avoid a possible NULL dereference 11290 11291 XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 11292 _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 11293 ^~~~~~~ 11294 11295 Found-by: clang static analyzer 11296 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11297 11298commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 11299Author: Jeremy Huddleston <jeremyhu@apple.com> 11300Date: Wed May 4 11:21:41 2011 -0700 11301 11302 Annotate _XIOError as _X_NORETURN 11303 11304 Found-by: clang static analyzer 11305 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11306 11307commit d3d7896408b435ab42656398839ff4351a37724d 11308Author: Jeremy Huddleston <jeremyhu@apple.com> 11309Date: Tue May 3 09:32:53 2011 -0700 11310 11311 clang analyzer: Don't warn about Xmalloc(0) 11312 11313 This will prevent a number of false positives in where clang's 11314 static analysis reports about calls to malloc(0). 11315 11316 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11317 11318commit 393921cf2188b2b0713cc157effaf17d0abab783 11319Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11320Date: Thu Apr 21 16:21:04 2011 -0700 11321 11322 Delete special case code to append "/sparcv9" to i18n module path 11323 11324 Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 11325 Inconsistent with all other platforms, and a bit overcomplicated. 11326 11327 Should anyone need to continue using that path, simply build with 11328 a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 11329 11330 Fixes Solaris bug 7038737: 11331 sparcv9 Xlib looking in wrong path for i18n loadable modules 11332 11333 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11334 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 11335 11336commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 11337Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11338Date: Thu Apr 14 13:47:12 2011 -0700 11339 11340 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 11341 11342 Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 11343 11344 https://bugs.freedesktop.org/show_bug.cgi?id=36244 11345 11346 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11347 11348commit b850adbdebcf500c659f85285d4d7374e15857f5 11349Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11350Date: Tue Apr 12 22:30:45 2011 -0700 11351 11352 Convert malloc(strlen()); strcpy() sets to strdup 11353 11354 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11355 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11356 11357commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 11358Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11359Date: Tue Apr 12 21:27:45 2011 -0700 11360 11361 Replace Xmalloc+bzero pairs with Xcalloc calls 11362 11363 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11364 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 11365 11366commit ac1e2bff7121987fd768500a11d428d9fb9447c5 11367Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11368Date: Fri Mar 25 14:47:35 2011 +0200 11369 11370 om: Fix memory leaks on get_font_name error paths. 11371 11372 While at it, remove unneeded check for NULL before Xfree. 11373 11374 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11375 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11376 11377commit 7c362e275c93c92b4e68fe862e73ee36665de703 11378Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11379Date: Wed Mar 30 15:06:10 2011 +0300 11380 11381 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 11382 11383 pScreenData is replaced when building per visual intensity tables. If 11384 malloc failed the old value of pScreenData (stored also in 11385 pScreenDefaultData) was being leaked. Also, property_return wasn't 11386 free'd in that case. 11387 11388 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11389 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11390 11391commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 11392Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11393Date: Wed Mar 30 15:19:28 2011 +0300 11394 11395 xcms: Fix error on LINEAR_RGB_InitSCCData error path. 11396 11397 Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 11398 be accessed after being free'd. 11399 11400 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11401 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11402 11403commit d749948f9492fd9b61c74655a08e32c595e0e3a5 11404Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11405Date: Fri Mar 25 16:06:15 2011 +0200 11406 11407 om: Fix potential memory leak in init_om. 11408 11409 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11410 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11411 11412commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 11413Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11414Date: Thu Mar 24 20:40:41 2011 +0200 11415 11416 om: Fix memory leak on read_EncodingInfo error path. 11417 11418 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11419 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11420 11421commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 11422Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11423Date: Thu Mar 24 19:55:33 2011 +0200 11424 11425 Fix memory leaks on _XimCbDispatch error path. 11426 11427 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11428 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11429 11430commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 11431Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11432Date: Thu Mar 24 19:52:05 2011 +0200 11433 11434 Fix memory leak on _XimCommitRecv error path. 11435 11436 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11437 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11438 11439commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 11440Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11441Date: Thu Mar 24 19:48:44 2011 +0200 11442 11443 Fix memory leaks on _XimWriteCachedDefaultTree error paths. 11444 11445 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11446 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11447 11448commit e29be94edbb58b3b8dab545377a710d1f73b61e0 11449Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11450Date: Thu Mar 24 19:42:36 2011 +0200 11451 11452 Fix memory leaks on _XimGetAttributeID error paths. 11453 11454 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11455 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11456 11457commit d144a50512466766f55ce61e3884925334b08f0d 11458Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11459Date: Thu Mar 24 19:36:56 2011 +0200 11460 11461 Fix memory leaks on _XimProtoCreateIC error paths. 11462 11463 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11464 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11465 11466commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 11467Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11468Date: Thu Mar 24 16:24:29 2011 +0200 11469 11470 Fix leaks in _XimEncodingNegotiation error paths. 11471 11472 name_ptr and detail_ptr weren't free'd in some cases before returning 11473 False. 11474 11475 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11476 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11477 11478commit 396e5a452a59c1f121220ba72167b720a863b30f 11479Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11480Date: Thu Mar 24 14:17:44 2011 +0200 11481 11482 FSWrap: fix potential leak in copy_string_list 11483 11484 If list_count is 0, dst would be allocated and leaked. 11485 11486 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11487 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11488 11489commit 1a944260182bb552b954d69f6355c2760d4415df 11490Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11491Date: Wed Mar 23 14:36:22 2011 +0200 11492 11493 Fix memory leak with broken bitmap files in XReadBitmapFileData 11494 11495 Bitmap file data is read looping through the lines in the input file. If 11496 there is extra data after the bitmap, these lines will be processed and 11497 if this data represents another bitmap it will replace the one read 11498 before causing the memory allocated for bits to leak. 11499 11500 This changes the code to stop processing the file once a bitmap was 11501 read. 11502 11503 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11504 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11505 11506commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 11507Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11508Date: Tue Apr 12 20:50:42 2011 -0700 11509 11510 Fix "attrinute" typo in comments in ximcp 11511 11512 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11513 11514commit 7103b83a88edb9c93acfa68f3b556595b087baff 11515Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11516Date: Fri Apr 8 21:36:11 2011 -0700 11517 11518 Make doc install subdirectories more like the pre-docbook.am paths 11519 11520 Haven't restored the "specs" path in the install path, but have restored 11521 libX11 & i18n subdirectories in the path for better logical grouping. 11522 11523 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11524 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11525 11526commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 11527Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11528Date: Fri Apr 8 13:24:28 2011 -0700 11529 11530 Install xml versions of specs even if HAVE_XMLTO is false 11531 11532 Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 11533 from before docbook.am changes (commit e8c76407d2f6e3) 11534 11535 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11536 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 11537 11538commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 11539Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11540Date: Tue Apr 5 13:29:04 2011 -0700 11541 11542 libX11 1.4.3 11543 11544 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11545 11546commit e8c76407d2f6e3b11babdb84426e43e780c859c3 11547Author: Gaetan Nadon <memsize@videotron.ca> 11548Date: Fri Feb 25 09:23:54 2011 -0500 11549 11550 Documentation: add Docbook external references support 11551 11552 When writing technical documentation, it is often necessary to cross 11553 reference to other information. When that other information is not in the 11554 current document, additional support is needed, namely <olink>. 11555 11556 A new feature with version 1.7 of xorg-sgml-doctools adds references to 11557 other documents within or outside this package. 11558 11559 This patch adds technical support for this feature but does not change 11560 the content of the documentation as seen by the end user. 11561 11562 Each book or article must generate a database containing the href 11563 of sections that can be referred to from another document. This database 11564 is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 11565 the value of DATAROOTDIR for xorg-sgml-doctools and for the package 11566 documentation is the same. This forms a virtual document tree. 11567 11568 This database is consulted by other documents while they are being generated 11569 in order to fulfill the missing information for linking. 11570 Refer to the xorg-sgml-doctools for further technical information. 11571 11572 Co-authored-by: Matt Dew <marcoz@osource.org> 11573 11574 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11575 11576commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 11577Author: Harshula Jayasuriya <harshula@gmail.com> 11578Date: Mon Mar 21 14:49:37 2011 +0000 11579 11580 Add #define XK_SINHALA 11581 11582 Add #define XK_SINHALA so that the Sinhala keysyms can be used by 11583 the lk xkb keymap. 11584 11585 Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 11586 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 11587 11588commit db8b20b789112717ac0590b40f0b4dc2171797d0 11589Author: Jeremy Huddleston <jeremyhu@apple.com> 11590Date: Thu Mar 17 16:15:00 2011 -0700 11591 11592 configure.ac: Bump version to 1.4.2 11593 11594 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 11595 11596commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 11597Author: Jamey Sharp <jamey@minilop.net> 11598Date: Tue Mar 15 16:48:07 2011 -0700 11599 11600 Call _XErrorFunction without holding the Display lock. 11601 11602 Historically, Xlib dropped the Display lock around the upcall to any 11603 user-supplied _XErrorFunction, but somewhere along the way I quit doing 11604 that if you built with XCB. The reasons are lost somewhere in the 11605 pre-git history of Xlib/XCB, and I can't now see any reason to hold the 11606 lock. 11607 11608 The documentation for XSetErrorHandler still applies though: 11609 11610 Because this condition is not assumed to be fatal, it is acceptable 11611 for your error handler to return; the returned value is ignored. 11612 However, the error handler should not call any functions (directly 11613 or indirectly) on the display that will generate protocol requests 11614 or that will look for input events. 11615 11616 So while you are now once again permitted to re-enter Xlib from the 11617 error handler, you're only allowed to call non-protocol functions. 11618 11619 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11620 11621commit fd85aca7a616c595fc17b2520f84316a11e8906f 11622Author: Jamey Sharp <jamey@minilop.net> 11623Date: Mon Mar 14 14:45:35 2011 -0700 11624 11625 Ignore user locks after sleeping in _XReply and _XReadEvents. 11626 11627 This bug appears as a hang in applications that wait for replies from 11628 multiple threads, where one such thread has taken a user lock using 11629 XLockDisplay. 11630 11631 Prior to this fix, the code could deadlock in this way: If thread 1 goes 11632 to sleep waiting for a reply, and then thread 2 takes a user lock and 11633 waits for a reply, then thread 2 will wait for thread 1 to process its 11634 reply (because responses must be processed in order), but thread 1 will 11635 wait for thread 2 to drop its user lock. 11636 11637 Fixed by making thread 1 not wait for thread 2 to drop its user lock. 11638 This makes the semantics of user locks hard to define, but they were 11639 already hard to define. The new behavior appears to be consistent with 11640 the way Xlib worked historically, anyway. 11641 11642 Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 11643 11644 There was a similar potential for deadlock in _XReadEvents, fixed the 11645 same way, with the same caveats about user-lock semantics. 11646 11647 Signed-off-by: Jamey Sharp <jamey@minilop.net> 11648 11649commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 11650Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11651Date: Tue Jan 18 15:58:20 2011 +0200 11652 11653 xkb: XkbPropertyPtr determined allocation success from wrong variables 11654 11655 Cannot reach dead statement "return NULL;" 11656 11657 Check for the NULLness of prop->name and prop->value instead of 11658 name and value, which was checked earlier anyway. Decided against 11659 using strdup due to curious memory allocation functions and the 11660 rest of the xkb not using it either. 11661 11662 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11663 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 11664 11665commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 11666Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11667Date: Mon Jan 10 16:37:22 2011 +0200 11668 11669 keyBind: Use Xcalloc to initialize allocated _XKeytrans 11670 11671 Using uninitialized value "p->modifiers" 11672 11673 Small fix by using Xcalloc instead of Xmalloc 11674 11675 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11676 Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 11677 11678commit b993d73bb3214ecc24646f5427c8003b816c6921 11679Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11680Date: Mon Jan 10 16:22:45 2011 +0200 11681 11682 im/ximcp: release modifiermap before returning 11683 11684 Variable "map" goes out of scope 11685 11686 Release modifiermap before returning. Reordered code to call 11687 XGetModifierMapping after the first return from the function. 11688 11689 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11690 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 11691 11692commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 11693Author: Gaetan Nadon <memsize@videotron.ca> 11694Date: Fri Feb 25 09:23:54 2011 -0500 11695 11696 Docbook: change the book id to match the xml file basename 11697 11698 This is required for the up-coming external references support. 11699 11700 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11701 11702commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 11703Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 11704Date: Mon Feb 21 21:54:17 2011 +0100 11705 11706 Make the Local XIM request key releases for braille 11707 11708 Braille chords management needs key release events. We need to explicitly 11709 request then, else GTK would not pass them throught XFilterEvent and braille 11710 wouldn't work. 11711 11712 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 11713 11714commit c97c42c49cd5095462abecdf908b416fb0b540b6 11715Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 11716Date: Mon Feb 21 17:27:38 2011 +0100 11717 11718 Match braille patterns with compose tree 11719 11720 Braille patterns should also be usable in Compose. This combines the 11721 implementation of braille chords and compose tree: only emit the braille 11722 pattern if it can not be found in the compose tree, if any. 11723 11724 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 11725 11726commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 11727Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 11728Date: Mon Feb 21 15:56:54 2011 +0100 11729 11730 Fix status reporting for braille patterns 11731 11732 _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 11733 convert to the current MB charset. 11734 _XimLocalUtf8LookupString needs to set the braille keysym and status too. 11735 11736 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 11737 11738commit 993abe751f4141f54d8d28b8b73588a1c9085970 11739Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11740Date: Fri Feb 11 14:49:17 2011 -0800 11741 11742 Clean up memory when first XCreateRegion succeeds and second fails 11743 11744 Error: Memory leak (CWE 401) 11745 Memory leak of pointer 's' allocated with XCreateRegion() 11746 at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 11747 's' allocated at line 387 with XCreateRegion(). 11748 s leaks when s != 0 at line 387. 11749 Error: Memory leak (CWE 401) 11750 Memory leak of pointer 'tra' allocated with XCreateRegion() 11751 at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 11752 'tra' allocated at line 1451 with XCreateRegion(). 11753 tra leaks when tra != 0 at line 1451. 11754 11755 [ This bug was found by the Parfait 0.3.6 bug checking tool. 11756 For more information see http://labs.oracle.com/projects/parfait/ ] 11757 11758 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11759 11760commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 11761Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11762Date: Fri Feb 11 14:20:24 2011 -0800 11763 11764 ximcp: Prevent memory leak & double free if multiple %L in string 11765 11766 In the highly unlikely event that TransFileName was passed a path 11767 containing multiple %L entries, for each entry it would call 11768 _XlcFileName, leaking the previous results, and then for each entry it 11769 would copy from that pointer and free it, resulting in invalid pointers 11770 & possible double frees for each use after the first one freed it. 11771 11772 Error: Use after free (CWE 416) 11773 Use after free of pointer 'lcCompose' 11774 at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 11775 Previously freed at line 360 with free. 11776 Error: Use after free (CWE 416) 11777 Use after free of pointer 'lcCompose' 11778 at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 11779 Previously freed at line 360 with free. 11780 Error: Double free (CWE 415) 11781 Double free of pointer 'lcCompose' 11782 at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 11783 Previously freed at line 360 with free. 11784 11785 [ This bug was found by the Parfait 0.3.6 bug checking tool. 11786 For more information see http://labs.oracle.com/projects/parfait/ ] 11787 11788 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11789 11790commit 502d414118c97d35a44f8e295709682022876331 11791Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11792Date: Thu Feb 3 17:08:57 2011 +0200 11793 11794 xcms/cmsProp: don't deal with uninitialized values, fail instead 11795 11796 Properly handle the return value of XGetWindowProperty by considering 11797 if after the loop as well. 11798 11799 Using freed pointer "prop_ret" 11800 11801 There were numerous things wrong in how this function interacted with 11802 XGetWindowProperty. 11803 11804 None of the local variables were initialized and remained that way if 11805 the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 11806 result in after_ret being initialized in which case if it happens to 11807 be 0, the loop was exited. In that case format_ret and nitems_ret were 11808 uninitialized and the function might return with success (but with 11809 uninitialized pointer in prop_ret) or XcmsFailure. 11810 11811 As the buffer enlarging code was called only when XGetWindowProperty 11812 failed (returned not Success), after_ret would not have been 11813 initialized. It would have been initialized only if the 11814 XGetWindowProperty has returned Success earlier, but in that case the 11815 code fragment would not have been reached. 11816 11817 This patch alters the function to return XcmsFailure if the call to 11818 XGetWindowProperty fails. 11819 11820 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11821 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11822 Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 11823 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11824 11825commit c37e278993b9e5b3d7025ef4c434373a011996ec 11826Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11827Date: Mon Jan 31 14:02:07 2011 +0200 11828 11829 xcms/LRGB: don't double-free property_return 11830 11831 property_return was free'd before and in the case the conditional is true, 11832 the call to XcmsGetProperty failed which means that property_return wasn't 11833 set so there is no need to free it again. 11834 11835 Double free of pointer "property_return" in call to "free" 11836 11837 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11838 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11839 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11840 11841commit 50f4107811249806718a100f9d34f996c58e5e25 11842Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11843Date: Wed Feb 2 08:58:45 2011 -0800 11844 11845 Xrm.c: ReadInFile: refactor fstat error handling 11846 11847 We can simplify the fstat failure case now that the GetFileSize macro 11848 has been expanded inline. 11849 11850 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11851 Reviewed-by: Julien Cristau <jcristau@debian.org> 11852 11853commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 11854Author: Alan Coopersmith <alan.coopersmith@oracle.com> 11855Date: Wed Feb 2 08:56:00 2011 -0800 11856 11857 Expand GetSizeOfFile() macro at the one place it's called 11858 11859 Removes XrmI.h header that only contained this single macro 11860 11861 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11862 Reviewed-by: Julien Cristau <jcristau@debian.org> 11863 11864commit 450e17422c0e374d25c643f343ea268cec68da38 11865Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11866Date: Mon Jan 31 14:01:57 2011 +0200 11867 11868 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 11869 11870 Possible overrun of 8192 byte fixed size buffer "buffer" by copying 11871 "ext->name" without length checking 11872 11873 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11874 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11875 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11876 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11877 11878commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 11879Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11880Date: Mon Jan 31 14:02:13 2011 +0200 11881 11882 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 11883 11884 Fixed by zero'ing conv on allocation with Xcalloc. Then 11885 close_converter works properly. 11886 11887 Using uninitialized value "conv->state" in call to function "close_converter" 11888 11889 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11890 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11891 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11892 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11893 11894commit 03f81ad8fb9783986cf9b17661dd31e95c396681 11895Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11896Date: Mon Jan 31 14:02:16 2011 +0200 11897 11898 xlibi18n/lcFile: Removed superfluous check for NULL target_dir 11899 11900 The situation is already handled before this code. 11901 11902 Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 11903 11904 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11905 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11906 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11907 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11908 11909commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 11910Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11911Date: Mon Jan 31 14:02:15 2011 +0200 11912 11913 ximcp/imLckup: Handle negative return value from _Xlcwctomb 11914 11915 Fixed by negative value to memcpy by checking for the negative return 11916 value of _Xlcwctomb and returning 0/XLookupNone in that case. 11917 11918 a negative value was passed to memcpy 11919 11920 Unfortunately the other return values for *status don't fit into the 11921 error (which appears to indicate some internal error or running out of 11922 memory). The other valid status codes are XBufferOverflow, 11923 XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 11924 these has a specific meaning attached. 11925 11926 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11927 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11928 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11929 11930commit 79a5c86e020f08cc108184298a72e2777036de39 11931Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11932Date: Mon Jan 31 14:02:14 2011 +0200 11933 11934 ximcp/imTrX: Handle failing XGetWindowProperty 11935 11936 Checked return value of XGetWindowProperty and return false if it fails. 11937 11938 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 11939 11940 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11941 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11942 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11943 11944commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 11945Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11946Date: Mon Jan 31 14:02:12 2011 +0200 11947 11948 XlibInt: info_list->watch_data was reallocated, but result was discarded 11949 11950 info_list->watch_data was being reallocated, but the return value of 11951 the reallocation was stored only into a local variable. This might 11952 cause some funky behavior and crashes. 11953 11954 Variable "wd_array" goes out of scope 11955 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)))" 11956 11957 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11958 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11959 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11960 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11961 11962commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 11963Author: Erkki Seppälä <erkki.seppala@vincit.fi> 11964Date: Mon Jan 31 14:02:10 2011 +0200 11965 11966 GetProp: Zero-initialized error so its resourceID field is initialized 11967 11968 Using uninitialized value "error.resourceID" in call to function "_XError" 11969 11970 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11971 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11972 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11973 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11974 11975commit 85e9f38e016137f0ff2791eb0d092ab027382d2c 11976Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11977Date: Tue Feb 1 11:07:25 2011 +0200 11978 11979 xcms/LRGB: Add a label for freeing property_return. 11980 11981 The rest of the code uses goto's to free memory allocated later 11982 and prevent memory leaks, but there were several paths were 11983 property_return was free'd just before a goto. 11984 11985 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11986 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11987 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11988 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11989 11990commit 3161dc57d4e9b70f852f05e5e474455e121b06ab 11991Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 11992Date: Mon Jan 31 14:02:08 2011 +0200 11993 11994 xcms/LRGB: Fix potential resource leak. 11995 11996 property_return was not free'd if the allocation of pRedTbl failed. 11997 11998 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 11999 Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12000 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12001 12002commit be3e6c205d94dedc1cdebf5d17b987f0f828377a 12003Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12004Date: Mon Jan 31 14:02:06 2011 +0200 12005 12006 Xrm: Handle the extremely unlikely situation of fstat failing 12007 12008 Tracked variable "size" was passed to a negative sink. 12009 12010 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12011 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12012 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12013 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12014 12015commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 12016Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12017Date: Mon Jan 31 14:02:05 2011 +0200 12018 12019 Xrm: NEWTABLE had a memory leak after a memory allocation error 12020 12021 The NEWTABLE macro missed freeing its allocated memory on subsequent 12022 memory allocation errors. Added call to Xfree. 12023 12024 Variable "table" goes out of scope 12025 12026 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12027 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12028 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12029 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12030 12031commit 7110ac653349a23c80c365f11f6270dc27c8975a 12032Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12033Date: Mon Jan 31 14:02:03 2011 +0200 12034 12035 ImUtil: Handle a memory leak in one early return branch 12036 12037 Fixed memory leak by adding Xfree for image 12038 12039 Variable "image" goes out of scope 12040 12041 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12042 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12043 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12044 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12045 12046commit d695f5da9f5b778e54b6987d9177048e32818c4d 12047Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12048Date: Mon Jan 31 14:02:01 2011 +0200 12049 12050 ximcp/imRm: Handle leaking colormap_ret 12051 12052 Fixed memory leak by adding Xfree for colormap_ret 12053 12054 Variable "colormap_ret" goes out of scope 12055 12056 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12057 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12058 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12059 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12060 12061commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 12062Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12063Date: Mon Jan 31 14:01:59 2011 +0200 12064 12065 ximcp/imRmAttr: Handle leaking missing_list 12066 12067 Fixed memory leak by adding Xfree and initializing missing_list with NULL 12068 12069 Variable "missing_list" goes out of scope 12070 12071 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12072 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12073 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12074 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12075 12076commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 12077Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12078Date: Mon Jan 31 14:01:58 2011 +0200 12079 12080 ximcp/imRmAttr: Handle leaking colormap_ret 12081 12082 XFree colormap_ret and initialize it when appropriate. 12083 12084 Variable "colormap_ret" goes out of scope 12085 12086 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12087 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12088 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12089 12090commit f66a032a937030f2d9baa81744d36dc585bb085c 12091Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12092Date: Mon Jan 31 14:01:56 2011 +0200 12093 12094 xlibi18n/lcGeneric: Initialize uninitialized local variable 12095 12096 Using uninitialized value "new" 12097 12098 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12099 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12100 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12101 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12102 12103commit d0266e06d38110ec908ca28379014eff743630b7 12104Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12105Date: Mon Jan 31 14:01:54 2011 +0200 12106 12107 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 12108 12109 Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 12110 12111 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12112 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12113 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12114 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12115 12116commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 12117Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12118Date: Tue Feb 1 12:30:56 2011 +0200 12119 12120 XDefaultOMIF.c: Fix memory leaks in get_font_name 12121 12122 Instead of copying the value returned by get_prop_name and then releasing it, 12123 directly use the return value of get_prop_name, which allocates memory for the 12124 name. 12125 12126 If get_prop_name returns NULL, continue on to XFreeFont to release the font 12127 before returning the NULL via the normal function return. 12128 12129 Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12130 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12131 12132commit 95796351435d81eaef8166d49ba3a6e7b633d70a 12133Author: Gaetan Nadon <memsize@videotron.ca> 12134Date: Mon Jan 31 14:50:19 2011 -0500 12135 12136 config: comment, minor upgrade, quote and layout configure.ac 12137 12138 Group statements per section as per Autoconf standard layout 12139 Quote statements where appropriate. 12140 Autoconf recommends not using dnl instead of # for comments 12141 12142 Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 12143 Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 12144 12145 This helps automated maintenance and release activities. 12146 Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 12147 12148 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12149 12150commit e994ab227ed28655565c3193e63733630105e7f9 12151Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12152Date: Tue Jan 18 12:49:48 2011 +0200 12153 12154 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 12155 12156 Removed superfluous comparison. 12157 12158 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 12159 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12160 12161commit 4115f051e62f9b098efce691e070d44f09f30f1c 12162Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12163Date: Wed Jan 12 15:51:11 2011 +0200 12164 12165 Variable "entry" tracked as NULL was dereferenced. 12166 12167 Check entry for non-nullness before dereferencing it 12168 12169 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 12170 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12171 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12172 12173commit 0edb76d1d5fdca5a2543332699be2e72386dab24 12174Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12175Date: Thu Jan 27 09:54:00 2011 +0200 12176 12177 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 12178 12179 If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 12180 12181 Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 12182 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12183 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12184 12185commit 59da8a211ef723909d0530c0331d541db8e63378 12186Author: Erkki Seppälä <erkki.seppala@vincit.fi> 12187Date: Mon Jan 10 16:17:47 2011 +0200 12188 12189 Using freed pointer "e" 12190 12191 Reordered code to first to do the comparison and then to release data 12192 12193 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12194 Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 12195 Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 12196 12197commit 0f11c229f7099f7c5aeed4691b358dca151dac7d 12198Author: Matt Dew <marcoz@osource.org> 12199Date: Thu Jan 27 00:31:23 2011 -0700 12200 12201 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 12202 12203 Signed-off-by: Matt Dew <marcoz@osource.org> 12204 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12205 12206commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 12207Author: Gaetan Nadon <memsize@videotron.ca> 12208Date: Fri Jan 28 16:07:07 2011 -0500 12209 12210 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 12211 12212 This silences an Automake warning. 12213 12214 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12215 12216commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 12217Author: Gaetan Nadon <memsize@videotron.ca> 12218Date: Fri Jan 28 14:59:04 2011 -0500 12219 12220 config: remove unrequired AC_HEADER_STDC 12221 12222 Autoconf says: 12223 "This macro is obsolescent, as current systems have conforming 12224 header files. New programs need not use this macro". 12225 12226commit d4483375e37a72631d5821413cb75a423e990ffe 12227Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12228Date: Tue Jan 18 19:37:02 2011 -0800 12229 12230 config: Use correct AC_CONFIG_HEADERS macro 12231 12232 Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 12233 12234 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12235 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12236 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 12237 12238commit c6405fe931f313a0d159bdad00244fc8aae12468 12239Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12240Date: Sun Jan 16 11:55:23 2011 -0800 12241 12242 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 12243 12244 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 12245 AC_PROG_C_C99. This sets gcc with -std=gnu99. 12246 If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 12247 12248 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12249 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12250 12251commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 12252Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12253Date: Sun Jan 16 11:40:59 2011 -0800 12254 12255 Update to xf86bigfontproto >= 1.2.0 header name 12256 12257 Clears compile-time warning of: 12258 "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 12259 "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 12260 12261 Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 12262 passed to configure. 12263 12264 Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 12265 that PKG_CHECK_MODULES does automatically 12266 12267 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12268 Reviewed-by: Julien Cristau <jcristau@debian.org> 12269 12270commit a9228fcc676aacf9a760dd94891c89f9bc82b20d 12271Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12272Date: Tue Jan 11 17:55:22 2011 -0800 12273 12274 libX11 1.4.1 12275 12276 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12277 12278commit 92fa96451af37a7a0f2592de07643fdaed7a9efd 12279Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 12280Date: Mon Jan 3 12:25:28 2011 -0500 12281 12282 Initialize event type 12283 12284 If we receive unsupported event closing connection triggers valgrind 12285 error. 12286 12287 ==12017== Conditional jump or move depends on uninitialised value(s) 12288 ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 12289 ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 12290 *snip* 12291 ==12017== Uninitialised value was created by a heap allocation 12292 ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 12293 ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 12294 ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 12295 ==12017== by 0x4892263: _XReply (xcb_io.c:626) 12296 *snip* 12297 12298 Problem is that XFreeDisplaySturture is checking for qelt->event.type == 12299 GenericEvent while _XUnknownWireEvent doesn't store the type. 12300 12301 Reviewed-by: Adam Jackson <ajax@redhat.com> 12302 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 12303 Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 12304 12305commit fa9747b9d4443eef9b1687b8b1208801f5c585da 12306Author: Fernando Carrijo <fcarrijo.lists@gmail.com> 12307Date: Tue Dec 28 16:18:57 2010 -0500 12308 12309 specs: convert images from gif to svg format. 12310 12311 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12312 12313commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 12314Author: Philipp Reh <sefi@s-e-f-i.de> 12315Date: Wed Dec 22 15:14:05 2010 +0000 12316 12317 Events: Store event cookie when dequeuing event 12318 12319 When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 12320 make sure to store the corresponding cookie too. 12321 12322 Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 12323 Reviewed-by: Daniel Stone <daniel@fooishbar.org> 12324 12325commit d2714d65e85b44abedf5f82e1a31506dba397ef2 12326Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12327Date: Tue Dec 21 18:47:16 2010 -0800 12328 12329 Revert "Mark atom names argument to XInternAtoms as const" 12330 12331 This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 12332 12333 The constification of a pointer to a pointer caused unexpected issues, 12334 and xorg-devel was unable to come up with a clean, safe, reasonable way 12335 to handle them, so we're chalking this up for now as yet another mistake 12336 in the Xlib API definition we'll be living with. 12337 12338 See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 12339 12340 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12341 12342commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 12343Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12344Date: Mon Dec 20 20:54:07 2010 -0800 12345 12346 specs/XKB: make acknowlegement section <preface> instead of <chapter> 12347 12348 Fixes numbering of actual chapters to match their filenames and to 12349 make the table/figure numbering match the references in the text. 12350 12351 Reported-by: jelmd on freenode irc 12352 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12353 12354commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 12355Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12356Date: Sun Dec 19 23:53:02 2010 -0800 12357 12358 Add XKBlib spec images to dist_spec_DATA for distribution & installation 12359 12360 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12361 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12362 12363commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 12364Author: Matt Dew <matt@osource.org> 12365Date: Tue Nov 30 10:52:07 2010 -0500 12366 12367 specs: convert XKBlib spec from Framemaker to DocBook.xml 12368 12369 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12370 12371commit c8701115462b482d99ecff24d9de0f2806084ba5 12372Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12373Date: Sun Nov 21 20:49:05 2010 -0800 12374 12375 Mark atom names argument to XInternAtoms as const 12376 12377 Updates code & docs for XInternAtoms. 12378 12379 The single atom name argument to XInternAtom was already const char * 12380 in the code, but not the docs, so updated it in the docs too. 12381 12382 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12383 Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 12384 12385commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 12386Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12387Date: Sun Nov 21 14:04:32 2010 -0800 12388 12389 libX11 1.4.0 12390 12391 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12392 12393commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 12394Author: Dan Nicholson <dbn.lists@gmail.com> 12395Date: Sat Nov 6 21:58:10 2010 +0000 12396 12397 config: Check host string when deciding architecture to build for 12398 12399 When checking for the OS/2 platform, $target_os is used. However, unless 12400 building a cross compiler, the $host* strings contain the platform 12401 details for the build system. See: 12402 12403 http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 12404 12405 $host_os is already being used to determine the transport and threading 12406 options. 12407 12408 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 12409 Reviewed-by: Julien Cristau <jcristau@debian.org> 12410 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12411 12412commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 12413Author: Dan Nicholson <dbn.lists@gmail.com> 12414Date: Sat Nov 6 21:58:09 2010 +0000 12415 12416 config: Fix architecture check for OS/2 to skip nios2 cpu 12417 12418 The OS/2 platform requires some utility functions as well as having a 12419 non-32 bit wchar_t. Fix the configure check so that it doesn't also 12420 affect the nios2 cpu, which wouldn't influence these operating system 12421 issues. 12422 12423 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 12424 Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 12425 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12426 Reviewed-by: Julien Cristau <jcristau@debian.org> 12427 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12428 12429commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 12430Author: Gaetan Nadon <memsize@videotron.ca> 12431Date: Tue Nov 9 13:04:44 2010 -0500 12432 12433 config: HTML file generation: use the installed copy of xorg.css 12434 12435 Currenlty the xorg.css file is copied in each location 12436 where a DocBook/XML file resides. This produces about 12437 70 copies in the $(docdir) install tree. 12438 12439 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12440 12441commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 12442Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12443Date: Fri Oct 29 22:02:10 2010 -0700 12444 12445 libX11 1.3.99.903 (1.4.0 RC3) 12446 12447 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12448 12449commit 5d245d8013289b13e0c42100951b26166c7fada4 12450Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12451Date: Fri Oct 29 22:01:39 2010 -0700 12452 12453 Require xorg-macros 1.11 now that it is released 12454 12455 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12456 12457commit 1ec89689fc771f116a6165226b9e076f54254a40 12458Author: Dan Nicholson <dbn.lists@gmail.com> 12459Date: Fri Oct 22 19:09:07 2010 -0700 12460 12461 docs: Disable fop documentation by default 12462 12463 fop is used to generate the pdf and ps formats of the documentation. 12464 This can significantly slow down the build, especially when creating all 12465 the compose key charts. Since few people probably want the full set of 12466 doc formats, set the default to 'no'. 12467 12468 The default parameter for XORG_WITH_FOP is only available in recent 12469 macros. Users generating configure from older macros will just get 12470 'auto' as the default. 12471 12472 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 12473 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 12474 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12475 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12476 12477commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 12478Author: Jon TURNEY <jon.turney@dronecode.org.uk> 12479Date: Wed Apr 14 13:38:18 2010 +0100 12480 12481 Add C.UTF-8 and C.ASCII locale aliases 12482 12483 Add C.UTF-8 locale as an alias for en_US.UTF-8 12484 Add C.ASCII locale as an alias for C 12485 12486 (C.UTF-8 is the default locale for cygwin. It also exists in debian, 12487 although I don't think it's intended for use by humans.) 12488 12489 Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 12490 Acked-by: Julien Cristau <jcristau@debian.org> 12491 Reviewed-by: James Cloos <cloos@jhcloos.com> 12492 12493commit 81d1d9a6bdca779a44f931730b866eea75777c00 12494Author: Dan Nicholson <dbn.lists@gmail.com> 12495Date: Sat Oct 9 16:00:47 2010 -0700 12496 12497 docs: Remove directory prerequisites from make rules 12498 12499 Make expects prerequisites to be files with valid timestamps, and 12500 directories are treated as always being out of date. Thus, any targets 12501 depending on directories will always be rebuilt. 12502 12503 Instead, the doc rules are changed to always create the target's leading 12504 directory. This should prevent the documentation from being rebuilt when 12505 "make install" is run. 12506 12507 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 12508 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 12509 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12510 12511commit d0cbf388919364fe6b5b9127f36426eb744090a0 12512Author: Jeremy Huddleston <jeremyhu@apple.com> 12513Date: Sun Sep 26 21:21:16 2010 -0700 12514 12515 Add an "X11_" string to header guards to avoid possible collision 12516 12517 This addresses a build failure which can result from <X11/Xlocale.h> and 12518 <xlocale.h> being included in the same code since they both used the same 12519 _XLOCALE_H_ protection. 12520 12521 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 12522 12523commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 12524Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12525Date: Tue Sep 21 19:53:03 2010 -0700 12526 12527 libX11 1.3.99.902 (1.4.0 RC2) 12528 12529 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12530 12531commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 12532Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12533Date: Tue Sep 14 00:10:31 2010 -0700 12534 12535 Bug 19379 - Provide docs with overview of all compose key combinations 12536 12537 Adds compose-chart.pl to generate DocBook/XML documents listing compose 12538 keys, and Makefile rules to generate HTML & PDF output from them if xmlto 12539 is present. 12540 12541 https://bugs.freedesktop.org/show_bug.cgi?id=19379 12542 12543 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12544 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 12545 Reviewed-by: James Cloos <cloos@jhcloos.com> 12546 Tested-by: Gaetan Nadon <memsize@videotron.ca> 12547 12548commit 3eb064071695ebf0f371163ed818a428dfeba8e6 12549Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12550Date: Sat Sep 11 00:49:21 2010 -0700 12551 12552 Make locale data build non-recursive / parallelizable 12553 12554 On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 12555 plus this simplifies the next set of changes. 12556 12557 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12558 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 12559 Reviewed-by: James Cloos <cloos@jhcloos.com> 12560 Tested-by: Gaetan Nadon <memsize@videotron.ca> 12561 12562commit a3fc78ac352e5a70a958996ef6aec50f653974d1 12563Author: Gaetan Nadon <memsize@videotron.ca> 12564Date: Fri Sep 17 17:38:11 2010 -0400 12565 12566 config: remove man page suffix from bottom summary 12567 12568 The man page suffix is the same for all libraries on a given 12569 platform and is not configurable. It should have been removed 12570 in commit 09edc6de6. 12571 12572 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12573 12574commit a52b0068f36c739eb7e426214cd72a8d9bb776ca 12575Author: Gaetan Nadon <memsize@videotron.ca> 12576Date: Fri Sep 17 17:29:30 2010 -0400 12577 12578 config: remove unhelpful comment in .gitignore 12579 12580 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12581 12582commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 12583Author: Adam Jackson <ajax@redhat.com> 12584Date: Wed Sep 8 10:44:23 2010 -0400 12585 12586 Zero buffer data in BufAlloc() 12587 12588 Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 12589 compress better with ssh and friends. Note that you'll need to rebuild 12590 all your protocol libraries to take advantage of this. 12591 12592 Signed-off-by: Adam Jackson <ajax@redhat.com> 12593 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 12594 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12595 12596commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 12597Author: James Cloos <cloos@jhcloos.com> 12598Date: Sun Sep 12 17:00:54 2010 -0400 12599 12600 Revert “Dolt-ify" 12601 12602 Libtool’s is now sufficiently fast that DOLT is no longer 12603 worth the bother, even on those few systems where is works. 12604 12605 This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 12606 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 12607 12608 It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 12609 which moved dolt from configure.ac to m4/dolt.m4. 12610 12611 And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 12612 12613 Signed-off-by: James Cloos <cloos@jhcloos.com> 12614 12615commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 12616Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12617Date: Thu Sep 9 19:24:29 2010 -0700 12618 12619 XIM spec title page minor formatting cleanup 12620 12621 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12622 12623commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 12624Author: Jens Petersen <petersen@redhat.com> 12625Date: Mon Aug 23 18:08:10 2010 -0700 12626 12627 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 12628 12629 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 12630 12631 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12632 12633commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 12634Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12635Date: Fri Sep 3 23:11:53 2010 -0700 12636 12637 Sun's copyrights are now owned by Oracle 12638 12639 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12640 12641commit 7742bf62b1fa652da4270587e280249945367cae 12642Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12643Date: Fri Sep 3 18:31:44 2010 -0700 12644 12645 libX11 1.3.99.901 (1.4.0 RC1) 12646 12647 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12648 12649commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 12650Author: Jeroen Hoek <mail@jeroenhoek.nl> 12651Date: Sun Aug 29 09:47:06 2010 -0400 12652 12653 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 12654 12655 Add LATIN CAPITAL LETTER SHARP S 12656 (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 12657 12658 Signed-off-by: James Cloos <cloos@jhcloos.com> 12659 12660commit 09edc6de6619a2eabda3b808ebff4165550664f1 12661Author: Gaetan Nadon <memsize@videotron.ca> 12662Date: Fri Aug 13 14:21:08 2010 -0400 12663 12664 config: remove man-pages configuration option 12665 12666 This option was added in commit 6e752ea120 with no explanation. 12667 The section number is provoded by XORG_MANPAGE_SECTIONS 12668 There is no case where libX11 should be different than other libs 12669 The option was also used to disable building of the man pages, 12670 which build in 14 secs. No indication this is required. 12671 12672 If there is a requirement from system builders to disable building 12673 of man pages, it could be done consistently for all modules. 12674 12675 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12676 12677commit f92e754297ec5fdb81068b56a4435026666224fa 12678Author: Aaron Plattner <aplattner@nvidia.com> 12679Date: Sun Aug 15 21:51:38 2010 -0700 12680 12681 XOpenDisplay: save the correct display_name value 12682 12683 The X Test Suite's XDisplayString test checks the invariant 12684 XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 12685 invariant by expanding str to the canonical form "host:display.scrn" (unless 12686 HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 12687 to ":1.0": 12688 12689 400|26 1 1 19:26:41|IC Start 12690 200|26 1 19:26:41|TP Start 12691 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 12692 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 12693 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 12694 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 12695 520|26 1 00032625 1 5|value used as the display argument. 12696 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 12697 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 12698 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 12699 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 12700 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 12701 220|26 1 1 19:26:41|FAIL 12702 410|26 1 1 19:26:41|IC End 12703 12704 Fix this by deleting all of the code to construct the canonical path and just 12705 stashing a copy of the original display_name in dpy->display_name. 12706 12707 Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 12708 Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 12709 12710commit 1dc401f678469d0235e6d0b28eb4356f03327c9f 12711Author: Gaetan Nadon <memsize@videotron.ca> 12712Date: Fri Aug 13 13:06:51 2010 -0400 12713 12714 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 12715 12716 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12717 12718commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 12719Author: Gaetan Nadon <memsize@videotron.ca> 12720Date: Fri Aug 13 11:42:29 2010 -0400 12721 12722 man: simplify building of shadow man pages 12723 12724 Store the shadow files in git as any other man page. 12725 Move man pages to man dir and use the common makefile 12726 12727 Local fix in CVS for bug 5628 is not required 12728 as the problem has been fixed in 12729 util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 12730 12731 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12732 12733commit bfd899c9af2318ecbe84cb69007dba4223fdb502 12734Author: Gaetan Nadon <memsize@videotron.ca> 12735Date: Mon Aug 9 09:39:26 2010 -0400 12736 12737 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 12738 12739 in commit 76e07ef6911734eac418e399b114f1b544512736. 12740 12741 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12742 12743commit 76e07ef6911734eac418e399b114f1b544512736 12744Author: Gaetan Nadon <memsize@videotron.ca> 12745Date: Fri Aug 6 14:01:51 2010 -0400 12746 12747 man: using the C preprocessor is not required for man pages. 12748 12749 There were no special symbols needing cpp. 12750 Everything can be handled by the default MAN_SUBSTS in util-macros. 12751 12752 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12753 12754commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 12755Author: Jamey Sharp <jamey@minilop.net> 12756Date: Fri Aug 6 15:51:56 2010 -0700 12757 12758 Fix use-after-free in _XReply on X errors. 12759 12760 _XReply would always call dequeue_pending_request on errors. When it 12761 got an error for the current request, it would call dequeue, then break 12762 out of the loop; then, if it had an error in the event queue, it would 12763 compare it with the sequence number of the now-freed pending request. 12764 _XReply already stored that sequence number in dpy->last_request_read 12765 before freeing it, so look at that instead. 12766 12767 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 12768 12769 Signed-off-by: Jamey Sharp <jamey@minilop.net> 12770 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 12771 12772commit 9fa146b30046396b70d64986e50d6617b3a8ac48 12773Author: Gaetan Nadon <memsize@videotron.ca> 12774Date: Sat Jul 31 16:15:35 2010 -0400 12775 12776 specs: xsl stylesheet requires abs path to images 12777 12778 Using abs_builddir requires automake 1.10 or later. 12779 12780 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12781 12782commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 12783Author: Gaetan Nadon <memsize@videotron.ca> 12784Date: Sun Aug 1 14:13:07 2010 -0400 12785 12786 specs: update .gitignore now that all groff generated files are gone 12787 12788 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12789 12790commit f70527f05677aaf6a493ba42d2d95f738aaebafa 12791Author: Adam Jackson <ajax@redhat.com> 12792Date: Thu Jul 29 11:11:21 2010 -0400 12793 12794 nls: Switch one of the interrobang sequences to gnaborretni 12795 12796 Since gnaborretni is primarily used in LTR locales, the ? part of the 12797 sequence reflects the position of the bulge in the ?. When scanning an 12798 inverted interrobang left-to-right, you see the bulge first, so the 12799 compose sequence ?! is used; upright interrobang shows the bulge 12800 last, so it's !?. 12801 12802 This is a change in behaviour, but I was unable to come up with anything 12803 better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 12804 would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 12805 Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 12806 ~!? and ~?! were considered but are arguably less intuitive. 12807 12808 Reviewed-by: James Cloos <cloos@jhcloos.com> 12809 Signed-off-by: Adam Jackson <ajax@redhat.com> 12810 12811commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 12812Author: Gaetan Nadon <memsize@videotron.ca> 12813Date: Wed Jul 28 10:27:39 2010 -0400 12814 12815 specs: move indexterm from glossdef to glossterm 12816 12817 This move fixes a Java class cast exception in the glossary. 12818 The problem was introduced in commit 12819 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 12820 12821 It may not happen on all versions of the doc toolchain. 12822 There is no reason why indexterm cannot appear in glossdef, 12823 this is a workaround to an implementation problem found by 12824 trial and error. 12825 12826 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12827 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12828 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12829 12830commit 87a108f3aa565aa803dacb3a53b811f45025b609 12831Author: Matt Dew <matt@osource.org> 12832Date: Sat Jul 24 14:46:57 2010 -0400 12833 12834 specs: replace troff source with docbook-xml source 12835 12836 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12837 12838commit 8e603413586ff42b1351688f6f99318cbe243bca 12839Author: Julien Cristau <jcristau@debian.org> 12840Date: Sat Jul 24 22:13:07 2010 +0200 12841 12842 Compose.man: default user compose file is .XCompose, not .Xcompose 12843 12844 The path was correct in the DESCRIPTION section, but not in FILES. 12845 12846 Signed-off-by: Julien Cristau <jcristau@debian.org> 12847 12848commit 554da76ece85d0fc0cada45a86860e69c2107e9a 12849Author: Daniel Stone <daniel@fooishbar.org> 12850Date: Tue Jul 20 12:34:48 2010 +0100 12851 12852 NLS: Add \o/ Compose sequence 12853 12854 Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 12855 to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 12856 12857 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12858 12859commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 12860Author: Daniel Stone <daniel@fooishbar.org> 12861Date: Fri Jul 9 18:13:13 2010 +0100 12862 12863 XStringToKeysym: Cope with 0x1234cafe-style input 12864 12865 If we get input in the style of 0xdeadbeef, just return that exact 12866 keysym. Introduces a dependency on strtoul, which I'm told is OK on all 12867 the systems we care about. 12868 12869 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 12870 12871commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 12872Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12873Date: Mon Jul 19 17:58:27 2010 -0700 12874 12875 specs/libX11: Fix column count of Gravity Attributes table 12876 12877 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12878 12879commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 12880Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12881Date: Mon Jul 19 14:43:38 2010 -0700 12882 12883 specs/libX11: Convert \- to − and \^ to either   or removed 12884 12885 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12886 12887commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 12888Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12889Date: Mon Jul 19 11:28:50 2010 -0700 12890 12891 specs/libX11: Manual cleanup pass over Ch. 1 12892 12893 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12894 12895commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 12896Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12897Date: Mon Jul 19 14:51:10 2010 -0700 12898 12899 specs/libX11: make sure all files have DOCTYPEs so standard entities work 12900 12901 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12902 12903commit c944a8521f5760b485192658b921145159cdb439 12904Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12905Date: Sun Jul 18 13:12:20 2010 -0700 12906 12907 specs/libX11: Fix up list of header files in Ch.1 & add index entries 12908 12909 Combination of manual editing and automatic substitution via: 12910 12911 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 12912 12913 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12914 12915commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 12916Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12917Date: Sun Jul 18 12:47:27 2010 -0700 12918 12919 specs/libX11: Add indexterms for headerfiles that .hN used to provide 12920 12921 Automatic substitution performed via: 12922 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 12923 12924 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12925 12926commit d0b0d215cb85da48b323b1392149ce181e7ef5ec 12927Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12928Date: Fri Jul 16 21:15:13 2010 -0700 12929 12930 specs/libX11: convert multicolumn lists from tables to <simplelist> 12931 12932 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12933 12934commit e679f80c6210c0aefe3669f8f536353619097a4b 12935Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12936Date: Fri Jul 16 20:51:52 2010 -0700 12937 12938 specs/libX11: Tag WM_* as <property> 12939 12940 Mass substitution done by: 12941 perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 12942 12943 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12944 12945commit c7b7e59b3b22221d0be6286c540001c360308f69 12946Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12947Date: Fri Jul 16 20:41:33 2010 -0700 12948 12949 specs/libX11: Convert simpler eqn markup to docbook tags 12950 12951 Mostly "sup" to <superscript> 12952 12953 There's several more complicated equations that will probably need 12954 MathML or SVG to solve. 12955 12956 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12957 12958commit 897486c54c6a54771867d667441aaf9a4b9c35ca 12959Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12960Date: Fri Jul 16 00:50:39 2010 -0700 12961 12962 specs/libX11: App. D: convert literallayouts to synopsis or programlisting 12963 12964 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12965 12966commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 12967Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12968Date: Fri Jul 16 00:36:43 2010 -0700 12969 12970 specs/libX11: Fix section headers in Appendix D 12971 12972 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12973 12974commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 12975Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12976Date: Wed Jul 14 07:22:26 2010 -0700 12977 12978 specs/libX11: Explicitly tag document as English 12979 12980 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12981 12982commit 6783544706ff370e900c137f951e90230586d6dc 12983Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12984Date: Mon Jul 12 22:03:18 2010 -0700 12985 12986 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 12987 12988 Fixes display of a bunch of function prototypes and sample code 12989 12990 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12991 12992commit 8834cd9285e6aaf437aee56292c508d99a090fa9 12993Author: Alan Coopersmith <alan.coopersmith@oracle.com> 12994Date: Mon Jul 12 18:37:16 2010 -0700 12995 12996 xmlrules.in: Add chunked-html rule to manually generate smaller files 12997 12998 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12999 13000commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 13001Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13002Date: Mon Jul 12 18:35:59 2010 -0700 13003 13004 specs/libX11: Convert Appendix A tables to real tables 13005 13006 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13007 13008commit 705a1257a8a47f4a1f94979aee09a837500ede7d 13009Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13010Date: Mon Jul 12 18:38:09 2010 -0700 13011 13012 specs/libX11: Fix out-of-place text in Chapter 1 13013 13014 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 13015 13016 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13017 13018commit a151346a2b7810e988f1de4b1e00b37672dc587a 13019Author: Jeremy Huddleston <jeremyhu@apple.com> 13020Date: Mon Jul 12 16:52:12 2010 -0700 13021 13022 launchd: Explicitly search /sbin 13023 13024 Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 13025 https://bugs.freedesktop.org/show_bug.cgi?id=29028 13026 13027 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 13028 13029commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 13030Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13031Date: Mon Jul 12 13:38:04 2010 -0700 13032 13033 Replace untranslated .hN macros with <filename> tags to show header names 13034 13035 Translation performed by: 13036 perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 13037 {<<filename class="headerfile">$1</filename>>$2}' *.xml 13038 13039 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13040 13041commit 75480440946603b8efdbbf78b88d59c641b6d2c8 13042Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13043Date: Sat Jul 10 00:06:13 2010 -0700 13044 13045 specs/libX11: Mass substitution of <function> tags with more specific tags 13046 13047 Matched names from X headers & "nm libX11.so" output to names in spec to 13048 map to more specific tags. Tags used: 13049 13050 <code> code fragments 13051 <constant> enum values 13052 <errorname> X protocol errors 13053 <filename> filenames 13054 <function> functions 13055 <function> function-like macros (#define foo(a,b)...) 13056 <returnvalue> function return codes 13057 <structfield> struct members 13058 <structname> struct names (even when typedefed) 13059 <symbol> simple value #defines (#define NAME value) 13060 <systemitem> X protocol requests 13061 <systemitem class="event"> X protocol events 13062 <type> non-struct typedefs 13063 <varname> global variables 13064 13065 (Also fixed a couple typos detected by failures of this matching, such as 13066 XESSetPrintErrorValues -> XESetPrintErrorValues.) 13067 13068 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13069 13070commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 13071Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13072Date: Fri Jul 9 00:37:23 2010 -0700 13073 13074 specs/libX11: Glossary cross-reference links 13075 13076 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13077 13078commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 13079Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13080Date: Thu Jul 8 21:19:08 2010 -0700 13081 13082 specs/libX11: Make whitespace around <function> tags more uniform 13083 13084 Simplifies regular expressions for further mass substitutions. 13085 13086 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13087 13088commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 13089Author: Gaetan Nadon <memsize@videotron.ca> 13090Date: Fri Jul 9 20:10:37 2010 -0400 13091 13092 specs: use pattern rules rather than suffix rules 13093 13094 This allows target to rebuild when included .xml files are changed. 13095 13096 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13097 13098commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 13099Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13100Date: Thu Jul 8 20:56:41 2010 -0700 13101 13102 specs/libX11: Move punctuation outside of the <function> tags 13103 13104 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13105 13106commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 13107Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13108Date: Thu Jul 8 20:42:50 2010 -0700 13109 13110 specs/libX11: Mark a number of <acronym>s 13111 13112 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13113 13114commit d5bbb12f55ac9f691eab6242cedc53207275131b 13115Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13116Date: Thu Jul 8 19:31:36 2010 -0700 13117 13118 specs/libX11: Glossary terms should not be marked as functions 13119 13120 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13121 13122commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 13123Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13124Date: Thu Jul 8 19:28:18 2010 -0700 13125 13126 specs/libX11: Clean up author list & acknowledgements a little 13127 13128 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13129 13130commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 13131Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13132Date: Thu Jul 8 17:30:34 2010 -0700 13133 13134 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 13135 13136 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13137 13138commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 13139Author: Gaetan Nadon <memsize@videotron.ca> 13140Date: Thu Jul 8 17:29:21 2010 -0400 13141 13142 specs: specdir is required to install xml files 13143 13144 The source is installed as well as the targets. 13145 This failed when configuring with --without-xmlto 13146 13147 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13148 13149commit e14273f44c1501ab51db4adcb83b18a1073787d8 13150Author: Matt Dew <matt@osource.org> 13151Date: Thu Jul 8 14:42:32 2010 -0400 13152 13153 specs: replace troff source with docbook-xml source 13154 13155 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13156 13157commit bea0873caf50e9ed1b89255775d9ab912cbecd45 13158Author: Daniel Stone <daniel@fooishbar.org> 13159Date: Thu Jul 8 16:49:51 2010 +0100 13160 13161 XStringToKeysym: Check strdup() return value 13162 13163 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13164 Reviewed-by: Keith Packard <keithp@keithp.com> 13165 13166commit cffa71b4a5743e2b6675b9a917d15aef4177d513 13167Author: Marko Myllynen <myllynen@redhat.com> 13168Date: Mon Jun 28 15:08:05 2010 +0300 13169 13170 Fix two typos in SFS 5966 Annex 3 13171 13172 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 13173 13174 Signed-off-by: Julien Cristau <jcristau@debian.org> 13175 13176commit eb023c0f8919e809b8b609e1467b14d20a290aa7 13177Author: Daniel Stone <daniel@fooishbar.org> 13178Date: Tue Jun 15 18:49:43 2010 +0100 13179 13180 Delete now-redundant XKeysymDB 13181 13182 Since XStringToKeysym now supports all the vendor keysyms, just delete 13183 our XKeysymDB, which was incomplete at best, misleading at worst, and 13184 always an annoyance. 13185 13186 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13187 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13188 13189commit 00175397480b76d32bf82b0c7c94c91a2a95954e 13190Author: Daniel Stone <daniel@fooishbar.org> 13191Date: Tue Jun 15 18:48:48 2010 +0100 13192 13193 makekeys: Scan vendor keysyms as well as core 13194 13195 Since we can't really live without vendor keysyms, scan them all in to 13196 generate ks_tables.h, rather than only doing the core ones, and leaving 13197 the vendor syms to be manually synchronised with XKeysymDB. 13198 13199 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13200 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13201 13202commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 13203Author: Daniel Stone <daniel@fooishbar.org> 13204Date: Tue Jun 15 18:47:37 2010 +0100 13205 13206 XStringToKeysym: Special case for XF86 keysyms 13207 13208 Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 13209 XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 13210 found our XF86_foo, try it again as XF86foo. 13211 13212 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13213 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13214 13215commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 13216Author: Daniel Stone <daniel@fooishbar.org> 13217Date: Tue Jun 15 17:20:48 2010 +0100 13218 13219 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 13220 13221 AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 13222 namespace, so start using the more proper AX_DEFINE_DIR instead. 13223 13224 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 13225 Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 13226 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13227 13228commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 13229Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 13230Date: Thu Jul 1 06:50:47 2010 -0300 13231 13232 Purge macros NEED_EVENTS and NEED_REPLIES 13233 13234 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 13235 Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 13236 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13237 13238commit 0b724231be17f19538ee115a03b82b221b1f83c0 13239Author: Adam Jackson <ajax@redhat.com> 13240Date: Wed Jun 30 16:30:49 2010 -0400 13241 13242 Use -version-number consistently instead of -version-info 13243 13244 The latter is libtool braindamage. 13245 13246 Signed-off-by: Adam Jackson <ajax@redhat.com> 13247 13248commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 13249Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 13250Date: Tue Jun 29 18:32:42 2010 +0200 13251 13252 Make Compose-comma map to ogonek for I and U in UTF-8 locales. 13253 13254 With the preceding patch, it makes the UTF-8 compose map consistent with 13255 the ISO 8859-4 and -13 maps. 13256 13257commit af55e582f485a668c2bf43129be972bc65f03c60 13258Author: Juliusz Chroboczek <jch@pps.jussieu.fr> 13259Date: Tue Jun 29 18:20:18 2010 +0200 13260 13261 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 13262 13263 This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 13264 as far as Polish is concerned. We only sacrifice one pair of characters, 13265 e-cedilla, which is not used in any language. 13266 13267commit d6ba13009fc9ef876a104b907ffef73c6e405d4b 13268Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13269Date: Thu Jun 24 13:13:11 2010 -0700 13270 13271 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 13272 13273 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13274 13275commit 978c7238789037de917b9423ea9adfb006da1260 13276Author: Jamey Sharp <jamey@minilop.net> 13277Date: Sat Jun 19 10:44:55 2010 -0700 13278 13279 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 13280 13281 Don't lose async replies. That's bad. 13282 13283 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 13284 _XReply path worked; that path waited for replies, rather than polling. 13285 13286 However, XRecordProcessReplies, which does nothing but call XPending, 13287 relied on the event-handling path to process async replies, and that was 13288 busted. 13289 13290 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 13291 13292 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13293 13294commit ef67486c5a8aada24fd95b2991a3c4979f53805f 13295Author: Jamey Sharp <jamey@minilop.net> 13296Date: Mon Jun 21 13:34:15 2010 -0700 13297 13298 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 13299 13300 This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 13301 a matter of fact, if poll_for_response returns NULL when we know 13302 dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 13303 request. 13304 13305commit 301ec5b41e9d253a446db656e1789ac7345dc433 13306Author: Jamey Sharp <jamey@minilop.net> 13307Date: Mon Jun 21 13:24:24 2010 -0700 13308 13309 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 13310 13311 This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 13312 need to check poll_for_event every time through the loop in 13313 poll_for_response, so the commit did too much. 13314 13315commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 13316Author: Jamey Sharp <jamey@minilop.net> 13317Date: Mon Jun 21 10:54:02 2010 -0700 13318 13319 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 13320 13321 Fixes the second bug reported in: 13322 https://bugs.freedesktop.org/show_bug.cgi?id=28595 13323 13324 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13325 13326commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 13327Author: Jamey Sharp <jamey@minilop.net> 13328Date: Sat Jun 19 10:44:55 2010 -0700 13329 13330 poll_for_response: Really handle xcb_poll_for_reply getting a reply. 13331 13332 Don't lose async replies. That's bad. 13333 13334 `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 13335 _XReply path worked; that path waited for replies, rather than polling. 13336 13337 However, XRecordProcessReplies, which does nothing but call XPending, 13338 relied on the event-handling path to process async replies, and that was 13339 busted. 13340 13341 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 13342 13343 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13344 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 13345 13346commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 13347Author: Marko Myllynen <myllynen@redhat.com> 13348Date: Sun Jun 13 19:23:05 2010 +0300 13349 13350 Implement SFS 5966 Annex 4 for Finland 13351 13352 This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 13353 Annex 3 (which were actually copied verbatim from the standard text). 13354 13355 The implementation of the standard is now complete. 13356 13357 X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 13358 13359 Signed-off-by: Julien Cristau <jcristau@debian.org> 13360 13361commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 13362Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13363Date: Fri Jun 4 13:20:17 2010 -0700 13364 13365 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 13366 13367 One of the malloc failure checks had a goto to the wrong spot in the 13368 list of cleanup free() calls to unwind at the end, and was freeing 13369 bits that hadn't been initialized/allocated yet, since they would be 13370 stored in the struct that just failed to be allocated. 13371 13372 Error: Null pointer dereference (CWE 476) 13373 Read from pointer that could be constant 'NULL' 13374 at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 13375 Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 13376 13377 [ This bug was found by the Parfait bug checking tool. 13378 For more information see http://research.sun.com/projects/parfait ] 13379 13380 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13381 13382commit aebbf3623888119b43893b253195d93b613a6e1e 13383Author: Josh Triplett <josh@joshtriplett.org> 13384Date: Sun Jun 6 19:11:55 2010 -0700 13385 13386 Mark the rest of Xprivate.h as _X_HIDDEN. 13387 13388 None of the functions in Xprivate.h should have any callers outside of 13389 Xlib, by definition. 13390 13391 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 13392 Suggested-by: Jamey Sharp <jamey@minilop.net> 13393 Reviewed-by: Jamey Sharp <jamey@minilop.net> 13394 13395commit abcd1b67c8135ad652833e5a60d818837c39fce1 13396Author: Julien Cristau <jcristau@debian.org> 13397Date: Fri Jun 4 13:57:45 2010 +0200 13398 13399 Hide _XSeqSyncFunction 13400 13401 Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 13402 non-static, but we don't need to export it. 13403 13404 Signed-off-by: Julien Cristau <jcristau@debian.org> 13405 Reviewed-by: Adam Jackson <ajax@redhat.com> 13406 Reviewed-by: Jamey Sharp <jamey@minilop.net> 13407 13408commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 13409Author: Josh Triplett <josh@joshtriplett.org> 13410Date: Thu Jun 3 09:41:01 2010 -0700 13411 13412 Remove support for building without XCB 13413 13414 And there was much rejoicing. 13415 13416 Signed-off-by: Josh Triplett <josh@joshtriplett.org> 13417 Reviewed-by: Jamey Sharp <jamey@minilop.net> 13418 13419 Consensus on #xorg-devel agrees with removing --without-xcb; in 13420 particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 13421 Julien Cristau, and Rémi Cardona. 13422 13423commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 13424Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13425Date: Thu Jun 3 15:21:40 2010 -0700 13426 13427 libX11 1.3.4 13428 13429 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13430 13431commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 13432Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13433Date: Thu Jun 3 13:08:17 2010 -0700 13434 13435 Workaround bug in groff flag processing that breaks distcheck 13436 13437 At least with the groff 1.19.2 package I have installed, groff passes 13438 on the -I flags for the include path to grohtml, which if they come 13439 after the -P-I... flag we pass to grohtml to specify the image file 13440 name pattern cause it to override that flag and put the images in 13441 the wrong place, breaking "make distcheck" - changing the flag order 13442 works around this. 13443 13444 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13445 13446commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 13447Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13448Date: Thu Jun 3 11:25:33 2010 -0700 13449 13450 Fix typo that made configure always report "none" for man page suffix 13451 13452 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13453 13454commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 13455Author: Paul Bender <pebender@gmail.com> 13456Date: Thu Jun 3 11:20:26 2010 -0700 13457 13458 Bug 22591 - configure does not obey the --enable-*-transport options 13459 13460 https://bugs.freedesktop.org/show_bug.cgi?id=22591 13461 13462 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13463 13464commit d7f35946d673bb00f2768e025b6e1017422b2174 13465Author: Paul Bender <pebender@gmail.com> 13466Date: Thu Jun 3 11:17:45 2010 -0700 13467 13468 Bug 22590 - libX11 1.2.1 has broken abstract namespace support 13469 13470 https://bugs.freedesktop.org/show_bug.cgi?id=22590 13471 13472 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13473 13474commit b2487d07f7b355f230a56e32c763acd08862735c 13475Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13476Date: Thu Jun 3 11:06:15 2010 -0700 13477 13478 Bug 22584 - libX11 does not cross compile 13479 13480 Adaptation of patch submitted by Paul Bender in attachment 27301 to 13481 https://bugs.freedesktop.org/show_bug.cgi?id=22584 13482 13483 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13484 Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 13485 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 13486 13487commit 4378219ff8c1418418c70086085358b69d574e74 13488Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13489Date: Tue Jun 1 18:55:48 2010 -0700 13490 13491 Clarify requirements in XRestackWindows man page 13492 13493 The required common parent window is not specified in the arguments, 13494 just implied as the parent of the first window in the list. 13495 13496 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13497 13498commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 13499Author: Jeremy Huddleston <jeremyhu@apple.com> 13500Date: Wed May 12 16:42:18 2010 -0700 13501 13502 xcb: Add TCP fallback 13503 13504 If we fail to connect to a UNIX socket and the transport isn't specified, 13505 fallback on TCP. This matches behavior with the xtrans codepath and the 13506 Xlib spec. 13507 13508 http://lists.x.org/archives/xorg-devel/2010-April/007915.html 13509 13510 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 13511 Reviewed-by: Jamey Sharp <jamey@minilop.net> 13512 13513commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 13514Merge: aae2a4a7 933aee1d 13515Author: Jamey Sharp <jamey@minilop.net> 13516Date: Mon May 10 16:51:24 2010 -0700 13517 13518 Merge branch 'xlib-xcb-thread-fixes' 13519 13520commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 13521Author: Jeremy Huddleston <jeremyhu@apple.com> 13522Date: Fri Apr 23 21:50:29 2010 -0700 13523 13524 Don't append the screen number when using a launchd socket 13525 13526 ssh gets confused by this. XQuartz is the only DDX using this 13527 functionality, and it doesn't support different screens, so 13528 let's just not include this until most ssh know how to handle 13529 this. 13530 13531 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 13532 13533commit adcd0ec209abf832a769d52db660fb37eaad6e0c 13534Author: Jeremy Huddleston <jeremyhu@apple.com> 13535Date: Fri Apr 23 16:33:44 2010 -0700 13536 13537 Remove launchd logic from _XConnectXCB as it's handled in XCB 13538 13539 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 13540 13541commit d232b259c36fdde1f4179822809fec1480867dc5 13542Author: Jeremy Huddleston <jeremyhu@apple.com> 13543Date: Tue Feb 2 17:01:28 2010 -0800 13544 13545 Fix various build warnings 13546 13547 imLcIm.c: In function '_XimCachedFileName': 13548 imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 13549 imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 13550 13551 imRm.c: In function '_XimDefaultArea': 13552 imRm.c:597: warning: cast from pointer to integer of different size 13553 imRm.c: In function '_XimDefaultColormap': 13554 imRm.c:626: warning: cast from pointer to integer of different size 13555 13556 lcFile.c:224: warning: no previous prototype for 'xlocaledir' 13557 13558 lcUTF8.c: In function 'iconv_cstombs': 13559 lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 13560 lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 13561 lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 13562 lcUTF8.c: In function 'iconv_mbstocs': 13563 lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 13564 lcUTF8.c: In function 'iconv_mbtocs': 13565 lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 13566 lcUTF8.c: In function 'iconv_mbstostr': 13567 lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 13568 lcUTF8.c: In function 'iconv_strtombs': 13569 lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 13570 lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 13571 lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 13572 lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 13573 lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 13574 lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 13575 lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 13576 lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 13577 lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 13578 13579 XlibInt.c: In function '_XGetHostname': 13580 XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 13581 XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 13582 13583 ConnDis.c: In function '_XDisconnectDisplay': 13584 ConnDis.c:540: warning: old-style function definition 13585 ConnDis.c: In function '_XSendClientPrefix': 13586 ConnDis.c:554: warning: old-style function definition 13587 ConnDis.c: In function 'XSetAuthorization': 13588 ConnDis.c:677: warning: old-style function definition 13589 13590 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 13591 13592commit 3e11c73187acb2e2be9a812840bbbea947527ccb 13593Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 13594Date: Fri Apr 23 00:01:54 2010 +0200 13595 13596 Allow X11 users to compose anarchism 13597 13598 I can easily compose the hammer and sickle (the symbol representative 13599 of communism) by pressing the key sequence: 13600 13601 <Compose> <C> <C> <C> <P> -> ☭ 13602 13603 But i can't easily make the circled A (the symbol representative of 13604 anarchism). 13605 13606 I'd like to be able to use <Compose> <O> <A> (this is a 13607 currently unused key sequence) to generate the symbol: Ⓐ 13608 13609 Debian bug#555938 <http://bugs.debian.org/555938> 13610 13611 Signed-off-by: Julien Cristau <jcristau@debian.org> 13612 13613commit 933aee1d5c53b0cc7d608011a29188b594c8d70b 13614Author: Jamey Sharp <jamey@minilop.net> 13615Date: Fri Apr 16 20:18:28 2010 -0700 13616 13617 Fix Xlib/XCB for multi-threaded applications (with caveats). 13618 13619 Rather than trying to group all response processing in one monolithic 13620 process_responses function, let _XEventsQueued, _XReadEvents, and 13621 _XReply each do their own thing with a minimum of code that can all be 13622 reasoned about independently. 13623 13624 Tested with `ico -threads 20`, which seems to be able to make many 13625 icosahedrons dance at once quite nicely now. 13626 13627 Caveats: 13628 13629 - Anything that was not thread-safe in Xlib before XCB probably still 13630 isn't. XListFontsWithInfo, for instance. 13631 13632 - If one thread is waiting for events and another thread tries to read a 13633 reply, both will hang until an event arrives. Previously, if this 13634 happened it might work sometimes, but otherwise would trigger either 13635 an assertion failure or a permanent hang. 13636 13637 - Versions of libxcb up to and including 1.6 have a bug that can cause 13638 xcb_wait_for_event or xcb_wait_for_reply to hang if they run 13639 concurrently with xcb_writev or other writers. So you'll want that fix 13640 as well. 13641 13642 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13643 Reviewed-by: Josh Triplett <josh@freedesktop.org> 13644 13645commit aab43278ae619eb57d2dd9c7396f460f078588fc 13646Author: Jamey Sharp <jamey@minilop.net> 13647Date: Fri Apr 16 22:24:16 2010 -0700 13648 13649 Use InternalLockDisplay on code paths called from LockDisplay. 13650 13651 It's easier to reason about the code when we can't re-enter the 13652 Xlib-private sync-handlers while they're already running. 13653 13654 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13655 Reviewed-by: Josh Triplett <josh@freedesktop.org> 13656 13657commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 13658Author: Jamey Sharp <jamey@minilop.net> 13659Date: Fri Apr 16 19:45:11 2010 -0700 13660 13661 Fix _XSend to enqueue the right range of pending requests. 13662 13663 _XSend was off-by-one on both ends. It should not re-enqueue the last 13664 request that was already flushed, but it should enqueue the last request 13665 currently being flushed. 13666 13667 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13668 Reviewed-by: Josh Triplett <josh@freedesktop.org> 13669 13670commit f2735889908d6e5a7f8dbee42f00c54a52665191 13671Author: Jamey Sharp <jamey@minilop.net> 13672Date: Fri Apr 16 19:45:11 2010 -0700 13673 13674 Pending requests are always added in-order. 13675 13676 Replace insert_pending_request, which did an in-order search of the 13677 queue to find the right insertion point, with a simpler 13678 append_pending_request, and use that in _XSend as well. 13679 13680 Includes assertions to check that the list of pending requests is in 13681 order by sequence number and does not have duplicates. 13682 13683 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13684 Reviewed-by: Josh Triplett <josh@freedesktop.org> 13685 13686commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 13687Author: Markus Duft <markus.duft@salomon.at> 13688Date: Fri Apr 16 08:39:34 2010 -0700 13689 13690 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 13691 13692 https://bugs.freedesktop.org/show_bug.cgi?id=26839 13693 13694 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13695 13696commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 13697Author: Josh Triplett <josh@freedesktop.org> 13698Date: Thu Apr 15 14:24:21 2010 -0700 13699 13700 Stop returning an int from _XIDHandler and _XSeqSyncFunction 13701 13702 _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 13703 thus had to return an int. Now, they only run from _XPrivSyncHandler or 13704 LockDisplay, neither of which needs to check their return value since they 13705 always returned 0. Make them both void. 13706 13707 Signed-off-by: Josh Triplett <josh@freedesktop.org> 13708 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13709 13710commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 13711Author: Jamey Sharp <jamey@minilop.net> 13712Date: Thu Apr 15 13:05:08 2010 -0700 13713 13714 Move XID and sync handling from SyncHandle to LockDisplay to fix races. 13715 13716 XID and sync handling happened via _XPrivSyncHandler, assigned to 13717 dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 13718 without the Display lock, so manipulating the Display caused races, and 13719 these races led to assertions in multithreaded code (demonstrated via 13720 ico). 13721 13722 In the XTHREADS case, after you've called XInitThreads, we can hook 13723 LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 13724 _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 13725 that we hold the lock, and thus we can avoid races. We think it makes 13726 sense to do these both from LockDisplay rather than UnlockDisplay, so 13727 that you know you have valid sync and a valid XID before you start 13728 setting up the request you locked to prepare. 13729 13730 In the !XTHREADS case, or if you haven't called XInitThreads, you don't 13731 get to use Xlib from multiple threads, so we can use the logic we have 13732 now (with synchandler and savedsynchandler) without any concern about 13733 races. 13734 13735 This approach gets a bit exciting when the XID and sequence sync 13736 handlers drop and re-acquire the Display lock. Reacquisition will re-run 13737 the handlers, but they return immediately unless they have work to do, 13738 so they can't recurse more than once. In the worst case, if both of 13739 them have work to do, we can nest the Display lock three deep. In the 13740 case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 13741 takes the socket back if it needs to request more XIDs, and taking the 13742 socket back will reacquire the lock; we take care to avoid letting 13743 _XIDHandler run again and re-enter XCB from the return_socket callback 13744 (which causes Very Bad Things, and is Not Allowed). 13745 13746 Tested with ico (with 1 and 20 threads), and with several test programs 13747 for XID and sequence sync. Tested with and without XInitThreads(), and 13748 with and without XCB. 13749 13750 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 13751 13752 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13753 Signed-off-by: Josh Triplett <josh@freedesktop.org> 13754 13755commit b089b53b697c2851db2985d32af3b29f1da5e31e 13756Author: Jamey Sharp <jamey@minilop.net> 13757Date: Wed Apr 14 12:59:11 2010 -0700 13758 13759 Honest. Extensions get to filter async errors too. 13760 13761 Under some circumstances, errors are picked up by calling 13762 xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 13763 the requests with the XCB_REQUEST_CHECKED flag. That happens when either 13764 an async handler is queued at the time the requests are flushed, or when 13765 XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 13766 event queue. 13767 13768 This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 13769 those cases. 13770 13771 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 13772 13773 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13774 13775commit a15c31274650e391bc6de5d0951eb4464c228139 13776Author: Jamey Sharp <jamey@minilop.net> 13777Date: Wed Apr 14 12:10:34 2010 -0700 13778 13779 _XError already runs async handlers; only call them directly for replies. 13780 13781 The previous behavior probably would have triggered bug reports someday. 13782 13783 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13784 13785commit 405132dab64bf2375f8e57d02b1b53da2311933a 13786Author: Jamey Sharp <jamey@minilop.net> 13787Date: Tue Apr 13 12:12:36 2010 -0700 13788 13789 Extensions get to filter async errors too. 13790 13791 Apparently I misread XlibInt.c:_XReply and thought that handlers set 13792 with XESetError should be consulted only for the sequence number that 13793 _XReply is currently looking for. In fact, the error handlers are also 13794 consulted when an error arrives for a request that was not expected to 13795 have a reply. 13796 13797 However, in an odd twist, the error handlers are *not* consulted outside 13798 of _XReply--that is, when looking for events, or waiting to be able to 13799 flush the output queue. So this patch takes some small pains to preserve 13800 that behavior, though it seems likely to have been unintentional. 13801 13802 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 13803 13804 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13805 13806commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 13807Author: Jamey Sharp <jamey@minilop.net> 13808Date: Tue Apr 13 12:49:59 2010 -0700 13809 13810 Prefer the xcb_generic_error_t we already have over casting to xEvent. 13811 13812 Just a minor cleanup. 13813 13814 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13815 13816commit 75ea8c37935ccc911557d16a303ba595b8ab106b 13817Author: Jamey Sharp <jamey@minilop.net> 13818Date: Mon Apr 12 11:30:20 2010 -0700 13819 13820 Run the user's synchandler as well as any internal synchandlers. 13821 13822 Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 13823 13824 Signed-off-by: Jamey Sharp <jamey@minilop.net> 13825 13826commit c3f3e4a9e531d010312c97e753d6e543e607094d 13827Author: Kusanagi Kouichi <slash@ac.auone-net.jp> 13828Date: Fri Feb 12 17:16:10 2010 +0900 13829 13830 Fix manual typos. 13831 13832 Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 13833 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13834 13835commit 75c6c5595408caba9ef8233839d77021d02f86f2 13836Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 13837Date: Fri Feb 5 20:42:46 2010 +0100 13838 13839 man: Correct the XkbAllAccessXEventsMask mask name 13840 13841 This mask has probably been renamed but not been updated in the manuals. 13842 13843 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 13844 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13845 13846commit 9262aceaff24c954cab8c252690032bc2ec25e7d 13847Author: Dirk Wallenstein <dirkwallenstein@t-online.de> 13848Date: Fri Feb 5 20:42:45 2010 +0100 13849 13850 man: Add missing geometry component flag 13851 13852 Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 13853 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13854 13855commit 50cf134465f6fd263f37acecac94518468ef1c6d 13856Author: Dirk Wallenstein <halsmit@t-online.de> 13857Date: Tue Feb 2 21:24:32 2010 +0100 13858 13859 man: Return value of XkbGetState is Status and not Bool 13860 13861 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 13862 Reviewed-by: Julien Cristau <jcristau@debian.org> 13863 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13864 13865commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 13866Author: Dirk Wallenstein <halsmit@t-online.de> 13867Date: Tue Feb 2 21:24:30 2010 +0100 13868 13869 man: Fix return value specification of XkbKeyActionEntry 13870 13871 The XkbKeyActionEntry macro expands to a pointer. 13872 13873 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 13874 Reviewed-by: Julien Cristau <jcristau@debian.org> 13875 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13876 13877commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 13878Author: Dirk Wallenstein <halsmit@t-online.de> 13879Date: Tue Feb 2 21:24:29 2010 +0100 13880 13881 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 13882 13883 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 13884 groups with 2 levels each. It wraps the index into the next group. 13885 This behavior confuses the unaware user, and therefore this will add a 13886 reference to XkbKeycodeToKeysym in the corresponding man paragraph. 13887 13888 Another bug had that issue, too. #5349 13889 13890 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 13891 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13892 13893commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 13894Author: Alan Coopersmith <alan.coopersmith@oracle.com> 13895Date: Thu Apr 8 19:59:55 2010 -0700 13896 13897 Fix typo in new fi_FI.UTF-8 that was reported by "make check" 13898 13899 Unrecognized pattern in Compose on line #154: 13900 <dead_diaeresis> <space> " "¨" 13901 13902 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 13903 13904commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 13905Author: Marko Myllynen <myllynen@redhat.com> 13906Date: Thu Apr 8 19:52:42 2010 -0700 13907 13908 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 13909 13910 I've rewritten the fi_FI.UTF-8 Compose file so that it 13911 13912 - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 13913 possible additions to en_US.UTF-8/Compose automatically included) 13914 - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 13915 definitions (thus making it safe to include en_US.UTF-8/Compose) 13916 - lists all the definitions specified in the SFS 5966 standard (thus making it 13917 easy to verify that the implementation is valid and complete) 13918 - adds a header about the file itself as required by the standard 13919 13920 The rewritten version is ~320 lines compared to over 5000 lines of the previous 13921 version. 13922 13923 https://bugs.freedesktop.org/show_bug.cgi?id=27465 13924 13925commit f6a4fd0c7615684d08e848245849dea4017a5214 13926Author: Gaetan Nadon <memsize@videotron.ca> 13927Date: Thu Apr 1 21:46:12 2010 -0400 13928 13929 config: update and relocate AC_DEFINE_DIR macro 13930 13931 Remove deprecated acinclude.m4 macro container file 13932 Use separate macro files as per autoconf recommendation 13933 Use the latest macro from GNU (ax) which replaces 13934 the non-gnu version (ac) 13935 This preserves the Autoconf macro AC namespace. 13936 13937 Also moved out of acinclude.m4 is the DOLT macro 13938 13939 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13940 13941commit 61d5231db418cec51bd718633c3bba39b18689d6 13942Author: Gaetan Nadon <memsize@videotron.ca> 13943Date: Mon Mar 29 14:53:48 2010 -0400 13944 13945 config: remove the pkgconfig pc.in file from EXTRA_DIST 13946 13947 Automake always includes it in the tarball. 13948 13949 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13950 13951commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 13952Author: Fernando Carrijo <fcarrijo@yahoo.com.br> 13953Date: Wed Mar 17 23:53:16 2010 -0300 13954 13955 No need for req->firstKeyCode to be set twice. 13956 13957 There is no reason to set req->firstKeyCode twice when a client, wishful 13958 for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 13959 fixes the mistake by making no functional changes to libX11 whatsoever. 13960 13961 Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 13962 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13963 13964commit b5797597f83ee62228abfb88f026ef92163e07a5 13965Author: Gaetan Nadon <memsize@videotron.ca> 13966Date: Tue Feb 16 10:37:21 2010 -0500 13967 13968 config: move CWARNFLAGS from configure.ac to Makefile.am 13969 13970 Compiler warning flags should be explicitly set in the makefile 13971 rather than being merged with other packages compiler flags. 13972 13973 Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 13974 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13975 13976commit 052c4d7995b0e52a038933beb85cd544571c6b7e 13977Author: Gaetan Nadon <memsize@videotron.ca> 13978Date: Tue Feb 16 14:28:21 2010 -0500 13979 13980 specs: change install cmd due to automake 1.11 13981 13982 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 13983 13984 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13985 13986commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 13987Author: Gaetan Nadon <memsize@videotron.ca> 13988Date: Tue Feb 9 17:27:08 2010 -0500 13989 13990 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 13991 13992 $(MKDIR_P) is not defined in automake 1.9. 13993 13994 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13995 13996commit e66eda95b520727969d721416d4ea49b54ef2b03 13997Author: Gaetan Nadon <memsize@videotron.ca> 13998Date: Tue Feb 2 16:29:26 2010 -0500 13999 14000 specs: install html images in $docdir with html files 14001 14002 The images required by the html files have been omitted. 14003 14004 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14005 14006commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 14007Author: Gaetan Nadon <memsize@videotron.ca> 14008Date: Sun Jan 31 14:16:20 2010 -0500 14009 14010 doc: use new macros to control doc generation 14011 14012 Namely XORG_WITH_GROFF for the groff generation tool 14013 XORG_WITH_PS2PDF for the conversion of PS docs to PDF 14014 XORG_ENABLE_SPECS for the generation of specs 14015 14016 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14017 14018commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 14019Author: Gaetan Nadon <memsize@videotron.ca> 14020Date: Tue Jan 26 19:41:08 2010 -0500 14021 14022 doc: clean-up generated html images 14023 14024 Generate images in /images as is the convention 14025 Provide a base file name for images rather than process ID 14026 Remove images directory when running make clean 14027 14028 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 14029 14030commit eb289b34bfc9978eef724e0f268975938334c06c 14031Author: Kristian Høgsberg <krh@bitplanet.net> 14032Date: Thu Jan 21 13:39:17 2010 -0500 14033 14034 XErrorDB: Add new DRI2 request names 14035 14036commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 14037Author: Julien Cristau <jcristau@debian.org> 14038Date: Sat Jan 16 22:47:03 2010 +0000 14039 14040 man: Fix typo in Makefile 14041 14042 Missing line continuation was preventing the XCompose alias from being 14043 generated. 14044 14045 Signed-off-by: Julien Cristau <jcristau@debian.org> 14046 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14047 14048commit 68530599e61cf9fef3fcc91650e7cef21837fce7 14049Author: Alan Coopersmith <alan.coopersmith@sun.com> 14050Date: Sat Jan 16 11:41:32 2010 -0800 14051 14052 libX11 1.3.3 14053 14054 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14055 14056commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 14057Author: Alan Coopersmith <alan.coopersmith@sun.com> 14058Date: Thu Jan 14 18:33:39 2010 -0800 14059 14060 Update COPYING file with actual licenses from libX11 code & docs 14061 14062 COPYING was previously a years out-of-date copy of the LICENSES 14063 doc summarizing all licenses for all XFree86 components, many of 14064 which did not apply to libX11. 14065 14066 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14067 14068commit ddb1786720d6136b1b28be599c75c10ad1b76a2a 14069Author: Alan Coopersmith <alan.coopersmith@sun.com> 14070Date: Thu Jan 14 17:38:26 2010 -0800 14071 14072 Purge CVS/RCS id tags 14073 14074 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14075 14076commit c1db9ddcfa7091f173478dca45bf720badedfca4 14077Author: Alan Coopersmith <alan.coopersmith@sun.com> 14078Date: Thu Jan 14 15:39:14 2010 -0800 14079 14080 Update Sun license notices to current X.Org standard form 14081 14082 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14083 14084commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 14085Author: Alan Coopersmith <alan.coopersmith@sun.com> 14086Date: Thu Jan 14 08:28:22 2010 -0800 14087 14088 Add %S substitutions to Compose man page 14089 14090 Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 14091 in Compose file include statements - this documents it in the Compose 14092 file man page. 14093 14094 Also changes the existing substitution documentation to list format 14095 instead of a paragraph format to allow easier adding of %S. 14096 14097 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14098 14099commit 94b45db93058cffa25598fe27dd3e385ace9d305 14100Author: Richard Purdie <rpurdie@linux.intel.com> 14101Date: Thu Jan 14 08:04:28 2010 -0800 14102 14103 Fix configure.ac PKG_ macro calls 14104 14105 If the first call to PKG_CHECK_MODULES() may not be called during execution 14106 which is the case here since its inside a case statement, call 14107 PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 14108 14109 Fixes a configure failure introduced by commit 14110 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 14111 14112 http://bugs.freedesktop.org/show_bug.cgi?id=26041 14113 14114 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 14115 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14116 14117commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 14118Author: Alan Coopersmith <alan.coopersmith@sun.com> 14119Date: Tue Jan 12 09:18:15 2010 -0800 14120 14121 Raise xorg-macros requirement to 1.4 14122 14123 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 14124 depend on the INSTALL file delivered in xorg-macros 1.4 14125 14126 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14127 14128commit 9df349a7894725f9469b106af645f57f7f3f9af3 14129Author: James Cloos <cloos@jhcloos.com> 14130Date: Wed Jan 13 11:04:38 2010 -0500 14131 14132 Allow inclusion of system level compose files. 14133 14134 With the release of XFree86 4.4 an inclusion system of compose files was 14135 added to Xlib to allow inclusion of the default compose file (with %L), 14136 any compose files from user’s home directory (with %H), or a compose 14137 file with a hard coded path¹. However, even today including system level 14138 compose files is not possible in a platform independent manner although 14139 the machinery for including compose files and overriding previously 14140 defined compositions is already in place. 14141 14142 With the ability to include system level compose files one could greatly 14143 reduce the need for compose file rule duplication and the work needed to 14144 propagate changes in one compose file to others. For example, currently 14145 the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 14146 is almost identical with en_US.UTF-8 except for perhaps half a dozen 14147 compositions. 14148 14149 This commit allows one to include system level compose files with the 14150 following kind of syntax: 14151 14152 include "%S/en_US.UTF-8/Compose" 14153 14154 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 14155 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 14156 14157 Signed-off-by: Marko Myllynen <myllynen@redhat.com> 14158 Signed-off-by: James Cloos <cloos@jhcloos.com> 14159 14160commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 14161Author: Thien-Thi Nguyen <ttn@gnuvola.org> 14162Date: Tue Dec 1 10:31:47 2009 +0100 14163 14164 libX11: Fix comment: Invert polarity (direction) of reformat description. 14165 14166 Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 14167 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14168 14169commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 14170Author: Osamu Sayama <osamu.sayama@sun.com> 14171Date: Tue Jan 5 17:26:40 2010 -0800 14172 14173 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 14174 14175 - In set_fontset_extents, check font_data is not NULL before running 14176 loop that may increment it to a non-NULL invalid pointer. 14177 - Make sure get_rotate_fontname counts the final field 14178 14179 Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 14180 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 14181 14182 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14183 Reviewed-by: Adam Jackson <ajax@redhat.com> 14184 14185commit 87529c039050ce3336ff9ce00f1b5a21d15690da 14186Author: Alan Coopersmith <alan.coopersmith@sun.com> 14187Date: Tue Jan 5 18:02:37 2010 -0800 14188 14189 Merge X11, XKBPROTO, & XPROTO pkg-config lists 14190 14191 Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 14192 in configure.ac anyway, might as well combine the lists passed to 14193 PKG_CHECK_MODULES to reduce duplication in the flags. 14194 14195 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14196 Reviewed-by: Rémi Cardona <remi@gentoo.org> 14197 Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 14198 14199commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 14200Author: Alan Coopersmith <alan.coopersmith@sun.com> 14201Date: Tue Jan 5 17:56:58 2010 -0800 14202 14203 Add XCompose man page shadow for Compose man page 14204 14205 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14206 14207commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 14208Author: Alan Coopersmith <alan.coopersmith@sun.com> 14209Date: Tue Jan 5 17:47:44 2010 -0800 14210 14211 Add $(AM_V_GEN) to silence lint rules too 14212 14213 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14214 14215commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 14216Author: Alan Coopersmith <alan.coopersmith@sun.com> 14217Date: Tue Jan 5 17:42:42 2010 -0800 14218 14219 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 14220 14221 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14222 14223commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 14224Author: Gaetan Nadon <memsize@videotron.ca> 14225Date: Sun Nov 29 10:44:24 2009 -0500 14226 14227 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 14228 14229 It must be following AC_USE_SYSTEM_EXTENSION 14230 14231commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 14232Author: Gaetan Nadon <memsize@videotron.ca> 14233Date: Sun Nov 29 10:01:44 2009 -0500 14234 14235 Add .gitignore in /specs for generated files 14236 14237 Being in /specs, it will apply for all 3 subdirs 14238 14239commit f45d39d37aab04742e44cd8c3c993aad7587e40c 14240Author: Gaetan Nadon <memsize@videotron.ca> 14241Date: Fri Nov 27 20:56:03 2009 -0500 14242 14243 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 14244 14245 Now that the INSTALL file is generated. 14246 Allows running make maintainer-clean. 14247 14248commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 14249Author: Gaetan Nadon <memsize@videotron.ca> 14250Date: Wed Oct 28 14:09:10 2009 -0400 14251 14252 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 14253 14254 Add missing INSTALL file. Use standard GNU file on building tarball 14255 README may have been updated 14256 Remove AUTHORS file as it is empty and no content available yet. 14257 Remove NEWS file as it is empty and no content available yet. 14258 14259commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 14260Author: Gaetan Nadon <memsize@videotron.ca> 14261Date: Tue Oct 27 15:07:25 2009 -0400 14262 14263 Deploy the new XORG_DEFAULT_OPTIONS #24242 14264 14265 This macro aggregate a number of existing macros that sets commmon 14266 X.Org components configuration options. It shields the configuration file from 14267 future changes. 14268 14269commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 14270Author: Gaetan Nadon <memsize@videotron.ca> 14271Date: Mon Oct 26 22:08:42 2009 -0400 14272 14273 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 14274 14275 ChangeLog filename is known to Automake and requires no further 14276 coding in the makefile. 14277 14278commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 14279Author: Gaetan Nadon <memsize@videotron.ca> 14280Date: Thu Oct 22 12:34:19 2009 -0400 14281 14282 .gitignore: use common defaults with custom section # 24239 14283 14284 Using common defaults will reduce errors and maintenance. 14285 Only the very small or inexistent custom section need periodic maintenance 14286 when the structure of the component changes. Do not edit defaults. 14287 14288commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 14289Author: Alan Coopersmith <alan.coopersmith@sun.com> 14290Date: Thu Nov 12 23:05:40 2009 -0800 14291 14292 Add compose-check.pl to EXTRA_DIST 14293 14294 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14295 14296commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 14297Author: Julien Cristau <jcristau@debian.org> 14298Date: Thu Oct 29 17:17:24 2009 +0100 14299 14300 man: fix XCopyGC argument order 14301 14302 Ubuntu bug#408337 14303 14304commit aad10032651cdc2a53b359035954454a28d6db67 14305Author: Alan Coopersmith <alan.coopersmith@sun.com> 14306Date: Fri Oct 23 13:55:14 2009 -0700 14307 14308 libX11 1.3.2 14309 14310 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14311 14312commit 6303ada89cb228c0f9656036f798703afb42fc29 14313Author: Peter Hutterer <peter.hutterer@who-t.net> 14314Date: Wed Oct 21 12:42:07 2009 +1000 14315 14316 Add smiley faces to compose sequences. 14317 14318 I wonder how we could have lasted that long without them. 14319 14320 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14321 Acked-by: Daniel Stone <daniel@fooishbar.org> 14322 Acked-By: James Cloos <cloos@jhcloos.com> 14323 14324commit 0e104ebd8628803c27e36b16922ad1edd891325a 14325Author: Alan Coopersmith <alan.coopersmith@sun.com> 14326Date: Thu Oct 22 23:12:30 2009 -0700 14327 14328 Add man page for Compose file format 14329 14330 Based on grammar description in modules/im/ximcp/imLcPrs.c and 14331 note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 14332 14333 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14334 14335commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 14336Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 14337Date: Tue Oct 20 12:46:03 2009 -0700 14338 14339 Add extra configuration and sanity checks for groff and ps2pdf 14340 14341 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 14342 environment variables. 14343 2) Check that groff -ms works 14344 14345 Some distributions ship the ms macros as a separate package which may 14346 not be installed together with groff, so we need to make sure that groff 14347 works and the required macros are actually installed before attempting 14348 to build the specs. 14349 14350 Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 14351 Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 14352 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14353 14354commit d3f801fd2f9198eaad6797414dba652f9c006c6d 14355Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14356Date: Sun Oct 18 17:34:53 2009 -0500 14357 14358 Fix VPATH build of libX11 specs 14359 14360 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14361 14362commit ad15e1a89d30ccc11d80745897b83def1448e8c0 14363Author: Alan Coopersmith <alan.coopersmith@sun.com> 14364Date: Sat Oct 17 16:14:34 2009 -0700 14365 14366 libX11 1.3.1 14367 14368 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14369 14370commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 14371Author: Alan Coopersmith <alan.coopersmith@sun.com> 14372Date: Sat Oct 17 16:28:25 2009 -0700 14373 14374 Fix make distcheck 14375 14376 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14377 14378commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 14379Author: Alan Coopersmith <alan.coopersmith@sun.com> 14380Date: Fri Oct 16 19:25:35 2009 -0700 14381 14382 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 14383 14384 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14385 14386commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 14387Author: Alan Coopersmith <alan.coopersmith@sun.com> 14388Date: Wed Oct 14 16:18:24 2009 -0700 14389 14390 Move libX11 & XIM/locale specs from xorg-docs 14391 14392 If groff is found, and --disable-specs is not passed to configure, 14393 specs will be converted to text, html and ps (or pdf if ps2pdf is 14394 found) and installed to $(docdir) 14395 14396 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14397 14398commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 14399Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14400Date: Tue Oct 13 19:15:51 2009 -0500 14401 14402 Provide _Xsetlocale compat wrappers on Cygwin 14403 14404 Previous versions of Cygwin did not have proper locale support, so Cygwin/X 14405 defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 14406 support, but we can't remove the _Xsetlocale entry point without breaking 14407 ABI. 14408 14409 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14410 14411commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 14412Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14413Date: Tue Oct 13 19:15:49 2009 -0500 14414 14415 dolt: add Cygwin to supported platforms 14416 14417 Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 14418 14419commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 14420Author: Alan Coopersmith <alan.coopersmith@sun.com> 14421Date: Wed Oct 14 13:23:30 2009 -0700 14422 14423 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 14424 14425 Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 14426 14427 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14428 14429commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 14430Author: Jon TURNEY <jon.turney@dronecode.org.uk> 14431Date: Tue Feb 10 17:47:25 2009 +0000 14432 14433 Include sys/select.h for select() and struct timeval, if it exists 14434 14435 This is a cygwin build fix 14436 14437commit 383165916ddac91740d4c780174d4c0d07cdb994 14438Author: Xake <xake@rymdraket.net> 14439Date: Sun Sep 27 11:16:36 2009 +0200 14440 14441 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 14442 14443 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14444 14445commit 854269d55cdda8caf425515bfed2855e211a5ada 14446Author: Julien Cristau <jcristau@debian.org> 14447Date: Tue Oct 6 16:11:24 2009 +0200 14448 14449 configure: quote argument to m4_pattern_forbid 14450 14451 Without this, configure spits out 14452 ../configure: line 12364: ac_fn_c_check_member: command not found 14453 ../configure: line 12378: ac_fn_c_check_type: command not found 14454 14455 Also anchor the pattern to make it stricter. 14456 14457 Signed-off-by: Julien Cristau <jcristau@debian.org> 14458 14459commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 14460Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 14461Date: Thu Oct 1 22:20:38 2009 -0700 14462 14463 Split CFLAGS into CPPFLAGS and CFLAGS 14464 14465 On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 14466 X11 headers are in /some/prefix/include, they will be preferred over the 14467 shipped headers. This corrects that problem. 14468 14469commit d54caf1c9c55af8247621b7ba6afb20b23699839 14470Author: Peter Hutterer <peter.hutterer@who-t.net> 14471Date: Fri Oct 2 10:59:08 2009 +1000 14472 14473 libX11 1.3 14474 14475 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14476 14477commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 14478Author: Peter Hutterer <peter.hutterer@who-t.net> 14479Date: Fri Oct 2 12:10:29 2009 +1000 14480 14481 nls: remove duplicate Compose sequences from pt_BR.UTF-8 14482 14483 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14484 14485commit a293ae9e83739067fc92db1a39c262857bc2283e 14486Author: Peter Hutterer <peter.hutterer@who-t.net> 14487Date: Fri Sep 25 11:19:41 2009 +1000 14488 14489 Add XF86TouchpadToggle to XKeysymDB 14490 14491 Lenovo laptops provide a key to enable or disable the touchpad and the 14492 trackstick. This key is usually located on Fn + F8. 14493 14494 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14495 Acked-by: Adam Jackson <ajax@redhat.com> 14496 14497commit 69839f8903a24eab08f17a781b3797fb64dce9cf 14498Author: Alan Coopersmith <alan.coopersmith@sun.com> 14499Date: Sun Sep 27 10:34:16 2009 -0700 14500 14501 Bug 24173: libX11 from git fails to build with automake older then 1.11 14502 14503 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 14504 Makefiles, instead of after. 14505 <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 14506 14507 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14508 14509commit f5effd041f58ef07703cca2b4f396758811e1eec 14510Author: Alan Coopersmith <alan.coopersmith@sun.com> 14511Date: Wed Apr 15 10:59:23 2009 -0700 14512 14513 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 14514 14515 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14516 14517commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 14518Author: Alan Coopersmith <alan.coopersmith@sun.com> 14519Date: Wed Apr 15 10:56:09 2009 -0700 14520 14521 Add perl script to check for duplicate or conflicting compose file entries 14522 14523 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14524 14525commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 14526Author: Alan Coopersmith <alan.coopersmith@sun.com> 14527Date: Fri Sep 18 17:10:04 2009 -0700 14528 14529 Use make rules instead of shell for loops to generate shadow man pages 14530 14531 Allows parallel make and simpler build logs/error reporting 14532 14533 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14534 14535commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 14536Author: Alan Coopersmith <alan.coopersmith@sun.com> 14537Date: Fri Sep 18 16:58:53 2009 -0700 14538 14539 Add AM_SILENT_RULES support for cpp rules for man & nls files 14540 14541 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14542 14543commit bfa19cddd8546b4930a773f3bbd81137c362d82b 14544Author: Alan Coopersmith <alan.coopersmith@sun.com> 14545Date: Fri Sep 18 16:58:16 2009 -0700 14546 14547 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 14548 14549 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14550 14551commit 51396066c8003a96a6399c9a4bed2a81e512b582 14552Author: Mikko Niskanen <mikko.niskanen@iki.fi> 14553Date: Fri Sep 4 10:11:15 2009 +1000 14554 14555 Fix wrong typedef on HP-UX (#18998) 14556 14557 shl_dt doesn't exist, the type is shl_t. 14558 14559 X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 14560 14561 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14562 14563commit 615220a312b9430a580fe6dcf51703c6ef244f66 14564Author: Paul Bender <pebender@gmail.com> 14565Date: Fri Sep 4 09:57:10 2009 +1000 14566 14567 Don't require xdmcp in configure.ac (#22583) 14568 14569 X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 14570 14571 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14572 14573commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 14574Author: Peter Hutterer <peter.hutterer@who-t.net> 14575Date: Thu Sep 3 14:02:44 2009 +1000 14576 14577 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 14578 14579 X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 14580 14581 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14582 14583commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 14584Author: Peter Hutterer <peter.hutterer@who-t.net> 14585Date: Thu Sep 3 12:05:25 2009 +1000 14586 14587 man: XQueryTree may return BadWindow. (#23416) 14588 14589 X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 14590 14591 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14592 14593commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 14594Author: Alan Coopersmith <alan.coopersmith@sun.com> 14595Date: Fri Aug 28 23:07:58 2009 +0800 14596 14597 Fix version tag in .TH line of several XKB man pages 14598 14599 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14600 14601commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 14602Author: Alan Coopersmith <alan.coopersmith@sun.com> 14603Date: Fri Aug 28 23:04:38 2009 +0800 14604 14605 XkbSetDeviceButtonActions.man: remove non-existent actions argument 14606 14607 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14608 14609commit 53affa9335116f2d367f041e6502a411d4619e47 14610Author: Alan Coopersmith <alan.coopersmith@sun.com> 14611Date: Fri Aug 28 23:00:17 2009 +0800 14612 14613 XkbQueryExtension.man: Arguments should be pointers 14614 14615 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14616 14617commit 6233948885acc5873a5abddfff235afec555f3c2 14618Author: Alan Coopersmith <alan.coopersmith@sun.com> 14619Date: Fri Aug 28 22:53:03 2009 +0800 14620 14621 XkbSAActionSetCtrls.man: Fix typo in formatting macro 14622 14623 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14624 14625commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 14626Author: Alan Coopersmith <alan.coopersmith@sun.com> 14627Date: Fri Aug 28 22:49:31 2009 +0800 14628 14629 Convert Xkb API man pages to ANSI prototypes 14630 14631 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14632 14633commit fa2eecca85baab9616f7143cc1a853a594b4a90c 14634Author: James Cloos <cloos@jhcloos.com> 14635Date: Mon Aug 24 06:35:17 2009 -0400 14636 14637 Add some (Serbian) Cyrillic NFD sequences. 14638 14639 A number of characters in use in the various countries which use the 14640 Cyrillic script do not appear as pre-composed characters in The UCS 14641 or Unicode; they are only available as combining-character sequences. 14642 14643 This commit adds support for using (prefix) dead keys and Multi_key- 14644 initiated sequences to enter a number of these combining-character 14645 sequences. This ensures that users can enter these scripts even 14646 when using the current Cyrillic keymaps, which lack support for 14647 the combining characters. 14648 14649 Please see the discussions on the xkb mailing list. 14650 14651 Signed-off-by: James Cloos <cloos@jhcloos.com> 14652 14653commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 14654Author: Julien Cristau <jcristau@debian.org> 14655Date: Wed Aug 5 18:14:23 2009 +0200 14656 14657 man/xkb: delete spurious newline in .TH headers 14658 14659commit ee723b83b24682db833a2f0abd96cd319b8a62af 14660Author: Julien Cristau <jcristau@debian.org> 14661Date: Wed Aug 5 16:45:19 2009 +0200 14662 14663 man: use __libmansuffix__ instead of 3X11 for references to other pages 14664 14665commit 595e204feb82c798a92eea41fea03be6476ac181 14666Author: Julien Cristau <jcristau@debian.org> 14667Date: Wed Aug 5 16:43:36 2009 +0200 14668 14669 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 14670 14671commit 9da7e230d5320e1556ad2084fcd06ee7994385ea 14672Author: Peter Hutterer <peter.hutterer@who-t.net> 14673Date: Wed Aug 5 14:15:02 2009 +1000 14674 14675 Bump to 1.2.99.901 (1.3 RC1) 14676 14677 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14678 14679commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 14680Author: Filippo Giunchedi <filippo@debian.org> 14681Date: Sat Jun 6 16:56:54 2009 +0200 14682 14683 nls: add {left,right}wards arrow to compose table 14684 14685 Debian bug#532117 <http://bugs.debian.org/532117> 14686 14687 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14688 14689commit 7949bfa00390241d994f32463e50d4bd78920568 14690Author: Julien Cristau <jcristau@debian.org> 14691Date: Fri Jul 31 13:33:52 2009 +0200 14692 14693 Update library version for new symbols 14694 14695 Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 14696 cookie handling. Bump libX11 version number accordingly. 14697 14698 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14699 14700commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 14701Author: Julien Cristau <jcristau@debian.org> 14702Date: Sun Aug 2 17:18:31 2009 +0200 14703 14704 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 14705 14706 X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 14707 14708 Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 14709 Signed-off-by: Julien Cristau <jcristau@debian.org> 14710 14711commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 14712Author: Peter Hutterer <peter.hutterer@who-t.net> 14713Date: Wed Jul 29 08:44:09 2009 +1000 14714 14715 Fix compiler warning 'unused variable qelt' 14716 14717 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14718 14719commit 03f4907e14f5755e72309f08742977b871e81e33 14720Author: Peter Hutterer <peter.hutterer@who-t.net> 14721Date: Wed Jul 29 08:34:57 2009 +1000 14722 14723 Add utlist.h to the Makefile.am 14724 14725 utlist.h contains the linked list macros, it was added with the recent 14726 addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 14727 result, make dist failed. 14728 14729 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14730 14731commit 554f755e5545f63d3c8f299297927238da155773 14732Author: Peter Hutterer <peter.hutterer@who-t.net> 14733Date: Fri Jun 26 11:27:43 2009 +1000 14734 14735 Add generic event cookie handling to libX11. 14736 14737 Generic events require more bytes than Xlib provides in the standard XEvent. 14738 Memory allocated by the extension and stored as pointers inside the event is 14739 prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 14740 14741 This patch adds cookie handling for generic events. Extensions may register 14742 a cookie handler in addition to the normal event vectors. If an extension 14743 has registered a cookie handler, _all_ generic events for this extensions 14744 must be handled through cookies. Otherwise, the default event handler is 14745 used. 14746 14747 The cookie handler must return an XGenericEventCookie with a pointer to the 14748 data.The rest of the event (type, serialNumber, etc.) are to be filled as 14749 normal. When a client retrieves such a cookie event, the data is stored in 14750 an internal queue (the 'cookiejar'). This data is freed on the next call to 14751 XNextEvent(). 14752 14753 New extension interfaces: 14754 XESetWireToEventCookie(display, extension_number, cookie_handler) 14755 14756 Where cookie_handler must set cookie->data. The data pointer is of arbitray 14757 size and type but must be a single memory block. This memory block 14758 represents the actual extension's event. 14759 14760 New client interfaces: 14761 XGetEventData(display, *cookie); 14762 XFreeEventData(display, *cookie); 14763 14764 If the client needs the actual event data, it must call XGetEventData() with 14765 the cookie. This returns the data pointer (and removes it from the cookie 14766 jar) and the client is then responsible for freeing the event with 14767 XFreeEventData(). It is safe to call either function with a non-cookie 14768 event. Events unclaimed or not handled by the XGetEventData() are cleaned up 14769 automatically. 14770 14771 Example client code: 14772 XEvent event; 14773 XGenericEventCookie *cookie = &ev; 14774 14775 XNextEvent(display, &event); 14776 if (XGetEventData(display, cookie)) { 14777 XIEvent *xievent = cookie->data; 14778 ... 14779 } else if (cookie->type == GenericEvent) { 14780 /* handle generic event */ 14781 } else { 14782 /* handle extension/core event */ 14783 } 14784 XFreeEventData(display, cookie); 14785 14786 Cookies are not multi-threading safe. Clients that use XGetEventData() must 14787 lock between XNextEvent and XGetEventData to avoid other threads freeing 14788 cookies. 14789 14790 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14791 14792commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 14793Author: Peter Hutterer <peter.hutterer@who-t.net> 14794Date: Mon Jul 6 13:17:35 2009 +1000 14795 14796 Bump to 1.2.99.1 14797 14798 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14799 14800commit 75fe48e7a42a685d7098e8d7108b9b956c471563 14801Author: Peter Hutterer <peter.hutterer@who-t.net> 14802Date: Fri Jul 10 14:07:34 2009 +1000 14803 14804 Bump to 1.2.2 14805 14806 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14807 14808commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 14809Author: Peter Hutterer <peter.hutterer@who-t.net> 14810Date: Thu Jul 2 09:10:25 2009 +1000 14811 14812 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 14813 14814 GenericEvent cannot be selected for in the core event masks and they must 14815 thus be treated like extension events. 14816 14817 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14818 14819commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 14820Author: Peter Hutterer <peter.hutterer@who-t.net> 14821Date: Thu Jul 2 09:06:05 2009 +1000 14822 14823 XWindowEvent/XCheckWindowEvent must not return GenericEvents. 14824 14825 GenericEvents have no fixed position for the window, so they must be treated 14826 like extension events. 14827 14828 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 14829 14830commit 38f9054554d63525d2dd51aafb5eb57821158ab9 14831Author: Alan Coopersmith <alan.coopersmith@sun.com> 14832Date: Mon Jun 15 19:00:43 2009 -0700 14833 14834 Drop ancient USG SysV #ifdefs 14835 14836 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14837 14838commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 14839Author: Adam Jackson <ajax@redhat.com> 14840Date: Fri Jun 12 12:44:01 2009 -0400 14841 14842 Remove X_NOT_STDC_ENV usage. (#6527) 14843 14844commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 14845Author: Julien Cristau <jcristau@debian.org> 14846Date: Fri May 29 11:18:11 2009 +0200 14847 14848 nls: remove more duplicated aliases 14849 14850 Signed-off-by: Julien Cristau <jcristau@debian.org> 14851 14852commit e4b0899f516da224010e68bd2d953d5293d94993 14853Author: parag <parag@rawhideTM.pnq.redhat.com> 14854Date: Thu May 28 11:29:35 2009 +0530 14855 14856 nls: Add pa_PK locale information and make pa_IN as default for pa. 14857 14858 X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 14859 14860 [jcristau: removed the pa_PK.UTF-8 alias to itself] 14861 14862 Signed-off-by: parag <pnemade@redhat.com> 14863 Signed-off-by: Julien Cristau <jcristau@debian.org> 14864 14865commit f0ea1f6d51145592f8617854f9320ec5dbff3299 14866Author: Julien Cristau <jcristau@debian.org> 14867Date: Fri May 29 10:58:20 2009 +0200 14868 14869 nls: remove broken sd_IN.UTF-8 alias 14870 14871 Signed-off-by: Julien Cristau <jcristau@debian.org> 14872 14873commit e29e010dabdb17d6498f2ef1786f69b8830c18ca 14874Author: Julien Cristau <jcristau@debian.org> 14875Date: Fri May 29 10:57:43 2009 +0200 14876 14877 nls: remove duplicated en_US* aliases 14878 14879 Signed-off-by: Julien Cristau <jcristau@debian.org> 14880 14881commit a89a300d87852c84389ad97db66dcb8930cb45dd 14882Author: Caolan McNamara <caolanm@redhat.com> 14883Date: Thu May 21 18:41:05 2009 +0200 14884 14885 man: missing space in XAllocColor man page 14886 14887 X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 14888 14889commit c1c001e36504fd304f76f69bf6af3643225c49ea 14890Author: James Cloos <cloos@jhcloos.com> 14891Date: Wed May 13 13:03:54 2009 -0400 14892 14893 [nls] Replace remaining UCS Combining Characters in Compose sequences. 14894 14895 The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 14896 where the keysym is used as a dead_key, with an actual dead_key symbol. 14897 14898 The only remaining instances of UCS combining characters in the 14899 compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 14900 used as a suffix in Multi_key-initiated sequences to create 14901 mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 14902 from ∈ U+2208 ELEMENT OF. 14903 14904commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 14905Author: James Cloos <cloos@jhcloos.com> 14906Date: Wed May 13 09:58:59 2009 -0400 14907 14908 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 14909 14910 This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 14911 where the matching keysym is used as a dead_key, and for which alternative 14912 compose sequences exist. 14913 14914commit 79f47e6dff2f0a0b673bbfecc47528edca814baa 14915Author: James Cloos <cloos@jhcloos.com> 14916Date: Fri May 8 20:11:54 2009 -0400 14917 14918 [nls] Remove combining_ keysyms from the Compose files 14919 14920 Some of the UTF-8 Compose tables included combining_ keysyms in 14921 the compose sequences as though they were dead symbols. This 14922 is contrary to how combining characters are used in the UCS. 14923 Therefore, those lines have been removed from the Compose tables. 14924 14925 There were also some combining_ keysyms as targets. As those 14926 are not included in x11proto’s keysymdef.h, and as those do 14927 exist there as Uxxxx keysyms, they are replaced with the Uxxxx 14928 keysym names. 14929 14930 This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 14931 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 14932 14933 Signed-off-by: James Cloos <cloos@jhcloos.com> 14934 14935commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 14936Author: parag <pnemade@redhat.com> 14937Date: Tue May 5 16:50:47 2009 +0530 14938 14939 libX11: Add new Indic language information to nls directory files. #21560 14940 14941 Signed-off-by: parag <pnemade@redhat.com> 14942 14943commit aaf81096eb44b4c2812108721ba02738391884da 14944Author: Alan Coopersmith <alan.coopersmith@sun.com> 14945Date: Sat May 2 01:38:14 2009 -0700 14946 14947 Correct return type in XkbGetKeyboard man page 14948 14949 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14950 14951commit 2bef065b70f70af520b5de8fb23529254d15f003 14952Author: Christoph Pfister <christophpfister@gmail.com> 14953Date: Mon Apr 27 22:32:57 2009 -0700 14954 14955 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 14956 14957 http://bugs.freedesktop.org/show_bug.cgi?id=21117 14958 14959 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14960 14961commit 5c1cde105db10df24d3c532f032cbc59050c7313 14962Author: Alan Coopersmith <alan.coopersmith@sun.com> 14963Date: Fri Apr 17 22:14:47 2009 -0700 14964 14965 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 14966 14967 Raises minimum autoconf version required to 2.60 14968 14969 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 14970 14971commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 14972Author: Julien Cristau <jcristau@debian.org> 14973Date: Tue Apr 14 15:59:57 2009 +0100 14974 14975 Fix fi_FI.UTF-8, again 14976 14977 Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 14978 file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 14979 This reverts it back to using the en_US.UTF-8 one. 14980 14981commit 128daff4422f973ea40dd1e31b2db230e643549e 14982Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 14983Date: Thu Apr 9 12:01:07 2009 +0700 14984 14985 Thai XIM not retrieve MB surrounding on UTF-8 LC 14986 14987 On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 14988 that use X Input Method. 14989 14990 This is because GTK+ imxim immodule passes surrounding text in locale encoding, 14991 which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 14992 multi-byte StringConversionText response for the StringConversionCallback to 14993 always be TIS-620, by retrieving a single byte and using it as-is. 14994 14995 If the Thai XIM tries to convert the multi-byte text based on locale codeset 14996 before using it, it will work again. 14997 14998 X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 14999 15000 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 15001 Signed-off-by: Julien Cristau <jcristau@debian.org> 15002 15003commit e09f0d227fbf95b6252759af9d426efd57686f9f 15004Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 15005Date: Thu Apr 9 11:47:55 2009 +0700 15006 15007 Thai XIM not filters when NumLock or CapsLock is on 15008 15009 The Thai XIM component in libx11 activated on 'th*' locales normally filters 15010 input sequence according to orthographic rules. However, when NumLock/CapsLock 15011 is on, this stops working. All sequences are passed through. 15012 15013 This is caused by missing masks in _XimThaiFilter(), which normally screens out 15014 certain special keys from entering orthographic rules. Unfortunately, this 15015 included events with NumLock/CapsLock on. Negating the masks from the check 15016 allows the events to be tested by the rules. 15017 15018 X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 15019 15020 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 15021 Signed-off-by: Julien Cristau <jcristau@debian.org> 15022 15023commit d108d3c706af3502820b5202564488ea19908b77 15024Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 15025Date: Thu Apr 9 11:25:25 2009 +0700 15026 15027 CharSet-to-CompoundText Conversion Failed for Thai Locales 15028 15029 SCIM fails to commit Thai input characters on Thai locales, because it commits 15030 string in compound text form, which was converted via 15031 XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 15032 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 15033 src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 15034 So, declaring cs1 as ISO8859-11:GR instead makes it work. 15035 15036 Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 15037 support for UTF-8 input. 15038 15039 And, along discussion in the bug, a similar problem was found for fontset, too, 15040 by causing delays on X apps startups on systems without tis620-0 fonts. This 15041 is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 15042 by default for Thai X fonts. So, Thai fontset charset is also patched. 15043 15044 X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 15045 15046 Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 15047 Signed-off-by: Julien Cristau <jcristau@debian.org> 15048 15049commit fd62d3318c846cd43d66a505946e94704d7d83dc 15050Author: Alan Coopersmith <alan.coopersmith@sun.com> 15051Date: Wed Apr 8 19:42:25 2009 -0700 15052 15053 Revert "Change masculine to ordmasculine in Compose file comments" 15054 15055 This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 15056 15057 As Julien Cristau correctly points out, I misread the Compose file grammar 15058 in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 15059 the keysym is named XK_masculine in keysymdef.h. This change is thus a 15060 bug in the Solaris compose tables to be fixed, not an improvement to bring 15061 upstream. 15062 15063commit eac57c77afdf44f50692225b8b0345a7c927bc84 15064Author: Alan Coopersmith <alan.coopersmith@sun.com> 15065Date: Tue Apr 7 15:38:45 2009 -0700 15066 15067 Version bump: 1.2.1 15068 15069 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15070 15071commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 15072Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 15073Date: Tue Apr 7 13:46:57 2009 -0700 15074 15075 Bug 20773: Xcursor dynamic loading on Cygwin 15076 15077 X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 15078 Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 15079 15080 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15081 15082commit c8c41614911be4fa222fa22478677d263b41c751 15083Author: Alan Coopersmith <alan.coopersmith@sun.com> 15084Date: Mon Apr 6 16:52:46 2009 -0700 15085 15086 Fix a several sparse warnings: Using plain integer as NULL pointer 15087 15088 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15089 15090commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 15091Author: Alan Coopersmith <alan.coopersmith@sun.com> 15092Date: Mon Apr 6 16:32:05 2009 -0700 15093 15094 Further ansify prototypes & reduce #ifdefs in locking.c 15095 15096 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15097 15098commit 892b401d5acc055803a20e349ede0d64490f2230 15099Author: Alan Coopersmith <alan.coopersmith@sun.com> 15100Date: Mon Apr 6 10:50:09 2009 -0700 15101 15102 Change masculine to ordmasculine in Compose file comments 15103 15104 Matches the ordfeminine name used for the matching character, 15105 and the ordmasculine name used in many font descriptions of the glyph. 15106 15107 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15108 15109commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 15110Author: Julien Cristau <jcristau@debian.org> 15111Date: Fri Mar 13 13:52:33 2009 +0100 15112 15113 Add a ru_RU.UTF-8 locale 15114 15115 Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 15116 15117 Debian bug#330144 <http://bugs.debian.org/330144> 15118 X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 15119 15120commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 15121Author: Alan Coopersmith <alan.coopersmith@sun.com> 15122Date: Wed Mar 25 17:59:09 2009 -0700 15123 15124 Delete some unused "#ifdef notdef" static functions 15125 15126 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15127 15128commit 4281892e31058ef3aecc96a5767824b34d88d415 15129Author: Alan Coopersmith <alan.coopersmith@sun.com> 15130Date: Wed Mar 25 17:52:48 2009 -0700 15131 15132 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 15133 15134 This copy of Xrm.c is never compiled into the Xprint server any more, so 15135 this old code-sharing #ifdef from the monolith tree isn't needed. 15136 15137 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15138 15139commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 15140Author: Alan Coopersmith <alan.coopersmith@sun.com> 15141Date: Tue Mar 17 18:38:58 2009 -0700 15142 15143 makekeys: combine malloc(strlen)+strcpy into strdup 15144 15145 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15146 15147commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 15148Author: Alan Coopersmith <alan.coopersmith@sun.com> 15149Date: Tue Mar 17 15:42:19 2009 -0700 15150 15151 When makekeys fails to find a good hash, print error instead of divide-by-zero 15152 15153 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15154 15155commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 15156Author: Alan Coopersmith <alan.coopersmith@sun.com> 15157Date: Tue Mar 17 14:59:16 2009 -0700 15158 15159 Remove ifdef checks for macII left over from ancient A/UX 3.0 support 15160 15161 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15162 15163commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 15164Author: Alan Coopersmith <alan.coopersmith@sun.com> 15165Date: Mon Mar 16 18:37:49 2009 -0700 15166 15167 XErrorDB additions for DRI2 requests 15168 15169 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15170 15171commit 273f45af1441be9d2135e4cac8c46ceb33470236 15172Author: Alan Coopersmith <alan.coopersmith@sun.com> 15173Date: Mon Mar 16 18:35:44 2009 -0700 15174 15175 XErrorDB additions for XInput errors and new XInput 1.5 requests 15176 15177 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15178 15179commit 90ef36f6336068183bf9d13ca972202db35b1202 15180Author: Alan Coopersmith <alan.coopersmith@sun.com> 15181Date: Mon Mar 16 18:23:05 2009 -0700 15182 15183 XErrorDB additions for RANDR 1.3 15184 15185 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15186 15187commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 15188Author: Lubos Lunak <l.lunak@suse.cz> 15189Date: Mon Mar 16 18:03:36 2009 -0700 15190 15191 XErrorDB updates for XTEST, RANDR, DAMAGE extensions 15192 15193 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 15194 15195 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15196 15197commit 80811846e37b805fddb37c71589fd5f6f6037b3f 15198Author: Lubos Lunak <l.lunak@suse.cz> 15199Date: Mon Mar 16 17:57:52 2009 -0700 15200 15201 XGetErrorText() fails for extension error codes equal to the error base 15202 15203 From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 15204 15205 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15206 15207commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 15208Author: Milos Komarcevic <miloskomarcevic@netscape.net> 15209Date: Mon Mar 16 17:43:26 2009 -0700 15210 15211 Bug 11456: Serbian locale updates (sr_RS and sr_ME) 15212 15213 X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 15214 Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 15215 15216 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15217 15218commit 934a6c0519a9e32505beee55b004f36c2a710217 15219Author: Alan Coopersmith <alan.coopersmith@sun.com> 15220Date: Mon Mar 16 14:55:22 2009 -0700 15221 15222 Bug 10082: Compose entries for some standard mathematical operators 15223 15224 X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 15225 15226 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15227 15228commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 15229Author: Alan Coopersmith <alan.coopersmith@sun.com> 15230Date: Mon Mar 16 14:27:46 2009 -0700 15231 15232 Bug 14651: We need to add new locale specification for Belarusian Latin locale 15233 15234 X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 15235 15236 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15237 15238commit 837703c8651e1321a50147a8311c56e4758ce08a 15239Author: Caolan McNamara <caolanm@redhat.com> 15240Date: Mon Mar 16 14:15:50 2009 -0700 15241 15242 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 15243 15244 X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 15245 Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 15246 15247 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15248 15249commit 22199018879055d8653e59d8236bef57164fac66 15250Author: Alan Coopersmith <alan.coopersmith@sun.com> 15251Date: Mon Mar 16 13:28:18 2009 -0700 15252 15253 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 15254 15255 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15256 15257commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 15258Author: Alan Coopersmith <alan.coopersmith@sun.com> 15259Date: Thu Mar 12 18:57:20 2009 -0700 15260 15261 Bug 9953: Please provide locale alias hu_HU.utf8 15262 15263 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 15264 Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 15265 15266 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15267 15268commit 501f4e0ada1690783ada05ad412e4b191ad55336 15269Author: Alan Coopersmith <alan.coopersmith@sun.com> 15270Date: Thu Mar 12 17:38:21 2009 -0700 15271 15272 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 15273 15274 X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 15275 Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 15276 15277 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15278 15279commit 7b9c543e7210c7da204871c31a160e79d3a949b6 15280Author: Paul Bender <pebender@gmail.com> 15281Date: Thu Mar 12 17:11:42 2009 -0700 15282 15283 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 15284 15285 X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 15286 Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 15287 15288 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15289 15290commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 15291Author: Xue Wei <Wei.Xue@Sun.COM> 15292Date: Wed Mar 4 19:32:29 2009 -0800 15293 15294 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 15295 15296 Sun bug 6809309 Add new utf8 locales supported by Xlib 15297 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 15298 15299 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15300 15301commit cb70c9bc43267577859a3674ca9de9be396ba69e 15302Author: Alan Coopersmith <alan.coopersmith@sun.com> 15303Date: Mon Feb 23 19:29:15 2009 -0800 15304 15305 Add --with-locale-lib-dir configure option to set locale lib install dir 15306 15307 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15308 15309commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 15310Author: Alan Coopersmith <alan.coopersmith@sun.com> 15311Date: Mon Feb 23 18:33:51 2009 -0800 15312 15313 Incorporate more locale names/aliases from Solaris libX11 15314 15315 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15316 15317commit 83ce4daefdf544f801c7d666c89162690a36ce41 15318Author: Alan Coopersmith <alan.coopersmith@sun.com> 15319Date: Mon Feb 23 18:32:34 2009 -0800 15320 15321 Incorporate char range comments from Solaris version of ksc5601.h 15322 15323 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15324 15325commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 15326Author: Chris Ball <cjb@laptop.org> 15327Date: Sat Feb 21 14:48:42 2009 -0500 15328 15329 Fix fi_FI locale install directory. 15330 15331 fi_FI was setting "x11thislocaledir" to en_US, with the result that its 15332 locale data was written in that locale dir. 15333 15334 Signed-off-by: Chris Ball <cjb@laptop.org> 15335 15336commit da6bbca07c796c69172a649405474f03bee66754 15337Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 15338Date: Sat Feb 21 20:17:23 2009 +0100 15339 15340 xcb_io: Avoid datatype overflow on AMD64 and friends. 15341 15342commit 4ef6491afa69e8441caee7bbebc583e6e796275e 15343Author: Chris Ball <cjb@laptop.org> 15344Date: Sat Feb 21 12:51:03 2009 -0500 15345 15346 Build fix for fi_FI. 15347 15348 Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 15349 Makefile is written there by configure. 15350 15351 Signed-off-by: Chris Ball <cjb@laptop.org> 15352 15353commit 642c4e928e770e012379539a6ce09e11c02f09a6 15354Author: Julien Cristau <jcristau@debian.org> 15355Date: Sat Feb 21 03:12:05 2009 +0100 15356 15357 nls: actually use the fi_FI.UTF-8 files 15358 15359 The subdir wasn't added to nls/Makefile.am 15360 15361commit 9bad8309ef289bb943651abf6967b24fa2252aac 15362Author: Alan Coopersmith <alan.coopersmith@sun.com> 15363Date: Fri Feb 20 14:45:54 2009 -0800 15364 15365 flags member of Display structure needs to be marked volatile 15366 15367 Since the Xlib multithreaded code checks the flags variable in _XFlushInt 15368 to see if the other threads are done yet, it has to be marked volatile so 15369 the compiler doesn't optimize out re-loading it on each trip through the 15370 while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 15371 15372 Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 15373 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 15374 15375 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15376 15377commit ef5c446395aa30d7b1096a112e241a81c5b358e7 15378Author: Xue Wei <Wei.Xue@Sun.COM> 15379Date: Fri Feb 20 15:12:35 2009 -0800 15380 15381 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 15382 15383 Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 15384 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 15385 15386 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15387 15388commit 3822f2654e9630167f0c6cae317b472c09771672 15389Author: Xue Wei <Wei.Xue@Sun.COM> 15390Date: Fri Feb 20 15:03:51 2009 -0800 15391 15392 Add locale aliases for no_NO & sh_BA locale variants 15393 15394 Fixes Sun bug id 6691219: xterm refuses to start in some locales 15395 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 15396 15397 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15398 15399commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 15400Author: Xue Wei <Wei.Xue@Sun.COM> 15401Date: Fri Feb 20 14:23:11 2009 -0800 15402 15403 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 15404 15405 Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 15406 changing keyboard layout with gimlet does not work") 15407 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 15408 15409 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15410 15411commit d497301707962f3b94542e999a36abffcfbd303d 15412Author: Julien Cristau <jcristau@debian.org> 15413Date: Tue Feb 17 16:09:41 2009 +0100 15414 15415 Bump to 1.2 15416 15417commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 15418Author: Julien Cristau <jcristau@debian.org> 15419Date: Tue Feb 17 15:23:40 2009 +0100 15420 15421 Check Xmalloc return value in _XConnectXCB 15422 15423 X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 15424 15425 Signed-off-by: Julien Cristau <jcristau@debian.org> 15426 15427commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 15428Author: James Cloos <cloos@jhcloos.com> 15429Date: Sat Feb 14 12:35:56 2009 -0500 15430 15431 dolt: allow older versions of bash to compile the library 15432 15433 Cf xserver commit 7be6520d and bugzilla #19031. 15434 15435commit 20982d6866e24453642b0b592fa0f13a88aa747c 15436Author: Will Thompson <will@willthompson.co.uk> 15437Date: Thu Feb 5 02:53:06 2009 +1100 15438 15439 NLS: Compose: Non-aliasing CCCP 15440 15441 Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 15442 15443 Signed-off-by: Will Thompson <will@willthompson.co.uk> 15444 Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 15445 15446commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 15447Author: Will Thompson <will@willthompson.co.uk> 15448Date: Wed Feb 4 14:51:11 2009 +0000 15449 15450 Add two essential compose sequences 15451 15452 Signed-off-by: Will Thompson <will@willthompson.co.uk> 15453 Signed-off-by: Daniel Stone <daniel@fooishbar.org> 15454 15455commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 15456Author: Alan Coopersmith <alan.coopersmith@sun.com> 15457Date: Mon Feb 2 20:34:31 2009 -0800 15458 15459 Add README with pointers to mailing list, bugzilla & git repos 15460 15461 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 15462 15463commit f682c27e93512773122887d2cbabb1657af45d2e 15464Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15465Date: Mon Feb 2 16:36:39 2009 -0200 15466 15467 Check if a function argument is NULL. 15468 15469 This was an addition to patch (also by me) 15470 https://bugs.freedesktop.org/attachment.cgi?id=14660 15471 that was not added when rediscovering/correcting the problem. 15472 15473commit 427e9d45d424b84efd9fc499aebf8d72392844c5 15474Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15475Date: Thu Feb 28 15:58:12 2008 -0300 15476 15477 Allow multiple inclusions of cursorfont.h, cosmetic patch. 15478 15479commit b91524a53e691f6a5d278fd8972b48a14ebeedeb 15480Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15481Date: Thu Feb 28 15:54:43 2008 -0300 15482 15483 Don't add prototypes for functions that don't exist. 15484 15485 Note that a full review was not done, only for functions that receive 15486 char/short arguments, or one of it's parameters is a function pointer 15487 that requires char/short arguments. 15488 15489commit 537eb52fe266ac439c4b383bb04a70017b709911 15490Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15491Date: Thu Feb 28 15:50:27 2008 -0300 15492 15493 WORD64 compile fix. This bug catched on a overview of the code. 15494 15495 The code is wrong since the first git revision, so it seens that it has 15496 not been compiled with WORD64 for quite some time, there is also another 15497 interesting code in xkb/XKBRdBuf.c: 15498 <hash>ifdef WORD64 15499 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 15500 <hash>endif 15501 and possibly there are other similar problems. 15502 15503commit ffd0300fb74c6183208ae599133f2ded09e08d97 15504Author: Brian Rogers <brian@xyzw.org> 15505Date: Sat Jan 31 10:37:51 2009 -0800 15506 15507 Initialize event_notify after allocating the memory for it. 15508 15509 An uninitialized or otherwise invalid condition variable can apparently 15510 cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 15511 at least are freezing as a result of event_notify never being initialized. 15512 15513 Signed-off-by: Brian Rogers <brian@xyzw.org> 15514 Signed-off-by: Bart Massey <bart@cs.pdx.edu> 15515 15516commit 97fc6babd4ccaf300e25708868aa2a738893dc30 15517Author: James Cloos <cloos@jhcloos.com> 15518Date: Thu Jan 29 20:10:41 2009 -0500 15519 15520 NLS: Add UTF-8 compose file for Finnish 15521 15522 From bug report: 15523 15524 https://bugs.freedesktop.org/show_bug.cgi?id=18747 15525 15526commit 1bd2966ed88f83479a066c6ca7da23a515979550 15527Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15528Date: Thu Jan 29 20:25:15 2009 -0200 15529 15530 patches to avoid gcc warnings for libX11 (#4) 15531 15532 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 15533 Bug #17946, attachment #19443 15534 15535 This patch avoids the gcc warning 15536 ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 15537 (same as already done at other places) 15538 15539 BTW: what is the difference between XIM (the type of ic->core.im) 15540 and Xim ? 15541 15542commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 15543Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15544Date: Thu Jan 29 20:22:21 2009 -0200 15545 15546 patches to avoid gcc warnings for libX11 (#3) 15547 15548 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 15549 Bug #17946, attachment #19441 15550 15551 This patch avoids the two gcc warnings 15552 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 15553 ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 15554 15555 Note, that this as a rather crude fix of the problem (and it is really a 15556 shame to cast name_table to non-const). 15557 15558 The right solution would be to declare XIMValuesList.supported_values 15559 (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 15560 This will, however, require extensive modifications in various places. 15561 15562commit cce75c5dce73fe1f8626ed9e6798138ada09a860 15563Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15564Date: Thu Jan 29 20:20:18 2009 -0200 15565 15566 patches to avoid gcc warnings for libX11 (#2) 15567 15568 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 15569 Bug #17946, attachment #19440 15570 15571 Avoid a preprocessor message 15572 <stdin>:194: warning: no newline at end of file 15573 15574 Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 15575 seem to be caused by a truncated (or otherwise incomplete) 15576 manpage. 15577 15578commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 15579Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15580Date: Thu Jan 29 20:12:24 2009 -0200 15581 15582 patches to avoid gcc warnings for libX11 (#1) 15583 15584 Author is Peter Breitenlohner <peb@mppmu.mpg.de> 15585 Bug #17946, attachment #19439 15586 15587 Define as 1 (one) as done by autoconf and the command line 15588 option, e.g. -DX11_t, not as empty. 15589 15590 This avoids the gcc (3.4.6) warnings: 15591 ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 15592 <command line>:7:1: warning: this is the location of the previous definition 15593 ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 15594 <command line>:8:1: warning: this is the location of the previous definition 15595 15596 Similarly, follow the autoconf convention to define XTHREADS 15597 and XUSE_MTSAFE_API as one. 15598 15599 This avoids analogous warnings when compiling libXcomposite, 15600 libXcursor, and libXdamage. 15601 15602 No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 15603 15604commit a1977883c9f5ef0e515569d6e2ebccb07411f98c 15605Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15606Date: Thu Jan 29 15:01:06 2009 -0200 15607 15608 Janitor: Correct some gcc/sparse warnings. 15609 15610 Most remaining warnings are about XIM/Xim to/from conversion 15611 and discarding const from pointers. 15612 15613commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 15614Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 15615Date: Wed Jan 28 20:31:42 2009 -0200 15616 15617 Janitor: ansification, make distcheck, compiler warnings. 15618 15619 Only convert to use "ansi prototypes" the functions warned from 15620 compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 15621 15622 Also, only address "trivial" compiler warning fixes in this commit. 15623 15624 The new .gitignore is the output of a command like: 15625 % find . -name .gitignore -exec cat {} \; | sort | uniq 15626 and only the toplevel .gitignore file was kept. 15627 15628commit 091c1624fd2f9d933329d6152e4ecd865aa7903a 15629Author: Peter Hutterer <peter.hutterer@who-t.net> 15630Date: Tue Jan 13 12:05:54 2009 +1000 15631 15632 Fix wrong implies symbol. 15633 15634 Quote Simos Xenitellis: 15635 > I checked the gtk+ commit logs that go back to 2000, and I see that still it 15636 > was 15637 > 15638 > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 15639 > DOUBLE ARROW */ 15640 > 15641 > In XFree86, it appears there was an error when they converted the 15642 > original table to 15643 > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 15644 > and the problem still shows up there (November 2000). 15645 15646 http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 15647 15648 Reported by Erik Streb del Toro. 15649 15650commit e32521f19e0b07649b7e3a03d56a2bd556b138fb 15651Author: James Cloos <cloos@jhcloos.com> 15652Date: Sun Dec 7 04:13:34 2008 -0500 15653 15654 [i18n] s/U00DC/Udiaeresis/g 15655 15656 The xkeyboard-config keyboards generate the symbol Udiaeresis, not 15657 U00DC. Make sure the relevant Compose sequences expect the symbol 15658 which the keyboards actually send. 15659 15660commit b7502abfe22f8dc009b21cda1172af221d8f9f32 15661Author: James Cloos <cloos@jhcloos.com> 15662Date: Sun Dec 7 04:09:46 2008 -0500 15663 15664 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 15665 15666 As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 15667 15668 This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 15669 15670commit c9d20e3f697c9cfae5511412023362c1db7449b1 15671Author: James Cloos <cloos@jhcloos.com> 15672Date: Sun Dec 7 04:08:23 2008 -0500 15673 15674 Use C comments rather than initial doubled hashes to exclude lines from .pre files 15675 15676commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 15677Author: vehemens <vehemens@verizon.net> 15678Date: Sun Dec 7 01:18:26 2008 -0500 15679 15680 [i18n] Distribute new headers which were added for gb18030 support. 15681 15682 big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 15683 make it into the tar. 15684 15685 Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 15686 15687 Signed-off-by: James Cloos <cloos@jhcloos.com> 15688 15689commit 418819558d2c60e58b4e3022ce0fadf2143488ac 15690Author: Stefan Dirsch <sndirsch@suse.de> 15691Date: Sat Nov 22 22:01:07 2008 +0100 15692 15693 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 15694 15695commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 15696Author: Stefan Dirsch <sndirsch@suse.de> 15697Date: Sat Nov 22 19:40:54 2008 +0100 15698 15699 Added remaining xlib patch required for gb18030 support (#1573). 15700 15701commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 15702Author: Stefan Dirsch <sndirsch@suse.de> 15703Date: Sat Nov 22 17:53:06 2008 +0100 15704 15705 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 15706 15707commit c859446c500c883a67f7a86cab1a44844e24dade 15708Author: Ken Thomases <ken@codeweavers.com> 15709Date: Fri Nov 21 13:58:10 2008 -0500 15710 15711 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 15712 15713 Signed-off-by: James Cloos <cloos@jhcloos.com> 15714 15715commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 15716Author: Jeremy Huddleston <jeremyhu@freedesktop.org> 15717Date: Mon Nov 17 20:47:26 2008 -0800 15718 15719 Force local transport when using the launchd socket. 15720 15721 Fixes a regression due to 15722 bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 15723 15724commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 15725Author: Peter Hutterer <peter.hutterer@redhat.com> 15726Date: Fri Nov 14 10:32:50 2008 +1000 15727 15728 Add XF86Suspend, XF86Hibernate to KeysymDB. 15729 15730commit d16b11f25f8265e651def8d80bcd430c0448e664 15731Author: James Cloos <cloos@jhcloos.com> 15732Date: Tue Nov 11 19:43:39 2008 -0500 15733 15734 [nls] Annotate the Bépo compose sequences 15735 15736 Add comments with the UCS names. 15737 Add utf-8 strings for each result. 15738 Format for easy reading. 15739 15740commit 730298464240be6f65b32416b3f9b20062c61825 15741Author: James Cloos <cloos@jhcloos.com> 15742Date: Tue Nov 11 16:41:34 2008 -0500 15743 15744 [nls] Add some UTF-8 Compose sequences 15745 15746 As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 15747 15748 Cf. bugs: 15749 15750 https://bugs.freedesktop.org/show_bug.cgi?id=17821 15751 https://bugs.freedesktop.org/show_bug.cgi?id=17822 15752 15753commit ad6008a0c92733826983eb93f063d3d6276007d8 15754Author: Colin Harrison <colin.harrison@virgin.net> 15755Date: Thu Nov 6 17:48:21 2008 -0500 15756 15757 Fix copy/paste typo in imLcPrs 15758 15759 Signed-off-by: James Cloos <cloos@jhcloos.com> 15760 15761commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 15762Author: Adam Jackson <ajax@redhat.com> 15763Date: Thu Nov 6 14:54:13 2008 -0500 15764 15765 Fix leak in _XimXGetReadData 15766 15767 Spotted by Denis Dzyubenko 15768 15769commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 15770Author: Julien Cristau <jcristau@debian.org> 15771Date: Wed Nov 5 22:09:37 2008 +0100 15772 15773 Bump to 1.1.99.2 15774 15775commit d31e644c65c52828ea3e7abd94a8cf9aee12265c 15776Author: Julien Cristau <jcristau@debian.org> 15777Date: Wed Nov 5 21:33:13 2008 +0100 15778 15779 Fix distcheck 15780 15781commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 15782Author: Jamey Sharp <jamey@minilop.net> 15783Date: Wed Oct 29 14:00:33 2008 -0700 15784 15785 Support multiple independent internal sync handlers 15786 15787 Xlib has several independent tasks that need to be performed with the 15788 display unlocked. It does this by replacing the existing sync handler with 15789 one of a variety of internal sync handlers. However, if multiple internal 15790 sync handlers need to run, then the last one registering wins and 15791 previously registered internal sync handlers are never invoked. This 15792 manifested as a bug with DRI applications on Xlib/XCB as that requires 15793 both an XID handler after every XID allocation, and the periodic sequence 15794 number handler. The XID handler would win, and the sequence number handler 15795 would never be invoked. 15796 15797 Fix this by unifying the internal sync handler mechanism into a single 15798 function that calls all of the known internal sync handlers. They all need 15799 to deal with being called when not strictly necessary now. 15800 15801 Signed-off-by: Keith Packard <keithp@keithp.com> 15802 Signed-off-by: Jamey Sharp <jamey@minilop.net> 15803 Signed-off-by: Josh Triplett <josh@freedesktop.org> 15804 15805commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 15806Author: Keith Packard <keithp@keithp.com> 15807Date: Sat Oct 11 21:44:21 2008 -0700 15808 15809 Ensure that _XReadEvents always leaves an event in the queue on return 15810 15811 XNextEvent assumes that the event queue will be non-empty on return from 15812 _XReadEvents, but with multiple event readers running, the previous change 15813 could leave the queue empty on return from process_responses. Re-invoke 15814 process_responses until the queue is non-empty. 15815 15816 Signed-off-by: Keith Packard <keithp@keithp.com> 15817 15818commit bedfe68259037c5564fe52758c92b9c97729640a 15819Author: Keith Packard <keithp@keithp.com> 15820Date: Sat Oct 11 21:10:23 2008 -0700 15821 15822 Permit only one Xlib thread to block waiting for events 15823 15824 As Xlib queues events internally, we must prevent multiple Xlib threads from 15825 entering XCB to wait for an event in case the queued event is to be 15826 delivered to the thread which didn't manage to read it. In other words, let 15827 only one Xlib thread into xcb_wait_for_event at a time. 15828 15829 Jamey Sharp looked over my shoulder while making this fix and, while hating 15830 my whitespace conventions, appears happy enough with the actual code. 15831 15832 Signed-off-by: Keith Packard <keithp@keithp.com> 15833 15834commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 15835Author: Jamey Sharp <jamey@minilop.net> 15836Date: Sun Mar 23 16:33:50 2008 -0700 15837 15838 Fix XAllocID race: hold the user display lock until we have a new XID. 15839 15840 Xlib built --without-xcb is also vulnerable to this race, and a similar 15841 fix might work there too. 15842 15843 Also, use an XID that's truly invalid while waiting for the next XID to be 15844 requested. 15845 15846commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 15847Author: Josh Triplett <josh@freedesktop.org> 15848Date: Sat Mar 15 17:22:23 2008 -0700 15849 15850 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 15851 15852 Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 15853 requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 15854 Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 15855 had to flush its requests when unlocking the display. 15856 15857 XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 15858 much of the existing Xlib/XCB implementation with the use of 15859 xcb_take_socket to take ownership of the write side of the X connection 15860 socket, and a return_socket callback which writes any outstanding requests 15861 with xcb_writev. This approach allows Xlib/XCB to use the same buffering 15862 as traditional Xlib did. In particular, programs which use Xlib/XCB and 15863 never make XCB calls will never need to hand the socket back to XCB, and 15864 vice versa. 15865 15866 This allows us to discard large quantities of synchronization code from 15867 Xlib/XCB, together with the synchronization bugs present in that code. 15868 Several test cases which previously failed now work perfectly, including 15869 multi-threaded ico. In addition, the infamous locking correctness 15870 assertions, triggered when double-locking or when unlocking without a 15871 previous lock, no longer exist, because Xlib/XCB no longer has any reason 15872 to care more about application locking than traditional Xlib does. 15873 15874 Furthermore, the handoff approach provides great improvements to 15875 performance. Results from x11perf's XNoOp test, which represented the 15876 worst case for the lock-based Xlib/XCB: 15877 15878 Traditional Xlib: average 19100000/sec 15879 Lock-based Xlib/XCB: average 3350000/sec 15880 Handoff-based Xlib/XCB: average 17400000/sec 15881 15882 Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 15883 Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 15884 performance. Of course, real-world workloads do not use no-op, so your 15885 mileage may vary. In particular, since no-ops represent the worst case, 15886 we expect real workloads to more closely match the performance of 15887 traditional Xlib. 15888 15889 While removing synchronization code, we changed _XReply to not drop any 15890 locks when calling xcb_wait_for_reply; previously, we had to carefully 15891 avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 15892 the locks reduces implementation complexity and should not impact 15893 applications. 15894 15895 Commit by Jamey Sharp and Josh Triplett. 15896 XCB's handoff mechanism inspired by Keith Packard. 15897 15898commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 15899Author: Chris Ball <cjb@laptop.org> 15900Date: Mon Nov 3 22:57:29 2008 -0500 15901 15902 Remove configure check for xcb-xlib. 15903 15904 xcb-xlib has been intentionally removed from libxcb; stop checking for 15905 it at configure-time. 15906 15907commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 15908Author: Josh Triplett <josh@freedesktop.org> 15909Date: Wed Oct 29 14:37:44 2008 -0700 15910 15911 .gitignore: Add dolt files 15912 15913commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 15914Author: Peter Hutterer <peter.hutterer@redhat.com> 15915Date: Tue Oct 28 11:56:55 2008 +1030 15916 15917 man: fix formatting error in XkbGetIndicatorState man page. 15918 15919commit b1022fa6d7e97640049e93ffa108083fc8d71b05 15920Author: James Cloos <cloos@jhcloos.com> 15921Date: Sat Oct 25 09:13:08 2008 -0400 15922 15923 Increase size of working arrays in the makekeys utility program. 15924 15925 Makekeys is used to create an optimal hash of the keysyms defined 15926 in x11proto’s keysymdef.h. 15927 15928 The recent addition of new keysyms there has triggered a bug in 15929 makekeys where it tries to use a zero on the rhs of the % (mod) 15930 operator (resulting in a divide by zero error) whenever it fails 15931 to find a solution within its constraints. 15932 15933 Increasing the size of the arrays allows it to find a solution for 15934 the current set of keysyms. 15935 15936 Makekeys is only run durring the build process, so this has no impact 15937 on users of libX11, only on the amount of VM needed to build it. 15938 15939 It still needs a more complete fix, but this allows compiles to 15940 progress until that is completed. 15941 15942commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 15943Author: James Cloos <cloos@jhcloos.com> 15944Date: Sat Oct 11 01:03:14 2008 -0400 15945 15946 Dolt-ify 15947 15948 Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 15949 15950commit 39c0b266cac8cbc15bf501d7869186862f01d823 15951Author: Peter Hutterer <peter.hutterer@redhat.com> 15952Date: Wed Oct 15 14:30:20 2008 +1030 15953 15954 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 15955 15956 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 15957 15958commit d23aad31338e7d869d878d5aa1b6b91d20287005 15959Author: Peter Hutterer <peter.hutterer@redhat.com> 15960Date: Mon Oct 13 09:41:59 2008 +1030 15961 15962 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 15963 15964commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 15965Author: Peter Hutterer <peter.hutterer@who-t.net> 15966Date: Thu Jul 24 15:44:26 2008 +0930 15967 15968 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 15969 15970 Thanks to Michael Meeks, Novell Bug 369263. 15971 https://bugzilla.novell.com/show_bug.cgi?id=369263 15972 15973commit e7ece39afc8e0adc3b6b1e70b337b98376754462 15974Author: Alan Coopersmith <alan.coopersmith@sun.com> 15975Date: Tue Oct 7 15:41:38 2008 -0700 15976 15977 Sun bug #6739431: double free in _X11TransConnectDisplay() 15978 15979 Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 15980 After copying original_hostname to phostname, set original_hostname 15981 to NULL, so we don't free the same pointer twice when we free both 15982 original_hostname and phostname. 15983 15984 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 15985 15986commit 0877bc916afbd1ff8f1833edc930b765ea783576 15987Author: Daniel Stone <daniel@fooishbar.org> 15988Date: Tue Sep 23 19:02:02 2008 +0300 15989 15990 configure.ac: Fix CC_FOR_BUILD logic error 15991 15992 Turns out we were accidentally smashing it so that you couldn't set it 15993 externally at all. Oops. 15994 15995commit 58bf3aa746908f01c37be7045699e43a4e270944 15996Author: John Tapsell <johnflux@gmail.com> 15997Date: Tue Sep 23 17:30:13 2008 +0300 15998 15999 Build: Use native compiler for makekeys 16000 16001 makekeys needs to be run during the build process, as opposed to on the 16002 target, so build it with either of gcc or cc to fix cross-compiling. 16003 This can be overridden by setting $CC_FOR_BUILD. 16004 16005commit 340422a5c7a413faef18666cada27cee14615250 16006Author: Adam Jackson <ajax@redhat.com> 16007Date: Wed Sep 17 12:54:34 2008 -0400 16008 16009 Fix the previous patch for the BadFont case. 16010 16011commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 16012Author: Matthias Clasen <mclasen@redhat.com> 16013Date: Wed Sep 17 10:43:52 2008 -0400 16014 16015 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 16016 16017commit db0b85db29699be6bf7e78dede655d59ba926dfc 16018Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 16019Date: Sun Sep 14 19:15:26 2008 -0400 16020 16021 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 16022 16023 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 16024 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 16025 ISO 8859 pt_BR Compose file) as the string but specify the keysym 16026 and comment for Ć and ć (c with acute accent). 16027 16028 This commit normalizes those two lines to match the specified string. 16029 16030 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 16031 16032 Signed-off-by: James Cloos <cloos@jhcloos.com> 16033 16034commit b065c011baa69b69e3ea77c30d5e153c0d103e2d 16035Author: Michael Verret <michael.verret@gmail.com> 16036Date: Mon Sep 8 16:33:35 2008 -0400 16037 16038 Fix documentation typo 16039 16040 Signed-off-by: James Cloos <cloos@jhcloos.com> 16041 16042commit 4213ea95185377bdd1b51e82933f331fc0f52e5b 16043Author: James Cloos <cloos@jhcloos.com> 16044Date: Sat Sep 6 04:19:19 2008 -0400 16045 16046 Remove extraneous <angle brackets> from the Ethiopic Compose file. 16047 16048 The am_ET.UTF-8 Compose file submitted in: 16049 16050 https://bugs.freedesktop.org/show_bug.cgi?id=11307 16051 16052 for the OLCP project used incorrect syntax. (It has angle brackets around the 16053 Uxxxx symbols on the right hand side rather than only on the left hand side). 16054 16055 This bug is noted in OLPC’s ticket: 16056 16057 http://dev.laptop.org/ticket/7474 16058 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 16059 16060commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 16061Author: James Cloos <cloos@jhcloos.com> 16062Date: Mon Sep 1 17:49:33 2008 -0400 16063 16064 Complete the set of vulgar fractions 16065 16066 Unicode 1.1 added thirds, fifths, sixths and eights; 16067 we might as well catch up. 16068 16069 (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 16070 and 0/3 (U2189) in their pipelines, but those four can be added 16071 here after they are published.) 16072 16073commit a788792e9de95f8db0639557859722a35087481d 16074Author: James Cloos <cloos@jhcloos.com> 16075Date: Wed Aug 20 15:28:07 2008 -0400 16076 16077 nls (en_US) Re-remove long compositions that override shorter 16078 16079 As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 16080 16081 Commit a6f4bbf7 16082 nls (en_US): remove long compositions that override shorter [...] 16083 removed some longer compose sequences because there are shorter 16084 ones which take preference over the longer. For example the 16085 sequences: 16086 16087 <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 16088 <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 16089 16090 were removed becase there already was: 16091 16092 <Multi_key> <apostrophe> <comma> : U201A # ‚ 16093 16094 Then commit 4ba09125 16095 Work on making the en_US and pt_BR UTF-8 Compose as similar as 16096 possible added exactly the same key sequences again. Obviusly 16097 they won't work. 16098 16099commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 16100Author: James Cloos <cloos@jhcloos.com> 16101Date: Thu Jul 17 21:01:42 2008 -0400 16102 16103 Add more <Multi_key> <cedilla> Compose tuples 16104 16105 The last commit missed the el_GR UTF-8 Compose.pre as well as 16106 the various ISO 8859 locales which have compose sequences 16107 generating ‘WITH CEDILLA’ characters. 16108 16109 (Interestingly, some of the 8859 locales already supported 16110 <Multi_key> <cedilla> for some CEDILLA characters, but not 16111 for Ç or ç.) 16112 16113 This is further work on bug 10397. 16114 16115commit 4ba091255bb953d53078ba5619d6751052c739f7 16116Author: James Cloos <cloos@jhcloos.com> 16117Date: Thu Jul 17 17:16:50 2008 -0400 16118 16119 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 16120 16121 The eventual goal here is to have a single primary UTF-8 Compose 16122 file which the locale-specific UTF-8 Compose.pre files can #include. 16123 16124commit 254522d3c24e0590732fc03cdd61ff4564819d94 16125Author: James Cloos <cloos@jhcloos.com> 16126Date: Thu Jul 17 17:13:36 2008 -0400 16127 16128 Add <Multi_key> <cedilla> Compose tuples 16129 16130 The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 16131 with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 16132 support for using <cedilla> instead of <comma> in said sequences. 16133 16134 This commit makes both styles work. 16135 16136commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 16137Author: James Cloos <cloos@jhcloos.com> 16138Date: Sat Jun 28 15:25:23 2008 -0400 16139 16140 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 16141 16142 The new block was added twice to the en_US.UTF-8 Compose.pre; 16143 delete the duplicate. 16144 16145commit 596e081b7457dcd1c4ad555ac140e6999239bc0d 16146Author: Peter Hutterer <peter@cs.unisa.edu.au> 16147Date: Sat Jun 28 20:14:05 2008 +0930 16148 16149 Fix unbalanced parenthesis in XKBlib.h # 16551 16150 16151 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 16152 16153commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 16154Author: Adam Jackson <ajax@redhat.com> 16155Date: Tue Jun 24 13:16:53 2008 -0400 16156 16157 Bug #14898: Don't abuse the sprintf() implementation. 16158 16159 The thing you're printing into should not itself appear in the list of 16160 things to print from, that's bad juju. Just use strcat(). 16161 16162commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 16163Author: Khaled Hosny <khaledhosny@eglug.org> 16164Date: Thu Jun 19 18:26:11 2008 -0400 16165 16166 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 16167 16168 Add some Arabic digraphs to utf-8 locales with a Compose.pre 16169 16170 Signed-off-by: James Cloos <cloos@jhcloos.com> 16171 16172commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 16173Author: Alan Coopersmith <alan.coopersmith@sun.com> 16174Date: Wed Jun 18 20:00:25 2008 -0700 16175 16176 Rework code to choose local connection types and fallback to others 16177 16178 Adds --with-local-transport-order configure flag if you don't like the 16179 default ordering (which is platform dependent) 16180 16181 Includes fixes for these Sun/Solaris bug ids: 16182 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 16183 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 16184 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 16185 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 16186 16187commit cf49e537014c3cb5aaee07e57400933e0bb72b6b 16188Author: Alan Coopersmith <alan.coopersmith@sun.com> 16189Date: Tue Jun 17 14:41:17 2008 -0700 16190 16191 Strip whitespace from end of lines in source files 16192 16193commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 16194Author: Jeff Smith <whydoubt@yahoo.com> 16195Date: Sun Jun 15 23:52:20 2008 -0500 16196 16197 Fix memory leak in XOpenDisplay 16198 16199 Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 16200 16201commit fca0b0ba3f72b7284601d4690bba99fc80a92614 16202Author: Jens Herden <jens@khmeros.info> 16203Date: Tue Jun 10 20:07:30 2008 +0300 16204 16205 NLS: Add Khmer compose sequences (bug #5706) 16206 16207 Add some Khmer digraphs to all locales with a Compose.pre. 16208 16209commit e54cffb649b1622c17457e470cfab8cc56d38c97 16210Merge: 19802ccd 721b574d 16211Author: Daniel Stone <daniel@fooishbar.org> 16212Date: Tue Jun 10 20:04:30 2008 +0300 16213 16214 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 16215 16216commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 16217Author: Peter Hutterer <peter@cs.unisa.edu.au> 16218Date: Thu May 29 10:57:21 2008 +0930 16219 16220 Bump to 1.1.99.1 16221 16222commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 16223Author: Peter Hutterer <peter@cs.unisa.edu.au> 16224Date: Wed May 28 17:31:59 2008 +0930 16225 16226 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 16227 16228commit e9195db7257e418f83707233baeeb84b225caf4f 16229Merge: c34f76f4 a7f85567 16230Author: Peter Hutterer <peter@cs.unisa.edu.au> 16231Date: Thu May 22 12:14:28 2008 +0930 16232 16233 Merge branch 'master' into xge 16234 16235commit 19802ccd3909145e3ba2f6c073271cb5f3701685 16236Author: Daniel Stone <daniel@fooishbar.org> 16237Date: Mon May 19 19:22:31 2008 +0300 16238 16239 gitignore: Update with loads more bits from server 16240 16241commit a7f85567a3e850fba0c44571453d2852ab1a09be 16242Author: Adam Jackson <ajax@redhat.com> 16243Date: Tue May 13 10:28:39 2008 -0400 16244 16245 Bug #15884: Remove useless sleep()'s from the connection code. 16246 16247 For network transports, there's enough delay in the network layer 16248 already without adding more. For local transports, just hurry up 16249 and fail if the server isn't there. 16250 16251commit c34f76f475bc632490122e67b5a82575d69d5569 16252Author: Peter Hutterer <peter@cs.unisa.edu.au> 16253Date: Mon May 12 21:46:24 2008 +0930 16254 16255 Pull down extra bytes when reading a GenericEvent (non-xcb). 16256 16257 I refuse to take any responsibily for this code. It works, I guess. 16258 But - all the flushing is done somewhere before that, so we might need to 16259 flush here. Under some circumstances anyway. Don't ask me, I'm an optical 16260 illusion. 16261 16262 Build with xcb as transport layer highly recommended. 16263 16264commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 16265Merge: 17d7dcbf 9129057b 16266Author: Peter Hutterer <peter@cs.unisa.edu.au> 16267Date: Mon May 12 17:58:37 2008 +0930 16268 16269 Merge branch 'master' into xge 16270 16271commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 16272Author: Teemu Likonen <tlikonen@iki.fi> 16273Date: Wed May 7 21:44:22 2008 +0300 16274 16275 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 16276 16277 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 16278 <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 16279 U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 16280 duplicate compose sequences since these have already been defined. Also, 16281 using <dead_belowring> is more logical since the diacritic is indeed 16282 a "RING BELOW". 16283 16284commit 01a9cb58888d290cc3d319feec4ee4a0297a844c 16285Author: Daniel Stone <daniel@fooishbar.org> 16286Date: Wed May 7 20:04:44 2008 +0300 16287 16288 NLS: Make UTF-8 the default for Russian 16289 16290 No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 16291 only other possible answer would be KOI8-R. 16292 16293 Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 16294 16295commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 16296Author: Ross Burton <ross@burtonini.com> 16297Date: Tue Apr 29 13:38:10 2008 +0300 16298 16299 NLS: Add interrobang to UTF-8 compose tables (bug #15653) 16300 16301 It is what it says on the box. 16302 16303commit 0b6682303e9c61fefc3818acfda616b1e3691abf 16304Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 16305Date: Mon Apr 28 11:51:25 2008 +0300 16306 16307 IM: Respect XMODIFIERS for Thai locale (bug #15719) 16308 16309 When looking at Thai input methods, make sure XMODIFIERS is checked 16310 before jumping straight into built-in Thai processing, so external XIM 16311 servers such as SCIM can be used with Thai. 16312 16313commit c13aded1b2f830ba5004abb0ec5518f9ea16087e 16314Author: Colin Harrison <colin.harrison-at-virgin.net> 16315Date: Sat Apr 26 18:56:05 2008 +0100 16316 16317 Fix missing error condition 16318 16319commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 16320Author: Colin Harrison <colin.harrison-at-virgin.net> 16321Date: Mon Apr 21 17:24:33 2008 +0100 16322 16323 Xlib warning fixes 16324 16325commit 6b6caeea830a977bdb54688cfb648d879821e752 16326Author: James Cloos <cloos@jhcloos.com> 16327Date: Fri Apr 18 02:50:55 2008 -0400 16328 16329 Add some dead_key sequences to en_US.UTF-8 Compose table 16330 16331 Make use of the new dead key symbols added to x11proto’s 16332 commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 16333 was in responce to bug #15446). 16334 16335commit 8f9b039580deaf658e464b7d6254064fcf183df6 16336Author: Alan Coopersmith <alan.coopersmith@sun.com> 16337Date: Mon Apr 14 19:09:42 2008 -0700 16338 16339 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 16340 16341commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 16342Author: Alan Coopersmith <alan.coopersmith@sun.com> 16343Date: Mon Apr 14 18:21:14 2008 -0700 16344 16345 Fix mismatched brace indenting 16346 16347commit a19f9c65ee9e5e5d783feaa84998c36439b0288b 16348Author: Bart Massey <bart@cs.pdx.edu> 16349Date: Fri Apr 4 18:58:45 2008 -0700 16350 16351 added error check in Xcms color file parser; closes bug #15305 16352 16353commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 16354Author: Christian Weisgerber <naddy@mips.inka.de> 16355Date: Tue Mar 18 07:30:05 2008 +0100 16356 16357 ConnDis: properly cast 'addr' before accessing it as a byte array. 16358 16359 If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 16360 clients over IPv6, the clients are liable to segfaults. 16361 16362commit 64325f38bab082a8e0e9ce779a8e582de5c8588e 16363Author: Josh Triplett <josh@freedesktop.org> 16364Date: Sat Mar 15 12:29:33 2008 -0700 16365 16366 Fix fd.o bug 15023: make Xlib sync correctly given many void requests 16367 16368 If given many requests without replies, Xlib may not sync until it flushes 16369 the output buffer. Thus, if Xlib can fit enough requests in the buffer to 16370 pass by the number of requests it would normally sync after (65536 - 16371 BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 16372 demonstrated this by issuing a request with a reply (ListExtensions) at 16373 just the right time to get confused with the GetInputFocus reply issued in 16374 response to the sync 65,536 requests later; the test case used an async 16375 handler to watch the replies, since otherwise it could not issue a request 16376 without waiting for the response. When the test case failed, Xlib's sync 16377 handler would eat the ListExtensions reply, and the test case's async 16378 handler would see the GetInputFocus reply. 16379 16380 Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 16381 buffer size to figure out when the sequence numbers could potentially wrap 16382 before the next flush. 16383 16384 With this commit, the test case consistently passed, and the async reply 16385 handler always saw the ListExtensions reply. 16386 16387 Commit by Jamey Sharp and Josh Triplett. 16388 16389commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 16390Author: Colin Harrison <colin.harrison@virgin.net> 16391Date: Sat Mar 15 13:39:13 2008 -0400 16392 16393 Fix typo 16394 16395 Signed-off-by: James Cloos <cloos@jhcloos.com> 16396 16397commit f07585ca27a8487bc66dfe41486c823f0fdcea7d 16398Author: Daniel Stone <daniel@fooishbar.org> 16399Date: Sat Mar 15 17:32:57 2008 +0200 16400 16401 configure.ac: Don't search for legacy X11 headers 16402 16403 This can actually break cross-compiles, so don't do it anymore. 16404 16405commit bf69541238c7df6606340c0f389e5c47149b29c7 16406Author: Matthieu Herrb <matthieu.herrb@laas.fr> 16407Date: Sun Mar 9 09:08:07 2008 +0100 16408 16409 nuke RCS Ids 16410 16411commit 5e98aed13e529638df744e45893c471d5f2014fb 16412Author: Adam Jackson <ajax@redhat.com> 16413Date: Thu Mar 6 16:10:33 2008 -0500 16414 16415 libX11 1.1.4 16416 16417commit 8e085971dc661da9f80ff6b67747459c0fb15c08 16418Author: Alan Coopersmith <alan.coopersmith@sun.com> 16419Date: Thu Feb 28 20:17:41 2008 -0800 16420 16421 Man page typo fixes 16422 16423commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 16424Author: Søren Sandmann Pedersen <sandmann@redhat.com> 16425Date: Sun Feb 24 20:03:35 2008 -0500 16426 16427 XIM: Fix a hand when switching input context. 16428 16429 Red Hat bug #201284. 16430 16431commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 16432Author: Adam Jackson <ajax@redhat.com> 16433Date: Sun Feb 24 20:00:43 2008 -0500 16434 16435 Bug #14029: Don't LockDisplay() recursively. 16436 16437 See also Red Hat bugzilla #326461. 16438 16439commit e5892467ae3308c8651be76e06db322dcbc08522 16440Author: Alan Coopersmith <alan.coopersmith@sun.com> 16441Date: Fri Feb 15 17:27:53 2008 -0800 16442 16443 Add support for building lint library with --enable-lint-library 16444 16445commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 16446Author: Alan Coopersmith <alan.coopersmith@sun.com> 16447Date: Mon Feb 11 20:11:43 2008 -0800 16448 16449 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 16450 16451commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 16452Author: Alan Coopersmith <alan.coopersmith@sun.com> 16453Date: Fri Feb 8 16:46:46 2008 -0800 16454 16455 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 16456 16457commit 416a812200f24d19149dcc497e5c51a0608120f6 16458Author: Alan Coopersmith <alan.coopersmith@sun.com> 16459Date: Fri Feb 8 15:31:31 2008 -0800 16460 16461 XErrorDB updates for Render 0.9 & XFixes 4.0 16462 16463commit 16a76091cd632e5a3708e235ff864b58f3e4613e 16464Author: Kim Woelders <kim@woelders.dk> 16465Date: Sat Dec 22 21:45:23 2007 +0100 16466 16467 Fix bs_BA entries in locale.dir.pre 16468 16469 X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 16470 16471commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 16472Merge: 8f0bd3f4 e8d4cefa 16473Author: James Cloos <cloos@jhcloos.com> 16474Date: Fri Dec 14 22:43:47 2007 -0500 16475 16476 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 16477 16478commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 16479Author: James Cloos <cloos@jhcloos.com> 16480Date: Fri Dec 14 22:42:59 2007 -0500 16481 16482 add a comment to en_US.UTF-8/Compose 16483 16484commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 16485Author: James Cloos <cloos@jhcloos.com> 16486Date: Fri Dec 14 22:40:13 2007 -0500 16487 16488 Add <dead_stroke> compose sequences 16489 16490 The added sequences match the existing <Multi_key> <slash> sequences. 16491 16492 This is related to bug #12765¹. 16493 16494 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 16495 16496commit e8d4cefa0837afa149a10e981528b368485a9e38 16497Author: Jeremy Huddleston <jeremy@yuffie.local> 16498Date: Mon Dec 10 23:00:44 2007 -0800 16499 16500 Added launchd support. 16501 16502commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 16503Merge: 5dfefd38 13ac8046 16504Author: Peter Hutterer <peter@cs.unisa.edu.au> 16505Date: Thu Dec 6 14:08:29 2007 +1030 16506 16507 Merge branch 'master' into xge 16508 16509commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 16510Merge: a68a1cd7 eff33ae5 16511Author: Peter Hutterer <peter@cs.unisa.edu.au> 16512Date: Thu Dec 6 13:57:09 2007 +1030 16513 16514 Merge branch 'master' into xge 16515 16516 Conflicts: 16517 16518 src/xcb_io.c 16519 16520commit 13ac80469f6958cabac596834e203bd9cb6d4c94 16521Author: James Cloos <cloos@jhcloos.com> 16522Date: Wed Dec 5 20:14:03 2007 -0500 16523 16524 Update the currency symbols block of en_US.UTF-8/Compose.pre 16525 Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 16526 the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 16527 AUSTRAL, HRYVNIA and CEDI SIGNs. 16528 16529commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 16530Author: Anton Zinoviev <anton@lml.bas.bg> 16531Date: Wed Dec 5 19:56:03 2007 -0500 16532 16533 Additions to the Compose file for UTF-8 16534 From bug #5371¹ 16535 16536 Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 16537 from those in attachment #4122². The post³ on xorg resulted in only 16538 a positive reply⁴ from Daniel, so this block is now also commited. 16539 16540 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 16541 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 16542 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 16543 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 16544 16545 Signed-off-by: James Cloos <cloos@jhcloos.com> 16546 Acked-by: Daniel Stone <daniel@fooishbar.org> 16547 16548commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 16549Author: James Cloos <cloos@jhcloos.com> 16550Date: Tue Dec 4 17:25:39 2007 -0500 16551 16552 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 16553 16554 Based on src/KeysymStr.c and src/StrKeysym.c and comments in 16555 bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 16556 those should be in the form U plus the hex of the UCS Code Point. 16557 16558 The 0x01000000 is ORed in by the code. 16559 16560 This update fixes all of those. 16561 16562 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 16563 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 16564 16565commit 02e04059c89e175f51647e3b031344f743286b34 16566Merge: 1254c57d b57129ef 16567Author: James Cloos <cloos@jhcloos.com> 16568Date: Tue Dec 4 06:55:04 2007 -0500 16569 16570 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 16571 16572commit 1254c57dd3a8d6ea87041b2f63024f99094f290f 16573Author: James Cloos <cloos@jhcloos.com> 16574Date: Tue Dec 4 06:53:55 2007 -0500 16575 16576 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 16577 Inspired by bug 11930¹: 16578 16579 Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 16580 and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 16581 Compose files. 16582 16583 This was done with a pair of perl scripts based on the one quoted in the 16584 log for commit c76d30253f1483ac8200ad5c032a818907e65030. 16585 16586 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 16587 16588commit b57129ef324c73ee91c2a796b800c4b45f4d4855 16589Author: Jeremy Huddleston <jeremy@yuffie.local> 16590Date: Mon Dec 3 20:04:19 2007 -0800 16591 16592 Use __APPLE__ instead of __DARWIN__ 16593 16594commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 16595Author: Jeremy Huddleston <jeremy@yuffie.local> 16596Date: Wed Nov 28 16:43:49 2007 -0800 16597 16598 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 16599 16600commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 16601Author: Alan Coopersmith <alan.coopersmith@sun.com> 16602Date: Wed Nov 21 16:50:04 2007 -0800 16603 16604 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 16605 16606 X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 16607 16608 Protect /* sequences from cpp pre-processor removal without transforming 16609 to Unicode mathematical asterisk character 16610 16611commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 16612Author: Jamey Sharp <jamey@minilop.net> 16613Date: Mon Oct 29 10:46:20 2007 -0700 16614 16615 Two threads can request sequence sync and XID fetch simultaneously. 16616 16617 So don't assert that they can't. 16618 16619 This makes the Xlib/XCB implementation of _XAllocID more closely 16620 resemble the traditional Xlib version. 16621 16622commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 16623Author: Samuel Thibault <samuel.thibault@ens-lyon.org> 16624Date: Sun Oct 28 04:44:00 2007 -0800 16625 16626 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 16627 16628 <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 16629 16630commit 24527c92fd1f433ea135e85ec876a94a529fe500 16631Author: Yann Droneaud <ydroneaud@mandriva.com> 16632Date: Wed Oct 24 19:26:07 2007 +0300 16633 16634 XIM: Properly initialise client event 16635 16636 Make sure all ClientMessage fields are initialised to 0 before we send it. 16637 16638commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 16639Author: Daniel Stone <daniel@fooishbar.org> 16640Date: Wed Oct 24 19:22:22 2007 +0300 16641 16642 Colours: Fix --disable-xcms 16643 16644 Disable large tracts of colour management code when passing 16645 --disable-xcms. 16646 16647commit 11ea09745efa8de7dc82fe30ebd2393f08390957 16648Author: Eric Anholt <eric@anholt.net> 16649Date: Fri Aug 31 17:30:33 2007 -0700 16650 16651 Bug #2081: Note the range limitation of XSetScreenSaver arguments. 16652 16653commit 31540f1438ec63faf37044f2fd654b335ddf80f0 16654Author: Kristian Høgsberg <krh@redhat.com> 16655Date: Wed Aug 29 19:50:57 2007 -0400 16656 16657 Add GLX 1.4 requests and errors. 16658 16659commit 7c996f78914c77fe17e9f4feede980d895d9df51 16660Author: Eric Anholt <eric@anholt.net> 16661Date: Tue Aug 28 15:15:11 2007 -0700 16662 16663 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 16664 16665commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 16666Author: Eric S. Raymond <esr@thyrsus.com> 16667Date: Sun Jan 14 10:48:00 2007 -0800 16668 16669 Bug #9658: Bad markup on XIfEvent.3x 16670 16671 X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 16672 16673commit 74cba78daa738ef4d92096107d95c1a585933666 16674Author: Eric S. Raymond <esr@thyrsus.com> 16675Date: Sun Jan 14 10:43:00 2007 -0800 16676 16677 Bug #9655: Bad markup in XrmUniqueQuark.3x 16678 16679 X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 16680 16681commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 16682Author: Eric S. Raymond <esr@thyrsus.com> 16683Date: Sun Jan 14 10:43:00 2007 -0800 16684 16685 Bug #9654: Bad markup in XrmGetFileDatabase.3x 16686 16687 X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 16688 16689commit 2db713252090cae08f0200fecad4fc25fb64c8b1 16690Author: Eric S. Raymond <esr@thyrsus.com> 16691Date: Sun Jan 14 10:40:00 2007 -0800 16692 16693 Bug #9653: Bad markup in XQueryColor.3x 16694 16695 X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 16696 16697commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 16698Author: Eric S. Raymond <esr@thyrsus.com> 16699Date: Sun Jan 14 10:40:00 2007 -0800 16700 16701 Bug #9652: Bad markup in XDrawArc.3x 16702 16703 X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 16704 16705commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 16706Author: Eric S. Raymond <esr@thyrsus.com> 16707Date: Sun Jan 14 10:39:00 2007 -0800 16708 16709 Bug #9651: Bad markup in XcmsColor.3x 16710 16711 X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 16712 16713commit c316aaf0aab06951db9dc5c9c1148bfea835d885 16714Author: Eric S. Raymond <esr@thyrsus.com> 16715Date: Sun Jan 14 10:38:00 2007 -0800 16716 16717 Bug #9650: Bad markup in XLoadFont.3x manual page 16718 16719 X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 16720 16721commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 16722Author: Eric S. Raymond <esr@thyrsus.com> 16723Date: Tue Jan 2 10:18:00 2007 -0800 16724 16725 Bug 9523: Markup problems in XQueryExtension.3x 16726 16727 X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 16728 16729commit fe713c616e29ba19c179b43c18eca1035079ce18 16730Author: Ian Romanick <idr@us.ibm.com> 16731Date: Tue Aug 21 14:56:33 2007 -0700 16732 16733 Make sure nls/am_ET.UTF-8/Makefile is created by configure. 16734 16735commit e3430616f26b68e1439143cbe10732f3fc329d20 16736Author: Eric S. Raymond <esr@thyrsus.com> 16737Date: Tue Jan 2 08:40:00 2007 -0800 16738 16739 Bug #9516: Markup error in XAllocWMHints.3x 16740 16741 X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 16742 16743commit d8fe979fc929833e8c754aed32641786d5a0622b 16744Merge: 21ca9533 4ec1723f 16745Author: James Cloos <cloos@jhcloos.com> 16746Date: Mon Aug 20 15:34:50 2007 -0400 16747 16748 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 16749 16750commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 16751Author: James Cloos <cloos@jhcloos.com> 16752Date: Mon Aug 20 15:34:03 2007 -0400 16753 16754 Fix typo 16755 The code <U1000000D> was used where <U10000DC> was obviously intended. 16756 16757 It is possible that <Udiaeresis> should be used instead, if that will 16758 not break anyone’s setup. 16759 16760commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 16761Author: James Cloos <cloos@jhcloos.com> 16762Date: Mon Aug 20 15:25:48 2007 -0400 16763 16764 Add compose file for Ethiopic to match new keyboard in xkeyboard-config 16765 From bug report: 16766 16767 https://bugs.freedesktop.org/show_bug.cgi?id=11307 16768 16769commit eff33ae525337ce2026be135a26464c7b1237113 16770Author: James Cloos <cloos@jhcloos.com> 16771Date: Sat Aug 18 17:58:23 2007 -0400 16772 16773 Patch for Catalan locales 16774 From bugzilla bug 10943¹: 16775 16776 There are several Catalan locale codes which presently can 16777 be used in X11 systems; especially after they were accepted 16778 in belocs-locale-data². 16779 16780 In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 16781 locale codes. For instance, without this, using ca_AD (actually 16782 a quite used locale⁴) some applications (eg. Emacs or Skype) 16783 cannot display Catalan diacritic marks as you type them. 16784 16785 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 16786 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 16787 3] Toni Hermoso Pulido <toniher@softcatala.org> 16788 4] https://launchpad.net/~ubuntu.cat/+members 16789 16790commit 1f980cb7d022f53d0aee9e793b08203fb888e86e 16791Author: James Cloos <cloos@jhcloos.com> 16792Date: Sat Aug 18 17:47:04 2007 -0400 16793 16794 Add additional Euro signs to compose 16795 Inspired by bug 7419¹ make all of: 16796 16797 C=, =C, c=, =c, E=, =E, e=, E= 16798 16799 after <Multi_key> generate € U+20AC EURO SIGN. 16800 16801 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 16802 16803commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 16804Author: James Cloos <cloos@jhcloos.com> 16805Date: Sat Aug 18 17:29:08 2007 -0400 16806 16807 Compose fix for Latin-1 (from Debian) 16808 The description from bugzilla bug 7417¹ is: 16809 16810 We've been shipping this patch for some time in Debian now. The 16811 problem description from the patch header is reproduced below. You 16812 may want to note the licensing issue mentioned below, but we've been 16813 shipping it because the method by which this particular patch was 16814 generated and updated was also given below. 16815 16816 This patch by Denis Barbier. 16817 16818 The X11 protocol states that Unicode keysyms are in the range 16819 0x01000100 - 0x0110FFFF. If the result of composing characters is a 16820 Unicode codepoint, X returns the corresponding Unicode keysym, which 16821 is its Unicode codepoint augmented by 0x01000000. Latin-1 16822 characters must not appear with their Unicode codepoints in compose 16823 files, otherwise the returned composed character lies in the range 16824 0x01000000 - 0x010000FF which is not valid. 16825 16826 There are two solutions: either fix composing routines to return 16827 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 16828 replace U00ZZ by their corresponding keysyms in compose files. The 16829 latter is more logical and less error prone, so compose files will 16830 be patched. Many applications accept these invalid Unicode keysyms, 16831 but few of them don't, most notably xemacs. Only UTF-8 locales are 16832 affected. 16833 16834 This has been fixed very recently in XFree86 CVS (but not xorg), but 16835 for licensing reasons, this patch is not grabbed. Instead automatic 16836 conversion is performed by: 16837 16838 sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 16839 | grep -v deprecated | grep 0x0 \ 16840 | sed -e 's/0x0/U0/' -e 's/XK_//' \ 16841 | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 16842 for f in nls/*.UTF-8/Compose.pre 16843 do 16844 sed -f sedfile $f > $f.tmp && mv $f.tmp $f 16845 done 16846 16847 [I edited the quoted script to update it for the current location of 16848 the installed keysymdef.h and the current layout of the libX11 16849 repo. -JimC] 16850 16851 I applied the script, not the patch attached to the bugreport. 16852 16853 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 16854 16855commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 16856Author: James Cloos <cloos@jhcloos.com> 16857Date: Sat Aug 18 17:13:41 2007 -0400 16858 16859 Add some compose sequences 16860 16861 Add some compose sequences from the patch in bug 5371 (attachment 4122). 16862 16863 Cf: 16864 16865 https://bugs.freedesktop.org/show_bug.cgi?id=5371 16866 https://bugs.freedesktop.org/attachment.cgi?id=4122 16867 16868commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 16869Author: James Cloos <cloos@jhcloos.com> 16870Date: Sat Aug 18 13:57:31 2007 -0400 16871 16872 Fix SMP Compose targets 16873 The compose targets from the SMP (plane 1) were incorrect. 16874 16875 At some point the 0x10000 bit had been lost. 16876 16877commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 16878Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 16879Date: Thu Aug 16 17:37:22 2007 -0500 16880 16881 Fix a mutex reference-counting bug. 16882 16883 I was told that some systems have a much more permissive libpthread. 16884 I was asked to commit this. This is from NetBSD's X source. 16885 (I didn't receive any feedback on xorg list for over two weeks 16886 about this.) 16887 16888commit ac00a44b4875de70382da5a40dd87f976e5b9327 16889Author: Tilman Sauerbeck <tilman@code-monkey.de> 16890Date: Wed Aug 1 20:36:03 2007 +0200 16891 16892 Bumped version to 1.1.3. 16893 16894commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 16895Author: Joerg Sonnenberger <joerg@netbsd.org> 16896Date: Fri Jul 27 11:15:47 2007 -0700 16897 16898 Fail properly on errors in recursive make. 16899 16900commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 16901Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 16902Date: Thu Jul 26 23:31:15 2007 +0200 16903 16904 Add missing override parameter in XrmCombineDatabase prototype in the manpage 16905 16906 Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 16907 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 16908 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 16909 16910 Also add the type of the second argument in XrmMergeDatabases. 16911 16912commit 6f0764d4b56f64786b4980839ca262f10a51af6f 16913Author: Brice Goglin <Brice.Goglin@ens-lyon.org> 16914Date: Thu Jul 26 22:53:52 2007 +0200 16915 16916 Clarify return value of XGetCommand in case of error in the manpage 16917 16918 Reported by Sean Perry <shalehperry@attbi.com> 16919 in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 16920 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 16921 16922commit b8bef57342632cc2d25580bb7daa3839bae04d89 16923Author: Alan Coopersmith <alan.coopersmith@sun.com> 16924Date: Wed Jul 25 17:44:06 2007 -0700 16925 16926 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 16927 16928commit 590cde811a79375231c59ed8583e02b111ed567c 16929Author: Kean Johnston <kean@armory.com> 16930Date: Thu Jul 19 16:44:20 2007 -0700 16931 16932 Reset hostname when falling back from :0 to hostname/localhost:0 as well 16933 16934commit d334665e619e9db657a2ea2764a8b852401d4a3f 16935Author: Kean Johnston <kean@armory.com> 16936Date: Tue Jul 17 16:34:30 2007 -0700 16937 16938 LOCALCONN fallback changes DisplayString() output, breaks KDE 16939 16940 See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 16941 16942commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 16943Author: Olivier Blin <blino@mandriva.org> 16944Date: Mon Jun 11 18:32:09 2007 +1000 16945 16946 fix XGetMotionEvents arguments order - Fixes bug 11222 16947 16948commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 16949Author: Jamey Sharp <jamey@minilop.net> 16950Date: Sun Jun 10 16:19:59 2007 -0700 16951 16952 Fix locking in _XimGetWindowEventmask. 16953 16954 Now that XFilterEvent drops the Display lock before invoking callback 16955 functions, _XimGetWindowEventmask is called without the lock held. So 16956 when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 16957 that does not lock the Display, Xlib/XCB would assert: 16958 16959 xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 16960 16961 Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 16962 16963commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 16964Author: Jamey Sharp <jamey@minilop.net> 16965Date: Sun Jun 3 21:41:47 2007 -0700 16966 16967 Move security fixes to the top of NEWS, and fix spacing. 16968 16969 Commit by Josh Triplett and Jamey Sharp. 16970 16971commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 16972Author: Jamey Sharp <jamey@minilop.net> 16973Date: Sun Jun 3 21:29:40 2007 -0700 16974 16975 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 16976 16977 Commit by Josh Triplett and Jamey Sharp 16978 16979commit 5123b77a3d32d3ad479462f319762c328278aed9 16980Author: Jamey Sharp <jamey@minilop.net> 16981Date: Sun Jun 3 21:24:54 2007 -0700 16982 16983 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 16984 16985 Commit by Josh Triplett and Jamey Sharp. 16986 16987commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 16988Author: Jamey Sharp <jamey@minilop.net> 16989Date: Sun Jun 3 20:59:12 2007 -0700 16990 16991 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 16992 16993 Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 16994 _XReadEvents always enqueues at least one event even if an error occurred, 16995 because the one call to xcb_wait_for_event would then return an error, not an 16996 event, and nothing else ensured that process_responses would obtain an event. 16997 Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 16998 f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 16999 process_responses, wait_for_first_event now serves as a flag, cleared when 17000 actually handling an event. 17001 17002 Commit by Josh Triplett and Jamey Sharp. 17003 17004commit e2c1d788d1fe7bd2d34756493951552441e59b8c 17005Author: Jamey Sharp <jamey@minilop.net> 17006Date: Sun Jun 3 17:33:23 2007 -0700 17007 17008 Xlib/XCB: Only remove pending_requests when there are provably no more responses. 17009 17010commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 17011Author: Josh Triplett <josh@freedesktop.org> 17012Date: Sun Jun 3 15:39:39 2007 -0700 17013 17014 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 17015 17016 Signed-off-by: Josh Triplett <josh@freedesktop.org> 17017 17018commit 416f38f2e67ee1979b3d2feac6f06b3670238804 17019Author: Josh Triplett <josh@freedesktop.org> 17020Date: Sun Jun 3 12:13:44 2007 -0700 17021 17022 Revert "Revert "include: don't distribute XlibConf.h"" 17023 17024 This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 17025 17026 Re-revert the XlibConf.h change, which prevented distribution, not 17027 installation. 17028 17029commit 79fa3d8070d95b960ba486f2439225872471dadd 17030Author: Josh Triplett <josh@freedesktop.org> 17031Date: Sat Jun 2 22:05:16 2007 -0700 17032 17033 Revert "include: don't distribute XlibConf.h" 17034 17035 This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 17036 17037 The installed XlibInt.h includes XlibConf.h , so libX11 should ship 17038 XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 17039 prevent automake from shipping XlibConf.h, because it used 17040 nodist_x11include_HEADERS rather than nodist_HEADERS.) 17041 17042commit f417570735aac865eb6b576d1ea76b5bfcd8573b 17043Author: Jamey Sharp <jamey@minilop.net> 17044Date: Sat Jun 2 17:59:15 2007 -0700 17045 17046 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 17047 17048 Commit by Josh Triplett and Jamey Sharp. 17049 17050commit c337f9de7cfd89f983f83956b7457a274dd412f3 17051Author: Jamey Sharp <jamey@minilop.net> 17052Date: Sat Jun 2 17:46:41 2007 -0700 17053 17054 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 17055 17056 Commit by Jamey Sharp and Josh Triplett. 17057 17058commit 7f66c897f04806b75e574b55b48921b48045e3f9 17059Author: Jamey Sharp <jamey@minilop.net> 17060Date: Sat Jun 2 16:43:39 2007 -0700 17061 17062 Update _XReply's copy of _XCBUnlockDisplay's guts. 17063 17064 We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 17065 17066 Also add a comment in _XCBUnlockDisplay to discourage this problem from 17067 respawning. 17068 17069 Commit by Josh Triplett and Jamey Sharp. 17070 17071commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 17072Author: Jamey Sharp <jamey@minilop.net> 17073Date: Sat Jun 2 16:01:01 2007 -0700 17074 17075 Xlib/XCB: Avoid re-crashing after _XIOError. 17076 17077 Commit by Josh Triplett and Jamey Sharp. 17078 17079commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 17080Author: Jamey Sharp <jamey@minilop.net> 17081Date: Sat Jun 2 12:30:30 2007 -0700 17082 17083 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 17084 17085 An Xlib client can query Display state, such as with NextRequest, while 17086 it holds only the Xlib user lock (between XLockDisplay and 17087 XUnlockDisplay), so XCB requests in other threads should be blocked when 17088 the Xlib user lock is held. 17089 17090 We acquire the lock even when XInitThreads was not called, so that pure 17091 XCB code can use multiple threads even in an otherwise single-threaded 17092 Xlib application. 17093 17094 Commit by Josh Triplett and Jamey Sharp. 17095 17096commit 95523387d619af5b400748898d722e080b5ce1a6 17097Author: Jamey Sharp <jamey@minilop.net> 17098Date: Sat Jun 2 11:57:39 2007 -0700 17099 17100 Allow re-entrant Xlib calls from _XIOError. 17101 17102 Some libraries try to clean up X resources from atexit handlers, _fini, 17103 or C++ destructors. To make these work, the Display lock should be 17104 downgraded to a user lock (as in XLockDisplay) before calling exit(3). 17105 This blocks Xlib calls from threads other than the one calling exit(3) 17106 while still allowing the exit handlers to call Xlib. 17107 17108 This assumes that the thread calling exit will call any atexit handlers. 17109 If this does not hold, then an alternate solution would involve 17110 registering an atexit handler to take over the lock, which would only 17111 assume that the same thread calls all the atexit handlers. 17112 17113 Commit by Josh Triplett and Jamey Sharp. 17114 17115commit 91b02b8064f4e0bcc56019f0722914850008a597 17116Author: Tilman Sauerbeck <tilman@code-monkey.de> 17117Date: Thu May 17 19:07:34 2007 +0200 17118 17119 More constification. 17120 17121commit a4f3841940158351f9424c3f59b305cce877177d 17122Author: Tilman Sauerbeck <tilman@code-monkey.de> 17123Date: Thu May 17 00:29:43 2007 +0200 17124 17125 Constified composite text charset table. 17126 17127commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 17128Author: Tilman Sauerbeck <tilman@code-monkey.de> 17129Date: Wed May 16 23:19:22 2007 +0200 17130 17131 Have the compiler fill in hexTable so we don't have to do it at runtime. 17132 17133commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 17134Author: Tilman Sauerbeck <tilman@code-monkey.de> 17135Date: Wed May 16 19:36:23 2007 +0200 17136 17137 More constification. 17138 17139commit 6d2bed8f04942b4de086a519ac693e729c9fdeea 17140Author: Tilman Sauerbeck <tilman@code-monkey.de> 17141Date: Wed May 16 19:18:20 2007 +0200 17142 17143 Constify and clean up token table. 17144 17145commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 17146Author: Tilman Sauerbeck <tilman@code-monkey.de> 17147Date: Wed May 16 18:24:42 2007 +0200 17148 17149 Constified more tables. 17150 17151commit e699c4231c205ef00d687b6412308d031b99806b 17152Author: Tilman Sauerbeck <tilman@code-monkey.de> 17153Date: Wed May 16 18:01:23 2007 +0200 17154 17155 Constified error list. 17156 17157commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 17158Author: Peter Hutterer <peter@cs.unisa.edu.au> 17159Date: Tue May 15 16:54:01 2007 +0930 17160 17161 Add XGenericEvent definition and handling for long events. 17162 17163commit c76d30253f1483ac8200ad5c032a818907e65030 17164Author: Jan Willem Stumpel <jstumpel@planet.nl> 17165Date: Fri May 4 12:00:49 2007 -0700 17166 17167 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 17168 17169 Cf: 17170 17171 https://bugs.freedesktop.org/show_bug.cgi?id=10851 17172 https://bugs.freedesktop.org/show_bug.cgi?id=10824 17173 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 17174 17175 The greek keyboard definition was changed to replace dead_horn and 17176 dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 17177 COMBINING REVERSED COMMA ABOVE (aka Dasia). 17178 17179 This patch modifies the Greek Compose.pre to match. 17180 17181 It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 17182 posted to 386385@bugs.debian.org: 17183 17184 #!/usr/bin/perl 17185 while (<>) { 17186 print $_; 17187 if (/dead_horn/) { 17188 s/dead_horn/U0313/; 17189 print $_; 17190 } 17191 elsif (/dead_ogonek/) { 17192 s/dead_ogonek/U0314/; 17193 print $_; 17194 } 17195 } 17196 17197commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 17198Author: Magnus Kessler <Magnus.Kessler@gmx.net> 17199Date: Tue May 1 15:20:08 2007 +0200 17200 17201 Switched function definitions from K&R to ANSI style. 17202 17203commit 605d357074d556a05a3fba2e85cbea36a3204248 17204Author: Tilman Sauerbeck <tilman@code-monkey.de> 17205Date: Tue May 1 14:47:03 2007 +0200 17206 17207 Tweaked configure output about the man pages suffix. 17208 17209commit 9824b40d2af4ca2376512c1be7743da0d5065900 17210Author: Alan Coopersmith <alan.coopersmith@sun.com> 17211Date: Sat Apr 28 00:42:18 2007 -0700 17212 17213 Fix typo in nroff macro in XkbAddGeomOverlayKey.man 17214 17215commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 17216Author: Alan Coopersmith <alan.coopersmith@sun.com> 17217Date: Sat Apr 28 00:30:55 2007 -0700 17218 17219 Protect C comments and #defines in XKB man pages from being mangled by cpp 17220 17221commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 17222Author: Alan Coopersmith <alan.coopersmith@sun.com> 17223Date: Sat Apr 28 00:14:50 2007 -0700 17224 17225 Add Makefile to process/install XKB man pages 17226 17227commit d9954c6f6f3a8c406b946acd0d034ff83c656156 17228Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 17229Date: Thu Aug 19 00:00:00 1999 -0700 17230 17231 Add man pages for XKB API's 17232 17233 Man pages originally written for X11R6.4 integration to Solaris 7 11/99 17234 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 17235 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 17236 17237 (Volunteer needed to convert prototypes in man pages to ANSI C style...) 17238 17239commit f640a49b5e2ebf29f9d655df544c63bf826f619a 17240Author: Tilman Sauerbeck <tilman@code-monkey.de> 17241Date: Fri Apr 20 18:39:59 2007 +0200 17242 17243 Markup tweak for XOpenIM. 17244 17245commit e972b0bb255af4f3258217852542faf5afa60b28 17246Author: Julien Cristau <jcristau@debian.org> 17247Date: Fri Apr 20 18:35:09 2007 +0200 17248 17249 Bug #9695: Fixed a few argument types in the XOpenIM manpage. 17250 17251commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 17252Author: Julien Cristau <jcristau@debian.org> 17253Date: Fri Apr 20 18:28:52 2007 +0200 17254 17255 Bug #9697: Fixed documentation of XVisualInfo struct. 17256 17257 The "depth" member was said to be unsigned int, but it's signed. 17258 17259commit 4068f3dae01c630f825002673b1d3a047ad61863 17260Author: Julien Cristau <jcristau@debian.org> 17261Date: Fri Apr 20 16:41:21 2007 +0200 17262 17263 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 17264 17265commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 17266Author: Tilman Sauerbeck <tilman@code-monkey.de> 17267Date: Sat Apr 7 14:42:55 2007 +0200 17268 17269 Use unistd.h to get getresuid() and friends. 17270 17271 This works since we now have _GNU_SOURCE defined. 17272 17273commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 17274Author: Tilman Sauerbeck <tilman@code-monkey.de> 17275Date: Sat Apr 7 14:27:12 2007 +0200 17276 17277 Bug #10562: Define _GNU_SOURCE on glibc systems. 17278 17279commit a225a0be48770beb689d5ac5da97073634f7deab 17280Author: Tilman Sauerbeck <tilman@code-monkey.de> 17281Date: Fri Apr 6 12:46:25 2007 +0200 17282 17283 For nls/*.pre, allow people to comment lines by starting them with '##'. 17284 17285 This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 17286 Fixing that file would have been a larger diff, and using ## may be 17287 nicer to use anyway. 17288 17289commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 17290Author: Tilman Sauerbeck <tilman@code-monkey.de> 17291Date: Fri Apr 6 11:59:31 2007 +0200 17292 17293 Bug #10475: Fixed lots of char*/const char* mixups. 17294 17295 I didn't fix all of them, as that would require touching 17296 public headers. 17297 17298commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 17299Author: Matthias Hopf <mhopf@suse.de> 17300Date: Thu Apr 5 11:53:18 2007 +0200 17301 17302 Fix 64bit issues with reallocation. 17303 17304commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 17305Author: Tilman Sauerbeck <tilman@code-monkey.de> 17306Date: Wed Apr 4 18:41:18 2007 +0200 17307 17308 Fixed a few warnings. 17309 17310commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 17311Author: Matthieu Herrb <matthieu@roadrock.(none)> 17312Date: Tue Apr 3 15:39:52 2007 +0200 17313 17314 Multiple integer overflows in the XGetPixel() and XInitImage functions 17315 17316 CVE-2007-1667 17317 17318commit 0284b144340a455a4b5b5011d81ac5a610372291 17319Author: David Baron <dbaron@dbaron.org> 17320Date: Fri Mar 30 17:07:46 2007 +0200 17321 17322 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 17323 17324 Now only those fields of the respective hint struct are set that 17325 are actually valid in the input data. 17326 The changed functions are: 17327 XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 17328 17329commit 0994faa0c76c45b106442db461b8a30a3e1c9395 17330Author: Tilman Sauerbeck <tilman@code-monkey.de> 17331Date: Thu Mar 29 17:31:25 2007 +0200 17332 17333 Fixed the change from the previous SendEvent commit. 17334 17335 Testing a different patch than the one you commit is bad, right? 17336 17337commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 17338Author: Tilman Sauerbeck <tilman@code-monkey.de> 17339Date: Wed Mar 28 22:23:44 2007 +0200 17340 17341 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 17342 17343commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 17344Author: David Baron <dbaron@dbaron.org> 17345Date: Wed Mar 28 22:21:40 2007 +0200 17346 17347 Bug #7713: Initialize all of the event's fields before sending it. 17348 17349commit bc80f9fe3ccce40ee41246b97470c4f0519756ad 17350Author: Julien Cristau <jcristau@debian.org> 17351Date: Sun Mar 18 13:14:48 2007 +0100 17352 17353 Bug #9279: Fixed a file descriptor leak. 17354 17355commit c9e28e05ae01ce8a29bea09df759b6271865b44c 17356Author: Daniel Stone <daniel@fooishbar.org> 17357Date: Sat Dec 16 00:45:19 2006 +0200 17358 17359 include: don't distribute XlibConf.h 17360 17361 Since XlibConf.h is built by configure, don't distribute it. 17362 17363commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 17364Merge: 129bbb9f 769b9854 17365Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 17366Date: Thu Dec 14 14:23:20 2006 -0600 17367 17368 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 17369 17370commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 17371Author: Jeremy C. Reed <reed@glacier.reedmedia.net> 17372Date: Thu Dec 14 14:21:19 2006 -0600 17373 17374 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 17375 17376commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 17377Author: Daniel Stone <daniel@fooishbar.org> 17378Date: Wed Dec 6 18:53:00 2006 +0200 17379 17380 Makefile.am: make ChangeLog hook safer 17381 17382 Make ChangeLog hook as safe as possible. 17383 (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 17384 17385commit 8a8185a649e93b90ffa820387ffdca831227f5a9 17386Author: Josh Triplett <josh@freedesktop.org> 17387Date: Thu Nov 30 18:33:13 2006 -0800 17388 17389 Add autogen.sh to EXTRA_DIST. 17390 17391commit efe817f95ef8d05e863c83147e903140bc860de4 17392Author: Jamey Sharp <jamey@minilop.net> 17393Date: Thu Nov 30 17:58:35 2006 -0800 17394 17395 Release libX11 1.1.1. 17396 17397commit f637a5b03164263a3af2e644cf655e52b015f1bb 17398Author: Ross Combs <rocombs@cs.nmsu.edu> 17399Date: Sat Nov 25 14:45:17 2006 -0800 17400 17401 Debian bug #354315: Clarify return value in XGetWindowAttributes man page 17402 17403 This man page does not discuss the actual return values of the 17404 function, but says they are of type "Status". One might assume 17405 that this means you could compare it with the "Success" macro. 17406 One would be wrong. 17407 17408 The X functions seem to have two three types representing status. 17409 If it is an "int" there are a number of error codes or "Success" 17410 which can be compared against. If it is a bool, the result can be 17411 compared with "True" or "False". If the return type is "Status" it 17412 appears that the return type is either 0 or 1. Unfortunately the 17413 value for Success is zero, so it is important to distinguish 17414 between the first two types of return values and the third; 17415 otherwise the conditional will be inverted. 17416 17417 XGetWindowAttributes() is one of the functions which returns zero 17418 for failure. The man page should make this clear. 17419 17420commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 17421Author: Jamey Sharp <jamey@minilop.net> 17422Date: Sat Nov 25 14:23:45 2006 -0800 17423 17424 Bug #9154: Always process an event for _XReadEvents, even if an error occurs 17425 17426 Previously, process_responses (in the wait_for_first_event case called 17427 from _XReadEvents) considered any return from xcb_wait_for_event 17428 sufficient to think it had processed an event. If xcb_wait_for_event 17429 returned an error, and no more events occurred before process_responses 17430 called xcb_poll_for_event, process_responses would try to return with 17431 dpy->head NULL, and would fail an assertion for the _XReadEvents 17432 postcondition. Now, process_responses continues using xcb_wait_for_event 17433 until it gets an event. 17434 17435commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 17436Author: Tilman Sauerbeck <tilman@code-monkey.de> 17437Date: Sat Nov 25 05:29:31 2006 -0800 17438 17439 Bug #9153: Fix access to freed memory. 17440 17441 The fix for bug #8622 introduced a smaller bug where _XReply would 17442 read memory shortly after freeing it. This patch caches the needed 17443 value in a stack-allocated variable before the heap-allocated memory 17444 is freed. 17445 17446commit 934ca763bbc0dd7ae460469bfc000ba101602bcc 17447Author: Josh Triplett <josh@freedesktop.org> 17448Date: Fri Nov 24 19:57:58 2006 -0800 17449 17450 libx11 doesn't use inputproto in public headers; don't require it in x11.pc 17451 17452 Based on a Debian patch. 17453 17454commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 17455Author: Josh Triplett <josh@freedesktop.org> 17456Date: Thu Nov 23 07:19:32 2006 -0800 17457 17458 Release libX11 1.1 17459 17460commit a1168e11ec9377307c51a7271faec3bf88a63a66 17461Author: Jamey Sharp <jamey@minilop.net> 17462Date: Tue Nov 21 17:52:34 2006 -0800 17463 17464 Add note in man-page that XListFontsWithInfo is not thread-safe. 17465 17466 _XReply drops the Display lock, so the value of dpy->request may change 17467 before _XReply is called again. 17468 17469 I discovered this by inspection a year or two ago. I'm pretty confident 17470 in the claim, and nobody has come up with an argument for why it's safe 17471 despite appearances. 17472 17473commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 17474Author: Jamey Sharp <jamey@minilop.net> 17475Date: Sat Nov 18 15:39:26 2006 -0800 17476 17477 Bug #8622: Fix response processing order for threaded apps 17478 17479 Previously, process_responses (the common code for _XReply, 17480 _XReadEvents, and _XEventsQueued) took the current request sequence 17481 number as an argument, and did some highly complicated processing to 17482 attempt to process responses in order across threads. This didn't 17483 actually work. 17484 17485 Now, process_responses handles responses in order, by adding condition 17486 variables to the list of outstanding requests in 17487 dpy->xcb->pending_requests, and blocking on them when those requests 17488 should get processed to allow _XReply to process them; if actually 17489 called from _XReply, it returns when _XReply's request should get 17490 processed. _XReply broadcasts on the condition variable after it has 17491 read its reply and re-acquired the display lock. 17492 17493 Another great commit brought to you by Jamey Sharp, Josh Triplett, the 17494 Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 17495 forwarding. 17496 17497 Signed-off-by: Josh Triplett <josh@freedesktop.org> 17498 Signed-off-by: Jamey Sharp <jamey@minilop.net> 17499 17500commit 941f02ede63baa46f93ed8abccebe76fb29c0789 17501Author: Lars Knoll <lars@trolltech.com> 17502Date: Wed Nov 8 12:17:41 2006 -0800 17503 17504 Don't hold the display lock around callbacks to the application. 17505 17506 This fixes an XCB locking assertion failure, particularly with emacs. 17507 17508commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 17509Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 17510Date: Tue Nov 7 09:32:00 2006 -0800 17511 17512 Add xcb-xlib dependency to x11.pc when built against XCB. 17513 17514commit 2302008a3793eb4df8ede777d54fe06505c47eaf 17515Author: Eric Anholt <eric@anholt.net> 17516Date: Mon Nov 6 17:11:42 2006 -0800 17517 17518 XCB: Allocate the right amount of memory for dpy->lock_fns. 17519 17520 Fixes a crash I was experiencing on startup of anything using gdk. 17521 17522commit 5f860655be88108b03ccd97470a0814819254bf0 17523Author: Jamey Sharp <jamey@minilop.net> 17524Date: Thu Nov 2 17:55:31 2006 -0800 17525 17526 Release libX11 1.1 RC2 (1.0.99.2). 17527 17528commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 17529Author: Benno Schulenberg <bensberg@justemail.net> 17530Date: Sun Oct 29 03:10:30 2006 +0300 17531 17532 nls (en_US): remove long compositions that override shorter (bug #2286) 17533 Remove long compositions that override (or get overriden by) later shorter 17534 compositions, e.g. a four-key compose sequence that gets overriden by a 17535 later three-key compose sequence. 17536 17537commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 17538Author: Benno Schulenberg <bensberg@justemail.net> 17539Date: Sun Oct 29 03:08:36 2006 +0300 17540 17541 nls: remove shadowed compose entries (bug #2286) 17542 Remove compose entries shadowed by others later on. 17543 17544commit d118f2b1ef10997194b281524177dea7396da7dd 17545Author: Benno Schulenberg <bensberg@justemail.net> 17546Date: Sun Oct 29 03:07:15 2006 +0300 17547 17548 nls: remove duplicate compose entries (bug #2286) 17549 Remove a bunch of duplicate entries from various Compose files. 17550 17551commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 17552Author: Caolan McNamara <caolanm@redhat.com> 17553Date: Sun Oct 29 02:46:15 2006 +0300 17554 17555 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 17556 Don't leak the name and value of every property we parse, as well as the 17557 name of every colour. 17558 17559commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 17560Author: Matthias Hopf <mhopf@suse.de> 17561Date: Wed Oct 18 14:25:04 2006 +0200 17562 17563 Fix double open of compose file. 17564 17565 Issue found by Kees Cook <kees@canonical.com>. 17566 17567commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 17568Author: Jamey Sharp <jamey@minilop.net> 17569Date: Sat Oct 14 21:25:10 2006 -0700 17570 17571 XCB: check for and handle I/O errors in _XGetXCBBuffer. 17572 17573commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 17574Author: Jamey Sharp <jamey@minilop.net> 17575Date: Wed Oct 11 00:06:50 2006 -0700 17576 17577 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 17578 17579commit 1eedf1bd033e496843cfde42ae4ae5a119298605 17580Author: Jamey Sharp <jamey@minilop.net> 17581Date: Tue Oct 10 23:03:28 2006 -0700 17582 17583 Add correct Display locking to XKB functions. 17584 17585 Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 17586 This patch fixes at least some instances of that problem. 17587 17588 Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 17589 and proposing a fix, which this patch is based on. 17590 17591commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 17592Author: David Nusinow <dnusinow@debian.org> 17593Date: Tue Oct 10 22:11:05 2006 -0400 17594 17595 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 17596 17597commit e53557da969b706dbc843f6fde3db31ffe382e0f 17598Author: Jamey Sharp <jamey@minilop.net> 17599Date: Sat Oct 7 21:00:36 2006 -0700 17600 17601 Release libX11 1.1 RC1 (1.0.99.1). 17602 17603commit bf237409c5fce32c557d298f62f44d456c2b5bc8 17604Merge: ba477191 2d426d1f 17605Author: Jamey Sharp <jamey@minilop.net> 17606Date: Sat Oct 7 21:07:16 2006 -0700 17607 17608 As XCB support is about to be released in libX11, stable is now subsumed by master. 17609 17610commit ba477191c67ce93e61423cc1abe35275704cce50 17611Author: Jamey Sharp <jamey@minilop.net> 17612Date: Sat Oct 7 03:48:13 2006 -0700 17613 17614 XCB: Don't rely on having the definition of struct xcb_setup_t available. 17615 17616commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 17617Author: Jamey Sharp <jamey@minilop.net> 17618Date: Fri Oct 6 16:27:31 2006 -0700 17619 17620 xcb_poll_for_event no longer takes an 'int *error' out-parameter. 17621 17622commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 17623Author: Josh Triplett <josh@freedesktop.org> 17624Date: Fri Oct 6 16:26:11 2006 -0700 17625 17626 Actually ship Xxcbint.h 17627 17628commit 7b027e53b5e393082f4f515c8ba18077eb97163f 17629Author: Josh Triplett <josh@freedesktop.org> 17630Date: Fri Oct 6 16:25:50 2006 -0700 17631 17632 Clean ChangeLog only in "make maintainer-clean", not "make clean" 17633 17634 ChangeLog requires a git repo to generate; make clean and make distclean 17635 shouldn't get rid of it. 17636 17637commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 17638Author: Josh Triplett <josh@freedesktop.org> 17639Date: Fri Oct 6 16:24:58 2006 -0700 17640 17641 Add ChangeLog and "make dist"-generated files to .gitignore 17642 17643commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 17644Author: Josh Triplett <josh@freedesktop.org> 17645Date: Fri Oct 6 15:53:27 2006 -0700 17646 17647 Add manual pages for XGetXCBConnection and XSetEventQueueOwner 17648 17649commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 17650Author: Josh Triplett <josh@freedesktop.org> 17651Date: Fri Oct 6 13:41:16 2006 -0700 17652 17653 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 17654 17655commit ab728ca372288d0db1b486c265e34c1376f29104 17656Author: Josh Triplett <josh@freedesktop.org> 17657Date: Fri Oct 6 12:36:39 2006 -0700 17658 17659 XCL is dead; long live Xlib/XCB 17660 17661 Rename all instances of "XCL" to Xlib/XCB-derived names. 17662 17663 The only user-visible change: rename the include file <X11/xcl.h> to 17664 <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 17665 17666 Remove the XCL cast inlines from Xlib-xcb.h. 17667 17668commit 5b73093203039d307eb7ab3845c3ced207e9e26c 17669Author: Josh Triplett <josh@freedesktop.org> 17670Date: Fri Oct 6 11:33:49 2006 -0700 17671 17672 Add XCB developers to AUTHORS 17673 17674commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 17675Author: Josh Triplett <josh@freedesktop.org> 17676Date: Fri Oct 6 11:21:28 2006 -0700 17677 17678 Fix email addresses in README 17679 17680commit 12f038669278019594ca0ed53dadcf4e84092422 17681Author: Jamey Sharp <jamey@minilop.net> 17682Date: Fri Oct 6 02:13:05 2006 -0700 17683 17684 XCB: Handle all responses in order of monotonically increasing sequence number. 17685 17686commit f392680273278b43079302206897f794e60f3c70 17687Author: Josh Triplett <josh@freedesktop.org> 17688Date: Fri Oct 6 01:11:08 2006 -0700 17689 17690 Actually install x11-xcb.pc, and ship x11-xcb.pc.in 17691 17692commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 17693Author: Jamey Sharp <jamey@minilop.net> 17694Date: Thu Oct 5 18:32:29 2006 -0700 17695 17696 XCB: correctly handle failure to connect to X server. 17697 17698commit e754b3b078d556c7861da56aad47d244e9199e06 17699Author: Josh Triplett <josh@freedesktop.org> 17700Date: Thu Oct 5 17:44:22 2006 -0700 17701 17702 Split public Xlib/XCB functions into libX11-xcb 17703 17704 We can never change the libX11 soname, and we don't want to commit to never 17705 changing the public Xlib/XCB functions, so split them into a separate library 17706 libX11-xcb. This also means that a program linked solely against libX11 17707 should work with either Xlib or Xlib/XCB, which will make life easier for 17708 package maintainers. 17709 17710 Signed-off-by: Josh Triplett <josh@freedesktop.org> 17711 Acked-by: Jamey Sharp <jamey@minilop.net> 17712 17713commit ffd367f708b295abaedf3a23a1bfd4710d171d6f 17714Author: Jamey Sharp <jamey@minilop.net> 17715Date: Wed Oct 4 17:16:46 2006 -0700 17716 17717 No longer #include Xmd from xcl.h: we do not need it. 17718 17719commit 3aff149d42ba8ed620091971b3766bdf96c62aaf 17720Author: Jamey Sharp <jamey@minilop.net> 17721Date: Wed Oct 4 16:58:32 2006 -0700 17722 17723 XCB: Revert locking to simple wrapper around libX11's normal locks. 17724 17725 No more recursive mutexes, no more banging XCB's I/O lock in-place, and 17726 reduces the differences between the previous stable release and an 17727 XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 17728 too, now. I apologize to the world. 17729 17730commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 17731Author: Jamey Sharp <jamey@minilop.net> 17732Date: Mon Sep 25 04:54:52 2006 -0700 17733 17734 Link explicitly against XCB's Xlib compatibility functions. 17735 17736commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 17737Author: Jamey Sharp <jamey@minilop.net> 17738Date: Mon Sep 25 04:13:20 2006 -0700 17739 17740 libxcb now installs header files in <xcb>, not <X11/XCB>. 17741 17742commit 87d00207f5a1f25a45a153618739cd6481814f89 17743Author: Ian Osgood <iano@quirkster.com> 17744Date: Sun Sep 24 23:39:01 2006 -0700 17745 17746 Track XCB's "Great Renaming". 17747 17748commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 17749Author: Jamey Sharp <jamey@minilop.net> 17750Date: Tue Sep 12 23:02:42 2006 -0700 17751 17752 Quit using XCBGetQueuedRequestRead. 17753 17754commit a61936fc4e9bd93b108764bbacd5b8f786e51915 17755Author: Tollef Fog Heen <tfheen@err.no> 17756Date: Wed Aug 30 00:05:54 2006 +0300 17757 17758 nls: use _XlcUtf8Loader for en_US (bug #7982) 17759 Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 17760 every other locale. 17761 17762commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 17763Author: Alan Coopersmith <alan.coopersmith@sun.com> 17764Date: Wed Aug 23 18:49:30 2006 -0700 17765 17766 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 17767 17768 Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 17769 connect on a named pipe, try a Unix socket first, to better support people who 17770 replace their X servers with ones that don't support named pipe transport. 17771 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 17772 17773commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 17774Author: Mark Brown <mark.brown@sun.com> 17775Date: Thu Jul 27 19:17:10 2006 -0700 17776 17777 Sun bug 1149809: Document event delivery when grab is terminated. 17778 17779commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 17780Author: Dennis Arellano <Dennis.Arellano@Sun.COM> 17781Date: Thu Jul 27 18:47:06 2006 -0700 17782 17783 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 17784 17785 Document that 32-bit format properties are always returned in arrays of type 17786 long, even on systems where long is 64-bits. 17787 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 17788 17789commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 17790Author: Alan Coopersmith <alan.coopersmith@sun.com> 17791Date: Mon Jul 24 15:52:00 2006 -0700 17792 17793 Add support for "make lint" to check code with lint/sparse/etc. 17794 17795commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 17796Author: Alan Coopersmith <alan.coopersmith@sun.com> 17797Date: Mon Jul 24 15:50:52 2006 -0700 17798 17799 ANSIfy some static function definitions 17800 17801commit 20b7abcaac324d90454de63f32f4a2b398e69e63 17802Author: Alan Coopersmith <alan.coopersmith@sun.com> 17803Date: Mon Jul 24 15:01:40 2006 -0700 17804 17805 Fix sparse warning: Using plain integer as NULL pointer 17806 17807commit d158ab29930513c4097f5b67e7bea08ed2bfd62c 17808Author: Alan Coopersmith <alan.coopersmith@sun.com> 17809Date: Mon Jul 24 14:00:24 2006 -0700 17810 17811 Remove unused variable 17812 17813commit 30377000375bdb958042dcb1f38503c94ef21eaf 17814Author: Eric Anholt <anholt@FreeBSD.org> 17815Date: Fri Jul 21 18:55:36 2006 -0400 17816 17817 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 17818 17819commit 4eba45879aea4e415ab550ee56b900d060099110 17820Author: Matthieu Herrb <matthieu.herrb@laas.fr> 17821Date: Sun Jul 16 10:55:39 2006 +0200 17822 17823 set GIT_DIR=${srcdir}/.git for git-log 17824 17825commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 17826Author: Aaron Plattner <aplattner@nvidia.com> 17827Date: Tue Jul 11 13:27:49 2006 -0700 17828 17829 Add a .PHONY to ensure the ChangeLog isn't stale. 17830 17831 Setting the ChangeLog rule as phony forces it to be re-run even when the 17832 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 17833 Solaris make. 17834 (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 17835 17836commit b8a98809ed81e1226775e6447ef219ffc01334b5 17837Author: Aaron Plattner <aplattner@nvidia.com> 17838Date: Tue Jul 11 13:27:49 2006 -0700 17839 17840 Add a .PHONY to ensure the ChangeLog isn't stale. 17841 17842 Setting the ChangeLog rule as phony forces it to be re-run even when the 17843 ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 17844 Solaris make. 17845 17846commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 17847Author: Mayank Jain <majain@redhat.com> 17848Date: Tue Jul 11 19:42:47 2006 +0100 17849 17850 add Indian language locales 17851 Add as, kn, ml, or, ur, and te locales. 17852 17853commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 17854Author: Matthias Hopf <mhopf@suse.de> 17855Date: Tue Jul 4 12:16:30 2006 +0200 17856 17857 Fix for autoconf 2.60 issue. 17858 17859 Updated AC_DEFINE_DIR. 17860 Reverted datarootdir change. 17861 17862commit 644f4828b15bce42b597eb123ba0bbc372c46c03 17863Author: Keith Packard <keithp@neko.keithp.com> 17864Date: Sat Jul 1 21:31:23 2006 -0700 17865 17866 Work around recent autoconf (2.59?) changes in directory expansion. 17867 17868 Recent autoconf versions have changed how directory names are managed in the 17869 configure.ac script; automatic 'eval' invocations now occur as a part of the 17870 AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 17871 before the variables are used in further macro definitions. Also, ${datadir} 17872 is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 17873 expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 17874 is easy to work around by just using ${datarootdir} instead of ${datadir}. 17875 17876commit be70a31229aa106aff0a09d78c00812682cd3475 17877Author: Keith Packard <keithp@neko.keithp.com> 17878Date: Sat Jul 1 01:56:05 2006 -0700 17879 17880 Xlib/XCB: handle 32-bit sequence wrap. 17881 17882 Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 17883 XCB). 17884 Account for XCB sequence 0 handling. 17885 17886commit 99c711707ad08e1396e123b1c7df687c560a489a 17887Author: Donnie Berkholz <spyderous@gentoo.org> 17888Date: Thu Jun 29 19:43:20 2006 -0700 17889 17890 Bump version to 1.0.3. 17891 17892commit cde3c0dd72af2b490e80cffca962e3487dd31be4 17893Author: Donnie Berkholz <spyderous@gentoo.org> 17894Date: Thu Jun 29 19:39:36 2006 -0700 17895 17896 Bug #7349: Missed one of the setuid fixes. 17897 (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 17898 17899commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 17900Author: Matthias Hopf <mhopf@suse.de> 17901Date: Thu Jun 29 18:59:57 2006 +0200 17902 17903 Update to final Compose cache directory location. 17904 (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 17905 17906commit 912ef198292d3053daa810f842510e5d62ded0f0 17907Author: Matthias Hopf <mhopf@suse.de> 17908Date: Thu Jun 29 17:41:41 2006 +0200 17909 17910 Fix alignment of trees and wide chars in the cache. 17911 (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 17912 17913commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 17914Author: Matthias Hopf <mhopf@suse.de> 17915Date: Wed Jun 28 19:17:03 2006 +0200 17916 17917 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 17918 (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 17919 17920commit e9614c963b532f46a7932c2305a4b177a996a222 17921Author: Donnie Berkholz <spyderous@gentoo.org> 17922Date: Thu Jun 29 19:39:36 2006 -0700 17923 17924 Bug #7349: Missed one of the setuid fixes. 17925 17926commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 17927Author: Matthias Hopf <mhopf@suse.de> 17928Date: Thu Jun 29 18:59:57 2006 +0200 17929 17930 Update to final Compose cache directory location. 17931 17932commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 17933Author: Matthias Hopf <mhopf@suse.de> 17934Date: Thu Jun 29 17:41:41 2006 +0200 17935 17936 Fix alignment of trees and wide chars in the cache. 17937 17938commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 17939Author: Matthias Hopf <mhopf@suse.de> 17940Date: Wed Jun 28 19:17:03 2006 +0200 17941 17942 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 17943 17944commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 17945Author: Donnie Berkholz <spyderous@gentoo.org> 17946Date: Thu Jun 22 23:59:03 2006 -0700 17947 17948 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 17949 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 17950 ChangeLog. 17951 (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 17952 17953commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 17954Author: Donnie Berkholz <donnie@comet.(none)> 17955Date: Thu Jun 22 23:47:38 2006 -0700 17956 17957 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 17958 add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 17959 ChangeLog. 17960 17961commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 17962Author: Donnie Berkholz <donnie@comet.(none)> 17963Date: Thu Jun 22 15:47:38 2006 -0700 17964 17965 Bump version to 1.0.2. 17966 17967commit c93539d974a67f596a5eb5b65042d26602546c72 17968Author: Matthieu Herrb <matthieu@deville.herrb.com> 17969Date: Tue Jun 20 21:04:03 2006 +0200 17970 17971 Check setuid() return value. 17972 (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 17973 17974commit 605533f814ab7892991578706a6458f61a89ca4d 17975Author: Derek Wang <derek.wang@sun.com> 17976Date: Mon Jun 19 11:05:37 2006 -0700 17977 17978 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 17979 (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 17980 17981commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 17982Author: Scott Revelt <scott.revelt@sun.com> 17983Date: Fri Jun 16 19:11:13 2006 -0700 17984 17985 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 17986 based on locale that doesn't match those used in the Xcms.txt 17987 (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 17988 17989commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 17990Author: Alan Coopersmith <alanc@alf.(none)> 17991Date: Fri Jun 16 18:53:33 2006 -0700 17992 17993 Add *~ to ignore emacs droppings 17994 (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 17995 17996commit 214658b76b56768f69c3959a11525aae7813f448 17997Author: Matthias Hopf <mhopf@suse.de> 17998Date: Fri Jun 16 15:36:40 2006 +0200 17999 18000 Bug #3104: Compose table cache for faster X11 application starts. 18001 (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 18002 18003commit 13968a23aaea838ba4b69e42e8900f803499e091 18004Author: Matthias Hopf <mhopf@suse.de> 18005Date: Tue Jun 13 20:23:46 2006 +0200 18006 18007 Bug #3104: Compose table cache for faster X11 application starts. 18008 (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 18009 18010commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 18011Author: Lubos Lunak <llunak@suse.de> 18012Date: Mon Jun 12 18:48:08 2006 +0200 18013 18014 Bug #3104: Compose table cache for faster X11 application starts. 18015 (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 18016 18017commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 18018Author: Matthias Hopf <mhopf@suse.de> 18019Date: Fri Jun 9 18:24:02 2006 +0200 18020 18021 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. 18022 (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 18023 18024commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 18025Author: Jamey Sharp <jamey@minilop.net> 18026Date: Wed Jun 7 20:29:05 2006 -0700 18027 18028 Fix bug #7035: unnecessary memmove in XOpenDisplay. 18029 Using memmove on the connection setup data causes a problem for XCB, but making 18030 Xlib stop doing that should be harmless for non-XCB as well. 18031 (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 18032 18033commit cd7328c46ae72903ed02832828891b2dab4d5ee0 18034Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18035Date: Sat Jun 3 13:51:51 2006 +0300 18036 18037 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 18038 (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 18039 18040commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 18041Merge: 33556ca8 ad9ebbd2 18042Author: Donnie Berkholz <donnie@comet.(none)> 18043Date: Thu Jun 22 14:25:35 2006 -0700 18044 18045 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 18046 18047commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 18048Author: Daniel Stone <daniel@fooishbar.org> 18049Date: Thu Jun 22 17:20:59 2006 +0300 18050 18051 Bump to 1.0.99.0 to avoid confusion. 18052 18053commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 18054Merge: e3acee88 4b8eb5d4 18055Author: Daniel Stone <daniel@fooishbar.org> 18056Date: Thu Jun 22 16:53:45 2006 +0300 18057 18058 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 18059 18060commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 18061Merge: 5169d0e0 eff50c94 18062Author: Matthieu Herrb <matthieu@deville.herrb.com> 18063Date: Tue Jun 20 21:05:15 2006 +0200 18064 18065 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 18066 18067commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 18068Author: Matthieu Herrb <matthieu@deville.herrb.com> 18069Date: Tue Jun 20 21:04:03 2006 +0200 18070 18071 Check setuid() return value. 18072 18073commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 18074Author: Derek Wang <derek.wang@sun.com> 18075Date: Mon Jun 19 11:05:37 2006 -0700 18076 18077 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 18078 18079commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 18080Author: Scott Revelt <scott.revelt@sun.com> 18081Date: Fri Jun 16 19:11:13 2006 -0700 18082 18083 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 18084 based on locale that doesn't match those used in the Xcms.txt 18085 18086commit c33d7b8282ac196b36229be26442296768c16f3e 18087Author: Alan Coopersmith <alanc@alf.(none)> 18088Date: Fri Jun 16 18:53:33 2006 -0700 18089 18090 Add *~ to ignore emacs droppings 18091 18092commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 18093Author: Matthias Hopf <mhopf@suse.de> 18094Date: Fri Jun 16 15:36:40 2006 +0200 18095 18096 Bug #3104: Compose table cache for faster X11 application starts. 18097 18098commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 18099Author: Matthias Hopf <mhopf@suse.de> 18100Date: Tue Jun 13 20:23:46 2006 +0200 18101 18102 Bug #3104: Compose table cache for faster X11 application starts. 18103 18104commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 18105Author: Lubos Lunak <llunak@suse.de> 18106Date: Mon Jun 12 18:48:08 2006 +0200 18107 18108 Bug #3104: Compose table cache for faster X11 application starts. 18109 18110commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 18111Author: Matthias Hopf <mhopf@suse.de> 18112Date: Fri Jun 9 18:24:02 2006 +0200 18113 18114 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. 18115 18116commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 18117Author: Jamey Sharp <jamey@minilop.net> 18118Date: Wed Jun 7 20:29:05 2006 -0700 18119 18120 Fix bug #7035: unnecessary memmove in XOpenDisplay. 18121 Using memmove on the connection setup data causes a problem for XCB, but making 18122 Xlib stop doing that should be harmless for non-XCB as well. 18123 18124commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 18125Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18126Date: Sat Jun 3 12:57:55 2006 +0300 18127 18128 Bug #2186: Add cs_CZ.iso8859-2 alias. 18129 18130commit 9e7765e0b1cbaae6643072d91066ba1201b36227 18131Author: Daniel Stone <daniel@fooishbar.org> 18132Date: Fri Jun 2 02:46:29 2006 +0300 18133 18134 nls: Serbian (sr_CS) update (#5575) 18135 18136 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 18137 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 18138 and locale.dir.pre. (Milos Komarcevic) 18139 18140commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 18141Author: Daniel Stone <daniel@fooishbar.org> 18142Date: Fri Jun 2 02:24:25 2006 +0300 18143 18144 im: add Braille input method (#6296) 18145 18146 Bug #6296: Add a Braille input method. (Samuel Thibault) 18147 18148commit 90de1e2e141ec591048a76cb695579ef809a28d3 18149Author: Daniel Stone <daniel@fooishbar.org> 18150Date: Fri Jun 2 02:22:17 2006 +0300 18151 18152 xkb support: small typo 18153 18154commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 18155Author: Daniel Stone <daniel@fooishbar.org> 18156Date: Fri Jun 2 01:50:24 2006 +0300 18157 18158 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 18159 18160 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 18161 adding Unicode character names, removing duplicate entries, et al. 18162 18163commit 0c6473dd329c7334ae511884bcb6e73e632c784f 18164Author: Daniel Stone <daniel@fooishbar.org> 18165Date: Fri Jun 2 01:44:53 2006 +0300 18166 18167 nls: fix use of non-keysym dead_space (#5107) 18168 18169 Bug #5107: Change users of dead_space to space. 18170 18171commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 18172Author: Daniel Stone <daniel@fooishbar.org> 18173Date: Fri Jun 2 01:41:18 2006 +0300 18174 18175 optional XKB support fix 18176 18177 Fix compilation with --disable-xkb. 18178 18179commit 217d43ed44ced901122093af3ef1294e1736bb77 18180Author: Daniel Stone <daniel@fooishbar.org> 18181Date: Fri Jun 2 01:39:12 2006 +0300 18182 18183 i18n: separate data and lib directories 18184 18185 Break out locale data into separate data and library directories, under 18186 $(datadir) and $(libdir), respectively, by default. 18187 18188commit 92fa7fcde8df22830fca7c0275ab201033f7909c 18189Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18190Date: Thu May 11 14:04:48 2006 -0400 18191 18192 libXcursor.so.1, not libXcursor.so 18193 18194commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 18195Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18196Date: Wed May 10 18:06:03 2006 +0300 18197 18198 XKBMisc.c: use Xfree, not xfree 18199 18200 Use Xfree() instead of xfree() when freeing interps. 18201 18202commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 18203Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18204Date: Wed May 10 14:51:37 2006 +0300 18205 18206 locale.alias.pre: bg_BG typo fix 18207 18208 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 18209 18210commit cc533db60cb64dc163c66451933a9bf77c519062 18211Author: Daniel Stone <daniels@endtroducing.localdomain> 18212Date: Sun Apr 9 22:22:03 2006 +0300 18213 18214 Coverity #203, #204: Fix potential NULL dereferences. 18215 18216commit b83adf7dfd6157694fe4f232012fef36cd9666da 18217Author: Daniel Stone <daniels@endtroducing.localdomain> 18218Date: Sun Apr 9 22:20:25 2006 +0300 18219 18220 Coverity #205: Fix potential NULL dereference. 18221 18222commit 2d0cd10ad907864d0136739eaac459779c9a5332 18223Author: Daniel Stone <daniels@endtroducing.localdomain> 18224Date: Sun Apr 9 22:18:20 2006 +0300 18225 18226 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 18227 18228commit dc2f3966068d66a564aa452cab9f0c26657fa1df 18229Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18230Date: Fri Apr 7 18:11:52 2006 +0300 18231 18232 Coverity #826: Fix potential memory leak. 18233 18234commit 23df609ec451a01c77e8f31ecc85c5af7c62efed 18235Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18236Date: Fri Apr 7 17:49:41 2006 +0300 18237 18238 Bug #1625: Include keysym.h from Xutil.h. 18239 18240commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 18241Author: Eric Anholt <anholt@leguin.anholt.net> 18242Date: Wed Apr 5 17:12:15 2006 -0700 18243 18244 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 18245 18246 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 18247 of Coverity #599, #600. 18248 18249commit 8b42635f577468bb143ca593cdd9fb3450ad712c 18250Author: Eric Anholt <anholt@leguin.anholt.net> 18251Date: Wed Apr 5 16:42:26 2006 -0700 18252 18253 Coverity #558: Free newly-allocated Database in error path. 18254 18255commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 18256Author: Eric Anholt <anholt@leguin.anholt.net> 18257Date: Wed Apr 5 16:38:52 2006 -0700 18258 18259 Coverity #582: Free newly-allocated region in error path. 18260 18261commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 18262Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18263Date: Fri Mar 17 15:58:39 2006 +0200 18264 18265 Properly clip bounds when only one point is defining an outline. 18266 18267commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 18268Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 18269Date: Sat Mar 11 15:39:15 2006 +0100 18270 18271 Fix prototype of XConfigureWindow(). Bugzilla #6023. 18272 18273commit 1da8bd904f1fc79d63d368473531b438d08bfe37 18274Author: Jeremy C. Reed <reed@reedmedia.net> 18275Date: Tue Feb 21 14:10:22 2006 -0800 18276 18277 Set XTHREADLIB correctly for dragonfly platforms. 18278 18279commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 18280Author: Jamey Sharp <jamey@minilop.net> 18281Date: Sun Feb 19 12:29:27 2006 -0800 18282 18283 Update .gitignores for *.o and nls/locale.dir*. 18284 18285commit efcbde6ba0b770bb0d4c7818e307712161011f10 18286Author: Jamey Sharp <jamey@minilop.net> 18287Date: Sun Feb 19 12:28:41 2006 -0800 18288 18289 Move .cvsignore to .gitignore. 18290 18291commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 18292Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18293Date: Sat Jun 3 13:51:51 2006 +0300 18294 18295 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 18296 18297commit f1bd3152359ddfadd0d043006036c239f3e2907b 18298Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18299Date: Sat Jun 3 12:57:55 2006 +0300 18300 18301 Bug #2186: Add cs_CZ.iso8859-2 alias. 18302 18303commit 2b1b79d90db1d7f0472718b8c010c36275994195 18304Author: Daniel Stone <daniel@fooishbar.org> 18305Date: Fri Jun 2 02:46:29 2006 +0300 18306 18307 nls: Serbian (sr_CS) update (#5575) 18308 Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 18309 corresponding locale change. Update compose.dir.pre, locale.alias.pre, 18310 and locale.dir.pre. (Milos Komarcevic) 18311 18312commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 18313Author: Daniel Stone <daniel@fooishbar.org> 18314Date: Fri Jun 2 02:24:25 2006 +0300 18315 18316 im: add Braille input method (#6296) 18317 Bug #6296: Add a Braille input method. (Samuel Thibault) 18318 18319commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 18320Author: Daniel Stone <daniel@fooishbar.org> 18321Date: Fri Jun 2 02:22:17 2006 +0300 18322 18323 xkb support: small typo 18324 18325commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 18326Author: Daniel Stone <daniel@fooishbar.org> 18327Date: Fri Jun 2 01:50:24 2006 +0300 18328 18329 en_US.UTF-8 Compose.pre: updates from Simos (#5129) 18330 Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 18331 adding Unicode character names, removing duplicate entries, et al. 18332 18333commit 332d45fce9fdbf59168d90a133af1f580a589e54 18334Author: Daniel Stone <daniel@fooishbar.org> 18335Date: Fri Jun 2 01:44:53 2006 +0300 18336 18337 nls: fix use of non-keysym dead_space (#5107) 18338 Bug #5107: Change users of dead_space to space. 18339 18340commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 18341Author: Daniel Stone <daniel@fooishbar.org> 18342Date: Fri Jun 2 01:41:18 2006 +0300 18343 18344 optional XKB support fix 18345 Fix compilation with --disable-xkb. 18346 18347commit c5940a0b85edec4003f91a59fc3c44f538accfe1 18348Author: Daniel Stone <daniel@fooishbar.org> 18349Date: Fri Jun 2 01:39:12 2006 +0300 18350 18351 i18n: separate data and lib directories 18352 Break out locale data into separate data and library directories, under 18353 $(datadir) and $(libdir), respectively, by default. 18354 18355commit 33556ca81db2419b9d2a37664c4cea2069414b37 18356Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18357Date: Fri May 12 14:49:17 2006 -0400 18358 18359 Bump to 1.0.1 18360 18361commit 80d88557626fae9debc404de33d7fb5d69a6049d 18362Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18363Date: Thu May 11 14:06:28 2006 -0400 18364 18365 libXcursor.so.1, not libXcursor.so 18366 18367commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 18368Author: Adam Jackson <ajax@benzedrine.nwnk.net> 18369Date: Thu May 11 14:04:48 2006 -0400 18370 18371 libXcursor.so.1, not libXcursor.so 18372 18373commit 01f4d433eed6b70c6e9636157acac022054fdeb6 18374Author: Jamey Sharp <jamey@minilop.net> 18375Date: Wed May 10 17:02:52 2006 -0700 18376 18377 Count any partial request towards the current Xlib sequence number. 18378 18379commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 18380Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18381Date: Wed May 10 18:06:03 2006 +0300 18382 18383 XKBMisc.c: use Xfree, not xfree 18384 Use Xfree() instead of xfree() when freeing interps. 18385 18386commit 22a5255b80b80772612279bc840a953edd0e3442 18387Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18388Date: Wed May 10 14:51:37 2006 +0300 18389 18390 locale.alias.pre: bg_BG typo fix 18391 Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 18392 18393commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 18394Merge: 19b8840a e514bc87 18395Author: Daniel Stone <daniels@preemptive.fooishbar.org> 18396Date: Wed May 10 14:50:37 2006 +0300 18397 18398 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 18399 18400commit e514bc875f27f4bf197b06b8315eeca526195915 18401Author: Jamey Sharp <jamey@minilop.net> 18402Date: Tue May 9 12:41:59 2006 -0700 18403 18404 Assert that dpy->request does not go backwards. Catches #5839 earlier. 18405 18406commit fc1159137365a599bf611ee001f439416952c4e0 18407Author: Jamey Sharp <jamey@minilop.net> 18408Date: Sun May 7 17:40:01 2006 -0700 18409 18410 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 18411 18412commit c394480a4247213239822808e3f6e7c6cd6decd9 18413Author: Jamey Sharp <jamey@minilop.net> 18414Date: Sun May 7 16:58:13 2006 -0700 18415 18416 Update for XCB ConnSetupSuccessRep name change. 18417 18418commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 18419Author: Daniel Stone <daniels@endtroducing.localdomain> 18420Date: Sun Apr 9 22:22:03 2006 +0300 18421 18422 Coverity #203, #204: Fix potential NULL dereferences. 18423 18424commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 18425Author: Daniel Stone <daniels@endtroducing.localdomain> 18426Date: Sun Apr 9 22:20:25 2006 +0300 18427 18428 Coverity #205: Fix potential NULL dereference. 18429 18430commit b6771501feea98d037032f82117b6d4f15779f07 18431Author: Daniel Stone <daniels@endtroducing.localdomain> 18432Date: Sun Apr 9 22:18:20 2006 +0300 18433 18434 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 18435 18436commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 18437Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18438Date: Fri Apr 7 18:11:52 2006 +0300 18439 18440 Coverity #826: Fix potential memory leak. 18441 18442commit 3a16f262abe48b44ed641525e894bc22e13bf72a 18443Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18444Date: Fri Apr 7 17:49:41 2006 +0300 18445 18446 Bug #1625: Include keysym.h from Xutil.h. 18447 18448commit 2481b767ae96e2f2503c0390545932c8397b090f 18449Author: Eric Anholt <anholt@leguin.anholt.net> 18450Date: Wed Apr 5 17:12:15 2006 -0700 18451 18452 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 18453 cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 18454 of Coverity #599, #600. 18455 18456commit 152b17e47d878c2d928eb74581aa69d925a29123 18457Author: Eric Anholt <anholt@leguin.anholt.net> 18458Date: Wed Apr 5 16:42:26 2006 -0700 18459 18460 Coverity #558: Free newly-allocated Database in error path. 18461 18462commit bc62b99ef36edb34035911c42104be7f6f9d2333 18463Author: Eric Anholt <anholt@leguin.anholt.net> 18464Date: Wed Apr 5 16:38:52 2006 -0700 18465 18466 Coverity #582: Free newly-allocated region in error path. 18467 18468commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 18469Author: Jamey Sharp <jamey@minilop.net> 18470Date: Fri Mar 31 22:53:07 2006 -0800 18471 18472 Fix buggy interaction with XCB when running out of XIDs. 18473 18474commit e3f452571824d6a875bbf582946de185de9e01e9 18475Author: Jamey Sharp <jamey@minilop.net> 18476Date: Fri Mar 31 22:52:14 2006 -0800 18477 18478 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 18479 18480commit 2363b74ca795c1b3a73c9e572532ba5191adec5b 18481Author: Daniel Stone <daniels@preemptive.research.nokia.com> 18482Date: Fri Mar 17 15:58:39 2006 +0200 18483 18484 Properly clip bounds when only one point is defining an outline. 18485 18486commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 18487Merge: be266b20 f71ea0bc 18488Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 18489Date: Sat Mar 11 15:40:35 2006 +0100 18490 18491 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 18492 18493commit be266b201dc13530a302a7572283ccd3f32aad87 18494Author: Matthieu Herrb <matthieu@bluenote.herrb.com> 18495Date: Sat Mar 11 15:39:15 2006 +0100 18496 18497 Fix prototype of XConfigureWindow(). Bugzilla #6023. 18498 18499commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 18500Author: Jamey Sharp <jamey@minilop.net> 18501Date: Fri Mar 3 11:08:41 2006 -0800 18502 18503 Update for XCBSendRequest sequence number API changes. 18504 18505commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 18506Author: Jamey Sharp <jamey@minilop.net> 18507Date: Fri Mar 3 01:42:49 2006 -0800 18508 18509 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 18510 18511commit d8ba4ae7045b227f8b675628b9094dded02f1c08 18512Author: Jamey Sharp <jamey@minilop.net> 18513Date: Thu Mar 2 23:43:26 2006 -0800 18514 18515 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 18516 18517commit f9afb5a54435c30961306080e9358d4240ecb844 18518Author: Jamey Sharp <jamey@minilop.net> 18519Date: Thu Mar 2 23:34:19 2006 -0800 18520 18521 assert() that we will not infinite loop or read uninitialized memory. 18522 18523commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 18524Author: Jamey Sharp <jamey@minilop.net> 18525Date: Thu Mar 2 15:58:52 2006 -0800 18526 18527 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 18528 18529commit fb590c15a740264ee867d15a2547072e43b21eed 18530Author: Jamey Sharp <jamey@minilop.net> 18531Date: Thu Mar 2 12:06:04 2006 -0800 18532 18533 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 18534 18535commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 18536Author: Jamey Sharp <jamey@minilop.net> 18537Date: Mon Feb 27 11:51:47 2006 -0800 18538 18539 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 18540 18541commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 18542Author: Jamey Sharp <jamey@minilop.net> 18543Date: Sun Feb 26 15:46:01 2006 -0800 18544 18545 Update for new XCBSendRequest API. 18546 18547commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 18548Author: Jamey Sharp <jamey@minilop.net> 18549Date: Thu Feb 23 18:12:31 2006 -0800 18550 18551 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 18552 18553commit ec30a27341b97620b07dd886f98d1d7664a67685 18554Author: Jamey Sharp <jamey@minilop.net> 18555Date: Thu Feb 23 18:01:46 2006 -0800 18556 18557 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 18558 18559commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 18560Author: Jamey Sharp <jamey@minilop.net> 18561Date: Thu Feb 23 11:46:09 2006 -0800 18562 18563 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. 18564 18565commit 41c0121a8718b530feaf7fe315b673d9b8defce2 18566Author: Jamey Sharp <jamey@minilop.net> 18567Date: Tue Feb 21 21:25:41 2006 -0800 18568 18569 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 18570 18571commit 67d06e0fe468dca22847aa14d3f917128f89f9cf 18572Author: Jamey Sharp <jamey@minilop.net> 18573Date: Tue Feb 21 15:33:05 2006 -0800 18574 18575 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 18576 18577commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 18578Author: Jeremy C. Reed <reed@reedmedia.net> 18579Date: Tue Feb 21 14:10:22 2006 -0800 18580 18581 Set XTHREADLIB correctly for dragonfly platforms. 18582 18583commit b24834762e975bd319f9ab5c7cf790b2a02a9474 18584Author: Jamey Sharp <jamey@minilop.net> 18585Date: Tue Feb 21 14:03:26 2006 -0800 18586 18587 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 18588 18589commit 99b8defd0d5e6993071e21638128c9de2574b37d 18590Author: Jamey Sharp <jamey@minilop.net> 18591Date: Tue Feb 21 13:04:21 2006 -0800 18592 18593 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 18594 Traditional Xlib worked this way; I dunno why I changed it. 18595 18596commit 9b01e7849775749182052fe324df9d8e6ceeee99 18597Author: Jamey Sharp <jamey@minilop.net> 18598Date: Tue Feb 21 12:51:44 2006 -0800 18599 18600 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 18601 18602commit 7ce7ac882de128955751a5307889db9d712d8a72 18603Author: Jamey Sharp <jamey@minilop.net> 18604Date: Tue Feb 21 12:44:30 2006 -0800 18605 18606 Quit using a triple-pointer. Almost as if I were a sensible person. 18607 18608commit 35a858be218cdbfa4593d44a67663d5c25297016 18609Author: Jamey Sharp <jamey@minilop.net> 18610Date: Tue Feb 21 12:21:01 2006 -0800 18611 18612 Remove the XCL_PAD macro. 18613 18614commit e741b70ed2542c5463c57dac44bc37328616733b 18615Author: Jamey Sharp <jamey@minilop.net> 18616Date: Sun Feb 19 12:29:27 2006 -0800 18617 18618 Update .gitignores for *.o and nls/locale.dir*. 18619 18620commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 18621Author: Jamey Sharp <jamey@minilop.net> 18622Date: Sun Feb 19 12:28:41 2006 -0800 18623 18624 Move .cvsignore to .gitignore. 18625 18626commit c7cda56eebaf6ab11403363be14d4948d7d8be38 18627Author: Jamey Sharp <jamey@minilop.net> 18628Date: Sun Feb 19 11:49:15 2006 -0800 18629 18630 Land XCB support on X.org HEAD. 18631 18632commit 881467b3032261791ef5ec61b3879bb68d0a3d8c 18633Author: Jamey Sharp <jamey@minilop.net> 18634Date: Sun Feb 19 02:14:11 2006 +0000 18635 18636 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 18637 18638commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 18639Author: Jamey Sharp <jamey@minilop.net> 18640Date: Tue Feb 14 19:37:36 2006 +0000 18641 18642 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. 18643 18644commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 18645Author: Alan Coopersmith <alan.coopersmith@sun.com> 18646Date: Sun Feb 12 18:19:17 2006 +0000 18647 18648 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 18649 18650commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 18651Author: Alan Coopersmith <alan.coopersmith@sun.com> 18652Date: Fri Feb 3 23:34:43 2006 +0000 18653 18654 Fix typo in .TH line 18655 18656commit b091c217f3c3f60dde78b09a95c150df6c83d7ba 18657Author: Kevin E Martin <kem@kem.org> 18658Date: Thu Dec 15 00:24:28 2005 +0000 18659 18660 Update package version number for final X11R7 release candidate. 18661 18662commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 18663Author: Kevin E Martin <kem@kem.org> 18664Date: Tue Dec 6 22:48:41 2005 +0000 18665 18666 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 18667 18668commit b5c495854d5270e64e6d588388ffa906bfcaac22 18669Author: Kevin E Martin <kem@kem.org> 18670Date: Sat Dec 3 05:49:42 2005 +0000 18671 18672 Update package version number for X11R7 RC3 release. 18673 18674commit 9e96dbc343c7f27ff47607acd75378ab23903e2a 18675Author: Kevin E Martin <kem@kem.org> 18676Date: Sat Dec 3 04:41:47 2005 +0000 18677 18678 Add check and cflags for malloc(0) returning NULL. 18679 18680commit 649c37b47909620ccafde3e983de8321cddd74ce 18681Author: Alan Coopersmith <alan.coopersmith@sun.com> 18682Date: Mon Nov 28 22:03:04 2005 +0000 18683 18684 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) 18685 18686commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 18687Author: Alan Coopersmith <alan.coopersmith@sun.com> 18688Date: Wed Nov 23 22:33:06 2005 +0000 18689 18690 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 18691 18692commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 18693Author: Eric Anholt <anholt@freebsd.org> 18694Date: Sun Nov 20 23:17:39 2005 +0000 18695 18696 Add/improve libs .cvsignores. 18697 18698commit fa1f4a08112bfa14d3758f4702733dd3892966c3 18699Author: Kevin E Martin <kem@kem.org> 18700Date: Sat Nov 19 07:15:39 2005 +0000 18701 18702 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 18703 18704commit 7012f9b56c594cf40855ba0dbf93af1263417a8c 18705Author: Kevin E Martin <kem@kem.org> 18706Date: Mon Nov 14 21:51:07 2005 +0000 18707 18708 Fix xf86bigfont pkgconfig dep typo. 18709 18710commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 18711Author: Kevin E Martin <kem@kem.org> 18712Date: Wed Nov 9 21:19:12 2005 +0000 18713 18714 Update package version number for X11R7 RC2 release. 18715 18716commit 6bb0c3796b6e1beddc376a896e865704886e1462 18717Author: Kean Johnson <kean@armory.com> 18718Date: Tue Nov 8 06:33:25 2005 +0000 18719 18720 See ChangeLog entry 2005-11-07 for details. 18721 18722commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 18723Author: Kevin E Martin <kem@kem.org> 18724Date: Tue Nov 1 15:11:50 2005 +0000 18725 18726 Update pkgcheck dependencies to work with separate build roots. 18727 18728commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 18729Author: Donnie Berkholz <spyderous@gentoo.org> 18730Date: Fri Oct 28 10:44:03 2005 +0000 18731 18732 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 18733 18734commit be627a39fe373e2e81fdc263780e70a271d9e0c5 18735Author: Donnie Berkholz <spyderous@gentoo.org> 18736Date: Fri Oct 28 08:28:08 2005 +0000 18737 18738 Add dependency on inputproto for XI.h. 18739 18740commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 18741Author: Adam Jackson <ajax@nwnk.net> 18742Date: Fri Oct 21 18:44:24 2005 +0000 18743 18744 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 18745 18746commit 1171fa9dc77413f0e90933a565ec07068052afb4 18747Author: Kevin E Martin <kem@kem.org> 18748Date: Wed Oct 19 02:48:08 2005 +0000 18749 18750 Update package version number for RC1 release. 18751 18752commit 2a2d905706308b9d5a1c16af1067fb390f43850c 18753Author: Alan Coopersmith <alan.coopersmith@sun.com> 18754Date: Tue Oct 18 00:00:08 2005 +0000 18755 18756 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 18757 18758commit 66d35b6971fb26762392a2a8e2c47db46c11116a 18759Author: Alan Coopersmith <alan.coopersmith@sun.com> 18760Date: Mon Oct 17 21:13:15 2005 +0000 18761 18762 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 18763 18764commit a316995a17c084e98ef1b7f25d287c2c08b6d749 18765Author: Donnie Berkholz <spyderous@gentoo.org> 18766Date: Sun Oct 16 03:03:35 2005 +0000 18767 18768 Change '==' to portable '='. 18769 18770commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 18771Author: Alan Coopersmith <alan.coopersmith@sun.com> 18772Date: Wed Oct 12 00:04:50 2005 +0000 18773 18774 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 18775 18776commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 18777Author: Eric Anholt <anholt@freebsd.org> 18778Date: Tue Oct 11 02:18:36 2005 +0000 18779 18780 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 18781 18782commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 18783Author: Alan Coopersmith <alan.coopersmith@sun.com> 18784Date: Sun Oct 9 22:28:39 2005 +0000 18785 18786 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 18787 18788commit 91ed79852e790049ab54e68f288afb3c953194c9 18789Author: Kevin E Martin <kem@kem.org> 18790Date: Fri Oct 7 15:00:00 2005 +0000 18791 18792 Clean up generated files 18793 Add missing dist tarball files 18794 18795commit 440399b470c97b159a530602fff11c315aca8d97 18796Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 18797Date: Wed Oct 5 18:27:10 2005 +0000 18798 18799 Add el_GR.UTF-8 compose file 18800 18801commit 010f0647e25ac617d0f92c8d2b8dda684da545db 18802Author: Daniel Stone <daniel@fooishbar.org> 18803Date: Fri Sep 30 07:52:46 2005 +0000 18804 18805 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 18806 18807commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 18808Author: Daniel Stone <daniel@fooishbar.org> 18809Date: Fri Sep 30 07:47:55 2005 +0000 18810 18811 Bug #1640: Kinyarwanda locale support. (Steve Murphy) 18812 18813commit 4ae0decabe0960870df0ec165f495166c10a053c 18814Author: Daniel Stone <daniel@fooishbar.org> 18815Date: Fri Sep 30 07:40:03 2005 +0000 18816 18817 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 18818 18819commit 3f79eb4c99844f618f1889741d1631c2ffe5385f 18820Author: Daniel Stone <daniel@fooishbar.org> 18821Date: Fri Sep 30 07:11:19 2005 +0000 18822 18823 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. 18824 18825commit d1237d1483ff972c76a0ac344ec97d5280db0007 18826Author: Alan Coopersmith <alan.coopersmith@sun.com> 18827Date: Thu Sep 29 21:27:12 2005 +0000 18828 18829 Add Xcms.txt to lib/X11 18830 18831commit 4a86f299693f7376cbe98175f0b0c44d691802b3 18832Author: Alan Coopersmith <alan.coopersmith@sun.com> 18833Date: Sat Sep 24 20:11:06 2005 +0000 18834 18835 Add XQueryExtension.man 18836 18837commit a057a66e2041d45198a13a4ece7c07068f76f21b 18838Author: Alan Coopersmith <alan.coopersmith@sun.com> 18839Date: Sat Sep 24 00:16:32 2005 +0000 18840 18841 Add XTHREAD_CFLAGS for platforms that need special defines like 18842 -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 18843 18844commit 3e920a65a7c376ad63eae2240fd06904d25d18bf 18845Author: Alan Coopersmith <alan.coopersmith@sun.com> 18846Date: Fri Sep 2 23:00:30 2005 +0000 18847 18848 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 18849 18850commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 18851Author: Kristian Høgsberg <krh@redhat.com> 18852Date: Thu Sep 1 19:24:13 2005 +0000 18853 18854 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 18855 18856commit 7afa64325183b78d2d6a4862821f8b3e9866105c 18857Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18858Date: Sun Aug 28 19:45:48 2005 +0000 18859 18860 OpenBSD needs -lpthread for threaded applications too. 18861 18862commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 18863Author: Daniel Stone <daniel@fooishbar.org> 18864Date: Fri Aug 26 05:16:46 2005 +0000 18865 18866 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 18867 18868commit 07066da0902df91c71f2adb81d1a17ec29165553 18869Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18870Date: Sun Aug 21 15:45:04 2005 +0000 18871 18872 update 18873 18874commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 18875Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18876Date: Sun Aug 21 15:38:39 2005 +0000 18877 18878 Threads support for BSD systems: 18879 - need to check for gewtpwuid_r to define mtsafeapi 18880 - build UIThrstubs if needed. 18881 18882commit 60217fdb918bafb2082519efe5cba3b13ad3082a 18883Author: Adam Jackson <ajax@nwnk.net> 18884Date: Wed Aug 17 19:46:08 2005 +0000 18885 18886 Add xthreadlib variable to x11.pc. Bump to 0.99.1. 18887 18888commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 18889Author: Alan Coopersmith <alan.coopersmith@sun.com> 18890Date: Wed Aug 17 01:27:08 2005 +0000 18891 18892 Fix more broken multi-line .ds macros. Remove extraneous ;'s . 18893 18894commit 1909786f4a7d686369edcfc05a938df115fab37c 18895Author: Alan Coopersmith <alan.coopersmith@sun.com> 18896Date: Tue Aug 16 19:23:15 2005 +0000 18897 18898 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) 18899 18900commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 18901Author: Alan Coopersmith <alan.coopersmith@sun.com> 18902Date: Mon Aug 15 19:53:37 2005 +0000 18903 18904 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 18905 18906commit 5bb43de17de8e71d967488a713bf2b3448533444 18907Author: Alan Coopersmith <alan.coopersmith@sun.com> 18908Date: Sat Aug 6 18:59:49 2005 +0000 18909 18910 Typo fix in output message 18911 18912commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 18913Author: Alan Coopersmith <alan.coopersmith@sun.com> 18914Date: Thu Aug 4 02:55:49 2005 +0000 18915 18916 //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) 18917 18918commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 18919Author: Alan Coopersmith <alan.coopersmith@sun.com> 18920Date: Thu Aug 4 02:51:30 2005 +0000 18921 18922 //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) 18923 18924commit 34b454df192f4563499c453ccdb8c079f4a20cbe 18925Author: Alan Coopersmith <alan.coopersmith@sun.com> 18926Date: Sat Jul 30 20:30:46 2005 +0000 18927 18928 Include config.h so Xtrans knows which transport types to build code for 18929 18930commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 18931Author: Alan Coopersmith <alan.coopersmith@sun.com> 18932Date: Sat Jul 30 19:15:16 2005 +0000 18933 18934 Add -D flags to clear various warnings (Stefan Dirsch) 18935 18936commit e7fef67b4531faddd805d8f2157903006d3117ed 18937Author: Kevin E Martin <kem@kem.org> 18938Date: Fri Jul 29 21:22:50 2005 +0000 18939 18940 Various changes preparing packages for RC0: 18941 - Verify and update package version numbers as needed 18942 - Implement versioning scheme 18943 - Change bug address to point to bugzilla bug entry form 18944 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 18945 - Fix makedepend to use pkgconfig and pass distcheck 18946 - Update build script to build macros first 18947 - Update modular Xorg version 18948 18949commit 2ebb00244928237088e68325b1032b3550455ce9 18950Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18951Date: Sat Jul 23 20:19:31 2005 +0000 18952 18953 remove orphan TAB at begin of line 18954 18955commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 18956Author: Kevin E Martin <kem@kem.org> 18957Date: Sat Jul 23 18:09:39 2005 +0000 18958 18959 Modify modular libs to use Xregion.h instead of region.h 18960 18961commit 6d635a88d91647b1b63611c3591f74916f88cd1c 18962Author: Kevin E Martin <kem@kem.org> 18963Date: Sat Jul 23 18:06:16 2005 +0000 18964 18965 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 18966 18967commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 18968Author: Daniel Stone <daniel@fooishbar.org> 18969Date: Sat Jul 16 06:25:35 2005 +0000 18970 18971 Set soversion to 6.2.0. 18972 18973commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 18974Author: Keith Packard <keithp@keithp.com> 18975Date: Fri Jul 15 04:27:32 2005 +0000 18976 18977 Add missing Makefile.am to lib/X11/modules 18978 18979commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 18980Author: Keith Packard <keithp@keithp.com> 18981Date: Fri Jul 15 04:08:51 2005 +0000 18982 18983 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 18984 Link i18n modules against xlib to resolve Xlib symbols used by them. 18985 18986commit 45f40126a73295345bb5eb187b1167874842ab6e 18987Author: Alexander Gottwald <ago@freedesktop.org> 18988Date: Thu Jul 14 19:50:00 2005 +0000 18989 18990 Add $(top_srcdir)/src to include list 18991 18992commit 0aed7d91f5928d09d541617aad03709b5090658d 18993Author: Matthieu Herrb <matthieu.herrb@laas.fr> 18994Date: Thu Jul 14 17:04:49 2005 +0000 18995 18996 Build fix for non-GNU make. 18997 18998commit b79422ccb02ab44548d1038956ab0cd4e2638645 18999Author: Adam Jackson <ajax@nwnk.net> 19000Date: Thu Jul 14 15:12:44 2005 +0000 19001 19002 typo fixes (Matthieu Herrb) 19003 19004commit 419304cde2fda19457c667870edefc0b227651b3 19005Author: Alan Coopersmith <alan.coopersmith@sun.com> 19006Date: Wed Jul 13 02:41:36 2005 +0000 19007 19008 Add missing backslashes to xlocale_la_SOURCES 19009 19010commit d14cc5c8964c4539b57c6cb51ef653292e410b79 19011Author: Keith Packard <keithp@keithp.com> 19012Date: Mon Jul 11 20:32:55 2005 +0000 19013 19014 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 19015 19016commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 19017Author: Lars Knoll <lars@trolltech.com> 19018Date: Mon Jul 11 15:24:32 2005 +0000 19019 19020 compile 19021 19022commit de9784eb1bde46efc316da279e3da27c6cc288a7 19023Author: Keith Packard <keithp@keithp.com> 19024Date: Mon Jul 11 09:26:40 2005 +0000 19025 19026 Ignore built man page files 19027 19028commit 0c258c36d1523113790c599b16d2947d7aa6469a 19029Author: Keith Packard <keithp@keithp.com> 19030Date: Mon Jul 11 09:18:31 2005 +0000 19031 19032 Minor changes to help modular Xlib build i18n modules 19033 19034commit 6e752ea1203b786423e40f43340bce15ca3de0f0 19035Author: Keith Packard <keithp@keithp.com> 19036Date: Mon Jul 11 08:29:18 2005 +0000 19037 19038 Enable loadable i18n modules, making them configurable on the configure command line. 19039 Clean up conditionals for XKB, XCMS, XLOCALEDIR 19040 Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 19041 Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 19042 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. 19043 Display message at end of configure script with selected options. 19044 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. 19045 19046commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 19047Author: Daniel Stone <daniel@fooishbar.org> 19048Date: Sun Jul 10 22:37:33 2005 +0000 19049 19050 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 19051 19052commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 19053Author: Alan Coopersmith <alan.coopersmith@sun.com> 19054Date: Sat Jul 9 20:06:04 2005 +0000 19055 19056 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 19057 19058commit 3939ac4410446b46071c9d714f4270c12bf904fe 19059Author: Alan Coopersmith <alan.coopersmith@sun.com> 19060Date: Sat Jul 9 18:44:14 2005 +0000 19061 19062 - 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 19063 - Don't assume $(CPP) can take gcc-only -traditional flag 19064 - CPP process man pages as is done in the monolithic tree 19065 19066commit 19ba9d0df86c688319377467254b9ea9c4b0eccc 19067Author: Keith Packard <keithp@keithp.com> 19068Date: Sat Jul 9 06:01:49 2005 +0000 19069 19070 Clean up .cvsignore files 19071 19072commit f4bba6fa9b9ce637be7662754750054567e9250a 19073Author: Adam Jackson <ajax@nwnk.net> 19074Date: Sat Jul 9 02:53:29 2005 +0000 19075 19076 typo fix. i suck. 19077 19078commit 3305da61a61695e24c1ea11d3f59dddb52873d47 19079Author: Adam Jackson <ajax@nwnk.net> 19080Date: Sat Jul 9 02:41:18 2005 +0000 19081 19082 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 19083 19084commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 19085Author: Keith Packard <keithp@keithp.com> 19086Date: Fri Jul 8 07:11:56 2005 +0000 19087 19088 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 19089 19090commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 19091Author: Keith Packard <keithp@keithp.com> 19092Date: Fri Jul 8 06:57:06 2005 +0000 19093 19094 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. 19095 Add a bunch of .cvsignore files 19096 19097commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 19098Author: Chris Less <clee@c133.org> 19099Date: Mon Jul 4 23:01:48 2005 +0000 19100 19101 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 19102 19103commit 55328bb6caabd37885cd19d7a5821ed425daf321 19104Author: Eric Anholt <anholt@freebsd.org> 19105Date: Sun Jul 3 10:17:38 2005 +0000 19106 19107 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 19108 19109commit 726538ba21b631bfb0b8094a5546acdaf57379ff 19110Author: Daniel Stone <daniel@fooishbar.org> 19111Date: Sun Jul 3 07:37:33 2005 +0000 19112 19113 Fix more include paths; add dix-config.h to XKB code. 19114 19115commit 8c7677138e70e14eca0255f2168583f0ecc21994 19116Author: Daniel Stone <daniel@fooishbar.org> 19117Date: Sun Jul 3 07:00:55 2005 +0000 19118 19119 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 19120 Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 19121 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>. 19122 19123commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 19124Author: Daniel Stone <daniel@fooishbar.org> 19125Date: Fri Jul 1 22:13:35 2005 +0000 19126 19127 Fix objdir != srcdir, as well as make distcheck. 19128 Don't attempt to create Compose.pre files; formatting fixes. 19129 Added if not already present. 19130 19131commit c162d60ad8f124563f94a2a266de59373936266c 19132Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19133Date: Wed Jun 22 22:46:31 2005 +0000 19134 19135 Apply these patches from Theo van Klaveren: 19136 lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 19137 to make the libraries distcheck. 19138 19139commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 19140Author: Alan Coopersmith <alan.coopersmith@sun.com> 19141Date: Sat Jun 18 07:48:43 2005 +0000 19142 19143 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 19144 19145commit 12afc57b7d455781eee305e9ed6a899ceec8729e 19146Author: Daniel Stone <daniel@fooishbar.org> 19147Date: Wed Jun 15 16:50:47 2005 +0000 19148 19149 Typo fix to locale/error/keysym location declarations. 19150 19151commit 9a895777e30762f61b98d25be3b5d8b1169baa17 19152Author: Daniel Stone <daniel@fooishbar.org> 19153Date: Wed Jun 15 13:37:43 2005 +0000 19154 19155 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 19156 19157commit add49285663684875ab7a5c58ec7a2cf8b775f67 19158Author: Daniel Stone <daniel@fooishbar.org> 19159Date: Wed Jun 15 13:32:35 2005 +0000 19160 19161 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 19162 Move ImUtil.h from src/ to include/X11/. 19163 19164commit 845dfc6b42b950890866ee4df27761e086f50dca 19165Author: Daniel Stone <daniel@fooishbar.org> 19166Date: Wed Jun 15 13:27:48 2005 +0000 19167 19168 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 19169 19170commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 19171Author: Daniel Stone <daniel@fooishbar.org> 19172Date: Fri Jun 10 14:11:36 2005 +0000 19173 19174 Remove pointless include of Xlib.h. 19175 Fix #include path to bigreqstr.h. 19176 19177commit 1a0de49da1274882bab05b0f7240936b37955e5c 19178Author: Alexander Gottwald <ago@freedesktop.org> 19179Date: Thu Jun 9 21:30:15 2005 +0000 19180 19181 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 19182 19183commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 19184Author: Alexander Gottwald <ago@freedesktop.org> 19185Date: Thu Jun 9 15:55:33 2005 +0000 19186 19187 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 19188 19189commit fd5f58e0baf692e34b9b622286f18762cc2500d3 19190Author: Alexander Gottwald <ago@freedesktop.org> 19191Date: Thu Jun 9 15:52:02 2005 +0000 19192 19193 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 19194 Copy Xtrans.h to exports/include/X11/Xtrans only 19195 19196commit 44538f9940f969d46c0e5e4b201c684cde2ba611 19197Author: Alan Coopersmith <alan.coopersmith@sun.com> 19198Date: Sun Jun 5 03:29:33 2005 +0000 19199 19200 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 19201 19202commit 588e30e9ec65fa6205a34be650b79d5e2243edec 19203Author: Alan Coopersmith <alan.coopersmith@sun.com> 19204Date: Sat Jun 4 22:53:21 2005 +0000 19205 19206 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 19207 19208commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 19209Author: Alan Coopersmith <alan.coopersmith@sun.com> 19210Date: Sat Jun 4 21:20:20 2005 +0000 19211 19212 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) 19213 19214commit ca93c761559ae464189c7ea7cf11c6a6679f2431 19215Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19216Date: Sat May 28 01:02:32 2005 +0000 19217 19218 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 19219 19220commit 09ebb349359e3dd9131fa2fa8b07559faa173654 19221Author: Alan Coopersmith <alan.coopersmith@sun.com> 19222Date: Sun May 22 19:05:11 2005 +0000 19223 19224 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 19225 19226commit 761219b1ef9befc350c8a35b6f96d047e5f008cc 19227Author: Alan Coopersmith <alan.coopersmith@sun.com> 19228Date: Sat May 21 23:07:48 2005 +0000 19229 19230 xtrans: 19231 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 19232 ICE: 19233 Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 19234 X11: 19235 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. 19236 19237commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 19238Author: Alan Coopersmith <alan.coopersmith@sun.com> 19239Date: Sat May 21 04:26:12 2005 +0000 19240 19241 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) 19242 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). 19243 19244commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 19245Author: Adam Jackson <ajax@nwnk.net> 19246Date: Thu May 19 00:22:32 2005 +0000 19247 19248 revert last change, didn't do right thing at all, sorry for the noise 19249 19250commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 19251Author: Adam Jackson <ajax@nwnk.net> 19252Date: Thu May 19 00:10:07 2005 +0000 19253 19254 Require automake 1.7 in AM_INIT_AUTOMAKE 19255 19256commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 19257Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19258Date: Tue May 17 22:32:09 2005 +0000 19259 19260 - Check for xproto as its CFLAGS are needed in the .pc file 19261 19262commit 46e8d8a65430dd87c10b066b5cff99a689c22241 19263Author: Egbert Eich <eich-at-freedesktop-dot-org> 19264Date: Tue May 17 08:10:10 2005 +0000 19265 19266 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). 19267 19268commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 19269Author: <ssp@aware-of-vacuity.boston.redhat.com> 19270Date: Mon May 16 22:35:27 2005 +0000 19271 19272 Make Xdmcp unconditionally required, require various protocol modules. 19273 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 19274 Check for kbproto if using XKB. 19275 Require xextproto rather than xextensions 19276 Remove the entries from the xlibs tree, as they are not relevant here. 19277 19278commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 19279Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19280Date: Mon May 16 21:48:36 2005 +0000 19281 19282 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 19283 Check for kbproto if using XKB. 19284 19285commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 19286Author: <ssp@aware-of-vacuity.boston.redhat.com> 19287Date: Mon May 16 21:27:35 2005 +0000 19288 19289 Require xextproto rather than xextensions 19290 Remove the entries from the xlibs tree, as they are not relevant here. 19291 19292commit 7eee605e3aeed549d1053325a03027c5e8cbf71b 19293Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19294Date: Fri May 13 22:53:36 2005 +0000 19295 19296 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 19297 - For Xcomposite and Xdamage, don't link the build system out of the xc tree 19298 - Link the public X11 headers into their own directory 19299 - Add links to XKeysymDB and XErrorDB 19300 - Add links to all the Xlib man pages 19301 - Add links to the lcUniConv subdirectory 19302 - Conditionally include config.h in Xlib source 19303 19304commit 6769ccda88caf27d1441d335ef2b318a047a612b 19305Author: Alan Coopersmith <alan.coopersmith@sun.com> 19306Date: Mon Mar 21 04:58:21 2005 +0000 19307 19308 xc/lib/X11/ErrDes.c 19309 //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> 19310 19311commit 3b9e8ece93b916c55a82df53e85f097418edf471 19312Author: Roland Mainz <roland.mainz@nrubsig.org> 19313Date: Sat Mar 19 22:04:55 2005 +0000 19314 19315 xc/nls/Compose/iso8859-2 19316 xc/nls/Compose/iso8859-3 19317 xc/nls/Compose/iso8859-9 19318 //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>. 19319 19320commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 19321Author: Alan Coopersmith <alan.coopersmith@sun.com> 19322Date: Tue Mar 8 02:53:36 2005 +0000 19323 19324 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>. 19325 19326commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 19327Author: Roland Mainz <roland.mainz@nrubsig.org> 19328Date: Tue Feb 1 03:12:28 2005 +0000 19329 19330 xc/nls/Compose/pt_BR.UTF-8 19331 //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>. 19332 19333commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 19334Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 19335Date: Fri Jan 28 18:31:31 2005 +0000 19336 19337 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 19338 19339commit f234188a4c1e6b655aef0e3957ccad20d4c5847f 19340Author: Roland Mainz <roland.mainz@nrubsig.org> 19341Date: Wed Jan 19 01:53:55 2005 +0000 19342 19343 xc/nls/compose.dir 19344 xc/nls/locale.dir 19345 xc/nls/Compose/Imakefile 19346 xc/nls/Compose/pt_BR.UTF-8 19347 xc/nls/XI18N_OBJS/Imakefile 19348 xc/nls/XI18N_OBJS/pt_BR.UTF-8 19349 xc/nls/XLC_LOCALE/Imakefile 19350 xc/nls/XLC_LOCALE/pt_BR.UTF-8 19351 //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. 19352 19353commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 19354Author: Egbert Eich <eich-at-freedesktop-dot-org> 19355Date: Fri Jan 14 18:03:09 2005 +0000 19356 19357 Made some security enhancements: 19358 - no writing past end of buffer caused by bogus locale. 19359 - explicitely add a \0 character at end of string. (Bugzilla #2262) 19360 19361commit 5557d47fcf22a6f3adf327691158f2270e3d5094 19362Author: Roland Mainz <roland.mainz@nrubsig.org> 19363Date: Fri Jan 14 04:59:05 2005 +0000 19364 19365 xc/nls/compose.dir 19366 xc/nls/locale.alias 19367 xc/nls/locale.dir 19368 //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>. 19369 19370commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 19371Author: Egbert Eich <eich-at-freedesktop-dot-org> 19372Date: Tue Jan 11 17:37:57 2005 +0000 19373 19374 '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. 19375 19376commit 642cd269f94a234aa470a1d43385bd42625d89a1 19377Author: Egbert Eich <eich-at-freedesktop-dot-org> 19378Date: Tue Dec 14 08:59:20 2004 +0000 19379 19380 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 19381 Fixed typo. 19382 Added comment to a changed that's been committed with one of the previous commits. 19383 19384commit a07ccae36e629741d2e48de7730114d30a975a41 19385Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19386Date: Sun Dec 12 08:42:50 2004 +0000 19387 19388 Fix missing XChangeProperty() prototype missing in synopsis section. 19389 19390commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 19391Author: Alexander Gottwald <ago at freedesktop dot org> 19392Date: Wed Dec 8 13:42:01 2004 +0000 19393 19394 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 19395 19396commit d5e7ab194103e22fd6c5094aaa107d90210bb600 19397Author: Jim Gettys <jg@freedesktop.org> 19398Date: Thu Dec 2 16:18:16 2004 +0000 19399 19400 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 19401 19402commit 03940d7330cb1bbf93d49c650aefb19de457da7c 19403Author: Alexander Gottwald <ago at freedesktop dot org> 19404Date: Wed Dec 1 13:06:55 2004 +0000 19405 19406 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 19407 19408commit 11a03ab908bfcfab8a3492684e8e9320e492d552 19409Author: Alexander Gottwald <ago at freedesktop dot org> 19410Date: Wed Dec 1 12:42:17 2004 +0000 19411 19412 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 19413 19414commit f3d83ee153f42e8899b844377e6b842d93411e62 19415Author: Alexander Gottwald <ago@freedesktop.org> 19416Date: Mon Nov 15 15:06:54 2004 +0000 19417 19418 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 19419 19420commit b798ea11911ac58a8e6e7d15a2a643b023859749 19421Author: Alexander Gottwald <ago at freedesktop dot org> 19422Date: Mon Nov 15 13:29:56 2004 +0000 19423 19424 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 19425 19426commit 436108cd6c84053698e5ca629096f59b34f50c2a 19427Author: Kristian Høgsberg <krh@redhat.com> 19428Date: Thu Nov 11 15:37:01 2004 +0000 19429 19430 Fix #1818 19431 19432commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 19433Author: Roland Mainz <roland.mainz@nrubsig.org> 19434Date: Tue Nov 9 00:56:56 2004 +0000 19435 19436 xc/nls/compose.dir 19437 xc/nls/locale.alias 19438 xc/nls/locale.dir 19439 //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>. 19440 19441commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 19442Author: Roland Mainz <roland.mainz@nrubsig.org> 19443Date: Fri Nov 5 00:58:49 2004 +0000 19444 19445 xc/nls/compose.dir 19446 xc/nls/locale.alias 19447 xc/nls/locale.dir 19448 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>. 19449 19450commit af7467ec734321f127b957921cce7792902b6794 19451Author: Egbert Eich <eich-at-freedesktop-dot-org> 19452Date: Mon Oct 18 17:29:03 2004 +0000 19453 19454 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 19455 19456commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 19457Author: Egbert Eich <eich-at-freedesktop-dot-xorg> 19458Date: Mon Oct 18 14:21:45 2004 +0000 19459 19460 Made handling of DevelDrivers for x86-64 more conformant to other platforms. 19461 Compress all font encodings (Stefan Dirsch). 19462 Fixed warnings. 19463 Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 19464 Added another compose key combination for the Euro symbol (Stefan Dirsch). 19465 Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 19466 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. 19467 Added explanation for DESTDIR to install to a different directory than /. 19468 Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 19469 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. 19470 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(). 19471 Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 19472 Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 19473 Changed comment to mention xorg. 19474 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). 19475 Added 'pic' to the man page rendering command pipeline (Werner Fink). 19476 Added missing return value (Stefan Dirsch, Roland Mainz) 19477 19478commit 1ba103c3cad2329db3a31f88d7798b913affc570 19479Author: Eric Anholt <anholt@freebsd.org> 19480Date: Wed Oct 13 07:38:00 2004 +0000 19481 19482 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>) 19483 19484commit d80237db627bf71ad5615ff4ba05e6ab436aa740 19485Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19486Date: Fri Oct 8 22:57:56 2004 +0000 19487 19488 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 19489 Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 19490 19491commit d1f76d17ecf418396627b1a58319f2b9b255548a 19492Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 19493Date: Sun Sep 26 22:54:57 2004 +0000 19494 19495 bug fix for previous patch 19496 19497commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 19498Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 19499Date: Sun Sep 26 20:46:17 2004 +0000 19500 19501 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 19502 19503commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 19504Author: Egbert Eich <eich@freedesktop.org> 19505Date: Wed Sep 15 09:05:22 2004 +0000 19506 19507 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). 19508 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). 19509 19510commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 19511Author: Egbert Eich <eich@freedesktop.org> 19512Date: Tue Aug 31 11:37:03 2004 +0000 19513 19514 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). 19515 19516commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 19517Author: Kevin E Martin <kem@kem.org> 19518Date: Thu Aug 19 06:48:06 2004 +0000 19519 19520 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 19521 19522commit d558a53a6f57eecfcaadce5141fe3a08860defcb 19523Author: Keith Packard <keithp@keithp.com> 19524Date: Sat Aug 14 07:12:36 2004 +0000 19525 19526 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 19527 Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 19528 Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 19529 Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 19530 19531commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 19532Author: Alexander Gottwald <ago@freedesktop.org> 19533Date: Fri Aug 13 16:28:19 2004 +0000 19534 19535 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 19536 Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 19537 19538commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 19539Author: Adam Jackson <ajax@nwnk.net> 19540Date: Wed Aug 11 05:25:13 2004 +0000 19541 19542 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 19543 19544commit 92487437173f600f208d825f65756d3ad14a4f7e 19545Author: Kevin E Martin <kem@kem.org> 19546Date: Mon Aug 9 22:37:22 2004 +0000 19547 19548 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 19549 Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 19550 Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 19551 HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 19552 Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 19553 Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 19554 Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 19555 Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 19556 Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 19557 Fix several render problems: 19558 - MMIO mode support 19559 - Hang on IGP chips 19560 - VT switching hang 19561 - 3D render corruption (Bug #922, Hui Yu). 19562 19563commit 55c2ee568e7d3903258286a13bdf96ce5348ffda 19564Author: Matthieu Herrb <matthieu.herrb@laas.fr> 19565Date: Tue Jul 27 06:06:05 2004 +0000 19566 19567 - remove remaining AMOEBA references. 19568 - remove unused file. 19569 19570commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 19571Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 19572Date: Tue Jul 20 17:48:09 2004 +0000 19573 19574 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 19575 Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 19576 Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 19577 Use /dev/urandom on Linux.(#761). 19578 19579commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 19580Author: Eric Anholt <anholt@freebsd.org> 19581Date: Fri May 28 23:26:44 2004 +0000 19582 19583 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 19584 19585commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 19586Author: Egbert Eich <eich@pdx.freedesktop.org> 19587Date: Mon May 24 19:02:11 2004 +0000 19588 19589 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. 19590 19591commit 720702da29769d80ad1254d92edbad5b30f8a8da 19592Author: Alan Coopersmith <alan.coopersmith@sun.com> 19593Date: Sat May 22 03:47:42 2004 +0000 19594 19595 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 19596 19597commit 3aed873292424b497d9a7dcee2975b95bf5ac966 19598Author: Alan Coopersmith <alan.coopersmith@sun.com> 19599Date: Sat Apr 24 23:39:25 2004 +0000 19600 19601 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 19602 Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 19603 xc/config/cf/sunLib.tmpl 19604 xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 19605 19606commit c6349f43193b74a3c09945f3093a871b0157ba47 19607Author: Egbert Eich <eich@freedesktop.org> 19608Date: Fri Apr 23 18:42:09 2004 +0000 19609 19610 Merging XORG-CURRENT into trunk 19611 19612commit c3c4ddc682950a01b80825021f3e2503ab01ea7f 19613Author: Kaleb Keithley <kaleb@freedesktop.org> 19614Date: Tue Nov 25 19:28:07 2003 +0000 19615 19616 Initial revision 19617 19618commit dc4268a7dadc8da0d561757a68461246728613d3 19619Author: Kaleb Keithley <kaleb@freedesktop.org> 19620Date: Fri Nov 14 16:48:47 2003 +0000 19621 19622 Initial revision 19623 19624commit deae12c6b683898f5213992d561a59d4ea889cca 19625Author: Kaleb Keithley <kaleb@freedesktop.org> 19626Date: Fri Nov 14 15:54:30 2003 +0000 19627 19628 R6.6 is the Xorg base-line 19629