commit ed9fb5535efe1e5278654b6b3994a34337b4bf1a Author: Alan Coopersmith Date: Sun Jul 28 10:37:55 2024 -0700 libX11 1.8.10 Signed-off-by: Alan Coopersmith commit 92014b39634e0b0aa52d4bff955a7aac3ed0a915 Author: Kelly Roadkill Date: Tue Jul 23 08:12:01 2024 +0500 Revert "nls: add compose seq's for symbols absent from Cyrillic layouts to ru_RU" Testing by multilingual typists revealed that the proposed sequences are too complex for everyday use. It seems that the inherent problems with JCUKEN can only be fixed with better kbd layouts. This reverts commit 174df0b8b6ada7e1c741373c7d686e00f42d8bd5. Part-of: commit be137dffa6f0b7640ce80b4266539009544bb045 Author: Kelly Roadkill Date: Fri Jul 19 16:47:40 2024 +0500 nls: add compose sequences for hryvnia currency Part-of: commit 39d57cbeda627115f7e8bd305b6cbd9df1daa007 Author: Alan Coopersmith Date: Sat Jul 13 10:14:02 2024 -0700 xlibi18n/lcFile.c: avoid use of possibly-NULL pointer with strcpy Fixes gcc warnings: lcFile.c: In function ‘_XlcLocaleLibDirName’: lcFile.c:708:5: warning: use of possibly-NULL ‘last_dir_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] 708 | strcpy (last_dir_name, dir_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith Part-of: commit 8abcaba1a7ee363a35ad8d869715095096995c76 Author: Alan Coopersmith Date: Sat Jul 6 09:37:50 2024 -0700 Revert "unifdef __vax__" This reverts commit 4ce3962b701c502acc96b6eaf104a5ffc317c5d7. Requested by NetBSD which still has a supported VAX port. Part-of: commit 751fbc59c30604980fdd19cb4b333d3cf2eccb24 Author: Olivier Fourdan Date: Fri Jun 21 14:37:24 2024 +0200 Fix deadlock in XRebindKeysym() Xlib is now built with threading support enabled from the constructor by default. XRebindKeysym() acquires the display lock, then calls: | XRebindKeysym() | LockDisplay() | ComputeMaskFromKeytrans() | -> XkbKeysymToModifiers() | -> _XkbLoadDpy() | -> XkbGetMap() | -> XkbGetUpdatedMap() | LockDisplay() And the dead lock: | Xlib ERROR: XKBGetMap.c line 575 thread 1fc6e580: locking display already | locked at KeyBind.c line 937 To avoid the issue, call ComputeMaskFromKeytrans() from outside the display lock. Signed-off-by: Olivier Fourdan Closes: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/216 Part-of: commit bc8c908ae8007d0bfe9b58c7752dd00fd282d999 Author: Kelly Roadkill Date: Tue Jun 18 14:49:50 2024 +0500 nls: delete compose sequence with anomalous post-fixed cedilla The only sequence with post-fixed cedilla in the whole en_US.UTF-8 was introduced in cf040016 with the merge of GTK+ compose sequences 12 years ago. It goes against the established patterns. Part-of: commit 1472048b7a02d1b7fc25cfeda761db23fba21eac Author: Olivier Fourdan Date: Fri Jun 7 09:05:55 2024 +0200 Make colormap private interfaces thread safe. Protect access to the dpy structure by a display lock, so that these can be called outside of a global display lock. That allows the XCMS colormap functions to be thread safe without having the whole functions within a display lock, to avoid deadlocks. Signed-off-by: Olivier Fourdan See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/215 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/94 Reviewed-by: Adam Jackson Part-of: commit 739fce4c12c7aa39112353d80c8a3bf25bdd5274 Author: Olivier Fourdan Date: Fri Jun 7 09:07:39 2024 +0200 Revert "Protect colormap add/removal with display lock" That commit 99a2cf1aa was moving the calls to the _Xcms*CmapRec*() family of functions within a display lock to make the XCMS colormap functions thread safe. Unfortunately, that causes a deadlock in XCopyColormapAndFree(), because _XcmsCopyCmapRecAndFree() calls CmapRecForColormap() which calls XGetVisualInfo() which also tries to acquire the display lock. So, instead of moving the entire functions within the display lock, let's try to make the functions themselves thread safe in the following commit, and revert this change which causes a deadlock. This reverts commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d. Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/215 See-also: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/94 Reviewed-by: Adam Jackson Part-of: commit 5dfedaf4aa1a032ea6cb4e871abd2e065f798129 Author: Olivier Fourdan Date: Thu Jun 6 16:25:26 2024 +0200 Revert "Fix XTS regression in XCopyColormapAndFree" This change was to fix the next change that we are to revert as well. This reverts commit 68c72a7341b114277ab232f2499ee3bd035af8a0. Reviewed-by: Adam Jackson Part-of: commit c099d0105f7a4f969cf922f333cb54c177aceacb Author: Alan Coopersmith Date: Sat May 18 11:41:36 2024 -0700 Avoid buffer overflow in _XimLookupMBText & _XimLookupUTF8Text Reported-by: u32i Signed-off-by: Alan Coopersmith Part-of: commit 0af3328dc330cbd8e097e2971b336b44466b1ab0 Author: jmcwilliams403 Date: Sun Jul 16 11:31:22 2023 -0400 NLS: Add 6 Multi_key sequences for Ezh Ezh is a Latin-Script letter belonging to several Uralic, Caucasian, and West-African languages. It is present on some Finnish keyboards, but users of many other layouts cannot presently type it. This commit adds Multi_key sequences for both Capital and lowercase Ezh, as well as Multi_key + dead_caron sequences for Ezh with a caron, which is used in Laz and Skolt Sámi. Part-of: commit 174df0b8b6ada7e1c741373c7d686e00f42d8bd5 Author: Kelly Roadkill Date: Sun Dec 3 00:53:55 2023 +0500 nls: add compose seq's for symbols absent from Cyrillic layouts to ru_RU 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. This adds sequences for them to the ru_RU compose map in an intuitive and consistent manner. Fixes #200 for ru_RU (but other Cyrillic layouts might benefit too) Part-of: commit 763f3f938c24993e9ceb1d6960d939b022fa8dfe Author: Mohamed Akram Date: Fri May 24 18:18:43 2024 +0400 nls: add Arabic hamza compose sequences These sequences are intended for use in the ara(mac-phonetic) and my(phonetic) layouts. They are based on the following layouts listed in the CLDR: - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ar-t-k0-osx-qwerty.xml - https://github.com/unicode-org/cldr/blob/release-43/keyboards/osx/ms-t-k0-osx.xml The sequences are listed in the `` section, and are reproduced below: ``` ``` We limit ourselves to the sequences that strictly combine a character and a hamza, and generate that character with a hamza on it, following the behavior in sequences of other dead keys. Additional sequences, potentially for other layouts as well, could be added later on as necessary. Part-of: commit 97fb5bda3d0777380cd4b964f48771a82ef3f2a7 Author: José Expósito Date: Tue Apr 30 18:21:08 2024 +0200 Fix buffer overrun in parse_omit_name When `num_fields == 12`, if the last character of the pattern is '-', the `buf` array is overrun. This error has been found by a static analysis tool. This is the report: Error: OVERRUN (CWE-119): libX11-1.8.7/modules/om/generic/omGeneric.c:691: cond_at_most: Checking "length > 255" implies that "length" may be up to 255 on the false branch. libX11-1.8.7/modules/om/generic/omGeneric.c:695: alias: Assigning: "last" = "buf + length - 1". "last" may now point to as high as byte 254 of "buf" (which consists of 256 bytes). libX11-1.8.7/modules/om/generic/omGeneric.c:718: ptr_incr: Incrementing "last". "last" may now point to as high as byte 255 of "buf" (which consists of 256 bytes). libX11-1.8.7/modules/om/generic/omGeneric.c:720: ptr_incr: Incrementing "last". "last" may now point to as high as byte 256 of "buf" (which consists of 256 bytes). libX11-1.8.7/modules/om/generic/omGeneric.c:720: overrun-local: Overrunning array of 256 bytes at byte offset 256 by dereferencing pointer "++last". # 718| *++last = '*'; # 719| # 720|-> *++last = '-'; # 721| break; # 722| case 13: Signed-off-by: José Expósito Part-of: commit f67a87dad40141f50f4da35b28a92a974bfdf7e1 Author: José Expósito Date: Tue Apr 30 18:04:35 2024 +0200 Fix memory leak in _XimProtoSetIMValues This error has been found by a static analysis tool. This is the report: Error: RESOURCE_LEAK (CWE-772): libX11-1.8.7/modules/im/ximcp/imDefIm.c:1316: alloc_fn: Storage is returned from allocation function "calloc". libX11-1.8.7/modules/im/ximcp/imDefIm.c:1316: var_assign: Assigning: "tmp" = storage returned from "calloc((size_t)((buf_size + data_len == 0) ? 1 : (buf_size + data_len)), 1UL)". libX11-1.8.7/modules/im/ximcp/imDefIm.c:1319: noescape: Resource "tmp" is not freed or pointed-to in "memcpy". libX11-1.8.7/modules/im/ximcp/imDefIm.c:1320: var_assign: Assigning: "buf" = "tmp". libX11-1.8.7/modules/im/ximcp/imDefIm.c:1302: var_assign: Assigning: "data" = "buf". libX11-1.8.7/modules/im/ximcp/imDefIm.c:1303: noescape: Resource "data" is not freed or pointed-to in "_XimEncodeIMATTRIBUTE". libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: Variable "data" going out of scope leaks the storage it points to. libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: Variable "buf" going out of scope leaks the storage it points to. libX11-1.8.7/modules/im/ximcp/imDefIm.c:1333: leaked_storage: Variable "tmp" going out of scope leaks the storage it points to. # 1331| # 1332| if (!total) # 1333|-> return (char *)NULL; # 1334| # 1335| buf_s = (CARD16 *)&buf[XIM_HEADER_SIZE]; Signed-off-by: José Expósito Part-of: commit af1312d2873d2ce49b18708a5029895aed477392 Author: José Expósito Date: Tue Apr 30 17:37:39 2024 +0200 XKBMAlloc: Check that needed is >= 0 in XkbResizeKeyActions Passing a negative value in `needed` to the `XkbResizeKeyActions()` function can create a `newActs` array of an unespected size. Check the value and return if it is invalid. This error has been found by a static analysis tool. This is the report: Error: OVERRUN (CWE-119): libX11-1.8.7/src/xkb/XKBMAlloc.c:811: cond_const: Checking "xkb->server->size_acts == 0" implies that "xkb->server->size_acts" is 0 on the true branch. libX11-1.8.7/src/xkb/XKBMAlloc.c:811: buffer_alloc: "calloc" allocates 8 bytes dictated by parameters "(size_t)((xkb->server->size_acts == 0) ? 1 : xkb->server->size_acts)" and "8UL". libX11-1.8.7/src/xkb/XKBMAlloc.c:811: var_assign: Assigning: "newActs" = "calloc((size_t)((xkb->server->size_acts == 0) ? 1 : xkb->server->size_acts), 8UL)". libX11-1.8.7/src/xkb/XKBMAlloc.c:815: assignment: Assigning: "nActs" = "1". libX11-1.8.7/src/xkb/XKBMAlloc.c:829: cond_at_least: Checking "nCopy > 0" implies that "nCopy" is at least 1 on the true branch. libX11-1.8.7/src/xkb/XKBMAlloc.c:830: overrun-buffer-arg: Overrunning buffer pointed to by "&newActs[nActs]" of 8 bytes by passing it to a function which accesses it at byte offset 15 using argument "nCopy * 8UL" (which evaluates to 8). # 828| # 829| if (nCopy > 0) # 830|-> memcpy(&newActs[nActs], XkbKeyActionsPtr(xkb, i), # 831| nCopy * sizeof(XkbAction)); # 832| if (nCopy < nKeyActs) Signed-off-by: José Expósito Part-of: commit 836a8f2cf5e930c8a56b512273fdf9890282ba04 Author: José Expósito Date: Tue Apr 30 16:49:26 2024 +0200 Fix use of uninitialized variable in _XimEncodeICATTRIBUTE In the `res->resource_size == XimType_NEST` code path, if `res->xrm_name != pre_quark` and `res->xrm_name != sts_quark`, `len` can be used uninitialized. This error has been found by a static analysis tool. This is the report: Error: UNINIT (CWE-457): libX11-1.8.7/modules/im/ximcp/imRmAttr.c:1106: var_decl: Declaring variable "len" without initializer. libX11-1.8.7/modules/im/ximcp/imRmAttr.c:1179: uninit_use: Using uninitialized value "len". # 1177| } # 1178| # 1179|-> if (len == 0) { # 1180| continue; # 1181| } else if (len < 0) { Signed-off-by: José Expósito Part-of: commit eaad761e24722b1743d3edee3383294bfb4947d6 Author: José Expósito Date: Tue Apr 30 16:41:40 2024 +0200 Fix use of uninitialized variable in _XimExtension `_XimRead()` is being called with `reply` as target buffer instead of using `preply`, accessing uninitialized memory a few lines later. This error has been found by a static analysis tool. This is the report: Error: UNINIT (CWE-457): libX11-1.8.7/modules/im/ximcp/imExten.c:468: alloc_fn: Calling "malloc" which returns uninitialized memory. libX11-1.8.7/modules/im/ximcp/imExten.c:468: assign: Assigning: "preply" = "malloc((size_t)((buf_size == 0) ? 1 : buf_size))", which points to uninitialized data. libX11-1.8.7/modules/im/ximcp/imExten.c:479: uninit_use: Using uninitialized value "*((CARD8 *)preply)". # 477| return False; # 478| buf_s = (CARD16 *)((char *)preply + XIM_HEADER_SIZE); # 479|-> if (*((CARD8 *)preply) == XIM_ERROR) { # 480| _XimProcError(im, 0, (XPointer)&buf_s[3]); # 481| if(reply != preply) Signed-off-by: José Expósito Part-of: commit 4f5541193dd5a004ed5ea44c12fc25e227113c9b Author: José Expósito Date: Tue Apr 30 16:37:21 2024 +0200 Fix use of uninitialized variable in _XimTriggerNotify `_XimRead()` is being called with `reply` as target buffer instead of using `preply`, accessing uninitialized memory a few lines later. This error has been found by a static analysis tool. This is the report: Error: UNINIT (CWE-457): libX11-1.8.7/modules/im/ximcp/imDefLkup.c:561: alloc_fn: Calling "malloc" which returns uninitialized memory. libX11-1.8.7/modules/im/ximcp/imDefLkup.c:561: assign: Assigning: "preply" = "malloc((size_t)((len == 0) ? 1 : len))", which points to uninitialized data. libX11-1.8.7/modules/im/ximcp/imDefLkup.c:573: uninit_use: Using uninitialized value "*((CARD8 *)preply)". # 571| } # 572| buf_s = (CARD16 *)((char *)preply + XIM_HEADER_SIZE); # 573|-> if (*((CARD8 *)preply) == XIM_ERROR) { # 574| _XimProcError(im, 0, (XPointer)&buf_s[3]); # 575| if(reply != preply) Signed-off-by: José Expósito Part-of: commit 90b8fc65da1e773b0091a50be46b23609591e8b7 Author: Takao Fujiwara Date: Fri Apr 26 01:29:39 2024 +0900 imDefIm: Add LIBX11_ENABLE_FABRICATED_ORDER env If an XIM application does not return the XKeyEvent from XNextEvent() to XFilterEvent(), a timeout is reached and the behavior is fallen back to the previous one with a warning messsage and we can ask the application to send the XKeyEvent to XFilterEvent() but also libX11 provides LIBX11_ENABLE_FABRICATED_ORDER environment variable. If the application runs with LIBX11_ENABLE_FABRICATED_ORDER=0, the previous behavior is available until the application is fixed. Closes: !246 Part-of: commit 898746f9b1fb384d6d24ed827c836ec8a0b3da3b Author: Takao Fujiwara Date: Fri Apr 26 01:29:34 2024 +0900 ximcp: Unmark fabricated with serial 0 and Xic commit_info GTK2 XIM resets the XKeyEvent serial to 0 even if _XimCommitRecv() sets the serial so now checks if the events are sent with Xic->private.proto.commit_info. Closes: !246 Part-of: commit 5a1e62d77b65ba148b1c6d1d22a81dc2b07e7d9e Author: Takao Fujiwara Date: Fri Apr 26 01:29:26 2024 +0900 Accept anon windows in XFilterEvent to update XIM state When input focuses are switched quickly with shortcut keys in a Java window, the focus is sometimes lost and the Window=0 is assigned in XFilterEvent() but the XKeyEvent was forwarded by a XIM serer(IBus) with XIM_FORWARD_EVENT -> XNextEvent() -> XFilterEvent() and the event needs to be forwarded to the XIM XKeyEvent press and release filters to update the XIM state with Window=0 likes _XimPendingFilter() and _XimUnfabricateSerial(). Closes: #205, #206 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") Part-of: commit 5a14178c7cc408f425fe298aeade3dee749b1ca1 Author: Takao Fujiwara Date: Fri Apr 26 00:49:14 2024 +0900 ximcp: Add fabricated_time in XimProtoPrivate for timeout When users type keys quickly, some applications using Steam or Java do not call XNextEvent() for a key event but _XimFilterKeypress() and _XimFilterKeyrelease() expect to receive the key events forwarded by input methods. Now fabricated_time Time value is added to XimProtoPrivate to check the timeout value. Closes: #205 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") Part-of: commit 1181abd6ffede3ac5663a3a3d4ee66aef1fa553b Author: Takao Fujiwara Date: Fri Apr 12 10:50:33 2024 +0900 imDefLkup: Mark and unmark fabricated with serial 0 GTK2 applications with GTK_IM_MODULE=xim sets the serial number 0 to the XKeyEvent and the previous _XimFabricateSerial() logic did not work for the applications. Now the API marks to fabricate with the serial 0. Closes: #205 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") Part-of: commit c7790072657f9fdbe8cda031776617088c5f11db Author: Takao Fujiwara Date: Fri Apr 12 10:21:43 2024 +0900 imDefLkup: Commit first info in XimCommitInfo Xic.private.proto.commit_info can receive multiple XimCommitInfo when typing keys very quickly like an bar code scanner (or evemu-play) and the first info in XimCommitInfo should be committed to keep the typing key order. This and 041b5291 are same patches but the regression issues will be fixed by the later patches. Closes: #198 Fixes: 041b5291 ("imDefLkup: Commit first info in XimCommitInfo") Part-of: commit 13e9ac4d458069c81d795f6b4842814d30431b4b Author: Takao Fujiwara Date: Fri Apr 12 10:21:41 2024 +0900 ximcp: Unmark to fabricate key events with XKeyEvent serial _XimProtoKeypressFilter() and _XimProtoKeyreleaseFilter() can receive XKeyEvent from both the typing on the keyboard and the callback of XIM_FORWARD_EVENT. If the filter functions unmark to fabricate XKeyEvent from the typing on the keyboard during receiving XKeyEvent from the callback of XIM_FORWARD_EVENT with typing keys very quickly likes an bar code scanner (or evemu-play), XIM server cannot receive some key events and it causes the key typing order to get scrambled. Now XIM client saves the serial in XKeyEvent and the filter functions unmark to fabricate XKeyEvent from the callback of XIM_FORWARD_EVENT only. This and 024d229f are same patches but the regression issues will be fixed by the later patches. Closes: #198 Fixes: 024d229f ("ximcp: Unmark to fabricate key events with XKeyEvent serial") Part-of: commit a465588218c1643eedc35b3c24409cb775454eee Author: Alan Coopersmith Date: Fri Apr 5 15:50:06 2024 -0700 libX11 1.8.9 Signed-off-by: Alan Coopersmith commit 52a191ee096e93cf711f77b6a56c508b68afc0b6 Author: Peter Hutterer Date: Fri Apr 5 13:15:32 2024 +1000 Revert "ximcp: Unmark to fabricate key events with XKeyEvent serial" This commit causes a regression, see #205, #206, #207, #208. This reverts commit 024d229fdf88a7755577b01b46af6ef908d599e0. commit 3ea9f4f769fecbbc8c5210c5833ad83ab8d9e97e Author: Peter Hutterer Date: Fri Apr 5 13:14:33 2024 +1000 Revert "imDefLkup: Commit first info in XimCommitInfo" This commit causes a regression, see #205, #206, #207, #208. This reverts commit 041b5291f0956c5cda5054be2981c0d02b009a4c. commit 9afd55ada5d7a3c1d3ed23ff8451629a1d989a7f Author: Alan Coopersmith Date: Mon Mar 25 11:51:03 2024 -0700 xlibi18n: restore parse_line1 for WIN32 builds Accidentally removed by __UNIXOS2__ cleanup Closes: #204 Fixes: 225a4bbb ("unifdef __UNIXOS2__") Signed-off-by: Alan Coopersmith commit e4927d0c4fbf950bc45fc27309290e1911e75f42 Author: Alan Coopersmith Date: Sun Mar 24 15:02:23 2024 -0700 libX11 1.8.8 Signed-off-by: Alan Coopersmith commit 4ab58f26d388c82ffe46ef1c7dd1cee6259eec8a Author: Alan Coopersmith Date: Wed Feb 21 18:23:36 2024 -0800 unifdef NULL_NOT_ZERO I can't find any evidence this was ever defined, should only have been needed for odd-ball pre-C89 compilers. Signed-off-by: Alan Coopersmith commit 7bb2a5050a2f6049c92b301fae1cf89532b70060 Author: Alan Coopersmith Date: Wed Feb 21 18:18:46 2024 -0800 unifdef USL_SHAREDLIB I can't find any history of this being set in the imake or autoconf builds Signed-off-by: Alan Coopersmith commit 4400a68b3a5ecacd1f997d41a0572544fa8fe544 Author: Alan Coopersmith Date: Sat Feb 17 15:37:41 2024 -0800 unifdef Lynx Signed-off-by: Alan Coopersmith commit 1e56b27429667e772b15b0f39863a8467297062b Author: Alan Coopersmith Date: Sun Feb 11 15:15:00 2024 -0800 unifdef __QNX__ Signed-off-by: Alan Coopersmith commit ab0a3014822687da48cd3784253c34dea0a6ad2c Author: Alan Coopersmith Date: Sun Feb 11 15:10:59 2024 -0800 unifdef __uxp__ Signed-off-by: Alan Coopersmith commit 4ce3962b701c502acc96b6eaf104a5ffc317c5d7 Author: Alan Coopersmith Date: Sun Feb 11 15:07:15 2024 -0800 unifdef __vax__ Signed-off-by: Alan Coopersmith commit 65a6f162fd9fee4e647ac49c546c5d6a1655c58c Author: Alan Coopersmith Date: Sun Feb 11 15:03:19 2024 -0800 unifdef __sgi_not_xconsortium Signed-off-by: Alan Coopersmith commit 3296d7b8d14a6c114489d40b76e8da339e11b25c Author: Alan Coopersmith Date: Sun Feb 11 15:01:25 2024 -0800 unifdef __sgi Signed-off-by: Alan Coopersmith commit 4322fff7e125c7975dc1b83c433b904c7d3384b5 Author: Alan Coopersmith Date: Sun Feb 11 15:00:34 2024 -0800 unifdef sgi Signed-off-by: Alan Coopersmith commit 613d3624c2cc0ab2f18206e165a3e4a02e261148 Author: Alan Coopersmith Date: Sun Feb 11 14:59:28 2024 -0800 unifdef hpux Also removes shl_load() support, which was only buildable for HP-UX Signed-off-by: Alan Coopersmith commit 225a4bbbbd174e26cc408640e10f3c37f81f3a3f Author: Alan Coopersmith Date: Sun Feb 11 14:56:22 2024 -0800 unifdef __UNIXOS2__ Signed-off-by: Alan Coopersmith commit 0df284b450933e0239d1a85a7ff2d0c9d44d22af Author: Alan Coopersmith Date: Sun Feb 11 14:50:29 2024 -0800 unifdef ultrix Signed-off-by: Alan Coopersmith commit c3f3eb1284c59305568288923810dc155df6025c Author: Alan Coopersmith Date: Sun Feb 11 14:49:13 2024 -0800 unifdef AIXV3 Signed-off-by: Alan Coopersmith commit b35344c9a74b478509e33384cc99bcc4fd092a2d Author: Alan Coopersmith Date: Sun Feb 11 14:47:31 2024 -0800 unifdef __osf__ Signed-off-by: Alan Coopersmith commit 041b5291f0956c5cda5054be2981c0d02b009a4c Author: Takao Fujiwara Date: Wed Jan 31 20:27:57 2024 +0900 imDefLkup: Commit first info in XimCommitInfo Xic.private.proto.commit_info can receive multiple XimCommitInfo when typing keys very quickly like an bar code scanner (or evemu-play) and the first info in XimCommitInfo should be committed to keep the typing key order. Fixes: #198 commit 024d229fdf88a7755577b01b46af6ef908d599e0 Author: Takao Fujiwara Date: Wed Jan 31 20:26:40 2024 +0900 ximcp: Unmark to fabricate key events with XKeyEvent serial _XimProtoKeypressFilter() and _XimProtoKeyreleaseFilter() can receive XKeyEvent from both the typing on the keyboard and the callback of XIM_FORWARD_EVENT. If the filter functions unmark to fabricate XKeyEvent from the typing on the keyboard during receiving XKeyEvent from the callback of XIM_FORWARD_EVENT with typing keys very quickly likes an bar code scanner (or evemu-play), XIM server cannot receive some key events and it causes the key typing order to get scrambled. Now XIM client saves the serial in XKeyEvent and the filter functions unmark to fabricate XKeyEvent from the callback of XIM_FORWARD_EVENT only. Fixes: #198 commit ae3eca18cec44a953789c7f77ffab888713ed132 Author: Peter Hutterer Date: Thu Nov 30 15:05:51 2023 +1000 Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons XkbGetDeviceInfo(dpy, XkbXI_ButtonActionsMask, 2, 0, 0) always returns NULL because the number of buttons on the device equals (unsurpisingly) the number of buttons requested (i.e. first + nBtns == dev->nbuttons). This currently causes it to bail out and return NULL. Fixes f293659d5a4024bda386305bb7ebeb4647c40934 commit 0a951047f64e87c5ab328084310bf27bcd4964f3 Author: Walter Harms Date: Mon Jan 8 17:18:19 2024 +0100 _XimProtoIMFree:no need to check arg for Xfree() Xfree() will happily ignore NULL, no need to check commit dce614623e1f069d79d33a233305e0754fa2fd48 Author: Walter Harms Date: Mon Jan 8 17:01:44 2024 +0100 _XimEncodeString:no need to check arg for Xfree() Xfree() will happily ignore NULL, no need to check commit 4f78b615806fa1cfe2bdcf3f7c868b8a00dede77 Author: Walter Harms Date: Mon Jan 8 16:50:52 2024 +0100 Fix XCreateIC() memory leak (Part 2) Direct leak of 12 byte(s) in 2 object(s) allocated from: #0 0x7f4f25c3f7a7 in strdup (/usr/lib64/libasan.so.6+0x5c7a7) #1 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:818 #2 0x7f4f252ce6a1 in _XimEncodeString libX11-1.8.3/modules/im/ximcp/imRm.c:807 #3 0x7f4f252d2f0f in _XimSetICValueData libX11-1.8.3/modules/im/ximcp/imRm.c:2912 #4 0x7f4f252b536a in _XimLocalCreateIC libX11-1.8.3/modules/im/ximcp/imLcIc.c:176 #5 0x7f4f251f0105 in XCreateIC libX11-1.8.3/src/xlibi18n/ICWrap.c:251 detected and fix by Patrick Lerda applied with adjustment, do changes when OOM (unlikely but good practise) commit ed0b97e480d7d07c24719007273989b2eb3e4046 Author: Walter Harms Date: Mon Jan 8 16:21:02 2024 +0100 _XimLocalDestroyIC:fix possible mem leak Adapted: Fix XCreateIC() memory leak by Patrick Lerda Part 1 commit 07978634b8f4f7d9537c7f46ddcd48f2ab3efcb8 Author: Walter Harms Date: Mon Jan 8 15:16:11 2024 +0100 _XimLocalCreateIC: get rid of bzero commit 59c9a89e250d479334bdd4d800ca6cfa919b8fc3 Author: Walter Harms Date: Mon Jan 8 15:09:49 2024 +0100 _XimLocalCreateIC: minor cleanup minor cleanup, no code change commit e5b14e59a16fa49c7e7af0acfc1e4311bebec536 Author: Walter Harms Date: Mon Jan 8 13:35:28 2024 +0100 _XimLocalCreateIC:no need to check arg for Xfree() Xfree() will happily ignore NULL, no need to check commit e6310b5212f1dea184e1626ad5eeec167fcb41ac Author: Walter Harms Date: Mon Jan 8 13:06:03 2024 +0100 _XimLocalDestroyIC: no need to check arg for Xfree() Xfree() will happily ignore NULL, no need to check commit 1261802fb316f088504b99ffe80095d13825a85b Author: Walter Harms Date: Sun Jan 7 18:30:30 2024 +0100 fix table width the width of first column was to small and caused a hyphenation. there is only one word, fix for me. commit c745719e23af44a4b40ab4508447637b35d91a1e Author: Alan Coopersmith Date: Tue Oct 3 09:00:01 2023 -0700 libX11 1.8.7 Signed-off-by: Alan Coopersmith commit 7916869d16bdd115ac5be30a67c3749907aea6a0 Author: Yair Mizrahi Date: Thu Sep 7 16:15:32 2023 -0700 CVE-2023-43787: Integer overflow in XCreateImage() leading to a heap overflow When the format is `Pixmap` it calculates the size of the image data as: ROUNDUP((bits_per_pixel * width), image->bitmap_pad); There is no validation on the `width` of the image, and so this calculation exceeds the capacity of a 4-byte integer, causing an overflow. Signed-off-by: Alan Coopersmith commit b4031fc023816aca07fbd592ed97010b9b48784b Author: Alan Coopersmith Date: Thu Sep 7 16:12:27 2023 -0700 XCreatePixmap: trigger BadValue error for out-of-range dimensions The CreatePixmap request specifies height & width of the image as CARD16 (unsigned 16-bit integer), so if either is larger than that, set it to 0 so the X server returns a BadValue error as the protocol requires. Signed-off-by: Alan Coopersmith commit 73a37d5f2fcadd6540159b432a70d80f442ddf4a Author: Alan Coopersmith Date: Thu Sep 7 15:55:04 2023 -0700 XPutImage: clip images to maximum height & width allowed by protocol The PutImage request specifies height & width of the image as CARD16 (unsigned 16-bit integer), same as the maximum dimensions of an X11 Drawable, which the image is being copied to. Signed-off-by: Alan Coopersmith commit 204c3393c4c90a29ed6bef64e43849536e863a86 Author: Alan Coopersmith Date: Thu Sep 7 15:54:30 2023 -0700 CVE-2023-43786: stack exhaustion from infinite recursion in PutSubImage() When splitting a single line of pixels into chunks to send to the X server, be sure to take into account the number of bits per pixel, so we don't just loop forever trying to send more pixels than fit in the given request size and not breaking them down into a small enough chunk to fix. Fixes: "almost complete rewrite" (Dec. 12, 1987) from X11R2 Signed-off-by: Alan Coopersmith commit 6858d468d9ca55fb4c5fd70b223dbc78a3358a7f Author: Alan Coopersmith Date: Sun Sep 17 14:19:40 2023 -0700 CVE-2023-43785: out-of-bounds memory access in _XkbReadKeySyms() Make sure we allocate enough memory in the first place, and also handle error returns from _XkbReadBufferCopyKeySyms() when it detects out-of-bounds issues. Reported-by: Gregory James DUCK Signed-off-by: Alan Coopersmith commit 78b37accff1abbe713349d59fdefd963ffa04bbc Author: Alan Coopersmith Date: Sun Sep 17 10:11:02 2023 -0700 XOpenDisplay: ensure each screen has a valid root_visual pointer Other code assumes this pointer cannot be NULL, so fail the connection if a bug has caused the X server to give a non-existent visual ID for the default visual of any screen. Reported-by: Gregory James DUCK Signed-off-by: Alan Coopersmith commit 3962080b7846d79fd3cf10b16eddacf68eb321b7 Author: Antti Savolainen Date: Tue Aug 8 11:37:03 2023 +0000 Add two compose sequences for dagger/obelisk symbols The dagger symbol has several modern uses such as marking someone as dead or something as extinct. Historically it has been used to indicate a footnote. commit 15bbc81cf6b7c76b8a59cab6d77c9aba88b8562d Author: Christopher Chavez Date: Sat Jul 29 16:58:05 2023 +0000 Xutil.h: use Bool for XEmptyRegion(), XEqualRegion() commit 5433cb93513c31e9cba2a447cf48d4b9aeb53285 Author: Benno Schulenberg Date: Mon Jul 17 08:02:09 2023 +0200 nls: add two compose sequences for currency symbol `฿` (the Thai baht) The compose sequences are obvious: the capital B plus the vertical bar. Signed-off-by: Benno Schulenberg commit 2ff401a472c5f210844cc358d5a27bd340546796 Author: Benno Schulenberg Date: Mon Jul 17 07:56:14 2023 +0200 nls: reshuffle the compose sequences for currencies into ascending order That is: sort them according to code point. commit c0e2d42d411be3245498ffe6484b35421f096c02 Author: Benno Schulenberg Date: Mon Jul 17 07:27:14 2023 +0200 nls: add compose sequences for `₲` (guaraní), `₭` (kip), and `₮` (tugrik) When Ghana, Nigeria, Costa Rica and El Salvador have compose sequences for their currency symbols (cedi: `₵`, naira: `₦`, colón: `₡`), then Paraguay, Laos, and Mongolia deserve to have such sequences as well. The sequences should be obvious: the relevant capital letter of the name of the currency (G, K, T) plus a vertical bar, a minus sign, and an equals sign, respectively. Also add two sequences for `$` (the dollar sign), for consistency. Drop the tentative comments for drachma, penny, and austral, as those currencies have been obsolete for more than twenty years. Signed-off-by: Benno Schulenberg commit d9fe5dc735c75398e36998c226d2418137229673 Author: Benno Schulenberg Date: Mon Jul 17 07:06:51 2023 +0200 nls: change result of sequence ` ` from `¢` (CENT) to `₵` (CEDI) As a cent is a small coin, it makes no sense to use an uppercase letter to compose the `¢` symbol -- having four sequences with a lowercase `c` plus a `bar` or a `slash` available for composing `¢` should be enough. Use the sequence ` commit 031e63060ed11eb8a876aac7515bc5a67371ed6b Author: Antti Savolainen Date: Thu Aug 17 18:25:20 2023 +0300 nls: add a compose sequence with double dead_tilde for ≈ (almost equal to) Some keyboards lack direct asciitilde and instead have only dead tilde. This compose sequence allows those keyboards to type the almost equal to sign. commit df2a18c4643bb4a50f2f795a75a905a1032a004a Author: Benno Schulenberg Date: Mon Jul 17 17:03:16 2023 +0200 nls: delete twenty seven untypable Greek compose sequences Only a few keyboard layouts contain the `dead_iota` keysym, and none of those layouts contains the `acute` keysym, so compose sequences that combine the two symbols cannot be typed and are thus useless. Signed-off-by: Benno Schulenberg commit 44f908d9283710ffc75b22d2ae7a8948119b3e61 Author: Alan Coopersmith Date: Sun Aug 20 15:11:04 2023 -0700 docs: fix names for XkbKeyKeyType & XkbKeyKeyTypeIndex Implementation had "Key" twice in these macro names, but the docs had only listed it once. Signed-off-by: Alan Coopersmith commit 7b16c55063ba4eb258bf91c170e378c1e2d398bd Author: Alan Coopersmith Date: Sun Aug 20 15:01:09 2023 -0700 docs: remove XkbKeySymsOffset This function was documented but never implemented. Signed-off-by: Alan Coopersmith commit 41a157dfeefe943f5a79948e4f9ef93473144fd8 Author: Alan Coopersmith Date: Sun Aug 20 14:52:18 2023 -0700 docs: remove XkbGetNameChanges This function was documented but never implemented. Signed-off-by: Alan Coopersmith commit 3442a8cee25dc0254ee69bcf83a89d287a86c97a Author: Alan Coopersmith Date: Sun Aug 20 14:44:18 2023 -0700 docs: remove XkbChangeIndicators and Xkb{Get,Note}IndicatorChanges These functions were documented but never implemented. Signed-off-by: Alan Coopersmith commit b7a15d6c6efd0bfddc81cf8443073c4bc1c9772d Author: Alan Coopersmith Date: Sun Aug 20 14:31:20 2023 -0700 docs: XkbSAActionSetCtrls is really named XkbActionSetCtrls Signed-off-by: Alan Coopersmith commit a1d8dd726757e00e3a774b92456f5c742492475b Author: Alan Coopersmith Date: Sun Aug 20 14:18:32 2023 -0700 docs: remove XkbGetStickyKeysOptions & XkbSetStickyKeysOptions These functions were documented but never implemented. Signed-off-by: Alan Coopersmith commit bf13f197406fe745c5ff46a4748a41b6646aebf6 Author: Alan Coopersmith Date: Sun Aug 20 14:09:35 2023 -0700 docs: remove XkbGetSlowKeysDelay & XkbSetSlowKeysDelay These functions were documented but never implemented. Signed-off-by: Alan Coopersmith commit caab7321d2ec14ee776ec329ed2facf0816a3136 Author: Alan Coopersmith Date: Sun Aug 20 14:04:15 2023 -0700 docs: remove XkbGetAccessXTimeout & XkbSetAccessXTimeout These functions were documented but never implemented. Signed-off-by: Alan Coopersmith commit 843e89bd2467a58cb454705a09d095726b96d93f Author: Alan Coopersmith Date: Sun Aug 20 12:58:47 2023 -0700 docs: remove XkbAllocDeviceLedInfo This function was documented but never implemented. Signed-off-by: Alan Coopersmith commit 2686dd7a9d6e8e02ce2868e446cdec11617ffab4 Author: Alan Coopersmith Date: Sun Aug 20 12:41:42 2023 -0700 docs: finish removing XkbGetBounceKeysDelay & XkbSetBounceKeysDelay These functions were documented but never implemented. Signed-off-by: Alan Coopersmith commit 188991fe7e41bbf2f384d0875ab2e25c936b0b41 Author: G. Branden Robinson Date: Sat Jul 29 10:10:00 2023 -0700 configure script reports stray, confusing "yes" Closes issue #194 Signed-off-by: Alan Coopersmith commit 70f44d76fd8fad96f33ba5c80a394d68b77dda03 Author: Benno Schulenberg Date: Sun Jul 16 17:08:52 2023 +0200 nls: add, correct, and normalize some comments of compose sequences Add comments for the Khmer digraphs, correct the comments for the Arabic lam-alef decompositions, and normalize the comments for the Breton digraphs and trigraphs. Signed-off-by: Benno Schulenberg commit 2a57c32e14779cf1c0c1d2da98a9cac21c00c095 Author: Benno Schulenberg Date: Sun Jun 25 10:01:05 2023 +0200 nls: harmonize the comments for compose sequences with combining accents Replace the "WITH" with "plus" and lowercase the "AND" in the comments for sequences with combining accents, to make it slightly clearer that the resulting string consists of multiple code points. Also, use the word "COMBINING" in the names of the accents, so that these sequences can be easily grepped, and drop the redundant word "ACCENT". Signed-off-by: Benno Schulenberg commit 757ab5ddd86f6cdce24b8ae2c43206b7beb7ab44 Author: Alan Coopersmith Date: Mon Aug 14 08:33:28 2023 -0700 Remove XkbSetBounceKeysDelay.man from list of man pages to build Fixes: f90e6bfa ("rm XkbSetBounceKeysDelay.man") Signed-off-by: Alan Coopersmith commit f90e6bface92fd192b26f03b7ae745661d9c2690 Author: Walter Harms Date: Sun Aug 13 22:42:50 2023 +0200 rm XkbSetBounceKeysDelay.man there is no function XkbSetBounceKeysDelay(). It is listed in the specs but never implemented if someone does it, feel free to get the file back. closes issue #105 commit b2c3fb7b4dd4c4c7b9d28c7af7776cccc8e0a98b Author: Benno Schulenberg Date: Sat Jul 8 08:11:39 2023 +0200 nls: use the shorter and more consistent name for the dead capital schwa The `dead_SCHWA` name is available since xorgproto-2023.1, which was released last month. commit e45dff5c2a51ad0392061208a8ad33211d952385 Author: jmcwilliams403 Date: Fri Jun 16 11:37:20 2023 -0400 NLS: Drop two math sequences, slightly clean up APL sequences. * Two compose sequences containing `leftshoe` and `rightshoe` are dropped as no keyboard layout uses these keysyms. * The compose sequences for `therefore` and `because` in the APL block are moved to ascending Unicode order. * The comments for the compose sequences for `U2299` are corrected to more accurately reflect its sequence nodes and its real name in Unicode. commit af2b6dfab1616dc85be9c9b196e4c56d00447851 Author: Benno Schulenberg Date: Sun Jun 25 09:09:21 2023 +0200 nls: delete twenty eight compose sequences that cannot be typed The letters `Ǫ` (U+01EA, O with ogonek), `Ȩ` (U+0228, E with cedilla), `Ȯ` (U+022E, O with dot above), `Ạ` (U+1EA0, A with dot below), and their lowercase forms do not occur in any layout of xkeyboard-config, meaning that the compose sequences that contained these letters could not be typed. Delete their dead weight. Signed-off-by: Benno Schulenberg commit ab0442d3fa835ce16559b29532ac7f674f8557f4 Author: Benno Schulenberg Date: Sat Jun 24 09:46:07 2023 +0200 nls: remove four unobvious and redundant compose sequences for ¥ (yen) Composing ¥ with Y and a minus sign seems to have been added in analogy to composing £ with L and a minus sign. But ¥ clearly has a double line through it, so using the equals sign for this is far more logical (and those compose sequences of course exist). Also, L plus an equals sign produces ₤ (lira), not £ (sterling). So... make these sequences more consistent and allow composing ¥ only with Y/y plus an equals sign. Signed-off-by: Benno Schulenberg commit 933912480c08495428d45988eebb48fcbe62f14b Author: Benno Schulenberg Date: Sat Jun 24 10:02:45 2023 +0200 nls: order a few compose sequences left first, and in mirroring pairs commit 178c4fefd3b0b4be5e69274108b86a51f08ec3a6 Author: Benno Schulenberg Date: Fri Jun 16 09:33:03 2023 +0200 nls: remove three duplicated combining acute accents For the Cyrillic YU with combining acute accent, the string between the quotes contained two U+0301 code points, whereas one is enough, like for all the neighboring strings. (This duplication was found by accident with `nano --mini --cons`.) commit 695e90ad26f632feb0f58ad94882fb3a263bf114 Author: Alan Coopersmith Date: Thu Jun 15 09:14:48 2023 -0700 libX11 1.8.6 Signed-off-by: Alan Coopersmith commit 304a654a0d57bf0f00d8998185f0360332cfa36c Author: Alan Coopersmith Date: Sat Jun 10 16:30:07 2023 -0700 InitExt.c: Add bounds checks for extension request, event, & error codes Fixes CVE-2023-3138: X servers could return values from XQueryExtension that would cause Xlib to write entries out-of-bounds of the arrays to store them, though this would only overwrite other parts of the Display struct, not outside the bounds allocated for that structure. Reported-by: Gregory James DUCK Signed-off-by: Alan Coopersmith commit 71b08b8af20474bb704a11affaa8ea39b06d5ddf Author: Alan Coopersmith Date: Wed May 31 17:45:40 2023 -0700 libX11 1.8.5 Signed-off-by: Alan Coopersmith commit 03ba0140940cc76524d83096a47309f5c398541f Author: Benno Schulenberg Date: Mon May 22 12:02:06 2023 +0200 nls: use a slash instead of a combining solidus in compose sequences First: combining diacritics like the combining long solidus (`U+0338`) are not meant to be used in compose sequences. Second: there is just one layout in xkeyboard-config that contains the `U0338` character: the deprecated/obsolete German T3 layout. So, practically speaking, these compose sequences with `U0338` were untypable. So, use a slash instead, that almost all layouts have. This does require that the sequence ` ` changes its meaning from backslash to not-less-than (`≮`). This seems like an acceptable sacrifice, as the sequence ` ` is a faster/easier sequence for the backslash and most layouts contain a backslash already anyway. Signed-off-by: Benno Schulenberg commit 616701317e25b2c0f509f4d93af5dee6de09012d Author: Benno Schulenberg Date: Mon May 22 11:19:32 2023 +0200 nls: delete six compose sequences that cannot be typed None of the layouts in xkeyboard-config contain `Ohook` or `Uhook` or `U+01D3` (U with caron) nor their lowercase forms, so these six sequences cannot be typed on any known keyboard. (Also, the target characters of the sequences with hook and horn seem to occur only in Vietnamese, where the horn is part of the vowel and the hook is a tonal mark. All Vietnamese layouts in xkeyboard-config contain `Ohorn` and `Uhorn`, and then the five tonal marks as dead keys, `dead_hook` among them. It does not make sense to want to apply a horn to a vowel that already has a tonal mark, nor is it possible with the Vietnamese layouts.) Signed-off-by: Benno Schulenberg commit 35d9621d78cb196b4ccd3ee1baa1ce2a21e4674b Author: Benno Schulenberg Date: Sun May 21 16:17:32 2023 +0200 nls: sort three sequences alphabetically in their group, like all others Also, consistently form uppercase+lowercase pairs, like for most others. commit 208d550954c7266fa8093b02a2a97047e1478c00 Author: Benno Schulenberg Date: Thu Apr 13 17:25:35 2023 +0200 nls: make the Amharic compose sequences use the dead-vowel symbols Last year, commit 488b156fe2 changed mistaken ASCII characters to the code points that were actually used in the Ethiopian keyboard layout. But those code points were mistaken too: the intention was not to use the code point U+FE68 in the layout but the raw symbol code 0xfe68 -- and so on for the other codes. The symbols that these raw codes were intended to refer to were `dead_a` and friends. But these dead vowels were added under different codes: 0xfe80 to 0xfe8b. So, correct the Amharic compose sequences to make use of the dead-vowel symbols that were specifically added for them fifteen years ago. (As soon as this is merged, xkeyboard-config wil be changed too to use the dead vowels in the Ethiopian layout.) Signed-off-by: Benno Schulenberg commit 96cbac89a02220eb21e13ca5fa7c8c5adf77028a Author: jmcwilliams403 Date: Fri Mar 31 09:47:03 2023 -0400 nls: add compose sequence for capital schwa, and delete a deviant one This sequence has already been defined in the iso8859-9e compose file meant for the Azerbaijani locale, yet for the longest time, only the lowercase form has existed in the en_US.UTF-8 master compose file. This patch adds one sequence for Latin Capital Letter Schwa for the Azerbaijani language. Additionally, the sequence in the pt_BR.UTF-8 locale for capital schwa has been removed as it uses two lowercase e's as part of its sequence, which in practice would make typing both `Multi_key e e` and `Multi_key E E` output capital schwa. commit a6528d92b3865adb4f9951df91a714f55f56d59e Author: Benno Schulenberg Date: Tue Apr 4 11:35:44 2023 +0200 XSetScreenSaver.man: restore the part that was accidentally snipped Four years ago, while removing private macros, commit fe46eb2871 unintentionally truncated the XSetScreenSaver manpage. Restore the snipped part (minus trailing spaces and a mistaken singular). This fixes issue #187. Reported-by: Sergio Gelato Signed-off-by: Benno Schulenberg commit eb166af8f9f4184108fe8e0611a09af03d12059e Author: jmcwilliams403 Date: Fri Mar 24 08:37:32 2023 -0400 NLS: Remove strange dead_cedilla cedi sign sequences These sequences appear to be a leftover artifact of auto-generating dead_currency sequences for cent and the cedi sign, where chaining with ascii "c" vs "ccedilla" would output cent vs the cedi sign respectively, but somehow this ended up creating strange sequences with dead_cedilla followed by cent or the colon sign to output the cedi sign, the latter sequence of which was already removed recently. Additionally, sequences beginninng with dead_cedilla followed by currency have been removed as they also appear to be related to these artifacts. The two remaining sequences beginning with dead_currency followed by dead_cedilla are maintained and moved to the stretch of dead_currency sequences next to ccedilla, and sorted in order of unicode decompositional complexity. commit 6e889f34679bb96f4d61ef069259c042cb4a9a59 Author: Benno Schulenberg Date: Fri Mar 24 09:41:48 2023 +0100 nls: remove twenty two untypable Greek compose sequences None of the keyboard layouts in xkeyboard-config contains accented Greek characters like `Greek_alphaaccent` or `Greek_iotadieresis` (nor in their Unicode hexadecimal forms, like U03AC or 0x10003CA), so none of these sequences could be typed on an existing layout. Also, the two sequences that started with `Greek_accentdieresis` were plain wrong: making a spacing character into a dead key. Signed-off-by: Benno Schulenberg commit 98be4cb23a5eadc98f81f05c4696f687119152c8 Author: Benno Schulenberg Date: Fri Mar 24 09:00:48 2023 +0100 nls: remove four hundred and sixty untypable Greek compose sequences None of the keyboard layouts in xkeyboard-config contains code points in the range U+1F00..U+1FFF (the Greek Extended block), so none of the removed sequences could be typed on an existing layout. (Of course it is possible that some people have their own private layout that contains some of the Greek Extended characters, but if they do, then they can also define private compose sequences, when needed.) Modern Greek does not use these characters with polytonic diacritics anyway -- they are useful only for typing traditional Greek. The useless sequences were removed with this command: sed -i '//d' nls/en_US.UTF-8/Compose.pre Signed-off-by: Benno Schulenberg commit ff8706a5eae25b8bafce300527079f68a201d27f Author: Benno Schulenberg Date: Wed Jun 15 11:54:54 2022 +0200 nls: delete compose sequences that pointlessly mix upper and lower case It's nice to have compose sequences for things like © and ®, but allowing them to be composed also with letters of different case is unneeded. It is good enough to have sequences of only lowercase and only uppercase. Signed-off-by: Benno Schulenberg commit ca99e338a9b8aad300933b1336f9e3c091392213 Author: jmcwilliams403 Date: Sun Mar 12 15:13:27 2023 +0000 NLS: move dead-caron subscript compositions to the relevant Unicode block commit dac2985b347cebc0f631e43e41eaeddb68de1676 Author: jmcwilliams403 Date: Sun Mar 12 14:49:47 2023 +0000 NLS: implement the expansion of the six Breton N-graph keysyms These one-keysym-to-multiple-characters sequences will allow fully defining the Breton keyboard layout, without needing custom compose sequences. commit e45ca7b41dcd3ace7681d6897505f85d374640f2 Author: Alan Coopersmith Date: Tue Mar 14 10:22:48 2023 -0700 gitlab CI: add workflow rules Needed due to the gitlab config changes described in: https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 Signed-off-by: Alan Coopersmith commit 72eeeb6dedc39f68608312eb0001f77fffccd499 Author: jmcwilliams403 Date: Sun Mar 5 13:33:38 2023 +0000 NLS: move long S compositions to respective blocks commit 8bbbed75a20556e41658103265974decee974645 Author: Alan Coopersmith Date: Sat Mar 4 10:44:45 2023 -0800 configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:20: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:20: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:20: the top level Signed-off-by: Alan Coopersmith commit 53bf8584e8d7d5d4a4a8114bff26a6f631c7fac1 Author: Alan Coopersmith Date: Mon Feb 6 14:09:45 2023 -0800 configure: replace deprecated AC_HELP_STRING with AS_HELP_STRING This silences an autoconf warning. Signed-off-by: Alan Coopersmith commit 31a9451111fb1e3ae1199d44f94cd0b134ca455d Author: Alan Coopersmith Date: Mon Feb 6 13:13:21 2023 -0800 configure: raise minimum autoconf requirement to 2.70 Needed for builds on NetBSD to work correctly, since it depends on AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the prototype for reallocarray() in the system headers. Signed-off-by: Alan Coopersmith commit 1ba02f878f83e3b42389547e01b24371f0a50e60 Author: Alan Coopersmith Date: Mon Feb 6 13:32:02 2023 -0800 gitlab CI: Add libtool to required packages Signed-off-by: Alan Coopersmith commit fc5ec8edda1efdf5d66db4e76796e3c407527b3b Author: Alan Coopersmith Date: Sat Feb 4 12:02:29 2023 -0800 libX11 1.8.4 Signed-off-by: Alan Coopersmith commit ba548ed1688d4d5a83913218155d0ddf616ff176 Author: Alan Coopersmith Date: Sun Jan 15 11:39:20 2023 -0800 configure: options summary should say "libX11", not just "X11" We're not configuring the entire window system here, just one library Signed-off-by: Alan Coopersmith commit eb1c272ab5230d548077b9f59aca4b3457c3a8f8 Author: GaryOderNichts Date: Sat Dec 17 16:28:40 2022 +0100 Fix a9e845 and 797755 Allow X*IfEvent() to reenter libX11 commit 0c7c4ce875ea65160705180ebb68a2c88afb678e Author: Benno Schulenberg Date: Thu Nov 3 17:25:29 2022 +0100 nls: add two compose sequences for capital B with stroke, for consistency Two compose sequences (with plain ASCII characters) existed for the lowercase b with stroke (ƀ) but not for the capital one (Ƀ). This addresses part of issue #166. Reported-by: J. McWilliams Signed-off-by: Benno Schulenberg commit a80ef097e713aba0330b9cf9f3c1e309084b926f Author: Benno Schulenberg Date: Thu Nov 3 16:48:03 2022 +0100 nls: delete twelve compose sequences that cannot be typed There is not any keyboard layout (in xkeyboard-config) that contains `obelowdot` or `ubelowdot`, so having compose sequences that use these symbols is pointless. There are some layouts that contain `otilde` (and one that contains `utilde`), but those layouts then do not contain `dead_horn`, so the compose sequences that combine the two symbols are pointless. There are a few layouts that contain U+0256, U+025C, U+025F or U+0279, but those layouts do not contain `dead_hook`, so the compose sequences that combine the latter with one of the former are pointless. Signed-off-by: Benno Schulenberg commit 078cc39f05ddfd6166762f3166129258ddd07dd3 Author: Benno Schulenberg Date: Thu Nov 3 16:31:04 2022 +0100 nls: delete 88 compose sequences that have the accents in the wrong order The various compose sequences with the accents in their proper order (the highest placed accent first) continue to exist. Signed-off-by: Benno Schulenberg commit aa5ef0ba80558f946871f574d38a15673e66221e Author: Benno Schulenberg Date: Thu Nov 3 16:27:51 2022 +0100 nls: move the compose sequences for Ș and Ț to the fitting Unicode block This addresses a side note of issue #166. Reported-by: J. McWilliams Signed-off-by: Benno Schulenberg commit 82c25879b72f1ba7e9abe00e7bad55add33135cf Author: Alan Coopersmith Date: Wed Jan 4 11:25:48 2023 -0800 xlibi18n: Update Imake instructions to autoconf equivalent in comments Signed-off-by: Alan Coopersmith commit 88399e01be679bfcc9a5e8922ffe2c47f0e56dee Author: Yuxuan Shui Date: Tue Jan 3 15:09:28 2023 +0000 Revert "Update XPutBackEvent() to support clients that put back unpadded events" This reverts commit d6d6cba90215d323567fef13d6565756c9956f60. The reverted commit intended to fix the problem where an unpadded X event struct is passed into XPutBackEvent, by creating a padded struct with _XEventToWire and _XWireToEvent. However, _XWireToEvent updates the last sequence number in Display, which may cause xlib to complain about lost sequence numbers. IMO, the problem that commit tried to solve is a bug in the client library, and workaround it inside Xlib is bad practice, especially given the problem it caused. Plus, the offender cited in the original commit message, freeglut, has already fixed this problem. Fixes: #176 #174 Signed-off-by: Yuxuan Shui commit 48487c4b9028e9eec5371742f51e1d64c2e17296 Author: Alan Coopersmith Date: Thu Dec 15 14:52:20 2022 -0800 libX11 1.8.3 Signed-off-by: Alan Coopersmith commit d6d6cba90215d323567fef13d6565756c9956f60 Author: Keith Packard Date: Sun Dec 11 10:32:26 2022 -0800 Update XPutBackEvent() to support clients that put back unpadded events It seems to be common practice of some X11 clients to pass specific event types into APIs that take XEvent*. For example, freeglut does: XConfigureEvent fakeEvent = {0}; ... XPutBackEvent(fgDisplay.Display, (XEvent*)&fakeEvent); This can result in reads overflowing the input event when libX11 does: XEvent store = *event; ================================================================= ==75304==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x00016ee4a8e8 at pc 0x000101c54d14 bp 0x00016ee4a0d0 sp 0x00016ee49888 READ of size 192 at 0x00016ee4a8e8 thread T0 #0 0x101c54d10 in __asan_memcpy+0x1a4 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x3cd10) #1 0x102848a18 in _XPutBackEvent PutBEvent.c:41 #2 0x1028490a4 in XPutBackEvent PutBEvent.c:84 #3 0x1013295c8 in fgOpenWindow freeglut_window.c:1178 #4 0x101321984 in fgCreateWindow freeglut_structure.c:108 #5 0x10132b138 in glutCreateWindow freeglut_window.c:1551 #6 0x100fb7d94 in main+0x78 (checkeredTriangles:arm64+0x100003d94) #7 0x197de3e4c () Address 0x00016ee4a8e8 is located in stack of thread T0 at offset 840 in frame #0 0x1013282f8 in fgOpenWindow freeglut_window.c:1063 This frame has 8 object(s): [32, 40) 'title.addr' [64, 176) 'winAttr' (line 1066) [208, 240) 'textProperty' (line 1067) [272, 352) 'sizeHints' (line 1068) [384, 440) 'wmHints' (line 1069) [480, 672) 'eventReturnBuffer' (line 1070) [736, 740) 'num_FBConfigs' (line 1072) [752, 840) 'fakeEvent' (line 1074) <== Memory access at offset 840 overflows this variable This change allows XPutBackEvent() to support such clients without risk of memory read overflow. Reviewed-by: Jeremy Huddleston Sequoia Tested-by: Jeremy Huddleston Sequoia commit 496d9bfeedda89a2211ec665f9214c2693c022f4 Author: Jeremy Huddleston Sequoia Date: Sat Dec 3 16:26:47 2022 -0800 ximcp: Address warning found by UBSan when growing an empty tree imLcPrs.c:681:52: runtime error: applying zero offset to null pointer Signed-off-by: Jeremy Huddleston Sequoia commit 7f7bcd7b6f569e9f70e3ddd134924f178e2596b1 Author: Takao Fujiwara Date: Tue Dec 6 16:59:56 2022 +0000 nls: consecutive cs number in en_US.UTF-8/XLC_LOCALE commit ba095967349dff583bd0989d0ba78aa334e9bedf Author: Ulrich Sibiller Date: Wed Nov 30 23:47:29 2022 +0100 ChkIfEv.c: fix wrong handling of dpy->in_ifevent Is no longer a bool but a counter. Signed-off-by: Ulrich Sibiller commit 70eaf1174e2809d1a6c43868d53f8cd844ef636a Author: Ulrich Sibiller Date: Wed Nov 30 23:42:02 2022 +0100 Indentation fixes around recent dpy->in_ifevent changes Use the same indentation as the surrounding code. Signed-off-by: Ulrich Sibiller Reviewed-by: Alan Coopersmith commit a9e845809bcaae22496bc8aa3ca252b410d5f39b Author: Matthieu Herrb Date: Fri Nov 11 18:55:23 2022 +0100 Fix 797755 Allow X*IfEvent() to reenter libX11 - the activation logic is reversed - there is also _XInternalLockDisplay() that needs protection - I've found cases (in fvwm2) where the callback calls XCheckIfEvent() recursively. So the flag needs to be a counter. Reviewed-by: Adam Jackson commit bccd787a565d3a88673bfc06574c1939f98d8d72 Author: Nia Alarie Date: Thu Nov 10 22:31:47 2022 +0100 Don't use pragma inside a function, it breaks compiling with older GCCs. XKBBind.c:230: error: #pragma GCC diagnostic not allowed inside functions Signed-off-by: Thomas Klausner commit 696d19d5db7bcb1c1f582c2b1846520e7e0870cb Author: Oliver Date: Fri Nov 11 17:04:00 2022 +0000 Add XFreeThreads function. commit b4f24b272c6ef888b6fcfcf80670c196b2e8f755 Author: Alan Coopersmith Date: Thu Nov 10 12:18:17 2022 -0800 libX11 1.8.2 Signed-off-by: Alan Coopersmith commit 77629ea5e79fa9b1596438bc36cfc7e0c631af43 Author: Alan Coopersmith Date: Thu Nov 3 13:00:50 2022 -0700 README.md: Add 1.8.2 changes Signed-off-by: Alan Coopersmith commit d1baf2ec4869dea3732d6fe13ba4935cb6caad01 Author: Alan Coopersmith Date: Thu Nov 3 11:22:37 2022 -0700 Remove NEWS file which only covered 2006 & 2007 releases Signed-off-by: Alan Coopersmith commit 1294bfa487bdecfd32621822922fec03203ee188 Author: Po Lu Date: Mon Oct 3 08:44:59 2022 +0800 specs: document change in XIMPreeditCallbacks Signed-off-by: Alan Coopersmith commit 1a7e54609ce4dc0f2d3b933502437a413cf3dea8 Author: Alan Coopersmith Date: Thu Nov 3 14:44:22 2022 -0700 man pages: document XCloseIM frees its argument Signed-off-by: Alan Coopersmith commit a04b84f0f7bb3a78088756759f4b9b8bb363251e Author: Alan Coopersmith Date: Thu Nov 3 20:31:31 2022 +0000 Copyright & license cleanup commit 5e41119d9611504ff7e61c6aa4da1df708096801 Author: Benno Schulenberg Date: Mon Oct 31 12:42:51 2022 +0100 nls: reshuffle a few compose sequences, to have similar ones together It makes more sense to have similar sequences grouped together than to rigidly follow the order of ascending Unicode codes. commit 65d89342f59cfc2eac9bf8010076b937f22554e8 Author: Benno Schulenberg Date: Mon Oct 31 12:50:11 2022 +0100 nls: remove two compose sequences that use deprecated symbols The last few occurrences of `leftcaret` and `rightcaret` were replaced with `less` and `greater` in xkeyboard-config half a year ago. commit 6baccbae5324e7342cb5176cae82f463a6b34eae Author: Benno Schulenberg Date: Mon Oct 31 12:40:12 2022 +0100 nls: let ` ` compose U+2212 (MINUS SIGN) There was not yet any way to compose the Unicode minus sign, U+2212. commit 79775575418fd6f8ee1c5e5bbe403df4606fb5b6 Author: Adam Jackson Date: Fri Aug 5 15:19:08 2022 -0400 Allow X*IfEvent() to reenter libX11 The documentation for this family of functions very clearly says not to call into xlib in your predicate function, but historically single threaded apps could get away with it just fine, and now that we've forced thread-safety on the world such apps will now deadlock instead. That's not an acceptable regression even if the app is technically broken. This has been reported with XFCE and FVWM, and Motif's cut-and-paste code has the same bug by inspection, so this does need to be addressed. This change nerfs LockDisplay/UnlockDisplay while inside the critical bit of an IfEvent function. This is still safe in the sense that the display remains locked and no other thread should be able to change it from under us, but the loop that scans the event queue might not be robust against it being modified as a side effect of protocol emitted by the predicate callback. But that's not new, non-XInitThreads'd xlib would have the same caveat. Closes: xorg/lib/libx11#157 commit 0d1d65bdd98966f52bcac4077f94827b20b229dd Author: Benno Schulenberg Date: Fri Oct 21 12:18:25 2022 +0200 nls: change <^> <-> to mean superscript minus instead of macron Several other ` ` sequences produce the superscript equivalent of the given symbol. So, let ` ` do the same. Also, add two other sequences for producing a plain macron, to compensate a bit the loss of the above sequence. Additionally, make ` ` produce a subscript minus, for consistency. This fixes issue #165. Requested-by: J. McWilliams Signed-off-by: Benno Schulenberg commit 310898270787c1a3a6ab50221324f8654dddce8e Author: Jan Tojnar Date: Thu Oct 20 07:10:58 2022 +0000 nls: Map sr locales to sr_RS compose files Serbian used sr_YU (Yugoslavia) code in the past. Then it was succeeded by sr_CS (Serbia and Montenegro). Finally, it was split into sr_RS (Serbia) and sr_ME (Montenegro). https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd introduced the modern sr_RS and sr_ME codes. Next, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/40761898692e5063957bfa2518cca3d35b2e354a added the Serbian compose table but only for the legacy sr_CS entry. https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/5cd60398b7787297008b13a848ed3cfbd7ef178d removed the legacy sr_CS entry, the only one pointing to the correct compose file. It also renamed the file to sr_RS, but did not update the compose mapping. Let’s point all Serbian locales to the Compose file again. commit a35d706cd8dc7b498bca2a3fc4a3732047439ed7 Author: Alan Coopersmith Date: Fri Oct 14 13:40:37 2022 -0700 COPYING: remove notice for the removed UIThrStubs.c Fixes: 701e9e9a ("Use same pthread-stubs as libxcb") Signed-off-by: Alan Coopersmith commit 3b1750e982fedce0d61bface68aadcd5b1ea1fae Author: Benno Schulenberg Date: Fri Oct 14 09:28:42 2022 +0200 nls: delete two compose sequences with an anomalous post-fixed breve Two years ago, commit b126bfd7fe allowed using also a lowercase `u` wherever an uppercase `U` was used to represent a breve. But the commit should have limited itself to only the prefixed uses of `U`, as that is how most letters with a breve are composed. Also, group the two compose sequences with an uppercase post-fixed `U` together with the corresponding other post-fixed sequences. Signed-off-by: Benno Schulenberg commit 701e9e9afb88bdc68c84a4611adc533400a3df36 Author: Alan Coopersmith Date: Tue Oct 4 11:24:57 2022 -0700 Use same pthread-stubs as libxcb Avoid conflicts when libX11 calls libxcb and gets its pthread functions overriding our ancient stubs. v2: Keep linking with real threads libraries when thread safety constructor is enabled. Signed-off-by: Alan Coopersmith commit 1d11822601fd24a396b354fa616b04ed3df8b4ef Author: Thomas E. Dickey Date: Tue Oct 4 18:26:17 2022 -0400 fix a memory leak in XRegisterIMInstantiateCallback Analysis: _XimRegisterIMInstantiateCallback() opens an XIM and closes it using the internal function pointers, but the internal close function does not free the pointer to the XIM (this would be done in XCloseIM()). Report/patch: Date: Mon, 03 Oct 2022 18:47:32 +0800 From: Po Lu To: xorg-devel@lists.x.org Subject: Re: Yet another leak in Xlib For reference, here's how I'm calling XRegisterIMInstantiateCallback: XSetLocaleModifiers (""); XRegisterIMInstantiateCallback (compositor.display, XrmGetDatabase (compositor.display), (char *) compositor.resource_name, (char *) compositor.app_name, IMInstantiateCallback, NULL); and XMODIFIERS is: @im=ibus Signed-off-by: Thomas E. Dickey commit 1f8fd7ff1cf688ec1d3b34397c6d58110bb0cae5 Author: Alan Coopersmith Date: Mon Sep 26 16:01:40 2022 -0700 If thread-safety-constructor is enabled, link against pthreads not stubs Only really makes a difference if pthreads is not in libc. Fixes: #162 Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit bfe5d2dd98f705438b0cdddbbf9c12882da89bae Author: Thomas E. Dickey Date: Sun Sep 11 11:44:41 2022 -0400 reduce compiler warnings with casts (no object change) Signed-off-by: Thomas E. Dickey commit 926f2454bca9a7a7d1f4cf0648b0c193f5cef644 Author: Thomas E. Dickey Date: Sun Sep 11 10:35:31 2022 -0400 use casts to reduce compiler warnings (no object change) Signed-off-by: Thomas E. Dickey commit dc553ff908f10832c71dc2b5ba5af7e68589218e Author: Mike FABIAN Date: Fri Jul 22 11:39:01 2022 +0200 Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/src/xlibi18n/lcCT.c#L58 has no escape sequence for KOI8-R. That makes Xutf8TextListToTextProperty() sometimes fail when trying to convert to COMPOUND_TEXT and when the KOI8-R charset is tried. This is the cause for this bug: https://github.com/ibus/ibus/issues/2422 Removing the KOI8-R charset entry fixes the problem. This commit also fixes a few wrong texts in comments. Signed-off-by: Mike FABIAN commit 1c04ac514196db5e2255d99635fb6e3c36be330d Author: Adam Sampson Date: Sun Jul 4 23:02:04 2021 +0100 xkb: Fix off-by-one error in XKeycodeToKeysym The code here that made indexes greater than 3 refer to XKB symbol groups had an off-by-one error, so it would always leave out the symbol that should have been at index 4. Rewrite the code to fix this and simplify the logic a bit. Signed-off-by: Adam Sampson commit ddaacd219609104f138006db6a8f708226db3874 Author: Thomas E. Dickey Date: Fri Sep 9 20:17:35 2022 -0400 reduce compiler warnings for macros BufAlloc, Data and Data32 using casts Signed-off-by: Thomas E. Dickey commit 62c3337d89d31e0d3ed807004e73ad711fad3342 Author: Kirill Chibisov Date: Thu Sep 8 22:50:30 2022 +0000 ximcp/imRm.c: allow XNSpotLocation with OnTheSpot commit 1272879074ad9612314858a75cf844783c1963b2 Author: Alan Coopersmith Date: Thu Jul 28 17:30:21 2022 -0700 gitlab CI: stop requiring Signed-off-by in commits Signed-off-by: Alan Coopersmith commit 38033b073f393564acf6a04501927002b2b4aa86 Author: David H. Gutteridge Date: Mon Jul 25 19:30:19 2022 -0400 configure.ac: report thread safety constructor build status Signed-off-by: David H. Gutteridge commit 9a90b3a63d02da92dc8692ed3f6269d3e0c7c8cc Author: Alan Coopersmith Date: Sun Jul 10 11:55:11 2022 -0700 doc: Document possible return values for XkbGetKeyboard() Fixes: #160 Signed-off-by: Alan Coopersmith commit 0beb0cf46ae48b0d4322ff8a0221f47bdb7d2296 Author: Alan Coopersmith Date: Sun Jul 10 11:42:19 2022 -0700 xkb: set num_keys when filling in keys in _XkbReadGetNamesReply() Fixes: #160 Signed-off-by: Alan Coopersmith commit 487e9489d1e086cc62c53045206ab6d6d9d02031 Author: Jon Turney Date: Wed Jun 22 16:15:37 2022 +0100 Fix Win32 build with -fno-common /work/xorg/lib/libX11/src/XlibInt.c:1968: multiple definition of `_Xdebug_p'; .libs/globals.o:globals.c:(.bss+0xc): first defined here Avoid redundant definition of _Xdebug_p in globals.c (which is under the influence of _Xdebug being #defined to _Xdebug_p. This appears to be an ancient hack to work around data exports resolving to the address of the import stub, not the import. (See [1]). (This is probably no longer needed or can be done in a better way, as per the discussion under --enable-auto-import in the ld manpage.) [1] https://cygwin.com/pipermail/cygwin-xfree/2001-May/004606.html Signed-off-by: Jon Turney commit 35ad99fad2f65ec2c69bd84bdeb8138329092b57 Author: Benno Schulenberg Date: Fri Jul 15 11:29:46 2022 +0200 nls: add four sequences for the Samogitian E with dot above and macron These sequences each produce two code points: the E-with-dot-above and a combining macron. The XIM input method is required for this to work. (Also add a missing comment for a Unicode block.) This fixes issue #54. Requested-by: Arns Udovīčė Signed-off-by: Benno Schulenberg commit 2732dd20cc2694dd5c32fef292e1f48626011032 Author: Benno Schulenberg Date: Wed Jul 6 16:44:50 2022 +0200 nls: delete eight sequences that pointlessly mix upper and lower case Typing a compose sequence requires some care -- surely the user is able to either keep holding the Shift key or not touch it at all while typing the sequence. Also, compose sequences are not an infinite resource AND take up space and time -- defining redundant ones is a waste. Signed-off-by: Benno Schulenberg commit ea3cc474e1acfed47b9fb856ea151008fa6cfd30 Author: Benno Schulenberg Date: Wed Jul 6 16:36:48 2022 +0200 nls: add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ This allows the user to type the symbols for the five number systems. This fixes the reasonable part of issue #159. Signed-off-by: Benno Schulenberg commit 95a03cde434c447fdb41d8cccbbdd41f20750f32 Author: Benno Schulenberg Date: Thu Jul 14 12:00:45 2022 +0200 nls: delete some pointless and wrong compose sequences meant for Bépo Fourteen years ago, commit 7302984642 added some four hundred compose sequences for the benefit of the French Bépo layout. But among these four hundred there are several that use symbols that are not available in the Bépo layout and are thus impossible to type. Some of the used symbols, like Ahook, Ehook and Ohook, are not even present in *any* layout, making these sequences a dead weight in the Compose file. The Amacron and Omacron are available only in the Latvian, Hawaiian, and Maori layouts, and the Omacron also in the Silesian layout. But the Latvian layouts and the Hawaiian do not contain any dead keys. Only in the Maori and Silesian layouts these sequences with Amacron and Omacron could be typed, but that was not why they were added. More importantly, as James Cloos noted in issue #54, sequences like ` ` for generating `ǡ` (that is: the macron above the dot) are questionable, as in compose sequences generally the first accent typed is the uppermost in the composed character. Reference: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/54#note_17321 Signed-off-by: Benno Schulenberg commit 9702b836862da6838d725f555e7a1d83faf51740 Author: Matthieu Herrb Date: Fri Jul 1 11:13:13 2022 +0200 Mention that the predicate function is called with the display lock Signed-off-by: Matthieu Herrb commit a5d00f889fadad3f5b11e53fd5c04cf5343fa8a2 Author: Benno Schulenberg Date: Fri Jun 24 16:20:52 2022 +0200 docs: replace three placeholders with something that makes sense Also, uncapitalize two arguments, to match the style of all others. Signed-off-by: Benno Schulenberg commit 9ff8502040e94cb172426d59df722cefa752a401 Author: Benno Schulenberg Date: Fri Jun 24 16:07:22 2022 +0200 docs: remove the unsightly dashes from the overviews of arguments Seventeen months ago, commits 78027fdb7a and 4f15cfc645 removed these dashes from two of the man pages. Now, remove them all. They are unhelpful and just make one wonder why they are there (probably to function as improvised bullet points). Also remove four leading spaces and a trailing comma. Signed-off-by: Benno Schulenberg commit a7968c47e35703446d67d070234fd9adf07f34b0 Author: Benno Schulenberg Date: Thu Jun 23 15:48:05 2022 +0200 docs: hard-wrap some items so that Table 2 fits within 80 characters (Table 1 hard-wraps the first-column items in the same way.) Also, correct the formatting of the subsequent paragraph. Signed-off-by: Benno Schulenberg commit c601c779ca8f46dc4335180ec2829851fb8bbc13 Author: Benno Schulenberg Date: Wed Jun 15 10:55:38 2022 +0200 nls: delete compose sequences that mix top-row digits with numpad digits Compose sequences for circled numbers, like ⑫ or ㉑, are nice to have, but allowing them to be composed by typing one digit on the top row and the other on the numerical keypad (or the other way around) is over the top. Remove these absurd sequences. Keep only the sequences where both digits are either on the top row or on the numerical keypad. Signed-off-by: Benno Schulenberg commit 3a30ada60c5217ada37b143b541c8e6f6284c7fa Author: Alan Coopersmith Date: Wed Jun 8 17:30:14 2022 -0700 libX11 1.8.1 Signed-off-by: Alan Coopersmith commit 70f7403fd3bf362fc50b8de4a2e26300f757c68e Author: Alan Coopersmith Date: Tue May 3 14:45:05 2022 -0700 configure.ac: Fix --enable-thread-safety-constructor Prior to this, --enable-thread-safety-constructor would disable it, while --disable worked as expected, and no option left it enabled as expected by default. This also fixes the --help text to be displayed. Fixes: afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 Reported-by: @igor.v.kovalenko Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit d0da5a1e0fb214ff911ecff86d35f6673ff70023 Author: Adam Jackson Date: Fri Apr 29 11:27:44 2022 -0400 libX11 1.8 Minor number bump to reflect the thread safety default change. Signed-off-by: Adam Jackson commit afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9 Author: Adam Jackson Date: Tue Mar 22 18:24:29 2022 -0400 global: call XInitThreads() from the library's constructor There is really no point in not being thread safe, I measured, all you can see happen is noop performance gets like twice as slow and you have thread safety bugs. And we're using xcb as the transport which means we should expect threads in our clients anyway. Just do it. This assumes your compiler understands __attribute__((constructor)). If this is not your compiler, you can disable this with the appropriate configure flag, but be aware you're asking for bugs. Signed-off-by: Adam Jackson commit 1ab48f3cc966751d86e434808180beb2dc76c4fa Author: Benno Schulenberg Date: Sun Apr 24 15:06:45 2022 +0200 docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5 They were forgotten when those releases were made. Signed-off-by: Benno Schulenberg commit 35d1513bc7fdd3ac6f5807feb601efc34ac19163 Author: Alan Coopersmith Date: Sat Apr 16 13:04:23 2022 -0700 XkbOpenDisplay: Add _Xconst qualifier to display name argument Signed-off-by: Alan Coopersmith commit c88ceaad4aaa0439e5cba13c1f5737ad54566e0b Author: Alan Coopersmith Date: Sat Apr 16 12:59:39 2022 -0700 XKBgeom.h: Add _Xconst qualifier to char * arguments in functions Signed-off-by: Alan Coopersmith commit 0ce4425826074b12a58ced432f9d6fb346474737 Author: Alan Coopersmith Date: Sat Apr 16 12:20:51 2022 -0700 XKBgeom.h: Remove XKB_IN_SERVER section The Xserver made its own copy of this file in 2008, and the API's are no longer the same between the server and client forks. Signed-off-by: Alan Coopersmith commit be8c01946ab1a1d4b79fdc5358541d630f14dc0a Author: Benno Schulenberg Date: Wed Apr 20 09:29:09 2022 +0200 lcCT: use the correct index for checking the second byte (Not that it will make any difference, as the checking of these high bits looks like an excess of precaution.) This fixes issue #134. Reported-by: Rafał Mikrut Signed-off-by: Benno Schulenberg commit 488b156fe2cc8aca6946a49236ec7b7698fceda4 Author: Benno Schulenberg Date: Fri Feb 25 16:35:46 2022 +0100 nls: make the Ethiopian compose sequences actually work In the Ethiopian keyboard layout, the dead vowel keys do not produce and and so on, but instead produce and and so on, so the compose sequences should use those latter code points. Also, include the basic compose sequences from en_US.UTF-8/Compose, so that, when switching to a different layout in the Ethiopian locale, all the usual compose sequences work too. Signed-off-by: Benno Schulenberg commit e6f98a3dbd82928e10adaf9d034dc574af1de6e5 Author: Benno Schulenberg Date: Mon Apr 18 17:24:55 2022 +0200 nls: add Multi-key sequences for abovedot, diaeresis, and ogonek These accents by themselves could only be produced when one had a dead key for them, not with the help of the Multi key. [Note that the sequences for apostrophe (') and for double quote (") are anomalies, as normally produces the accent itself.] Signed-off-by: Benno Schulenberg commit d323704e7c57f9ac7fdfea3dc9fa73bf943e72d3 Author: Benno Schulenberg Date: Mon Apr 18 16:57:35 2022 +0200 nls: remove eight pointless self-producing compose sequences Compose sequences are meant to produce certain symbols by combining certain different symbols, not to produce a symbol with the help of the symbol itself. This fixes issue #59. Signed-off-by: Benno Schulenberg commit 3b62c0322c112c03597d850197dbce22d1830bb7 Author: Benno Schulenberg Date: Fri Feb 25 14:12:02 2022 +0100 nls: remove misplaced sequences from Ethiopian and Greek compose files The Khmer digraphs and Arabic ligatures have nothing to do with Amharic or Greek. (Also rewrap a comment and correct two others.) Signed-off-by: Benno Schulenberg commit 479af78f2e5caaf9b98a35ae5ff4ccdd2f040289 Author: Benno Schulenberg Date: Fri Feb 25 14:05:35 2022 +0100 nls: remove redundant Khmer digraphs, already defined in included file This fixes issue #160. Reported-by: Mike Fabian Signed-off-by: Benno Schulenberg commit 6d7d08726f4b0c517041842b27cd7e66e8f371eb Author: Alan Coopersmith Date: Sun Apr 10 14:51:55 2022 -0700 XkbUpdateKeyTypeVirtualMods: always initialize mask XkbVirtualModsToReal should only fail to set mask if the server does not support XKB, but it still made Oracle Parfait complain: Error: Uninitialised memory Uninitialised memory variable [uninitialised-mem-var] (CWE 457): Possible access to uninitialised memory referenced by variable 'mask' at line 863 of lib/libX11/src/xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'. Path in callee avoiding write at line 862 mask allocated at line 860 Signed-off-by: Alan Coopersmith commit 9ac6859c20be2fc5e70c2908de60c6e466ec04e1 Author: Matt Turner Date: Sun Apr 3 10:15:30 2022 -0700 libX11 1.7.5 Signed-off-by: Matt Turner commit 76d1cc3c1ce943c6ff81dc8c62a1d1b30fabf02e Author: Simon McVittie Date: Sun Apr 3 14:23:36 2022 +0100 Don't try to destroy NULL condition variables This avoids a segfault during error-unwinding if an invalid display name is passed to XOpenDisplay(). Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()" Resolves: #155 Signed-off-by: Simon McVittie commit 80b30d12519ac54fc5b2b05500521d9c8269be9c Author: Matt Turner Date: Wed Mar 30 13:54:13 2022 -0700 libX11 1.7.4 Signed-off-by: Matt Turner commit 8a368d808fec166b5fb3dfe6312aab22c7ee20af Author: Hodong Date: Thu Jan 20 00:57:41 2022 +0900 Fix two memory leaks in _XFreeX11XCBStructure() Even when XCloseDisplay() was called, some memory was leaked. XCloseDisplay() calls _XFreeDisplayStructure(), which calls _XFreeX11XCBStructure(). However, _XFreeX11XCBStructure() did not destroy the condition variables, resulting in the leaking of some 40 bytes. Signed-off-by: Hodong commit da97120f2322882a17f14e5d7da00c1e772679e8 Author: Adam Jackson Date: Tue Mar 22 14:32:49 2022 -0400 xcb: Clarify the XInitThreads error message XInitThreads has been called if _Xglobal_lock != NULL, we may as well check that before printing a misleading error message. Signed-off-by: Adam Jackson commit 257927c51b08242aa5bf239346717fc817b2b286 Author: Giovanni Mascellani Date: Fri Feb 4 10:49:25 2022 +0100 xcb_io: Allow jumps backwards when widening the request number. Request numbers are not always seen in the numeric order by widen(), for example due to Mesa directly calling _XError(). When this happens, widen() adds 2^32 to the reported widened number, triggering failed assertions and bad behavior. With this commit, wrapping of the lower dword is detected in a more robust way, by requiring that a skip of at least 2^31 is seen. This fixes issue #152. Signed-off-by: Giovanni Mascellani commit 918063298cb893bee98040c9dca45ccdb2864773 Author: Benno Schulenberg Date: Thu Mar 3 12:00:45 2022 +0100 nls: add a compose sequence for the peace symbol As the thing in the circle looks a bit like an upside-down Y, use as the sequence, similar to for anarchism. Signed-off-by: Benno Schulenberg commit 4f9eb32709dca705f02ca771bbd47d6c08aba5e0 Author: Benno Schulenberg Date: Fri Feb 25 12:45:06 2022 +0100 nls: remove obsolete locale aliases with uppercase in the language code (These aliases may have been useful on some systems twenty years ago, but nowadays all should have settled on lowercase language code plus uppercase country code.) Signed-off-by: Benno Schulenberg commit ba0d3b437deb2212bc7fc7c6f1c603fa6ced443c Author: Benno Schulenberg Date: Fri Feb 25 12:35:28 2022 +0100 nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias Signed-off-by: Benno Schulenberg commit cfddb79981f23650feb0f9a0f4442c9cad584b33 Author: Benno Schulenberg Date: Fri Feb 25 12:12:05 2022 +0100 nls: remove the mistaken eo_EO names -- EO is not a valid country code (Debian has had several of these lines commented out for years.) Signed-off-by: Benno Schulenberg commit eb5885245a1ba6955d058a03e31894c23b9f5490 Author: iyzana Date: Mon Feb 21 13:20:23 2022 +0100 nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8 There is no matching locale in the locale.dir and compose.dir files for the locale eo.UTF-8. Setting it as the locale resulted in compose files not being loaded. Signed-off-by: iyzana commit 24df23dff9d8c1cf5e918a5f040b852bdf2cfb84 Author: Benno Schulenberg Date: Thu Feb 3 17:19:05 2022 +0100 nls: group the compose sequences for tilde, degree, and cedilla together Also, correct the comment for the double quote character ("), and move the soft hyphen and the interrobangs to a special punctuation group. Signed-off-by: Benno Schulenberg commit c0191f020f94907770937bc8ae67ea8acd7d63be Author: Benno Schulenberg Date: Thu Feb 3 16:33:05 2022 +0100 nls: use shape-based compose sequences for hammer-and-sickle instead Using a misspelled abbreviation (CCCP) of an obsolete country's name to compose a fairly general communist symbol does not seem right. https://en.wikipedia.org/wiki/Hammer_and_sickle Many compose sequences instead combine characters that together look similar to the target character. Do the same here: question mark (?) plus backslash (\) look a bit like ☭ . In the bargain, this fixes issue #63. Reported-by: Marc Mezzarobba Signed-off-by: Benno Schulenberg commit 582dc6f89e1f9288710a55cb2b8fbf2af99d7616 Author: Alan Coopersmith Date: Sun Feb 20 11:49:42 2022 -0800 gitlab CI: enable Static Application Security Testing (SAST) Signed-off-by: Alan Coopersmith commit 336e8f72559b489396c5cd503c4586ef800c2a8f Author: Benno Schulenberg Date: Sun Feb 20 15:06:02 2022 +0100 nls: add compose sequences for leftward, upward and downward double arrow These sequences follow the logic of: the arrow shaft (=) first, the arrow head (< or > or ^ or v) second. This is so because the sequence <= is already taken for ≤, and there is no obvious ASCII character for a double vertical line, so we have to make do with a horizontal one. Since commit 6101b967b6 from eight years ago, there is a compose sequence for the rightward double arrow, but not for the other three directions. This fixes issue #138. Requested-by: Mélanie Chauvel Signed-off-by: Benno Schulenberg commit 623b77d4f30b47258a40f89262e5aa5d25e95fa7 Author: Benno Schulenberg Date: Mon Feb 14 11:33:25 2022 +0100 imDefLkup: verify that a pointer isn't NULL before using it It is possible for _XimICOfXICID() to return NULL, so it is necessary to check this isn't actually the case before dereferencing the pointer. All other callers of _XimICOfXICID() do this check too. (The check itself is ugly, but it follows the style of the code in the rest of the module.) Fixes issue #45. Reported-by: Bhavi Dhingra Original-patch-by: Bhavi Dhingra Signed-off-by: Benno Schulenberg commit b83938f7f97aa6210b00835002e6e7d614b2374a Author: Christopher Chavez Date: Mon Feb 14 01:00:45 2022 +0000 Xlib.h: fix spelling in comment Signed-off-by: Christopher Chavez commit 4791055682552b4cc8e775479700fb06980d0b59 Author: Christopher Chavez Date: Sun Feb 13 05:26:14 2022 +0000 Xlib.h: spelling fix in comment commit 9304e645bdcdd3a71ff449a1157c4815e6304d7a Author: Denis Drakhnia Date: Wed Feb 2 11:54:43 2022 +0200 nls: Add ru_UA.utf8 locale alias. Signed-off-by: Denis Drakhnia commit 9ef2551f0c201f9163b66d17189a98076b5be07a Author: Benno Schulenberg Date: Wed Feb 2 16:50:35 2022 +0100 nls: do some manual adjustment of whitespace in the compose sequences This achieves a more consistent vertical alignment (per group) of the target character and the trailing comments. (Most blocks were aligned in some fashion, except the "Greek Extended" block, which has lines of greatly varying lengths.) Signed-off-by: Benno Schulenberg commit 0dad289ead6eb3412027c9365192441cc539d747 Author: Benno Schulenberg Date: Wed Feb 2 14:08:22 2022 +0100 nls: among the compose sequences, replace all runs of spaces with tabs It was done with this script: cat nls/en_US.UTF-8/Compose.pre | sed 's!\(^<.\{6,13\}>\)\s*:!\1\t\t\t\t:!' | sed 's!\(^<.\{14,21\}>\)\s*:!\1\t\t\t:!' | sed 's!\(^<.\{22,29\}>\)\s*:!\1\t\t:!' | sed 's!\(^<.\{30,37\}>\)\s*:!\1\t:!' | sed 's!\(: ".*"\)\s*!\1\t!' | sed 's!\(\s*# \)! # !' > trimmed && mv trimmed nls/en_US.UTF-8/Compose.pre This saves 37 kilobytes of whitespace. Signed-off-by: Benno Schulenberg commit fc79e39c236501357e1fdbe8964882864eeef5d3 Author: Benno Schulenberg Date: Wed Feb 2 14:06:29 2022 +0100 docs: add missing word, wrap line, fix typo, and trim an excess space Signed-off-by: Benno Schulenberg commit 93446455c46dfc019984ab822ffa662cf6e2949c Author: Benno Schulenberg Date: Thu Jan 27 15:01:18 2022 +0100 KeyBind: reshuffle two ifs into the general order of ascending codes Signed-off-by: Benno Schulenberg commit 93f15f5f29378ec4cc1dd011b155104e9a52b058 Author: Benno Schulenberg Date: Thu Jan 27 14:27:41 2022 +0100 KeyBind: slightly speed up some case conversions by adding missing returns This avoids pointlessly tumbling through several more ifs when the conversion has aleady been done. Also remove two redundant conditions (as lower codes have already been handled) and fold two other conditions together. Signed-off-by: Benno Schulenberg commit 317c7abbcc848011393d1336b9d020af8cabb000 Author: Benno Schulenberg Date: Thu Jan 27 13:54:29 2022 +0100 KeyBind: update the Greek case-conversion tables to Unicode Data 14.0 A few symbols, like Heta and Sampi and dotted lunate Sigma, have been assigned code points since Unicode Data 4.0, and need their entries. This fixes issue #132. Reported-by: Ray Vine Original-patch-by: Ray Vine Signed-off-by: Benno Schulenberg commit 402b843fa72166d9ceefd887f5cea4728cbc6995 Author: Benno Schulenberg Date: Wed Jan 26 17:20:28 2022 +0100 remove a commented-out code fragment, and remove a stray blank line Signed-off-by: Benno Schulenberg commit fbbc3cf8b8b03f74f778772d4703fc4fec242282 Author: Benno Schulenberg Date: Wed Jan 26 16:55:50 2022 +0100 XKBCvt: remove an if that never gets triggered The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols from the numeric keypad and some control symbols to pass -- XK_hyphen is not among them, so the check for XK_hyphen in the later 'if' will always be false. (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was removed in March 1994.) (Also, several keyboard layouts nowadays contain the 'hyphen' symbol, allowing the user to enter soft hyphens into a document. So we really don't want to remap this symbol.) Fixes issue #48. Reported-by: Bhavi Dhingra Signed-off-by: Benno Schulenberg commit 6786744f636b3fc545157a13cb2f6169b5be9fa5 Author: Benno Schulenberg Date: Sun Jan 23 17:12:03 2022 +0100 nls: add the es_CU locale name, for Cuba It was added to glibc ten years ago. This fixes issue #57. Reported-by: Dominique Michel Signed-off-by: Benno Schulenberg commit d241d8af7f24e95949c2cf7ce791e35df7665e98 Author: Benno Schulenberg Date: Sun Jan 23 16:44:03 2022 +0100 nls: remove some obsolete Norwegian and Yugoslavian locale names They have not existed in glibc for more than fifteen years. Signed-off-by: Benno Schulenberg commit 32dd7c03e92e01015744867b9b3148c250cc159a Author: Benno Schulenberg Date: Sat Jan 22 17:56:32 2022 +0100 nls: put some entries in their alphabetical order, and adjust alignment Signed-off-by: Benno Schulenberg commit 46a066f25103bb909259baea25de8dd5c4a2b338 Author: Benno Schulenberg Date: Sat Jan 22 18:00:20 2022 +0100 nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment The typo was only partially fixed in commit 22a5255b80 sixteen years ago, and the internet shows that there was at least one user frustrated that bg_BG.utf8 didn't work but bg_BG.UTF-8 did. Signed-off-by: Benno Schulenberg commit 84efc0aa598c8f7d6dd9a49e7450e85c8bc4773b Author: Benno Schulenberg Date: Wed Jan 19 15:32:15 2022 +0100 nls: remove the compose sequences with the deviant KP_Space symbol Using this KP_Space symbol as a stand-in for the symbol 2 doesn't make sense. It looks like a mistake, or as if someone had a broken keyboard and used KP_Space as a substitute for 2. Also, no keyboard layout in the last fifteen years has contained the KP_Space symbol, so I don't see how anyone could type it. Signed-off-by: Benno Schulenberg commit b76e661ca223489da9027b0ab1ca1586efd0a280 Author: Benno Schulenberg Date: Wed Jan 19 13:49:56 2022 +0100 nls: move the block of Jamo to its logical place (ascending Unicodes) Signed-off-by: Benno Schulenberg commit 21f82fb9c69f8fdbf0bdc1aac6f8c11c2c6d55d1 Author: Benno Schulenberg Date: Wed Jan 19 13:40:56 2022 +0100 nls: delete some ineffective compose sequences (that were commented out) They have never worked; there is no point in keeping them in the file. Signed-off-by: Benno Schulenberg commit 6cc31eafa8095d2117ff1906d7c14c1c01173248 Author: Benno Schulenberg Date: Wed Jan 19 12:18:21 2022 +0100 nls: group some compose sequences better, and add some comments Also, align a few trailing comments more consistently, and change some comments so they will be excluded from the installed file -- there is no need for those comments there. Signed-off-by: Benno Schulenberg commit d60ede7843612f3c2967f83d629bf8272ba09ff1 Author: ArenaL5 Date: Thu Jan 13 01:13:56 2022 +0100 nls: add a compose sequence for the copyleft symbol Probably not used anywhere yet, let alone seriously, as stated in https://en.wikipedia.org/wiki/Copyleft#Symbol Signed-off-by: ArenaL5 commit df4dcdf9125c595f6df3a302356647cb8df38553 Author: Benno Schulenberg Date: Mon Jan 17 17:31:08 2022 +0100 nls: remove redundant compose sequences with deprecated Hebrew symbols The compose sequences with the valid Hebrew key symbols are right there. Also, no keyboard layout in the past seventeen years has contained these deprecated symbols on any key. Signed-off-by: Benno Schulenberg commit 4268472bd11a07a799716fb5833ea46cad3dd479 Author: Benno Schulenberg Date: Sun Jan 16 17:51:29 2022 +0100 nls: remove redundant compose sequences with the deprecated 'underbar' The key symbol 'underbar' is equivalent to 'underscore' -- the mirror compose sequences with the latter symbol continue to exist. Also, no keyboard layout in the past fifteen years has contained the symbol 'underbar' on any key -- except a Telugu layout since a few years, but that will be corrected soon. Signed-off-by: Benno Schulenberg commit 86e9749ef37189486c205ee7f77e43fed655ac70 Author: ArenaL5 Date: Sat Jan 15 16:20:56 2022 +0100 nls: add a compose sequence for the middle dot (·) using dead_circumflex This makes the middle dot compose sequences consistent with others that begin with and , e.g. superscripted 3 (³) Signed-off-by: ArenaL5 commit 1adb531cd5be2b6489c2a8106e850e7418fae056 Author: Benno Schulenberg Date: Fri Jan 14 13:06:10 2022 +0100 docs: unwrap the comments of structure elements in the man pages It doesn't matter that these lines get wider than 80 columns, as it's easy enough to make the pager scroll a bit to the right, or to have a terminal that is a 100 or more columns wide. It looks better to not hard-wrap these comments. Also, fix the layout of two table elements. Signed-off-by: Benno Schulenberg commit da330a1644f10f9669c8dd9ee06489c40f9f0bd1 Author: Benno Schulenberg Date: Fri Jan 14 12:33:23 2022 +0100 docs: unwrap some mistakenly wrapped lines, and correct a comment The wrapped lines messed up the table. Also, add some blank lines to make the table more readable. Elsewhere, add spaces around an operator (for consistency), and correct a copy-paste error. Signed-off-by: Benno Schulenberg commit b9e0346abebb0c9e5c80c780bba4372419e63bde Author: Benno Schulenberg Date: Fri Jan 14 15:57:56 2022 +0100 XKBMAlloc: use the correct first-key variable when extending a key range When extending the range of changed virtual-modifier keys, one should pass the two variables relevant to that range. These two mistakes were found by grepping for 'modmap_key' and then looking for asymmetries between the handling of the plain modmap thing and the virtual modmap thing. Inspired by issue #76. (I suspect these mistakes were at the base of some intractable bugs reported against xkeyboard-config where virtual modifiers refused to work and had to be worked around by making other changes too.) Signed-off-by: Benno Schulenberg commit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0 Author: Benno Schulenberg Date: Wed Jan 12 11:34:23 2022 +0100 lcUTF8: remove two unneeded ifs and two elses that are never reached When there is a break at the end of the while loop, it means that the loop will finish the first time that _XlcGetCharSetWithSide() returns a non-NULL result, which means that the first '(last_charset == NULL)' will always be true and the else part is redundant. Fixes issue #46. Reported-by: Bhavi Dhingra Signed-off-by: Benno Schulenberg commit 033f37d507801645a8251fd33c25ebd145d22cce Author: Antti Savolainen Date: Wed Jan 12 16:10:21 2022 +0000 nls: add two compose sequences for an upwards arrow using dead_circumflex Signed-off-by: Antti Savolainen commit b7d724df615311c35418afc733e1fcc68c740aba Author: Hodong Date: Fri Jan 7 10:41:15 2022 +0000 specs/XIM: fix a missing "EXT" in the documentation There was an "EXT" in the original text, but it seems to be missing. See: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/4e66da0783b2e5e3b288aaecd3c89396ed425c20/specs/XIM/xim.ms#L693 Signed-off-by: Hodong Kim commit 4c96f3567a8d045ee57b886fddc9618b71282530 Author: Alan Coopersmith Date: Thu Dec 9 19:51:52 2021 -0800 libX11 1.7.3.1 Signed-off-by: Alan Coopersmith commit c1710589bb00d6f442a383fc41f0d6496b436c88 Author: Alan Coopersmith Date: Tue Dec 7 08:29:43 2021 -0800 specs/XIM: Fix "encording" typos Fixes: #145 Signed-off-by: Alan Coopersmith commit e30771b4bbdd84fc7ff64a1cda483a46edb5707b Author: Alan Coopersmith Date: Mon Dec 6 17:04:14 2021 -0800 libX11 1.7.3 Signed-off-by: Alan Coopersmith commit 934417b1e89fe715b9cf6c0d62a3867fa1f5bccb Author: Liang Chang Date: Tue Sep 7 18:54:10 2021 +0800 Make Xutf8DrawString works correctly with ISO10646 fonts. Signed-off-by: Liang Chang commit 3ad36c5d3ddca3e4c97faaf87b72a53954d1f473 Author: Alan Coopersmith Date: Thu Dec 2 17:48:55 2021 -0800 Build xz tarballs instead of bzip2 Signed-off-by: Alan Coopersmith commit 93a050c3ad2d2264d3880db3791387b1a9bf2e9e Author: Tatu Frisk Date: Tue Mar 14 14:41:27 2017 +0200 Fix hanging issue in _XReply Assume event queue is empty if another thread is blocking waiting for event. If one thread was blocking waiting for an event and another thread sent a reply to the X server, both threads got blocked until an event was received. Signed-off-by: Tatu Frisk Signed-off-by: Jose Alarcon commit 8382253010267b93c9aeffc769e3f5e43d698094 Author: Matthieu Herrb Date: Mon Aug 30 21:47:09 2021 +0200 Avoid NULL pointer deref. Fixes issue #47. Signed-off-by: Matthieu Herrb commit 58d7b540c453601faf942c6f19f8277a5c5f78cc Author: Peter Hutterer Date: Wed Dec 1 14:31:16 2021 +1000 gitlab CI: update to use the ci-fairy image Let's use the pre-prepared image instead of building our own. Signed-off-by: Peter Hutterer commit 150154c994829f9f3734a560f99f70b21d86b49c Author: Hodong Date: Sun Nov 14 06:36:42 2021 +0000 Fix a typo commit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e Author: Igor V. Kovalenko Date: Sun Sep 5 10:25:38 2021 +0300 libX11: do not crash in GetResReq() macro When _XGetRequest() detects that requested length exceeds remaining display output buffer capacity it would return NULL. GetResReq() macro obtains "req" pointer from a call to _XGetRequest() and then proceeds to assign request id through "req" pointer which leads to NULL pointer dereference in this case. Fix this by checking if "req" is valid before assigning request id. Signed-off-by: Igor V. Kovalenko commit e92efc63acd7b377faa9e534f4bf52aaa86be2a9 Author: Peter Hutterer Date: Tue Jul 27 11:46:19 2021 +1000 makekeys: handle the new _EVDEVK xorgproto symbols These keys are all defined through a macro in the form: #define XF86XK_BrightnessAuto _EVDEVK(0x0F4) The _EVDEVK macro is simply an offset of 0x10081000. Let's parse these lines correctly so those keysyms end up in our hashtables. Signed-off-by: Peter Hutterer commit d01d23374107f6fc55511f02559cf75be7bdf448 Author: Alex Richardson Date: Wed Jun 16 12:17:04 2021 +0100 Avoid undefined behaviour after realloc() Adding the offset between the realloc result and the old allocation to update pointers into the new allocation is undefined behaviour: the old pointers are no longer valid after realloc() according to the C standard. While this works on almost all architectures and compilers, it causes problems on architectures that track pointer bounds (e.g. CHERI or Arm's Morello): the value_list pointers will still have the bounds of the previous allocation and therefore any dereference will result in a run-time trap. I found this due to a crash (dereferencing an invalid capability) while trying to run `xev` over SSH on a CHERI-RISC-V system. With these two realloc changes, and https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/41 I am able to succesfully run `xev` compiled for CHERI-RISC-V. Signed-off-by: Alex Richardson commit 1c845834a32421abb59408aee259ac0bef054d30 Author: Alex Richardson Date: Tue Jun 15 08:46:53 2021 +0100 Fix cross-compilation from macOS We can't use `LC_CTYPE=C sed` there since /usr/bin/sed is not compatible with the expressions in nls/ (`sed: RE error: illegal byte sequence`). To fix this use $(SED) instead which autotools will set to a GNU version of sed (usually /usr/local/bin/gsed) on macOS. Signed-off-by: Alex Richardson commit 401f58f8ba258d4e7ce56a8f756595b72e544c15 Author: Lev Korol Date: Sun Apr 11 21:57:45 2021 +0300 nls: Add en_IL locale Signed-off-by: Lev Korol commit f906fe8e9769e4313294b68e61c402610ade69da Author: Alan Coopersmith Date: Sat Jun 5 09:12:13 2021 -0700 libX11 1.7.2 Signed-off-by: Alan Coopersmith commit 51b73ac0acda65005c8a9f17ca4ea7281b00ca84 Author: Tobias Stoeckmann Date: Sun May 23 15:05:17 2021 +0200 Protect against overly long strings Checking against upper limit of USHRT_MAX must happen before truncating size_t to int. On 64 bit systems with strings larger than 2 GB this could otherwise lead to negative ints or ints smaller than USHRT_MAX. In XParseColor this could lead to out of boundary access with strings starting with a # (color sequence). A modulo 12 operation is performed to validate the string length, but with an overflown length, the for loop would eventually read behind terminating '\0' character. Signed-off-by: Tobias Stoeckmann commit ab2f59530b16bdfbf023b8e025c7c8aba3b6fd0c Author: Matthieu Herrb Date: Sun May 30 16:33:48 2021 +0200 Check for NULL strings before getting their lengths Problem reported by Karsten Trulsen Signed-off-by: Matthieu Herrb commit a8216e8653a246db664e1443ecf707b27de65067 Author: Matthieu Herrb Date: Sat May 22 17:35:47 2021 +0200 include always, not if HAVE_CONFIG_H is set. via Matthew Green from the NetBSD project Signed-off-by: Matthieu Herrb commit 6953a586df4819143c4d55e011b3a5e5377981b8 Author: Matthieu Herrb Date: Tue May 18 15:27:58 2021 +0200 Version 1.7.1 Release notes in README.md, version bump in configure.ac commit 8d2e02ae650f00c4a53deb625211a0527126c605 Author: Matthieu Herrb Date: Fri Feb 19 15:30:39 2021 +0100 Reject string longer than USHRT_MAX before sending them on the wire The X protocol uses CARD16 values to represent the length so this would overflow. CVE-2021-31535 Signed-off-by: Matthieu Herrb commit 838ea5a5a0267c25b20c095c9a70684edeeefba4 Author: Gaurav Ujjwal Date: Sun May 9 05:04:36 2021 +0000 Fix out-of-bound access in KeySymToUcs4() Array `keysym_to_unicode_590_5fe` is only valid for range [0x590, 0x5fe] but current lower-bound is checked against 0x589. So invalid values from 0x58a to 0x58f are being allowed by current check. If any of these invalid value is passed as `keysym`, `keysym - 0x590` would underflow. Signed-off-by: Gaurav Ujjwal commit 32491b02c76ac22f99dc433a32466e22bdc181a7 Author: Christopher Chavez Date: Mon May 3 15:46:44 2021 +0000 Xlib.h: spelling fix in comment commit 5faa8dc0b364f55f19034c370436074646d9ad54 Author: Benno Schulenberg Date: Tue Nov 24 18:54:24 2020 +0100 nls: adjust three comments about the APL compose sequences Commit 0bbc0d5e605e (from eight years ago) removed the lines that two of these comments referred to. Without those lines, the comments don't make sense any more. Reword and shorten them. Also reword a comment about two sequences that don't work. Signed-off-by: Benno Schulenberg commit b126bfd7fe990b8c1df088f55c31d9b3fd440cde Author: Benno Schulenberg Date: Tue Nov 24 12:23:32 2020 +0100 nls: allow composing all breved letters also with a lowercase "u" The letters ă and ŭ can already be composed with "u a" and "u u", but ĕ, ğ, ĭ, and ŏ can be composed only with an uppercase U. Emancipate the latter four and understand also a lowercase "u" to mean 'breve'. (Yesterday I needed ğ and was annoyed that "u g" did not work.) Signed-off-by: Benno Schulenberg commit 78027fdb7aa07621a3b7cdf37050bae39012f2fb Author: Walter Harms Date: Sat Nov 28 21:05:33 2020 +0100 fix same roff code Signed-off-by: Walter Harms commit 4f15cfc64548098fef3ddd24f7359b76cf1bbda7 Author: Walter Harms Date: Sat Nov 28 20:56:35 2020 +0100 Fix some roff code add see also Signed-off-by: Walter Harms commit daa106927f78e6c5c9c36558a4b951d7cb58a8d1 Author: Walter Harms Date: Sat Nov 28 17:49:25 2020 +0100 fix broken nroff coding for code comments the comments /* */ are code as /\(** */ that does not work. the coding in other X11 man pages is /\&* */ so we do the same here. commit 7bdeae239b17db002964ac73d06f43f216d1cf86 Author: Walter Harms Date: Fri Nov 27 22:43:21 2020 +0100 FIX: warning: macro `hN' not defined Signed-off-by: Walter Harms commit b7ec67d3ea78ab68857328d8f72d923324e68cc2 Author: Walter Harms Date: Fri Nov 27 22:26:15 2020 +0100 FIX: warning: macro `IN' not defined just remove an other dead macro use. commit 7ca3ceb9175a829a40c347cb3b2e98341ec5a2df Author: Walter Harms Date: Fri Nov 27 21:58:04 2020 +0100 fix warning: macro `s' not defined this is caused by bad nroff coding, fix some more issues on the fly commit 14fb4e535626ba934cad5bc4308f511524cd1103 Author: Walter Harms Date: Fri Nov 27 20:04:22 2020 +0100 FIX: warning: macro `hN' not defined this was found by checking man pages with groff -t -mandoc -Z -wmac -Tutf8 $FILE >/dev/null In most cases .hN could be replaced with .BR Signed-off-by: Walter Harms commit cb03da4447aa53e8e5382f124917d89b50148036 Author: Walter Harms Date: Fri Nov 27 19:00:00 2020 +0100 FIX: warning: macro `Pn' not defined The missing macro is found via: roff -t -mandoc -Z -wmac -Tutf8 XAnyEvent.man >/dev/null To fix the problem the macro is replaced with .RB. Signed-off-by: Walter Harms commit cc9f8878f2cbe17c7b4035b4ff4352b52ece38e0 Author: Benno Schulenberg Date: Wed Nov 25 16:58:27 2020 +0100 nls: add 'C.utf8' as an alias for 'en_US.UTF-8' The normal form is 'C.UTF-8', but 'C.utf8' has been seen in the wild. Fixes #102. Reported-by: Tomas Korbar Signed-off-by: Benno Schulenberg commit ca8115186f810eccb7d86b0979980eff3ba95f0b Author: Keith Packard Date: Thu Nov 19 11:30:41 2020 -0800 Version 1.7.0 Release notes in README.md, version bump in configure.ac Signed-off-by: Keith Packard commit 325ac177fb6d38f4c7689d9ce059792eaef388ef Author: Keith Packard Date: Mon Nov 16 15:48:40 2020 -0800 Update libX11 .so version to 6.4.0 There have been API additions since the previous release, so the .so version needs to change. Signed-off-by: Keith Packard commit 103e2e11519984aa5746c06e7d90d1f5bc8174a3 Author: Alan Coopersmith Date: Sat Oct 31 09:24:01 2020 -0700 Don't leave dangling pointers in Free functions While these are mostly called during teardown of larger structures that are about to themselves be freed, there's no guarantee that will always be the case, so try to be safer here. [ This bug was found by the Parfait 4.0 bug checking tool. http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies as suggested by @keithp Signed-off-by: Alan Coopersmith commit 7d70e302218e2ec8518548ddcdc02d828e7889af Author: Alan Coopersmith Date: Sat Oct 31 08:56:34 2020 -0700 XimProto.h: wrap XIM_HEADER_SIZE definition in parens Resolves parfait warning of potential macro misinterpretation if expanded in the midst of other arithmetic operations with higher precedence. Signed-off-by: Alan Coopersmith commit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a Author: Keith Packard Date: Tue Nov 17 13:15:18 2020 -0800 Copy locale modifiers when creating XimInstCallback [v2] Locale modifiers may be freed whenever XSetLocaleModifiers gets called, even if the locale hasn't changed. This means that we cannot save a pointer to those modifiers in the XimInstCallback record and must, instead, make a copy of them instead. This fixes a problem uncovered when running wish under libasan as follows (on current Debian unstable): $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish Reported-by: Vittorio Zecca Signed-off-by: Keith Packard v2: Remove incorrect 'else' token found by @alanc commit 960e2e0cfac12c3477c672d0d40818a0dc74aca5 Author: Peter Hutterer Date: Mon Nov 16 09:34:57 2020 +1000 gitlab CI: add a basic build test Using Arch as base distribution here because we can expect our dependencies to be up-to-date. We rely on the Arch for our dependencies rather than building those from git (notably: xorg-macros, xtrans and libxcb). Signed-off-by: Peter Hutterer commit dbb55e1a5e82870466b095097d9e46046680ec25 Author: Frediano Ziglio Date: Wed Jan 29 09:06:54 2020 +0000 Fix poll_for_response race condition In poll_for_response is it possible that event replies are skipped and a more up to date message reply is returned. This will cause next poll_for_event call to fail aborting the program. This was proved using some slow ssh tunnel or using some program to slow down server replies (I used a combination of xtrace and strace). How the race happens: - program enters into poll_for_response; - poll_for_event is called but the server didn't still send the reply; - pending_requests is not NULL because we send a request (see call to append_pending_request in _XSend); - xcb_poll_for_reply64 is called from poll_for_response; - xcb_poll_for_reply64 will read from server, at this point server reply with an event (say sequence N) and the reply to our last request (say sequence N+1); - xcb_poll_for_reply64 returns the reply for the request we asked; - last_request_read is set to N+1 sequence in poll_for_response; - poll_for_response returns the response to the request; - poll_for_event is called (for instance from another poll_for_response); - event with sequence N is retrieved; - the N sequence is widen, however, as the "new" number computed from last_request_read is less than N the number is widened to N + 2^32 (assuming last_request_read is still contained in 32 bit); - poll_for_event enters the nested if statement as req is NULL; - we compare the widen N (which now does not fit into 32 bit) with request (which fits into 32 bit) hitting the throw_thread_fail_assert. To avoid the race condition and to avoid the sequence to go back I check again for new events after getting the response and return this last event if present saving the reply to return it later. To test the race and the fix it's helpful to add a delay (I used a "usleep(5000)") before calling xcb_poll_for_reply64. Original patch written by Frediano Ziglio, see https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34 Reworked primarily for readability by Peter Hutterer, see https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53 Signed-off-by: Peter Hutterer commit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277 Author: Keith Packard Date: Sat Nov 7 22:22:47 2020 -0800 Avoid recursing through _XError due to sequence adjustment This patch is based on research done by Dmitry Osipenko to uncover the cause of a large class of Xlib lockups. _XError must unlock and re-lock the display around the call to the user error handler function. When re-locking the display, two functions are called to ensure that the display is ready to generate a request: _XIDHandler(dpy); _XSeqSyncFunction(dpy); The first ensures that there is at least one XID available to use (possibly calling _xcb_generate_id to do so). The second makes sure a reply is received at least every 65535 requests to keep sequence numbers in sync (possibly generating a GetInputFocus request and synchronously awaiting the reply). If the second of these does generate a GetInputFocus request and wait for the reply, then a pending error will cause recursion into _XError, which deadlocks the display. One seemingly easy fix is to have _XError avoid those calls by invoking InternalLockDisplay instead of LockDisplay. That function does everything that LockDisplay does *except* call those final two functions which may end up receiving an error. However, that doesn't protect the system from applications which call some legal Xlib function from within their error handler. Any Xlib function which cannot generate protocol or wait for events is valid, including many which invoke LockDisplay. What we need to do is make LockDisplay skip these two function calls precisely when it is called from within the _XError context for the same display. This patch accomplishes this by creating a list of threads in the display which are in _XError, and then having LockDisplay check the current thread against those list elements. Inspired-by: Dmitry Osipenko Signed-off-by: Keith Packard Tested-by: Dmitry Osipenko Reviewed-by: Dmitry Osipenko commit c9c4d6efbf92ab51695e2e740319503221d68eed Author: Benno Schulenberg Date: Fri Nov 13 11:34:04 2020 +0100 nls: improve the comments for the Serbian compose sequences Also put an extra space before the lone combining characters so they have some room to breathe. Signed-off-by: Benno Schulenberg commit 3497dae3d9c52a252110b2a0983b82000be0fe8e Author: Benno Schulenberg Date: Fri Nov 13 11:23:09 2020 +0100 nls: remove mistaken Serbian compose sequences with combining diacritics Combining characters are not dead keys -- they have an immediate effect and combine with the preceding character. So they cannot be used in compose sequences. Signed-off-by: Benno Schulenberg commit 5cd60398b7787297008b13a848ed3cfbd7ef178d Author: Benno Schulenberg Date: Mon Nov 2 16:34:39 2020 +0100 nls: rename the obsolete sr_CS locale to sr_RS Fixes #107, for the most part. Signed-off-by: Benno Schulenberg commit 7cf1729590534e257b851899cf03421b65c538e3 Author: Keith Packard Date: Sat Nov 7 17:02:56 2020 -0800 Don't attempt to unload locale context data Most locale context users call _XlcCurrentLC, which returns a pointer which never needs to be passed to _XCloseLC, meaning it has unbounded lifetime, so that locale data can never be freed. Remove all reference counting and just leave all locales that were ever used in memory. Signed-off-by: Keith Packard Acked-by: Martin Peres commit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d Author: Jacek Caban Date: Mon Aug 14 19:20:19 2017 +0200 Don't cache last lcd in _XlcCurrentLC. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway. Signed-off-by: Jacek Caban Signed-off-by: Keith Packard Acked-by: Martin Peres commit 7a38c09b82ee2522d987c3da4af8af186e562c61 Author: Keith Packard Date: Sat Nov 7 16:59:37 2020 -0800 Don't cache converters in _Xlcmbtowc and Xlcwctomb These functions were caching encoding conversion functions in static variables which is not thread safe. Let the conversion loader do its job and cache locale to converters there. It's less efficient, but it's also (now) thread safe. Signed-off-by: Keith Packard Acked-by: Martin Peres commit b52ba5c209165fc2c533b77b86147b31763299f3 Author: Jacek Caban Date: Mon Aug 14 19:20:20 2017 +0200 Make conv_list thread safe. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 Signed-off-by: Jacek Caban Signed-off-by: Keith Packard Acked-by: Martin Peres commit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956 Author: Antti Savolainen Date: Wed Sep 16 07:47:26 2020 +0000 Added DOWNWARD ARROW support commit 7138826dccba9d538dfb142ce9af1a40d64ea849 Author: Antti Savolainen Date: Tue Sep 8 00:54:23 2020 +0300 Added support for UPWARDS ARROW and ALMOST EQUAL TO Signed-off-by: Antti Savolainen commit 56d59299f7433cdeb88bac970b06eb7df44df5bb Author: Jonathan Belsewir Date: Thu Nov 5 22:57:50 2020 +0000 Add less and greater to characters that are difficult to access on some keyboards commit 5caf45f8d3bebad5b72ac88545adc156ccfd754d Author: Benno Schulenberg Date: Fri Oct 23 17:12:22 2020 +0200 nls: Allow all letters with a caron to be composed also with v. It was strange that the accented letters Ž and ž can be composed with sequences that start with "v" ("v Z" and "v z"), but not Č and č and Š and š (and other letters with a caron). For these letters, compose sequences that start with a "c" had to be used, which was frustrating because it is hard to remember that "c" stands for "caron", AND the graphically more obvious "v" is right next to it. (Unfortunately, the sequence "v l" is already taken for vertical line. Maybe the compose sequences for vertical line could be reduced to just "V L" and "L V"?) Signed-off-by: Benno Schulenberg commit 62de4ac9025e2cb3f62a890241c06ebc75acce62 Author: Benno Schulenberg Date: Sun Nov 1 20:23:55 2020 +0100 nls: vertically align the target column of aliases Also improve the grammar of the initial comment. Signed-off-by: Benno Schulenberg commit f5b26a16ef959fc6860e9cf58b97a042600900b4 Author: Benno Schulenberg Date: Sun Nov 1 20:17:05 2020 +0100 nls: remove some twenty aliases that have been obsolete for fifteen years Signed-off-by: Benno Schulenberg commit 3e61f3b49660e081108f06bc514366f1784cb2e0 Author: Benno Schulenberg Date: Sun Nov 1 19:50:56 2020 +0100 nls: remove country-specific aliases for two constructed languages These artificial languages are meant to be international and are thus not specific to any country. If one would want to support aliases like ia_FR or ia_CH, then one would also have to support ia_AU, ia_DE, ia_ES, et cetera, et cetera. That would be silly. Signed-off-by: Benno Schulenberg commit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c Author: Benno Schulenberg Date: Sun Nov 1 17:28:24 2020 +0100 nls: remove four aliases where the name is identical to the definition They were found with: while read one two; do if [[ $one == $two: ]]; then echo $two; fi; done commit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7 Author: Carlos Garnacho Date: Fri Jun 14 17:55:14 2019 +0200 Add XSetIOErrorExitHandler() function This function complements XSetIOErrorHandler(), allowing to override the default behavior that trusts on I/O errors never coming back (i.e. exit()ing the process). This is meant as a mechanism for Wayland compositors (that are too a X11 client + compositing manager) to unfasten seatbelts and jump through the car window. It might get lucky and land on a stack of pillows. In consequence, some functions labeled as _X_NORETURN can as a matter of fact return. So those hints were removed. Signed-off-by: Carlos Garnacho Reviewed-by: Michel Dänzer commit 4cb758019e374fa7c022fe79d28444e13441717b Author: Carlos Garnacho Date: Fri Jun 14 17:54:47 2019 +0200 Prepare for _XIOError() possibly returning Ensure current state is cut short on _XIOError(), possible reentrancy should be skipped through the XlibDisplayIOError flag checks. Signed-off-by: Carlos Garnacho Reviewed-by: Michel Dänzer commit a37986f7a7d4ae9b8292b132dbb0da2885ea919c Author: Ross Burton Date: Wed Jan 22 17:11:23 2020 +0000 cpprules.in: squash whitespace in generated files CPP is used to generate files, but as cpp reads files from the build host the output has a number of blank lines at the beginning which varies depending on what GCC and friends is used. Pathalogical example: $ cpp -undef -traditional /dev/null # 1 "/dev/null" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 17 "/usr/include/stdc-predef.h" 3 4 [ 40 blank line ] # 32 "" 2 # 1 "/dev/null" So depending on the content of stdc-predef.h and what other headers CPP will load, the amount of whitespace in the generates files varies. This can result in differences in reproducible environments, and file conflicts in multilib environments. As whitespace is irrelevant to these machine-readable files, extend the sed to just delete blank lines. commit 16192ce2a7e462e09f95aa45ce9eaa180e483c43 Author: Carmina16 Date: Sun Jun 16 02:54:25 2019 +0000 Adding ia and ie locales commit caa71668af7fd3ebdd56353c8f0ab90824773969 Author: Alan Coopersmith Date: Mon Sep 28 16:16:07 2020 -0700 Use __builtin_popcountl if available to replace Ones() in GetImage.c If the compiler knows of a better algorithm for counting the number of bits set in a word for the target CPU, let it use that, instead of the classic algorithm optimized for PDP-6. Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b Signed-off-by: Alan Coopersmith commit 1a9269a95c353e3de9f4d33bab9f1363d84e79db Author: Krzesimir Nowak Date: Mon Jun 1 12:58:30 2020 +0000 Fix leaking modifiers string. Reported by valgrind: ``` ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675 ==118175== at 0x483A809: malloc (vg_replace_malloc.c:307) ==118175== by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0) ==118175== by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0) ==118175== by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324) ==118175== by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455) ==118175== by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532) ==118175== by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206) ==118175== by 0x402634: main (fade.cc:35) ``` commit d127217f26df1bf7566c1f372d8b5329a06754ea Author: Alan Coopersmith Date: Sun Aug 16 17:03:24 2020 -0700 Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings Gets rid of: src/xkb/XKBBind.c: In function ‘XLookupKeysym’: src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations] 234 | return XKeycodeToKeysym(dpy, event->keycode, col); | ^~~~~~ src/xkb/XKBBind.c:96:1: note: declared here 96 | XKeycodeToKeysym(Display *dpy, | ^~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith commit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5 Author: Alan Coopersmith Date: Sun Aug 16 16:50:43 2020 -0700 lcUTF8: Increase string buffer size from 20 to 32 bytes While we don't expect large enough ints to need it, we don't enforce a maximum size, so gcc assumes the worst and warns: ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’: ../../../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=] 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); | ^~~~~~~~~~~~~ ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); | ^ ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../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=] 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); | ^~~~~~~~~~~~~ ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); | ^ ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith commit 54925250ad9c825bea671dcade5c913bad88abee Author: Alan Coopersmith Date: Sun Aug 16 16:33:59 2020 -0700 i18n: use memcpy instead of strncpy on unterminated char arrays Avoids gcc warnings that we're using strncpy wrong to copy a known-length set of characters without a terminating '\0' to a buffer whose length we are checking separately. (Should also be imperceptibly faster since we no longer check if each byte is '\0' when we already know it won't be.) Signed-off-by: Alan Coopersmith commit 8754868dbbbc5fa096282df0504aa7880488eeb9 Author: Alan Coopersmith Date: Sun Aug 16 16:02:01 2020 -0700 Mark FreeBlueTblElements label unused in LRGB.c Quiets gcc 10.2 warning of: src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’: src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined but not used [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label] 798 | FreeBlueTblElements: | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith commit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e Author: Alan Coopersmith Date: Sun Aug 16 14:54:47 2020 -0700 Raise minimum required xproto version to 7.0.25 (released 2013-11-23) Allows us to depend on _X_COLD directly instead of having to check for it. (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required already but not checked for.) Signed-off-by: Alan Coopersmith commit deafb99fd8faf8b044eaee13d072440ce4db76af Author: Maya Rashish Date: Sun Aug 23 21:19:33 2020 +0300 Avoid the use of "register" keyword in public headers. This causes issues when compiling code for C++17. commit 505420662577749e36640db48f6b6b9ae0236e09 Author: Matthieu Herrb Date: Mon Aug 24 15:42:25 2020 +0200 libX11 1.6.12 Signed-off-by: Matthieu Herrb commit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d Author: Matthieu Herrb Date: Thu Aug 13 18:02:58 2020 +0200 Fix an integer overflow in init_om() CVE-2020-14363 This can lead to a double free later, as reported by Jayden Rivers. Signed-off-by: Matthieu Herrb commit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b Author: Niclas Zeising Date: Tue Aug 11 13:44:38 2020 +0200 Fix input clients connecting to server Fix a bug where some input clients can't connect to the input server. This fixes #117. FreeBSD bugzilla reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549 Signed-off-by: Niclas Zeising commit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c Author: Maya Rashish Date: Sat Aug 15 00:48:56 2020 +0300 Avoid the use of "register" keyword in XkbTranslateKeySym. This causes issues when compiling code for C++17. While here, make function prototype match the header with regards to removal of another register keyword. commit 780d222343098b4bfe3ec529b4a0dc2aadea19bf Author: Christopher Chavez Date: Mon Aug 10 17:08:39 2020 +0000 Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage commit 29a8251a456bb7dc10146b4713f499a624d6dacd Author: Felix Yan Date: Thu Aug 6 16:03:38 2020 +0000 Correct a typo in GetStCmap.c commit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70 Author: Alan Coopersmith Date: Thu Aug 6 08:07:57 2020 -0700 libX11 1.6.11 Signed-off-by: Alan Coopersmith commit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b Author: Yichao Yu Date: Sun Aug 2 13:43:58 2020 -0400 Fix size calculation in `_XimAttributeToValue`. The check here guards the read below. For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers` these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`. (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this function and doesn't need to be checked.) The old code here used the native datatype size instead of the wire protocol size causing the check to always fail. Also fix the size calculation for the header (size). It is 2 x CARD16 for both types despite the unused `CARD16` for `XimType_XIMStyles`. [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10. Fix #116 commit 9949364ea761ab7efa2a9930ec7718f966a740c0 Author: Matthieu Herrb Date: Thu Jul 30 21:36:22 2020 +0200 libX11 1.6.10 Signed-off-by: Matthieu Herrb commit 1703b9f3435079d3c6021e1ee2ec34fd4978103d Author: Matthieu Herrb Date: Fri Jul 24 21:09:10 2020 +0200 Change the data_len parameter of _XimAttributeToValue() to CARD16 It's coming from a length in the protocol (unsigned) and passed to functions that expect unsigned int parameters (_XCopyToArg() and memcpy()). Signed-off-by: Matthieu Herrb Reviewed-by: Todd Carson commit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 Author: Todd Carson Date: Fri Jul 24 20:59:32 2020 +0200 Zero out buffers in functions It looks like uninitialized stack or heap memory can leak out via padding bytes. Signed-off-by: Matthieu Herrb Reviewed-by: Matthieu Herrb commit 2fcfcc49f3b1be854bb9085993a01d17c62acf60 Author: Todd Carson Date: Fri Jul 24 20:22:44 2020 +0200 Fix more unchecked lengths Signed-off-by: Matthieu Herrb Reviewed-by: Matthieu Herrb commit 388b303c62aa35a245f1704211a023440ad2c488 Author: Todd Carson Date: Fri Jul 24 19:36:51 2020 +0200 fix integer overflows in _XimAttributeToValue() Signed-off-by: Matthieu Herrb Reviewed-by: Matthieu Herrb commit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e Author: Todd Carson Date: Fri Jul 24 19:33:30 2020 +0200 Fix signed length values in _XimGetAttributeID() The lengths are unsigned according to the specification. Passing negative values can lead to data corruption. Signed-off-by: Matthieu Herrb Reviewed-by: Matthieu Herrb commit 2b7598221d87049d03e9a95fcb541c37c8728184 Author: Alan Coopersmith Date: Wed Jul 22 15:19:58 2020 -0700 Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith commit f9e3378ebcfc79ff00591b8617a68e97580a741e Author: Samuel Thibault Date: Sun Jul 19 22:19:24 2020 +0200 xlibi18n: Fix converting horizline keysyms to UCS U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is unified with scan line 5. Signed-off-by: Samuel Thibault commit 4385a84c4a79c1b60bf12839899a1544198de975 Author: Samuel Thibault Date: Thu Jun 4 02:19:13 2020 +0200 Braille: Fix default lookup cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that translates Braille keysym patterns to Braille Unicode patterns since it rightfully clears brl_committing, but then we do not have it any more to fill brl_committed. This change saves the committed pattern so we can return it in the default lookup. Signed-off-by: Samuel Thibault commit fb65b67169105c82c243f265e0f993cf72efdacd Author: Marko Myllynen Date: Fri Feb 28 13:59:36 2020 +0200 Update Finnish compose sequences for SFS 5966:2019 standard U0219, U0218, U021B, U021A are now part of the standard. Fixes #70 which was printed incorrectly in the earlier standard version. commit 07724ce046348a21cc82a874853b14b9a285df75 Author: Tristan Miller Date: Wed Sep 25 13:34:01 2019 +0200 Add acute accent compose sequences for Russian vowels. Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104 Signed-off-by: Tristan Miller commit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507 Author: Thomas E. Dickey Date: Sat Apr 25 14:40:54 2020 -0400 document an ancient performance problem (see Debian #954845). Signed-off-by: Thomas E. Dickey commit 791c93816ce0520d54925b0b3ccbc29823370041 Author: Thomas E. Dickey Date: Sat Apr 25 14:22:11 2020 -0400 update/correct function prototypes in manpages to match headers Signed-off-by: Thomas E. Dickey commit 844271305a28e87031562dfeb43defbea02960a2 Author: Thomas E. Dickey Date: Tue Apr 21 20:53:35 2020 -0400 reduce gcc-normal warnings using casts (no object change) Signed-off-by: Thomas E. Dickey commit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca Author: Thomas E. Dickey Date: Tue Apr 21 18:13:22 2020 -0400 reduce gcc-normal warnings using casts (no object change) Signed-off-by: Thomas E. Dickey commit 68c72a7341b114277ab232f2499ee3bd035af8a0 Author: Adam Jackson Date: Wed Dec 11 11:53:11 2019 -0500 Fix XTS regression in XCopyColormapAndFree XCopyColormapAndFree/5 threw an assertion: 520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A) 520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap, 520|4 5 00014017 1 4|then a BadColor error occurs. 520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap. 520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument. 520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs. 520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received 220|4 5 2 15:05:53|UNRESOLVED 410|4 5 1 15:05:53|IC End 510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) More specifically: lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed. This bug was introduced (by following my advice, d'oh) in: commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d Author: Tapani Pälli Date: Mon May 13 08:29:49 2019 +0300 Protect colormap add/removal with display lock In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the display lock. The problem is said routine has side effects, including trying to implicitly create a colormap in some cases. Since we don't run the XID handler until SyncHandle() we would see inconsistent internal xlib state, triggering the above assert. Fix this by dropping and re-taking the display lock before calling into XCMS. Reviewed-by: Tapani Pälli commit 7f46a38139f66fda734f3a6c445b84ea89c8f310 Author: Alex Henrie Date: Wed Jan 1 14:54:06 2020 -0700 Handle small final sigma in XConvertCase lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2) uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3) This mapping was correct in UCSConvertCase, but the "legacy" mapping must also be correct for Caps Lock to work with the final sigma key. https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5 Signed-off-by: Alex Henrie commit a48787d3d155c8a09cead345f5055da30c1db537 Author: Peter Hutterer Date: Wed Dec 11 14:12:27 2019 +1000 Handle ssharp in XConvertCase() lowercase: LATIN SMALL LETTER SHARP S (U+00DF) uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E) The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode but was added to the relevant keyboard layouts in xkeyboard-config-2.25 (d1411e5e95c) https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144 Alas, the CapsLock behavior was broken on the finnish layout (maybe others). This was due to xkbcomp using XConvertCase() to determine whether a key requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC. Let's make this function return the right lower/upper symbols for the sharp s and hope that the world won't get any worse because of it. https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110 Signed-off-by: Peter Hutterer commit b8766a438461e20b5c6f7a6111b703d4cb71501f Author: Raul Fernandes Date: Wed Oct 9 18:39:26 2019 +0000 Use memcmp and memcpy commit db7cca17ad7807e92a928da9d4c68a00f4836da2 Author: Adam Jackson Date: Wed Oct 9 13:41:29 2019 -0400 libX11 1.6.9 Signed-off-by: Adam Jackson commit f5ba2c632a4c84279bdd48c687271292f5dc4f87 Author: Dmitry Osipenko Date: Sat May 18 19:10:32 2019 +0300 Fix lockup in _XReply() caused by recursive synchronization This patch is based on a suggestion made by Uli Schlachter in a comment to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93. Explanation of the bug (given by Uli Schlachter as well): An error was received and handled. Since there was an error callback set, Xlib unlocks the display, runs the error callback, and then locks the display again. This goes through _XLockDisplay and then calls _XSeqSyncFunction. On this "lock the thing"-path, Xlib notices that sequence numbers are close to wrap-around and tries to send a GetInputFocus request. However, the earlier calls already registered themselves as "we are handling replies/errors, do not interfere!" and so the code here waits for "that other thread" to be done before it continues. Only that there is no other thread, but it is this thread itself and thus a deadlock follows. The bug is relatively easy to reproduce on any desktop environment by using actively a touchscreen input that supports multitouch, i.e. practically all mobile devices are affected. Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93 Suggested-by: Uli Schlachter Tested-by: Dmitry Osipenko Reported-by: Dmitry Osipenko Signed-off-by: Dmitry Osipenko commit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905 Author: Adam Jackson Date: Fri Sep 13 16:44:32 2019 -0400 xkb: Provide ourselves This header refers to libX11 types, it doesn't belong in xorgproto and has been moved to legacy in 2019.2. Supply it ourselves. commit edc7680ed5a03cedb5facf14693823455e12c29c Author: Ross Burton Date: Tue Aug 6 14:53:43 2019 +0100 src/util/Makefile: explicitly reset LINK to not use libtool Simply looking at libtool redefines LINK globally to use libtool, which when you're trying to cross-compile to Windows can cause complications. As in src/util/ we're simply building a small binary for the build host, reset LINK to the automake default so that the traditional compile/link steps occur without libtool. Also remove -all-static from LDFLAGS as that is a libtool-specific argument intended to solve this problem. Closes: #100 Signed-off-by: Ross Burton commit f111bf3ac091a3a6d1f094172621d9d033c3833c Author: Thomas E. Dickey Date: Tue Jul 30 16:53:27 2019 -0400 improve some formatting Signed-off-by: Thomas E. Dickey commit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9 Author: Thomas E. Dickey Date: Tue Jul 30 15:49:09 2019 -0400 fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/" Signed-off-by: Thomas E. Dickey commit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98 Author: Thomas E. Dickey Date: Tue Jul 30 05:07:40 2019 -0400 split lines at sentence endings Signed-off-by: Thomas E. Dickey commit 6f2cbcea5d6dcd1df7ef309481cad1663284c061 Author: Thomas E. Dickey Date: Tue Jul 30 04:52:25 2019 -0400 trim trailing whitespace from manpages Signed-off-by: Thomas E. Dickey commit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5 Author: Thomas E. Dickey Date: Tue Jul 30 04:36:24 2019 -0400 another fake-quote fix Signed-off-by: Thomas E. Dickey commit c0f0651f2b4dfa9fef86d1374689220125631993 Author: Thomas E. Dickey Date: Tue Jul 30 04:34:54 2019 -0400 the last commit overlooked some fake-quote pairs Signed-off-by: Thomas E. Dickey commit ef31143c9decda54b3ab2937d3300fcf5b493fd6 Author: Walter Harms Date: Mon Jul 29 18:50:19 2019 +0200 fix ``fake quotes'' in text to remove the fake quotes replace them with propper predefined macros \*(lq and \*(rq. this will allow nroff to choose the propper characters when using ps etc. Signed-off-by: Walter Harms commit 705027ea9b17d6552388d2067736ab4b0bf9dfb5 Author: Walter Harms Date: Mon Jul 29 18:27:12 2019 +0200 get rid of ``fake quotes'' these fake quotes are inside a comment and can be replaced with some double quotes Signed-off-by: Walter Harms commit fe46eb287106ad05538e896783a5cf877a4138df Author: Walter Harms Date: Mon Jul 29 17:57:02 2019 +0200 remove all private macro defines after converting everything to st. man page macros there is no need to maintain X11 private nroff macros, so remove them. Signed-off-by: Walter Harms commit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764 Author: Walter Harms Date: Mon Jul 29 17:47:35 2019 +0200 Replace home-grown .Ds .De macro with man page .EX/.EE macro Same pages use the man page .EX/.EE macro. Replace all occurences of .De/.Ds with the std. macros to make the code better to maintain. Signed-off-by: Walter Harms commit 951e772bc8d89bc62c4bbac14adc5d4f5027419f Author: Walter Harms Date: Wed Jul 3 18:23:51 2019 +0200 fix TBL format Signed-off-by: Walter Harms commit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e Author: Walter Harms Date: Wed Jul 3 18:18:09 2019 +0200 replace home grown .ZN with std, .B and .BR Replace the home grown macro .ZN with std. macros from man macro paket. So we can get rid of the definition an get a clean header. Signed-off-by: Walter Harms commit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458 Author: Walter Harms Date: Sat Jun 22 18:33:48 2019 +0200 remove in-text macros remove in-text macros an fix a few typos on the way. hopefuly that will make maintenance more easy. Signed-off-by: Walter Harms commit cb0e894fe9927b07bd9d97c067fd0d007accb105 Author: Walter Harms Date: Fri Jun 21 18:01:16 2019 +0200 note that we can handle kbd==NULL Signed-off-by: Walter Harms commit 0327c427d62f671eced067c6d9b69f4e216a8cac Author: Adam Jackson Date: Mon Jun 17 13:36:08 2019 -0400 makekeys: Detach ourselves from X headers entirely Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer building makekeys with enough -I/foo/bar to find the X11 headers, so if they're not in a system include path, things fail. Since this utility is only needed at build time, there's no real reason to demand the X headers be installed for both the build and target machines if cross- compiling, we can just assume a vaguely ANSI environment instead. Tested-by: Niclas Zeising Reviewed-by: Keith Packard Reviewed-by: Matt Turner commit 57f0d421a1320090d3a4948181fe228d86cc8977 Author: Matt Turner Date: Mon Jun 17 10:45:45 2019 -0400 libX11 1.6.8 Signed-off-by: Matt Turner commit 5464b302bc0c4a055d3eac06c6ab15e209ff7668 Author: Matt Turner Date: Sun Jun 9 14:00:15 2019 -0700 Use AC_SYS_LARGEFILE ... and include config.h in makekeys.c to get the definition of _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file system with 64-bit inode numbers. Bug: https://bugs.gentoo.org/550502 Bug: https://bugs.gentoo.org/616140 Signed-off-by: Matt Turner commit 33b9148a833ab2ea46e44871da3c031bf1b78f77 Author: Ran Benita Date: Thu Feb 13 20:55:08 2014 +0200 Compose.man: fix escaped hexadecimal char description The man page says: Strings may be direct text encoded in the locale for which the compose file is to be used, or an escaped octal or hexadecimal character code. Octal codes are specified as "\123" and hexadecimal codes as "\0x123a". But the grammar in the parser and the implementation say: ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) So "\0x123a" -> "\x3a". Signed-off-by: Ran Benita Signed-off-by: Alan Coopersmith commit d9b2cc35edf01e4f751a9ccb5ac185745184cec0 Author: ojab Date: Mon Apr 24 20:12:17 2017 +0000 Compose sequences for rouble sign Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. Signed-off-by: Slava Kardakov Signed-off-by: Alan Coopersmith commit 3f211616f6414bd9958566c0ca137e87a2b6df95 Author: Pavel Labath Date: Fri Nov 30 20:45:04 2012 +0100 Fix a leak in XCreateFontSet a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks, as evidenced by the following valgrind output: ==983== HEAP SUMMARY: ==983== in use at exit: 39,409 bytes in 341 blocks ==983== total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated ==983== ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record 40 of 46 ==983== at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==983== by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0) ==983== by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746) ==983== by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602) ==983== by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92) ==983== ==983== LEAK SUMMARY: ==983== definitely lost: 136 bytes in 1 blocks ==983== indirectly lost: 1,552 bytes in 34 blocks ==983== possibly lost: 0 bytes in 0 blocks ==983== still reachable: 37,721 bytes in 306 blocks ==983== suppressed: 0 bytes in 0 blocks This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the correct code path, and I'm pretty sure this is correct (the object was constructed using _XlcCreateLC, it make sense to destroy it using its conterpart). So far I haven't observed any strange behaviour on my system caused by this change (although, I'm not sure, how many programs actually use this function). Signed-off-by: Pavel Labath Signed-off-by: Alan Coopersmith commit 4645e219133458781e3fb48eaea6a74cccb1b9aa Author: Jon Turney Date: Tue Apr 30 14:39:06 2019 +0100 Avoid using libtool wrapper for makekeys For Windows targets, libtool uses a wrapper executable, not a wrapper script (see [1]), which it compiles with the host compiler. This doesn't work when cross-compiling. Since we don't actually need to link with anything, use the libtool flag -all-static to tell it to stay completely out of this. [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html commit 6886d9ba06826785a8ccb312c04ea82b91bb6a25 Author: Jon Turney Date: Wed Apr 24 12:50:41 2019 +0100 Use EXEEXT_FOR_BUILD for makekeys Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from EXEEXT_FOR_BUILD, such as when building for Windows from unix. (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when cross-compiling. There could be some elaborate autodetection for EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...) commit a121b7b0c210efe10bf93453b29050282324c906 Author: Jon Turney Date: Tue Apr 30 14:30:41 2019 +0100 Remove makekeys dependency on X headers This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 by Pierre Ossman, reworked for master. Avoid using LIBS (which are for host, but we don't need) and rewrite makekeys slightly to avoid needing to include any X headers, which avoids potentially having -I with host paths in CFLAGS, which can cause standard headers e.g. stdio.h for the host to also be used, which can break things... commit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab Author: Samuel Thibault Date: Fri Jun 7 23:35:33 2019 +0200 Braille: Fix typing quickly On finishing releasing Braille keys, we should clear the just-commited pattern, to reset the state to initial state, and avoid having to wait for 0.3s before typing the next pattern. Signed-off-by: Samuel Thibault Tested-by: Jean-Philippe Mengual commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d Author: Tapani Pälli Date: Mon May 13 08:29:49 2019 +0300 Protect colormap add/removal with display lock This fixes a bug where concurrent threads call XCreateColormap and XFreeColormap corrupting a linked list where colormap structures are stored. Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94 v2: handle XCopyColormapAndFree also (Adam Jackson) Signed-off-by: Tapani Pälli commit fea80d03c381a4de379863c0d41f6d4c00f15e1e Author: Jon Turney Date: Wed Mar 13 13:12:20 2019 +0000 Add autoconf checks for headers we include for FIONREAD Add autoconf checks for the extra headers we include to define FIONREAD. This needs sys/socket.h on Cygwin, and none of the alternatives on Windows. commit 87c77a1e6d7034536e9d25ce24a667ebf53486a7 Author: Matthias Dieter Wallnöfer Date: Mon Mar 11 14:19:52 2019 +0000 locale.alias.pre - add the de_IT locale Signed-off-by: Alan Coopersmith commit 568f77f414072506bbe48646637c872987c97e63 Author: Matthias Dieter Wallnöfer Date: Mon Mar 11 14:17:10 2019 +0000 locale.dir.pre - add the de_IT locale Signed-off-by: Alan Coopersmith commit 38c0c92feaef7dc4a72920b1dd79872e6578086c Author: Matthias Dieter Wallnöfer Date: Mon Mar 11 14:12:07 2019 +0000 compose.dir.pre - add de_IT locale Signed-off-by: Alan Coopersmith commit 49f835611ba6ab82e68b7b851507931c142db7a5 Author: Matthias Dieter Wallnöfer Date: Tue Jan 29 15:34:34 2019 +0000 Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH) Signed-off-by: Alan Coopersmith commit ed669234d0cd5933618aa5fd2da697b59845b9be Author: Matthias Dieter Wallnöfer Date: Tue Jan 29 15:28:18 2019 +0000 locale.dir.pre - fix the de_LI latin15 locale Signed-off-by: Alan Coopersmith commit 82b5c1454a49333b4d94984d40db79cff386d37f Author: Josh Triplett Date: Sun Feb 3 08:31:41 2019 +0100 compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences Signed-off-by: Josh Triplett commit 603c3ab25a692194805fd4b0c62afac8093897fe Author: Alan Coopersmith Date: Sat Mar 9 20:58:07 2019 -0800 Add missing close paren to XrmGetStringDatabase synopsis in man page Fixes: commit 0642e99ac05afb0c Signed-off-by: Alan Coopersmith commit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85 Author: Alan Coopersmith Date: Sat Feb 23 11:12:27 2019 -0800 Include reallocarray.h in tarballs so "make distcheck" passes Fixes: commit bcf7b5aa06c23aee Signed-off-by: Alan Coopersmith commit a4a7df06351ce9565d298a84547ff71f2d220fbf Author: Alan Coopersmith Date: Sat Feb 23 11:04:41 2019 -0800 XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris Fixes: commit 5538b3e4ae6dee Signed-off-by: Alan Coopersmith commit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044 Author: Alan Coopersmith Date: Sat Feb 23 10:48:26 2019 -0800 specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys() Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550 Signed-off-by: Alan Coopersmith commit 74f2f26811ae82b15dede31504b0eb541f7a3293 Author: Alan Coopersmith Date: Sat Feb 23 10:46:05 2019 -0800 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys() Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549 Signed-off-by: Alan Coopersmith commit 66b039a41690f076e962ac6bd46cca017360a7d1 Author: Alan Coopersmith Date: Sat Feb 23 10:44:15 2019 -0800 specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows() Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548 Signed-off-by: Alan Coopersmith commit cdea0e840315171f8390adc63a2397ddf111eea4 Author: Alan Coopersmith Date: Sat Feb 23 10:38:08 2019 -0800 specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry() Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82 aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520 Signed-off-by: Alan Coopersmith commit c72d17ada98723cd9e03ddf06680a0e54b2c3089 Author: Alan Coopersmith Date: Sat Feb 23 10:30:32 2019 -0800 XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys Signed-off-by: Alan Coopersmith commit 05002b8aef9544c8545e0823a02cf14f335d2b68 Author: Alan Coopersmith Date: Sun Feb 17 15:13:25 2019 -0800 Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask Reported-by: Daniel Hahler Signed-off-by: Alan Coopersmith commit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c Author: Adam Jackson Date: Fri Mar 24 11:07:36 2017 -0400 _XDefaultIOError: Do better at detecting explicit shutdown Currently, when the X server crashes or a client is disconnected with XKillClient, you get a somewhat confusing error message from libX11 along the lines of: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" after 98 requests (40 known processed) with 0 events remaining. What's happening here is the previous recvmsg has thrown EAGAIN, since the socket is non-blocking. In this case, check whether the socket has any more data to read, and if not treat it like EPIPE. Signed-off-by: Adam Jackson commit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 Author: Adam Jackson Date: Fri Mar 24 11:07:35 2017 -0400 _XDefaultIOError: Reformat to be less ugly Signed-off-by: Adam Jackson Reviewed-by: Alan Coopersmith commit 003e30a66a249f5c70b30d1c187385124cd4cdad Author: Alan Coopersmith Date: Tue Jan 1 14:34:04 2019 -0800 Avoid use-after-free in _XimProtoSetIMValues() Fixes gitlab issue #49 Signed-off-by: Alan Coopersmith commit 30656fd66ad47aeaca0bfc237a818f189554f07e Author: Alan Coopersmith Date: Tue Jan 1 12:21:04 2019 -0800 Fix implicit conversion warnings in _XlcCreateDefaultCharSet lcCharSet.c:187:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc' ~~~~~~ ^~~~ lcCharSet.c:192:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memcpy(tmp, name, name_len+1); ~~~~~~ ~~~~~~~~^~ lcCharSet.c:216:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] memcpy(tmp, ct_sequence, ct_sequence_len+1); ~~~~~~ ~~~~~~~~~~~~~~~^~ lcCharSet.c:183:16: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] name_len = strlen(name); ~ ^~~~~~~~~~~~ lcCharSet.c:184:23: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] ct_sequence_len = strlen(ct_sequence); ~ ^~~~~~~~~~~~~~~~~~~ lcCharSet.c:198:37: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] unsigned int length = colon - charset->name; ~~~~~~ ~~~~~~^~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith commit 2e6300905784fa8adfcea019262ea58b3e1ed4ad Author: Alan Coopersmith Date: Tue Jan 1 11:41:47 2019 -0800 Remove no-longer-used name variable in _XGetAtomName Fixes gcc warning: GetAtomNm.c: In function ‘_XGetAtomName’: GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable] char *name; ^~~~ Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 Signed-off-by: Alan Coopersmith commit f077871c2a12cf098b0c50572e112c6dc5e04de0 Author: Alan Coopersmith Date: Sat Dec 29 11:39:29 2018 -0800 Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb In-tree builds found reallocarray.h in $(top_builddir)/src but the out-of-tree build didn't find it at all. Reported-by: Emmanuele Bassi from GNOME continuous integration pipeline Signed-off-by: Alan Coopersmith commit ba7f7cc783672784bebc6e69349b55c6c75c1973 Author: Alan Coopersmith Date: Sun Sep 27 18:35:27 2015 -0700 Convert src/xlibi18n to use reallocarray() Signed-off-by: Alan Coopersmith commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 Author: Alan Coopersmith Date: Sat Sep 26 11:12:47 2015 -0700 Replace Xmalloc+strcpy pairs with strdup calls Signed-off-by: Alan Coopersmith commit 258a8ced681dc1bc50396be7439fce23f9807e2a Author: Alan Coopersmith Date: Sun Jul 19 11:58:50 2015 -0700 Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray Makes resizing & clearing more consistent and gets rid of some weird quirks like always subtracting 1 from the size passed to _XkbClearElems so it could always add 1 to the size passed in. Signed-off-by: Alan Coopersmith commit f94273e2f4284040306b888e5ca0381ee00591af Author: Alan Coopersmith Date: Sun Jul 19 09:47:29 2015 -0700 Add some missing allocation failure checks in src/xcms Signed-off-by: Alan Coopersmith commit 76850471b4a5a6d30f5660234e87ec2772e7b426 Author: Alan Coopersmith Date: Sun Jul 19 09:33:21 2015 -0700 Convert src/xcms to use reallocarray() Signed-off-by: Alan Coopersmith commit 8a62e26515e528bb47917ec4a55cc2b492419eeb Author: Alan Coopersmith Date: Sun Jul 19 09:24:02 2015 -0700 Convert src/XKB to use reallocarray() Signed-off-by: Alan Coopersmith commit 6d1dc1f6169ebf0ba71785d461bd98129c65c862 Author: Alan Coopersmith Date: Thu Jun 4 23:30:43 2015 -0700 Convert main src directory to use reallocarray() commit bcf7b5aa06c23aee00af7999b58cb96a8571ac42 Author: Alan Coopersmith Date: Thu Jun 4 23:18:23 2015 -0700 Import reallocarray() from OpenBSD Wrapper for realloc() that checks for overflow when multiplying arguments together, so we don't have to add overflow checks to every single call. For documentation on usage, see: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 Signed-off-by: Alan Coopersmith commit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 Author: Alan Coopersmith Date: Mon Nov 19 21:26:23 2018 -0800 Update README for gitlab migration Signed-off-by: Alan Coopersmith commit c8bcc19970a2cc4ad337de1338c63a07325eefcd Author: Albert Astals Cid Date: Fri Nov 9 22:24:52 2018 +0100 locale.dir: Add ast_ES.UTF-8 With this patch xev properly reports XLookupString gives 2 bytes: (c2 b4) "´" for the dead_acute key when using the Asturian locale commit 117bb310b44ce03802c91a70949eb58dcc702a3c Author: Albert Astals Cid Date: Fri Nov 9 22:18:43 2018 +0100 compose.dir: Add ast_ES.UTF-8 With this patch one can properly type dead keys like á when using the Asturian locale commit d7e22252d68258a63ca537827c99d0ac0bc4b9d8 Author: Alan Coopersmith Date: Sat Nov 10 13:30:47 2018 -0800 Remove documentation of obsolete B16 & B32 tags in specs/libX11 Signed-off-by: Alan Coopersmith commit f3c978476e0be6813268af494efb7ac507451116 Author: Matt Turner Date: Tue Oct 9 10:26:05 2018 -0400 libX11 1.6.7 Signed-off-by: Matt Turner commit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 Author: Michel Dänzer Date: Fri Sep 28 17:24:17 2018 +0200 poll_for_event: Allow using xcb_poll_for_queued_event It avoids reading from the display connection again in cases where that was already done. Suggested-by: Uli Schlachter Reviewed-by: Uli Schlachter commit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 Author: Michel Dänzer Date: Tue Sep 25 17:10:58 2018 +0200 poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails If xcb_poll_for_reply fails to find a reply, poll_for_response would always return NULL. However, xcb_poll_for_reply may have read events from the display connection while looking for a reply. In that case, returning NULL from poll_for_response is wrong and can result in the client hanging, e.g. because it returns to waiting for the display connection file descriptor becoming readable after XPending incorrectly returned 0 pending events. The solution is to call poll_for_event again after xcb_poll_for_reply returned 0. This will return the first of any events read by xcb_poll_for_reply. Fixes issue #79. Reported-by: Yuxuan Shui Bugzilla: https://bugs.freedesktop.org/108008 Bugzilla: https://bugs.freedesktop.org/107992 Reviewed-by: Adam Jackson commit d0416863d5bf75af54ce81f6c30d4c1476b5e04f Author: Bhavi Dhingra Date: Mon Sep 28 08:33:40 2015 +0000 XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef Author: Matthieu Herrb Date: Tue Aug 21 16:54:50 2018 +0200 libX11 1.6.6 Signed-off-by: Matthieu Herrb commit 173704243fbcbea0b6de2068b4fb403c7408fb54 Author: Matthieu Herrb Date: Tue Aug 21 16:53:40 2018 +0200 Remove statement with no effect. Signed-off-by: Matthieu Herrb commit e83722768fd5c467ef61fa159e8c6278770b45c2 Author: Tobias Stoeckmann Date: Fri Jul 27 16:38:00 2018 +0200 Fixed crash on invalid reply (CVE-2018-14598). If the server sends a reply in which even the first string would overflow the transmitted bytes, list[0] (or flist[0]) will be set to NULL and a count of 0 is returned. If the resulting list is freed with XFreeExtensionList or XFreeFontPath later on, the first Xfree call: Xfree (list[0]-1) turns into Xfree (NULL-1) which will most likely trigger a segmentation fault. I have modified the code to return NULL if the first string would overflow, thus protecting the freeing functions later on. Signed-off-by: Tobias Stoeckmann commit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea Author: Tobias Stoeckmann Date: Fri Jul 27 16:37:17 2018 +0200 Fixed out of boundary write (CVE-2018-14600). The length value is interpreted as signed char on many systems (depending on default signedness of char), which can lead to an out of boundary write up to 128 bytes in front of the allocated storage, but limited to NUL byte(s). Casting the length value to unsigned char fixes the problem and allows string values with up to 255 characters. Signed-off-by: Tobias Stoeckmann commit b469da1430cdcee06e31c6251b83aede072a1ff0 Author: Tobias Stoeckmann Date: Fri Jul 27 16:36:34 2018 +0200 Fixed off-by-one writes (CVE-2018-14599). The functions XGetFontPath, XListExtensions, and XListFonts are vulnerable to an off-by-one override on malicious server responses. The server replies consist of chunks consisting of a length byte followed by actual string, which is not NUL-terminated. While parsing the response, the length byte is overridden with '\0', thus the memory area can be used as storage of C strings later on. To be able to NUL-terminate the last string, the buffer is reserved with an additional byte of space. For a boundary check, the variable chend (end of ch) was introduced, pointing at the end of the buffer which ch initially points to. Unfortunately there is a difference in handling "the end of ch". While chend points at the first byte that must not be written to, the for-loop uses chend as the last byte that can be written to. Therefore, an off-by-one can occur. I have refactored the code so chend actually points to the last byte that can be written to without an out of boundary access. As it is not possible to achieve "ch + length < chend" and "ch + length + 1 > chend" with the corrected chend meaning, I removed the inner if-check. Signed-off-by: Tobias Stoeckmann commit d81da209fd4d0c2c9ad0596a8078e58864479d0d Author: Tobias Stoeckmann Date: Tue Jul 3 22:31:37 2018 +0200 Validation of server response in XListHosts. If a server sends an incorrect length in its response, a client is prone to perform an out of boundary read while processing the data. The length field of xHostEntry is used to specify the amount of bytes used to represent the address. It is 16 bit, which means that it is not possible to perform an arbitrary memory access, but it might be enough to read sensitive information, e.g. malloc-related pointers and offsets. Signed-off-by: Tobias Stoeckmann Reviewed-by: Matthieu Herrb commit b676e62377483df77bcb6472d26b24f901323fa9 Author: Samuel Thibault Date: Wed Jun 13 15:46:58 2018 +0200 XkbOpenDisplay.3: fix typo XkbOpenDisplay returns a pointer to Display, not a Display. Signed-off-by: Samuel Thibault commit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca Author: Martin Natano Date: Sat Oct 8 19:57:50 2016 +0200 Don't rebuild ks_tables.h if nothing changed. ks_tables.h is always considered out of date due to the forced rebuild of the makekeys util. This means the file is also rebuilt during 'make install', which is usually performed as root, which can to lead permission problems later on. Signed-off-by: Martin Natano Signed-off-by: Alan Coopersmith commit 796f754cba6d75b676a0fc39b97802198fceda4f Author: Alan Coopersmith Date: Sat May 5 14:43:30 2018 -0700 Change fall through comment in lcDB.c to match gcc's requirements Needs to match one of the regexps shown under https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough Signed-off-by: Alan Coopersmith commit 82ca6308757126fa7ffc6588f1e5d8e3be04251b Author: Alan Coopersmith Date: Sat Mar 24 19:45:14 2018 -0700 Use size_t for buffer sizes in SetHints.c These variables store values returned from strlen() as a size_t and are passed to Xmalloc, which expects a size_t, so lets stop converting back and forth to int along the way. Reported by: Konstantin SKliarov Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 50a5a98984097d614227d22a49265e12b172cac7 Author: Bhavi Dhingra Date: Tue Jul 5 11:37:50 2016 +0530 Fix possible memory leak in cmsProp.c:140 https://bugs.freedesktop.org/show_bug.cgi?id=96814 Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 Author: Michal Srb Date: Thu Mar 15 09:50:58 2018 +0100 Use flexible array member instead of fake size. The _XimCacheStruct structure is followed in memory by two strings containing fname and encoding. The memory was accessed using the last member of the structure `char fname[1]`. That is a lie, prohibits us from using sizeof and confuses checkers. Lets declare it properly as a flexible array, so compilers don't complain about writing past that array. As bonus we can replace the XOffsetOf with regular sizeof. Fixes GCC8 error: In function 'strcpy', inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); Caused by this line seemingly writing past the fname[1] array: imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); Reviewed-by: Keith Packard Signed-off-by: Peter Hutterer commit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 Author: Alan Coopersmith Date: Tue Mar 6 11:42:27 2018 -0800 If XGetImage fails to create image, don't dereference it to bounds check Reported by gcc 7.3: GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || ~~~~~^~~~~~~~ Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 Signed-off-by: Alan Coopersmith Reviewed-by: Emil Velikov commit e835a9dcc3362b5e92893be756dd7ae361e64ced Author: wharms Date: Sun Sep 3 14:17:45 2017 +0200 silence gcc warning assignment discards 'const' qualifier from pointer target type commit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b Author: wharms Date: Sun Aug 20 21:51:57 2017 +0200 remove empty line commit e02dfe54f32b4165351d2712a9d2e0584906a3ce Author: wharms Date: Sun Aug 20 21:50:33 2017 +0200 add _X_UNUSED to avoid unused variable warnings commit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 Author: walter harms Date: Sat Jun 4 17:19:59 2016 +0200 Fixes: warning: variable 'req' set but not,used Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] by marking req _X_UNUSED Solution was discussed on xorg-devel ML Peter Hutter, Alan Coopersmith Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] Signed-off-by: harms wharms@bfs.de commit bf82ec0402479fd8399d69e7d62fc17d7956699a Author: walter harms Date: Sat Jun 4 17:22:07 2016 +0200 mark _XDefaultIOError as no_return mark _XDefaultIOError as no_return. No one comes back from exit() ... Signed-off-by: harms wharms@bfs.de commit 9abe8380074edea3ac4e72466ec47e921ca05e47 Author: walter harms Date: Sat Jun 4 17:21:52 2016 +0200 no need to check XFree arguments 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 Signed-off-by: harms wharms@bfs.de commit 433477fcb7e07d0c26a22ba78aae88827ed1f440 Author: walter harms Date: Tue Apr 26 16:32:20 2016 +0200 fix memleak in error path free all mem on error Signed-off-by: walter harms commit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a Author: walter harms Date: Tue Apr 26 17:58:16 2016 +0200 fix memleak in error path V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) fix mem leak in error path Signed-off-by: walter harms commit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 Author: walter harms Date: Tue Apr 26 16:34:11 2016 +0200 no need to check args for Xfree() simplify code Signed-off-by: walter harms commit c1c14af441ae73d1a8e67a971fafcf967e45ac48 Author: walter harms Date: Tue Apr 26 16:23:46 2016 +0200 remove stray extern remove stray extern Signed-off-by: walter harms commit 714921f041a245dc5f37a689268b584226a2ccb9 Author: walter harms Date: Mon Apr 11 18:26:52 2016 +0200 no need to check argument for _XkbFree() simplify code by removing unneeded checks Signed-off-by: walter harms commit d02c2466f65063a03c97dbcee05071c12a3676e6 Author: walter harms Date: Mon Apr 11 18:22:38 2016 +0200 fix more shadow warning Signed-off-by: walter harms commit 0355c3926d5372f9762f235071dbd94a89bbbdad Author: walter harms Date: Thu Mar 31 19:16:33 2016 +0200 fix shadow char_size Signed-off-by: walter harms commit 916dffadf052135df3398651be873c353da629e1 Author: walter harms Date: Thu Mar 31 19:14:32 2016 +0200 remove argument check for free() adjust one inden Signed-off-by: walter harms commit 6ec901ebca3fea6a762e22090dc35b1b90911133 Author: walter harms Date: Thu Mar 31 19:12:17 2016 +0200 _XIOError(dpy); will never return so remore dead Signed-off-by: walter harms commit 83107a677b2ed458e4d62ea4a601e8181d3683d8 Author: walter harms Date: Thu Mar 31 19:10:49 2016 +0200 fix shadow warning Signed-off-by: walter harms commit 4fe66b1c5112b07bd09e28bbc021911d08a9621f Author: Ryan C. Gordon Date: Wed Aug 2 02:41:03 2017 -0400 Valgrind fix for XStoreColor and XStoreColors. If the "pad" field isn't set, Valgrind will report it as uninitialized memory accesses when the struct is copied into the Display's send buffer. In practice, this is (probably) harmless, but Valgrind is correct in believing it's a bug. https://bugs.freedesktop.org/attachment.cgi?id=133189 Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 7d2010fec25c2f52b873ad0572479eb43128b038 Author: Alan Coopersmith Date: Fri Apr 7 00:13:03 2017 -0700 Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page contains some malformed text" caused by extra whitespace after .TE macros Signed-off-by: Alan Coopersmith commit b856d5d929047d1ea169814d56e43784ea404c83 Author: Alan Coopersmith Date: Thu Mar 16 00:05:49 2017 -0700 Clarify state parameter to XkbSetNamedDeviceIndicator Checking a Bool to see if it's NULL does not work well in C. Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 Author: Alan Coopersmith Date: Wed Mar 15 23:50:26 2017 -0700 Make Xkb{Get,Set}NamedIndicator spec & manpages match code The XKB Library spec and the man pages for XkbGetNamedIndicator & XkbSetNamedIndicator included a device_spec argument neither function takes, and do not include the XkbGetNamedDeviceIndicator & XkbSetNamedDeviceIndicator variants that do take it (along with two other arguments). This updates them to match the interfaces the code has provided for decades. This has been reported multiple times, so this fixes: https://bugs.freedesktop.org/show_bug.cgi?id=251 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) X.Org Group Defect Id #9418 Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 Author: Arthur Huillet Date: Wed Feb 1 15:02:41 2017 +0100 _XDefaultError: set XlibDisplayIOError flag before calling exit _XReply isn't reentrant, and it can lead to deadlocks when the default error handler is called: _XDefaultError calls exit(1). It is called indirectly by _XReply when a X protocol error comes in that isn't filtered/handled by an extension or the application. This means that if the application (or one of its loaded shared libraries such as the NVIDIA OpenGL driver) has registered any _fini destructor, _fini will get called while still on the call stack of _XReply. If the destructor interacts with the X server and calls _XReply, it will hit a deadlock, looping on the following in _XReply: ConditionWait(dpy, dpy->xcb->reply_notify); It is legal for an application to make Xlib calls during _fini, and that is useful for an OpenGL driver to avoid resource leaks on the X server side, for example in the dlopen/dlclose case. However, the driver can not readily tell whether its _fini is being called because Xlib called exit, or for another reason (dlclose), so it is hard to cleanly work around this issue in the driver. This change makes it so _XReply effectively becomes a no-op when called after _XDefaultError was called, as though an XIOError had happened. The dpy connection isn't broken at that point, but any call to _XReply is going to hang. This is a bit of a kludge, because the more correct solution would be to make _XReply reentrant, maybe by broadcasting the reply_notify condition before calling the default error handler. However, such a change would carry a grater risk of introducing regressions in Xlib. This change will drop some valid requests on the floor, but this should not matter, as it will only do so in the case where the application is dying: X will clean up after it once exit() is done running. There is the case of XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing to clean up resources in _fini would currently be hitting a deadlock, which is hardly a better situation. Signed-off-by: Aaron Plattner Reviewed-by: Jamey Sharp commit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 Author: Matt Turner Date: Sat Feb 25 21:54:22 2017 -0800 libX11 1.6.5 Signed-off-by: Matt Turner commit a0da5835e8078445947c828fe2d86c1a31439012 Author: Adam Jackson Date: Tue Feb 14 15:33:29 2017 -0500 Revert "Compose sequences for rouble sign" This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. Reported to break 'make check': https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 Author: Mihail Konev Date: Fri Feb 10 18:48:18 2017 +0500 Compose sequences for rouble sign Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. Also add Cyrillic sequences for hryvnia sign. Submitted-by: Victor V. Kustov Reviewed-by: Victor V. Kustov Signed-off-by: Mihail Konev commit 23d9623c661694aba8cf1e8f277dffa7a86cf065 Author: Petr Písař Date: Sun Oct 30 12:49:11 2016 +0100 Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 locale and reporting this error: Warning: locale not supported by Xlib, locale set to C Therefore this patch reverts to the en_US.UTF-8 definition file that was used before. This patch also deduplicates the cs_CZ.UTF-8 entry. This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 Signed-off-by: Julien Cristau commit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 Author: Mihail Konev Date: Thu Jan 26 13:52:49 2017 +1000 autogen: add default patch prefix Signed-off-by: Mihail Konev commit 2979011bc170c55894b9185b26376f8efc6db7d4 Author: Emil Velikov Date: Mon Mar 9 12:00:52 2015 +0000 autogen.sh: use quoted string variables Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer commit 4a0082a1b6affa65d38294f0e13511525cd8ad15 Author: Peter Hutterer Date: Tue Jan 24 10:32:07 2017 +1000 autogen.sh: use exec instead of waiting for configure to finish Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer Reviewed-by: Emil Velikov commit c74b070f2712c95f0db7c320a10232b0e5c83049 Author: Julien Cristau Date: Sat Jan 7 16:20:31 2017 +0100 Fix wrong Xfree in XListFonts failure path 'ch' gets moved inside the allocated buffer as we're looping through fonts, so keep a reference to the start of the buffer so we can pass that to Xfree in the failure case. Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" Signed-off-by: Julien Cristau Reviewed-by: Alan Coopersmith Signed-off-by: Peter Hutterer commit 663f47075fe67bab4f99bc5d186c49175d4a4334 Author: Alan Coopersmith Date: Sun Jan 1 20:57:58 2017 -0800 specs/libX11: Update Portability Considerations for the 21st century Signed-off-by: Alan Coopersmith Signed-off-by: Peter Hutterer commit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c Author: Alan Coopersmith Date: Sun Jan 1 20:39:53 2017 -0800 specs/libX11: Fix broken synopsis for Data/Data16/Data32 Signed-off-by: Alan Coopersmith commit 382561951e3460b09c21a1a23748cde0315fbb19 Author: Alan Coopersmith Date: Sun Jan 1 20:31:54 2017 -0800 specs/libX11: Add missing parameter types for XGetWindowProperty() Signed-off-by: Alan Coopersmith commit 2beaecdb66965b861d6b790d151ba947f65f0a22 Author: Alan Coopersmith Date: Sun Jan 1 20:16:08 2017 -0800 specs/libX11: Make paramdef spacing more consistent Signed-off-by: Alan Coopersmith commit 4c436c6c14cfd4c397b011563bf13c2872861133 Author: Alan Coopersmith Date: Sun Jan 1 20:02:53 2017 -0800 specs/libX11: Fix paramdef entries listing multiple parameters Signed-off-by: Alan Coopersmith commit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 Author: Alan Coopersmith Date: Sun Jan 1 19:38:40 2017 -0800 specs/libX11: More synopsis fixes Mostly transforming macro definitions and functions taking void arguments from undecorated tags to use tags to get decorations. Signed-off-by: Alan Coopersmith commit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 Author: Lucien Gentis Date: Wed Jun 1 17:02:47 2016 +0200 Typos in "Xlib - C Language X Interface" document - Chapter 02 This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. Signed-off-by: Lucien Gentis Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 20a3f99eba5001925b8b313da3accb7900eb1927 Author: Emilio Pozuelo Monfort Date: Tue Oct 25 21:30:15 2016 +0200 Plug a memory leak This was introduced in 8ea762f. Reported-by: Julien Cristau Signed-off-by: Emilio Pozuelo Monfort Signed-off-by: Peter Hutterer commit 8f349feac24aacc958bd816afcc52380764e3d92 Author: Matthieu Herrb Date: Tue Oct 4 21:01:39 2016 +0200 libX11 1.6.4 Signed-off-by: Matthieu Herrb commit 8ea762f94f4c942d898fdeb590a1630c83235c17 Author: Tobias Stoeckmann Date: Sun Sep 25 21:25:25 2016 +0200 Validation of server responses in XGetImage() Check if enough bytes were received for specified image type and geometry. Otherwise GetPixel and other functions could trigger an out of boundary read later on. Signed-off-by: Tobias Stoeckmann Reviewed-by: Matthieu Herrb commit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 Author: Tobias Stoeckmann Date: Sun Sep 25 21:22:57 2016 +0200 The validation of server responses avoids out of boundary accesses. v2: FontNames.c return a NULL list whenever a single length field from the server is incohent. Signed-off-by: Tobias Stoeckmann Reviewed-by: Matthieu Herrb commit 78851f6a03130e3c720b60c3cbf96f8eb216d741 Author: walter harms Date: Mon Aug 15 19:18:14 2016 +0200 XFree will accept NULL as argument since Xfree is a define for free(): Xlibint.h:#define Xfree(ptr) free((ptr)) Xfree will accept NULL and do nothing. Signed-off-by: Hans de Goede commit 83adf3d1e3d0d6602244381334f75c216da4ab6e Author: Matthew D. Fuller Date: Sat Jun 4 11:24:01 2016 -0500 Fixup param specification for XChangeProperty() Signed-off-by: Matthew D. Fuller Signed-off-by: Peter Hutterer commit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c Author: Mats Blakstad Date: Sun Feb 28 13:22:03 2016 -0500 New compose keys for local languages in Togo Signed-off-by: James Cloos commit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 Author: Daniel Albers Date: Wed Mar 9 14:35:48 2016 +0100 Add Compose sequence for U+1F4A9. Signed-off-by: Daniel Albers commit 6d7bb040c928485f2557c2c914b95cffb2354179 Author: Alan Coopersmith Date: Sat Feb 6 14:18:32 2016 -0800 xcms: use size_t for pointer offsets passed to strncmp instead of converting to int and back Fixes clang warnings of the form: HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { ~~~~~~~ Signed-off-by: Alan Coopersmith commit a9266804eed38a83897ab5f0f9f8a8ab82a98882 Author: Alan Coopersmith Date: Sat Feb 6 13:32:44 2016 -0800 xcms: use unsigned indexes when looping through unsigned values Clears many gcc warnings of the form: uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: uvY.c:263:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < nColors; i++, pColor++) { ^ Signed-off-by: Alan Coopersmith commit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 Author: Alan Coopersmith Date: Sat Feb 6 13:01:25 2016 -0800 xcms: use size_t for strlen/sizeof values instead of converting to int & back Fixes gcc warnings of the form: IdOfPr.c: In function ‘XcmsFormatOfPrefix’: IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((len = strlen(prefix)) >= sizeof(string_buf)) { ^ IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len >= sizeof(string_buf)) Xfree(string_lowered); ^ IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len >= sizeof(string_buf)) Xfree(string_lowered); ^ IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len >= sizeof(string_buf)) Xfree(string_lowered); ^ Signed-off-by: Alan Coopersmith commit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d Author: Dominik Muth Date: Thu Mar 26 07:52:58 2015 +0100 Xlib.h: Fix macros imitating C functions. The basic rule "put parantheses around macro parameters" should be observed where possible. Otherwise code like ConnectionNumber(foo = bar); fails to compile. (It obviously passes if ConnectionNumber is a C function.) There are several other macros amended for the same reason. This bug appeared while building http://ioccc.org/1993/cmills.c, so historically it was not present. Signed-off-by: Dominik Muth Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 3706b0f2b14cc97578a6bee620266edca2722ebf Author: Alan Coopersmith Date: Fri Nov 15 18:03:25 2013 -0800 Don't need to link libX11-xcb against libX11 libX11-xcb only accesses data structures defined in X11 headers, it doesn't call any functions or reference any global variables in libX11 itself. (Seems to have been left from previous XCL implementation.) Signed-off-by: Alan Coopersmith commit eddf1bbd18872b286a9f939140f0cd9ba4e93804 Author: Alan Coopersmith Date: Fri Jan 22 11:44:25 2016 -0800 Stop checking for preferred order of local transports Removes --with-local-transport-order=... flag to configure. Code which used this ordered list was removed in commit 15e5eaf6289 which outsourced X11 connection handling & authentication to libxcb. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 Author: Alan Coopersmith Date: Fri Jan 22 09:39:28 2016 -0800 Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them Removes --enable-secure-rpc & --disable-secure-rpc flags to configure Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 which outsourced X11 connection handling & authentication to libxcb. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 7eb724dc24505f1591ef32620fa63f079b540646 Author: Olivier Fourdan Date: Thu Jan 21 11:54:19 2016 +0100 XKB: fix XkbGetKeyboardByName with Xming server XkbGetKeyboardByName relies on flags to read the data from the server. If the X server sends us the wrong flags or if a subreply is smaller than it should be, XkbGetKeyboardByName will not read all the available data and leave data in the buffer, which will cause the next _XReply() to fail with: [xcb] Extra reply data still left in queue [xcb] This is most likely caused by a broken X extension library [xcb] Aborting, sorry about that. xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. Aborted Check if there is some extra data left at the end of XkbGetKeyboardByName() and discard that data if any is found. Many thanks to Peter Hutterer for finding the root cause of the issue and Adam Jackson for helping with the analysis! Signed-off-by: Olivier Fourdan Reviewed-by: Daniel Stone Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 Author: Alan Coopersmith Date: Sat Dec 19 18:03:41 2015 -0800 lcPubWrap: replace malloc(strlen) + strcpy with strdup Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a Author: Alan Coopersmith Date: Sat Dec 19 10:21:04 2015 -0800 XlcDL.c: reduce code duplication Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit f7ecc0856be58608881d2086954cb71857ad64e1 Author: Alan Coopersmith Date: Sat Dec 19 10:19:25 2015 -0800 XlcDL.c: replace strcpy+strcat sequences with snprintf Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea Author: Alan Coopersmith Date: Sat Dec 19 10:05:42 2015 -0800 XDefaultOMIF: Remove comments referring to ancient Sun bug ids Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit b738a104ae80e4270dd1d215ad0c6a80016982c2 Author: Alan Coopersmith Date: Sat Dec 19 10:00:22 2015 -0800 XDefaultOMIF: additional code simplification Don't need to test for a case that we already returned for, don't need to store a count that will only ever be 1 if we didn't return, don't need to increment pointers to allow storing more than one item when we can only ever possibly do one. Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit 31011cf100419269eae7409581c784638be503cf Author: Alan Coopersmith Date: Sat Dec 19 09:46:31 2015 -0800 XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup Code seems to have been originally written to handle appending multiple strings, but only ever operates on a single string. Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 Author: Alan Coopersmith Date: Sat Dec 19 09:20:55 2015 -0800 Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit 4359dfabc04af082872d2bc2d5b52e26d6d93290 Author: Alan Coopersmith Date: Fri Dec 4 22:20:53 2015 -0800 Delete #if 0 hunks of code Signed-off-by: Alan Coopersmith commit a2f9dfac286f37e54eb47d4736cc3f0150224a84 Author: Alan Coopersmith Date: Thu Dec 3 23:38:07 2015 -0800 Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths Rework code to store allocations directly into XIM struct instead of temporary local variables, so we can use _XCloseIM to unwind instead of duplicating it, and consistently jump to error handler on failure, instead of sometimes leaking and sometimes freeing. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 Signed-off-by: Alan Coopersmith commit 07a97b3944467dce085a1efd24706cc851d2caf2 Author: Alan Coopersmith Date: Thu Dec 3 23:19:48 2015 -0800 Bug 93184: read_EncodingInfo invalid free Free the correct bits of memory if we run out and need to unwind Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 Signed-off-by: Alan Coopersmith commit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 Author: Alan Coopersmith Date: Sat Nov 28 13:18:11 2015 -0800 Remove unused definition of XCONN_CHECK_FREQ The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 when we dropped the old Xlib connection handling in favor of xcb's. Signed-off-by: Alan Coopersmith Reviewed-by: Mark Kettenis commit 5f0da8311a61498edf073cc877f5b467bfd5f863 Author: James Cloos Date: Thu Dec 3 18:24:44 2015 -0500 Fix another missing update in cf4d5989383a Reported in: https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 Signed-off-by: James Cloos commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 Author: James Cloos Date: Thu Dec 3 18:15:40 2015 -0500 Fix missing update in cf4d5989383a Reported in: https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 Signed-off-by: James Cloos commit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 Author: Alan Coopersmith Date: Sun Sep 27 18:38:32 2015 -0700 Get rid of some extraneous ; at the end of C source lines Signed-off-by: Alan Coopersmith Reviewed-by: Thomas Klausner commit 121a1bad334459f66f78bfca6df53dc841cf97f8 Author: Gunnar Hjalmarsson Date: Wed Sep 23 11:44:55 2015 -0400 Add compose file for pt_PT similar to pt_BR This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 One of the conclusions from the discussion on that bug report, which basically is about typing the ccedilla character easily on a non- Portuguese keyboard, is that X11 should include a compose file for pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 Signed-off-by: Gunnar Hjalmarsson Signed-off-by: James Cloos commit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 Author: Julien Cristau Date: Fri May 1 13:50:15 2015 +0200 Mark _XNextRequest as hidden It's only used inside XNextRequest(), so doesn't need to be exported. Signed-off-by: Julien Cristau Reviewed-by: Alan Coopersmith commit a72d2d06c002b644b7040a0a9936c8525e092ba8 Author: Christian Linhart Date: Mon Sep 7 17:17:32 2015 +0200 fix for Xlib 32-bit request number issues Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid the 32-bit sequence number wrap in libX11. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 Signed-off-by: Christian Linhart Signed-off-by: Olivier Fourdan Reviewed-by: Adam Jackson commit 58af066a764305c506efea7065ef7679369a1a98 Author: Thomas Klausner Date: Sun Jul 19 10:23:21 2015 +0200 Ignore test-driver (used by newer autoconf). Signed-off-by: Thomas Klausner Reviewed-by: Alan Coopersmith commit 80b9a346b9ba200fa4652560282e80d249519287 Author: Thomas Klausner Date: Sun Jul 19 10:22:45 2015 +0200 Do not return() after exit(). Signed-off-by: Thomas Klausner Reviewed-by: Alan Coopersmith commit c827edcd1c4a7f920aa25208083b5b58d60d2b44 Author: Ross Burton Date: Mon May 18 14:49:01 2015 +0100 Add missing NULL checks to ICWrap ICWrap.c dereferences the xim parameter passed in from client code without a NULL check. I have seen mplayer trigger this resulting in a segfault. In this case mplayer had called XOpenIM and NULL was returned which was later passed into XCreateIC. Patch originally by Drew Moseley . Signed-off-by: Ross Burton Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 Author: Alan Coopersmith Date: Thu Jun 4 20:51:17 2015 -0700 Replace Xmalloc+memset pairs with Xcalloc calls Signed-off-by: Alan Coopersmith commit f0286b2770ece10aef5e2e8c004260217f12fd25 Author: Bhavi Dhingra Date: Thu Jun 4 19:07:12 2015 -0700 omGeneric.c: Correct the parameter usage of sizeof Incorrect parameter usage with sizeof. Earlier passed argument FontData will be 4 bytes always as its a pointer hence the change is needed and FontDataRec should be used for memset. Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 47da70d75f9e48e800719c0db752f9ccd2d77aea Author: Peter Hutterer Date: Tue May 19 12:30:22 2015 +1000 Fix three "use of uninitialized variable" coverity warnings False positive, if rlen/nbytes are unset we quit early before using it. Still, initialize it so we don't have to deal with these warnings again. Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede Reviewed-by: Alan Coopersmith commit 19a30f17f30e9ae9641a7c0634fc52134208b060 Author: Peter Hutterer Date: Mon May 18 07:56:22 2015 +1000 Fix an indentation issue Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede Reviewed-by: Alan Coopersmith commit 013ccece124b990217ad3bcf2c41688e8fda1df8 Author: Peter Hutterer Date: Mon May 18 07:55:17 2015 +1000 Fix potential memory leak If we hit the depth limit, filename leaks. Move the depth check up before we allocate filename. Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede Reviewed-by: Alan Coopersmith commit d3415d1f052530760b4617db45affcb984cfe35c Author: Mike FABIAN Date: Mon Apr 20 17:59:30 2015 +0200 Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN locales fixed it only partly, I introduced a new spelling mistake in the sd_IN locales. This patch fixes this. Signed-off-by: James Cloos commit 748d47e69f5c12d8557d56a8a8ec166588da7b93 Author: Mike FABIAN Date: Wed Feb 19 11:46:45 2014 +0100 fix spelling mistakes in ks_IN and sd_IN devanagari locales The codeset must be *before* the modifier. See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html opengroup> The syntax for these environment variables is thus defined as: opengroup> opengroup> [language[_territory][.codeset][@modifier]] Signed-off-by: James Cloos commit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 Author: Mike FABIAN Date: Wed Feb 19 11:50:55 2014 +0100 add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 If these are not in locale.dir, $ LANG=sr_RS.UTF-8@latin xterm and $ LANG=sr_RS@latin xterm give the warning: Warning: locale not supported by Xlib, locale set to C and some programs (like xmms) fail to find translations for Serbian in Latin because of this. Signed-off-by: James Cloos commit c85be01b006126c4407eebd1eb6e01a17312b7b4 Author: Alan Coopersmith Date: Sun Mar 22 16:46:45 2015 -0700 Move Compose \ o / to be with other emoji compose sequences Signed-off-by: Alan Coopersmith commit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 Author: Alan Coopersmith Date: Mon Mar 9 15:28:29 2015 -0700 libX11 1.6.3 Signed-off-by: Alan Coopersmith commit c8e19b393defd53f046ddc2da3a16881221b3c34 Author: Joonas Javanainen Date: Thu Feb 5 17:31:04 2015 +0200 Fix XErrorEvent struct field order in man page In the man page the field "resourceid" was in a different place than in the actual struct layout in Xlib.h Signed-off-by: Joonas Javanainen Signed-off-by: Peter Hutterer commit ddf3b09bb262d01b56fbaade421ac85b0e60a69f Author: Ran Benita Date: Tue Feb 3 13:23:50 2015 -0500 compose: fix the description of modifiers in compose sequences The Compose format has a feature which allows specifying certain modifiers must (or must not) be present with a given keysym in the sequence. The grammar in imLcPrs.c and the Compose man page both do not match what the code actually does (see the handling of the variables `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are eventually matched as `ev->state & modifier_mask == modifier`). Also explicitly list the accepted modifier names, since they are not standard (e.g. "Ctrl" instead of "Control"). Signed-off-by: Ran Benita Signed-off-by: James Cloos commit 129f13f385c50e3d8b53ea7441b17386b0f36aeb Author: Ran Benita Date: Tue Feb 3 13:23:49 2015 -0500 xkb: fix misleading comment about consumed modifiers In the spec and the man page the `mods_rtrn` argument is described as "backfilled with unconsumed modifiers" but actually it is backfilled with the *consumed* modifiers. This is also mentioned a few lines below in each case. Signed-off-by: Ran Benita Signed-off-by: James Cloos commit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 Author: Ingo Schwarze Date: Tue Dec 9 10:44:13 2014 +0100 Fix pasto in XkbGetKeyBehaviors(3) manual Reviewed-by: Thomas Klausner Signed-off-by: Peter Hutterer commit f3831dde6972e4da9e018c6a5f4013d8756a5e78 Author: Benno Schulenberg Date: Sun Nov 23 21:35:36 2014 +0100 nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. Signed-off-by: Benno Schulenberg commit a51681b60c84109fe19f5d449e13080522499324 Author: Benno Schulenberg Date: Thu Sep 19 16:42:01 2013 +0200 nls: Remove a duplicate locale name, and sort some others more strictly. Also improve the grammar of the initial comment. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 426b7f850f5376db96a4b12420ee141603fcc3cd Author: Benno Schulenberg Date: Fri Sep 20 12:37:29 2013 +0200 nls: Add a comment to the block of accented Hebrew letters. And align them in a nicer manner. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 Author: Benno Schulenberg Date: Fri Sep 20 12:05:09 2013 +0200 nls: Add one lowercase compose variant for ®, to mirror those for ©. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 18dcd13514fa538afefa78c93523d9dbd4688e74 Author: Benno Schulenberg Date: Sat Sep 7 20:10:43 2013 +0200 nls: Adding the visual composing characters to two comment lines. The lines around them also contain the characters in the comments. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 18d8307575af748913d5da17e3de45da2a22ede4 Author: Benno Schulenberg Date: Sat Sep 7 20:09:32 2013 +0200 nls: Grouping a lone superscript minus together with its mates. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 33301cc45e6a2b8aa841ed6325547af970f8c4db Author: Benno Schulenberg Date: Sat Sep 7 19:53:38 2013 +0200 nls: Grouping the compose sequences for Dstroke/dstroke together. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 78fe1becb6c18fa33c0d5f04005b45d856f8952a Author: Gioele Barabucci Date: Sun Sep 21 23:05:55 2014 +0200 Add compose sequence for U+20B9 INDIAN RUPEE SIGN The compose sequence for the new Indian Rupee sign is modelled after the sequence for the Euro sign. Signed-off-by: Gioele Barabucci Signed-off-by: James Cloos commit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 Author: Gabriel Souza Franco Date: Thu Jul 31 22:23:28 2014 -0300 Add double-arrow compose sequence Signed-off-by: Gabriel Souza Franco Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 Author: James Cloos Date: Fri Aug 1 18:30:42 2014 -0400 Add cs_CZ.UTF-8 locale to configure.ac Commit cf4d5989383a should have included this. Reported-by: Colin Harrison Signed-off-by: James Cloos commit cf4d5989383acc4ed1b7eebadde9f380f2129766 Author: James Cloos Date: Tue Jul 29 15:02:56 2014 -0400 Add nls for cs_CZ.UTF-8 Based on the iso8859-2 compose, and a bug report by Vladimír Marek, override the en_US.UTF-8 use of to enter »ǔ« instead to enter »ů«, and likewise for the majuscule, for the Czech locale. This evidently is the norm for Czech keyboards. Fixes bz#81875. The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for several other locales. That may require an update. Reported-by: Vladimír Marek Signed-off-by: James Cloos commit d9f569572bd14db31921471e7b877523b5cf1e4c Author: Alan Coopersmith Date: Sat Jul 26 12:17:47 2014 -0700 Fix source paths for out-of-tree lintlib builds Signed-off-by: Alan Coopersmith commit 0885cad1e4a9ed57266582be320be55259c881bf Author: Alan Coopersmith Date: Sun Jul 20 09:21:20 2014 -0700 specs/XKB: Markup fractions as <{super,sub}script> instead of Matches the way they were styled in original doc, before conversion to DocBook. Signed-off-by: Alan Coopersmith commit d0a9e9d56bb003315787201ee525b4d00fd54e06 Author: Alan Coopersmith Date: Sat Jul 19 23:55:47 2014 -0700 specs/XKB: acknowledge my contributions Signed-off-by: Alan Coopersmith commit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b Author: Alan Coopersmith Date: Sat Jul 19 23:53:48 2014 -0700 specs/XKB: Trim leading spaces off text lines perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml Signed-off-by: Alan Coopersmith commit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 Author: Alan Coopersmith Date: Sat Jul 19 20:30:55 2014 -0700 specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" Signed-off-by: Alan Coopersmith commit 5009621799444e9d1d284719f871d00be13e7330 Author: Alan Coopersmith Date: Sat Jul 19 12:34:28 2014 -0700 specs/XKB: Fix miscelleanous typos & spelling errors Signed-off-by: Alan Coopersmith commit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c Author: Alan Coopersmith Date: Sat Jul 19 00:46:41 2014 -0700 specs/XKB: add some more indexterms by hand Signed-off-by: Alan Coopersmith commit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 Author: Alan Coopersmith Date: Sat Jul 19 00:48:02 2014 -0700 specs/XKB: fixup various formatting issues in s Signed-off-by: Alan Coopersmith commit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d Author: Alan Coopersmith Date: Fri Jul 18 23:56:29 2014 -0700 specs/XKB: fixup various formatting issues in s Including translating some that are really just lists into markup. Signed-off-by: Alan Coopersmith commit 94b56774784ac00b9db02403aecea10bb0814c10 Author: Alan Coopersmith Date: Fri Jul 18 23:18:52 2014 -0700 specs/XKB: add some more links by hand random bits where a link looked handy Signed-off-by: Alan Coopersmith commit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 Author: Alan Coopersmith Date: Fri Jul 18 23:16:31 2014 -0700 specs/XKB: add links for terms in definition list under figure 1.1 Signed-off-by: Alan Coopersmith commit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c Author: Alan Coopersmith Date: Fri Jul 18 22:52:16 2014 -0700 specs/XKB: add links to more tables listing section references Signed-off-by: Alan Coopersmith commit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 Author: Alan Coopersmith Date: Fri Jul 18 22:49:34 2014 -0700 specs/XKB: Table 4.1: remove page numbers & unnecessary para tags Page numbers refer to old doc format, didn't translate to new one Signed-off-by: Alan Coopersmith commit 61bd55c6d1ab211b89d604bd05555dc417f6e53d Author: Alan Coopersmith Date: Sat Jul 19 11:55:51 2014 -0700 specs/XKB: remove unwanted white space around C -> struct references perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml Signed-off-by: Alan Coopersmith commit 2be0cc0b2abbcc98cfd150210dea415a04787251 Author: Alan Coopersmith Date: Fri Jul 18 22:26:20 2014 -0700 specs/XKB: replace -> with → when used as arrow, not in C structs Signed-off-by: Alan Coopersmith commit bf1f3d6f6f995303624679ae546f507c70967dc0 Author: Alan Coopersmith Date: Fri Jul 18 22:21:10 2014 -0700 specs/XKB: replace => with ⇒ for double arrows Signed-off-by: Alan Coopersmith commit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba Author: Alan Coopersmith Date: Sat Jul 19 11:33:35 2014 -0700 specs/XKB: Markup some ranges with – instead of - commit ec4075303c6c0d1d64bfe378e585968f9a137da7 Author: Alan Coopersmith Date: Fri Jul 18 22:10:45 2014 -0700 specs/XKB: Markup some subtractions with − instead of - Signed-off-by: Alan Coopersmith commit 441a267e461132a38abed205245f028686526f1d Author: Alan Coopersmith Date: Fri Jul 18 22:04:40 2014 -0700 specs/XKB: make sure all files have DOCTYPEs so standard entities work Signed-off-by: Alan Coopersmith commit 88fd70bee410f290b4f540405fdc7ecd85c26f25 Author: Alan Coopersmith Date: Fri Jul 18 21:55:41 2014 -0700 specs/XKB: Markup quoted terms as instead of with "" Signed-off-by: Alan Coopersmith commit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b Author: Alan Coopersmith Date: Sat Jul 19 09:01:26 2014 -0700 specs/XKB: fixup newlines between tags and punctuation Get rid of unwanted whitespace before punctuation by moving them to the lines with the tags, instead of before & after. perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml Signed-off-by: Alan Coopersmith commit 6d5ec492cd28c206423337f926503349702af5a6 Author: Alan Coopersmith Date: Fri Jul 18 21:29:33 2014 -0700 specs/XKB: fixup newlines between tags and parens Get rid of unwanted whitespace inside parens by moving them to the lines with the tags, instead of before & after. perl -i -0 -p \ -e 's{(? comments out of the way now. Signed-off-by: Alan Coopersmith commit ce95f152eda509263874c53fb7c6b4a6bdab2c29 Author: Alan Coopersmith Date: Mon Jul 7 22:59:25 2014 -0700 specs/XKB: Remove remaining xref comments All the places marked by these have been turned into the appropriate link, xref, or olink tags now. Signed-off-by: Alan Coopersmith commit 6590b66e19af8dff68888ac403ac82f5d585b4e2 Author: Alan Coopersmith Date: Mon Jul 7 22:56:36 2014 -0700 specs/XKB: make olinks to xkbproto for references in section 10.13 Signed-off-by: Alan Coopersmith commit fcda446877a62e7443d7bc704ba3610e90d1e755 Author: Alan Coopersmith Date: Mon Jul 7 22:22:28 2014 -0700 specs/XKB: Add
tags and make Figure references link to them Signed-off-by: Alan Coopersmith commit 087a2338476719e340dc3d5af0df6fdc4a26ce7a Author: Alan Coopersmith Date: Mon Jul 7 21:30:01 2014 -0700 specs/XKB: Turn Table references into links Adds id attributes to all table tags so we can link to them Signed-off-by: Alan Coopersmith commit 135fa07b74cb50172c6a75768d499cd87ddb336e Author: Alan Coopersmith Date: Sun Jul 6 21:29:59 2014 -0700 specs/XKB: Turn section references into xref links Signed-off-by: Alan Coopersmith commit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 Author: Alan Coopersmith Date: Sun Jul 6 21:17:18 2014 -0700 specs/XKB: Turn Chapter references into xref links Signed-off-by: Alan Coopersmith commit b7f00ce5bcb0c00696bb82503ab548e14f04d17d Author: Alan Coopersmith Date: Sun Jul 6 20:40:18 2014 -0700 specs/XKB: Apply to semantic tag transformations from Xlib spec Signed-off-by: Alan Coopersmith commit b00a7ddff2744238fbfe31c2298b02028a45a6ff Author: Alan Coopersmith Date: Sun Jul 6 20:34:51 2014 -0700 specs/XKB: Markup function names as instead of Signed-off-by: Alan Coopersmith commit bfbb58b7679221cb5c9212665209ea9099ad079a Author: Alan Coopersmith Date: Sun Jul 6 20:25:46 2014 -0700 specs/XKB: normalize layout in xml files - Stop placing on empty space, commas, and periods. - Move periods & commas after closing tag - move open & close tags to same line, instead of mirroring nroff layout. Simplifies automating further transformations of these tags. Performed via: perl -i -0 -p \ -e 's{(\s*)}{}msg;' \ -e 's{([\s\.,]*)\s*}{\1}msg;' \ -e 's{\n([\.,])\s*}{\1\n}msg;' \ -e 's{([^\.])([\.,])\s*}{\1\2}msg;' \ -e 's{\s*\n\s*}{\n}msg;' *xml Signed-off-by: Alan Coopersmith commit b16ee69a0103109a661a88140a1765dcd7bda634 Author: Alan Coopersmith Date: Sun Jul 6 15:57:41 2014 -0700 specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable Signed-off-by: Alan Coopersmith commit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 Author: Alan Coopersmith Date: Sun Jul 6 19:29:38 2014 -0700 specs/XKB: Add index Signed-off-by: Alan Coopersmith commit 72ae1d793be078db521dda60af578ece71f364de Author: Alan Coopersmith Date: Sun Jul 6 13:21:40 2014 -0700 specs/XKB: Fix various markup issues in functiondecl tables - Merge some functionargdecl entries incorrectly split across rows - Add missing parameter name markup to some functionargdecls - Add missing function prototype markup to a functiondecl - Remove stray emphasis tags in a functiondecl Allows them to correctly convert to funcsynopsis markup in next step. Signed-off-by: Alan Coopersmith commit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 Author: Alan Coopersmith Date: Sun Jul 6 12:15:23 2014 -0700 specs/XKB: Convert header filenames to filename tags Signed-off-by: Alan Coopersmith commit 5525e8433f93bce464412f27cffa203ea628f368 Author: Alan Coopersmith Date: Tue Jul 8 00:05:32 2014 -0700 specs/libX11: disengender a user reference Signed-off-by: Alan Coopersmith commit d8679eae9317b389ad4acb0430360ee0663e2af8 Author: Alan Coopersmith Date: Fri Jul 11 18:41:42 2014 -0700 specs/libX11: Correct value of IconicState to match Xutil.h Xutil.h has always had a value of 3 for IconicState, since 2 was previously used for the long-obsolete ZoomState, so make the spec match what programs have used for decades. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a Author: Alan Coopersmith Date: Fri Jul 11 10:34:08 2014 -0700 Use C99 named initializers to fill in events passed to XSendEvent Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) and allows optimizer to order field initialization to best fit cache layout or other considerations. Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" instructions to rapidly zero-fill structs. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 169805e1dc8743b37b00e24cf3a5eb8748f733ad Author: Alan Coopersmith Date: Sun Jul 6 11:13:49 2014 -0700 Fix validation of ctrls parameter to XkbGetPerClientControls() Nothing in the XKB spec states that the memory pointed to by ctrls has to be initialized to any given value when passed to the function, only that it is set by the function to the values returned by the X server: http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls The check for the incoming value seems to be copied from XkbSetPerClientControls without explanation. Instead change it to checking if ctrls is non-NULL, since there's no point asking the X server to return a value the caller won't even see. Found while investigating report from cppcheck-1.65: [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer dereference: ctrls - otherwise it is redundant to check it against null. Signed-off-by: Alan Coopersmith commit 1e362fac92c6688fb42b195ccad16d7a337a34c1 Author: Alan Coopersmith Date: Sun Jul 6 10:54:57 2014 -0700 Fix map->num_types check in XkbAddKeyType() Check is intended to ensure we allocate at least XkbNumRequiredTypes in map, but was accidentally marked with a ! causing the wrong check. Reported-by: Harms Reviewed-by: Matthieu Herrb Signed-off-by: Alan Coopersmith commit ff9a5c199251a84fa59d14fd48dadb3f8920b54b Author: Alan Coopersmith Date: Sun Jul 6 15:08:21 2014 -0700 specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types Signed-off-by: Alan Coopersmith commit a06ea86773568926c36ae650b188fc818d540db7 Author: Alan Coopersmith Date: Sun Jul 6 15:04:27 2014 -0700 specs/libX11: Fix height & width in parameter lists to be two separate entries "unsigned int width, unsigned int height", not a single parameter "height" of type "unsignedintwidth,". Signed-off-by: Alan Coopersmith commit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 Author: Alan Coopersmith Date: Sun Jul 6 14:38:10 2014 -0700 specs/libX11: Fix x & y in parameter lists to be two separate parameters "int x, int y" not a single parameter y of type "intx" Signed-off-by: Alan Coopersmith commit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 Author: walter harms Date: Sat Jun 7 12:03:17 2014 +0200 lcDefConv.c: fix use before check * Do not use variables before checked for NULL. * remove some superfluid spaces (Mark Kettenis) Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit c0670e5d3ae330e611ecb05303d579a4f8a3d114 Author: Alan Coopersmith Date: Mon Jun 16 15:16:10 2014 -0700 Start adding Unicode 7.0 support to compose table New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf Signed-off-by: Alan Coopersmith commit a4679baaa18142576d42d423afe816447f08336c Author: walter harms Date: Sat Jun 7 11:54:34 2014 +0200 rm redundant null checks remove more redundant NULL checks note that _XkbFree() is really Xfree() Signed-off-by: Harms Reviewed-by: Rémi Cardona Signed-off-by: Peter Hutterer commit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df Author: walter harms Date: Sat Jun 7 15:17:27 2014 +0200 libX11: rm redundante NULL checks This patch removes the last remaining NULL checks for Xfree() Signed-off-by: Harms Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer commit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 Author: walter harms Date: Fri Jun 6 22:53:05 2014 +0200 Remove more redundant null checks before Xfree() Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 0b7fd7dbec136bae317bd9a329309eaa089beee3 Author: walter harms Date: Thu Jun 5 18:37:40 2014 +0200 Remove redundant null checks before free This patch removes some redundant null checks before free. It should not change the code otherwise. Be aware that this is only the first series. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 7d452fad5068ba92b964e92bc46708046f4044aa Author: walter harms Date: Wed Jun 4 17:12:31 2014 +0200 libX11/lcUTF8.c fix: dereferenced before check * Do not use variables before checked for NULL. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit a3808f51517a720e7ff738208af60865779dd6ef Author: walter harms Date: Wed Jun 4 17:10:20 2014 +0200 libX11/XKBNames.c fix: dereferenced before check * Do not use variables before checked for NULL. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 Author: walter harms Date: Wed Jun 4 17:08:12 2014 +0200 libX11/lcGenConv.c fix: dereferenced before check * Do not use variables before checked for NULL. Signed-off-by: Harms Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit c6bc28d433243c32b3f74955f1478451b4fd27b5 Author: Andreas Schwab Date: Sun Jan 19 16:59:13 2014 +0100 Restore lost tabs in sed commands Signed-off-by: Andreas Schwab Signed-off-by: Alan Coopersmith commit e3dc0d17339e61eaf0b51b8907510984e3bf23cb Author: Benno Schulenberg Date: Thu Sep 19 11:01:11 2013 +0200 nls: Transform Brazilian compose file to an include plus three overrides. Signed-off-by: James Cloos commit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c Author: Benno Schulenberg Date: Fri Sep 6 12:10:01 2013 +0200 nls: Adding the missing compose sequences with for O with ogonek. All other vowels with ogoneks can already be composed using . Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 655b60f48376069750b151c46da836fdd411c83b Author: Benno Schulenberg Date: Fri Sep 6 12:04:24 2013 +0200 nls: Adding the missing postfix sequences for composing vowels with ogoneks. It existed for lowercase i, but not for uppercase I nor the other vowels. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 7f8f9a36ef901f31279c385caf960a22daeb33fe Author: Owen W. Taylor Date: Fri May 9 18:21:05 2014 -0400 Fix XNextRequest() after direct usage of XCB When XCB owns the X socket, dpy->request is not updated, so NextRequest() and XNextRequest() return the wrong value. There's nothing we can do to fix NextRequest() while retaining ABI compat, but change XNextRequest() to grab the socket back from XCB, updating dpy->request. Signed-off-by: Owen W. Taylor Reviewed-by: Uli Schlachter Signed-off-by: Alan Coopersmith commit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 Author: Alan Coopersmith Date: Sun May 4 11:54:59 2014 -0700 Add missing .TE tags to end tables in Xkb man pages Signed-off-by: Alan Coopersmith commit 280274e5292e013b43e552274111fab434f5ed4e Author: Alan Coopersmith Date: Sun May 4 11:23:17 2014 -0700 XCreateGC.man: simplify table to work with Solaris tbl Having every table cell be a text diversion (T{...T}) was too much for Solaris tbl to handle, and thus "man XCreateGC" would print the error /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions tbl quits and not display the table of mask bits or any text in the man page after that table. Since the #define column doesn't need special handling, making it not use text diversions brings the table under the tbl limit. Signed-off-by: Alan Coopersmith commit 93bb325a54025dd15f4744abce54b358960420f9 Author: James Cloos Date: Tue May 20 17:30:10 2014 -0400 Revert "nls: Adding compose sequences (with first) that GTK also has." Parenleft is already in use for sequences of the form <(> <)> to generate circled letters. Eg, generates ⓐ. This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. Signed-off-by: James Cloos commit 060707851be918f2f507a26d17b016f764ddf2b4 Author: Benno Schulenberg Date: Fri Sep 6 11:42:59 2013 +0200 nls: Adding accessible compose sequences for Ș and Ț (with comma below). Compose sequences with exist, but very few keyboard layouts contain that symbol. So a more usual character is needed to be able to easily compose Ș, ș, Ț and ț. The semicolon is normally only used for composing letters with ogoneks -- but only vowels take ogoneks, so the character is free for consonants, and thus is used here to compose commas below. It is somewhat fitting, because on most Romanian keyboards the Ș is placed on that key, and the Ț next to it. (Oh -- the more obvious sequences with were already taken for composing S and T with cedillas.) Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit ca435c2f753aa2961fb35ac448cdb2cc77112755 Author: Benno Schulenberg Date: Tue Sep 3 21:10:33 2013 +0200 nls: Ordering some compose sequences in a more customary way. The custom seems to be: pairing the ones that have only the sequence of two keys reversed, and putting the one with the diacritic first first. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit f020235f4bd91fb6eade82f8c9f7b85a57981768 Author: Benno Schulenberg Date: Tue Sep 3 20:44:42 2013 +0200 nls: Adding compose sequences (with first) that GTK also has. Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit bda0b3b5bd19154206dc40166364e73d4b6b1374 Author: Benno Schulenberg Date: Tue Sep 3 11:14:16 2013 +0200 nls: Allowing Romanian Ă and ă to be composed also with lowercase . Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit 8be4610939b833587954957f5963eb4191b43d19 Author: Alan Coopersmith Date: Thu Mar 13 23:22:48 2014 -0700 Fix "follwing" typo in en_US.UTF-8/Compose comment Signed-off-by: Alan Coopersmith commit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a Author: Reuben Thomas Date: Mon Jan 27 14:18:24 2014 +0000 en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. Signed-off-by: Alan Coopersmith commit d6bd988bc00494914b38b95ee5df77ac4f32f19f Author: Peter Hutterer Date: Mon Mar 3 12:38:48 2014 +1000 man: fix man page for XkbGetMap Returned structure must be freed with XkbFreeKeyboard(). Reported-by: Morten Bøgeskov Signed-off-by: Peter Hutterer commit a6dcf2201a05adbff54122df05a1e6325936abb6 Author: Ran Benita Date: Tue Feb 11 13:26:16 2014 +0200 Remove dead USE_OWN_COMPOSE-protected code The build doesn't provide any way to define this option. It also refers to files (imComp.h) and functions (e.g. XimCompInitTables(), XimCompProcessSym()) which are not found anywhere, and the ordinary Compose implementation in xim doesn't use any of it. Signed-off-by: Ran Benita Reviewed-by: Julien Cristau Signed-off-by: Alan Coopersmith commit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 Author: Ran Benita Date: Sun Feb 16 15:24:58 2014 +0200 nls: always use XCOMM instead of # for comments in Compose.pre files Lines starting with # are considered as preprocessor directives in the .pre files. Fixes warnings like: :3:0: error: invalid preprocessing directive #Khmer Signed-off-by: Ran Benita Signed-off-by: James Cloos commit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 Author: Alan Coopersmith Date: Thu Feb 6 13:48:08 2014 -0800 Fix typos in Xrm.c comments Signed-off-by: Alan Coopersmith commit aacf95dacc7c598e7297894580d4d655593813b2 Author: Marko Myllynen Date: Mon Jan 13 16:43:18 2014 +0200 Annotate Finnish Compose map with Unicode code points Scripted annotation, no functional changes. Signed-off-by: James Cloos commit 20fdccd81b54678376d49e00edfebbbe94951f07 Author: Teemu Likonen Date: Fri Jul 20 19:21:04 2012 +0300 Fix "RING ABOVE" key in the Finnish compose file The Finnish keyboard standard defines that must insert the character U+02DA RING ABOVE. Currently the Finnish Compose file inserts U+00B0 DEGREE SIGN even though the line's comment says "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. Signed-off-by: Teemu Likonen Signed-off-by: James Cloos commit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 Author: Ran Benita Date: Wed Jan 29 02:11:47 2014 +0200 nls: remove duplicate 'ohorn' and 'uhorn' compose sequences Since == and == , when translated to keysyms: #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ (and similarly for uhorn), there is no need to have both names. Remove the unicode literal ones. Signed-off-by: Ran Benita Signed-off-by: James Cloos commit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 Author: Alan Coopersmith Date: Sat Jan 18 22:35:18 2014 -0800 Add RANDR 1.4 requests & events to XErrorDB Checked against randrproto.txt & randr.h Signed-off-by: Alan Coopersmith commit 321392ded15a7ee9d177d4ebe8846336ba76741c Author: Alan Coopersmith Date: Fri Jan 3 20:04:33 2014 -0800 Remove unused ETEST & ESZTEST macros from XlibInt.c Left behind when 15e5eaf62897 removed support for building without XCB. Signed-off-by: Alan Coopersmith Reviewed-by: Jasper St. Pierre commit 1ffc0c5503d4f419fdbc765243832a53491bf5bc Author: Alan Coopersmith Date: Thu Dec 26 09:26:13 2013 -0800 _XkbReadGeomOverlay: check for NULL first, then use pointer Flagged by cppcheck 1.62: [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: (warning) Possible null pointer dereference: row - otherwise it is redundant to check it against null. Signed-off-by: Alan Coopersmith commit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 Author: Alan Coopersmith Date: Thu Dec 26 09:22:49 2013 -0800 XkbSelectEventDetails: remove unnecessary assignments clear & selectAll are set to 0 already a few lines earlier, affectWhich is set to XkbMapNotifyMask a few lines later. None are used between the other assignments and the removed ones. Signed-off-by: Alan Coopersmith commit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 Author: Jon TURNEY Date: Thu Oct 7 18:46:08 2010 +0100 Don't try so hard to find a matching font with the given encoding See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 Currently, if the locale is UTF-8, no CJK fonts are installed, and someone does XCreateFontSet() with a font name of "*", we end up asking the server to list the (non-existent) fonts 11 times for each CJK encoding, which can take a while. A * wildcard can match multiple components in a XLFD name in XListFonts(), so there's no need to try adding more than one to get a match. We do try once with a leading '*-' in case the fontname isn't a full well-formed XLFD name, maybe even that isn't needed? (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) Signed-off-by: Jon TURNEY Signed-off-by: Alan Coopersmith commit 7e163300735d4bcd3386b86eec112acdad139c59 Author: Alan Coopersmith Date: Mon Dec 2 21:51:27 2013 -0800 unifdef -UISC Signed-off-by: Alan Coopersmith commit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 Author: Benno Schulenberg Date: Thu Sep 19 13:20:05 2013 +0200 nls: Fix transposed locale identifier for Khmer. Signed-off-by: Benno Schulenberg Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 0e45f64766c0557c8e99a979c70ca6f55664dae7 Author: Alan Coopersmith Date: Sat Nov 16 20:21:54 2013 -0800 Drop X_LOCALE fallback for OS'es without setlocale() C89 or bust! This was documented as being needed for "only Lynx, Linux-libc5, OS/2" and has never been enabled in modular builds, since none of those platforms have had anyone step up to add support since the X11R7 conversion to autotools. Mostly performed with unifdef -UX_LOCALE, followed by removal of files left without any purpose, and manual cleanup of remaining references. Signed-off-by: Alan Coopersmith Reviewed-by: Adam Jackson commit 6cb02b166361200da35ba14f52cd9aaa493eb0ea Author: Alan Coopersmith Date: Wed Oct 23 10:37:53 2013 -0700 Xcms file parsing should not require the impossible to succeed The field2 helper function, to split lines from Xcms.txt files into two tab delimited fields, contained a check: if ((*pBuf != '\n') || (*pBuf != '\0')) { return(XcmsFailure); which would cause it to return failure unless *pBuf had a value that was simultaneously equal to both \n & \0, and no one wants to live in a world where that could ever be true. This has gone unnoticed since 1991, since this only caused lines in Xcms.txt that started with whitespace to be rejected, but now gcc -Wlogicalop has brought it to our attention, and https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. Now that we see it, and cannot unsee it, we change it to use the same logic as the check at other points in this function, to return failure only if we hit \n or \0 before we find the first non-whitespace character, so that lines starting with whitespace will have the space skipped over to get to the color name to be defined. Signed-off-by: Alan Coopersmith Reviewed-by: Dan Nicholson commit 18a5278b008e9faa59b346fcab18a8d74b875fda Author: Gaetan Nadon Date: Sat Sep 28 17:33:52 2013 -0400 makekeys: don't need to use target-specific CFLAGS It's the only thing built in that directory, so we can use AM_CFLAGS and AM_CPPFLAGS as usual. Reviewed-by: Alan Coopersmith Signed-off-by: Gaetan Nadon commit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b Author: James Cloos Date: Tue Sep 17 12:50:42 2013 -0400 nls/en_US.UTF-8/Compose.pre: Fix typo. Fix typo added in 215ce6a67863, s/actute/acute/. Fixes bug #69476. Reported by Jean Krohn. Signed-off-by: James Cloos commit cb107760df33ffc8630677e66e2e50aa37950a5c Author: Alan Coopersmith Date: Sun Sep 8 18:37:01 2013 -0700 libX11 1.6.2 commit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 Author: Benno Schulenberg Date: Sun Sep 1 12:38:30 2013 +0200 nls: Adding more accessible compose sequences for J́ and j́. Few keyboards have an key, so this adds the much more accessible and usual compose sequences with , ánd the most comfortable ones with . Signed-off-by: Benno Schulenberg Signed-off-by: James Cloos commit e9b14d10d0258bfcc273ff8bc84cd349dccda62c Author: Alan Coopersmith Date: Sat Aug 24 17:27:43 2013 -0700 Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size Pass *new* size to realloc, not old size. Signed-off-by: Alan Coopersmith commit c2b8e30790c21d6386767265263b3294ce1b1f9a Author: Alan Coopersmith Date: Fri Aug 16 21:04:02 2013 -0700 Stop checking for HAVE_DIX_CONFIG_H on the client side Leftover from when these XKB files were shared with the server sources and could be compiled in either the client or server, with the different autoconf config files in each. Signed-off-by: Alan Coopersmith commit 84276609b2f0aec74fb464c428c7db5714b0fcfc Author: Alan Coopersmith Date: Fri Aug 16 18:27:28 2013 -0700 Rearrange some variable declarations & initializations in XKB Little things noticed during XKB restyling that seemed to make the code easier to read. Signed-off-by: Alan Coopersmith commit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 Author: Alan Coopersmith Date: Sun Aug 11 13:29:33 2013 -0700 Reindent XKB code to X.Org standard style Signed-off-by: Alan Coopersmith commit c0a0f78eb49c2e4ad956209de77475c85b9314ea Author: Alan Coopersmith Date: Fri Aug 16 18:14:14 2013 -0700 Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created We were checking to make sure that the largest keysym value was within the range of the allocated buffer, but checking against different limits in the not-yet-allocated vs. the already-allocated branches. The check should be the same in both, and reflect the size used for the allocation, which is based on the maximum key code value, so we move it to be a common check, before we branch, instead of duplicating in each branch. map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] map->syms is the array for which num_syms is recorded, hence is not the right value to check for ensuring our key_sym_map accesses are in range. Signed-off-by: Alan Coopersmith Reported-by: Barry Kauler Tested-by: Barry Kauler commit bea6cbd027973142fc64532274e1d16861b47190 Author: Alan Coopersmith Date: Sun Aug 11 17:02:21 2013 -0700 Remove long unused src/udcInf.c I can find no record of what this file was for. Neither the X11R6.8.2 monolith Imakefile nor any modular release Makefile.am have ever built it and nothing else references it. Signed-off-by: Alan Coopersmith commit bf3501e0395abe890acfea98fdd9f50a6966f118 Author: Alan Coopersmith Date: Sun Aug 11 00:07:33 2013 -0700 Remove unnecessary casts of pointers to (char *) in calls to Xfree() Left one cast behind that is necessary to change from const char * to char * in src/xlibi18n/lcCharSet.c. Signed-off-by: Alan Coopersmith commit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 Author: Alan Coopersmith Date: Sat Aug 10 23:57:55 2013 -0700 Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, don't strip down to unsigned int and re-expand unnecessarily. Signed-off-by: Alan Coopersmith commit 25a7a329def672fc8d26078538173777850c6390 Author: Alan Coopersmith Date: Sat Aug 10 23:51:08 2013 -0700 Remove even more casts of return values from Xmalloc/Xrealloc Signed-off-by: Alan Coopersmith commit f8fa16092a148b74ca35b4beb182053352606f2f Author: Alan Coopersmith Date: Sat Aug 10 23:05:13 2013 -0700 xlibi18n: fix argsize argument to _XlcParsePath The array is defined as having NUM_LOCALEDIR entries, so use that instead of hardcoded 256 value (the other two calls already did this). Reported by parfait: Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc Pointer size is 64 elements (of 8 bytes each), index is 255 at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. called at line 178 in function '_XlcParsePath' with argv = argv. called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. called at line 178 in function '_XlcParsePath' with argv = argv. called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. [ This bug was found by the Parfait 1.2.0 bug checking tool. http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] Signed-off-by: Alan Coopersmith commit e7d46c6452c0b90fd66ae9f538546b968e0dd608 Author: Alan Coopersmith Date: Sat Aug 10 22:32:42 2013 -0700 i18n modules: Fix some const cast warnings imRm.c: In function '_XimSetICMode': imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcGenConv.c: In function 'byteM_parse_codeset': lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 Author: Alan Coopersmith Date: Sat Aug 10 22:21:54 2013 -0700 xlibi18n: Fix a bunch of const cast warnings Add const qualifiers to casts where needed, remove other casts that are no longer needed. Signed-off-by: Alan Coopersmith commit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 Author: Alan Coopersmith Date: Sat Aug 10 22:18:00 2013 -0700 Fix const handling in XSetLocaleModifiers Instead of reusing the input parameter to store the output, make a result variable instead, so that there's less const confusion. Fixes gcc warnings: lcWrap.c: In function 'XSetLocaleModifiers': lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 8ebbffa98563960910152e4f2e31cb032375d871 Author: Alan Coopersmith Date: Sat Aug 10 21:46:37 2013 -0700 Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() Makes code considerably less crufty and clears gcc warnings: XlcDL.c: In function '_XlcDynamicLoad': XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 07e4e864107b38c2f393564fdacc90f4e858f23f Author: Alan Coopersmith Date: Sat Aug 10 13:37:53 2013 -0700 init_om: remove unneeded extra copy of string to local buffer Strings from the supported_charset_list[] were being copied one by one to a stack buffer, and then strdup called on that buffer. Instead, just strdup the original string, without the local copy, and use a more traditional for loop, so it's easier to figure out what the code is doing (cleaning up a gcc const-cast warning in the process). Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 1cec14dad904ba21a861f4af131be5982ecb83dd Author: Alan Coopersmith Date: Sat Aug 10 12:34:53 2013 -0700 Delete unused XKB_INSURE_SIZE macro from XKBlibint.h Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 5f32182c7c4045540ff3833c48ee24a3a25726e2 Author: Alan Coopersmith Date: Sat Aug 10 12:19:17 2013 -0700 miRegionOp(): ensure region size is not updated if realloc fails This function performs operations on a region, and when finished, checks to see if it should compact the rectangle list. If the number of rectangles for which memory is allocated in the list is more than twice the number used, it tries to shrink. realloc() should not fail in this case, but if it does, might as well keep the correct value for the number of allocated rectangles, so we don't try to grow it unnecessarily later if adding to the region. Signed-off-by: Alan Coopersmith commit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd Author: Alan Coopersmith Date: Sat Aug 10 12:19:17 2013 -0700 miRegionCopy(): handle realloc failure better Zero out the region size when freeing the region so callers don't think there's anything there. (Pointer is already set to NULL from the realloc result itself.) Return 0 to the callers, and have them cascade that back to their callers to indicate failure, instead of their usual return value of 1 on success. Signed-off-by: Alan Coopersmith commit 5dc8b5385d513bbda88697c2372db750d23f46d4 Author: Alan Coopersmith Date: Sat Aug 10 11:27:22 2013 -0700 Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro Signed-off-by: Alan Coopersmith commit 453c4ee436ef32d91501d7736d7a91c1aeafc565 Author: Alan Coopersmith Date: Sat Aug 10 12:07:51 2013 -0700 Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() Signed-off-by: Alan Coopersmith commit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 Author: Alan Coopersmith Date: Sat Aug 10 12:30:39 2013 -0700 lcDB.c: ensure buffer size is updated correctly if realloc fails Signed-off-by: Alan Coopersmith commit 43bb822c714a73c3b2d15e621ffb3333cd10da8c Author: Alan Coopersmith Date: Sat Aug 10 11:07:47 2013 -0700 Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() Previously, if realloc failed to increase the size, we'd still record that we had allocated the larger size, but the pointer to it would be NULL, causing future calls to be broken, and the previous allocation to be lost/leaked. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 5d47a39978e92bb34ec928b1b15d71c0c2434870 Author: Alan Coopersmith Date: Fri Aug 9 23:33:03 2013 -0700 omGeneric.c: convert sprintf calls to snprintf Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 88a27a2aa9b7d35cb79b16334ea3413e572b724a Author: Alan Coopersmith Date: Fri Aug 9 23:30:30 2013 -0700 ximcp/imRm.c: convert sprintf calls to snprintf Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 4fadae243fb485628c9a137f5da3489ed6214b21 Author: Alan Coopersmith Date: Fri Aug 9 23:02:12 2013 -0700 xlibi18n: convert sprintf calls to snprintf Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 Author: Alan Coopersmith Date: Fri Aug 9 23:02:12 2013 -0700 lcfile: skip over any null entries in args list Previous code seemed to assume that printf("%s", NULL) would result in a 0-length string, not "(null)" or similar, but since there's no point looking for files in "(null)/filepath...", instead we just skip over NULL entries in search paths when generating file names. In the *DirName() functions, this effectively just moves the "bail on NULL in arg[i]" check up from the later code that assigned it to targetdir and then bailed if that was NULL. Not sure how there ever could be a NULL in arg[i], given the current implementation of XlcParsePath, but it's easy enough to check once and reject up front instead of on every reference. Signed-off-by: Alan Coopersmith commit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 Author: Alan Coopersmith Date: Fri Aug 9 22:00:09 2013 -0700 Fix file leak on malloc error in XlcDL.c:resolve_object() File Leak: Leaked File fp at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. fp initialized at line 198 with fopen [ This bug was found by the Parfait 1.2.0 bug checking tool. http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 9b291044a240e5b9b031ed814e0c84e53a1c3084 Author: Julien Cristau Date: Sat Jun 15 18:02:21 2013 +0200 Add missing locales to configure.ac Commits 40761898692e5063957bfa2518cca3d35b2e354a and f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, meaning they're not included in tarballs. Signed-off-by: Julien Cristau Reviewed-by: James Cloos commit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 Author: ISHIKAWA,chiaki Date: Tue Dec 18 15:28:05 2012 +0000 Fix bogus timestamp generated by XIM Fix bogus timestamp generted by XIM due to uninitialized data field. Also set appropriate serial, too. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 Signed-off-by: Chiaki ISHIKAWA Signed-off-by: Alan Coopersmith commit e7fd6f0eda57300df4d6b695b7064610ca5dec57 Author: Egbert Eich Date: Thu Jun 16 18:47:49 2011 +0200 XIM: Fix sync problem on focus change. XSetICFocus() and XUnsetICFocus() are both asynchronous events. This is a pretty stupid idea: those functions may undo certain settings on the client side for which requests from the server may still be in the queue unprocessed. Thus things may be set in the wrong order ie instead of set -> unest it will be unset -> set. Moreover there is no way for either the client or the server to cause the event queue to be flushed - which is pretty bad as XIM is bidirectional. The scenario is as follows: Two ICs are created: ic1 = XCreateIC(im, XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, XNClientWindow, window, XNPreeditAttributes, preedit_attr, XNStatusAttributes, status_attr, NULL); ic2 = XCreateIC(im, XNInputStyle, XIMPreeditNothing | XIMStatusNothing, XNClientWindow, window, NULL); Then the focus is removed from ic2: XUnsetICFocus(ic2); If SCIM is used as the input server it will send a bunch of requests following an XCreateIC(). One of the requests registers a key release filter. XUnsetICFocus() unsets both key press and release filters. Since it is asynchronous, the input server requests to register key press and release filters may not have been processed, when XUnsetICFocus() is called. Since there is no explicite way for client programs to enforce the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() call it would be safest to make those two calls synchronous in the sense that they ensure the request queue has been handled before they execute. The easiest way to do this from Xlib is thru a call to XGetICValues() which sends a request to the server and subsequently reads the queue from the server to the client. This will cause all outstanding requests in the queue to be read and handled. This is an ugly hack and this could be fixed directly in the client, however it seems to be easier to fix Xlib than to fix numerous clients. This problem arose since there is no well documented way how to handle and synchronize XIM requests and not all input servers send requests when an IC is created. This has been discussed extensively in: https://bugzilla.novell.com/show_bug.cgi?id=221326 Signed-off-by: Egbert Eich commit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e Author: Egbert Eich Date: Thu Jun 16 17:28:39 2011 +0200 XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. When synthesized key events are sent on commit XIM sets the 'fabricated' flag so that the keypress handler knows that these were not real events. This also happens when committing due to the loss of focus. However in this case the keypress/release filters which consume and unset this flag are no longer in the filter chain. So the flag is erronously set when a real keyboard event is received after focus has been regained. So the first event is wrongly treated as a fabricated key in the keypress handler which will at the same time reset the flag so the second key event is treated correctly. This fix only sets the flag when at least one of the keyboard filters is in place. How to reproduce this bug: run scim, choose a Japanese input method start two instances of xterm: start typing in one xterm (this should pop up an IM window). Without comitting (hitting 'enter') move focus to the other xterm, then move focus back. Start typing again. The first character will be committed immediately without popping up an input window. With this fix this behavior is gone. See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 Signed-off-by: Egbert Eich commit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 Author: Alan Coopersmith Date: Mon Jul 29 21:29:49 2013 -0700 libX11 1.6.1 Signed-off-by: Alan Coopersmith commit d19cfaca15826943d3c637ef7fa5db0a23d5feed Author: Alan Coopersmith Date: Sat Jul 27 12:19:00 2013 -0700 Fix undefined XCMSDIR error when building lint library Signed-off-by: Alan Coopersmith commit 3083cd43d7dcd59da587975e7cadda681cd8a103 Author: Alan Coopersmith Date: Sat Jul 27 00:36:08 2013 -0700 Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir Upstreaming from changes originally integrated into OpenSolaris under Sun bug id 6882572. Signed-off-by: Alan Coopersmith Reviewed-by: Thomas Klausner commit 208e586c808e88a2ee819e4450dc27f557afc2bf Author: Alan Coopersmith Date: Sat Jul 27 01:03:18 2013 -0700 omGeneric: remove space between struct name & member name Signed-off-by: Alan Coopersmith commit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd Author: Alan Coopersmith Date: Tue Jul 23 22:18:46 2013 -0700 Refactor common code from XAddHost & XRemoveHost into single function On the Xlib side, the only real difference is the mode flag we send to the server with the address, so just make that an argument to the function with the common code for packing the address into the request. (Aside from labels, gcc 4.7.2 generates identical code before & after this change due to inlining, verified via diff of gcc -S output.) Signed-off-by: Alan Coopersmith commit 3292195a64a9ce4f0d27134cd544651ec647e728 Author: Alan Coopersmith Date: Tue Jul 23 22:11:34 2013 -0700 XSetModifierMapping: Use Data instead of GetReqExtra Handle arbitrary length data in the same fashion as other calls, avoiding need to ensure it fits all in the request buffer. Signed-off-by: Alan Coopersmith commit feb131b18aee31c2c125dc3275b0260940245882 Author: Kees Cook Date: Sun Jun 9 11:13:43 2013 -0700 libX11: check "req" when calling GetReqExtra This fixes the two callers of GetReqExtra to check that "req" is non-NULL to avoid crashing now that GetReqExtra does internal bounds-checking on the resulting buffer sizes. Additionally updates comment describing return values to use names instead of only literal values. Signed-off-by: Kees Cook Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 54540d7cba0c2bfe9176221c7bca910058d304df Author: Kees Cook Date: Sun Jun 9 11:13:42 2013 -0700 libX11: check size of GetReqExtra after XFlush Two users of GetReqExtra pass arbitrarily sized allocations from the caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra macro) to double-check the requested length and invalidate "req" when this happens. Users of GetReqExtra passing lengths greater than the Xlib buffer size (normally 16K) must check "req" and fail gracefully instead of crashing. Any callers of GetReqExtra that do not check "req" for NULL will experience this change, in the pathological case, as a NULL dereference instead of a buffer overflow. This is an improvement, but the documentation for GetReqExtra has been updated to reflect the need to check the value of "req" after the call. Bug that manifested the problem: https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 Signed-off-by: Kees Cook Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 Author: Thomas Klausner Date: Tue Jun 25 22:35:29 2013 +0200 Tighten out-of-range comparisons. [For all of these, LONG_MAX was the correct value to prevent overflows for the recent CVEs. Lowering to INT_MAX catches buggy replies from the server that 32-bit clients would reject but 64-bit would accept, so we catch bugs sooner, and really, no sane & working server should ever report more than 2gb of extension names, font path entries, key modifier maps, etc. -alan- ] Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 6d926088d80a08e13e6d6c4ff207b81ad52e667f Author: Thomas Klausner Date: Tue Jun 25 18:34:32 2013 +0200 Fix out-of-range comparison in _XF86BigfontQueryFont clang complained (correctly): warning: comparison of constant 768614336404564650 with expression of type 'CARD32' (aka 'unsigned int') is always true [-Wtautological-constant-out-of-range-compare] [While LONG_MAX is correct, since it's used in size_t math, the numbers have to be limited to 32-bit range to be usable by 32-bit clients, and values beyond that range are far more likely to be bugs in the data from the server than valid numbers of characters in a font. -alan- ] Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 383e2b0d029482a0f4c39fe00e15397538576fc1 Author: Thomas Klausner Date: Tue Jun 25 18:33:56 2013 +0200 Check for symbol existence with #ifdef, not #if Reviewed-by: Jamey Sharp Signed-off-by: Alan Coopersmith commit 9955d1c8de994a90fe7f2e3187e7362611d7d265 Author: Thomas Klausner Date: Tue Jun 25 18:33:07 2013 +0200 Use newer callback-based API for XIM. Let libX11 load and make available the newer (X11R6) callback-based API for XIM (expected by emacs). This patch updates the files to match the other nls/ files. Patch from Ian D. Leroux on pkgsrc-users@NetBSD.org following a hint by Nhat Minh Lê . Reviewed-by: James Cloos Signed-off-by: Alan Coopersmith commit a17ceb7100bd36c2db210473ee701deb5d515731 Author: Thomas Klausner Date: Tue Jun 25 18:31:32 2013 +0200 Stop truncating source to destination length if it is larger. It seems useless to do that since the code tests for both source length and destination to be non-zero. This fixes a cut'n'paste problem in xterm where the paste length was limited to 1024 (BUFSIZ) in button.c. Signed-off-by: Alan Coopersmith commit a336db9a0add3ae0783dda6e52459236622a12af Author: Alan Coopersmith Date: Mon Jun 24 23:02:05 2013 -0700 Require ANSI C89 pre-processor, drop pre-C89 token pasting support Signed-off-by: Alan Coopersmith commit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 Author: Alan Coopersmith Date: Fri Jun 7 11:30:11 2013 -0700 troff macro expansion in specs/libX11 Many of the custom nroff macros (.ds ) were left unsubstituted in the nroff->docbook conversion. This substitution is now performed, via the following perl script: #! /usr/bin/perl -w -i use Text::Wrap; while ($_ = <>) { while ($_ =~ m/\((\w+)\b/g) { my $m = $1; if (exists $macro{$m}) { $_ =~ s/\($m/$macro{$m}/; $_ = wrap('', '', $_); $_ =~ s/[ \t]+$//; } } if ($_ =~ /\/) { my ($m, $s) = ($1, $2); $macro{$m} = $s; while ($macro{$m} =~ /\\\s*$/) { $macro{$m} =~ s/\\\s*$//ms; $macro{$m} .= <>; chomp($macro{$m}); } $macro{$m} =~ s/\\ / /g; } else { print $_; } } Signed-off-by: Alan Coopersmith commit 20c17bd9ebf767a24643279e45866dddcb57b5ce Author: Alan Coopersmith Date: Fri Jun 7 09:27:26 2013 -0700 specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder The XListPixmapFormats arguments was being shown with XImageByteOrder's name and return types. Appears to have been a glitch in the nroff -> docbook conversion. Reported-by: ZHANG Zhaolong Reviewed-by: Jamey Sharp Signed-off-by: Alan Coopersmith commit ed3d830243c8a0eefaf24e15b11823272ffe5049 Author: Thomas Klausner Date: Sun Jun 2 20:49:55 2013 +0200 Deal with the limited range of VAX floating point numbers when compiling for VAX. Signed-off-by: Alan Coopersmith commit 0a48235d63639fb917c44d27c86e928e79fbac66 Author: Eric S. Raymond Date: Thu Jun 6 16:43:56 2013 -0400 Remove call to undefined macro. commit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 Author: Eric S. Raymond Date: Thu Jun 6 16:42:20 2013 -0400 Remove call to undefined macro. commit 8496122eb00ce6cd5d2308ee54f64b68c378e455 Author: Alan Coopersmith Date: Mon Jun 3 20:06:43 2013 -0700 Update README to reflect where to find the Xlib specs now Signed-off-by: Alan Coopersmith commit 655d631e86c95b14888758b27ed2836ca3e3ce86 Author: Alan Coopersmith Date: Mon Jun 3 19:21:06 2013 -0700 libX11 1.6.0 Signed-off-by: Alan Coopersmith commit 4a89b7ea908554628f374537a79931c8006a2de3 Author: Thomas Klausner Date: Sun Jun 2 11:49:54 2013 -0700 cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. Signed-off-by: Alan Coopersmith commit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 Author: Thomas Klausner Date: Sun Jun 2 20:49:48 2013 +0200 XCreateGC man page: Avoid .TS H and .TH macros Avoid .TS H and .TH for now as it doesn't alter the output in this case, and improve the output with mandoc(1). Signed-off-by: Alan Coopersmith commit 95a388158c9d73df7d24016d6a3d61506d7d53a4 Author: Alan Coopersmith Date: Thu May 23 19:43:35 2013 -0700 libX11 1.5.99.902 (1.6 RC2) Signed-off-by: Alan Coopersmith commit a3bdd2b090915fe0163b062f0e6576fe05dd332e Author: Julien Cristau Date: Thu May 23 20:39:46 2013 +0200 xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap The size of the arrays is max_key_code + 1. This makes these functions consistent with the other checks added for CVE-2013-1997. Also check the XkbGetNames reply when names->keys was just allocated. Signed-off-by: Julien Cristau Tested-by: Colin Walters Reviewed-by: Alan Coopersmith commit 7e30056e78e4b7979ff47f102e00327617266019 Author: Niveditha Rau Date: Fri May 17 15:26:21 2013 -0700 Make sure internal headers include required headers Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no longer ignores *.h files, but complains when they reference undefined typedefs or macros. Signed-off-by: Niveditha Rau Signed-off-by: Alan Coopersmith commit 2820100bf8ba130b94253f415e7fa5ac28bb2037 Author: Alan Coopersmith Date: Thu May 16 23:05:36 2013 -0700 Free fs->properties in _XF86BigfontQueryFont overflow error path Fixes small memory leak introduced in commit 5669a22081 Reported-by: Julien Cristau Signed-off-by: Alan Coopersmith commit 3131740513133a9ff7cb12123d29ceb18584fc38 Author: Matthieu Herrb Date: Wed May 8 19:33:09 2013 +0200 XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. Freeing a pointer that wasn't returned by malloc() is undefined behavior and produces an error with OpenBSD's implementation. Signed-off-by: Matthieu Herrb Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 Author: Alan Coopersmith Date: Fri Apr 19 14:30:40 2013 -0700 Give GNU & Solaris Studio compilers hints about XEatData branches Try to offset the cost of all the recent checks we've added by giving the compiler a hint that the branches that involve us eating data are less likely to be used than the ones that process it. Signed-off-by: Alan Coopersmith commit e1b457beb8d4e831ef44279dada6c475cb955738 Author: Alan Coopersmith Date: Sun Mar 31 12:22:35 2013 -0700 _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode Various other bounds checks in the code assume this is true, so enforce it when we first get the data from the X server. Signed-off-by: Alan Coopersmith commit 12ad4c6432496897ff000eb7cfecd0fb4b290331 Author: Alan Coopersmith Date: Sat Mar 16 10:03:13 2013 -0700 Use calloc in XOpenDisplay to initialize structs containing pointers Prevents trying to free uninitialized pointers if we have to bail out partway through setup, such as if we receive a corrupted or incomplete connection setup block from the server. Signed-off-by: Alan Coopersmith commit d38527e25f8b6e2f1174ecc21260c5c5416f972e Author: Alan Coopersmith Date: Thu Mar 7 23:46:05 2013 -0800 Remove more unnecessary casts from Xmalloc/calloc calls Signed-off-by: Alan Coopersmith commit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 Author: Alan Coopersmith Date: Sat Mar 2 16:56:16 2013 -0800 Convert more _XEatData callers to _XEatDataWords Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 Author: Alan Coopersmith Date: Sat Mar 9 11:04:37 2013 -0800 Make XGetWindowProperty() always initialize returned values Avoids memory corruption and other errors when callers access them without checking to see if XGetWindowProperty() returned an error value. Callers are still required to check for errors, this just reduces the damage when they don't. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit db1b1c871da29aa0545182bf888df81627f165a5 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] Ensure that when breaking the returned list into individual strings, we don't walk past the end of allocated memory to write the '\0' bytes Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 8d5936594993921acdfec778dd8f41b555e2543a Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] Ensure that when breaking the returned list into individual strings, we don't walk past the end of allocated memory to write the '\0' bytes Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 0c404db6a92dc2c198328bf586c02d8abbe02013 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 Avoid overflows in XListFonts() [CVE-2013-1997 13/15] Ensure that when breaking the returned list into individual strings, we don't walk past the end of allocated memory to write the '\0' bytes Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] Ensure that we don't underallocate when the server claims a very large reply Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit a351b8103b2ba78882e1c309e85893ca3abe2073 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] Ensure that we don't underallocate when the server claims a very large reply Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 Author: Alan Coopersmith Date: Sat Mar 2 15:08:21 2013 -0800 integer overflow in XGetImage() [CVE-2013-1981 11/13] Ensure that we don't underallocate when the server claims to have sent a very large reply. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 Author: Alan Coopersmith Date: Fri Mar 8 22:25:35 2013 -0800 integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] If the reported number of properties is too large, the calculations to allocate memory for them may overflow, leaving us returning less memory to the caller than implied by the value written to *nitems. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 Author: Alan Coopersmith Date: Sat Mar 2 13:18:48 2013 -0800 integer overflows in TransFileName() [CVE-2013-1981 9/13] When trying to process file paths the tokens %H, %L, & %S are expanded to $HOME, the standard compose file path & the xlocaledir path. If enough of these tokens are repeated and values like $HOME are set to very large values, the calculation of the total string size required to hold the expanded path can overflow, resulting in allocating a smaller string than the amount of data we'll write to it. Simply restrict all of these values, and the total path size to PATH_MAX, because really, that's all you should need for a filename path. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 Author: Alan Coopersmith Date: Fri Mar 1 18:37:37 2013 -0800 integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") to specify filename. If the size of off_t is larger than the size of unsigned long (as in 32-bit builds with large file flags), a file larger than 4 gigs could have its size truncated, leading to data from that file being written past the end of the undersized buffer allocated for it. While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, builders may have added the large file compilation flags to CFLAGS on their own. size is left limited to an int, because if your Xim file is larger than 2gb, you're doing it wrong. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 226622349a4b1e16064649d4444a34fb4be4f464 Author: Alan Coopersmith Date: Sat Mar 2 12:39:58 2013 -0800 Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] parseline() can call _XimParseStringFile() which can call parseline() which can call _XimParseStringFile() which can call parseline() .... eventually causing recursive stack overflow and crash. Limit is set to a include depth of 100 files, which should be enough for all known use cases, but could be adjusted later if necessary. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 236b603d235dc264d1c6250dca09c745458a9088 Author: Alan Coopersmith Date: Sat Mar 2 12:01:39 2013 -0800 Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() which can call GetDatabase() which can call GetIncludeFile() .... eventually causing recursive stack overflow and crash. Easily reproduced with a resource file that #includes itself. Limit is set to a include depth of 100 files, which should be enough for all known use cases, but could be adjusted later if necessary. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 076428918e6c35f66b9b55c3fa097ff06496d155 Author: Alan Coopersmith Date: Fri Mar 1 18:37:37 2013 -0800 integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] Called from XrmGetFileDatabase() which gets called from InitDefaults() which gets the filename from getenv ("XENVIRONMENT") If file is exactly 0xffffffff bytes long (or longer and truncates to 0xffffffff, on implementations where off_t is larger than an int), then size may be set to a value which overflows causing less memory to be allocated than is written to by the following read() call. size is left limited to an int, because if your Xresources file is larger than 2gb, you're very definitely doing it wrong. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 90fd5abac2faca86f9f100353a3c9c7b89f31484 Author: Alan Coopersmith Date: Sat Mar 2 11:44:19 2013 -0800 Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] LoadColornameDB() calls stringSectionSize() to do a first pass over the file (which may be provided by the user via XCMSDB environment variable) to determine how much memory needs to be allocated to read in the file, then allocates the returned sizes and calls ReadColornameDB() to load the data from the file into that newly allocated memory. If stringSectionSize() overflows the signed ints used to calculate the file size (say if you have an xcmsdb with ~4 billion lines in or a combined string length of ~4 gig - which while it may have been inconceivable when Xlib was written, is quite possible today), then LoadColornameDB() may allocate a memory buffer much smaller than the amount of data ReadColornameDB() will write to it. The total size is left limited to an int, because if your xcmsdb file is larger than 2gb, you're doing it wrong. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit b9ba832401734e1cbd30a930c0d11d850293f3f9 Author: Alan Coopersmith Date: Sat Mar 2 11:25:25 2013 -0800 unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] Check the provided buffer size against the amount of data we're going to write into it, not against the reported length from the ClientMessage. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit de2e6c322c4aca22856b380f67f8e488e7510015 Author: Alan Coopersmith Date: Sat Mar 2 11:11:08 2013 -0800 unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] If the X server returns key name indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 2df882eeb3a70256170127a746a9ba26376599a1 Author: Alan Coopersmith Date: Sat Mar 2 11:01:04 2013 -0800 unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] If the X server returns modifier map indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 4d7c422a37eb9617fb22f8e37527c2b34b105665 Author: Alan Coopersmith Date: Sat Mar 2 11:04:44 2013 -0800 unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] If the X server returns key indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 Author: Alan Coopersmith Date: Sat Mar 2 10:51:51 2013 -0800 unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] If the X server returns modifier map indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca Author: Alan Coopersmith Date: Sat Mar 2 10:39:21 2013 -0800 unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] If the X server returns key behavior indexes outside the range of the number of keys it told us to allocate, out of bounds memory writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 00626c3830b869259098985afa38933d77ccec72 Author: Alan Coopersmith Date: Sat Mar 2 09:40:22 2013 -0800 unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] If the X server returns key action indexes outside the range of the number of keys it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 Author: Alan Coopersmith Date: Sat Mar 2 09:28:33 2013 -0800 unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] If the X server returns keymap indexes outside the range of the number of keys it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 59ae16a00d18588e98af57d26e442af8ea42b7aa Author: Alan Coopersmith Date: Sat Mar 2 09:18:26 2013 -0800 unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] If the X server returns color indexes outside the range of the number of colors it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit bff938b9fe1629cbacb726509edfa2a3840b7207 Author: Alan Coopersmith Date: Sat Mar 2 09:12:47 2013 -0800 unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] If the X server returns shape indexes outside the range of the number of shapes it told us to allocate, out of bounds memory access could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit f293659d5a4024bda386305bb7ebeb4647c40934 Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] If the X server returns more buttons than are allocated in the XKB device info structures, out of bounds writes could occur. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 Author: Alan Coopersmith Date: Fri Mar 1 19:30:09 2013 -0800 unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] If a broken server returned larger than requested values for nPixels or nMasks, XAllocColorCells would happily overflow the buffers provided by the caller to write the results into. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 integer overflow in XListHosts() [CVE-2013-1981 5/13] If the reported number of host entries is too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] If the reported number of motion events is too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. v2: Ensure nEvents is set to 0 when returning NULL events pointer Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 39515b7c3ba8cae9021bf6695e378ae19487082f Author: Alan Coopersmith Date: Fri Mar 1 22:49:01 2013 -0800 integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] If the reported number of remaining fonts is too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. v2: Fix reply_left calculations, check calculated sizes fit in reply_left v3: On error cases, also set values to be returned in pointer args to 0/NULL Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 5669a220816b7d58fcaf0c302ead16fbe5c87817 Author: Alan Coopersmith Date: Fri Mar 1 21:05:27 2013 -0800 integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] Similar to _XQueryFont, but with more ways to go wrong and overflow. Only compiled if libX11 is built with XF86BigFont support. v2: Fix reply_left calculations, check calculated sizes fit in reply_left Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 6df8a63d34b7514077188e2062a13774f920c085 Author: Alan Coopersmith Date: Fri Mar 1 21:05:27 2013 -0800 integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an unsigned long, then too small of a buffer will be allocated for the data copied in from the reply. v2: Fix reply_left calculations, check calculated sizes fit in reply_left Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith commit 9f5d83706543696fc944c1835a403938c06f2cc5 Author: Alan Coopersmith Date: Fri Mar 1 20:54:24 2013 -0800 Add _XEatDataWords to discard a given number of 32-bit words of reply data Matches the units of the length field in X protocol replies, and provides a single implementation of overflow checking to avoid having to replicate those checks in every caller. Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit d7f04c340ade3834e603c23d543132e1ee4e0c63 Author: Alan Coopersmith Date: Sat Mar 2 13:03:55 2013 -0800 Move repeated #ifdef magic to find PATH_MAX into a common header Lets stop duplicating the mess all over Signed-off-by: Alan Coopersmith Reviewed-by: Matthieu Herrb commit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 Author: Pander Date: Tue May 7 18:38:14 2013 -0400 Add compose sequences for J́ and j́. The resulting sequences are: U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT Used in Dutch, per: http://lists.x.org/archives/xorg-devel/2013-February/035514.html https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling Signed-off-by: Pander Signed-off-by: James Cloos commit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 Author: Alan Coopersmith Date: Sat Mar 16 18:30:56 2013 -0700 Move big request comment in XOpenDisplay to the right place Signed-off-by: Alan Coopersmith commit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 Author: Alan Coopersmith Date: Sat Mar 9 19:16:03 2013 -0800 libX11 1.5.99.901 (1.6 RC1) Signed-off-by: Alan Coopersmith commit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 Author: Alan Coopersmith Date: Fri Mar 8 22:33:28 2013 -0800 Fix very weird indenting in src/GetFProp.c Signed-off-by: Alan Coopersmith commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c Author: Alan Coopersmith Date: Fri Mar 8 15:37:33 2013 -0800 XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL While the C standard technically allows for the compiler to translate pointer = 0 or pointer = NULL into something other than filling the pointer address with 0 bytes, the rest of the Xlib code already assumes that calloc initializes any pointers in the struct to NULL, and there are no known systems supported by X.Org where this is not true. Signed-off-by: Alan Coopersmith commit 39547d600a13713e15429f49768e54c3173c828d Author: Karl Tomlinson Date: Mon Feb 18 01:25:34 2013 +0000 MakeBigReq: don't move the last word, already handled by Data32 MakeBigReq inserts a length field after the first 4 bytes of the request (after req->length), pushing everything else back by 4 bytes. The current memmove moves everything but the first 4 bytes back. If a request aligns to the end of the buffer pointer when MakeBigReq is invoked for that request, this runs over the buffer. Instead, we need to memmove minus the first 4 bytes (which aren't moved), minus the last 4 bytes (so we still align to the previous tail). The 4 bytes that fell out are already handled with Data32, which will handle the buffermax correctly. The case where req->length = 1 was already not functional. Reported by Abhishek Arya . https://bugzilla.mozilla.org/show_bug.cgi?id=803762 Reviewed-by: Jeff Muizelaar Reviewed-by: Peter Hutterer Signed-off-by: Alan Coopersmith Notes: CVE-2013-7439 commit 3cdb6c3a1646f670afa03d424ec12ac418181d1e Author: Quentin Glidic Date: Tue Jan 15 21:07:17 2013 +0000 nls/Makefile.am: Use LOG_COMPILER TESTS_ENVIRONMENT is deprecated Signed-off-by: Quentin Glidic Signed-off-by: Alan Coopersmith commit df66d7a98e2bc7f44fb5583b645df87d525f07f1 Author: Quentin Glidic Date: Tue Jan 15 21:07:16 2013 +0000 nls/Makefile.am: Remove unneeded $(srcdir) Signed-off-by: Quentin Glidic Reviewed-by: Gaetan Nadon Signed-off-by: Alan Coopersmith commit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 Author: Alan Coopersmith Date: Sat Mar 2 12:01:39 2013 -0800 Add hint to all Xrm* man pages Help users figure out which header file they need to #include Signed-off-by: Alan Coopersmith commit 466404007f2c8f7166e4faddfea1454c5bfe1e9a Author: Alan Coopersmith Date: Fri Mar 8 17:13:09 2013 -0800 _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after Signed-off-by: Alan Coopersmith commit 47d2eff64d167b3245d346d7f38ca703be645e26 Author: Ken Moffat Date: Thu Mar 7 18:27:54 2013 -0500 dead_double_grave and dead_inverted_breve should only have one underscore. Correct instances of dead_double_grave and dead_inverted_breve to dead_doublegrave and dead_invertedbreve. Signed-off-by: Ken Moffat Signed-off-by: James Cloos commit c23d61d1b84dca3740bf4786978c7908d0065fb9 Author: Alan Coopersmith Date: Fri Mar 1 18:10:27 2013 -0800 Assume size_t is always available, since it was defined in C89 Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. We already use size_t throughout the rest of Xlib, just had this one instance left in XKBGAlloc.c of a fallback definition. Signed-off-by: Alan Coopersmith commit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 Author: Alan Coopersmith Date: Fri Mar 1 18:09:07 2013 -0800 unifdef XKB_IN_SERVER Leftovers from XKB files that were previously shared between the client and server code, but aren't any more. Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit 769a0efa2298040fe8316a89fc9e75fb61e288e5 Author: Alan Coopersmith Date: Thu Feb 28 20:04:25 2013 -0800 unifdef CRAY & _CRAY (mostly performed with unifdef, followed by some manual cleanup of the remaining code) Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit ca106eb03e5f5468df8033300c5caae3d3c6936b Author: Alan Coopersmith Date: Thu Feb 28 20:04:25 2013 -0800 unifdef WORD64 WORD64 seems to have only been defined in when building for CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 64-bit alignment requirements. It hadn't been fully supported even before autotooling, as can be seen by removed code such as: #ifdef WORD64 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 #endif (mostly performed with unifdef, followed by some manual cleanup of the remaining code) Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 Author: Alan Coopersmith Date: Thu Feb 28 20:04:25 2013 -0800 unifdef MUSTCOPY MUSTCOPY seems to have only been defined in when building for CRAY, to handle missing some sizes of integer type. (mostly performed with unifdef, followed by some manual cleanup of spacing/indenting in the remaining code) Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit b687440c28c7da6ee0ae44514d20248db5161606 Author: Alan Coopersmith Date: Sat Feb 16 10:42:23 2013 -0800 Convert more sprintf calls to snprintf You could analyze most of these and quickly recognize that there was no chance of buffer overflow already, but why make everyone spend time doing that when we can just make it obviously safe? Signed-off-by: Alan Coopersmith commit b092dabbd712d7b656abcf572d253b9b206c0237 Author: Alan Coopersmith Date: Fri Feb 15 23:43:12 2013 -0800 XKeysymToString: move variable declarations to the scope of their usage Makes it easier for readers to understand scope of variable usage, and clears up gcc warning: KeysymStr.c: In function 'XKeysymToString': KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] Signed-off-by: Alan Coopersmith commit f0b171c8ea7b055ba520272ea9a2604e18841ac7 Author: Alan Coopersmith Date: Fri Feb 15 23:34:40 2013 -0800 Preserve constness in casting arguments through the Data*() routines Casts were annoying gcc by dropping constness when changing types, when routines simply either copy data into the request buffer or send it directly to the X server, and never modify the input. Fixes gcc warnings including: ChProp.c: In function 'XChangeProperty': ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] SetHints.c: In function 'XSetStandardProperties': SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] SetPntMap.c: In function 'XSetPointerMapping': SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] StBytes.c: In function 'XStoreBuffer': StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] StName.c: In function 'XStoreName': StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] StName.c: In function 'XSetIconName': StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 6c558ee357292dd9dfc6d9006f4525f625327c52 Author: Alan Coopersmith Date: Fri Feb 15 22:58:54 2013 -0800 Fix comment typo & confusing indentation levels in Data() macro definition The final } matches the one on the #define line, not one that doesn't appear after the else statement it was lined up with Signed-off-by: Alan Coopersmith commit afd6593da90e51234d59f8921c411317f91ab48b Author: Alan Coopersmith Date: Fri Feb 15 23:25:38 2013 -0800 XStringToKeysym: preserve constness when casting off unsignedness for strcmp Fixes gcc warning: StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 Author: Alan Coopersmith Date: Fri Feb 15 23:14:40 2013 -0800 XRebindKeysym: Drop unnecessary const-removing cast C89 defines memcpy as taking a const void *, so casting from const unsigned char * to char * simply angers gcc for no benefit: KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit 54527eab93d46055cf11eb6c18abb353a03ae544 Author: Alan Coopersmith Date: Fri Feb 15 22:45:19 2013 -0800 cmsColNm.c: maintain constness of arguments to qsort helper function Fixes gcc warning: cmsColNm.c: In function 'FirstCmp': cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Signed-off-by: Alan Coopersmith commit deedeada53676ee529d700bf96fde0b29a3a1def Author: Nickolai Zeldovich Date: Tue Jan 22 10:03:00 2013 -0500 XListFontsWithInfo: avoid accessing realloc'ed memory If exactly one of the two reallocs in XListFontsWithInfo() fails, the subsequent code accesses memory freed by the other realloc. Signed-off-by: Nickolai Zeldovich Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit f57fd760cba92ad846917f21e94e73e9c846185f Author: Colin Walters Date: Wed Jan 4 17:37:06 2012 -0500 autogen.sh: Implement GNOME Build API http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson commit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 Author: Adam Jackson Date: Tue Jan 15 14:28:48 2013 -0500 configure: Remove AM_MAINTAINER_MODE Signed-off-by: Adam Jackson commit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c Author: Alan Coopersmith Date: Wed Dec 26 22:57:39 2012 -0800 Remove unused DECnet ("DNETCONN") code from Xlib Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. DNETCONN support was removed from xtrans back in 2008. Signed-off-by: Alan Coopersmith commit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e Author: Alan Coopersmith Date: Wed Dec 26 22:56:38 2012 -0800 Remove unused TLI ("STREAMSCONN") code from Xlib Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. All known platforms with TLI/XTI support that X11R7 & later releases run on also have (and mostly prefer) BSD socket support for their networking API. Signed-off-by: Alan Coopersmith commit 59c9ee8cd58857c5769b643611cbe526005a9e45 Author: Alan Coopersmith Date: Sun Dec 16 17:44:42 2012 -0800 Tell clang not to report -Wpadded warnings on public headers we can't fix Better to silence the compiler warning than break ABI. Signed-off-by: Alan Coopersmith commit 0b148750027fd0557c5ed93afda861ddf4b92e0f Author: Jon TURNEY Date: Mon Nov 12 17:27:52 2012 +0000 Fix config check for loadable modules The config check of the results of testing for dlfcn.h or dl.h just tests the value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking it is 'yes', so loadable module support would always be detected. This is necessary for successful compilation for the MinGW target without the optional dlfcn-win32 library. v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works correctly when dlfcn.h is available Signed-off-by: Jon TURNEY Reviewed-by: Dan Nicholson commit cd25cab4b5b957641183ce72dd1ae0424aff1663 Author: Egbert Eich Date: Fri May 20 18:27:02 2011 +0200 Install Xcms.txt in $(datadir) rather than $(libdir). This file is an architecture independent data and should be where other databases are. This is the Xlib provided sample file, applications are free to use a different one specifying its location in the XCMSDB env variable. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a Author: Egbert Eich Date: Fri May 20 18:25:24 2011 +0200 Don't hard code path to Xcms.txt file. The path to this file is configurable at build time. The source however contains a hard coded path. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 9833489e6c3829a1e835bc0a11f028fc180809e4 Author: Colin Walters Date: Fri Dec 7 08:51:21 2012 -0500 Fix build after dropping locales They also needed to be removed from configure.ac Signed-off-by: Colin Walters Signed-off-by: Julien Cristau commit 0a740a574aaf0c0eec78859b773a532cff3b74c3 Author: Egbert Eich Date: Fri May 20 13:04:11 2011 +0200 i18n: Uppercased all occurances if 'iso8859' in the full locale name. Making all occurances of iso8859 upper case in the full local name makes the alias entries more consistent and match the entries on locale.dir. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 5e7d589697755a70fb22d85c6a1ae82b39843e53 Author: Egbert Eich Date: Fri May 20 17:55:49 2011 +0200 i18n: Remove ja.S90 and ja.U90 locales. Both locales carry a copyright notice and a prorietary statement: Copyright 1995 by FUJITSU LIMITED This is source code modified by FUJITSU LIMITED under the Joint Development Agreement for the CDEnext PST. This is unpublished proprietary source code of FUJITSU LIMITED Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e Author: Egbert Eich Date: Fri May 20 16:46:15 2011 +0200 i18n: Bring locale.dir and compose.dir in sync. Some entries for locale/encoding combinations were missing from either file or just misspelled, some entries were wrong or just aliases. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit d1e6baa4e290b758e430077cb74e7c03ad850771 Author: Egbert Eich Date: Fri May 20 14:02:39 2011 +0200 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. locale.alias contains a comment: XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". Thus lets treat 'a3' as an alias for 'az'. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith Reviewed-by: Magnus Kessler commit fa2aab0bea18efa26a56977d3166277582ab7b07 Author: Egbert Eich Date: Fri May 20 13:09:38 2011 +0200 i18n: Fixed typos in full locale names. Fixing those typos those names actually match entries in locale.dir. Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith commit b88dd95005dce4c40f9b4d5f938f945e7955fd04 Author: Egbert Eich Date: Sat May 21 07:29:38 2011 +0200 i18n: Remove duplicates and aliases to oneself. Aliases to itself don't make much sense. This changes occurances of: xy_UV.UTF-8: xy_UV.UTF-8 to xy_UV: xy_UV.UTF-8 where applicable. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit f198c6aa98f88ff285d903175a3c4c0fd33a4575 Author: Jens Herden Date: Fri May 20 17:29:03 2011 +0200 i18n: Add support for Khmer locale and compose table. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 40761898692e5063957bfa2518cca3d35b2e354a Author: Kalman Kemenczy Date: Fri May 20 17:03:24 2011 +0200 i18n: Add support for Serbian specific compose table entries. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 Author: Egbert Eich Date: Fri May 20 14:00:35 2011 +0200 i18n: Adding and removing comments. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 7754d68976106183751243c2c35a84134be17b34 Author: Egbert Eich Date: Fri May 20 13:45:31 2011 +0200 i18n: Add missing locales which existed in locale.alias. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit 952eccd0d25ba66023acfd31873eee2e71c38c42 Author: Egbert Eich Date: Fri May 20 10:57:57 2011 +0200 i18n: Consolidate compose handling for locales with UTF-8 encoding. - add an entry to include the default en_US compose file for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. - add missing entries for zh_CN. and zh_HK and am_ET. - change entries for the UTF-8 encoding for ru_RU, ja_JP, ko_KR, th_TH and zh_TW to point to their native directory entries. Signed-off-by: Egbert Eich Reviewed-by: James Cloos commit d14b6a250f004fa405179db7020f6953001d17b9 Author: Yaakov Selkowitz Date: Mon Oct 22 13:54:11 2012 -0500 XIM: remove Private and Public macros Private is a struct member name in mingw-w64 , causing this useless define in a private header to break the build. Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY commit f2a8def423a46d52e834cf7ea49fa0079427663a Author: Adam Jackson Date: Wed Oct 17 14:40:43 2012 -0400 XErrorDB: Add GLXBadProfileARB Signed-off-by: Adam Jackson commit d45b3fc19fbe95c41afc4e51d768df6d42332010 Author: Ross Burton Date: Wed Sep 12 14:39:40 2012 +0100 Allow overriding location of keysymdef.h Currently keysymdef.h is found by using the includedir of xproto. This doesn't work when cross-compiling with a sysroot as that ends up being /usr/include/X11, not a path into the cross-build environment. So, add an option to allow explicitly specifying the location of keysymdef.h, and verify that the specified or found path exists. (original patch by Martin Jansa , revised by myself) Signed-off-by: Ross Burton Reviewed-by: Dan Nicholson Reviewed-by: Daniel Stone commit 44cdc0dc2c68d67654023ec707b807145d3a38c0 Author: Eric S. Raymond Date: Thu Aug 23 19:15:07 2012 -0400 Renove some unnecessary low-level markup. Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. This appears to have been somebody's thinko, it's only in a few of the files. Signed-off-by: Eric S. Raymond commit b686600ab5ca93b5750f827786e79c329ab2db4d Author: Eric S. Raymond Date: Thu Aug 23 10:53:33 2012 -0400 The .NT/.NE macro pair is no longer used. Remove it. Signed-off-by: Eric S. Raymond commit b83f2898528c5dd683acd2a2143879a760a8dad5 Author: Eric S. Raymond Date: Thu Aug 23 10:42:46 2012 -0400 Remove the one and only use of the .NT/.NE pair. The problem with these macros is that they rely on being able to center the note label. That doesn't play well with modern HTML, not anyway without coomplications like CSS. This use was just a cute trick, not adding enough value to be kept. commit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 Author: Eric S. Raymond Date: Thu Aug 23 10:23:45 2012 -0400 The .C{ and .C} macros are never used. Remove them. Signed-off-by: Eric S. Raymond commit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 Author: Eric S. Raymond Date: Thu Aug 23 10:08:08 2012 -0400 The .FN macro, paired with .FD, is also never used. Remove it. Signed-off-by: Eric S. Raymond commit cac6572701c976542da562b2b277b07ffb892a6f Author: Eric S. Raymond Date: Thu Aug 23 10:03:00 2012 -0400 The ".FD" macro is never used. Remove it. It was a temptation to presentation-level klugery and is best gone. Signed-off-by: Eric S. Raymond commit 6e27a828f39f7028bc7f4a8736e7262fca250632 Author: Eric S. Raymond Date: Thu Aug 23 09:54:25 2012 -0400 Clean up, my last commit missed four cases. Signed-off-by: Eric S. Raymond commit a7fb575957ff4d9dd3671994a005ac3be8bb10fe Author: Eric S. Raymond Date: Thu Aug 23 08:24:17 2012 -0400 Eliminate all uses of tab stops in the libX11 man pages. Two steps: First, expand tabs to 8 spaces in code and structure listings. Second, make the .Ds used to wrap code listings switch to constant-width font (CW) rather than numeric font position 1, which maps to R on most systems. It is possible some archaic systems won't know what CW is, but the only risk is that code listings won't look quite right on troff devices; the PostScript and DVI drivers definitely grok it, so those important cases are OK. The purpose of these changes is to get rid of presentation-level markup so these pages will lift clean to DocBook. Signed-off-by: Eric S. Raymond commit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 Author: Will Thompson Date: Mon Jul 9 18:00:27 2012 +0100 Add compose sequences for "therefore" and "because". These sequences look sensible to me. I added them to the APL-related section of Mathematical Operators—they're in that section of Unicode anyway. https://bugs.freedesktop.org/show_bug.cgi?id=51922 Signed-off-by: Will Thompson Reviewed-by: Daniel Stone commit 65358ea5079236b2508f787ac2fb2024a477e36d Author: Alan Coopersmith Date: Fri Jun 29 23:08:04 2012 -0700 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers Signed-off-by: Alan Coopersmith commit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e Author: Alan Coopersmith Date: Fri Jun 29 22:57:13 2012 -0700 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails Fixes leaks in error paths found by Parfait 1.0.0: Error: X Resource Leak Leaked X Resource pix at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. pix initialized at line 60 with XCreatePixmap Error: X Resource Leak Leaked X Resource pix at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. pix initialized at line 66 with XCreatePixmap Signed-off-by: Alan Coopersmith Reviewed-by: Aaron Plattner commit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 Author: Alan Coopersmith Date: Wed Jun 6 13:31:16 2012 -0700 libX11 spec: Correct prototype for XConvertSelection selection & target parameters were accidentally run together Signed-off-by: Alan Coopersmith commit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 Author: Alan Coopersmith Date: Fri Jun 1 23:37:09 2012 -0700 libX11 1.5.0 Signed-off-by: Alan Coopersmith commit 05c587ec3be880721131a17c1dd4366e458fdd8b Author: Alan Coopersmith Date: Sat May 26 14:37:28 2012 -0700 libX11 1.4.99.902 (1.5 RC2) Signed-off-by: Alan Coopersmith commit d817834d9772e3500d5102e2eae868b04a33c31f Author: Pander Date: Sat May 5 19:02:10 2012 +0200 Compose: Reassigned squences with minus and a or o Reassigned squences with minus and a or o (vice versa and lower and upper case) to conform existing series and not resulting in tilde. Also added noe missing underscore sequence. Signed-off-by: Alan Coopersmith commit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 Author: Pander Date: Sat May 5 16:56:05 2012 +0200 Compose: Removed and vice versa Combination with lower case u suffices Signed-off-by: Alan Coopersmith commit 3a8b1637132d1e36eb5e11f52dfb284081772d14 Author: Pander Date: Sat May 5 16:44:31 2012 +0200 Compose: Removed for n with tilde, also vice versa & for upper case Signed-off-by: Alan Coopersmith commit fd514d7a35119dd4413b51c84f2a536f2ca501a6 Author: Pander Date: Sat May 5 16:40:20 2012 +0200 Compose: Removed in combination with a numeral for superscript Signed-off-by: Alan Coopersmith commit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d Author: Pander Date: Sat May 5 16:28:01 2012 +0200 Compose: Reassigned to oacute, also for upper case. Signed-off-by: Alan Coopersmith commit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 Author: James Cloos Date: Thu May 10 12:27:28 2012 -0400 Remove duplicate compose sequences from commit e51e37c118ae. The compose-check script only handles compiled Compose files, not the Compose.pre files. One must remember to use: ./autogen.sh; make; make check when reviewing patches to the Compose.pre files.... Signed-off-by: James Cloos commit e51e37c118ae6cb9ced8244ce1c410677e0279ce Author: Geoff Streeter Date: Thu Mar 22 15:02:00 2012 +0000 Add APL support to compose Signed-off-by: Geoff Streeter Signed-off-by: James Cloos commit dac90324cee224df977a428afe80d960dceca769 Author: Julien Cristau Date: Sat May 5 16:05:07 2012 +0200 configure: make previous change work with older autoconf autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do the tests separately. Reported-by: Dave Airlie Signed-off-by: Julien Cristau commit f5b50af4324186962e258ffe9be78d5ee4681982 Author: Julien Cristau Date: Sun Apr 29 16:43:09 2012 +0200 configure: check if issetugid is declared GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't declare it anywhere, causing gcc to error out with -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to AC_CHECK_FUNC so we disable this code instead of failing to build it. Debian bug#669670 Signed-off-by: Julien Cristau Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith commit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 Author: Peter Hutterer Date: Mon Apr 30 16:36:47 2012 +1000 Typo fix Signed-off-by: Peter Hutterer commit b64969f0e510d5d3300cf968741a3726a6409577 Author: Alan Coopersmith Date: Tue Apr 17 18:12:02 2012 -0700 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion Signed-off-by: Alan Coopersmith commit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e Author: Alan Coopersmith Date: Tue Apr 17 18:01:36 2012 -0700 Add olinks from libX11 & localedb specs to ICCCM spec Signed-off-by: Alan Coopersmith commit b3c1b8cdab7d14220426c9b997ac362dc16318fc Author: Alan Coopersmith Date: Tue Apr 17 17:49:44 2012 -0700 Add olinks from libX11 spec to ICCCM spec Also convert ICCCM title mentions from to Signed-off-by: Alan Coopersmith commit ebebb65e753007ad01966dccc90bd6ca9a826488 Author: Alan Coopersmith Date: Sat Apr 14 23:40:01 2012 -0700 libX11 AppC: Fix section headers that didn't translate from nroff properly Signed-off-by: Alan Coopersmith Acked-by: Peter Hutterer commit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 Author: Alan Coopersmith Date: Sat Apr 14 23:13:05 2012 -0700 Add olinks from libX11 spec to x11protocol spec Signed-off-by: Alan Coopersmith Acked-by: Peter Hutterer commit 83878a0e34fffd255597300dd3e6cd43fcd645b0 Author: Alan Coopersmith Date: Sat Apr 14 22:28:53 2012 -0700 libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype Signed-off-by: Alan Coopersmith commit abc523fce31fcf2687229697a8eb656e343ecb0c Author: Alan Coopersmith Date: Thu Mar 15 22:14:45 2012 -0700 libX11 1.4.99.901 (1.5 RC1) Signed-off-by: Alan Coopersmith commit b2cc5905a4a6d519957223e8ba2caef71520040c Author: Alan Coopersmith Date: Thu Mar 15 22:03:21 2012 -0700 Remove "register" qualifier that annoys Solaris Studio compiler Fixes warning: "Xrm.c", line 1094: warning: storage class after type is obsolescent Signed-off-by: Alan Coopersmith commit 62d42953893f93a98db0504eaf06d650ceaf5811 Author: James Cloos Date: Wed Mar 14 17:25:46 2012 -0400 Fix the gtk+ additions (Some of) the Dstroke and dstroke entries already were present as U011[01], even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. The addition of as a postfix version of blocks the existing entries for ǻ and Ǻ. That prevents its and ’s addition. Signed-off-by: James Cloos commit 91bcce48d94792f78333d2aea73961cc2e739d2e Author: Pander Date: Wed Mar 14 12:54:53 2012 -0400 Complete compose key sequences for musical symbols Signed-off-by: Pander Signed-off-by: James Cloos commit cf040016d455bc37f7665d6714337c5eafd8ea94 Author: Pander Date: Wed Mar 14 12:46:25 2012 -0400 Add compose sequences from gtk+ to X.Org Signed-off-by: Pander Signed-off-by: James Cloos commit a4c591ced5cac9301b9abfa0e521be2d0b267882 Author: Keith Packard Date: Sun Mar 4 02:00:13 2012 -0800 Block for other threads in _XUserLockDisplay Wait for all other threads to release the user-level lock when acquiring it. This ensures that only one thread at a time holds the user-level lock, necessary as it is a nesting lock and a single variable is used to determine when the lock is nesting and when it is contended. Signed-off-by: Keith Packard Reviewed-by: Jamey Sharp commit ed00b460acb08787b695f27b864e96102dfd4867 Author: Jon TURNEY Date: Fri Oct 28 11:09:20 2011 -0500 Don't use caddr_t casts (caddr_t) isn't used anywhere else in xcb or libX11. Cast to (char *) for consistency. Removing this cast allows building for MinGW without patching. v2: Cast to (char *) rather than just dropping the cast Signed-off-by: Jon TURNEY Reviewed-by: Alan Coopersmith commit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 Author: Julien Cristau Date: Sun Feb 19 13:27:38 2012 +0100 Revert "xcb: Add TCP fallback" This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. The TCP fallback ended up falling back to UNIX socket connection if $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. Debian bug#659558 Signed-off-by: Julien Cristau Conflicts: src/OpenDis.c commit f4378193619baa9bb973c1b5b718721bbcbe92c7 Author: James Cloos Date: Wed Feb 22 14:13:20 2012 -0500 Make the compose sequence for ẞ work. There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, so use the U1e9e symbol in the Compose sequence. (Compose sequences do not work when the target symbol is unknown.) Signed-off-by: James Cloos commit 2ca641c3a506dcbee97e279b67990d5387389f36 Author: Marko Myllynen Date: Mon Feb 20 17:04:59 2012 +0200 Use ezh/EZH in compose maps Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 Signed-off-by: Marko Myllynen Reviewed-by: Matt Dew Signed-off-by: James Cloos commit 61725822f20f47684a545c1797183ee7075243ac Author: Marko Myllynen Date: Sun Feb 20 17:09:43 2011 +0200 Provide translation from XK_permille (ad5) to Unicode (U2030) https://bugs.freedesktop.org/show_bug.cgi?id=19687 Signed-off-by: Marko Myllynen Reviewed-by: Matt Dew Signed-off-by: James Cloos commit d2cce0abba0fa0143f49026442c8cab5ed721625 Author: Jeremy Huddleston Date: Sun Feb 12 19:01:43 2012 -0800 nls: Use LC_CTYPE=C for sed magic Stricter versions of sed can trip up if the input does not match LC_CTYPE Signed-off-by: Jeremy Huddleston commit f180e043f55531933bedfa6e0ff36a00a9ec07f3 Author: Frédéric Boiteux Date: Wed Nov 30 12:47:31 2011 +0000 Compositions with the dead greek symbol FreeDesktop Bug 21475 Signed-off-by: Frédéric Boiteux Signed-off-by: James Cloos commit d58e8f8e27790017fcfdeca0843b7318d541c189 Author: Ryan Pavlik Date: Sun Jan 1 21:04:52 2012 +0000 Use pthreads on MinGW also Use pthreads (provided by the pthreads-win32 compatability library which implements them using native Win32 threading) on MinGW Reviewed-by: Jon TURNEY commit bf15ccb6821664746ec23d769d757edf8059007e Author: Ryan Pavlik Date: Mon Jan 23 14:18:02 2012 +0000 Add XWindows.h include to Xxcbint.h This avoids some conflicting type re-definition errors which occur if we attempt to include Windows headers after Xmd.h Reviewed-by: Jon TURNEY commit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a Author: Matt Dew Date: Sat Jan 21 17:59:51 2012 -0700 informaltable & table cleanup On certain tables, add top and bottom borders to table header and a bottom border to the table. This matches what those tables in the old pdfs looked like. the prevents tables from splitting across pages. Useful for tiny tables. Converting the colwidth to a floating point, IE, 1* -> 1.0* cleans up these build errors: WARNING: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) Signed-off-by: Matt Dew commit bb551f654df8f647c867f79252241964521e689e Author: Alan Coopersmith Date: Wed Dec 28 21:22:41 2011 -0800 Add more Xkb man pages to the See Also lists for core keyboard functions Signed-off-by: Alan Coopersmith Reviewed-by: Peter Hutterer commit b7bb23fe7c8b8a17128e5bc98a05f68595190438 Author: Gaetan Nadon Date: Fri Dec 30 17:08:14 2011 -0500 docbook.am: embed css styles inside the HTML HEAD element Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon commit 70505468b7c4a7068cc39be42e421dcee34ec595 Author: Alan Coopersmith Date: Tue Dec 13 19:58:30 2011 -0800 makekeys: move buf declaration from global to main to silence gcc -Wshadow The global was only referenced in the main() function, which passes it as an argument of the same name to the parse_line() function, leading to gcc -Wshadow warnings: makekeys.c: In function ‘parse_line’: makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration makekeys.c:54:13: warning: shadowed declaration is here Signed-off-by: Alan Coopersmith commit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 Author: Kusanagi Kouichi Date: Wed Dec 14 02:17:55 2011 -0500 XQueryColors: Split a request into multiple requests if necessary https://bugs.freedesktop.org/show_bug.cgi?id=9160 Signed-off-by: Kusanagi Kouichi Signed-off-by: James Cloos commit d3b3570592e9b9e57f270a0bd86762fd205a2833 Author: Andreas Wettstein Date: Tue Nov 8 20:18:09 2011 +0000 XIM: Allow modifier releases in compose sequences (#26705) Currently, only non-modifier keys (actually, keysyms) can be part of a compose sequence, and they are matched against the defined compose sequences at the time the key is pressed. The patch allows to use modifier keys an well, but matches them on key release, and only if no other key has been pressed after the modifier. Releasing a non-matched modifier during an ongoing compose sequence only aborts the sequence if any modifier release would have matched. In particular, if no compose sequences with modifiers are specified, the compose mechanism works exactly as without this patch. Even if modifiers are part of a compose sequence, they are not filtered. This is because modifiers affect the keyboard state no matter what we do here and, therefore, filtering them only could confuse clients. The purpose is this extension to the compose mechanism is to allow to make better use of keys in convenient reach for touch typing. Signed-off-by: Andreas Wettstein Signed-off-by: James Cloos commit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 Author: Alan Coopersmith Date: Tue Nov 29 23:56:57 2011 -0800 Reject negative string counts in copy_string_list Silences parfait warning of a potential memory leak: Memory leak of pointer 'dst' allocated with malloc(length) at line 160 of FSWrap.c in function 'copy_string_list'. 'dst' allocated at line 145 with malloc(length). dst leaks when count <= 0 at line 154. Signed-off-by: Alan Coopersmith commit bf2d7c8c6d70539c72560b1921e18df2610acf29 Author: Peter Hutterer Date: Fri Nov 11 14:56:36 2011 +1000 libX11 1.4.99.1 Signed-off-by: Peter Hutterer commit 24283d40b1e4314c6647dda49d2a159833341a8b Author: Derek Buitenhuis Date: Thu Sep 22 18:44:13 2011 -0400 makekeys: Fix build/target word size mismatch when cross-compiling Since makekeys is built using build environment's gcc and runs natively, we have to make sure that the size of the Signature type is the same on both the native environment and the target, otherwise we get mismatches upon running X, and some LSB test failures (xts5). Use an unsigned 32-bit integer on all platforms. Also, eliminate the redundant multiple typedefs for the Signature type. Signed-off-by: Derek Buitenhuis Reviewed-by: Daniel Stone commit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 Author: Alan Coopersmith Date: Wed Nov 9 21:00:36 2011 -0800 XlcSL.c: convert old-style function definitions to ANSI C89 style Signed-off-by: Alan Coopersmith commit f6dad6aaa384bf836baa28ccb72b476a85c40eff Author: Peter Hutterer Date: Thu Oct 27 13:53:22 2011 +1000 Use GetReqSized for GetReq and GetReqExtra GetEmptyReq and GetResReq cannot do this due to the final typecast - typically requests that need either of those do not have their own typedef in the protocol headers. Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit c9c99058b9d98789c0b2d7e78a23443c2b57a047 Author: Peter Hutterer Date: Fri Oct 14 14:51:06 2011 +1000 include: Add GetReqSized() for request buffers of specific size Some XI2 requests change in size over different versions and libXi would need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the library can explicitly specify the size of the request in 4-byte units. Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit ba8a7a19165e30d14bc165f43f67c19b6a115585 Author: Peter Hutterer Date: Thu Oct 27 13:24:10 2011 +1000 Switch GetEmptyReq and GetResReq to call _XGetRequest Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit 4a060f993bf676cf21ad9784e010f54134da7b40 Author: Peter Hutterer Date: Mon Oct 17 09:45:15 2011 +1000 Add _XGetRequest as substitute for GetReq/GetReqExtra Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp commit d8956520deb79c1cbb5e974c175bf8493859b22b Author: Alan Coopersmith Date: Fri Oct 14 17:53:00 2011 -0700 Fix "nomal" -> "normal" typo in several comments Signed-off-by: Alan Coopersmith commit 002b36e308a26a152504f9b40aa08a0dce9a7991 Author: Xue Wei Date: Fri Oct 14 17:39:21 2011 -0700 mbtocs should not truncate input Fixes pasting more than 1024 bytes into xterm, as described in https://bugs.freedesktop.org/show_bug.cgi?id=25209 Signed-off-by: Alan Coopersmith commit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd Author: Marko Myllynen Date: Mon Oct 10 09:41:13 2011 +0300 Add new compose sequences This patch adds few new compose sequences to the en_US map, ligatures common in typesetting and sequences already in use in the fi_FI map. https://bugs.freedesktop.org/show_bug.cgi?id=30621 https://bugs.freedesktop.org/show_bug.cgi?id=34523 Reviewed-by: Jeremy Huddleston commit 738f7b867341c1da87ee667d48815822715c3e75 Author: Choe Hwanjin Date: Thu Oct 13 07:58:02 2011 +0900 XIM: Make Xim handle NEED_SYNC_REPLY flag NEED_SYNC_REPLY flag should be in Xim not in Xic. Because the focused Xic can be changed before sending sync reply. After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. This patch adds sync reply flag to Xim and removes sync reply from Xic. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 Signed-off-by: Choe Hwanjin Reviewed-by: Jeremy Huddleston commit 50e15379331c436851abb194251cde96999e67b3 Author: Bodo Graumann Date: Mon Oct 10 16:40:52 2011 +0200 libX11: Fixing modifier key range in Xutil.h (Bug #21910) IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, which keys are regarded as modifiers. The constants ISO_Level5_Shift, ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving some Neo2 modifiers functionless in combination with compose. This patch adjusts the range to include the correct, full range of modifier constants. Neo2 Bug 277 X.Org Bug 21910 Signed-off-by: Bodo Graumann Reviewed-by: Daniel Stone commit b5a108624331fabf393223c0891914cc54d4caf4 Author: Yann Droneaud Date: Tue Oct 11 17:27:59 2011 +0200 Return name instead of False in XSetICValues() In case of error, XSetICValues() must return the first argument that failed to be set. But in some error paths, it returns False, which is converted to NULL, so the function returns OK in case of error. Signed-off-by: Yann Droneaud Reviewed-by: Jeremy Huddleston commit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba Author: Yann Droneaud Date: Sun Oct 9 17:56:45 2011 +0200 Return name instead of value in XGetIMValues() and XSetIMValues() As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), XGetIMValues() and XSetImValues() "returns the name of the first argument that could not be obtained." But currently, err = XGetIMValues(im, "invalid", &arg, NULL); returns &arg instead of "invalid". This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 Signed-off-by: Yann Droneaud Reviewed-by: Jeremy Huddleston commit f2651e03f3295a453a2965c3749bc8b6e66f1c09 Author: Jeremy Huddleston Date: Mon Oct 10 14:09:17 2011 -0700 Mark XKeycodeToKeysym as _X_DEPRECATED Signed-off-by: Jeremy Huddleston commit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb Author: Jeremy Huddleston Date: Sun Oct 9 02:38:28 2011 -0700 Fix nobreakspace for pt_BR.UTF-8 https://bugs.freedesktop.org/show_bug.cgi?id=31334 Signed-off-by: Jeremy Huddleston commit 913603660c17ec59a4d39d3e3b9d60469ee5c060 Author: Jeremy Huddleston Date: Sun Oct 9 02:26:45 2011 -0700 Fix potential uninitialized variable access in _XimMakeICAttrIDList Found by clang static analysis Signed-off-by: Jeremy Huddleston commit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f Author: Jeremy Huddleston Date: Sun Oct 9 02:25:50 2011 -0700 Remove self-resolving aliases https://bugs.freedesktop.org/show_bug.cgi?id=30112 Signed-off-by: Jeremy Huddleston commit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e Author: Matt Dew Date: Fri Oct 7 22:52:30 2011 -0600 Cleanup IDs and links in doc 1 - fix the capitalization of the ID attributes to match either the or <funcdef> string it goes with. 2 - fix any <linkend>'s that were affected by 1. 3 - any <function> in the docs that has an actual funcdef, will become an olink. Signed-off-by: Matt Dew <marcoz@osource.org> commit f858f3326adbc0c5711669b92a64a84a9083a055 Author: James Cloos <cloos@jhcloos.com> Date: Tue Oct 4 17:11:11 2011 -0400 [nls] Fix typo/synco. The iso8859-1 Compose table includes an optional section which uses Ctrl<T> as a substitute for <Multi_key>. In that section the sequence to generate an @ (at) either was incorrectly copied from the Multi_key section or was not kept in sync with the Multi_key section. Fixing this eliminates the warning from compose-check.pl: ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┃ Clash with existing sequence in iso8859-1/Compose.pre ┃ on line 661: Ctrl<T> <A> <A> ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring ┃ line #480: Ctrl<T> <A> <A> : "@" at ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Signed-off-by: James Cloos <cloos@jhcloos.com> commit 7f35f7efc23234b3f8529fee31a802c21846d9ab Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Mon Sep 26 11:32:56 2011 -0700 Remove conflicting compose sequences for cent and colon Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 Found by tinderbox Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun Sep 25 16:29:17 2011 -0700 Add additional compose sequences for pound sterling, yen, and cent (mixed case) https://bugs.freedesktop.org/show_bug.cgi?id=1013 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 0ca4153a373e2af7a9eb3cef003393ab332bc79e Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sat Sep 24 16:44:04 2011 -0700 Use a configure check for seteuid HP-UX doesn't have seteuid https://bugs.freedesktop.org/show_bug.cgi?id=1497 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 79594b4d66344f248eb4314ecb78eb81f632c3ab Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 20 16:06:10 2011 -0400 localedb specs: use <copyright> for first holder of multi license Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 154430268cf004b06920edde2f1812dc16d71fae Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 20 16:01:52 2011 -0400 libX11 specs: use <copyright> for first holder of multi license Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 66e621f58dee804acb795ff2c79ce6dd38b34a3f Author: Tollef Fog Heen <tfheen@err.no> Date: Tue Sep 20 13:07:37 2011 -0400 NLS: Add more vulgar fractions Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. Signed-off-by: Tollef Fog Heen <tfheen@err.no> Signed-off-by: James Cloos <cloos@jhcloos.com> commit e37a6da814b5653be46000a9a76902729660a2e6 Author: Alexander Polakov <polachok@gmail.com> Date: Sat Sep 17 20:54:58 2011 +0400 XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also There is no XAllowAccess man page to see. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a23f3323f269b33a43d16dce01395cd28bc41b45 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 15:27:44 2011 -0400 XKB: provide adequate quotes for the license text Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a9c7a5cad91d968f5536ef8fc735036e921832a3 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 15:18:53 2011 -0400 XIM: refactor the multi licensing legal text Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit c46f934ed89e7de79746a0387c9f998d91994ea6 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 10:33:30 2011 -0400 xim trans: restore Fujitsu copyright legal text Somehow lost during docbook conversion. text from x.org ftp R7.5. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 10:11:46 2011 -0400 xtrans: restore X Consortium original legal text Asking X Consortium permission to use The Open Group name makes no sense. Even more so in 1994 before X Window System was passed on to the Open Group. Using original text from xorg-docs/general/License Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 136a381585a4a9686c11bad1a6130837978e677f Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 10:03:21 2011 -0400 Framework: restore X Consortium copyright Somewhat dammaged during docbook conversion. Also restore pasrt of the original license text Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 33f346878406762704a0c13cdc018111c666f3c1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 09:50:00 2011 -0400 localedb: restore X Consortium original legal text Asking X Consortium permission to use The Open Group name makes no sense. Even more so in 1994 before X Window System was passed on to the Open Group. Using original text from xorg-docs/general/License Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e99c9338e413efca026210b9d830efb5c74d34e5 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:23:18 2011 -0400 specs: support multi licensed copyright notice and license text For documentation having multiple licenses, the copyright and legalnotice elements sequence cannot instantiated multiple times. The copyright notice and license text are therefore coded inside a legalnotice element. The role attribute on the paragraph is used to allow styling of the copyright notice text which should not be italicized. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b9dedc757e667333ce899115d618f25cdaa4dd5e Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:17:50 2011 -0400 localedb: add release info to spec Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 4519c89a87ddce01e599542737a27c26030fe4ff Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:05:32 2011 -0400 specs: fix The Open Group license text The warranty referred to the X Consortium Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 08ac378423e7be72e340197ba5559a1a36f1783c Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 19 08:03:39 2011 -0400 specs: The strandard name is still "X Consortium Standard" This spec, and fsproto spec, are the only two docs with a different standard name. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 18 13:22:34 2011 -0400 specs: support multi licensed copyright notice and license text For documentation having multiple licenses, the copyright and legalnotice elements sequence cannot instantiated multiple times. The copyright notice and license text are therefore coded inside a legalnotice element. The role attribute on the paragraph is used to allow styling of the copyright notice text which should not be italicized. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 278ca8947c1dabb2b819527dca0fa6190c034f67 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 16 11:45:56 2011 -0400 docs: merge copyright holder under the same copyright notice As per the docbook markup dtd. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7ff012bb433109a622ac122ade71669e842ebdcf Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 16 10:09:57 2011 -0400 specs: handle multiple sets of copyright notice/license/warranty Docbook groups all the <copyright> elements together and all the <legalnotice> elements together. We cannot have a sequence: <copyright> <legalnotice> <copyright> <legalnotice> [...] A workaround, which was done in some documents, is to put the copyright notice inside the legalnotice in plain text without the <copyright> element. A formal paragraph title is added here which makes the copyright notice bold, and makes it much easier to locate. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 4a550c71b8221c37b1a9378d5a170da9eaa03405 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Sep 14 15:55:42 2011 -0400 specs: remove orphan affiliation. Authors affiliation are correct. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 0cc02a6df65214560b7575e89cebee741d6d2469 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Sep 13 17:39:02 2011 -0400 specs: use appropriate markup for Copyright statements Also move <releaseinfo> to match order of appearance Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit afe13e19ebf0fc4e3460644164433af016f0add7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 12 16:54:45 2011 -0400 docs: use the &fullrelvers; entity to set X11 release information Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 22a2153282db13e9d94881022b8c979539841a2c Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 19:49:53 2011 -0400 docs: remove <productnumber> which is not used by default This element is not rendered by default on the title. A template customization is required to display it. X Window System does not have a product number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 17:40:21 2011 -0400 docs: use the &fullrelvers; entity to set X11 release information Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a6b2992f50b571d612ea9ade631c432c3099bc12 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 17:38:42 2011 -0400 docs: remove orphan <affiliation> Somehow created during the conversion from roff. Unable to locate the author to which it belongs. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit c7420060b6e47b8467ba50c796ec3c1bab090bc7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Sep 11 17:38:05 2011 -0400 docs: remove <productnumber> which is not used by default This element is not rendered by default on the title. A template customization is required to display it. X Window System does not have a product number. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7d5b718c1edbc43c54b7001be548e515a49540ea Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 9 14:46:39 2011 -0400 docbook.am: embed css styles inside the HTML HEAD element Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 24632d280491c465dfe208ef788815890892e326 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Sep 5 12:53:12 2011 -0400 compose: upgrade makefile to support olinking on chunked html The essential differences over the regular docbook.am are: Adding root.filename parameter for naming of chapters html files. Using xhtml xmlto format and xorg-chunk.xsl stylesheet Set olink.base.uri for pdf but not for chunked html Olink is not applicable to ps and txt formats. Html chapters are added to shelf_DATA as they are also installed. The xml is generated from a perl script and not distributed. Requires version 1.10 of xorg-sgml-doctools. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Aug 31 19:46:20 2011 -0400 docbook.am: refactor common flags for xmlto and xsltproc Maximize reuse and reduce risk of setting the wrong flag at the wrong place. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Aug 31 10:46:59 2011 -0400 docbook.am: add search path for local entities Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. A module may want to add entities that apply only to itself and not to all modules, like the xserver does. This feature may or may not be used in this module, but all modules share a copy of docbook.am. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b5ed2d368d47f244d43d2513329fa2758bc4ef54 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Aug 25 14:39:20 2011 -0400 docbook.am: explicitly list xmlto flags for each target Normal evolution of make targets make it impractical to factor out common command flags for xmlto. The targets now list each command option as its presence or absence needs to be justified. xorg.ss is only needed by xmlto for html. masterdb is only needed by xmlto. img.src.path must not be used by html. xsltproc need to use customization layer xorg-*.xsl. txt format is not required to search masterdb. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit d5b3605f3b0639452e892e9ff3afb18bb7442069 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Aug 25 13:12:49 2011 -0400 docbook.am: do not generate docs if docbook customization layer is missing The stylesheets used to be only about style, fonts or colors. Complex features are now used like olink and chunked html which may cause a build break when stylesheets are missing or lead to hard to find problem. Some modules may be built when stylesheets are present while others are built without. There is no requirement to build crippled docs. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7f23c72c94d9d14122426b0d8c66054f1402769a Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 5 14:33:32 2011 -0400 libX11 specs: review doclifter generated tables Many tables had a questionnable layout and some had information dropped. Each table was cross-referenced with a pre-docbook version to ensure semantic integrity. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jul 20 15:28:47 2011 -0400 credits.xml: remove toc from Acknowledgments There should be no toc for a simple preface with only one Acknowledgments section. Use <simplesect> markup rather than sect1. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Aug 4 19:59:37 2011 -0400 libX11 specs: move </para> above <varaiablelist> Many, but not all, function synopsis have a paragraph that nests the variable list. The code was generated by doclifter and there is no apprent reasons as to why it was done this way. Found while investigating a spacing issue. Before the patch: <para>Some blurb about the function <funcsynopsis> </funcsynopsis> <variablelist> </variablelist> </para> After the patch: <para>Some blurb about the function</para> <funcsynopsis> </funcsynopsis> <variablelist> </variablelist> There are no noticable differences when reading the doc other than than the removed few pixels of spacing between the function sysnopsis and the variable list block. In some cases, there are no "blurb about the fucntion" and the empty paragraph is removed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jul 28 19:46:14 2011 -0400 compose specs: generate chunked html For large 600 page documents such as this one, chunked html provide faster browser load time and better navigation. Simply click on the locale of your choice in the toc and the browser loads just that one file. Being a DocBook, it benefits from all of the usual features and can be integrated with the rest of the documentation. Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jun 23 15:16:47 2011 -0400 specs: build compose keys tables in specs/i18n/compose Build the tables article together with the rest of the specs. Make it transparent that the source in generated in nls. Reuse docbook.am and get all the features such as olink. The docbook article file stem and id must be the same. The new name for the main article is libX11-keys. The new installation location is $docdir/libX11/i18n/compose. The nls dir retains the role of generating the DocBook/XML source but does not build neither installs output formats or generated source. The tables article now has to specify that each included locale section is a dependency. It did not matter before as they were web links. The xorg-sgml-doctools masterdb shall be updated to include this new doc. Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit adebbe3856b4aee39c0c7af902c1dea847dd6d7c Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jun 23 14:43:31 2011 -0400 nls: restructure charts as a single article with sections Looks more like a real article with a toc rather than individual web pages. Looks nicer in pdf. Each locale is a "section" rather than an "article". Using XInclude to aggregate xml source files gets you the toc for free. The single document is over 600 pages while there were 62 separate documents previously. FOP version 1.0 is required to handle missing character like capital sharp s. Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 28 19:32:40 2011 -0700 libX11 1.4.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ab1f30231755d99ed123af6873b981834640f01d Author: Matt Dew <marcoz@osource.org> Date: Wed Jul 13 12:33:40 2011 -0600 Add id attributes to error codes to allow linking from other docs. Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Acked-by: Gaetan Nadon <memsize@videotron.ca> commit 5c831fef402914ccf2ec14005c25be48852f119b Author: David Coppa <dcoppa@gmail.com> Date: Tue Jul 12 10:05:47 2011 +0200 Fix libpthread linkage on OpenBSD. OpenBSD prefers to use the -pthread to fetch pthread libs when needed. Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jun 22 20:46:26 2011 -0400 config: use XORG_WITH_PERL macro to replace custom program check New in version util-macros 1.15, the macro does the usual checking for program path and provides an interface for makefile variables. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 47d99a324db9232029a22dd523e3bc3ed0936aca Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jun 22 20:41:18 2011 -0400 config: update XORG_WITH_FOP macro usage A new feature to test for a minimum version has been added. The parameter position changed. Due to limited usage and requiring 1.15, it turns out to be backward compatible. There is no functional change to how docs are build. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jun 22 11:48:49 2011 -0400 Remove unused xmlrules.in in specs, now in /nls The specs dir has been converted to docbook.am Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 9992092609bd83a0db778e9a9ac1e879d445e637 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Mar 31 10:23:22 2011 -0400 nls: move xmlrules.in from specs to nls It is no longer used in the specs dir. Remove html from CLEANFILES as it breaks. Make do not clean directories Remove SUFFIXES as pattern rules are used rather than suffix rules. Other improvements are possible, the first priority is to move it out of the specs dir. Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jun 5 16:27:36 2011 -0400 Install target dbs alongside generated documents This matches a change in xorg-sgml-docs whereby the masterdb will look for the target dbs into the same location as the generated documents. The target dbs are now installed alongside the generated documents. Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which has the potential of installing outside the package prefix and cause distcheck to fail when user does not have write permission in this package. Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 commit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 7 18:41:30 2011 -0700 specs/libX11: Turn appendix references into links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 7 18:37:41 2011 -0700 specs/libX11: Turn chapter references into links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 7 00:52:32 2011 -0700 specs/libX11: Turn many "see section ..." into links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 02d4c08dead2f266809b3f93ec72377783423ac7 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jun 5 22:50:37 2011 -0700 specs/libX11: Convert some header filenames to filename tags perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c51a011329afa6e5b9d2b285349c132683ecf9fb Author: Matt Dew <marcoz@osource.org> Date: Tue May 31 20:03:23 2011 -0600 Add id attributes to funcsynopsis to allow other docs to olink to them. Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri May 27 20:14:36 2011 -0700 Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html https://bugs.freedesktop.org/show_bug.cgi?id=37624 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 205af6a4e557c62a6395feadc1c89f4a9fe1713b Author: Matt Dew <marcoz@osource.org> Date: Sat May 21 00:23:06 2011 -0600 Add id's to functions, to make clickable links. Signed-off-by: Matt Dew <marcoz@osource.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 5c06bc594473f6ab234724cd90db32e7b57fe811 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri May 20 15:38:08 2011 -0700 libX11 spec: fix monospaced column alignment after deligaturization Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ef0019c714c273cb9b4ad3eba52d0b905109826b Author: James Cloos <cloos@jhcloos.com> Date: Fri May 20 15:51:46 2011 -0400 Expand latin ligatures out to their NFKC equivalents. Ligatures should be done by the typesetting system. Manuscripts should not bother with them. Signed-off-by: James Cloos <cloos@jhcloos.com> Reviewed-by: Keith Packard <keithp@keithp.com> commit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu May 12 16:21:50 2011 +0200 XCB: Add more friendly error messages for common asserts This patch adds more friendly error messages for three common classes of assertion: - missed sequence numbers due to being griefed by another thread - unknown requests in queue due to being griefed by another thread - extensions dequeuing too much or too little reply data It adds error messages offering advice (e.g. call XInitThreads() first) on stderr, but still generates actual assertions. Hopefully this means it's a little more Googleable and a little less frightening. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> commit 159bf292477048b9a2f074735afc516f52c93d80 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu May 19 20:22:11 2011 -0400 Remove misplaced hyphens in libX11 DocBook/XML #37364 Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 0ee6d8247d397500ae183ef180b6ff21bceefa1c Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue May 17 20:49:59 2011 -0700 Fix man page and comment references to use XFreeModifiermap (lowercase map) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue May 17 20:30:54 2011 -0700 XKB man pages: Fix coordinantes typo in multiple pages Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue May 17 16:27:32 2011 -0700 DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ae39d82b01359b07dd1fe092d867f79ea95a5438 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun May 8 09:08:07 2011 -0700 Silence clang static analysis warnings for SetReqLen This provides a simplified version of the SetReqLen macro when using clang for static analysis. Prior to this change, we would see many Idempotent operation warnings inside this macro due to the common case of calling with arg2 and arg3 being the same variable. This has no effect on code produced during compilation, but it silences a number of false positives in static analysis. XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value SetReqLen(req, num_modifiers, num_modifiers); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from XIPassiveGrab.c:26: .../include/X11/Xlibint.h:580:8: note: instantiated from: n = badlen; \ ^ Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 130af2bc02090ee2526adb2f9803fc07019b8f1f Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 15:34:31 2011 -0700 XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); ^~~~~~~ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> commit c987ef04bea345d5810e60cf6c53b747ddbe910e Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 15:31:17 2011 -0700 Revert "XKB: Avoid a possible NULL dereference" Sorry for the noise. I accidentally pushed and didn't mean to. =( This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. commit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 11:35:31 2011 -0700 Dead code removal XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { ~~~^~~~ XKBGeom.c:115:5: warning: Value stored to 'pos' is never read pos= 0; ^ ~ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 4024091678ea07e0d898b798df9b29f3bf68eb08 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 11:34:53 2011 -0700 XKB: Avoid a possible NULL dereference XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); ^~~~~~~ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 626e5e34be55b7cf734d745bd40a7ee3359029f8 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 4 11:21:41 2011 -0700 Annotate _XIOError as _X_NORETURN Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit d3d7896408b435ab42656398839ff4351a37724d Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Tue May 3 09:32:53 2011 -0700 clang analyzer: Don't warn about Xmalloc(0) This will prevent a number of false positives in where clang's static analysis reports about calls to malloc(0). Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 393921cf2188b2b0713cc157effaf17d0abab783 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Apr 21 16:21:04 2011 -0700 Delete special case code to append "/sparcv9" to i18n module path Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. Inconsistent with all other platforms, and a bit overcomplicated. Should anyone need to continue using that path, simply build with a #define POSTLOCALELIBDIR "sparcv9" to get the same result. Fixes Solaris bug 7038737: sparcv9 Xlib looking in wrong path for i18n loadable modules Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> commit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Apr 14 13:47:12 2011 -0700 specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() https://bugs.freedesktop.org/show_bug.cgi?id=36244 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit b850adbdebcf500c659f85285d4d7374e15857f5 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 12 22:30:45 2011 -0700 Convert malloc(strlen()); strcpy() sets to strdup Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit 09194042d3dc44a463add1f7c122a68ffd5ef0bf Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 12 21:27:45 2011 -0700 Replace Xmalloc+bzero pairs with Xcalloc calls Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit ac1e2bff7121987fd768500a11d428d9fb9447c5 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Fri Mar 25 14:47:35 2011 +0200 om: Fix memory leaks on get_font_name error paths. While at it, remove unneeded check for NULL before Xfree. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7c362e275c93c92b4e68fe862e73ee36665de703 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Wed Mar 30 15:06:10 2011 +0300 xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. pScreenData is replaced when building per visual intensity tables. If malloc failed the old value of pScreenData (stored also in pScreenDefaultData) was being leaked. Also, property_return wasn't free'd in that case. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5c810e2ac233e00f361549bafb9b59e8a9e05eff Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Wed Mar 30 15:19:28 2011 +0300 xcms: Fix error on LINEAR_RGB_InitSCCData error path. Due to what looks like a copy & paste error, pScreenData->pBlueTbl would be accessed after being free'd. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d749948f9492fd9b61c74655a08e32c595e0e3a5 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Fri Mar 25 16:06:15 2011 +0200 om: Fix potential memory leak in init_om. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 20:40:41 2011 +0200 om: Fix memory leak on read_EncodingInfo error path. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:55:33 2011 +0200 Fix memory leaks on _XimCbDispatch error path. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:52:05 2011 +0200 Fix memory leak on _XimCommitRecv error path. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:48:44 2011 +0200 Fix memory leaks on _XimWriteCachedDefaultTree error paths. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e29be94edbb58b3b8dab545377a710d1f73b61e0 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:42:36 2011 +0200 Fix memory leaks on _XimGetAttributeID error paths. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d144a50512466766f55ce61e3884925334b08f0d Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 19:36:56 2011 +0200 Fix memory leaks on _XimProtoCreateIC error paths. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 16:24:29 2011 +0200 Fix leaks in _XimEncodingNegotiation error paths. name_ptr and detail_ptr weren't free'd in some cases before returning False. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 396e5a452a59c1f121220ba72167b720a863b30f Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Thu Mar 24 14:17:44 2011 +0200 FSWrap: fix potential leak in copy_string_list If list_count is 0, dst would be allocated and leaked. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 1a944260182bb552b954d69f6355c2760d4415df Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Wed Mar 23 14:36:22 2011 +0200 Fix memory leak with broken bitmap files in XReadBitmapFileData Bitmap file data is read looping through the lines in the input file. If there is extra data after the bitmap, these lines will be processed and if this data represents another bitmap it will replace the one read before causing the memory allocated for bits to leak. This changes the code to stop processing the file once a bitmap was read. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 12 20:50:42 2011 -0700 Fix "attrinute" typo in comments in ximcp Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7103b83a88edb9c93acfa68f3b556595b087baff Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Apr 8 21:36:11 2011 -0700 Make doc install subdirectories more like the pre-docbook.am paths Haven't restored the "specs" path in the install path, but have restored libX11 & i18n subdirectories in the path for better logical grouping. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 9a1ae7a90f815a737a942e42d5eb1ffff400977b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Apr 8 13:24:28 2011 -0700 Install xml versions of specs even if HAVE_XMLTO is false Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour from before docbook.am changes (commit e8c76407d2f6e3) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Apr 5 13:29:04 2011 -0700 libX11 1.4.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e8c76407d2f6e3b11babdb84426e43e780c859c3 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Feb 25 09:23:54 2011 -0500 Documentation: add Docbook external references support When writing technical documentation, it is often necessary to cross reference to other information. When that other information is not in the current document, additional support is needed, namely <olink>. A new feature with version 1.7 of xorg-sgml-doctools adds references to other documents within or outside this package. This patch adds technical support for this feature but does not change the content of the documentation as seen by the end user. Each book or article must generate a database containing the href of sections that can be referred to from another document. This database is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that the value of DATAROOTDIR for xorg-sgml-doctools and for the package documentation is the same. This forms a virtual document tree. This database is consulted by other documents while they are being generated in order to fulfill the missing information for linking. Refer to the xorg-sgml-doctools for further technical information. Co-authored-by: Matt Dew <marcoz@osource.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 25eb76b3d2726f2f1de759901971ae53b2539dc4 Author: Harshula Jayasuriya <harshula@gmail.com> Date: Mon Mar 21 14:49:37 2011 +0000 Add #define XK_SINHALA Add #define XK_SINHALA so that the Sinhala keysyms can be used by the lk xkb keymap. Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> commit db8b20b789112717ac0590b40f0b4dc2171797d0 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Thu Mar 17 16:15:00 2011 -0700 configure.ac: Bump version to 1.4.2 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d Author: Jamey Sharp <jamey@minilop.net> Date: Tue Mar 15 16:48:07 2011 -0700 Call _XErrorFunction without holding the Display lock. Historically, Xlib dropped the Display lock around the upcall to any user-supplied _XErrorFunction, but somewhere along the way I quit doing that if you built with XCB. The reasons are lost somewhere in the pre-git history of Xlib/XCB, and I can't now see any reason to hold the lock. The documentation for XSetErrorHandler still applies though: Because this condition is not assumed to be fatal, it is acceptable for your error handler to return; the returned value is ignored. However, the error handler should not call any functions (directly or indirectly) on the display that will generate protocol requests or that will look for input events. So while you are now once again permitted to re-enter Xlib from the error handler, you're only allowed to call non-protocol functions. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit fd85aca7a616c595fc17b2520f84316a11e8906f Author: Jamey Sharp <jamey@minilop.net> Date: Mon Mar 14 14:45:35 2011 -0700 Ignore user locks after sleeping in _XReply and _XReadEvents. This bug appears as a hang in applications that wait for replies from multiple threads, where one such thread has taken a user lock using XLockDisplay. Prior to this fix, the code could deadlock in this way: If thread 1 goes to sleep waiting for a reply, and then thread 2 takes a user lock and waits for a reply, then thread 2 will wait for thread 1 to process its reply (because responses must be processed in order), but thread 1 will wait for thread 2 to drop its user lock. Fixed by making thread 1 not wait for thread 2 to drop its user lock. This makes the semantics of user locks hard to define, but they were already hard to define. The new behavior appears to be consistent with the way Xlib worked historically, anyway. Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html There was a similar potential for deadlock in _XReadEvents, fixed the same way, with the same caveats about user-lock semantics. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Tue Jan 18 15:58:20 2011 +0200 xkb: XkbPropertyPtr determined allocation success from wrong variables Cannot reach dead statement "return NULL;" Check for the NULLness of prop->name and prop->value instead of name and value, which was checked earlier anyway. Decided against using strdup due to curious memory allocation functions and the rest of the xkb not using it either. Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> commit 6a4d027284e7bb5dd458157947bbb1ff580ad071 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 10 16:37:22 2011 +0200 keyBind: Use Xcalloc to initialize allocated _XKeytrans Using uninitialized value "p->modifiers" Small fix by using Xcalloc instead of Xmalloc Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> commit b993d73bb3214ecc24646f5427c8003b816c6921 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 10 16:22:45 2011 +0200 im/ximcp: release modifiermap before returning Variable "map" goes out of scope Release modifiermap before returning. Reordered code to call XGetModifierMapping after the first return from the function. Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> commit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Feb 25 09:23:54 2011 -0500 Docbook: change the book id to match the xml file basename This is required for the up-coming external references support. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Mon Feb 21 21:54:17 2011 +0100 Make the Local XIM request key releases for braille Braille chords management needs key release events. We need to explicitly request then, else GTK would not pass them throught XFilterEvent and braille wouldn't work. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> commit c97c42c49cd5095462abecdf908b416fb0b540b6 Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Mon Feb 21 17:27:38 2011 +0100 Match braille patterns with compose tree Braille patterns should also be usable in Compose. This combines the implementation of braille chords and compose tree: only emit the braille pattern if it can not be found in the compose tree, if any. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> commit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Mon Feb 21 15:56:54 2011 +0100 Fix status reporting for braille patterns _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't convert to the current MB charset. _XimLocalUtf8LookupString needs to set the braille keysym and status too. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> commit 993abe751f4141f54d8d28b8b73588a1c9085970 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Feb 11 14:49:17 2011 -0800 Clean up memory when first XCreateRegion succeeds and second fails Error: Memory leak (CWE 401) Memory leak of pointer 's' allocated with XCreateRegion() at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 's' allocated at line 387 with XCreateRegion(). s leaks when s != 0 at line 387. Error: Memory leak (CWE 401) Memory leak of pointer 'tra' allocated with XCreateRegion() at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 'tra' allocated at line 1451 with XCreateRegion(). tra leaks when tra != 0 at line 1451. [ This bug was found by the Parfait 0.3.6 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Feb 11 14:20:24 2011 -0800 ximcp: Prevent memory leak & double free if multiple %L in string In the highly unlikely event that TransFileName was passed a path containing multiple %L entries, for each entry it would call _XlcFileName, leaking the previous results, and then for each entry it would copy from that pointer and free it, resulting in invalid pointers & possible double frees for each use after the first one freed it. Error: Use after free (CWE 416) Use after free of pointer 'lcCompose' at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. Previously freed at line 360 with free. Error: Use after free (CWE 416) Use after free of pointer 'lcCompose' at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. Previously freed at line 360 with free. Error: Double free (CWE 415) Double free of pointer 'lcCompose' at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. Previously freed at line 360 with free. [ This bug was found by the Parfait 0.3.6 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 502d414118c97d35a44f8e295709682022876331 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Thu Feb 3 17:08:57 2011 +0200 xcms/cmsProp: don't deal with uninitialized values, fail instead Properly handle the return value of XGetWindowProperty by considering if after the loop as well. Using freed pointer "prop_ret" There were numerous things wrong in how this function interacted with XGetWindowProperty. None of the local variables were initialized and remained that way if the call to XGetWindowProperty returned 1 (not Succeed). That doesn't result in after_ret being initialized in which case if it happens to be 0, the loop was exited. In that case format_ret and nitems_ret were uninitialized and the function might return with success (but with uninitialized pointer in prop_ret) or XcmsFailure. As the buffer enlarging code was called only when XGetWindowProperty failed (returned not Success), after_ret would not have been initialized. It would have been initialized only if the XGetWindowProperty has returned Success earlier, but in that case the code fragment would not have been reached. This patch alters the function to return XcmsFailure if the call to XGetWindowProperty fails. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit c37e278993b9e5b3d7025ef4c434373a011996ec Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:07 2011 +0200 xcms/LRGB: don't double-free property_return property_return was free'd before and in the case the conditional is true, the call to XcmsGetProperty failed which means that property_return wasn't set so there is no need to free it again. Double free of pointer "property_return" in call to "free" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> commit 50f4107811249806718a100f9d34f996c58e5e25 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed Feb 2 08:58:45 2011 -0800 Xrm.c: ReadInFile: refactor fstat error handling We can simplify the fstat failure case now that the GetFileSize macro has been expanded inline. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> commit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed Feb 2 08:56:00 2011 -0800 Expand GetSizeOfFile() macro at the one place it's called Removes XrmI.h header that only contained this single macro Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> commit 450e17422c0e374d25c643f343ea268cec68da38 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:57 2011 +0200 XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size Possible overrun of 8192 byte fixed size buffer "buffer" by copying "ext->name" without length checking Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:13 2011 +0200 lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory Fixed by zero'ing conv on allocation with Xcalloc. Then close_converter works properly. Using uninitialized value "conv->state" in call to function "close_converter" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 03f81ad8fb9783986cf9b17661dd31e95c396681 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:16 2011 +0200 xlibi18n/lcFile: Removed superfluous check for NULL target_dir The situation is already handled before this code. Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:15 2011 +0200 ximcp/imLckup: Handle negative return value from _Xlcwctomb Fixed by negative value to memcpy by checking for the negative return value of _Xlcwctomb and returning 0/XLookupNone in that case. a negative value was passed to memcpy Unfortunately the other return values for *status don't fit into the error (which appears to indicate some internal error or running out of memory). The other valid status codes are XBufferOverflow, XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of these has a specific meaning attached. Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 79a5c86e020f08cc108184298a72e2777036de39 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:14 2011 +0200 ximcp/imTrX: Handle failing XGetWindowProperty Checked return value of XGetWindowProperty and return false if it fails. 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 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:12 2011 +0200 XlibInt: info_list->watch_data was reallocated, but result was discarded info_list->watch_data was being reallocated, but the return value of the reallocation was stored only into a local variable. This might cause some funky behavior and crashes. Variable "wd_array" goes out of scope 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)))" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:10 2011 +0200 GetProp: Zero-initialized error so its resourceID field is initialized Using uninitialized value "error.resourceID" in call to function "_XError" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 85e9f38e016137f0ff2791eb0d092ab027382d2c Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Tue Feb 1 11:07:25 2011 +0200 xcms/LRGB: Add a label for freeing property_return. The rest of the code uses goto's to free memory allocated later and prevent memory leaks, but there were several paths were property_return was free'd just before a goto. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3161dc57d4e9b70f852f05e5e474455e121b06ab Author: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Date: Mon Jan 31 14:02:08 2011 +0200 xcms/LRGB: Fix potential resource leak. property_return was not free'd if the allocation of pRedTbl failed. Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit be3e6c205d94dedc1cdebf5d17b987f0f828377a Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:06 2011 +0200 Xrm: Handle the extremely unlikely situation of fstat failing Tracked variable "size" was passed to a negative sink. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3fae16c64d6ef76fd4a25a54c7f7de76596457db Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:05 2011 +0200 Xrm: NEWTABLE had a memory leak after a memory allocation error The NEWTABLE macro missed freeing its allocated memory on subsequent memory allocation errors. Added call to Xfree. Variable "table" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7110ac653349a23c80c365f11f6270dc27c8975a Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:03 2011 +0200 ImUtil: Handle a memory leak in one early return branch Fixed memory leak by adding Xfree for image Variable "image" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d695f5da9f5b778e54b6987d9177048e32818c4d Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:02:01 2011 +0200 ximcp/imRm: Handle leaking colormap_ret Fixed memory leak by adding Xfree for colormap_ret Variable "colormap_ret" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:59 2011 +0200 ximcp/imRmAttr: Handle leaking missing_list Fixed memory leak by adding Xfree and initializing missing_list with NULL Variable "missing_list" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 3183269e0979c9dbce9d55d9e03937897dc9fb3b Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:58 2011 +0200 ximcp/imRmAttr: Handle leaking colormap_ret XFree colormap_ret and initialize it when appropriate. Variable "colormap_ret" goes out of scope Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f66a032a937030f2d9baa81744d36dc585bb085c Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:56 2011 +0200 xlibi18n/lcGeneric: Initialize uninitialized local variable Using uninitialized value "new" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0266e06d38110ec908ca28379014eff743630b7 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 31 14:01:54 2011 +0200 xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Feb 1 12:30:56 2011 +0200 XDefaultOMIF.c: Fix memory leaks in get_font_name Instead of copying the value returned by get_prop_name and then releasing it, directly use the return value of get_prop_name, which allocates memory for the name. If get_prop_name returns NULL, continue on to XFreeFont to release the font before returning the NULL via the normal function return. Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 95796351435d81eaef8166d49ba3a6e7b633d70a Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Jan 31 14:50:19 2011 -0500 config: comment, minor upgrade, quote and layout configure.ac Group statements per section as per Autoconf standard layout Quote statements where appropriate. Autoconf recommends not using dnl instead of # for comments Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e994ab227ed28655565c3193e63733630105e7f9 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Tue Jan 18 12:49:48 2011 +0200 Comparing array against NULL is not useful "&xkb->server->vmods != NULL" Removed superfluous comparison. Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 4115f051e62f9b098efce691e070d44f09f30f1c Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Wed Jan 12 15:51:11 2011 +0200 Variable "entry" tracked as NULL was dereferenced. Check entry for non-nullness before dereferencing it Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 0edb76d1d5fdca5a2543332699be2e72386dab24 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Thu Jan 27 09:54:00 2011 +0200 Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) If _XkbGetReadBufferPtr returns NULL, goto BAILOUT Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 59da8a211ef723909d0530c0331d541db8e63378 Author: Erkki Seppälä <erkki.seppala@vincit.fi> Date: Mon Jan 10 16:17:47 2011 +0200 Using freed pointer "e" Reordered code to first to do the comparison and then to release data Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> commit 0f11c229f7099f7c5aeed4691b358dca151dac7d Author: Matt Dew <marcoz@osource.org> Date: Thu Jan 27 00:31:23 2011 -0700 Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. Signed-off-by: Matt Dew <marcoz@osource.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jan 28 16:07:07 2011 -0500 config: replace deprecated AC_HELP_STRING with AS_HELP_STRING This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jan 28 14:59:04 2011 -0500 config: remove unrequired AC_HEADER_STDC Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro". commit d4483375e37a72631d5821413cb75a423e990ffe Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jan 18 19:37:02 2011 -0800 config: Use correct AC_CONFIG_HEADERS macro Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> commit c6405fe931f313a0d159bdad00244fc8aae12468 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jan 16 11:55:23 2011 -0800 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 17aa1f2305da0952ad594c7329d08aba21f13ac8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jan 16 11:40:59 2011 -0800 Update to xf86bigfontproto >= 1.2.0 header name Clears compile-time warning of: "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not passed to configure. Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS that PKG_CHECK_MODULES does automatically Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> commit a9228fcc676aacf9a760dd94891c89f9bc82b20d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jan 11 17:55:22 2011 -0800 libX11 1.4.1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 92fa96451af37a7a0f2592de07643fdaed7a9efd Author: Pauli Nieminen <ext-pauli.nieminen@nokia.com> Date: Mon Jan 3 12:25:28 2011 -0500 Initialize event type If we receive unsupported event closing connection triggers valgrind error. ==12017== Conditional jump or move depends on uninitialised value(s) ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) *snip* ==12017== Uninitialised value was created by a heap allocation ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) ==12017== by 0x4894147: _XEnq (XlibInt.c:877) ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) ==12017== by 0x4892263: _XReply (xcb_io.c:626) *snip* Problem is that XFreeDisplaySturture is checking for qelt->event.type == GenericEvent while _XUnknownWireEvent doesn't store the type. Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> commit fa9747b9d4443eef9b1687b8b1208801f5c585da Author: Fernando Carrijo <fcarrijo.lists@gmail.com> Date: Tue Dec 28 16:18:57 2010 -0500 specs: convert images from gif to svg format. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 0012e2a4eaddc0840617b4758931ad976ca2eb7c Author: Philipp Reh <sefi@s-e-f-i.de> Date: Wed Dec 22 15:14:05 2010 +0000 Events: Store event cookie when dequeuing event When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, make sure to store the corresponding cookie too. Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> Reviewed-by: Daniel Stone <daniel@fooishbar.org> commit d2714d65e85b44abedf5f82e1a31506dba397ef2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Dec 21 18:47:16 2010 -0800 Revert "Mark atom names argument to XInternAtoms as const" This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. The constification of a pointer to a pointer caused unexpected issues, and xorg-devel was unable to come up with a clean, safe, reasonable way to handle them, so we're chalking this up for now as yet another mistake in the Xlib API definition we'll be living with. See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6459f9a48a82de3bc0235bd36acab2df11e436d5 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Dec 20 20:54:07 2010 -0800 specs/XKB: make acknowlegement section <preface> instead of <chapter> Fixes numbering of actual chapters to match their filenames and to make the table/figure numbering match the references in the text. Reported-by: jelmd on freenode irc Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Dec 19 23:53:02 2010 -0800 Add XKBlib spec images to dist_spec_DATA for distribution & installation Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> commit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d Author: Matt Dew <matt@osource.org> Date: Tue Nov 30 10:52:07 2010 -0500 specs: convert XKBlib spec from Framemaker to DocBook.xml Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit c8701115462b482d99ecff24d9de0f2806084ba5 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Nov 21 20:49:05 2010 -0800 Mark atom names argument to XInternAtoms as const Updates code & docs for XInternAtoms. The single atom name argument to XInternAtom was already const char * in the code, but not the docs, so updated it in the docs too. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> commit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Nov 21 14:04:32 2010 -0800 libX11 1.4.0 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 18d3c3e9de19e936281b111d5a82acfb3a3f552e Author: Dan Nicholson <dbn.lists@gmail.com> Date: Sat Nov 6 21:58:10 2010 +0000 config: Check host string when deciding architecture to build for When checking for the OS/2 platform, $target_os is used. However, unless building a cross compiler, the $host* strings contain the platform details for the build system. See: http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation $host_os is already being used to determine the transport and threading options. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit affc2488a7f2660a74dc8354fc3e0bff2c4f879c Author: Dan Nicholson <dbn.lists@gmail.com> Date: Sat Nov 6 21:58:09 2010 +0000 config: Fix architecture check for OS/2 to skip nios2 cpu The OS/2 platform requires some utility functions as well as having a non-32 bit wchar_t. Fix the configure check so that it doesn't also affect the nios2 cpu, which wouldn't influence these operating system issues. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Nov 9 13:04:44 2010 -0500 config: HTML file generation: use the installed copy of xorg.css Currenlty the xorg.css file is copied in each location where a DocBook/XML file resides. This produces about 70 copies in the $(docdir) install tree. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 3e8907305e1818369aef5a5c0da61f09e20de4f8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Oct 29 22:02:10 2010 -0700 libX11 1.3.99.903 (1.4.0 RC3) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5d245d8013289b13e0c42100951b26166c7fada4 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Oct 29 22:01:39 2010 -0700 Require xorg-macros 1.11 now that it is released Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 1ec89689fc771f116a6165226b9e076f54254a40 Author: Dan Nicholson <dbn.lists@gmail.com> Date: Fri Oct 22 19:09:07 2010 -0700 docs: Disable fop documentation by default fop is used to generate the pdf and ps formats of the documentation. This can significantly slow down the build, especially when creating all the compose key charts. Since few people probably want the full set of doc formats, set the default to 'no'. The default parameter for XORG_WITH_FOP is only available in recent macros. Users generating configure from older macros will just get 'auto' as the default. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 03877bda911b72ac60a7144d6eced7d5be4b4d72 Author: Jon TURNEY <jon.turney@dronecode.org.uk> Date: Wed Apr 14 13:38:18 2010 +0100 Add C.UTF-8 and C.ASCII locale aliases Add C.UTF-8 locale as an alias for en_US.UTF-8 Add C.ASCII locale as an alias for C (C.UTF-8 is the default locale for cygwin. It also exists in debian, although I don't think it's intended for use by humans.) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Acked-by: Julien Cristau <jcristau@debian.org> Reviewed-by: James Cloos <cloos@jhcloos.com> commit 81d1d9a6bdca779a44f931730b866eea75777c00 Author: Dan Nicholson <dbn.lists@gmail.com> Date: Sat Oct 9 16:00:47 2010 -0700 docs: Remove directory prerequisites from make rules Make expects prerequisites to be files with valid timestamps, and directories are treated as always being out of date. Thus, any targets depending on directories will always be rebuilt. Instead, the doc rules are changed to always create the target's leading directory. This should prevent the documentation from being rebuilt when "make install" is run. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0cbf388919364fe6b5b9127f36426eb744090a0 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Sun Sep 26 21:21:16 2010 -0700 Add an "X11_" string to header guards to avoid possible collision This addresses a build failure which can result from <X11/Xlocale.h> and <xlocale.h> being included in the same code since they both used the same _XLOCALE_H_ protection. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Sep 21 19:53:03 2010 -0700 libX11 1.3.99.902 (1.4.0 RC2) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 986bb6d1d54368fe91e3ea24f518d43ce6179782 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Sep 14 00:10:31 2010 -0700 Bug 19379 - Provide docs with overview of all compose key combinations Adds compose-chart.pl to generate DocBook/XML documents listing compose keys, and Makefile rules to generate HTML & PDF output from them if xmlto is present. https://bugs.freedesktop.org/show_bug.cgi?id=19379 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: James Cloos <cloos@jhcloos.com> Tested-by: Gaetan Nadon <memsize@videotron.ca> commit 3eb064071695ebf0f371163ed818a428dfeba8e6 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Sep 11 00:49:21 2010 -0700 Make locale data build non-recursive / parallelizable On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, plus this simplifies the next set of changes. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: James Cloos <cloos@jhcloos.com> Tested-by: Gaetan Nadon <memsize@videotron.ca> commit a3fc78ac352e5a70a958996ef6aec50f653974d1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 17 17:38:11 2010 -0400 config: remove man page suffix from bottom summary The man page suffix is the same for all libraries on a given platform and is not configurable. It should have been removed in commit 09edc6de6. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a52b0068f36c739eb7e426214cd72a8d9bb776ca Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Sep 17 17:29:30 2010 -0400 config: remove unhelpful comment in .gitignore Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 10dd881e7818be9074da4ab3a68577adcdaf71d2 Author: Adam Jackson <ajax@redhat.com> Date: Wed Sep 8 10:44:23 2010 -0400 Zero buffer data in BufAlloc() Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers compress better with ssh and friends. Note that you'll need to rebuild all your protocol libraries to take advantage of this. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b Author: James Cloos <cloos@jhcloos.com> Date: Sun Sep 12 17:00:54 2010 -0400 Revert “Dolt-ify" Libtool’s is now sufficiently fast that DOLT is no longer worth the bother, even on those few systems where is works. This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 which moved dolt from configure.ac to m4/dolt.m4. And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 Signed-off-by: James Cloos <cloos@jhcloos.com> commit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Sep 9 19:24:29 2010 -0700 XIM spec title page minor formatting cleanup Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 Author: Jens Petersen <petersen@redhat.com> Date: Mon Aug 23 18:08:10 2010 -0700 Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 <https://bugs.freedesktop.org/show_bug.cgi?id=29773> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 3 23:11:53 2010 -0700 Sun's copyrights are now owned by Oracle Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7742bf62b1fa652da4270587e280249945367cae Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Sep 3 18:31:44 2010 -0700 libX11 1.3.99.901 (1.4.0 RC1) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 Author: Jeroen Hoek <mail@jeroenhoek.nl> Date: Sun Aug 29 09:47:06 2010 -0400 libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S Add LATIN CAPITAL LETTER SHARP S (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) Signed-off-by: James Cloos <cloos@jhcloos.com> commit 09edc6de6619a2eabda3b808ebff4165550664f1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 13 14:21:08 2010 -0400 config: remove man-pages configuration option This option was added in commit 6e752ea120 with no explanation. The section number is provoded by XORG_MANPAGE_SECTIONS There is no case where libX11 should be different than other libs The option was also used to disable building of the man pages, which build in 14 secs. No indication this is required. If there is a requirement from system builders to disable building of man pages, it could be done consistently for all modules. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit f92e754297ec5fdb81068b56a4435026666224fa Author: Aaron Plattner <aplattner@nvidia.com> Date: Sun Aug 15 21:51:38 2010 -0700 XOpenDisplay: save the correct display_name value The X Test Suite's XDisplayString test checks the invariant XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this invariant by expanding str to the canonical form "host:display.scrn" (unless HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" to ":1.0": 400|26 1 1 19:26:41|IC Start 200|26 1 19:26:41|TP Start 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 520|26 1 00032625 1 5|value used as the display argument. 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 220|26 1 1 19:26:41|FAIL 410|26 1 1 19:26:41|IC End Fix this by deleting all of the code to construct the canonical path and just stashing a copy of the original display_name in dpy->display_name. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> commit 1dc401f678469d0235e6d0b28eb4356f03327c9f Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 13 13:06:51 2010 -0400 man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit cbe9eebd11e5ebab4280d25b57b4cd4001241619 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 13 11:42:29 2010 -0400 man: simplify building of shadow man pages Store the shadow files in git as any other man page. Move man pages to man dir and use the common makefile Local fix in CVS for bug 5628 is not required as the problem has been fixed in util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit bfd899c9af2318ecbe84cb69007dba4223fdb502 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Aug 9 09:39:26 2010 -0400 config: reinstate XORG_PROG_RAWCPP erroneoulsy removed in commit 76e07ef6911734eac418e399b114f1b544512736. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 76e07ef6911734eac418e399b114f1b544512736 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Aug 6 14:01:51 2010 -0400 man: using the C preprocessor is not required for man pages. There were no special symbols needing cpp. Everything can be handled by the default MAN_SUBSTS in util-macros. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Aug 6 15:51:56 2010 -0700 Fix use-after-free in _XReply on X errors. _XReply would always call dequeue_pending_request on errors. When it got an error for the current request, it would call dequeue, then break out of the loop; then, if it had an error in the event queue, it would compare it with the sequence number of the now-freed pending request. _XReply already stored that sequence number in dpy->last_request_read before freeing it, so look at that instead. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@joshtriplett.org> commit 9fa146b30046396b70d64986e50d6617b3a8ac48 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sat Jul 31 16:15:35 2010 -0400 specs: xsl stylesheet requires abs path to images Using abs_builddir requires automake 1.10 or later. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Aug 1 14:13:07 2010 -0400 specs: update .gitignore now that all groff generated files are gone Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit f70527f05677aaf6a493ba42d2d95f738aaebafa Author: Adam Jackson <ajax@redhat.com> Date: Thu Jul 29 11:11:21 2010 -0400 nls: Switch one of the interrobang sequences to gnaborretni Since gnaborretni is primarily used in LTR locales, the ? part of the sequence reflects the position of the bulge in the ?. When scanning an inverted interrobang left-to-right, you see the bulge first, so the compose sequence ?! is used; upright interrobang shows the bulge last, so it's !?. This is a change in behaviour, but I was unable to come up with anything better. ??!! or !!?? would match the patterns for ¿ and ¡, but they would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. ~!? and ~?! were considered but are arguably less intuitive. Reviewed-by: James Cloos <cloos@jhcloos.com> Signed-off-by: Adam Jackson <ajax@redhat.com> commit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Jul 28 10:27:39 2010 -0400 specs: move indexterm from glossdef to glossterm This move fixes a Java class cast exception in the glossary. The problem was introduced in commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b It may not happen on all versions of the doc toolchain. There is no reason why indexterm cannot appear in glossdef, this is a workaround to an implementation problem found by trial and error. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 87a108f3aa565aa803dacb3a53b811f45025b609 Author: Matt Dew <matt@osource.org> Date: Sat Jul 24 14:46:57 2010 -0400 specs: replace troff source with docbook-xml source Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 8e603413586ff42b1351688f6f99318cbe243bca Author: Julien Cristau <jcristau@debian.org> Date: Sat Jul 24 22:13:07 2010 +0200 Compose.man: default user compose file is .XCompose, not .Xcompose The path was correct in the DESCRIPTION section, but not in FILES. Signed-off-by: Julien Cristau <jcristau@debian.org> commit 554da76ece85d0fc0cada45a86860e69c2107e9a Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jul 20 12:34:48 2010 +0100 NLS: Add \o/ Compose sequence Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. Signed-off-by: Daniel Stone <daniel@fooishbar.org> commit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jul 9 18:13:13 2010 +0100 XStringToKeysym: Cope with 0x1234cafe-style input If we get input in the style of 0xdeadbeef, just return that exact keysym. Introduces a dependency on strtoul, which I'm told is OK on all the systems we care about. Signed-off-by: Daniel Stone <daniel@fooishbar.org> commit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 17:58:27 2010 -0700 specs/libX11: Fix column count of Gravity Attributes table Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 14:43:38 2010 -0700 specs/libX11: Convert \- to − and \^ to either   or removed Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 11:28:50 2010 -0700 specs/libX11: Manual cleanup pass over Ch. 1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 21567992958a6f12b3d0186f2f27a5b2a41b8448 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 19 14:51:10 2010 -0700 specs/libX11: make sure all files have DOCTYPEs so standard entities work Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c944a8521f5760b485192658b921145159cdb439 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jul 18 13:12:20 2010 -0700 specs/libX11: Fix up list of header files in Ch.1 & add index entries Combination of manual editing and automatic substitution via: 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 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sun Jul 18 12:47:27 2010 -0700 specs/libX11: Add indexterms for headerfiles that .hN used to provide Automatic substitution performed via: 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 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d0b0d215cb85da48b323b1392149ce181e7ef5ec Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 21:15:13 2010 -0700 specs/libX11: convert multicolumn lists from tables to <simplelist> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e679f80c6210c0aefe3669f8f536353619097a4b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 20:51:52 2010 -0700 specs/libX11: Tag WM_* as <property> Mass substitution done by: perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit c7b7e59b3b22221d0be6286c540001c360308f69 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 20:41:33 2010 -0700 specs/libX11: Convert simpler eqn markup to docbook tags Mostly "sup" to <superscript> There's several more complicated equations that will probably need MathML or SVG to solve. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 897486c54c6a54771867d667441aaf9a4b9c35ca Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 00:50:39 2010 -0700 specs/libX11: App. D: convert literallayouts to synopsis or programlisting Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 692906c3b3d8aa8b8927fbc230c3050d633785d2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 16 00:36:43 2010 -0700 specs/libX11: Fix section headers in Appendix D Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit bcc41baa02e137884d847aec0f3ff8ca5c85c32f Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Wed Jul 14 07:22:26 2010 -0700 specs/libX11: Explicitly tag document as English Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6783544706ff370e900c137f951e90230586d6dc Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 22:03:18 2010 -0700 specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting Fixes display of a bunch of function prototypes and sample code Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8834cd9285e6aaf437aee56292c508d99a090fa9 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 18:37:16 2010 -0700 xmlrules.in: Add chunked-html rule to manually generate smaller files Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 53f78680c34ebc94ce26b5e14c2a0003435cf10d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 18:35:59 2010 -0700 specs/libX11: Convert Appendix A tables to real tables Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 705a1257a8a47f4a1f94979aee09a837500ede7d Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 18:38:09 2010 -0700 specs/libX11: Fix out-of-place text in Chapter 1 DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a151346a2b7810e988f1de4b1e00b37672dc587a Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Mon Jul 12 16:52:12 2010 -0700 launchd: Explicitly search /sbin Previously, launchd wasn't found if /sbin wasn't in the user's PATH. https://bugs.freedesktop.org/show_bug.cgi?id=29028 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Mon Jul 12 13:38:04 2010 -0700 Replace untranslated .hN macros with <filename> tags to show header names Translation performed by: perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} {<<filename class="headerfile">$1</filename>>$2}' *.xml Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 75480440946603b8efdbbf78b88d59c641b6d2c8 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Sat Jul 10 00:06:13 2010 -0700 specs/libX11: Mass substitution of <function> tags with more specific tags Matched names from X headers & "nm libX11.so" output to names in spec to map to more specific tags. Tags used: <code> code fragments <constant> enum values <errorname> X protocol errors <filename> filenames <function> functions <function> function-like macros (#define foo(a,b)...) <returnvalue> function return codes <structfield> struct members <structname> struct names (even when typedefed) <symbol> simple value #defines (#define NAME value) <systemitem> X protocol requests <systemitem class="event"> X protocol events <type> non-struct typedefs <varname> global variables (Also fixed a couple typos detected by failures of this matching, such as XESSetPrintErrorValues -> XESetPrintErrorValues.) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jul 9 00:37:23 2010 -0700 specs/libX11: Glossary cross-reference links Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 21:19:08 2010 -0700 specs/libX11: Make whitespace around <function> tags more uniform Simplifies regular expressions for further mass substitutions. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 730ce6b8aca77b77385aa894d234cbde5fcbce37 Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Jul 9 20:10:37 2010 -0400 specs: use pattern rules rather than suffix rules This allows target to rebuild when included .xml files are changed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 5527b4bc8ce7de60123eb28789ddef54aa48a378 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 20:56:41 2010 -0700 specs/libX11: Move punctuation outside of the <function> tags Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 20:42:50 2010 -0700 specs/libX11: Mark a number of <acronym>s Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d5bbb12f55ac9f691eab6242cedc53207275131b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 19:31:36 2010 -0700 specs/libX11: Glossary terms should not be marked as functions Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 19:28:18 2010 -0700 specs/libX11: Clean up author list & acknowledgements a little Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jul 8 17:30:34 2010 -0700 specs/libX11: Convert troff .IN macros to docbook <indexterm> tags Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Jul 8 17:29:21 2010 -0400 specs: specdir is required to install xml files The source is installed as well as the targets. This failed when configuring with --without-xmlto Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e14273f44c1501ab51db4adcb83b18a1073787d8 Author: Matt Dew <matt@osource.org> Date: Thu Jul 8 14:42:32 2010 -0400 specs: replace troff source with docbook-xml source Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit bea0873caf50e9ed1b89255775d9ab912cbecd45 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu Jul 8 16:49:51 2010 +0100 XStringToKeysym: Check strdup() return value Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Keith Packard <keithp@keithp.com> commit cffa71b4a5743e2b6675b9a917d15aef4177d513 Author: Marko Myllynen <myllynen@redhat.com> Date: Mon Jun 28 15:08:05 2010 +0300 Fix two typos in SFS 5966 Annex 3 X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> Signed-off-by: Julien Cristau <jcristau@debian.org> commit eb023c0f8919e809b8b609e1467b14d20a290aa7 Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 18:49:43 2010 +0100 Delete now-redundant XKeysymDB Since XStringToKeysym now supports all the vendor keysyms, just delete our XKeysymDB, which was incomplete at best, misleading at worst, and always an annoyance. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 00175397480b76d32bf82b0c7c94c91a2a95954e Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 18:48:48 2010 +0100 makekeys: Scan vendor keysyms as well as core Since we can't really live without vendor keysyms, scan them all in to generate ks_tables.h, rather than only doing the core ones, and leaving the vendor syms to be manually synchronised with XKeysymDB. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 18:47:37 2010 +0100 XStringToKeysym: Special case for XF86 keysyms Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being XF86foo. So, if we get to the bottom of XStringToKeysym and haven't found our XF86_foo, try it again as XF86foo. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 15 17:20:48 2010 +0100 configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin namespace, so start using the more proper AX_DEFINE_DIR instead. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d Author: Fernando Carrijo <fcarrijo@yahoo.com.br> Date: Thu Jul 1 06:50:47 2010 -0300 Purge macros NEED_EVENTS and NEED_REPLIES Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 0b724231be17f19538ee115a03b82b221b1f83c0 Author: Adam Jackson <ajax@redhat.com> Date: Wed Jun 30 16:30:49 2010 -0400 Use -version-number consistently instead of -version-info The latter is libtool braindamage. Signed-off-by: Adam Jackson <ajax@redhat.com> commit 241a990afcf9c967c587ad6fd245df21b68b1ad9 Author: Juliusz Chroboczek <jch@pps.jussieu.fr> Date: Tue Jun 29 18:32:42 2010 +0200 Make Compose-comma map to ogonek for I and U in UTF-8 locales. With the preceding patch, it makes the UTF-8 compose map consistent with the ISO 8859-4 and -13 maps. commit af55e582f485a668c2bf43129be972bc65f03c60 Author: Juliusz Chroboczek <jch@pps.jussieu.fr> Date: Tue Jun 29 18:20:18 2010 +0200 Make Compose-comma map to Ogonek for A and E in UTF-8 locales. This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file as far as Polish is concerned. We only sacrifice one pair of characters, e-cedilla, which is not used in any language. commit d6ba13009fc9ef876a104b907ffef73c6e405d4b Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 24 13:13:11 2010 -0700 Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 978c7238789037de917b9423ea9adfb006da1260 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 19 10:44:55 2010 -0700 poll_for_response: Really handle xcb_poll_for_reply getting a reply. Don't lose async replies. That's bad. `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the _XReply path worked; that path waited for replies, rather than polling. However, XRecordProcessReplies, which does nothing but call XPending, relied on the event-handling path to process async replies, and that was busted. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit ef67486c5a8aada24fd95b2991a3c4979f53805f Author: Jamey Sharp <jamey@minilop.net> Date: Mon Jun 21 13:34:15 2010 -0700 Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as a matter of fact, if poll_for_response returns NULL when we know dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending request. commit 301ec5b41e9d253a446db656e1789ac7345dc433 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Jun 21 13:24:24 2010 -0700 Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* need to check poll_for_event every time through the loop in poll_for_response, so the commit did too much. commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e Author: Jamey Sharp <jamey@minilop.net> Date: Mon Jun 21 10:54:02 2010 -0700 xcb_io.c: poll_for_response doesn't guarantee there's a pending request. Fixes the second bug reported in: https://bugs.freedesktop.org/show_bug.cgi?id=28595 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit c115095d7f2bc4f5a4fb26380e3698fefdad7611 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 19 10:44:55 2010 -0700 poll_for_response: Really handle xcb_poll_for_reply getting a reply. Don't lose async replies. That's bad. `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the _XReply path worked; that path waited for replies, rather than polling. However, XRecordProcessReplies, which does nothing but call XPending, relied on the event-handling path to process async replies, and that was busted. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@joshtriplett.org> commit a25ae169862ab9b76daf259613b37c6b07bc2ef2 Author: Marko Myllynen <myllynen@redhat.com> Date: Sun Jun 13 19:23:05 2010 +0300 Implement SFS 5966 Annex 4 for Finland This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in Annex 3 (which were actually copied verbatim from the standard text). The implementation of the standard is now complete. X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> Signed-off-by: Julien Cristau <jcristau@debian.org> commit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Fri Jun 4 13:20:17 2010 -0700 LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits One of the malloc failure checks had a goto to the wrong spot in the list of cleanup free() calls to unwind at the end, and was freeing bits that hadn't been initialized/allocated yet, since they would be stored in the struct that just failed to be allocated. Error: Null pointer dereference (CWE 476) Read from pointer that could be constant 'NULL' at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. [ This bug was found by the Parfait bug checking tool. For more information see http://research.sun.com/projects/parfait ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit aebbf3623888119b43893b253195d93b613a6e1e Author: Josh Triplett <josh@joshtriplett.org> Date: Sun Jun 6 19:11:55 2010 -0700 Mark the rest of Xprivate.h as _X_HIDDEN. None of the functions in Xprivate.h should have any callers outside of Xlib, by definition. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Suggested-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Jamey Sharp <jamey@minilop.net> commit abcd1b67c8135ad652833e5a60d818837c39fce1 Author: Julien Cristau <jcristau@debian.org> Date: Fri Jun 4 13:57:45 2010 +0200 Hide _XSeqSyncFunction Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction non-static, but we don't need to export it. Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> commit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 Author: Josh Triplett <josh@joshtriplett.org> Date: Thu Jun 3 09:41:01 2010 -0700 Remove support for building without XCB And there was much rejoicing. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Consensus on #xorg-devel agrees with removing --without-xcb; in particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, Julien Cristau, and Rémi Cardona. commit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 15:21:40 2010 -0700 libX11 1.3.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 13:08:17 2010 -0700 Workaround bug in groff flag processing that breaks distcheck At least with the groff 1.19.2 package I have installed, groff passes on the -I flags for the include path to grohtml, which if they come after the -P-I... flag we pass to grohtml to specify the image file name pattern cause it to override that flag and put the images in the wrong place, breaking "make distcheck" - changing the flag order works around this. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 11:25:33 2010 -0700 Fix typo that made configure always report "none" for man page suffix Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce Author: Paul Bender <pebender@gmail.com> Date: Thu Jun 3 11:20:26 2010 -0700 Bug 22591 - configure does not obey the --enable-*-transport options https://bugs.freedesktop.org/show_bug.cgi?id=22591 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit d7f35946d673bb00f2768e025b6e1017422b2174 Author: Paul Bender <pebender@gmail.com> Date: Thu Jun 3 11:17:45 2010 -0700 Bug 22590 - libX11 1.2.1 has broken abstract namespace support https://bugs.freedesktop.org/show_bug.cgi?id=22590 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit b2487d07f7b355f230a56e32c763acd08862735c Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Jun 3 11:06:15 2010 -0700 Bug 22584 - libX11 does not cross compile Adaptation of patch submitted by Paul Bender in attachment 27301 to https://bugs.freedesktop.org/show_bug.cgi?id=22584 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> commit 4378219ff8c1418418c70086085358b69d574e74 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Tue Jun 1 18:55:48 2010 -0700 Clarify requirements in XRestackWindows man page The required common parent window is not specified in the arguments, just implied as the parent of the first window in the list. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit f09c5299a381e2729e800a0ac43f1c0e371f65f6 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Wed May 12 16:42:18 2010 -0700 xcb: Add TCP fallback If we fail to connect to a UNIX socket and the transport isn't specified, fallback on TCP. This matches behavior with the xtrans codepath and the Xlib spec. http://lists.x.org/archives/xorg-devel/2010-April/007915.html Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> commit fd82552d5c0ce1931f29006a0c36f5e03cf8577e Merge: aae2a4a7 933aee1d Author: Jamey Sharp <jamey@minilop.net> Date: Mon May 10 16:51:24 2010 -0700 Merge branch 'xlib-xcb-thread-fixes' commit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Fri Apr 23 21:50:29 2010 -0700 Don't append the screen number when using a launchd socket ssh gets confused by this. XQuartz is the only DDX using this functionality, and it doesn't support different screens, so let's just not include this until most ssh know how to handle this. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit adcd0ec209abf832a769d52db660fb37eaad6e0c Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Fri Apr 23 16:33:44 2010 -0700 Remove launchd logic from _XConnectXCB as it's handled in XCB Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit d232b259c36fdde1f4179822809fec1480867dc5 Author: Jeremy Huddleston <jeremyhu@apple.com> Date: Tue Feb 2 17:01:28 2010 -0800 Fix various build warnings imLcIm.c: In function '_XimCachedFileName': imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' imRm.c: In function '_XimDefaultArea': imRm.c:597: warning: cast from pointer to integer of different size imRm.c: In function '_XimDefaultColormap': imRm.c:626: warning: cast from pointer to integer of different size lcFile.c:224: warning: no previous prototype for 'xlocaledir' lcUTF8.c: In function 'iconv_cstombs': lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness lcUTF8.c: In function 'iconv_mbstocs': lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness lcUTF8.c: In function 'iconv_mbtocs': lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness lcUTF8.c: In function 'iconv_mbstostr': lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness lcUTF8.c: In function 'iconv_strtombs': lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type XlibInt.c: In function '_XGetHostname': XlibInt.c:3441: warning: implicit declaration of function 'gethostname' XlibInt.c:3441: warning: nested extern declaration of 'gethostname' ConnDis.c: In function '_XDisconnectDisplay': ConnDis.c:540: warning: old-style function definition ConnDis.c: In function '_XSendClientPrefix': ConnDis.c:554: warning: old-style function definition ConnDis.c: In function 'XSetAuthorization': ConnDis.c:677: warning: old-style function definition Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> commit 3e11c73187acb2e2be9a812840bbbea947527ccb Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Date: Fri Apr 23 00:01:54 2010 +0200 Allow X11 users to compose anarchism I can easily compose the hammer and sickle (the symbol representative of communism) by pressing the key sequence: <Compose> <C> <C> <C> <P> -> ☭ But i can't easily make the circled A (the symbol representative of anarchism). I'd like to be able to use <Compose> <O> <A> (this is a currently unused key sequence) to generate the symbol: Ⓐ Debian bug#555938 <http://bugs.debian.org/555938> Signed-off-by: Julien Cristau <jcristau@debian.org> commit 933aee1d5c53b0cc7d608011a29188b594c8d70b Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 20:18:28 2010 -0700 Fix Xlib/XCB for multi-threaded applications (with caveats). Rather than trying to group all response processing in one monolithic process_responses function, let _XEventsQueued, _XReadEvents, and _XReply each do their own thing with a minimum of code that can all be reasoned about independently. Tested with `ico -threads 20`, which seems to be able to make many icosahedrons dance at once quite nicely now. Caveats: - Anything that was not thread-safe in Xlib before XCB probably still isn't. XListFontsWithInfo, for instance. - If one thread is waiting for events and another thread tries to read a reply, both will hang until an event arrives. Previously, if this happened it might work sometimes, but otherwise would trigger either an assertion failure or a permanent hang. - Versions of libxcb up to and including 1.6 have a bug that can cause xcb_wait_for_event or xcb_wait_for_reply to hang if they run concurrently with xcb_writev or other writers. So you'll want that fix as well. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit aab43278ae619eb57d2dd9c7396f460f078588fc Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 22:24:16 2010 -0700 Use InternalLockDisplay on code paths called from LockDisplay. It's easier to reason about the code when we can't re-enter the Xlib-private sync-handlers while they're already running. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 19:45:11 2010 -0700 Fix _XSend to enqueue the right range of pending requests. _XSend was off-by-one on both ends. It should not re-enqueue the last request that was already flushed, but it should enqueue the last request currently being flushed. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit f2735889908d6e5a7f8dbee42f00c54a52665191 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Apr 16 19:45:11 2010 -0700 Pending requests are always added in-order. Replace insert_pending_request, which did an in-order search of the queue to find the right insertion point, with a simpler append_pending_request, and use that in _XSend as well. Includes assertions to check that the list of pending requests is in order by sequence number and does not have duplicates. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@freedesktop.org> commit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 Author: Markus Duft <markus.duft@salomon.at> Date: Fri Apr 16 08:39:34 2010 -0700 Bug 26839: Fix build problem on Interix (POSIX layer on Windows) https://bugs.freedesktop.org/show_bug.cgi?id=26839 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a Author: Josh Triplett <josh@freedesktop.org> Date: Thu Apr 15 14:24:21 2010 -0700 Stop returning an int from _XIDHandler and _XSeqSyncFunction _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and thus had to return an int. Now, they only run from _XPrivSyncHandler or LockDisplay, neither of which needs to check their return value since they always returned 0. Make them both void. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Jamey Sharp <jamey@minilop.net> commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Apr 15 13:05:08 2010 -0700 Move XID and sync handling from SyncHandle to LockDisplay to fix races. XID and sync handling happened via _XPrivSyncHandler, assigned to dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran without the Display lock, so manipulating the Display caused races, and these races led to assertions in multithreaded code (demonstrated via ico). In the XTHREADS case, after you've called XInitThreads, we can hook LockDisplay and UnlockDisplay. Use that to run _XIDHandler and _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know that we hold the lock, and thus we can avoid races. We think it makes sense to do these both from LockDisplay rather than UnlockDisplay, so that you know you have valid sync and a valid XID before you start setting up the request you locked to prepare. In the !XTHREADS case, or if you haven't called XInitThreads, you don't get to use Xlib from multiple threads, so we can use the logic we have now (with synchandler and savedsynchandler) without any concern about races. This approach gets a bit exciting when the XID and sequence sync handlers drop and re-acquire the Display lock. Reacquisition will re-run the handlers, but they return immediately unless they have work to do, so they can't recurse more than once. In the worst case, if both of them have work to do, we can nest the Display lock three deep. In the case of the _XIDHandler, we drop the lock to call xcb_generate_id, which takes the socket back if it needs to request more XIDs, and taking the socket back will reacquire the lock; we take care to avoid letting _XIDHandler run again and re-enter XCB from the return_socket callback (which causes Very Bad Things, and is Not Allowed). Tested with ico (with 1 and 20 threads), and with several test programs for XID and sequence sync. Tested with and without XInitThreads(), and with and without XCB. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@freedesktop.org> commit b089b53b697c2851db2985d32af3b29f1da5e31e Author: Jamey Sharp <jamey@minilop.net> Date: Wed Apr 14 12:59:11 2010 -0700 Honest. Extensions get to filter async errors too. Under some circumstances, errors are picked up by calling xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued the requests with the XCB_REQUEST_CHECKED flag. That happens when either an async handler is queued at the time the requests are flushed, or when XSetEventQueueOwner has been used to prevent Xlib from processing XCB's event queue. This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover those cases. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit a15c31274650e391bc6de5d0951eb4464c228139 Author: Jamey Sharp <jamey@minilop.net> Date: Wed Apr 14 12:10:34 2010 -0700 _XError already runs async handlers; only call them directly for replies. The previous behavior probably would have triggered bug reports someday. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 405132dab64bf2375f8e57d02b1b53da2311933a Author: Jamey Sharp <jamey@minilop.net> Date: Tue Apr 13 12:12:36 2010 -0700 Extensions get to filter async errors too. Apparently I misread XlibInt.c:_XReply and thought that handlers set with XESetError should be consulted only for the sequence number that _XReply is currently looking for. In fact, the error handlers are also consulted when an error arrives for a request that was not expected to have a reply. However, in an odd twist, the error handlers are *not* consulted outside of _XReply--that is, when looking for events, or waiting to be able to flush the output queue. So this patch takes some small pains to preserve that behavior, though it seems likely to have been unintentional. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Apr 13 12:49:59 2010 -0700 Prefer the xcb_generic_error_t we already have over casting to xEvent. Just a minor cleanup. Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 75ea8c37935ccc911557d16a303ba595b8ab106b Author: Jamey Sharp <jamey@minilop.net> Date: Mon Apr 12 11:30:20 2010 -0700 Run the user's synchandler as well as any internal synchandlers. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 Signed-off-by: Jamey Sharp <jamey@minilop.net> commit c3f3e4a9e531d010312c97e753d6e543e607094d Author: Kusanagi Kouichi <slash@ac.auone-net.jp> Date: Fri Feb 12 17:16:10 2010 +0900 Fix manual typos. Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 75c6c5595408caba9ef8233839d77021d02f86f2 Author: Dirk Wallenstein <dirkwallenstein@t-online.de> Date: Fri Feb 5 20:42:46 2010 +0100 man: Correct the XkbAllAccessXEventsMask mask name This mask has probably been renamed but not been updated in the manuals. Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 9262aceaff24c954cab8c252690032bc2ec25e7d Author: Dirk Wallenstein <dirkwallenstein@t-online.de> Date: Fri Feb 5 20:42:45 2010 +0100 man: Add missing geometry component flag Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 50cf134465f6fd263f37acecac94518468ef1c6d Author: Dirk Wallenstein <halsmit@t-online.de> Date: Tue Feb 2 21:24:32 2010 +0100 man: Return value of XkbGetState is Status and not Bool Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 Author: Dirk Wallenstein <halsmit@t-online.de> Date: Tue Feb 2 21:24:30 2010 +0100 man: Fix return value specification of XkbKeyActionEntry The XkbKeyActionEntry macro expands to a pointer. Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit e9884d4a05a5661ec343ea8a2aa0562b6419e086 Author: Dirk Wallenstein <halsmit@t-online.de> Date: Tue Feb 2 21:24:29 2010 +0100 man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 groups with 2 levels each. It wraps the index into the next group. This behavior confuses the unaware user, and therefore this will add a reference to XkbKeycodeToKeysym in the corresponding man paragraph. Another bug had that issue, too. #5349 Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 Author: Alan Coopersmith <alan.coopersmith@oracle.com> Date: Thu Apr 8 19:59:55 2010 -0700 Fix typo in new fi_FI.UTF-8 that was reported by "make check" Unrecognized pattern in Compose on line #154: <dead_diaeresis> <space> " "¨" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> commit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd Author: Marko Myllynen <myllynen@redhat.com> Date: Thu Apr 8 19:52:42 2010 -0700 Bug 27465 - Rewritten fi_FI.UTF-8 Compose file I've rewritten the fi_FI.UTF-8 Compose file so that it - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any possible additions to en_US.UTF-8/Compose automatically included) - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose definitions (thus making it safe to include en_US.UTF-8/Compose) - lists all the definitions specified in the SFS 5966 standard (thus making it easy to verify that the implementation is valid and complete) - adds a header about the file itself as required by the standard The rewritten version is ~320 lines compared to over 5000 lines of the previous version. https://bugs.freedesktop.org/show_bug.cgi?id=27465 commit f6a4fd0c7615684d08e848245849dea4017a5214 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Apr 1 21:46:12 2010 -0400 config: update and relocate AC_DEFINE_DIR macro Remove deprecated acinclude.m4 macro container file Use separate macro files as per autoconf recommendation Use the latest macro from GNU (ax) which replaces the non-gnu version (ac) This preserves the Autoconf macro AC namespace. Also moved out of acinclude.m4 is the DOLT macro Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 61d5231db418cec51bd718633c3bba39b18689d6 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Mar 29 14:53:48 2010 -0400 config: remove the pkgconfig pc.in file from EXTRA_DIST Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 69fc76a0321c6b25cc4286173c53435c69ab8e0e Author: Fernando Carrijo <fcarrijo@yahoo.com.br> Date: Wed Mar 17 23:53:16 2010 -0300 No need for req->firstKeyCode to be set twice. There is no reason to set req->firstKeyCode twice when a client, wishful for changing keyboard mappings, calls XChangeKeyboardMapping. This patch fixes the mistake by making no functional changes to libX11 whatsoever. Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit b5797597f83ee62228abfb88f026ef92163e07a5 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 16 10:37:21 2010 -0500 config: move CWARNFLAGS from configure.ac to Makefile.am Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 052c4d7995b0e52a038933beb85cd544571c6b7e Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 16 14:28:21 2010 -0500 specs: change install cmd due to automake 1.11 specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 9 17:27:08 2010 -0500 doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 $(MKDIR_P) is not defined in automake 1.9. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit e66eda95b520727969d721416d4ea49b54ef2b03 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Feb 2 16:29:26 2010 -0500 specs: install html images in $docdir with html files The images required by the html files have been omitted. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Jan 31 14:16:20 2010 -0500 doc: use new macros to control doc generation Namely XORG_WITH_GROFF for the groff generation tool XORG_WITH_PS2PDF for the conversion of PS docs to PDF XORG_ENABLE_SPECS for the generation of specs Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Jan 26 19:41:08 2010 -0500 doc: clean-up generated html images Generate images in /images as is the convention Provide a base file name for images rather than process ID Remove images directory when running make clean Signed-off-by: Gaetan Nadon <memsize@videotron.ca> commit eb289b34bfc9978eef724e0f268975938334c06c Author: Kristian Høgsberg <krh@bitplanet.net> Date: Thu Jan 21 13:39:17 2010 -0500 XErrorDB: Add new DRI2 request names commit 6babf2123d05adb9349394c49cc2d81d1f66cf9e Author: Julien Cristau <jcristau@debian.org> Date: Sat Jan 16 22:47:03 2010 +0000 man: Fix typo in Makefile Missing line continuation was preventing the XCompose alias from being generated. Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 68530599e61cf9fef3fcc91650e7cef21837fce7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jan 16 11:41:32 2010 -0800 libX11 1.3.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 18:33:39 2010 -0800 Update COPYING file with actual licenses from libX11 code & docs COPYING was previously a years out-of-date copy of the LICENSES doc summarizing all licenses for all XFree86 components, many of which did not apply to libX11. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ddb1786720d6136b1b28be599c75c10ad1b76a2a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 17:38:26 2010 -0800 Purge CVS/RCS id tags Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit c1db9ddcfa7091f173478dca45bf720badedfca4 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 15:39:14 2010 -0800 Update Sun license notices to current X.Org standard form Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Jan 14 08:28:22 2010 -0800 Add %S substitutions to Compose man page Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S in Compose file include statements - this documents it in the Compose file man page. Also changes the existing substitution documentation to list format instead of a paragraph format to allow easier adding of %S. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 94b45db93058cffa25598fe27dd3e385ace9d305 Author: Richard Purdie <rpurdie@linux.intel.com> Date: Thu Jan 14 08:04:28 2010 -0800 Fix configure.ac PKG_ macro calls If the first call to PKG_CHECK_MODULES() may not be called during execution which is the case here since its inside a case statement, call PKG_PROG_PKG_CONFIG() to ensure things worked correctly. Fixes a configure failure introduced by commit 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. http://bugs.freedesktop.org/show_bug.cgi?id=26041 Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit df559d8bc2238a2c369152fcb06e5b5ab132a5dc Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 12 09:18:15 2010 -0800 Raise xorg-macros requirement to 1.4 Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 depend on the INSTALL file delivered in xorg-macros 1.4 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 9df349a7894725f9469b106af645f57f7f3f9af3 Author: James Cloos <cloos@jhcloos.com> Date: Wed Jan 13 11:04:38 2010 -0500 Allow inclusion of system level compose files. With the release of XFree86 4.4 an inclusion system of compose files was added to Xlib to allow inclusion of the default compose file (with %L), any compose files from user’s home directory (with %H), or a compose file with a hard coded path¹. However, even today including system level compose files is not possible in a platform independent manner although the machinery for including compose files and overriding previously defined compositions is already in place. With the ability to include system level compose files one could greatly reduce the need for compose file rule duplication and the work needed to propagate changes in one compose file to others. For example, currently the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it is almost identical with en_US.UTF-8 except for perhaps half a dozen compositions. This commit allows one to include system level compose files with the following kind of syntax: include "%S/en_US.UTF-8/Compose" 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre Signed-off-by: Marko Myllynen <myllynen@redhat.com> Signed-off-by: James Cloos <cloos@jhcloos.com> commit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd Author: Thien-Thi Nguyen <ttn@gnuvola.org> Date: Tue Dec 1 10:31:47 2009 +0100 libX11: Fix comment: Invert polarity (direction) of reformat description. Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 Author: Osamu Sayama <osamu.sayama@sun.com> Date: Tue Jan 5 17:26:40 2010 -0800 set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 - In set_fontset_extents, check font_data is not NULL before running loop that may increment it to a non-NULL invalid pointer. - Make sure get_rotate_fontname counts the final field Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Adam Jackson <ajax@redhat.com> commit 87529c039050ce3336ff9ce00f1b5a21d15690da Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 18:02:37 2010 -0800 Merge X11, XKBPROTO, & XPROTO pkg-config lists Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS in configure.ac anyway, might as well combine the lists passed to PKG_CHECK_MODULES to reduce duplication in the flags. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Reviewed-by: Rémi Cardona <remi@gentoo.org> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> commit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 17:56:58 2010 -0800 Add XCompose man page shadow for Compose man page Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 02543bba816e065c02cd36e0c9e21519a9ee9c96 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 17:47:44 2010 -0800 Add $(AM_V_GEN) to silence lint rules too Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jan 5 17:42:42 2010 -0800 Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Nov 29 10:44:24 2009 -0500 configure.ac: restore correct order for XORG_DEFAULT_OPTIONS It must be following AC_USE_SYSTEM_EXTENSION commit 3dbaa11d1c8705e1b309c6686f354766b651ad20 Author: Gaetan Nadon <memsize@videotron.ca> Date: Sun Nov 29 10:01:44 2009 -0500 Add .gitignore in /specs for generated files Being in /specs, it will apply for all 3 subdirs commit f45d39d37aab04742e44cd8c3c993aad7587e40c Author: Gaetan Nadon <memsize@videotron.ca> Date: Fri Nov 27 20:56:03 2009 -0500 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES Now that the INSTALL file is generated. Allows running make maintainer-clean. commit 464390f16d7ed4aa5bf80f89863ba92273075ec2 Author: Gaetan Nadon <memsize@videotron.ca> Date: Wed Oct 28 14:09:10 2009 -0400 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet. commit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 Author: Gaetan Nadon <memsize@videotron.ca> Date: Tue Oct 27 15:07:25 2009 -0400 Deploy the new XORG_DEFAULT_OPTIONS #24242 This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes. commit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 Author: Gaetan Nadon <memsize@videotron.ca> Date: Mon Oct 26 22:08:42 2009 -0400 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 ChangeLog filename is known to Automake and requires no further coding in the makefile. commit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 Author: Gaetan Nadon <memsize@videotron.ca> Date: Thu Oct 22 12:34:19 2009 -0400 .gitignore: use common defaults with custom section # 24239 Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults. commit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Nov 12 23:05:40 2009 -0800 Add compose-check.pl to EXTRA_DIST Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 Author: Julien Cristau <jcristau@debian.org> Date: Thu Oct 29 17:17:24 2009 +0100 man: fix XCopyGC argument order Ubuntu bug#408337 commit aad10032651cdc2a53b359035954454a28d6db67 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Oct 23 13:55:14 2009 -0700 libX11 1.3.2 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 6303ada89cb228c0f9656036f798703afb42fc29 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Oct 21 12:42:07 2009 +1000 Add smiley faces to compose sequences. I wonder how we could have lasted that long without them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Daniel Stone <daniel@fooishbar.org> Acked-By: James Cloos <cloos@jhcloos.com> commit 0e104ebd8628803c27e36b16922ad1edd891325a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Oct 22 23:12:30 2009 -0700 Add man page for Compose file format Based on grammar description in modules/im/ximcp/imLcPrs.c and note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Tue Oct 20 12:46:03 2009 -0700 Add extra configuration and sanity checks for groff and ps2pdf 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these environment variables. 2) Check that groff -ms works Some distributions ship the ms macros as a separate package which may not be installed together with groff, so we need to make sure that groff works and the required macros are actually installed before attempting to build the specs. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit d3f801fd2f9198eaad6797414dba652f9c006c6d Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Sun Oct 18 17:34:53 2009 -0500 Fix VPATH build of libX11 specs Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit ad15e1a89d30ccc11d80745897b83def1448e8c0 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Oct 17 16:14:34 2009 -0700 libX11 1.3.1 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Oct 17 16:28:25 2009 -0700 Fix make distcheck Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Oct 16 19:25:35 2009 -0700 Use $(AM_V_GEN) to silence echo commands for generating shadow man pages Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Oct 14 16:18:24 2009 -0700 Move libX11 & XIM/locale specs from xorg-docs If groff is found, and --disable-specs is not passed to configure, specs will be converted to text, html and ps (or pdf if ps2pdf is found) and installed to $(docdir) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Tue Oct 13 19:15:51 2009 -0500 Provide _Xsetlocale compat wrappers on Cygwin Previous versions of Cygwin did not have proper locale support, so Cygwin/X defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale support, but we can't remove the _Xsetlocale entry point without breaking ABI. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Tue Oct 13 19:15:49 2009 -0500 dolt: add Cygwin to supported platforms Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> commit a2c8e3e34b15b57ff881a52101fc961a602f35e4 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Oct 14 13:23:30 2009 -0700 Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 Author: Jon TURNEY <jon.turney@dronecode.org.uk> Date: Tue Feb 10 17:47:25 2009 +0000 Include sys/select.h for select() and struct timeval, if it exists This is a cygwin build fix commit 383165916ddac91740d4c780174d4c0d07cdb994 Author: Xake <xake@rymdraket.net> Date: Sun Sep 27 11:16:36 2009 +0200 Use AM_V_GEN instead of customized macros for AM_SILENT_RULES Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 854269d55cdda8caf425515bfed2855e211a5ada Author: Julien Cristau <jcristau@debian.org> Date: Tue Oct 6 16:11:24 2009 +0200 configure: quote argument to m4_pattern_forbid Without this, configure spits out ../configure: line 12364: ac_fn_c_check_member: command not found ../configure: line 12378: ac_fn_c_check_type: command not found Also anchor the pattern to make it stricter. Signed-off-by: Julien Cristau <jcristau@debian.org> commit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Thu Oct 1 22:20:38 2009 -0700 Split CFLAGS into CPPFLAGS and CFLAGS On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older X11 headers are in /some/prefix/include, they will be preferred over the shipped headers. This corrects that problem. commit d54caf1c9c55af8247621b7ba6afb20b23699839 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Oct 2 10:59:08 2009 +1000 libX11 1.3 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit dd201bcf9e7f8863b7ef32273a5ef021678133c1 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Oct 2 12:10:29 2009 +1000 nls: remove duplicate Compose sequences from pt_BR.UTF-8 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit a293ae9e83739067fc92db1a39c262857bc2283e Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Sep 25 11:19:41 2009 +1000 Add XF86TouchpadToggle to XKeysymDB Lenovo laptops provide a key to enable or disable the touchpad and the trackstick. This key is usually located on Fn + F8. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Adam Jackson <ajax@redhat.com> commit 69839f8903a24eab08f17a781b3797fb64dce9cf Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Sep 27 10:34:16 2009 -0700 Bug 24173: libX11 from git fails to build with automake older then 1.11 AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the Makefiles, instead of after. <http://bugs.freedesktop.org/show_bug.cgi?id=24173> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit f5effd041f58ef07703cca2b4f396758811e1eec Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Apr 15 10:59:23 2009 -0700 Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 3843778358d3a0cd6a2d07dba5dd061248053ac9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Apr 15 10:56:09 2009 -0700 Add perl script to check for duplicate or conflicting compose file entries Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 19cc5e1fa17a285045662820a8b4de2a0f9a194d Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 18 17:10:04 2009 -0700 Use make rules instead of shell for loops to generate shadow man pages Allows parallel make and simpler build logs/error reporting Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 18 16:58:53 2009 -0700 Add AM_SILENT_RULES support for cpp rules for man & nls files Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit bfa19cddd8546b4930a773f3bbd81137c362d82b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 18 16:58:16 2009 -0700 Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 51396066c8003a96a6399c9a4bed2a81e512b582 Author: Mikko Niskanen <mikko.niskanen@iki.fi> Date: Fri Sep 4 10:11:15 2009 +1000 Fix wrong typedef on HP-UX (#18998) shl_dt doesn't exist, the type is shl_t. X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 615220a312b9430a580fe6dcf51703c6ef244f66 Author: Paul Bender <pebender@gmail.com> Date: Fri Sep 4 09:57:10 2009 +1000 Don't require xdmcp in configure.ac (#22583) X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Sep 3 14:02:44 2009 +1000 man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Sep 3 12:05:25 2009 +1000 man: XQueryTree may return BadWindow. (#23416) X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 23:07:58 2009 +0800 Fix version tag in .TH line of several XKB man pages Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 23:04:38 2009 +0800 XkbSetDeviceButtonActions.man: remove non-existent actions argument Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 53affa9335116f2d367f041e6502a411d4619e47 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 23:00:17 2009 +0800 XkbQueryExtension.man: Arguments should be pointers Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 6233948885acc5873a5abddfff235afec555f3c2 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 22:53:03 2009 +0800 XkbSAActionSetCtrls.man: Fix typo in formatting macro Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Aug 28 22:49:31 2009 +0800 Convert Xkb API man pages to ANSI prototypes Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit fa2eecca85baab9616f7143cc1a853a594b4a90c Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 24 06:35:17 2009 -0400 Add some (Serbian) Cyrillic NFD sequences. A number of characters in use in the various countries which use the Cyrillic script do not appear as pre-composed characters in The UCS or Unicode; they are only available as combining-character sequences. This commit adds support for using (prefix) dead keys and Multi_key- initiated sequences to enter a number of these combining-character sequences. This ensures that users can enter these scripts even when using the current Cyrillic keymaps, which lack support for the combining characters. Please see the discussions on the xkb mailing list. Signed-off-by: James Cloos <cloos@jhcloos.com> commit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 Author: Julien Cristau <jcristau@debian.org> Date: Wed Aug 5 18:14:23 2009 +0200 man/xkb: delete spurious newline in .TH headers commit ee723b83b24682db833a2f0abd96cd319b8a62af Author: Julien Cristau <jcristau@debian.org> Date: Wed Aug 5 16:45:19 2009 +0200 man: use __libmansuffix__ instead of 3X11 for references to other pages commit 595e204feb82c798a92eea41fea03be6476ac181 Author: Julien Cristau <jcristau@debian.org> Date: Wed Aug 5 16:43:36 2009 +0200 man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections commit 9da7e230d5320e1556ad2084fcd06ee7994385ea Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Aug 5 14:15:02 2009 +1000 Bump to 1.2.99.901 (1.3 RC1) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 Author: Filippo Giunchedi <filippo@debian.org> Date: Sat Jun 6 16:56:54 2009 +0200 nls: add {left,right}wards arrow to compose table Debian bug#532117 <http://bugs.debian.org/532117> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 7949bfa00390241d994f32463e50d4bd78920568 Author: Julien Cristau <jcristau@debian.org> Date: Fri Jul 31 13:33:52 2009 +0200 Update library version for new symbols Commit 554f755e5545f63d3c8f299297927238da155773 added generic event cookie handling. Bump libX11 version number accordingly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 640fec5f4feacd01a00eea3dcd4edb220907d3dc Author: Julien Cristau <jcristau@debian.org> Date: Sun Aug 2 17:18:31 2009 +0200 Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> Signed-off-by: Julien Cristau <jcristau@debian.org> commit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Jul 29 08:44:09 2009 +1000 Fix compiler warning 'unused variable qelt' Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 03f4907e14f5755e72309f08742977b871e81e33 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Wed Jul 29 08:34:57 2009 +1000 Add utlist.h to the Makefile.am utlist.h contains the linked list macros, it was added with the recent addition of event cookies but utlist.h wasn't added to the Makefile.am. As a result, make dist failed. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 554f755e5545f63d3c8f299297927238da155773 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Jun 26 11:27:43 2009 +1000 Add generic event cookie handling to libX11. Generic events require more bytes than Xlib provides in the standard XEvent. Memory allocated by the extension and stored as pointers inside the event is prone to leak by simple 'while (1) { XNextEvent(...); }' loops. This patch adds cookie handling for generic events. Extensions may register a cookie handler in addition to the normal event vectors. If an extension has registered a cookie handler, _all_ generic events for this extensions must be handled through cookies. Otherwise, the default event handler is used. The cookie handler must return an XGenericEventCookie with a pointer to the data.The rest of the event (type, serialNumber, etc.) are to be filled as normal. When a client retrieves such a cookie event, the data is stored in an internal queue (the 'cookiejar'). This data is freed on the next call to XNextEvent(). New extension interfaces: XESetWireToEventCookie(display, extension_number, cookie_handler) Where cookie_handler must set cookie->data. The data pointer is of arbitray size and type but must be a single memory block. This memory block represents the actual extension's event. New client interfaces: XGetEventData(display, *cookie); XFreeEventData(display, *cookie); If the client needs the actual event data, it must call XGetEventData() with the cookie. This returns the data pointer (and removes it from the cookie jar) and the client is then responsible for freeing the event with XFreeEventData(). It is safe to call either function with a non-cookie event. Events unclaimed or not handled by the XGetEventData() are cleaned up automatically. Example client code: XEvent event; XGenericEventCookie *cookie = &ev; XNextEvent(display, &event); if (XGetEventData(display, cookie)) { XIEvent *xievent = cookie->data; ... } else if (cookie->type == GenericEvent) { /* handle generic event */ } else { /* handle extension/core event */ } XFreeEventData(display, cookie); Cookies are not multi-threading safe. Clients that use XGetEventData() must lock between XNextEvent and XGetEventData to avoid other threads freeing cookies. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit d7675cb8fa7155e7aff1459636a117a97aa1bf28 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Mon Jul 6 13:17:35 2009 +1000 Bump to 1.2.99.1 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 75fe48e7a42a685d7098e8d7108b9b956c471563 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Fri Jul 10 14:07:34 2009 +1000 Bump to 1.2.2 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Jul 2 09:10:25 2009 +1000 XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. GenericEvent cannot be selected for in the core event masks and they must thus be treated like extension events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Jul 2 09:06:05 2009 +1000 XWindowEvent/XCheckWindowEvent must not return GenericEvents. GenericEvents have no fixed position for the window, so they must be treated like extension events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> commit 38f9054554d63525d2dd51aafb5eb57821158ab9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jun 15 19:00:43 2009 -0700 Drop ancient USG SysV #ifdefs Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 Author: Adam Jackson <ajax@redhat.com> Date: Fri Jun 12 12:44:01 2009 -0400 Remove X_NOT_STDC_ENV usage. (#6527) commit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 Author: Julien Cristau <jcristau@debian.org> Date: Fri May 29 11:18:11 2009 +0200 nls: remove more duplicated aliases Signed-off-by: Julien Cristau <jcristau@debian.org> commit e4b0899f516da224010e68bd2d953d5293d94993 Author: parag <parag@rawhideTM.pnq.redhat.com> Date: Thu May 28 11:29:35 2009 +0530 nls: Add pa_PK locale information and make pa_IN as default for pa. X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> [jcristau: removed the pa_PK.UTF-8 alias to itself] Signed-off-by: parag <pnemade@redhat.com> Signed-off-by: Julien Cristau <jcristau@debian.org> commit f0ea1f6d51145592f8617854f9320ec5dbff3299 Author: Julien Cristau <jcristau@debian.org> Date: Fri May 29 10:58:20 2009 +0200 nls: remove broken sd_IN.UTF-8 alias Signed-off-by: Julien Cristau <jcristau@debian.org> commit e29e010dabdb17d6498f2ef1786f69b8830c18ca Author: Julien Cristau <jcristau@debian.org> Date: Fri May 29 10:57:43 2009 +0200 nls: remove duplicated en_US* aliases Signed-off-by: Julien Cristau <jcristau@debian.org> commit a89a300d87852c84389ad97db66dcb8930cb45dd Author: Caolan McNamara <caolanm@redhat.com> Date: Thu May 21 18:41:05 2009 +0200 man: missing space in XAllocColor man page X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> commit c1c001e36504fd304f76f69bf6af3643225c49ea Author: James Cloos <cloos@jhcloos.com> Date: Wed May 13 13:03:54 2009 -0400 [nls] Replace remaining UCS Combining Characters in Compose sequences. The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, where the keysym is used as a dead_key, with an actual dead_key symbol. The only remaining instances of UCS combining characters in the compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY used as a suffix in Multi_key-initiated sequences to create mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF from ∈ U+2208 ELEMENT OF. commit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f Author: James Cloos <cloos@jhcloos.com> Date: Wed May 13 09:58:59 2009 -0400 [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, where the matching keysym is used as a dead_key, and for which alternative compose sequences exist. commit 79f47e6dff2f0a0b673bbfecc47528edca814baa Author: James Cloos <cloos@jhcloos.com> Date: Fri May 8 20:11:54 2009 -0400 [nls] Remove combining_ keysyms from the Compose files Some of the UTF-8 Compose tables included combining_ keysyms in the compose sequences as though they were dead symbols. This is contrary to how combining characters are used in the UCS. Therefore, those lines have been removed from the Compose tables. There were also some combining_ keysyms as targets. As those are not included in x11proto’s keysymdef.h, and as those do exist there as Uxxxx keysyms, they are replaced with the Uxxxx keysym names. This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 and is based on attachment 25644 by samuel.thibault@ens-lyon.org. Signed-off-by: James Cloos <cloos@jhcloos.com> commit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 Author: parag <pnemade@redhat.com> Date: Tue May 5 16:50:47 2009 +0530 libX11: Add new Indic language information to nls directory files. #21560 Signed-off-by: parag <pnemade@redhat.com> commit aaf81096eb44b4c2812108721ba02738391884da Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 2 01:38:14 2009 -0700 Correct return type in XkbGetKeyboard man page Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 2bef065b70f70af520b5de8fb23529254d15f003 Author: Christoph Pfister <christophpfister@gmail.com> Date: Mon Apr 27 22:32:57 2009 -0700 X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) http://bugs.freedesktop.org/show_bug.cgi?id=21117 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 5c1cde105db10df24d3c532f032cbc59050c7313 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Apr 17 22:14:47 2009 -0700 Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE Raises minimum autoconf version required to 2.60 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 84b7a91ef84f345384e4b0e13907385ca3ca3255 Author: Julien Cristau <jcristau@debian.org> Date: Tue Apr 14 15:59:57 2009 +0100 Fix fi_FI.UTF-8, again Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. This reverts it back to using the en_US.UTF-8 one. commit 128daff4422f973ea40dd1e31b2db230e643549e Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Thu Apr 9 12:01:07 2009 +0700 Thai XIM not retrieve MB surrounding on UTF-8 LC On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps that use X Input Method. This is because GTK+ imxim immodule passes surrounding text in locale encoding, which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the multi-byte StringConversionText response for the StringConversionCallback to always be TIS-620, by retrieving a single byte and using it as-is. If the Thai XIM tries to convert the multi-byte text based on locale codeset before using it, it will work again. X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> Signed-off-by: Julien Cristau <jcristau@debian.org> commit e09f0d227fbf95b6252759af9d426efd57686f9f Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Thu Apr 9 11:47:55 2009 +0700 Thai XIM not filters when NumLock or CapsLock is on The Thai XIM component in libx11 activated on 'th*' locales normally filters input sequence according to orthographic rules. However, when NumLock/CapsLock is on, this stops working. All sequences are passed through. This is caused by missing masks in _XimThaiFilter(), which normally screens out certain special keys from entering orthographic rules. Unfortunately, this included events with NumLock/CapsLock on. Negating the masks from the check allows the events to be tested by the rules. X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> Signed-off-by: Julien Cristau <jcristau@debian.org> commit d108d3c706af3502820b5202564488ea19908b77 Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Thu Apr 9 11:25:25 2009 +0700 CharSet-to-CompoundText Conversion Failed for Thai Locales SCIM fails to commit Thai input characters on Thai locales, because it commits string in compound text form, which was converted via XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 declares cs1's ct_encoding as TIS620-0:GR, which was commented out in src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. So, declaring cs1 as ISO8859-11:GR instead makes it work. Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds support for UTF-8 input. And, along discussion in the bug, a similar problem was found for fontset, too, by causing delays on X apps startups on systems without tis620-0 fonts. This is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries by default for Thai X fonts. So, Thai fontset charset is also patched. X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> Signed-off-by: Julien Cristau <jcristau@debian.org> commit fd62d3318c846cd43d66a505946e94704d7d83dc Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Apr 8 19:42:25 2009 -0700 Revert "Change masculine to ordmasculine in Compose file comments" This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. As Julien Cristau correctly points out, I misread the Compose file grammar in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and the keysym is named XK_masculine in keysymdef.h. This change is thus a bug in the Solaris compose tables to be fixed, not an improvement to bring upstream. commit eac57c77afdf44f50692225b8b0345a7c927bc84 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Apr 7 15:38:45 2009 -0700 Version bump: 1.2.1 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit bfbec08baec33c5024510b0bcbbee6e4a8473e79 Author: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> Date: Tue Apr 7 13:46:57 2009 -0700 Bug 20773: Xcursor dynamic loading on Cygwin X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit c8c41614911be4fa222fa22478677d263b41c751 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 6 16:52:46 2009 -0700 Fix a several sparse warnings: Using plain integer as NULL pointer Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit b336c3d0cc2aefc8926500cff5f76b5a3e803886 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 6 16:32:05 2009 -0700 Further ansify prototypes & reduce #ifdefs in locking.c Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 892b401d5acc055803a20e349ede0d64490f2230 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 6 10:50:09 2009 -0700 Change masculine to ordmasculine in Compose file comments Matches the ordfeminine name used for the matching character, and the ordmasculine name used in many font descriptions of the glyph. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit e3198b55dc16ec57346cc28aa8d34165ce8cde96 Author: Julien Cristau <jcristau@debian.org> Date: Fri Mar 13 13:52:33 2009 +0100 Add a ru_RU.UTF-8 locale Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. Debian bug#330144 <http://bugs.debian.org/330144> X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> commit d239de9452691d6f875e6e5ace3d499ec3bf14d9 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Mar 25 17:59:09 2009 -0700 Delete some unused "#ifdef notdef" static functions Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4281892e31058ef3aecc96a5767824b34d88d415 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Mar 25 17:52:48 2009 -0700 Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c This copy of Xrm.c is never compiled into the Xprint server any more, so this old code-sharing #ifdef from the monolith tree isn't needed. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 17 18:38:58 2009 -0700 makekeys: combine malloc(strlen)+strcpy into strdup Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 17 15:42:19 2009 -0700 When makekeys fails to find a good hash, print error instead of divide-by-zero Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 17 14:59:16 2009 -0700 Remove ifdef checks for macII left over from ancient A/UX 3.0 support Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 18:37:49 2009 -0700 XErrorDB additions for DRI2 requests Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 273f45af1441be9d2135e4cac8c46ceb33470236 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 18:35:44 2009 -0700 XErrorDB additions for XInput errors and new XInput 1.5 requests Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 90ef36f6336068183bf9d13ca972202db35b1202 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 18:23:05 2009 -0700 XErrorDB additions for RANDR 1.3 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 124a4efaccf329f1a44f6b824e70278bdd1cad83 Author: Lubos Lunak <l.lunak@suse.cz> Date: Mon Mar 16 18:03:36 2009 -0700 XErrorDB updates for XTEST, RANDR, DAMAGE extensions From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 80811846e37b805fddb37c71589fd5f6f6037b3f Author: Lubos Lunak <l.lunak@suse.cz> Date: Mon Mar 16 17:57:52 2009 -0700 XGetErrorText() fails for extension error codes equal to the error base From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd Author: Milos Komarcevic <miloskomarcevic@netscape.net> Date: Mon Mar 16 17:43:26 2009 -0700 Bug 11456: Serbian locale updates (sr_RS and sr_ME) X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 934a6c0519a9e32505beee55b004f36c2a710217 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 14:55:22 2009 -0700 Bug 10082: Compose entries for some standard mathematical operators X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit abf4da1ed0f735ca7ce471dc13a0ec3677391486 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 14:27:46 2009 -0700 Bug 14651: We need to add new locale specification for Belarusian Latin locale X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 837703c8651e1321a50147a8311c56e4758ce08a Author: Caolan McNamara <caolanm@redhat.com> Date: Mon Mar 16 14:15:50 2009 -0700 Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 22199018879055d8653e59d8236bef57164fac66 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 16 13:28:18 2009 -0700 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 4c63c27eab2b88f5556dbf72c36321f50f6de35e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Mar 12 18:57:20 2009 -0700 Bug 9953: Please provide locale alias hu_HU.utf8 X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 501f4e0ada1690783ada05ad412e4b191ad55336 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Mar 12 17:38:21 2009 -0700 Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 7b9c543e7210c7da204871c31a160e79d3a949b6 Author: Paul Bender <pebender@gmail.com> Date: Thu Mar 12 17:11:42 2009 -0700 Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Wed Mar 4 19:32:29 2009 -0800 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA Sun bug 6809309 Add new utf8 locales supported by Xlib <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit cb70c9bc43267577859a3674ca9de9be396ba69e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 23 19:29:15 2009 -0800 Add --with-locale-lib-dir configure option to set locale lib install dir Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 23 18:33:51 2009 -0800 Incorporate more locale names/aliases from Solaris libX11 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 83ce4daefdf544f801c7d666c89162690a36ce41 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 23 18:32:34 2009 -0800 Incorporate char range comments from Solaris version of ksc5601.h Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 Author: Chris Ball <cjb@laptop.org> Date: Sat Feb 21 14:48:42 2009 -0500 Fix fi_FI locale install directory. fi_FI was setting "x11thislocaledir" to en_US, with the result that its locale data was written in that locale dir. Signed-off-by: Chris Ball <cjb@laptop.org> commit da6bbca07c796c69172a649405474f03bee66754 Author: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> Date: Sat Feb 21 20:17:23 2009 +0100 xcb_io: Avoid datatype overflow on AMD64 and friends. commit 4ef6491afa69e8441caee7bbebc583e6e796275e Author: Chris Ball <cjb@laptop.org> Date: Sat Feb 21 12:51:03 2009 -0500 Build fix for fi_FI. Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no Makefile is written there by configure. Signed-off-by: Chris Ball <cjb@laptop.org> commit 642c4e928e770e012379539a6ce09e11c02f09a6 Author: Julien Cristau <jcristau@debian.org> Date: Sat Feb 21 03:12:05 2009 +0100 nls: actually use the fi_FI.UTF-8 files The subdir wasn't added to nls/Makefile.am commit 9bad8309ef289bb943651abf6967b24fa2252aac Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 20 14:45:54 2009 -0800 flags member of Display structure needs to be marked volatile Since the Xlib multithreaded code checks the flags variable in _XFlushInt to see if the other threads are done yet, it has to be marked volatile so the compiler doesn't optimize out re-loading it on each trip through the while loop and end up in an impossible-to-exit infinite loop of CPU chewing. Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit ef5c446395aa30d7b1096a112e241a81c5b358e7 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Fri Feb 20 15:12:35 2009 -0800 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 3822f2654e9630167f0c6cae317b472c09771672 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Fri Feb 20 15:03:51 2009 -0800 Add locale aliases for no_NO & sh_BA locale variants Fixes Sun bug id 6691219: xterm refuses to start in some locales <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit 63b6b5b5f522c0a606b32163c643edb64ca91d54 Author: Xue Wei <Wei.Xue@Sun.COM> Date: Fri Feb 20 14:23:11 2009 -0800 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications changing keyboard layout with gimlet does not work") <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit d497301707962f3b94542e999a36abffcfbd303d Author: Julien Cristau <jcristau@debian.org> Date: Tue Feb 17 16:09:41 2009 +0100 Bump to 1.2 commit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf Author: Julien Cristau <jcristau@debian.org> Date: Tue Feb 17 15:23:40 2009 +0100 Check Xmalloc return value in _XConnectXCB X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> Signed-off-by: Julien Cristau <jcristau@debian.org> commit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c Author: James Cloos <cloos@jhcloos.com> Date: Sat Feb 14 12:35:56 2009 -0500 dolt: allow older versions of bash to compile the library Cf xserver commit 7be6520d and bugzilla #19031. commit 20982d6866e24453642b0b592fa0f13a88aa747c Author: Will Thompson <will@willthompson.co.uk> Date: Thu Feb 5 02:53:06 2009 +1100 NLS: Compose: Non-aliasing CCCP Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. Signed-off-by: Will Thompson <will@willthompson.co.uk> Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) commit f052665394f3f0319e93a98f1d5d4ea287e1dd07 Author: Will Thompson <will@willthompson.co.uk> Date: Wed Feb 4 14:51:11 2009 +0000 Add two essential compose sequences Signed-off-by: Will Thompson <will@willthompson.co.uk> Signed-off-by: Daniel Stone <daniel@fooishbar.org> commit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 2 20:34:31 2009 -0800 Add README with pointers to mailing list, bugzilla & git repos Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> commit f682c27e93512773122887d2cbabb1657af45d2e Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Mon Feb 2 16:36:39 2009 -0200 Check if a function argument is NULL. This was an addition to patch (also by me) https://bugs.freedesktop.org/attachment.cgi?id=14660 that was not added when rediscovering/correcting the problem. commit 427e9d45d424b84efd9fc499aebf8d72392844c5 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Feb 28 15:58:12 2008 -0300 Allow multiple inclusions of cursorfont.h, cosmetic patch. commit b91524a53e691f6a5d278fd8972b48a14ebeedeb Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Feb 28 15:54:43 2008 -0300 Don't add prototypes for functions that don't exist. Note that a full review was not done, only for functions that receive char/short arguments, or one of it's parameters is a function pointer that requires char/short arguments. commit 537eb52fe266ac439c4b383bb04a70017b709911 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Feb 28 15:50:27 2008 -0300 WORD64 compile fix. This bug catched on a overview of the code. The code is wrong since the first git revision, so it seens that it has not been compiled with WORD64 for quite some time, there is also another interesting code in xkb/XKBRdBuf.c: <hash>ifdef WORD64 _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 <hash>endif and possibly there are other similar problems. commit ffd0300fb74c6183208ae599133f2ded09e08d97 Author: Brian Rogers <brian@xyzw.org> Date: Sat Jan 31 10:37:51 2009 -0800 Initialize event_notify after allocating the memory for it. An uninitialized or otherwise invalid condition variable can apparently cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine at least are freezing as a result of event_notify never being initialized. Signed-off-by: Brian Rogers <brian@xyzw.org> Signed-off-by: Bart Massey <bart@cs.pdx.edu> commit 97fc6babd4ccaf300e25708868aa2a738893dc30 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jan 29 20:10:41 2009 -0500 NLS: Add UTF-8 compose file for Finnish From bug report: https://bugs.freedesktop.org/show_bug.cgi?id=18747 commit 1bd2966ed88f83479a066c6ca7da23a515979550 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:25:15 2009 -0200 patches to avoid gcc warnings for libX11 (#4) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19443 This patch avoids the gcc warning ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type (same as already done at other places) BTW: what is the difference between XIM (the type of ic->core.im) and Xim ? commit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:22:21 2009 -0200 patches to avoid gcc warnings for libX11 (#3) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19441 This patch avoids the two gcc warnings ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type Note, that this as a rather crude fix of the problem (and it is really a shame to cast name_table to non-const). The right solution would be to declare XIMValuesList.supported_values (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). This will, however, require extensive modifications in various places. commit cce75c5dce73fe1f8626ed9e6798138ada09a860 Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:20:18 2009 -0200 patches to avoid gcc warnings for libX11 (#2) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19440 Avoid a preprocessor message <stdin>:194: warning: no newline at end of file Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) seem to be caused by a truncated (or otherwise incomplete) manpage. commit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 20:12:24 2009 -0200 patches to avoid gcc warnings for libX11 (#1) Author is Peter Breitenlohner <peb@mppmu.mpg.de> Bug #17946, attachment #19439 Define as 1 (one) as done by autoconf and the command line option, e.g. -DX11_t, not as empty. This avoids the gcc (3.4.6) warnings: ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined <command line>:7:1: warning: this is the location of the previous definition ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined <command line>:8:1: warning: this is the location of the previous definition Similarly, follow the autoconf convention to define XTHREADS and XUSE_MTSAFE_API as one. This avoids analogous warnings when compiling libXcomposite, libXcursor, and libXdamage. No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). commit a1977883c9f5ef0e515569d6e2ebccb07411f98c Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Thu Jan 29 15:01:06 2009 -0200 Janitor: Correct some gcc/sparse warnings. Most remaining warnings are about XIM/Xim to/from conversion and discarding const from pointers. commit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> Date: Wed Jan 28 20:31:42 2009 -0200 Janitor: ansification, make distcheck, compiler warnings. Only convert to use "ansi prototypes" the functions warned from compilation with "./autogen.sh --prefix=/usr", on a Linux computer. Also, only address "trivial" compiler warning fixes in this commit. The new .gitignore is the output of a command like: % find . -name .gitignore -exec cat {} \; | sort | uniq and only the toplevel .gitignore file was kept. commit 091c1624fd2f9d933329d6152e4ecd865aa7903a Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Tue Jan 13 12:05:54 2009 +1000 Fix wrong implies symbol. Quote Simos Xenitellis: > I checked the gtk+ commit logs that go back to 2000, and I see that still it > was > > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS > DOUBLE ARROW */ > > In XFree86, it appears there was an error when they converted the > original table to > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup > and the problem still shows up there (November 2000). http://lists.freedesktop.org/archives/xorg/2008-October/039743.html Reported by Erik Streb del Toro. commit e32521f19e0b07649b7e3a03d56a2bd556b138fb Author: James Cloos <cloos@jhcloos.com> Date: Sun Dec 7 04:13:34 2008 -0500 [i18n] s/U00DC/Udiaeresis/g The xkeyboard-config keyboards generate the symbol Udiaeresis, not U00DC. Make sure the relevant Compose sequences expect the symbol which the keyboards actually send. commit b7502abfe22f8dc009b21cda1172af221d8f9f32 Author: James Cloos <cloos@jhcloos.com> Date: Sun Dec 7 04:09:46 2008 -0500 Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. commit c9d20e3f697c9cfae5511412023362c1db7449b1 Author: James Cloos <cloos@jhcloos.com> Date: Sun Dec 7 04:08:23 2008 -0500 Use C comments rather than initial doubled hashes to exclude lines from .pre files commit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 Author: vehemens <vehemens@verizon.net> Date: Sun Dec 7 01:18:26 2008 -0500 [i18n] Distribute new headers which were added for gb18030 support. big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to make it into the tar. Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. Signed-off-by: James Cloos <cloos@jhcloos.com> commit 418819558d2c60e58b4e3022ce0fadf2143488ac Author: Stefan Dirsch <sndirsch@suse.de> Date: Sat Nov 22 22:01:07 2008 +0100 Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). commit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a Author: Stefan Dirsch <sndirsch@suse.de> Date: Sat Nov 22 19:40:54 2008 +0100 Added remaining xlib patch required for gb18030 support (#1573). commit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf Author: Stefan Dirsch <sndirsch@suse.de> Date: Sat Nov 22 17:53:06 2008 +0100 Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). commit c859446c500c883a67f7a86cab1a44844e24dade Author: Ken Thomases <ken@codeweavers.com> Date: Fri Nov 21 13:58:10 2008 -0500 [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) Signed-off-by: James Cloos <cloos@jhcloos.com> commit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 Author: Jeremy Huddleston <jeremyhu@freedesktop.org> Date: Mon Nov 17 20:47:26 2008 -0800 Force local transport when using the launchd socket. Fixes a regression due to bf53987eaf0fbd7f7627783fc39e7ee99e8361ba commit 7aca689ce14d314b5c8c72c8df76f53f76ab467c Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Fri Nov 14 10:32:50 2008 +1000 Add XF86Suspend, XF86Hibernate to KeysymDB. commit d16b11f25f8265e651def8d80bcd430c0448e664 Author: James Cloos <cloos@jhcloos.com> Date: Tue Nov 11 19:43:39 2008 -0500 [nls] Annotate the Bépo compose sequences Add comments with the UCS names. Add utf-8 strings for each result. Format for easy reading. commit 730298464240be6f65b32416b3f9b20062c61825 Author: James Cloos <cloos@jhcloos.com> Date: Tue Nov 11 16:41:34 2008 -0500 [nls] Add some UTF-8 Compose sequences As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). Cf. bugs: https://bugs.freedesktop.org/show_bug.cgi?id=17821 https://bugs.freedesktop.org/show_bug.cgi?id=17822 commit ad6008a0c92733826983eb93f063d3d6276007d8 Author: Colin Harrison <colin.harrison@virgin.net> Date: Thu Nov 6 17:48:21 2008 -0500 Fix copy/paste typo in imLcPrs Signed-off-by: James Cloos <cloos@jhcloos.com> commit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 Author: Adam Jackson <ajax@redhat.com> Date: Thu Nov 6 14:54:13 2008 -0500 Fix leak in _XimXGetReadData Spotted by Denis Dzyubenko commit ae23c25b9349ab1d7ff81f3075c000cf35fc442b Author: Julien Cristau <jcristau@debian.org> Date: Wed Nov 5 22:09:37 2008 +0100 Bump to 1.1.99.2 commit d31e644c65c52828ea3e7abd94a8cf9aee12265c Author: Julien Cristau <jcristau@debian.org> Date: Wed Nov 5 21:33:13 2008 +0100 Fix distcheck commit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 29 14:00:33 2008 -0700 Support multiple independent internal sync handlers Xlib has several independent tasks that need to be performed with the display unlocked. It does this by replacing the existing sync handler with one of a variety of internal sync handlers. However, if multiple internal sync handlers need to run, then the last one registering wins and previously registered internal sync handlers are never invoked. This manifested as a bug with DRI applications on Xlib/XCB as that requires both an XID handler after every XID allocation, and the periodic sequence number handler. The XID handler would win, and the sequence number handler would never be invoked. Fix this by unifying the internal sync handler mechanism into a single function that calls all of the known internal sync handlers. They all need to deal with being called when not strictly necessary now. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@freedesktop.org> commit 2dbaaab9c4e3894b33dcae850551dee5473431d5 Author: Keith Packard <keithp@keithp.com> Date: Sat Oct 11 21:44:21 2008 -0700 Ensure that _XReadEvents always leaves an event in the queue on return XNextEvent assumes that the event queue will be non-empty on return from _XReadEvents, but with multiple event readers running, the previous change could leave the queue empty on return from process_responses. Re-invoke process_responses until the queue is non-empty. Signed-off-by: Keith Packard <keithp@keithp.com> commit bedfe68259037c5564fe52758c92b9c97729640a Author: Keith Packard <keithp@keithp.com> Date: Sat Oct 11 21:10:23 2008 -0700 Permit only one Xlib thread to block waiting for events As Xlib queues events internally, we must prevent multiple Xlib threads from entering XCB to wait for an event in case the queued event is to be delivered to the thread which didn't manage to read it. In other words, let only one Xlib thread into xcb_wait_for_event at a time. Jamey Sharp looked over my shoulder while making this fix and, while hating my whitespace conventions, appears happy enough with the actual code. Signed-off-by: Keith Packard <keithp@keithp.com> commit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Mar 23 16:33:50 2008 -0700 Fix XAllocID race: hold the user display lock until we have a new XID. Xlib built --without-xcb is also vulnerable to this race, and a similar fix might work there too. Also, use an XID that's truly invalid while waiting for the next XID to be requested. commit 54e5c0941b0ded1628d559a9f0a3451ea96c299b Author: Josh Triplett <josh@freedesktop.org> Date: Sat Mar 15 17:22:23 2008 -0700 Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending requests between calls to Xlib's LockDisplay and UnlockDisplay macros. Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and had to flush its requests when unlocking the display. XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace much of the existing Xlib/XCB implementation with the use of xcb_take_socket to take ownership of the write side of the X connection socket, and a return_socket callback which writes any outstanding requests with xcb_writev. This approach allows Xlib/XCB to use the same buffering as traditional Xlib did. In particular, programs which use Xlib/XCB and never make XCB calls will never need to hand the socket back to XCB, and vice versa. This allows us to discard large quantities of synchronization code from Xlib/XCB, together with the synchronization bugs present in that code. Several test cases which previously failed now work perfectly, including multi-threaded ico. In addition, the infamous locking correctness assertions, triggered when double-locking or when unlocking without a previous lock, no longer exist, because Xlib/XCB no longer has any reason to care more about application locking than traditional Xlib does. Furthermore, the handoff approach provides great improvements to performance. Results from x11perf's XNoOp test, which represented the worst case for the lock-based Xlib/XCB: Traditional Xlib: average 19100000/sec Lock-based Xlib/XCB: average 3350000/sec Handoff-based Xlib/XCB: average 17400000/sec Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op performance. Of course, real-world workloads do not use no-op, so your mileage may vary. In particular, since no-ops represent the worst case, we expect real workloads to more closely match the performance of traditional Xlib. While removing synchronization code, we changed _XReply to not drop any locks when calling xcb_wait_for_reply; previously, we had to carefully avoid a deadlock between the Display lock and the XCB Xlib lock. Holding the locks reduces implementation complexity and should not impact applications. Commit by Jamey Sharp and Josh Triplett. XCB's handoff mechanism inspired by Keith Packard. commit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 Author: Chris Ball <cjb@laptop.org> Date: Mon Nov 3 22:57:29 2008 -0500 Remove configure check for xcb-xlib. xcb-xlib has been intentionally removed from libxcb; stop checking for it at configure-time. commit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b Author: Josh Triplett <josh@freedesktop.org> Date: Wed Oct 29 14:37:44 2008 -0700 .gitignore: Add dolt files commit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Tue Oct 28 11:56:55 2008 +1030 man: fix formatting error in XkbGetIndicatorState man page. commit b1022fa6d7e97640049e93ffa108083fc8d71b05 Author: James Cloos <cloos@jhcloos.com> Date: Sat Oct 25 09:13:08 2008 -0400 Increase size of working arrays in the makekeys utility program. Makekeys is used to create an optimal hash of the keysyms defined in x11proto’s keysymdef.h. The recent addition of new keysyms there has triggered a bug in makekeys where it tries to use a zero on the rhs of the % (mod) operator (resulting in a divide by zero error) whenever it fails to find a solution within its constraints. Increasing the size of the arrays allows it to find a solution for the current set of keysyms. Makekeys is only run durring the build process, so this has no impact on users of libX11, only on the amount of VM needed to build it. It still needs a more complete fix, but this allows compiles to progress until that is completed. commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 Author: James Cloos <cloos@jhcloos.com> Date: Sat Oct 11 01:03:14 2008 -0400 Dolt-ify Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. commit 39c0b266cac8cbc15bf501d7869186862f01d823 Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Wed Oct 15 14:30:20 2008 +1030 Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> commit d23aad31338e7d869d878d5aa1b6b91d20287005 Author: Peter Hutterer <peter.hutterer@redhat.com> Date: Mon Oct 13 09:41:59 2008 +1030 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. commit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Jul 24 15:44:26 2008 +0930 xkb: fix out-by-1 error in _XkbWriteKeyExplicit. Thanks to Michael Meeks, Novell Bug 369263. https://bugzilla.novell.com/show_bug.cgi?id=369263 commit e7ece39afc8e0adc3b6b1e70b337b98376754462 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Oct 7 15:41:38 2008 -0700 Sun bug #6739431: double free in _X11TransConnectDisplay() Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba After copying original_hostname to phostname, set original_hostname to NULL, so we don't free the same pointer twice when we free both original_hostname and phostname. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> commit 0877bc916afbd1ff8f1833edc930b765ea783576 Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Sep 23 19:02:02 2008 +0300 configure.ac: Fix CC_FOR_BUILD logic error Turns out we were accidentally smashing it so that you couldn't set it externally at all. Oops. commit 58bf3aa746908f01c37be7045699e43a4e270944 Author: John Tapsell <johnflux@gmail.com> Date: Tue Sep 23 17:30:13 2008 +0300 Build: Use native compiler for makekeys makekeys needs to be run during the build process, as opposed to on the target, so build it with either of gcc or cc to fix cross-compiling. This can be overridden by setting $CC_FOR_BUILD. commit 340422a5c7a413faef18666cada27cee14615250 Author: Adam Jackson <ajax@redhat.com> Date: Wed Sep 17 12:54:34 2008 -0400 Fix the previous patch for the BadFont case. commit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 Author: Matthias Clasen <mclasen@redhat.com> Date: Wed Sep 17 10:43:52 2008 -0400 Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. commit db0b85db29699be6bf7e78dede655d59ba926dfc Author: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> Date: Sun Sep 14 19:15:26 2008 -0400 Fix problem with <dead_acute> <c> in pt_BR.UTF-8 The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the ISO 8859 pt_BR Compose file) as the string but specify the keysym and comment for Ć and ć (c with acute accent). This commit normalizes those two lines to match the specified string. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 Signed-off-by: James Cloos <cloos@jhcloos.com> commit b065c011baa69b69e3ea77c30d5e153c0d103e2d Author: Michael Verret <michael.verret@gmail.com> Date: Mon Sep 8 16:33:35 2008 -0400 Fix documentation typo Signed-off-by: James Cloos <cloos@jhcloos.com> commit 4213ea95185377bdd1b51e82933f331fc0f52e5b Author: James Cloos <cloos@jhcloos.com> Date: Sat Sep 6 04:19:19 2008 -0400 Remove extraneous <angle brackets> from the Ethiopic Compose file. The am_ET.UTF-8 Compose file submitted in: https://bugs.freedesktop.org/show_bug.cgi?id=11307 for the OLCP project used incorrect syntax. (It has angle brackets around the Uxxxx symbols on the right hand side rather than only on the left hand side). This bug is noted in OLPC’s ticket: http://dev.laptop.org/ticket/7474 http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch commit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 Author: James Cloos <cloos@jhcloos.com> Date: Mon Sep 1 17:49:33 2008 -0400 Complete the set of vulgar fractions Unicode 1.1 added thirds, fifths, sixths and eights; we might as well catch up. (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) and 0/3 (U2189) in their pipelines, but those four can be added here after they are published.) commit a788792e9de95f8db0639557859722a35087481d Author: James Cloos <cloos@jhcloos.com> Date: Wed Aug 20 15:28:07 2008 -0400 nls (en_US) Re-remove long compositions that override shorter As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: Commit a6f4bbf7 nls (en_US): remove long compositions that override shorter [...] removed some longer compose sequences because there are shorter ones which take preference over the longer. For example the sequences: <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ were removed becase there already was: <Multi_key> <apostrophe> <comma> : U201A # ‚ Then commit 4ba09125 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible added exactly the same key sequences again. Obviusly they won't work. commit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jul 17 21:01:42 2008 -0400 Add more <Multi_key> <cedilla> Compose tuples The last commit missed the el_GR UTF-8 Compose.pre as well as the various ISO 8859 locales which have compose sequences generating ‘WITH CEDILLA’ characters. (Interestingly, some of the 8859 locales already supported <Multi_key> <cedilla> for some CEDILLA characters, but not for Ç or ç.) This is further work on bug 10397. commit 4ba091255bb953d53078ba5619d6751052c739f7 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jul 17 17:16:50 2008 -0400 Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. The eventual goal here is to have a single primary UTF-8 Compose file which the locale-specific UTF-8 Compose.pre files can #include. commit 254522d3c24e0590732fc03cdd61ff4564819d94 Author: James Cloos <cloos@jhcloos.com> Date: Thu Jul 17 17:13:36 2008 -0400 Add <Multi_key> <cedilla> Compose tuples The en_US and pt_BR UTF-8 Compose tables had support for using <comma> with <Multi_key> to enter CEDILLA characters. Bug 10397 requests support for using <cedilla> instead of <comma> in said sequences. This commit makes both styles work. commit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 Author: James Cloos <cloos@jhcloos.com> Date: Sat Jun 28 15:25:23 2008 -0400 Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 The new block was added twice to the en_US.UTF-8 Compose.pre; delete the duplicate. commit 596e081b7457dcd1c4ad555ac140e6999239bc0d Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Sat Jun 28 20:14:05 2008 +0930 Fix unbalanced parenthesis in XKBlib.h # 16551 X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> commit f6af6dd2f76c12b56ec166bb771457b9f08fe246 Author: Adam Jackson <ajax@redhat.com> Date: Tue Jun 24 13:16:53 2008 -0400 Bug #14898: Don't abuse the sprintf() implementation. The thing you're printing into should not itself appear in the list of things to print from, that's bad juju. Just use strcat(). commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 Author: Khaled Hosny <khaledhosny@eglug.org> Date: Thu Jun 19 18:26:11 2008 -0400 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) Add some Arabic digraphs to utf-8 locales with a Compose.pre Signed-off-by: James Cloos <cloos@jhcloos.com> commit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jun 18 20:00:25 2008 -0700 Rework code to choose local connection types and fallback to others Adds --with-local-transport-order configure flag if you don't like the default ordering (which is platform dependent) Includes fixes for these Sun/Solaris bug ids: 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> commit cf49e537014c3cb5aaee07e57400933e0bb72b6b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Jun 17 14:41:17 2008 -0700 Strip whitespace from end of lines in source files commit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 Author: Jeff Smith <whydoubt@yahoo.com> Date: Sun Jun 15 23:52:20 2008 -0500 Fix memory leak in XOpenDisplay Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> commit fca0b0ba3f72b7284601d4690bba99fc80a92614 Author: Jens Herden <jens@khmeros.info> Date: Tue Jun 10 20:07:30 2008 +0300 NLS: Add Khmer compose sequences (bug #5706) Add some Khmer digraphs to all locales with a Compose.pre. commit e54cffb649b1622c17457e470cfab8cc56d38c97 Merge: 19802ccd 721b574d Author: Daniel Stone <daniel@fooishbar.org> Date: Tue Jun 10 20:04:30 2008 +0300 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu May 29 10:57:21 2008 +0930 Bump to 1.1.99.1 commit 631d32d13247d1cf52c0833d438c5b38b01b17a4 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Wed May 28 17:31:59 2008 +0930 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) commit e9195db7257e418f83707233baeeb84b225caf4f Merge: c34f76f4 a7f85567 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu May 22 12:14:28 2008 +0930 Merge branch 'master' into xge commit 19802ccd3909145e3ba2f6c073271cb5f3701685 Author: Daniel Stone <daniel@fooishbar.org> Date: Mon May 19 19:22:31 2008 +0300 gitignore: Update with loads more bits from server commit a7f85567a3e850fba0c44571453d2852ab1a09be Author: Adam Jackson <ajax@redhat.com> Date: Tue May 13 10:28:39 2008 -0400 Bug #15884: Remove useless sleep()'s from the connection code. For network transports, there's enough delay in the network layer already without adding more. For local transports, just hurry up and fail if the server isn't there. commit c34f76f475bc632490122e67b5a82575d69d5569 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Mon May 12 21:46:24 2008 +0930 Pull down extra bytes when reading a GenericEvent (non-xcb). I refuse to take any responsibily for this code. It works, I guess. But - all the flushing is done somewhere before that, so we might need to flush here. Under some circumstances anyway. Don't ask me, I'm an optical illusion. Build with xcb as transport layer highly recommended. commit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 Merge: 17d7dcbf 9129057b Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Mon May 12 17:58:37 2008 +0930 Merge branch 'master' into xge commit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb Author: Teemu Likonen <tlikonen@iki.fi> Date: Wed May 7 21:44:22 2008 +0300 Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused duplicate compose sequences since these have already been defined. Also, using <dead_belowring> is more logical since the diacritic is indeed a "RING BELOW". commit 01a9cb58888d290cc3d319feec4ee4a0297a844c Author: Daniel Stone <daniel@fooishbar.org> Date: Wed May 7 20:04:44 2008 +0300 NLS: Make UTF-8 the default for Russian No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the only other possible answer would be KOI8-R. Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> commit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 Author: Ross Burton <ross@burtonini.com> Date: Tue Apr 29 13:38:10 2008 +0300 NLS: Add interrobang to UTF-8 compose tables (bug #15653) It is what it says on the box. commit 0b6682303e9c61fefc3818acfda616b1e3691abf Author: Theppitak Karoonboonyanan <thep@linux.thai.net> Date: Mon Apr 28 11:51:25 2008 +0300 IM: Respect XMODIFIERS for Thai locale (bug #15719) When looking at Thai input methods, make sure XMODIFIERS is checked before jumping straight into built-in Thai processing, so external XIM servers such as SCIM can be used with Thai. commit c13aded1b2f830ba5004abb0ec5518f9ea16087e Author: Colin Harrison <colin.harrison-at-virgin.net> Date: Sat Apr 26 18:56:05 2008 +0100 Fix missing error condition commit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 Author: Colin Harrison <colin.harrison-at-virgin.net> Date: Mon Apr 21 17:24:33 2008 +0100 Xlib warning fixes commit 6b6caeea830a977bdb54688cfb648d879821e752 Author: James Cloos <cloos@jhcloos.com> Date: Fri Apr 18 02:50:55 2008 -0400 Add some dead_key sequences to en_US.UTF-8 Compose table Make use of the new dead key symbols added to x11proto’s commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which was in responce to bug #15446). commit 8f9b039580deaf658e464b7d6254064fcf183df6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 14 19:09:42 2008 -0700 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version commit 9f5e96eb91ab55dd441c3e94b75caf48c588778f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Apr 14 18:21:14 2008 -0700 Fix mismatched brace indenting commit a19f9c65ee9e5e5d783feaa84998c36439b0288b Author: Bart Massey <bart@cs.pdx.edu> Date: Fri Apr 4 18:58:45 2008 -0700 added error check in Xcms color file parser; closes bug #15305 commit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f Author: Christian Weisgerber <naddy@mips.inka.de> Date: Tue Mar 18 07:30:05 2008 +0100 ConnDis: properly cast 'addr' before accessing it as a byte array. If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 clients over IPv6, the clients are liable to segfaults. commit 64325f38bab082a8e0e9ce779a8e582de5c8588e Author: Josh Triplett <josh@freedesktop.org> Date: Sat Mar 15 12:29:33 2008 -0700 Fix fd.o bug 15023: make Xlib sync correctly given many void requests If given many requests without replies, Xlib may not sync until it flushes the output buffer. Thus, if Xlib can fit enough requests in the buffer to pass by the number of requests it would normally sync after (65536 - BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 demonstrated this by issuing a request with a reply (ListExtensions) at just the right time to get confused with the GetInputFocus reply issued in response to the sync 65,536 requests later; the test case used an async handler to watch the replies, since otherwise it could not issue a request without waiting for the response. When the test case failed, Xlib's sync handler would eat the ListExtensions reply, and the test case's async handler would see the GetInputFocus reply. Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the buffer size to figure out when the sequence numbers could potentially wrap before the next flush. With this commit, the test case consistently passed, and the async reply handler always saw the ListExtensions reply. Commit by Jamey Sharp and Josh Triplett. commit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e Author: Colin Harrison <colin.harrison@virgin.net> Date: Sat Mar 15 13:39:13 2008 -0400 Fix typo Signed-off-by: James Cloos <cloos@jhcloos.com> commit f07585ca27a8487bc66dfe41486c823f0fdcea7d Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Mar 15 17:32:57 2008 +0200 configure.ac: Don't search for legacy X11 headers This can actually break cross-compiles, so don't do it anymore. commit bf69541238c7df6606340c0f389e5c47149b29c7 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Mar 9 09:08:07 2008 +0100 nuke RCS Ids commit 5e98aed13e529638df744e45893c471d5f2014fb Author: Adam Jackson <ajax@redhat.com> Date: Thu Mar 6 16:10:33 2008 -0500 libX11 1.1.4 commit 8e085971dc661da9f80ff6b67747459c0fb15c08 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Feb 28 20:17:41 2008 -0800 Man page typo fixes commit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb Author: Søren Sandmann Pedersen <sandmann@redhat.com> Date: Sun Feb 24 20:03:35 2008 -0500 XIM: Fix a hand when switching input context. Red Hat bug #201284. commit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 Author: Adam Jackson <ajax@redhat.com> Date: Sun Feb 24 20:00:43 2008 -0500 Bug #14029: Don't LockDisplay() recursively. See also Red Hat bugzilla #326461. commit e5892467ae3308c8651be76e06db322dcbc08522 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 15 17:27:53 2008 -0800 Add support for building lint library with --enable-lint-library commit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Feb 11 20:11:43 2008 -0800 Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # commit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 8 16:46:46 2008 -0800 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment commit 416a812200f24d19149dcc497e5c51a0608120f6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 8 15:31:31 2008 -0800 XErrorDB updates for Render 0.9 & XFixes 4.0 commit 16a76091cd632e5a3708e235ff864b58f3e4613e Author: Kim Woelders <kim@woelders.dk> Date: Sat Dec 22 21:45:23 2007 +0100 Fix bs_BA entries in locale.dir.pre X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> commit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea Merge: 8f0bd3f4 e8d4cefa Author: James Cloos <cloos@jhcloos.com> Date: Fri Dec 14 22:43:47 2007 -0500 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 Author: James Cloos <cloos@jhcloos.com> Date: Fri Dec 14 22:42:59 2007 -0500 add a comment to en_US.UTF-8/Compose commit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b Author: James Cloos <cloos@jhcloos.com> Date: Fri Dec 14 22:40:13 2007 -0500 Add <dead_stroke> compose sequences The added sequences match the existing <Multi_key> <slash> sequences. This is related to bug #12765¹. 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 commit e8d4cefa0837afa149a10e981528b368485a9e38 Author: Jeremy Huddleston <jeremy@yuffie.local> Date: Mon Dec 10 23:00:44 2007 -0800 Added launchd support. commit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 Merge: 5dfefd38 13ac8046 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu Dec 6 14:08:29 2007 +1030 Merge branch 'master' into xge commit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 Merge: a68a1cd7 eff33ae5 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Thu Dec 6 13:57:09 2007 +1030 Merge branch 'master' into xge Conflicts: src/xcb_io.c commit 13ac80469f6958cabac596834e203bd9cb6d4c94 Author: James Cloos <cloos@jhcloos.com> Date: Wed Dec 5 20:14:03 2007 -0500 Update the currency symbols block of en_US.UTF-8/Compose.pre Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, AUSTRAL, HRYVNIA and CEDI SIGNs. commit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e Author: Anton Zinoviev <anton@lml.bas.bg> Date: Wed Dec 5 19:56:03 2007 -0500 Additions to the Compose file for UTF-8 From bug #5371¹ Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change from those in attachment #4122². The post³ on xorg resulted in only a positive reply⁴ from Daniel, so this block is now also commited. 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 Signed-off-by: James Cloos <cloos@jhcloos.com> Acked-by: Daniel Stone <daniel@fooishbar.org> commit 438d02ebc08ee171cf1d3936f4c81050d428ab92 Author: James Cloos <cloos@jhcloos.com> Date: Tue Dec 4 17:25:39 2007 -0500 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file Based on src/KeysymStr.c and src/StrKeysym.c and comments in bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; those should be in the form U plus the hex of the UCS Code Point. The 0x01000000 is ORed in by the code. This update fixes all of those. 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 commit 02e04059c89e175f51647e3b031344f743286b34 Merge: 1254c57d b57129ef Author: James Cloos <cloos@jhcloos.com> Date: Tue Dec 4 06:55:04 2007 -0500 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 1254c57dd3a8d6ea87041b2f63024f99094f290f Author: James Cloos <cloos@jhcloos.com> Date: Tue Dec 4 06:53:55 2007 -0500 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 Inspired by bug 11930¹: Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 Compose files. This was done with a pair of perl scripts based on the one quoted in the log for commit c76d30253f1483ac8200ad5c032a818907e65030. 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 commit b57129ef324c73ee91c2a796b800c4b45f4d4855 Author: Jeremy Huddleston <jeremy@yuffie.local> Date: Mon Dec 3 20:04:19 2007 -0800 Use __APPLE__ instead of __DARWIN__ commit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e Author: Jeremy Huddleston <jeremy@yuffie.local> Date: Wed Nov 28 16:43:49 2007 -0800 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c commit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Nov 21 16:50:04 2007 -0800 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> Protect /* sequences from cpp pre-processor removal without transforming to Unicode mathematical asterisk character commit 2af660c2fcd15c86c66459bfc074c190ea1462e6 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Oct 29 10:46:20 2007 -0700 Two threads can request sequence sync and XID fetch simultaneously. So don't assert that they can't. This makes the Xlib/XCB implementation of _XAllocID more closely resemble the traditional Xlib version. commit 6e5485e0a5e3ab738becad12193e760c5fee83a4 Author: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Sun Oct 28 04:44:00 2007 -0800 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man <http://bugs.freedesktop.org/show_bug.cgi?id=12983> commit 24527c92fd1f433ea135e85ec876a94a529fe500 Author: Yann Droneaud <ydroneaud@mandriva.com> Date: Wed Oct 24 19:26:07 2007 +0300 XIM: Properly initialise client event Make sure all ClientMessage fields are initialised to 0 before we send it. commit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Oct 24 19:22:22 2007 +0300 Colours: Fix --disable-xcms Disable large tracts of colour management code when passing --disable-xcms. commit 11ea09745efa8de7dc82fe30ebd2393f08390957 Author: Eric Anholt <eric@anholt.net> Date: Fri Aug 31 17:30:33 2007 -0700 Bug #2081: Note the range limitation of XSetScreenSaver arguments. commit 31540f1438ec63faf37044f2fd654b335ddf80f0 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Aug 29 19:50:57 2007 -0400 Add GLX 1.4 requests and errors. commit 7c996f78914c77fe17e9f4feede980d895d9df51 Author: Eric Anholt <eric@anholt.net> Date: Tue Aug 28 15:15:11 2007 -0700 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. commit fa4effe82759f864a22a2dc6c920fa72ddb175a8 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:48:00 2007 -0800 Bug #9658: Bad markup on XIfEvent.3x X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> commit 74cba78daa738ef4d92096107d95c1a585933666 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:43:00 2007 -0800 Bug #9655: Bad markup in XrmUniqueQuark.3x X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> commit 4341d1a34b2a2e460b58131b6fd81935f3355bbc Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:43:00 2007 -0800 Bug #9654: Bad markup in XrmGetFileDatabase.3x X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> commit 2db713252090cae08f0200fecad4fc25fb64c8b1 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:40:00 2007 -0800 Bug #9653: Bad markup in XQueryColor.3x X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> commit 9d3ceea4b902e0471824c1e07ad64342b9a1114e Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:40:00 2007 -0800 Bug #9652: Bad markup in XDrawArc.3x X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> commit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:39:00 2007 -0800 Bug #9651: Bad markup in XcmsColor.3x X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> commit c316aaf0aab06951db9dc5c9c1148bfea835d885 Author: Eric S. Raymond <esr@thyrsus.com> Date: Sun Jan 14 10:38:00 2007 -0800 Bug #9650: Bad markup in XLoadFont.3x manual page X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> commit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 Author: Eric S. Raymond <esr@thyrsus.com> Date: Tue Jan 2 10:18:00 2007 -0800 Bug 9523: Markup problems in XQueryExtension.3x X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> commit fe713c616e29ba19c179b43c18eca1035079ce18 Author: Ian Romanick <idr@us.ibm.com> Date: Tue Aug 21 14:56:33 2007 -0700 Make sure nls/am_ET.UTF-8/Makefile is created by configure. commit e3430616f26b68e1439143cbe10732f3fc329d20 Author: Eric S. Raymond <esr@thyrsus.com> Date: Tue Jan 2 08:40:00 2007 -0800 Bug #9516: Markup error in XAllocWMHints.3x X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> commit d8fe979fc929833e8c754aed32641786d5a0622b Merge: 21ca9533 4ec1723f Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 20 15:34:50 2007 -0400 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 20 15:34:03 2007 -0400 Fix typo The code <U1000000D> was used where <U10000DC> was obviously intended. It is possible that <Udiaeresis> should be used instead, if that will not break anyone’s setup. commit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf Author: James Cloos <cloos@jhcloos.com> Date: Mon Aug 20 15:25:48 2007 -0400 Add compose file for Ethiopic to match new keyboard in xkeyboard-config From bug report: https://bugs.freedesktop.org/show_bug.cgi?id=11307 commit eff33ae525337ce2026be135a26464c7b1237113 Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:58:23 2007 -0400 Patch for Catalan locales From bugzilla bug 10943¹: There are several Catalan locale codes which presently can be used in X11 systems; especially after they were accepted in belocs-locale-data². In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan locale codes. For instance, without this, using ca_AD (actually a quite used locale⁴) some applications (eg. Emacs or Skype) cannot display Catalan diacritic marks as you type them. 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 3] Toni Hermoso Pulido <toniher@softcatala.org> 4] https://launchpad.net/~ubuntu.cat/+members commit 1f980cb7d022f53d0aee9e793b08203fb888e86e Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:47:04 2007 -0400 Add additional Euro signs to compose Inspired by bug 7419¹ make all of: C=, =C, c=, =c, E=, =E, e=, E= after <Multi_key> generate € U+20AC EURO SIGN. 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 commit 4b0a14521449dfce8b4347bd17243efd1d3eae2d Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:29:08 2007 -0400 Compose fix for Latin-1 (from Debian) The description from bugzilla bug 7417¹ is: We've been shipping this patch for some time in Debian now. The problem description from the patch header is reproduced below. You may want to note the licensing issue mentioned below, but we've been shipping it because the method by which this particular patch was generated and updated was also given below. This patch by Denis Barbier. The X11 protocol states that Unicode keysyms are in the range 0x01000100 - 0x0110FFFF. If the result of composing characters is a Unicode codepoint, X returns the corresponding Unicode keysym, which is its Unicode codepoint augmented by 0x01000000. Latin-1 characters must not appear with their Unicode codepoints in compose files, otherwise the returned composed character lies in the range 0x01000000 - 0x010000FF which is not valid. There are two solutions: either fix composing routines to return 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or replace U00ZZ by their corresponding keysyms in compose files. The latter is more logical and less error prone, so compose files will be patched. Many applications accept these invalid Unicode keysyms, but few of them don't, most notably xemacs. Only UTF-8 locales are affected. This has been fixed very recently in XFree86 CVS (but not xorg), but for licensing reasons, this patch is not grabbed. Instead automatic conversion is performed by: sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ | grep -v deprecated | grep 0x0 \ | sed -e 's/0x0/U0/' -e 's/XK_//' \ | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile for f in nls/*.UTF-8/Compose.pre do sed -f sedfile $f > $f.tmp && mv $f.tmp $f done [I edited the quoted script to update it for the current location of the installed keysymdef.h and the current layout of the libX11 repo. -JimC] I applied the script, not the patch attached to the bugreport. 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 17:13:41 2007 -0400 Add some compose sequences Add some compose sequences from the patch in bug 5371 (attachment 4122). Cf: https://bugs.freedesktop.org/show_bug.cgi?id=5371 https://bugs.freedesktop.org/attachment.cgi?id=4122 commit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 Author: James Cloos <cloos@jhcloos.com> Date: Sat Aug 18 13:57:31 2007 -0400 Fix SMP Compose targets The compose targets from the SMP (plane 1) were incorrect. At some point the 0x10000 bit had been lost. commit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d Author: Jeremy C. Reed <reed@glacier.reedmedia.net> Date: Thu Aug 16 17:37:22 2007 -0500 Fix a mutex reference-counting bug. I was told that some systems have a much more permissive libpthread. I was asked to commit this. This is from NetBSD's X source. (I didn't receive any feedback on xorg list for over two weeks about this.) commit ac00a44b4875de70382da5a40dd87f976e5b9327 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed Aug 1 20:36:03 2007 +0200 Bumped version to 1.1.3. commit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 Author: Joerg Sonnenberger <joerg@netbsd.org> Date: Fri Jul 27 11:15:47 2007 -0700 Fail properly on errors in recursive make. commit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 Author: Brice Goglin <Brice.Goglin@ens-lyon.org> Date: Thu Jul 26 23:31:15 2007 +0200 Add missing override parameter in XrmCombineDatabase prototype in the manpage Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 and https://bugs.freedesktop.org/show_bug.cgi?id=9948 Also add the type of the second argument in XrmMergeDatabases. commit 6f0764d4b56f64786b4980839ca262f10a51af6f Author: Brice Goglin <Brice.Goglin@ens-lyon.org> Date: Thu Jul 26 22:53:52 2007 +0200 Clarify return value of XGetCommand in case of error in the manpage Reported by Sean Perry <shalehperry@attbi.com> in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 and https://bugs.freedesktop.org/show_bug.cgi?id=9828 commit b8bef57342632cc2d25580bb7daa3839bae04d89 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jul 25 17:44:06 2007 -0700 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 commit 590cde811a79375231c59ed8583e02b111ed567c Author: Kean Johnston <kean@armory.com> Date: Thu Jul 19 16:44:20 2007 -0700 Reset hostname when falling back from :0 to hostname/localhost:0 as well commit d334665e619e9db657a2ea2764a8b852401d4a3f Author: Kean Johnston <kean@armory.com> Date: Tue Jul 17 16:34:30 2007 -0700 LOCALCONN fallback changes DisplayString() output, breaks KDE See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> commit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 Author: Olivier Blin <blino@mandriva.org> Date: Mon Jun 11 18:32:09 2007 +1000 fix XGetMotionEvents arguments order - Fixes bug 11222 commit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 10 16:19:59 2007 -0700 Fix locking in _XimGetWindowEventmask. Now that XFilterEvent drops the Display lock before invoking callback functions, _XimGetWindowEventmask is called without the lock held. So when it called _XGetWindowAttributes, a variant of XGetWindowAttributes that does not lock the Display, Xlib/XCB would assert: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? commit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 21:41:47 2007 -0700 Move security fixes to the top of NEWS, and fix spacing. Commit by Josh Triplett and Jamey Sharp. commit a549a258b8fcb1ba9d0c1b01b72967e385f67cab Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 21:29:40 2007 -0700 Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. Commit by Josh Triplett and Jamey Sharp commit 5123b77a3d32d3ad479462f319762c328278aed9 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 21:24:54 2007 -0700 Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. Commit by Josh Triplett and Jamey Sharp. commit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 20:59:12 2007 -0700 Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that _XReadEvents always enqueues at least one event even if an error occurred, because the one call to xcb_wait_for_event would then return an error, not an event, and nothing else ensured that process_responses would obtain an event. Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In process_responses, wait_for_first_event now serves as a flag, cleared when actually handling an event. Commit by Josh Triplett and Jamey Sharp. commit e2c1d788d1fe7bd2d34756493951552441e59b8c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Jun 3 17:33:23 2007 -0700 Xlib/XCB: Only remove pending_requests when there are provably no more responses. commit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab Author: Josh Triplett <josh@freedesktop.org> Date: Sun Jun 3 15:39:39 2007 -0700 Bump version number to 1.1.2, and add NEWS entry for 1.1.2 Signed-off-by: Josh Triplett <josh@freedesktop.org> commit 416f38f2e67ee1979b3d2feac6f06b3670238804 Author: Josh Triplett <josh@freedesktop.org> Date: Sun Jun 3 12:13:44 2007 -0700 Revert "Revert "include: don't distribute XlibConf.h"" This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. Re-revert the XlibConf.h change, which prevented distribution, not installation. commit 79fa3d8070d95b960ba486f2439225872471dadd Author: Josh Triplett <josh@freedesktop.org> Date: Sat Jun 2 22:05:16 2007 -0700 Revert "include: don't distribute XlibConf.h" This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. The installed XlibInt.h includes XlibConf.h , so libX11 should ship XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually prevent automake from shipping XlibConf.h, because it used nodist_x11include_HEADERS rather than nodist_HEADERS.) commit f417570735aac865eb6b576d1ea76b5bfcd8573b Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 17:59:15 2007 -0700 Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. Commit by Josh Triplett and Jamey Sharp. commit c337f9de7cfd89f983f83956b7457a274dd412f3 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 17:46:41 2007 -0700 Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. Commit by Jamey Sharp and Josh Triplett. commit 7f66c897f04806b75e574b55b48921b48045e3f9 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 16:43:39 2007 -0700 Update _XReply's copy of _XCBUnlockDisplay's guts. We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. Also add a comment in _XCBUnlockDisplay to discourage this problem from respawning. Commit by Josh Triplett and Jamey Sharp. commit 740ead23512f8d2eaafaa69e514f1ebafad475b9 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 16:01:01 2007 -0700 Xlib/XCB: Avoid re-crashing after _XIOError. Commit by Josh Triplett and Jamey Sharp. commit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 12:30:30 2007 -0700 Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. An Xlib client can query Display state, such as with NextRequest, while it holds only the Xlib user lock (between XLockDisplay and XUnlockDisplay), so XCB requests in other threads should be blocked when the Xlib user lock is held. We acquire the lock even when XInitThreads was not called, so that pure XCB code can use multiple threads even in an otherwise single-threaded Xlib application. Commit by Josh Triplett and Jamey Sharp. commit 95523387d619af5b400748898d722e080b5ce1a6 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Jun 2 11:57:39 2007 -0700 Allow re-entrant Xlib calls from _XIOError. Some libraries try to clean up X resources from atexit handlers, _fini, or C++ destructors. To make these work, the Display lock should be downgraded to a user lock (as in XLockDisplay) before calling exit(3). This blocks Xlib calls from threads other than the one calling exit(3) while still allowing the exit handlers to call Xlib. This assumes that the thread calling exit will call any atexit handlers. If this does not hold, then an alternate solution would involve registering an atexit handler to take over the lock, which would only assume that the same thread calls all the atexit handlers. Commit by Josh Triplett and Jamey Sharp. commit 91b02b8064f4e0bcc56019f0722914850008a597 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Thu May 17 19:07:34 2007 +0200 More constification. commit a4f3841940158351f9424c3f59b305cce877177d Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Thu May 17 00:29:43 2007 +0200 Constified composite text charset table. commit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 23:19:22 2007 +0200 Have the compiler fill in hexTable so we don't have to do it at runtime. commit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 19:36:23 2007 +0200 More constification. commit 6d2bed8f04942b4de086a519ac693e729c9fdeea Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 19:18:20 2007 +0200 Constify and clean up token table. commit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 18:24:42 2007 +0200 Constified more tables. commit e699c4231c205ef00d687b6412308d031b99806b Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed May 16 18:01:23 2007 +0200 Constified error list. commit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 Author: Peter Hutterer <peter@cs.unisa.edu.au> Date: Tue May 15 16:54:01 2007 +0930 Add XGenericEvent definition and handling for long events. commit c76d30253f1483ac8200ad5c032a818907e65030 Author: Jan Willem Stumpel <jstumpel@planet.nl> Date: Fri May 4 12:00:49 2007 -0700 Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs Cf: https://bugs.freedesktop.org/show_bug.cgi?id=10851 https://bugs.freedesktop.org/show_bug.cgi?id=10824 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 The greek keyboard definition was changed to replace dead_horn and dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 COMBINING REVERSED COMMA ABOVE (aka Dasia). This patch modifies the Greek Compose.pre to match. It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> posted to 386385@bugs.debian.org: #!/usr/bin/perl while (<>) { print $_; if (/dead_horn/) { s/dead_horn/U0313/; print $_; } elsif (/dead_ogonek/) { s/dead_ogonek/U0314/; print $_; } } commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 Author: Magnus Kessler <Magnus.Kessler@gmx.net> Date: Tue May 1 15:20:08 2007 +0200 Switched function definitions from K&R to ANSI style. commit 605d357074d556a05a3fba2e85cbea36a3204248 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Tue May 1 14:47:03 2007 +0200 Tweaked configure output about the man pages suffix. commit 9824b40d2af4ca2376512c1be7743da0d5065900 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 28 00:42:18 2007 -0700 Fix typo in nroff macro in XkbAddGeomOverlayKey.man commit f93849dcc68bd5042ea0884e5190dc7c35b31d68 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 28 00:30:55 2007 -0700 Protect C comments and #defines in XKB man pages from being mangled by cpp commit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 28 00:14:50 2007 -0700 Add Makefile to process/install XKB man pages commit d9954c6f6f3a8c406b946acd0d034ff83c656156 Author: Dennis Arellano <Dennis.Arellano@Sun.COM> Date: Thu Aug 19 00:00:00 1999 -0700 Add man pages for XKB API's Man pages originally written for X11R6.4 integration to Solaris 7 11/99 Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> (Volunteer needed to convert prototypes in man pages to ANSI C style...) commit f640a49b5e2ebf29f9d655df544c63bf826f619a Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Fri Apr 20 18:39:59 2007 +0200 Markup tweak for XOpenIM. commit e972b0bb255af4f3258217852542faf5afa60b28 Author: Julien Cristau <jcristau@debian.org> Date: Fri Apr 20 18:35:09 2007 +0200 Bug #9695: Fixed a few argument types in the XOpenIM manpage. commit b4e2276f329fa42397cb8609cfcd34ebafd3d96b Author: Julien Cristau <jcristau@debian.org> Date: Fri Apr 20 18:28:52 2007 +0200 Bug #9697: Fixed documentation of XVisualInfo struct. The "depth" member was said to be unsigned int, but it's signed. commit 4068f3dae01c630f825002673b1d3a047ad61863 Author: Julien Cristau <jcristau@debian.org> Date: Fri Apr 20 16:41:21 2007 +0200 Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). commit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Sat Apr 7 14:42:55 2007 +0200 Use unistd.h to get getresuid() and friends. This works since we now have _GNU_SOURCE defined. commit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Sat Apr 7 14:27:12 2007 +0200 Bug #10562: Define _GNU_SOURCE on glibc systems. commit a225a0be48770beb689d5ac5da97073634f7deab Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Fri Apr 6 12:46:25 2007 +0200 For nls/*.pre, allow people to comment lines by starting them with '##'. This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. Fixing that file would have been a larger diff, and using ## may be nicer to use anyway. commit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Fri Apr 6 11:59:31 2007 +0200 Bug #10475: Fixed lots of char*/const char* mixups. I didn't fix all of them, as that would require touching public headers. commit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Apr 5 11:53:18 2007 +0200 Fix 64bit issues with reallocation. commit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed Apr 4 18:41:18 2007 +0200 Fixed a few warnings. commit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a Author: Matthieu Herrb <matthieu@roadrock.(none)> Date: Tue Apr 3 15:39:52 2007 +0200 Multiple integer overflows in the XGetPixel() and XInitImage functions CVE-2007-1667 commit 0284b144340a455a4b5b5011d81ac5a610372291 Author: David Baron <dbaron@dbaron.org> Date: Fri Mar 30 17:07:46 2007 +0200 Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. Now only those fields of the respective hint struct are set that are actually valid in the input data. The changed functions are: XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). commit 0994faa0c76c45b106442db461b8a30a3e1c9395 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Thu Mar 29 17:31:25 2007 +0200 Fixed the change from the previous SendEvent commit. Testing a different patch than the one you commit is bad, right? commit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Wed Mar 28 22:23:44 2007 +0200 Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. commit ab0bcd07957cecc8e7c0e75d5160a625e91264fe Author: David Baron <dbaron@dbaron.org> Date: Wed Mar 28 22:21:40 2007 +0200 Bug #7713: Initialize all of the event's fields before sending it. commit bc80f9fe3ccce40ee41246b97470c4f0519756ad Author: Julien Cristau <jcristau@debian.org> Date: Sun Mar 18 13:14:48 2007 +0100 Bug #9279: Fixed a file descriptor leak. commit c9e28e05ae01ce8a29bea09df759b6271865b44c Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Dec 16 00:45:19 2006 +0200 include: don't distribute XlibConf.h Since XlibConf.h is built by configure, don't distribute it. commit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 Merge: 129bbb9f 769b9854 Author: Jeremy C. Reed <reed@glacier.reedmedia.net> Date: Thu Dec 14 14:23:20 2006 -0600 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 commit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de Author: Jeremy C. Reed <reed@glacier.reedmedia.net> Date: Thu Dec 14 14:21:19 2006 -0600 For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. commit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Dec 6 18:53:00 2006 +0200 Makefile.am: make ChangeLog hook safer Make ChangeLog hook as safe as possible. (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) commit 8a8185a649e93b90ffa820387ffdca831227f5a9 Author: Josh Triplett <josh@freedesktop.org> Date: Thu Nov 30 18:33:13 2006 -0800 Add autogen.sh to EXTRA_DIST. commit efe817f95ef8d05e863c83147e903140bc860de4 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Nov 30 17:58:35 2006 -0800 Release libX11 1.1.1. commit f637a5b03164263a3af2e644cf655e52b015f1bb Author: Ross Combs <rocombs@cs.nmsu.edu> Date: Sat Nov 25 14:45:17 2006 -0800 Debian bug #354315: Clarify return value in XGetWindowAttributes man page This man page does not discuss the actual return values of the function, but says they are of type "Status". One might assume that this means you could compare it with the "Success" macro. One would be wrong. The X functions seem to have two three types representing status. If it is an "int" there are a number of error codes or "Success" which can be compared against. If it is a bool, the result can be compared with "True" or "False". If the return type is "Status" it appears that the return type is either 0 or 1. Unfortunately the value for Success is zero, so it is important to distinguish between the first two types of return values and the third; otherwise the conditional will be inverted. XGetWindowAttributes() is one of the functions which returns zero for failure. The man page should make this clear. commit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Nov 25 14:23:45 2006 -0800 Bug #9154: Always process an event for _XReadEvents, even if an error occurs Previously, process_responses (in the wait_for_first_event case called from _XReadEvents) considered any return from xcb_wait_for_event sufficient to think it had processed an event. If xcb_wait_for_event returned an error, and no more events occurred before process_responses called xcb_poll_for_event, process_responses would try to return with dpy->head NULL, and would fail an assertion for the _XReadEvents postcondition. Now, process_responses continues using xcb_wait_for_event until it gets an event. commit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 Author: Tilman Sauerbeck <tilman@code-monkey.de> Date: Sat Nov 25 05:29:31 2006 -0800 Bug #9153: Fix access to freed memory. The fix for bug #8622 introduced a smaller bug where _XReply would read memory shortly after freeing it. This patch caches the needed value in a stack-allocated variable before the heap-allocated memory is freed. commit 934ca763bbc0dd7ae460469bfc000ba101602bcc Author: Josh Triplett <josh@freedesktop.org> Date: Fri Nov 24 19:57:58 2006 -0800 libx11 doesn't use inputproto in public headers; don't require it in x11.pc Based on a Debian patch. commit 4255997ef2d92740d51f6e63e9eabcfa089683f0 Author: Josh Triplett <josh@freedesktop.org> Date: Thu Nov 23 07:19:32 2006 -0800 Release libX11 1.1 commit a1168e11ec9377307c51a7271faec3bf88a63a66 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Nov 21 17:52:34 2006 -0800 Add note in man-page that XListFontsWithInfo is not thread-safe. _XReply drops the Display lock, so the value of dpy->request may change before _XReply is called again. I discovered this by inspection a year or two ago. I'm pretty confident in the claim, and nobody has come up with an argument for why it's safe despite appearances. commit 67abe024268c6b1fdee516e5d3a046ccffd7e80a Author: Jamey Sharp <jamey@minilop.net> Date: Sat Nov 18 15:39:26 2006 -0800 Bug #8622: Fix response processing order for threaded apps Previously, process_responses (the common code for _XReply, _XReadEvents, and _XEventsQueued) took the current request sequence number as an argument, and did some highly complicated processing to attempt to process responses in order across threads. This didn't actually work. Now, process_responses handles responses in order, by adding condition variables to the list of outstanding requests in dpy->xcb->pending_requests, and blocking on them when those requests should get processed to allow _XReply to process them; if actually called from _XReply, it returns when _XReply's request should get processed. _XReply broadcasts on the condition variable after it has read its reply and re-acquired the display lock. Another great commit brought to you by Jamey Sharp, Josh Triplett, the Gobby collaborative text editor, conspy, and ridiculous amounts of SSH forwarding. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Jamey Sharp <jamey@minilop.net> commit 941f02ede63baa46f93ed8abccebe76fb29c0789 Author: Lars Knoll <lars@trolltech.com> Date: Wed Nov 8 12:17:41 2006 -0800 Don't hold the display lock around callbacks to the application. This fixes an XCB locking assertion failure, particularly with emacs. commit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 Author: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> Date: Tue Nov 7 09:32:00 2006 -0800 Add xcb-xlib dependency to x11.pc when built against XCB. commit 2302008a3793eb4df8ede777d54fe06505c47eaf Author: Eric Anholt <eric@anholt.net> Date: Mon Nov 6 17:11:42 2006 -0800 XCB: Allocate the right amount of memory for dpy->lock_fns. Fixes a crash I was experiencing on startup of anything using gdk. commit 5f860655be88108b03ccd97470a0814819254bf0 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Nov 2 17:55:31 2006 -0800 Release libX11 1.1 RC2 (1.0.99.2). commit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun Oct 29 03:10:30 2006 +0300 nls (en_US): remove long compositions that override shorter (bug #2286) Remove long compositions that override (or get overriden by) later shorter compositions, e.g. a four-key compose sequence that gets overriden by a later three-key compose sequence. commit 0280bf11ef88673a9b5bba3a91a599260f1f0949 Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun Oct 29 03:08:36 2006 +0300 nls: remove shadowed compose entries (bug #2286) Remove compose entries shadowed by others later on. commit d118f2b1ef10997194b281524177dea7396da7dd Author: Benno Schulenberg <bensberg@justemail.net> Date: Sun Oct 29 03:07:15 2006 +0300 nls: remove duplicate compose entries (bug #2286) Remove a bunch of duplicate entries from various Compose files. commit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb Author: Caolan McNamara <caolanm@redhat.com> Date: Sun Oct 29 02:46:15 2006 +0300 XKB geometry: fix leaks in GetKeyboardByName (bug #8099) Don't leak the name and value of every property we parse, as well as the name of every colour. commit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 Author: Matthias Hopf <mhopf@suse.de> Date: Wed Oct 18 14:25:04 2006 +0200 Fix double open of compose file. Issue found by Kees Cook <kees@canonical.com>. commit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 14 21:25:10 2006 -0700 XCB: check for and handle I/O errors in _XGetXCBBuffer. commit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 11 00:06:50 2006 -0700 XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. commit 1eedf1bd033e496843cfde42ae4ae5a119298605 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Oct 10 23:03:28 2006 -0700 Add correct Display locking to XKB functions. Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. This patch fixes at least some instances of that problem. Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs and proposing a fix, which this patch is based on. commit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd Author: David Nusinow <dnusinow@debian.org> Date: Tue Oct 10 22:11:05 2006 -0400 Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 commit e53557da969b706dbc843f6fde3db31ffe382e0f Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 7 21:00:36 2006 -0700 Release libX11 1.1 RC1 (1.0.99.1). commit bf237409c5fce32c557d298f62f44d456c2b5bc8 Merge: ba477191 2d426d1f Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 7 21:07:16 2006 -0700 As XCB support is about to be released in libX11, stable is now subsumed by master. commit ba477191c67ce93e61423cc1abe35275704cce50 Author: Jamey Sharp <jamey@minilop.net> Date: Sat Oct 7 03:48:13 2006 -0700 XCB: Don't rely on having the definition of struct xcb_setup_t available. commit 117b55cbd0b0ce51362df88363ed83d44a493ac7 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Oct 6 16:27:31 2006 -0700 xcb_poll_for_event no longer takes an 'int *error' out-parameter. commit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 16:26:11 2006 -0700 Actually ship Xxcbint.h commit 7b027e53b5e393082f4f515c8ba18077eb97163f Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 16:25:50 2006 -0700 Clean ChangeLog only in "make maintainer-clean", not "make clean" ChangeLog requires a git repo to generate; make clean and make distclean shouldn't get rid of it. commit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 16:24:58 2006 -0700 Add ChangeLog and "make dist"-generated files to .gitignore commit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 15:53:27 2006 -0700 Add manual pages for XGetXCBConnection and XSetEventQueueOwner commit 688224cea95e453f94c5a602dc6fce84bc93dfc0 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 13:41:16 2006 -0700 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c commit ab728ca372288d0db1b486c265e34c1376f29104 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 12:36:39 2006 -0700 XCL is dead; long live Xlib/XCB Rename all instances of "XCL" to Xlib/XCB-derived names. The only user-visible change: rename the include file <X11/xcl.h> to <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. Remove the XCL cast inlines from Xlib-xcb.h. commit 5b73093203039d307eb7ab3845c3ced207e9e26c Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 11:33:49 2006 -0700 Add XCB developers to AUTHORS commit 1cb71ff139276a0a58c60ea5f261f64b94706b9b Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 11:21:28 2006 -0700 Fix email addresses in README commit 12f038669278019594ca0ed53dadcf4e84092422 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Oct 6 02:13:05 2006 -0700 XCB: Handle all responses in order of monotonically increasing sequence number. commit f392680273278b43079302206897f794e60f3c70 Author: Josh Triplett <josh@freedesktop.org> Date: Fri Oct 6 01:11:08 2006 -0700 Actually install x11-xcb.pc, and ship x11-xcb.pc.in commit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Oct 5 18:32:29 2006 -0700 XCB: correctly handle failure to connect to X server. commit e754b3b078d556c7861da56aad47d244e9199e06 Author: Josh Triplett <josh@freedesktop.org> Date: Thu Oct 5 17:44:22 2006 -0700 Split public Xlib/XCB functions into libX11-xcb We can never change the libX11 soname, and we don't want to commit to never changing the public Xlib/XCB functions, so split them into a separate library libX11-xcb. This also means that a program linked solely against libX11 should work with either Xlib or Xlib/XCB, which will make life easier for package maintainers. Signed-off-by: Josh Triplett <josh@freedesktop.org> Acked-by: Jamey Sharp <jamey@minilop.net> commit ffd367f708b295abaedf3a23a1bfd4710d171d6f Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 4 17:16:46 2006 -0700 No longer #include Xmd from xcl.h: we do not need it. commit 3aff149d42ba8ed620091971b3766bdf96c62aaf Author: Jamey Sharp <jamey@minilop.net> Date: Wed Oct 4 16:58:32 2006 -0700 XCB: Revert locking to simple wrapper around libX11's normal locks. No more recursive mutexes, no more banging XCB's I/O lock in-place, and reduces the differences between the previous stable release and an XCB-enabled one. Sadly, Xlib's pluggable thread functions work again too, now. I apologize to the world. commit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Sep 25 04:54:52 2006 -0700 Link explicitly against XCB's Xlib compatibility functions. commit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Sep 25 04:13:20 2006 -0700 libxcb now installs header files in <xcb>, not <X11/XCB>. commit 87d00207f5a1f25a45a153618739cd6481814f89 Author: Ian Osgood <iano@quirkster.com> Date: Sun Sep 24 23:39:01 2006 -0700 Track XCB's "Great Renaming". commit 85a5e98dff9b7752fae157fad9b8c9825cb0efab Author: Jamey Sharp <jamey@minilop.net> Date: Tue Sep 12 23:02:42 2006 -0700 Quit using XCBGetQueuedRequestRead. commit a61936fc4e9bd93b108764bbacd5b8f786e51915 Author: Tollef Fog Heen <tfheen@err.no> Date: Wed Aug 30 00:05:54 2006 +0300 nls: use _XlcUtf8Loader for en_US (bug #7982) Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with every other locale. commit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Aug 23 18:49:30 2006 -0700 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to connect on a named pipe, try a Unix socket first, to better support people who replace their X servers with ones that don't support named pipe transport. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> commit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 Author: Mark Brown <mark.brown@sun.com> Date: Thu Jul 27 19:17:10 2006 -0700 Sun bug 1149809: Document event delivery when grab is terminated. commit 171107b03ac89d94f9006c7cda242aeefb9ecd16 Author: Dennis Arellano <Dennis.Arellano@Sun.COM> Date: Thu Jul 27 18:47:06 2006 -0700 Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description Document that 32-bit format properties are always returned in arrays of type long, even on systems where long is 64-bits. <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> commit 8309efe6550877cd0bf22979904b3f6bd3e6cffa Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 15:52:00 2006 -0700 Add support for "make lint" to check code with lint/sparse/etc. commit 931e02fbd1acd09aae2b0954c34342c86c72dff6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 15:50:52 2006 -0700 ANSIfy some static function definitions commit 20b7abcaac324d90454de63f32f4a2b398e69e63 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 15:01:40 2006 -0700 Fix sparse warning: Using plain integer as NULL pointer commit d158ab29930513c4097f5b67e7bea08ed2bfd62c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jul 24 14:00:24 2006 -0700 Remove unused variable commit 30377000375bdb958042dcb1f38503c94ef21eaf Author: Eric Anholt <anholt@FreeBSD.org> Date: Fri Jul 21 18:55:36 2006 -0400 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). commit 4eba45879aea4e415ab550ee56b900d060099110 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Jul 16 10:55:39 2006 +0200 set GIT_DIR=${srcdir}/.git for git-log commit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 Author: Aaron Plattner <aplattner@nvidia.com> Date: Tue Jul 11 13:27:49 2006 -0700 Add a .PHONY to ensure the ChangeLog isn't stale. Setting the ChangeLog rule as phony forces it to be re-run even when the ChangeLog file already exists. Research indicates .PHONY is portable to BSD and Solaris make. (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) commit b8a98809ed81e1226775e6447ef219ffc01334b5 Author: Aaron Plattner <aplattner@nvidia.com> Date: Tue Jul 11 13:27:49 2006 -0700 Add a .PHONY to ensure the ChangeLog isn't stale. Setting the ChangeLog rule as phony forces it to be re-run even when the ChangeLog file already exists. Research indicates .PHONY is portable to BSD and Solaris make. commit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 Author: Mayank Jain <majain@redhat.com> Date: Tue Jul 11 19:42:47 2006 +0100 add Indian language locales Add as, kn, ml, or, ur, and te locales. commit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 Author: Matthias Hopf <mhopf@suse.de> Date: Tue Jul 4 12:16:30 2006 +0200 Fix for autoconf 2.60 issue. Updated AC_DEFINE_DIR. Reverted datarootdir change. commit 644f4828b15bce42b597eb123ba0bbc372c46c03 Author: Keith Packard <keithp@neko.keithp.com> Date: Sat Jul 1 21:31:23 2006 -0700 Work around recent autoconf (2.59?) changes in directory expansion. Recent autoconf versions have changed how directory names are managed in the configure.ac script; automatic 'eval' invocations now occur as a part of the AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed before the variables are used in further macro definitions. Also, ${datadir} is apparantly an old name for ${datarootdir} as ${datadir} doesn't get expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it is easy to work around by just using ${datarootdir} instead of ${datadir}. commit be70a31229aa106aff0a09d78c00812682cd3475 Author: Keith Packard <keithp@neko.keithp.com> Date: Sat Jul 1 01:56:05 2006 -0700 Xlib/XCB: handle 32-bit sequence wrap. Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from XCB). Account for XCB sequence 0 handling. commit 99c711707ad08e1396e123b1c7df687c560a489a Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 29 19:43:20 2006 -0700 Bump version to 1.0.3. commit cde3c0dd72af2b490e80cffca962e3487dd31be4 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 29 19:39:36 2006 -0700 Bug #7349: Missed one of the setuid fixes. (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) commit df3fef8983d96c59d481c4cdaf1f271d54a116d2 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 18:59:57 2006 +0200 Update to final Compose cache directory location. (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) commit 912ef198292d3053daa810f842510e5d62ded0f0 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 17:41:41 2006 +0200 Fix alignment of trees and wide chars in the cache. (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) commit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 Author: Matthias Hopf <mhopf@suse.de> Date: Wed Jun 28 19:17:03 2006 +0200 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) commit e9614c963b532f46a7932c2305a4b177a996a222 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 29 19:39:36 2006 -0700 Bug #7349: Missed one of the setuid fixes. commit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 18:59:57 2006 +0200 Update to final Compose cache directory location. commit 40a64c61f8bc33d497e1224e02c41dea2d424d97 Author: Matthias Hopf <mhopf@suse.de> Date: Thu Jun 29 17:41:41 2006 +0200 Fix alignment of trees and wide chars in the cache. commit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 Author: Matthias Hopf <mhopf@suse.de> Date: Wed Jun 28 19:17:03 2006 +0200 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. commit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Thu Jun 22 23:59:03 2006 -0700 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a ChangeLog. (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) commit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 Author: Donnie Berkholz <donnie@comet.(none)> Date: Thu Jun 22 23:47:38 2006 -0700 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a ChangeLog. commit dd54981aa76e9dfdc4c3302d6105b4b229447c84 Author: Donnie Berkholz <donnie@comet.(none)> Date: Thu Jun 22 15:47:38 2006 -0700 Bump version to 1.0.2. commit c93539d974a67f596a5eb5b65042d26602546c72 Author: Matthieu Herrb <matthieu@deville.herrb.com> Date: Tue Jun 20 21:04:03 2006 +0200 Check setuid() return value. (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) commit 605533f814ab7892991578706a6458f61a89ca4d Author: Derek Wang <derek.wang@sun.com> Date: Mon Jun 19 11:05:37 2006 -0700 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) commit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 Author: Scott Revelt <scott.revelt@sun.com> Date: Fri Jun 16 19:11:13 2006 -0700 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators based on locale that doesn't match those used in the Xcms.txt (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) commit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 Author: Alan Coopersmith <alanc@alf.(none)> Date: Fri Jun 16 18:53:33 2006 -0700 Add *~ to ignore emacs droppings (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) commit 214658b76b56768f69c3959a11525aae7813f448 Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 16 15:36:40 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) commit 13968a23aaea838ba4b69e42e8900f803499e091 Author: Matthias Hopf <mhopf@suse.de> Date: Tue Jun 13 20:23:46 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) commit e7f8bca08f5476d0ca262097639ac7d424bb4d10 Author: Lubos Lunak <llunak@suse.de> Date: Mon Jun 12 18:48:08 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) commit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 9 18:24:02 2006 +0200 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. (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) commit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c Author: Jamey Sharp <jamey@minilop.net> Date: Wed Jun 7 20:29:05 2006 -0700 Fix bug #7035: unnecessary memmove in XOpenDisplay. Using memmove on the connection setup data causes a problem for XCB, but making Xlib stop doing that should be harmless for non-XCB as well. (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) commit cd7328c46ae72903ed02832828891b2dab4d5ee0 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 13:51:51 2006 +0300 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) commit c336eb6b80a6f91da1d0b3d28634a2cfde324670 Merge: 33556ca8 ad9ebbd2 Author: Donnie Berkholz <donnie@comet.(none)> Date: Thu Jun 22 14:25:35 2006 -0700 Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable commit 213dacad21740466e7ab31b01d3fc513fe4b3e74 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu Jun 22 17:20:59 2006 +0300 Bump to 1.0.99.0 to avoid confusion. commit efedfd68e31bcee2d21ac340be8dc9e1825ec890 Merge: e3acee88 4b8eb5d4 Author: Daniel Stone <daniel@fooishbar.org> Date: Thu Jun 22 16:53:45 2006 +0300 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 commit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 Merge: 5169d0e0 eff50c94 Author: Matthieu Herrb <matthieu@deville.herrb.com> Date: Tue Jun 20 21:05:15 2006 +0200 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 commit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f Author: Matthieu Herrb <matthieu@deville.herrb.com> Date: Tue Jun 20 21:04:03 2006 +0200 Check setuid() return value. commit eff50c94a07194297e705da53d9fbb3a40fb9ad4 Author: Derek Wang <derek.wang@sun.com> Date: Mon Jun 19 11:05:37 2006 -0700 Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded commit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa Author: Scott Revelt <scott.revelt@sun.com> Date: Fri Jun 16 19:11:13 2006 -0700 Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators based on locale that doesn't match those used in the Xcms.txt commit c33d7b8282ac196b36229be26442296768c16f3e Author: Alan Coopersmith <alanc@alf.(none)> Date: Fri Jun 16 18:53:33 2006 -0700 Add *~ to ignore emacs droppings commit 1f4c9893ade08bad30c9bd12a36bee57d30b001e Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 16 15:36:40 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. commit 4fe22647e6010a2886c2f3a7093adeaeb6678faa Author: Matthias Hopf <mhopf@suse.de> Date: Tue Jun 13 20:23:46 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. commit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be Author: Lubos Lunak <llunak@suse.de> Date: Mon Jun 12 18:48:08 2006 +0200 Bug #3104: Compose table cache for faster X11 application starts. commit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 Author: Matthias Hopf <mhopf@suse.de> Date: Fri Jun 9 18:24:02 2006 +0200 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. commit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 Author: Jamey Sharp <jamey@minilop.net> Date: Wed Jun 7 20:29:05 2006 -0700 Fix bug #7035: unnecessary memmove in XOpenDisplay. Using memmove on the connection setup data causes a problem for XCB, but making Xlib stop doing that should be harmless for non-XCB as well. commit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 12:57:55 2006 +0300 Bug #2186: Add cs_CZ.iso8859-2 alias. commit 9e7765e0b1cbaae6643072d91066ba1201b36227 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:46:29 2006 +0300 nls: Serbian (sr_CS) update (#5575) Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a corresponding locale change. Update compose.dir.pre, locale.alias.pre, and locale.dir.pre. (Milos Komarcevic) commit a4ac2242b588da23044a20aa999ae84d4de7b2d8 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:24:25 2006 +0300 im: add Braille input method (#6296) Bug #6296: Add a Braille input method. (Samuel Thibault) commit 90de1e2e141ec591048a76cb695579ef809a28d3 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:22:17 2006 +0300 xkb support: small typo commit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:50:24 2006 +0300 en_US.UTF-8 Compose.pre: updates from Simos (#5129) Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, adding Unicode character names, removing duplicate entries, et al. commit 0c6473dd329c7334ae511884bcb6e73e632c784f Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:44:53 2006 +0300 nls: fix use of non-keysym dead_space (#5107) Bug #5107: Change users of dead_space to space. commit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:41:18 2006 +0300 optional XKB support fix Fix compilation with --disable-xkb. commit 217d43ed44ced901122093af3ef1294e1736bb77 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:39:12 2006 +0300 i18n: separate data and lib directories Break out locale data into separate data and library directories, under $(datadir) and $(libdir), respectively, by default. commit 92fa7fcde8df22830fca7c0275ab201033f7909c Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Thu May 11 14:04:48 2006 -0400 libXcursor.so.1, not libXcursor.so commit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 18:06:03 2006 +0300 XKBMisc.c: use Xfree, not xfree Use Xfree() instead of xfree() when freeing interps. commit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 14:51:37 2006 +0300 locale.alias.pre: bg_BG typo fix Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. commit cc533db60cb64dc163c66451933a9bf77c519062 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:22:03 2006 +0300 Coverity #203, #204: Fix potential NULL dereferences. commit b83adf7dfd6157694fe4f232012fef36cd9666da Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:20:25 2006 +0300 Coverity #205: Fix potential NULL dereference. commit 2d0cd10ad907864d0136739eaac459779c9a5332 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:18:20 2006 +0300 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) commit dc2f3966068d66a564aa452cab9f0c26657fa1df Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 18:11:52 2006 +0300 Coverity #826: Fix potential memory leak. commit 23df609ec451a01c77e8f31ecc85c5af7c62efed Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 17:49:41 2006 +0300 Bug #1625: Include keysym.h from Xutil.h. commit 5262a1945c543a3419ed626e1deb09ef5b4584c1 Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 17:12:15 2006 -0700 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection of Coverity #599, #600. commit 8b42635f577468bb143ca593cdd9fb3450ad712c Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:42:26 2006 -0700 Coverity #558: Free newly-allocated Database in error path. commit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:38:52 2006 -0700 Coverity #582: Free newly-allocated region in error path. commit 5fd8f79ad3e38df74d9a6cb573617542c101df1a Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Mar 17 15:58:39 2006 +0200 Properly clip bounds when only one point is defining an outline. commit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 Author: Matthieu Herrb <matthieu@bluenote.herrb.com> Date: Sat Mar 11 15:39:15 2006 +0100 Fix prototype of XConfigureWindow(). Bugzilla #6023. commit 1da8bd904f1fc79d63d368473531b438d08bfe37 Author: Jeremy C. Reed <reed@reedmedia.net> Date: Tue Feb 21 14:10:22 2006 -0800 Set XTHREADLIB correctly for dragonfly platforms. commit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:29:27 2006 -0800 Update .gitignores for *.o and nls/locale.dir*. commit efcbde6ba0b770bb0d4c7818e307712161011f10 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:28:41 2006 -0800 Move .cvsignore to .gitignore. commit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 13:51:51 2006 +0300 Fix threading support on GNU/kFreeBSD systems. (Robert Millan) commit f1bd3152359ddfadd0d043006036c239f3e2907b Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Sat Jun 3 12:57:55 2006 +0300 Bug #2186: Add cs_CZ.iso8859-2 alias. commit 2b1b79d90db1d7f0472718b8c010c36275994195 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:46:29 2006 +0300 nls: Serbian (sr_CS) update (#5575) Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a corresponding locale change. Update compose.dir.pre, locale.alias.pre, and locale.dir.pre. (Milos Komarcevic) commit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:24:25 2006 +0300 im: add Braille input method (#6296) Bug #6296: Add a Braille input method. (Samuel Thibault) commit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 02:22:17 2006 +0300 xkb support: small typo commit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:50:24 2006 +0300 en_US.UTF-8 Compose.pre: updates from Simos (#5129) Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, adding Unicode character names, removing duplicate entries, et al. commit 332d45fce9fdbf59168d90a133af1f580a589e54 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:44:53 2006 +0300 nls: fix use of non-keysym dead_space (#5107) Bug #5107: Change users of dead_space to space. commit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:41:18 2006 +0300 optional XKB support fix Fix compilation with --disable-xkb. commit c5940a0b85edec4003f91a59fc3c44f538accfe1 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 2 01:39:12 2006 +0300 i18n: separate data and lib directories Break out locale data into separate data and library directories, under $(datadir) and $(libdir), respectively, by default. commit 33556ca81db2419b9d2a37664c4cea2069414b37 Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Fri May 12 14:49:17 2006 -0400 Bump to 1.0.1 commit 80d88557626fae9debc404de33d7fb5d69a6049d Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Thu May 11 14:06:28 2006 -0400 libXcursor.so.1, not libXcursor.so commit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 Author: Adam Jackson <ajax@benzedrine.nwnk.net> Date: Thu May 11 14:04:48 2006 -0400 libXcursor.so.1, not libXcursor.so commit 01f4d433eed6b70c6e9636157acac022054fdeb6 Author: Jamey Sharp <jamey@minilop.net> Date: Wed May 10 17:02:52 2006 -0700 Count any partial request towards the current Xlib sequence number. commit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 18:06:03 2006 +0300 XKBMisc.c: use Xfree, not xfree Use Xfree() instead of xfree() when freeing interps. commit 22a5255b80b80772612279bc840a953edd0e3442 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 14:51:37 2006 +0300 locale.alias.pre: bg_BG typo fix Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. commit 9cac8c9824874ca7d835f001a4efa910b7fdd822 Merge: 19b8840a e514bc87 Author: Daniel Stone <daniels@preemptive.fooishbar.org> Date: Wed May 10 14:50:37 2006 +0300 Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 commit e514bc875f27f4bf197b06b8315eeca526195915 Author: Jamey Sharp <jamey@minilop.net> Date: Tue May 9 12:41:59 2006 -0700 Assert that dpy->request does not go backwards. Catches #5839 earlier. commit fc1159137365a599bf611ee001f439416952c4e0 Author: Jamey Sharp <jamey@minilop.net> Date: Sun May 7 17:40:01 2006 -0700 In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. commit c394480a4247213239822808e3f6e7c6cd6decd9 Author: Jamey Sharp <jamey@minilop.net> Date: Sun May 7 16:58:13 2006 -0700 Update for XCB ConnSetupSuccessRep name change. commit 7672bf93bc1200905461aeb0a2dc2c2696410b93 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:22:03 2006 +0300 Coverity #203, #204: Fix potential NULL dereferences. commit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:20:25 2006 +0300 Coverity #205: Fix potential NULL dereference. commit b6771501feea98d037032f82117b6d4f15779f07 Author: Daniel Stone <daniels@endtroducing.localdomain> Date: Sun Apr 9 22:18:20 2006 +0300 Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) commit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 18:11:52 2006 +0300 Coverity #826: Fix potential memory leak. commit 3a16f262abe48b44ed641525e894bc22e13bf72a Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Apr 7 17:49:41 2006 +0300 Bug #1625: Include keysym.h from Xutil.h. commit 2481b767ae96e2f2503c0390545932c8397b090f Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 17:12:15 2006 -0700 Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection of Coverity #599, #600. commit 152b17e47d878c2d928eb74581aa69d925a29123 Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:42:26 2006 -0700 Coverity #558: Free newly-allocated Database in error path. commit bc62b99ef36edb34035911c42104be7f6f9d2333 Author: Eric Anholt <anholt@leguin.anholt.net> Date: Wed Apr 5 16:38:52 2006 -0700 Coverity #582: Free newly-allocated region in error path. commit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 31 22:53:07 2006 -0800 Fix buggy interaction with XCB when running out of XIDs. commit e3f452571824d6a875bbf582946de185de9e01e9 Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 31 22:52:14 2006 -0800 Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. commit 2363b74ca795c1b3a73c9e572532ba5191adec5b Author: Daniel Stone <daniels@preemptive.research.nokia.com> Date: Fri Mar 17 15:58:39 2006 +0200 Properly clip bounds when only one point is defining an outline. commit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 Merge: be266b20 f71ea0bc Author: Matthieu Herrb <matthieu@bluenote.herrb.com> Date: Sat Mar 11 15:40:35 2006 +0100 Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 commit be266b201dc13530a302a7572283ccd3f32aad87 Author: Matthieu Herrb <matthieu@bluenote.herrb.com> Date: Sat Mar 11 15:39:15 2006 +0100 Fix prototype of XConfigureWindow(). Bugzilla #6023. commit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 3 11:08:41 2006 -0800 Update for XCBSendRequest sequence number API changes. commit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b Author: Jamey Sharp <jamey@minilop.net> Date: Fri Mar 3 01:42:49 2006 -0800 Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. commit d8ba4ae7045b227f8b675628b9094dded02f1c08 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 23:43:26 2006 -0800 Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. commit f9afb5a54435c30961306080e9358d4240ecb844 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 23:34:19 2006 -0800 assert() that we will not infinite loop or read uninitialized memory. commit d3512ef3aae5b036a8ce6579318108f1ec20ee22 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 15:58:52 2006 -0800 Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. commit fb590c15a740264ee867d15a2547072e43b21eed Author: Jamey Sharp <jamey@minilop.net> Date: Thu Mar 2 12:06:04 2006 -0800 Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. commit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 Author: Jamey Sharp <jamey@minilop.net> Date: Mon Feb 27 11:51:47 2006 -0800 Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. commit 07bdf1fbbf2418f866df1a2140d514dd3f035139 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 26 15:46:01 2006 -0800 Update for new XCBSendRequest API. commit 409a08cff8347d39e0e6c53c9f380d21f221f5ac Author: Jamey Sharp <jamey@minilop.net> Date: Thu Feb 23 18:12:31 2006 -0800 Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. commit ec30a27341b97620b07dd886f98d1d7664a67685 Author: Jamey Sharp <jamey@minilop.net> Date: Thu Feb 23 18:01:46 2006 -0800 Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. commit 53c471c6a835d5cedeca99f2c97058d196a3fd7e Author: Jamey Sharp <jamey@minilop.net> Date: Thu Feb 23 11:46:09 2006 -0800 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. commit 41c0121a8718b530feaf7fe315b673d9b8defce2 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 21:25:41 2006 -0800 Refactor the code that passes requests down to XCB into a separate issue_complete_request function. commit 67d06e0fe468dca22847aa14d3f917128f89f9cf Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 15:33:05 2006 -0800 If we have not actually put the buffer back, deferred invariants may not hold. This is OK. commit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 Author: Jeremy C. Reed <reed@reedmedia.net> Date: Tue Feb 21 14:10:22 2006 -0800 Set XTHREADLIB correctly for dragonfly platforms. commit b24834762e975bd319f9ab5c7cf790b2a02a9474 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 14:03:26 2006 -0800 Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. commit 99b8defd0d5e6993071e21638128c9de2574b37d Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 13:04:21 2006 -0800 Execute BeforeFlush hooks on complete buffers, not request-at-a-time. Traditional Xlib worked this way; I dunno why I changed it. commit 9b01e7849775749182052fe324df9d8e6ceeee99 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 12:51:44 2006 -0800 Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. commit 7ce7ac882de128955751a5307889db9d712d8a72 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 12:44:30 2006 -0800 Quit using a triple-pointer. Almost as if I were a sensible person. commit 35a858be218cdbfa4593d44a67663d5c25297016 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 21 12:21:01 2006 -0800 Remove the XCL_PAD macro. commit e741b70ed2542c5463c57dac44bc37328616733b Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:29:27 2006 -0800 Update .gitignores for *.o and nls/locale.dir*. commit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 12:28:41 2006 -0800 Move .cvsignore to .gitignore. commit c7cda56eebaf6ab11403363be14d4948d7d8be38 Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 11:49:15 2006 -0800 Land XCB support on X.org HEAD. commit 881467b3032261791ef5ec61b3879bb68d0a3d8c Author: Jamey Sharp <jamey@minilop.net> Date: Sun Feb 19 02:14:11 2006 +0000 Merge the X11 and BIGREQS package sets: they were used in exactly the same places. commit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 Author: Jamey Sharp <jamey@minilop.net> Date: Tue Feb 14 19:37:36 2006 +0000 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. commit 010c3acbb3a6993d39274f42d88c00849acb0fb0 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Feb 12 18:19:17 2006 +0000 Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. commit fe8c01c80263457f01b70dc1511b2bd9466b7c96 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Feb 3 23:34:43 2006 +0000 Fix typo in .TH line commit b091c217f3c3f60dde78b09a95c150df6c83d7ba Author: Kevin E Martin <kem@kem.org> Date: Thu Dec 15 00:24:28 2005 +0000 Update package version number for final X11R7 release candidate. commit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a Author: Kevin E Martin <kem@kem.org> Date: Tue Dec 6 22:48:41 2005 +0000 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. commit b5c495854d5270e64e6d588388ffa906bfcaac22 Author: Kevin E Martin <kem@kem.org> Date: Sat Dec 3 05:49:42 2005 +0000 Update package version number for X11R7 RC3 release. commit 9e96dbc343c7f27ff47607acd75378ab23903e2a Author: Kevin E Martin <kem@kem.org> Date: Sat Dec 3 04:41:47 2005 +0000 Add check and cflags for malloc(0) returning NULL. commit 649c37b47909620ccafde3e983de8321cddd74ce Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Nov 28 22:03:04 2005 +0000 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) commit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Nov 23 22:33:06 2005 +0000 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 commit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 Author: Eric Anholt <anholt@freebsd.org> Date: Sun Nov 20 23:17:39 2005 +0000 Add/improve libs .cvsignores. commit fa1f4a08112bfa14d3758f4702733dd3892966c3 Author: Kevin E Martin <kem@kem.org> Date: Sat Nov 19 07:15:39 2005 +0000 Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. commit 7012f9b56c594cf40855ba0dbf93af1263417a8c Author: Kevin E Martin <kem@kem.org> Date: Mon Nov 14 21:51:07 2005 +0000 Fix xf86bigfont pkgconfig dep typo. commit 60a72f47951f46b4e0505d9903a94af3b6bed8ca Author: Kevin E Martin <kem@kem.org> Date: Wed Nov 9 21:19:12 2005 +0000 Update package version number for X11R7 RC2 release. commit 6bb0c3796b6e1beddc376a896e865704886e1462 Author: Kean Johnson <kean@armory.com> Date: Tue Nov 8 06:33:25 2005 +0000 See ChangeLog entry 2005-11-07 for details. commit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 Author: Kevin E Martin <kem@kem.org> Date: Tue Nov 1 15:11:50 2005 +0000 Update pkgcheck dependencies to work with separate build roots. commit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Fri Oct 28 10:44:03 2005 +0000 Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. commit be627a39fe373e2e81fdc263780e70a271d9e0c5 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Fri Oct 28 08:28:08 2005 +0000 Add dependency on inputproto for XI.h. commit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 Author: Adam Jackson <ajax@nwnk.net> Date: Fri Oct 21 18:44:24 2005 +0000 Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) commit 1171fa9dc77413f0e90933a565ec07068052afb4 Author: Kevin E Martin <kem@kem.org> Date: Wed Oct 19 02:48:08 2005 +0000 Update package version number for RC1 release. commit 2a2d905706308b9d5a1c16af1067fb390f43850c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Oct 18 00:00:08 2005 +0000 Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make commit 66d35b6971fb26762392a2a8e2c47db46c11116a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Oct 17 21:13:15 2005 +0000 Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) commit a316995a17c084e98ef1b7f25d287c2c08b6d749 Author: Donnie Berkholz <spyderous@gentoo.org> Date: Sun Oct 16 03:03:35 2005 +0000 Change '==' to portable '='. commit b76a072530e884bcbea6ed8fed5aef39361dcfc0 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Oct 12 00:04:50 2005 +0000 configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. commit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 Author: Eric Anholt <anholt@freebsd.org> Date: Tue Oct 11 02:18:36 2005 +0000 Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. commit 41ff3b9d1f194a7b56437b650d5f589225c078c6 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Oct 9 22:28:39 2005 +0000 Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) commit 91ed79852e790049ab54e68f288afb3c953194c9 Author: Kevin E Martin <kem@kem.org> Date: Fri Oct 7 15:00:00 2005 +0000 Clean up generated files Add missing dist tarball files commit 440399b470c97b159a530602fff11c315aca8d97 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Oct 5 18:27:10 2005 +0000 Add el_GR.UTF-8 compose file commit 010f0647e25ac617d0f92c8d2b8dda684da545db Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:52:46 2005 +0000 Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). commit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:47:55 2005 +0000 Bug #1640: Kinyarwanda locale support. (Steve Murphy) commit 4ae0decabe0960870df0ec165f495166c10a053c Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:40:03 2005 +0000 Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. commit 3f79eb4c99844f618f1889741d1631c2ffe5385f Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Sep 30 07:11:19 2005 +0000 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. commit d1237d1483ff972c76a0ac344ec97d5280db0007 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Sep 29 21:27:12 2005 +0000 Add Xcms.txt to lib/X11 commit 4a86f299693f7376cbe98175f0b0c44d691802b3 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Sep 24 20:11:06 2005 +0000 Add XQueryExtension.man commit a057a66e2041d45198a13a4ece7c07068f76f21b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Sep 24 00:16:32 2005 +0000 Add XTHREAD_CFLAGS for platforms that need special defines like -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. commit 3e920a65a7c376ad63eae2240fd06904d25d18bf Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Fri Sep 2 23:00:30 2005 +0000 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 commit 3eb9f2d693af89d04e2fd92492c8205dce332c9c Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 1 19:24:13 2005 +0000 Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. commit 7afa64325183b78d2d6a4862821f8b3e9866105c Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Aug 28 19:45:48 2005 +0000 OpenBSD needs -lpthread for threaded applications too. commit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Aug 26 05:16:46 2005 +0000 Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) commit 07066da0902df91c71f2adb81d1a17ec29165553 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Aug 21 15:45:04 2005 +0000 update commit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Aug 21 15:38:39 2005 +0000 Threads support for BSD systems: - need to check for gewtpwuid_r to define mtsafeapi - build UIThrstubs if needed. commit 60217fdb918bafb2082519efe5cba3b13ad3082a Author: Adam Jackson <ajax@nwnk.net> Date: Wed Aug 17 19:46:08 2005 +0000 Add xthreadlib variable to x11.pc. Bump to 0.99.1. commit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Aug 17 01:27:08 2005 +0000 Fix more broken multi-line .ds macros. Remove extraneous ;'s . commit 1909786f4a7d686369edcfc05a938df115fab37c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Aug 16 19:23:15 2005 +0000 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) commit 83406d69c62070d2eeef23eb47f1ca887f711ee5 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Aug 15 19:53:37 2005 +0000 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 commit 5bb43de17de8e71d967488a713bf2b3448533444 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Aug 6 18:59:49 2005 +0000 Typo fix in output message commit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Aug 4 02:55:49 2005 +0000 //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) commit 3979a0b88edf6475ce5cfaa386e18ef980bda13c Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Thu Aug 4 02:51:30 2005 +0000 //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) commit 34b454df192f4563499c453ccdb8c079f4a20cbe Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 30 20:30:46 2005 +0000 Include config.h so Xtrans knows which transport types to build code for commit cd9c9936b49c125eda779b99887d7e6ae4cf56cd Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 30 19:15:16 2005 +0000 Add -D flags to clear various warnings (Stefan Dirsch) commit e7fef67b4531faddd805d8f2157903006d3117ed Author: Kevin E Martin <kem@kem.org> Date: Fri Jul 29 21:22:50 2005 +0000 Various changes preparing packages for RC0: - Verify and update package version numbers as needed - Implement versioning scheme - Change bug address to point to bugzilla bug entry form - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) - Fix makedepend to use pkgconfig and pass distcheck - Update build script to build macros first - Update modular Xorg version commit 2ebb00244928237088e68325b1032b3550455ce9 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sat Jul 23 20:19:31 2005 +0000 remove orphan TAB at begin of line commit dd7a9cdecda73e024ca84c5b9a22b18688038d94 Author: Kevin E Martin <kem@kem.org> Date: Sat Jul 23 18:09:39 2005 +0000 Modify modular libs to use Xregion.h instead of region.h commit 6d635a88d91647b1b63611c3591f74916f88cd1c Author: Kevin E Martin <kem@kem.org> Date: Sat Jul 23 18:06:16 2005 +0000 lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. commit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 Author: Daniel Stone <daniel@fooishbar.org> Date: Sat Jul 16 06:25:35 2005 +0000 Set soversion to 6.2.0. commit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 15 04:27:32 2005 +0000 Add missing Makefile.am to lib/X11/modules commit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 15 04:08:51 2005 +0000 Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). Link i18n modules against xlib to resolve Xlib symbols used by them. commit 45f40126a73295345bb5eb187b1167874842ab6e Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jul 14 19:50:00 2005 +0000 Add $(top_srcdir)/src to include list commit 0aed7d91f5928d09d541617aad03709b5090658d Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Thu Jul 14 17:04:49 2005 +0000 Build fix for non-GNU make. commit b79422ccb02ab44548d1038956ab0cd4e2638645 Author: Adam Jackson <ajax@nwnk.net> Date: Thu Jul 14 15:12:44 2005 +0000 typo fixes (Matthieu Herrb) commit 419304cde2fda19457c667870edefc0b227651b3 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Wed Jul 13 02:41:36 2005 +0000 Add missing backslashes to xlocale_la_SOURCES commit d14cc5c8964c4539b57c6cb51ef653292e410b79 Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 20:32:55 2005 +0000 Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. commit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb Author: Lars Knoll <lars@trolltech.com> Date: Mon Jul 11 15:24:32 2005 +0000 compile commit de9784eb1bde46efc316da279e3da27c6cc288a7 Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 09:26:40 2005 +0000 Ignore built man page files commit 0c258c36d1523113790c599b16d2947d7aa6469a Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 09:18:31 2005 +0000 Minor changes to help modular Xlib build i18n modules commit 6e752ea1203b786423e40f43340bce15ca3de0f0 Author: Keith Packard <keithp@keithp.com> Date: Mon Jul 11 08:29:18 2005 +0000 Enable loadable i18n modules, making them configurable on the configure command line. Clean up conditionals for XKB, XCMS, XLOCALEDIR Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 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. Display message at end of configure script with selected options. 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. commit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 10 22:37:33 2005 +0000 Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) commit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 9 20:06:04 2005 +0000 Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages commit 3939ac4410446b46071c9d714f4270c12bf904fe Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jul 9 18:44:14 2005 +0000 - 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 - Don't assume $(CPP) can take gcc-only -traditional flag - CPP process man pages as is done in the monolithic tree commit 19ba9d0df86c688319377467254b9ea9c4b0eccc Author: Keith Packard <keithp@keithp.com> Date: Sat Jul 9 06:01:49 2005 +0000 Clean up .cvsignore files commit f4bba6fa9b9ce637be7662754750054567e9250a Author: Adam Jackson <ajax@nwnk.net> Date: Sat Jul 9 02:53:29 2005 +0000 typo fix. i suck. commit 3305da61a61695e24c1ea11d3f59dddb52873d47 Author: Adam Jackson <ajax@nwnk.net> Date: Sat Jul 9 02:41:18 2005 +0000 Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) commit afdae2e8ccb93de2987b5a5e850695af15ece7e0 Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 8 07:11:56 2005 +0000 Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions commit 86fa88dc594ca2093030acf5c84973ee2b33eb4c Author: Keith Packard <keithp@keithp.com> Date: Fri Jul 8 06:57:06 2005 +0000 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. Add a bunch of .cvsignore files commit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c Author: Chris Less <clee@c133.org> Date: Mon Jul 4 23:01:48 2005 +0000 Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. commit 55328bb6caabd37885cd19d7a5821ed425daf321 Author: Eric Anholt <anholt@freebsd.org> Date: Sun Jul 3 10:17:38 2005 +0000 Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. commit 726538ba21b631bfb0b8094a5546acdaf57379ff Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 3 07:37:33 2005 +0000 Fix more include paths; add dix-config.h to XKB code. commit 8c7677138e70e14eca0255f2168583f0ecc21994 Author: Daniel Stone <daniel@fooishbar.org> Date: Sun Jul 3 07:00:55 2005 +0000 Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 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>. commit 197697c92a63091a4cc3cc04dcb7fa29d2655758 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jul 1 22:13:35 2005 +0000 Fix objdir != srcdir, as well as make distcheck. Don't attempt to create Compose.pre files; formatting fixes. Added if not already present. commit c162d60ad8f124563f94a2a266de59373936266c Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Wed Jun 22 22:46:31 2005 +0000 Apply these patches from Theo van Klaveren: lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch to make the libraries distcheck. commit 9ee8abdab03ea605a6327118ab7dacab6adf8876 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jun 18 07:48:43 2005 +0000 Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them commit 12afc57b7d455781eee305e9ed6a899ceec8729e Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 16:50:47 2005 +0000 Typo fix to locale/error/keysym location declarations. commit 9a895777e30762f61b98d25be3b5d8b1169baa17 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 13:37:43 2005 +0000 Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. commit add49285663684875ab7a5c58ec7a2cf8b775f67 Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 13:32:35 2005 +0000 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. Move ImUtil.h from src/ to include/X11/. commit 845dfc6b42b950890866ee4df27761e086f50dca Author: Daniel Stone <daniel@fooishbar.org> Date: Wed Jun 15 13:27:48 2005 +0000 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. commit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 Author: Daniel Stone <daniel@fooishbar.org> Date: Fri Jun 10 14:11:36 2005 +0000 Remove pointless include of Xlib.h. Fix #include path to bigreqstr.h. commit 1a0de49da1274882bab05b0f7240936b37955e5c Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jun 9 21:30:15 2005 +0000 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre commit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jun 9 15:55:33 2005 +0000 Replace <X11/transport.c> with <X11/Xtrans/transport.c> commit fd5f58e0baf692e34b9b622286f18762cc2500d3 Author: Alexander Gottwald <ago@freedesktop.org> Date: Thu Jun 9 15:52:02 2005 +0000 Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> Copy Xtrans.h to exports/include/X11/Xtrans only commit 44538f9940f969d46c0e5e4b201c684cde2ba611 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun Jun 5 03:29:33 2005 +0000 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT commit 588e30e9ec65fa6205a34be650b79d5e2243edec Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jun 4 22:53:21 2005 +0000 Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method commit a547afee2ef49cc41bbb67f9cff5a52a283c0854 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Jun 4 21:20:20 2005 +0000 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) commit ca93c761559ae464189c7ea7cf11c6a6679f2431 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sat May 28 01:02:32 2005 +0000 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> commit 09ebb349359e3dd9131fa2fa8b07559faa173654 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sun May 22 19:05:11 2005 +0000 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext commit 761219b1ef9befc350c8a35b6f96d047e5f008cc Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 21 23:07:48 2005 +0000 xtrans: 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 ICE: Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. X11: 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. commit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 21 04:26:12 2005 +0000 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) 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). commit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 Author: Adam Jackson <ajax@nwnk.net> Date: Thu May 19 00:22:32 2005 +0000 revert last change, didn't do right thing at all, sorry for the noise commit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 Author: Adam Jackson <ajax@nwnk.net> Date: Thu May 19 00:10:07 2005 +0000 Require automake 1.7 in AM_INIT_AUTOMAKE commit cd4657c175dbab6aaca36f18a0ca92c95b5567dd Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue May 17 22:32:09 2005 +0000 - Check for xproto as its CFLAGS are needed in the .pc file commit 46e8d8a65430dd87c10b066b5cff99a689c22241 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Tue May 17 08:10:10 2005 +0000 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). commit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 Author: <ssp@aware-of-vacuity.boston.redhat.com> Date: Mon May 16 22:35:27 2005 +0000 Make Xdmcp unconditionally required, require various protocol modules. Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> Check for kbproto if using XKB. Require xextproto rather than xextensions Remove the entries from the xlibs tree, as they are not relevant here. commit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Mon May 16 21:48:36 2005 +0000 Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> Check for kbproto if using XKB. commit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa Author: <ssp@aware-of-vacuity.boston.redhat.com> Date: Mon May 16 21:27:35 2005 +0000 Require xextproto rather than xextensions Remove the entries from the xlibs tree, as they are not relevant here. commit 7eee605e3aeed549d1053325a03027c5e8cbf71b Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri May 13 22:53:36 2005 +0000 - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> - For Xcomposite and Xdamage, don't link the build system out of the xc tree - Link the public X11 headers into their own directory - Add links to XKeysymDB and XErrorDB - Add links to all the Xlib man pages - Add links to the lcUniConv subdirectory - Conditionally include config.h in Xlib source commit 6769ccda88caf27d1441d335ef2b318a047a612b Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Mar 21 04:58:21 2005 +0000 xc/lib/X11/ErrDes.c //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> commit 3b9e8ece93b916c55a82df53e85f097418edf471 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Sat Mar 19 22:04:55 2005 +0000 xc/nls/Compose/iso8859-2 xc/nls/Compose/iso8859-3 xc/nls/Compose/iso8859-9 //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>. commit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Tue Mar 8 02:53:36 2005 +0000 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>. commit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Tue Feb 1 03:12:28 2005 +0000 xc/nls/Compose/pt_BR.UTF-8 //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>. commit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> Date: Fri Jan 28 18:31:31 2005 +0000 cleaned up boundary-case handling for Uxxxx Unicode keysym notation commit f234188a4c1e6b655aef0e3957ccad20d4c5847f Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Wed Jan 19 01:53:55 2005 +0000 xc/nls/compose.dir xc/nls/locale.dir xc/nls/Compose/Imakefile xc/nls/Compose/pt_BR.UTF-8 xc/nls/XI18N_OBJS/Imakefile xc/nls/XI18N_OBJS/pt_BR.UTF-8 xc/nls/XLC_LOCALE/Imakefile xc/nls/XLC_LOCALE/pt_BR.UTF-8 //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. commit 7448ea7ef425d35cfc31eb41d46f4d879774f376 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Fri Jan 14 18:03:09 2005 +0000 Made some security enhancements: - no writing past end of buffer caused by bogus locale. - explicitely add a \0 character at end of string. (Bugzilla #2262) commit 5557d47fcf22a6f3adf327691158f2270e3d5094 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Fri Jan 14 04:59:05 2005 +0000 xc/nls/compose.dir xc/nls/locale.alias xc/nls/locale.dir //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>. commit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Tue Jan 11 17:37:57 2005 +0000 '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. commit 642cd269f94a234aa470a1d43385bd42625d89a1 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Tue Dec 14 08:59:20 2004 +0000 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. Fixed typo. Added comment to a changed that's been committed with one of the previous commits. commit a07ccae36e629741d2e48de7730114d30a975a41 Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Dec 12 08:42:50 2004 +0000 Fix missing XChangeProperty() prototype missing in synopsis section. commit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c Author: Alexander Gottwald <ago at freedesktop dot org> Date: Wed Dec 8 13:42:01 2004 +0000 Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform commit d5e7ab194103e22fd6c5094aaa107d90210bb600 Author: Jim Gettys <jg@freedesktop.org> Date: Thu Dec 2 16:18:16 2004 +0000 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. commit 03940d7330cb1bbf93d49c650aefb19de457da7c Author: Alexander Gottwald <ago at freedesktop dot org> Date: Wed Dec 1 13:06:55 2004 +0000 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable commit 11a03ab908bfcfab8a3492684e8e9320e492d552 Author: Alexander Gottwald <ago at freedesktop dot org> Date: Wed Dec 1 12:42:17 2004 +0000 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory commit f3d83ee153f42e8899b844377e6b842d93411e62 Author: Alexander Gottwald <ago@freedesktop.org> Date: Mon Nov 15 15:06:54 2004 +0000 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port commit b798ea11911ac58a8e6e7d15a2a643b023859749 Author: Alexander Gottwald <ago at freedesktop dot org> Date: Mon Nov 15 13:29:56 2004 +0000 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory commit 436108cd6c84053698e5ca629096f59b34f50c2a Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Nov 11 15:37:01 2004 +0000 Fix #1818 commit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Tue Nov 9 00:56:56 2004 +0000 xc/nls/compose.dir xc/nls/locale.alias xc/nls/locale.dir //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>. commit 443890ceefbd6dafe68e30d103ec4f9d316ed655 Author: Roland Mainz <roland.mainz@nrubsig.org> Date: Fri Nov 5 00:58:49 2004 +0000 xc/nls/compose.dir xc/nls/locale.alias xc/nls/locale.dir 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>. commit af7467ec734321f127b957921cce7792902b6794 Author: Egbert Eich <eich-at-freedesktop-dot-org> Date: Mon Oct 18 17:29:03 2004 +0000 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). commit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 Author: Egbert Eich <eich-at-freedesktop-dot-xorg> Date: Mon Oct 18 14:21:45 2004 +0000 Made handling of DevelDrivers for x86-64 more conformant to other platforms. Compress all font encodings (Stefan Dirsch). Fixed warnings. Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). Added another compose key combination for the Euro symbol (Stefan Dirsch). Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 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. Added explanation for DESTDIR to install to a different directory than /. Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 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. 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(). Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). Create missing links for backward compatibility to XFree86 (Stefan Dirsch). Changed comment to mention xorg. 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). Added 'pic' to the man page rendering command pipeline (Werner Fink). Added missing return value (Stefan Dirsch, Roland Mainz) commit 1ba103c3cad2329db3a31f88d7798b913affc570 Author: Eric Anholt <anholt@freebsd.org> Date: Wed Oct 13 07:38:00 2004 +0000 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>) commit d80237db627bf71ad5615ff4ba05e6ab436aa740 Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Fri Oct 8 22:57:56 2004 +0000 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. commit d1f76d17ecf418396627b1a58319f2b9b255548a Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> Date: Sun Sep 26 22:54:57 2004 +0000 bug fix for previous patch commit 48932d9b71d10e15812f47d5b842ab6aa8dac625 Author: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> Date: Sun Sep 26 20:46:17 2004 +0000 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) commit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 Author: Egbert Eich <eich@freedesktop.org> Date: Wed Sep 15 09:05:22 2004 +0000 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). 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). commit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 Author: Egbert Eich <eich@freedesktop.org> Date: Tue Aug 31 11:37:03 2004 +0000 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). commit e689746c8d0e21e9011e8b91a3071d235d3a2a74 Author: Kevin E Martin <kem@kem.org> Date: Thu Aug 19 06:48:06 2004 +0000 Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. commit d558a53a6f57eecfcaadce5141fe3a08860defcb Author: Keith Packard <keithp@keithp.com> Date: Sat Aug 14 07:12:36 2004 +0000 Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) commit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 Author: Alexander Gottwald <ago@freedesktop.org> Date: Fri Aug 13 16:28:19 2004 +0000 Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) commit c4d56e4e288d4e48b84b021a61638f46e9a45e27 Author: Adam Jackson <ajax@nwnk.net> Date: Wed Aug 11 05:25:13 2004 +0000 Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. commit 92487437173f600f208d825f65756d3ad14a4f7e Author: Kevin E Martin <kem@kem.org> Date: Mon Aug 9 22:37:22 2004 +0000 Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). Fix several render problems: - MMIO mode support - Hang on IGP chips - VT switching hang - 3D render corruption (Bug #922, Hui Yu). commit 55c2ee568e7d3903258286a13bdf96ce5348ffda Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Tue Jul 27 06:06:05 2004 +0000 - remove remaining AMOEBA references. - remove unused file. commit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d Author: Søren Sandmann Pedersen <sandmann@daimi.au.dk> Date: Tue Jul 20 17:48:09 2004 +0000 Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> Use /dev/urandom on Linux.(#761). commit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 Author: Eric Anholt <anholt@freebsd.org> Date: Fri May 28 23:26:44 2004 +0000 Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. commit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 Author: Egbert Eich <eich@pdx.freedesktop.org> Date: Mon May 24 19:02:11 2004 +0000 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. commit 720702da29769d80ad1254d92edbad5b30f8a8da Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat May 22 03:47:42 2004 +0000 Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) commit 3aed873292424b497d9a7dcee2975b95bf5ac966 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Sat Apr 24 23:39:25 2004 +0000 XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). xc/config/cf/sunLib.tmpl xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris commit c6349f43193b74a3c09945f3093a871b0157ba47 Author: Egbert Eich <eich@freedesktop.org> Date: Fri Apr 23 18:42:09 2004 +0000 Merging XORG-CURRENT into trunk commit c3c4ddc682950a01b80825021f3e2503ab01ea7f Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Tue Nov 25 19:28:07 2003 +0000 Initial revision commit dc4268a7dadc8da0d561757a68461246728613d3 Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Fri Nov 14 16:48:47 2003 +0000 Initial revision commit deae12c6b683898f5213992d561a59d4ea889cca Author: Kaleb Keithley <kaleb@freedesktop.org> Date: Fri Nov 14 15:54:30 2003 +0000 R6.6 is the Xorg base-line