ChangeLog revision d4a3aaf4
1d4a3aaf4Smrgcommit ca8115186f810eccb7d86b0979980eff3ba95f0b 2d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com> 3d4a3aaf4SmrgDate: Thu Nov 19 11:30:41 2020 -0800 4d4a3aaf4Smrg 5d4a3aaf4Smrg Version 1.7.0 6d4a3aaf4Smrg 7d4a3aaf4Smrg Release notes in README.md, version bump in configure.ac 8d4a3aaf4Smrg 9d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 10d4a3aaf4Smrg 11d4a3aaf4Smrgcommit 325ac177fb6d38f4c7689d9ce059792eaef388ef 12d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com> 13d4a3aaf4SmrgDate: Mon Nov 16 15:48:40 2020 -0800 14d4a3aaf4Smrg 15d4a3aaf4Smrg Update libX11 .so version to 6.4.0 16d4a3aaf4Smrg 17d4a3aaf4Smrg There have been API additions since the previous release, so the 18d4a3aaf4Smrg .so version needs to change. 19d4a3aaf4Smrg 20d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 21d4a3aaf4Smrg 22d4a3aaf4Smrgcommit 103e2e11519984aa5746c06e7d90d1f5bc8174a3 23d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24d4a3aaf4SmrgDate: Sat Oct 31 09:24:01 2020 -0700 25d4a3aaf4Smrg 26d4a3aaf4Smrg Don't leave dangling pointers in Free functions 27d4a3aaf4Smrg 28d4a3aaf4Smrg While these are mostly called during teardown of larger structures 29d4a3aaf4Smrg that are about to themselves be freed, there's no guarantee that 30d4a3aaf4Smrg will always be the case, so try to be safer here. 31d4a3aaf4Smrg 32d4a3aaf4Smrg [ This bug was found by the Parfait 4.0 bug checking tool. 33d4a3aaf4Smrg http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 34d4a3aaf4Smrg 35d4a3aaf4Smrg v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies 36d4a3aaf4Smrg as suggested by @keithp 37d4a3aaf4Smrg 38d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 39d4a3aaf4Smrg 40d4a3aaf4Smrgcommit 7d70e302218e2ec8518548ddcdc02d828e7889af 41d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 42d4a3aaf4SmrgDate: Sat Oct 31 08:56:34 2020 -0700 43d4a3aaf4Smrg 44d4a3aaf4Smrg XimProto.h: wrap XIM_HEADER_SIZE definition in parens 45d4a3aaf4Smrg 46d4a3aaf4Smrg Resolves parfait warning of potential macro misinterpretation if 47d4a3aaf4Smrg expanded in the midst of other arithmetic operations with higher 48d4a3aaf4Smrg precedence. 49d4a3aaf4Smrg 50d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 51d4a3aaf4Smrg 52d4a3aaf4Smrgcommit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a 53d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com> 54d4a3aaf4SmrgDate: Tue Nov 17 13:15:18 2020 -0800 55d4a3aaf4Smrg 56d4a3aaf4Smrg Copy locale modifiers when creating XimInstCallback [v2] 57d4a3aaf4Smrg 58d4a3aaf4Smrg Locale modifiers may be freed whenever XSetLocaleModifiers gets 59d4a3aaf4Smrg called, even if the locale hasn't changed. This means that we cannot 60d4a3aaf4Smrg save a pointer to those modifiers in the XimInstCallback record and 61d4a3aaf4Smrg must, instead, make a copy of them instead. 62d4a3aaf4Smrg 63d4a3aaf4Smrg This fixes a problem uncovered when running wish under libasan as 64d4a3aaf4Smrg follows (on current Debian unstable): 65d4a3aaf4Smrg 66d4a3aaf4Smrg $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish 67d4a3aaf4Smrg 68d4a3aaf4Smrg Reported-by: Vittorio Zecca <zeccav@gmail.com> 69d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 70d4a3aaf4Smrg 71d4a3aaf4Smrg v2: 72d4a3aaf4Smrg Remove incorrect 'else' token found by @alanc 73d4a3aaf4Smrg 74d4a3aaf4Smrgcommit 960e2e0cfac12c3477c672d0d40818a0dc74aca5 75d4a3aaf4SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 76d4a3aaf4SmrgDate: Mon Nov 16 09:34:57 2020 +1000 77d4a3aaf4Smrg 78d4a3aaf4Smrg gitlab CI: add a basic build test 79d4a3aaf4Smrg 80d4a3aaf4Smrg Using Arch as base distribution here because we can expect our dependencies to 81d4a3aaf4Smrg be up-to-date. We rely on the Arch for our dependencies rather than building 82d4a3aaf4Smrg those from git (notably: xorg-macros, xtrans and libxcb). 83d4a3aaf4Smrg 84d4a3aaf4Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 85d4a3aaf4Smrg 86d4a3aaf4Smrgcommit dbb55e1a5e82870466b095097d9e46046680ec25 87d4a3aaf4SmrgAuthor: Frediano Ziglio <fziglio@redhat.com> 88d4a3aaf4SmrgDate: Wed Jan 29 09:06:54 2020 +0000 89d4a3aaf4Smrg 90d4a3aaf4Smrg Fix poll_for_response race condition 91d4a3aaf4Smrg 92d4a3aaf4Smrg In poll_for_response is it possible that event replies are skipped 93d4a3aaf4Smrg and a more up to date message reply is returned. 94d4a3aaf4Smrg This will cause next poll_for_event call to fail aborting the program. 95d4a3aaf4Smrg 96d4a3aaf4Smrg This was proved using some slow ssh tunnel or using some program 97d4a3aaf4Smrg to slow down server replies (I used a combination of xtrace and strace). 98d4a3aaf4Smrg 99d4a3aaf4Smrg How the race happens: 100d4a3aaf4Smrg - program enters into poll_for_response; 101d4a3aaf4Smrg - poll_for_event is called but the server didn't still send the reply; 102d4a3aaf4Smrg - pending_requests is not NULL because we send a request (see call 103d4a3aaf4Smrg to append_pending_request in _XSend); 104d4a3aaf4Smrg - xcb_poll_for_reply64 is called from poll_for_response; 105d4a3aaf4Smrg - xcb_poll_for_reply64 will read from server, at this point 106d4a3aaf4Smrg server reply with an event (say sequence N) and the reply to our 107d4a3aaf4Smrg last request (say sequence N+1); 108d4a3aaf4Smrg - xcb_poll_for_reply64 returns the reply for the request we asked; 109d4a3aaf4Smrg - last_request_read is set to N+1 sequence in poll_for_response; 110d4a3aaf4Smrg - poll_for_response returns the response to the request; 111d4a3aaf4Smrg - poll_for_event is called (for instance from another poll_for_response); 112d4a3aaf4Smrg - event with sequence N is retrieved; 113d4a3aaf4Smrg - the N sequence is widen, however, as the "new" number computed from 114d4a3aaf4Smrg last_request_read is less than N the number is widened to N + 2^32 115d4a3aaf4Smrg (assuming last_request_read is still contained in 32 bit); 116d4a3aaf4Smrg - poll_for_event enters the nested if statement as req is NULL; 117d4a3aaf4Smrg - we compare the widen N (which now does not fit into 32 bit) with 118d4a3aaf4Smrg request (which fits into 32 bit) hitting the throw_thread_fail_assert. 119d4a3aaf4Smrg 120d4a3aaf4Smrg To avoid the race condition and to avoid the sequence to go back 121d4a3aaf4Smrg I check again for new events after getting the response and 122d4a3aaf4Smrg return this last event if present saving the reply to return it 123d4a3aaf4Smrg later. 124d4a3aaf4Smrg 125d4a3aaf4Smrg To test the race and the fix it's helpful to add a delay (I used a 126d4a3aaf4Smrg "usleep(5000)") before calling xcb_poll_for_reply64. 127d4a3aaf4Smrg 128d4a3aaf4Smrg Original patch written by Frediano Ziglio, see 129d4a3aaf4Smrg https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34 130d4a3aaf4Smrg 131d4a3aaf4Smrg Reworked primarily for readability by Peter Hutterer, see 132d4a3aaf4Smrg https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53 133d4a3aaf4Smrg 134d4a3aaf4Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 135d4a3aaf4Smrg 136d4a3aaf4Smrgcommit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277 137d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com> 138d4a3aaf4SmrgDate: Sat Nov 7 22:22:47 2020 -0800 139d4a3aaf4Smrg 140d4a3aaf4Smrg Avoid recursing through _XError due to sequence adjustment 141d4a3aaf4Smrg 142d4a3aaf4Smrg This patch is based on research done by Dmitry Osipenko to uncover the 143d4a3aaf4Smrg cause of a large class of Xlib lockups. 144d4a3aaf4Smrg 145d4a3aaf4Smrg _XError must unlock and re-lock the display around the call to the 146d4a3aaf4Smrg user error handler function. When re-locking the display, two 147d4a3aaf4Smrg functions are called to ensure that the display is ready to generate a request: 148d4a3aaf4Smrg 149d4a3aaf4Smrg _XIDHandler(dpy); 150d4a3aaf4Smrg _XSeqSyncFunction(dpy); 151d4a3aaf4Smrg 152d4a3aaf4Smrg The first ensures that there is at least one XID available to use 153d4a3aaf4Smrg (possibly calling _xcb_generate_id to do so). The second makes sure a 154d4a3aaf4Smrg reply is received at least every 65535 requests to keep sequence 155d4a3aaf4Smrg numbers in sync (possibly generating a GetInputFocus request and 156d4a3aaf4Smrg synchronously awaiting the reply). 157d4a3aaf4Smrg 158d4a3aaf4Smrg If the second of these does generate a GetInputFocus request and wait 159d4a3aaf4Smrg for the reply, then a pending error will cause recursion into _XError, 160d4a3aaf4Smrg which deadlocks the display. 161d4a3aaf4Smrg 162d4a3aaf4Smrg One seemingly easy fix is to have _XError avoid those calls by 163d4a3aaf4Smrg invoking InternalLockDisplay instead of LockDisplay. That function 164d4a3aaf4Smrg does everything that LockDisplay does *except* call those final two 165d4a3aaf4Smrg functions which may end up receiving an error. 166d4a3aaf4Smrg 167d4a3aaf4Smrg However, that doesn't protect the system from applications which call 168d4a3aaf4Smrg some legal Xlib function from within their error handler. Any Xlib 169d4a3aaf4Smrg function which cannot generate protocol or wait for events is valid, 170d4a3aaf4Smrg including many which invoke LockDisplay. 171d4a3aaf4Smrg 172d4a3aaf4Smrg What we need to do is make LockDisplay skip these two function calls 173d4a3aaf4Smrg precisely when it is called from within the _XError context for the 174d4a3aaf4Smrg same display. 175d4a3aaf4Smrg 176d4a3aaf4Smrg This patch accomplishes this by creating a list of threads in the 177d4a3aaf4Smrg display which are in _XError, and then having LockDisplay check the 178d4a3aaf4Smrg current thread against those list elements. 179d4a3aaf4Smrg 180d4a3aaf4Smrg Inspired-by: Dmitry Osipenko <digetx@gmail.com> 181d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 182d4a3aaf4Smrg Tested-by: Dmitry Osipenko <digetx@gmail.com> 183d4a3aaf4Smrg Reviewed-by: Dmitry Osipenko <digetx@gmail.com> 184d4a3aaf4Smrg 185d4a3aaf4Smrgcommit c9c4d6efbf92ab51695e2e740319503221d68eed 186d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 187d4a3aaf4SmrgDate: Fri Nov 13 11:34:04 2020 +0100 188d4a3aaf4Smrg 189d4a3aaf4Smrg nls: improve the comments for the Serbian compose sequences 190d4a3aaf4Smrg 191d4a3aaf4Smrg Also put an extra space before the lone combining characters 192d4a3aaf4Smrg so they have some room to breathe. 193d4a3aaf4Smrg 194d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 195d4a3aaf4Smrg 196d4a3aaf4Smrgcommit 3497dae3d9c52a252110b2a0983b82000be0fe8e 197d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 198d4a3aaf4SmrgDate: Fri Nov 13 11:23:09 2020 +0100 199d4a3aaf4Smrg 200d4a3aaf4Smrg nls: remove mistaken Serbian compose sequences with combining diacritics 201d4a3aaf4Smrg 202d4a3aaf4Smrg Combining characters are not dead keys -- they have an immediate effect 203d4a3aaf4Smrg and combine with the preceding character. So they cannot be used in 204d4a3aaf4Smrg compose sequences. 205d4a3aaf4Smrg 206d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 207d4a3aaf4Smrg 208d4a3aaf4Smrgcommit 5cd60398b7787297008b13a848ed3cfbd7ef178d 209d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 210d4a3aaf4SmrgDate: Mon Nov 2 16:34:39 2020 +0100 211d4a3aaf4Smrg 212d4a3aaf4Smrg nls: rename the obsolete sr_CS locale to sr_RS 213d4a3aaf4Smrg 214d4a3aaf4Smrg Fixes #107, for the most part. 215d4a3aaf4Smrg 216d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 217d4a3aaf4Smrg 218d4a3aaf4Smrgcommit 7cf1729590534e257b851899cf03421b65c538e3 219d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com> 220d4a3aaf4SmrgDate: Sat Nov 7 17:02:56 2020 -0800 221d4a3aaf4Smrg 222d4a3aaf4Smrg Don't attempt to unload locale context data 223d4a3aaf4Smrg 224d4a3aaf4Smrg Most locale context users call _XlcCurrentLC, which returns a pointer 225d4a3aaf4Smrg which never needs to be passed to _XCloseLC, meaning it has unbounded 226d4a3aaf4Smrg lifetime, so that locale data can never be freed. 227d4a3aaf4Smrg 228d4a3aaf4Smrg Remove all reference counting and just leave all locales that were 229d4a3aaf4Smrg ever used in memory. 230d4a3aaf4Smrg 231d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 232d4a3aaf4Smrg Acked-by: Martin Peres <martin.peres@mupuf.org> 233d4a3aaf4Smrg 234d4a3aaf4Smrgcommit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d 235d4a3aaf4SmrgAuthor: Jacek Caban <jacek@codeweavers.com> 236d4a3aaf4SmrgDate: Mon Aug 14 19:20:19 2017 +0200 237d4a3aaf4Smrg 238d4a3aaf4Smrg Don't cache last lcd in _XlcCurrentLC. 239d4a3aaf4Smrg 240d4a3aaf4Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 241d4a3aaf4Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 242d4a3aaf4Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 243d4a3aaf4Smrg 244d4a3aaf4Smrg The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway. 245d4a3aaf4Smrg 246d4a3aaf4Smrg Signed-off-by: Jacek Caban <jacek@codeweavers.com> 247d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 248d4a3aaf4Smrg Acked-by: Martin Peres <martin.peres@mupuf.org> 249d4a3aaf4Smrg 250d4a3aaf4Smrgcommit 7a38c09b82ee2522d987c3da4af8af186e562c61 251d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com> 252d4a3aaf4SmrgDate: Sat Nov 7 16:59:37 2020 -0800 253d4a3aaf4Smrg 254d4a3aaf4Smrg Don't cache converters in _Xlcmbtowc and Xlcwctomb 255d4a3aaf4Smrg 256d4a3aaf4Smrg These functions were caching encoding conversion functions in static 257d4a3aaf4Smrg variables which is not thread safe. Let the conversion loader do its 258d4a3aaf4Smrg job and cache locale to converters there. It's less efficient, but 259d4a3aaf4Smrg it's also (now) thread safe. 260d4a3aaf4Smrg 261d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 262d4a3aaf4Smrg Acked-by: Martin Peres <martin.peres@mupuf.org> 263d4a3aaf4Smrg 264d4a3aaf4Smrgcommit b52ba5c209165fc2c533b77b86147b31763299f3 265d4a3aaf4SmrgAuthor: Jacek Caban <jacek@codeweavers.com> 266d4a3aaf4SmrgDate: Mon Aug 14 19:20:20 2017 +0200 267d4a3aaf4Smrg 268d4a3aaf4Smrg Make conv_list thread safe. 269d4a3aaf4Smrg 270d4a3aaf4Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678 271d4a3aaf4Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538 272d4a3aaf4Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088 273d4a3aaf4Smrg Signed-off-by: Jacek Caban <jacek@codeweavers.com> 274d4a3aaf4Smrg Signed-off-by: Keith Packard <keithp@keithp.com> 275d4a3aaf4Smrg Acked-by: Martin Peres <martin.peres@mupuf.org> 276d4a3aaf4Smrg 277d4a3aaf4Smrgcommit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956 278d4a3aaf4SmrgAuthor: Antti Savolainen <antti.savo@gmail.com> 279d4a3aaf4SmrgDate: Wed Sep 16 07:47:26 2020 +0000 280d4a3aaf4Smrg 281d4a3aaf4Smrg Added DOWNWARD ARROW support 282d4a3aaf4Smrg 283d4a3aaf4Smrgcommit 7138826dccba9d538dfb142ce9af1a40d64ea849 284d4a3aaf4SmrgAuthor: Antti Savolainen <antti.savo@gmail.com> 285d4a3aaf4SmrgDate: Tue Sep 8 00:54:23 2020 +0300 286d4a3aaf4Smrg 287d4a3aaf4Smrg Added support for UPWARDS ARROW and ALMOST EQUAL TO 288d4a3aaf4Smrg 289d4a3aaf4Smrg Signed-off-by: Antti Savolainen <antti.savo@gmail.com> 290d4a3aaf4Smrg 291d4a3aaf4Smrgcommit 56d59299f7433cdeb88bac970b06eb7df44df5bb 292d4a3aaf4SmrgAuthor: Jonathan Belsewir <jonbel@jonasund.de> 293d4a3aaf4SmrgDate: Thu Nov 5 22:57:50 2020 +0000 294d4a3aaf4Smrg 295d4a3aaf4Smrg Add less and greater to characters that are difficult to access on some keyboards 296d4a3aaf4Smrg 297d4a3aaf4Smrgcommit 5caf45f8d3bebad5b72ac88545adc156ccfd754d 298d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 299d4a3aaf4SmrgDate: Fri Oct 23 17:12:22 2020 +0200 300d4a3aaf4Smrg 301d4a3aaf4Smrg nls: Allow all letters with a caron to be composed also with v. 302d4a3aaf4Smrg 303d4a3aaf4Smrg It was strange that the accented letters Ž and ž can be composed with 304d4a3aaf4Smrg sequences that start with "v" ("v Z" and "v z"), but not Č and č and 305d4a3aaf4Smrg Š and š (and other letters with a caron). For these letters, compose 306d4a3aaf4Smrg sequences that start with a "c" had to be used, which was frustrating 307d4a3aaf4Smrg because it is hard to remember that "c" stands for "caron", AND the 308d4a3aaf4Smrg graphically more obvious "v" is right next to it. 309d4a3aaf4Smrg 310d4a3aaf4Smrg (Unfortunately, the sequence "v l" is already taken for vertical line. 311d4a3aaf4Smrg Maybe the compose sequences for vertical line could be reduced to just 312d4a3aaf4Smrg "V L" and "L V"?) 313d4a3aaf4Smrg 314d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 315d4a3aaf4Smrg 316d4a3aaf4Smrgcommit 62de4ac9025e2cb3f62a890241c06ebc75acce62 317d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 318d4a3aaf4SmrgDate: Sun Nov 1 20:23:55 2020 +0100 319d4a3aaf4Smrg 320d4a3aaf4Smrg nls: vertically align the target column of aliases 321d4a3aaf4Smrg 322d4a3aaf4Smrg Also improve the grammar of the initial comment. 323d4a3aaf4Smrg 324d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 325d4a3aaf4Smrg 326d4a3aaf4Smrgcommit f5b26a16ef959fc6860e9cf58b97a042600900b4 327d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 328d4a3aaf4SmrgDate: Sun Nov 1 20:17:05 2020 +0100 329d4a3aaf4Smrg 330d4a3aaf4Smrg nls: remove some twenty aliases that have been obsolete for fifteen years 331d4a3aaf4Smrg 332d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 333d4a3aaf4Smrg 334d4a3aaf4Smrgcommit 3e61f3b49660e081108f06bc514366f1784cb2e0 335d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 336d4a3aaf4SmrgDate: Sun Nov 1 19:50:56 2020 +0100 337d4a3aaf4Smrg 338d4a3aaf4Smrg nls: remove country-specific aliases for two constructed languages 339d4a3aaf4Smrg 340d4a3aaf4Smrg These artificial languages are meant to be international and are 341d4a3aaf4Smrg thus not specific to any country. If one would want to support 342d4a3aaf4Smrg aliases like ia_FR or ia_CH, then one would also have to support 343d4a3aaf4Smrg ia_AU, ia_DE, ia_ES, et cetera, et cetera. That would be silly. 344d4a3aaf4Smrg 345d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 346d4a3aaf4Smrg 347d4a3aaf4Smrgcommit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c 348d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl> 349d4a3aaf4SmrgDate: Sun Nov 1 17:28:24 2020 +0100 350d4a3aaf4Smrg 351d4a3aaf4Smrg nls: remove four aliases where the name is identical to the definition 352d4a3aaf4Smrg 353d4a3aaf4Smrg They were found with: 354d4a3aaf4Smrg 355d4a3aaf4Smrg while read one two; do 356d4a3aaf4Smrg if [[ $one == $two: ]]; then echo $two; fi; 357d4a3aaf4Smrg done <nls/locale.alias.pre 358d4a3aaf4Smrg 359d4a3aaf4Smrg Signed-off-by: Benno Schulenberg <bensberg@telfort.nl> 360d4a3aaf4Smrg 361d4a3aaf4Smrgcommit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7 362d4a3aaf4SmrgAuthor: Carlos Garnacho <carlosg@gnome.org> 363d4a3aaf4SmrgDate: Fri Jun 14 17:55:14 2019 +0200 364d4a3aaf4Smrg 365d4a3aaf4Smrg Add XSetIOErrorExitHandler() function 366d4a3aaf4Smrg 367d4a3aaf4Smrg This function complements XSetIOErrorHandler(), allowing to override 368d4a3aaf4Smrg the default behavior that trusts on I/O errors never coming back 369d4a3aaf4Smrg (i.e. exit()ing the process). 370d4a3aaf4Smrg 371d4a3aaf4Smrg This is meant as a mechanism for Wayland compositors (that are too 372d4a3aaf4Smrg a X11 client + compositing manager) to unfasten seatbelts and jump 373d4a3aaf4Smrg through the car window. It might get lucky and land on a stack of 374d4a3aaf4Smrg pillows. 375d4a3aaf4Smrg 376d4a3aaf4Smrg In consequence, some functions labeled as _X_NORETURN can as a 377d4a3aaf4Smrg matter of fact return. So those hints were removed. 378d4a3aaf4Smrg 379d4a3aaf4Smrg Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 380d4a3aaf4Smrg Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 381d4a3aaf4Smrg 382d4a3aaf4Smrgcommit 4cb758019e374fa7c022fe79d28444e13441717b 383d4a3aaf4SmrgAuthor: Carlos Garnacho <carlosg@gnome.org> 384d4a3aaf4SmrgDate: Fri Jun 14 17:54:47 2019 +0200 385d4a3aaf4Smrg 386d4a3aaf4Smrg Prepare for _XIOError() possibly returning 387d4a3aaf4Smrg 388d4a3aaf4Smrg Ensure current state is cut short on _XIOError(), possible reentrancy 389d4a3aaf4Smrg should be skipped through the XlibDisplayIOError flag checks. 390d4a3aaf4Smrg 391d4a3aaf4Smrg Signed-off-by: Carlos Garnacho <carlosg@gnome.org> 392d4a3aaf4Smrg Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> 393d4a3aaf4Smrg 394d4a3aaf4Smrgcommit a37986f7a7d4ae9b8292b132dbb0da2885ea919c 395d4a3aaf4SmrgAuthor: Ross Burton <ross.burton@intel.com> 396d4a3aaf4SmrgDate: Wed Jan 22 17:11:23 2020 +0000 397d4a3aaf4Smrg 398d4a3aaf4Smrg cpprules.in: squash whitespace in generated files 399d4a3aaf4Smrg 400d4a3aaf4Smrg CPP is used to generate files, but as cpp reads files from the build host the 401d4a3aaf4Smrg output has a number of blank lines at the beginning which varies depending on 402d4a3aaf4Smrg what GCC and friends is used. 403d4a3aaf4Smrg 404d4a3aaf4Smrg Pathalogical example: 405d4a3aaf4Smrg 406d4a3aaf4Smrg $ cpp -undef -traditional /dev/null 407d4a3aaf4Smrg # 1 "/dev/null" 408d4a3aaf4Smrg # 1 "<built-in>" 409d4a3aaf4Smrg # 1 "<command-line>" 410d4a3aaf4Smrg # 31 "<command-line>" 411d4a3aaf4Smrg # 1 "/usr/include/stdc-predef.h" 1 3 4 412d4a3aaf4Smrg 413d4a3aaf4Smrg # 17 "/usr/include/stdc-predef.h" 3 4 414d4a3aaf4Smrg 415d4a3aaf4Smrg [ 40 blank line ] 416d4a3aaf4Smrg 417d4a3aaf4Smrg # 32 "<command-line>" 2 418d4a3aaf4Smrg # 1 "/dev/null" 419d4a3aaf4Smrg 420d4a3aaf4Smrg So depending on the content of stdc-predef.h and what other headers CPP will 421d4a3aaf4Smrg load, the amount of whitespace in the generates files varies. This can result in 422d4a3aaf4Smrg differences in reproducible environments, and file conflicts in multilib 423d4a3aaf4Smrg environments. 424d4a3aaf4Smrg 425d4a3aaf4Smrg As whitespace is irrelevant to these machine-readable files, extend the sed to 426d4a3aaf4Smrg just delete blank lines. 427d4a3aaf4Smrg 428d4a3aaf4Smrgcommit 16192ce2a7e462e09f95aa45ce9eaa180e483c43 429d4a3aaf4SmrgAuthor: Carmina16 <mistresssilvara@hotmail.com> 430d4a3aaf4SmrgDate: Sun Jun 16 02:54:25 2019 +0000 431d4a3aaf4Smrg 432d4a3aaf4Smrg Adding ia and ie locales 433d4a3aaf4Smrg 434d4a3aaf4Smrgcommit caa71668af7fd3ebdd56353c8f0ab90824773969 435d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 436d4a3aaf4SmrgDate: Mon Sep 28 16:16:07 2020 -0700 437d4a3aaf4Smrg 438d4a3aaf4Smrg Use __builtin_popcountl if available to replace Ones() in GetImage.c 439d4a3aaf4Smrg 440d4a3aaf4Smrg If the compiler knows of a better algorithm for counting the number of 441d4a3aaf4Smrg bits set in a word for the target CPU, let it use that, instead of the 442d4a3aaf4Smrg classic algorithm optimized for PDP-6. 443d4a3aaf4Smrg 444d4a3aaf4Smrg Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b 445d4a3aaf4Smrg 446d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 447d4a3aaf4Smrg 448d4a3aaf4Smrgcommit 1a9269a95c353e3de9f4d33bab9f1363d84e79db 449d4a3aaf4SmrgAuthor: Krzesimir Nowak <qdlacz@gmail.com> 450d4a3aaf4SmrgDate: Mon Jun 1 12:58:30 2020 +0000 451d4a3aaf4Smrg 452d4a3aaf4Smrg Fix leaking modifiers string. 453d4a3aaf4Smrg 454d4a3aaf4Smrg Reported by valgrind: 455d4a3aaf4Smrg 456d4a3aaf4Smrg ``` 457d4a3aaf4Smrg ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675 458d4a3aaf4Smrg ==118175== at 0x483A809: malloc (vg_replace_malloc.c:307) 459d4a3aaf4Smrg ==118175== by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0) 460d4a3aaf4Smrg ==118175== by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0) 461d4a3aaf4Smrg ==118175== by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324) 462d4a3aaf4Smrg ==118175== by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455) 463d4a3aaf4Smrg ==118175== by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532) 464d4a3aaf4Smrg ==118175== by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206) 465d4a3aaf4Smrg ==118175== by 0x402634: main (fade.cc:35) 466d4a3aaf4Smrg ``` 467d4a3aaf4Smrg 468d4a3aaf4Smrgcommit d127217f26df1bf7566c1f372d8b5329a06754ea 469d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 470d4a3aaf4SmrgDate: Sun Aug 16 17:03:24 2020 -0700 471d4a3aaf4Smrg 472d4a3aaf4Smrg Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings 473d4a3aaf4Smrg 474d4a3aaf4Smrg Gets rid of: 475d4a3aaf4Smrg src/xkb/XKBBind.c: In function ‘XLookupKeysym’: 476d4a3aaf4Smrg src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated 477d4a3aaf4Smrg [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations] 478d4a3aaf4Smrg 234 | return XKeycodeToKeysym(dpy, event->keycode, col); 479d4a3aaf4Smrg | ^~~~~~ 480d4a3aaf4Smrg src/xkb/XKBBind.c:96:1: note: declared here 481d4a3aaf4Smrg 96 | XKeycodeToKeysym(Display *dpy, 482d4a3aaf4Smrg | ^~~~~~~~~~~~~~~~ 483d4a3aaf4Smrg 484d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 485d4a3aaf4Smrg 486d4a3aaf4Smrgcommit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5 487d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 488d4a3aaf4SmrgDate: Sun Aug 16 16:50:43 2020 -0700 489d4a3aaf4Smrg 490d4a3aaf4Smrg lcUTF8: Increase string buffer size from 20 to 32 bytes 491d4a3aaf4Smrg 492d4a3aaf4Smrg While we don't expect large enough ints to need it, we don't 493d4a3aaf4Smrg enforce a maximum size, so gcc assumes the worst and warns: 494d4a3aaf4Smrg 495d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’: 496d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1736:34: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=] 497d4a3aaf4Smrg 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 498d4a3aaf4Smrg | ^~~~~~~~~~~~~ 499d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 500d4a3aaf4Smrg 1736 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 501d4a3aaf4Smrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 502d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 503d4a3aaf4Smrg 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 504d4a3aaf4Smrg | ^ 505d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 506d4a3aaf4Smrg 1739 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 507d4a3aaf4Smrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 508d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1754:41: warning: ‘.charset.name’ directive output may be truncated writing 13 bytes into a region of size between 8 and 17 [-Wformat-truncation=] 509d4a3aaf4Smrg 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 510d4a3aaf4Smrg | ^~~~~~~~~~~~~ 511d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20 512d4a3aaf4Smrg 1754 | snprintf(buf, sizeof(buf), "fs%d.charset.name", i); 513d4a3aaf4Smrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 514d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 515d4a3aaf4Smrg 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 516d4a3aaf4Smrg | ^ 517d4a3aaf4Smrg ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20 518d4a3aaf4Smrg 1757 | snprintf(buf, sizeof(buf), "fs%d.charset", i); 519d4a3aaf4Smrg | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 520d4a3aaf4Smrg 521d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 522d4a3aaf4Smrg 523d4a3aaf4Smrgcommit 54925250ad9c825bea671dcade5c913bad88abee 524d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 525d4a3aaf4SmrgDate: Sun Aug 16 16:33:59 2020 -0700 526d4a3aaf4Smrg 527d4a3aaf4Smrg i18n: use memcpy instead of strncpy on unterminated char arrays 528d4a3aaf4Smrg 529d4a3aaf4Smrg Avoids gcc warnings that we're using strncpy wrong to copy a known-length 530d4a3aaf4Smrg set of characters without a terminating '\0' to a buffer whose length we 531d4a3aaf4Smrg are checking separately. (Should also be imperceptibly faster since we 532d4a3aaf4Smrg no longer check if each byte is '\0' when we already know it won't be.) 533d4a3aaf4Smrg 534d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 535d4a3aaf4Smrg 536d4a3aaf4Smrgcommit 8754868dbbbc5fa096282df0504aa7880488eeb9 537d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 538d4a3aaf4SmrgDate: Sun Aug 16 16:02:01 2020 -0700 539d4a3aaf4Smrg 540d4a3aaf4Smrg Mark FreeBlueTblElements label unused in LRGB.c 541d4a3aaf4Smrg 542d4a3aaf4Smrg Quiets gcc 10.2 warning of: 543d4a3aaf4Smrg src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’: 544d4a3aaf4Smrg src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined 545d4a3aaf4Smrg but not used 546d4a3aaf4Smrg [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label] 547d4a3aaf4Smrg 798 | FreeBlueTblElements: 548d4a3aaf4Smrg | ^~~~~~~~~~~~~~~~~~~ 549d4a3aaf4Smrg 550d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 551d4a3aaf4Smrg 552d4a3aaf4Smrgcommit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e 553d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 554d4a3aaf4SmrgDate: Sun Aug 16 14:54:47 2020 -0700 555d4a3aaf4Smrg 556d4a3aaf4Smrg Raise minimum required xproto version to 7.0.25 (released 2013-11-23) 557d4a3aaf4Smrg 558d4a3aaf4Smrg Allows us to depend on _X_COLD directly instead of having to check for it. 559d4a3aaf4Smrg 560d4a3aaf4Smrg (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required 561d4a3aaf4Smrg already but not checked for.) 562d4a3aaf4Smrg 563d4a3aaf4Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 564d4a3aaf4Smrg 565d4a3aaf4Smrgcommit deafb99fd8faf8b044eaee13d072440ce4db76af 566d4a3aaf4SmrgAuthor: Maya Rashish <maya@NetBSD.org> 567d4a3aaf4SmrgDate: Sun Aug 23 21:19:33 2020 +0300 568d4a3aaf4Smrg 569d4a3aaf4Smrg Avoid the use of "register" keyword in public headers. 570d4a3aaf4Smrg 571d4a3aaf4Smrg This causes issues when compiling code for C++17. 572d4a3aaf4Smrg 573d7c63e31Smrgcommit 505420662577749e36640db48f6b6b9ae0236e09 574d7c63e31SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 575d7c63e31SmrgDate: Mon Aug 24 15:42:25 2020 +0200 576d7c63e31Smrg 577d7c63e31Smrg libX11 1.6.12 578d7c63e31Smrg 579d7c63e31Smrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 580d7c63e31Smrg 581d7c63e31Smrgcommit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d 582d7c63e31SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 583d7c63e31SmrgDate: Thu Aug 13 18:02:58 2020 +0200 584d7c63e31Smrg 585d7c63e31Smrg Fix an integer overflow in init_om() 586d7c63e31Smrg 587d7c63e31Smrg CVE-2020-14363 588d7c63e31Smrg 589d7c63e31Smrg This can lead to a double free later, as reported by Jayden Rivers. 590d7c63e31Smrg 591d7c63e31Smrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 592d7c63e31Smrg 593d7c63e31Smrgcommit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b 594d7c63e31SmrgAuthor: Niclas Zeising <zeising@daemonic.se> 595d7c63e31SmrgDate: Tue Aug 11 13:44:38 2020 +0200 596d7c63e31Smrg 597d7c63e31Smrg Fix input clients connecting to server 598d7c63e31Smrg 599d7c63e31Smrg Fix a bug where some input clients can't connect to the input server. 600d7c63e31Smrg This fixes #117. 601d7c63e31Smrg 602d7c63e31Smrg FreeBSD bugzilla reference: 603d7c63e31Smrg https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549 604d7c63e31Smrg 605d7c63e31Smrg Signed-off-by: Niclas Zeising <zeising@daemonic.se> 606d7c63e31Smrg 607d7c63e31Smrgcommit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c 608d7c63e31SmrgAuthor: Maya Rashish <maya@NetBSD.org> 609d7c63e31SmrgDate: Sat Aug 15 00:48:56 2020 +0300 610d7c63e31Smrg 611d7c63e31Smrg Avoid the use of "register" keyword in XkbTranslateKeySym. 612d7c63e31Smrg 613d7c63e31Smrg This causes issues when compiling code for C++17. 614d7c63e31Smrg While here, make function prototype match the header with regards 615d7c63e31Smrg to removal of another register keyword. 616d7c63e31Smrg 617d7c63e31Smrgcommit 780d222343098b4bfe3ec529b4a0dc2aadea19bf 618d7c63e31SmrgAuthor: Christopher Chavez <chrischavez@gmx.us> 619d7c63e31SmrgDate: Mon Aug 10 17:08:39 2020 +0000 620d7c63e31Smrg 621d7c63e31Smrg Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage 622d7c63e31Smrg 623d7c63e31Smrgcommit 29a8251a456bb7dc10146b4713f499a624d6dacd 624d7c63e31SmrgAuthor: Felix Yan <felixonmars@archlinux.org> 625d7c63e31SmrgDate: Thu Aug 6 16:03:38 2020 +0000 626d7c63e31Smrg 627d7c63e31Smrg Correct a typo in GetStCmap.c 628d7c63e31Smrg 629d7c63e31Smrgcommit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70 630d7c63e31SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 631d7c63e31SmrgDate: Thu Aug 6 08:07:57 2020 -0700 632d7c63e31Smrg 633d7c63e31Smrg libX11 1.6.11 634d7c63e31Smrg 635d7c63e31Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 636d7c63e31Smrg 637d7c63e31Smrgcommit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b 638d7c63e31SmrgAuthor: Yichao Yu <yyc1992@gmail.com> 639d7c63e31SmrgDate: Sun Aug 2 13:43:58 2020 -0400 640d7c63e31Smrg 641d7c63e31Smrg Fix size calculation in `_XimAttributeToValue`. 642d7c63e31Smrg 643d7c63e31Smrg The check here guards the read below. 644d7c63e31Smrg For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers` 645d7c63e31Smrg these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`. 646d7c63e31Smrg (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this 647d7c63e31Smrg function and doesn't need to be checked.) 648d7c63e31Smrg 649d7c63e31Smrg The old code here used the native datatype size instead of the wire protocol size causing 650d7c63e31Smrg the check to always fail. 651d7c63e31Smrg 652d7c63e31Smrg Also fix the size calculation for the header (size). It is 2 x CARD16 for both types 653d7c63e31Smrg despite the unused `CARD16` for `XimType_XIMStyles`. 654d7c63e31Smrg 655d7c63e31Smrg [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles 656d7c63e31Smrg 657d7c63e31Smrg This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10. 658d7c63e31Smrg 659d7c63e31Smrg Fix #116 660d7c63e31Smrg 6619c019ec5Smayacommit 9949364ea761ab7efa2a9930ec7718f966a740c0 6629c019ec5SmayaAuthor: Matthieu Herrb <matthieu@herrb.eu> 6639c019ec5SmayaDate: Thu Jul 30 21:36:22 2020 +0200 6649c019ec5Smaya 6659c019ec5Smaya libX11 1.6.10 6669c019ec5Smaya 6679c019ec5Smaya Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 6689c019ec5Smaya 6699c019ec5Smayacommit 1703b9f3435079d3c6021e1ee2ec34fd4978103d 6709c019ec5SmayaAuthor: Matthieu Herrb <matthieu@herrb.eu> 6719c019ec5SmayaDate: Fri Jul 24 21:09:10 2020 +0200 6729c019ec5Smaya 6739c019ec5Smaya Change the data_len parameter of _XimAttributeToValue() to CARD16 6749c019ec5Smaya 6759c019ec5Smaya It's coming from a length in the protocol (unsigned) and passed 6769c019ec5Smaya to functions that expect unsigned int parameters (_XCopyToArg() 6779c019ec5Smaya and memcpy()). 6789c019ec5Smaya 6799c019ec5Smaya Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 6809c019ec5Smaya Reviewed-by: Todd Carson <toc@daybefore.net> 6819c019ec5Smaya 6829c019ec5Smayacommit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2 6839c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net> 6849c019ec5SmayaDate: Fri Jul 24 20:59:32 2020 +0200 6859c019ec5Smaya 6869c019ec5Smaya Zero out buffers in functions 6879c019ec5Smaya 6889c019ec5Smaya It looks like uninitialized stack or heap memory can leak 6899c019ec5Smaya out via padding bytes. 6909c019ec5Smaya 6919c019ec5Smaya Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 6929c019ec5Smaya Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 6939c019ec5Smaya 6949c019ec5Smayacommit 2fcfcc49f3b1be854bb9085993a01d17c62acf60 6959c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net> 6969c019ec5SmayaDate: Fri Jul 24 20:22:44 2020 +0200 6979c019ec5Smaya 6989c019ec5Smaya Fix more unchecked lengths 6999c019ec5Smaya 7009c019ec5Smaya Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 7019c019ec5Smaya Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7029c019ec5Smaya 7039c019ec5Smayacommit 388b303c62aa35a245f1704211a023440ad2c488 7049c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net> 7059c019ec5SmayaDate: Fri Jul 24 19:36:51 2020 +0200 7069c019ec5Smaya 7079c019ec5Smaya fix integer overflows in _XimAttributeToValue() 7089c019ec5Smaya 7099c019ec5Smaya Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 7109c019ec5Smaya Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7119c019ec5Smaya 7129c019ec5Smayacommit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e 7139c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net> 7149c019ec5SmayaDate: Fri Jul 24 19:33:30 2020 +0200 7159c019ec5Smaya 7169c019ec5Smaya Fix signed length values in _XimGetAttributeID() 7179c019ec5Smaya 7189c019ec5Smaya The lengths are unsigned according to the specification. Passing 7199c019ec5Smaya negative values can lead to data corruption. 7209c019ec5Smaya 7219c019ec5Smaya Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 7229c019ec5Smaya Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7239c019ec5Smaya 7249c019ec5Smayacommit 2b7598221d87049d03e9a95fcb541c37c8728184 7259c019ec5SmayaAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7269c019ec5SmayaDate: Wed Jul 22 15:19:58 2020 -0700 7279c019ec5Smaya 7289c019ec5Smaya Fix spelling/wording issues 7299c019ec5Smaya 7309c019ec5Smaya Found by using: 7319c019ec5Smaya codespell --builtin clear,rare,usage,informal,code,names 7329c019ec5Smaya 7339c019ec5Smaya Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7349c019ec5Smaya 7359c019ec5Smayacommit f9e3378ebcfc79ff00591b8617a68e97580a741e 7369c019ec5SmayaAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 7379c019ec5SmayaDate: Sun Jul 19 22:19:24 2020 +0200 7389c019ec5Smaya 7399c019ec5Smaya xlibi18n: Fix converting horizline keysyms to UCS 7409c019ec5Smaya 7419c019ec5Smaya U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is 7429c019ec5Smaya unified with scan line 5. 7439c019ec5Smaya 7449c019ec5Smaya Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 7459c019ec5Smaya 7469c019ec5Smayacommit 4385a84c4a79c1b60bf12839899a1544198de975 7479c019ec5SmayaAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 7489c019ec5SmayaDate: Thu Jun 4 02:19:13 2020 +0200 7499c019ec5Smaya 7509c019ec5Smaya Braille: Fix default lookup 7519c019ec5Smaya 7529c019ec5Smaya cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that 7539c019ec5Smaya translates Braille keysym patterns to Braille Unicode patterns since it 7549c019ec5Smaya rightfully clears brl_committing, but then we do not have it any more to 7559c019ec5Smaya fill brl_committed. 7569c019ec5Smaya 7579c019ec5Smaya This change saves the committed pattern so we can return it in the 7589c019ec5Smaya default lookup. 7599c019ec5Smaya 7609c019ec5Smaya Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 7619c019ec5Smaya 7629c019ec5Smayacommit fb65b67169105c82c243f265e0f993cf72efdacd 7639c019ec5SmayaAuthor: Marko Myllynen <myllynen@redhat.com> 7649c019ec5SmayaDate: Fri Feb 28 13:59:36 2020 +0200 7659c019ec5Smaya 7669c019ec5Smaya Update Finnish compose sequences for SFS 5966:2019 standard 7679c019ec5Smaya 7689c019ec5Smaya U0219, U0218, U021B, U021A are now part of the standard. 7699c019ec5Smaya 7709c019ec5Smaya Fixes #70 which was printed incorrectly in the earlier standard version. 7719c019ec5Smaya 7729c019ec5Smayacommit 07724ce046348a21cc82a874853b14b9a285df75 7739c019ec5SmayaAuthor: Tristan Miller <psychonaut@nothingisreal.com> 7749c019ec5SmayaDate: Wed Sep 25 13:34:01 2019 +0200 7759c019ec5Smaya 7769c019ec5Smaya Add acute accent compose sequences for Russian vowels. 7779c019ec5Smaya 7789c019ec5Smaya Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104 7799c019ec5Smaya 7809c019ec5Smaya Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com> 7819c019ec5Smaya 7829c019ec5Smayacommit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507 7839c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net> 7849c019ec5SmayaDate: Sat Apr 25 14:40:54 2020 -0400 7859c019ec5Smaya 7869c019ec5Smaya document an ancient performance problem (see Debian #954845). 7879c019ec5Smaya 7889c019ec5Smaya Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 7899c019ec5Smaya 7909c019ec5Smayacommit 791c93816ce0520d54925b0b3ccbc29823370041 7919c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net> 7929c019ec5SmayaDate: Sat Apr 25 14:22:11 2020 -0400 7939c019ec5Smaya 7949c019ec5Smaya update/correct function prototypes in manpages to match headers 7959c019ec5Smaya 7969c019ec5Smaya Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 7979c019ec5Smaya 7989c019ec5Smayacommit 844271305a28e87031562dfeb43defbea02960a2 7999c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net> 8009c019ec5SmayaDate: Tue Apr 21 20:53:35 2020 -0400 8019c019ec5Smaya 8029c019ec5Smaya reduce gcc-normal warnings using casts (no object change) 8039c019ec5Smaya 8049c019ec5Smaya Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 8059c019ec5Smaya 8069c019ec5Smayacommit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca 8079c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net> 8089c019ec5SmayaDate: Tue Apr 21 18:13:22 2020 -0400 8099c019ec5Smaya 8109c019ec5Smaya reduce gcc-normal warnings using casts (no object change) 8119c019ec5Smaya 8129c019ec5Smaya Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 8139c019ec5Smaya 8149c019ec5Smayacommit 68c72a7341b114277ab232f2499ee3bd035af8a0 8159c019ec5SmayaAuthor: Adam Jackson <ajax@redhat.com> 8169c019ec5SmayaDate: Wed Dec 11 11:53:11 2019 -0500 8179c019ec5Smaya 8189c019ec5Smaya Fix XTS regression in XCopyColormapAndFree 8199c019ec5Smaya 8209c019ec5Smaya XCopyColormapAndFree/5 threw an assertion: 8219c019ec5Smaya 8229c019ec5Smaya 520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A) 8239c019ec5Smaya 520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap, 8249c019ec5Smaya 520|4 5 00014017 1 4|then a BadColor error occurs. 8259c019ec5Smaya 520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap. 8269c019ec5Smaya 520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument. 8279c019ec5Smaya 520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs. 8289c019ec5Smaya 520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received 8299c019ec5Smaya 220|4 5 2 15:05:53|UNRESOLVED 8309c019ec5Smaya 410|4 5 1 15:05:53|IC End 8319c019ec5Smaya 510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV) 8329c019ec5Smaya 8339c019ec5Smaya More specifically: 8349c019ec5Smaya 8359c019ec5Smaya lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed. 8369c019ec5Smaya 8379c019ec5Smaya This bug was introduced (by following my advice, d'oh) in: 8389c019ec5Smaya 8399c019ec5Smaya commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 8409c019ec5Smaya Author: Tapani Pälli <tapani.palli@intel.com> 8419c019ec5Smaya Date: Mon May 13 08:29:49 2019 +0300 8429c019ec5Smaya 8439c019ec5Smaya Protect colormap add/removal with display lock 8449c019ec5Smaya 8459c019ec5Smaya In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the 8469c019ec5Smaya display lock. The problem is said routine has side effects, including 8479c019ec5Smaya trying to implicitly create a colormap in some cases. Since we don't run 8489c019ec5Smaya the XID handler until SyncHandle() we would see inconsistent internal 8499c019ec5Smaya xlib state, triggering the above assert. 8509c019ec5Smaya 8519c019ec5Smaya Fix this by dropping and re-taking the display lock before calling into 8529c019ec5Smaya XCMS. 8539c019ec5Smaya 8549c019ec5Smaya Reviewed-by: Tapani Pälli <tapani.palli@intel.com> 8559c019ec5Smaya 8569c019ec5Smayacommit 7f46a38139f66fda734f3a6c445b84ea89c8f310 8579c019ec5SmayaAuthor: Alex Henrie <alexhenrie24@gmail.com> 8589c019ec5SmayaDate: Wed Jan 1 14:54:06 2020 -0700 8599c019ec5Smaya 8609c019ec5Smaya Handle small final sigma in XConvertCase 8619c019ec5Smaya 8629c019ec5Smaya lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2) 8639c019ec5Smaya uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3) 8649c019ec5Smaya 8659c019ec5Smaya This mapping was correct in UCSConvertCase, but the "legacy" mapping 8669c019ec5Smaya must also be correct for Caps Lock to work with the final sigma key. 8679c019ec5Smaya 8689c019ec5Smaya https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5 8699c019ec5Smaya 8709c019ec5Smaya Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> 8719c019ec5Smaya 8729c019ec5Smayacommit a48787d3d155c8a09cead345f5055da30c1db537 8739c019ec5SmayaAuthor: Peter Hutterer <peter.hutterer@who-t.net> 8749c019ec5SmayaDate: Wed Dec 11 14:12:27 2019 +1000 8759c019ec5Smaya 8769c019ec5Smaya Handle ssharp in XConvertCase() 8779c019ec5Smaya 8789c019ec5Smaya lowercase: LATIN SMALL LETTER SHARP S (U+00DF) 8799c019ec5Smaya uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E) 8809c019ec5Smaya 8819c019ec5Smaya The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode 8829c019ec5Smaya but was added to the relevant keyboard layouts in xkeyboard-config-2.25 8839c019ec5Smaya (d1411e5e95c) 8849c019ec5Smaya https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144 8859c019ec5Smaya 8869c019ec5Smaya Alas, the CapsLock behavior was broken on the finnish layout (maybe others). 8879c019ec5Smaya This was due to xkbcomp using XConvertCase() to determine whether a key 8889c019ec5Smaya requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC. 8899c019ec5Smaya 8909c019ec5Smaya Let's make this function return the right lower/upper symbols for the sharp s 8919c019ec5Smaya and hope that the world won't get any worse because of it. 8929c019ec5Smaya 8939c019ec5Smaya https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110 8949c019ec5Smaya 8959c019ec5Smaya Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 8969c019ec5Smaya 8979c019ec5Smayacommit b8766a438461e20b5c6f7a6111b703d4cb71501f 8989c019ec5SmayaAuthor: Raul Fernandes <rgfernandes@gmail.com> 8999c019ec5SmayaDate: Wed Oct 9 18:39:26 2019 +0000 9009c019ec5Smaya 9019c019ec5Smaya Use memcmp and memcpy 9029c019ec5Smaya 9035afda2e6Smrgcommit db7cca17ad7807e92a928da9d4c68a00f4836da2 9045afda2e6SmrgAuthor: Adam Jackson <ajax@redhat.com> 9055afda2e6SmrgDate: Wed Oct 9 13:41:29 2019 -0400 9065afda2e6Smrg 9075afda2e6Smrg libX11 1.6.9 9085afda2e6Smrg 9095afda2e6Smrg Signed-off-by: Adam Jackson <ajax@redhat.com> 9105afda2e6Smrg 9115afda2e6Smrgcommit f5ba2c632a4c84279bdd48c687271292f5dc4f87 9125afda2e6SmrgAuthor: Dmitry Osipenko <digetx@gmail.com> 9135afda2e6SmrgDate: Sat May 18 19:10:32 2019 +0300 9145afda2e6Smrg 9155afda2e6Smrg Fix lockup in _XReply() caused by recursive synchronization 9165afda2e6Smrg 9175afda2e6Smrg This patch is based on a suggestion made by Uli Schlachter in a comment 9185afda2e6Smrg to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93. 9195afda2e6Smrg 9205afda2e6Smrg Explanation of the bug (given by Uli Schlachter as well): 9215afda2e6Smrg 9225afda2e6Smrg An error was received and handled. Since there was an error callback set, 9235afda2e6Smrg Xlib unlocks the display, runs the error callback, and then locks the display 9245afda2e6Smrg again. This goes through _XLockDisplay and then calls _XSeqSyncFunction. 9255afda2e6Smrg On this "lock the thing"-path, Xlib notices that sequence numbers are close to 9265afda2e6Smrg wrap-around and tries to send a GetInputFocus request. However, the earlier 9275afda2e6Smrg calls already registered themselves as "we are handling replies/errors, do 9285afda2e6Smrg not interfere!" and so the code here waits for "that other thread" to be done 9295afda2e6Smrg before it continues. Only that there is no other thread, but it is this thread 9305afda2e6Smrg itself and thus a deadlock follows. 9315afda2e6Smrg 9325afda2e6Smrg The bug is relatively easy to reproduce on any desktop environment by 9335afda2e6Smrg using actively a touchscreen input that supports multitouch, i.e. practically 9345afda2e6Smrg all mobile devices are affected. 9355afda2e6Smrg 9365afda2e6Smrg Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93 9375afda2e6Smrg Suggested-by: Uli Schlachter <psychon@znc.in> 9385afda2e6Smrg Tested-by: Dmitry Osipenko <digetx@gmail.com> 9395afda2e6Smrg Reported-by: Dmitry Osipenko <digetx@gmail.com> 9405afda2e6Smrg Signed-off-by: Dmitry Osipenko <digetx@gmail.com> 9415afda2e6Smrg 9425afda2e6Smrgcommit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905 9435afda2e6SmrgAuthor: Adam Jackson <ajax@redhat.com> 9445afda2e6SmrgDate: Fri Sep 13 16:44:32 2019 -0400 9455afda2e6Smrg 9465afda2e6Smrg xkb: Provide <X11/extensions/XKBgeom.h> ourselves 9475afda2e6Smrg 9485afda2e6Smrg This header refers to libX11 types, it doesn't belong in xorgproto and 9495afda2e6Smrg has been moved to legacy in 2019.2. Supply it ourselves. 9505afda2e6Smrg 9515afda2e6Smrgcommit edc7680ed5a03cedb5facf14693823455e12c29c 9525afda2e6SmrgAuthor: Ross Burton <ross.burton@intel.com> 9535afda2e6SmrgDate: Tue Aug 6 14:53:43 2019 +0100 9545afda2e6Smrg 9555afda2e6Smrg src/util/Makefile: explicitly reset LINK to not use libtool 9565afda2e6Smrg 9575afda2e6Smrg Simply looking at libtool redefines LINK globally to use libtool, which when 9585afda2e6Smrg you're trying to cross-compile to Windows can cause complications. 9595afda2e6Smrg 9605afda2e6Smrg As in src/util/ we're simply building a small binary for the build host, reset 9615afda2e6Smrg LINK to the automake default so that the traditional compile/link steps occur 9625afda2e6Smrg without libtool. 9635afda2e6Smrg 9645afda2e6Smrg Also remove -all-static from LDFLAGS as that is a libtool-specific argument 9655afda2e6Smrg intended to solve this problem. 9665afda2e6Smrg 9675afda2e6Smrg Closes: #100 9685afda2e6Smrg Signed-off-by: Ross Burton <ross.burton@intel.com> 9695afda2e6Smrg 9705afda2e6Smrgcommit f111bf3ac091a3a6d1f094172621d9d033c3833c 9715afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net> 9725afda2e6SmrgDate: Tue Jul 30 16:53:27 2019 -0400 9735afda2e6Smrg 9745afda2e6Smrg improve some formatting 9755afda2e6Smrg 9765afda2e6Smrg Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 9775afda2e6Smrg 9785afda2e6Smrgcommit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9 9795afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net> 9805afda2e6SmrgDate: Tue Jul 30 15:49:09 2019 -0400 9815afda2e6Smrg 9825afda2e6Smrg fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/" 9835afda2e6Smrg 9845afda2e6Smrg Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 9855afda2e6Smrg 9865afda2e6Smrgcommit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98 9875afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net> 9885afda2e6SmrgDate: Tue Jul 30 05:07:40 2019 -0400 9895afda2e6Smrg 9905afda2e6Smrg split lines at sentence endings 9915afda2e6Smrg 9925afda2e6Smrg Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 9935afda2e6Smrg 9945afda2e6Smrgcommit 6f2cbcea5d6dcd1df7ef309481cad1663284c061 9955afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net> 9965afda2e6SmrgDate: Tue Jul 30 04:52:25 2019 -0400 9975afda2e6Smrg 9985afda2e6Smrg trim trailing whitespace from manpages 9995afda2e6Smrg 10005afda2e6Smrg Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 10015afda2e6Smrg 10025afda2e6Smrgcommit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5 10035afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net> 10045afda2e6SmrgDate: Tue Jul 30 04:36:24 2019 -0400 10055afda2e6Smrg 10065afda2e6Smrg another fake-quote fix 10075afda2e6Smrg 10085afda2e6Smrg Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 10095afda2e6Smrg 10105afda2e6Smrgcommit c0f0651f2b4dfa9fef86d1374689220125631993 10115afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net> 10125afda2e6SmrgDate: Tue Jul 30 04:34:54 2019 -0400 10135afda2e6Smrg 10145afda2e6Smrg the last commit overlooked some fake-quote pairs 10155afda2e6Smrg 10165afda2e6Smrg Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net> 10175afda2e6Smrg 10185afda2e6Smrgcommit ef31143c9decda54b3ab2937d3300fcf5b493fd6 10195afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10205afda2e6SmrgDate: Mon Jul 29 18:50:19 2019 +0200 10215afda2e6Smrg 10225afda2e6Smrg fix ``fake quotes'' in text 10235afda2e6Smrg 10245afda2e6Smrg to remove the fake quotes replace them with propper 10255afda2e6Smrg predefined macros \*(lq and \*(rq. this will allow 10265afda2e6Smrg nroff to choose the propper characters when using ps etc. 10275afda2e6Smrg 10285afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 10295afda2e6Smrg 10305afda2e6Smrgcommit 705027ea9b17d6552388d2067736ab4b0bf9dfb5 10315afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10325afda2e6SmrgDate: Mon Jul 29 18:27:12 2019 +0200 10335afda2e6Smrg 10345afda2e6Smrg get rid of ``fake quotes'' 10355afda2e6Smrg 10365afda2e6Smrg these fake quotes are inside a comment and can be replaced with 10375afda2e6Smrg some double quotes 10385afda2e6Smrg 10395afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 10405afda2e6Smrg 10415afda2e6Smrgcommit fe46eb287106ad05538e896783a5cf877a4138df 10425afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10435afda2e6SmrgDate: Mon Jul 29 17:57:02 2019 +0200 10445afda2e6Smrg 10455afda2e6Smrg remove all private macro defines 10465afda2e6Smrg 10475afda2e6Smrg after converting everything to st. man page macros there is 10485afda2e6Smrg no need to maintain X11 private nroff macros, so remove them. 10495afda2e6Smrg 10505afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 10515afda2e6Smrg 10525afda2e6Smrgcommit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764 10535afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10545afda2e6SmrgDate: Mon Jul 29 17:47:35 2019 +0200 10555afda2e6Smrg 10565afda2e6Smrg Replace home-grown .Ds .De macro with man page .EX/.EE macro 10575afda2e6Smrg 10585afda2e6Smrg Same pages use the man page .EX/.EE macro. Replace all occurences 10595afda2e6Smrg of .De/.Ds with the std. macros to make the code better to maintain. 10605afda2e6Smrg 10615afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 10625afda2e6Smrg 10635afda2e6Smrgcommit 951e772bc8d89bc62c4bbac14adc5d4f5027419f 10645afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10655afda2e6SmrgDate: Wed Jul 3 18:23:51 2019 +0200 10665afda2e6Smrg 10675afda2e6Smrg fix TBL format 10685afda2e6Smrg 10695afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 10705afda2e6Smrg 10715afda2e6Smrgcommit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e 10725afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10735afda2e6SmrgDate: Wed Jul 3 18:18:09 2019 +0200 10745afda2e6Smrg 10755afda2e6Smrg replace home grown .ZN with std, .B and .BR 10765afda2e6Smrg 10775afda2e6Smrg Replace the home grown macro .ZN with std. macros 10785afda2e6Smrg from man macro paket. So we can get rid of the 10795afda2e6Smrg definition an get a clean header. 10805afda2e6Smrg 10815afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 10825afda2e6Smrg 10835afda2e6Smrgcommit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458 10845afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10855afda2e6SmrgDate: Sat Jun 22 18:33:48 2019 +0200 10865afda2e6Smrg 10875afda2e6Smrg remove in-text macros 10885afda2e6Smrg 10895afda2e6Smrg remove in-text macros an fix a few typos on the way. 10905afda2e6Smrg hopefuly that will make maintenance more easy. 10915afda2e6Smrg 10925afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 10935afda2e6Smrg 10945afda2e6Smrgcommit cb0e894fe9927b07bd9d97c067fd0d007accb105 10955afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de> 10965afda2e6SmrgDate: Fri Jun 21 18:01:16 2019 +0200 10975afda2e6Smrg 10985afda2e6Smrg note that we can handle kbd==NULL 10995afda2e6Smrg 11005afda2e6Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 11015afda2e6Smrg 11025afda2e6Smrgcommit 0327c427d62f671eced067c6d9b69f4e216a8cac 11035afda2e6SmrgAuthor: Adam Jackson <ajax@redhat.com> 11045afda2e6SmrgDate: Mon Jun 17 13:36:08 2019 -0400 11055afda2e6Smrg 11065afda2e6Smrg makekeys: Detach ourselves from X headers entirely 11075afda2e6Smrg 11085afda2e6Smrg Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer 11095afda2e6Smrg building makekeys with enough -I/foo/bar to find the X11 headers, so if 11105afda2e6Smrg they're not in a system include path, things fail. Since this utility is 11115afda2e6Smrg only needed at build time, there's no real reason to demand the X 11125afda2e6Smrg headers be installed for both the build and target machines if cross- 11135afda2e6Smrg compiling, we can just assume a vaguely ANSI environment instead. 11145afda2e6Smrg 11155afda2e6Smrg Tested-by: Niclas Zeising <zeising@daemonic.se> 11165afda2e6Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 11175afda2e6Smrg Reviewed-by: Matt Turner <mattst88@gmail.com> 11185afda2e6Smrg 1119258a0ebeSmrgcommit 57f0d421a1320090d3a4948181fe228d86cc8977 1120258a0ebeSmrgAuthor: Matt Turner <mattst88@gmail.com> 1121258a0ebeSmrgDate: Mon Jun 17 10:45:45 2019 -0400 1122258a0ebeSmrg 1123258a0ebeSmrg libX11 1.6.8 1124258a0ebeSmrg 1125258a0ebeSmrg Signed-off-by: Matt Turner <mattst88@gmail.com> 1126258a0ebeSmrg 1127258a0ebeSmrgcommit 5464b302bc0c4a055d3eac06c6ab15e209ff7668 1128258a0ebeSmrgAuthor: Matt Turner <mattst88@gmail.com> 1129258a0ebeSmrgDate: Sun Jun 9 14:00:15 2019 -0700 1130258a0ebeSmrg 1131258a0ebeSmrg Use AC_SYS_LARGEFILE 1132258a0ebeSmrg 1133258a0ebeSmrg ... and include config.h in makekeys.c to get the definition of 1134258a0ebeSmrg _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file 1135258a0ebeSmrg system with 64-bit inode numbers. 1136258a0ebeSmrg 1137258a0ebeSmrg Bug: https://bugs.gentoo.org/550502 1138258a0ebeSmrg Bug: https://bugs.gentoo.org/616140 1139258a0ebeSmrg Signed-off-by: Matt Turner <mattst88@gmail.com> 1140258a0ebeSmrg 1141258a0ebeSmrgcommit 33b9148a833ab2ea46e44871da3c031bf1b78f77 1142258a0ebeSmrgAuthor: Ran Benita <ran234@gmail.com> 1143258a0ebeSmrgDate: Thu Feb 13 20:55:08 2014 +0200 1144258a0ebeSmrg 1145258a0ebeSmrg Compose.man: fix escaped hexadecimal char description 1146258a0ebeSmrg 1147258a0ebeSmrg The man page says: 1148258a0ebeSmrg Strings may be direct text encoded in the locale for which the 1149258a0ebeSmrg compose file is to be used, or an escaped octal or hexadecimal 1150258a0ebeSmrg character code. Octal codes are specified as "\123" and 1151258a0ebeSmrg hexadecimal codes as "\0x123a". 1152258a0ebeSmrg 1153258a0ebeSmrg But the grammar in the parser and the implementation say: 1154258a0ebeSmrg ESCAPED_CHAR ::= ('\\' | '\"' | OCTAL | HEX ) 1155258a0ebeSmrg HEX ::= '\' (x|X) HEX_CHAR [HEX_CHAR]] 1156258a0ebeSmrg HEX_CHAR ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f) 1157258a0ebeSmrg 1158258a0ebeSmrg So "\0x123a" -> "\x3a". 1159258a0ebeSmrg 1160258a0ebeSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 1161258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1162258a0ebeSmrg 1163258a0ebeSmrgcommit d9b2cc35edf01e4f751a9ccb5ac185745184cec0 1164258a0ebeSmrgAuthor: ojab <ojab@ojab.ru> 1165258a0ebeSmrgDate: Mon Apr 24 20:12:17 2017 +0000 1166258a0ebeSmrg 1167258a0ebeSmrg Compose sequences for rouble sign 1168258a0ebeSmrg 1169258a0ebeSmrg Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 1170258a0ebeSmrg 1171258a0ebeSmrg Signed-off-by: Slava Kardakov <ojab@ojab.ru> 1172258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1173258a0ebeSmrg 1174258a0ebeSmrgcommit 3f211616f6414bd9958566c0ca137e87a2b6df95 1175258a0ebeSmrgAuthor: Pavel Labath <pavelo@centrum.sk> 1176258a0ebeSmrgDate: Fri Nov 30 20:45:04 2012 +0100 1177258a0ebeSmrg 1178258a0ebeSmrg Fix a leak in XCreateFontSet 1179258a0ebeSmrg 1180258a0ebeSmrg a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks, 1181258a0ebeSmrg as evidenced by the following valgrind output: 1182258a0ebeSmrg ==983== HEAP SUMMARY: 1183258a0ebeSmrg ==983== in use at exit: 39,409 bytes in 341 blocks 1184258a0ebeSmrg ==983== total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated 1185258a0ebeSmrg ==983== 1186258a0ebeSmrg ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record 1187258a0ebeSmrg 40 of 46 1188258a0ebeSmrg ==983== at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) 1189258a0ebeSmrg ==983== by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0) 1190258a0ebeSmrg ==983== by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0) 1191258a0ebeSmrg ==983== by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0) 1192258a0ebeSmrg ==983== by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0) 1193258a0ebeSmrg ==983== by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0) 1194258a0ebeSmrg ==983== by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0) 1195258a0ebeSmrg ==983== by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0) 1196258a0ebeSmrg ==983== by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0) 1197258a0ebeSmrg ==983== by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746) 1198258a0ebeSmrg ==983== by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602) 1199258a0ebeSmrg ==983== by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92) 1200258a0ebeSmrg ==983== 1201258a0ebeSmrg ==983== LEAK SUMMARY: 1202258a0ebeSmrg ==983== definitely lost: 136 bytes in 1 blocks 1203258a0ebeSmrg ==983== indirectly lost: 1,552 bytes in 34 blocks 1204258a0ebeSmrg ==983== possibly lost: 0 bytes in 0 blocks 1205258a0ebeSmrg ==983== still reachable: 37,721 bytes in 306 blocks 1206258a0ebeSmrg ==983== suppressed: 0 bytes in 0 blocks 1207258a0ebeSmrg 1208258a0ebeSmrg This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still 1209258a0ebeSmrg reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is 1210258a0ebeSmrg destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using 1211258a0ebeSmrg code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the 1212258a0ebeSmrg correct code path, and I'm pretty sure this is correct (the object was constructed using 1213258a0ebeSmrg _XlcCreateLC, it make sense to destroy it using its conterpart). 1214258a0ebeSmrg 1215258a0ebeSmrg So far I haven't observed any strange behaviour on my system caused by this change (although, I'm 1216258a0ebeSmrg not sure, how many programs actually use this function). 1217258a0ebeSmrg 1218258a0ebeSmrg Signed-off-by: Pavel Labath <pavelo@centrum.sk> 1219258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1220258a0ebeSmrg 1221258a0ebeSmrgcommit 4645e219133458781e3fb48eaea6a74cccb1b9aa 1222258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk> 1223258a0ebeSmrgDate: Tue Apr 30 14:39:06 2019 +0100 1224258a0ebeSmrg 1225258a0ebeSmrg Avoid using libtool wrapper for makekeys 1226258a0ebeSmrg 1227258a0ebeSmrg For Windows targets, libtool uses a wrapper executable, not a wrapper 1228258a0ebeSmrg script (see [1]), which it compiles with the host compiler. This 1229258a0ebeSmrg doesn't work when cross-compiling. 1230258a0ebeSmrg 1231258a0ebeSmrg Since we don't actually need to link with anything, use the libtool flag 1232258a0ebeSmrg -all-static to tell it to stay completely out of this. 1233258a0ebeSmrg 1234258a0ebeSmrg [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html 1235258a0ebeSmrg 1236258a0ebeSmrgcommit 6886d9ba06826785a8ccb312c04ea82b91bb6a25 1237258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk> 1238258a0ebeSmrgDate: Wed Apr 24 12:50:41 2019 +0100 1239258a0ebeSmrg 1240258a0ebeSmrg Use EXEEXT_FOR_BUILD for makekeys 1241258a0ebeSmrg 1242258a0ebeSmrg Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from 1243258a0ebeSmrg EXEEXT_FOR_BUILD, such as when building for Windows from unix. 1244258a0ebeSmrg 1245258a0ebeSmrg (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when 1246258a0ebeSmrg cross-compiling. There could be some elaborate autodetection for 1247258a0ebeSmrg EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from 1248258a0ebeSmrg Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...) 1249258a0ebeSmrg 1250258a0ebeSmrgcommit a121b7b0c210efe10bf93453b29050282324c906 1251258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk> 1252258a0ebeSmrgDate: Tue Apr 30 14:30:41 2019 +0100 1253258a0ebeSmrg 1254258a0ebeSmrg Remove makekeys dependency on X headers 1255258a0ebeSmrg 1256258a0ebeSmrg This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669 1257258a0ebeSmrg by Pierre Ossman, reworked for master. 1258258a0ebeSmrg 1259258a0ebeSmrg Avoid using LIBS (which are for host, but we don't need) and rewrite 1260258a0ebeSmrg makekeys slightly to avoid needing to include any X headers, which 1261258a0ebeSmrg avoids potentially having -I with host paths in CFLAGS, which can cause 1262258a0ebeSmrg standard headers e.g. stdio.h for the host to also be used, which can 1263258a0ebeSmrg break things... 1264258a0ebeSmrg 1265258a0ebeSmrgcommit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab 1266258a0ebeSmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 1267258a0ebeSmrgDate: Fri Jun 7 23:35:33 2019 +0200 1268258a0ebeSmrg 1269258a0ebeSmrg Braille: Fix typing quickly 1270258a0ebeSmrg 1271258a0ebeSmrg On finishing releasing Braille keys, we should clear the just-commited 1272258a0ebeSmrg pattern, to reset the state to initial state, and avoid having to wait for 1273258a0ebeSmrg 0.3s before typing the next pattern. 1274258a0ebeSmrg 1275258a0ebeSmrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 1276258a0ebeSmrg Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr> 1277258a0ebeSmrg 1278258a0ebeSmrgcommit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d 1279258a0ebeSmrgAuthor: Tapani Pälli <tapani.palli@intel.com> 1280258a0ebeSmrgDate: Mon May 13 08:29:49 2019 +0300 1281258a0ebeSmrg 1282258a0ebeSmrg Protect colormap add/removal with display lock 1283258a0ebeSmrg 1284258a0ebeSmrg This fixes a bug where concurrent threads call XCreateColormap and 1285258a0ebeSmrg XFreeColormap corrupting a linked list where colormap structures 1286258a0ebeSmrg are stored. 1287258a0ebeSmrg 1288258a0ebeSmrg Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94 1289258a0ebeSmrg 1290258a0ebeSmrg v2: handle XCopyColormapAndFree also (Adam Jackson) 1291258a0ebeSmrg 1292258a0ebeSmrg Signed-off-by: Tapani Pälli <tapani.palli@intel.com> 1293258a0ebeSmrg 1294258a0ebeSmrgcommit fea80d03c381a4de379863c0d41f6d4c00f15e1e 1295258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk> 1296258a0ebeSmrgDate: Wed Mar 13 13:12:20 2019 +0000 1297258a0ebeSmrg 1298258a0ebeSmrg Add autoconf checks for headers we include for FIONREAD 1299258a0ebeSmrg 1300258a0ebeSmrg Add autoconf checks for the extra headers we include to define FIONREAD. 1301258a0ebeSmrg This needs sys/socket.h on Cygwin, and none of the alternatives on 1302258a0ebeSmrg Windows. 1303258a0ebeSmrg 1304258a0ebeSmrgcommit 87c77a1e6d7034536e9d25ce24a667ebf53486a7 1305258a0ebeSmrgAuthor: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 1306258a0ebeSmrgDate: Mon Mar 11 14:19:52 2019 +0000 1307258a0ebeSmrg 1308258a0ebeSmrg locale.alias.pre - add the de_IT locale 1309258a0ebeSmrg 1310258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1311258a0ebeSmrg 1312258a0ebeSmrgcommit 568f77f414072506bbe48646637c872987c97e63 1313258a0ebeSmrgAuthor: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 1314258a0ebeSmrgDate: Mon Mar 11 14:17:10 2019 +0000 1315258a0ebeSmrg 1316258a0ebeSmrg locale.dir.pre - add the de_IT locale 1317258a0ebeSmrg 1318258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1319258a0ebeSmrg 1320258a0ebeSmrgcommit 38c0c92feaef7dc4a72920b1dd79872e6578086c 1321258a0ebeSmrgAuthor: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 1322258a0ebeSmrgDate: Mon Mar 11 14:12:07 2019 +0000 1323258a0ebeSmrg 1324258a0ebeSmrg compose.dir.pre - add de_IT locale 1325258a0ebeSmrg 1326258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1327258a0ebeSmrg 1328258a0ebeSmrgcommit 49f835611ba6ab82e68b7b851507931c142db7a5 1329258a0ebeSmrgAuthor: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 1330258a0ebeSmrgDate: Tue Jan 29 15:34:34 2019 +0000 1331258a0ebeSmrg 1332258a0ebeSmrg Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH) 1333258a0ebeSmrg 1334258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1335258a0ebeSmrg 1336258a0ebeSmrgcommit ed669234d0cd5933618aa5fd2da697b59845b9be 1337258a0ebeSmrgAuthor: Matthias Dieter Wallnöfer <matthias.wallnoefer@lugbz.org> 1338258a0ebeSmrgDate: Tue Jan 29 15:28:18 2019 +0000 1339258a0ebeSmrg 1340258a0ebeSmrg locale.dir.pre - fix the de_LI latin15 locale 1341258a0ebeSmrg 1342258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1343258a0ebeSmrg 1344258a0ebeSmrgcommit 82b5c1454a49333b4d94984d40db79cff386d37f 1345258a0ebeSmrgAuthor: Josh Triplett <josh@joshtriplett.org> 1346258a0ebeSmrgDate: Sun Feb 3 08:31:41 2019 +0100 1347258a0ebeSmrg 1348258a0ebeSmrg compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences 1349258a0ebeSmrg 1350258a0ebeSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 1351258a0ebeSmrg 1352258a0ebeSmrgcommit 603c3ab25a692194805fd4b0c62afac8093897fe 1353258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1354258a0ebeSmrgDate: Sat Mar 9 20:58:07 2019 -0800 1355258a0ebeSmrg 1356258a0ebeSmrg Add missing close paren to XrmGetStringDatabase synopsis in man page 1357258a0ebeSmrg 1358258a0ebeSmrg Fixes: commit 0642e99ac05afb0c 1359258a0ebeSmrg 1360258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1361258a0ebeSmrg 1362258a0ebeSmrgcommit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85 1363258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1364258a0ebeSmrgDate: Sat Feb 23 11:12:27 2019 -0800 1365258a0ebeSmrg 1366258a0ebeSmrg Include reallocarray.h in tarballs so "make distcheck" passes 1367258a0ebeSmrg 1368258a0ebeSmrg Fixes: commit bcf7b5aa06c23aee 1369258a0ebeSmrg 1370258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1371258a0ebeSmrg 1372258a0ebeSmrgcommit a4a7df06351ce9565d298a84547ff71f2d220fbf 1373258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1374258a0ebeSmrgDate: Sat Feb 23 11:04:41 2019 -0800 1375258a0ebeSmrg 1376258a0ebeSmrg XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris 1377258a0ebeSmrg 1378258a0ebeSmrg Fixes: commit 5538b3e4ae6dee 1379258a0ebeSmrg 1380258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1381258a0ebeSmrg 1382258a0ebeSmrgcommit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044 1383258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1384258a0ebeSmrgDate: Sat Feb 23 10:48:26 2019 -0800 1385258a0ebeSmrg 1386258a0ebeSmrg specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys() 1387258a0ebeSmrg 1388258a0ebeSmrg Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86 1389258a0ebeSmrg aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550 1390258a0ebeSmrg 1391258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1392258a0ebeSmrg 1393258a0ebeSmrgcommit 74f2f26811ae82b15dede31504b0eb541f7a3293 1394258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1395258a0ebeSmrgDate: Sat Feb 23 10:46:05 2019 -0800 1396258a0ebeSmrg 1397258a0ebeSmrg specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys() 1398258a0ebeSmrg 1399258a0ebeSmrg Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85 1400258a0ebeSmrg aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549 1401258a0ebeSmrg 1402258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1403258a0ebeSmrg 1404258a0ebeSmrgcommit 66b039a41690f076e962ac6bd46cca017360a7d1 1405258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1406258a0ebeSmrgDate: Sat Feb 23 10:44:15 2019 -0800 1407258a0ebeSmrg 1408258a0ebeSmrg specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows() 1409258a0ebeSmrg 1410258a0ebeSmrg Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84 1411258a0ebeSmrg aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548 1412258a0ebeSmrg 1413258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1414258a0ebeSmrg 1415258a0ebeSmrgcommit cdea0e840315171f8390adc63a2397ddf111eea4 1416258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1417258a0ebeSmrgDate: Sat Feb 23 10:38:08 2019 -0800 1418258a0ebeSmrg 1419258a0ebeSmrg specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry() 1420258a0ebeSmrg 1421258a0ebeSmrg Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82 1422258a0ebeSmrg aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520 1423258a0ebeSmrg 1424258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1425258a0ebeSmrg 1426258a0ebeSmrgcommit c72d17ada98723cd9e03ddf06680a0e54b2c3089 1427258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1428258a0ebeSmrgDate: Sat Feb 23 10:30:32 2019 -0800 1429258a0ebeSmrg 1430258a0ebeSmrg XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys 1431258a0ebeSmrg 1432258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1433258a0ebeSmrg 1434258a0ebeSmrgcommit 05002b8aef9544c8545e0823a02cf14f335d2b68 1435258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1436258a0ebeSmrgDate: Sun Feb 17 15:13:25 2019 -0800 1437258a0ebeSmrg 1438258a0ebeSmrg Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask 1439258a0ebeSmrg 1440258a0ebeSmrg Reported-by: Daniel Hahler <git@thequod.de> 1441258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1442258a0ebeSmrg 1443258a0ebeSmrgcommit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c 1444258a0ebeSmrgAuthor: Adam Jackson <ajax@redhat.com> 1445258a0ebeSmrgDate: Fri Mar 24 11:07:36 2017 -0400 1446258a0ebeSmrg 1447258a0ebeSmrg _XDefaultIOError: Do better at detecting explicit shutdown 1448258a0ebeSmrg 1449258a0ebeSmrg Currently, when the X server crashes or a client is disconnected with 1450258a0ebeSmrg XKillClient, you get a somewhat confusing error message from libX11 1451258a0ebeSmrg along the lines of: 1452258a0ebeSmrg 1453258a0ebeSmrg XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" 1454258a0ebeSmrg after 98 requests (40 known processed) with 0 events remaining. 1455258a0ebeSmrg 1456258a0ebeSmrg What's happening here is the previous recvmsg has thrown EAGAIN, since 1457258a0ebeSmrg the socket is non-blocking. In this case, check whether the socket has 1458258a0ebeSmrg any more data to read, and if not treat it like EPIPE. 1459258a0ebeSmrg 1460258a0ebeSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 1461258a0ebeSmrg 1462258a0ebeSmrgcommit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2 1463258a0ebeSmrgAuthor: Adam Jackson <ajax@redhat.com> 1464258a0ebeSmrgDate: Fri Mar 24 11:07:35 2017 -0400 1465258a0ebeSmrg 1466258a0ebeSmrg _XDefaultIOError: Reformat to be less ugly 1467258a0ebeSmrg 1468258a0ebeSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 1469258a0ebeSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1470258a0ebeSmrg 1471258a0ebeSmrgcommit 003e30a66a249f5c70b30d1c187385124cd4cdad 1472258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1473258a0ebeSmrgDate: Tue Jan 1 14:34:04 2019 -0800 1474258a0ebeSmrg 1475258a0ebeSmrg Avoid use-after-free in _XimProtoSetIMValues() 1476258a0ebeSmrg 1477258a0ebeSmrg Fixes gitlab issue #49 1478258a0ebeSmrg 1479258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1480258a0ebeSmrg 1481258a0ebeSmrgcommit 30656fd66ad47aeaca0bfc237a818f189554f07e 1482258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1483258a0ebeSmrgDate: Tue Jan 1 12:21:04 2019 -0800 1484258a0ebeSmrg 1485258a0ebeSmrg Fix implicit conversion warnings in _XlcCreateDefaultCharSet 1486258a0ebeSmrg 1487258a0ebeSmrg lcCharSet.c:187:50: warning: implicit conversion changes signedness: 1488258a0ebeSmrg 'int' to 'unsigned long' [-Wsign-conversion] 1489258a0ebeSmrg tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1); 1490258a0ebeSmrg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 1491258a0ebeSmrg ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc' 1492258a0ebeSmrg ~~~~~~ ^~~~ 1493258a0ebeSmrg lcCharSet.c:192:31: warning: implicit conversion changes signedness: 1494258a0ebeSmrg 'int' to 'unsigned long' [-Wsign-conversion] 1495258a0ebeSmrg memcpy(tmp, name, name_len+1); 1496258a0ebeSmrg ~~~~~~ ~~~~~~~~^~ 1497258a0ebeSmrg lcCharSet.c:216:45: warning: implicit conversion changes signedness: 1498258a0ebeSmrg 'int' to 'unsigned long' [-Wsign-conversion] 1499258a0ebeSmrg memcpy(tmp, ct_sequence, ct_sequence_len+1); 1500258a0ebeSmrg ~~~~~~ ~~~~~~~~~~~~~~~^~ 1501258a0ebeSmrg lcCharSet.c:183:16: warning: implicit conversion loses integer precision: 1502258a0ebeSmrg 'unsigned long' to 'int' [-Wshorten-64-to-32] 1503258a0ebeSmrg name_len = strlen(name); 1504258a0ebeSmrg ~ ^~~~~~~~~~~~ 1505258a0ebeSmrg lcCharSet.c:184:23: warning: implicit conversion loses integer precision: 1506258a0ebeSmrg 'unsigned long' to 'int' [-Wshorten-64-to-32] 1507258a0ebeSmrg ct_sequence_len = strlen(ct_sequence); 1508258a0ebeSmrg ~ ^~~~~~~~~~~~~~~~~~~ 1509258a0ebeSmrg lcCharSet.c:198:37: warning: implicit conversion loses integer precision: 1510258a0ebeSmrg 'long' to 'unsigned int' [-Wshorten-64-to-32] 1511258a0ebeSmrg unsigned int length = colon - charset->name; 1512258a0ebeSmrg ~~~~~~ ~~~~~~^~~~~~~~~~~~~~~ 1513258a0ebeSmrg 1514258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1515258a0ebeSmrg 1516258a0ebeSmrgcommit 2e6300905784fa8adfcea019262ea58b3e1ed4ad 1517258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1518258a0ebeSmrgDate: Tue Jan 1 11:41:47 2019 -0800 1519258a0ebeSmrg 1520258a0ebeSmrg Remove no-longer-used name variable in _XGetAtomName 1521258a0ebeSmrg 1522258a0ebeSmrg Fixes gcc warning: 1523258a0ebeSmrg GetAtomNm.c: In function ‘_XGetAtomName’: 1524258a0ebeSmrg GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable] 1525258a0ebeSmrg char *name; 1526258a0ebeSmrg ^~~~ 1527258a0ebeSmrg 1528258a0ebeSmrg Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 1529258a0ebeSmrg 1530258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1531258a0ebeSmrg 1532258a0ebeSmrgcommit f077871c2a12cf098b0c50572e112c6dc5e04de0 1533258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1534258a0ebeSmrgDate: Sat Dec 29 11:39:29 2018 -0800 1535258a0ebeSmrg 1536258a0ebeSmrg Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb 1537258a0ebeSmrg 1538258a0ebeSmrg In-tree builds found reallocarray.h in $(top_builddir)/src but the 1539258a0ebeSmrg out-of-tree build didn't find it at all. 1540258a0ebeSmrg 1541258a0ebeSmrg Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline 1542258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1543258a0ebeSmrg 1544258a0ebeSmrgcommit ba7f7cc783672784bebc6e69349b55c6c75c1973 1545258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1546258a0ebeSmrgDate: Sun Sep 27 18:35:27 2015 -0700 1547258a0ebeSmrg 1548258a0ebeSmrg Convert src/xlibi18n to use reallocarray() 1549258a0ebeSmrg 1550258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1551258a0ebeSmrg 1552258a0ebeSmrgcommit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96 1553258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1554258a0ebeSmrgDate: Sat Sep 26 11:12:47 2015 -0700 1555258a0ebeSmrg 1556258a0ebeSmrg Replace Xmalloc+strcpy pairs with strdup calls 1557258a0ebeSmrg 1558258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1559258a0ebeSmrg 1560258a0ebeSmrgcommit 258a8ced681dc1bc50396be7439fce23f9807e2a 1561258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1562258a0ebeSmrgDate: Sun Jul 19 11:58:50 2015 -0700 1563258a0ebeSmrg 1564258a0ebeSmrg Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray 1565258a0ebeSmrg 1566258a0ebeSmrg Makes resizing & clearing more consistent and gets rid of some weird 1567258a0ebeSmrg quirks like always subtracting 1 from the size passed to _XkbClearElems 1568258a0ebeSmrg so it could always add 1 to the size passed in. 1569258a0ebeSmrg 1570258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1571258a0ebeSmrg 1572258a0ebeSmrgcommit f94273e2f4284040306b888e5ca0381ee00591af 1573258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1574258a0ebeSmrgDate: Sun Jul 19 09:47:29 2015 -0700 1575258a0ebeSmrg 1576258a0ebeSmrg Add some missing allocation failure checks in src/xcms 1577258a0ebeSmrg 1578258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1579258a0ebeSmrg 1580258a0ebeSmrgcommit 76850471b4a5a6d30f5660234e87ec2772e7b426 1581258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1582258a0ebeSmrgDate: Sun Jul 19 09:33:21 2015 -0700 1583258a0ebeSmrg 1584258a0ebeSmrg Convert src/xcms to use reallocarray() 1585258a0ebeSmrg 1586258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1587258a0ebeSmrg 1588258a0ebeSmrgcommit 8a62e26515e528bb47917ec4a55cc2b492419eeb 1589258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1590258a0ebeSmrgDate: Sun Jul 19 09:24:02 2015 -0700 1591258a0ebeSmrg 1592258a0ebeSmrg Convert src/XKB to use reallocarray() 1593258a0ebeSmrg 1594258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1595258a0ebeSmrg 1596258a0ebeSmrgcommit 6d1dc1f6169ebf0ba71785d461bd98129c65c862 1597258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1598258a0ebeSmrgDate: Thu Jun 4 23:30:43 2015 -0700 1599258a0ebeSmrg 1600258a0ebeSmrg Convert main src directory to use reallocarray() 1601258a0ebeSmrg 1602258a0ebeSmrgcommit bcf7b5aa06c23aee00af7999b58cb96a8571ac42 1603258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1604258a0ebeSmrgDate: Thu Jun 4 23:18:23 2015 -0700 1605258a0ebeSmrg 1606258a0ebeSmrg Import reallocarray() from OpenBSD 1607258a0ebeSmrg 1608258a0ebeSmrg Wrapper for realloc() that checks for overflow when multiplying 1609258a0ebeSmrg arguments together, so we don't have to add overflow checks to 1610258a0ebeSmrg every single call. For documentation on usage, see: 1611258a0ebeSmrg http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3 1612258a0ebeSmrg 1613258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1614258a0ebeSmrg 1615258a0ebeSmrgcommit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460 1616258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1617258a0ebeSmrgDate: Mon Nov 19 21:26:23 2018 -0800 1618258a0ebeSmrg 1619258a0ebeSmrg Update README for gitlab migration 1620258a0ebeSmrg 1621258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1622258a0ebeSmrg 1623258a0ebeSmrgcommit c8bcc19970a2cc4ad337de1338c63a07325eefcd 1624258a0ebeSmrgAuthor: Albert Astals Cid <aacid@kde.org> 1625258a0ebeSmrgDate: Fri Nov 9 22:24:52 2018 +0100 1626258a0ebeSmrg 1627258a0ebeSmrg locale.dir: Add ast_ES.UTF-8 1628258a0ebeSmrg 1629258a0ebeSmrg With this patch xev properly reports 1630258a0ebeSmrg XLookupString gives 2 bytes: (c2 b4) "´" 1631258a0ebeSmrg for the dead_acute key when using the Asturian locale 1632258a0ebeSmrg 1633258a0ebeSmrgcommit 117bb310b44ce03802c91a70949eb58dcc702a3c 1634258a0ebeSmrgAuthor: Albert Astals Cid <aacid@kde.org> 1635258a0ebeSmrgDate: Fri Nov 9 22:18:43 2018 +0100 1636258a0ebeSmrg 1637258a0ebeSmrg compose.dir: Add ast_ES.UTF-8 1638258a0ebeSmrg 1639258a0ebeSmrg With this patch one can properly type dead keys like á when using the 1640258a0ebeSmrg Asturian locale 1641258a0ebeSmrg 1642258a0ebeSmrgcommit d7e22252d68258a63ca537827c99d0ac0bc4b9d8 1643258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1644258a0ebeSmrgDate: Sat Nov 10 13:30:47 2018 -0800 1645258a0ebeSmrg 1646258a0ebeSmrg Remove documentation of obsolete B16 & B32 tags in specs/libX11 1647258a0ebeSmrg 1648258a0ebeSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1649258a0ebeSmrg 165038ae11fcSmrgcommit f3c978476e0be6813268af494efb7ac507451116 165138ae11fcSmrgAuthor: Matt Turner <mattst88@gmail.com> 165238ae11fcSmrgDate: Tue Oct 9 10:26:05 2018 -0400 165338ae11fcSmrg 165438ae11fcSmrg libX11 1.6.7 165538ae11fcSmrg 165638ae11fcSmrg Signed-off-by: Matt Turner <mattst88@gmail.com> 165738ae11fcSmrg 165838ae11fcSmrgcommit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95 165938ae11fcSmrgAuthor: Michel Dänzer <michel.daenzer@amd.com> 166038ae11fcSmrgDate: Fri Sep 28 17:24:17 2018 +0200 166138ae11fcSmrg 166238ae11fcSmrg poll_for_event: Allow using xcb_poll_for_queued_event 166338ae11fcSmrg 166438ae11fcSmrg It avoids reading from the display connection again in cases where that 166538ae11fcSmrg was already done. 166638ae11fcSmrg 166738ae11fcSmrg Suggested-by: Uli Schlachter <psychon@znc.in> 166838ae11fcSmrg Reviewed-by: Uli Schlachter <psychon@znc.in> 166938ae11fcSmrg 167038ae11fcSmrgcommit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5 167138ae11fcSmrgAuthor: Michel Dänzer <michel.daenzer@amd.com> 167238ae11fcSmrgDate: Tue Sep 25 17:10:58 2018 +0200 167338ae11fcSmrg 167438ae11fcSmrg poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails 167538ae11fcSmrg 167638ae11fcSmrg If xcb_poll_for_reply fails to find a reply, poll_for_response would 167738ae11fcSmrg always return NULL. However, xcb_poll_for_reply may have read events 167838ae11fcSmrg from the display connection while looking for a reply. In that case, 167938ae11fcSmrg returning NULL from poll_for_response is wrong and can result in the 168038ae11fcSmrg client hanging, e.g. because it returns to waiting for the display 168138ae11fcSmrg connection file descriptor becoming readable after XPending incorrectly 168238ae11fcSmrg returned 0 pending events. 168338ae11fcSmrg 168438ae11fcSmrg The solution is to call poll_for_event again after xcb_poll_for_reply 168538ae11fcSmrg returned 0. This will return the first of any events read by 168638ae11fcSmrg xcb_poll_for_reply. 168738ae11fcSmrg 168838ae11fcSmrg Fixes issue #79. 168938ae11fcSmrg 169038ae11fcSmrg Reported-by: Yuxuan Shui <yshuiv7@gmail.com> 169138ae11fcSmrg Bugzilla: https://bugs.freedesktop.org/108008 169238ae11fcSmrg Bugzilla: https://bugs.freedesktop.org/107992 169338ae11fcSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 169438ae11fcSmrg 169538ae11fcSmrgcommit d0416863d5bf75af54ce81f6c30d4c1476b5e04f 169638ae11fcSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com> 169738ae11fcSmrgDate: Mon Sep 28 08:33:40 2015 +0000 169838ae11fcSmrg 169938ae11fcSmrg XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB 170038ae11fcSmrg 170138ae11fcSmrg Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44 170238ae11fcSmrg aka https://bugs.freedesktop.org/show_bug.cgi?id=92154 170338ae11fcSmrg 170438ae11fcSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 170538ae11fcSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 170638ae11fcSmrg 17073233502eSmrgcommit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef 17083233502eSmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 17093233502eSmrgDate: Tue Aug 21 16:54:50 2018 +0200 17103233502eSmrg 17113233502eSmrg libX11 1.6.6 17123233502eSmrg 17133233502eSmrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 17143233502eSmrg 17153233502eSmrgcommit 173704243fbcbea0b6de2068b4fb403c7408fb54 17163233502eSmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 17173233502eSmrgDate: Tue Aug 21 16:53:40 2018 +0200 17183233502eSmrg 17193233502eSmrg Remove statement with no effect. 17203233502eSmrg 17213233502eSmrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 17223233502eSmrg 17233233502eSmrgcommit e83722768fd5c467ef61fa159e8c6278770b45c2 17243233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 17253233502eSmrgDate: Fri Jul 27 16:38:00 2018 +0200 17263233502eSmrg 17273233502eSmrg Fixed crash on invalid reply (CVE-2018-14598). 17283233502eSmrg 17293233502eSmrg If the server sends a reply in which even the first string would 17303233502eSmrg overflow the transmitted bytes, list[0] (or flist[0]) will be set to 17313233502eSmrg NULL and a count of 0 is returned. 17323233502eSmrg 17333233502eSmrg If the resulting list is freed with XFreeExtensionList or 17343233502eSmrg XFreeFontPath later on, the first Xfree call: 17353233502eSmrg 17363233502eSmrg Xfree (list[0]-1) 17373233502eSmrg turns into 17383233502eSmrg Xfree (NULL-1) 17393233502eSmrg 17403233502eSmrg which will most likely trigger a segmentation fault. 17413233502eSmrg 17423233502eSmrg I have modified the code to return NULL if the first string would 17433233502eSmrg overflow, thus protecting the freeing functions later on. 17443233502eSmrg 17453233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 17463233502eSmrg 17473233502eSmrgcommit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea 17483233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 17493233502eSmrgDate: Fri Jul 27 16:37:17 2018 +0200 17503233502eSmrg 17513233502eSmrg Fixed out of boundary write (CVE-2018-14600). 17523233502eSmrg 17533233502eSmrg The length value is interpreted as signed char on many systems 17543233502eSmrg (depending on default signedness of char), which can lead to an out of 17553233502eSmrg boundary write up to 128 bytes in front of the allocated storage, but 17563233502eSmrg limited to NUL byte(s). 17573233502eSmrg 17583233502eSmrg Casting the length value to unsigned char fixes the problem and allows 17593233502eSmrg string values with up to 255 characters. 17603233502eSmrg 17613233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 17623233502eSmrg 17633233502eSmrgcommit b469da1430cdcee06e31c6251b83aede072a1ff0 17643233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 17653233502eSmrgDate: Fri Jul 27 16:36:34 2018 +0200 17663233502eSmrg 17673233502eSmrg Fixed off-by-one writes (CVE-2018-14599). 17683233502eSmrg 17693233502eSmrg The functions XGetFontPath, XListExtensions, and XListFonts are 17703233502eSmrg vulnerable to an off-by-one override on malicious server responses. 17713233502eSmrg 17723233502eSmrg The server replies consist of chunks consisting of a length byte 17733233502eSmrg followed by actual string, which is not NUL-terminated. 17743233502eSmrg 17753233502eSmrg While parsing the response, the length byte is overridden with '\0', 17763233502eSmrg thus the memory area can be used as storage of C strings later on. To 17773233502eSmrg be able to NUL-terminate the last string, the buffer is reserved with 17783233502eSmrg an additional byte of space. 17793233502eSmrg 17803233502eSmrg For a boundary check, the variable chend (end of ch) was introduced, 17813233502eSmrg pointing at the end of the buffer which ch initially points to. 17823233502eSmrg Unfortunately there is a difference in handling "the end of ch". 17833233502eSmrg 17843233502eSmrg While chend points at the first byte that must not be written to, 17853233502eSmrg the for-loop uses chend as the last byte that can be written to. 17863233502eSmrg 17873233502eSmrg Therefore, an off-by-one can occur. 17883233502eSmrg 17893233502eSmrg I have refactored the code so chend actually points to the last byte 17903233502eSmrg that can be written to without an out of boundary access. As it is not 17913233502eSmrg possible to achieve "ch + length < chend" and "ch + length + 1 > chend" 17923233502eSmrg with the corrected chend meaning, I removed the inner if-check. 17933233502eSmrg 17943233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 17953233502eSmrg 17963233502eSmrgcommit d81da209fd4d0c2c9ad0596a8078e58864479d0d 17973233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 17983233502eSmrgDate: Tue Jul 3 22:31:37 2018 +0200 17993233502eSmrg 18003233502eSmrg Validation of server response in XListHosts. 18013233502eSmrg 18023233502eSmrg If a server sends an incorrect length in its response, a client is prone 18033233502eSmrg to perform an out of boundary read while processing the data. 18043233502eSmrg 18053233502eSmrg The length field of xHostEntry is used to specify the amount of bytes 18063233502eSmrg used to represent the address. It is 16 bit, which means that it is not 18073233502eSmrg possible to perform an arbitrary memory access, but it might be enough 18083233502eSmrg to read sensitive information, e.g. malloc-related pointers and offsets. 18093233502eSmrg 18103233502eSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 18113233502eSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 18123233502eSmrg 18133233502eSmrgcommit b676e62377483df77bcb6472d26b24f901323fa9 18143233502eSmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 18153233502eSmrgDate: Wed Jun 13 15:46:58 2018 +0200 18163233502eSmrg 18173233502eSmrg XkbOpenDisplay.3: fix typo 18183233502eSmrg 18193233502eSmrg XkbOpenDisplay returns a pointer to Display, not a Display. 18203233502eSmrg 18213233502eSmrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 18223233502eSmrg 18233233502eSmrgcommit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca 18243233502eSmrgAuthor: Martin Natano <natano@natano.net> 18253233502eSmrgDate: Sat Oct 8 19:57:50 2016 +0200 18263233502eSmrg 18273233502eSmrg Don't rebuild ks_tables.h if nothing changed. 18283233502eSmrg 18293233502eSmrg ks_tables.h is always considered out of date due to the forced rebuild 18303233502eSmrg of the makekeys util. This means the file is also rebuilt during 'make 18313233502eSmrg install', which is usually performed as root, which can to lead 18323233502eSmrg permission problems later on. 18333233502eSmrg 18343233502eSmrg Signed-off-by: Martin Natano <natano@natano.net> 18353233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18363233502eSmrg 18373233502eSmrgcommit 796f754cba6d75b676a0fc39b97802198fceda4f 18383233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18393233502eSmrgDate: Sat May 5 14:43:30 2018 -0700 18403233502eSmrg 18413233502eSmrg Change fall through comment in lcDB.c to match gcc's requirements 18423233502eSmrg 18433233502eSmrg Needs to match one of the regexps shown under 18443233502eSmrg https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough 18453233502eSmrg 18463233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18473233502eSmrg 18483233502eSmrgcommit 82ca6308757126fa7ffc6588f1e5d8e3be04251b 18493233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 18503233502eSmrgDate: Sat Mar 24 19:45:14 2018 -0700 18513233502eSmrg 18523233502eSmrg Use size_t for buffer sizes in SetHints.c 18533233502eSmrg 18543233502eSmrg These variables store values returned from strlen() as a size_t 18553233502eSmrg and are passed to Xmalloc, which expects a size_t, so lets stop 18563233502eSmrg converting back and forth to int along the way. 18573233502eSmrg 18583233502eSmrg Reported by: Konstantin SKliarov 18593233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18603233502eSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 18613233502eSmrg 18623233502eSmrgcommit 50a5a98984097d614227d22a49265e12b172cac7 18633233502eSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com> 18643233502eSmrgDate: Tue Jul 5 11:37:50 2016 +0530 18653233502eSmrg 18663233502eSmrg Fix possible memory leak in cmsProp.c:140 18673233502eSmrg 18683233502eSmrg https://bugs.freedesktop.org/show_bug.cgi?id=96814 18693233502eSmrg 18703233502eSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18713233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 18723233502eSmrg 18733233502eSmrgcommit a9dafdd57c71473fa3a2ec4887e973e4e9876d83 18743233502eSmrgAuthor: Michal Srb <msrb@suse.com> 18753233502eSmrgDate: Thu Mar 15 09:50:58 2018 +0100 18763233502eSmrg 18773233502eSmrg Use flexible array member instead of fake size. 18783233502eSmrg 18793233502eSmrg The _XimCacheStruct structure is followed in memory by two strings containing 18803233502eSmrg fname and encoding. The memory was accessed using the last member of the 18813233502eSmrg structure `char fname[1]`. That is a lie, prohibits us from using sizeof and 18823233502eSmrg confuses checkers. Lets declare it properly as a flexible array, so compilers 18833233502eSmrg don't complain about writing past that array. As bonus we can replace the 18843233502eSmrg XOffsetOf with regular sizeof. 18853233502eSmrg 18863233502eSmrg Fixes GCC8 error: 18873233502eSmrg In function 'strcpy', 18883233502eSmrg inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5, 18893233502eSmrg inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2, 18903233502eSmrg inlined from '_XimLocalOpenIM' at imLcIm.c:700:5: 18913233502eSmrg /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy' 18923233502eSmrg forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds] 18933233502eSmrg return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); 18943233502eSmrg 18953233502eSmrg Caused by this line seemingly writing past the fname[1] array: 18963233502eSmrg imLcIm.c:479: strcpy (m->fname+strlen(name)+1, encoding); 18973233502eSmrg 18983233502eSmrg Reviewed-by: Keith Packard <keithp@keithp.com> 18993233502eSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 19003233502eSmrg 19013233502eSmrgcommit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647 19023233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 19033233502eSmrgDate: Tue Mar 6 11:42:27 2018 -0800 19043233502eSmrg 19053233502eSmrg If XGetImage fails to create image, don't dereference it to bounds check 19063233502eSmrg 19073233502eSmrg Reported by gcc 7.3: 19083233502eSmrg 19093233502eSmrg GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference] 19103233502eSmrg if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 19113233502eSmrg ~~~~~^~~~~~~~ 19123233502eSmrg 19133233502eSmrg Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4 19143233502eSmrg 19153233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19163233502eSmrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 19173233502eSmrg 19183233502eSmrgcommit e835a9dcc3362b5e92893be756dd7ae361e64ced 19193233502eSmrgAuthor: wharms <wharms@bfs.de> 19203233502eSmrgDate: Sun Sep 3 14:17:45 2017 +0200 19213233502eSmrg 19223233502eSmrg silence gcc warning assignment discards 'const' qualifier from pointer target type 19233233502eSmrg 19243233502eSmrgcommit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b 19253233502eSmrgAuthor: wharms <wharms@bfs.de> 19263233502eSmrgDate: Sun Aug 20 21:51:57 2017 +0200 19273233502eSmrg 19283233502eSmrg remove empty line 19293233502eSmrg 19303233502eSmrgcommit e02dfe54f32b4165351d2712a9d2e0584906a3ce 19313233502eSmrgAuthor: wharms <wharms@bfs.de> 19323233502eSmrgDate: Sun Aug 20 21:50:33 2017 +0200 19333233502eSmrg 19343233502eSmrg add _X_UNUSED to avoid unused variable warnings 19353233502eSmrg 19363233502eSmrgcommit 2911c39cecd63ed3747072a5eeeb9eedffc881e9 19373233502eSmrgAuthor: walter harms <wharms@bfs.de> 19383233502eSmrgDate: Sat Jun 4 17:19:59 2016 +0200 19393233502eSmrg 19403233502eSmrg Fixes: warning: variable 'req' set but not,used 19413233502eSmrg 19423233502eSmrg Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable] 19433233502eSmrg by marking req _X_UNUSED 194438ae11fcSmrg Solution was discussed on xorg-devel ML 19453233502eSmrg Peter Hutter, Alan Coopersmith 19463233502eSmrg Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign] 19473233502eSmrg 19483233502eSmrg Signed-off-by: harms wharms@bfs.de 19493233502eSmrg 19503233502eSmrgcommit bf82ec0402479fd8399d69e7d62fc17d7956699a 19513233502eSmrgAuthor: walter harms <wharms@bfs.de> 19523233502eSmrgDate: Sat Jun 4 17:22:07 2016 +0200 19533233502eSmrg 19543233502eSmrg mark _XDefaultIOError as no_return 19553233502eSmrg 19563233502eSmrg mark _XDefaultIOError as no_return. No one comes back from exit() ... 19573233502eSmrg 19583233502eSmrg Signed-off-by: harms wharms@bfs.de 19593233502eSmrg 19603233502eSmrgcommit 9abe8380074edea3ac4e72466ec47e921ca05e47 19613233502eSmrgAuthor: walter harms <wharms@bfs.de> 19623233502eSmrgDate: Sat Jun 4 17:21:52 2016 +0200 19633233502eSmrg 19643233502eSmrg no need to check XFree arguments 19653233502eSmrg 19663233502eSmrg 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 19673233502eSmrg 19683233502eSmrg Signed-off-by: harms wharms@bfs.de 19693233502eSmrg 19703233502eSmrgcommit 433477fcb7e07d0c26a22ba78aae88827ed1f440 19713233502eSmrgAuthor: walter harms <wharms@bfs.de> 19723233502eSmrgDate: Tue Apr 26 16:32:20 2016 +0200 19733233502eSmrg 19743233502eSmrg fix memleak in error path 19753233502eSmrg 19763233502eSmrg free all mem on error 19773233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 19783233502eSmrg 19793233502eSmrgcommit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a 19803233502eSmrgAuthor: walter harms <wharms@bfs.de> 19813233502eSmrgDate: Tue Apr 26 17:58:16 2016 +0200 19823233502eSmrg 19833233502eSmrg fix memleak in error path 19843233502eSmrg 19853233502eSmrg V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com) 19863233502eSmrg 19873233502eSmrg fix mem leak in error path 19883233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 19893233502eSmrg 19903233502eSmrgcommit 7c78fc57693afa94cf26170f0f6276e3b7374ed0 19913233502eSmrgAuthor: walter harms <wharms@bfs.de> 19923233502eSmrgDate: Tue Apr 26 16:34:11 2016 +0200 19933233502eSmrg 19943233502eSmrg no need to check args for Xfree() 19953233502eSmrg 19963233502eSmrg simplify code 19973233502eSmrg 19983233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 19993233502eSmrg 20003233502eSmrgcommit c1c14af441ae73d1a8e67a971fafcf967e45ac48 20013233502eSmrgAuthor: walter harms <wharms@bfs.de> 20023233502eSmrgDate: Tue Apr 26 16:23:46 2016 +0200 20033233502eSmrg 20043233502eSmrg remove stray extern 20053233502eSmrg 20063233502eSmrg remove stray extern 20073233502eSmrg 20083233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 20093233502eSmrg 20103233502eSmrgcommit 714921f041a245dc5f37a689268b584226a2ccb9 20113233502eSmrgAuthor: walter harms <wharms@bfs.de> 20123233502eSmrgDate: Mon Apr 11 18:26:52 2016 +0200 20133233502eSmrg 20143233502eSmrg no need to check argument for _XkbFree() 20153233502eSmrg 20163233502eSmrg simplify code by removing unneeded checks 20173233502eSmrg 20183233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 20193233502eSmrg 20203233502eSmrgcommit d02c2466f65063a03c97dbcee05071c12a3676e6 20213233502eSmrgAuthor: walter harms <wharms@bfs.de> 20223233502eSmrgDate: Mon Apr 11 18:22:38 2016 +0200 20233233502eSmrg 20243233502eSmrg fix more shadow warning 20253233502eSmrg 20263233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 20273233502eSmrg 20283233502eSmrgcommit 0355c3926d5372f9762f235071dbd94a89bbbdad 20293233502eSmrgAuthor: walter harms <wharms@bfs.de> 20303233502eSmrgDate: Thu Mar 31 19:16:33 2016 +0200 20313233502eSmrg 20323233502eSmrg fix shadow char_size 20333233502eSmrg 20343233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 20353233502eSmrg 20363233502eSmrgcommit 916dffadf052135df3398651be873c353da629e1 20373233502eSmrgAuthor: walter harms <wharms@bfs.de> 20383233502eSmrgDate: Thu Mar 31 19:14:32 2016 +0200 20393233502eSmrg 20403233502eSmrg remove argument check for free() adjust one inden 20413233502eSmrg 20423233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 20433233502eSmrg 20443233502eSmrgcommit 6ec901ebca3fea6a762e22090dc35b1b90911133 20453233502eSmrgAuthor: walter harms <wharms@bfs.de> 20463233502eSmrgDate: Thu Mar 31 19:12:17 2016 +0200 20473233502eSmrg 20483233502eSmrg _XIOError(dpy); will never return so remore dead 20493233502eSmrg 20503233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 20513233502eSmrg 20523233502eSmrgcommit 83107a677b2ed458e4d62ea4a601e8181d3683d8 20533233502eSmrgAuthor: walter harms <wharms@bfs.de> 20543233502eSmrgDate: Thu Mar 31 19:10:49 2016 +0200 20553233502eSmrg 20563233502eSmrg fix shadow warning 20573233502eSmrg 20583233502eSmrg Signed-off-by: walter harms <wharms@bfs.de> 20593233502eSmrg 20603233502eSmrgcommit 4fe66b1c5112b07bd09e28bbc021911d08a9621f 20613233502eSmrgAuthor: Ryan C. Gordon <icculus@icculus.org> 20623233502eSmrgDate: Wed Aug 2 02:41:03 2017 -0400 20633233502eSmrg 20643233502eSmrg Valgrind fix for XStoreColor and XStoreColors. 20653233502eSmrg 20663233502eSmrg If the "pad" field isn't set, Valgrind will report it as uninitialized 20673233502eSmrg memory accesses when the struct is copied into the Display's send buffer. 20683233502eSmrg 20693233502eSmrg In practice, this is (probably) harmless, but Valgrind is correct in 20703233502eSmrg believing it's a bug. 20713233502eSmrg 20723233502eSmrg https://bugs.freedesktop.org/attachment.cgi?id=133189 20733233502eSmrg 20743233502eSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20753233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20763233502eSmrg 20773233502eSmrgcommit 7d2010fec25c2f52b873ad0572479eb43128b038 20783233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20793233502eSmrgDate: Fri Apr 7 00:13:03 2017 -0700 20803233502eSmrg 20813233502eSmrg Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages 20823233502eSmrg 20833233502eSmrg Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page 20843233502eSmrg contains some malformed text" caused by extra whitespace after .TE macros 20853233502eSmrg 20863233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20873233502eSmrg 20883233502eSmrgcommit b856d5d929047d1ea169814d56e43784ea404c83 20893233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20903233502eSmrgDate: Thu Mar 16 00:05:49 2017 -0700 20913233502eSmrg 20923233502eSmrg Clarify state parameter to XkbSetNamedDeviceIndicator 20933233502eSmrg 20943233502eSmrg Checking a Bool to see if it's NULL does not work well in C. 20953233502eSmrg Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251 20963233502eSmrg 20973233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 20983233502eSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 20993233502eSmrg 21003233502eSmrgcommit c6dadd4cebd994aafb37a58b3adbaa82507c2d18 21013233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 21023233502eSmrgDate: Wed Mar 15 23:50:26 2017 -0700 21033233502eSmrg 21043233502eSmrg Make Xkb{Get,Set}NamedIndicator spec & manpages match code 21053233502eSmrg 21063233502eSmrg The XKB Library spec and the man pages for XkbGetNamedIndicator & 21073233502eSmrg XkbSetNamedIndicator included a device_spec argument neither function 21083233502eSmrg takes, and do not include the XkbGetNamedDeviceIndicator & 21093233502eSmrg XkbSetNamedDeviceIndicator variants that do take it (along with two 21103233502eSmrg other arguments). 21113233502eSmrg 21123233502eSmrg This updates them to match the interfaces the code has provided for 21133233502eSmrg decades. 21143233502eSmrg 21153233502eSmrg This has been reported multiple times, so this fixes: 21163233502eSmrg https://bugs.freedesktop.org/show_bug.cgi?id=251 21173233502eSmrg https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812 21183233502eSmrg Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong 21193233502eSmrg (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506) 21203233502eSmrg X.Org Group Defect Id #9418 21213233502eSmrg 21223233502eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21233233502eSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 21243233502eSmrg 21253233502eSmrgcommit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6 21263233502eSmrgAuthor: Arthur Huillet <ahuillet@nvidia.com> 21273233502eSmrgDate: Wed Feb 1 15:02:41 2017 +0100 21283233502eSmrg 21293233502eSmrg _XDefaultError: set XlibDisplayIOError flag before calling exit 21303233502eSmrg 21313233502eSmrg _XReply isn't reentrant, and it can lead to deadlocks when the default error 21323233502eSmrg handler is called: _XDefaultError calls exit(1). It is called indirectly by 21333233502eSmrg _XReply when a X protocol error comes in that isn't filtered/handled by an 21343233502eSmrg extension or the application. This means that if the application (or one of its 21353233502eSmrg loaded shared libraries such as the NVIDIA OpenGL driver) has registered any 21363233502eSmrg _fini destructor, _fini will get called while still on the call stack of 21373233502eSmrg _XReply. If the destructor interacts with the X server and calls _XReply, it 21383233502eSmrg will hit a deadlock, looping on the following in _XReply: 21393233502eSmrg 21403233502eSmrg ConditionWait(dpy, dpy->xcb->reply_notify); 21413233502eSmrg 21423233502eSmrg It is legal for an application to make Xlib calls during _fini, and that is 21433233502eSmrg useful for an OpenGL driver to avoid resource leaks on the X server side, for 21443233502eSmrg example in the dlopen/dlclose case. However, the driver can not readily tell 21453233502eSmrg whether its _fini is being called because Xlib called exit, or for another 21463233502eSmrg reason (dlclose), so it is hard to cleanly work around this issue in the driver. 21473233502eSmrg 21483233502eSmrg This change makes it so _XReply effectively becomes a no-op when called after 21493233502eSmrg _XDefaultError was called, as though an XIOError had happened. The dpy 21503233502eSmrg connection isn't broken at that point, but any call to _XReply is going to hang. 21513233502eSmrg This is a bit of a kludge, because the more correct solution would be to make 21523233502eSmrg _XReply reentrant, maybe by broadcasting the reply_notify condition before 21533233502eSmrg calling the default error handler. However, such a change would carry a grater 21543233502eSmrg risk of introducing regressions in Xlib. 21553233502eSmrg 21563233502eSmrg This change will drop some valid requests on the floor, but this should not 21573233502eSmrg matter, as it will only do so in the case where the application is dying: X will 21583233502eSmrg clean up after it once exit() is done running. There is the case of 21593233502eSmrg XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing 21603233502eSmrg to clean up resources in _fini would currently be hitting a deadlock, which is 21613233502eSmrg hardly a better situation. 21623233502eSmrg 21633233502eSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 21643233502eSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 21653233502eSmrg 2166862bcd1aSmrgcommit 42f4d7af9cf6d1dbfa575552e057328b054a20c9 2167862bcd1aSmrgAuthor: Matt Turner <mattst88@gmail.com> 2168862bcd1aSmrgDate: Sat Feb 25 21:54:22 2017 -0800 2169862bcd1aSmrg 2170862bcd1aSmrg libX11 1.6.5 2171862bcd1aSmrg 2172862bcd1aSmrg Signed-off-by: Matt Turner <mattst88@gmail.com> 2173862bcd1aSmrg 2174862bcd1aSmrgcommit a0da5835e8078445947c828fe2d86c1a31439012 2175862bcd1aSmrgAuthor: Adam Jackson <ajax@redhat.com> 2176862bcd1aSmrgDate: Tue Feb 14 15:33:29 2017 -0500 2177862bcd1aSmrg 2178862bcd1aSmrg Revert "Compose sequences for rouble sign" 2179862bcd1aSmrg 2180862bcd1aSmrg This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0. 2181862bcd1aSmrg 2182862bcd1aSmrg Reported to break 'make check': 2183862bcd1aSmrg 2184862bcd1aSmrg https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html 2185862bcd1aSmrg 2186862bcd1aSmrgcommit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0 2187862bcd1aSmrgAuthor: Mihail Konev <k.mvc@ya.ru> 2188862bcd1aSmrgDate: Fri Feb 10 18:48:18 2017 +0500 2189862bcd1aSmrg 2190862bcd1aSmrg Compose sequences for rouble sign 2191862bcd1aSmrg 2192862bcd1aSmrg Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout. 2193862bcd1aSmrg Also add Cyrillic sequences for hryvnia sign. 2194862bcd1aSmrg 2195862bcd1aSmrg Submitted-by: Victor V. Kustov <coyote@bks.tv> 2196862bcd1aSmrg Reviewed-by: Victor V. Kustov <coyote@bks.tv> 2197862bcd1aSmrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 2198862bcd1aSmrg 2199862bcd1aSmrgcommit 23d9623c661694aba8cf1e8f277dffa7a86cf065 2200862bcd1aSmrgAuthor: Petr Písař <petr.pisar@atlas.cz> 2201862bcd1aSmrgDate: Sun Oct 30 12:49:11 2016 +0100 2202862bcd1aSmrg 2203862bcd1aSmrg Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8 2204862bcd1aSmrg 2205862bcd1aSmrg The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8 2206862bcd1aSmrg locale and reporting this error: 2207862bcd1aSmrg 2208862bcd1aSmrg Warning: locale not supported by Xlib, locale set to C 2209862bcd1aSmrg 2210862bcd1aSmrg Therefore this patch reverts to the en_US.UTF-8 definition file that was used 2211862bcd1aSmrg before. This patch also deduplicates the cs_CZ.UTF-8 entry. 2212862bcd1aSmrg 2213862bcd1aSmrg <https://bugs.freedesktop.org/show_bug.cgi?id=98219> 2214862bcd1aSmrg 2215862bcd1aSmrg This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 2216862bcd1aSmrg 2217862bcd1aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 2218862bcd1aSmrg 2219862bcd1aSmrgcommit 71b0929ebc1f0f877f63e3f6de260f529daa6c69 2220862bcd1aSmrgAuthor: Mihail Konev <k.mvc@ya.ru> 2221862bcd1aSmrgDate: Thu Jan 26 13:52:49 2017 +1000 2222862bcd1aSmrg 2223862bcd1aSmrg autogen: add default patch prefix 2224862bcd1aSmrg 2225862bcd1aSmrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 2226862bcd1aSmrg 2227862bcd1aSmrgcommit 2979011bc170c55894b9185b26376f8efc6db7d4 2228862bcd1aSmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com> 2229862bcd1aSmrgDate: Mon Mar 9 12:00:52 2015 +0000 2230862bcd1aSmrg 2231862bcd1aSmrg autogen.sh: use quoted string variables 2232862bcd1aSmrg 2233862bcd1aSmrg Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 2234862bcd1aSmrg fall-outs, when they contain space. 2235862bcd1aSmrg 2236862bcd1aSmrg Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 2237862bcd1aSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 2238862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2239862bcd1aSmrg 2240862bcd1aSmrgcommit 4a0082a1b6affa65d38294f0e13511525cd8ad15 2241862bcd1aSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 2242862bcd1aSmrgDate: Tue Jan 24 10:32:07 2017 +1000 2243862bcd1aSmrg 2244862bcd1aSmrg autogen.sh: use exec instead of waiting for configure to finish 2245862bcd1aSmrg 2246862bcd1aSmrg Syncs the invocation of configure with the one from the server. 2247862bcd1aSmrg 2248862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2249862bcd1aSmrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 2250862bcd1aSmrg 2251862bcd1aSmrgcommit c74b070f2712c95f0db7c320a10232b0e5c83049 2252862bcd1aSmrgAuthor: Julien Cristau <jcristau@debian.org> 2253862bcd1aSmrgDate: Sat Jan 7 16:20:31 2017 +0100 2254862bcd1aSmrg 2255862bcd1aSmrg Fix wrong Xfree in XListFonts failure path 2256862bcd1aSmrg 2257862bcd1aSmrg 'ch' gets moved inside the allocated buffer as we're looping through 2258862bcd1aSmrg fonts, so keep a reference to the start of the buffer so we can pass 2259862bcd1aSmrg that to Xfree in the failure case. 2260862bcd1aSmrg 2261862bcd1aSmrg Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak" 2262862bcd1aSmrg 2263862bcd1aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 2264862bcd1aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2265862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2266862bcd1aSmrg 2267862bcd1aSmrgcommit 663f47075fe67bab4f99bc5d186c49175d4a4334 2268862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2269862bcd1aSmrgDate: Sun Jan 1 20:57:58 2017 -0800 2270862bcd1aSmrg 2271862bcd1aSmrg specs/libX11: Update Portability Considerations for the 21st century 2272862bcd1aSmrg 2273862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2274862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2275862bcd1aSmrg 2276862bcd1aSmrgcommit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c 2277862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2278862bcd1aSmrgDate: Sun Jan 1 20:39:53 2017 -0800 2279862bcd1aSmrg 2280862bcd1aSmrg specs/libX11: Fix broken synopsis for Data/Data16/Data32 2281862bcd1aSmrg 2282862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2283862bcd1aSmrg 2284862bcd1aSmrgcommit 382561951e3460b09c21a1a23748cde0315fbb19 2285862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2286862bcd1aSmrgDate: Sun Jan 1 20:31:54 2017 -0800 2287862bcd1aSmrg 2288862bcd1aSmrg specs/libX11: Add missing parameter types for XGetWindowProperty() 2289862bcd1aSmrg 2290862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2291862bcd1aSmrg 2292862bcd1aSmrgcommit 2beaecdb66965b861d6b790d151ba947f65f0a22 2293862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2294862bcd1aSmrgDate: Sun Jan 1 20:16:08 2017 -0800 2295862bcd1aSmrg 2296862bcd1aSmrg specs/libX11: Make paramdef spacing more consistent 2297862bcd1aSmrg 2298862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2299862bcd1aSmrg 2300862bcd1aSmrgcommit 4c436c6c14cfd4c397b011563bf13c2872861133 2301862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2302862bcd1aSmrgDate: Sun Jan 1 20:02:53 2017 -0800 2303862bcd1aSmrg 2304862bcd1aSmrg specs/libX11: Fix paramdef entries listing multiple parameters 2305862bcd1aSmrg 2306862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2307862bcd1aSmrg 2308862bcd1aSmrgcommit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107 2309862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2310862bcd1aSmrgDate: Sun Jan 1 19:38:40 2017 -0800 2311862bcd1aSmrg 2312862bcd1aSmrg specs/libX11: More synopsis fixes 2313862bcd1aSmrg 2314862bcd1aSmrg Mostly transforming macro definitions and functions taking void arguments 2315862bcd1aSmrg from undecorated <para> tags to use <funcsynopsis> tags to get decorations. 2316862bcd1aSmrg 2317862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2318862bcd1aSmrg 2319862bcd1aSmrgcommit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9 2320862bcd1aSmrgAuthor: Lucien Gentis <lucien.gentis@waika9.com> 2321862bcd1aSmrgDate: Wed Jun 1 17:02:47 2016 +0200 2322862bcd1aSmrg 2323862bcd1aSmrg Typos in "Xlib - C Language X Interface" document - Chapter 02 2324862bcd1aSmrg 2325862bcd1aSmrg This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02. 2326862bcd1aSmrg 2327862bcd1aSmrg Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com> 2328862bcd1aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2329862bcd1aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2330862bcd1aSmrg 2331862bcd1aSmrgcommit 20a3f99eba5001925b8b313da3accb7900eb1927 2332862bcd1aSmrgAuthor: Emilio Pozuelo Monfort <pochu@debian.org> 2333862bcd1aSmrgDate: Tue Oct 25 21:30:15 2016 +0200 2334862bcd1aSmrg 2335862bcd1aSmrg Plug a memory leak 2336862bcd1aSmrg 2337862bcd1aSmrg This was introduced in 8ea762f. 2338862bcd1aSmrg 2339862bcd1aSmrg Reported-by: Julien Cristau <jcristau@debian.org> 2340862bcd1aSmrg Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org> 2341862bcd1aSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 2342862bcd1aSmrg 23432d67cb4fSmrgcommit 8f349feac24aacc958bd816afcc52380764e3d92 23442d67cb4fSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 23452d67cb4fSmrgDate: Tue Oct 4 21:01:39 2016 +0200 23462d67cb4fSmrg 23472d67cb4fSmrg libX11 1.6.4 23482d67cb4fSmrg 23492d67cb4fSmrg Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 23502d67cb4fSmrg 23512d67cb4fSmrgcommit 8ea762f94f4c942d898fdeb590a1630c83235c17 23522d67cb4fSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 23532d67cb4fSmrgDate: Sun Sep 25 21:25:25 2016 +0200 23542d67cb4fSmrg 23552d67cb4fSmrg Validation of server responses in XGetImage() 23562d67cb4fSmrg 23572d67cb4fSmrg Check if enough bytes were received for specified image type and 23582d67cb4fSmrg geometry. Otherwise GetPixel and other functions could trigger an 23592d67cb4fSmrg out of boundary read later on. 23602d67cb4fSmrg 23612d67cb4fSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 23622d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 23632d67cb4fSmrg 23642d67cb4fSmrgcommit 8c29f1607a31dac0911e45a0dd3d74173822b3c9 23652d67cb4fSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 23662d67cb4fSmrgDate: Sun Sep 25 21:22:57 2016 +0200 23672d67cb4fSmrg 23682d67cb4fSmrg The validation of server responses avoids out of boundary accesses. 23692d67cb4fSmrg 23702d67cb4fSmrg v2: FontNames.c return a NULL list whenever a single 23712d67cb4fSmrg length field from the server is incohent. 23722d67cb4fSmrg 23732d67cb4fSmrg Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> 23742d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 23752d67cb4fSmrg 23762d67cb4fSmrgcommit 78851f6a03130e3c720b60c3cbf96f8eb216d741 23772d67cb4fSmrgAuthor: walter harms <wharms@bfs.de> 23782d67cb4fSmrgDate: Mon Aug 15 19:18:14 2016 +0200 23792d67cb4fSmrg 23802d67cb4fSmrg XFree will accept NULL as argument 23812d67cb4fSmrg 23822d67cb4fSmrg since Xfree is a define for free(): 23832d67cb4fSmrg Xlibint.h:#define Xfree(ptr) free((ptr)) 23842d67cb4fSmrg 23852d67cb4fSmrg Xfree will accept NULL and do nothing. 23862d67cb4fSmrg 23872d67cb4fSmrg Signed-off-by: Hans de Goede <hdegoede@redhat.com> 23882d67cb4fSmrg 23892d67cb4fSmrgcommit 83adf3d1e3d0d6602244381334f75c216da4ab6e 23902d67cb4fSmrgAuthor: Matthew D. Fuller <fullermd@over-yonder.net> 23912d67cb4fSmrgDate: Sat Jun 4 11:24:01 2016 -0500 23922d67cb4fSmrg 23932d67cb4fSmrg Fixup param specification for XChangeProperty() 23942d67cb4fSmrg 23952d67cb4fSmrg Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net> 23962d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 23972d67cb4fSmrg 23982d67cb4fSmrgcommit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c 23992d67cb4fSmrgAuthor: Mats Blakstad <mats.gbproject@gmail.com> 24002d67cb4fSmrgDate: Sun Feb 28 13:22:03 2016 -0500 24012d67cb4fSmrg 24022d67cb4fSmrg New compose keys for local languages in Togo 24032d67cb4fSmrg 24042d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 24052d67cb4fSmrg 24062d67cb4fSmrgcommit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9 24072d67cb4fSmrgAuthor: Daniel Albers <daniel@lbe.rs> 24082d67cb4fSmrgDate: Wed Mar 9 14:35:48 2016 +0100 24092d67cb4fSmrg 24102d67cb4fSmrg Add Compose sequence for U+1F4A9. 24112d67cb4fSmrg 24122d67cb4fSmrg Signed-off-by: Daniel Albers <daniel@lbe.rs> 24132d67cb4fSmrg 24142d67cb4fSmrgcommit 6d7bb040c928485f2557c2c914b95cffb2354179 24152d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24162d67cb4fSmrgDate: Sat Feb 6 14:18:32 2016 -0800 24172d67cb4fSmrg 24182d67cb4fSmrg xcms: use size_t for pointer offsets passed to strncmp 24192d67cb4fSmrg 24202d67cb4fSmrg instead of converting to int and back 24212d67cb4fSmrg 24222d67cb4fSmrg Fixes clang warnings of the form: 24232d67cb4fSmrg HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to 24242d67cb4fSmrg 'unsigned long' [-Wsign-conversion] 24252d67cb4fSmrg if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) { 24262d67cb4fSmrg ~~~~~~~ 24272d67cb4fSmrg 24282d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24292d67cb4fSmrg 24302d67cb4fSmrgcommit a9266804eed38a83897ab5f0f9f8a8ab82a98882 24312d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24322d67cb4fSmrgDate: Sat Feb 6 13:32:44 2016 -0800 24332d67cb4fSmrg 24342d67cb4fSmrg xcms: use unsigned indexes when looping through unsigned values 24352d67cb4fSmrg 24362d67cb4fSmrg Clears many gcc warnings of the form: 24372d67cb4fSmrg 24382d67cb4fSmrg uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’: 24392d67cb4fSmrg uvY.c:263:19: warning: comparison between signed and unsigned integer 24402d67cb4fSmrg expressions [-Wsign-compare] 24412d67cb4fSmrg for (i = 0; i < nColors; i++, pColor++) { 24422d67cb4fSmrg ^ 24432d67cb4fSmrg 24442d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24452d67cb4fSmrg 24462d67cb4fSmrgcommit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397 24472d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24482d67cb4fSmrgDate: Sat Feb 6 13:01:25 2016 -0800 24492d67cb4fSmrg 24502d67cb4fSmrg xcms: use size_t for strlen/sizeof values instead of converting to int & back 24512d67cb4fSmrg 24522d67cb4fSmrg Fixes gcc warnings of the form: 24532d67cb4fSmrg 24542d67cb4fSmrg IdOfPr.c: In function ‘XcmsFormatOfPrefix’: 24552d67cb4fSmrg IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 24562d67cb4fSmrg if ((len = strlen(prefix)) >= sizeof(string_buf)) { 24572d67cb4fSmrg ^ 24582d67cb4fSmrg IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 24592d67cb4fSmrg if (len >= sizeof(string_buf)) Xfree(string_lowered); 24602d67cb4fSmrg ^ 24612d67cb4fSmrg IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 24622d67cb4fSmrg if (len >= sizeof(string_buf)) Xfree(string_lowered); 24632d67cb4fSmrg ^ 24642d67cb4fSmrg IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 24652d67cb4fSmrg if (len >= sizeof(string_buf)) Xfree(string_lowered); 24662d67cb4fSmrg ^ 24672d67cb4fSmrg 24682d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24692d67cb4fSmrg 24702d67cb4fSmrgcommit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d 24712d67cb4fSmrgAuthor: Dominik Muth <nxdomainuser-muth@yahoo.com> 24722d67cb4fSmrgDate: Thu Mar 26 07:52:58 2015 +0100 24732d67cb4fSmrg 24742d67cb4fSmrg Xlib.h: Fix macros imitating C functions. 24752d67cb4fSmrg 24762d67cb4fSmrg The basic rule "put parantheses around macro parameters" should be 24772d67cb4fSmrg observed where possible. Otherwise code like 24782d67cb4fSmrg 24792d67cb4fSmrg ConnectionNumber(foo = bar); 24802d67cb4fSmrg 24812d67cb4fSmrg fails to compile. (It obviously passes if ConnectionNumber is a C 24822d67cb4fSmrg function.) There are several other macros amended for the same reason. 24832d67cb4fSmrg 24842d67cb4fSmrg This bug appeared while building http://ioccc.org/1993/cmills.c, so 24852d67cb4fSmrg historically it was not present. 24862d67cb4fSmrg 24872d67cb4fSmrg Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz> 24882d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24892d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24902d67cb4fSmrg 24912d67cb4fSmrgcommit 3706b0f2b14cc97578a6bee620266edca2722ebf 24922d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 24932d67cb4fSmrgDate: Fri Nov 15 18:03:25 2013 -0800 24942d67cb4fSmrg 24952d67cb4fSmrg Don't need to link libX11-xcb against libX11 24962d67cb4fSmrg 24972d67cb4fSmrg libX11-xcb only accesses data structures defined in X11 headers, 24982d67cb4fSmrg it doesn't call any functions or reference any global variables 24992d67cb4fSmrg in libX11 itself. (Seems to have been left from previous XCL 25002d67cb4fSmrg implementation.) 25012d67cb4fSmrg 25022d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25032d67cb4fSmrg 25042d67cb4fSmrgcommit eddf1bbd18872b286a9f939140f0cd9ba4e93804 25052d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25062d67cb4fSmrgDate: Fri Jan 22 11:44:25 2016 -0800 25072d67cb4fSmrg 25082d67cb4fSmrg Stop checking for preferred order of local transports 25092d67cb4fSmrg 25102d67cb4fSmrg Removes --with-local-transport-order=... flag to configure. 25112d67cb4fSmrg 25122d67cb4fSmrg Code which used this ordered list was removed in commit 15e5eaf6289 25132d67cb4fSmrg which outsourced X11 connection handling & authentication to libxcb. 25142d67cb4fSmrg 25152d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25162d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 25172d67cb4fSmrg 25182d67cb4fSmrgcommit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8 25192d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25202d67cb4fSmrgDate: Fri Jan 22 09:39:28 2016 -0800 25212d67cb4fSmrg 25222d67cb4fSmrg Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them 25232d67cb4fSmrg 25242d67cb4fSmrg Removes --enable-secure-rpc & --disable-secure-rpc flags to configure 25252d67cb4fSmrg 25262d67cb4fSmrg Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289 25272d67cb4fSmrg which outsourced X11 connection handling & authentication to libxcb. 25282d67cb4fSmrg 25292d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25302d67cb4fSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 25312d67cb4fSmrg 25322d67cb4fSmrgcommit 7eb724dc24505f1591ef32620fa63f079b540646 25332d67cb4fSmrgAuthor: Olivier Fourdan <ofourdan@redhat.com> 25342d67cb4fSmrgDate: Thu Jan 21 11:54:19 2016 +0100 25352d67cb4fSmrg 25362d67cb4fSmrg XKB: fix XkbGetKeyboardByName with Xming server 25372d67cb4fSmrg 25382d67cb4fSmrg XkbGetKeyboardByName relies on flags to read the data from the server. 25392d67cb4fSmrg 25402d67cb4fSmrg If the X server sends us the wrong flags or if a subreply is smaller 25412d67cb4fSmrg than it should be, XkbGetKeyboardByName will not read all the available 25422d67cb4fSmrg data and leave data in the buffer, which will cause the next _XReply() 25432d67cb4fSmrg to fail with: 25442d67cb4fSmrg 25452d67cb4fSmrg [xcb] Extra reply data still left in queue 25462d67cb4fSmrg [xcb] This is most likely caused by a broken X extension library 25472d67cb4fSmrg [xcb] Aborting, sorry about that. 25482d67cb4fSmrg xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed. 25492d67cb4fSmrg Aborted 25502d67cb4fSmrg 25512d67cb4fSmrg Check if there is some extra data left at the end of 25522d67cb4fSmrg XkbGetKeyboardByName() and discard that data if any is found. 25532d67cb4fSmrg 25542d67cb4fSmrg Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the 25552d67cb4fSmrg root cause of the issue and Adam Jackson <ajax@redhat.com> for helping 25562d67cb4fSmrg with the analysis! 25572d67cb4fSmrg 25582d67cb4fSmrg Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 25592d67cb4fSmrg Reviewed-by: Daniel Stone <daniels@collabora.com> 25602d67cb4fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 25612d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 25622d67cb4fSmrg 25632d67cb4fSmrgcommit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9 25642d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25652d67cb4fSmrgDate: Sat Dec 19 18:03:41 2015 -0800 25662d67cb4fSmrg 25672d67cb4fSmrg lcPubWrap: replace malloc(strlen) + strcpy with strdup 25682d67cb4fSmrg 25692d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25702d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 25712d67cb4fSmrg 25722d67cb4fSmrgcommit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a 25732d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25742d67cb4fSmrgDate: Sat Dec 19 10:21:04 2015 -0800 25752d67cb4fSmrg 25762d67cb4fSmrg XlcDL.c: reduce code duplication 25772d67cb4fSmrg 25782d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25792d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 25802d67cb4fSmrg 25812d67cb4fSmrgcommit f7ecc0856be58608881d2086954cb71857ad64e1 25822d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25832d67cb4fSmrgDate: Sat Dec 19 10:19:25 2015 -0800 25842d67cb4fSmrg 25852d67cb4fSmrg XlcDL.c: replace strcpy+strcat sequences with snprintf 25862d67cb4fSmrg 25872d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25882d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 25892d67cb4fSmrg 25902d67cb4fSmrgcommit 522989b34398bd6a6ea144c4af0ba69d6dc4faea 25912d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 25922d67cb4fSmrgDate: Sat Dec 19 10:05:42 2015 -0800 25932d67cb4fSmrg 25942d67cb4fSmrg XDefaultOMIF: Remove comments referring to ancient Sun bug ids 25952d67cb4fSmrg 25962d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 25972d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 25982d67cb4fSmrg 25992d67cb4fSmrgcommit b738a104ae80e4270dd1d215ad0c6a80016982c2 26002d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26012d67cb4fSmrgDate: Sat Dec 19 10:00:22 2015 -0800 26022d67cb4fSmrg 26032d67cb4fSmrg XDefaultOMIF: additional code simplification 26042d67cb4fSmrg 26052d67cb4fSmrg Don't need to test for a case that we already returned for, don't need 26062d67cb4fSmrg to store a count that will only ever be 1 if we didn't return, don't 26072d67cb4fSmrg need to increment pointers to allow storing more than one item when we 26082d67cb4fSmrg can only ever possibly do one. 26092d67cb4fSmrg 26102d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26112d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 26122d67cb4fSmrg 26132d67cb4fSmrgcommit 31011cf100419269eae7409581c784638be503cf 26142d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26152d67cb4fSmrgDate: Sat Dec 19 09:46:31 2015 -0800 26162d67cb4fSmrg 26172d67cb4fSmrg XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup 26182d67cb4fSmrg 26192d67cb4fSmrg Code seems to have been originally written to handle appending multiple 26202d67cb4fSmrg strings, but only ever operates on a single string. 26212d67cb4fSmrg 26222d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26232d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 26242d67cb4fSmrg 26252d67cb4fSmrgcommit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09 26262d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26272d67cb4fSmrgDate: Sat Dec 19 09:20:55 2015 -0800 26282d67cb4fSmrg 26292d67cb4fSmrg Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM 26302d67cb4fSmrg 26312d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26322d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 26332d67cb4fSmrg 26342d67cb4fSmrgcommit 4359dfabc04af082872d2bc2d5b52e26d6d93290 26352d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26362d67cb4fSmrgDate: Fri Dec 4 22:20:53 2015 -0800 26372d67cb4fSmrg 26382d67cb4fSmrg Delete #if 0 hunks of code 26392d67cb4fSmrg 26402d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26412d67cb4fSmrg 26422d67cb4fSmrgcommit a2f9dfac286f37e54eb47d4736cc3f0150224a84 26432d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26442d67cb4fSmrgDate: Thu Dec 3 23:38:07 2015 -0800 26452d67cb4fSmrg 26462d67cb4fSmrg Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths 26472d67cb4fSmrg 26482d67cb4fSmrg Rework code to store allocations directly into XIM struct instead of 26492d67cb4fSmrg temporary local variables, so we can use _XCloseIM to unwind instead 26502d67cb4fSmrg of duplicating it, and consistently jump to error handler on failure, 26512d67cb4fSmrg instead of sometimes leaking and sometimes freeing. 26522d67cb4fSmrg 26532d67cb4fSmrg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183 26542d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26552d67cb4fSmrg 26562d67cb4fSmrgcommit 07a97b3944467dce085a1efd24706cc851d2caf2 26572d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26582d67cb4fSmrgDate: Thu Dec 3 23:19:48 2015 -0800 26592d67cb4fSmrg 26602d67cb4fSmrg Bug 93184: read_EncodingInfo invalid free 26612d67cb4fSmrg 26622d67cb4fSmrg Free the correct bits of memory if we run out and need to unwind 26632d67cb4fSmrg 26642d67cb4fSmrg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184 26652d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26662d67cb4fSmrg 26672d67cb4fSmrgcommit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1 26682d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26692d67cb4fSmrgDate: Sat Nov 28 13:18:11 2015 -0800 26702d67cb4fSmrg 26712d67cb4fSmrg Remove unused definition of XCONN_CHECK_FREQ 26722d67cb4fSmrg 26732d67cb4fSmrg The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179 26742d67cb4fSmrg when we dropped the old Xlib connection handling in favor of xcb's. 26752d67cb4fSmrg 26762d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 26772d67cb4fSmrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 26782d67cb4fSmrg 26792d67cb4fSmrgcommit 5f0da8311a61498edf073cc877f5b467bfd5f863 26802d67cb4fSmrgAuthor: James Cloos <cloos@jhcloos.com> 26812d67cb4fSmrgDate: Thu Dec 3 18:24:44 2015 -0500 26822d67cb4fSmrg 26832d67cb4fSmrg Fix another missing update in cf4d5989383a 26842d67cb4fSmrg 26852d67cb4fSmrg Reported in: 26862d67cb4fSmrg 26872d67cb4fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 26882d67cb4fSmrg 26892d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 26902d67cb4fSmrg 26912d67cb4fSmrgcommit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51 26922d67cb4fSmrgAuthor: James Cloos <cloos@jhcloos.com> 26932d67cb4fSmrgDate: Thu Dec 3 18:15:40 2015 -0500 26942d67cb4fSmrg 26952d67cb4fSmrg Fix missing update in cf4d5989383a 26962d67cb4fSmrg 26972d67cb4fSmrg Reported in: 26982d67cb4fSmrg 26992d67cb4fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7 27002d67cb4fSmrg 27012d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 27022d67cb4fSmrg 27032d67cb4fSmrgcommit dbcb847a08c44d99e4e1de2ba777d63238fb0e03 27042d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 27052d67cb4fSmrgDate: Sun Sep 27 18:38:32 2015 -0700 27062d67cb4fSmrg 27072d67cb4fSmrg Get rid of some extraneous ; at the end of C source lines 27082d67cb4fSmrg 27092d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27102d67cb4fSmrg Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 27112d67cb4fSmrg 27122d67cb4fSmrgcommit 121a1bad334459f66f78bfca6df53dc841cf97f8 27132d67cb4fSmrgAuthor: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 27142d67cb4fSmrgDate: Wed Sep 23 11:44:55 2015 -0400 27152d67cb4fSmrg 27162d67cb4fSmrg Add compose file for pt_PT similar to pt_BR 27172d67cb4fSmrg 27182d67cb4fSmrg This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056 27192d67cb4fSmrg 27202d67cb4fSmrg One of the conclusions from the discussion on that bug report, which 27212d67cb4fSmrg basically is about typing the ccedilla character easily on a non- 27222d67cb4fSmrg Portuguese keyboard, is that X11 should include a compose file for 27232d67cb4fSmrg pt_PT.UTF-8 similar to the file for pt_BR.UTF-8. 27242d67cb4fSmrg 27252d67cb4fSmrg FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300 27262d67cb4fSmrg 27272d67cb4fSmrg Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> 27282d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 27292d67cb4fSmrg 27302d67cb4fSmrgcommit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904 27312d67cb4fSmrgAuthor: Julien Cristau <jcristau@debian.org> 27322d67cb4fSmrgDate: Fri May 1 13:50:15 2015 +0200 27332d67cb4fSmrg 27342d67cb4fSmrg Mark _XNextRequest as hidden 27352d67cb4fSmrg 27362d67cb4fSmrg It's only used inside XNextRequest(), so doesn't need to be exported. 27372d67cb4fSmrg 27382d67cb4fSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 27392d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27402d67cb4fSmrg 27412d67cb4fSmrgcommit a72d2d06c002b644b7040a0a9936c8525e092ba8 27422d67cb4fSmrgAuthor: Christian Linhart <chris@demorecorder.com> 27432d67cb4fSmrgDate: Mon Sep 7 17:17:32 2015 +0200 27442d67cb4fSmrg 27452d67cb4fSmrg fix for Xlib 32-bit request number issues 27462d67cb4fSmrg 27472d67cb4fSmrg Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid 27482d67cb4fSmrg the 32-bit sequence number wrap in libX11. 27492d67cb4fSmrg 27502d67cb4fSmrg Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338 27512d67cb4fSmrg Signed-off-by: Christian Linhart <chris@demorecorder.com> 27522d67cb4fSmrg Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> 27532d67cb4fSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 27542d67cb4fSmrg 27552d67cb4fSmrgcommit 58af066a764305c506efea7065ef7679369a1a98 27562d67cb4fSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 27572d67cb4fSmrgDate: Sun Jul 19 10:23:21 2015 +0200 27582d67cb4fSmrg 27592d67cb4fSmrg Ignore test-driver (used by newer autoconf). 27602d67cb4fSmrg 27612d67cb4fSmrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 27622d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27632d67cb4fSmrg 27642d67cb4fSmrgcommit 80b9a346b9ba200fa4652560282e80d249519287 27652d67cb4fSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 27662d67cb4fSmrgDate: Sun Jul 19 10:22:45 2015 +0200 27672d67cb4fSmrg 27682d67cb4fSmrg Do not return() after exit(). 27692d67cb4fSmrg 27702d67cb4fSmrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 27712d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27722d67cb4fSmrg 27732d67cb4fSmrgcommit c827edcd1c4a7f920aa25208083b5b58d60d2b44 27742d67cb4fSmrgAuthor: Ross Burton <ross.burton@intel.com> 27752d67cb4fSmrgDate: Mon May 18 14:49:01 2015 +0100 27762d67cb4fSmrg 27772d67cb4fSmrg Add missing NULL checks to ICWrap 27782d67cb4fSmrg 27792d67cb4fSmrg ICWrap.c dereferences the xim parameter passed in from client code without a 27802d67cb4fSmrg NULL check. I have seen mplayer trigger this resulting in a segfault. In this 27812d67cb4fSmrg case mplayer had called XOpenIM and NULL was returned which was later passed 27822d67cb4fSmrg into XCreateIC. 27832d67cb4fSmrg 27842d67cb4fSmrg Patch originally by Drew Moseley <drew_moseley@mentor.com>. 27852d67cb4fSmrg 27862d67cb4fSmrg Signed-off-by: Ross Burton <ross.burton@intel.com> 27872d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27882d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27892d67cb4fSmrg 27902d67cb4fSmrgcommit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9 27912d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 27922d67cb4fSmrgDate: Thu Jun 4 20:51:17 2015 -0700 27932d67cb4fSmrg 27942d67cb4fSmrg Replace Xmalloc+memset pairs with Xcalloc calls 27952d67cb4fSmrg 27962d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27972d67cb4fSmrg 27982d67cb4fSmrgcommit f0286b2770ece10aef5e2e8c004260217f12fd25 27992d67cb4fSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com> 28002d67cb4fSmrgDate: Thu Jun 4 19:07:12 2015 -0700 28012d67cb4fSmrg 28022d67cb4fSmrg omGeneric.c: Correct the parameter usage of sizeof 28032d67cb4fSmrg 28042d67cb4fSmrg Incorrect parameter usage with sizeof. Earlier passed argument FontData 28052d67cb4fSmrg will be 4 bytes always as its a pointer hence the change is needed and 28062d67cb4fSmrg FontDataRec should be used for memset. 28072d67cb4fSmrg 28082d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 28092d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 28102d67cb4fSmrg 28112d67cb4fSmrgcommit 47da70d75f9e48e800719c0db752f9ccd2d77aea 28122d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 28132d67cb4fSmrgDate: Tue May 19 12:30:22 2015 +1000 28142d67cb4fSmrg 28152d67cb4fSmrg Fix three "use of uninitialized variable" coverity warnings 28162d67cb4fSmrg 28172d67cb4fSmrg False positive, if rlen/nbytes are unset we quit early before using it. Still, 28182d67cb4fSmrg initialize it so we don't have to deal with these warnings again. 28192d67cb4fSmrg 28202d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 28212d67cb4fSmrg Reviewed-by: Hans de Goede <hdegoede@redhat.com> 28222d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 28232d67cb4fSmrg 28242d67cb4fSmrgcommit 19a30f17f30e9ae9641a7c0634fc52134208b060 28252d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 28262d67cb4fSmrgDate: Mon May 18 07:56:22 2015 +1000 28272d67cb4fSmrg 28282d67cb4fSmrg Fix an indentation issue 28292d67cb4fSmrg 28302d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 28312d67cb4fSmrg Reviewed-by: Hans de Goede <hdegoede@redhat.com> 28322d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 28332d67cb4fSmrg 28342d67cb4fSmrgcommit 013ccece124b990217ad3bcf2c41688e8fda1df8 28352d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 28362d67cb4fSmrgDate: Mon May 18 07:55:17 2015 +1000 28372d67cb4fSmrg 28382d67cb4fSmrg Fix potential memory leak 28392d67cb4fSmrg 28402d67cb4fSmrg If we hit the depth limit, filename leaks. Move the depth check up before we 28412d67cb4fSmrg allocate filename. 28422d67cb4fSmrg Introduced in 226622349a4b1e16064649d4444a34fb4be4f464. 28432d67cb4fSmrg 28442d67cb4fSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 28452d67cb4fSmrg Reviewed-by: Hans de Goede <hdegoede@redhat.com> 28462d67cb4fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 28472d67cb4fSmrg 28482d67cb4fSmrgcommit d3415d1f052530760b4617db45affcb984cfe35c 28492d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com> 28502d67cb4fSmrgDate: Mon Apr 20 17:59:30 2015 +0200 28512d67cb4fSmrg 28522d67cb4fSmrg Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93 28532d67cb4fSmrg 28542d67cb4fSmrg Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN 28552d67cb4fSmrg locales fixed it only partly, I introduced a new spelling mistake 28562d67cb4fSmrg in the sd_IN locales. This patch fixes this. 28572d67cb4fSmrg 28582d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 28592d67cb4fSmrg 28602d67cb4fSmrgcommit 748d47e69f5c12d8557d56a8a8ec166588da7b93 28612d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com> 28622d67cb4fSmrgDate: Wed Feb 19 11:46:45 2014 +0100 28632d67cb4fSmrg 28642d67cb4fSmrg fix spelling mistakes in ks_IN and sd_IN devanagari locales 28652d67cb4fSmrg 28662d67cb4fSmrg The codeset must be *before* the modifier. 28672d67cb4fSmrg 28682d67cb4fSmrg See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html 28692d67cb4fSmrg 28702d67cb4fSmrg opengroup> The syntax for these environment variables is thus defined as: 28712d67cb4fSmrg opengroup> 28722d67cb4fSmrg opengroup> [language[_territory][.codeset][@modifier]] 28732d67cb4fSmrg 28742d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 28752d67cb4fSmrg 28762d67cb4fSmrgcommit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09 28772d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com> 28782d67cb4fSmrgDate: Wed Feb 19 11:50:55 2014 +0100 28792d67cb4fSmrg 28802d67cb4fSmrg add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir 28812d67cb4fSmrg 28822d67cb4fSmrg See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910 28832d67cb4fSmrg 28842d67cb4fSmrg If these are not in locale.dir, 28852d67cb4fSmrg 28862d67cb4fSmrg $ LANG=sr_RS.UTF-8@latin xterm 28872d67cb4fSmrg 28882d67cb4fSmrg and 28892d67cb4fSmrg 28902d67cb4fSmrg $ LANG=sr_RS@latin xterm 28912d67cb4fSmrg 28922d67cb4fSmrg give the warning: 28932d67cb4fSmrg 28942d67cb4fSmrg Warning: locale not supported by Xlib, locale set to C 28952d67cb4fSmrg 28962d67cb4fSmrg and some programs (like xmms) fail to find translations for Serbian 28972d67cb4fSmrg in Latin because of this. 28982d67cb4fSmrg 28992d67cb4fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 29002d67cb4fSmrg 29012d67cb4fSmrgcommit c85be01b006126c4407eebd1eb6e01a17312b7b4 29022d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 29032d67cb4fSmrgDate: Sun Mar 22 16:46:45 2015 -0700 29042d67cb4fSmrg 29052d67cb4fSmrg Move Compose \ o / to be with other emoji compose sequences 29062d67cb4fSmrg 29072d67cb4fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 29082d67cb4fSmrg 29090f8248bfSmrgcommit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5 29100f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 29110f8248bfSmrgDate: Mon Mar 9 15:28:29 2015 -0700 29120f8248bfSmrg 29130f8248bfSmrg libX11 1.6.3 29140f8248bfSmrg 29150f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 29160f8248bfSmrg 29170f8248bfSmrgcommit c8e19b393defd53f046ddc2da3a16881221b3c34 29180f8248bfSmrgAuthor: Joonas Javanainen <joonas.javanainen@gmail.com> 29190f8248bfSmrgDate: Thu Feb 5 17:31:04 2015 +0200 29200f8248bfSmrg 29210f8248bfSmrg Fix XErrorEvent struct field order in man page 29220f8248bfSmrg 29230f8248bfSmrg In the man page the field "resourceid" was in a different place than 29240f8248bfSmrg in the actual struct layout in Xlib.h 29250f8248bfSmrg 29260f8248bfSmrg Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com> 29270f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 29280f8248bfSmrg 29290f8248bfSmrgcommit ddf3b09bb262d01b56fbaade421ac85b0e60a69f 29300f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 29310f8248bfSmrgDate: Tue Feb 3 13:23:50 2015 -0500 29320f8248bfSmrg 29330f8248bfSmrg compose: fix the description of modifiers in compose sequences 29340f8248bfSmrg 29350f8248bfSmrg The Compose format has a feature which allows specifying certain 29360f8248bfSmrg modifiers must (or must not) be present with a given keysym in the 29370f8248bfSmrg sequence. 29380f8248bfSmrg 29390f8248bfSmrg The grammar in imLcPrs.c and the Compose man page both do not match what 29400f8248bfSmrg the code actually does (see the handling of the variables 29410f8248bfSmrg `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are 29420f8248bfSmrg eventually matched as `ev->state & modifier_mask == modifier`). 29430f8248bfSmrg 29440f8248bfSmrg Also explicitly list the accepted modifier names, since they are 29450f8248bfSmrg not standard (e.g. "Ctrl" instead of "Control"). 29460f8248bfSmrg 29470f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 29480f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 29490f8248bfSmrg 29500f8248bfSmrgcommit 129f13f385c50e3d8b53ea7441b17386b0f36aeb 29510f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 29520f8248bfSmrgDate: Tue Feb 3 13:23:49 2015 -0500 29530f8248bfSmrg 29540f8248bfSmrg xkb: fix misleading comment about consumed modifiers 29550f8248bfSmrg 29560f8248bfSmrg In the spec and the man page the `mods_rtrn` argument is described as 29570f8248bfSmrg "backfilled with unconsumed modifiers" but actually it is backfilled 29580f8248bfSmrg with the *consumed* modifiers. This is also mentioned a few lines below 29590f8248bfSmrg in each case. 29600f8248bfSmrg 29610f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 29620f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 29630f8248bfSmrg 29640f8248bfSmrgcommit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2 29650f8248bfSmrgAuthor: Ingo Schwarze <schwarze@usta.de> 29660f8248bfSmrgDate: Tue Dec 9 10:44:13 2014 +0100 29670f8248bfSmrg 29680f8248bfSmrg Fix pasto in XkbGetKeyBehaviors(3) manual 29690f8248bfSmrg 29700f8248bfSmrg Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 29710f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 29720f8248bfSmrg 29730f8248bfSmrgcommit f3831dde6972e4da9e018c6a5f4013d8756a5e78 29740f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 29750f8248bfSmrgDate: Sun Nov 23 21:35:36 2014 +0100 29760f8248bfSmrg 29770f8248bfSmrg nls: Sorting compose sequences rigorously in mirroring pairs, as is custom. 29780f8248bfSmrg 29790f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 29800f8248bfSmrg 29810f8248bfSmrgcommit a51681b60c84109fe19f5d449e13080522499324 29820f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 29830f8248bfSmrgDate: Thu Sep 19 16:42:01 2013 +0200 29840f8248bfSmrg 29850f8248bfSmrg nls: Remove a duplicate locale name, and sort some others more strictly. 29860f8248bfSmrg 29870f8248bfSmrg Also improve the grammar of the initial comment. 29880f8248bfSmrg 29890f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 29900f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 29910f8248bfSmrg 29920f8248bfSmrgcommit 426b7f850f5376db96a4b12420ee141603fcc3cd 29930f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 29940f8248bfSmrgDate: Fri Sep 20 12:37:29 2013 +0200 29950f8248bfSmrg 29960f8248bfSmrg nls: Add a comment to the block of accented Hebrew letters. 29970f8248bfSmrg 29980f8248bfSmrg And align them in a nicer manner. 29990f8248bfSmrg 30000f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 30010f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30020f8248bfSmrg 30030f8248bfSmrgcommit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335 30040f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 30050f8248bfSmrgDate: Fri Sep 20 12:05:09 2013 +0200 30060f8248bfSmrg 30070f8248bfSmrg nls: Add one lowercase compose variant for ®, to mirror those for ©. 30080f8248bfSmrg 30090f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 30100f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30110f8248bfSmrg 30120f8248bfSmrgcommit 18dcd13514fa538afefa78c93523d9dbd4688e74 30130f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 30140f8248bfSmrgDate: Sat Sep 7 20:10:43 2013 +0200 30150f8248bfSmrg 30160f8248bfSmrg nls: Adding the visual composing characters to two comment lines. 30170f8248bfSmrg 30180f8248bfSmrg The lines around them also contain the characters in the comments. 30190f8248bfSmrg 30200f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 30210f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30220f8248bfSmrg 30230f8248bfSmrgcommit 18d8307575af748913d5da17e3de45da2a22ede4 30240f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 30250f8248bfSmrgDate: Sat Sep 7 20:09:32 2013 +0200 30260f8248bfSmrg 30270f8248bfSmrg nls: Grouping a lone superscript minus together with its mates. 30280f8248bfSmrg 30290f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 30300f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30310f8248bfSmrg 30320f8248bfSmrgcommit 33301cc45e6a2b8aa841ed6325547af970f8c4db 30330f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 30340f8248bfSmrgDate: Sat Sep 7 19:53:38 2013 +0200 30350f8248bfSmrg 30360f8248bfSmrg nls: Grouping the compose sequences for Dstroke/dstroke together. 30370f8248bfSmrg 30380f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 30390f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30400f8248bfSmrg 30410f8248bfSmrgcommit 78fe1becb6c18fa33c0d5f04005b45d856f8952a 30420f8248bfSmrgAuthor: Gioele Barabucci <gioele@svario.it> 30430f8248bfSmrgDate: Sun Sep 21 23:05:55 2014 +0200 30440f8248bfSmrg 30450f8248bfSmrg Add compose sequence for U+20B9 INDIAN RUPEE SIGN 30460f8248bfSmrg 30470f8248bfSmrg The compose sequence for the new Indian Rupee sign is modelled after 30480f8248bfSmrg the sequence for the Euro sign. 30490f8248bfSmrg 30500f8248bfSmrg Signed-off-by: Gioele Barabucci <gioele@svario.it> 30510f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30520f8248bfSmrg 30530f8248bfSmrgcommit 6101b967b641355dd863fd1ce52c6a7d58bcbe68 30540f8248bfSmrgAuthor: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 30550f8248bfSmrgDate: Thu Jul 31 22:23:28 2014 -0300 30560f8248bfSmrg 30570f8248bfSmrg Add double-arrow compose sequence 30580f8248bfSmrg 30590f8248bfSmrg Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com> 30600f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 30610f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 30620f8248bfSmrg 30630f8248bfSmrgcommit 368a6401c6a3275d3497fec38a3dcbc38cd9df60 30640f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 30650f8248bfSmrgDate: Fri Aug 1 18:30:42 2014 -0400 30660f8248bfSmrg 30670f8248bfSmrg Add cs_CZ.UTF-8 locale to configure.ac 30680f8248bfSmrg 30690f8248bfSmrg Commit cf4d5989383a should have included this. 30700f8248bfSmrg 30710f8248bfSmrg Reported-by: Colin Harrison <colin.harrison@virgin.net> 30720f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30730f8248bfSmrg 30740f8248bfSmrgcommit cf4d5989383acc4ed1b7eebadde9f380f2129766 30750f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 30760f8248bfSmrgDate: Tue Jul 29 15:02:56 2014 -0400 30770f8248bfSmrg 30780f8248bfSmrg Add nls for cs_CZ.UTF-8 30790f8248bfSmrg 30800f8248bfSmrg Based on the iso8859-2 compose, and a bug report by Vladimír Marek, 30810f8248bfSmrg override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead 30820f8248bfSmrg to enter »ů«, and likewise for the majuscule, for the Czech locale. 30830f8248bfSmrg 30840f8248bfSmrg This evidently is the norm for Czech keyboards. 30850f8248bfSmrg 30860f8248bfSmrg Fixes bz#81875. 30870f8248bfSmrg 30880f8248bfSmrg The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for 30890f8248bfSmrg several other locales. That may require an update. 30900f8248bfSmrg 30910f8248bfSmrg Reported-by: Vladimír Marek <vlmarek@volny.cz> 30920f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 30930f8248bfSmrg 30940f8248bfSmrgcommit d9f569572bd14db31921471e7b877523b5cf1e4c 30950f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 30960f8248bfSmrgDate: Sat Jul 26 12:17:47 2014 -0700 30970f8248bfSmrg 30980f8248bfSmrg Fix source paths for out-of-tree lintlib builds 30990f8248bfSmrg 31000f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31010f8248bfSmrg 31020f8248bfSmrgcommit 0885cad1e4a9ed57266582be320be55259c881bf 31030f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31040f8248bfSmrgDate: Sun Jul 20 09:21:20 2014 -0700 31050f8248bfSmrg 31060f8248bfSmrg specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis> 31070f8248bfSmrg 31080f8248bfSmrg Matches the way they were styled in original doc, before conversion 31090f8248bfSmrg to DocBook. 31100f8248bfSmrg 31110f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31120f8248bfSmrg 31130f8248bfSmrgcommit d0a9e9d56bb003315787201ee525b4d00fd54e06 31140f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31150f8248bfSmrgDate: Sat Jul 19 23:55:47 2014 -0700 31160f8248bfSmrg 31170f8248bfSmrg specs/XKB: acknowledge my contributions 31180f8248bfSmrg 31190f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31200f8248bfSmrg 31210f8248bfSmrgcommit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b 31220f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31230f8248bfSmrgDate: Sat Jul 19 23:53:48 2014 -0700 31240f8248bfSmrg 31250f8248bfSmrg specs/XKB: Trim leading spaces off text lines 31260f8248bfSmrg 31270f8248bfSmrg perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml 31280f8248bfSmrg 31290f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31300f8248bfSmrg 31310f8248bfSmrgcommit 75b0b10990f38d966c6fcc821bf15e58c5a90c91 31320f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31330f8248bfSmrgDate: Sat Jul 19 20:30:55 2014 -0700 31340f8248bfSmrg 31350f8248bfSmrg specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb" 31360f8248bfSmrg 31370f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31380f8248bfSmrg 31390f8248bfSmrgcommit 5009621799444e9d1d284719f871d00be13e7330 31400f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31410f8248bfSmrgDate: Sat Jul 19 12:34:28 2014 -0700 31420f8248bfSmrg 31430f8248bfSmrg specs/XKB: Fix miscelleanous typos & spelling errors 31440f8248bfSmrg 31450f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31460f8248bfSmrg 31470f8248bfSmrgcommit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c 31480f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31490f8248bfSmrgDate: Sat Jul 19 00:46:41 2014 -0700 31500f8248bfSmrg 31510f8248bfSmrg specs/XKB: add some more indexterms by hand 31520f8248bfSmrg 31530f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31540f8248bfSmrg 31550f8248bfSmrgcommit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2 31560f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31570f8248bfSmrgDate: Sat Jul 19 00:48:02 2014 -0700 31580f8248bfSmrg 31590f8248bfSmrg specs/XKB: fixup various formatting issues in <programlisting>s 31600f8248bfSmrg 31610f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31620f8248bfSmrg 31630f8248bfSmrgcommit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d 31640f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31650f8248bfSmrgDate: Fri Jul 18 23:56:29 2014 -0700 31660f8248bfSmrg 31670f8248bfSmrg specs/XKB: fixup various formatting issues in <literallayout>s 31680f8248bfSmrg 31690f8248bfSmrg Including translating some that are really just lists into 31700f8248bfSmrg <simplelist> markup. 31710f8248bfSmrg 31720f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31730f8248bfSmrg 31740f8248bfSmrgcommit 94b56774784ac00b9db02403aecea10bb0814c10 31750f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31760f8248bfSmrgDate: Fri Jul 18 23:18:52 2014 -0700 31770f8248bfSmrg 31780f8248bfSmrg specs/XKB: add some more links by hand 31790f8248bfSmrg 31800f8248bfSmrg random bits where a link looked handy 31810f8248bfSmrg 31820f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31830f8248bfSmrg 31840f8248bfSmrgcommit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833 31850f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31860f8248bfSmrgDate: Fri Jul 18 23:16:31 2014 -0700 31870f8248bfSmrg 31880f8248bfSmrg specs/XKB: add links for terms in definition list under figure 1.1 31890f8248bfSmrg 31900f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31910f8248bfSmrg 31920f8248bfSmrgcommit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c 31930f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 31940f8248bfSmrgDate: Fri Jul 18 22:52:16 2014 -0700 31950f8248bfSmrg 31960f8248bfSmrg specs/XKB: add links to more tables listing section references 31970f8248bfSmrg 31980f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 31990f8248bfSmrg 32000f8248bfSmrgcommit 06a4483a05053b4f8d8c0d4cc0513c68ea912676 32010f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32020f8248bfSmrgDate: Fri Jul 18 22:49:34 2014 -0700 32030f8248bfSmrg 32040f8248bfSmrg specs/XKB: Table 4.1: remove page numbers & unnecessary para tags 32050f8248bfSmrg 32060f8248bfSmrg Page numbers refer to old doc format, didn't translate to new one 32070f8248bfSmrg 32080f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32090f8248bfSmrg 32100f8248bfSmrgcommit 61bd55c6d1ab211b89d604bd05555dc417f6e53d 32110f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32120f8248bfSmrgDate: Sat Jul 19 11:55:51 2014 -0700 32130f8248bfSmrg 32140f8248bfSmrg specs/XKB: remove unwanted white space around C -> struct references 32150f8248bfSmrg 32160f8248bfSmrg perl -i -0 -p -e 's{\s*->\s*}{->}g' *xml 32170f8248bfSmrg 32180f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32190f8248bfSmrg 32200f8248bfSmrgcommit 2be0cc0b2abbcc98cfd150210dea415a04787251 32210f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32220f8248bfSmrgDate: Fri Jul 18 22:26:20 2014 -0700 32230f8248bfSmrg 32240f8248bfSmrg specs/XKB: replace -> with → when used as arrow, not in C structs 32250f8248bfSmrg 32260f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32270f8248bfSmrg 32280f8248bfSmrgcommit bf1f3d6f6f995303624679ae546f507c70967dc0 32290f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32300f8248bfSmrgDate: Fri Jul 18 22:21:10 2014 -0700 32310f8248bfSmrg 32320f8248bfSmrg specs/XKB: replace => with ⇒ for double arrows 32330f8248bfSmrg 32340f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32350f8248bfSmrg 32360f8248bfSmrgcommit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba 32370f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32380f8248bfSmrgDate: Sat Jul 19 11:33:35 2014 -0700 32390f8248bfSmrg 32400f8248bfSmrg specs/XKB: Markup some ranges with – instead of - 32410f8248bfSmrg 32420f8248bfSmrgcommit ec4075303c6c0d1d64bfe378e585968f9a137da7 32430f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32440f8248bfSmrgDate: Fri Jul 18 22:10:45 2014 -0700 32450f8248bfSmrg 32460f8248bfSmrg specs/XKB: Markup some subtractions with − instead of - 32470f8248bfSmrg 32480f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32490f8248bfSmrg 32500f8248bfSmrgcommit 441a267e461132a38abed205245f028686526f1d 32510f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32520f8248bfSmrgDate: Fri Jul 18 22:04:40 2014 -0700 32530f8248bfSmrg 32540f8248bfSmrg specs/XKB: make sure all files have DOCTYPEs so standard entities work 32550f8248bfSmrg 32560f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32570f8248bfSmrg 32580f8248bfSmrgcommit 88fd70bee410f290b4f540405fdc7ecd85c26f25 32590f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32600f8248bfSmrgDate: Fri Jul 18 21:55:41 2014 -0700 32610f8248bfSmrg 32620f8248bfSmrg specs/XKB: Markup quoted terms as <quote> instead of with "" 32630f8248bfSmrg 32640f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32650f8248bfSmrg 32660f8248bfSmrgcommit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b 32670f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32680f8248bfSmrgDate: Sat Jul 19 09:01:26 2014 -0700 32690f8248bfSmrg 32700f8248bfSmrg specs/XKB: fixup newlines between tags and punctuation 32710f8248bfSmrg 32720f8248bfSmrg Get rid of unwanted whitespace before punctuation by moving them to the 32730f8248bfSmrg lines with the tags, instead of before & after. 32740f8248bfSmrg 32750f8248bfSmrg perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml 32760f8248bfSmrg 32770f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32780f8248bfSmrg 32790f8248bfSmrgcommit 6d5ec492cd28c206423337f926503349702af5a6 32800f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32810f8248bfSmrgDate: Fri Jul 18 21:29:33 2014 -0700 32820f8248bfSmrg 32830f8248bfSmrg specs/XKB: fixup newlines between tags and parens 32840f8248bfSmrg 32850f8248bfSmrg Get rid of unwanted whitespace inside parens by moving them to the 32860f8248bfSmrg lines with the tags, instead of before & after. 32870f8248bfSmrg 32880f8248bfSmrg perl -i -0 -p \ 32890f8248bfSmrg -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \ 32900f8248bfSmrg -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml 32910f8248bfSmrg 32920f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 32930f8248bfSmrg 32940f8248bfSmrgcommit 59d688f4c787250e0b401a92b1db0437d8c60f2d 32950f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 32960f8248bfSmrgDate: Fri Jul 18 21:09:24 2014 -0700 32970f8248bfSmrg 32980f8248bfSmrg specs/XKB: Markup key terms as <firstterm> instead of <emphasis> 32990f8248bfSmrg 33000f8248bfSmrg Also add <indexterm> entries for most of them, to make their definitions 33010f8248bfSmrg or introductions easy to find from the index. 33020f8248bfSmrg 33030f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33040f8248bfSmrg 33050f8248bfSmrgcommit 861f3087ee0f501362a67501f384c2ca4c7bfe73 33060f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33070f8248bfSmrgDate: Thu Jul 10 20:00:53 2014 -0700 33080f8248bfSmrg 33090f8248bfSmrg specs/XKB: Manual fixup of type markup 33100f8248bfSmrg 33110f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33120f8248bfSmrg 33130f8248bfSmrgcommit 6b96259dabe52701fd1bcaa0625b574180c4e769 33140f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33150f8248bfSmrgDate: Thu Jul 10 15:00:30 2014 -0700 33160f8248bfSmrg 33170f8248bfSmrg specs/XKB: Manual fixup of parameter markup 33180f8248bfSmrg 33190f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33200f8248bfSmrg 33210f8248bfSmrgcommit 5526dce6812a84102f556fdde8f2b52b21c8bcdc 33220f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33230f8248bfSmrgDate: Thu Jul 10 13:40:40 2014 -0700 33240f8248bfSmrg 33250f8248bfSmrg specs/XKB: Manual fixup of struct name/field markup 33260f8248bfSmrg 33270f8248bfSmrg Handles typos that caused the scripts to miss matches, misnamed structs, etc. 33280f8248bfSmrg 33290f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33300f8248bfSmrg 33310f8248bfSmrgcommit c36ee1a4db4e7876526190b8ab6b0da5867f76f7 33320f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33330f8248bfSmrgDate: Wed Jul 9 23:26:37 2014 -0700 33340f8248bfSmrg 33350f8248bfSmrg specs/XKB: Manual fixup of symbol name markup 33360f8248bfSmrg 33370f8248bfSmrg Handles typos that caused the scripts to miss matches, misnamed masks, etc. 33380f8248bfSmrg 33390f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33400f8248bfSmrg 33410f8248bfSmrgcommit eb1453a0c69606b8af96b90ddccf1b93a069fb35 33420f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33430f8248bfSmrgDate: Wed Jul 9 00:03:23 2014 -0700 33440f8248bfSmrg 33450f8248bfSmrg specs/XKB: Manual fixup of function name markup 33460f8248bfSmrg 33470f8248bfSmrg Handles typos that caused the scripts to miss matches, functions like 33480f8248bfSmrg malloc & free from other libraries, function name patterns, etc. 33490f8248bfSmrg 33500f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33510f8248bfSmrg 33520f8248bfSmrgcommit 252d99c87b60ac6f3f2b36f292f9b3880daabe26 33530f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33540f8248bfSmrgDate: Thu Jul 10 19:42:31 2014 -0700 33550f8248bfSmrg 33560f8248bfSmrg specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis> 33570f8248bfSmrg 33580f8248bfSmrg No great fit in DocBook, so follow what we used in Xlib spec. 33590f8248bfSmrg 33600f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33610f8248bfSmrg 33620f8248bfSmrgcommit ed60df10aad15057577d5714c955d22d2a446e51 33630f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33640f8248bfSmrgDate: Thu Jul 10 15:45:57 2014 -0700 33650f8248bfSmrg 33660f8248bfSmrg specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis> 33670f8248bfSmrg 33680f8248bfSmrg Also uses <guilabel> for LED names/labels, for lack of a better fit 33690f8248bfSmrg in DocBook. 33700f8248bfSmrg 33710f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33720f8248bfSmrg 33730f8248bfSmrgcommit f57b91ee497414083cc1bf481d28eb9ad9f965fb 33740f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33750f8248bfSmrgDate: Thu Jul 10 15:41:19 2014 -0700 33760f8248bfSmrg 33770f8248bfSmrg specs/XKB: Markup characters & strings as <literal> instead of <emphasis> 33780f8248bfSmrg 33790f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33800f8248bfSmrg 33810f8248bfSmrgcommit cfd4279c9b59d7e87c9f7c67692c87973adb7667 33820f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33830f8248bfSmrgDate: Thu Jul 10 11:08:14 2014 -0700 33840f8248bfSmrg 33850f8248bfSmrg specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis> 33860f8248bfSmrg 33870f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33880f8248bfSmrg 33890f8248bfSmrgcommit a014bb4cc013b0d1b76524b7868e860c7e7ebc79 33900f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33910f8248bfSmrgDate: Wed Jul 9 23:30:54 2014 -0700 33920f8248bfSmrg 33930f8248bfSmrg specs/XKB: Markup symbol names in table entries too 33940f8248bfSmrg 33950f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 33960f8248bfSmrg 33970f8248bfSmrgcommit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d 33980f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 33990f8248bfSmrgDate: Tue Jul 8 23:35:48 2014 -0700 34000f8248bfSmrg 34010f8248bfSmrg specs/XKB: Markup *Ptr as <type> instead of <emphasis> 34020f8248bfSmrg 34030f8248bfSmrg perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml 34040f8248bfSmrg 34050f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34060f8248bfSmrg 34070f8248bfSmrgcommit 9f6c00629fd4b713082cc11f9150f7aafd272c89 34080f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34090f8248bfSmrgDate: Tue Jul 8 23:34:29 2014 -0700 34100f8248bfSmrg 34110f8248bfSmrg specs/XKB: Markup *Rec as <structname> instead of <emphasis> 34120f8248bfSmrg 34130f8248bfSmrg perl -i -p -e \ 34140f8248bfSmrg 's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml 34150f8248bfSmrg 34160f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34170f8248bfSmrg 34180f8248bfSmrgcommit 83839e37802b8b752c77859a95de60ad757feb79 34190f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34200f8248bfSmrgDate: Tue Jul 8 23:29:49 2014 -0700 34210f8248bfSmrg 34220f8248bfSmrg specs/XKB: Markup XKB macros as <symbol> instead of <emphasis> 34230f8248bfSmrg 34240f8248bfSmrg Performed via: 34250f8248bfSmrg perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \ 34260f8248bfSmrg /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \ 34270f8248bfSmrg | sort -u > xkb-defines.pl 34280f8248bfSmrg perl -i -p -f xkb-defines.pl *.xml 34290f8248bfSmrg 34300f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34310f8248bfSmrg 34320f8248bfSmrgcommit 9e397ed37ce4cc70621de347de3a795df88d4506 34330f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34340f8248bfSmrgDate: Tue Jul 8 22:53:12 2014 -0700 34350f8248bfSmrg 34360f8248bfSmrg specs/XKB: Use ° instead of o for degrees. 34370f8248bfSmrg 34380f8248bfSmrg Conversion from framemaker turned superscripted "o" into plain "o". 34390f8248bfSmrg 34400f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34410f8248bfSmrg 34420f8248bfSmrgcommit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7 34430f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34440f8248bfSmrgDate: Tue Jul 8 22:46:03 2014 -0700 34450f8248bfSmrg 34460f8248bfSmrg specs/XKB: Markup keysyms as <keysym> instead of <emphasis> 34470f8248bfSmrg 34480f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34490f8248bfSmrg 34500f8248bfSmrgcommit 33bef065683c8f910f3722730503c0c0699ee8be 34510f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34520f8248bfSmrgDate: Tue Jul 8 22:26:56 2014 -0700 34530f8248bfSmrg 34540f8248bfSmrg specs/XKB: Markup NULL as <symbol> instead of <emphasis> 34550f8248bfSmrg 34560f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34570f8248bfSmrg 34580f8248bfSmrgcommit f10aa1e09468bd28454d85ac8ab55d9dc7178029 34590f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34600f8248bfSmrgDate: Tue Jul 8 22:22:29 2014 -0700 34610f8248bfSmrg 34620f8248bfSmrg specs/XKB: Markup function args as <parameter> instead of <emphasis> 34630f8248bfSmrg 34640f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34650f8248bfSmrg 34660f8248bfSmrgcommit 79ba58cceb69521fcb313c69233cf93a9fcb177f 34670f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34680f8248bfSmrgDate: Mon Jul 7 23:56:13 2014 -0700 34690f8248bfSmrg 34700f8248bfSmrg specs/XKB: Convert remaining error names to errorname tags 34710f8248bfSmrg 34720f8248bfSmrg Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad* 34730f8248bfSmrg are XKB-specific. (Plus some were badly split across tag boundaries.) 34740f8248bfSmrg 34750f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34760f8248bfSmrg 34770f8248bfSmrgcommit 42b2f5388c399949ece377f9cc9c479c06964972 34780f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34790f8248bfSmrgDate: Mon Jul 7 23:16:56 2014 -0700 34800f8248bfSmrg 34810f8248bfSmrg specs/XKB: manually fixup some more emphasis tagging mismatches 34820f8248bfSmrg 34830f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34840f8248bfSmrg 34850f8248bfSmrgcommit 3b2f47d44a55d93c65455ff183f3b47da04b1de1 34860f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34870f8248bfSmrgDate: Mon Jul 7 23:02:31 2014 -0700 34880f8248bfSmrg 34890f8248bfSmrg specs/XKB: re-normalize <emphasis> layout in xml files 34900f8248bfSmrg 34910f8248bfSmrg Same script as before, just with <!-- xref --> comments out of the way 34920f8248bfSmrg now. 34930f8248bfSmrg 34940f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 34950f8248bfSmrg 34960f8248bfSmrgcommit ce95f152eda509263874c53fb7c6b4a6bdab2c29 34970f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 34980f8248bfSmrgDate: Mon Jul 7 22:59:25 2014 -0700 34990f8248bfSmrg 35000f8248bfSmrg specs/XKB: Remove remaining xref comments 35010f8248bfSmrg 35020f8248bfSmrg All the places marked by these have been turned into the appropriate 35030f8248bfSmrg link, xref, or olink tags now. 35040f8248bfSmrg 35050f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35060f8248bfSmrg 35070f8248bfSmrgcommit 6590b66e19af8dff68888ac403ac82f5d585b4e2 35080f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35090f8248bfSmrgDate: Mon Jul 7 22:56:36 2014 -0700 35100f8248bfSmrg 35110f8248bfSmrg specs/XKB: make olinks to xkbproto for references in section 10.13 35120f8248bfSmrg 35130f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35140f8248bfSmrg 35150f8248bfSmrgcommit fcda446877a62e7443d7bc704ba3610e90d1e755 35160f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35170f8248bfSmrgDate: Mon Jul 7 22:22:28 2014 -0700 35180f8248bfSmrg 35190f8248bfSmrg specs/XKB: Add <figure> tags and make Figure references link to them 35200f8248bfSmrg 35210f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35220f8248bfSmrg 35230f8248bfSmrgcommit 087a2338476719e340dc3d5af0df6fdc4a26ce7a 35240f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35250f8248bfSmrgDate: Mon Jul 7 21:30:01 2014 -0700 35260f8248bfSmrg 35270f8248bfSmrg specs/XKB: Turn Table references into links 35280f8248bfSmrg 35290f8248bfSmrg Adds id attributes to all table tags so we can link to them 35300f8248bfSmrg 35310f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35320f8248bfSmrg 35330f8248bfSmrgcommit 135fa07b74cb50172c6a75768d499cd87ddb336e 35340f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35350f8248bfSmrgDate: Sun Jul 6 21:29:59 2014 -0700 35360f8248bfSmrg 35370f8248bfSmrg specs/XKB: Turn section references into xref links 35380f8248bfSmrg 35390f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35400f8248bfSmrg 35410f8248bfSmrgcommit 53e931d79926af8a3996253efd8b5f6c21d9e5d7 35420f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35430f8248bfSmrgDate: Sun Jul 6 21:17:18 2014 -0700 35440f8248bfSmrg 35450f8248bfSmrg specs/XKB: Turn Chapter references into xref links 35460f8248bfSmrg 35470f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35480f8248bfSmrg 35490f8248bfSmrgcommit b7f00ce5bcb0c00696bb82503ab548e14f04d17d 35500f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35510f8248bfSmrgDate: Sun Jul 6 20:40:18 2014 -0700 35520f8248bfSmrg 35530f8248bfSmrg specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec 35540f8248bfSmrg 35550f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35560f8248bfSmrg 35570f8248bfSmrgcommit b00a7ddff2744238fbfe31c2298b02028a45a6ff 35580f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35590f8248bfSmrgDate: Sun Jul 6 20:34:51 2014 -0700 35600f8248bfSmrg 35610f8248bfSmrg specs/XKB: Markup function names as <function> instead of <emphasis> 35620f8248bfSmrg 35630f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35640f8248bfSmrg 35650f8248bfSmrgcommit bfbb58b7679221cb5c9212665209ea9099ad079a 35660f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35670f8248bfSmrgDate: Sun Jul 6 20:25:46 2014 -0700 35680f8248bfSmrg 35690f8248bfSmrg specs/XKB: normalize <emphasis> layout in xml files 35700f8248bfSmrg 35710f8248bfSmrg - Stop placing <emphasis> on empty space, commas, and periods. 35720f8248bfSmrg - Move periods & commas after closing </emphasis> tag 35730f8248bfSmrg - move <emphasis> open & close tags to same line, instead of mirroring 35740f8248bfSmrg nroff layout. 35750f8248bfSmrg 35760f8248bfSmrg Simplifies automating further transformations of these tags. 35770f8248bfSmrg 35780f8248bfSmrg Performed via: 35790f8248bfSmrg perl -i -0 -p \ 35800f8248bfSmrg -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \ 35810f8248bfSmrg -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \ 35820f8248bfSmrg -e 's{\n([\.,])\s*}{\1\n}msg;' \ 35830f8248bfSmrg -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \ 35840f8248bfSmrg -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml 35850f8248bfSmrg 35860f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35870f8248bfSmrg 35880f8248bfSmrgcommit b16ee69a0103109a661a88140a1765dcd7bda634 35890f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35900f8248bfSmrgDate: Sun Jul 6 15:57:41 2014 -0700 35910f8248bfSmrg 35920f8248bfSmrg specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable 35930f8248bfSmrg 35940f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 35950f8248bfSmrg 35960f8248bfSmrgcommit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335 35970f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 35980f8248bfSmrgDate: Sun Jul 6 19:29:38 2014 -0700 35990f8248bfSmrg 36000f8248bfSmrg specs/XKB: Add index 36010f8248bfSmrg 36020f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36030f8248bfSmrg 36040f8248bfSmrgcommit 72ae1d793be078db521dda60af578ece71f364de 36050f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36060f8248bfSmrgDate: Sun Jul 6 13:21:40 2014 -0700 36070f8248bfSmrg 36080f8248bfSmrg specs/XKB: Fix various markup issues in functiondecl tables 36090f8248bfSmrg 36100f8248bfSmrg - Merge some functionargdecl entries incorrectly split across rows 36110f8248bfSmrg - Add missing parameter name markup to some functionargdecls 36120f8248bfSmrg - Add missing function prototype markup to a functiondecl 36130f8248bfSmrg - Remove stray emphasis tags in a functiondecl 36140f8248bfSmrg 36150f8248bfSmrg Allows them to correctly convert to funcsynopsis markup in next step. 36160f8248bfSmrg 36170f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36180f8248bfSmrg 36190f8248bfSmrgcommit 9fdb973012de80ac60dbc59c39162f4e839fc5a4 36200f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36210f8248bfSmrgDate: Sun Jul 6 12:15:23 2014 -0700 36220f8248bfSmrg 36230f8248bfSmrg specs/XKB: Convert header filenames to filename tags 36240f8248bfSmrg 36250f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36260f8248bfSmrg 36270f8248bfSmrgcommit 5525e8433f93bce464412f27cffa203ea628f368 36280f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36290f8248bfSmrgDate: Tue Jul 8 00:05:32 2014 -0700 36300f8248bfSmrg 36310f8248bfSmrg specs/libX11: disengender a user reference 36320f8248bfSmrg 36330f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36340f8248bfSmrg 36350f8248bfSmrgcommit d8679eae9317b389ad4acb0430360ee0663e2af8 36360f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36370f8248bfSmrgDate: Fri Jul 11 18:41:42 2014 -0700 36380f8248bfSmrg 36390f8248bfSmrg specs/libX11: Correct value of IconicState to match Xutil.h 36400f8248bfSmrg 36410f8248bfSmrg Xutil.h has always had a value of 3 for IconicState, since 2 was 36420f8248bfSmrg previously used for the long-obsolete ZoomState, so make the spec 36430f8248bfSmrg match what programs have used for decades. 36440f8248bfSmrg 36450f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36460f8248bfSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 36470f8248bfSmrg 36480f8248bfSmrgcommit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a 36490f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36500f8248bfSmrgDate: Fri Jul 11 10:34:08 2014 -0700 36510f8248bfSmrg 36520f8248bfSmrg Use C99 named initializers to fill in events passed to XSendEvent 36530f8248bfSmrg 36540f8248bfSmrg Forces compiler to zero-fill unset fields in the struct (fixing bug 81236) 36550f8248bfSmrg and allows optimizer to order field initialization to best fit cache layout 36560f8248bfSmrg or other considerations. 36570f8248bfSmrg 36580f8248bfSmrg Before & after output of gcc -S on AMD64 shows insertion of "rep stosq" 36590f8248bfSmrg instructions to rapidly zero-fill structs. 36600f8248bfSmrg 36610f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36620f8248bfSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 36630f8248bfSmrg 36640f8248bfSmrgcommit 169805e1dc8743b37b00e24cf3a5eb8748f733ad 36650f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36660f8248bfSmrgDate: Sun Jul 6 11:13:49 2014 -0700 36670f8248bfSmrg 36680f8248bfSmrg Fix validation of ctrls parameter to XkbGetPerClientControls() 36690f8248bfSmrg 36700f8248bfSmrg Nothing in the XKB spec states that the memory pointed to by ctrls has to 36710f8248bfSmrg be initialized to any given value when passed to the function, only that 36720f8248bfSmrg it is set by the function to the values returned by the X server: 36730f8248bfSmrg http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls 36740f8248bfSmrg 36750f8248bfSmrg The check for the incoming value seems to be copied from 36760f8248bfSmrg XkbSetPerClientControls without explanation. 36770f8248bfSmrg 36780f8248bfSmrg Instead change it to checking if ctrls is non-NULL, since there's no 36790f8248bfSmrg point asking the X server to return a value the caller won't even see. 36800f8248bfSmrg 36810f8248bfSmrg Found while investigating report from cppcheck-1.65: 36820f8248bfSmrg [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer 36830f8248bfSmrg dereference: ctrls - otherwise it is redundant to check it against null. 36840f8248bfSmrg 36850f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36860f8248bfSmrg 36870f8248bfSmrgcommit 1e362fac92c6688fb42b195ccad16d7a337a34c1 36880f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 36890f8248bfSmrgDate: Sun Jul 6 10:54:57 2014 -0700 36900f8248bfSmrg 36910f8248bfSmrg Fix map->num_types check in XkbAddKeyType() 36920f8248bfSmrg 36930f8248bfSmrg Check is intended to ensure we allocate at least XkbNumRequiredTypes 36940f8248bfSmrg in map, but was accidentally marked with a ! causing the wrong check. 36950f8248bfSmrg 36960f8248bfSmrg Reported-by: Harms <wharms@bfs,de> 36970f8248bfSmrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 36980f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 36990f8248bfSmrg 37000f8248bfSmrgcommit ff9a5c199251a84fa59d14fd48dadb3f8920b54b 37010f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 37020f8248bfSmrgDate: Sun Jul 6 15:08:21 2014 -0700 37030f8248bfSmrg 37040f8248bfSmrg specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types 37050f8248bfSmrg 37060f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37070f8248bfSmrg 37080f8248bfSmrgcommit a06ea86773568926c36ae650b188fc818d540db7 37090f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 37100f8248bfSmrgDate: Sun Jul 6 15:04:27 2014 -0700 37110f8248bfSmrg 37120f8248bfSmrg specs/libX11: Fix height & width in parameter lists to be two separate entries 37130f8248bfSmrg 37140f8248bfSmrg "unsigned int width, unsigned int height", not a single parameter "height" 37150f8248bfSmrg of type "unsignedintwidth,". 37160f8248bfSmrg 37170f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37180f8248bfSmrg 37190f8248bfSmrgcommit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2 37200f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 37210f8248bfSmrgDate: Sun Jul 6 14:38:10 2014 -0700 37220f8248bfSmrg 37230f8248bfSmrg specs/libX11: Fix x & y in parameter lists to be two separate parameters 37240f8248bfSmrg 37250f8248bfSmrg "int x, int y" not a single parameter y of type "intx" 37260f8248bfSmrg 37270f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37280f8248bfSmrg 37290f8248bfSmrgcommit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9 37300f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 37310f8248bfSmrgDate: Sat Jun 7 12:03:17 2014 +0200 37320f8248bfSmrg 37330f8248bfSmrg lcDefConv.c: fix use before check 37340f8248bfSmrg 37350f8248bfSmrg * Do not use variables before checked for NULL. 37360f8248bfSmrg * remove some superfluid spaces (Mark Kettenis) 37370f8248bfSmrg 37380f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 37390f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37400f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37410f8248bfSmrg 37420f8248bfSmrgcommit c0670e5d3ae330e611ecb05303d579a4f8a3d114 37430f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 37440f8248bfSmrgDate: Mon Jun 16 15:16:10 2014 -0700 37450f8248bfSmrg 37460f8248bfSmrg Start adding Unicode 7.0 support to compose table 37470f8248bfSmrg 37480f8248bfSmrg New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf 37490f8248bfSmrg 37500f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37510f8248bfSmrg 37520f8248bfSmrgcommit a4679baaa18142576d42d423afe816447f08336c 37530f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 37540f8248bfSmrgDate: Sat Jun 7 11:54:34 2014 +0200 37550f8248bfSmrg 37560f8248bfSmrg rm redundant null checks 37570f8248bfSmrg 37580f8248bfSmrg remove more redundant NULL checks 37590f8248bfSmrg note that _XkbFree() is really Xfree() 37600f8248bfSmrg 37610f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 37620f8248bfSmrg Reviewed-by: Rémi Cardona <remi@gentoo.org> 37630f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 37640f8248bfSmrg 37650f8248bfSmrgcommit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df 37660f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 37670f8248bfSmrgDate: Sat Jun 7 15:17:27 2014 +0200 37680f8248bfSmrg 37690f8248bfSmrg libX11: rm redundante NULL checks 37700f8248bfSmrg 37710f8248bfSmrg This patch removes the last remaining NULL checks for Xfree() 37720f8248bfSmrg 37730f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 37740f8248bfSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 37750f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 37760f8248bfSmrg 37770f8248bfSmrgcommit d81fed46144d089bdfa1d916a28dffc9ebffe1e4 37780f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 37790f8248bfSmrgDate: Fri Jun 6 22:53:05 2014 +0200 37800f8248bfSmrg 37810f8248bfSmrg Remove more redundant null checks before Xfree() 37820f8248bfSmrg 37830f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 37840f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37850f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37860f8248bfSmrg 37870f8248bfSmrgcommit 0b7fd7dbec136bae317bd9a329309eaa089beee3 37880f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 37890f8248bfSmrgDate: Thu Jun 5 18:37:40 2014 +0200 37900f8248bfSmrg 37910f8248bfSmrg Remove redundant null checks before free 37920f8248bfSmrg 37930f8248bfSmrg This patch removes some redundant null checks before free. 37940f8248bfSmrg It should not change the code otherwise. Be aware that this 37950f8248bfSmrg is only the first series. 37960f8248bfSmrg 37970f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 37980f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 37990f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38000f8248bfSmrg 38010f8248bfSmrgcommit 7d452fad5068ba92b964e92bc46708046f4044aa 38020f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 38030f8248bfSmrgDate: Wed Jun 4 17:12:31 2014 +0200 38040f8248bfSmrg 38050f8248bfSmrg libX11/lcUTF8.c fix: dereferenced before check 38060f8248bfSmrg 38070f8248bfSmrg * Do not use variables before checked for NULL. 38080f8248bfSmrg 38090f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 38100f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38110f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38120f8248bfSmrg 38130f8248bfSmrgcommit a3808f51517a720e7ff738208af60865779dd6ef 38140f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 38150f8248bfSmrgDate: Wed Jun 4 17:10:20 2014 +0200 38160f8248bfSmrg 38170f8248bfSmrg libX11/XKBNames.c fix: dereferenced before check 38180f8248bfSmrg 38190f8248bfSmrg * Do not use variables before checked for NULL. 38200f8248bfSmrg 38210f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 38220f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38230f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38240f8248bfSmrg 38250f8248bfSmrgcommit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78 38260f8248bfSmrgAuthor: walter harms <wharms@bfs.de> 38270f8248bfSmrgDate: Wed Jun 4 17:08:12 2014 +0200 38280f8248bfSmrg 38290f8248bfSmrg libX11/lcGenConv.c fix: dereferenced before check 38300f8248bfSmrg 38310f8248bfSmrg * Do not use variables before checked for NULL. 38320f8248bfSmrg 38330f8248bfSmrg Signed-off-by: Harms <wharms@bfs,de> 38340f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38350f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38360f8248bfSmrg 38370f8248bfSmrgcommit c6bc28d433243c32b3f74955f1478451b4fd27b5 38380f8248bfSmrgAuthor: Andreas Schwab <schwab@linux-m68k.org> 38390f8248bfSmrgDate: Sun Jan 19 16:59:13 2014 +0100 38400f8248bfSmrg 38410f8248bfSmrg Restore lost tabs in sed commands 38420f8248bfSmrg 38430f8248bfSmrg Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> 38440f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38450f8248bfSmrg 38460f8248bfSmrgcommit e3dc0d17339e61eaf0b51b8907510984e3bf23cb 38470f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 38480f8248bfSmrgDate: Thu Sep 19 11:01:11 2013 +0200 38490f8248bfSmrg 38500f8248bfSmrg nls: Transform Brazilian compose file to an include plus three overrides. 38510f8248bfSmrg 38520f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 38530f8248bfSmrg 38540f8248bfSmrgcommit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c 38550f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 38560f8248bfSmrgDate: Fri Sep 6 12:10:01 2013 +0200 38570f8248bfSmrg 38580f8248bfSmrg nls: Adding the missing compose sequences with <comma> for O with ogonek. 38590f8248bfSmrg 38600f8248bfSmrg All other vowels with ogoneks can already be composed using <comma>. 38610f8248bfSmrg 38620f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 38630f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 38640f8248bfSmrg 38650f8248bfSmrgcommit 655b60f48376069750b151c46da836fdd411c83b 38660f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 38670f8248bfSmrgDate: Fri Sep 6 12:04:24 2013 +0200 38680f8248bfSmrg 38690f8248bfSmrg nls: Adding the missing postfix sequences for composing vowels with ogoneks. 38700f8248bfSmrg 38710f8248bfSmrg It existed for lowercase i, but not for uppercase I nor the other vowels. 38720f8248bfSmrg 38730f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 38740f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 38750f8248bfSmrg 38760f8248bfSmrgcommit 7f8f9a36ef901f31279c385caf960a22daeb33fe 38770f8248bfSmrgAuthor: Owen W. Taylor <otaylor@fishsoup.net> 38780f8248bfSmrgDate: Fri May 9 18:21:05 2014 -0400 38790f8248bfSmrg 38800f8248bfSmrg Fix XNextRequest() after direct usage of XCB 38810f8248bfSmrg 38820f8248bfSmrg When XCB owns the X socket, dpy->request is not updated, so 38830f8248bfSmrg NextRequest() and XNextRequest() return the wrong value. There's 38840f8248bfSmrg nothing we can do to fix NextRequest() while retaining ABI compat, 38850f8248bfSmrg but change XNextRequest() to grab the socket back from XCB, 38860f8248bfSmrg updating dpy->request. 38870f8248bfSmrg 38880f8248bfSmrg Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net> 38890f8248bfSmrg Reviewed-by: Uli Schlachter <psychon@znc.in> 38900f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38910f8248bfSmrg 38920f8248bfSmrgcommit 0f9e734ea96556fe750a4baf354d42d5a87bcd14 38930f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 38940f8248bfSmrgDate: Sun May 4 11:54:59 2014 -0700 38950f8248bfSmrg 38960f8248bfSmrg Add missing .TE tags to end tables in Xkb man pages 38970f8248bfSmrg 38980f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 38990f8248bfSmrg 39000f8248bfSmrgcommit 280274e5292e013b43e552274111fab434f5ed4e 39010f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 39020f8248bfSmrgDate: Sun May 4 11:23:17 2014 -0700 39030f8248bfSmrg 39040f8248bfSmrg XCreateGC.man: simplify table to work with Solaris tbl 39050f8248bfSmrg 39060f8248bfSmrg Having every table cell be a text diversion (T{...T}) was too much for 39070f8248bfSmrg Solaris tbl to handle, and thus "man XCreateGC" would print the error 39080f8248bfSmrg /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions 39090f8248bfSmrg tbl quits 39100f8248bfSmrg and not display the table of mask bits or any text in the man page after 39110f8248bfSmrg that table. Since the #define column doesn't need special handling, 39120f8248bfSmrg making it not use text diversions brings the table under the tbl limit. 39130f8248bfSmrg 39140f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 39150f8248bfSmrg 39160f8248bfSmrgcommit 93bb325a54025dd15f4744abce54b358960420f9 39170f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 39180f8248bfSmrgDate: Tue May 20 17:30:10 2014 -0400 39190f8248bfSmrg 39200f8248bfSmrg Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has." 39210f8248bfSmrg 39220f8248bfSmrg Parenleft is already in use for sequences of the form <(> <letter> <)> 39230f8248bfSmrg to generate circled letters. 39240f8248bfSmrg 39250f8248bfSmrg Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ. 39260f8248bfSmrg 39270f8248bfSmrg This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768. 39280f8248bfSmrg 39290f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 39300f8248bfSmrg 39310f8248bfSmrgcommit 060707851be918f2f507a26d17b016f764ddf2b4 39320f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 39330f8248bfSmrgDate: Fri Sep 6 11:42:59 2013 +0200 39340f8248bfSmrg 39350f8248bfSmrg nls: Adding accessible compose sequences for Ș and Ț (with comma below). 39360f8248bfSmrg 39370f8248bfSmrg Compose sequences with <dead_belowcomma> exist, but very few keyboard 39380f8248bfSmrg layouts contain that symbol. So a more usual character is needed to be 39390f8248bfSmrg able to easily compose Ș, ș, Ț and ț. The semicolon is normally only 39400f8248bfSmrg used for composing letters with ogoneks -- but only vowels take ogoneks, 39410f8248bfSmrg so the character is free for consonants, and thus <semicolon> is used 39420f8248bfSmrg here to compose commas below. It is somewhat fitting, because on most 39430f8248bfSmrg Romanian keyboards the Ș is placed on that key, and the Ț next to it. 39440f8248bfSmrg 39450f8248bfSmrg (Oh -- the more obvious sequences with <comma> were already taken for 39460f8248bfSmrg composing S and T with cedillas.) 39470f8248bfSmrg 39480f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 39490f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 39500f8248bfSmrg 39510f8248bfSmrgcommit ca435c2f753aa2961fb35ac448cdb2cc77112755 39520f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 39530f8248bfSmrgDate: Tue Sep 3 21:10:33 2013 +0200 39540f8248bfSmrg 39550f8248bfSmrg nls: Ordering some compose sequences in a more customary way. 39560f8248bfSmrg 39570f8248bfSmrg The custom seems to be: pairing the ones that have only the sequence of 39580f8248bfSmrg two keys reversed, and putting the one with the diacritic first first. 39590f8248bfSmrg 39600f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 39610f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 39620f8248bfSmrg 39630f8248bfSmrgcommit f020235f4bd91fb6eade82f8c9f7b85a57981768 39640f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 39650f8248bfSmrgDate: Tue Sep 3 20:44:42 2013 +0200 39660f8248bfSmrg 39670f8248bfSmrg nls: Adding compose sequences (with <parenleft> first) that GTK also has. 39680f8248bfSmrg 39690f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 39700f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 39710f8248bfSmrg 39720f8248bfSmrgcommit bda0b3b5bd19154206dc40166364e73d4b6b1374 39730f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 39740f8248bfSmrgDate: Tue Sep 3 11:14:16 2013 +0200 39750f8248bfSmrg 39760f8248bfSmrg nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>. 39770f8248bfSmrg 39780f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 39790f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 39800f8248bfSmrg 39810f8248bfSmrgcommit 8be4610939b833587954957f5963eb4191b43d19 39820f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 39830f8248bfSmrgDate: Thu Mar 13 23:22:48 2014 -0700 39840f8248bfSmrg 39850f8248bfSmrg Fix "follwing" typo in en_US.UTF-8/Compose comment 39860f8248bfSmrg 39870f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 39880f8248bfSmrg 39890f8248bfSmrgcommit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a 39900f8248bfSmrgAuthor: Reuben Thomas <rrt@sc3d.org> 39910f8248bfSmrgDate: Mon Jan 27 14:18:24 2014 +0000 39920f8248bfSmrg 39930f8248bfSmrg en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A. 39940f8248bfSmrg 39950f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 39960f8248bfSmrg 39970f8248bfSmrgcommit d6bd988bc00494914b38b95ee5df77ac4f32f19f 39980f8248bfSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 39990f8248bfSmrgDate: Mon Mar 3 12:38:48 2014 +1000 40000f8248bfSmrg 40010f8248bfSmrg man: fix man page for XkbGetMap 40020f8248bfSmrg 40030f8248bfSmrg Returned structure must be freed with XkbFreeKeyboard(). 40040f8248bfSmrg 40050f8248bfSmrg Reported-by: Morten Bøgeskov <mb@dbc.dk> 40060f8248bfSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 40070f8248bfSmrg 40080f8248bfSmrgcommit a6dcf2201a05adbff54122df05a1e6325936abb6 40090f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 40100f8248bfSmrgDate: Tue Feb 11 13:26:16 2014 +0200 40110f8248bfSmrg 40120f8248bfSmrg Remove dead USE_OWN_COMPOSE-protected code 40130f8248bfSmrg 40140f8248bfSmrg The build doesn't provide any way to define this option. It also refers 40150f8248bfSmrg to files (imComp.h) and functions (e.g. XimCompInitTables(), 40160f8248bfSmrg XimCompProcessSym()) which are not found anywhere, and the ordinary 40170f8248bfSmrg Compose implementation in xim doesn't use any of it. 40180f8248bfSmrg 40190f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 40200f8248bfSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 40210f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 40220f8248bfSmrg 40230f8248bfSmrgcommit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0 40240f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 40250f8248bfSmrgDate: Sun Feb 16 15:24:58 2014 +0200 40260f8248bfSmrg 40270f8248bfSmrg nls: always use XCOMM instead of # for comments in Compose.pre files 40280f8248bfSmrg 40290f8248bfSmrg Lines starting with # are considered as preprocessor directives in the 40300f8248bfSmrg .pre files. 40310f8248bfSmrg 40320f8248bfSmrg Fixes warnings like: 40330f8248bfSmrg <stdin>:3:0: error: invalid preprocessing directive #Khmer 40340f8248bfSmrg 40350f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 40360f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 40370f8248bfSmrg 40380f8248bfSmrgcommit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88 40390f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 40400f8248bfSmrgDate: Thu Feb 6 13:48:08 2014 -0800 40410f8248bfSmrg 40420f8248bfSmrg Fix typos in Xrm.c comments 40430f8248bfSmrg 40440f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 40450f8248bfSmrg 40460f8248bfSmrgcommit aacf95dacc7c598e7297894580d4d655593813b2 40470f8248bfSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 40480f8248bfSmrgDate: Mon Jan 13 16:43:18 2014 +0200 40490f8248bfSmrg 40500f8248bfSmrg Annotate Finnish Compose map with Unicode code points 40510f8248bfSmrg 40520f8248bfSmrg Scripted annotation, no functional changes. 40530f8248bfSmrg 40540f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 40550f8248bfSmrg 40560f8248bfSmrgcommit 20fdccd81b54678376d49e00edfebbbe94951f07 40570f8248bfSmrgAuthor: Teemu Likonen <tlikonen@iki.fi> 40580f8248bfSmrgDate: Fri Jul 20 19:21:04 2012 +0300 40590f8248bfSmrg 40600f8248bfSmrg Fix "RING ABOVE" key in the Finnish compose file 40610f8248bfSmrg 40620f8248bfSmrg The Finnish keyboard standard defines that <dead_abovering> <space> must 40630f8248bfSmrg insert the character U+02DA RING ABOVE. Currently the Finnish Compose 40640f8248bfSmrg file inserts U+00B0 DEGREE SIGN even though the line's comment says 40650f8248bfSmrg "RING ABOVE". This commit changes the character to U+02DA RING ABOVE. 40660f8248bfSmrg 40670f8248bfSmrg Signed-off-by: Teemu Likonen <tlikonen@iki.fi> 40680f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 40690f8248bfSmrg 40700f8248bfSmrgcommit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7 40710f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com> 40720f8248bfSmrgDate: Wed Jan 29 02:11:47 2014 +0200 40730f8248bfSmrg 40740f8248bfSmrg nls: remove duplicate 'ohorn' and 'uhorn' compose sequences 40750f8248bfSmrg 40760f8248bfSmrg Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to 40770f8248bfSmrg keysyms: 40780f8248bfSmrg 40790f8248bfSmrg #define XK_Ohorn 0x10001a0 /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */ 40800f8248bfSmrg #define XK_ohorn 0x10001a1 /* U+01A1 LATIN SMALL LETTER O WITH HORN */ 40810f8248bfSmrg 40820f8248bfSmrg (and similarly for uhorn), there is no need to have both names. Remove 40830f8248bfSmrg the unicode literal ones. 40840f8248bfSmrg 40850f8248bfSmrg Signed-off-by: Ran Benita <ran234@gmail.com> 40860f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 40870f8248bfSmrg 40880f8248bfSmrgcommit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3 40890f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 40900f8248bfSmrgDate: Sat Jan 18 22:35:18 2014 -0800 40910f8248bfSmrg 40920f8248bfSmrg Add RANDR 1.4 requests & events to XErrorDB 40930f8248bfSmrg 40940f8248bfSmrg Checked against randrproto.txt & randr.h 40950f8248bfSmrg 40960f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 40970f8248bfSmrg 40980f8248bfSmrgcommit 321392ded15a7ee9d177d4ebe8846336ba76741c 40990f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 41000f8248bfSmrgDate: Fri Jan 3 20:04:33 2014 -0800 41010f8248bfSmrg 41020f8248bfSmrg Remove unused ETEST & ESZTEST macros from XlibInt.c 41030f8248bfSmrg 41040f8248bfSmrg Left behind when 15e5eaf62897 removed support for building without XCB. 41050f8248bfSmrg 41060f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41070f8248bfSmrg Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> 41080f8248bfSmrg 41090f8248bfSmrgcommit 1ffc0c5503d4f419fdbc765243832a53491bf5bc 41100f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 41110f8248bfSmrgDate: Thu Dec 26 09:26:13 2013 -0800 41120f8248bfSmrg 41130f8248bfSmrg _XkbReadGeomOverlay: check for NULL first, then use pointer 41140f8248bfSmrg 41150f8248bfSmrg Flagged by cppcheck 1.62: 41160f8248bfSmrg [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]: 41170f8248bfSmrg (warning) Possible null pointer dereference: row - otherwise it is 41180f8248bfSmrg redundant to check it against null. 41190f8248bfSmrg 41200f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41210f8248bfSmrg 41220f8248bfSmrgcommit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379 41230f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 41240f8248bfSmrgDate: Thu Dec 26 09:22:49 2013 -0800 41250f8248bfSmrg 41260f8248bfSmrg XkbSelectEventDetails: remove unnecessary assignments 41270f8248bfSmrg 41280f8248bfSmrg clear & selectAll are set to 0 already a few lines earlier, 41290f8248bfSmrg affectWhich is set to XkbMapNotifyMask a few lines later. 41300f8248bfSmrg None are used between the other assignments and the removed ones. 41310f8248bfSmrg 41320f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41330f8248bfSmrg 41340f8248bfSmrgcommit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6 41350f8248bfSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 41360f8248bfSmrgDate: Thu Oct 7 18:46:08 2010 +0100 41370f8248bfSmrg 41380f8248bfSmrg Don't try so hard to find a matching font with the given encoding 41390f8248bfSmrg 41400f8248bfSmrg See http://sourceware.org/bugzilla/show_bug.cgi?id=10948 41410f8248bfSmrg 41420f8248bfSmrg Currently, if the locale is UTF-8, no CJK fonts are installed, and someone 41430f8248bfSmrg does XCreateFontSet() with a font name of "*", we end up asking the server 41440f8248bfSmrg to list the (non-existent) fonts 11 times for each CJK encoding, which can 41450f8248bfSmrg take a while. 41460f8248bfSmrg 41470f8248bfSmrg A * wildcard can match multiple components in a XLFD name in XListFonts(), 41480f8248bfSmrg so there's no need to try adding more than one to get a match. 41490f8248bfSmrg 41500f8248bfSmrg We do try once with a leading '*-' in case the fontname isn't a full 41510f8248bfSmrg well-formed XLFD name, maybe even that isn't needed? 41520f8248bfSmrg 41530f8248bfSmrg (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus) 41540f8248bfSmrg 41550f8248bfSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 41560f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41570f8248bfSmrg 41580f8248bfSmrgcommit 7e163300735d4bcd3386b86eec112acdad139c59 41590f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 41600f8248bfSmrgDate: Mon Dec 2 21:51:27 2013 -0800 41610f8248bfSmrg 41620f8248bfSmrg unifdef -UISC 41630f8248bfSmrg 41640f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41650f8248bfSmrg 41660f8248bfSmrgcommit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4 41670f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 41680f8248bfSmrgDate: Thu Sep 19 13:20:05 2013 +0200 41690f8248bfSmrg 41700f8248bfSmrg nls: Fix transposed locale identifier for Khmer. 41710f8248bfSmrg 41720f8248bfSmrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 41730f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41740f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41750f8248bfSmrg 41760f8248bfSmrgcommit 0e45f64766c0557c8e99a979c70ca6f55664dae7 41770f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 41780f8248bfSmrgDate: Sat Nov 16 20:21:54 2013 -0800 41790f8248bfSmrg 41800f8248bfSmrg Drop X_LOCALE fallback for OS'es without setlocale() 41810f8248bfSmrg 41820f8248bfSmrg C89 or bust! This was documented as being needed for "only Lynx, 41830f8248bfSmrg Linux-libc5, OS/2" and has never been enabled in modular builds, 41840f8248bfSmrg since none of those platforms have had anyone step up to add support 41850f8248bfSmrg since the X11R7 conversion to autotools. 41860f8248bfSmrg 41870f8248bfSmrg Mostly performed with unifdef -UX_LOCALE, followed by removal of files 41880f8248bfSmrg left without any purpose, and manual cleanup of remaining references. 41890f8248bfSmrg 41900f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 41910f8248bfSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 41920f8248bfSmrg 41930f8248bfSmrgcommit 6cb02b166361200da35ba14f52cd9aaa493eb0ea 41940f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 41950f8248bfSmrgDate: Wed Oct 23 10:37:53 2013 -0700 41960f8248bfSmrg 41970f8248bfSmrg Xcms file parsing should not require the impossible to succeed 41980f8248bfSmrg 41990f8248bfSmrg The field2 helper function, to split lines from Xcms.txt files into 42000f8248bfSmrg two tab delimited fields, contained a check: 42010f8248bfSmrg 42020f8248bfSmrg if ((*pBuf != '\n') || (*pBuf != '\0')) { 42030f8248bfSmrg return(XcmsFailure); 42040f8248bfSmrg 42050f8248bfSmrg which would cause it to return failure unless *pBuf had a value that 42060f8248bfSmrg was simultaneously equal to both \n & \0, and no one wants to live in 42070f8248bfSmrg a world where that could ever be true. 42080f8248bfSmrg 42090f8248bfSmrg This has gone unnoticed since 1991, since this only caused lines 42100f8248bfSmrg in Xcms.txt that started with whitespace to be rejected, but now 42110f8248bfSmrg gcc -Wlogicalop has brought it to our attention, and 42120f8248bfSmrg https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed. 42130f8248bfSmrg 42140f8248bfSmrg Now that we see it, and cannot unsee it, we change it to use the 42150f8248bfSmrg same logic as the check at other points in this function, to return 42160f8248bfSmrg failure only if we hit \n or \0 before we find the first non-whitespace 42170f8248bfSmrg character, so that lines starting with whitespace will have the space 42180f8248bfSmrg skipped over to get to the color name to be defined. 42190f8248bfSmrg 42200f8248bfSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 42210f8248bfSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 42220f8248bfSmrg 42230f8248bfSmrgcommit 18a5278b008e9faa59b346fcab18a8d74b875fda 42240f8248bfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 42250f8248bfSmrgDate: Sat Sep 28 17:33:52 2013 -0400 42260f8248bfSmrg 42270f8248bfSmrg makekeys: don't need to use target-specific CFLAGS 42280f8248bfSmrg 42290f8248bfSmrg It's the only thing built in that directory, so we can use AM_CFLAGS 42300f8248bfSmrg and AM_CPPFLAGS as usual. 42310f8248bfSmrg 42320f8248bfSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 42330f8248bfSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 42340f8248bfSmrg 42350f8248bfSmrgcommit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b 42360f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com> 42370f8248bfSmrgDate: Tue Sep 17 12:50:42 2013 -0400 42380f8248bfSmrg 42390f8248bfSmrg nls/en_US.UTF-8/Compose.pre: Fix typo. 42400f8248bfSmrg 42410f8248bfSmrg Fix typo added in 215ce6a67863, s/actute/acute/. 42420f8248bfSmrg 42430f8248bfSmrg Fixes bug #69476. Reported by Jean Krohn. 42440f8248bfSmrg 42450f8248bfSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 42460f8248bfSmrg 4247818534a1Smrgcommit cb107760df33ffc8630677e66e2e50aa37950a5c 4248818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4249818534a1SmrgDate: Sun Sep 8 18:37:01 2013 -0700 4250818534a1Smrg 4251818534a1Smrg libX11 1.6.2 4252818534a1Smrg 4253818534a1Smrgcommit 215ce6a67863de7acfd6dd3562b4fd97ef87b411 4254818534a1SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 4255818534a1SmrgDate: Sun Sep 1 12:38:30 2013 +0200 4256818534a1Smrg 4257818534a1Smrg nls: Adding more accessible compose sequences for J́ and j́. 4258818534a1Smrg 4259818534a1Smrg Few keyboards have an <acute> key, so this adds the much more 4260818534a1Smrg accessible and usual compose sequences with <apostrophe>, ánd 4261818534a1Smrg the most comfortable ones with <dead_acute>. 4262818534a1Smrg 4263818534a1Smrg Signed-off-by: Benno Schulenberg <bensberg@justemail.net> 4264818534a1Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 4265818534a1Smrg 4266818534a1Smrgcommit e9b14d10d0258bfcc273ff8bc84cd349dccda62c 4267818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4268818534a1SmrgDate: Sat Aug 24 17:27:43 2013 -0700 4269818534a1Smrg 4270818534a1Smrg Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size 4271818534a1Smrg 4272818534a1Smrg Pass *new* size to realloc, not old size. 4273818534a1Smrg 4274818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4275818534a1Smrg 4276818534a1Smrgcommit c2b8e30790c21d6386767265263b3294ce1b1f9a 4277818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4278818534a1SmrgDate: Fri Aug 16 21:04:02 2013 -0700 4279818534a1Smrg 4280818534a1Smrg Stop checking for HAVE_DIX_CONFIG_H on the client side 4281818534a1Smrg 4282818534a1Smrg Leftover from when these XKB files were shared with the server sources 4283818534a1Smrg and could be compiled in either the client or server, with the different 4284818534a1Smrg autoconf config files in each. 4285818534a1Smrg 4286818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4287818534a1Smrg 4288818534a1Smrgcommit 84276609b2f0aec74fb464c428c7db5714b0fcfc 4289818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4290818534a1SmrgDate: Fri Aug 16 18:27:28 2013 -0700 4291818534a1Smrg 4292818534a1Smrg Rearrange some variable declarations & initializations in XKB 4293818534a1Smrg 4294818534a1Smrg Little things noticed during XKB restyling that seemed to make the 4295818534a1Smrg code easier to read. 4296818534a1Smrg 4297818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4298818534a1Smrg 4299818534a1Smrgcommit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1 4300818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4301818534a1SmrgDate: Sun Aug 11 13:29:33 2013 -0700 4302818534a1Smrg 4303818534a1Smrg Reindent XKB code to X.Org standard style 4304818534a1Smrg 4305818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4306818534a1Smrg 4307818534a1Smrgcommit c0a0f78eb49c2e4ad956209de77475c85b9314ea 4308818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4309818534a1SmrgDate: Fri Aug 16 18:14:14 2013 -0700 4310818534a1Smrg 4311818534a1Smrg Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created 4312818534a1Smrg 4313818534a1Smrg We were checking to make sure that the largest keysym value was within 4314818534a1Smrg the range of the allocated buffer, but checking against different limits 4315818534a1Smrg in the not-yet-allocated vs. the already-allocated branches. 4316818534a1Smrg 4317818534a1Smrg The check should be the same in both, and reflect the size used for the 4318818534a1Smrg allocation, which is based on the maximum key code value, so we move it 4319818534a1Smrg to be a common check, before we branch, instead of duplicating in each 4320818534a1Smrg branch. 4321818534a1Smrg 4322818534a1Smrg map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code] 4323818534a1Smrg map->syms is the array for which num_syms is recorded, hence is not the 4324818534a1Smrg right value to check for ensuring our key_sym_map accesses are in range. 4325818534a1Smrg 4326818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4327818534a1Smrg Reported-by: Barry Kauler <bkauler@gmail.com> 4328818534a1Smrg Tested-by: Barry Kauler <bkauler@gmail.com> 4329818534a1Smrg 4330818534a1Smrgcommit bea6cbd027973142fc64532274e1d16861b47190 4331818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4332818534a1SmrgDate: Sun Aug 11 17:02:21 2013 -0700 4333818534a1Smrg 4334818534a1Smrg Remove long unused src/udcInf.c 4335818534a1Smrg 4336818534a1Smrg I can find no record of what this file was for. Neither the X11R6.8.2 4337818534a1Smrg monolith Imakefile nor any modular release Makefile.am have ever built 4338818534a1Smrg it and nothing else references it. 4339818534a1Smrg 4340818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4341818534a1Smrg 4342818534a1Smrgcommit bf3501e0395abe890acfea98fdd9f50a6966f118 4343818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4344818534a1SmrgDate: Sun Aug 11 00:07:33 2013 -0700 4345818534a1Smrg 4346818534a1Smrg Remove unnecessary casts of pointers to (char *) in calls to Xfree() 4347818534a1Smrg 4348818534a1Smrg Left one cast behind that is necessary to change from const char * 4349818534a1Smrg to char * in src/xlibi18n/lcCharSet.c. 4350818534a1Smrg 4351818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4352818534a1Smrg 4353818534a1Smrgcommit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3 4354818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4355818534a1SmrgDate: Sat Aug 10 23:57:55 2013 -0700 4356818534a1Smrg 4357818534a1Smrg Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc 4358818534a1Smrg 4359818534a1Smrg sizeof() returns size_t, malloc() & calloc() expect sizes in size_t, 4360818534a1Smrg don't strip down to unsigned int and re-expand unnecessarily. 4361818534a1Smrg 4362818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4363818534a1Smrg 4364818534a1Smrgcommit 25a7a329def672fc8d26078538173777850c6390 4365818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4366818534a1SmrgDate: Sat Aug 10 23:51:08 2013 -0700 4367818534a1Smrg 4368818534a1Smrg Remove even more casts of return values from Xmalloc/Xrealloc 4369818534a1Smrg 4370818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4371818534a1Smrg 4372818534a1Smrgcommit f8fa16092a148b74ca35b4beb182053352606f2f 4373818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4374818534a1SmrgDate: Sat Aug 10 23:05:13 2013 -0700 4375818534a1Smrg 4376818534a1Smrg xlibi18n: fix argsize argument to _XlcParsePath 4377818534a1Smrg 4378818534a1Smrg The array is defined as having NUM_LOCALEDIR entries, so use that 4379818534a1Smrg instead of hardcoded 256 value (the other two calls already did this). 4380818534a1Smrg 4381818534a1Smrg Reported by parfait: 4382818534a1Smrg Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc 4383818534a1Smrg Pointer size is 64 elements (of 8 bytes each), index is 255 4384818534a1Smrg at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 4385818534a1Smrg called at line 178 in function '_XlcParsePath' with argv = argv. 4386818534a1Smrg called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256. 4387818534a1Smrg at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'. 4388818534a1Smrg called at line 178 in function '_XlcParsePath' with argv = argv. 4389818534a1Smrg called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256. 4390818534a1Smrg 4391818534a1Smrg [ This bug was found by the Parfait 1.2.0 bug checking tool. 4392818534a1Smrg http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 4393818534a1Smrg 4394818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4395818534a1Smrg 4396818534a1Smrgcommit e7d46c6452c0b90fd66ae9f538546b968e0dd608 4397818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4398818534a1SmrgDate: Sat Aug 10 22:32:42 2013 -0700 4399818534a1Smrg 4400818534a1Smrg i18n modules: Fix some const cast warnings 4401818534a1Smrg 4402818534a1Smrg imRm.c: In function '_XimSetICMode': 4403818534a1Smrg imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4404818534a1Smrg imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4405818534a1Smrg 4406818534a1Smrg lcGenConv.c: In function 'byteM_parse_codeset': 4407818534a1Smrg lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4408818534a1Smrg 4409818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4410818534a1Smrg 4411818534a1Smrgcommit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0 4412818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4413818534a1SmrgDate: Sat Aug 10 22:21:54 2013 -0700 4414818534a1Smrg 4415818534a1Smrg xlibi18n: Fix a bunch of const cast warnings 4416818534a1Smrg 4417818534a1Smrg Add const qualifiers to casts where needed, remove other casts that 4418818534a1Smrg are no longer needed. 4419818534a1Smrg 4420818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4421818534a1Smrg 4422818534a1Smrgcommit eb3676113fc2dd0f34d92b89beb81b3f61569aa1 4423818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4424818534a1SmrgDate: Sat Aug 10 22:18:00 2013 -0700 4425818534a1Smrg 4426818534a1Smrg Fix const handling in XSetLocaleModifiers 4427818534a1Smrg 4428818534a1Smrg Instead of reusing the input parameter to store the output, make a 4429818534a1Smrg result variable instead, so that there's less const confusion. 4430818534a1Smrg 4431818534a1Smrg Fixes gcc warnings: 4432818534a1Smrg lcWrap.c: In function 'XSetLocaleModifiers': 4433818534a1Smrg lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4434818534a1Smrg lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4435818534a1Smrg lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 4436818534a1Smrg 4437818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4438818534a1Smrg 4439818534a1Smrgcommit 8ebbffa98563960910152e4f2e31cb032375d871 4440818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4441818534a1SmrgDate: Sat Aug 10 21:46:37 2013 -0700 4442818534a1Smrg 4443818534a1Smrg Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName() 4444818534a1Smrg 4445818534a1Smrg Makes code considerably less crufty and clears gcc warnings: 4446818534a1Smrg XlcDL.c: In function '_XlcDynamicLoad': 4447818534a1Smrg XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier 4448818534a1Smrg from pointer target type [-Wcast-qual] 4449818534a1Smrg XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier 4450818534a1Smrg from pointer target type [-Wcast-qual] 4451818534a1Smrg 4452818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4453818534a1Smrg 4454818534a1Smrgcommit 07e4e864107b38c2f393564fdacc90f4e858f23f 4455818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4456818534a1SmrgDate: Sat Aug 10 13:37:53 2013 -0700 4457818534a1Smrg 4458818534a1Smrg init_om: remove unneeded extra copy of string to local buffer 4459818534a1Smrg 4460818534a1Smrg Strings from the supported_charset_list[] were being copied one by 4461818534a1Smrg one to a stack buffer, and then strdup called on that buffer. 4462818534a1Smrg 4463818534a1Smrg Instead, just strdup the original string, without the local copy, 4464818534a1Smrg and use a more traditional for loop, so it's easier to figure out 4465818534a1Smrg what the code is doing (cleaning up a gcc const-cast warning in 4466818534a1Smrg the process). 4467818534a1Smrg 4468818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4469818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4470818534a1Smrg 4471818534a1Smrgcommit 1cec14dad904ba21a861f4af131be5982ecb83dd 4472818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4473818534a1SmrgDate: Sat Aug 10 12:34:53 2013 -0700 4474818534a1Smrg 4475818534a1Smrg Delete unused XKB_INSURE_SIZE macro from XKBlibint.h 4476818534a1Smrg 4477818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4478818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4479818534a1Smrg 4480818534a1Smrgcommit 5f32182c7c4045540ff3833c48ee24a3a25726e2 4481818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4482818534a1SmrgDate: Sat Aug 10 12:19:17 2013 -0700 4483818534a1Smrg 4484818534a1Smrg miRegionOp(): ensure region size is not updated if realloc fails 4485818534a1Smrg 4486818534a1Smrg This function performs operations on a region, and when finished, 4487818534a1Smrg checks to see if it should compact the rectangle list. If the 4488818534a1Smrg number of rectangles for which memory is allocated in the list is 4489818534a1Smrg more than twice the number used, it tries to shrink. realloc() 4490818534a1Smrg should not fail in this case, but if it does, might as well keep 4491818534a1Smrg the correct value for the number of allocated rectangles, so we 4492818534a1Smrg don't try to grow it unnecessarily later if adding to the region. 4493818534a1Smrg 4494818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4495818534a1Smrg 4496818534a1Smrgcommit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd 4497818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4498818534a1SmrgDate: Sat Aug 10 12:19:17 2013 -0700 4499818534a1Smrg 4500818534a1Smrg miRegionCopy(): handle realloc failure better 4501818534a1Smrg 4502818534a1Smrg Zero out the region size when freeing the region so callers don't think 4503818534a1Smrg there's anything there. (Pointer is already set to NULL from the realloc 4504818534a1Smrg result itself.) Return 0 to the callers, and have them cascade that back 4505818534a1Smrg to their callers to indicate failure, instead of their usual return value 4506818534a1Smrg of 1 on success. 4507818534a1Smrg 4508818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4509818534a1Smrg 4510818534a1Smrgcommit 5dc8b5385d513bbda88697c2372db750d23f46d4 4511818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4512818534a1SmrgDate: Sat Aug 10 11:27:22 2013 -0700 4513818534a1Smrg 4514818534a1Smrg Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro 4515818534a1Smrg 4516818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4517818534a1Smrg 4518818534a1Smrgcommit 453c4ee436ef32d91501d7736d7a91c1aeafc565 4519818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4520818534a1SmrgDate: Sat Aug 10 12:07:51 2013 -0700 4521818534a1Smrg 4522818534a1Smrg Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline() 4523818534a1Smrg 4524818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4525818534a1Smrg 4526818534a1Smrgcommit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12 4527818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4528818534a1SmrgDate: Sat Aug 10 12:30:39 2013 -0700 4529818534a1Smrg 4530818534a1Smrg lcDB.c: ensure buffer size is updated correctly if realloc fails 4531818534a1Smrg 4532818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4533818534a1Smrg 4534818534a1Smrgcommit 43bb822c714a73c3b2d15e621ffb3333cd10da8c 4535818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4536818534a1SmrgDate: Sat Aug 10 11:07:47 2013 -0700 4537818534a1Smrg 4538818534a1Smrg Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object() 4539818534a1Smrg 4540818534a1Smrg Previously, if realloc failed to increase the size, we'd still 4541818534a1Smrg record that we had allocated the larger size, but the pointer 4542818534a1Smrg to it would be NULL, causing future calls to be broken, and the 4543818534a1Smrg previous allocation to be lost/leaked. 4544818534a1Smrg 4545818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4546818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4547818534a1Smrg 4548818534a1Smrgcommit 5d47a39978e92bb34ec928b1b15d71c0c2434870 4549818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4550818534a1SmrgDate: Fri Aug 9 23:33:03 2013 -0700 4551818534a1Smrg 4552818534a1Smrg omGeneric.c: convert sprintf calls to snprintf 4553818534a1Smrg 4554818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4555818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4556818534a1Smrg 4557818534a1Smrgcommit 88a27a2aa9b7d35cb79b16334ea3413e572b724a 4558818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4559818534a1SmrgDate: Fri Aug 9 23:30:30 2013 -0700 4560818534a1Smrg 4561818534a1Smrg ximcp/imRm.c: convert sprintf calls to snprintf 4562818534a1Smrg 4563818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4564818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4565818534a1Smrg 4566818534a1Smrgcommit 4fadae243fb485628c9a137f5da3489ed6214b21 4567818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4568818534a1SmrgDate: Fri Aug 9 23:02:12 2013 -0700 4569818534a1Smrg 4570818534a1Smrg xlibi18n: convert sprintf calls to snprintf 4571818534a1Smrg 4572818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4573818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4574818534a1Smrg 4575818534a1Smrgcommit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854 4576818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4577818534a1SmrgDate: Fri Aug 9 23:02:12 2013 -0700 4578818534a1Smrg 4579818534a1Smrg lcfile: skip over any null entries in args list 4580818534a1Smrg 4581818534a1Smrg Previous code seemed to assume that printf("%s", NULL) would result 4582818534a1Smrg in a 0-length string, not "(null)" or similar, but since there's no 4583818534a1Smrg point looking for files in "(null)/filepath...", instead we just 4584818534a1Smrg skip over NULL entries in search paths when generating file names. 4585818534a1Smrg 4586818534a1Smrg In the *DirName() functions, this effectively just moves the "bail on 4587818534a1Smrg NULL in arg[i]" check up from the later code that assigned it to targetdir 4588818534a1Smrg and then bailed if that was NULL. 4589818534a1Smrg 4590818534a1Smrg Not sure how there ever could be a NULL in arg[i], given the current 4591818534a1Smrg implementation of XlcParsePath, but it's easy enough to check once and 4592818534a1Smrg reject up front instead of on every reference. 4593818534a1Smrg 4594818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4595818534a1Smrg 4596818534a1Smrgcommit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0 4597818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4598818534a1SmrgDate: Fri Aug 9 22:00:09 2013 -0700 4599818534a1Smrg 4600818534a1Smrg Fix file leak on malloc error in XlcDL.c:resolve_object() 4601818534a1Smrg 4602818534a1Smrg File Leak: Leaked File fp 4603818534a1Smrg at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'. 4604818534a1Smrg fp initialized at line 198 with fopen 4605818534a1Smrg 4606818534a1Smrg [ This bug was found by the Parfait 1.2.0 bug checking tool. 4607818534a1Smrg http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ] 4608818534a1Smrg 4609818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4610818534a1Smrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 4611818534a1Smrg 4612818534a1Smrgcommit 9b291044a240e5b9b031ed814e0c84e53a1c3084 4613818534a1SmrgAuthor: Julien Cristau <jcristau@debian.org> 4614818534a1SmrgDate: Sat Jun 15 18:02:21 2013 +0200 4615818534a1Smrg 4616818534a1Smrg Add missing locales to configure.ac 4617818534a1Smrg 4618818534a1Smrg Commits 40761898692e5063957bfa2518cca3d35b2e354a and 4619818534a1Smrg f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales 4620818534a1Smrg (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac, 4621818534a1Smrg meaning they're not included in tarballs. 4622818534a1Smrg 4623818534a1Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 4624818534a1Smrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4625818534a1Smrg 4626818534a1Smrgcommit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4 4627818534a1SmrgAuthor: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp> 4628818534a1SmrgDate: Tue Dec 18 15:28:05 2012 +0000 4629818534a1Smrg 4630818534a1Smrg Fix bogus timestamp generated by XIM 4631818534a1Smrg 4632818534a1Smrg Fix bogus timestamp generted by XIM due to uninitialized 4633818534a1Smrg data field. Also set appropriate serial, too. 4634818534a1Smrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367 4635818534a1Smrg 4636818534a1Smrg Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp> 4637818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4638818534a1Smrg 4639818534a1Smrgcommit e7fd6f0eda57300df4d6b695b7064610ca5dec57 4640818534a1SmrgAuthor: Egbert Eich <eich@freedesktop.org> 4641818534a1SmrgDate: Thu Jun 16 18:47:49 2011 +0200 4642818534a1Smrg 4643818534a1Smrg XIM: Fix sync problem on focus change. 4644818534a1Smrg 4645818534a1Smrg XSetICFocus() and XUnsetICFocus() are both asynchronous events. 4646818534a1Smrg This is a pretty stupid idea: those functions may undo certain 4647818534a1Smrg settings on the client side for which requests from the server 4648818534a1Smrg may still be in the queue unprocessed. Thus things may be set 4649818534a1Smrg in the wrong order ie instead of set -> unest it will be unset -> set. 4650818534a1Smrg Moreover there is no way for either the client or the server to 4651818534a1Smrg cause the event queue to be flushed - which is pretty bad as 4652818534a1Smrg XIM is bidirectional. 4653818534a1Smrg The scenario is as follows: 4654818534a1Smrg Two ICs are created: 4655818534a1Smrg ic1 = XCreateIC(im, 4656818534a1Smrg XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks, 4657818534a1Smrg XNClientWindow, window, 4658818534a1Smrg XNPreeditAttributes, preedit_attr, 4659818534a1Smrg XNStatusAttributes, status_attr, 4660818534a1Smrg NULL); 4661818534a1Smrg ic2 = XCreateIC(im, XNInputStyle, 4662818534a1Smrg XIMPreeditNothing | XIMStatusNothing, 4663818534a1Smrg XNClientWindow, window, NULL); 4664818534a1Smrg Then the focus is removed from ic2: 4665818534a1Smrg XUnsetICFocus(ic2); 4666818534a1Smrg If SCIM is used as the input server it will send a bunch of requests 4667818534a1Smrg following an XCreateIC(). One of the requests registers a key release 4668818534a1Smrg filter. XUnsetICFocus() unsets both key press and release filters. 4669818534a1Smrg Since it is asynchronous, the input server requests to register key 4670818534a1Smrg press and release filters may not have been processed, when XUnsetICFocus() 4671818534a1Smrg is called. Since there is no explicite way for client programs to enforce 4672818534a1Smrg the request queue to be flushed explicitely before an X[Set/Unset]ICFocus() 4673818534a1Smrg call it would be safest to make those two calls synchronous in the sense 4674818534a1Smrg that they ensure the request queue has been handled before they execute. 4675818534a1Smrg The easiest way to do this from Xlib is thru a call to XGetICValues() 4676818534a1Smrg which sends a request to the server and subsequently reads the queue 4677818534a1Smrg from the server to the client. This will cause all outstanding requests 4678818534a1Smrg in the queue to be read and handled. 4679818534a1Smrg This is an ugly hack and this could be fixed directly in the client, 4680818534a1Smrg however it seems to be easier to fix Xlib than to fix numerous clients. 4681818534a1Smrg This problem arose since there is no well documented way how to handle 4682818534a1Smrg and synchronize XIM requests and not all input servers send requests 4683818534a1Smrg when an IC is created. 4684818534a1Smrg This has been discussed extensively in: 4685818534a1Smrg https://bugzilla.novell.com/show_bug.cgi?id=221326 4686818534a1Smrg 4687818534a1Smrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4688818534a1Smrg 4689818534a1Smrgcommit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e 4690818534a1SmrgAuthor: Egbert Eich <eich@freedesktop.org> 4691818534a1SmrgDate: Thu Jun 16 17:28:39 2011 +0200 4692818534a1Smrg 4693818534a1Smrg XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place. 4694818534a1Smrg 4695818534a1Smrg When synthesized key events are sent on commit XIM sets the 'fabricated' 4696818534a1Smrg flag so that the keypress handler knows that these were not real events. 4697818534a1Smrg This also happens when committing due to the loss of focus. However in this 4698818534a1Smrg case the keypress/release filters which consume and unset this flag are no 4699818534a1Smrg longer in the filter chain. 4700818534a1Smrg So the flag is erronously set when a real keyboard event is received after 4701818534a1Smrg focus has been regained. So the first event is wrongly treated as a 4702818534a1Smrg fabricated key in the keypress handler which will at the same time reset 4703818534a1Smrg the flag so the second key event is treated correctly. 4704818534a1Smrg This fix only sets the flag when at least one of the keyboard filters is in 4705818534a1Smrg place. 4706818534a1Smrg How to reproduce this bug: run scim, choose a Japanese input method start 4707818534a1Smrg two instances of xterm: start typing in one xterm (this should pop up an 4708818534a1Smrg IM window). Without comitting (hitting 'enter') move focus to the other 4709818534a1Smrg xterm, then move focus back. Start typing again. The first character will 4710818534a1Smrg be committed immediately without popping up an input window. 4711818534a1Smrg With this fix this behavior is gone. 4712818534a1Smrg 4713818534a1Smrg See also: https://bugzilla.novell.com/show_bug.cgi?id=239698 4714818534a1Smrg 4715818534a1Smrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 4716818534a1Smrg 4717818534a1Smrgcommit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6 4718818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4719818534a1SmrgDate: Mon Jul 29 21:29:49 2013 -0700 4720818534a1Smrg 4721818534a1Smrg libX11 1.6.1 4722818534a1Smrg 4723818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4724818534a1Smrg 4725818534a1Smrgcommit d19cfaca15826943d3c637ef7fa5db0a23d5feed 4726818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4727818534a1SmrgDate: Sat Jul 27 12:19:00 2013 -0700 4728818534a1Smrg 4729818534a1Smrg Fix undefined XCMSDIR error when building lint library 4730818534a1Smrg 4731818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4732818534a1Smrg 4733818534a1Smrgcommit 3083cd43d7dcd59da587975e7cadda681cd8a103 4734818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4735818534a1SmrgDate: Sat Jul 27 00:36:08 2013 -0700 4736818534a1Smrg 4737818534a1Smrg Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir 4738818534a1Smrg 4739818534a1Smrg Upstreaming from changes originally integrated into OpenSolaris 4740818534a1Smrg under Sun bug id 6882572. 4741818534a1Smrg 4742818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4743818534a1Smrg Reviewed-by: Thomas Klausner <wiz@NetBSD.org> 4744818534a1Smrg 4745818534a1Smrgcommit 208e586c808e88a2ee819e4450dc27f557afc2bf 4746818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4747818534a1SmrgDate: Sat Jul 27 01:03:18 2013 -0700 4748818534a1Smrg 4749818534a1Smrg omGeneric: remove space between struct name & member name 4750818534a1Smrg 4751818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4752818534a1Smrg 4753818534a1Smrgcommit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd 4754818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4755818534a1SmrgDate: Tue Jul 23 22:18:46 2013 -0700 4756818534a1Smrg 4757818534a1Smrg Refactor common code from XAddHost & XRemoveHost into single function 4758818534a1Smrg 4759818534a1Smrg On the Xlib side, the only real difference is the mode flag we send 4760818534a1Smrg to the server with the address, so just make that an argument to the 4761818534a1Smrg function with the common code for packing the address into the request. 4762818534a1Smrg 4763818534a1Smrg (Aside from labels, gcc 4.7.2 generates identical code before & after 4764818534a1Smrg this change due to inlining, verified via diff of gcc -S output.) 4765818534a1Smrg 4766818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4767818534a1Smrg 4768818534a1Smrgcommit 3292195a64a9ce4f0d27134cd544651ec647e728 4769818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4770818534a1SmrgDate: Tue Jul 23 22:11:34 2013 -0700 4771818534a1Smrg 4772818534a1Smrg XSetModifierMapping: Use Data instead of GetReqExtra 4773818534a1Smrg 4774818534a1Smrg Handle arbitrary length data in the same fashion as other calls, 4775818534a1Smrg avoiding need to ensure it fits all in the request buffer. 4776818534a1Smrg 4777818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4778818534a1Smrg 4779818534a1Smrgcommit feb131b18aee31c2c125dc3275b0260940245882 4780818534a1SmrgAuthor: Kees Cook <kees@outflux.net> 4781818534a1SmrgDate: Sun Jun 9 11:13:43 2013 -0700 4782818534a1Smrg 4783818534a1Smrg libX11: check "req" when calling GetReqExtra 4784818534a1Smrg 4785818534a1Smrg This fixes the two callers of GetReqExtra to check that "req" is non-NULL 4786818534a1Smrg to avoid crashing now that GetReqExtra does internal bounds-checking on 4787818534a1Smrg the resulting buffer sizes. 4788818534a1Smrg 4789818534a1Smrg Additionally updates comment describing return values to use names 4790818534a1Smrg instead of only literal values. 4791818534a1Smrg 4792818534a1Smrg Signed-off-by: Kees Cook <kees@outflux.net> 4793818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4794818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4795818534a1Smrg 4796818534a1Smrgcommit 54540d7cba0c2bfe9176221c7bca910058d304df 4797818534a1SmrgAuthor: Kees Cook <kees@outflux.net> 4798818534a1SmrgDate: Sun Jun 9 11:13:42 2013 -0700 4799818534a1Smrg 4800818534a1Smrg libX11: check size of GetReqExtra after XFlush 4801818534a1Smrg 4802818534a1Smrg Two users of GetReqExtra pass arbitrarily sized allocations from the 4803818534a1Smrg caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra 4804818534a1Smrg macro) to double-check the requested length and invalidate "req" when 4805818534a1Smrg this happens. Users of GetReqExtra passing lengths greater than the Xlib 4806818534a1Smrg buffer size (normally 16K) must check "req" and fail gracefully instead 4807818534a1Smrg of crashing. 4808818534a1Smrg 4809818534a1Smrg Any callers of GetReqExtra that do not check "req" for NULL 4810818534a1Smrg will experience this change, in the pathological case, as a NULL 4811818534a1Smrg dereference instead of a buffer overflow. This is an improvement, but 4812818534a1Smrg the documentation for GetReqExtra has been updated to reflect the need 4813818534a1Smrg to check the value of "req" after the call. 4814818534a1Smrg 4815818534a1Smrg Bug that manifested the problem: 4816818534a1Smrg https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628 4817818534a1Smrg 4818818534a1Smrg Signed-off-by: Kees Cook <kees@outflux.net> 4819818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4820818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4821818534a1Smrg 4822818534a1Smrgcommit 24d3ee0d08f24e23c91d55702f010f73d7b908e5 4823818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 4824818534a1SmrgDate: Tue Jun 25 22:35:29 2013 +0200 4825818534a1Smrg 4826818534a1Smrg Tighten out-of-range comparisons. 4827818534a1Smrg 4828818534a1Smrg [For all of these, LONG_MAX was the correct value to prevent overflows 4829818534a1Smrg for the recent CVEs. Lowering to INT_MAX catches buggy replies from 4830818534a1Smrg the server that 32-bit clients would reject but 64-bit would accept, 4831818534a1Smrg so we catch bugs sooner, and really, no sane & working server should 4832818534a1Smrg ever report more than 2gb of extension names, font path entries, 4833818534a1Smrg key modifier maps, etc. -alan- ] 4834818534a1Smrg 4835818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4836818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4837818534a1Smrg 4838818534a1Smrgcommit 6d926088d80a08e13e6d6c4ff207b81ad52e667f 4839818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 4840818534a1SmrgDate: Tue Jun 25 18:34:32 2013 +0200 4841818534a1Smrg 4842818534a1Smrg Fix out-of-range comparison in _XF86BigfontQueryFont 4843818534a1Smrg 4844818534a1Smrg clang complained (correctly): 4845818534a1Smrg warning: comparison of constant 768614336404564650 with expression 4846818534a1Smrg of type 'CARD32' (aka 'unsigned int') is always true 4847818534a1Smrg [-Wtautological-constant-out-of-range-compare] 4848818534a1Smrg 4849818534a1Smrg [While LONG_MAX is correct, since it's used in size_t math, the 4850818534a1Smrg numbers have to be limited to 32-bit range to be usable by 32-bit 4851818534a1Smrg clients, and values beyond that range are far more likely to be 4852818534a1Smrg bugs in the data from the server than valid numbers of characters 4853818534a1Smrg in a font. -alan- ] 4854818534a1Smrg 4855818534a1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4856818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4857818534a1Smrg 4858818534a1Smrgcommit 383e2b0d029482a0f4c39fe00e15397538576fc1 4859818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 4860818534a1SmrgDate: Tue Jun 25 18:33:56 2013 +0200 4861818534a1Smrg 4862818534a1Smrg Check for symbol existence with #ifdef, not #if 4863818534a1Smrg 4864818534a1Smrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 4865818534a1Smrg 4866818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4867818534a1Smrg 4868818534a1Smrgcommit 9955d1c8de994a90fe7f2e3187e7362611d7d265 4869818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 4870818534a1SmrgDate: Tue Jun 25 18:33:07 2013 +0200 4871818534a1Smrg 4872818534a1Smrg Use newer callback-based API for XIM. 4873818534a1Smrg 4874818534a1Smrg Let libX11 load and make available the newer (X11R6) callback-based 4875818534a1Smrg API for XIM (expected by emacs). 4876818534a1Smrg 4877818534a1Smrg This patch updates the files to match the other nls/ files. 4878818534a1Smrg 4879818534a1Smrg Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org 4880818534a1Smrg following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>. 4881818534a1Smrg 4882818534a1Smrg Reviewed-by: James Cloos <cloos@jhcloos.com> 4883818534a1Smrg 4884818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4885818534a1Smrg 4886818534a1Smrgcommit a17ceb7100bd36c2db210473ee701deb5d515731 4887818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 4888818534a1SmrgDate: Tue Jun 25 18:31:32 2013 +0200 4889818534a1Smrg 4890818534a1Smrg Stop truncating source to destination length if it is larger. 4891818534a1Smrg 4892818534a1Smrg It seems useless to do that since the code tests for both source 4893818534a1Smrg length and destination to be non-zero. This fixes a cut'n'paste 4894818534a1Smrg problem in xterm where the paste length was limited to 1024 (BUFSIZ) 4895818534a1Smrg in button.c. 4896818534a1Smrg 4897818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4898818534a1Smrg 4899818534a1Smrgcommit a336db9a0add3ae0783dda6e52459236622a12af 4900818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4901818534a1SmrgDate: Mon Jun 24 23:02:05 2013 -0700 4902818534a1Smrg 4903818534a1Smrg Require ANSI C89 pre-processor, drop pre-C89 token pasting support 4904818534a1Smrg 4905818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4906818534a1Smrg 4907818534a1Smrgcommit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8 4908818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4909818534a1SmrgDate: Fri Jun 7 11:30:11 2013 -0700 4910818534a1Smrg 4911818534a1Smrg troff macro expansion in specs/libX11 4912818534a1Smrg 4913818534a1Smrg Many of the custom nroff macros (.ds <macro> <contents>) were left 4914818534a1Smrg unsubstituted in the nroff->docbook conversion. This substitution 4915818534a1Smrg is now performed, via the following perl script: 4916818534a1Smrg 4917818534a1Smrg #! /usr/bin/perl -w -i 4918818534a1Smrg 4919818534a1Smrg use Text::Wrap; 4920818534a1Smrg 4921818534a1Smrg while ($_ = <>) { 4922818534a1Smrg while ($_ =~ m/\((\w+)\b/g) { 4923818534a1Smrg my $m = $1; 4924818534a1Smrg if (exists $macro{$m}) { 4925818534a1Smrg $_ =~ s/\($m/$macro{$m}/; 4926818534a1Smrg $_ = wrap('', '', $_); 4927818534a1Smrg $_ =~ s/[ \t]+$//; 4928818534a1Smrg } 4929818534a1Smrg } 4930818534a1Smrg 4931818534a1Smrg if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) { 4932818534a1Smrg my ($m, $s) = ($1, $2); 4933818534a1Smrg $macro{$m} = $s; 4934818534a1Smrg while ($macro{$m} =~ /\\\s*$/) { 4935818534a1Smrg $macro{$m} =~ s/\\\s*$//ms; 4936818534a1Smrg $macro{$m} .= <>; 4937818534a1Smrg chomp($macro{$m}); 4938818534a1Smrg } 4939818534a1Smrg $macro{$m} =~ s/\\ / /g; 4940818534a1Smrg } else { 4941818534a1Smrg print $_; 4942818534a1Smrg } 4943818534a1Smrg } 4944818534a1Smrg 4945818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4946818534a1Smrg 4947818534a1Smrgcommit 20c17bd9ebf767a24643279e45866dddcb57b5ce 4948818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4949818534a1SmrgDate: Fri Jun 7 09:27:26 2013 -0700 4950818534a1Smrg 4951818534a1Smrg specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder 4952818534a1Smrg 4953818534a1Smrg The XListPixmapFormats arguments was being shown with XImageByteOrder's 4954818534a1Smrg name and return types. Appears to have been a glitch in the nroff -> 4955818534a1Smrg docbook conversion. 4956818534a1Smrg 4957818534a1Smrg Reported-by: ZHANG Zhaolong <zhangzl2013@126.com> 4958818534a1Smrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 4959818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4960818534a1Smrg 4961818534a1Smrgcommit ed3d830243c8a0eefaf24e15b11823272ffe5049 4962818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 4963818534a1SmrgDate: Sun Jun 2 20:49:55 2013 +0200 4964818534a1Smrg 4965818534a1Smrg Deal with the limited range of VAX floating point numbers when compiling for VAX. 4966818534a1Smrg 4967818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4968818534a1Smrg 4969818534a1Smrgcommit 0a48235d63639fb917c44d27c86e928e79fbac66 4970818534a1SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4971818534a1SmrgDate: Thu Jun 6 16:43:56 2013 -0400 4972818534a1Smrg 4973818534a1Smrg Remove call to undefined macro. 4974818534a1Smrg 4975818534a1Smrgcommit 9e4719b9b719f2f8d255f6778e2e8c1809e32599 4976818534a1SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 4977818534a1SmrgDate: Thu Jun 6 16:42:20 2013 -0400 4978818534a1Smrg 4979818534a1Smrg Remove call to undefined macro. 4980818534a1Smrg 4981818534a1Smrgcommit 8496122eb00ce6cd5d2308ee54f64b68c378e455 4982818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4983818534a1SmrgDate: Mon Jun 3 20:06:43 2013 -0700 4984818534a1Smrg 4985818534a1Smrg Update README to reflect where to find the Xlib specs now 4986818534a1Smrg 4987818534a1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4988818534a1Smrg 4989e160ea6eSmrgcommit 655d631e86c95b14888758b27ed2836ca3e3ce86 4990e160ea6eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4991e160ea6eSmrgDate: Mon Jun 3 19:21:06 2013 -0700 4992e160ea6eSmrg 4993e160ea6eSmrg libX11 1.6.0 4994e160ea6eSmrg 4995e160ea6eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4996e160ea6eSmrg 4997e160ea6eSmrgcommit 4a89b7ea908554628f374537a79931c8006a2de3 4998e160ea6eSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 4999e160ea6eSmrgDate: Sun Jun 2 11:49:54 2013 -0700 5000e160ea6eSmrg 5001e160ea6eSmrg cmsMath.c: Add missing stdio header for printf(3) in DEBUG build. 5002e160ea6eSmrg 5003e160ea6eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5004e160ea6eSmrg 5005e160ea6eSmrgcommit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6 5006e160ea6eSmrgAuthor: Thomas Klausner <wiz@NetBSD.org> 5007e160ea6eSmrgDate: Sun Jun 2 20:49:48 2013 +0200 5008e160ea6eSmrg 5009e160ea6eSmrg XCreateGC man page: Avoid .TS H and .TH macros 5010e160ea6eSmrg 5011e160ea6eSmrg Avoid .TS H and .TH for now as it doesn't alter the output in this case, 5012e160ea6eSmrg and improve the output with mandoc(1). 5013e160ea6eSmrg 5014e160ea6eSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5015e160ea6eSmrg 5016eb411b4bSmrgcommit 95a388158c9d73df7d24016d6a3d61506d7d53a4 5017eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5018eb411b4bSmrgDate: Thu May 23 19:43:35 2013 -0700 5019eb411b4bSmrg 5020eb411b4bSmrg libX11 1.5.99.902 (1.6 RC2) 5021eb411b4bSmrg 5022eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5023eb411b4bSmrg 5024eb411b4bSmrgcommit a3bdd2b090915fe0163b062f0e6576fe05dd332e 5025eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 5026eb411b4bSmrgDate: Thu May 23 20:39:46 2013 +0200 5027eb411b4bSmrg 5028eb411b4bSmrg xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap 5029eb411b4bSmrg 5030eb411b4bSmrg The size of the arrays is max_key_code + 1. This makes these functions 5031eb411b4bSmrg consistent with the other checks added for CVE-2013-1997. 5032eb411b4bSmrg 5033eb411b4bSmrg Also check the XkbGetNames reply when names->keys was just allocated. 5034eb411b4bSmrg 5035eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 5036eb411b4bSmrg Tested-by: Colin Walters <walters@verbum.org> 5037eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5038eb411b4bSmrg 5039eb411b4bSmrgcommit 7e30056e78e4b7979ff47f102e00327617266019 5040eb411b4bSmrgAuthor: Niveditha Rau <Niveditha.Rau@Oracle.COM> 5041eb411b4bSmrgDate: Fri May 17 15:26:21 2013 -0700 5042eb411b4bSmrg 5043eb411b4bSmrg Make sure internal headers include required headers 5044eb411b4bSmrg 5045eb411b4bSmrg Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no 5046eb411b4bSmrg longer ignores *.h files, but complains when they reference undefined 5047eb411b4bSmrg typedefs or macros. 5048eb411b4bSmrg 5049eb411b4bSmrg Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM> 5050eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5051eb411b4bSmrg 5052eb411b4bSmrgcommit 2820100bf8ba130b94253f415e7fa5ac28bb2037 5053eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5054eb411b4bSmrgDate: Thu May 16 23:05:36 2013 -0700 5055eb411b4bSmrg 5056eb411b4bSmrg Free fs->properties in _XF86BigfontQueryFont overflow error path 5057eb411b4bSmrg 5058eb411b4bSmrg Fixes small memory leak introduced in commit 5669a22081 5059eb411b4bSmrg 5060eb411b4bSmrg Reported-by: Julien Cristau <jcristau@debian.org> 5061eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5062eb411b4bSmrg 5063eb411b4bSmrgcommit 3131740513133a9ff7cb12123d29ceb18584fc38 5064eb411b4bSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 5065eb411b4bSmrgDate: Wed May 8 19:33:09 2013 +0200 5066eb411b4bSmrg 5067eb411b4bSmrg XListFontsWithInfo: Re-decrement flist[0] before calling free() on it. 5068eb411b4bSmrg 5069eb411b4bSmrg Freeing a pointer that wasn't returned by malloc() is undefined 5070eb411b4bSmrg behavior and produces an error with OpenBSD's implementation. 5071eb411b4bSmrg 5072eb411b4bSmrg Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5073eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5074eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5075eb411b4bSmrg 5076eb411b4bSmrgcommit 3fe4bea086149f06a142a8f1d575f627ec1e22c7 5077eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5078eb411b4bSmrgDate: Fri Apr 19 14:30:40 2013 -0700 5079eb411b4bSmrg 5080eb411b4bSmrg Give GNU & Solaris Studio compilers hints about XEatData branches 5081eb411b4bSmrg 5082eb411b4bSmrg Try to offset the cost of all the recent checks we've added by giving 5083eb411b4bSmrg the compiler a hint that the branches that involve us eating data 5084eb411b4bSmrg are less likely to be used than the ones that process it. 5085eb411b4bSmrg 5086eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5087eb411b4bSmrg 5088eb411b4bSmrgcommit e1b457beb8d4e831ef44279dada6c475cb955738 5089eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5090eb411b4bSmrgDate: Sun Mar 31 12:22:35 2013 -0700 5091eb411b4bSmrg 5092eb411b4bSmrg _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode 5093eb411b4bSmrg 5094eb411b4bSmrg Various other bounds checks in the code assume this is true, so 5095eb411b4bSmrg enforce it when we first get the data from the X server. 5096eb411b4bSmrg 5097eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5098eb411b4bSmrg 5099eb411b4bSmrgcommit 12ad4c6432496897ff000eb7cfecd0fb4b290331 5100eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5101eb411b4bSmrgDate: Sat Mar 16 10:03:13 2013 -0700 5102eb411b4bSmrg 5103eb411b4bSmrg Use calloc in XOpenDisplay to initialize structs containing pointers 5104eb411b4bSmrg 5105eb411b4bSmrg Prevents trying to free uninitialized pointers if we have to bail out 5106eb411b4bSmrg partway through setup, such as if we receive a corrupted or incomplete 5107eb411b4bSmrg connection setup block from the server. 5108eb411b4bSmrg 5109eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5110eb411b4bSmrg 5111eb411b4bSmrgcommit d38527e25f8b6e2f1174ecc21260c5c5416f972e 5112eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5113eb411b4bSmrgDate: Thu Mar 7 23:46:05 2013 -0800 5114eb411b4bSmrg 5115eb411b4bSmrg Remove more unnecessary casts from Xmalloc/calloc calls 5116eb411b4bSmrg 5117eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5118eb411b4bSmrg 5119eb411b4bSmrgcommit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 5120eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5121eb411b4bSmrgDate: Sat Mar 2 16:56:16 2013 -0800 5122eb411b4bSmrg 5123eb411b4bSmrg Convert more _XEatData callers to _XEatDataWords 5124eb411b4bSmrg 5125eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5126eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5127eb411b4bSmrg 5128eb411b4bSmrgcommit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39 5129eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5130eb411b4bSmrgDate: Sat Mar 9 11:04:37 2013 -0800 5131eb411b4bSmrg 5132eb411b4bSmrg Make XGetWindowProperty() always initialize returned values 5133eb411b4bSmrg 5134eb411b4bSmrg Avoids memory corruption and other errors when callers access them 5135eb411b4bSmrg without checking to see if XGetWindowProperty() returned an error value. 5136eb411b4bSmrg 5137eb411b4bSmrg Callers are still required to check for errors, this just reduces the 5138eb411b4bSmrg damage when they don't. 5139eb411b4bSmrg 5140eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5141eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5142eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5143eb411b4bSmrg 5144eb411b4bSmrgcommit db1b1c871da29aa0545182bf888df81627f165a5 5145eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5146eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 5147eb411b4bSmrg 5148eb411b4bSmrg Avoid overflows in XListExtensions() [CVE-2013-1997 15/15] 5149eb411b4bSmrg 5150eb411b4bSmrg Ensure that when breaking the returned list into individual strings, 5151eb411b4bSmrg we don't walk past the end of allocated memory to write the '\0' bytes 5152eb411b4bSmrg 5153eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5154eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5155eb411b4bSmrg 5156eb411b4bSmrgcommit 8d5936594993921acdfec778dd8f41b555e2543a 5157eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5158eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 5159eb411b4bSmrg 5160eb411b4bSmrg Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15] 5161eb411b4bSmrg 5162eb411b4bSmrg Ensure that when breaking the returned list into individual strings, 5163eb411b4bSmrg we don't walk past the end of allocated memory to write the '\0' bytes 5164eb411b4bSmrg 5165eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5166eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5167eb411b4bSmrg 5168eb411b4bSmrgcommit 0c404db6a92dc2c198328bf586c02d8abbe02013 5169eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5170eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 5171eb411b4bSmrg 5172eb411b4bSmrg Avoid overflows in XListFonts() [CVE-2013-1997 13/15] 5173eb411b4bSmrg 5174eb411b4bSmrg Ensure that when breaking the returned list into individual strings, 5175eb411b4bSmrg we don't walk past the end of allocated memory to write the '\0' bytes 5176eb411b4bSmrg 5177eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5178eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5179eb411b4bSmrg 5180eb411b4bSmrgcommit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a 5181eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5182eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 5183eb411b4bSmrg 5184eb411b4bSmrg integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13] 5185eb411b4bSmrg 5186eb411b4bSmrg Ensure that we don't underallocate when the server claims a very large reply 5187eb411b4bSmrg 5188eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5189eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5190eb411b4bSmrg 5191eb411b4bSmrgcommit a351b8103b2ba78882e1c309e85893ca3abe2073 5192eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5193eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 5194eb411b4bSmrg 5195eb411b4bSmrg integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13] 5196eb411b4bSmrg 5197eb411b4bSmrg Ensure that we don't underallocate when the server claims a very large reply 5198eb411b4bSmrg 5199eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5200eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5201eb411b4bSmrg 5202eb411b4bSmrgcommit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59 5203eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5204eb411b4bSmrgDate: Sat Mar 2 15:08:21 2013 -0800 5205eb411b4bSmrg 5206eb411b4bSmrg integer overflow in XGetImage() [CVE-2013-1981 11/13] 5207eb411b4bSmrg 5208eb411b4bSmrg Ensure that we don't underallocate when the server claims to have sent a 5209eb411b4bSmrg very large reply. 5210eb411b4bSmrg 5211eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5212eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5213eb411b4bSmrg 5214eb411b4bSmrgcommit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72 5215eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5216eb411b4bSmrgDate: Fri Mar 8 22:25:35 2013 -0800 5217eb411b4bSmrg 5218eb411b4bSmrg integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13] 5219eb411b4bSmrg 5220eb411b4bSmrg If the reported number of properties is too large, the calculations 5221eb411b4bSmrg to allocate memory for them may overflow, leaving us returning less 5222eb411b4bSmrg memory to the caller than implied by the value written to *nitems. 5223eb411b4bSmrg 5224eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5225eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5226eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5227eb411b4bSmrg 5228eb411b4bSmrgcommit 164bf4dfe839b1cc75cdeee378a243d04a8200e4 5229eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5230eb411b4bSmrgDate: Sat Mar 2 13:18:48 2013 -0800 5231eb411b4bSmrg 5232eb411b4bSmrg integer overflows in TransFileName() [CVE-2013-1981 9/13] 5233eb411b4bSmrg 5234eb411b4bSmrg When trying to process file paths the tokens %H, %L, & %S are expanded 5235eb411b4bSmrg to $HOME, the standard compose file path & the xlocaledir path. 5236eb411b4bSmrg If enough of these tokens are repeated and values like $HOME are set to 5237eb411b4bSmrg very large values, the calculation of the total string size required to 5238eb411b4bSmrg hold the expanded path can overflow, resulting in allocating a smaller 5239eb411b4bSmrg string than the amount of data we'll write to it. 5240eb411b4bSmrg 5241eb411b4bSmrg Simply restrict all of these values, and the total path size to PATH_MAX, 5242eb411b4bSmrg because really, that's all you should need for a filename path. 5243eb411b4bSmrg 5244eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5245eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5246eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5247eb411b4bSmrg 5248eb411b4bSmrgcommit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2 5249eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5250eb411b4bSmrgDate: Fri Mar 1 18:37:37 2013 -0800 5251eb411b4bSmrg 5252eb411b4bSmrg integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13] 5253eb411b4bSmrg 5254eb411b4bSmrg Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE") 5255eb411b4bSmrg to specify filename. 5256eb411b4bSmrg 5257eb411b4bSmrg If the size of off_t is larger than the size of unsigned long (as in 5258eb411b4bSmrg 32-bit builds with large file flags), a file larger than 4 gigs could 5259eb411b4bSmrg have its size truncated, leading to data from that file being written 5260eb411b4bSmrg past the end of the undersized buffer allocated for it. 5261eb411b4bSmrg 5262eb411b4bSmrg While configure.ac does not use AC_SYS_LARGEFILE to set large file mode, 5263eb411b4bSmrg builders may have added the large file compilation flags to CFLAGS on 5264eb411b4bSmrg their own. 5265eb411b4bSmrg 5266eb411b4bSmrg size is left limited to an int, because if your Xim file is 5267eb411b4bSmrg larger than 2gb, you're doing it wrong. 5268eb411b4bSmrg 5269eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5270eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5271eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5272eb411b4bSmrg 5273eb411b4bSmrgcommit 226622349a4b1e16064649d4444a34fb4be4f464 5274eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5275eb411b4bSmrgDate: Sat Mar 2 12:39:58 2013 -0800 5276eb411b4bSmrg 5277eb411b4bSmrg Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2] 5278eb411b4bSmrg 5279eb411b4bSmrg parseline() can call _XimParseStringFile() which can call parseline() 5280eb411b4bSmrg which can call _XimParseStringFile() which can call parseline() .... 5281eb411b4bSmrg eventually causing recursive stack overflow and crash. 5282eb411b4bSmrg 5283eb411b4bSmrg Limit is set to a include depth of 100 files, which should be enough 5284eb411b4bSmrg for all known use cases, but could be adjusted later if necessary. 5285eb411b4bSmrg 5286eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5287eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5288eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5289eb411b4bSmrg 5290eb411b4bSmrgcommit 236b603d235dc264d1c6250dca09c745458a9088 5291eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5292eb411b4bSmrgDate: Sat Mar 2 12:01:39 2013 -0800 5293eb411b4bSmrg 5294eb411b4bSmrg Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2] 5295eb411b4bSmrg 5296eb411b4bSmrg GetIncludeFile() can call GetDatabase() which can call GetIncludeFile() 5297eb411b4bSmrg which can call GetDatabase() which can call GetIncludeFile() .... 5298eb411b4bSmrg eventually causing recursive stack overflow and crash. 5299eb411b4bSmrg 5300eb411b4bSmrg Easily reproduced with a resource file that #includes itself. 5301eb411b4bSmrg 5302eb411b4bSmrg Limit is set to a include depth of 100 files, which should be enough 5303eb411b4bSmrg for all known use cases, but could be adjusted later if necessary. 5304eb411b4bSmrg 5305eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5306eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5307eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5308eb411b4bSmrg 5309eb411b4bSmrgcommit 076428918e6c35f66b9b55c3fa097ff06496d155 5310eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5311eb411b4bSmrgDate: Fri Mar 1 18:37:37 2013 -0800 5312eb411b4bSmrg 5313eb411b4bSmrg integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13] 5314eb411b4bSmrg 5315eb411b4bSmrg Called from XrmGetFileDatabase() which gets called from InitDefaults() 5316eb411b4bSmrg which gets the filename from getenv ("XENVIRONMENT") 5317eb411b4bSmrg 5318eb411b4bSmrg If file is exactly 0xffffffff bytes long (or longer and truncates to 5319eb411b4bSmrg 0xffffffff, on implementations where off_t is larger than an int), 5320eb411b4bSmrg then size may be set to a value which overflows causing less memory 5321eb411b4bSmrg to be allocated than is written to by the following read() call. 5322eb411b4bSmrg 5323eb411b4bSmrg size is left limited to an int, because if your Xresources file is 5324eb411b4bSmrg larger than 2gb, you're very definitely doing it wrong. 5325eb411b4bSmrg 5326eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5327eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5328eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5329eb411b4bSmrg 5330eb411b4bSmrgcommit 90fd5abac2faca86f9f100353a3c9c7b89f31484 5331eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5332eb411b4bSmrgDate: Sat Mar 2 11:44:19 2013 -0800 5333eb411b4bSmrg 5334eb411b4bSmrg Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13] 5335eb411b4bSmrg 5336eb411b4bSmrg LoadColornameDB() calls stringSectionSize() to do a first pass over the 5337eb411b4bSmrg file (which may be provided by the user via XCMSDB environment variable) 5338eb411b4bSmrg to determine how much memory needs to be allocated to read in the file, 5339eb411b4bSmrg then allocates the returned sizes and calls ReadColornameDB() to load the 5340eb411b4bSmrg data from the file into that newly allocated memory. 5341eb411b4bSmrg 5342eb411b4bSmrg If stringSectionSize() overflows the signed ints used to calculate the 5343eb411b4bSmrg file size (say if you have an xcmsdb with ~4 billion lines in or a 5344eb411b4bSmrg combined string length of ~4 gig - which while it may have been 5345eb411b4bSmrg inconceivable when Xlib was written, is quite possible today), then 5346eb411b4bSmrg LoadColornameDB() may allocate a memory buffer much smaller than the 5347eb411b4bSmrg amount of data ReadColornameDB() will write to it. 5348eb411b4bSmrg 5349eb411b4bSmrg The total size is left limited to an int, because if your xcmsdb file 5350eb411b4bSmrg is larger than 2gb, you're doing it wrong. 5351eb411b4bSmrg 5352eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5353eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5354eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5355eb411b4bSmrg 5356eb411b4bSmrgcommit b9ba832401734e1cbd30a930c0d11d850293f3f9 5357eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5358eb411b4bSmrgDate: Sat Mar 2 11:25:25 2013 -0800 5359eb411b4bSmrg 5360eb411b4bSmrg unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15] 5361eb411b4bSmrg 5362eb411b4bSmrg Check the provided buffer size against the amount of data we're going to 5363eb411b4bSmrg write into it, not against the reported length from the ClientMessage. 5364eb411b4bSmrg 5365eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5366eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5367eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5368eb411b4bSmrg 5369eb411b4bSmrgcommit de2e6c322c4aca22856b380f67f8e488e7510015 5370eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5371eb411b4bSmrgDate: Sat Mar 2 11:11:08 2013 -0800 5372eb411b4bSmrg 5373eb411b4bSmrg unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15] 5374eb411b4bSmrg 5375eb411b4bSmrg If the X server returns key name indexes outside the range of the number 5376eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 5377eb411b4bSmrg 5378eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5379eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5380eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5381eb411b4bSmrg 5382eb411b4bSmrgcommit 2df882eeb3a70256170127a746a9ba26376599a1 5383eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5384eb411b4bSmrgDate: Sat Mar 2 11:01:04 2013 -0800 5385eb411b4bSmrg 5386eb411b4bSmrg unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15] 5387eb411b4bSmrg 5388eb411b4bSmrg If the X server returns modifier map indexes outside the range of the number 5389eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 5390eb411b4bSmrg 5391eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5392eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5393eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5394eb411b4bSmrg 5395eb411b4bSmrgcommit 4d7c422a37eb9617fb22f8e37527c2b34b105665 5396eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5397eb411b4bSmrgDate: Sat Mar 2 11:04:44 2013 -0800 5398eb411b4bSmrg 5399eb411b4bSmrg unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15] 5400eb411b4bSmrg 5401eb411b4bSmrg If the X server returns key indexes outside the range of the number of 5402eb411b4bSmrg keys it told us to allocate, out of bounds memory writes could occur. 5403eb411b4bSmrg 5404eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5405eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5406eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5407eb411b4bSmrg 5408eb411b4bSmrgcommit e56a2ada719c5cfac5ed61a52a80ade86c0f5957 5409eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5410eb411b4bSmrgDate: Sat Mar 2 10:51:51 2013 -0800 5411eb411b4bSmrg 5412eb411b4bSmrg unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15] 5413eb411b4bSmrg 5414eb411b4bSmrg If the X server returns modifier map indexes outside the range of the number 5415eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 5416eb411b4bSmrg 5417eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5418eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5419eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5420eb411b4bSmrg 5421eb411b4bSmrgcommit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca 5422eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5423eb411b4bSmrgDate: Sat Mar 2 10:39:21 2013 -0800 5424eb411b4bSmrg 5425eb411b4bSmrg unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15] 5426eb411b4bSmrg 5427eb411b4bSmrg If the X server returns key behavior indexes outside the range of the number 5428eb411b4bSmrg of keys it told us to allocate, out of bounds memory writes could occur. 5429eb411b4bSmrg 5430eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5431eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5432eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5433eb411b4bSmrg 5434eb411b4bSmrgcommit 00626c3830b869259098985afa38933d77ccec72 5435eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5436eb411b4bSmrgDate: Sat Mar 2 09:40:22 2013 -0800 5437eb411b4bSmrg 5438eb411b4bSmrg unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15] 5439eb411b4bSmrg 5440eb411b4bSmrg If the X server returns key action indexes outside the range of the number 5441eb411b4bSmrg of keys it told us to allocate, out of bounds memory access could occur. 5442eb411b4bSmrg 5443eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5444eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5445eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5446eb411b4bSmrg 5447eb411b4bSmrgcommit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9 5448eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5449eb411b4bSmrgDate: Sat Mar 2 09:28:33 2013 -0800 5450eb411b4bSmrg 5451eb411b4bSmrg unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15] 5452eb411b4bSmrg 5453eb411b4bSmrg If the X server returns keymap indexes outside the range of the number of 5454eb411b4bSmrg keys it told us to allocate, out of bounds memory access could occur. 5455eb411b4bSmrg 5456eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5457eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5458eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5459eb411b4bSmrg 5460eb411b4bSmrgcommit 59ae16a00d18588e98af57d26e442af8ea42b7aa 5461eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5462eb411b4bSmrgDate: Sat Mar 2 09:18:26 2013 -0800 5463eb411b4bSmrg 5464eb411b4bSmrg unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15] 5465eb411b4bSmrg 5466eb411b4bSmrg If the X server returns color indexes outside the range of the number of 5467eb411b4bSmrg colors it told us to allocate, out of bounds memory access could occur. 5468eb411b4bSmrg 5469eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5470eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5471eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5472eb411b4bSmrg 5473eb411b4bSmrgcommit bff938b9fe1629cbacb726509edfa2a3840b7207 5474eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5475eb411b4bSmrgDate: Sat Mar 2 09:12:47 2013 -0800 5476eb411b4bSmrg 5477eb411b4bSmrg unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15] 5478eb411b4bSmrg 5479eb411b4bSmrg If the X server returns shape indexes outside the range of the number 5480eb411b4bSmrg of shapes it told us to allocate, out of bounds memory access could occur. 5481eb411b4bSmrg 5482eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5483eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5484eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5485eb411b4bSmrg 5486eb411b4bSmrgcommit f293659d5a4024bda386305bb7ebeb4647c40934 5487eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5488eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 5489eb411b4bSmrg 5490eb411b4bSmrg unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15] 5491eb411b4bSmrg 5492eb411b4bSmrg If the X server returns more buttons than are allocated in the XKB 5493eb411b4bSmrg device info structures, out of bounds writes could occur. 5494eb411b4bSmrg 5495eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5496eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5497eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5498eb411b4bSmrg 5499eb411b4bSmrgcommit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2 5500eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5501eb411b4bSmrgDate: Fri Mar 1 19:30:09 2013 -0800 5502eb411b4bSmrg 5503eb411b4bSmrg unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15] 5504eb411b4bSmrg 5505eb411b4bSmrg If a broken server returned larger than requested values for nPixels or 5506eb411b4bSmrg nMasks, XAllocColorCells would happily overflow the buffers provided by 5507eb411b4bSmrg the caller to write the results into. 5508eb411b4bSmrg 5509eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5510eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5511eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5512eb411b4bSmrg 5513eb411b4bSmrgcommit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7 5514eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5515eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 5516eb411b4bSmrg 5517eb411b4bSmrg integer overflow in XListHosts() [CVE-2013-1981 5/13] 5518eb411b4bSmrg 5519eb411b4bSmrg If the reported number of host entries is too large, the calculations 5520eb411b4bSmrg to allocate memory for them may overflow, leaving us writing beyond the 5521eb411b4bSmrg bounds of the allocation. 5522eb411b4bSmrg 5523eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5524eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5525eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5526eb411b4bSmrg 5527eb411b4bSmrgcommit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12 5528eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5529eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 5530eb411b4bSmrg 5531eb411b4bSmrg integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13] 5532eb411b4bSmrg 5533eb411b4bSmrg If the reported number of motion events is too large, the calculations 5534eb411b4bSmrg to allocate memory for them may overflow, leaving us writing beyond the 5535eb411b4bSmrg bounds of the allocation. 5536eb411b4bSmrg 5537eb411b4bSmrg v2: Ensure nEvents is set to 0 when returning NULL events pointer 5538eb411b4bSmrg 5539eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5540eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5541eb411b4bSmrg 5542eb411b4bSmrgcommit 39515b7c3ba8cae9021bf6695e378ae19487082f 5543eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5544eb411b4bSmrgDate: Fri Mar 1 22:49:01 2013 -0800 5545eb411b4bSmrg 5546eb411b4bSmrg integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13] 5547eb411b4bSmrg 5548eb411b4bSmrg If the reported number of remaining fonts is too large, the calculations 5549eb411b4bSmrg to allocate memory for them may overflow, leaving us writing beyond the 5550eb411b4bSmrg bounds of the allocation. 5551eb411b4bSmrg 5552eb411b4bSmrg v2: Fix reply_left calculations, check calculated sizes fit in reply_left 5553eb411b4bSmrg v3: On error cases, also set values to be returned in pointer args to 0/NULL 5554eb411b4bSmrg 5555eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5556eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5557eb411b4bSmrg 5558eb411b4bSmrgcommit 5669a220816b7d58fcaf0c302ead16fbe5c87817 5559eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5560eb411b4bSmrgDate: Fri Mar 1 21:05:27 2013 -0800 5561eb411b4bSmrg 5562eb411b4bSmrg integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13] 5563eb411b4bSmrg 5564eb411b4bSmrg Similar to _XQueryFont, but with more ways to go wrong and overflow. 5565eb411b4bSmrg Only compiled if libX11 is built with XF86BigFont support. 5566eb411b4bSmrg 5567eb411b4bSmrg v2: Fix reply_left calculations, check calculated sizes fit in reply_left 5568eb411b4bSmrg 5569eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5570eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5571eb411b4bSmrg 5572eb411b4bSmrgcommit 6df8a63d34b7514077188e2062a13774f920c085 5573eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5574eb411b4bSmrgDate: Fri Mar 1 21:05:27 2013 -0800 5575eb411b4bSmrg 5576eb411b4bSmrg integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13] 5577eb411b4bSmrg 5578eb411b4bSmrg If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an 5579eb411b4bSmrg unsigned long, then too small of a buffer will be allocated for the 5580eb411b4bSmrg data copied in from the reply. 5581eb411b4bSmrg 5582eb411b4bSmrg v2: Fix reply_left calculations, check calculated sizes fit in reply_left 5583eb411b4bSmrg 5584eb411b4bSmrg Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> 5585eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5586eb411b4bSmrg 5587eb411b4bSmrgcommit 9f5d83706543696fc944c1835a403938c06f2cc5 5588eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5589eb411b4bSmrgDate: Fri Mar 1 20:54:24 2013 -0800 5590eb411b4bSmrg 5591eb411b4bSmrg Add _XEatDataWords to discard a given number of 32-bit words of reply data 5592eb411b4bSmrg 5593eb411b4bSmrg Matches the units of the length field in X protocol replies, and provides 5594eb411b4bSmrg a single implementation of overflow checking to avoid having to replicate 5595eb411b4bSmrg those checks in every caller. 5596eb411b4bSmrg 5597eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5598eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5599eb411b4bSmrg 5600eb411b4bSmrgcommit d7f04c340ade3834e603c23d543132e1ee4e0c63 5601eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5602eb411b4bSmrgDate: Sat Mar 2 13:03:55 2013 -0800 5603eb411b4bSmrg 5604eb411b4bSmrg Move repeated #ifdef magic to find PATH_MAX into a common header 5605eb411b4bSmrg 5606eb411b4bSmrg Lets stop duplicating the mess all over 5607eb411b4bSmrg 5608eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5609eb411b4bSmrg Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> 5610eb411b4bSmrg 5611eb411b4bSmrgcommit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1 5612eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 5613eb411b4bSmrgDate: Tue May 7 18:38:14 2013 -0400 5614eb411b4bSmrg 5615eb411b4bSmrg Add compose sequences for J́ and j́. 5616eb411b4bSmrg 5617eb411b4bSmrg The resulting sequences are: 5618eb411b4bSmrg 5619eb411b4bSmrg U+004A LATIN CAPITAL LETTER J U+0301 COMBINING ACUTE ACCENT 5620eb411b4bSmrg U+006A LATIN SMALL LETTER J U+0301 COMBINING ACUTE ACCENT 5621eb411b4bSmrg 5622eb411b4bSmrg Used in Dutch, per: 5623eb411b4bSmrg 5624eb411b4bSmrg http://lists.x.org/archives/xorg-devel/2013-February/035514.html 5625eb411b4bSmrg https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling 5626eb411b4bSmrg 5627eb411b4bSmrg Signed-off-by: Pander <pander@users.sourceforge.net> 5628eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5629eb411b4bSmrg 5630eb411b4bSmrgcommit f49bb2dd6d4ea45c55bd21acc0efe2b764441020 5631eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5632eb411b4bSmrgDate: Sat Mar 16 18:30:56 2013 -0700 5633eb411b4bSmrg 5634eb411b4bSmrg Move big request comment in XOpenDisplay to the right place 5635eb411b4bSmrg 5636eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5637eb411b4bSmrg 5638eb411b4bSmrgcommit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83 5639eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5640eb411b4bSmrgDate: Sat Mar 9 19:16:03 2013 -0800 5641eb411b4bSmrg 5642eb411b4bSmrg libX11 1.5.99.901 (1.6 RC1) 5643eb411b4bSmrg 5644eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5645eb411b4bSmrg 5646eb411b4bSmrgcommit f9cd175a471116a616e681fb0ca1a61b3d84a6a0 5647eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5648eb411b4bSmrgDate: Fri Mar 8 22:33:28 2013 -0800 5649eb411b4bSmrg 5650eb411b4bSmrg Fix very weird indenting in src/GetFProp.c 5651eb411b4bSmrg 5652eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5653eb411b4bSmrg 5654eb411b4bSmrgcommit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c 5655eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5656eb411b4bSmrgDate: Fri Mar 8 15:37:33 2013 -0800 5657eb411b4bSmrg 5658eb411b4bSmrg XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL 5659eb411b4bSmrg 5660eb411b4bSmrg While the C standard technically allows for the compiler to translate 5661eb411b4bSmrg pointer = 0 or pointer = NULL into something other than filling the 5662eb411b4bSmrg pointer address with 0 bytes, the rest of the Xlib code already assumes 5663eb411b4bSmrg that calloc initializes any pointers in the struct to NULL, and there 5664eb411b4bSmrg are no known systems supported by X.Org where this is not true. 5665eb411b4bSmrg 5666eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5667eb411b4bSmrg 5668eb411b4bSmrgcommit 39547d600a13713e15429f49768e54c3173c828d 5669eb411b4bSmrgAuthor: Karl Tomlinson <xmail@karlt.net> 5670eb411b4bSmrgDate: Mon Feb 18 01:25:34 2013 +0000 5671eb411b4bSmrg 5672eb411b4bSmrg MakeBigReq: don't move the last word, already handled by Data32 5673eb411b4bSmrg 5674eb411b4bSmrg MakeBigReq inserts a length field after the first 4 bytes of the request 5675eb411b4bSmrg (after req->length), pushing everything else back by 4 bytes. 5676eb411b4bSmrg 5677eb411b4bSmrg The current memmove moves everything but the first 4 bytes back. 5678eb411b4bSmrg If a request aligns to the end of the buffer pointer when MakeBigReq is 5679eb411b4bSmrg invoked for that request, this runs over the buffer. 5680eb411b4bSmrg Instead, we need to memmove minus the first 4 bytes (which aren't moved), 5681eb411b4bSmrg minus the last 4 bytes (so we still align to the previous tail). 5682eb411b4bSmrg 5683eb411b4bSmrg The 4 bytes that fell out are already handled with Data32, which will 5684eb411b4bSmrg handle the buffermax correctly. 5685eb411b4bSmrg 5686eb411b4bSmrg The case where req->length = 1 was already not functional. 5687eb411b4bSmrg 5688eb411b4bSmrg Reported by Abhishek Arya <inferno@chromium.org>. 5689eb411b4bSmrg 5690eb411b4bSmrg https://bugzilla.mozilla.org/show_bug.cgi?id=803762 5691eb411b4bSmrg 5692eb411b4bSmrg Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com> 5693eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5694eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5695eb411b4bSmrg 5696eb411b4bSmrgcommit 3cdb6c3a1646f670afa03d424ec12ac418181d1e 5697eb411b4bSmrgAuthor: Quentin Glidic <sardemff7+git@sardemff7.net> 5698eb411b4bSmrgDate: Tue Jan 15 21:07:17 2013 +0000 5699eb411b4bSmrg 5700eb411b4bSmrg nls/Makefile.am: Use LOG_COMPILER 5701eb411b4bSmrg 5702eb411b4bSmrg TESTS_ENVIRONMENT is deprecated 5703eb411b4bSmrg 5704eb411b4bSmrg Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 5705eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5706eb411b4bSmrg 5707eb411b4bSmrgcommit df66d7a98e2bc7f44fb5583b645df87d525f07f1 5708eb411b4bSmrgAuthor: Quentin Glidic <sardemff7+git@sardemff7.net> 5709eb411b4bSmrgDate: Tue Jan 15 21:07:16 2013 +0000 5710eb411b4bSmrg 5711eb411b4bSmrg nls/Makefile.am: Remove unneeded $(srcdir) 5712eb411b4bSmrg 5713eb411b4bSmrg Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net> 5714eb411b4bSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 5715eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5716eb411b4bSmrg 5717eb411b4bSmrgcommit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278 5718eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5719eb411b4bSmrgDate: Sat Mar 2 12:01:39 2013 -0800 5720eb411b4bSmrg 5721eb411b4bSmrg Add <X11/Xresource.h> hint to all Xrm* man pages 5722eb411b4bSmrg 5723eb411b4bSmrg Help users figure out which header file they need to #include 5724eb411b4bSmrg 5725eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5726eb411b4bSmrg 5727eb411b4bSmrgcommit 466404007f2c8f7166e4faddfea1454c5bfe1e9a 5728eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5729eb411b4bSmrgDate: Fri Mar 8 17:13:09 2013 -0800 5730eb411b4bSmrg 5731eb411b4bSmrg _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after 5732eb411b4bSmrg 5733eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5734eb411b4bSmrg 5735eb411b4bSmrgcommit 47d2eff64d167b3245d346d7f38ca703be645e26 5736eb411b4bSmrgAuthor: Ken Moffat <ken@linuxfromscratch.org> 5737eb411b4bSmrgDate: Thu Mar 7 18:27:54 2013 -0500 5738eb411b4bSmrg 5739eb411b4bSmrg dead_double_grave and dead_inverted_breve should only have one underscore. 5740eb411b4bSmrg 5741eb411b4bSmrg Correct instances of dead_double_grave and dead_inverted_breve to 5742eb411b4bSmrg dead_doublegrave and dead_invertedbreve. 5743eb411b4bSmrg 5744eb411b4bSmrg Signed-off-by: Ken Moffat <ken@linuxfromscratch.org> 5745eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 5746eb411b4bSmrg 5747eb411b4bSmrgcommit c23d61d1b84dca3740bf4786978c7908d0065fb9 5748eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5749eb411b4bSmrgDate: Fri Mar 1 18:10:27 2013 -0800 5750eb411b4bSmrg 5751eb411b4bSmrg Assume size_t is always available, since it was defined in C89 5752eb411b4bSmrg 5753eb411b4bSmrg Don't provide a fallback definition #ifdef X_NOT_POSIX anymore. 5754eb411b4bSmrg We already use size_t throughout the rest of Xlib, just had this 5755eb411b4bSmrg one instance left in XKBGAlloc.c of a fallback definition. 5756eb411b4bSmrg 5757eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5758eb411b4bSmrg 5759eb411b4bSmrgcommit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1 5760eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5761eb411b4bSmrgDate: Fri Mar 1 18:09:07 2013 -0800 5762eb411b4bSmrg 5763eb411b4bSmrg unifdef XKB_IN_SERVER 5764eb411b4bSmrg 5765eb411b4bSmrg Leftovers from XKB files that were previously shared between the client 5766eb411b4bSmrg and server code, but aren't any more. 5767eb411b4bSmrg 5768eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5769eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5770eb411b4bSmrg 5771eb411b4bSmrgcommit 769a0efa2298040fe8316a89fc9e75fb61e288e5 5772eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5773eb411b4bSmrgDate: Thu Feb 28 20:04:25 2013 -0800 5774eb411b4bSmrg 5775eb411b4bSmrg unifdef CRAY & _CRAY 5776eb411b4bSmrg 5777eb411b4bSmrg (mostly performed with unifdef, followed by some manual cleanup of 5778eb411b4bSmrg the remaining code) 5779eb411b4bSmrg 5780eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5781eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5782eb411b4bSmrg 5783eb411b4bSmrgcommit ca106eb03e5f5468df8033300c5caae3d3c6936b 5784eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5785eb411b4bSmrgDate: Thu Feb 28 20:04:25 2013 -0800 5786eb411b4bSmrg 5787eb411b4bSmrg unifdef WORD64 5788eb411b4bSmrg 5789eb411b4bSmrg WORD64 seems to have only been defined in <X11/Xmd.h> when building for 5790eb411b4bSmrg CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having 5791eb411b4bSmrg 64-bit alignment requirements. 5792eb411b4bSmrg 5793eb411b4bSmrg It hadn't been fully supported even before autotooling, as can be 5794eb411b4bSmrg seen by removed code such as: 5795eb411b4bSmrg 5796eb411b4bSmrg #ifdef WORD64 5797eb411b4bSmrg _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 5798eb411b4bSmrg #endif 5799eb411b4bSmrg 5800eb411b4bSmrg (mostly performed with unifdef, followed by some manual cleanup of 5801eb411b4bSmrg the remaining code) 5802eb411b4bSmrg 5803eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5804eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5805eb411b4bSmrg 5806eb411b4bSmrgcommit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458 5807eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5808eb411b4bSmrgDate: Thu Feb 28 20:04:25 2013 -0800 5809eb411b4bSmrg 5810eb411b4bSmrg unifdef MUSTCOPY 5811eb411b4bSmrg 5812eb411b4bSmrg MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for 5813eb411b4bSmrg CRAY, to handle missing some sizes of integer type. 5814eb411b4bSmrg 5815eb411b4bSmrg (mostly performed with unifdef, followed by some manual cleanup of 5816eb411b4bSmrg spacing/indenting in the remaining code) 5817eb411b4bSmrg 5818eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5819eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 5820eb411b4bSmrg 5821eb411b4bSmrgcommit b687440c28c7da6ee0ae44514d20248db5161606 5822eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5823eb411b4bSmrgDate: Sat Feb 16 10:42:23 2013 -0800 5824eb411b4bSmrg 5825eb411b4bSmrg Convert more sprintf calls to snprintf 5826eb411b4bSmrg 5827eb411b4bSmrg You could analyze most of these and quickly recognize that there was no 5828eb411b4bSmrg chance of buffer overflow already, but why make everyone spend time doing 5829eb411b4bSmrg that when we can just make it obviously safe? 5830eb411b4bSmrg 5831eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5832eb411b4bSmrg 5833eb411b4bSmrgcommit b092dabbd712d7b656abcf572d253b9b206c0237 5834eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5835eb411b4bSmrgDate: Fri Feb 15 23:43:12 2013 -0800 5836eb411b4bSmrg 5837eb411b4bSmrg XKeysymToString: move variable declarations to the scope of their usage 5838eb411b4bSmrg 5839eb411b4bSmrg Makes it easier for readers to understand scope of variable usage, and 5840eb411b4bSmrg clears up gcc warning: 5841eb411b4bSmrg 5842eb411b4bSmrg KeysymStr.c: In function 'XKeysymToString': 5843eb411b4bSmrg KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow] 5844eb411b4bSmrg KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow] 5845eb411b4bSmrg 5846eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5847eb411b4bSmrg 5848eb411b4bSmrgcommit f0b171c8ea7b055ba520272ea9a2604e18841ac7 5849eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5850eb411b4bSmrgDate: Fri Feb 15 23:34:40 2013 -0800 5851eb411b4bSmrg 5852eb411b4bSmrg Preserve constness in casting arguments through the Data*() routines 5853eb411b4bSmrg 5854eb411b4bSmrg Casts were annoying gcc by dropping constness when changing types, 5855eb411b4bSmrg when routines simply either copy data into the request buffer or 5856eb411b4bSmrg send it directly to the X server, and never modify the input. 5857eb411b4bSmrg 5858eb411b4bSmrg Fixes gcc warnings including: 5859eb411b4bSmrg ChProp.c: In function 'XChangeProperty': 5860eb411b4bSmrg ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5861eb411b4bSmrg ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5862eb411b4bSmrg ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5863eb411b4bSmrg ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5864eb411b4bSmrg ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5865eb411b4bSmrg SetHints.c: In function 'XSetStandardProperties': 5866eb411b4bSmrg SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5867eb411b4bSmrg SetPntMap.c: In function 'XSetPointerMapping': 5868eb411b4bSmrg SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5869eb411b4bSmrg SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5870eb411b4bSmrg StBytes.c: In function 'XStoreBuffer': 5871eb411b4bSmrg StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5872eb411b4bSmrg StName.c: In function 'XStoreName': 5873eb411b4bSmrg StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5874eb411b4bSmrg StName.c: In function 'XSetIconName': 5875eb411b4bSmrg StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5876eb411b4bSmrg 5877eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5878eb411b4bSmrg 5879eb411b4bSmrgcommit 6c558ee357292dd9dfc6d9006f4525f625327c52 5880eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5881eb411b4bSmrgDate: Fri Feb 15 22:58:54 2013 -0800 5882eb411b4bSmrg 5883eb411b4bSmrg Fix comment typo & confusing indentation levels in Data() macro definition 5884eb411b4bSmrg 5885eb411b4bSmrg The final } matches the one on the #define line, not one that doesn't 5886eb411b4bSmrg appear after the else statement it was lined up with 5887eb411b4bSmrg 5888eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5889eb411b4bSmrg 5890eb411b4bSmrgcommit afd6593da90e51234d59f8921c411317f91ab48b 5891eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5892eb411b4bSmrgDate: Fri Feb 15 23:25:38 2013 -0800 5893eb411b4bSmrg 5894eb411b4bSmrg XStringToKeysym: preserve constness when casting off unsignedness for strcmp 5895eb411b4bSmrg 5896eb411b4bSmrg Fixes gcc warning: 5897eb411b4bSmrg StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5898eb411b4bSmrg 5899eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5900eb411b4bSmrg 5901eb411b4bSmrgcommit 7e3bf4dd83fec22bd568146de75e6d59eff74e21 5902eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5903eb411b4bSmrgDate: Fri Feb 15 23:14:40 2013 -0800 5904eb411b4bSmrg 5905eb411b4bSmrg XRebindKeysym: Drop unnecessary const-removing cast 5906eb411b4bSmrg 5907eb411b4bSmrg C89 defines memcpy as taking a const void *, so casting from 5908eb411b4bSmrg const unsigned char * to char * simply angers gcc for no benefit: 5909eb411b4bSmrg 5910eb411b4bSmrg KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5911eb411b4bSmrg 5912eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5913eb411b4bSmrg 5914eb411b4bSmrgcommit 54527eab93d46055cf11eb6c18abb353a03ae544 5915eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5916eb411b4bSmrgDate: Fri Feb 15 22:45:19 2013 -0800 5917eb411b4bSmrg 5918eb411b4bSmrg cmsColNm.c: maintain constness of arguments to qsort helper function 5919eb411b4bSmrg 5920eb411b4bSmrg Fixes gcc warning: 5921eb411b4bSmrg 5922eb411b4bSmrg cmsColNm.c: In function 'FirstCmp': 5923eb411b4bSmrg cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5924eb411b4bSmrg cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] 5925eb411b4bSmrg 5926eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5927eb411b4bSmrg 5928eb411b4bSmrgcommit deedeada53676ee529d700bf96fde0b29a3a1def 5929eb411b4bSmrgAuthor: Nickolai Zeldovich <nickolai@csail.mit.edu> 5930eb411b4bSmrgDate: Tue Jan 22 10:03:00 2013 -0500 5931eb411b4bSmrg 5932eb411b4bSmrg XListFontsWithInfo: avoid accessing realloc'ed memory 5933eb411b4bSmrg 5934eb411b4bSmrg If exactly one of the two reallocs in XListFontsWithInfo() fails, the 5935eb411b4bSmrg subsequent code accesses memory freed by the other realloc. 5936eb411b4bSmrg 5937eb411b4bSmrg Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu> 5938eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5939eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5940eb411b4bSmrg 5941eb411b4bSmrgcommit f57fd760cba92ad846917f21e94e73e9c846185f 5942eb411b4bSmrgAuthor: Colin Walters <walters@verbum.org> 5943eb411b4bSmrgDate: Wed Jan 4 17:37:06 2012 -0500 5944eb411b4bSmrg 5945eb411b4bSmrg autogen.sh: Implement GNOME Build API 5946eb411b4bSmrg 5947eb411b4bSmrg http://people.gnome.org/~walters/docs/build-api.txt 5948eb411b4bSmrg 5949eb411b4bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 5950eb411b4bSmrg 5951eb411b4bSmrgcommit 51c102d39e855cf1704d9eb3afba76a2e73c6b81 5952eb411b4bSmrgAuthor: Adam Jackson <ajax@redhat.com> 5953eb411b4bSmrgDate: Tue Jan 15 14:28:48 2013 -0500 5954eb411b4bSmrg 5955eb411b4bSmrg configure: Remove AM_MAINTAINER_MODE 5956eb411b4bSmrg 5957eb411b4bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 5958eb411b4bSmrg 5959eb411b4bSmrgcommit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c 5960eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5961eb411b4bSmrgDate: Wed Dec 26 22:57:39 2012 -0800 5962eb411b4bSmrg 5963eb411b4bSmrg Remove unused DECnet ("DNETCONN") code from Xlib 5964eb411b4bSmrg 5965eb411b4bSmrg Has never been converted to build in modular builds, so has been unusable 5966eb411b4bSmrg since X11R7.0 release in 2005. DNETCONN support was removed from xtrans 5967eb411b4bSmrg back in 2008. 5968eb411b4bSmrg 5969eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5970eb411b4bSmrg 5971eb411b4bSmrgcommit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e 5972eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5973eb411b4bSmrgDate: Wed Dec 26 22:56:38 2012 -0800 5974eb411b4bSmrg 5975eb411b4bSmrg Remove unused TLI ("STREAMSCONN") code from Xlib 5976eb411b4bSmrg 5977eb411b4bSmrg Has never been converted to build in modular builds, so has been unusable 5978eb411b4bSmrg since X11R7.0 release in 2005. All known platforms with TLI/XTI support 5979eb411b4bSmrg that X11R7 & later releases run on also have (and mostly prefer) BSD 5980eb411b4bSmrg socket support for their networking API. 5981eb411b4bSmrg 5982eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5983eb411b4bSmrg 5984eb411b4bSmrgcommit 59c9ee8cd58857c5769b643611cbe526005a9e45 5985eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5986eb411b4bSmrgDate: Sun Dec 16 17:44:42 2012 -0800 5987eb411b4bSmrg 5988eb411b4bSmrg Tell clang not to report -Wpadded warnings on public headers we can't fix 5989eb411b4bSmrg 5990eb411b4bSmrg Better to silence the compiler warning than break ABI. 5991eb411b4bSmrg 5992eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5993eb411b4bSmrg 5994eb411b4bSmrgcommit 0b148750027fd0557c5ed93afda861ddf4b92e0f 5995eb411b4bSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 5996eb411b4bSmrgDate: Mon Nov 12 17:27:52 2012 +0000 5997eb411b4bSmrg 5998eb411b4bSmrg Fix config check for loadable modules 5999eb411b4bSmrg 6000eb411b4bSmrg The config check of the results of testing for dlfcn.h or dl.h just tests the 6001eb411b4bSmrg value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking 6002eb411b4bSmrg it is 'yes', so loadable module support would always be detected. 6003eb411b4bSmrg 6004eb411b4bSmrg This is necessary for successful compilation for the MinGW target without the 6005eb411b4bSmrg optional dlfcn-win32 library. 6006eb411b4bSmrg 6007eb411b4bSmrg v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works 6008eb411b4bSmrg correctly when dlfcn.h is available 6009eb411b4bSmrg 6010eb411b4bSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6011eb411b4bSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 6012eb411b4bSmrg 6013eb411b4bSmrgcommit cd25cab4b5b957641183ce72dd1ae0424aff1663 6014eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6015eb411b4bSmrgDate: Fri May 20 18:27:02 2011 +0200 6016eb411b4bSmrg 6017eb411b4bSmrg Install Xcms.txt in $(datadir) rather than $(libdir). 6018eb411b4bSmrg 6019eb411b4bSmrg This file is an architecture independent data and should be where 6020eb411b4bSmrg other databases are. 6021eb411b4bSmrg This is the Xlib provided sample file, applications are free to 6022eb411b4bSmrg use a different one specifying its location in the XCMSDB env 6023eb411b4bSmrg variable. 6024eb411b4bSmrg 6025eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6026eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6027eb411b4bSmrg 6028eb411b4bSmrgcommit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a 6029eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6030eb411b4bSmrgDate: Fri May 20 18:25:24 2011 +0200 6031eb411b4bSmrg 6032eb411b4bSmrg Don't hard code path to Xcms.txt file. 6033eb411b4bSmrg 6034eb411b4bSmrg The path to this file is configurable at build time. The source 6035eb411b4bSmrg however contains a hard coded path. 6036eb411b4bSmrg 6037eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6038eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6039eb411b4bSmrg 6040eb411b4bSmrgcommit 9833489e6c3829a1e835bc0a11f028fc180809e4 6041eb411b4bSmrgAuthor: Colin Walters <walters@verbum.org> 6042eb411b4bSmrgDate: Fri Dec 7 08:51:21 2012 -0500 6043eb411b4bSmrg 6044eb411b4bSmrg Fix build after dropping locales 6045eb411b4bSmrg 6046eb411b4bSmrg They also needed to be removed from configure.ac 6047eb411b4bSmrg 6048eb411b4bSmrg Signed-off-by: Colin Walters <walters@verbum.org> 6049eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 6050eb411b4bSmrg 6051eb411b4bSmrgcommit 0a740a574aaf0c0eec78859b773a532cff3b74c3 6052eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6053eb411b4bSmrgDate: Fri May 20 13:04:11 2011 +0200 6054eb411b4bSmrg 6055eb411b4bSmrg i18n: Uppercased all occurances if 'iso8859' in the full locale name. 6056eb411b4bSmrg 6057eb411b4bSmrg Making all occurances of iso8859 upper case in the full local name 6058eb411b4bSmrg makes the alias entries more consistent and match the entries on 6059eb411b4bSmrg locale.dir. 6060eb411b4bSmrg 6061eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6062eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6063eb411b4bSmrg 6064eb411b4bSmrgcommit 5e7d589697755a70fb22d85c6a1ae82b39843e53 6065eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6066eb411b4bSmrgDate: Fri May 20 17:55:49 2011 +0200 6067eb411b4bSmrg 6068eb411b4bSmrg i18n: Remove ja.S90 and ja.U90 locales. 6069eb411b4bSmrg 6070eb411b4bSmrg Both locales carry a copyright notice and a prorietary statement: 6071eb411b4bSmrg 6072eb411b4bSmrg Copyright 1995 by FUJITSU LIMITED 6073eb411b4bSmrg This is source code modified by FUJITSU LIMITED under the Joint 6074eb411b4bSmrg Development Agreement for the CDEnext PST. 6075eb411b4bSmrg This is unpublished proprietary source code of FUJITSU LIMITED 6076eb411b4bSmrg 6077eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6078eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6079eb411b4bSmrg 6080eb411b4bSmrgcommit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e 6081eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6082eb411b4bSmrgDate: Fri May 20 16:46:15 2011 +0200 6083eb411b4bSmrg 6084eb411b4bSmrg i18n: Bring locale.dir and compose.dir in sync. 6085eb411b4bSmrg 6086eb411b4bSmrg Some entries for locale/encoding combinations were missing from 6087eb411b4bSmrg either file or just misspelled, some entries were wrong or just 6088eb411b4bSmrg aliases. 6089eb411b4bSmrg 6090eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6091eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6092eb411b4bSmrg 6093eb411b4bSmrgcommit d1e6baa4e290b758e430077cb74e7c03ad850771 6094eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6095eb411b4bSmrgDate: Fri May 20 14:02:39 2011 +0200 6096eb411b4bSmrg 6097eb411b4bSmrg i18n: Treat 'a3_AZ' as an alias for 'az_AZ'. 6098eb411b4bSmrg 6099eb411b4bSmrg locale.alias contains a comment: 6100eb411b4bSmrg XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3". 6101eb411b4bSmrg Thus lets treat 'a3' as an alias for 'az'. 6102eb411b4bSmrg 6103eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6104eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6105eb411b4bSmrg Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net> 6106eb411b4bSmrg 6107eb411b4bSmrgcommit fa2aab0bea18efa26a56977d3166277582ab7b07 6108eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6109eb411b4bSmrgDate: Fri May 20 13:09:38 2011 +0200 6110eb411b4bSmrg 6111eb411b4bSmrg i18n: Fixed typos in full locale names. 6112eb411b4bSmrg 6113eb411b4bSmrg Fixing those typos those names actually match entries in 6114eb411b4bSmrg locale.dir. 6115eb411b4bSmrg 6116eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6117eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6118eb411b4bSmrg 6119eb411b4bSmrgcommit b88dd95005dce4c40f9b4d5f938f945e7955fd04 6120eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6121eb411b4bSmrgDate: Sat May 21 07:29:38 2011 +0200 6122eb411b4bSmrg 6123eb411b4bSmrg i18n: Remove duplicates and aliases to oneself. 6124eb411b4bSmrg 6125eb411b4bSmrg Aliases to itself don't make much sense. 6126eb411b4bSmrg This changes occurances of: 612738ae11fcSmrg xy_UV.UTF-8: xy_UV.UTF-8 6128eb411b4bSmrg to 612938ae11fcSmrg xy_UV: xy_UV.UTF-8 6130eb411b4bSmrg where applicable. 6131eb411b4bSmrg 6132eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6133eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 6134eb411b4bSmrg 6135eb411b4bSmrgcommit f198c6aa98f88ff285d903175a3c4c0fd33a4575 6136eb411b4bSmrgAuthor: Jens Herden <jens.herden@email.de> 6137eb411b4bSmrgDate: Fri May 20 17:29:03 2011 +0200 6138eb411b4bSmrg 6139eb411b4bSmrg i18n: Add support for Khmer locale and compose table. 6140eb411b4bSmrg 6141eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6142eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 6143eb411b4bSmrg 6144eb411b4bSmrgcommit 40761898692e5063957bfa2518cca3d35b2e354a 6145eb411b4bSmrgAuthor: Kalman Kemenczy <kkemenczy@novell.com> 6146eb411b4bSmrgDate: Fri May 20 17:03:24 2011 +0200 6147eb411b4bSmrg 6148eb411b4bSmrg i18n: Add support for Serbian specific compose table entries. 6149eb411b4bSmrg 6150eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6151eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 6152eb411b4bSmrg 6153eb411b4bSmrgcommit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61 6154eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6155eb411b4bSmrgDate: Fri May 20 14:00:35 2011 +0200 6156eb411b4bSmrg 6157eb411b4bSmrg i18n: Adding and removing comments. 6158eb411b4bSmrg 6159eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6160eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 6161eb411b4bSmrg 6162eb411b4bSmrgcommit 7754d68976106183751243c2c35a84134be17b34 6163eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6164eb411b4bSmrgDate: Fri May 20 13:45:31 2011 +0200 6165eb411b4bSmrg 6166eb411b4bSmrg i18n: Add missing locales which existed in locale.alias. 6167eb411b4bSmrg 6168eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6169eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 6170eb411b4bSmrg 6171eb411b4bSmrgcommit 952eccd0d25ba66023acfd31873eee2e71c38c42 6172eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org> 6173eb411b4bSmrgDate: Fri May 20 10:57:57 2011 +0200 6174eb411b4bSmrg 6175eb411b4bSmrg i18n: Consolidate compose handling for locales with UTF-8 encoding. 6176eb411b4bSmrg 6177eb411b4bSmrg - add an entry to include the default en_US compose file 6178eb411b4bSmrg for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales. 6179eb411b4bSmrg - add missing entries for zh_CN. and zh_HK and am_ET. 6180eb411b4bSmrg - change entries for the UTF-8 encoding for ru_RU, ja_JP, 6181eb411b4bSmrg ko_KR, th_TH and zh_TW to point to their native directory 6182eb411b4bSmrg entries. 6183eb411b4bSmrg 6184eb411b4bSmrg Signed-off-by: Egbert Eich <eich@freedesktop.org> 6185eb411b4bSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 6186eb411b4bSmrg 6187eb411b4bSmrgcommit d14b6a250f004fa405179db7020f6953001d17b9 6188eb411b4bSmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 6189eb411b4bSmrgDate: Mon Oct 22 13:54:11 2012 -0500 6190eb411b4bSmrg 6191eb411b4bSmrg XIM: remove Private and Public macros 6192eb411b4bSmrg 6193eb411b4bSmrg Private is a struct member name in mingw-w64 <winioctl.h>, causing this 6194eb411b4bSmrg useless define in a private header to break the build. 6195eb411b4bSmrg 6196eb411b4bSmrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 6197eb411b4bSmrg Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6198eb411b4bSmrg 6199eb411b4bSmrgcommit f2a8def423a46d52e834cf7ea49fa0079427663a 6200eb411b4bSmrgAuthor: Adam Jackson <ajax@redhat.com> 6201eb411b4bSmrgDate: Wed Oct 17 14:40:43 2012 -0400 6202eb411b4bSmrg 6203eb411b4bSmrg XErrorDB: Add GLXBadProfileARB 6204eb411b4bSmrg 6205eb411b4bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 6206eb411b4bSmrg 6207eb411b4bSmrgcommit d45b3fc19fbe95c41afc4e51d768df6d42332010 6208eb411b4bSmrgAuthor: Ross Burton <ross.burton@intel.com> 6209eb411b4bSmrgDate: Wed Sep 12 14:39:40 2012 +0100 6210eb411b4bSmrg 6211eb411b4bSmrg Allow overriding location of keysymdef.h 6212eb411b4bSmrg 6213eb411b4bSmrg Currently keysymdef.h is found by using the includedir of xproto. This doesn't 6214eb411b4bSmrg work when cross-compiling with a sysroot as that ends up being /usr/include/X11, 6215eb411b4bSmrg not a path into the cross-build environment. 6216eb411b4bSmrg 6217eb411b4bSmrg So, add an option to allow explicitly specifying the location of keysymdef.h, 6218eb411b4bSmrg and verify that the specified or found path exists. 6219eb411b4bSmrg 6220eb411b4bSmrg (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself) 6221eb411b4bSmrg 6222eb411b4bSmrg Signed-off-by: Ross Burton <ross.burton@intel.com> 6223eb411b4bSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 6224eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6225eb411b4bSmrg 6226eb411b4bSmrgcommit 44cdc0dc2c68d67654023ec707b807145d3a38c0 6227eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6228eb411b4bSmrgDate: Thu Aug 23 19:15:07 2012 -0400 6229eb411b4bSmrg 6230eb411b4bSmrg Renove some unnecessary low-level markup. 6231eb411b4bSmrg 6232eb411b4bSmrg Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter. 6233eb411b4bSmrg This appears to have been somebody's thinko, it's only in a few of the files. 6234eb411b4bSmrg 6235eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 6236eb411b4bSmrg 6237eb411b4bSmrgcommit b686600ab5ca93b5750f827786e79c329ab2db4d 6238eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6239eb411b4bSmrgDate: Thu Aug 23 10:53:33 2012 -0400 6240eb411b4bSmrg 6241eb411b4bSmrg The .NT/.NE macro pair is no longer used. Remove it. 6242eb411b4bSmrg 6243eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 6244eb411b4bSmrg 6245eb411b4bSmrgcommit b83f2898528c5dd683acd2a2143879a760a8dad5 6246eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6247eb411b4bSmrgDate: Thu Aug 23 10:42:46 2012 -0400 6248eb411b4bSmrg 6249eb411b4bSmrg Remove the one and only use of the .NT/.NE pair. 6250eb411b4bSmrg 6251eb411b4bSmrg The problem with these macros is that they rely on being able to 6252eb411b4bSmrg center the note label. That doesn't play well with modern HTML, 6253eb411b4bSmrg not anyway without coomplications like CSS. This use was just a cute 6254eb411b4bSmrg trick, not adding enough value to be kept. 6255eb411b4bSmrg 6256eb411b4bSmrgcommit e9509fa6745d25eee01ec6f1c34edf8a806d66b3 6257eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6258eb411b4bSmrgDate: Thu Aug 23 10:23:45 2012 -0400 6259eb411b4bSmrg 6260eb411b4bSmrg The .C{ and .C} macros are never used. Remove them. 6261eb411b4bSmrg 6262eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 6263eb411b4bSmrg 6264eb411b4bSmrgcommit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575 6265eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6266eb411b4bSmrgDate: Thu Aug 23 10:08:08 2012 -0400 6267eb411b4bSmrg 6268eb411b4bSmrg The .FN macro, paired with .FD, is also never used. Remove it. 6269eb411b4bSmrg 6270eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 6271eb411b4bSmrg 6272eb411b4bSmrgcommit cac6572701c976542da562b2b277b07ffb892a6f 6273eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6274eb411b4bSmrgDate: Thu Aug 23 10:03:00 2012 -0400 6275eb411b4bSmrg 6276eb411b4bSmrg The ".FD" macro is never used. Remove it. 6277eb411b4bSmrg 6278eb411b4bSmrg It was a temptation to presentation-level klugery and is best gone. 6279eb411b4bSmrg 6280eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 6281eb411b4bSmrg 6282eb411b4bSmrgcommit 6e27a828f39f7028bc7f4a8736e7262fca250632 6283eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6284eb411b4bSmrgDate: Thu Aug 23 09:54:25 2012 -0400 6285eb411b4bSmrg 6286eb411b4bSmrg Clean up, my last commit missed four cases. 6287eb411b4bSmrg 6288eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 6289eb411b4bSmrg 6290eb411b4bSmrgcommit a7fb575957ff4d9dd3671994a005ac3be8bb10fe 6291eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 6292eb411b4bSmrgDate: Thu Aug 23 08:24:17 2012 -0400 6293eb411b4bSmrg 6294eb411b4bSmrg Eliminate all uses of tab stops in the libX11 man pages. 6295eb411b4bSmrg 6296eb411b4bSmrg Two steps: First, expand tabs to 8 spaces in code and structure 6297eb411b4bSmrg listings. Second, make the .Ds used to wrap code listings switch to 6298eb411b4bSmrg constant-width font (CW) rather than numeric font position 1, which 6299eb411b4bSmrg maps to R on most systems. 6300eb411b4bSmrg 6301eb411b4bSmrg It is possible some archaic systems won't know what CW is, but the 6302eb411b4bSmrg only risk is that code listings won't look quite right on troff 6303eb411b4bSmrg devices; the PostScript and DVI drivers definitely grok it, so those 6304eb411b4bSmrg important cases are OK. 6305eb411b4bSmrg 6306eb411b4bSmrg The purpose of these changes is to get rid of presentation-level 6307eb411b4bSmrg markup so these pages will lift clean to DocBook. 6308eb411b4bSmrg 6309eb411b4bSmrg Signed-off-by: Eric S. Raymond <esr@thyrsus.com> 6310eb411b4bSmrg 6311eb411b4bSmrgcommit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5 6312eb411b4bSmrgAuthor: Will Thompson <will@willthompson.co.uk> 6313eb411b4bSmrgDate: Mon Jul 9 18:00:27 2012 +0100 6314eb411b4bSmrg 6315eb411b4bSmrg Add compose sequences for "therefore" and "because". 6316eb411b4bSmrg 6317eb411b4bSmrg These sequences look sensible to me. I added them to the APL-related 6318eb411b4bSmrg section of Mathematical Operators—they're in that section of Unicode 6319eb411b4bSmrg anyway. 6320eb411b4bSmrg 6321eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=51922 6322eb411b4bSmrg 6323eb411b4bSmrg Signed-off-by: Will Thompson <will@willthompson.co.uk> 6324eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6325eb411b4bSmrg 6326eb411b4bSmrgcommit 65358ea5079236b2508f787ac2fb2024a477e36d 6327eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6328eb411b4bSmrgDate: Fri Jun 29 23:08:04 2012 -0700 6329eb411b4bSmrg 6330eb411b4bSmrg Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers 6331eb411b4bSmrg 6332eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6333eb411b4bSmrg 6334eb411b4bSmrgcommit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e 6335eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6336eb411b4bSmrgDate: Fri Jun 29 22:57:13 2012 -0700 6337eb411b4bSmrg 6338eb411b4bSmrg XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails 6339eb411b4bSmrg 6340eb411b4bSmrg Fixes leaks in error paths found by Parfait 1.0.0: 6341eb411b4bSmrg 6342eb411b4bSmrg Error: X Resource Leak 6343eb411b4bSmrg Leaked X Resource pix 6344eb411b4bSmrg at line 62 of CrBFData.c in function 'XCreateBitmapFromData'. 6345eb411b4bSmrg pix initialized at line 60 with XCreatePixmap 6346eb411b4bSmrg Error: X Resource Leak 6347eb411b4bSmrg Leaked X Resource pix 6348eb411b4bSmrg at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'. 6349eb411b4bSmrg pix initialized at line 66 with XCreatePixmap 6350eb411b4bSmrg 6351eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6352eb411b4bSmrg Reviewed-by: Aaron Plattner <aplattner@nvidia.com> 6353eb411b4bSmrg 6354eb411b4bSmrgcommit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7 6355eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6356eb411b4bSmrgDate: Wed Jun 6 13:31:16 2012 -0700 6357eb411b4bSmrg 6358eb411b4bSmrg libX11 spec: Correct prototype for XConvertSelection 6359eb411b4bSmrg 6360eb411b4bSmrg selection & target parameters were accidentally run together 6361eb411b4bSmrg 6362eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6363eb411b4bSmrg 6364eb411b4bSmrgcommit 6c5cb2a90a6479f56855e5167039c37c234cdfe7 6365eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6366eb411b4bSmrgDate: Fri Jun 1 23:37:09 2012 -0700 6367eb411b4bSmrg 6368eb411b4bSmrg libX11 1.5.0 6369eb411b4bSmrg 6370eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6371eb411b4bSmrg 6372eb411b4bSmrgcommit 05c587ec3be880721131a17c1dd4366e458fdd8b 6373eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6374eb411b4bSmrgDate: Sat May 26 14:37:28 2012 -0700 6375eb411b4bSmrg 6376eb411b4bSmrg libX11 1.4.99.902 (1.5 RC2) 6377eb411b4bSmrg 6378eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6379eb411b4bSmrg 6380eb411b4bSmrgcommit d817834d9772e3500d5102e2eae868b04a33c31f 6381eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 6382eb411b4bSmrgDate: Sat May 5 19:02:10 2012 +0200 6383eb411b4bSmrg 6384eb411b4bSmrg Compose: Reassigned squences with minus and a or o 6385eb411b4bSmrg 6386eb411b4bSmrg Reassigned squences with minus and a or o (vice versa and lower and 6387eb411b4bSmrg upper case) to conform existing series and not resulting in tilde. 6388eb411b4bSmrg Also added noe missing underscore sequence. 6389eb411b4bSmrg 6390eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6391eb411b4bSmrg 6392eb411b4bSmrgcommit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00 6393eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 6394eb411b4bSmrgDate: Sat May 5 16:56:05 2012 +0200 6395eb411b4bSmrg 6396eb411b4bSmrg Compose: Removed <slash> <U> and vice versa 6397eb411b4bSmrg 6398eb411b4bSmrg Combination with lower case u suffices 6399eb411b4bSmrg 6400eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6401eb411b4bSmrg 6402eb411b4bSmrgcommit 3a8b1637132d1e36eb5e11f52dfb284081772d14 6403eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 6404eb411b4bSmrgDate: Sat May 5 16:44:31 2012 +0200 6405eb411b4bSmrg 6406eb411b4bSmrg Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case 6407eb411b4bSmrg 6408eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6409eb411b4bSmrg 6410eb411b4bSmrgcommit fd514d7a35119dd4413b51c84f2a536f2ca501a6 6411eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 6412eb411b4bSmrgDate: Sat May 5 16:40:20 2012 +0200 6413eb411b4bSmrg 6414eb411b4bSmrg Compose: Removed <S> in combination with a numeral for superscript 6415eb411b4bSmrg 6416eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6417eb411b4bSmrg 6418eb411b4bSmrgcommit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d 6419eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 6420eb411b4bSmrgDate: Sat May 5 16:28:01 2012 +0200 6421eb411b4bSmrg 6422eb411b4bSmrg Compose: Reassigned <o> <apostrophe> to oacute, also for upper case. 6423eb411b4bSmrg 6424eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6425eb411b4bSmrg 6426eb411b4bSmrgcommit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4 6427eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 6428eb411b4bSmrgDate: Thu May 10 12:27:28 2012 -0400 6429eb411b4bSmrg 6430eb411b4bSmrg Remove duplicate compose sequences from commit e51e37c118ae. 6431eb411b4bSmrg 6432eb411b4bSmrg The compose-check script only handles compiled Compose files, not 6433eb411b4bSmrg the Compose.pre files. One must remember to use: 6434eb411b4bSmrg 6435eb411b4bSmrg ./autogen.sh; make; make check 6436eb411b4bSmrg 6437eb411b4bSmrg when reviewing patches to the Compose.pre files.... 6438eb411b4bSmrg 6439eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6440eb411b4bSmrg 6441eb411b4bSmrgcommit e51e37c118ae6cb9ced8244ce1c410677e0279ce 6442eb411b4bSmrgAuthor: Geoff Streeter <geoff@dyalog.com> 6443eb411b4bSmrgDate: Thu Mar 22 15:02:00 2012 +0000 6444eb411b4bSmrg 6445eb411b4bSmrg Add APL support to compose 6446eb411b4bSmrg 6447eb411b4bSmrg Signed-off-by: Geoff Streeter <geoff@dyalog.com> 6448eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6449eb411b4bSmrg 6450eb411b4bSmrgcommit dac90324cee224df977a428afe80d960dceca769 6451eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 6452eb411b4bSmrgDate: Sat May 5 16:05:07 2012 +0200 6453eb411b4bSmrg 6454eb411b4bSmrg configure: make previous change work with older autoconf 6455eb411b4bSmrg 6456eb411b4bSmrg autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC. So do 6457eb411b4bSmrg the tests separately. 6458eb411b4bSmrg 6459eb411b4bSmrg Reported-by: Dave Airlie 6460eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 6461eb411b4bSmrg 6462eb411b4bSmrgcommit f5b50af4324186962e258ffe9be78d5ee4681982 6463eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 6464eb411b4bSmrgDate: Sun Apr 29 16:43:09 2012 +0200 6465eb411b4bSmrg 6466eb411b4bSmrg configure: check if issetugid is declared 6467eb411b4bSmrg 6468eb411b4bSmrg GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't 6469eb411b4bSmrg declare it anywhere, causing gcc to error out with 6470eb411b4bSmrg -Werror=implicit-function-declaration. Use AC_CHECK_DECL in addition to 6471eb411b4bSmrg AC_CHECK_FUNC so we disable this code instead of failing to build it. 6472eb411b4bSmrg 6473eb411b4bSmrg Debian bug#669670 <http://bugs.debian.org/669670> 6474eb411b4bSmrg 6475eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 6476eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6477eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6478eb411b4bSmrg 6479eb411b4bSmrgcommit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8 6480eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 6481eb411b4bSmrgDate: Mon Apr 30 16:36:47 2012 +1000 6482eb411b4bSmrg 6483eb411b4bSmrg Typo fix 6484eb411b4bSmrg 6485eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6486eb411b4bSmrg 6487eb411b4bSmrgcommit b64969f0e510d5d3300cf968741a3726a6409577 6488eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6489eb411b4bSmrgDate: Tue Apr 17 18:12:02 2012 -0700 6490eb411b4bSmrg 6491eb411b4bSmrg Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion 6492eb411b4bSmrg 6493eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6494eb411b4bSmrg 6495eb411b4bSmrgcommit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e 6496eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6497eb411b4bSmrgDate: Tue Apr 17 18:01:36 2012 -0700 6498eb411b4bSmrg 6499eb411b4bSmrg Add olinks from libX11 & localedb specs to ICCCM spec 6500eb411b4bSmrg 6501eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6502eb411b4bSmrg 6503eb411b4bSmrgcommit b3c1b8cdab7d14220426c9b997ac362dc16318fc 6504eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6505eb411b4bSmrgDate: Tue Apr 17 17:49:44 2012 -0700 6506eb411b4bSmrg 6507eb411b4bSmrg Add olinks from libX11 spec to ICCCM spec 6508eb411b4bSmrg 6509eb411b4bSmrg Also convert ICCCM title mentions from <emphasis> to <citetitle> 6510eb411b4bSmrg 6511eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6512eb411b4bSmrg 6513eb411b4bSmrgcommit ebebb65e753007ad01966dccc90bd6ca9a826488 6514eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6515eb411b4bSmrgDate: Sat Apr 14 23:40:01 2012 -0700 6516eb411b4bSmrg 6517eb411b4bSmrg libX11 AppC: Fix section headers that didn't translate from nroff properly 6518eb411b4bSmrg 6519eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6520eb411b4bSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 6521eb411b4bSmrg 6522eb411b4bSmrgcommit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2 6523eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6524eb411b4bSmrgDate: Sat Apr 14 23:13:05 2012 -0700 6525eb411b4bSmrg 6526eb411b4bSmrg Add olinks from libX11 spec to x11protocol spec 6527eb411b4bSmrg 6528eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6529eb411b4bSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 6530eb411b4bSmrg 6531eb411b4bSmrgcommit 83878a0e34fffd255597300dd3e6cd43fcd645b0 6532eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6533eb411b4bSmrgDate: Sat Apr 14 22:28:53 2012 -0700 6534eb411b4bSmrg 6535eb411b4bSmrg libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype 6536eb411b4bSmrg 6537eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6538eb411b4bSmrg 6539eb411b4bSmrgcommit abc523fce31fcf2687229697a8eb656e343ecb0c 6540eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6541eb411b4bSmrgDate: Thu Mar 15 22:14:45 2012 -0700 6542eb411b4bSmrg 6543eb411b4bSmrg libX11 1.4.99.901 (1.5 RC1) 6544eb411b4bSmrg 6545eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6546eb411b4bSmrg 6547eb411b4bSmrgcommit b2cc5905a4a6d519957223e8ba2caef71520040c 6548eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6549eb411b4bSmrgDate: Thu Mar 15 22:03:21 2012 -0700 6550eb411b4bSmrg 6551eb411b4bSmrg Remove "register" qualifier that annoys Solaris Studio compiler 6552eb411b4bSmrg 6553eb411b4bSmrg Fixes warning: 6554eb411b4bSmrg "Xrm.c", line 1094: warning: storage class after type is obsolescent 6555eb411b4bSmrg 6556eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6557eb411b4bSmrg 6558eb411b4bSmrgcommit 62d42953893f93a98db0504eaf06d650ceaf5811 6559eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 6560eb411b4bSmrgDate: Wed Mar 14 17:25:46 2012 -0400 6561eb411b4bSmrg 6562eb411b4bSmrg Fix the gtk+ additions 6563eb411b4bSmrg 6564eb411b4bSmrg (Some of) the Dstroke and dstroke entries already were present as U011[01], 6565eb411b4bSmrg even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h. 6566eb411b4bSmrg 6567eb411b4bSmrg The addition of <Multi_key> <o> <apostrophe> as a postfix version of 6568eb411b4bSmrg <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ. 6569eb411b4bSmrg That prevents its and <Multi_key> <O> <apostrophe>’s addition. 6570eb411b4bSmrg 6571eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6572eb411b4bSmrg 6573eb411b4bSmrgcommit 91bcce48d94792f78333d2aea73961cc2e739d2e 6574eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 6575eb411b4bSmrgDate: Wed Mar 14 12:54:53 2012 -0400 6576eb411b4bSmrg 6577eb411b4bSmrg Complete compose key sequences for musical symbols 6578eb411b4bSmrg 6579eb411b4bSmrg Signed-off-by: Pander <pander@users.sourceforge.net> 6580eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6581eb411b4bSmrg 6582eb411b4bSmrgcommit cf040016d455bc37f7665d6714337c5eafd8ea94 6583eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net> 6584eb411b4bSmrgDate: Wed Mar 14 12:46:25 2012 -0400 6585eb411b4bSmrg 6586eb411b4bSmrg Add compose sequences from gtk+ to X.Org 6587eb411b4bSmrg 6588eb411b4bSmrg Signed-off-by: Pander <pander@users.sourceforge.net> 6589eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6590eb411b4bSmrg 6591eb411b4bSmrgcommit a4c591ced5cac9301b9abfa0e521be2d0b267882 6592eb411b4bSmrgAuthor: Keith Packard <keithp@keithp.com> 6593eb411b4bSmrgDate: Sun Mar 4 02:00:13 2012 -0800 6594eb411b4bSmrg 6595eb411b4bSmrg Block for other threads in _XUserLockDisplay 6596eb411b4bSmrg 6597eb411b4bSmrg Wait for all other threads to release the user-level lock when 6598eb411b4bSmrg acquiring it. This ensures that only one thread at a time holds the 6599eb411b4bSmrg user-level lock, necessary as it is a nesting lock and a single 6600eb411b4bSmrg variable is used to determine when the lock is nesting and when it is 6601eb411b4bSmrg contended. 6602eb411b4bSmrg 6603eb411b4bSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 6604eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 6605eb411b4bSmrg 6606eb411b4bSmrgcommit ed00b460acb08787b695f27b864e96102dfd4867 6607eb411b4bSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 6608eb411b4bSmrgDate: Fri Oct 28 11:09:20 2011 -0500 6609eb411b4bSmrg 6610eb411b4bSmrg Don't use caddr_t casts 6611eb411b4bSmrg 6612eb411b4bSmrg (caddr_t) isn't used anywhere else in xcb or libX11. 6613eb411b4bSmrg Cast to (char *) for consistency. 6614eb411b4bSmrg 6615eb411b4bSmrg Removing this cast allows building for MinGW without patching. 6616eb411b4bSmrg 6617eb411b4bSmrg v2: Cast to (char *) rather than just dropping the cast 6618eb411b4bSmrg 6619eb411b4bSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6620eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6621eb411b4bSmrg 6622eb411b4bSmrgcommit 20adca02c2a1d0b7c95ecbe387d68f881fd57754 6623eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org> 6624eb411b4bSmrgDate: Sun Feb 19 13:27:38 2012 +0100 6625eb411b4bSmrg 6626eb411b4bSmrg Revert "xcb: Add TCP fallback" 6627eb411b4bSmrg 6628eb411b4bSmrg This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6. 6629eb411b4bSmrg 6630eb411b4bSmrg The TCP fallback ended up falling back to UNIX socket connection if 6631eb411b4bSmrg $DISPLAY was set to e.g. some.host:0 and the initial attempt failed. 6632eb411b4bSmrg 6633eb411b4bSmrg Debian bug#659558 <http://bugs.debian.org/659558> 6634eb411b4bSmrg 6635eb411b4bSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 6636eb411b4bSmrg 6637eb411b4bSmrg Conflicts: 6638eb411b4bSmrg 663938ae11fcSmrg src/OpenDis.c 6640eb411b4bSmrg 6641eb411b4bSmrgcommit f4378193619baa9bb973c1b5b718721bbcbe92c7 6642eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 6643eb411b4bSmrgDate: Wed Feb 22 14:13:20 2012 -0500 6644eb411b4bSmrg 6645eb411b4bSmrg Make the compose sequence for ẞ work. 6646eb411b4bSmrg 6647eb411b4bSmrg There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S, 6648eb411b4bSmrg so use the U1e9e symbol in the Compose sequence. 6649eb411b4bSmrg 6650eb411b4bSmrg (Compose sequences do not work when the target symbol is unknown.) 6651eb411b4bSmrg 6652eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6653eb411b4bSmrg 6654eb411b4bSmrgcommit 2ca641c3a506dcbee97e279b67990d5387389f36 6655eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 6656eb411b4bSmrgDate: Mon Feb 20 17:04:59 2012 +0200 6657eb411b4bSmrg 6658eb411b4bSmrg Use ezh/EZH in compose maps 6659eb411b4bSmrg 6660eb411b4bSmrg Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687 6661eb411b4bSmrg 6662eb411b4bSmrg Signed-off-by: Marko Myllynen <myllynen@redhat.com> 6663eb411b4bSmrg Reviewed-by: Matt Dew <marcoz@osource.org> 6664eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6665eb411b4bSmrg 6666eb411b4bSmrgcommit 61725822f20f47684a545c1797183ee7075243ac 6667eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 6668eb411b4bSmrgDate: Sun Feb 20 17:09:43 2011 +0200 6669eb411b4bSmrg 6670eb411b4bSmrg Provide translation from XK_permille (ad5) to Unicode (U2030) 6671eb411b4bSmrg 6672eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=19687 6673eb411b4bSmrg 6674eb411b4bSmrg Signed-off-by: Marko Myllynen <myllynen@redhat.com> 6675eb411b4bSmrg Reviewed-by: Matt Dew <marcoz@osource.org> 6676eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6677eb411b4bSmrg 6678eb411b4bSmrgcommit d2cce0abba0fa0143f49026442c8cab5ed721625 6679eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 6680eb411b4bSmrgDate: Sun Feb 12 19:01:43 2012 -0800 6681eb411b4bSmrg 6682eb411b4bSmrg nls: Use LC_CTYPE=C for sed magic 6683eb411b4bSmrg 6684eb411b4bSmrg Stricter versions of sed can trip up if the input does not match 6685eb411b4bSmrg LC_CTYPE 6686eb411b4bSmrg 6687eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 6688eb411b4bSmrg 6689eb411b4bSmrgcommit f180e043f55531933bedfa6e0ff36a00a9ec07f3 6690eb411b4bSmrgAuthor: Frédéric Boiteux <fboiteux@calistel.com> 6691eb411b4bSmrgDate: Wed Nov 30 12:47:31 2011 +0000 6692eb411b4bSmrg 6693eb411b4bSmrg Compositions with the dead greek symbol 6694eb411b4bSmrg 6695eb411b4bSmrg FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475> 6696eb411b4bSmrg 6697eb411b4bSmrg Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com> 6698eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6699eb411b4bSmrg 6700eb411b4bSmrgcommit d58e8f8e27790017fcfdeca0843b7318d541c189 6701eb411b4bSmrgAuthor: Ryan Pavlik <rpavlik@iastate.edu> 6702eb411b4bSmrgDate: Sun Jan 1 21:04:52 2012 +0000 6703eb411b4bSmrg 6704eb411b4bSmrg Use pthreads on MinGW also 6705eb411b4bSmrg 6706eb411b4bSmrg Use pthreads (provided by the pthreads-win32 compatability library which implements 6707eb411b4bSmrg them using native Win32 threading) on MinGW 6708eb411b4bSmrg 6709eb411b4bSmrg Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6710eb411b4bSmrg 6711eb411b4bSmrgcommit bf15ccb6821664746ec23d769d757edf8059007e 6712eb411b4bSmrgAuthor: Ryan Pavlik <rpavlik@iastate.edu> 6713eb411b4bSmrgDate: Mon Jan 23 14:18:02 2012 +0000 6714eb411b4bSmrg 6715eb411b4bSmrg Add XWindows.h include to Xxcbint.h 6716eb411b4bSmrg 6717eb411b4bSmrg This avoids some conflicting type re-definition errors which occur if 6718eb411b4bSmrg we attempt to include Windows headers after Xmd.h 6719eb411b4bSmrg 6720eb411b4bSmrg Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> 6721eb411b4bSmrg 6722eb411b4bSmrgcommit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a 6723eb411b4bSmrgAuthor: Matt Dew <marcoz@osource.org> 6724eb411b4bSmrgDate: Sat Jan 21 17:59:51 2012 -0700 6725eb411b4bSmrg 6726eb411b4bSmrg informaltable & table cleanup 6727eb411b4bSmrg 6728eb411b4bSmrg On certain tables, add top and bottom borders to table header 6729eb411b4bSmrg and a bottom border to the table. This matches what those 6730eb411b4bSmrg tables in the old pdfs looked like. 6731eb411b4bSmrg 6732eb411b4bSmrg the <?dbfo keep-together='always'> prevents tables from 6733eb411b4bSmrg splitting across pages. Useful for tiny tables. 6734eb411b4bSmrg 6735eb411b4bSmrg Converting the colwidth to a floating point, IE, 1* -> 1.0* 6736eb411b4bSmrg cleans up these build errors: 6737eb411b4bSmrg WARNING: table-layout="fixed" and column-width unspecified => 6738eb411b4bSmrg falling back to proportional-column-width(1) 6739eb411b4bSmrg 6740eb411b4bSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 6741eb411b4bSmrg 6742eb411b4bSmrgcommit bb551f654df8f647c867f79252241964521e689e 6743eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6744eb411b4bSmrgDate: Wed Dec 28 21:22:41 2011 -0800 6745eb411b4bSmrg 6746eb411b4bSmrg Add more Xkb man pages to the See Also lists for core keyboard functions 6747eb411b4bSmrg 6748eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6749eb411b4bSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 6750eb411b4bSmrg 6751eb411b4bSmrgcommit b7bb23fe7c8b8a17128e5bc98a05f68595190438 6752eb411b4bSmrgAuthor: Gaetan Nadon <nadon@memsize.(none)> 6753eb411b4bSmrgDate: Fri Dec 30 17:08:14 2011 -0500 6754eb411b4bSmrg 6755eb411b4bSmrg docbook.am: embed css styles inside the HTML HEAD element 6756eb411b4bSmrg 6757eb411b4bSmrg Rather than referring to the external xorg.css stylesheet, embed the content 6758eb411b4bSmrg of the file in the html output produced. This is accomplished by using 6759eb411b4bSmrg version 1.10 of xorg-xhtml.xsl. 6760eb411b4bSmrg 6761eb411b4bSmrg This makes the whole html docs tree much more relocatable. 6762eb411b4bSmrg In addition, it eliminates xorg.css as a runtime file which makes 6763eb411b4bSmrg xorg-sgml-doctools a build time only package. 6764eb411b4bSmrg 6765eb411b4bSmrg Signed-off-by: Gaetan Nadon <nadon@memsize.(none)> 6766eb411b4bSmrg 6767eb411b4bSmrgcommit 70505468b7c4a7068cc39be42e421dcee34ec595 6768eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6769eb411b4bSmrgDate: Tue Dec 13 19:58:30 2011 -0800 6770eb411b4bSmrg 6771eb411b4bSmrg makekeys: move buf declaration from global to main to silence gcc -Wshadow 6772eb411b4bSmrg 6773eb411b4bSmrg The global was only referenced in the main() function, which passes it 6774eb411b4bSmrg as an argument of the same name to the parse_line() function, leading 6775eb411b4bSmrg to gcc -Wshadow warnings: 6776eb411b4bSmrg 6777eb411b4bSmrg makekeys.c: In function ‘parse_line’: 6778eb411b4bSmrg makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration 6779eb411b4bSmrg makekeys.c:54:13: warning: shadowed declaration is here 6780eb411b4bSmrg 6781eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6782eb411b4bSmrg 6783eb411b4bSmrgcommit 87e10a7b9a97c951ab4d477f61177779ac0a6a66 6784eb411b4bSmrgAuthor: Kusanagi Kouichi <slash@ac.auone-net.jp> 6785eb411b4bSmrgDate: Wed Dec 14 02:17:55 2011 -0500 6786eb411b4bSmrg 6787eb411b4bSmrg XQueryColors: Split a request into multiple requests if necessary 6788eb411b4bSmrg 6789eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=9160 6790eb411b4bSmrg 6791eb411b4bSmrg Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 6792eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6793eb411b4bSmrg 6794eb411b4bSmrgcommit d3b3570592e9b9e57f270a0bd86762fd205a2833 6795eb411b4bSmrgAuthor: Andreas Wettstein <wettstein509@solnet.ch> 6796eb411b4bSmrgDate: Tue Nov 8 20:18:09 2011 +0000 6797eb411b4bSmrg 6798eb411b4bSmrg XIM: Allow modifier releases in compose sequences (#26705) 6799eb411b4bSmrg 6800eb411b4bSmrg Currently, only non-modifier keys (actually, keysyms) can be part of a compose 6801eb411b4bSmrg sequence, and they are matched against the defined compose sequences at the 6802eb411b4bSmrg time the key is pressed. The patch allows to use modifier keys an well, but 6803eb411b4bSmrg matches them on key release, and only if no other key has been pressed after 6804eb411b4bSmrg the modifier. 6805eb411b4bSmrg 6806eb411b4bSmrg Releasing a non-matched modifier during an ongoing compose sequence only aborts 6807eb411b4bSmrg the sequence if any modifier release would have matched. In particular, if no 6808eb411b4bSmrg compose sequences with modifiers are specified, the compose mechanism works 6809eb411b4bSmrg exactly as without this patch. 6810eb411b4bSmrg 6811eb411b4bSmrg Even if modifiers are part of a compose sequence, they are not filtered. This 6812eb411b4bSmrg is because modifiers affect the keyboard state no matter what we do here and, 6813eb411b4bSmrg therefore, filtering them only could confuse clients. 6814eb411b4bSmrg 6815eb411b4bSmrg The purpose is this extension to the compose mechanism is to allow to make 6816eb411b4bSmrg better use of keys in convenient reach for touch typing. 6817eb411b4bSmrg 6818eb411b4bSmrg Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> 6819eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 6820eb411b4bSmrg 6821eb411b4bSmrgcommit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6 6822eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6823eb411b4bSmrgDate: Tue Nov 29 23:56:57 2011 -0800 6824eb411b4bSmrg 6825eb411b4bSmrg Reject negative string counts in copy_string_list 6826eb411b4bSmrg 6827eb411b4bSmrg Silences parfait warning of a potential memory leak: 6828eb411b4bSmrg Memory leak of pointer 'dst' allocated with malloc(length) 6829eb411b4bSmrg at line 160 of FSWrap.c in function 'copy_string_list'. 6830eb411b4bSmrg 'dst' allocated at line 145 with malloc(length). 6831eb411b4bSmrg dst leaks when count <= 0 at line 154. 6832eb411b4bSmrg 6833eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6834eb411b4bSmrg 6835eb411b4bSmrgcommit bf2d7c8c6d70539c72560b1921e18df2610acf29 6836eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 6837eb411b4bSmrgDate: Fri Nov 11 14:56:36 2011 +1000 6838eb411b4bSmrg 6839eb411b4bSmrg libX11 1.4.99.1 6840eb411b4bSmrg 6841eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6842eb411b4bSmrg 6843eb411b4bSmrgcommit 24283d40b1e4314c6647dda49d2a159833341a8b 6844eb411b4bSmrgAuthor: Derek Buitenhuis <derek.buitenhuis@gmail.com> 6845eb411b4bSmrgDate: Thu Sep 22 18:44:13 2011 -0400 6846eb411b4bSmrg 6847eb411b4bSmrg makekeys: Fix build/target word size mismatch when cross-compiling 6848eb411b4bSmrg 6849eb411b4bSmrg Since makekeys is built using build environment's gcc and 6850eb411b4bSmrg runs natively, we have to make sure that the size of the 6851eb411b4bSmrg Signature type is the same on both the native environment 6852eb411b4bSmrg and the target, otherwise we get mismatches upon running X, 6853eb411b4bSmrg and some LSB test failures (xts5). 6854eb411b4bSmrg 6855eb411b4bSmrg Use an unsigned 32-bit integer on all platforms. Also, 6856eb411b4bSmrg eliminate the redundant multiple typedefs for the 6857eb411b4bSmrg Signature type. 6858eb411b4bSmrg 6859eb411b4bSmrg Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 6860eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6861eb411b4bSmrg 6862eb411b4bSmrgcommit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587 6863eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6864eb411b4bSmrgDate: Wed Nov 9 21:00:36 2011 -0800 6865eb411b4bSmrg 6866eb411b4bSmrg XlcSL.c: convert old-style function definitions to ANSI C89 style 6867eb411b4bSmrg 6868eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6869eb411b4bSmrg 6870eb411b4bSmrgcommit f6dad6aaa384bf836baa28ccb72b476a85c40eff 6871eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 6872eb411b4bSmrgDate: Thu Oct 27 13:53:22 2011 +1000 6873eb411b4bSmrg 6874eb411b4bSmrg Use GetReqSized for GetReq and GetReqExtra 6875eb411b4bSmrg 6876eb411b4bSmrg GetEmptyReq and GetResReq cannot do this due to the final typecast - 6877eb411b4bSmrg typically requests that need either of those do not have their own typedef 6878eb411b4bSmrg in the protocol headers. 6879eb411b4bSmrg 6880eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6881eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 6882eb411b4bSmrg 6883eb411b4bSmrgcommit c9c99058b9d98789c0b2d7e78a23443c2b57a047 6884eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 6885eb411b4bSmrgDate: Fri Oct 14 14:51:06 2011 +1000 6886eb411b4bSmrg 6887eb411b4bSmrg include: Add GetReqSized() for request buffers of specific size 6888eb411b4bSmrg 6889eb411b4bSmrg Some XI2 requests change in size over different versions and libXi would 6890eb411b4bSmrg need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the 6891eb411b4bSmrg library can explicitly specify the size of the request in 4-byte units. 6892eb411b4bSmrg 6893eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6894eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 6895eb411b4bSmrg 6896eb411b4bSmrgcommit ba8a7a19165e30d14bc165f43f67c19b6a115585 6897eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 6898eb411b4bSmrgDate: Thu Oct 27 13:24:10 2011 +1000 6899eb411b4bSmrg 6900eb411b4bSmrg Switch GetEmptyReq and GetResReq to call _XGetRequest 6901eb411b4bSmrg 6902eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6903eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 6904eb411b4bSmrg 6905eb411b4bSmrgcommit 4a060f993bf676cf21ad9784e010f54134da7b40 6906eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 6907eb411b4bSmrgDate: Mon Oct 17 09:45:15 2011 +1000 6908eb411b4bSmrg 6909eb411b4bSmrg Add _XGetRequest as substitute for GetReq/GetReqExtra 6910eb411b4bSmrg 6911eb411b4bSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 6912eb411b4bSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 6913eb411b4bSmrg 6914eb411b4bSmrgcommit d8956520deb79c1cbb5e974c175bf8493859b22b 6915eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6916eb411b4bSmrgDate: Fri Oct 14 17:53:00 2011 -0700 6917eb411b4bSmrg 6918eb411b4bSmrg Fix "nomal" -> "normal" typo in several comments 6919eb411b4bSmrg 6920eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6921eb411b4bSmrg 6922eb411b4bSmrgcommit 002b36e308a26a152504f9b40aa08a0dce9a7991 6923eb411b4bSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 6924eb411b4bSmrgDate: Fri Oct 14 17:39:21 2011 -0700 6925eb411b4bSmrg 6926eb411b4bSmrg mbtocs should not truncate input 6927eb411b4bSmrg 6928eb411b4bSmrg Fixes pasting more than 1024 bytes into xterm, as described in 6929eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=25209 6930eb411b4bSmrg 6931eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6932eb411b4bSmrg 6933eb411b4bSmrgcommit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd 6934eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 6935eb411b4bSmrgDate: Mon Oct 10 09:41:13 2011 +0300 6936eb411b4bSmrg 6937eb411b4bSmrg Add new compose sequences 6938eb411b4bSmrg 6939eb411b4bSmrg This patch adds few new compose sequences to the en_US map, ligatures 6940eb411b4bSmrg common in typesetting and sequences already in use in the fi_FI map. 6941eb411b4bSmrg 6942eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=30621 6943eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=34523 6944eb411b4bSmrg 6945eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6946eb411b4bSmrg 6947eb411b4bSmrgcommit 738f7b867341c1da87ee667d48815822715c3e75 6948eb411b4bSmrgAuthor: Choe Hwanjin <choe.hwanjin@gmail.com> 6949eb411b4bSmrgDate: Thu Oct 13 07:58:02 2011 +0900 6950eb411b4bSmrg 6951eb411b4bSmrg XIM: Make Xim handle NEED_SYNC_REPLY flag 6952eb411b4bSmrg 6953eb411b4bSmrg NEED_SYNC_REPLY flag should be in Xim not in Xic. 6954eb411b4bSmrg Because the focused Xic can be changed before sending sync reply. 6955eb411b4bSmrg After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY 6956eb411b4bSmrg flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet. 6957eb411b4bSmrg 6958eb411b4bSmrg This patch adds sync reply flag to Xim and removes sync reply 6959eb411b4bSmrg from Xic. 6960eb411b4bSmrg 6961eb411b4bSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869 6962eb411b4bSmrg 6963eb411b4bSmrg Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com> 6964eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 6965eb411b4bSmrg 6966eb411b4bSmrgcommit 50e15379331c436851abb194251cde96999e67b3 6967eb411b4bSmrgAuthor: Bodo Graumann <mail@bodograumann.de> 6968eb411b4bSmrgDate: Mon Oct 10 16:40:52 2011 +0200 6969eb411b4bSmrg 6970eb411b4bSmrg libX11: Fixing modifier key range in Xutil.h (Bug #21910) 6971eb411b4bSmrg 6972eb411b4bSmrg IsModifierKey, defined in include/X11/Xutil.h, is a macro determining, 6973eb411b4bSmrg which keys are regarded as modifiers. The constants ISO_Level5_Shift, 6974eb411b4bSmrg ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving 6975eb411b4bSmrg some Neo2 modifiers functionless in combination with compose. 6976eb411b4bSmrg This patch adjusts the range to include the correct, full range of 6977eb411b4bSmrg modifier constants. 6978eb411b4bSmrg 6979eb411b4bSmrg Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277> 6980eb411b4bSmrg 6981eb411b4bSmrg X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910> 6982eb411b4bSmrg 6983eb411b4bSmrg Signed-off-by: Bodo Graumann <mail@bodograumann.de> 6984eb411b4bSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 6985eb411b4bSmrg 6986eb411b4bSmrgcommit b5a108624331fabf393223c0891914cc54d4caf4 6987eb411b4bSmrgAuthor: Yann Droneaud <yann@droneaud.fr> 6988eb411b4bSmrgDate: Tue Oct 11 17:27:59 2011 +0200 6989eb411b4bSmrg 6990eb411b4bSmrg Return name instead of False in XSetICValues() 6991eb411b4bSmrg 6992eb411b4bSmrg In case of error, XSetICValues() must return the first argument 6993eb411b4bSmrg that failed to be set. 6994eb411b4bSmrg 6995eb411b4bSmrg But in some error paths, it returns False, which is converted to NULL, 6996eb411b4bSmrg so the function returns OK in case of error. 6997eb411b4bSmrg 6998eb411b4bSmrg Signed-off-by: Yann Droneaud <yann@droneaud.fr> 6999eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7000eb411b4bSmrg 7001eb411b4bSmrgcommit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba 7002eb411b4bSmrgAuthor: Yann Droneaud <yann@droneaud.fr> 7003eb411b4bSmrgDate: Sun Oct 9 17:56:45 2011 +0200 7004eb411b4bSmrg 7005eb411b4bSmrg Return name instead of value in XGetIMValues() and XSetIMValues() 7006eb411b4bSmrg 7007eb411b4bSmrg As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3), 7008eb411b4bSmrg XGetIMValues() and XSetImValues() "returns the name of the first argument 7009eb411b4bSmrg that could not be obtained." 7010eb411b4bSmrg 7011eb411b4bSmrg But currently, 7012eb411b4bSmrg 7013eb411b4bSmrg err = XGetIMValues(im, "invalid", &arg, NULL); 7014eb411b4bSmrg 7015eb411b4bSmrg returns &arg instead of "invalid". 7016eb411b4bSmrg 7017eb411b4bSmrg This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897 7018eb411b4bSmrg 7019eb411b4bSmrg Signed-off-by: Yann Droneaud <yann@droneaud.fr> 7020eb411b4bSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 7021eb411b4bSmrg 7022eb411b4bSmrgcommit f2651e03f3295a453a2965c3749bc8b6e66f1c09 7023eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7024eb411b4bSmrgDate: Mon Oct 10 14:09:17 2011 -0700 7025eb411b4bSmrg 7026eb411b4bSmrg Mark XKeycodeToKeysym as _X_DEPRECATED 7027eb411b4bSmrg 7028eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7029eb411b4bSmrg 7030eb411b4bSmrgcommit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb 7031eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7032eb411b4bSmrgDate: Sun Oct 9 02:38:28 2011 -0700 7033eb411b4bSmrg 7034eb411b4bSmrg Fix nobreakspace for pt_BR.UTF-8 7035eb411b4bSmrg 7036eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=31334 7037eb411b4bSmrg 7038eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7039eb411b4bSmrg 7040eb411b4bSmrgcommit 913603660c17ec59a4d39d3e3b9d60469ee5c060 7041eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7042eb411b4bSmrgDate: Sun Oct 9 02:26:45 2011 -0700 7043eb411b4bSmrg 7044eb411b4bSmrg Fix potential uninitialized variable access in _XimMakeICAttrIDList 7045eb411b4bSmrg 7046eb411b4bSmrg Found by clang static analysis 7047eb411b4bSmrg 7048eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7049eb411b4bSmrg 7050eb411b4bSmrgcommit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f 7051eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7052eb411b4bSmrgDate: Sun Oct 9 02:25:50 2011 -0700 7053eb411b4bSmrg 7054eb411b4bSmrg Remove self-resolving aliases 7055eb411b4bSmrg 7056eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=30112 7057eb411b4bSmrg 7058eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7059eb411b4bSmrg 7060eb411b4bSmrgcommit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e 7061eb411b4bSmrgAuthor: Matt Dew <marcoz@osource.org> 7062eb411b4bSmrgDate: Fri Oct 7 22:52:30 2011 -0600 7063eb411b4bSmrg 7064eb411b4bSmrg Cleanup IDs and links in doc 7065eb411b4bSmrg 7066eb411b4bSmrg 1 - fix the capitalization of the ID attributes to match either the 7067eb411b4bSmrg <title> or <funcdef> string it goes with. 7068eb411b4bSmrg 2 - fix any <linkend>'s that were affected by 1. 7069eb411b4bSmrg 3 - any <function> in the docs that has an actual funcdef, 7070eb411b4bSmrg will become an olink. 7071eb411b4bSmrg 7072eb411b4bSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 7073eb411b4bSmrg 7074eb411b4bSmrgcommit f858f3326adbc0c5711669b92a64a84a9083a055 7075eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com> 7076eb411b4bSmrgDate: Tue Oct 4 17:11:11 2011 -0400 7077eb411b4bSmrg 7078eb411b4bSmrg [nls] Fix typo/synco. 7079eb411b4bSmrg 7080eb411b4bSmrg The iso8859-1 Compose table includes an optional section which uses 7081eb411b4bSmrg Ctrl<T> as a substitute for <Multi_key>. In that section the sequence 7082eb411b4bSmrg to generate an @ (at) either was incorrectly copied from the Multi_key 7083eb411b4bSmrg section or was not kept in sync with the Multi_key section. 7084eb411b4bSmrg 7085eb411b4bSmrg Fixing this eliminates the warning from compose-check.pl: 7086eb411b4bSmrg 7087eb411b4bSmrg ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7088eb411b4bSmrg ┃ Clash with existing sequence in iso8859-1/Compose.pre 7089eb411b4bSmrg ┃ on line 661: Ctrl<T> <A> <A> 709038ae11fcSmrg ┃ line #661: Ctrl<T> <A> <A> : "\305" Aring 709138ae11fcSmrg ┃ line #480: Ctrl<T> <A> <A> : "@" at 7092eb411b4bSmrg ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7093eb411b4bSmrg 7094eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 7095eb411b4bSmrg 7096eb411b4bSmrgcommit 7f35f7efc23234b3f8529fee31a802c21846d9ab 7097eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7098eb411b4bSmrgDate: Mon Sep 26 11:32:56 2011 -0700 7099eb411b4bSmrg 7100eb411b4bSmrg Remove conflicting compose sequences for cent and colon 7101eb411b4bSmrg 7102eb411b4bSmrg Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 7103eb411b4bSmrg Found by tinderbox 7104eb411b4bSmrg 7105eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7106eb411b4bSmrg 7107eb411b4bSmrgcommit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4 7108eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7109eb411b4bSmrgDate: Sun Sep 25 16:29:17 2011 -0700 7110eb411b4bSmrg 7111eb411b4bSmrg Add additional compose sequences for pound sterling, yen, and cent (mixed case) 7112eb411b4bSmrg 7113eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=1013 7114eb411b4bSmrg 7115eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7116eb411b4bSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 7117eb411b4bSmrg 7118eb411b4bSmrgcommit 0ca4153a373e2af7a9eb3cef003393ab332bc79e 7119eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 7120eb411b4bSmrgDate: Sat Sep 24 16:44:04 2011 -0700 7121eb411b4bSmrg 7122eb411b4bSmrg Use a configure check for seteuid 7123eb411b4bSmrg 7124eb411b4bSmrg HP-UX doesn't have seteuid 7125eb411b4bSmrg 7126eb411b4bSmrg https://bugs.freedesktop.org/show_bug.cgi?id=1497 7127eb411b4bSmrg 7128eb411b4bSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 7129eb411b4bSmrg 7130eb411b4bSmrgcommit 79594b4d66344f248eb4314ecb78eb81f632c3ab 7131eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7132eb411b4bSmrgDate: Tue Sep 20 16:06:10 2011 -0400 7133eb411b4bSmrg 7134eb411b4bSmrg localedb specs: use <copyright> for first holder of multi license 7135eb411b4bSmrg 7136eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7137eb411b4bSmrg 7138eb411b4bSmrgcommit 154430268cf004b06920edde2f1812dc16d71fae 7139eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7140eb411b4bSmrgDate: Tue Sep 20 16:01:52 2011 -0400 7141eb411b4bSmrg 7142eb411b4bSmrg libX11 specs: use <copyright> for first holder of multi license 7143eb411b4bSmrg 7144eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7145eb411b4bSmrg 7146eb411b4bSmrgcommit 66e621f58dee804acb795ff2c79ce6dd38b34a3f 7147eb411b4bSmrgAuthor: Tollef Fog Heen <tfheen@err.no> 7148eb411b4bSmrgDate: Tue Sep 20 13:07:37 2011 -0400 7149eb411b4bSmrg 7150eb411b4bSmrg NLS: Add more vulgar fractions 7151eb411b4bSmrg 7152eb411b4bSmrg Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions. 7153eb411b4bSmrg 7154eb411b4bSmrg Signed-off-by: Tollef Fog Heen <tfheen@err.no> 7155eb411b4bSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 7156eb411b4bSmrg 7157eb411b4bSmrgcommit e37a6da814b5653be46000a9a76902729660a2e6 7158eb411b4bSmrgAuthor: Alexander Polakov <polachok@gmail.com> 7159eb411b4bSmrgDate: Sat Sep 17 20:54:58 2011 +0400 7160eb411b4bSmrg 7161eb411b4bSmrg XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also 7162eb411b4bSmrg 7163eb411b4bSmrg There is no XAllowAccess man page to see. 7164eb411b4bSmrg 7165eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7166eb411b4bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7167eb411b4bSmrg 7168eb411b4bSmrgcommit a23f3323f269b33a43d16dce01395cd28bc41b45 7169eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7170eb411b4bSmrgDate: Mon Sep 19 15:27:44 2011 -0400 7171eb411b4bSmrg 7172eb411b4bSmrg XKB: provide adequate quotes for the license text 7173eb411b4bSmrg 7174eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7175eb411b4bSmrg 7176eb411b4bSmrgcommit a9c7a5cad91d968f5536ef8fc735036e921832a3 7177eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7178eb411b4bSmrgDate: Mon Sep 19 15:18:53 2011 -0400 7179eb411b4bSmrg 7180eb411b4bSmrg XIM: refactor the multi licensing legal text 7181eb411b4bSmrg 7182eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7183eb411b4bSmrg 7184eb411b4bSmrgcommit c46f934ed89e7de79746a0387c9f998d91994ea6 7185eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7186eb411b4bSmrgDate: Mon Sep 19 10:33:30 2011 -0400 7187eb411b4bSmrg 7188eb411b4bSmrg xim trans: restore Fujitsu copyright legal text 7189eb411b4bSmrg 7190eb411b4bSmrg Somehow lost during docbook conversion. text from x.org ftp R7.5. 7191eb411b4bSmrg 7192eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7193eb411b4bSmrg 7194eb411b4bSmrgcommit 3d75f993382bfdc89d31668d7dfc71c91222e0d7 7195eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7196eb411b4bSmrgDate: Mon Sep 19 10:11:46 2011 -0400 7197eb411b4bSmrg 7198eb411b4bSmrg xtrans: restore X Consortium original legal text 7199eb411b4bSmrg 7200eb411b4bSmrg Asking X Consortium permission to use The Open Group name makes no sense. 7201eb411b4bSmrg Even more so in 1994 before X Window System was passed on to the Open Group. 7202eb411b4bSmrg 7203eb411b4bSmrg Using original text from xorg-docs/general/License 7204eb411b4bSmrg 7205eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7206eb411b4bSmrg 7207eb411b4bSmrgcommit 136a381585a4a9686c11bad1a6130837978e677f 7208eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7209eb411b4bSmrgDate: Mon Sep 19 10:03:21 2011 -0400 7210eb411b4bSmrg 7211eb411b4bSmrg Framework: restore X Consortium copyright 7212eb411b4bSmrg 7213eb411b4bSmrg Somewhat dammaged during docbook conversion. 7214eb411b4bSmrg Also restore pasrt of the original license text 7215eb411b4bSmrg 7216eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7217eb411b4bSmrg 7218eb411b4bSmrgcommit 33f346878406762704a0c13cdc018111c666f3c1 7219eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7220eb411b4bSmrgDate: Mon Sep 19 09:50:00 2011 -0400 7221eb411b4bSmrg 7222eb411b4bSmrg localedb: restore X Consortium original legal text 7223eb411b4bSmrg 7224eb411b4bSmrg Asking X Consortium permission to use The Open Group name makes no sense. 7225eb411b4bSmrg Even more so in 1994 before X Window System was passed on to the Open Group. 7226eb411b4bSmrg 7227eb411b4bSmrg Using original text from xorg-docs/general/License 7228eb411b4bSmrg 7229eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7230eb411b4bSmrg 7231eb411b4bSmrgcommit e99c9338e413efca026210b9d830efb5c74d34e5 7232eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7233eb411b4bSmrgDate: Mon Sep 19 08:23:18 2011 -0400 7234eb411b4bSmrg 7235eb411b4bSmrg specs: support multi licensed copyright notice and license text 7236eb411b4bSmrg 7237eb411b4bSmrg For documentation having multiple licenses, the copyright and legalnotice 7238eb411b4bSmrg elements sequence cannot instantiated multiple times. 7239eb411b4bSmrg The copyright notice and license text are therefore coded inside a 7240eb411b4bSmrg legalnotice element. The role attribute on the paragraph is used to allow 7241eb411b4bSmrg styling of the copyright notice text which should not be italicized. 7242eb411b4bSmrg 7243eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7244eb411b4bSmrg 7245eb411b4bSmrgcommit b9dedc757e667333ce899115d618f25cdaa4dd5e 7246eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7247eb411b4bSmrgDate: Mon Sep 19 08:17:50 2011 -0400 7248eb411b4bSmrg 7249eb411b4bSmrg localedb: add release info to spec 7250eb411b4bSmrg 7251eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7252eb411b4bSmrg 7253eb411b4bSmrgcommit 4519c89a87ddce01e599542737a27c26030fe4ff 7254eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7255eb411b4bSmrgDate: Mon Sep 19 08:05:32 2011 -0400 7256eb411b4bSmrg 7257eb411b4bSmrg specs: fix The Open Group license text 7258eb411b4bSmrg 7259eb411b4bSmrg The warranty referred to the X Consortium 7260eb411b4bSmrg 7261eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7262eb411b4bSmrg 7263eb411b4bSmrgcommit 08ac378423e7be72e340197ba5559a1a36f1783c 7264eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7265eb411b4bSmrgDate: Mon Sep 19 08:03:39 2011 -0400 7266eb411b4bSmrg 7267eb411b4bSmrg specs: The strandard name is still "X Consortium Standard" 7268eb411b4bSmrg 7269eb411b4bSmrg This spec, and fsproto spec, are the only two docs with a different 7270eb411b4bSmrg standard name. 7271eb411b4bSmrg 7272eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7273eb411b4bSmrg 7274eb411b4bSmrgcommit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172 7275eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7276eb411b4bSmrgDate: Sun Sep 18 13:22:34 2011 -0400 7277eb411b4bSmrg 7278eb411b4bSmrg specs: support multi licensed copyright notice and license text 7279eb411b4bSmrg 7280eb411b4bSmrg For documentation having multiple licenses, the copyright and legalnotice 7281eb411b4bSmrg elements sequence cannot instantiated multiple times. 7282eb411b4bSmrg The copyright notice and license text are therefore coded inside a legalnotice 7283eb411b4bSmrg element. The role attribute on the paragraph is used to allow styling of the 7284eb411b4bSmrg copyright notice text which should not be italicized. 7285eb411b4bSmrg 7286eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7287eb411b4bSmrg 7288eb411b4bSmrgcommit 278ca8947c1dabb2b819527dca0fa6190c034f67 7289eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7290eb411b4bSmrgDate: Fri Sep 16 11:45:56 2011 -0400 7291eb411b4bSmrg 7292eb411b4bSmrg docs: merge copyright holder under the same copyright notice 7293eb411b4bSmrg 7294eb411b4bSmrg As per the docbook markup dtd. 7295eb411b4bSmrg 7296eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7297eb411b4bSmrg 7298eb411b4bSmrgcommit 7ff012bb433109a622ac122ade71669e842ebdcf 7299eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7300eb411b4bSmrgDate: Fri Sep 16 10:09:57 2011 -0400 7301eb411b4bSmrg 7302eb411b4bSmrg specs: handle multiple sets of copyright notice/license/warranty 7303eb411b4bSmrg 7304eb411b4bSmrg Docbook groups all the <copyright> elements together and all the 7305eb411b4bSmrg <legalnotice> elements together. 7306eb411b4bSmrg 7307eb411b4bSmrg We cannot have a sequence: 7308eb411b4bSmrg <copyright> <legalnotice> <copyright> <legalnotice> [...] 7309eb411b4bSmrg 7310eb411b4bSmrg A workaround, which was done in some documents, is to put the copyright 7311eb411b4bSmrg notice inside the legalnotice in plain text without the <copyright> element. 7312eb411b4bSmrg A formal paragraph title is added here which makes the copyright notice bold, 7313eb411b4bSmrg and makes it much easier to locate. 7314eb411b4bSmrg 7315eb411b4bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7316eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7317eb411b4bSmrg 7318eb411b4bSmrgcommit 4a550c71b8221c37b1a9378d5a170da9eaa03405 7319eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7320eb411b4bSmrgDate: Wed Sep 14 15:55:42 2011 -0400 7321eb411b4bSmrg 7322eb411b4bSmrg specs: remove orphan affiliation. 7323eb411b4bSmrg 7324eb411b4bSmrg Authors affiliation are correct. 7325eb411b4bSmrg 7326eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7327eb411b4bSmrg 7328eb411b4bSmrgcommit 0cc02a6df65214560b7575e89cebee741d6d2469 7329eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7330eb411b4bSmrgDate: Tue Sep 13 17:39:02 2011 -0400 7331eb411b4bSmrg 7332eb411b4bSmrg specs: use appropriate markup for Copyright statements 7333eb411b4bSmrg 7334eb411b4bSmrg Also move <releaseinfo> to match order of appearance 7335eb411b4bSmrg 7336eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7337eb411b4bSmrg 7338eb411b4bSmrgcommit afe13e19ebf0fc4e3460644164433af016f0add7 7339eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7340eb411b4bSmrgDate: Mon Sep 12 16:54:45 2011 -0400 7341eb411b4bSmrg 7342eb411b4bSmrg docs: use the &fullrelvers; entity to set X11 release information 7343eb411b4bSmrg 7344eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7345eb411b4bSmrg 7346eb411b4bSmrgcommit 22a2153282db13e9d94881022b8c979539841a2c 7347eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7348eb411b4bSmrgDate: Sun Sep 11 19:49:53 2011 -0400 7349eb411b4bSmrg 7350eb411b4bSmrg docs: remove <productnumber> which is not used by default 7351eb411b4bSmrg 7352eb411b4bSmrg This element is not rendered by default on the title. A template 7353eb411b4bSmrg customization is required to display it. 7354eb411b4bSmrg X Window System does not have a product number. 7355eb411b4bSmrg 7356eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7357eb411b4bSmrg 7358eb411b4bSmrgcommit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c 7359eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7360eb411b4bSmrgDate: Sun Sep 11 17:40:21 2011 -0400 7361eb411b4bSmrg 7362eb411b4bSmrg docs: use the &fullrelvers; entity to set X11 release information 7363eb411b4bSmrg 7364eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7365eb411b4bSmrg 7366eb411b4bSmrgcommit a6b2992f50b571d612ea9ade631c432c3099bc12 7367eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7368eb411b4bSmrgDate: Sun Sep 11 17:38:42 2011 -0400 7369eb411b4bSmrg 7370eb411b4bSmrg docs: remove orphan <affiliation> 7371eb411b4bSmrg 7372eb411b4bSmrg Somehow created during the conversion from roff. Unable to locate 7373eb411b4bSmrg the author to which it belongs. 7374eb411b4bSmrg 7375eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7376eb411b4bSmrg 7377eb411b4bSmrgcommit c7420060b6e47b8467ba50c796ec3c1bab090bc7 7378eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7379eb411b4bSmrgDate: Sun Sep 11 17:38:05 2011 -0400 7380eb411b4bSmrg 7381eb411b4bSmrg docs: remove <productnumber> which is not used by default 7382eb411b4bSmrg 7383eb411b4bSmrg This element is not rendered by default on the title. A template 7384eb411b4bSmrg customization is required to display it. 7385eb411b4bSmrg X Window System does not have a product number. 7386eb411b4bSmrg 7387eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7388eb411b4bSmrg 7389eb411b4bSmrgcommit 7d5b718c1edbc43c54b7001be548e515a49540ea 7390eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7391eb411b4bSmrgDate: Fri Sep 9 14:46:39 2011 -0400 7392eb411b4bSmrg 7393eb411b4bSmrg docbook.am: embed css styles inside the HTML HEAD element 7394eb411b4bSmrg 7395eb411b4bSmrg Rather than referring to the external xorg.css stylesheet, embed the content 7396eb411b4bSmrg of the file in the html output produced. This is accomplished by using 7397eb411b4bSmrg version 1.10 of xorg-xhtml.xsl. 7398eb411b4bSmrg 7399eb411b4bSmrg This makes the whole html docs tree much more relocatable. 7400eb411b4bSmrg In addition, it eliminates xorg.css as a runtime file which makes 7401eb411b4bSmrg xorg-sgml-doctools a build time only package. 7402eb411b4bSmrg 7403eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7404eb411b4bSmrg 7405eb411b4bSmrgcommit 24632d280491c465dfe208ef788815890892e326 7406eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7407eb411b4bSmrgDate: Mon Sep 5 12:53:12 2011 -0400 7408eb411b4bSmrg 7409eb411b4bSmrg compose: upgrade makefile to support olinking on chunked html 7410eb411b4bSmrg 7411eb411b4bSmrg The essential differences over the regular docbook.am are: 7412eb411b4bSmrg Adding root.filename parameter for naming of chapters html files. 7413eb411b4bSmrg Using xhtml xmlto format and xorg-chunk.xsl stylesheet 7414eb411b4bSmrg Set olink.base.uri for pdf but not for chunked html 7415eb411b4bSmrg Olink is not applicable to ps and txt formats. 7416eb411b4bSmrg 7417eb411b4bSmrg Html chapters are added to shelf_DATA as they are also installed. 7418eb411b4bSmrg The xml is generated from a perl script and not distributed. 7419eb411b4bSmrg 7420eb411b4bSmrg Requires version 1.10 of xorg-sgml-doctools. 7421eb411b4bSmrg 7422eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7423eb411b4bSmrg 7424eb411b4bSmrgcommit 93ab0a1c9a4f9094cf0c8e1c686130673e681798 7425eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7426eb411b4bSmrgDate: Wed Aug 31 19:46:20 2011 -0400 7427eb411b4bSmrg 7428eb411b4bSmrg docbook.am: refactor common flags for xmlto and xsltproc 7429eb411b4bSmrg 7430eb411b4bSmrg Maximize reuse and reduce risk of setting the wrong flag 7431eb411b4bSmrg at the wrong place. 7432eb411b4bSmrg 7433eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7434eb411b4bSmrg 7435eb411b4bSmrgcommit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97 7436eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7437eb411b4bSmrgDate: Wed Aug 31 10:46:59 2011 -0400 7438eb411b4bSmrg 7439eb411b4bSmrg docbook.am: add search path for local entities 7440eb411b4bSmrg 7441eb411b4bSmrg Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities. 7442eb411b4bSmrg A module may want to add entities that apply only to itself and 7443eb411b4bSmrg not to all modules, like the xserver does. 7444eb411b4bSmrg 7445eb411b4bSmrg This feature may or may not be used in this module, but all modules 7446eb411b4bSmrg share a copy of docbook.am. 7447eb411b4bSmrg 7448eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7449eb411b4bSmrg 7450eb411b4bSmrgcommit b5ed2d368d47f244d43d2513329fa2758bc4ef54 7451eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7452eb411b4bSmrgDate: Thu Aug 25 14:39:20 2011 -0400 7453eb411b4bSmrg 7454eb411b4bSmrg docbook.am: explicitly list xmlto flags for each target 7455eb411b4bSmrg 7456eb411b4bSmrg Normal evolution of make targets make it impractical to factor out 7457eb411b4bSmrg common command flags for xmlto. 7458eb411b4bSmrg 7459eb411b4bSmrg The targets now list each command option as its presence or absence 7460eb411b4bSmrg needs to be justified. 7461eb411b4bSmrg 7462eb411b4bSmrg xorg.ss is only needed by xmlto for html. 7463eb411b4bSmrg masterdb is only needed by xmlto. 7464eb411b4bSmrg img.src.path must not be used by html. 7465eb411b4bSmrg xsltproc need to use customization layer xorg-*.xsl. 7466eb411b4bSmrg txt format is not required to search masterdb. 7467eb411b4bSmrg 7468eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7469eb411b4bSmrg 7470eb411b4bSmrgcommit d5b3605f3b0639452e892e9ff3afb18bb7442069 7471eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7472eb411b4bSmrgDate: Thu Aug 25 13:12:49 2011 -0400 7473eb411b4bSmrg 7474eb411b4bSmrg docbook.am: do not generate docs if docbook customization layer is missing 7475eb411b4bSmrg 7476eb411b4bSmrg The stylesheets used to be only about style, fonts or colors. 7477eb411b4bSmrg Complex features are now used like olink and chunked html which 7478eb411b4bSmrg may cause a build break when stylesheets are missing or lead to hard 7479eb411b4bSmrg to find problem. 7480eb411b4bSmrg 7481eb411b4bSmrg Some modules may be built when stylesheets are present while others 7482eb411b4bSmrg are built without. There is no requirement to build crippled docs. 7483eb411b4bSmrg 7484eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7485eb411b4bSmrg 7486eb411b4bSmrgcommit 7f23c72c94d9d14122426b0d8c66054f1402769a 7487eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7488eb411b4bSmrgDate: Fri Aug 5 14:33:32 2011 -0400 7489eb411b4bSmrg 7490eb411b4bSmrg libX11 specs: review doclifter generated tables 7491eb411b4bSmrg 7492eb411b4bSmrg Many tables had a questionnable layout and some had information dropped. 7493eb411b4bSmrg Each table was cross-referenced with a pre-docbook version 7494eb411b4bSmrg to ensure semantic integrity. 7495eb411b4bSmrg 7496eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7497eb411b4bSmrg 7498eb411b4bSmrgcommit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6 7499eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7500eb411b4bSmrgDate: Wed Jul 20 15:28:47 2011 -0400 7501eb411b4bSmrg 7502eb411b4bSmrg credits.xml: remove toc from Acknowledgments 7503eb411b4bSmrg 7504eb411b4bSmrg There should be no toc for a simple preface with only one 7505eb411b4bSmrg Acknowledgments section. 7506eb411b4bSmrg 7507eb411b4bSmrg Use <simplesect> markup rather than sect1. 7508eb411b4bSmrg 7509eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7510eb411b4bSmrg 7511eb411b4bSmrgcommit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b 7512eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7513eb411b4bSmrgDate: Thu Aug 4 19:59:37 2011 -0400 7514eb411b4bSmrg 7515eb411b4bSmrg libX11 specs: move </para> above <varaiablelist> 7516eb411b4bSmrg 7517eb411b4bSmrg Many, but not all, function synopsis have a paragraph that 7518eb411b4bSmrg nests the variable list. The code was generated by doclifter 7519eb411b4bSmrg and there is no apprent reasons as to why it was done this way. 7520eb411b4bSmrg Found while investigating a spacing issue. 7521eb411b4bSmrg 7522eb411b4bSmrg Before the patch: 7523eb411b4bSmrg <para>Some blurb about the function 7524eb411b4bSmrg <funcsynopsis> 7525eb411b4bSmrg </funcsynopsis> 7526eb411b4bSmrg <variablelist> 7527eb411b4bSmrg </variablelist> 7528eb411b4bSmrg </para> 7529eb411b4bSmrg 7530eb411b4bSmrg After the patch: 7531eb411b4bSmrg <para>Some blurb about the function</para> 7532eb411b4bSmrg <funcsynopsis> 7533eb411b4bSmrg </funcsynopsis> 7534eb411b4bSmrg <variablelist> 7535eb411b4bSmrg </variablelist> 7536eb411b4bSmrg 7537eb411b4bSmrg There are no noticable differences when reading the doc 7538eb411b4bSmrg other than than the removed few pixels of spacing between 7539eb411b4bSmrg the function sysnopsis and the variable list block. 7540eb411b4bSmrg 7541eb411b4bSmrg In some cases, there are no "blurb about the fucntion" 7542eb411b4bSmrg and the empty paragraph is removed. 7543eb411b4bSmrg 7544eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7545eb411b4bSmrg 7546eb411b4bSmrgcommit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168 7547eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7548eb411b4bSmrgDate: Thu Jul 28 19:46:14 2011 -0400 7549eb411b4bSmrg 7550eb411b4bSmrg compose specs: generate chunked html 7551eb411b4bSmrg 7552eb411b4bSmrg For large 600 page documents such as this one, chunked html 7553eb411b4bSmrg provide faster browser load time and better navigation. 7554eb411b4bSmrg 7555eb411b4bSmrg Simply click on the locale of your choice in the toc and 7556eb411b4bSmrg the browser loads just that one file. Being a DocBook, 7557eb411b4bSmrg it benefits from all of the usual features and can be 7558eb411b4bSmrg integrated with the rest of the documentation. 7559eb411b4bSmrg 7560eb411b4bSmrg Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7561eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7562eb411b4bSmrg 7563eb411b4bSmrgcommit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57 7564eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7565eb411b4bSmrgDate: Thu Jun 23 15:16:47 2011 -0400 7566eb411b4bSmrg 7567eb411b4bSmrg specs: build compose keys tables in specs/i18n/compose 7568eb411b4bSmrg 7569eb411b4bSmrg Build the tables article together with the rest of the specs. 7570eb411b4bSmrg Make it transparent that the source in generated in nls. 7571eb411b4bSmrg Reuse docbook.am and get all the features such as olink. 7572eb411b4bSmrg 7573eb411b4bSmrg The docbook article file stem and id must be the same. The new name 7574eb411b4bSmrg for the main article is libX11-keys. The new installation location 7575eb411b4bSmrg is $docdir/libX11/i18n/compose. 7576eb411b4bSmrg 7577eb411b4bSmrg The nls dir retains the role of generating the DocBook/XML source 7578eb411b4bSmrg but does not build neither installs output formats or generated source. 7579eb411b4bSmrg 7580eb411b4bSmrg The tables article now has to specify that each included locale 7581eb411b4bSmrg section is a dependency. It did not matter before as they were web links. 7582eb411b4bSmrg 7583eb411b4bSmrg The xorg-sgml-doctools masterdb shall be updated to include this new doc. 7584eb411b4bSmrg Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose. 7585eb411b4bSmrg 7586eb411b4bSmrg Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7587eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7588eb411b4bSmrg 7589eb411b4bSmrgcommit adebbe3856b4aee39c0c7af902c1dea847dd6d7c 7590eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 7591eb411b4bSmrgDate: Thu Jun 23 14:43:31 2011 -0400 7592eb411b4bSmrg 7593eb411b4bSmrg nls: restructure charts as a single article with sections 7594eb411b4bSmrg 7595eb411b4bSmrg Looks more like a real article with a toc rather than individual 7596eb411b4bSmrg web pages. Looks nicer in pdf. 7597eb411b4bSmrg 7598eb411b4bSmrg Each locale is a "section" rather than an "article". 7599eb411b4bSmrg Using XInclude to aggregate xml source files gets you the toc for free. 7600eb411b4bSmrg 7601eb411b4bSmrg The single document is over 600 pages while there were 62 separate 7602eb411b4bSmrg documents previously. FOP version 1.0 is required to handle missing 7603eb411b4bSmrg character like capital sharp s. 7604eb411b4bSmrg 7605eb411b4bSmrg Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7606eb411b4bSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 7607eb411b4bSmrg 76086cc2b21fSmrgcommit fc74dc12b1ff3c43e240e1a713316ce1bf525d61 76096cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 76106cc2b21fSmrgDate: Thu Jul 28 19:32:40 2011 -0700 76116cc2b21fSmrg 76126cc2b21fSmrg libX11 1.4.4 76136cc2b21fSmrg 76146cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 76156cc2b21fSmrg 76166cc2b21fSmrgcommit ab1f30231755d99ed123af6873b981834640f01d 76176cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org> 76186cc2b21fSmrgDate: Wed Jul 13 12:33:40 2011 -0600 76196cc2b21fSmrg 76206cc2b21fSmrg Add id attributes to error codes to allow linking from other docs. 76216cc2b21fSmrg 76226cc2b21fSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 76236cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 76246cc2b21fSmrg Acked-by: Gaetan Nadon <memsize@videotron.ca> 76256cc2b21fSmrg 76266cc2b21fSmrgcommit 5c831fef402914ccf2ec14005c25be48852f119b 76276cc2b21fSmrgAuthor: David Coppa <dcoppa@gmail.com> 76286cc2b21fSmrgDate: Tue Jul 12 10:05:47 2011 +0200 76296cc2b21fSmrg 76306cc2b21fSmrg Fix libpthread linkage on OpenBSD. 76316cc2b21fSmrg 76326cc2b21fSmrg OpenBSD prefers to use the -pthread to fetch pthread libs when needed. 76336cc2b21fSmrg 76346cc2b21fSmrg Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> 76356cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 76366cc2b21fSmrg 76376cc2b21fSmrgcommit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12 76386cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 76396cc2b21fSmrgDate: Wed Jun 22 20:46:26 2011 -0400 76406cc2b21fSmrg 76416cc2b21fSmrg config: use XORG_WITH_PERL macro to replace custom program check 76426cc2b21fSmrg 76436cc2b21fSmrg New in version util-macros 1.15, the macro does the usual checking 76446cc2b21fSmrg for program path and provides an interface for makefile variables. 76456cc2b21fSmrg 76466cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 76476cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 76486cc2b21fSmrg 76496cc2b21fSmrgcommit 47d99a324db9232029a22dd523e3bc3ed0936aca 76506cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 76516cc2b21fSmrgDate: Wed Jun 22 20:41:18 2011 -0400 76526cc2b21fSmrg 76536cc2b21fSmrg config: update XORG_WITH_FOP macro usage 76546cc2b21fSmrg 76556cc2b21fSmrg A new feature to test for a minimum version has been added. 76566cc2b21fSmrg 76576cc2b21fSmrg The parameter position changed. Due to limited usage 76586cc2b21fSmrg and requiring 1.15, it turns out to be backward compatible. 76596cc2b21fSmrg 76606cc2b21fSmrg There is no functional change to how docs are build. 76616cc2b21fSmrg 76626cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 76636cc2b21fSmrg 76646cc2b21fSmrgcommit e659683ad51ecc26c989fbdefdfe20f83af2c5a5 76656cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 76666cc2b21fSmrgDate: Wed Jun 22 11:48:49 2011 -0400 76676cc2b21fSmrg 76686cc2b21fSmrg Remove unused xmlrules.in in specs, now in /nls 76696cc2b21fSmrg 76706cc2b21fSmrg The specs dir has been converted to docbook.am 76716cc2b21fSmrg 76726cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 76736cc2b21fSmrg 76746cc2b21fSmrgcommit 9992092609bd83a0db778e9a9ac1e879d445e637 76756cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 76766cc2b21fSmrgDate: Thu Mar 31 10:23:22 2011 -0400 76776cc2b21fSmrg 76786cc2b21fSmrg nls: move xmlrules.in from specs to nls 76796cc2b21fSmrg 76806cc2b21fSmrg It is no longer used in the specs dir. 76816cc2b21fSmrg Remove html from CLEANFILES as it breaks. Make do not clean directories 76826cc2b21fSmrg Remove SUFFIXES as pattern rules are used rather than suffix rules. 76836cc2b21fSmrg 76846cc2b21fSmrg Other improvements are possible, the first priority is to move it out 76856cc2b21fSmrg of the specs dir. 76866cc2b21fSmrg 76876cc2b21fSmrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 76886cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 76896cc2b21fSmrg 76906cc2b21fSmrgcommit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58 76916cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 76926cc2b21fSmrgDate: Sun Jun 5 16:27:36 2011 -0400 76936cc2b21fSmrg 76946cc2b21fSmrg Install target dbs alongside generated documents 76956cc2b21fSmrg 76966cc2b21fSmrg This matches a change in xorg-sgml-docs whereby the masterdb will look for 76976cc2b21fSmrg the target dbs into the same location as the generated documents. 76986cc2b21fSmrg 76996cc2b21fSmrg The target dbs are now installed alongside the generated documents. 77006cc2b21fSmrg Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which 77016cc2b21fSmrg has the potential of installing outside the package prefix and cause 77026cc2b21fSmrg distcheck to fail when user does not have write permission in this package. 77036cc2b21fSmrg 77046cc2b21fSmrg Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11 77056cc2b21fSmrg 77066cc2b21fSmrgcommit 4e741654b7e0a283779b8b4af5bb32e05b7fc678 77076cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 77086cc2b21fSmrgDate: Tue Jun 7 18:41:30 2011 -0700 77096cc2b21fSmrg 77106cc2b21fSmrg specs/libX11: Turn appendix references into links 77116cc2b21fSmrg 77126cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77136cc2b21fSmrg 77146cc2b21fSmrgcommit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e 77156cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 77166cc2b21fSmrgDate: Tue Jun 7 18:37:41 2011 -0700 77176cc2b21fSmrg 77186cc2b21fSmrg specs/libX11: Turn chapter references into links 77196cc2b21fSmrg 77206cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77216cc2b21fSmrg 77226cc2b21fSmrgcommit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe 77236cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 77246cc2b21fSmrgDate: Tue Jun 7 00:52:32 2011 -0700 77256cc2b21fSmrg 77266cc2b21fSmrg specs/libX11: Turn many "see section ..." into links 77276cc2b21fSmrg 77286cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77296cc2b21fSmrg 77306cc2b21fSmrgcommit 02d4c08dead2f266809b3f93ec72377783423ac7 77316cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 77326cc2b21fSmrgDate: Sun Jun 5 22:50:37 2011 -0700 77336cc2b21fSmrg 77346cc2b21fSmrg specs/libX11: Convert some header filenames to filename tags 77356cc2b21fSmrg 77366cc2b21fSmrg perl -i -p -e 's{^<(.*\.h)>\ *}{<filename class="headerfile"><\1></filename>}' *.xml 77376cc2b21fSmrg 77386cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77396cc2b21fSmrg 77406cc2b21fSmrgcommit c51a011329afa6e5b9d2b285349c132683ecf9fb 77416cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org> 77426cc2b21fSmrgDate: Tue May 31 20:03:23 2011 -0600 77436cc2b21fSmrg 77446cc2b21fSmrg Add id attributes to funcsynopsis to allow other docs to olink to them. 77456cc2b21fSmrg 77466cc2b21fSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 77476cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77486cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 77496cc2b21fSmrg 77506cc2b21fSmrgcommit 6841260c8bb15404a0b4805bee3b0bdfec7176b3 77516cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 77526cc2b21fSmrgDate: Fri May 27 20:14:36 2011 -0700 77536cc2b21fSmrg 77546cc2b21fSmrg Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html 77556cc2b21fSmrg 77566cc2b21fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=37624 77576cc2b21fSmrg 77586cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77596cc2b21fSmrg 77606cc2b21fSmrgcommit 205af6a4e557c62a6395feadc1c89f4a9fe1713b 77616cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org> 77626cc2b21fSmrgDate: Sat May 21 00:23:06 2011 -0600 77636cc2b21fSmrg 77646cc2b21fSmrg Add id's to functions, to make clickable links. 77656cc2b21fSmrg 77666cc2b21fSmrg Signed-off-by: Matt Dew <marcoz@osource.org> 77676cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 77686cc2b21fSmrg 77696cc2b21fSmrgcommit 5c06bc594473f6ab234724cd90db32e7b57fe811 77706cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 77716cc2b21fSmrgDate: Fri May 20 15:38:08 2011 -0700 77726cc2b21fSmrg 77736cc2b21fSmrg libX11 spec: fix monospaced column alignment after deligaturization 77746cc2b21fSmrg 77756cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 77766cc2b21fSmrg 77776cc2b21fSmrgcommit ef0019c714c273cb9b4ad3eba52d0b905109826b 77786cc2b21fSmrgAuthor: James Cloos <cloos@jhcloos.com> 77796cc2b21fSmrgDate: Fri May 20 15:51:46 2011 -0400 77806cc2b21fSmrg 77816cc2b21fSmrg Expand latin ligatures out to their NFKC equivalents. 77826cc2b21fSmrg 77836cc2b21fSmrg Ligatures should be done by the typesetting system. 77846cc2b21fSmrg Manuscripts should not bother with them. 77856cc2b21fSmrg 77866cc2b21fSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 77876cc2b21fSmrg Reviewed-by: Keith Packard <keithp@keithp.com> 77886cc2b21fSmrg 77896cc2b21fSmrgcommit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 77906cc2b21fSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 77916cc2b21fSmrgDate: Thu May 12 16:21:50 2011 +0200 77926cc2b21fSmrg 77936cc2b21fSmrg XCB: Add more friendly error messages for common asserts 77946cc2b21fSmrg 77956cc2b21fSmrg This patch adds more friendly error messages for three common classes of 77966cc2b21fSmrg assertion: 77976cc2b21fSmrg - missed sequence numbers due to being griefed by another thread 77986cc2b21fSmrg - unknown requests in queue due to being griefed by another thread 77996cc2b21fSmrg - extensions dequeuing too much or too little reply data 78006cc2b21fSmrg 78016cc2b21fSmrg It adds error messages offering advice (e.g. call XInitThreads() first) 78026cc2b21fSmrg on stderr, but still generates actual assertions. Hopefully this means 78036cc2b21fSmrg it's a little more Googleable and a little less frightening. 78046cc2b21fSmrg 78056cc2b21fSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 78066cc2b21fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 78076cc2b21fSmrg 78086cc2b21fSmrgcommit 159bf292477048b9a2f074735afc516f52c93d80 78096cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 78106cc2b21fSmrgDate: Thu May 19 20:22:11 2011 -0400 78116cc2b21fSmrg 78126cc2b21fSmrg Remove misplaced hyphens in libX11 DocBook/XML #37364 78136cc2b21fSmrg 78146cc2b21fSmrg Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl> 78156cc2b21fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 78166cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 78176cc2b21fSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 78186cc2b21fSmrg 78196cc2b21fSmrgcommit 0ee6d8247d397500ae183ef180b6ff21bceefa1c 78206cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 78216cc2b21fSmrgDate: Tue May 17 20:49:59 2011 -0700 78226cc2b21fSmrg 78236cc2b21fSmrg Fix man page and comment references to use XFreeModifiermap (lowercase map) 78246cc2b21fSmrg 78256cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 78266cc2b21fSmrg 78276cc2b21fSmrgcommit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd 78286cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 78296cc2b21fSmrgDate: Tue May 17 20:30:54 2011 -0700 78306cc2b21fSmrg 78316cc2b21fSmrg XKB man pages: Fix coordinantes typo in multiple pages 78326cc2b21fSmrg 78336cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 78346cc2b21fSmrg 78356cc2b21fSmrgcommit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f 78366cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 78376cc2b21fSmrgDate: Tue May 17 16:27:32 2011 -0700 78386cc2b21fSmrg 78396cc2b21fSmrg DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC" 78406cc2b21fSmrg 78416cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 78426cc2b21fSmrg 78436cc2b21fSmrgcommit ae39d82b01359b07dd1fe092d867f79ea95a5438 78446cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 78456cc2b21fSmrgDate: Sun May 8 09:08:07 2011 -0700 78466cc2b21fSmrg 78476cc2b21fSmrg Silence clang static analysis warnings for SetReqLen 78486cc2b21fSmrg 78496cc2b21fSmrg This provides a simplified version of the SetReqLen macro when using clang for 78506cc2b21fSmrg static analysis. Prior to this change, we would see many Idempotent operation 78516cc2b21fSmrg warnings inside this macro due to the common case of calling with arg2 and 78526cc2b21fSmrg arg3 being the same variable. This has no effect on code produced during 78536cc2b21fSmrg compilation, but it silences a number of false positives in static analysis. 78546cc2b21fSmrg 78556cc2b21fSmrg XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value 78566cc2b21fSmrg SetReqLen(req, num_modifiers, num_modifiers); 78576cc2b21fSmrg ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78586cc2b21fSmrg In file included from XIPassiveGrab.c:26: 78596cc2b21fSmrg .../include/X11/Xlibint.h:580:8: note: instantiated from: 78606cc2b21fSmrg n = badlen; \ 78616cc2b21fSmrg ^ 78626cc2b21fSmrg 78636cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 78646cc2b21fSmrg 78656cc2b21fSmrgcommit 130af2bc02090ee2526adb2f9803fc07019b8f1f 78666cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 78676cc2b21fSmrgDate: Wed May 4 15:34:31 2011 -0700 78686cc2b21fSmrg 78696cc2b21fSmrg XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case 78706cc2b21fSmrg 78716cc2b21fSmrg XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 78726cc2b21fSmrg _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 78736cc2b21fSmrg ^~~~~~~ 78746cc2b21fSmrg 78756cc2b21fSmrg Found-by: clang static analyzer 78766cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 78776cc2b21fSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 78786cc2b21fSmrg 78796cc2b21fSmrgcommit c987ef04bea345d5810e60cf6c53b747ddbe910e 78806cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 78816cc2b21fSmrgDate: Wed May 4 15:31:17 2011 -0700 78826cc2b21fSmrg 78836cc2b21fSmrg Revert "XKB: Avoid a possible NULL dereference" 78846cc2b21fSmrg 78856cc2b21fSmrg Sorry for the noise. I accidentally pushed and didn't mean to. =( 78866cc2b21fSmrg 78876cc2b21fSmrg This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08. 78886cc2b21fSmrg 78896cc2b21fSmrgcommit 46d04bc4e7ff6c86385002c929d8eb0310f737a8 78906cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 78916cc2b21fSmrgDate: Wed May 4 11:35:31 2011 -0700 78926cc2b21fSmrg 78936cc2b21fSmrg Dead code removal 78946cc2b21fSmrg 78956cc2b21fSmrg XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value 78966cc2b21fSmrg for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) { 78976cc2b21fSmrg ~~~^~~~ 78986cc2b21fSmrg XKBGeom.c:115:5: warning: Value stored to 'pos' is never read 78996cc2b21fSmrg pos= 0; 79006cc2b21fSmrg ^ ~ 79016cc2b21fSmrg 79026cc2b21fSmrg Found-by: clang static analyzer 79036cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 79046cc2b21fSmrg 79056cc2b21fSmrgcommit 4024091678ea07e0d898b798df9b29f3bf68eb08 79066cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 79076cc2b21fSmrgDate: Wed May 4 11:34:53 2011 -0700 79086cc2b21fSmrg 79096cc2b21fSmrg XKB: Avoid a possible NULL dereference 79106cc2b21fSmrg 79116cc2b21fSmrg XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds') 79126cc2b21fSmrg _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1); 79136cc2b21fSmrg ^~~~~~~ 79146cc2b21fSmrg 79156cc2b21fSmrg Found-by: clang static analyzer 79166cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 79176cc2b21fSmrg 79186cc2b21fSmrgcommit 626e5e34be55b7cf734d745bd40a7ee3359029f8 79196cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 79206cc2b21fSmrgDate: Wed May 4 11:21:41 2011 -0700 79216cc2b21fSmrg 79226cc2b21fSmrg Annotate _XIOError as _X_NORETURN 79236cc2b21fSmrg 79246cc2b21fSmrg Found-by: clang static analyzer 79256cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 79266cc2b21fSmrg 79276cc2b21fSmrgcommit d3d7896408b435ab42656398839ff4351a37724d 79286cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 79296cc2b21fSmrgDate: Tue May 3 09:32:53 2011 -0700 79306cc2b21fSmrg 79316cc2b21fSmrg clang analyzer: Don't warn about Xmalloc(0) 79326cc2b21fSmrg 79336cc2b21fSmrg This will prevent a number of false positives in where clang's 79346cc2b21fSmrg static analysis reports about calls to malloc(0). 79356cc2b21fSmrg 79366cc2b21fSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 79376cc2b21fSmrg 79386cc2b21fSmrgcommit 393921cf2188b2b0713cc157effaf17d0abab783 79396cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 79406cc2b21fSmrgDate: Thu Apr 21 16:21:04 2011 -0700 79416cc2b21fSmrg 79426cc2b21fSmrg Delete special case code to append "/sparcv9" to i18n module path 79436cc2b21fSmrg 79446cc2b21fSmrg Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit. 79456cc2b21fSmrg Inconsistent with all other platforms, and a bit overcomplicated. 79466cc2b21fSmrg 79476cc2b21fSmrg Should anyone need to continue using that path, simply build with 79486cc2b21fSmrg a #define POSTLOCALELIBDIR "sparcv9" to get the same result. 79496cc2b21fSmrg 79506cc2b21fSmrg Fixes Solaris bug 7038737: 79516cc2b21fSmrg sparcv9 Xlib looking in wrong path for i18n loadable modules 79526cc2b21fSmrg 79536cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 79546cc2b21fSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 79556cc2b21fSmrg 79566cc2b21fSmrgcommit b9ff9cfd5c56ae6d52c6503f7019756d9de29557 79576cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 79586cc2b21fSmrgDate: Thu Apr 14 13:47:12 2011 -0700 79596cc2b21fSmrg 79606cc2b21fSmrg specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244] 79616cc2b21fSmrg 79626cc2b21fSmrg Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() 79636cc2b21fSmrg 79646cc2b21fSmrg https://bugs.freedesktop.org/show_bug.cgi?id=36244 79656cc2b21fSmrg 79666cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 79676cc2b21fSmrg 79686cc2b21fSmrgcommit b850adbdebcf500c659f85285d4d7374e15857f5 79696cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 79706cc2b21fSmrgDate: Tue Apr 12 22:30:45 2011 -0700 79716cc2b21fSmrg 79726cc2b21fSmrg Convert malloc(strlen()); strcpy() sets to strdup 79736cc2b21fSmrg 79746cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 79756cc2b21fSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 79766cc2b21fSmrg 79776cc2b21fSmrgcommit 09194042d3dc44a463add1f7c122a68ffd5ef0bf 79786cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 79796cc2b21fSmrgDate: Tue Apr 12 21:27:45 2011 -0700 79806cc2b21fSmrg 79816cc2b21fSmrg Replace Xmalloc+bzero pairs with Xcalloc calls 79826cc2b21fSmrg 79836cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 79846cc2b21fSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 79856cc2b21fSmrg 79866cc2b21fSmrgcommit ac1e2bff7121987fd768500a11d428d9fb9447c5 79876cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 79886cc2b21fSmrgDate: Fri Mar 25 14:47:35 2011 +0200 79896cc2b21fSmrg 79906cc2b21fSmrg om: Fix memory leaks on get_font_name error paths. 79916cc2b21fSmrg 79926cc2b21fSmrg While at it, remove unneeded check for NULL before Xfree. 79936cc2b21fSmrg 79946cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 79956cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 79966cc2b21fSmrg 79976cc2b21fSmrgcommit 7c362e275c93c92b4e68fe862e73ee36665de703 79986cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 79996cc2b21fSmrgDate: Wed Mar 30 15:06:10 2011 +0300 80006cc2b21fSmrg 80016cc2b21fSmrg xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path. 80026cc2b21fSmrg 80036cc2b21fSmrg pScreenData is replaced when building per visual intensity tables. If 80046cc2b21fSmrg malloc failed the old value of pScreenData (stored also in 80056cc2b21fSmrg pScreenDefaultData) was being leaked. Also, property_return wasn't 80066cc2b21fSmrg free'd in that case. 80076cc2b21fSmrg 80086cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80096cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80106cc2b21fSmrg 80116cc2b21fSmrgcommit 5c810e2ac233e00f361549bafb9b59e8a9e05eff 80126cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80136cc2b21fSmrgDate: Wed Mar 30 15:19:28 2011 +0300 80146cc2b21fSmrg 80156cc2b21fSmrg xcms: Fix error on LINEAR_RGB_InitSCCData error path. 80166cc2b21fSmrg 80176cc2b21fSmrg Due to what looks like a copy & paste error, pScreenData->pBlueTbl would 80186cc2b21fSmrg be accessed after being free'd. 80196cc2b21fSmrg 80206cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80216cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80226cc2b21fSmrg 80236cc2b21fSmrgcommit d749948f9492fd9b61c74655a08e32c595e0e3a5 80246cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80256cc2b21fSmrgDate: Fri Mar 25 16:06:15 2011 +0200 80266cc2b21fSmrg 80276cc2b21fSmrg om: Fix potential memory leak in init_om. 80286cc2b21fSmrg 80296cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80306cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80316cc2b21fSmrg 80326cc2b21fSmrgcommit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995 80336cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80346cc2b21fSmrgDate: Thu Mar 24 20:40:41 2011 +0200 80356cc2b21fSmrg 80366cc2b21fSmrg om: Fix memory leak on read_EncodingInfo error path. 80376cc2b21fSmrg 80386cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80396cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80406cc2b21fSmrg 80416cc2b21fSmrgcommit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3 80426cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80436cc2b21fSmrgDate: Thu Mar 24 19:55:33 2011 +0200 80446cc2b21fSmrg 80456cc2b21fSmrg Fix memory leaks on _XimCbDispatch error path. 80466cc2b21fSmrg 80476cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80486cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80496cc2b21fSmrg 80506cc2b21fSmrgcommit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e 80516cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80526cc2b21fSmrgDate: Thu Mar 24 19:52:05 2011 +0200 80536cc2b21fSmrg 80546cc2b21fSmrg Fix memory leak on _XimCommitRecv error path. 80556cc2b21fSmrg 80566cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80576cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80586cc2b21fSmrg 80596cc2b21fSmrgcommit 0ace642a2d47265f01450bfa2b2fd48eb6956a83 80606cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80616cc2b21fSmrgDate: Thu Mar 24 19:48:44 2011 +0200 80626cc2b21fSmrg 80636cc2b21fSmrg Fix memory leaks on _XimWriteCachedDefaultTree error paths. 80646cc2b21fSmrg 80656cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80666cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80676cc2b21fSmrg 80686cc2b21fSmrgcommit e29be94edbb58b3b8dab545377a710d1f73b61e0 80696cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80706cc2b21fSmrgDate: Thu Mar 24 19:42:36 2011 +0200 80716cc2b21fSmrg 80726cc2b21fSmrg Fix memory leaks on _XimGetAttributeID error paths. 80736cc2b21fSmrg 80746cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80756cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80766cc2b21fSmrg 80776cc2b21fSmrgcommit d144a50512466766f55ce61e3884925334b08f0d 80786cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80796cc2b21fSmrgDate: Thu Mar 24 19:36:56 2011 +0200 80806cc2b21fSmrg 80816cc2b21fSmrg Fix memory leaks on _XimProtoCreateIC error paths. 80826cc2b21fSmrg 80836cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80846cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80856cc2b21fSmrg 80866cc2b21fSmrgcommit 6a452f7a98499508f753cb8a7c3f08bcbec736b9 80876cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80886cc2b21fSmrgDate: Thu Mar 24 16:24:29 2011 +0200 80896cc2b21fSmrg 80906cc2b21fSmrg Fix leaks in _XimEncodingNegotiation error paths. 80916cc2b21fSmrg 80926cc2b21fSmrg name_ptr and detail_ptr weren't free'd in some cases before returning 80936cc2b21fSmrg False. 80946cc2b21fSmrg 80956cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 80966cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 80976cc2b21fSmrg 80986cc2b21fSmrgcommit 396e5a452a59c1f121220ba72167b720a863b30f 80996cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 81006cc2b21fSmrgDate: Thu Mar 24 14:17:44 2011 +0200 81016cc2b21fSmrg 81026cc2b21fSmrg FSWrap: fix potential leak in copy_string_list 81036cc2b21fSmrg 81046cc2b21fSmrg If list_count is 0, dst would be allocated and leaked. 81056cc2b21fSmrg 81066cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 81076cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 81086cc2b21fSmrg 81096cc2b21fSmrgcommit 1a944260182bb552b954d69f6355c2760d4415df 81106cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 81116cc2b21fSmrgDate: Wed Mar 23 14:36:22 2011 +0200 81126cc2b21fSmrg 81136cc2b21fSmrg Fix memory leak with broken bitmap files in XReadBitmapFileData 81146cc2b21fSmrg 81156cc2b21fSmrg Bitmap file data is read looping through the lines in the input file. If 81166cc2b21fSmrg there is extra data after the bitmap, these lines will be processed and 81176cc2b21fSmrg if this data represents another bitmap it will replace the one read 81186cc2b21fSmrg before causing the memory allocated for bits to leak. 81196cc2b21fSmrg 81206cc2b21fSmrg This changes the code to stop processing the file once a bitmap was 81216cc2b21fSmrg read. 81226cc2b21fSmrg 81236cc2b21fSmrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 81246cc2b21fSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 81256cc2b21fSmrg 81266cc2b21fSmrgcommit c1c91e9a221a0e762d96cc12a3f189d6e59f4865 81276cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 81286cc2b21fSmrgDate: Tue Apr 12 20:50:42 2011 -0700 81296cc2b21fSmrg 81306cc2b21fSmrg Fix "attrinute" typo in comments in ximcp 81316cc2b21fSmrg 81326cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 81336cc2b21fSmrg 81346cc2b21fSmrgcommit 7103b83a88edb9c93acfa68f3b556595b087baff 81356cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 81366cc2b21fSmrgDate: Fri Apr 8 21:36:11 2011 -0700 81376cc2b21fSmrg 81386cc2b21fSmrg Make doc install subdirectories more like the pre-docbook.am paths 81396cc2b21fSmrg 81406cc2b21fSmrg Haven't restored the "specs" path in the install path, but have restored 81416cc2b21fSmrg libX11 & i18n subdirectories in the path for better logical grouping. 81426cc2b21fSmrg 81436cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 81446cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 81456cc2b21fSmrg 81466cc2b21fSmrgcommit 9a1ae7a90f815a737a942e42d5eb1ffff400977b 81476cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 81486cc2b21fSmrgDate: Fri Apr 8 13:24:28 2011 -0700 81496cc2b21fSmrg 81506cc2b21fSmrg Install xml versions of specs even if HAVE_XMLTO is false 81516cc2b21fSmrg 81526cc2b21fSmrg Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour 81536cc2b21fSmrg from before docbook.am changes (commit e8c76407d2f6e3) 81546cc2b21fSmrg 81556cc2b21fSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 81566cc2b21fSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 81576cc2b21fSmrg 815857f47464Smrgcommit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e 815957f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 816057f47464SmrgDate: Tue Apr 5 13:29:04 2011 -0700 816157f47464Smrg 816257f47464Smrg libX11 1.4.3 816357f47464Smrg 816457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 816557f47464Smrg 816657f47464Smrgcommit e8c76407d2f6e3b11babdb84426e43e780c859c3 816757f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 816857f47464SmrgDate: Fri Feb 25 09:23:54 2011 -0500 816957f47464Smrg 817057f47464Smrg Documentation: add Docbook external references support 817157f47464Smrg 817257f47464Smrg When writing technical documentation, it is often necessary to cross 817357f47464Smrg reference to other information. When that other information is not in the 817457f47464Smrg current document, additional support is needed, namely <olink>. 817557f47464Smrg 817657f47464Smrg A new feature with version 1.7 of xorg-sgml-doctools adds references to 817757f47464Smrg other documents within or outside this package. 817857f47464Smrg 817957f47464Smrg This patch adds technical support for this feature but does not change 818057f47464Smrg the content of the documentation as seen by the end user. 818157f47464Smrg 818257f47464Smrg Each book or article must generate a database containing the href 818357f47464Smrg of sections that can be referred to from another document. This database 818457f47464Smrg is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that 818557f47464Smrg the value of DATAROOTDIR for xorg-sgml-doctools and for the package 818657f47464Smrg documentation is the same. This forms a virtual document tree. 818757f47464Smrg 818857f47464Smrg This database is consulted by other documents while they are being generated 818957f47464Smrg in order to fulfill the missing information for linking. 819057f47464Smrg Refer to the xorg-sgml-doctools for further technical information. 819157f47464Smrg 819257f47464Smrg Co-authored-by: Matt Dew <marcoz@osource.org> 819357f47464Smrg 819457f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 819557f47464Smrg 819657f47464Smrgcommit 25eb76b3d2726f2f1de759901971ae53b2539dc4 819757f47464SmrgAuthor: Harshula Jayasuriya <harshula@gmail.com> 819857f47464SmrgDate: Mon Mar 21 14:49:37 2011 +0000 819957f47464Smrg 820057f47464Smrg Add #define XK_SINHALA 820157f47464Smrg 820257f47464Smrg Add #define XK_SINHALA so that the Sinhala keysyms can be used by 820357f47464Smrg the lk xkb keymap. 820457f47464Smrg 820557f47464Smrg Signed-off-by: Harshula Jayasuriya <harshula@gmail.com> 820657f47464Smrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 820757f47464Smrg 820857f47464Smrgcommit db8b20b789112717ac0590b40f0b4dc2171797d0 820957f47464SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 821057f47464SmrgDate: Thu Mar 17 16:15:00 2011 -0700 821157f47464Smrg 821257f47464Smrg configure.ac: Bump version to 1.4.2 821357f47464Smrg 821457f47464Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 821557f47464Smrg 821657f47464Smrgcommit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d 821757f47464SmrgAuthor: Jamey Sharp <jamey@minilop.net> 821857f47464SmrgDate: Tue Mar 15 16:48:07 2011 -0700 821957f47464Smrg 822057f47464Smrg Call _XErrorFunction without holding the Display lock. 822157f47464Smrg 822257f47464Smrg Historically, Xlib dropped the Display lock around the upcall to any 822357f47464Smrg user-supplied _XErrorFunction, but somewhere along the way I quit doing 822457f47464Smrg that if you built with XCB. The reasons are lost somewhere in the 822557f47464Smrg pre-git history of Xlib/XCB, and I can't now see any reason to hold the 822657f47464Smrg lock. 822757f47464Smrg 822857f47464Smrg The documentation for XSetErrorHandler still applies though: 822957f47464Smrg 823057f47464Smrg Because this condition is not assumed to be fatal, it is acceptable 823157f47464Smrg for your error handler to return; the returned value is ignored. 823257f47464Smrg However, the error handler should not call any functions (directly 823357f47464Smrg or indirectly) on the display that will generate protocol requests 823457f47464Smrg or that will look for input events. 823557f47464Smrg 823657f47464Smrg So while you are now once again permitted to re-enter Xlib from the 823757f47464Smrg error handler, you're only allowed to call non-protocol functions. 823857f47464Smrg 823957f47464Smrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 824057f47464Smrg 824157f47464Smrgcommit fd85aca7a616c595fc17b2520f84316a11e8906f 824257f47464SmrgAuthor: Jamey Sharp <jamey@minilop.net> 824357f47464SmrgDate: Mon Mar 14 14:45:35 2011 -0700 824457f47464Smrg 824557f47464Smrg Ignore user locks after sleeping in _XReply and _XReadEvents. 824657f47464Smrg 824757f47464Smrg This bug appears as a hang in applications that wait for replies from 824857f47464Smrg multiple threads, where one such thread has taken a user lock using 824957f47464Smrg XLockDisplay. 825057f47464Smrg 825157f47464Smrg Prior to this fix, the code could deadlock in this way: If thread 1 goes 825257f47464Smrg to sleep waiting for a reply, and then thread 2 takes a user lock and 825357f47464Smrg waits for a reply, then thread 2 will wait for thread 1 to process its 825457f47464Smrg reply (because responses must be processed in order), but thread 1 will 825557f47464Smrg wait for thread 2 to drop its user lock. 825657f47464Smrg 825757f47464Smrg Fixed by making thread 1 not wait for thread 2 to drop its user lock. 825857f47464Smrg This makes the semantics of user locks hard to define, but they were 825957f47464Smrg already hard to define. The new behavior appears to be consistent with 826057f47464Smrg the way Xlib worked historically, anyway. 826157f47464Smrg 826257f47464Smrg Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html 826357f47464Smrg 826457f47464Smrg There was a similar potential for deadlock in _XReadEvents, fixed the 826557f47464Smrg same way, with the same caveats about user-lock semantics. 826657f47464Smrg 826757f47464Smrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 826857f47464Smrg 826957f47464Smrgcommit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f 827057f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 827157f47464SmrgDate: Tue Jan 18 15:58:20 2011 +0200 827257f47464Smrg 827357f47464Smrg xkb: XkbPropertyPtr determined allocation success from wrong variables 827457f47464Smrg 827557f47464Smrg Cannot reach dead statement "return NULL;" 827657f47464Smrg 827757f47464Smrg Check for the NULLness of prop->name and prop->value instead of 827857f47464Smrg name and value, which was checked earlier anyway. Decided against 827957f47464Smrg using strdup due to curious memory allocation functions and the 828057f47464Smrg rest of the xkb not using it either. 828157f47464Smrg 828257f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 828357f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 828457f47464Smrg 828557f47464Smrgcommit 6a4d027284e7bb5dd458157947bbb1ff580ad071 828657f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 828757f47464SmrgDate: Mon Jan 10 16:37:22 2011 +0200 828857f47464Smrg 828957f47464Smrg keyBind: Use Xcalloc to initialize allocated _XKeytrans 829057f47464Smrg 829157f47464Smrg Using uninitialized value "p->modifiers" 829257f47464Smrg 829357f47464Smrg Small fix by using Xcalloc instead of Xmalloc 829457f47464Smrg 829557f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 829657f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com> 829757f47464Smrg 829857f47464Smrgcommit b993d73bb3214ecc24646f5427c8003b816c6921 829957f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 830057f47464SmrgDate: Mon Jan 10 16:22:45 2011 +0200 830157f47464Smrg 830257f47464Smrg im/ximcp: release modifiermap before returning 830357f47464Smrg 830457f47464Smrg Variable "map" goes out of scope 830557f47464Smrg 830657f47464Smrg Release modifiermap before returning. Reordered code to call 830757f47464Smrg XGetModifierMapping after the first return from the function. 830857f47464Smrg 830957f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 831057f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 831157f47464Smrg 831257f47464Smrgcommit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4 831357f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 831457f47464SmrgDate: Fri Feb 25 09:23:54 2011 -0500 831557f47464Smrg 831657f47464Smrg Docbook: change the book id to match the xml file basename 831757f47464Smrg 831857f47464Smrg This is required for the up-coming external references support. 831957f47464Smrg 832057f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 832157f47464Smrg 832257f47464Smrgcommit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43 832357f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 832457f47464SmrgDate: Mon Feb 21 21:54:17 2011 +0100 832557f47464Smrg 832657f47464Smrg Make the Local XIM request key releases for braille 832757f47464Smrg 832857f47464Smrg Braille chords management needs key release events. We need to explicitly 832957f47464Smrg request then, else GTK would not pass them throught XFilterEvent and braille 833057f47464Smrg wouldn't work. 833157f47464Smrg 833257f47464Smrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 833357f47464Smrg 833457f47464Smrgcommit c97c42c49cd5095462abecdf908b416fb0b540b6 833557f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 833657f47464SmrgDate: Mon Feb 21 17:27:38 2011 +0100 833757f47464Smrg 833857f47464Smrg Match braille patterns with compose tree 833957f47464Smrg 834057f47464Smrg Braille patterns should also be usable in Compose. This combines the 834157f47464Smrg implementation of braille chords and compose tree: only emit the braille 834257f47464Smrg pattern if it can not be found in the compose tree, if any. 834357f47464Smrg 834457f47464Smrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 834557f47464Smrg 834657f47464Smrgcommit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d 834757f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 834857f47464SmrgDate: Mon Feb 21 15:56:54 2011 +0100 834957f47464Smrg 835057f47464Smrg Fix status reporting for braille patterns 835157f47464Smrg 835257f47464Smrg _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't 835357f47464Smrg convert to the current MB charset. 835457f47464Smrg _XimLocalUtf8LookupString needs to set the braille keysym and status too. 835557f47464Smrg 835657f47464Smrg Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 835757f47464Smrg 835857f47464Smrgcommit 993abe751f4141f54d8d28b8b73588a1c9085970 835957f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 836057f47464SmrgDate: Fri Feb 11 14:49:17 2011 -0800 836157f47464Smrg 836257f47464Smrg Clean up memory when first XCreateRegion succeeds and second fails 836357f47464Smrg 836457f47464Smrg Error: Memory leak (CWE 401) 836557f47464Smrg Memory leak of pointer 's' allocated with XCreateRegion() 836657f47464Smrg at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'. 836757f47464Smrg 's' allocated at line 387 with XCreateRegion(). 836857f47464Smrg s leaks when s != 0 at line 387. 836957f47464Smrg Error: Memory leak (CWE 401) 837057f47464Smrg Memory leak of pointer 'tra' allocated with XCreateRegion() 837157f47464Smrg at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'. 837257f47464Smrg 'tra' allocated at line 1451 with XCreateRegion(). 837357f47464Smrg tra leaks when tra != 0 at line 1451. 837457f47464Smrg 837557f47464Smrg [ This bug was found by the Parfait 0.3.6 bug checking tool. 837657f47464Smrg For more information see http://labs.oracle.com/projects/parfait/ ] 837757f47464Smrg 837857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 837957f47464Smrg 838057f47464Smrgcommit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2 838157f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 838257f47464SmrgDate: Fri Feb 11 14:20:24 2011 -0800 838357f47464Smrg 838457f47464Smrg ximcp: Prevent memory leak & double free if multiple %L in string 838557f47464Smrg 838657f47464Smrg In the highly unlikely event that TransFileName was passed a path 838757f47464Smrg containing multiple %L entries, for each entry it would call 838857f47464Smrg _XlcFileName, leaking the previous results, and then for each entry it 838957f47464Smrg would copy from that pointer and free it, resulting in invalid pointers 839057f47464Smrg & possible double frees for each use after the first one freed it. 839157f47464Smrg 839257f47464Smrg Error: Use after free (CWE 416) 839357f47464Smrg Use after free of pointer 'lcCompose' 839457f47464Smrg at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 839557f47464Smrg Previously freed at line 360 with free. 839657f47464Smrg Error: Use after free (CWE 416) 839757f47464Smrg Use after free of pointer 'lcCompose' 839857f47464Smrg at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 839957f47464Smrg Previously freed at line 360 with free. 840057f47464Smrg Error: Double free (CWE 415) 840157f47464Smrg Double free of pointer 'lcCompose' 840257f47464Smrg at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'. 840357f47464Smrg Previously freed at line 360 with free. 840457f47464Smrg 840557f47464Smrg [ This bug was found by the Parfait 0.3.6 bug checking tool. 840657f47464Smrg For more information see http://labs.oracle.com/projects/parfait/ ] 840757f47464Smrg 840857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 840957f47464Smrg 841057f47464Smrgcommit 502d414118c97d35a44f8e295709682022876331 841157f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 841257f47464SmrgDate: Thu Feb 3 17:08:57 2011 +0200 841357f47464Smrg 841457f47464Smrg xcms/cmsProp: don't deal with uninitialized values, fail instead 841557f47464Smrg 841657f47464Smrg Properly handle the return value of XGetWindowProperty by considering 841757f47464Smrg if after the loop as well. 841857f47464Smrg 841957f47464Smrg Using freed pointer "prop_ret" 842057f47464Smrg 842157f47464Smrg There were numerous things wrong in how this function interacted with 842257f47464Smrg XGetWindowProperty. 842357f47464Smrg 842457f47464Smrg None of the local variables were initialized and remained that way if 842557f47464Smrg the call to XGetWindowProperty returned 1 (not Succeed). That doesn't 842657f47464Smrg result in after_ret being initialized in which case if it happens to 842757f47464Smrg be 0, the loop was exited. In that case format_ret and nitems_ret were 842857f47464Smrg uninitialized and the function might return with success (but with 842957f47464Smrg uninitialized pointer in prop_ret) or XcmsFailure. 843057f47464Smrg 843157f47464Smrg As the buffer enlarging code was called only when XGetWindowProperty 843257f47464Smrg failed (returned not Success), after_ret would not have been 843357f47464Smrg initialized. It would have been initialized only if the 843457f47464Smrg XGetWindowProperty has returned Success earlier, but in that case the 843557f47464Smrg code fragment would not have been reached. 843657f47464Smrg 843757f47464Smrg This patch alters the function to return XcmsFailure if the call to 843857f47464Smrg XGetWindowProperty fails. 843957f47464Smrg 844057f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 844157f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 844257f47464Smrg Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi> 844357f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 844457f47464Smrg 844557f47464Smrgcommit c37e278993b9e5b3d7025ef4c434373a011996ec 844657f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 844757f47464SmrgDate: Mon Jan 31 14:02:07 2011 +0200 844857f47464Smrg 844957f47464Smrg xcms/LRGB: don't double-free property_return 845057f47464Smrg 845157f47464Smrg property_return was free'd before and in the case the conditional is true, 845257f47464Smrg the call to XcmsGetProperty failed which means that property_return wasn't 845357f47464Smrg set so there is no need to free it again. 845457f47464Smrg 845557f47464Smrg Double free of pointer "property_return" in call to "free" 845657f47464Smrg 845757f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 845857f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 845957f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 846057f47464Smrg 846157f47464Smrgcommit 50f4107811249806718a100f9d34f996c58e5e25 846257f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 846357f47464SmrgDate: Wed Feb 2 08:58:45 2011 -0800 846457f47464Smrg 846557f47464Smrg Xrm.c: ReadInFile: refactor fstat error handling 846657f47464Smrg 846757f47464Smrg We can simplify the fstat failure case now that the GetFileSize macro 846857f47464Smrg has been expanded inline. 846957f47464Smrg 847057f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 847157f47464Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 847257f47464Smrg 847357f47464Smrgcommit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a 847457f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 847557f47464SmrgDate: Wed Feb 2 08:56:00 2011 -0800 847657f47464Smrg 847757f47464Smrg Expand GetSizeOfFile() macro at the one place it's called 847857f47464Smrg 847957f47464Smrg Removes XrmI.h header that only contained this single macro 848057f47464Smrg 848157f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 848257f47464Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 848357f47464Smrg 848457f47464Smrgcommit 450e17422c0e374d25c643f343ea268cec68da38 848557f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 848657f47464SmrgDate: Mon Jan 31 14:01:57 2011 +0200 848757f47464Smrg 848857f47464Smrg XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size 848957f47464Smrg 849057f47464Smrg Possible overrun of 8192 byte fixed size buffer "buffer" by copying 849157f47464Smrg "ext->name" without length checking 849257f47464Smrg 849357f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 849457f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 849557f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 849657f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 849757f47464Smrg 849857f47464Smrgcommit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa 849957f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 850057f47464SmrgDate: Mon Jan 31 14:02:13 2011 +0200 850157f47464Smrg 850257f47464Smrg lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory 850357f47464Smrg 850457f47464Smrg Fixed by zero'ing conv on allocation with Xcalloc. Then 850557f47464Smrg close_converter works properly. 850657f47464Smrg 850757f47464Smrg Using uninitialized value "conv->state" in call to function "close_converter" 850857f47464Smrg 850957f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 851057f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 851157f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 851257f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 851357f47464Smrg 851457f47464Smrgcommit 03f81ad8fb9783986cf9b17661dd31e95c396681 851557f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 851657f47464SmrgDate: Mon Jan 31 14:02:16 2011 +0200 851757f47464Smrg 851857f47464Smrg xlibi18n/lcFile: Removed superfluous check for NULL target_dir 851957f47464Smrg 852057f47464Smrg The situation is already handled before this code. 852157f47464Smrg 852257f47464Smrg Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..." 852357f47464Smrg 852457f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 852557f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 852657f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 852757f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 852857f47464Smrg 852957f47464Smrgcommit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639 853057f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 853157f47464SmrgDate: Mon Jan 31 14:02:15 2011 +0200 853257f47464Smrg 853357f47464Smrg ximcp/imLckup: Handle negative return value from _Xlcwctomb 853457f47464Smrg 853557f47464Smrg Fixed by negative value to memcpy by checking for the negative return 853657f47464Smrg value of _Xlcwctomb and returning 0/XLookupNone in that case. 853757f47464Smrg 853857f47464Smrg a negative value was passed to memcpy 853957f47464Smrg 854057f47464Smrg Unfortunately the other return values for *status don't fit into the 854157f47464Smrg error (which appears to indicate some internal error or running out of 854257f47464Smrg memory). The other valid status codes are XBufferOverflow, 854357f47464Smrg XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of 854457f47464Smrg these has a specific meaning attached. 854557f47464Smrg 854657f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 854757f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 854857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 854957f47464Smrg 855057f47464Smrgcommit 79a5c86e020f08cc108184298a72e2777036de39 855157f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 855257f47464SmrgDate: Mon Jan 31 14:02:14 2011 +0200 855357f47464Smrg 855457f47464Smrg ximcp/imTrX: Handle failing XGetWindowProperty 855557f47464Smrg 855657f47464Smrg Checked return value of XGetWindowProperty and return false if it fails. 855757f47464Smrg 855857f47464Smrg 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 855957f47464Smrg 856057f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 856157f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 856257f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 856357f47464Smrg 856457f47464Smrgcommit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1 856557f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 856657f47464SmrgDate: Mon Jan 31 14:02:12 2011 +0200 856757f47464Smrg 856857f47464Smrg XlibInt: info_list->watch_data was reallocated, but result was discarded 856957f47464Smrg 857057f47464Smrg info_list->watch_data was being reallocated, but the return value of 857157f47464Smrg the reallocation was stored only into a local variable. This might 857257f47464Smrg cause some funky behavior and crashes. 857357f47464Smrg 857457f47464Smrg Variable "wd_array" goes out of scope 857557f47464Smrg 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)))" 857657f47464Smrg 857757f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 857857f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 857957f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 858057f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 858157f47464Smrg 858257f47464Smrgcommit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a 858357f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 858457f47464SmrgDate: Mon Jan 31 14:02:10 2011 +0200 858557f47464Smrg 858657f47464Smrg GetProp: Zero-initialized error so its resourceID field is initialized 858757f47464Smrg 858857f47464Smrg Using uninitialized value "error.resourceID" in call to function "_XError" 858957f47464Smrg 859057f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 859157f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 859257f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 859357f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 859457f47464Smrg 859557f47464Smrgcommit 85e9f38e016137f0ff2791eb0d092ab027382d2c 859657f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 859757f47464SmrgDate: Tue Feb 1 11:07:25 2011 +0200 859857f47464Smrg 859957f47464Smrg xcms/LRGB: Add a label for freeing property_return. 860057f47464Smrg 860157f47464Smrg The rest of the code uses goto's to free memory allocated later 860257f47464Smrg and prevent memory leaks, but there were several paths were 860357f47464Smrg property_return was free'd just before a goto. 860457f47464Smrg 860557f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 860657f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 860757f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 860857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 860957f47464Smrg 861057f47464Smrgcommit 3161dc57d4e9b70f852f05e5e474455e121b06ab 861157f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 861257f47464SmrgDate: Mon Jan 31 14:02:08 2011 +0200 861357f47464Smrg 861457f47464Smrg xcms/LRGB: Fix potential resource leak. 861557f47464Smrg 861657f47464Smrg property_return was not free'd if the allocation of pRedTbl failed. 861757f47464Smrg 861857f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 861957f47464Smrg Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 862057f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 862157f47464Smrg 862257f47464Smrgcommit be3e6c205d94dedc1cdebf5d17b987f0f828377a 862357f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 862457f47464SmrgDate: Mon Jan 31 14:02:06 2011 +0200 862557f47464Smrg 862657f47464Smrg Xrm: Handle the extremely unlikely situation of fstat failing 862757f47464Smrg 862857f47464Smrg Tracked variable "size" was passed to a negative sink. 862957f47464Smrg 863057f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 863157f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 863257f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 863357f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 863457f47464Smrg 863557f47464Smrgcommit 3fae16c64d6ef76fd4a25a54c7f7de76596457db 863657f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 863757f47464SmrgDate: Mon Jan 31 14:02:05 2011 +0200 863857f47464Smrg 863957f47464Smrg Xrm: NEWTABLE had a memory leak after a memory allocation error 864057f47464Smrg 864157f47464Smrg The NEWTABLE macro missed freeing its allocated memory on subsequent 864257f47464Smrg memory allocation errors. Added call to Xfree. 864357f47464Smrg 864457f47464Smrg Variable "table" goes out of scope 864557f47464Smrg 864657f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 864757f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 864857f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 864957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 865057f47464Smrg 865157f47464Smrgcommit 7110ac653349a23c80c365f11f6270dc27c8975a 865257f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 865357f47464SmrgDate: Mon Jan 31 14:02:03 2011 +0200 865457f47464Smrg 865557f47464Smrg ImUtil: Handle a memory leak in one early return branch 865657f47464Smrg 865757f47464Smrg Fixed memory leak by adding Xfree for image 865857f47464Smrg 865957f47464Smrg Variable "image" goes out of scope 866057f47464Smrg 866157f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 866257f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 866357f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 866457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 866557f47464Smrg 866657f47464Smrgcommit d695f5da9f5b778e54b6987d9177048e32818c4d 866757f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 866857f47464SmrgDate: Mon Jan 31 14:02:01 2011 +0200 866957f47464Smrg 867057f47464Smrg ximcp/imRm: Handle leaking colormap_ret 867157f47464Smrg 867257f47464Smrg Fixed memory leak by adding Xfree for colormap_ret 867357f47464Smrg 867457f47464Smrg Variable "colormap_ret" goes out of scope 867557f47464Smrg 867657f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 867757f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 867857f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 867957f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 868057f47464Smrg 868157f47464Smrgcommit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7 868257f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 868357f47464SmrgDate: Mon Jan 31 14:01:59 2011 +0200 868457f47464Smrg 868557f47464Smrg ximcp/imRmAttr: Handle leaking missing_list 868657f47464Smrg 868757f47464Smrg Fixed memory leak by adding Xfree and initializing missing_list with NULL 868857f47464Smrg 868957f47464Smrg Variable "missing_list" goes out of scope 869057f47464Smrg 869157f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 869257f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 869357f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 869457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 869557f47464Smrg 869657f47464Smrgcommit 3183269e0979c9dbce9d55d9e03937897dc9fb3b 869757f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 869857f47464SmrgDate: Mon Jan 31 14:01:58 2011 +0200 869957f47464Smrg 870057f47464Smrg ximcp/imRmAttr: Handle leaking colormap_ret 870157f47464Smrg 870257f47464Smrg XFree colormap_ret and initialize it when appropriate. 870357f47464Smrg 870457f47464Smrg Variable "colormap_ret" goes out of scope 870557f47464Smrg 870657f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 870757f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 870857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 870957f47464Smrg 871057f47464Smrgcommit f66a032a937030f2d9baa81744d36dc585bb085c 871157f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 871257f47464SmrgDate: Mon Jan 31 14:01:56 2011 +0200 871357f47464Smrg 871457f47464Smrg xlibi18n/lcGeneric: Initialize uninitialized local variable 871557f47464Smrg 871657f47464Smrg Using uninitialized value "new" 871757f47464Smrg 871857f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 871957f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 872057f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 872157f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 872257f47464Smrg 872357f47464Smrgcommit d0266e06d38110ec908ca28379014eff743630b7 872457f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 872557f47464SmrgDate: Mon Jan 31 14:01:54 2011 +0200 872657f47464Smrg 872757f47464Smrg xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions) 872857f47464Smrg 872957f47464Smrg Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used 873057f47464Smrg 873157f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 873257f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 873357f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 873457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 873557f47464Smrg 873657f47464Smrgcommit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf 873757f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 873857f47464SmrgDate: Tue Feb 1 12:30:56 2011 +0200 873957f47464Smrg 874057f47464Smrg XDefaultOMIF.c: Fix memory leaks in get_font_name 874157f47464Smrg 874257f47464Smrg Instead of copying the value returned by get_prop_name and then releasing it, 874357f47464Smrg directly use the return value of get_prop_name, which allocates memory for the 874457f47464Smrg name. 874557f47464Smrg 874657f47464Smrg If get_prop_name returns NULL, continue on to XFreeFont to release the font 874757f47464Smrg before returning the NULL via the normal function return. 874857f47464Smrg 874957f47464Smrg Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> 875057f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 875157f47464Smrg 875257f47464Smrgcommit 95796351435d81eaef8166d49ba3a6e7b633d70a 875357f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 875457f47464SmrgDate: Mon Jan 31 14:50:19 2011 -0500 875557f47464Smrg 875657f47464Smrg config: comment, minor upgrade, quote and layout configure.ac 875757f47464Smrg 875857f47464Smrg Group statements per section as per Autoconf standard layout 875957f47464Smrg Quote statements where appropriate. 876057f47464Smrg Autoconf recommends not using dnl instead of # for comments 876157f47464Smrg 876257f47464Smrg Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. 876357f47464Smrg Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS 876457f47464Smrg 876557f47464Smrg This helps automated maintenance and release activities. 876657f47464Smrg Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 876757f47464Smrg 876857f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 876957f47464Smrg 877057f47464Smrgcommit e994ab227ed28655565c3193e63733630105e7f9 877157f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 877257f47464SmrgDate: Tue Jan 18 12:49:48 2011 +0200 877357f47464Smrg 877457f47464Smrg Comparing array against NULL is not useful "&xkb->server->vmods != NULL" 877557f47464Smrg 877657f47464Smrg Removed superfluous comparison. 877757f47464Smrg 877857f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 877957f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 878057f47464Smrg 878157f47464Smrgcommit 4115f051e62f9b098efce691e070d44f09f30f1c 878257f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 878357f47464SmrgDate: Wed Jan 12 15:51:11 2011 +0200 878457f47464Smrg 878557f47464Smrg Variable "entry" tracked as NULL was dereferenced. 878657f47464Smrg 878757f47464Smrg Check entry for non-nullness before dereferencing it 878857f47464Smrg 878957f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 879057f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 879157f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 879257f47464Smrg 879357f47464Smrgcommit 0edb76d1d5fdca5a2543332699be2e72386dab24 879457f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 879557f47464SmrgDate: Thu Jan 27 09:54:00 2011 +0200 879657f47464Smrg 879757f47464Smrg Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.) 879857f47464Smrg 879957f47464Smrg If _XkbGetReadBufferPtr returns NULL, goto BAILOUT 880057f47464Smrg 880157f47464Smrg Reviewed-by: Dirk Wallenstein <halsmit@t-online.de> 880257f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 880357f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 880457f47464Smrg 880557f47464Smrgcommit 59da8a211ef723909d0530c0331d541db8e63378 880657f47464SmrgAuthor: Erkki Seppälä <erkki.seppala@vincit.fi> 880757f47464SmrgDate: Mon Jan 10 16:17:47 2011 +0200 880857f47464Smrg 880957f47464Smrg Using freed pointer "e" 881057f47464Smrg 881157f47464Smrg Reordered code to first to do the comparison and then to release data 881257f47464Smrg 881357f47464Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 881457f47464Smrg Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> 881557f47464Smrg Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> 881657f47464Smrg 881757f47464Smrgcommit 0f11c229f7099f7c5aeed4691b358dca151dac7d 881857f47464SmrgAuthor: Matt Dew <marcoz@osource.org> 881957f47464SmrgDate: Thu Jan 27 00:31:23 2011 -0700 882057f47464Smrg 882157f47464Smrg Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens. 882257f47464Smrg 882357f47464Smrg Signed-off-by: Matt Dew <marcoz@osource.org> 882457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 882557f47464Smrg 882657f47464Smrgcommit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322 882757f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 882857f47464SmrgDate: Fri Jan 28 16:07:07 2011 -0500 882957f47464Smrg 883057f47464Smrg config: replace deprecated AC_HELP_STRING with AS_HELP_STRING 883157f47464Smrg 883257f47464Smrg This silences an Automake warning. 883357f47464Smrg 883457f47464Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 883557f47464Smrg 883657f47464Smrgcommit 8dac08c7515cb6f8a8f4d0a721713697eae755d8 883757f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 883857f47464SmrgDate: Fri Jan 28 14:59:04 2011 -0500 883957f47464Smrg 884057f47464Smrg config: remove unrequired AC_HEADER_STDC 884157f47464Smrg 884257f47464Smrg Autoconf says: 884357f47464Smrg "This macro is obsolescent, as current systems have conforming 884457f47464Smrg header files. New programs need not use this macro". 884557f47464Smrg 884657f47464Smrgcommit d4483375e37a72631d5821413cb75a423e990ffe 884757f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 884857f47464SmrgDate: Tue Jan 18 19:37:02 2011 -0800 884957f47464Smrg 885057f47464Smrg config: Use correct AC_CONFIG_HEADERS macro 885157f47464Smrg 885257f47464Smrg Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER 885357f47464Smrg 885457f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 885557f47464Smrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 885657f47464Smrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 885757f47464Smrg 885857f47464Smrgcommit c6405fe931f313a0d159bdad00244fc8aae12468 885957f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 886057f47464SmrgDate: Sun Jan 16 11:55:23 2011 -0800 886157f47464Smrg 886257f47464Smrg config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 886357f47464Smrg 886457f47464Smrg XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 886557f47464Smrg AC_PROG_C_C99. This sets gcc with -std=gnu99. 886657f47464Smrg If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 886757f47464Smrg 886857f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 886957f47464Smrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 887057f47464Smrg 887157f47464Smrgcommit 17aa1f2305da0952ad594c7329d08aba21f13ac8 887257f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 887357f47464SmrgDate: Sun Jan 16 11:40:59 2011 -0800 887457f47464Smrg 887557f47464Smrg Update to xf86bigfontproto >= 1.2.0 header name 887657f47464Smrg 887757f47464Smrg Clears compile-time warning of: 887857f47464Smrg "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future." 887957f47464Smrg "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines." 888057f47464Smrg 888157f47464Smrg Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not 888257f47464Smrg passed to configure. 888357f47464Smrg 888457f47464Smrg Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS 888557f47464Smrg that PKG_CHECK_MODULES does automatically 888657f47464Smrg 888757f47464Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 888857f47464Smrg Reviewed-by: Julien Cristau <jcristau@debian.org> 888957f47464Smrg 8890e9fcaa8aSmrgcommit a9228fcc676aacf9a760dd94891c89f9bc82b20d 8891e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8892e9fcaa8aSmrgDate: Tue Jan 11 17:55:22 2011 -0800 8893e9fcaa8aSmrg 8894e9fcaa8aSmrg libX11 1.4.1 8895e9fcaa8aSmrg 8896e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8897e9fcaa8aSmrg 8898e9fcaa8aSmrgcommit 92fa96451af37a7a0f2592de07643fdaed7a9efd 8899e9fcaa8aSmrgAuthor: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 8900e9fcaa8aSmrgDate: Mon Jan 3 12:25:28 2011 -0500 8901e9fcaa8aSmrg 8902e9fcaa8aSmrg Initialize event type 8903e9fcaa8aSmrg 8904e9fcaa8aSmrg If we receive unsupported event closing connection triggers valgrind 8905e9fcaa8aSmrg error. 8906e9fcaa8aSmrg 8907e9fcaa8aSmrg ==12017== Conditional jump or move depends on uninitialised value(s) 8908e9fcaa8aSmrg ==12017== at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607) 8909e9fcaa8aSmrg ==12017== by 0x486857B: XCloseDisplay (ClDisplay.c:72) 8910e9fcaa8aSmrg *snip* 8911e9fcaa8aSmrg ==12017== Uninitialised value was created by a heap allocation 8912e9fcaa8aSmrg ==12017== at 0x4834C48: malloc (vg_replace_malloc.c:236) 8913e9fcaa8aSmrg ==12017== by 0x4894147: _XEnq (XlibInt.c:877) 8914e9fcaa8aSmrg ==12017== by 0x4891BF3: handle_response (xcb_io.c:335) 8915e9fcaa8aSmrg ==12017== by 0x4892263: _XReply (xcb_io.c:626) 8916e9fcaa8aSmrg *snip* 8917e9fcaa8aSmrg 8918e9fcaa8aSmrg Problem is that XFreeDisplaySturture is checking for qelt->event.type == 8919e9fcaa8aSmrg GenericEvent while _XUnknownWireEvent doesn't store the type. 8920e9fcaa8aSmrg 8921e9fcaa8aSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 8922e9fcaa8aSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 8923e9fcaa8aSmrg Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com> 8924e9fcaa8aSmrg 8925e9fcaa8aSmrgcommit fa9747b9d4443eef9b1687b8b1208801f5c585da 8926e9fcaa8aSmrgAuthor: Fernando Carrijo <fcarrijo.lists@gmail.com> 8927e9fcaa8aSmrgDate: Tue Dec 28 16:18:57 2010 -0500 8928e9fcaa8aSmrg 8929e9fcaa8aSmrg specs: convert images from gif to svg format. 8930e9fcaa8aSmrg 8931e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8932e9fcaa8aSmrg 8933e9fcaa8aSmrgcommit 0012e2a4eaddc0840617b4758931ad976ca2eb7c 8934e9fcaa8aSmrgAuthor: Philipp Reh <sefi@s-e-f-i.de> 8935e9fcaa8aSmrgDate: Wed Dec 22 15:14:05 2010 +0000 8936e9fcaa8aSmrg 8937e9fcaa8aSmrg Events: Store event cookie when dequeuing event 8938e9fcaa8aSmrg 8939e9fcaa8aSmrg When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent, 8940e9fcaa8aSmrg make sure to store the corresponding cookie too. 8941e9fcaa8aSmrg 8942e9fcaa8aSmrg Signed-off-by: Philipp Reh <sefi@s-e-f-i.de> 8943e9fcaa8aSmrg Reviewed-by: Daniel Stone <daniel@fooishbar.org> 8944e9fcaa8aSmrg 8945e9fcaa8aSmrgcommit d2714d65e85b44abedf5f82e1a31506dba397ef2 8946e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8947e9fcaa8aSmrgDate: Tue Dec 21 18:47:16 2010 -0800 8948e9fcaa8aSmrg 8949e9fcaa8aSmrg Revert "Mark atom names argument to XInternAtoms as const" 8950e9fcaa8aSmrg 8951e9fcaa8aSmrg This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5. 8952e9fcaa8aSmrg 8953e9fcaa8aSmrg The constification of a pointer to a pointer caused unexpected issues, 8954e9fcaa8aSmrg and xorg-devel was unable to come up with a clean, safe, reasonable way 8955e9fcaa8aSmrg to handle them, so we're chalking this up for now as yet another mistake 8956e9fcaa8aSmrg in the Xlib API definition we'll be living with. 8957e9fcaa8aSmrg 8958e9fcaa8aSmrg See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details. 8959e9fcaa8aSmrg 8960e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8961e9fcaa8aSmrg 8962e9fcaa8aSmrgcommit 6459f9a48a82de3bc0235bd36acab2df11e436d5 8963e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8964e9fcaa8aSmrgDate: Mon Dec 20 20:54:07 2010 -0800 8965e9fcaa8aSmrg 8966e9fcaa8aSmrg specs/XKB: make acknowlegement section <preface> instead of <chapter> 8967e9fcaa8aSmrg 8968e9fcaa8aSmrg Fixes numbering of actual chapters to match their filenames and to 8969e9fcaa8aSmrg make the table/figure numbering match the references in the text. 8970e9fcaa8aSmrg 8971e9fcaa8aSmrg Reported-by: jelmd on freenode irc 8972e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8973e9fcaa8aSmrg 8974e9fcaa8aSmrgcommit 42c653d5413fc5870486a9cf51dd28d1e88f7c69 8975e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8976e9fcaa8aSmrgDate: Sun Dec 19 23:53:02 2010 -0800 8977e9fcaa8aSmrg 8978e9fcaa8aSmrg Add XKBlib spec images to dist_spec_DATA for distribution & installation 8979e9fcaa8aSmrg 8980e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 8981e9fcaa8aSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 8982e9fcaa8aSmrg 8983e9fcaa8aSmrgcommit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d 8984e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org> 8985e9fcaa8aSmrgDate: Tue Nov 30 10:52:07 2010 -0500 8986e9fcaa8aSmrg 8987e9fcaa8aSmrg specs: convert XKBlib spec from Framemaker to DocBook.xml 8988e9fcaa8aSmrg 8989e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 8990e9fcaa8aSmrg 8991e9fcaa8aSmrgcommit c8701115462b482d99ecff24d9de0f2806084ba5 8992e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8993e9fcaa8aSmrgDate: Sun Nov 21 20:49:05 2010 -0800 8994e9fcaa8aSmrg 8995e9fcaa8aSmrg Mark atom names argument to XInternAtoms as const 8996e9fcaa8aSmrg 8997e9fcaa8aSmrg Updates code & docs for XInternAtoms. 8998e9fcaa8aSmrg 8999e9fcaa8aSmrg The single atom name argument to XInternAtom was already const char * 9000e9fcaa8aSmrg in the code, but not the docs, so updated it in the docs too. 9001e9fcaa8aSmrg 9002e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9003e9fcaa8aSmrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 9004e9fcaa8aSmrg 9005e9fcaa8aSmrgcommit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d 9006e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9007e9fcaa8aSmrgDate: Sun Nov 21 14:04:32 2010 -0800 9008e9fcaa8aSmrg 9009e9fcaa8aSmrg libX11 1.4.0 9010e9fcaa8aSmrg 9011e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9012e9fcaa8aSmrg 9013e9fcaa8aSmrgcommit 18d3c3e9de19e936281b111d5a82acfb3a3f552e 9014e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 9015e9fcaa8aSmrgDate: Sat Nov 6 21:58:10 2010 +0000 9016e9fcaa8aSmrg 9017e9fcaa8aSmrg config: Check host string when deciding architecture to build for 9018e9fcaa8aSmrg 9019e9fcaa8aSmrg When checking for the OS/2 platform, $target_os is used. However, unless 9020e9fcaa8aSmrg building a cross compiler, the $host* strings contain the platform 9021e9fcaa8aSmrg details for the build system. See: 9022e9fcaa8aSmrg 9023e9fcaa8aSmrg http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation 9024e9fcaa8aSmrg 9025e9fcaa8aSmrg $host_os is already being used to determine the transport and threading 9026e9fcaa8aSmrg options. 9027e9fcaa8aSmrg 9028e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 9029e9fcaa8aSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 9030e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9031e9fcaa8aSmrg 9032e9fcaa8aSmrgcommit affc2488a7f2660a74dc8354fc3e0bff2c4f879c 9033e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 9034e9fcaa8aSmrgDate: Sat Nov 6 21:58:09 2010 +0000 9035e9fcaa8aSmrg 9036e9fcaa8aSmrg config: Fix architecture check for OS/2 to skip nios2 cpu 9037e9fcaa8aSmrg 9038e9fcaa8aSmrg The OS/2 platform requires some utility functions as well as having a 9039e9fcaa8aSmrg non-32 bit wchar_t. Fix the configure check so that it doesn't also 9040e9fcaa8aSmrg affect the nios2 cpu, which wouldn't influence these operating system 9041e9fcaa8aSmrg issues. 9042e9fcaa8aSmrg 9043e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 9044e9fcaa8aSmrg Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> 9045e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9046e9fcaa8aSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 9047e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9048e9fcaa8aSmrg 9049e9fcaa8aSmrgcommit 8cbca8a10761d1ea75a75bafa647632d6c0dac71 9050e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9051e9fcaa8aSmrgDate: Tue Nov 9 13:04:44 2010 -0500 9052e9fcaa8aSmrg 9053e9fcaa8aSmrg config: HTML file generation: use the installed copy of xorg.css 9054e9fcaa8aSmrg 9055e9fcaa8aSmrg Currenlty the xorg.css file is copied in each location 9056e9fcaa8aSmrg where a DocBook/XML file resides. This produces about 9057e9fcaa8aSmrg 70 copies in the $(docdir) install tree. 9058e9fcaa8aSmrg 9059e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9060e9fcaa8aSmrg 9061e9fcaa8aSmrgcommit 3e8907305e1818369aef5a5c0da61f09e20de4f8 9062e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9063e9fcaa8aSmrgDate: Fri Oct 29 22:02:10 2010 -0700 9064e9fcaa8aSmrg 9065e9fcaa8aSmrg libX11 1.3.99.903 (1.4.0 RC3) 9066e9fcaa8aSmrg 9067e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9068e9fcaa8aSmrg 9069e9fcaa8aSmrgcommit 5d245d8013289b13e0c42100951b26166c7fada4 9070e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9071e9fcaa8aSmrgDate: Fri Oct 29 22:01:39 2010 -0700 9072e9fcaa8aSmrg 9073e9fcaa8aSmrg Require xorg-macros 1.11 now that it is released 9074e9fcaa8aSmrg 9075e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9076e9fcaa8aSmrg 9077e9fcaa8aSmrgcommit 1ec89689fc771f116a6165226b9e076f54254a40 9078e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 9079e9fcaa8aSmrgDate: Fri Oct 22 19:09:07 2010 -0700 9080e9fcaa8aSmrg 9081e9fcaa8aSmrg docs: Disable fop documentation by default 9082e9fcaa8aSmrg 9083e9fcaa8aSmrg fop is used to generate the pdf and ps formats of the documentation. 9084e9fcaa8aSmrg This can significantly slow down the build, especially when creating all 9085e9fcaa8aSmrg the compose key charts. Since few people probably want the full set of 9086e9fcaa8aSmrg doc formats, set the default to 'no'. 9087e9fcaa8aSmrg 9088e9fcaa8aSmrg The default parameter for XORG_WITH_FOP is only available in recent 9089e9fcaa8aSmrg macros. Users generating configure from older macros will just get 9090e9fcaa8aSmrg 'auto' as the default. 9091e9fcaa8aSmrg 9092e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 9093e9fcaa8aSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9094e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9095e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9096e9fcaa8aSmrg 9097e9fcaa8aSmrgcommit 03877bda911b72ac60a7144d6eced7d5be4b4d72 9098e9fcaa8aSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 9099e9fcaa8aSmrgDate: Wed Apr 14 13:38:18 2010 +0100 9100e9fcaa8aSmrg 9101e9fcaa8aSmrg Add C.UTF-8 and C.ASCII locale aliases 9102e9fcaa8aSmrg 9103e9fcaa8aSmrg Add C.UTF-8 locale as an alias for en_US.UTF-8 9104e9fcaa8aSmrg Add C.ASCII locale as an alias for C 9105e9fcaa8aSmrg 9106e9fcaa8aSmrg (C.UTF-8 is the default locale for cygwin. It also exists in debian, 9107e9fcaa8aSmrg although I don't think it's intended for use by humans.) 9108e9fcaa8aSmrg 9109e9fcaa8aSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 9110e9fcaa8aSmrg Acked-by: Julien Cristau <jcristau@debian.org> 9111e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 9112e9fcaa8aSmrg 9113e9fcaa8aSmrgcommit 81d1d9a6bdca779a44f931730b866eea75777c00 9114e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com> 9115e9fcaa8aSmrgDate: Sat Oct 9 16:00:47 2010 -0700 9116e9fcaa8aSmrg 9117e9fcaa8aSmrg docs: Remove directory prerequisites from make rules 9118e9fcaa8aSmrg 9119e9fcaa8aSmrg Make expects prerequisites to be files with valid timestamps, and 9120e9fcaa8aSmrg directories are treated as always being out of date. Thus, any targets 9121e9fcaa8aSmrg depending on directories will always be rebuilt. 9122e9fcaa8aSmrg 9123e9fcaa8aSmrg Instead, the doc rules are changed to always create the target's leading 9124e9fcaa8aSmrg directory. This should prevent the documentation from being rebuilt when 9125e9fcaa8aSmrg "make install" is run. 9126e9fcaa8aSmrg 9127e9fcaa8aSmrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 9128e9fcaa8aSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9129e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9130e9fcaa8aSmrg 9131e9fcaa8aSmrgcommit d0cbf388919364fe6b5b9127f36426eb744090a0 9132e9fcaa8aSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 9133e9fcaa8aSmrgDate: Sun Sep 26 21:21:16 2010 -0700 9134e9fcaa8aSmrg 9135e9fcaa8aSmrg Add an "X11_" string to header guards to avoid possible collision 9136e9fcaa8aSmrg 9137e9fcaa8aSmrg This addresses a build failure which can result from <X11/Xlocale.h> and 9138e9fcaa8aSmrg <xlocale.h> being included in the same code since they both used the same 9139e9fcaa8aSmrg _XLOCALE_H_ protection. 9140e9fcaa8aSmrg 9141e9fcaa8aSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9142e9fcaa8aSmrg 9143e9fcaa8aSmrgcommit b51ac675f44f5ce1a28c5734bf3c26983f8b4192 9144e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9145e9fcaa8aSmrgDate: Tue Sep 21 19:53:03 2010 -0700 9146e9fcaa8aSmrg 9147e9fcaa8aSmrg libX11 1.3.99.902 (1.4.0 RC2) 9148e9fcaa8aSmrg 9149e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9150e9fcaa8aSmrg 9151e9fcaa8aSmrgcommit 986bb6d1d54368fe91e3ea24f518d43ce6179782 9152e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9153e9fcaa8aSmrgDate: Tue Sep 14 00:10:31 2010 -0700 9154e9fcaa8aSmrg 9155e9fcaa8aSmrg Bug 19379 - Provide docs with overview of all compose key combinations 9156e9fcaa8aSmrg 9157e9fcaa8aSmrg Adds compose-chart.pl to generate DocBook/XML documents listing compose 9158e9fcaa8aSmrg keys, and Makefile rules to generate HTML & PDF output from them if xmlto 9159e9fcaa8aSmrg is present. 9160e9fcaa8aSmrg 9161e9fcaa8aSmrg https://bugs.freedesktop.org/show_bug.cgi?id=19379 9162e9fcaa8aSmrg 9163e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9164e9fcaa8aSmrg Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 9165e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 9166e9fcaa8aSmrg Tested-by: Gaetan Nadon <memsize@videotron.ca> 9167e9fcaa8aSmrg 9168e9fcaa8aSmrgcommit 3eb064071695ebf0f371163ed818a428dfeba8e6 9169e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9170e9fcaa8aSmrgDate: Sat Sep 11 00:49:21 2010 -0700 9171e9fcaa8aSmrg 9172e9fcaa8aSmrg Make locale data build non-recursive / parallelizable 9173e9fcaa8aSmrg 9174e9fcaa8aSmrg On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time, 9175e9fcaa8aSmrg plus this simplifies the next set of changes. 9176e9fcaa8aSmrg 9177e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9178e9fcaa8aSmrg Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 9179e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 9180e9fcaa8aSmrg Tested-by: Gaetan Nadon <memsize@videotron.ca> 9181e9fcaa8aSmrg 9182e9fcaa8aSmrgcommit a3fc78ac352e5a70a958996ef6aec50f653974d1 9183e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9184e9fcaa8aSmrgDate: Fri Sep 17 17:38:11 2010 -0400 9185e9fcaa8aSmrg 9186e9fcaa8aSmrg config: remove man page suffix from bottom summary 9187e9fcaa8aSmrg 9188e9fcaa8aSmrg The man page suffix is the same for all libraries on a given 9189e9fcaa8aSmrg platform and is not configurable. It should have been removed 9190e9fcaa8aSmrg in commit 09edc6de6. 9191e9fcaa8aSmrg 9192e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9193e9fcaa8aSmrg 9194e9fcaa8aSmrgcommit a52b0068f36c739eb7e426214cd72a8d9bb776ca 9195e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9196e9fcaa8aSmrgDate: Fri Sep 17 17:29:30 2010 -0400 9197e9fcaa8aSmrg 9198e9fcaa8aSmrg config: remove unhelpful comment in .gitignore 9199e9fcaa8aSmrg 9200e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9201e9fcaa8aSmrg 9202e9fcaa8aSmrgcommit 10dd881e7818be9074da4ab3a68577adcdaf71d2 9203e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com> 9204e9fcaa8aSmrgDate: Wed Sep 8 10:44:23 2010 -0400 9205e9fcaa8aSmrg 9206e9fcaa8aSmrg Zero buffer data in BufAlloc() 9207e9fcaa8aSmrg 9208e9fcaa8aSmrg Inspired by a pattern in NoMachine's NX. Consistently zeroed buffers 9209e9fcaa8aSmrg compress better with ssh and friends. Note that you'll need to rebuild 9210e9fcaa8aSmrg all your protocol libraries to take advantage of this. 9211e9fcaa8aSmrg 9212e9fcaa8aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 9213e9fcaa8aSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9214e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9215e9fcaa8aSmrg 9216e9fcaa8aSmrgcommit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b 9217e9fcaa8aSmrgAuthor: James Cloos <cloos@jhcloos.com> 9218e9fcaa8aSmrgDate: Sun Sep 12 17:00:54 2010 -0400 9219e9fcaa8aSmrg 9220e9fcaa8aSmrg Revert “Dolt-ify" 9221e9fcaa8aSmrg 9222e9fcaa8aSmrg Libtool’s is now sufficiently fast that DOLT is no longer 9223e9fcaa8aSmrg worth the bother, even on those few systems where is works. 9224e9fcaa8aSmrg 9225e9fcaa8aSmrg This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 9226e9fcaa8aSmrg and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c. 9227e9fcaa8aSmrg 9228e9fcaa8aSmrg It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214 9229e9fcaa8aSmrg which moved dolt from configure.ac to m4/dolt.m4. 9230e9fcaa8aSmrg 9231e9fcaa8aSmrg And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188 9232e9fcaa8aSmrg 9233e9fcaa8aSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 9234e9fcaa8aSmrg 9235e9fcaa8aSmrgcommit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8 9236e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9237e9fcaa8aSmrgDate: Thu Sep 9 19:24:29 2010 -0700 9238e9fcaa8aSmrg 9239e9fcaa8aSmrg XIM spec title page minor formatting cleanup 9240e9fcaa8aSmrg 9241e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9242e9fcaa8aSmrg 9243e9fcaa8aSmrgcommit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752 9244e9fcaa8aSmrgAuthor: Jens Petersen <petersen@redhat.com> 9245e9fcaa8aSmrgDate: Mon Aug 23 18:08:10 2010 -0700 9246e9fcaa8aSmrg 9247e9fcaa8aSmrg Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8 9248e9fcaa8aSmrg 9249e9fcaa8aSmrg <https://bugs.freedesktop.org/show_bug.cgi?id=29773> 9250e9fcaa8aSmrg 9251e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9252e9fcaa8aSmrg 9253e9fcaa8aSmrgcommit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b 9254e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9255e9fcaa8aSmrgDate: Fri Sep 3 23:11:53 2010 -0700 9256e9fcaa8aSmrg 9257e9fcaa8aSmrg Sun's copyrights are now owned by Oracle 9258e9fcaa8aSmrg 9259e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9260e9fcaa8aSmrg 9261e9fcaa8aSmrgcommit 7742bf62b1fa652da4270587e280249945367cae 9262e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9263e9fcaa8aSmrgDate: Fri Sep 3 18:31:44 2010 -0700 9264e9fcaa8aSmrg 9265e9fcaa8aSmrg libX11 1.3.99.901 (1.4.0 RC1) 9266e9fcaa8aSmrg 9267e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9268e9fcaa8aSmrg 9269e9fcaa8aSmrgcommit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586 9270e9fcaa8aSmrgAuthor: Jeroen Hoek <mail@jeroenhoek.nl> 9271e9fcaa8aSmrgDate: Sun Aug 29 09:47:06 2010 -0400 9272e9fcaa8aSmrg 9273e9fcaa8aSmrg libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S 9274e9fcaa8aSmrg 9275e9fcaa8aSmrg Add LATIN CAPITAL LETTER SHARP S 9276e9fcaa8aSmrg (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale) 9277e9fcaa8aSmrg 9278e9fcaa8aSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 9279e9fcaa8aSmrg 9280e9fcaa8aSmrgcommit 09edc6de6619a2eabda3b808ebff4165550664f1 9281e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9282e9fcaa8aSmrgDate: Fri Aug 13 14:21:08 2010 -0400 9283e9fcaa8aSmrg 9284e9fcaa8aSmrg config: remove man-pages configuration option 9285e9fcaa8aSmrg 9286e9fcaa8aSmrg This option was added in commit 6e752ea120 with no explanation. 9287e9fcaa8aSmrg The section number is provoded by XORG_MANPAGE_SECTIONS 9288e9fcaa8aSmrg There is no case where libX11 should be different than other libs 9289e9fcaa8aSmrg The option was also used to disable building of the man pages, 9290e9fcaa8aSmrg which build in 14 secs. No indication this is required. 9291e9fcaa8aSmrg 9292e9fcaa8aSmrg If there is a requirement from system builders to disable building 9293e9fcaa8aSmrg of man pages, it could be done consistently for all modules. 9294e9fcaa8aSmrg 9295e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9296e9fcaa8aSmrg 9297e9fcaa8aSmrgcommit f92e754297ec5fdb81068b56a4435026666224fa 9298e9fcaa8aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 9299e9fcaa8aSmrgDate: Sun Aug 15 21:51:38 2010 -0700 9300e9fcaa8aSmrg 9301e9fcaa8aSmrg XOpenDisplay: save the correct display_name value 9302e9fcaa8aSmrg 9303e9fcaa8aSmrg The X Test Suite's XDisplayString test checks the invariant 9304e9fcaa8aSmrg XDisplayString(XOpenDisplay(str)) == str. The Xlib XOpenDisplay violates this 9305e9fcaa8aSmrg invariant by expanding str to the canonical form "host:display.scrn" (unless 9306e9fcaa8aSmrg HAVE_LAUNCHD is set and it starts with "/tmp/launch"). E.g., this expands ":1" 9307e9fcaa8aSmrg to ":1.0": 9308e9fcaa8aSmrg 9309e9fcaa8aSmrg 400|26 1 1 19:26:41|IC Start 9310e9fcaa8aSmrg 200|26 1 19:26:41|TP Start 9311e9fcaa8aSmrg 520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1 9312e9fcaa8aSmrg 520|26 1 00032625 1 2|Assertion XDisplayString-1.(A) 9313e9fcaa8aSmrg 520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used 9314e9fcaa8aSmrg 520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the 9315e9fcaa8aSmrg 520|26 1 00032625 1 5|value used as the display argument. 9316e9fcaa8aSmrg 520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay. 9317e9fcaa8aSmrg 520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString. 9318e9fcaa8aSmrg 520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay. 9319e9fcaa8aSmrg 520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay. 9320e9fcaa8aSmrg 520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1". 9321e9fcaa8aSmrg 220|26 1 1 19:26:41|FAIL 9322e9fcaa8aSmrg 410|26 1 1 19:26:41|IC End 9323e9fcaa8aSmrg 9324e9fcaa8aSmrg Fix this by deleting all of the code to construct the canonical path and just 9325e9fcaa8aSmrg stashing a copy of the original display_name in dpy->display_name. 9326e9fcaa8aSmrg 9327e9fcaa8aSmrg Signed-off-by: Aaron Plattner <aplattner@nvidia.com> 9328e9fcaa8aSmrg Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> 9329e9fcaa8aSmrg 9330e9fcaa8aSmrgcommit 1dc401f678469d0235e6d0b28eb4356f03327c9f 9331e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9332e9fcaa8aSmrgDate: Fri Aug 13 13:06:51 2010 -0400 9333e9fcaa8aSmrg 9334e9fcaa8aSmrg man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX 9335e9fcaa8aSmrg 9336e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9337e9fcaa8aSmrg 9338e9fcaa8aSmrgcommit cbe9eebd11e5ebab4280d25b57b4cd4001241619 9339e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9340e9fcaa8aSmrgDate: Fri Aug 13 11:42:29 2010 -0400 9341e9fcaa8aSmrg 9342e9fcaa8aSmrg man: simplify building of shadow man pages 9343e9fcaa8aSmrg 9344e9fcaa8aSmrg Store the shadow files in git as any other man page. 9345e9fcaa8aSmrg Move man pages to man dir and use the common makefile 9346e9fcaa8aSmrg 9347e9fcaa8aSmrg Local fix in CVS for bug 5628 is not required 9348e9fcaa8aSmrg as the problem has been fixed in 9349e9fcaa8aSmrg util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba 9350e9fcaa8aSmrg 9351e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9352e9fcaa8aSmrg 9353e9fcaa8aSmrgcommit bfd899c9af2318ecbe84cb69007dba4223fdb502 9354e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9355e9fcaa8aSmrgDate: Mon Aug 9 09:39:26 2010 -0400 9356e9fcaa8aSmrg 9357e9fcaa8aSmrg config: reinstate XORG_PROG_RAWCPP erroneoulsy removed 9358e9fcaa8aSmrg 9359e9fcaa8aSmrg in commit 76e07ef6911734eac418e399b114f1b544512736. 9360e9fcaa8aSmrg 9361e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9362e9fcaa8aSmrg 9363e9fcaa8aSmrgcommit 76e07ef6911734eac418e399b114f1b544512736 9364e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9365e9fcaa8aSmrgDate: Fri Aug 6 14:01:51 2010 -0400 9366e9fcaa8aSmrg 9367e9fcaa8aSmrg man: using the C preprocessor is not required for man pages. 9368e9fcaa8aSmrg 9369e9fcaa8aSmrg There were no special symbols needing cpp. 9370e9fcaa8aSmrg Everything can be handled by the default MAN_SUBSTS in util-macros. 9371e9fcaa8aSmrg 9372e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9373e9fcaa8aSmrg 9374e9fcaa8aSmrgcommit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18 9375e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 9376e9fcaa8aSmrgDate: Fri Aug 6 15:51:56 2010 -0700 9377e9fcaa8aSmrg 9378e9fcaa8aSmrg Fix use-after-free in _XReply on X errors. 9379e9fcaa8aSmrg 9380e9fcaa8aSmrg _XReply would always call dequeue_pending_request on errors. When it 9381e9fcaa8aSmrg got an error for the current request, it would call dequeue, then break 9382e9fcaa8aSmrg out of the loop; then, if it had an error in the event queue, it would 9383e9fcaa8aSmrg compare it with the sequence number of the now-freed pending request. 9384e9fcaa8aSmrg _XReply already stored that sequence number in dpy->last_request_read 9385e9fcaa8aSmrg before freeing it, so look at that instead. 9386e9fcaa8aSmrg 9387e9fcaa8aSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412 9388e9fcaa8aSmrg 9389e9fcaa8aSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 9390e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 9391e9fcaa8aSmrg 9392e9fcaa8aSmrgcommit 9fa146b30046396b70d64986e50d6617b3a8ac48 9393e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9394e9fcaa8aSmrgDate: Sat Jul 31 16:15:35 2010 -0400 9395e9fcaa8aSmrg 9396e9fcaa8aSmrg specs: xsl stylesheet requires abs path to images 9397e9fcaa8aSmrg 9398e9fcaa8aSmrg Using abs_builddir requires automake 1.10 or later. 9399e9fcaa8aSmrg 9400e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9401e9fcaa8aSmrg 9402e9fcaa8aSmrgcommit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a 9403e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9404e9fcaa8aSmrgDate: Sun Aug 1 14:13:07 2010 -0400 9405e9fcaa8aSmrg 9406e9fcaa8aSmrg specs: update .gitignore now that all groff generated files are gone 9407e9fcaa8aSmrg 9408e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9409e9fcaa8aSmrg 9410e9fcaa8aSmrgcommit f70527f05677aaf6a493ba42d2d95f738aaebafa 9411e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com> 9412e9fcaa8aSmrgDate: Thu Jul 29 11:11:21 2010 -0400 9413e9fcaa8aSmrg 9414e9fcaa8aSmrg nls: Switch one of the interrobang sequences to gnaborretni 9415e9fcaa8aSmrg 9416e9fcaa8aSmrg Since gnaborretni is primarily used in LTR locales, the ? part of the 9417e9fcaa8aSmrg sequence reflects the position of the bulge in the ?. When scanning an 9418e9fcaa8aSmrg inverted interrobang left-to-right, you see the bulge first, so the 9419e9fcaa8aSmrg compose sequence ?! is used; upright interrobang shows the bulge 9420e9fcaa8aSmrg last, so it's !?. 9421e9fcaa8aSmrg 9422e9fcaa8aSmrg This is a change in behaviour, but I was unable to come up with anything 9423e9fcaa8aSmrg better. ??!! or !!?? would match the patterns for ¿ and ¡, but they 9424e9fcaa8aSmrg would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit 9425e9fcaa8aSmrg Q. Likewise ?!?! and !?!? would delay showing the interrobang itself. 9426e9fcaa8aSmrg ~!? and ~?! were considered but are arguably less intuitive. 9427e9fcaa8aSmrg 9428e9fcaa8aSmrg Reviewed-by: James Cloos <cloos@jhcloos.com> 9429e9fcaa8aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 9430e9fcaa8aSmrg 9431e9fcaa8aSmrgcommit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7 9432e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9433e9fcaa8aSmrgDate: Wed Jul 28 10:27:39 2010 -0400 9434e9fcaa8aSmrg 9435e9fcaa8aSmrg specs: move indexterm from glossdef to glossterm 9436e9fcaa8aSmrg 9437e9fcaa8aSmrg This move fixes a Java class cast exception in the glossary. 9438e9fcaa8aSmrg The problem was introduced in commit 9439e9fcaa8aSmrg 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 9440e9fcaa8aSmrg 9441e9fcaa8aSmrg It may not happen on all versions of the doc toolchain. 9442e9fcaa8aSmrg There is no reason why indexterm cannot appear in glossdef, 9443e9fcaa8aSmrg this is a workaround to an implementation problem found by 9444e9fcaa8aSmrg trial and error. 9445e9fcaa8aSmrg 9446e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9447e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9448e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9449e9fcaa8aSmrg 9450e9fcaa8aSmrgcommit 87a108f3aa565aa803dacb3a53b811f45025b609 9451e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org> 9452e9fcaa8aSmrgDate: Sat Jul 24 14:46:57 2010 -0400 9453e9fcaa8aSmrg 9454e9fcaa8aSmrg specs: replace troff source with docbook-xml source 9455e9fcaa8aSmrg 9456e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9457e9fcaa8aSmrg 9458e9fcaa8aSmrgcommit 8e603413586ff42b1351688f6f99318cbe243bca 9459e9fcaa8aSmrgAuthor: Julien Cristau <jcristau@debian.org> 9460e9fcaa8aSmrgDate: Sat Jul 24 22:13:07 2010 +0200 9461e9fcaa8aSmrg 9462e9fcaa8aSmrg Compose.man: default user compose file is .XCompose, not .Xcompose 9463e9fcaa8aSmrg 9464e9fcaa8aSmrg The path was correct in the DESCRIPTION section, but not in FILES. 9465e9fcaa8aSmrg 9466e9fcaa8aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 9467e9fcaa8aSmrg 9468e9fcaa8aSmrgcommit 554da76ece85d0fc0cada45a86860e69c2107e9a 9469e9fcaa8aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 9470e9fcaa8aSmrgDate: Tue Jul 20 12:34:48 2010 +0100 9471e9fcaa8aSmrg 9472e9fcaa8aSmrg NLS: Add \o/ Compose sequence 9473e9fcaa8aSmrg 9474e9fcaa8aSmrg Unicode is even more pointlessly awesome! Add a binding for Compose-\o/ 9475e9fcaa8aSmrg to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION. 9476e9fcaa8aSmrg 9477e9fcaa8aSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9478e9fcaa8aSmrg 9479e9fcaa8aSmrgcommit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd 948047f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 9481e9fcaa8aSmrgDate: Fri Jul 9 18:13:13 2010 +0100 9482e9fcaa8aSmrg 9483e9fcaa8aSmrg XStringToKeysym: Cope with 0x1234cafe-style input 9484e9fcaa8aSmrg 9485e9fcaa8aSmrg If we get input in the style of 0xdeadbeef, just return that exact 9486e9fcaa8aSmrg keysym. Introduces a dependency on strtoul, which I'm told is OK on all 9487e9fcaa8aSmrg the systems we care about. 9488e9fcaa8aSmrg 9489e9fcaa8aSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9490e9fcaa8aSmrg 9491e9fcaa8aSmrgcommit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a 9492e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9493e9fcaa8aSmrgDate: Mon Jul 19 17:58:27 2010 -0700 9494e9fcaa8aSmrg 9495e9fcaa8aSmrg specs/libX11: Fix column count of Gravity Attributes table 9496e9fcaa8aSmrg 9497e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9498e9fcaa8aSmrg 9499e9fcaa8aSmrgcommit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4 9500e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9501e9fcaa8aSmrgDate: Mon Jul 19 14:43:38 2010 -0700 9502e9fcaa8aSmrg 9503e9fcaa8aSmrg specs/libX11: Convert \- to − and \^ to either   or removed 9504e9fcaa8aSmrg 9505e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9506e9fcaa8aSmrg 9507e9fcaa8aSmrgcommit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9 9508e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9509e9fcaa8aSmrgDate: Mon Jul 19 11:28:50 2010 -0700 951047f86ac1Smrg 9511e9fcaa8aSmrg specs/libX11: Manual cleanup pass over Ch. 1 951247f86ac1Smrg 9513e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 951447f86ac1Smrg 9515e9fcaa8aSmrgcommit 21567992958a6f12b3d0186f2f27a5b2a41b8448 9516e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9517e9fcaa8aSmrgDate: Mon Jul 19 14:51:10 2010 -0700 951847f86ac1Smrg 9519e9fcaa8aSmrg specs/libX11: make sure all files have DOCTYPEs so standard entities work 952047f86ac1Smrg 9521e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9522e9fcaa8aSmrg 9523e9fcaa8aSmrgcommit c944a8521f5760b485192658b921145159cdb439 9524e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9525e9fcaa8aSmrgDate: Sun Jul 18 13:12:20 2010 -0700 9526e9fcaa8aSmrg 9527e9fcaa8aSmrg specs/libX11: Fix up list of header files in Ch.1 & add index entries 9528e9fcaa8aSmrg 9529e9fcaa8aSmrg Combination of manual editing and automatic substitution via: 9530e9fcaa8aSmrg 9531e9fcaa8aSmrg 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 953247f86ac1Smrg 953347f86ac1Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 953447f86ac1Smrg 9535e9fcaa8aSmrgcommit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030 9536e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9537e9fcaa8aSmrgDate: Sun Jul 18 12:47:27 2010 -0700 953847f86ac1Smrg 9539e9fcaa8aSmrg specs/libX11: Add indexterms for headerfiles that .hN used to provide 954047f86ac1Smrg 9541e9fcaa8aSmrg Automatic substitution performed via: 9542e9fcaa8aSmrg 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 954347f86ac1Smrg 9544e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9545e9fcaa8aSmrg 9546e9fcaa8aSmrgcommit d0b0d215cb85da48b323b1392149ce181e7ef5ec 9547e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9548e9fcaa8aSmrgDate: Fri Jul 16 21:15:13 2010 -0700 9549e9fcaa8aSmrg 9550e9fcaa8aSmrg specs/libX11: convert multicolumn lists from tables to <simplelist> 9551e9fcaa8aSmrg 9552e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9553e9fcaa8aSmrg 9554e9fcaa8aSmrgcommit e679f80c6210c0aefe3669f8f536353619097a4b 9555e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9556e9fcaa8aSmrgDate: Fri Jul 16 20:51:52 2010 -0700 9557e9fcaa8aSmrg 9558e9fcaa8aSmrg specs/libX11: Tag WM_* as <property> 9559e9fcaa8aSmrg 9560e9fcaa8aSmrg Mass substitution done by: 9561e9fcaa8aSmrg perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml 9562e9fcaa8aSmrg 9563e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9564e9fcaa8aSmrg 9565e9fcaa8aSmrgcommit c7b7e59b3b22221d0be6286c540001c360308f69 9566e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9567e9fcaa8aSmrgDate: Fri Jul 16 20:41:33 2010 -0700 9568e9fcaa8aSmrg 9569e9fcaa8aSmrg specs/libX11: Convert simpler eqn markup to docbook tags 9570e9fcaa8aSmrg 9571e9fcaa8aSmrg Mostly "sup" to <superscript> 9572e9fcaa8aSmrg 9573e9fcaa8aSmrg There's several more complicated equations that will probably need 9574e9fcaa8aSmrg MathML or SVG to solve. 9575e9fcaa8aSmrg 9576e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9577e9fcaa8aSmrg 9578e9fcaa8aSmrgcommit 897486c54c6a54771867d667441aaf9a4b9c35ca 9579e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9580e9fcaa8aSmrgDate: Fri Jul 16 00:50:39 2010 -0700 9581e9fcaa8aSmrg 9582e9fcaa8aSmrg specs/libX11: App. D: convert literallayouts to synopsis or programlisting 9583e9fcaa8aSmrg 9584e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9585e9fcaa8aSmrg 9586e9fcaa8aSmrgcommit 692906c3b3d8aa8b8927fbc230c3050d633785d2 9587e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9588e9fcaa8aSmrgDate: Fri Jul 16 00:36:43 2010 -0700 9589e9fcaa8aSmrg 9590e9fcaa8aSmrg specs/libX11: Fix section headers in Appendix D 9591e9fcaa8aSmrg 9592e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9593e9fcaa8aSmrg 9594e9fcaa8aSmrgcommit bcc41baa02e137884d847aec0f3ff8ca5c85c32f 9595e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9596e9fcaa8aSmrgDate: Wed Jul 14 07:22:26 2010 -0700 9597e9fcaa8aSmrg 9598e9fcaa8aSmrg specs/libX11: Explicitly tag document as English 9599e9fcaa8aSmrg 9600e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9601e9fcaa8aSmrg 9602e9fcaa8aSmrgcommit 6783544706ff370e900c137f951e90230586d6dc 9603e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9604e9fcaa8aSmrgDate: Mon Jul 12 22:03:18 2010 -0700 9605e9fcaa8aSmrg 9606e9fcaa8aSmrg specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting 9607e9fcaa8aSmrg 9608e9fcaa8aSmrg Fixes display of a bunch of function prototypes and sample code 9609e9fcaa8aSmrg 9610e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9611e9fcaa8aSmrg 9612e9fcaa8aSmrgcommit 8834cd9285e6aaf437aee56292c508d99a090fa9 9613e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9614e9fcaa8aSmrgDate: Mon Jul 12 18:37:16 2010 -0700 9615e9fcaa8aSmrg 9616e9fcaa8aSmrg xmlrules.in: Add chunked-html rule to manually generate smaller files 9617e9fcaa8aSmrg 9618e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9619e9fcaa8aSmrg 9620e9fcaa8aSmrgcommit 53f78680c34ebc94ce26b5e14c2a0003435cf10d 9621e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9622e9fcaa8aSmrgDate: Mon Jul 12 18:35:59 2010 -0700 9623e9fcaa8aSmrg 9624e9fcaa8aSmrg specs/libX11: Convert Appendix A tables to real tables 9625e9fcaa8aSmrg 9626e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9627e9fcaa8aSmrg 9628e9fcaa8aSmrgcommit 705a1257a8a47f4a1f94979aee09a837500ede7d 9629e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9630e9fcaa8aSmrgDate: Mon Jul 12 18:38:09 2010 -0700 9631e9fcaa8aSmrg 9632e9fcaa8aSmrg specs/libX11: Fix out-of-place text in Chapter 1 9633e9fcaa8aSmrg 9634e9fcaa8aSmrg DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 9635e9fcaa8aSmrg 9636e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9637e9fcaa8aSmrg 9638e9fcaa8aSmrgcommit a151346a2b7810e988f1de4b1e00b37672dc587a 9639e9fcaa8aSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 9640e9fcaa8aSmrgDate: Mon Jul 12 16:52:12 2010 -0700 9641e9fcaa8aSmrg 9642e9fcaa8aSmrg launchd: Explicitly search /sbin 9643e9fcaa8aSmrg 9644e9fcaa8aSmrg Previously, launchd wasn't found if /sbin wasn't in the user's PATH. 9645e9fcaa8aSmrg https://bugs.freedesktop.org/show_bug.cgi?id=29028 9646e9fcaa8aSmrg 9647e9fcaa8aSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 9648e9fcaa8aSmrg 9649e9fcaa8aSmrgcommit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4 9650e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9651e9fcaa8aSmrgDate: Mon Jul 12 13:38:04 2010 -0700 9652e9fcaa8aSmrg 9653e9fcaa8aSmrg Replace untranslated .hN macros with <filename> tags to show header names 9654e9fcaa8aSmrg 9655e9fcaa8aSmrg Translation performed by: 9656e9fcaa8aSmrg perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->} 965738ae11fcSmrg {<<filename class="headerfile">$1</filename>>$2}' *.xml 9658e9fcaa8aSmrg 9659e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9660e9fcaa8aSmrg 9661e9fcaa8aSmrgcommit 75480440946603b8efdbbf78b88d59c641b6d2c8 9662e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9663e9fcaa8aSmrgDate: Sat Jul 10 00:06:13 2010 -0700 9664e9fcaa8aSmrg 9665e9fcaa8aSmrg specs/libX11: Mass substitution of <function> tags with more specific tags 9666e9fcaa8aSmrg 9667e9fcaa8aSmrg Matched names from X headers & "nm libX11.so" output to names in spec to 9668e9fcaa8aSmrg map to more specific tags. Tags used: 9669e9fcaa8aSmrg 9670e9fcaa8aSmrg <code> code fragments 9671e9fcaa8aSmrg <constant> enum values 9672e9fcaa8aSmrg <errorname> X protocol errors 9673e9fcaa8aSmrg <filename> filenames 9674e9fcaa8aSmrg <function> functions 9675e9fcaa8aSmrg <function> function-like macros (#define foo(a,b)...) 9676e9fcaa8aSmrg <returnvalue> function return codes 9677e9fcaa8aSmrg <structfield> struct members 9678e9fcaa8aSmrg <structname> struct names (even when typedefed) 9679e9fcaa8aSmrg <symbol> simple value #defines (#define NAME value) 9680e9fcaa8aSmrg <systemitem> X protocol requests 9681e9fcaa8aSmrg <systemitem class="event"> X protocol events 9682e9fcaa8aSmrg <type> non-struct typedefs 9683e9fcaa8aSmrg <varname> global variables 9684e9fcaa8aSmrg 9685e9fcaa8aSmrg (Also fixed a couple typos detected by failures of this matching, such as 9686e9fcaa8aSmrg XESSetPrintErrorValues -> XESetPrintErrorValues.) 9687e9fcaa8aSmrg 9688e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9689e9fcaa8aSmrg 9690e9fcaa8aSmrgcommit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b 9691e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9692e9fcaa8aSmrgDate: Fri Jul 9 00:37:23 2010 -0700 9693e9fcaa8aSmrg 9694e9fcaa8aSmrg specs/libX11: Glossary cross-reference links 9695e9fcaa8aSmrg 9696e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9697e9fcaa8aSmrg 9698e9fcaa8aSmrgcommit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073 9699e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9700e9fcaa8aSmrgDate: Thu Jul 8 21:19:08 2010 -0700 9701e9fcaa8aSmrg 9702e9fcaa8aSmrg specs/libX11: Make whitespace around <function> tags more uniform 9703e9fcaa8aSmrg 9704e9fcaa8aSmrg Simplifies regular expressions for further mass substitutions. 9705e9fcaa8aSmrg 9706e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9707e9fcaa8aSmrg 9708e9fcaa8aSmrgcommit 730ce6b8aca77b77385aa894d234cbde5fcbce37 9709e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9710e9fcaa8aSmrgDate: Fri Jul 9 20:10:37 2010 -0400 9711e9fcaa8aSmrg 9712e9fcaa8aSmrg specs: use pattern rules rather than suffix rules 9713e9fcaa8aSmrg 9714e9fcaa8aSmrg This allows target to rebuild when included .xml files are changed. 9715e9fcaa8aSmrg 9716e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9717e9fcaa8aSmrg 9718e9fcaa8aSmrgcommit 5527b4bc8ce7de60123eb28789ddef54aa48a378 9719e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9720e9fcaa8aSmrgDate: Thu Jul 8 20:56:41 2010 -0700 9721e9fcaa8aSmrg 9722e9fcaa8aSmrg specs/libX11: Move punctuation outside of the <function> tags 9723e9fcaa8aSmrg 9724e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9725e9fcaa8aSmrg 9726e9fcaa8aSmrgcommit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0 9727e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9728e9fcaa8aSmrgDate: Thu Jul 8 20:42:50 2010 -0700 9729e9fcaa8aSmrg 9730e9fcaa8aSmrg specs/libX11: Mark a number of <acronym>s 9731e9fcaa8aSmrg 9732e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9733e9fcaa8aSmrg 9734e9fcaa8aSmrgcommit d5bbb12f55ac9f691eab6242cedc53207275131b 9735e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9736e9fcaa8aSmrgDate: Thu Jul 8 19:31:36 2010 -0700 973747f86ac1Smrg 9738e9fcaa8aSmrg specs/libX11: Glossary terms should not be marked as functions 9739e9fcaa8aSmrg 9740e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9741e9fcaa8aSmrg 9742e9fcaa8aSmrgcommit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c 9743e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9744e9fcaa8aSmrgDate: Thu Jul 8 19:28:18 2010 -0700 9745e9fcaa8aSmrg 9746e9fcaa8aSmrg specs/libX11: Clean up author list & acknowledgements a little 9747e9fcaa8aSmrg 9748e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9749e9fcaa8aSmrg 9750e9fcaa8aSmrgcommit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3 9751e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9752e9fcaa8aSmrgDate: Thu Jul 8 17:30:34 2010 -0700 9753e9fcaa8aSmrg 9754e9fcaa8aSmrg specs/libX11: Convert troff .IN macros to docbook <indexterm> tags 9755e9fcaa8aSmrg 9756e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9757e9fcaa8aSmrg 9758e9fcaa8aSmrgcommit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491 9759e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 9760e9fcaa8aSmrgDate: Thu Jul 8 17:29:21 2010 -0400 9761e9fcaa8aSmrg 9762e9fcaa8aSmrg specs: specdir is required to install xml files 9763e9fcaa8aSmrg 9764e9fcaa8aSmrg The source is installed as well as the targets. 9765e9fcaa8aSmrg This failed when configuring with --without-xmlto 9766e9fcaa8aSmrg 9767e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9768e9fcaa8aSmrg 9769e9fcaa8aSmrgcommit e14273f44c1501ab51db4adcb83b18a1073787d8 9770e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org> 9771e9fcaa8aSmrgDate: Thu Jul 8 14:42:32 2010 -0400 9772e9fcaa8aSmrg 9773e9fcaa8aSmrg specs: replace troff source with docbook-xml source 9774e9fcaa8aSmrg 9775e9fcaa8aSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 9776e9fcaa8aSmrg 9777e9fcaa8aSmrgcommit bea0873caf50e9ed1b89255775d9ab912cbecd45 977847f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 977947f86ac1SmrgDate: Thu Jul 8 16:49:51 2010 +0100 978047f86ac1Smrg 978147f86ac1Smrg XStringToKeysym: Check strdup() return value 978247f86ac1Smrg 978347f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 978447f86ac1Smrg Reviewed-by: Keith Packard <keithp@keithp.com> 978547f86ac1Smrg 9786e9fcaa8aSmrgcommit cffa71b4a5743e2b6675b9a917d15aef4177d513 9787e9fcaa8aSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 9788e9fcaa8aSmrgDate: Mon Jun 28 15:08:05 2010 +0300 9789e9fcaa8aSmrg 9790e9fcaa8aSmrg Fix two typos in SFS 5966 Annex 3 9791e9fcaa8aSmrg 9792e9fcaa8aSmrg X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792> 9793e9fcaa8aSmrg 9794e9fcaa8aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 9795e9fcaa8aSmrg 9796e9fcaa8aSmrgcommit eb023c0f8919e809b8b609e1467b14d20a290aa7 979747f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 979847f86ac1SmrgDate: Tue Jun 15 18:49:43 2010 +0100 979947f86ac1Smrg 980047f86ac1Smrg Delete now-redundant XKeysymDB 980147f86ac1Smrg 980247f86ac1Smrg Since XStringToKeysym now supports all the vendor keysyms, just delete 980347f86ac1Smrg our XKeysymDB, which was incomplete at best, misleading at worst, and 980447f86ac1Smrg always an annoyance. 980547f86ac1Smrg 980647f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 980747f86ac1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 980847f86ac1Smrg 9809e9fcaa8aSmrgcommit 00175397480b76d32bf82b0c7c94c91a2a95954e 981047f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 981147f86ac1SmrgDate: Tue Jun 15 18:48:48 2010 +0100 981247f86ac1Smrg 981347f86ac1Smrg makekeys: Scan vendor keysyms as well as core 981447f86ac1Smrg 981547f86ac1Smrg Since we can't really live without vendor keysyms, scan them all in to 981647f86ac1Smrg generate ks_tables.h, rather than only doing the core ones, and leaving 981747f86ac1Smrg the vendor syms to be manually synchronised with XKeysymDB. 981847f86ac1Smrg 981947f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 982047f86ac1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 982147f86ac1Smrg 9822e9fcaa8aSmrgcommit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba 982347f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 982447f86ac1SmrgDate: Tue Jun 15 18:47:37 2010 +0100 982547f86ac1Smrg 982647f86ac1Smrg XStringToKeysym: Special case for XF86 keysyms 982747f86ac1Smrg 982847f86ac1Smrg Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being 982947f86ac1Smrg XF86foo. So, if we get to the bottom of XStringToKeysym and haven't 983047f86ac1Smrg found our XF86_foo, try it again as XF86foo. 983147f86ac1Smrg 983247f86ac1Smrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 983347f86ac1Smrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 983447f86ac1Smrg 9835e9fcaa8aSmrgcommit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb 9836e9fcaa8aSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 9837e9fcaa8aSmrgDate: Tue Jun 15 17:20:48 2010 +0100 983861234c2cSmrg 9839e9fcaa8aSmrg configure.ac: Change from deprecated AC_DEFINE_DIR to AX_ 984061234c2cSmrg 9841e9fcaa8aSmrg AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin 9842e9fcaa8aSmrg namespace, so start using the more proper AX_DEFINE_DIR instead. 9843e9fcaa8aSmrg 9844e9fcaa8aSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 9845e9fcaa8aSmrg Reviewed-by: Gaetan Nadon <memsize@videotron.ca> 9846e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 984761234c2cSmrg 9848e9fcaa8aSmrgcommit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d 9849e9fcaa8aSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br> 9850e9fcaa8aSmrgDate: Thu Jul 1 06:50:47 2010 -0300 985161234c2cSmrg 9852e9fcaa8aSmrg Purge macros NEED_EVENTS and NEED_REPLIES 985361234c2cSmrg 9854e9fcaa8aSmrg Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 9855e9fcaa8aSmrg Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> 9856e9fcaa8aSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 985761234c2cSmrg 9858e9fcaa8aSmrgcommit 0b724231be17f19538ee115a03b82b221b1f83c0 9859e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com> 9860e9fcaa8aSmrgDate: Wed Jun 30 16:30:49 2010 -0400 986161234c2cSmrg 9862e9fcaa8aSmrg Use -version-number consistently instead of -version-info 986361234c2cSmrg 9864e9fcaa8aSmrg The latter is libtool braindamage. 986561234c2cSmrg 9866e9fcaa8aSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 986761234c2cSmrg 9868e9fcaa8aSmrgcommit 241a990afcf9c967c587ad6fd245df21b68b1ad9 986961234c2cSmrgAuthor: Juliusz Chroboczek <jch@pps.jussieu.fr> 987061234c2cSmrgDate: Tue Jun 29 18:32:42 2010 +0200 987161234c2cSmrg 987261234c2cSmrg Make Compose-comma map to ogonek for I and U in UTF-8 locales. 987361234c2cSmrg 987461234c2cSmrg With the preceding patch, it makes the UTF-8 compose map consistent with 987561234c2cSmrg the ISO 8859-4 and -13 maps. 987661234c2cSmrg 9877e9fcaa8aSmrgcommit af55e582f485a668c2bf43129be972bc65f03c60 987861234c2cSmrgAuthor: Juliusz Chroboczek <jch@pps.jussieu.fr> 987961234c2cSmrgDate: Tue Jun 29 18:20:18 2010 +0200 988061234c2cSmrg 988161234c2cSmrg Make Compose-comma map to Ogonek for A and E in UTF-8 locales. 988261234c2cSmrg 988361234c2cSmrg This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file 988461234c2cSmrg as far as Polish is concerned. We only sacrifice one pair of characters, 988561234c2cSmrg e-cedilla, which is not used in any language. 988661234c2cSmrg 9887e9fcaa8aSmrgcommit d6ba13009fc9ef876a104b907ffef73c6e405d4b 9888e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9889e9fcaa8aSmrgDate: Thu Jun 24 13:13:11 2010 -0700 9890e9fcaa8aSmrg 9891e9fcaa8aSmrg Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path 9892e9fcaa8aSmrg 9893e9fcaa8aSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9894e9fcaa8aSmrg 9895e9fcaa8aSmrgcommit 978c7238789037de917b9423ea9adfb006da1260 989661234c2cSmrgAuthor: Jamey Sharp <jamey@minilop.net> 9897e9fcaa8aSmrgDate: Sat Jun 19 10:44:55 2010 -0700 989861234c2cSmrg 9899e9fcaa8aSmrg poll_for_response: Really handle xcb_poll_for_reply getting a reply. 990061234c2cSmrg 9901e9fcaa8aSmrg Don't lose async replies. That's bad. 990261234c2cSmrg 9903e9fcaa8aSmrg `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 9904e9fcaa8aSmrg _XReply path worked; that path waited for replies, rather than polling. 9905e9fcaa8aSmrg 9906e9fcaa8aSmrg However, XRecordProcessReplies, which does nothing but call XPending, 9907e9fcaa8aSmrg relied on the event-handling path to process async replies, and that was 9908e9fcaa8aSmrg busted. 9909e9fcaa8aSmrg 9910e9fcaa8aSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 991161234c2cSmrg 991261234c2cSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 991361234c2cSmrg 9914e9fcaa8aSmrgcommit ef67486c5a8aada24fd95b2991a3c4979f53805f 9915e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 9916e9fcaa8aSmrgDate: Mon Jun 21 13:34:15 2010 -0700 991761234c2cSmrg 9918e9fcaa8aSmrg Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request." 991961234c2cSmrg 9920e9fcaa8aSmrg This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as 9921e9fcaa8aSmrg a matter of fact, if poll_for_response returns NULL when we know 9922e9fcaa8aSmrg dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending 9923e9fcaa8aSmrg request. 9924e9fcaa8aSmrg 9925e9fcaa8aSmrgcommit 301ec5b41e9d253a446db656e1789ac7345dc433 9926e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 9927e9fcaa8aSmrgDate: Mon Jun 21 13:24:24 2010 -0700 9928e9fcaa8aSmrg 9929e9fcaa8aSmrg Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply." 993061234c2cSmrg 9931e9fcaa8aSmrg This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do* 9932e9fcaa8aSmrg need to check poll_for_event every time through the loop in 9933e9fcaa8aSmrg poll_for_response, so the commit did too much. 993461234c2cSmrg 9935e9fcaa8aSmrgcommit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e 9936e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 9937e9fcaa8aSmrgDate: Mon Jun 21 10:54:02 2010 -0700 993861234c2cSmrg 9939e9fcaa8aSmrg xcb_io.c: poll_for_response doesn't guarantee there's a pending request. 994061234c2cSmrg 9941e9fcaa8aSmrg Fixes the second bug reported in: 9942e9fcaa8aSmrg https://bugs.freedesktop.org/show_bug.cgi?id=28595 994361234c2cSmrg 9944e9fcaa8aSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 9945e9fcaa8aSmrg 9946e9fcaa8aSmrgcommit c115095d7f2bc4f5a4fb26380e3698fefdad7611 9947e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net> 9948e9fcaa8aSmrgDate: Sat Jun 19 10:44:55 2010 -0700 9949e9fcaa8aSmrg 9950e9fcaa8aSmrg poll_for_response: Really handle xcb_poll_for_reply getting a reply. 9951e9fcaa8aSmrg 9952e9fcaa8aSmrg Don't lose async replies. That's bad. 9953e9fcaa8aSmrg 9954e9fcaa8aSmrg `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the 9955e9fcaa8aSmrg _XReply path worked; that path waited for replies, rather than polling. 9956e9fcaa8aSmrg 9957e9fcaa8aSmrg However, XRecordProcessReplies, which does nothing but call XPending, 9958e9fcaa8aSmrg relied on the event-handling path to process async replies, and that was 9959e9fcaa8aSmrg busted. 9960e9fcaa8aSmrg 9961e9fcaa8aSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595 9962e9fcaa8aSmrg 9963e9fcaa8aSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 9964e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 9965e9fcaa8aSmrg 9966e9fcaa8aSmrgcommit a25ae169862ab9b76daf259613b37c6b07bc2ef2 9967e9fcaa8aSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 9968e9fcaa8aSmrgDate: Sun Jun 13 19:23:05 2010 +0300 996961234c2cSmrg 9970e9fcaa8aSmrg Implement SFS 5966 Annex 4 for Finland 9971e9fcaa8aSmrg 9972e9fcaa8aSmrg This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in 9973e9fcaa8aSmrg Annex 3 (which were actually copied verbatim from the standard text). 9974e9fcaa8aSmrg 9975e9fcaa8aSmrg The implementation of the standard is now complete. 9976e9fcaa8aSmrg 9977e9fcaa8aSmrg X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498> 9978e9fcaa8aSmrg 9979e9fcaa8aSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 9980e9fcaa8aSmrg 9981e9fcaa8aSmrgcommit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6 998261234c2cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9983e9fcaa8aSmrgDate: Fri Jun 4 13:20:17 2010 -0700 998461234c2cSmrg 9985e9fcaa8aSmrg LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits 9986e9fcaa8aSmrg 9987e9fcaa8aSmrg One of the malloc failure checks had a goto to the wrong spot in the 9988e9fcaa8aSmrg list of cleanup free() calls to unwind at the end, and was freeing 9989e9fcaa8aSmrg bits that hadn't been initialized/allocated yet, since they would be 9990e9fcaa8aSmrg stored in the struct that just failed to be allocated. 9991e9fcaa8aSmrg 9992e9fcaa8aSmrg Error: Null pointer dereference (CWE 476) 9993e9fcaa8aSmrg Read from pointer that could be constant 'NULL' 9994e9fcaa8aSmrg at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'. 9995e9fcaa8aSmrg Pointer checked against constant 'NULL' at line 754 but does not protect the dereference. 9996e9fcaa8aSmrg 9997e9fcaa8aSmrg [ This bug was found by the Parfait bug checking tool. 9998e9fcaa8aSmrg For more information see http://research.sun.com/projects/parfait ] 999961234c2cSmrg 1000061234c2cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1000161234c2cSmrg 10002e9fcaa8aSmrgcommit aebbf3623888119b43893b253195d93b613a6e1e 10003e9fcaa8aSmrgAuthor: Josh Triplett <josh@joshtriplett.org> 10004e9fcaa8aSmrgDate: Sun Jun 6 19:11:55 2010 -0700 10005e9fcaa8aSmrg 10006e9fcaa8aSmrg Mark the rest of Xprivate.h as _X_HIDDEN. 10007e9fcaa8aSmrg 10008e9fcaa8aSmrg None of the functions in Xprivate.h should have any callers outside of 10009e9fcaa8aSmrg Xlib, by definition. 10010e9fcaa8aSmrg 10011e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 10012e9fcaa8aSmrg Suggested-by: Jamey Sharp <jamey@minilop.net> 10013e9fcaa8aSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 10014e9fcaa8aSmrg 10015e9fcaa8aSmrgcommit abcd1b67c8135ad652833e5a60d818837c39fce1 1001661234c2cSmrgAuthor: Julien Cristau <jcristau@debian.org> 1001761234c2cSmrgDate: Fri Jun 4 13:57:45 2010 +0200 1001861234c2cSmrg 1001961234c2cSmrg Hide _XSeqSyncFunction 1002061234c2cSmrg 1002161234c2cSmrg Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction 1002261234c2cSmrg non-static, but we don't need to export it. 1002361234c2cSmrg 1002461234c2cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 1002561234c2cSmrg Reviewed-by: Adam Jackson <ajax@redhat.com> 1002661234c2cSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 10027e9fcaa8aSmrg 10028e9fcaa8aSmrgcommit 15e5eaf62897b3179d1fbe457cb19f886f0449f8 10029e9fcaa8aSmrgAuthor: Josh Triplett <josh@joshtriplett.org> 10030e9fcaa8aSmrgDate: Thu Jun 3 09:41:01 2010 -0700 10031e9fcaa8aSmrg 10032e9fcaa8aSmrg Remove support for building without XCB 10033e9fcaa8aSmrg 10034e9fcaa8aSmrg And there was much rejoicing. 10035e9fcaa8aSmrg 10036e9fcaa8aSmrg Signed-off-by: Josh Triplett <josh@joshtriplett.org> 10037e9fcaa8aSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 10038e9fcaa8aSmrg 10039e9fcaa8aSmrg Consensus on #xorg-devel agrees with removing --without-xcb; in 10040e9fcaa8aSmrg particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg, 10041e9fcaa8aSmrg Julien Cristau, and Rémi Cardona. 1004261234c2cSmrg 1004388de56ccSmrgcommit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74 1004488de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1004588de56ccSmrgDate: Thu Jun 3 15:21:40 2010 -0700 1004688de56ccSmrg 1004788de56ccSmrg libX11 1.3.4 1004888de56ccSmrg 1004988de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1005088de56ccSmrg 1005188de56ccSmrgcommit 8f3db40ca5108a919244f3fff7466d01a14b3ce2 1005288de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1005388de56ccSmrgDate: Thu Jun 3 13:08:17 2010 -0700 1005488de56ccSmrg 1005588de56ccSmrg Workaround bug in groff flag processing that breaks distcheck 1005688de56ccSmrg 1005788de56ccSmrg At least with the groff 1.19.2 package I have installed, groff passes 1005888de56ccSmrg on the -I flags for the include path to grohtml, which if they come 1005988de56ccSmrg after the -P-I... flag we pass to grohtml to specify the image file 1006088de56ccSmrg name pattern cause it to override that flag and put the images in 1006188de56ccSmrg the wrong place, breaking "make distcheck" - changing the flag order 1006288de56ccSmrg works around this. 1006388de56ccSmrg 1006488de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1006588de56ccSmrg 1006688de56ccSmrgcommit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e 1006788de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1006888de56ccSmrgDate: Thu Jun 3 11:25:33 2010 -0700 1006988de56ccSmrg 1007088de56ccSmrg Fix typo that made configure always report "none" for man page suffix 1007188de56ccSmrg 1007288de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1007388de56ccSmrg 1007488de56ccSmrgcommit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce 1007588de56ccSmrgAuthor: Paul Bender <pebender@gmail.com> 1007688de56ccSmrgDate: Thu Jun 3 11:20:26 2010 -0700 1007788de56ccSmrg 1007888de56ccSmrg Bug 22591 - configure does not obey the --enable-*-transport options 1007988de56ccSmrg 1008088de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=22591 1008188de56ccSmrg 1008288de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1008388de56ccSmrg 1008488de56ccSmrgcommit d7f35946d673bb00f2768e025b6e1017422b2174 1008588de56ccSmrgAuthor: Paul Bender <pebender@gmail.com> 1008688de56ccSmrgDate: Thu Jun 3 11:17:45 2010 -0700 1008788de56ccSmrg 1008888de56ccSmrg Bug 22590 - libX11 1.2.1 has broken abstract namespace support 1008988de56ccSmrg 1009088de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=22590 1009188de56ccSmrg 1009288de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1009388de56ccSmrg 1009488de56ccSmrgcommit b2487d07f7b355f230a56e32c763acd08862735c 1009588de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1009688de56ccSmrgDate: Thu Jun 3 11:06:15 2010 -0700 1009788de56ccSmrg 1009888de56ccSmrg Bug 22584 - libX11 does not cross compile 1009988de56ccSmrg 1010088de56ccSmrg Adaptation of patch submitted by Paul Bender in attachment 27301 to 1010188de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=22584 1010288de56ccSmrg 1010388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1010488de56ccSmrg Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> 1010588de56ccSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 1010688de56ccSmrg 1010788de56ccSmrgcommit 4378219ff8c1418418c70086085358b69d574e74 1010888de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1010988de56ccSmrgDate: Tue Jun 1 18:55:48 2010 -0700 1011088de56ccSmrg 1011188de56ccSmrg Clarify requirements in XRestackWindows man page 1011288de56ccSmrg 1011388de56ccSmrg The required common parent window is not specified in the arguments, 1011488de56ccSmrg just implied as the parent of the first window in the list. 1011588de56ccSmrg 1011688de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1011788de56ccSmrg 1011888de56ccSmrgcommit f09c5299a381e2729e800a0ac43f1c0e371f65f6 1011988de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1012088de56ccSmrgDate: Wed May 12 16:42:18 2010 -0700 1012188de56ccSmrg 1012288de56ccSmrg xcb: Add TCP fallback 1012388de56ccSmrg 1012488de56ccSmrg If we fail to connect to a UNIX socket and the transport isn't specified, 1012588de56ccSmrg fallback on TCP. This matches behavior with the xtrans codepath and the 1012688de56ccSmrg Xlib spec. 1012788de56ccSmrg 1012888de56ccSmrg http://lists.x.org/archives/xorg-devel/2010-April/007915.html 1012988de56ccSmrg 1013088de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1013188de56ccSmrg Reviewed-by: Jamey Sharp <jamey@minilop.net> 1013288de56ccSmrg 1013388de56ccSmrgcommit fd82552d5c0ce1931f29006a0c36f5e03cf8577e 1013438ae11fcSmrgMerge: aae2a4a7 933aee1d 1013588de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1013688de56ccSmrgDate: Mon May 10 16:51:24 2010 -0700 1013788de56ccSmrg 1013888de56ccSmrg Merge branch 'xlib-xcb-thread-fixes' 1013988de56ccSmrg 1014088de56ccSmrgcommit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9 1014188de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1014288de56ccSmrgDate: Fri Apr 23 21:50:29 2010 -0700 1014388de56ccSmrg 1014488de56ccSmrg Don't append the screen number when using a launchd socket 1014588de56ccSmrg 1014688de56ccSmrg ssh gets confused by this. XQuartz is the only DDX using this 1014788de56ccSmrg functionality, and it doesn't support different screens, so 1014888de56ccSmrg let's just not include this until most ssh know how to handle 1014988de56ccSmrg this. 1015088de56ccSmrg 1015188de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1015288de56ccSmrg 1015388de56ccSmrgcommit adcd0ec209abf832a769d52db660fb37eaad6e0c 1015488de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1015588de56ccSmrgDate: Fri Apr 23 16:33:44 2010 -0700 1015688de56ccSmrg 1015788de56ccSmrg Remove launchd logic from _XConnectXCB as it's handled in XCB 1015888de56ccSmrg 1015988de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1016088de56ccSmrg 1016188de56ccSmrgcommit d232b259c36fdde1f4179822809fec1480867dc5 1016288de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 1016388de56ccSmrgDate: Tue Feb 2 17:01:28 2010 -0800 1016488de56ccSmrg 1016588de56ccSmrg Fix various build warnings 1016688de56ccSmrg 1016788de56ccSmrg imLcIm.c: In function '_XimCachedFileName': 1016888de56ccSmrg imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 1016988de56ccSmrg imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int' 1017088de56ccSmrg 1017188de56ccSmrg imRm.c: In function '_XimDefaultArea': 1017288de56ccSmrg imRm.c:597: warning: cast from pointer to integer of different size 1017388de56ccSmrg imRm.c: In function '_XimDefaultColormap': 1017488de56ccSmrg imRm.c:626: warning: cast from pointer to integer of different size 1017588de56ccSmrg 1017688de56ccSmrg lcFile.c:224: warning: no previous prototype for 'xlocaledir' 1017788de56ccSmrg 1017888de56ccSmrg lcUTF8.c: In function 'iconv_cstombs': 1017988de56ccSmrg lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type 1018088de56ccSmrg lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 1018188de56ccSmrg lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 1018288de56ccSmrg lcUTF8.c: In function 'iconv_mbstocs': 1018388de56ccSmrg lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 1018488de56ccSmrg lcUTF8.c: In function 'iconv_mbtocs': 1018588de56ccSmrg lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 1018688de56ccSmrg lcUTF8.c: In function 'iconv_mbstostr': 1018788de56ccSmrg lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness 1018888de56ccSmrg lcUTF8.c: In function 'iconv_strtombs': 1018988de56ccSmrg lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness 1019088de56ccSmrg lcUTF8.c: In function '_XlcAddGB18030LocaleConverters': 1019188de56ccSmrg lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 1019288de56ccSmrg lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 1019388de56ccSmrg lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 1019488de56ccSmrg lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 1019588de56ccSmrg lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 1019688de56ccSmrg lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 1019788de56ccSmrg lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type 1019888de56ccSmrg 1019988de56ccSmrg XlibInt.c: In function '_XGetHostname': 1020088de56ccSmrg XlibInt.c:3441: warning: implicit declaration of function 'gethostname' 1020188de56ccSmrg XlibInt.c:3441: warning: nested extern declaration of 'gethostname' 1020288de56ccSmrg 1020388de56ccSmrg ConnDis.c: In function '_XDisconnectDisplay': 1020488de56ccSmrg ConnDis.c:540: warning: old-style function definition 1020588de56ccSmrg ConnDis.c: In function '_XSendClientPrefix': 1020688de56ccSmrg ConnDis.c:554: warning: old-style function definition 1020788de56ccSmrg ConnDis.c: In function 'XSetAuthorization': 1020888de56ccSmrg ConnDis.c:677: warning: old-style function definition 1020988de56ccSmrg 1021088de56ccSmrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 1021188de56ccSmrg 1021288de56ccSmrgcommit 3e11c73187acb2e2be9a812840bbbea947527ccb 1021388de56ccSmrgAuthor: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 1021488de56ccSmrgDate: Fri Apr 23 00:01:54 2010 +0200 1021588de56ccSmrg 1021688de56ccSmrg Allow X11 users to compose anarchism 1021788de56ccSmrg 1021888de56ccSmrg I can easily compose the hammer and sickle (the symbol representative 1021988de56ccSmrg of communism) by pressing the key sequence: 1022088de56ccSmrg 1022188de56ccSmrg <Compose> <C> <C> <C> <P> -> ☭ 1022288de56ccSmrg 1022388de56ccSmrg But i can't easily make the circled A (the symbol representative of 1022488de56ccSmrg anarchism). 1022588de56ccSmrg 1022688de56ccSmrg I'd like to be able to use <Compose> <O> <A> (this is a 1022788de56ccSmrg currently unused key sequence) to generate the symbol: Ⓐ 1022888de56ccSmrg 1022988de56ccSmrg Debian bug#555938 <http://bugs.debian.org/555938> 1023088de56ccSmrg 1023188de56ccSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 1023288de56ccSmrg 1023388de56ccSmrgcommit 933aee1d5c53b0cc7d608011a29188b594c8d70b 1023488de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1023588de56ccSmrgDate: Fri Apr 16 20:18:28 2010 -0700 1023688de56ccSmrg 1023788de56ccSmrg Fix Xlib/XCB for multi-threaded applications (with caveats). 1023888de56ccSmrg 1023988de56ccSmrg Rather than trying to group all response processing in one monolithic 1024088de56ccSmrg process_responses function, let _XEventsQueued, _XReadEvents, and 1024188de56ccSmrg _XReply each do their own thing with a minimum of code that can all be 1024288de56ccSmrg reasoned about independently. 1024388de56ccSmrg 1024488de56ccSmrg Tested with `ico -threads 20`, which seems to be able to make many 1024588de56ccSmrg icosahedrons dance at once quite nicely now. 1024688de56ccSmrg 1024788de56ccSmrg Caveats: 1024888de56ccSmrg 1024988de56ccSmrg - Anything that was not thread-safe in Xlib before XCB probably still 1025088de56ccSmrg isn't. XListFontsWithInfo, for instance. 1025188de56ccSmrg 1025288de56ccSmrg - If one thread is waiting for events and another thread tries to read a 1025388de56ccSmrg reply, both will hang until an event arrives. Previously, if this 1025488de56ccSmrg happened it might work sometimes, but otherwise would trigger either 1025588de56ccSmrg an assertion failure or a permanent hang. 1025688de56ccSmrg 1025788de56ccSmrg - Versions of libxcb up to and including 1.6 have a bug that can cause 1025888de56ccSmrg xcb_wait_for_event or xcb_wait_for_reply to hang if they run 1025988de56ccSmrg concurrently with xcb_writev or other writers. So you'll want that fix 1026088de56ccSmrg as well. 1026188de56ccSmrg 1026288de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1026388de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 1026488de56ccSmrg 1026588de56ccSmrgcommit aab43278ae619eb57d2dd9c7396f460f078588fc 1026688de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1026788de56ccSmrgDate: Fri Apr 16 22:24:16 2010 -0700 1026888de56ccSmrg 1026988de56ccSmrg Use InternalLockDisplay on code paths called from LockDisplay. 1027088de56ccSmrg 1027188de56ccSmrg It's easier to reason about the code when we can't re-enter the 1027288de56ccSmrg Xlib-private sync-handlers while they're already running. 1027388de56ccSmrg 1027488de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1027588de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 1027688de56ccSmrg 1027788de56ccSmrgcommit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556 1027888de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1027988de56ccSmrgDate: Fri Apr 16 19:45:11 2010 -0700 1028088de56ccSmrg 1028188de56ccSmrg Fix _XSend to enqueue the right range of pending requests. 1028288de56ccSmrg 1028388de56ccSmrg _XSend was off-by-one on both ends. It should not re-enqueue the last 1028488de56ccSmrg request that was already flushed, but it should enqueue the last request 1028588de56ccSmrg currently being flushed. 1028688de56ccSmrg 1028788de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1028888de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 1028988de56ccSmrg 1029088de56ccSmrgcommit f2735889908d6e5a7f8dbee42f00c54a52665191 1029188de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1029288de56ccSmrgDate: Fri Apr 16 19:45:11 2010 -0700 1029388de56ccSmrg 1029488de56ccSmrg Pending requests are always added in-order. 1029588de56ccSmrg 1029688de56ccSmrg Replace insert_pending_request, which did an in-order search of the 1029788de56ccSmrg queue to find the right insertion point, with a simpler 1029888de56ccSmrg append_pending_request, and use that in _XSend as well. 1029988de56ccSmrg 1030088de56ccSmrg Includes assertions to check that the list of pending requests is in 1030188de56ccSmrg order by sequence number and does not have duplicates. 1030288de56ccSmrg 1030388de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1030488de56ccSmrg Reviewed-by: Josh Triplett <josh@freedesktop.org> 1030588de56ccSmrg 1030688de56ccSmrgcommit d9cf5885b0f97942fbbd2a7cc50118132ece50f6 1030788de56ccSmrgAuthor: Markus Duft <markus.duft@salomon.at> 1030888de56ccSmrgDate: Fri Apr 16 08:39:34 2010 -0700 1030988de56ccSmrg 1031088de56ccSmrg Bug 26839: Fix build problem on Interix (POSIX layer on Windows) 1031188de56ccSmrg 1031288de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=26839 1031388de56ccSmrg 1031488de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1031588de56ccSmrg 1031688de56ccSmrgcommit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a 1031788de56ccSmrgAuthor: Josh Triplett <josh@freedesktop.org> 1031888de56ccSmrgDate: Thu Apr 15 14:24:21 2010 -0700 1031988de56ccSmrg 1032088de56ccSmrg Stop returning an int from _XIDHandler and _XSeqSyncFunction 1032188de56ccSmrg 1032288de56ccSmrg _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and 1032388de56ccSmrg thus had to return an int. Now, they only run from _XPrivSyncHandler or 1032488de56ccSmrg LockDisplay, neither of which needs to check their return value since they 1032588de56ccSmrg always returned 0. Make them both void. 1032688de56ccSmrg 1032788de56ccSmrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 1032888de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1032988de56ccSmrg 1033088de56ccSmrgcommit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 1033188de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1033288de56ccSmrgDate: Thu Apr 15 13:05:08 2010 -0700 1033388de56ccSmrg 1033488de56ccSmrg Move XID and sync handling from SyncHandle to LockDisplay to fix races. 1033588de56ccSmrg 1033688de56ccSmrg XID and sync handling happened via _XPrivSyncHandler, assigned to 1033788de56ccSmrg dpy->synchandler and called from SyncHandle. _XPrivSyncHandler thus ran 1033888de56ccSmrg without the Display lock, so manipulating the Display caused races, and 1033988de56ccSmrg these races led to assertions in multithreaded code (demonstrated via 1034088de56ccSmrg ico). 1034188de56ccSmrg 1034288de56ccSmrg In the XTHREADS case, after you've called XInitThreads, we can hook 1034388de56ccSmrg LockDisplay and UnlockDisplay. Use that to run _XIDHandler and 1034488de56ccSmrg _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know 1034588de56ccSmrg that we hold the lock, and thus we can avoid races. We think it makes 1034688de56ccSmrg sense to do these both from LockDisplay rather than UnlockDisplay, so 1034788de56ccSmrg that you know you have valid sync and a valid XID before you start 1034888de56ccSmrg setting up the request you locked to prepare. 1034988de56ccSmrg 1035088de56ccSmrg In the !XTHREADS case, or if you haven't called XInitThreads, you don't 1035188de56ccSmrg get to use Xlib from multiple threads, so we can use the logic we have 1035288de56ccSmrg now (with synchandler and savedsynchandler) without any concern about 1035388de56ccSmrg races. 1035488de56ccSmrg 1035588de56ccSmrg This approach gets a bit exciting when the XID and sequence sync 1035688de56ccSmrg handlers drop and re-acquire the Display lock. Reacquisition will re-run 1035788de56ccSmrg the handlers, but they return immediately unless they have work to do, 1035888de56ccSmrg so they can't recurse more than once. In the worst case, if both of 1035988de56ccSmrg them have work to do, we can nest the Display lock three deep. In the 1036088de56ccSmrg case of the _XIDHandler, we drop the lock to call xcb_generate_id, which 1036188de56ccSmrg takes the socket back if it needs to request more XIDs, and taking the 1036288de56ccSmrg socket back will reacquire the lock; we take care to avoid letting 1036388de56ccSmrg _XIDHandler run again and re-enter XCB from the return_socket callback 1036488de56ccSmrg (which causes Very Bad Things, and is Not Allowed). 1036588de56ccSmrg 1036688de56ccSmrg Tested with ico (with 1 and 20 threads), and with several test programs 1036788de56ccSmrg for XID and sequence sync. Tested with and without XInitThreads(), and 1036888de56ccSmrg with and without XCB. 1036988de56ccSmrg 1037088de56ccSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192 1037188de56ccSmrg 1037288de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1037388de56ccSmrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 1037488de56ccSmrg 1037588de56ccSmrgcommit b089b53b697c2851db2985d32af3b29f1da5e31e 1037688de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1037788de56ccSmrgDate: Wed Apr 14 12:59:11 2010 -0700 1037888de56ccSmrg 1037988de56ccSmrg Honest. Extensions get to filter async errors too. 1038088de56ccSmrg 1038188de56ccSmrg Under some circumstances, errors are picked up by calling 1038288de56ccSmrg xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued 1038388de56ccSmrg the requests with the XCB_REQUEST_CHECKED flag. That happens when either 1038488de56ccSmrg an async handler is queued at the time the requests are flushed, or when 1038588de56ccSmrg XSetEventQueueOwner has been used to prevent Xlib from processing XCB's 1038688de56ccSmrg event queue. 1038788de56ccSmrg 1038888de56ccSmrg This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover 1038988de56ccSmrg those cases. 1039088de56ccSmrg 1039188de56ccSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 1039288de56ccSmrg 1039388de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1039488de56ccSmrg 1039588de56ccSmrgcommit a15c31274650e391bc6de5d0951eb4464c228139 1039688de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1039788de56ccSmrgDate: Wed Apr 14 12:10:34 2010 -0700 1039888de56ccSmrg 1039988de56ccSmrg _XError already runs async handlers; only call them directly for replies. 1040088de56ccSmrg 1040188de56ccSmrg The previous behavior probably would have triggered bug reports someday. 1040288de56ccSmrg 1040388de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1040488de56ccSmrg 1040588de56ccSmrgcommit 405132dab64bf2375f8e57d02b1b53da2311933a 1040688de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1040788de56ccSmrgDate: Tue Apr 13 12:12:36 2010 -0700 1040888de56ccSmrg 1040988de56ccSmrg Extensions get to filter async errors too. 1041088de56ccSmrg 1041188de56ccSmrg Apparently I misread XlibInt.c:_XReply and thought that handlers set 1041288de56ccSmrg with XESetError should be consulted only for the sequence number that 1041388de56ccSmrg _XReply is currently looking for. In fact, the error handlers are also 1041488de56ccSmrg consulted when an error arrives for a request that was not expected to 1041588de56ccSmrg have a reply. 1041688de56ccSmrg 1041788de56ccSmrg However, in an odd twist, the error handlers are *not* consulted outside 1041888de56ccSmrg of _XReply--that is, when looking for events, or waiting to be able to 1041988de56ccSmrg flush the output queue. So this patch takes some small pains to preserve 1042088de56ccSmrg that behavior, though it seems likely to have been unintentional. 1042188de56ccSmrg 1042288de56ccSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545 1042388de56ccSmrg 1042488de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1042588de56ccSmrg 1042688de56ccSmrgcommit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227 1042788de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1042888de56ccSmrgDate: Tue Apr 13 12:49:59 2010 -0700 1042988de56ccSmrg 1043088de56ccSmrg Prefer the xcb_generic_error_t we already have over casting to xEvent. 1043188de56ccSmrg 1043288de56ccSmrg Just a minor cleanup. 1043388de56ccSmrg 1043488de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1043588de56ccSmrg 1043688de56ccSmrgcommit 75ea8c37935ccc911557d16a303ba595b8ab106b 1043788de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1043888de56ccSmrgDate: Mon Apr 12 11:30:20 2010 -0700 1043988de56ccSmrg 1044088de56ccSmrg Run the user's synchandler as well as any internal synchandlers. 1044188de56ccSmrg 1044288de56ccSmrg Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595 1044388de56ccSmrg 1044488de56ccSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1044588de56ccSmrg 1044688de56ccSmrgcommit c3f3e4a9e531d010312c97e753d6e543e607094d 1044788de56ccSmrgAuthor: Kusanagi Kouichi <slash@ac.auone-net.jp> 1044888de56ccSmrgDate: Fri Feb 12 17:16:10 2010 +0900 1044988de56ccSmrg 1045088de56ccSmrg Fix manual typos. 1045188de56ccSmrg 1045288de56ccSmrg Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> 1045388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1045488de56ccSmrg 1045588de56ccSmrgcommit 75c6c5595408caba9ef8233839d77021d02f86f2 1045688de56ccSmrgAuthor: Dirk Wallenstein <dirkwallenstein@t-online.de> 1045788de56ccSmrgDate: Fri Feb 5 20:42:46 2010 +0100 1045888de56ccSmrg 1045988de56ccSmrg man: Correct the XkbAllAccessXEventsMask mask name 1046088de56ccSmrg 1046188de56ccSmrg This mask has probably been renamed but not been updated in the manuals. 1046288de56ccSmrg 1046388de56ccSmrg Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 1046488de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1046588de56ccSmrg 1046688de56ccSmrgcommit 9262aceaff24c954cab8c252690032bc2ec25e7d 1046788de56ccSmrgAuthor: Dirk Wallenstein <dirkwallenstein@t-online.de> 1046888de56ccSmrgDate: Fri Feb 5 20:42:45 2010 +0100 1046988de56ccSmrg 1047088de56ccSmrg man: Add missing geometry component flag 1047188de56ccSmrg 1047288de56ccSmrg Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de> 1047388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1047488de56ccSmrg 1047588de56ccSmrgcommit 50cf134465f6fd263f37acecac94518468ef1c6d 1047688de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de> 1047788de56ccSmrgDate: Tue Feb 2 21:24:32 2010 +0100 1047888de56ccSmrg 1047988de56ccSmrg man: Return value of XkbGetState is Status and not Bool 1048088de56ccSmrg 1048188de56ccSmrg Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 1048288de56ccSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 1048388de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1048488de56ccSmrg 1048588de56ccSmrgcommit 7a93ae2bb5292a97fdd27ed818bc81248b37f641 1048688de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de> 1048788de56ccSmrgDate: Tue Feb 2 21:24:30 2010 +0100 1048888de56ccSmrg 1048988de56ccSmrg man: Fix return value specification of XkbKeyActionEntry 1049088de56ccSmrg 1049188de56ccSmrg The XkbKeyActionEntry macro expands to a pointer. 1049288de56ccSmrg 1049388de56ccSmrg Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 1049488de56ccSmrg Reviewed-by: Julien Cristau <jcristau@debian.org> 1049588de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1049688de56ccSmrg 1049788de56ccSmrgcommit e9884d4a05a5661ec343ea8a2aa0562b6419e086 1049888de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de> 1049988de56ccSmrgDate: Tue Feb 2 21:24:29 2010 +0100 1050088de56ccSmrg 1050188de56ccSmrg man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732 1050288de56ccSmrg 1050388de56ccSmrg XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2 1050488de56ccSmrg groups with 2 levels each. It wraps the index into the next group. 1050588de56ccSmrg This behavior confuses the unaware user, and therefore this will add a 1050688de56ccSmrg reference to XkbKeycodeToKeysym in the corresponding man paragraph. 1050788de56ccSmrg 1050888de56ccSmrg Another bug had that issue, too. #5349 1050988de56ccSmrg 1051088de56ccSmrg Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> 1051188de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1051288de56ccSmrg 1051388de56ccSmrgcommit 6474cdf97cd648afaeaa872155f3fa21cfb43f80 1051488de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 1051588de56ccSmrgDate: Thu Apr 8 19:59:55 2010 -0700 1051688de56ccSmrg 1051788de56ccSmrg Fix typo in new fi_FI.UTF-8 that was reported by "make check" 1051888de56ccSmrg 1051988de56ccSmrg Unrecognized pattern in Compose on line #154: 1052088de56ccSmrg <dead_diaeresis> <space> " "¨" 1052188de56ccSmrg 1052288de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 1052388de56ccSmrg 1052488de56ccSmrgcommit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd 1052588de56ccSmrgAuthor: Marko Myllynen <myllynen@redhat.com> 1052688de56ccSmrgDate: Thu Apr 8 19:52:42 2010 -0700 1052788de56ccSmrg 1052888de56ccSmrg Bug 27465 - Rewritten fi_FI.UTF-8 Compose file 1052988de56ccSmrg 1053088de56ccSmrg I've rewritten the fi_FI.UTF-8 Compose file so that it 1053188de56ccSmrg 1053288de56ccSmrg - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any 1053388de56ccSmrg possible additions to en_US.UTF-8/Compose automatically included) 1053488de56ccSmrg - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose 1053588de56ccSmrg definitions (thus making it safe to include en_US.UTF-8/Compose) 1053688de56ccSmrg - lists all the definitions specified in the SFS 5966 standard (thus making it 1053788de56ccSmrg easy to verify that the implementation is valid and complete) 1053888de56ccSmrg - adds a header about the file itself as required by the standard 1053988de56ccSmrg 1054088de56ccSmrg The rewritten version is ~320 lines compared to over 5000 lines of the previous 1054188de56ccSmrg version. 1054288de56ccSmrg 1054388de56ccSmrg https://bugs.freedesktop.org/show_bug.cgi?id=27465 1054488de56ccSmrg 1054588de56ccSmrgcommit f6a4fd0c7615684d08e848245849dea4017a5214 1054688de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1054788de56ccSmrgDate: Thu Apr 1 21:46:12 2010 -0400 1054888de56ccSmrg 1054988de56ccSmrg config: update and relocate AC_DEFINE_DIR macro 1055088de56ccSmrg 1055188de56ccSmrg Remove deprecated acinclude.m4 macro container file 1055288de56ccSmrg Use separate macro files as per autoconf recommendation 1055388de56ccSmrg Use the latest macro from GNU (ax) which replaces 1055488de56ccSmrg the non-gnu version (ac) 1055588de56ccSmrg This preserves the Autoconf macro AC namespace. 1055688de56ccSmrg 1055788de56ccSmrg Also moved out of acinclude.m4 is the DOLT macro 1055888de56ccSmrg 1055988de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1056088de56ccSmrg 1056188de56ccSmrgcommit 61d5231db418cec51bd718633c3bba39b18689d6 1056288de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1056388de56ccSmrgDate: Mon Mar 29 14:53:48 2010 -0400 1056488de56ccSmrg 1056588de56ccSmrg config: remove the pkgconfig pc.in file from EXTRA_DIST 1056688de56ccSmrg 1056788de56ccSmrg Automake always includes it in the tarball. 1056888de56ccSmrg 1056988de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1057088de56ccSmrg 1057188de56ccSmrgcommit 69fc76a0321c6b25cc4286173c53435c69ab8e0e 1057288de56ccSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br> 1057388de56ccSmrgDate: Wed Mar 17 23:53:16 2010 -0300 1057488de56ccSmrg 1057588de56ccSmrg No need for req->firstKeyCode to be set twice. 1057688de56ccSmrg 1057788de56ccSmrg There is no reason to set req->firstKeyCode twice when a client, wishful 1057888de56ccSmrg for changing keyboard mappings, calls XChangeKeyboardMapping. This patch 1057988de56ccSmrg fixes the mistake by making no functional changes to libX11 whatsoever. 1058088de56ccSmrg 1058188de56ccSmrg Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> 1058288de56ccSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 1058388de56ccSmrg 1058488de56ccSmrgcommit b5797597f83ee62228abfb88f026ef92163e07a5 1058588de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1058688de56ccSmrgDate: Tue Feb 16 10:37:21 2010 -0500 1058788de56ccSmrg 1058888de56ccSmrg config: move CWARNFLAGS from configure.ac to Makefile.am 1058988de56ccSmrg 1059088de56ccSmrg Compiler warning flags should be explicitly set in the makefile 1059188de56ccSmrg rather than being merged with other packages compiler flags. 1059288de56ccSmrg 1059388de56ccSmrg Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> 1059488de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1059588de56ccSmrg 1059688de56ccSmrgcommit 052c4d7995b0e52a038933beb85cd544571c6b7e 1059788de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1059888de56ccSmrgDate: Tue Feb 16 14:28:21 2010 -0500 1059988de56ccSmrg 1060088de56ccSmrg specs: change install cmd due to automake 1.11 1060188de56ccSmrg 1060288de56ccSmrg specData_INSTALL is defined in 1.9 and 1.10 but not 1.11 1060388de56ccSmrg 1060488de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1060588de56ccSmrg 1060688de56ccSmrgcommit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18 1060788de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1060888de56ccSmrgDate: Tue Feb 9 17:27:08 2010 -0500 1060988de56ccSmrg 1061088de56ccSmrg doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6 1061188de56ccSmrg 1061288de56ccSmrg $(MKDIR_P) is not defined in automake 1.9. 1061388de56ccSmrg 1061488de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1061588de56ccSmrg 1061688de56ccSmrgcommit e66eda95b520727969d721416d4ea49b54ef2b03 1061788de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1061888de56ccSmrgDate: Tue Feb 2 16:29:26 2010 -0500 1061988de56ccSmrg 1062088de56ccSmrg specs: install html images in $docdir with html files 1062188de56ccSmrg 1062288de56ccSmrg The images required by the html files have been omitted. 1062388de56ccSmrg 1062488de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1062588de56ccSmrg 1062688de56ccSmrgcommit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808 1062788de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1062888de56ccSmrgDate: Sun Jan 31 14:16:20 2010 -0500 1062988de56ccSmrg 1063088de56ccSmrg doc: use new macros to control doc generation 1063188de56ccSmrg 1063288de56ccSmrg Namely XORG_WITH_GROFF for the groff generation tool 1063388de56ccSmrg XORG_WITH_PS2PDF for the conversion of PS docs to PDF 1063488de56ccSmrg XORG_ENABLE_SPECS for the generation of specs 1063588de56ccSmrg 1063688de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1063788de56ccSmrg 1063888de56ccSmrgcommit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab 1063988de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 1064088de56ccSmrgDate: Tue Jan 26 19:41:08 2010 -0500 1064188de56ccSmrg 1064288de56ccSmrg doc: clean-up generated html images 1064388de56ccSmrg 1064488de56ccSmrg Generate images in /images as is the convention 1064588de56ccSmrg Provide a base file name for images rather than process ID 1064688de56ccSmrg Remove images directory when running make clean 1064788de56ccSmrg 1064888de56ccSmrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 1064988de56ccSmrg 1065088de56ccSmrgcommit eb289b34bfc9978eef724e0f268975938334c06c 1065188de56ccSmrgAuthor: Kristian Høgsberg <krh@bitplanet.net> 1065288de56ccSmrgDate: Thu Jan 21 13:39:17 2010 -0500 1065388de56ccSmrg 1065488de56ccSmrg XErrorDB: Add new DRI2 request names 1065588de56ccSmrg 1065688de56ccSmrgcommit 6babf2123d05adb9349394c49cc2d81d1f66cf9e 1065788de56ccSmrgAuthor: Julien Cristau <jcristau@debian.org> 1065888de56ccSmrgDate: Sat Jan 16 22:47:03 2010 +0000 1065988de56ccSmrg 1066088de56ccSmrg man: Fix typo in Makefile 1066188de56ccSmrg 1066288de56ccSmrg Missing line continuation was preventing the XCompose alias from being 1066388de56ccSmrg generated. 1066488de56ccSmrg 1066588de56ccSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 1066688de56ccSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1066788de56ccSmrg 10668b4ee4795Smrgcommit 68530599e61cf9fef3fcc91650e7cef21837fce7 10669b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10670b4ee4795SmrgDate: Sat Jan 16 11:41:32 2010 -0800 10671b4ee4795Smrg 10672b4ee4795Smrg libX11 1.3.3 10673b4ee4795Smrg 10674b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10675b4ee4795Smrg 10676b4ee4795Smrgcommit 1e5af224b9fbdb154620f898558704f2bc4bf4e9 10677b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10678b4ee4795SmrgDate: Thu Jan 14 18:33:39 2010 -0800 10679b4ee4795Smrg 10680b4ee4795Smrg Update COPYING file with actual licenses from libX11 code & docs 10681b4ee4795Smrg 10682b4ee4795Smrg COPYING was previously a years out-of-date copy of the LICENSES 10683b4ee4795Smrg doc summarizing all licenses for all XFree86 components, many of 10684b4ee4795Smrg which did not apply to libX11. 10685b4ee4795Smrg 10686b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10687b4ee4795Smrg 10688b4ee4795Smrgcommit ddb1786720d6136b1b28be599c75c10ad1b76a2a 10689b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10690b4ee4795SmrgDate: Thu Jan 14 17:38:26 2010 -0800 10691b4ee4795Smrg 10692b4ee4795Smrg Purge CVS/RCS id tags 10693b4ee4795Smrg 10694b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10695b4ee4795Smrg 10696b4ee4795Smrgcommit c1db9ddcfa7091f173478dca45bf720badedfca4 10697b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10698b4ee4795SmrgDate: Thu Jan 14 15:39:14 2010 -0800 10699b4ee4795Smrg 10700b4ee4795Smrg Update Sun license notices to current X.Org standard form 10701b4ee4795Smrg 10702b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10703b4ee4795Smrg 10704b4ee4795Smrgcommit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f 10705b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10706b4ee4795SmrgDate: Thu Jan 14 08:28:22 2010 -0800 10707b4ee4795Smrg 10708b4ee4795Smrg Add %S substitutions to Compose man page 10709b4ee4795Smrg 10710b4ee4795Smrg Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S 10711b4ee4795Smrg in Compose file include statements - this documents it in the Compose 10712b4ee4795Smrg file man page. 10713b4ee4795Smrg 10714b4ee4795Smrg Also changes the existing substitution documentation to list format 10715b4ee4795Smrg instead of a paragraph format to allow easier adding of %S. 10716b4ee4795Smrg 10717b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10718b4ee4795Smrg 10719b4ee4795Smrgcommit 94b45db93058cffa25598fe27dd3e385ace9d305 10720b4ee4795SmrgAuthor: Richard Purdie <rpurdie@linux.intel.com> 10721b4ee4795SmrgDate: Thu Jan 14 08:04:28 2010 -0800 10722b4ee4795Smrg 10723b4ee4795Smrg Fix configure.ac PKG_ macro calls 10724b4ee4795Smrg 10725b4ee4795Smrg If the first call to PKG_CHECK_MODULES() may not be called during execution 10726b4ee4795Smrg which is the case here since its inside a case statement, call 10727b4ee4795Smrg PKG_PROG_PKG_CONFIG() to ensure things worked correctly. 10728b4ee4795Smrg 10729b4ee4795Smrg Fixes a configure failure introduced by commit 10730b4ee4795Smrg 87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled. 10731b4ee4795Smrg 10732b4ee4795Smrg http://bugs.freedesktop.org/show_bug.cgi?id=26041 10733b4ee4795Smrg 10734b4ee4795Smrg Signed-off-by: Richard Purdie <rpurdie@linux.intel.com> 10735b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10736b4ee4795Smrg 10737b4ee4795Smrgcommit df559d8bc2238a2c369152fcb06e5b5ab132a5dc 10738b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10739b4ee4795SmrgDate: Tue Jan 12 09:18:15 2010 -0800 10740b4ee4795Smrg 10741b4ee4795Smrg Raise xorg-macros requirement to 1.4 10742b4ee4795Smrg 10743b4ee4795Smrg Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2 10744b4ee4795Smrg depend on the INSTALL file delivered in xorg-macros 1.4 10745b4ee4795Smrg 10746b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10747b4ee4795Smrg 10748b4ee4795Smrgcommit 9df349a7894725f9469b106af645f57f7f3f9af3 10749b4ee4795SmrgAuthor: James Cloos <cloos@jhcloos.com> 10750b4ee4795SmrgDate: Wed Jan 13 11:04:38 2010 -0500 10751b4ee4795Smrg 10752b4ee4795Smrg Allow inclusion of system level compose files. 10753b4ee4795Smrg 10754b4ee4795Smrg With the release of XFree86 4.4 an inclusion system of compose files was 10755b4ee4795Smrg added to Xlib to allow inclusion of the default compose file (with %L), 10756b4ee4795Smrg any compose files from user’s home directory (with %H), or a compose 10757b4ee4795Smrg file with a hard coded path¹. However, even today including system level 10758b4ee4795Smrg compose files is not possible in a platform independent manner although 10759b4ee4795Smrg the machinery for including compose files and overriding previously 10760b4ee4795Smrg defined compositions is already in place. 10761b4ee4795Smrg 10762b4ee4795Smrg With the ability to include system level compose files one could greatly 10763b4ee4795Smrg reduce the need for compose file rule duplication and the work needed to 10764b4ee4795Smrg propagate changes in one compose file to others. For example, currently 10765b4ee4795Smrg the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it 10766b4ee4795Smrg is almost identical with en_US.UTF-8 except for perhaps half a dozen 10767b4ee4795Smrg compositions. 10768b4ee4795Smrg 10769b4ee4795Smrg This commit allows one to include system level compose files with the 10770b4ee4795Smrg following kind of syntax: 10771b4ee4795Smrg 10772b4ee4795Smrg include "%S/en_US.UTF-8/Compose" 10773b4ee4795Smrg 10774b4ee4795Smrg 1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42 10775b4ee4795Smrg 2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre 10776b4ee4795Smrg 10777b4ee4795Smrg Signed-off-by: Marko Myllynen <myllynen@redhat.com> 10778b4ee4795Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 10779b4ee4795Smrg 10780b4ee4795Smrgcommit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd 10781b4ee4795SmrgAuthor: Thien-Thi Nguyen <ttn@gnuvola.org> 10782b4ee4795SmrgDate: Tue Dec 1 10:31:47 2009 +0100 10783b4ee4795Smrg 10784b4ee4795Smrg libX11: Fix comment: Invert polarity (direction) of reformat description. 10785b4ee4795Smrg 10786b4ee4795Smrg Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org> 10787b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10788b4ee4795Smrg 10789b4ee4795Smrgcommit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369 10790b4ee4795SmrgAuthor: Osamu Sayama <osamu.sayama@sun.com> 10791b4ee4795SmrgDate: Tue Jan 5 17:26:40 2010 -0800 10792b4ee4795Smrg 10793b4ee4795Smrg set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7 10794b4ee4795Smrg 10795b4ee4795Smrg - In set_fontset_extents, check font_data is not NULL before running 10796b4ee4795Smrg loop that may increment it to a non-NULL invalid pointer. 10797b4ee4795Smrg - Make sure get_rotate_fontname counts the final field 10798b4ee4795Smrg 10799b4ee4795Smrg Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale 10800b4ee4795Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809> 10801b4ee4795Smrg 10802b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10803b4ee4795Smrg Reviewed-by: Adam Jackson <ajax@redhat.com> 10804b4ee4795Smrg 10805b4ee4795Smrgcommit 87529c039050ce3336ff9ce00f1b5a21d15690da 10806b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10807b4ee4795SmrgDate: Tue Jan 5 18:02:37 2010 -0800 10808b4ee4795Smrg 10809b4ee4795Smrg Merge X11, XKBPROTO, & XPROTO pkg-config lists 10810b4ee4795Smrg 10811b4ee4795Smrg Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS 10812b4ee4795Smrg in configure.ac anyway, might as well combine the lists passed to 10813b4ee4795Smrg PKG_CHECK_MODULES to reduce duplication in the flags. 10814b4ee4795Smrg 10815b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10816b4ee4795Smrg Reviewed-by: Rémi Cardona <remi@gentoo.org> 10817b4ee4795Smrg Acked-by: Peter Hutterer <peter.hutterer@who-t.net> 10818b4ee4795Smrg 10819b4ee4795Smrgcommit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44 10820b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10821b4ee4795SmrgDate: Tue Jan 5 17:56:58 2010 -0800 10822b4ee4795Smrg 10823b4ee4795Smrg Add XCompose man page shadow for Compose man page 10824b4ee4795Smrg 10825b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10826b4ee4795Smrg 10827b4ee4795Smrgcommit 02543bba816e065c02cd36e0c9e21519a9ee9c96 10828b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10829b4ee4795SmrgDate: Tue Jan 5 17:47:44 2010 -0800 10830b4ee4795Smrg 10831b4ee4795Smrg Add $(AM_V_GEN) to silence lint rules too 10832b4ee4795Smrg 10833b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10834b4ee4795Smrg 10835b4ee4795Smrgcommit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3 10836b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10837b4ee4795SmrgDate: Tue Jan 5 17:42:42 2010 -0800 10838b4ee4795Smrg 10839b4ee4795Smrg Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us 10840b4ee4795Smrg 10841b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10842b4ee4795Smrg 10843b4ee4795Smrgcommit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19 10844b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10845b4ee4795SmrgDate: Sun Nov 29 10:44:24 2009 -0500 10846b4ee4795Smrg 10847b4ee4795Smrg configure.ac: restore correct order for XORG_DEFAULT_OPTIONS 10848b4ee4795Smrg 10849b4ee4795Smrg It must be following AC_USE_SYSTEM_EXTENSION 10850b4ee4795Smrg 10851b4ee4795Smrgcommit 3dbaa11d1c8705e1b309c6686f354766b651ad20 10852b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10853b4ee4795SmrgDate: Sun Nov 29 10:01:44 2009 -0500 10854b4ee4795Smrg 10855b4ee4795Smrg Add .gitignore in /specs for generated files 10856b4ee4795Smrg 10857b4ee4795Smrg Being in /specs, it will apply for all 3 subdirs 10858b4ee4795Smrg 10859b4ee4795Smrgcommit f45d39d37aab04742e44cd8c3c993aad7587e40c 10860b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10861b4ee4795SmrgDate: Fri Nov 27 20:56:03 2009 -0500 10862b4ee4795Smrg 10863b4ee4795Smrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 10864b4ee4795Smrg 10865b4ee4795Smrg Now that the INSTALL file is generated. 10866b4ee4795Smrg Allows running make maintainer-clean. 10867b4ee4795Smrg 10868b4ee4795Smrgcommit 464390f16d7ed4aa5bf80f89863ba92273075ec2 10869b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10870b4ee4795SmrgDate: Wed Oct 28 14:09:10 2009 -0400 10871b4ee4795Smrg 10872b4ee4795Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 10873b4ee4795Smrg 10874b4ee4795Smrg Add missing INSTALL file. Use standard GNU file on building tarball 10875b4ee4795Smrg README may have been updated 10876b4ee4795Smrg Remove AUTHORS file as it is empty and no content available yet. 10877b4ee4795Smrg Remove NEWS file as it is empty and no content available yet. 10878b4ee4795Smrg 10879b4ee4795Smrgcommit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1 10880b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10881b4ee4795SmrgDate: Tue Oct 27 15:07:25 2009 -0400 10882b4ee4795Smrg 10883b4ee4795Smrg Deploy the new XORG_DEFAULT_OPTIONS #24242 10884b4ee4795Smrg 10885b4ee4795Smrg This macro aggregate a number of existing macros that sets commmon 10886b4ee4795Smrg X.Org components configuration options. It shields the configuration file from 10887b4ee4795Smrg future changes. 10888b4ee4795Smrg 10889b4ee4795Smrgcommit d02f943c98fde2f14319bc57fd9ad77eb9a2a572 10890b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10891b4ee4795SmrgDate: Mon Oct 26 22:08:42 2009 -0400 10892b4ee4795Smrg 10893b4ee4795Smrg Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 10894b4ee4795Smrg 10895b4ee4795Smrg ChangeLog filename is known to Automake and requires no further 10896b4ee4795Smrg coding in the makefile. 10897b4ee4795Smrg 10898b4ee4795Smrgcommit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29 10899b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10900b4ee4795SmrgDate: Thu Oct 22 12:34:19 2009 -0400 10901b4ee4795Smrg 10902b4ee4795Smrg .gitignore: use common defaults with custom section # 24239 10903b4ee4795Smrg 10904b4ee4795Smrg Using common defaults will reduce errors and maintenance. 10905b4ee4795Smrg Only the very small or inexistent custom section need periodic maintenance 10906b4ee4795Smrg when the structure of the component changes. Do not edit defaults. 10907b4ee4795Smrg 10908b4ee4795Smrgcommit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b 10909b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10910b4ee4795SmrgDate: Thu Nov 12 23:05:40 2009 -0800 10911b4ee4795Smrg 10912b4ee4795Smrg Add compose-check.pl to EXTRA_DIST 10913b4ee4795Smrg 10914b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10915b4ee4795Smrg 10916b4ee4795Smrgcommit 54c64267cc8bc98641cc39a22cb7bd71673e89e0 10917b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 10918b4ee4795SmrgDate: Thu Oct 29 17:17:24 2009 +0100 10919b4ee4795Smrg 10920b4ee4795Smrg man: fix XCopyGC argument order 10921b4ee4795Smrg 10922b4ee4795Smrg Ubuntu bug#408337 10923b4ee4795Smrg 10924b4ee4795Smrgcommit aad10032651cdc2a53b359035954454a28d6db67 10925b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10926b4ee4795SmrgDate: Fri Oct 23 13:55:14 2009 -0700 10927b4ee4795Smrg 10928b4ee4795Smrg libX11 1.3.2 10929b4ee4795Smrg 10930b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10931b4ee4795Smrg 10932b4ee4795Smrgcommit 6303ada89cb228c0f9656036f798703afb42fc29 10933b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 10934b4ee4795SmrgDate: Wed Oct 21 12:42:07 2009 +1000 10935b4ee4795Smrg 10936b4ee4795Smrg Add smiley faces to compose sequences. 10937b4ee4795Smrg 10938b4ee4795Smrg I wonder how we could have lasted that long without them. 10939b4ee4795Smrg 10940b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 10941b4ee4795Smrg Acked-by: Daniel Stone <daniel@fooishbar.org> 10942b4ee4795Smrg Acked-By: James Cloos <cloos@jhcloos.com> 10943b4ee4795Smrg 10944b4ee4795Smrgcommit 0e104ebd8628803c27e36b16922ad1edd891325a 10945b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10946b4ee4795SmrgDate: Thu Oct 22 23:12:30 2009 -0700 10947b4ee4795Smrg 10948b4ee4795Smrg Add man page for Compose file format 10949b4ee4795Smrg 10950b4ee4795Smrg Based on grammar description in modules/im/ximcp/imLcPrs.c and 10951b4ee4795Smrg note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml 10952b4ee4795Smrg 10953b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10954b4ee4795Smrg 10955b4ee4795Smrgcommit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5 10956b4ee4795SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 10957b4ee4795SmrgDate: Tue Oct 20 12:46:03 2009 -0700 10958b4ee4795Smrg 10959b4ee4795Smrg Add extra configuration and sanity checks for groff and ps2pdf 10960b4ee4795Smrg 10961b4ee4795Smrg 1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these 10962b4ee4795Smrg environment variables. 10963b4ee4795Smrg 2) Check that groff -ms works 10964b4ee4795Smrg 10965b4ee4795Smrg Some distributions ship the ms macros as a separate package which may 10966b4ee4795Smrg not be installed together with groff, so we need to make sure that groff 10967b4ee4795Smrg works and the required macros are actually installed before attempting 10968b4ee4795Smrg to build the specs. 10969b4ee4795Smrg 10970b4ee4795Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 10971b4ee4795Smrg Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> 10972b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10973b4ee4795Smrg 10974b4ee4795Smrgcommit d3f801fd2f9198eaad6797414dba652f9c006c6d 10975b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10976b4ee4795SmrgDate: Sun Oct 18 17:34:53 2009 -0500 10977b4ee4795Smrg 10978b4ee4795Smrg Fix VPATH build of libX11 specs 10979b4ee4795Smrg 10980b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 10981b4ee4795Smrg 10982b4ee4795Smrgcommit ad15e1a89d30ccc11d80745897b83def1448e8c0 10983b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10984b4ee4795SmrgDate: Sat Oct 17 16:14:34 2009 -0700 10985b4ee4795Smrg 10986b4ee4795Smrg libX11 1.3.1 10987b4ee4795Smrg 10988b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10989b4ee4795Smrg 10990b4ee4795Smrgcommit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594 10991b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 10992b4ee4795SmrgDate: Sat Oct 17 16:28:25 2009 -0700 10993b4ee4795Smrg 10994b4ee4795Smrg Fix make distcheck 10995b4ee4795Smrg 10996b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 10997b4ee4795Smrg 10998b4ee4795Smrgcommit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed 10999b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11000b4ee4795SmrgDate: Fri Oct 16 19:25:35 2009 -0700 11001b4ee4795Smrg 11002b4ee4795Smrg Use $(AM_V_GEN) to silence echo commands for generating shadow man pages 11003b4ee4795Smrg 11004b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11005b4ee4795Smrg 11006b4ee4795Smrgcommit 4e66da0783b2e5e3b288aaecd3c89396ed425c20 11007b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11008b4ee4795SmrgDate: Wed Oct 14 16:18:24 2009 -0700 11009b4ee4795Smrg 11010b4ee4795Smrg Move libX11 & XIM/locale specs from xorg-docs 11011b4ee4795Smrg 11012b4ee4795Smrg If groff is found, and --disable-specs is not passed to configure, 11013b4ee4795Smrg specs will be converted to text, html and ps (or pdf if ps2pdf is 11014b4ee4795Smrg found) and installed to $(docdir) 11015b4ee4795Smrg 11016b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11017b4ee4795Smrg 11018b4ee4795Smrgcommit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b 11019b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 11020b4ee4795SmrgDate: Tue Oct 13 19:15:51 2009 -0500 11021b4ee4795Smrg 11022b4ee4795Smrg Provide _Xsetlocale compat wrappers on Cygwin 11023b4ee4795Smrg 11024b4ee4795Smrg Previous versions of Cygwin did not have proper locale support, so Cygwin/X 11025b4ee4795Smrg defined X_LOCALE, using _Xsetlocale instead. Cygwin 1.7 has added locale 11026b4ee4795Smrg support, but we can't remove the _Xsetlocale entry point without breaking 11027b4ee4795Smrg ABI. 11028b4ee4795Smrg 11029b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 11030b4ee4795Smrg 11031b4ee4795Smrgcommit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0 11032b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 11033b4ee4795SmrgDate: Tue Oct 13 19:15:49 2009 -0500 11034b4ee4795Smrg 11035b4ee4795Smrg dolt: add Cygwin to supported platforms 11036b4ee4795Smrg 11037b4ee4795Smrg Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 11038b4ee4795Smrg 11039b4ee4795Smrgcommit a2c8e3e34b15b57ff881a52101fc961a602f35e4 11040b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11041b4ee4795SmrgDate: Wed Oct 14 13:23:30 2009 -0700 11042b4ee4795Smrg 11043b4ee4795Smrg Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris 11044b4ee4795Smrg 11045b4ee4795Smrg Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code 11046b4ee4795Smrg 11047b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11048b4ee4795Smrg 11049b4ee4795Smrgcommit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051 11050b4ee4795SmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 11051b4ee4795SmrgDate: Tue Feb 10 17:47:25 2009 +0000 11052b4ee4795Smrg 11053b4ee4795Smrg Include sys/select.h for select() and struct timeval, if it exists 11054b4ee4795Smrg 11055b4ee4795Smrg This is a cygwin build fix 11056b4ee4795Smrg 11057b4ee4795Smrgcommit 383165916ddac91740d4c780174d4c0d07cdb994 11058b4ee4795SmrgAuthor: Xake <xake@rymdraket.net> 11059b4ee4795SmrgDate: Sun Sep 27 11:16:36 2009 +0200 11060b4ee4795Smrg 11061b4ee4795Smrg Use AM_V_GEN instead of customized macros for AM_SILENT_RULES 11062b4ee4795Smrg 11063b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11064b4ee4795Smrg 11065b4ee4795Smrgcommit 854269d55cdda8caf425515bfed2855e211a5ada 11066b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 11067b4ee4795SmrgDate: Tue Oct 6 16:11:24 2009 +0200 11068b4ee4795Smrg 11069b4ee4795Smrg configure: quote argument to m4_pattern_forbid 11070b4ee4795Smrg 11071b4ee4795Smrg Without this, configure spits out 11072b4ee4795Smrg ../configure: line 12364: ac_fn_c_check_member: command not found 11073b4ee4795Smrg ../configure: line 12378: ac_fn_c_check_type: command not found 11074b4ee4795Smrg 11075b4ee4795Smrg Also anchor the pattern to make it stricter. 11076b4ee4795Smrg 11077b4ee4795Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 11078b4ee4795Smrg 11079b4ee4795Smrgcommit 3bb020587ce74e0737ec7aceb20041f1e77d3b87 11080b4ee4795SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 11081b4ee4795SmrgDate: Thu Oct 1 22:20:38 2009 -0700 11082b4ee4795Smrg 11083b4ee4795Smrg Split CFLAGS into CPPFLAGS and CFLAGS 11084b4ee4795Smrg 11085b4ee4795Smrg On some build systems, CPPFLAGS is set to "-I/some/prefix/include". If older 11086b4ee4795Smrg X11 headers are in /some/prefix/include, they will be preferred over the 11087b4ee4795Smrg shipped headers. This corrects that problem. 11088b4ee4795Smrg 11089b4ee4795Smrgcommit d54caf1c9c55af8247621b7ba6afb20b23699839 11090b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11091b4ee4795SmrgDate: Fri Oct 2 10:59:08 2009 +1000 11092b4ee4795Smrg 11093b4ee4795Smrg libX11 1.3 11094b4ee4795Smrg 11095b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11096b4ee4795Smrg 11097b4ee4795Smrgcommit dd201bcf9e7f8863b7ef32273a5ef021678133c1 11098b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11099b4ee4795SmrgDate: Fri Oct 2 12:10:29 2009 +1000 11100b4ee4795Smrg 11101b4ee4795Smrg nls: remove duplicate Compose sequences from pt_BR.UTF-8 11102b4ee4795Smrg 11103b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11104b4ee4795Smrg 11105b4ee4795Smrgcommit a293ae9e83739067fc92db1a39c262857bc2283e 11106b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11107b4ee4795SmrgDate: Fri Sep 25 11:19:41 2009 +1000 11108b4ee4795Smrg 11109b4ee4795Smrg Add XF86TouchpadToggle to XKeysymDB 11110b4ee4795Smrg 11111b4ee4795Smrg Lenovo laptops provide a key to enable or disable the touchpad and the 11112b4ee4795Smrg trackstick. This key is usually located on Fn + F8. 11113b4ee4795Smrg 11114b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11115b4ee4795Smrg Acked-by: Adam Jackson <ajax@redhat.com> 11116b4ee4795Smrg 11117b4ee4795Smrgcommit 69839f8903a24eab08f17a781b3797fb64dce9cf 11118b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11119b4ee4795SmrgDate: Sun Sep 27 10:34:16 2009 -0700 11120b4ee4795Smrg 11121b4ee4795Smrg Bug 24173: libX11 from git fails to build with automake older then 1.11 11122b4ee4795Smrg 11123b4ee4795Smrg AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the 11124b4ee4795Smrg Makefiles, instead of after. 11125b4ee4795Smrg <http://bugs.freedesktop.org/show_bug.cgi?id=24173> 11126b4ee4795Smrg 11127b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11128b4ee4795Smrg 11129b4ee4795Smrgcommit f5effd041f58ef07703cca2b4f396758811e1eec 11130b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11131b4ee4795SmrgDate: Wed Apr 15 10:59:23 2009 -0700 11132b4ee4795Smrg 11133b4ee4795Smrg Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8 11134b4ee4795Smrg 11135b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11136b4ee4795Smrg 11137b4ee4795Smrgcommit 3843778358d3a0cd6a2d07dba5dd061248053ac9 11138b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11139b4ee4795SmrgDate: Wed Apr 15 10:56:09 2009 -0700 11140b4ee4795Smrg 11141b4ee4795Smrg Add perl script to check for duplicate or conflicting compose file entries 11142b4ee4795Smrg 11143b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11144b4ee4795Smrg 11145b4ee4795Smrgcommit 19cc5e1fa17a285045662820a8b4de2a0f9a194d 11146b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11147b4ee4795SmrgDate: Fri Sep 18 17:10:04 2009 -0700 11148b4ee4795Smrg 11149b4ee4795Smrg Use make rules instead of shell for loops to generate shadow man pages 11150b4ee4795Smrg 11151b4ee4795Smrg Allows parallel make and simpler build logs/error reporting 11152b4ee4795Smrg 11153b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11154b4ee4795Smrg 11155b4ee4795Smrgcommit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b 11156b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11157b4ee4795SmrgDate: Fri Sep 18 16:58:53 2009 -0700 11158b4ee4795Smrg 11159b4ee4795Smrg Add AM_SILENT_RULES support for cpp rules for man & nls files 11160b4ee4795Smrg 11161b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11162b4ee4795Smrg 11163b4ee4795Smrgcommit bfa19cddd8546b4930a773f3bbd81137c362d82b 11164b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11165b4ee4795SmrgDate: Fri Sep 18 16:58:16 2009 -0700 11166b4ee4795Smrg 11167b4ee4795Smrg Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS 11168b4ee4795Smrg 11169b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11170b4ee4795Smrg 11171b4ee4795Smrgcommit 51396066c8003a96a6399c9a4bed2a81e512b582 11172b4ee4795SmrgAuthor: Mikko Niskanen <mikko.niskanen@iki.fi> 11173b4ee4795SmrgDate: Fri Sep 4 10:11:15 2009 +1000 11174b4ee4795Smrg 11175b4ee4795Smrg Fix wrong typedef on HP-UX (#18998) 11176b4ee4795Smrg 11177b4ee4795Smrg shl_dt doesn't exist, the type is shl_t. 11178b4ee4795Smrg 11179b4ee4795Smrg X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998> 11180b4ee4795Smrg 11181b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11182b4ee4795Smrg 11183b4ee4795Smrgcommit 615220a312b9430a580fe6dcf51703c6ef244f66 11184b4ee4795SmrgAuthor: Paul Bender <pebender@gmail.com> 11185b4ee4795SmrgDate: Fri Sep 4 09:57:10 2009 +1000 11186b4ee4795Smrg 11187b4ee4795Smrg Don't require xdmcp in configure.ac (#22583) 11188b4ee4795Smrg 11189b4ee4795Smrg X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583> 11190b4ee4795Smrg 11191b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11192b4ee4795Smrg 11193b4ee4795Smrgcommit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29 11194b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11195b4ee4795SmrgDate: Thu Sep 3 14:02:44 2009 +1000 11196b4ee4795Smrg 11197b4ee4795Smrg man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499) 11198b4ee4795Smrg 11199b4ee4795Smrg X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499> 11200b4ee4795Smrg 11201b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11202b4ee4795Smrg 11203b4ee4795Smrgcommit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85 11204b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11205b4ee4795SmrgDate: Thu Sep 3 12:05:25 2009 +1000 11206b4ee4795Smrg 11207b4ee4795Smrg man: XQueryTree may return BadWindow. (#23416) 11208b4ee4795Smrg 11209b4ee4795Smrg X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX> 11210b4ee4795Smrg 11211b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11212b4ee4795Smrg 11213b4ee4795Smrgcommit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65 11214b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11215b4ee4795SmrgDate: Fri Aug 28 23:07:58 2009 +0800 11216b4ee4795Smrg 11217b4ee4795Smrg Fix version tag in .TH line of several XKB man pages 11218b4ee4795Smrg 11219b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11220b4ee4795Smrg 11221b4ee4795Smrgcommit bf24400936c10af6f5aa0c75cfe2207ab9b680b4 11222b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11223b4ee4795SmrgDate: Fri Aug 28 23:04:38 2009 +0800 11224b4ee4795Smrg 11225b4ee4795Smrg XkbSetDeviceButtonActions.man: remove non-existent actions argument 11226b4ee4795Smrg 11227b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11228b4ee4795Smrg 11229b4ee4795Smrgcommit 53affa9335116f2d367f041e6502a411d4619e47 11230b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11231b4ee4795SmrgDate: Fri Aug 28 23:00:17 2009 +0800 11232b4ee4795Smrg 11233b4ee4795Smrg XkbQueryExtension.man: Arguments should be pointers 11234b4ee4795Smrg 11235b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11236b4ee4795Smrg 11237b4ee4795Smrgcommit 6233948885acc5873a5abddfff235afec555f3c2 11238b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11239b4ee4795SmrgDate: Fri Aug 28 22:53:03 2009 +0800 11240b4ee4795Smrg 11241b4ee4795Smrg XkbSAActionSetCtrls.man: Fix typo in formatting macro 11242b4ee4795Smrg 11243b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11244b4ee4795Smrg 11245b4ee4795Smrgcommit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a 11246b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 11247b4ee4795SmrgDate: Fri Aug 28 22:49:31 2009 +0800 11248b4ee4795Smrg 11249b4ee4795Smrg Convert Xkb API man pages to ANSI prototypes 11250b4ee4795Smrg 11251b4ee4795Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 11252b4ee4795Smrg 11253b4ee4795Smrgcommit fa2eecca85baab9616f7143cc1a853a594b4a90c 11254b4ee4795SmrgAuthor: James Cloos <cloos@jhcloos.com> 11255b4ee4795SmrgDate: Mon Aug 24 06:35:17 2009 -0400 11256b4ee4795Smrg 11257b4ee4795Smrg Add some (Serbian) Cyrillic NFD sequences. 11258b4ee4795Smrg 11259b4ee4795Smrg A number of characters in use in the various countries which use the 11260b4ee4795Smrg Cyrillic script do not appear as pre-composed characters in The UCS 11261b4ee4795Smrg or Unicode; they are only available as combining-character sequences. 11262b4ee4795Smrg 11263b4ee4795Smrg This commit adds support for using (prefix) dead keys and Multi_key- 11264b4ee4795Smrg initiated sequences to enter a number of these combining-character 11265b4ee4795Smrg sequences. This ensures that users can enter these scripts even 11266b4ee4795Smrg when using the current Cyrillic keymaps, which lack support for 11267b4ee4795Smrg the combining characters. 11268b4ee4795Smrg 11269b4ee4795Smrg Please see the discussions on the xkb mailing list. 11270b4ee4795Smrg 11271b4ee4795Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 11272b4ee4795Smrg 11273b4ee4795Smrgcommit d1bdc909f9246119696c8b0d9afb7bd8afb71b60 11274b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 11275b4ee4795SmrgDate: Wed Aug 5 18:14:23 2009 +0200 11276b4ee4795Smrg 11277b4ee4795Smrg man/xkb: delete spurious newline in .TH headers 11278b4ee4795Smrg 11279b4ee4795Smrgcommit ee723b83b24682db833a2f0abd96cd319b8a62af 11280b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 11281b4ee4795SmrgDate: Wed Aug 5 16:45:19 2009 +0200 11282b4ee4795Smrg 11283b4ee4795Smrg man: use __libmansuffix__ instead of 3X11 for references to other pages 11284b4ee4795Smrg 11285b4ee4795Smrgcommit 595e204feb82c798a92eea41fea03be6476ac181 11286b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 11287b4ee4795SmrgDate: Wed Aug 5 16:43:36 2009 +0200 11288b4ee4795Smrg 11289b4ee4795Smrg man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections 11290b4ee4795Smrg 11291b4ee4795Smrgcommit 9da7e230d5320e1556ad2084fcd06ee7994385ea 11292b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11293b4ee4795SmrgDate: Wed Aug 5 14:15:02 2009 +1000 11294b4ee4795Smrg 11295b4ee4795Smrg Bump to 1.2.99.901 (1.3 RC1) 11296b4ee4795Smrg 11297b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11298b4ee4795Smrg 11299b4ee4795Smrgcommit 8f78c7b4e3570cd46c5a220982963c17fe2157b8 11300b4ee4795SmrgAuthor: Filippo Giunchedi <filippo@debian.org> 11301b4ee4795SmrgDate: Sat Jun 6 16:56:54 2009 +0200 11302b4ee4795Smrg 11303b4ee4795Smrg nls: add {left,right}wards arrow to compose table 11304b4ee4795Smrg 11305b4ee4795Smrg Debian bug#532117 <http://bugs.debian.org/532117> 11306b4ee4795Smrg 11307b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11308b4ee4795Smrg 11309b4ee4795Smrgcommit 7949bfa00390241d994f32463e50d4bd78920568 11310b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 11311b4ee4795SmrgDate: Fri Jul 31 13:33:52 2009 +0200 11312b4ee4795Smrg 11313b4ee4795Smrg Update library version for new symbols 11314b4ee4795Smrg 11315b4ee4795Smrg Commit 554f755e5545f63d3c8f299297927238da155773 added generic event 11316b4ee4795Smrg cookie handling. Bump libX11 version number accordingly. 11317b4ee4795Smrg 11318b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11319b4ee4795Smrg 11320b4ee4795Smrgcommit 640fec5f4feacd01a00eea3dcd4edb220907d3dc 11321b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org> 11322b4ee4795SmrgDate: Sun Aug 2 17:18:31 2009 +0200 11323b4ee4795Smrg 11324b4ee4795Smrg Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h 11325b4ee4795Smrg 11326b4ee4795Smrg X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252> 11327b4ee4795Smrg 11328b4ee4795Smrg Reported-by: Riku Salminen <rsalmin2@cc.hut.fi> 11329b4ee4795Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 11330b4ee4795Smrg 11331b4ee4795Smrgcommit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7 11332b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11333b4ee4795SmrgDate: Wed Jul 29 08:44:09 2009 +1000 11334b4ee4795Smrg 11335b4ee4795Smrg Fix compiler warning 'unused variable qelt' 11336b4ee4795Smrg 11337b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11338b4ee4795Smrg 11339b4ee4795Smrgcommit 03f4907e14f5755e72309f08742977b871e81e33 11340b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11341b4ee4795SmrgDate: Wed Jul 29 08:34:57 2009 +1000 11342b4ee4795Smrg 11343b4ee4795Smrg Add utlist.h to the Makefile.am 11344b4ee4795Smrg 11345b4ee4795Smrg utlist.h contains the linked list macros, it was added with the recent 11346b4ee4795Smrg addition of event cookies but utlist.h wasn't added to the Makefile.am. As a 11347b4ee4795Smrg result, make dist failed. 11348b4ee4795Smrg 11349b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11350b4ee4795Smrg 11351b4ee4795Smrgcommit 554f755e5545f63d3c8f299297927238da155773 11352b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11353b4ee4795SmrgDate: Fri Jun 26 11:27:43 2009 +1000 11354b4ee4795Smrg 11355b4ee4795Smrg Add generic event cookie handling to libX11. 11356b4ee4795Smrg 11357b4ee4795Smrg Generic events require more bytes than Xlib provides in the standard XEvent. 11358b4ee4795Smrg Memory allocated by the extension and stored as pointers inside the event is 11359b4ee4795Smrg prone to leak by simple 'while (1) { XNextEvent(...); }' loops. 11360b4ee4795Smrg 11361b4ee4795Smrg This patch adds cookie handling for generic events. Extensions may register 11362b4ee4795Smrg a cookie handler in addition to the normal event vectors. If an extension 11363b4ee4795Smrg has registered a cookie handler, _all_ generic events for this extensions 11364b4ee4795Smrg must be handled through cookies. Otherwise, the default event handler is 11365b4ee4795Smrg used. 11366b4ee4795Smrg 11367b4ee4795Smrg The cookie handler must return an XGenericEventCookie with a pointer to the 11368b4ee4795Smrg data.The rest of the event (type, serialNumber, etc.) are to be filled as 11369b4ee4795Smrg normal. When a client retrieves such a cookie event, the data is stored in 11370b4ee4795Smrg an internal queue (the 'cookiejar'). This data is freed on the next call to 11371b4ee4795Smrg XNextEvent(). 11372b4ee4795Smrg 11373b4ee4795Smrg New extension interfaces: 11374b4ee4795Smrg XESetWireToEventCookie(display, extension_number, cookie_handler) 11375b4ee4795Smrg 11376b4ee4795Smrg Where cookie_handler must set cookie->data. The data pointer is of arbitray 11377b4ee4795Smrg size and type but must be a single memory block. This memory block 11378b4ee4795Smrg represents the actual extension's event. 11379b4ee4795Smrg 11380b4ee4795Smrg New client interfaces: 11381b4ee4795Smrg XGetEventData(display, *cookie); 11382b4ee4795Smrg XFreeEventData(display, *cookie); 11383b4ee4795Smrg 11384b4ee4795Smrg If the client needs the actual event data, it must call XGetEventData() with 11385b4ee4795Smrg the cookie. This returns the data pointer (and removes it from the cookie 11386b4ee4795Smrg jar) and the client is then responsible for freeing the event with 11387b4ee4795Smrg XFreeEventData(). It is safe to call either function with a non-cookie 11388b4ee4795Smrg event. Events unclaimed or not handled by the XGetEventData() are cleaned up 11389b4ee4795Smrg automatically. 11390b4ee4795Smrg 11391b4ee4795Smrg Example client code: 11392b4ee4795Smrg XEvent event; 11393b4ee4795Smrg XGenericEventCookie *cookie = &ev; 11394b4ee4795Smrg 11395b4ee4795Smrg XNextEvent(display, &event); 11396b4ee4795Smrg if (XGetEventData(display, cookie)) { 11397b4ee4795Smrg XIEvent *xievent = cookie->data; 11398b4ee4795Smrg ... 11399b4ee4795Smrg } else if (cookie->type == GenericEvent) { 11400b4ee4795Smrg /* handle generic event */ 11401b4ee4795Smrg } else { 11402b4ee4795Smrg /* handle extension/core event */ 11403b4ee4795Smrg } 11404b4ee4795Smrg XFreeEventData(display, cookie); 11405b4ee4795Smrg 11406b4ee4795Smrg Cookies are not multi-threading safe. Clients that use XGetEventData() must 11407b4ee4795Smrg lock between XNextEvent and XGetEventData to avoid other threads freeing 11408b4ee4795Smrg cookies. 11409b4ee4795Smrg 11410b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11411b4ee4795Smrg 11412b4ee4795Smrgcommit d7675cb8fa7155e7aff1459636a117a97aa1bf28 11413b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 11414b4ee4795SmrgDate: Mon Jul 6 13:17:35 2009 +1000 11415b4ee4795Smrg 11416b4ee4795Smrg Bump to 1.2.99.1 11417b4ee4795Smrg 11418b4ee4795Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 11419b4ee4795Smrg 114202e9c7c8cSmrgcommit 75fe48e7a42a685d7098e8d7108b9b956c471563 114212e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 114222e9c7c8cSmrgDate: Fri Jul 10 14:07:34 2009 +1000 114232e9c7c8cSmrg 114242e9c7c8cSmrg Bump to 1.2.2 114252e9c7c8cSmrg 114262e9c7c8cSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 114272e9c7c8cSmrg 114282e9c7c8cSmrgcommit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea 114292e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 114302e9c7c8cSmrgDate: Thu Jul 2 09:10:25 2009 +1000 114312e9c7c8cSmrg 114322e9c7c8cSmrg XMaskEvent/XCheckMaskedEvents must not check for GenericEvents. 114332e9c7c8cSmrg 114342e9c7c8cSmrg GenericEvent cannot be selected for in the core event masks and they must 114352e9c7c8cSmrg thus be treated like extension events. 114362e9c7c8cSmrg 114372e9c7c8cSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 114382e9c7c8cSmrg 114392e9c7c8cSmrgcommit c1bf65b89f4e361f6178a73dd5334c8f2bd95732 114402e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 114412e9c7c8cSmrgDate: Thu Jul 2 09:06:05 2009 +1000 114422e9c7c8cSmrg 114432e9c7c8cSmrg XWindowEvent/XCheckWindowEvent must not return GenericEvents. 114442e9c7c8cSmrg 114452e9c7c8cSmrg GenericEvents have no fixed position for the window, so they must be treated 114462e9c7c8cSmrg like extension events. 114472e9c7c8cSmrg 114482e9c7c8cSmrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 114492e9c7c8cSmrg 114502e9c7c8cSmrgcommit 38f9054554d63525d2dd51aafb5eb57821158ab9 114512e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 114522e9c7c8cSmrgDate: Mon Jun 15 19:00:43 2009 -0700 114532e9c7c8cSmrg 114542e9c7c8cSmrg Drop ancient USG SysV #ifdefs 114552e9c7c8cSmrg 114562e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 114572e9c7c8cSmrg 114582e9c7c8cSmrgcommit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42 114592e9c7c8cSmrgAuthor: Adam Jackson <ajax@redhat.com> 114602e9c7c8cSmrgDate: Fri Jun 12 12:44:01 2009 -0400 114612e9c7c8cSmrg 114622e9c7c8cSmrg Remove X_NOT_STDC_ENV usage. (#6527) 114632e9c7c8cSmrg 114642e9c7c8cSmrgcommit 6dd74d7fb414ca1e99bae5c13e333961f396eb36 114652e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 114662e9c7c8cSmrgDate: Fri May 29 11:18:11 2009 +0200 114672e9c7c8cSmrg 114682e9c7c8cSmrg nls: remove more duplicated aliases 114692e9c7c8cSmrg 114702e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 114712e9c7c8cSmrg 114722e9c7c8cSmrgcommit e4b0899f516da224010e68bd2d953d5293d94993 114732e9c7c8cSmrgAuthor: parag <parag@rawhideTM.pnq.redhat.com> 114742e9c7c8cSmrgDate: Thu May 28 11:29:35 2009 +0530 114752e9c7c8cSmrg 114762e9c7c8cSmrg nls: Add pa_PK locale information and make pa_IN as default for pa. 114772e9c7c8cSmrg 114782e9c7c8cSmrg X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954> 114792e9c7c8cSmrg 114802e9c7c8cSmrg [jcristau: removed the pa_PK.UTF-8 alias to itself] 114812e9c7c8cSmrg 114822e9c7c8cSmrg Signed-off-by: parag <pnemade@redhat.com> 114832e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 114842e9c7c8cSmrg 114852e9c7c8cSmrgcommit f0ea1f6d51145592f8617854f9320ec5dbff3299 114862e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 114872e9c7c8cSmrgDate: Fri May 29 10:58:20 2009 +0200 114882e9c7c8cSmrg 114892e9c7c8cSmrg nls: remove broken sd_IN.UTF-8 alias 114902e9c7c8cSmrg 114912e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 114922e9c7c8cSmrg 114932e9c7c8cSmrgcommit e29e010dabdb17d6498f2ef1786f69b8830c18ca 114942e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 114952e9c7c8cSmrgDate: Fri May 29 10:57:43 2009 +0200 114962e9c7c8cSmrg 114972e9c7c8cSmrg nls: remove duplicated en_US* aliases 114982e9c7c8cSmrg 114992e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 115002e9c7c8cSmrg 115012e9c7c8cSmrgcommit a89a300d87852c84389ad97db66dcb8930cb45dd 115022e9c7c8cSmrgAuthor: Caolan McNamara <caolanm@redhat.com> 115032e9c7c8cSmrgDate: Thu May 21 18:41:05 2009 +0200 115042e9c7c8cSmrg 115052e9c7c8cSmrg man: missing space in XAllocColor man page 115062e9c7c8cSmrg 115072e9c7c8cSmrg X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854> 115082e9c7c8cSmrg 115092e9c7c8cSmrgcommit c1c001e36504fd304f76f69bf6af3643225c49ea 115102e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com> 115112e9c7c8cSmrgDate: Wed May 13 13:03:54 2009 -0400 115122e9c7c8cSmrg 115132e9c7c8cSmrg [nls] Replace remaining UCS Combining Characters in Compose sequences. 115142e9c7c8cSmrg 115152e9c7c8cSmrg The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 115162e9c7c8cSmrg where the keysym is used as a dead_key, with an actual dead_key symbol. 115172e9c7c8cSmrg 115182e9c7c8cSmrg The only remaining instances of UCS combining characters in the 115192e9c7c8cSmrg compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY 115202e9c7c8cSmrg used as a suffix in Multi_key-initiated sequences to create 115212e9c7c8cSmrg mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF 115222e9c7c8cSmrg from ∈ U+2208 ELEMENT OF. 115232e9c7c8cSmrg 115242e9c7c8cSmrgcommit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f 115252e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com> 115262e9c7c8cSmrgDate: Wed May 13 09:58:59 2009 -0400 115272e9c7c8cSmrg 115282e9c7c8cSmrg [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences. 115292e9c7c8cSmrg 115302e9c7c8cSmrg This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>, 115312e9c7c8cSmrg where the matching keysym is used as a dead_key, and for which alternative 115322e9c7c8cSmrg compose sequences exist. 115332e9c7c8cSmrg 115342e9c7c8cSmrgcommit 79f47e6dff2f0a0b673bbfecc47528edca814baa 115352e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com> 115362e9c7c8cSmrgDate: Fri May 8 20:11:54 2009 -0400 115372e9c7c8cSmrg 115382e9c7c8cSmrg [nls] Remove combining_ keysyms from the Compose files 115392e9c7c8cSmrg 115402e9c7c8cSmrg Some of the UTF-8 Compose tables included combining_ keysyms in 115412e9c7c8cSmrg the compose sequences as though they were dead symbols. This 115422e9c7c8cSmrg is contrary to how combining characters are used in the UCS. 115432e9c7c8cSmrg Therefore, those lines have been removed from the Compose tables. 115442e9c7c8cSmrg 115452e9c7c8cSmrg There were also some combining_ keysyms as targets. As those 115462e9c7c8cSmrg are not included in x11proto’s keysymdef.h, and as those do 115472e9c7c8cSmrg exist there as Uxxxx keysyms, they are replaced with the Uxxxx 115482e9c7c8cSmrg keysym names. 115492e9c7c8cSmrg 115502e9c7c8cSmrg This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107 115512e9c7c8cSmrg and is based on attachment 25644 by samuel.thibault@ens-lyon.org. 115522e9c7c8cSmrg 115532e9c7c8cSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 115542e9c7c8cSmrg 115552e9c7c8cSmrgcommit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9 115562e9c7c8cSmrgAuthor: parag <pnemade@redhat.com> 115572e9c7c8cSmrgDate: Tue May 5 16:50:47 2009 +0530 115582e9c7c8cSmrg 115592e9c7c8cSmrg libX11: Add new Indic language information to nls directory files. #21560 115602e9c7c8cSmrg 115612e9c7c8cSmrg Signed-off-by: parag <pnemade@redhat.com> 115622e9c7c8cSmrg 115632e9c7c8cSmrgcommit aaf81096eb44b4c2812108721ba02738391884da 115642e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 115652e9c7c8cSmrgDate: Sat May 2 01:38:14 2009 -0700 115662e9c7c8cSmrg 115672e9c7c8cSmrg Correct return type in XkbGetKeyboard man page 115682e9c7c8cSmrg 115692e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 115702e9c7c8cSmrg 115712e9c7c8cSmrgcommit 2bef065b70f70af520b5de8fb23529254d15f003 115722e9c7c8cSmrgAuthor: Christoph Pfister <christophpfister@gmail.com> 115732e9c7c8cSmrgDate: Mon Apr 27 22:32:57 2009 -0700 115742e9c7c8cSmrg 115752e9c7c8cSmrg X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c) 115762e9c7c8cSmrg 115772e9c7c8cSmrg http://bugs.freedesktop.org/show_bug.cgi?id=21117 115782e9c7c8cSmrg 115792e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 115802e9c7c8cSmrg 115812e9c7c8cSmrgcommit 5c1cde105db10df24d3c532f032cbc59050c7313 115822e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 115832e9c7c8cSmrgDate: Fri Apr 17 22:14:47 2009 -0700 115842e9c7c8cSmrg 115852e9c7c8cSmrg Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE 115862e9c7c8cSmrg 115872e9c7c8cSmrg Raises minimum autoconf version required to 2.60 115882e9c7c8cSmrg 115892e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 115902e9c7c8cSmrg 115912e9c7c8cSmrgcommit 84b7a91ef84f345384e4b0e13907385ca3ca3255 115922e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 115932e9c7c8cSmrgDate: Tue Apr 14 15:59:57 2009 +0100 115942e9c7c8cSmrg 115952e9c7c8cSmrg Fix fi_FI.UTF-8, again 115962e9c7c8cSmrg 115972e9c7c8cSmrg Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose 115982e9c7c8cSmrg file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file. 115992e9c7c8cSmrg This reverts it back to using the en_US.UTF-8 one. 116002e9c7c8cSmrg 116012e9c7c8cSmrgcommit 128daff4422f973ea40dd1e31b2db230e643549e 116022e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 116032e9c7c8cSmrgDate: Thu Apr 9 12:01:07 2009 +0700 116042e9c7c8cSmrg 116052e9c7c8cSmrg Thai XIM not retrieve MB surrounding on UTF-8 LC 116062e9c7c8cSmrg 116072e9c7c8cSmrg On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps 116082e9c7c8cSmrg that use X Input Method. 116092e9c7c8cSmrg 116102e9c7c8cSmrg This is because GTK+ imxim immodule passes surrounding text in locale encoding, 116112e9c7c8cSmrg which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the 116122e9c7c8cSmrg multi-byte StringConversionText response for the StringConversionCallback to 116132e9c7c8cSmrg always be TIS-620, by retrieving a single byte and using it as-is. 116142e9c7c8cSmrg 116152e9c7c8cSmrg If the Thai XIM tries to convert the multi-byte text based on locale codeset 116162e9c7c8cSmrg before using it, it will work again. 116172e9c7c8cSmrg 116182e9c7c8cSmrg X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759> 116192e9c7c8cSmrg 116202e9c7c8cSmrg Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 116212e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 116222e9c7c8cSmrg 116232e9c7c8cSmrgcommit e09f0d227fbf95b6252759af9d426efd57686f9f 116242e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 116252e9c7c8cSmrgDate: Thu Apr 9 11:47:55 2009 +0700 116262e9c7c8cSmrg 116272e9c7c8cSmrg Thai XIM not filters when NumLock or CapsLock is on 116282e9c7c8cSmrg 116292e9c7c8cSmrg The Thai XIM component in libx11 activated on 'th*' locales normally filters 116302e9c7c8cSmrg input sequence according to orthographic rules. However, when NumLock/CapsLock 116312e9c7c8cSmrg is on, this stops working. All sequences are passed through. 116322e9c7c8cSmrg 116332e9c7c8cSmrg This is caused by missing masks in _XimThaiFilter(), which normally screens out 116342e9c7c8cSmrg certain special keys from entering orthographic rules. Unfortunately, this 116352e9c7c8cSmrg included events with NumLock/CapsLock on. Negating the masks from the check 116362e9c7c8cSmrg allows the events to be tested by the rules. 116372e9c7c8cSmrg 116382e9c7c8cSmrg X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517> 116392e9c7c8cSmrg 116402e9c7c8cSmrg Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 116412e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 116422e9c7c8cSmrg 116432e9c7c8cSmrgcommit d108d3c706af3502820b5202564488ea19908b77 116442e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 116452e9c7c8cSmrgDate: Thu Apr 9 11:25:25 2009 +0700 116462e9c7c8cSmrg 116472e9c7c8cSmrg CharSet-to-CompoundText Conversion Failed for Thai Locales 116482e9c7c8cSmrg 116492e9c7c8cSmrg SCIM fails to commit Thai input characters on Thai locales, because it commits 116502e9c7c8cSmrg string in compound text form, which was converted via 116512e9c7c8cSmrg XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8 116522e9c7c8cSmrg declares cs1's ct_encoding as TIS620-0:GR, which was commented out in 116532e9c7c8cSmrg src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence. 116542e9c7c8cSmrg So, declaring cs1 as ISO8859-11:GR instead makes it work. 116552e9c7c8cSmrg 116562e9c7c8cSmrg Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds 116572e9c7c8cSmrg support for UTF-8 input. 116582e9c7c8cSmrg 116592e9c7c8cSmrg And, along discussion in the bug, a similar problem was found for fontset, too, 116602e9c7c8cSmrg by causing delays on X apps startups on systems without tis620-0 fonts. This 116612e9c7c8cSmrg is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries 116622e9c7c8cSmrg by default for Thai X fonts. So, Thai fontset charset is also patched. 116632e9c7c8cSmrg 116642e9c7c8cSmrg X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475> 116652e9c7c8cSmrg 116662e9c7c8cSmrg Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net> 116672e9c7c8cSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 116682e9c7c8cSmrg 116692e9c7c8cSmrgcommit fd62d3318c846cd43d66a505946e94704d7d83dc 116702e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 116712e9c7c8cSmrgDate: Wed Apr 8 19:42:25 2009 -0700 116722e9c7c8cSmrg 116732e9c7c8cSmrg Revert "Change masculine to ordmasculine in Compose file comments" 116742e9c7c8cSmrg 116752e9c7c8cSmrg This reverts commit 892b401d5acc055803a20e349ede0d64490f2230. 116762e9c7c8cSmrg 116772e9c7c8cSmrg As Julien Cristau correctly points out, I misread the Compose file grammar 116782e9c7c8cSmrg in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and 116792e9c7c8cSmrg the keysym is named XK_masculine in keysymdef.h. This change is thus a 116802e9c7c8cSmrg bug in the Solaris compose tables to be fixed, not an improvement to bring 116812e9c7c8cSmrg upstream. 116822e9c7c8cSmrg 116832e9c7c8cSmrgcommit eac57c77afdf44f50692225b8b0345a7c927bc84 116842e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 116852e9c7c8cSmrgDate: Tue Apr 7 15:38:45 2009 -0700 116862e9c7c8cSmrg 116872e9c7c8cSmrg Version bump: 1.2.1 116882e9c7c8cSmrg 116892e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 116902e9c7c8cSmrg 116912e9c7c8cSmrgcommit bfbec08baec33c5024510b0bcbbee6e4a8473e79 116922e9c7c8cSmrgAuthor: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net> 116932e9c7c8cSmrgDate: Tue Apr 7 13:46:57 2009 -0700 116942e9c7c8cSmrg 116952e9c7c8cSmrg Bug 20773: Xcursor dynamic loading on Cygwin 116962e9c7c8cSmrg 116972e9c7c8cSmrg X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773> 116982e9c7c8cSmrg Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096> 116992e9c7c8cSmrg 117002e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117012e9c7c8cSmrg 117022e9c7c8cSmrgcommit c8c41614911be4fa222fa22478677d263b41c751 117032e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117042e9c7c8cSmrgDate: Mon Apr 6 16:52:46 2009 -0700 117052e9c7c8cSmrg 117062e9c7c8cSmrg Fix a several sparse warnings: Using plain integer as NULL pointer 117072e9c7c8cSmrg 117082e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117092e9c7c8cSmrg 117102e9c7c8cSmrgcommit b336c3d0cc2aefc8926500cff5f76b5a3e803886 117112e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117122e9c7c8cSmrgDate: Mon Apr 6 16:32:05 2009 -0700 117132e9c7c8cSmrg 117142e9c7c8cSmrg Further ansify prototypes & reduce #ifdefs in locking.c 117152e9c7c8cSmrg 117162e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117172e9c7c8cSmrg 117182e9c7c8cSmrgcommit 892b401d5acc055803a20e349ede0d64490f2230 117192e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117202e9c7c8cSmrgDate: Mon Apr 6 10:50:09 2009 -0700 117212e9c7c8cSmrg 117222e9c7c8cSmrg Change masculine to ordmasculine in Compose file comments 117232e9c7c8cSmrg 117242e9c7c8cSmrg Matches the ordfeminine name used for the matching character, 117252e9c7c8cSmrg and the ordmasculine name used in many font descriptions of the glyph. 117262e9c7c8cSmrg 117272e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117282e9c7c8cSmrg 117292e9c7c8cSmrgcommit e3198b55dc16ec57346cc28aa8d34165ce8cde96 117302e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 117312e9c7c8cSmrgDate: Fri Mar 13 13:52:33 2009 +0100 117322e9c7c8cSmrg 117332e9c7c8cSmrg Add a ru_RU.UTF-8 locale 117342e9c7c8cSmrg 117352e9c7c8cSmrg Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0. 117362e9c7c8cSmrg 117372e9c7c8cSmrg Debian bug#330144 <http://bugs.debian.org/330144> 117382e9c7c8cSmrg X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887> 117392e9c7c8cSmrg 117402e9c7c8cSmrgcommit d239de9452691d6f875e6e5ace3d499ec3bf14d9 117412e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117422e9c7c8cSmrgDate: Wed Mar 25 17:59:09 2009 -0700 117432e9c7c8cSmrg 117442e9c7c8cSmrg Delete some unused "#ifdef notdef" static functions 117452e9c7c8cSmrg 117462e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117472e9c7c8cSmrg 117482e9c7c8cSmrgcommit 4281892e31058ef3aecc96a5767824b34d88d415 117492e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117502e9c7c8cSmrgDate: Wed Mar 25 17:52:48 2009 -0700 117512e9c7c8cSmrg 117522e9c7c8cSmrg Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c 117532e9c7c8cSmrg 117542e9c7c8cSmrg This copy of Xrm.c is never compiled into the Xprint server any more, so 117552e9c7c8cSmrg this old code-sharing #ifdef from the monolith tree isn't needed. 117562e9c7c8cSmrg 117572e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117582e9c7c8cSmrg 117592e9c7c8cSmrgcommit 27a2e16e8ea11c1604e28645fae4d6ba4371d513 117602e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117612e9c7c8cSmrgDate: Tue Mar 17 18:38:58 2009 -0700 117622e9c7c8cSmrg 117632e9c7c8cSmrg makekeys: combine malloc(strlen)+strcpy into strdup 117642e9c7c8cSmrg 117652e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117662e9c7c8cSmrg 117672e9c7c8cSmrgcommit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e 117682e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117692e9c7c8cSmrgDate: Tue Mar 17 15:42:19 2009 -0700 117702e9c7c8cSmrg 117712e9c7c8cSmrg When makekeys fails to find a good hash, print error instead of divide-by-zero 117722e9c7c8cSmrg 117732e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117742e9c7c8cSmrg 117752e9c7c8cSmrgcommit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b 117762e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117772e9c7c8cSmrgDate: Tue Mar 17 14:59:16 2009 -0700 117782e9c7c8cSmrg 117792e9c7c8cSmrg Remove ifdef checks for macII left over from ancient A/UX 3.0 support 117802e9c7c8cSmrg 117812e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117822e9c7c8cSmrg 117832e9c7c8cSmrgcommit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7 117842e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117852e9c7c8cSmrgDate: Mon Mar 16 18:37:49 2009 -0700 117862e9c7c8cSmrg 117872e9c7c8cSmrg XErrorDB additions for DRI2 requests 117882e9c7c8cSmrg 117892e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117902e9c7c8cSmrg 117912e9c7c8cSmrgcommit 273f45af1441be9d2135e4cac8c46ceb33470236 117922e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 117932e9c7c8cSmrgDate: Mon Mar 16 18:35:44 2009 -0700 117942e9c7c8cSmrg 117952e9c7c8cSmrg XErrorDB additions for XInput errors and new XInput 1.5 requests 117962e9c7c8cSmrg 117972e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 117982e9c7c8cSmrg 117992e9c7c8cSmrgcommit 90ef36f6336068183bf9d13ca972202db35b1202 118002e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 118012e9c7c8cSmrgDate: Mon Mar 16 18:23:05 2009 -0700 118022e9c7c8cSmrg 118032e9c7c8cSmrg XErrorDB additions for RANDR 1.3 118042e9c7c8cSmrg 118052e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118062e9c7c8cSmrg 118072e9c7c8cSmrgcommit 124a4efaccf329f1a44f6b824e70278bdd1cad83 118082e9c7c8cSmrgAuthor: Lubos Lunak <l.lunak@suse.cz> 118092e9c7c8cSmrgDate: Mon Mar 16 18:03:36 2009 -0700 118102e9c7c8cSmrg 118112e9c7c8cSmrg XErrorDB updates for XTEST, RANDR, DAMAGE extensions 118122e9c7c8cSmrg 118132e9c7c8cSmrg From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 118142e9c7c8cSmrg 118152e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118162e9c7c8cSmrg 118172e9c7c8cSmrgcommit 80811846e37b805fddb37c71589fd5f6f6037b3f 118182e9c7c8cSmrgAuthor: Lubos Lunak <l.lunak@suse.cz> 118192e9c7c8cSmrgDate: Mon Mar 16 17:57:52 2009 -0700 118202e9c7c8cSmrg 118212e9c7c8cSmrg XGetErrorText() fails for extension error codes equal to the error base 118222e9c7c8cSmrg 118232e9c7c8cSmrg From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html 118242e9c7c8cSmrg 118252e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118262e9c7c8cSmrg 118272e9c7c8cSmrgcommit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd 118282e9c7c8cSmrgAuthor: Milos Komarcevic <miloskomarcevic@netscape.net> 118292e9c7c8cSmrgDate: Mon Mar 16 17:43:26 2009 -0700 118302e9c7c8cSmrg 118312e9c7c8cSmrg Bug 11456: Serbian locale updates (sr_RS and sr_ME) 118322e9c7c8cSmrg 118332e9c7c8cSmrg X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456> 118342e9c7c8cSmrg Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937> 118352e9c7c8cSmrg 118362e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118372e9c7c8cSmrg 118382e9c7c8cSmrgcommit 934a6c0519a9e32505beee55b004f36c2a710217 118392e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 118402e9c7c8cSmrgDate: Mon Mar 16 14:55:22 2009 -0700 118412e9c7c8cSmrg 118422e9c7c8cSmrg Bug 10082: Compose entries for some standard mathematical operators 118432e9c7c8cSmrg 118442e9c7c8cSmrg X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082> 118452e9c7c8cSmrg 118462e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118472e9c7c8cSmrg 118482e9c7c8cSmrgcommit abf4da1ed0f735ca7ce471dc13a0ec3677391486 118492e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 118502e9c7c8cSmrgDate: Mon Mar 16 14:27:46 2009 -0700 118512e9c7c8cSmrg 118522e9c7c8cSmrg Bug 14651: We need to add new locale specification for Belarusian Latin locale 118532e9c7c8cSmrg 118542e9c7c8cSmrg X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651> 118552e9c7c8cSmrg 118562e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118572e9c7c8cSmrg 118582e9c7c8cSmrgcommit 837703c8651e1321a50147a8311c56e4758ce08a 118592e9c7c8cSmrgAuthor: Caolan McNamara <caolanm@redhat.com> 118602e9c7c8cSmrgDate: Mon Mar 16 14:15:50 2009 -0700 118612e9c7c8cSmrg 118622e9c7c8cSmrg Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature 118632e9c7c8cSmrg 118642e9c7c8cSmrg X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575> 118652e9c7c8cSmrg Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717> 118662e9c7c8cSmrg 118672e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118682e9c7c8cSmrg 118692e9c7c8cSmrgcommit 22199018879055d8653e59d8236bef57164fac66 118702e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 118712e9c7c8cSmrgDate: Mon Mar 16 13:28:18 2009 -0700 118722e9c7c8cSmrg 118732e9c7c8cSmrg Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr) 118742e9c7c8cSmrg 118752e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118762e9c7c8cSmrg 118772e9c7c8cSmrgcommit 4c63c27eab2b88f5556dbf72c36321f50f6de35e 118782e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 118792e9c7c8cSmrgDate: Thu Mar 12 18:57:20 2009 -0700 118802e9c7c8cSmrg 118812e9c7c8cSmrg Bug 9953: Please provide locale alias hu_HU.utf8 118822e9c7c8cSmrg 118832e9c7c8cSmrg X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953> 118842e9c7c8cSmrg Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573> 118852e9c7c8cSmrg 118862e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118872e9c7c8cSmrg 118882e9c7c8cSmrgcommit 501f4e0ada1690783ada05ad412e4b191ad55336 118892e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 118902e9c7c8cSmrgDate: Thu Mar 12 17:38:21 2009 -0700 118912e9c7c8cSmrg 118922e9c7c8cSmrg Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error 118932e9c7c8cSmrg 118942e9c7c8cSmrg X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820> 118952e9c7c8cSmrg Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637> 118962e9c7c8cSmrg 118972e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 118982e9c7c8cSmrg 118992e9c7c8cSmrgcommit 7b9c543e7210c7da204871c31a160e79d3a949b6 119002e9c7c8cSmrgAuthor: Paul Bender <pebender@gmail.com> 119012e9c7c8cSmrgDate: Thu Mar 12 17:11:42 2009 -0700 119022e9c7c8cSmrg 119032e9c7c8cSmrg Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb 119042e9c7c8cSmrg 119052e9c7c8cSmrg X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664> 119062e9c7c8cSmrg Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128> 119072e9c7c8cSmrg 119082e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 119092e9c7c8cSmrg 119102e9c7c8cSmrgcommit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06 119112e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 119122e9c7c8cSmrgDate: Wed Mar 4 19:32:29 2009 -0800 119132e9c7c8cSmrg 119142e9c7c8cSmrg Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA 119152e9c7c8cSmrg 119162e9c7c8cSmrg Sun bug 6809309 Add new utf8 locales supported by Xlib 119172e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309> 119182e9c7c8cSmrg 119192e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 119202e9c7c8cSmrg 119212e9c7c8cSmrgcommit cb70c9bc43267577859a3674ca9de9be396ba69e 119222e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 119232e9c7c8cSmrgDate: Mon Feb 23 19:29:15 2009 -0800 119242e9c7c8cSmrg 119252e9c7c8cSmrg Add --with-locale-lib-dir configure option to set locale lib install dir 119262e9c7c8cSmrg 119272e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 119282e9c7c8cSmrg 119292e9c7c8cSmrgcommit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af 119302e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 119312e9c7c8cSmrgDate: Mon Feb 23 18:33:51 2009 -0800 119322e9c7c8cSmrg 119332e9c7c8cSmrg Incorporate more locale names/aliases from Solaris libX11 119342e9c7c8cSmrg 119352e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 119362e9c7c8cSmrg 119372e9c7c8cSmrgcommit 83ce4daefdf544f801c7d666c89162690a36ce41 119382e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 119392e9c7c8cSmrgDate: Mon Feb 23 18:32:34 2009 -0800 119402e9c7c8cSmrg 119412e9c7c8cSmrg Incorporate char range comments from Solaris version of ksc5601.h 119422e9c7c8cSmrg 119432e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 119442e9c7c8cSmrg 119452e9c7c8cSmrgcommit ee279c84e34f1ebb8a6ff17d54ee146d11e29764 119462e9c7c8cSmrgAuthor: Chris Ball <cjb@laptop.org> 119472e9c7c8cSmrgDate: Sat Feb 21 14:48:42 2009 -0500 119482e9c7c8cSmrg 119492e9c7c8cSmrg Fix fi_FI locale install directory. 119502e9c7c8cSmrg 119512e9c7c8cSmrg fi_FI was setting "x11thislocaledir" to en_US, with the result that its 119522e9c7c8cSmrg locale data was written in that locale dir. 119532e9c7c8cSmrg 119542e9c7c8cSmrg Signed-off-by: Chris Ball <cjb@laptop.org> 119552e9c7c8cSmrg 119562e9c7c8cSmrgcommit da6bbca07c796c69172a649405474f03bee66754 119572e9c7c8cSmrgAuthor: Emilio Jesús Gallego Arias <egallego@babel.ls.fi.upm.es> 119582e9c7c8cSmrgDate: Sat Feb 21 20:17:23 2009 +0100 119592e9c7c8cSmrg 119602e9c7c8cSmrg xcb_io: Avoid datatype overflow on AMD64 and friends. 119612e9c7c8cSmrg 119622e9c7c8cSmrgcommit 4ef6491afa69e8441caee7bbebc583e6e796275e 119632e9c7c8cSmrgAuthor: Chris Ball <cjb@laptop.org> 119642e9c7c8cSmrgDate: Sat Feb 21 12:51:03 2009 -0500 119652e9c7c8cSmrg 119662e9c7c8cSmrg Build fix for fi_FI. 119672e9c7c8cSmrg 119682e9c7c8cSmrg Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no 119692e9c7c8cSmrg Makefile is written there by configure. 119702e9c7c8cSmrg 119712e9c7c8cSmrg Signed-off-by: Chris Ball <cjb@laptop.org> 119722e9c7c8cSmrg 119732e9c7c8cSmrgcommit 642c4e928e770e012379539a6ce09e11c02f09a6 119742e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org> 119752e9c7c8cSmrgDate: Sat Feb 21 03:12:05 2009 +0100 119762e9c7c8cSmrg 119772e9c7c8cSmrg nls: actually use the fi_FI.UTF-8 files 119782e9c7c8cSmrg 119792e9c7c8cSmrg The subdir wasn't added to nls/Makefile.am 119802e9c7c8cSmrg 119812e9c7c8cSmrgcommit 9bad8309ef289bb943651abf6967b24fa2252aac 119822e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 119832e9c7c8cSmrgDate: Fri Feb 20 14:45:54 2009 -0800 119842e9c7c8cSmrg 119852e9c7c8cSmrg flags member of Display structure needs to be marked volatile 119862e9c7c8cSmrg 119872e9c7c8cSmrg Since the Xlib multithreaded code checks the flags variable in _XFlushInt 119882e9c7c8cSmrg to see if the other threads are done yet, it has to be marked volatile so 119892e9c7c8cSmrg the compiler doesn't optimize out re-loading it on each trip through the 119902e9c7c8cSmrg while loop and end up in an impossible-to-exit infinite loop of CPU chewing. 119912e9c7c8cSmrg 119922e9c7c8cSmrg Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit 119932e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> 119942e9c7c8cSmrg 119952e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 119962e9c7c8cSmrg 119972e9c7c8cSmrgcommit ef5c446395aa30d7b1096a112e241a81c5b358e7 119982e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 119992e9c7c8cSmrgDate: Fri Feb 20 15:12:35 2009 -0800 120002e9c7c8cSmrg 120012e9c7c8cSmrg Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk 120022e9c7c8cSmrg 120032e9c7c8cSmrg Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8 120042e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236> 120052e9c7c8cSmrg 120062e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 120072e9c7c8cSmrg 120082e9c7c8cSmrgcommit 3822f2654e9630167f0c6cae317b472c09771672 120092e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 120102e9c7c8cSmrgDate: Fri Feb 20 15:03:51 2009 -0800 120112e9c7c8cSmrg 120122e9c7c8cSmrg Add locale aliases for no_NO & sh_BA locale variants 120132e9c7c8cSmrg 120142e9c7c8cSmrg Fixes Sun bug id 6691219: xterm refuses to start in some locales 120152e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219> 120162e9c7c8cSmrg 120172e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 120182e9c7c8cSmrg 120192e9c7c8cSmrgcommit 63b6b5b5f522c0a606b32163c643edb64ca91d54 120202e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM> 120212e9c7c8cSmrgDate: Fri Feb 20 14:23:11 2009 -0800 120222e9c7c8cSmrg 120232e9c7c8cSmrg Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan 120242e9c7c8cSmrg 120252e9c7c8cSmrg Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications 120262e9c7c8cSmrg changing keyboard layout with gimlet does not work") 120272e9c7c8cSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254> 120282e9c7c8cSmrg 120292e9c7c8cSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 120302e9c7c8cSmrg 1203161b2299dSmrgcommit d497301707962f3b94542e999a36abffcfbd303d 1203261b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1203361b2299dSmrgDate: Tue Feb 17 16:09:41 2009 +0100 1203461b2299dSmrg 1203561b2299dSmrg Bump to 1.2 1203661b2299dSmrg 1203761b2299dSmrgcommit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf 1203861b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1203961b2299dSmrgDate: Tue Feb 17 15:23:40 2009 +0100 1204061b2299dSmrg 1204161b2299dSmrg Check Xmalloc return value in _XConnectXCB 1204261b2299dSmrg 1204361b2299dSmrg X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137> 1204461b2299dSmrg 1204561b2299dSmrg Signed-off-by: Julien Cristau <jcristau@debian.org> 1204661b2299dSmrg 1204761b2299dSmrgcommit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c 1204861b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1204961b2299dSmrgDate: Sat Feb 14 12:35:56 2009 -0500 1205061b2299dSmrg 1205161b2299dSmrg dolt: allow older versions of bash to compile the library 1205261b2299dSmrg 1205361b2299dSmrg Cf xserver commit 7be6520d and bugzilla #19031. 1205461b2299dSmrg 1205561b2299dSmrgcommit 20982d6866e24453642b0b592fa0f13a88aa747c 1205661b2299dSmrgAuthor: Will Thompson <will@willthompson.co.uk> 1205761b2299dSmrgDate: Thu Feb 5 02:53:06 2009 +1100 1205861b2299dSmrg 1205961b2299dSmrg NLS: Compose: Non-aliasing CCCP 1206061b2299dSmrg 1206161b2299dSmrg Oops, cccp aliased cc for question mark. Upper-case it to avoid fail. 1206261b2299dSmrg 1206361b2299dSmrg Signed-off-by: Will Thompson <will@willthompson.co.uk> 1206461b2299dSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry) 1206561b2299dSmrg 1206661b2299dSmrgcommit f052665394f3f0319e93a98f1d5d4ea287e1dd07 1206761b2299dSmrgAuthor: Will Thompson <will@willthompson.co.uk> 1206861b2299dSmrgDate: Wed Feb 4 14:51:11 2009 +0000 1206961b2299dSmrg 1207061b2299dSmrg Add two essential compose sequences 1207161b2299dSmrg 1207261b2299dSmrg Signed-off-by: Will Thompson <will@willthompson.co.uk> 1207361b2299dSmrg Signed-off-by: Daniel Stone <daniel@fooishbar.org> 1207461b2299dSmrg 1207561b2299dSmrgcommit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f 1207661b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1207761b2299dSmrgDate: Mon Feb 2 20:34:31 2009 -0800 1207861b2299dSmrg 1207961b2299dSmrg Add README with pointers to mailing list, bugzilla & git repos 1208061b2299dSmrg 1208161b2299dSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1208261b2299dSmrg 1208361b2299dSmrgcommit f682c27e93512773122887d2cbabb1657af45d2e 1208461b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1208561b2299dSmrgDate: Mon Feb 2 16:36:39 2009 -0200 1208661b2299dSmrg 1208761b2299dSmrg Check if a function argument is NULL. 1208861b2299dSmrg 1208961b2299dSmrg This was an addition to patch (also by me) 1209061b2299dSmrg https://bugs.freedesktop.org/attachment.cgi?id=14660 1209161b2299dSmrg that was not added when rediscovering/correcting the problem. 1209261b2299dSmrg 1209361b2299dSmrgcommit 427e9d45d424b84efd9fc499aebf8d72392844c5 1209461b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1209561b2299dSmrgDate: Thu Feb 28 15:58:12 2008 -0300 1209661b2299dSmrg 1209761b2299dSmrg Allow multiple inclusions of cursorfont.h, cosmetic patch. 1209861b2299dSmrg 1209961b2299dSmrgcommit b91524a53e691f6a5d278fd8972b48a14ebeedeb 1210061b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1210161b2299dSmrgDate: Thu Feb 28 15:54:43 2008 -0300 1210261b2299dSmrg 1210361b2299dSmrg Don't add prototypes for functions that don't exist. 1210461b2299dSmrg 1210561b2299dSmrg Note that a full review was not done, only for functions that receive 1210661b2299dSmrg char/short arguments, or one of it's parameters is a function pointer 1210761b2299dSmrg that requires char/short arguments. 1210861b2299dSmrg 1210961b2299dSmrgcommit 537eb52fe266ac439c4b383bb04a70017b709911 1211061b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1211161b2299dSmrgDate: Thu Feb 28 15:50:27 2008 -0300 1211261b2299dSmrg 1211361b2299dSmrg WORD64 compile fix. This bug catched on a overview of the code. 1211461b2299dSmrg 1211561b2299dSmrg The code is wrong since the first git revision, so it seens that it has 1211661b2299dSmrg not been compiled with WORD64 for quite some time, there is also another 1211761b2299dSmrg interesting code in xkb/XKBRdBuf.c: 1211861b2299dSmrg <hash>ifdef WORD64 1211961b2299dSmrg _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8 1212061b2299dSmrg <hash>endif 1212161b2299dSmrg and possibly there are other similar problems. 1212261b2299dSmrg 1212361b2299dSmrgcommit ffd0300fb74c6183208ae599133f2ded09e08d97 1212461b2299dSmrgAuthor: Brian Rogers <brian@xyzw.org> 1212561b2299dSmrgDate: Sat Jan 31 10:37:51 2009 -0800 1212661b2299dSmrg 1212761b2299dSmrg Initialize event_notify after allocating the memory for it. 1212861b2299dSmrg 1212961b2299dSmrg An uninitialized or otherwise invalid condition variable can apparently 1213061b2299dSmrg cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine 1213161b2299dSmrg at least are freezing as a result of event_notify never being initialized. 1213261b2299dSmrg 1213361b2299dSmrg Signed-off-by: Brian Rogers <brian@xyzw.org> 1213461b2299dSmrg Signed-off-by: Bart Massey <bart@cs.pdx.edu> 1213561b2299dSmrg 1213661b2299dSmrgcommit 97fc6babd4ccaf300e25708868aa2a738893dc30 1213761b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1213861b2299dSmrgDate: Thu Jan 29 20:10:41 2009 -0500 1213961b2299dSmrg 1214061b2299dSmrg NLS: Add UTF-8 compose file for Finnish 1214161b2299dSmrg 1214261b2299dSmrg From bug report: 1214361b2299dSmrg 1214461b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=18747 1214561b2299dSmrg 1214661b2299dSmrgcommit 1bd2966ed88f83479a066c6ca7da23a515979550 1214761b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1214861b2299dSmrgDate: Thu Jan 29 20:25:15 2009 -0200 1214961b2299dSmrg 1215061b2299dSmrg patches to avoid gcc warnings for libX11 (#4) 1215161b2299dSmrg 1215261b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1215361b2299dSmrg Bug #17946, attachment #19443 1215461b2299dSmrg 1215561b2299dSmrg This patch avoids the gcc warning 1215638ae11fcSmrg ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type 1215761b2299dSmrg (same as already done at other places) 1215861b2299dSmrg 1215961b2299dSmrg BTW: what is the difference between XIM (the type of ic->core.im) 1216061b2299dSmrg and Xim ? 1216161b2299dSmrg 1216261b2299dSmrgcommit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0 1216361b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1216461b2299dSmrgDate: Thu Jan 29 20:22:21 2009 -0200 1216561b2299dSmrg 1216661b2299dSmrg patches to avoid gcc warnings for libX11 (#3) 1216761b2299dSmrg 1216861b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1216961b2299dSmrg Bug #17946, attachment #19441 1217061b2299dSmrg 1217161b2299dSmrg This patch avoids the two gcc warnings 1217238ae11fcSmrg ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type 1217338ae11fcSmrg ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type 1217461b2299dSmrg 1217561b2299dSmrg Note, that this as a rather crude fix of the problem (and it is really a 1217661b2299dSmrg shame to cast name_table to non-const). 1217761b2299dSmrg 1217861b2299dSmrg The right solution would be to declare XIMValuesList.supported_values 1217961b2299dSmrg (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **'). 1218061b2299dSmrg This will, however, require extensive modifications in various places. 1218161b2299dSmrg 1218261b2299dSmrgcommit cce75c5dce73fe1f8626ed9e6798138ada09a860 1218361b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1218461b2299dSmrgDate: Thu Jan 29 20:20:18 2009 -0200 1218561b2299dSmrg 1218661b2299dSmrg patches to avoid gcc warnings for libX11 (#2) 1218761b2299dSmrg 1218861b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1218961b2299dSmrg Bug #17946, attachment #19440 1219061b2299dSmrg 1219161b2299dSmrg Avoid a preprocessor message 1219238ae11fcSmrg <stdin>:194: warning: no newline at end of file 1219361b2299dSmrg 1219461b2299dSmrg Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man) 1219561b2299dSmrg seem to be caused by a truncated (or otherwise incomplete) 1219661b2299dSmrg manpage. 1219761b2299dSmrg 1219861b2299dSmrgcommit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe 1219961b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1220061b2299dSmrgDate: Thu Jan 29 20:12:24 2009 -0200 1220161b2299dSmrg 1220261b2299dSmrg patches to avoid gcc warnings for libX11 (#1) 1220361b2299dSmrg 1220461b2299dSmrg Author is Peter Breitenlohner <peb@mppmu.mpg.de> 1220561b2299dSmrg Bug #17946, attachment #19439 1220661b2299dSmrg 1220761b2299dSmrg Define as 1 (one) as done by autoconf and the command line 1220861b2299dSmrg option, e.g. -DX11_t, not as empty. 1220961b2299dSmrg 1221061b2299dSmrg This avoids the gcc (3.4.6) warnings: 1221138ae11fcSmrg ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined 1221238ae11fcSmrg <command line>:7:1: warning: this is the location of the previous definition 1221338ae11fcSmrg ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined 1221438ae11fcSmrg <command line>:8:1: warning: this is the location of the previous definition 1221561b2299dSmrg 1221661b2299dSmrg Similarly, follow the autoconf convention to define XTHREADS 1221761b2299dSmrg and XUSE_MTSAFE_API as one. 1221861b2299dSmrg 1221961b2299dSmrg This avoids analogous warnings when compiling libXcomposite, 1222061b2299dSmrg libXcursor, and libXdamage. 1222161b2299dSmrg 1222261b2299dSmrg No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused). 1222361b2299dSmrg 1222461b2299dSmrgcommit a1977883c9f5ef0e515569d6e2ebccb07411f98c 1222561b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1222661b2299dSmrgDate: Thu Jan 29 15:01:06 2009 -0200 1222761b2299dSmrg 1222861b2299dSmrg Janitor: Correct some gcc/sparse warnings. 1222961b2299dSmrg 1223061b2299dSmrg Most remaining warnings are about XIM/Xim to/from conversion 1223161b2299dSmrg and discarding const from pointers. 1223261b2299dSmrg 1223361b2299dSmrgcommit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be 1223461b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 1223561b2299dSmrgDate: Wed Jan 28 20:31:42 2009 -0200 1223661b2299dSmrg 1223761b2299dSmrg Janitor: ansification, make distcheck, compiler warnings. 1223861b2299dSmrg 1223961b2299dSmrg Only convert to use "ansi prototypes" the functions warned from 1224061b2299dSmrg compilation with "./autogen.sh --prefix=/usr", on a Linux computer. 1224161b2299dSmrg 1224261b2299dSmrg Also, only address "trivial" compiler warning fixes in this commit. 1224361b2299dSmrg 1224461b2299dSmrg The new .gitignore is the output of a command like: 1224561b2299dSmrg % find . -name .gitignore -exec cat {} \; | sort | uniq 1224661b2299dSmrg and only the toplevel .gitignore file was kept. 1224761b2299dSmrg 1224861b2299dSmrgcommit 091c1624fd2f9d933329d6152e4ecd865aa7903a 1224961b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 1225061b2299dSmrgDate: Tue Jan 13 12:05:54 2009 +1000 1225161b2299dSmrg 1225261b2299dSmrg Fix wrong implies symbol. 1225361b2299dSmrg 1225461b2299dSmrg Quote Simos Xenitellis: 1225561b2299dSmrg > I checked the gtk+ commit logs that go back to 2000, and I see that still it 1225661b2299dSmrg > was 1225761b2299dSmrg > 1225861b2299dSmrg > { 0x08ce, 0x21d2 }, /* implies ⇒ RIGHTWARDS 1225961b2299dSmrg > DOUBLE ARROW */ 1226061b2299dSmrg > 1226161b2299dSmrg > In XFree86, it appears there was an error when they converted the 1226261b2299dSmrg > original table to 1226361b2299dSmrg > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup 1226461b2299dSmrg > and the problem still shows up there (November 2000). 1226561b2299dSmrg 1226661b2299dSmrg http://lists.freedesktop.org/archives/xorg/2008-October/039743.html 1226761b2299dSmrg 1226861b2299dSmrg Reported by Erik Streb del Toro. 1226961b2299dSmrg 1227061b2299dSmrgcommit e32521f19e0b07649b7e3a03d56a2bd556b138fb 1227161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1227261b2299dSmrgDate: Sun Dec 7 04:13:34 2008 -0500 1227361b2299dSmrg 1227461b2299dSmrg [i18n] s/U00DC/Udiaeresis/g 1227561b2299dSmrg 1227661b2299dSmrg The xkeyboard-config keyboards generate the symbol Udiaeresis, not 1227761b2299dSmrg U00DC. Make sure the relevant Compose sequences expect the symbol 1227861b2299dSmrg which the keyboards actually send. 1227961b2299dSmrg 1228061b2299dSmrgcommit b7502abfe22f8dc009b21cda1172af221d8f9f32 1228161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1228261b2299dSmrgDate: Sun Dec 7 04:09:46 2008 -0500 1228361b2299dSmrg 1228461b2299dSmrg Revert "For nls/*.pre, allow people to comment lines by starting them with '##'." 1228561b2299dSmrg 1228661b2299dSmrg As of commit c9d20e3 the initial double-hashes are replaced with proper C comments. 1228761b2299dSmrg 1228861b2299dSmrg This reverts commit a225a0be48770beb689d5ac5da97073634f7deab. 1228961b2299dSmrg 1229061b2299dSmrgcommit c9d20e3f697c9cfae5511412023362c1db7449b1 1229161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1229261b2299dSmrgDate: Sun Dec 7 04:08:23 2008 -0500 1229361b2299dSmrg 1229461b2299dSmrg Use C comments rather than initial doubled hashes to exclude lines from .pre files 1229561b2299dSmrg 1229661b2299dSmrgcommit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25 1229761b2299dSmrgAuthor: vehemens <vehemens@verizon.net> 1229861b2299dSmrgDate: Sun Dec 7 01:18:26 2008 -0500 1229961b2299dSmrg 1230061b2299dSmrg [i18n] Distribute new headers which were added for gb18030 support. 1230161b2299dSmrg 1230261b2299dSmrg big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to 1230361b2299dSmrg make it into the tar. 1230461b2299dSmrg 1230561b2299dSmrg Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51. 1230661b2299dSmrg 1230761b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1230861b2299dSmrg 1230961b2299dSmrgcommit 418819558d2c60e58b4e3022ce0fadf2143488ac 1231061b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de> 1231161b2299dSmrgDate: Sat Nov 22 22:01:07 2008 +0100 1231261b2299dSmrg 1231361b2299dSmrg Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 1231461b2299dSmrg 1231561b2299dSmrgcommit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a 1231661b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de> 1231761b2299dSmrgDate: Sat Nov 22 19:40:54 2008 +0100 1231861b2299dSmrg 1231961b2299dSmrg Added remaining xlib patch required for gb18030 support (#1573). 1232061b2299dSmrg 1232161b2299dSmrgcommit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf 1232261b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de> 1232361b2299dSmrgDate: Sat Nov 22 17:53:06 2008 +0100 1232461b2299dSmrg 1232561b2299dSmrg Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182). 1232661b2299dSmrg 1232761b2299dSmrgcommit c859446c500c883a67f7a86cab1a44844e24dade 1232861b2299dSmrgAuthor: Ken Thomases <ken@codeweavers.com> 1232961b2299dSmrgDate: Fri Nov 21 13:58:10 2008 -0500 1233061b2299dSmrg 1233161b2299dSmrg [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202) 1233261b2299dSmrg 1233361b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1233461b2299dSmrg 1233561b2299dSmrgcommit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53 1233661b2299dSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 1233761b2299dSmrgDate: Mon Nov 17 20:47:26 2008 -0800 1233861b2299dSmrg 1233961b2299dSmrg Force local transport when using the launchd socket. 1234061b2299dSmrg 1234161b2299dSmrg Fixes a regression due to 1234261b2299dSmrg bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 1234361b2299dSmrg 1234461b2299dSmrgcommit 7aca689ce14d314b5c8c72c8df76f53f76ab467c 1234561b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1234661b2299dSmrgDate: Fri Nov 14 10:32:50 2008 +1000 1234761b2299dSmrg 1234861b2299dSmrg Add XF86Suspend, XF86Hibernate to KeysymDB. 1234961b2299dSmrg 1235061b2299dSmrgcommit d16b11f25f8265e651def8d80bcd430c0448e664 1235161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1235261b2299dSmrgDate: Tue Nov 11 19:43:39 2008 -0500 1235361b2299dSmrg 1235461b2299dSmrg [nls] Annotate the Bépo compose sequences 1235561b2299dSmrg 1235661b2299dSmrg Add comments with the UCS names. 1235761b2299dSmrg Add utf-8 strings for each result. 1235861b2299dSmrg Format for easy reading. 1235961b2299dSmrg 1236061b2299dSmrgcommit 730298464240be6f65b32416b3f9b20062c61825 1236161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1236261b2299dSmrgDate: Tue Nov 11 16:41:34 2008 -0500 1236361b2299dSmrg 1236461b2299dSmrg [nls] Add some UTF-8 Compose sequences 1236561b2299dSmrg 1236661b2299dSmrg As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/). 1236761b2299dSmrg 1236861b2299dSmrg Cf. bugs: 1236961b2299dSmrg 1237061b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=17821 1237161b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=17822 1237261b2299dSmrg 1237361b2299dSmrgcommit ad6008a0c92733826983eb93f063d3d6276007d8 1237461b2299dSmrgAuthor: Colin Harrison <colin.harrison@virgin.net> 1237561b2299dSmrgDate: Thu Nov 6 17:48:21 2008 -0500 1237661b2299dSmrg 1237761b2299dSmrg Fix copy/paste typo in imLcPrs 1237861b2299dSmrg 1237961b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1238061b2299dSmrg 1238161b2299dSmrgcommit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 1238261b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1238361b2299dSmrgDate: Thu Nov 6 14:54:13 2008 -0500 1238461b2299dSmrg 1238561b2299dSmrg Fix leak in _XimXGetReadData 1238661b2299dSmrg 1238761b2299dSmrg Spotted by Denis Dzyubenko 1238861b2299dSmrg 1238961b2299dSmrgcommit ae23c25b9349ab1d7ff81f3075c000cf35fc442b 1239061b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1239161b2299dSmrgDate: Wed Nov 5 22:09:37 2008 +0100 1239261b2299dSmrg 1239361b2299dSmrg Bump to 1.1.99.2 1239461b2299dSmrg 1239561b2299dSmrgcommit d31e644c65c52828ea3e7abd94a8cf9aee12265c 1239661b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org> 1239761b2299dSmrgDate: Wed Nov 5 21:33:13 2008 +0100 1239861b2299dSmrg 1239961b2299dSmrg Fix distcheck 1240061b2299dSmrg 1240161b2299dSmrgcommit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef 1240261b2299dSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1240361b2299dSmrgDate: Wed Oct 29 14:00:33 2008 -0700 1240461b2299dSmrg 1240561b2299dSmrg Support multiple independent internal sync handlers 1240661b2299dSmrg 1240761b2299dSmrg Xlib has several independent tasks that need to be performed with the 1240861b2299dSmrg display unlocked. It does this by replacing the existing sync handler with 1240961b2299dSmrg one of a variety of internal sync handlers. However, if multiple internal 1241061b2299dSmrg sync handlers need to run, then the last one registering wins and 1241161b2299dSmrg previously registered internal sync handlers are never invoked. This 1241261b2299dSmrg manifested as a bug with DRI applications on Xlib/XCB as that requires 1241361b2299dSmrg both an XID handler after every XID allocation, and the periodic sequence 1241461b2299dSmrg number handler. The XID handler would win, and the sequence number handler 1241561b2299dSmrg would never be invoked. 1241661b2299dSmrg 1241761b2299dSmrg Fix this by unifying the internal sync handler mechanism into a single 1241861b2299dSmrg function that calls all of the known internal sync handlers. They all need 1241961b2299dSmrg to deal with being called when not strictly necessary now. 1242061b2299dSmrg 1242161b2299dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1242261b2299dSmrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 1242361b2299dSmrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 1242461b2299dSmrg 1242561b2299dSmrgcommit 2dbaaab9c4e3894b33dcae850551dee5473431d5 1242661b2299dSmrgAuthor: Keith Packard <keithp@keithp.com> 1242761b2299dSmrgDate: Sat Oct 11 21:44:21 2008 -0700 1242861b2299dSmrg 1242961b2299dSmrg Ensure that _XReadEvents always leaves an event in the queue on return 1243061b2299dSmrg 1243161b2299dSmrg XNextEvent assumes that the event queue will be non-empty on return from 1243261b2299dSmrg _XReadEvents, but with multiple event readers running, the previous change 1243361b2299dSmrg could leave the queue empty on return from process_responses. Re-invoke 1243461b2299dSmrg process_responses until the queue is non-empty. 1243561b2299dSmrg 1243661b2299dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1243761b2299dSmrg 1243861b2299dSmrgcommit bedfe68259037c5564fe52758c92b9c97729640a 1243961b2299dSmrgAuthor: Keith Packard <keithp@keithp.com> 1244061b2299dSmrgDate: Sat Oct 11 21:10:23 2008 -0700 1244161b2299dSmrg 1244261b2299dSmrg Permit only one Xlib thread to block waiting for events 1244361b2299dSmrg 1244461b2299dSmrg As Xlib queues events internally, we must prevent multiple Xlib threads from 1244561b2299dSmrg entering XCB to wait for an event in case the queued event is to be 1244661b2299dSmrg delivered to the thread which didn't manage to read it. In other words, let 1244761b2299dSmrg only one Xlib thread into xcb_wait_for_event at a time. 1244861b2299dSmrg 1244961b2299dSmrg Jamey Sharp looked over my shoulder while making this fix and, while hating 1245061b2299dSmrg my whitespace conventions, appears happy enough with the actual code. 1245161b2299dSmrg 1245261b2299dSmrg Signed-off-by: Keith Packard <keithp@keithp.com> 1245361b2299dSmrg 1245461b2299dSmrgcommit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2 1245561b2299dSmrgAuthor: Jamey Sharp <jamey@minilop.net> 1245661b2299dSmrgDate: Sun Mar 23 16:33:50 2008 -0700 1245761b2299dSmrg 1245861b2299dSmrg Fix XAllocID race: hold the user display lock until we have a new XID. 1245961b2299dSmrg 1246061b2299dSmrg Xlib built --without-xcb is also vulnerable to this race, and a similar 1246161b2299dSmrg fix might work there too. 1246261b2299dSmrg 1246361b2299dSmrg Also, use an XID that's truly invalid while waiting for the next XID to be 1246461b2299dSmrg requested. 1246561b2299dSmrg 1246661b2299dSmrgcommit 54e5c0941b0ded1628d559a9f0a3451ea96c299b 1246761b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org> 1246861b2299dSmrgDate: Sat Mar 15 17:22:23 2008 -0700 1246961b2299dSmrg 1247061b2299dSmrg Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock. 1247161b2299dSmrg 1247261b2299dSmrg Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending 1247361b2299dSmrg requests between calls to Xlib's LockDisplay and UnlockDisplay macros. 1247461b2299dSmrg Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and 1247561b2299dSmrg had to flush its requests when unlocking the display. 1247661b2299dSmrg 1247761b2299dSmrg XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket. Replace 1247861b2299dSmrg much of the existing Xlib/XCB implementation with the use of 1247961b2299dSmrg xcb_take_socket to take ownership of the write side of the X connection 1248061b2299dSmrg socket, and a return_socket callback which writes any outstanding requests 1248161b2299dSmrg with xcb_writev. This approach allows Xlib/XCB to use the same buffering 1248261b2299dSmrg as traditional Xlib did. In particular, programs which use Xlib/XCB and 1248361b2299dSmrg never make XCB calls will never need to hand the socket back to XCB, and 1248461b2299dSmrg vice versa. 1248561b2299dSmrg 1248661b2299dSmrg This allows us to discard large quantities of synchronization code from 1248761b2299dSmrg Xlib/XCB, together with the synchronization bugs present in that code. 1248861b2299dSmrg Several test cases which previously failed now work perfectly, including 1248961b2299dSmrg multi-threaded ico. In addition, the infamous locking correctness 1249061b2299dSmrg assertions, triggered when double-locking or when unlocking without a 1249161b2299dSmrg previous lock, no longer exist, because Xlib/XCB no longer has any reason 1249261b2299dSmrg to care more about application locking than traditional Xlib does. 1249361b2299dSmrg 1249461b2299dSmrg Furthermore, the handoff approach provides great improvements to 1249561b2299dSmrg performance. Results from x11perf's XNoOp test, which represented the 1249661b2299dSmrg worst case for the lock-based Xlib/XCB: 1249761b2299dSmrg 1249861b2299dSmrg Traditional Xlib: average 19100000/sec 1249961b2299dSmrg Lock-based Xlib/XCB: average 3350000/sec 1250061b2299dSmrg Handoff-based Xlib/XCB: average 17400000/sec 1250161b2299dSmrg 1250261b2299dSmrg Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to 1250361b2299dSmrg Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op 1250461b2299dSmrg performance. Of course, real-world workloads do not use no-op, so your 1250561b2299dSmrg mileage may vary. In particular, since no-ops represent the worst case, 1250661b2299dSmrg we expect real workloads to more closely match the performance of 1250761b2299dSmrg traditional Xlib. 1250861b2299dSmrg 1250961b2299dSmrg While removing synchronization code, we changed _XReply to not drop any 1251061b2299dSmrg locks when calling xcb_wait_for_reply; previously, we had to carefully 1251161b2299dSmrg avoid a deadlock between the Display lock and the XCB Xlib lock. Holding 1251261b2299dSmrg the locks reduces implementation complexity and should not impact 1251361b2299dSmrg applications. 1251461b2299dSmrg 1251561b2299dSmrg Commit by Jamey Sharp and Josh Triplett. 1251661b2299dSmrg XCB's handoff mechanism inspired by Keith Packard. 1251761b2299dSmrg 1251861b2299dSmrgcommit 5a19ac473f7a8046b0421fbd5d53da160c22ed75 1251961b2299dSmrgAuthor: Chris Ball <cjb@laptop.org> 1252061b2299dSmrgDate: Mon Nov 3 22:57:29 2008 -0500 1252161b2299dSmrg 1252261b2299dSmrg Remove configure check for xcb-xlib. 1252361b2299dSmrg 1252461b2299dSmrg xcb-xlib has been intentionally removed from libxcb; stop checking for 1252561b2299dSmrg it at configure-time. 1252661b2299dSmrg 1252761b2299dSmrgcommit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b 1252861b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org> 1252961b2299dSmrgDate: Wed Oct 29 14:37:44 2008 -0700 1253061b2299dSmrg 1253161b2299dSmrg .gitignore: Add dolt files 1253261b2299dSmrg 1253361b2299dSmrgcommit 1290cccf2d90083eba852f5f413f7e3dff48ccd2 1253461b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1253561b2299dSmrgDate: Tue Oct 28 11:56:55 2008 +1030 1253661b2299dSmrg 1253761b2299dSmrg man: fix formatting error in XkbGetIndicatorState man page. 1253861b2299dSmrg 1253961b2299dSmrgcommit b1022fa6d7e97640049e93ffa108083fc8d71b05 1254061b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1254161b2299dSmrgDate: Sat Oct 25 09:13:08 2008 -0400 1254261b2299dSmrg 1254361b2299dSmrg Increase size of working arrays in the makekeys utility program. 1254461b2299dSmrg 1254561b2299dSmrg Makekeys is used to create an optimal hash of the keysyms defined 1254661b2299dSmrg in x11proto’s keysymdef.h. 1254761b2299dSmrg 1254861b2299dSmrg The recent addition of new keysyms there has triggered a bug in 1254961b2299dSmrg makekeys where it tries to use a zero on the rhs of the % (mod) 1255061b2299dSmrg operator (resulting in a divide by zero error) whenever it fails 1255161b2299dSmrg to find a solution within its constraints. 1255261b2299dSmrg 1255361b2299dSmrg Increasing the size of the arrays allows it to find a solution for 1255461b2299dSmrg the current set of keysyms. 1255561b2299dSmrg 1255661b2299dSmrg Makekeys is only run durring the build process, so this has no impact 1255761b2299dSmrg on users of libX11, only on the amount of VM needed to build it. 1255861b2299dSmrg 1255961b2299dSmrg It still needs a more complete fix, but this allows compiles to 1256061b2299dSmrg progress until that is completed. 1256161b2299dSmrg 1256261b2299dSmrgcommit 3e9afd501e40d76040635bd9a3045bcaf5a03b60 1256361b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1256461b2299dSmrgDate: Sat Oct 11 01:03:14 2008 -0400 1256561b2299dSmrg 1256661b2299dSmrg Dolt-ify 1256761b2299dSmrg 1256861b2299dSmrg Add dolt to acinclude.m4 and call it it configure.ac to speed compiles. 1256961b2299dSmrg 1257061b2299dSmrgcommit 39c0b266cac8cbc15bf501d7869186862f01d823 1257161b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1257261b2299dSmrgDate: Wed Oct 15 14:30:20 2008 +1030 1257361b2299dSmrg 1257461b2299dSmrg Add more keysyms for PS3 BD remotes, Ericsson Phones #16519 1257561b2299dSmrg 1257661b2299dSmrg X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519> 1257761b2299dSmrg 1257861b2299dSmrgcommit d23aad31338e7d869d878d5aa1b6b91d20287005 1257961b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com> 1258061b2299dSmrgDate: Mon Oct 13 09:41:59 2008 +1030 1258161b2299dSmrg 1258261b2299dSmrg Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 1258361b2299dSmrg 1258461b2299dSmrgcommit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c 1258561b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 1258661b2299dSmrgDate: Thu Jul 24 15:44:26 2008 +0930 1258761b2299dSmrg 1258861b2299dSmrg xkb: fix out-by-1 error in _XkbWriteKeyExplicit. 1258961b2299dSmrg 1259061b2299dSmrg Thanks to Michael Meeks, Novell Bug 369263. 1259161b2299dSmrg https://bugzilla.novell.com/show_bug.cgi?id=369263 1259261b2299dSmrg 1259361b2299dSmrgcommit e7ece39afc8e0adc3b6b1e70b337b98376754462 1259461b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1259561b2299dSmrgDate: Tue Oct 7 15:41:38 2008 -0700 1259661b2299dSmrg 1259761b2299dSmrg Sun bug #6739431: double free in _X11TransConnectDisplay() 1259861b2299dSmrg 1259961b2299dSmrg Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 1260061b2299dSmrg After copying original_hostname to phostname, set original_hostname 1260161b2299dSmrg to NULL, so we don't free the same pointer twice when we free both 1260261b2299dSmrg original_hostname and phostname. 1260361b2299dSmrg 1260461b2299dSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431> 1260561b2299dSmrg 1260661b2299dSmrgcommit 0877bc916afbd1ff8f1833edc930b765ea783576 1260761b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1260861b2299dSmrgDate: Tue Sep 23 19:02:02 2008 +0300 1260961b2299dSmrg 1261061b2299dSmrg configure.ac: Fix CC_FOR_BUILD logic error 1261161b2299dSmrg 1261261b2299dSmrg Turns out we were accidentally smashing it so that you couldn't set it 1261361b2299dSmrg externally at all. Oops. 1261461b2299dSmrg 1261561b2299dSmrgcommit 58bf3aa746908f01c37be7045699e43a4e270944 1261661b2299dSmrgAuthor: John Tapsell <johnflux@gmail.com> 1261761b2299dSmrgDate: Tue Sep 23 17:30:13 2008 +0300 1261861b2299dSmrg 1261961b2299dSmrg Build: Use native compiler for makekeys 1262061b2299dSmrg 1262161b2299dSmrg makekeys needs to be run during the build process, as opposed to on the 1262261b2299dSmrg target, so build it with either of gcc or cc to fix cross-compiling. 1262361b2299dSmrg This can be overridden by setting $CC_FOR_BUILD. 1262461b2299dSmrg 1262561b2299dSmrgcommit 340422a5c7a413faef18666cada27cee14615250 1262661b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1262761b2299dSmrgDate: Wed Sep 17 12:54:34 2008 -0400 1262861b2299dSmrg 1262961b2299dSmrg Fix the previous patch for the BadFont case. 1263061b2299dSmrg 1263161b2299dSmrgcommit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428 1263261b2299dSmrgAuthor: Matthias Clasen <mclasen@redhat.com> 1263361b2299dSmrgDate: Wed Sep 17 10:43:52 2008 -0400 1263461b2299dSmrg 1263561b2299dSmrg Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 1263661b2299dSmrg 1263761b2299dSmrgcommit db0b85db29699be6bf7e78dede655d59ba926dfc 1263861b2299dSmrgAuthor: Rafael Ávila de Espíndola <rafael.espindola@gmail.com> 1263961b2299dSmrgDate: Sun Sep 14 19:15:26 2008 -0400 1264061b2299dSmrg 1264161b2299dSmrg Fix problem with <dead_acute> <c> in pt_BR.UTF-8 1264261b2299dSmrg 1264361b2299dSmrg The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8 1264461b2299dSmrg Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the 1264561b2299dSmrg ISO 8859 pt_BR Compose file) as the string but specify the keysym 1264661b2299dSmrg and comment for Ć and ć (c with acute accent). 1264761b2299dSmrg 1264861b2299dSmrg This commit normalizes those two lines to match the specified string. 1264961b2299dSmrg 1265061b2299dSmrg Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671 1265161b2299dSmrg 1265261b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1265361b2299dSmrg 1265461b2299dSmrgcommit b065c011baa69b69e3ea77c30d5e153c0d103e2d 1265561b2299dSmrgAuthor: Michael Verret <michael.verret@gmail.com> 1265661b2299dSmrgDate: Mon Sep 8 16:33:35 2008 -0400 1265761b2299dSmrg 1265861b2299dSmrg Fix documentation typo 1265961b2299dSmrg 1266061b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1266161b2299dSmrg 1266261b2299dSmrgcommit 4213ea95185377bdd1b51e82933f331fc0f52e5b 1266361b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1266461b2299dSmrgDate: Sat Sep 6 04:19:19 2008 -0400 1266561b2299dSmrg 1266661b2299dSmrg Remove extraneous <angle brackets> from the Ethiopic Compose file. 1266761b2299dSmrg 1266861b2299dSmrg The am_ET.UTF-8 Compose file submitted in: 1266961b2299dSmrg 1267061b2299dSmrg https://bugs.freedesktop.org/show_bug.cgi?id=11307 1267161b2299dSmrg 1267261b2299dSmrg for the OLCP project used incorrect syntax. (It has angle brackets around the 1267361b2299dSmrg Uxxxx symbols on the right hand side rather than only on the left hand side). 1267461b2299dSmrg 1267561b2299dSmrg This bug is noted in OLPC’s ticket: 1267661b2299dSmrg 1267761b2299dSmrg http://dev.laptop.org/ticket/7474 1267861b2299dSmrg http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch 1267961b2299dSmrg 1268061b2299dSmrgcommit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918 1268161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1268261b2299dSmrgDate: Mon Sep 1 17:49:33 2008 -0400 1268361b2299dSmrg 1268461b2299dSmrg Complete the set of vulgar fractions 1268561b2299dSmrg 1268661b2299dSmrg Unicode 1.1 added thirds, fifths, sixths and eights; 1268761b2299dSmrg we might as well catch up. 1268861b2299dSmrg 1268961b2299dSmrg (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152) 1269061b2299dSmrg and 0/3 (U2189) in their pipelines, but those four can be added 1269161b2299dSmrg here after they are published.) 1269261b2299dSmrg 1269361b2299dSmrgcommit a788792e9de95f8db0639557859722a35087481d 1269461b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1269561b2299dSmrgDate: Wed Aug 20 15:28:07 2008 -0400 1269661b2299dSmrg 1269761b2299dSmrg nls (en_US) Re-remove long compositions that override shorter 1269861b2299dSmrg 1269961b2299dSmrg As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>: 1270061b2299dSmrg 1270161b2299dSmrg Commit a6f4bbf7 1270261b2299dSmrg nls (en_US): remove long compositions that override shorter [...] 1270361b2299dSmrg removed some longer compose sequences because there are shorter 1270461b2299dSmrg ones which take preference over the longer. For example the 1270561b2299dSmrg sequences: 1270661b2299dSmrg 1270761b2299dSmrg <Multi_key> <apostrophe> <comma> <c> : U1E09 # ḉ 1270861b2299dSmrg <Multi_key> <apostrophe> <comma> <C> : U1E08 # Ḉ 1270961b2299dSmrg 1271061b2299dSmrg were removed becase there already was: 1271161b2299dSmrg 1271261b2299dSmrg <Multi_key> <apostrophe> <comma> : U201A # ‚ 1271361b2299dSmrg 1271461b2299dSmrg Then commit 4ba09125 1271561b2299dSmrg Work on making the en_US and pt_BR UTF-8 Compose as similar as 1271661b2299dSmrg possible added exactly the same key sequences again. Obviusly 1271761b2299dSmrg they won't work. 1271861b2299dSmrg 1271961b2299dSmrgcommit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74 1272061b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1272161b2299dSmrgDate: Thu Jul 17 21:01:42 2008 -0400 1272261b2299dSmrg 1272361b2299dSmrg Add more <Multi_key> <cedilla> Compose tuples 1272461b2299dSmrg 1272561b2299dSmrg The last commit missed the el_GR UTF-8 Compose.pre as well as 1272661b2299dSmrg the various ISO 8859 locales which have compose sequences 1272761b2299dSmrg generating ‘WITH CEDILLA’ characters. 1272861b2299dSmrg 1272961b2299dSmrg (Interestingly, some of the 8859 locales already supported 1273061b2299dSmrg <Multi_key> <cedilla> for some CEDILLA characters, but not 1273161b2299dSmrg for Ç or ç.) 1273261b2299dSmrg 1273361b2299dSmrg This is further work on bug 10397. 1273461b2299dSmrg 1273561b2299dSmrgcommit 4ba091255bb953d53078ba5619d6751052c739f7 1273661b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1273761b2299dSmrgDate: Thu Jul 17 17:16:50 2008 -0400 1273861b2299dSmrg 1273961b2299dSmrg Work on making the en_US and pt_BR UTF-8 Compose as similar as possible. 1274061b2299dSmrg 1274161b2299dSmrg The eventual goal here is to have a single primary UTF-8 Compose 1274261b2299dSmrg file which the locale-specific UTF-8 Compose.pre files can #include. 1274361b2299dSmrg 1274461b2299dSmrgcommit 254522d3c24e0590732fc03cdd61ff4564819d94 1274561b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1274661b2299dSmrgDate: Thu Jul 17 17:13:36 2008 -0400 1274761b2299dSmrg 1274861b2299dSmrg Add <Multi_key> <cedilla> Compose tuples 1274961b2299dSmrg 1275061b2299dSmrg The en_US and pt_BR UTF-8 Compose tables had support for using <comma> 1275161b2299dSmrg with <Multi_key> to enter CEDILLA characters. Bug 10397 requests 1275261b2299dSmrg support for using <cedilla> instead of <comma> in said sequences. 1275361b2299dSmrg 1275461b2299dSmrg This commit makes both styles work. 1275561b2299dSmrg 1275661b2299dSmrgcommit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44 1275761b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1275861b2299dSmrgDate: Sat Jun 28 15:25:23 2008 -0400 1275961b2299dSmrg 1276061b2299dSmrg Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 1276161b2299dSmrg 1276261b2299dSmrg The new block was added twice to the en_US.UTF-8 Compose.pre; 1276361b2299dSmrg delete the duplicate. 1276461b2299dSmrg 1276561b2299dSmrgcommit 596e081b7457dcd1c4ad555ac140e6999239bc0d 1276661b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1276761b2299dSmrgDate: Sat Jun 28 20:14:05 2008 +0930 1276861b2299dSmrg 1276961b2299dSmrg Fix unbalanced parenthesis in XKBlib.h # 16551 1277061b2299dSmrg 1277161b2299dSmrg X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551> 1277261b2299dSmrg 1277361b2299dSmrgcommit f6af6dd2f76c12b56ec166bb771457b9f08fe246 1277461b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1277561b2299dSmrgDate: Tue Jun 24 13:16:53 2008 -0400 1277661b2299dSmrg 1277761b2299dSmrg Bug #14898: Don't abuse the sprintf() implementation. 1277861b2299dSmrg 1277961b2299dSmrg The thing you're printing into should not itself appear in the list of 1278061b2299dSmrg things to print from, that's bad juju. Just use strcat(). 1278161b2299dSmrg 1278261b2299dSmrgcommit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01 1278361b2299dSmrgAuthor: Khaled Hosny <khaledhosny@eglug.org> 1278461b2299dSmrgDate: Thu Jun 19 18:26:11 2008 -0400 1278561b2299dSmrg 1278661b2299dSmrg NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426) 1278761b2299dSmrg 1278861b2299dSmrg Add some Arabic digraphs to utf-8 locales with a Compose.pre 1278961b2299dSmrg 1279061b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1279161b2299dSmrg 1279261b2299dSmrgcommit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba 1279361b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1279461b2299dSmrgDate: Wed Jun 18 20:00:25 2008 -0700 1279561b2299dSmrg 1279661b2299dSmrg Rework code to choose local connection types and fallback to others 1279761b2299dSmrg 1279861b2299dSmrg Adds --with-local-transport-order configure flag if you don't like the 1279961b2299dSmrg default ordering (which is platform dependent) 1280061b2299dSmrg 1280161b2299dSmrg Includes fixes for these Sun/Solaris bug ids: 1280261b2299dSmrg 6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0 1280361b2299dSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250> 1280461b2299dSmrg 6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris 1280561b2299dSmrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481> 1280661b2299dSmrg 1280761b2299dSmrgcommit cf49e537014c3cb5aaee07e57400933e0bb72b6b 1280861b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1280961b2299dSmrgDate: Tue Jun 17 14:41:17 2008 -0700 1281061b2299dSmrg 1281161b2299dSmrg Strip whitespace from end of lines in source files 1281261b2299dSmrg 1281361b2299dSmrgcommit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3 1281461b2299dSmrgAuthor: Jeff Smith <whydoubt@yahoo.com> 1281561b2299dSmrgDate: Sun Jun 15 23:52:20 2008 -0500 1281661b2299dSmrg 1281761b2299dSmrg Fix memory leak in XOpenDisplay 1281861b2299dSmrg 1281961b2299dSmrg Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au> 1282061b2299dSmrg 1282161b2299dSmrgcommit fca0b0ba3f72b7284601d4690bba99fc80a92614 1282261b2299dSmrgAuthor: Jens Herden <jens@khmeros.info> 1282361b2299dSmrgDate: Tue Jun 10 20:07:30 2008 +0300 1282461b2299dSmrg 1282561b2299dSmrg NLS: Add Khmer compose sequences (bug #5706) 1282661b2299dSmrg 1282761b2299dSmrg Add some Khmer digraphs to all locales with a Compose.pre. 1282861b2299dSmrg 1282961b2299dSmrgcommit e54cffb649b1622c17457e470cfab8cc56d38c97 1283038ae11fcSmrgMerge: 19802ccd 721b574d 1283161b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1283261b2299dSmrgDate: Tue Jun 10 20:04:30 2008 +0300 1283361b2299dSmrg 1283461b2299dSmrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 1283561b2299dSmrg 1283661b2299dSmrgcommit 721b574d36f1884c3f1bf7bd933646e2ed6680b5 1283761b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1283861b2299dSmrgDate: Thu May 29 10:57:21 2008 +0930 1283961b2299dSmrg 1284061b2299dSmrg Bump to 1.1.99.1 1284161b2299dSmrg 1284261b2299dSmrgcommit 631d32d13247d1cf52c0833d438c5b38b01b17a4 1284361b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1284461b2299dSmrgDate: Wed May 28 17:31:59 2008 +0930 1284561b2299dSmrg 1284661b2299dSmrg Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 1284761b2299dSmrg 1284861b2299dSmrgcommit e9195db7257e418f83707233baeeb84b225caf4f 1284938ae11fcSmrgMerge: c34f76f4 a7f85567 1285061b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1285161b2299dSmrgDate: Thu May 22 12:14:28 2008 +0930 1285261b2299dSmrg 1285361b2299dSmrg Merge branch 'master' into xge 1285461b2299dSmrg 1285561b2299dSmrgcommit 19802ccd3909145e3ba2f6c073271cb5f3701685 1285661b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1285761b2299dSmrgDate: Mon May 19 19:22:31 2008 +0300 1285861b2299dSmrg 1285961b2299dSmrg gitignore: Update with loads more bits from server 1286061b2299dSmrg 1286161b2299dSmrgcommit a7f85567a3e850fba0c44571453d2852ab1a09be 1286261b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1286361b2299dSmrgDate: Tue May 13 10:28:39 2008 -0400 1286461b2299dSmrg 1286561b2299dSmrg Bug #15884: Remove useless sleep()'s from the connection code. 1286661b2299dSmrg 1286761b2299dSmrg For network transports, there's enough delay in the network layer 1286861b2299dSmrg already without adding more. For local transports, just hurry up 1286961b2299dSmrg and fail if the server isn't there. 1287061b2299dSmrg 1287161b2299dSmrgcommit c34f76f475bc632490122e67b5a82575d69d5569 1287261b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1287361b2299dSmrgDate: Mon May 12 21:46:24 2008 +0930 1287461b2299dSmrg 1287561b2299dSmrg Pull down extra bytes when reading a GenericEvent (non-xcb). 1287661b2299dSmrg 1287761b2299dSmrg I refuse to take any responsibily for this code. It works, I guess. 1287861b2299dSmrg But - all the flushing is done somewhere before that, so we might need to 1287961b2299dSmrg flush here. Under some circumstances anyway. Don't ask me, I'm an optical 1288061b2299dSmrg illusion. 1288161b2299dSmrg 1288261b2299dSmrg Build with xcb as transport layer highly recommended. 1288361b2299dSmrg 1288461b2299dSmrgcommit c9b2ff1e6a607463993afa4a8d085857d97cc2f3 1288538ae11fcSmrgMerge: 17d7dcbf 9129057b 1288661b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1288761b2299dSmrgDate: Mon May 12 17:58:37 2008 +0930 1288861b2299dSmrg 1288961b2299dSmrg Merge branch 'master' into xge 1289061b2299dSmrg 1289161b2299dSmrgcommit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb 1289261b2299dSmrgAuthor: Teemu Likonen <tlikonen@iki.fi> 1289361b2299dSmrgDate: Wed May 7 21:44:22 2008 +0300 1289461b2299dSmrg 1289561b2299dSmrg Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01 1289661b2299dSmrg 1289761b2299dSmrg Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot> 1289861b2299dSmrg <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and 1289961b2299dSmrg U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused 1290061b2299dSmrg duplicate compose sequences since these have already been defined. Also, 1290161b2299dSmrg using <dead_belowring> is more logical since the diacritic is indeed 1290261b2299dSmrg a "RING BELOW". 1290361b2299dSmrg 1290461b2299dSmrgcommit 01a9cb58888d290cc3d319feec4ee4a0297a844c 1290561b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1290661b2299dSmrgDate: Wed May 7 20:04:44 2008 +0300 1290761b2299dSmrg 1290861b2299dSmrg NLS: Make UTF-8 the default for Russian 1290961b2299dSmrg 1291061b2299dSmrg No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the 1291161b2299dSmrg only other possible answer would be KOI8-R. 1291261b2299dSmrg 1291361b2299dSmrg Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com> 1291461b2299dSmrg 1291561b2299dSmrgcommit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8 1291661b2299dSmrgAuthor: Ross Burton <ross@burtonini.com> 1291761b2299dSmrgDate: Tue Apr 29 13:38:10 2008 +0300 1291861b2299dSmrg 1291961b2299dSmrg NLS: Add interrobang to UTF-8 compose tables (bug #15653) 1292061b2299dSmrg 1292161b2299dSmrg It is what it says on the box. 1292261b2299dSmrg 1292361b2299dSmrgcommit 0b6682303e9c61fefc3818acfda616b1e3691abf 1292461b2299dSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net> 1292561b2299dSmrgDate: Mon Apr 28 11:51:25 2008 +0300 1292661b2299dSmrg 1292761b2299dSmrg IM: Respect XMODIFIERS for Thai locale (bug #15719) 1292861b2299dSmrg 1292961b2299dSmrg When looking at Thai input methods, make sure XMODIFIERS is checked 1293061b2299dSmrg before jumping straight into built-in Thai processing, so external XIM 1293161b2299dSmrg servers such as SCIM can be used with Thai. 1293261b2299dSmrg 1293361b2299dSmrgcommit c13aded1b2f830ba5004abb0ec5518f9ea16087e 1293461b2299dSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net> 1293561b2299dSmrgDate: Sat Apr 26 18:56:05 2008 +0100 1293661b2299dSmrg 1293761b2299dSmrg Fix missing error condition 1293861b2299dSmrg 1293961b2299dSmrgcommit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083 1294061b2299dSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net> 1294161b2299dSmrgDate: Mon Apr 21 17:24:33 2008 +0100 1294261b2299dSmrg 1294361b2299dSmrg Xlib warning fixes 1294461b2299dSmrg 1294561b2299dSmrgcommit 6b6caeea830a977bdb54688cfb648d879821e752 1294661b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com> 1294761b2299dSmrgDate: Fri Apr 18 02:50:55 2008 -0400 1294861b2299dSmrg 1294961b2299dSmrg Add some dead_key sequences to en_US.UTF-8 Compose table 1295061b2299dSmrg 1295161b2299dSmrg Make use of the new dead key symbols added to x11proto’s 1295261b2299dSmrg commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which 1295361b2299dSmrg was in responce to bug #15446). 1295461b2299dSmrg 1295561b2299dSmrgcommit 8f9b039580deaf658e464b7d6254064fcf183df6 1295661b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1295761b2299dSmrgDate: Mon Apr 14 19:09:42 2008 -0700 1295861b2299dSmrg 1295961b2299dSmrg Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 1296061b2299dSmrg 1296161b2299dSmrgcommit 9f5e96eb91ab55dd441c3e94b75caf48c588778f 1296261b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 1296361b2299dSmrgDate: Mon Apr 14 18:21:14 2008 -0700 1296461b2299dSmrg 1296561b2299dSmrg Fix mismatched brace indenting 1296661b2299dSmrg 1296761b2299dSmrgcommit a19f9c65ee9e5e5d783feaa84998c36439b0288b 1296861b2299dSmrgAuthor: Bart Massey <bart@cs.pdx.edu> 1296961b2299dSmrgDate: Fri Apr 4 18:58:45 2008 -0700 1297061b2299dSmrg 1297161b2299dSmrg added error check in Xcms color file parser; closes bug #15305 1297261b2299dSmrg 1297361b2299dSmrgcommit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f 1297461b2299dSmrgAuthor: Christian Weisgerber <naddy@mips.inka.de> 1297561b2299dSmrgDate: Tue Mar 18 07:30:05 2008 +0100 1297661b2299dSmrg 1297761b2299dSmrg ConnDis: properly cast 'addr' before accessing it as a byte array. 1297861b2299dSmrg 1297961b2299dSmrg If you use XDM-AUTHORIZATION-1 authorization keys for remote X11 1298061b2299dSmrg clients over IPv6, the clients are liable to segfaults. 1298161b2299dSmrg 1298261b2299dSmrgcommit 64325f38bab082a8e0e9ce779a8e582de5c8588e 1298361b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org> 1298461b2299dSmrgDate: Sat Mar 15 12:29:33 2008 -0700 1298561b2299dSmrg 1298661b2299dSmrg Fix fd.o bug 15023: make Xlib sync correctly given many void requests 1298761b2299dSmrg 1298861b2299dSmrg If given many requests without replies, Xlib may not sync until it flushes 1298961b2299dSmrg the output buffer. Thus, if Xlib can fit enough requests in the buffer to 1299061b2299dSmrg pass by the number of requests it would normally sync after (65536 - 1299161b2299dSmrg BUFSIZE/sizeof(xReq)), it will sync too late. The test case in bug 15023 1299261b2299dSmrg demonstrated this by issuing a request with a reply (ListExtensions) at 1299361b2299dSmrg just the right time to get confused with the GetInputFocus reply issued in 1299461b2299dSmrg response to the sync 65,536 requests later; the test case used an async 1299561b2299dSmrg handler to watch the replies, since otherwise it could not issue a request 1299661b2299dSmrg without waiting for the response. When the test case failed, Xlib's sync 1299761b2299dSmrg handler would eat the ListExtensions reply, and the test case's async 1299861b2299dSmrg handler would see the GetInputFocus reply. 1299961b2299dSmrg 1300061b2299dSmrg Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the 1300161b2299dSmrg buffer size to figure out when the sequence numbers could potentially wrap 1300261b2299dSmrg before the next flush. 1300361b2299dSmrg 1300461b2299dSmrg With this commit, the test case consistently passed, and the async reply 1300561b2299dSmrg handler always saw the ListExtensions reply. 1300661b2299dSmrg 1300761b2299dSmrg Commit by Jamey Sharp and Josh Triplett. 1300861b2299dSmrg 1300961b2299dSmrgcommit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e 1301061b2299dSmrgAuthor: Colin Harrison <colin.harrison@virgin.net> 1301161b2299dSmrgDate: Sat Mar 15 13:39:13 2008 -0400 1301261b2299dSmrg 1301361b2299dSmrg Fix typo 1301461b2299dSmrg 1301561b2299dSmrg Signed-off-by: James Cloos <cloos@jhcloos.com> 1301661b2299dSmrg 1301761b2299dSmrgcommit f07585ca27a8487bc66dfe41486c823f0fdcea7d 1301861b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org> 1301961b2299dSmrgDate: Sat Mar 15 17:32:57 2008 +0200 1302061b2299dSmrg 1302161b2299dSmrg configure.ac: Don't search for legacy X11 headers 1302261b2299dSmrg 1302361b2299dSmrg This can actually break cross-compiles, so don't do it anymore. 1302461b2299dSmrg 1302561b2299dSmrgcommit bf69541238c7df6606340c0f389e5c47149b29c7 1302661b2299dSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 1302761b2299dSmrgDate: Sun Mar 9 09:08:07 2008 +0100 1302861b2299dSmrg 1302961b2299dSmrg nuke RCS Ids 1303061b2299dSmrg 1303161b2299dSmrgcommit 5e98aed13e529638df744e45893c471d5f2014fb 1303261b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com> 1303361b2299dSmrgDate: Thu Mar 6 16:10:33 2008 -0500 1303461b2299dSmrg 1303561b2299dSmrg libX11 1.1.4 1303661b2299dSmrg 130371ab64890Smrgcommit 8e085971dc661da9f80ff6b67747459c0fb15c08 130381ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 130391ab64890SmrgDate: Thu Feb 28 20:17:41 2008 -0800 130401ab64890Smrg 130411ab64890Smrg Man page typo fixes 130421ab64890Smrg 130431ab64890Smrgcommit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb 130441ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@redhat.com> 130451ab64890SmrgDate: Sun Feb 24 20:03:35 2008 -0500 130461ab64890Smrg 130471ab64890Smrg XIM: Fix a hand when switching input context. 130481ab64890Smrg 130491ab64890Smrg Red Hat bug #201284. 130501ab64890Smrg 130511ab64890Smrgcommit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2 130521ab64890SmrgAuthor: Adam Jackson <ajax@redhat.com> 130531ab64890SmrgDate: Sun Feb 24 20:00:43 2008 -0500 130541ab64890Smrg 130551ab64890Smrg Bug #14029: Don't LockDisplay() recursively. 130561ab64890Smrg 130571ab64890Smrg See also Red Hat bugzilla #326461. 130581ab64890Smrg 130591ab64890Smrgcommit e5892467ae3308c8651be76e06db322dcbc08522 130601ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 130611ab64890SmrgDate: Fri Feb 15 17:27:53 2008 -0800 130621ab64890Smrg 130631ab64890Smrg Add support for building lint library with --enable-lint-library 130641ab64890Smrg 130651ab64890Smrgcommit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240 130661ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 130671ab64890SmrgDate: Mon Feb 11 20:11:43 2008 -0800 130681ab64890Smrg 130691ab64890Smrg Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 130701ab64890Smrg 130711ab64890Smrgcommit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185 130721ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 130731ab64890SmrgDate: Fri Feb 8 16:46:46 2008 -0800 130741ab64890Smrg 130751ab64890Smrg Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 130761ab64890Smrg 130771ab64890Smrgcommit 416a812200f24d19149dcc497e5c51a0608120f6 130781ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 130791ab64890SmrgDate: Fri Feb 8 15:31:31 2008 -0800 130801ab64890Smrg 130811ab64890Smrg XErrorDB updates for Render 0.9 & XFixes 4.0 130821ab64890Smrg 130831ab64890Smrgcommit 16a76091cd632e5a3708e235ff864b58f3e4613e 130841ab64890SmrgAuthor: Kim Woelders <kim@woelders.dk> 130851ab64890SmrgDate: Sat Dec 22 21:45:23 2007 +0100 130861ab64890Smrg 130871ab64890Smrg Fix bs_BA entries in locale.dir.pre 130881ab64890Smrg 130891ab64890Smrg X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786> 130901ab64890Smrg 130911ab64890Smrgcommit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea 1309238ae11fcSmrgMerge: 8f0bd3f4 e8d4cefa 130931ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 130941ab64890SmrgDate: Fri Dec 14 22:43:47 2007 -0500 130951ab64890Smrg 130961ab64890Smrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 130971ab64890Smrg 130981ab64890Smrgcommit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695 130991ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 131001ab64890SmrgDate: Fri Dec 14 22:42:59 2007 -0500 131011ab64890Smrg 131021ab64890Smrg add a comment to en_US.UTF-8/Compose 131031ab64890Smrg 131041ab64890Smrgcommit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b 131051ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 131061ab64890SmrgDate: Fri Dec 14 22:40:13 2007 -0500 131071ab64890Smrg 131081ab64890Smrg Add <dead_stroke> compose sequences 131091ab64890Smrg 131101ab64890Smrg The added sequences match the existing <Multi_key> <slash> sequences. 131111ab64890Smrg 131121ab64890Smrg This is related to bug #12765¹. 131131ab64890Smrg 131141ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=12765 131151ab64890Smrg 131161ab64890Smrgcommit e8d4cefa0837afa149a10e981528b368485a9e38 131171ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local> 131181ab64890SmrgDate: Mon Dec 10 23:00:44 2007 -0800 131191ab64890Smrg 131201ab64890Smrg Added launchd support. 131211ab64890Smrg 1312261b2299dSmrgcommit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242 1312338ae11fcSmrgMerge: 5dfefd38 13ac8046 1312461b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1312561b2299dSmrgDate: Thu Dec 6 14:08:29 2007 +1030 1312661b2299dSmrg 1312761b2299dSmrg Merge branch 'master' into xge 1312861b2299dSmrg 1312961b2299dSmrgcommit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5 1313038ae11fcSmrgMerge: a68a1cd7 eff33ae5 1313161b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1313261b2299dSmrgDate: Thu Dec 6 13:57:09 2007 +1030 1313361b2299dSmrg 1313461b2299dSmrg Merge branch 'master' into xge 1313561b2299dSmrg 1313661b2299dSmrg Conflicts: 1313761b2299dSmrg 1313838ae11fcSmrg src/xcb_io.c 1313961b2299dSmrg 131401ab64890Smrgcommit 13ac80469f6958cabac596834e203bd9cb6d4c94 131411ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 131421ab64890SmrgDate: Wed Dec 5 20:14:03 2007 -0500 131431ab64890Smrg 131441ab64890Smrg Update the currency symbols block of en_US.UTF-8/Compose.pre 131451ab64890Smrg Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for 131461ab64890Smrg the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI, 131471ab64890Smrg AUSTRAL, HRYVNIA and CEDI SIGNs. 131481ab64890Smrg 131491ab64890Smrgcommit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e 131501ab64890SmrgAuthor: Anton Zinoviev <anton@lml.bas.bg> 131511ab64890SmrgDate: Wed Dec 5 19:56:03 2007 -0500 131521ab64890Smrg 131531ab64890Smrg Additions to the Compose file for UTF-8 131541ab64890Smrg From bug #5371¹ 131551ab64890Smrg 131561ab64890Smrg Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change 131571ab64890Smrg from those in attachment #4122². The post³ on xorg resulted in only 131581ab64890Smrg a positive reply⁴ from Daniel, so this block is now also commited. 131591ab64890Smrg 131601ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=5371 131611ab64890Smrg 2] https://bugs.freedesktop.org/attachment.cgi?id=4122 131621ab64890Smrg 3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628 131631ab64890Smrg 4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966 131641ab64890Smrg 131651ab64890Smrg Signed-off-by: James Cloos <cloos@jhcloos.com> 131661ab64890Smrg Acked-by: Daniel Stone <daniel@fooishbar.org> 131671ab64890Smrg 131681ab64890Smrgcommit 438d02ebc08ee171cf1d3936f4c81050d428ab92 131691ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 131701ab64890SmrgDate: Tue Dec 4 17:25:39 2007 -0500 131711ab64890Smrg 131721ab64890Smrg Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file 131731ab64890Smrg 131741ab64890Smrg Based on src/KeysymStr.c and src/StrKeysym.c and comments in 131751ab64890Smrg bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid; 131761ab64890Smrg those should be in the form U plus the hex of the UCS Code Point. 131771ab64890Smrg 131781ab64890Smrg The 0x01000000 is ORed in by the code. 131791ab64890Smrg 131801ab64890Smrg This update fixes all of those. 131811ab64890Smrg 131821ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 131831ab64890Smrg 2] https://bugs.freedesktop.org/show_bug.cgi?id=5129 131841ab64890Smrg 131851ab64890Smrgcommit 02e04059c89e175f51647e3b031344f743286b34 1318638ae11fcSmrgMerge: 1254c57d b57129ef 131871ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 131881ab64890SmrgDate: Tue Dec 4 06:55:04 2007 -0500 131891ab64890Smrg 131901ab64890Smrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 131911ab64890Smrg 131921ab64890Smrgcommit 1254c57dd3a8d6ea87041b2f63024f99094f290f 131931ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 131941ab64890SmrgDate: Tue Dec 4 06:53:55 2007 -0500 131951ab64890Smrg 131961ab64890Smrg Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11 131971ab64890Smrg Inspired by bug 11930¹: 131981ab64890Smrg 131991ab64890Smrg Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili 132001ab64890Smrg and dead_dasia keysyms. Make use of them in the en_US.UTF-8 and el_GR.UTF-8 132011ab64890Smrg Compose files. 132021ab64890Smrg 132031ab64890Smrg This was done with a pair of perl scripts based on the one quoted in the 132041ab64890Smrg log for commit c76d30253f1483ac8200ad5c032a818907e65030. 132051ab64890Smrg 132061ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=11930 132071ab64890Smrg 132081ab64890Smrgcommit b57129ef324c73ee91c2a796b800c4b45f4d4855 132091ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local> 132101ab64890SmrgDate: Mon Dec 3 20:04:19 2007 -0800 132111ab64890Smrg 132121ab64890Smrg Use __APPLE__ instead of __DARWIN__ 132131ab64890Smrg 132141ab64890Smrgcommit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e 132151ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local> 132161ab64890SmrgDate: Wed Nov 28 16:43:49 2007 -0800 132171ab64890Smrg 132181ab64890Smrg Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 132191ab64890Smrg 132201ab64890Smrgcommit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037 132211ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 132221ab64890SmrgDate: Wed Nov 21 16:50:04 2007 -0800 132231ab64890Smrg 132241ab64890Smrg X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page 132251ab64890Smrg 132261ab64890Smrg X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312> 132271ab64890Smrg 132281ab64890Smrg Protect /* sequences from cpp pre-processor removal without transforming 132291ab64890Smrg to Unicode mathematical asterisk character 132301ab64890Smrg 132311ab64890Smrgcommit 2af660c2fcd15c86c66459bfc074c190ea1462e6 132321ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 132331ab64890SmrgDate: Mon Oct 29 10:46:20 2007 -0700 132341ab64890Smrg 132351ab64890Smrg Two threads can request sequence sync and XID fetch simultaneously. 132361ab64890Smrg 132371ab64890Smrg So don't assert that they can't. 132381ab64890Smrg 132391ab64890Smrg This makes the Xlib/XCB implementation of _XAllocID more closely 132401ab64890Smrg resemble the traditional Xlib version. 132411ab64890Smrg 132421ab64890Smrgcommit 6e5485e0a5e3ab738becad12193e760c5fee83a4 132431ab64890SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org> 132441ab64890SmrgDate: Sun Oct 28 04:44:00 2007 -0800 132451ab64890Smrg 132461ab64890Smrg X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man 132471ab64890Smrg 132481ab64890Smrg <http://bugs.freedesktop.org/show_bug.cgi?id=12983> 132491ab64890Smrg 132501ab64890Smrgcommit 24527c92fd1f433ea135e85ec876a94a529fe500 132511ab64890SmrgAuthor: Yann Droneaud <ydroneaud@mandriva.com> 132521ab64890SmrgDate: Wed Oct 24 19:26:07 2007 +0300 132531ab64890Smrg 132541ab64890Smrg XIM: Properly initialise client event 132551ab64890Smrg 132561ab64890Smrg Make sure all ClientMessage fields are initialised to 0 before we send it. 132571ab64890Smrg 132581ab64890Smrgcommit e41477f37b0d9b74a056d22dbf0073a94eecb9d6 132591ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 132601ab64890SmrgDate: Wed Oct 24 19:22:22 2007 +0300 132611ab64890Smrg 132621ab64890Smrg Colours: Fix --disable-xcms 132631ab64890Smrg 132641ab64890Smrg Disable large tracts of colour management code when passing 132651ab64890Smrg --disable-xcms. 132661ab64890Smrg 132671ab64890Smrgcommit 11ea09745efa8de7dc82fe30ebd2393f08390957 132681ab64890SmrgAuthor: Eric Anholt <eric@anholt.net> 132691ab64890SmrgDate: Fri Aug 31 17:30:33 2007 -0700 132701ab64890Smrg 132711ab64890Smrg Bug #2081: Note the range limitation of XSetScreenSaver arguments. 132721ab64890Smrg 132731ab64890Smrgcommit 31540f1438ec63faf37044f2fd654b335ddf80f0 132741ab64890SmrgAuthor: Kristian Høgsberg <krh@redhat.com> 132751ab64890SmrgDate: Wed Aug 29 19:50:57 2007 -0400 132761ab64890Smrg 132771ab64890Smrg Add GLX 1.4 requests and errors. 132781ab64890Smrg 132791ab64890Smrgcommit 7c996f78914c77fe17e9f4feede980d895d9df51 132801ab64890SmrgAuthor: Eric Anholt <eric@anholt.net> 132811ab64890SmrgDate: Tue Aug 28 15:15:11 2007 -0700 132821ab64890Smrg 132831ab64890Smrg Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 132841ab64890Smrg 132851ab64890Smrgcommit fa4effe82759f864a22a2dc6c920fa72ddb175a8 132861ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 132871ab64890SmrgDate: Sun Jan 14 10:48:00 2007 -0800 132881ab64890Smrg 132891ab64890Smrg Bug #9658: Bad markup on XIfEvent.3x 132901ab64890Smrg 132911ab64890Smrg X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658> 132921ab64890Smrg 132931ab64890Smrgcommit 74cba78daa738ef4d92096107d95c1a585933666 132941ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 132951ab64890SmrgDate: Sun Jan 14 10:43:00 2007 -0800 132961ab64890Smrg 132971ab64890Smrg Bug #9655: Bad markup in XrmUniqueQuark.3x 132981ab64890Smrg 132991ab64890Smrg X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655> 133001ab64890Smrg 133011ab64890Smrgcommit 4341d1a34b2a2e460b58131b6fd81935f3355bbc 133021ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 133031ab64890SmrgDate: Sun Jan 14 10:43:00 2007 -0800 133041ab64890Smrg 133051ab64890Smrg Bug #9654: Bad markup in XrmGetFileDatabase.3x 133061ab64890Smrg 133071ab64890Smrg X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654> 133081ab64890Smrg 133091ab64890Smrgcommit 2db713252090cae08f0200fecad4fc25fb64c8b1 133101ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 133111ab64890SmrgDate: Sun Jan 14 10:40:00 2007 -0800 133121ab64890Smrg 133131ab64890Smrg Bug #9653: Bad markup in XQueryColor.3x 133141ab64890Smrg 133151ab64890Smrg X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653> 133161ab64890Smrg 133171ab64890Smrgcommit 9d3ceea4b902e0471824c1e07ad64342b9a1114e 133181ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 133191ab64890SmrgDate: Sun Jan 14 10:40:00 2007 -0800 133201ab64890Smrg 133211ab64890Smrg Bug #9652: Bad markup in XDrawArc.3x 133221ab64890Smrg 133231ab64890Smrg X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652> 133241ab64890Smrg 133251ab64890Smrgcommit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc 133261ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 133271ab64890SmrgDate: Sun Jan 14 10:39:00 2007 -0800 133281ab64890Smrg 133291ab64890Smrg Bug #9651: Bad markup in XcmsColor.3x 133301ab64890Smrg 133311ab64890Smrg X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651> 133321ab64890Smrg 133331ab64890Smrgcommit c316aaf0aab06951db9dc5c9c1148bfea835d885 133341ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 133351ab64890SmrgDate: Sun Jan 14 10:38:00 2007 -0800 133361ab64890Smrg 133371ab64890Smrg Bug #9650: Bad markup in XLoadFont.3x manual page 133381ab64890Smrg 133391ab64890Smrg X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650> 133401ab64890Smrg 133411ab64890Smrgcommit ca5d9a625ea0965853fa9e74a448b8c29c78ec95 133421ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 133431ab64890SmrgDate: Tue Jan 2 10:18:00 2007 -0800 133441ab64890Smrg 133451ab64890Smrg Bug 9523: Markup problems in XQueryExtension.3x 133461ab64890Smrg 133471ab64890Smrg X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523> 133481ab64890Smrg 133491ab64890Smrgcommit fe713c616e29ba19c179b43c18eca1035079ce18 133501ab64890SmrgAuthor: Ian Romanick <idr@us.ibm.com> 133511ab64890SmrgDate: Tue Aug 21 14:56:33 2007 -0700 133521ab64890Smrg 133531ab64890Smrg Make sure nls/am_ET.UTF-8/Makefile is created by configure. 133541ab64890Smrg 133551ab64890Smrgcommit e3430616f26b68e1439143cbe10732f3fc329d20 133561ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 133571ab64890SmrgDate: Tue Jan 2 08:40:00 2007 -0800 133581ab64890Smrg 133591ab64890Smrg Bug #9516: Markup error in XAllocWMHints.3x 133601ab64890Smrg 133611ab64890Smrg X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516> 133621ab64890Smrg 133631ab64890Smrgcommit d8fe979fc929833e8c754aed32641786d5a0622b 1336438ae11fcSmrgMerge: 21ca9533 4ec1723f 133651ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 133661ab64890SmrgDate: Mon Aug 20 15:34:50 2007 -0400 133671ab64890Smrg 133681ab64890Smrg Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 133691ab64890Smrg 133701ab64890Smrgcommit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2 133711ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 133721ab64890SmrgDate: Mon Aug 20 15:34:03 2007 -0400 133731ab64890Smrg 133741ab64890Smrg Fix typo 133751ab64890Smrg The code <U1000000D> was used where <U10000DC> was obviously intended. 133761ab64890Smrg 133771ab64890Smrg It is possible that <Udiaeresis> should be used instead, if that will 133781ab64890Smrg not break anyone’s setup. 133791ab64890Smrg 133801ab64890Smrgcommit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf 133811ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 133821ab64890SmrgDate: Mon Aug 20 15:25:48 2007 -0400 133831ab64890Smrg 133841ab64890Smrg Add compose file for Ethiopic to match new keyboard in xkeyboard-config 133851ab64890Smrg From bug report: 133861ab64890Smrg 133871ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=11307 133881ab64890Smrg 133891ab64890Smrgcommit eff33ae525337ce2026be135a26464c7b1237113 133901ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 133911ab64890SmrgDate: Sat Aug 18 17:58:23 2007 -0400 133921ab64890Smrg 133931ab64890Smrg Patch for Catalan locales 133941ab64890Smrg From bugzilla bug 10943¹: 133951ab64890Smrg 133961ab64890Smrg There are several Catalan locale codes which presently can 133971ab64890Smrg be used in X11 systems; especially after they were accepted 133981ab64890Smrg in belocs-locale-data². 133991ab64890Smrg 134001ab64890Smrg In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan 134011ab64890Smrg locale codes. For instance, without this, using ca_AD (actually 134021ab64890Smrg a quite used locale⁴) some applications (eg. Emacs or Skype) 134031ab64890Smrg cannot display Catalan diacritic marks as you type them. 134041ab64890Smrg 134051ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=10943 134061ab64890Smrg 2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html 134071ab64890Smrg 3] Toni Hermoso Pulido <toniher@softcatala.org> 134081ab64890Smrg 4] https://launchpad.net/~ubuntu.cat/+members 134091ab64890Smrg 134101ab64890Smrgcommit 1f980cb7d022f53d0aee9e793b08203fb888e86e 134111ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 134121ab64890SmrgDate: Sat Aug 18 17:47:04 2007 -0400 134131ab64890Smrg 134141ab64890Smrg Add additional Euro signs to compose 134151ab64890Smrg Inspired by bug 7419¹ make all of: 134161ab64890Smrg 134171ab64890Smrg C=, =C, c=, =c, E=, =E, e=, E= 134181ab64890Smrg 134191ab64890Smrg after <Multi_key> generate € U+20AC EURO SIGN. 134201ab64890Smrg 134211ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=7419 134221ab64890Smrg 134231ab64890Smrgcommit 4b0a14521449dfce8b4347bd17243efd1d3eae2d 134241ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 134251ab64890SmrgDate: Sat Aug 18 17:29:08 2007 -0400 134261ab64890Smrg 134271ab64890Smrg Compose fix for Latin-1 (from Debian) 134281ab64890Smrg The description from bugzilla bug 7417¹ is: 134291ab64890Smrg 134301ab64890Smrg We've been shipping this patch for some time in Debian now. The 134311ab64890Smrg problem description from the patch header is reproduced below. You 134321ab64890Smrg may want to note the licensing issue mentioned below, but we've been 134331ab64890Smrg shipping it because the method by which this particular patch was 134341ab64890Smrg generated and updated was also given below. 134351ab64890Smrg 134361ab64890Smrg This patch by Denis Barbier. 134371ab64890Smrg 134381ab64890Smrg The X11 protocol states that Unicode keysyms are in the range 134391ab64890Smrg 0x01000100 - 0x0110FFFF. If the result of composing characters is a 134401ab64890Smrg Unicode codepoint, X returns the corresponding Unicode keysym, which 134411ab64890Smrg is its Unicode codepoint augmented by 0x01000000. Latin-1 134421ab64890Smrg characters must not appear with their Unicode codepoints in compose 134431ab64890Smrg files, otherwise the returned composed character lies in the range 134441ab64890Smrg 0x01000000 - 0x010000FF which is not valid. 134451ab64890Smrg 134461ab64890Smrg There are two solutions: either fix composing routines to return 134471ab64890Smrg 0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or 134481ab64890Smrg replace U00ZZ by their corresponding keysyms in compose files. The 134491ab64890Smrg latter is more logical and less error prone, so compose files will 134501ab64890Smrg be patched. Many applications accept these invalid Unicode keysyms, 134511ab64890Smrg but few of them don't, most notably xemacs. Only UTF-8 locales are 134521ab64890Smrg affected. 134531ab64890Smrg 134541ab64890Smrg This has been fixed very recently in XFree86 CVS (but not xorg), but 134551ab64890Smrg for licensing reasons, this patch is not grabbed. Instead automatic 134561ab64890Smrg conversion is performed by: 134571ab64890Smrg 134581ab64890Smrg sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \ 134591ab64890Smrg | grep -v deprecated | grep 0x0 \ 134601ab64890Smrg | sed -e 's/0x0/U0/' -e 's/XK_//' \ 134611ab64890Smrg | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile 134621ab64890Smrg for f in nls/*.UTF-8/Compose.pre 134631ab64890Smrg do 134641ab64890Smrg sed -f sedfile $f > $f.tmp && mv $f.tmp $f 134651ab64890Smrg done 134661ab64890Smrg 134671ab64890Smrg [I edited the quoted script to update it for the current location of 134681ab64890Smrg the installed keysymdef.h and the current layout of the libX11 134691ab64890Smrg repo. -JimC] 134701ab64890Smrg 134711ab64890Smrg I applied the script, not the patch attached to the bugreport. 134721ab64890Smrg 134731ab64890Smrg 1] https://bugs.freedesktop.org/show_bug.cgi?id=7417 134741ab64890Smrg 134751ab64890Smrgcommit 5cf5bc76642bfece7cb5b76faf414bf445f14489 134761ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 134771ab64890SmrgDate: Sat Aug 18 17:13:41 2007 -0400 134781ab64890Smrg 134791ab64890Smrg Add some compose sequences 134801ab64890Smrg 134811ab64890Smrg Add some compose sequences from the patch in bug 5371 (attachment 4122). 134821ab64890Smrg 134831ab64890Smrg Cf: 134841ab64890Smrg 134851ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=5371 134861ab64890Smrg https://bugs.freedesktop.org/attachment.cgi?id=4122 134871ab64890Smrg 134881ab64890Smrgcommit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8 134891ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com> 134901ab64890SmrgDate: Sat Aug 18 13:57:31 2007 -0400 134911ab64890Smrg 134921ab64890Smrg Fix SMP Compose targets 134931ab64890Smrg The compose targets from the SMP (plane 1) were incorrect. 134941ab64890Smrg 134951ab64890Smrg At some point the 0x10000 bit had been lost. 134961ab64890Smrg 134971ab64890Smrgcommit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d 134981ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net> 134991ab64890SmrgDate: Thu Aug 16 17:37:22 2007 -0500 135001ab64890Smrg 135011ab64890Smrg Fix a mutex reference-counting bug. 135021ab64890Smrg 135031ab64890Smrg I was told that some systems have a much more permissive libpthread. 135041ab64890Smrg I was asked to commit this. This is from NetBSD's X source. 135051ab64890Smrg (I didn't receive any feedback on xorg list for over two weeks 135061ab64890Smrg about this.) 135071ab64890Smrg 135081ab64890Smrgcommit ac00a44b4875de70382da5a40dd87f976e5b9327 135091ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 135101ab64890SmrgDate: Wed Aug 1 20:36:03 2007 +0200 135111ab64890Smrg 135121ab64890Smrg Bumped version to 1.1.3. 135131ab64890Smrg 135141ab64890Smrgcommit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0 135151ab64890SmrgAuthor: Joerg Sonnenberger <joerg@netbsd.org> 135161ab64890SmrgDate: Fri Jul 27 11:15:47 2007 -0700 135171ab64890Smrg 135181ab64890Smrg Fail properly on errors in recursive make. 135191ab64890Smrg 135201ab64890Smrgcommit 1a18319b3bde08dd9ef69c7cd735a76000cf3177 135211ab64890SmrgAuthor: Brice Goglin <Brice.Goglin@ens-lyon.org> 135221ab64890SmrgDate: Thu Jul 26 23:31:15 2007 +0200 135231ab64890Smrg 135241ab64890Smrg Add missing override parameter in XrmCombineDatabase prototype in the manpage 135251ab64890Smrg 135261ab64890Smrg Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr> 135271ab64890Smrg in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434 135281ab64890Smrg and https://bugs.freedesktop.org/show_bug.cgi?id=9948 135291ab64890Smrg 135301ab64890Smrg Also add the type of the second argument in XrmMergeDatabases. 135311ab64890Smrg 135321ab64890Smrgcommit 6f0764d4b56f64786b4980839ca262f10a51af6f 135331ab64890SmrgAuthor: Brice Goglin <Brice.Goglin@ens-lyon.org> 135341ab64890SmrgDate: Thu Jul 26 22:53:52 2007 +0200 135351ab64890Smrg 135361ab64890Smrg Clarify return value of XGetCommand in case of error in the manpage 135371ab64890Smrg 135381ab64890Smrg Reported by Sean Perry <shalehperry@attbi.com> 135391ab64890Smrg in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348 135401ab64890Smrg and https://bugs.freedesktop.org/show_bug.cgi?id=9828 135411ab64890Smrg 135421ab64890Smrgcommit b8bef57342632cc2d25580bb7daa3839bae04d89 135431ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 135441ab64890SmrgDate: Wed Jul 25 17:44:06 2007 -0700 135451ab64890Smrg 135461ab64890Smrg Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 135471ab64890Smrg 135481ab64890Smrgcommit 590cde811a79375231c59ed8583e02b111ed567c 135491ab64890SmrgAuthor: Kean Johnston <kean@armory.com> 135501ab64890SmrgDate: Thu Jul 19 16:44:20 2007 -0700 135511ab64890Smrg 135521ab64890Smrg Reset hostname when falling back from :0 to hostname/localhost:0 as well 135531ab64890Smrg 135541ab64890Smrgcommit d334665e619e9db657a2ea2764a8b852401d4a3f 135551ab64890SmrgAuthor: Kean Johnston <kean@armory.com> 135561ab64890SmrgDate: Tue Jul 17 16:34:30 2007 -0700 135571ab64890Smrg 135581ab64890Smrg LOCALCONN fallback changes DisplayString() output, breaks KDE 135591ab64890Smrg 135601ab64890Smrg See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html> 135611ab64890Smrg 135621ab64890Smrgcommit 8e76bcf3cafda85058ce5f35f1f81929f4772f72 135631ab64890SmrgAuthor: Olivier Blin <blino@mandriva.org> 135641ab64890SmrgDate: Mon Jun 11 18:32:09 2007 +1000 135651ab64890Smrg 135661ab64890Smrg fix XGetMotionEvents arguments order - Fixes bug 11222 135671ab64890Smrg 135681ab64890Smrgcommit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8 135691ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135701ab64890SmrgDate: Sun Jun 10 16:19:59 2007 -0700 135711ab64890Smrg 135721ab64890Smrg Fix locking in _XimGetWindowEventmask. 135731ab64890Smrg 135741ab64890Smrg Now that XFilterEvent drops the Display lock before invoking callback 135751ab64890Smrg functions, _XimGetWindowEventmask is called without the lock held. So 135761ab64890Smrg when it called _XGetWindowAttributes, a variant of XGetWindowAttributes 135771ab64890Smrg that does not lock the Display, Xlib/XCB would assert: 135781ab64890Smrg 135791ab64890Smrg xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed. 135801ab64890Smrg 135811ab64890Smrg Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others? 135821ab64890Smrg 135831ab64890Smrgcommit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c 135841ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135851ab64890SmrgDate: Sun Jun 3 21:41:47 2007 -0700 135861ab64890Smrg 135871ab64890Smrg Move security fixes to the top of NEWS, and fix spacing. 135881ab64890Smrg 135891ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 135901ab64890Smrg 135911ab64890Smrgcommit a549a258b8fcb1ba9d0c1b01b72967e385f67cab 135921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 135931ab64890SmrgDate: Sun Jun 3 21:29:40 2007 -0700 135941ab64890Smrg 135951ab64890Smrg Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c. 135961ab64890Smrg 135971ab64890Smrg Commit by Josh Triplett and Jamey Sharp 135981ab64890Smrg 135991ab64890Smrgcommit 5123b77a3d32d3ad479462f319762c328278aed9 136001ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136011ab64890SmrgDate: Sun Jun 3 21:24:54 2007 -0700 136021ab64890Smrg 136031ab64890Smrg Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now. 136041ab64890Smrg 136051ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 136061ab64890Smrg 136071ab64890Smrgcommit 582ca690ea4f3ffd2b94826c4db97229bd3c7238 136081ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136091ab64890SmrgDate: Sun Jun 3 20:59:12 2007 -0700 136101ab64890Smrg 136111ab64890Smrg Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs 136121ab64890Smrg 136131ab64890Smrg Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that 136141ab64890Smrg _XReadEvents always enqueues at least one event even if an error occurred, 136151ab64890Smrg because the one call to xcb_wait_for_event would then return an error, not an 136161ab64890Smrg event, and nothing else ensured that process_responses would obtain an event. 136171ab64890Smrg Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and 136181ab64890Smrg f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix. In 136191ab64890Smrg process_responses, wait_for_first_event now serves as a flag, cleared when 136201ab64890Smrg actually handling an event. 136211ab64890Smrg 136221ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 136231ab64890Smrg 136241ab64890Smrgcommit e2c1d788d1fe7bd2d34756493951552441e59b8c 136251ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136261ab64890SmrgDate: Sun Jun 3 17:33:23 2007 -0700 136271ab64890Smrg 136281ab64890Smrg Xlib/XCB: Only remove pending_requests when there are provably no more responses. 136291ab64890Smrg 136301ab64890Smrgcommit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab 136311ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 136321ab64890SmrgDate: Sun Jun 3 15:39:39 2007 -0700 136331ab64890Smrg 136341ab64890Smrg Bump version number to 1.1.2, and add NEWS entry for 1.1.2 136351ab64890Smrg 136361ab64890Smrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 136371ab64890Smrg 136381ab64890Smrgcommit 416f38f2e67ee1979b3d2feac6f06b3670238804 136391ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 136401ab64890SmrgDate: Sun Jun 3 12:13:44 2007 -0700 136411ab64890Smrg 136421ab64890Smrg Revert "Revert "include: don't distribute XlibConf.h"" 136431ab64890Smrg 136441ab64890Smrg This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd. 136451ab64890Smrg 136461ab64890Smrg Re-revert the XlibConf.h change, which prevented distribution, not 136471ab64890Smrg installation. 136481ab64890Smrg 136491ab64890Smrgcommit 79fa3d8070d95b960ba486f2439225872471dadd 136501ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 136511ab64890SmrgDate: Sat Jun 2 22:05:16 2007 -0700 136521ab64890Smrg 136531ab64890Smrg Revert "include: don't distribute XlibConf.h" 136541ab64890Smrg 136551ab64890Smrg This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c. 136561ab64890Smrg 136571ab64890Smrg The installed XlibInt.h includes XlibConf.h , so libX11 should ship 136581ab64890Smrg XlibConf.h. (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually 136591ab64890Smrg prevent automake from shipping XlibConf.h, because it used 136601ab64890Smrg nodist_x11include_HEADERS rather than nodist_HEADERS.) 136611ab64890Smrg 136621ab64890Smrgcommit f417570735aac865eb6b576d1ea76b5bfcd8573b 136631ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136641ab64890SmrgDate: Sat Jun 2 17:59:15 2007 -0700 136651ab64890Smrg 136661ab64890Smrg Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller. 136671ab64890Smrg 136681ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 136691ab64890Smrg 136701ab64890Smrgcommit c337f9de7cfd89f983f83956b7457a274dd412f3 136711ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136721ab64890SmrgDate: Sat Jun 2 17:46:41 2007 -0700 136731ab64890Smrg 136741ab64890Smrg Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event. 136751ab64890Smrg 136761ab64890Smrg Commit by Jamey Sharp and Josh Triplett. 136771ab64890Smrg 136781ab64890Smrgcommit 7f66c897f04806b75e574b55b48921b48045e3f9 136791ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136801ab64890SmrgDate: Sat Jun 2 16:43:39 2007 -0700 136811ab64890Smrg 136821ab64890Smrg Update _XReply's copy of _XCBUnlockDisplay's guts. 136831ab64890Smrg 136841ab64890Smrg We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5. 136851ab64890Smrg 136861ab64890Smrg Also add a comment in _XCBUnlockDisplay to discourage this problem from 136871ab64890Smrg respawning. 136881ab64890Smrg 136891ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 136901ab64890Smrg 136911ab64890Smrgcommit 740ead23512f8d2eaafaa69e514f1ebafad475b9 136921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 136931ab64890SmrgDate: Sat Jun 2 16:01:01 2007 -0700 136941ab64890Smrg 136951ab64890Smrg Xlib/XCB: Avoid re-crashing after _XIOError. 136961ab64890Smrg 136971ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 136981ab64890Smrg 136991ab64890Smrgcommit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5 137001ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 137011ab64890SmrgDate: Sat Jun 2 12:30:30 2007 -0700 137021ab64890Smrg 137031ab64890Smrg Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held. 137041ab64890Smrg 137051ab64890Smrg An Xlib client can query Display state, such as with NextRequest, while 137061ab64890Smrg it holds only the Xlib user lock (between XLockDisplay and 137071ab64890Smrg XUnlockDisplay), so XCB requests in other threads should be blocked when 137081ab64890Smrg the Xlib user lock is held. 137091ab64890Smrg 137101ab64890Smrg We acquire the lock even when XInitThreads was not called, so that pure 137111ab64890Smrg XCB code can use multiple threads even in an otherwise single-threaded 137121ab64890Smrg Xlib application. 137131ab64890Smrg 137141ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 137151ab64890Smrg 137161ab64890Smrgcommit 95523387d619af5b400748898d722e080b5ce1a6 137171ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 137181ab64890SmrgDate: Sat Jun 2 11:57:39 2007 -0700 137191ab64890Smrg 137201ab64890Smrg Allow re-entrant Xlib calls from _XIOError. 137211ab64890Smrg 137221ab64890Smrg Some libraries try to clean up X resources from atexit handlers, _fini, 137231ab64890Smrg or C++ destructors. To make these work, the Display lock should be 137241ab64890Smrg downgraded to a user lock (as in XLockDisplay) before calling exit(3). 137251ab64890Smrg This blocks Xlib calls from threads other than the one calling exit(3) 137261ab64890Smrg while still allowing the exit handlers to call Xlib. 137271ab64890Smrg 137281ab64890Smrg This assumes that the thread calling exit will call any atexit handlers. 137291ab64890Smrg If this does not hold, then an alternate solution would involve 137301ab64890Smrg registering an atexit handler to take over the lock, which would only 137311ab64890Smrg assume that the same thread calls all the atexit handlers. 137321ab64890Smrg 137331ab64890Smrg Commit by Josh Triplett and Jamey Sharp. 137341ab64890Smrg 137351ab64890Smrgcommit 91b02b8064f4e0bcc56019f0722914850008a597 137361ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 137371ab64890SmrgDate: Thu May 17 19:07:34 2007 +0200 137381ab64890Smrg 137391ab64890Smrg More constification. 137401ab64890Smrg 137411ab64890Smrgcommit a4f3841940158351f9424c3f59b305cce877177d 137421ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 137431ab64890SmrgDate: Thu May 17 00:29:43 2007 +0200 137441ab64890Smrg 137451ab64890Smrg Constified composite text charset table. 137461ab64890Smrg 137471ab64890Smrgcommit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e 137481ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 137491ab64890SmrgDate: Wed May 16 23:19:22 2007 +0200 137501ab64890Smrg 137511ab64890Smrg Have the compiler fill in hexTable so we don't have to do it at runtime. 137521ab64890Smrg 137531ab64890Smrgcommit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8 137541ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 137551ab64890SmrgDate: Wed May 16 19:36:23 2007 +0200 137561ab64890Smrg 137571ab64890Smrg More constification. 137581ab64890Smrg 137591ab64890Smrgcommit 6d2bed8f04942b4de086a519ac693e729c9fdeea 137601ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 137611ab64890SmrgDate: Wed May 16 19:18:20 2007 +0200 137621ab64890Smrg 137631ab64890Smrg Constify and clean up token table. 137641ab64890Smrg 137651ab64890Smrgcommit 6c508eab5df5d517f7e4cbe6087308cd53a564b2 137661ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 137671ab64890SmrgDate: Wed May 16 18:24:42 2007 +0200 137681ab64890Smrg 137691ab64890Smrg Constified more tables. 137701ab64890Smrg 137711ab64890Smrgcommit e699c4231c205ef00d687b6412308d031b99806b 137721ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 137731ab64890SmrgDate: Wed May 16 18:01:23 2007 +0200 137741ab64890Smrg 137751ab64890Smrg Constified error list. 137761ab64890Smrg 1377761b2299dSmrgcommit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1 1377861b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au> 1377961b2299dSmrgDate: Tue May 15 16:54:01 2007 +0930 1378061b2299dSmrg 1378161b2299dSmrg Add XGenericEvent definition and handling for long events. 1378261b2299dSmrg 137831ab64890Smrgcommit c76d30253f1483ac8200ad5c032a818907e65030 137841ab64890SmrgAuthor: Jan Willem Stumpel <jstumpel@planet.nl> 137851ab64890SmrgDate: Fri May 4 12:00:49 2007 -0700 137861ab64890Smrg 137871ab64890Smrg Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs 137881ab64890Smrg 137891ab64890Smrg Cf: 137901ab64890Smrg 137911ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=10851 137921ab64890Smrg https://bugs.freedesktop.org/show_bug.cgi?id=10824 137931ab64890Smrg http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385 137941ab64890Smrg 137951ab64890Smrg The greek keyboard definition was changed to replace dead_horn and 137961ab64890Smrg dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314 137971ab64890Smrg COMBINING REVERSED COMMA ABOVE (aka Dasia). 137981ab64890Smrg 137991ab64890Smrg This patch modifies the Greek Compose.pre to match. 138001ab64890Smrg 138011ab64890Smrg It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl> 138021ab64890Smrg posted to 386385@bugs.debian.org: 138031ab64890Smrg 138041ab64890Smrg #!/usr/bin/perl 138051ab64890Smrg while (<>) { 138061ab64890Smrg print $_; 138071ab64890Smrg if (/dead_horn/) { 138081ab64890Smrg s/dead_horn/U0313/; 138091ab64890Smrg print $_; 138101ab64890Smrg } 138111ab64890Smrg elsif (/dead_ogonek/) { 138121ab64890Smrg s/dead_ogonek/U0314/; 138131ab64890Smrg print $_; 138141ab64890Smrg } 138151ab64890Smrg } 138161ab64890Smrg 138171ab64890Smrgcommit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831 138181ab64890SmrgAuthor: Magnus Kessler <Magnus.Kessler@gmx.net> 138191ab64890SmrgDate: Tue May 1 15:20:08 2007 +0200 138201ab64890Smrg 138211ab64890Smrg Switched function definitions from K&R to ANSI style. 138221ab64890Smrg 138231ab64890Smrgcommit 605d357074d556a05a3fba2e85cbea36a3204248 138241ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 138251ab64890SmrgDate: Tue May 1 14:47:03 2007 +0200 138261ab64890Smrg 138271ab64890Smrg Tweaked configure output about the man pages suffix. 138281ab64890Smrg 138291ab64890Smrgcommit 9824b40d2af4ca2376512c1be7743da0d5065900 138301ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138311ab64890SmrgDate: Sat Apr 28 00:42:18 2007 -0700 138321ab64890Smrg 138331ab64890Smrg Fix typo in nroff macro in XkbAddGeomOverlayKey.man 138341ab64890Smrg 138351ab64890Smrgcommit f93849dcc68bd5042ea0884e5190dc7c35b31d68 138361ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138371ab64890SmrgDate: Sat Apr 28 00:30:55 2007 -0700 138381ab64890Smrg 138391ab64890Smrg Protect C comments and #defines in XKB man pages from being mangled by cpp 138401ab64890Smrg 138411ab64890Smrgcommit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f 138421ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 138431ab64890SmrgDate: Sat Apr 28 00:14:50 2007 -0700 138441ab64890Smrg 138451ab64890Smrg Add Makefile to process/install XKB man pages 138461ab64890Smrg 138471ab64890Smrgcommit d9954c6f6f3a8c406b946acd0d034ff83c656156 138481ab64890SmrgAuthor: Dennis Arellano <Dennis.Arellano@Sun.COM> 138491ab64890SmrgDate: Thu Aug 19 00:00:00 1999 -0700 138501ab64890Smrg 138511ab64890Smrg Add man pages for XKB API's 138521ab64890Smrg 138531ab64890Smrg Man pages originally written for X11R6.4 integration to Solaris 7 11/99 138541ab64890Smrg Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade 138551ab64890Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344> 138561ab64890Smrg 138571ab64890Smrg (Volunteer needed to convert prototypes in man pages to ANSI C style...) 138581ab64890Smrg 138591ab64890Smrgcommit f640a49b5e2ebf29f9d655df544c63bf826f619a 138601ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 138611ab64890SmrgDate: Fri Apr 20 18:39:59 2007 +0200 138621ab64890Smrg 138631ab64890Smrg Markup tweak for XOpenIM. 138641ab64890Smrg 138651ab64890Smrgcommit e972b0bb255af4f3258217852542faf5afa60b28 138661ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 138671ab64890SmrgDate: Fri Apr 20 18:35:09 2007 +0200 138681ab64890Smrg 138691ab64890Smrg Bug #9695: Fixed a few argument types in the XOpenIM manpage. 138701ab64890Smrg 138711ab64890Smrgcommit b4e2276f329fa42397cb8609cfcd34ebafd3d96b 138721ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 138731ab64890SmrgDate: Fri Apr 20 18:28:52 2007 +0200 138741ab64890Smrg 138751ab64890Smrg Bug #9697: Fixed documentation of XVisualInfo struct. 138761ab64890Smrg 138771ab64890Smrg The "depth" member was said to be unsigned int, but it's signed. 138781ab64890Smrg 138791ab64890Smrgcommit 4068f3dae01c630f825002673b1d3a047ad61863 138801ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 138811ab64890SmrgDate: Fri Apr 20 16:41:21 2007 +0200 138821ab64890Smrg 138831ab64890Smrg Bug #9696: refer to XDefineCursor() instead of XDefineCusor(). 138841ab64890Smrg 138851ab64890Smrgcommit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8 138861ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 138871ab64890SmrgDate: Sat Apr 7 14:42:55 2007 +0200 138881ab64890Smrg 138891ab64890Smrg Use unistd.h to get getresuid() and friends. 138901ab64890Smrg 138911ab64890Smrg This works since we now have _GNU_SOURCE defined. 138921ab64890Smrg 138931ab64890Smrgcommit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b 138941ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 138951ab64890SmrgDate: Sat Apr 7 14:27:12 2007 +0200 138961ab64890Smrg 138971ab64890Smrg Bug #10562: Define _GNU_SOURCE on glibc systems. 138981ab64890Smrg 138991ab64890Smrgcommit a225a0be48770beb689d5ac5da97073634f7deab 139001ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 139011ab64890SmrgDate: Fri Apr 6 12:46:25 2007 +0200 139021ab64890Smrg 139031ab64890Smrg For nls/*.pre, allow people to comment lines by starting them with '##'. 139041ab64890Smrg 139051ab64890Smrg This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre. 139061ab64890Smrg Fixing that file would have been a larger diff, and using ## may be 139071ab64890Smrg nicer to use anyway. 139081ab64890Smrg 139091ab64890Smrgcommit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6 139101ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 139111ab64890SmrgDate: Fri Apr 6 11:59:31 2007 +0200 139121ab64890Smrg 139131ab64890Smrg Bug #10475: Fixed lots of char*/const char* mixups. 139141ab64890Smrg 139151ab64890Smrg I didn't fix all of them, as that would require touching 139161ab64890Smrg public headers. 139171ab64890Smrg 139181ab64890Smrgcommit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 139191ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 139201ab64890SmrgDate: Thu Apr 5 11:53:18 2007 +0200 139211ab64890Smrg 139221ab64890Smrg Fix 64bit issues with reallocation. 139231ab64890Smrg 139241ab64890Smrgcommit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf 139251ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 139261ab64890SmrgDate: Wed Apr 4 18:41:18 2007 +0200 139271ab64890Smrg 139281ab64890Smrg Fixed a few warnings. 139291ab64890Smrg 139301ab64890Smrgcommit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a 139311ab64890SmrgAuthor: Matthieu Herrb <matthieu@roadrock.(none)> 139321ab64890SmrgDate: Tue Apr 3 15:39:52 2007 +0200 139331ab64890Smrg 139341ab64890Smrg Multiple integer overflows in the XGetPixel() and XInitImage functions 139351ab64890Smrg 139361ab64890Smrg CVE-2007-1667 139371ab64890Smrg 139381ab64890Smrgcommit 0284b144340a455a4b5b5011d81ac5a610372291 139391ab64890SmrgAuthor: David Baron <dbaron@dbaron.org> 139401ab64890SmrgDate: Fri Mar 30 17:07:46 2007 +0200 139411ab64890Smrg 139421ab64890Smrg Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data. 139431ab64890Smrg 139441ab64890Smrg Now only those fields of the respective hint struct are set that 139451ab64890Smrg are actually valid in the input data. 139461ab64890Smrg The changed functions are: 139471ab64890Smrg XSetSizeHints(), XSetWMHints() and XSetWMSizeHints(). 139481ab64890Smrg 139491ab64890Smrgcommit 0994faa0c76c45b106442db461b8a30a3e1c9395 139501ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 139511ab64890SmrgDate: Thu Mar 29 17:31:25 2007 +0200 139521ab64890Smrg 139531ab64890Smrg Fixed the change from the previous SendEvent commit. 139541ab64890Smrg 139551ab64890Smrg Testing a different patch than the one you commit is bad, right? 139561ab64890Smrg 139571ab64890Smrgcommit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf 139581ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 139591ab64890SmrgDate: Wed Mar 28 22:23:44 2007 +0200 139601ab64890Smrg 139611ab64890Smrg Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code. 139621ab64890Smrg 139631ab64890Smrgcommit ab0bcd07957cecc8e7c0e75d5160a625e91264fe 139641ab64890SmrgAuthor: David Baron <dbaron@dbaron.org> 139651ab64890SmrgDate: Wed Mar 28 22:21:40 2007 +0200 139661ab64890Smrg 139671ab64890Smrg Bug #7713: Initialize all of the event's fields before sending it. 139681ab64890Smrg 139691ab64890Smrgcommit bc80f9fe3ccce40ee41246b97470c4f0519756ad 139701ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org> 139711ab64890SmrgDate: Sun Mar 18 13:14:48 2007 +0100 139721ab64890Smrg 139731ab64890Smrg Bug #9279: Fixed a file descriptor leak. 139741ab64890Smrg 139751ab64890Smrgcommit c9e28e05ae01ce8a29bea09df759b6271865b44c 139761ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 139771ab64890SmrgDate: Sat Dec 16 00:45:19 2006 +0200 139781ab64890Smrg 139791ab64890Smrg include: don't distribute XlibConf.h 139801ab64890Smrg 139811ab64890Smrg Since XlibConf.h is built by configure, don't distribute it. 139821ab64890Smrg 139831ab64890Smrgcommit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376 1398438ae11fcSmrgMerge: 129bbb9f 769b9854 139851ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net> 139861ab64890SmrgDate: Thu Dec 14 14:23:20 2006 -0600 139871ab64890Smrg 139881ab64890Smrg Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11 139891ab64890Smrg 139901ab64890Smrgcommit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de 139911ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net> 139921ab64890SmrgDate: Thu Dec 14 14:21:19 2006 -0600 139931ab64890Smrg 139941ab64890Smrg For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS. 139951ab64890Smrg 139961ab64890Smrgcommit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6 139971ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 139981ab64890SmrgDate: Wed Dec 6 18:53:00 2006 +0200 139991ab64890Smrg 140001ab64890Smrg Makefile.am: make ChangeLog hook safer 140011ab64890Smrg 140021ab64890Smrg Make ChangeLog hook as safe as possible. 140031ab64890Smrg (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit) 140041ab64890Smrg 140051ab64890Smrgcommit 8a8185a649e93b90ffa820387ffdca831227f5a9 140061ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 140071ab64890SmrgDate: Thu Nov 30 18:33:13 2006 -0800 140081ab64890Smrg 140091ab64890Smrg Add autogen.sh to EXTRA_DIST. 140101ab64890Smrg 140111ab64890Smrgcommit efe817f95ef8d05e863c83147e903140bc860de4 140121ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 140131ab64890SmrgDate: Thu Nov 30 17:58:35 2006 -0800 140141ab64890Smrg 140151ab64890Smrg Release libX11 1.1.1. 140161ab64890Smrg 140171ab64890Smrgcommit f637a5b03164263a3af2e644cf655e52b015f1bb 140181ab64890SmrgAuthor: Ross Combs <rocombs@cs.nmsu.edu> 140191ab64890SmrgDate: Sat Nov 25 14:45:17 2006 -0800 140201ab64890Smrg 140211ab64890Smrg Debian bug #354315: Clarify return value in XGetWindowAttributes man page 140221ab64890Smrg 140231ab64890Smrg This man page does not discuss the actual return values of the 140241ab64890Smrg function, but says they are of type "Status". One might assume 140251ab64890Smrg that this means you could compare it with the "Success" macro. 140261ab64890Smrg One would be wrong. 140271ab64890Smrg 140281ab64890Smrg The X functions seem to have two three types representing status. 140291ab64890Smrg If it is an "int" there are a number of error codes or "Success" 140301ab64890Smrg which can be compared against. If it is a bool, the result can be 140311ab64890Smrg compared with "True" or "False". If the return type is "Status" it 140321ab64890Smrg appears that the return type is either 0 or 1. Unfortunately the 140331ab64890Smrg value for Success is zero, so it is important to distinguish 140341ab64890Smrg between the first two types of return values and the third; 140351ab64890Smrg otherwise the conditional will be inverted. 140361ab64890Smrg 140371ab64890Smrg XGetWindowAttributes() is one of the functions which returns zero 140381ab64890Smrg for failure. The man page should make this clear. 140391ab64890Smrg 140401ab64890Smrgcommit c6a0b0f18ed1242eeb908f5cf767ab8381edd456 140411ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 140421ab64890SmrgDate: Sat Nov 25 14:23:45 2006 -0800 140431ab64890Smrg 140441ab64890Smrg Bug #9154: Always process an event for _XReadEvents, even if an error occurs 140451ab64890Smrg 140461ab64890Smrg Previously, process_responses (in the wait_for_first_event case called 140471ab64890Smrg from _XReadEvents) considered any return from xcb_wait_for_event 140481ab64890Smrg sufficient to think it had processed an event. If xcb_wait_for_event 140491ab64890Smrg returned an error, and no more events occurred before process_responses 140501ab64890Smrg called xcb_poll_for_event, process_responses would try to return with 140511ab64890Smrg dpy->head NULL, and would fail an assertion for the _XReadEvents 140521ab64890Smrg postcondition. Now, process_responses continues using xcb_wait_for_event 140531ab64890Smrg until it gets an event. 140541ab64890Smrg 140551ab64890Smrgcommit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8 140561ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de> 140571ab64890SmrgDate: Sat Nov 25 05:29:31 2006 -0800 140581ab64890Smrg 140591ab64890Smrg Bug #9153: Fix access to freed memory. 140601ab64890Smrg 140611ab64890Smrg The fix for bug #8622 introduced a smaller bug where _XReply would 140621ab64890Smrg read memory shortly after freeing it. This patch caches the needed 140631ab64890Smrg value in a stack-allocated variable before the heap-allocated memory 140641ab64890Smrg is freed. 140651ab64890Smrg 140661ab64890Smrgcommit 934ca763bbc0dd7ae460469bfc000ba101602bcc 140671ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 140681ab64890SmrgDate: Fri Nov 24 19:57:58 2006 -0800 140691ab64890Smrg 140701ab64890Smrg libx11 doesn't use inputproto in public headers; don't require it in x11.pc 140711ab64890Smrg 140721ab64890Smrg Based on a Debian patch. 140731ab64890Smrg 140741ab64890Smrgcommit 4255997ef2d92740d51f6e63e9eabcfa089683f0 140751ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 140761ab64890SmrgDate: Thu Nov 23 07:19:32 2006 -0800 140771ab64890Smrg 140781ab64890Smrg Release libX11 1.1 140791ab64890Smrg 140801ab64890Smrgcommit a1168e11ec9377307c51a7271faec3bf88a63a66 140811ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 140821ab64890SmrgDate: Tue Nov 21 17:52:34 2006 -0800 140831ab64890Smrg 140841ab64890Smrg Add note in man-page that XListFontsWithInfo is not thread-safe. 140851ab64890Smrg 140861ab64890Smrg _XReply drops the Display lock, so the value of dpy->request may change 140871ab64890Smrg before _XReply is called again. 140881ab64890Smrg 140891ab64890Smrg I discovered this by inspection a year or two ago. I'm pretty confident 140901ab64890Smrg in the claim, and nobody has come up with an argument for why it's safe 140911ab64890Smrg despite appearances. 140921ab64890Smrg 140931ab64890Smrgcommit 67abe024268c6b1fdee516e5d3a046ccffd7e80a 140941ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 140951ab64890SmrgDate: Sat Nov 18 15:39:26 2006 -0800 140961ab64890Smrg 140971ab64890Smrg Bug #8622: Fix response processing order for threaded apps 140981ab64890Smrg 140991ab64890Smrg Previously, process_responses (the common code for _XReply, 141001ab64890Smrg _XReadEvents, and _XEventsQueued) took the current request sequence 141011ab64890Smrg number as an argument, and did some highly complicated processing to 141021ab64890Smrg attempt to process responses in order across threads. This didn't 141031ab64890Smrg actually work. 141041ab64890Smrg 141051ab64890Smrg Now, process_responses handles responses in order, by adding condition 141061ab64890Smrg variables to the list of outstanding requests in 141071ab64890Smrg dpy->xcb->pending_requests, and blocking on them when those requests 141081ab64890Smrg should get processed to allow _XReply to process them; if actually 141091ab64890Smrg called from _XReply, it returns when _XReply's request should get 141101ab64890Smrg processed. _XReply broadcasts on the condition variable after it has 141111ab64890Smrg read its reply and re-acquired the display lock. 141121ab64890Smrg 141131ab64890Smrg Another great commit brought to you by Jamey Sharp, Josh Triplett, the 141141ab64890Smrg Gobby collaborative text editor, conspy, and ridiculous amounts of SSH 141151ab64890Smrg forwarding. 141161ab64890Smrg 141171ab64890Smrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 141181ab64890Smrg Signed-off-by: Jamey Sharp <jamey@minilop.net> 141191ab64890Smrg 141201ab64890Smrgcommit 941f02ede63baa46f93ed8abccebe76fb29c0789 141211ab64890SmrgAuthor: Lars Knoll <lars@trolltech.com> 141221ab64890SmrgDate: Wed Nov 8 12:17:41 2006 -0800 141231ab64890Smrg 141241ab64890Smrg Don't hold the display lock around callbacks to the application. 141251ab64890Smrg 141261ab64890Smrg This fixes an XCB locking assertion failure, particularly with emacs. 141271ab64890Smrg 141281ab64890Smrgcommit e494ecaac1ec8a22bd9a85f800fca74d02e9d358 141291ab64890SmrgAuthor: Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org> 141301ab64890SmrgDate: Tue Nov 7 09:32:00 2006 -0800 141311ab64890Smrg 141321ab64890Smrg Add xcb-xlib dependency to x11.pc when built against XCB. 141331ab64890Smrg 141341ab64890Smrgcommit 2302008a3793eb4df8ede777d54fe06505c47eaf 141351ab64890SmrgAuthor: Eric Anholt <eric@anholt.net> 141361ab64890SmrgDate: Mon Nov 6 17:11:42 2006 -0800 141371ab64890Smrg 141381ab64890Smrg XCB: Allocate the right amount of memory for dpy->lock_fns. 141391ab64890Smrg 141401ab64890Smrg Fixes a crash I was experiencing on startup of anything using gdk. 141411ab64890Smrg 141421ab64890Smrgcommit 5f860655be88108b03ccd97470a0814819254bf0 141431ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 141441ab64890SmrgDate: Thu Nov 2 17:55:31 2006 -0800 141451ab64890Smrg 141461ab64890Smrg Release libX11 1.1 RC2 (1.0.99.2). 141471ab64890Smrg 141481ab64890Smrgcommit a6f4bbf7b1d725b0f04bd660f57b861a76b19831 141491ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 141501ab64890SmrgDate: Sun Oct 29 03:10:30 2006 +0300 141511ab64890Smrg 141521ab64890Smrg nls (en_US): remove long compositions that override shorter (bug #2286) 141531ab64890Smrg Remove long compositions that override (or get overriden by) later shorter 141541ab64890Smrg compositions, e.g. a four-key compose sequence that gets overriden by a 141551ab64890Smrg later three-key compose sequence. 141561ab64890Smrg 141571ab64890Smrgcommit 0280bf11ef88673a9b5bba3a91a599260f1f0949 141581ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 141591ab64890SmrgDate: Sun Oct 29 03:08:36 2006 +0300 141601ab64890Smrg 141611ab64890Smrg nls: remove shadowed compose entries (bug #2286) 141621ab64890Smrg Remove compose entries shadowed by others later on. 141631ab64890Smrg 141641ab64890Smrgcommit d118f2b1ef10997194b281524177dea7396da7dd 141651ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net> 141661ab64890SmrgDate: Sun Oct 29 03:07:15 2006 +0300 141671ab64890Smrg 141681ab64890Smrg nls: remove duplicate compose entries (bug #2286) 141691ab64890Smrg Remove a bunch of duplicate entries from various Compose files. 141701ab64890Smrg 141711ab64890Smrgcommit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb 141721ab64890SmrgAuthor: Caolan McNamara <caolanm@redhat.com> 141731ab64890SmrgDate: Sun Oct 29 02:46:15 2006 +0300 141741ab64890Smrg 141751ab64890Smrg XKB geometry: fix leaks in GetKeyboardByName (bug #8099) 141761ab64890Smrg Don't leak the name and value of every property we parse, as well as the 141771ab64890Smrg name of every colour. 141781ab64890Smrg 141791ab64890Smrgcommit 686bb8b35acf6cecae80fe89b2b5853f5816ce19 141801ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 141811ab64890SmrgDate: Wed Oct 18 14:25:04 2006 +0200 141821ab64890Smrg 141831ab64890Smrg Fix double open of compose file. 141841ab64890Smrg 141851ab64890Smrg Issue found by Kees Cook <kees@canonical.com>. 141861ab64890Smrg 141871ab64890Smrgcommit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8 141881ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 141891ab64890SmrgDate: Sat Oct 14 21:25:10 2006 -0700 141901ab64890Smrg 141911ab64890Smrg XCB: check for and handle I/O errors in _XGetXCBBuffer. 141921ab64890Smrg 141931ab64890Smrgcommit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d 141941ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 141951ab64890SmrgDate: Wed Oct 11 00:06:50 2006 -0700 141961ab64890Smrg 141971ab64890Smrg XKB bugfix: SyncHandle must be called after UnlockDisplay, not before. 141981ab64890Smrg 141991ab64890Smrgcommit 1eedf1bd033e496843cfde42ae4ae5a119298605 142001ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 142011ab64890SmrgDate: Tue Oct 10 23:03:28 2006 -0700 142021ab64890Smrg 142031ab64890Smrg Add correct Display locking to XKB functions. 142041ab64890Smrg 142051ab64890Smrg Some XKB functions didn't correctly call LockDisplay or UnlockDisplay. 142061ab64890Smrg This patch fixes at least some instances of that problem. 142071ab64890Smrg 142081ab64890Smrg Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs 142091ab64890Smrg and proposing a fix, which this patch is based on. 142101ab64890Smrg 142111ab64890Smrgcommit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd 142121ab64890SmrgAuthor: David Nusinow <dnusinow@debian.org> 142131ab64890SmrgDate: Tue Oct 10 22:11:05 2006 -0400 142141ab64890Smrg 142151ab64890Smrg Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 142161ab64890Smrg 142171ab64890Smrgcommit e53557da969b706dbc843f6fde3db31ffe382e0f 142181ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 142191ab64890SmrgDate: Sat Oct 7 21:00:36 2006 -0700 142201ab64890Smrg 142211ab64890Smrg Release libX11 1.1 RC1 (1.0.99.1). 142221ab64890Smrg 142231ab64890Smrgcommit bf237409c5fce32c557d298f62f44d456c2b5bc8 1422438ae11fcSmrgMerge: ba477191 2d426d1f 142251ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 142261ab64890SmrgDate: Sat Oct 7 21:07:16 2006 -0700 142271ab64890Smrg 142281ab64890Smrg As XCB support is about to be released in libX11, stable is now subsumed by master. 142291ab64890Smrg 142301ab64890Smrgcommit ba477191c67ce93e61423cc1abe35275704cce50 142311ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 142321ab64890SmrgDate: Sat Oct 7 03:48:13 2006 -0700 142331ab64890Smrg 142341ab64890Smrg XCB: Don't rely on having the definition of struct xcb_setup_t available. 142351ab64890Smrg 142361ab64890Smrgcommit 117b55cbd0b0ce51362df88363ed83d44a493ac7 142371ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 142381ab64890SmrgDate: Fri Oct 6 16:27:31 2006 -0700 142391ab64890Smrg 142401ab64890Smrg xcb_poll_for_event no longer takes an 'int *error' out-parameter. 142411ab64890Smrg 142421ab64890Smrgcommit caaa8e8a55e837b3585c1dee7bef194fc4c79d16 142431ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142441ab64890SmrgDate: Fri Oct 6 16:26:11 2006 -0700 142451ab64890Smrg 142461ab64890Smrg Actually ship Xxcbint.h 142471ab64890Smrg 142481ab64890Smrgcommit 7b027e53b5e393082f4f515c8ba18077eb97163f 142491ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142501ab64890SmrgDate: Fri Oct 6 16:25:50 2006 -0700 142511ab64890Smrg 142521ab64890Smrg Clean ChangeLog only in "make maintainer-clean", not "make clean" 142531ab64890Smrg 142541ab64890Smrg ChangeLog requires a git repo to generate; make clean and make distclean 142551ab64890Smrg shouldn't get rid of it. 142561ab64890Smrg 142571ab64890Smrgcommit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0 142581ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142591ab64890SmrgDate: Fri Oct 6 16:24:58 2006 -0700 142601ab64890Smrg 142611ab64890Smrg Add ChangeLog and "make dist"-generated files to .gitignore 142621ab64890Smrg 142631ab64890Smrgcommit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0 142641ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142651ab64890SmrgDate: Fri Oct 6 15:53:27 2006 -0700 142661ab64890Smrg 142671ab64890Smrg Add manual pages for XGetXCBConnection and XSetEventQueueOwner 142681ab64890Smrg 142691ab64890Smrgcommit 688224cea95e453f94c5a602dc6fce84bc93dfc0 142701ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142711ab64890SmrgDate: Fri Oct 6 13:41:16 2006 -0700 142721ab64890Smrg 142731ab64890Smrg Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 142741ab64890Smrg 142751ab64890Smrgcommit ab728ca372288d0db1b486c265e34c1376f29104 142761ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142771ab64890SmrgDate: Fri Oct 6 12:36:39 2006 -0700 142781ab64890Smrg 142791ab64890Smrg XCL is dead; long live Xlib/XCB 142801ab64890Smrg 142811ab64890Smrg Rename all instances of "XCL" to Xlib/XCB-derived names. 142821ab64890Smrg 142831ab64890Smrg The only user-visible change: rename the include file <X11/xcl.h> to 142841ab64890Smrg <X11/Xlib-xcb.h>; programs will need to change their #include lines to match. 142851ab64890Smrg 142861ab64890Smrg Remove the XCL cast inlines from Xlib-xcb.h. 142871ab64890Smrg 142881ab64890Smrgcommit 5b73093203039d307eb7ab3845c3ced207e9e26c 142891ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142901ab64890SmrgDate: Fri Oct 6 11:33:49 2006 -0700 142911ab64890Smrg 142921ab64890Smrg Add XCB developers to AUTHORS 142931ab64890Smrg 142941ab64890Smrgcommit 1cb71ff139276a0a58c60ea5f261f64b94706b9b 142951ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 142961ab64890SmrgDate: Fri Oct 6 11:21:28 2006 -0700 142971ab64890Smrg 142981ab64890Smrg Fix email addresses in README 142991ab64890Smrg 143001ab64890Smrgcommit 12f038669278019594ca0ed53dadcf4e84092422 143011ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 143021ab64890SmrgDate: Fri Oct 6 02:13:05 2006 -0700 143031ab64890Smrg 143041ab64890Smrg XCB: Handle all responses in order of monotonically increasing sequence number. 143051ab64890Smrg 143061ab64890Smrgcommit f392680273278b43079302206897f794e60f3c70 143071ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 143081ab64890SmrgDate: Fri Oct 6 01:11:08 2006 -0700 143091ab64890Smrg 143101ab64890Smrg Actually install x11-xcb.pc, and ship x11-xcb.pc.in 143111ab64890Smrg 143121ab64890Smrgcommit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863 143131ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 143141ab64890SmrgDate: Thu Oct 5 18:32:29 2006 -0700 143151ab64890Smrg 143161ab64890Smrg XCB: correctly handle failure to connect to X server. 143171ab64890Smrg 143181ab64890Smrgcommit e754b3b078d556c7861da56aad47d244e9199e06 143191ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org> 143201ab64890SmrgDate: Thu Oct 5 17:44:22 2006 -0700 143211ab64890Smrg 143221ab64890Smrg Split public Xlib/XCB functions into libX11-xcb 143231ab64890Smrg 143241ab64890Smrg We can never change the libX11 soname, and we don't want to commit to never 143251ab64890Smrg changing the public Xlib/XCB functions, so split them into a separate library 143261ab64890Smrg libX11-xcb. This also means that a program linked solely against libX11 143271ab64890Smrg should work with either Xlib or Xlib/XCB, which will make life easier for 143281ab64890Smrg package maintainers. 143291ab64890Smrg 143301ab64890Smrg Signed-off-by: Josh Triplett <josh@freedesktop.org> 143311ab64890Smrg Acked-by: Jamey Sharp <jamey@minilop.net> 143321ab64890Smrg 143331ab64890Smrgcommit ffd367f708b295abaedf3a23a1bfd4710d171d6f 143341ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 143351ab64890SmrgDate: Wed Oct 4 17:16:46 2006 -0700 143361ab64890Smrg 143371ab64890Smrg No longer #include Xmd from xcl.h: we do not need it. 143381ab64890Smrg 143391ab64890Smrgcommit 3aff149d42ba8ed620091971b3766bdf96c62aaf 143401ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 143411ab64890SmrgDate: Wed Oct 4 16:58:32 2006 -0700 143421ab64890Smrg 143431ab64890Smrg XCB: Revert locking to simple wrapper around libX11's normal locks. 143441ab64890Smrg 143451ab64890Smrg No more recursive mutexes, no more banging XCB's I/O lock in-place, and 143461ab64890Smrg reduces the differences between the previous stable release and an 143471ab64890Smrg XCB-enabled one. Sadly, Xlib's pluggable thread functions work again 143481ab64890Smrg too, now. I apologize to the world. 143491ab64890Smrg 143501ab64890Smrgcommit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708 143511ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 143521ab64890SmrgDate: Mon Sep 25 04:54:52 2006 -0700 143531ab64890Smrg 143541ab64890Smrg Link explicitly against XCB's Xlib compatibility functions. 143551ab64890Smrg 143561ab64890Smrgcommit bde3cd123d65a2f36ee0c417f5f231b7e01d0671 143571ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 143581ab64890SmrgDate: Mon Sep 25 04:13:20 2006 -0700 143591ab64890Smrg 143601ab64890Smrg libxcb now installs header files in <xcb>, not <X11/XCB>. 143611ab64890Smrg 143621ab64890Smrgcommit 87d00207f5a1f25a45a153618739cd6481814f89 143631ab64890SmrgAuthor: Ian Osgood <iano@quirkster.com> 143641ab64890SmrgDate: Sun Sep 24 23:39:01 2006 -0700 143651ab64890Smrg 143661ab64890Smrg Track XCB's "Great Renaming". 143671ab64890Smrg 143681ab64890Smrgcommit 85a5e98dff9b7752fae157fad9b8c9825cb0efab 143691ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 143701ab64890SmrgDate: Tue Sep 12 23:02:42 2006 -0700 143711ab64890Smrg 143721ab64890Smrg Quit using XCBGetQueuedRequestRead. 143731ab64890Smrg 143741ab64890Smrgcommit a61936fc4e9bd93b108764bbacd5b8f786e51915 143751ab64890SmrgAuthor: Tollef Fog Heen <tfheen@err.no> 143761ab64890SmrgDate: Wed Aug 30 00:05:54 2006 +0300 143771ab64890Smrg 143781ab64890Smrg nls: use _XlcUtf8Loader for en_US (bug #7982) 143791ab64890Smrg Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with 143801ab64890Smrg every other locale. 143811ab64890Smrg 143821ab64890Smrgcommit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e 143831ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 143841ab64890SmrgDate: Wed Aug 23 18:49:30 2006 -0700 143851ab64890Smrg 143861ab64890Smrg When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN 143871ab64890Smrg 143881ab64890Smrg Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to 143891ab64890Smrg connect on a named pipe, try a Unix socket first, to better support people who 143901ab64890Smrg replace their X servers with ones that don't support named pipe transport. 143911ab64890Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225> 143921ab64890Smrg 143931ab64890Smrgcommit 1ddc44c1cada7e926bd4787406444ce7c36b61e1 143941ab64890SmrgAuthor: Mark Brown <mark.brown@sun.com> 143951ab64890SmrgDate: Thu Jul 27 19:17:10 2006 -0700 143961ab64890Smrg 143971ab64890Smrg Sun bug 1149809: Document event delivery when grab is terminated. 143981ab64890Smrg 143991ab64890Smrgcommit 171107b03ac89d94f9006c7cda242aeefb9ecd16 144001ab64890SmrgAuthor: Dennis Arellano <Dennis.Arellano@Sun.COM> 144011ab64890SmrgDate: Thu Jul 27 18:47:06 2006 -0700 144021ab64890Smrg 144031ab64890Smrg Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description 144041ab64890Smrg 144051ab64890Smrg Document that 32-bit format properties are always returned in arrays of type 144061ab64890Smrg long, even on systems where long is 64-bits. 144071ab64890Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271> 144081ab64890Smrg 144091ab64890Smrgcommit 8309efe6550877cd0bf22979904b3f6bd3e6cffa 144101ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 144111ab64890SmrgDate: Mon Jul 24 15:52:00 2006 -0700 144121ab64890Smrg 144131ab64890Smrg Add support for "make lint" to check code with lint/sparse/etc. 144141ab64890Smrg 144151ab64890Smrgcommit 931e02fbd1acd09aae2b0954c34342c86c72dff6 144161ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 144171ab64890SmrgDate: Mon Jul 24 15:50:52 2006 -0700 144181ab64890Smrg 144191ab64890Smrg ANSIfy some static function definitions 144201ab64890Smrg 144211ab64890Smrgcommit 20b7abcaac324d90454de63f32f4a2b398e69e63 144221ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 144231ab64890SmrgDate: Mon Jul 24 15:01:40 2006 -0700 144241ab64890Smrg 144251ab64890Smrg Fix sparse warning: Using plain integer as NULL pointer 144261ab64890Smrg 144271ab64890Smrgcommit d158ab29930513c4097f5b67e7bea08ed2bfd62c 144281ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 144291ab64890SmrgDate: Mon Jul 24 14:00:24 2006 -0700 144301ab64890Smrg 144311ab64890Smrg Remove unused variable 144321ab64890Smrg 144331ab64890Smrgcommit 30377000375bdb958042dcb1f38503c94ef21eaf 144341ab64890SmrgAuthor: Eric Anholt <anholt@FreeBSD.org> 144351ab64890SmrgDate: Fri Jul 21 18:55:36 2006 -0400 144361ab64890Smrg 144371ab64890Smrg Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 144381ab64890Smrg 144391ab64890Smrgcommit 4eba45879aea4e415ab550ee56b900d060099110 144401ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 144411ab64890SmrgDate: Sun Jul 16 10:55:39 2006 +0200 144421ab64890Smrg 144431ab64890Smrg set GIT_DIR=${srcdir}/.git for git-log 144441ab64890Smrg 144451ab64890Smrgcommit 2d426d1f2608fedb77bd7d010dabece76b8d4a60 144461ab64890SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 144471ab64890SmrgDate: Tue Jul 11 13:27:49 2006 -0700 144481ab64890Smrg 144491ab64890Smrg Add a .PHONY to ensure the ChangeLog isn't stale. 144501ab64890Smrg 144511ab64890Smrg Setting the ChangeLog rule as phony forces it to be re-run even when the 144521ab64890Smrg ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 144531ab64890Smrg Solaris make. 144541ab64890Smrg (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit) 144551ab64890Smrg 144561ab64890Smrgcommit b8a98809ed81e1226775e6447ef219ffc01334b5 144571ab64890SmrgAuthor: Aaron Plattner <aplattner@nvidia.com> 144581ab64890SmrgDate: Tue Jul 11 13:27:49 2006 -0700 144591ab64890Smrg 144601ab64890Smrg Add a .PHONY to ensure the ChangeLog isn't stale. 144611ab64890Smrg 144621ab64890Smrg Setting the ChangeLog rule as phony forces it to be re-run even when the 144631ab64890Smrg ChangeLog file already exists. Research indicates .PHONY is portable to BSD and 144641ab64890Smrg Solaris make. 144651ab64890Smrg 144661ab64890Smrgcommit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3 144671ab64890SmrgAuthor: Mayank Jain <majain@redhat.com> 144681ab64890SmrgDate: Tue Jul 11 19:42:47 2006 +0100 144691ab64890Smrg 144701ab64890Smrg add Indian language locales 144711ab64890Smrg Add as, kn, ml, or, ur, and te locales. 144721ab64890Smrg 144731ab64890Smrgcommit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0 144741ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 144751ab64890SmrgDate: Tue Jul 4 12:16:30 2006 +0200 144761ab64890Smrg 144771ab64890Smrg Fix for autoconf 2.60 issue. 144781ab64890Smrg 144791ab64890Smrg Updated AC_DEFINE_DIR. 144801ab64890Smrg Reverted datarootdir change. 144811ab64890Smrg 144821ab64890Smrgcommit 644f4828b15bce42b597eb123ba0bbc372c46c03 144831ab64890SmrgAuthor: Keith Packard <keithp@neko.keithp.com> 144841ab64890SmrgDate: Sat Jul 1 21:31:23 2006 -0700 144851ab64890Smrg 144861ab64890Smrg Work around recent autoconf (2.59?) changes in directory expansion. 144871ab64890Smrg 144881ab64890Smrg Recent autoconf versions have changed how directory names are managed in the 144891ab64890Smrg configure.ac script; automatic 'eval' invocations now occur as a part of the 144901ab64890Smrg AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed 144911ab64890Smrg before the variables are used in further macro definitions. Also, ${datadir} 144921ab64890Smrg is apparantly an old name for ${datarootdir} as ${datadir} doesn't get 144931ab64890Smrg expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it 144941ab64890Smrg is easy to work around by just using ${datarootdir} instead of ${datadir}. 144951ab64890Smrg 144961ab64890Smrgcommit be70a31229aa106aff0a09d78c00812682cd3475 144971ab64890SmrgAuthor: Keith Packard <keithp@neko.keithp.com> 144981ab64890SmrgDate: Sat Jul 1 01:56:05 2006 -0700 144991ab64890Smrg 145001ab64890Smrg Xlib/XCB: handle 32-bit sequence wrap. 145011ab64890Smrg 145021ab64890Smrg Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from 145031ab64890Smrg XCB). 145041ab64890Smrg Account for XCB sequence 0 handling. 145051ab64890Smrg 145061ab64890Smrgcommit 99c711707ad08e1396e123b1c7df687c560a489a 145071ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 145081ab64890SmrgDate: Thu Jun 29 19:43:20 2006 -0700 145091ab64890Smrg 145101ab64890Smrg Bump version to 1.0.3. 145111ab64890Smrg 145121ab64890Smrgcommit cde3c0dd72af2b490e80cffca962e3487dd31be4 145131ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 145141ab64890SmrgDate: Thu Jun 29 19:39:36 2006 -0700 145151ab64890Smrg 145161ab64890Smrg Bug #7349: Missed one of the setuid fixes. 145171ab64890Smrg (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit) 145181ab64890Smrg 145191ab64890Smrgcommit df3fef8983d96c59d481c4cdaf1f271d54a116d2 145201ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 145211ab64890SmrgDate: Thu Jun 29 18:59:57 2006 +0200 145221ab64890Smrg 145231ab64890Smrg Update to final Compose cache directory location. 145241ab64890Smrg (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit) 145251ab64890Smrg 145261ab64890Smrgcommit 912ef198292d3053daa810f842510e5d62ded0f0 145271ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 145281ab64890SmrgDate: Thu Jun 29 17:41:41 2006 +0200 145291ab64890Smrg 145301ab64890Smrg Fix alignment of trees and wide chars in the cache. 145311ab64890Smrg (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit) 145321ab64890Smrg 145331ab64890Smrgcommit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9 145341ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 145351ab64890SmrgDate: Wed Jun 28 19:17:03 2006 +0200 145361ab64890Smrg 145371ab64890Smrg First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 145381ab64890Smrg (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit) 145391ab64890Smrg 145401ab64890Smrgcommit e9614c963b532f46a7932c2305a4b177a996a222 145411ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 145421ab64890SmrgDate: Thu Jun 29 19:39:36 2006 -0700 145431ab64890Smrg 145441ab64890Smrg Bug #7349: Missed one of the setuid fixes. 145451ab64890Smrg 145461ab64890Smrgcommit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a 145471ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 145481ab64890SmrgDate: Thu Jun 29 18:59:57 2006 +0200 145491ab64890Smrg 145501ab64890Smrg Update to final Compose cache directory location. 145511ab64890Smrg 145521ab64890Smrgcommit 40a64c61f8bc33d497e1224e02c41dea2d424d97 145531ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 145541ab64890SmrgDate: Thu Jun 29 17:41:41 2006 +0200 145551ab64890Smrg 145561ab64890Smrg Fix alignment of trees and wide chars in the cache. 145571ab64890Smrg 145581ab64890Smrgcommit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 145591ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 145601ab64890SmrgDate: Wed Jun 28 19:17:03 2006 +0200 145611ab64890Smrg 145621ab64890Smrg First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 145631ab64890Smrg 145641ab64890Smrgcommit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1 145651ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 145661ab64890SmrgDate: Thu Jun 22 23:59:03 2006 -0700 145671ab64890Smrg 145681ab64890Smrg Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 145691ab64890Smrg add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 145701ab64890Smrg ChangeLog. 145711ab64890Smrg (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit) 145721ab64890Smrg 145731ab64890Smrgcommit b0edfb8df16ab8c9959b83a4c966d55a59c4e295 145741ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)> 145751ab64890SmrgDate: Thu Jun 22 23:47:38 2006 -0700 145761ab64890Smrg 145771ab64890Smrg Delete ChangeLog, and add a rule to autogenerate it for distribution. Also 145781ab64890Smrg add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a 145791ab64890Smrg ChangeLog. 145801ab64890Smrg 145811ab64890Smrgcommit dd54981aa76e9dfdc4c3302d6105b4b229447c84 145821ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)> 145831ab64890SmrgDate: Thu Jun 22 15:47:38 2006 -0700 145841ab64890Smrg 145851ab64890Smrg Bump version to 1.0.2. 145861ab64890Smrg 145871ab64890Smrgcommit c93539d974a67f596a5eb5b65042d26602546c72 145881ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com> 145891ab64890SmrgDate: Tue Jun 20 21:04:03 2006 +0200 145901ab64890Smrg 145911ab64890Smrg Check setuid() return value. 145921ab64890Smrg (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit) 145931ab64890Smrg 145941ab64890Smrgcommit 605533f814ab7892991578706a6458f61a89ca4d 145951ab64890SmrgAuthor: Derek Wang <derek.wang@sun.com> 145961ab64890SmrgDate: Mon Jun 19 11:05:37 2006 -0700 145971ab64890Smrg 145981ab64890Smrg Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 145991ab64890Smrg (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit) 146001ab64890Smrg 146011ab64890Smrgcommit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4 146021ab64890SmrgAuthor: Scott Revelt <scott.revelt@sun.com> 146031ab64890SmrgDate: Fri Jun 16 19:11:13 2006 -0700 146041ab64890Smrg 146051ab64890Smrg Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 146061ab64890Smrg based on locale that doesn't match those used in the Xcms.txt 146071ab64890Smrg (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit) 146081ab64890Smrg 146091ab64890Smrgcommit 0b05cd4da6134df527fb010384a9fd569bd5d6a3 146101ab64890SmrgAuthor: Alan Coopersmith <alanc@alf.(none)> 146111ab64890SmrgDate: Fri Jun 16 18:53:33 2006 -0700 146121ab64890Smrg 146131ab64890Smrg Add *~ to ignore emacs droppings 146141ab64890Smrg (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit) 146151ab64890Smrg 146161ab64890Smrgcommit 214658b76b56768f69c3959a11525aae7813f448 146171ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 146181ab64890SmrgDate: Fri Jun 16 15:36:40 2006 +0200 146191ab64890Smrg 146201ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 146211ab64890Smrg (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit) 146221ab64890Smrg 146231ab64890Smrgcommit 13968a23aaea838ba4b69e42e8900f803499e091 146241ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 146251ab64890SmrgDate: Tue Jun 13 20:23:46 2006 +0200 146261ab64890Smrg 146271ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 146281ab64890Smrg (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit) 146291ab64890Smrg 146301ab64890Smrgcommit e7f8bca08f5476d0ca262097639ac7d424bb4d10 146311ab64890SmrgAuthor: Lubos Lunak <llunak@suse.de> 146321ab64890SmrgDate: Mon Jun 12 18:48:08 2006 +0200 146331ab64890Smrg 146341ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 146351ab64890Smrg (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit) 146361ab64890Smrg 146371ab64890Smrgcommit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641 146381ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 146391ab64890SmrgDate: Fri Jun 9 18:24:02 2006 +0200 146401ab64890Smrg 146411ab64890Smrg 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. 146421ab64890Smrg (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit) 146431ab64890Smrg 146441ab64890Smrgcommit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c 146451ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 146461ab64890SmrgDate: Wed Jun 7 20:29:05 2006 -0700 146471ab64890Smrg 146481ab64890Smrg Fix bug #7035: unnecessary memmove in XOpenDisplay. 146491ab64890Smrg Using memmove on the connection setup data causes a problem for XCB, but making 146501ab64890Smrg Xlib stop doing that should be harmless for non-XCB as well. 146511ab64890Smrg (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit) 146521ab64890Smrg 146531ab64890Smrgcommit cd7328c46ae72903ed02832828891b2dab4d5ee0 146541ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 146551ab64890SmrgDate: Sat Jun 3 13:51:51 2006 +0300 146561ab64890Smrg 146571ab64890Smrg Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 146581ab64890Smrg (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit) 146591ab64890Smrg 146601ab64890Smrgcommit c336eb6b80a6f91da1d0b3d28634a2cfde324670 1466138ae11fcSmrgMerge: 33556ca8 ad9ebbd2 146621ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)> 146631ab64890SmrgDate: Thu Jun 22 14:25:35 2006 -0700 146641ab64890Smrg 146651ab64890Smrg Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable 146661ab64890Smrg 146671ab64890Smrgcommit 213dacad21740466e7ab31b01d3fc513fe4b3e74 146681ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 146691ab64890SmrgDate: Thu Jun 22 17:20:59 2006 +0300 146701ab64890Smrg 146711ab64890Smrg Bump to 1.0.99.0 to avoid confusion. 146721ab64890Smrg 146731ab64890Smrgcommit efedfd68e31bcee2d21ac340be8dc9e1825ec890 1467438ae11fcSmrgMerge: e3acee88 4b8eb5d4 146751ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 146761ab64890SmrgDate: Thu Jun 22 16:53:45 2006 +0300 146771ab64890Smrg 146781ab64890Smrg Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 146791ab64890Smrg 146801ab64890Smrgcommit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5 1468138ae11fcSmrgMerge: 5169d0e0 eff50c94 146821ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com> 146831ab64890SmrgDate: Tue Jun 20 21:05:15 2006 +0200 146841ab64890Smrg 146851ab64890Smrg Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 146861ab64890Smrg 146871ab64890Smrgcommit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f 146881ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com> 146891ab64890SmrgDate: Tue Jun 20 21:04:03 2006 +0200 146901ab64890Smrg 146911ab64890Smrg Check setuid() return value. 146921ab64890Smrg 146931ab64890Smrgcommit eff50c94a07194297e705da53d9fbb3a40fb9ad4 146941ab64890SmrgAuthor: Derek Wang <derek.wang@sun.com> 146951ab64890SmrgDate: Mon Jun 19 11:05:37 2006 -0700 146961ab64890Smrg 146971ab64890Smrg Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded 146981ab64890Smrg 146991ab64890Smrgcommit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa 147001ab64890SmrgAuthor: Scott Revelt <scott.revelt@sun.com> 147011ab64890SmrgDate: Fri Jun 16 19:11:13 2006 -0700 147021ab64890Smrg 147031ab64890Smrg Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators 147041ab64890Smrg based on locale that doesn't match those used in the Xcms.txt 147051ab64890Smrg 147061ab64890Smrgcommit c33d7b8282ac196b36229be26442296768c16f3e 147071ab64890SmrgAuthor: Alan Coopersmith <alanc@alf.(none)> 147081ab64890SmrgDate: Fri Jun 16 18:53:33 2006 -0700 147091ab64890Smrg 147101ab64890Smrg Add *~ to ignore emacs droppings 147111ab64890Smrg 147121ab64890Smrgcommit 1f4c9893ade08bad30c9bd12a36bee57d30b001e 147131ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 147141ab64890SmrgDate: Fri Jun 16 15:36:40 2006 +0200 147151ab64890Smrg 147161ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 147171ab64890Smrg 147181ab64890Smrgcommit 4fe22647e6010a2886c2f3a7093adeaeb6678faa 147191ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 147201ab64890SmrgDate: Tue Jun 13 20:23:46 2006 +0200 147211ab64890Smrg 147221ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 147231ab64890Smrg 147241ab64890Smrgcommit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be 147251ab64890SmrgAuthor: Lubos Lunak <llunak@suse.de> 147261ab64890SmrgDate: Mon Jun 12 18:48:08 2006 +0200 147271ab64890Smrg 147281ab64890Smrg Bug #3104: Compose table cache for faster X11 application starts. 147291ab64890Smrg 147301ab64890Smrgcommit 9354351fcb8baeaab85250d14409cfb4fa50f3e9 147311ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de> 147321ab64890SmrgDate: Fri Jun 9 18:24:02 2006 +0200 147331ab64890Smrg 147341ab64890Smrg 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. 147351ab64890Smrg 147361ab64890Smrgcommit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 147371ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 147381ab64890SmrgDate: Wed Jun 7 20:29:05 2006 -0700 147391ab64890Smrg 147401ab64890Smrg Fix bug #7035: unnecessary memmove in XOpenDisplay. 147411ab64890Smrg Using memmove on the connection setup data causes a problem for XCB, but making 147421ab64890Smrg Xlib stop doing that should be harmless for non-XCB as well. 147431ab64890Smrg 147441ab64890Smrgcommit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84 147451ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 147461ab64890SmrgDate: Sat Jun 3 12:57:55 2006 +0300 147471ab64890Smrg 147481ab64890Smrg Bug #2186: Add cs_CZ.iso8859-2 alias. 147491ab64890Smrg 147501ab64890Smrgcommit 9e7765e0b1cbaae6643072d91066ba1201b36227 147511ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 147521ab64890SmrgDate: Fri Jun 2 02:46:29 2006 +0300 147531ab64890Smrg 147541ab64890Smrg nls: Serbian (sr_CS) update (#5575) 147551ab64890Smrg 147561ab64890Smrg Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 147571ab64890Smrg corresponding locale change. Update compose.dir.pre, locale.alias.pre, 147581ab64890Smrg and locale.dir.pre. (Milos Komarcevic) 147591ab64890Smrg 147601ab64890Smrgcommit a4ac2242b588da23044a20aa999ae84d4de7b2d8 147611ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 147621ab64890SmrgDate: Fri Jun 2 02:24:25 2006 +0300 147631ab64890Smrg 147641ab64890Smrg im: add Braille input method (#6296) 147651ab64890Smrg 147661ab64890Smrg Bug #6296: Add a Braille input method. (Samuel Thibault) 147671ab64890Smrg 147681ab64890Smrgcommit 90de1e2e141ec591048a76cb695579ef809a28d3 147691ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 147701ab64890SmrgDate: Fri Jun 2 02:22:17 2006 +0300 147711ab64890Smrg 147721ab64890Smrg xkb support: small typo 147731ab64890Smrg 147741ab64890Smrgcommit 4c3e34bece7402f08139d34d1ef5834e3cf533c7 147751ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 147761ab64890SmrgDate: Fri Jun 2 01:50:24 2006 +0300 147771ab64890Smrg 147781ab64890Smrg en_US.UTF-8 Compose.pre: updates from Simos (#5129) 147791ab64890Smrg 147801ab64890Smrg Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 147811ab64890Smrg adding Unicode character names, removing duplicate entries, et al. 147821ab64890Smrg 147831ab64890Smrgcommit 0c6473dd329c7334ae511884bcb6e73e632c784f 147841ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 147851ab64890SmrgDate: Fri Jun 2 01:44:53 2006 +0300 147861ab64890Smrg 147871ab64890Smrg nls: fix use of non-keysym dead_space (#5107) 147881ab64890Smrg 147891ab64890Smrg Bug #5107: Change users of dead_space to space. 147901ab64890Smrg 147911ab64890Smrgcommit 6f99f6349de5120f1cb7e02fbc97849341bc48e8 147921ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 147931ab64890SmrgDate: Fri Jun 2 01:41:18 2006 +0300 147941ab64890Smrg 147951ab64890Smrg optional XKB support fix 147961ab64890Smrg 147971ab64890Smrg Fix compilation with --disable-xkb. 147981ab64890Smrg 147991ab64890Smrgcommit 217d43ed44ced901122093af3ef1294e1736bb77 148001ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 148011ab64890SmrgDate: Fri Jun 2 01:39:12 2006 +0300 148021ab64890Smrg 148031ab64890Smrg i18n: separate data and lib directories 148041ab64890Smrg 148051ab64890Smrg Break out locale data into separate data and library directories, under 148061ab64890Smrg $(datadir) and $(libdir), respectively, by default. 148071ab64890Smrg 148081ab64890Smrgcommit 92fa7fcde8df22830fca7c0275ab201033f7909c 148091ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 148101ab64890SmrgDate: Thu May 11 14:04:48 2006 -0400 148111ab64890Smrg 148121ab64890Smrg libXcursor.so.1, not libXcursor.so 148131ab64890Smrg 148141ab64890Smrgcommit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0 148151ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 148161ab64890SmrgDate: Wed May 10 18:06:03 2006 +0300 148171ab64890Smrg 148181ab64890Smrg XKBMisc.c: use Xfree, not xfree 148191ab64890Smrg 148201ab64890Smrg Use Xfree() instead of xfree() when freeing interps. 148211ab64890Smrg 148221ab64890Smrgcommit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee 148231ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 148241ab64890SmrgDate: Wed May 10 14:51:37 2006 +0300 148251ab64890Smrg 148261ab64890Smrg locale.alias.pre: bg_BG typo fix 148271ab64890Smrg 148281ab64890Smrg Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 148291ab64890Smrg 148301ab64890Smrgcommit cc533db60cb64dc163c66451933a9bf77c519062 148311ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 148321ab64890SmrgDate: Sun Apr 9 22:22:03 2006 +0300 148331ab64890Smrg 148341ab64890Smrg Coverity #203, #204: Fix potential NULL dereferences. 148351ab64890Smrg 148361ab64890Smrgcommit b83adf7dfd6157694fe4f232012fef36cd9666da 148371ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 148381ab64890SmrgDate: Sun Apr 9 22:20:25 2006 +0300 148391ab64890Smrg 148401ab64890Smrg Coverity #205: Fix potential NULL dereference. 148411ab64890Smrg 148421ab64890Smrgcommit 2d0cd10ad907864d0136739eaac459779c9a5332 148431ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 148441ab64890SmrgDate: Sun Apr 9 22:18:20 2006 +0300 148451ab64890Smrg 148461ab64890Smrg Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 148471ab64890Smrg 148481ab64890Smrgcommit dc2f3966068d66a564aa452cab9f0c26657fa1df 148491ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 148501ab64890SmrgDate: Fri Apr 7 18:11:52 2006 +0300 148511ab64890Smrg 148521ab64890Smrg Coverity #826: Fix potential memory leak. 148531ab64890Smrg 148541ab64890Smrgcommit 23df609ec451a01c77e8f31ecc85c5af7c62efed 148551ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 148561ab64890SmrgDate: Fri Apr 7 17:49:41 2006 +0300 148571ab64890Smrg 148581ab64890Smrg Bug #1625: Include keysym.h from Xutil.h. 148591ab64890Smrg 148601ab64890Smrgcommit 5262a1945c543a3419ed626e1deb09ef5b4584c1 148611ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 148621ab64890SmrgDate: Wed Apr 5 17:12:15 2006 -0700 148631ab64890Smrg 148641ab64890Smrg Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 148651ab64890Smrg 148661ab64890Smrg cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 148671ab64890Smrg of Coverity #599, #600. 148681ab64890Smrg 148691ab64890Smrgcommit 8b42635f577468bb143ca593cdd9fb3450ad712c 148701ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 148711ab64890SmrgDate: Wed Apr 5 16:42:26 2006 -0700 148721ab64890Smrg 148731ab64890Smrg Coverity #558: Free newly-allocated Database in error path. 148741ab64890Smrg 148751ab64890Smrgcommit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f 148761ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 148771ab64890SmrgDate: Wed Apr 5 16:38:52 2006 -0700 148781ab64890Smrg 148791ab64890Smrg Coverity #582: Free newly-allocated region in error path. 148801ab64890Smrg 148811ab64890Smrgcommit 5fd8f79ad3e38df74d9a6cb573617542c101df1a 148821ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 148831ab64890SmrgDate: Fri Mar 17 15:58:39 2006 +0200 148841ab64890Smrg 148851ab64890Smrg Properly clip bounds when only one point is defining an outline. 148861ab64890Smrg 148871ab64890Smrgcommit 1e1572eb7f8394ce152e99d96f711ccf9083baf9 148881ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com> 148891ab64890SmrgDate: Sat Mar 11 15:39:15 2006 +0100 148901ab64890Smrg 148911ab64890Smrg Fix prototype of XConfigureWindow(). Bugzilla #6023. 148921ab64890Smrg 148931ab64890Smrgcommit 1da8bd904f1fc79d63d368473531b438d08bfe37 148941ab64890SmrgAuthor: Jeremy C. Reed <reed@reedmedia.net> 148951ab64890SmrgDate: Tue Feb 21 14:10:22 2006 -0800 148961ab64890Smrg 148971ab64890Smrg Set XTHREADLIB correctly for dragonfly platforms. 148981ab64890Smrg 148991ab64890Smrgcommit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c 149001ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 149011ab64890SmrgDate: Sun Feb 19 12:29:27 2006 -0800 149021ab64890Smrg 149031ab64890Smrg Update .gitignores for *.o and nls/locale.dir*. 149041ab64890Smrg 149051ab64890Smrgcommit efcbde6ba0b770bb0d4c7818e307712161011f10 149061ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 149071ab64890SmrgDate: Sun Feb 19 12:28:41 2006 -0800 149081ab64890Smrg 149091ab64890Smrg Move .cvsignore to .gitignore. 149101ab64890Smrg 149111ab64890Smrgcommit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb 149121ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 149131ab64890SmrgDate: Sat Jun 3 13:51:51 2006 +0300 149141ab64890Smrg 149151ab64890Smrg Fix threading support on GNU/kFreeBSD systems. (Robert Millan) 149161ab64890Smrg 149171ab64890Smrgcommit f1bd3152359ddfadd0d043006036c239f3e2907b 149181ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 149191ab64890SmrgDate: Sat Jun 3 12:57:55 2006 +0300 149201ab64890Smrg 149211ab64890Smrg Bug #2186: Add cs_CZ.iso8859-2 alias. 149221ab64890Smrg 149231ab64890Smrgcommit 2b1b79d90db1d7f0472718b8c010c36275994195 149241ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 149251ab64890SmrgDate: Fri Jun 2 02:46:29 2006 +0300 149261ab64890Smrg 149271ab64890Smrg nls: Serbian (sr_CS) update (#5575) 149281ab64890Smrg Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a 149291ab64890Smrg corresponding locale change. Update compose.dir.pre, locale.alias.pre, 149301ab64890Smrg and locale.dir.pre. (Milos Komarcevic) 149311ab64890Smrg 149321ab64890Smrgcommit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac 149331ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 149341ab64890SmrgDate: Fri Jun 2 02:24:25 2006 +0300 149351ab64890Smrg 149361ab64890Smrg im: add Braille input method (#6296) 149371ab64890Smrg Bug #6296: Add a Braille input method. (Samuel Thibault) 149381ab64890Smrg 149391ab64890Smrgcommit 0fed7d3185addd610e917dcdaa0676f0256c0ec5 149401ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 149411ab64890SmrgDate: Fri Jun 2 02:22:17 2006 +0300 149421ab64890Smrg 149431ab64890Smrg xkb support: small typo 149441ab64890Smrg 149451ab64890Smrgcommit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9 149461ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 149471ab64890SmrgDate: Fri Jun 2 01:50:24 2006 +0300 149481ab64890Smrg 149491ab64890Smrg en_US.UTF-8 Compose.pre: updates from Simos (#5129) 149501ab64890Smrg Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms, 149511ab64890Smrg adding Unicode character names, removing duplicate entries, et al. 149521ab64890Smrg 149531ab64890Smrgcommit 332d45fce9fdbf59168d90a133af1f580a589e54 149541ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 149551ab64890SmrgDate: Fri Jun 2 01:44:53 2006 +0300 149561ab64890Smrg 149571ab64890Smrg nls: fix use of non-keysym dead_space (#5107) 149581ab64890Smrg Bug #5107: Change users of dead_space to space. 149591ab64890Smrg 149601ab64890Smrgcommit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b 149611ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 149621ab64890SmrgDate: Fri Jun 2 01:41:18 2006 +0300 149631ab64890Smrg 149641ab64890Smrg optional XKB support fix 149651ab64890Smrg Fix compilation with --disable-xkb. 149661ab64890Smrg 149671ab64890Smrgcommit c5940a0b85edec4003f91a59fc3c44f538accfe1 149681ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 149691ab64890SmrgDate: Fri Jun 2 01:39:12 2006 +0300 149701ab64890Smrg 149711ab64890Smrg i18n: separate data and lib directories 149721ab64890Smrg Break out locale data into separate data and library directories, under 149731ab64890Smrg $(datadir) and $(libdir), respectively, by default. 149741ab64890Smrg 149751ab64890Smrgcommit 33556ca81db2419b9d2a37664c4cea2069414b37 149761ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 149771ab64890SmrgDate: Fri May 12 14:49:17 2006 -0400 149781ab64890Smrg 149791ab64890Smrg Bump to 1.0.1 149801ab64890Smrg 149811ab64890Smrgcommit 80d88557626fae9debc404de33d7fb5d69a6049d 149821ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 149831ab64890SmrgDate: Thu May 11 14:06:28 2006 -0400 149841ab64890Smrg 149851ab64890Smrg libXcursor.so.1, not libXcursor.so 149861ab64890Smrg 149871ab64890Smrgcommit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6 149881ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 149891ab64890SmrgDate: Thu May 11 14:04:48 2006 -0400 149901ab64890Smrg 149911ab64890Smrg libXcursor.so.1, not libXcursor.so 149921ab64890Smrg 149931ab64890Smrgcommit 01f4d433eed6b70c6e9636157acac022054fdeb6 149941ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 149951ab64890SmrgDate: Wed May 10 17:02:52 2006 -0700 149961ab64890Smrg 149971ab64890Smrg Count any partial request towards the current Xlib sequence number. 149981ab64890Smrg 149991ab64890Smrgcommit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4 150001ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 150011ab64890SmrgDate: Wed May 10 18:06:03 2006 +0300 150021ab64890Smrg 150031ab64890Smrg XKBMisc.c: use Xfree, not xfree 150041ab64890Smrg Use Xfree() instead of xfree() when freeing interps. 150051ab64890Smrg 150061ab64890Smrgcommit 22a5255b80b80772612279bc840a953edd0e3442 150071ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 150081ab64890SmrgDate: Wed May 10 14:51:37 2006 +0300 150091ab64890Smrg 150101ab64890Smrg locale.alias.pre: bg_BG typo fix 150111ab64890Smrg Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre. 150121ab64890Smrg 150131ab64890Smrgcommit 9cac8c9824874ca7d835f001a4efa910b7fdd822 1501438ae11fcSmrgMerge: 19b8840a e514bc87 150151ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org> 150161ab64890SmrgDate: Wed May 10 14:50:37 2006 +0300 150171ab64890Smrg 150181ab64890Smrg Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11 150191ab64890Smrg 150201ab64890Smrgcommit e514bc875f27f4bf197b06b8315eeca526195915 150211ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 150221ab64890SmrgDate: Tue May 9 12:41:59 2006 -0700 150231ab64890Smrg 150241ab64890Smrg Assert that dpy->request does not go backwards. Catches #5839 earlier. 150251ab64890Smrg 150261ab64890Smrgcommit fc1159137365a599bf611ee001f439416952c4e0 150271ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 150281ab64890SmrgDate: Sun May 7 17:40:01 2006 -0700 150291ab64890Smrg 150301ab64890Smrg In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available. 150311ab64890Smrg 150321ab64890Smrgcommit c394480a4247213239822808e3f6e7c6cd6decd9 150331ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 150341ab64890SmrgDate: Sun May 7 16:58:13 2006 -0700 150351ab64890Smrg 150361ab64890Smrg Update for XCB ConnSetupSuccessRep name change. 150371ab64890Smrg 150381ab64890Smrgcommit 7672bf93bc1200905461aeb0a2dc2c2696410b93 150391ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 150401ab64890SmrgDate: Sun Apr 9 22:22:03 2006 +0300 150411ab64890Smrg 150421ab64890Smrg Coverity #203, #204: Fix potential NULL dereferences. 150431ab64890Smrg 150441ab64890Smrgcommit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3 150451ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 150461ab64890SmrgDate: Sun Apr 9 22:20:25 2006 +0300 150471ab64890Smrg 150481ab64890Smrg Coverity #205: Fix potential NULL dereference. 150491ab64890Smrg 150501ab64890Smrgcommit b6771501feea98d037032f82117b6d4f15779f07 150511ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain> 150521ab64890SmrgDate: Sun Apr 9 22:18:20 2006 +0300 150531ab64890Smrg 150541ab64890Smrg Coverity #209: Fix potential NULL dereference. (Alan Coopersmith) 150551ab64890Smrg 150561ab64890Smrgcommit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc 150571ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 150581ab64890SmrgDate: Fri Apr 7 18:11:52 2006 +0300 150591ab64890Smrg 150601ab64890Smrg Coverity #826: Fix potential memory leak. 150611ab64890Smrg 150621ab64890Smrgcommit 3a16f262abe48b44ed641525e894bc22e13bf72a 150631ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 150641ab64890SmrgDate: Fri Apr 7 17:49:41 2006 +0300 150651ab64890Smrg 150661ab64890Smrg Bug #1625: Include keysym.h from Xutil.h. 150671ab64890Smrg 150681ab64890Smrgcommit 2481b767ae96e2f2503c0390545932c8397b090f 150691ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 150701ab64890SmrgDate: Wed Apr 5 17:12:15 2006 -0700 150711ab64890Smrg 150721ab64890Smrg Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more 150731ab64890Smrg cases (allocation failure) than nVisualsMatched == 0. Noticed from inspection 150741ab64890Smrg of Coverity #599, #600. 150751ab64890Smrg 150761ab64890Smrgcommit 152b17e47d878c2d928eb74581aa69d925a29123 150771ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 150781ab64890SmrgDate: Wed Apr 5 16:42:26 2006 -0700 150791ab64890Smrg 150801ab64890Smrg Coverity #558: Free newly-allocated Database in error path. 150811ab64890Smrg 150821ab64890Smrgcommit bc62b99ef36edb34035911c42104be7f6f9d2333 150831ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net> 150841ab64890SmrgDate: Wed Apr 5 16:38:52 2006 -0700 150851ab64890Smrg 150861ab64890Smrg Coverity #582: Free newly-allocated region in error path. 150871ab64890Smrg 150881ab64890Smrgcommit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5 150891ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 150901ab64890SmrgDate: Fri Mar 31 22:53:07 2006 -0800 150911ab64890Smrg 150921ab64890Smrg Fix buggy interaction with XCB when running out of XIDs. 150931ab64890Smrg 150941ab64890Smrgcommit e3f452571824d6a875bbf582946de185de9e01e9 150951ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 150961ab64890SmrgDate: Fri Mar 31 22:52:14 2006 -0800 150971ab64890Smrg 150981ab64890Smrg Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously. 150991ab64890Smrg 151001ab64890Smrgcommit 2363b74ca795c1b3a73c9e572532ba5191adec5b 151011ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com> 151021ab64890SmrgDate: Fri Mar 17 15:58:39 2006 +0200 151031ab64890Smrg 151041ab64890Smrg Properly clip bounds when only one point is defining an outline. 151051ab64890Smrg 151061ab64890Smrgcommit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7 1510738ae11fcSmrgMerge: be266b20 f71ea0bc 151081ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com> 151091ab64890SmrgDate: Sat Mar 11 15:40:35 2006 +0100 151101ab64890Smrg 151111ab64890Smrg Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11 151121ab64890Smrg 151131ab64890Smrgcommit be266b201dc13530a302a7572283ccd3f32aad87 151141ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com> 151151ab64890SmrgDate: Sat Mar 11 15:39:15 2006 +0100 151161ab64890Smrg 151171ab64890Smrg Fix prototype of XConfigureWindow(). Bugzilla #6023. 151181ab64890Smrg 151191ab64890Smrgcommit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c 151201ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151211ab64890SmrgDate: Fri Mar 3 11:08:41 2006 -0800 151221ab64890Smrg 151231ab64890Smrg Update for XCBSendRequest sequence number API changes. 151241ab64890Smrg 151251ab64890Smrgcommit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b 151261ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151271ab64890SmrgDate: Fri Mar 3 01:42:49 2006 -0800 151281ab64890Smrg 151291ab64890Smrg Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version. 151301ab64890Smrg 151311ab64890Smrgcommit d8ba4ae7045b227f8b675628b9094dded02f1c08 151321ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151331ab64890SmrgDate: Thu Mar 2 23:43:26 2006 -0800 151341ab64890Smrg 151351ab64890Smrg Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array. 151361ab64890Smrg 151371ab64890Smrgcommit f9afb5a54435c30961306080e9358d4240ecb844 151381ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151391ab64890SmrgDate: Thu Mar 2 23:34:19 2006 -0800 151401ab64890Smrg 151411ab64890Smrg assert() that we will not infinite loop or read uninitialized memory. 151421ab64890Smrg 151431ab64890Smrgcommit d3512ef3aae5b036a8ce6579318108f1ec20ee22 151441ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151451ab64890SmrgDate: Thu Mar 2 15:58:52 2006 -0800 151461ab64890Smrg 151471ab64890Smrg Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves. 151481ab64890Smrg 151491ab64890Smrgcommit fb590c15a740264ee867d15a2547072e43b21eed 151501ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151511ab64890SmrgDate: Thu Mar 2 12:06:04 2006 -0800 151521ab64890Smrg 151531ab64890Smrg Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature. 151541ab64890Smrg 151551ab64890Smrgcommit 8356ba37d307a9eda895a6bf41ef727bbfc9a695 151561ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151571ab64890SmrgDate: Mon Feb 27 11:51:47 2006 -0800 151581ab64890Smrg 151591ab64890Smrg Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted. 151601ab64890Smrg 151611ab64890Smrgcommit 07bdf1fbbf2418f866df1a2140d514dd3f035139 151621ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151631ab64890SmrgDate: Sun Feb 26 15:46:01 2006 -0800 151641ab64890Smrg 151651ab64890Smrg Update for new XCBSendRequest API. 151661ab64890Smrg 151671ab64890Smrgcommit 409a08cff8347d39e0e6c53c9f380d21f221f5ac 151681ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151691ab64890SmrgDate: Thu Feb 23 18:12:31 2006 -0800 151701ab64890Smrg 151711ab64890Smrg Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls. 151721ab64890Smrg 151731ab64890Smrgcommit ec30a27341b97620b07dd886f98d1d7664a67685 151741ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151751ab64890SmrgDate: Thu Feb 23 18:01:46 2006 -0800 151761ab64890Smrg 151771ab64890Smrg Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot. 151781ab64890Smrg 151791ab64890Smrgcommit 53c471c6a835d5cedeca99f2c97058d196a3fd7e 151801ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151811ab64890SmrgDate: Thu Feb 23 11:46:09 2006 -0800 151821ab64890Smrg 151831ab64890Smrg 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. 151841ab64890Smrg 151851ab64890Smrgcommit 41c0121a8718b530feaf7fe315b673d9b8defce2 151861ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151871ab64890SmrgDate: Tue Feb 21 21:25:41 2006 -0800 151881ab64890Smrg 151891ab64890Smrg Refactor the code that passes requests down to XCB into a separate issue_complete_request function. 151901ab64890Smrg 151911ab64890Smrgcommit 67d06e0fe468dca22847aa14d3f917128f89f9cf 151921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 151931ab64890SmrgDate: Tue Feb 21 15:33:05 2006 -0800 151941ab64890Smrg 151951ab64890Smrg If we have not actually put the buffer back, deferred invariants may not hold. This is OK. 151961ab64890Smrg 151971ab64890Smrgcommit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1 151981ab64890SmrgAuthor: Jeremy C. Reed <reed@reedmedia.net> 151991ab64890SmrgDate: Tue Feb 21 14:10:22 2006 -0800 152001ab64890Smrg 152011ab64890Smrg Set XTHREADLIB correctly for dragonfly platforms. 152021ab64890Smrg 152031ab64890Smrgcommit b24834762e975bd319f9ab5c7cf790b2a02a9474 152041ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152051ab64890SmrgDate: Tue Feb 21 14:03:26 2006 -0800 152061ab64890Smrg 152071ab64890Smrg Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay. 152081ab64890Smrg 152091ab64890Smrgcommit 99b8defd0d5e6993071e21638128c9de2574b37d 152101ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152111ab64890SmrgDate: Tue Feb 21 13:04:21 2006 -0800 152121ab64890Smrg 152131ab64890Smrg Execute BeforeFlush hooks on complete buffers, not request-at-a-time. 152141ab64890Smrg Traditional Xlib worked this way; I dunno why I changed it. 152151ab64890Smrg 152161ab64890Smrgcommit 9b01e7849775749182052fe324df9d8e6ceeee99 152171ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152181ab64890SmrgDate: Tue Feb 21 12:51:44 2006 -0800 152191ab64890Smrg 152201ab64890Smrg Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer. 152211ab64890Smrg 152221ab64890Smrgcommit 7ce7ac882de128955751a5307889db9d712d8a72 152231ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152241ab64890SmrgDate: Tue Feb 21 12:44:30 2006 -0800 152251ab64890Smrg 152261ab64890Smrg Quit using a triple-pointer. Almost as if I were a sensible person. 152271ab64890Smrg 152281ab64890Smrgcommit 35a858be218cdbfa4593d44a67663d5c25297016 152291ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152301ab64890SmrgDate: Tue Feb 21 12:21:01 2006 -0800 152311ab64890Smrg 152321ab64890Smrg Remove the XCL_PAD macro. 152331ab64890Smrg 152341ab64890Smrgcommit e741b70ed2542c5463c57dac44bc37328616733b 152351ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152361ab64890SmrgDate: Sun Feb 19 12:29:27 2006 -0800 152371ab64890Smrg 152381ab64890Smrg Update .gitignores for *.o and nls/locale.dir*. 152391ab64890Smrg 152401ab64890Smrgcommit f25b4b00e1683b0d97dba46dac46d65a9c2270a6 152411ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152421ab64890SmrgDate: Sun Feb 19 12:28:41 2006 -0800 152431ab64890Smrg 152441ab64890Smrg Move .cvsignore to .gitignore. 152451ab64890Smrg 152461ab64890Smrgcommit c7cda56eebaf6ab11403363be14d4948d7d8be38 152471ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152481ab64890SmrgDate: Sun Feb 19 11:49:15 2006 -0800 152491ab64890Smrg 152501ab64890Smrg Land XCB support on X.org HEAD. 152511ab64890Smrg 152521ab64890Smrgcommit 881467b3032261791ef5ec61b3879bb68d0a3d8c 152531ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152541ab64890SmrgDate: Sun Feb 19 02:14:11 2006 +0000 152551ab64890Smrg 152561ab64890Smrg Merge the X11 and BIGREQS package sets: they were used in exactly the same places. 152571ab64890Smrg 152581ab64890Smrgcommit 6b0158dfad714db5b89c04dbea3aedeafa0fb146 152591ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net> 152601ab64890SmrgDate: Tue Feb 14 19:37:36 2006 +0000 152611ab64890Smrg 152621ab64890Smrg 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. 152631ab64890Smrg 152641ab64890Smrgcommit 010c3acbb3a6993d39274f42d88c00849acb0fb0 152651ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 152661ab64890SmrgDate: Sun Feb 12 18:19:17 2006 +0000 152671ab64890Smrg 152681ab64890Smrg Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. 152691ab64890Smrg 152701ab64890Smrgcommit fe8c01c80263457f01b70dc1511b2bd9466b7c96 152711ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 152721ab64890SmrgDate: Fri Feb 3 23:34:43 2006 +0000 152731ab64890Smrg 152741ab64890Smrg Fix typo in .TH line 152751ab64890Smrg 152761ab64890Smrgcommit b091c217f3c3f60dde78b09a95c150df6c83d7ba 152771ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 152781ab64890SmrgDate: Thu Dec 15 00:24:28 2005 +0000 152791ab64890Smrg 152801ab64890Smrg Update package version number for final X11R7 release candidate. 152811ab64890Smrg 152821ab64890Smrgcommit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a 152831ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 152841ab64890SmrgDate: Tue Dec 6 22:48:41 2005 +0000 152851ab64890Smrg 152861ab64890Smrg Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 152871ab64890Smrg 152881ab64890Smrgcommit b5c495854d5270e64e6d588388ffa906bfcaac22 152891ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 152901ab64890SmrgDate: Sat Dec 3 05:49:42 2005 +0000 152911ab64890Smrg 152921ab64890Smrg Update package version number for X11R7 RC3 release. 152931ab64890Smrg 152941ab64890Smrgcommit 9e96dbc343c7f27ff47607acd75378ab23903e2a 152951ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 152961ab64890SmrgDate: Sat Dec 3 04:41:47 2005 +0000 152971ab64890Smrg 152981ab64890Smrg Add check and cflags for malloc(0) returning NULL. 152991ab64890Smrg 153001ab64890Smrgcommit 649c37b47909620ccafde3e983de8321cddd74ce 153011ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 153021ab64890SmrgDate: Mon Nov 28 22:03:04 2005 +0000 153031ab64890Smrg 153041ab64890Smrg 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) 153051ab64890Smrg 153061ab64890Smrgcommit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a 153071ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 153081ab64890SmrgDate: Wed Nov 23 22:33:06 2005 +0000 153091ab64890Smrg 153101ab64890Smrg 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 153111ab64890Smrg 153121ab64890Smrgcommit 93cf3747f9ae8d30bd485b41c5ff10397f68f078 153131ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 153141ab64890SmrgDate: Sun Nov 20 23:17:39 2005 +0000 153151ab64890Smrg 153161ab64890Smrg Add/improve libs .cvsignores. 153171ab64890Smrg 153181ab64890Smrgcommit fa1f4a08112bfa14d3758f4702733dd3892966c3 153191ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 153201ab64890SmrgDate: Sat Nov 19 07:15:39 2005 +0000 153211ab64890Smrg 153221ab64890Smrg Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots. 153231ab64890Smrg 153241ab64890Smrgcommit 7012f9b56c594cf40855ba0dbf93af1263417a8c 153251ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 153261ab64890SmrgDate: Mon Nov 14 21:51:07 2005 +0000 153271ab64890Smrg 153281ab64890Smrg Fix xf86bigfont pkgconfig dep typo. 153291ab64890Smrg 153301ab64890Smrgcommit 60a72f47951f46b4e0505d9903a94af3b6bed8ca 153311ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 153321ab64890SmrgDate: Wed Nov 9 21:19:12 2005 +0000 153331ab64890Smrg 153341ab64890Smrg Update package version number for X11R7 RC2 release. 153351ab64890Smrg 153361ab64890Smrgcommit 6bb0c3796b6e1beddc376a896e865704886e1462 153371ab64890SmrgAuthor: Kean Johnson <kean@armory.com> 153381ab64890SmrgDate: Tue Nov 8 06:33:25 2005 +0000 153391ab64890Smrg 153401ab64890Smrg See ChangeLog entry 2005-11-07 for details. 153411ab64890Smrg 153421ab64890Smrgcommit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780 153431ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 153441ab64890SmrgDate: Tue Nov 1 15:11:50 2005 +0000 153451ab64890Smrg 153461ab64890Smrg Update pkgcheck dependencies to work with separate build roots. 153471ab64890Smrg 153481ab64890Smrgcommit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1 153491ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 153501ab64890SmrgDate: Fri Oct 28 10:44:03 2005 +0000 153511ab64890Smrg 153521ab64890Smrg Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares. 153531ab64890Smrg 153541ab64890Smrgcommit be627a39fe373e2e81fdc263780e70a271d9e0c5 153551ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 153561ab64890SmrgDate: Fri Oct 28 08:28:08 2005 +0000 153571ab64890Smrg 153581ab64890Smrg Add dependency on inputproto for XI.h. 153591ab64890Smrg 153601ab64890Smrgcommit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082 153611ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 153621ab64890SmrgDate: Fri Oct 21 18:44:24 2005 +0000 153631ab64890Smrg 153641ab64890Smrg Bug #4736: Error decoding for Damage extension. (Jonathan Lennox) 153651ab64890Smrg 153661ab64890Smrgcommit 1171fa9dc77413f0e90933a565ec07068052afb4 153671ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 153681ab64890SmrgDate: Wed Oct 19 02:48:08 2005 +0000 153691ab64890Smrg 153701ab64890Smrg Update package version number for RC1 release. 153711ab64890Smrg 153721ab64890Smrgcommit 2a2d905706308b9d5a1c16af1067fb390f43850c 153731ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 153741ab64890SmrgDate: Tue Oct 18 00:00:08 2005 +0000 153751ab64890Smrg 153761ab64890Smrg Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make 153771ab64890Smrg 153781ab64890Smrgcommit 66d35b6971fb26762392a2a8e2c47db46c11116a 153791ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 153801ab64890SmrgDate: Mon Oct 17 21:13:15 2005 +0000 153811ab64890Smrg 153821ab64890Smrg Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb) 153831ab64890Smrg 153841ab64890Smrgcommit a316995a17c084e98ef1b7f25d287c2c08b6d749 153851ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org> 153861ab64890SmrgDate: Sun Oct 16 03:03:35 2005 +0000 153871ab64890Smrg 153881ab64890Smrg Change '==' to portable '='. 153891ab64890Smrg 153901ab64890Smrgcommit b76a072530e884bcbea6ed8fed5aef39361dcfc0 153911ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 153921ab64890SmrgDate: Wed Oct 12 00:04:50 2005 +0000 153931ab64890Smrg 153941ab64890Smrg configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions. 153951ab64890Smrg 153961ab64890Smrgcommit 8ee5c1429af98206e05a0536f87c0f21a529cdf0 153971ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 153981ab64890SmrgDate: Tue Oct 11 02:18:36 2005 +0000 153991ab64890Smrg 154001ab64890Smrg Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others. 154011ab64890Smrg 154021ab64890Smrgcommit 41ff3b9d1f194a7b56437b650d5f589225c078c6 154031ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 154041ab64890SmrgDate: Sun Oct 9 22:28:39 2005 +0000 154051ab64890Smrg 154061ab64890Smrg Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox) 154071ab64890Smrg 154081ab64890Smrgcommit 91ed79852e790049ab54e68f288afb3c953194c9 154091ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 154101ab64890SmrgDate: Fri Oct 7 15:00:00 2005 +0000 154111ab64890Smrg 154121ab64890Smrg Clean up generated files 154131ab64890Smrg Add missing dist tarball files 154141ab64890Smrg 154151ab64890Smrgcommit 440399b470c97b159a530602fff11c315aca8d97 154161ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 154171ab64890SmrgDate: Wed Oct 5 18:27:10 2005 +0000 154181ab64890Smrg 154191ab64890Smrg Add el_GR.UTF-8 compose file 154201ab64890Smrg 154211ab64890Smrgcommit 010f0647e25ac617d0f92c8d2b8dda684da545db 154221ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 154231ab64890SmrgDate: Fri Sep 30 07:52:46 2005 +0000 154241ab64890Smrg 154251ab64890Smrg Bug #2609: Add Kyrgyz locale (Ilyas Bakirov). 154261ab64890Smrg 154271ab64890Smrgcommit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed 154281ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 154291ab64890SmrgDate: Fri Sep 30 07:47:55 2005 +0000 154301ab64890Smrg 154311ab64890Smrg Bug #1640: Kinyarwanda locale support. (Steve Murphy) 154321ab64890Smrg 154331ab64890Smrgcommit 4ae0decabe0960870df0ec165f495166c10a053c 154341ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 154351ab64890SmrgDate: Fri Sep 30 07:40:03 2005 +0000 154361ab64890Smrg 154371ab64890Smrg Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy. 154381ab64890Smrg 154391ab64890Smrgcommit 3f79eb4c99844f618f1889741d1631c2ffe5385f 154401ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 154411ab64890SmrgDate: Fri Sep 30 07:11:19 2005 +0000 154421ab64890Smrg 154431ab64890Smrg 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. 154441ab64890Smrg 154451ab64890Smrgcommit d1237d1483ff972c76a0ac344ec97d5280db0007 154461ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 154471ab64890SmrgDate: Thu Sep 29 21:27:12 2005 +0000 154481ab64890Smrg 154491ab64890Smrg Add Xcms.txt to lib/X11 154501ab64890Smrg 154511ab64890Smrgcommit 4a86f299693f7376cbe98175f0b0c44d691802b3 154521ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 154531ab64890SmrgDate: Sat Sep 24 20:11:06 2005 +0000 154541ab64890Smrg 154551ab64890Smrg Add XQueryExtension.man 154561ab64890Smrg 154571ab64890Smrgcommit a057a66e2041d45198a13a4ece7c07068f76f21b 154581ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 154591ab64890SmrgDate: Sat Sep 24 00:16:32 2005 +0000 154601ab64890Smrg 154611ab64890Smrg Add XTHREAD_CFLAGS for platforms that need special defines like 154621ab64890Smrg -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests. 154631ab64890Smrg 154641ab64890Smrgcommit 3e920a65a7c376ad63eae2240fd06904d25d18bf 154651ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 154661ab64890SmrgDate: Fri Sep 2 23:00:30 2005 +0000 154671ab64890Smrg 154681ab64890Smrg 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 154691ab64890Smrg 154701ab64890Smrgcommit 3eb9f2d693af89d04e2fd92492c8205dce332c9c 154711ab64890SmrgAuthor: Kristian Høgsberg <krh@redhat.com> 154721ab64890SmrgDate: Thu Sep 1 19:24:13 2005 +0000 154731ab64890Smrg 154741ab64890Smrg Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time. 154751ab64890Smrg 154761ab64890Smrgcommit 7afa64325183b78d2d6a4862821f8b3e9866105c 154771ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 154781ab64890SmrgDate: Sun Aug 28 19:45:48 2005 +0000 154791ab64890Smrg 154801ab64890Smrg OpenBSD needs -lpthread for threaded applications too. 154811ab64890Smrg 154821ab64890Smrgcommit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a 154831ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 154841ab64890SmrgDate: Fri Aug 26 05:16:46 2005 +0000 154851ab64890Smrg 154861ab64890Smrg Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf) 154871ab64890Smrg 154881ab64890Smrgcommit 07066da0902df91c71f2adb81d1a17ec29165553 154891ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 154901ab64890SmrgDate: Sun Aug 21 15:45:04 2005 +0000 154911ab64890Smrg 154921ab64890Smrg update 154931ab64890Smrg 154941ab64890Smrgcommit de44d8b111f57bd2f015e085fd8298c5f2a15ef3 154951ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 154961ab64890SmrgDate: Sun Aug 21 15:38:39 2005 +0000 154971ab64890Smrg 154981ab64890Smrg Threads support for BSD systems: 154991ab64890Smrg - need to check for gewtpwuid_r to define mtsafeapi 155001ab64890Smrg - build UIThrstubs if needed. 155011ab64890Smrg 155021ab64890Smrgcommit 60217fdb918bafb2082519efe5cba3b13ad3082a 155031ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 155041ab64890SmrgDate: Wed Aug 17 19:46:08 2005 +0000 155051ab64890Smrg 155061ab64890Smrg Add xthreadlib variable to x11.pc. Bump to 0.99.1. 155071ab64890Smrg 155081ab64890Smrgcommit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad 155091ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155101ab64890SmrgDate: Wed Aug 17 01:27:08 2005 +0000 155111ab64890Smrg 155121ab64890Smrg Fix more broken multi-line .ds macros. Remove extraneous ;'s . 155131ab64890Smrg 155141ab64890Smrgcommit 1909786f4a7d686369edcfc05a938df115fab37c 155151ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155161ab64890SmrgDate: Tue Aug 16 19:23:15 2005 +0000 155171ab64890Smrg 155181ab64890Smrg 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) 155191ab64890Smrg 155201ab64890Smrgcommit 83406d69c62070d2eeef23eb47f1ca887f711ee5 155211ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155221ab64890SmrgDate: Mon Aug 15 19:53:37 2005 +0000 155231ab64890Smrg 155241ab64890Smrg 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 155251ab64890Smrg 155261ab64890Smrgcommit 5bb43de17de8e71d967488a713bf2b3448533444 155271ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155281ab64890SmrgDate: Sat Aug 6 18:59:49 2005 +0000 155291ab64890Smrg 155301ab64890Smrg Typo fix in output message 155311ab64890Smrg 155321ab64890Smrgcommit afe34b95862bb3c06cdbe724cb5ec3001a4a5215 155331ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155341ab64890SmrgDate: Thu Aug 4 02:55:49 2005 +0000 155351ab64890Smrg 155361ab64890Smrg //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) 155371ab64890Smrg 155381ab64890Smrgcommit 3979a0b88edf6475ce5cfaa386e18ef980bda13c 155391ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155401ab64890SmrgDate: Thu Aug 4 02:51:30 2005 +0000 155411ab64890Smrg 155421ab64890Smrg //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) 155431ab64890Smrg 155441ab64890Smrgcommit 34b454df192f4563499c453ccdb8c079f4a20cbe 155451ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155461ab64890SmrgDate: Sat Jul 30 20:30:46 2005 +0000 155471ab64890Smrg 155481ab64890Smrg Include config.h so Xtrans knows which transport types to build code for 155491ab64890Smrg 155501ab64890Smrgcommit cd9c9936b49c125eda779b99887d7e6ae4cf56cd 155511ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 155521ab64890SmrgDate: Sat Jul 30 19:15:16 2005 +0000 155531ab64890Smrg 155541ab64890Smrg Add -D flags to clear various warnings (Stefan Dirsch) 155551ab64890Smrg 155561ab64890Smrgcommit e7fef67b4531faddd805d8f2157903006d3117ed 155571ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 155581ab64890SmrgDate: Fri Jul 29 21:22:50 2005 +0000 155591ab64890Smrg 155601ab64890Smrg Various changes preparing packages for RC0: 155611ab64890Smrg - Verify and update package version numbers as needed 155621ab64890Smrg - Implement versioning scheme 155631ab64890Smrg - Change bug address to point to bugzilla bug entry form 155641ab64890Smrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it) 155651ab64890Smrg - Fix makedepend to use pkgconfig and pass distcheck 155661ab64890Smrg - Update build script to build macros first 155671ab64890Smrg - Update modular Xorg version 155681ab64890Smrg 155691ab64890Smrgcommit 2ebb00244928237088e68325b1032b3550455ce9 155701ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 155711ab64890SmrgDate: Sat Jul 23 20:19:31 2005 +0000 155721ab64890Smrg 155731ab64890Smrg remove orphan TAB at begin of line 155741ab64890Smrg 155751ab64890Smrgcommit dd7a9cdecda73e024ca84c5b9a22b18688038d94 155761ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 155771ab64890SmrgDate: Sat Jul 23 18:09:39 2005 +0000 155781ab64890Smrg 155791ab64890Smrg Modify modular libs to use Xregion.h instead of region.h 155801ab64890Smrg 155811ab64890Smrgcommit 6d635a88d91647b1b63611c3591f74916f88cd1c 155821ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 155831ab64890SmrgDate: Sat Jul 23 18:06:16 2005 +0000 155841ab64890Smrg 155851ab64890Smrg lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>. 155861ab64890Smrg 155871ab64890Smrgcommit 36283f50fd9748733ae84cb7fb52ca8d9e661c15 155881ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 155891ab64890SmrgDate: Sat Jul 16 06:25:35 2005 +0000 155901ab64890Smrg 155911ab64890Smrg Set soversion to 6.2.0. 155921ab64890Smrg 155931ab64890Smrgcommit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f 155941ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 155951ab64890SmrgDate: Fri Jul 15 04:27:32 2005 +0000 155961ab64890Smrg 155971ab64890Smrg Add missing Makefile.am to lib/X11/modules 155981ab64890Smrg 155991ab64890Smrgcommit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3 156001ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 156011ab64890SmrgDate: Fri Jul 15 04:08:51 2005 +0000 156021ab64890Smrg 156031ab64890Smrg Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable). 156041ab64890Smrg Link i18n modules against xlib to resolve Xlib symbols used by them. 156051ab64890Smrg 156061ab64890Smrgcommit 45f40126a73295345bb5eb187b1167874842ab6e 156071ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 156081ab64890SmrgDate: Thu Jul 14 19:50:00 2005 +0000 156091ab64890Smrg 156101ab64890Smrg Add $(top_srcdir)/src to include list 156111ab64890Smrg 156121ab64890Smrgcommit 0aed7d91f5928d09d541617aad03709b5090658d 156131ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 156141ab64890SmrgDate: Thu Jul 14 17:04:49 2005 +0000 156151ab64890Smrg 156161ab64890Smrg Build fix for non-GNU make. 156171ab64890Smrg 156181ab64890Smrgcommit b79422ccb02ab44548d1038956ab0cd4e2638645 156191ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 156201ab64890SmrgDate: Thu Jul 14 15:12:44 2005 +0000 156211ab64890Smrg 156221ab64890Smrg typo fixes (Matthieu Herrb) 156231ab64890Smrg 156241ab64890Smrgcommit 419304cde2fda19457c667870edefc0b227651b3 156251ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 156261ab64890SmrgDate: Wed Jul 13 02:41:36 2005 +0000 156271ab64890Smrg 156281ab64890Smrg Add missing backslashes to xlocale_la_SOURCES 156291ab64890Smrg 156301ab64890Smrgcommit d14cc5c8964c4539b57c6cb51ef653292e410b79 156311ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 156321ab64890SmrgDate: Mon Jul 11 20:32:55 2005 +0000 156331ab64890Smrg 156341ab64890Smrg Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this. 156351ab64890Smrg 156361ab64890Smrgcommit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb 156371ab64890SmrgAuthor: Lars Knoll <lars@trolltech.com> 156381ab64890SmrgDate: Mon Jul 11 15:24:32 2005 +0000 156391ab64890Smrg 156401ab64890Smrg compile 156411ab64890Smrg 156421ab64890Smrgcommit de9784eb1bde46efc316da279e3da27c6cc288a7 156431ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 156441ab64890SmrgDate: Mon Jul 11 09:26:40 2005 +0000 156451ab64890Smrg 156461ab64890Smrg Ignore built man page files 156471ab64890Smrg 156481ab64890Smrgcommit 0c258c36d1523113790c599b16d2947d7aa6469a 156491ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 156501ab64890SmrgDate: Mon Jul 11 09:18:31 2005 +0000 156511ab64890Smrg 156521ab64890Smrg Minor changes to help modular Xlib build i18n modules 156531ab64890Smrg 156541ab64890Smrgcommit 6e752ea1203b786423e40f43340bce15ca3de0f0 156551ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 156561ab64890SmrgDate: Mon Jul 11 08:29:18 2005 +0000 156571ab64890Smrg 156581ab64890Smrg Enable loadable i18n modules, making them configurable on the configure command line. 156591ab64890Smrg Clean up conditionals for XKB, XCMS, XLOCALEDIR 156601ab64890Smrg Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path. 156611ab64890Smrg Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data. 156621ab64890Smrg 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. 156631ab64890Smrg Display message at end of configure script with selected options. 156641ab64890Smrg 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. 156651ab64890Smrg 156661ab64890Smrgcommit b46cf0d879f1dbf92dcf5a0305d18986c766ed84 156671ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 156681ab64890SmrgDate: Sun Jul 10 22:37:33 2005 +0000 156691ab64890Smrg 156701ab64890Smrg Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan) 156711ab64890Smrg 156721ab64890Smrgcommit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7 156731ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 156741ab64890SmrgDate: Sat Jul 9 20:06:04 2005 +0000 156751ab64890Smrg 156761ab64890Smrg Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages 156771ab64890Smrg 156781ab64890Smrgcommit 3939ac4410446b46071c9d714f4270c12bf904fe 156791ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 156801ab64890SmrgDate: Sat Jul 9 18:44:14 2005 +0000 156811ab64890Smrg 156821ab64890Smrg - 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 156831ab64890Smrg - Don't assume $(CPP) can take gcc-only -traditional flag 156841ab64890Smrg - CPP process man pages as is done in the monolithic tree 156851ab64890Smrg 156861ab64890Smrgcommit 19ba9d0df86c688319377467254b9ea9c4b0eccc 156871ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 156881ab64890SmrgDate: Sat Jul 9 06:01:49 2005 +0000 156891ab64890Smrg 156901ab64890Smrg Clean up .cvsignore files 156911ab64890Smrg 156921ab64890Smrgcommit f4bba6fa9b9ce637be7662754750054567e9250a 156931ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 156941ab64890SmrgDate: Sat Jul 9 02:53:29 2005 +0000 156951ab64890Smrg 156961ab64890Smrg typo fix. i suck. 156971ab64890Smrg 156981ab64890Smrgcommit 3305da61a61695e24c1ea11d3f59dddb52873d47 156991ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 157001ab64890SmrgDate: Sat Jul 9 02:41:18 2005 +0000 157011ab64890Smrg 157021ab64890Smrg Check for bigfont proto headers via pkgconfig (Arwed von Merkatz) 157031ab64890Smrg 157041ab64890Smrgcommit afdae2e8ccb93de2987b5a5e850695af15ece7e0 157051ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 157061ab64890SmrgDate: Fri Jul 8 07:11:56 2005 +0000 157071ab64890Smrg 157081ab64890Smrg Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions 157091ab64890Smrg 157101ab64890Smrgcommit 86fa88dc594ca2093030acf5c84973ee2b33eb4c 157111ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 157121ab64890SmrgDate: Fri Jul 8 06:57:06 2005 +0000 157131ab64890Smrg 157141ab64890Smrg 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. 157151ab64890Smrg Add a bunch of .cvsignore files 157161ab64890Smrg 157171ab64890Smrgcommit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c 157181ab64890SmrgAuthor: Chris Less <clee@c133.org> 157191ab64890SmrgDate: Mon Jul 4 23:01:48 2005 +0000 157201ab64890Smrg 157211ab64890Smrg Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList. 157221ab64890Smrg 157231ab64890Smrgcommit 55328bb6caabd37885cd19d7a5821ed425daf321 157241ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 157251ab64890SmrgDate: Sun Jul 3 10:17:38 2005 +0000 157261ab64890Smrg 157271ab64890Smrg Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am. 157281ab64890Smrg 157291ab64890Smrgcommit 726538ba21b631bfb0b8094a5546acdaf57379ff 157301ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157311ab64890SmrgDate: Sun Jul 3 07:37:33 2005 +0000 157321ab64890Smrg 157331ab64890Smrg Fix more include paths; add dix-config.h to XKB code. 157341ab64890Smrg 157351ab64890Smrgcommit 8c7677138e70e14eca0255f2168583f0ecc21994 157361ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157371ab64890SmrgDate: Sun Jul 3 07:00:55 2005 +0000 157381ab64890Smrg 157391ab64890Smrg Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings. 157401ab64890Smrg Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. 157411ab64890Smrg 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>. 157421ab64890Smrg 157431ab64890Smrgcommit 197697c92a63091a4cc3cc04dcb7fa29d2655758 157441ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157451ab64890SmrgDate: Fri Jul 1 22:13:35 2005 +0000 157461ab64890Smrg 157471ab64890Smrg Fix objdir != srcdir, as well as make distcheck. 157481ab64890Smrg Don't attempt to create Compose.pre files; formatting fixes. 157491ab64890Smrg Added if not already present. 157501ab64890Smrg 157511ab64890Smrgcommit c162d60ad8f124563f94a2a266de59373936266c 157521ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 157531ab64890SmrgDate: Wed Jun 22 22:46:31 2005 +0000 157541ab64890Smrg 157551ab64890Smrg Apply these patches from Theo van Klaveren: 157561ab64890Smrg lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch 157571ab64890Smrg to make the libraries distcheck. 157581ab64890Smrg 157591ab64890Smrgcommit 9ee8abdab03ea605a6327118ab7dacab6adf8876 157601ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 157611ab64890SmrgDate: Sat Jun 18 07:48:43 2005 +0000 157621ab64890Smrg 157631ab64890Smrg Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them 157641ab64890Smrg 157651ab64890Smrgcommit 12afc57b7d455781eee305e9ed6a899ceec8729e 157661ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157671ab64890SmrgDate: Wed Jun 15 16:50:47 2005 +0000 157681ab64890Smrg 157691ab64890Smrg Typo fix to locale/error/keysym location declarations. 157701ab64890Smrg 157711ab64890Smrgcommit 9a895777e30762f61b98d25be3b5d8b1169baa17 157721ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157731ab64890SmrgDate: Wed Jun 15 13:37:43 2005 +0000 157741ab64890Smrg 157751ab64890Smrg Typo in ImUtil.h commit -- I AM CAPTAIN SKILL. 157761ab64890Smrg 157771ab64890Smrgcommit add49285663684875ab7a5c58ec7a2cf8b775f67 157781ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157791ab64890SmrgDate: Wed Jun 15 13:32:35 2005 +0000 157801ab64890Smrg 157811ab64890Smrg Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end. 157821ab64890Smrg Move ImUtil.h from src/ to include/X11/. 157831ab64890Smrg 157841ab64890Smrgcommit 845dfc6b42b950890866ee4df27761e086f50dca 157851ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157861ab64890SmrgDate: Wed Jun 15 13:27:48 2005 +0000 157871ab64890Smrg 157881ab64890Smrg Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 157891ab64890Smrg 157901ab64890Smrgcommit bba117f0d98f62cfb060d0fab97b407a3a0bfda9 157911ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 157921ab64890SmrgDate: Fri Jun 10 14:11:36 2005 +0000 157931ab64890Smrg 157941ab64890Smrg Remove pointless include of Xlib.h. 157951ab64890Smrg Fix #include path to bigreqstr.h. 157961ab64890Smrg 157971ab64890Smrgcommit 1a0de49da1274882bab05b0f7240936b37955e5c 157981ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 157991ab64890SmrgDate: Thu Jun 9 21:30:15 2005 +0000 158001ab64890Smrg 158011ab64890Smrg Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 158021ab64890Smrg 158031ab64890Smrgcommit af4f0f302644ebfbb0ca9f4016a4aee85c973d37 158041ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 158051ab64890SmrgDate: Thu Jun 9 15:55:33 2005 +0000 158061ab64890Smrg 158071ab64890Smrg Replace <X11/transport.c> with <X11/Xtrans/transport.c> 158081ab64890Smrg 158091ab64890Smrgcommit fd5f58e0baf692e34b9b622286f18762cc2500d3 158101ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 158111ab64890SmrgDate: Thu Jun 9 15:52:02 2005 +0000 158121ab64890Smrg 158131ab64890Smrg Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h> 158141ab64890Smrg Copy Xtrans.h to exports/include/X11/Xtrans only 158151ab64890Smrg 158161ab64890Smrgcommit 44538f9940f969d46c0e5e4b201c684cde2ba611 158171ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 158181ab64890SmrgDate: Sun Jun 5 03:29:33 2005 +0000 158191ab64890Smrg 158201ab64890Smrg Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 158211ab64890Smrg 158221ab64890Smrgcommit 588e30e9ec65fa6205a34be650b79d5e2243edec 158231ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 158241ab64890SmrgDate: Sat Jun 4 22:53:21 2005 +0000 158251ab64890Smrg 158261ab64890Smrg Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 158271ab64890Smrg 158281ab64890Smrgcommit a547afee2ef49cc41bbb67f9cff5a52a283c0854 158291ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 158301ab64890SmrgDate: Sat Jun 4 21:20:20 2005 +0000 158311ab64890Smrg 158321ab64890Smrg 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) 158331ab64890Smrg 158341ab64890Smrgcommit ca93c761559ae464189c7ea7cf11c6a6679f2431 158351ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 158361ab64890SmrgDate: Sat May 28 01:02:32 2005 +0000 158371ab64890Smrg 158381ab64890Smrg Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 158391ab64890Smrg 158401ab64890Smrgcommit 09ebb349359e3dd9131fa2fa8b07559faa173654 158411ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 158421ab64890SmrgDate: Sun May 22 19:05:11 2005 +0000 158431ab64890Smrg 158441ab64890Smrg Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 158451ab64890Smrg 158461ab64890Smrgcommit 761219b1ef9befc350c8a35b6f96d047e5f008cc 158471ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 158481ab64890SmrgDate: Sat May 21 23:07:48 2005 +0000 158491ab64890Smrg 158501ab64890Smrg xtrans: 158511ab64890Smrg 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 158521ab64890Smrg ICE: 158531ab64890Smrg Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro. 158541ab64890Smrg X11: 158551ab64890Smrg 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. 158561ab64890Smrg 158571ab64890Smrgcommit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a 158581ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 158591ab64890SmrgDate: Sat May 21 04:26:12 2005 +0000 158601ab64890Smrg 158611ab64890Smrg 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) 158621ab64890Smrg 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). 158631ab64890Smrg 158641ab64890Smrgcommit 1d425d5e2092dd18a7dd599b37ed9af61cf59819 158651ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 158661ab64890SmrgDate: Thu May 19 00:22:32 2005 +0000 158671ab64890Smrg 158681ab64890Smrg revert last change, didn't do right thing at all, sorry for the noise 158691ab64890Smrg 158701ab64890Smrgcommit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2 158711ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 158721ab64890SmrgDate: Thu May 19 00:10:07 2005 +0000 158731ab64890Smrg 158741ab64890Smrg Require automake 1.7 in AM_INIT_AUTOMAKE 158751ab64890Smrg 158761ab64890Smrgcommit cd4657c175dbab6aaca36f18a0ca92c95b5567dd 158771ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 158781ab64890SmrgDate: Tue May 17 22:32:09 2005 +0000 158791ab64890Smrg 158801ab64890Smrg - Check for xproto as its CFLAGS are needed in the .pc file 158811ab64890Smrg 158821ab64890Smrgcommit 46e8d8a65430dd87c10b066b5cff99a689c22241 158831ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 158841ab64890SmrgDate: Tue May 17 08:10:10 2005 +0000 158851ab64890Smrg 158861ab64890Smrg 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). 158871ab64890Smrg 158881ab64890Smrgcommit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1 158891ab64890SmrgAuthor: <ssp@aware-of-vacuity.boston.redhat.com> 158901ab64890SmrgDate: Mon May 16 22:35:27 2005 +0000 158911ab64890Smrg 158921ab64890Smrg Make Xdmcp unconditionally required, require various protocol modules. 158931ab64890Smrg Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 158941ab64890Smrg Check for kbproto if using XKB. 158951ab64890Smrg Require xextproto rather than xextensions 158961ab64890Smrg Remove the entries from the xlibs tree, as they are not relevant here. 158971ab64890Smrg 158981ab64890Smrgcommit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e 158991ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 159001ab64890SmrgDate: Mon May 16 21:48:36 2005 +0000 159011ab64890Smrg 159021ab64890Smrg Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com> 159031ab64890Smrg Check for kbproto if using XKB. 159041ab64890Smrg 159051ab64890Smrgcommit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa 159061ab64890SmrgAuthor: <ssp@aware-of-vacuity.boston.redhat.com> 159071ab64890SmrgDate: Mon May 16 21:27:35 2005 +0000 159081ab64890Smrg 159091ab64890Smrg Require xextproto rather than xextensions 159101ab64890Smrg Remove the entries from the xlibs tree, as they are not relevant here. 159111ab64890Smrg 159121ab64890Smrgcommit 7eee605e3aeed549d1053325a03027c5e8cbf71b 159131ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 159141ab64890SmrgDate: Fri May 13 22:53:36 2005 +0000 159151ab64890Smrg 159161ab64890Smrg - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...> 159171ab64890Smrg - For Xcomposite and Xdamage, don't link the build system out of the xc tree 159181ab64890Smrg - Link the public X11 headers into their own directory 159191ab64890Smrg - Add links to XKeysymDB and XErrorDB 159201ab64890Smrg - Add links to all the Xlib man pages 159211ab64890Smrg - Add links to the lcUniConv subdirectory 159221ab64890Smrg - Conditionally include config.h in Xlib source 159231ab64890Smrg 159241ab64890Smrgcommit 6769ccda88caf27d1441d335ef2b318a047a612b 159251ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 159261ab64890SmrgDate: Mon Mar 21 04:58:21 2005 +0000 159271ab64890Smrg 159281ab64890Smrg xc/lib/X11/ErrDes.c 159291ab64890Smrg //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> 159301ab64890Smrg 159311ab64890Smrgcommit 3b9e8ece93b916c55a82df53e85f097418edf471 159321ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 159331ab64890SmrgDate: Sat Mar 19 22:04:55 2005 +0000 159341ab64890Smrg 159351ab64890Smrg xc/nls/Compose/iso8859-2 159361ab64890Smrg xc/nls/Compose/iso8859-3 159371ab64890Smrg xc/nls/Compose/iso8859-9 159381ab64890Smrg //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>. 159391ab64890Smrg 159401ab64890Smrgcommit 0ce5950a08b9ab23ca8a32effdd40c421e92df84 159411ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 159421ab64890SmrgDate: Tue Mar 8 02:53:36 2005 +0000 159431ab64890Smrg 159441ab64890Smrg 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>. 159451ab64890Smrg 159461ab64890Smrgcommit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1 159471ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 159481ab64890SmrgDate: Tue Feb 1 03:12:28 2005 +0000 159491ab64890Smrg 159501ab64890Smrg xc/nls/Compose/pt_BR.UTF-8 159511ab64890Smrg //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>. 159521ab64890Smrg 159531ab64890Smrgcommit 483d3973f56dda51f9251d3ea808aaf7f3b48c10 159541ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 159551ab64890SmrgDate: Fri Jan 28 18:31:31 2005 +0000 159561ab64890Smrg 159571ab64890Smrg cleaned up boundary-case handling for Uxxxx Unicode keysym notation 159581ab64890Smrg 159591ab64890Smrgcommit f234188a4c1e6b655aef0e3957ccad20d4c5847f 159601ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 159611ab64890SmrgDate: Wed Jan 19 01:53:55 2005 +0000 159621ab64890Smrg 159631ab64890Smrg xc/nls/compose.dir 159641ab64890Smrg xc/nls/locale.dir 159651ab64890Smrg xc/nls/Compose/Imakefile 159661ab64890Smrg xc/nls/Compose/pt_BR.UTF-8 159671ab64890Smrg xc/nls/XI18N_OBJS/Imakefile 159681ab64890Smrg xc/nls/XI18N_OBJS/pt_BR.UTF-8 159691ab64890Smrg xc/nls/XLC_LOCALE/Imakefile 159701ab64890Smrg xc/nls/XLC_LOCALE/pt_BR.UTF-8 159711ab64890Smrg //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. 159721ab64890Smrg 159731ab64890Smrgcommit 7448ea7ef425d35cfc31eb41d46f4d879774f376 159741ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 159751ab64890SmrgDate: Fri Jan 14 18:03:09 2005 +0000 159761ab64890Smrg 159771ab64890Smrg Made some security enhancements: 159781ab64890Smrg - no writing past end of buffer caused by bogus locale. 159791ab64890Smrg - explicitely add a \0 character at end of string. (Bugzilla #2262) 159801ab64890Smrg 159811ab64890Smrgcommit 5557d47fcf22a6f3adf327691158f2270e3d5094 159821ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 159831ab64890SmrgDate: Fri Jan 14 04:59:05 2005 +0000 159841ab64890Smrg 159851ab64890Smrg xc/nls/compose.dir 159861ab64890Smrg xc/nls/locale.alias 159871ab64890Smrg xc/nls/locale.dir 159881ab64890Smrg //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>. 159891ab64890Smrg 159901ab64890Smrgcommit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824 159911ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 159921ab64890SmrgDate: Tue Jan 11 17:37:57 2005 +0000 159931ab64890Smrg 159941ab64890Smrg '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. 159951ab64890Smrg 159961ab64890Smrgcommit 642cd269f94a234aa470a1d43385bd42625d89a1 159971ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 159981ab64890SmrgDate: Tue Dec 14 08:59:20 2004 +0000 159991ab64890Smrg 160001ab64890Smrg Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out. 160011ab64890Smrg Fixed typo. 160021ab64890Smrg Added comment to a changed that's been committed with one of the previous commits. 160031ab64890Smrg 160041ab64890Smrgcommit a07ccae36e629741d2e48de7730114d30a975a41 160051ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 160061ab64890SmrgDate: Sun Dec 12 08:42:50 2004 +0000 160071ab64890Smrg 160081ab64890Smrg Fix missing XChangeProperty() prototype missing in synopsis section. 160091ab64890Smrg 160101ab64890Smrgcommit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c 160111ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 160121ab64890SmrgDate: Wed Dec 8 13:42:01 2004 +0000 160131ab64890Smrg 160141ab64890Smrg Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 160151ab64890Smrg 160161ab64890Smrgcommit d5e7ab194103e22fd6c5094aaa107d90210bb600 160171ab64890SmrgAuthor: Jim Gettys <jg@freedesktop.org> 160181ab64890SmrgDate: Thu Dec 2 16:18:16 2004 +0000 160191ab64890Smrg 160201ab64890Smrg fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 160211ab64890Smrg 160221ab64890Smrgcommit 03940d7330cb1bbf93d49c650aefb19de457da7c 160231ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 160241ab64890SmrgDate: Wed Dec 1 13:06:55 2004 +0000 160251ab64890Smrg 160261ab64890Smrg Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 160271ab64890Smrg 160281ab64890Smrgcommit 11a03ab908bfcfab8a3492684e8e9320e492d552 160291ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 160301ab64890SmrgDate: Wed Dec 1 12:42:17 2004 +0000 160311ab64890Smrg 160321ab64890Smrg Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 160331ab64890Smrg 160341ab64890Smrgcommit f3d83ee153f42e8899b844377e6b842d93411e62 160351ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 160361ab64890SmrgDate: Mon Nov 15 15:06:54 2004 +0000 160371ab64890Smrg 160381ab64890Smrg Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 160391ab64890Smrg 160401ab64890Smrgcommit b798ea11911ac58a8e6e7d15a2a643b023859749 160411ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org> 160421ab64890SmrgDate: Mon Nov 15 13:29:56 2004 +0000 160431ab64890Smrg 160441ab64890Smrg Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 160451ab64890Smrg 160461ab64890Smrgcommit 436108cd6c84053698e5ca629096f59b34f50c2a 160471ab64890SmrgAuthor: Kristian Høgsberg <krh@redhat.com> 160481ab64890SmrgDate: Thu Nov 11 15:37:01 2004 +0000 160491ab64890Smrg 160501ab64890Smrg Fix #1818 160511ab64890Smrg 160521ab64890Smrgcommit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c 160531ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 160541ab64890SmrgDate: Tue Nov 9 00:56:56 2004 +0000 160551ab64890Smrg 160561ab64890Smrg xc/nls/compose.dir 160571ab64890Smrg xc/nls/locale.alias 160581ab64890Smrg xc/nls/locale.dir 160591ab64890Smrg //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>. 160601ab64890Smrg 160611ab64890Smrgcommit 443890ceefbd6dafe68e30d103ec4f9d316ed655 160621ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 160631ab64890SmrgDate: Fri Nov 5 00:58:49 2004 +0000 160641ab64890Smrg 160651ab64890Smrg xc/nls/compose.dir 160661ab64890Smrg xc/nls/locale.alias 160671ab64890Smrg xc/nls/locale.dir 160681ab64890Smrg 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>. 160691ab64890Smrg 160701ab64890Smrgcommit af7467ec734321f127b957921cce7792902b6794 160711ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org> 160721ab64890SmrgDate: Mon Oct 18 17:29:03 2004 +0000 160731ab64890Smrg 160741ab64890Smrg Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 160751ab64890Smrg 160761ab64890Smrgcommit 1b900b59cb24fe8be3db0d434b04d462c0eeb206 160771ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-xorg> 160781ab64890SmrgDate: Mon Oct 18 14:21:45 2004 +0000 160791ab64890Smrg 160801ab64890Smrg Made handling of DevelDrivers for x86-64 more conformant to other platforms. 160811ab64890Smrg Compress all font encodings (Stefan Dirsch). 160821ab64890Smrg Fixed warnings. 160831ab64890Smrg Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su). 160841ab64890Smrg Added another compose key combination for the Euro symbol (Stefan Dirsch). 160851ab64890Smrg Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian). 160861ab64890Smrg 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. 160871ab64890Smrg Added explanation for DESTDIR to install to a different directory than /. 160881ab64890Smrg Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11. 160891ab64890Smrg 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. 160901ab64890Smrg 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(). 160911ab64890Smrg Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink). 160921ab64890Smrg Create missing links for backward compatibility to XFree86 (Stefan Dirsch). 160931ab64890Smrg Changed comment to mention xorg. 160941ab64890Smrg 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). 160951ab64890Smrg Added 'pic' to the man page rendering command pipeline (Werner Fink). 160961ab64890Smrg Added missing return value (Stefan Dirsch, Roland Mainz) 160971ab64890Smrg 160981ab64890Smrgcommit 1ba103c3cad2329db3a31f88d7798b913affc570 160991ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 161001ab64890SmrgDate: Wed Oct 13 07:38:00 2004 +0000 161011ab64890Smrg 161021ab64890Smrg 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>) 161031ab64890Smrg 161041ab64890Smrgcommit d80237db627bf71ad5615ff4ba05e6ab436aa740 161051ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 161061ab64890SmrgDate: Fri Oct 8 22:57:56 2004 +0000 161071ab64890Smrg 161081ab64890Smrg Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com> 161091ab64890Smrg Move iso10646 last so the "fallback" fonts will actually be used if they are better matches. 161101ab64890Smrg 161111ab64890Smrgcommit d1f76d17ecf418396627b1a58319f2b9b255548a 161121ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 161131ab64890SmrgDate: Sun Sep 26 22:54:57 2004 +0000 161141ab64890Smrg 161151ab64890Smrg bug fix for previous patch 161161ab64890Smrg 161171ab64890Smrgcommit 48932d9b71d10e15812f47d5b842ab6aa8dac625 161181ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 161191ab64890SmrgDate: Sun Sep 26 20:46:17 2004 +0000 161201ab64890Smrg 161211ab64890Smrg The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 161221ab64890Smrg 161231ab64890Smrgcommit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543 161241ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org> 161251ab64890SmrgDate: Wed Sep 15 09:05:22 2004 +0000 161261ab64890Smrg 161271ab64890Smrg 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). 161281ab64890Smrg 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). 161291ab64890Smrg 161301ab64890Smrgcommit 2d3afb68a104a80a21ee622b9abb9c95e83505d3 161311ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org> 161321ab64890SmrgDate: Tue Aug 31 11:37:03 2004 +0000 161331ab64890Smrg 161341ab64890Smrg 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). 161351ab64890Smrg 161361ab64890Smrgcommit e689746c8d0e21e9011e8b91a3071d235d3a2a74 161371ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 161381ab64890SmrgDate: Thu Aug 19 06:48:06 2004 +0000 161391ab64890Smrg 161401ab64890Smrg Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 161411ab64890Smrg 161421ab64890Smrgcommit d558a53a6f57eecfcaadce5141fe3a08860defcb 161431ab64890SmrgAuthor: Keith Packard <keithp@keithp.com> 161441ab64890SmrgDate: Sat Aug 14 07:12:36 2004 +0000 161451ab64890Smrg 161461ab64890Smrg Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing. 161471ab64890Smrg Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly. 161481ab64890Smrg Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version. 161491ab64890Smrg Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default) 161501ab64890Smrg 161511ab64890Smrgcommit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55 161521ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org> 161531ab64890SmrgDate: Fri Aug 13 16:28:19 2004 +0000 161541ab64890Smrg 161551ab64890Smrg Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki) 161561ab64890Smrg Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe) 161571ab64890Smrg 161581ab64890Smrgcommit c4d56e4e288d4e48b84b021a61638f46e9a45e27 161591ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net> 161601ab64890SmrgDate: Wed Aug 11 05:25:13 2004 +0000 161611ab64890Smrg 161621ab64890Smrg Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik. 161631ab64890Smrg 161641ab64890Smrgcommit 92487437173f600f208d825f65756d3ad14a4f7e 161651ab64890SmrgAuthor: Kevin E Martin <kem@kem.org> 161661ab64890SmrgDate: Mon Aug 9 22:37:22 2004 +0000 161671ab64890Smrg 161681ab64890Smrg Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald). 161691ab64890Smrg Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes). 161701ab64890Smrg Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson). 161711ab64890Smrg HP-PA build fix (Bug #828, Guy Martin, Paul Anderson). 161721ab64890Smrg Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine). 161731ab64890Smrg Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris). 161741ab64890Smrg Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris). 161751ab64890Smrg Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris). 161761ab64890Smrg Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor). 161771ab64890Smrg Fix several render problems: 161781ab64890Smrg - MMIO mode support 161791ab64890Smrg - Hang on IGP chips 161801ab64890Smrg - VT switching hang 161811ab64890Smrg - 3D render corruption (Bug #922, Hui Yu). 161821ab64890Smrg 161831ab64890Smrgcommit 55c2ee568e7d3903258286a13bdf96ce5348ffda 161841ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 161851ab64890SmrgDate: Tue Jul 27 06:06:05 2004 +0000 161861ab64890Smrg 161871ab64890Smrg - remove remaining AMOEBA references. 161881ab64890Smrg - remove unused file. 161891ab64890Smrg 161901ab64890Smrgcommit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d 161911ab64890SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 161921ab64890SmrgDate: Tue Jul 20 17:48:09 2004 +0000 161931ab64890Smrg 161941ab64890Smrg Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk> 161951ab64890Smrg Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera). 161961ab64890Smrg Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk> 161971ab64890Smrg Use /dev/urandom on Linux.(#761). 161981ab64890Smrg 161991ab64890Smrgcommit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1 162001ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org> 162011ab64890SmrgDate: Fri May 28 23:26:44 2004 +0000 162021ab64890Smrg 162031ab64890Smrg Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this. 162041ab64890Smrg 162051ab64890Smrgcommit aa7010c43ae9f39fb84b5ff155f76117c9e527a0 162061ab64890SmrgAuthor: Egbert Eich <eich@pdx.freedesktop.org> 162071ab64890SmrgDate: Mon May 24 19:02:11 2004 +0000 162081ab64890Smrg 162091ab64890Smrg 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. 162101ab64890Smrg 162111ab64890Smrgcommit 720702da29769d80ad1254d92edbad5b30f8a8da 162121ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 162131ab64890SmrgDate: Sat May 22 03:47:42 2004 +0000 162141ab64890Smrg 162151ab64890Smrg Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure) 162161ab64890Smrg 162171ab64890Smrgcommit 3aed873292424b497d9a7dcee2975b95bf5ac966 162181ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 162191ab64890SmrgDate: Sat Apr 24 23:39:25 2004 +0000 162201ab64890Smrg 162211ab64890Smrg XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183). 162221ab64890Smrg Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH). 162231ab64890Smrg xc/config/cf/sunLib.tmpl 162241ab64890Smrg xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris 162251ab64890Smrg 162261ab64890Smrgcommit c6349f43193b74a3c09945f3093a871b0157ba47 162271ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org> 162281ab64890SmrgDate: Fri Apr 23 18:42:09 2004 +0000 162291ab64890Smrg 162301ab64890Smrg Merging XORG-CURRENT into trunk 162311ab64890Smrg 162321ab64890Smrgcommit c3c4ddc682950a01b80825021f3e2503ab01ea7f 162331ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 162341ab64890SmrgDate: Tue Nov 25 19:28:07 2003 +0000 162351ab64890Smrg 162361ab64890Smrg Initial revision 162371ab64890Smrg 162381ab64890Smrgcommit dc4268a7dadc8da0d561757a68461246728613d3 162391ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 162401ab64890SmrgDate: Fri Nov 14 16:48:47 2003 +0000 162411ab64890Smrg 162421ab64890Smrg Initial revision 162431ab64890Smrg 162441ab64890Smrgcommit deae12c6b683898f5213992d561a59d4ea889cca 162451ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 162461ab64890SmrgDate: Fri Nov 14 15:54:30 2003 +0000 162471ab64890Smrg 162481ab64890Smrg R6.6 is the Xorg base-line 16249