ChangeLog revision 38ae11fc
138ae11fcSmrgcommit f3c978476e0be6813268af494efb7ac507451116 238ae11fcSmrgAuthor: Matt Turner <mattst88@gmail.com> 338ae11fcSmrgDate: Tue Oct 9 10:26:05 2018 -0400 438ae11fcSmrg 538ae11fcSmrg libX11 1.6.7 638ae11fcSmrg 738ae11fcSmrg Signed-off-by: Matt Turner <mattst88@gmail.com> 838ae11fcSmrg 938ae11fcSmrgcommit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 1038ae11fcSmrgAuthor: Michel Dänzer <michel.daenzer@amd.com> 1138ae11fcSmrgDate: Fri Sep 28 17:24:17 2018 +0200 1238ae11fcSmrg 1338ae11fcSmrg poll_for_event: Allow using xcb_poll_for_queued_event 1438ae11fcSmrg 1538ae11fcSmrg It avoids reading from the display connection again in cases where that 1638ae11fcSmrg was already done. 1738ae11fcSmrg 1838ae11fcSmrg Suggested-by: Uli Schlachter <psychon@znc.in> 1938ae11fcSmrg Reviewed-by: Uli Schlachter <psychon@znc.in> 2038ae11fcSmrg 2138ae11fcSmrgcommit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 2238ae11fcSmrgAuthor: Michel Dänzer <michel.daenzer@amd.com> 2338ae11fcSmrgDate: Tue Sep 25 17:10:58 2018 +0200 2438ae11fcSmrg 2538ae11fcSmrg poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails 2638ae11fcSmrg 2738ae11fcSmrg If xcb_poll_for_reply fails to find a reply, poll_for_response would 2838ae11fcSmrg always return NULL. However, xcb_poll_for_reply may have read events 2938ae11fcSmrg from the display connection while looking for a reply. In that case, 3038ae11fcSmrg returning NULL from poll_for_response is wrong and can result in the 3138ae11fcSmrg client hanging, e.g. because it returns to waiting for the display 3238ae11fcSmrg connection file descriptor becoming readable after XPending incorrectly 3338ae11fcSmrg returned 0 pending events. 3438ae11fcSmrg 3538ae11fcSmrg The solution is to call poll_for_event again after xcb_poll_for_reply 3638ae11fcSmrg returned 0. This will return the first of any events read by 3738ae11fcSmrg xcb_poll_for_reply. 3838ae11fcSmrg 3938ae11fcSmrg Fixes issue #79. 4038ae11fcSmrg 4138ae11fcSmrg Reported-by: Yuxuan Shui <yshuiv7@gmail.com> 4238ae11fcSmrg Bugzilla: https://bugs.freedesktop.org/108008 4338ae11fcSmrg Bugzilla: https://bugs.freedesktop.org/107992 4438ae11fcSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 4538ae11fcSmrg 4638ae11fcSmrgcommit d0416863d5bf75af54ce81f6c30d4c1476b5e04f 4738ae11fcSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com> 4838ae11fcSmrgDate: Mon Sep 28 08:33:40 2015 +0000 4938ae11fcSmrg 5038ae11fcSmrg XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB 5138ae11fcSmrg 5238ae11fcSmrg Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 5338ae11fcSmrg aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 5438ae11fcSmrg 5538ae11fcSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5638ae11fcSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5738ae11fcSmrg 583233502eSmrgcommit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 593233502eSmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 603233502eSmrgDate: Tue Aug 21 16:54:50 2018 +0200 613233502eSmrg 623233502eSmrg libX11 1.6.6 633233502eSmrg 643233502eSmrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 653233502eSmrg 663233502eSmrgcommit 173704243fbcbea0b6de2068b4fb403c7408fb54 673233502eSmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 683233502eSmrgDate: Tue Aug 21 16:53:40 2018 +0200 693233502eSmrg 703233502eSmrg Remove statement with no effect. 713233502eSmrg 723233502eSmrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 733233502eSmrg 743233502eSmrgcommit e83722768fd5c467ef61fa159e8c6278770b45c2 753233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 763233502eSmrgDate: Fri Jul 27 16:38:00 2018 +0200 773233502eSmrg 783233502eSmrg Fixed crash on invalid reply (CVE-2018-14598). 793233502eSmrg 803233502eSmrg If the server sends a reply in which even the first string would 813233502eSmrg overflow the transmitted bytes, list[0] (or flist[0]) will be set to 823233502eSmrg NULL and a count of 0 is returned. 833233502eSmrg 843233502eSmrg If the resulting list is freed with XFreeExtensionList or 853233502eSmrg XFreeFontPath later on, the first Xfree call: 863233502eSmrg 873233502eSmrg Xfree (list[0]-1) 883233502eSmrg turns into 893233502eSmrg Xfree (NULL-1) 903233502eSmrg 913233502eSmrg which will most likely trigger a segmentation fault. 923233502eSmrg 933233502eSmrg I have modified the code to return NULL if the first string would 943233502eSmrg overflow, thus protecting the freeing functions later on. 953233502eSmrg 963233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 973233502eSmrg 983233502eSmrgcommit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 993233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 1003233502eSmrgDate: Fri Jul 27 16:37:17 2018 +0200 1013233502eSmrg 1023233502eSmrg Fixed out of boundary write (CVE-2018-14600). 1033233502eSmrg 1043233502eSmrg The length value is interpreted as signed char on many systems 1053233502eSmrg (depending on default signedness of char), which can lead to an out of 1063233502eSmrg boundary write up to 128 bytes in front of the allocated storage, but 1073233502eSmrg limited to NUL byte(s). 1083233502eSmrg 1093233502eSmrg Casting the length value to unsigned char fixes the problem and allows 1103233502eSmrg string values with up to 255 characters. 1113233502eSmrg 1123233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1133233502eSmrg 1143233502eSmrgcommit b469da1430cdcee06e31c6251b83aede072a1ff0 1153233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 1163233502eSmrgDate: Fri Jul 27 16:36:34 2018 +0200 1173233502eSmrg 1183233502eSmrg Fixed off-by-one writes (CVE-2018-14599). 1193233502eSmrg 1203233502eSmrg The functions XGetFontPath, XListExtensions, and XListFonts are 1213233502eSmrg vulnerable to an off-by-one override on malicious server responses. 1223233502eSmrg 1233233502eSmrg The server replies consist of chunks consisting of a length byte 1243233502eSmrg followed by actual string, which is not NUL-terminated. 1253233502eSmrg 1263233502eSmrg While parsing the response, the length byte is overridden with '\0', 1273233502eSmrg thus the memory area can be used as storage of C strings later on. To 1283233502eSmrg be able to NUL-terminate the last string, the buffer is reserved with 1293233502eSmrg an additional byte of space. 1303233502eSmrg 1313233502eSmrg For a boundary check, the variable chend (end of ch) was introduced, 1323233502eSmrg pointing at the end of the buffer which ch initially points to. 1333233502eSmrg Unfortunately there is a difference in handling "the end of ch". 1343233502eSmrg 1353233502eSmrg While chend points at the first byte that must not be written to, 1363233502eSmrg the for-loop uses chend as the last byte that can be written to. 1373233502eSmrg 1383233502eSmrg Therefore, an off-by-one can occur. 1393233502eSmrg 1403233502eSmrg I have refactored the code so chend actually points to the last byte 1413233502eSmrg that can be written to without an out of boundary access. As it is not 1423233502eSmrg possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 1433233502eSmrg with the corrected chend meaning, I removed the inner if-check. 1443233502eSmrg 1453233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1463233502eSmrg 1473233502eSmrgcommit d81da209fd4d0c2c9ad0596a8078e58864479d0d 1483233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 1493233502eSmrgDate: Tue Jul 3 22:31:37 2018 +0200 1503233502eSmrg 1513233502eSmrg Validation of server response in XListHosts. 1523233502eSmrg 1533233502eSmrg If a server sends an incorrect length in its response, a client is prone 1543233502eSmrg to perform an out of boundary read while processing the data. 1553233502eSmrg 1563233502eSmrg The length field of xHostEntry is used to specify the amount of bytes 1573233502eSmrg used to represent the address. It is 16 bit, which means that it is not 1583233502eSmrg possible to perform an arbitrary memory access, but it might be enough 1593233502eSmrg to read sensitive information, e.g. malloc-related pointers and offsets. 1603233502eSmrg 1613233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 1623233502eSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 1633233502eSmrg 1643233502eSmrgcommit b676e62377483df77bcb6472d26b24f901323fa9 1653233502eSmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 1663233502eSmrgDate: Wed Jun 13 15:46:58 2018 +0200 1673233502eSmrg 1683233502eSmrg XkbOpenDisplay.3: fix typo 1693233502eSmrg 1703233502eSmrg XkbOpenDisplay returns a pointer to Display, not a Display. 1713233502eSmrg 1723233502eSmrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 1733233502eSmrg 1743233502eSmrgcommit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 1753233502eSmrgAuthor: Martin Natano <natano@natano.net> 1763233502eSmrgDate: Sat Oct 8 19:57:50 2016 +0200 1773233502eSmrg 1783233502eSmrg Don't rebuild ks_tables.h if nothing changed. 1793233502eSmrg 1803233502eSmrg ks_tables.h is always considered out of date due to the forced rebuild 1813233502eSmrg of the makekeys util. This means the file is also rebuilt during 'make 1823233502eSmrg install', which is usually performed as root, which can to lead 1833233502eSmrg permission problems later on. 1843233502eSmrg 1853233502eSmrg Signed-off-by: Martin Natano <natano@natano.net> 1863233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1873233502eSmrg 1883233502eSmrgcommit 796f754cba6d75b676a0fc39b97802198fceda4f 1893233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1903233502eSmrgDate: Sat May 5 14:43:30 2018 -0700 1913233502eSmrg 1923233502eSmrg Change fall through comment in lcDB.c to match gcc's requirements 1933233502eSmrg 1943233502eSmrg Needs to match one of the regexps shown under 1953233502eSmrg https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 1963233502eSmrg 1973233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1983233502eSmrg 1993233502eSmrgcommit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 2003233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2013233502eSmrgDate: Sat Mar 24 19:45:14 2018 -0700 2023233502eSmrg 2033233502eSmrg Use size_t for buffer sizes in SetHints.c 2043233502eSmrg 2053233502eSmrg These variables store values returned from strlen() as a size_t 2063233502eSmrg and are passed to Xmalloc, which expects a size_t, so lets stop 2073233502eSmrg converting back and forth to int along the way. 2083233502eSmrg 2093233502eSmrg Reported by: Konstantin SKliarov 2103233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2113233502eSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 2123233502eSmrg 2133233502eSmrgcommit 50a5a98984097d614227d22a49265e12b172cac7 2143233502eSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com> 2153233502eSmrgDate: Tue Jul 5 11:37:50 2016 +0530 2163233502eSmrg 2173233502eSmrg Fix possible memory leak in cmsProp.c:140 2183233502eSmrg 2193233502eSmrg https://bugs.freedesktop.org/show_bug.cgi?id=96814 2203233502eSmrg 2213233502eSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2223233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2233233502eSmrg 2243233502eSmrgcommit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 2253233502eSmrgAuthor: Michal Srb <msrb@suse.com> 2263233502eSmrgDate: Thu Mar 15 09:50:58 2018 +0100 2273233502eSmrg 2283233502eSmrg Use flexible array member instead of fake size. 2293233502eSmrg 2303233502eSmrg The _XimCacheStruct structure is followed in memory by two strings containing 2313233502eSmrg fname and encoding. The memory was accessed using the last member of the 2323233502eSmrg structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 2333233502eSmrg confuses checkers. Lets declare it properly as a flexible array, so compilers 2343233502eSmrg don't complain about writing past that array. As bonus we can replace the 2353233502eSmrg XOffsetOf with regular sizeof. 2363233502eSmrg 2373233502eSmrg Fixes GCC8 error: 2383233502eSmrg In function 'strcpy', 2393233502eSmrg inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 2403233502eSmrg inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 2413233502eSmrg inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 2423233502eSmrg /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 2433233502eSmrg forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 2443233502eSmrg return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 2453233502eSmrg 2463233502eSmrg Caused by this line seemingly writing past the fname[1] array: 2473233502eSmrg imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 2483233502eSmrg 2493233502eSmrg Reviewed-by: Keith Packard <keithp@keithp.com> 2503233502eSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2513233502eSmrg 2523233502eSmrgcommit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 2533233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2543233502eSmrgDate: Tue Mar 6 11:42:27 2018 -0800 2553233502eSmrg 2563233502eSmrg If XGetImage fails to create image, don't dereference it to bounds check 2573233502eSmrg 2583233502eSmrg Reported by gcc 7.3: 2593233502eSmrg 2603233502eSmrg GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 2613233502eSmrg if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 2623233502eSmrg ~~~~~^~~~~~~~ 2633233502eSmrg 2643233502eSmrg Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 2653233502eSmrg 2663233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2673233502eSmrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 2683233502eSmrg 2693233502eSmrgcommit e835a9dcc3362b5e92893be756dd7ae361e64ced 2703233502eSmrgAuthor: wharms <wharms@bfs.de> 2713233502eSmrgDate: Sun Sep 3 14:17:45 2017 +0200 2723233502eSmrg 2733233502eSmrg silence gcc warning assignment discards 'const' qualifier from pointer target type 2743233502eSmrg 2753233502eSmrgcommit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 2763233502eSmrgAuthor: wharms <wharms@bfs.de> 2773233502eSmrgDate: Sun Aug 20 21:51:57 2017 +0200 2783233502eSmrg 2793233502eSmrg remove empty line 2803233502eSmrg 2813233502eSmrgcommit e02dfe54f32b4165351d2712a9d2e0584906a3ce 2823233502eSmrgAuthor: wharms <wharms@bfs.de> 2833233502eSmrgDate: Sun Aug 20 21:50:33 2017 +0200 2843233502eSmrg 2853233502eSmrg add _X_UNUSED to avoid unused variable warnings 2863233502eSmrg 2873233502eSmrgcommit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 2883233502eSmrgAuthor: walter harms <wharms@bfs.de> 2893233502eSmrgDate: Sat Jun 4 17:19:59 2016 +0200 2903233502eSmrg 2913233502eSmrg Fixes: warning: variable 'req' set but not,used 2923233502eSmrg 2933233502eSmrg Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 2943233502eSmrg by marking req _X_UNUSED 29538ae11fcSmrg Solution was discussed on xorg-devel ML 2963233502eSmrg Peter Hutter, Alan Coopersmith 2973233502eSmrg Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 2983233502eSmrg 2993233502eSmrg Signed-off-by: harms wharms@bfs.de 3003233502eSmrg 3013233502eSmrgcommit bf82ec0402479fd8399d69e7d62fc17d7956699a 3023233502eSmrgAuthor: walter harms <wharms@bfs.de> 3033233502eSmrgDate: Sat Jun 4 17:22:07 2016 +0200 3043233502eSmrg 3053233502eSmrg mark _XDefaultIOError as no_return 3063233502eSmrg 3073233502eSmrg mark _XDefaultIOError as no_return. No one comes back from exit() ... 3083233502eSmrg 3093233502eSmrg Signed-off-by: harms wharms@bfs.de 3103233502eSmrg 3113233502eSmrgcommit 9abe8380074edea3ac4e72466ec47e921ca05e47 3123233502eSmrgAuthor: walter harms <wharms@bfs.de> 3133233502eSmrgDate: Sat Jun 4 17:21:52 2016 +0200 3143233502eSmrg 3153233502eSmrg no need to check XFree arguments 3163233502eSmrg 3173233502eSmrg 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 3183233502eSmrg 3193233502eSmrg Signed-off-by: harms wharms@bfs.de 3203233502eSmrg 3213233502eSmrgcommit 433477fcb7e07d0c26a22ba78aae88827ed1f440 3223233502eSmrgAuthor: walter harms <wharms@bfs.de> 3233233502eSmrgDate: Tue Apr 26 16:32:20 2016 +0200 3243233502eSmrg 3253233502eSmrg fix memleak in error path 3263233502eSmrg 3273233502eSmrg free all mem on error 3283233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3293233502eSmrg 3303233502eSmrgcommit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 3313233502eSmrgAuthor: walter harms <wharms@bfs.de> 3323233502eSmrgDate: Tue Apr 26 17:58:16 2016 +0200 3333233502eSmrg 3343233502eSmrg fix memleak in error path 3353233502eSmrg 3363233502eSmrg V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 3373233502eSmrg 3383233502eSmrg fix mem leak in error path 3393233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3403233502eSmrg 3413233502eSmrgcommit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 3423233502eSmrgAuthor: walter harms <wharms@bfs.de> 3433233502eSmrgDate: Tue Apr 26 16:34:11 2016 +0200 3443233502eSmrg 3453233502eSmrg no need to check args for Xfree() 3463233502eSmrg 3473233502eSmrg simplify code 3483233502eSmrg 3493233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3503233502eSmrg 3513233502eSmrgcommit c1c14af441ae73d1a8e67a971fafcf967e45ac48 3523233502eSmrgAuthor: walter harms <wharms@bfs.de> 3533233502eSmrgDate: Tue Apr 26 16:23:46 2016 +0200 3543233502eSmrg 3553233502eSmrg remove stray extern 3563233502eSmrg 3573233502eSmrg remove stray extern 3583233502eSmrg 3593233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3603233502eSmrg 3613233502eSmrgcommit 714921f041a245dc5f37a689268b584226a2ccb9 3623233502eSmrgAuthor: walter harms <wharms@bfs.de> 3633233502eSmrgDate: Mon Apr 11 18:26:52 2016 +0200 3643233502eSmrg 3653233502eSmrg no need to check argument for _XkbFree() 3663233502eSmrg 3673233502eSmrg simplify code by removing unneeded checks 3683233502eSmrg 3693233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3703233502eSmrg 3713233502eSmrgcommit d02c2466f65063a03c97dbcee05071c12a3676e6 3723233502eSmrgAuthor: walter harms <wharms@bfs.de> 3733233502eSmrgDate: Mon Apr 11 18:22:38 2016 +0200 3743233502eSmrg 3753233502eSmrg fix more shadow warning 3763233502eSmrg 3773233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3783233502eSmrg 3793233502eSmrgcommit 0355c3926d5372f9762f235071dbd94a89bbbdad 3803233502eSmrgAuthor: walter harms <wharms@bfs.de> 3813233502eSmrgDate: Thu Mar 31 19:16:33 2016 +0200 3823233502eSmrg 3833233502eSmrg fix shadow char_size 3843233502eSmrg 3853233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3863233502eSmrg 3873233502eSmrgcommit 916dffadf052135df3398651be873c353da629e1 3883233502eSmrgAuthor: walter harms <wharms@bfs.de> 3893233502eSmrgDate: Thu Mar 31 19:14:32 2016 +0200 3903233502eSmrg 3913233502eSmrg remove argument check for free() adjust one inden 3923233502eSmrg 3933233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 3943233502eSmrg 3953233502eSmrgcommit 6ec901ebca3fea6a762e22090dc35b1b90911133 3963233502eSmrgAuthor: walter harms <wharms@bfs.de> 3973233502eSmrgDate: Thu Mar 31 19:12:17 2016 +0200 3983233502eSmrg 3993233502eSmrg _XIOError(dpy); will never return so remore dead 4003233502eSmrg 4013233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 4023233502eSmrg 4033233502eSmrgcommit 83107a677b2ed458e4d62ea4a601e8181d3683d8 4043233502eSmrgAuthor: walter harms <wharms@bfs.de> 4053233502eSmrgDate: Thu Mar 31 19:10:49 2016 +0200 4063233502eSmrg 4073233502eSmrg fix shadow warning 4083233502eSmrg 4093233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 4103233502eSmrg 4113233502eSmrgcommit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 4123233502eSmrgAuthor: Ryan C. Gordon <icculus@icculus.org> 4133233502eSmrgDate: Wed Aug 2 02:41:03 2017 -0400 4143233502eSmrg 4153233502eSmrg Valgrind fix for XStoreColor and XStoreColors. 4163233502eSmrg 4173233502eSmrg If the "pad" field isn't set, Valgrind will report it as uninitialized 4183233502eSmrg memory accesses when the struct is copied into the Display's send buffer. 4193233502eSmrg 4203233502eSmrg In practice, this is (probably) harmless, but Valgrind is correct in 4213233502eSmrg believing it's a bug. 4223233502eSmrg 4233233502eSmrg https://bugs.freedesktop.org/attachment.cgi?id=133189 4243233502eSmrg 4253233502eSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4263233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4273233502eSmrg 4283233502eSmrgcommit 7d2010fec25c2f52b873ad0572479eb43128b038 4293233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4303233502eSmrgDate: Fri Apr 7 00:13:03 2017 -0700 4313233502eSmrg 4323233502eSmrg Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 4333233502eSmrg 4343233502eSmrg Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 4353233502eSmrg contains some malformed text" caused by extra whitespace after .TE macros 4363233502eSmrg 4373233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4383233502eSmrg 4393233502eSmrgcommit b856d5d929047d1ea169814d56e43784ea404c83 4403233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4413233502eSmrgDate: Thu Mar 16 00:05:49 2017 -0700 4423233502eSmrg 4433233502eSmrg Clarify state parameter to XkbSetNamedDeviceIndicator 4443233502eSmrg 4453233502eSmrg Checking a Bool to see if it's NULL does not work well in C. 4463233502eSmrg Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 4473233502eSmrg 4483233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4493233502eSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 4503233502eSmrg 4513233502eSmrgcommit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 4523233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4533233502eSmrgDate: Wed Mar 15 23:50:26 2017 -0700 4543233502eSmrg 4553233502eSmrg Make Xkb{Get,Set}NamedIndicator spec & manpages match code 4563233502eSmrg 4573233502eSmrg The XKB Library spec and the man pages for XkbGetNamedIndicator & 4583233502eSmrg XkbSetNamedIndicator included a device_spec argument neither function 4593233502eSmrg takes, and do not include the XkbGetNamedDeviceIndicator & 4603233502eSmrg XkbSetNamedDeviceIndicator variants that do take it (along with two 4613233502eSmrg other arguments). 4623233502eSmrg 4633233502eSmrg This updates them to match the interfaces the code has provided for 4643233502eSmrg decades. 4653233502eSmrg 4663233502eSmrg This has been reported multiple times, so this fixes: 4673233502eSmrg https://bugs.freedesktop.org/show_bug.cgi?id=251 4683233502eSmrg https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 4693233502eSmrg Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 4703233502eSmrg (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 4713233502eSmrg X.Org Group Defect Id #9418 4723233502eSmrg 4733233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4743233502eSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 4753233502eSmrg 4763233502eSmrgcommit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 4773233502eSmrgAuthor: Arthur Huillet <ahuillet@nvidia.com> 4783233502eSmrgDate: Wed Feb 1 15:02:41 2017 +0100 4793233502eSmrg 4803233502eSmrg _XDefaultError: set XlibDisplayIOError flag before calling exit 4813233502eSmrg 4823233502eSmrg _XReply isn't reentrant, and it can lead to deadlocks when the default error 4833233502eSmrg handler is called: _XDefaultError calls exit(1). It is called indirectly by 4843233502eSmrg _XReply when a X protocol error comes in that isn't filtered/handled by an 4853233502eSmrg extension or the application. This means that if the application (or one of its 4863233502eSmrg loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 4873233502eSmrg _fini destructor, _fini will get called while still on the call stack of 4883233502eSmrg _XReply. If the destructor interacts with the X server and calls _XReply, it 4893233502eSmrg will hit a deadlock, looping on the following in _XReply: 4903233502eSmrg 4913233502eSmrg ConditionWait(dpy, dpy->xcb->reply_notify); 4923233502eSmrg 4933233502eSmrg It is legal for an application to make Xlib calls during _fini, and that is 4943233502eSmrg useful for an OpenGL driver to avoid resource leaks on the X server side, for 4953233502eSmrg example in the dlopen/dlclose case. However, the driver can not readily tell 4963233502eSmrg whether its _fini is being called because Xlib called exit, or for another 4973233502eSmrg reason (dlclose), so it is hard to cleanly work around this issue in the driver. 4983233502eSmrg 4993233502eSmrg This change makes it so _XReply effectively becomes a no-op when called after 5003233502eSmrg _XDefaultError was called, as though an XIOError had happened. The dpy 5013233502eSmrg connection isn't broken at that point, but any call to _XReply is going to hang. 5023233502eSmrg This is a bit of a kludge, because the more correct solution would be to make 5033233502eSmrg _XReply reentrant, maybe by broadcasting the reply_notify condition before 5043233502eSmrg calling the default error handler. However, such a change would carry a grater 5053233502eSmrg risk of introducing regressions in Xlib. 5063233502eSmrg 5073233502eSmrg This change will drop some valid requests on the floor, but this should not 5083233502eSmrg matter, as it will only do so in the case where the application is dying: X will 5093233502eSmrg clean up after it once exit() is done running. There is the case of 5103233502eSmrg XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 5113233502eSmrg to clean up resources in _fini would currently be hitting a deadlock, which is 5123233502eSmrg hardly a better situation. 5133233502eSmrg 5143233502eSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 5153233502eSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 5163233502eSmrg 517862bcd1aSmrgcommit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 518862bcd1aSmrgAuthor: Matt Turner <mattst88@gmail.com> 519862bcd1aSmrgDate: Sat Feb 25 21:54:22 2017 -0800 520862bcd1aSmrg 521862bcd1aSmrg libX11 1.6.5 522862bcd1aSmrg 523862bcd1aSmrg Signed-off-by: Matt Turner <mattst88@gmail.com> 524862bcd1aSmrg 525862bcd1aSmrgcommit a0da5835e8078445947c828fe2d86c1a31439012 526862bcd1aSmrgAuthor: Adam Jackson <ajax@redhat.com> 527862bcd1aSmrgDate: Tue Feb 14 15:33:29 2017 -0500 528862bcd1aSmrg 529862bcd1aSmrg Revert "Compose sequences for rouble sign" 530862bcd1aSmrg 531862bcd1aSmrg This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 532862bcd1aSmrg 533862bcd1aSmrg Reported to break 'make check': 534862bcd1aSmrg 535862bcd1aSmrg https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 536862bcd1aSmrg 537862bcd1aSmrgcommit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 538862bcd1aSmrgAuthor: Mihail Konev <k.mvc@ya.ru> 539862bcd1aSmrgDate: Fri Feb 10 18:48:18 2017 +0500 540862bcd1aSmrg 541862bcd1aSmrg Compose sequences for rouble sign 542862bcd1aSmrg 543862bcd1aSmrg Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 544862bcd1aSmrg Also add Cyrillic sequences for hryvnia sign. 545862bcd1aSmrg 546862bcd1aSmrg Submitted-by: Victor V. Kustov <coyote@bks.tv> 547862bcd1aSmrg Reviewed-by: Victor V. Kustov <coyote@bks.tv> 548862bcd1aSmrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 549862bcd1aSmrg 550862bcd1aSmrgcommit 23d9623c661694aba8cf1e8f277dffa7a86cf065 551862bcd1aSmrgAuthor: Petr Písař <petr.pisar@atlas.cz> 552862bcd1aSmrgDate: Sun Oct 30 12:49:11 2016 +0100 553862bcd1aSmrg 554862bcd1aSmrg Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 555862bcd1aSmrg 556862bcd1aSmrg The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 557862bcd1aSmrg locale and reporting this error: 558862bcd1aSmrg 559862bcd1aSmrg Warning: locale not supported by Xlib, locale set to C 560862bcd1aSmrg 561862bcd1aSmrg Therefore this patch reverts to the en_US.UTF-8 definition file that was used 562862bcd1aSmrg before. This patch also deduplicates the cs_CZ.UTF-8 entry. 563862bcd1aSmrg 564862bcd1aSmrg <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 565862bcd1aSmrg 566862bcd1aSmrg This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 567862bcd1aSmrg 568862bcd1aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 569862bcd1aSmrg 570862bcd1aSmrgcommit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 571862bcd1aSmrgAuthor: Mihail Konev <k.mvc@ya.ru> 572862bcd1aSmrgDate: Thu Jan 26 13:52:49 2017 +1000 573862bcd1aSmrg 574862bcd1aSmrg autogen: add default patch prefix 575862bcd1aSmrg 576862bcd1aSmrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 577862bcd1aSmrg 578862bcd1aSmrgcommit 2979011bc170c55894b9185b26376f8efc6db7d4 579862bcd1aSmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com> 580862bcd1aSmrgDate: Mon Mar 9 12:00:52 2015 +0000 581862bcd1aSmrg 582862bcd1aSmrg autogen.sh: use quoted string variables 583862bcd1aSmrg 584862bcd1aSmrg Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 585862bcd1aSmrg fall-outs, when they contain space. 586862bcd1aSmrg 587862bcd1aSmrg Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 588862bcd1aSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 589862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 590862bcd1aSmrg 591862bcd1aSmrgcommit 4a0082a1b6affa65d38294f0e13511525cd8ad15 592862bcd1aSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 593862bcd1aSmrgDate: Tue Jan 24 10:32:07 2017 +1000 594862bcd1aSmrg 595862bcd1aSmrg autogen.sh: use exec instead of waiting for configure to finish 596862bcd1aSmrg 597862bcd1aSmrg Syncs the invocation of configure with the one from the server. 598862bcd1aSmrg 599862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 600862bcd1aSmrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 601862bcd1aSmrg 602862bcd1aSmrgcommit c74b070f2712c95f0db7c320a10232b0e5c83049 603862bcd1aSmrgAuthor: Julien Cristau <jcristau@debian.org> 604862bcd1aSmrgDate: Sat Jan 7 16:20:31 2017 +0100 605862bcd1aSmrg 606862bcd1aSmrg Fix wrong Xfree in XListFonts failure path 607862bcd1aSmrg 608862bcd1aSmrg 'ch' gets moved inside the allocated buffer as we're looping through 609862bcd1aSmrg fonts, so keep a reference to the start of the buffer so we can pass 610862bcd1aSmrg that to Xfree in the failure case. 611862bcd1aSmrg 612862bcd1aSmrg Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 613862bcd1aSmrg 614862bcd1aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 615862bcd1aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 616862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 617862bcd1aSmrg 618862bcd1aSmrgcommit 663f47075fe67bab4f99bc5d186c49175d4a4334 619862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 620862bcd1aSmrgDate: Sun Jan 1 20:57:58 2017 -0800 621862bcd1aSmrg 622862bcd1aSmrg specs/libX11: Update Portability Considerations for the 21st century 623862bcd1aSmrg 624862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 625862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 626862bcd1aSmrg 627862bcd1aSmrgcommit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 628862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 629862bcd1aSmrgDate: Sun Jan 1 20:39:53 2017 -0800 630862bcd1aSmrg 631862bcd1aSmrg specs/libX11: Fix broken synopsis for Data/Data16/Data32 632862bcd1aSmrg 633862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 634862bcd1aSmrg 635862bcd1aSmrgcommit 382561951e3460b09c21a1a23748cde0315fbb19 636862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 637862bcd1aSmrgDate: Sun Jan 1 20:31:54 2017 -0800 638862bcd1aSmrg 639862bcd1aSmrg specs/libX11: Add missing parameter types for XGetWindowProperty() 640862bcd1aSmrg 641862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 642862bcd1aSmrg 643862bcd1aSmrgcommit 2beaecdb66965b861d6b790d151ba947f65f0a22 644862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 645862bcd1aSmrgDate: Sun Jan 1 20:16:08 2017 -0800 646862bcd1aSmrg 647862bcd1aSmrg specs/libX11: Make paramdef spacing more consistent 648862bcd1aSmrg 649862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 650862bcd1aSmrg 651862bcd1aSmrgcommit 4c436c6c14cfd4c397b011563bf13c2872861133 652862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 653862bcd1aSmrgDate: Sun Jan 1 20:02:53 2017 -0800 654862bcd1aSmrg 655862bcd1aSmrg specs/libX11: Fix paramdef entries listing multiple parameters 656862bcd1aSmrg 657862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 658862bcd1aSmrg 659862bcd1aSmrgcommit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 660862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 661862bcd1aSmrgDate: Sun Jan 1 19:38:40 2017 -0800 662862bcd1aSmrg 663862bcd1aSmrg specs/libX11: More synopsis fixes 664862bcd1aSmrg 665862bcd1aSmrg Mostly transforming macro definitions and functions taking void arguments 666862bcd1aSmrg from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 667862bcd1aSmrg 668862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 669862bcd1aSmrg 670862bcd1aSmrgcommit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 671862bcd1aSmrgAuthor: Lucien Gentis <lucien.gentis@waika9.com> 672862bcd1aSmrgDate: Wed Jun 1 17:02:47 2016 +0200 673862bcd1aSmrg 674862bcd1aSmrg Typos in "Xlib - C Language X Interface" document - Chapter 02 675862bcd1aSmrg 676862bcd1aSmrg This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 677862bcd1aSmrg 678862bcd1aSmrg Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 679862bcd1aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 680862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 681862bcd1aSmrg 682862bcd1aSmrgcommit 20a3f99eba5001925b8b313da3accb7900eb1927 683862bcd1aSmrgAuthor: Emilio Pozuelo Monfort <pochu@debian.org> 684862bcd1aSmrgDate: Tue Oct 25 21:30:15 2016 +0200 685862bcd1aSmrg 686862bcd1aSmrg Plug a memory leak 687862bcd1aSmrg 688862bcd1aSmrg This was introduced in 8ea762f. 689862bcd1aSmrg 690862bcd1aSmrg Reported-by: Julien Cristau <jcristau@debian.org> 691862bcd1aSmrg Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 692862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 693862bcd1aSmrg 6942d67cb4fSmrgcommit 8f349feac24aacc958bd816afcc52380764e3d92 6952d67cb4fSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 6962d67cb4fSmrgDate: Tue Oct 4 21:01:39 2016 +0200 6972d67cb4fSmrg 6982d67cb4fSmrg libX11 1.6.4 6992d67cb4fSmrg 7002d67cb4fSmrg Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 7012d67cb4fSmrg 7022d67cb4fSmrgcommit 8ea762f94f4c942d898fdeb590a1630c83235c17 7032d67cb4fSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 7042d67cb4fSmrgDate: Sun Sep 25 21:25:25 2016 +0200 7052d67cb4fSmrg 7062d67cb4fSmrg Validation of server responses in XGetImage() 7072d67cb4fSmrg 7082d67cb4fSmrg Check if enough bytes were received for specified image type and 7092d67cb4fSmrg geometry. Otherwise GetPixel and other functions could trigger an 7102d67cb4fSmrg out of boundary read later on. 7112d67cb4fSmrg 7122d67cb4fSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 7132d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7142d67cb4fSmrg 7152d67cb4fSmrgcommit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 7162d67cb4fSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 7172d67cb4fSmrgDate: Sun Sep 25 21:22:57 2016 +0200 7182d67cb4fSmrg 7192d67cb4fSmrg The validation of server responses avoids out of boundary accesses. 7202d67cb4fSmrg 7212d67cb4fSmrg v2: FontNames.c return a NULL list whenever a single 7222d67cb4fSmrg length field from the server is incohent. 7232d67cb4fSmrg 7242d67cb4fSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 7252d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7262d67cb4fSmrg 7272d67cb4fSmrgcommit 78851f6a03130e3c720b60c3cbf96f8eb216d741 7282d67cb4fSmrgAuthor: walter harms <wharms@bfs.de> 7292d67cb4fSmrgDate: Mon Aug 15 19:18:14 2016 +0200 7302d67cb4fSmrg 7312d67cb4fSmrg XFree will accept NULL as argument 7322d67cb4fSmrg 7332d67cb4fSmrg since Xfree is a define for free(): 7342d67cb4fSmrg Xlibint.h:#define Xfree(ptr) free((ptr)) 7352d67cb4fSmrg 7362d67cb4fSmrg Xfree will accept NULL and do nothing. 7372d67cb4fSmrg 7382d67cb4fSmrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 7392d67cb4fSmrg 7402d67cb4fSmrgcommit 83adf3d1e3d0d6602244381334f75c216da4ab6e 7412d67cb4fSmrgAuthor: Matthew D. Fuller <fullermd@over-yonder.net> 7422d67cb4fSmrgDate: Sat Jun 4 11:24:01 2016 -0500 7432d67cb4fSmrg 7442d67cb4fSmrg Fixup param specification for XChangeProperty() 7452d67cb4fSmrg 7462d67cb4fSmrg Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 7472d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 7482d67cb4fSmrg 7492d67cb4fSmrgcommit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 7502d67cb4fSmrgAuthor: Mats Blakstad <mats.gbproject@gmail.com> 7512d67cb4fSmrgDate: Sun Feb 28 13:22:03 2016 -0500 7522d67cb4fSmrg 7532d67cb4fSmrg New compose keys for local languages in Togo 7542d67cb4fSmrg 7552d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 7562d67cb4fSmrg 7572d67cb4fSmrgcommit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 7582d67cb4fSmrgAuthor: Daniel Albers <daniel@lbe.rs> 7592d67cb4fSmrgDate: Wed Mar 9 14:35:48 2016 +0100 7602d67cb4fSmrg 7612d67cb4fSmrg Add Compose sequence for U+1F4A9. 7622d67cb4fSmrg 7632d67cb4fSmrg Signed-off-by: Daniel Albers <daniel@lbe.rs> 7642d67cb4fSmrg 7652d67cb4fSmrgcommit 6d7bb040c928485f2557c2c914b95cffb2354179 7662d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7672d67cb4fSmrgDate: Sat Feb 6 14:18:32 2016 -0800 7682d67cb4fSmrg 7692d67cb4fSmrg xcms: use size_t for pointer offsets passed to strncmp 7702d67cb4fSmrg 7712d67cb4fSmrg instead of converting to int and back 7722d67cb4fSmrg 7732d67cb4fSmrg Fixes clang warnings of the form: 7742d67cb4fSmrg HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 7752d67cb4fSmrg 'unsigned long' [-Wsign-conversion] 7762d67cb4fSmrg if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 7772d67cb4fSmrg ~~~~~~~ 7782d67cb4fSmrg 7792d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7802d67cb4fSmrg 7812d67cb4fSmrgcommit a9266804eed38a83897ab5f0f9f8a8ab82a98882 7822d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7832d67cb4fSmrgDate: Sat Feb 6 13:32:44 2016 -0800 7842d67cb4fSmrg 7852d67cb4fSmrg xcms: use unsigned indexes when looping through unsigned values 7862d67cb4fSmrg 7872d67cb4fSmrg Clears many gcc warnings of the form: 7882d67cb4fSmrg 7892d67cb4fSmrg uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 7902d67cb4fSmrg uvY.c:263:19: warning: comparison between signed and unsigned integer 7912d67cb4fSmrg expressions [-Wsign-compare] 7922d67cb4fSmrg for (i = 0; i < nColors; i++, pColor++) { 7932d67cb4fSmrg ^ 7942d67cb4fSmrg 7952d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7962d67cb4fSmrg 7972d67cb4fSmrgcommit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 7982d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7992d67cb4fSmrgDate: Sat Feb 6 13:01:25 2016 -0800 8002d67cb4fSmrg 8012d67cb4fSmrg xcms: use size_t for strlen/sizeof values instead of converting to int & back 8022d67cb4fSmrg 8032d67cb4fSmrg Fixes gcc warnings of the form: 8042d67cb4fSmrg 8052d67cb4fSmrg IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 8062d67cb4fSmrg IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 8072d67cb4fSmrg if ((len = strlen(prefix)) >= sizeof(string_buf)) { 8082d67cb4fSmrg ^ 8092d67cb4fSmrg IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 8102d67cb4fSmrg if (len >= sizeof(string_buf)) Xfree(string_lowered); 8112d67cb4fSmrg ^ 8122d67cb4fSmrg IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 8132d67cb4fSmrg if (len >= sizeof(string_buf)) Xfree(string_lowered); 8142d67cb4fSmrg ^ 8152d67cb4fSmrg IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 8162d67cb4fSmrg if (len >= sizeof(string_buf)) Xfree(string_lowered); 8172d67cb4fSmrg ^ 8182d67cb4fSmrg 8192d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8202d67cb4fSmrg 8212d67cb4fSmrgcommit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 8222d67cb4fSmrgAuthor: Dominik Muth <nxdomainuser-muth@yahoo.com> 8232d67cb4fSmrgDate: Thu Mar 26 07:52:58 2015 +0100 8242d67cb4fSmrg 8252d67cb4fSmrg Xlib.h: Fix macros imitating C functions. 8262d67cb4fSmrg 8272d67cb4fSmrg The basic rule "put parantheses around macro parameters" should be 8282d67cb4fSmrg observed where possible. Otherwise code like 8292d67cb4fSmrg 8302d67cb4fSmrg ConnectionNumber(foo = bar); 8312d67cb4fSmrg 8322d67cb4fSmrg fails to compile. (It obviously passes if ConnectionNumber is a C 8332d67cb4fSmrg function.) There are several other macros amended for the same reason. 8342d67cb4fSmrg 8352d67cb4fSmrg This bug appeared while building http://ioccc.org/1993/cmills.c, so 8362d67cb4fSmrg historically it was not present. 8372d67cb4fSmrg 8382d67cb4fSmrg Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 8392d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8402d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8412d67cb4fSmrg 8422d67cb4fSmrgcommit 3706b0f2b14cc97578a6bee620266edca2722ebf 8432d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8442d67cb4fSmrgDate: Fri Nov 15 18:03:25 2013 -0800 8452d67cb4fSmrg 8462d67cb4fSmrg Don't need to link libX11-xcb against libX11 8472d67cb4fSmrg 8482d67cb4fSmrg libX11-xcb only accesses data structures defined in X11 headers, 8492d67cb4fSmrg it doesn't call any functions or reference any global variables 8502d67cb4fSmrg in libX11 itself. (Seems to have been left from previous XCL 8512d67cb4fSmrg implementation.) 8522d67cb4fSmrg 8532d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8542d67cb4fSmrg 8552d67cb4fSmrgcommit eddf1bbd18872b286a9f939140f0cd9ba4e93804 8562d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8572d67cb4fSmrgDate: Fri Jan 22 11:44:25 2016 -0800 8582d67cb4fSmrg 8592d67cb4fSmrg Stop checking for preferred order of local transports 8602d67cb4fSmrg 8612d67cb4fSmrg Removes --with-local-transport-order=... flag to configure. 8622d67cb4fSmrg 8632d67cb4fSmrg Code which used this ordered list was removed in commit 15e5eaf6289 8642d67cb4fSmrg which outsourced X11 connection handling & authentication to libxcb. 8652d67cb4fSmrg 8662d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8672d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 8682d67cb4fSmrg 8692d67cb4fSmrgcommit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 8702d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8712d67cb4fSmrgDate: Fri Jan 22 09:39:28 2016 -0800 8722d67cb4fSmrg 8732d67cb4fSmrg Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 8742d67cb4fSmrg 8752d67cb4fSmrg Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 8762d67cb4fSmrg 8772d67cb4fSmrg Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 8782d67cb4fSmrg which outsourced X11 connection handling & authentication to libxcb. 8792d67cb4fSmrg 8802d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8812d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 8822d67cb4fSmrg 8832d67cb4fSmrgcommit 7eb724dc24505f1591ef32620fa63f079b540646 8842d67cb4fSmrgAuthor: Olivier Fourdan <ofourdan@redhat.com> 8852d67cb4fSmrgDate: Thu Jan 21 11:54:19 2016 +0100 8862d67cb4fSmrg 8872d67cb4fSmrg XKB: fix XkbGetKeyboardByName with Xming server 8882d67cb4fSmrg 8892d67cb4fSmrg XkbGetKeyboardByName relies on flags to read the data from the server. 8902d67cb4fSmrg 8912d67cb4fSmrg If the X server sends us the wrong flags or if a subreply is smaller 8922d67cb4fSmrg than it should be, XkbGetKeyboardByName will not read all the available 8932d67cb4fSmrg data and leave data in the buffer, which will cause the next _XReply() 8942d67cb4fSmrg to fail with: 8952d67cb4fSmrg 8962d67cb4fSmrg [xcb] Extra reply data still left in queue 8972d67cb4fSmrg [xcb] This is most likely caused by a broken X extension library 8982d67cb4fSmrg [xcb] Aborting, sorry about that. 8992d67cb4fSmrg xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 9002d67cb4fSmrg Aborted 9012d67cb4fSmrg 9022d67cb4fSmrg Check if there is some extra data left at the end of 9032d67cb4fSmrg XkbGetKeyboardByName() and discard that data if any is found. 9042d67cb4fSmrg 9052d67cb4fSmrg Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 9062d67cb4fSmrg root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 9072d67cb4fSmrg with the analysis! 9082d67cb4fSmrg 9092d67cb4fSmrg Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 9102d67cb4fSmrg Reviewed-by: Daniel Stone <daniels@collabora.com> 9112d67cb4fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9122d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9132d67cb4fSmrg 9142d67cb4fSmrgcommit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 9152d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9162d67cb4fSmrgDate: Sat Dec 19 18:03:41 2015 -0800 9172d67cb4fSmrg 9182d67cb4fSmrg lcPubWrap: replace malloc(strlen) + strcpy with strdup 9192d67cb4fSmrg 9202d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9212d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9222d67cb4fSmrg 9232d67cb4fSmrgcommit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 9242d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9252d67cb4fSmrgDate: Sat Dec 19 10:21:04 2015 -0800 9262d67cb4fSmrg 9272d67cb4fSmrg XlcDL.c: reduce code duplication 9282d67cb4fSmrg 9292d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9302d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9312d67cb4fSmrg 9322d67cb4fSmrgcommit f7ecc0856be58608881d2086954cb71857ad64e1 9332d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9342d67cb4fSmrgDate: Sat Dec 19 10:19:25 2015 -0800 9352d67cb4fSmrg 9362d67cb4fSmrg XlcDL.c: replace strcpy+strcat sequences with snprintf 9372d67cb4fSmrg 9382d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9392d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9402d67cb4fSmrg 9412d67cb4fSmrgcommit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 9422d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9432d67cb4fSmrgDate: Sat Dec 19 10:05:42 2015 -0800 9442d67cb4fSmrg 9452d67cb4fSmrg XDefaultOMIF: Remove comments referring to ancient Sun bug ids 9462d67cb4fSmrg 9472d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9482d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9492d67cb4fSmrg 9502d67cb4fSmrgcommit b738a104ae80e4270dd1d215ad0c6a80016982c2 9512d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9522d67cb4fSmrgDate: Sat Dec 19 10:00:22 2015 -0800 9532d67cb4fSmrg 9542d67cb4fSmrg XDefaultOMIF: additional code simplification 9552d67cb4fSmrg 9562d67cb4fSmrg Don't need to test for a case that we already returned for, don't need 9572d67cb4fSmrg to store a count that will only ever be 1 if we didn't return, don't 9582d67cb4fSmrg need to increment pointers to allow storing more than one item when we 9592d67cb4fSmrg can only ever possibly do one. 9602d67cb4fSmrg 9612d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9622d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9632d67cb4fSmrg 9642d67cb4fSmrgcommit 31011cf100419269eae7409581c784638be503cf 9652d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9662d67cb4fSmrgDate: Sat Dec 19 09:46:31 2015 -0800 9672d67cb4fSmrg 9682d67cb4fSmrg XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 9692d67cb4fSmrg 9702d67cb4fSmrg Code seems to have been originally written to handle appending multiple 9712d67cb4fSmrg strings, but only ever operates on a single string. 9722d67cb4fSmrg 9732d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9742d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9752d67cb4fSmrg 9762d67cb4fSmrgcommit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 9772d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9782d67cb4fSmrgDate: Sat Dec 19 09:20:55 2015 -0800 9792d67cb4fSmrg 9802d67cb4fSmrg Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 9812d67cb4fSmrg 9822d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9832d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9842d67cb4fSmrg 9852d67cb4fSmrgcommit 4359dfabc04af082872d2bc2d5b52e26d6d93290 9862d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9872d67cb4fSmrgDate: Fri Dec 4 22:20:53 2015 -0800 9882d67cb4fSmrg 9892d67cb4fSmrg Delete #if 0 hunks of code 9902d67cb4fSmrg 9912d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9922d67cb4fSmrg 9932d67cb4fSmrgcommit a2f9dfac286f37e54eb47d4736cc3f0150224a84 9942d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9952d67cb4fSmrgDate: Thu Dec 3 23:38:07 2015 -0800 9962d67cb4fSmrg 9972d67cb4fSmrg Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 9982d67cb4fSmrg 9992d67cb4fSmrg Rework code to store allocations directly into XIM struct instead of 10002d67cb4fSmrg temporary local variables, so we can use _XCloseIM to unwind instead 10012d67cb4fSmrg of duplicating it, and consistently jump to error handler on failure, 10022d67cb4fSmrg instead of sometimes leaking and sometimes freeing. 10032d67cb4fSmrg 10042d67cb4fSmrg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 10052d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10062d67cb4fSmrg 10072d67cb4fSmrgcommit 07a97b3944467dce085a1efd24706cc851d2caf2 10082d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 10092d67cb4fSmrgDate: Thu Dec 3 23:19:48 2015 -0800 10102d67cb4fSmrg 10112d67cb4fSmrg Bug 93184: read_EncodingInfo invalid free 10122d67cb4fSmrg 10132d67cb4fSmrg Free the correct bits of memory if we run out and need to unwind 10142d67cb4fSmrg 10152d67cb4fSmrg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 10162d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10172d67cb4fSmrg 10182d67cb4fSmrgcommit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 10192d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 10202d67cb4fSmrgDate: Sat Nov 28 13:18:11 2015 -0800 10212d67cb4fSmrg 10222d67cb4fSmrg Remove unused definition of XCONN_CHECK_FREQ 10232d67cb4fSmrg 10242d67cb4fSmrg The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 10252d67cb4fSmrg when we dropped the old Xlib connection handling in favor of xcb's. 10262d67cb4fSmrg 10272d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10282d67cb4fSmrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 10292d67cb4fSmrg 10302d67cb4fSmrgcommit 5f0da8311a61498edf073cc877f5b467bfd5f863 10312d67cb4fSmrgAuthor: James Cloos <cloos@jhcloos.com> 10322d67cb4fSmrgDate: Thu Dec 3 18:24:44 2015 -0500 10332d67cb4fSmrg 10342d67cb4fSmrg Fix another missing update in cf4d5989383a 10352d67cb4fSmrg 10362d67cb4fSmrg Reported in: 10372d67cb4fSmrg 10382d67cb4fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 10392d67cb4fSmrg 10402d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 10412d67cb4fSmrg 10422d67cb4fSmrgcommit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 10432d67cb4fSmrgAuthor: James Cloos <cloos@jhcloos.com> 10442d67cb4fSmrgDate: Thu Dec 3 18:15:40 2015 -0500 10452d67cb4fSmrg 10462d67cb4fSmrg Fix missing update in cf4d5989383a 10472d67cb4fSmrg 10482d67cb4fSmrg Reported in: 10492d67cb4fSmrg 10502d67cb4fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 10512d67cb4fSmrg 10522d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 10532d67cb4fSmrg 10542d67cb4fSmrgcommit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 10552d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 10562d67cb4fSmrgDate: Sun Sep 27 18:38:32 2015 -0700 10572d67cb4fSmrg 10582d67cb4fSmrg Get rid of some extraneous ; at the end of C source lines 10592d67cb4fSmrg 10602d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10612d67cb4fSmrg Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 10622d67cb4fSmrg 10632d67cb4fSmrgcommit 121a1bad334459f66f78bfca6df53dc841cf97f8 10642d67cb4fSmrgAuthor: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 10652d67cb4fSmrgDate: Wed Sep 23 11:44:55 2015 -0400 10662d67cb4fSmrg 10672d67cb4fSmrg Add compose file for pt_PT similar to pt_BR 10682d67cb4fSmrg 10692d67cb4fSmrg This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 10702d67cb4fSmrg 10712d67cb4fSmrg One of the conclusions from the discussion on that bug report, which 10722d67cb4fSmrg basically is about typing the ccedilla character easily on a non- 10732d67cb4fSmrg Portuguese keyboard, is that X11 should include a compose file for 10742d67cb4fSmrg pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 10752d67cb4fSmrg 10762d67cb4fSmrg FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 10772d67cb4fSmrg 10782d67cb4fSmrg Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 10792d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 10802d67cb4fSmrg 10812d67cb4fSmrgcommit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 10822d67cb4fSmrgAuthor: Julien Cristau <jcristau@debian.org> 10832d67cb4fSmrgDate: Fri May 1 13:50:15 2015 +0200 10842d67cb4fSmrg 10852d67cb4fSmrg Mark _XNextRequest as hidden 10862d67cb4fSmrg 10872d67cb4fSmrg It's only used inside XNextRequest(), so doesn't need to be exported. 10882d67cb4fSmrg 10892d67cb4fSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 10902d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10912d67cb4fSmrg 10922d67cb4fSmrgcommit a72d2d06c002b644b7040a0a9936c8525e092ba8 10932d67cb4fSmrgAuthor: Christian Linhart <chris@demorecorder.com> 10942d67cb4fSmrgDate: Mon Sep 7 17:17:32 2015 +0200 10952d67cb4fSmrg 10962d67cb4fSmrg fix for Xlib 32-bit request number issues 10972d67cb4fSmrg 10982d67cb4fSmrg Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 10992d67cb4fSmrg the 32-bit sequence number wrap in libX11. 11002d67cb4fSmrg 11012d67cb4fSmrg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 11022d67cb4fSmrg Signed-off-by: Christian Linhart <chris@demorecorder.com> 11032d67cb4fSmrg Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 11042d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 11052d67cb4fSmrg 11062d67cb4fSmrgcommit 58af066a764305c506efea7065ef7679369a1a98 11072d67cb4fSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 11082d67cb4fSmrgDate: Sun Jul 19 10:23:21 2015 +0200 11092d67cb4fSmrg 11102d67cb4fSmrg Ignore test-driver (used by newer autoconf). 11112d67cb4fSmrg 11122d67cb4fSmrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 11132d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11142d67cb4fSmrg 11152d67cb4fSmrgcommit 80b9a346b9ba200fa4652560282e80d249519287 11162d67cb4fSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 11172d67cb4fSmrgDate: Sun Jul 19 10:22:45 2015 +0200 11182d67cb4fSmrg 11192d67cb4fSmrg Do not return() after exit(). 11202d67cb4fSmrg 11212d67cb4fSmrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 11222d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11232d67cb4fSmrg 11242d67cb4fSmrgcommit c827edcd1c4a7f920aa25208083b5b58d60d2b44 11252d67cb4fSmrgAuthor: Ross Burton <ross.burton@intel.com> 11262d67cb4fSmrgDate: Mon May 18 14:49:01 2015 +0100 11272d67cb4fSmrg 11282d67cb4fSmrg Add missing NULL checks to ICWrap 11292d67cb4fSmrg 11302d67cb4fSmrg ICWrap.c dereferences the xim parameter passed in from client code without a 11312d67cb4fSmrg NULL check. I have seen mplayer trigger this resulting in a segfault. In this 11322d67cb4fSmrg case mplayer had called XOpenIM and NULL was returned which was later passed 11332d67cb4fSmrg into XCreateIC. 11342d67cb4fSmrg 11352d67cb4fSmrg Patch originally by Drew Moseley <drew_moseley@mentor.com>. 11362d67cb4fSmrg 11372d67cb4fSmrg Signed-off-by: Ross Burton <ross.burton@intel.com> 11382d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11392d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11402d67cb4fSmrg 11412d67cb4fSmrgcommit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 11422d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 11432d67cb4fSmrgDate: Thu Jun 4 20:51:17 2015 -0700 11442d67cb4fSmrg 11452d67cb4fSmrg Replace Xmalloc+memset pairs with Xcalloc calls 11462d67cb4fSmrg 11472d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11482d67cb4fSmrg 11492d67cb4fSmrgcommit f0286b2770ece10aef5e2e8c004260217f12fd25 11502d67cb4fSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com> 11512d67cb4fSmrgDate: Thu Jun 4 19:07:12 2015 -0700 11522d67cb4fSmrg 11532d67cb4fSmrg omGeneric.c: Correct the parameter usage of sizeof 11542d67cb4fSmrg 11552d67cb4fSmrg Incorrect parameter usage with sizeof. Earlier passed argument FontData 11562d67cb4fSmrg will be 4 bytes always as its a pointer hence the change is needed and 11572d67cb4fSmrg FontDataRec should be used for memset. 11582d67cb4fSmrg 11592d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11602d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11612d67cb4fSmrg 11622d67cb4fSmrgcommit 47da70d75f9e48e800719c0db752f9ccd2d77aea 11632d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11642d67cb4fSmrgDate: Tue May 19 12:30:22 2015 +1000 11652d67cb4fSmrg 11662d67cb4fSmrg Fix three "use of uninitialized variable" coverity warnings 11672d67cb4fSmrg 11682d67cb4fSmrg False positive, if rlen/nbytes are unset we quit early before using it. Still, 11692d67cb4fSmrg initialize it so we don't have to deal with these warnings again. 11702d67cb4fSmrg 11712d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11722d67cb4fSmrg Reviewed-by: Hans de Goede <hdegoede@redhat.com> 11732d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11742d67cb4fSmrg 11752d67cb4fSmrgcommit 19a30f17f30e9ae9641a7c0634fc52134208b060 11762d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11772d67cb4fSmrgDate: Mon May 18 07:56:22 2015 +1000 11782d67cb4fSmrg 11792d67cb4fSmrg Fix an indentation issue 11802d67cb4fSmrg 11812d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11822d67cb4fSmrg Reviewed-by: Hans de Goede <hdegoede@redhat.com> 11832d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11842d67cb4fSmrg 11852d67cb4fSmrgcommit 013ccece124b990217ad3bcf2c41688e8fda1df8 11862d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11872d67cb4fSmrgDate: Mon May 18 07:55:17 2015 +1000 11882d67cb4fSmrg 11892d67cb4fSmrg Fix potential memory leak 11902d67cb4fSmrg 11912d67cb4fSmrg If we hit the depth limit, filename leaks. Move the depth check up before we 11922d67cb4fSmrg allocate filename. 11932d67cb4fSmrg Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 11942d67cb4fSmrg 11952d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11962d67cb4fSmrg Reviewed-by: Hans de Goede <hdegoede@redhat.com> 11972d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11982d67cb4fSmrg 11992d67cb4fSmrgcommit d3415d1f052530760b4617db45affcb984cfe35c 12002d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com> 12012d67cb4fSmrgDate: Mon Apr 20 17:59:30 2015 +0200 12022d67cb4fSmrg 12032d67cb4fSmrg Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 12042d67cb4fSmrg 12052d67cb4fSmrg Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 12062d67cb4fSmrg locales fixed it only partly, I introduced a new spelling mistake 12072d67cb4fSmrg in the sd_IN locales. This patch fixes this. 12082d67cb4fSmrg 12092d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 12102d67cb4fSmrg 12112d67cb4fSmrgcommit 748d47e69f5c12d8557d56a8a8ec166588da7b93 12122d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com> 12132d67cb4fSmrgDate: Wed Feb 19 11:46:45 2014 +0100 12142d67cb4fSmrg 12152d67cb4fSmrg fix spelling mistakes in ks_IN and sd_IN devanagari locales 12162d67cb4fSmrg 12172d67cb4fSmrg The codeset must be *before* the modifier. 12182d67cb4fSmrg 12192d67cb4fSmrg See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 12202d67cb4fSmrg 12212d67cb4fSmrg opengroup> The syntax for these environment variables is thus defined as: 12222d67cb4fSmrg opengroup> 12232d67cb4fSmrg opengroup> [language[_territory][.codeset][@modifier]] 12242d67cb4fSmrg 12252d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 12262d67cb4fSmrg 12272d67cb4fSmrgcommit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 12282d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com> 12292d67cb4fSmrgDate: Wed Feb 19 11:50:55 2014 +0100 12302d67cb4fSmrg 12312d67cb4fSmrg add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 12322d67cb4fSmrg 12332d67cb4fSmrg See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 12342d67cb4fSmrg 12352d67cb4fSmrg If these are not in locale.dir, 12362d67cb4fSmrg 12372d67cb4fSmrg $ LANG=sr_RS.UTF-8@latin xterm 12382d67cb4fSmrg 12392d67cb4fSmrg and 12402d67cb4fSmrg 12412d67cb4fSmrg $ LANG=sr_RS@latin xterm 12422d67cb4fSmrg 12432d67cb4fSmrg give the warning: 12442d67cb4fSmrg 12452d67cb4fSmrg Warning: locale not supported by Xlib, locale set to C 12462d67cb4fSmrg 12472d67cb4fSmrg and some programs (like xmms) fail to find translations for Serbian 12482d67cb4fSmrg in Latin because of this. 12492d67cb4fSmrg 12502d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 12512d67cb4fSmrg 12522d67cb4fSmrgcommit c85be01b006126c4407eebd1eb6e01a17312b7b4 12532d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 12542d67cb4fSmrgDate: Sun Mar 22 16:46:45 2015 -0700 12552d67cb4fSmrg 12562d67cb4fSmrg Move Compose \ o / to be with other emoji compose sequences 12572d67cb4fSmrg 12582d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12592d67cb4fSmrg 12600f8248bfSmrgcommit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 12610f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 12620f8248bfSmrgDate: Mon Mar 9 15:28:29 2015 -0700 12630f8248bfSmrg 12640f8248bfSmrg libX11 1.6.3 12650f8248bfSmrg 12660f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12670f8248bfSmrg 12680f8248bfSmrgcommit c8e19b393defd53f046ddc2da3a16881221b3c34 12690f8248bfSmrgAuthor: Joonas Javanainen <joonas.javanainen@gmail.com> 12700f8248bfSmrgDate: Thu Feb 5 17:31:04 2015 +0200 12710f8248bfSmrg 12720f8248bfSmrg Fix XErrorEvent struct field order in man page 12730f8248bfSmrg 12740f8248bfSmrg In the man page the field "resourceid" was in a different place than 12750f8248bfSmrg in the actual struct layout in Xlib.h 12760f8248bfSmrg 12770f8248bfSmrg Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 12780f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 12790f8248bfSmrg 12800f8248bfSmrgcommit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 12810f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 12820f8248bfSmrgDate: Tue Feb 3 13:23:50 2015 -0500 12830f8248bfSmrg 12840f8248bfSmrg compose: fix the description of modifiers in compose sequences 12850f8248bfSmrg 12860f8248bfSmrg The Compose format has a feature which allows specifying certain 12870f8248bfSmrg modifiers must (or must not) be present with a given keysym in the 12880f8248bfSmrg sequence. 12890f8248bfSmrg 12900f8248bfSmrg The grammar in imLcPrs.c and the Compose man page both do not match what 12910f8248bfSmrg the code actually does (see the handling of the variables 12920f8248bfSmrg `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 12930f8248bfSmrg eventually matched as `ev->state & modifier_mask == modifier`). 12940f8248bfSmrg 12950f8248bfSmrg Also explicitly list the accepted modifier names, since they are 12960f8248bfSmrg not standard (e.g. "Ctrl" instead of "Control"). 12970f8248bfSmrg 12980f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 12990f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13000f8248bfSmrg 13010f8248bfSmrgcommit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 13020f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 13030f8248bfSmrgDate: Tue Feb 3 13:23:49 2015 -0500 13040f8248bfSmrg 13050f8248bfSmrg xkb: fix misleading comment about consumed modifiers 13060f8248bfSmrg 13070f8248bfSmrg In the spec and the man page the `mods_rtrn` argument is described as 13080f8248bfSmrg "backfilled with unconsumed modifiers" but actually it is backfilled 13090f8248bfSmrg with the *consumed* modifiers. This is also mentioned a few lines below 13100f8248bfSmrg in each case. 13110f8248bfSmrg 13120f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 13130f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13140f8248bfSmrg 13150f8248bfSmrgcommit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 13160f8248bfSmrgAuthor: Ingo Schwarze <schwarze@usta.de> 13170f8248bfSmrgDate: Tue Dec 9 10:44:13 2014 +0100 13180f8248bfSmrg 13190f8248bfSmrg Fix pasto in XkbGetKeyBehaviors(3) manual 13200f8248bfSmrg 13210f8248bfSmrg Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 13220f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 13230f8248bfSmrg 13240f8248bfSmrgcommit f3831dde6972e4da9e018c6a5f4013d8756a5e78 13250f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 13260f8248bfSmrgDate: Sun Nov 23 21:35:36 2014 +0100 13270f8248bfSmrg 13280f8248bfSmrg nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 13290f8248bfSmrg 13300f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 13310f8248bfSmrg 13320f8248bfSmrgcommit a51681b60c84109fe19f5d449e13080522499324 13330f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 13340f8248bfSmrgDate: Thu Sep 19 16:42:01 2013 +0200 13350f8248bfSmrg 13360f8248bfSmrg nls: Remove a duplicate locale name, and sort some others more strictly. 13370f8248bfSmrg 13380f8248bfSmrg Also improve the grammar of the initial comment. 13390f8248bfSmrg 13400f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 13410f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13420f8248bfSmrg 13430f8248bfSmrgcommit 426b7f850f5376db96a4b12420ee141603fcc3cd 13440f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 13450f8248bfSmrgDate: Fri Sep 20 12:37:29 2013 +0200 13460f8248bfSmrg 13470f8248bfSmrg nls: Add a comment to the block of accented Hebrew letters. 13480f8248bfSmrg 13490f8248bfSmrg And align them in a nicer manner. 13500f8248bfSmrg 13510f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 13520f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13530f8248bfSmrg 13540f8248bfSmrgcommit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 13550f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 13560f8248bfSmrgDate: Fri Sep 20 12:05:09 2013 +0200 13570f8248bfSmrg 13580f8248bfSmrg nls: Add one lowercase compose variant for ®, to mirror those for ©. 13590f8248bfSmrg 13600f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 13610f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13620f8248bfSmrg 13630f8248bfSmrgcommit 18dcd13514fa538afefa78c93523d9dbd4688e74 13640f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 13650f8248bfSmrgDate: Sat Sep 7 20:10:43 2013 +0200 13660f8248bfSmrg 13670f8248bfSmrg nls: Adding the visual composing characters to two comment lines. 13680f8248bfSmrg 13690f8248bfSmrg The lines around them also contain the characters in the comments. 13700f8248bfSmrg 13710f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 13720f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13730f8248bfSmrg 13740f8248bfSmrgcommit 18d8307575af748913d5da17e3de45da2a22ede4 13750f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 13760f8248bfSmrgDate: Sat Sep 7 20:09:32 2013 +0200 13770f8248bfSmrg 13780f8248bfSmrg nls: Grouping a lone superscript minus together with its mates. 13790f8248bfSmrg 13800f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 13810f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13820f8248bfSmrg 13830f8248bfSmrgcommit 33301cc45e6a2b8aa841ed6325547af970f8c4db 13840f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 13850f8248bfSmrgDate: Sat Sep 7 19:53:38 2013 +0200 13860f8248bfSmrg 13870f8248bfSmrg nls: Grouping the compose sequences for Dstroke/dstroke together. 13880f8248bfSmrg 13890f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 13900f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 13910f8248bfSmrg 13920f8248bfSmrgcommit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 13930f8248bfSmrgAuthor: Gioele Barabucci <gioele@svario.it> 13940f8248bfSmrgDate: Sun Sep 21 23:05:55 2014 +0200 13950f8248bfSmrg 13960f8248bfSmrg Add compose sequence for U+20B9 INDIAN RUPEE SIGN 13970f8248bfSmrg 13980f8248bfSmrg The compose sequence for the new Indian Rupee sign is modelled after 13990f8248bfSmrg the sequence for the Euro sign. 14000f8248bfSmrg 14010f8248bfSmrg Signed-off-by: Gioele Barabucci <gioele@svario.it> 14020f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 14030f8248bfSmrg 14040f8248bfSmrgcommit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 14050f8248bfSmrgAuthor: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 14060f8248bfSmrgDate: Thu Jul 31 22:23:28 2014 -0300 14070f8248bfSmrg 14080f8248bfSmrg Add double-arrow compose sequence 14090f8248bfSmrg 14100f8248bfSmrg Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 14110f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14120f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14130f8248bfSmrg 14140f8248bfSmrgcommit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 14150f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 14160f8248bfSmrgDate: Fri Aug 1 18:30:42 2014 -0400 14170f8248bfSmrg 14180f8248bfSmrg Add cs_CZ.UTF-8 locale to configure.ac 14190f8248bfSmrg 14200f8248bfSmrg Commit cf4d5989383a should have included this. 14210f8248bfSmrg 14220f8248bfSmrg Reported-by: Colin Harrison <colin.harrison@virgin.net> 14230f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 14240f8248bfSmrg 14250f8248bfSmrgcommit cf4d5989383acc4ed1b7eebadde9f380f2129766 14260f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 14270f8248bfSmrgDate: Tue Jul 29 15:02:56 2014 -0400 14280f8248bfSmrg 14290f8248bfSmrg Add nls for cs_CZ.UTF-8 14300f8248bfSmrg 14310f8248bfSmrg Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 14320f8248bfSmrg override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 14330f8248bfSmrg to enter »ů«, and likewise for the majuscule, for the Czech locale. 14340f8248bfSmrg 14350f8248bfSmrg This evidently is the norm for Czech keyboards. 14360f8248bfSmrg 14370f8248bfSmrg Fixes bz#81875. 14380f8248bfSmrg 14390f8248bfSmrg The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 14400f8248bfSmrg several other locales. That may require an update. 14410f8248bfSmrg 14420f8248bfSmrg Reported-by: Vladimír Marek <vlmarek@volny.cz> 14430f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 14440f8248bfSmrg 14450f8248bfSmrgcommit d9f569572bd14db31921471e7b877523b5cf1e4c 14460f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14470f8248bfSmrgDate: Sat Jul 26 12:17:47 2014 -0700 14480f8248bfSmrg 14490f8248bfSmrg Fix source paths for out-of-tree lintlib builds 14500f8248bfSmrg 14510f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14520f8248bfSmrg 14530f8248bfSmrgcommit 0885cad1e4a9ed57266582be320be55259c881bf 14540f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14550f8248bfSmrgDate: Sun Jul 20 09:21:20 2014 -0700 14560f8248bfSmrg 14570f8248bfSmrg specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 14580f8248bfSmrg 14590f8248bfSmrg Matches the way they were styled in original doc, before conversion 14600f8248bfSmrg to DocBook. 14610f8248bfSmrg 14620f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14630f8248bfSmrg 14640f8248bfSmrgcommit d0a9e9d56bb003315787201ee525b4d00fd54e06 14650f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14660f8248bfSmrgDate: Sat Jul 19 23:55:47 2014 -0700 14670f8248bfSmrg 14680f8248bfSmrg specs/XKB: acknowledge my contributions 14690f8248bfSmrg 14700f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14710f8248bfSmrg 14720f8248bfSmrgcommit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 14730f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14740f8248bfSmrgDate: Sat Jul 19 23:53:48 2014 -0700 14750f8248bfSmrg 14760f8248bfSmrg specs/XKB: Trim leading spaces off text lines 14770f8248bfSmrg 14780f8248bfSmrg perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 14790f8248bfSmrg 14800f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14810f8248bfSmrg 14820f8248bfSmrgcommit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 14830f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14840f8248bfSmrgDate: Sat Jul 19 20:30:55 2014 -0700 14850f8248bfSmrg 14860f8248bfSmrg specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 14870f8248bfSmrg 14880f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14890f8248bfSmrg 14900f8248bfSmrgcommit 5009621799444e9d1d284719f871d00be13e7330 14910f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14920f8248bfSmrgDate: Sat Jul 19 12:34:28 2014 -0700 14930f8248bfSmrg 14940f8248bfSmrg specs/XKB: Fix miscelleanous typos & spelling errors 14950f8248bfSmrg 14960f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14970f8248bfSmrg 14980f8248bfSmrgcommit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 14990f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15000f8248bfSmrgDate: Sat Jul 19 00:46:41 2014 -0700 15010f8248bfSmrg 15020f8248bfSmrg specs/XKB: add some more indexterms by hand 15030f8248bfSmrg 15040f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15050f8248bfSmrg 15060f8248bfSmrgcommit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 15070f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15080f8248bfSmrgDate: Sat Jul 19 00:48:02 2014 -0700 15090f8248bfSmrg 15100f8248bfSmrg specs/XKB: fixup various formatting issues in <programlisting>s 15110f8248bfSmrg 15120f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15130f8248bfSmrg 15140f8248bfSmrgcommit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 15150f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15160f8248bfSmrgDate: Fri Jul 18 23:56:29 2014 -0700 15170f8248bfSmrg 15180f8248bfSmrg specs/XKB: fixup various formatting issues in <literallayout>s 15190f8248bfSmrg 15200f8248bfSmrg Including translating some that are really just lists into 15210f8248bfSmrg <simplelist> markup. 15220f8248bfSmrg 15230f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15240f8248bfSmrg 15250f8248bfSmrgcommit 94b56774784ac00b9db02403aecea10bb0814c10 15260f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15270f8248bfSmrgDate: Fri Jul 18 23:18:52 2014 -0700 15280f8248bfSmrg 15290f8248bfSmrg specs/XKB: add some more links by hand 15300f8248bfSmrg 15310f8248bfSmrg random bits where a link looked handy 15320f8248bfSmrg 15330f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15340f8248bfSmrg 15350f8248bfSmrgcommit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 15360f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15370f8248bfSmrgDate: Fri Jul 18 23:16:31 2014 -0700 15380f8248bfSmrg 15390f8248bfSmrg specs/XKB: add links for terms in definition list under figure 1.1 15400f8248bfSmrg 15410f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15420f8248bfSmrg 15430f8248bfSmrgcommit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 15440f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15450f8248bfSmrgDate: Fri Jul 18 22:52:16 2014 -0700 15460f8248bfSmrg 15470f8248bfSmrg specs/XKB: add links to more tables listing section references 15480f8248bfSmrg 15490f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15500f8248bfSmrg 15510f8248bfSmrgcommit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 15520f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15530f8248bfSmrgDate: Fri Jul 18 22:49:34 2014 -0700 15540f8248bfSmrg 15550f8248bfSmrg specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 15560f8248bfSmrg 15570f8248bfSmrg Page numbers refer to old doc format, didn't translate to new one 15580f8248bfSmrg 15590f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15600f8248bfSmrg 15610f8248bfSmrgcommit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 15620f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15630f8248bfSmrgDate: Sat Jul 19 11:55:51 2014 -0700 15640f8248bfSmrg 15650f8248bfSmrg specs/XKB: remove unwanted white space around C -> struct references 15660f8248bfSmrg 15670f8248bfSmrg perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 15680f8248bfSmrg 15690f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15700f8248bfSmrg 15710f8248bfSmrgcommit 2be0cc0b2abbcc98cfd150210dea415a04787251 15720f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15730f8248bfSmrgDate: Fri Jul 18 22:26:20 2014 -0700 15740f8248bfSmrg 15750f8248bfSmrg specs/XKB: replace -> with → when used as arrow, not in C structs 15760f8248bfSmrg 15770f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15780f8248bfSmrg 15790f8248bfSmrgcommit bf1f3d6f6f995303624679ae546f507c70967dc0 15800f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15810f8248bfSmrgDate: Fri Jul 18 22:21:10 2014 -0700 15820f8248bfSmrg 15830f8248bfSmrg specs/XKB: replace => with ⇒ for double arrows 15840f8248bfSmrg 15850f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15860f8248bfSmrg 15870f8248bfSmrgcommit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 15880f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15890f8248bfSmrgDate: Sat Jul 19 11:33:35 2014 -0700 15900f8248bfSmrg 15910f8248bfSmrg specs/XKB: Markup some ranges with – instead of - 15920f8248bfSmrg 15930f8248bfSmrgcommit ec4075303c6c0d1d64bfe378e585968f9a137da7 15940f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15950f8248bfSmrgDate: Fri Jul 18 22:10:45 2014 -0700 15960f8248bfSmrg 15970f8248bfSmrg specs/XKB: Markup some subtractions with − instead of - 15980f8248bfSmrg 15990f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16000f8248bfSmrg 16010f8248bfSmrgcommit 441a267e461132a38abed205245f028686526f1d 16020f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16030f8248bfSmrgDate: Fri Jul 18 22:04:40 2014 -0700 16040f8248bfSmrg 16050f8248bfSmrg specs/XKB: make sure all files have DOCTYPEs so standard entities work 16060f8248bfSmrg 16070f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16080f8248bfSmrg 16090f8248bfSmrgcommit 88fd70bee410f290b4f540405fdc7ecd85c26f25 16100f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16110f8248bfSmrgDate: Fri Jul 18 21:55:41 2014 -0700 16120f8248bfSmrg 16130f8248bfSmrg specs/XKB: Markup quoted terms as <quote> instead of with "" 16140f8248bfSmrg 16150f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16160f8248bfSmrg 16170f8248bfSmrgcommit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 16180f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16190f8248bfSmrgDate: Sat Jul 19 09:01:26 2014 -0700 16200f8248bfSmrg 16210f8248bfSmrg specs/XKB: fixup newlines between tags and punctuation 16220f8248bfSmrg 16230f8248bfSmrg Get rid of unwanted whitespace before punctuation by moving them to the 16240f8248bfSmrg lines with the tags, instead of before & after. 16250f8248bfSmrg 16260f8248bfSmrg perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 16270f8248bfSmrg 16280f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16290f8248bfSmrg 16300f8248bfSmrgcommit 6d5ec492cd28c206423337f926503349702af5a6 16310f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16320f8248bfSmrgDate: Fri Jul 18 21:29:33 2014 -0700 16330f8248bfSmrg 16340f8248bfSmrg specs/XKB: fixup newlines between tags and parens 16350f8248bfSmrg 16360f8248bfSmrg Get rid of unwanted whitespace inside parens by moving them to the 16370f8248bfSmrg lines with the tags, instead of before & after. 16380f8248bfSmrg 16390f8248bfSmrg perl -i -0 -p \ 16400f8248bfSmrg -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 16410f8248bfSmrg -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 16420f8248bfSmrg 16430f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16440f8248bfSmrg 16450f8248bfSmrgcommit 59d688f4c787250e0b401a92b1db0437d8c60f2d 16460f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16470f8248bfSmrgDate: Fri Jul 18 21:09:24 2014 -0700 16480f8248bfSmrg 16490f8248bfSmrg specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 16500f8248bfSmrg 16510f8248bfSmrg Also add <indexterm> entries for most of them, to make their definitions 16520f8248bfSmrg or introductions easy to find from the index. 16530f8248bfSmrg 16540f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16550f8248bfSmrg 16560f8248bfSmrgcommit 861f3087ee0f501362a67501f384c2ca4c7bfe73 16570f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16580f8248bfSmrgDate: Thu Jul 10 20:00:53 2014 -0700 16590f8248bfSmrg 16600f8248bfSmrg specs/XKB: Manual fixup of type markup 16610f8248bfSmrg 16620f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16630f8248bfSmrg 16640f8248bfSmrgcommit 6b96259dabe52701fd1bcaa0625b574180c4e769 16650f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16660f8248bfSmrgDate: Thu Jul 10 15:00:30 2014 -0700 16670f8248bfSmrg 16680f8248bfSmrg specs/XKB: Manual fixup of parameter markup 16690f8248bfSmrg 16700f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16710f8248bfSmrg 16720f8248bfSmrgcommit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 16730f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16740f8248bfSmrgDate: Thu Jul 10 13:40:40 2014 -0700 16750f8248bfSmrg 16760f8248bfSmrg specs/XKB: Manual fixup of struct name/field markup 16770f8248bfSmrg 16780f8248bfSmrg Handles typos that caused the scripts to miss matches, misnamed structs, etc. 16790f8248bfSmrg 16800f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16810f8248bfSmrg 16820f8248bfSmrgcommit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 16830f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16840f8248bfSmrgDate: Wed Jul 9 23:26:37 2014 -0700 16850f8248bfSmrg 16860f8248bfSmrg specs/XKB: Manual fixup of symbol name markup 16870f8248bfSmrg 16880f8248bfSmrg Handles typos that caused the scripts to miss matches, misnamed masks, etc. 16890f8248bfSmrg 16900f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16910f8248bfSmrg 16920f8248bfSmrgcommit eb1453a0c69606b8af96b90ddccf1b93a069fb35 16930f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16940f8248bfSmrgDate: Wed Jul 9 00:03:23 2014 -0700 16950f8248bfSmrg 16960f8248bfSmrg specs/XKB: Manual fixup of function name markup 16970f8248bfSmrg 16980f8248bfSmrg Handles typos that caused the scripts to miss matches, functions like 16990f8248bfSmrg malloc & free from other libraries, function name patterns, etc. 17000f8248bfSmrg 17010f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17020f8248bfSmrg 17030f8248bfSmrgcommit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 17040f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17050f8248bfSmrgDate: Thu Jul 10 19:42:31 2014 -0700 17060f8248bfSmrg 17070f8248bfSmrg specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 17080f8248bfSmrg 17090f8248bfSmrg No great fit in DocBook, so follow what we used in Xlib spec. 17100f8248bfSmrg 17110f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17120f8248bfSmrg 17130f8248bfSmrgcommit ed60df10aad15057577d5714c955d22d2a446e51 17140f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17150f8248bfSmrgDate: Thu Jul 10 15:45:57 2014 -0700 17160f8248bfSmrg 17170f8248bfSmrg specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 17180f8248bfSmrg 17190f8248bfSmrg Also uses <guilabel> for LED names/labels, for lack of a better fit 17200f8248bfSmrg in DocBook. 17210f8248bfSmrg 17220f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17230f8248bfSmrg 17240f8248bfSmrgcommit f57b91ee497414083cc1bf481d28eb9ad9f965fb 17250f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17260f8248bfSmrgDate: Thu Jul 10 15:41:19 2014 -0700 17270f8248bfSmrg 17280f8248bfSmrg specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 17290f8248bfSmrg 17300f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17310f8248bfSmrg 17320f8248bfSmrgcommit cfd4279c9b59d7e87c9f7c67692c87973adb7667 17330f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17340f8248bfSmrgDate: Thu Jul 10 11:08:14 2014 -0700 17350f8248bfSmrg 17360f8248bfSmrg specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 17370f8248bfSmrg 17380f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17390f8248bfSmrg 17400f8248bfSmrgcommit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 17410f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17420f8248bfSmrgDate: Wed Jul 9 23:30:54 2014 -0700 17430f8248bfSmrg 17440f8248bfSmrg specs/XKB: Markup symbol names in table entries too 17450f8248bfSmrg 17460f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17470f8248bfSmrg 17480f8248bfSmrgcommit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 17490f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17500f8248bfSmrgDate: Tue Jul 8 23:35:48 2014 -0700 17510f8248bfSmrg 17520f8248bfSmrg specs/XKB: Markup *Ptr as <type> instead of <emphasis> 17530f8248bfSmrg 17540f8248bfSmrg perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 17550f8248bfSmrg 17560f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17570f8248bfSmrg 17580f8248bfSmrgcommit 9f6c00629fd4b713082cc11f9150f7aafd272c89 17590f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17600f8248bfSmrgDate: Tue Jul 8 23:34:29 2014 -0700 17610f8248bfSmrg 17620f8248bfSmrg specs/XKB: Markup *Rec as <structname> instead of <emphasis> 17630f8248bfSmrg 17640f8248bfSmrg perl -i -p -e \ 17650f8248bfSmrg 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 17660f8248bfSmrg 17670f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17680f8248bfSmrg 17690f8248bfSmrgcommit 83839e37802b8b752c77859a95de60ad757feb79 17700f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17710f8248bfSmrgDate: Tue Jul 8 23:29:49 2014 -0700 17720f8248bfSmrg 17730f8248bfSmrg specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 17740f8248bfSmrg 17750f8248bfSmrg Performed via: 17760f8248bfSmrg perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 17770f8248bfSmrg /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 17780f8248bfSmrg | sort -u > xkb-defines.pl 17790f8248bfSmrg perl -i -p -f xkb-defines.pl *.xml 17800f8248bfSmrg 17810f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17820f8248bfSmrg 17830f8248bfSmrgcommit 9e397ed37ce4cc70621de347de3a795df88d4506 17840f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17850f8248bfSmrgDate: Tue Jul 8 22:53:12 2014 -0700 17860f8248bfSmrg 17870f8248bfSmrg specs/XKB: Use ° instead of o for degrees. 17880f8248bfSmrg 17890f8248bfSmrg Conversion from framemaker turned superscripted "o" into plain "o". 17900f8248bfSmrg 17910f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 17920f8248bfSmrg 17930f8248bfSmrgcommit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 17940f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17950f8248bfSmrgDate: Tue Jul 8 22:46:03 2014 -0700 17960f8248bfSmrg 17970f8248bfSmrg specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 17980f8248bfSmrg 17990f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18000f8248bfSmrg 18010f8248bfSmrgcommit 33bef065683c8f910f3722730503c0c0699ee8be 18020f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18030f8248bfSmrgDate: Tue Jul 8 22:26:56 2014 -0700 18040f8248bfSmrg 18050f8248bfSmrg specs/XKB: Markup NULL as <symbol> instead of <emphasis> 18060f8248bfSmrg 18070f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18080f8248bfSmrg 18090f8248bfSmrgcommit f10aa1e09468bd28454d85ac8ab55d9dc7178029 18100f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18110f8248bfSmrgDate: Tue Jul 8 22:22:29 2014 -0700 18120f8248bfSmrg 18130f8248bfSmrg specs/XKB: Markup function args as <parameter> instead of <emphasis> 18140f8248bfSmrg 18150f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18160f8248bfSmrg 18170f8248bfSmrgcommit 79ba58cceb69521fcb313c69233cf93a9fcb177f 18180f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18190f8248bfSmrgDate: Mon Jul 7 23:56:13 2014 -0700 18200f8248bfSmrg 18210f8248bfSmrg specs/XKB: Convert remaining error names to errorname tags 18220f8248bfSmrg 18230f8248bfSmrg Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 18240f8248bfSmrg are XKB-specific. (Plus some were badly split across tag boundaries.) 18250f8248bfSmrg 18260f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18270f8248bfSmrg 18280f8248bfSmrgcommit 42b2f5388c399949ece377f9cc9c479c06964972 18290f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18300f8248bfSmrgDate: Mon Jul 7 23:16:56 2014 -0700 18310f8248bfSmrg 18320f8248bfSmrg specs/XKB: manually fixup some more emphasis tagging mismatches 18330f8248bfSmrg 18340f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18350f8248bfSmrg 18360f8248bfSmrgcommit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 18370f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18380f8248bfSmrgDate: Mon Jul 7 23:02:31 2014 -0700 18390f8248bfSmrg 18400f8248bfSmrg specs/XKB: re-normalize <emphasis> layout in xml files 18410f8248bfSmrg 18420f8248bfSmrg Same script as before, just with <!-- xref --> comments out of the way 18430f8248bfSmrg now. 18440f8248bfSmrg 18450f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18460f8248bfSmrg 18470f8248bfSmrgcommit ce95f152eda509263874c53fb7c6b4a6bdab2c29 18480f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18490f8248bfSmrgDate: Mon Jul 7 22:59:25 2014 -0700 18500f8248bfSmrg 18510f8248bfSmrg specs/XKB: Remove remaining xref comments 18520f8248bfSmrg 18530f8248bfSmrg All the places marked by these have been turned into the appropriate 18540f8248bfSmrg link, xref, or olink tags now. 18550f8248bfSmrg 18560f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18570f8248bfSmrg 18580f8248bfSmrgcommit 6590b66e19af8dff68888ac403ac82f5d585b4e2 18590f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18600f8248bfSmrgDate: Mon Jul 7 22:56:36 2014 -0700 18610f8248bfSmrg 18620f8248bfSmrg specs/XKB: make olinks to xkbproto for references in section 10.13 18630f8248bfSmrg 18640f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18650f8248bfSmrg 18660f8248bfSmrgcommit fcda446877a62e7443d7bc704ba3610e90d1e755 18670f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18680f8248bfSmrgDate: Mon Jul 7 22:22:28 2014 -0700 18690f8248bfSmrg 18700f8248bfSmrg specs/XKB: Add <figure> tags and make Figure references link to them 18710f8248bfSmrg 18720f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18730f8248bfSmrg 18740f8248bfSmrgcommit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 18750f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18760f8248bfSmrgDate: Mon Jul 7 21:30:01 2014 -0700 18770f8248bfSmrg 18780f8248bfSmrg specs/XKB: Turn Table references into links 18790f8248bfSmrg 18800f8248bfSmrg Adds id attributes to all table tags so we can link to them 18810f8248bfSmrg 18820f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18830f8248bfSmrg 18840f8248bfSmrgcommit 135fa07b74cb50172c6a75768d499cd87ddb336e 18850f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18860f8248bfSmrgDate: Sun Jul 6 21:29:59 2014 -0700 18870f8248bfSmrg 18880f8248bfSmrg specs/XKB: Turn section references into xref links 18890f8248bfSmrg 18900f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18910f8248bfSmrg 18920f8248bfSmrgcommit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 18930f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18940f8248bfSmrgDate: Sun Jul 6 21:17:18 2014 -0700 18950f8248bfSmrg 18960f8248bfSmrg specs/XKB: Turn Chapter references into xref links 18970f8248bfSmrg 18980f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18990f8248bfSmrg 19000f8248bfSmrgcommit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 19010f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19020f8248bfSmrgDate: Sun Jul 6 20:40:18 2014 -0700 19030f8248bfSmrg 19040f8248bfSmrg specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 19050f8248bfSmrg 19060f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19070f8248bfSmrg 19080f8248bfSmrgcommit b00a7ddff2744238fbfe31c2298b02028a45a6ff 19090f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19100f8248bfSmrgDate: Sun Jul 6 20:34:51 2014 -0700 19110f8248bfSmrg 19120f8248bfSmrg specs/XKB: Markup function names as <function> instead of <emphasis> 19130f8248bfSmrg 19140f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19150f8248bfSmrg 19160f8248bfSmrgcommit bfbb58b7679221cb5c9212665209ea9099ad079a 19170f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19180f8248bfSmrgDate: Sun Jul 6 20:25:46 2014 -0700 19190f8248bfSmrg 19200f8248bfSmrg specs/XKB: normalize <emphasis> layout in xml files 19210f8248bfSmrg 19220f8248bfSmrg - Stop placing <emphasis> on empty space, commas, and periods. 19230f8248bfSmrg - Move periods & commas after closing </emphasis> tag 19240f8248bfSmrg - move <emphasis> open & close tags to same line, instead of mirroring 19250f8248bfSmrg nroff layout. 19260f8248bfSmrg 19270f8248bfSmrg Simplifies automating further transformations of these tags. 19280f8248bfSmrg 19290f8248bfSmrg Performed via: 19300f8248bfSmrg perl -i -0 -p \ 19310f8248bfSmrg -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 19320f8248bfSmrg -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 19330f8248bfSmrg -e 's{\n([\.,])\s*}{\1\n}msg;' \ 19340f8248bfSmrg -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 19350f8248bfSmrg -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 19360f8248bfSmrg 19370f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19380f8248bfSmrg 19390f8248bfSmrgcommit b16ee69a0103109a661a88140a1765dcd7bda634 19400f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19410f8248bfSmrgDate: Sun Jul 6 15:57:41 2014 -0700 19420f8248bfSmrg 19430f8248bfSmrg specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 19440f8248bfSmrg 19450f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19460f8248bfSmrg 19470f8248bfSmrgcommit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 19480f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19490f8248bfSmrgDate: Sun Jul 6 19:29:38 2014 -0700 19500f8248bfSmrg 19510f8248bfSmrg specs/XKB: Add index 19520f8248bfSmrg 19530f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19540f8248bfSmrg 19550f8248bfSmrgcommit 72ae1d793be078db521dda60af578ece71f364de 19560f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19570f8248bfSmrgDate: Sun Jul 6 13:21:40 2014 -0700 19580f8248bfSmrg 19590f8248bfSmrg specs/XKB: Fix various markup issues in functiondecl tables 19600f8248bfSmrg 19610f8248bfSmrg - Merge some functionargdecl entries incorrectly split across rows 19620f8248bfSmrg - Add missing parameter name markup to some functionargdecls 19630f8248bfSmrg - Add missing function prototype markup to a functiondecl 19640f8248bfSmrg - Remove stray emphasis tags in a functiondecl 19650f8248bfSmrg 19660f8248bfSmrg Allows them to correctly convert to funcsynopsis markup in next step. 19670f8248bfSmrg 19680f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19690f8248bfSmrg 19700f8248bfSmrgcommit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 19710f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19720f8248bfSmrgDate: Sun Jul 6 12:15:23 2014 -0700 19730f8248bfSmrg 19740f8248bfSmrg specs/XKB: Convert header filenames to filename tags 19750f8248bfSmrg 19760f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19770f8248bfSmrg 19780f8248bfSmrgcommit 5525e8433f93bce464412f27cffa203ea628f368 19790f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19800f8248bfSmrgDate: Tue Jul 8 00:05:32 2014 -0700 19810f8248bfSmrg 19820f8248bfSmrg specs/libX11: disengender a user reference 19830f8248bfSmrg 19840f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19850f8248bfSmrg 19860f8248bfSmrgcommit d8679eae9317b389ad4acb0430360ee0663e2af8 19870f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19880f8248bfSmrgDate: Fri Jul 11 18:41:42 2014 -0700 19890f8248bfSmrg 19900f8248bfSmrg specs/libX11: Correct value of IconicState to match Xutil.h 19910f8248bfSmrg 19920f8248bfSmrg Xutil.h has always had a value of 3 for IconicState, since 2 was 19930f8248bfSmrg previously used for the long-obsolete ZoomState, so make the spec 19940f8248bfSmrg match what programs have used for decades. 19950f8248bfSmrg 19960f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19970f8248bfSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 19980f8248bfSmrg 19990f8248bfSmrgcommit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 20000f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20010f8248bfSmrgDate: Fri Jul 11 10:34:08 2014 -0700 20020f8248bfSmrg 20030f8248bfSmrg Use C99 named initializers to fill in events passed to XSendEvent 20040f8248bfSmrg 20050f8248bfSmrg Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 20060f8248bfSmrg and allows optimizer to order field initialization to best fit cache layout 20070f8248bfSmrg or other considerations. 20080f8248bfSmrg 20090f8248bfSmrg Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 20100f8248bfSmrg instructions to rapidly zero-fill structs. 20110f8248bfSmrg 20120f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20130f8248bfSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 20140f8248bfSmrg 20150f8248bfSmrgcommit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 20160f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20170f8248bfSmrgDate: Sun Jul 6 11:13:49 2014 -0700 20180f8248bfSmrg 20190f8248bfSmrg Fix validation of ctrls parameter to XkbGetPerClientControls() 20200f8248bfSmrg 20210f8248bfSmrg Nothing in the XKB spec states that the memory pointed to by ctrls has to 20220f8248bfSmrg be initialized to any given value when passed to the function, only that 20230f8248bfSmrg it is set by the function to the values returned by the X server: 20240f8248bfSmrg http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 20250f8248bfSmrg 20260f8248bfSmrg The check for the incoming value seems to be copied from 20270f8248bfSmrg XkbSetPerClientControls without explanation. 20280f8248bfSmrg 20290f8248bfSmrg Instead change it to checking if ctrls is non-NULL, since there's no 20300f8248bfSmrg point asking the X server to return a value the caller won't even see. 20310f8248bfSmrg 20320f8248bfSmrg Found while investigating report from cppcheck-1.65: 20330f8248bfSmrg [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 20340f8248bfSmrg dereference: ctrls - otherwise it is redundant to check it against null. 20350f8248bfSmrg 20360f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20370f8248bfSmrg 20380f8248bfSmrgcommit 1e362fac92c6688fb42b195ccad16d7a337a34c1 20390f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20400f8248bfSmrgDate: Sun Jul 6 10:54:57 2014 -0700 20410f8248bfSmrg 20420f8248bfSmrg Fix map->num_types check in XkbAddKeyType() 20430f8248bfSmrg 20440f8248bfSmrg Check is intended to ensure we allocate at least XkbNumRequiredTypes 20450f8248bfSmrg in map, but was accidentally marked with a ! causing the wrong check. 20460f8248bfSmrg 20470f8248bfSmrg Reported-by: Harms <wharms@bfs,de> 20480f8248bfSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 20490f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20500f8248bfSmrg 20510f8248bfSmrgcommit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 20520f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20530f8248bfSmrgDate: Sun Jul 6 15:08:21 2014 -0700 20540f8248bfSmrg 20550f8248bfSmrg specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 20560f8248bfSmrg 20570f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20580f8248bfSmrg 20590f8248bfSmrgcommit a06ea86773568926c36ae650b188fc818d540db7 20600f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20610f8248bfSmrgDate: Sun Jul 6 15:04:27 2014 -0700 20620f8248bfSmrg 20630f8248bfSmrg specs/libX11: Fix height & width in parameter lists to be two separate entries 20640f8248bfSmrg 20650f8248bfSmrg "unsigned int width, unsigned int height", not a single parameter "height" 20660f8248bfSmrg of type "unsignedintwidth,". 20670f8248bfSmrg 20680f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20690f8248bfSmrg 20700f8248bfSmrgcommit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 20710f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20720f8248bfSmrgDate: Sun Jul 6 14:38:10 2014 -0700 20730f8248bfSmrg 20740f8248bfSmrg specs/libX11: Fix x & y in parameter lists to be two separate parameters 20750f8248bfSmrg 20760f8248bfSmrg "int x, int y" not a single parameter y of type "intx" 20770f8248bfSmrg 20780f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20790f8248bfSmrg 20800f8248bfSmrgcommit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 20810f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 20820f8248bfSmrgDate: Sat Jun 7 12:03:17 2014 +0200 20830f8248bfSmrg 20840f8248bfSmrg lcDefConv.c: fix use before check 20850f8248bfSmrg 20860f8248bfSmrg * Do not use variables before checked for NULL. 20870f8248bfSmrg * remove some superfluid spaces (Mark Kettenis) 20880f8248bfSmrg 20890f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 20900f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20910f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20920f8248bfSmrg 20930f8248bfSmrgcommit c0670e5d3ae330e611ecb05303d579a4f8a3d114 20940f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20950f8248bfSmrgDate: Mon Jun 16 15:16:10 2014 -0700 20960f8248bfSmrg 20970f8248bfSmrg Start adding Unicode 7.0 support to compose table 20980f8248bfSmrg 20990f8248bfSmrg New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 21000f8248bfSmrg 21010f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21020f8248bfSmrg 21030f8248bfSmrgcommit a4679baaa18142576d42d423afe816447f08336c 21040f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 21050f8248bfSmrgDate: Sat Jun 7 11:54:34 2014 +0200 21060f8248bfSmrg 21070f8248bfSmrg rm redundant null checks 21080f8248bfSmrg 21090f8248bfSmrg remove more redundant NULL checks 21100f8248bfSmrg note that _XkbFree() is really Xfree() 21110f8248bfSmrg 21120f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 21130f8248bfSmrg Reviewed-by: Rémi Cardona <remi@gentoo.org> 21140f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 21150f8248bfSmrg 21160f8248bfSmrgcommit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 21170f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 21180f8248bfSmrgDate: Sat Jun 7 15:17:27 2014 +0200 21190f8248bfSmrg 21200f8248bfSmrg libX11: rm redundante NULL checks 21210f8248bfSmrg 21220f8248bfSmrg This patch removes the last remaining NULL checks for Xfree() 21230f8248bfSmrg 21240f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 21250f8248bfSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 21260f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 21270f8248bfSmrg 21280f8248bfSmrgcommit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 21290f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 21300f8248bfSmrgDate: Fri Jun 6 22:53:05 2014 +0200 21310f8248bfSmrg 21320f8248bfSmrg Remove more redundant null checks before Xfree() 21330f8248bfSmrg 21340f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 21350f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21360f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21370f8248bfSmrg 21380f8248bfSmrgcommit 0b7fd7dbec136bae317bd9a329309eaa089beee3 21390f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 21400f8248bfSmrgDate: Thu Jun 5 18:37:40 2014 +0200 21410f8248bfSmrg 21420f8248bfSmrg Remove redundant null checks before free 21430f8248bfSmrg 21440f8248bfSmrg This patch removes some redundant null checks before free. 21450f8248bfSmrg It should not change the code otherwise. Be aware that this 21460f8248bfSmrg is only the first series. 21470f8248bfSmrg 21480f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 21490f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21500f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21510f8248bfSmrg 21520f8248bfSmrgcommit 7d452fad5068ba92b964e92bc46708046f4044aa 21530f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 21540f8248bfSmrgDate: Wed Jun 4 17:12:31 2014 +0200 21550f8248bfSmrg 21560f8248bfSmrg libX11/lcUTF8.c fix: dereferenced before check 21570f8248bfSmrg 21580f8248bfSmrg * Do not use variables before checked for NULL. 21590f8248bfSmrg 21600f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 21610f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21620f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21630f8248bfSmrg 21640f8248bfSmrgcommit a3808f51517a720e7ff738208af60865779dd6ef 21650f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 21660f8248bfSmrgDate: Wed Jun 4 17:10:20 2014 +0200 21670f8248bfSmrg 21680f8248bfSmrg libX11/XKBNames.c fix: dereferenced before check 21690f8248bfSmrg 21700f8248bfSmrg * Do not use variables before checked for NULL. 21710f8248bfSmrg 21720f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 21730f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21740f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21750f8248bfSmrg 21760f8248bfSmrgcommit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 21770f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 21780f8248bfSmrgDate: Wed Jun 4 17:08:12 2014 +0200 21790f8248bfSmrg 21800f8248bfSmrg libX11/lcGenConv.c fix: dereferenced before check 21810f8248bfSmrg 21820f8248bfSmrg * Do not use variables before checked for NULL. 21830f8248bfSmrg 21840f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 21850f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21860f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21870f8248bfSmrg 21880f8248bfSmrgcommit c6bc28d433243c32b3f74955f1478451b4fd27b5 21890f8248bfSmrgAuthor: Andreas Schwab <schwab@linux-m68k.org> 21900f8248bfSmrgDate: Sun Jan 19 16:59:13 2014 +0100 21910f8248bfSmrg 21920f8248bfSmrg Restore lost tabs in sed commands 21930f8248bfSmrg 21940f8248bfSmrg Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 21950f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21960f8248bfSmrg 21970f8248bfSmrgcommit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 21980f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 21990f8248bfSmrgDate: Thu Sep 19 11:01:11 2013 +0200 22000f8248bfSmrg 22010f8248bfSmrg nls: Transform Brazilian compose file to an include plus three overrides. 22020f8248bfSmrg 22030f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 22040f8248bfSmrg 22050f8248bfSmrgcommit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 22060f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 22070f8248bfSmrgDate: Fri Sep 6 12:10:01 2013 +0200 22080f8248bfSmrg 22090f8248bfSmrg nls: Adding the missing compose sequences with <comma> for O with ogonek. 22100f8248bfSmrg 22110f8248bfSmrg All other vowels with ogoneks can already be composed using <comma>. 22120f8248bfSmrg 22130f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 22140f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 22150f8248bfSmrg 22160f8248bfSmrgcommit 655b60f48376069750b151c46da836fdd411c83b 22170f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 22180f8248bfSmrgDate: Fri Sep 6 12:04:24 2013 +0200 22190f8248bfSmrg 22200f8248bfSmrg nls: Adding the missing postfix sequences for composing vowels with ogoneks. 22210f8248bfSmrg 22220f8248bfSmrg It existed for lowercase i, but not for uppercase I nor the other vowels. 22230f8248bfSmrg 22240f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 22250f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 22260f8248bfSmrg 22270f8248bfSmrgcommit 7f8f9a36ef901f31279c385caf960a22daeb33fe 22280f8248bfSmrgAuthor: Owen W. Taylor <otaylor@fishsoup.net> 22290f8248bfSmrgDate: Fri May 9 18:21:05 2014 -0400 22300f8248bfSmrg 22310f8248bfSmrg Fix XNextRequest() after direct usage of XCB 22320f8248bfSmrg 22330f8248bfSmrg When XCB owns the X socket, dpy->request is not updated, so 22340f8248bfSmrg NextRequest() and XNextRequest() return the wrong value. There's 22350f8248bfSmrg nothing we can do to fix NextRequest() while retaining ABI compat, 22360f8248bfSmrg but change XNextRequest() to grab the socket back from XCB, 22370f8248bfSmrg updating dpy->request. 22380f8248bfSmrg 22390f8248bfSmrg Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 22400f8248bfSmrg Reviewed-by: Uli Schlachter <psychon@znc.in> 22410f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 22420f8248bfSmrg 22430f8248bfSmrgcommit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 22440f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 22450f8248bfSmrgDate: Sun May 4 11:54:59 2014 -0700 22460f8248bfSmrg 22470f8248bfSmrg Add missing .TE tags to end tables in Xkb man pages 22480f8248bfSmrg 22490f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 22500f8248bfSmrg 22510f8248bfSmrgcommit 280274e5292e013b43e552274111fab434f5ed4e 22520f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 22530f8248bfSmrgDate: Sun May 4 11:23:17 2014 -0700 22540f8248bfSmrg 22550f8248bfSmrg XCreateGC.man: simplify table to work with Solaris tbl 22560f8248bfSmrg 22570f8248bfSmrg Having every table cell be a text diversion (T{...T}) was too much for 22580f8248bfSmrg Solaris tbl to handle, and thus "man XCreateGC" would print the error 22590f8248bfSmrg /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 22600f8248bfSmrg tbl quits 22610f8248bfSmrg and not display the table of mask bits or any text in the man page after 22620f8248bfSmrg that table. Since the #define column doesn't need special handling, 22630f8248bfSmrg making it not use text diversions brings the table under the tbl limit. 22640f8248bfSmrg 22650f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 22660f8248bfSmrg 22670f8248bfSmrgcommit 93bb325a54025dd15f4744abce54b358960420f9 22680f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 22690f8248bfSmrgDate: Tue May 20 17:30:10 2014 -0400 22700f8248bfSmrg 22710f8248bfSmrg Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 22720f8248bfSmrg 22730f8248bfSmrg Parenleft is already in use for sequences of the form <(> <letter> <)> 22740f8248bfSmrg to generate circled letters. 22750f8248bfSmrg 22760f8248bfSmrg Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 22770f8248bfSmrg 22780f8248bfSmrg This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 22790f8248bfSmrg 22800f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 22810f8248bfSmrg 22820f8248bfSmrgcommit 060707851be918f2f507a26d17b016f764ddf2b4 22830f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 22840f8248bfSmrgDate: Fri Sep 6 11:42:59 2013 +0200 22850f8248bfSmrg 22860f8248bfSmrg nls: Adding accessible compose sequences for Ș and Ț (with comma below). 22870f8248bfSmrg 22880f8248bfSmrg Compose sequences with <dead_belowcomma> exist, but very few keyboard 22890f8248bfSmrg layouts contain that symbol. So a more usual character is needed to be 22900f8248bfSmrg able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 22910f8248bfSmrg used for composing letters with ogoneks -- but only vowels take ogoneks, 22920f8248bfSmrg so the character is free for consonants, and thus <semicolon> is used 22930f8248bfSmrg here to compose commas below. It is somewhat fitting, because on most 22940f8248bfSmrg Romanian keyboards the Ș is placed on that key, and the Ț next to it. 22950f8248bfSmrg 22960f8248bfSmrg (Oh -- the more obvious sequences with <comma> were already taken for 22970f8248bfSmrg composing S and T with cedillas.) 22980f8248bfSmrg 22990f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 23000f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 23010f8248bfSmrg 23020f8248bfSmrgcommit ca435c2f753aa2961fb35ac448cdb2cc77112755 23030f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 23040f8248bfSmrgDate: Tue Sep 3 21:10:33 2013 +0200 23050f8248bfSmrg 23060f8248bfSmrg nls: Ordering some compose sequences in a more customary way. 23070f8248bfSmrg 23080f8248bfSmrg The custom seems to be: pairing the ones that have only the sequence of 23090f8248bfSmrg two keys reversed, and putting the one with the diacritic first first. 23100f8248bfSmrg 23110f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 23120f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 23130f8248bfSmrg 23140f8248bfSmrgcommit f020235f4bd91fb6eade82f8c9f7b85a57981768 23150f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 23160f8248bfSmrgDate: Tue Sep 3 20:44:42 2013 +0200 23170f8248bfSmrg 23180f8248bfSmrg nls: Adding compose sequences (with <parenleft> first) that GTK also has. 23190f8248bfSmrg 23200f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 23210f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 23220f8248bfSmrg 23230f8248bfSmrgcommit bda0b3b5bd19154206dc40166364e73d4b6b1374 23240f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 23250f8248bfSmrgDate: Tue Sep 3 11:14:16 2013 +0200 23260f8248bfSmrg 23270f8248bfSmrg nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 23280f8248bfSmrg 23290f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 23300f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 23310f8248bfSmrg 23320f8248bfSmrgcommit 8be4610939b833587954957f5963eb4191b43d19 23330f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 23340f8248bfSmrgDate: Thu Mar 13 23:22:48 2014 -0700 23350f8248bfSmrg 23360f8248bfSmrg Fix "follwing" typo in en_US.UTF-8/Compose comment 23370f8248bfSmrg 23380f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 23390f8248bfSmrg 23400f8248bfSmrgcommit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 23410f8248bfSmrgAuthor: Reuben Thomas <rrt@sc3d.org> 23420f8248bfSmrgDate: Mon Jan 27 14:18:24 2014 +0000 23430f8248bfSmrg 23440f8248bfSmrg en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 23450f8248bfSmrg 23460f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 23470f8248bfSmrg 23480f8248bfSmrgcommit d6bd988bc00494914b38b95ee5df77ac4f32f19f 23490f8248bfSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 23500f8248bfSmrgDate: Mon Mar 3 12:38:48 2014 +1000 23510f8248bfSmrg 23520f8248bfSmrg man: fix man page for XkbGetMap 23530f8248bfSmrg 23540f8248bfSmrg Returned structure must be freed with XkbFreeKeyboard(). 23550f8248bfSmrg 23560f8248bfSmrg Reported-by: Morten Bøgeskov <mb@dbc.dk> 23570f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 23580f8248bfSmrg 23590f8248bfSmrgcommit a6dcf2201a05adbff54122df05a1e6325936abb6 23600f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 23610f8248bfSmrgDate: Tue Feb 11 13:26:16 2014 +0200 23620f8248bfSmrg 23630f8248bfSmrg Remove dead USE_OWN_COMPOSE-protected code 23640f8248bfSmrg 23650f8248bfSmrg The build doesn't provide any way to define this option. It also refers 23660f8248bfSmrg to files (imComp.h) and functions (e.g. XimCompInitTables(), 23670f8248bfSmrg XimCompProcessSym()) which are not found anywhere, and the ordinary 23680f8248bfSmrg Compose implementation in xim doesn't use any of it. 23690f8248bfSmrg 23700f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 23710f8248bfSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 23720f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 23730f8248bfSmrg 23740f8248bfSmrgcommit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 23750f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 23760f8248bfSmrgDate: Sun Feb 16 15:24:58 2014 +0200 23770f8248bfSmrg 23780f8248bfSmrg nls: always use XCOMM instead of # for comments in Compose.pre files 23790f8248bfSmrg 23800f8248bfSmrg Lines starting with # are considered as preprocessor directives in the 23810f8248bfSmrg .pre files. 23820f8248bfSmrg 23830f8248bfSmrg Fixes warnings like: 23840f8248bfSmrg <stdin>:3:0: error: invalid preprocessing directive #Khmer 23850f8248bfSmrg 23860f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 23870f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 23880f8248bfSmrg 23890f8248bfSmrgcommit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 23900f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 23910f8248bfSmrgDate: Thu Feb 6 13:48:08 2014 -0800 23920f8248bfSmrg 23930f8248bfSmrg Fix typos in Xrm.c comments 23940f8248bfSmrg 23950f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 23960f8248bfSmrg 23970f8248bfSmrgcommit aacf95dacc7c598e7297894580d4d655593813b2 23980f8248bfSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 23990f8248bfSmrgDate: Mon Jan 13 16:43:18 2014 +0200 24000f8248bfSmrg 24010f8248bfSmrg Annotate Finnish Compose map with Unicode code points 24020f8248bfSmrg 24030f8248bfSmrg Scripted annotation, no functional changes. 24040f8248bfSmrg 24050f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 24060f8248bfSmrg 24070f8248bfSmrgcommit 20fdccd81b54678376d49e00edfebbbe94951f07 24080f8248bfSmrgAuthor: Teemu Likonen <tlikonen@iki.fi> 24090f8248bfSmrgDate: Fri Jul 20 19:21:04 2012 +0300 24100f8248bfSmrg 24110f8248bfSmrg Fix "RING ABOVE" key in the Finnish compose file 24120f8248bfSmrg 24130f8248bfSmrg The Finnish keyboard standard defines that <dead_abovering> <space> must 24140f8248bfSmrg insert the character U+02DA RING ABOVE. Currently the Finnish Compose 24150f8248bfSmrg file inserts U+00B0 DEGREE SIGN even though the line's comment says 24160f8248bfSmrg "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 24170f8248bfSmrg 24180f8248bfSmrg Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 24190f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 24200f8248bfSmrg 24210f8248bfSmrgcommit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 24220f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 24230f8248bfSmrgDate: Wed Jan 29 02:11:47 2014 +0200 24240f8248bfSmrg 24250f8248bfSmrg nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 24260f8248bfSmrg 24270f8248bfSmrg Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 24280f8248bfSmrg keysyms: 24290f8248bfSmrg 24300f8248bfSmrg #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 24310f8248bfSmrg #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 24320f8248bfSmrg 24330f8248bfSmrg (and similarly for uhorn), there is no need to have both names. Remove 24340f8248bfSmrg the unicode literal ones. 24350f8248bfSmrg 24360f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 24370f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 24380f8248bfSmrg 24390f8248bfSmrgcommit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 24400f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24410f8248bfSmrgDate: Sat Jan 18 22:35:18 2014 -0800 24420f8248bfSmrg 24430f8248bfSmrg Add RANDR 1.4 requests & events to XErrorDB 24440f8248bfSmrg 24450f8248bfSmrg Checked against randrproto.txt & randr.h 24460f8248bfSmrg 24470f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24480f8248bfSmrg 24490f8248bfSmrgcommit 321392ded15a7ee9d177d4ebe8846336ba76741c 24500f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24510f8248bfSmrgDate: Fri Jan 3 20:04:33 2014 -0800 24520f8248bfSmrg 24530f8248bfSmrg Remove unused ETEST & ESZTEST macros from XlibInt.c 24540f8248bfSmrg 24550f8248bfSmrg Left behind when 15e5eaf62897 removed support for building without XCB. 24560f8248bfSmrg 24570f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24580f8248bfSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 24590f8248bfSmrg 24600f8248bfSmrgcommit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 24610f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24620f8248bfSmrgDate: Thu Dec 26 09:26:13 2013 -0800 24630f8248bfSmrg 24640f8248bfSmrg _XkbReadGeomOverlay: check for NULL first, then use pointer 24650f8248bfSmrg 24660f8248bfSmrg Flagged by cppcheck 1.62: 24670f8248bfSmrg [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 24680f8248bfSmrg (warning) Possible null pointer dereference: row - otherwise it is 24690f8248bfSmrg redundant to check it against null. 24700f8248bfSmrg 24710f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24720f8248bfSmrg 24730f8248bfSmrgcommit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 24740f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24750f8248bfSmrgDate: Thu Dec 26 09:22:49 2013 -0800 24760f8248bfSmrg 24770f8248bfSmrg XkbSelectEventDetails: remove unnecessary assignments 24780f8248bfSmrg 24790f8248bfSmrg clear & selectAll are set to 0 already a few lines earlier, 24800f8248bfSmrg affectWhich is set to XkbMapNotifyMask a few lines later. 24810f8248bfSmrg None are used between the other assignments and the removed ones. 24820f8248bfSmrg 24830f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24840f8248bfSmrg 24850f8248bfSmrgcommit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 24860f8248bfSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 24870f8248bfSmrgDate: Thu Oct 7 18:46:08 2010 +0100 24880f8248bfSmrg 24890f8248bfSmrg Don't try so hard to find a matching font with the given encoding 24900f8248bfSmrg 24910f8248bfSmrg See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 24920f8248bfSmrg 24930f8248bfSmrg Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 24940f8248bfSmrg does XCreateFontSet() with a font name of "*", we end up asking the server 24950f8248bfSmrg to list the (non-existent) fonts 11 times for each CJK encoding, which can 24960f8248bfSmrg take a while. 24970f8248bfSmrg 24980f8248bfSmrg A * wildcard can match multiple components in a XLFD name in XListFonts(), 24990f8248bfSmrg so there's no need to try adding more than one to get a match. 25000f8248bfSmrg 25010f8248bfSmrg We do try once with a leading '*-' in case the fontname isn't a full 25020f8248bfSmrg well-formed XLFD name, maybe even that isn't needed? 25030f8248bfSmrg 25040f8248bfSmrg (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 25050f8248bfSmrg 25060f8248bfSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 25070f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25080f8248bfSmrg 25090f8248bfSmrgcommit 7e163300735d4bcd3386b86eec112acdad139c59 25100f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25110f8248bfSmrgDate: Mon Dec 2 21:51:27 2013 -0800 25120f8248bfSmrg 25130f8248bfSmrg unifdef -UISC 25140f8248bfSmrg 25150f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25160f8248bfSmrg 25170f8248bfSmrgcommit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 25180f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 25190f8248bfSmrgDate: Thu Sep 19 13:20:05 2013 +0200 25200f8248bfSmrg 25210f8248bfSmrg nls: Fix transposed locale identifier for Khmer. 25220f8248bfSmrg 25230f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 25240f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25250f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25260f8248bfSmrg 25270f8248bfSmrgcommit 0e45f64766c0557c8e99a979c70ca6f55664dae7 25280f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25290f8248bfSmrgDate: Sat Nov 16 20:21:54 2013 -0800 25300f8248bfSmrg 25310f8248bfSmrg Drop X_LOCALE fallback for OS'es without setlocale() 25320f8248bfSmrg 25330f8248bfSmrg C89 or bust! This was documented as being needed for "only Lynx, 25340f8248bfSmrg Linux-libc5, OS/2" and has never been enabled in modular builds, 25350f8248bfSmrg since none of those platforms have had anyone step up to add support 25360f8248bfSmrg since the X11R7 conversion to autotools. 25370f8248bfSmrg 25380f8248bfSmrg Mostly performed with unifdef -UX_LOCALE, followed by removal of files 25390f8248bfSmrg left without any purpose, and manual cleanup of remaining references. 25400f8248bfSmrg 25410f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25420f8248bfSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 25430f8248bfSmrg 25440f8248bfSmrgcommit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 25450f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25460f8248bfSmrgDate: Wed Oct 23 10:37:53 2013 -0700 25470f8248bfSmrg 25480f8248bfSmrg Xcms file parsing should not require the impossible to succeed 25490f8248bfSmrg 25500f8248bfSmrg The field2 helper function, to split lines from Xcms.txt files into 25510f8248bfSmrg two tab delimited fields, contained a check: 25520f8248bfSmrg 25530f8248bfSmrg if ((*pBuf != '\n') || (*pBuf != '\0')) { 25540f8248bfSmrg return(XcmsFailure); 25550f8248bfSmrg 25560f8248bfSmrg which would cause it to return failure unless *pBuf had a value that 25570f8248bfSmrg was simultaneously equal to both \n & \0, and no one wants to live in 25580f8248bfSmrg a world where that could ever be true. 25590f8248bfSmrg 25600f8248bfSmrg This has gone unnoticed since 1991, since this only caused lines 25610f8248bfSmrg in Xcms.txt that started with whitespace to be rejected, but now 25620f8248bfSmrg gcc -Wlogicalop has brought it to our attention, and 25630f8248bfSmrg https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 25640f8248bfSmrg 25650f8248bfSmrg Now that we see it, and cannot unsee it, we change it to use the 25660f8248bfSmrg same logic as the check at other points in this function, to return 25670f8248bfSmrg failure only if we hit \n or \0 before we find the first non-whitespace 25680f8248bfSmrg character, so that lines starting with whitespace will have the space 25690f8248bfSmrg skipped over to get to the color name to be defined. 25700f8248bfSmrg 25710f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25720f8248bfSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 25730f8248bfSmrg 25740f8248bfSmrgcommit 18a5278b008e9faa59b346fcab18a8d74b875fda 25750f8248bfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 25760f8248bfSmrgDate: Sat Sep 28 17:33:52 2013 -0400 25770f8248bfSmrg 25780f8248bfSmrg makekeys: don't need to use target-specific CFLAGS 25790f8248bfSmrg 25800f8248bfSmrg It's the only thing built in that directory, so we can use AM_CFLAGS 25810f8248bfSmrg and AM_CPPFLAGS as usual. 25820f8248bfSmrg 25830f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25840f8248bfSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 25850f8248bfSmrg 25860f8248bfSmrgcommit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 25870f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 25880f8248bfSmrgDate: Tue Sep 17 12:50:42 2013 -0400 25890f8248bfSmrg 25900f8248bfSmrg nls/en_US.UTF-8/Compose.pre: Fix typo. 25910f8248bfSmrg 25920f8248bfSmrg Fix typo added in 215ce6a67863, s/actute/acute/. 25930f8248bfSmrg 25940f8248bfSmrg Fixes bug #69476. Reported by Jean Krohn. 25950f8248bfSmrg 25960f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 25970f8248bfSmrg 2598818534a1Smrgcommit cb107760df33ffc8630677e66e2e50aa37950a5c 2599818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2600818534a1SmrgDate: Sun Sep 8 18:37:01 2013 -0700 2601818534a1Smrg 2602818534a1Smrg libX11 1.6.2 2603818534a1Smrg 2604818534a1Smrgcommit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 2605818534a1SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 2606818534a1SmrgDate: Sun Sep 1 12:38:30 2013 +0200 2607818534a1Smrg 2608818534a1Smrg nls: Adding more accessible compose sequences for J́ and j́. 2609818534a1Smrg 2610818534a1Smrg Few keyboards have an <acute> key, so this adds the much more 2611818534a1Smrg accessible and usual compose sequences with <apostrophe>, ánd 2612818534a1Smrg the most comfortable ones with <dead_acute>. 2613818534a1Smrg 2614818534a1Smrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 2615818534a1Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 2616818534a1Smrg 2617818534a1Smrgcommit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 2618818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2619818534a1SmrgDate: Sat Aug 24 17:27:43 2013 -0700 2620818534a1Smrg 2621818534a1Smrg Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 2622818534a1Smrg 2623818534a1Smrg Pass *new* size to realloc, not old size. 2624818534a1Smrg 2625818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2626818534a1Smrg 2627818534a1Smrgcommit c2b8e30790c21d6386767265263b3294ce1b1f9a 2628818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2629818534a1SmrgDate: Fri Aug 16 21:04:02 2013 -0700 2630818534a1Smrg 2631818534a1Smrg Stop checking for HAVE_DIX_CONFIG_H on the client side 2632818534a1Smrg 2633818534a1Smrg Leftover from when these XKB files were shared with the server sources 2634818534a1Smrg and could be compiled in either the client or server, with the different 2635818534a1Smrg autoconf config files in each. 2636818534a1Smrg 2637818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2638818534a1Smrg 2639818534a1Smrgcommit 84276609b2f0aec74fb464c428c7db5714b0fcfc 2640818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2641818534a1SmrgDate: Fri Aug 16 18:27:28 2013 -0700 2642818534a1Smrg 2643818534a1Smrg Rearrange some variable declarations & initializations in XKB 2644818534a1Smrg 2645818534a1Smrg Little things noticed during XKB restyling that seemed to make the 2646818534a1Smrg code easier to read. 2647818534a1Smrg 2648818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2649818534a1Smrg 2650818534a1Smrgcommit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 2651818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2652818534a1SmrgDate: Sun Aug 11 13:29:33 2013 -0700 2653818534a1Smrg 2654818534a1Smrg Reindent XKB code to X.Org standard style 2655818534a1Smrg 2656818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2657818534a1Smrg 2658818534a1Smrgcommit c0a0f78eb49c2e4ad956209de77475c85b9314ea 2659818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2660818534a1SmrgDate: Fri Aug 16 18:14:14 2013 -0700 2661818534a1Smrg 2662818534a1Smrg Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 2663818534a1Smrg 2664818534a1Smrg We were checking to make sure that the largest keysym value was within 2665818534a1Smrg the range of the allocated buffer, but checking against different limits 2666818534a1Smrg in the not-yet-allocated vs. the already-allocated branches. 2667818534a1Smrg 2668818534a1Smrg The check should be the same in both, and reflect the size used for the 2669818534a1Smrg allocation, which is based on the maximum key code value, so we move it 2670818534a1Smrg to be a common check, before we branch, instead of duplicating in each 2671818534a1Smrg branch. 2672818534a1Smrg 2673818534a1Smrg map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 2674818534a1Smrg map->syms is the array for which num_syms is recorded, hence is not the 2675818534a1Smrg right value to check for ensuring our key_sym_map accesses are in range. 2676818534a1Smrg 2677818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2678818534a1Smrg Reported-by: Barry Kauler <bkauler@gmail.com> 2679818534a1Smrg Tested-by: Barry Kauler <bkauler@gmail.com> 2680818534a1Smrg 2681818534a1Smrgcommit bea6cbd027973142fc64532274e1d16861b47190 2682818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2683818534a1SmrgDate: Sun Aug 11 17:02:21 2013 -0700 2684818534a1Smrg 2685818534a1Smrg Remove long unused src/udcInf.c 2686818534a1Smrg 2687818534a1Smrg I can find no record of what this file was for. Neither the X11R6.8.2 2688818534a1Smrg monolith Imakefile nor any modular release Makefile.am have ever built 2689818534a1Smrg it and nothing else references it. 2690818534a1Smrg 2691818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2692818534a1Smrg 2693818534a1Smrgcommit bf3501e0395abe890acfea98fdd9f50a6966f118 2694818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2695818534a1SmrgDate: Sun Aug 11 00:07:33 2013 -0700 2696818534a1Smrg 2697818534a1Smrg Remove unnecessary casts of pointers to (char *) in calls to Xfree() 2698818534a1Smrg 2699818534a1Smrg Left one cast behind that is necessary to change from const char * 2700818534a1Smrg to char * in src/xlibi18n/lcCharSet.c. 2701818534a1Smrg 2702818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2703818534a1Smrg 2704818534a1Smrgcommit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 2705818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2706818534a1SmrgDate: Sat Aug 10 23:57:55 2013 -0700 2707818534a1Smrg 2708818534a1Smrg Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 2709818534a1Smrg 2710818534a1Smrg sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 2711818534a1Smrg don't strip down to unsigned int and re-expand unnecessarily. 2712818534a1Smrg 2713818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2714818534a1Smrg 2715818534a1Smrgcommit 25a7a329def672fc8d26078538173777850c6390 2716818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2717818534a1SmrgDate: Sat Aug 10 23:51:08 2013 -0700 2718818534a1Smrg 2719818534a1Smrg Remove even more casts of return values from Xmalloc/Xrealloc 2720818534a1Smrg 2721818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2722818534a1Smrg 2723818534a1Smrgcommit f8fa16092a148b74ca35b4beb182053352606f2f 2724818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2725818534a1SmrgDate: Sat Aug 10 23:05:13 2013 -0700 2726818534a1Smrg 2727818534a1Smrg xlibi18n: fix argsize argument to _XlcParsePath 2728818534a1Smrg 2729818534a1Smrg The array is defined as having NUM_LOCALEDIR entries, so use that 2730818534a1Smrg instead of hardcoded 256 value (the other two calls already did this). 2731818534a1Smrg 2732818534a1Smrg Reported by parfait: 2733818534a1Smrg Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 2734818534a1Smrg Pointer size is 64 elements (of 8 bytes each), index is 255 2735818534a1Smrg at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 2736818534a1Smrg called at line 178 in function '_XlcParsePath' with argv = argv. 2737818534a1Smrg called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 2738818534a1Smrg at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 2739818534a1Smrg called at line 178 in function '_XlcParsePath' with argv = argv. 2740818534a1Smrg called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 2741818534a1Smrg 2742818534a1Smrg [ This bug was found by the Parfait 1.2.0 bug checking tool. 2743818534a1Smrg http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 2744818534a1Smrg 2745818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2746818534a1Smrg 2747818534a1Smrgcommit e7d46c6452c0b90fd66ae9f538546b968e0dd608 2748818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2749818534a1SmrgDate: Sat Aug 10 22:32:42 2013 -0700 2750818534a1Smrg 2751818534a1Smrg i18n modules: Fix some const cast warnings 2752818534a1Smrg 2753818534a1Smrg imRm.c: In function '_XimSetICMode': 2754818534a1Smrg imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2755818534a1Smrg imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2756818534a1Smrg 2757818534a1Smrg lcGenConv.c: In function 'byteM_parse_codeset': 2758818534a1Smrg lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2759818534a1Smrg 2760818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2761818534a1Smrg 2762818534a1Smrgcommit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 2763818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2764818534a1SmrgDate: Sat Aug 10 22:21:54 2013 -0700 2765818534a1Smrg 2766818534a1Smrg xlibi18n: Fix a bunch of const cast warnings 2767818534a1Smrg 2768818534a1Smrg Add const qualifiers to casts where needed, remove other casts that 2769818534a1Smrg are no longer needed. 2770818534a1Smrg 2771818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2772818534a1Smrg 2773818534a1Smrgcommit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 2774818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2775818534a1SmrgDate: Sat Aug 10 22:18:00 2013 -0700 2776818534a1Smrg 2777818534a1Smrg Fix const handling in XSetLocaleModifiers 2778818534a1Smrg 2779818534a1Smrg Instead of reusing the input parameter to store the output, make a 2780818534a1Smrg result variable instead, so that there's less const confusion. 2781818534a1Smrg 2782818534a1Smrg Fixes gcc warnings: 2783818534a1Smrg lcWrap.c: In function 'XSetLocaleModifiers': 2784818534a1Smrg lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2785818534a1Smrg lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2786818534a1Smrg lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 2787818534a1Smrg 2788818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2789818534a1Smrg 2790818534a1Smrgcommit 8ebbffa98563960910152e4f2e31cb032375d871 2791818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2792818534a1SmrgDate: Sat Aug 10 21:46:37 2013 -0700 2793818534a1Smrg 2794818534a1Smrg Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 2795818534a1Smrg 2796818534a1Smrg Makes code considerably less crufty and clears gcc warnings: 2797818534a1Smrg XlcDL.c: In function '_XlcDynamicLoad': 2798818534a1Smrg XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 2799818534a1Smrg from pointer target type [-Wcast-qual] 2800818534a1Smrg XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 2801818534a1Smrg from pointer target type [-Wcast-qual] 2802818534a1Smrg 2803818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2804818534a1Smrg 2805818534a1Smrgcommit 07e4e864107b38c2f393564fdacc90f4e858f23f 2806818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2807818534a1SmrgDate: Sat Aug 10 13:37:53 2013 -0700 2808818534a1Smrg 2809818534a1Smrg init_om: remove unneeded extra copy of string to local buffer 2810818534a1Smrg 2811818534a1Smrg Strings from the supported_charset_list[] were being copied one by 2812818534a1Smrg one to a stack buffer, and then strdup called on that buffer. 2813818534a1Smrg 2814818534a1Smrg Instead, just strdup the original string, without the local copy, 2815818534a1Smrg and use a more traditional for loop, so it's easier to figure out 2816818534a1Smrg what the code is doing (cleaning up a gcc const-cast warning in 2817818534a1Smrg the process). 2818818534a1Smrg 2819818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2820818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2821818534a1Smrg 2822818534a1Smrgcommit 1cec14dad904ba21a861f4af131be5982ecb83dd 2823818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2824818534a1SmrgDate: Sat Aug 10 12:34:53 2013 -0700 2825818534a1Smrg 2826818534a1Smrg Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 2827818534a1Smrg 2828818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2829818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2830818534a1Smrg 2831818534a1Smrgcommit 5f32182c7c4045540ff3833c48ee24a3a25726e2 2832818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2833818534a1SmrgDate: Sat Aug 10 12:19:17 2013 -0700 2834818534a1Smrg 2835818534a1Smrg miRegionOp(): ensure region size is not updated if realloc fails 2836818534a1Smrg 2837818534a1Smrg This function performs operations on a region, and when finished, 2838818534a1Smrg checks to see if it should compact the rectangle list. If the 2839818534a1Smrg number of rectangles for which memory is allocated in the list is 2840818534a1Smrg more than twice the number used, it tries to shrink. realloc() 2841818534a1Smrg should not fail in this case, but if it does, might as well keep 2842818534a1Smrg the correct value for the number of allocated rectangles, so we 2843818534a1Smrg don't try to grow it unnecessarily later if adding to the region. 2844818534a1Smrg 2845818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2846818534a1Smrg 2847818534a1Smrgcommit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 2848818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2849818534a1SmrgDate: Sat Aug 10 12:19:17 2013 -0700 2850818534a1Smrg 2851818534a1Smrg miRegionCopy(): handle realloc failure better 2852818534a1Smrg 2853818534a1Smrg Zero out the region size when freeing the region so callers don't think 2854818534a1Smrg there's anything there. (Pointer is already set to NULL from the realloc 2855818534a1Smrg result itself.) Return 0 to the callers, and have them cascade that back 2856818534a1Smrg to their callers to indicate failure, instead of their usual return value 2857818534a1Smrg of 1 on success. 2858818534a1Smrg 2859818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2860818534a1Smrg 2861818534a1Smrgcommit 5dc8b5385d513bbda88697c2372db750d23f46d4 2862818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2863818534a1SmrgDate: Sat Aug 10 11:27:22 2013 -0700 2864818534a1Smrg 2865818534a1Smrg Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 2866818534a1Smrg 2867818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2868818534a1Smrg 2869818534a1Smrgcommit 453c4ee436ef32d91501d7736d7a91c1aeafc565 2870818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2871818534a1SmrgDate: Sat Aug 10 12:07:51 2013 -0700 2872818534a1Smrg 2873818534a1Smrg Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 2874818534a1Smrg 2875818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2876818534a1Smrg 2877818534a1Smrgcommit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 2878818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2879818534a1SmrgDate: Sat Aug 10 12:30:39 2013 -0700 2880818534a1Smrg 2881818534a1Smrg lcDB.c: ensure buffer size is updated correctly if realloc fails 2882818534a1Smrg 2883818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2884818534a1Smrg 2885818534a1Smrgcommit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 2886818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2887818534a1SmrgDate: Sat Aug 10 11:07:47 2013 -0700 2888818534a1Smrg 2889818534a1Smrg Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 2890818534a1Smrg 2891818534a1Smrg Previously, if realloc failed to increase the size, we'd still 2892818534a1Smrg record that we had allocated the larger size, but the pointer 2893818534a1Smrg to it would be NULL, causing future calls to be broken, and the 2894818534a1Smrg previous allocation to be lost/leaked. 2895818534a1Smrg 2896818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2897818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2898818534a1Smrg 2899818534a1Smrgcommit 5d47a39978e92bb34ec928b1b15d71c0c2434870 2900818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2901818534a1SmrgDate: Fri Aug 9 23:33:03 2013 -0700 2902818534a1Smrg 2903818534a1Smrg omGeneric.c: convert sprintf calls to snprintf 2904818534a1Smrg 2905818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2906818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2907818534a1Smrg 2908818534a1Smrgcommit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 2909818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2910818534a1SmrgDate: Fri Aug 9 23:30:30 2013 -0700 2911818534a1Smrg 2912818534a1Smrg ximcp/imRm.c: convert sprintf calls to snprintf 2913818534a1Smrg 2914818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2915818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2916818534a1Smrg 2917818534a1Smrgcommit 4fadae243fb485628c9a137f5da3489ed6214b21 2918818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2919818534a1SmrgDate: Fri Aug 9 23:02:12 2013 -0700 2920818534a1Smrg 2921818534a1Smrg xlibi18n: convert sprintf calls to snprintf 2922818534a1Smrg 2923818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2924818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2925818534a1Smrg 2926818534a1Smrgcommit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 2927818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2928818534a1SmrgDate: Fri Aug 9 23:02:12 2013 -0700 2929818534a1Smrg 2930818534a1Smrg lcfile: skip over any null entries in args list 2931818534a1Smrg 2932818534a1Smrg Previous code seemed to assume that printf("%s", NULL) would result 2933818534a1Smrg in a 0-length string, not "(null)" or similar, but since there's no 2934818534a1Smrg point looking for files in "(null)/filepath...", instead we just 2935818534a1Smrg skip over NULL entries in search paths when generating file names. 2936818534a1Smrg 2937818534a1Smrg In the *DirName() functions, this effectively just moves the "bail on 2938818534a1Smrg NULL in arg[i]" check up from the later code that assigned it to targetdir 2939818534a1Smrg and then bailed if that was NULL. 2940818534a1Smrg 2941818534a1Smrg Not sure how there ever could be a NULL in arg[i], given the current 2942818534a1Smrg implementation of XlcParsePath, but it's easy enough to check once and 2943818534a1Smrg reject up front instead of on every reference. 2944818534a1Smrg 2945818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2946818534a1Smrg 2947818534a1Smrgcommit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 2948818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2949818534a1SmrgDate: Fri Aug 9 22:00:09 2013 -0700 2950818534a1Smrg 2951818534a1Smrg Fix file leak on malloc error in XlcDL.c:resolve_object() 2952818534a1Smrg 2953818534a1Smrg File Leak: Leaked File fp 2954818534a1Smrg at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 2955818534a1Smrg fp initialized at line 198 with fopen 2956818534a1Smrg 2957818534a1Smrg [ This bug was found by the Parfait 1.2.0 bug checking tool. 2958818534a1Smrg http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 2959818534a1Smrg 2960818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2961818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 2962818534a1Smrg 2963818534a1Smrgcommit 9b291044a240e5b9b031ed814e0c84e53a1c3084 2964818534a1SmrgAuthor: Julien Cristau <jcristau@debian.org> 2965818534a1SmrgDate: Sat Jun 15 18:02:21 2013 +0200 2966818534a1Smrg 2967818534a1Smrg Add missing locales to configure.ac 2968818534a1Smrg 2969818534a1Smrg Commits 40761898692e5063957bfa2518cca3d35b2e354a and 2970818534a1Smrg f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 2971818534a1Smrg (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 2972818534a1Smrg meaning they're not included in tarballs. 2973818534a1Smrg 2974818534a1Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 2975818534a1Smrg Reviewed-by: James Cloos <cloos@jhcloos.com> 2976818534a1Smrg 2977818534a1Smrgcommit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 2978818534a1SmrgAuthor: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 2979818534a1SmrgDate: Tue Dec 18 15:28:05 2012 +0000 2980818534a1Smrg 2981818534a1Smrg Fix bogus timestamp generated by XIM 2982818534a1Smrg 2983818534a1Smrg Fix bogus timestamp generted by XIM due to uninitialized 2984818534a1Smrg data field. Also set appropriate serial, too. 2985818534a1Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 2986818534a1Smrg 2987818534a1Smrg Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 2988818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2989818534a1Smrg 2990818534a1Smrgcommit e7fd6f0eda57300df4d6b695b7064610ca5dec57 2991818534a1SmrgAuthor: Egbert Eich <eich@freedesktop.org> 2992818534a1SmrgDate: Thu Jun 16 18:47:49 2011 +0200 2993818534a1Smrg 2994818534a1Smrg XIM: Fix sync problem on focus change. 2995818534a1Smrg 2996818534a1Smrg XSetICFocus() and XUnsetICFocus() are both asynchronous events. 2997818534a1Smrg This is a pretty stupid idea: those functions may undo certain 2998818534a1Smrg settings on the client side for which requests from the server 2999818534a1Smrg may still be in the queue unprocessed. Thus things may be set 3000818534a1Smrg in the wrong order ie instead of set -> unest it will be unset -> set. 3001818534a1Smrg Moreover there is no way for either the client or the server to 3002818534a1Smrg cause the event queue to be flushed - which is pretty bad as 3003818534a1Smrg XIM is bidirectional. 3004818534a1Smrg The scenario is as follows: 3005818534a1Smrg Two ICs are created: 3006818534a1Smrg ic1 = XCreateIC(im, 3007818534a1Smrg XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 3008818534a1Smrg XNClientWindow, window, 3009818534a1Smrg XNPreeditAttributes, preedit_attr, 3010818534a1Smrg XNStatusAttributes, status_attr, 3011818534a1Smrg NULL); 3012818534a1Smrg ic2 = XCreateIC(im, XNInputStyle, 3013818534a1Smrg XIMPreeditNothing | XIMStatusNothing, 3014818534a1Smrg XNClientWindow, window, NULL); 3015818534a1Smrg Then the focus is removed from ic2: 3016818534a1Smrg XUnsetICFocus(ic2); 3017818534a1Smrg If SCIM is used as the input server it will send a bunch of requests 3018818534a1Smrg following an XCreateIC(). One of the requests registers a key release 3019818534a1Smrg filter. XUnsetICFocus() unsets both key press and release filters. 3020818534a1Smrg Since it is asynchronous, the input server requests to register key 3021818534a1Smrg press and release filters may not have been processed, when XUnsetICFocus() 3022818534a1Smrg is called. Since there is no explicite way for client programs to enforce 3023818534a1Smrg the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 3024818534a1Smrg call it would be safest to make those two calls synchronous in the sense 3025818534a1Smrg that they ensure the request queue has been handled before they execute. 3026818534a1Smrg The easiest way to do this from Xlib is thru a call to XGetICValues() 3027818534a1Smrg which sends a request to the server and subsequently reads the queue 3028818534a1Smrg from the server to the client. This will cause all outstanding requests 3029818534a1Smrg in the queue to be read and handled. 3030818534a1Smrg This is an ugly hack and this could be fixed directly in the client, 3031818534a1Smrg however it seems to be easier to fix Xlib than to fix numerous clients. 3032818534a1Smrg This problem arose since there is no well documented way how to handle 3033818534a1Smrg and synchronize XIM requests and not all input servers send requests 3034818534a1Smrg when an IC is created. 3035818534a1Smrg This has been discussed extensively in: 3036818534a1Smrg https://bugzilla.novell.com/show_bug.cgi?id=221326 3037818534a1Smrg 3038818534a1Smrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 3039818534a1Smrg 3040818534a1Smrgcommit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 3041818534a1SmrgAuthor: Egbert Eich <eich@freedesktop.org> 3042818534a1SmrgDate: Thu Jun 16 17:28:39 2011 +0200 3043818534a1Smrg 3044818534a1Smrg XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 3045818534a1Smrg 3046818534a1Smrg When synthesized key events are sent on commit XIM sets the 'fabricated' 3047818534a1Smrg flag so that the keypress handler knows that these were not real events. 3048818534a1Smrg This also happens when committing due to the loss of focus. However in this 3049818534a1Smrg case the keypress/release filters which consume and unset this flag are no 3050818534a1Smrg longer in the filter chain. 3051818534a1Smrg So the flag is erronously set when a real keyboard event is received after 3052818534a1Smrg focus has been regained. So the first event is wrongly treated as a 3053818534a1Smrg fabricated key in the keypress handler which will at the same time reset 3054818534a1Smrg the flag so the second key event is treated correctly. 3055818534a1Smrg This fix only sets the flag when at least one of the keyboard filters is in 3056818534a1Smrg place. 3057818534a1Smrg How to reproduce this bug: run scim, choose a Japanese input method start 3058818534a1Smrg two instances of xterm: start typing in one xterm (this should pop up an 3059818534a1Smrg IM window). Without comitting (hitting 'enter') move focus to the other 3060818534a1Smrg xterm, then move focus back. Start typing again. The first character will 3061818534a1Smrg be committed immediately without popping up an input window. 3062818534a1Smrg With this fix this behavior is gone. 3063818534a1Smrg 3064818534a1Smrg See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 3065818534a1Smrg 3066818534a1Smrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 3067818534a1Smrg 3068818534a1Smrgcommit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 3069818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3070818534a1SmrgDate: Mon Jul 29 21:29:49 2013 -0700 3071818534a1Smrg 3072818534a1Smrg libX11 1.6.1 3073818534a1Smrg 3074818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3075818534a1Smrg 3076818534a1Smrgcommit d19cfaca15826943d3c637ef7fa5db0a23d5feed 3077818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3078818534a1SmrgDate: Sat Jul 27 12:19:00 2013 -0700 3079818534a1Smrg 3080818534a1Smrg Fix undefined XCMSDIR error when building lint library 3081818534a1Smrg 3082818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3083818534a1Smrg 3084818534a1Smrgcommit 3083cd43d7dcd59da587975e7cadda681cd8a103 3085818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3086818534a1SmrgDate: Sat Jul 27 00:36:08 2013 -0700 3087818534a1Smrg 3088818534a1Smrg Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 3089818534a1Smrg 3090818534a1Smrg Upstreaming from changes originally integrated into OpenSolaris 3091818534a1Smrg under Sun bug id 6882572. 3092818534a1Smrg 3093818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3094818534a1Smrg Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 3095818534a1Smrg 3096818534a1Smrgcommit 208e586c808e88a2ee819e4450dc27f557afc2bf 3097818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3098818534a1SmrgDate: Sat Jul 27 01:03:18 2013 -0700 3099818534a1Smrg 3100818534a1Smrg omGeneric: remove space between struct name & member name 3101818534a1Smrg 3102818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3103818534a1Smrg 3104818534a1Smrgcommit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 3105818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3106818534a1SmrgDate: Tue Jul 23 22:18:46 2013 -0700 3107818534a1Smrg 3108818534a1Smrg Refactor common code from XAddHost & XRemoveHost into single function 3109818534a1Smrg 3110818534a1Smrg On the Xlib side, the only real difference is the mode flag we send 3111818534a1Smrg to the server with the address, so just make that an argument to the 3112818534a1Smrg function with the common code for packing the address into the request. 3113818534a1Smrg 3114818534a1Smrg (Aside from labels, gcc 4.7.2 generates identical code before & after 3115818534a1Smrg this change due to inlining, verified via diff of gcc -S output.) 3116818534a1Smrg 3117818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3118818534a1Smrg 3119818534a1Smrgcommit 3292195a64a9ce4f0d27134cd544651ec647e728 3120818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3121818534a1SmrgDate: Tue Jul 23 22:11:34 2013 -0700 3122818534a1Smrg 3123818534a1Smrg XSetModifierMapping: Use Data instead of GetReqExtra 3124818534a1Smrg 3125818534a1Smrg Handle arbitrary length data in the same fashion as other calls, 3126818534a1Smrg avoiding need to ensure it fits all in the request buffer. 3127818534a1Smrg 3128818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3129818534a1Smrg 3130818534a1Smrgcommit feb131b18aee31c2c125dc3275b0260940245882 3131818534a1SmrgAuthor: Kees Cook <kees@outflux.net> 3132818534a1SmrgDate: Sun Jun 9 11:13:43 2013 -0700 3133818534a1Smrg 3134818534a1Smrg libX11: check "req" when calling GetReqExtra 3135818534a1Smrg 3136818534a1Smrg This fixes the two callers of GetReqExtra to check that "req" is non-NULL 3137818534a1Smrg to avoid crashing now that GetReqExtra does internal bounds-checking on 3138818534a1Smrg the resulting buffer sizes. 3139818534a1Smrg 3140818534a1Smrg Additionally updates comment describing return values to use names 3141818534a1Smrg instead of only literal values. 3142818534a1Smrg 3143818534a1Smrg Signed-off-by: Kees Cook <kees@outflux.net> 3144818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3145818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3146818534a1Smrg 3147818534a1Smrgcommit 54540d7cba0c2bfe9176221c7bca910058d304df 3148818534a1SmrgAuthor: Kees Cook <kees@outflux.net> 3149818534a1SmrgDate: Sun Jun 9 11:13:42 2013 -0700 3150818534a1Smrg 3151818534a1Smrg libX11: check size of GetReqExtra after XFlush 3152818534a1Smrg 3153818534a1Smrg Two users of GetReqExtra pass arbitrarily sized allocations from the 3154818534a1Smrg caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 3155818534a1Smrg macro) to double-check the requested length and invalidate "req" when 3156818534a1Smrg this happens. Users of GetReqExtra passing lengths greater than the Xlib 3157818534a1Smrg buffer size (normally 16K) must check "req" and fail gracefully instead 3158818534a1Smrg of crashing. 3159818534a1Smrg 3160818534a1Smrg Any callers of GetReqExtra that do not check "req" for NULL 3161818534a1Smrg will experience this change, in the pathological case, as a NULL 3162818534a1Smrg dereference instead of a buffer overflow. This is an improvement, but 3163818534a1Smrg the documentation for GetReqExtra has been updated to reflect the need 3164818534a1Smrg to check the value of "req" after the call. 3165818534a1Smrg 3166818534a1Smrg Bug that manifested the problem: 3167818534a1Smrg https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 3168818534a1Smrg 3169818534a1Smrg Signed-off-by: Kees Cook <kees@outflux.net> 3170818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3171818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3172818534a1Smrg 3173818534a1Smrgcommit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 3174818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3175818534a1SmrgDate: Tue Jun 25 22:35:29 2013 +0200 3176818534a1Smrg 3177818534a1Smrg Tighten out-of-range comparisons. 3178818534a1Smrg 3179818534a1Smrg [For all of these, LONG_MAX was the correct value to prevent overflows 3180818534a1Smrg for the recent CVEs. Lowering to INT_MAX catches buggy replies from 3181818534a1Smrg the server that 32-bit clients would reject but 64-bit would accept, 3182818534a1Smrg so we catch bugs sooner, and really, no sane & working server should 3183818534a1Smrg ever report more than 2gb of extension names, font path entries, 3184818534a1Smrg key modifier maps, etc. -alan- ] 3185818534a1Smrg 3186818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3187818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3188818534a1Smrg 3189818534a1Smrgcommit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 3190818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3191818534a1SmrgDate: Tue Jun 25 18:34:32 2013 +0200 3192818534a1Smrg 3193818534a1Smrg Fix out-of-range comparison in _XF86BigfontQueryFont 3194818534a1Smrg 3195818534a1Smrg clang complained (correctly): 3196818534a1Smrg warning: comparison of constant 768614336404564650 with expression 3197818534a1Smrg of type 'CARD32' (aka 'unsigned int') is always true 3198818534a1Smrg [-Wtautological-constant-out-of-range-compare] 3199818534a1Smrg 3200818534a1Smrg [While LONG_MAX is correct, since it's used in size_t math, the 3201818534a1Smrg numbers have to be limited to 32-bit range to be usable by 32-bit 3202818534a1Smrg clients, and values beyond that range are far more likely to be 3203818534a1Smrg bugs in the data from the server than valid numbers of characters 3204818534a1Smrg in a font. -alan- ] 3205818534a1Smrg 3206818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3207818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3208818534a1Smrg 3209818534a1Smrgcommit 383e2b0d029482a0f4c39fe00e15397538576fc1 3210818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3211818534a1SmrgDate: Tue Jun 25 18:33:56 2013 +0200 3212818534a1Smrg 3213818534a1Smrg Check for symbol existence with #ifdef, not #if 3214818534a1Smrg 3215818534a1Smrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 3216818534a1Smrg 3217818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3218818534a1Smrg 3219818534a1Smrgcommit 9955d1c8de994a90fe7f2e3187e7362611d7d265 3220818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3221818534a1SmrgDate: Tue Jun 25 18:33:07 2013 +0200 3222818534a1Smrg 3223818534a1Smrg Use newer callback-based API for XIM. 3224818534a1Smrg 3225818534a1Smrg Let libX11 load and make available the newer (X11R6) callback-based 3226818534a1Smrg API for XIM (expected by emacs). 3227818534a1Smrg 3228818534a1Smrg This patch updates the files to match the other nls/ files. 3229818534a1Smrg 3230818534a1Smrg Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 3231818534a1Smrg following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 3232818534a1Smrg 3233818534a1Smrg Reviewed-by: James Cloos <cloos@jhcloos.com> 3234818534a1Smrg 3235818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3236818534a1Smrg 3237818534a1Smrgcommit a17ceb7100bd36c2db210473ee701deb5d515731 3238818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3239818534a1SmrgDate: Tue Jun 25 18:31:32 2013 +0200 3240818534a1Smrg 3241818534a1Smrg Stop truncating source to destination length if it is larger. 3242818534a1Smrg 3243818534a1Smrg It seems useless to do that since the code tests for both source 3244818534a1Smrg length and destination to be non-zero. This fixes a cut'n'paste 3245818534a1Smrg problem in xterm where the paste length was limited to 1024 (BUFSIZ) 3246818534a1Smrg in button.c. 3247818534a1Smrg 3248818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3249818534a1Smrg 3250818534a1Smrgcommit a336db9a0add3ae0783dda6e52459236622a12af 3251818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3252818534a1SmrgDate: Mon Jun 24 23:02:05 2013 -0700 3253818534a1Smrg 3254818534a1Smrg Require ANSI C89 pre-processor, drop pre-C89 token pasting support 3255818534a1Smrg 3256818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3257818534a1Smrg 3258818534a1Smrgcommit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 3259818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3260818534a1SmrgDate: Fri Jun 7 11:30:11 2013 -0700 3261818534a1Smrg 3262818534a1Smrg troff macro expansion in specs/libX11 3263818534a1Smrg 3264818534a1Smrg Many of the custom nroff macros (.ds <macro> <contents>) were left 3265818534a1Smrg unsubstituted in the nroff->docbook conversion. This substitution 3266818534a1Smrg is now performed, via the following perl script: 3267818534a1Smrg 3268818534a1Smrg #! /usr/bin/perl -w -i 3269818534a1Smrg 3270818534a1Smrg use Text::Wrap; 3271818534a1Smrg 3272818534a1Smrg while ($_ = <>) { 3273818534a1Smrg while ($_ =~ m/\((\w+)\b/g) { 3274818534a1Smrg my $m = $1; 3275818534a1Smrg if (exists $macro{$m}) { 3276818534a1Smrg $_ =~ s/\($m/$macro{$m}/; 3277818534a1Smrg $_ = wrap('', '', $_); 3278818534a1Smrg $_ =~ s/[ \t]+$//; 3279818534a1Smrg } 3280818534a1Smrg } 3281818534a1Smrg 3282818534a1Smrg if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 3283818534a1Smrg my ($m, $s) = ($1, $2); 3284818534a1Smrg $macro{$m} = $s; 3285818534a1Smrg while ($macro{$m} =~ /\\\s*$/) { 3286818534a1Smrg $macro{$m} =~ s/\\\s*$//ms; 3287818534a1Smrg $macro{$m} .= <>; 3288818534a1Smrg chomp($macro{$m}); 3289818534a1Smrg } 3290818534a1Smrg $macro{$m} =~ s/\\ / /g; 3291818534a1Smrg } else { 3292818534a1Smrg print $_; 3293818534a1Smrg } 3294818534a1Smrg } 3295818534a1Smrg 3296818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3297818534a1Smrg 3298818534a1Smrgcommit 20c17bd9ebf767a24643279e45866dddcb57b5ce 3299818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3300818534a1SmrgDate: Fri Jun 7 09:27:26 2013 -0700 3301818534a1Smrg 3302818534a1Smrg specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 3303818534a1Smrg 3304818534a1Smrg The XListPixmapFormats arguments was being shown with XImageByteOrder's 3305818534a1Smrg name and return types. Appears to have been a glitch in the nroff -> 3306818534a1Smrg docbook conversion. 3307818534a1Smrg 3308818534a1Smrg Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 3309818534a1Smrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 3310818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3311818534a1Smrg 3312818534a1Smrgcommit ed3d830243c8a0eefaf24e15b11823272ffe5049 3313818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3314818534a1SmrgDate: Sun Jun 2 20:49:55 2013 +0200 3315818534a1Smrg 3316818534a1Smrg Deal with the limited range of VAX floating point numbers when compiling for VAX. 3317818534a1Smrg 3318818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3319818534a1Smrg 3320818534a1Smrgcommit 0a48235d63639fb917c44d27c86e928e79fbac66 3321818534a1SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 3322818534a1SmrgDate: Thu Jun 6 16:43:56 2013 -0400 3323818534a1Smrg 3324818534a1Smrg Remove call to undefined macro. 3325818534a1Smrg 3326818534a1Smrgcommit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 3327818534a1SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 3328818534a1SmrgDate: Thu Jun 6 16:42:20 2013 -0400 3329818534a1Smrg 3330818534a1Smrg Remove call to undefined macro. 3331818534a1Smrg 3332818534a1Smrgcommit 8496122eb00ce6cd5d2308ee54f64b68c378e455 3333818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3334818534a1SmrgDate: Mon Jun 3 20:06:43 2013 -0700 3335818534a1Smrg 3336818534a1Smrg Update README to reflect where to find the Xlib specs now 3337818534a1Smrg 3338818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3339818534a1Smrg 3340e160ea6eSmrgcommit 655d631e86c95b14888758b27ed2836ca3e3ce86 3341e160ea6eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3342e160ea6eSmrgDate: Mon Jun 3 19:21:06 2013 -0700 3343e160ea6eSmrg 3344e160ea6eSmrg libX11 1.6.0 3345e160ea6eSmrg 3346e160ea6eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3347e160ea6eSmrg 3348e160ea6eSmrgcommit 4a89b7ea908554628f374537a79931c8006a2de3 3349e160ea6eSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3350e160ea6eSmrgDate: Sun Jun 2 11:49:54 2013 -0700 3351e160ea6eSmrg 3352e160ea6eSmrg cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 3353e160ea6eSmrg 3354e160ea6eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3355e160ea6eSmrg 3356e160ea6eSmrgcommit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 3357e160ea6eSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 3358e160ea6eSmrgDate: Sun Jun 2 20:49:48 2013 +0200 3359e160ea6eSmrg 3360e160ea6eSmrg XCreateGC man page: Avoid .TS H and .TH macros 3361e160ea6eSmrg 3362e160ea6eSmrg Avoid .TS H and .TH for now as it doesn't alter the output in this case, 3363e160ea6eSmrg and improve the output with mandoc(1). 3364e160ea6eSmrg 3365e160ea6eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3366e160ea6eSmrg 3367eb411b4bSmrgcommit 95a388158c9d73df7d24016d6a3d61506d7d53a4 3368eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3369eb411b4bSmrgDate: Thu May 23 19:43:35 2013 -0700 3370eb411b4bSmrg 3371eb411b4bSmrg libX11 1.5.99.902 (1.6 RC2) 3372eb411b4bSmrg 3373eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3374eb411b4bSmrg 3375eb411b4bSmrgcommit a3bdd2b090915fe0163b062f0e6576fe05dd332e 3376eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 3377eb411b4bSmrgDate: Thu May 23 20:39:46 2013 +0200 3378eb411b4bSmrg 3379eb411b4bSmrg xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 3380eb411b4bSmrg 3381eb411b4bSmrg The size of the arrays is max_key_code + 1. This makes these functions 3382eb411b4bSmrg consistent with the other checks added for CVE-2013-1997. 3383eb411b4bSmrg 3384eb411b4bSmrg Also check the XkbGetNames reply when names->keys was just allocated. 3385eb411b4bSmrg 3386eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 3387eb411b4bSmrg Tested-by: Colin Walters <walters@verbum.org> 3388eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3389eb411b4bSmrg 3390eb411b4bSmrgcommit 7e30056e78e4b7979ff47f102e00327617266019 3391eb411b4bSmrgAuthor: Niveditha Rau <Niveditha.Rau@Oracle.COM> 3392eb411b4bSmrgDate: Fri May 17 15:26:21 2013 -0700 3393eb411b4bSmrg 3394eb411b4bSmrg Make sure internal headers include required headers 3395eb411b4bSmrg 3396eb411b4bSmrg Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 3397eb411b4bSmrg longer ignores *.h files, but complains when they reference undefined 3398eb411b4bSmrg typedefs or macros. 3399eb411b4bSmrg 3400eb411b4bSmrg Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 3401eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3402eb411b4bSmrg 3403eb411b4bSmrgcommit 2820100bf8ba130b94253f415e7fa5ac28bb2037 3404eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3405eb411b4bSmrgDate: Thu May 16 23:05:36 2013 -0700 3406eb411b4bSmrg 3407eb411b4bSmrg Free fs->properties in _XF86BigfontQueryFont overflow error path 3408eb411b4bSmrg 3409eb411b4bSmrg Fixes small memory leak introduced in commit 5669a22081 3410eb411b4bSmrg 3411eb411b4bSmrg Reported-by: Julien Cristau <jcristau@debian.org> 3412eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3413eb411b4bSmrg 3414eb411b4bSmrgcommit 3131740513133a9ff7cb12123d29ceb18584fc38 3415eb411b4bSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 3416eb411b4bSmrgDate: Wed May 8 19:33:09 2013 +0200 3417eb411b4bSmrg 3418eb411b4bSmrg XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 3419eb411b4bSmrg 3420eb411b4bSmrg Freeing a pointer that wasn't returned by malloc() is undefined 3421eb411b4bSmrg behavior and produces an error with OpenBSD's implementation. 3422eb411b4bSmrg 3423eb411b4bSmrg Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3424eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3425eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3426eb411b4bSmrg 3427eb411b4bSmrgcommit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 3428eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3429eb411b4bSmrgDate: Fri Apr 19 14:30:40 2013 -0700 3430eb411b4bSmrg 3431eb411b4bSmrg Give GNU & Solaris Studio compilers hints about XEatData branches 3432eb411b4bSmrg 3433eb411b4bSmrg Try to offset the cost of all the recent checks we've added by giving 3434eb411b4bSmrg the compiler a hint that the branches that involve us eating data 3435eb411b4bSmrg are less likely to be used than the ones that process it. 3436eb411b4bSmrg 3437eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3438eb411b4bSmrg 3439eb411b4bSmrgcommit e1b457beb8d4e831ef44279dada6c475cb955738 3440eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3441eb411b4bSmrgDate: Sun Mar 31 12:22:35 2013 -0700 3442eb411b4bSmrg 3443eb411b4bSmrg _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 3444eb411b4bSmrg 3445eb411b4bSmrg Various other bounds checks in the code assume this is true, so 3446eb411b4bSmrg enforce it when we first get the data from the X server. 3447eb411b4bSmrg 3448eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3449eb411b4bSmrg 3450eb411b4bSmrgcommit 12ad4c6432496897ff000eb7cfecd0fb4b290331 3451eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3452eb411b4bSmrgDate: Sat Mar 16 10:03:13 2013 -0700 3453eb411b4bSmrg 3454eb411b4bSmrg Use calloc in XOpenDisplay to initialize structs containing pointers 3455eb411b4bSmrg 3456eb411b4bSmrg Prevents trying to free uninitialized pointers if we have to bail out 3457eb411b4bSmrg partway through setup, such as if we receive a corrupted or incomplete 3458eb411b4bSmrg connection setup block from the server. 3459eb411b4bSmrg 3460eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3461eb411b4bSmrg 3462eb411b4bSmrgcommit d38527e25f8b6e2f1174ecc21260c5c5416f972e 3463eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3464eb411b4bSmrgDate: Thu Mar 7 23:46:05 2013 -0800 3465eb411b4bSmrg 3466eb411b4bSmrg Remove more unnecessary casts from Xmalloc/calloc calls 3467eb411b4bSmrg 3468eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3469eb411b4bSmrg 3470eb411b4bSmrgcommit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 3471eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3472eb411b4bSmrgDate: Sat Mar 2 16:56:16 2013 -0800 3473eb411b4bSmrg 3474eb411b4bSmrg Convert more _XEatData callers to _XEatDataWords 3475eb411b4bSmrg 3476eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3477eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3478eb411b4bSmrg 3479eb411b4bSmrgcommit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 3480eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3481eb411b4bSmrgDate: Sat Mar 9 11:04:37 2013 -0800 3482eb411b4bSmrg 3483eb411b4bSmrg Make XGetWindowProperty() always initialize returned values 3484eb411b4bSmrg 3485eb411b4bSmrg Avoids memory corruption and other errors when callers access them 3486eb411b4bSmrg without checking to see if XGetWindowProperty() returned an error value. 3487eb411b4bSmrg 3488eb411b4bSmrg Callers are still required to check for errors, this just reduces the 3489eb411b4bSmrg damage when they don't. 3490eb411b4bSmrg 3491eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3492eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3493eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3494eb411b4bSmrg 3495eb411b4bSmrgcommit db1b1c871da29aa0545182bf888df81627f165a5 3496eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3497eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 3498eb411b4bSmrg 3499eb411b4bSmrg Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 3500eb411b4bSmrg 3501eb411b4bSmrg Ensure that when breaking the returned list into individual strings, 3502eb411b4bSmrg we don't walk past the end of allocated memory to write the '\0' bytes 3503eb411b4bSmrg 3504eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3505eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3506eb411b4bSmrg 3507eb411b4bSmrgcommit 8d5936594993921acdfec778dd8f41b555e2543a 3508eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3509eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 3510eb411b4bSmrg 3511eb411b4bSmrg Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 3512eb411b4bSmrg 3513eb411b4bSmrg Ensure that when breaking the returned list into individual strings, 3514eb411b4bSmrg we don't walk past the end of allocated memory to write the '\0' bytes 3515eb411b4bSmrg 3516eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3517eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3518eb411b4bSmrg 3519eb411b4bSmrgcommit 0c404db6a92dc2c198328bf586c02d8abbe02013 3520eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3521eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 3522eb411b4bSmrg 3523eb411b4bSmrg Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 3524eb411b4bSmrg 3525eb411b4bSmrg Ensure that when breaking the returned list into individual strings, 3526eb411b4bSmrg we don't walk past the end of allocated memory to write the '\0' bytes 3527eb411b4bSmrg 3528eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3529eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3530eb411b4bSmrg 3531eb411b4bSmrgcommit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 3532eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3533eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 3534eb411b4bSmrg 3535eb411b4bSmrg integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 3536eb411b4bSmrg 3537eb411b4bSmrg Ensure that we don't underallocate when the server claims a very large reply 3538eb411b4bSmrg 3539eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3540eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3541eb411b4bSmrg 3542eb411b4bSmrgcommit a351b8103b2ba78882e1c309e85893ca3abe2073 3543eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3544eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 3545eb411b4bSmrg 3546eb411b4bSmrg integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 3547eb411b4bSmrg 3548eb411b4bSmrg Ensure that we don't underallocate when the server claims a very large reply 3549eb411b4bSmrg 3550eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3551eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3552eb411b4bSmrg 3553eb411b4bSmrgcommit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 3554eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3555eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 3556eb411b4bSmrg 3557eb411b4bSmrg integer overflow in XGetImage() [CVE-2013-1981 11/13] 3558eb411b4bSmrg 3559eb411b4bSmrg Ensure that we don't underallocate when the server claims to have sent a 3560eb411b4bSmrg very large reply. 3561eb411b4bSmrg 3562eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3563eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3564eb411b4bSmrg 3565eb411b4bSmrgcommit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 3566eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3567eb411b4bSmrgDate: Fri Mar 8 22:25:35 2013 -0800 3568eb411b4bSmrg 3569eb411b4bSmrg integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 3570eb411b4bSmrg 3571eb411b4bSmrg If the reported number of properties is too large, the calculations 3572eb411b4bSmrg to allocate memory for them may overflow, leaving us returning less 3573eb411b4bSmrg memory to the caller than implied by the value written to *nitems. 3574eb411b4bSmrg 3575eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3576eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3577eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3578eb411b4bSmrg 3579eb411b4bSmrgcommit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 3580eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3581eb411b4bSmrgDate: Sat Mar 2 13:18:48 2013 -0800 3582eb411b4bSmrg 3583eb411b4bSmrg integer overflows in TransFileName() [CVE-2013-1981 9/13] 3584eb411b4bSmrg 3585eb411b4bSmrg When trying to process file paths the tokens %H, %L, & %S are expanded 3586eb411b4bSmrg to $HOME, the standard compose file path & the xlocaledir path. 3587eb411b4bSmrg If enough of these tokens are repeated and values like $HOME are set to 3588eb411b4bSmrg very large values, the calculation of the total string size required to 3589eb411b4bSmrg hold the expanded path can overflow, resulting in allocating a smaller 3590eb411b4bSmrg string than the amount of data we'll write to it. 3591eb411b4bSmrg 3592eb411b4bSmrg Simply restrict all of these values, and the total path size to PATH_MAX, 3593eb411b4bSmrg because really, that's all you should need for a filename path. 3594eb411b4bSmrg 3595eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3596eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3597eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3598eb411b4bSmrg 3599eb411b4bSmrgcommit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 3600eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3601eb411b4bSmrgDate: Fri Mar 1 18:37:37 2013 -0800 3602eb411b4bSmrg 3603eb411b4bSmrg integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 3604eb411b4bSmrg 3605eb411b4bSmrg Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 3606eb411b4bSmrg to specify filename. 3607eb411b4bSmrg 3608eb411b4bSmrg If the size of off_t is larger than the size of unsigned long (as in 3609eb411b4bSmrg 32-bit builds with large file flags), a file larger than 4 gigs could 3610eb411b4bSmrg have its size truncated, leading to data from that file being written 3611eb411b4bSmrg past the end of the undersized buffer allocated for it. 3612eb411b4bSmrg 3613eb411b4bSmrg While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 3614eb411b4bSmrg builders may have added the large file compilation flags to CFLAGS on 3615eb411b4bSmrg their own. 3616eb411b4bSmrg 3617eb411b4bSmrg size is left limited to an int, because if your Xim file is 3618eb411b4bSmrg larger than 2gb, you're doing it wrong. 3619eb411b4bSmrg 3620eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3621eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3622eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3623eb411b4bSmrg 3624eb411b4bSmrgcommit 226622349a4b1e16064649d4444a34fb4be4f464 3625eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3626eb411b4bSmrgDate: Sat Mar 2 12:39:58 2013 -0800 3627eb411b4bSmrg 3628eb411b4bSmrg Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 3629eb411b4bSmrg 3630eb411b4bSmrg parseline() can call _XimParseStringFile() which can call parseline() 3631eb411b4bSmrg which can call _XimParseStringFile() which can call parseline() .... 3632eb411b4bSmrg eventually causing recursive stack overflow and crash. 3633eb411b4bSmrg 3634eb411b4bSmrg Limit is set to a include depth of 100 files, which should be enough 3635eb411b4bSmrg for all known use cases, but could be adjusted later if necessary. 3636eb411b4bSmrg 3637eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3638eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3639eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3640eb411b4bSmrg 3641eb411b4bSmrgcommit 236b603d235dc264d1c6250dca09c745458a9088 3642eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3643eb411b4bSmrgDate: Sat Mar 2 12:01:39 2013 -0800 3644eb411b4bSmrg 3645eb411b4bSmrg Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 3646eb411b4bSmrg 3647eb411b4bSmrg GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 3648eb411b4bSmrg which can call GetDatabase() which can call GetIncludeFile() .... 3649eb411b4bSmrg eventually causing recursive stack overflow and crash. 3650eb411b4bSmrg 3651eb411b4bSmrg Easily reproduced with a resource file that #includes itself. 3652eb411b4bSmrg 3653eb411b4bSmrg Limit is set to a include depth of 100 files, which should be enough 3654eb411b4bSmrg for all known use cases, but could be adjusted later if necessary. 3655eb411b4bSmrg 3656eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3657eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3658eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3659eb411b4bSmrg 3660eb411b4bSmrgcommit 076428918e6c35f66b9b55c3fa097ff06496d155 3661eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3662eb411b4bSmrgDate: Fri Mar 1 18:37:37 2013 -0800 3663eb411b4bSmrg 3664eb411b4bSmrg integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 3665eb411b4bSmrg 3666eb411b4bSmrg Called from XrmGetFileDatabase() which gets called from InitDefaults() 3667eb411b4bSmrg which gets the filename from getenv ("XENVIRONMENT") 3668eb411b4bSmrg 3669eb411b4bSmrg If file is exactly 0xffffffff bytes long (or longer and truncates to 3670eb411b4bSmrg 0xffffffff, on implementations where off_t is larger than an int), 3671eb411b4bSmrg then size may be set to a value which overflows causing less memory 3672eb411b4bSmrg to be allocated than is written to by the following read() call. 3673eb411b4bSmrg 3674eb411b4bSmrg size is left limited to an int, because if your Xresources file is 3675eb411b4bSmrg larger than 2gb, you're very definitely doing it wrong. 3676eb411b4bSmrg 3677eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3678eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3679eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3680eb411b4bSmrg 3681eb411b4bSmrgcommit 90fd5abac2faca86f9f100353a3c9c7b89f31484 3682eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3683eb411b4bSmrgDate: Sat Mar 2 11:44:19 2013 -0800 3684eb411b4bSmrg 3685eb411b4bSmrg Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 3686eb411b4bSmrg 3687eb411b4bSmrg LoadColornameDB() calls stringSectionSize() to do a first pass over the 3688eb411b4bSmrg file (which may be provided by the user via XCMSDB environment variable) 3689eb411b4bSmrg to determine how much memory needs to be allocated to read in the file, 3690eb411b4bSmrg then allocates the returned sizes and calls ReadColornameDB() to load the 3691eb411b4bSmrg data from the file into that newly allocated memory. 3692eb411b4bSmrg 3693eb411b4bSmrg If stringSectionSize() overflows the signed ints used to calculate the 3694eb411b4bSmrg file size (say if you have an xcmsdb with ~4 billion lines in or a 3695eb411b4bSmrg combined string length of ~4 gig - which while it may have been 3696eb411b4bSmrg inconceivable when Xlib was written, is quite possible today), then 3697eb411b4bSmrg LoadColornameDB() may allocate a memory buffer much smaller than the 3698eb411b4bSmrg amount of data ReadColornameDB() will write to it. 3699eb411b4bSmrg 3700eb411b4bSmrg The total size is left limited to an int, because if your xcmsdb file 3701eb411b4bSmrg is larger than 2gb, you're doing it wrong. 3702eb411b4bSmrg 3703eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3704eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3705eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3706eb411b4bSmrg 3707eb411b4bSmrgcommit b9ba832401734e1cbd30a930c0d11d850293f3f9 3708eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3709eb411b4bSmrgDate: Sat Mar 2 11:25:25 2013 -0800 3710eb411b4bSmrg 3711eb411b4bSmrg unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 3712eb411b4bSmrg 3713eb411b4bSmrg Check the provided buffer size against the amount of data we're going to 3714eb411b4bSmrg write into it, not against the reported length from the ClientMessage. 3715eb411b4bSmrg 3716eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3717eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3718eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3719eb411b4bSmrg 3720eb411b4bSmrgcommit de2e6c322c4aca22856b380f67f8e488e7510015 3721eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3722eb411b4bSmrgDate: Sat Mar 2 11:11:08 2013 -0800 3723eb411b4bSmrg 3724eb411b4bSmrg unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 3725eb411b4bSmrg 3726eb411b4bSmrg If the X server returns key name indexes outside the range of the number 3727eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 3728eb411b4bSmrg 3729eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3730eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3731eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3732eb411b4bSmrg 3733eb411b4bSmrgcommit 2df882eeb3a70256170127a746a9ba26376599a1 3734eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3735eb411b4bSmrgDate: Sat Mar 2 11:01:04 2013 -0800 3736eb411b4bSmrg 3737eb411b4bSmrg unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 3738eb411b4bSmrg 3739eb411b4bSmrg If the X server returns modifier map indexes outside the range of the number 3740eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 3741eb411b4bSmrg 3742eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3743eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3744eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3745eb411b4bSmrg 3746eb411b4bSmrgcommit 4d7c422a37eb9617fb22f8e37527c2b34b105665 3747eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3748eb411b4bSmrgDate: Sat Mar 2 11:04:44 2013 -0800 3749eb411b4bSmrg 3750eb411b4bSmrg unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 3751eb411b4bSmrg 3752eb411b4bSmrg If the X server returns key indexes outside the range of the number of 3753eb411b4bSmrg keys it told us to allocate, out of bounds memory writes could occur. 3754eb411b4bSmrg 3755eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3756eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3757eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3758eb411b4bSmrg 3759eb411b4bSmrgcommit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 3760eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3761eb411b4bSmrgDate: Sat Mar 2 10:51:51 2013 -0800 3762eb411b4bSmrg 3763eb411b4bSmrg unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 3764eb411b4bSmrg 3765eb411b4bSmrg If the X server returns modifier map indexes outside the range of the number 3766eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 3767eb411b4bSmrg 3768eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3769eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3770eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3771eb411b4bSmrg 3772eb411b4bSmrgcommit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 3773eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3774eb411b4bSmrgDate: Sat Mar 2 10:39:21 2013 -0800 3775eb411b4bSmrg 3776eb411b4bSmrg unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 3777eb411b4bSmrg 3778eb411b4bSmrg If the X server returns key behavior indexes outside the range of the number 3779eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 3780eb411b4bSmrg 3781eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3782eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3783eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3784eb411b4bSmrg 3785eb411b4bSmrgcommit 00626c3830b869259098985afa38933d77ccec72 3786eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3787eb411b4bSmrgDate: Sat Mar 2 09:40:22 2013 -0800 3788eb411b4bSmrg 3789eb411b4bSmrg unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 3790eb411b4bSmrg 3791eb411b4bSmrg If the X server returns key action indexes outside the range of the number 3792eb411b4bSmrg of keys it told us to allocate, out of bounds memory access could occur. 3793eb411b4bSmrg 3794eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3795eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3796eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3797eb411b4bSmrg 3798eb411b4bSmrgcommit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 3799eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3800eb411b4bSmrgDate: Sat Mar 2 09:28:33 2013 -0800 3801eb411b4bSmrg 3802eb411b4bSmrg unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 3803eb411b4bSmrg 3804eb411b4bSmrg If the X server returns keymap indexes outside the range of the number of 3805eb411b4bSmrg keys it told us to allocate, out of bounds memory access could occur. 3806eb411b4bSmrg 3807eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3808eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3809eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3810eb411b4bSmrg 3811eb411b4bSmrgcommit 59ae16a00d18588e98af57d26e442af8ea42b7aa 3812eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3813eb411b4bSmrgDate: Sat Mar 2 09:18:26 2013 -0800 3814eb411b4bSmrg 3815eb411b4bSmrg unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 3816eb411b4bSmrg 3817eb411b4bSmrg If the X server returns color indexes outside the range of the number of 3818eb411b4bSmrg colors it told us to allocate, out of bounds memory access could occur. 3819eb411b4bSmrg 3820eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3821eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3822eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3823eb411b4bSmrg 3824eb411b4bSmrgcommit bff938b9fe1629cbacb726509edfa2a3840b7207 3825eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3826eb411b4bSmrgDate: Sat Mar 2 09:12:47 2013 -0800 3827eb411b4bSmrg 3828eb411b4bSmrg unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 3829eb411b4bSmrg 3830eb411b4bSmrg If the X server returns shape indexes outside the range of the number 3831eb411b4bSmrg of shapes it told us to allocate, out of bounds memory access could occur. 3832eb411b4bSmrg 3833eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3834eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3835eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3836eb411b4bSmrg 3837eb411b4bSmrgcommit f293659d5a4024bda386305bb7ebeb4647c40934 3838eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3839eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 3840eb411b4bSmrg 3841eb411b4bSmrg unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 3842eb411b4bSmrg 3843eb411b4bSmrg If the X server returns more buttons than are allocated in the XKB 3844eb411b4bSmrg device info structures, out of bounds writes could occur. 3845eb411b4bSmrg 3846eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3847eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3848eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3849eb411b4bSmrg 3850eb411b4bSmrgcommit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 3851eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3852eb411b4bSmrgDate: Fri Mar 1 19:30:09 2013 -0800 3853eb411b4bSmrg 3854eb411b4bSmrg unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 3855eb411b4bSmrg 3856eb411b4bSmrg If a broken server returned larger than requested values for nPixels or 3857eb411b4bSmrg nMasks, XAllocColorCells would happily overflow the buffers provided by 3858eb411b4bSmrg the caller to write the results into. 3859eb411b4bSmrg 3860eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3861eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3862eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3863eb411b4bSmrg 3864eb411b4bSmrgcommit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 3865eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3866eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 3867eb411b4bSmrg 3868eb411b4bSmrg integer overflow in XListHosts() [CVE-2013-1981 5/13] 3869eb411b4bSmrg 3870eb411b4bSmrg If the reported number of host entries is too large, the calculations 3871eb411b4bSmrg to allocate memory for them may overflow, leaving us writing beyond the 3872eb411b4bSmrg bounds of the allocation. 3873eb411b4bSmrg 3874eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3875eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3876eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3877eb411b4bSmrg 3878eb411b4bSmrgcommit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 3879eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3880eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 3881eb411b4bSmrg 3882eb411b4bSmrg integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 3883eb411b4bSmrg 3884eb411b4bSmrg If the reported number of motion events is too large, the calculations 3885eb411b4bSmrg to allocate memory for them may overflow, leaving us writing beyond the 3886eb411b4bSmrg bounds of the allocation. 3887eb411b4bSmrg 3888eb411b4bSmrg v2: Ensure nEvents is set to 0 when returning NULL events pointer 3889eb411b4bSmrg 3890eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3891eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3892eb411b4bSmrg 3893eb411b4bSmrgcommit 39515b7c3ba8cae9021bf6695e378ae19487082f 3894eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3895eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 3896eb411b4bSmrg 3897eb411b4bSmrg integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 3898eb411b4bSmrg 3899eb411b4bSmrg If the reported number of remaining fonts is too large, the calculations 3900eb411b4bSmrg to allocate memory for them may overflow, leaving us writing beyond the 3901eb411b4bSmrg bounds of the allocation. 3902eb411b4bSmrg 3903eb411b4bSmrg v2: Fix reply_left calculations, check calculated sizes fit in reply_left 3904eb411b4bSmrg v3: On error cases, also set values to be returned in pointer args to 0/NULL 3905eb411b4bSmrg 3906eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3907eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3908eb411b4bSmrg 3909eb411b4bSmrgcommit 5669a220816b7d58fcaf0c302ead16fbe5c87817 3910eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3911eb411b4bSmrgDate: Fri Mar 1 21:05:27 2013 -0800 3912eb411b4bSmrg 3913eb411b4bSmrg integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 3914eb411b4bSmrg 3915eb411b4bSmrg Similar to _XQueryFont, but with more ways to go wrong and overflow. 3916eb411b4bSmrg Only compiled if libX11 is built with XF86BigFont support. 3917eb411b4bSmrg 3918eb411b4bSmrg v2: Fix reply_left calculations, check calculated sizes fit in reply_left 3919eb411b4bSmrg 3920eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3921eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3922eb411b4bSmrg 3923eb411b4bSmrgcommit 6df8a63d34b7514077188e2062a13774f920c085 3924eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3925eb411b4bSmrgDate: Fri Mar 1 21:05:27 2013 -0800 3926eb411b4bSmrg 3927eb411b4bSmrg integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 3928eb411b4bSmrg 3929eb411b4bSmrg If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 3930eb411b4bSmrg unsigned long, then too small of a buffer will be allocated for the 3931eb411b4bSmrg data copied in from the reply. 3932eb411b4bSmrg 3933eb411b4bSmrg v2: Fix reply_left calculations, check calculated sizes fit in reply_left 3934eb411b4bSmrg 3935eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 3936eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3937eb411b4bSmrg 3938eb411b4bSmrgcommit 9f5d83706543696fc944c1835a403938c06f2cc5 3939eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3940eb411b4bSmrgDate: Fri Mar 1 20:54:24 2013 -0800 3941eb411b4bSmrg 3942eb411b4bSmrg Add _XEatDataWords to discard a given number of 32-bit words of reply data 3943eb411b4bSmrg 3944eb411b4bSmrg Matches the units of the length field in X protocol replies, and provides 3945eb411b4bSmrg a single implementation of overflow checking to avoid having to replicate 3946eb411b4bSmrg those checks in every caller. 3947eb411b4bSmrg 3948eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3949eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3950eb411b4bSmrg 3951eb411b4bSmrgcommit d7f04c340ade3834e603c23d543132e1ee4e0c63 3952eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3953eb411b4bSmrgDate: Sat Mar 2 13:03:55 2013 -0800 3954eb411b4bSmrg 3955eb411b4bSmrg Move repeated #ifdef magic to find PATH_MAX into a common header 3956eb411b4bSmrg 3957eb411b4bSmrg Lets stop duplicating the mess all over 3958eb411b4bSmrg 3959eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3960eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 3961eb411b4bSmrg 3962eb411b4bSmrgcommit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 3963eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 3964eb411b4bSmrgDate: Tue May 7 18:38:14 2013 -0400 3965eb411b4bSmrg 3966eb411b4bSmrg Add compose sequences for J́ and j́. 3967eb411b4bSmrg 3968eb411b4bSmrg The resulting sequences are: 3969eb411b4bSmrg 3970eb411b4bSmrg U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 3971eb411b4bSmrg U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 3972eb411b4bSmrg 3973eb411b4bSmrg Used in Dutch, per: 3974eb411b4bSmrg 3975eb411b4bSmrg http://lists.x.org/archives/xorg-devel/2013-February/035514.html 3976eb411b4bSmrg https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 3977eb411b4bSmrg 3978eb411b4bSmrg Signed-off-by: Pander <pander@users.sourceforge.net> 3979eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 3980eb411b4bSmrg 3981eb411b4bSmrgcommit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 3982eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3983eb411b4bSmrgDate: Sat Mar 16 18:30:56 2013 -0700 3984eb411b4bSmrg 3985eb411b4bSmrg Move big request comment in XOpenDisplay to the right place 3986eb411b4bSmrg 3987eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3988eb411b4bSmrg 3989eb411b4bSmrgcommit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 3990eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3991eb411b4bSmrgDate: Sat Mar 9 19:16:03 2013 -0800 3992eb411b4bSmrg 3993eb411b4bSmrg libX11 1.5.99.901 (1.6 RC1) 3994eb411b4bSmrg 3995eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3996eb411b4bSmrg 3997eb411b4bSmrgcommit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 3998eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3999eb411b4bSmrgDate: Fri Mar 8 22:33:28 2013 -0800 4000eb411b4bSmrg 4001eb411b4bSmrg Fix very weird indenting in src/GetFProp.c 4002eb411b4bSmrg 4003eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4004eb411b4bSmrg 4005eb411b4bSmrgcommit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 4006eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4007eb411b4bSmrgDate: Fri Mar 8 15:37:33 2013 -0800 4008eb411b4bSmrg 4009eb411b4bSmrg XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 4010eb411b4bSmrg 4011eb411b4bSmrg While the C standard technically allows for the compiler to translate 4012eb411b4bSmrg pointer = 0 or pointer = NULL into something other than filling the 4013eb411b4bSmrg pointer address with 0 bytes, the rest of the Xlib code already assumes 4014eb411b4bSmrg that calloc initializes any pointers in the struct to NULL, and there 4015eb411b4bSmrg are no known systems supported by X.Org where this is not true. 4016eb411b4bSmrg 4017eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4018eb411b4bSmrg 4019eb411b4bSmrgcommit 39547d600a13713e15429f49768e54c3173c828d 4020eb411b4bSmrgAuthor: Karl Tomlinson <xmail@karlt.net> 4021eb411b4bSmrgDate: Mon Feb 18 01:25:34 2013 +0000 4022eb411b4bSmrg 4023eb411b4bSmrg MakeBigReq: don't move the last word, already handled by Data32 4024eb411b4bSmrg 4025eb411b4bSmrg MakeBigReq inserts a length field after the first 4 bytes of the request 4026eb411b4bSmrg (after req->length), pushing everything else back by 4 bytes. 4027eb411b4bSmrg 4028eb411b4bSmrg The current memmove moves everything but the first 4 bytes back. 4029eb411b4bSmrg If a request aligns to the end of the buffer pointer when MakeBigReq is 4030eb411b4bSmrg invoked for that request, this runs over the buffer. 4031eb411b4bSmrg Instead, we need to memmove minus the first 4 bytes (which aren't moved), 4032eb411b4bSmrg minus the last 4 bytes (so we still align to the previous tail). 4033eb411b4bSmrg 4034eb411b4bSmrg The 4 bytes that fell out are already handled with Data32, which will 4035eb411b4bSmrg handle the buffermax correctly. 4036eb411b4bSmrg 4037eb411b4bSmrg The case where req->length = 1 was already not functional. 4038eb411b4bSmrg 4039eb411b4bSmrg Reported by Abhishek Arya <inferno@chromium.org>. 4040eb411b4bSmrg 4041eb411b4bSmrg https://bugzilla.mozilla.org/show_bug.cgi?id=803762 4042eb411b4bSmrg 4043eb411b4bSmrg Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 4044eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4045eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4046eb411b4bSmrg 4047eb411b4bSmrgcommit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 4048eb411b4bSmrgAuthor: Quentin Glidic <sardemff7+git@sardemff7.net> 4049eb411b4bSmrgDate: Tue Jan 15 21:07:17 2013 +0000 4050eb411b4bSmrg 4051eb411b4bSmrg nls/Makefile.am: Use LOG_COMPILER 4052eb411b4bSmrg 4053eb411b4bSmrg TESTS_ENVIRONMENT is deprecated 4054eb411b4bSmrg 4055eb411b4bSmrg Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 4056eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4057eb411b4bSmrg 4058eb411b4bSmrgcommit df66d7a98e2bc7f44fb5583b645df87d525f07f1 4059eb411b4bSmrgAuthor: Quentin Glidic <sardemff7+git@sardemff7.net> 4060eb411b4bSmrgDate: Tue Jan 15 21:07:16 2013 +0000 4061eb411b4bSmrg 4062eb411b4bSmrg nls/Makefile.am: Remove unneeded $(srcdir) 4063eb411b4bSmrg 4064eb411b4bSmrg Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 4065eb411b4bSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 4066eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4067eb411b4bSmrg 4068eb411b4bSmrgcommit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 4069eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4070eb411b4bSmrgDate: Sat Mar 2 12:01:39 2013 -0800 4071eb411b4bSmrg 4072eb411b4bSmrg Add <X11/Xresource.h> hint to all Xrm* man pages 4073eb411b4bSmrg 4074eb411b4bSmrg Help users figure out which header file they need to #include 4075eb411b4bSmrg 4076eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4077eb411b4bSmrg 4078eb411b4bSmrgcommit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 4079eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4080eb411b4bSmrgDate: Fri Mar 8 17:13:09 2013 -0800 4081eb411b4bSmrg 4082eb411b4bSmrg _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 4083eb411b4bSmrg 4084eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4085eb411b4bSmrg 4086eb411b4bSmrgcommit 47d2eff64d167b3245d346d7f38ca703be645e26 4087eb411b4bSmrgAuthor: Ken Moffat <ken@linuxfromscratch.org> 4088eb411b4bSmrgDate: Thu Mar 7 18:27:54 2013 -0500 4089eb411b4bSmrg 4090eb411b4bSmrg dead_double_grave and dead_inverted_breve should only have one underscore. 4091eb411b4bSmrg 4092eb411b4bSmrg Correct instances of dead_double_grave and dead_inverted_breve to 4093eb411b4bSmrg dead_doublegrave and dead_invertedbreve. 4094eb411b4bSmrg 4095eb411b4bSmrg Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 4096eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 4097eb411b4bSmrg 4098eb411b4bSmrgcommit c23d61d1b84dca3740bf4786978c7908d0065fb9 4099eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4100eb411b4bSmrgDate: Fri Mar 1 18:10:27 2013 -0800 4101eb411b4bSmrg 4102eb411b4bSmrg Assume size_t is always available, since it was defined in C89 4103eb411b4bSmrg 4104eb411b4bSmrg Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 4105eb411b4bSmrg We already use size_t throughout the rest of Xlib, just had this 4106eb411b4bSmrg one instance left in XKBGAlloc.c of a fallback definition. 4107eb411b4bSmrg 4108eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4109eb411b4bSmrg 4110eb411b4bSmrgcommit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 4111eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4112eb411b4bSmrgDate: Fri Mar 1 18:09:07 2013 -0800 4113eb411b4bSmrg 4114eb411b4bSmrg unifdef XKB_IN_SERVER 4115eb411b4bSmrg 4116eb411b4bSmrg Leftovers from XKB files that were previously shared between the client 4117eb411b4bSmrg and server code, but aren't any more. 4118eb411b4bSmrg 4119eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4120eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4121eb411b4bSmrg 4122eb411b4bSmrgcommit 769a0efa2298040fe8316a89fc9e75fb61e288e5 4123eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4124eb411b4bSmrgDate: Thu Feb 28 20:04:25 2013 -0800 4125eb411b4bSmrg 4126eb411b4bSmrg unifdef CRAY & _CRAY 4127eb411b4bSmrg 4128eb411b4bSmrg (mostly performed with unifdef, followed by some manual cleanup of 4129eb411b4bSmrg the remaining code) 4130eb411b4bSmrg 4131eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4132eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4133eb411b4bSmrg 4134eb411b4bSmrgcommit ca106eb03e5f5468df8033300c5caae3d3c6936b 4135eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4136eb411b4bSmrgDate: Thu Feb 28 20:04:25 2013 -0800 4137eb411b4bSmrg 4138eb411b4bSmrg unifdef WORD64 4139eb411b4bSmrg 4140eb411b4bSmrg WORD64 seems to have only been defined in <X11/Xmd.h> when building for 4141eb411b4bSmrg CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 4142eb411b4bSmrg 64-bit alignment requirements. 4143eb411b4bSmrg 4144eb411b4bSmrg It hadn't been fully supported even before autotooling, as can be 4145eb411b4bSmrg seen by removed code such as: 4146eb411b4bSmrg 4147eb411b4bSmrg #ifdef WORD64 4148eb411b4bSmrg _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 4149eb411b4bSmrg #endif 4150eb411b4bSmrg 4151eb411b4bSmrg (mostly performed with unifdef, followed by some manual cleanup of 4152eb411b4bSmrg the remaining code) 4153eb411b4bSmrg 4154eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4155eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4156eb411b4bSmrg 4157eb411b4bSmrgcommit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 4158eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4159eb411b4bSmrgDate: Thu Feb 28 20:04:25 2013 -0800 4160eb411b4bSmrg 4161eb411b4bSmrg unifdef MUSTCOPY 4162eb411b4bSmrg 4163eb411b4bSmrg MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 4164eb411b4bSmrg CRAY, to handle missing some sizes of integer type. 4165eb411b4bSmrg 4166eb411b4bSmrg (mostly performed with unifdef, followed by some manual cleanup of 4167eb411b4bSmrg spacing/indenting in the remaining code) 4168eb411b4bSmrg 4169eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4170eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 4171eb411b4bSmrg 4172eb411b4bSmrgcommit b687440c28c7da6ee0ae44514d20248db5161606 4173eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4174eb411b4bSmrgDate: Sat Feb 16 10:42:23 2013 -0800 4175eb411b4bSmrg 4176eb411b4bSmrg Convert more sprintf calls to snprintf 4177eb411b4bSmrg 4178eb411b4bSmrg You could analyze most of these and quickly recognize that there was no 4179eb411b4bSmrg chance of buffer overflow already, but why make everyone spend time doing 4180eb411b4bSmrg that when we can just make it obviously safe? 4181eb411b4bSmrg 4182eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4183eb411b4bSmrg 4184eb411b4bSmrgcommit b092dabbd712d7b656abcf572d253b9b206c0237 4185eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4186eb411b4bSmrgDate: Fri Feb 15 23:43:12 2013 -0800 4187eb411b4bSmrg 4188eb411b4bSmrg XKeysymToString: move variable declarations to the scope of their usage 4189eb411b4bSmrg 4190eb411b4bSmrg Makes it easier for readers to understand scope of variable usage, and 4191eb411b4bSmrg clears up gcc warning: 4192eb411b4bSmrg 4193eb411b4bSmrg KeysymStr.c: In function 'XKeysymToString': 4194eb411b4bSmrg KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 4195eb411b4bSmrg KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 4196eb411b4bSmrg 4197eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4198eb411b4bSmrg 4199eb411b4bSmrgcommit f0b171c8ea7b055ba520272ea9a2604e18841ac7 4200eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4201eb411b4bSmrgDate: Fri Feb 15 23:34:40 2013 -0800 4202eb411b4bSmrg 4203eb411b4bSmrg Preserve constness in casting arguments through the Data*() routines 4204eb411b4bSmrg 4205eb411b4bSmrg Casts were annoying gcc by dropping constness when changing types, 4206eb411b4bSmrg when routines simply either copy data into the request buffer or 4207eb411b4bSmrg send it directly to the X server, and never modify the input. 4208eb411b4bSmrg 4209eb411b4bSmrg Fixes gcc warnings including: 4210eb411b4bSmrg ChProp.c: In function 'XChangeProperty': 4211eb411b4bSmrg ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4212eb411b4bSmrg ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4213eb411b4bSmrg ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4214eb411b4bSmrg ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4215eb411b4bSmrg ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4216eb411b4bSmrg SetHints.c: In function 'XSetStandardProperties': 4217eb411b4bSmrg SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4218eb411b4bSmrg SetPntMap.c: In function 'XSetPointerMapping': 4219eb411b4bSmrg SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4220eb411b4bSmrg SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4221eb411b4bSmrg StBytes.c: In function 'XStoreBuffer': 4222eb411b4bSmrg StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4223eb411b4bSmrg StName.c: In function 'XStoreName': 4224eb411b4bSmrg StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4225eb411b4bSmrg StName.c: In function 'XSetIconName': 4226eb411b4bSmrg StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4227eb411b4bSmrg 4228eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4229eb411b4bSmrg 4230eb411b4bSmrgcommit 6c558ee357292dd9dfc6d9006f4525f625327c52 4231eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4232eb411b4bSmrgDate: Fri Feb 15 22:58:54 2013 -0800 4233eb411b4bSmrg 4234eb411b4bSmrg Fix comment typo & confusing indentation levels in Data() macro definition 4235eb411b4bSmrg 4236eb411b4bSmrg The final } matches the one on the #define line, not one that doesn't 4237eb411b4bSmrg appear after the else statement it was lined up with 4238eb411b4bSmrg 4239eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4240eb411b4bSmrg 4241eb411b4bSmrgcommit afd6593da90e51234d59f8921c411317f91ab48b 4242eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4243eb411b4bSmrgDate: Fri Feb 15 23:25:38 2013 -0800 4244eb411b4bSmrg 4245eb411b4bSmrg XStringToKeysym: preserve constness when casting off unsignedness for strcmp 4246eb411b4bSmrg 4247eb411b4bSmrg Fixes gcc warning: 4248eb411b4bSmrg StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4249eb411b4bSmrg 4250eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4251eb411b4bSmrg 4252eb411b4bSmrgcommit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 4253eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4254eb411b4bSmrgDate: Fri Feb 15 23:14:40 2013 -0800 4255eb411b4bSmrg 4256eb411b4bSmrg XRebindKeysym: Drop unnecessary const-removing cast 4257eb411b4bSmrg 4258eb411b4bSmrg C89 defines memcpy as taking a const void *, so casting from 4259eb411b4bSmrg const unsigned char * to char * simply angers gcc for no benefit: 4260eb411b4bSmrg 4261eb411b4bSmrg KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4262eb411b4bSmrg 4263eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4264eb411b4bSmrg 4265eb411b4bSmrgcommit 54527eab93d46055cf11eb6c18abb353a03ae544 4266eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4267eb411b4bSmrgDate: Fri Feb 15 22:45:19 2013 -0800 4268eb411b4bSmrg 4269eb411b4bSmrg cmsColNm.c: maintain constness of arguments to qsort helper function 4270eb411b4bSmrg 4271eb411b4bSmrg Fixes gcc warning: 4272eb411b4bSmrg 4273eb411b4bSmrg cmsColNm.c: In function 'FirstCmp': 4274eb411b4bSmrg cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4275eb411b4bSmrg cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4276eb411b4bSmrg 4277eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4278eb411b4bSmrg 4279eb411b4bSmrgcommit deedeada53676ee529d700bf96fde0b29a3a1def 4280eb411b4bSmrgAuthor: Nickolai Zeldovich <nickolai@csail.mit.edu> 4281eb411b4bSmrgDate: Tue Jan 22 10:03:00 2013 -0500 4282eb411b4bSmrg 4283eb411b4bSmrg XListFontsWithInfo: avoid accessing realloc'ed memory 4284eb411b4bSmrg 4285eb411b4bSmrg If exactly one of the two reallocs in XListFontsWithInfo() fails, the 4286eb411b4bSmrg subsequent code accesses memory freed by the other realloc. 4287eb411b4bSmrg 4288eb411b4bSmrg Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 4289eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4290eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4291eb411b4bSmrg 4292eb411b4bSmrgcommit f57fd760cba92ad846917f21e94e73e9c846185f 4293eb411b4bSmrgAuthor: Colin Walters <walters@verbum.org> 4294eb411b4bSmrgDate: Wed Jan 4 17:37:06 2012 -0500 4295eb411b4bSmrg 4296eb411b4bSmrg autogen.sh: Implement GNOME Build API 4297eb411b4bSmrg 4298eb411b4bSmrg http://people.gnome.org/~walters/docs/build-api.txt 4299eb411b4bSmrg 4300eb411b4bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 4301eb411b4bSmrg 4302eb411b4bSmrgcommit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 4303eb411b4bSmrgAuthor: Adam Jackson <ajax@redhat.com> 4304eb411b4bSmrgDate: Tue Jan 15 14:28:48 2013 -0500 4305eb411b4bSmrg 4306eb411b4bSmrg configure: Remove AM_MAINTAINER_MODE 4307eb411b4bSmrg 4308eb411b4bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 4309eb411b4bSmrg 4310eb411b4bSmrgcommit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 4311eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4312eb411b4bSmrgDate: Wed Dec 26 22:57:39 2012 -0800 4313eb411b4bSmrg 4314eb411b4bSmrg Remove unused DECnet ("DNETCONN") code from Xlib 4315eb411b4bSmrg 4316eb411b4bSmrg Has never been converted to build in modular builds, so has been unusable 4317eb411b4bSmrg since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 4318eb411b4bSmrg back in 2008. 4319eb411b4bSmrg 4320eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4321eb411b4bSmrg 4322eb411b4bSmrgcommit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 4323eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4324eb411b4bSmrgDate: Wed Dec 26 22:56:38 2012 -0800 4325eb411b4bSmrg 4326eb411b4bSmrg Remove unused TLI ("STREAMSCONN") code from Xlib 4327eb411b4bSmrg 4328eb411b4bSmrg Has never been converted to build in modular builds, so has been unusable 4329eb411b4bSmrg since X11R7.0 release in 2005. All known platforms with TLI/XTI support 4330eb411b4bSmrg that X11R7 & later releases run on also have (and mostly prefer) BSD 4331eb411b4bSmrg socket support for their networking API. 4332eb411b4bSmrg 4333eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4334eb411b4bSmrg 4335eb411b4bSmrgcommit 59c9ee8cd58857c5769b643611cbe526005a9e45 4336eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4337eb411b4bSmrgDate: Sun Dec 16 17:44:42 2012 -0800 4338eb411b4bSmrg 4339eb411b4bSmrg Tell clang not to report -Wpadded warnings on public headers we can't fix 4340eb411b4bSmrg 4341eb411b4bSmrg Better to silence the compiler warning than break ABI. 4342eb411b4bSmrg 4343eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4344eb411b4bSmrg 4345eb411b4bSmrgcommit 0b148750027fd0557c5ed93afda861ddf4b92e0f 4346eb411b4bSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 4347eb411b4bSmrgDate: Mon Nov 12 17:27:52 2012 +0000 4348eb411b4bSmrg 4349eb411b4bSmrg Fix config check for loadable modules 4350eb411b4bSmrg 4351eb411b4bSmrg The config check of the results of testing for dlfcn.h or dl.h just tests the 4352eb411b4bSmrg value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 4353eb411b4bSmrg it is 'yes', so loadable module support would always be detected. 4354eb411b4bSmrg 4355eb411b4bSmrg This is necessary for successful compilation for the MinGW target without the 4356eb411b4bSmrg optional dlfcn-win32 library. 4357eb411b4bSmrg 4358eb411b4bSmrg v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 4359eb411b4bSmrg correctly when dlfcn.h is available 4360eb411b4bSmrg 4361eb411b4bSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 4362eb411b4bSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 4363eb411b4bSmrg 4364eb411b4bSmrgcommit cd25cab4b5b957641183ce72dd1ae0424aff1663 4365eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4366eb411b4bSmrgDate: Fri May 20 18:27:02 2011 +0200 4367eb411b4bSmrg 4368eb411b4bSmrg Install Xcms.txt in $(datadir) rather than $(libdir). 4369eb411b4bSmrg 4370eb411b4bSmrg This file is an architecture independent data and should be where 4371eb411b4bSmrg other databases are. 4372eb411b4bSmrg This is the Xlib provided sample file, applications are free to 4373eb411b4bSmrg use a different one specifying its location in the XCMSDB env 4374eb411b4bSmrg variable. 4375eb411b4bSmrg 4376eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4377eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4378eb411b4bSmrg 4379eb411b4bSmrgcommit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 4380eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4381eb411b4bSmrgDate: Fri May 20 18:25:24 2011 +0200 4382eb411b4bSmrg 4383eb411b4bSmrg Don't hard code path to Xcms.txt file. 4384eb411b4bSmrg 4385eb411b4bSmrg The path to this file is configurable at build time. The source 4386eb411b4bSmrg however contains a hard coded path. 4387eb411b4bSmrg 4388eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4389eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4390eb411b4bSmrg 4391eb411b4bSmrgcommit 9833489e6c3829a1e835bc0a11f028fc180809e4 4392eb411b4bSmrgAuthor: Colin Walters <walters@verbum.org> 4393eb411b4bSmrgDate: Fri Dec 7 08:51:21 2012 -0500 4394eb411b4bSmrg 4395eb411b4bSmrg Fix build after dropping locales 4396eb411b4bSmrg 4397eb411b4bSmrg They also needed to be removed from configure.ac 4398eb411b4bSmrg 4399eb411b4bSmrg Signed-off-by: Colin Walters <walters@verbum.org> 4400eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 4401eb411b4bSmrg 4402eb411b4bSmrgcommit 0a740a574aaf0c0eec78859b773a532cff3b74c3 4403eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4404eb411b4bSmrgDate: Fri May 20 13:04:11 2011 +0200 4405eb411b4bSmrg 4406eb411b4bSmrg i18n: Uppercased all occurances if 'iso8859' in the full locale name. 4407eb411b4bSmrg 4408eb411b4bSmrg Making all occurances of iso8859 upper case in the full local name 4409eb411b4bSmrg makes the alias entries more consistent and match the entries on 4410eb411b4bSmrg locale.dir. 4411eb411b4bSmrg 4412eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4413eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4414eb411b4bSmrg 4415eb411b4bSmrgcommit 5e7d589697755a70fb22d85c6a1ae82b39843e53 4416eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4417eb411b4bSmrgDate: Fri May 20 17:55:49 2011 +0200 4418eb411b4bSmrg 4419eb411b4bSmrg i18n: Remove ja.S90 and ja.U90 locales. 4420eb411b4bSmrg 4421eb411b4bSmrg Both locales carry a copyright notice and a prorietary statement: 4422eb411b4bSmrg 4423eb411b4bSmrg Copyright 1995 by FUJITSU LIMITED 4424eb411b4bSmrg This is source code modified by FUJITSU LIMITED under the Joint 4425eb411b4bSmrg Development Agreement for the CDEnext PST. 4426eb411b4bSmrg This is unpublished proprietary source code of FUJITSU LIMITED 4427eb411b4bSmrg 4428eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4429eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4430eb411b4bSmrg 4431eb411b4bSmrgcommit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 4432eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4433eb411b4bSmrgDate: Fri May 20 16:46:15 2011 +0200 4434eb411b4bSmrg 4435eb411b4bSmrg i18n: Bring locale.dir and compose.dir in sync. 4436eb411b4bSmrg 4437eb411b4bSmrg Some entries for locale/encoding combinations were missing from 4438eb411b4bSmrg either file or just misspelled, some entries were wrong or just 4439eb411b4bSmrg aliases. 4440eb411b4bSmrg 4441eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4442eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4443eb411b4bSmrg 4444eb411b4bSmrgcommit d1e6baa4e290b758e430077cb74e7c03ad850771 4445eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4446eb411b4bSmrgDate: Fri May 20 14:02:39 2011 +0200 4447eb411b4bSmrg 4448eb411b4bSmrg i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 4449eb411b4bSmrg 4450eb411b4bSmrg locale.alias contains a comment: 4451eb411b4bSmrg XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 4452eb411b4bSmrg Thus lets treat 'a3' as an alias for 'az'. 4453eb411b4bSmrg 4454eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4455eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4456eb411b4bSmrg Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 4457eb411b4bSmrg 4458eb411b4bSmrgcommit fa2aab0bea18efa26a56977d3166277582ab7b07 4459eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4460eb411b4bSmrgDate: Fri May 20 13:09:38 2011 +0200 4461eb411b4bSmrg 4462eb411b4bSmrg i18n: Fixed typos in full locale names. 4463eb411b4bSmrg 4464eb411b4bSmrg Fixing those typos those names actually match entries in 4465eb411b4bSmrg locale.dir. 4466eb411b4bSmrg 4467eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4468eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4469eb411b4bSmrg 4470eb411b4bSmrgcommit b88dd95005dce4c40f9b4d5f938f945e7955fd04 4471eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4472eb411b4bSmrgDate: Sat May 21 07:29:38 2011 +0200 4473eb411b4bSmrg 4474eb411b4bSmrg i18n: Remove duplicates and aliases to oneself. 4475eb411b4bSmrg 4476eb411b4bSmrg Aliases to itself don't make much sense. 4477eb411b4bSmrg This changes occurances of: 447838ae11fcSmrg xy_UV.UTF-8: xy_UV.UTF-8 4479eb411b4bSmrg to 448038ae11fcSmrg xy_UV: xy_UV.UTF-8 4481eb411b4bSmrg where applicable. 4482eb411b4bSmrg 4483eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4484eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4485eb411b4bSmrg 4486eb411b4bSmrgcommit f198c6aa98f88ff285d903175a3c4c0fd33a4575 4487eb411b4bSmrgAuthor: Jens Herden <jens.herden@email.de> 4488eb411b4bSmrgDate: Fri May 20 17:29:03 2011 +0200 4489eb411b4bSmrg 4490eb411b4bSmrg i18n: Add support for Khmer locale and compose table. 4491eb411b4bSmrg 4492eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4493eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4494eb411b4bSmrg 4495eb411b4bSmrgcommit 40761898692e5063957bfa2518cca3d35b2e354a 4496eb411b4bSmrgAuthor: Kalman Kemenczy <kkemenczy@novell.com> 4497eb411b4bSmrgDate: Fri May 20 17:03:24 2011 +0200 4498eb411b4bSmrg 4499eb411b4bSmrg i18n: Add support for Serbian specific compose table entries. 4500eb411b4bSmrg 4501eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4502eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4503eb411b4bSmrg 4504eb411b4bSmrgcommit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 4505eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4506eb411b4bSmrgDate: Fri May 20 14:00:35 2011 +0200 4507eb411b4bSmrg 4508eb411b4bSmrg i18n: Adding and removing comments. 4509eb411b4bSmrg 4510eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4511eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4512eb411b4bSmrg 4513eb411b4bSmrgcommit 7754d68976106183751243c2c35a84134be17b34 4514eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4515eb411b4bSmrgDate: Fri May 20 13:45:31 2011 +0200 4516eb411b4bSmrg 4517eb411b4bSmrg i18n: Add missing locales which existed in locale.alias. 4518eb411b4bSmrg 4519eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4520eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4521eb411b4bSmrg 4522eb411b4bSmrgcommit 952eccd0d25ba66023acfd31873eee2e71c38c42 4523eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 4524eb411b4bSmrgDate: Fri May 20 10:57:57 2011 +0200 4525eb411b4bSmrg 4526eb411b4bSmrg i18n: Consolidate compose handling for locales with UTF-8 encoding. 4527eb411b4bSmrg 4528eb411b4bSmrg - add an entry to include the default en_US compose file 4529eb411b4bSmrg for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 4530eb411b4bSmrg - add missing entries for zh_CN. and zh_HK and am_ET. 4531eb411b4bSmrg - change entries for the UTF-8 encoding for ru_RU, ja_JP, 4532eb411b4bSmrg ko_KR, th_TH and zh_TW to point to their native directory 4533eb411b4bSmrg entries. 4534eb411b4bSmrg 4535eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4536eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4537eb411b4bSmrg 4538eb411b4bSmrgcommit d14b6a250f004fa405179db7020f6953001d17b9 4539eb411b4bSmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 4540eb411b4bSmrgDate: Mon Oct 22 13:54:11 2012 -0500 4541eb411b4bSmrg 4542eb411b4bSmrg XIM: remove Private and Public macros 4543eb411b4bSmrg 4544eb411b4bSmrg Private is a struct member name in mingw-w64 <winioctl.h>, causing this 4545eb411b4bSmrg useless define in a private header to break the build. 4546eb411b4bSmrg 4547eb411b4bSmrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 4548eb411b4bSmrg Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 4549eb411b4bSmrg 4550eb411b4bSmrgcommit f2a8def423a46d52e834cf7ea49fa0079427663a 4551eb411b4bSmrgAuthor: Adam Jackson <ajax@redhat.com> 4552eb411b4bSmrgDate: Wed Oct 17 14:40:43 2012 -0400 4553eb411b4bSmrg 4554eb411b4bSmrg XErrorDB: Add GLXBadProfileARB 4555eb411b4bSmrg 4556eb411b4bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 4557eb411b4bSmrg 4558eb411b4bSmrgcommit d45b3fc19fbe95c41afc4e51d768df6d42332010 4559eb411b4bSmrgAuthor: Ross Burton <ross.burton@intel.com> 4560eb411b4bSmrgDate: Wed Sep 12 14:39:40 2012 +0100 4561eb411b4bSmrg 4562eb411b4bSmrg Allow overriding location of keysymdef.h 4563eb411b4bSmrg 4564eb411b4bSmrg Currently keysymdef.h is found by using the includedir of xproto. This doesn't 4565eb411b4bSmrg work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 4566eb411b4bSmrg not a path into the cross-build environment. 4567eb411b4bSmrg 4568eb411b4bSmrg So, add an option to allow explicitly specifying the location of keysymdef.h, 4569eb411b4bSmrg and verify that the specified or found path exists. 4570eb411b4bSmrg 4571eb411b4bSmrg (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 4572eb411b4bSmrg 4573eb411b4bSmrg Signed-off-by: Ross Burton <ross.burton@intel.com> 4574eb411b4bSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 4575eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 4576eb411b4bSmrg 4577eb411b4bSmrgcommit 44cdc0dc2c68d67654023ec707b807145d3a38c0 4578eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4579eb411b4bSmrgDate: Thu Aug 23 19:15:07 2012 -0400 4580eb411b4bSmrg 4581eb411b4bSmrg Renove some unnecessary low-level markup. 4582eb411b4bSmrg 4583eb411b4bSmrg Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 4584eb411b4bSmrg This appears to have been somebody's thinko, it's only in a few of the files. 4585eb411b4bSmrg 4586eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4587eb411b4bSmrg 4588eb411b4bSmrgcommit b686600ab5ca93b5750f827786e79c329ab2db4d 4589eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4590eb411b4bSmrgDate: Thu Aug 23 10:53:33 2012 -0400 4591eb411b4bSmrg 4592eb411b4bSmrg The .NT/.NE macro pair is no longer used. Remove it. 4593eb411b4bSmrg 4594eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4595eb411b4bSmrg 4596eb411b4bSmrgcommit b83f2898528c5dd683acd2a2143879a760a8dad5 4597eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4598eb411b4bSmrgDate: Thu Aug 23 10:42:46 2012 -0400 4599eb411b4bSmrg 4600eb411b4bSmrg Remove the one and only use of the .NT/.NE pair. 4601eb411b4bSmrg 4602eb411b4bSmrg The problem with these macros is that they rely on being able to 4603eb411b4bSmrg center the note label. That doesn't play well with modern HTML, 4604eb411b4bSmrg not anyway without coomplications like CSS. This use was just a cute 4605eb411b4bSmrg trick, not adding enough value to be kept. 4606eb411b4bSmrg 4607eb411b4bSmrgcommit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 4608eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4609eb411b4bSmrgDate: Thu Aug 23 10:23:45 2012 -0400 4610eb411b4bSmrg 4611eb411b4bSmrg The .C{ and .C} macros are never used. Remove them. 4612eb411b4bSmrg 4613eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4614eb411b4bSmrg 4615eb411b4bSmrgcommit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 4616eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4617eb411b4bSmrgDate: Thu Aug 23 10:08:08 2012 -0400 4618eb411b4bSmrg 4619eb411b4bSmrg The .FN macro, paired with .FD, is also never used. Remove it. 4620eb411b4bSmrg 4621eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4622eb411b4bSmrg 4623eb411b4bSmrgcommit cac6572701c976542da562b2b277b07ffb892a6f 4624eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4625eb411b4bSmrgDate: Thu Aug 23 10:03:00 2012 -0400 4626eb411b4bSmrg 4627eb411b4bSmrg The ".FD" macro is never used. Remove it. 4628eb411b4bSmrg 4629eb411b4bSmrg It was a temptation to presentation-level klugery and is best gone. 4630eb411b4bSmrg 4631eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4632eb411b4bSmrg 4633eb411b4bSmrgcommit 6e27a828f39f7028bc7f4a8736e7262fca250632 4634eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4635eb411b4bSmrgDate: Thu Aug 23 09:54:25 2012 -0400 4636eb411b4bSmrg 4637eb411b4bSmrg Clean up, my last commit missed four cases. 4638eb411b4bSmrg 4639eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4640eb411b4bSmrg 4641eb411b4bSmrgcommit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 4642eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4643eb411b4bSmrgDate: Thu Aug 23 08:24:17 2012 -0400 4644eb411b4bSmrg 4645eb411b4bSmrg Eliminate all uses of tab stops in the libX11 man pages. 4646eb411b4bSmrg 4647eb411b4bSmrg Two steps: First, expand tabs to 8 spaces in code and structure 4648eb411b4bSmrg listings. Second, make the .Ds used to wrap code listings switch to 4649eb411b4bSmrg constant-width font (CW) rather than numeric font position 1, which 4650eb411b4bSmrg maps to R on most systems. 4651eb411b4bSmrg 4652eb411b4bSmrg It is possible some archaic systems won't know what CW is, but the 4653eb411b4bSmrg only risk is that code listings won't look quite right on troff 4654eb411b4bSmrg devices; the PostScript and DVI drivers definitely grok it, so those 4655eb411b4bSmrg important cases are OK. 4656eb411b4bSmrg 4657eb411b4bSmrg The purpose of these changes is to get rid of presentation-level 4658eb411b4bSmrg markup so these pages will lift clean to DocBook. 4659eb411b4bSmrg 4660eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 4661eb411b4bSmrg 4662eb411b4bSmrgcommit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 4663eb411b4bSmrgAuthor: Will Thompson <will@willthompson.co.uk> 4664eb411b4bSmrgDate: Mon Jul 9 18:00:27 2012 +0100 4665eb411b4bSmrg 4666eb411b4bSmrg Add compose sequences for "therefore" and "because". 4667eb411b4bSmrg 4668eb411b4bSmrg These sequences look sensible to me. I added them to the APL-related 4669eb411b4bSmrg section of Mathematical Operators—they're in that section of Unicode 4670eb411b4bSmrg anyway. 4671eb411b4bSmrg 4672eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=51922 4673eb411b4bSmrg 4674eb411b4bSmrg Signed-off-by: Will Thompson <will@willthompson.co.uk> 4675eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 4676eb411b4bSmrg 4677eb411b4bSmrgcommit 65358ea5079236b2508f787ac2fb2024a477e36d 4678eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4679eb411b4bSmrgDate: Fri Jun 29 23:08:04 2012 -0700 4680eb411b4bSmrg 4681eb411b4bSmrg Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 4682eb411b4bSmrg 4683eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4684eb411b4bSmrg 4685eb411b4bSmrgcommit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 4686eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4687eb411b4bSmrgDate: Fri Jun 29 22:57:13 2012 -0700 4688eb411b4bSmrg 4689eb411b4bSmrg XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 4690eb411b4bSmrg 4691eb411b4bSmrg Fixes leaks in error paths found by Parfait 1.0.0: 4692eb411b4bSmrg 4693eb411b4bSmrg Error: X Resource Leak 4694eb411b4bSmrg Leaked X Resource pix 4695eb411b4bSmrg at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 4696eb411b4bSmrg pix initialized at line 60 with XCreatePixmap 4697eb411b4bSmrg Error: X Resource Leak 4698eb411b4bSmrg Leaked X Resource pix 4699eb411b4bSmrg at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 4700eb411b4bSmrg pix initialized at line 66 with XCreatePixmap 4701eb411b4bSmrg 4702eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4703eb411b4bSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 4704eb411b4bSmrg 4705eb411b4bSmrgcommit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 4706eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4707eb411b4bSmrgDate: Wed Jun 6 13:31:16 2012 -0700 4708eb411b4bSmrg 4709eb411b4bSmrg libX11 spec: Correct prototype for XConvertSelection 4710eb411b4bSmrg 4711eb411b4bSmrg selection & target parameters were accidentally run together 4712eb411b4bSmrg 4713eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4714eb411b4bSmrg 4715eb411b4bSmrgcommit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 4716eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4717eb411b4bSmrgDate: Fri Jun 1 23:37:09 2012 -0700 4718eb411b4bSmrg 4719eb411b4bSmrg libX11 1.5.0 4720eb411b4bSmrg 4721eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4722eb411b4bSmrg 4723eb411b4bSmrgcommit 05c587ec3be880721131a17c1dd4366e458fdd8b 4724eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4725eb411b4bSmrgDate: Sat May 26 14:37:28 2012 -0700 4726eb411b4bSmrg 4727eb411b4bSmrg libX11 1.4.99.902 (1.5 RC2) 4728eb411b4bSmrg 4729eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4730eb411b4bSmrg 4731eb411b4bSmrgcommit d817834d9772e3500d5102e2eae868b04a33c31f 4732eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 4733eb411b4bSmrgDate: Sat May 5 19:02:10 2012 +0200 4734eb411b4bSmrg 4735eb411b4bSmrg Compose: Reassigned squences with minus and a or o 4736eb411b4bSmrg 4737eb411b4bSmrg Reassigned squences with minus and a or o (vice versa and lower and 4738eb411b4bSmrg upper case) to conform existing series and not resulting in tilde. 4739eb411b4bSmrg Also added noe missing underscore sequence. 4740eb411b4bSmrg 4741eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4742eb411b4bSmrg 4743eb411b4bSmrgcommit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 4744eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 4745eb411b4bSmrgDate: Sat May 5 16:56:05 2012 +0200 4746eb411b4bSmrg 4747eb411b4bSmrg Compose: Removed <slash> <U> and vice versa 4748eb411b4bSmrg 4749eb411b4bSmrg Combination with lower case u suffices 4750eb411b4bSmrg 4751eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4752eb411b4bSmrg 4753eb411b4bSmrgcommit 3a8b1637132d1e36eb5e11f52dfb284081772d14 4754eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 4755eb411b4bSmrgDate: Sat May 5 16:44:31 2012 +0200 4756eb411b4bSmrg 4757eb411b4bSmrg Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 4758eb411b4bSmrg 4759eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4760eb411b4bSmrg 4761eb411b4bSmrgcommit fd514d7a35119dd4413b51c84f2a536f2ca501a6 4762eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 4763eb411b4bSmrgDate: Sat May 5 16:40:20 2012 +0200 4764eb411b4bSmrg 4765eb411b4bSmrg Compose: Removed <S> in combination with a numeral for superscript 4766eb411b4bSmrg 4767eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4768eb411b4bSmrg 4769eb411b4bSmrgcommit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 4770eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 4771eb411b4bSmrgDate: Sat May 5 16:28:01 2012 +0200 4772eb411b4bSmrg 4773eb411b4bSmrg Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 4774eb411b4bSmrg 4775eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4776eb411b4bSmrg 4777eb411b4bSmrgcommit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 4778eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 4779eb411b4bSmrgDate: Thu May 10 12:27:28 2012 -0400 4780eb411b4bSmrg 4781eb411b4bSmrg Remove duplicate compose sequences from commit e51e37c118ae. 4782eb411b4bSmrg 4783eb411b4bSmrg The compose-check script only handles compiled Compose files, not 4784eb411b4bSmrg the Compose.pre files. One must remember to use: 4785eb411b4bSmrg 4786eb411b4bSmrg ./autogen.sh; make; make check 4787eb411b4bSmrg 4788eb411b4bSmrg when reviewing patches to the Compose.pre files.... 4789eb411b4bSmrg 4790eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 4791eb411b4bSmrg 4792eb411b4bSmrgcommit e51e37c118ae6cb9ced8244ce1c410677e0279ce 4793eb411b4bSmrgAuthor: Geoff Streeter <geoff@dyalog.com> 4794eb411b4bSmrgDate: Thu Mar 22 15:02:00 2012 +0000 4795eb411b4bSmrg 4796eb411b4bSmrg Add APL support to compose 4797eb411b4bSmrg 4798eb411b4bSmrg Signed-off-by: Geoff Streeter <geoff@dyalog.com> 4799eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 4800eb411b4bSmrg 4801eb411b4bSmrgcommit dac90324cee224df977a428afe80d960dceca769 4802eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 4803eb411b4bSmrgDate: Sat May 5 16:05:07 2012 +0200 4804eb411b4bSmrg 4805eb411b4bSmrg configure: make previous change work with older autoconf 4806eb411b4bSmrg 4807eb411b4bSmrg autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 4808eb411b4bSmrg the tests separately. 4809eb411b4bSmrg 4810eb411b4bSmrg Reported-by: Dave Airlie 4811eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 4812eb411b4bSmrg 4813eb411b4bSmrgcommit f5b50af4324186962e258ffe9be78d5ee4681982 4814eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 4815eb411b4bSmrgDate: Sun Apr 29 16:43:09 2012 +0200 4816eb411b4bSmrg 4817eb411b4bSmrg configure: check if issetugid is declared 4818eb411b4bSmrg 4819eb411b4bSmrg GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 4820eb411b4bSmrg declare it anywhere, causing gcc to error out with 4821eb411b4bSmrg -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 4822eb411b4bSmrg AC_CHECK_FUNC so we disable this code instead of failing to build it. 4823eb411b4bSmrg 4824eb411b4bSmrg Debian bug#669670 <http://bugs.debian.org/669670> 4825eb411b4bSmrg 4826eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 4827eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4828eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4829eb411b4bSmrg 4830eb411b4bSmrgcommit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 4831eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 4832eb411b4bSmrgDate: Mon Apr 30 16:36:47 2012 +1000 4833eb411b4bSmrg 4834eb411b4bSmrg Typo fix 4835eb411b4bSmrg 4836eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 4837eb411b4bSmrg 4838eb411b4bSmrgcommit b64969f0e510d5d3300cf968741a3726a6409577 4839eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4840eb411b4bSmrgDate: Tue Apr 17 18:12:02 2012 -0700 4841eb411b4bSmrg 4842eb411b4bSmrg Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 4843eb411b4bSmrg 4844eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4845eb411b4bSmrg 4846eb411b4bSmrgcommit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 4847eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4848eb411b4bSmrgDate: Tue Apr 17 18:01:36 2012 -0700 4849eb411b4bSmrg 4850eb411b4bSmrg Add olinks from libX11 & localedb specs to ICCCM spec 4851eb411b4bSmrg 4852eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4853eb411b4bSmrg 4854eb411b4bSmrgcommit b3c1b8cdab7d14220426c9b997ac362dc16318fc 4855eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4856eb411b4bSmrgDate: Tue Apr 17 17:49:44 2012 -0700 4857eb411b4bSmrg 4858eb411b4bSmrg Add olinks from libX11 spec to ICCCM spec 4859eb411b4bSmrg 4860eb411b4bSmrg Also convert ICCCM title mentions from <emphasis> to <citetitle> 4861eb411b4bSmrg 4862eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4863eb411b4bSmrg 4864eb411b4bSmrgcommit ebebb65e753007ad01966dccc90bd6ca9a826488 4865eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4866eb411b4bSmrgDate: Sat Apr 14 23:40:01 2012 -0700 4867eb411b4bSmrg 4868eb411b4bSmrg libX11 AppC: Fix section headers that didn't translate from nroff properly 4869eb411b4bSmrg 4870eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4871eb411b4bSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 4872eb411b4bSmrg 4873eb411b4bSmrgcommit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 4874eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4875eb411b4bSmrgDate: Sat Apr 14 23:13:05 2012 -0700 4876eb411b4bSmrg 4877eb411b4bSmrg Add olinks from libX11 spec to x11protocol spec 4878eb411b4bSmrg 4879eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4880eb411b4bSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 4881eb411b4bSmrg 4882eb411b4bSmrgcommit 83878a0e34fffd255597300dd3e6cd43fcd645b0 4883eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4884eb411b4bSmrgDate: Sat Apr 14 22:28:53 2012 -0700 4885eb411b4bSmrg 4886eb411b4bSmrg libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 4887eb411b4bSmrg 4888eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4889eb411b4bSmrg 4890eb411b4bSmrgcommit abc523fce31fcf2687229697a8eb656e343ecb0c 4891eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4892eb411b4bSmrgDate: Thu Mar 15 22:14:45 2012 -0700 4893eb411b4bSmrg 4894eb411b4bSmrg libX11 1.4.99.901 (1.5 RC1) 4895eb411b4bSmrg 4896eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4897eb411b4bSmrg 4898eb411b4bSmrgcommit b2cc5905a4a6d519957223e8ba2caef71520040c 4899eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4900eb411b4bSmrgDate: Thu Mar 15 22:03:21 2012 -0700 4901eb411b4bSmrg 4902eb411b4bSmrg Remove "register" qualifier that annoys Solaris Studio compiler 4903eb411b4bSmrg 4904eb411b4bSmrg Fixes warning: 4905eb411b4bSmrg "Xrm.c", line 1094: warning: storage class after type is obsolescent 4906eb411b4bSmrg 4907eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4908eb411b4bSmrg 4909eb411b4bSmrgcommit 62d42953893f93a98db0504eaf06d650ceaf5811 4910eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 4911eb411b4bSmrgDate: Wed Mar 14 17:25:46 2012 -0400 4912eb411b4bSmrg 4913eb411b4bSmrg Fix the gtk+ additions 4914eb411b4bSmrg 4915eb411b4bSmrg (Some of) the Dstroke and dstroke entries already were present as U011[01], 4916eb411b4bSmrg even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 4917eb411b4bSmrg 4918eb411b4bSmrg The addition of <Multi_key> <o> <apostrophe> as a postfix version of 4919eb411b4bSmrg <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 4920eb411b4bSmrg That prevents its and <Multi_key> <O> <apostrophe>’s addition. 4921eb411b4bSmrg 4922eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 4923eb411b4bSmrg 4924eb411b4bSmrgcommit 91bcce48d94792f78333d2aea73961cc2e739d2e 4925eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 4926eb411b4bSmrgDate: Wed Mar 14 12:54:53 2012 -0400 4927eb411b4bSmrg 4928eb411b4bSmrg Complete compose key sequences for musical symbols 4929eb411b4bSmrg 4930eb411b4bSmrg Signed-off-by: Pander <pander@users.sourceforge.net> 4931eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 4932eb411b4bSmrg 4933eb411b4bSmrgcommit cf040016d455bc37f7665d6714337c5eafd8ea94 4934eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 4935eb411b4bSmrgDate: Wed Mar 14 12:46:25 2012 -0400 4936eb411b4bSmrg 4937eb411b4bSmrg Add compose sequences from gtk+ to X.Org 4938eb411b4bSmrg 4939eb411b4bSmrg Signed-off-by: Pander <pander@users.sourceforge.net> 4940eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 4941eb411b4bSmrg 4942eb411b4bSmrgcommit a4c591ced5cac9301b9abfa0e521be2d0b267882 4943eb411b4bSmrgAuthor: Keith Packard <keithp@keithp.com> 4944eb411b4bSmrgDate: Sun Mar 4 02:00:13 2012 -0800 4945eb411b4bSmrg 4946eb411b4bSmrg Block for other threads in _XUserLockDisplay 4947eb411b4bSmrg 4948eb411b4bSmrg Wait for all other threads to release the user-level lock when 4949eb411b4bSmrg acquiring it. This ensures that only one thread at a time holds the 4950eb411b4bSmrg user-level lock, necessary as it is a nesting lock and a single 4951eb411b4bSmrg variable is used to determine when the lock is nesting and when it is 4952eb411b4bSmrg contended. 4953eb411b4bSmrg 4954eb411b4bSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 4955eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 4956eb411b4bSmrg 4957eb411b4bSmrgcommit ed00b460acb08787b695f27b864e96102dfd4867 4958eb411b4bSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 4959eb411b4bSmrgDate: Fri Oct 28 11:09:20 2011 -0500 4960eb411b4bSmrg 4961eb411b4bSmrg Don't use caddr_t casts 4962eb411b4bSmrg 4963eb411b4bSmrg (caddr_t) isn't used anywhere else in xcb or libX11. 4964eb411b4bSmrg Cast to (char *) for consistency. 4965eb411b4bSmrg 4966eb411b4bSmrg Removing this cast allows building for MinGW without patching. 4967eb411b4bSmrg 4968eb411b4bSmrg v2: Cast to (char *) rather than just dropping the cast 4969eb411b4bSmrg 4970eb411b4bSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 4971eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4972eb411b4bSmrg 4973eb411b4bSmrgcommit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 4974eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 4975eb411b4bSmrgDate: Sun Feb 19 13:27:38 2012 +0100 4976eb411b4bSmrg 4977eb411b4bSmrg Revert "xcb: Add TCP fallback" 4978eb411b4bSmrg 4979eb411b4bSmrg This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 4980eb411b4bSmrg 4981eb411b4bSmrg The TCP fallback ended up falling back to UNIX socket connection if 4982eb411b4bSmrg $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 4983eb411b4bSmrg 4984eb411b4bSmrg Debian bug#659558 <http://bugs.debian.org/659558> 4985eb411b4bSmrg 4986eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 4987eb411b4bSmrg 4988eb411b4bSmrg Conflicts: 4989eb411b4bSmrg 499038ae11fcSmrg src/OpenDis.c 4991eb411b4bSmrg 4992eb411b4bSmrgcommit f4378193619baa9bb973c1b5b718721bbcbe92c7 4993eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 4994eb411b4bSmrgDate: Wed Feb 22 14:13:20 2012 -0500 4995eb411b4bSmrg 4996eb411b4bSmrg Make the compose sequence for ẞ work. 4997eb411b4bSmrg 4998eb411b4bSmrg There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 4999eb411b4bSmrg so use the U1e9e symbol in the Compose sequence. 5000eb411b4bSmrg 5001eb411b4bSmrg (Compose sequences do not work when the target symbol is unknown.) 5002eb411b4bSmrg 5003eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5004eb411b4bSmrg 5005eb411b4bSmrgcommit 2ca641c3a506dcbee97e279b67990d5387389f36 5006eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 5007eb411b4bSmrgDate: Mon Feb 20 17:04:59 2012 +0200 5008eb411b4bSmrg 5009eb411b4bSmrg Use ezh/EZH in compose maps 5010eb411b4bSmrg 5011eb411b4bSmrg Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 5012eb411b4bSmrg 5013eb411b4bSmrg Signed-off-by: Marko Myllynen <myllynen@redhat.com> 5014eb411b4bSmrg Reviewed-by: Matt Dew <marcoz@osource.org> 5015eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5016eb411b4bSmrg 5017eb411b4bSmrgcommit 61725822f20f47684a545c1797183ee7075243ac 5018eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 5019eb411b4bSmrgDate: Sun Feb 20 17:09:43 2011 +0200 5020eb411b4bSmrg 5021eb411b4bSmrg Provide translation from XK_permille (ad5) to Unicode (U2030) 5022eb411b4bSmrg 5023eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=19687 5024eb411b4bSmrg 5025eb411b4bSmrg Signed-off-by: Marko Myllynen <myllynen@redhat.com> 5026eb411b4bSmrg Reviewed-by: Matt Dew <marcoz@osource.org> 5027eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5028eb411b4bSmrg 5029eb411b4bSmrgcommit d2cce0abba0fa0143f49026442c8cab5ed721625 5030eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5031eb411b4bSmrgDate: Sun Feb 12 19:01:43 2012 -0800 5032eb411b4bSmrg 5033eb411b4bSmrg nls: Use LC_CTYPE=C for sed magic 5034eb411b4bSmrg 5035eb411b4bSmrg Stricter versions of sed can trip up if the input does not match 5036eb411b4bSmrg LC_CTYPE 5037eb411b4bSmrg 5038eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5039eb411b4bSmrg 5040eb411b4bSmrgcommit f180e043f55531933bedfa6e0ff36a00a9ec07f3 5041eb411b4bSmrgAuthor: Frédéric Boiteux <fboiteux@calistel.com> 5042eb411b4bSmrgDate: Wed Nov 30 12:47:31 2011 +0000 5043eb411b4bSmrg 5044eb411b4bSmrg Compositions with the dead greek symbol 5045eb411b4bSmrg 5046eb411b4bSmrg FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 5047eb411b4bSmrg 5048eb411b4bSmrg Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 5049eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5050eb411b4bSmrg 5051eb411b4bSmrgcommit d58e8f8e27790017fcfdeca0843b7318d541c189 5052eb411b4bSmrgAuthor: Ryan Pavlik <rpavlik@iastate.edu> 5053eb411b4bSmrgDate: Sun Jan 1 21:04:52 2012 +0000 5054eb411b4bSmrg 5055eb411b4bSmrg Use pthreads on MinGW also 5056eb411b4bSmrg 5057eb411b4bSmrg Use pthreads (provided by the pthreads-win32 compatability library which implements 5058eb411b4bSmrg them using native Win32 threading) on MinGW 5059eb411b4bSmrg 5060eb411b4bSmrg Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5061eb411b4bSmrg 5062eb411b4bSmrgcommit bf15ccb6821664746ec23d769d757edf8059007e 5063eb411b4bSmrgAuthor: Ryan Pavlik <rpavlik@iastate.edu> 5064eb411b4bSmrgDate: Mon Jan 23 14:18:02 2012 +0000 5065eb411b4bSmrg 5066eb411b4bSmrg Add XWindows.h include to Xxcbint.h 5067eb411b4bSmrg 5068eb411b4bSmrg This avoids some conflicting type re-definition errors which occur if 5069eb411b4bSmrg we attempt to include Windows headers after Xmd.h 5070eb411b4bSmrg 5071eb411b4bSmrg Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 5072eb411b4bSmrg 5073eb411b4bSmrgcommit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 5074eb411b4bSmrgAuthor: Matt Dew <marcoz@osource.org> 5075eb411b4bSmrgDate: Sat Jan 21 17:59:51 2012 -0700 5076eb411b4bSmrg 5077eb411b4bSmrg informaltable & table cleanup 5078eb411b4bSmrg 5079eb411b4bSmrg On certain tables, add top and bottom borders to table header 5080eb411b4bSmrg and a bottom border to the table. This matches what those 5081eb411b4bSmrg tables in the old pdfs looked like. 5082eb411b4bSmrg 5083eb411b4bSmrg the <?dbfo keep-together='always'> prevents tables from 5084eb411b4bSmrg splitting across pages. Useful for tiny tables. 5085eb411b4bSmrg 5086eb411b4bSmrg Converting the colwidth to a floating point, IE, 1* -> 1.0* 5087eb411b4bSmrg cleans up these build errors: 5088eb411b4bSmrg WARNING: table-layout="fixed" and column-width unspecified => 5089eb411b4bSmrg falling back to proportional-column-width(1) 5090eb411b4bSmrg 5091eb411b4bSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 5092eb411b4bSmrg 5093eb411b4bSmrgcommit bb551f654df8f647c867f79252241964521e689e 5094eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5095eb411b4bSmrgDate: Wed Dec 28 21:22:41 2011 -0800 5096eb411b4bSmrg 5097eb411b4bSmrg Add more Xkb man pages to the See Also lists for core keyboard functions 5098eb411b4bSmrg 5099eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5100eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5101eb411b4bSmrg 5102eb411b4bSmrgcommit b7bb23fe7c8b8a17128e5bc98a05f68595190438 5103eb411b4bSmrgAuthor: Gaetan Nadon <nadon@memsize.(none)> 5104eb411b4bSmrgDate: Fri Dec 30 17:08:14 2011 -0500 5105eb411b4bSmrg 5106eb411b4bSmrg docbook.am: embed css styles inside the HTML HEAD element 5107eb411b4bSmrg 5108eb411b4bSmrg Rather than referring to the external xorg.css stylesheet, embed the content 5109eb411b4bSmrg of the file in the html output produced. This is accomplished by using 5110eb411b4bSmrg version 1.10 of xorg-xhtml.xsl. 5111eb411b4bSmrg 5112eb411b4bSmrg This makes the whole html docs tree much more relocatable. 5113eb411b4bSmrg In addition, it eliminates xorg.css as a runtime file which makes 5114eb411b4bSmrg xorg-sgml-doctools a build time only package. 5115eb411b4bSmrg 5116eb411b4bSmrg Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 5117eb411b4bSmrg 5118eb411b4bSmrgcommit 70505468b7c4a7068cc39be42e421dcee34ec595 5119eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5120eb411b4bSmrgDate: Tue Dec 13 19:58:30 2011 -0800 5121eb411b4bSmrg 5122eb411b4bSmrg makekeys: move buf declaration from global to main to silence gcc -Wshadow 5123eb411b4bSmrg 5124eb411b4bSmrg The global was only referenced in the main() function, which passes it 5125eb411b4bSmrg as an argument of the same name to the parse_line() function, leading 5126eb411b4bSmrg to gcc -Wshadow warnings: 5127eb411b4bSmrg 5128eb411b4bSmrg makekeys.c: In function ‘parse_line’: 5129eb411b4bSmrg makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 5130eb411b4bSmrg makekeys.c:54:13: warning: shadowed declaration is here 5131eb411b4bSmrg 5132eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5133eb411b4bSmrg 5134eb411b4bSmrgcommit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 5135eb411b4bSmrgAuthor: Kusanagi Kouichi <slash@ac.auone-net.jp> 5136eb411b4bSmrgDate: Wed Dec 14 02:17:55 2011 -0500 5137eb411b4bSmrg 5138eb411b4bSmrg XQueryColors: Split a request into multiple requests if necessary 5139eb411b4bSmrg 5140eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=9160 5141eb411b4bSmrg 5142eb411b4bSmrg Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 5143eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5144eb411b4bSmrg 5145eb411b4bSmrgcommit d3b3570592e9b9e57f270a0bd86762fd205a2833 5146eb411b4bSmrgAuthor: Andreas Wettstein <wettstein509@solnet.ch> 5147eb411b4bSmrgDate: Tue Nov 8 20:18:09 2011 +0000 5148eb411b4bSmrg 5149eb411b4bSmrg XIM: Allow modifier releases in compose sequences (#26705) 5150eb411b4bSmrg 5151eb411b4bSmrg Currently, only non-modifier keys (actually, keysyms) can be part of a compose 5152eb411b4bSmrg sequence, and they are matched against the defined compose sequences at the 5153eb411b4bSmrg time the key is pressed. The patch allows to use modifier keys an well, but 5154eb411b4bSmrg matches them on key release, and only if no other key has been pressed after 5155eb411b4bSmrg the modifier. 5156eb411b4bSmrg 5157eb411b4bSmrg Releasing a non-matched modifier during an ongoing compose sequence only aborts 5158eb411b4bSmrg the sequence if any modifier release would have matched. In particular, if no 5159eb411b4bSmrg compose sequences with modifiers are specified, the compose mechanism works 5160eb411b4bSmrg exactly as without this patch. 5161eb411b4bSmrg 5162eb411b4bSmrg Even if modifiers are part of a compose sequence, they are not filtered. This 5163eb411b4bSmrg is because modifiers affect the keyboard state no matter what we do here and, 5164eb411b4bSmrg therefore, filtering them only could confuse clients. 5165eb411b4bSmrg 5166eb411b4bSmrg The purpose is this extension to the compose mechanism is to allow to make 5167eb411b4bSmrg better use of keys in convenient reach for touch typing. 5168eb411b4bSmrg 5169eb411b4bSmrg Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 5170eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5171eb411b4bSmrg 5172eb411b4bSmrgcommit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 5173eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5174eb411b4bSmrgDate: Tue Nov 29 23:56:57 2011 -0800 5175eb411b4bSmrg 5176eb411b4bSmrg Reject negative string counts in copy_string_list 5177eb411b4bSmrg 5178eb411b4bSmrg Silences parfait warning of a potential memory leak: 5179eb411b4bSmrg Memory leak of pointer 'dst' allocated with malloc(length) 5180eb411b4bSmrg at line 160 of FSWrap.c in function 'copy_string_list'. 5181eb411b4bSmrg 'dst' allocated at line 145 with malloc(length). 5182eb411b4bSmrg dst leaks when count <= 0 at line 154. 5183eb411b4bSmrg 5184eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5185eb411b4bSmrg 5186eb411b4bSmrgcommit bf2d7c8c6d70539c72560b1921e18df2610acf29 5187eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 5188eb411b4bSmrgDate: Fri Nov 11 14:56:36 2011 +1000 5189eb411b4bSmrg 5190eb411b4bSmrg libX11 1.4.99.1 5191eb411b4bSmrg 5192eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5193eb411b4bSmrg 5194eb411b4bSmrgcommit 24283d40b1e4314c6647dda49d2a159833341a8b 5195eb411b4bSmrgAuthor: Derek Buitenhuis <derek.buitenhuis@gmail.com> 5196eb411b4bSmrgDate: Thu Sep 22 18:44:13 2011 -0400 5197eb411b4bSmrg 5198eb411b4bSmrg makekeys: Fix build/target word size mismatch when cross-compiling 5199eb411b4bSmrg 5200eb411b4bSmrg Since makekeys is built using build environment's gcc and 5201eb411b4bSmrg runs natively, we have to make sure that the size of the 5202eb411b4bSmrg Signature type is the same on both the native environment 5203eb411b4bSmrg and the target, otherwise we get mismatches upon running X, 5204eb411b4bSmrg and some LSB test failures (xts5). 5205eb411b4bSmrg 5206eb411b4bSmrg Use an unsigned 32-bit integer on all platforms. Also, 5207eb411b4bSmrg eliminate the redundant multiple typedefs for the 5208eb411b4bSmrg Signature type. 5209eb411b4bSmrg 5210eb411b4bSmrg Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 5211eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 5212eb411b4bSmrg 5213eb411b4bSmrgcommit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 5214eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5215eb411b4bSmrgDate: Wed Nov 9 21:00:36 2011 -0800 5216eb411b4bSmrg 5217eb411b4bSmrg XlcSL.c: convert old-style function definitions to ANSI C89 style 5218eb411b4bSmrg 5219eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5220eb411b4bSmrg 5221eb411b4bSmrgcommit f6dad6aaa384bf836baa28ccb72b476a85c40eff 5222eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 5223eb411b4bSmrgDate: Thu Oct 27 13:53:22 2011 +1000 5224eb411b4bSmrg 5225eb411b4bSmrg Use GetReqSized for GetReq and GetReqExtra 5226eb411b4bSmrg 5227eb411b4bSmrg GetEmptyReq and GetResReq cannot do this due to the final typecast - 5228eb411b4bSmrg typically requests that need either of those do not have their own typedef 5229eb411b4bSmrg in the protocol headers. 5230eb411b4bSmrg 5231eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5232eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 5233eb411b4bSmrg 5234eb411b4bSmrgcommit c9c99058b9d98789c0b2d7e78a23443c2b57a047 5235eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 5236eb411b4bSmrgDate: Fri Oct 14 14:51:06 2011 +1000 5237eb411b4bSmrg 5238eb411b4bSmrg include: Add GetReqSized() for request buffers of specific size 5239eb411b4bSmrg 5240eb411b4bSmrg Some XI2 requests change in size over different versions and libXi would 5241eb411b4bSmrg need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 5242eb411b4bSmrg library can explicitly specify the size of the request in 4-byte units. 5243eb411b4bSmrg 5244eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5245eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 5246eb411b4bSmrg 5247eb411b4bSmrgcommit ba8a7a19165e30d14bc165f43f67c19b6a115585 5248eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 5249eb411b4bSmrgDate: Thu Oct 27 13:24:10 2011 +1000 5250eb411b4bSmrg 5251eb411b4bSmrg Switch GetEmptyReq and GetResReq to call _XGetRequest 5252eb411b4bSmrg 5253eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5254eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 5255eb411b4bSmrg 5256eb411b4bSmrgcommit 4a060f993bf676cf21ad9784e010f54134da7b40 5257eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 5258eb411b4bSmrgDate: Mon Oct 17 09:45:15 2011 +1000 5259eb411b4bSmrg 5260eb411b4bSmrg Add _XGetRequest as substitute for GetReq/GetReqExtra 5261eb411b4bSmrg 5262eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 5263eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 5264eb411b4bSmrg 5265eb411b4bSmrgcommit d8956520deb79c1cbb5e974c175bf8493859b22b 5266eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5267eb411b4bSmrgDate: Fri Oct 14 17:53:00 2011 -0700 5268eb411b4bSmrg 5269eb411b4bSmrg Fix "nomal" -> "normal" typo in several comments 5270eb411b4bSmrg 5271eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5272eb411b4bSmrg 5273eb411b4bSmrgcommit 002b36e308a26a152504f9b40aa08a0dce9a7991 5274eb411b4bSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 5275eb411b4bSmrgDate: Fri Oct 14 17:39:21 2011 -0700 5276eb411b4bSmrg 5277eb411b4bSmrg mbtocs should not truncate input 5278eb411b4bSmrg 5279eb411b4bSmrg Fixes pasting more than 1024 bytes into xterm, as described in 5280eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=25209 5281eb411b4bSmrg 5282eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5283eb411b4bSmrg 5284eb411b4bSmrgcommit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 5285eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 5286eb411b4bSmrgDate: Mon Oct 10 09:41:13 2011 +0300 5287eb411b4bSmrg 5288eb411b4bSmrg Add new compose sequences 5289eb411b4bSmrg 5290eb411b4bSmrg This patch adds few new compose sequences to the en_US map, ligatures 5291eb411b4bSmrg common in typesetting and sequences already in use in the fi_FI map. 5292eb411b4bSmrg 5293eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=30621 5294eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=34523 5295eb411b4bSmrg 5296eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5297eb411b4bSmrg 5298eb411b4bSmrgcommit 738f7b867341c1da87ee667d48815822715c3e75 5299eb411b4bSmrgAuthor: Choe Hwanjin <choe.hwanjin@gmail.com> 5300eb411b4bSmrgDate: Thu Oct 13 07:58:02 2011 +0900 5301eb411b4bSmrg 5302eb411b4bSmrg XIM: Make Xim handle NEED_SYNC_REPLY flag 5303eb411b4bSmrg 5304eb411b4bSmrg NEED_SYNC_REPLY flag should be in Xim not in Xic. 5305eb411b4bSmrg Because the focused Xic can be changed before sending sync reply. 5306eb411b4bSmrg After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 5307eb411b4bSmrg flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 5308eb411b4bSmrg 5309eb411b4bSmrg This patch adds sync reply flag to Xim and removes sync reply 5310eb411b4bSmrg from Xic. 5311eb411b4bSmrg 5312eb411b4bSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 5313eb411b4bSmrg 5314eb411b4bSmrg Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 5315eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5316eb411b4bSmrg 5317eb411b4bSmrgcommit 50e15379331c436851abb194251cde96999e67b3 5318eb411b4bSmrgAuthor: Bodo Graumann <mail@bodograumann.de> 5319eb411b4bSmrgDate: Mon Oct 10 16:40:52 2011 +0200 5320eb411b4bSmrg 5321eb411b4bSmrg libX11: Fixing modifier key range in Xutil.h (Bug #21910) 5322eb411b4bSmrg 5323eb411b4bSmrg IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 5324eb411b4bSmrg which keys are regarded as modifiers. The constants ISO_Level5_Shift, 5325eb411b4bSmrg ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 5326eb411b4bSmrg some Neo2 modifiers functionless in combination with compose. 5327eb411b4bSmrg This patch adjusts the range to include the correct, full range of 5328eb411b4bSmrg modifier constants. 5329eb411b4bSmrg 5330eb411b4bSmrg Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 5331eb411b4bSmrg 5332eb411b4bSmrg X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 5333eb411b4bSmrg 5334eb411b4bSmrg Signed-off-by: Bodo Graumann <mail@bodograumann.de> 5335eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 5336eb411b4bSmrg 5337eb411b4bSmrgcommit b5a108624331fabf393223c0891914cc54d4caf4 5338eb411b4bSmrgAuthor: Yann Droneaud <yann@droneaud.fr> 5339eb411b4bSmrgDate: Tue Oct 11 17:27:59 2011 +0200 5340eb411b4bSmrg 5341eb411b4bSmrg Return name instead of False in XSetICValues() 5342eb411b4bSmrg 5343eb411b4bSmrg In case of error, XSetICValues() must return the first argument 5344eb411b4bSmrg that failed to be set. 5345eb411b4bSmrg 5346eb411b4bSmrg But in some error paths, it returns False, which is converted to NULL, 5347eb411b4bSmrg so the function returns OK in case of error. 5348eb411b4bSmrg 5349eb411b4bSmrg Signed-off-by: Yann Droneaud <yann@droneaud.fr> 5350eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5351eb411b4bSmrg 5352eb411b4bSmrgcommit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 5353eb411b4bSmrgAuthor: Yann Droneaud <yann@droneaud.fr> 5354eb411b4bSmrgDate: Sun Oct 9 17:56:45 2011 +0200 5355eb411b4bSmrg 5356eb411b4bSmrg Return name instead of value in XGetIMValues() and XSetIMValues() 5357eb411b4bSmrg 5358eb411b4bSmrg As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 5359eb411b4bSmrg XGetIMValues() and XSetImValues() "returns the name of the first argument 5360eb411b4bSmrg that could not be obtained." 5361eb411b4bSmrg 5362eb411b4bSmrg But currently, 5363eb411b4bSmrg 5364eb411b4bSmrg err = XGetIMValues(im, "invalid", &arg, NULL); 5365eb411b4bSmrg 5366eb411b4bSmrg returns &arg instead of "invalid". 5367eb411b4bSmrg 5368eb411b4bSmrg This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 5369eb411b4bSmrg 5370eb411b4bSmrg Signed-off-by: Yann Droneaud <yann@droneaud.fr> 5371eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 5372eb411b4bSmrg 5373eb411b4bSmrgcommit f2651e03f3295a453a2965c3749bc8b6e66f1c09 5374eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5375eb411b4bSmrgDate: Mon Oct 10 14:09:17 2011 -0700 5376eb411b4bSmrg 5377eb411b4bSmrg Mark XKeycodeToKeysym as _X_DEPRECATED 5378eb411b4bSmrg 5379eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5380eb411b4bSmrg 5381eb411b4bSmrgcommit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 5382eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5383eb411b4bSmrgDate: Sun Oct 9 02:38:28 2011 -0700 5384eb411b4bSmrg 5385eb411b4bSmrg Fix nobreakspace for pt_BR.UTF-8 5386eb411b4bSmrg 5387eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=31334 5388eb411b4bSmrg 5389eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5390eb411b4bSmrg 5391eb411b4bSmrgcommit 913603660c17ec59a4d39d3e3b9d60469ee5c060 5392eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5393eb411b4bSmrgDate: Sun Oct 9 02:26:45 2011 -0700 5394eb411b4bSmrg 5395eb411b4bSmrg Fix potential uninitialized variable access in _XimMakeICAttrIDList 5396eb411b4bSmrg 5397eb411b4bSmrg Found by clang static analysis 5398eb411b4bSmrg 5399eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5400eb411b4bSmrg 5401eb411b4bSmrgcommit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 5402eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5403eb411b4bSmrgDate: Sun Oct 9 02:25:50 2011 -0700 5404eb411b4bSmrg 5405eb411b4bSmrg Remove self-resolving aliases 5406eb411b4bSmrg 5407eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=30112 5408eb411b4bSmrg 5409eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5410eb411b4bSmrg 5411eb411b4bSmrgcommit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 5412eb411b4bSmrgAuthor: Matt Dew <marcoz@osource.org> 5413eb411b4bSmrgDate: Fri Oct 7 22:52:30 2011 -0600 5414eb411b4bSmrg 5415eb411b4bSmrg Cleanup IDs and links in doc 5416eb411b4bSmrg 5417eb411b4bSmrg 1 - fix the capitalization of the ID attributes to match either the 5418eb411b4bSmrg <title> or <funcdef> string it goes with. 5419eb411b4bSmrg 2 - fix any <linkend>'s that were affected by 1. 5420eb411b4bSmrg 3 - any <function> in the docs that has an actual funcdef, 5421eb411b4bSmrg will become an olink. 5422eb411b4bSmrg 5423eb411b4bSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 5424eb411b4bSmrg 5425eb411b4bSmrgcommit f858f3326adbc0c5711669b92a64a84a9083a055 5426eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 5427eb411b4bSmrgDate: Tue Oct 4 17:11:11 2011 -0400 5428eb411b4bSmrg 5429eb411b4bSmrg [nls] Fix typo/synco. 5430eb411b4bSmrg 5431eb411b4bSmrg The iso8859-1 Compose table includes an optional section which uses 5432eb411b4bSmrg Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 5433eb411b4bSmrg to generate an @ (at) either was incorrectly copied from the Multi_key 5434eb411b4bSmrg section or was not kept in sync with the Multi_key section. 5435eb411b4bSmrg 5436eb411b4bSmrg Fixing this eliminates the warning from compose-check.pl: 5437eb411b4bSmrg 5438eb411b4bSmrg ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5439eb411b4bSmrg ┃ Clash with existing sequence in iso8859-1/Compose.pre 5440eb411b4bSmrg ┃ on line 661: Ctrl<T> <A> <A> 544138ae11fcSmrg ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 544238ae11fcSmrg ┃ line #480: Ctrl<T> <A> <A> : "@" at 5443eb411b4bSmrg ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5444eb411b4bSmrg 5445eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5446eb411b4bSmrg 5447eb411b4bSmrgcommit 7f35f7efc23234b3f8529fee31a802c21846d9ab 5448eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5449eb411b4bSmrgDate: Mon Sep 26 11:32:56 2011 -0700 5450eb411b4bSmrg 5451eb411b4bSmrg Remove conflicting compose sequences for cent and colon 5452eb411b4bSmrg 5453eb411b4bSmrg Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 5454eb411b4bSmrg Found by tinderbox 5455eb411b4bSmrg 5456eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5457eb411b4bSmrg 5458eb411b4bSmrgcommit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 5459eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5460eb411b4bSmrgDate: Sun Sep 25 16:29:17 2011 -0700 5461eb411b4bSmrg 5462eb411b4bSmrg Add additional compose sequences for pound sterling, yen, and cent (mixed case) 5463eb411b4bSmrg 5464eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=1013 5465eb411b4bSmrg 5466eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5467eb411b4bSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 5468eb411b4bSmrg 5469eb411b4bSmrgcommit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 5470eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 5471eb411b4bSmrgDate: Sat Sep 24 16:44:04 2011 -0700 5472eb411b4bSmrg 5473eb411b4bSmrg Use a configure check for seteuid 5474eb411b4bSmrg 5475eb411b4bSmrg HP-UX doesn't have seteuid 5476eb411b4bSmrg 5477eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=1497 5478eb411b4bSmrg 5479eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 5480eb411b4bSmrg 5481eb411b4bSmrgcommit 79594b4d66344f248eb4314ecb78eb81f632c3ab 5482eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5483eb411b4bSmrgDate: Tue Sep 20 16:06:10 2011 -0400 5484eb411b4bSmrg 5485eb411b4bSmrg localedb specs: use <copyright> for first holder of multi license 5486eb411b4bSmrg 5487eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5488eb411b4bSmrg 5489eb411b4bSmrgcommit 154430268cf004b06920edde2f1812dc16d71fae 5490eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5491eb411b4bSmrgDate: Tue Sep 20 16:01:52 2011 -0400 5492eb411b4bSmrg 5493eb411b4bSmrg libX11 specs: use <copyright> for first holder of multi license 5494eb411b4bSmrg 5495eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5496eb411b4bSmrg 5497eb411b4bSmrgcommit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 5498eb411b4bSmrgAuthor: Tollef Fog Heen <tfheen@err.no> 5499eb411b4bSmrgDate: Tue Sep 20 13:07:37 2011 -0400 5500eb411b4bSmrg 5501eb411b4bSmrg NLS: Add more vulgar fractions 5502eb411b4bSmrg 5503eb411b4bSmrg Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 5504eb411b4bSmrg 5505eb411b4bSmrg Signed-off-by: Tollef Fog Heen <tfheen@err.no> 5506eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5507eb411b4bSmrg 5508eb411b4bSmrgcommit e37a6da814b5653be46000a9a76902729660a2e6 5509eb411b4bSmrgAuthor: Alexander Polakov <polachok@gmail.com> 5510eb411b4bSmrgDate: Sat Sep 17 20:54:58 2011 +0400 5511eb411b4bSmrg 5512eb411b4bSmrg XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 5513eb411b4bSmrg 5514eb411b4bSmrg There is no XAllowAccess man page to see. 5515eb411b4bSmrg 5516eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5517eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5518eb411b4bSmrg 5519eb411b4bSmrgcommit a23f3323f269b33a43d16dce01395cd28bc41b45 5520eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5521eb411b4bSmrgDate: Mon Sep 19 15:27:44 2011 -0400 5522eb411b4bSmrg 5523eb411b4bSmrg XKB: provide adequate quotes for the license text 5524eb411b4bSmrg 5525eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5526eb411b4bSmrg 5527eb411b4bSmrgcommit a9c7a5cad91d968f5536ef8fc735036e921832a3 5528eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5529eb411b4bSmrgDate: Mon Sep 19 15:18:53 2011 -0400 5530eb411b4bSmrg 5531eb411b4bSmrg XIM: refactor the multi licensing legal text 5532eb411b4bSmrg 5533eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5534eb411b4bSmrg 5535eb411b4bSmrgcommit c46f934ed89e7de79746a0387c9f998d91994ea6 5536eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5537eb411b4bSmrgDate: Mon Sep 19 10:33:30 2011 -0400 5538eb411b4bSmrg 5539eb411b4bSmrg xim trans: restore Fujitsu copyright legal text 5540eb411b4bSmrg 5541eb411b4bSmrg Somehow lost during docbook conversion. text from x.org ftp R7.5. 5542eb411b4bSmrg 5543eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5544eb411b4bSmrg 5545eb411b4bSmrgcommit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 5546eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5547eb411b4bSmrgDate: Mon Sep 19 10:11:46 2011 -0400 5548eb411b4bSmrg 5549eb411b4bSmrg xtrans: restore X Consortium original legal text 5550eb411b4bSmrg 5551eb411b4bSmrg Asking X Consortium permission to use The Open Group name makes no sense. 5552eb411b4bSmrg Even more so in 1994 before X Window System was passed on to the Open Group. 5553eb411b4bSmrg 5554eb411b4bSmrg Using original text from xorg-docs/general/License 5555eb411b4bSmrg 5556eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5557eb411b4bSmrg 5558eb411b4bSmrgcommit 136a381585a4a9686c11bad1a6130837978e677f 5559eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5560eb411b4bSmrgDate: Mon Sep 19 10:03:21 2011 -0400 5561eb411b4bSmrg 5562eb411b4bSmrg Framework: restore X Consortium copyright 5563eb411b4bSmrg 5564eb411b4bSmrg Somewhat dammaged during docbook conversion. 5565eb411b4bSmrg Also restore pasrt of the original license text 5566eb411b4bSmrg 5567eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5568eb411b4bSmrg 5569eb411b4bSmrgcommit 33f346878406762704a0c13cdc018111c666f3c1 5570eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5571eb411b4bSmrgDate: Mon Sep 19 09:50:00 2011 -0400 5572eb411b4bSmrg 5573eb411b4bSmrg localedb: restore X Consortium original legal text 5574eb411b4bSmrg 5575eb411b4bSmrg Asking X Consortium permission to use The Open Group name makes no sense. 5576eb411b4bSmrg Even more so in 1994 before X Window System was passed on to the Open Group. 5577eb411b4bSmrg 5578eb411b4bSmrg Using original text from xorg-docs/general/License 5579eb411b4bSmrg 5580eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5581eb411b4bSmrg 5582eb411b4bSmrgcommit e99c9338e413efca026210b9d830efb5c74d34e5 5583eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5584eb411b4bSmrgDate: Mon Sep 19 08:23:18 2011 -0400 5585eb411b4bSmrg 5586eb411b4bSmrg specs: support multi licensed copyright notice and license text 5587eb411b4bSmrg 5588eb411b4bSmrg For documentation having multiple licenses, the copyright and legalnotice 5589eb411b4bSmrg elements sequence cannot instantiated multiple times. 5590eb411b4bSmrg The copyright notice and license text are therefore coded inside a 5591eb411b4bSmrg legalnotice element. The role attribute on the paragraph is used to allow 5592eb411b4bSmrg styling of the copyright notice text which should not be italicized. 5593eb411b4bSmrg 5594eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5595eb411b4bSmrg 5596eb411b4bSmrgcommit b9dedc757e667333ce899115d618f25cdaa4dd5e 5597eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5598eb411b4bSmrgDate: Mon Sep 19 08:17:50 2011 -0400 5599eb411b4bSmrg 5600eb411b4bSmrg localedb: add release info to spec 5601eb411b4bSmrg 5602eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5603eb411b4bSmrg 5604eb411b4bSmrgcommit 4519c89a87ddce01e599542737a27c26030fe4ff 5605eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5606eb411b4bSmrgDate: Mon Sep 19 08:05:32 2011 -0400 5607eb411b4bSmrg 5608eb411b4bSmrg specs: fix The Open Group license text 5609eb411b4bSmrg 5610eb411b4bSmrg The warranty referred to the X Consortium 5611eb411b4bSmrg 5612eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5613eb411b4bSmrg 5614eb411b4bSmrgcommit 08ac378423e7be72e340197ba5559a1a36f1783c 5615eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5616eb411b4bSmrgDate: Mon Sep 19 08:03:39 2011 -0400 5617eb411b4bSmrg 5618eb411b4bSmrg specs: The strandard name is still "X Consortium Standard" 5619eb411b4bSmrg 5620eb411b4bSmrg This spec, and fsproto spec, are the only two docs with a different 5621eb411b4bSmrg standard name. 5622eb411b4bSmrg 5623eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5624eb411b4bSmrg 5625eb411b4bSmrgcommit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 5626eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5627eb411b4bSmrgDate: Sun Sep 18 13:22:34 2011 -0400 5628eb411b4bSmrg 5629eb411b4bSmrg specs: support multi licensed copyright notice and license text 5630eb411b4bSmrg 5631eb411b4bSmrg For documentation having multiple licenses, the copyright and legalnotice 5632eb411b4bSmrg elements sequence cannot instantiated multiple times. 5633eb411b4bSmrg The copyright notice and license text are therefore coded inside a legalnotice 5634eb411b4bSmrg element. The role attribute on the paragraph is used to allow styling of the 5635eb411b4bSmrg copyright notice text which should not be italicized. 5636eb411b4bSmrg 5637eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5638eb411b4bSmrg 5639eb411b4bSmrgcommit 278ca8947c1dabb2b819527dca0fa6190c034f67 5640eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5641eb411b4bSmrgDate: Fri Sep 16 11:45:56 2011 -0400 5642eb411b4bSmrg 5643eb411b4bSmrg docs: merge copyright holder under the same copyright notice 5644eb411b4bSmrg 5645eb411b4bSmrg As per the docbook markup dtd. 5646eb411b4bSmrg 5647eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5648eb411b4bSmrg 5649eb411b4bSmrgcommit 7ff012bb433109a622ac122ade71669e842ebdcf 5650eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5651eb411b4bSmrgDate: Fri Sep 16 10:09:57 2011 -0400 5652eb411b4bSmrg 5653eb411b4bSmrg specs: handle multiple sets of copyright notice/license/warranty 5654eb411b4bSmrg 5655eb411b4bSmrg Docbook groups all the <copyright> elements together and all the 5656eb411b4bSmrg <legalnotice> elements together. 5657eb411b4bSmrg 5658eb411b4bSmrg We cannot have a sequence: 5659eb411b4bSmrg <copyright> <legalnotice> <copyright> <legalnotice> [...] 5660eb411b4bSmrg 5661eb411b4bSmrg A workaround, which was done in some documents, is to put the copyright 5662eb411b4bSmrg notice inside the legalnotice in plain text without the <copyright> element. 5663eb411b4bSmrg A formal paragraph title is added here which makes the copyright notice bold, 5664eb411b4bSmrg and makes it much easier to locate. 5665eb411b4bSmrg 5666eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5667eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5668eb411b4bSmrg 5669eb411b4bSmrgcommit 4a550c71b8221c37b1a9378d5a170da9eaa03405 5670eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5671eb411b4bSmrgDate: Wed Sep 14 15:55:42 2011 -0400 5672eb411b4bSmrg 5673eb411b4bSmrg specs: remove orphan affiliation. 5674eb411b4bSmrg 5675eb411b4bSmrg Authors affiliation are correct. 5676eb411b4bSmrg 5677eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5678eb411b4bSmrg 5679eb411b4bSmrgcommit 0cc02a6df65214560b7575e89cebee741d6d2469 5680eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5681eb411b4bSmrgDate: Tue Sep 13 17:39:02 2011 -0400 5682eb411b4bSmrg 5683eb411b4bSmrg specs: use appropriate markup for Copyright statements 5684eb411b4bSmrg 5685eb411b4bSmrg Also move <releaseinfo> to match order of appearance 5686eb411b4bSmrg 5687eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5688eb411b4bSmrg 5689eb411b4bSmrgcommit afe13e19ebf0fc4e3460644164433af016f0add7 5690eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5691eb411b4bSmrgDate: Mon Sep 12 16:54:45 2011 -0400 5692eb411b4bSmrg 5693eb411b4bSmrg docs: use the &fullrelvers; entity to set X11 release information 5694eb411b4bSmrg 5695eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5696eb411b4bSmrg 5697eb411b4bSmrgcommit 22a2153282db13e9d94881022b8c979539841a2c 5698eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5699eb411b4bSmrgDate: Sun Sep 11 19:49:53 2011 -0400 5700eb411b4bSmrg 5701eb411b4bSmrg docs: remove <productnumber> which is not used by default 5702eb411b4bSmrg 5703eb411b4bSmrg This element is not rendered by default on the title. A template 5704eb411b4bSmrg customization is required to display it. 5705eb411b4bSmrg X Window System does not have a product number. 5706eb411b4bSmrg 5707eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5708eb411b4bSmrg 5709eb411b4bSmrgcommit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 5710eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5711eb411b4bSmrgDate: Sun Sep 11 17:40:21 2011 -0400 5712eb411b4bSmrg 5713eb411b4bSmrg docs: use the &fullrelvers; entity to set X11 release information 5714eb411b4bSmrg 5715eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5716eb411b4bSmrg 5717eb411b4bSmrgcommit a6b2992f50b571d612ea9ade631c432c3099bc12 5718eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5719eb411b4bSmrgDate: Sun Sep 11 17:38:42 2011 -0400 5720eb411b4bSmrg 5721eb411b4bSmrg docs: remove orphan <affiliation> 5722eb411b4bSmrg 5723eb411b4bSmrg Somehow created during the conversion from roff. Unable to locate 5724eb411b4bSmrg the author to which it belongs. 5725eb411b4bSmrg 5726eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5727eb411b4bSmrg 5728eb411b4bSmrgcommit c7420060b6e47b8467ba50c796ec3c1bab090bc7 5729eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5730eb411b4bSmrgDate: Sun Sep 11 17:38:05 2011 -0400 5731eb411b4bSmrg 5732eb411b4bSmrg docs: remove <productnumber> which is not used by default 5733eb411b4bSmrg 5734eb411b4bSmrg This element is not rendered by default on the title. A template 5735eb411b4bSmrg customization is required to display it. 5736eb411b4bSmrg X Window System does not have a product number. 5737eb411b4bSmrg 5738eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5739eb411b4bSmrg 5740eb411b4bSmrgcommit 7d5b718c1edbc43c54b7001be548e515a49540ea 5741eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5742eb411b4bSmrgDate: Fri Sep 9 14:46:39 2011 -0400 5743eb411b4bSmrg 5744eb411b4bSmrg docbook.am: embed css styles inside the HTML HEAD element 5745eb411b4bSmrg 5746eb411b4bSmrg Rather than referring to the external xorg.css stylesheet, embed the content 5747eb411b4bSmrg of the file in the html output produced. This is accomplished by using 5748eb411b4bSmrg version 1.10 of xorg-xhtml.xsl. 5749eb411b4bSmrg 5750eb411b4bSmrg This makes the whole html docs tree much more relocatable. 5751eb411b4bSmrg In addition, it eliminates xorg.css as a runtime file which makes 5752eb411b4bSmrg xorg-sgml-doctools a build time only package. 5753eb411b4bSmrg 5754eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5755eb411b4bSmrg 5756eb411b4bSmrgcommit 24632d280491c465dfe208ef788815890892e326 5757eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5758eb411b4bSmrgDate: Mon Sep 5 12:53:12 2011 -0400 5759eb411b4bSmrg 5760eb411b4bSmrg compose: upgrade makefile to support olinking on chunked html 5761eb411b4bSmrg 5762eb411b4bSmrg The essential differences over the regular docbook.am are: 5763eb411b4bSmrg Adding root.filename parameter for naming of chapters html files. 5764eb411b4bSmrg Using xhtml xmlto format and xorg-chunk.xsl stylesheet 5765eb411b4bSmrg Set olink.base.uri for pdf but not for chunked html 5766eb411b4bSmrg Olink is not applicable to ps and txt formats. 5767eb411b4bSmrg 5768eb411b4bSmrg Html chapters are added to shelf_DATA as they are also installed. 5769eb411b4bSmrg The xml is generated from a perl script and not distributed. 5770eb411b4bSmrg 5771eb411b4bSmrg Requires version 1.10 of xorg-sgml-doctools. 5772eb411b4bSmrg 5773eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5774eb411b4bSmrg 5775eb411b4bSmrgcommit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 5776eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5777eb411b4bSmrgDate: Wed Aug 31 19:46:20 2011 -0400 5778eb411b4bSmrg 5779eb411b4bSmrg docbook.am: refactor common flags for xmlto and xsltproc 5780eb411b4bSmrg 5781eb411b4bSmrg Maximize reuse and reduce risk of setting the wrong flag 5782eb411b4bSmrg at the wrong place. 5783eb411b4bSmrg 5784eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5785eb411b4bSmrg 5786eb411b4bSmrgcommit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 5787eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5788eb411b4bSmrgDate: Wed Aug 31 10:46:59 2011 -0400 5789eb411b4bSmrg 5790eb411b4bSmrg docbook.am: add search path for local entities 5791eb411b4bSmrg 5792eb411b4bSmrg Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 5793eb411b4bSmrg A module may want to add entities that apply only to itself and 5794eb411b4bSmrg not to all modules, like the xserver does. 5795eb411b4bSmrg 5796eb411b4bSmrg This feature may or may not be used in this module, but all modules 5797eb411b4bSmrg share a copy of docbook.am. 5798eb411b4bSmrg 5799eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5800eb411b4bSmrg 5801eb411b4bSmrgcommit b5ed2d368d47f244d43d2513329fa2758bc4ef54 5802eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5803eb411b4bSmrgDate: Thu Aug 25 14:39:20 2011 -0400 5804eb411b4bSmrg 5805eb411b4bSmrg docbook.am: explicitly list xmlto flags for each target 5806eb411b4bSmrg 5807eb411b4bSmrg Normal evolution of make targets make it impractical to factor out 5808eb411b4bSmrg common command flags for xmlto. 5809eb411b4bSmrg 5810eb411b4bSmrg The targets now list each command option as its presence or absence 5811eb411b4bSmrg needs to be justified. 5812eb411b4bSmrg 5813eb411b4bSmrg xorg.ss is only needed by xmlto for html. 5814eb411b4bSmrg masterdb is only needed by xmlto. 5815eb411b4bSmrg img.src.path must not be used by html. 5816eb411b4bSmrg xsltproc need to use customization layer xorg-*.xsl. 5817eb411b4bSmrg txt format is not required to search masterdb. 5818eb411b4bSmrg 5819eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5820eb411b4bSmrg 5821eb411b4bSmrgcommit d5b3605f3b0639452e892e9ff3afb18bb7442069 5822eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5823eb411b4bSmrgDate: Thu Aug 25 13:12:49 2011 -0400 5824eb411b4bSmrg 5825eb411b4bSmrg docbook.am: do not generate docs if docbook customization layer is missing 5826eb411b4bSmrg 5827eb411b4bSmrg The stylesheets used to be only about style, fonts or colors. 5828eb411b4bSmrg Complex features are now used like olink and chunked html which 5829eb411b4bSmrg may cause a build break when stylesheets are missing or lead to hard 5830eb411b4bSmrg to find problem. 5831eb411b4bSmrg 5832eb411b4bSmrg Some modules may be built when stylesheets are present while others 5833eb411b4bSmrg are built without. There is no requirement to build crippled docs. 5834eb411b4bSmrg 5835eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5836eb411b4bSmrg 5837eb411b4bSmrgcommit 7f23c72c94d9d14122426b0d8c66054f1402769a 5838eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5839eb411b4bSmrgDate: Fri Aug 5 14:33:32 2011 -0400 5840eb411b4bSmrg 5841eb411b4bSmrg libX11 specs: review doclifter generated tables 5842eb411b4bSmrg 5843eb411b4bSmrg Many tables had a questionnable layout and some had information dropped. 5844eb411b4bSmrg Each table was cross-referenced with a pre-docbook version 5845eb411b4bSmrg to ensure semantic integrity. 5846eb411b4bSmrg 5847eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5848eb411b4bSmrg 5849eb411b4bSmrgcommit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 5850eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5851eb411b4bSmrgDate: Wed Jul 20 15:28:47 2011 -0400 5852eb411b4bSmrg 5853eb411b4bSmrg credits.xml: remove toc from Acknowledgments 5854eb411b4bSmrg 5855eb411b4bSmrg There should be no toc for a simple preface with only one 5856eb411b4bSmrg Acknowledgments section. 5857eb411b4bSmrg 5858eb411b4bSmrg Use <simplesect> markup rather than sect1. 5859eb411b4bSmrg 5860eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5861eb411b4bSmrg 5862eb411b4bSmrgcommit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 5863eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5864eb411b4bSmrgDate: Thu Aug 4 19:59:37 2011 -0400 5865eb411b4bSmrg 5866eb411b4bSmrg libX11 specs: move </para> above <varaiablelist> 5867eb411b4bSmrg 5868eb411b4bSmrg Many, but not all, function synopsis have a paragraph that 5869eb411b4bSmrg nests the variable list. The code was generated by doclifter 5870eb411b4bSmrg and there is no apprent reasons as to why it was done this way. 5871eb411b4bSmrg Found while investigating a spacing issue. 5872eb411b4bSmrg 5873eb411b4bSmrg Before the patch: 5874eb411b4bSmrg <para>Some blurb about the function 5875eb411b4bSmrg <funcsynopsis> 5876eb411b4bSmrg </funcsynopsis> 5877eb411b4bSmrg <variablelist> 5878eb411b4bSmrg </variablelist> 5879eb411b4bSmrg </para> 5880eb411b4bSmrg 5881eb411b4bSmrg After the patch: 5882eb411b4bSmrg <para>Some blurb about the function</para> 5883eb411b4bSmrg <funcsynopsis> 5884eb411b4bSmrg </funcsynopsis> 5885eb411b4bSmrg <variablelist> 5886eb411b4bSmrg </variablelist> 5887eb411b4bSmrg 5888eb411b4bSmrg There are no noticable differences when reading the doc 5889eb411b4bSmrg other than than the removed few pixels of spacing between 5890eb411b4bSmrg the function sysnopsis and the variable list block. 5891eb411b4bSmrg 5892eb411b4bSmrg In some cases, there are no "blurb about the fucntion" 5893eb411b4bSmrg and the empty paragraph is removed. 5894eb411b4bSmrg 5895eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5896eb411b4bSmrg 5897eb411b4bSmrgcommit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 5898eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5899eb411b4bSmrgDate: Thu Jul 28 19:46:14 2011 -0400 5900eb411b4bSmrg 5901eb411b4bSmrg compose specs: generate chunked html 5902eb411b4bSmrg 5903eb411b4bSmrg For large 600 page documents such as this one, chunked html 5904eb411b4bSmrg provide faster browser load time and better navigation. 5905eb411b4bSmrg 5906eb411b4bSmrg Simply click on the locale of your choice in the toc and 5907eb411b4bSmrg the browser loads just that one file. Being a DocBook, 5908eb411b4bSmrg it benefits from all of the usual features and can be 5909eb411b4bSmrg integrated with the rest of the documentation. 5910eb411b4bSmrg 5911eb411b4bSmrg Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5912eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5913eb411b4bSmrg 5914eb411b4bSmrgcommit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 5915eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5916eb411b4bSmrgDate: Thu Jun 23 15:16:47 2011 -0400 5917eb411b4bSmrg 5918eb411b4bSmrg specs: build compose keys tables in specs/i18n/compose 5919eb411b4bSmrg 5920eb411b4bSmrg Build the tables article together with the rest of the specs. 5921eb411b4bSmrg Make it transparent that the source in generated in nls. 5922eb411b4bSmrg Reuse docbook.am and get all the features such as olink. 5923eb411b4bSmrg 5924eb411b4bSmrg The docbook article file stem and id must be the same. The new name 5925eb411b4bSmrg for the main article is libX11-keys. The new installation location 5926eb411b4bSmrg is $docdir/libX11/i18n/compose. 5927eb411b4bSmrg 5928eb411b4bSmrg The nls dir retains the role of generating the DocBook/XML source 5929eb411b4bSmrg but does not build neither installs output formats or generated source. 5930eb411b4bSmrg 5931eb411b4bSmrg The tables article now has to specify that each included locale 5932eb411b4bSmrg section is a dependency. It did not matter before as they were web links. 5933eb411b4bSmrg 5934eb411b4bSmrg The xorg-sgml-doctools masterdb shall be updated to include this new doc. 5935eb411b4bSmrg Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 5936eb411b4bSmrg 5937eb411b4bSmrg Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5938eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5939eb411b4bSmrg 5940eb411b4bSmrgcommit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 5941eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 5942eb411b4bSmrgDate: Thu Jun 23 14:43:31 2011 -0400 5943eb411b4bSmrg 5944eb411b4bSmrg nls: restructure charts as a single article with sections 5945eb411b4bSmrg 5946eb411b4bSmrg Looks more like a real article with a toc rather than individual 5947eb411b4bSmrg web pages. Looks nicer in pdf. 5948eb411b4bSmrg 5949eb411b4bSmrg Each locale is a "section" rather than an "article". 5950eb411b4bSmrg Using XInclude to aggregate xml source files gets you the toc for free. 5951eb411b4bSmrg 5952eb411b4bSmrg The single document is over 600 pages while there were 62 separate 5953eb411b4bSmrg documents previously. FOP version 1.0 is required to handle missing 5954eb411b4bSmrg character like capital sharp s. 5955eb411b4bSmrg 5956eb411b4bSmrg Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5957eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 5958eb411b4bSmrg 59596cc2b21fSmrgcommit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 59606cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 59616cc2b21fSmrgDate: Thu Jul 28 19:32:40 2011 -0700 59626cc2b21fSmrg 59636cc2b21fSmrg libX11 1.4.4 59646cc2b21fSmrg 59656cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 59666cc2b21fSmrg 59676cc2b21fSmrgcommit ab1f30231755d99ed123af6873b981834640f01d 59686cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org> 59696cc2b21fSmrgDate: Wed Jul 13 12:33:40 2011 -0600 59706cc2b21fSmrg 59716cc2b21fSmrg Add id attributes to error codes to allow linking from other docs. 59726cc2b21fSmrg 59736cc2b21fSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 59746cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 59756cc2b21fSmrg Acked-by: Gaetan Nadon <memsize@videotron.ca> 59766cc2b21fSmrg 59776cc2b21fSmrgcommit 5c831fef402914ccf2ec14005c25be48852f119b 59786cc2b21fSmrgAuthor: David Coppa <dcoppa@gmail.com> 59796cc2b21fSmrgDate: Tue Jul 12 10:05:47 2011 +0200 59806cc2b21fSmrg 59816cc2b21fSmrg Fix libpthread linkage on OpenBSD. 59826cc2b21fSmrg 59836cc2b21fSmrg OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 59846cc2b21fSmrg 59856cc2b21fSmrg Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 59866cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 59876cc2b21fSmrg 59886cc2b21fSmrgcommit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 59896cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 59906cc2b21fSmrgDate: Wed Jun 22 20:46:26 2011 -0400 59916cc2b21fSmrg 59926cc2b21fSmrg config: use XORG_WITH_PERL macro to replace custom program check 59936cc2b21fSmrg 59946cc2b21fSmrg New in version util-macros 1.15, the macro does the usual checking 59956cc2b21fSmrg for program path and provides an interface for makefile variables. 59966cc2b21fSmrg 59976cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 59986cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 59996cc2b21fSmrg 60006cc2b21fSmrgcommit 47d99a324db9232029a22dd523e3bc3ed0936aca 60016cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 60026cc2b21fSmrgDate: Wed Jun 22 20:41:18 2011 -0400 60036cc2b21fSmrg 60046cc2b21fSmrg config: update XORG_WITH_FOP macro usage 60056cc2b21fSmrg 60066cc2b21fSmrg A new feature to test for a minimum version has been added. 60076cc2b21fSmrg 60086cc2b21fSmrg The parameter position changed. Due to limited usage 60096cc2b21fSmrg and requiring 1.15, it turns out to be backward compatible. 60106cc2b21fSmrg 60116cc2b21fSmrg There is no functional change to how docs are build. 60126cc2b21fSmrg 60136cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 60146cc2b21fSmrg 60156cc2b21fSmrgcommit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 60166cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 60176cc2b21fSmrgDate: Wed Jun 22 11:48:49 2011 -0400 60186cc2b21fSmrg 60196cc2b21fSmrg Remove unused xmlrules.in in specs, now in /nls 60206cc2b21fSmrg 60216cc2b21fSmrg The specs dir has been converted to docbook.am 60226cc2b21fSmrg 60236cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 60246cc2b21fSmrg 60256cc2b21fSmrgcommit 9992092609bd83a0db778e9a9ac1e879d445e637 60266cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 60276cc2b21fSmrgDate: Thu Mar 31 10:23:22 2011 -0400 60286cc2b21fSmrg 60296cc2b21fSmrg nls: move xmlrules.in from specs to nls 60306cc2b21fSmrg 60316cc2b21fSmrg It is no longer used in the specs dir. 60326cc2b21fSmrg Remove html from CLEANFILES as it breaks. Make do not clean directories 60336cc2b21fSmrg Remove SUFFIXES as pattern rules are used rather than suffix rules. 60346cc2b21fSmrg 60356cc2b21fSmrg Other improvements are possible, the first priority is to move it out 60366cc2b21fSmrg of the specs dir. 60376cc2b21fSmrg 60386cc2b21fSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 60396cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 60406cc2b21fSmrg 60416cc2b21fSmrgcommit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 60426cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 60436cc2b21fSmrgDate: Sun Jun 5 16:27:36 2011 -0400 60446cc2b21fSmrg 60456cc2b21fSmrg Install target dbs alongside generated documents 60466cc2b21fSmrg 60476cc2b21fSmrg This matches a change in xorg-sgml-docs whereby the masterdb will look for 60486cc2b21fSmrg the target dbs into the same location as the generated documents. 60496cc2b21fSmrg 60506cc2b21fSmrg The target dbs are now installed alongside the generated documents. 60516cc2b21fSmrg Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 60526cc2b21fSmrg has the potential of installing outside the package prefix and cause 60536cc2b21fSmrg distcheck to fail when user does not have write permission in this package. 60546cc2b21fSmrg 60556cc2b21fSmrg Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 60566cc2b21fSmrg 60576cc2b21fSmrgcommit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 60586cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 60596cc2b21fSmrgDate: Tue Jun 7 18:41:30 2011 -0700 60606cc2b21fSmrg 60616cc2b21fSmrg specs/libX11: Turn appendix references into links 60626cc2b21fSmrg 60636cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 60646cc2b21fSmrg 60656cc2b21fSmrgcommit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 60666cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 60676cc2b21fSmrgDate: Tue Jun 7 18:37:41 2011 -0700 60686cc2b21fSmrg 60696cc2b21fSmrg specs/libX11: Turn chapter references into links 60706cc2b21fSmrg 60716cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 60726cc2b21fSmrg 60736cc2b21fSmrgcommit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 60746cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 60756cc2b21fSmrgDate: Tue Jun 7 00:52:32 2011 -0700 60766cc2b21fSmrg 60776cc2b21fSmrg specs/libX11: Turn many "see section ..." into links 60786cc2b21fSmrg 60796cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 60806cc2b21fSmrg 60816cc2b21fSmrgcommit 02d4c08dead2f266809b3f93ec72377783423ac7 60826cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 60836cc2b21fSmrgDate: Sun Jun 5 22:50:37 2011 -0700 60846cc2b21fSmrg 60856cc2b21fSmrg specs/libX11: Convert some header filenames to filename tags 60866cc2b21fSmrg 60876cc2b21fSmrg perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 60886cc2b21fSmrg 60896cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 60906cc2b21fSmrg 60916cc2b21fSmrgcommit c51a011329afa6e5b9d2b285349c132683ecf9fb 60926cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org> 60936cc2b21fSmrgDate: Tue May 31 20:03:23 2011 -0600 60946cc2b21fSmrg 60956cc2b21fSmrg Add id attributes to funcsynopsis to allow other docs to olink to them. 60966cc2b21fSmrg 60976cc2b21fSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 60986cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 60996cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 61006cc2b21fSmrg 61016cc2b21fSmrgcommit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 61026cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 61036cc2b21fSmrgDate: Fri May 27 20:14:36 2011 -0700 61046cc2b21fSmrg 61056cc2b21fSmrg Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 61066cc2b21fSmrg 61076cc2b21fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=37624 61086cc2b21fSmrg 61096cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61106cc2b21fSmrg 61116cc2b21fSmrgcommit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 61126cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org> 61136cc2b21fSmrgDate: Sat May 21 00:23:06 2011 -0600 61146cc2b21fSmrg 61156cc2b21fSmrg Add id's to functions, to make clickable links. 61166cc2b21fSmrg 61176cc2b21fSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 61186cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 61196cc2b21fSmrg 61206cc2b21fSmrgcommit 5c06bc594473f6ab234724cd90db32e7b57fe811 61216cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 61226cc2b21fSmrgDate: Fri May 20 15:38:08 2011 -0700 61236cc2b21fSmrg 61246cc2b21fSmrg libX11 spec: fix monospaced column alignment after deligaturization 61256cc2b21fSmrg 61266cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61276cc2b21fSmrg 61286cc2b21fSmrgcommit ef0019c714c273cb9b4ad3eba52d0b905109826b 61296cc2b21fSmrgAuthor: James Cloos <cloos@jhcloos.com> 61306cc2b21fSmrgDate: Fri May 20 15:51:46 2011 -0400 61316cc2b21fSmrg 61326cc2b21fSmrg Expand latin ligatures out to their NFKC equivalents. 61336cc2b21fSmrg 61346cc2b21fSmrg Ligatures should be done by the typesetting system. 61356cc2b21fSmrg Manuscripts should not bother with them. 61366cc2b21fSmrg 61376cc2b21fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 61386cc2b21fSmrg Reviewed-by: Keith Packard <keithp@keithp.com> 61396cc2b21fSmrg 61406cc2b21fSmrgcommit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 61416cc2b21fSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 61426cc2b21fSmrgDate: Thu May 12 16:21:50 2011 +0200 61436cc2b21fSmrg 61446cc2b21fSmrg XCB: Add more friendly error messages for common asserts 61456cc2b21fSmrg 61466cc2b21fSmrg This patch adds more friendly error messages for three common classes of 61476cc2b21fSmrg assertion: 61486cc2b21fSmrg - missed sequence numbers due to being griefed by another thread 61496cc2b21fSmrg - unknown requests in queue due to being griefed by another thread 61506cc2b21fSmrg - extensions dequeuing too much or too little reply data 61516cc2b21fSmrg 61526cc2b21fSmrg It adds error messages offering advice (e.g. call XInitThreads() first) 61536cc2b21fSmrg on stderr, but still generates actual assertions. Hopefully this means 61546cc2b21fSmrg it's a little more Googleable and a little less frightening. 61556cc2b21fSmrg 61566cc2b21fSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 61576cc2b21fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 61586cc2b21fSmrg 61596cc2b21fSmrgcommit 159bf292477048b9a2f074735afc516f52c93d80 61606cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 61616cc2b21fSmrgDate: Thu May 19 20:22:11 2011 -0400 61626cc2b21fSmrg 61636cc2b21fSmrg Remove misplaced hyphens in libX11 DocBook/XML #37364 61646cc2b21fSmrg 61656cc2b21fSmrg Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 61666cc2b21fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 61676cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61686cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 61696cc2b21fSmrg 61706cc2b21fSmrgcommit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 61716cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 61726cc2b21fSmrgDate: Tue May 17 20:49:59 2011 -0700 61736cc2b21fSmrg 61746cc2b21fSmrg Fix man page and comment references to use XFreeModifiermap (lowercase map) 61756cc2b21fSmrg 61766cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61776cc2b21fSmrg 61786cc2b21fSmrgcommit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 61796cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 61806cc2b21fSmrgDate: Tue May 17 20:30:54 2011 -0700 61816cc2b21fSmrg 61826cc2b21fSmrg XKB man pages: Fix coordinantes typo in multiple pages 61836cc2b21fSmrg 61846cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61856cc2b21fSmrg 61866cc2b21fSmrgcommit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 61876cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 61886cc2b21fSmrgDate: Tue May 17 16:27:32 2011 -0700 61896cc2b21fSmrg 61906cc2b21fSmrg DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 61916cc2b21fSmrg 61926cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 61936cc2b21fSmrg 61946cc2b21fSmrgcommit ae39d82b01359b07dd1fe092d867f79ea95a5438 61956cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 61966cc2b21fSmrgDate: Sun May 8 09:08:07 2011 -0700 61976cc2b21fSmrg 61986cc2b21fSmrg Silence clang static analysis warnings for SetReqLen 61996cc2b21fSmrg 62006cc2b21fSmrg This provides a simplified version of the SetReqLen macro when using clang for 62016cc2b21fSmrg static analysis. Prior to this change, we would see many Idempotent operation 62026cc2b21fSmrg warnings inside this macro due to the common case of calling with arg2 and 62036cc2b21fSmrg arg3 being the same variable. This has no effect on code produced during 62046cc2b21fSmrg compilation, but it silences a number of false positives in static analysis. 62056cc2b21fSmrg 62066cc2b21fSmrg XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 62076cc2b21fSmrg SetReqLen(req, num_modifiers, num_modifiers); 62086cc2b21fSmrg ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 62096cc2b21fSmrg In file included from XIPassiveGrab.c:26: 62106cc2b21fSmrg .../include/X11/Xlibint.h:580:8: note: instantiated from: 62116cc2b21fSmrg n = badlen; \ 62126cc2b21fSmrg ^ 62136cc2b21fSmrg 62146cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 62156cc2b21fSmrg 62166cc2b21fSmrgcommit 130af2bc02090ee2526adb2f9803fc07019b8f1f 62176cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 62186cc2b21fSmrgDate: Wed May 4 15:34:31 2011 -0700 62196cc2b21fSmrg 62206cc2b21fSmrg XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 62216cc2b21fSmrg 62226cc2b21fSmrg XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 62236cc2b21fSmrg _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 62246cc2b21fSmrg ^~~~~~~ 62256cc2b21fSmrg 62266cc2b21fSmrg Found-by: clang static analyzer 62276cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 62286cc2b21fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 62296cc2b21fSmrg 62306cc2b21fSmrgcommit c987ef04bea345d5810e60cf6c53b747ddbe910e 62316cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 62326cc2b21fSmrgDate: Wed May 4 15:31:17 2011 -0700 62336cc2b21fSmrg 62346cc2b21fSmrg Revert "XKB: Avoid a possible NULL dereference" 62356cc2b21fSmrg 62366cc2b21fSmrg Sorry for the noise. I accidentally pushed and didn't mean to. =( 62376cc2b21fSmrg 62386cc2b21fSmrg This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 62396cc2b21fSmrg 62406cc2b21fSmrgcommit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 62416cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 62426cc2b21fSmrgDate: Wed May 4 11:35:31 2011 -0700 62436cc2b21fSmrg 62446cc2b21fSmrg Dead code removal 62456cc2b21fSmrg 62466cc2b21fSmrg XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 62476cc2b21fSmrg for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 62486cc2b21fSmrg ~~~^~~~ 62496cc2b21fSmrg XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 62506cc2b21fSmrg pos= 0; 62516cc2b21fSmrg ^ ~ 62526cc2b21fSmrg 62536cc2b21fSmrg Found-by: clang static analyzer 62546cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 62556cc2b21fSmrg 62566cc2b21fSmrgcommit 4024091678ea07e0d898b798df9b29f3bf68eb08 62576cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 62586cc2b21fSmrgDate: Wed May 4 11:34:53 2011 -0700 62596cc2b21fSmrg 62606cc2b21fSmrg XKB: Avoid a possible NULL dereference 62616cc2b21fSmrg 62626cc2b21fSmrg XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 62636cc2b21fSmrg _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 62646cc2b21fSmrg ^~~~~~~ 62656cc2b21fSmrg 62666cc2b21fSmrg Found-by: clang static analyzer 62676cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 62686cc2b21fSmrg 62696cc2b21fSmrgcommit 626e5e34be55b7cf734d745bd40a7ee3359029f8 62706cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 62716cc2b21fSmrgDate: Wed May 4 11:21:41 2011 -0700 62726cc2b21fSmrg 62736cc2b21fSmrg Annotate _XIOError as _X_NORETURN 62746cc2b21fSmrg 62756cc2b21fSmrg Found-by: clang static analyzer 62766cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 62776cc2b21fSmrg 62786cc2b21fSmrgcommit d3d7896408b435ab42656398839ff4351a37724d 62796cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 62806cc2b21fSmrgDate: Tue May 3 09:32:53 2011 -0700 62816cc2b21fSmrg 62826cc2b21fSmrg clang analyzer: Don't warn about Xmalloc(0) 62836cc2b21fSmrg 62846cc2b21fSmrg This will prevent a number of false positives in where clang's 62856cc2b21fSmrg static analysis reports about calls to malloc(0). 62866cc2b21fSmrg 62876cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 62886cc2b21fSmrg 62896cc2b21fSmrgcommit 393921cf2188b2b0713cc157effaf17d0abab783 62906cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 62916cc2b21fSmrgDate: Thu Apr 21 16:21:04 2011 -0700 62926cc2b21fSmrg 62936cc2b21fSmrg Delete special case code to append "/sparcv9" to i18n module path 62946cc2b21fSmrg 62956cc2b21fSmrg Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 62966cc2b21fSmrg Inconsistent with all other platforms, and a bit overcomplicated. 62976cc2b21fSmrg 62986cc2b21fSmrg Should anyone need to continue using that path, simply build with 62996cc2b21fSmrg a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 63006cc2b21fSmrg 63016cc2b21fSmrg Fixes Solaris bug 7038737: 63026cc2b21fSmrg sparcv9 Xlib looking in wrong path for i18n loadable modules 63036cc2b21fSmrg 63046cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63056cc2b21fSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 63066cc2b21fSmrg 63076cc2b21fSmrgcommit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 63086cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 63096cc2b21fSmrgDate: Thu Apr 14 13:47:12 2011 -0700 63106cc2b21fSmrg 63116cc2b21fSmrg specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 63126cc2b21fSmrg 63136cc2b21fSmrg Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 63146cc2b21fSmrg 63156cc2b21fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=36244 63166cc2b21fSmrg 63176cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63186cc2b21fSmrg 63196cc2b21fSmrgcommit b850adbdebcf500c659f85285d4d7374e15857f5 63206cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 63216cc2b21fSmrgDate: Tue Apr 12 22:30:45 2011 -0700 63226cc2b21fSmrg 63236cc2b21fSmrg Convert malloc(strlen()); strcpy() sets to strdup 63246cc2b21fSmrg 63256cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63266cc2b21fSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 63276cc2b21fSmrg 63286cc2b21fSmrgcommit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 63296cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 63306cc2b21fSmrgDate: Tue Apr 12 21:27:45 2011 -0700 63316cc2b21fSmrg 63326cc2b21fSmrg Replace Xmalloc+bzero pairs with Xcalloc calls 63336cc2b21fSmrg 63346cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63356cc2b21fSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 63366cc2b21fSmrg 63376cc2b21fSmrgcommit ac1e2bff7121987fd768500a11d428d9fb9447c5 63386cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63396cc2b21fSmrgDate: Fri Mar 25 14:47:35 2011 +0200 63406cc2b21fSmrg 63416cc2b21fSmrg om: Fix memory leaks on get_font_name error paths. 63426cc2b21fSmrg 63436cc2b21fSmrg While at it, remove unneeded check for NULL before Xfree. 63446cc2b21fSmrg 63456cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63466cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63476cc2b21fSmrg 63486cc2b21fSmrgcommit 7c362e275c93c92b4e68fe862e73ee36665de703 63496cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63506cc2b21fSmrgDate: Wed Mar 30 15:06:10 2011 +0300 63516cc2b21fSmrg 63526cc2b21fSmrg xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 63536cc2b21fSmrg 63546cc2b21fSmrg pScreenData is replaced when building per visual intensity tables. If 63556cc2b21fSmrg malloc failed the old value of pScreenData (stored also in 63566cc2b21fSmrg pScreenDefaultData) was being leaked. Also, property_return wasn't 63576cc2b21fSmrg free'd in that case. 63586cc2b21fSmrg 63596cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63606cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63616cc2b21fSmrg 63626cc2b21fSmrgcommit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 63636cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63646cc2b21fSmrgDate: Wed Mar 30 15:19:28 2011 +0300 63656cc2b21fSmrg 63666cc2b21fSmrg xcms: Fix error on LINEAR_RGB_InitSCCData error path. 63676cc2b21fSmrg 63686cc2b21fSmrg Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 63696cc2b21fSmrg be accessed after being free'd. 63706cc2b21fSmrg 63716cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63726cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63736cc2b21fSmrg 63746cc2b21fSmrgcommit d749948f9492fd9b61c74655a08e32c595e0e3a5 63756cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63766cc2b21fSmrgDate: Fri Mar 25 16:06:15 2011 +0200 63776cc2b21fSmrg 63786cc2b21fSmrg om: Fix potential memory leak in init_om. 63796cc2b21fSmrg 63806cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63816cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63826cc2b21fSmrg 63836cc2b21fSmrgcommit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 63846cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63856cc2b21fSmrgDate: Thu Mar 24 20:40:41 2011 +0200 63866cc2b21fSmrg 63876cc2b21fSmrg om: Fix memory leak on read_EncodingInfo error path. 63886cc2b21fSmrg 63896cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63906cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 63916cc2b21fSmrg 63926cc2b21fSmrgcommit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 63936cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63946cc2b21fSmrgDate: Thu Mar 24 19:55:33 2011 +0200 63956cc2b21fSmrg 63966cc2b21fSmrg Fix memory leaks on _XimCbDispatch error path. 63976cc2b21fSmrg 63986cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 63996cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64006cc2b21fSmrg 64016cc2b21fSmrgcommit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 64026cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64036cc2b21fSmrgDate: Thu Mar 24 19:52:05 2011 +0200 64046cc2b21fSmrg 64056cc2b21fSmrg Fix memory leak on _XimCommitRecv error path. 64066cc2b21fSmrg 64076cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64086cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64096cc2b21fSmrg 64106cc2b21fSmrgcommit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 64116cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64126cc2b21fSmrgDate: Thu Mar 24 19:48:44 2011 +0200 64136cc2b21fSmrg 64146cc2b21fSmrg Fix memory leaks on _XimWriteCachedDefaultTree error paths. 64156cc2b21fSmrg 64166cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64176cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64186cc2b21fSmrg 64196cc2b21fSmrgcommit e29be94edbb58b3b8dab545377a710d1f73b61e0 64206cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64216cc2b21fSmrgDate: Thu Mar 24 19:42:36 2011 +0200 64226cc2b21fSmrg 64236cc2b21fSmrg Fix memory leaks on _XimGetAttributeID error paths. 64246cc2b21fSmrg 64256cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64266cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64276cc2b21fSmrg 64286cc2b21fSmrgcommit d144a50512466766f55ce61e3884925334b08f0d 64296cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64306cc2b21fSmrgDate: Thu Mar 24 19:36:56 2011 +0200 64316cc2b21fSmrg 64326cc2b21fSmrg Fix memory leaks on _XimProtoCreateIC error paths. 64336cc2b21fSmrg 64346cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64356cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64366cc2b21fSmrg 64376cc2b21fSmrgcommit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 64386cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64396cc2b21fSmrgDate: Thu Mar 24 16:24:29 2011 +0200 64406cc2b21fSmrg 64416cc2b21fSmrg Fix leaks in _XimEncodingNegotiation error paths. 64426cc2b21fSmrg 64436cc2b21fSmrg name_ptr and detail_ptr weren't free'd in some cases before returning 64446cc2b21fSmrg False. 64456cc2b21fSmrg 64466cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64476cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64486cc2b21fSmrg 64496cc2b21fSmrgcommit 396e5a452a59c1f121220ba72167b720a863b30f 64506cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64516cc2b21fSmrgDate: Thu Mar 24 14:17:44 2011 +0200 64526cc2b21fSmrg 64536cc2b21fSmrg FSWrap: fix potential leak in copy_string_list 64546cc2b21fSmrg 64556cc2b21fSmrg If list_count is 0, dst would be allocated and leaked. 64566cc2b21fSmrg 64576cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64586cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64596cc2b21fSmrg 64606cc2b21fSmrgcommit 1a944260182bb552b954d69f6355c2760d4415df 64616cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64626cc2b21fSmrgDate: Wed Mar 23 14:36:22 2011 +0200 64636cc2b21fSmrg 64646cc2b21fSmrg Fix memory leak with broken bitmap files in XReadBitmapFileData 64656cc2b21fSmrg 64666cc2b21fSmrg Bitmap file data is read looping through the lines in the input file. If 64676cc2b21fSmrg there is extra data after the bitmap, these lines will be processed and 64686cc2b21fSmrg if this data represents another bitmap it will replace the one read 64696cc2b21fSmrg before causing the memory allocated for bits to leak. 64706cc2b21fSmrg 64716cc2b21fSmrg This changes the code to stop processing the file once a bitmap was 64726cc2b21fSmrg read. 64736cc2b21fSmrg 64746cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 64756cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64766cc2b21fSmrg 64776cc2b21fSmrgcommit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 64786cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 64796cc2b21fSmrgDate: Tue Apr 12 20:50:42 2011 -0700 64806cc2b21fSmrg 64816cc2b21fSmrg Fix "attrinute" typo in comments in ximcp 64826cc2b21fSmrg 64836cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64846cc2b21fSmrg 64856cc2b21fSmrgcommit 7103b83a88edb9c93acfa68f3b556595b087baff 64866cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 64876cc2b21fSmrgDate: Fri Apr 8 21:36:11 2011 -0700 64886cc2b21fSmrg 64896cc2b21fSmrg Make doc install subdirectories more like the pre-docbook.am paths 64906cc2b21fSmrg 64916cc2b21fSmrg Haven't restored the "specs" path in the install path, but have restored 64926cc2b21fSmrg libX11 & i18n subdirectories in the path for better logical grouping. 64936cc2b21fSmrg 64946cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 64956cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 64966cc2b21fSmrg 64976cc2b21fSmrgcommit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 64986cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 64996cc2b21fSmrgDate: Fri Apr 8 13:24:28 2011 -0700 65006cc2b21fSmrg 65016cc2b21fSmrg Install xml versions of specs even if HAVE_XMLTO is false 65026cc2b21fSmrg 65036cc2b21fSmrg Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 65046cc2b21fSmrg from before docbook.am changes (commit e8c76407d2f6e3) 65056cc2b21fSmrg 65066cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 65076cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 65086cc2b21fSmrg 650957f47464Smrgcommit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 651057f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 651157f47464SmrgDate: Tue Apr 5 13:29:04 2011 -0700 651257f47464Smrg 651357f47464Smrg libX11 1.4.3 651457f47464Smrg 651557f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 651657f47464Smrg 651757f47464Smrgcommit e8c76407d2f6e3b11babdb84426e43e780c859c3 651857f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 651957f47464SmrgDate: Fri Feb 25 09:23:54 2011 -0500 652057f47464Smrg 652157f47464Smrg Documentation: add Docbook external references support 652257f47464Smrg 652357f47464Smrg When writing technical documentation, it is often necessary to cross 652457f47464Smrg reference to other information. When that other information is not in the 652557f47464Smrg current document, additional support is needed, namely <olink>. 652657f47464Smrg 652757f47464Smrg A new feature with version 1.7 of xorg-sgml-doctools adds references to 652857f47464Smrg other documents within or outside this package. 652957f47464Smrg 653057f47464Smrg This patch adds technical support for this feature but does not change 653157f47464Smrg the content of the documentation as seen by the end user. 653257f47464Smrg 653357f47464Smrg Each book or article must generate a database containing the href 653457f47464Smrg of sections that can be referred to from another document. This database 653557f47464Smrg is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 653657f47464Smrg the value of DATAROOTDIR for xorg-sgml-doctools and for the package 653757f47464Smrg documentation is the same. This forms a virtual document tree. 653857f47464Smrg 653957f47464Smrg This database is consulted by other documents while they are being generated 654057f47464Smrg in order to fulfill the missing information for linking. 654157f47464Smrg Refer to the xorg-sgml-doctools for further technical information. 654257f47464Smrg 654357f47464Smrg Co-authored-by: Matt Dew <marcoz@osource.org> 654457f47464Smrg 654557f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 654657f47464Smrg 654757f47464Smrgcommit 25eb76b3d2726f2f1de759901971ae53b2539dc4 654857f47464SmrgAuthor: Harshula Jayasuriya <harshula@gmail.com> 654957f47464SmrgDate: Mon Mar 21 14:49:37 2011 +0000 655057f47464Smrg 655157f47464Smrg Add #define XK_SINHALA 655257f47464Smrg 655357f47464Smrg Add #define XK_SINHALA so that the Sinhala keysyms can be used by 655457f47464Smrg the lk xkb keymap. 655557f47464Smrg 655657f47464Smrg Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 655757f47464Smrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 655857f47464Smrg 655957f47464Smrgcommit db8b20b789112717ac0590b40f0b4dc2171797d0 656057f47464SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 656157f47464SmrgDate: Thu Mar 17 16:15:00 2011 -0700 656257f47464Smrg 656357f47464Smrg configure.ac: Bump version to 1.4.2 656457f47464Smrg 656557f47464Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 656657f47464Smrg 656757f47464Smrgcommit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 656857f47464SmrgAuthor: Jamey Sharp <jamey@minilop.net> 656957f47464SmrgDate: Tue Mar 15 16:48:07 2011 -0700 657057f47464Smrg 657157f47464Smrg Call _XErrorFunction without holding the Display lock. 657257f47464Smrg 657357f47464Smrg Historically, Xlib dropped the Display lock around the upcall to any 657457f47464Smrg user-supplied _XErrorFunction, but somewhere along the way I quit doing 657557f47464Smrg that if you built with XCB. The reasons are lost somewhere in the 657657f47464Smrg pre-git history of Xlib/XCB, and I can't now see any reason to hold the 657757f47464Smrg lock. 657857f47464Smrg 657957f47464Smrg The documentation for XSetErrorHandler still applies though: 658057f47464Smrg 658157f47464Smrg Because this condition is not assumed to be fatal, it is acceptable 658257f47464Smrg for your error handler to return; the returned value is ignored. 658357f47464Smrg However, the error handler should not call any functions (directly 658457f47464Smrg or indirectly) on the display that will generate protocol requests 658557f47464Smrg or that will look for input events. 658657f47464Smrg 658757f47464Smrg So while you are now once again permitted to re-enter Xlib from the 658857f47464Smrg error handler, you're only allowed to call non-protocol functions. 658957f47464Smrg 659057f47464Smrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 659157f47464Smrg 659257f47464Smrgcommit fd85aca7a616c595fc17b2520f84316a11e8906f 659357f47464SmrgAuthor: Jamey Sharp <jamey@minilop.net> 659457f47464SmrgDate: Mon Mar 14 14:45:35 2011 -0700 659557f47464Smrg 659657f47464Smrg Ignore user locks after sleeping in _XReply and _XReadEvents. 659757f47464Smrg 659857f47464Smrg This bug appears as a hang in applications that wait for replies from 659957f47464Smrg multiple threads, where one such thread has taken a user lock using 660057f47464Smrg XLockDisplay. 660157f47464Smrg 660257f47464Smrg Prior to this fix, the code could deadlock in this way: If thread 1 goes 660357f47464Smrg to sleep waiting for a reply, and then thread 2 takes a user lock and 660457f47464Smrg waits for a reply, then thread 2 will wait for thread 1 to process its 660557f47464Smrg reply (because responses must be processed in order), but thread 1 will 660657f47464Smrg wait for thread 2 to drop its user lock. 660757f47464Smrg 660857f47464Smrg Fixed by making thread 1 not wait for thread 2 to drop its user lock. 660957f47464Smrg This makes the semantics of user locks hard to define, but they were 661057f47464Smrg already hard to define. The new behavior appears to be consistent with 661157f47464Smrg the way Xlib worked historically, anyway. 661257f47464Smrg 661357f47464Smrg Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 661457f47464Smrg 661557f47464Smrg There was a similar potential for deadlock in _XReadEvents, fixed the 661657f47464Smrg same way, with the same caveats about user-lock semantics. 661757f47464Smrg 661857f47464Smrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 661957f47464Smrg 662057f47464Smrgcommit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 662157f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 662257f47464SmrgDate: Tue Jan 18 15:58:20 2011 +0200 662357f47464Smrg 662457f47464Smrg xkb: XkbPropertyPtr determined allocation success from wrong variables 662557f47464Smrg 662657f47464Smrg Cannot reach dead statement "return NULL;" 662757f47464Smrg 662857f47464Smrg Check for the NULLness of prop->name and prop->value instead of 662957f47464Smrg name and value, which was checked earlier anyway. Decided against 663057f47464Smrg using strdup due to curious memory allocation functions and the 663157f47464Smrg rest of the xkb not using it either. 663257f47464Smrg 663357f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 663457f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 663557f47464Smrg 663657f47464Smrgcommit 6a4d027284e7bb5dd458157947bbb1ff580ad071 663757f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 663857f47464SmrgDate: Mon Jan 10 16:37:22 2011 +0200 663957f47464Smrg 664057f47464Smrg keyBind: Use Xcalloc to initialize allocated _XKeytrans 664157f47464Smrg 664257f47464Smrg Using uninitialized value "p->modifiers" 664357f47464Smrg 664457f47464Smrg Small fix by using Xcalloc instead of Xmalloc 664557f47464Smrg 664657f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 664757f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 664857f47464Smrg 664957f47464Smrgcommit b993d73bb3214ecc24646f5427c8003b816c6921 665057f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 665157f47464SmrgDate: Mon Jan 10 16:22:45 2011 +0200 665257f47464Smrg 665357f47464Smrg im/ximcp: release modifiermap before returning 665457f47464Smrg 665557f47464Smrg Variable "map" goes out of scope 665657f47464Smrg 665757f47464Smrg Release modifiermap before returning. Reordered code to call 665857f47464Smrg XGetModifierMapping after the first return from the function. 665957f47464Smrg 666057f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 666157f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 666257f47464Smrg 666357f47464Smrgcommit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 666457f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 666557f47464SmrgDate: Fri Feb 25 09:23:54 2011 -0500 666657f47464Smrg 666757f47464Smrg Docbook: change the book id to match the xml file basename 666857f47464Smrg 666957f47464Smrg This is required for the up-coming external references support. 667057f47464Smrg 667157f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 667257f47464Smrg 667357f47464Smrgcommit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 667457f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 667557f47464SmrgDate: Mon Feb 21 21:54:17 2011 +0100 667657f47464Smrg 667757f47464Smrg Make the Local XIM request key releases for braille 667857f47464Smrg 667957f47464Smrg Braille chords management needs key release events. We need to explicitly 668057f47464Smrg request then, else GTK would not pass them throught XFilterEvent and braille 668157f47464Smrg wouldn't work. 668257f47464Smrg 668357f47464Smrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 668457f47464Smrg 668557f47464Smrgcommit c97c42c49cd5095462abecdf908b416fb0b540b6 668657f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 668757f47464SmrgDate: Mon Feb 21 17:27:38 2011 +0100 668857f47464Smrg 668957f47464Smrg Match braille patterns with compose tree 669057f47464Smrg 669157f47464Smrg Braille patterns should also be usable in Compose. This combines the 669257f47464Smrg implementation of braille chords and compose tree: only emit the braille 669357f47464Smrg pattern if it can not be found in the compose tree, if any. 669457f47464Smrg 669557f47464Smrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 669657f47464Smrg 669757f47464Smrgcommit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 669857f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 669957f47464SmrgDate: Mon Feb 21 15:56:54 2011 +0100 670057f47464Smrg 670157f47464Smrg Fix status reporting for braille patterns 670257f47464Smrg 670357f47464Smrg _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 670457f47464Smrg convert to the current MB charset. 670557f47464Smrg _XimLocalUtf8LookupString needs to set the braille keysym and status too. 670657f47464Smrg 670757f47464Smrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 670857f47464Smrg 670957f47464Smrgcommit 993abe751f4141f54d8d28b8b73588a1c9085970 671057f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 671157f47464SmrgDate: Fri Feb 11 14:49:17 2011 -0800 671257f47464Smrg 671357f47464Smrg Clean up memory when first XCreateRegion succeeds and second fails 671457f47464Smrg 671557f47464Smrg Error: Memory leak (CWE 401) 671657f47464Smrg Memory leak of pointer 's' allocated with XCreateRegion() 671757f47464Smrg at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 671857f47464Smrg 's' allocated at line 387 with XCreateRegion(). 671957f47464Smrg s leaks when s != 0 at line 387. 672057f47464Smrg Error: Memory leak (CWE 401) 672157f47464Smrg Memory leak of pointer 'tra' allocated with XCreateRegion() 672257f47464Smrg at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 672357f47464Smrg 'tra' allocated at line 1451 with XCreateRegion(). 672457f47464Smrg tra leaks when tra != 0 at line 1451. 672557f47464Smrg 672657f47464Smrg [ This bug was found by the Parfait 0.3.6 bug checking tool. 672757f47464Smrg For more information see http://labs.oracle.com/projects/parfait/ ] 672857f47464Smrg 672957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 673057f47464Smrg 673157f47464Smrgcommit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 673257f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 673357f47464SmrgDate: Fri Feb 11 14:20:24 2011 -0800 673457f47464Smrg 673557f47464Smrg ximcp: Prevent memory leak & double free if multiple %L in string 673657f47464Smrg 673757f47464Smrg In the highly unlikely event that TransFileName was passed a path 673857f47464Smrg containing multiple %L entries, for each entry it would call 673957f47464Smrg _XlcFileName, leaking the previous results, and then for each entry it 674057f47464Smrg would copy from that pointer and free it, resulting in invalid pointers 674157f47464Smrg & possible double frees for each use after the first one freed it. 674257f47464Smrg 674357f47464Smrg Error: Use after free (CWE 416) 674457f47464Smrg Use after free of pointer 'lcCompose' 674557f47464Smrg at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 674657f47464Smrg Previously freed at line 360 with free. 674757f47464Smrg Error: Use after free (CWE 416) 674857f47464Smrg Use after free of pointer 'lcCompose' 674957f47464Smrg at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 675057f47464Smrg Previously freed at line 360 with free. 675157f47464Smrg Error: Double free (CWE 415) 675257f47464Smrg Double free of pointer 'lcCompose' 675357f47464Smrg at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 675457f47464Smrg Previously freed at line 360 with free. 675557f47464Smrg 675657f47464Smrg [ This bug was found by the Parfait 0.3.6 bug checking tool. 675757f47464Smrg For more information see http://labs.oracle.com/projects/parfait/ ] 675857f47464Smrg 675957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 676057f47464Smrg 676157f47464Smrgcommit 502d414118c97d35a44f8e295709682022876331 676257f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 676357f47464SmrgDate: Thu Feb 3 17:08:57 2011 +0200 676457f47464Smrg 676557f47464Smrg xcms/cmsProp: don't deal with uninitialized values, fail instead 676657f47464Smrg 676757f47464Smrg Properly handle the return value of XGetWindowProperty by considering 676857f47464Smrg if after the loop as well. 676957f47464Smrg 677057f47464Smrg Using freed pointer "prop_ret" 677157f47464Smrg 677257f47464Smrg There were numerous things wrong in how this function interacted with 677357f47464Smrg XGetWindowProperty. 677457f47464Smrg 677557f47464Smrg None of the local variables were initialized and remained that way if 677657f47464Smrg the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 677757f47464Smrg result in after_ret being initialized in which case if it happens to 677857f47464Smrg be 0, the loop was exited. In that case format_ret and nitems_ret were 677957f47464Smrg uninitialized and the function might return with success (but with 678057f47464Smrg uninitialized pointer in prop_ret) or XcmsFailure. 678157f47464Smrg 678257f47464Smrg As the buffer enlarging code was called only when XGetWindowProperty 678357f47464Smrg failed (returned not Success), after_ret would not have been 678457f47464Smrg initialized. It would have been initialized only if the 678557f47464Smrg XGetWindowProperty has returned Success earlier, but in that case the 678657f47464Smrg code fragment would not have been reached. 678757f47464Smrg 678857f47464Smrg This patch alters the function to return XcmsFailure if the call to 678957f47464Smrg XGetWindowProperty fails. 679057f47464Smrg 679157f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 679257f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 679357f47464Smrg Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 679457f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 679557f47464Smrg 679657f47464Smrgcommit c37e278993b9e5b3d7025ef4c434373a011996ec 679757f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 679857f47464SmrgDate: Mon Jan 31 14:02:07 2011 +0200 679957f47464Smrg 680057f47464Smrg xcms/LRGB: don't double-free property_return 680157f47464Smrg 680257f47464Smrg property_return was free'd before and in the case the conditional is true, 680357f47464Smrg the call to XcmsGetProperty failed which means that property_return wasn't 680457f47464Smrg set so there is no need to free it again. 680557f47464Smrg 680657f47464Smrg Double free of pointer "property_return" in call to "free" 680757f47464Smrg 680857f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 680957f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 681057f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 681157f47464Smrg 681257f47464Smrgcommit 50f4107811249806718a100f9d34f996c58e5e25 681357f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 681457f47464SmrgDate: Wed Feb 2 08:58:45 2011 -0800 681557f47464Smrg 681657f47464Smrg Xrm.c: ReadInFile: refactor fstat error handling 681757f47464Smrg 681857f47464Smrg We can simplify the fstat failure case now that the GetFileSize macro 681957f47464Smrg has been expanded inline. 682057f47464Smrg 682157f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 682257f47464Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 682357f47464Smrg 682457f47464Smrgcommit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 682557f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 682657f47464SmrgDate: Wed Feb 2 08:56:00 2011 -0800 682757f47464Smrg 682857f47464Smrg Expand GetSizeOfFile() macro at the one place it's called 682957f47464Smrg 683057f47464Smrg Removes XrmI.h header that only contained this single macro 683157f47464Smrg 683257f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 683357f47464Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 683457f47464Smrg 683557f47464Smrgcommit 450e17422c0e374d25c643f343ea268cec68da38 683657f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 683757f47464SmrgDate: Mon Jan 31 14:01:57 2011 +0200 683857f47464Smrg 683957f47464Smrg XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 684057f47464Smrg 684157f47464Smrg Possible overrun of 8192 byte fixed size buffer "buffer" by copying 684257f47464Smrg "ext->name" without length checking 684357f47464Smrg 684457f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 684557f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 684657f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 684757f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 684857f47464Smrg 684957f47464Smrgcommit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 685057f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 685157f47464SmrgDate: Mon Jan 31 14:02:13 2011 +0200 685257f47464Smrg 685357f47464Smrg lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 685457f47464Smrg 685557f47464Smrg Fixed by zero'ing conv on allocation with Xcalloc. Then 685657f47464Smrg close_converter works properly. 685757f47464Smrg 685857f47464Smrg Using uninitialized value "conv->state" in call to function "close_converter" 685957f47464Smrg 686057f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 686157f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 686257f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 686357f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 686457f47464Smrg 686557f47464Smrgcommit 03f81ad8fb9783986cf9b17661dd31e95c396681 686657f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 686757f47464SmrgDate: Mon Jan 31 14:02:16 2011 +0200 686857f47464Smrg 686957f47464Smrg xlibi18n/lcFile: Removed superfluous check for NULL target_dir 687057f47464Smrg 687157f47464Smrg The situation is already handled before this code. 687257f47464Smrg 687357f47464Smrg Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 687457f47464Smrg 687557f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 687657f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 687757f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 687857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 687957f47464Smrg 688057f47464Smrgcommit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 688157f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 688257f47464SmrgDate: Mon Jan 31 14:02:15 2011 +0200 688357f47464Smrg 688457f47464Smrg ximcp/imLckup: Handle negative return value from _Xlcwctomb 688557f47464Smrg 688657f47464Smrg Fixed by negative value to memcpy by checking for the negative return 688757f47464Smrg value of _Xlcwctomb and returning 0/XLookupNone in that case. 688857f47464Smrg 688957f47464Smrg a negative value was passed to memcpy 689057f47464Smrg 689157f47464Smrg Unfortunately the other return values for *status don't fit into the 689257f47464Smrg error (which appears to indicate some internal error or running out of 689357f47464Smrg memory). The other valid status codes are XBufferOverflow, 689457f47464Smrg XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 689557f47464Smrg these has a specific meaning attached. 689657f47464Smrg 689757f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 689857f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 689957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 690057f47464Smrg 690157f47464Smrgcommit 79a5c86e020f08cc108184298a72e2777036de39 690257f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 690357f47464SmrgDate: Mon Jan 31 14:02:14 2011 +0200 690457f47464Smrg 690557f47464Smrg ximcp/imTrX: Handle failing XGetWindowProperty 690657f47464Smrg 690757f47464Smrg Checked return value of XGetWindowProperty and return false if it fails. 690857f47464Smrg 690957f47464Smrg 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 691057f47464Smrg 691157f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 691257f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 691357f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 691457f47464Smrg 691557f47464Smrgcommit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 691657f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 691757f47464SmrgDate: Mon Jan 31 14:02:12 2011 +0200 691857f47464Smrg 691957f47464Smrg XlibInt: info_list->watch_data was reallocated, but result was discarded 692057f47464Smrg 692157f47464Smrg info_list->watch_data was being reallocated, but the return value of 692257f47464Smrg the reallocation was stored only into a local variable. This might 692357f47464Smrg cause some funky behavior and crashes. 692457f47464Smrg 692557f47464Smrg Variable "wd_array" goes out of scope 692657f47464Smrg 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)))" 692757f47464Smrg 692857f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 692957f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 693057f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 693157f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 693257f47464Smrg 693357f47464Smrgcommit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 693457f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 693557f47464SmrgDate: Mon Jan 31 14:02:10 2011 +0200 693657f47464Smrg 693757f47464Smrg GetProp: Zero-initialized error so its resourceID field is initialized 693857f47464Smrg 693957f47464Smrg Using uninitialized value "error.resourceID" in call to function "_XError" 694057f47464Smrg 694157f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 694257f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 694357f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 694457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 694557f47464Smrg 694657f47464Smrgcommit 85e9f38e016137f0ff2791eb0d092ab027382d2c 694757f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 694857f47464SmrgDate: Tue Feb 1 11:07:25 2011 +0200 694957f47464Smrg 695057f47464Smrg xcms/LRGB: Add a label for freeing property_return. 695157f47464Smrg 695257f47464Smrg The rest of the code uses goto's to free memory allocated later 695357f47464Smrg and prevent memory leaks, but there were several paths were 695457f47464Smrg property_return was free'd just before a goto. 695557f47464Smrg 695657f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 695757f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 695857f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 695957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 696057f47464Smrg 696157f47464Smrgcommit 3161dc57d4e9b70f852f05e5e474455e121b06ab 696257f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 696357f47464SmrgDate: Mon Jan 31 14:02:08 2011 +0200 696457f47464Smrg 696557f47464Smrg xcms/LRGB: Fix potential resource leak. 696657f47464Smrg 696757f47464Smrg property_return was not free'd if the allocation of pRedTbl failed. 696857f47464Smrg 696957f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 697057f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 697157f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 697257f47464Smrg 697357f47464Smrgcommit be3e6c205d94dedc1cdebf5d17b987f0f828377a 697457f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 697557f47464SmrgDate: Mon Jan 31 14:02:06 2011 +0200 697657f47464Smrg 697757f47464Smrg Xrm: Handle the extremely unlikely situation of fstat failing 697857f47464Smrg 697957f47464Smrg Tracked variable "size" was passed to a negative sink. 698057f47464Smrg 698157f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 698257f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 698357f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 698457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 698557f47464Smrg 698657f47464Smrgcommit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 698757f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 698857f47464SmrgDate: Mon Jan 31 14:02:05 2011 +0200 698957f47464Smrg 699057f47464Smrg Xrm: NEWTABLE had a memory leak after a memory allocation error 699157f47464Smrg 699257f47464Smrg The NEWTABLE macro missed freeing its allocated memory on subsequent 699357f47464Smrg memory allocation errors. Added call to Xfree. 699457f47464Smrg 699557f47464Smrg Variable "table" goes out of scope 699657f47464Smrg 699757f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 699857f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 699957f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 700057f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 700157f47464Smrg 700257f47464Smrgcommit 7110ac653349a23c80c365f11f6270dc27c8975a 700357f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 700457f47464SmrgDate: Mon Jan 31 14:02:03 2011 +0200 700557f47464Smrg 700657f47464Smrg ImUtil: Handle a memory leak in one early return branch 700757f47464Smrg 700857f47464Smrg Fixed memory leak by adding Xfree for image 700957f47464Smrg 701057f47464Smrg Variable "image" goes out of scope 701157f47464Smrg 701257f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 701357f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 701457f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 701557f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 701657f47464Smrg 701757f47464Smrgcommit d695f5da9f5b778e54b6987d9177048e32818c4d 701857f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 701957f47464SmrgDate: Mon Jan 31 14:02:01 2011 +0200 702057f47464Smrg 702157f47464Smrg ximcp/imRm: Handle leaking colormap_ret 702257f47464Smrg 702357f47464Smrg Fixed memory leak by adding Xfree for colormap_ret 702457f47464Smrg 702557f47464Smrg Variable "colormap_ret" goes out of scope 702657f47464Smrg 702757f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 702857f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 702957f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 703057f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 703157f47464Smrg 703257f47464Smrgcommit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 703357f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 703457f47464SmrgDate: Mon Jan 31 14:01:59 2011 +0200 703557f47464Smrg 703657f47464Smrg ximcp/imRmAttr: Handle leaking missing_list 703757f47464Smrg 703857f47464Smrg Fixed memory leak by adding Xfree and initializing missing_list with NULL 703957f47464Smrg 704057f47464Smrg Variable "missing_list" goes out of scope 704157f47464Smrg 704257f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 704357f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 704457f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 704557f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 704657f47464Smrg 704757f47464Smrgcommit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 704857f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 704957f47464SmrgDate: Mon Jan 31 14:01:58 2011 +0200 705057f47464Smrg 705157f47464Smrg ximcp/imRmAttr: Handle leaking colormap_ret 705257f47464Smrg 705357f47464Smrg XFree colormap_ret and initialize it when appropriate. 705457f47464Smrg 705557f47464Smrg Variable "colormap_ret" goes out of scope 705657f47464Smrg 705757f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 705857f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 705957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 706057f47464Smrg 706157f47464Smrgcommit f66a032a937030f2d9baa81744d36dc585bb085c 706257f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 706357f47464SmrgDate: Mon Jan 31 14:01:56 2011 +0200 706457f47464Smrg 706557f47464Smrg xlibi18n/lcGeneric: Initialize uninitialized local variable 706657f47464Smrg 706757f47464Smrg Using uninitialized value "new" 706857f47464Smrg 706957f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 707057f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 707157f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 707257f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 707357f47464Smrg 707457f47464Smrgcommit d0266e06d38110ec908ca28379014eff743630b7 707557f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 707657f47464SmrgDate: Mon Jan 31 14:01:54 2011 +0200 707757f47464Smrg 707857f47464Smrg xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 707957f47464Smrg 708057f47464Smrg Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 708157f47464Smrg 708257f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 708357f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 708457f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 708557f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 708657f47464Smrg 708757f47464Smrgcommit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 708857f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 708957f47464SmrgDate: Tue Feb 1 12:30:56 2011 +0200 709057f47464Smrg 709157f47464Smrg XDefaultOMIF.c: Fix memory leaks in get_font_name 709257f47464Smrg 709357f47464Smrg Instead of copying the value returned by get_prop_name and then releasing it, 709457f47464Smrg directly use the return value of get_prop_name, which allocates memory for the 709557f47464Smrg name. 709657f47464Smrg 709757f47464Smrg If get_prop_name returns NULL, continue on to XFreeFont to release the font 709857f47464Smrg before returning the NULL via the normal function return. 709957f47464Smrg 710057f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 710157f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 710257f47464Smrg 710357f47464Smrgcommit 95796351435d81eaef8166d49ba3a6e7b633d70a 710457f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 710557f47464SmrgDate: Mon Jan 31 14:50:19 2011 -0500 710657f47464Smrg 710757f47464Smrg config: comment, minor upgrade, quote and layout configure.ac 710857f47464Smrg 710957f47464Smrg Group statements per section as per Autoconf standard layout 711057f47464Smrg Quote statements where appropriate. 711157f47464Smrg Autoconf recommends not using dnl instead of # for comments 711257f47464Smrg 711357f47464Smrg Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 711457f47464Smrg Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 711557f47464Smrg 711657f47464Smrg This helps automated maintenance and release activities. 711757f47464Smrg Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 711857f47464Smrg 711957f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 712057f47464Smrg 712157f47464Smrgcommit e994ab227ed28655565c3193e63733630105e7f9 712257f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 712357f47464SmrgDate: Tue Jan 18 12:49:48 2011 +0200 712457f47464Smrg 712557f47464Smrg Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 712657f47464Smrg 712757f47464Smrg Removed superfluous comparison. 712857f47464Smrg 712957f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 713057f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 713157f47464Smrg 713257f47464Smrgcommit 4115f051e62f9b098efce691e070d44f09f30f1c 713357f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 713457f47464SmrgDate: Wed Jan 12 15:51:11 2011 +0200 713557f47464Smrg 713657f47464Smrg Variable "entry" tracked as NULL was dereferenced. 713757f47464Smrg 713857f47464Smrg Check entry for non-nullness before dereferencing it 713957f47464Smrg 714057f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 714157f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 714257f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 714357f47464Smrg 714457f47464Smrgcommit 0edb76d1d5fdca5a2543332699be2e72386dab24 714557f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 714657f47464SmrgDate: Thu Jan 27 09:54:00 2011 +0200 714757f47464Smrg 714857f47464Smrg Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 714957f47464Smrg 715057f47464Smrg If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 715157f47464Smrg 715257f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 715357f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 715457f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 715557f47464Smrg 715657f47464Smrgcommit 59da8a211ef723909d0530c0331d541db8e63378 715757f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 715857f47464SmrgDate: Mon Jan 10 16:17:47 2011 +0200 715957f47464Smrg 716057f47464Smrg Using freed pointer "e" 716157f47464Smrg 716257f47464Smrg Reordered code to first to do the comparison and then to release data 716357f47464Smrg 716457f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 716557f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 716657f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 716757f47464Smrg 716857f47464Smrgcommit 0f11c229f7099f7c5aeed4691b358dca151dac7d 716957f47464SmrgAuthor: Matt Dew <marcoz@osource.org> 717057f47464SmrgDate: Thu Jan 27 00:31:23 2011 -0700 717157f47464Smrg 717257f47464Smrg Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 717357f47464Smrg 717457f47464Smrg Signed-off-by: Matt Dew <marcoz@osource.org> 717557f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 717657f47464Smrg 717757f47464Smrgcommit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 717857f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 717957f47464SmrgDate: Fri Jan 28 16:07:07 2011 -0500 718057f47464Smrg 718157f47464Smrg config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 718257f47464Smrg 718357f47464Smrg This silences an Automake warning. 718457f47464Smrg 718557f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 718657f47464Smrg 718757f47464Smrgcommit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 718857f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 718957f47464SmrgDate: Fri Jan 28 14:59:04 2011 -0500 719057f47464Smrg 719157f47464Smrg config: remove unrequired AC_HEADER_STDC 719257f47464Smrg 719357f47464Smrg Autoconf says: 719457f47464Smrg "This macro is obsolescent, as current systems have conforming 719557f47464Smrg header files. New programs need not use this macro". 719657f47464Smrg 719757f47464Smrgcommit d4483375e37a72631d5821413cb75a423e990ffe 719857f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 719957f47464SmrgDate: Tue Jan 18 19:37:02 2011 -0800 720057f47464Smrg 720157f47464Smrg config: Use correct AC_CONFIG_HEADERS macro 720257f47464Smrg 720357f47464Smrg Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 720457f47464Smrg 720557f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 720657f47464Smrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 720757f47464Smrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 720857f47464Smrg 720957f47464Smrgcommit c6405fe931f313a0d159bdad00244fc8aae12468 721057f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 721157f47464SmrgDate: Sun Jan 16 11:55:23 2011 -0800 721257f47464Smrg 721357f47464Smrg config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 721457f47464Smrg 721557f47464Smrg XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 721657f47464Smrg AC_PROG_C_C99. This sets gcc with -std=gnu99. 721757f47464Smrg If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 721857f47464Smrg 721957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 722057f47464Smrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 722157f47464Smrg 722257f47464Smrgcommit 17aa1f2305da0952ad594c7329d08aba21f13ac8 722357f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 722457f47464SmrgDate: Sun Jan 16 11:40:59 2011 -0800 722557f47464Smrg 722657f47464Smrg Update to xf86bigfontproto >= 1.2.0 header name 722757f47464Smrg 722857f47464Smrg Clears compile-time warning of: 722957f47464Smrg "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 723057f47464Smrg "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 723157f47464Smrg 723257f47464Smrg Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 723357f47464Smrg passed to configure. 723457f47464Smrg 723557f47464Smrg Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 723657f47464Smrg that PKG_CHECK_MODULES does automatically 723757f47464Smrg 723857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 723957f47464Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 724057f47464Smrg 7241e9fcaa8aSmrgcommit a9228fcc676aacf9a760dd94891c89f9bc82b20d 7242e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7243e9fcaa8aSmrgDate: Tue Jan 11 17:55:22 2011 -0800 7244e9fcaa8aSmrg 7245e9fcaa8aSmrg libX11 1.4.1 7246e9fcaa8aSmrg 7247e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7248e9fcaa8aSmrg 7249e9fcaa8aSmrgcommit 92fa96451af37a7a0f2592de07643fdaed7a9efd 7250e9fcaa8aSmrgAuthor: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 7251e9fcaa8aSmrgDate: Mon Jan 3 12:25:28 2011 -0500 7252e9fcaa8aSmrg 7253e9fcaa8aSmrg Initialize event type 7254e9fcaa8aSmrg 7255e9fcaa8aSmrg If we receive unsupported event closing connection triggers valgrind 7256e9fcaa8aSmrg error. 7257e9fcaa8aSmrg 7258e9fcaa8aSmrg ==12017== Conditional jump or move depends on uninitialised value(s) 7259e9fcaa8aSmrg ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 7260e9fcaa8aSmrg ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 7261e9fcaa8aSmrg *snip* 7262e9fcaa8aSmrg ==12017== Uninitialised value was created by a heap allocation 7263e9fcaa8aSmrg ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 7264e9fcaa8aSmrg ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 7265e9fcaa8aSmrg ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 7266e9fcaa8aSmrg ==12017== by 0x4892263: _XReply (xcb_io.c:626) 7267e9fcaa8aSmrg *snip* 7268e9fcaa8aSmrg 7269e9fcaa8aSmrg Problem is that XFreeDisplaySturture is checking for qelt->event.type == 7270e9fcaa8aSmrg GenericEvent while _XUnknownWireEvent doesn't store the type. 7271e9fcaa8aSmrg 7272e9fcaa8aSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 7273e9fcaa8aSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7274e9fcaa8aSmrg Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 7275e9fcaa8aSmrg 7276e9fcaa8aSmrgcommit fa9747b9d4443eef9b1687b8b1208801f5c585da 7277e9fcaa8aSmrgAuthor: Fernando Carrijo <fcarrijo.lists@gmail.com> 7278e9fcaa8aSmrgDate: Tue Dec 28 16:18:57 2010 -0500 7279e9fcaa8aSmrg 7280e9fcaa8aSmrg specs: convert images from gif to svg format. 7281e9fcaa8aSmrg 7282e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7283e9fcaa8aSmrg 7284e9fcaa8aSmrgcommit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 7285e9fcaa8aSmrgAuthor: Philipp Reh <sefi@s-e-f-i.de> 7286e9fcaa8aSmrgDate: Wed Dec 22 15:14:05 2010 +0000 7287e9fcaa8aSmrg 7288e9fcaa8aSmrg Events: Store event cookie when dequeuing event 7289e9fcaa8aSmrg 7290e9fcaa8aSmrg When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 7291e9fcaa8aSmrg make sure to store the corresponding cookie too. 7292e9fcaa8aSmrg 7293e9fcaa8aSmrg Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 7294e9fcaa8aSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 7295e9fcaa8aSmrg 7296e9fcaa8aSmrgcommit d2714d65e85b44abedf5f82e1a31506dba397ef2 7297e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7298e9fcaa8aSmrgDate: Tue Dec 21 18:47:16 2010 -0800 7299e9fcaa8aSmrg 7300e9fcaa8aSmrg Revert "Mark atom names argument to XInternAtoms as const" 7301e9fcaa8aSmrg 7302e9fcaa8aSmrg This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 7303e9fcaa8aSmrg 7304e9fcaa8aSmrg The constification of a pointer to a pointer caused unexpected issues, 7305e9fcaa8aSmrg and xorg-devel was unable to come up with a clean, safe, reasonable way 7306e9fcaa8aSmrg to handle them, so we're chalking this up for now as yet another mistake 7307e9fcaa8aSmrg in the Xlib API definition we'll be living with. 7308e9fcaa8aSmrg 7309e9fcaa8aSmrg See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 7310e9fcaa8aSmrg 7311e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7312e9fcaa8aSmrg 7313e9fcaa8aSmrgcommit 6459f9a48a82de3bc0235bd36acab2df11e436d5 7314e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7315e9fcaa8aSmrgDate: Mon Dec 20 20:54:07 2010 -0800 7316e9fcaa8aSmrg 7317e9fcaa8aSmrg specs/XKB: make acknowlegement section <preface> instead of <chapter> 7318e9fcaa8aSmrg 7319e9fcaa8aSmrg Fixes numbering of actual chapters to match their filenames and to 7320e9fcaa8aSmrg make the table/figure numbering match the references in the text. 7321e9fcaa8aSmrg 7322e9fcaa8aSmrg Reported-by: jelmd on freenode irc 7323e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7324e9fcaa8aSmrg 7325e9fcaa8aSmrgcommit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 7326e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7327e9fcaa8aSmrgDate: Sun Dec 19 23:53:02 2010 -0800 7328e9fcaa8aSmrg 7329e9fcaa8aSmrg Add XKBlib spec images to dist_spec_DATA for distribution & installation 7330e9fcaa8aSmrg 7331e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7332e9fcaa8aSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7333e9fcaa8aSmrg 7334e9fcaa8aSmrgcommit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 7335e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org> 7336e9fcaa8aSmrgDate: Tue Nov 30 10:52:07 2010 -0500 7337e9fcaa8aSmrg 7338e9fcaa8aSmrg specs: convert XKBlib spec from Framemaker to DocBook.xml 7339e9fcaa8aSmrg 7340e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7341e9fcaa8aSmrg 7342e9fcaa8aSmrgcommit c8701115462b482d99ecff24d9de0f2806084ba5 7343e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7344e9fcaa8aSmrgDate: Sun Nov 21 20:49:05 2010 -0800 7345e9fcaa8aSmrg 7346e9fcaa8aSmrg Mark atom names argument to XInternAtoms as const 7347e9fcaa8aSmrg 7348e9fcaa8aSmrg Updates code & docs for XInternAtoms. 7349e9fcaa8aSmrg 7350e9fcaa8aSmrg The single atom name argument to XInternAtom was already const char * 7351e9fcaa8aSmrg in the code, but not the docs, so updated it in the docs too. 7352e9fcaa8aSmrg 7353e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7354e9fcaa8aSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 7355e9fcaa8aSmrg 7356e9fcaa8aSmrgcommit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 7357e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7358e9fcaa8aSmrgDate: Sun Nov 21 14:04:32 2010 -0800 7359e9fcaa8aSmrg 7360e9fcaa8aSmrg libX11 1.4.0 7361e9fcaa8aSmrg 7362e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7363e9fcaa8aSmrg 7364e9fcaa8aSmrgcommit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 7365e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 7366e9fcaa8aSmrgDate: Sat Nov 6 21:58:10 2010 +0000 7367e9fcaa8aSmrg 7368e9fcaa8aSmrg config: Check host string when deciding architecture to build for 7369e9fcaa8aSmrg 7370e9fcaa8aSmrg When checking for the OS/2 platform, $target_os is used. However, unless 7371e9fcaa8aSmrg building a cross compiler, the $host* strings contain the platform 7372e9fcaa8aSmrg details for the build system. See: 7373e9fcaa8aSmrg 7374e9fcaa8aSmrg http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 7375e9fcaa8aSmrg 7376e9fcaa8aSmrg $host_os is already being used to determine the transport and threading 7377e9fcaa8aSmrg options. 7378e9fcaa8aSmrg 7379e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7380e9fcaa8aSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 7381e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7382e9fcaa8aSmrg 7383e9fcaa8aSmrgcommit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 7384e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 7385e9fcaa8aSmrgDate: Sat Nov 6 21:58:09 2010 +0000 7386e9fcaa8aSmrg 7387e9fcaa8aSmrg config: Fix architecture check for OS/2 to skip nios2 cpu 7388e9fcaa8aSmrg 7389e9fcaa8aSmrg The OS/2 platform requires some utility functions as well as having a 7390e9fcaa8aSmrg non-32 bit wchar_t. Fix the configure check so that it doesn't also 7391e9fcaa8aSmrg affect the nios2 cpu, which wouldn't influence these operating system 7392e9fcaa8aSmrg issues. 7393e9fcaa8aSmrg 7394e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7395e9fcaa8aSmrg Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 7396e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7397e9fcaa8aSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 7398e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7399e9fcaa8aSmrg 7400e9fcaa8aSmrgcommit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 7401e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7402e9fcaa8aSmrgDate: Tue Nov 9 13:04:44 2010 -0500 7403e9fcaa8aSmrg 7404e9fcaa8aSmrg config: HTML file generation: use the installed copy of xorg.css 7405e9fcaa8aSmrg 7406e9fcaa8aSmrg Currenlty the xorg.css file is copied in each location 7407e9fcaa8aSmrg where a DocBook/XML file resides. This produces about 7408e9fcaa8aSmrg 70 copies in the $(docdir) install tree. 7409e9fcaa8aSmrg 7410e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7411e9fcaa8aSmrg 7412e9fcaa8aSmrgcommit 3e8907305e1818369aef5a5c0da61f09e20de4f8 7413e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7414e9fcaa8aSmrgDate: Fri Oct 29 22:02:10 2010 -0700 7415e9fcaa8aSmrg 7416e9fcaa8aSmrg libX11 1.3.99.903 (1.4.0 RC3) 7417e9fcaa8aSmrg 7418e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7419e9fcaa8aSmrg 7420e9fcaa8aSmrgcommit 5d245d8013289b13e0c42100951b26166c7fada4 7421e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7422e9fcaa8aSmrgDate: Fri Oct 29 22:01:39 2010 -0700 7423e9fcaa8aSmrg 7424e9fcaa8aSmrg Require xorg-macros 1.11 now that it is released 7425e9fcaa8aSmrg 7426e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7427e9fcaa8aSmrg 7428e9fcaa8aSmrgcommit 1ec89689fc771f116a6165226b9e076f54254a40 7429e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 7430e9fcaa8aSmrgDate: Fri Oct 22 19:09:07 2010 -0700 7431e9fcaa8aSmrg 7432e9fcaa8aSmrg docs: Disable fop documentation by default 7433e9fcaa8aSmrg 7434e9fcaa8aSmrg fop is used to generate the pdf and ps formats of the documentation. 7435e9fcaa8aSmrg This can significantly slow down the build, especially when creating all 7436e9fcaa8aSmrg the compose key charts. Since few people probably want the full set of 7437e9fcaa8aSmrg doc formats, set the default to 'no'. 7438e9fcaa8aSmrg 7439e9fcaa8aSmrg The default parameter for XORG_WITH_FOP is only available in recent 7440e9fcaa8aSmrg macros. Users generating configure from older macros will just get 7441e9fcaa8aSmrg 'auto' as the default. 7442e9fcaa8aSmrg 7443e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7444e9fcaa8aSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7445e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7446e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7447e9fcaa8aSmrg 7448e9fcaa8aSmrgcommit 03877bda911b72ac60a7144d6eced7d5be4b4d72 7449e9fcaa8aSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 7450e9fcaa8aSmrgDate: Wed Apr 14 13:38:18 2010 +0100 7451e9fcaa8aSmrg 7452e9fcaa8aSmrg Add C.UTF-8 and C.ASCII locale aliases 7453e9fcaa8aSmrg 7454e9fcaa8aSmrg Add C.UTF-8 locale as an alias for en_US.UTF-8 7455e9fcaa8aSmrg Add C.ASCII locale as an alias for C 7456e9fcaa8aSmrg 7457e9fcaa8aSmrg (C.UTF-8 is the default locale for cygwin. It also exists in debian, 7458e9fcaa8aSmrg although I don't think it's intended for use by humans.) 7459e9fcaa8aSmrg 7460e9fcaa8aSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 7461e9fcaa8aSmrg Acked-by: Julien Cristau <jcristau@debian.org> 7462e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 7463e9fcaa8aSmrg 7464e9fcaa8aSmrgcommit 81d1d9a6bdca779a44f931730b866eea75777c00 7465e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 7466e9fcaa8aSmrgDate: Sat Oct 9 16:00:47 2010 -0700 7467e9fcaa8aSmrg 7468e9fcaa8aSmrg docs: Remove directory prerequisites from make rules 7469e9fcaa8aSmrg 7470e9fcaa8aSmrg Make expects prerequisites to be files with valid timestamps, and 7471e9fcaa8aSmrg directories are treated as always being out of date. Thus, any targets 7472e9fcaa8aSmrg depending on directories will always be rebuilt. 7473e9fcaa8aSmrg 7474e9fcaa8aSmrg Instead, the doc rules are changed to always create the target's leading 7475e9fcaa8aSmrg directory. This should prevent the documentation from being rebuilt when 7476e9fcaa8aSmrg "make install" is run. 7477e9fcaa8aSmrg 7478e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 7479e9fcaa8aSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7480e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7481e9fcaa8aSmrg 7482e9fcaa8aSmrgcommit d0cbf388919364fe6b5b9127f36426eb744090a0 7483e9fcaa8aSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7484e9fcaa8aSmrgDate: Sun Sep 26 21:21:16 2010 -0700 7485e9fcaa8aSmrg 7486e9fcaa8aSmrg Add an "X11_" string to header guards to avoid possible collision 7487e9fcaa8aSmrg 7488e9fcaa8aSmrg This addresses a build failure which can result from <X11/Xlocale.h> and 7489e9fcaa8aSmrg <xlocale.h> being included in the same code since they both used the same 7490e9fcaa8aSmrg _XLOCALE_H_ protection. 7491e9fcaa8aSmrg 7492e9fcaa8aSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7493e9fcaa8aSmrg 7494e9fcaa8aSmrgcommit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 7495e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7496e9fcaa8aSmrgDate: Tue Sep 21 19:53:03 2010 -0700 7497e9fcaa8aSmrg 7498e9fcaa8aSmrg libX11 1.3.99.902 (1.4.0 RC2) 7499e9fcaa8aSmrg 7500e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7501e9fcaa8aSmrg 7502e9fcaa8aSmrgcommit 986bb6d1d54368fe91e3ea24f518d43ce6179782 7503e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7504e9fcaa8aSmrgDate: Tue Sep 14 00:10:31 2010 -0700 7505e9fcaa8aSmrg 7506e9fcaa8aSmrg Bug 19379 - Provide docs with overview of all compose key combinations 7507e9fcaa8aSmrg 7508e9fcaa8aSmrg Adds compose-chart.pl to generate DocBook/XML documents listing compose 7509e9fcaa8aSmrg keys, and Makefile rules to generate HTML & PDF output from them if xmlto 7510e9fcaa8aSmrg is present. 7511e9fcaa8aSmrg 7512e9fcaa8aSmrg https://bugs.freedesktop.org/show_bug.cgi?id=19379 7513e9fcaa8aSmrg 7514e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7515e9fcaa8aSmrg Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 7516e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 7517e9fcaa8aSmrg Tested-by: Gaetan Nadon <memsize@videotron.ca> 7518e9fcaa8aSmrg 7519e9fcaa8aSmrgcommit 3eb064071695ebf0f371163ed818a428dfeba8e6 7520e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7521e9fcaa8aSmrgDate: Sat Sep 11 00:49:21 2010 -0700 7522e9fcaa8aSmrg 7523e9fcaa8aSmrg Make locale data build non-recursive / parallelizable 7524e9fcaa8aSmrg 7525e9fcaa8aSmrg On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 7526e9fcaa8aSmrg plus this simplifies the next set of changes. 7527e9fcaa8aSmrg 7528e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7529e9fcaa8aSmrg Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 7530e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 7531e9fcaa8aSmrg Tested-by: Gaetan Nadon <memsize@videotron.ca> 7532e9fcaa8aSmrg 7533e9fcaa8aSmrgcommit a3fc78ac352e5a70a958996ef6aec50f653974d1 7534e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7535e9fcaa8aSmrgDate: Fri Sep 17 17:38:11 2010 -0400 7536e9fcaa8aSmrg 7537e9fcaa8aSmrg config: remove man page suffix from bottom summary 7538e9fcaa8aSmrg 7539e9fcaa8aSmrg The man page suffix is the same for all libraries on a given 7540e9fcaa8aSmrg platform and is not configurable. It should have been removed 7541e9fcaa8aSmrg in commit 09edc6de6. 7542e9fcaa8aSmrg 7543e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7544e9fcaa8aSmrg 7545e9fcaa8aSmrgcommit a52b0068f36c739eb7e426214cd72a8d9bb776ca 7546e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7547e9fcaa8aSmrgDate: Fri Sep 17 17:29:30 2010 -0400 7548e9fcaa8aSmrg 7549e9fcaa8aSmrg config: remove unhelpful comment in .gitignore 7550e9fcaa8aSmrg 7551e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7552e9fcaa8aSmrg 7553e9fcaa8aSmrgcommit 10dd881e7818be9074da4ab3a68577adcdaf71d2 7554e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com> 7555e9fcaa8aSmrgDate: Wed Sep 8 10:44:23 2010 -0400 7556e9fcaa8aSmrg 7557e9fcaa8aSmrg Zero buffer data in BufAlloc() 7558e9fcaa8aSmrg 7559e9fcaa8aSmrg Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 7560e9fcaa8aSmrg compress better with ssh and friends. Note that you'll need to rebuild 7561e9fcaa8aSmrg all your protocol libraries to take advantage of this. 7562e9fcaa8aSmrg 7563e9fcaa8aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 7564e9fcaa8aSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7565e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7566e9fcaa8aSmrg 7567e9fcaa8aSmrgcommit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 7568e9fcaa8aSmrgAuthor: James Cloos <cloos@jhcloos.com> 7569e9fcaa8aSmrgDate: Sun Sep 12 17:00:54 2010 -0400 7570e9fcaa8aSmrg 7571e9fcaa8aSmrg Revert “Dolt-ify" 7572e9fcaa8aSmrg 7573e9fcaa8aSmrg Libtool’s is now sufficiently fast that DOLT is no longer 7574e9fcaa8aSmrg worth the bother, even on those few systems where is works. 7575e9fcaa8aSmrg 7576e9fcaa8aSmrg This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 7577e9fcaa8aSmrg and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 7578e9fcaa8aSmrg 7579e9fcaa8aSmrg It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 7580e9fcaa8aSmrg which moved dolt from configure.ac to m4/dolt.m4. 7581e9fcaa8aSmrg 7582e9fcaa8aSmrg And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 7583e9fcaa8aSmrg 7584e9fcaa8aSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 7585e9fcaa8aSmrg 7586e9fcaa8aSmrgcommit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 7587e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7588e9fcaa8aSmrgDate: Thu Sep 9 19:24:29 2010 -0700 7589e9fcaa8aSmrg 7590e9fcaa8aSmrg XIM spec title page minor formatting cleanup 7591e9fcaa8aSmrg 7592e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7593e9fcaa8aSmrg 7594e9fcaa8aSmrgcommit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 7595e9fcaa8aSmrgAuthor: Jens Petersen <petersen@redhat.com> 7596e9fcaa8aSmrgDate: Mon Aug 23 18:08:10 2010 -0700 7597e9fcaa8aSmrg 7598e9fcaa8aSmrg Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 7599e9fcaa8aSmrg 7600e9fcaa8aSmrg <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 7601e9fcaa8aSmrg 7602e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7603e9fcaa8aSmrg 7604e9fcaa8aSmrgcommit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 7605e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7606e9fcaa8aSmrgDate: Fri Sep 3 23:11:53 2010 -0700 7607e9fcaa8aSmrg 7608e9fcaa8aSmrg Sun's copyrights are now owned by Oracle 7609e9fcaa8aSmrg 7610e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7611e9fcaa8aSmrg 7612e9fcaa8aSmrgcommit 7742bf62b1fa652da4270587e280249945367cae 7613e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7614e9fcaa8aSmrgDate: Fri Sep 3 18:31:44 2010 -0700 7615e9fcaa8aSmrg 7616e9fcaa8aSmrg libX11 1.3.99.901 (1.4.0 RC1) 7617e9fcaa8aSmrg 7618e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7619e9fcaa8aSmrg 7620e9fcaa8aSmrgcommit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 7621e9fcaa8aSmrgAuthor: Jeroen Hoek <mail@jeroenhoek.nl> 7622e9fcaa8aSmrgDate: Sun Aug 29 09:47:06 2010 -0400 7623e9fcaa8aSmrg 7624e9fcaa8aSmrg libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 7625e9fcaa8aSmrg 7626e9fcaa8aSmrg Add LATIN CAPITAL LETTER SHARP S 7627e9fcaa8aSmrg (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 7628e9fcaa8aSmrg 7629e9fcaa8aSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 7630e9fcaa8aSmrg 7631e9fcaa8aSmrgcommit 09edc6de6619a2eabda3b808ebff4165550664f1 7632e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7633e9fcaa8aSmrgDate: Fri Aug 13 14:21:08 2010 -0400 7634e9fcaa8aSmrg 7635e9fcaa8aSmrg config: remove man-pages configuration option 7636e9fcaa8aSmrg 7637e9fcaa8aSmrg This option was added in commit 6e752ea120 with no explanation. 7638e9fcaa8aSmrg The section number is provoded by XORG_MANPAGE_SECTIONS 7639e9fcaa8aSmrg There is no case where libX11 should be different than other libs 7640e9fcaa8aSmrg The option was also used to disable building of the man pages, 7641e9fcaa8aSmrg which build in 14 secs. No indication this is required. 7642e9fcaa8aSmrg 7643e9fcaa8aSmrg If there is a requirement from system builders to disable building 7644e9fcaa8aSmrg of man pages, it could be done consistently for all modules. 7645e9fcaa8aSmrg 7646e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7647e9fcaa8aSmrg 7648e9fcaa8aSmrgcommit f92e754297ec5fdb81068b56a4435026666224fa 7649e9fcaa8aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 7650e9fcaa8aSmrgDate: Sun Aug 15 21:51:38 2010 -0700 7651e9fcaa8aSmrg 7652e9fcaa8aSmrg XOpenDisplay: save the correct display_name value 7653e9fcaa8aSmrg 7654e9fcaa8aSmrg The X Test Suite's XDisplayString test checks the invariant 7655e9fcaa8aSmrg XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 7656e9fcaa8aSmrg invariant by expanding str to the canonical form "host:display.scrn" (unless 7657e9fcaa8aSmrg HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 7658e9fcaa8aSmrg to ":1.0": 7659e9fcaa8aSmrg 7660e9fcaa8aSmrg 400|26 1 1 19:26:41|IC Start 7661e9fcaa8aSmrg 200|26 1 19:26:41|TP Start 7662e9fcaa8aSmrg 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 7663e9fcaa8aSmrg 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 7664e9fcaa8aSmrg 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 7665e9fcaa8aSmrg 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 7666e9fcaa8aSmrg 520|26 1 00032625 1 5|value used as the display argument. 7667e9fcaa8aSmrg 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 7668e9fcaa8aSmrg 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 7669e9fcaa8aSmrg 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 7670e9fcaa8aSmrg 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 7671e9fcaa8aSmrg 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 7672e9fcaa8aSmrg 220|26 1 1 19:26:41|FAIL 7673e9fcaa8aSmrg 410|26 1 1 19:26:41|IC End 7674e9fcaa8aSmrg 7675e9fcaa8aSmrg Fix this by deleting all of the code to construct the canonical path and just 7676e9fcaa8aSmrg stashing a copy of the original display_name in dpy->display_name. 7677e9fcaa8aSmrg 7678e9fcaa8aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 7679e9fcaa8aSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7680e9fcaa8aSmrg 7681e9fcaa8aSmrgcommit 1dc401f678469d0235e6d0b28eb4356f03327c9f 7682e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7683e9fcaa8aSmrgDate: Fri Aug 13 13:06:51 2010 -0400 7684e9fcaa8aSmrg 7685e9fcaa8aSmrg man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 7686e9fcaa8aSmrg 7687e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7688e9fcaa8aSmrg 7689e9fcaa8aSmrgcommit cbe9eebd11e5ebab4280d25b57b4cd4001241619 7690e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7691e9fcaa8aSmrgDate: Fri Aug 13 11:42:29 2010 -0400 7692e9fcaa8aSmrg 7693e9fcaa8aSmrg man: simplify building of shadow man pages 7694e9fcaa8aSmrg 7695e9fcaa8aSmrg Store the shadow files in git as any other man page. 7696e9fcaa8aSmrg Move man pages to man dir and use the common makefile 7697e9fcaa8aSmrg 7698e9fcaa8aSmrg Local fix in CVS for bug 5628 is not required 7699e9fcaa8aSmrg as the problem has been fixed in 7700e9fcaa8aSmrg util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 7701e9fcaa8aSmrg 7702e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7703e9fcaa8aSmrg 7704e9fcaa8aSmrgcommit bfd899c9af2318ecbe84cb69007dba4223fdb502 7705e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7706e9fcaa8aSmrgDate: Mon Aug 9 09:39:26 2010 -0400 7707e9fcaa8aSmrg 7708e9fcaa8aSmrg config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 7709e9fcaa8aSmrg 7710e9fcaa8aSmrg in commit 76e07ef6911734eac418e399b114f1b544512736. 7711e9fcaa8aSmrg 7712e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7713e9fcaa8aSmrg 7714e9fcaa8aSmrgcommit 76e07ef6911734eac418e399b114f1b544512736 7715e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7716e9fcaa8aSmrgDate: Fri Aug 6 14:01:51 2010 -0400 7717e9fcaa8aSmrg 7718e9fcaa8aSmrg man: using the C preprocessor is not required for man pages. 7719e9fcaa8aSmrg 7720e9fcaa8aSmrg There were no special symbols needing cpp. 7721e9fcaa8aSmrg Everything can be handled by the default MAN_SUBSTS in util-macros. 7722e9fcaa8aSmrg 7723e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7724e9fcaa8aSmrg 7725e9fcaa8aSmrgcommit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 7726e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 7727e9fcaa8aSmrgDate: Fri Aug 6 15:51:56 2010 -0700 7728e9fcaa8aSmrg 7729e9fcaa8aSmrg Fix use-after-free in _XReply on X errors. 7730e9fcaa8aSmrg 7731e9fcaa8aSmrg _XReply would always call dequeue_pending_request on errors. When it 7732e9fcaa8aSmrg got an error for the current request, it would call dequeue, then break 7733e9fcaa8aSmrg out of the loop; then, if it had an error in the event queue, it would 7734e9fcaa8aSmrg compare it with the sequence number of the now-freed pending request. 7735e9fcaa8aSmrg _XReply already stored that sequence number in dpy->last_request_read 7736e9fcaa8aSmrg before freeing it, so look at that instead. 7737e9fcaa8aSmrg 7738e9fcaa8aSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 7739e9fcaa8aSmrg 7740e9fcaa8aSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 7741e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 7742e9fcaa8aSmrg 7743e9fcaa8aSmrgcommit 9fa146b30046396b70d64986e50d6617b3a8ac48 7744e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7745e9fcaa8aSmrgDate: Sat Jul 31 16:15:35 2010 -0400 7746e9fcaa8aSmrg 7747e9fcaa8aSmrg specs: xsl stylesheet requires abs path to images 7748e9fcaa8aSmrg 7749e9fcaa8aSmrg Using abs_builddir requires automake 1.10 or later. 7750e9fcaa8aSmrg 7751e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7752e9fcaa8aSmrg 7753e9fcaa8aSmrgcommit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 7754e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7755e9fcaa8aSmrgDate: Sun Aug 1 14:13:07 2010 -0400 7756e9fcaa8aSmrg 7757e9fcaa8aSmrg specs: update .gitignore now that all groff generated files are gone 7758e9fcaa8aSmrg 7759e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7760e9fcaa8aSmrg 7761e9fcaa8aSmrgcommit f70527f05677aaf6a493ba42d2d95f738aaebafa 7762e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com> 7763e9fcaa8aSmrgDate: Thu Jul 29 11:11:21 2010 -0400 7764e9fcaa8aSmrg 7765e9fcaa8aSmrg nls: Switch one of the interrobang sequences to gnaborretni 7766e9fcaa8aSmrg 7767e9fcaa8aSmrg Since gnaborretni is primarily used in LTR locales, the ? part of the 7768e9fcaa8aSmrg sequence reflects the position of the bulge in the ?. When scanning an 7769e9fcaa8aSmrg inverted interrobang left-to-right, you see the bulge first, so the 7770e9fcaa8aSmrg compose sequence ?! is used; upright interrobang shows the bulge 7771e9fcaa8aSmrg last, so it's !?. 7772e9fcaa8aSmrg 7773e9fcaa8aSmrg This is a change in behaviour, but I was unable to come up with anything 7774e9fcaa8aSmrg better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 7775e9fcaa8aSmrg would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 7776e9fcaa8aSmrg Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 7777e9fcaa8aSmrg ~!? and ~?! were considered but are arguably less intuitive. 7778e9fcaa8aSmrg 7779e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 7780e9fcaa8aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 7781e9fcaa8aSmrg 7782e9fcaa8aSmrgcommit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 7783e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7784e9fcaa8aSmrgDate: Wed Jul 28 10:27:39 2010 -0400 7785e9fcaa8aSmrg 7786e9fcaa8aSmrg specs: move indexterm from glossdef to glossterm 7787e9fcaa8aSmrg 7788e9fcaa8aSmrg This move fixes a Java class cast exception in the glossary. 7789e9fcaa8aSmrg The problem was introduced in commit 7790e9fcaa8aSmrg 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 7791e9fcaa8aSmrg 7792e9fcaa8aSmrg It may not happen on all versions of the doc toolchain. 7793e9fcaa8aSmrg There is no reason why indexterm cannot appear in glossdef, 7794e9fcaa8aSmrg this is a workaround to an implementation problem found by 7795e9fcaa8aSmrg trial and error. 7796e9fcaa8aSmrg 7797e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7798e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7799e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7800e9fcaa8aSmrg 7801e9fcaa8aSmrgcommit 87a108f3aa565aa803dacb3a53b811f45025b609 7802e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org> 7803e9fcaa8aSmrgDate: Sat Jul 24 14:46:57 2010 -0400 7804e9fcaa8aSmrg 7805e9fcaa8aSmrg specs: replace troff source with docbook-xml source 7806e9fcaa8aSmrg 7807e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7808e9fcaa8aSmrg 7809e9fcaa8aSmrgcommit 8e603413586ff42b1351688f6f99318cbe243bca 7810e9fcaa8aSmrgAuthor: Julien Cristau <jcristau@debian.org> 7811e9fcaa8aSmrgDate: Sat Jul 24 22:13:07 2010 +0200 7812e9fcaa8aSmrg 7813e9fcaa8aSmrg Compose.man: default user compose file is .XCompose, not .Xcompose 7814e9fcaa8aSmrg 7815e9fcaa8aSmrg The path was correct in the DESCRIPTION section, but not in FILES. 7816e9fcaa8aSmrg 7817e9fcaa8aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 7818e9fcaa8aSmrg 7819e9fcaa8aSmrgcommit 554da76ece85d0fc0cada45a86860e69c2107e9a 7820e9fcaa8aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 7821e9fcaa8aSmrgDate: Tue Jul 20 12:34:48 2010 +0100 7822e9fcaa8aSmrg 7823e9fcaa8aSmrg NLS: Add \o/ Compose sequence 7824e9fcaa8aSmrg 7825e9fcaa8aSmrg Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 7826e9fcaa8aSmrg to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 7827e9fcaa8aSmrg 7828e9fcaa8aSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 7829e9fcaa8aSmrg 7830e9fcaa8aSmrgcommit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 783147f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 7832e9fcaa8aSmrgDate: Fri Jul 9 18:13:13 2010 +0100 7833e9fcaa8aSmrg 7834e9fcaa8aSmrg XStringToKeysym: Cope with 0x1234cafe-style input 7835e9fcaa8aSmrg 7836e9fcaa8aSmrg If we get input in the style of 0xdeadbeef, just return that exact 7837e9fcaa8aSmrg keysym. Introduces a dependency on strtoul, which I'm told is OK on all 7838e9fcaa8aSmrg the systems we care about. 7839e9fcaa8aSmrg 7840e9fcaa8aSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 7841e9fcaa8aSmrg 7842e9fcaa8aSmrgcommit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 7843e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7844e9fcaa8aSmrgDate: Mon Jul 19 17:58:27 2010 -0700 7845e9fcaa8aSmrg 7846e9fcaa8aSmrg specs/libX11: Fix column count of Gravity Attributes table 7847e9fcaa8aSmrg 7848e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7849e9fcaa8aSmrg 7850e9fcaa8aSmrgcommit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 7851e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7852e9fcaa8aSmrgDate: Mon Jul 19 14:43:38 2010 -0700 7853e9fcaa8aSmrg 7854e9fcaa8aSmrg specs/libX11: Convert \- to − and \^ to either   or removed 7855e9fcaa8aSmrg 7856e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7857e9fcaa8aSmrg 7858e9fcaa8aSmrgcommit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 7859e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7860e9fcaa8aSmrgDate: Mon Jul 19 11:28:50 2010 -0700 786147f86ac1Smrg 7862e9fcaa8aSmrg specs/libX11: Manual cleanup pass over Ch. 1 786347f86ac1Smrg 7864e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 786547f86ac1Smrg 7866e9fcaa8aSmrgcommit 21567992958a6f12b3d0186f2f27a5b2a41b8448 7867e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7868e9fcaa8aSmrgDate: Mon Jul 19 14:51:10 2010 -0700 786947f86ac1Smrg 7870e9fcaa8aSmrg specs/libX11: make sure all files have DOCTYPEs so standard entities work 787147f86ac1Smrg 7872e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7873e9fcaa8aSmrg 7874e9fcaa8aSmrgcommit c944a8521f5760b485192658b921145159cdb439 7875e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7876e9fcaa8aSmrgDate: Sun Jul 18 13:12:20 2010 -0700 7877e9fcaa8aSmrg 7878e9fcaa8aSmrg specs/libX11: Fix up list of header files in Ch.1 & add index entries 7879e9fcaa8aSmrg 7880e9fcaa8aSmrg Combination of manual editing and automatic substitution via: 7881e9fcaa8aSmrg 7882e9fcaa8aSmrg 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 788347f86ac1Smrg 788447f86ac1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 788547f86ac1Smrg 7886e9fcaa8aSmrgcommit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 7887e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7888e9fcaa8aSmrgDate: Sun Jul 18 12:47:27 2010 -0700 788947f86ac1Smrg 7890e9fcaa8aSmrg specs/libX11: Add indexterms for headerfiles that .hN used to provide 789147f86ac1Smrg 7892e9fcaa8aSmrg Automatic substitution performed via: 7893e9fcaa8aSmrg 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 789447f86ac1Smrg 7895e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7896e9fcaa8aSmrg 7897e9fcaa8aSmrgcommit d0b0d215cb85da48b323b1392149ce181e7ef5ec 7898e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7899e9fcaa8aSmrgDate: Fri Jul 16 21:15:13 2010 -0700 7900e9fcaa8aSmrg 7901e9fcaa8aSmrg specs/libX11: convert multicolumn lists from tables to <simplelist> 7902e9fcaa8aSmrg 7903e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7904e9fcaa8aSmrg 7905e9fcaa8aSmrgcommit e679f80c6210c0aefe3669f8f536353619097a4b 7906e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7907e9fcaa8aSmrgDate: Fri Jul 16 20:51:52 2010 -0700 7908e9fcaa8aSmrg 7909e9fcaa8aSmrg specs/libX11: Tag WM_* as <property> 7910e9fcaa8aSmrg 7911e9fcaa8aSmrg Mass substitution done by: 7912e9fcaa8aSmrg perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 7913e9fcaa8aSmrg 7914e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7915e9fcaa8aSmrg 7916e9fcaa8aSmrgcommit c7b7e59b3b22221d0be6286c540001c360308f69 7917e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7918e9fcaa8aSmrgDate: Fri Jul 16 20:41:33 2010 -0700 7919e9fcaa8aSmrg 7920e9fcaa8aSmrg specs/libX11: Convert simpler eqn markup to docbook tags 7921e9fcaa8aSmrg 7922e9fcaa8aSmrg Mostly "sup" to <superscript> 7923e9fcaa8aSmrg 7924e9fcaa8aSmrg There's several more complicated equations that will probably need 7925e9fcaa8aSmrg MathML or SVG to solve. 7926e9fcaa8aSmrg 7927e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7928e9fcaa8aSmrg 7929e9fcaa8aSmrgcommit 897486c54c6a54771867d667441aaf9a4b9c35ca 7930e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7931e9fcaa8aSmrgDate: Fri Jul 16 00:50:39 2010 -0700 7932e9fcaa8aSmrg 7933e9fcaa8aSmrg specs/libX11: App. D: convert literallayouts to synopsis or programlisting 7934e9fcaa8aSmrg 7935e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7936e9fcaa8aSmrg 7937e9fcaa8aSmrgcommit 692906c3b3d8aa8b8927fbc230c3050d633785d2 7938e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7939e9fcaa8aSmrgDate: Fri Jul 16 00:36:43 2010 -0700 7940e9fcaa8aSmrg 7941e9fcaa8aSmrg specs/libX11: Fix section headers in Appendix D 7942e9fcaa8aSmrg 7943e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7944e9fcaa8aSmrg 7945e9fcaa8aSmrgcommit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 7946e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7947e9fcaa8aSmrgDate: Wed Jul 14 07:22:26 2010 -0700 7948e9fcaa8aSmrg 7949e9fcaa8aSmrg specs/libX11: Explicitly tag document as English 7950e9fcaa8aSmrg 7951e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7952e9fcaa8aSmrg 7953e9fcaa8aSmrgcommit 6783544706ff370e900c137f951e90230586d6dc 7954e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7955e9fcaa8aSmrgDate: Mon Jul 12 22:03:18 2010 -0700 7956e9fcaa8aSmrg 7957e9fcaa8aSmrg specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 7958e9fcaa8aSmrg 7959e9fcaa8aSmrg Fixes display of a bunch of function prototypes and sample code 7960e9fcaa8aSmrg 7961e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7962e9fcaa8aSmrg 7963e9fcaa8aSmrgcommit 8834cd9285e6aaf437aee56292c508d99a090fa9 7964e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7965e9fcaa8aSmrgDate: Mon Jul 12 18:37:16 2010 -0700 7966e9fcaa8aSmrg 7967e9fcaa8aSmrg xmlrules.in: Add chunked-html rule to manually generate smaller files 7968e9fcaa8aSmrg 7969e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7970e9fcaa8aSmrg 7971e9fcaa8aSmrgcommit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 7972e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7973e9fcaa8aSmrgDate: Mon Jul 12 18:35:59 2010 -0700 7974e9fcaa8aSmrg 7975e9fcaa8aSmrg specs/libX11: Convert Appendix A tables to real tables 7976e9fcaa8aSmrg 7977e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7978e9fcaa8aSmrg 7979e9fcaa8aSmrgcommit 705a1257a8a47f4a1f94979aee09a837500ede7d 7980e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7981e9fcaa8aSmrgDate: Mon Jul 12 18:38:09 2010 -0700 7982e9fcaa8aSmrg 7983e9fcaa8aSmrg specs/libX11: Fix out-of-place text in Chapter 1 7984e9fcaa8aSmrg 7985e9fcaa8aSmrg DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 7986e9fcaa8aSmrg 7987e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7988e9fcaa8aSmrg 7989e9fcaa8aSmrgcommit a151346a2b7810e988f1de4b1e00b37672dc587a 7990e9fcaa8aSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7991e9fcaa8aSmrgDate: Mon Jul 12 16:52:12 2010 -0700 7992e9fcaa8aSmrg 7993e9fcaa8aSmrg launchd: Explicitly search /sbin 7994e9fcaa8aSmrg 7995e9fcaa8aSmrg Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 7996e9fcaa8aSmrg https://bugs.freedesktop.org/show_bug.cgi?id=29028 7997e9fcaa8aSmrg 7998e9fcaa8aSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7999e9fcaa8aSmrg 8000e9fcaa8aSmrgcommit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 8001e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8002e9fcaa8aSmrgDate: Mon Jul 12 13:38:04 2010 -0700 8003e9fcaa8aSmrg 8004e9fcaa8aSmrg Replace untranslated .hN macros with <filename> tags to show header names 8005e9fcaa8aSmrg 8006e9fcaa8aSmrg Translation performed by: 8007e9fcaa8aSmrg perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 800838ae11fcSmrg {<<filename class="headerfile">$1</filename>>$2}' *.xml 8009e9fcaa8aSmrg 8010e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8011e9fcaa8aSmrg 8012e9fcaa8aSmrgcommit 75480440946603b8efdbbf78b88d59c641b6d2c8 8013e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8014e9fcaa8aSmrgDate: Sat Jul 10 00:06:13 2010 -0700 8015e9fcaa8aSmrg 8016e9fcaa8aSmrg specs/libX11: Mass substitution of <function> tags with more specific tags 8017e9fcaa8aSmrg 8018e9fcaa8aSmrg Matched names from X headers & "nm libX11.so" output to names in spec to 8019e9fcaa8aSmrg map to more specific tags. Tags used: 8020e9fcaa8aSmrg 8021e9fcaa8aSmrg <code> code fragments 8022e9fcaa8aSmrg <constant> enum values 8023e9fcaa8aSmrg <errorname> X protocol errors 8024e9fcaa8aSmrg <filename> filenames 8025e9fcaa8aSmrg <function> functions 8026e9fcaa8aSmrg <function> function-like macros (#define foo(a,b)...) 8027e9fcaa8aSmrg <returnvalue> function return codes 8028e9fcaa8aSmrg <structfield> struct members 8029e9fcaa8aSmrg <structname> struct names (even when typedefed) 8030e9fcaa8aSmrg <symbol> simple value #defines (#define NAME value) 8031e9fcaa8aSmrg <systemitem> X protocol requests 8032e9fcaa8aSmrg <systemitem class="event"> X protocol events 8033e9fcaa8aSmrg <type> non-struct typedefs 8034e9fcaa8aSmrg <varname> global variables 8035e9fcaa8aSmrg 8036e9fcaa8aSmrg (Also fixed a couple typos detected by failures of this matching, such as 8037e9fcaa8aSmrg XESSetPrintErrorValues -> XESetPrintErrorValues.) 8038e9fcaa8aSmrg 8039e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8040e9fcaa8aSmrg 8041e9fcaa8aSmrgcommit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 8042e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8043e9fcaa8aSmrgDate: Fri Jul 9 00:37:23 2010 -0700 8044e9fcaa8aSmrg 8045e9fcaa8aSmrg specs/libX11: Glossary cross-reference links 8046e9fcaa8aSmrg 8047e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8048e9fcaa8aSmrg 8049e9fcaa8aSmrgcommit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 8050e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8051e9fcaa8aSmrgDate: Thu Jul 8 21:19:08 2010 -0700 8052e9fcaa8aSmrg 8053e9fcaa8aSmrg specs/libX11: Make whitespace around <function> tags more uniform 8054e9fcaa8aSmrg 8055e9fcaa8aSmrg Simplifies regular expressions for further mass substitutions. 8056e9fcaa8aSmrg 8057e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8058e9fcaa8aSmrg 8059e9fcaa8aSmrgcommit 730ce6b8aca77b77385aa894d234cbde5fcbce37 8060e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 8061e9fcaa8aSmrgDate: Fri Jul 9 20:10:37 2010 -0400 8062e9fcaa8aSmrg 8063e9fcaa8aSmrg specs: use pattern rules rather than suffix rules 8064e9fcaa8aSmrg 8065e9fcaa8aSmrg This allows target to rebuild when included .xml files are changed. 8066e9fcaa8aSmrg 8067e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8068e9fcaa8aSmrg 8069e9fcaa8aSmrgcommit 5527b4bc8ce7de60123eb28789ddef54aa48a378 8070e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8071e9fcaa8aSmrgDate: Thu Jul 8 20:56:41 2010 -0700 8072e9fcaa8aSmrg 8073e9fcaa8aSmrg specs/libX11: Move punctuation outside of the <function> tags 8074e9fcaa8aSmrg 8075e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8076e9fcaa8aSmrg 8077e9fcaa8aSmrgcommit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 8078e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8079e9fcaa8aSmrgDate: Thu Jul 8 20:42:50 2010 -0700 8080e9fcaa8aSmrg 8081e9fcaa8aSmrg specs/libX11: Mark a number of <acronym>s 8082e9fcaa8aSmrg 8083e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8084e9fcaa8aSmrg 8085e9fcaa8aSmrgcommit d5bbb12f55ac9f691eab6242cedc53207275131b 8086e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8087e9fcaa8aSmrgDate: Thu Jul 8 19:31:36 2010 -0700 808847f86ac1Smrg 8089e9fcaa8aSmrg specs/libX11: Glossary terms should not be marked as functions 8090e9fcaa8aSmrg 8091e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8092e9fcaa8aSmrg 8093e9fcaa8aSmrgcommit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 8094e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8095e9fcaa8aSmrgDate: Thu Jul 8 19:28:18 2010 -0700 8096e9fcaa8aSmrg 8097e9fcaa8aSmrg specs/libX11: Clean up author list & acknowledgements a little 8098e9fcaa8aSmrg 8099e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8100e9fcaa8aSmrg 8101e9fcaa8aSmrgcommit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 8102e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8103e9fcaa8aSmrgDate: Thu Jul 8 17:30:34 2010 -0700 8104e9fcaa8aSmrg 8105e9fcaa8aSmrg specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 8106e9fcaa8aSmrg 8107e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8108e9fcaa8aSmrg 8109e9fcaa8aSmrgcommit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 8110e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 8111e9fcaa8aSmrgDate: Thu Jul 8 17:29:21 2010 -0400 8112e9fcaa8aSmrg 8113e9fcaa8aSmrg specs: specdir is required to install xml files 8114e9fcaa8aSmrg 8115e9fcaa8aSmrg The source is installed as well as the targets. 8116e9fcaa8aSmrg This failed when configuring with --without-xmlto 8117e9fcaa8aSmrg 8118e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8119e9fcaa8aSmrg 8120e9fcaa8aSmrgcommit e14273f44c1501ab51db4adcb83b18a1073787d8 8121e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org> 8122e9fcaa8aSmrgDate: Thu Jul 8 14:42:32 2010 -0400 8123e9fcaa8aSmrg 8124e9fcaa8aSmrg specs: replace troff source with docbook-xml source 8125e9fcaa8aSmrg 8126e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8127e9fcaa8aSmrg 8128e9fcaa8aSmrgcommit bea0873caf50e9ed1b89255775d9ab912cbecd45 812947f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 813047f86ac1SmrgDate: Thu Jul 8 16:49:51 2010 +0100 813147f86ac1Smrg 813247f86ac1Smrg XStringToKeysym: Check strdup() return value 813347f86ac1Smrg 813447f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 813547f86ac1Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 813647f86ac1Smrg 8137e9fcaa8aSmrgcommit cffa71b4a5743e2b6675b9a917d15aef4177d513 8138e9fcaa8aSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 8139e9fcaa8aSmrgDate: Mon Jun 28 15:08:05 2010 +0300 8140e9fcaa8aSmrg 8141e9fcaa8aSmrg Fix two typos in SFS 5966 Annex 3 8142e9fcaa8aSmrg 8143e9fcaa8aSmrg X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 8144e9fcaa8aSmrg 8145e9fcaa8aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 8146e9fcaa8aSmrg 8147e9fcaa8aSmrgcommit eb023c0f8919e809b8b609e1467b14d20a290aa7 814847f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 814947f86ac1SmrgDate: Tue Jun 15 18:49:43 2010 +0100 815047f86ac1Smrg 815147f86ac1Smrg Delete now-redundant XKeysymDB 815247f86ac1Smrg 815347f86ac1Smrg Since XStringToKeysym now supports all the vendor keysyms, just delete 815447f86ac1Smrg our XKeysymDB, which was incomplete at best, misleading at worst, and 815547f86ac1Smrg always an annoyance. 815647f86ac1Smrg 815747f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 815847f86ac1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 815947f86ac1Smrg 8160e9fcaa8aSmrgcommit 00175397480b76d32bf82b0c7c94c91a2a95954e 816147f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 816247f86ac1SmrgDate: Tue Jun 15 18:48:48 2010 +0100 816347f86ac1Smrg 816447f86ac1Smrg makekeys: Scan vendor keysyms as well as core 816547f86ac1Smrg 816647f86ac1Smrg Since we can't really live without vendor keysyms, scan them all in to 816747f86ac1Smrg generate ks_tables.h, rather than only doing the core ones, and leaving 816847f86ac1Smrg the vendor syms to be manually synchronised with XKeysymDB. 816947f86ac1Smrg 817047f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 817147f86ac1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 817247f86ac1Smrg 8173e9fcaa8aSmrgcommit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 817447f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 817547f86ac1SmrgDate: Tue Jun 15 18:47:37 2010 +0100 817647f86ac1Smrg 817747f86ac1Smrg XStringToKeysym: Special case for XF86 keysyms 817847f86ac1Smrg 817947f86ac1Smrg Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 818047f86ac1Smrg XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 818147f86ac1Smrg found our XF86_foo, try it again as XF86foo. 818247f86ac1Smrg 818347f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 818447f86ac1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 818547f86ac1Smrg 8186e9fcaa8aSmrgcommit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 8187e9fcaa8aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 8188e9fcaa8aSmrgDate: Tue Jun 15 17:20:48 2010 +0100 818961234c2cSmrg 8190e9fcaa8aSmrg configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 819161234c2cSmrg 8192e9fcaa8aSmrg AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 8193e9fcaa8aSmrg namespace, so start using the more proper AX_DEFINE_DIR instead. 8194e9fcaa8aSmrg 8195e9fcaa8aSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 8196e9fcaa8aSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8197e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 819861234c2cSmrg 8199e9fcaa8aSmrgcommit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 8200e9fcaa8aSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br> 8201e9fcaa8aSmrgDate: Thu Jul 1 06:50:47 2010 -0300 820261234c2cSmrg 8203e9fcaa8aSmrg Purge macros NEED_EVENTS and NEED_REPLIES 820461234c2cSmrg 8205e9fcaa8aSmrg Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 8206e9fcaa8aSmrg Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 8207e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 820861234c2cSmrg 8209e9fcaa8aSmrgcommit 0b724231be17f19538ee115a03b82b221b1f83c0 8210e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com> 8211e9fcaa8aSmrgDate: Wed Jun 30 16:30:49 2010 -0400 821261234c2cSmrg 8213e9fcaa8aSmrg Use -version-number consistently instead of -version-info 821461234c2cSmrg 8215e9fcaa8aSmrg The latter is libtool braindamage. 821661234c2cSmrg 8217e9fcaa8aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 821861234c2cSmrg 8219e9fcaa8aSmrgcommit 241a990afcf9c967c587ad6fd245df21b68b1ad9 822061234c2cSmrgAuthor: Juliusz Chroboczek <jch@pps.jussieu.fr> 822161234c2cSmrgDate: Tue Jun 29 18:32:42 2010 +0200 822261234c2cSmrg 822361234c2cSmrg Make Compose-comma map to ogonek for I and U in UTF-8 locales. 822461234c2cSmrg 822561234c2cSmrg With the preceding patch, it makes the UTF-8 compose map consistent with 822661234c2cSmrg the ISO 8859-4 and -13 maps. 822761234c2cSmrg 8228e9fcaa8aSmrgcommit af55e582f485a668c2bf43129be972bc65f03c60 822961234c2cSmrgAuthor: Juliusz Chroboczek <jch@pps.jussieu.fr> 823061234c2cSmrgDate: Tue Jun 29 18:20:18 2010 +0200 823161234c2cSmrg 823261234c2cSmrg Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 823361234c2cSmrg 823461234c2cSmrg This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 823561234c2cSmrg as far as Polish is concerned. We only sacrifice one pair of characters, 823661234c2cSmrg e-cedilla, which is not used in any language. 823761234c2cSmrg 8238e9fcaa8aSmrgcommit d6ba13009fc9ef876a104b907ffef73c6e405d4b 8239e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8240e9fcaa8aSmrgDate: Thu Jun 24 13:13:11 2010 -0700 8241e9fcaa8aSmrg 8242e9fcaa8aSmrg Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 8243e9fcaa8aSmrg 8244e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8245e9fcaa8aSmrg 8246e9fcaa8aSmrgcommit 978c7238789037de917b9423ea9adfb006da1260 824761234c2cSmrgAuthor: Jamey Sharp <jamey@minilop.net> 8248e9fcaa8aSmrgDate: Sat Jun 19 10:44:55 2010 -0700 824961234c2cSmrg 8250e9fcaa8aSmrg poll_for_response: Really handle xcb_poll_for_reply getting a reply. 825161234c2cSmrg 8252e9fcaa8aSmrg Don't lose async replies. That's bad. 825361234c2cSmrg 8254e9fcaa8aSmrg `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 8255e9fcaa8aSmrg _XReply path worked; that path waited for replies, rather than polling. 8256e9fcaa8aSmrg 8257e9fcaa8aSmrg However, XRecordProcessReplies, which does nothing but call XPending, 8258e9fcaa8aSmrg relied on the event-handling path to process async replies, and that was 8259e9fcaa8aSmrg busted. 8260e9fcaa8aSmrg 8261e9fcaa8aSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 826261234c2cSmrg 826361234c2cSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 826461234c2cSmrg 8265e9fcaa8aSmrgcommit ef67486c5a8aada24fd95b2991a3c4979f53805f 8266e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 8267e9fcaa8aSmrgDate: Mon Jun 21 13:34:15 2010 -0700 826861234c2cSmrg 8269e9fcaa8aSmrg Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 827061234c2cSmrg 8271e9fcaa8aSmrg This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 8272e9fcaa8aSmrg a matter of fact, if poll_for_response returns NULL when we know 8273e9fcaa8aSmrg dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 8274e9fcaa8aSmrg request. 8275e9fcaa8aSmrg 8276e9fcaa8aSmrgcommit 301ec5b41e9d253a446db656e1789ac7345dc433 8277e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 8278e9fcaa8aSmrgDate: Mon Jun 21 13:24:24 2010 -0700 8279e9fcaa8aSmrg 8280e9fcaa8aSmrg Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 828161234c2cSmrg 8282e9fcaa8aSmrg This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 8283e9fcaa8aSmrg need to check poll_for_event every time through the loop in 8284e9fcaa8aSmrg poll_for_response, so the commit did too much. 828561234c2cSmrg 8286e9fcaa8aSmrgcommit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 8287e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 8288e9fcaa8aSmrgDate: Mon Jun 21 10:54:02 2010 -0700 828961234c2cSmrg 8290e9fcaa8aSmrg xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 829161234c2cSmrg 8292e9fcaa8aSmrg Fixes the second bug reported in: 8293e9fcaa8aSmrg https://bugs.freedesktop.org/show_bug.cgi?id=28595 829461234c2cSmrg 8295e9fcaa8aSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 8296e9fcaa8aSmrg 8297e9fcaa8aSmrgcommit c115095d7f2bc4f5a4fb26380e3698fefdad7611 8298e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 8299e9fcaa8aSmrgDate: Sat Jun 19 10:44:55 2010 -0700 8300e9fcaa8aSmrg 8301e9fcaa8aSmrg poll_for_response: Really handle xcb_poll_for_reply getting a reply. 8302e9fcaa8aSmrg 8303e9fcaa8aSmrg Don't lose async replies. That's bad. 8304e9fcaa8aSmrg 8305e9fcaa8aSmrg `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 8306e9fcaa8aSmrg _XReply path worked; that path waited for replies, rather than polling. 8307e9fcaa8aSmrg 8308e9fcaa8aSmrg However, XRecordProcessReplies, which does nothing but call XPending, 8309e9fcaa8aSmrg relied on the event-handling path to process async replies, and that was 8310e9fcaa8aSmrg busted. 8311e9fcaa8aSmrg 8312e9fcaa8aSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 8313e9fcaa8aSmrg 8314e9fcaa8aSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 8315e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 8316e9fcaa8aSmrg 8317e9fcaa8aSmrgcommit a25ae169862ab9b76daf259613b37c6b07bc2ef2 8318e9fcaa8aSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 8319e9fcaa8aSmrgDate: Sun Jun 13 19:23:05 2010 +0300 832061234c2cSmrg 8321e9fcaa8aSmrg Implement SFS 5966 Annex 4 for Finland 8322e9fcaa8aSmrg 8323e9fcaa8aSmrg This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 8324e9fcaa8aSmrg Annex 3 (which were actually copied verbatim from the standard text). 8325e9fcaa8aSmrg 8326e9fcaa8aSmrg The implementation of the standard is now complete. 8327e9fcaa8aSmrg 8328e9fcaa8aSmrg X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 8329e9fcaa8aSmrg 8330e9fcaa8aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 8331e9fcaa8aSmrg 8332e9fcaa8aSmrgcommit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 833361234c2cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8334e9fcaa8aSmrgDate: Fri Jun 4 13:20:17 2010 -0700 833561234c2cSmrg 8336e9fcaa8aSmrg LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 8337e9fcaa8aSmrg 8338e9fcaa8aSmrg One of the malloc failure checks had a goto to the wrong spot in the 8339e9fcaa8aSmrg list of cleanup free() calls to unwind at the end, and was freeing 8340e9fcaa8aSmrg bits that hadn't been initialized/allocated yet, since they would be 8341e9fcaa8aSmrg stored in the struct that just failed to be allocated. 8342e9fcaa8aSmrg 8343e9fcaa8aSmrg Error: Null pointer dereference (CWE 476) 8344e9fcaa8aSmrg Read from pointer that could be constant 'NULL' 8345e9fcaa8aSmrg at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 8346e9fcaa8aSmrg Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 8347e9fcaa8aSmrg 8348e9fcaa8aSmrg [ This bug was found by the Parfait bug checking tool. 8349e9fcaa8aSmrg For more information see http://research.sun.com/projects/parfait ] 835061234c2cSmrg 835161234c2cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 835261234c2cSmrg 8353e9fcaa8aSmrgcommit aebbf3623888119b43893b253195d93b613a6e1e 8354e9fcaa8aSmrgAuthor: Josh Triplett <josh@joshtriplett.org> 8355e9fcaa8aSmrgDate: Sun Jun 6 19:11:55 2010 -0700 8356e9fcaa8aSmrg 8357e9fcaa8aSmrg Mark the rest of Xprivate.h as _X_HIDDEN. 8358e9fcaa8aSmrg 8359e9fcaa8aSmrg None of the functions in Xprivate.h should have any callers outside of 8360e9fcaa8aSmrg Xlib, by definition. 8361e9fcaa8aSmrg 8362e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 8363e9fcaa8aSmrg Suggested-by: Jamey Sharp <jamey@minilop.net> 8364e9fcaa8aSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 8365e9fcaa8aSmrg 8366e9fcaa8aSmrgcommit abcd1b67c8135ad652833e5a60d818837c39fce1 836761234c2cSmrgAuthor: Julien Cristau <jcristau@debian.org> 836861234c2cSmrgDate: Fri Jun 4 13:57:45 2010 +0200 836961234c2cSmrg 837061234c2cSmrg Hide _XSeqSyncFunction 837161234c2cSmrg 837261234c2cSmrg Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 837361234c2cSmrg non-static, but we don't need to export it. 837461234c2cSmrg 837561234c2cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 837661234c2cSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 837761234c2cSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 8378e9fcaa8aSmrg 8379e9fcaa8aSmrgcommit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 8380e9fcaa8aSmrgAuthor: Josh Triplett <josh@joshtriplett.org> 8381e9fcaa8aSmrgDate: Thu Jun 3 09:41:01 2010 -0700 8382e9fcaa8aSmrg 8383e9fcaa8aSmrg Remove support for building without XCB 8384e9fcaa8aSmrg 8385e9fcaa8aSmrg And there was much rejoicing. 8386e9fcaa8aSmrg 8387e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 8388e9fcaa8aSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 8389e9fcaa8aSmrg 8390e9fcaa8aSmrg Consensus on #xorg-devel agrees with removing --without-xcb; in 8391e9fcaa8aSmrg particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 8392e9fcaa8aSmrg Julien Cristau, and Rémi Cardona. 839361234c2cSmrg 839488de56ccSmrgcommit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 839588de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 839688de56ccSmrgDate: Thu Jun 3 15:21:40 2010 -0700 839788de56ccSmrg 839888de56ccSmrg libX11 1.3.4 839988de56ccSmrg 840088de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 840188de56ccSmrg 840288de56ccSmrgcommit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 840388de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 840488de56ccSmrgDate: Thu Jun 3 13:08:17 2010 -0700 840588de56ccSmrg 840688de56ccSmrg Workaround bug in groff flag processing that breaks distcheck 840788de56ccSmrg 840888de56ccSmrg At least with the groff 1.19.2 package I have installed, groff passes 840988de56ccSmrg on the -I flags for the include path to grohtml, which if they come 841088de56ccSmrg after the -P-I... flag we pass to grohtml to specify the image file 841188de56ccSmrg name pattern cause it to override that flag and put the images in 841288de56ccSmrg the wrong place, breaking "make distcheck" - changing the flag order 841388de56ccSmrg works around this. 841488de56ccSmrg 841588de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 841688de56ccSmrg 841788de56ccSmrgcommit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 841888de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 841988de56ccSmrgDate: Thu Jun 3 11:25:33 2010 -0700 842088de56ccSmrg 842188de56ccSmrg Fix typo that made configure always report "none" for man page suffix 842288de56ccSmrg 842388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 842488de56ccSmrg 842588de56ccSmrgcommit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 842688de56ccSmrgAuthor: Paul Bender <pebender@gmail.com> 842788de56ccSmrgDate: Thu Jun 3 11:20:26 2010 -0700 842888de56ccSmrg 842988de56ccSmrg Bug 22591 - configure does not obey the --enable-*-transport options 843088de56ccSmrg 843188de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=22591 843288de56ccSmrg 843388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 843488de56ccSmrg 843588de56ccSmrgcommit d7f35946d673bb00f2768e025b6e1017422b2174 843688de56ccSmrgAuthor: Paul Bender <pebender@gmail.com> 843788de56ccSmrgDate: Thu Jun 3 11:17:45 2010 -0700 843888de56ccSmrg 843988de56ccSmrg Bug 22590 - libX11 1.2.1 has broken abstract namespace support 844088de56ccSmrg 844188de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=22590 844288de56ccSmrg 844388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 844488de56ccSmrg 844588de56ccSmrgcommit b2487d07f7b355f230a56e32c763acd08862735c 844688de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 844788de56ccSmrgDate: Thu Jun 3 11:06:15 2010 -0700 844888de56ccSmrg 844988de56ccSmrg Bug 22584 - libX11 does not cross compile 845088de56ccSmrg 845188de56ccSmrg Adaptation of patch submitted by Paul Bender in attachment 27301 to 845288de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=22584 845388de56ccSmrg 845488de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 845588de56ccSmrg Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 845688de56ccSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 845788de56ccSmrg 845888de56ccSmrgcommit 4378219ff8c1418418c70086085358b69d574e74 845988de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 846088de56ccSmrgDate: Tue Jun 1 18:55:48 2010 -0700 846188de56ccSmrg 846288de56ccSmrg Clarify requirements in XRestackWindows man page 846388de56ccSmrg 846488de56ccSmrg The required common parent window is not specified in the arguments, 846588de56ccSmrg just implied as the parent of the first window in the list. 846688de56ccSmrg 846788de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 846888de56ccSmrg 846988de56ccSmrgcommit f09c5299a381e2729e800a0ac43f1c0e371f65f6 847088de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 847188de56ccSmrgDate: Wed May 12 16:42:18 2010 -0700 847288de56ccSmrg 847388de56ccSmrg xcb: Add TCP fallback 847488de56ccSmrg 847588de56ccSmrg If we fail to connect to a UNIX socket and the transport isn't specified, 847688de56ccSmrg fallback on TCP. This matches behavior with the xtrans codepath and the 847788de56ccSmrg Xlib spec. 847888de56ccSmrg 847988de56ccSmrg http://lists.x.org/archives/xorg-devel/2010-April/007915.html 848088de56ccSmrg 848188de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 848288de56ccSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 848388de56ccSmrg 848488de56ccSmrgcommit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 848538ae11fcSmrgMerge: aae2a4a7 933aee1d 848688de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 848788de56ccSmrgDate: Mon May 10 16:51:24 2010 -0700 848888de56ccSmrg 848988de56ccSmrg Merge branch 'xlib-xcb-thread-fixes' 849088de56ccSmrg 849188de56ccSmrgcommit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 849288de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 849388de56ccSmrgDate: Fri Apr 23 21:50:29 2010 -0700 849488de56ccSmrg 849588de56ccSmrg Don't append the screen number when using a launchd socket 849688de56ccSmrg 849788de56ccSmrg ssh gets confused by this. XQuartz is the only DDX using this 849888de56ccSmrg functionality, and it doesn't support different screens, so 849988de56ccSmrg let's just not include this until most ssh know how to handle 850088de56ccSmrg this. 850188de56ccSmrg 850288de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 850388de56ccSmrg 850488de56ccSmrgcommit adcd0ec209abf832a769d52db660fb37eaad6e0c 850588de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 850688de56ccSmrgDate: Fri Apr 23 16:33:44 2010 -0700 850788de56ccSmrg 850888de56ccSmrg Remove launchd logic from _XConnectXCB as it's handled in XCB 850988de56ccSmrg 851088de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 851188de56ccSmrg 851288de56ccSmrgcommit d232b259c36fdde1f4179822809fec1480867dc5 851388de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 851488de56ccSmrgDate: Tue Feb 2 17:01:28 2010 -0800 851588de56ccSmrg 851688de56ccSmrg Fix various build warnings 851788de56ccSmrg 851888de56ccSmrg imLcIm.c: In function '_XimCachedFileName': 851988de56ccSmrg imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 852088de56ccSmrg imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 852188de56ccSmrg 852288de56ccSmrg imRm.c: In function '_XimDefaultArea': 852388de56ccSmrg imRm.c:597: warning: cast from pointer to integer of different size 852488de56ccSmrg imRm.c: In function '_XimDefaultColormap': 852588de56ccSmrg imRm.c:626: warning: cast from pointer to integer of different size 852688de56ccSmrg 852788de56ccSmrg lcFile.c:224: warning: no previous prototype for 'xlocaledir' 852888de56ccSmrg 852988de56ccSmrg lcUTF8.c: In function 'iconv_cstombs': 853088de56ccSmrg lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 853188de56ccSmrg lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 853288de56ccSmrg lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 853388de56ccSmrg lcUTF8.c: In function 'iconv_mbstocs': 853488de56ccSmrg lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 853588de56ccSmrg lcUTF8.c: In function 'iconv_mbtocs': 853688de56ccSmrg lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 853788de56ccSmrg lcUTF8.c: In function 'iconv_mbstostr': 853888de56ccSmrg lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 853988de56ccSmrg lcUTF8.c: In function 'iconv_strtombs': 854088de56ccSmrg lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 854188de56ccSmrg lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 854288de56ccSmrg lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 854388de56ccSmrg lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 854488de56ccSmrg lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 854588de56ccSmrg lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 854688de56ccSmrg lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 854788de56ccSmrg lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 854888de56ccSmrg lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 854988de56ccSmrg 855088de56ccSmrg XlibInt.c: In function '_XGetHostname': 855188de56ccSmrg XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 855288de56ccSmrg XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 855388de56ccSmrg 855488de56ccSmrg ConnDis.c: In function '_XDisconnectDisplay': 855588de56ccSmrg ConnDis.c:540: warning: old-style function definition 855688de56ccSmrg ConnDis.c: In function '_XSendClientPrefix': 855788de56ccSmrg ConnDis.c:554: warning: old-style function definition 855888de56ccSmrg ConnDis.c: In function 'XSetAuthorization': 855988de56ccSmrg ConnDis.c:677: warning: old-style function definition 856088de56ccSmrg 856188de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 856288de56ccSmrg 856388de56ccSmrgcommit 3e11c73187acb2e2be9a812840bbbea947527ccb 856488de56ccSmrgAuthor: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 856588de56ccSmrgDate: Fri Apr 23 00:01:54 2010 +0200 856688de56ccSmrg 856788de56ccSmrg Allow X11 users to compose anarchism 856888de56ccSmrg 856988de56ccSmrg I can easily compose the hammer and sickle (the symbol representative 857088de56ccSmrg of communism) by pressing the key sequence: 857188de56ccSmrg 857288de56ccSmrg <Compose> <C> <C> <C> <P> -> ☭ 857388de56ccSmrg 857488de56ccSmrg But i can't easily make the circled A (the symbol representative of 857588de56ccSmrg anarchism). 857688de56ccSmrg 857788de56ccSmrg I'd like to be able to use <Compose> <O> <A> (this is a 857888de56ccSmrg currently unused key sequence) to generate the symbol: Ⓐ 857988de56ccSmrg 858088de56ccSmrg Debian bug#555938 <http://bugs.debian.org/555938> 858188de56ccSmrg 858288de56ccSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 858388de56ccSmrg 858488de56ccSmrgcommit 933aee1d5c53b0cc7d608011a29188b594c8d70b 858588de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 858688de56ccSmrgDate: Fri Apr 16 20:18:28 2010 -0700 858788de56ccSmrg 858888de56ccSmrg Fix Xlib/XCB for multi-threaded applications (with caveats). 858988de56ccSmrg 859088de56ccSmrg Rather than trying to group all response processing in one monolithic 859188de56ccSmrg process_responses function, let _XEventsQueued, _XReadEvents, and 859288de56ccSmrg _XReply each do their own thing with a minimum of code that can all be 859388de56ccSmrg reasoned about independently. 859488de56ccSmrg 859588de56ccSmrg Tested with `ico -threads 20`, which seems to be able to make many 859688de56ccSmrg icosahedrons dance at once quite nicely now. 859788de56ccSmrg 859888de56ccSmrg Caveats: 859988de56ccSmrg 860088de56ccSmrg - Anything that was not thread-safe in Xlib before XCB probably still 860188de56ccSmrg isn't. XListFontsWithInfo, for instance. 860288de56ccSmrg 860388de56ccSmrg - If one thread is waiting for events and another thread tries to read a 860488de56ccSmrg reply, both will hang until an event arrives. Previously, if this 860588de56ccSmrg happened it might work sometimes, but otherwise would trigger either 860688de56ccSmrg an assertion failure or a permanent hang. 860788de56ccSmrg 860888de56ccSmrg - Versions of libxcb up to and including 1.6 have a bug that can cause 860988de56ccSmrg xcb_wait_for_event or xcb_wait_for_reply to hang if they run 861088de56ccSmrg concurrently with xcb_writev or other writers. So you'll want that fix 861188de56ccSmrg as well. 861288de56ccSmrg 861388de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 861488de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 861588de56ccSmrg 861688de56ccSmrgcommit aab43278ae619eb57d2dd9c7396f460f078588fc 861788de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 861888de56ccSmrgDate: Fri Apr 16 22:24:16 2010 -0700 861988de56ccSmrg 862088de56ccSmrg Use InternalLockDisplay on code paths called from LockDisplay. 862188de56ccSmrg 862288de56ccSmrg It's easier to reason about the code when we can't re-enter the 862388de56ccSmrg Xlib-private sync-handlers while they're already running. 862488de56ccSmrg 862588de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 862688de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 862788de56ccSmrg 862888de56ccSmrgcommit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 862988de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 863088de56ccSmrgDate: Fri Apr 16 19:45:11 2010 -0700 863188de56ccSmrg 863288de56ccSmrg Fix _XSend to enqueue the right range of pending requests. 863388de56ccSmrg 863488de56ccSmrg _XSend was off-by-one on both ends. It should not re-enqueue the last 863588de56ccSmrg request that was already flushed, but it should enqueue the last request 863688de56ccSmrg currently being flushed. 863788de56ccSmrg 863888de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 863988de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 864088de56ccSmrg 864188de56ccSmrgcommit f2735889908d6e5a7f8dbee42f00c54a52665191 864288de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 864388de56ccSmrgDate: Fri Apr 16 19:45:11 2010 -0700 864488de56ccSmrg 864588de56ccSmrg Pending requests are always added in-order. 864688de56ccSmrg 864788de56ccSmrg Replace insert_pending_request, which did an in-order search of the 864888de56ccSmrg queue to find the right insertion point, with a simpler 864988de56ccSmrg append_pending_request, and use that in _XSend as well. 865088de56ccSmrg 865188de56ccSmrg Includes assertions to check that the list of pending requests is in 865288de56ccSmrg order by sequence number and does not have duplicates. 865388de56ccSmrg 865488de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 865588de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 865688de56ccSmrg 865788de56ccSmrgcommit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 865888de56ccSmrgAuthor: Markus Duft <markus.duft@salomon.at> 865988de56ccSmrgDate: Fri Apr 16 08:39:34 2010 -0700 866088de56ccSmrg 866188de56ccSmrg Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 866288de56ccSmrg 866388de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=26839 866488de56ccSmrg 866588de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 866688de56ccSmrg 866788de56ccSmrgcommit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 866888de56ccSmrgAuthor: Josh Triplett <josh@freedesktop.org> 866988de56ccSmrgDate: Thu Apr 15 14:24:21 2010 -0700 867088de56ccSmrg 867188de56ccSmrg Stop returning an int from _XIDHandler and _XSeqSyncFunction 867288de56ccSmrg 867388de56ccSmrg _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 867488de56ccSmrg thus had to return an int. Now, they only run from _XPrivSyncHandler or 867588de56ccSmrg LockDisplay, neither of which needs to check their return value since they 867688de56ccSmrg always returned 0. Make them both void. 867788de56ccSmrg 867888de56ccSmrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 867988de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 868088de56ccSmrg 868188de56ccSmrgcommit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 868288de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 868388de56ccSmrgDate: Thu Apr 15 13:05:08 2010 -0700 868488de56ccSmrg 868588de56ccSmrg Move XID and sync handling from SyncHandle to LockDisplay to fix races. 868688de56ccSmrg 868788de56ccSmrg XID and sync handling happened via _XPrivSyncHandler, assigned to 868888de56ccSmrg dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 868988de56ccSmrg without the Display lock, so manipulating the Display caused races, and 869088de56ccSmrg these races led to assertions in multithreaded code (demonstrated via 869188de56ccSmrg ico). 869288de56ccSmrg 869388de56ccSmrg In the XTHREADS case, after you've called XInitThreads, we can hook 869488de56ccSmrg LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 869588de56ccSmrg _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 869688de56ccSmrg that we hold the lock, and thus we can avoid races. We think it makes 869788de56ccSmrg sense to do these both from LockDisplay rather than UnlockDisplay, so 869888de56ccSmrg that you know you have valid sync and a valid XID before you start 869988de56ccSmrg setting up the request you locked to prepare. 870088de56ccSmrg 870188de56ccSmrg In the !XTHREADS case, or if you haven't called XInitThreads, you don't 870288de56ccSmrg get to use Xlib from multiple threads, so we can use the logic we have 870388de56ccSmrg now (with synchandler and savedsynchandler) without any concern about 870488de56ccSmrg races. 870588de56ccSmrg 870688de56ccSmrg This approach gets a bit exciting when the XID and sequence sync 870788de56ccSmrg handlers drop and re-acquire the Display lock. Reacquisition will re-run 870888de56ccSmrg the handlers, but they return immediately unless they have work to do, 870988de56ccSmrg so they can't recurse more than once. In the worst case, if both of 871088de56ccSmrg them have work to do, we can nest the Display lock three deep. In the 871188de56ccSmrg case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 871288de56ccSmrg takes the socket back if it needs to request more XIDs, and taking the 871388de56ccSmrg socket back will reacquire the lock; we take care to avoid letting 871488de56ccSmrg _XIDHandler run again and re-enter XCB from the return_socket callback 871588de56ccSmrg (which causes Very Bad Things, and is Not Allowed). 871688de56ccSmrg 871788de56ccSmrg Tested with ico (with 1 and 20 threads), and with several test programs 871888de56ccSmrg for XID and sequence sync. Tested with and without XInitThreads(), and 871988de56ccSmrg with and without XCB. 872088de56ccSmrg 872188de56ccSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 872288de56ccSmrg 872388de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 872488de56ccSmrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 872588de56ccSmrg 872688de56ccSmrgcommit b089b53b697c2851db2985d32af3b29f1da5e31e 872788de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 872888de56ccSmrgDate: Wed Apr 14 12:59:11 2010 -0700 872988de56ccSmrg 873088de56ccSmrg Honest. Extensions get to filter async errors too. 873188de56ccSmrg 873288de56ccSmrg Under some circumstances, errors are picked up by calling 873388de56ccSmrg xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 873488de56ccSmrg the requests with the XCB_REQUEST_CHECKED flag. That happens when either 873588de56ccSmrg an async handler is queued at the time the requests are flushed, or when 873688de56ccSmrg XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 873788de56ccSmrg event queue. 873888de56ccSmrg 873988de56ccSmrg This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 874088de56ccSmrg those cases. 874188de56ccSmrg 874288de56ccSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 874388de56ccSmrg 874488de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 874588de56ccSmrg 874688de56ccSmrgcommit a15c31274650e391bc6de5d0951eb4464c228139 874788de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 874888de56ccSmrgDate: Wed Apr 14 12:10:34 2010 -0700 874988de56ccSmrg 875088de56ccSmrg _XError already runs async handlers; only call them directly for replies. 875188de56ccSmrg 875288de56ccSmrg The previous behavior probably would have triggered bug reports someday. 875388de56ccSmrg 875488de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 875588de56ccSmrg 875688de56ccSmrgcommit 405132dab64bf2375f8e57d02b1b53da2311933a 875788de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 875888de56ccSmrgDate: Tue Apr 13 12:12:36 2010 -0700 875988de56ccSmrg 876088de56ccSmrg Extensions get to filter async errors too. 876188de56ccSmrg 876288de56ccSmrg Apparently I misread XlibInt.c:_XReply and thought that handlers set 876388de56ccSmrg with XESetError should be consulted only for the sequence number that 876488de56ccSmrg _XReply is currently looking for. In fact, the error handlers are also 876588de56ccSmrg consulted when an error arrives for a request that was not expected to 876688de56ccSmrg have a reply. 876788de56ccSmrg 876888de56ccSmrg However, in an odd twist, the error handlers are *not* consulted outside 876988de56ccSmrg of _XReply--that is, when looking for events, or waiting to be able to 877088de56ccSmrg flush the output queue. So this patch takes some small pains to preserve 877188de56ccSmrg that behavior, though it seems likely to have been unintentional. 877288de56ccSmrg 877388de56ccSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 877488de56ccSmrg 877588de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 877688de56ccSmrg 877788de56ccSmrgcommit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 877888de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 877988de56ccSmrgDate: Tue Apr 13 12:49:59 2010 -0700 878088de56ccSmrg 878188de56ccSmrg Prefer the xcb_generic_error_t we already have over casting to xEvent. 878288de56ccSmrg 878388de56ccSmrg Just a minor cleanup. 878488de56ccSmrg 878588de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 878688de56ccSmrg 878788de56ccSmrgcommit 75ea8c37935ccc911557d16a303ba595b8ab106b 878888de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 878988de56ccSmrgDate: Mon Apr 12 11:30:20 2010 -0700 879088de56ccSmrg 879188de56ccSmrg Run the user's synchandler as well as any internal synchandlers. 879288de56ccSmrg 879388de56ccSmrg Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 879488de56ccSmrg 879588de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 879688de56ccSmrg 879788de56ccSmrgcommit c3f3e4a9e531d010312c97e753d6e543e607094d 879888de56ccSmrgAuthor: Kusanagi Kouichi <slash@ac.auone-net.jp> 879988de56ccSmrgDate: Fri Feb 12 17:16:10 2010 +0900 880088de56ccSmrg 880188de56ccSmrg Fix manual typos. 880288de56ccSmrg 880388de56ccSmrg Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 880488de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 880588de56ccSmrg 880688de56ccSmrgcommit 75c6c5595408caba9ef8233839d77021d02f86f2 880788de56ccSmrgAuthor: Dirk Wallenstein <dirkwallenstein@t-online.de> 880888de56ccSmrgDate: Fri Feb 5 20:42:46 2010 +0100 880988de56ccSmrg 881088de56ccSmrg man: Correct the XkbAllAccessXEventsMask mask name 881188de56ccSmrg 881288de56ccSmrg This mask has probably been renamed but not been updated in the manuals. 881388de56ccSmrg 881488de56ccSmrg Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 881588de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 881688de56ccSmrg 881788de56ccSmrgcommit 9262aceaff24c954cab8c252690032bc2ec25e7d 881888de56ccSmrgAuthor: Dirk Wallenstein <dirkwallenstein@t-online.de> 881988de56ccSmrgDate: Fri Feb 5 20:42:45 2010 +0100 882088de56ccSmrg 882188de56ccSmrg man: Add missing geometry component flag 882288de56ccSmrg 882388de56ccSmrg Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 882488de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 882588de56ccSmrg 882688de56ccSmrgcommit 50cf134465f6fd263f37acecac94518468ef1c6d 882788de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de> 882888de56ccSmrgDate: Tue Feb 2 21:24:32 2010 +0100 882988de56ccSmrg 883088de56ccSmrg man: Return value of XkbGetState is Status and not Bool 883188de56ccSmrg 883288de56ccSmrg Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 883388de56ccSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 883488de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 883588de56ccSmrg 883688de56ccSmrgcommit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 883788de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de> 883888de56ccSmrgDate: Tue Feb 2 21:24:30 2010 +0100 883988de56ccSmrg 884088de56ccSmrg man: Fix return value specification of XkbKeyActionEntry 884188de56ccSmrg 884288de56ccSmrg The XkbKeyActionEntry macro expands to a pointer. 884388de56ccSmrg 884488de56ccSmrg Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 884588de56ccSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 884688de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 884788de56ccSmrg 884888de56ccSmrgcommit e9884d4a05a5661ec343ea8a2aa0562b6419e086 884988de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de> 885088de56ccSmrgDate: Tue Feb 2 21:24:29 2010 +0100 885188de56ccSmrg 885288de56ccSmrg man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 885388de56ccSmrg 885488de56ccSmrg XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 885588de56ccSmrg groups with 2 levels each. It wraps the index into the next group. 885688de56ccSmrg This behavior confuses the unaware user, and therefore this will add a 885788de56ccSmrg reference to XkbKeycodeToKeysym in the corresponding man paragraph. 885888de56ccSmrg 885988de56ccSmrg Another bug had that issue, too. #5349 886088de56ccSmrg 886188de56ccSmrg Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 886288de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 886388de56ccSmrg 886488de56ccSmrgcommit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 886588de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 886688de56ccSmrgDate: Thu Apr 8 19:59:55 2010 -0700 886788de56ccSmrg 886888de56ccSmrg Fix typo in new fi_FI.UTF-8 that was reported by "make check" 886988de56ccSmrg 887088de56ccSmrg Unrecognized pattern in Compose on line #154: 887188de56ccSmrg <dead_diaeresis> <space> " "¨" 887288de56ccSmrg 887388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 887488de56ccSmrg 887588de56ccSmrgcommit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 887688de56ccSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 887788de56ccSmrgDate: Thu Apr 8 19:52:42 2010 -0700 887888de56ccSmrg 887988de56ccSmrg Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 888088de56ccSmrg 888188de56ccSmrg I've rewritten the fi_FI.UTF-8 Compose file so that it 888288de56ccSmrg 888388de56ccSmrg - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 888488de56ccSmrg possible additions to en_US.UTF-8/Compose automatically included) 888588de56ccSmrg - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 888688de56ccSmrg definitions (thus making it safe to include en_US.UTF-8/Compose) 888788de56ccSmrg - lists all the definitions specified in the SFS 5966 standard (thus making it 888888de56ccSmrg easy to verify that the implementation is valid and complete) 888988de56ccSmrg - adds a header about the file itself as required by the standard 889088de56ccSmrg 889188de56ccSmrg The rewritten version is ~320 lines compared to over 5000 lines of the previous 889288de56ccSmrg version. 889388de56ccSmrg 889488de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=27465 889588de56ccSmrg 889688de56ccSmrgcommit f6a4fd0c7615684d08e848245849dea4017a5214 889788de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 889888de56ccSmrgDate: Thu Apr 1 21:46:12 2010 -0400 889988de56ccSmrg 890088de56ccSmrg config: update and relocate AC_DEFINE_DIR macro 890188de56ccSmrg 890288de56ccSmrg Remove deprecated acinclude.m4 macro container file 890388de56ccSmrg Use separate macro files as per autoconf recommendation 890488de56ccSmrg Use the latest macro from GNU (ax) which replaces 890588de56ccSmrg the non-gnu version (ac) 890688de56ccSmrg This preserves the Autoconf macro AC namespace. 890788de56ccSmrg 890888de56ccSmrg Also moved out of acinclude.m4 is the DOLT macro 890988de56ccSmrg 891088de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 891188de56ccSmrg 891288de56ccSmrgcommit 61d5231db418cec51bd718633c3bba39b18689d6 891388de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 891488de56ccSmrgDate: Mon Mar 29 14:53:48 2010 -0400 891588de56ccSmrg 891688de56ccSmrg config: remove the pkgconfig pc.in file from EXTRA_DIST 891788de56ccSmrg 891888de56ccSmrg Automake always includes it in the tarball. 891988de56ccSmrg 892088de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 892188de56ccSmrg 892288de56ccSmrgcommit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 892388de56ccSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br> 892488de56ccSmrgDate: Wed Mar 17 23:53:16 2010 -0300 892588de56ccSmrg 892688de56ccSmrg No need for req->firstKeyCode to be set twice. 892788de56ccSmrg 892888de56ccSmrg There is no reason to set req->firstKeyCode twice when a client, wishful 892988de56ccSmrg for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 893088de56ccSmrg fixes the mistake by making no functional changes to libX11 whatsoever. 893188de56ccSmrg 893288de56ccSmrg Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 893388de56ccSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 893488de56ccSmrg 893588de56ccSmrgcommit b5797597f83ee62228abfb88f026ef92163e07a5 893688de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 893788de56ccSmrgDate: Tue Feb 16 10:37:21 2010 -0500 893888de56ccSmrg 893988de56ccSmrg config: move CWARNFLAGS from configure.ac to Makefile.am 894088de56ccSmrg 894188de56ccSmrg Compiler warning flags should be explicitly set in the makefile 894288de56ccSmrg rather than being merged with other packages compiler flags. 894388de56ccSmrg 894488de56ccSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 894588de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 894688de56ccSmrg 894788de56ccSmrgcommit 052c4d7995b0e52a038933beb85cd544571c6b7e 894888de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 894988de56ccSmrgDate: Tue Feb 16 14:28:21 2010 -0500 895088de56ccSmrg 895188de56ccSmrg specs: change install cmd due to automake 1.11 895288de56ccSmrg 895388de56ccSmrg specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 895488de56ccSmrg 895588de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 895688de56ccSmrg 895788de56ccSmrgcommit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 895888de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 895988de56ccSmrgDate: Tue Feb 9 17:27:08 2010 -0500 896088de56ccSmrg 896188de56ccSmrg doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 896288de56ccSmrg 896388de56ccSmrg $(MKDIR_P) is not defined in automake 1.9. 896488de56ccSmrg 896588de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 896688de56ccSmrg 896788de56ccSmrgcommit e66eda95b520727969d721416d4ea49b54ef2b03 896888de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 896988de56ccSmrgDate: Tue Feb 2 16:29:26 2010 -0500 897088de56ccSmrg 897188de56ccSmrg specs: install html images in $docdir with html files 897288de56ccSmrg 897388de56ccSmrg The images required by the html files have been omitted. 897488de56ccSmrg 897588de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 897688de56ccSmrg 897788de56ccSmrgcommit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 897888de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 897988de56ccSmrgDate: Sun Jan 31 14:16:20 2010 -0500 898088de56ccSmrg 898188de56ccSmrg doc: use new macros to control doc generation 898288de56ccSmrg 898388de56ccSmrg Namely XORG_WITH_GROFF for the groff generation tool 898488de56ccSmrg XORG_WITH_PS2PDF for the conversion of PS docs to PDF 898588de56ccSmrg XORG_ENABLE_SPECS for the generation of specs 898688de56ccSmrg 898788de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 898888de56ccSmrg 898988de56ccSmrgcommit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 899088de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 899188de56ccSmrgDate: Tue Jan 26 19:41:08 2010 -0500 899288de56ccSmrg 899388de56ccSmrg doc: clean-up generated html images 899488de56ccSmrg 899588de56ccSmrg Generate images in /images as is the convention 899688de56ccSmrg Provide a base file name for images rather than process ID 899788de56ccSmrg Remove images directory when running make clean 899888de56ccSmrg 899988de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 900088de56ccSmrg 900188de56ccSmrgcommit eb289b34bfc9978eef724e0f268975938334c06c 900288de56ccSmrgAuthor: Kristian Høgsberg <krh@bitplanet.net> 900388de56ccSmrgDate: Thu Jan 21 13:39:17 2010 -0500 900488de56ccSmrg 900588de56ccSmrg XErrorDB: Add new DRI2 request names 900688de56ccSmrg 900788de56ccSmrgcommit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 900888de56ccSmrgAuthor: Julien Cristau <jcristau@debian.org> 900988de56ccSmrgDate: Sat Jan 16 22:47:03 2010 +0000 901088de56ccSmrg 901188de56ccSmrg man: Fix typo in Makefile 901288de56ccSmrg 901388de56ccSmrg Missing line continuation was preventing the XCompose alias from being 901488de56ccSmrg generated. 901588de56ccSmrg 901688de56ccSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 901788de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 901888de56ccSmrg 9019b4ee4795Smrgcommit 68530599e61cf9fef3fcc91650e7cef21837fce7 9020b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9021b4ee4795SmrgDate: Sat Jan 16 11:41:32 2010 -0800 9022b4ee4795Smrg 9023b4ee4795Smrg libX11 1.3.3 9024b4ee4795Smrg 9025b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9026b4ee4795Smrg 9027b4ee4795Smrgcommit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 9028b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9029b4ee4795SmrgDate: Thu Jan 14 18:33:39 2010 -0800 9030b4ee4795Smrg 9031b4ee4795Smrg Update COPYING file with actual licenses from libX11 code & docs 9032b4ee4795Smrg 9033b4ee4795Smrg COPYING was previously a years out-of-date copy of the LICENSES 9034b4ee4795Smrg doc summarizing all licenses for all XFree86 components, many of 9035b4ee4795Smrg which did not apply to libX11. 9036b4ee4795Smrg 9037b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9038b4ee4795Smrg 9039b4ee4795Smrgcommit ddb1786720d6136b1b28be599c75c10ad1b76a2a 9040b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9041b4ee4795SmrgDate: Thu Jan 14 17:38:26 2010 -0800 9042b4ee4795Smrg 9043b4ee4795Smrg Purge CVS/RCS id tags 9044b4ee4795Smrg 9045b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9046b4ee4795Smrg 9047b4ee4795Smrgcommit c1db9ddcfa7091f173478dca45bf720badedfca4 9048b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9049b4ee4795SmrgDate: Thu Jan 14 15:39:14 2010 -0800 9050b4ee4795Smrg 9051b4ee4795Smrg Update Sun license notices to current X.Org standard form 9052b4ee4795Smrg 9053b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9054b4ee4795Smrg 9055b4ee4795Smrgcommit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 9056b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9057b4ee4795SmrgDate: Thu Jan 14 08:28:22 2010 -0800 9058b4ee4795Smrg 9059b4ee4795Smrg Add %S substitutions to Compose man page 9060b4ee4795Smrg 9061b4ee4795Smrg Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 9062b4ee4795Smrg in Compose file include statements - this documents it in the Compose 9063b4ee4795Smrg file man page. 9064b4ee4795Smrg 9065b4ee4795Smrg Also changes the existing substitution documentation to list format 9066b4ee4795Smrg instead of a paragraph format to allow easier adding of %S. 9067b4ee4795Smrg 9068b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9069b4ee4795Smrg 9070b4ee4795Smrgcommit 94b45db93058cffa25598fe27dd3e385ace9d305 9071b4ee4795SmrgAuthor: Richard Purdie <rpurdie@linux.intel.com> 9072b4ee4795SmrgDate: Thu Jan 14 08:04:28 2010 -0800 9073b4ee4795Smrg 9074b4ee4795Smrg Fix configure.ac PKG_ macro calls 9075b4ee4795Smrg 9076b4ee4795Smrg If the first call to PKG_CHECK_MODULES() may not be called during execution 9077b4ee4795Smrg which is the case here since its inside a case statement, call 9078b4ee4795Smrg PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 9079b4ee4795Smrg 9080b4ee4795Smrg Fixes a configure failure introduced by commit 9081b4ee4795Smrg 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 9082b4ee4795Smrg 9083b4ee4795Smrg http://bugs.freedesktop.org/show_bug.cgi?id=26041 9084b4ee4795Smrg 9085b4ee4795Smrg Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 9086b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9087b4ee4795Smrg 9088b4ee4795Smrgcommit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 9089b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9090b4ee4795SmrgDate: Tue Jan 12 09:18:15 2010 -0800 9091b4ee4795Smrg 9092b4ee4795Smrg Raise xorg-macros requirement to 1.4 9093b4ee4795Smrg 9094b4ee4795Smrg Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 9095b4ee4795Smrg depend on the INSTALL file delivered in xorg-macros 1.4 9096b4ee4795Smrg 9097b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9098b4ee4795Smrg 9099b4ee4795Smrgcommit 9df349a7894725f9469b106af645f57f7f3f9af3 9100b4ee4795SmrgAuthor: James Cloos <cloos@jhcloos.com> 9101b4ee4795SmrgDate: Wed Jan 13 11:04:38 2010 -0500 9102b4ee4795Smrg 9103b4ee4795Smrg Allow inclusion of system level compose files. 9104b4ee4795Smrg 9105b4ee4795Smrg With the release of XFree86 4.4 an inclusion system of compose files was 9106b4ee4795Smrg added to Xlib to allow inclusion of the default compose file (with %L), 9107b4ee4795Smrg any compose files from user’s home directory (with %H), or a compose 9108b4ee4795Smrg file with a hard coded path¹. However, even today including system level 9109b4ee4795Smrg compose files is not possible in a platform independent manner although 9110b4ee4795Smrg the machinery for including compose files and overriding previously 9111b4ee4795Smrg defined compositions is already in place. 9112b4ee4795Smrg 9113b4ee4795Smrg With the ability to include system level compose files one could greatly 9114b4ee4795Smrg reduce the need for compose file rule duplication and the work needed to 9115b4ee4795Smrg propagate changes in one compose file to others. For example, currently 9116b4ee4795Smrg the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 9117b4ee4795Smrg is almost identical with en_US.UTF-8 except for perhaps half a dozen 9118b4ee4795Smrg compositions. 9119b4ee4795Smrg 9120b4ee4795Smrg This commit allows one to include system level compose files with the 9121b4ee4795Smrg following kind of syntax: 9122b4ee4795Smrg 9123b4ee4795Smrg include "%S/en_US.UTF-8/Compose" 9124b4ee4795Smrg 9125b4ee4795Smrg 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 9126b4ee4795Smrg 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 9127b4ee4795Smrg 9128b4ee4795Smrg Signed-off-by: Marko Myllynen <myllynen@redhat.com> 9129b4ee4795Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 9130b4ee4795Smrg 9131b4ee4795Smrgcommit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 9132b4ee4795SmrgAuthor: Thien-Thi Nguyen <ttn@gnuvola.org> 9133b4ee4795SmrgDate: Tue Dec 1 10:31:47 2009 +0100 9134b4ee4795Smrg 9135b4ee4795Smrg libX11: Fix comment: Invert polarity (direction) of reformat description. 9136b4ee4795Smrg 9137b4ee4795Smrg Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 9138b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9139b4ee4795Smrg 9140b4ee4795Smrgcommit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 9141b4ee4795SmrgAuthor: Osamu Sayama <osamu.sayama@sun.com> 9142b4ee4795SmrgDate: Tue Jan 5 17:26:40 2010 -0800 9143b4ee4795Smrg 9144b4ee4795Smrg set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 9145b4ee4795Smrg 9146b4ee4795Smrg - In set_fontset_extents, check font_data is not NULL before running 9147b4ee4795Smrg loop that may increment it to a non-NULL invalid pointer. 9148b4ee4795Smrg - Make sure get_rotate_fontname counts the final field 9149b4ee4795Smrg 9150b4ee4795Smrg Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 9151b4ee4795Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 9152b4ee4795Smrg 9153b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9154b4ee4795Smrg Reviewed-by: Adam Jackson <ajax@redhat.com> 9155b4ee4795Smrg 9156b4ee4795Smrgcommit 87529c039050ce3336ff9ce00f1b5a21d15690da 9157b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9158b4ee4795SmrgDate: Tue Jan 5 18:02:37 2010 -0800 9159b4ee4795Smrg 9160b4ee4795Smrg Merge X11, XKBPROTO, & XPROTO pkg-config lists 9161b4ee4795Smrg 9162b4ee4795Smrg Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 9163b4ee4795Smrg in configure.ac anyway, might as well combine the lists passed to 9164b4ee4795Smrg PKG_CHECK_MODULES to reduce duplication in the flags. 9165b4ee4795Smrg 9166b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9167b4ee4795Smrg Reviewed-by: Rémi Cardona <remi@gentoo.org> 9168b4ee4795Smrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 9169b4ee4795Smrg 9170b4ee4795Smrgcommit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 9171b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9172b4ee4795SmrgDate: Tue Jan 5 17:56:58 2010 -0800 9173b4ee4795Smrg 9174b4ee4795Smrg Add XCompose man page shadow for Compose man page 9175b4ee4795Smrg 9176b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9177b4ee4795Smrg 9178b4ee4795Smrgcommit 02543bba816e065c02cd36e0c9e21519a9ee9c96 9179b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9180b4ee4795SmrgDate: Tue Jan 5 17:47:44 2010 -0800 9181b4ee4795Smrg 9182b4ee4795Smrg Add $(AM_V_GEN) to silence lint rules too 9183b4ee4795Smrg 9184b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9185b4ee4795Smrg 9186b4ee4795Smrgcommit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 9187b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9188b4ee4795SmrgDate: Tue Jan 5 17:42:42 2010 -0800 9189b4ee4795Smrg 9190b4ee4795Smrg Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 9191b4ee4795Smrg 9192b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9193b4ee4795Smrg 9194b4ee4795Smrgcommit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 9195b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9196b4ee4795SmrgDate: Sun Nov 29 10:44:24 2009 -0500 9197b4ee4795Smrg 9198b4ee4795Smrg configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 9199b4ee4795Smrg 9200b4ee4795Smrg It must be following AC_USE_SYSTEM_EXTENSION 9201b4ee4795Smrg 9202b4ee4795Smrgcommit 3dbaa11d1c8705e1b309c6686f354766b651ad20 9203b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9204b4ee4795SmrgDate: Sun Nov 29 10:01:44 2009 -0500 9205b4ee4795Smrg 9206b4ee4795Smrg Add .gitignore in /specs for generated files 9207b4ee4795Smrg 9208b4ee4795Smrg Being in /specs, it will apply for all 3 subdirs 9209b4ee4795Smrg 9210b4ee4795Smrgcommit f45d39d37aab04742e44cd8c3c993aad7587e40c 9211b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9212b4ee4795SmrgDate: Fri Nov 27 20:56:03 2009 -0500 9213b4ee4795Smrg 9214b4ee4795Smrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 9215b4ee4795Smrg 9216b4ee4795Smrg Now that the INSTALL file is generated. 9217b4ee4795Smrg Allows running make maintainer-clean. 9218b4ee4795Smrg 9219b4ee4795Smrgcommit 464390f16d7ed4aa5bf80f89863ba92273075ec2 9220b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9221b4ee4795SmrgDate: Wed Oct 28 14:09:10 2009 -0400 9222b4ee4795Smrg 9223b4ee4795Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 9224b4ee4795Smrg 9225b4ee4795Smrg Add missing INSTALL file. Use standard GNU file on building tarball 9226b4ee4795Smrg README may have been updated 9227b4ee4795Smrg Remove AUTHORS file as it is empty and no content available yet. 9228b4ee4795Smrg Remove NEWS file as it is empty and no content available yet. 9229b4ee4795Smrg 9230b4ee4795Smrgcommit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 9231b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9232b4ee4795SmrgDate: Tue Oct 27 15:07:25 2009 -0400 9233b4ee4795Smrg 9234b4ee4795Smrg Deploy the new XORG_DEFAULT_OPTIONS #24242 9235b4ee4795Smrg 9236b4ee4795Smrg This macro aggregate a number of existing macros that sets commmon 9237b4ee4795Smrg X.Org components configuration options. It shields the configuration file from 9238b4ee4795Smrg future changes. 9239b4ee4795Smrg 9240b4ee4795Smrgcommit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 9241b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9242b4ee4795SmrgDate: Mon Oct 26 22:08:42 2009 -0400 9243b4ee4795Smrg 9244b4ee4795Smrg Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 9245b4ee4795Smrg 9246b4ee4795Smrg ChangeLog filename is known to Automake and requires no further 9247b4ee4795Smrg coding in the makefile. 9248b4ee4795Smrg 9249b4ee4795Smrgcommit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 9250b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9251b4ee4795SmrgDate: Thu Oct 22 12:34:19 2009 -0400 9252b4ee4795Smrg 9253b4ee4795Smrg .gitignore: use common defaults with custom section # 24239 9254b4ee4795Smrg 9255b4ee4795Smrg Using common defaults will reduce errors and maintenance. 9256b4ee4795Smrg Only the very small or inexistent custom section need periodic maintenance 9257b4ee4795Smrg when the structure of the component changes. Do not edit defaults. 9258b4ee4795Smrg 9259b4ee4795Smrgcommit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 9260b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9261b4ee4795SmrgDate: Thu Nov 12 23:05:40 2009 -0800 9262b4ee4795Smrg 9263b4ee4795Smrg Add compose-check.pl to EXTRA_DIST 9264b4ee4795Smrg 9265b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9266b4ee4795Smrg 9267b4ee4795Smrgcommit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 9268b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 9269b4ee4795SmrgDate: Thu Oct 29 17:17:24 2009 +0100 9270b4ee4795Smrg 9271b4ee4795Smrg man: fix XCopyGC argument order 9272b4ee4795Smrg 9273b4ee4795Smrg Ubuntu bug#408337 9274b4ee4795Smrg 9275b4ee4795Smrgcommit aad10032651cdc2a53b359035954454a28d6db67 9276b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9277b4ee4795SmrgDate: Fri Oct 23 13:55:14 2009 -0700 9278b4ee4795Smrg 9279b4ee4795Smrg libX11 1.3.2 9280b4ee4795Smrg 9281b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9282b4ee4795Smrg 9283b4ee4795Smrgcommit 6303ada89cb228c0f9656036f798703afb42fc29 9284b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9285b4ee4795SmrgDate: Wed Oct 21 12:42:07 2009 +1000 9286b4ee4795Smrg 9287b4ee4795Smrg Add smiley faces to compose sequences. 9288b4ee4795Smrg 9289b4ee4795Smrg I wonder how we could have lasted that long without them. 9290b4ee4795Smrg 9291b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9292b4ee4795Smrg Acked-by: Daniel Stone <daniel@fooishbar.org> 9293b4ee4795Smrg Acked-By: James Cloos <cloos@jhcloos.com> 9294b4ee4795Smrg 9295b4ee4795Smrgcommit 0e104ebd8628803c27e36b16922ad1edd891325a 9296b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9297b4ee4795SmrgDate: Thu Oct 22 23:12:30 2009 -0700 9298b4ee4795Smrg 9299b4ee4795Smrg Add man page for Compose file format 9300b4ee4795Smrg 9301b4ee4795Smrg Based on grammar description in modules/im/ximcp/imLcPrs.c and 9302b4ee4795Smrg note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 9303b4ee4795Smrg 9304b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9305b4ee4795Smrg 9306b4ee4795Smrgcommit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 9307b4ee4795SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 9308b4ee4795SmrgDate: Tue Oct 20 12:46:03 2009 -0700 9309b4ee4795Smrg 9310b4ee4795Smrg Add extra configuration and sanity checks for groff and ps2pdf 9311b4ee4795Smrg 9312b4ee4795Smrg 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 9313b4ee4795Smrg environment variables. 9314b4ee4795Smrg 2) Check that groff -ms works 9315b4ee4795Smrg 9316b4ee4795Smrg Some distributions ship the ms macros as a separate package which may 9317b4ee4795Smrg not be installed together with groff, so we need to make sure that groff 9318b4ee4795Smrg works and the required macros are actually installed before attempting 9319b4ee4795Smrg to build the specs. 9320b4ee4795Smrg 9321b4ee4795Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 9322b4ee4795Smrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 9323b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9324b4ee4795Smrg 9325b4ee4795Smrgcommit d3f801fd2f9198eaad6797414dba652f9c006c6d 9326b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9327b4ee4795SmrgDate: Sun Oct 18 17:34:53 2009 -0500 9328b4ee4795Smrg 9329b4ee4795Smrg Fix VPATH build of libX11 specs 9330b4ee4795Smrg 9331b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9332b4ee4795Smrg 9333b4ee4795Smrgcommit ad15e1a89d30ccc11d80745897b83def1448e8c0 9334b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9335b4ee4795SmrgDate: Sat Oct 17 16:14:34 2009 -0700 9336b4ee4795Smrg 9337b4ee4795Smrg libX11 1.3.1 9338b4ee4795Smrg 9339b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9340b4ee4795Smrg 9341b4ee4795Smrgcommit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 9342b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9343b4ee4795SmrgDate: Sat Oct 17 16:28:25 2009 -0700 9344b4ee4795Smrg 9345b4ee4795Smrg Fix make distcheck 9346b4ee4795Smrg 9347b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9348b4ee4795Smrg 9349b4ee4795Smrgcommit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 9350b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9351b4ee4795SmrgDate: Fri Oct 16 19:25:35 2009 -0700 9352b4ee4795Smrg 9353b4ee4795Smrg Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 9354b4ee4795Smrg 9355b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9356b4ee4795Smrg 9357b4ee4795Smrgcommit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 9358b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9359b4ee4795SmrgDate: Wed Oct 14 16:18:24 2009 -0700 9360b4ee4795Smrg 9361b4ee4795Smrg Move libX11 & XIM/locale specs from xorg-docs 9362b4ee4795Smrg 9363b4ee4795Smrg If groff is found, and --disable-specs is not passed to configure, 9364b4ee4795Smrg specs will be converted to text, html and ps (or pdf if ps2pdf is 9365b4ee4795Smrg found) and installed to $(docdir) 9366b4ee4795Smrg 9367b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9368b4ee4795Smrg 9369b4ee4795Smrgcommit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 9370b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9371b4ee4795SmrgDate: Tue Oct 13 19:15:51 2009 -0500 9372b4ee4795Smrg 9373b4ee4795Smrg Provide _Xsetlocale compat wrappers on Cygwin 9374b4ee4795Smrg 9375b4ee4795Smrg Previous versions of Cygwin did not have proper locale support, so Cygwin/X 9376b4ee4795Smrg defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 9377b4ee4795Smrg support, but we can't remove the _Xsetlocale entry point without breaking 9378b4ee4795Smrg ABI. 9379b4ee4795Smrg 9380b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9381b4ee4795Smrg 9382b4ee4795Smrgcommit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 9383b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9384b4ee4795SmrgDate: Tue Oct 13 19:15:49 2009 -0500 9385b4ee4795Smrg 9386b4ee4795Smrg dolt: add Cygwin to supported platforms 9387b4ee4795Smrg 9388b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 9389b4ee4795Smrg 9390b4ee4795Smrgcommit a2c8e3e34b15b57ff881a52101fc961a602f35e4 9391b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9392b4ee4795SmrgDate: Wed Oct 14 13:23:30 2009 -0700 9393b4ee4795Smrg 9394b4ee4795Smrg Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 9395b4ee4795Smrg 9396b4ee4795Smrg Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 9397b4ee4795Smrg 9398b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9399b4ee4795Smrg 9400b4ee4795Smrgcommit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 9401b4ee4795SmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 9402b4ee4795SmrgDate: Tue Feb 10 17:47:25 2009 +0000 9403b4ee4795Smrg 9404b4ee4795Smrg Include sys/select.h for select() and struct timeval, if it exists 9405b4ee4795Smrg 9406b4ee4795Smrg This is a cygwin build fix 9407b4ee4795Smrg 9408b4ee4795Smrgcommit 383165916ddac91740d4c780174d4c0d07cdb994 9409b4ee4795SmrgAuthor: Xake <xake@rymdraket.net> 9410b4ee4795SmrgDate: Sun Sep 27 11:16:36 2009 +0200 9411b4ee4795Smrg 9412b4ee4795Smrg Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 9413b4ee4795Smrg 9414b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9415b4ee4795Smrg 9416b4ee4795Smrgcommit 854269d55cdda8caf425515bfed2855e211a5ada 9417b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 9418b4ee4795SmrgDate: Tue Oct 6 16:11:24 2009 +0200 9419b4ee4795Smrg 9420b4ee4795Smrg configure: quote argument to m4_pattern_forbid 9421b4ee4795Smrg 9422b4ee4795Smrg Without this, configure spits out 9423b4ee4795Smrg ../configure: line 12364: ac_fn_c_check_member: command not found 9424b4ee4795Smrg ../configure: line 12378: ac_fn_c_check_type: command not found 9425b4ee4795Smrg 9426b4ee4795Smrg Also anchor the pattern to make it stricter. 9427b4ee4795Smrg 9428b4ee4795Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 9429b4ee4795Smrg 9430b4ee4795Smrgcommit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 9431b4ee4795SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 9432b4ee4795SmrgDate: Thu Oct 1 22:20:38 2009 -0700 9433b4ee4795Smrg 9434b4ee4795Smrg Split CFLAGS into CPPFLAGS and CFLAGS 9435b4ee4795Smrg 9436b4ee4795Smrg On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 9437b4ee4795Smrg X11 headers are in /some/prefix/include, they will be preferred over the 9438b4ee4795Smrg shipped headers. This corrects that problem. 9439b4ee4795Smrg 9440b4ee4795Smrgcommit d54caf1c9c55af8247621b7ba6afb20b23699839 9441b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9442b4ee4795SmrgDate: Fri Oct 2 10:59:08 2009 +1000 9443b4ee4795Smrg 9444b4ee4795Smrg libX11 1.3 9445b4ee4795Smrg 9446b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9447b4ee4795Smrg 9448b4ee4795Smrgcommit dd201bcf9e7f8863b7ef32273a5ef021678133c1 9449b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9450b4ee4795SmrgDate: Fri Oct 2 12:10:29 2009 +1000 9451b4ee4795Smrg 9452b4ee4795Smrg nls: remove duplicate Compose sequences from pt_BR.UTF-8 9453b4ee4795Smrg 9454b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9455b4ee4795Smrg 9456b4ee4795Smrgcommit a293ae9e83739067fc92db1a39c262857bc2283e 9457b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9458b4ee4795SmrgDate: Fri Sep 25 11:19:41 2009 +1000 9459b4ee4795Smrg 9460b4ee4795Smrg Add XF86TouchpadToggle to XKeysymDB 9461b4ee4795Smrg 9462b4ee4795Smrg Lenovo laptops provide a key to enable or disable the touchpad and the 9463b4ee4795Smrg trackstick. This key is usually located on Fn + F8. 9464b4ee4795Smrg 9465b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9466b4ee4795Smrg Acked-by: Adam Jackson <ajax@redhat.com> 9467b4ee4795Smrg 9468b4ee4795Smrgcommit 69839f8903a24eab08f17a781b3797fb64dce9cf 9469b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9470b4ee4795SmrgDate: Sun Sep 27 10:34:16 2009 -0700 9471b4ee4795Smrg 9472b4ee4795Smrg Bug 24173: libX11 from git fails to build with automake older then 1.11 9473b4ee4795Smrg 9474b4ee4795Smrg AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 9475b4ee4795Smrg Makefiles, instead of after. 9476b4ee4795Smrg <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 9477b4ee4795Smrg 9478b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9479b4ee4795Smrg 9480b4ee4795Smrgcommit f5effd041f58ef07703cca2b4f396758811e1eec 9481b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9482b4ee4795SmrgDate: Wed Apr 15 10:59:23 2009 -0700 9483b4ee4795Smrg 9484b4ee4795Smrg Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 9485b4ee4795Smrg 9486b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9487b4ee4795Smrg 9488b4ee4795Smrgcommit 3843778358d3a0cd6a2d07dba5dd061248053ac9 9489b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9490b4ee4795SmrgDate: Wed Apr 15 10:56:09 2009 -0700 9491b4ee4795Smrg 9492b4ee4795Smrg Add perl script to check for duplicate or conflicting compose file entries 9493b4ee4795Smrg 9494b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9495b4ee4795Smrg 9496b4ee4795Smrgcommit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 9497b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9498b4ee4795SmrgDate: Fri Sep 18 17:10:04 2009 -0700 9499b4ee4795Smrg 9500b4ee4795Smrg Use make rules instead of shell for loops to generate shadow man pages 9501b4ee4795Smrg 9502b4ee4795Smrg Allows parallel make and simpler build logs/error reporting 9503b4ee4795Smrg 9504b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9505b4ee4795Smrg 9506b4ee4795Smrgcommit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 9507b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9508b4ee4795SmrgDate: Fri Sep 18 16:58:53 2009 -0700 9509b4ee4795Smrg 9510b4ee4795Smrg Add AM_SILENT_RULES support for cpp rules for man & nls files 9511b4ee4795Smrg 9512b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9513b4ee4795Smrg 9514b4ee4795Smrgcommit bfa19cddd8546b4930a773f3bbd81137c362d82b 9515b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9516b4ee4795SmrgDate: Fri Sep 18 16:58:16 2009 -0700 9517b4ee4795Smrg 9518b4ee4795Smrg Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 9519b4ee4795Smrg 9520b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9521b4ee4795Smrg 9522b4ee4795Smrgcommit 51396066c8003a96a6399c9a4bed2a81e512b582 9523b4ee4795SmrgAuthor: Mikko Niskanen <mikko.niskanen@iki.fi> 9524b4ee4795SmrgDate: Fri Sep 4 10:11:15 2009 +1000 9525b4ee4795Smrg 9526b4ee4795Smrg Fix wrong typedef on HP-UX (#18998) 9527b4ee4795Smrg 9528b4ee4795Smrg shl_dt doesn't exist, the type is shl_t. 9529b4ee4795Smrg 9530b4ee4795Smrg X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 9531b4ee4795Smrg 9532b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9533b4ee4795Smrg 9534b4ee4795Smrgcommit 615220a312b9430a580fe6dcf51703c6ef244f66 9535b4ee4795SmrgAuthor: Paul Bender <pebender@gmail.com> 9536b4ee4795SmrgDate: Fri Sep 4 09:57:10 2009 +1000 9537b4ee4795Smrg 9538b4ee4795Smrg Don't require xdmcp in configure.ac (#22583) 9539b4ee4795Smrg 9540b4ee4795Smrg X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 9541b4ee4795Smrg 9542b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9543b4ee4795Smrg 9544b4ee4795Smrgcommit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 9545b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9546b4ee4795SmrgDate: Thu Sep 3 14:02:44 2009 +1000 9547b4ee4795Smrg 9548b4ee4795Smrg man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 9549b4ee4795Smrg 9550b4ee4795Smrg X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 9551b4ee4795Smrg 9552b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9553b4ee4795Smrg 9554b4ee4795Smrgcommit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 9555b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9556b4ee4795SmrgDate: Thu Sep 3 12:05:25 2009 +1000 9557b4ee4795Smrg 9558b4ee4795Smrg man: XQueryTree may return BadWindow. (#23416) 9559b4ee4795Smrg 9560b4ee4795Smrg X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 9561b4ee4795Smrg 9562b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9563b4ee4795Smrg 9564b4ee4795Smrgcommit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 9565b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9566b4ee4795SmrgDate: Fri Aug 28 23:07:58 2009 +0800 9567b4ee4795Smrg 9568b4ee4795Smrg Fix version tag in .TH line of several XKB man pages 9569b4ee4795Smrg 9570b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9571b4ee4795Smrg 9572b4ee4795Smrgcommit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 9573b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9574b4ee4795SmrgDate: Fri Aug 28 23:04:38 2009 +0800 9575b4ee4795Smrg 9576b4ee4795Smrg XkbSetDeviceButtonActions.man: remove non-existent actions argument 9577b4ee4795Smrg 9578b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9579b4ee4795Smrg 9580b4ee4795Smrgcommit 53affa9335116f2d367f041e6502a411d4619e47 9581b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9582b4ee4795SmrgDate: Fri Aug 28 23:00:17 2009 +0800 9583b4ee4795Smrg 9584b4ee4795Smrg XkbQueryExtension.man: Arguments should be pointers 9585b4ee4795Smrg 9586b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9587b4ee4795Smrg 9588b4ee4795Smrgcommit 6233948885acc5873a5abddfff235afec555f3c2 9589b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9590b4ee4795SmrgDate: Fri Aug 28 22:53:03 2009 +0800 9591b4ee4795Smrg 9592b4ee4795Smrg XkbSAActionSetCtrls.man: Fix typo in formatting macro 9593b4ee4795Smrg 9594b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9595b4ee4795Smrg 9596b4ee4795Smrgcommit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 9597b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 9598b4ee4795SmrgDate: Fri Aug 28 22:49:31 2009 +0800 9599b4ee4795Smrg 9600b4ee4795Smrg Convert Xkb API man pages to ANSI prototypes 9601b4ee4795Smrg 9602b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 9603b4ee4795Smrg 9604b4ee4795Smrgcommit fa2eecca85baab9616f7143cc1a853a594b4a90c 9605b4ee4795SmrgAuthor: James Cloos <cloos@jhcloos.com> 9606b4ee4795SmrgDate: Mon Aug 24 06:35:17 2009 -0400 9607b4ee4795Smrg 9608b4ee4795Smrg Add some (Serbian) Cyrillic NFD sequences. 9609b4ee4795Smrg 9610b4ee4795Smrg A number of characters in use in the various countries which use the 9611b4ee4795Smrg Cyrillic script do not appear as pre-composed characters in The UCS 9612b4ee4795Smrg or Unicode; they are only available as combining-character sequences. 9613b4ee4795Smrg 9614b4ee4795Smrg This commit adds support for using (prefix) dead keys and Multi_key- 9615b4ee4795Smrg initiated sequences to enter a number of these combining-character 9616b4ee4795Smrg sequences. This ensures that users can enter these scripts even 9617b4ee4795Smrg when using the current Cyrillic keymaps, which lack support for 9618b4ee4795Smrg the combining characters. 9619b4ee4795Smrg 9620b4ee4795Smrg Please see the discussions on the xkb mailing list. 9621b4ee4795Smrg 9622b4ee4795Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 9623b4ee4795Smrg 9624b4ee4795Smrgcommit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 9625b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 9626b4ee4795SmrgDate: Wed Aug 5 18:14:23 2009 +0200 9627b4ee4795Smrg 9628b4ee4795Smrg man/xkb: delete spurious newline in .TH headers 9629b4ee4795Smrg 9630b4ee4795Smrgcommit ee723b83b24682db833a2f0abd96cd319b8a62af 9631b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 9632b4ee4795SmrgDate: Wed Aug 5 16:45:19 2009 +0200 9633b4ee4795Smrg 9634b4ee4795Smrg man: use __libmansuffix__ instead of 3X11 for references to other pages 9635b4ee4795Smrg 9636b4ee4795Smrgcommit 595e204feb82c798a92eea41fea03be6476ac181 9637b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 9638b4ee4795SmrgDate: Wed Aug 5 16:43:36 2009 +0200 9639b4ee4795Smrg 9640b4ee4795Smrg man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 9641b4ee4795Smrg 9642b4ee4795Smrgcommit 9da7e230d5320e1556ad2084fcd06ee7994385ea 9643b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9644b4ee4795SmrgDate: Wed Aug 5 14:15:02 2009 +1000 9645b4ee4795Smrg 9646b4ee4795Smrg Bump to 1.2.99.901 (1.3 RC1) 9647b4ee4795Smrg 9648b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9649b4ee4795Smrg 9650b4ee4795Smrgcommit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 9651b4ee4795SmrgAuthor: Filippo Giunchedi <filippo@debian.org> 9652b4ee4795SmrgDate: Sat Jun 6 16:56:54 2009 +0200 9653b4ee4795Smrg 9654b4ee4795Smrg nls: add {left,right}wards arrow to compose table 9655b4ee4795Smrg 9656b4ee4795Smrg Debian bug#532117 <http://bugs.debian.org/532117> 9657b4ee4795Smrg 9658b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9659b4ee4795Smrg 9660b4ee4795Smrgcommit 7949bfa00390241d994f32463e50d4bd78920568 9661b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 9662b4ee4795SmrgDate: Fri Jul 31 13:33:52 2009 +0200 9663b4ee4795Smrg 9664b4ee4795Smrg Update library version for new symbols 9665b4ee4795Smrg 9666b4ee4795Smrg Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 9667b4ee4795Smrg cookie handling. Bump libX11 version number accordingly. 9668b4ee4795Smrg 9669b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9670b4ee4795Smrg 9671b4ee4795Smrgcommit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 9672b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 9673b4ee4795SmrgDate: Sun Aug 2 17:18:31 2009 +0200 9674b4ee4795Smrg 9675b4ee4795Smrg Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 9676b4ee4795Smrg 9677b4ee4795Smrg X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 9678b4ee4795Smrg 9679b4ee4795Smrg Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 9680b4ee4795Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 9681b4ee4795Smrg 9682b4ee4795Smrgcommit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 9683b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9684b4ee4795SmrgDate: Wed Jul 29 08:44:09 2009 +1000 9685b4ee4795Smrg 9686b4ee4795Smrg Fix compiler warning 'unused variable qelt' 9687b4ee4795Smrg 9688b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9689b4ee4795Smrg 9690b4ee4795Smrgcommit 03f4907e14f5755e72309f08742977b871e81e33 9691b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9692b4ee4795SmrgDate: Wed Jul 29 08:34:57 2009 +1000 9693b4ee4795Smrg 9694b4ee4795Smrg Add utlist.h to the Makefile.am 9695b4ee4795Smrg 9696b4ee4795Smrg utlist.h contains the linked list macros, it was added with the recent 9697b4ee4795Smrg addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 9698b4ee4795Smrg result, make dist failed. 9699b4ee4795Smrg 9700b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9701b4ee4795Smrg 9702b4ee4795Smrgcommit 554f755e5545f63d3c8f299297927238da155773 9703b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9704b4ee4795SmrgDate: Fri Jun 26 11:27:43 2009 +1000 9705b4ee4795Smrg 9706b4ee4795Smrg Add generic event cookie handling to libX11. 9707b4ee4795Smrg 9708b4ee4795Smrg Generic events require more bytes than Xlib provides in the standard XEvent. 9709b4ee4795Smrg Memory allocated by the extension and stored as pointers inside the event is 9710b4ee4795Smrg prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 9711b4ee4795Smrg 9712b4ee4795Smrg This patch adds cookie handling for generic events. Extensions may register 9713b4ee4795Smrg a cookie handler in addition to the normal event vectors. If an extension 9714b4ee4795Smrg has registered a cookie handler, _all_ generic events for this extensions 9715b4ee4795Smrg must be handled through cookies. Otherwise, the default event handler is 9716b4ee4795Smrg used. 9717b4ee4795Smrg 9718b4ee4795Smrg The cookie handler must return an XGenericEventCookie with a pointer to the 9719b4ee4795Smrg data.The rest of the event (type, serialNumber, etc.) are to be filled as 9720b4ee4795Smrg normal. When a client retrieves such a cookie event, the data is stored in 9721b4ee4795Smrg an internal queue (the 'cookiejar'). This data is freed on the next call to 9722b4ee4795Smrg XNextEvent(). 9723b4ee4795Smrg 9724b4ee4795Smrg New extension interfaces: 9725b4ee4795Smrg XESetWireToEventCookie(display, extension_number, cookie_handler) 9726b4ee4795Smrg 9727b4ee4795Smrg Where cookie_handler must set cookie->data. The data pointer is of arbitray 9728b4ee4795Smrg size and type but must be a single memory block. This memory block 9729b4ee4795Smrg represents the actual extension's event. 9730b4ee4795Smrg 9731b4ee4795Smrg New client interfaces: 9732b4ee4795Smrg XGetEventData(display, *cookie); 9733b4ee4795Smrg XFreeEventData(display, *cookie); 9734b4ee4795Smrg 9735b4ee4795Smrg If the client needs the actual event data, it must call XGetEventData() with 9736b4ee4795Smrg the cookie. This returns the data pointer (and removes it from the cookie 9737b4ee4795Smrg jar) and the client is then responsible for freeing the event with 9738b4ee4795Smrg XFreeEventData(). It is safe to call either function with a non-cookie 9739b4ee4795Smrg event. Events unclaimed or not handled by the XGetEventData() are cleaned up 9740b4ee4795Smrg automatically. 9741b4ee4795Smrg 9742b4ee4795Smrg Example client code: 9743b4ee4795Smrg XEvent event; 9744b4ee4795Smrg XGenericEventCookie *cookie = &ev; 9745b4ee4795Smrg 9746b4ee4795Smrg XNextEvent(display, &event); 9747b4ee4795Smrg if (XGetEventData(display, cookie)) { 9748b4ee4795Smrg XIEvent *xievent = cookie->data; 9749b4ee4795Smrg ... 9750b4ee4795Smrg } else if (cookie->type == GenericEvent) { 9751b4ee4795Smrg /* handle generic event */ 9752b4ee4795Smrg } else { 9753b4ee4795Smrg /* handle extension/core event */ 9754b4ee4795Smrg } 9755b4ee4795Smrg XFreeEventData(display, cookie); 9756b4ee4795Smrg 9757b4ee4795Smrg Cookies are not multi-threading safe. Clients that use XGetEventData() must 9758b4ee4795Smrg lock between XNextEvent and XGetEventData to avoid other threads freeing 9759b4ee4795Smrg cookies. 9760b4ee4795Smrg 9761b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9762b4ee4795Smrg 9763b4ee4795Smrgcommit d7675cb8fa7155e7aff1459636a117a97aa1bf28 9764b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 9765b4ee4795SmrgDate: Mon Jul 6 13:17:35 2009 +1000 9766b4ee4795Smrg 9767b4ee4795Smrg Bump to 1.2.99.1 9768b4ee4795Smrg 9769b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 9770b4ee4795Smrg 97712e9c7c8cSmrgcommit 75fe48e7a42a685d7098e8d7108b9b956c471563 97722e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 97732e9c7c8cSmrgDate: Fri Jul 10 14:07:34 2009 +1000 97742e9c7c8cSmrg 97752e9c7c8cSmrg Bump to 1.2.2 97762e9c7c8cSmrg 97772e9c7c8cSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 97782e9c7c8cSmrg 97792e9c7c8cSmrgcommit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 97802e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 97812e9c7c8cSmrgDate: Thu Jul 2 09:10:25 2009 +1000 97822e9c7c8cSmrg 97832e9c7c8cSmrg XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 97842e9c7c8cSmrg 97852e9c7c8cSmrg GenericEvent cannot be selected for in the core event masks and they must 97862e9c7c8cSmrg thus be treated like extension events. 97872e9c7c8cSmrg 97882e9c7c8cSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 97892e9c7c8cSmrg 97902e9c7c8cSmrgcommit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 97912e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 97922e9c7c8cSmrgDate: Thu Jul 2 09:06:05 2009 +1000 97932e9c7c8cSmrg 97942e9c7c8cSmrg XWindowEvent/XCheckWindowEvent must not return GenericEvents. 97952e9c7c8cSmrg 97962e9c7c8cSmrg GenericEvents have no fixed position for the window, so they must be treated 97972e9c7c8cSmrg like extension events. 97982e9c7c8cSmrg 97992e9c7c8cSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 98002e9c7c8cSmrg 98012e9c7c8cSmrgcommit 38f9054554d63525d2dd51aafb5eb57821158ab9 98022e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 98032e9c7c8cSmrgDate: Mon Jun 15 19:00:43 2009 -0700 98042e9c7c8cSmrg 98052e9c7c8cSmrg Drop ancient USG SysV #ifdefs 98062e9c7c8cSmrg 98072e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 98082e9c7c8cSmrg 98092e9c7c8cSmrgcommit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 98102e9c7c8cSmrgAuthor: Adam Jackson <ajax@redhat.com> 98112e9c7c8cSmrgDate: Fri Jun 12 12:44:01 2009 -0400 98122e9c7c8cSmrg 98132e9c7c8cSmrg Remove X_NOT_STDC_ENV usage. (#6527) 98142e9c7c8cSmrg 98152e9c7c8cSmrgcommit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 98162e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 98172e9c7c8cSmrgDate: Fri May 29 11:18:11 2009 +0200 98182e9c7c8cSmrg 98192e9c7c8cSmrg nls: remove more duplicated aliases 98202e9c7c8cSmrg 98212e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 98222e9c7c8cSmrg 98232e9c7c8cSmrgcommit e4b0899f516da224010e68bd2d953d5293d94993 98242e9c7c8cSmrgAuthor: parag <parag@rawhideTM.pnq.redhat.com> 98252e9c7c8cSmrgDate: Thu May 28 11:29:35 2009 +0530 98262e9c7c8cSmrg 98272e9c7c8cSmrg nls: Add pa_PK locale information and make pa_IN as default for pa. 98282e9c7c8cSmrg 98292e9c7c8cSmrg X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 98302e9c7c8cSmrg 98312e9c7c8cSmrg [jcristau: removed the pa_PK.UTF-8 alias to itself] 98322e9c7c8cSmrg 98332e9c7c8cSmrg Signed-off-by: parag <pnemade@redhat.com> 98342e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 98352e9c7c8cSmrg 98362e9c7c8cSmrgcommit f0ea1f6d51145592f8617854f9320ec5dbff3299 98372e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 98382e9c7c8cSmrgDate: Fri May 29 10:58:20 2009 +0200 98392e9c7c8cSmrg 98402e9c7c8cSmrg nls: remove broken sd_IN.UTF-8 alias 98412e9c7c8cSmrg 98422e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 98432e9c7c8cSmrg 98442e9c7c8cSmrgcommit e29e010dabdb17d6498f2ef1786f69b8830c18ca 98452e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 98462e9c7c8cSmrgDate: Fri May 29 10:57:43 2009 +0200 98472e9c7c8cSmrg 98482e9c7c8cSmrg nls: remove duplicated en_US* aliases 98492e9c7c8cSmrg 98502e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 98512e9c7c8cSmrg 98522e9c7c8cSmrgcommit a89a300d87852c84389ad97db66dcb8930cb45dd 98532e9c7c8cSmrgAuthor: Caolan McNamara <caolanm@redhat.com> 98542e9c7c8cSmrgDate: Thu May 21 18:41:05 2009 +0200 98552e9c7c8cSmrg 98562e9c7c8cSmrg man: missing space in XAllocColor man page 98572e9c7c8cSmrg 98582e9c7c8cSmrg X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 98592e9c7c8cSmrg 98602e9c7c8cSmrgcommit c1c001e36504fd304f76f69bf6af3643225c49ea 98612e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com> 98622e9c7c8cSmrgDate: Wed May 13 13:03:54 2009 -0400 98632e9c7c8cSmrg 98642e9c7c8cSmrg [nls] Replace remaining UCS Combining Characters in Compose sequences. 98652e9c7c8cSmrg 98662e9c7c8cSmrg The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 98672e9c7c8cSmrg where the keysym is used as a dead_key, with an actual dead_key symbol. 98682e9c7c8cSmrg 98692e9c7c8cSmrg The only remaining instances of UCS combining characters in the 98702e9c7c8cSmrg compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 98712e9c7c8cSmrg used as a suffix in Multi_key-initiated sequences to create 98722e9c7c8cSmrg mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 98732e9c7c8cSmrg from ∈ U+2208 ELEMENT OF. 98742e9c7c8cSmrg 98752e9c7c8cSmrgcommit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 98762e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com> 98772e9c7c8cSmrgDate: Wed May 13 09:58:59 2009 -0400 98782e9c7c8cSmrg 98792e9c7c8cSmrg [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 98802e9c7c8cSmrg 98812e9c7c8cSmrg This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 98822e9c7c8cSmrg where the matching keysym is used as a dead_key, and for which alternative 98832e9c7c8cSmrg compose sequences exist. 98842e9c7c8cSmrg 98852e9c7c8cSmrgcommit 79f47e6dff2f0a0b673bbfecc47528edca814baa 98862e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com> 98872e9c7c8cSmrgDate: Fri May 8 20:11:54 2009 -0400 98882e9c7c8cSmrg 98892e9c7c8cSmrg [nls] Remove combining_ keysyms from the Compose files 98902e9c7c8cSmrg 98912e9c7c8cSmrg Some of the UTF-8 Compose tables included combining_ keysyms in 98922e9c7c8cSmrg the compose sequences as though they were dead symbols. This 98932e9c7c8cSmrg is contrary to how combining characters are used in the UCS. 98942e9c7c8cSmrg Therefore, those lines have been removed from the Compose tables. 98952e9c7c8cSmrg 98962e9c7c8cSmrg There were also some combining_ keysyms as targets. As those 98972e9c7c8cSmrg are not included in x11proto’s keysymdef.h, and as those do 98982e9c7c8cSmrg exist there as Uxxxx keysyms, they are replaced with the Uxxxx 98992e9c7c8cSmrg keysym names. 99002e9c7c8cSmrg 99012e9c7c8cSmrg This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 99022e9c7c8cSmrg and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 99032e9c7c8cSmrg 99042e9c7c8cSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 99052e9c7c8cSmrg 99062e9c7c8cSmrgcommit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 99072e9c7c8cSmrgAuthor: parag <pnemade@redhat.com> 99082e9c7c8cSmrgDate: Tue May 5 16:50:47 2009 +0530 99092e9c7c8cSmrg 99102e9c7c8cSmrg libX11: Add new Indic language information to nls directory files. #21560 99112e9c7c8cSmrg 99122e9c7c8cSmrg Signed-off-by: parag <pnemade@redhat.com> 99132e9c7c8cSmrg 99142e9c7c8cSmrgcommit aaf81096eb44b4c2812108721ba02738391884da 99152e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 99162e9c7c8cSmrgDate: Sat May 2 01:38:14 2009 -0700 99172e9c7c8cSmrg 99182e9c7c8cSmrg Correct return type in XkbGetKeyboard man page 99192e9c7c8cSmrg 99202e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 99212e9c7c8cSmrg 99222e9c7c8cSmrgcommit 2bef065b70f70af520b5de8fb23529254d15f003 99232e9c7c8cSmrgAuthor: Christoph Pfister <christophpfister@gmail.com> 99242e9c7c8cSmrgDate: Mon Apr 27 22:32:57 2009 -0700 99252e9c7c8cSmrg 99262e9c7c8cSmrg X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 99272e9c7c8cSmrg 99282e9c7c8cSmrg http://bugs.freedesktop.org/show_bug.cgi?id=21117 99292e9c7c8cSmrg 99302e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 99312e9c7c8cSmrg 99322e9c7c8cSmrgcommit 5c1cde105db10df24d3c532f032cbc59050c7313 99332e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 99342e9c7c8cSmrgDate: Fri Apr 17 22:14:47 2009 -0700 99352e9c7c8cSmrg 99362e9c7c8cSmrg Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 99372e9c7c8cSmrg 99382e9c7c8cSmrg Raises minimum autoconf version required to 2.60 99392e9c7c8cSmrg 99402e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 99412e9c7c8cSmrg 99422e9c7c8cSmrgcommit 84b7a91ef84f345384e4b0e13907385ca3ca3255 99432e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 99442e9c7c8cSmrgDate: Tue Apr 14 15:59:57 2009 +0100 99452e9c7c8cSmrg 99462e9c7c8cSmrg Fix fi_FI.UTF-8, again 99472e9c7c8cSmrg 99482e9c7c8cSmrg Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 99492e9c7c8cSmrg file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 99502e9c7c8cSmrg This reverts it back to using the en_US.UTF-8 one. 99512e9c7c8cSmrg 99522e9c7c8cSmrgcommit 128daff4422f973ea40dd1e31b2db230e643549e 99532e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 99542e9c7c8cSmrgDate: Thu Apr 9 12:01:07 2009 +0700 99552e9c7c8cSmrg 99562e9c7c8cSmrg Thai XIM not retrieve MB surrounding on UTF-8 LC 99572e9c7c8cSmrg 99582e9c7c8cSmrg On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 99592e9c7c8cSmrg that use X Input Method. 99602e9c7c8cSmrg 99612e9c7c8cSmrg This is because GTK+ imxim immodule passes surrounding text in locale encoding, 99622e9c7c8cSmrg which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 99632e9c7c8cSmrg multi-byte StringConversionText response for the StringConversionCallback to 99642e9c7c8cSmrg always be TIS-620, by retrieving a single byte and using it as-is. 99652e9c7c8cSmrg 99662e9c7c8cSmrg If the Thai XIM tries to convert the multi-byte text based on locale codeset 99672e9c7c8cSmrg before using it, it will work again. 99682e9c7c8cSmrg 99692e9c7c8cSmrg X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 99702e9c7c8cSmrg 99712e9c7c8cSmrg Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 99722e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 99732e9c7c8cSmrg 99742e9c7c8cSmrgcommit e09f0d227fbf95b6252759af9d426efd57686f9f 99752e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 99762e9c7c8cSmrgDate: Thu Apr 9 11:47:55 2009 +0700 99772e9c7c8cSmrg 99782e9c7c8cSmrg Thai XIM not filters when NumLock or CapsLock is on 99792e9c7c8cSmrg 99802e9c7c8cSmrg The Thai XIM component in libx11 activated on 'th*' locales normally filters 99812e9c7c8cSmrg input sequence according to orthographic rules. However, when NumLock/CapsLock 99822e9c7c8cSmrg is on, this stops working. All sequences are passed through. 99832e9c7c8cSmrg 99842e9c7c8cSmrg This is caused by missing masks in _XimThaiFilter(), which normally screens out 99852e9c7c8cSmrg certain special keys from entering orthographic rules. Unfortunately, this 99862e9c7c8cSmrg included events with NumLock/CapsLock on. Negating the masks from the check 99872e9c7c8cSmrg allows the events to be tested by the rules. 99882e9c7c8cSmrg 99892e9c7c8cSmrg X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 99902e9c7c8cSmrg 99912e9c7c8cSmrg Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 99922e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 99932e9c7c8cSmrg 99942e9c7c8cSmrgcommit d108d3c706af3502820b5202564488ea19908b77 99952e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 99962e9c7c8cSmrgDate: Thu Apr 9 11:25:25 2009 +0700 99972e9c7c8cSmrg 99982e9c7c8cSmrg CharSet-to-CompoundText Conversion Failed for Thai Locales 99992e9c7c8cSmrg 100002e9c7c8cSmrg SCIM fails to commit Thai input characters on Thai locales, because it commits 100012e9c7c8cSmrg string in compound text form, which was converted via 100022e9c7c8cSmrg XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 100032e9c7c8cSmrg declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 100042e9c7c8cSmrg src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 100052e9c7c8cSmrg So, declaring cs1 as ISO8859-11:GR instead makes it work. 100062e9c7c8cSmrg 100072e9c7c8cSmrg Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 100082e9c7c8cSmrg support for UTF-8 input. 100092e9c7c8cSmrg 100102e9c7c8cSmrg And, along discussion in the bug, a similar problem was found for fontset, too, 100112e9c7c8cSmrg by causing delays on X apps startups on systems without tis620-0 fonts. This 100122e9c7c8cSmrg is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 100132e9c7c8cSmrg by default for Thai X fonts. So, Thai fontset charset is also patched. 100142e9c7c8cSmrg 100152e9c7c8cSmrg X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 100162e9c7c8cSmrg 100172e9c7c8cSmrg Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 100182e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 100192e9c7c8cSmrg 100202e9c7c8cSmrgcommit fd62d3318c846cd43d66a505946e94704d7d83dc 100212e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 100222e9c7c8cSmrgDate: Wed Apr 8 19:42:25 2009 -0700 100232e9c7c8cSmrg 100242e9c7c8cSmrg Revert "Change masculine to ordmasculine in Compose file comments" 100252e9c7c8cSmrg 100262e9c7c8cSmrg This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 100272e9c7c8cSmrg 100282e9c7c8cSmrg As Julien Cristau correctly points out, I misread the Compose file grammar 100292e9c7c8cSmrg in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 100302e9c7c8cSmrg the keysym is named XK_masculine in keysymdef.h. This change is thus a 100312e9c7c8cSmrg bug in the Solaris compose tables to be fixed, not an improvement to bring 100322e9c7c8cSmrg upstream. 100332e9c7c8cSmrg 100342e9c7c8cSmrgcommit eac57c77afdf44f50692225b8b0345a7c927bc84 100352e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 100362e9c7c8cSmrgDate: Tue Apr 7 15:38:45 2009 -0700 100372e9c7c8cSmrg 100382e9c7c8cSmrg Version bump: 1.2.1 100392e9c7c8cSmrg 100402e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 100412e9c7c8cSmrg 100422e9c7c8cSmrgcommit bfbec08baec33c5024510b0bcbbee6e4a8473e79 100432e9c7c8cSmrgAuthor: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 100442e9c7c8cSmrgDate: Tue Apr 7 13:46:57 2009 -0700 100452e9c7c8cSmrg 100462e9c7c8cSmrg Bug 20773: Xcursor dynamic loading on Cygwin 100472e9c7c8cSmrg 100482e9c7c8cSmrg X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 100492e9c7c8cSmrg Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 100502e9c7c8cSmrg 100512e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 100522e9c7c8cSmrg 100532e9c7c8cSmrgcommit c8c41614911be4fa222fa22478677d263b41c751 100542e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 100552e9c7c8cSmrgDate: Mon Apr 6 16:52:46 2009 -0700 100562e9c7c8cSmrg 100572e9c7c8cSmrg Fix a several sparse warnings: Using plain integer as NULL pointer 100582e9c7c8cSmrg 100592e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 100602e9c7c8cSmrg 100612e9c7c8cSmrgcommit b336c3d0cc2aefc8926500cff5f76b5a3e803886 100622e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 100632e9c7c8cSmrgDate: Mon Apr 6 16:32:05 2009 -0700 100642e9c7c8cSmrg 100652e9c7c8cSmrg Further ansify prototypes & reduce #ifdefs in locking.c 100662e9c7c8cSmrg 100672e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 100682e9c7c8cSmrg 100692e9c7c8cSmrgcommit 892b401d5acc055803a20e349ede0d64490f2230 100702e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 100712e9c7c8cSmrgDate: Mon Apr 6 10:50:09 2009 -0700 100722e9c7c8cSmrg 100732e9c7c8cSmrg Change masculine to ordmasculine in Compose file comments 100742e9c7c8cSmrg 100752e9c7c8cSmrg Matches the ordfeminine name used for the matching character, 100762e9c7c8cSmrg and the ordmasculine name used in many font descriptions of the glyph. 100772e9c7c8cSmrg 100782e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 100792e9c7c8cSmrg 100802e9c7c8cSmrgcommit e3198b55dc16ec57346cc28aa8d34165ce8cde96 100812e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 100822e9c7c8cSmrgDate: Fri Mar 13 13:52:33 2009 +0100 100832e9c7c8cSmrg 100842e9c7c8cSmrg Add a ru_RU.UTF-8 locale 100852e9c7c8cSmrg 100862e9c7c8cSmrg Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 100872e9c7c8cSmrg 100882e9c7c8cSmrg Debian bug#330144 <http://bugs.debian.org/330144> 100892e9c7c8cSmrg X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 100902e9c7c8cSmrg 100912e9c7c8cSmrgcommit d239de9452691d6f875e6e5ace3d499ec3bf14d9 100922e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 100932e9c7c8cSmrgDate: Wed Mar 25 17:59:09 2009 -0700 100942e9c7c8cSmrg 100952e9c7c8cSmrg Delete some unused "#ifdef notdef" static functions 100962e9c7c8cSmrg 100972e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 100982e9c7c8cSmrg 100992e9c7c8cSmrgcommit 4281892e31058ef3aecc96a5767824b34d88d415 101002e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101012e9c7c8cSmrgDate: Wed Mar 25 17:52:48 2009 -0700 101022e9c7c8cSmrg 101032e9c7c8cSmrg Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 101042e9c7c8cSmrg 101052e9c7c8cSmrg This copy of Xrm.c is never compiled into the Xprint server any more, so 101062e9c7c8cSmrg this old code-sharing #ifdef from the monolith tree isn't needed. 101072e9c7c8cSmrg 101082e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101092e9c7c8cSmrg 101102e9c7c8cSmrgcommit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 101112e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101122e9c7c8cSmrgDate: Tue Mar 17 18:38:58 2009 -0700 101132e9c7c8cSmrg 101142e9c7c8cSmrg makekeys: combine malloc(strlen)+strcpy into strdup 101152e9c7c8cSmrg 101162e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101172e9c7c8cSmrg 101182e9c7c8cSmrgcommit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 101192e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101202e9c7c8cSmrgDate: Tue Mar 17 15:42:19 2009 -0700 101212e9c7c8cSmrg 101222e9c7c8cSmrg When makekeys fails to find a good hash, print error instead of divide-by-zero 101232e9c7c8cSmrg 101242e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101252e9c7c8cSmrg 101262e9c7c8cSmrgcommit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 101272e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101282e9c7c8cSmrgDate: Tue Mar 17 14:59:16 2009 -0700 101292e9c7c8cSmrg 101302e9c7c8cSmrg Remove ifdef checks for macII left over from ancient A/UX 3.0 support 101312e9c7c8cSmrg 101322e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101332e9c7c8cSmrg 101342e9c7c8cSmrgcommit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 101352e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101362e9c7c8cSmrgDate: Mon Mar 16 18:37:49 2009 -0700 101372e9c7c8cSmrg 101382e9c7c8cSmrg XErrorDB additions for DRI2 requests 101392e9c7c8cSmrg 101402e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101412e9c7c8cSmrg 101422e9c7c8cSmrgcommit 273f45af1441be9d2135e4cac8c46ceb33470236 101432e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101442e9c7c8cSmrgDate: Mon Mar 16 18:35:44 2009 -0700 101452e9c7c8cSmrg 101462e9c7c8cSmrg XErrorDB additions for XInput errors and new XInput 1.5 requests 101472e9c7c8cSmrg 101482e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101492e9c7c8cSmrg 101502e9c7c8cSmrgcommit 90ef36f6336068183bf9d13ca972202db35b1202 101512e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101522e9c7c8cSmrgDate: Mon Mar 16 18:23:05 2009 -0700 101532e9c7c8cSmrg 101542e9c7c8cSmrg XErrorDB additions for RANDR 1.3 101552e9c7c8cSmrg 101562e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101572e9c7c8cSmrg 101582e9c7c8cSmrgcommit 124a4efaccf329f1a44f6b824e70278bdd1cad83 101592e9c7c8cSmrgAuthor: Lubos Lunak <l.lunak@suse.cz> 101602e9c7c8cSmrgDate: Mon Mar 16 18:03:36 2009 -0700 101612e9c7c8cSmrg 101622e9c7c8cSmrg XErrorDB updates for XTEST, RANDR, DAMAGE extensions 101632e9c7c8cSmrg 101642e9c7c8cSmrg From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 101652e9c7c8cSmrg 101662e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101672e9c7c8cSmrg 101682e9c7c8cSmrgcommit 80811846e37b805fddb37c71589fd5f6f6037b3f 101692e9c7c8cSmrgAuthor: Lubos Lunak <l.lunak@suse.cz> 101702e9c7c8cSmrgDate: Mon Mar 16 17:57:52 2009 -0700 101712e9c7c8cSmrg 101722e9c7c8cSmrg XGetErrorText() fails for extension error codes equal to the error base 101732e9c7c8cSmrg 101742e9c7c8cSmrg From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 101752e9c7c8cSmrg 101762e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101772e9c7c8cSmrg 101782e9c7c8cSmrgcommit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 101792e9c7c8cSmrgAuthor: Milos Komarcevic <miloskomarcevic@netscape.net> 101802e9c7c8cSmrgDate: Mon Mar 16 17:43:26 2009 -0700 101812e9c7c8cSmrg 101822e9c7c8cSmrg Bug 11456: Serbian locale updates (sr_RS and sr_ME) 101832e9c7c8cSmrg 101842e9c7c8cSmrg X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 101852e9c7c8cSmrg Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 101862e9c7c8cSmrg 101872e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101882e9c7c8cSmrg 101892e9c7c8cSmrgcommit 934a6c0519a9e32505beee55b004f36c2a710217 101902e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 101912e9c7c8cSmrgDate: Mon Mar 16 14:55:22 2009 -0700 101922e9c7c8cSmrg 101932e9c7c8cSmrg Bug 10082: Compose entries for some standard mathematical operators 101942e9c7c8cSmrg 101952e9c7c8cSmrg X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 101962e9c7c8cSmrg 101972e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 101982e9c7c8cSmrg 101992e9c7c8cSmrgcommit abf4da1ed0f735ca7ce471dc13a0ec3677391486 102002e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 102012e9c7c8cSmrgDate: Mon Mar 16 14:27:46 2009 -0700 102022e9c7c8cSmrg 102032e9c7c8cSmrg Bug 14651: We need to add new locale specification for Belarusian Latin locale 102042e9c7c8cSmrg 102052e9c7c8cSmrg X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 102062e9c7c8cSmrg 102072e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102082e9c7c8cSmrg 102092e9c7c8cSmrgcommit 837703c8651e1321a50147a8311c56e4758ce08a 102102e9c7c8cSmrgAuthor: Caolan McNamara <caolanm@redhat.com> 102112e9c7c8cSmrgDate: Mon Mar 16 14:15:50 2009 -0700 102122e9c7c8cSmrg 102132e9c7c8cSmrg Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 102142e9c7c8cSmrg 102152e9c7c8cSmrg X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 102162e9c7c8cSmrg Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 102172e9c7c8cSmrg 102182e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102192e9c7c8cSmrg 102202e9c7c8cSmrgcommit 22199018879055d8653e59d8236bef57164fac66 102212e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 102222e9c7c8cSmrgDate: Mon Mar 16 13:28:18 2009 -0700 102232e9c7c8cSmrg 102242e9c7c8cSmrg Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 102252e9c7c8cSmrg 102262e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102272e9c7c8cSmrg 102282e9c7c8cSmrgcommit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 102292e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 102302e9c7c8cSmrgDate: Thu Mar 12 18:57:20 2009 -0700 102312e9c7c8cSmrg 102322e9c7c8cSmrg Bug 9953: Please provide locale alias hu_HU.utf8 102332e9c7c8cSmrg 102342e9c7c8cSmrg X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 102352e9c7c8cSmrg Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 102362e9c7c8cSmrg 102372e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102382e9c7c8cSmrg 102392e9c7c8cSmrgcommit 501f4e0ada1690783ada05ad412e4b191ad55336 102402e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 102412e9c7c8cSmrgDate: Thu Mar 12 17:38:21 2009 -0700 102422e9c7c8cSmrg 102432e9c7c8cSmrg Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 102442e9c7c8cSmrg 102452e9c7c8cSmrg X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 102462e9c7c8cSmrg Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 102472e9c7c8cSmrg 102482e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102492e9c7c8cSmrg 102502e9c7c8cSmrgcommit 7b9c543e7210c7da204871c31a160e79d3a949b6 102512e9c7c8cSmrgAuthor: Paul Bender <pebender@gmail.com> 102522e9c7c8cSmrgDate: Thu Mar 12 17:11:42 2009 -0700 102532e9c7c8cSmrg 102542e9c7c8cSmrg Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 102552e9c7c8cSmrg 102562e9c7c8cSmrg X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 102572e9c7c8cSmrg Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 102582e9c7c8cSmrg 102592e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102602e9c7c8cSmrg 102612e9c7c8cSmrgcommit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 102622e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 102632e9c7c8cSmrgDate: Wed Mar 4 19:32:29 2009 -0800 102642e9c7c8cSmrg 102652e9c7c8cSmrg Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 102662e9c7c8cSmrg 102672e9c7c8cSmrg Sun bug 6809309 Add new utf8 locales supported by Xlib 102682e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 102692e9c7c8cSmrg 102702e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102712e9c7c8cSmrg 102722e9c7c8cSmrgcommit cb70c9bc43267577859a3674ca9de9be396ba69e 102732e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 102742e9c7c8cSmrgDate: Mon Feb 23 19:29:15 2009 -0800 102752e9c7c8cSmrg 102762e9c7c8cSmrg Add --with-locale-lib-dir configure option to set locale lib install dir 102772e9c7c8cSmrg 102782e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102792e9c7c8cSmrg 102802e9c7c8cSmrgcommit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 102812e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 102822e9c7c8cSmrgDate: Mon Feb 23 18:33:51 2009 -0800 102832e9c7c8cSmrg 102842e9c7c8cSmrg Incorporate more locale names/aliases from Solaris libX11 102852e9c7c8cSmrg 102862e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102872e9c7c8cSmrg 102882e9c7c8cSmrgcommit 83ce4daefdf544f801c7d666c89162690a36ce41 102892e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 102902e9c7c8cSmrgDate: Mon Feb 23 18:32:34 2009 -0800 102912e9c7c8cSmrg 102922e9c7c8cSmrg Incorporate char range comments from Solaris version of ksc5601.h 102932e9c7c8cSmrg 102942e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 102952e9c7c8cSmrg 102962e9c7c8cSmrgcommit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 102972e9c7c8cSmrgAuthor: Chris Ball <cjb@laptop.org> 102982e9c7c8cSmrgDate: Sat Feb 21 14:48:42 2009 -0500 102992e9c7c8cSmrg 103002e9c7c8cSmrg Fix fi_FI locale install directory. 103012e9c7c8cSmrg 103022e9c7c8cSmrg fi_FI was setting "x11thislocaledir" to en_US, with the result that its 103032e9c7c8cSmrg locale data was written in that locale dir. 103042e9c7c8cSmrg 103052e9c7c8cSmrg Signed-off-by: Chris Ball <cjb@laptop.org> 103062e9c7c8cSmrg 103072e9c7c8cSmrgcommit da6bbca07c796c69172a649405474f03bee66754 103082e9c7c8cSmrgAuthor: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 103092e9c7c8cSmrgDate: Sat Feb 21 20:17:23 2009 +0100 103102e9c7c8cSmrg 103112e9c7c8cSmrg xcb_io: Avoid datatype overflow on AMD64 and friends. 103122e9c7c8cSmrg 103132e9c7c8cSmrgcommit 4ef6491afa69e8441caee7bbebc583e6e796275e 103142e9c7c8cSmrgAuthor: Chris Ball <cjb@laptop.org> 103152e9c7c8cSmrgDate: Sat Feb 21 12:51:03 2009 -0500 103162e9c7c8cSmrg 103172e9c7c8cSmrg Build fix for fi_FI. 103182e9c7c8cSmrg 103192e9c7c8cSmrg Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 103202e9c7c8cSmrg Makefile is written there by configure. 103212e9c7c8cSmrg 103222e9c7c8cSmrg Signed-off-by: Chris Ball <cjb@laptop.org> 103232e9c7c8cSmrg 103242e9c7c8cSmrgcommit 642c4e928e770e012379539a6ce09e11c02f09a6 103252e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 103262e9c7c8cSmrgDate: Sat Feb 21 03:12:05 2009 +0100 103272e9c7c8cSmrg 103282e9c7c8cSmrg nls: actually use the fi_FI.UTF-8 files 103292e9c7c8cSmrg 103302e9c7c8cSmrg The subdir wasn't added to nls/Makefile.am 103312e9c7c8cSmrg 103322e9c7c8cSmrgcommit 9bad8309ef289bb943651abf6967b24fa2252aac 103332e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 103342e9c7c8cSmrgDate: Fri Feb 20 14:45:54 2009 -0800 103352e9c7c8cSmrg 103362e9c7c8cSmrg flags member of Display structure needs to be marked volatile 103372e9c7c8cSmrg 103382e9c7c8cSmrg Since the Xlib multithreaded code checks the flags variable in _XFlushInt 103392e9c7c8cSmrg to see if the other threads are done yet, it has to be marked volatile so 103402e9c7c8cSmrg the compiler doesn't optimize out re-loading it on each trip through the 103412e9c7c8cSmrg while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 103422e9c7c8cSmrg 103432e9c7c8cSmrg Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 103442e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 103452e9c7c8cSmrg 103462e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 103472e9c7c8cSmrg 103482e9c7c8cSmrgcommit ef5c446395aa30d7b1096a112e241a81c5b358e7 103492e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 103502e9c7c8cSmrgDate: Fri Feb 20 15:12:35 2009 -0800 103512e9c7c8cSmrg 103522e9c7c8cSmrg Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 103532e9c7c8cSmrg 103542e9c7c8cSmrg Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 103552e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 103562e9c7c8cSmrg 103572e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 103582e9c7c8cSmrg 103592e9c7c8cSmrgcommit 3822f2654e9630167f0c6cae317b472c09771672 103602e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 103612e9c7c8cSmrgDate: Fri Feb 20 15:03:51 2009 -0800 103622e9c7c8cSmrg 103632e9c7c8cSmrg Add locale aliases for no_NO & sh_BA locale variants 103642e9c7c8cSmrg 103652e9c7c8cSmrg Fixes Sun bug id 6691219: xterm refuses to start in some locales 103662e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 103672e9c7c8cSmrg 103682e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 103692e9c7c8cSmrg 103702e9c7c8cSmrgcommit 63b6b5b5f522c0a606b32163c643edb64ca91d54 103712e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 103722e9c7c8cSmrgDate: Fri Feb 20 14:23:11 2009 -0800 103732e9c7c8cSmrg 103742e9c7c8cSmrg Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 103752e9c7c8cSmrg 103762e9c7c8cSmrg Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 103772e9c7c8cSmrg changing keyboard layout with gimlet does not work") 103782e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 103792e9c7c8cSmrg 103802e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 103812e9c7c8cSmrg 1038261b2299dSmrgcommit d497301707962f3b94542e999a36abffcfbd303d 1038361b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1038461b2299dSmrgDate: Tue Feb 17 16:09:41 2009 +0100 1038561b2299dSmrg 1038661b2299dSmrg Bump to 1.2 1038761b2299dSmrg 1038861b2299dSmrgcommit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 1038961b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1039061b2299dSmrgDate: Tue Feb 17 15:23:40 2009 +0100 1039161b2299dSmrg 1039261b2299dSmrg Check Xmalloc return value in _XConnectXCB 1039361b2299dSmrg 1039461b2299dSmrg X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 1039561b2299dSmrg 1039661b2299dSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 1039761b2299dSmrg 1039861b2299dSmrgcommit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 1039961b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1040061b2299dSmrgDate: Sat Feb 14 12:35:56 2009 -0500 1040161b2299dSmrg 1040261b2299dSmrg dolt: allow older versions of bash to compile the library 1040361b2299dSmrg 1040461b2299dSmrg Cf xserver commit 7be6520d and bugzilla #19031. 1040561b2299dSmrg 1040661b2299dSmrgcommit 20982d6866e24453642b0b592fa0f13a88aa747c 1040761b2299dSmrgAuthor: Will Thompson <will@willthompson.co.uk> 1040861b2299dSmrgDate: Thu Feb 5 02:53:06 2009 +1100 1040961b2299dSmrg 1041061b2299dSmrg NLS: Compose: Non-aliasing CCCP 1041161b2299dSmrg 1041261b2299dSmrg Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 1041361b2299dSmrg 1041461b2299dSmrg Signed-off-by: Will Thompson <will@willthompson.co.uk> 1041561b2299dSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 1041661b2299dSmrg 1041761b2299dSmrgcommit f052665394f3f0319e93a98f1d5d4ea287e1dd07 1041861b2299dSmrgAuthor: Will Thompson <will@willthompson.co.uk> 1041961b2299dSmrgDate: Wed Feb 4 14:51:11 2009 +0000 1042061b2299dSmrg 1042161b2299dSmrg Add two essential compose sequences 1042261b2299dSmrg 1042361b2299dSmrg Signed-off-by: Will Thompson <will@willthompson.co.uk> 1042461b2299dSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1042561b2299dSmrg 1042661b2299dSmrgcommit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 1042761b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1042861b2299dSmrgDate: Mon Feb 2 20:34:31 2009 -0800 1042961b2299dSmrg 1043061b2299dSmrg Add README with pointers to mailing list, bugzilla & git repos 1043161b2299dSmrg 1043261b2299dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1043361b2299dSmrg 1043461b2299dSmrgcommit f682c27e93512773122887d2cbabb1657af45d2e 1043561b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1043661b2299dSmrgDate: Mon Feb 2 16:36:39 2009 -0200 1043761b2299dSmrg 1043861b2299dSmrg Check if a function argument is NULL. 1043961b2299dSmrg 1044061b2299dSmrg This was an addition to patch (also by me) 1044161b2299dSmrg https://bugs.freedesktop.org/attachment.cgi?id=14660 1044261b2299dSmrg that was not added when rediscovering/correcting the problem. 1044361b2299dSmrg 1044461b2299dSmrgcommit 427e9d45d424b84efd9fc499aebf8d72392844c5 1044561b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1044661b2299dSmrgDate: Thu Feb 28 15:58:12 2008 -0300 1044761b2299dSmrg 1044861b2299dSmrg Allow multiple inclusions of cursorfont.h, cosmetic patch. 1044961b2299dSmrg 1045061b2299dSmrgcommit b91524a53e691f6a5d278fd8972b48a14ebeedeb 1045161b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1045261b2299dSmrgDate: Thu Feb 28 15:54:43 2008 -0300 1045361b2299dSmrg 1045461b2299dSmrg Don't add prototypes for functions that don't exist. 1045561b2299dSmrg 1045661b2299dSmrg Note that a full review was not done, only for functions that receive 1045761b2299dSmrg char/short arguments, or one of it's parameters is a function pointer 1045861b2299dSmrg that requires char/short arguments. 1045961b2299dSmrg 1046061b2299dSmrgcommit 537eb52fe266ac439c4b383bb04a70017b709911 1046161b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1046261b2299dSmrgDate: Thu Feb 28 15:50:27 2008 -0300 1046361b2299dSmrg 1046461b2299dSmrg WORD64 compile fix. This bug catched on a overview of the code. 1046561b2299dSmrg 1046661b2299dSmrg The code is wrong since the first git revision, so it seens that it has 1046761b2299dSmrg not been compiled with WORD64 for quite some time, there is also another 1046861b2299dSmrg interesting code in xkb/XKBRdBuf.c: 1046961b2299dSmrg <hash>ifdef WORD64 1047061b2299dSmrg _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 1047161b2299dSmrg <hash>endif 1047261b2299dSmrg and possibly there are other similar problems. 1047361b2299dSmrg 1047461b2299dSmrgcommit ffd0300fb74c6183208ae599133f2ded09e08d97 1047561b2299dSmrgAuthor: Brian Rogers <brian@xyzw.org> 1047661b2299dSmrgDate: Sat Jan 31 10:37:51 2009 -0800 1047761b2299dSmrg 1047861b2299dSmrg Initialize event_notify after allocating the memory for it. 1047961b2299dSmrg 1048061b2299dSmrg An uninitialized or otherwise invalid condition variable can apparently 1048161b2299dSmrg cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 1048261b2299dSmrg at least are freezing as a result of event_notify never being initialized. 1048361b2299dSmrg 1048461b2299dSmrg Signed-off-by: Brian Rogers <brian@xyzw.org> 1048561b2299dSmrg Signed-off-by: Bart Massey <bart@cs.pdx.edu> 1048661b2299dSmrg 1048761b2299dSmrgcommit 97fc6babd4ccaf300e25708868aa2a738893dc30 1048861b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1048961b2299dSmrgDate: Thu Jan 29 20:10:41 2009 -0500 1049061b2299dSmrg 1049161b2299dSmrg NLS: Add UTF-8 compose file for Finnish 1049261b2299dSmrg 1049361b2299dSmrg From bug report: 1049461b2299dSmrg 1049561b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=18747 1049661b2299dSmrg 1049761b2299dSmrgcommit 1bd2966ed88f83479a066c6ca7da23a515979550 1049861b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1049961b2299dSmrgDate: Thu Jan 29 20:25:15 2009 -0200 1050061b2299dSmrg 1050161b2299dSmrg patches to avoid gcc warnings for libX11 (#4) 1050261b2299dSmrg 1050361b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1050461b2299dSmrg Bug #17946, attachment #19443 1050561b2299dSmrg 1050661b2299dSmrg This patch avoids the gcc warning 1050738ae11fcSmrg ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 1050861b2299dSmrg (same as already done at other places) 1050961b2299dSmrg 1051061b2299dSmrg BTW: what is the difference between XIM (the type of ic->core.im) 1051161b2299dSmrg and Xim ? 1051261b2299dSmrg 1051361b2299dSmrgcommit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 1051461b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1051561b2299dSmrgDate: Thu Jan 29 20:22:21 2009 -0200 1051661b2299dSmrg 1051761b2299dSmrg patches to avoid gcc warnings for libX11 (#3) 1051861b2299dSmrg 1051961b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1052061b2299dSmrg Bug #17946, attachment #19441 1052161b2299dSmrg 1052261b2299dSmrg This patch avoids the two gcc warnings 1052338ae11fcSmrg ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 1052438ae11fcSmrg ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 1052561b2299dSmrg 1052661b2299dSmrg Note, that this as a rather crude fix of the problem (and it is really a 1052761b2299dSmrg shame to cast name_table to non-const). 1052861b2299dSmrg 1052961b2299dSmrg The right solution would be to declare XIMValuesList.supported_values 1053061b2299dSmrg (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 1053161b2299dSmrg This will, however, require extensive modifications in various places. 1053261b2299dSmrg 1053361b2299dSmrgcommit cce75c5dce73fe1f8626ed9e6798138ada09a860 1053461b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1053561b2299dSmrgDate: Thu Jan 29 20:20:18 2009 -0200 1053661b2299dSmrg 1053761b2299dSmrg patches to avoid gcc warnings for libX11 (#2) 1053861b2299dSmrg 1053961b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1054061b2299dSmrg Bug #17946, attachment #19440 1054161b2299dSmrg 1054261b2299dSmrg Avoid a preprocessor message 1054338ae11fcSmrg <stdin>:194: warning: no newline at end of file 1054461b2299dSmrg 1054561b2299dSmrg Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 1054661b2299dSmrg seem to be caused by a truncated (or otherwise incomplete) 1054761b2299dSmrg manpage. 1054861b2299dSmrg 1054961b2299dSmrgcommit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 1055061b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1055161b2299dSmrgDate: Thu Jan 29 20:12:24 2009 -0200 1055261b2299dSmrg 1055361b2299dSmrg patches to avoid gcc warnings for libX11 (#1) 1055461b2299dSmrg 1055561b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1055661b2299dSmrg Bug #17946, attachment #19439 1055761b2299dSmrg 1055861b2299dSmrg Define as 1 (one) as done by autoconf and the command line 1055961b2299dSmrg option, e.g. -DX11_t, not as empty. 1056061b2299dSmrg 1056161b2299dSmrg This avoids the gcc (3.4.6) warnings: 1056238ae11fcSmrg ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 1056338ae11fcSmrg <command line>:7:1: warning: this is the location of the previous definition 1056438ae11fcSmrg ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 1056538ae11fcSmrg <command line>:8:1: warning: this is the location of the previous definition 1056661b2299dSmrg 1056761b2299dSmrg Similarly, follow the autoconf convention to define XTHREADS 1056861b2299dSmrg and XUSE_MTSAFE_API as one. 1056961b2299dSmrg 1057061b2299dSmrg This avoids analogous warnings when compiling libXcomposite, 1057161b2299dSmrg libXcursor, and libXdamage. 1057261b2299dSmrg 1057361b2299dSmrg No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 1057461b2299dSmrg 1057561b2299dSmrgcommit a1977883c9f5ef0e515569d6e2ebccb07411f98c 1057661b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1057761b2299dSmrgDate: Thu Jan 29 15:01:06 2009 -0200 1057861b2299dSmrg 1057961b2299dSmrg Janitor: Correct some gcc/sparse warnings. 1058061b2299dSmrg 1058161b2299dSmrg Most remaining warnings are about XIM/Xim to/from conversion 1058261b2299dSmrg and discarding const from pointers. 1058361b2299dSmrg 1058461b2299dSmrgcommit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 1058561b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1058661b2299dSmrgDate: Wed Jan 28 20:31:42 2009 -0200 1058761b2299dSmrg 1058861b2299dSmrg Janitor: ansification, make distcheck, compiler warnings. 1058961b2299dSmrg 1059061b2299dSmrg Only convert to use "ansi prototypes" the functions warned from 1059161b2299dSmrg compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 1059261b2299dSmrg 1059361b2299dSmrg Also, only address "trivial" compiler warning fixes in this commit. 1059461b2299dSmrg 1059561b2299dSmrg The new .gitignore is the output of a command like: 1059661b2299dSmrg % find . -name .gitignore -exec cat {} \; | sort | uniq 1059761b2299dSmrg and only the toplevel .gitignore file was kept. 1059861b2299dSmrg 1059961b2299dSmrgcommit 091c1624fd2f9d933329d6152e4ecd865aa7903a 1060061b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 1060161b2299dSmrgDate: Tue Jan 13 12:05:54 2009 +1000 1060261b2299dSmrg 1060361b2299dSmrg Fix wrong implies symbol. 1060461b2299dSmrg 1060561b2299dSmrg Quote Simos Xenitellis: 1060661b2299dSmrg > I checked the gtk+ commit logs that go back to 2000, and I see that still it 1060761b2299dSmrg > was 1060861b2299dSmrg > 1060961b2299dSmrg > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 1061061b2299dSmrg > DOUBLE ARROW */ 1061161b2299dSmrg > 1061261b2299dSmrg > In XFree86, it appears there was an error when they converted the 1061361b2299dSmrg > original table to 1061461b2299dSmrg > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 1061561b2299dSmrg > and the problem still shows up there (November 2000). 1061661b2299dSmrg 1061761b2299dSmrg http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 1061861b2299dSmrg 1061961b2299dSmrg Reported by Erik Streb del Toro. 1062061b2299dSmrg 1062161b2299dSmrgcommit e32521f19e0b07649b7e3a03d56a2bd556b138fb 1062261b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1062361b2299dSmrgDate: Sun Dec 7 04:13:34 2008 -0500 1062461b2299dSmrg 1062561b2299dSmrg [i18n] s/U00DC/Udiaeresis/g 1062661b2299dSmrg 1062761b2299dSmrg The xkeyboard-config keyboards generate the symbol Udiaeresis, not 1062861b2299dSmrg U00DC. Make sure the relevant Compose sequences expect the symbol 1062961b2299dSmrg which the keyboards actually send. 1063061b2299dSmrg 1063161b2299dSmrgcommit b7502abfe22f8dc009b21cda1172af221d8f9f32 1063261b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1063361b2299dSmrgDate: Sun Dec 7 04:09:46 2008 -0500 1063461b2299dSmrg 1063561b2299dSmrg Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 1063661b2299dSmrg 1063761b2299dSmrg As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 1063861b2299dSmrg 1063961b2299dSmrg This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 1064061b2299dSmrg 1064161b2299dSmrgcommit c9d20e3f697c9cfae5511412023362c1db7449b1 1064261b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1064361b2299dSmrgDate: Sun Dec 7 04:08:23 2008 -0500 1064461b2299dSmrg 1064561b2299dSmrg Use C comments rather than initial doubled hashes to exclude lines from .pre files 1064661b2299dSmrg 1064761b2299dSmrgcommit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 1064861b2299dSmrgAuthor: vehemens <vehemens@verizon.net> 1064961b2299dSmrgDate: Sun Dec 7 01:18:26 2008 -0500 1065061b2299dSmrg 1065161b2299dSmrg [i18n] Distribute new headers which were added for gb18030 support. 1065261b2299dSmrg 1065361b2299dSmrg big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 1065461b2299dSmrg make it into the tar. 1065561b2299dSmrg 1065661b2299dSmrg Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 1065761b2299dSmrg 1065861b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1065961b2299dSmrg 1066061b2299dSmrgcommit 418819558d2c60e58b4e3022ce0fadf2143488ac 1066161b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de> 1066261b2299dSmrgDate: Sat Nov 22 22:01:07 2008 +0100 1066361b2299dSmrg 1066461b2299dSmrg Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 1066561b2299dSmrg 1066661b2299dSmrgcommit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 1066761b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de> 1066861b2299dSmrgDate: Sat Nov 22 19:40:54 2008 +0100 1066961b2299dSmrg 1067061b2299dSmrg Added remaining xlib patch required for gb18030 support (#1573). 1067161b2299dSmrg 1067261b2299dSmrgcommit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 1067361b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de> 1067461b2299dSmrgDate: Sat Nov 22 17:53:06 2008 +0100 1067561b2299dSmrg 1067661b2299dSmrg Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 1067761b2299dSmrg 1067861b2299dSmrgcommit c859446c500c883a67f7a86cab1a44844e24dade 1067961b2299dSmrgAuthor: Ken Thomases <ken@codeweavers.com> 1068061b2299dSmrgDate: Fri Nov 21 13:58:10 2008 -0500 1068161b2299dSmrg 1068261b2299dSmrg [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 1068361b2299dSmrg 1068461b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1068561b2299dSmrg 1068661b2299dSmrgcommit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 1068761b2299dSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 1068861b2299dSmrgDate: Mon Nov 17 20:47:26 2008 -0800 1068961b2299dSmrg 1069061b2299dSmrg Force local transport when using the launchd socket. 1069161b2299dSmrg 1069261b2299dSmrg Fixes a regression due to 1069361b2299dSmrg bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 1069461b2299dSmrg 1069561b2299dSmrgcommit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 1069661b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1069761b2299dSmrgDate: Fri Nov 14 10:32:50 2008 +1000 1069861b2299dSmrg 1069961b2299dSmrg Add XF86Suspend, XF86Hibernate to KeysymDB. 1070061b2299dSmrg 1070161b2299dSmrgcommit d16b11f25f8265e651def8d80bcd430c0448e664 1070261b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1070361b2299dSmrgDate: Tue Nov 11 19:43:39 2008 -0500 1070461b2299dSmrg 1070561b2299dSmrg [nls] Annotate the Bépo compose sequences 1070661b2299dSmrg 1070761b2299dSmrg Add comments with the UCS names. 1070861b2299dSmrg Add utf-8 strings for each result. 1070961b2299dSmrg Format for easy reading. 1071061b2299dSmrg 1071161b2299dSmrgcommit 730298464240be6f65b32416b3f9b20062c61825 1071261b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1071361b2299dSmrgDate: Tue Nov 11 16:41:34 2008 -0500 1071461b2299dSmrg 1071561b2299dSmrg [nls] Add some UTF-8 Compose sequences 1071661b2299dSmrg 1071761b2299dSmrg As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 1071861b2299dSmrg 1071961b2299dSmrg Cf. bugs: 1072061b2299dSmrg 1072161b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=17821 1072261b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=17822 1072361b2299dSmrg 1072461b2299dSmrgcommit ad6008a0c92733826983eb93f063d3d6276007d8 1072561b2299dSmrgAuthor: Colin Harrison <colin.harrison@virgin.net> 1072661b2299dSmrgDate: Thu Nov 6 17:48:21 2008 -0500 1072761b2299dSmrg 1072861b2299dSmrg Fix copy/paste typo in imLcPrs 1072961b2299dSmrg 1073061b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1073161b2299dSmrg 1073261b2299dSmrgcommit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 1073361b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1073461b2299dSmrgDate: Thu Nov 6 14:54:13 2008 -0500 1073561b2299dSmrg 1073661b2299dSmrg Fix leak in _XimXGetReadData 1073761b2299dSmrg 1073861b2299dSmrg Spotted by Denis Dzyubenko 1073961b2299dSmrg 1074061b2299dSmrgcommit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 1074161b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1074261b2299dSmrgDate: Wed Nov 5 22:09:37 2008 +0100 1074361b2299dSmrg 1074461b2299dSmrg Bump to 1.1.99.2 1074561b2299dSmrg 1074661b2299dSmrgcommit d31e644c65c52828ea3e7abd94a8cf9aee12265c 1074761b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1074861b2299dSmrgDate: Wed Nov 5 21:33:13 2008 +0100 1074961b2299dSmrg 1075061b2299dSmrg Fix distcheck 1075161b2299dSmrg 1075261b2299dSmrgcommit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 1075361b2299dSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1075461b2299dSmrgDate: Wed Oct 29 14:00:33 2008 -0700 1075561b2299dSmrg 1075661b2299dSmrg Support multiple independent internal sync handlers 1075761b2299dSmrg 1075861b2299dSmrg Xlib has several independent tasks that need to be performed with the 1075961b2299dSmrg display unlocked. It does this by replacing the existing sync handler with 1076061b2299dSmrg one of a variety of internal sync handlers. However, if multiple internal 1076161b2299dSmrg sync handlers need to run, then the last one registering wins and 1076261b2299dSmrg previously registered internal sync handlers are never invoked. This 1076361b2299dSmrg manifested as a bug with DRI applications on Xlib/XCB as that requires 1076461b2299dSmrg both an XID handler after every XID allocation, and the periodic sequence 1076561b2299dSmrg number handler. The XID handler would win, and the sequence number handler 1076661b2299dSmrg would never be invoked. 1076761b2299dSmrg 1076861b2299dSmrg Fix this by unifying the internal sync handler mechanism into a single 1076961b2299dSmrg function that calls all of the known internal sync handlers. They all need 1077061b2299dSmrg to deal with being called when not strictly necessary now. 1077161b2299dSmrg 1077261b2299dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1077361b2299dSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1077461b2299dSmrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 1077561b2299dSmrg 1077661b2299dSmrgcommit 2dbaaab9c4e3894b33dcae850551dee5473431d5 1077761b2299dSmrgAuthor: Keith Packard <keithp@keithp.com> 1077861b2299dSmrgDate: Sat Oct 11 21:44:21 2008 -0700 1077961b2299dSmrg 1078061b2299dSmrg Ensure that _XReadEvents always leaves an event in the queue on return 1078161b2299dSmrg 1078261b2299dSmrg XNextEvent assumes that the event queue will be non-empty on return from 1078361b2299dSmrg _XReadEvents, but with multiple event readers running, the previous change 1078461b2299dSmrg could leave the queue empty on return from process_responses. Re-invoke 1078561b2299dSmrg process_responses until the queue is non-empty. 1078661b2299dSmrg 1078761b2299dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1078861b2299dSmrg 1078961b2299dSmrgcommit bedfe68259037c5564fe52758c92b9c97729640a 1079061b2299dSmrgAuthor: Keith Packard <keithp@keithp.com> 1079161b2299dSmrgDate: Sat Oct 11 21:10:23 2008 -0700 1079261b2299dSmrg 1079361b2299dSmrg Permit only one Xlib thread to block waiting for events 1079461b2299dSmrg 1079561b2299dSmrg As Xlib queues events internally, we must prevent multiple Xlib threads from 1079661b2299dSmrg entering XCB to wait for an event in case the queued event is to be 1079761b2299dSmrg delivered to the thread which didn't manage to read it. In other words, let 1079861b2299dSmrg only one Xlib thread into xcb_wait_for_event at a time. 1079961b2299dSmrg 1080061b2299dSmrg Jamey Sharp looked over my shoulder while making this fix and, while hating 1080161b2299dSmrg my whitespace conventions, appears happy enough with the actual code. 1080261b2299dSmrg 1080361b2299dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1080461b2299dSmrg 1080561b2299dSmrgcommit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 1080661b2299dSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1080761b2299dSmrgDate: Sun Mar 23 16:33:50 2008 -0700 1080861b2299dSmrg 1080961b2299dSmrg Fix XAllocID race: hold the user display lock until we have a new XID. 1081061b2299dSmrg 1081161b2299dSmrg Xlib built --without-xcb is also vulnerable to this race, and a similar 1081261b2299dSmrg fix might work there too. 1081361b2299dSmrg 1081461b2299dSmrg Also, use an XID that's truly invalid while waiting for the next XID to be 1081561b2299dSmrg requested. 1081661b2299dSmrg 1081761b2299dSmrgcommit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 1081861b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org> 1081961b2299dSmrgDate: Sat Mar 15 17:22:23 2008 -0700 1082061b2299dSmrg 1082161b2299dSmrg Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 1082261b2299dSmrg 1082361b2299dSmrg Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 1082461b2299dSmrg requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 1082561b2299dSmrg Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 1082661b2299dSmrg had to flush its requests when unlocking the display. 1082761b2299dSmrg 1082861b2299dSmrg XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 1082961b2299dSmrg much of the existing Xlib/XCB implementation with the use of 1083061b2299dSmrg xcb_take_socket to take ownership of the write side of the X connection 1083161b2299dSmrg socket, and a return_socket callback which writes any outstanding requests 1083261b2299dSmrg with xcb_writev. This approach allows Xlib/XCB to use the same buffering 1083361b2299dSmrg as traditional Xlib did. In particular, programs which use Xlib/XCB and 1083461b2299dSmrg never make XCB calls will never need to hand the socket back to XCB, and 1083561b2299dSmrg vice versa. 1083661b2299dSmrg 1083761b2299dSmrg This allows us to discard large quantities of synchronization code from 1083861b2299dSmrg Xlib/XCB, together with the synchronization bugs present in that code. 1083961b2299dSmrg Several test cases which previously failed now work perfectly, including 1084061b2299dSmrg multi-threaded ico. In addition, the infamous locking correctness 1084161b2299dSmrg assertions, triggered when double-locking or when unlocking without a 1084261b2299dSmrg previous lock, no longer exist, because Xlib/XCB no longer has any reason 1084361b2299dSmrg to care more about application locking than traditional Xlib does. 1084461b2299dSmrg 1084561b2299dSmrg Furthermore, the handoff approach provides great improvements to 1084661b2299dSmrg performance. Results from x11perf's XNoOp test, which represented the 1084761b2299dSmrg worst case for the lock-based Xlib/XCB: 1084861b2299dSmrg 1084961b2299dSmrg Traditional Xlib: average 19100000/sec 1085061b2299dSmrg Lock-based Xlib/XCB: average 3350000/sec 1085161b2299dSmrg Handoff-based Xlib/XCB: average 17400000/sec 1085261b2299dSmrg 1085361b2299dSmrg Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 1085461b2299dSmrg Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 1085561b2299dSmrg performance. Of course, real-world workloads do not use no-op, so your 1085661b2299dSmrg mileage may vary. In particular, since no-ops represent the worst case, 1085761b2299dSmrg we expect real workloads to more closely match the performance of 1085861b2299dSmrg traditional Xlib. 1085961b2299dSmrg 1086061b2299dSmrg While removing synchronization code, we changed _XReply to not drop any 1086161b2299dSmrg locks when calling xcb_wait_for_reply; previously, we had to carefully 1086261b2299dSmrg avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 1086361b2299dSmrg the locks reduces implementation complexity and should not impact 1086461b2299dSmrg applications. 1086561b2299dSmrg 1086661b2299dSmrg Commit by Jamey Sharp and Josh Triplett. 1086761b2299dSmrg XCB's handoff mechanism inspired by Keith Packard. 1086861b2299dSmrg 1086961b2299dSmrgcommit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 1087061b2299dSmrgAuthor: Chris Ball <cjb@laptop.org> 1087161b2299dSmrgDate: Mon Nov 3 22:57:29 2008 -0500 1087261b2299dSmrg 1087361b2299dSmrg Remove configure check for xcb-xlib. 1087461b2299dSmrg 1087561b2299dSmrg xcb-xlib has been intentionally removed from libxcb; stop checking for 1087661b2299dSmrg it at configure-time. 1087761b2299dSmrg 1087861b2299dSmrgcommit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 1087961b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org> 1088061b2299dSmrgDate: Wed Oct 29 14:37:44 2008 -0700 1088161b2299dSmrg 1088261b2299dSmrg .gitignore: Add dolt files 1088361b2299dSmrg 1088461b2299dSmrgcommit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 1088561b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1088661b2299dSmrgDate: Tue Oct 28 11:56:55 2008 +1030 1088761b2299dSmrg 1088861b2299dSmrg man: fix formatting error in XkbGetIndicatorState man page. 1088961b2299dSmrg 1089061b2299dSmrgcommit b1022fa6d7e97640049e93ffa108083fc8d71b05 1089161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1089261b2299dSmrgDate: Sat Oct 25 09:13:08 2008 -0400 1089361b2299dSmrg 1089461b2299dSmrg Increase size of working arrays in the makekeys utility program. 1089561b2299dSmrg 1089661b2299dSmrg Makekeys is used to create an optimal hash of the keysyms defined 1089761b2299dSmrg in x11proto’s keysymdef.h. 1089861b2299dSmrg 1089961b2299dSmrg The recent addition of new keysyms there has triggered a bug in 1090061b2299dSmrg makekeys where it tries to use a zero on the rhs of the % (mod) 1090161b2299dSmrg operator (resulting in a divide by zero error) whenever it fails 1090261b2299dSmrg to find a solution within its constraints. 1090361b2299dSmrg 1090461b2299dSmrg Increasing the size of the arrays allows it to find a solution for 1090561b2299dSmrg the current set of keysyms. 1090661b2299dSmrg 1090761b2299dSmrg Makekeys is only run durring the build process, so this has no impact 1090861b2299dSmrg on users of libX11, only on the amount of VM needed to build it. 1090961b2299dSmrg 1091061b2299dSmrg It still needs a more complete fix, but this allows compiles to 1091161b2299dSmrg progress until that is completed. 1091261b2299dSmrg 1091361b2299dSmrgcommit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 1091461b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1091561b2299dSmrgDate: Sat Oct 11 01:03:14 2008 -0400 1091661b2299dSmrg 1091761b2299dSmrg Dolt-ify 1091861b2299dSmrg 1091961b2299dSmrg Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 1092061b2299dSmrg 1092161b2299dSmrgcommit 39c0b266cac8cbc15bf501d7869186862f01d823 1092261b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1092361b2299dSmrgDate: Wed Oct 15 14:30:20 2008 +1030 1092461b2299dSmrg 1092561b2299dSmrg Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 1092661b2299dSmrg 1092761b2299dSmrg X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 1092861b2299dSmrg 1092961b2299dSmrgcommit d23aad31338e7d869d878d5aa1b6b91d20287005 1093061b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1093161b2299dSmrgDate: Mon Oct 13 09:41:59 2008 +1030 1093261b2299dSmrg 1093361b2299dSmrg Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 1093461b2299dSmrg 1093561b2299dSmrgcommit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 1093661b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 1093761b2299dSmrgDate: Thu Jul 24 15:44:26 2008 +0930 1093861b2299dSmrg 1093961b2299dSmrg xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 1094061b2299dSmrg 1094161b2299dSmrg Thanks to Michael Meeks, Novell Bug 369263. 1094261b2299dSmrg https://bugzilla.novell.com/show_bug.cgi?id=369263 1094361b2299dSmrg 1094461b2299dSmrgcommit e7ece39afc8e0adc3b6b1e70b337b98376754462 1094561b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1094661b2299dSmrgDate: Tue Oct 7 15:41:38 2008 -0700 1094761b2299dSmrg 1094861b2299dSmrg Sun bug #6739431: double free in _X11TransConnectDisplay() 1094961b2299dSmrg 1095061b2299dSmrg Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 1095161b2299dSmrg After copying original_hostname to phostname, set original_hostname 1095261b2299dSmrg to NULL, so we don't free the same pointer twice when we free both 1095361b2299dSmrg original_hostname and phostname. 1095461b2299dSmrg 1095561b2299dSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 1095661b2299dSmrg 1095761b2299dSmrgcommit 0877bc916afbd1ff8f1833edc930b765ea783576 1095861b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1095961b2299dSmrgDate: Tue Sep 23 19:02:02 2008 +0300 1096061b2299dSmrg 1096161b2299dSmrg configure.ac: Fix CC_FOR_BUILD logic error 1096261b2299dSmrg 1096361b2299dSmrg Turns out we were accidentally smashing it so that you couldn't set it 1096461b2299dSmrg externally at all. Oops. 1096561b2299dSmrg 1096661b2299dSmrgcommit 58bf3aa746908f01c37be7045699e43a4e270944 1096761b2299dSmrgAuthor: John Tapsell <johnflux@gmail.com> 1096861b2299dSmrgDate: Tue Sep 23 17:30:13 2008 +0300 1096961b2299dSmrg 1097061b2299dSmrg Build: Use native compiler for makekeys 1097161b2299dSmrg 1097261b2299dSmrg makekeys needs to be run during the build process, as opposed to on the 1097361b2299dSmrg target, so build it with either of gcc or cc to fix cross-compiling. 1097461b2299dSmrg This can be overridden by setting $CC_FOR_BUILD. 1097561b2299dSmrg 1097661b2299dSmrgcommit 340422a5c7a413faef18666cada27cee14615250 1097761b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1097861b2299dSmrgDate: Wed Sep 17 12:54:34 2008 -0400 1097961b2299dSmrg 1098061b2299dSmrg Fix the previous patch for the BadFont case. 1098161b2299dSmrg 1098261b2299dSmrgcommit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 1098361b2299dSmrgAuthor: Matthias Clasen <mclasen@redhat.com> 1098461b2299dSmrgDate: Wed Sep 17 10:43:52 2008 -0400 1098561b2299dSmrg 1098661b2299dSmrg Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 1098761b2299dSmrg 1098861b2299dSmrgcommit db0b85db29699be6bf7e78dede655d59ba926dfc 1098961b2299dSmrgAuthor: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 1099061b2299dSmrgDate: Sun Sep 14 19:15:26 2008 -0400 1099161b2299dSmrg 1099261b2299dSmrg Fix problem with <dead_acute> <c> in pt_BR.UTF-8 1099361b2299dSmrg 1099461b2299dSmrg The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 1099561b2299dSmrg Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 1099661b2299dSmrg ISO 8859 pt_BR Compose file) as the string but specify the keysym 1099761b2299dSmrg and comment for Ć and ć (c with acute accent). 1099861b2299dSmrg 1099961b2299dSmrg This commit normalizes those two lines to match the specified string. 1100061b2299dSmrg 1100161b2299dSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 1100261b2299dSmrg 1100361b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1100461b2299dSmrg 1100561b2299dSmrgcommit b065c011baa69b69e3ea77c30d5e153c0d103e2d 1100661b2299dSmrgAuthor: Michael Verret <michael.verret@gmail.com> 1100761b2299dSmrgDate: Mon Sep 8 16:33:35 2008 -0400 1100861b2299dSmrg 1100961b2299dSmrg Fix documentation typo 1101061b2299dSmrg 1101161b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1101261b2299dSmrg 1101361b2299dSmrgcommit 4213ea95185377bdd1b51e82933f331fc0f52e5b 1101461b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1101561b2299dSmrgDate: Sat Sep 6 04:19:19 2008 -0400 1101661b2299dSmrg 1101761b2299dSmrg Remove extraneous <angle brackets> from the Ethiopic Compose file. 1101861b2299dSmrg 1101961b2299dSmrg The am_ET.UTF-8 Compose file submitted in: 1102061b2299dSmrg 1102161b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=11307 1102261b2299dSmrg 1102361b2299dSmrg for the OLCP project used incorrect syntax. (It has angle brackets around the 1102461b2299dSmrg Uxxxx symbols on the right hand side rather than only on the left hand side). 1102561b2299dSmrg 1102661b2299dSmrg This bug is noted in OLPC’s ticket: 1102761b2299dSmrg 1102861b2299dSmrg http://dev.laptop.org/ticket/7474 1102961b2299dSmrg http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 1103061b2299dSmrg 1103161b2299dSmrgcommit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 1103261b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1103361b2299dSmrgDate: Mon Sep 1 17:49:33 2008 -0400 1103461b2299dSmrg 1103561b2299dSmrg Complete the set of vulgar fractions 1103661b2299dSmrg 1103761b2299dSmrg Unicode 1.1 added thirds, fifths, sixths and eights; 1103861b2299dSmrg we might as well catch up. 1103961b2299dSmrg 1104061b2299dSmrg (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 1104161b2299dSmrg and 0/3 (U2189) in their pipelines, but those four can be added 1104261b2299dSmrg here after they are published.) 1104361b2299dSmrg 1104461b2299dSmrgcommit a788792e9de95f8db0639557859722a35087481d 1104561b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1104661b2299dSmrgDate: Wed Aug 20 15:28:07 2008 -0400 1104761b2299dSmrg 1104861b2299dSmrg nls (en_US) Re-remove long compositions that override shorter 1104961b2299dSmrg 1105061b2299dSmrg As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 1105161b2299dSmrg 1105261b2299dSmrg Commit a6f4bbf7 1105361b2299dSmrg nls (en_US): remove long compositions that override shorter [...] 1105461b2299dSmrg removed some longer compose sequences because there are shorter 1105561b2299dSmrg ones which take preference over the longer. For example the 1105661b2299dSmrg sequences: 1105761b2299dSmrg 1105861b2299dSmrg <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 1105961b2299dSmrg <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 1106061b2299dSmrg 1106161b2299dSmrg were removed becase there already was: 1106261b2299dSmrg 1106361b2299dSmrg <Multi_key> <apostrophe> <comma> : U201A # ‚ 1106461b2299dSmrg 1106561b2299dSmrg Then commit 4ba09125 1106661b2299dSmrg Work on making the en_US and pt_BR UTF-8 Compose as similar as 1106761b2299dSmrg possible added exactly the same key sequences again. Obviusly 1106861b2299dSmrg they won't work. 1106961b2299dSmrg 1107061b2299dSmrgcommit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 1107161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1107261b2299dSmrgDate: Thu Jul 17 21:01:42 2008 -0400 1107361b2299dSmrg 1107461b2299dSmrg Add more <Multi_key> <cedilla> Compose tuples 1107561b2299dSmrg 1107661b2299dSmrg The last commit missed the el_GR UTF-8 Compose.pre as well as 1107761b2299dSmrg the various ISO 8859 locales which have compose sequences 1107861b2299dSmrg generating ‘WITH CEDILLA’ characters. 1107961b2299dSmrg 1108061b2299dSmrg (Interestingly, some of the 8859 locales already supported 1108161b2299dSmrg <Multi_key> <cedilla> for some CEDILLA characters, but not 1108261b2299dSmrg for Ç or ç.) 1108361b2299dSmrg 1108461b2299dSmrg This is further work on bug 10397. 1108561b2299dSmrg 1108661b2299dSmrgcommit 4ba091255bb953d53078ba5619d6751052c739f7 1108761b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1108861b2299dSmrgDate: Thu Jul 17 17:16:50 2008 -0400 1108961b2299dSmrg 1109061b2299dSmrg Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 1109161b2299dSmrg 1109261b2299dSmrg The eventual goal here is to have a single primary UTF-8 Compose 1109361b2299dSmrg file which the locale-specific UTF-8 Compose.pre files can #include. 1109461b2299dSmrg 1109561b2299dSmrgcommit 254522d3c24e0590732fc03cdd61ff4564819d94 1109661b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1109761b2299dSmrgDate: Thu Jul 17 17:13:36 2008 -0400 1109861b2299dSmrg 1109961b2299dSmrg Add <Multi_key> <cedilla> Compose tuples 1110061b2299dSmrg 1110161b2299dSmrg The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 1110261b2299dSmrg with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 1110361b2299dSmrg support for using <cedilla> instead of <comma> in said sequences. 1110461b2299dSmrg 1110561b2299dSmrg This commit makes both styles work. 1110661b2299dSmrg 1110761b2299dSmrgcommit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 1110861b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1110961b2299dSmrgDate: Sat Jun 28 15:25:23 2008 -0400 1111061b2299dSmrg 1111161b2299dSmrg Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 1111261b2299dSmrg 1111361b2299dSmrg The new block was added twice to the en_US.UTF-8 Compose.pre; 1111461b2299dSmrg delete the duplicate. 1111561b2299dSmrg 1111661b2299dSmrgcommit 596e081b7457dcd1c4ad555ac140e6999239bc0d 1111761b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1111861b2299dSmrgDate: Sat Jun 28 20:14:05 2008 +0930 1111961b2299dSmrg 1112061b2299dSmrg Fix unbalanced parenthesis in XKBlib.h # 16551 1112161b2299dSmrg 1112261b2299dSmrg X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 1112361b2299dSmrg 1112461b2299dSmrgcommit f6af6dd2f76c12b56ec166bb771457b9f08fe246 1112561b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1112661b2299dSmrgDate: Tue Jun 24 13:16:53 2008 -0400 1112761b2299dSmrg 1112861b2299dSmrg Bug #14898: Don't abuse the sprintf() implementation. 1112961b2299dSmrg 1113061b2299dSmrg The thing you're printing into should not itself appear in the list of 1113161b2299dSmrg things to print from, that's bad juju. Just use strcat(). 1113261b2299dSmrg 1113361b2299dSmrgcommit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 1113461b2299dSmrgAuthor: Khaled Hosny <khaledhosny@eglug.org> 1113561b2299dSmrgDate: Thu Jun 19 18:26:11 2008 -0400 1113661b2299dSmrg 1113761b2299dSmrg NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 1113861b2299dSmrg 1113961b2299dSmrg Add some Arabic digraphs to utf-8 locales with a Compose.pre 1114061b2299dSmrg 1114161b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1114261b2299dSmrg 1114361b2299dSmrgcommit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 1114461b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1114561b2299dSmrgDate: Wed Jun 18 20:00:25 2008 -0700 1114661b2299dSmrg 1114761b2299dSmrg Rework code to choose local connection types and fallback to others 1114861b2299dSmrg 1114961b2299dSmrg Adds --with-local-transport-order configure flag if you don't like the 1115061b2299dSmrg default ordering (which is platform dependent) 1115161b2299dSmrg 1115261b2299dSmrg Includes fixes for these Sun/Solaris bug ids: 1115361b2299dSmrg 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 1115461b2299dSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 1115561b2299dSmrg 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 1115661b2299dSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 1115761b2299dSmrg 1115861b2299dSmrgcommit cf49e537014c3cb5aaee07e57400933e0bb72b6b 1115961b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1116061b2299dSmrgDate: Tue Jun 17 14:41:17 2008 -0700 1116161b2299dSmrg 1116261b2299dSmrg Strip whitespace from end of lines in source files 1116361b2299dSmrg 1116461b2299dSmrgcommit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 1116561b2299dSmrgAuthor: Jeff Smith <whydoubt@yahoo.com> 1116661b2299dSmrgDate: Sun Jun 15 23:52:20 2008 -0500 1116761b2299dSmrg 1116861b2299dSmrg Fix memory leak in XOpenDisplay 1116961b2299dSmrg 1117061b2299dSmrg Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 1117161b2299dSmrg 1117261b2299dSmrgcommit fca0b0ba3f72b7284601d4690bba99fc80a92614 1117361b2299dSmrgAuthor: Jens Herden <jens@khmeros.info> 1117461b2299dSmrgDate: Tue Jun 10 20:07:30 2008 +0300 1117561b2299dSmrg 1117661b2299dSmrg NLS: Add Khmer compose sequences (bug #5706) 1117761b2299dSmrg 1117861b2299dSmrg Add some Khmer digraphs to all locales with a Compose.pre. 1117961b2299dSmrg 1118061b2299dSmrgcommit e54cffb649b1622c17457e470cfab8cc56d38c97 1118138ae11fcSmrgMerge: 19802ccd 721b574d 1118261b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1118361b2299dSmrgDate: Tue Jun 10 20:04:30 2008 +0300 1118461b2299dSmrg 1118561b2299dSmrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 1118661b2299dSmrg 1118761b2299dSmrgcommit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 1118861b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1118961b2299dSmrgDate: Thu May 29 10:57:21 2008 +0930 1119061b2299dSmrg 1119161b2299dSmrg Bump to 1.1.99.1 1119261b2299dSmrg 1119361b2299dSmrgcommit 631d32d13247d1cf52c0833d438c5b38b01b17a4 1119461b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1119561b2299dSmrgDate: Wed May 28 17:31:59 2008 +0930 1119661b2299dSmrg 1119761b2299dSmrg Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 1119861b2299dSmrg 1119961b2299dSmrgcommit e9195db7257e418f83707233baeeb84b225caf4f 1120038ae11fcSmrgMerge: c34f76f4 a7f85567 1120161b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1120261b2299dSmrgDate: Thu May 22 12:14:28 2008 +0930 1120361b2299dSmrg 1120461b2299dSmrg Merge branch 'master' into xge 1120561b2299dSmrg 1120661b2299dSmrgcommit 19802ccd3909145e3ba2f6c073271cb5f3701685 1120761b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1120861b2299dSmrgDate: Mon May 19 19:22:31 2008 +0300 1120961b2299dSmrg 1121061b2299dSmrg gitignore: Update with loads more bits from server 1121161b2299dSmrg 1121261b2299dSmrgcommit a7f85567a3e850fba0c44571453d2852ab1a09be 1121361b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1121461b2299dSmrgDate: Tue May 13 10:28:39 2008 -0400 1121561b2299dSmrg 1121661b2299dSmrg Bug #15884: Remove useless sleep()'s from the connection code. 1121761b2299dSmrg 1121861b2299dSmrg For network transports, there's enough delay in the network layer 1121961b2299dSmrg already without adding more. For local transports, just hurry up 1122061b2299dSmrg and fail if the server isn't there. 1122161b2299dSmrg 1122261b2299dSmrgcommit c34f76f475bc632490122e67b5a82575d69d5569 1122361b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1122461b2299dSmrgDate: Mon May 12 21:46:24 2008 +0930 1122561b2299dSmrg 1122661b2299dSmrg Pull down extra bytes when reading a GenericEvent (non-xcb). 1122761b2299dSmrg 1122861b2299dSmrg I refuse to take any responsibily for this code. It works, I guess. 1122961b2299dSmrg But - all the flushing is done somewhere before that, so we might need to 1123061b2299dSmrg flush here. Under some circumstances anyway. Don't ask me, I'm an optical 1123161b2299dSmrg illusion. 1123261b2299dSmrg 1123361b2299dSmrg Build with xcb as transport layer highly recommended. 1123461b2299dSmrg 1123561b2299dSmrgcommit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 1123638ae11fcSmrgMerge: 17d7dcbf 9129057b 1123761b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1123861b2299dSmrgDate: Mon May 12 17:58:37 2008 +0930 1123961b2299dSmrg 1124061b2299dSmrg Merge branch 'master' into xge 1124161b2299dSmrg 1124261b2299dSmrgcommit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 1124361b2299dSmrgAuthor: Teemu Likonen <tlikonen@iki.fi> 1124461b2299dSmrgDate: Wed May 7 21:44:22 2008 +0300 1124561b2299dSmrg 1124661b2299dSmrg Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 1124761b2299dSmrg 1124861b2299dSmrg Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 1124961b2299dSmrg <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 1125061b2299dSmrg U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 1125161b2299dSmrg duplicate compose sequences since these have already been defined. Also, 1125261b2299dSmrg using <dead_belowring> is more logical since the diacritic is indeed 1125361b2299dSmrg a "RING BELOW". 1125461b2299dSmrg 1125561b2299dSmrgcommit 01a9cb58888d290cc3d319feec4ee4a0297a844c 1125661b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1125761b2299dSmrgDate: Wed May 7 20:04:44 2008 +0300 1125861b2299dSmrg 1125961b2299dSmrg NLS: Make UTF-8 the default for Russian 1126061b2299dSmrg 1126161b2299dSmrg No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 1126261b2299dSmrg only other possible answer would be KOI8-R. 1126361b2299dSmrg 1126461b2299dSmrg Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 1126561b2299dSmrg 1126661b2299dSmrgcommit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 1126761b2299dSmrgAuthor: Ross Burton <ross@burtonini.com> 1126861b2299dSmrgDate: Tue Apr 29 13:38:10 2008 +0300 1126961b2299dSmrg 1127061b2299dSmrg NLS: Add interrobang to UTF-8 compose tables (bug #15653) 1127161b2299dSmrg 1127261b2299dSmrg It is what it says on the box. 1127361b2299dSmrg 1127461b2299dSmrgcommit 0b6682303e9c61fefc3818acfda616b1e3691abf 1127561b2299dSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 1127661b2299dSmrgDate: Mon Apr 28 11:51:25 2008 +0300 1127761b2299dSmrg 1127861b2299dSmrg IM: Respect XMODIFIERS for Thai locale (bug #15719) 1127961b2299dSmrg 1128061b2299dSmrg When looking at Thai input methods, make sure XMODIFIERS is checked 1128161b2299dSmrg before jumping straight into built-in Thai processing, so external XIM 1128261b2299dSmrg servers such as SCIM can be used with Thai. 1128361b2299dSmrg 1128461b2299dSmrgcommit c13aded1b2f830ba5004abb0ec5518f9ea16087e 1128561b2299dSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net> 1128661b2299dSmrgDate: Sat Apr 26 18:56:05 2008 +0100 1128761b2299dSmrg 1128861b2299dSmrg Fix missing error condition 1128961b2299dSmrg 1129061b2299dSmrgcommit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 1129161b2299dSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net> 1129261b2299dSmrgDate: Mon Apr 21 17:24:33 2008 +0100 1129361b2299dSmrg 1129461b2299dSmrg Xlib warning fixes 1129561b2299dSmrg 1129661b2299dSmrgcommit 6b6caeea830a977bdb54688cfb648d879821e752 1129761b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1129861b2299dSmrgDate: Fri Apr 18 02:50:55 2008 -0400 1129961b2299dSmrg 1130061b2299dSmrg Add some dead_key sequences to en_US.UTF-8 Compose table 1130161b2299dSmrg 1130261b2299dSmrg Make use of the new dead key symbols added to x11proto’s 1130361b2299dSmrg commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 1130461b2299dSmrg was in responce to bug #15446). 1130561b2299dSmrg 1130661b2299dSmrgcommit 8f9b039580deaf658e464b7d6254064fcf183df6 1130761b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1130861b2299dSmrgDate: Mon Apr 14 19:09:42 2008 -0700 1130961b2299dSmrg 1131061b2299dSmrg Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 1131161b2299dSmrg 1131261b2299dSmrgcommit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 1131361b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1131461b2299dSmrgDate: Mon Apr 14 18:21:14 2008 -0700 1131561b2299dSmrg 1131661b2299dSmrg Fix mismatched brace indenting 1131761b2299dSmrg 1131861b2299dSmrgcommit a19f9c65ee9e5e5d783feaa84998c36439b0288b 1131961b2299dSmrgAuthor: Bart Massey <bart@cs.pdx.edu> 1132061b2299dSmrgDate: Fri Apr 4 18:58:45 2008 -0700 1132161b2299dSmrg 1132261b2299dSmrg added error check in Xcms color file parser; closes bug #15305 1132361b2299dSmrg 1132461b2299dSmrgcommit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 1132561b2299dSmrgAuthor: Christian Weisgerber <naddy@mips.inka.de> 1132661b2299dSmrgDate: Tue Mar 18 07:30:05 2008 +0100 1132761b2299dSmrg 1132861b2299dSmrg ConnDis: properly cast 'addr' before accessing it as a byte array. 1132961b2299dSmrg 1133061b2299dSmrg If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 1133161b2299dSmrg clients over IPv6, the clients are liable to segfaults. 1133261b2299dSmrg 1133361b2299dSmrgcommit 64325f38bab082a8e0e9ce779a8e582de5c8588e 1133461b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org> 1133561b2299dSmrgDate: Sat Mar 15 12:29:33 2008 -0700 1133661b2299dSmrg 1133761b2299dSmrg Fix fd.o bug 15023: make Xlib sync correctly given many void requests 1133861b2299dSmrg 1133961b2299dSmrg If given many requests without replies, Xlib may not sync until it flushes 1134061b2299dSmrg the output buffer. Thus, if Xlib can fit enough requests in the buffer to 1134161b2299dSmrg pass by the number of requests it would normally sync after (65536 - 1134261b2299dSmrg BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 1134361b2299dSmrg demonstrated this by issuing a request with a reply (ListExtensions) at 1134461b2299dSmrg just the right time to get confused with the GetInputFocus reply issued in 1134561b2299dSmrg response to the sync 65,536 requests later; the test case used an async 1134661b2299dSmrg handler to watch the replies, since otherwise it could not issue a request 1134761b2299dSmrg without waiting for the response. When the test case failed, Xlib's sync 1134861b2299dSmrg handler would eat the ListExtensions reply, and the test case's async 1134961b2299dSmrg handler would see the GetInputFocus reply. 1135061b2299dSmrg 1135161b2299dSmrg Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 1135261b2299dSmrg buffer size to figure out when the sequence numbers could potentially wrap 1135361b2299dSmrg before the next flush. 1135461b2299dSmrg 1135561b2299dSmrg With this commit, the test case consistently passed, and the async reply 1135661b2299dSmrg handler always saw the ListExtensions reply. 1135761b2299dSmrg 1135861b2299dSmrg Commit by Jamey Sharp and Josh Triplett. 1135961b2299dSmrg 1136061b2299dSmrgcommit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 1136161b2299dSmrgAuthor: Colin Harrison <colin.harrison@virgin.net> 1136261b2299dSmrgDate: Sat Mar 15 13:39:13 2008 -0400 1136361b2299dSmrg 1136461b2299dSmrg Fix typo 1136561b2299dSmrg 1136661b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1136761b2299dSmrg 1136861b2299dSmrgcommit f07585ca27a8487bc66dfe41486c823f0fdcea7d 1136961b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1137061b2299dSmrgDate: Sat Mar 15 17:32:57 2008 +0200 1137161b2299dSmrg 1137261b2299dSmrg configure.ac: Don't search for legacy X11 headers 1137361b2299dSmrg 1137461b2299dSmrg This can actually break cross-compiles, so don't do it anymore. 1137561b2299dSmrg 1137661b2299dSmrgcommit bf69541238c7df6606340c0f389e5c47149b29c7 1137761b2299dSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 1137861b2299dSmrgDate: Sun Mar 9 09:08:07 2008 +0100 1137961b2299dSmrg 1138061b2299dSmrg nuke RCS Ids 1138161b2299dSmrg 1138261b2299dSmrgcommit 5e98aed13e529638df744e45893c471d5f2014fb 1138361b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1138461b2299dSmrgDate: Thu Mar 6 16:10:33 2008 -0500 1138561b2299dSmrg 1138661b2299dSmrg libX11 1.1.4 1138761b2299dSmrg 113881ab64890Smrgcommit 8e085971dc661da9f80ff6b67747459c0fb15c08 113891ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 113901ab64890SmrgDate: Thu Feb 28 20:17:41 2008 -0800 113911ab64890Smrg 113921ab64890Smrg Man page typo fixes 113931ab64890Smrg 113941ab64890Smrgcommit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 113951ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@redhat.com> 113961ab64890SmrgDate: Sun Feb 24 20:03:35 2008 -0500 113971ab64890Smrg 113981ab64890Smrg XIM: Fix a hand when switching input context. 113991ab64890Smrg 114001ab64890Smrg Red Hat bug #201284. 114011ab64890Smrg 114021ab64890Smrgcommit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 114031ab64890SmrgAuthor: Adam Jackson <ajax@redhat.com> 114041ab64890SmrgDate: Sun Feb 24 20:00:43 2008 -0500 114051ab64890Smrg 114061ab64890Smrg Bug #14029: Don't LockDisplay() recursively. 114071ab64890Smrg 114081ab64890Smrg See also Red Hat bugzilla #326461. 114091ab64890Smrg 114101ab64890Smrgcommit e5892467ae3308c8651be76e06db322dcbc08522 114111ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 114121ab64890SmrgDate: Fri Feb 15 17:27:53 2008 -0800 114131ab64890Smrg 114141ab64890Smrg Add support for building lint library with --enable-lint-library 114151ab64890Smrg 114161ab64890Smrgcommit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 114171ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 114181ab64890SmrgDate: Mon Feb 11 20:11:43 2008 -0800 114191ab64890Smrg 114201ab64890Smrg Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 114211ab64890Smrg 114221ab64890Smrgcommit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 114231ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 114241ab64890SmrgDate: Fri Feb 8 16:46:46 2008 -0800 114251ab64890Smrg 114261ab64890Smrg Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 114271ab64890Smrg 114281ab64890Smrgcommit 416a812200f24d19149dcc497e5c51a0608120f6 114291ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 114301ab64890SmrgDate: Fri Feb 8 15:31:31 2008 -0800 114311ab64890Smrg 114321ab64890Smrg XErrorDB updates for Render 0.9 & XFixes 4.0 114331ab64890Smrg 114341ab64890Smrgcommit 16a76091cd632e5a3708e235ff864b58f3e4613e 114351ab64890SmrgAuthor: Kim Woelders <kim@woelders.dk> 114361ab64890SmrgDate: Sat Dec 22 21:45:23 2007 +0100 114371ab64890Smrg 114381ab64890Smrg Fix bs_BA entries in locale.dir.pre 114391ab64890Smrg 114401ab64890Smrg X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 114411ab64890Smrg 114421ab64890Smrgcommit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 1144338ae11fcSmrgMerge: 8f0bd3f4 e8d4cefa 114441ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 114451ab64890SmrgDate: Fri Dec 14 22:43:47 2007 -0500 114461ab64890Smrg 114471ab64890Smrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 114481ab64890Smrg 114491ab64890Smrgcommit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 114501ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 114511ab64890SmrgDate: Fri Dec 14 22:42:59 2007 -0500 114521ab64890Smrg 114531ab64890Smrg add a comment to en_US.UTF-8/Compose 114541ab64890Smrg 114551ab64890Smrgcommit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 114561ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 114571ab64890SmrgDate: Fri Dec 14 22:40:13 2007 -0500 114581ab64890Smrg 114591ab64890Smrg Add <dead_stroke> compose sequences 114601ab64890Smrg 114611ab64890Smrg The added sequences match the existing <Multi_key> <slash> sequences. 114621ab64890Smrg 114631ab64890Smrg This is related to bug #12765¹. 114641ab64890Smrg 114651ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 114661ab64890Smrg 114671ab64890Smrgcommit e8d4cefa0837afa149a10e981528b368485a9e38 114681ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local> 114691ab64890SmrgDate: Mon Dec 10 23:00:44 2007 -0800 114701ab64890Smrg 114711ab64890Smrg Added launchd support. 114721ab64890Smrg 1147361b2299dSmrgcommit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 1147438ae11fcSmrgMerge: 5dfefd38 13ac8046 1147561b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1147661b2299dSmrgDate: Thu Dec 6 14:08:29 2007 +1030 1147761b2299dSmrg 1147861b2299dSmrg Merge branch 'master' into xge 1147961b2299dSmrg 1148061b2299dSmrgcommit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 1148138ae11fcSmrgMerge: a68a1cd7 eff33ae5 1148261b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1148361b2299dSmrgDate: Thu Dec 6 13:57:09 2007 +1030 1148461b2299dSmrg 1148561b2299dSmrg Merge branch 'master' into xge 1148661b2299dSmrg 1148761b2299dSmrg Conflicts: 1148861b2299dSmrg 1148938ae11fcSmrg src/xcb_io.c 1149061b2299dSmrg 114911ab64890Smrgcommit 13ac80469f6958cabac596834e203bd9cb6d4c94 114921ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 114931ab64890SmrgDate: Wed Dec 5 20:14:03 2007 -0500 114941ab64890Smrg 114951ab64890Smrg Update the currency symbols block of en_US.UTF-8/Compose.pre 114961ab64890Smrg Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 114971ab64890Smrg the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 114981ab64890Smrg AUSTRAL, HRYVNIA and CEDI SIGNs. 114991ab64890Smrg 115001ab64890Smrgcommit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 115011ab64890SmrgAuthor: Anton Zinoviev <anton@lml.bas.bg> 115021ab64890SmrgDate: Wed Dec 5 19:56:03 2007 -0500 115031ab64890Smrg 115041ab64890Smrg Additions to the Compose file for UTF-8 115051ab64890Smrg From bug #5371¹ 115061ab64890Smrg 115071ab64890Smrg Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 115081ab64890Smrg from those in attachment #4122². The post³ on xorg resulted in only 115091ab64890Smrg a positive reply⁴ from Daniel, so this block is now also commited. 115101ab64890Smrg 115111ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 115121ab64890Smrg 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 115131ab64890Smrg 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 115141ab64890Smrg 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 115151ab64890Smrg 115161ab64890Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 115171ab64890Smrg Acked-by: Daniel Stone <daniel@fooishbar.org> 115181ab64890Smrg 115191ab64890Smrgcommit 438d02ebc08ee171cf1d3936f4c81050d428ab92 115201ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 115211ab64890SmrgDate: Tue Dec 4 17:25:39 2007 -0500 115221ab64890Smrg 115231ab64890Smrg Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 115241ab64890Smrg 115251ab64890Smrg Based on src/KeysymStr.c and src/StrKeysym.c and comments in 115261ab64890Smrg bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 115271ab64890Smrg those should be in the form U plus the hex of the UCS Code Point. 115281ab64890Smrg 115291ab64890Smrg The 0x01000000 is ORed in by the code. 115301ab64890Smrg 115311ab64890Smrg This update fixes all of those. 115321ab64890Smrg 115331ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 115341ab64890Smrg 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 115351ab64890Smrg 115361ab64890Smrgcommit 02e04059c89e175f51647e3b031344f743286b34 1153738ae11fcSmrgMerge: 1254c57d b57129ef 115381ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 115391ab64890SmrgDate: Tue Dec 4 06:55:04 2007 -0500 115401ab64890Smrg 115411ab64890Smrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 115421ab64890Smrg 115431ab64890Smrgcommit 1254c57dd3a8d6ea87041b2f63024f99094f290f 115441ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 115451ab64890SmrgDate: Tue Dec 4 06:53:55 2007 -0500 115461ab64890Smrg 115471ab64890Smrg Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 115481ab64890Smrg Inspired by bug 11930¹: 115491ab64890Smrg 115501ab64890Smrg Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 115511ab64890Smrg and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 115521ab64890Smrg Compose files. 115531ab64890Smrg 115541ab64890Smrg This was done with a pair of perl scripts based on the one quoted in the 115551ab64890Smrg log for commit c76d30253f1483ac8200ad5c032a818907e65030. 115561ab64890Smrg 115571ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 115581ab64890Smrg 115591ab64890Smrgcommit b57129ef324c73ee91c2a796b800c4b45f4d4855 115601ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local> 115611ab64890SmrgDate: Mon Dec 3 20:04:19 2007 -0800 115621ab64890Smrg 115631ab64890Smrg Use __APPLE__ instead of __DARWIN__ 115641ab64890Smrg 115651ab64890Smrgcommit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 115661ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local> 115671ab64890SmrgDate: Wed Nov 28 16:43:49 2007 -0800 115681ab64890Smrg 115691ab64890Smrg Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 115701ab64890Smrg 115711ab64890Smrgcommit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 115721ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 115731ab64890SmrgDate: Wed Nov 21 16:50:04 2007 -0800 115741ab64890Smrg 115751ab64890Smrg X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 115761ab64890Smrg 115771ab64890Smrg X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 115781ab64890Smrg 115791ab64890Smrg Protect /* sequences from cpp pre-processor removal without transforming 115801ab64890Smrg to Unicode mathematical asterisk character 115811ab64890Smrg 115821ab64890Smrgcommit 2af660c2fcd15c86c66459bfc074c190ea1462e6 115831ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 115841ab64890SmrgDate: Mon Oct 29 10:46:20 2007 -0700 115851ab64890Smrg 115861ab64890Smrg Two threads can request sequence sync and XID fetch simultaneously. 115871ab64890Smrg 115881ab64890Smrg So don't assert that they can't. 115891ab64890Smrg 115901ab64890Smrg This makes the Xlib/XCB implementation of _XAllocID more closely 115911ab64890Smrg resemble the traditional Xlib version. 115921ab64890Smrg 115931ab64890Smrgcommit 6e5485e0a5e3ab738becad12193e760c5fee83a4 115941ab64890SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 115951ab64890SmrgDate: Sun Oct 28 04:44:00 2007 -0800 115961ab64890Smrg 115971ab64890Smrg X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 115981ab64890Smrg 115991ab64890Smrg <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 116001ab64890Smrg 116011ab64890Smrgcommit 24527c92fd1f433ea135e85ec876a94a529fe500 116021ab64890SmrgAuthor: Yann Droneaud <ydroneaud@mandriva.com> 116031ab64890SmrgDate: Wed Oct 24 19:26:07 2007 +0300 116041ab64890Smrg 116051ab64890Smrg XIM: Properly initialise client event 116061ab64890Smrg 116071ab64890Smrg Make sure all ClientMessage fields are initialised to 0 before we send it. 116081ab64890Smrg 116091ab64890Smrgcommit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 116101ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 116111ab64890SmrgDate: Wed Oct 24 19:22:22 2007 +0300 116121ab64890Smrg 116131ab64890Smrg Colours: Fix --disable-xcms 116141ab64890Smrg 116151ab64890Smrg Disable large tracts of colour management code when passing 116161ab64890Smrg --disable-xcms. 116171ab64890Smrg 116181ab64890Smrgcommit 11ea09745efa8de7dc82fe30ebd2393f08390957 116191ab64890SmrgAuthor: Eric Anholt <eric@anholt.net> 116201ab64890SmrgDate: Fri Aug 31 17:30:33 2007 -0700 116211ab64890Smrg 116221ab64890Smrg Bug #2081: Note the range limitation of XSetScreenSaver arguments. 116231ab64890Smrg 116241ab64890Smrgcommit 31540f1438ec63faf37044f2fd654b335ddf80f0 116251ab64890SmrgAuthor: Kristian Høgsberg <krh@redhat.com> 116261ab64890SmrgDate: Wed Aug 29 19:50:57 2007 -0400 116271ab64890Smrg 116281ab64890Smrg Add GLX 1.4 requests and errors. 116291ab64890Smrg 116301ab64890Smrgcommit 7c996f78914c77fe17e9f4feede980d895d9df51 116311ab64890SmrgAuthor: Eric Anholt <eric@anholt.net> 116321ab64890SmrgDate: Tue Aug 28 15:15:11 2007 -0700 116331ab64890Smrg 116341ab64890Smrg Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 116351ab64890Smrg 116361ab64890Smrgcommit fa4effe82759f864a22a2dc6c920fa72ddb175a8 116371ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116381ab64890SmrgDate: Sun Jan 14 10:48:00 2007 -0800 116391ab64890Smrg 116401ab64890Smrg Bug #9658: Bad markup on XIfEvent.3x 116411ab64890Smrg 116421ab64890Smrg X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 116431ab64890Smrg 116441ab64890Smrgcommit 74cba78daa738ef4d92096107d95c1a585933666 116451ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116461ab64890SmrgDate: Sun Jan 14 10:43:00 2007 -0800 116471ab64890Smrg 116481ab64890Smrg Bug #9655: Bad markup in XrmUniqueQuark.3x 116491ab64890Smrg 116501ab64890Smrg X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 116511ab64890Smrg 116521ab64890Smrgcommit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 116531ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116541ab64890SmrgDate: Sun Jan 14 10:43:00 2007 -0800 116551ab64890Smrg 116561ab64890Smrg Bug #9654: Bad markup in XrmGetFileDatabase.3x 116571ab64890Smrg 116581ab64890Smrg X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 116591ab64890Smrg 116601ab64890Smrgcommit 2db713252090cae08f0200fecad4fc25fb64c8b1 116611ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116621ab64890SmrgDate: Sun Jan 14 10:40:00 2007 -0800 116631ab64890Smrg 116641ab64890Smrg Bug #9653: Bad markup in XQueryColor.3x 116651ab64890Smrg 116661ab64890Smrg X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 116671ab64890Smrg 116681ab64890Smrgcommit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 116691ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116701ab64890SmrgDate: Sun Jan 14 10:40:00 2007 -0800 116711ab64890Smrg 116721ab64890Smrg Bug #9652: Bad markup in XDrawArc.3x 116731ab64890Smrg 116741ab64890Smrg X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 116751ab64890Smrg 116761ab64890Smrgcommit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 116771ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116781ab64890SmrgDate: Sun Jan 14 10:39:00 2007 -0800 116791ab64890Smrg 116801ab64890Smrg Bug #9651: Bad markup in XcmsColor.3x 116811ab64890Smrg 116821ab64890Smrg X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 116831ab64890Smrg 116841ab64890Smrgcommit c316aaf0aab06951db9dc5c9c1148bfea835d885 116851ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116861ab64890SmrgDate: Sun Jan 14 10:38:00 2007 -0800 116871ab64890Smrg 116881ab64890Smrg Bug #9650: Bad markup in XLoadFont.3x manual page 116891ab64890Smrg 116901ab64890Smrg X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 116911ab64890Smrg 116921ab64890Smrgcommit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 116931ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 116941ab64890SmrgDate: Tue Jan 2 10:18:00 2007 -0800 116951ab64890Smrg 116961ab64890Smrg Bug 9523: Markup problems in XQueryExtension.3x 116971ab64890Smrg 116981ab64890Smrg X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 116991ab64890Smrg 117001ab64890Smrgcommit fe713c616e29ba19c179b43c18eca1035079ce18 117011ab64890SmrgAuthor: Ian Romanick <idr@us.ibm.com> 117021ab64890SmrgDate: Tue Aug 21 14:56:33 2007 -0700 117031ab64890Smrg 117041ab64890Smrg Make sure nls/am_ET.UTF-8/Makefile is created by configure. 117051ab64890Smrg 117061ab64890Smrgcommit e3430616f26b68e1439143cbe10732f3fc329d20 117071ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 117081ab64890SmrgDate: Tue Jan 2 08:40:00 2007 -0800 117091ab64890Smrg 117101ab64890Smrg Bug #9516: Markup error in XAllocWMHints.3x 117111ab64890Smrg 117121ab64890Smrg X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 117131ab64890Smrg 117141ab64890Smrgcommit d8fe979fc929833e8c754aed32641786d5a0622b 1171538ae11fcSmrgMerge: 21ca9533 4ec1723f 117161ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 117171ab64890SmrgDate: Mon Aug 20 15:34:50 2007 -0400 117181ab64890Smrg 117191ab64890Smrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 117201ab64890Smrg 117211ab64890Smrgcommit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 117221ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 117231ab64890SmrgDate: Mon Aug 20 15:34:03 2007 -0400 117241ab64890Smrg 117251ab64890Smrg Fix typo 117261ab64890Smrg The code <U1000000D> was used where <U10000DC> was obviously intended. 117271ab64890Smrg 117281ab64890Smrg It is possible that <Udiaeresis> should be used instead, if that will 117291ab64890Smrg not break anyone’s setup. 117301ab64890Smrg 117311ab64890Smrgcommit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 117321ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 117331ab64890SmrgDate: Mon Aug 20 15:25:48 2007 -0400 117341ab64890Smrg 117351ab64890Smrg Add compose file for Ethiopic to match new keyboard in xkeyboard-config 117361ab64890Smrg From bug report: 117371ab64890Smrg 117381ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=11307 117391ab64890Smrg 117401ab64890Smrgcommit eff33ae525337ce2026be135a26464c7b1237113 117411ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 117421ab64890SmrgDate: Sat Aug 18 17:58:23 2007 -0400 117431ab64890Smrg 117441ab64890Smrg Patch for Catalan locales 117451ab64890Smrg From bugzilla bug 10943¹: 117461ab64890Smrg 117471ab64890Smrg There are several Catalan locale codes which presently can 117481ab64890Smrg be used in X11 systems; especially after they were accepted 117491ab64890Smrg in belocs-locale-data². 117501ab64890Smrg 117511ab64890Smrg In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 117521ab64890Smrg locale codes. For instance, without this, using ca_AD (actually 117531ab64890Smrg a quite used locale⁴) some applications (eg. Emacs or Skype) 117541ab64890Smrg cannot display Catalan diacritic marks as you type them. 117551ab64890Smrg 117561ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 117571ab64890Smrg 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 117581ab64890Smrg 3] Toni Hermoso Pulido <toniher@softcatala.org> 117591ab64890Smrg 4] https://launchpad.net/~ubuntu.cat/+members 117601ab64890Smrg 117611ab64890Smrgcommit 1f980cb7d022f53d0aee9e793b08203fb888e86e 117621ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 117631ab64890SmrgDate: Sat Aug 18 17:47:04 2007 -0400 117641ab64890Smrg 117651ab64890Smrg Add additional Euro signs to compose 117661ab64890Smrg Inspired by bug 7419¹ make all of: 117671ab64890Smrg 117681ab64890Smrg C=, =C, c=, =c, E=, =E, e=, E= 117691ab64890Smrg 117701ab64890Smrg after <Multi_key> generate € U+20AC EURO SIGN. 117711ab64890Smrg 117721ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 117731ab64890Smrg 117741ab64890Smrgcommit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 117751ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 117761ab64890SmrgDate: Sat Aug 18 17:29:08 2007 -0400 117771ab64890Smrg 117781ab64890Smrg Compose fix for Latin-1 (from Debian) 117791ab64890Smrg The description from bugzilla bug 7417¹ is: 117801ab64890Smrg 117811ab64890Smrg We've been shipping this patch for some time in Debian now. The 117821ab64890Smrg problem description from the patch header is reproduced below. You 117831ab64890Smrg may want to note the licensing issue mentioned below, but we've been 117841ab64890Smrg shipping it because the method by which this particular patch was 117851ab64890Smrg generated and updated was also given below. 117861ab64890Smrg 117871ab64890Smrg This patch by Denis Barbier. 117881ab64890Smrg 117891ab64890Smrg The X11 protocol states that Unicode keysyms are in the range 117901ab64890Smrg 0x01000100 - 0x0110FFFF. If the result of composing characters is a 117911ab64890Smrg Unicode codepoint, X returns the corresponding Unicode keysym, which 117921ab64890Smrg is its Unicode codepoint augmented by 0x01000000. Latin-1 117931ab64890Smrg characters must not appear with their Unicode codepoints in compose 117941ab64890Smrg files, otherwise the returned composed character lies in the range 117951ab64890Smrg 0x01000000 - 0x010000FF which is not valid. 117961ab64890Smrg 117971ab64890Smrg There are two solutions: either fix composing routines to return 117981ab64890Smrg 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 117991ab64890Smrg replace U00ZZ by their corresponding keysyms in compose files. The 118001ab64890Smrg latter is more logical and less error prone, so compose files will 118011ab64890Smrg be patched. Many applications accept these invalid Unicode keysyms, 118021ab64890Smrg but few of them don't, most notably xemacs. Only UTF-8 locales are 118031ab64890Smrg affected. 118041ab64890Smrg 118051ab64890Smrg This has been fixed very recently in XFree86 CVS (but not xorg), but 118061ab64890Smrg for licensing reasons, this patch is not grabbed. Instead automatic 118071ab64890Smrg conversion is performed by: 118081ab64890Smrg 118091ab64890Smrg sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 118101ab64890Smrg | grep -v deprecated | grep 0x0 \ 118111ab64890Smrg | sed -e 's/0x0/U0/' -e 's/XK_//' \ 118121ab64890Smrg | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 118131ab64890Smrg for f in nls/*.UTF-8/Compose.pre 118141ab64890Smrg do 118151ab64890Smrg sed -f sedfile $f > $f.tmp && mv $f.tmp $f 118161ab64890Smrg done 118171ab64890Smrg 118181ab64890Smrg [I edited the quoted script to update it for the current location of 118191ab64890Smrg the installed keysymdef.h and the current layout of the libX11 118201ab64890Smrg repo. -JimC] 118211ab64890Smrg 118221ab64890Smrg I applied the script, not the patch attached to the bugreport. 118231ab64890Smrg 118241ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 118251ab64890Smrg 118261ab64890Smrgcommit 5cf5bc76642bfece7cb5b76faf414bf445f14489 118271ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 118281ab64890SmrgDate: Sat Aug 18 17:13:41 2007 -0400 118291ab64890Smrg 118301ab64890Smrg Add some compose sequences 118311ab64890Smrg 118321ab64890Smrg Add some compose sequences from the patch in bug 5371 (attachment 4122). 118331ab64890Smrg 118341ab64890Smrg Cf: 118351ab64890Smrg 118361ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=5371 118371ab64890Smrg https://bugs.freedesktop.org/attachment.cgi?id=4122 118381ab64890Smrg 118391ab64890Smrgcommit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 118401ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 118411ab64890SmrgDate: Sat Aug 18 13:57:31 2007 -0400 118421ab64890Smrg 118431ab64890Smrg Fix SMP Compose targets 118441ab64890Smrg The compose targets from the SMP (plane 1) were incorrect. 118451ab64890Smrg 118461ab64890Smrg At some point the 0x10000 bit had been lost. 118471ab64890Smrg 118481ab64890Smrgcommit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 118491ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net> 118501ab64890SmrgDate: Thu Aug 16 17:37:22 2007 -0500 118511ab64890Smrg 118521ab64890Smrg Fix a mutex reference-counting bug. 118531ab64890Smrg 118541ab64890Smrg I was told that some systems have a much more permissive libpthread. 118551ab64890Smrg I was asked to commit this. This is from NetBSD's X source. 118561ab64890Smrg (I didn't receive any feedback on xorg list for over two weeks 118571ab64890Smrg about this.) 118581ab64890Smrg 118591ab64890Smrgcommit ac00a44b4875de70382da5a40dd87f976e5b9327 118601ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 118611ab64890SmrgDate: Wed Aug 1 20:36:03 2007 +0200 118621ab64890Smrg 118631ab64890Smrg Bumped version to 1.1.3. 118641ab64890Smrg 118651ab64890Smrgcommit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 118661ab64890SmrgAuthor: Joerg Sonnenberger <joerg@netbsd.org> 118671ab64890SmrgDate: Fri Jul 27 11:15:47 2007 -0700 118681ab64890Smrg 118691ab64890Smrg Fail properly on errors in recursive make. 118701ab64890Smrg 118711ab64890Smrgcommit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 118721ab64890SmrgAuthor: Brice Goglin <Brice.Goglin@ens-lyon.org> 118731ab64890SmrgDate: Thu Jul 26 23:31:15 2007 +0200 118741ab64890Smrg 118751ab64890Smrg Add missing override parameter in XrmCombineDatabase prototype in the manpage 118761ab64890Smrg 118771ab64890Smrg Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 118781ab64890Smrg in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 118791ab64890Smrg and https://bugs.freedesktop.org/show_bug.cgi?id=9948 118801ab64890Smrg 118811ab64890Smrg Also add the type of the second argument in XrmMergeDatabases. 118821ab64890Smrg 118831ab64890Smrgcommit 6f0764d4b56f64786b4980839ca262f10a51af6f 118841ab64890SmrgAuthor: Brice Goglin <Brice.Goglin@ens-lyon.org> 118851ab64890SmrgDate: Thu Jul 26 22:53:52 2007 +0200 118861ab64890Smrg 118871ab64890Smrg Clarify return value of XGetCommand in case of error in the manpage 118881ab64890Smrg 118891ab64890Smrg Reported by Sean Perry <shalehperry@attbi.com> 118901ab64890Smrg in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 118911ab64890Smrg and https://bugs.freedesktop.org/show_bug.cgi?id=9828 118921ab64890Smrg 118931ab64890Smrgcommit b8bef57342632cc2d25580bb7daa3839bae04d89 118941ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 118951ab64890SmrgDate: Wed Jul 25 17:44:06 2007 -0700 118961ab64890Smrg 118971ab64890Smrg Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 118981ab64890Smrg 118991ab64890Smrgcommit 590cde811a79375231c59ed8583e02b111ed567c 119001ab64890SmrgAuthor: Kean Johnston <kean@armory.com> 119011ab64890SmrgDate: Thu Jul 19 16:44:20 2007 -0700 119021ab64890Smrg 119031ab64890Smrg Reset hostname when falling back from :0 to hostname/localhost:0 as well 119041ab64890Smrg 119051ab64890Smrgcommit d334665e619e9db657a2ea2764a8b852401d4a3f 119061ab64890SmrgAuthor: Kean Johnston <kean@armory.com> 119071ab64890SmrgDate: Tue Jul 17 16:34:30 2007 -0700 119081ab64890Smrg 119091ab64890Smrg LOCALCONN fallback changes DisplayString() output, breaks KDE 119101ab64890Smrg 119111ab64890Smrg See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 119121ab64890Smrg 119131ab64890Smrgcommit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 119141ab64890SmrgAuthor: Olivier Blin <blino@mandriva.org> 119151ab64890SmrgDate: Mon Jun 11 18:32:09 2007 +1000 119161ab64890Smrg 119171ab64890Smrg fix XGetMotionEvents arguments order - Fixes bug 11222 119181ab64890Smrg 119191ab64890Smrgcommit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 119201ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 119211ab64890SmrgDate: Sun Jun 10 16:19:59 2007 -0700 119221ab64890Smrg 119231ab64890Smrg Fix locking in _XimGetWindowEventmask. 119241ab64890Smrg 119251ab64890Smrg Now that XFilterEvent drops the Display lock before invoking callback 119261ab64890Smrg functions, _XimGetWindowEventmask is called without the lock held. So 119271ab64890Smrg when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 119281ab64890Smrg that does not lock the Display, Xlib/XCB would assert: 119291ab64890Smrg 119301ab64890Smrg xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 119311ab64890Smrg 119321ab64890Smrg Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 119331ab64890Smrg 119341ab64890Smrgcommit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 119351ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 119361ab64890SmrgDate: Sun Jun 3 21:41:47 2007 -0700 119371ab64890Smrg 119381ab64890Smrg Move security fixes to the top of NEWS, and fix spacing. 119391ab64890Smrg 119401ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 119411ab64890Smrg 119421ab64890Smrgcommit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 119431ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 119441ab64890SmrgDate: Sun Jun 3 21:29:40 2007 -0700 119451ab64890Smrg 119461ab64890Smrg Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 119471ab64890Smrg 119481ab64890Smrg Commit by Josh Triplett and Jamey Sharp 119491ab64890Smrg 119501ab64890Smrgcommit 5123b77a3d32d3ad479462f319762c328278aed9 119511ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 119521ab64890SmrgDate: Sun Jun 3 21:24:54 2007 -0700 119531ab64890Smrg 119541ab64890Smrg Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 119551ab64890Smrg 119561ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 119571ab64890Smrg 119581ab64890Smrgcommit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 119591ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 119601ab64890SmrgDate: Sun Jun 3 20:59:12 2007 -0700 119611ab64890Smrg 119621ab64890Smrg Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 119631ab64890Smrg 119641ab64890Smrg Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 119651ab64890Smrg _XReadEvents always enqueues at least one event even if an error occurred, 119661ab64890Smrg because the one call to xcb_wait_for_event would then return an error, not an 119671ab64890Smrg event, and nothing else ensured that process_responses would obtain an event. 119681ab64890Smrg Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 119691ab64890Smrg f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 119701ab64890Smrg process_responses, wait_for_first_event now serves as a flag, cleared when 119711ab64890Smrg actually handling an event. 119721ab64890Smrg 119731ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 119741ab64890Smrg 119751ab64890Smrgcommit e2c1d788d1fe7bd2d34756493951552441e59b8c 119761ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 119771ab64890SmrgDate: Sun Jun 3 17:33:23 2007 -0700 119781ab64890Smrg 119791ab64890Smrg Xlib/XCB: Only remove pending_requests when there are provably no more responses. 119801ab64890Smrg 119811ab64890Smrgcommit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 119821ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 119831ab64890SmrgDate: Sun Jun 3 15:39:39 2007 -0700 119841ab64890Smrg 119851ab64890Smrg Bump version number to 1.1.2, and add NEWS entry for 1.1.2 119861ab64890Smrg 119871ab64890Smrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 119881ab64890Smrg 119891ab64890Smrgcommit 416f38f2e67ee1979b3d2feac6f06b3670238804 119901ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 119911ab64890SmrgDate: Sun Jun 3 12:13:44 2007 -0700 119921ab64890Smrg 119931ab64890Smrg Revert "Revert "include: don't distribute XlibConf.h"" 119941ab64890Smrg 119951ab64890Smrg This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 119961ab64890Smrg 119971ab64890Smrg Re-revert the XlibConf.h change, which prevented distribution, not 119981ab64890Smrg installation. 119991ab64890Smrg 120001ab64890Smrgcommit 79fa3d8070d95b960ba486f2439225872471dadd 120011ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 120021ab64890SmrgDate: Sat Jun 2 22:05:16 2007 -0700 120031ab64890Smrg 120041ab64890Smrg Revert "include: don't distribute XlibConf.h" 120051ab64890Smrg 120061ab64890Smrg This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 120071ab64890Smrg 120081ab64890Smrg The installed XlibInt.h includes XlibConf.h , so libX11 should ship 120091ab64890Smrg XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 120101ab64890Smrg prevent automake from shipping XlibConf.h, because it used 120111ab64890Smrg nodist_x11include_HEADERS rather than nodist_HEADERS.) 120121ab64890Smrg 120131ab64890Smrgcommit f417570735aac865eb6b576d1ea76b5bfcd8573b 120141ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 120151ab64890SmrgDate: Sat Jun 2 17:59:15 2007 -0700 120161ab64890Smrg 120171ab64890Smrg Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 120181ab64890Smrg 120191ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 120201ab64890Smrg 120211ab64890Smrgcommit c337f9de7cfd89f983f83956b7457a274dd412f3 120221ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 120231ab64890SmrgDate: Sat Jun 2 17:46:41 2007 -0700 120241ab64890Smrg 120251ab64890Smrg Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 120261ab64890Smrg 120271ab64890Smrg Commit by Jamey Sharp and Josh Triplett. 120281ab64890Smrg 120291ab64890Smrgcommit 7f66c897f04806b75e574b55b48921b48045e3f9 120301ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 120311ab64890SmrgDate: Sat Jun 2 16:43:39 2007 -0700 120321ab64890Smrg 120331ab64890Smrg Update _XReply's copy of _XCBUnlockDisplay's guts. 120341ab64890Smrg 120351ab64890Smrg We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 120361ab64890Smrg 120371ab64890Smrg Also add a comment in _XCBUnlockDisplay to discourage this problem from 120381ab64890Smrg respawning. 120391ab64890Smrg 120401ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 120411ab64890Smrg 120421ab64890Smrgcommit 740ead23512f8d2eaafaa69e514f1ebafad475b9 120431ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 120441ab64890SmrgDate: Sat Jun 2 16:01:01 2007 -0700 120451ab64890Smrg 120461ab64890Smrg Xlib/XCB: Avoid re-crashing after _XIOError. 120471ab64890Smrg 120481ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 120491ab64890Smrg 120501ab64890Smrgcommit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 120511ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 120521ab64890SmrgDate: Sat Jun 2 12:30:30 2007 -0700 120531ab64890Smrg 120541ab64890Smrg Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 120551ab64890Smrg 120561ab64890Smrg An Xlib client can query Display state, such as with NextRequest, while 120571ab64890Smrg it holds only the Xlib user lock (between XLockDisplay and 120581ab64890Smrg XUnlockDisplay), so XCB requests in other threads should be blocked when 120591ab64890Smrg the Xlib user lock is held. 120601ab64890Smrg 120611ab64890Smrg We acquire the lock even when XInitThreads was not called, so that pure 120621ab64890Smrg XCB code can use multiple threads even in an otherwise single-threaded 120631ab64890Smrg Xlib application. 120641ab64890Smrg 120651ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 120661ab64890Smrg 120671ab64890Smrgcommit 95523387d619af5b400748898d722e080b5ce1a6 120681ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 120691ab64890SmrgDate: Sat Jun 2 11:57:39 2007 -0700 120701ab64890Smrg 120711ab64890Smrg Allow re-entrant Xlib calls from _XIOError. 120721ab64890Smrg 120731ab64890Smrg Some libraries try to clean up X resources from atexit handlers, _fini, 120741ab64890Smrg or C++ destructors. To make these work, the Display lock should be 120751ab64890Smrg downgraded to a user lock (as in XLockDisplay) before calling exit(3). 120761ab64890Smrg This blocks Xlib calls from threads other than the one calling exit(3) 120771ab64890Smrg while still allowing the exit handlers to call Xlib. 120781ab64890Smrg 120791ab64890Smrg This assumes that the thread calling exit will call any atexit handlers. 120801ab64890Smrg If this does not hold, then an alternate solution would involve 120811ab64890Smrg registering an atexit handler to take over the lock, which would only 120821ab64890Smrg assume that the same thread calls all the atexit handlers. 120831ab64890Smrg 120841ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 120851ab64890Smrg 120861ab64890Smrgcommit 91b02b8064f4e0bcc56019f0722914850008a597 120871ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 120881ab64890SmrgDate: Thu May 17 19:07:34 2007 +0200 120891ab64890Smrg 120901ab64890Smrg More constification. 120911ab64890Smrg 120921ab64890Smrgcommit a4f3841940158351f9424c3f59b305cce877177d 120931ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 120941ab64890SmrgDate: Thu May 17 00:29:43 2007 +0200 120951ab64890Smrg 120961ab64890Smrg Constified composite text charset table. 120971ab64890Smrg 120981ab64890Smrgcommit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 120991ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 121001ab64890SmrgDate: Wed May 16 23:19:22 2007 +0200 121011ab64890Smrg 121021ab64890Smrg Have the compiler fill in hexTable so we don't have to do it at runtime. 121031ab64890Smrg 121041ab64890Smrgcommit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 121051ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 121061ab64890SmrgDate: Wed May 16 19:36:23 2007 +0200 121071ab64890Smrg 121081ab64890Smrg More constification. 121091ab64890Smrg 121101ab64890Smrgcommit 6d2bed8f04942b4de086a519ac693e729c9fdeea 121111ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 121121ab64890SmrgDate: Wed May 16 19:18:20 2007 +0200 121131ab64890Smrg 121141ab64890Smrg Constify and clean up token table. 121151ab64890Smrg 121161ab64890Smrgcommit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 121171ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 121181ab64890SmrgDate: Wed May 16 18:24:42 2007 +0200 121191ab64890Smrg 121201ab64890Smrg Constified more tables. 121211ab64890Smrg 121221ab64890Smrgcommit e699c4231c205ef00d687b6412308d031b99806b 121231ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 121241ab64890SmrgDate: Wed May 16 18:01:23 2007 +0200 121251ab64890Smrg 121261ab64890Smrg Constified error list. 121271ab64890Smrg 1212861b2299dSmrgcommit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 1212961b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1213061b2299dSmrgDate: Tue May 15 16:54:01 2007 +0930 1213161b2299dSmrg 1213261b2299dSmrg Add XGenericEvent definition and handling for long events. 1213361b2299dSmrg 121341ab64890Smrgcommit c76d30253f1483ac8200ad5c032a818907e65030 121351ab64890SmrgAuthor: Jan Willem Stumpel <jstumpel@planet.nl> 121361ab64890SmrgDate: Fri May 4 12:00:49 2007 -0700 121371ab64890Smrg 121381ab64890Smrg Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 121391ab64890Smrg 121401ab64890Smrg Cf: 121411ab64890Smrg 121421ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=10851 121431ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=10824 121441ab64890Smrg http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 121451ab64890Smrg 121461ab64890Smrg The greek keyboard definition was changed to replace dead_horn and 121471ab64890Smrg dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 121481ab64890Smrg COMBINING REVERSED COMMA ABOVE (aka Dasia). 121491ab64890Smrg 121501ab64890Smrg This patch modifies the Greek Compose.pre to match. 121511ab64890Smrg 121521ab64890Smrg It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 121531ab64890Smrg posted to 386385@bugs.debian.org: 121541ab64890Smrg 121551ab64890Smrg #!/usr/bin/perl 121561ab64890Smrg while (<>) { 121571ab64890Smrg print $_; 121581ab64890Smrg if (/dead_horn/) { 121591ab64890Smrg s/dead_horn/U0313/; 121601ab64890Smrg print $_; 121611ab64890Smrg } 121621ab64890Smrg elsif (/dead_ogonek/) { 121631ab64890Smrg s/dead_ogonek/U0314/; 121641ab64890Smrg print $_; 121651ab64890Smrg } 121661ab64890Smrg } 121671ab64890Smrg 121681ab64890Smrgcommit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 121691ab64890SmrgAuthor: Magnus Kessler <Magnus.Kessler@gmx.net> 121701ab64890SmrgDate: Tue May 1 15:20:08 2007 +0200 121711ab64890Smrg 121721ab64890Smrg Switched function definitions from K&R to ANSI style. 121731ab64890Smrg 121741ab64890Smrgcommit 605d357074d556a05a3fba2e85cbea36a3204248 121751ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 121761ab64890SmrgDate: Tue May 1 14:47:03 2007 +0200 121771ab64890Smrg 121781ab64890Smrg Tweaked configure output about the man pages suffix. 121791ab64890Smrg 121801ab64890Smrgcommit 9824b40d2af4ca2376512c1be7743da0d5065900 121811ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 121821ab64890SmrgDate: Sat Apr 28 00:42:18 2007 -0700 121831ab64890Smrg 121841ab64890Smrg Fix typo in nroff macro in XkbAddGeomOverlayKey.man 121851ab64890Smrg 121861ab64890Smrgcommit f93849dcc68bd5042ea0884e5190dc7c35b31d68 121871ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 121881ab64890SmrgDate: Sat Apr 28 00:30:55 2007 -0700 121891ab64890Smrg 121901ab64890Smrg Protect C comments and #defines in XKB man pages from being mangled by cpp 121911ab64890Smrg 121921ab64890Smrgcommit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 121931ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 121941ab64890SmrgDate: Sat Apr 28 00:14:50 2007 -0700 121951ab64890Smrg 121961ab64890Smrg Add Makefile to process/install XKB man pages 121971ab64890Smrg 121981ab64890Smrgcommit d9954c6f6f3a8c406b946acd0d034ff83c656156 121991ab64890SmrgAuthor: Dennis Arellano <Dennis.Arellano@Sun.COM> 122001ab64890SmrgDate: Thu Aug 19 00:00:00 1999 -0700 122011ab64890Smrg 122021ab64890Smrg Add man pages for XKB API's 122031ab64890Smrg 122041ab64890Smrg Man pages originally written for X11R6.4 integration to Solaris 7 11/99 122051ab64890Smrg Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 122061ab64890Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 122071ab64890Smrg 122081ab64890Smrg (Volunteer needed to convert prototypes in man pages to ANSI C style...) 122091ab64890Smrg 122101ab64890Smrgcommit f640a49b5e2ebf29f9d655df544c63bf826f619a 122111ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 122121ab64890SmrgDate: Fri Apr 20 18:39:59 2007 +0200 122131ab64890Smrg 122141ab64890Smrg Markup tweak for XOpenIM. 122151ab64890Smrg 122161ab64890Smrgcommit e972b0bb255af4f3258217852542faf5afa60b28 122171ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 122181ab64890SmrgDate: Fri Apr 20 18:35:09 2007 +0200 122191ab64890Smrg 122201ab64890Smrg Bug #9695: Fixed a few argument types in the XOpenIM manpage. 122211ab64890Smrg 122221ab64890Smrgcommit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 122231ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 122241ab64890SmrgDate: Fri Apr 20 18:28:52 2007 +0200 122251ab64890Smrg 122261ab64890Smrg Bug #9697: Fixed documentation of XVisualInfo struct. 122271ab64890Smrg 122281ab64890Smrg The "depth" member was said to be unsigned int, but it's signed. 122291ab64890Smrg 122301ab64890Smrgcommit 4068f3dae01c630f825002673b1d3a047ad61863 122311ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 122321ab64890SmrgDate: Fri Apr 20 16:41:21 2007 +0200 122331ab64890Smrg 122341ab64890Smrg Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 122351ab64890Smrg 122361ab64890Smrgcommit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 122371ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 122381ab64890SmrgDate: Sat Apr 7 14:42:55 2007 +0200 122391ab64890Smrg 122401ab64890Smrg Use unistd.h to get getresuid() and friends. 122411ab64890Smrg 122421ab64890Smrg This works since we now have _GNU_SOURCE defined. 122431ab64890Smrg 122441ab64890Smrgcommit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 122451ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 122461ab64890SmrgDate: Sat Apr 7 14:27:12 2007 +0200 122471ab64890Smrg 122481ab64890Smrg Bug #10562: Define _GNU_SOURCE on glibc systems. 122491ab64890Smrg 122501ab64890Smrgcommit a225a0be48770beb689d5ac5da97073634f7deab 122511ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 122521ab64890SmrgDate: Fri Apr 6 12:46:25 2007 +0200 122531ab64890Smrg 122541ab64890Smrg For nls/*.pre, allow people to comment lines by starting them with '##'. 122551ab64890Smrg 122561ab64890Smrg This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 122571ab64890Smrg Fixing that file would have been a larger diff, and using ## may be 122581ab64890Smrg nicer to use anyway. 122591ab64890Smrg 122601ab64890Smrgcommit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 122611ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 122621ab64890SmrgDate: Fri Apr 6 11:59:31 2007 +0200 122631ab64890Smrg 122641ab64890Smrg Bug #10475: Fixed lots of char*/const char* mixups. 122651ab64890Smrg 122661ab64890Smrg I didn't fix all of them, as that would require touching 122671ab64890Smrg public headers. 122681ab64890Smrg 122691ab64890Smrgcommit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 122701ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 122711ab64890SmrgDate: Thu Apr 5 11:53:18 2007 +0200 122721ab64890Smrg 122731ab64890Smrg Fix 64bit issues with reallocation. 122741ab64890Smrg 122751ab64890Smrgcommit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 122761ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 122771ab64890SmrgDate: Wed Apr 4 18:41:18 2007 +0200 122781ab64890Smrg 122791ab64890Smrg Fixed a few warnings. 122801ab64890Smrg 122811ab64890Smrgcommit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 122821ab64890SmrgAuthor: Matthieu Herrb <matthieu@roadrock.(none)> 122831ab64890SmrgDate: Tue Apr 3 15:39:52 2007 +0200 122841ab64890Smrg 122851ab64890Smrg Multiple integer overflows in the XGetPixel() and XInitImage functions 122861ab64890Smrg 122871ab64890Smrg CVE-2007-1667 122881ab64890Smrg 122891ab64890Smrgcommit 0284b144340a455a4b5b5011d81ac5a610372291 122901ab64890SmrgAuthor: David Baron <dbaron@dbaron.org> 122911ab64890SmrgDate: Fri Mar 30 17:07:46 2007 +0200 122921ab64890Smrg 122931ab64890Smrg Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 122941ab64890Smrg 122951ab64890Smrg Now only those fields of the respective hint struct are set that 122961ab64890Smrg are actually valid in the input data. 122971ab64890Smrg The changed functions are: 122981ab64890Smrg XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 122991ab64890Smrg 123001ab64890Smrgcommit 0994faa0c76c45b106442db461b8a30a3e1c9395 123011ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 123021ab64890SmrgDate: Thu Mar 29 17:31:25 2007 +0200 123031ab64890Smrg 123041ab64890Smrg Fixed the change from the previous SendEvent commit. 123051ab64890Smrg 123061ab64890Smrg Testing a different patch than the one you commit is bad, right? 123071ab64890Smrg 123081ab64890Smrgcommit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 123091ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 123101ab64890SmrgDate: Wed Mar 28 22:23:44 2007 +0200 123111ab64890Smrg 123121ab64890Smrg Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 123131ab64890Smrg 123141ab64890Smrgcommit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 123151ab64890SmrgAuthor: David Baron <dbaron@dbaron.org> 123161ab64890SmrgDate: Wed Mar 28 22:21:40 2007 +0200 123171ab64890Smrg 123181ab64890Smrg Bug #7713: Initialize all of the event's fields before sending it. 123191ab64890Smrg 123201ab64890Smrgcommit bc80f9fe3ccce40ee41246b97470c4f0519756ad 123211ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 123221ab64890SmrgDate: Sun Mar 18 13:14:48 2007 +0100 123231ab64890Smrg 123241ab64890Smrg Bug #9279: Fixed a file descriptor leak. 123251ab64890Smrg 123261ab64890Smrgcommit c9e28e05ae01ce8a29bea09df759b6271865b44c 123271ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 123281ab64890SmrgDate: Sat Dec 16 00:45:19 2006 +0200 123291ab64890Smrg 123301ab64890Smrg include: don't distribute XlibConf.h 123311ab64890Smrg 123321ab64890Smrg Since XlibConf.h is built by configure, don't distribute it. 123331ab64890Smrg 123341ab64890Smrgcommit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 1233538ae11fcSmrgMerge: 129bbb9f 769b9854 123361ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net> 123371ab64890SmrgDate: Thu Dec 14 14:23:20 2006 -0600 123381ab64890Smrg 123391ab64890Smrg Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 123401ab64890Smrg 123411ab64890Smrgcommit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 123421ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net> 123431ab64890SmrgDate: Thu Dec 14 14:21:19 2006 -0600 123441ab64890Smrg 123451ab64890Smrg For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 123461ab64890Smrg 123471ab64890Smrgcommit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 123481ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 123491ab64890SmrgDate: Wed Dec 6 18:53:00 2006 +0200 123501ab64890Smrg 123511ab64890Smrg Makefile.am: make ChangeLog hook safer 123521ab64890Smrg 123531ab64890Smrg Make ChangeLog hook as safe as possible. 123541ab64890Smrg (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 123551ab64890Smrg 123561ab64890Smrgcommit 8a8185a649e93b90ffa820387ffdca831227f5a9 123571ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 123581ab64890SmrgDate: Thu Nov 30 18:33:13 2006 -0800 123591ab64890Smrg 123601ab64890Smrg Add autogen.sh to EXTRA_DIST. 123611ab64890Smrg 123621ab64890Smrgcommit efe817f95ef8d05e863c83147e903140bc860de4 123631ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 123641ab64890SmrgDate: Thu Nov 30 17:58:35 2006 -0800 123651ab64890Smrg 123661ab64890Smrg Release libX11 1.1.1. 123671ab64890Smrg 123681ab64890Smrgcommit f637a5b03164263a3af2e644cf655e52b015f1bb 123691ab64890SmrgAuthor: Ross Combs <rocombs@cs.nmsu.edu> 123701ab64890SmrgDate: Sat Nov 25 14:45:17 2006 -0800 123711ab64890Smrg 123721ab64890Smrg Debian bug #354315: Clarify return value in XGetWindowAttributes man page 123731ab64890Smrg 123741ab64890Smrg This man page does not discuss the actual return values of the 123751ab64890Smrg function, but says they are of type "Status". One might assume 123761ab64890Smrg that this means you could compare it with the "Success" macro. 123771ab64890Smrg One would be wrong. 123781ab64890Smrg 123791ab64890Smrg The X functions seem to have two three types representing status. 123801ab64890Smrg If it is an "int" there are a number of error codes or "Success" 123811ab64890Smrg which can be compared against. If it is a bool, the result can be 123821ab64890Smrg compared with "True" or "False". If the return type is "Status" it 123831ab64890Smrg appears that the return type is either 0 or 1. Unfortunately the 123841ab64890Smrg value for Success is zero, so it is important to distinguish 123851ab64890Smrg between the first two types of return values and the third; 123861ab64890Smrg otherwise the conditional will be inverted. 123871ab64890Smrg 123881ab64890Smrg XGetWindowAttributes() is one of the functions which returns zero 123891ab64890Smrg for failure. The man page should make this clear. 123901ab64890Smrg 123911ab64890Smrgcommit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 123921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 123931ab64890SmrgDate: Sat Nov 25 14:23:45 2006 -0800 123941ab64890Smrg 123951ab64890Smrg Bug #9154: Always process an event for _XReadEvents, even if an error occurs 123961ab64890Smrg 123971ab64890Smrg Previously, process_responses (in the wait_for_first_event case called 123981ab64890Smrg from _XReadEvents) considered any return from xcb_wait_for_event 123991ab64890Smrg sufficient to think it had processed an event. If xcb_wait_for_event 124001ab64890Smrg returned an error, and no more events occurred before process_responses 124011ab64890Smrg called xcb_poll_for_event, process_responses would try to return with 124021ab64890Smrg dpy->head NULL, and would fail an assertion for the _XReadEvents 124031ab64890Smrg postcondition. Now, process_responses continues using xcb_wait_for_event 124041ab64890Smrg until it gets an event. 124051ab64890Smrg 124061ab64890Smrgcommit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 124071ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 124081ab64890SmrgDate: Sat Nov 25 05:29:31 2006 -0800 124091ab64890Smrg 124101ab64890Smrg Bug #9153: Fix access to freed memory. 124111ab64890Smrg 124121ab64890Smrg The fix for bug #8622 introduced a smaller bug where _XReply would 124131ab64890Smrg read memory shortly after freeing it. This patch caches the needed 124141ab64890Smrg value in a stack-allocated variable before the heap-allocated memory 124151ab64890Smrg is freed. 124161ab64890Smrg 124171ab64890Smrgcommit 934ca763bbc0dd7ae460469bfc000ba101602bcc 124181ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 124191ab64890SmrgDate: Fri Nov 24 19:57:58 2006 -0800 124201ab64890Smrg 124211ab64890Smrg libx11 doesn't use inputproto in public headers; don't require it in x11.pc 124221ab64890Smrg 124231ab64890Smrg Based on a Debian patch. 124241ab64890Smrg 124251ab64890Smrgcommit 4255997ef2d92740d51f6e63e9eabcfa089683f0 124261ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 124271ab64890SmrgDate: Thu Nov 23 07:19:32 2006 -0800 124281ab64890Smrg 124291ab64890Smrg Release libX11 1.1 124301ab64890Smrg 124311ab64890Smrgcommit a1168e11ec9377307c51a7271faec3bf88a63a66 124321ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 124331ab64890SmrgDate: Tue Nov 21 17:52:34 2006 -0800 124341ab64890Smrg 124351ab64890Smrg Add note in man-page that XListFontsWithInfo is not thread-safe. 124361ab64890Smrg 124371ab64890Smrg _XReply drops the Display lock, so the value of dpy->request may change 124381ab64890Smrg before _XReply is called again. 124391ab64890Smrg 124401ab64890Smrg I discovered this by inspection a year or two ago. I'm pretty confident 124411ab64890Smrg in the claim, and nobody has come up with an argument for why it's safe 124421ab64890Smrg despite appearances. 124431ab64890Smrg 124441ab64890Smrgcommit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 124451ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 124461ab64890SmrgDate: Sat Nov 18 15:39:26 2006 -0800 124471ab64890Smrg 124481ab64890Smrg Bug #8622: Fix response processing order for threaded apps 124491ab64890Smrg 124501ab64890Smrg Previously, process_responses (the common code for _XReply, 124511ab64890Smrg _XReadEvents, and _XEventsQueued) took the current request sequence 124521ab64890Smrg number as an argument, and did some highly complicated processing to 124531ab64890Smrg attempt to process responses in order across threads. This didn't 124541ab64890Smrg actually work. 124551ab64890Smrg 124561ab64890Smrg Now, process_responses handles responses in order, by adding condition 124571ab64890Smrg variables to the list of outstanding requests in 124581ab64890Smrg dpy->xcb->pending_requests, and blocking on them when those requests 124591ab64890Smrg should get processed to allow _XReply to process them; if actually 124601ab64890Smrg called from _XReply, it returns when _XReply's request should get 124611ab64890Smrg processed. _XReply broadcasts on the condition variable after it has 124621ab64890Smrg read its reply and re-acquired the display lock. 124631ab64890Smrg 124641ab64890Smrg Another great commit brought to you by Jamey Sharp, Josh Triplett, the 124651ab64890Smrg Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 124661ab64890Smrg forwarding. 124671ab64890Smrg 124681ab64890Smrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 124691ab64890Smrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 124701ab64890Smrg 124711ab64890Smrgcommit 941f02ede63baa46f93ed8abccebe76fb29c0789 124721ab64890SmrgAuthor: Lars Knoll <lars@trolltech.com> 124731ab64890SmrgDate: Wed Nov 8 12:17:41 2006 -0800 124741ab64890Smrg 124751ab64890Smrg Don't hold the display lock around callbacks to the application. 124761ab64890Smrg 124771ab64890Smrg This fixes an XCB locking assertion failure, particularly with emacs. 124781ab64890Smrg 124791ab64890Smrgcommit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 124801ab64890SmrgAuthor: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 124811ab64890SmrgDate: Tue Nov 7 09:32:00 2006 -0800 124821ab64890Smrg 124831ab64890Smrg Add xcb-xlib dependency to x11.pc when built against XCB. 124841ab64890Smrg 124851ab64890Smrgcommit 2302008a3793eb4df8ede777d54fe06505c47eaf 124861ab64890SmrgAuthor: Eric Anholt <eric@anholt.net> 124871ab64890SmrgDate: Mon Nov 6 17:11:42 2006 -0800 124881ab64890Smrg 124891ab64890Smrg XCB: Allocate the right amount of memory for dpy->lock_fns. 124901ab64890Smrg 124911ab64890Smrg Fixes a crash I was experiencing on startup of anything using gdk. 124921ab64890Smrg 124931ab64890Smrgcommit 5f860655be88108b03ccd97470a0814819254bf0 124941ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 124951ab64890SmrgDate: Thu Nov 2 17:55:31 2006 -0800 124961ab64890Smrg 124971ab64890Smrg Release libX11 1.1 RC2 (1.0.99.2). 124981ab64890Smrg 124991ab64890Smrgcommit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 125001ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 125011ab64890SmrgDate: Sun Oct 29 03:10:30 2006 +0300 125021ab64890Smrg 125031ab64890Smrg nls (en_US): remove long compositions that override shorter (bug #2286) 125041ab64890Smrg Remove long compositions that override (or get overriden by) later shorter 125051ab64890Smrg compositions, e.g. a four-key compose sequence that gets overriden by a 125061ab64890Smrg later three-key compose sequence. 125071ab64890Smrg 125081ab64890Smrgcommit 0280bf11ef88673a9b5bba3a91a599260f1f0949 125091ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 125101ab64890SmrgDate: Sun Oct 29 03:08:36 2006 +0300 125111ab64890Smrg 125121ab64890Smrg nls: remove shadowed compose entries (bug #2286) 125131ab64890Smrg Remove compose entries shadowed by others later on. 125141ab64890Smrg 125151ab64890Smrgcommit d118f2b1ef10997194b281524177dea7396da7dd 125161ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 125171ab64890SmrgDate: Sun Oct 29 03:07:15 2006 +0300 125181ab64890Smrg 125191ab64890Smrg nls: remove duplicate compose entries (bug #2286) 125201ab64890Smrg Remove a bunch of duplicate entries from various Compose files. 125211ab64890Smrg 125221ab64890Smrgcommit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 125231ab64890SmrgAuthor: Caolan McNamara <caolanm@redhat.com> 125241ab64890SmrgDate: Sun Oct 29 02:46:15 2006 +0300 125251ab64890Smrg 125261ab64890Smrg XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 125271ab64890Smrg Don't leak the name and value of every property we parse, as well as the 125281ab64890Smrg name of every colour. 125291ab64890Smrg 125301ab64890Smrgcommit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 125311ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 125321ab64890SmrgDate: Wed Oct 18 14:25:04 2006 +0200 125331ab64890Smrg 125341ab64890Smrg Fix double open of compose file. 125351ab64890Smrg 125361ab64890Smrg Issue found by Kees Cook <kees@canonical.com>. 125371ab64890Smrg 125381ab64890Smrgcommit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 125391ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 125401ab64890SmrgDate: Sat Oct 14 21:25:10 2006 -0700 125411ab64890Smrg 125421ab64890Smrg XCB: check for and handle I/O errors in _XGetXCBBuffer. 125431ab64890Smrg 125441ab64890Smrgcommit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 125451ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 125461ab64890SmrgDate: Wed Oct 11 00:06:50 2006 -0700 125471ab64890Smrg 125481ab64890Smrg XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 125491ab64890Smrg 125501ab64890Smrgcommit 1eedf1bd033e496843cfde42ae4ae5a119298605 125511ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 125521ab64890SmrgDate: Tue Oct 10 23:03:28 2006 -0700 125531ab64890Smrg 125541ab64890Smrg Add correct Display locking to XKB functions. 125551ab64890Smrg 125561ab64890Smrg Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 125571ab64890Smrg This patch fixes at least some instances of that problem. 125581ab64890Smrg 125591ab64890Smrg Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 125601ab64890Smrg and proposing a fix, which this patch is based on. 125611ab64890Smrg 125621ab64890Smrgcommit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 125631ab64890SmrgAuthor: David Nusinow <dnusinow@debian.org> 125641ab64890SmrgDate: Tue Oct 10 22:11:05 2006 -0400 125651ab64890Smrg 125661ab64890Smrg Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 125671ab64890Smrg 125681ab64890Smrgcommit e53557da969b706dbc843f6fde3db31ffe382e0f 125691ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 125701ab64890SmrgDate: Sat Oct 7 21:00:36 2006 -0700 125711ab64890Smrg 125721ab64890Smrg Release libX11 1.1 RC1 (1.0.99.1). 125731ab64890Smrg 125741ab64890Smrgcommit bf237409c5fce32c557d298f62f44d456c2b5bc8 1257538ae11fcSmrgMerge: ba477191 2d426d1f 125761ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 125771ab64890SmrgDate: Sat Oct 7 21:07:16 2006 -0700 125781ab64890Smrg 125791ab64890Smrg As XCB support is about to be released in libX11, stable is now subsumed by master. 125801ab64890Smrg 125811ab64890Smrgcommit ba477191c67ce93e61423cc1abe35275704cce50 125821ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 125831ab64890SmrgDate: Sat Oct 7 03:48:13 2006 -0700 125841ab64890Smrg 125851ab64890Smrg XCB: Don't rely on having the definition of struct xcb_setup_t available. 125861ab64890Smrg 125871ab64890Smrgcommit 117b55cbd0b0ce51362df88363ed83d44a493ac7 125881ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 125891ab64890SmrgDate: Fri Oct 6 16:27:31 2006 -0700 125901ab64890Smrg 125911ab64890Smrg xcb_poll_for_event no longer takes an 'int *error' out-parameter. 125921ab64890Smrg 125931ab64890Smrgcommit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 125941ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 125951ab64890SmrgDate: Fri Oct 6 16:26:11 2006 -0700 125961ab64890Smrg 125971ab64890Smrg Actually ship Xxcbint.h 125981ab64890Smrg 125991ab64890Smrgcommit 7b027e53b5e393082f4f515c8ba18077eb97163f 126001ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126011ab64890SmrgDate: Fri Oct 6 16:25:50 2006 -0700 126021ab64890Smrg 126031ab64890Smrg Clean ChangeLog only in "make maintainer-clean", not "make clean" 126041ab64890Smrg 126051ab64890Smrg ChangeLog requires a git repo to generate; make clean and make distclean 126061ab64890Smrg shouldn't get rid of it. 126071ab64890Smrg 126081ab64890Smrgcommit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 126091ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126101ab64890SmrgDate: Fri Oct 6 16:24:58 2006 -0700 126111ab64890Smrg 126121ab64890Smrg Add ChangeLog and "make dist"-generated files to .gitignore 126131ab64890Smrg 126141ab64890Smrgcommit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 126151ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126161ab64890SmrgDate: Fri Oct 6 15:53:27 2006 -0700 126171ab64890Smrg 126181ab64890Smrg Add manual pages for XGetXCBConnection and XSetEventQueueOwner 126191ab64890Smrg 126201ab64890Smrgcommit 688224cea95e453f94c5a602dc6fce84bc93dfc0 126211ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126221ab64890SmrgDate: Fri Oct 6 13:41:16 2006 -0700 126231ab64890Smrg 126241ab64890Smrg Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 126251ab64890Smrg 126261ab64890Smrgcommit ab728ca372288d0db1b486c265e34c1376f29104 126271ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126281ab64890SmrgDate: Fri Oct 6 12:36:39 2006 -0700 126291ab64890Smrg 126301ab64890Smrg XCL is dead; long live Xlib/XCB 126311ab64890Smrg 126321ab64890Smrg Rename all instances of "XCL" to Xlib/XCB-derived names. 126331ab64890Smrg 126341ab64890Smrg The only user-visible change: rename the include file <X11/xcl.h> to 126351ab64890Smrg <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 126361ab64890Smrg 126371ab64890Smrg Remove the XCL cast inlines from Xlib-xcb.h. 126381ab64890Smrg 126391ab64890Smrgcommit 5b73093203039d307eb7ab3845c3ced207e9e26c 126401ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126411ab64890SmrgDate: Fri Oct 6 11:33:49 2006 -0700 126421ab64890Smrg 126431ab64890Smrg Add XCB developers to AUTHORS 126441ab64890Smrg 126451ab64890Smrgcommit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 126461ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126471ab64890SmrgDate: Fri Oct 6 11:21:28 2006 -0700 126481ab64890Smrg 126491ab64890Smrg Fix email addresses in README 126501ab64890Smrg 126511ab64890Smrgcommit 12f038669278019594ca0ed53dadcf4e84092422 126521ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 126531ab64890SmrgDate: Fri Oct 6 02:13:05 2006 -0700 126541ab64890Smrg 126551ab64890Smrg XCB: Handle all responses in order of monotonically increasing sequence number. 126561ab64890Smrg 126571ab64890Smrgcommit f392680273278b43079302206897f794e60f3c70 126581ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126591ab64890SmrgDate: Fri Oct 6 01:11:08 2006 -0700 126601ab64890Smrg 126611ab64890Smrg Actually install x11-xcb.pc, and ship x11-xcb.pc.in 126621ab64890Smrg 126631ab64890Smrgcommit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 126641ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 126651ab64890SmrgDate: Thu Oct 5 18:32:29 2006 -0700 126661ab64890Smrg 126671ab64890Smrg XCB: correctly handle failure to connect to X server. 126681ab64890Smrg 126691ab64890Smrgcommit e754b3b078d556c7861da56aad47d244e9199e06 126701ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 126711ab64890SmrgDate: Thu Oct 5 17:44:22 2006 -0700 126721ab64890Smrg 126731ab64890Smrg Split public Xlib/XCB functions into libX11-xcb 126741ab64890Smrg 126751ab64890Smrg We can never change the libX11 soname, and we don't want to commit to never 126761ab64890Smrg changing the public Xlib/XCB functions, so split them into a separate library 126771ab64890Smrg libX11-xcb. This also means that a program linked solely against libX11 126781ab64890Smrg should work with either Xlib or Xlib/XCB, which will make life easier for 126791ab64890Smrg package maintainers. 126801ab64890Smrg 126811ab64890Smrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 126821ab64890Smrg Acked-by: Jamey Sharp <jamey@minilop.net> 126831ab64890Smrg 126841ab64890Smrgcommit ffd367f708b295abaedf3a23a1bfd4710d171d6f 126851ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 126861ab64890SmrgDate: Wed Oct 4 17:16:46 2006 -0700 126871ab64890Smrg 126881ab64890Smrg No longer #include Xmd from xcl.h: we do not need it. 126891ab64890Smrg 126901ab64890Smrgcommit 3aff149d42ba8ed620091971b3766bdf96c62aaf 126911ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 126921ab64890SmrgDate: Wed Oct 4 16:58:32 2006 -0700 126931ab64890Smrg 126941ab64890Smrg XCB: Revert locking to simple wrapper around libX11's normal locks. 126951ab64890Smrg 126961ab64890Smrg No more recursive mutexes, no more banging XCB's I/O lock in-place, and 126971ab64890Smrg reduces the differences between the previous stable release and an 126981ab64890Smrg XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 126991ab64890Smrg too, now. I apologize to the world. 127001ab64890Smrg 127011ab64890Smrgcommit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 127021ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 127031ab64890SmrgDate: Mon Sep 25 04:54:52 2006 -0700 127041ab64890Smrg 127051ab64890Smrg Link explicitly against XCB's Xlib compatibility functions. 127061ab64890Smrg 127071ab64890Smrgcommit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 127081ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 127091ab64890SmrgDate: Mon Sep 25 04:13:20 2006 -0700 127101ab64890Smrg 127111ab64890Smrg libxcb now installs header files in <xcb>, not <X11/XCB>. 127121ab64890Smrg 127131ab64890Smrgcommit 87d00207f5a1f25a45a153618739cd6481814f89 127141ab64890SmrgAuthor: Ian Osgood <iano@quirkster.com> 127151ab64890SmrgDate: Sun Sep 24 23:39:01 2006 -0700 127161ab64890Smrg 127171ab64890Smrg Track XCB's "Great Renaming". 127181ab64890Smrg 127191ab64890Smrgcommit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 127201ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 127211ab64890SmrgDate: Tue Sep 12 23:02:42 2006 -0700 127221ab64890Smrg 127231ab64890Smrg Quit using XCBGetQueuedRequestRead. 127241ab64890Smrg 127251ab64890Smrgcommit a61936fc4e9bd93b108764bbacd5b8f786e51915 127261ab64890SmrgAuthor: Tollef Fog Heen <tfheen@err.no> 127271ab64890SmrgDate: Wed Aug 30 00:05:54 2006 +0300 127281ab64890Smrg 127291ab64890Smrg nls: use _XlcUtf8Loader for en_US (bug #7982) 127301ab64890Smrg Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 127311ab64890Smrg every other locale. 127321ab64890Smrg 127331ab64890Smrgcommit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 127341ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 127351ab64890SmrgDate: Wed Aug 23 18:49:30 2006 -0700 127361ab64890Smrg 127371ab64890Smrg When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 127381ab64890Smrg 127391ab64890Smrg Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 127401ab64890Smrg connect on a named pipe, try a Unix socket first, to better support people who 127411ab64890Smrg replace their X servers with ones that don't support named pipe transport. 127421ab64890Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 127431ab64890Smrg 127441ab64890Smrgcommit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 127451ab64890SmrgAuthor: Mark Brown <mark.brown@sun.com> 127461ab64890SmrgDate: Thu Jul 27 19:17:10 2006 -0700 127471ab64890Smrg 127481ab64890Smrg Sun bug 1149809: Document event delivery when grab is terminated. 127491ab64890Smrg 127501ab64890Smrgcommit 171107b03ac89d94f9006c7cda242aeefb9ecd16 127511ab64890SmrgAuthor: Dennis Arellano <Dennis.Arellano@Sun.COM> 127521ab64890SmrgDate: Thu Jul 27 18:47:06 2006 -0700 127531ab64890Smrg 127541ab64890Smrg Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 127551ab64890Smrg 127561ab64890Smrg Document that 32-bit format properties are always returned in arrays of type 127571ab64890Smrg long, even on systems where long is 64-bits. 127581ab64890Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 127591ab64890Smrg 127601ab64890Smrgcommit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 127611ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 127621ab64890SmrgDate: Mon Jul 24 15:52:00 2006 -0700 127631ab64890Smrg 127641ab64890Smrg Add support for "make lint" to check code with lint/sparse/etc. 127651ab64890Smrg 127661ab64890Smrgcommit 931e02fbd1acd09aae2b0954c34342c86c72dff6 127671ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 127681ab64890SmrgDate: Mon Jul 24 15:50:52 2006 -0700 127691ab64890Smrg 127701ab64890Smrg ANSIfy some static function definitions 127711ab64890Smrg 127721ab64890Smrgcommit 20b7abcaac324d90454de63f32f4a2b398e69e63 127731ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 127741ab64890SmrgDate: Mon Jul 24 15:01:40 2006 -0700 127751ab64890Smrg 127761ab64890Smrg Fix sparse warning: Using plain integer as NULL pointer 127771ab64890Smrg 127781ab64890Smrgcommit d158ab29930513c4097f5b67e7bea08ed2bfd62c 127791ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 127801ab64890SmrgDate: Mon Jul 24 14:00:24 2006 -0700 127811ab64890Smrg 127821ab64890Smrg Remove unused variable 127831ab64890Smrg 127841ab64890Smrgcommit 30377000375bdb958042dcb1f38503c94ef21eaf 127851ab64890SmrgAuthor: Eric Anholt <anholt@FreeBSD.org> 127861ab64890SmrgDate: Fri Jul 21 18:55:36 2006 -0400 127871ab64890Smrg 127881ab64890Smrg Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 127891ab64890Smrg 127901ab64890Smrgcommit 4eba45879aea4e415ab550ee56b900d060099110 127911ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 127921ab64890SmrgDate: Sun Jul 16 10:55:39 2006 +0200 127931ab64890Smrg 127941ab64890Smrg set GIT_DIR=${srcdir}/.git for git-log 127951ab64890Smrg 127961ab64890Smrgcommit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 127971ab64890SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 127981ab64890SmrgDate: Tue Jul 11 13:27:49 2006 -0700 127991ab64890Smrg 128001ab64890Smrg Add a .PHONY to ensure the ChangeLog isn't stale. 128011ab64890Smrg 128021ab64890Smrg Setting the ChangeLog rule as phony forces it to be re-run even when the 128031ab64890Smrg ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 128041ab64890Smrg Solaris make. 128051ab64890Smrg (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 128061ab64890Smrg 128071ab64890Smrgcommit b8a98809ed81e1226775e6447ef219ffc01334b5 128081ab64890SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 128091ab64890SmrgDate: Tue Jul 11 13:27:49 2006 -0700 128101ab64890Smrg 128111ab64890Smrg Add a .PHONY to ensure the ChangeLog isn't stale. 128121ab64890Smrg 128131ab64890Smrg Setting the ChangeLog rule as phony forces it to be re-run even when the 128141ab64890Smrg ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 128151ab64890Smrg Solaris make. 128161ab64890Smrg 128171ab64890Smrgcommit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 128181ab64890SmrgAuthor: Mayank Jain <majain@redhat.com> 128191ab64890SmrgDate: Tue Jul 11 19:42:47 2006 +0100 128201ab64890Smrg 128211ab64890Smrg add Indian language locales 128221ab64890Smrg Add as, kn, ml, or, ur, and te locales. 128231ab64890Smrg 128241ab64890Smrgcommit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 128251ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 128261ab64890SmrgDate: Tue Jul 4 12:16:30 2006 +0200 128271ab64890Smrg 128281ab64890Smrg Fix for autoconf 2.60 issue. 128291ab64890Smrg 128301ab64890Smrg Updated AC_DEFINE_DIR. 128311ab64890Smrg Reverted datarootdir change. 128321ab64890Smrg 128331ab64890Smrgcommit 644f4828b15bce42b597eb123ba0bbc372c46c03 128341ab64890SmrgAuthor: Keith Packard <keithp@neko.keithp.com> 128351ab64890SmrgDate: Sat Jul 1 21:31:23 2006 -0700 128361ab64890Smrg 128371ab64890Smrg Work around recent autoconf (2.59?) changes in directory expansion. 128381ab64890Smrg 128391ab64890Smrg Recent autoconf versions have changed how directory names are managed in the 128401ab64890Smrg configure.ac script; automatic 'eval' invocations now occur as a part of the 128411ab64890Smrg AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 128421ab64890Smrg before the variables are used in further macro definitions. Also, ${datadir} 128431ab64890Smrg is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 128441ab64890Smrg expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 128451ab64890Smrg is easy to work around by just using ${datarootdir} instead of ${datadir}. 128461ab64890Smrg 128471ab64890Smrgcommit be70a31229aa106aff0a09d78c00812682cd3475 128481ab64890SmrgAuthor: Keith Packard <keithp@neko.keithp.com> 128491ab64890SmrgDate: Sat Jul 1 01:56:05 2006 -0700 128501ab64890Smrg 128511ab64890Smrg Xlib/XCB: handle 32-bit sequence wrap. 128521ab64890Smrg 128531ab64890Smrg Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 128541ab64890Smrg XCB). 128551ab64890Smrg Account for XCB sequence 0 handling. 128561ab64890Smrg 128571ab64890Smrgcommit 99c711707ad08e1396e123b1c7df687c560a489a 128581ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 128591ab64890SmrgDate: Thu Jun 29 19:43:20 2006 -0700 128601ab64890Smrg 128611ab64890Smrg Bump version to 1.0.3. 128621ab64890Smrg 128631ab64890Smrgcommit cde3c0dd72af2b490e80cffca962e3487dd31be4 128641ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 128651ab64890SmrgDate: Thu Jun 29 19:39:36 2006 -0700 128661ab64890Smrg 128671ab64890Smrg Bug #7349: Missed one of the setuid fixes. 128681ab64890Smrg (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 128691ab64890Smrg 128701ab64890Smrgcommit df3fef8983d96c59d481c4cdaf1f271d54a116d2 128711ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 128721ab64890SmrgDate: Thu Jun 29 18:59:57 2006 +0200 128731ab64890Smrg 128741ab64890Smrg Update to final Compose cache directory location. 128751ab64890Smrg (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 128761ab64890Smrg 128771ab64890Smrgcommit 912ef198292d3053daa810f842510e5d62ded0f0 128781ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 128791ab64890SmrgDate: Thu Jun 29 17:41:41 2006 +0200 128801ab64890Smrg 128811ab64890Smrg Fix alignment of trees and wide chars in the cache. 128821ab64890Smrg (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 128831ab64890Smrg 128841ab64890Smrgcommit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 128851ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 128861ab64890SmrgDate: Wed Jun 28 19:17:03 2006 +0200 128871ab64890Smrg 128881ab64890Smrg First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 128891ab64890Smrg (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 128901ab64890Smrg 128911ab64890Smrgcommit e9614c963b532f46a7932c2305a4b177a996a222 128921ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 128931ab64890SmrgDate: Thu Jun 29 19:39:36 2006 -0700 128941ab64890Smrg 128951ab64890Smrg Bug #7349: Missed one of the setuid fixes. 128961ab64890Smrg 128971ab64890Smrgcommit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 128981ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 128991ab64890SmrgDate: Thu Jun 29 18:59:57 2006 +0200 129001ab64890Smrg 129011ab64890Smrg Update to final Compose cache directory location. 129021ab64890Smrg 129031ab64890Smrgcommit 40a64c61f8bc33d497e1224e02c41dea2d424d97 129041ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 129051ab64890SmrgDate: Thu Jun 29 17:41:41 2006 +0200 129061ab64890Smrg 129071ab64890Smrg Fix alignment of trees and wide chars in the cache. 129081ab64890Smrg 129091ab64890Smrgcommit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 129101ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 129111ab64890SmrgDate: Wed Jun 28 19:17:03 2006 +0200 129121ab64890Smrg 129131ab64890Smrg First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 129141ab64890Smrg 129151ab64890Smrgcommit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 129161ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 129171ab64890SmrgDate: Thu Jun 22 23:59:03 2006 -0700 129181ab64890Smrg 129191ab64890Smrg Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 129201ab64890Smrg add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 129211ab64890Smrg ChangeLog. 129221ab64890Smrg (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 129231ab64890Smrg 129241ab64890Smrgcommit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 129251ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)> 129261ab64890SmrgDate: Thu Jun 22 23:47:38 2006 -0700 129271ab64890Smrg 129281ab64890Smrg Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 129291ab64890Smrg add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 129301ab64890Smrg ChangeLog. 129311ab64890Smrg 129321ab64890Smrgcommit dd54981aa76e9dfdc4c3302d6105b4b229447c84 129331ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)> 129341ab64890SmrgDate: Thu Jun 22 15:47:38 2006 -0700 129351ab64890Smrg 129361ab64890Smrg Bump version to 1.0.2. 129371ab64890Smrg 129381ab64890Smrgcommit c93539d974a67f596a5eb5b65042d26602546c72 129391ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com> 129401ab64890SmrgDate: Tue Jun 20 21:04:03 2006 +0200 129411ab64890Smrg 129421ab64890Smrg Check setuid() return value. 129431ab64890Smrg (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 129441ab64890Smrg 129451ab64890Smrgcommit 605533f814ab7892991578706a6458f61a89ca4d 129461ab64890SmrgAuthor: Derek Wang <derek.wang@sun.com> 129471ab64890SmrgDate: Mon Jun 19 11:05:37 2006 -0700 129481ab64890Smrg 129491ab64890Smrg Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 129501ab64890Smrg (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 129511ab64890Smrg 129521ab64890Smrgcommit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 129531ab64890SmrgAuthor: Scott Revelt <scott.revelt@sun.com> 129541ab64890SmrgDate: Fri Jun 16 19:11:13 2006 -0700 129551ab64890Smrg 129561ab64890Smrg Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 129571ab64890Smrg based on locale that doesn't match those used in the Xcms.txt 129581ab64890Smrg (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 129591ab64890Smrg 129601ab64890Smrgcommit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 129611ab64890SmrgAuthor: Alan Coopersmith <alanc@alf.(none)> 129621ab64890SmrgDate: Fri Jun 16 18:53:33 2006 -0700 129631ab64890Smrg 129641ab64890Smrg Add *~ to ignore emacs droppings 129651ab64890Smrg (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 129661ab64890Smrg 129671ab64890Smrgcommit 214658b76b56768f69c3959a11525aae7813f448 129681ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 129691ab64890SmrgDate: Fri Jun 16 15:36:40 2006 +0200 129701ab64890Smrg 129711ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 129721ab64890Smrg (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 129731ab64890Smrg 129741ab64890Smrgcommit 13968a23aaea838ba4b69e42e8900f803499e091 129751ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 129761ab64890SmrgDate: Tue Jun 13 20:23:46 2006 +0200 129771ab64890Smrg 129781ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 129791ab64890Smrg (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 129801ab64890Smrg 129811ab64890Smrgcommit e7f8bca08f5476d0ca262097639ac7d424bb4d10 129821ab64890SmrgAuthor: Lubos Lunak <llunak@suse.de> 129831ab64890SmrgDate: Mon Jun 12 18:48:08 2006 +0200 129841ab64890Smrg 129851ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 129861ab64890Smrg (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 129871ab64890Smrg 129881ab64890Smrgcommit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 129891ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 129901ab64890SmrgDate: Fri Jun 9 18:24:02 2006 +0200 129911ab64890Smrg 129921ab64890Smrg 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. 129931ab64890Smrg (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 129941ab64890Smrg 129951ab64890Smrgcommit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 129961ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 129971ab64890SmrgDate: Wed Jun 7 20:29:05 2006 -0700 129981ab64890Smrg 129991ab64890Smrg Fix bug #7035: unnecessary memmove in XOpenDisplay. 130001ab64890Smrg Using memmove on the connection setup data causes a problem for XCB, but making 130011ab64890Smrg Xlib stop doing that should be harmless for non-XCB as well. 130021ab64890Smrg (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 130031ab64890Smrg 130041ab64890Smrgcommit cd7328c46ae72903ed02832828891b2dab4d5ee0 130051ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 130061ab64890SmrgDate: Sat Jun 3 13:51:51 2006 +0300 130071ab64890Smrg 130081ab64890Smrg Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 130091ab64890Smrg (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 130101ab64890Smrg 130111ab64890Smrgcommit c336eb6b80a6f91da1d0b3d28634a2cfde324670 1301238ae11fcSmrgMerge: 33556ca8 ad9ebbd2 130131ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)> 130141ab64890SmrgDate: Thu Jun 22 14:25:35 2006 -0700 130151ab64890Smrg 130161ab64890Smrg Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 130171ab64890Smrg 130181ab64890Smrgcommit 213dacad21740466e7ab31b01d3fc513fe4b3e74 130191ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 130201ab64890SmrgDate: Thu Jun 22 17:20:59 2006 +0300 130211ab64890Smrg 130221ab64890Smrg Bump to 1.0.99.0 to avoid confusion. 130231ab64890Smrg 130241ab64890Smrgcommit efedfd68e31bcee2d21ac340be8dc9e1825ec890 1302538ae11fcSmrgMerge: e3acee88 4b8eb5d4 130261ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 130271ab64890SmrgDate: Thu Jun 22 16:53:45 2006 +0300 130281ab64890Smrg 130291ab64890Smrg Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 130301ab64890Smrg 130311ab64890Smrgcommit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 1303238ae11fcSmrgMerge: 5169d0e0 eff50c94 130331ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com> 130341ab64890SmrgDate: Tue Jun 20 21:05:15 2006 +0200 130351ab64890Smrg 130361ab64890Smrg Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 130371ab64890Smrg 130381ab64890Smrgcommit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 130391ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com> 130401ab64890SmrgDate: Tue Jun 20 21:04:03 2006 +0200 130411ab64890Smrg 130421ab64890Smrg Check setuid() return value. 130431ab64890Smrg 130441ab64890Smrgcommit eff50c94a07194297e705da53d9fbb3a40fb9ad4 130451ab64890SmrgAuthor: Derek Wang <derek.wang@sun.com> 130461ab64890SmrgDate: Mon Jun 19 11:05:37 2006 -0700 130471ab64890Smrg 130481ab64890Smrg Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 130491ab64890Smrg 130501ab64890Smrgcommit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 130511ab64890SmrgAuthor: Scott Revelt <scott.revelt@sun.com> 130521ab64890SmrgDate: Fri Jun 16 19:11:13 2006 -0700 130531ab64890Smrg 130541ab64890Smrg Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 130551ab64890Smrg based on locale that doesn't match those used in the Xcms.txt 130561ab64890Smrg 130571ab64890Smrgcommit c33d7b8282ac196b36229be26442296768c16f3e 130581ab64890SmrgAuthor: Alan Coopersmith <alanc@alf.(none)> 130591ab64890SmrgDate: Fri Jun 16 18:53:33 2006 -0700 130601ab64890Smrg 130611ab64890Smrg Add *~ to ignore emacs droppings 130621ab64890Smrg 130631ab64890Smrgcommit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 130641ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 130651ab64890SmrgDate: Fri Jun 16 15:36:40 2006 +0200 130661ab64890Smrg 130671ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 130681ab64890Smrg 130691ab64890Smrgcommit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 130701ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 130711ab64890SmrgDate: Tue Jun 13 20:23:46 2006 +0200 130721ab64890Smrg 130731ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 130741ab64890Smrg 130751ab64890Smrgcommit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 130761ab64890SmrgAuthor: Lubos Lunak <llunak@suse.de> 130771ab64890SmrgDate: Mon Jun 12 18:48:08 2006 +0200 130781ab64890Smrg 130791ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 130801ab64890Smrg 130811ab64890Smrgcommit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 130821ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 130831ab64890SmrgDate: Fri Jun 9 18:24:02 2006 +0200 130841ab64890Smrg 130851ab64890Smrg 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. 130861ab64890Smrg 130871ab64890Smrgcommit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 130881ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 130891ab64890SmrgDate: Wed Jun 7 20:29:05 2006 -0700 130901ab64890Smrg 130911ab64890Smrg Fix bug #7035: unnecessary memmove in XOpenDisplay. 130921ab64890Smrg Using memmove on the connection setup data causes a problem for XCB, but making 130931ab64890Smrg Xlib stop doing that should be harmless for non-XCB as well. 130941ab64890Smrg 130951ab64890Smrgcommit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 130961ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 130971ab64890SmrgDate: Sat Jun 3 12:57:55 2006 +0300 130981ab64890Smrg 130991ab64890Smrg Bug #2186: Add cs_CZ.iso8859-2 alias. 131001ab64890Smrg 131011ab64890Smrgcommit 9e7765e0b1cbaae6643072d91066ba1201b36227 131021ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 131031ab64890SmrgDate: Fri Jun 2 02:46:29 2006 +0300 131041ab64890Smrg 131051ab64890Smrg nls: Serbian (sr_CS) update (#5575) 131061ab64890Smrg 131071ab64890Smrg Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 131081ab64890Smrg corresponding locale change. Update compose.dir.pre, locale.alias.pre, 131091ab64890Smrg and locale.dir.pre. (Milos Komarcevic) 131101ab64890Smrg 131111ab64890Smrgcommit a4ac2242b588da23044a20aa999ae84d4de7b2d8 131121ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 131131ab64890SmrgDate: Fri Jun 2 02:24:25 2006 +0300 131141ab64890Smrg 131151ab64890Smrg im: add Braille input method (#6296) 131161ab64890Smrg 131171ab64890Smrg Bug #6296: Add a Braille input method. (Samuel Thibault) 131181ab64890Smrg 131191ab64890Smrgcommit 90de1e2e141ec591048a76cb695579ef809a28d3 131201ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 131211ab64890SmrgDate: Fri Jun 2 02:22:17 2006 +0300 131221ab64890Smrg 131231ab64890Smrg xkb support: small typo 131241ab64890Smrg 131251ab64890Smrgcommit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 131261ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 131271ab64890SmrgDate: Fri Jun 2 01:50:24 2006 +0300 131281ab64890Smrg 131291ab64890Smrg en_US.UTF-8 Compose.pre: updates from Simos (#5129) 131301ab64890Smrg 131311ab64890Smrg Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 131321ab64890Smrg adding Unicode character names, removing duplicate entries, et al. 131331ab64890Smrg 131341ab64890Smrgcommit 0c6473dd329c7334ae511884bcb6e73e632c784f 131351ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 131361ab64890SmrgDate: Fri Jun 2 01:44:53 2006 +0300 131371ab64890Smrg 131381ab64890Smrg nls: fix use of non-keysym dead_space (#5107) 131391ab64890Smrg 131401ab64890Smrg Bug #5107: Change users of dead_space to space. 131411ab64890Smrg 131421ab64890Smrgcommit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 131431ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 131441ab64890SmrgDate: Fri Jun 2 01:41:18 2006 +0300 131451ab64890Smrg 131461ab64890Smrg optional XKB support fix 131471ab64890Smrg 131481ab64890Smrg Fix compilation with --disable-xkb. 131491ab64890Smrg 131501ab64890Smrgcommit 217d43ed44ced901122093af3ef1294e1736bb77 131511ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 131521ab64890SmrgDate: Fri Jun 2 01:39:12 2006 +0300 131531ab64890Smrg 131541ab64890Smrg i18n: separate data and lib directories 131551ab64890Smrg 131561ab64890Smrg Break out locale data into separate data and library directories, under 131571ab64890Smrg $(datadir) and $(libdir), respectively, by default. 131581ab64890Smrg 131591ab64890Smrgcommit 92fa7fcde8df22830fca7c0275ab201033f7909c 131601ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 131611ab64890SmrgDate: Thu May 11 14:04:48 2006 -0400 131621ab64890Smrg 131631ab64890Smrg libXcursor.so.1, not libXcursor.so 131641ab64890Smrg 131651ab64890Smrgcommit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 131661ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 131671ab64890SmrgDate: Wed May 10 18:06:03 2006 +0300 131681ab64890Smrg 131691ab64890Smrg XKBMisc.c: use Xfree, not xfree 131701ab64890Smrg 131711ab64890Smrg Use Xfree() instead of xfree() when freeing interps. 131721ab64890Smrg 131731ab64890Smrgcommit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 131741ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 131751ab64890SmrgDate: Wed May 10 14:51:37 2006 +0300 131761ab64890Smrg 131771ab64890Smrg locale.alias.pre: bg_BG typo fix 131781ab64890Smrg 131791ab64890Smrg Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 131801ab64890Smrg 131811ab64890Smrgcommit cc533db60cb64dc163c66451933a9bf77c519062 131821ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 131831ab64890SmrgDate: Sun Apr 9 22:22:03 2006 +0300 131841ab64890Smrg 131851ab64890Smrg Coverity #203, #204: Fix potential NULL dereferences. 131861ab64890Smrg 131871ab64890Smrgcommit b83adf7dfd6157694fe4f232012fef36cd9666da 131881ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 131891ab64890SmrgDate: Sun Apr 9 22:20:25 2006 +0300 131901ab64890Smrg 131911ab64890Smrg Coverity #205: Fix potential NULL dereference. 131921ab64890Smrg 131931ab64890Smrgcommit 2d0cd10ad907864d0136739eaac459779c9a5332 131941ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 131951ab64890SmrgDate: Sun Apr 9 22:18:20 2006 +0300 131961ab64890Smrg 131971ab64890Smrg Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 131981ab64890Smrg 131991ab64890Smrgcommit dc2f3966068d66a564aa452cab9f0c26657fa1df 132001ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 132011ab64890SmrgDate: Fri Apr 7 18:11:52 2006 +0300 132021ab64890Smrg 132031ab64890Smrg Coverity #826: Fix potential memory leak. 132041ab64890Smrg 132051ab64890Smrgcommit 23df609ec451a01c77e8f31ecc85c5af7c62efed 132061ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 132071ab64890SmrgDate: Fri Apr 7 17:49:41 2006 +0300 132081ab64890Smrg 132091ab64890Smrg Bug #1625: Include keysym.h from Xutil.h. 132101ab64890Smrg 132111ab64890Smrgcommit 5262a1945c543a3419ed626e1deb09ef5b4584c1 132121ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 132131ab64890SmrgDate: Wed Apr 5 17:12:15 2006 -0700 132141ab64890Smrg 132151ab64890Smrg Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 132161ab64890Smrg 132171ab64890Smrg cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 132181ab64890Smrg of Coverity #599, #600. 132191ab64890Smrg 132201ab64890Smrgcommit 8b42635f577468bb143ca593cdd9fb3450ad712c 132211ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 132221ab64890SmrgDate: Wed Apr 5 16:42:26 2006 -0700 132231ab64890Smrg 132241ab64890Smrg Coverity #558: Free newly-allocated Database in error path. 132251ab64890Smrg 132261ab64890Smrgcommit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 132271ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 132281ab64890SmrgDate: Wed Apr 5 16:38:52 2006 -0700 132291ab64890Smrg 132301ab64890Smrg Coverity #582: Free newly-allocated region in error path. 132311ab64890Smrg 132321ab64890Smrgcommit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 132331ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 132341ab64890SmrgDate: Fri Mar 17 15:58:39 2006 +0200 132351ab64890Smrg 132361ab64890Smrg Properly clip bounds when only one point is defining an outline. 132371ab64890Smrg 132381ab64890Smrgcommit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 132391ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com> 132401ab64890SmrgDate: Sat Mar 11 15:39:15 2006 +0100 132411ab64890Smrg 132421ab64890Smrg Fix prototype of XConfigureWindow(). Bugzilla #6023. 132431ab64890Smrg 132441ab64890Smrgcommit 1da8bd904f1fc79d63d368473531b438d08bfe37 132451ab64890SmrgAuthor: Jeremy C. Reed <reed@reedmedia.net> 132461ab64890SmrgDate: Tue Feb 21 14:10:22 2006 -0800 132471ab64890Smrg 132481ab64890Smrg Set XTHREADLIB correctly for dragonfly platforms. 132491ab64890Smrg 132501ab64890Smrgcommit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 132511ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 132521ab64890SmrgDate: Sun Feb 19 12:29:27 2006 -0800 132531ab64890Smrg 132541ab64890Smrg Update .gitignores for *.o and nls/locale.dir*. 132551ab64890Smrg 132561ab64890Smrgcommit efcbde6ba0b770bb0d4c7818e307712161011f10 132571ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 132581ab64890SmrgDate: Sun Feb 19 12:28:41 2006 -0800 132591ab64890Smrg 132601ab64890Smrg Move .cvsignore to .gitignore. 132611ab64890Smrg 132621ab64890Smrgcommit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 132631ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 132641ab64890SmrgDate: Sat Jun 3 13:51:51 2006 +0300 132651ab64890Smrg 132661ab64890Smrg Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 132671ab64890Smrg 132681ab64890Smrgcommit f1bd3152359ddfadd0d043006036c239f3e2907b 132691ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 132701ab64890SmrgDate: Sat Jun 3 12:57:55 2006 +0300 132711ab64890Smrg 132721ab64890Smrg Bug #2186: Add cs_CZ.iso8859-2 alias. 132731ab64890Smrg 132741ab64890Smrgcommit 2b1b79d90db1d7f0472718b8c010c36275994195 132751ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 132761ab64890SmrgDate: Fri Jun 2 02:46:29 2006 +0300 132771ab64890Smrg 132781ab64890Smrg nls: Serbian (sr_CS) update (#5575) 132791ab64890Smrg Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 132801ab64890Smrg corresponding locale change. Update compose.dir.pre, locale.alias.pre, 132811ab64890Smrg and locale.dir.pre. (Milos Komarcevic) 132821ab64890Smrg 132831ab64890Smrgcommit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 132841ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 132851ab64890SmrgDate: Fri Jun 2 02:24:25 2006 +0300 132861ab64890Smrg 132871ab64890Smrg im: add Braille input method (#6296) 132881ab64890Smrg Bug #6296: Add a Braille input method. (Samuel Thibault) 132891ab64890Smrg 132901ab64890Smrgcommit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 132911ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 132921ab64890SmrgDate: Fri Jun 2 02:22:17 2006 +0300 132931ab64890Smrg 132941ab64890Smrg xkb support: small typo 132951ab64890Smrg 132961ab64890Smrgcommit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 132971ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 132981ab64890SmrgDate: Fri Jun 2 01:50:24 2006 +0300 132991ab64890Smrg 133001ab64890Smrg en_US.UTF-8 Compose.pre: updates from Simos (#5129) 133011ab64890Smrg Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 133021ab64890Smrg adding Unicode character names, removing duplicate entries, et al. 133031ab64890Smrg 133041ab64890Smrgcommit 332d45fce9fdbf59168d90a133af1f580a589e54 133051ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 133061ab64890SmrgDate: Fri Jun 2 01:44:53 2006 +0300 133071ab64890Smrg 133081ab64890Smrg nls: fix use of non-keysym dead_space (#5107) 133091ab64890Smrg Bug #5107: Change users of dead_space to space. 133101ab64890Smrg 133111ab64890Smrgcommit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 133121ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 133131ab64890SmrgDate: Fri Jun 2 01:41:18 2006 +0300 133141ab64890Smrg 133151ab64890Smrg optional XKB support fix 133161ab64890Smrg Fix compilation with --disable-xkb. 133171ab64890Smrg 133181ab64890Smrgcommit c5940a0b85edec4003f91a59fc3c44f538accfe1 133191ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 133201ab64890SmrgDate: Fri Jun 2 01:39:12 2006 +0300 133211ab64890Smrg 133221ab64890Smrg i18n: separate data and lib directories 133231ab64890Smrg Break out locale data into separate data and library directories, under 133241ab64890Smrg $(datadir) and $(libdir), respectively, by default. 133251ab64890Smrg 133261ab64890Smrgcommit 33556ca81db2419b9d2a37664c4cea2069414b37 133271ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 133281ab64890SmrgDate: Fri May 12 14:49:17 2006 -0400 133291ab64890Smrg 133301ab64890Smrg Bump to 1.0.1 133311ab64890Smrg 133321ab64890Smrgcommit 80d88557626fae9debc404de33d7fb5d69a6049d 133331ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 133341ab64890SmrgDate: Thu May 11 14:06:28 2006 -0400 133351ab64890Smrg 133361ab64890Smrg libXcursor.so.1, not libXcursor.so 133371ab64890Smrg 133381ab64890Smrgcommit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 133391ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 133401ab64890SmrgDate: Thu May 11 14:04:48 2006 -0400 133411ab64890Smrg 133421ab64890Smrg libXcursor.so.1, not libXcursor.so 133431ab64890Smrg 133441ab64890Smrgcommit 01f4d433eed6b70c6e9636157acac022054fdeb6 133451ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 133461ab64890SmrgDate: Wed May 10 17:02:52 2006 -0700 133471ab64890Smrg 133481ab64890Smrg Count any partial request towards the current Xlib sequence number. 133491ab64890Smrg 133501ab64890Smrgcommit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 133511ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 133521ab64890SmrgDate: Wed May 10 18:06:03 2006 +0300 133531ab64890Smrg 133541ab64890Smrg XKBMisc.c: use Xfree, not xfree 133551ab64890Smrg Use Xfree() instead of xfree() when freeing interps. 133561ab64890Smrg 133571ab64890Smrgcommit 22a5255b80b80772612279bc840a953edd0e3442 133581ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 133591ab64890SmrgDate: Wed May 10 14:51:37 2006 +0300 133601ab64890Smrg 133611ab64890Smrg locale.alias.pre: bg_BG typo fix 133621ab64890Smrg Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 133631ab64890Smrg 133641ab64890Smrgcommit 9cac8c9824874ca7d835f001a4efa910b7fdd822 1336538ae11fcSmrgMerge: 19b8840a e514bc87 133661ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 133671ab64890SmrgDate: Wed May 10 14:50:37 2006 +0300 133681ab64890Smrg 133691ab64890Smrg Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 133701ab64890Smrg 133711ab64890Smrgcommit e514bc875f27f4bf197b06b8315eeca526195915 133721ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 133731ab64890SmrgDate: Tue May 9 12:41:59 2006 -0700 133741ab64890Smrg 133751ab64890Smrg Assert that dpy->request does not go backwards. Catches #5839 earlier. 133761ab64890Smrg 133771ab64890Smrgcommit fc1159137365a599bf611ee001f439416952c4e0 133781ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 133791ab64890SmrgDate: Sun May 7 17:40:01 2006 -0700 133801ab64890Smrg 133811ab64890Smrg In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 133821ab64890Smrg 133831ab64890Smrgcommit c394480a4247213239822808e3f6e7c6cd6decd9 133841ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 133851ab64890SmrgDate: Sun May 7 16:58:13 2006 -0700 133861ab64890Smrg 133871ab64890Smrg Update for XCB ConnSetupSuccessRep name change. 133881ab64890Smrg 133891ab64890Smrgcommit 7672bf93bc1200905461aeb0a2dc2c2696410b93 133901ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 133911ab64890SmrgDate: Sun Apr 9 22:22:03 2006 +0300 133921ab64890Smrg 133931ab64890Smrg Coverity #203, #204: Fix potential NULL dereferences. 133941ab64890Smrg 133951ab64890Smrgcommit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 133961ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 133971ab64890SmrgDate: Sun Apr 9 22:20:25 2006 +0300 133981ab64890Smrg 133991ab64890Smrg Coverity #205: Fix potential NULL dereference. 134001ab64890Smrg 134011ab64890Smrgcommit b6771501feea98d037032f82117b6d4f15779f07 134021ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 134031ab64890SmrgDate: Sun Apr 9 22:18:20 2006 +0300 134041ab64890Smrg 134051ab64890Smrg Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 134061ab64890Smrg 134071ab64890Smrgcommit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 134081ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 134091ab64890SmrgDate: Fri Apr 7 18:11:52 2006 +0300 134101ab64890Smrg 134111ab64890Smrg Coverity #826: Fix potential memory leak. 134121ab64890Smrg 134131ab64890Smrgcommit 3a16f262abe48b44ed641525e894bc22e13bf72a 134141ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 134151ab64890SmrgDate: Fri Apr 7 17:49:41 2006 +0300 134161ab64890Smrg 134171ab64890Smrg Bug #1625: Include keysym.h from Xutil.h. 134181ab64890Smrg 134191ab64890Smrgcommit 2481b767ae96e2f2503c0390545932c8397b090f 134201ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 134211ab64890SmrgDate: Wed Apr 5 17:12:15 2006 -0700 134221ab64890Smrg 134231ab64890Smrg Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 134241ab64890Smrg cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 134251ab64890Smrg of Coverity #599, #600. 134261ab64890Smrg 134271ab64890Smrgcommit 152b17e47d878c2d928eb74581aa69d925a29123 134281ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 134291ab64890SmrgDate: Wed Apr 5 16:42:26 2006 -0700 134301ab64890Smrg 134311ab64890Smrg Coverity #558: Free newly-allocated Database in error path. 134321ab64890Smrg 134331ab64890Smrgcommit bc62b99ef36edb34035911c42104be7f6f9d2333 134341ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 134351ab64890SmrgDate: Wed Apr 5 16:38:52 2006 -0700 134361ab64890Smrg 134371ab64890Smrg Coverity #582: Free newly-allocated region in error path. 134381ab64890Smrg 134391ab64890Smrgcommit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 134401ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 134411ab64890SmrgDate: Fri Mar 31 22:53:07 2006 -0800 134421ab64890Smrg 134431ab64890Smrg Fix buggy interaction with XCB when running out of XIDs. 134441ab64890Smrg 134451ab64890Smrgcommit e3f452571824d6a875bbf582946de185de9e01e9 134461ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 134471ab64890SmrgDate: Fri Mar 31 22:52:14 2006 -0800 134481ab64890Smrg 134491ab64890Smrg Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 134501ab64890Smrg 134511ab64890Smrgcommit 2363b74ca795c1b3a73c9e572532ba5191adec5b 134521ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 134531ab64890SmrgDate: Fri Mar 17 15:58:39 2006 +0200 134541ab64890Smrg 134551ab64890Smrg Properly clip bounds when only one point is defining an outline. 134561ab64890Smrg 134571ab64890Smrgcommit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 1345838ae11fcSmrgMerge: be266b20 f71ea0bc 134591ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com> 134601ab64890SmrgDate: Sat Mar 11 15:40:35 2006 +0100 134611ab64890Smrg 134621ab64890Smrg Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 134631ab64890Smrg 134641ab64890Smrgcommit be266b201dc13530a302a7572283ccd3f32aad87 134651ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com> 134661ab64890SmrgDate: Sat Mar 11 15:39:15 2006 +0100 134671ab64890Smrg 134681ab64890Smrg Fix prototype of XConfigureWindow(). Bugzilla #6023. 134691ab64890Smrg 134701ab64890Smrgcommit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 134711ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 134721ab64890SmrgDate: Fri Mar 3 11:08:41 2006 -0800 134731ab64890Smrg 134741ab64890Smrg Update for XCBSendRequest sequence number API changes. 134751ab64890Smrg 134761ab64890Smrgcommit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 134771ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 134781ab64890SmrgDate: Fri Mar 3 01:42:49 2006 -0800 134791ab64890Smrg 134801ab64890Smrg Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 134811ab64890Smrg 134821ab64890Smrgcommit d8ba4ae7045b227f8b675628b9094dded02f1c08 134831ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 134841ab64890SmrgDate: Thu Mar 2 23:43:26 2006 -0800 134851ab64890Smrg 134861ab64890Smrg Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 134871ab64890Smrg 134881ab64890Smrgcommit f9afb5a54435c30961306080e9358d4240ecb844 134891ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 134901ab64890SmrgDate: Thu Mar 2 23:34:19 2006 -0800 134911ab64890Smrg 134921ab64890Smrg assert() that we will not infinite loop or read uninitialized memory. 134931ab64890Smrg 134941ab64890Smrgcommit d3512ef3aae5b036a8ce6579318108f1ec20ee22 134951ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 134961ab64890SmrgDate: Thu Mar 2 15:58:52 2006 -0800 134971ab64890Smrg 134981ab64890Smrg Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 134991ab64890Smrg 135001ab64890Smrgcommit fb590c15a740264ee867d15a2547072e43b21eed 135011ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135021ab64890SmrgDate: Thu Mar 2 12:06:04 2006 -0800 135031ab64890Smrg 135041ab64890Smrg Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 135051ab64890Smrg 135061ab64890Smrgcommit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 135071ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135081ab64890SmrgDate: Mon Feb 27 11:51:47 2006 -0800 135091ab64890Smrg 135101ab64890Smrg Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 135111ab64890Smrg 135121ab64890Smrgcommit 07bdf1fbbf2418f866df1a2140d514dd3f035139 135131ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135141ab64890SmrgDate: Sun Feb 26 15:46:01 2006 -0800 135151ab64890Smrg 135161ab64890Smrg Update for new XCBSendRequest API. 135171ab64890Smrg 135181ab64890Smrgcommit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 135191ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135201ab64890SmrgDate: Thu Feb 23 18:12:31 2006 -0800 135211ab64890Smrg 135221ab64890Smrg Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 135231ab64890Smrg 135241ab64890Smrgcommit ec30a27341b97620b07dd886f98d1d7664a67685 135251ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135261ab64890SmrgDate: Thu Feb 23 18:01:46 2006 -0800 135271ab64890Smrg 135281ab64890Smrg Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 135291ab64890Smrg 135301ab64890Smrgcommit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 135311ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135321ab64890SmrgDate: Thu Feb 23 11:46:09 2006 -0800 135331ab64890Smrg 135341ab64890Smrg 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. 135351ab64890Smrg 135361ab64890Smrgcommit 41c0121a8718b530feaf7fe315b673d9b8defce2 135371ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135381ab64890SmrgDate: Tue Feb 21 21:25:41 2006 -0800 135391ab64890Smrg 135401ab64890Smrg Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 135411ab64890Smrg 135421ab64890Smrgcommit 67d06e0fe468dca22847aa14d3f917128f89f9cf 135431ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135441ab64890SmrgDate: Tue Feb 21 15:33:05 2006 -0800 135451ab64890Smrg 135461ab64890Smrg If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 135471ab64890Smrg 135481ab64890Smrgcommit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 135491ab64890SmrgAuthor: Jeremy C. Reed <reed@reedmedia.net> 135501ab64890SmrgDate: Tue Feb 21 14:10:22 2006 -0800 135511ab64890Smrg 135521ab64890Smrg Set XTHREADLIB correctly for dragonfly platforms. 135531ab64890Smrg 135541ab64890Smrgcommit b24834762e975bd319f9ab5c7cf790b2a02a9474 135551ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135561ab64890SmrgDate: Tue Feb 21 14:03:26 2006 -0800 135571ab64890Smrg 135581ab64890Smrg Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 135591ab64890Smrg 135601ab64890Smrgcommit 99b8defd0d5e6993071e21638128c9de2574b37d 135611ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135621ab64890SmrgDate: Tue Feb 21 13:04:21 2006 -0800 135631ab64890Smrg 135641ab64890Smrg Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 135651ab64890Smrg Traditional Xlib worked this way; I dunno why I changed it. 135661ab64890Smrg 135671ab64890Smrgcommit 9b01e7849775749182052fe324df9d8e6ceeee99 135681ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135691ab64890SmrgDate: Tue Feb 21 12:51:44 2006 -0800 135701ab64890Smrg 135711ab64890Smrg Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 135721ab64890Smrg 135731ab64890Smrgcommit 7ce7ac882de128955751a5307889db9d712d8a72 135741ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135751ab64890SmrgDate: Tue Feb 21 12:44:30 2006 -0800 135761ab64890Smrg 135771ab64890Smrg Quit using a triple-pointer. Almost as if I were a sensible person. 135781ab64890Smrg 135791ab64890Smrgcommit 35a858be218cdbfa4593d44a67663d5c25297016 135801ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135811ab64890SmrgDate: Tue Feb 21 12:21:01 2006 -0800 135821ab64890Smrg 135831ab64890Smrg Remove the XCL_PAD macro. 135841ab64890Smrg 135851ab64890Smrgcommit e741b70ed2542c5463c57dac44bc37328616733b 135861ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135871ab64890SmrgDate: Sun Feb 19 12:29:27 2006 -0800 135881ab64890Smrg 135891ab64890Smrg Update .gitignores for *.o and nls/locale.dir*. 135901ab64890Smrg 135911ab64890Smrgcommit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 135921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135931ab64890SmrgDate: Sun Feb 19 12:28:41 2006 -0800 135941ab64890Smrg 135951ab64890Smrg Move .cvsignore to .gitignore. 135961ab64890Smrg 135971ab64890Smrgcommit c7cda56eebaf6ab11403363be14d4948d7d8be38 135981ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135991ab64890SmrgDate: Sun Feb 19 11:49:15 2006 -0800 136001ab64890Smrg 136011ab64890Smrg Land XCB support on X.org HEAD. 136021ab64890Smrg 136031ab64890Smrgcommit 881467b3032261791ef5ec61b3879bb68d0a3d8c 136041ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136051ab64890SmrgDate: Sun Feb 19 02:14:11 2006 +0000 136061ab64890Smrg 136071ab64890Smrg Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 136081ab64890Smrg 136091ab64890Smrgcommit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 136101ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136111ab64890SmrgDate: Tue Feb 14 19:37:36 2006 +0000 136121ab64890Smrg 136131ab64890Smrg 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. 136141ab64890Smrg 136151ab64890Smrgcommit 010c3acbb3a6993d39274f42d88c00849acb0fb0 136161ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 136171ab64890SmrgDate: Sun Feb 12 18:19:17 2006 +0000 136181ab64890Smrg 136191ab64890Smrg Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 136201ab64890Smrg 136211ab64890Smrgcommit fe8c01c80263457f01b70dc1511b2bd9466b7c96 136221ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 136231ab64890SmrgDate: Fri Feb 3 23:34:43 2006 +0000 136241ab64890Smrg 136251ab64890Smrg Fix typo in .TH line 136261ab64890Smrg 136271ab64890Smrgcommit b091c217f3c3f60dde78b09a95c150df6c83d7ba 136281ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136291ab64890SmrgDate: Thu Dec 15 00:24:28 2005 +0000 136301ab64890Smrg 136311ab64890Smrg Update package version number for final X11R7 release candidate. 136321ab64890Smrg 136331ab64890Smrgcommit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 136341ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136351ab64890SmrgDate: Tue Dec 6 22:48:41 2005 +0000 136361ab64890Smrg 136371ab64890Smrg Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 136381ab64890Smrg 136391ab64890Smrgcommit b5c495854d5270e64e6d588388ffa906bfcaac22 136401ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136411ab64890SmrgDate: Sat Dec 3 05:49:42 2005 +0000 136421ab64890Smrg 136431ab64890Smrg Update package version number for X11R7 RC3 release. 136441ab64890Smrg 136451ab64890Smrgcommit 9e96dbc343c7f27ff47607acd75378ab23903e2a 136461ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136471ab64890SmrgDate: Sat Dec 3 04:41:47 2005 +0000 136481ab64890Smrg 136491ab64890Smrg Add check and cflags for malloc(0) returning NULL. 136501ab64890Smrg 136511ab64890Smrgcommit 649c37b47909620ccafde3e983de8321cddd74ce 136521ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 136531ab64890SmrgDate: Mon Nov 28 22:03:04 2005 +0000 136541ab64890Smrg 136551ab64890Smrg 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) 136561ab64890Smrg 136571ab64890Smrgcommit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 136581ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 136591ab64890SmrgDate: Wed Nov 23 22:33:06 2005 +0000 136601ab64890Smrg 136611ab64890Smrg 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 136621ab64890Smrg 136631ab64890Smrgcommit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 136641ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 136651ab64890SmrgDate: Sun Nov 20 23:17:39 2005 +0000 136661ab64890Smrg 136671ab64890Smrg Add/improve libs .cvsignores. 136681ab64890Smrg 136691ab64890Smrgcommit fa1f4a08112bfa14d3758f4702733dd3892966c3 136701ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136711ab64890SmrgDate: Sat Nov 19 07:15:39 2005 +0000 136721ab64890Smrg 136731ab64890Smrg Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 136741ab64890Smrg 136751ab64890Smrgcommit 7012f9b56c594cf40855ba0dbf93af1263417a8c 136761ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136771ab64890SmrgDate: Mon Nov 14 21:51:07 2005 +0000 136781ab64890Smrg 136791ab64890Smrg Fix xf86bigfont pkgconfig dep typo. 136801ab64890Smrg 136811ab64890Smrgcommit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 136821ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136831ab64890SmrgDate: Wed Nov 9 21:19:12 2005 +0000 136841ab64890Smrg 136851ab64890Smrg Update package version number for X11R7 RC2 release. 136861ab64890Smrg 136871ab64890Smrgcommit 6bb0c3796b6e1beddc376a896e865704886e1462 136881ab64890SmrgAuthor: Kean Johnson <kean@armory.com> 136891ab64890SmrgDate: Tue Nov 8 06:33:25 2005 +0000 136901ab64890Smrg 136911ab64890Smrg See ChangeLog entry 2005-11-07 for details. 136921ab64890Smrg 136931ab64890Smrgcommit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 136941ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 136951ab64890SmrgDate: Tue Nov 1 15:11:50 2005 +0000 136961ab64890Smrg 136971ab64890Smrg Update pkgcheck dependencies to work with separate build roots. 136981ab64890Smrg 136991ab64890Smrgcommit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 137001ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 137011ab64890SmrgDate: Fri Oct 28 10:44:03 2005 +0000 137021ab64890Smrg 137031ab64890Smrg Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 137041ab64890Smrg 137051ab64890Smrgcommit be627a39fe373e2e81fdc263780e70a271d9e0c5 137061ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 137071ab64890SmrgDate: Fri Oct 28 08:28:08 2005 +0000 137081ab64890Smrg 137091ab64890Smrg Add dependency on inputproto for XI.h. 137101ab64890Smrg 137111ab64890Smrgcommit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 137121ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 137131ab64890SmrgDate: Fri Oct 21 18:44:24 2005 +0000 137141ab64890Smrg 137151ab64890Smrg Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 137161ab64890Smrg 137171ab64890Smrgcommit 1171fa9dc77413f0e90933a565ec07068052afb4 137181ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 137191ab64890SmrgDate: Wed Oct 19 02:48:08 2005 +0000 137201ab64890Smrg 137211ab64890Smrg Update package version number for RC1 release. 137221ab64890Smrg 137231ab64890Smrgcommit 2a2d905706308b9d5a1c16af1067fb390f43850c 137241ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 137251ab64890SmrgDate: Tue Oct 18 00:00:08 2005 +0000 137261ab64890Smrg 137271ab64890Smrg Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 137281ab64890Smrg 137291ab64890Smrgcommit 66d35b6971fb26762392a2a8e2c47db46c11116a 137301ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 137311ab64890SmrgDate: Mon Oct 17 21:13:15 2005 +0000 137321ab64890Smrg 137331ab64890Smrg Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 137341ab64890Smrg 137351ab64890Smrgcommit a316995a17c084e98ef1b7f25d287c2c08b6d749 137361ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 137371ab64890SmrgDate: Sun Oct 16 03:03:35 2005 +0000 137381ab64890Smrg 137391ab64890Smrg Change '==' to portable '='. 137401ab64890Smrg 137411ab64890Smrgcommit b76a072530e884bcbea6ed8fed5aef39361dcfc0 137421ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 137431ab64890SmrgDate: Wed Oct 12 00:04:50 2005 +0000 137441ab64890Smrg 137451ab64890Smrg configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 137461ab64890Smrg 137471ab64890Smrgcommit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 137481ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 137491ab64890SmrgDate: Tue Oct 11 02:18:36 2005 +0000 137501ab64890Smrg 137511ab64890Smrg Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 137521ab64890Smrg 137531ab64890Smrgcommit 41ff3b9d1f194a7b56437b650d5f589225c078c6 137541ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 137551ab64890SmrgDate: Sun Oct 9 22:28:39 2005 +0000 137561ab64890Smrg 137571ab64890Smrg Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 137581ab64890Smrg 137591ab64890Smrgcommit 91ed79852e790049ab54e68f288afb3c953194c9 137601ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 137611ab64890SmrgDate: Fri Oct 7 15:00:00 2005 +0000 137621ab64890Smrg 137631ab64890Smrg Clean up generated files 137641ab64890Smrg Add missing dist tarball files 137651ab64890Smrg 137661ab64890Smrgcommit 440399b470c97b159a530602fff11c315aca8d97 137671ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 137681ab64890SmrgDate: Wed Oct 5 18:27:10 2005 +0000 137691ab64890Smrg 137701ab64890Smrg Add el_GR.UTF-8 compose file 137711ab64890Smrg 137721ab64890Smrgcommit 010f0647e25ac617d0f92c8d2b8dda684da545db 137731ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 137741ab64890SmrgDate: Fri Sep 30 07:52:46 2005 +0000 137751ab64890Smrg 137761ab64890Smrg Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 137771ab64890Smrg 137781ab64890Smrgcommit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 137791ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 137801ab64890SmrgDate: Fri Sep 30 07:47:55 2005 +0000 137811ab64890Smrg 137821ab64890Smrg Bug #1640: Kinyarwanda locale support. (Steve Murphy) 137831ab64890Smrg 137841ab64890Smrgcommit 4ae0decabe0960870df0ec165f495166c10a053c 137851ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 137861ab64890SmrgDate: Fri Sep 30 07:40:03 2005 +0000 137871ab64890Smrg 137881ab64890Smrg Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 137891ab64890Smrg 137901ab64890Smrgcommit 3f79eb4c99844f618f1889741d1631c2ffe5385f 137911ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 137921ab64890SmrgDate: Fri Sep 30 07:11:19 2005 +0000 137931ab64890Smrg 137941ab64890Smrg 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. 137951ab64890Smrg 137961ab64890Smrgcommit d1237d1483ff972c76a0ac344ec97d5280db0007 137971ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 137981ab64890SmrgDate: Thu Sep 29 21:27:12 2005 +0000 137991ab64890Smrg 138001ab64890Smrg Add Xcms.txt to lib/X11 138011ab64890Smrg 138021ab64890Smrgcommit 4a86f299693f7376cbe98175f0b0c44d691802b3 138031ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138041ab64890SmrgDate: Sat Sep 24 20:11:06 2005 +0000 138051ab64890Smrg 138061ab64890Smrg Add XQueryExtension.man 138071ab64890Smrg 138081ab64890Smrgcommit a057a66e2041d45198a13a4ece7c07068f76f21b 138091ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138101ab64890SmrgDate: Sat Sep 24 00:16:32 2005 +0000 138111ab64890Smrg 138121ab64890Smrg Add XTHREAD_CFLAGS for platforms that need special defines like 138131ab64890Smrg -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 138141ab64890Smrg 138151ab64890Smrgcommit 3e920a65a7c376ad63eae2240fd06904d25d18bf 138161ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138171ab64890SmrgDate: Fri Sep 2 23:00:30 2005 +0000 138181ab64890Smrg 138191ab64890Smrg 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 138201ab64890Smrg 138211ab64890Smrgcommit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 138221ab64890SmrgAuthor: Kristian Høgsberg <krh@redhat.com> 138231ab64890SmrgDate: Thu Sep 1 19:24:13 2005 +0000 138241ab64890Smrg 138251ab64890Smrg Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 138261ab64890Smrg 138271ab64890Smrgcommit 7afa64325183b78d2d6a4862821f8b3e9866105c 138281ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 138291ab64890SmrgDate: Sun Aug 28 19:45:48 2005 +0000 138301ab64890Smrg 138311ab64890Smrg OpenBSD needs -lpthread for threaded applications too. 138321ab64890Smrg 138331ab64890Smrgcommit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 138341ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 138351ab64890SmrgDate: Fri Aug 26 05:16:46 2005 +0000 138361ab64890Smrg 138371ab64890Smrg Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 138381ab64890Smrg 138391ab64890Smrgcommit 07066da0902df91c71f2adb81d1a17ec29165553 138401ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 138411ab64890SmrgDate: Sun Aug 21 15:45:04 2005 +0000 138421ab64890Smrg 138431ab64890Smrg update 138441ab64890Smrg 138451ab64890Smrgcommit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 138461ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 138471ab64890SmrgDate: Sun Aug 21 15:38:39 2005 +0000 138481ab64890Smrg 138491ab64890Smrg Threads support for BSD systems: 138501ab64890Smrg - need to check for gewtpwuid_r to define mtsafeapi 138511ab64890Smrg - build UIThrstubs if needed. 138521ab64890Smrg 138531ab64890Smrgcommit 60217fdb918bafb2082519efe5cba3b13ad3082a 138541ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 138551ab64890SmrgDate: Wed Aug 17 19:46:08 2005 +0000 138561ab64890Smrg 138571ab64890Smrg Add xthreadlib variable to x11.pc. Bump to 0.99.1. 138581ab64890Smrg 138591ab64890Smrgcommit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 138601ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138611ab64890SmrgDate: Wed Aug 17 01:27:08 2005 +0000 138621ab64890Smrg 138631ab64890Smrg Fix more broken multi-line .ds macros. Remove extraneous ;'s . 138641ab64890Smrg 138651ab64890Smrgcommit 1909786f4a7d686369edcfc05a938df115fab37c 138661ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138671ab64890SmrgDate: Tue Aug 16 19:23:15 2005 +0000 138681ab64890Smrg 138691ab64890Smrg 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) 138701ab64890Smrg 138711ab64890Smrgcommit 83406d69c62070d2eeef23eb47f1ca887f711ee5 138721ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138731ab64890SmrgDate: Mon Aug 15 19:53:37 2005 +0000 138741ab64890Smrg 138751ab64890Smrg 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 138761ab64890Smrg 138771ab64890Smrgcommit 5bb43de17de8e71d967488a713bf2b3448533444 138781ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138791ab64890SmrgDate: Sat Aug 6 18:59:49 2005 +0000 138801ab64890Smrg 138811ab64890Smrg Typo fix in output message 138821ab64890Smrg 138831ab64890Smrgcommit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 138841ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138851ab64890SmrgDate: Thu Aug 4 02:55:49 2005 +0000 138861ab64890Smrg 138871ab64890Smrg //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) 138881ab64890Smrg 138891ab64890Smrgcommit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 138901ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138911ab64890SmrgDate: Thu Aug 4 02:51:30 2005 +0000 138921ab64890Smrg 138931ab64890Smrg //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) 138941ab64890Smrg 138951ab64890Smrgcommit 34b454df192f4563499c453ccdb8c079f4a20cbe 138961ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138971ab64890SmrgDate: Sat Jul 30 20:30:46 2005 +0000 138981ab64890Smrg 138991ab64890Smrg Include config.h so Xtrans knows which transport types to build code for 139001ab64890Smrg 139011ab64890Smrgcommit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 139021ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 139031ab64890SmrgDate: Sat Jul 30 19:15:16 2005 +0000 139041ab64890Smrg 139051ab64890Smrg Add -D flags to clear various warnings (Stefan Dirsch) 139061ab64890Smrg 139071ab64890Smrgcommit e7fef67b4531faddd805d8f2157903006d3117ed 139081ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 139091ab64890SmrgDate: Fri Jul 29 21:22:50 2005 +0000 139101ab64890Smrg 139111ab64890Smrg Various changes preparing packages for RC0: 139121ab64890Smrg - Verify and update package version numbers as needed 139131ab64890Smrg - Implement versioning scheme 139141ab64890Smrg - Change bug address to point to bugzilla bug entry form 139151ab64890Smrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 139161ab64890Smrg - Fix makedepend to use pkgconfig and pass distcheck 139171ab64890Smrg - Update build script to build macros first 139181ab64890Smrg - Update modular Xorg version 139191ab64890Smrg 139201ab64890Smrgcommit 2ebb00244928237088e68325b1032b3550455ce9 139211ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 139221ab64890SmrgDate: Sat Jul 23 20:19:31 2005 +0000 139231ab64890Smrg 139241ab64890Smrg remove orphan TAB at begin of line 139251ab64890Smrg 139261ab64890Smrgcommit dd7a9cdecda73e024ca84c5b9a22b18688038d94 139271ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 139281ab64890SmrgDate: Sat Jul 23 18:09:39 2005 +0000 139291ab64890Smrg 139301ab64890Smrg Modify modular libs to use Xregion.h instead of region.h 139311ab64890Smrg 139321ab64890Smrgcommit 6d635a88d91647b1b63611c3591f74916f88cd1c 139331ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 139341ab64890SmrgDate: Sat Jul 23 18:06:16 2005 +0000 139351ab64890Smrg 139361ab64890Smrg lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 139371ab64890Smrg 139381ab64890Smrgcommit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 139391ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 139401ab64890SmrgDate: Sat Jul 16 06:25:35 2005 +0000 139411ab64890Smrg 139421ab64890Smrg Set soversion to 6.2.0. 139431ab64890Smrg 139441ab64890Smrgcommit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 139451ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 139461ab64890SmrgDate: Fri Jul 15 04:27:32 2005 +0000 139471ab64890Smrg 139481ab64890Smrg Add missing Makefile.am to lib/X11/modules 139491ab64890Smrg 139501ab64890Smrgcommit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 139511ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 139521ab64890SmrgDate: Fri Jul 15 04:08:51 2005 +0000 139531ab64890Smrg 139541ab64890Smrg Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 139551ab64890Smrg Link i18n modules against xlib to resolve Xlib symbols used by them. 139561ab64890Smrg 139571ab64890Smrgcommit 45f40126a73295345bb5eb187b1167874842ab6e 139581ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 139591ab64890SmrgDate: Thu Jul 14 19:50:00 2005 +0000 139601ab64890Smrg 139611ab64890Smrg Add $(top_srcdir)/src to include list 139621ab64890Smrg 139631ab64890Smrgcommit 0aed7d91f5928d09d541617aad03709b5090658d 139641ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 139651ab64890SmrgDate: Thu Jul 14 17:04:49 2005 +0000 139661ab64890Smrg 139671ab64890Smrg Build fix for non-GNU make. 139681ab64890Smrg 139691ab64890Smrgcommit b79422ccb02ab44548d1038956ab0cd4e2638645 139701ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 139711ab64890SmrgDate: Thu Jul 14 15:12:44 2005 +0000 139721ab64890Smrg 139731ab64890Smrg typo fixes (Matthieu Herrb) 139741ab64890Smrg 139751ab64890Smrgcommit 419304cde2fda19457c667870edefc0b227651b3 139761ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 139771ab64890SmrgDate: Wed Jul 13 02:41:36 2005 +0000 139781ab64890Smrg 139791ab64890Smrg Add missing backslashes to xlocale_la_SOURCES 139801ab64890Smrg 139811ab64890Smrgcommit d14cc5c8964c4539b57c6cb51ef653292e410b79 139821ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 139831ab64890SmrgDate: Mon Jul 11 20:32:55 2005 +0000 139841ab64890Smrg 139851ab64890Smrg Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 139861ab64890Smrg 139871ab64890Smrgcommit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 139881ab64890SmrgAuthor: Lars Knoll <lars@trolltech.com> 139891ab64890SmrgDate: Mon Jul 11 15:24:32 2005 +0000 139901ab64890Smrg 139911ab64890Smrg compile 139921ab64890Smrg 139931ab64890Smrgcommit de9784eb1bde46efc316da279e3da27c6cc288a7 139941ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 139951ab64890SmrgDate: Mon Jul 11 09:26:40 2005 +0000 139961ab64890Smrg 139971ab64890Smrg Ignore built man page files 139981ab64890Smrg 139991ab64890Smrgcommit 0c258c36d1523113790c599b16d2947d7aa6469a 140001ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 140011ab64890SmrgDate: Mon Jul 11 09:18:31 2005 +0000 140021ab64890Smrg 140031ab64890Smrg Minor changes to help modular Xlib build i18n modules 140041ab64890Smrg 140051ab64890Smrgcommit 6e752ea1203b786423e40f43340bce15ca3de0f0 140061ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 140071ab64890SmrgDate: Mon Jul 11 08:29:18 2005 +0000 140081ab64890Smrg 140091ab64890Smrg Enable loadable i18n modules, making them configurable on the configure command line. 140101ab64890Smrg Clean up conditionals for XKB, XCMS, XLOCALEDIR 140111ab64890Smrg Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 140121ab64890Smrg Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 140131ab64890Smrg 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. 140141ab64890Smrg Display message at end of configure script with selected options. 140151ab64890Smrg 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. 140161ab64890Smrg 140171ab64890Smrgcommit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 140181ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 140191ab64890SmrgDate: Sun Jul 10 22:37:33 2005 +0000 140201ab64890Smrg 140211ab64890Smrg Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 140221ab64890Smrg 140231ab64890Smrgcommit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 140241ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 140251ab64890SmrgDate: Sat Jul 9 20:06:04 2005 +0000 140261ab64890Smrg 140271ab64890Smrg Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 140281ab64890Smrg 140291ab64890Smrgcommit 3939ac4410446b46071c9d714f4270c12bf904fe 140301ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 140311ab64890SmrgDate: Sat Jul 9 18:44:14 2005 +0000 140321ab64890Smrg 140331ab64890Smrg - 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 140341ab64890Smrg - Don't assume $(CPP) can take gcc-only -traditional flag 140351ab64890Smrg - CPP process man pages as is done in the monolithic tree 140361ab64890Smrg 140371ab64890Smrgcommit 19ba9d0df86c688319377467254b9ea9c4b0eccc 140381ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 140391ab64890SmrgDate: Sat Jul 9 06:01:49 2005 +0000 140401ab64890Smrg 140411ab64890Smrg Clean up .cvsignore files 140421ab64890Smrg 140431ab64890Smrgcommit f4bba6fa9b9ce637be7662754750054567e9250a 140441ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 140451ab64890SmrgDate: Sat Jul 9 02:53:29 2005 +0000 140461ab64890Smrg 140471ab64890Smrg typo fix. i suck. 140481ab64890Smrg 140491ab64890Smrgcommit 3305da61a61695e24c1ea11d3f59dddb52873d47 140501ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 140511ab64890SmrgDate: Sat Jul 9 02:41:18 2005 +0000 140521ab64890Smrg 140531ab64890Smrg Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 140541ab64890Smrg 140551ab64890Smrgcommit afdae2e8ccb93de2987b5a5e850695af15ece7e0 140561ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 140571ab64890SmrgDate: Fri Jul 8 07:11:56 2005 +0000 140581ab64890Smrg 140591ab64890Smrg Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 140601ab64890Smrg 140611ab64890Smrgcommit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 140621ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 140631ab64890SmrgDate: Fri Jul 8 06:57:06 2005 +0000 140641ab64890Smrg 140651ab64890Smrg 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. 140661ab64890Smrg Add a bunch of .cvsignore files 140671ab64890Smrg 140681ab64890Smrgcommit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 140691ab64890SmrgAuthor: Chris Less <clee@c133.org> 140701ab64890SmrgDate: Mon Jul 4 23:01:48 2005 +0000 140711ab64890Smrg 140721ab64890Smrg Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 140731ab64890Smrg 140741ab64890Smrgcommit 55328bb6caabd37885cd19d7a5821ed425daf321 140751ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 140761ab64890SmrgDate: Sun Jul 3 10:17:38 2005 +0000 140771ab64890Smrg 140781ab64890Smrg Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 140791ab64890Smrg 140801ab64890Smrgcommit 726538ba21b631bfb0b8094a5546acdaf57379ff 140811ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 140821ab64890SmrgDate: Sun Jul 3 07:37:33 2005 +0000 140831ab64890Smrg 140841ab64890Smrg Fix more include paths; add dix-config.h to XKB code. 140851ab64890Smrg 140861ab64890Smrgcommit 8c7677138e70e14eca0255f2168583f0ecc21994 140871ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 140881ab64890SmrgDate: Sun Jul 3 07:00:55 2005 +0000 140891ab64890Smrg 140901ab64890Smrg Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 140911ab64890Smrg Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 140921ab64890Smrg 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>. 140931ab64890Smrg 140941ab64890Smrgcommit 197697c92a63091a4cc3cc04dcb7fa29d2655758 140951ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 140961ab64890SmrgDate: Fri Jul 1 22:13:35 2005 +0000 140971ab64890Smrg 140981ab64890Smrg Fix objdir != srcdir, as well as make distcheck. 140991ab64890Smrg Don't attempt to create Compose.pre files; formatting fixes. 141001ab64890Smrg Added if not already present. 141011ab64890Smrg 141021ab64890Smrgcommit c162d60ad8f124563f94a2a266de59373936266c 141031ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 141041ab64890SmrgDate: Wed Jun 22 22:46:31 2005 +0000 141051ab64890Smrg 141061ab64890Smrg Apply these patches from Theo van Klaveren: 141071ab64890Smrg lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 141081ab64890Smrg to make the libraries distcheck. 141091ab64890Smrg 141101ab64890Smrgcommit 9ee8abdab03ea605a6327118ab7dacab6adf8876 141111ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 141121ab64890SmrgDate: Sat Jun 18 07:48:43 2005 +0000 141131ab64890Smrg 141141ab64890Smrg Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 141151ab64890Smrg 141161ab64890Smrgcommit 12afc57b7d455781eee305e9ed6a899ceec8729e 141171ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 141181ab64890SmrgDate: Wed Jun 15 16:50:47 2005 +0000 141191ab64890Smrg 141201ab64890Smrg Typo fix to locale/error/keysym location declarations. 141211ab64890Smrg 141221ab64890Smrgcommit 9a895777e30762f61b98d25be3b5d8b1169baa17 141231ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 141241ab64890SmrgDate: Wed Jun 15 13:37:43 2005 +0000 141251ab64890Smrg 141261ab64890Smrg Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 141271ab64890Smrg 141281ab64890Smrgcommit add49285663684875ab7a5c58ec7a2cf8b775f67 141291ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 141301ab64890SmrgDate: Wed Jun 15 13:32:35 2005 +0000 141311ab64890Smrg 141321ab64890Smrg Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 141331ab64890Smrg Move ImUtil.h from src/ to include/X11/. 141341ab64890Smrg 141351ab64890Smrgcommit 845dfc6b42b950890866ee4df27761e086f50dca 141361ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 141371ab64890SmrgDate: Wed Jun 15 13:27:48 2005 +0000 141381ab64890Smrg 141391ab64890Smrg Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 141401ab64890Smrg 141411ab64890Smrgcommit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 141421ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 141431ab64890SmrgDate: Fri Jun 10 14:11:36 2005 +0000 141441ab64890Smrg 141451ab64890Smrg Remove pointless include of Xlib.h. 141461ab64890Smrg Fix #include path to bigreqstr.h. 141471ab64890Smrg 141481ab64890Smrgcommit 1a0de49da1274882bab05b0f7240936b37955e5c 141491ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 141501ab64890SmrgDate: Thu Jun 9 21:30:15 2005 +0000 141511ab64890Smrg 141521ab64890Smrg Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 141531ab64890Smrg 141541ab64890Smrgcommit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 141551ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 141561ab64890SmrgDate: Thu Jun 9 15:55:33 2005 +0000 141571ab64890Smrg 141581ab64890Smrg Replace <X11/transport.c> with <X11/Xtrans/transport.c> 141591ab64890Smrg 141601ab64890Smrgcommit fd5f58e0baf692e34b9b622286f18762cc2500d3 141611ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 141621ab64890SmrgDate: Thu Jun 9 15:52:02 2005 +0000 141631ab64890Smrg 141641ab64890Smrg Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 141651ab64890Smrg Copy Xtrans.h to exports/include/X11/Xtrans only 141661ab64890Smrg 141671ab64890Smrgcommit 44538f9940f969d46c0e5e4b201c684cde2ba611 141681ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 141691ab64890SmrgDate: Sun Jun 5 03:29:33 2005 +0000 141701ab64890Smrg 141711ab64890Smrg Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 141721ab64890Smrg 141731ab64890Smrgcommit 588e30e9ec65fa6205a34be650b79d5e2243edec 141741ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 141751ab64890SmrgDate: Sat Jun 4 22:53:21 2005 +0000 141761ab64890Smrg 141771ab64890Smrg Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 141781ab64890Smrg 141791ab64890Smrgcommit a547afee2ef49cc41bbb67f9cff5a52a283c0854 141801ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 141811ab64890SmrgDate: Sat Jun 4 21:20:20 2005 +0000 141821ab64890Smrg 141831ab64890Smrg 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) 141841ab64890Smrg 141851ab64890Smrgcommit ca93c761559ae464189c7ea7cf11c6a6679f2431 141861ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 141871ab64890SmrgDate: Sat May 28 01:02:32 2005 +0000 141881ab64890Smrg 141891ab64890Smrg Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 141901ab64890Smrg 141911ab64890Smrgcommit 09ebb349359e3dd9131fa2fa8b07559faa173654 141921ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 141931ab64890SmrgDate: Sun May 22 19:05:11 2005 +0000 141941ab64890Smrg 141951ab64890Smrg Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 141961ab64890Smrg 141971ab64890Smrgcommit 761219b1ef9befc350c8a35b6f96d047e5f008cc 141981ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 141991ab64890SmrgDate: Sat May 21 23:07:48 2005 +0000 142001ab64890Smrg 142011ab64890Smrg xtrans: 142021ab64890Smrg 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 142031ab64890Smrg ICE: 142041ab64890Smrg Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 142051ab64890Smrg X11: 142061ab64890Smrg 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. 142071ab64890Smrg 142081ab64890Smrgcommit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 142091ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 142101ab64890SmrgDate: Sat May 21 04:26:12 2005 +0000 142111ab64890Smrg 142121ab64890Smrg 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) 142131ab64890Smrg 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). 142141ab64890Smrg 142151ab64890Smrgcommit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 142161ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 142171ab64890SmrgDate: Thu May 19 00:22:32 2005 +0000 142181ab64890Smrg 142191ab64890Smrg revert last change, didn't do right thing at all, sorry for the noise 142201ab64890Smrg 142211ab64890Smrgcommit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 142221ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 142231ab64890SmrgDate: Thu May 19 00:10:07 2005 +0000 142241ab64890Smrg 142251ab64890Smrg Require automake 1.7 in AM_INIT_AUTOMAKE 142261ab64890Smrg 142271ab64890Smrgcommit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 142281ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 142291ab64890SmrgDate: Tue May 17 22:32:09 2005 +0000 142301ab64890Smrg 142311ab64890Smrg - Check for xproto as its CFLAGS are needed in the .pc file 142321ab64890Smrg 142331ab64890Smrgcommit 46e8d8a65430dd87c10b066b5cff99a689c22241 142341ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 142351ab64890SmrgDate: Tue May 17 08:10:10 2005 +0000 142361ab64890Smrg 142371ab64890Smrg 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). 142381ab64890Smrg 142391ab64890Smrgcommit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 142401ab64890SmrgAuthor: <ssp@aware-of-vacuity.boston.redhat.com> 142411ab64890SmrgDate: Mon May 16 22:35:27 2005 +0000 142421ab64890Smrg 142431ab64890Smrg Make Xdmcp unconditionally required, require various protocol modules. 142441ab64890Smrg Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 142451ab64890Smrg Check for kbproto if using XKB. 142461ab64890Smrg Require xextproto rather than xextensions 142471ab64890Smrg Remove the entries from the xlibs tree, as they are not relevant here. 142481ab64890Smrg 142491ab64890Smrgcommit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 142501ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 142511ab64890SmrgDate: Mon May 16 21:48:36 2005 +0000 142521ab64890Smrg 142531ab64890Smrg Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 142541ab64890Smrg Check for kbproto if using XKB. 142551ab64890Smrg 142561ab64890Smrgcommit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 142571ab64890SmrgAuthor: <ssp@aware-of-vacuity.boston.redhat.com> 142581ab64890SmrgDate: Mon May 16 21:27:35 2005 +0000 142591ab64890Smrg 142601ab64890Smrg Require xextproto rather than xextensions 142611ab64890Smrg Remove the entries from the xlibs tree, as they are not relevant here. 142621ab64890Smrg 142631ab64890Smrgcommit 7eee605e3aeed549d1053325a03027c5e8cbf71b 142641ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 142651ab64890SmrgDate: Fri May 13 22:53:36 2005 +0000 142661ab64890Smrg 142671ab64890Smrg - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 142681ab64890Smrg - For Xcomposite and Xdamage, don't link the build system out of the xc tree 142691ab64890Smrg - Link the public X11 headers into their own directory 142701ab64890Smrg - Add links to XKeysymDB and XErrorDB 142711ab64890Smrg - Add links to all the Xlib man pages 142721ab64890Smrg - Add links to the lcUniConv subdirectory 142731ab64890Smrg - Conditionally include config.h in Xlib source 142741ab64890Smrg 142751ab64890Smrgcommit 6769ccda88caf27d1441d335ef2b318a047a612b 142761ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 142771ab64890SmrgDate: Mon Mar 21 04:58:21 2005 +0000 142781ab64890Smrg 142791ab64890Smrg xc/lib/X11/ErrDes.c 142801ab64890Smrg //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> 142811ab64890Smrg 142821ab64890Smrgcommit 3b9e8ece93b916c55a82df53e85f097418edf471 142831ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 142841ab64890SmrgDate: Sat Mar 19 22:04:55 2005 +0000 142851ab64890Smrg 142861ab64890Smrg xc/nls/Compose/iso8859-2 142871ab64890Smrg xc/nls/Compose/iso8859-3 142881ab64890Smrg xc/nls/Compose/iso8859-9 142891ab64890Smrg //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>. 142901ab64890Smrg 142911ab64890Smrgcommit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 142921ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 142931ab64890SmrgDate: Tue Mar 8 02:53:36 2005 +0000 142941ab64890Smrg 142951ab64890Smrg 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>. 142961ab64890Smrg 142971ab64890Smrgcommit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 142981ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 142991ab64890SmrgDate: Tue Feb 1 03:12:28 2005 +0000 143001ab64890Smrg 143011ab64890Smrg xc/nls/Compose/pt_BR.UTF-8 143021ab64890Smrg //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>. 143031ab64890Smrg 143041ab64890Smrgcommit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 143051ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 143061ab64890SmrgDate: Fri Jan 28 18:31:31 2005 +0000 143071ab64890Smrg 143081ab64890Smrg cleaned up boundary-case handling for Uxxxx Unicode keysym notation 143091ab64890Smrg 143101ab64890Smrgcommit f234188a4c1e6b655aef0e3957ccad20d4c5847f 143111ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 143121ab64890SmrgDate: Wed Jan 19 01:53:55 2005 +0000 143131ab64890Smrg 143141ab64890Smrg xc/nls/compose.dir 143151ab64890Smrg xc/nls/locale.dir 143161ab64890Smrg xc/nls/Compose/Imakefile 143171ab64890Smrg xc/nls/Compose/pt_BR.UTF-8 143181ab64890Smrg xc/nls/XI18N_OBJS/Imakefile 143191ab64890Smrg xc/nls/XI18N_OBJS/pt_BR.UTF-8 143201ab64890Smrg xc/nls/XLC_LOCALE/Imakefile 143211ab64890Smrg xc/nls/XLC_LOCALE/pt_BR.UTF-8 143221ab64890Smrg //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. 143231ab64890Smrg 143241ab64890Smrgcommit 7448ea7ef425d35cfc31eb41d46f4d879774f376 143251ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 143261ab64890SmrgDate: Fri Jan 14 18:03:09 2005 +0000 143271ab64890Smrg 143281ab64890Smrg Made some security enhancements: 143291ab64890Smrg - no writing past end of buffer caused by bogus locale. 143301ab64890Smrg - explicitely add a \0 character at end of string. (Bugzilla #2262) 143311ab64890Smrg 143321ab64890Smrgcommit 5557d47fcf22a6f3adf327691158f2270e3d5094 143331ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 143341ab64890SmrgDate: Fri Jan 14 04:59:05 2005 +0000 143351ab64890Smrg 143361ab64890Smrg xc/nls/compose.dir 143371ab64890Smrg xc/nls/locale.alias 143381ab64890Smrg xc/nls/locale.dir 143391ab64890Smrg //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>. 143401ab64890Smrg 143411ab64890Smrgcommit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 143421ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 143431ab64890SmrgDate: Tue Jan 11 17:37:57 2005 +0000 143441ab64890Smrg 143451ab64890Smrg '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. 143461ab64890Smrg 143471ab64890Smrgcommit 642cd269f94a234aa470a1d43385bd42625d89a1 143481ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 143491ab64890SmrgDate: Tue Dec 14 08:59:20 2004 +0000 143501ab64890Smrg 143511ab64890Smrg Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 143521ab64890Smrg Fixed typo. 143531ab64890Smrg Added comment to a changed that's been committed with one of the previous commits. 143541ab64890Smrg 143551ab64890Smrgcommit a07ccae36e629741d2e48de7730114d30a975a41 143561ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 143571ab64890SmrgDate: Sun Dec 12 08:42:50 2004 +0000 143581ab64890Smrg 143591ab64890Smrg Fix missing XChangeProperty() prototype missing in synopsis section. 143601ab64890Smrg 143611ab64890Smrgcommit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 143621ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 143631ab64890SmrgDate: Wed Dec 8 13:42:01 2004 +0000 143641ab64890Smrg 143651ab64890Smrg Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 143661ab64890Smrg 143671ab64890Smrgcommit d5e7ab194103e22fd6c5094aaa107d90210bb600 143681ab64890SmrgAuthor: Jim Gettys <jg@freedesktop.org> 143691ab64890SmrgDate: Thu Dec 2 16:18:16 2004 +0000 143701ab64890Smrg 143711ab64890Smrg fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 143721ab64890Smrg 143731ab64890Smrgcommit 03940d7330cb1bbf93d49c650aefb19de457da7c 143741ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 143751ab64890SmrgDate: Wed Dec 1 13:06:55 2004 +0000 143761ab64890Smrg 143771ab64890Smrg Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 143781ab64890Smrg 143791ab64890Smrgcommit 11a03ab908bfcfab8a3492684e8e9320e492d552 143801ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 143811ab64890SmrgDate: Wed Dec 1 12:42:17 2004 +0000 143821ab64890Smrg 143831ab64890Smrg Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 143841ab64890Smrg 143851ab64890Smrgcommit f3d83ee153f42e8899b844377e6b842d93411e62 143861ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 143871ab64890SmrgDate: Mon Nov 15 15:06:54 2004 +0000 143881ab64890Smrg 143891ab64890Smrg Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 143901ab64890Smrg 143911ab64890Smrgcommit b798ea11911ac58a8e6e7d15a2a643b023859749 143921ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 143931ab64890SmrgDate: Mon Nov 15 13:29:56 2004 +0000 143941ab64890Smrg 143951ab64890Smrg Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 143961ab64890Smrg 143971ab64890Smrgcommit 436108cd6c84053698e5ca629096f59b34f50c2a 143981ab64890SmrgAuthor: Kristian Høgsberg <krh@redhat.com> 143991ab64890SmrgDate: Thu Nov 11 15:37:01 2004 +0000 144001ab64890Smrg 144011ab64890Smrg Fix #1818 144021ab64890Smrg 144031ab64890Smrgcommit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 144041ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 144051ab64890SmrgDate: Tue Nov 9 00:56:56 2004 +0000 144061ab64890Smrg 144071ab64890Smrg xc/nls/compose.dir 144081ab64890Smrg xc/nls/locale.alias 144091ab64890Smrg xc/nls/locale.dir 144101ab64890Smrg //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>. 144111ab64890Smrg 144121ab64890Smrgcommit 443890ceefbd6dafe68e30d103ec4f9d316ed655 144131ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 144141ab64890SmrgDate: Fri Nov 5 00:58:49 2004 +0000 144151ab64890Smrg 144161ab64890Smrg xc/nls/compose.dir 144171ab64890Smrg xc/nls/locale.alias 144181ab64890Smrg xc/nls/locale.dir 144191ab64890Smrg 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>. 144201ab64890Smrg 144211ab64890Smrgcommit af7467ec734321f127b957921cce7792902b6794 144221ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 144231ab64890SmrgDate: Mon Oct 18 17:29:03 2004 +0000 144241ab64890Smrg 144251ab64890Smrg Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 144261ab64890Smrg 144271ab64890Smrgcommit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 144281ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-xorg> 144291ab64890SmrgDate: Mon Oct 18 14:21:45 2004 +0000 144301ab64890Smrg 144311ab64890Smrg Made handling of DevelDrivers for x86-64 more conformant to other platforms. 144321ab64890Smrg Compress all font encodings (Stefan Dirsch). 144331ab64890Smrg Fixed warnings. 144341ab64890Smrg Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 144351ab64890Smrg Added another compose key combination for the Euro symbol (Stefan Dirsch). 144361ab64890Smrg Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 144371ab64890Smrg 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. 144381ab64890Smrg Added explanation for DESTDIR to install to a different directory than /. 144391ab64890Smrg Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 144401ab64890Smrg 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. 144411ab64890Smrg 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(). 144421ab64890Smrg Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 144431ab64890Smrg Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 144441ab64890Smrg Changed comment to mention xorg. 144451ab64890Smrg 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). 144461ab64890Smrg Added 'pic' to the man page rendering command pipeline (Werner Fink). 144471ab64890Smrg Added missing return value (Stefan Dirsch, Roland Mainz) 144481ab64890Smrg 144491ab64890Smrgcommit 1ba103c3cad2329db3a31f88d7798b913affc570 144501ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 144511ab64890SmrgDate: Wed Oct 13 07:38:00 2004 +0000 144521ab64890Smrg 144531ab64890Smrg 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>) 144541ab64890Smrg 144551ab64890Smrgcommit d80237db627bf71ad5615ff4ba05e6ab436aa740 144561ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 144571ab64890SmrgDate: Fri Oct 8 22:57:56 2004 +0000 144581ab64890Smrg 144591ab64890Smrg Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 144601ab64890Smrg Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 144611ab64890Smrg 144621ab64890Smrgcommit d1f76d17ecf418396627b1a58319f2b9b255548a 144631ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 144641ab64890SmrgDate: Sun Sep 26 22:54:57 2004 +0000 144651ab64890Smrg 144661ab64890Smrg bug fix for previous patch 144671ab64890Smrg 144681ab64890Smrgcommit 48932d9b71d10e15812f47d5b842ab6aa8dac625 144691ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 144701ab64890SmrgDate: Sun Sep 26 20:46:17 2004 +0000 144711ab64890Smrg 144721ab64890Smrg The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 144731ab64890Smrg 144741ab64890Smrgcommit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 144751ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org> 144761ab64890SmrgDate: Wed Sep 15 09:05:22 2004 +0000 144771ab64890Smrg 144781ab64890Smrg 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). 144791ab64890Smrg 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). 144801ab64890Smrg 144811ab64890Smrgcommit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 144821ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org> 144831ab64890SmrgDate: Tue Aug 31 11:37:03 2004 +0000 144841ab64890Smrg 144851ab64890Smrg 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). 144861ab64890Smrg 144871ab64890Smrgcommit e689746c8d0e21e9011e8b91a3071d235d3a2a74 144881ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 144891ab64890SmrgDate: Thu Aug 19 06:48:06 2004 +0000 144901ab64890Smrg 144911ab64890Smrg Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 144921ab64890Smrg 144931ab64890Smrgcommit d558a53a6f57eecfcaadce5141fe3a08860defcb 144941ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 144951ab64890SmrgDate: Sat Aug 14 07:12:36 2004 +0000 144961ab64890Smrg 144971ab64890Smrg Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 144981ab64890Smrg Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 144991ab64890Smrg Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 145001ab64890Smrg Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 145011ab64890Smrg 145021ab64890Smrgcommit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 145031ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 145041ab64890SmrgDate: Fri Aug 13 16:28:19 2004 +0000 145051ab64890Smrg 145061ab64890Smrg Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 145071ab64890Smrg Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 145081ab64890Smrg 145091ab64890Smrgcommit c4d56e4e288d4e48b84b021a61638f46e9a45e27 145101ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 145111ab64890SmrgDate: Wed Aug 11 05:25:13 2004 +0000 145121ab64890Smrg 145131ab64890Smrg Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 145141ab64890Smrg 145151ab64890Smrgcommit 92487437173f600f208d825f65756d3ad14a4f7e 145161ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 145171ab64890SmrgDate: Mon Aug 9 22:37:22 2004 +0000 145181ab64890Smrg 145191ab64890Smrg Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 145201ab64890Smrg Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 145211ab64890Smrg Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 145221ab64890Smrg HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 145231ab64890Smrg Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 145241ab64890Smrg Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 145251ab64890Smrg Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 145261ab64890Smrg Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 145271ab64890Smrg Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 145281ab64890Smrg Fix several render problems: 145291ab64890Smrg - MMIO mode support 145301ab64890Smrg - Hang on IGP chips 145311ab64890Smrg - VT switching hang 145321ab64890Smrg - 3D render corruption (Bug #922, Hui Yu). 145331ab64890Smrg 145341ab64890Smrgcommit 55c2ee568e7d3903258286a13bdf96ce5348ffda 145351ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 145361ab64890SmrgDate: Tue Jul 27 06:06:05 2004 +0000 145371ab64890Smrg 145381ab64890Smrg - remove remaining AMOEBA references. 145391ab64890Smrg - remove unused file. 145401ab64890Smrg 145411ab64890Smrgcommit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 145421ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 145431ab64890SmrgDate: Tue Jul 20 17:48:09 2004 +0000 145441ab64890Smrg 145451ab64890Smrg Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 145461ab64890Smrg Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 145471ab64890Smrg Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 145481ab64890Smrg Use /dev/urandom on Linux.(#761). 145491ab64890Smrg 145501ab64890Smrgcommit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 145511ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 145521ab64890SmrgDate: Fri May 28 23:26:44 2004 +0000 145531ab64890Smrg 145541ab64890Smrg Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 145551ab64890Smrg 145561ab64890Smrgcommit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 145571ab64890SmrgAuthor: Egbert Eich <eich@pdx.freedesktop.org> 145581ab64890SmrgDate: Mon May 24 19:02:11 2004 +0000 145591ab64890Smrg 145601ab64890Smrg 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. 145611ab64890Smrg 145621ab64890Smrgcommit 720702da29769d80ad1254d92edbad5b30f8a8da 145631ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 145641ab64890SmrgDate: Sat May 22 03:47:42 2004 +0000 145651ab64890Smrg 145661ab64890Smrg Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 145671ab64890Smrg 145681ab64890Smrgcommit 3aed873292424b497d9a7dcee2975b95bf5ac966 145691ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 145701ab64890SmrgDate: Sat Apr 24 23:39:25 2004 +0000 145711ab64890Smrg 145721ab64890Smrg XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 145731ab64890Smrg Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 145741ab64890Smrg xc/config/cf/sunLib.tmpl 145751ab64890Smrg xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 145761ab64890Smrg 145771ab64890Smrgcommit c6349f43193b74a3c09945f3093a871b0157ba47 145781ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org> 145791ab64890SmrgDate: Fri Apr 23 18:42:09 2004 +0000 145801ab64890Smrg 145811ab64890Smrg Merging XORG-CURRENT into trunk 145821ab64890Smrg 145831ab64890Smrgcommit c3c4ddc682950a01b80825021f3e2503ab01ea7f 145841ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 145851ab64890SmrgDate: Tue Nov 25 19:28:07 2003 +0000 145861ab64890Smrg 145871ab64890Smrg Initial revision 145881ab64890Smrg 145891ab64890Smrgcommit dc4268a7dadc8da0d561757a68461246728613d3 145901ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 145911ab64890SmrgDate: Fri Nov 14 16:48:47 2003 +0000 145921ab64890Smrg 145931ab64890Smrg Initial revision 145941ab64890Smrg 145951ab64890Smrgcommit deae12c6b683898f5213992d561a59d4ea889cca 145961ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 145971ab64890SmrgDate: Fri Nov 14 15:54:30 2003 +0000 145981ab64890Smrg 145991ab64890Smrg R6.6 is the Xorg base-line 14600