ChangeLog revision 5efbdfc3
15efbdfc3Smrgcommit b4f24b272c6ef888b6fcfcf80670c196b2e8f755
25efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
35efbdfc3SmrgDate:   Thu Nov 10 12:18:17 2022 -0800
45efbdfc3Smrg
55efbdfc3Smrg    libX11 1.8.2
65efbdfc3Smrg    
75efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
85efbdfc3Smrg
95efbdfc3Smrgcommit 77629ea5e79fa9b1596438bc36cfc7e0c631af43
105efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
115efbdfc3SmrgDate:   Thu Nov 3 13:00:50 2022 -0700
125efbdfc3Smrg
135efbdfc3Smrg    README.md: Add 1.8.2 changes
145efbdfc3Smrg    
155efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
165efbdfc3Smrg
175efbdfc3Smrgcommit d1baf2ec4869dea3732d6fe13ba4935cb6caad01
185efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
195efbdfc3SmrgDate:   Thu Nov 3 11:22:37 2022 -0700
205efbdfc3Smrg
215efbdfc3Smrg    Remove NEWS file which only covered 2006 & 2007 releases
225efbdfc3Smrg    
235efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
245efbdfc3Smrg
255efbdfc3Smrgcommit 1294bfa487bdecfd32621822922fec03203ee188
265efbdfc3SmrgAuthor: Po Lu <luangruo@yahoo.com>
275efbdfc3SmrgDate:   Mon Oct 3 08:44:59 2022 +0800
285efbdfc3Smrg
295efbdfc3Smrg    specs: document change in XIMPreeditCallbacks
305efbdfc3Smrg    
315efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
325efbdfc3Smrg
335efbdfc3Smrgcommit 1a7e54609ce4dc0f2d3b933502437a413cf3dea8
345efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
355efbdfc3SmrgDate:   Thu Nov 3 14:44:22 2022 -0700
365efbdfc3Smrg
375efbdfc3Smrg    man pages: document XCloseIM frees its argument
385efbdfc3Smrg    
395efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
405efbdfc3Smrg
415efbdfc3Smrgcommit a04b84f0f7bb3a78088756759f4b9b8bb363251e
425efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
435efbdfc3SmrgDate:   Thu Nov 3 20:31:31 2022 +0000
445efbdfc3Smrg
455efbdfc3Smrg    Copyright & license cleanup
465efbdfc3Smrg
475efbdfc3Smrgcommit 5e41119d9611504ff7e61c6aa4da1df708096801
485efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
495efbdfc3SmrgDate:   Mon Oct 31 12:42:51 2022 +0100
505efbdfc3Smrg
515efbdfc3Smrg    nls: reshuffle a few compose sequences, to have similar ones together
525efbdfc3Smrg    
535efbdfc3Smrg    It makes more sense to have similar sequences grouped together
545efbdfc3Smrg    than to rigidly follow the order of ascending Unicode codes.
555efbdfc3Smrg
565efbdfc3Smrgcommit 65d89342f59cfc2eac9bf8010076b937f22554e8
575efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
585efbdfc3SmrgDate:   Mon Oct 31 12:50:11 2022 +0100
595efbdfc3Smrg
605efbdfc3Smrg    nls: remove two compose sequences that use deprecated symbols
615efbdfc3Smrg    
625efbdfc3Smrg    The last few occurrences of `leftcaret` and `rightcaret` were replaced
635efbdfc3Smrg    with `less` and `greater` in xkeyboard-config half a year ago.
645efbdfc3Smrg
655efbdfc3Smrgcommit 6baccbae5324e7342cb5176cae82f463a6b34eae
665efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
675efbdfc3SmrgDate:   Mon Oct 31 12:40:12 2022 +0100
685efbdfc3Smrg
695efbdfc3Smrg    nls: let `<Multi_key> <minus> <underscore>` compose U+2212 (MINUS SIGN)
705efbdfc3Smrg    
715efbdfc3Smrg    There was not yet any way to compose the Unicode minus sign, U+2212.
725efbdfc3Smrg
735efbdfc3Smrgcommit 79775575418fd6f8ee1c5e5bbe403df4606fb5b6
745efbdfc3SmrgAuthor: Adam Jackson <ajax@redhat.com>
755efbdfc3SmrgDate:   Fri Aug 5 15:19:08 2022 -0400
765efbdfc3Smrg
775efbdfc3Smrg    Allow X*IfEvent() to reenter libX11
785efbdfc3Smrg    
795efbdfc3Smrg    The documentation for this family of functions very clearly says not to
805efbdfc3Smrg    call into xlib in your predicate function, but historically single
815efbdfc3Smrg    threaded apps could get away with it just fine, and now that we've
825efbdfc3Smrg    forced thread-safety on the world such apps will now deadlock instead.
835efbdfc3Smrg    That's not an acceptable regression even if the app is technically
845efbdfc3Smrg    broken. This has been reported with XFCE and FVWM, and Motif's
855efbdfc3Smrg    cut-and-paste code has the same bug by inspection, so this does need to
865efbdfc3Smrg    be addressed.
875efbdfc3Smrg    
885efbdfc3Smrg    This change nerfs LockDisplay/UnlockDisplay while inside the critical
895efbdfc3Smrg    bit of an IfEvent function. This is still safe in the sense that the
905efbdfc3Smrg    display remains locked and no other thread should be able to change it
915efbdfc3Smrg    from under us, but the loop that scans the event queue might not be
925efbdfc3Smrg    robust against it being modified as a side effect of protocol emitted by
935efbdfc3Smrg    the predicate callback. But that's not new, non-XInitThreads'd xlib
945efbdfc3Smrg    would have the same caveat.
955efbdfc3Smrg    
965efbdfc3Smrg    Closes: xorg/lib/libx11#157
975efbdfc3Smrg
985efbdfc3Smrgcommit 0d1d65bdd98966f52bcac4077f94827b20b229dd
995efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1005efbdfc3SmrgDate:   Fri Oct 21 12:18:25 2022 +0200
1015efbdfc3Smrg
1025efbdfc3Smrg    nls: change <Compose> <^> <-> to mean superscript minus instead of macron
1035efbdfc3Smrg    
1045efbdfc3Smrg    Several other `<Multi_key> <asciicircum> <symbol>` sequences
1055efbdfc3Smrg    produce the superscript equivalent of the given symbol.  So,
1065efbdfc3Smrg    let `<Multi_key> <asciicircum> <minus>` do the same.
1075efbdfc3Smrg    
1085efbdfc3Smrg    Also, add two other sequences for producing a plain macron,
1095efbdfc3Smrg    to compensate a bit the loss of the above sequence.
1105efbdfc3Smrg    
1115efbdfc3Smrg    Additionally, make `<Multi_key> <underscore> <minus>` produce
1125efbdfc3Smrg    a subscript minus, for consistency.
1135efbdfc3Smrg    
1145efbdfc3Smrg    This fixes issue #165.
1155efbdfc3Smrg    
1165efbdfc3Smrg    Requested-by: J. McWilliams
1175efbdfc3Smrg    
1185efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1195efbdfc3Smrg
1205efbdfc3Smrgcommit 310898270787c1a3a6ab50221324f8654dddce8e
1215efbdfc3SmrgAuthor: Jan Tojnar <jtojnar@gmail.com>
1225efbdfc3SmrgDate:   Thu Oct 20 07:10:58 2022 +0000
1235efbdfc3Smrg
1245efbdfc3Smrg    nls: Map sr locales to sr_RS compose files
1255efbdfc3Smrg    
1265efbdfc3Smrg    Serbian used sr_YU (Yugoslavia) code in the past.
1275efbdfc3Smrg    Then it was succeeded by sr_CS (Serbia and Montenegro).
1285efbdfc3Smrg    Finally, it was split into sr_RS (Serbia) and sr_ME (Montenegro).
1295efbdfc3Smrg    
1305efbdfc3Smrg    https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd
1315efbdfc3Smrg    introduced the modern sr_RS and sr_ME codes.
1325efbdfc3Smrg    
1335efbdfc3Smrg    Next, https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/40761898692e5063957bfa2518cca3d35b2e354a
1345efbdfc3Smrg    added the Serbian compose table but only for the legacy sr_CS entry.
1355efbdfc3Smrg    
1365efbdfc3Smrg    https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/5cd60398b7787297008b13a848ed3cfbd7ef178d
1375efbdfc3Smrg    removed the legacy sr_CS entry, the only one pointing to the correct compose file.
1385efbdfc3Smrg    It also renamed the file to sr_RS, but did not update the compose mapping.
1395efbdfc3Smrg    
1405efbdfc3Smrg    Let’s point all Serbian locales to the Compose file again.
1415efbdfc3Smrg
1425efbdfc3Smrgcommit a35d706cd8dc7b498bca2a3fc4a3732047439ed7
1435efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1445efbdfc3SmrgDate:   Fri Oct 14 13:40:37 2022 -0700
1455efbdfc3Smrg
1465efbdfc3Smrg    COPYING: remove notice for the removed UIThrStubs.c
1475efbdfc3Smrg    
1485efbdfc3Smrg    Fixes: 701e9e9a ("Use same pthread-stubs as libxcb")
1495efbdfc3Smrg    
1505efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1515efbdfc3Smrg
1525efbdfc3Smrgcommit 3b1750e982fedce0d61bface68aadcd5b1ea1fae
1535efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1545efbdfc3SmrgDate:   Fri Oct 14 09:28:42 2022 +0200
1555efbdfc3Smrg
1565efbdfc3Smrg    nls: delete two compose sequences with an anomalous post-fixed breve
1575efbdfc3Smrg    
1585efbdfc3Smrg    Two years ago, commit b126bfd7fe allowed using also a lowercase `u`
1595efbdfc3Smrg    wherever an uppercase `U` was used to represent a breve.  But the
1605efbdfc3Smrg    commit should have limited itself to only the prefixed uses of `U`,
1615efbdfc3Smrg    as that is how most letters with a breve are composed.
1625efbdfc3Smrg    
1635efbdfc3Smrg    Also, group the two compose sequences with an uppercase post-fixed `U`
1645efbdfc3Smrg    together with the corresponding other post-fixed sequences.
1655efbdfc3Smrg    
1665efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1675efbdfc3Smrg
1685efbdfc3Smrgcommit 701e9e9afb88bdc68c84a4611adc533400a3df36
1695efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1705efbdfc3SmrgDate:   Tue Oct 4 11:24:57 2022 -0700
1715efbdfc3Smrg
1725efbdfc3Smrg    Use same pthread-stubs as libxcb
1735efbdfc3Smrg    
1745efbdfc3Smrg    Avoid conflicts when libX11 calls libxcb and gets its pthread functions
1755efbdfc3Smrg    overriding our ancient stubs.
1765efbdfc3Smrg    
1775efbdfc3Smrg    v2: Keep linking with real threads libraries when thread safety
1785efbdfc3Smrg        constructor is enabled.
1795efbdfc3Smrg    
1805efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1815efbdfc3Smrg
1825efbdfc3Smrgcommit 1d11822601fd24a396b354fa616b04ed3df8b4ef
1835efbdfc3SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
1845efbdfc3SmrgDate:   Tue Oct 4 18:26:17 2022 -0400
1855efbdfc3Smrg
1865efbdfc3Smrg    fix a memory leak in XRegisterIMInstantiateCallback
1875efbdfc3Smrg    
1885efbdfc3Smrg    Analysis:
1895efbdfc3Smrg    
1905efbdfc3Smrg        _XimRegisterIMInstantiateCallback() opens an XIM and closes it using
1915efbdfc3Smrg        the internal function pointers, but the internal close function does
1925efbdfc3Smrg        not free the pointer to the XIM (this would be done in XCloseIM()).
1935efbdfc3Smrg    
1945efbdfc3Smrg    Report/patch:
1955efbdfc3Smrg    
1965efbdfc3Smrg        Date: Mon, 03 Oct 2022 18:47:32 +0800
1975efbdfc3Smrg        From: Po Lu <luangruo@yahoo.com>
1985efbdfc3Smrg        To: xorg-devel@lists.x.org
1995efbdfc3Smrg        Subject: Re: Yet another leak in Xlib
2005efbdfc3Smrg    
2015efbdfc3Smrg        For reference, here's how I'm calling XRegisterIMInstantiateCallback:
2025efbdfc3Smrg    
2035efbdfc3Smrg        XSetLocaleModifiers ("");
2045efbdfc3Smrg        XRegisterIMInstantiateCallback (compositor.display,
2055efbdfc3Smrg                                        XrmGetDatabase (compositor.display),
2065efbdfc3Smrg                                        (char *) compositor.resource_name,
2075efbdfc3Smrg                                        (char *) compositor.app_name,
2085efbdfc3Smrg                                        IMInstantiateCallback, NULL);
2095efbdfc3Smrg    
2105efbdfc3Smrg        and XMODIFIERS is:
2115efbdfc3Smrg    
2125efbdfc3Smrg            @im=ibus
2135efbdfc3Smrg    
2145efbdfc3Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2155efbdfc3Smrg
2165efbdfc3Smrgcommit 1f8fd7ff1cf688ec1d3b34397c6d58110bb0cae5
2175efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2185efbdfc3SmrgDate:   Mon Sep 26 16:01:40 2022 -0700
2195efbdfc3Smrg
2205efbdfc3Smrg    If thread-safety-constructor is enabled, link against pthreads not stubs
2215efbdfc3Smrg    
2225efbdfc3Smrg    Only really makes a difference if pthreads is not in libc.
2235efbdfc3Smrg    
2245efbdfc3Smrg    Fixes: #162
2255efbdfc3Smrg    
2265efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2275efbdfc3Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
2285efbdfc3Smrg
2295efbdfc3Smrgcommit bfe5d2dd98f705438b0cdddbbf9c12882da89bae
2305efbdfc3SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
2315efbdfc3SmrgDate:   Sun Sep 11 11:44:41 2022 -0400
2325efbdfc3Smrg
2335efbdfc3Smrg    reduce compiler warnings with casts (no object change)
2345efbdfc3Smrg    
2355efbdfc3Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2365efbdfc3Smrg
2375efbdfc3Smrgcommit 926f2454bca9a7a7d1f4cf0648b0c193f5cef644
2385efbdfc3SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
2395efbdfc3SmrgDate:   Sun Sep 11 10:35:31 2022 -0400
2405efbdfc3Smrg
2415efbdfc3Smrg    use casts to reduce compiler warnings (no object change)
2425efbdfc3Smrg    
2435efbdfc3Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2445efbdfc3Smrg
2455efbdfc3Smrgcommit dc553ff908f10832c71dc2b5ba5af7e68589218e
2465efbdfc3SmrgAuthor: Mike FABIAN <mfabian@redhat.com>
2475efbdfc3SmrgDate:   Fri Jul 22 11:39:01 2022 +0200
2485efbdfc3Smrg
2495efbdfc3Smrg    Remove KOI8-R character set from en_US.UTF-8/XLC_LOCALE
2505efbdfc3Smrg    
2515efbdfc3Smrg    https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/src/xlibi18n/lcCT.c#L58
2525efbdfc3Smrg    has no escape sequence for KOI8-R.
2535efbdfc3Smrg    That makes Xutf8TextListToTextProperty() sometimes fail when trying to
2545efbdfc3Smrg    convert to COMPOUND_TEXT and when the KOI8-R charset is tried.
2555efbdfc3Smrg    
2565efbdfc3Smrg    This is the cause for this bug:
2575efbdfc3Smrg    
2585efbdfc3Smrg    https://github.com/ibus/ibus/issues/2422
2595efbdfc3Smrg    
2605efbdfc3Smrg    Removing the KOI8-R charset entry fixes the problem.
2615efbdfc3Smrg    
2625efbdfc3Smrg    This commit also fixes a few wrong texts in comments.
2635efbdfc3Smrg    
2645efbdfc3Smrg    Signed-off-by: Mike FABIAN <mfabian@redhat.com>
2655efbdfc3Smrg
2665efbdfc3Smrgcommit 1c04ac514196db5e2255d99635fb6e3c36be330d
2675efbdfc3SmrgAuthor: Adam Sampson <ats@offog.org>
2685efbdfc3SmrgDate:   Sun Jul 4 23:02:04 2021 +0100
2695efbdfc3Smrg
2705efbdfc3Smrg    xkb: Fix off-by-one error in XKeycodeToKeysym
2715efbdfc3Smrg    
2725efbdfc3Smrg    The code here that made indexes greater than 3 refer to XKB symbol
2735efbdfc3Smrg    groups had an off-by-one error, so it would always leave out the symbol
2745efbdfc3Smrg    that should have been at index 4. Rewrite the code to fix this and
2755efbdfc3Smrg    simplify the logic a bit.
2765efbdfc3Smrg    
2775efbdfc3Smrg    Signed-off-by: Adam Sampson <ats@offog.org>
2785efbdfc3Smrg
2795efbdfc3Smrgcommit ddaacd219609104f138006db6a8f708226db3874
2805efbdfc3SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
2815efbdfc3SmrgDate:   Fri Sep 9 20:17:35 2022 -0400
2825efbdfc3Smrg
2835efbdfc3Smrg    reduce compiler warnings for macros BufAlloc, Data and Data32 using casts
2845efbdfc3Smrg    
2855efbdfc3Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
2865efbdfc3Smrg
2875efbdfc3Smrgcommit 62c3337d89d31e0d3ed807004e73ad711fad3342
2885efbdfc3SmrgAuthor: Kirill Chibisov <contact@kchibisov.com>
2895efbdfc3SmrgDate:   Thu Sep 8 22:50:30 2022 +0000
2905efbdfc3Smrg
2915efbdfc3Smrg    ximcp/imRm.c: allow XNSpotLocation with OnTheSpot
2925efbdfc3Smrg
2935efbdfc3Smrgcommit 1272879074ad9612314858a75cf844783c1963b2
2945efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2955efbdfc3SmrgDate:   Thu Jul 28 17:30:21 2022 -0700
2965efbdfc3Smrg
2975efbdfc3Smrg    gitlab CI: stop requiring Signed-off-by in commits
2985efbdfc3Smrg    
2995efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3005efbdfc3Smrg
3015efbdfc3Smrgcommit 38033b073f393564acf6a04501927002b2b4aa86
3025efbdfc3SmrgAuthor: David H. Gutteridge <david@gutteridge.ca>
3035efbdfc3SmrgDate:   Mon Jul 25 19:30:19 2022 -0400
3045efbdfc3Smrg
3055efbdfc3Smrg    configure.ac: report thread safety constructor build status
3065efbdfc3Smrg    
3075efbdfc3Smrg    Signed-off-by: David H. Gutteridge <david@gutteridge.ca>
3085efbdfc3Smrg
3095efbdfc3Smrgcommit 9a90b3a63d02da92dc8692ed3f6269d3e0c7c8cc
3105efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3115efbdfc3SmrgDate:   Sun Jul 10 11:55:11 2022 -0700
3125efbdfc3Smrg
3135efbdfc3Smrg    doc: Document possible return values for XkbGetKeyboard()
3145efbdfc3Smrg    
3155efbdfc3Smrg    Fixes: #160
3165efbdfc3Smrg    
3175efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3185efbdfc3Smrg
3195efbdfc3Smrgcommit 0beb0cf46ae48b0d4322ff8a0221f47bdb7d2296
3205efbdfc3SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3215efbdfc3SmrgDate:   Sun Jul 10 11:42:19 2022 -0700
3225efbdfc3Smrg
3235efbdfc3Smrg    xkb: set num_keys when filling in keys in _XkbReadGetNamesReply()
3245efbdfc3Smrg    
3255efbdfc3Smrg    Fixes: #160
3265efbdfc3Smrg    
3275efbdfc3Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3285efbdfc3Smrg
3295efbdfc3Smrgcommit 487e9489d1e086cc62c53045206ab6d6d9d02031
3305efbdfc3SmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk>
3315efbdfc3SmrgDate:   Wed Jun 22 16:15:37 2022 +0100
3325efbdfc3Smrg
3335efbdfc3Smrg    Fix Win32 build with -fno-common
3345efbdfc3Smrg    
3355efbdfc3Smrg    /work/xorg/lib/libX11/src/XlibInt.c:1968: multiple definition of `_Xdebug_p'; .libs/globals.o:globals.c:(.bss+0xc): first defined here
3365efbdfc3Smrg    
3375efbdfc3Smrg    Avoid redundant definition of _Xdebug_p in globals.c (which is under the
3385efbdfc3Smrg    influence of _Xdebug being #defined to _Xdebug_p.
3395efbdfc3Smrg    
3405efbdfc3Smrg    This appears to be an ancient hack to work around data exports resolving
3415efbdfc3Smrg    to the address of the import stub, not the import. (See [1]).
3425efbdfc3Smrg    
3435efbdfc3Smrg    (This is probably no longer needed or can be done in a better way, as
3445efbdfc3Smrg    per the discussion under --enable-auto-import in the ld manpage.)
3455efbdfc3Smrg    
3465efbdfc3Smrg    [1] https://cygwin.com/pipermail/cygwin-xfree/2001-May/004606.html
3475efbdfc3Smrg    
3485efbdfc3Smrg    Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
3495efbdfc3Smrg
3505efbdfc3Smrgcommit 35ad99fad2f65ec2c69bd84bdeb8138329092b57
3515efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
3525efbdfc3SmrgDate:   Fri Jul 15 11:29:46 2022 +0200
3535efbdfc3Smrg
3545efbdfc3Smrg    nls: add four sequences for the Samogitian E with dot above and macron
3555efbdfc3Smrg    
3565efbdfc3Smrg    These sequences each produce two code points: the E-with-dot-above and
3575efbdfc3Smrg    a combining macron.  The XIM input method is required for this to work.
3585efbdfc3Smrg    
3595efbdfc3Smrg    (Also add a missing comment for a Unicode block.)
3605efbdfc3Smrg    
3615efbdfc3Smrg    This fixes issue #54.
3625efbdfc3Smrg    
3635efbdfc3Smrg    Requested-by: Arns Udovīčė
3645efbdfc3Smrg    
3655efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
3665efbdfc3Smrg
3675efbdfc3Smrgcommit 2732dd20cc2694dd5c32fef292e1f48626011032
3685efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
3695efbdfc3SmrgDate:   Wed Jul 6 16:44:50 2022 +0200
3705efbdfc3Smrg
3715efbdfc3Smrg    nls: delete eight sequences that pointlessly mix upper and lower case
3725efbdfc3Smrg    
3735efbdfc3Smrg    Typing a compose sequence requires some care -- surely the user is able
3745efbdfc3Smrg    to either keep holding the Shift key or not touch it at all while typing
3755efbdfc3Smrg    the sequence.  Also, compose sequences are not an infinite resource AND
3765efbdfc3Smrg    take up space and time -- defining redundant ones is a waste.
3775efbdfc3Smrg    
3785efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
3795efbdfc3Smrg
3805efbdfc3Smrgcommit ea3cc474e1acfed47b9fb856ea151008fa6cfd30
3815efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
3825efbdfc3SmrgDate:   Wed Jul 6 16:36:48 2022 +0200
3835efbdfc3Smrg
3845efbdfc3Smrg    nls: add compose sequences for the double-struck capitals ℕ ℤ ℚ ℝ ℂ
3855efbdfc3Smrg    
3865efbdfc3Smrg    This allows the user to type the symbols for the five number systems.
3875efbdfc3Smrg    
3885efbdfc3Smrg    This fixes the reasonable part of issue #159.
3895efbdfc3Smrg    
3905efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
3915efbdfc3Smrg
3925efbdfc3Smrgcommit 95a03cde434c447fdb41d8cccbbdd41f20750f32
3935efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
3945efbdfc3SmrgDate:   Thu Jul 14 12:00:45 2022 +0200
3955efbdfc3Smrg
3965efbdfc3Smrg    nls: delete some pointless and wrong compose sequences meant for Bépo
3975efbdfc3Smrg    
3985efbdfc3Smrg    Fourteen years ago, commit 7302984642 added some four hundred compose
3995efbdfc3Smrg    sequences for the benefit of the French Bépo layout.  But among these
4005efbdfc3Smrg    four hundred there are several that use symbols that are not available
4015efbdfc3Smrg    in the Bépo layout and are thus impossible to type.  Some of the used
4025efbdfc3Smrg    symbols, like Ahook, Ehook and Ohook, are not even present in *any*
4035efbdfc3Smrg    layout, making these sequences a dead weight in the Compose file.
4045efbdfc3Smrg    
4055efbdfc3Smrg    The Amacron and Omacron are available only in the Latvian, Hawaiian,
4065efbdfc3Smrg    and Maori layouts, and the Omacron also in the Silesian layout.  But
4075efbdfc3Smrg    the Latvian layouts and the Hawaiian do not contain any dead keys.
4085efbdfc3Smrg    Only in the Maori and Silesian layouts these sequences with Amacron
4095efbdfc3Smrg    and Omacron could be typed, but that was not why they were added.
4105efbdfc3Smrg    
4115efbdfc3Smrg    More importantly, as James Cloos noted in issue #54, sequences like
4125efbdfc3Smrg    `<dead_abovedot> <amacron>` for generating `ǡ` (that is: the macron
4135efbdfc3Smrg    above the dot) are questionable, as in compose sequences generally
4145efbdfc3Smrg    the first accent typed is the uppermost in the composed character.
4155efbdfc3Smrg    
4165efbdfc3Smrg    Reference:
4175efbdfc3Smrg      https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/54#note_17321
4185efbdfc3Smrg    
4195efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
4205efbdfc3Smrg
4215efbdfc3Smrgcommit 9702b836862da6838d725f555e7a1d83faf51740
4225efbdfc3SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
4235efbdfc3SmrgDate:   Fri Jul 1 11:13:13 2022 +0200
4245efbdfc3Smrg
4255efbdfc3Smrg    Mention that the predicate function is called with the display lock
4265efbdfc3Smrg    
4275efbdfc3Smrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
4285efbdfc3Smrg
4295efbdfc3Smrgcommit a5d00f889fadad3f5b11e53fd5c04cf5343fa8a2
4305efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
4315efbdfc3SmrgDate:   Fri Jun 24 16:20:52 2022 +0200
4325efbdfc3Smrg
4335efbdfc3Smrg    docs: replace three placeholders with something that makes sense
4345efbdfc3Smrg    
4355efbdfc3Smrg    Also, uncapitalize two arguments, to match the style of all others.
4365efbdfc3Smrg    
4375efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
4385efbdfc3Smrg
4395efbdfc3Smrgcommit 9ff8502040e94cb172426d59df722cefa752a401
4405efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
4415efbdfc3SmrgDate:   Fri Jun 24 16:07:22 2022 +0200
4425efbdfc3Smrg
4435efbdfc3Smrg    docs: remove the unsightly dashes from the overviews of arguments
4445efbdfc3Smrg    
4455efbdfc3Smrg    Seventeen months ago, commits 78027fdb7a and 4f15cfc645 removed
4465efbdfc3Smrg    these dashes from two of the man pages.  Now, remove them all.
4475efbdfc3Smrg    They are unhelpful and just make one wonder why they are there
4485efbdfc3Smrg    (probably to function as improvised bullet points).
4495efbdfc3Smrg    
4505efbdfc3Smrg    Also remove four leading spaces and a trailing comma.
4515efbdfc3Smrg    
4525efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
4535efbdfc3Smrg
4545efbdfc3Smrgcommit a7968c47e35703446d67d070234fd9adf07f34b0
4555efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
4565efbdfc3SmrgDate:   Thu Jun 23 15:48:05 2022 +0200
4575efbdfc3Smrg
4585efbdfc3Smrg    docs: hard-wrap some items so that Table 2 fits within 80 characters
4595efbdfc3Smrg    
4605efbdfc3Smrg    (Table 1 hard-wraps the first-column items in the same way.)
4615efbdfc3Smrg    
4625efbdfc3Smrg    Also, correct the formatting of the subsequent paragraph.
4635efbdfc3Smrg    
4645efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
4655efbdfc3Smrg
4665efbdfc3Smrgcommit c601c779ca8f46dc4335180ec2829851fb8bbc13
4675efbdfc3SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
4685efbdfc3SmrgDate:   Wed Jun 15 10:55:38 2022 +0200
4695efbdfc3Smrg
4705efbdfc3Smrg    nls: delete compose sequences that mix top-row digits with numpad digits
4715efbdfc3Smrg    
4725efbdfc3Smrg    Compose sequences for circled numbers, like ⑫  or ㉑, are nice to have,
4735efbdfc3Smrg    but allowing them to be composed by typing one digit on the top row and
4745efbdfc3Smrg    the other on the numerical keypad (or the other way around) is over the
4755efbdfc3Smrg    top.  Remove these absurd sequences.  Keep only the sequences where both
4765efbdfc3Smrg    digits are either on the top row or on the numerical keypad.
4775efbdfc3Smrg    
4785efbdfc3Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
4795efbdfc3Smrg
480e9628295Smrgcommit 3a30ada60c5217ada37b143b541c8e6f6284c7fa
481e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
482e9628295SmrgDate:   Wed Jun 8 17:30:14 2022 -0700
483e9628295Smrg
484e9628295Smrg    libX11 1.8.1
485e9628295Smrg    
486e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
487e9628295Smrg
488e9628295Smrgcommit 70f7403fd3bf362fc50b8de4a2e26300f757c68e
489e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
490e9628295SmrgDate:   Tue May 3 14:45:05 2022 -0700
491e9628295Smrg
492e9628295Smrg    configure.ac: Fix --enable-thread-safety-constructor
493e9628295Smrg    
494e9628295Smrg    Prior to this, --enable-thread-safety-constructor would disable it,
495e9628295Smrg    while --disable worked as expected, and no option left it enabled as
496e9628295Smrg    expected by default.  This also fixes the --help text to be displayed.
497e9628295Smrg    
498e9628295Smrg    Fixes: afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9
499e9628295Smrg    Reported-by: @igor.v.kovalenko
500e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
501e9628295Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
502e9628295Smrg
503e9628295Smrgcommit d0da5a1e0fb214ff911ecff86d35f6673ff70023
504e9628295SmrgAuthor: Adam Jackson <ajax@redhat.com>
505e9628295SmrgDate:   Fri Apr 29 11:27:44 2022 -0400
506e9628295Smrg
507e9628295Smrg    libX11 1.8
508e9628295Smrg    
509e9628295Smrg    Minor number bump to reflect the thread safety default change.
510e9628295Smrg    
511e9628295Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
512e9628295Smrg
513e9628295Smrgcommit afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9
514e9628295SmrgAuthor: Adam Jackson <ajax@redhat.com>
515e9628295SmrgDate:   Tue Mar 22 18:24:29 2022 -0400
516e9628295Smrg
517e9628295Smrg    global: call XInitThreads() from the library's constructor
518e9628295Smrg    
519e9628295Smrg    There is really no point in not being thread safe, I measured, all you
520e9628295Smrg    can see happen is noop performance gets like twice as slow and you have
521e9628295Smrg    thread safety bugs. And we're using xcb as the transport which means we
522e9628295Smrg    should expect threads in our clients anyway. Just do it.
523e9628295Smrg    
524e9628295Smrg    This assumes your compiler understands __attribute__((constructor)). If
525e9628295Smrg    this is not your compiler, you can disable this with the appropriate
526e9628295Smrg    configure flag, but be aware you're asking for bugs.
527e9628295Smrg    
528e9628295Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
529e9628295Smrg
530e9628295Smrgcommit 1ab48f3cc966751d86e434808180beb2dc76c4fa
531e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
532e9628295SmrgDate:   Sun Apr 24 15:06:45 2022 +0200
533e9628295Smrg
534e9628295Smrg    docs: add release notes for versions 1.7.3, 1.7.4, and 1.7.5
535e9628295Smrg    
536e9628295Smrg    They were forgotten when those releases were made.
537e9628295Smrg    
538e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
539e9628295Smrg
540e9628295Smrgcommit 35d1513bc7fdd3ac6f5807feb601efc34ac19163
541e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
542e9628295SmrgDate:   Sat Apr 16 13:04:23 2022 -0700
543e9628295Smrg
544e9628295Smrg    XkbOpenDisplay: Add _Xconst qualifier to display name argument
545e9628295Smrg    
546e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
547e9628295Smrg
548e9628295Smrgcommit c88ceaad4aaa0439e5cba13c1f5737ad54566e0b
549e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
550e9628295SmrgDate:   Sat Apr 16 12:59:39 2022 -0700
551e9628295Smrg
552e9628295Smrg    XKBgeom.h: Add _Xconst qualifier to char * arguments in functions
553e9628295Smrg    
554e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
555e9628295Smrg
556e9628295Smrgcommit 0ce4425826074b12a58ced432f9d6fb346474737
557e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
558e9628295SmrgDate:   Sat Apr 16 12:20:51 2022 -0700
559e9628295Smrg
560e9628295Smrg    XKBgeom.h: Remove XKB_IN_SERVER section
561e9628295Smrg    
562e9628295Smrg    The Xserver made its own copy of this file in 2008, and the API's are
563e9628295Smrg    no longer the same between the server and client forks.
564e9628295Smrg    
565e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
566e9628295Smrg
567e9628295Smrgcommit be8c01946ab1a1d4b79fdc5358541d630f14dc0a
568e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
569e9628295SmrgDate:   Wed Apr 20 09:29:09 2022 +0200
570e9628295Smrg
571e9628295Smrg    lcCT: use the correct index for checking the second byte
572e9628295Smrg    
573e9628295Smrg    (Not that it will make any difference, as the checking of these
574e9628295Smrg    high bits looks like an excess of precaution.)
575e9628295Smrg    
576e9628295Smrg    This fixes issue #134.
577e9628295Smrg    
578e9628295Smrg    Reported-by: Rafał Mikrut
579e9628295Smrg    
580e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
581e9628295Smrg
582e9628295Smrgcommit 488b156fe2cc8aca6946a49236ec7b7698fceda4
583e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
584e9628295SmrgDate:   Fri Feb 25 16:35:46 2022 +0100
585e9628295Smrg
586e9628295Smrg    nls: make the Ethiopian compose sequences actually work
587e9628295Smrg    
588e9628295Smrg    In the Ethiopian keyboard layout, the dead vowel keys do not produce <e>
589e9628295Smrg    and <u> and so on, but instead produce <U+FE69> and <U+FE75> and so on,
590e9628295Smrg    so the compose sequences should use those latter code points.
591e9628295Smrg    
592e9628295Smrg    Also, include the basic compose sequences from en_US.UTF-8/Compose,
593e9628295Smrg    so that, when switching to a different layout in the Ethiopian locale,
594e9628295Smrg    all the usual compose sequences work too.
595e9628295Smrg    
596e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
597e9628295Smrg
598e9628295Smrgcommit e6f98a3dbd82928e10adaf9d034dc574af1de6e5
599e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
600e9628295SmrgDate:   Mon Apr 18 17:24:55 2022 +0200
601e9628295Smrg
602e9628295Smrg    nls: add Multi-key sequences for abovedot, diaeresis, and ogonek
603e9628295Smrg    
604e9628295Smrg    These accents by themselves could only be produced when one had a
605e9628295Smrg    dead key for them, not with the help of the Multi key.
606e9628295Smrg    
607e9628295Smrg    [Note that the sequences <dead_acute> <space> for apostrophe (')
608e9628295Smrg    and <dead_diaeresis> <space> for double quote (") are anomalies,
609e9628295Smrg    as normally <dead_accent> <space> produces the accent itself.]
610e9628295Smrg    
611e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
612e9628295Smrg
613e9628295Smrgcommit d323704e7c57f9ac7fdfea3dc9fa73bf943e72d3
614e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
615e9628295SmrgDate:   Mon Apr 18 16:57:35 2022 +0200
616e9628295Smrg
617e9628295Smrg    nls: remove eight pointless self-producing compose sequences
618e9628295Smrg    
619e9628295Smrg    Compose sequences are meant to produce certain symbols by combining
620e9628295Smrg    certain different symbols, not to produce a symbol with the help of
621e9628295Smrg    the symbol itself.
622e9628295Smrg    
623e9628295Smrg    This fixes issue #59.
624e9628295Smrg    
625e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
626e9628295Smrg
627e9628295Smrgcommit 3b62c0322c112c03597d850197dbce22d1830bb7
628e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
629e9628295SmrgDate:   Fri Feb 25 14:12:02 2022 +0100
630e9628295Smrg
631e9628295Smrg    nls: remove misplaced sequences from Ethiopian and Greek compose files
632e9628295Smrg    
633e9628295Smrg    The Khmer digraphs and Arabic ligatures have nothing to do with
634e9628295Smrg    Amharic or Greek.
635e9628295Smrg    
636e9628295Smrg    (Also rewrap a comment and correct two others.)
637e9628295Smrg    
638e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
639e9628295Smrg
640e9628295Smrgcommit 479af78f2e5caaf9b98a35ae5ff4ccdd2f040289
641e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
642e9628295SmrgDate:   Fri Feb 25 14:05:35 2022 +0100
643e9628295Smrg
644e9628295Smrg    nls: remove redundant Khmer digraphs, already defined in included file
645e9628295Smrg    
646e9628295Smrg    This fixes issue #160.
647e9628295Smrg    
648e9628295Smrg    Reported-by: Mike Fabian
649e9628295Smrg    
650e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
651e9628295Smrg
652e9628295Smrgcommit 6d7d08726f4b0c517041842b27cd7e66e8f371eb
653e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
654e9628295SmrgDate:   Sun Apr 10 14:51:55 2022 -0700
655e9628295Smrg
656e9628295Smrg    XkbUpdateKeyTypeVirtualMods: always initialize mask
657e9628295Smrg    
658e9628295Smrg    XkbVirtualModsToReal should only fail to set mask if the server does
659e9628295Smrg    not support XKB, but it still made Oracle Parfait complain:
660e9628295Smrg    
661e9628295Smrg    Error: Uninitialised memory
662e9628295Smrg       Uninitialised memory variable [uninitialised-mem-var] (CWE 457):
663e9628295Smrg          Possible access to uninitialised memory referenced by variable 'mask'
664e9628295Smrg            at line 863 of lib/libX11/src/xkb/XKBMisc.c in function 'XkbUpdateKeyTypeVirtualMods'.
665e9628295Smrg            Path in callee avoiding write at line 862
666e9628295Smrg              mask allocated at line 860
667e9628295Smrg    
668e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
669e9628295Smrg
670e9628295Smrgcommit 9ac6859c20be2fc5e70c2908de60c6e466ec04e1
671e9628295SmrgAuthor: Matt Turner <mattst88@gmail.com>
672e9628295SmrgDate:   Sun Apr 3 10:15:30 2022 -0700
673e9628295Smrg
674e9628295Smrg    libX11 1.7.5
675e9628295Smrg    
676e9628295Smrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
677e9628295Smrg
678e9628295Smrgcommit 76d1cc3c1ce943c6ff81dc8c62a1d1b30fabf02e
679e9628295SmrgAuthor: Simon McVittie <smcv@debian.org>
680e9628295SmrgDate:   Sun Apr 3 14:23:36 2022 +0100
681e9628295Smrg
682e9628295Smrg    Don't try to destroy NULL condition variables
683e9628295Smrg    
684e9628295Smrg    This avoids a segfault during error-unwinding if an invalid display name
685e9628295Smrg    is passed to XOpenDisplay().
686e9628295Smrg    
687e9628295Smrg    Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()"
688e9628295Smrg    Resolves: #155
689e9628295Smrg    Signed-off-by: Simon McVittie <smcv@debian.org>
690e9628295Smrg
691e9628295Smrgcommit 80b30d12519ac54fc5b2b05500521d9c8269be9c
692e9628295SmrgAuthor: Matt Turner <mattst88@gmail.com>
693e9628295SmrgDate:   Wed Mar 30 13:54:13 2022 -0700
694e9628295Smrg
695e9628295Smrg    libX11 1.7.4
696e9628295Smrg    
697e9628295Smrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
698e9628295Smrg
699e9628295Smrgcommit 8a368d808fec166b5fb3dfe6312aab22c7ee20af
700e9628295SmrgAuthor: Hodong <hodong@yozmos.com>
701e9628295SmrgDate:   Thu Jan 20 00:57:41 2022 +0900
702e9628295Smrg
703e9628295Smrg    Fix two memory leaks in _XFreeX11XCBStructure()
704e9628295Smrg    
705e9628295Smrg    Even when XCloseDisplay() was called, some memory was leaked.
706e9628295Smrg    
707e9628295Smrg    XCloseDisplay() calls _XFreeDisplayStructure(), which calls
708e9628295Smrg    _XFreeX11XCBStructure().
709e9628295Smrg    
710e9628295Smrg    However, _XFreeX11XCBStructure() did not destroy the condition variables,
711e9628295Smrg    resulting in the leaking of some 40 bytes.
712e9628295Smrg    
713e9628295Smrg    Signed-off-by: Hodong <hodong@yozmos.com>
714e9628295Smrg
715e9628295Smrgcommit da97120f2322882a17f14e5d7da00c1e772679e8
716e9628295SmrgAuthor: Adam Jackson <ajax@redhat.com>
717e9628295SmrgDate:   Tue Mar 22 14:32:49 2022 -0400
718e9628295Smrg
719e9628295Smrg    xcb: Clarify the XInitThreads error message
720e9628295Smrg    
721e9628295Smrg    XInitThreads has been called if _Xglobal_lock != NULL, we may as well
722e9628295Smrg    check that before printing a misleading error message.
723e9628295Smrg    
724e9628295Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
725e9628295Smrg
726e9628295Smrgcommit 257927c51b08242aa5bf239346717fc817b2b286
727e9628295SmrgAuthor: Giovanni Mascellani <gmascellani@codeweavers.com>
728e9628295SmrgDate:   Fri Feb 4 10:49:25 2022 +0100
729e9628295Smrg
730e9628295Smrg    xcb_io: Allow jumps backwards when widening the request number.
731e9628295Smrg    
732e9628295Smrg    Request numbers are not always seen in the numeric order by widen(),
733e9628295Smrg    for example due to Mesa directly calling _XError(). When this happens,
734e9628295Smrg    widen() adds 2^32 to the reported widened number, triggering failed
735e9628295Smrg    assertions and bad behavior.
736e9628295Smrg    
737e9628295Smrg    With this commit, wrapping of the lower dword is detected in a more
738e9628295Smrg    robust way, by requiring that a skip of at least 2^31 is seen.
739e9628295Smrg    
740e9628295Smrg    This fixes issue #152.
741e9628295Smrg    
742e9628295Smrg    Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
743e9628295Smrg
744e9628295Smrgcommit 918063298cb893bee98040c9dca45ccdb2864773
745e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
746e9628295SmrgDate:   Thu Mar 3 12:00:45 2022 +0100
747e9628295Smrg
748e9628295Smrg    nls: add a compose sequence for the peace symbol
749e9628295Smrg    
750e9628295Smrg    As the thing in the circle looks a bit like an upside-down Y,
751e9628295Smrg    use <O> <Y> as the sequence, similar to <O> <A> for anarchism.
752e9628295Smrg    
753e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
754e9628295Smrg
755e9628295Smrgcommit 4f9eb32709dca705f02ca771bbd47d6c08aba5e0
756e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
757e9628295SmrgDate:   Fri Feb 25 12:45:06 2022 +0100
758e9628295Smrg
759e9628295Smrg    nls: remove obsolete locale aliases with uppercase in the language code
760e9628295Smrg    
761e9628295Smrg    (These aliases may have been useful on some systems twenty years ago,
762e9628295Smrg    but nowadays all should have settled on lowercase language code plus
763e9628295Smrg    uppercase country code.)
764e9628295Smrg    
765e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
766e9628295Smrg
767e9628295Smrgcommit ba0d3b437deb2212bc7fc7c6f1c603fa6ced443c
768e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
769e9628295SmrgDate:   Fri Feb 25 12:35:28 2022 +0100
770e9628295Smrg
771e9628295Smrg    nls: map eo.UTF-8 directly to en_US.UTF-8 instead of using a relay alias
772e9628295Smrg    
773e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
774e9628295Smrg
775e9628295Smrgcommit cfddb79981f23650feb0f9a0f4442c9cad584b33
776e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
777e9628295SmrgDate:   Fri Feb 25 12:12:05 2022 +0100
778e9628295Smrg
779e9628295Smrg    nls: remove the mistaken eo_EO names -- EO is not a valid country code
780e9628295Smrg    
781e9628295Smrg    (Debian has had several of these lines commented out for years.)
782e9628295Smrg    
783e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
784e9628295Smrg
785e9628295Smrgcommit eb5885245a1ba6955d058a03e31894c23b9f5490
786e9628295SmrgAuthor: iyzana <iyzana@protonmail.com>
787e9628295SmrgDate:   Mon Feb 21 13:20:23 2022 +0100
788e9628295Smrg
789e9628295Smrg    nls: add locale alias from eo.UTF-8 to eo_XX.UTF-8
790e9628295Smrg    
791e9628295Smrg    There is no matching locale in the locale.dir and compose.dir files for
792e9628295Smrg    the locale eo.UTF-8. Setting it as the locale resulted in compose files
793e9628295Smrg    not being loaded.
794e9628295Smrg    
795e9628295Smrg    Signed-off-by: iyzana <iyzana@protonmail.com>
796e9628295Smrg
797e9628295Smrgcommit 24df23dff9d8c1cf5e918a5f040b852bdf2cfb84
798e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
799e9628295SmrgDate:   Thu Feb 3 17:19:05 2022 +0100
800e9628295Smrg
801e9628295Smrg    nls: group the compose sequences for tilde, degree, and cedilla together
802e9628295Smrg    
803e9628295Smrg    Also, correct the comment for the double quote character ("), and move
804e9628295Smrg    the soft hyphen and the interrobangs to a special punctuation group.
805e9628295Smrg    
806e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
807e9628295Smrg
808e9628295Smrgcommit c0191f020f94907770937bc8ae67ea8acd7d63be
809e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
810e9628295SmrgDate:   Thu Feb 3 16:33:05 2022 +0100
811e9628295Smrg
812e9628295Smrg    nls: use shape-based compose sequences for hammer-and-sickle instead
813e9628295Smrg    
814e9628295Smrg    Using a misspelled abbreviation (CCCP) of an obsolete country's name
815e9628295Smrg    to compose a fairly general communist symbol does not seem right.
816e9628295Smrg    
817e9628295Smrg        https://en.wikipedia.org/wiki/Hammer_and_sickle
818e9628295Smrg    
819e9628295Smrg    Many compose sequences instead combine characters that together look
820e9628295Smrg    similar to the target character.  Do the same here: question mark (?)
821e9628295Smrg    plus backslash (\) look a bit like ☭ .
822e9628295Smrg    
823e9628295Smrg    In the bargain, this fixes issue #63.
824e9628295Smrg    
825e9628295Smrg    Reported-by: Marc Mezzarobba
826e9628295Smrg    
827e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
828e9628295Smrg
829e9628295Smrgcommit 582dc6f89e1f9288710a55cb2b8fbf2af99d7616
830e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
831e9628295SmrgDate:   Sun Feb 20 11:49:42 2022 -0800
832e9628295Smrg
833e9628295Smrg    gitlab CI: enable Static Application Security Testing (SAST)
834e9628295Smrg    
835e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
836e9628295Smrg
837e9628295Smrgcommit 336e8f72559b489396c5cd503c4586ef800c2a8f
838e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
839e9628295SmrgDate:   Sun Feb 20 15:06:02 2022 +0100
840e9628295Smrg
841e9628295Smrg    nls: add compose sequences for leftward, upward and downward double arrow
842e9628295Smrg    
843e9628295Smrg    These sequences follow the logic of: the arrow shaft (=) first, the
844e9628295Smrg    arrow head (< or > or ^ or v) second.  This is so because the sequence
845e9628295Smrg    <= is already taken for ≤, and there is no obvious ASCII character for
846e9628295Smrg    a double vertical line, so we have to make do with a horizontal one.
847e9628295Smrg    
848e9628295Smrg    Since commit 6101b967b6 from eight years ago, there is a compose sequence
849e9628295Smrg    for the rightward double arrow, but not for the other three directions.
850e9628295Smrg    
851e9628295Smrg    This fixes issue #138.
852e9628295Smrg    
853e9628295Smrg    Requested-by: Mélanie Chauvel
854e9628295Smrg    
855e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
856e9628295Smrg
857e9628295Smrgcommit 623b77d4f30b47258a40f89262e5aa5d25e95fa7
858e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
859e9628295SmrgDate:   Mon Feb 14 11:33:25 2022 +0100
860e9628295Smrg
861e9628295Smrg    imDefLkup: verify that a pointer isn't NULL before using it
862e9628295Smrg    
863e9628295Smrg    It is possible for _XimICOfXICID() to return NULL, so it is necessary
864e9628295Smrg    to check this isn't actually the case before dereferencing the pointer.
865e9628295Smrg    All other callers of _XimICOfXICID() do this check too.
866e9628295Smrg    
867e9628295Smrg    (The check itself is ugly, but it follows the style of the code in the
868e9628295Smrg    rest of the module.)
869e9628295Smrg    
870e9628295Smrg    Fixes issue #45.
871e9628295Smrg    
872e9628295Smrg    Reported-by: Bhavi Dhingra
873e9628295Smrg    
874e9628295Smrg    Original-patch-by: Bhavi Dhingra
875e9628295Smrg    
876e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
877e9628295Smrg
878e9628295Smrgcommit b83938f7f97aa6210b00835002e6e7d614b2374a
879e9628295SmrgAuthor: Christopher Chavez <chrischavez@gmx.us>
880e9628295SmrgDate:   Mon Feb 14 01:00:45 2022 +0000
881e9628295Smrg
882e9628295Smrg    Xlib.h: fix spelling in comment
883e9628295Smrg    
884e9628295Smrg    Signed-off-by: Christopher Chavez <chrischavez@gmx.us>
885e9628295Smrg
886e9628295Smrgcommit 4791055682552b4cc8e775479700fb06980d0b59
887e9628295SmrgAuthor: Christopher Chavez <chrischavez@gmx.us>
888e9628295SmrgDate:   Sun Feb 13 05:26:14 2022 +0000
889e9628295Smrg
890e9628295Smrg    Xlib.h: spelling fix in comment
891e9628295Smrg
892e9628295Smrgcommit 9304e645bdcdd3a71ff449a1157c4815e6304d7a
893e9628295SmrgAuthor: Denis Drakhnia <numas13@gmail.com>
894e9628295SmrgDate:   Wed Feb 2 11:54:43 2022 +0200
895e9628295Smrg
896e9628295Smrg    nls: Add ru_UA.utf8 locale alias.
897e9628295Smrg    
898e9628295Smrg    Signed-off-by: Denis Drakhnia <numas13@gmail.com>
899e9628295Smrg
900e9628295Smrgcommit 9ef2551f0c201f9163b66d17189a98076b5be07a
901e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
902e9628295SmrgDate:   Wed Feb 2 16:50:35 2022 +0100
903e9628295Smrg
904e9628295Smrg    nls: do some manual adjustment of whitespace in the compose sequences
905e9628295Smrg    
906e9628295Smrg    This achieves a more consistent vertical alignment (per group) of the
907e9628295Smrg    target character and the trailing comments.
908e9628295Smrg    
909e9628295Smrg    (Most blocks were aligned in some fashion, except the "Greek Extended"
910e9628295Smrg    block, which has lines of greatly varying lengths.)
911e9628295Smrg    
912e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
913e9628295Smrg
914e9628295Smrgcommit 0dad289ead6eb3412027c9365192441cc539d747
915e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
916e9628295SmrgDate:   Wed Feb 2 14:08:22 2022 +0100
917e9628295Smrg
918e9628295Smrg    nls: among the compose sequences, replace all runs of spaces with tabs
919e9628295Smrg    
920e9628295Smrg    It was done with this script:
921e9628295Smrg    
922e9628295Smrg        cat nls/en_US.UTF-8/Compose.pre |
923e9628295Smrg        sed 's!\(^<.\{6,13\}>\)\s*:!\1\t\t\t\t:!' |
924e9628295Smrg        sed 's!\(^<.\{14,21\}>\)\s*:!\1\t\t\t:!' |
925e9628295Smrg        sed 's!\(^<.\{22,29\}>\)\s*:!\1\t\t:!' |
926e9628295Smrg        sed 's!\(^<.\{30,37\}>\)\s*:!\1\t:!' |
927e9628295Smrg        sed 's!\(: ".*"\)\s*!\1\t!' |
928e9628295Smrg        sed 's!\(\s*# \)! # !' > trimmed &&
929e9628295Smrg        mv  trimmed  nls/en_US.UTF-8/Compose.pre
930e9628295Smrg    
931e9628295Smrg    This saves 37 kilobytes of whitespace.
932e9628295Smrg    
933e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
934e9628295Smrg
935e9628295Smrgcommit fc79e39c236501357e1fdbe8964882864eeef5d3
936e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
937e9628295SmrgDate:   Wed Feb 2 14:06:29 2022 +0100
938e9628295Smrg
939e9628295Smrg    docs: add missing word, wrap line, fix typo, and trim an excess space
940e9628295Smrg    
941e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
942e9628295Smrg
943e9628295Smrgcommit 93446455c46dfc019984ab822ffa662cf6e2949c
944e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
945e9628295SmrgDate:   Thu Jan 27 15:01:18 2022 +0100
946e9628295Smrg
947e9628295Smrg    KeyBind: reshuffle two ifs into the general order of ascending codes
948e9628295Smrg    
949e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
950e9628295Smrg
951e9628295Smrgcommit 93f15f5f29378ec4cc1dd011b155104e9a52b058
952e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
953e9628295SmrgDate:   Thu Jan 27 14:27:41 2022 +0100
954e9628295Smrg
955e9628295Smrg    KeyBind: slightly speed up some case conversions by adding missing returns
956e9628295Smrg    
957e9628295Smrg    This avoids pointlessly tumbling through several more ifs when the
958e9628295Smrg    conversion has aleady been done.
959e9628295Smrg    
960e9628295Smrg    Also remove two redundant conditions (as lower codes have already
961e9628295Smrg    been handled) and fold two other conditions together.
962e9628295Smrg    
963e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
964e9628295Smrg
965e9628295Smrgcommit 317c7abbcc848011393d1336b9d020af8cabb000
966e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
967e9628295SmrgDate:   Thu Jan 27 13:54:29 2022 +0100
968e9628295Smrg
969e9628295Smrg    KeyBind: update the Greek case-conversion tables to Unicode Data 14.0
970e9628295Smrg    
971e9628295Smrg    A few symbols, like Heta and Sampi and dotted lunate Sigma, have been
972e9628295Smrg    assigned code points since Unicode Data 4.0, and need their entries.
973e9628295Smrg    
974e9628295Smrg    This fixes issue #132.
975e9628295Smrg    
976e9628295Smrg    Reported-by: Ray Vine
977e9628295Smrg    
978e9628295Smrg    Original-patch-by: Ray Vine
979e9628295Smrg    
980e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
981e9628295Smrg
982e9628295Smrgcommit 402b843fa72166d9ceefd887f5cea4728cbc6995
983e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
984e9628295SmrgDate:   Wed Jan 26 17:20:28 2022 +0100
985e9628295Smrg
986e9628295Smrg    remove a commented-out code fragment, and remove a stray blank line
987e9628295Smrg    
988e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
989e9628295Smrg
990e9628295Smrgcommit fbbc3cf8b8b03f74f778772d4703fc4fec242282
991e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
992e9628295SmrgDate:   Wed Jan 26 16:55:50 2022 +0100
993e9628295Smrg
994e9628295Smrg    XKBCvt: remove an if that never gets triggered
995e9628295Smrg    
996e9628295Smrg    The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols
997e9628295Smrg    from the numeric keypad and some control symbols to pass -- XK_hyphen
998e9628295Smrg    is not among them, so the check for XK_hyphen in the later 'if' will
999e9628295Smrg    always be false.
1000e9628295Smrg    
1001e9628295Smrg    (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was
1002e9628295Smrg    removed in March 1994.)
1003e9628295Smrg    
1004e9628295Smrg    (Also, several keyboard layouts nowadays contain the 'hyphen' symbol,
1005e9628295Smrg    allowing the user to enter soft hyphens into a document.  So we really
1006e9628295Smrg    don't want to remap this symbol.)
1007e9628295Smrg    
1008e9628295Smrg    Fixes issue #48.
1009e9628295Smrg    
1010e9628295Smrg    Reported-by: Bhavi Dhingra
1011e9628295Smrg    
1012e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1013e9628295Smrg
1014e9628295Smrgcommit 6786744f636b3fc545157a13cb2f6169b5be9fa5
1015e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1016e9628295SmrgDate:   Sun Jan 23 17:12:03 2022 +0100
1017e9628295Smrg
1018e9628295Smrg    nls: add the es_CU locale name, for Cuba
1019e9628295Smrg    
1020e9628295Smrg    It was added to glibc ten years ago.
1021e9628295Smrg    
1022e9628295Smrg    This fixes issue #57.
1023e9628295Smrg    
1024e9628295Smrg    Reported-by: Dominique Michel
1025e9628295Smrg    
1026e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1027e9628295Smrg
1028e9628295Smrgcommit d241d8af7f24e95949c2cf7ce791e35df7665e98
1029e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1030e9628295SmrgDate:   Sun Jan 23 16:44:03 2022 +0100
1031e9628295Smrg
1032e9628295Smrg    nls: remove some obsolete Norwegian and Yugoslavian locale names
1033e9628295Smrg    
1034e9628295Smrg    They have not existed in glibc for more than fifteen years.
1035e9628295Smrg    
1036e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1037e9628295Smrg
1038e9628295Smrgcommit 32dd7c03e92e01015744867b9b3148c250cc159a
1039e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1040e9628295SmrgDate:   Sat Jan 22 17:56:32 2022 +0100
1041e9628295Smrg
1042e9628295Smrg    nls: put some entries in their alphabetical order, and adjust alignment
1043e9628295Smrg    
1044e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1045e9628295Smrg
1046e9628295Smrgcommit 46a066f25103bb909259baea25de8dd5c4a2b338
1047e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1048e9628295SmrgDate:   Sat Jan 22 18:00:20 2022 +0100
1049e9628295Smrg
1050e9628295Smrg    nls: fix a typo (be_BG => bg_BG) and drop an obsolete comment
1051e9628295Smrg    
1052e9628295Smrg    The typo was only partially fixed in commit 22a5255b80 sixteen years ago,
1053e9628295Smrg    and the internet shows that there was at least one user frustrated that
1054e9628295Smrg    bg_BG.utf8 didn't work but bg_BG.UTF-8 did.
1055e9628295Smrg    
1056e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1057e9628295Smrg
1058e9628295Smrgcommit 84efc0aa598c8f7d6dd9a49e7450e85c8bc4773b
1059e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1060e9628295SmrgDate:   Wed Jan 19 15:32:15 2022 +0100
1061e9628295Smrg
1062e9628295Smrg    nls: remove the compose sequences with the deviant KP_Space symbol
1063e9628295Smrg    
1064e9628295Smrg    Using this KP_Space symbol as a stand-in for the symbol 2 doesn't make
1065e9628295Smrg    sense.  It looks like a mistake, or as if someone had a broken keyboard
1066e9628295Smrg    and used KP_Space as a substitute for 2.
1067e9628295Smrg    
1068e9628295Smrg    Also, no keyboard layout in the last fifteen years has contained the
1069e9628295Smrg    KP_Space symbol, so I don't see how anyone could type it.
1070e9628295Smrg    
1071e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1072e9628295Smrg
1073e9628295Smrgcommit b76e661ca223489da9027b0ab1ca1586efd0a280
1074e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1075e9628295SmrgDate:   Wed Jan 19 13:49:56 2022 +0100
1076e9628295Smrg
1077e9628295Smrg    nls: move the block of Jamo to its logical place (ascending Unicodes)
1078e9628295Smrg    
1079e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1080e9628295Smrg
1081e9628295Smrgcommit 21f82fb9c69f8fdbf0bdc1aac6f8c11c2c6d55d1
1082e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1083e9628295SmrgDate:   Wed Jan 19 13:40:56 2022 +0100
1084e9628295Smrg
1085e9628295Smrg    nls: delete some ineffective compose sequences (that were commented out)
1086e9628295Smrg    
1087e9628295Smrg    They have never worked; there is no point in keeping them in the file.
1088e9628295Smrg    
1089e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1090e9628295Smrg
1091e9628295Smrgcommit 6cc31eafa8095d2117ff1906d7c14c1c01173248
1092e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1093e9628295SmrgDate:   Wed Jan 19 12:18:21 2022 +0100
1094e9628295Smrg
1095e9628295Smrg    nls: group some compose sequences better, and add some comments
1096e9628295Smrg    
1097e9628295Smrg    Also, align a few trailing comments more consistently, and change
1098e9628295Smrg    some comments so they will be excluded from the installed file --
1099e9628295Smrg    there is no need for those comments there.
1100e9628295Smrg    
1101e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1102e9628295Smrg
1103e9628295Smrgcommit d60ede7843612f3c2967f83d629bf8272ba09ff1
1104e9628295SmrgAuthor: ArenaL5 <arenal5@protonmail.com>
1105e9628295SmrgDate:   Thu Jan 13 01:13:56 2022 +0100
1106e9628295Smrg
1107e9628295Smrg    nls: add a compose sequence for the copyleft symbol
1108e9628295Smrg    
1109e9628295Smrg    Probably not used anywhere yet, let alone seriously, as stated in
1110e9628295Smrg    https://en.wikipedia.org/wiki/Copyleft#Symbol
1111e9628295Smrg    
1112e9628295Smrg    Signed-off-by: ArenaL5 <arenal5@protonmail.com>
1113e9628295Smrg
1114e9628295Smrgcommit df4dcdf9125c595f6df3a302356647cb8df38553
1115e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1116e9628295SmrgDate:   Mon Jan 17 17:31:08 2022 +0100
1117e9628295Smrg
1118e9628295Smrg    nls: remove redundant compose sequences with deprecated Hebrew symbols
1119e9628295Smrg    
1120e9628295Smrg    The compose sequences with the valid Hebrew key symbols are right there.
1121e9628295Smrg    
1122e9628295Smrg    Also, no keyboard layout in the past seventeen years has contained these
1123e9628295Smrg    deprecated symbols on any key.
1124e9628295Smrg    
1125e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1126e9628295Smrg
1127e9628295Smrgcommit 4268472bd11a07a799716fb5833ea46cad3dd479
1128e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1129e9628295SmrgDate:   Sun Jan 16 17:51:29 2022 +0100
1130e9628295Smrg
1131e9628295Smrg    nls: remove redundant compose sequences with the deprecated 'underbar'
1132e9628295Smrg    
1133e9628295Smrg    The key symbol 'underbar' is equivalent to 'underscore' -- the mirror
1134e9628295Smrg    compose sequences with the latter symbol continue to exist.
1135e9628295Smrg    
1136e9628295Smrg    Also, no keyboard layout in the past fifteen years has contained the
1137e9628295Smrg    symbol 'underbar' on any key -- except a Telugu layout since a few
1138e9628295Smrg    years, but that will be corrected soon.
1139e9628295Smrg    
1140e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1141e9628295Smrg
1142e9628295Smrgcommit 86e9749ef37189486c205ee7f77e43fed655ac70
1143e9628295SmrgAuthor: ArenaL5 <arenal5@protonmail.com>
1144e9628295SmrgDate:   Sat Jan 15 16:20:56 2022 +0100
1145e9628295Smrg
1146e9628295Smrg    nls: add a compose sequence for the middle dot (·) using dead_circumflex
1147e9628295Smrg    
1148e9628295Smrg    This makes the middle dot compose sequences consistent with others that
1149e9628295Smrg    begin with <dead_circumflex> and <Multi_key> <asciicircum>, e.g.
1150e9628295Smrg    superscripted 3 (³)
1151e9628295Smrg    
1152e9628295Smrg    Signed-off-by: ArenaL5 <arenal5@protonmail.com>
1153e9628295Smrg
1154e9628295Smrgcommit 1adb531cd5be2b6489c2a8106e850e7418fae056
1155e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1156e9628295SmrgDate:   Fri Jan 14 13:06:10 2022 +0100
1157e9628295Smrg
1158e9628295Smrg    docs: unwrap the comments of structure elements in the man pages
1159e9628295Smrg    
1160e9628295Smrg    It doesn't matter that these lines get wider than 80 columns, as it's
1161e9628295Smrg    easy enough to make the pager scroll a bit to the right, or to have a
1162e9628295Smrg    terminal that is a 100 or more columns wide.  It looks better to not
1163e9628295Smrg    hard-wrap these comments.
1164e9628295Smrg    
1165e9628295Smrg    Also, fix the layout of two table elements.
1166e9628295Smrg    
1167e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1168e9628295Smrg
1169e9628295Smrgcommit da330a1644f10f9669c8dd9ee06489c40f9f0bd1
1170e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1171e9628295SmrgDate:   Fri Jan 14 12:33:23 2022 +0100
1172e9628295Smrg
1173e9628295Smrg    docs: unwrap some mistakenly wrapped lines, and correct a comment
1174e9628295Smrg    
1175e9628295Smrg    The wrapped lines messed up the table.  Also, add some blank lines
1176e9628295Smrg    to make the table more readable.
1177e9628295Smrg    
1178e9628295Smrg    Elsewhere, add spaces around an operator (for consistency),
1179e9628295Smrg    and correct a copy-paste error.
1180e9628295Smrg    
1181e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1182e9628295Smrg
1183e9628295Smrgcommit b9e0346abebb0c9e5c80c780bba4372419e63bde
1184e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1185e9628295SmrgDate:   Fri Jan 14 15:57:56 2022 +0100
1186e9628295Smrg
1187e9628295Smrg    XKBMAlloc: use the correct first-key variable when extending a key range
1188e9628295Smrg    
1189e9628295Smrg    When extending the range of changed virtual-modifier keys, one should
1190e9628295Smrg    pass the two variables relevant to that range.
1191e9628295Smrg    
1192e9628295Smrg    These two mistakes were found by grepping for 'modmap_key' and then
1193e9628295Smrg    looking for asymmetries between the handling of the plain modmap thing
1194e9628295Smrg    and the virtual modmap thing.  Inspired by issue #76.
1195e9628295Smrg    
1196e9628295Smrg    (I suspect these mistakes were at the base of some intractable bugs
1197e9628295Smrg    reported against xkeyboard-config where virtual modifiers refused
1198e9628295Smrg    to work and had to be worked around by making other changes too.)
1199e9628295Smrg    
1200e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1201e9628295Smrg
1202e9628295Smrgcommit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0
1203e9628295SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1204e9628295SmrgDate:   Wed Jan 12 11:34:23 2022 +0100
1205e9628295Smrg
1206e9628295Smrg    lcUTF8: remove two unneeded ifs and two elses that are never reached
1207e9628295Smrg    
1208e9628295Smrg    When there is a break at the end of the while loop, it means that the
1209e9628295Smrg    loop will finish the first time that _XlcGetCharSetWithSide() returns
1210e9628295Smrg    a non-NULL result, which means that the first '(last_charset == NULL)'
1211e9628295Smrg    will always be true and the else part is redundant.
1212e9628295Smrg    
1213e9628295Smrg    Fixes issue #46.
1214e9628295Smrg    
1215e9628295Smrg    Reported-by: Bhavi Dhingra
1216e9628295Smrg    
1217e9628295Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1218e9628295Smrg
1219e9628295Smrgcommit 033f37d507801645a8251fd33c25ebd145d22cce
1220e9628295SmrgAuthor: Antti Savolainen <antti.savo@gmail.com>
1221e9628295SmrgDate:   Wed Jan 12 16:10:21 2022 +0000
1222e9628295Smrg
1223e9628295Smrg    nls: add two compose sequences for an upwards arrow using dead_circumflex
1224e9628295Smrg    
1225e9628295Smrg    Signed-off-by: Antti Savolainen <antti.savo@gmail.com>
1226e9628295Smrg
1227e9628295Smrgcommit b7d724df615311c35418afc733e1fcc68c740aba
1228e9628295SmrgAuthor: Hodong <hodong@nimfsoft.com>
1229e9628295SmrgDate:   Fri Jan 7 10:41:15 2022 +0000
1230e9628295Smrg
1231e9628295Smrg    specs/XIM: fix a missing "EXT" in the documentation
1232e9628295Smrg    
1233e9628295Smrg    There was an "EXT" in the original text, but it seems to be missing.
1234e9628295Smrg    
1235e9628295Smrg    See: https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/4e66da0783b2e5e3b288aaecd3c89396ed425c20/specs/XIM/xim.ms#L693
1236e9628295Smrg    
1237e9628295Smrg    Signed-off-by: Hodong Kim <hodong@nimfsoft.com>
1238e9628295Smrg
1239e9628295Smrgcommit 4c96f3567a8d045ee57b886fddc9618b71282530
1240e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1241e9628295SmrgDate:   Thu Dec 9 19:51:52 2021 -0800
1242e9628295Smrg
1243e9628295Smrg    libX11 1.7.3.1
1244e9628295Smrg    
1245e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1246e9628295Smrg
1247e9628295Smrgcommit c1710589bb00d6f442a383fc41f0d6496b436c88
1248e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1249e9628295SmrgDate:   Tue Dec 7 08:29:43 2021 -0800
1250e9628295Smrg
1251e9628295Smrg    specs/XIM: Fix "encording" typos
1252e9628295Smrg    
1253e9628295Smrg    Fixes: #145
1254e9628295Smrg    
1255e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1256e9628295Smrg
1257e9628295Smrgcommit e30771b4bbdd84fc7ff64a1cda483a46edb5707b
1258e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1259e9628295SmrgDate:   Mon Dec 6 17:04:14 2021 -0800
1260e9628295Smrg
1261e9628295Smrg    libX11 1.7.3
1262e9628295Smrg    
1263e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1264e9628295Smrg
1265e9628295Smrgcommit 934417b1e89fe715b9cf6c0d62a3867fa1f5bccb
1266e9628295SmrgAuthor: Liang Chang <l-chang@users.sourceforge.net>
1267e9628295SmrgDate:   Tue Sep 7 18:54:10 2021 +0800
1268e9628295Smrg
1269e9628295Smrg    Make Xutf8DrawString works correctly with ISO10646 fonts.
1270e9628295Smrg    
1271e9628295Smrg    Signed-off-by: Liang Chang <l-chang@users.sourceforge.net>
1272e9628295Smrg
1273e9628295Smrgcommit 3ad36c5d3ddca3e4c97faaf87b72a53954d1f473
1274e9628295SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1275e9628295SmrgDate:   Thu Dec 2 17:48:55 2021 -0800
1276e9628295Smrg
1277e9628295Smrg    Build xz tarballs instead of bzip2
1278e9628295Smrg    
1279e9628295Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1280e9628295Smrg
1281e9628295Smrgcommit 93a050c3ad2d2264d3880db3791387b1a9bf2e9e
1282e9628295SmrgAuthor: Tatu Frisk <tatu.frisk@ge.com>
1283e9628295SmrgDate:   Tue Mar 14 14:41:27 2017 +0200
1284e9628295Smrg
1285e9628295Smrg    Fix hanging issue in _XReply
1286e9628295Smrg    
1287e9628295Smrg    Assume event queue is empty if another thread is blocking waiting for event.
1288e9628295Smrg    
1289e9628295Smrg    If one thread was blocking waiting for an event and another thread sent a
1290e9628295Smrg    reply to the X server, both threads got blocked until an event was
1291e9628295Smrg    received.
1292e9628295Smrg    
1293e9628295Smrg    Signed-off-by: Tatu Frisk <tatu.frisk@ge.com>
1294e9628295Smrg    Signed-off-by: Jose Alarcon <jose.alarcon@ge.com>
1295e9628295Smrg
1296e9628295Smrgcommit 8382253010267b93c9aeffc769e3f5e43d698094
1297e9628295SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
1298e9628295SmrgDate:   Mon Aug 30 21:47:09 2021 +0200
1299e9628295Smrg
1300e9628295Smrg    Avoid NULL pointer deref. Fixes issue #47.
1301e9628295Smrg    
1302e9628295Smrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
1303e9628295Smrg
1304e9628295Smrgcommit 58d7b540c453601faf942c6f19f8277a5c5f78cc
1305e9628295SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
1306e9628295SmrgDate:   Wed Dec 1 14:31:16 2021 +1000
1307e9628295Smrg
1308e9628295Smrg    gitlab CI: update to use the ci-fairy image
1309e9628295Smrg    
1310e9628295Smrg    Let's use the pre-prepared image instead of building our own.
1311e9628295Smrg    
1312e9628295Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1313e9628295Smrg
1314e9628295Smrgcommit 150154c994829f9f3734a560f99f70b21d86b49c
1315e9628295SmrgAuthor: Hodong <hodong@nimfsoft.com>
1316e9628295SmrgDate:   Sun Nov 14 06:36:42 2021 +0000
1317e9628295Smrg
1318e9628295Smrg    Fix a typo
1319e9628295Smrg
1320e9628295Smrgcommit 2356e59ff24f8d1b25cdc4dffc5171c65dc2b86e
1321e9628295SmrgAuthor: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
1322e9628295SmrgDate:   Sun Sep 5 10:25:38 2021 +0300
1323e9628295Smrg
1324e9628295Smrg    libX11: do not crash in GetResReq() macro
1325e9628295Smrg    
1326e9628295Smrg    When _XGetRequest() detects that requested length exceeds remaining display
1327e9628295Smrg    output buffer capacity it would return NULL. GetResReq() macro obtains "req"
1328e9628295Smrg    pointer from a call to _XGetRequest() and then proceeds to assign request id
1329e9628295Smrg    through "req" pointer which leads to NULL pointer dereference in this case.
1330e9628295Smrg    
1331e9628295Smrg    Fix this by checking if "req" is valid before assigning request id.
1332e9628295Smrg    
1333e9628295Smrg    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
1334e9628295Smrg
1335e9628295Smrgcommit e92efc63acd7b377faa9e534f4bf52aaa86be2a9
1336e9628295SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
1337e9628295SmrgDate:   Tue Jul 27 11:46:19 2021 +1000
1338e9628295Smrg
1339e9628295Smrg    makekeys: handle the new _EVDEVK xorgproto symbols
1340e9628295Smrg    
1341e9628295Smrg    These keys are all defined through a macro in the form:
1342e9628295Smrg       #define XF86XK_BrightnessAuto                _EVDEVK(0x0F4)
1343e9628295Smrg    
1344e9628295Smrg    The _EVDEVK macro is simply an offset of 0x10081000.
1345e9628295Smrg    Let's parse these lines correctly so those keysyms end up in our
1346e9628295Smrg    hashtables.
1347e9628295Smrg    
1348e9628295Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1349e9628295Smrg
1350e9628295Smrgcommit d01d23374107f6fc55511f02559cf75be7bdf448
1351e9628295SmrgAuthor: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
1352e9628295SmrgDate:   Wed Jun 16 12:17:04 2021 +0100
1353e9628295Smrg
1354e9628295Smrg    Avoid undefined behaviour after realloc()
1355e9628295Smrg    
1356e9628295Smrg    Adding the offset between the realloc result and the old allocation to
1357e9628295Smrg    update pointers into the new allocation is undefined behaviour: the
1358e9628295Smrg    old pointers are no longer valid after realloc() according to the C
1359e9628295Smrg    standard. While this works on almost all architectures and compilers,
1360e9628295Smrg    it causes  problems on architectures that track pointer bounds (e.g.
1361e9628295Smrg    CHERI or Arm's Morello): the value_list pointers will still have the
1362e9628295Smrg    bounds of the previous allocation and therefore any dereference will
1363e9628295Smrg    result in a run-time trap.
1364e9628295Smrg    
1365e9628295Smrg    I found this due to a crash (dereferencing an invalid capability) while
1366e9628295Smrg    trying to run `xev` over SSH on a CHERI-RISC-V system. With these two
1367e9628295Smrg    realloc changes, and https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/41
1368e9628295Smrg    I am able to succesfully run `xev` compiled for CHERI-RISC-V.
1369e9628295Smrg    
1370e9628295Smrg    Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
1371e9628295Smrg
1372e9628295Smrgcommit 1c845834a32421abb59408aee259ac0bef054d30
1373e9628295SmrgAuthor: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
1374e9628295SmrgDate:   Tue Jun 15 08:46:53 2021 +0100
1375e9628295Smrg
1376e9628295Smrg    Fix cross-compilation from macOS
1377e9628295Smrg    
1378e9628295Smrg    We can't use `LC_CTYPE=C sed` there since /usr/bin/sed is not compatible
1379e9628295Smrg    with the expressions in nls/ (`sed: RE error: illegal byte sequence`).
1380e9628295Smrg    To fix this use $(SED) instead which autotools will set to a GNU
1381e9628295Smrg    version of sed (usually /usr/local/bin/gsed) on macOS.
1382e9628295Smrg    
1383e9628295Smrg    Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
1384e9628295Smrg
1385e9628295Smrgcommit 401f58f8ba258d4e7ce56a8f756595b72e544c15
1386e9628295SmrgAuthor: Lev Korol <epicatsupercell@gmail.com>
1387e9628295SmrgDate:   Sun Apr 11 21:57:45 2021 +0300
1388e9628295Smrg
1389e9628295Smrg    nls: Add en_IL locale
1390e9628295Smrg    
1391e9628295Smrg    Signed-off-by: Lev Korol <epicatsupercell@gmail.com>
1392e9628295Smrg
139303ea5dc6Smrgcommit f906fe8e9769e4313294b68e61c402610ade69da
139403ea5dc6SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
139503ea5dc6SmrgDate:   Sat Jun 5 09:12:13 2021 -0700
139603ea5dc6Smrg
139703ea5dc6Smrg    libX11 1.7.2
139803ea5dc6Smrg    
139903ea5dc6Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
140003ea5dc6Smrg
140103ea5dc6Smrgcommit 51b73ac0acda65005c8a9f17ca4ea7281b00ca84
140203ea5dc6SmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org>
140303ea5dc6SmrgDate:   Sun May 23 15:05:17 2021 +0200
140403ea5dc6Smrg
140503ea5dc6Smrg    Protect against overly long strings
140603ea5dc6Smrg    
140703ea5dc6Smrg    Checking against upper limit of USHRT_MAX must happen before truncating
140803ea5dc6Smrg    size_t to int. On 64 bit systems with strings larger than 2 GB this
140903ea5dc6Smrg    could otherwise lead to negative ints or ints smaller than USHRT_MAX.
141003ea5dc6Smrg    
141103ea5dc6Smrg    In XParseColor this could lead to out of boundary access with strings
141203ea5dc6Smrg    starting with a # (color sequence). A modulo 12 operation is performed
141303ea5dc6Smrg    to validate the string length, but with an overflown length, the for
141403ea5dc6Smrg    loop would eventually read behind terminating '\0' character.
141503ea5dc6Smrg    
141603ea5dc6Smrg    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
141703ea5dc6Smrg
141803ea5dc6Smrgcommit ab2f59530b16bdfbf023b8e025c7c8aba3b6fd0c
141903ea5dc6SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
142003ea5dc6SmrgDate:   Sun May 30 16:33:48 2021 +0200
142103ea5dc6Smrg
142203ea5dc6Smrg    Check for NULL strings before getting their lengths
142303ea5dc6Smrg    
142403ea5dc6Smrg    Problem reported by Karsten Trulsen
142503ea5dc6Smrg    
142603ea5dc6Smrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
142703ea5dc6Smrg
142803ea5dc6Smrgcommit a8216e8653a246db664e1443ecf707b27de65067
142903ea5dc6SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
143003ea5dc6SmrgDate:   Sat May 22 17:35:47 2021 +0200
143103ea5dc6Smrg
143203ea5dc6Smrg    include <limits.h> always, not if HAVE_CONFIG_H is set.
143303ea5dc6Smrg    
143403ea5dc6Smrg    via Matthew Green from the NetBSD project
143503ea5dc6Smrg    
143603ea5dc6Smrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
143703ea5dc6Smrg
14389c927599Smrgcommit 6953a586df4819143c4d55e011b3a5e5377981b8
14399c927599SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
14409c927599SmrgDate:   Tue May 18 15:27:58 2021 +0200
14419c927599Smrg
14429c927599Smrg    Version 1.7.1
14439c927599Smrg    
14449c927599Smrg    Release notes in README.md, version bump in configure.ac
14459c927599Smrg
14469c927599Smrgcommit 8d2e02ae650f00c4a53deb625211a0527126c605
14479c927599SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
14489c927599SmrgDate:   Fri Feb 19 15:30:39 2021 +0100
14499c927599Smrg
14509c927599Smrg    Reject string longer than USHRT_MAX before sending them on the wire
14519c927599Smrg    
14529c927599Smrg    The X protocol uses CARD16 values to represent the length so
14539c927599Smrg    this would overflow.
14549c927599Smrg    
14559c927599Smrg    CVE-2021-31535
14569c927599Smrg    
14579c927599Smrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
14589c927599Smrg
14599c927599Smrgcommit 838ea5a5a0267c25b20c095c9a70684edeeefba4
14609c927599SmrgAuthor: Gaurav Ujjwal <gujjwal00@gmail.com>
14619c927599SmrgDate:   Sun May 9 05:04:36 2021 +0000
14629c927599Smrg
14639c927599Smrg    Fix out-of-bound access in KeySymToUcs4()
14649c927599Smrg    
14659c927599Smrg    Array `keysym_to_unicode_590_5fe` is only valid for range  [0x590, 0x5fe] but current lower-bound is checked against 0x589.
14669c927599Smrg    
14679c927599Smrg    So invalid values from 0x58a to 0x58f are being allowed by current check.
14689c927599Smrg    
14699c927599Smrg    If any of these invalid value is passed as `keysym`,    `keysym - 0x590` would underflow.
14709c927599Smrg    
14719c927599Smrg    Signed-off-by: Gaurav Ujjwal <gujjwal00@gmail.com>
14729c927599Smrg
14739c927599Smrgcommit 32491b02c76ac22f99dc433a32466e22bdc181a7
14749c927599SmrgAuthor: Christopher Chavez <chrischavez@gmx.us>
14759c927599SmrgDate:   Mon May 3 15:46:44 2021 +0000
14769c927599Smrg
14779c927599Smrg    Xlib.h: spelling fix in comment
14789c927599Smrg
14799c927599Smrgcommit 5faa8dc0b364f55f19034c370436074646d9ad54
14809c927599SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
14819c927599SmrgDate:   Tue Nov 24 18:54:24 2020 +0100
14829c927599Smrg
14839c927599Smrg    nls: adjust three comments about the APL compose sequences
14849c927599Smrg    
14859c927599Smrg    Commit 0bbc0d5e605e (from eight years ago) removed the lines that two
14869c927599Smrg    of these comments referred to.  Without those lines, the comments don't
14879c927599Smrg    make sense any more.  Reword and shorten them.
14889c927599Smrg    
14899c927599Smrg    Also reword a comment about two sequences that don't work.
14909c927599Smrg    
14919c927599Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
14929c927599Smrg
14939c927599Smrgcommit b126bfd7fe990b8c1df088f55c31d9b3fd440cde
14949c927599SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
14959c927599SmrgDate:   Tue Nov 24 12:23:32 2020 +0100
14969c927599Smrg
14979c927599Smrg    nls: allow composing all breved letters also with a lowercase "u"
14989c927599Smrg    
14999c927599Smrg    The letters ă and ŭ can already be composed with "u a" and "u u", but
15009c927599Smrg    ĕ, ğ, ĭ, and ŏ can be composed only with an uppercase U.  Emancipate
15019c927599Smrg    the latter four and understand also a lowercase "u" to mean 'breve'.
15029c927599Smrg    
15039c927599Smrg    (Yesterday I needed ğ and was annoyed that "u g" did not work.)
15049c927599Smrg    
15059c927599Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
15069c927599Smrg
15079c927599Smrgcommit 78027fdb7aa07621a3b7cdf37050bae39012f2fb
15089c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15099c927599SmrgDate:   Sat Nov 28 21:05:33 2020 +0100
15109c927599Smrg
15119c927599Smrg    fix same roff code
15129c927599Smrg    
15139c927599Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
15149c927599Smrg
15159c927599Smrgcommit 4f15cfc64548098fef3ddd24f7359b76cf1bbda7
15169c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15179c927599SmrgDate:   Sat Nov 28 20:56:35 2020 +0100
15189c927599Smrg
15199c927599Smrg    Fix some roff code add see also
15209c927599Smrg    
15219c927599Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
15229c927599Smrg
15239c927599Smrgcommit daa106927f78e6c5c9c36558a4b951d7cb58a8d1
15249c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15259c927599SmrgDate:   Sat Nov 28 17:49:25 2020 +0100
15269c927599Smrg
15279c927599Smrg    fix broken nroff coding for code comments
15289c927599Smrg    
15299c927599Smrg    the comments /* */ are code as /\(**  */ that does not work.
15309c927599Smrg    the coding in other X11 man pages is /\&* */ so we do the same here.
15319c927599Smrg
15329c927599Smrgcommit 7bdeae239b17db002964ac73d06f43f216d1cf86
15339c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15349c927599SmrgDate:   Fri Nov 27 22:43:21 2020 +0100
15359c927599Smrg
15369c927599Smrg    FIX: warning: macro `hN' not defined
15379c927599Smrg    
15389c927599Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
15399c927599Smrg
15409c927599Smrgcommit b7ec67d3ea78ab68857328d8f72d923324e68cc2
15419c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15429c927599SmrgDate:   Fri Nov 27 22:26:15 2020 +0100
15439c927599Smrg
15449c927599Smrg    FIX: warning: macro `IN' not defined
15459c927599Smrg    
15469c927599Smrg    just remove an other dead macro use.
15479c927599Smrg
15489c927599Smrgcommit 7ca3ceb9175a829a40c347cb3b2e98341ec5a2df
15499c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15509c927599SmrgDate:   Fri Nov 27 21:58:04 2020 +0100
15519c927599Smrg
15529c927599Smrg    fix warning: macro `s' not defined
15539c927599Smrg    
15549c927599Smrg    this is caused by bad nroff coding, fix some more issues on the fly
15559c927599Smrg
15569c927599Smrgcommit 14fb4e535626ba934cad5bc4308f511524cd1103
15579c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15589c927599SmrgDate:   Fri Nov 27 20:04:22 2020 +0100
15599c927599Smrg
15609c927599Smrg    FIX: warning: macro `hN' not defined
15619c927599Smrg    
15629c927599Smrg    this was found by checking man pages with
15639c927599Smrg     groff -t -mandoc -Z  -wmac -Tutf8 $FILE >/dev/null
15649c927599Smrg    
15659c927599Smrg    In most cases .hN could be replaced with .BR
15669c927599Smrg    
15679c927599Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
15689c927599Smrg
15699c927599Smrgcommit cb03da4447aa53e8e5382f124917d89b50148036
15709c927599SmrgAuthor: Walter Harms <wharms@bfs.de>
15719c927599SmrgDate:   Fri Nov 27 19:00:00 2020 +0100
15729c927599Smrg
15739c927599Smrg    FIX: warning: macro `Pn' not defined
15749c927599Smrg    
15759c927599Smrg    The missing macro is found via:
15769c927599Smrg    roff -t -mandoc -Z  -wmac -Tutf8 XAnyEvent.man >/dev/null
15779c927599Smrg    
15789c927599Smrg    To fix the problem the macro is replaced with .RB.
15799c927599Smrg    
15809c927599Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
15819c927599Smrg
15829c927599Smrgcommit cc9f8878f2cbe17c7b4035b4ff4352b52ece38e0
15839c927599SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
15849c927599SmrgDate:   Wed Nov 25 16:58:27 2020 +0100
15859c927599Smrg
15869c927599Smrg    nls: add 'C.utf8' as an alias for 'en_US.UTF-8'
15879c927599Smrg    
15889c927599Smrg    The normal form is 'C.UTF-8', but 'C.utf8' has been seen in the wild.
15899c927599Smrg    
15909c927599Smrg    Fixes #102.
15919c927599Smrg    
15929c927599Smrg    Reported-by: Tomas Korbar
15939c927599Smrg    
15949c927599Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
15959c927599Smrg
1596d4a3aaf4Smrgcommit ca8115186f810eccb7d86b0979980eff3ba95f0b
1597d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com>
1598d4a3aaf4SmrgDate:   Thu Nov 19 11:30:41 2020 -0800
1599d4a3aaf4Smrg
1600d4a3aaf4Smrg    Version 1.7.0
1601d4a3aaf4Smrg    
1602d4a3aaf4Smrg    Release notes in README.md, version bump in configure.ac
1603d4a3aaf4Smrg    
1604d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1605d4a3aaf4Smrg
1606d4a3aaf4Smrgcommit 325ac177fb6d38f4c7689d9ce059792eaef388ef
1607d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com>
1608d4a3aaf4SmrgDate:   Mon Nov 16 15:48:40 2020 -0800
1609d4a3aaf4Smrg
1610d4a3aaf4Smrg    Update libX11 .so version to 6.4.0
1611d4a3aaf4Smrg    
1612d4a3aaf4Smrg    There have been API additions since the previous release, so the
1613d4a3aaf4Smrg    .so version needs to change.
1614d4a3aaf4Smrg    
1615d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1616d4a3aaf4Smrg
1617d4a3aaf4Smrgcommit 103e2e11519984aa5746c06e7d90d1f5bc8174a3
1618d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1619d4a3aaf4SmrgDate:   Sat Oct 31 09:24:01 2020 -0700
1620d4a3aaf4Smrg
1621d4a3aaf4Smrg    Don't leave dangling pointers in Free functions
1622d4a3aaf4Smrg    
1623d4a3aaf4Smrg    While these are mostly called during teardown of larger structures
1624d4a3aaf4Smrg    that are about to themselves be freed, there's no guarantee that
1625d4a3aaf4Smrg    will always be the case, so try to be safer here.
1626d4a3aaf4Smrg    
1627d4a3aaf4Smrg    [ This bug was found by the Parfait 4.0 bug checking tool.
1628d4a3aaf4Smrg      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
1629d4a3aaf4Smrg    
1630d4a3aaf4Smrg    v2: Deduplicate & simplify pointer clearing in _XFreeEventCookies
1631d4a3aaf4Smrg        as suggested by @keithp
1632d4a3aaf4Smrg    
1633d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1634d4a3aaf4Smrg
1635d4a3aaf4Smrgcommit 7d70e302218e2ec8518548ddcdc02d828e7889af
1636d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1637d4a3aaf4SmrgDate:   Sat Oct 31 08:56:34 2020 -0700
1638d4a3aaf4Smrg
1639d4a3aaf4Smrg    XimProto.h: wrap XIM_HEADER_SIZE definition in parens
1640d4a3aaf4Smrg    
1641d4a3aaf4Smrg    Resolves parfait warning of potential macro misinterpretation if
1642d4a3aaf4Smrg    expanded in the midst of other arithmetic operations with higher
1643d4a3aaf4Smrg    precedence.
1644d4a3aaf4Smrg    
1645d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1646d4a3aaf4Smrg
1647d4a3aaf4Smrgcommit a3c0b5dbd6b12ae64bc78b11795647a7f6df0c7a
1648d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com>
1649d4a3aaf4SmrgDate:   Tue Nov 17 13:15:18 2020 -0800
1650d4a3aaf4Smrg
1651d4a3aaf4Smrg    Copy locale modifiers when creating XimInstCallback [v2]
1652d4a3aaf4Smrg    
1653d4a3aaf4Smrg    Locale modifiers may be freed whenever XSetLocaleModifiers gets
1654d4a3aaf4Smrg    called, even if the locale hasn't changed. This means that we cannot
1655d4a3aaf4Smrg    save a pointer to those modifiers in the XimInstCallback record and
1656d4a3aaf4Smrg    must, instead, make a copy of them instead.
1657d4a3aaf4Smrg    
1658d4a3aaf4Smrg    This fixes a problem uncovered when running wish under libasan as
1659d4a3aaf4Smrg    follows (on current Debian unstable):
1660d4a3aaf4Smrg    
1661d4a3aaf4Smrg            $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.6 wish
1662d4a3aaf4Smrg    
1663d4a3aaf4Smrg    Reported-by: Vittorio Zecca <zeccav@gmail.com>
1664d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1665d4a3aaf4Smrg    
1666d4a3aaf4Smrg    v2:
1667d4a3aaf4Smrg            Remove incorrect 'else' token found by @alanc
1668d4a3aaf4Smrg
1669d4a3aaf4Smrgcommit 960e2e0cfac12c3477c672d0d40818a0dc74aca5
1670d4a3aaf4SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
1671d4a3aaf4SmrgDate:   Mon Nov 16 09:34:57 2020 +1000
1672d4a3aaf4Smrg
1673d4a3aaf4Smrg    gitlab CI: add a basic build test
1674d4a3aaf4Smrg    
1675d4a3aaf4Smrg    Using Arch as base distribution here because we can expect our dependencies to
1676d4a3aaf4Smrg    be up-to-date. We rely on the Arch for our dependencies rather than building
1677d4a3aaf4Smrg    those from git (notably: xorg-macros, xtrans and libxcb).
1678d4a3aaf4Smrg    
1679d4a3aaf4Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1680d4a3aaf4Smrg
1681d4a3aaf4Smrgcommit dbb55e1a5e82870466b095097d9e46046680ec25
1682d4a3aaf4SmrgAuthor: Frediano Ziglio <fziglio@redhat.com>
1683d4a3aaf4SmrgDate:   Wed Jan 29 09:06:54 2020 +0000
1684d4a3aaf4Smrg
1685d4a3aaf4Smrg    Fix poll_for_response race condition
1686d4a3aaf4Smrg    
1687d4a3aaf4Smrg    In poll_for_response is it possible that event replies are skipped
1688d4a3aaf4Smrg    and a more up to date message reply is returned.
1689d4a3aaf4Smrg    This will cause next poll_for_event call to fail aborting the program.
1690d4a3aaf4Smrg    
1691d4a3aaf4Smrg    This was proved using some slow ssh tunnel or using some program
1692d4a3aaf4Smrg    to slow down server replies (I used a combination of xtrace and strace).
1693d4a3aaf4Smrg    
1694d4a3aaf4Smrg    How the race happens:
1695d4a3aaf4Smrg    - program enters into poll_for_response;
1696d4a3aaf4Smrg    - poll_for_event is called but the server didn't still send the reply;
1697d4a3aaf4Smrg    - pending_requests is not NULL because we send a request (see call
1698d4a3aaf4Smrg      to  append_pending_request in _XSend);
1699d4a3aaf4Smrg    - xcb_poll_for_reply64 is called from poll_for_response;
1700d4a3aaf4Smrg    - xcb_poll_for_reply64 will read from server, at this point
1701d4a3aaf4Smrg      server reply with an event (say sequence N) and the reply to our
1702d4a3aaf4Smrg      last request (say sequence N+1);
1703d4a3aaf4Smrg    - xcb_poll_for_reply64 returns the reply for the request we asked;
1704d4a3aaf4Smrg    - last_request_read is set to N+1 sequence in poll_for_response;
1705d4a3aaf4Smrg    - poll_for_response returns the response to the request;
1706d4a3aaf4Smrg    - poll_for_event is called (for instance from another poll_for_response);
1707d4a3aaf4Smrg    - event with sequence N is retrieved;
1708d4a3aaf4Smrg    - the N sequence is widen, however, as the "new" number computed from
1709d4a3aaf4Smrg      last_request_read is less than N the number is widened to N + 2^32
1710d4a3aaf4Smrg      (assuming last_request_read is still contained in 32 bit);
1711d4a3aaf4Smrg    - poll_for_event enters the nested if statement as req is NULL;
1712d4a3aaf4Smrg    - we compare the widen N (which now does not fit into 32 bit) with
1713d4a3aaf4Smrg      request (which fits into 32 bit) hitting the throw_thread_fail_assert.
1714d4a3aaf4Smrg    
1715d4a3aaf4Smrg    To avoid the race condition and to avoid the sequence to go back
1716d4a3aaf4Smrg    I check again for new events after getting the response and
1717d4a3aaf4Smrg    return this last event if present saving the reply to return it
1718d4a3aaf4Smrg    later.
1719d4a3aaf4Smrg    
1720d4a3aaf4Smrg    To test the race and the fix it's helpful to add a delay (I used a
1721d4a3aaf4Smrg    "usleep(5000)") before calling xcb_poll_for_reply64.
1722d4a3aaf4Smrg    
1723d4a3aaf4Smrg    Original patch written by Frediano Ziglio, see
1724d4a3aaf4Smrg    https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/34
1725d4a3aaf4Smrg    
1726d4a3aaf4Smrg    Reworked primarily for readability by Peter Hutterer, see
1727d4a3aaf4Smrg    https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/53
1728d4a3aaf4Smrg    
1729d4a3aaf4Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1730d4a3aaf4Smrg
1731d4a3aaf4Smrgcommit 30ccef3a48029bf4fc31d4abda2d2778d0ad6277
1732d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com>
1733d4a3aaf4SmrgDate:   Sat Nov 7 22:22:47 2020 -0800
1734d4a3aaf4Smrg
1735d4a3aaf4Smrg    Avoid recursing through _XError due to sequence adjustment
1736d4a3aaf4Smrg    
1737d4a3aaf4Smrg    This patch is based on research done by Dmitry Osipenko to uncover the
1738d4a3aaf4Smrg    cause of a large class of Xlib lockups.
1739d4a3aaf4Smrg    
1740d4a3aaf4Smrg    _XError must unlock and re-lock the display around the call to the
1741d4a3aaf4Smrg    user error handler function. When re-locking the display, two
1742d4a3aaf4Smrg    functions are called to ensure that the display is ready to generate a request:
1743d4a3aaf4Smrg    
1744d4a3aaf4Smrg        _XIDHandler(dpy);
1745d4a3aaf4Smrg        _XSeqSyncFunction(dpy);
1746d4a3aaf4Smrg    
1747d4a3aaf4Smrg    The first ensures that there is at least one XID available to use
1748d4a3aaf4Smrg    (possibly calling _xcb_generate_id to do so). The second makes sure a
1749d4a3aaf4Smrg    reply is received at least every 65535 requests to keep sequence
1750d4a3aaf4Smrg    numbers in sync (possibly generating a GetInputFocus request and
1751d4a3aaf4Smrg    synchronously awaiting the reply).
1752d4a3aaf4Smrg    
1753d4a3aaf4Smrg    If the second of these does generate a GetInputFocus request and wait
1754d4a3aaf4Smrg    for the reply, then a pending error will cause recursion into _XError,
1755d4a3aaf4Smrg    which deadlocks the display.
1756d4a3aaf4Smrg    
1757d4a3aaf4Smrg    One seemingly easy fix is to have _XError avoid those calls by
1758d4a3aaf4Smrg    invoking InternalLockDisplay instead of LockDisplay. That function
1759d4a3aaf4Smrg    does everything that LockDisplay does *except* call those final two
1760d4a3aaf4Smrg    functions which may end up receiving an error.
1761d4a3aaf4Smrg    
1762d4a3aaf4Smrg    However, that doesn't protect the system from applications which call
1763d4a3aaf4Smrg    some legal Xlib function from within their error handler. Any Xlib
1764d4a3aaf4Smrg    function which cannot generate protocol or wait for events is valid,
1765d4a3aaf4Smrg    including many which invoke LockDisplay.
1766d4a3aaf4Smrg    
1767d4a3aaf4Smrg    What we need to do is make LockDisplay skip these two function calls
1768d4a3aaf4Smrg    precisely when it is called from within the _XError context for the
1769d4a3aaf4Smrg    same display.
1770d4a3aaf4Smrg    
1771d4a3aaf4Smrg    This patch accomplishes this by creating a list of threads in the
1772d4a3aaf4Smrg    display which are in _XError, and then having LockDisplay check the
1773d4a3aaf4Smrg    current thread against those list elements.
1774d4a3aaf4Smrg    
1775d4a3aaf4Smrg    Inspired-by: Dmitry Osipenko <digetx@gmail.com>
1776d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1777d4a3aaf4Smrg    Tested-by: Dmitry Osipenko <digetx@gmail.com>
1778d4a3aaf4Smrg    Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
1779d4a3aaf4Smrg
1780d4a3aaf4Smrgcommit c9c4d6efbf92ab51695e2e740319503221d68eed
1781d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1782d4a3aaf4SmrgDate:   Fri Nov 13 11:34:04 2020 +0100
1783d4a3aaf4Smrg
1784d4a3aaf4Smrg    nls: improve the comments for the Serbian compose sequences
1785d4a3aaf4Smrg    
1786d4a3aaf4Smrg    Also put an extra space before the lone combining characters
1787d4a3aaf4Smrg    so they have some room to breathe.
1788d4a3aaf4Smrg    
1789d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1790d4a3aaf4Smrg
1791d4a3aaf4Smrgcommit 3497dae3d9c52a252110b2a0983b82000be0fe8e
1792d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1793d4a3aaf4SmrgDate:   Fri Nov 13 11:23:09 2020 +0100
1794d4a3aaf4Smrg
1795d4a3aaf4Smrg    nls: remove mistaken Serbian compose sequences with combining diacritics
1796d4a3aaf4Smrg    
1797d4a3aaf4Smrg    Combining characters are not dead keys -- they have an immediate effect
1798d4a3aaf4Smrg    and combine with the preceding character.  So they cannot be used in
1799d4a3aaf4Smrg    compose sequences.
1800d4a3aaf4Smrg    
1801d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1802d4a3aaf4Smrg
1803d4a3aaf4Smrgcommit 5cd60398b7787297008b13a848ed3cfbd7ef178d
1804d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1805d4a3aaf4SmrgDate:   Mon Nov 2 16:34:39 2020 +0100
1806d4a3aaf4Smrg
1807d4a3aaf4Smrg    nls: rename the obsolete sr_CS locale to sr_RS
1808d4a3aaf4Smrg    
1809d4a3aaf4Smrg    Fixes #107, for the most part.
1810d4a3aaf4Smrg    
1811d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1812d4a3aaf4Smrg
1813d4a3aaf4Smrgcommit 7cf1729590534e257b851899cf03421b65c538e3
1814d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com>
1815d4a3aaf4SmrgDate:   Sat Nov 7 17:02:56 2020 -0800
1816d4a3aaf4Smrg
1817d4a3aaf4Smrg    Don't attempt to unload locale context data
1818d4a3aaf4Smrg    
1819d4a3aaf4Smrg    Most locale context users call _XlcCurrentLC, which returns a pointer
1820d4a3aaf4Smrg    which never needs to be passed to _XCloseLC, meaning it has unbounded
1821d4a3aaf4Smrg    lifetime, so that locale data can never be freed.
1822d4a3aaf4Smrg    
1823d4a3aaf4Smrg    Remove all reference counting and just leave all locales that were
1824d4a3aaf4Smrg    ever used in memory.
1825d4a3aaf4Smrg    
1826d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1827d4a3aaf4Smrg    Acked-by: Martin Peres <martin.peres@mupuf.org>
1828d4a3aaf4Smrg
1829d4a3aaf4Smrgcommit 87a8fd8051b823636c3c4f3c37c4cfd11fdb880d
1830d4a3aaf4SmrgAuthor: Jacek Caban <jacek@codeweavers.com>
1831d4a3aaf4SmrgDate:   Mon Aug 14 19:20:19 2017 +0200
1832d4a3aaf4Smrg
1833d4a3aaf4Smrg    Don't cache last lcd in _XlcCurrentLC.
1834d4a3aaf4Smrg    
1835d4a3aaf4Smrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678
1836d4a3aaf4Smrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538
1837d4a3aaf4Smrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088
1838d4a3aaf4Smrg    
1839d4a3aaf4Smrg    The way it's currently cached is not thread safe. As long as locale doesn't change, the same object is reused anyway.
1840d4a3aaf4Smrg    
1841d4a3aaf4Smrg    Signed-off-by: Jacek Caban <jacek@codeweavers.com>
1842d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1843d4a3aaf4Smrg    Acked-by: Martin Peres <martin.peres@mupuf.org>
1844d4a3aaf4Smrg
1845d4a3aaf4Smrgcommit 7a38c09b82ee2522d987c3da4af8af186e562c61
1846d4a3aaf4SmrgAuthor: Keith Packard <keithp@keithp.com>
1847d4a3aaf4SmrgDate:   Sat Nov 7 16:59:37 2020 -0800
1848d4a3aaf4Smrg
1849d4a3aaf4Smrg    Don't cache converters in _Xlcmbtowc and Xlcwctomb
1850d4a3aaf4Smrg    
1851d4a3aaf4Smrg    These functions were caching encoding conversion functions in static
1852d4a3aaf4Smrg    variables which is not thread safe. Let the conversion loader do its
1853d4a3aaf4Smrg    job and cache locale to converters there. It's less efficient, but
1854d4a3aaf4Smrg    it's also (now) thread safe.
1855d4a3aaf4Smrg    
1856d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1857d4a3aaf4Smrg    Acked-by: Martin Peres <martin.peres@mupuf.org>
1858d4a3aaf4Smrg
1859d4a3aaf4Smrgcommit b52ba5c209165fc2c533b77b86147b31763299f3
1860d4a3aaf4SmrgAuthor: Jacek Caban <jacek@codeweavers.com>
1861d4a3aaf4SmrgDate:   Mon Aug 14 19:20:20 2017 +0200
1862d4a3aaf4Smrg
1863d4a3aaf4Smrg    Make conv_list thread safe.
1864d4a3aaf4Smrg    
1865d4a3aaf4Smrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678
1866d4a3aaf4Smrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538
1867d4a3aaf4Smrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088
1868d4a3aaf4Smrg    Signed-off-by: Jacek Caban <jacek@codeweavers.com>
1869d4a3aaf4Smrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1870d4a3aaf4Smrg    Acked-by: Martin Peres <martin.peres@mupuf.org>
1871d4a3aaf4Smrg
1872d4a3aaf4Smrgcommit 8b5ce3a9b1219c81711944880e5a1e1cfad3d956
1873d4a3aaf4SmrgAuthor: Antti Savolainen <antti.savo@gmail.com>
1874d4a3aaf4SmrgDate:   Wed Sep 16 07:47:26 2020 +0000
1875d4a3aaf4Smrg
1876d4a3aaf4Smrg    Added DOWNWARD ARROW support
1877d4a3aaf4Smrg
1878d4a3aaf4Smrgcommit 7138826dccba9d538dfb142ce9af1a40d64ea849
1879d4a3aaf4SmrgAuthor: Antti Savolainen <antti.savo@gmail.com>
1880d4a3aaf4SmrgDate:   Tue Sep 8 00:54:23 2020 +0300
1881d4a3aaf4Smrg
1882d4a3aaf4Smrg    Added support for UPWARDS ARROW and ALMOST EQUAL TO
1883d4a3aaf4Smrg    
1884d4a3aaf4Smrg    Signed-off-by: Antti Savolainen <antti.savo@gmail.com>
1885d4a3aaf4Smrg
1886d4a3aaf4Smrgcommit 56d59299f7433cdeb88bac970b06eb7df44df5bb
1887d4a3aaf4SmrgAuthor: Jonathan Belsewir <jonbel@jonasund.de>
1888d4a3aaf4SmrgDate:   Thu Nov 5 22:57:50 2020 +0000
1889d4a3aaf4Smrg
1890d4a3aaf4Smrg    Add less and greater to characters that are difficult to access on some keyboards
1891d4a3aaf4Smrg
1892d4a3aaf4Smrgcommit 5caf45f8d3bebad5b72ac88545adc156ccfd754d
1893d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1894d4a3aaf4SmrgDate:   Fri Oct 23 17:12:22 2020 +0200
1895d4a3aaf4Smrg
1896d4a3aaf4Smrg    nls: Allow all letters with a caron to be composed also with v.
1897d4a3aaf4Smrg    
1898d4a3aaf4Smrg    It was strange that the accented letters Ž and ž can be composed with
1899d4a3aaf4Smrg    sequences that start with "v" ("v Z" and "v z"), but not Č and č and
1900d4a3aaf4Smrg    Š and š (and other letters with a caron).  For these letters, compose
1901d4a3aaf4Smrg    sequences that start with a "c" had to be used, which was frustrating
1902d4a3aaf4Smrg    because it is hard to remember that "c" stands for "caron", AND the
1903d4a3aaf4Smrg    graphically more obvious "v" is right next to it.
1904d4a3aaf4Smrg    
1905d4a3aaf4Smrg    (Unfortunately, the sequence "v l" is already taken for vertical line.
1906d4a3aaf4Smrg    Maybe the compose sequences for vertical line could be reduced to just
1907d4a3aaf4Smrg    "V L" and "L V"?)
1908d4a3aaf4Smrg    
1909d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1910d4a3aaf4Smrg
1911d4a3aaf4Smrgcommit 62de4ac9025e2cb3f62a890241c06ebc75acce62
1912d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1913d4a3aaf4SmrgDate:   Sun Nov 1 20:23:55 2020 +0100
1914d4a3aaf4Smrg
1915d4a3aaf4Smrg    nls: vertically align the target column of aliases
1916d4a3aaf4Smrg    
1917d4a3aaf4Smrg    Also improve the grammar of the initial comment.
1918d4a3aaf4Smrg    
1919d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1920d4a3aaf4Smrg
1921d4a3aaf4Smrgcommit f5b26a16ef959fc6860e9cf58b97a042600900b4
1922d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1923d4a3aaf4SmrgDate:   Sun Nov 1 20:17:05 2020 +0100
1924d4a3aaf4Smrg
1925d4a3aaf4Smrg    nls: remove some twenty aliases that have been obsolete for fifteen years
1926d4a3aaf4Smrg    
1927d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1928d4a3aaf4Smrg
1929d4a3aaf4Smrgcommit 3e61f3b49660e081108f06bc514366f1784cb2e0
1930d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1931d4a3aaf4SmrgDate:   Sun Nov 1 19:50:56 2020 +0100
1932d4a3aaf4Smrg
1933d4a3aaf4Smrg    nls: remove country-specific aliases for two constructed languages
1934d4a3aaf4Smrg    
1935d4a3aaf4Smrg    These artificial languages are meant to be international and are
1936d4a3aaf4Smrg    thus not specific to any country.  If one would want to support
1937d4a3aaf4Smrg    aliases like ia_FR or ia_CH, then one would also have to support
1938d4a3aaf4Smrg    ia_AU, ia_DE, ia_ES, et cetera, et cetera.  That would be silly.
1939d4a3aaf4Smrg    
1940d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1941d4a3aaf4Smrg
1942d4a3aaf4Smrgcommit 3f9c43adde22bb2ab4bef5837bc8401af9bb537c
1943d4a3aaf4SmrgAuthor: Benno Schulenberg <bensberg@telfort.nl>
1944d4a3aaf4SmrgDate:   Sun Nov 1 17:28:24 2020 +0100
1945d4a3aaf4Smrg
1946d4a3aaf4Smrg    nls: remove four aliases where the name is identical to the definition
1947d4a3aaf4Smrg    
1948d4a3aaf4Smrg    They were found with:
1949d4a3aaf4Smrg    
1950d4a3aaf4Smrg        while read one two; do
1951d4a3aaf4Smrg            if [[ $one == $two: ]]; then echo $two; fi;
1952d4a3aaf4Smrg        done  <nls/locale.alias.pre
1953d4a3aaf4Smrg    
1954d4a3aaf4Smrg    Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
1955d4a3aaf4Smrg
1956d4a3aaf4Smrgcommit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7
1957d4a3aaf4SmrgAuthor: Carlos Garnacho <carlosg@gnome.org>
1958d4a3aaf4SmrgDate:   Fri Jun 14 17:55:14 2019 +0200
1959d4a3aaf4Smrg
1960d4a3aaf4Smrg    Add XSetIOErrorExitHandler() function
1961d4a3aaf4Smrg    
1962d4a3aaf4Smrg    This function complements XSetIOErrorHandler(), allowing to override
1963d4a3aaf4Smrg    the default behavior that trusts on I/O errors never coming back
1964d4a3aaf4Smrg    (i.e. exit()ing the process).
1965d4a3aaf4Smrg    
1966d4a3aaf4Smrg    This is meant as a mechanism for Wayland compositors (that are too
1967d4a3aaf4Smrg    a X11 client + compositing manager) to unfasten seatbelts and jump
1968d4a3aaf4Smrg    through the car window. It might get lucky and land on a stack of
1969d4a3aaf4Smrg    pillows.
1970d4a3aaf4Smrg    
1971d4a3aaf4Smrg    In consequence, some functions labeled as _X_NORETURN can as a
1972d4a3aaf4Smrg    matter of fact return. So those hints were removed.
1973d4a3aaf4Smrg    
1974d4a3aaf4Smrg    Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
1975d4a3aaf4Smrg    Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
1976d4a3aaf4Smrg
1977d4a3aaf4Smrgcommit 4cb758019e374fa7c022fe79d28444e13441717b
1978d4a3aaf4SmrgAuthor: Carlos Garnacho <carlosg@gnome.org>
1979d4a3aaf4SmrgDate:   Fri Jun 14 17:54:47 2019 +0200
1980d4a3aaf4Smrg
1981d4a3aaf4Smrg    Prepare for _XIOError() possibly returning
1982d4a3aaf4Smrg    
1983d4a3aaf4Smrg    Ensure current state is cut short on _XIOError(), possible reentrancy
1984d4a3aaf4Smrg    should be skipped through the XlibDisplayIOError flag checks.
1985d4a3aaf4Smrg    
1986d4a3aaf4Smrg    Signed-off-by: Carlos Garnacho <carlosg@gnome.org>
1987d4a3aaf4Smrg    Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
1988d4a3aaf4Smrg
1989d4a3aaf4Smrgcommit a37986f7a7d4ae9b8292b132dbb0da2885ea919c
1990d4a3aaf4SmrgAuthor: Ross Burton <ross.burton@intel.com>
1991d4a3aaf4SmrgDate:   Wed Jan 22 17:11:23 2020 +0000
1992d4a3aaf4Smrg
1993d4a3aaf4Smrg    cpprules.in: squash whitespace in generated files
1994d4a3aaf4Smrg    
1995d4a3aaf4Smrg    CPP is used to generate files, but as cpp reads files from the build host the
1996d4a3aaf4Smrg    output has a number of blank lines at the beginning which varies depending on
1997d4a3aaf4Smrg    what GCC and friends is used.
1998d4a3aaf4Smrg    
1999d4a3aaf4Smrg    Pathalogical example:
2000d4a3aaf4Smrg    
2001d4a3aaf4Smrg     $ cpp -undef -traditional /dev/null
2002d4a3aaf4Smrg     # 1 "/dev/null"
2003d4a3aaf4Smrg     # 1 "<built-in>"
2004d4a3aaf4Smrg     # 1 "<command-line>"
2005d4a3aaf4Smrg     # 31 "<command-line>"
2006d4a3aaf4Smrg     # 1 "/usr/include/stdc-predef.h" 1 3 4
2007d4a3aaf4Smrg    
2008d4a3aaf4Smrg     # 17 "/usr/include/stdc-predef.h" 3 4
2009d4a3aaf4Smrg    
2010d4a3aaf4Smrg     [ 40 blank line ]
2011d4a3aaf4Smrg    
2012d4a3aaf4Smrg     # 32 "<command-line>" 2
2013d4a3aaf4Smrg     # 1 "/dev/null"
2014d4a3aaf4Smrg    
2015d4a3aaf4Smrg    So depending on the content of stdc-predef.h and what other headers CPP will
2016d4a3aaf4Smrg    load, the amount of whitespace in the generates files varies. This can result in
2017d4a3aaf4Smrg    differences in reproducible environments, and file conflicts in multilib
2018d4a3aaf4Smrg    environments.
2019d4a3aaf4Smrg    
2020d4a3aaf4Smrg    As whitespace is irrelevant to these machine-readable files, extend the sed to
2021d4a3aaf4Smrg    just delete blank lines.
2022d4a3aaf4Smrg
2023d4a3aaf4Smrgcommit 16192ce2a7e462e09f95aa45ce9eaa180e483c43
2024d4a3aaf4SmrgAuthor: Carmina16 <mistresssilvara@hotmail.com>
2025d4a3aaf4SmrgDate:   Sun Jun 16 02:54:25 2019 +0000
2026d4a3aaf4Smrg
2027d4a3aaf4Smrg    Adding ia and ie locales
2028d4a3aaf4Smrg
2029d4a3aaf4Smrgcommit caa71668af7fd3ebdd56353c8f0ab90824773969
2030d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2031d4a3aaf4SmrgDate:   Mon Sep 28 16:16:07 2020 -0700
2032d4a3aaf4Smrg
2033d4a3aaf4Smrg    Use __builtin_popcountl if available to replace Ones() in GetImage.c
2034d4a3aaf4Smrg    
2035d4a3aaf4Smrg    If the compiler knows of a better algorithm for counting the number of
2036d4a3aaf4Smrg    bits set in a word for the target CPU, let it use that, instead of the
2037d4a3aaf4Smrg    classic algorithm optimized for PDP-6.
2038d4a3aaf4Smrg    
2039d4a3aaf4Smrg    Based on libXext commit 490a25e6f8a4d2482af4364c700b68ad11a4d10b
2040d4a3aaf4Smrg    
2041d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2042d4a3aaf4Smrg
2043d4a3aaf4Smrgcommit 1a9269a95c353e3de9f4d33bab9f1363d84e79db
2044d4a3aaf4SmrgAuthor: Krzesimir Nowak <qdlacz@gmail.com>
2045d4a3aaf4SmrgDate:   Mon Jun 1 12:58:30 2020 +0000
2046d4a3aaf4Smrg
2047d4a3aaf4Smrg    Fix leaking modifiers string.
2048d4a3aaf4Smrg    
2049d4a3aaf4Smrg    Reported by valgrind:
2050d4a3aaf4Smrg    
2051d4a3aaf4Smrg    ```
2052d4a3aaf4Smrg    ==118175== 17 bytes in 1 blocks are definitely lost in loss record 13 of 1,675
2053d4a3aaf4Smrg    ==118175==    at 0x483A809: malloc (vg_replace_malloc.c:307)
2054d4a3aaf4Smrg    ==118175==    by 0x5CD1B46: _XlcDefaultMapModifiers (in /usr/lib64/libX11.so.6.3.0)
2055d4a3aaf4Smrg    ==118175==    by 0x5CD1F1A: XSetLocaleModifiers (in /usr/lib64/libX11.so.6.3.0)
2056d4a3aaf4Smrg    ==118175==    by 0x496841C: X11_InitKeyboard (SDL_x11keyboard.c:324)
2057d4a3aaf4Smrg    ==118175==    by 0x496F0CA: X11_VideoInit (SDL_x11video.c:455)
2058d4a3aaf4Smrg    ==118175==    by 0x494747B: SDL_VideoInit_REAL (SDL_video.c:532)
2059d4a3aaf4Smrg    ==118175==    by 0x489E886: SDL_InitSubSystem_REAL (SDL.c:206)
2060d4a3aaf4Smrg    ==118175==    by 0x402634: main (fade.cc:35)
2061d4a3aaf4Smrg    ```
2062d4a3aaf4Smrg
2063d4a3aaf4Smrgcommit d127217f26df1bf7566c1f372d8b5329a06754ea
2064d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2065d4a3aaf4SmrgDate:   Sun Aug 16 17:03:24 2020 -0700
2066d4a3aaf4Smrg
2067d4a3aaf4Smrg    Exempt XLookupKeysym from XKeycodeToKeysym deprecation warnings
2068d4a3aaf4Smrg    
2069d4a3aaf4Smrg    Gets rid of:
2070d4a3aaf4Smrg    src/xkb/XKBBind.c: In function ‘XLookupKeysym’:
2071d4a3aaf4Smrg    src/xkb/XKBBind.c:234:5: warning: ‘XKeycodeToKeysym’ is deprecated
2072d4a3aaf4Smrg    [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]
2073d4a3aaf4Smrg      234 |     return XKeycodeToKeysym(dpy, event->keycode, col);
2074d4a3aaf4Smrg          |     ^~~~~~
2075d4a3aaf4Smrg    src/xkb/XKBBind.c:96:1: note: declared here
2076d4a3aaf4Smrg       96 | XKeycodeToKeysym(Display *dpy,
2077d4a3aaf4Smrg          | ^~~~~~~~~~~~~~~~
2078d4a3aaf4Smrg    
2079d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2080d4a3aaf4Smrg
2081d4a3aaf4Smrgcommit a64eb5f478c6ca84ef3457a01f9a7c3db8ecf1e5
2082d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2083d4a3aaf4SmrgDate:   Sun Aug 16 16:50:43 2020 -0700
2084d4a3aaf4Smrg
2085d4a3aaf4Smrg    lcUTF8: Increase string buffer size from 20 to 32 bytes
2086d4a3aaf4Smrg    
2087d4a3aaf4Smrg    While we don't expect large enough ints to need it, we don't
2088d4a3aaf4Smrg    enforce a maximum size, so gcc assumes the worst and warns:
2089d4a3aaf4Smrg    
2090d4a3aaf4Smrg    ../../../src/xlibi18n/lcUTF8.c: In function ‘create_tofontcs_conv’:
2091d4a3aaf4Smrg    ../../../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=]
2092d4a3aaf4Smrg     1736 |  snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
2093d4a3aaf4Smrg          |                                  ^~~~~~~~~~~~~
2094d4a3aaf4Smrg    ../../../src/xlibi18n/lcUTF8.c:1736:2: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20
2095d4a3aaf4Smrg     1736 |  snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
2096d4a3aaf4Smrg          |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2097d4a3aaf4Smrg    ../../../src/xlibi18n/lcUTF8.c:1739:46: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
2098d4a3aaf4Smrg     1739 |      snprintf(buf, sizeof(buf), "fs%d.charset", i);
2099d4a3aaf4Smrg          |                                              ^
2100d4a3aaf4Smrg    ../../../src/xlibi18n/lcUTF8.c:1739:6: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20
2101d4a3aaf4Smrg     1739 |      snprintf(buf, sizeof(buf), "fs%d.charset", i);
2102d4a3aaf4Smrg          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2103d4a3aaf4Smrg    ../../../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=]
2104d4a3aaf4Smrg     1754 |         snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
2105d4a3aaf4Smrg          |                                         ^~~~~~~~~~~~~
2106d4a3aaf4Smrg    ../../../src/xlibi18n/lcUTF8.c:1754:9: note: ‘snprintf’ output between 17 and 26 bytes into a destination of size 20
2107d4a3aaf4Smrg     1754 |         snprintf(buf, sizeof(buf), "fs%d.charset.name", i);
2108d4a3aaf4Smrg          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2109d4a3aaf4Smrg    ../../../src/xlibi18n/lcUTF8.c:1757:53: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=]
2110d4a3aaf4Smrg     1757 |             snprintf(buf, sizeof(buf), "fs%d.charset", i);
2111d4a3aaf4Smrg          |                                                     ^
2112d4a3aaf4Smrg    ../../../src/xlibi18n/lcUTF8.c:1757:13: note: ‘snprintf’ output between 12 and 21 bytes into a destination of size 20
2113d4a3aaf4Smrg     1757 |             snprintf(buf, sizeof(buf), "fs%d.charset", i);
2114d4a3aaf4Smrg          |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2115d4a3aaf4Smrg    
2116d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2117d4a3aaf4Smrg
2118d4a3aaf4Smrgcommit 54925250ad9c825bea671dcade5c913bad88abee
2119d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2120d4a3aaf4SmrgDate:   Sun Aug 16 16:33:59 2020 -0700
2121d4a3aaf4Smrg
2122d4a3aaf4Smrg    i18n: use memcpy instead of strncpy on unterminated char arrays
2123d4a3aaf4Smrg    
2124d4a3aaf4Smrg    Avoids gcc warnings that we're using strncpy wrong to copy a known-length
2125d4a3aaf4Smrg    set of characters without a terminating '\0' to a buffer whose length we
2126d4a3aaf4Smrg    are checking separately.  (Should also be imperceptibly faster since we
2127d4a3aaf4Smrg    no longer check if each byte is '\0' when we already know it won't be.)
2128d4a3aaf4Smrg    
2129d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2130d4a3aaf4Smrg
2131d4a3aaf4Smrgcommit 8754868dbbbc5fa096282df0504aa7880488eeb9
2132d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2133d4a3aaf4SmrgDate:   Sun Aug 16 16:02:01 2020 -0700
2134d4a3aaf4Smrg
2135d4a3aaf4Smrg    Mark FreeBlueTblElements label unused in LRGB.c
2136d4a3aaf4Smrg    
2137d4a3aaf4Smrg    Quiets gcc 10.2 warning of:
2138d4a3aaf4Smrg    src/xcms/LRGB.c: In function ‘LINEAR_RGB_InitSCCData’:
2139d4a3aaf4Smrg    src/xcms/LRGB.c:798:1: warning: label ‘FreeBlueTblElements’ defined
2140d4a3aaf4Smrg     but not used
2141d4a3aaf4Smrg    [https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-label-Wunused-label]
2142d4a3aaf4Smrg      798 | FreeBlueTblElements:
2143d4a3aaf4Smrg          | ^~~~~~~~~~~~~~~~~~~
2144d4a3aaf4Smrg    
2145d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2146d4a3aaf4Smrg
2147d4a3aaf4Smrgcommit 52b0cd67073f2f4665884b5a7decfedeb3b7ca1e
2148d4a3aaf4SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2149d4a3aaf4SmrgDate:   Sun Aug 16 14:54:47 2020 -0700
2150d4a3aaf4Smrg
2151d4a3aaf4Smrg    Raise minimum required xproto version to 7.0.25 (released 2013-11-23)
2152d4a3aaf4Smrg    
2153d4a3aaf4Smrg    Allows us to depend on _X_COLD directly instead of having to check for it.
2154d4a3aaf4Smrg    
2155d4a3aaf4Smrg    (Since we also use _X_UNUSED, 7.0.22 or later was implicitly required
2156d4a3aaf4Smrg     already but not checked for.)
2157d4a3aaf4Smrg    
2158d4a3aaf4Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2159d4a3aaf4Smrg
2160d4a3aaf4Smrgcommit deafb99fd8faf8b044eaee13d072440ce4db76af
2161d4a3aaf4SmrgAuthor: Maya Rashish <maya@NetBSD.org>
2162d4a3aaf4SmrgDate:   Sun Aug 23 21:19:33 2020 +0300
2163d4a3aaf4Smrg
2164d4a3aaf4Smrg    Avoid the use of "register" keyword in public headers.
2165d4a3aaf4Smrg    
2166d4a3aaf4Smrg    This causes issues when compiling code for C++17.
2167d4a3aaf4Smrg
2168d7c63e31Smrgcommit 505420662577749e36640db48f6b6b9ae0236e09
2169d7c63e31SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
2170d7c63e31SmrgDate:   Mon Aug 24 15:42:25 2020 +0200
2171d7c63e31Smrg
2172d7c63e31Smrg    libX11 1.6.12
2173d7c63e31Smrg    
2174d7c63e31Smrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2175d7c63e31Smrg
2176d7c63e31Smrgcommit acdaaadcb3d85c61fd43669fc5dddf0f8c3f911d
2177d7c63e31SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
2178d7c63e31SmrgDate:   Thu Aug 13 18:02:58 2020 +0200
2179d7c63e31Smrg
2180d7c63e31Smrg    Fix an integer overflow in init_om()
2181d7c63e31Smrg    
2182d7c63e31Smrg    CVE-2020-14363
2183d7c63e31Smrg    
2184d7c63e31Smrg    This can lead to a double free later, as reported by Jayden Rivers.
2185d7c63e31Smrg    
2186d7c63e31Smrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
2187d7c63e31Smrg
2188d7c63e31Smrgcommit d15c24c8b44be5e4054c8ecd0ff9dcf2c8e18e5b
2189d7c63e31SmrgAuthor: Niclas Zeising <zeising@daemonic.se>
2190d7c63e31SmrgDate:   Tue Aug 11 13:44:38 2020 +0200
2191d7c63e31Smrg
2192d7c63e31Smrg    Fix input clients connecting to server
2193d7c63e31Smrg    
2194d7c63e31Smrg    Fix a bug where some input clients can't connect to the input server.
2195d7c63e31Smrg    This fixes #117.
2196d7c63e31Smrg    
2197d7c63e31Smrg    FreeBSD bugzilla reference:
2198d7c63e31Smrg    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248549
2199d7c63e31Smrg    
2200d7c63e31Smrg    Signed-off-by: Niclas Zeising <zeising@daemonic.se>
2201d7c63e31Smrg
2202d7c63e31Smrgcommit 6dd618e5ea8e7558dd8e99a2777ab7b69211789c
2203d7c63e31SmrgAuthor: Maya Rashish <maya@NetBSD.org>
2204d7c63e31SmrgDate:   Sat Aug 15 00:48:56 2020 +0300
2205d7c63e31Smrg
2206d7c63e31Smrg    Avoid the use of "register" keyword in XkbTranslateKeySym.
2207d7c63e31Smrg    
2208d7c63e31Smrg    This causes issues when compiling code for C++17.
2209d7c63e31Smrg    While here, make function prototype match the header with regards
2210d7c63e31Smrg    to removal of another register keyword.
2211d7c63e31Smrg
2212d7c63e31Smrgcommit 780d222343098b4bfe3ec529b4a0dc2aadea19bf
2213d7c63e31SmrgAuthor: Christopher Chavez <chrischavez@gmx.us>
2214d7c63e31SmrgDate:   Mon Aug 10 17:08:39 2020 +0000
2215d7c63e31Smrg
2216d7c63e31Smrg    Fix typo GCCLipYOrigin -> GCClipYOrigin in XCreateGC() manpage
2217d7c63e31Smrg
2218d7c63e31Smrgcommit 29a8251a456bb7dc10146b4713f499a624d6dacd
2219d7c63e31SmrgAuthor: Felix Yan <felixonmars@archlinux.org>
2220d7c63e31SmrgDate:   Thu Aug 6 16:03:38 2020 +0000
2221d7c63e31Smrg
2222d7c63e31Smrg    Correct a typo in GetStCmap.c
2223d7c63e31Smrg
2224d7c63e31Smrgcommit 0d8f038db83f68724a84ef9d4ccd0d5e33ec6a70
2225d7c63e31SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2226d7c63e31SmrgDate:   Thu Aug 6 08:07:57 2020 -0700
2227d7c63e31Smrg
2228d7c63e31Smrg    libX11 1.6.11
2229d7c63e31Smrg    
2230d7c63e31Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2231d7c63e31Smrg
2232d7c63e31Smrgcommit 93fce3f4e79cbc737d6468a4f68ba3de1b83953b
2233d7c63e31SmrgAuthor: Yichao Yu <yyc1992@gmail.com>
2234d7c63e31SmrgDate:   Sun Aug 2 13:43:58 2020 -0400
2235d7c63e31Smrg
2236d7c63e31Smrg    Fix size calculation in `_XimAttributeToValue`.
2237d7c63e31Smrg    
2238d7c63e31Smrg    The check here guards the read below.
2239d7c63e31Smrg    For `XimType_XIMStyles`, these are `num` of `CARD32` and for `XimType_XIMHotKeyTriggers`
2240d7c63e31Smrg    these are `num` of `XIMTRIGGERKEY` ref[1] which is defined as 3 x `CARD32`.
2241d7c63e31Smrg    (There are data after the `XIMTRIGGERKEY` according to the spec but they are not read by this
2242d7c63e31Smrg    function and doesn't need to be checked.)
2243d7c63e31Smrg    
2244d7c63e31Smrg    The old code here used the native datatype size instead of the wire protocol size causing
2245d7c63e31Smrg    the check to always fail.
2246d7c63e31Smrg    
2247d7c63e31Smrg    Also fix the size calculation for the header (size). It is 2 x CARD16 for both types
2248d7c63e31Smrg    despite the unused `CARD16` for `XimType_XIMStyles`.
2249d7c63e31Smrg    
2250d7c63e31Smrg    [1] https://www.x.org/releases/X11R7.6/doc/libX11/specs/XIM/xim.html#Input_Method_Styles
2251d7c63e31Smrg    
2252d7c63e31Smrg    This fixes a regression caused by 388b303c62aa35a245f1704211a023440ad2c488 in 1.6.10.
2253d7c63e31Smrg    
2254d7c63e31Smrg    Fix #116
2255d7c63e31Smrg
22569c019ec5Smayacommit 9949364ea761ab7efa2a9930ec7718f966a740c0
22579c019ec5SmayaAuthor: Matthieu Herrb <matthieu@herrb.eu>
22589c019ec5SmayaDate:   Thu Jul 30 21:36:22 2020 +0200
22599c019ec5Smaya
22609c019ec5Smaya    libX11 1.6.10
22619c019ec5Smaya    
22629c019ec5Smaya    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
22639c019ec5Smaya
22649c019ec5Smayacommit 1703b9f3435079d3c6021e1ee2ec34fd4978103d
22659c019ec5SmayaAuthor: Matthieu Herrb <matthieu@herrb.eu>
22669c019ec5SmayaDate:   Fri Jul 24 21:09:10 2020 +0200
22679c019ec5Smaya
22689c019ec5Smaya    Change the data_len parameter of _XimAttributeToValue() to CARD16
22699c019ec5Smaya    
22709c019ec5Smaya    It's coming from a length in the protocol (unsigned) and passed
22719c019ec5Smaya    to functions that expect unsigned int parameters (_XCopyToArg()
22729c019ec5Smaya    and memcpy()).
22739c019ec5Smaya    
22749c019ec5Smaya    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
22759c019ec5Smaya    Reviewed-by: Todd Carson <toc@daybefore.net>
22769c019ec5Smaya
22779c019ec5Smayacommit 1a566c9e00e5f35c1f9e7f3d741a02e5170852b2
22789c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net>
22799c019ec5SmayaDate:   Fri Jul 24 20:59:32 2020 +0200
22809c019ec5Smaya
22819c019ec5Smaya    Zero out buffers in functions
22829c019ec5Smaya    
22839c019ec5Smaya    It looks like uninitialized stack or heap memory can leak
22849c019ec5Smaya    out via padding bytes.
22859c019ec5Smaya    
22869c019ec5Smaya    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
22879c019ec5Smaya    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
22889c019ec5Smaya
22899c019ec5Smayacommit 2fcfcc49f3b1be854bb9085993a01d17c62acf60
22909c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net>
22919c019ec5SmayaDate:   Fri Jul 24 20:22:44 2020 +0200
22929c019ec5Smaya
22939c019ec5Smaya    Fix more unchecked lengths
22949c019ec5Smaya    
22959c019ec5Smaya    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
22969c019ec5Smaya    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
22979c019ec5Smaya
22989c019ec5Smayacommit 388b303c62aa35a245f1704211a023440ad2c488
22999c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net>
23009c019ec5SmayaDate:   Fri Jul 24 19:36:51 2020 +0200
23019c019ec5Smaya
23029c019ec5Smaya    fix integer overflows in _XimAttributeToValue()
23039c019ec5Smaya    
23049c019ec5Smaya    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
23059c019ec5Smaya    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
23069c019ec5Smaya
23079c019ec5Smayacommit 0e6561efcfaa0ae7b5c74eac7e064b76d687544e
23089c019ec5SmayaAuthor: Todd Carson <tc@daybefore.net>
23099c019ec5SmayaDate:   Fri Jul 24 19:33:30 2020 +0200
23109c019ec5Smaya
23119c019ec5Smaya    Fix signed length values in _XimGetAttributeID()
23129c019ec5Smaya    
23139c019ec5Smaya    The lengths are unsigned according to the specification. Passing
23149c019ec5Smaya    negative values can lead to data corruption.
23159c019ec5Smaya    
23169c019ec5Smaya    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
23179c019ec5Smaya    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
23189c019ec5Smaya
23199c019ec5Smayacommit 2b7598221d87049d03e9a95fcb541c37c8728184
23209c019ec5SmayaAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
23219c019ec5SmayaDate:   Wed Jul 22 15:19:58 2020 -0700
23229c019ec5Smaya
23239c019ec5Smaya    Fix spelling/wording issues
23249c019ec5Smaya    
23259c019ec5Smaya    Found by using:
23269c019ec5Smaya        codespell --builtin clear,rare,usage,informal,code,names
23279c019ec5Smaya    
23289c019ec5Smaya    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
23299c019ec5Smaya
23309c019ec5Smayacommit f9e3378ebcfc79ff00591b8617a68e97580a741e
23319c019ec5SmayaAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
23329c019ec5SmayaDate:   Sun Jul 19 22:19:24 2020 +0200
23339c019ec5Smaya
23349c019ec5Smaya    xlibi18n: Fix converting horizline keysyms to UCS
23359c019ec5Smaya    
23369c019ec5Smaya    U+23BA - U+23BD are meant to represent the scan lines, and U+2500 is
23379c019ec5Smaya    unified with scan line 5.
23389c019ec5Smaya    
23399c019ec5Smaya    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
23409c019ec5Smaya
23419c019ec5Smayacommit 4385a84c4a79c1b60bf12839899a1544198de975
23429c019ec5SmayaAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
23439c019ec5SmayaDate:   Thu Jun 4 02:19:13 2020 +0200
23449c019ec5Smaya
23459c019ec5Smaya    Braille: Fix default lookup
23469c019ec5Smaya    
23479c019ec5Smaya    cbb59d172 ('Braille: Fix typing quickly') broke the default lookup that
23489c019ec5Smaya    translates Braille keysym patterns to Braille Unicode patterns since it
23499c019ec5Smaya    rightfully clears brl_committing, but then we do not have it any more to
23509c019ec5Smaya    fill brl_committed.
23519c019ec5Smaya    
23529c019ec5Smaya    This change saves the committed pattern so we can return it in the
23539c019ec5Smaya    default lookup.
23549c019ec5Smaya    
23559c019ec5Smaya    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
23569c019ec5Smaya
23579c019ec5Smayacommit fb65b67169105c82c243f265e0f993cf72efdacd
23589c019ec5SmayaAuthor: Marko Myllynen <myllynen@redhat.com>
23599c019ec5SmayaDate:   Fri Feb 28 13:59:36 2020 +0200
23609c019ec5Smaya
23619c019ec5Smaya    Update Finnish compose sequences for SFS 5966:2019 standard
23629c019ec5Smaya    
23639c019ec5Smaya    U0219, U0218, U021B, U021A are now part of the standard.
23649c019ec5Smaya    
23659c019ec5Smaya    Fixes #70 which was printed incorrectly in the earlier standard version.
23669c019ec5Smaya
23679c019ec5Smayacommit 07724ce046348a21cc82a874853b14b9a285df75
23689c019ec5SmayaAuthor: Tristan Miller <psychonaut@nothingisreal.com>
23699c019ec5SmayaDate:   Wed Sep 25 13:34:01 2019 +0200
23709c019ec5Smaya
23719c019ec5Smaya    Add acute accent compose sequences for Russian vowels.
23729c019ec5Smaya    
23739c019ec5Smaya    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/104
23749c019ec5Smaya    
23759c019ec5Smaya    Signed-off-by: Tristan Miller <psychonaut@nothingisreal.com>
23769c019ec5Smaya
23779c019ec5Smayacommit 3ec9264d01a3a66c0fa0145a7c1db06a64be1507
23789c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net>
23799c019ec5SmayaDate:   Sat Apr 25 14:40:54 2020 -0400
23809c019ec5Smaya
23819c019ec5Smaya    document an ancient performance problem (see Debian #954845).
23829c019ec5Smaya    
23839c019ec5Smaya    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
23849c019ec5Smaya
23859c019ec5Smayacommit 791c93816ce0520d54925b0b3ccbc29823370041
23869c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net>
23879c019ec5SmayaDate:   Sat Apr 25 14:22:11 2020 -0400
23889c019ec5Smaya
23899c019ec5Smaya    update/correct function prototypes in manpages to match headers
23909c019ec5Smaya    
23919c019ec5Smaya    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
23929c019ec5Smaya
23939c019ec5Smayacommit 844271305a28e87031562dfeb43defbea02960a2
23949c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net>
23959c019ec5SmayaDate:   Tue Apr 21 20:53:35 2020 -0400
23969c019ec5Smaya
23979c019ec5Smaya    reduce gcc-normal warnings using casts (no object change)
23989c019ec5Smaya    
23999c019ec5Smaya    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
24009c019ec5Smaya
24019c019ec5Smayacommit 53b59ddfc114a55d26e9717a1b4822f1b18c40ca
24029c019ec5SmayaAuthor: Thomas E. Dickey <dickey@invisible-island.net>
24039c019ec5SmayaDate:   Tue Apr 21 18:13:22 2020 -0400
24049c019ec5Smaya
24059c019ec5Smaya    reduce gcc-normal warnings using casts (no object change)
24069c019ec5Smaya    
24079c019ec5Smaya    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
24089c019ec5Smaya
24099c019ec5Smayacommit 68c72a7341b114277ab232f2499ee3bd035af8a0
24109c019ec5SmayaAuthor: Adam Jackson <ajax@redhat.com>
24119c019ec5SmayaDate:   Wed Dec 11 11:53:11 2019 -0500
24129c019ec5Smaya
24139c019ec5Smaya    Fix XTS regression in XCopyColormapAndFree
24149c019ec5Smaya    
24159c019ec5Smaya    XCopyColormapAndFree/5 threw an assertion:
24169c019ec5Smaya    
24179c019ec5Smaya        520|4 5 00014017 1 2|Assertion XCopyColormapAndFree-5.(A)
24189c019ec5Smaya        520|4 5 00014017 1 3|When a colourmap argument does not name a valid colourmap,
24199c019ec5Smaya        520|4 5 00014017 1 4|then a BadColor error occurs.
24209c019ec5Smaya        520|4 5 00014017 1 5|METH: Create a bad colourmap by creating and freeing a colourmap.
24219c019ec5Smaya        520|4 5 00014017 1 6|METH: Call test function using bad colourmap as the colourmap argument.
24229c019ec5Smaya        520|4 5 00014017 1 7|METH: Verify that a BadColor error occurs.
24239c019ec5Smaya        520|4 5 00014017 1 8|unexpected signal 6 (SIGABRT) received
24249c019ec5Smaya        220|4 5 2 15:05:53|UNRESOLVED
24259c019ec5Smaya        410|4 5 1 15:05:53|IC End
24269c019ec5Smaya        510|4|system 0: Abandoning testset: caught unexpected signal 11 (SIGSEGV)
24279c019ec5Smaya    
24289c019ec5Smaya    More specifically:
24299c019ec5Smaya    
24309c019ec5Smaya        lt-XCopyColormapAndFree: xcb_io.c:533: _XAllocID: Assertion `ret != inval_id' failed.
24319c019ec5Smaya    
24329c019ec5Smaya    This bug was introduced (by following my advice, d'oh) in:
24339c019ec5Smaya    
24349c019ec5Smaya        commit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d
24359c019ec5Smaya        Author: Tapani Pälli <tapani.palli@intel.com>
24369c019ec5Smaya        Date:   Mon May 13 08:29:49 2019 +0300
24379c019ec5Smaya    
24389c019ec5Smaya            Protect colormap add/removal with display lock
24399c019ec5Smaya    
24409c019ec5Smaya    In that patch we moved the call to _XcmsCopyCmapRecAndFree inside the
24419c019ec5Smaya    display lock. The problem is said routine has side effects, including
24429c019ec5Smaya    trying to implicitly create a colormap in some cases. Since we don't run
24439c019ec5Smaya    the XID handler until SyncHandle() we would see inconsistent internal
24449c019ec5Smaya    xlib state, triggering the above assert.
24459c019ec5Smaya    
24469c019ec5Smaya    Fix this by dropping and re-taking the display lock before calling into
24479c019ec5Smaya    XCMS.
24489c019ec5Smaya    
24499c019ec5Smaya    Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
24509c019ec5Smaya
24519c019ec5Smayacommit 7f46a38139f66fda734f3a6c445b84ea89c8f310
24529c019ec5SmayaAuthor: Alex Henrie <alexhenrie24@gmail.com>
24539c019ec5SmayaDate:   Wed Jan 1 14:54:06 2020 -0700
24549c019ec5Smaya
24559c019ec5Smaya    Handle small final sigma in XConvertCase
24569c019ec5Smaya    
24579c019ec5Smaya    lowercase: GREEK SMALL LETTER FINAL SIGMA (U+03C2)
24589c019ec5Smaya    uppercase: GREEK CAPITAL LETTER SIGMA (U+03A3)
24599c019ec5Smaya    
24609c019ec5Smaya    This mapping was correct in UCSConvertCase, but the "legacy" mapping
24619c019ec5Smaya    must also be correct for Caps Lock to work with the final sigma key.
24629c019ec5Smaya    
24639c019ec5Smaya    https://gitlab.freedesktop.org/xorg/lib/libx11/issues/5
24649c019ec5Smaya    
24659c019ec5Smaya    Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
24669c019ec5Smaya
24679c019ec5Smayacommit a48787d3d155c8a09cead345f5055da30c1db537
24689c019ec5SmayaAuthor: Peter Hutterer <peter.hutterer@who-t.net>
24699c019ec5SmayaDate:   Wed Dec 11 14:12:27 2019 +1000
24709c019ec5Smaya
24719c019ec5Smaya    Handle ssharp in XConvertCase()
24729c019ec5Smaya    
24739c019ec5Smaya    lowercase: LATIN SMALL LETTER SHARP S (U+00DF)
24749c019ec5Smaya    uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E)
24759c019ec5Smaya    
24769c019ec5Smaya    The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode
24779c019ec5Smaya    but was added to the relevant keyboard layouts in xkeyboard-config-2.25
24789c019ec5Smaya    (d1411e5e95c)
24799c019ec5Smaya    https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144
24809c019ec5Smaya    
24819c019ec5Smaya    Alas, the CapsLock behavior was broken on the finnish layout (maybe others).
24829c019ec5Smaya    This was due to xkbcomp using XConvertCase() to determine whether a key
24839c019ec5Smaya    requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC.
24849c019ec5Smaya    
24859c019ec5Smaya    Let's make this function return the right lower/upper symbols for the sharp s
24869c019ec5Smaya    and hope that the world won't get any worse because of it.
24879c019ec5Smaya    
24889c019ec5Smaya    https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110
24899c019ec5Smaya    
24909c019ec5Smaya    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
24919c019ec5Smaya
24929c019ec5Smayacommit b8766a438461e20b5c6f7a6111b703d4cb71501f
24939c019ec5SmayaAuthor: Raul Fernandes <rgfernandes@gmail.com>
24949c019ec5SmayaDate:   Wed Oct 9 18:39:26 2019 +0000
24959c019ec5Smaya
24969c019ec5Smaya    Use memcmp and memcpy
24979c019ec5Smaya
24985afda2e6Smrgcommit db7cca17ad7807e92a928da9d4c68a00f4836da2
24995afda2e6SmrgAuthor: Adam Jackson <ajax@redhat.com>
25005afda2e6SmrgDate:   Wed Oct 9 13:41:29 2019 -0400
25015afda2e6Smrg
25025afda2e6Smrg    libX11 1.6.9
25035afda2e6Smrg    
25045afda2e6Smrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
25055afda2e6Smrg
25065afda2e6Smrgcommit f5ba2c632a4c84279bdd48c687271292f5dc4f87
25075afda2e6SmrgAuthor: Dmitry Osipenko <digetx@gmail.com>
25085afda2e6SmrgDate:   Sat May 18 19:10:32 2019 +0300
25095afda2e6Smrg
25105afda2e6Smrg    Fix lockup in _XReply() caused by recursive synchronization
25115afda2e6Smrg    
25125afda2e6Smrg    This patch is based on a suggestion made by Uli Schlachter in a comment
25135afda2e6Smrg    to the bug report https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93.
25145afda2e6Smrg    
25155afda2e6Smrg    Explanation of the bug (given by Uli Schlachter as well):
25165afda2e6Smrg    
25175afda2e6Smrg    An error was received and handled. Since there was an error callback set,
25185afda2e6Smrg    Xlib unlocks the display, runs the error callback, and then locks the display
25195afda2e6Smrg    again. This goes through _XLockDisplay and then calls _XSeqSyncFunction.
25205afda2e6Smrg    On this "lock the thing"-path, Xlib notices that sequence numbers are close to
25215afda2e6Smrg    wrap-around and tries to send a GetInputFocus request. However, the earlier
25225afda2e6Smrg    calls already registered themselves as "we are handling replies/errors, do
25235afda2e6Smrg    not interfere!" and so the code here waits for "that other thread" to be done
25245afda2e6Smrg    before it continues. Only that there is no other thread, but it is this thread
25255afda2e6Smrg    itself and thus a deadlock follows.
25265afda2e6Smrg    
25275afda2e6Smrg    The bug is relatively easy to reproduce on any desktop environment by
25285afda2e6Smrg    using actively a touchscreen input that supports multitouch, i.e. practically
25295afda2e6Smrg    all mobile devices are affected.
25305afda2e6Smrg    
25315afda2e6Smrg    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/93
25325afda2e6Smrg    Suggested-by: Uli Schlachter <psychon@znc.in>
25335afda2e6Smrg    Tested-by: Dmitry Osipenko <digetx@gmail.com>
25345afda2e6Smrg    Reported-by: Dmitry Osipenko <digetx@gmail.com>
25355afda2e6Smrg    Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
25365afda2e6Smrg
25375afda2e6Smrgcommit 1f1ca0863fd81fd0538b104eb9d9841ddbc7c905
25385afda2e6SmrgAuthor: Adam Jackson <ajax@redhat.com>
25395afda2e6SmrgDate:   Fri Sep 13 16:44:32 2019 -0400
25405afda2e6Smrg
25415afda2e6Smrg    xkb: Provide <X11/extensions/XKBgeom.h> ourselves
25425afda2e6Smrg    
25435afda2e6Smrg    This header refers to libX11 types, it doesn't belong in xorgproto and
25445afda2e6Smrg    has been moved to legacy in 2019.2. Supply it ourselves.
25455afda2e6Smrg
25465afda2e6Smrgcommit edc7680ed5a03cedb5facf14693823455e12c29c
25475afda2e6SmrgAuthor: Ross Burton <ross.burton@intel.com>
25485afda2e6SmrgDate:   Tue Aug 6 14:53:43 2019 +0100
25495afda2e6Smrg
25505afda2e6Smrg    src/util/Makefile: explicitly reset LINK to not use libtool
25515afda2e6Smrg    
25525afda2e6Smrg    Simply looking at libtool redefines LINK globally to use libtool, which when
25535afda2e6Smrg    you're trying to cross-compile to Windows can cause complications.
25545afda2e6Smrg    
25555afda2e6Smrg    As in src/util/ we're simply building a small binary for the build host, reset
25565afda2e6Smrg    LINK to the automake default so that the traditional compile/link steps occur
25575afda2e6Smrg    without libtool.
25585afda2e6Smrg    
25595afda2e6Smrg    Also remove -all-static from LDFLAGS as that is a libtool-specific argument
25605afda2e6Smrg    intended to solve this problem.
25615afda2e6Smrg    
25625afda2e6Smrg    Closes: #100
25635afda2e6Smrg    Signed-off-by: Ross Burton <ross.burton@intel.com>
25645afda2e6Smrg
25655afda2e6Smrgcommit f111bf3ac091a3a6d1f094172621d9d033c3833c
25665afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
25675afda2e6SmrgDate:   Tue Jul 30 16:53:27 2019 -0400
25685afda2e6Smrg
25695afda2e6Smrg    improve some formatting
25705afda2e6Smrg    
25715afda2e6Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
25725afda2e6Smrg
25735afda2e6Smrgcommit 1d0a6fe9126c7ce61c6648cabf43b2de4d6d3ba9
25745afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
25755afda2e6SmrgDate:   Tue Jul 30 15:49:09 2019 -0400
25765afda2e6Smrg
25775afda2e6Smrg    fix a substitution error from recent commit, e.g, "s/^\.EE/XDe/"
25785afda2e6Smrg    
25795afda2e6Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
25805afda2e6Smrg
25815afda2e6Smrgcommit 8fe8aafe7e9beffaff0460fe08354dfcde1efe98
25825afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
25835afda2e6SmrgDate:   Tue Jul 30 05:07:40 2019 -0400
25845afda2e6Smrg
25855afda2e6Smrg    split lines at sentence endings
25865afda2e6Smrg    
25875afda2e6Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
25885afda2e6Smrg
25895afda2e6Smrgcommit 6f2cbcea5d6dcd1df7ef309481cad1663284c061
25905afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
25915afda2e6SmrgDate:   Tue Jul 30 04:52:25 2019 -0400
25925afda2e6Smrg
25935afda2e6Smrg    trim trailing whitespace from manpages
25945afda2e6Smrg    
25955afda2e6Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
25965afda2e6Smrg
25975afda2e6Smrgcommit 4abf482d8e6b0b1ae84e0f528e71066afd6d18b5
25985afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
25995afda2e6SmrgDate:   Tue Jul 30 04:36:24 2019 -0400
26005afda2e6Smrg
26015afda2e6Smrg    another fake-quote fix
26025afda2e6Smrg    
26035afda2e6Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
26045afda2e6Smrg
26055afda2e6Smrgcommit c0f0651f2b4dfa9fef86d1374689220125631993
26065afda2e6SmrgAuthor: Thomas E. Dickey <dickey@invisible-island.net>
26075afda2e6SmrgDate:   Tue Jul 30 04:34:54 2019 -0400
26085afda2e6Smrg
26095afda2e6Smrg    the last commit overlooked some fake-quote pairs
26105afda2e6Smrg    
26115afda2e6Smrg    Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
26125afda2e6Smrg
26135afda2e6Smrgcommit ef31143c9decda54b3ab2937d3300fcf5b493fd6
26145afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26155afda2e6SmrgDate:   Mon Jul 29 18:50:19 2019 +0200
26165afda2e6Smrg
26175afda2e6Smrg    fix ``fake quotes'' in text
26185afda2e6Smrg    
26195afda2e6Smrg    to remove the fake quotes replace them with propper
26205afda2e6Smrg    predefined macros \*(lq and \*(rq. this will allow
26215afda2e6Smrg    nroff to choose the propper characters when using ps etc.
26225afda2e6Smrg    
26235afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26245afda2e6Smrg
26255afda2e6Smrgcommit 705027ea9b17d6552388d2067736ab4b0bf9dfb5
26265afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26275afda2e6SmrgDate:   Mon Jul 29 18:27:12 2019 +0200
26285afda2e6Smrg
26295afda2e6Smrg    get rid of ``fake quotes''
26305afda2e6Smrg    
26315afda2e6Smrg    these fake quotes are inside a comment and can be replaced with
26325afda2e6Smrg    some double quotes
26335afda2e6Smrg    
26345afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26355afda2e6Smrg
26365afda2e6Smrgcommit fe46eb287106ad05538e896783a5cf877a4138df
26375afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26385afda2e6SmrgDate:   Mon Jul 29 17:57:02 2019 +0200
26395afda2e6Smrg
26405afda2e6Smrg    remove all private macro defines
26415afda2e6Smrg    
26425afda2e6Smrg    after converting everything to st. man page macros there is
26435afda2e6Smrg    no need to maintain X11 private nroff macros, so remove them.
26445afda2e6Smrg    
26455afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26465afda2e6Smrg
26475afda2e6Smrgcommit b7f09ae19c9a098ecd545b4d4c45a6afe39a8764
26485afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26495afda2e6SmrgDate:   Mon Jul 29 17:47:35 2019 +0200
26505afda2e6Smrg
26515afda2e6Smrg    Replace home-grown .Ds .De macro with man page .EX/.EE macro
26525afda2e6Smrg    
26535afda2e6Smrg    Same pages use the man page .EX/.EE macro. Replace all occurences
26545afda2e6Smrg    of .De/.Ds with the std. macros to make the code better to maintain.
26555afda2e6Smrg    
26565afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26575afda2e6Smrg
26585afda2e6Smrgcommit 951e772bc8d89bc62c4bbac14adc5d4f5027419f
26595afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26605afda2e6SmrgDate:   Wed Jul 3 18:23:51 2019 +0200
26615afda2e6Smrg
26625afda2e6Smrg    fix TBL format
26635afda2e6Smrg    
26645afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26655afda2e6Smrg
26665afda2e6Smrgcommit 4eb167f5aca4cca05a230c728ffdb4fd382a4e1e
26675afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26685afda2e6SmrgDate:   Wed Jul 3 18:18:09 2019 +0200
26695afda2e6Smrg
26705afda2e6Smrg    replace home grown .ZN with std, .B and .BR
26715afda2e6Smrg    
26725afda2e6Smrg    Replace the home grown macro .ZN with std. macros
26735afda2e6Smrg    from man macro paket. So we can get rid of the
26745afda2e6Smrg    definition an get a clean header.
26755afda2e6Smrg    
26765afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26775afda2e6Smrg
26785afda2e6Smrgcommit 08e6b36292ebf01ba2dcc4a48ec371c6f5d13458
26795afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26805afda2e6SmrgDate:   Sat Jun 22 18:33:48 2019 +0200
26815afda2e6Smrg
26825afda2e6Smrg    remove in-text macros
26835afda2e6Smrg    
26845afda2e6Smrg    remove in-text macros an fix a few typos on the way.
26855afda2e6Smrg    hopefuly that will make maintenance more easy.
26865afda2e6Smrg    
26875afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26885afda2e6Smrg
26895afda2e6Smrgcommit cb0e894fe9927b07bd9d97c067fd0d007accb105
26905afda2e6SmrgAuthor: Walter Harms <wharms@bfs.de>
26915afda2e6SmrgDate:   Fri Jun 21 18:01:16 2019 +0200
26925afda2e6Smrg
26935afda2e6Smrg    note that we can handle kbd==NULL
26945afda2e6Smrg    
26955afda2e6Smrg    Signed-off-by: Walter Harms <wharms@bfs.de>
26965afda2e6Smrg
26975afda2e6Smrgcommit 0327c427d62f671eced067c6d9b69f4e216a8cac
26985afda2e6SmrgAuthor: Adam Jackson <ajax@redhat.com>
26995afda2e6SmrgDate:   Mon Jun 17 13:36:08 2019 -0400
27005afda2e6Smrg
27015afda2e6Smrg    makekeys: Detach ourselves from X headers entirely
27025afda2e6Smrg    
27035afda2e6Smrg    Subsequent to a121b7b0c210efe10bf93453b29050282324c906 we are no longer
27045afda2e6Smrg    building makekeys with enough -I/foo/bar to find the X11 headers, so if
27055afda2e6Smrg    they're not in a system include path, things fail. Since this utility is
27065afda2e6Smrg    only needed at build time, there's no real reason to demand the X
27075afda2e6Smrg    headers be installed for both the build and target machines if cross-
27085afda2e6Smrg    compiling, we can just assume a vaguely ANSI environment instead.
27095afda2e6Smrg    
27105afda2e6Smrg    Tested-by: Niclas Zeising <zeising@daemonic.se>
27115afda2e6Smrg    Reviewed-by: Keith Packard <keithp@keithp.com>
27125afda2e6Smrg    Reviewed-by: Matt Turner <mattst88@gmail.com>
27135afda2e6Smrg
2714258a0ebeSmrgcommit 57f0d421a1320090d3a4948181fe228d86cc8977
2715258a0ebeSmrgAuthor: Matt Turner <mattst88@gmail.com>
2716258a0ebeSmrgDate:   Mon Jun 17 10:45:45 2019 -0400
2717258a0ebeSmrg
2718258a0ebeSmrg    libX11 1.6.8
2719258a0ebeSmrg    
2720258a0ebeSmrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
2721258a0ebeSmrg
2722258a0ebeSmrgcommit 5464b302bc0c4a055d3eac06c6ab15e209ff7668
2723258a0ebeSmrgAuthor: Matt Turner <mattst88@gmail.com>
2724258a0ebeSmrgDate:   Sun Jun 9 14:00:15 2019 -0700
2725258a0ebeSmrg
2726258a0ebeSmrg    Use AC_SYS_LARGEFILE
2727258a0ebeSmrg    
2728258a0ebeSmrg    ... and include config.h in makekeys.c to get the definition of
2729258a0ebeSmrg    _FILE_OFFSET_BITS. Without it, libX11 can fail to build on a file
2730258a0ebeSmrg    system with 64-bit inode numbers.
2731258a0ebeSmrg    
2732258a0ebeSmrg    Bug: https://bugs.gentoo.org/550502
2733258a0ebeSmrg    Bug: https://bugs.gentoo.org/616140
2734258a0ebeSmrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
2735258a0ebeSmrg
2736258a0ebeSmrgcommit 33b9148a833ab2ea46e44871da3c031bf1b78f77
2737258a0ebeSmrgAuthor: Ran Benita <ran234@gmail.com>
2738258a0ebeSmrgDate:   Thu Feb 13 20:55:08 2014 +0200
2739258a0ebeSmrg
2740258a0ebeSmrg    Compose.man: fix escaped hexadecimal char description
2741258a0ebeSmrg    
2742258a0ebeSmrg    The man page says:
2743258a0ebeSmrg        Strings may be direct text encoded in the locale for which the
2744258a0ebeSmrg        compose file is to be used, or an escaped octal or hexadecimal
2745258a0ebeSmrg        character code.   Octal codes are specified as "\123" and
2746258a0ebeSmrg        hexadecimal codes as "\0x123a".
2747258a0ebeSmrg    
2748258a0ebeSmrg    But the grammar in the parser and the implementation say:
2749258a0ebeSmrg        ESCAPED_CHAR  ::= ('\\' | '\"' | OCTAL | HEX )
2750258a0ebeSmrg        HEX           ::= '\' (x|X) HEX_CHAR [HEX_CHAR]]
2751258a0ebeSmrg        HEX_CHAR      ::= (0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F|a|b|c|d|e|f)
2752258a0ebeSmrg    
2753258a0ebeSmrg    So "\0x123a" -> "\x3a".
2754258a0ebeSmrg    
2755258a0ebeSmrg    Signed-off-by: Ran Benita <ran234@gmail.com>
2756258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2757258a0ebeSmrg
2758258a0ebeSmrgcommit d9b2cc35edf01e4f751a9ccb5ac185745184cec0
2759258a0ebeSmrgAuthor: ojab <ojab@ojab.ru>
2760258a0ebeSmrgDate:   Mon Apr 24 20:12:17 2017 +0000
2761258a0ebeSmrg
2762258a0ebeSmrg    Compose sequences for rouble sign
2763258a0ebeSmrg    
2764258a0ebeSmrg    Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout.
2765258a0ebeSmrg    
2766258a0ebeSmrg    Signed-off-by: Slava Kardakov <ojab@ojab.ru>
2767258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2768258a0ebeSmrg
2769258a0ebeSmrgcommit 3f211616f6414bd9958566c0ca137e87a2b6df95
2770258a0ebeSmrgAuthor: Pavel Labath <pavelo@centrum.sk>
2771258a0ebeSmrgDate:   Fri Nov 30 20:45:04 2012 +0100
2772258a0ebeSmrg
2773258a0ebeSmrg    Fix a leak in XCreateFontSet
2774258a0ebeSmrg    
2775258a0ebeSmrg    a simple snippet like XFreeFontSet(d, XCreateFontSet(d, ...)) will generate lots of memory leaks,
2776258a0ebeSmrg    as evidenced by the following valgrind output:
2777258a0ebeSmrg    ==983== HEAP SUMMARY:
2778258a0ebeSmrg    ==983==     in use at exit: 39,409 bytes in 341 blocks
2779258a0ebeSmrg    ==983==   total heap usage: 4,795 allocs, 4,454 frees, 489,086 bytes allocated
2780258a0ebeSmrg    ==983==
2781258a0ebeSmrg    ==983== 1,688 (136 direct, 1,552 indirect) bytes in 1 blocks are definitely lost in loss record
2782258a0ebeSmrg    40 of 46
2783258a0ebeSmrg    ==983==    at 0x4C2B042: realloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
2784258a0ebeSmrg    ==983==    by 0x56D5A93: add_codeset.clone.9 (in /usr/lib64/libX11.so.6.3.0)
2785258a0ebeSmrg    ==983==    by 0x56D5FE0: load_generic (in /usr/lib64/libX11.so.6.3.0)
2786258a0ebeSmrg    ==983==    by 0x56D7612: initialize (in /usr/lib64/libX11.so.6.3.0)
2787258a0ebeSmrg    ==983==    by 0x56D7E75: _XlcCreateLC (in /usr/lib64/libX11.so.6.3.0)
2788258a0ebeSmrg    ==983==    by 0x56F9A5F: _XlcUtf8Loader (in /usr/lib64/libX11.so.6.3.0)
2789258a0ebeSmrg    ==983==    by 0x56DF815: _XOpenLC (in /usr/lib64/libX11.so.6.3.0)
2790258a0ebeSmrg    ==983==    by 0x56B255A: XOpenOM (in /usr/lib64/libX11.so.6.3.0)
2791258a0ebeSmrg    ==983==    by 0x56A665A: XCreateFontSet (in /usr/lib64/libX11.so.6.3.0)
2792258a0ebeSmrg    ==983==    by 0x4FCA80: conky::x11_output::create_gc() (x11.cc:746)
2793258a0ebeSmrg    ==983==    by 0x4FC3B4: conky::x11_output::use_own_window() (x11.cc:602)
2794258a0ebeSmrg    ==983==    by 0x4FAD42: conky::priv::own_window_setting::set(bool const&, bool) (x11.cc:92)
2795258a0ebeSmrg    ==983==
2796258a0ebeSmrg    ==983== LEAK SUMMARY:
2797258a0ebeSmrg    ==983==    definitely lost: 136 bytes in 1 blocks
2798258a0ebeSmrg    ==983==    indirectly lost: 1,552 bytes in 34 blocks
2799258a0ebeSmrg    ==983==      possibly lost: 0 bytes in 0 blocks
2800258a0ebeSmrg    ==983==    still reachable: 37,721 bytes in 306 blocks
2801258a0ebeSmrg    ==983==         suppressed: 0 bytes in 0 blocks
2802258a0ebeSmrg    
2803258a0ebeSmrg    This patch makes the leak dissappear (Well, at least the "definitely lost part". The "still
2804258a0ebeSmrg    reachable" thingy remains). After some analysis, I've discovered that the XLCd structure is
2805258a0ebeSmrg    destroyed improperly. The "constructor" is in lcGeneric.c, but the structure is destroyed using
2806258a0ebeSmrg    code from lcPublic.c. I've found that changing the destructor call to _XlcDestroyLC executes the
2807258a0ebeSmrg    correct code path, and I'm pretty sure this is correct (the object was constructed using
2808258a0ebeSmrg    _XlcCreateLC, it make sense to destroy it using its conterpart).
2809258a0ebeSmrg    
2810258a0ebeSmrg    So far I haven't observed any strange behaviour on my system caused by this change (although, I'm
2811258a0ebeSmrg    not sure, how many programs actually use this function).
2812258a0ebeSmrg    
2813258a0ebeSmrg    Signed-off-by: Pavel Labath <pavelo@centrum.sk>
2814258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2815258a0ebeSmrg
2816258a0ebeSmrgcommit 4645e219133458781e3fb48eaea6a74cccb1b9aa
2817258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk>
2818258a0ebeSmrgDate:   Tue Apr 30 14:39:06 2019 +0100
2819258a0ebeSmrg
2820258a0ebeSmrg    Avoid using libtool wrapper for makekeys
2821258a0ebeSmrg    
2822258a0ebeSmrg    For Windows targets, libtool uses a wrapper executable, not a wrapper
2823258a0ebeSmrg    script (see [1]), which it compiles with the host compiler.  This
2824258a0ebeSmrg    doesn't work when cross-compiling.
2825258a0ebeSmrg    
2826258a0ebeSmrg    Since we don't actually need to link with anything, use the libtool flag
2827258a0ebeSmrg    -all-static to tell it to stay completely out of this.
2828258a0ebeSmrg    
2829258a0ebeSmrg    [1] https://www.gnu.org/software/libtool/manual/html_node/Wrapper-executables.html
2830258a0ebeSmrg
2831258a0ebeSmrgcommit 6886d9ba06826785a8ccb312c04ea82b91bb6a25
2832258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk>
2833258a0ebeSmrgDate:   Wed Apr 24 12:50:41 2019 +0100
2834258a0ebeSmrg
2835258a0ebeSmrg    Use EXEEXT_FOR_BUILD for makekeys
2836258a0ebeSmrg    
2837258a0ebeSmrg    Use EXEXT_FOR_BUILD, to fix cross-compiling where EXEEXT differs from
2838258a0ebeSmrg    EXEEXT_FOR_BUILD, such as when building for Windows from unix.
2839258a0ebeSmrg    
2840258a0ebeSmrg    (Note: As written, this assumes EXEEXT_FOR_BUILD is always empty when
2841258a0ebeSmrg    cross-compiling.  There could be some elaborate autodetection for
2842258a0ebeSmrg    EXEXT_FOR_BUILD, but for the moment, if you are cross-compiling from
2843258a0ebeSmrg    Windows to Unix, you'll need to set EXEEXT_FOR_BUILD explicity...)
2844258a0ebeSmrg
2845258a0ebeSmrgcommit a121b7b0c210efe10bf93453b29050282324c906
2846258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk>
2847258a0ebeSmrgDate:   Tue Apr 30 14:30:41 2019 +0100
2848258a0ebeSmrg
2849258a0ebeSmrg    Remove makekeys dependency on X headers
2850258a0ebeSmrg    
2851258a0ebeSmrg    This is the patch from https://bugs.freedesktop.org/show_bug.cgi?id=6669
2852258a0ebeSmrg    by Pierre Ossman, reworked for master.
2853258a0ebeSmrg    
2854258a0ebeSmrg    Avoid using LIBS (which are for host, but we don't need) and rewrite
2855258a0ebeSmrg    makekeys slightly to avoid needing to include any X headers, which
2856258a0ebeSmrg    avoids potentially having -I with host paths in CFLAGS, which can cause
2857258a0ebeSmrg    standard headers e.g. stdio.h for the host to also be used, which can
2858258a0ebeSmrg    break things...
2859258a0ebeSmrg
2860258a0ebeSmrgcommit cbb59d1727cb1bfcff91b54fd55f4139e360b7ab
2861258a0ebeSmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
2862258a0ebeSmrgDate:   Fri Jun 7 23:35:33 2019 +0200
2863258a0ebeSmrg
2864258a0ebeSmrg    Braille: Fix typing quickly
2865258a0ebeSmrg    
2866258a0ebeSmrg    On finishing releasing Braille keys, we should clear the just-commited
2867258a0ebeSmrg    pattern, to reset the state to initial state, and avoid having to wait for
2868258a0ebeSmrg    0.3s before typing the next pattern.
2869258a0ebeSmrg    
2870258a0ebeSmrg    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2871258a0ebeSmrg    Tested-by: Jean-Philippe Mengual <jpmengual@hypra.fr>
2872258a0ebeSmrg
2873258a0ebeSmrgcommit 99a2cf1aa0b58391078d5d3edf0a7dab18c7745d
2874e9628295SmrgAuthor: Tapani Pälli  <tapani.palli@intel.com>
2875258a0ebeSmrgDate:   Mon May 13 08:29:49 2019 +0300
2876258a0ebeSmrg
2877258a0ebeSmrg    Protect colormap add/removal with display lock
2878258a0ebeSmrg    
2879258a0ebeSmrg    This fixes a bug where concurrent threads call XCreateColormap and
2880258a0ebeSmrg    XFreeColormap corrupting a linked list where colormap structures
2881258a0ebeSmrg    are stored.
2882258a0ebeSmrg    
2883258a0ebeSmrg    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/94
2884258a0ebeSmrg    
2885258a0ebeSmrg    v2: handle XCopyColormapAndFree also (Adam Jackson)
2886258a0ebeSmrg    
2887258a0ebeSmrg    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2888258a0ebeSmrg
2889258a0ebeSmrgcommit fea80d03c381a4de379863c0d41f6d4c00f15e1e
2890258a0ebeSmrgAuthor: Jon Turney <jon.turney@dronecode.org.uk>
2891258a0ebeSmrgDate:   Wed Mar 13 13:12:20 2019 +0000
2892258a0ebeSmrg
2893258a0ebeSmrg    Add autoconf checks for headers we include for FIONREAD
2894258a0ebeSmrg    
2895258a0ebeSmrg    Add autoconf checks for the extra headers we include to define FIONREAD.
2896258a0ebeSmrg    This needs sys/socket.h on Cygwin, and none of the alternatives on
2897258a0ebeSmrg    Windows.
2898258a0ebeSmrg
2899258a0ebeSmrgcommit 87c77a1e6d7034536e9d25ce24a667ebf53486a7
2900e9628295SmrgAuthor: Matthias Dieter Wallnöfer  <matthias.wallnoefer@lugbz.org>
2901258a0ebeSmrgDate:   Mon Mar 11 14:19:52 2019 +0000
2902258a0ebeSmrg
2903258a0ebeSmrg    locale.alias.pre - add the de_IT locale
2904258a0ebeSmrg    
2905258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2906258a0ebeSmrg
2907258a0ebeSmrgcommit 568f77f414072506bbe48646637c872987c97e63
2908e9628295SmrgAuthor: Matthias Dieter Wallnöfer  <matthias.wallnoefer@lugbz.org>
2909258a0ebeSmrgDate:   Mon Mar 11 14:17:10 2019 +0000
2910258a0ebeSmrg
2911258a0ebeSmrg    locale.dir.pre - add the de_IT locale
2912258a0ebeSmrg    
2913258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2914258a0ebeSmrg
2915258a0ebeSmrgcommit 38c0c92feaef7dc4a72920b1dd79872e6578086c
2916e9628295SmrgAuthor: Matthias Dieter Wallnöfer  <matthias.wallnoefer@lugbz.org>
2917258a0ebeSmrgDate:   Mon Mar 11 14:12:07 2019 +0000
2918258a0ebeSmrg
2919258a0ebeSmrg    compose.dir.pre - add de_IT locale
2920258a0ebeSmrg    
2921258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2922258a0ebeSmrg
2923258a0ebeSmrgcommit 49f835611ba6ab82e68b7b851507931c142db7a5
2924e9628295SmrgAuthor: Matthias Dieter Wallnöfer  <matthias.wallnoefer@lugbz.org>
2925258a0ebeSmrgDate:   Tue Jan 29 15:34:34 2019 +0000
2926258a0ebeSmrg
2927258a0ebeSmrg    Update locale.alias.pre - introduce the de_LI aliases (equivalent to de_CH)
2928258a0ebeSmrg    
2929258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2930258a0ebeSmrg
2931258a0ebeSmrgcommit ed669234d0cd5933618aa5fd2da697b59845b9be
2932e9628295SmrgAuthor: Matthias Dieter Wallnöfer  <matthias.wallnoefer@lugbz.org>
2933258a0ebeSmrgDate:   Tue Jan 29 15:28:18 2019 +0000
2934258a0ebeSmrg
2935258a0ebeSmrg    locale.dir.pre - fix the de_LI latin15 locale
2936258a0ebeSmrg    
2937258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2938258a0ebeSmrg
2939258a0ebeSmrgcommit 82b5c1454a49333b4d94984d40db79cff386d37f
2940258a0ebeSmrgAuthor: Josh Triplett <josh@joshtriplett.org>
2941258a0ebeSmrgDate:   Sun Feb 3 08:31:41 2019 +0100
2942258a0ebeSmrg
2943258a0ebeSmrg    compose.dir.pre: Give the C.UTF-8 locale a full set of UTF-8 compose sequences
2944258a0ebeSmrg    
2945258a0ebeSmrg    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
2946258a0ebeSmrg
2947258a0ebeSmrgcommit 603c3ab25a692194805fd4b0c62afac8093897fe
2948258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2949258a0ebeSmrgDate:   Sat Mar 9 20:58:07 2019 -0800
2950258a0ebeSmrg
2951258a0ebeSmrg    Add missing close paren to XrmGetStringDatabase synopsis in man page
2952258a0ebeSmrg    
2953258a0ebeSmrg    Fixes: commit 0642e99ac05afb0c
2954258a0ebeSmrg    
2955258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2956258a0ebeSmrg
2957258a0ebeSmrgcommit 6590cc41e3c5c5c836a49a2c82774d7cc9ab3c85
2958258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2959258a0ebeSmrgDate:   Sat Feb 23 11:12:27 2019 -0800
2960258a0ebeSmrg
2961258a0ebeSmrg    Include reallocarray.h in tarballs so "make distcheck" passes
2962258a0ebeSmrg    
2963258a0ebeSmrg    Fixes: commit bcf7b5aa06c23aee
2964258a0ebeSmrg    
2965258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2966258a0ebeSmrg
2967258a0ebeSmrgcommit a4a7df06351ce9565d298a84547ff71f2d220fbf
2968258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2969258a0ebeSmrgDate:   Sat Feb 23 11:04:41 2019 -0800
2970258a0ebeSmrg
2971258a0ebeSmrg    XlibInt.c: include headers needed for ioctl(...FIONREAD...) on Solaris
2972258a0ebeSmrg    
2973258a0ebeSmrg    Fixes: commit 5538b3e4ae6dee
2974258a0ebeSmrg    
2975258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2976258a0ebeSmrg
2977258a0ebeSmrgcommit 38ec04de7e537dde6b7b1eaca46b1a24fcdbc044
2978258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2979258a0ebeSmrgDate:   Sat Feb 23 10:48:26 2019 -0800
2980258a0ebeSmrg
2981258a0ebeSmrg    specs/XKB: Fix misprint in documentation of XkbFreeGeomOverlayKeys()
2982258a0ebeSmrg    
2983258a0ebeSmrg    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/86
2984258a0ebeSmrg    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23550
2985258a0ebeSmrg    
2986258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2987258a0ebeSmrg
2988258a0ebeSmrgcommit 74f2f26811ae82b15dede31504b0eb541f7a3293
2989258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
2990258a0ebeSmrgDate:   Sat Feb 23 10:46:05 2019 -0800
2991258a0ebeSmrg
2992258a0ebeSmrg    specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayKeys()
2993258a0ebeSmrg    
2994258a0ebeSmrg    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/85
2995258a0ebeSmrg    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23549
2996258a0ebeSmrg    
2997258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2998258a0ebeSmrg
2999258a0ebeSmrgcommit 66b039a41690f076e962ac6bd46cca017360a7d1
3000258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3001258a0ebeSmrgDate:   Sat Feb 23 10:44:15 2019 -0800
3002258a0ebeSmrg
3003258a0ebeSmrg    specs/XKB: Fix misprint in documentation of XkbAllocGeomOverlayRows()
3004258a0ebeSmrg    
3005258a0ebeSmrg    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/84
3006258a0ebeSmrg    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23548
3007258a0ebeSmrg    
3008258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3009258a0ebeSmrg
3010258a0ebeSmrgcommit cdea0e840315171f8390adc63a2397ddf111eea4
3011258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3012258a0ebeSmrgDate:   Sat Feb 23 10:38:08 2019 -0800
3013258a0ebeSmrg
3014258a0ebeSmrg    specs/XKB: Fix misprint in documentation of XkbGetNamedGeometry()
3015258a0ebeSmrg    
3016258a0ebeSmrg    Fixes: https://gitlab.freedesktop.org/xorg/lib/libx11/issues/82
3017258a0ebeSmrg    aka: https://bugs.freedesktop.org/show_bug.cgi?id=23520
3018258a0ebeSmrg    
3019258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3020258a0ebeSmrg
3021258a0ebeSmrgcommit c72d17ada98723cd9e03ddf06680a0e54b2c3089
3022258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3023258a0ebeSmrgDate:   Sat Feb 23 10:30:32 2019 -0800
3024258a0ebeSmrg
3025258a0ebeSmrg    XkbAllocGeomOverlayKey man page should be named XkbAllocGeomOverlayKeys
3026258a0ebeSmrg    
3027258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3028258a0ebeSmrg
3029258a0ebeSmrgcommit 05002b8aef9544c8545e0823a02cf14f335d2b68
3030258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3031258a0ebeSmrgDate:   Sun Feb 17 15:13:25 2019 -0800
3032258a0ebeSmrg
3033258a0ebeSmrg    Fix man page typo: XkbAllBellNotifyMask -> XkbAllBellEventsMask
3034258a0ebeSmrg    
3035258a0ebeSmrg    Reported-by: Daniel Hahler <git@thequod.de>
3036258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3037258a0ebeSmrg
3038258a0ebeSmrgcommit 5538b3e4ae6dee32c47db9dfc85b07bbe7b90f6c
3039258a0ebeSmrgAuthor: Adam Jackson <ajax@redhat.com>
3040258a0ebeSmrgDate:   Fri Mar 24 11:07:36 2017 -0400
3041258a0ebeSmrg
3042258a0ebeSmrg    _XDefaultIOError: Do better at detecting explicit shutdown
3043258a0ebeSmrg    
3044258a0ebeSmrg    Currently, when the X server crashes or a client is disconnected with
3045258a0ebeSmrg    XKillClient, you get a somewhat confusing error message from libX11
3046258a0ebeSmrg    along the lines of:
3047258a0ebeSmrg    
3048258a0ebeSmrg    XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
3049258a0ebeSmrg          after 98 requests (40 known processed) with 0 events remaining.
3050258a0ebeSmrg    
3051258a0ebeSmrg    What's happening here is the previous recvmsg has thrown EAGAIN, since
3052258a0ebeSmrg    the socket is non-blocking. In this case, check whether the socket has
3053258a0ebeSmrg    any more data to read, and if not treat it like EPIPE.
3054258a0ebeSmrg    
3055258a0ebeSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
3056258a0ebeSmrg
3057258a0ebeSmrgcommit 6d2cde9633b5ee020cb60caea1cf61e090b86dd2
3058258a0ebeSmrgAuthor: Adam Jackson <ajax@redhat.com>
3059258a0ebeSmrgDate:   Fri Mar 24 11:07:35 2017 -0400
3060258a0ebeSmrg
3061258a0ebeSmrg    _XDefaultIOError: Reformat to be less ugly
3062258a0ebeSmrg    
3063258a0ebeSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
3064258a0ebeSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3065258a0ebeSmrg
3066258a0ebeSmrgcommit 003e30a66a249f5c70b30d1c187385124cd4cdad
3067258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3068258a0ebeSmrgDate:   Tue Jan 1 14:34:04 2019 -0800
3069258a0ebeSmrg
3070258a0ebeSmrg    Avoid use-after-free in _XimProtoSetIMValues()
3071258a0ebeSmrg    
3072258a0ebeSmrg    Fixes gitlab issue #49
3073258a0ebeSmrg    
3074258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3075258a0ebeSmrg
3076258a0ebeSmrgcommit 30656fd66ad47aeaca0bfc237a818f189554f07e
3077258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3078258a0ebeSmrgDate:   Tue Jan 1 12:21:04 2019 -0800
3079258a0ebeSmrg
3080258a0ebeSmrg    Fix implicit conversion warnings in _XlcCreateDefaultCharSet
3081258a0ebeSmrg    
3082258a0ebeSmrg    lcCharSet.c:187:50: warning: implicit conversion changes signedness:
3083258a0ebeSmrg          'int' to 'unsigned long' [-Wsign-conversion]
3084258a0ebeSmrg        tmp = Xmalloc(name_len + 1 + ct_sequence_len + 1);
3085258a0ebeSmrg              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
3086258a0ebeSmrg    ../../include/X11/Xlibint.h:453:32: note: expanded from macro 'Xmalloc'
3087258a0ebeSmrg                           ~~~~~~  ^~~~
3088258a0ebeSmrg    lcCharSet.c:192:31: warning: implicit conversion changes signedness:
3089258a0ebeSmrg          'int' to 'unsigned long' [-Wsign-conversion]
3090258a0ebeSmrg        memcpy(tmp, name, name_len+1);
3091258a0ebeSmrg        ~~~~~~            ~~~~~~~~^~
3092258a0ebeSmrg    lcCharSet.c:216:45: warning: implicit conversion changes signedness:
3093258a0ebeSmrg          'int' to 'unsigned long' [-Wsign-conversion]
3094258a0ebeSmrg        memcpy(tmp, ct_sequence, ct_sequence_len+1);
3095258a0ebeSmrg        ~~~~~~                   ~~~~~~~~~~~~~~~^~
3096258a0ebeSmrg    lcCharSet.c:183:16: warning: implicit conversion loses integer precision:
3097258a0ebeSmrg          'unsigned long' to 'int' [-Wshorten-64-to-32]
3098258a0ebeSmrg        name_len = strlen(name);
3099258a0ebeSmrg                 ~ ^~~~~~~~~~~~
3100258a0ebeSmrg    lcCharSet.c:184:23: warning: implicit conversion loses integer precision:
3101258a0ebeSmrg          'unsigned long' to 'int' [-Wshorten-64-to-32]
3102258a0ebeSmrg        ct_sequence_len = strlen(ct_sequence);
3103258a0ebeSmrg                        ~ ^~~~~~~~~~~~~~~~~~~
3104258a0ebeSmrg    lcCharSet.c:198:37: warning: implicit conversion loses integer precision:
3105258a0ebeSmrg         'long' to 'unsigned int' [-Wshorten-64-to-32]
3106258a0ebeSmrg            unsigned int length = colon - charset->name;
3107258a0ebeSmrg                         ~~~~~~   ~~~~~~^~~~~~~~~~~~~~~
3108258a0ebeSmrg    
3109258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3110258a0ebeSmrg
3111258a0ebeSmrgcommit 2e6300905784fa8adfcea019262ea58b3e1ed4ad
3112258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3113258a0ebeSmrgDate:   Tue Jan 1 11:41:47 2019 -0800
3114258a0ebeSmrg
3115258a0ebeSmrg    Remove no-longer-used name variable in _XGetAtomName
3116258a0ebeSmrg    
3117258a0ebeSmrg    Fixes gcc warning:
3118258a0ebeSmrg    GetAtomNm.c: In function ‘_XGetAtomName’:
3119258a0ebeSmrg    GetAtomNm.c:39:11: warning: unused variable ‘name’ [-Wunused-variable]
3120258a0ebeSmrg         char *name;
3121258a0ebeSmrg               ^~~~
3122258a0ebeSmrg    
3123258a0ebeSmrg    Introduced by commit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96
3124258a0ebeSmrg    
3125258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3126258a0ebeSmrg
3127258a0ebeSmrgcommit f077871c2a12cf098b0c50572e112c6dc5e04de0
3128258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3129258a0ebeSmrgDate:   Sat Dec 29 11:39:29 2018 -0800
3130258a0ebeSmrg
3131258a0ebeSmrg    Fix out-of-tree builds after commit 8a62e26515e528bb47917ec4a55cc2b492419eeb
3132258a0ebeSmrg    
3133258a0ebeSmrg    In-tree builds found reallocarray.h in $(top_builddir)/src but the
3134258a0ebeSmrg    out-of-tree build didn't find it at all.
3135258a0ebeSmrg    
3136258a0ebeSmrg    Reported-by: Emmanuele Bassi <ebassi@gmail.com> from GNOME continuous integration pipeline
3137258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3138258a0ebeSmrg
3139258a0ebeSmrgcommit ba7f7cc783672784bebc6e69349b55c6c75c1973
3140258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3141258a0ebeSmrgDate:   Sun Sep 27 18:35:27 2015 -0700
3142258a0ebeSmrg
3143258a0ebeSmrg    Convert src/xlibi18n to use reallocarray()
3144258a0ebeSmrg    
3145258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3146258a0ebeSmrg
3147258a0ebeSmrgcommit 336c1e7a505698a8f3bcb6eb96dbbb8ed21ade96
3148258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3149258a0ebeSmrgDate:   Sat Sep 26 11:12:47 2015 -0700
3150258a0ebeSmrg
3151258a0ebeSmrg    Replace Xmalloc+strcpy pairs with strdup calls
3152258a0ebeSmrg    
3153258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3154258a0ebeSmrg
3155258a0ebeSmrgcommit 258a8ced681dc1bc50396be7439fce23f9807e2a
3156258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3157258a0ebeSmrgDate:   Sun Jul 19 11:58:50 2015 -0700
3158258a0ebeSmrg
3159258a0ebeSmrg    Replace _XkbTypedRealloc & _XkbClearElems with new _XkbResizeArray
3160258a0ebeSmrg    
3161258a0ebeSmrg    Makes resizing & clearing more consistent and gets rid of some weird
3162258a0ebeSmrg    quirks like always subtracting 1 from the size passed to _XkbClearElems
3163258a0ebeSmrg    so it could always add 1 to the size passed in.
3164258a0ebeSmrg    
3165258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3166258a0ebeSmrg
3167258a0ebeSmrgcommit f94273e2f4284040306b888e5ca0381ee00591af
3168258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3169258a0ebeSmrgDate:   Sun Jul 19 09:47:29 2015 -0700
3170258a0ebeSmrg
3171258a0ebeSmrg    Add some missing allocation failure checks in src/xcms
3172258a0ebeSmrg    
3173258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3174258a0ebeSmrg
3175258a0ebeSmrgcommit 76850471b4a5a6d30f5660234e87ec2772e7b426
3176258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3177258a0ebeSmrgDate:   Sun Jul 19 09:33:21 2015 -0700
3178258a0ebeSmrg
3179258a0ebeSmrg    Convert src/xcms to use reallocarray()
3180258a0ebeSmrg    
3181258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3182258a0ebeSmrg
3183258a0ebeSmrgcommit 8a62e26515e528bb47917ec4a55cc2b492419eeb
3184258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3185258a0ebeSmrgDate:   Sun Jul 19 09:24:02 2015 -0700
3186258a0ebeSmrg
3187258a0ebeSmrg    Convert src/XKB to use reallocarray()
3188258a0ebeSmrg    
3189258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3190258a0ebeSmrg
3191258a0ebeSmrgcommit 6d1dc1f6169ebf0ba71785d461bd98129c65c862
3192258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3193258a0ebeSmrgDate:   Thu Jun 4 23:30:43 2015 -0700
3194258a0ebeSmrg
3195258a0ebeSmrg    Convert main src directory to use reallocarray()
3196258a0ebeSmrg
3197258a0ebeSmrgcommit bcf7b5aa06c23aee00af7999b58cb96a8571ac42
3198258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3199258a0ebeSmrgDate:   Thu Jun 4 23:18:23 2015 -0700
3200258a0ebeSmrg
3201258a0ebeSmrg    Import reallocarray() from OpenBSD
3202258a0ebeSmrg    
3203258a0ebeSmrg    Wrapper for realloc() that checks for overflow when multiplying
3204258a0ebeSmrg    arguments together, so we don't have to add overflow checks to
3205258a0ebeSmrg    every single call.  For documentation on usage, see:
3206258a0ebeSmrg    http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/calloc.3
3207258a0ebeSmrg    
3208258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3209258a0ebeSmrg
3210258a0ebeSmrgcommit 9bdfe9c9af11d77d66e5ff651e82b20e695cb460
3211258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3212258a0ebeSmrgDate:   Mon Nov 19 21:26:23 2018 -0800
3213258a0ebeSmrg
3214258a0ebeSmrg    Update README for gitlab migration
3215258a0ebeSmrg    
3216258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3217258a0ebeSmrg
3218258a0ebeSmrgcommit c8bcc19970a2cc4ad337de1338c63a07325eefcd
3219258a0ebeSmrgAuthor: Albert Astals Cid <aacid@kde.org>
3220258a0ebeSmrgDate:   Fri Nov 9 22:24:52 2018 +0100
3221258a0ebeSmrg
3222258a0ebeSmrg    locale.dir: Add ast_ES.UTF-8
3223258a0ebeSmrg    
3224258a0ebeSmrg    With this patch xev properly reports
3225258a0ebeSmrg       XLookupString gives 2 bytes: (c2 b4) "´"
3226258a0ebeSmrg    for the dead_acute key when using the Asturian locale
3227258a0ebeSmrg
3228258a0ebeSmrgcommit 117bb310b44ce03802c91a70949eb58dcc702a3c
3229258a0ebeSmrgAuthor: Albert Astals Cid <aacid@kde.org>
3230258a0ebeSmrgDate:   Fri Nov 9 22:18:43 2018 +0100
3231258a0ebeSmrg
3232258a0ebeSmrg    compose.dir: Add ast_ES.UTF-8
3233258a0ebeSmrg    
3234258a0ebeSmrg    With this patch one can properly type dead keys like á when using the
3235258a0ebeSmrg    Asturian locale
3236258a0ebeSmrg
3237258a0ebeSmrgcommit d7e22252d68258a63ca537827c99d0ac0bc4b9d8
3238258a0ebeSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3239258a0ebeSmrgDate:   Sat Nov 10 13:30:47 2018 -0800
3240258a0ebeSmrg
3241258a0ebeSmrg    Remove documentation of obsolete B16 & B32 tags in specs/libX11
3242258a0ebeSmrg    
3243258a0ebeSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3244258a0ebeSmrg
324538ae11fcSmrgcommit f3c978476e0be6813268af494efb7ac507451116
324638ae11fcSmrgAuthor: Matt Turner <mattst88@gmail.com>
324738ae11fcSmrgDate:   Tue Oct 9 10:26:05 2018 -0400
324838ae11fcSmrg
324938ae11fcSmrg    libX11 1.6.7
325038ae11fcSmrg    
325138ae11fcSmrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
325238ae11fcSmrg
325338ae11fcSmrgcommit 823a0f8a820247b6c1e092f679b49cbdc2ea5c95
3254e9628295SmrgAuthor: Michel Dänzer  <michel.daenzer@amd.com>
325538ae11fcSmrgDate:   Fri Sep 28 17:24:17 2018 +0200
325638ae11fcSmrg
325738ae11fcSmrg    poll_for_event: Allow using xcb_poll_for_queued_event
325838ae11fcSmrg    
325938ae11fcSmrg    It avoids reading from the display connection again in cases where that
326038ae11fcSmrg    was already done.
326138ae11fcSmrg    
326238ae11fcSmrg    Suggested-by: Uli Schlachter <psychon@znc.in>
326338ae11fcSmrg    Reviewed-by: Uli Schlachter <psychon@znc.in>
326438ae11fcSmrg
326538ae11fcSmrgcommit 406afe4b0f1b655c0db19bbc9a0c48da9a46acf5
3266e9628295SmrgAuthor: Michel Dänzer  <michel.daenzer@amd.com>
326738ae11fcSmrgDate:   Tue Sep 25 17:10:58 2018 +0200
326838ae11fcSmrg
326938ae11fcSmrg    poll_for_response: Call poll_for_event again if xcb_poll_for_reply fails
327038ae11fcSmrg    
327138ae11fcSmrg    If xcb_poll_for_reply fails to find a reply, poll_for_response would
327238ae11fcSmrg    always return NULL. However, xcb_poll_for_reply may have read events
327338ae11fcSmrg    from the display connection while looking for a reply. In that case,
327438ae11fcSmrg    returning NULL from poll_for_response is wrong and can result in the
327538ae11fcSmrg    client hanging, e.g. because it returns to waiting for the display
327638ae11fcSmrg    connection file descriptor becoming readable after XPending incorrectly
327738ae11fcSmrg    returned 0 pending events.
327838ae11fcSmrg    
327938ae11fcSmrg    The solution is to call poll_for_event again after xcb_poll_for_reply
328038ae11fcSmrg    returned 0. This will return the first of any events read by
328138ae11fcSmrg    xcb_poll_for_reply.
328238ae11fcSmrg    
328338ae11fcSmrg    Fixes issue #79.
328438ae11fcSmrg    
328538ae11fcSmrg    Reported-by: Yuxuan Shui <yshuiv7@gmail.com>
328638ae11fcSmrg    Bugzilla: https://bugs.freedesktop.org/108008
328738ae11fcSmrg    Bugzilla: https://bugs.freedesktop.org/107992
328838ae11fcSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
328938ae11fcSmrg
329038ae11fcSmrgcommit d0416863d5bf75af54ce81f6c30d4c1476b5e04f
329138ae11fcSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com>
329238ae11fcSmrgDate:   Mon Sep 28 08:33:40 2015 +0000
329338ae11fcSmrg
329438ae11fcSmrg    XcmsLookupColor: fully initialize XColor structs passed to _XColor_to_XcmsRGB
329538ae11fcSmrg    
329638ae11fcSmrg    Fixes https://gitlab.freedesktop.org/xorg/lib/libx11/issues/44
329738ae11fcSmrg    aka https://bugs.freedesktop.org/show_bug.cgi?id=92154
329838ae11fcSmrg    
329938ae11fcSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
330038ae11fcSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
330138ae11fcSmrg
33023233502eSmrgcommit 733f64bfeb311c1d040b2f751bfdef9c9d0f89ef
33033233502eSmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
33043233502eSmrgDate:   Tue Aug 21 16:54:50 2018 +0200
33053233502eSmrg
33063233502eSmrg    libX11 1.6.6
33073233502eSmrg    
33083233502eSmrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
33093233502eSmrg
33103233502eSmrgcommit 173704243fbcbea0b6de2068b4fb403c7408fb54
33113233502eSmrgAuthor: Matthieu Herrb <matthieu@herrb.eu>
33123233502eSmrgDate:   Tue Aug 21 16:53:40 2018 +0200
33133233502eSmrg
33143233502eSmrg    Remove statement with no effect.
33153233502eSmrg    
33163233502eSmrg    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
33173233502eSmrg
33183233502eSmrgcommit e83722768fd5c467ef61fa159e8c6278770b45c2
33193233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org>
33203233502eSmrgDate:   Fri Jul 27 16:38:00 2018 +0200
33213233502eSmrg
33223233502eSmrg    Fixed crash on invalid reply (CVE-2018-14598).
33233233502eSmrg    
33243233502eSmrg    If the server sends a reply in which even the first string would
33253233502eSmrg    overflow the transmitted bytes, list[0] (or flist[0]) will be set to
33263233502eSmrg    NULL and a count of 0 is returned.
33273233502eSmrg    
33283233502eSmrg    If the resulting list is freed with XFreeExtensionList or
33293233502eSmrg    XFreeFontPath later on, the first Xfree call:
33303233502eSmrg    
33313233502eSmrg        Xfree (list[0]-1)
33323233502eSmrg     turns into
33333233502eSmrg        Xfree (NULL-1)
33343233502eSmrg    
33353233502eSmrg    which will most likely trigger a segmentation fault.
33363233502eSmrg    
33373233502eSmrg    I have modified the code to return NULL if the first string would
33383233502eSmrg    overflow, thus protecting the freeing functions later on.
33393233502eSmrg    
33403233502eSmrg    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
33413233502eSmrg
33423233502eSmrgcommit dbf72805fd9d7b1846fe9a11b46f3994bfc27fea
33433233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org>
33443233502eSmrgDate:   Fri Jul 27 16:37:17 2018 +0200
33453233502eSmrg
33463233502eSmrg    Fixed out of boundary write (CVE-2018-14600).
33473233502eSmrg    
33483233502eSmrg    The length value is interpreted as signed char on many systems
33493233502eSmrg    (depending on default signedness of char), which can lead to an out of
33503233502eSmrg    boundary write up to 128 bytes in front of the allocated storage, but
33513233502eSmrg    limited to NUL byte(s).
33523233502eSmrg    
33533233502eSmrg    Casting the length value to unsigned char fixes the problem and allows
33543233502eSmrg    string values with up to 255 characters.
33553233502eSmrg    
33563233502eSmrg    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
33573233502eSmrg
33583233502eSmrgcommit b469da1430cdcee06e31c6251b83aede072a1ff0
33593233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org>
33603233502eSmrgDate:   Fri Jul 27 16:36:34 2018 +0200
33613233502eSmrg
33623233502eSmrg    Fixed off-by-one writes (CVE-2018-14599).
33633233502eSmrg    
33643233502eSmrg    The functions XGetFontPath, XListExtensions, and XListFonts are
33653233502eSmrg    vulnerable to an off-by-one override on malicious server responses.
33663233502eSmrg    
33673233502eSmrg    The server replies consist of chunks consisting of a length byte
33683233502eSmrg    followed by actual string, which is not NUL-terminated.
33693233502eSmrg    
33703233502eSmrg    While parsing the response, the length byte is overridden with '\0',
33713233502eSmrg    thus the memory area can be used as storage of C strings later on. To
33723233502eSmrg    be able to NUL-terminate the last string, the buffer is reserved with
33733233502eSmrg    an additional byte of space.
33743233502eSmrg    
33753233502eSmrg    For a boundary check, the variable chend (end of ch) was introduced,
33763233502eSmrg    pointing at the end of the buffer which ch initially points to.
33773233502eSmrg    Unfortunately there is a difference in handling "the end of ch".
33783233502eSmrg    
33793233502eSmrg    While chend points at the first byte that must not be written to,
33803233502eSmrg    the for-loop uses chend as the last byte that can be written to.
33813233502eSmrg    
33823233502eSmrg    Therefore, an off-by-one can occur.
33833233502eSmrg    
33843233502eSmrg    I have refactored the code so chend actually points to the last byte
33853233502eSmrg    that can be written to without an out of boundary access. As it is not
33863233502eSmrg    possible to achieve "ch + length < chend" and "ch + length + 1 > chend"
33873233502eSmrg    with the corrected chend meaning, I removed the inner if-check.
33883233502eSmrg    
33893233502eSmrg    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
33903233502eSmrg
33913233502eSmrgcommit d81da209fd4d0c2c9ad0596a8078e58864479d0d
33923233502eSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org>
33933233502eSmrgDate:   Tue Jul 3 22:31:37 2018 +0200
33943233502eSmrg
33953233502eSmrg    Validation of server response in XListHosts.
33963233502eSmrg    
33973233502eSmrg    If a server sends an incorrect length in its response, a client is prone
33983233502eSmrg    to perform an out of boundary read while processing the data.
33993233502eSmrg    
34003233502eSmrg    The length field of xHostEntry is used to specify the amount of bytes
34013233502eSmrg    used to represent the address. It is 16 bit, which means that it is not
34023233502eSmrg    possible to perform an arbitrary memory access, but it might be enough
34033233502eSmrg    to read sensitive information, e.g. malloc-related pointers and offsets.
34043233502eSmrg    
34053233502eSmrg    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
34063233502eSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
34073233502eSmrg
34083233502eSmrgcommit b676e62377483df77bcb6472d26b24f901323fa9
34093233502eSmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
34103233502eSmrgDate:   Wed Jun 13 15:46:58 2018 +0200
34113233502eSmrg
34123233502eSmrg    XkbOpenDisplay.3: fix typo
34133233502eSmrg    
34143233502eSmrg    XkbOpenDisplay returns a pointer to Display, not a Display.
34153233502eSmrg    
34163233502eSmrg    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
34173233502eSmrg
34183233502eSmrgcommit 9c5845ff0dc080ff10bd68af4fc40fcd805728ca
34193233502eSmrgAuthor: Martin Natano <natano@natano.net>
34203233502eSmrgDate:   Sat Oct 8 19:57:50 2016 +0200
34213233502eSmrg
34223233502eSmrg    Don't rebuild ks_tables.h if nothing changed.
34233233502eSmrg    
34243233502eSmrg    ks_tables.h is always considered out of date due to the forced rebuild
34253233502eSmrg    of the makekeys util. This means the file is also rebuilt during 'make
34263233502eSmrg    install', which is usually performed as root, which can to lead
34273233502eSmrg    permission problems later on.
34283233502eSmrg    
34293233502eSmrg    Signed-off-by: Martin Natano <natano@natano.net>
34303233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
34313233502eSmrg
34323233502eSmrgcommit 796f754cba6d75b676a0fc39b97802198fceda4f
34333233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
34343233502eSmrgDate:   Sat May 5 14:43:30 2018 -0700
34353233502eSmrg
34363233502eSmrg    Change fall through comment in lcDB.c to match gcc's requirements
34373233502eSmrg    
34383233502eSmrg    Needs to match one of the regexps shown under
34393233502eSmrg    https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough
34403233502eSmrg    
34413233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
34423233502eSmrg
34433233502eSmrgcommit 82ca6308757126fa7ffc6588f1e5d8e3be04251b
34443233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
34453233502eSmrgDate:   Sat Mar 24 19:45:14 2018 -0700
34463233502eSmrg
34473233502eSmrg    Use size_t for buffer sizes in SetHints.c
34483233502eSmrg    
34493233502eSmrg    These variables store values returned from strlen() as a size_t
34503233502eSmrg    and are passed to Xmalloc, which expects a size_t, so lets stop
34513233502eSmrg    converting back and forth to int along the way.
34523233502eSmrg    
34533233502eSmrg    Reported by: Konstantin SKliarov
34543233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
34553233502eSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
34563233502eSmrg
34573233502eSmrgcommit 50a5a98984097d614227d22a49265e12b172cac7
34583233502eSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com>
34593233502eSmrgDate:   Tue Jul 5 11:37:50 2016 +0530
34603233502eSmrg
34613233502eSmrg    Fix possible memory leak in cmsProp.c:140
34623233502eSmrg    
34633233502eSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=96814
34643233502eSmrg    
34653233502eSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
34663233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
34673233502eSmrg
34683233502eSmrgcommit a9dafdd57c71473fa3a2ec4887e973e4e9876d83
34693233502eSmrgAuthor: Michal Srb <msrb@suse.com>
34703233502eSmrgDate:   Thu Mar 15 09:50:58 2018 +0100
34713233502eSmrg
34723233502eSmrg    Use flexible array member instead of fake size.
34733233502eSmrg    
34743233502eSmrg    The _XimCacheStruct structure is followed in memory by two strings containing
34753233502eSmrg    fname and encoding. The memory was accessed using the last member of the
34763233502eSmrg    structure `char fname[1]`. That is a lie, prohibits us from using sizeof and
34773233502eSmrg    confuses checkers. Lets declare it properly as a flexible array, so compilers
34783233502eSmrg    don't complain about writing past that array. As bonus we can replace the
34793233502eSmrg    XOffsetOf with regular sizeof.
34803233502eSmrg    
34813233502eSmrg    Fixes GCC8 error:
34823233502eSmrg      In function 'strcpy',
34833233502eSmrg          inlined from '_XimWriteCachedDefaultTree' at imLcIm.c:479:5,
34843233502eSmrg          inlined from '_XimCreateDefaultTree' at imLcIm.c:616:2,
34853233502eSmrg          inlined from '_XimLocalOpenIM' at imLcIm.c:700:5:
34863233502eSmrg      /usr/include/bits/string_fortified.h:90:10: error: '__builtin_strcpy'
34873233502eSmrg      forming offset 2 is out of the bounds [0, 1] [-Werror=array-bounds]
34883233502eSmrg         return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
34893233502eSmrg    
34903233502eSmrg    Caused by this line seemingly writing past the fname[1] array:
34913233502eSmrg      imLcIm.c:479:  strcpy (m->fname+strlen(name)+1, encoding);
34923233502eSmrg    
34933233502eSmrg    Reviewed-by: Keith Packard <keithp@keithp.com>
34943233502eSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
34953233502eSmrg
34963233502eSmrgcommit 34f4464f69a4d6ff0d1042500a62f9a5ed7f3647
34973233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
34983233502eSmrgDate:   Tue Mar 6 11:42:27 2018 -0800
34993233502eSmrg
35003233502eSmrg    If XGetImage fails to create image, don't dereference it to bounds check
35013233502eSmrg    
35023233502eSmrg    Reported by gcc 7.3:
35033233502eSmrg    
35043233502eSmrg    GetImage.c:110:25: warning: potential null pointer dereference [-Wnull-dereference]
35053233502eSmrg      if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 ||
35063233502eSmrg                        ~~~~~^~~~~~~~
35073233502eSmrg    
35083233502eSmrg    Introduced by 8ea762f94f4c942d898fdeb590a1630c83235c17 in Xlib 1.6.4
35093233502eSmrg    
35103233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
35113233502eSmrg    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
35123233502eSmrg
35133233502eSmrgcommit e835a9dcc3362b5e92893be756dd7ae361e64ced
35143233502eSmrgAuthor: wharms <wharms@bfs.de>
35153233502eSmrgDate:   Sun Sep 3 14:17:45 2017 +0200
35163233502eSmrg
35173233502eSmrg    silence gcc warning assignment discards 'const' qualifier from pointer target type
35183233502eSmrg
35193233502eSmrgcommit 36a1ac0253fea82ff79cc52ba56c5691cfd07a3b
35203233502eSmrgAuthor: wharms <wharms@bfs.de>
35213233502eSmrgDate:   Sun Aug 20 21:51:57 2017 +0200
35223233502eSmrg
35233233502eSmrg    remove empty line
35243233502eSmrg
35253233502eSmrgcommit e02dfe54f32b4165351d2712a9d2e0584906a3ce
35263233502eSmrgAuthor: wharms <wharms@bfs.de>
35273233502eSmrgDate:   Sun Aug 20 21:50:33 2017 +0200
35283233502eSmrg
35293233502eSmrg    add _X_UNUSED to avoid unused variable warnings
35303233502eSmrg
35313233502eSmrgcommit 2911c39cecd63ed3747072a5eeeb9eedffc881e9
35323233502eSmrgAuthor: walter harms <wharms@bfs.de>
35333233502eSmrgDate:   Sat Jun 4 17:19:59 2016 +0200
35343233502eSmrg
35353233502eSmrg    Fixes: warning: variable 'req' set but not,used
35363233502eSmrg    
35373233502eSmrg    Fixes: warning: variable 'req' set but not used [-Wunused-but-set-variable]
35383233502eSmrg           by marking req _X_UNUSED
353938ae11fcSmrg            Solution was discussed on xorg-devel ML
35403233502eSmrg           Peter Hutter, Alan Coopersmith
35413233502eSmrg            Re: [PATCH libX11 3/5] fix: warning: pointer targets in passing argument 2 of '_XSend' differ in signedness [-Wpointer-sign]
35423233502eSmrg    
35433233502eSmrg    Signed-off-by: harms wharms@bfs.de
35443233502eSmrg
35453233502eSmrgcommit bf82ec0402479fd8399d69e7d62fc17d7956699a
35463233502eSmrgAuthor: walter harms <wharms@bfs.de>
35473233502eSmrgDate:   Sat Jun 4 17:22:07 2016 +0200
35483233502eSmrg
35493233502eSmrg    mark _XDefaultIOError as no_return
35503233502eSmrg    
35513233502eSmrg    mark _XDefaultIOError as no_return. No one comes back from exit() ...
35523233502eSmrg    
35533233502eSmrg    Signed-off-by: harms wharms@bfs.de
35543233502eSmrg
35553233502eSmrgcommit 9abe8380074edea3ac4e72466ec47e921ca05e47
35563233502eSmrgAuthor: walter harms <wharms@bfs.de>
35573233502eSmrgDate:   Sat Jun 4 17:21:52 2016 +0200
35583233502eSmrg
35593233502eSmrg    no need to check XFree arguments
35603233502eSmrg    
35613233502eSmrg    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
35623233502eSmrg    
35633233502eSmrg    Signed-off-by: harms wharms@bfs.de
35643233502eSmrg
35653233502eSmrgcommit 433477fcb7e07d0c26a22ba78aae88827ed1f440
35663233502eSmrgAuthor: walter harms <wharms@bfs.de>
35673233502eSmrgDate:   Tue Apr 26 16:32:20 2016 +0200
35683233502eSmrg
35693233502eSmrg    fix memleak in error path
35703233502eSmrg    
35713233502eSmrg    free all mem on error
35723233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
35733233502eSmrg
35743233502eSmrgcommit ed9f0d34abc645eee56e21863f23acb4d0bb8e9a
35753233502eSmrgAuthor: walter harms <wharms@bfs.de>
35763233502eSmrgDate:   Tue Apr 26 17:58:16 2016 +0200
35773233502eSmrg
35783233502eSmrg    fix memleak in error path
35793233502eSmrg    
35803233502eSmrg    V2: remove unneeded NULL (reported by eric.engestrom@imgtec.com)
35813233502eSmrg    
35823233502eSmrg    fix mem leak in error path
35833233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
35843233502eSmrg
35853233502eSmrgcommit 7c78fc57693afa94cf26170f0f6276e3b7374ed0
35863233502eSmrgAuthor: walter harms <wharms@bfs.de>
35873233502eSmrgDate:   Tue Apr 26 16:34:11 2016 +0200
35883233502eSmrg
35893233502eSmrg    no need to check args for Xfree()
35903233502eSmrg    
35913233502eSmrg    simplify code
35923233502eSmrg    
35933233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
35943233502eSmrg
35953233502eSmrgcommit c1c14af441ae73d1a8e67a971fafcf967e45ac48
35963233502eSmrgAuthor: walter harms <wharms@bfs.de>
35973233502eSmrgDate:   Tue Apr 26 16:23:46 2016 +0200
35983233502eSmrg
35993233502eSmrg    remove stray extern
36003233502eSmrg    
36013233502eSmrg    remove stray extern
36023233502eSmrg    
36033233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
36043233502eSmrg
36053233502eSmrgcommit 714921f041a245dc5f37a689268b584226a2ccb9
36063233502eSmrgAuthor: walter harms <wharms@bfs.de>
36073233502eSmrgDate:   Mon Apr 11 18:26:52 2016 +0200
36083233502eSmrg
36093233502eSmrg    no need to check argument for _XkbFree()
36103233502eSmrg    
36113233502eSmrg    simplify code by removing unneeded checks
36123233502eSmrg    
36133233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
36143233502eSmrg
36153233502eSmrgcommit d02c2466f65063a03c97dbcee05071c12a3676e6
36163233502eSmrgAuthor: walter harms <wharms@bfs.de>
36173233502eSmrgDate:   Mon Apr 11 18:22:38 2016 +0200
36183233502eSmrg
36193233502eSmrg    fix more shadow warning
36203233502eSmrg    
36213233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
36223233502eSmrg
36233233502eSmrgcommit 0355c3926d5372f9762f235071dbd94a89bbbdad
36243233502eSmrgAuthor: walter harms <wharms@bfs.de>
36253233502eSmrgDate:   Thu Mar 31 19:16:33 2016 +0200
36263233502eSmrg
36273233502eSmrg    fix shadow char_size
36283233502eSmrg    
36293233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
36303233502eSmrg
36313233502eSmrgcommit 916dffadf052135df3398651be873c353da629e1
36323233502eSmrgAuthor: walter harms <wharms@bfs.de>
36333233502eSmrgDate:   Thu Mar 31 19:14:32 2016 +0200
36343233502eSmrg
36353233502eSmrg    remove argument check for free() adjust one inden
36363233502eSmrg    
36373233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
36383233502eSmrg
36393233502eSmrgcommit 6ec901ebca3fea6a762e22090dc35b1b90911133
36403233502eSmrgAuthor: walter harms <wharms@bfs.de>
36413233502eSmrgDate:   Thu Mar 31 19:12:17 2016 +0200
36423233502eSmrg
36433233502eSmrg    _XIOError(dpy); will never return so remore dead
36443233502eSmrg    
36453233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
36463233502eSmrg
36473233502eSmrgcommit 83107a677b2ed458e4d62ea4a601e8181d3683d8
36483233502eSmrgAuthor: walter harms <wharms@bfs.de>
36493233502eSmrgDate:   Thu Mar 31 19:10:49 2016 +0200
36503233502eSmrg
36513233502eSmrg    fix shadow warning
36523233502eSmrg    
36533233502eSmrg    Signed-off-by: walter harms <wharms@bfs.de>
36543233502eSmrg
36553233502eSmrgcommit 4fe66b1c5112b07bd09e28bbc021911d08a9621f
36563233502eSmrgAuthor: Ryan C. Gordon <icculus@icculus.org>
36573233502eSmrgDate:   Wed Aug 2 02:41:03 2017 -0400
36583233502eSmrg
36593233502eSmrg    Valgrind fix for XStoreColor and XStoreColors.
36603233502eSmrg    
36613233502eSmrg    If the "pad" field isn't set, Valgrind will report it as uninitialized
36623233502eSmrg    memory accesses when the struct is copied into the Display's send buffer.
36633233502eSmrg    
36643233502eSmrg    In practice, this is (probably) harmless, but Valgrind is correct in
36653233502eSmrg    believing it's a bug.
36663233502eSmrg    
36673233502eSmrg    https://bugs.freedesktop.org/attachment.cgi?id=133189
36683233502eSmrg    
36693233502eSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
36703233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
36713233502eSmrg
36723233502eSmrgcommit 7d2010fec25c2f52b873ad0572479eb43128b038
36733233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
36743233502eSmrgDate:   Fri Apr 7 00:13:03 2017 -0700
36753233502eSmrg
36763233502eSmrg    Improve table formatting in XkbChangeControls & XkbKeyNumGroups man pages
36773233502eSmrg    
36783233502eSmrg    Includes fix for Solaris Bug 24564279: "XkbKeyNumGroups.3x11 man page
36793233502eSmrg    contains some malformed text" caused by extra whitespace after .TE macros
36803233502eSmrg    
36813233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
36823233502eSmrg
36833233502eSmrgcommit b856d5d929047d1ea169814d56e43784ea404c83
36843233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
36853233502eSmrgDate:   Thu Mar 16 00:05:49 2017 -0700
36863233502eSmrg
36873233502eSmrg    Clarify state parameter to XkbSetNamedDeviceIndicator
36883233502eSmrg    
36893233502eSmrg    Checking a Bool to see if it's NULL does not work well in C.
36903233502eSmrg    Also reported in https://bugs.freedesktop.org/show_bug.cgi?id=251
36913233502eSmrg    
36923233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
36933233502eSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
36943233502eSmrg
36953233502eSmrgcommit c6dadd4cebd994aafb37a58b3adbaa82507c2d18
36963233502eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
36973233502eSmrgDate:   Wed Mar 15 23:50:26 2017 -0700
36983233502eSmrg
36993233502eSmrg    Make Xkb{Get,Set}NamedIndicator spec & manpages match code
37003233502eSmrg    
37013233502eSmrg    The XKB Library spec and the man pages for XkbGetNamedIndicator &
37023233502eSmrg    XkbSetNamedIndicator included a device_spec argument neither function
37033233502eSmrg    takes, and do not include the XkbGetNamedDeviceIndicator &
37043233502eSmrg    XkbSetNamedDeviceIndicator variants that do take it (along with two
37053233502eSmrg    other arguments).
37063233502eSmrg    
37073233502eSmrg    This updates them to match the interfaces the code has provided for
37083233502eSmrg    decades.
37093233502eSmrg    
37103233502eSmrg    This has been reported multiple times, so this fixes:
37113233502eSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=251
37123233502eSmrg    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729812
37133233502eSmrg    Sun Bug 4528016 XkbSetNamedIndicator & XkbGetNamedIndicator man pages are wrong
37143233502eSmrg      (filed: alan.coopersmith@sun.com 2001-11-15 - now aka Oracle bug 15087506)
37153233502eSmrg    X.Org Group Defect Id #9418
37163233502eSmrg    
37173233502eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
37183233502eSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
37193233502eSmrg
37203233502eSmrgcommit 2d20890e7ffd3ee88a9ceb25cdd2ac1fe7aaceb6
37213233502eSmrgAuthor: Arthur Huillet <ahuillet@nvidia.com>
37223233502eSmrgDate:   Wed Feb 1 15:02:41 2017 +0100
37233233502eSmrg
37243233502eSmrg    _XDefaultError: set XlibDisplayIOError flag before calling exit
37253233502eSmrg    
37263233502eSmrg    _XReply isn't reentrant, and it can lead to deadlocks when the default error
37273233502eSmrg    handler is called: _XDefaultError calls exit(1). It is called indirectly by
37283233502eSmrg    _XReply when a X protocol error comes in that isn't filtered/handled by an
37293233502eSmrg    extension or the application. This means that if the application (or one of its
37303233502eSmrg    loaded shared libraries such as the NVIDIA OpenGL driver) has registered any
37313233502eSmrg    _fini destructor, _fini will get called while still on the call stack of
37323233502eSmrg    _XReply. If the destructor interacts with the X server and calls _XReply, it
37333233502eSmrg    will hit a deadlock, looping on the following in _XReply:
37343233502eSmrg    
37353233502eSmrg        ConditionWait(dpy, dpy->xcb->reply_notify);
37363233502eSmrg    
37373233502eSmrg    It is legal for an application to make Xlib calls during _fini, and that is
37383233502eSmrg    useful for an OpenGL driver to avoid resource leaks on the X server side, for
37393233502eSmrg    example in the dlopen/dlclose case. However, the driver can not readily tell
37403233502eSmrg    whether its _fini is being called because Xlib called exit, or for another
37413233502eSmrg    reason (dlclose), so it is hard to cleanly work around this issue in the driver.
37423233502eSmrg    
37433233502eSmrg    This change makes it so _XReply effectively becomes a no-op when called after
37443233502eSmrg    _XDefaultError was called, as though an XIOError had happened. The dpy
37453233502eSmrg    connection isn't broken at that point, but any call to _XReply is going to hang.
37463233502eSmrg    This is a bit of a kludge, because the more correct solution would be to make
37473233502eSmrg    _XReply reentrant, maybe by broadcasting the reply_notify condition before
37483233502eSmrg    calling the default error handler. However, such a change would carry a grater
37493233502eSmrg    risk of introducing regressions in Xlib.
37503233502eSmrg    
37513233502eSmrg    This change will drop some valid requests on the floor, but this should not
37523233502eSmrg    matter, as it will only do so in the case where the application is dying: X will
37533233502eSmrg    clean up after it once exit() is done running. There is the case of
37543233502eSmrg    XSetCloseDownMode(RETAIN_PERMANENT), but an application using that and wishing
37553233502eSmrg    to clean up resources in _fini would currently be hitting a deadlock, which is
37563233502eSmrg    hardly a better situation.
37573233502eSmrg    
37583233502eSmrg    Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
37593233502eSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
37603233502eSmrg
3761862bcd1aSmrgcommit 42f4d7af9cf6d1dbfa575552e057328b054a20c9
3762862bcd1aSmrgAuthor: Matt Turner <mattst88@gmail.com>
3763862bcd1aSmrgDate:   Sat Feb 25 21:54:22 2017 -0800
3764862bcd1aSmrg
3765862bcd1aSmrg    libX11 1.6.5
3766862bcd1aSmrg    
3767862bcd1aSmrg    Signed-off-by: Matt Turner <mattst88@gmail.com>
3768862bcd1aSmrg
3769862bcd1aSmrgcommit a0da5835e8078445947c828fe2d86c1a31439012
3770862bcd1aSmrgAuthor: Adam Jackson <ajax@redhat.com>
3771862bcd1aSmrgDate:   Tue Feb 14 15:33:29 2017 -0500
3772862bcd1aSmrg
3773862bcd1aSmrg    Revert "Compose sequences for rouble sign"
3774862bcd1aSmrg    
3775862bcd1aSmrg    This reverts commit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0.
3776862bcd1aSmrg    
3777862bcd1aSmrg    Reported to break 'make check':
3778862bcd1aSmrg    
3779862bcd1aSmrg    https://lists.freedesktop.org/archives/xorg-devel/2017-February/052720.html
3780862bcd1aSmrg
3781862bcd1aSmrgcommit d9e34061307748cb7318ed6b5f83ee5ee9b81fd0
3782862bcd1aSmrgAuthor: Mihail Konev <k.mvc@ya.ru>
3783862bcd1aSmrgDate:   Fri Feb 10 18:48:18 2017 +0500
3784862bcd1aSmrg
3785862bcd1aSmrg    Compose sequences for rouble sign
3786862bcd1aSmrg    
3787862bcd1aSmrg    Cyrillic combinations mirror the Qwerty-Jcuken keyboard layout.
3788862bcd1aSmrg    Also add Cyrillic sequences for hryvnia sign.
3789862bcd1aSmrg    
3790862bcd1aSmrg    Submitted-by: Victor V. Kustov <coyote@bks.tv>
3791862bcd1aSmrg    Reviewed-by: Victor V. Kustov <coyote@bks.tv>
3792862bcd1aSmrg    Signed-off-by: Mihail Konev <k.mvc@ya.ru>
3793862bcd1aSmrg
3794862bcd1aSmrgcommit 23d9623c661694aba8cf1e8f277dffa7a86cf065
3795e9628295SmrgAuthor: Petr Písař < <petr.pisar@atlas.cz>
3796862bcd1aSmrgDate:   Sun Oct 30 12:49:11 2016 +0100
3797862bcd1aSmrg
3798862bcd1aSmrg    Revert cs_CZ.UTF-8 XLC_LOCALE to en_US.UTF-8
3799862bcd1aSmrg    
3800862bcd1aSmrg    The cs_CZ.UTF-8/XLC_LOCALE is an empty file leading to unsupported cs_CZ.UTF-8
3801862bcd1aSmrg    locale and reporting this error:
3802862bcd1aSmrg    
3803862bcd1aSmrg    Warning: locale not supported by Xlib, locale set to C
3804862bcd1aSmrg    
3805862bcd1aSmrg    Therefore this patch reverts to the en_US.UTF-8 definition file that was used
3806862bcd1aSmrg    before. This patch also deduplicates the cs_CZ.UTF-8 entry.
3807862bcd1aSmrg    
3808862bcd1aSmrg    <https://bugs.freedesktop.org/show_bug.cgi?id=98219>
3809862bcd1aSmrg    
3810862bcd1aSmrg    This reverts commit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51
3811862bcd1aSmrg    
3812862bcd1aSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
3813862bcd1aSmrg
3814862bcd1aSmrgcommit 71b0929ebc1f0f877f63e3f6de260f529daa6c69
3815862bcd1aSmrgAuthor: Mihail Konev <k.mvc@ya.ru>
3816862bcd1aSmrgDate:   Thu Jan 26 13:52:49 2017 +1000
3817862bcd1aSmrg
3818862bcd1aSmrg    autogen: add default patch prefix
3819862bcd1aSmrg    
3820862bcd1aSmrg    Signed-off-by: Mihail Konev <k.mvc@ya.ru>
3821862bcd1aSmrg
3822862bcd1aSmrgcommit 2979011bc170c55894b9185b26376f8efc6db7d4
3823862bcd1aSmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com>
3824862bcd1aSmrgDate:   Mon Mar 9 12:00:52 2015 +0000
3825862bcd1aSmrg
3826862bcd1aSmrg    autogen.sh: use quoted string variables
3827862bcd1aSmrg    
3828862bcd1aSmrg    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
3829862bcd1aSmrg    fall-outs, when they contain space.
3830862bcd1aSmrg    
3831862bcd1aSmrg    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3832862bcd1aSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
3833862bcd1aSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3834862bcd1aSmrg
3835862bcd1aSmrgcommit 4a0082a1b6affa65d38294f0e13511525cd8ad15
3836862bcd1aSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
3837862bcd1aSmrgDate:   Tue Jan 24 10:32:07 2017 +1000
3838862bcd1aSmrg
3839862bcd1aSmrg    autogen.sh: use exec instead of waiting for configure to finish
3840862bcd1aSmrg    
3841862bcd1aSmrg    Syncs the invocation of configure with the one from the server.
3842862bcd1aSmrg    
3843862bcd1aSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3844862bcd1aSmrg    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
3845862bcd1aSmrg
3846862bcd1aSmrgcommit c74b070f2712c95f0db7c320a10232b0e5c83049
3847862bcd1aSmrgAuthor: Julien Cristau <jcristau@debian.org>
3848862bcd1aSmrgDate:   Sat Jan 7 16:20:31 2017 +0100
3849862bcd1aSmrg
3850862bcd1aSmrg    Fix wrong Xfree in XListFonts failure path
3851862bcd1aSmrg    
3852862bcd1aSmrg    'ch' gets moved inside the allocated buffer as we're looping through
3853862bcd1aSmrg    fonts, so keep a reference to the start of the buffer so we can pass
3854862bcd1aSmrg    that to Xfree in the failure case.
3855862bcd1aSmrg    
3856862bcd1aSmrg    Fixes: commit 20a3f99eba5001925b8b313da3accb7900eb1927 "Plug a memory leak"
3857862bcd1aSmrg    
3858862bcd1aSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
3859862bcd1aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3860862bcd1aSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3861862bcd1aSmrg
3862862bcd1aSmrgcommit 663f47075fe67bab4f99bc5d186c49175d4a4334
3863862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3864862bcd1aSmrgDate:   Sun Jan 1 20:57:58 2017 -0800
3865862bcd1aSmrg
3866862bcd1aSmrg    specs/libX11: Update Portability Considerations for the 21st century
3867862bcd1aSmrg    
3868862bcd1aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3869862bcd1aSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3870862bcd1aSmrg
3871862bcd1aSmrgcommit 28f4b989b52fcf45c7e75a878d8d9c2583cd6b3c
3872862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3873862bcd1aSmrgDate:   Sun Jan 1 20:39:53 2017 -0800
3874862bcd1aSmrg
3875862bcd1aSmrg    specs/libX11: Fix broken synopsis for Data/Data16/Data32
3876862bcd1aSmrg    
3877862bcd1aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3878862bcd1aSmrg
3879862bcd1aSmrgcommit 382561951e3460b09c21a1a23748cde0315fbb19
3880862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3881862bcd1aSmrgDate:   Sun Jan 1 20:31:54 2017 -0800
3882862bcd1aSmrg
3883862bcd1aSmrg    specs/libX11: Add missing parameter types for XGetWindowProperty()
3884862bcd1aSmrg    
3885862bcd1aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3886862bcd1aSmrg
3887862bcd1aSmrgcommit 2beaecdb66965b861d6b790d151ba947f65f0a22
3888862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3889862bcd1aSmrgDate:   Sun Jan 1 20:16:08 2017 -0800
3890862bcd1aSmrg
3891862bcd1aSmrg    specs/libX11: Make paramdef spacing more consistent
3892862bcd1aSmrg    
3893862bcd1aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3894862bcd1aSmrg
3895862bcd1aSmrgcommit 4c436c6c14cfd4c397b011563bf13c2872861133
3896862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3897862bcd1aSmrgDate:   Sun Jan 1 20:02:53 2017 -0800
3898862bcd1aSmrg
3899862bcd1aSmrg    specs/libX11: Fix paramdef entries listing multiple parameters
3900862bcd1aSmrg    
3901862bcd1aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3902862bcd1aSmrg
3903862bcd1aSmrgcommit 1728b1a8a4718315da8e5c9cbc2c04bb75c74107
3904862bcd1aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
3905862bcd1aSmrgDate:   Sun Jan 1 19:38:40 2017 -0800
3906862bcd1aSmrg
3907862bcd1aSmrg    specs/libX11: More synopsis fixes
3908862bcd1aSmrg    
3909862bcd1aSmrg    Mostly transforming macro definitions and functions taking void arguments
3910862bcd1aSmrg    from undecorated <para> tags to use <funcsynopsis> tags to get decorations.
3911862bcd1aSmrg    
3912862bcd1aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3913862bcd1aSmrg
3914862bcd1aSmrgcommit f0dc83db7e3a3d4a76c0f9d24763b80f01c893a9
3915862bcd1aSmrgAuthor: Lucien Gentis <lucien.gentis@waika9.com>
3916862bcd1aSmrgDate:   Wed Jun 1 17:02:47 2016 +0200
3917862bcd1aSmrg
3918862bcd1aSmrg    Typos in "Xlib - C Language X Interface" document - Chapter 02
3919862bcd1aSmrg    
3920862bcd1aSmrg    This patch fixes typos and lack of tags in "Xlib - C Language X Interface" document - Chapter 02.
3921862bcd1aSmrg    
3922862bcd1aSmrg    Signed-off-by: Lucien Gentis <lucien.gentis@waika9.com>
3923862bcd1aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3924862bcd1aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
3925862bcd1aSmrg
3926862bcd1aSmrgcommit 20a3f99eba5001925b8b313da3accb7900eb1927
3927862bcd1aSmrgAuthor: Emilio Pozuelo Monfort <pochu@debian.org>
3928862bcd1aSmrgDate:   Tue Oct 25 21:30:15 2016 +0200
3929862bcd1aSmrg
3930862bcd1aSmrg    Plug a memory leak
3931862bcd1aSmrg    
3932862bcd1aSmrg    This was introduced in 8ea762f.
3933862bcd1aSmrg    
3934862bcd1aSmrg    Reported-by: Julien Cristau <jcristau@debian.org>
3935862bcd1aSmrg    Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
3936862bcd1aSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
3937862bcd1aSmrg
39382d67cb4fSmrgcommit 8f349feac24aacc958bd816afcc52380764e3d92
39392d67cb4fSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
39402d67cb4fSmrgDate:   Tue Oct 4 21:01:39 2016 +0200
39412d67cb4fSmrg
39422d67cb4fSmrg    libX11 1.6.4
39432d67cb4fSmrg    
39442d67cb4fSmrg    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
39452d67cb4fSmrg
39462d67cb4fSmrgcommit 8ea762f94f4c942d898fdeb590a1630c83235c17
39472d67cb4fSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org>
39482d67cb4fSmrgDate:   Sun Sep 25 21:25:25 2016 +0200
39492d67cb4fSmrg
39502d67cb4fSmrg    Validation of server responses in XGetImage()
39512d67cb4fSmrg    
39522d67cb4fSmrg    Check if enough bytes were received for specified image type and
39532d67cb4fSmrg    geometry. Otherwise GetPixel and other functions could trigger an
39542d67cb4fSmrg    out of boundary read later on.
39552d67cb4fSmrg    
39562d67cb4fSmrg    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
39572d67cb4fSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
39582d67cb4fSmrg
39592d67cb4fSmrgcommit 8c29f1607a31dac0911e45a0dd3d74173822b3c9
39602d67cb4fSmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org>
39612d67cb4fSmrgDate:   Sun Sep 25 21:22:57 2016 +0200
39622d67cb4fSmrg
39632d67cb4fSmrg    The validation of server responses avoids out of boundary accesses.
39642d67cb4fSmrg    
39652d67cb4fSmrg    v2: FontNames.c  return a NULL list whenever a single
39662d67cb4fSmrg    length field from the server is incohent.
39672d67cb4fSmrg    
39682d67cb4fSmrg    Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
39692d67cb4fSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
39702d67cb4fSmrg
39712d67cb4fSmrgcommit 78851f6a03130e3c720b60c3cbf96f8eb216d741
39722d67cb4fSmrgAuthor: walter harms <wharms@bfs.de>
39732d67cb4fSmrgDate:   Mon Aug 15 19:18:14 2016 +0200
39742d67cb4fSmrg
39752d67cb4fSmrg    XFree will accept NULL as argument
39762d67cb4fSmrg    
39772d67cb4fSmrg    since Xfree is a define for free():
39782d67cb4fSmrg      Xlibint.h:#define Xfree(ptr) free((ptr))
39792d67cb4fSmrg    
39802d67cb4fSmrg    Xfree will accept NULL and do nothing.
39812d67cb4fSmrg    
39822d67cb4fSmrg    Signed-off-by: Hans de Goede <hdegoede@redhat.com>
39832d67cb4fSmrg
39842d67cb4fSmrgcommit 83adf3d1e3d0d6602244381334f75c216da4ab6e
39852d67cb4fSmrgAuthor: Matthew D. Fuller <fullermd@over-yonder.net>
39862d67cb4fSmrgDate:   Sat Jun 4 11:24:01 2016 -0500
39872d67cb4fSmrg
39882d67cb4fSmrg    Fixup param specification for XChangeProperty()
39892d67cb4fSmrg    
39902d67cb4fSmrg    Signed-off-by: Matthew D. Fuller <fullermd@over-yonder.net>
39912d67cb4fSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
39922d67cb4fSmrg
39932d67cb4fSmrgcommit 3129c757f9da8586ab8b8654a56c8f687cc9ef5c
39942d67cb4fSmrgAuthor: Mats Blakstad <mats.gbproject@gmail.com>
39952d67cb4fSmrgDate:   Sun Feb 28 13:22:03 2016 -0500
39962d67cb4fSmrg
39972d67cb4fSmrg     New compose keys for local languages in Togo
39982d67cb4fSmrg    
39992d67cb4fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
40002d67cb4fSmrg
40012d67cb4fSmrgcommit e1011b9e2f6c82255959cf3cc1d8cda402ded0a9
40022d67cb4fSmrgAuthor: Daniel Albers <daniel@lbe.rs>
40032d67cb4fSmrgDate:   Wed Mar 9 14:35:48 2016 +0100
40042d67cb4fSmrg
40052d67cb4fSmrg    Add Compose sequence for U+1F4A9.
40062d67cb4fSmrg    
40072d67cb4fSmrg    Signed-off-by: Daniel Albers <daniel@lbe.rs>
40082d67cb4fSmrg
40092d67cb4fSmrgcommit 6d7bb040c928485f2557c2c914b95cffb2354179
40102d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
40112d67cb4fSmrgDate:   Sat Feb 6 14:18:32 2016 -0800
40122d67cb4fSmrg
40132d67cb4fSmrg    xcms: use size_t for pointer offsets passed to strncmp
40142d67cb4fSmrg    
40152d67cb4fSmrg    instead of converting to int and back
40162d67cb4fSmrg    
40172d67cb4fSmrg    Fixes clang warnings of the form:
40182d67cb4fSmrg    HVC.c:190:43: warning: implicit conversion changes signedness: 'int' to
40192d67cb4fSmrg          'unsigned long' [-Wsign-conversion]
40202d67cb4fSmrg              if (strncmp(spec, _XcmsTekHVC_prefix, n) != 0) {
40212d67cb4fSmrg                  ~~~~~~~
40222d67cb4fSmrg    
40232d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
40242d67cb4fSmrg
40252d67cb4fSmrgcommit a9266804eed38a83897ab5f0f9f8a8ab82a98882
40262d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
40272d67cb4fSmrgDate:   Sat Feb 6 13:32:44 2016 -0800
40282d67cb4fSmrg
40292d67cb4fSmrg    xcms: use unsigned indexes when looping through unsigned values
40302d67cb4fSmrg    
40312d67cb4fSmrg    Clears many gcc warnings of the form:
40322d67cb4fSmrg    
40332d67cb4fSmrg    uvY.c: In function ‘XcmsCIEuvYToCIEXYZ’:
40342d67cb4fSmrg    uvY.c:263:19: warning: comparison between signed and unsigned integer
40352d67cb4fSmrg      expressions [-Wsign-compare]
40362d67cb4fSmrg         for (i = 0; i < nColors; i++, pColor++) {
40372d67cb4fSmrg                       ^
40382d67cb4fSmrg    
40392d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
40402d67cb4fSmrg
40412d67cb4fSmrgcommit 0ee0d383b4488b7b90d8bd50b75c371e0dc0d397
40422d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
40432d67cb4fSmrgDate:   Sat Feb 6 13:01:25 2016 -0800
40442d67cb4fSmrg
40452d67cb4fSmrg    xcms: use size_t for strlen/sizeof values instead of converting to int & back
40462d67cb4fSmrg    
40472d67cb4fSmrg    Fixes gcc warnings of the form:
40482d67cb4fSmrg    
40492d67cb4fSmrg    IdOfPr.c: In function ‘XcmsFormatOfPrefix’:
40502d67cb4fSmrg    IdOfPr.c:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
40512d67cb4fSmrg         if ((len = strlen(prefix)) >= sizeof(string_buf)) {
40522d67cb4fSmrg                                    ^
40532d67cb4fSmrg    IdOfPr.c:83:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
40542d67cb4fSmrg       if (len >= sizeof(string_buf)) Xfree(string_lowered);
40552d67cb4fSmrg               ^
40562d67cb4fSmrg    IdOfPr.c:97:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
40572d67cb4fSmrg       if (len >= sizeof(string_buf)) Xfree(string_lowered);
40582d67cb4fSmrg               ^
40592d67cb4fSmrg    IdOfPr.c:104:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
40602d67cb4fSmrg         if (len >= sizeof(string_buf)) Xfree(string_lowered);
40612d67cb4fSmrg                 ^
40622d67cb4fSmrg    
40632d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
40642d67cb4fSmrg
40652d67cb4fSmrgcommit 4de6ed3e7b1833c52c9d58ab74d59d57ca2a9f0d
40662d67cb4fSmrgAuthor: Dominik Muth <nxdomainuser-muth@yahoo.com>
40672d67cb4fSmrgDate:   Thu Mar 26 07:52:58 2015 +0100
40682d67cb4fSmrg
40692d67cb4fSmrg    Xlib.h: Fix macros imitating C functions.
40702d67cb4fSmrg    
40712d67cb4fSmrg    The basic rule "put parantheses around macro parameters" should be
40722d67cb4fSmrg    observed where possible. Otherwise code like
40732d67cb4fSmrg    
40742d67cb4fSmrg        ConnectionNumber(foo = bar);
40752d67cb4fSmrg    
40762d67cb4fSmrg    fails to compile. (It obviously passes if ConnectionNumber is a C
40772d67cb4fSmrg    function.) There are several other macros amended for the same reason.
40782d67cb4fSmrg    
40792d67cb4fSmrg    This bug appeared while building http://ioccc.org/1993/cmills.c, so
40802d67cb4fSmrg    historically it was not present.
40812d67cb4fSmrg    
40822d67cb4fSmrg    Signed-off-by: Dominik Muth <muth@nxdomain.no-ip.biz>
40832d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
40842d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
40852d67cb4fSmrg
40862d67cb4fSmrgcommit 3706b0f2b14cc97578a6bee620266edca2722ebf
40872d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
40882d67cb4fSmrgDate:   Fri Nov 15 18:03:25 2013 -0800
40892d67cb4fSmrg
40902d67cb4fSmrg    Don't need to link libX11-xcb against libX11
40912d67cb4fSmrg    
40922d67cb4fSmrg    libX11-xcb only accesses data structures defined in X11 headers,
40932d67cb4fSmrg    it doesn't call any functions or reference any global variables
40942d67cb4fSmrg    in libX11 itself.  (Seems to have been left from previous XCL
40952d67cb4fSmrg    implementation.)
40962d67cb4fSmrg    
40972d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
40982d67cb4fSmrg
40992d67cb4fSmrgcommit eddf1bbd18872b286a9f939140f0cd9ba4e93804
41002d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
41012d67cb4fSmrgDate:   Fri Jan 22 11:44:25 2016 -0800
41022d67cb4fSmrg
41032d67cb4fSmrg    Stop checking for preferred order of local transports
41042d67cb4fSmrg    
41052d67cb4fSmrg    Removes --with-local-transport-order=... flag to configure.
41062d67cb4fSmrg    
41072d67cb4fSmrg    Code which used this ordered list was removed in commit 15e5eaf6289
41082d67cb4fSmrg    which outsourced X11 connection handling & authentication to libxcb.
41092d67cb4fSmrg    
41102d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
41112d67cb4fSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
41122d67cb4fSmrg
41132d67cb4fSmrgcommit 1a66c1e964ff8d11382313404f48b5a3d5ed8be8
41142d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
41152d67cb4fSmrgDate:   Fri Jan 22 09:39:28 2016 -0800
41162d67cb4fSmrg
41172d67cb4fSmrg    Stop checking XTRANS_SECURE_RPC_FLAGS since we no longer use them
41182d67cb4fSmrg    
41192d67cb4fSmrg    Removes --enable-secure-rpc & --disable-secure-rpc flags to configure
41202d67cb4fSmrg    
41212d67cb4fSmrg    Code that used SECURE_RPC definitions was removed in commit 15e5eaf6289
41222d67cb4fSmrg    which outsourced X11 connection handling & authentication to libxcb.
41232d67cb4fSmrg    
41242d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
41252d67cb4fSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
41262d67cb4fSmrg
41272d67cb4fSmrgcommit 7eb724dc24505f1591ef32620fa63f079b540646
41282d67cb4fSmrgAuthor: Olivier Fourdan <ofourdan@redhat.com>
41292d67cb4fSmrgDate:   Thu Jan 21 11:54:19 2016 +0100
41302d67cb4fSmrg
41312d67cb4fSmrg    XKB: fix XkbGetKeyboardByName with Xming server
41322d67cb4fSmrg    
41332d67cb4fSmrg    XkbGetKeyboardByName relies on flags to read the data from the server.
41342d67cb4fSmrg    
41352d67cb4fSmrg    If the X server sends us the wrong flags or if a subreply is smaller
41362d67cb4fSmrg    than it should be, XkbGetKeyboardByName will not read all the available
41372d67cb4fSmrg    data and leave data in the buffer, which will cause the next _XReply()
41382d67cb4fSmrg    to fail with:
41392d67cb4fSmrg    
41402d67cb4fSmrg    [xcb] Extra reply data still left in queue
41412d67cb4fSmrg    [xcb] This is most likely caused by a broken X extension library
41422d67cb4fSmrg    [xcb] Aborting, sorry about that.
41432d67cb4fSmrg    xcb_io.c:576: _XReply: Assertion `!xcb_xlib_extra_reply_data_left' failed.
41442d67cb4fSmrg    Aborted
41452d67cb4fSmrg    
41462d67cb4fSmrg    Check if there is some extra data left at the end of
41472d67cb4fSmrg    XkbGetKeyboardByName() and discard that data if any is found.
41482d67cb4fSmrg    
41492d67cb4fSmrg    Many thanks to Peter Hutterer <peter.hutterer@who-t.net> for finding the
41502d67cb4fSmrg    root cause of the issue and Adam Jackson <ajax@redhat.com> for helping
41512d67cb4fSmrg    with the analysis!
41522d67cb4fSmrg    
41532d67cb4fSmrg    Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
41542d67cb4fSmrg    Reviewed-by: Daniel Stone <daniels@collabora.com>
41552d67cb4fSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
41562d67cb4fSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
41572d67cb4fSmrg
41582d67cb4fSmrgcommit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9
41592d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
41602d67cb4fSmrgDate:   Sat Dec 19 18:03:41 2015 -0800
41612d67cb4fSmrg
41622d67cb4fSmrg    lcPubWrap: replace malloc(strlen) + strcpy with strdup
41632d67cb4fSmrg    
41642d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
41652d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
41662d67cb4fSmrg
41672d67cb4fSmrgcommit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a
41682d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
41692d67cb4fSmrgDate:   Sat Dec 19 10:21:04 2015 -0800
41702d67cb4fSmrg
41712d67cb4fSmrg    XlcDL.c: reduce code duplication
41722d67cb4fSmrg    
41732d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
41742d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
41752d67cb4fSmrg
41762d67cb4fSmrgcommit f7ecc0856be58608881d2086954cb71857ad64e1
41772d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
41782d67cb4fSmrgDate:   Sat Dec 19 10:19:25 2015 -0800
41792d67cb4fSmrg
41802d67cb4fSmrg    XlcDL.c: replace strcpy+strcat sequences with snprintf
41812d67cb4fSmrg    
41822d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
41832d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
41842d67cb4fSmrg
41852d67cb4fSmrgcommit 522989b34398bd6a6ea144c4af0ba69d6dc4faea
41862d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
41872d67cb4fSmrgDate:   Sat Dec 19 10:05:42 2015 -0800
41882d67cb4fSmrg
41892d67cb4fSmrg    XDefaultOMIF: Remove comments referring to ancient Sun bug ids
41902d67cb4fSmrg    
41912d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
41922d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
41932d67cb4fSmrg
41942d67cb4fSmrgcommit b738a104ae80e4270dd1d215ad0c6a80016982c2
41952d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
41962d67cb4fSmrgDate:   Sat Dec 19 10:00:22 2015 -0800
41972d67cb4fSmrg
41982d67cb4fSmrg    XDefaultOMIF: additional code simplification
41992d67cb4fSmrg    
42002d67cb4fSmrg    Don't need to test for a case that we already returned for, don't need
42012d67cb4fSmrg    to store a count that will only ever be 1 if we didn't return, don't
42022d67cb4fSmrg    need to increment pointers to allow storing more than one item when we
42032d67cb4fSmrg    can only ever possibly do one.
42042d67cb4fSmrg    
42052d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42062d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
42072d67cb4fSmrg
42082d67cb4fSmrgcommit 31011cf100419269eae7409581c784638be503cf
42092d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
42102d67cb4fSmrgDate:   Sat Dec 19 09:46:31 2015 -0800
42112d67cb4fSmrg
42122d67cb4fSmrg    XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup
42132d67cb4fSmrg    
42142d67cb4fSmrg    Code seems to have been originally written to handle appending multiple
42152d67cb4fSmrg    strings, but only ever operates on a single string.
42162d67cb4fSmrg    
42172d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42182d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
42192d67cb4fSmrg
42202d67cb4fSmrgcommit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09
42212d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
42222d67cb4fSmrgDate:   Sat Dec 19 09:20:55 2015 -0800
42232d67cb4fSmrg
42242d67cb4fSmrg    Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM
42252d67cb4fSmrg    
42262d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42272d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
42282d67cb4fSmrg
42292d67cb4fSmrgcommit 4359dfabc04af082872d2bc2d5b52e26d6d93290
42302d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
42312d67cb4fSmrgDate:   Fri Dec 4 22:20:53 2015 -0800
42322d67cb4fSmrg
42332d67cb4fSmrg    Delete #if 0 hunks of code
42342d67cb4fSmrg    
42352d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42362d67cb4fSmrg
42372d67cb4fSmrgcommit a2f9dfac286f37e54eb47d4736cc3f0150224a84
42382d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
42392d67cb4fSmrgDate:   Thu Dec 3 23:38:07 2015 -0800
42402d67cb4fSmrg
42412d67cb4fSmrg    Bug 93183: _XDefaultOpenIM memory leaks in out-of-memory error paths
42422d67cb4fSmrg    
42432d67cb4fSmrg    Rework code to store allocations directly into XIM struct instead of
42442d67cb4fSmrg    temporary local variables, so we can use _XCloseIM to unwind instead
42452d67cb4fSmrg    of duplicating it, and consistently jump to error handler on failure,
42462d67cb4fSmrg    instead of sometimes leaking and sometimes freeing.
42472d67cb4fSmrg    
42482d67cb4fSmrg    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93183
42492d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42502d67cb4fSmrg
42512d67cb4fSmrgcommit 07a97b3944467dce085a1efd24706cc851d2caf2
42522d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
42532d67cb4fSmrgDate:   Thu Dec 3 23:19:48 2015 -0800
42542d67cb4fSmrg
42552d67cb4fSmrg    Bug 93184: read_EncodingInfo invalid free
42562d67cb4fSmrg    
42572d67cb4fSmrg    Free the correct bits of memory if we run out and need to unwind
42582d67cb4fSmrg    
42592d67cb4fSmrg    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93184
42602d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42612d67cb4fSmrg
42622d67cb4fSmrgcommit 11118e9eb3705fcbe42b6a68d4a8aa86ab0211f1
42632d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
42642d67cb4fSmrgDate:   Sat Nov 28 13:18:11 2015 -0800
42652d67cb4fSmrg
42662d67cb4fSmrg    Remove unused definition of XCONN_CHECK_FREQ
42672d67cb4fSmrg    
42682d67cb4fSmrg    The only use of XCONN_CHECK_FREQ was removed in commit 15e5eaf62897b3179
42692d67cb4fSmrg    when we dropped the old Xlib connection handling in favor of xcb's.
42702d67cb4fSmrg    
42712d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
42722d67cb4fSmrg    Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
42732d67cb4fSmrg
42742d67cb4fSmrgcommit 5f0da8311a61498edf073cc877f5b467bfd5f863
42752d67cb4fSmrgAuthor: James Cloos <cloos@jhcloos.com>
42762d67cb4fSmrgDate:   Thu Dec 3 18:24:44 2015 -0500
42772d67cb4fSmrg
42782d67cb4fSmrg    Fix another missing update in cf4d5989383a
42792d67cb4fSmrg    
42802d67cb4fSmrg    Reported in:
42812d67cb4fSmrg    
42822d67cb4fSmrg       https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7
42832d67cb4fSmrg    
42842d67cb4fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
42852d67cb4fSmrg
42862d67cb4fSmrgcommit 33840a5465a2e5fecab520bfbdd2d1bd0a456f51
42872d67cb4fSmrgAuthor: James Cloos <cloos@jhcloos.com>
42882d67cb4fSmrgDate:   Thu Dec 3 18:15:40 2015 -0500
42892d67cb4fSmrg
42902d67cb4fSmrg    Fix missing update in cf4d5989383a
42912d67cb4fSmrg    
42922d67cb4fSmrg    Reported in:
42932d67cb4fSmrg    
42942d67cb4fSmrg       https://bugs.freedesktop.org/show_bug.cgi?id=81875#c7
42952d67cb4fSmrg    
42962d67cb4fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
42972d67cb4fSmrg
42982d67cb4fSmrgcommit dbcb847a08c44d99e4e1de2ba777d63238fb0e03
42992d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
43002d67cb4fSmrgDate:   Sun Sep 27 18:38:32 2015 -0700
43012d67cb4fSmrg
43022d67cb4fSmrg    Get rid of some extraneous ; at the end of C source lines
43032d67cb4fSmrg    
43042d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43052d67cb4fSmrg    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
43062d67cb4fSmrg
43072d67cb4fSmrgcommit 121a1bad334459f66f78bfca6df53dc841cf97f8
43082d67cb4fSmrgAuthor: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
43092d67cb4fSmrgDate:   Wed Sep 23 11:44:55 2015 -0400
43102d67cb4fSmrg
43112d67cb4fSmrg    Add compose file for pt_PT similar to pt_BR
43122d67cb4fSmrg    
43132d67cb4fSmrg    This is a forward of the Ubuntu bug https://launchpad.net/bugs/518056
43142d67cb4fSmrg    
43152d67cb4fSmrg    One of the conclusions from the discussion on that bug report, which
43162d67cb4fSmrg    basically is about typing the ccedilla character easily on a non-
43172d67cb4fSmrg    Portuguese keyboard, is that X11 should include a compose file for
43182d67cb4fSmrg    pt_PT.UTF-8 similar to the file for pt_BR.UTF-8.
43192d67cb4fSmrg    
43202d67cb4fSmrg    FDO bug: https://bugs.freedesktop.org/show_bug.cgi?id=90300
43212d67cb4fSmrg    
43222d67cb4fSmrg    Signed-off-by: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
43232d67cb4fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
43242d67cb4fSmrg
43252d67cb4fSmrgcommit 3f41d8a7f82eb5ffbd5c5d36472cf7043186b904
43262d67cb4fSmrgAuthor: Julien Cristau <jcristau@debian.org>
43272d67cb4fSmrgDate:   Fri May 1 13:50:15 2015 +0200
43282d67cb4fSmrg
43292d67cb4fSmrg    Mark _XNextRequest as hidden
43302d67cb4fSmrg    
43312d67cb4fSmrg    It's only used inside XNextRequest(), so doesn't need to be exported.
43322d67cb4fSmrg    
43332d67cb4fSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
43342d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43352d67cb4fSmrg
43362d67cb4fSmrgcommit a72d2d06c002b644b7040a0a9936c8525e092ba8
43372d67cb4fSmrgAuthor: Christian Linhart <chris@demorecorder.com>
43382d67cb4fSmrgDate:   Mon Sep 7 17:17:32 2015 +0200
43392d67cb4fSmrg
43402d67cb4fSmrg    fix for Xlib 32-bit request number issues
43412d67cb4fSmrg    
43422d67cb4fSmrg    Make use of the new 64-bit sequence number API in XCB 1.11.1 to avoid
43432d67cb4fSmrg    the 32-bit sequence number wrap in libX11.
43442d67cb4fSmrg    
43452d67cb4fSmrg    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71338
43462d67cb4fSmrg    Signed-off-by: Christian Linhart <chris@demorecorder.com>
43472d67cb4fSmrg    Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
43482d67cb4fSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
43492d67cb4fSmrg
43502d67cb4fSmrgcommit 58af066a764305c506efea7065ef7679369a1a98
43512d67cb4fSmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
43522d67cb4fSmrgDate:   Sun Jul 19 10:23:21 2015 +0200
43532d67cb4fSmrg
43542d67cb4fSmrg    Ignore test-driver (used by newer autoconf).
43552d67cb4fSmrg    
43562d67cb4fSmrg    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
43572d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43582d67cb4fSmrg
43592d67cb4fSmrgcommit 80b9a346b9ba200fa4652560282e80d249519287
43602d67cb4fSmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
43612d67cb4fSmrgDate:   Sun Jul 19 10:22:45 2015 +0200
43622d67cb4fSmrg
43632d67cb4fSmrg    Do not return() after exit().
43642d67cb4fSmrg    
43652d67cb4fSmrg    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
43662d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43672d67cb4fSmrg
43682d67cb4fSmrgcommit c827edcd1c4a7f920aa25208083b5b58d60d2b44
43692d67cb4fSmrgAuthor: Ross Burton <ross.burton@intel.com>
43702d67cb4fSmrgDate:   Mon May 18 14:49:01 2015 +0100
43712d67cb4fSmrg
43722d67cb4fSmrg    Add missing NULL checks to ICWrap
43732d67cb4fSmrg    
43742d67cb4fSmrg    ICWrap.c dereferences the xim parameter passed in from client code without a
43752d67cb4fSmrg    NULL check.  I have seen mplayer trigger this resulting in a segfault.  In this
43762d67cb4fSmrg    case mplayer had called XOpenIM and NULL was returned which was later passed
43772d67cb4fSmrg    into XCreateIC.
43782d67cb4fSmrg    
43792d67cb4fSmrg    Patch originally by Drew Moseley <drew_moseley@mentor.com>.
43802d67cb4fSmrg    
43812d67cb4fSmrg    Signed-off-by: Ross Burton <ross.burton@intel.com>
43822d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43832d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43842d67cb4fSmrg
43852d67cb4fSmrgcommit 26e0d2de294f8adf1ce65f1dbff0b59af41a00b9
43862d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
43872d67cb4fSmrgDate:   Thu Jun 4 20:51:17 2015 -0700
43882d67cb4fSmrg
43892d67cb4fSmrg    Replace Xmalloc+memset pairs with Xcalloc calls
43902d67cb4fSmrg    
43912d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
43922d67cb4fSmrg
43932d67cb4fSmrgcommit f0286b2770ece10aef5e2e8c004260217f12fd25
43942d67cb4fSmrgAuthor: Bhavi Dhingra <b.dhingra@samsung.com>
43952d67cb4fSmrgDate:   Thu Jun 4 19:07:12 2015 -0700
43962d67cb4fSmrg
43972d67cb4fSmrg    omGeneric.c: Correct the parameter usage of sizeof
43982d67cb4fSmrg    
43992d67cb4fSmrg    Incorrect parameter usage with sizeof. Earlier passed argument FontData
44002d67cb4fSmrg    will be 4 bytes always as its a pointer hence the change is needed and
44012d67cb4fSmrg    FontDataRec should be used for memset.
44022d67cb4fSmrg    
44032d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
44042d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
44052d67cb4fSmrg
44062d67cb4fSmrgcommit 47da70d75f9e48e800719c0db752f9ccd2d77aea
44072d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
44082d67cb4fSmrgDate:   Tue May 19 12:30:22 2015 +1000
44092d67cb4fSmrg
44102d67cb4fSmrg    Fix three "use of uninitialized variable" coverity warnings
44112d67cb4fSmrg    
44122d67cb4fSmrg    False positive, if rlen/nbytes are unset we quit early before using it. Still,
44132d67cb4fSmrg    initialize it so we don't have to deal with these warnings again.
44142d67cb4fSmrg    
44152d67cb4fSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
44162d67cb4fSmrg    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
44172d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
44182d67cb4fSmrg
44192d67cb4fSmrgcommit 19a30f17f30e9ae9641a7c0634fc52134208b060
44202d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
44212d67cb4fSmrgDate:   Mon May 18 07:56:22 2015 +1000
44222d67cb4fSmrg
44232d67cb4fSmrg    Fix an indentation issue
44242d67cb4fSmrg    
44252d67cb4fSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
44262d67cb4fSmrg    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
44272d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
44282d67cb4fSmrg
44292d67cb4fSmrgcommit 013ccece124b990217ad3bcf2c41688e8fda1df8
44302d67cb4fSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
44312d67cb4fSmrgDate:   Mon May 18 07:55:17 2015 +1000
44322d67cb4fSmrg
44332d67cb4fSmrg    Fix potential memory leak
44342d67cb4fSmrg    
44352d67cb4fSmrg    If we hit the depth limit, filename leaks. Move the depth check up before we
44362d67cb4fSmrg    allocate filename.
44372d67cb4fSmrg    Introduced in 226622349a4b1e16064649d4444a34fb4be4f464.
44382d67cb4fSmrg    
44392d67cb4fSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
44402d67cb4fSmrg    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
44412d67cb4fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
44422d67cb4fSmrg
44432d67cb4fSmrgcommit d3415d1f052530760b4617db45affcb984cfe35c
44442d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com>
44452d67cb4fSmrgDate:   Mon Apr 20 17:59:30 2015 +0200
44462d67cb4fSmrg
44472d67cb4fSmrg    Fix spelling mistake introduced by 748d47e69f5c12d8557d56a8a8ec166588da7b93
44482d67cb4fSmrg    
44492d67cb4fSmrg    Sorry, my patch to fix the spelling mistakes in the ks_IN and sd_IN
44502d67cb4fSmrg    locales fixed it only partly, I introduced a new spelling mistake
44512d67cb4fSmrg    in the sd_IN locales. This patch fixes this.
44522d67cb4fSmrg    
44532d67cb4fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
44542d67cb4fSmrg
44552d67cb4fSmrgcommit 748d47e69f5c12d8557d56a8a8ec166588da7b93
44562d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com>
44572d67cb4fSmrgDate:   Wed Feb 19 11:46:45 2014 +0100
44582d67cb4fSmrg
44592d67cb4fSmrg    fix spelling mistakes in ks_IN and sd_IN devanagari locales
44602d67cb4fSmrg    
44612d67cb4fSmrg    The codeset must be *before* the modifier.
44622d67cb4fSmrg    
44632d67cb4fSmrg    See also: http://pubs.opengroup.org/onlinepubs/7908799/xbd/envvar.html
44642d67cb4fSmrg    
44652d67cb4fSmrg    opengroup> The syntax for these environment variables is thus defined as:
44662d67cb4fSmrg    opengroup>
44672d67cb4fSmrg    opengroup> [language[_territory][.codeset][@modifier]]
44682d67cb4fSmrg    
44692d67cb4fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
44702d67cb4fSmrg
44712d67cb4fSmrgcommit c64fe5553aa4738f9d1d74a795f5651fbb7b1b09
44722d67cb4fSmrgAuthor: Mike FABIAN <mfabian@redhat.com>
44732d67cb4fSmrgDate:   Wed Feb 19 11:50:55 2014 +0100
44742d67cb4fSmrg
44752d67cb4fSmrg    add be_BY.UTF-8@latin and sr_RS.UTF-8@latin to locale.dir
44762d67cb4fSmrg    
44772d67cb4fSmrg    See also: https://bugzilla.redhat.com/show_bug.cgi?id=1066910
44782d67cb4fSmrg    
44792d67cb4fSmrg    If these are not in locale.dir,
44802d67cb4fSmrg    
44812d67cb4fSmrg        $ LANG=sr_RS.UTF-8@latin xterm
44822d67cb4fSmrg    
44832d67cb4fSmrg    and
44842d67cb4fSmrg    
44852d67cb4fSmrg        $ LANG=sr_RS@latin xterm
44862d67cb4fSmrg    
44872d67cb4fSmrg    give the warning:
44882d67cb4fSmrg    
44892d67cb4fSmrg        Warning: locale not supported by Xlib, locale set to C
44902d67cb4fSmrg    
44912d67cb4fSmrg    and some programs (like xmms) fail to find translations for Serbian
44922d67cb4fSmrg    in Latin because of this.
44932d67cb4fSmrg    
44942d67cb4fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
44952d67cb4fSmrg
44962d67cb4fSmrgcommit c85be01b006126c4407eebd1eb6e01a17312b7b4
44972d67cb4fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
44982d67cb4fSmrgDate:   Sun Mar 22 16:46:45 2015 -0700
44992d67cb4fSmrg
45002d67cb4fSmrg    Move Compose \ o / to be with other emoji compose sequences
45012d67cb4fSmrg    
45022d67cb4fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
45032d67cb4fSmrg
45040f8248bfSmrgcommit 5a499ca7b064bf7e6a4fcc169f22862dce0c60c5
45050f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
45060f8248bfSmrgDate:   Mon Mar 9 15:28:29 2015 -0700
45070f8248bfSmrg
45080f8248bfSmrg    libX11 1.6.3
45090f8248bfSmrg    
45100f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
45110f8248bfSmrg
45120f8248bfSmrgcommit c8e19b393defd53f046ddc2da3a16881221b3c34
45130f8248bfSmrgAuthor: Joonas Javanainen <joonas.javanainen@gmail.com>
45140f8248bfSmrgDate:   Thu Feb 5 17:31:04 2015 +0200
45150f8248bfSmrg
45160f8248bfSmrg    Fix XErrorEvent struct field order in man page
45170f8248bfSmrg    
45180f8248bfSmrg    In the man page the field "resourceid" was in a different place than
45190f8248bfSmrg    in the actual struct layout in Xlib.h
45200f8248bfSmrg    
45210f8248bfSmrg    Signed-off-by: Joonas Javanainen <joonas.javanainen@gmail.com>
45220f8248bfSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
45230f8248bfSmrg
45240f8248bfSmrgcommit ddf3b09bb262d01b56fbaade421ac85b0e60a69f
45250f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com>
45260f8248bfSmrgDate:   Tue Feb 3 13:23:50 2015 -0500
45270f8248bfSmrg
45280f8248bfSmrg    compose: fix the description of modifiers in compose sequences
45290f8248bfSmrg    
45300f8248bfSmrg    The Compose format has a feature which allows specifying certain
45310f8248bfSmrg    modifiers must (or must not) be present with a given keysym in the
45320f8248bfSmrg    sequence.
45330f8248bfSmrg    
45340f8248bfSmrg    The grammar in imLcPrs.c and the Compose man page both do not match what
45350f8248bfSmrg    the code actually does (see the handling of the variables
45360f8248bfSmrg    `modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are
45370f8248bfSmrg    eventually matched as `ev->state & modifier_mask == modifier`).
45380f8248bfSmrg    
45390f8248bfSmrg    Also explicitly list the accepted modifier names, since they are
45400f8248bfSmrg    not standard (e.g. "Ctrl" instead of "Control").
45410f8248bfSmrg    
45420f8248bfSmrg    Signed-off-by: Ran Benita <ran234@gmail.com>
45430f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
45440f8248bfSmrg
45450f8248bfSmrgcommit 129f13f385c50e3d8b53ea7441b17386b0f36aeb
45460f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com>
45470f8248bfSmrgDate:   Tue Feb 3 13:23:49 2015 -0500
45480f8248bfSmrg
45490f8248bfSmrg    xkb: fix misleading comment about consumed modifiers
45500f8248bfSmrg    
45510f8248bfSmrg    In the spec and the man page the `mods_rtrn` argument is described as
45520f8248bfSmrg    "backfilled with unconsumed modifiers" but actually it is backfilled
45530f8248bfSmrg    with the *consumed* modifiers. This is also mentioned a few lines below
45540f8248bfSmrg    in each case.
45550f8248bfSmrg    
45560f8248bfSmrg    Signed-off-by: Ran Benita <ran234@gmail.com>
45570f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
45580f8248bfSmrg
45590f8248bfSmrgcommit 446f5f7f41317a85a0cd0efa5e6a1b37bc99fba2
45600f8248bfSmrgAuthor: Ingo Schwarze <schwarze@usta.de>
45610f8248bfSmrgDate:   Tue Dec 9 10:44:13 2014 +0100
45620f8248bfSmrg
45630f8248bfSmrg    Fix pasto in XkbGetKeyBehaviors(3) manual
45640f8248bfSmrg    
45650f8248bfSmrg    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
45660f8248bfSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
45670f8248bfSmrg
45680f8248bfSmrgcommit f3831dde6972e4da9e018c6a5f4013d8756a5e78
45690f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
45700f8248bfSmrgDate:   Sun Nov 23 21:35:36 2014 +0100
45710f8248bfSmrg
45720f8248bfSmrg    nls: Sorting compose sequences rigorously in mirroring pairs, as is custom.
45730f8248bfSmrg    
45740f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
45750f8248bfSmrg
45760f8248bfSmrgcommit a51681b60c84109fe19f5d449e13080522499324
45770f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
45780f8248bfSmrgDate:   Thu Sep 19 16:42:01 2013 +0200
45790f8248bfSmrg
45800f8248bfSmrg    nls: Remove a duplicate locale name, and sort some others more strictly.
45810f8248bfSmrg    
45820f8248bfSmrg    Also improve the grammar of the initial comment.
45830f8248bfSmrg    
45840f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
45850f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
45860f8248bfSmrg
45870f8248bfSmrgcommit 426b7f850f5376db96a4b12420ee141603fcc3cd
45880f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
45890f8248bfSmrgDate:   Fri Sep 20 12:37:29 2013 +0200
45900f8248bfSmrg
45910f8248bfSmrg    nls: Add a comment to the block of accented Hebrew letters.
45920f8248bfSmrg    
45930f8248bfSmrg    And align them in a nicer manner.
45940f8248bfSmrg    
45950f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
45960f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
45970f8248bfSmrg
45980f8248bfSmrgcommit 7474c6f1ee78dd097b1d0b4c7e3e4ea41317e335
45990f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
46000f8248bfSmrgDate:   Fri Sep 20 12:05:09 2013 +0200
46010f8248bfSmrg
46020f8248bfSmrg    nls: Add one lowercase compose variant for ®, to mirror those for ©.
46030f8248bfSmrg    
46040f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
46050f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
46060f8248bfSmrg
46070f8248bfSmrgcommit 18dcd13514fa538afefa78c93523d9dbd4688e74
46080f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
46090f8248bfSmrgDate:   Sat Sep 7 20:10:43 2013 +0200
46100f8248bfSmrg
46110f8248bfSmrg    nls: Adding the visual composing characters to two comment lines.
46120f8248bfSmrg    
46130f8248bfSmrg    The lines around them also contain the characters in the comments.
46140f8248bfSmrg    
46150f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
46160f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
46170f8248bfSmrg
46180f8248bfSmrgcommit 18d8307575af748913d5da17e3de45da2a22ede4
46190f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
46200f8248bfSmrgDate:   Sat Sep 7 20:09:32 2013 +0200
46210f8248bfSmrg
46220f8248bfSmrg    nls: Grouping a lone superscript minus together with its mates.
46230f8248bfSmrg    
46240f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
46250f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
46260f8248bfSmrg
46270f8248bfSmrgcommit 33301cc45e6a2b8aa841ed6325547af970f8c4db
46280f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
46290f8248bfSmrgDate:   Sat Sep 7 19:53:38 2013 +0200
46300f8248bfSmrg
46310f8248bfSmrg    nls: Grouping the compose sequences for Dstroke/dstroke together.
46320f8248bfSmrg    
46330f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
46340f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
46350f8248bfSmrg
46360f8248bfSmrgcommit 78fe1becb6c18fa33c0d5f04005b45d856f8952a
46370f8248bfSmrgAuthor: Gioele Barabucci <gioele@svario.it>
46380f8248bfSmrgDate:   Sun Sep 21 23:05:55 2014 +0200
46390f8248bfSmrg
46400f8248bfSmrg    Add compose sequence for U+20B9 INDIAN RUPEE SIGN
46410f8248bfSmrg    
46420f8248bfSmrg    The compose sequence for the new Indian Rupee sign is modelled after
46430f8248bfSmrg    the sequence for the Euro sign.
46440f8248bfSmrg    
46450f8248bfSmrg    Signed-off-by: Gioele Barabucci <gioele@svario.it>
46460f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
46470f8248bfSmrg
46480f8248bfSmrgcommit 6101b967b641355dd863fd1ce52c6a7d58bcbe68
46490f8248bfSmrgAuthor: Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
46500f8248bfSmrgDate:   Thu Jul 31 22:23:28 2014 -0300
46510f8248bfSmrg
46520f8248bfSmrg    Add double-arrow compose sequence
46530f8248bfSmrg    
46540f8248bfSmrg    Signed-off-by: Gabriel Souza Franco <gabrielfrancosouza@gmail.com>
46550f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
46560f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
46570f8248bfSmrg
46580f8248bfSmrgcommit 368a6401c6a3275d3497fec38a3dcbc38cd9df60
46590f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com>
46600f8248bfSmrgDate:   Fri Aug 1 18:30:42 2014 -0400
46610f8248bfSmrg
46620f8248bfSmrg    Add cs_CZ.UTF-8 locale to configure.ac
46630f8248bfSmrg    
46640f8248bfSmrg    Commit cf4d5989383a should have included this.
46650f8248bfSmrg    
46660f8248bfSmrg    Reported-by: Colin Harrison <colin.harrison@virgin.net>
46670f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
46680f8248bfSmrg
46690f8248bfSmrgcommit cf4d5989383acc4ed1b7eebadde9f380f2129766
46700f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com>
46710f8248bfSmrgDate:   Tue Jul 29 15:02:56 2014 -0400
46720f8248bfSmrg
46730f8248bfSmrg    Add nls for cs_CZ.UTF-8
46740f8248bfSmrg    
46750f8248bfSmrg    Based on the iso8859-2 compose, and a bug report by Vladimír Marek,
46760f8248bfSmrg    override the en_US.UTF-8 use of <dead_caron> <u> to enter »ǔ« instead
46770f8248bfSmrg    to enter »ů«, and likewise for the majuscule, for the Czech locale.
46780f8248bfSmrg    
46790f8248bfSmrg    This evidently is the norm for Czech keyboards.
46800f8248bfSmrg    
46810f8248bfSmrg    Fixes bz#81875.
46820f8248bfSmrg    
46830f8248bfSmrg    The XI18N_OBJS and XLC_LOCALE.pre files are empty, as they are for
46840f8248bfSmrg    several other locales.  That may require an update.
46850f8248bfSmrg    
46860f8248bfSmrg    Reported-by:  Vladimír Marek <vlmarek@volny.cz>
46870f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
46880f8248bfSmrg
46890f8248bfSmrgcommit d9f569572bd14db31921471e7b877523b5cf1e4c
46900f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
46910f8248bfSmrgDate:   Sat Jul 26 12:17:47 2014 -0700
46920f8248bfSmrg
46930f8248bfSmrg    Fix source paths for out-of-tree lintlib builds
46940f8248bfSmrg    
46950f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
46960f8248bfSmrg
46970f8248bfSmrgcommit 0885cad1e4a9ed57266582be320be55259c881bf
46980f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
46990f8248bfSmrgDate:   Sun Jul 20 09:21:20 2014 -0700
47000f8248bfSmrg
47010f8248bfSmrg    specs/XKB: Markup fractions as <{super,sub}script> instead of <emphasis>
47020f8248bfSmrg    
47030f8248bfSmrg    Matches the way they were styled in original doc, before conversion
47040f8248bfSmrg    to DocBook.
47050f8248bfSmrg    
47060f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47070f8248bfSmrg
47080f8248bfSmrgcommit d0a9e9d56bb003315787201ee525b4d00fd54e06
47090f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47100f8248bfSmrgDate:   Sat Jul 19 23:55:47 2014 -0700
47110f8248bfSmrg
47120f8248bfSmrg    specs/XKB: acknowledge my contributions
47130f8248bfSmrg    
47140f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47150f8248bfSmrg
47160f8248bfSmrgcommit 9c0be82017f513e2eb63d59b095f1cf1955f2e2b
47170f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47180f8248bfSmrgDate:   Sat Jul 19 23:53:48 2014 -0700
47190f8248bfSmrg
47200f8248bfSmrg    specs/XKB: Trim leading spaces off text lines
47210f8248bfSmrg    
47220f8248bfSmrg    perl -i -p -e 's{/\*(\S)}{/* \1}g;' *.xml
47230f8248bfSmrg    
47240f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47250f8248bfSmrg
47260f8248bfSmrgcommit 75b0b10990f38d966c6fcc821bf15e58c5a90c91
47270f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47280f8248bfSmrgDate:   Sat Jul 19 20:30:55 2014 -0700
47290f8248bfSmrg
47300f8248bfSmrg    specs/XKB: Add olinks to libX11 for "X Library Functions Affected by Xkb"
47310f8248bfSmrg    
47320f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47330f8248bfSmrg
47340f8248bfSmrgcommit 5009621799444e9d1d284719f871d00be13e7330
47350f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47360f8248bfSmrgDate:   Sat Jul 19 12:34:28 2014 -0700
47370f8248bfSmrg
47380f8248bfSmrg    specs/XKB: Fix miscelleanous typos & spelling errors
47390f8248bfSmrg    
47400f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47410f8248bfSmrg
47420f8248bfSmrgcommit ac219bf1522a592bd3e3283b1a6ea3dfd2c3c48c
47430f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47440f8248bfSmrgDate:   Sat Jul 19 00:46:41 2014 -0700
47450f8248bfSmrg
47460f8248bfSmrg    specs/XKB: add some more indexterms by hand
47470f8248bfSmrg    
47480f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47490f8248bfSmrg
47500f8248bfSmrgcommit 5c3aa4c69e65ecf2e56d5e26f3833fb5d31973c2
47510f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47520f8248bfSmrgDate:   Sat Jul 19 00:48:02 2014 -0700
47530f8248bfSmrg
47540f8248bfSmrg    specs/XKB: fixup various formatting issues in <programlisting>s
47550f8248bfSmrg    
47560f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47570f8248bfSmrg
47580f8248bfSmrgcommit 70c648ff852fd9bc784967cfc77ea70bd7f14c8d
47590f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47600f8248bfSmrgDate:   Fri Jul 18 23:56:29 2014 -0700
47610f8248bfSmrg
47620f8248bfSmrg    specs/XKB: fixup various formatting issues in <literallayout>s
47630f8248bfSmrg    
47640f8248bfSmrg    Including translating some that are really just lists into
47650f8248bfSmrg    <simplelist> markup.
47660f8248bfSmrg    
47670f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47680f8248bfSmrg
47690f8248bfSmrgcommit 94b56774784ac00b9db02403aecea10bb0814c10
47700f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47710f8248bfSmrgDate:   Fri Jul 18 23:18:52 2014 -0700
47720f8248bfSmrg
47730f8248bfSmrg    specs/XKB: add some more links by hand
47740f8248bfSmrg    
47750f8248bfSmrg    random bits where a link looked handy
47760f8248bfSmrg    
47770f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47780f8248bfSmrg
47790f8248bfSmrgcommit 7a15a934cdb07ed1b991bd0ef633f32ee00b1833
47800f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47810f8248bfSmrgDate:   Fri Jul 18 23:16:31 2014 -0700
47820f8248bfSmrg
47830f8248bfSmrg    specs/XKB: add links for terms in definition list under figure 1.1
47840f8248bfSmrg    
47850f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47860f8248bfSmrg
47870f8248bfSmrgcommit 92b86fc3c50fbb7ab2e36af10a2fb3fe6284f58c
47880f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47890f8248bfSmrgDate:   Fri Jul 18 22:52:16 2014 -0700
47900f8248bfSmrg
47910f8248bfSmrg    specs/XKB: add links to more tables listing section references
47920f8248bfSmrg    
47930f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
47940f8248bfSmrg
47950f8248bfSmrgcommit 06a4483a05053b4f8d8c0d4cc0513c68ea912676
47960f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
47970f8248bfSmrgDate:   Fri Jul 18 22:49:34 2014 -0700
47980f8248bfSmrg
47990f8248bfSmrg    specs/XKB: Table 4.1: remove page numbers & unnecessary para tags
48000f8248bfSmrg    
48010f8248bfSmrg    Page numbers refer to old doc format, didn't translate to new one
48020f8248bfSmrg    
48030f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48040f8248bfSmrg
48050f8248bfSmrgcommit 61bd55c6d1ab211b89d604bd05555dc417f6e53d
48060f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48070f8248bfSmrgDate:   Sat Jul 19 11:55:51 2014 -0700
48080f8248bfSmrg
48090f8248bfSmrg    specs/XKB: remove unwanted white space around C -&gt; struct references
48100f8248bfSmrg    
48110f8248bfSmrg    perl -i -0 -p -e 's{\s*-&gt;\s*}{-&gt;}g' *xml
48120f8248bfSmrg    
48130f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48140f8248bfSmrg
48150f8248bfSmrgcommit 2be0cc0b2abbcc98cfd150210dea415a04787251
48160f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48170f8248bfSmrgDate:   Fri Jul 18 22:26:20 2014 -0700
48180f8248bfSmrg
48190f8248bfSmrg    specs/XKB: replace -&gt; with &rarr; when used as arrow, not in C structs
48200f8248bfSmrg    
48210f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48220f8248bfSmrg
48230f8248bfSmrgcommit bf1f3d6f6f995303624679ae546f507c70967dc0
48240f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48250f8248bfSmrgDate:   Fri Jul 18 22:21:10 2014 -0700
48260f8248bfSmrg
48270f8248bfSmrg    specs/XKB: replace =&gt; with &rArr; for double arrows
48280f8248bfSmrg    
48290f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48300f8248bfSmrg
48310f8248bfSmrgcommit c7ee427fc0a72abd4a4f147ab16a5d1128a6a2ba
48320f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48330f8248bfSmrgDate:   Sat Jul 19 11:33:35 2014 -0700
48340f8248bfSmrg
48350f8248bfSmrg    specs/XKB: Markup some ranges with &ndash; instead of -
48360f8248bfSmrg
48370f8248bfSmrgcommit ec4075303c6c0d1d64bfe378e585968f9a137da7
48380f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48390f8248bfSmrgDate:   Fri Jul 18 22:10:45 2014 -0700
48400f8248bfSmrg
48410f8248bfSmrg    specs/XKB: Markup some subtractions with &minus; instead of -
48420f8248bfSmrg    
48430f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48440f8248bfSmrg
48450f8248bfSmrgcommit 441a267e461132a38abed205245f028686526f1d
48460f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48470f8248bfSmrgDate:   Fri Jul 18 22:04:40 2014 -0700
48480f8248bfSmrg
48490f8248bfSmrg    specs/XKB: make sure all files have DOCTYPEs so standard entities work
48500f8248bfSmrg    
48510f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48520f8248bfSmrg
48530f8248bfSmrgcommit 88fd70bee410f290b4f540405fdc7ecd85c26f25
48540f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48550f8248bfSmrgDate:   Fri Jul 18 21:55:41 2014 -0700
48560f8248bfSmrg
48570f8248bfSmrg    specs/XKB: Markup quoted terms as <quote> instead of with ""
48580f8248bfSmrg    
48590f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48600f8248bfSmrg
48610f8248bfSmrgcommit 3576587ff10334a8f48c34b4fe5b7e829dec9a1b
48620f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48630f8248bfSmrgDate:   Sat Jul 19 09:01:26 2014 -0700
48640f8248bfSmrg
48650f8248bfSmrg    specs/XKB: fixup newlines between tags and punctuation
48660f8248bfSmrg    
48670f8248bfSmrg    Get rid of unwanted whitespace before punctuation by moving them to the
48680f8248bfSmrg    lines with the tags, instead of before & after.
48690f8248bfSmrg    
48700f8248bfSmrg    perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml
48710f8248bfSmrg    
48720f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48730f8248bfSmrg
48740f8248bfSmrgcommit 6d5ec492cd28c206423337f926503349702af5a6
48750f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48760f8248bfSmrgDate:   Fri Jul 18 21:29:33 2014 -0700
48770f8248bfSmrg
48780f8248bfSmrg    specs/XKB: fixup newlines between tags and parens
48790f8248bfSmrg    
48800f8248bfSmrg    Get rid of unwanted whitespace inside parens by moving them to the
48810f8248bfSmrg    lines with the tags, instead of before & after.
48820f8248bfSmrg    
48830f8248bfSmrg    perl -i -0 -p \
48840f8248bfSmrg         -e 's{(?<!--) \(\s*\n\<}{\n(<}g;' \
48850f8248bfSmrg         -e 's{\>\s*\n\)([\.,;]?)(?! [^\n]*--)}{>)\1\n}g' *xml
48860f8248bfSmrg    
48870f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48880f8248bfSmrg
48890f8248bfSmrgcommit 59d688f4c787250e0b401a92b1db0437d8c60f2d
48900f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
48910f8248bfSmrgDate:   Fri Jul 18 21:09:24 2014 -0700
48920f8248bfSmrg
48930f8248bfSmrg    specs/XKB: Markup key terms as <firstterm> instead of <emphasis>
48940f8248bfSmrg    
48950f8248bfSmrg    Also add <indexterm> entries for most of them, to make their definitions
48960f8248bfSmrg    or introductions easy to find from the index.
48970f8248bfSmrg    
48980f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
48990f8248bfSmrg
49000f8248bfSmrgcommit 861f3087ee0f501362a67501f384c2ca4c7bfe73
49010f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49020f8248bfSmrgDate:   Thu Jul 10 20:00:53 2014 -0700
49030f8248bfSmrg
49040f8248bfSmrg    specs/XKB: Manual fixup of type markup
49050f8248bfSmrg    
49060f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49070f8248bfSmrg
49080f8248bfSmrgcommit 6b96259dabe52701fd1bcaa0625b574180c4e769
49090f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49100f8248bfSmrgDate:   Thu Jul 10 15:00:30 2014 -0700
49110f8248bfSmrg
49120f8248bfSmrg    specs/XKB: Manual fixup of parameter markup
49130f8248bfSmrg    
49140f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49150f8248bfSmrg
49160f8248bfSmrgcommit 5526dce6812a84102f556fdde8f2b52b21c8bcdc
49170f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49180f8248bfSmrgDate:   Thu Jul 10 13:40:40 2014 -0700
49190f8248bfSmrg
49200f8248bfSmrg    specs/XKB: Manual fixup of struct name/field markup
49210f8248bfSmrg    
49220f8248bfSmrg    Handles typos that caused the scripts to miss matches, misnamed structs, etc.
49230f8248bfSmrg    
49240f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49250f8248bfSmrg
49260f8248bfSmrgcommit c36ee1a4db4e7876526190b8ab6b0da5867f76f7
49270f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49280f8248bfSmrgDate:   Wed Jul 9 23:26:37 2014 -0700
49290f8248bfSmrg
49300f8248bfSmrg    specs/XKB: Manual fixup of symbol name markup
49310f8248bfSmrg    
49320f8248bfSmrg    Handles typos that caused the scripts to miss matches, misnamed masks, etc.
49330f8248bfSmrg    
49340f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49350f8248bfSmrg
49360f8248bfSmrgcommit eb1453a0c69606b8af96b90ddccf1b93a069fb35
49370f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49380f8248bfSmrgDate:   Wed Jul 9 00:03:23 2014 -0700
49390f8248bfSmrg
49400f8248bfSmrg    specs/XKB: Manual fixup of function name markup
49410f8248bfSmrg    
49420f8248bfSmrg    Handles typos that caused the scripts to miss matches, functions like
49430f8248bfSmrg    malloc & free from other libraries, function name patterns, etc.
49440f8248bfSmrg    
49450f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49460f8248bfSmrg
49470f8248bfSmrgcommit 252d99c87b60ac6f3f2b36f292f9b3880daabe26
49480f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49490f8248bfSmrgDate:   Thu Jul 10 19:42:31 2014 -0700
49500f8248bfSmrg
49510f8248bfSmrg    specs/XKB: Markup protocol requests as <systemitem> instead of <emphasis>
49520f8248bfSmrg    
49530f8248bfSmrg    No great fit in DocBook, so follow what we used in Xlib spec.
49540f8248bfSmrg    
49550f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49560f8248bfSmrg
49570f8248bfSmrgcommit ed60df10aad15057577d5714c955d22d2a446e51
49580f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49590f8248bfSmrgDate:   Thu Jul 10 15:45:57 2014 -0700
49600f8248bfSmrg
49610f8248bfSmrg    specs/XKB: Markup keyboard keys as <keycap> instead of <emphasis>
49620f8248bfSmrg    
49630f8248bfSmrg    Also uses <guilabel> for LED names/labels, for lack of a better fit
49640f8248bfSmrg    in DocBook.
49650f8248bfSmrg    
49660f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49670f8248bfSmrg
49680f8248bfSmrgcommit f57b91ee497414083cc1bf481d28eb9ad9f965fb
49690f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49700f8248bfSmrgDate:   Thu Jul 10 15:41:19 2014 -0700
49710f8248bfSmrg
49720f8248bfSmrg    specs/XKB: Markup characters & strings as <literal> instead of <emphasis>
49730f8248bfSmrg    
49740f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49750f8248bfSmrg
49760f8248bfSmrgcommit cfd4279c9b59d7e87c9f7c67692c87973adb7667
49770f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49780f8248bfSmrgDate:   Thu Jul 10 11:08:14 2014 -0700
49790f8248bfSmrg
49800f8248bfSmrg    specs/XKB: Markup structs as <struct{name,field}> instead of <emphasis>
49810f8248bfSmrg    
49820f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49830f8248bfSmrg
49840f8248bfSmrgcommit a014bb4cc013b0d1b76524b7868e860c7e7ebc79
49850f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49860f8248bfSmrgDate:   Wed Jul 9 23:30:54 2014 -0700
49870f8248bfSmrg
49880f8248bfSmrg    specs/XKB: Markup symbol names in table entries too
49890f8248bfSmrg    
49900f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
49910f8248bfSmrg
49920f8248bfSmrgcommit 907f7ad7a7a977bf4f19daa3143d47c4d07ca33d
49930f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
49940f8248bfSmrgDate:   Tue Jul 8 23:35:48 2014 -0700
49950f8248bfSmrg
49960f8248bfSmrg    specs/XKB: Markup *Ptr as <type> instead of <emphasis>
49970f8248bfSmrg    
49980f8248bfSmrg    perl -i -p -e 's{<emphasis>(\w*Ptr)</emphasis>}{<type>\1</type>}g' *xml
49990f8248bfSmrg    
50000f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50010f8248bfSmrg
50020f8248bfSmrgcommit 9f6c00629fd4b713082cc11f9150f7aafd272c89
50030f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50040f8248bfSmrgDate:   Tue Jul 8 23:34:29 2014 -0700
50050f8248bfSmrg
50060f8248bfSmrg    specs/XKB: Markup *Rec as <structname> instead of <emphasis>
50070f8248bfSmrg    
50080f8248bfSmrg    perl -i -p -e \
50090f8248bfSmrg     's{<emphasis>(\w*Rec)</emphasis>}{<structname>\1</structname>}g' *xml
50100f8248bfSmrg    
50110f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50120f8248bfSmrg
50130f8248bfSmrgcommit 83839e37802b8b752c77859a95de60ad757feb79
50140f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50150f8248bfSmrgDate:   Tue Jul 8 23:29:49 2014 -0700
50160f8248bfSmrg
50170f8248bfSmrg    specs/XKB: Markup XKB macros as <symbol> instead of <emphasis>
50180f8248bfSmrg    
50190f8248bfSmrg    Performed via:
50200f8248bfSmrg     perl -n -e 'printf "s{<emphasis>\\s*%s\\s*</emphasis>}{<symbol>%s</symbol>};\n", $1, $1 if m{^#define\s+([^\s\(]*)}' \
50210f8248bfSmrg      /usr/include/X11/extensions/XK*h /usr/include/X11/XKBlib.h \
50220f8248bfSmrg      | sort -u > xkb-defines.pl
50230f8248bfSmrg     perl -i -p -f xkb-defines.pl *.xml
50240f8248bfSmrg    
50250f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50260f8248bfSmrg
50270f8248bfSmrgcommit 9e397ed37ce4cc70621de347de3a795df88d4506
50280f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50290f8248bfSmrgDate:   Tue Jul 8 22:53:12 2014 -0700
50300f8248bfSmrg
50310f8248bfSmrg    specs/XKB: Use ° instead of o for degrees.
50320f8248bfSmrg    
50330f8248bfSmrg    Conversion from framemaker turned superscripted "o" into plain "o".
50340f8248bfSmrg    
50350f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50360f8248bfSmrg
50370f8248bfSmrgcommit 3b8364c21f5119105a2c14ae8cc75a11494cb7a7
50380f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50390f8248bfSmrgDate:   Tue Jul 8 22:46:03 2014 -0700
50400f8248bfSmrg
50410f8248bfSmrg    specs/XKB: Markup keysyms as <keysym> instead of <emphasis>
50420f8248bfSmrg    
50430f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50440f8248bfSmrg
50450f8248bfSmrgcommit 33bef065683c8f910f3722730503c0c0699ee8be
50460f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50470f8248bfSmrgDate:   Tue Jul 8 22:26:56 2014 -0700
50480f8248bfSmrg
50490f8248bfSmrg    specs/XKB: Markup NULL as <symbol> instead of <emphasis>
50500f8248bfSmrg    
50510f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50520f8248bfSmrg
50530f8248bfSmrgcommit f10aa1e09468bd28454d85ac8ab55d9dc7178029
50540f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50550f8248bfSmrgDate:   Tue Jul 8 22:22:29 2014 -0700
50560f8248bfSmrg
50570f8248bfSmrg    specs/XKB: Markup function args as <parameter> instead of <emphasis>
50580f8248bfSmrg    
50590f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50600f8248bfSmrg
50610f8248bfSmrgcommit 79ba58cceb69521fcb313c69233cf93a9fcb177f
50620f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50630f8248bfSmrgDate:   Mon Jul 7 23:56:13 2014 -0700
50640f8248bfSmrg
50650f8248bfSmrg    specs/XKB: Convert remaining error names to errorname tags
50660f8248bfSmrg    
50670f8248bfSmrg    Most were caught by applying libX11 lists, but BadKeyboard & XKB*_Bad*
50680f8248bfSmrg    are XKB-specific.   (Plus some were badly split across tag boundaries.)
50690f8248bfSmrg    
50700f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50710f8248bfSmrg
50720f8248bfSmrgcommit 42b2f5388c399949ece377f9cc9c479c06964972
50730f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50740f8248bfSmrgDate:   Mon Jul 7 23:16:56 2014 -0700
50750f8248bfSmrg
50760f8248bfSmrg    specs/XKB: manually fixup some more emphasis tagging mismatches
50770f8248bfSmrg    
50780f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50790f8248bfSmrg
50800f8248bfSmrgcommit 3b2f47d44a55d93c65455ff183f3b47da04b1de1
50810f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50820f8248bfSmrgDate:   Mon Jul 7 23:02:31 2014 -0700
50830f8248bfSmrg
50840f8248bfSmrg    specs/XKB: re-normalize <emphasis> layout in xml files
50850f8248bfSmrg    
50860f8248bfSmrg    Same script as before, just with <!-- xref --> comments out of the way
50870f8248bfSmrg    now.
50880f8248bfSmrg    
50890f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
50900f8248bfSmrg
50910f8248bfSmrgcommit ce95f152eda509263874c53fb7c6b4a6bdab2c29
50920f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
50930f8248bfSmrgDate:   Mon Jul 7 22:59:25 2014 -0700
50940f8248bfSmrg
50950f8248bfSmrg    specs/XKB: Remove remaining xref comments
50960f8248bfSmrg    
50970f8248bfSmrg    All the places marked by these have been turned into the appropriate
50980f8248bfSmrg    link, xref, or olink tags now.
50990f8248bfSmrg    
51000f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51010f8248bfSmrg
51020f8248bfSmrgcommit 6590b66e19af8dff68888ac403ac82f5d585b4e2
51030f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51040f8248bfSmrgDate:   Mon Jul 7 22:56:36 2014 -0700
51050f8248bfSmrg
51060f8248bfSmrg    specs/XKB: make olinks to xkbproto for references in section 10.13
51070f8248bfSmrg    
51080f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51090f8248bfSmrg
51100f8248bfSmrgcommit fcda446877a62e7443d7bc704ba3610e90d1e755
51110f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51120f8248bfSmrgDate:   Mon Jul 7 22:22:28 2014 -0700
51130f8248bfSmrg
51140f8248bfSmrg    specs/XKB: Add <figure> tags and make Figure references link to them
51150f8248bfSmrg    
51160f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51170f8248bfSmrg
51180f8248bfSmrgcommit 087a2338476719e340dc3d5af0df6fdc4a26ce7a
51190f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51200f8248bfSmrgDate:   Mon Jul 7 21:30:01 2014 -0700
51210f8248bfSmrg
51220f8248bfSmrg    specs/XKB: Turn Table references into links
51230f8248bfSmrg    
51240f8248bfSmrg    Adds id attributes to all table tags so we can link to them
51250f8248bfSmrg    
51260f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51270f8248bfSmrg
51280f8248bfSmrgcommit 135fa07b74cb50172c6a75768d499cd87ddb336e
51290f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51300f8248bfSmrgDate:   Sun Jul 6 21:29:59 2014 -0700
51310f8248bfSmrg
51320f8248bfSmrg    specs/XKB: Turn section references into xref links
51330f8248bfSmrg    
51340f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51350f8248bfSmrg
51360f8248bfSmrgcommit 53e931d79926af8a3996253efd8b5f6c21d9e5d7
51370f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51380f8248bfSmrgDate:   Sun Jul 6 21:17:18 2014 -0700
51390f8248bfSmrg
51400f8248bfSmrg    specs/XKB: Turn Chapter references into xref links
51410f8248bfSmrg    
51420f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51430f8248bfSmrg
51440f8248bfSmrgcommit b7f00ce5bcb0c00696bb82503ab548e14f04d17d
51450f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51460f8248bfSmrgDate:   Sun Jul 6 20:40:18 2014 -0700
51470f8248bfSmrg
51480f8248bfSmrg    specs/XKB: Apply <emphasis> to semantic tag transformations from Xlib spec
51490f8248bfSmrg    
51500f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51510f8248bfSmrg
51520f8248bfSmrgcommit b00a7ddff2744238fbfe31c2298b02028a45a6ff
51530f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51540f8248bfSmrgDate:   Sun Jul 6 20:34:51 2014 -0700
51550f8248bfSmrg
51560f8248bfSmrg    specs/XKB: Markup function names as <function> instead of <emphasis>
51570f8248bfSmrg    
51580f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51590f8248bfSmrg
51600f8248bfSmrgcommit bfbb58b7679221cb5c9212665209ea9099ad079a
51610f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51620f8248bfSmrgDate:   Sun Jul 6 20:25:46 2014 -0700
51630f8248bfSmrg
51640f8248bfSmrg    specs/XKB: normalize <emphasis> layout in xml files
51650f8248bfSmrg    
51660f8248bfSmrg    - Stop placing <emphasis> on empty space, commas, and periods.
51670f8248bfSmrg    - Move periods & commas after closing </emphasis> tag
51680f8248bfSmrg    - move <emphasis> open & close tags to same line, instead of mirroring
51690f8248bfSmrg      nroff layout.
51700f8248bfSmrg    
51710f8248bfSmrg    Simplifies automating further transformations of these tags.
51720f8248bfSmrg    
51730f8248bfSmrg    Performed via:
51740f8248bfSmrg     perl -i -0 -p \
51750f8248bfSmrg        -e 's{<emphasis>(\s*)</emphasis>}{}msg;' \
51760f8248bfSmrg        -e 's{<emphasis>([\s\.,]*)</emphasis>\s*}{\1}msg;' \
51770f8248bfSmrg        -e 's{\n([\.,])\s*}{\1\n}msg;' \
51780f8248bfSmrg        -e 's{([^\.])([\.,])\s*</emphasis>}{\1</emphasis>\2}msg;' \
51790f8248bfSmrg        -e 's{\s*<emphasis>\n\s*}{\n<emphasis>}msg;' *xml
51800f8248bfSmrg    
51810f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51820f8248bfSmrg
51830f8248bfSmrgcommit b16ee69a0103109a661a88140a1765dcd7bda634
51840f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51850f8248bfSmrgDate:   Sun Jul 6 15:57:41 2014 -0700
51860f8248bfSmrg
51870f8248bfSmrg    specs/XKB: Convert to funcsynopsis+variablelist instead of informaltable
51880f8248bfSmrg    
51890f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51900f8248bfSmrg
51910f8248bfSmrgcommit b41d43d4cf0c0a1a049a171ee8cf6fd8a3ee4335
51920f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
51930f8248bfSmrgDate:   Sun Jul 6 19:29:38 2014 -0700
51940f8248bfSmrg
51950f8248bfSmrg    specs/XKB: Add index
51960f8248bfSmrg    
51970f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
51980f8248bfSmrg
51990f8248bfSmrgcommit 72ae1d793be078db521dda60af578ece71f364de
52000f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52010f8248bfSmrgDate:   Sun Jul 6 13:21:40 2014 -0700
52020f8248bfSmrg
52030f8248bfSmrg    specs/XKB: Fix various markup issues in functiondecl tables
52040f8248bfSmrg    
52050f8248bfSmrg    - Merge some functionargdecl entries incorrectly split across rows
52060f8248bfSmrg    - Add missing parameter name markup to some functionargdecls
52070f8248bfSmrg    - Add missing function prototype markup to a functiondecl
52080f8248bfSmrg    - Remove stray emphasis tags in a functiondecl
52090f8248bfSmrg    
52100f8248bfSmrg    Allows them to correctly convert to funcsynopsis markup in next step.
52110f8248bfSmrg    
52120f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52130f8248bfSmrg
52140f8248bfSmrgcommit 9fdb973012de80ac60dbc59c39162f4e839fc5a4
52150f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52160f8248bfSmrgDate:   Sun Jul 6 12:15:23 2014 -0700
52170f8248bfSmrg
52180f8248bfSmrg    specs/XKB: Convert header filenames to filename tags
52190f8248bfSmrg    
52200f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52210f8248bfSmrg
52220f8248bfSmrgcommit 5525e8433f93bce464412f27cffa203ea628f368
52230f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52240f8248bfSmrgDate:   Tue Jul 8 00:05:32 2014 -0700
52250f8248bfSmrg
52260f8248bfSmrg    specs/libX11: disengender a user reference
52270f8248bfSmrg    
52280f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52290f8248bfSmrg
52300f8248bfSmrgcommit d8679eae9317b389ad4acb0430360ee0663e2af8
52310f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52320f8248bfSmrgDate:   Fri Jul 11 18:41:42 2014 -0700
52330f8248bfSmrg
52340f8248bfSmrg    specs/libX11: Correct value of IconicState to match Xutil.h
52350f8248bfSmrg    
52360f8248bfSmrg    Xutil.h has always had a value of 3 for IconicState, since 2 was
52370f8248bfSmrg    previously used for the long-obsolete ZoomState, so make the spec
52380f8248bfSmrg    match what programs have used for decades.
52390f8248bfSmrg    
52400f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52410f8248bfSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
52420f8248bfSmrg
52430f8248bfSmrgcommit 7ce2b0f12a48fb832f457cbafb0e1144ef557f9a
52440f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52450f8248bfSmrgDate:   Fri Jul 11 10:34:08 2014 -0700
52460f8248bfSmrg
52470f8248bfSmrg    Use C99 named initializers to fill in events passed to XSendEvent
52480f8248bfSmrg    
52490f8248bfSmrg    Forces compiler to zero-fill unset fields in the struct (fixing bug 81236)
52500f8248bfSmrg    and allows optimizer to order field initialization to best fit cache layout
52510f8248bfSmrg    or other considerations.
52520f8248bfSmrg    
52530f8248bfSmrg    Before & after output of gcc -S on AMD64 shows insertion of "rep stosq"
52540f8248bfSmrg    instructions to rapidly zero-fill structs.
52550f8248bfSmrg    
52560f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52570f8248bfSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
52580f8248bfSmrg
52590f8248bfSmrgcommit 169805e1dc8743b37b00e24cf3a5eb8748f733ad
52600f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52610f8248bfSmrgDate:   Sun Jul 6 11:13:49 2014 -0700
52620f8248bfSmrg
52630f8248bfSmrg    Fix validation of ctrls parameter to XkbGetPerClientControls()
52640f8248bfSmrg    
52650f8248bfSmrg    Nothing in the XKB spec states that the memory pointed to by ctrls has to
52660f8248bfSmrg    be initialized to any given value when passed to the function, only that
52670f8248bfSmrg    it is set by the function to the values returned by the X server:
52680f8248bfSmrg    http://www.x.org/releases/X11R7.7/doc/libX11/XKB/xkblib.html#The_Miscellaneous_Per_client_Controls
52690f8248bfSmrg    
52700f8248bfSmrg    The check for the incoming value seems to be copied from
52710f8248bfSmrg    XkbSetPerClientControls without explanation.
52720f8248bfSmrg    
52730f8248bfSmrg    Instead change it to checking if ctrls is non-NULL, since there's no
52740f8248bfSmrg    point asking the X server to return a value the caller won't even see.
52750f8248bfSmrg    
52760f8248bfSmrg    Found while investigating report from cppcheck-1.65:
52770f8248bfSmrg    [src/xkb/XKB.c:699] -> [src/xkb/XKB.c:719]: (warning) Possible null pointer
52780f8248bfSmrg     dereference: ctrls - otherwise it is redundant to check it against null.
52790f8248bfSmrg    
52800f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52810f8248bfSmrg
52820f8248bfSmrgcommit 1e362fac92c6688fb42b195ccad16d7a337a34c1
52830f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52840f8248bfSmrgDate:   Sun Jul 6 10:54:57 2014 -0700
52850f8248bfSmrg
52860f8248bfSmrg    Fix map->num_types check in XkbAddKeyType()
52870f8248bfSmrg    
52880f8248bfSmrg    Check is intended to ensure we allocate at least XkbNumRequiredTypes
52890f8248bfSmrg    in map, but was accidentally marked with a ! causing the wrong check.
52900f8248bfSmrg    
52910f8248bfSmrg    Reported-by: Harms <wharms@bfs,de>
52920f8248bfSmrg    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
52930f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
52940f8248bfSmrg
52950f8248bfSmrgcommit ff9a5c199251a84fa59d14fd48dadb3f8920b54b
52960f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
52970f8248bfSmrgDate:   Sun Jul 6 15:08:21 2014 -0700
52980f8248bfSmrg
52990f8248bfSmrg    specs/libX11: Add missing spaces to 'unsignedint' & 'unsignedlong' types
53000f8248bfSmrg    
53010f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53020f8248bfSmrg
53030f8248bfSmrgcommit a06ea86773568926c36ae650b188fc818d540db7
53040f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
53050f8248bfSmrgDate:   Sun Jul 6 15:04:27 2014 -0700
53060f8248bfSmrg
53070f8248bfSmrg    specs/libX11: Fix height & width in parameter lists to be two separate entries
53080f8248bfSmrg    
53090f8248bfSmrg    "unsigned int width, unsigned int height", not a single parameter "height"
53100f8248bfSmrg    of type "unsignedintwidth,".
53110f8248bfSmrg    
53120f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53130f8248bfSmrg
53140f8248bfSmrgcommit e4db5e503682b3304fe82e4b17b419a8e0f0a9f2
53150f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
53160f8248bfSmrgDate:   Sun Jul 6 14:38:10 2014 -0700
53170f8248bfSmrg
53180f8248bfSmrg    specs/libX11: Fix x & y in parameter lists to be two separate parameters
53190f8248bfSmrg    
53200f8248bfSmrg    "int x, int y" not a single parameter y of type "intx"
53210f8248bfSmrg    
53220f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53230f8248bfSmrg
53240f8248bfSmrgcommit aa8bda0db2c6d82515b90ceb4a7d6403e38895e9
53250f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
53260f8248bfSmrgDate:   Sat Jun 7 12:03:17 2014 +0200
53270f8248bfSmrg
53280f8248bfSmrg    lcDefConv.c: fix use before check
53290f8248bfSmrg    
53300f8248bfSmrg    * Do not use variables before checked for NULL.
53310f8248bfSmrg    * remove some superfluid spaces (Mark Kettenis)
53320f8248bfSmrg    
53330f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
53340f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53350f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53360f8248bfSmrg
53370f8248bfSmrgcommit c0670e5d3ae330e611ecb05303d579a4f8a3d114
53380f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
53390f8248bfSmrgDate:   Mon Jun 16 15:16:10 2014 -0700
53400f8248bfSmrg
53410f8248bfSmrg    Start adding Unicode 7.0 support to compose table
53420f8248bfSmrg    
53430f8248bfSmrg    New characters defined in http://www.unicode.org/charts/PDF/U1F300.pdf
53440f8248bfSmrg    
53450f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53460f8248bfSmrg
53470f8248bfSmrgcommit a4679baaa18142576d42d423afe816447f08336c
53480f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
53490f8248bfSmrgDate:   Sat Jun 7 11:54:34 2014 +0200
53500f8248bfSmrg
53510f8248bfSmrg    rm redundant null checks
53520f8248bfSmrg    
53530f8248bfSmrg    remove more redundant NULL checks
53540f8248bfSmrg    note that _XkbFree() is really Xfree()
53550f8248bfSmrg    
53560f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
53570f8248bfSmrg    Reviewed-by: Rémi Cardona <remi@gentoo.org>
53580f8248bfSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
53590f8248bfSmrg
53600f8248bfSmrgcommit 602d7f5030fe93b2fe7f29fb7310deb6f50cb6df
53610f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
53620f8248bfSmrgDate:   Sat Jun 7 15:17:27 2014 +0200
53630f8248bfSmrg
53640f8248bfSmrg    libX11: rm redundante NULL checks
53650f8248bfSmrg    
53660f8248bfSmrg    This patch removes the last remaining  NULL checks for Xfree()
53670f8248bfSmrg    
53680f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
53690f8248bfSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
53700f8248bfSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
53710f8248bfSmrg
53720f8248bfSmrgcommit d81fed46144d089bdfa1d916a28dffc9ebffe1e4
53730f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
53740f8248bfSmrgDate:   Fri Jun 6 22:53:05 2014 +0200
53750f8248bfSmrg
53760f8248bfSmrg    Remove more redundant null checks before Xfree()
53770f8248bfSmrg    
53780f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
53790f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53800f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53810f8248bfSmrg
53820f8248bfSmrgcommit 0b7fd7dbec136bae317bd9a329309eaa089beee3
53830f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
53840f8248bfSmrgDate:   Thu Jun 5 18:37:40 2014 +0200
53850f8248bfSmrg
53860f8248bfSmrg    Remove redundant null checks before free
53870f8248bfSmrg    
53880f8248bfSmrg    This patch removes some redundant null checks before free.
53890f8248bfSmrg    It should not change the code otherwise. Be aware that this
53900f8248bfSmrg    is only the first series.
53910f8248bfSmrg    
53920f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
53930f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53940f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
53950f8248bfSmrg
53960f8248bfSmrgcommit 7d452fad5068ba92b964e92bc46708046f4044aa
53970f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
53980f8248bfSmrgDate:   Wed Jun 4 17:12:31 2014 +0200
53990f8248bfSmrg
54000f8248bfSmrg    libX11/lcUTF8.c fix: dereferenced before check
54010f8248bfSmrg    
54020f8248bfSmrg    * Do not use variables before checked for NULL.
54030f8248bfSmrg    
54040f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
54050f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54060f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54070f8248bfSmrg
54080f8248bfSmrgcommit a3808f51517a720e7ff738208af60865779dd6ef
54090f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
54100f8248bfSmrgDate:   Wed Jun 4 17:10:20 2014 +0200
54110f8248bfSmrg
54120f8248bfSmrg    libX11/XKBNames.c fix: dereferenced before check
54130f8248bfSmrg    
54140f8248bfSmrg    * Do not use variables before checked for NULL.
54150f8248bfSmrg    
54160f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
54170f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54180f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54190f8248bfSmrg
54200f8248bfSmrgcommit b3c9f6a17e430aabe16aecbe097f7312a0f6ff78
54210f8248bfSmrgAuthor: walter harms <wharms@bfs.de>
54220f8248bfSmrgDate:   Wed Jun 4 17:08:12 2014 +0200
54230f8248bfSmrg
54240f8248bfSmrg    libX11/lcGenConv.c fix: dereferenced before check
54250f8248bfSmrg    
54260f8248bfSmrg    * Do not use variables before checked for NULL.
54270f8248bfSmrg    
54280f8248bfSmrg    Signed-off-by: Harms <wharms@bfs,de>
54290f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54300f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54310f8248bfSmrg
54320f8248bfSmrgcommit c6bc28d433243c32b3f74955f1478451b4fd27b5
54330f8248bfSmrgAuthor: Andreas Schwab <schwab@linux-m68k.org>
54340f8248bfSmrgDate:   Sun Jan 19 16:59:13 2014 +0100
54350f8248bfSmrg
54360f8248bfSmrg    Restore lost tabs in sed commands
54370f8248bfSmrg    
54380f8248bfSmrg    Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
54390f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54400f8248bfSmrg
54410f8248bfSmrgcommit e3dc0d17339e61eaf0b51b8907510984e3bf23cb
54420f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
54430f8248bfSmrgDate:   Thu Sep 19 11:01:11 2013 +0200
54440f8248bfSmrg
54450f8248bfSmrg    nls: Transform Brazilian compose file to an include plus three overrides.
54460f8248bfSmrg    
54470f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
54480f8248bfSmrg
54490f8248bfSmrgcommit 16c87dda4da2271aaecc5d8b6fe6ecd072cc584c
54500f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
54510f8248bfSmrgDate:   Fri Sep 6 12:10:01 2013 +0200
54520f8248bfSmrg
54530f8248bfSmrg    nls: Adding the missing compose sequences with <comma> for O with ogonek.
54540f8248bfSmrg    
54550f8248bfSmrg    All other vowels with ogoneks can already be composed using <comma>.
54560f8248bfSmrg    
54570f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
54580f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
54590f8248bfSmrg
54600f8248bfSmrgcommit 655b60f48376069750b151c46da836fdd411c83b
54610f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
54620f8248bfSmrgDate:   Fri Sep 6 12:04:24 2013 +0200
54630f8248bfSmrg
54640f8248bfSmrg    nls: Adding the missing postfix sequences for composing vowels with ogoneks.
54650f8248bfSmrg    
54660f8248bfSmrg    It existed for lowercase i, but not for uppercase I nor the other vowels.
54670f8248bfSmrg    
54680f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
54690f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
54700f8248bfSmrg
54710f8248bfSmrgcommit 7f8f9a36ef901f31279c385caf960a22daeb33fe
54720f8248bfSmrgAuthor: Owen W. Taylor <otaylor@fishsoup.net>
54730f8248bfSmrgDate:   Fri May 9 18:21:05 2014 -0400
54740f8248bfSmrg
54750f8248bfSmrg    Fix XNextRequest() after direct usage of XCB
54760f8248bfSmrg    
54770f8248bfSmrg    When XCB owns the X socket, dpy->request is not updated, so
54780f8248bfSmrg    NextRequest() and XNextRequest() return the wrong value. There's
54790f8248bfSmrg    nothing we can do to fix NextRequest() while retaining ABI compat,
54800f8248bfSmrg    but change XNextRequest() to grab the socket back from XCB,
54810f8248bfSmrg    updating dpy->request.
54820f8248bfSmrg    
54830f8248bfSmrg    Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
54840f8248bfSmrg    Reviewed-by: Uli Schlachter <psychon@znc.in>
54850f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54860f8248bfSmrg
54870f8248bfSmrgcommit 0f9e734ea96556fe750a4baf354d42d5a87bcd14
54880f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
54890f8248bfSmrgDate:   Sun May 4 11:54:59 2014 -0700
54900f8248bfSmrg
54910f8248bfSmrg    Add missing .TE tags to end tables in Xkb man pages
54920f8248bfSmrg    
54930f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
54940f8248bfSmrg
54950f8248bfSmrgcommit 280274e5292e013b43e552274111fab434f5ed4e
54960f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
54970f8248bfSmrgDate:   Sun May 4 11:23:17 2014 -0700
54980f8248bfSmrg
54990f8248bfSmrg    XCreateGC.man: simplify table to work with Solaris tbl
55000f8248bfSmrg    
55010f8248bfSmrg    Having every table cell be a text diversion (T{...T}) was too much for
55020f8248bfSmrg    Solaris tbl to handle, and thus "man XCreateGC" would print the error
55030f8248bfSmrg    /usr/man/man3x11/XCreateGC.3x11: line 402: Too many text block diversions
55040f8248bfSmrg    tbl quits
55050f8248bfSmrg    and not display the table of mask bits or any text in the man page after
55060f8248bfSmrg    that table.   Since the #define column doesn't need special handling,
55070f8248bfSmrg    making it not use text diversions brings the table under the tbl limit.
55080f8248bfSmrg    
55090f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
55100f8248bfSmrg
55110f8248bfSmrgcommit 93bb325a54025dd15f4744abce54b358960420f9
55120f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com>
55130f8248bfSmrgDate:   Tue May 20 17:30:10 2014 -0400
55140f8248bfSmrg
55150f8248bfSmrg    Revert "nls: Adding compose sequences (with <parenleft> first) that GTK also has."
55160f8248bfSmrg    
55170f8248bfSmrg    Parenleft is already in use for sequences of the form <(> <letter> <)>
55180f8248bfSmrg    to generate circled letters.
55190f8248bfSmrg    
55200f8248bfSmrg    Eg, <Multikey> <parenleft> <a> <parenright> generates ⓐ.
55210f8248bfSmrg    
55220f8248bfSmrg    This reverts commit f020235f4bd91fb6eade82f8c9f7b85a57981768.
55230f8248bfSmrg    
55240f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
55250f8248bfSmrg
55260f8248bfSmrgcommit 060707851be918f2f507a26d17b016f764ddf2b4
55270f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
55280f8248bfSmrgDate:   Fri Sep 6 11:42:59 2013 +0200
55290f8248bfSmrg
55300f8248bfSmrg    nls: Adding accessible compose sequences for Ș and Ț (with comma below).
55310f8248bfSmrg    
55320f8248bfSmrg    Compose sequences with <dead_belowcomma> exist, but very few keyboard
55330f8248bfSmrg    layouts contain that symbol.  So a more usual character is needed to be
55340f8248bfSmrg    able to easily compose Ș, ș, Ț and ț.  The semicolon is normally only
55350f8248bfSmrg    used for composing letters with ogoneks -- but only vowels take ogoneks,
55360f8248bfSmrg    so the character is free for consonants, and thus <semicolon> is used
55370f8248bfSmrg    here to compose commas below.  It is somewhat fitting, because on most
55380f8248bfSmrg    Romanian keyboards the Ș is placed on that key, and the Ț next to it.
55390f8248bfSmrg    
55400f8248bfSmrg    (Oh -- the more obvious sequences with <comma> were already taken for
55410f8248bfSmrg    composing S and T with cedillas.)
55420f8248bfSmrg    
55430f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
55440f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
55450f8248bfSmrg
55460f8248bfSmrgcommit ca435c2f753aa2961fb35ac448cdb2cc77112755
55470f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
55480f8248bfSmrgDate:   Tue Sep 3 21:10:33 2013 +0200
55490f8248bfSmrg
55500f8248bfSmrg    nls: Ordering some compose sequences in a more customary way.
55510f8248bfSmrg    
55520f8248bfSmrg    The custom seems to be: pairing the ones that have only the sequence of
55530f8248bfSmrg    two keys reversed, and putting the one with the diacritic first first.
55540f8248bfSmrg    
55550f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
55560f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
55570f8248bfSmrg
55580f8248bfSmrgcommit f020235f4bd91fb6eade82f8c9f7b85a57981768
55590f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
55600f8248bfSmrgDate:   Tue Sep 3 20:44:42 2013 +0200
55610f8248bfSmrg
55620f8248bfSmrg    nls: Adding compose sequences (with <parenleft> first) that GTK also has.
55630f8248bfSmrg    
55640f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
55650f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
55660f8248bfSmrg
55670f8248bfSmrgcommit bda0b3b5bd19154206dc40166364e73d4b6b1374
55680f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
55690f8248bfSmrgDate:   Tue Sep 3 11:14:16 2013 +0200
55700f8248bfSmrg
55710f8248bfSmrg    nls: Allowing Romanian Ă and ă to be composed also with lowercase <u>.
55720f8248bfSmrg    
55730f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
55740f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
55750f8248bfSmrg
55760f8248bfSmrgcommit 8be4610939b833587954957f5963eb4191b43d19
55770f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
55780f8248bfSmrgDate:   Thu Mar 13 23:22:48 2014 -0700
55790f8248bfSmrg
55800f8248bfSmrg    Fix "follwing" typo in en_US.UTF-8/Compose comment
55810f8248bfSmrg    
55820f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
55830f8248bfSmrg
55840f8248bfSmrgcommit 6f30e9034f29c3ae6ad7e617b3d5e903aa107b6a
55850f8248bfSmrgAuthor: Reuben Thomas <rrt@sc3d.org>
55860f8248bfSmrgDate:   Mon Jan 27 14:18:24 2014 +0000
55870f8248bfSmrg
55880f8248bfSmrg    en_US.UTF-8/Compose: Fix apparent copy-paste-o, changing capital to small A.
55890f8248bfSmrg    
55900f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
55910f8248bfSmrg
55920f8248bfSmrgcommit d6bd988bc00494914b38b95ee5df77ac4f32f19f
55930f8248bfSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
55940f8248bfSmrgDate:   Mon Mar 3 12:38:48 2014 +1000
55950f8248bfSmrg
55960f8248bfSmrg    man: fix man page for XkbGetMap
55970f8248bfSmrg    
55980f8248bfSmrg    Returned structure must be freed with XkbFreeKeyboard().
55990f8248bfSmrg    
56000f8248bfSmrg    Reported-by: Morten Bøgeskov <mb@dbc.dk>
56010f8248bfSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
56020f8248bfSmrg
56030f8248bfSmrgcommit a6dcf2201a05adbff54122df05a1e6325936abb6
56040f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com>
56050f8248bfSmrgDate:   Tue Feb 11 13:26:16 2014 +0200
56060f8248bfSmrg
56070f8248bfSmrg    Remove dead USE_OWN_COMPOSE-protected code
56080f8248bfSmrg    
56090f8248bfSmrg    The build doesn't provide any way to define this option. It also refers
56100f8248bfSmrg    to files (imComp.h) and functions (e.g. XimCompInitTables(),
56110f8248bfSmrg    XimCompProcessSym()) which are not found anywhere, and the ordinary
56120f8248bfSmrg    Compose implementation in xim doesn't use any of it.
56130f8248bfSmrg    
56140f8248bfSmrg    Signed-off-by: Ran Benita <ran234@gmail.com>
56150f8248bfSmrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
56160f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
56170f8248bfSmrg
56180f8248bfSmrgcommit b64bee2ddb7b96f00713a8b8435f11ad9ac1c9e0
56190f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com>
56200f8248bfSmrgDate:   Sun Feb 16 15:24:58 2014 +0200
56210f8248bfSmrg
56220f8248bfSmrg    nls: always use XCOMM instead of # for comments in Compose.pre files
56230f8248bfSmrg    
56240f8248bfSmrg    Lines starting with # are considered as preprocessor directives in the
56250f8248bfSmrg    .pre files.
56260f8248bfSmrg    
56270f8248bfSmrg    Fixes warnings like:
56280f8248bfSmrg    <stdin>:3:0: error: invalid preprocessing directive #Khmer
56290f8248bfSmrg    
56300f8248bfSmrg    Signed-off-by: Ran Benita <ran234@gmail.com>
56310f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
56320f8248bfSmrg
56330f8248bfSmrgcommit 470e2289a3ebc59c5a35e54e1adeb0f261d5bf88
56340f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
56350f8248bfSmrgDate:   Thu Feb 6 13:48:08 2014 -0800
56360f8248bfSmrg
56370f8248bfSmrg    Fix typos in Xrm.c comments
56380f8248bfSmrg    
56390f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
56400f8248bfSmrg
56410f8248bfSmrgcommit aacf95dacc7c598e7297894580d4d655593813b2
56420f8248bfSmrgAuthor: Marko Myllynen <myllynen@redhat.com>
56430f8248bfSmrgDate:   Mon Jan 13 16:43:18 2014 +0200
56440f8248bfSmrg
56450f8248bfSmrg    Annotate Finnish Compose map with Unicode code points
56460f8248bfSmrg    
56470f8248bfSmrg    Scripted annotation, no functional changes.
56480f8248bfSmrg    
56490f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
56500f8248bfSmrg
56510f8248bfSmrgcommit 20fdccd81b54678376d49e00edfebbbe94951f07
56520f8248bfSmrgAuthor: Teemu Likonen <tlikonen@iki.fi>
56530f8248bfSmrgDate:   Fri Jul 20 19:21:04 2012 +0300
56540f8248bfSmrg
56550f8248bfSmrg    Fix "RING ABOVE" key in the Finnish compose file
56560f8248bfSmrg    
56570f8248bfSmrg    The Finnish keyboard standard defines that <dead_abovering> <space> must
56580f8248bfSmrg    insert the character U+02DA RING ABOVE. Currently the Finnish Compose
56590f8248bfSmrg    file inserts U+00B0 DEGREE SIGN even though the line's comment says
56600f8248bfSmrg    "RING ABOVE". This commit changes the character to U+02DA RING ABOVE.
56610f8248bfSmrg    
56620f8248bfSmrg    Signed-off-by: Teemu Likonen <tlikonen@iki.fi>
56630f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
56640f8248bfSmrg
56650f8248bfSmrgcommit 8757e2ac8e04f2932ff437127f3e2ae9ac20c1d7
56660f8248bfSmrgAuthor: Ran Benita <ran234@gmail.com>
56670f8248bfSmrgDate:   Wed Jan 29 02:11:47 2014 +0200
56680f8248bfSmrg
56690f8248bfSmrg    nls: remove duplicate 'ohorn' and 'uhorn' compose sequences
56700f8248bfSmrg    
56710f8248bfSmrg    Since <Ohorn> == <U01A0> and <ohorn> == <U01A1>, when translated to
56720f8248bfSmrg    keysyms:
56730f8248bfSmrg    
56740f8248bfSmrg     #define XK_Ohorn                      0x10001a0  /* U+01A0 LATIN CAPITAL LETTER O WITH HORN */
56750f8248bfSmrg     #define XK_ohorn                      0x10001a1  /* U+01A1 LATIN SMALL LETTER O WITH HORN */
56760f8248bfSmrg    
56770f8248bfSmrg    (and similarly for uhorn), there is no need to have both names. Remove
56780f8248bfSmrg    the unicode literal ones.
56790f8248bfSmrg    
56800f8248bfSmrg    Signed-off-by: Ran Benita <ran234@gmail.com>
56810f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
56820f8248bfSmrg
56830f8248bfSmrgcommit b98998cb3bea7cb3005f2e9d5bc5332d14b1d5d3
56840f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
56850f8248bfSmrgDate:   Sat Jan 18 22:35:18 2014 -0800
56860f8248bfSmrg
56870f8248bfSmrg    Add RANDR 1.4 requests & events to XErrorDB
56880f8248bfSmrg    
56890f8248bfSmrg    Checked against randrproto.txt & randr.h
56900f8248bfSmrg    
56910f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
56920f8248bfSmrg
56930f8248bfSmrgcommit 321392ded15a7ee9d177d4ebe8846336ba76741c
56940f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
56950f8248bfSmrgDate:   Fri Jan 3 20:04:33 2014 -0800
56960f8248bfSmrg
56970f8248bfSmrg    Remove unused ETEST & ESZTEST macros from XlibInt.c
56980f8248bfSmrg    
56990f8248bfSmrg    Left behind when 15e5eaf62897 removed support for building without XCB.
57000f8248bfSmrg    
57010f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57020f8248bfSmrg    Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
57030f8248bfSmrg
57040f8248bfSmrgcommit 1ffc0c5503d4f419fdbc765243832a53491bf5bc
57050f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
57060f8248bfSmrgDate:   Thu Dec 26 09:26:13 2013 -0800
57070f8248bfSmrg
57080f8248bfSmrg    _XkbReadGeomOverlay: check for NULL first, then use pointer
57090f8248bfSmrg    
57100f8248bfSmrg    Flagged by cppcheck 1.62:
57110f8248bfSmrg    [lib/libX11/src/xkb/XKBGeom.c:479] -> [lib/libX11/src/xkb/XKBGeom.c:480]:
57120f8248bfSmrg     (warning) Possible null pointer dereference: row - otherwise it is
57130f8248bfSmrg     redundant to check it against null.
57140f8248bfSmrg    
57150f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57160f8248bfSmrg
57170f8248bfSmrgcommit ddf5f130cc29bb3bf8b9c757dcbac31bc56e9379
57180f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
57190f8248bfSmrgDate:   Thu Dec 26 09:22:49 2013 -0800
57200f8248bfSmrg
57210f8248bfSmrg    XkbSelectEventDetails: remove unnecessary assignments
57220f8248bfSmrg    
57230f8248bfSmrg    clear & selectAll are set to 0 already a few lines earlier,
57240f8248bfSmrg    affectWhich is set to XkbMapNotifyMask a few lines later.
57250f8248bfSmrg    None are used between the other assignments and the removed ones.
57260f8248bfSmrg    
57270f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57280f8248bfSmrg
57290f8248bfSmrgcommit 3d69b0a83e62f8f6fbdd952fc49cdbdf8825e1e6
57300f8248bfSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk>
57310f8248bfSmrgDate:   Thu Oct 7 18:46:08 2010 +0100
57320f8248bfSmrg
57330f8248bfSmrg    Don't try so hard to find a matching font with the given encoding
57340f8248bfSmrg    
57350f8248bfSmrg    See http://sourceware.org/bugzilla/show_bug.cgi?id=10948
57360f8248bfSmrg    
57370f8248bfSmrg    Currently, if the locale is UTF-8, no CJK fonts are installed, and someone
57380f8248bfSmrg    does XCreateFontSet() with a font name of "*", we end up asking the server
57390f8248bfSmrg    to list the (non-existent) fonts 11 times for each CJK encoding, which can
57400f8248bfSmrg    take a while.
57410f8248bfSmrg    
57420f8248bfSmrg    A * wildcard can match multiple components in a XLFD name in XListFonts(),
57430f8248bfSmrg    so there's no need to try adding more than one to get a match.
57440f8248bfSmrg    
57450f8248bfSmrg    We do try once with a leading '*-' in case the fontname isn't a full
57460f8248bfSmrg    well-formed XLFD name, maybe even that isn't needed?
57470f8248bfSmrg    
57480f8248bfSmrg    (See also http://invisible-island.net/xterm/xterm.faq.html#slow_menus)
57490f8248bfSmrg    
57500f8248bfSmrg    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
57510f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57520f8248bfSmrg
57530f8248bfSmrgcommit 7e163300735d4bcd3386b86eec112acdad139c59
57540f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
57550f8248bfSmrgDate:   Mon Dec 2 21:51:27 2013 -0800
57560f8248bfSmrg
57570f8248bfSmrg    unifdef -UISC
57580f8248bfSmrg    
57590f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57600f8248bfSmrg
57610f8248bfSmrgcommit 1e43c262d13cab2b759665f9f13bdedbc7afbfd4
57620f8248bfSmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
57630f8248bfSmrgDate:   Thu Sep 19 13:20:05 2013 +0200
57640f8248bfSmrg
57650f8248bfSmrg    nls: Fix transposed locale identifier for Khmer.
57660f8248bfSmrg    
57670f8248bfSmrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
57680f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57690f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57700f8248bfSmrg
57710f8248bfSmrgcommit 0e45f64766c0557c8e99a979c70ca6f55664dae7
57720f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
57730f8248bfSmrgDate:   Sat Nov 16 20:21:54 2013 -0800
57740f8248bfSmrg
57750f8248bfSmrg    Drop X_LOCALE fallback for OS'es without setlocale()
57760f8248bfSmrg    
57770f8248bfSmrg    C89 or bust!   This was documented as being needed for "only Lynx,
57780f8248bfSmrg    Linux-libc5, OS/2" and has never been enabled in modular builds,
57790f8248bfSmrg    since none of those platforms have had anyone step up to add support
57800f8248bfSmrg    since the X11R7 conversion to autotools.
57810f8248bfSmrg    
57820f8248bfSmrg    Mostly performed with unifdef -UX_LOCALE, followed by removal of files
57830f8248bfSmrg    left without any purpose, and manual cleanup of remaining references.
57840f8248bfSmrg    
57850f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
57860f8248bfSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
57870f8248bfSmrg
57880f8248bfSmrgcommit 6cb02b166361200da35ba14f52cd9aaa493eb0ea
57890f8248bfSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
57900f8248bfSmrgDate:   Wed Oct 23 10:37:53 2013 -0700
57910f8248bfSmrg
57920f8248bfSmrg    Xcms file parsing should not require the impossible to succeed
57930f8248bfSmrg    
57940f8248bfSmrg    The field2 helper function, to split lines from Xcms.txt files into
57950f8248bfSmrg    two tab delimited fields, contained a check:
57960f8248bfSmrg    
57970f8248bfSmrg        if ((*pBuf != '\n') || (*pBuf != '\0')) {
57980f8248bfSmrg            return(XcmsFailure);
57990f8248bfSmrg    
58000f8248bfSmrg    which would cause it to return failure unless *pBuf had a value that
58010f8248bfSmrg    was simultaneously equal to both \n & \0, and no one wants to live in
58020f8248bfSmrg    a world where that could ever be true.
58030f8248bfSmrg    
58040f8248bfSmrg    This has gone unnoticed since 1991, since this only caused lines
58050f8248bfSmrg    in Xcms.txt that started with whitespace to be rejected, but now
58060f8248bfSmrg    gcc -Wlogicalop has brought it to our attention, and
58070f8248bfSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=70803 was filed.
58080f8248bfSmrg    
58090f8248bfSmrg    Now that we see it, and cannot unsee it, we change it to use the
58100f8248bfSmrg    same logic as the check at other points in this function, to return
58110f8248bfSmrg    failure only if we hit \n or \0 before we find the first non-whitespace
58120f8248bfSmrg    character, so that lines starting with whitespace will have the space
58130f8248bfSmrg    skipped over to get to the color name to be defined.
58140f8248bfSmrg    
58150f8248bfSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
58160f8248bfSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
58170f8248bfSmrg
58180f8248bfSmrgcommit 18a5278b008e9faa59b346fcab18a8d74b875fda
58190f8248bfSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
58200f8248bfSmrgDate:   Sat Sep 28 17:33:52 2013 -0400
58210f8248bfSmrg
58220f8248bfSmrg    makekeys: don't need to use target-specific CFLAGS
58230f8248bfSmrg    
58240f8248bfSmrg    It's the only thing built in that directory, so we can use AM_CFLAGS
58250f8248bfSmrg    and AM_CPPFLAGS as usual.
58260f8248bfSmrg    
58270f8248bfSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
58280f8248bfSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
58290f8248bfSmrg
58300f8248bfSmrgcommit 5dcb40f28d59587597d2ff6e6ac64c71cfe6ff7b
58310f8248bfSmrgAuthor: James Cloos <cloos@jhcloos.com>
58320f8248bfSmrgDate:   Tue Sep 17 12:50:42 2013 -0400
58330f8248bfSmrg
58340f8248bfSmrg    nls/en_US.UTF-8/Compose.pre: Fix typo.
58350f8248bfSmrg    
58360f8248bfSmrg    Fix typo added in 215ce6a67863, s/actute/acute/.
58370f8248bfSmrg    
58380f8248bfSmrg    Fixes bug #69476.  Reported by Jean Krohn.
58390f8248bfSmrg    
58400f8248bfSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
58410f8248bfSmrg
5842818534a1Smrgcommit cb107760df33ffc8630677e66e2e50aa37950a5c
5843818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5844818534a1SmrgDate:   Sun Sep 8 18:37:01 2013 -0700
5845818534a1Smrg
5846818534a1Smrg    libX11 1.6.2
5847818534a1Smrg
5848818534a1Smrgcommit 215ce6a67863de7acfd6dd3562b4fd97ef87b411
5849818534a1SmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
5850818534a1SmrgDate:   Sun Sep 1 12:38:30 2013 +0200
5851818534a1Smrg
5852818534a1Smrg    nls: Adding more accessible compose sequences for J́ and j́.
5853818534a1Smrg    
5854818534a1Smrg    Few keyboards have an <acute> key, so this adds the much more
5855818534a1Smrg    accessible and usual compose sequences with <apostrophe>, ánd
5856818534a1Smrg    the most comfortable ones with <dead_acute>.
5857818534a1Smrg    
5858818534a1Smrg    Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
5859818534a1Smrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
5860818534a1Smrg
5861818534a1Smrgcommit e9b14d10d0258bfcc273ff8bc84cd349dccda62c
5862818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5863818534a1SmrgDate:   Sat Aug 24 17:27:43 2013 -0700
5864818534a1Smrg
5865818534a1Smrg    Bug 68413 - [Bisected]Error in `xterm': realloc(): invalid next size
5866818534a1Smrg    
5867818534a1Smrg    Pass *new* size to realloc, not old size.
5868818534a1Smrg    
5869818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5870818534a1Smrg
5871818534a1Smrgcommit c2b8e30790c21d6386767265263b3294ce1b1f9a
5872818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5873818534a1SmrgDate:   Fri Aug 16 21:04:02 2013 -0700
5874818534a1Smrg
5875818534a1Smrg    Stop checking for HAVE_DIX_CONFIG_H on the client side
5876818534a1Smrg    
5877818534a1Smrg    Leftover from when these XKB files were shared with the server sources
5878818534a1Smrg    and could be compiled in either the client or server, with the different
5879818534a1Smrg    autoconf config files in each.
5880818534a1Smrg    
5881818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5882818534a1Smrg
5883818534a1Smrgcommit 84276609b2f0aec74fb464c428c7db5714b0fcfc
5884818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5885818534a1SmrgDate:   Fri Aug 16 18:27:28 2013 -0700
5886818534a1Smrg
5887818534a1Smrg    Rearrange some variable declarations & initializations in XKB
5888818534a1Smrg    
5889818534a1Smrg    Little things noticed during XKB restyling that seemed to make the
5890818534a1Smrg    code easier to read.
5891818534a1Smrg    
5892818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5893818534a1Smrg
5894818534a1Smrgcommit b90b7e859cf45ec76921fa21bbfc1f3840d6e8d1
5895818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5896818534a1SmrgDate:   Sun Aug 11 13:29:33 2013 -0700
5897818534a1Smrg
5898818534a1Smrg    Reindent XKB code to X.Org standard style
5899818534a1Smrg    
5900818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5901818534a1Smrg
5902818534a1Smrgcommit c0a0f78eb49c2e4ad956209de77475c85b9314ea
5903818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5904818534a1SmrgDate:   Fri Aug 16 18:14:14 2013 -0700
5905818534a1Smrg
5906818534a1Smrg    Fix overflow checks in _XkbReadKeySyms when key_sym_map is already created
5907818534a1Smrg    
5908818534a1Smrg    We were checking to make sure that the largest keysym value was within
5909818534a1Smrg    the range of the allocated buffer, but checking against different limits
5910818534a1Smrg    in the not-yet-allocated vs. the already-allocated branches.
5911818534a1Smrg    
5912818534a1Smrg    The check should be the same in both, and reflect the size used for the
5913818534a1Smrg    allocation, which is based on the maximum key code value, so we move it
5914818534a1Smrg    to be a common check, before we branch, instead of duplicating in each
5915818534a1Smrg    branch.
5916818534a1Smrg    
5917818534a1Smrg    map->key_sym_map is an array of XkbSymMapRec structs, [0..max_key_code]
5918818534a1Smrg    map->syms is the array for which num_syms is recorded, hence is not the
5919818534a1Smrg    right value to check for ensuring our key_sym_map accesses are in range.
5920818534a1Smrg    
5921818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5922818534a1Smrg    Reported-by: Barry Kauler <bkauler@gmail.com>
5923818534a1Smrg    Tested-by: Barry Kauler <bkauler@gmail.com>
5924818534a1Smrg
5925818534a1Smrgcommit bea6cbd027973142fc64532274e1d16861b47190
5926818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5927818534a1SmrgDate:   Sun Aug 11 17:02:21 2013 -0700
5928818534a1Smrg
5929818534a1Smrg    Remove long unused src/udcInf.c
5930818534a1Smrg    
5931818534a1Smrg    I can find no record of what this file was for.  Neither the X11R6.8.2
5932818534a1Smrg    monolith Imakefile nor any modular release Makefile.am have ever built
5933818534a1Smrg    it and nothing else references it.
5934818534a1Smrg    
5935818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5936818534a1Smrg
5937818534a1Smrgcommit bf3501e0395abe890acfea98fdd9f50a6966f118
5938818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5939818534a1SmrgDate:   Sun Aug 11 00:07:33 2013 -0700
5940818534a1Smrg
5941818534a1Smrg    Remove unnecessary casts of pointers to (char *) in calls to Xfree()
5942818534a1Smrg    
5943818534a1Smrg    Left one cast behind that is necessary to change from const char *
5944818534a1Smrg    to char * in src/xlibi18n/lcCharSet.c.
5945818534a1Smrg    
5946818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5947818534a1Smrg
5948818534a1Smrgcommit 6ead9dd92ab90aabd9f0e328d59597e6b5bc09d3
5949818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5950818534a1SmrgDate:   Sat Aug 10 23:57:55 2013 -0700
5951818534a1Smrg
5952818534a1Smrg    Don't cast sizeof() results to unsigned when passing to Xmalloc/Xcalloc
5953818534a1Smrg    
5954818534a1Smrg    sizeof() returns size_t, malloc() & calloc() expect sizes in size_t,
5955818534a1Smrg    don't strip down to unsigned int and re-expand unnecessarily.
5956818534a1Smrg    
5957818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5958818534a1Smrg
5959818534a1Smrgcommit 25a7a329def672fc8d26078538173777850c6390
5960818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5961818534a1SmrgDate:   Sat Aug 10 23:51:08 2013 -0700
5962818534a1Smrg
5963818534a1Smrg    Remove even more casts of return values from Xmalloc/Xrealloc
5964818534a1Smrg    
5965818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5966818534a1Smrg
5967818534a1Smrgcommit f8fa16092a148b74ca35b4beb182053352606f2f
5968818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5969818534a1SmrgDate:   Sat Aug 10 23:05:13 2013 -0700
5970818534a1Smrg
5971818534a1Smrg    xlibi18n: fix argsize argument to _XlcParsePath
5972818534a1Smrg    
5973818534a1Smrg    The array is defined as having NUM_LOCALEDIR entries, so use that
5974818534a1Smrg    instead of hardcoded 256 value (the other two calls already did this).
5975818534a1Smrg    
5976818534a1Smrg    Reported by parfait:
5977818534a1Smrg       Buffer overflow (CWE 120): In pointer dereference of argv[argc] with index argc
5978818534a1Smrg          Pointer size is 64 elements (of 8 bytes each), index is 255
5979818534a1Smrg            at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'.
5980818534a1Smrg            called at line 178 in function '_XlcParsePath' with argv = argv.
5981818534a1Smrg            called at line 722 in function '_XlcLocaleLibDirName' with argv = args, argsize = 256.
5982818534a1Smrg            at line 82 of src/xlibi18n/lcFile.c in function 'parse_line'.
5983818534a1Smrg            called at line 178 in function '_XlcParsePath' with argv = argv.
5984818534a1Smrg            called at line 638 in function '_XlcLocaleDirName' with argv = args, argsize = 256.
5985818534a1Smrg    
5986818534a1Smrg    [ This bug was found by the Parfait 1.2.0 bug checking tool.
5987818534a1Smrg      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
5988818534a1Smrg    
5989818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
5990818534a1Smrg
5991818534a1Smrgcommit e7d46c6452c0b90fd66ae9f538546b968e0dd608
5992818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
5993818534a1SmrgDate:   Sat Aug 10 22:32:42 2013 -0700
5994818534a1Smrg
5995818534a1Smrg    i18n modules: Fix some const cast warnings
5996818534a1Smrg    
5997818534a1Smrg    imRm.c: In function '_XimSetICMode':
5998818534a1Smrg    imRm.c:2419:37: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
5999818534a1Smrg    imRm.c:2420:30: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
6000818534a1Smrg    
6001818534a1Smrg    lcGenConv.c: In function 'byteM_parse_codeset':
6002818534a1Smrg    lcGenConv.c:345:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
6003818534a1Smrg    
6004818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6005818534a1Smrg
6006818534a1Smrgcommit cbd86eccf175dc82a5cbcea54c8bd21ce18b70c0
6007818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6008818534a1SmrgDate:   Sat Aug 10 22:21:54 2013 -0700
6009818534a1Smrg
6010818534a1Smrg    xlibi18n: Fix a bunch of const cast warnings
6011818534a1Smrg    
6012818534a1Smrg    Add const qualifiers to casts where needed, remove other casts that
6013818534a1Smrg    are no longer needed.
6014818534a1Smrg    
6015818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6016818534a1Smrg
6017818534a1Smrgcommit eb3676113fc2dd0f34d92b89beb81b3f61569aa1
6018818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6019818534a1SmrgDate:   Sat Aug 10 22:18:00 2013 -0700
6020818534a1Smrg
6021818534a1Smrg    Fix const handling in XSetLocaleModifiers
6022818534a1Smrg    
6023818534a1Smrg    Instead of reusing the input parameter to store the output, make a
6024818534a1Smrg    result variable instead, so that there's less const confusion.
6025818534a1Smrg    
6026818534a1Smrg    Fixes gcc warnings:
6027818534a1Smrg    lcWrap.c: In function 'XSetLocaleModifiers':
6028818534a1Smrg    lcWrap.c:87:18: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
6029818534a1Smrg    lcWrap.c:91:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
6030818534a1Smrg    lcWrap.c:93:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
6031818534a1Smrg    
6032818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6033818534a1Smrg
6034818534a1Smrgcommit 8ebbffa98563960910152e4f2e31cb032375d871
6035818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6036818534a1SmrgDate:   Sat Aug 10 21:46:37 2013 -0700
6037818534a1Smrg
6038818534a1Smrg    Constify lc_name argument to _XlcLocaleDirName() & _XlcLocaleLibDirName()
6039818534a1Smrg    
6040818534a1Smrg    Makes code considerably less crufty and clears gcc warnings:
6041818534a1Smrg    XlcDL.c: In function '_XlcDynamicLoad':
6042818534a1Smrg    XlcDL.c:384:44: warning: cast discards '__attribute__((const))' qualifier
6043818534a1Smrg     from pointer target type [-Wcast-qual]
6044818534a1Smrg    XlcDL.c:386:51: warning: cast discards '__attribute__((const))' qualifier
6045818534a1Smrg     from pointer target type [-Wcast-qual]
6046818534a1Smrg    
6047818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6048818534a1Smrg
6049818534a1Smrgcommit 07e4e864107b38c2f393564fdacc90f4e858f23f
6050818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6051818534a1SmrgDate:   Sat Aug 10 13:37:53 2013 -0700
6052818534a1Smrg
6053818534a1Smrg    init_om: remove unneeded extra copy of string to local buffer
6054818534a1Smrg    
6055818534a1Smrg    Strings from the supported_charset_list[] were being copied one by
6056818534a1Smrg    one to a stack buffer, and then strdup called on that buffer.
6057818534a1Smrg    
6058818534a1Smrg    Instead, just strdup the original string, without the local copy,
6059818534a1Smrg    and use a more traditional for loop, so it's easier to figure out
6060818534a1Smrg    what the code is doing (cleaning up a gcc const-cast warning in
6061818534a1Smrg    the process).
6062818534a1Smrg    
6063818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6064818534a1Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6065818534a1Smrg
6066818534a1Smrgcommit 1cec14dad904ba21a861f4af131be5982ecb83dd
6067818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6068818534a1SmrgDate:   Sat Aug 10 12:34:53 2013 -0700
6069818534a1Smrg
6070818534a1Smrg    Delete unused XKB_INSURE_SIZE macro from XKBlibint.h
6071818534a1Smrg    
6072818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6073818534a1Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6074818534a1Smrg
6075818534a1Smrgcommit 5f32182c7c4045540ff3833c48ee24a3a25726e2
6076818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6077818534a1SmrgDate:   Sat Aug 10 12:19:17 2013 -0700
6078818534a1Smrg
6079818534a1Smrg    miRegionOp(): ensure region size is not updated if realloc fails
6080818534a1Smrg    
6081818534a1Smrg    This function performs operations on a region, and when finished,
6082818534a1Smrg    checks to see if it should compact the rectangle list.  If the
6083818534a1Smrg    number of rectangles for which memory is allocated in the list is
6084818534a1Smrg    more than twice the number used, it tries to shrink.   realloc()
6085818534a1Smrg    should not fail in this case, but if it does, might as well keep
6086818534a1Smrg    the correct value for the number of allocated rectangles, so we
6087818534a1Smrg    don't try to grow it unnecessarily later if adding to the region.
6088818534a1Smrg    
6089818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6090818534a1Smrg
6091818534a1Smrgcommit bd2a0b5a187798bb2e2f05dc5062ca79e37075dd
6092818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6093818534a1SmrgDate:   Sat Aug 10 12:19:17 2013 -0700
6094818534a1Smrg
6095818534a1Smrg    miRegionCopy(): handle realloc failure better
6096818534a1Smrg    
6097818534a1Smrg    Zero out the region size when freeing the region so callers don't think
6098818534a1Smrg    there's anything there.   (Pointer is already set to NULL from the realloc
6099818534a1Smrg    result itself.)  Return 0 to the callers, and have them cascade that back
6100818534a1Smrg    to their callers to indicate failure, instead of their usual return value
6101818534a1Smrg    of 1 on success.
6102818534a1Smrg    
6103818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6104818534a1Smrg
6105818534a1Smrgcommit 5dc8b5385d513bbda88697c2372db750d23f46d4
6106818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6107818534a1SmrgDate:   Sat Aug 10 11:27:22 2013 -0700
6108818534a1Smrg
6109818534a1Smrg    Avoid memory leak/corruption if realloc fails in Xregion.h:MEMCHECK macro
6110818534a1Smrg    
6111818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6112818534a1Smrg
6113818534a1Smrgcommit 453c4ee436ef32d91501d7736d7a91c1aeafc565
6114818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6115818534a1SmrgDate:   Sat Aug 10 12:07:51 2013 -0700
6116818534a1Smrg
6117818534a1Smrg    Avoid memory leak/corruption if realloc fails in imLcPrs.c:parseline()
6118818534a1Smrg    
6119818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6120818534a1Smrg
6121818534a1Smrgcommit b3fea74ec5b7d4f83755a52a8d49c564b71c6d12
6122818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6123818534a1SmrgDate:   Sat Aug 10 12:30:39 2013 -0700
6124818534a1Smrg
6125818534a1Smrg    lcDB.c: ensure buffer size is updated correctly if realloc fails
6126818534a1Smrg    
6127818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6128818534a1Smrg
6129818534a1Smrgcommit 43bb822c714a73c3b2d15e621ffb3333cd10da8c
6130818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6131818534a1SmrgDate:   Sat Aug 10 11:07:47 2013 -0700
6132818534a1Smrg
6133818534a1Smrg    Avoid memory leak/corruption if realloc fails in XlcDL.c:resolve_object()
6134818534a1Smrg    
6135818534a1Smrg    Previously, if realloc failed to increase the size, we'd still
6136818534a1Smrg    record that we had allocated the larger size, but the pointer
6137818534a1Smrg    to it would be NULL, causing future calls to be broken, and the
6138818534a1Smrg    previous allocation to be lost/leaked.
6139818534a1Smrg    
6140818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6141818534a1Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6142818534a1Smrg
6143818534a1Smrgcommit 5d47a39978e92bb34ec928b1b15d71c0c2434870
6144818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6145818534a1SmrgDate:   Fri Aug 9 23:33:03 2013 -0700
6146818534a1Smrg
6147818534a1Smrg    omGeneric.c: convert sprintf calls to snprintf
6148818534a1Smrg    
6149818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6150818534a1Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6151818534a1Smrg
6152818534a1Smrgcommit 88a27a2aa9b7d35cb79b16334ea3413e572b724a
6153818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6154818534a1SmrgDate:   Fri Aug 9 23:30:30 2013 -0700
6155818534a1Smrg
6156818534a1Smrg    ximcp/imRm.c: convert sprintf calls to snprintf
6157818534a1Smrg    
6158818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6159818534a1Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6160818534a1Smrg
6161818534a1Smrgcommit 4fadae243fb485628c9a137f5da3489ed6214b21
6162818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6163818534a1SmrgDate:   Fri Aug 9 23:02:12 2013 -0700
6164818534a1Smrg
6165818534a1Smrg    xlibi18n: convert sprintf calls to snprintf
6166818534a1Smrg    
6167818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6168818534a1Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6169818534a1Smrg
6170818534a1Smrgcommit 36a7edf0e5edfc5ef4ff2c3a8b4fa3dc4796e854
6171818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6172818534a1SmrgDate:   Fri Aug 9 23:02:12 2013 -0700
6173818534a1Smrg
6174818534a1Smrg    lcfile: skip over any null entries in args list
6175818534a1Smrg    
6176818534a1Smrg    Previous code seemed to assume that printf("%s", NULL) would result
6177818534a1Smrg    in a 0-length string, not "(null)" or similar, but since there's no
6178818534a1Smrg    point looking for files in "(null)/filepath...", instead we just
6179818534a1Smrg    skip over NULL entries in search paths when generating file names.
6180818534a1Smrg    
6181818534a1Smrg    In the *DirName() functions, this effectively just moves the "bail on
6182818534a1Smrg    NULL in arg[i]" check up from the later code that assigned it to targetdir
6183818534a1Smrg    and then bailed if that was NULL.
6184818534a1Smrg    
6185818534a1Smrg    Not sure how there ever could be a NULL in arg[i], given the current
6186818534a1Smrg    implementation of XlcParsePath, but it's easy enough to check once and
6187818534a1Smrg    reject up front instead of on every reference.
6188818534a1Smrg    
6189818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6190818534a1Smrg
6191818534a1Smrgcommit ee0824f24392d5ca3d5fd5f5ed8d78c0d892f7c0
6192818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6193818534a1SmrgDate:   Fri Aug 9 22:00:09 2013 -0700
6194818534a1Smrg
6195818534a1Smrg    Fix file leak on malloc error in XlcDL.c:resolve_object()
6196818534a1Smrg    
6197818534a1Smrg    File Leak: Leaked File fp
6198818534a1Smrg       at line 219 of lib/libX11/src/xlibi18n/XlcDL.c in function 'resolve_object'.
6199818534a1Smrg          fp initialized at line 198 with fopen
6200818534a1Smrg    
6201818534a1Smrg    [ This bug was found by the Parfait 1.2.0 bug checking tool.
6202818534a1Smrg      http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
6203818534a1Smrg    
6204818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6205818534a1Smrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6206818534a1Smrg
6207818534a1Smrgcommit 9b291044a240e5b9b031ed814e0c84e53a1c3084
6208818534a1SmrgAuthor: Julien Cristau <jcristau@debian.org>
6209818534a1SmrgDate:   Sat Jun 15 18:02:21 2013 +0200
6210818534a1Smrg
6211818534a1Smrg    Add missing locales to configure.ac
6212818534a1Smrg    
6213818534a1Smrg    Commits 40761898692e5063957bfa2518cca3d35b2e354a and
6214818534a1Smrg    f198c6aa98f88ff285d903175a3c4c0fd33a4575 added two new locales
6215818534a1Smrg    (sr_CS.UTF-8 and km_KH.UTF-8), but didn't list them in configure.ac,
6216818534a1Smrg    meaning they're not included in tarballs.
6217818534a1Smrg    
6218818534a1Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
6219818534a1Smrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
6220818534a1Smrg
6221818534a1Smrgcommit 8f58e54a5f46c3cd4897a23b89950f4800ae38d4
6222818534a1SmrgAuthor: ISHIKAWA,chiaki <ishikawa@yk.rim.or.jp>
6223818534a1SmrgDate:   Tue Dec 18 15:28:05 2012 +0000
6224818534a1Smrg
6225818534a1Smrg    Fix bogus timestamp generated by XIM
6226818534a1Smrg    
6227818534a1Smrg    Fix bogus timestamp generted by XIM due to uninitialized
6228818534a1Smrg    data field. Also set appropriate serial, too.
6229818534a1Smrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=39367
6230818534a1Smrg    
6231818534a1Smrg    Signed-off-by: Chiaki ISHIKAWA <ishikawa@yk.rim.or.jp>
6232818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6233818534a1Smrg
6234818534a1Smrgcommit e7fd6f0eda57300df4d6b695b7064610ca5dec57
6235818534a1SmrgAuthor: Egbert Eich <eich@freedesktop.org>
6236818534a1SmrgDate:   Thu Jun 16 18:47:49 2011 +0200
6237818534a1Smrg
6238818534a1Smrg    XIM: Fix sync problem on focus change.
6239818534a1Smrg    
6240818534a1Smrg    XSetICFocus() and XUnsetICFocus() are both asynchronous events.
6241818534a1Smrg    This is a pretty stupid idea: those functions may undo certain
6242818534a1Smrg    settings on the client side for which requests from the server
6243818534a1Smrg    may still be in the queue unprocessed. Thus things may be set
6244818534a1Smrg    in the wrong order ie instead of set -> unest it will be unset -> set.
6245818534a1Smrg    Moreover there is no way for either the client or the server to
6246818534a1Smrg    cause the event queue to be flushed - which is pretty bad as
6247818534a1Smrg    XIM is bidirectional.
6248818534a1Smrg    The scenario is as follows:
6249818534a1Smrg    Two ICs are created:
6250818534a1Smrg            ic1 = XCreateIC(im,
6251818534a1Smrg                XNInputStyle, XIMPreeditCallbacks | XIMStatusCallbacks,
6252818534a1Smrg                XNClientWindow, window,
6253818534a1Smrg                XNPreeditAttributes, preedit_attr,
6254818534a1Smrg                XNStatusAttributes, status_attr,
6255818534a1Smrg                NULL);
6256818534a1Smrg            ic2 = XCreateIC(im, XNInputStyle,
6257818534a1Smrg                           XIMPreeditNothing | XIMStatusNothing,
6258818534a1Smrg                           XNClientWindow, window, NULL);
6259818534a1Smrg    Then the focus is removed from ic2:
6260818534a1Smrg            XUnsetICFocus(ic2);
6261818534a1Smrg    If SCIM is used as the input server it will send a bunch of requests
6262818534a1Smrg    following an XCreateIC(). One of the requests registers a key release
6263818534a1Smrg    filter. XUnsetICFocus() unsets both key press and release filters.
6264818534a1Smrg    Since it is asynchronous, the input server requests to register key
6265818534a1Smrg    press and release filters may not have been processed, when XUnsetICFocus()
6266818534a1Smrg    is called. Since there is no explicite way for client programs to enforce
6267818534a1Smrg    the request queue to be flushed explicitely before an X[Set/Unset]ICFocus()
6268818534a1Smrg    call it would be safest to make those two calls synchronous in the sense
6269818534a1Smrg    that they ensure the request queue has been handled before they execute.
6270818534a1Smrg    The easiest way to do this from Xlib is thru a call to XGetICValues()
6271818534a1Smrg    which sends a request to the server and subsequently reads the queue
6272818534a1Smrg    from the server to the client. This will cause all outstanding requests
6273818534a1Smrg    in the queue to be read and handled.
6274818534a1Smrg    This is an ugly hack and this could be fixed directly in the client,
6275818534a1Smrg    however it seems to be easier to fix Xlib than to fix numerous clients.
6276818534a1Smrg    This problem arose since there is no well documented way how to handle
6277818534a1Smrg    and synchronize XIM requests and not all input servers send requests
6278818534a1Smrg    when an IC is created.
6279818534a1Smrg    This has been discussed extensively in:
6280818534a1Smrg     https://bugzilla.novell.com/show_bug.cgi?id=221326
6281818534a1Smrg    
6282818534a1Smrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
6283818534a1Smrg
6284818534a1Smrgcommit 26ec7d3821bc19debc73c8c3e42e6e33ef6f856e
6285818534a1SmrgAuthor: Egbert Eich <eich@freedesktop.org>
6286818534a1SmrgDate:   Thu Jun 16 17:28:39 2011 +0200
6287818534a1Smrg
6288818534a1Smrg    XIM: Fix race on focus change: set 'FABRICATED' only when keyev filters in place.
6289818534a1Smrg    
6290818534a1Smrg    When synthesized key events are sent on commit XIM sets the 'fabricated'
6291818534a1Smrg    flag so that the keypress handler knows that these were not real events.
6292818534a1Smrg    This also happens when committing due to the loss of focus. However in this
6293818534a1Smrg    case the keypress/release filters which consume and unset this flag are no
6294818534a1Smrg    longer in the filter chain.
6295818534a1Smrg    So the flag is erronously set when a real keyboard event is received after
6296818534a1Smrg    focus has been regained. So the first event is wrongly treated as a
6297818534a1Smrg    fabricated key in the keypress handler which will at the same time reset
6298818534a1Smrg    the flag so the second key event is treated correctly.
6299818534a1Smrg    This fix only sets the flag when at least one of the keyboard filters is in
6300818534a1Smrg    place.
6301818534a1Smrg    How to reproduce this bug: run scim, choose a Japanese input method start
6302818534a1Smrg    two instances of xterm: start typing in one xterm (this should pop up an
6303818534a1Smrg    IM window). Without comitting (hitting 'enter') move focus to the other
6304818534a1Smrg    xterm, then move focus back. Start typing again. The first character will
6305818534a1Smrg    be committed immediately without popping up an input window.
6306818534a1Smrg    With this fix this behavior is gone.
6307818534a1Smrg    
6308818534a1Smrg    See also: https://bugzilla.novell.com/show_bug.cgi?id=239698
6309818534a1Smrg    
6310818534a1Smrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
6311818534a1Smrg
6312818534a1Smrgcommit 44f84223f5e2dd46883fcbd352af2798bfa9aeb6
6313818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6314818534a1SmrgDate:   Mon Jul 29 21:29:49 2013 -0700
6315818534a1Smrg
6316818534a1Smrg    libX11 1.6.1
6317818534a1Smrg    
6318818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6319818534a1Smrg
6320818534a1Smrgcommit d19cfaca15826943d3c637ef7fa5db0a23d5feed
6321818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6322818534a1SmrgDate:   Sat Jul 27 12:19:00 2013 -0700
6323818534a1Smrg
6324818534a1Smrg    Fix undefined XCMSDIR error when building lint library
6325818534a1Smrg    
6326818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6327818534a1Smrg
6328818534a1Smrgcommit 3083cd43d7dcd59da587975e7cadda681cd8a103
6329818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6330818534a1SmrgDate:   Sat Jul 27 00:36:08 2013 -0700
6331818534a1Smrg
6332818534a1Smrg    Add ku_TR.UTF-8 (Kurdish language, Turkey region) to compose/locale.dir
6333818534a1Smrg    
6334818534a1Smrg    Upstreaming from changes originally integrated into OpenSolaris
6335818534a1Smrg    under Sun bug id 6882572.
6336818534a1Smrg    
6337818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6338818534a1Smrg    Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
6339818534a1Smrg
6340818534a1Smrgcommit 208e586c808e88a2ee819e4450dc27f557afc2bf
6341818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6342818534a1SmrgDate:   Sat Jul 27 01:03:18 2013 -0700
6343818534a1Smrg
6344818534a1Smrg    omGeneric: remove space between struct name & member name
6345818534a1Smrg    
6346818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6347818534a1Smrg
6348818534a1Smrgcommit 7db74514e454d3fc4ff70aa08ddac66bfffda4dd
6349818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6350818534a1SmrgDate:   Tue Jul 23 22:18:46 2013 -0700
6351818534a1Smrg
6352818534a1Smrg    Refactor common code from XAddHost & XRemoveHost into single function
6353818534a1Smrg    
6354818534a1Smrg    On the Xlib side, the only real difference is the mode flag we send
6355818534a1Smrg    to the server with the address, so just make that an argument to the
6356818534a1Smrg    function with the common code for packing the address into the request.
6357818534a1Smrg    
6358818534a1Smrg    (Aside from labels, gcc 4.7.2 generates identical code before & after
6359818534a1Smrg     this change due to inlining, verified via diff of gcc -S output.)
6360818534a1Smrg    
6361818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6362818534a1Smrg
6363818534a1Smrgcommit 3292195a64a9ce4f0d27134cd544651ec647e728
6364818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6365818534a1SmrgDate:   Tue Jul 23 22:11:34 2013 -0700
6366818534a1Smrg
6367818534a1Smrg    XSetModifierMapping: Use Data instead of GetReqExtra
6368818534a1Smrg    
6369818534a1Smrg    Handle arbitrary length data in the same fashion as other calls,
6370818534a1Smrg    avoiding need to ensure it fits all in the request buffer.
6371818534a1Smrg    
6372818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6373818534a1Smrg
6374818534a1Smrgcommit feb131b18aee31c2c125dc3275b0260940245882
6375818534a1SmrgAuthor: Kees Cook <kees@outflux.net>
6376818534a1SmrgDate:   Sun Jun 9 11:13:43 2013 -0700
6377818534a1Smrg
6378818534a1Smrg    libX11: check "req" when calling GetReqExtra
6379818534a1Smrg    
6380818534a1Smrg    This fixes the two callers of GetReqExtra to check that "req" is non-NULL
6381818534a1Smrg    to avoid crashing now that GetReqExtra does internal bounds-checking on
6382818534a1Smrg    the resulting buffer sizes.
6383818534a1Smrg    
6384818534a1Smrg    Additionally updates comment describing return values to use names
6385818534a1Smrg    instead of only literal values.
6386818534a1Smrg    
6387818534a1Smrg    Signed-off-by: Kees Cook <kees@outflux.net>
6388818534a1Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6389818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6390818534a1Smrg
6391818534a1Smrgcommit 54540d7cba0c2bfe9176221c7bca910058d304df
6392818534a1SmrgAuthor: Kees Cook <kees@outflux.net>
6393818534a1SmrgDate:   Sun Jun 9 11:13:42 2013 -0700
6394818534a1Smrg
6395818534a1Smrg    libX11: check size of GetReqExtra after XFlush
6396818534a1Smrg    
6397818534a1Smrg    Two users of GetReqExtra pass arbitrarily sized allocations from the
6398818534a1Smrg    caller (ModMap and Host). Adjust _XGetRequest() (called by the GetReqExtra
6399818534a1Smrg    macro) to double-check the requested length and invalidate "req" when
6400818534a1Smrg    this happens. Users of GetReqExtra passing lengths greater than the Xlib
6401818534a1Smrg    buffer size (normally 16K) must check "req" and fail gracefully instead
6402818534a1Smrg    of crashing.
6403818534a1Smrg    
6404818534a1Smrg    Any callers of GetReqExtra that do not check "req" for NULL
6405818534a1Smrg    will experience this change, in the pathological case, as a NULL
6406818534a1Smrg    dereference instead of a buffer overflow. This is an improvement, but
6407818534a1Smrg    the documentation for GetReqExtra has been updated to reflect the need
6408818534a1Smrg    to check the value of "req" after the call.
6409818534a1Smrg    
6410818534a1Smrg    Bug that manifested the problem:
6411818534a1Smrg    https://bugs.launchpad.net/ubuntu/+source/x11-xserver-utils/+bug/792628
6412818534a1Smrg    
6413818534a1Smrg    Signed-off-by: Kees Cook <kees@outflux.net>
6414818534a1Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6415818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6416818534a1Smrg
6417818534a1Smrgcommit 24d3ee0d08f24e23c91d55702f010f73d7b908e5
6418818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6419818534a1SmrgDate:   Tue Jun 25 22:35:29 2013 +0200
6420818534a1Smrg
6421818534a1Smrg    Tighten out-of-range comparisons.
6422818534a1Smrg    
6423818534a1Smrg    [For all of these, LONG_MAX was the correct value to prevent overflows
6424818534a1Smrg     for the recent CVEs.   Lowering to INT_MAX catches buggy replies from
6425818534a1Smrg     the server that 32-bit clients would reject but 64-bit would accept,
6426818534a1Smrg     so we catch bugs sooner, and really, no sane & working server should
6427818534a1Smrg     ever report more than 2gb of extension names, font path entries,
6428818534a1Smrg     key modifier maps, etc.  -alan- ]
6429818534a1Smrg    
6430818534a1Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6431818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6432818534a1Smrg
6433818534a1Smrgcommit 6d926088d80a08e13e6d6c4ff207b81ad52e667f
6434818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6435818534a1SmrgDate:   Tue Jun 25 18:34:32 2013 +0200
6436818534a1Smrg
6437818534a1Smrg    Fix out-of-range comparison in _XF86BigfontQueryFont
6438818534a1Smrg    
6439818534a1Smrg    clang complained (correctly):
6440818534a1Smrg    warning: comparison of constant 768614336404564650 with expression
6441818534a1Smrg    of type 'CARD32' (aka 'unsigned int') is always true
6442818534a1Smrg    [-Wtautological-constant-out-of-range-compare]
6443818534a1Smrg    
6444818534a1Smrg    [While LONG_MAX is correct, since it's used in size_t math, the
6445818534a1Smrg     numbers have to be limited to 32-bit range to be usable by 32-bit
6446818534a1Smrg     clients, and values beyond that range are far more likely to be
6447818534a1Smrg     bugs in the data from the server than valid numbers of characters
6448818534a1Smrg     in a font.   -alan- ]
6449818534a1Smrg    
6450818534a1Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6451818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6452818534a1Smrg
6453818534a1Smrgcommit 383e2b0d029482a0f4c39fe00e15397538576fc1
6454818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6455818534a1SmrgDate:   Tue Jun 25 18:33:56 2013 +0200
6456818534a1Smrg
6457818534a1Smrg    Check for symbol existence with #ifdef, not #if
6458818534a1Smrg    
6459818534a1Smrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
6460818534a1Smrg    
6461818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6462818534a1Smrg
6463818534a1Smrgcommit 9955d1c8de994a90fe7f2e3187e7362611d7d265
6464818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6465818534a1SmrgDate:   Tue Jun 25 18:33:07 2013 +0200
6466818534a1Smrg
6467818534a1Smrg    Use newer callback-based API for XIM.
6468818534a1Smrg    
6469818534a1Smrg    Let libX11 load and make available the newer (X11R6) callback-based
6470818534a1Smrg    API for XIM (expected by emacs).
6471818534a1Smrg    
6472818534a1Smrg    This patch updates the files to match the other nls/ files.
6473818534a1Smrg    
6474818534a1Smrg    Patch from Ian D. Leroux <idleroux@fastmail.fm> on pkgsrc-users@NetBSD.org
6475818534a1Smrg    following a hint by Nhat Minh Lê <nhat.minh.le@gmail.com>.
6476818534a1Smrg    
6477818534a1Smrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
6478818534a1Smrg    
6479818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6480818534a1Smrg
6481818534a1Smrgcommit a17ceb7100bd36c2db210473ee701deb5d515731
6482818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6483818534a1SmrgDate:   Tue Jun 25 18:31:32 2013 +0200
6484818534a1Smrg
6485818534a1Smrg    Stop truncating source to destination length if it is larger.
6486818534a1Smrg    
6487818534a1Smrg    It seems useless to do that since the code tests for both source
6488818534a1Smrg    length and destination to be non-zero. This fixes a cut'n'paste
6489818534a1Smrg    problem in xterm where the paste length was limited to 1024 (BUFSIZ)
6490818534a1Smrg    in button.c.
6491818534a1Smrg    
6492818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6493818534a1Smrg
6494818534a1Smrgcommit a336db9a0add3ae0783dda6e52459236622a12af
6495818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6496818534a1SmrgDate:   Mon Jun 24 23:02:05 2013 -0700
6497818534a1Smrg
6498818534a1Smrg    Require ANSI C89 pre-processor, drop pre-C89 token pasting support
6499818534a1Smrg    
6500818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6501818534a1Smrg
6502818534a1Smrgcommit 9dfb0f3c0a761590bcdc1f3396b1e064da4e18e8
6503818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6504818534a1SmrgDate:   Fri Jun 7 11:30:11 2013 -0700
6505818534a1Smrg
6506818534a1Smrg    troff macro expansion in specs/libX11
6507818534a1Smrg    
6508818534a1Smrg    Many of the custom nroff macros (.ds <macro> <contents>) were left
6509818534a1Smrg    unsubstituted in the nroff->docbook conversion.   This substitution
6510818534a1Smrg    is now performed, via the following perl script:
6511818534a1Smrg    
6512818534a1Smrg    #! /usr/bin/perl -w -i
6513818534a1Smrg    
6514818534a1Smrg    use Text::Wrap;
6515818534a1Smrg    
6516818534a1Smrg    while ($_ = <>) {
6517818534a1Smrg        while ($_ =~ m/\((\w+)\b/g) {
6518818534a1Smrg            my $m = $1;
6519818534a1Smrg            if (exists $macro{$m}) {
6520818534a1Smrg                $_ =~ s/\($m/$macro{$m}/;
6521818534a1Smrg                $_ = wrap('', '', $_);
6522818534a1Smrg                $_ =~ s/[ \t]+$//;
6523818534a1Smrg            }
6524818534a1Smrg        }
6525818534a1Smrg    
6526818534a1Smrg        if ($_ =~ /\<!-- .ds (\w+) (.*) -->/) {
6527818534a1Smrg            my ($m, $s) = ($1, $2);
6528818534a1Smrg            $macro{$m} = $s;
6529818534a1Smrg            while ($macro{$m} =~ /\\\s*$/) {
6530818534a1Smrg                $macro{$m} =~ s/\\\s*$//ms;
6531818534a1Smrg                $macro{$m} .= <>;
6532818534a1Smrg                chomp($macro{$m});
6533818534a1Smrg            }
6534818534a1Smrg            $macro{$m} =~ s/\\ / /g;
6535818534a1Smrg        } else {
6536818534a1Smrg            print $_;
6537818534a1Smrg        }
6538818534a1Smrg    }
6539818534a1Smrg    
6540818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6541818534a1Smrg
6542818534a1Smrgcommit 20c17bd9ebf767a24643279e45866dddcb57b5ce
6543818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6544818534a1SmrgDate:   Fri Jun 7 09:27:26 2013 -0700
6545818534a1Smrg
6546818534a1Smrg    specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
6547818534a1Smrg    
6548818534a1Smrg    The XListPixmapFormats arguments was being shown with XImageByteOrder's
6549818534a1Smrg    name and return types.   Appears to have been a glitch in the nroff ->
6550818534a1Smrg    docbook conversion.
6551818534a1Smrg    
6552818534a1Smrg    Reported-by: ZHANG Zhaolong <zhangzl2013@126.com>
6553818534a1Smrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
6554818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6555818534a1Smrg
6556818534a1Smrgcommit ed3d830243c8a0eefaf24e15b11823272ffe5049
6557818534a1SmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6558818534a1SmrgDate:   Sun Jun 2 20:49:55 2013 +0200
6559818534a1Smrg
6560818534a1Smrg    Deal with the limited range of VAX floating point numbers when compiling for VAX.
6561818534a1Smrg    
6562818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6563818534a1Smrg
6564818534a1Smrgcommit 0a48235d63639fb917c44d27c86e928e79fbac66
6565818534a1SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
6566818534a1SmrgDate:   Thu Jun 6 16:43:56 2013 -0400
6567818534a1Smrg
6568818534a1Smrg    Remove call to undefined macro.
6569818534a1Smrg
6570818534a1Smrgcommit 9e4719b9b719f2f8d255f6778e2e8c1809e32599
6571818534a1SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
6572818534a1SmrgDate:   Thu Jun 6 16:42:20 2013 -0400
6573818534a1Smrg
6574818534a1Smrg    Remove call to undefined macro.
6575818534a1Smrg
6576818534a1Smrgcommit 8496122eb00ce6cd5d2308ee54f64b68c378e455
6577818534a1SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6578818534a1SmrgDate:   Mon Jun 3 20:06:43 2013 -0700
6579818534a1Smrg
6580818534a1Smrg    Update README to reflect where to find the Xlib specs now
6581818534a1Smrg    
6582818534a1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6583818534a1Smrg
6584e160ea6eSmrgcommit 655d631e86c95b14888758b27ed2836ca3e3ce86
6585e160ea6eSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6586e160ea6eSmrgDate:   Mon Jun 3 19:21:06 2013 -0700
6587e160ea6eSmrg
6588e160ea6eSmrg    libX11 1.6.0
6589e160ea6eSmrg    
6590e160ea6eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6591e160ea6eSmrg
6592e160ea6eSmrgcommit 4a89b7ea908554628f374537a79931c8006a2de3
6593e160ea6eSmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6594e160ea6eSmrgDate:   Sun Jun 2 11:49:54 2013 -0700
6595e160ea6eSmrg
6596e160ea6eSmrg    cmsMath.c: Add missing stdio header for printf(3) in DEBUG build.
6597e160ea6eSmrg    
6598e160ea6eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6599e160ea6eSmrg
6600e160ea6eSmrgcommit 96dcf747f13b26b8e4d17b1bc8605d933c3e1dc6
6601e160ea6eSmrgAuthor: Thomas Klausner <wiz@NetBSD.org>
6602e160ea6eSmrgDate:   Sun Jun 2 20:49:48 2013 +0200
6603e160ea6eSmrg
6604e160ea6eSmrg    XCreateGC man page: Avoid .TS H and .TH macros
6605e160ea6eSmrg    
6606e160ea6eSmrg    Avoid .TS H and .TH for now as it doesn't alter the output in this case,
6607e160ea6eSmrg    and improve the output with mandoc(1).
6608e160ea6eSmrg    
6609e160ea6eSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6610e160ea6eSmrg
6611eb411b4bSmrgcommit 95a388158c9d73df7d24016d6a3d61506d7d53a4
6612eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6613eb411b4bSmrgDate:   Thu May 23 19:43:35 2013 -0700
6614eb411b4bSmrg
6615eb411b4bSmrg    libX11 1.5.99.902 (1.6 RC2)
6616eb411b4bSmrg    
6617eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6618eb411b4bSmrg
6619eb411b4bSmrgcommit a3bdd2b090915fe0163b062f0e6576fe05dd332e
6620eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org>
6621eb411b4bSmrgDate:   Thu May 23 20:39:46 2013 +0200
6622eb411b4bSmrg
6623eb411b4bSmrg    xkb: fix off-by-one in _XkbReadGetNamesReply and _XkbReadVirtualModMap
6624eb411b4bSmrg    
6625eb411b4bSmrg    The size of the arrays is max_key_code + 1.  This makes these functions
6626eb411b4bSmrg    consistent with the other checks added for CVE-2013-1997.
6627eb411b4bSmrg    
6628eb411b4bSmrg    Also check the XkbGetNames reply when names->keys was just allocated.
6629eb411b4bSmrg    
6630eb411b4bSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
6631eb411b4bSmrg    Tested-by: Colin Walters <walters@verbum.org>
6632eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6633eb411b4bSmrg
6634eb411b4bSmrgcommit 7e30056e78e4b7979ff47f102e00327617266019
6635eb411b4bSmrgAuthor: Niveditha Rau <Niveditha.Rau@Oracle.COM>
6636eb411b4bSmrgDate:   Fri May 17 15:26:21 2013 -0700
6637eb411b4bSmrg
6638eb411b4bSmrg    Make sure internal headers include required headers
6639eb411b4bSmrg    
6640eb411b4bSmrg    Fixes builds with Solaris Studio 12.3 when lint is enabled, since it no
6641eb411b4bSmrg    longer ignores *.h files, but complains when they reference undefined
6642eb411b4bSmrg    typedefs or macros.
6643eb411b4bSmrg    
6644eb411b4bSmrg    Signed-off-by: Niveditha Rau <Niveditha.Rau@Oracle.COM>
6645eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6646eb411b4bSmrg
6647eb411b4bSmrgcommit 2820100bf8ba130b94253f415e7fa5ac28bb2037
6648eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6649eb411b4bSmrgDate:   Thu May 16 23:05:36 2013 -0700
6650eb411b4bSmrg
6651eb411b4bSmrg    Free fs->properties in _XF86BigfontQueryFont overflow error path
6652eb411b4bSmrg    
6653eb411b4bSmrg    Fixes small memory leak introduced in commit 5669a22081
6654eb411b4bSmrg    
6655eb411b4bSmrg    Reported-by: Julien Cristau <jcristau@debian.org>
6656eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6657eb411b4bSmrg
6658eb411b4bSmrgcommit 3131740513133a9ff7cb12123d29ceb18584fc38
6659eb411b4bSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
6660eb411b4bSmrgDate:   Wed May 8 19:33:09 2013 +0200
6661eb411b4bSmrg
6662eb411b4bSmrg    XListFontsWithInfo: Re-decrement flist[0] before calling free() on it.
6663eb411b4bSmrg    
6664eb411b4bSmrg    Freeing a pointer that wasn't returned by malloc() is undefined
6665eb411b4bSmrg    behavior and produces an error with OpenBSD's implementation.
6666eb411b4bSmrg    
6667eb411b4bSmrg    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6668eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6669eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6670eb411b4bSmrg
6671eb411b4bSmrgcommit 3fe4bea086149f06a142a8f1d575f627ec1e22c7
6672eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6673eb411b4bSmrgDate:   Fri Apr 19 14:30:40 2013 -0700
6674eb411b4bSmrg
6675eb411b4bSmrg    Give GNU & Solaris Studio compilers hints about XEatData branches
6676eb411b4bSmrg    
6677eb411b4bSmrg    Try to offset the cost of all the recent checks we've added by giving
6678eb411b4bSmrg    the compiler a hint that the branches that involve us eating data
6679eb411b4bSmrg    are less likely to be used than the ones that process it.
6680eb411b4bSmrg    
6681eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6682eb411b4bSmrg
6683eb411b4bSmrgcommit e1b457beb8d4e831ef44279dada6c475cb955738
6684eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6685eb411b4bSmrgDate:   Sun Mar 31 12:22:35 2013 -0700
6686eb411b4bSmrg
6687eb411b4bSmrg    _XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode
6688eb411b4bSmrg    
6689eb411b4bSmrg    Various other bounds checks in the code assume this is true, so
6690eb411b4bSmrg    enforce it when we first get the data from the X server.
6691eb411b4bSmrg    
6692eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6693eb411b4bSmrg
6694eb411b4bSmrgcommit 12ad4c6432496897ff000eb7cfecd0fb4b290331
6695eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6696eb411b4bSmrgDate:   Sat Mar 16 10:03:13 2013 -0700
6697eb411b4bSmrg
6698eb411b4bSmrg    Use calloc in XOpenDisplay to initialize structs containing pointers
6699eb411b4bSmrg    
6700eb411b4bSmrg    Prevents trying to free uninitialized pointers if we have to bail out
6701eb411b4bSmrg    partway through setup, such as if we receive a corrupted or incomplete
6702eb411b4bSmrg    connection setup block from the server.
6703eb411b4bSmrg    
6704eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6705eb411b4bSmrg
6706eb411b4bSmrgcommit d38527e25f8b6e2f1174ecc21260c5c5416f972e
6707eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6708eb411b4bSmrgDate:   Thu Mar 7 23:46:05 2013 -0800
6709eb411b4bSmrg
6710eb411b4bSmrg    Remove more unnecessary casts from Xmalloc/calloc calls
6711eb411b4bSmrg    
6712eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6713eb411b4bSmrg
6714eb411b4bSmrgcommit b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2
6715eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6716eb411b4bSmrgDate:   Sat Mar 2 16:56:16 2013 -0800
6717eb411b4bSmrg
6718eb411b4bSmrg    Convert more _XEatData callers to _XEatDataWords
6719eb411b4bSmrg    
6720eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6721eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6722eb411b4bSmrg
6723eb411b4bSmrgcommit 192bbb9e2fc45df4e17b35b6d14ea0eb418dbd39
6724eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6725eb411b4bSmrgDate:   Sat Mar 9 11:04:37 2013 -0800
6726eb411b4bSmrg
6727eb411b4bSmrg    Make XGetWindowProperty() always initialize returned values
6728eb411b4bSmrg    
6729eb411b4bSmrg    Avoids memory corruption and other errors when callers access them
6730eb411b4bSmrg    without checking to see if XGetWindowProperty() returned an error value.
6731eb411b4bSmrg    
6732eb411b4bSmrg    Callers are still required to check for errors, this just reduces the
6733eb411b4bSmrg    damage when they don't.
6734eb411b4bSmrg    
6735eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6736eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6737eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6738eb411b4bSmrg
6739eb411b4bSmrgcommit db1b1c871da29aa0545182bf888df81627f165a5
6740eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6741eb411b4bSmrgDate:   Sat Mar 2 15:08:21 2013 -0800
6742eb411b4bSmrg
6743eb411b4bSmrg    Avoid overflows in XListExtensions() [CVE-2013-1997 15/15]
6744eb411b4bSmrg    
6745eb411b4bSmrg    Ensure that when breaking the returned list into individual strings,
6746eb411b4bSmrg    we don't walk past the end of allocated memory to write the '\0' bytes
6747eb411b4bSmrg    
6748eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6749eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6750eb411b4bSmrg
6751eb411b4bSmrgcommit 8d5936594993921acdfec778dd8f41b555e2543a
6752eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6753eb411b4bSmrgDate:   Sat Mar 2 15:08:21 2013 -0800
6754eb411b4bSmrg
6755eb411b4bSmrg    Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15]
6756eb411b4bSmrg    
6757eb411b4bSmrg    Ensure that when breaking the returned list into individual strings,
6758eb411b4bSmrg    we don't walk past the end of allocated memory to write the '\0' bytes
6759eb411b4bSmrg    
6760eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6761eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6762eb411b4bSmrg
6763eb411b4bSmrgcommit 0c404db6a92dc2c198328bf586c02d8abbe02013
6764eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6765eb411b4bSmrgDate:   Sat Mar 2 15:08:21 2013 -0800
6766eb411b4bSmrg
6767eb411b4bSmrg    Avoid overflows in XListFonts() [CVE-2013-1997 13/15]
6768eb411b4bSmrg    
6769eb411b4bSmrg    Ensure that when breaking the returned list into individual strings,
6770eb411b4bSmrg    we don't walk past the end of allocated memory to write the '\0' bytes
6771eb411b4bSmrg    
6772eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6773eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6774eb411b4bSmrg
6775eb411b4bSmrgcommit 0b0f5d4358c3de7563d6af03f0d2ce454702a06a
6776eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6777eb411b4bSmrgDate:   Sat Mar 2 15:08:21 2013 -0800
6778eb411b4bSmrg
6779eb411b4bSmrg    integer overflow in XGetModifierMapping() [CVE-2013-1981 13/13]
6780eb411b4bSmrg    
6781eb411b4bSmrg    Ensure that we don't underallocate when the server claims a very large reply
6782eb411b4bSmrg    
6783eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6784eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6785eb411b4bSmrg
6786eb411b4bSmrgcommit a351b8103b2ba78882e1c309e85893ca3abe2073
6787eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6788eb411b4bSmrgDate:   Sat Mar 2 15:08:21 2013 -0800
6789eb411b4bSmrg
6790eb411b4bSmrg    integer overflow in XGetPointerMapping() & XGetKeyboardMapping() [CVE-2013-1981 12/13]
6791eb411b4bSmrg    
6792eb411b4bSmrg    Ensure that we don't underallocate when the server claims a very large reply
6793eb411b4bSmrg    
6794eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6795eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6796eb411b4bSmrg
6797eb411b4bSmrgcommit 833f6b70bc789d33607f6dbfee9e0a4178ec4b59
6798eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6799eb411b4bSmrgDate:   Sat Mar 2 15:08:21 2013 -0800
6800eb411b4bSmrg
6801eb411b4bSmrg    integer overflow in XGetImage() [CVE-2013-1981 11/13]
6802eb411b4bSmrg    
6803eb411b4bSmrg    Ensure that we don't underallocate when the server claims to have sent a
6804eb411b4bSmrg    very large reply.
6805eb411b4bSmrg    
6806eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6807eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6808eb411b4bSmrg
6809eb411b4bSmrgcommit 79d8dc08eb98842173ce239b9dd60df0e9e9ae72
6810eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6811eb411b4bSmrgDate:   Fri Mar 8 22:25:35 2013 -0800
6812eb411b4bSmrg
6813eb411b4bSmrg    integer overflow in XGetWindowProperty() [CVE-2013-1981 10/13]
6814eb411b4bSmrg    
6815eb411b4bSmrg    If the reported number of properties is too large, the calculations
6816eb411b4bSmrg    to allocate memory for them may overflow, leaving us returning less
6817eb411b4bSmrg    memory to the caller than implied by the value written to *nitems.
6818eb411b4bSmrg    
6819eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6820eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6821eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6822eb411b4bSmrg
6823eb411b4bSmrgcommit 164bf4dfe839b1cc75cdeee378a243d04a8200e4
6824eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6825eb411b4bSmrgDate:   Sat Mar 2 13:18:48 2013 -0800
6826eb411b4bSmrg
6827eb411b4bSmrg    integer overflows in TransFileName() [CVE-2013-1981 9/13]
6828eb411b4bSmrg    
6829eb411b4bSmrg    When trying to process file paths the tokens %H, %L, & %S are expanded
6830eb411b4bSmrg    to $HOME, the standard compose file path & the xlocaledir path.
6831eb411b4bSmrg    If enough of these tokens are repeated and values like $HOME are set to
6832eb411b4bSmrg    very large values, the calculation of the total string size required to
6833eb411b4bSmrg    hold the expanded path can overflow, resulting in allocating a smaller
6834eb411b4bSmrg    string than the amount of data we'll write to it.
6835eb411b4bSmrg    
6836eb411b4bSmrg    Simply restrict all of these values, and the total path size to PATH_MAX,
6837eb411b4bSmrg    because really, that's all you should need for a filename path.
6838eb411b4bSmrg    
6839eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6840eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6841eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6842eb411b4bSmrg
6843eb411b4bSmrgcommit 460e8a223b87d4fa0ea1e97823e998a770e0f2a2
6844eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6845eb411b4bSmrgDate:   Fri Mar 1 18:37:37 2013 -0800
6846eb411b4bSmrg
6847eb411b4bSmrg    integer truncation in _XimParseStringFile() [CVE-2013-1981 8/13]
6848eb411b4bSmrg    
6849eb411b4bSmrg    Called from _XimCreateDefaultTree() which uses getenv("XCOMPOSEFILE")
6850eb411b4bSmrg    to specify filename.
6851eb411b4bSmrg    
6852eb411b4bSmrg    If the size of off_t is larger than the size of unsigned long (as in
6853eb411b4bSmrg    32-bit builds with large file flags), a file larger than 4 gigs could
6854eb411b4bSmrg    have its size truncated, leading to data from that file being written
6855eb411b4bSmrg    past the end of the undersized buffer allocated for it.
6856eb411b4bSmrg    
6857eb411b4bSmrg    While configure.ac does not use AC_SYS_LARGEFILE to set large file mode,
6858eb411b4bSmrg    builders may have added the large file compilation flags to CFLAGS on
6859eb411b4bSmrg    their own.
6860eb411b4bSmrg    
6861eb411b4bSmrg    size is left limited to an int, because if your Xim file is
6862eb411b4bSmrg    larger than 2gb, you're doing it wrong.
6863eb411b4bSmrg    
6864eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6865eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6866eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6867eb411b4bSmrg
6868eb411b4bSmrgcommit 226622349a4b1e16064649d4444a34fb4be4f464
6869eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6870eb411b4bSmrgDate:   Sat Mar 2 12:39:58 2013 -0800
6871eb411b4bSmrg
6872eb411b4bSmrg    Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2]
6873eb411b4bSmrg    
6874eb411b4bSmrg    parseline() can call _XimParseStringFile() which can call parseline()
6875eb411b4bSmrg    which can call _XimParseStringFile() which can call parseline() ....
6876eb411b4bSmrg    eventually causing recursive stack overflow and crash.
6877eb411b4bSmrg    
6878eb411b4bSmrg    Limit is set to a include depth of 100 files, which should be enough
6879eb411b4bSmrg    for all known use cases, but could be adjusted later if necessary.
6880eb411b4bSmrg    
6881eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6882eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6883eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6884eb411b4bSmrg
6885eb411b4bSmrgcommit 236b603d235dc264d1c6250dca09c745458a9088
6886eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6887eb411b4bSmrgDate:   Sat Mar 2 12:01:39 2013 -0800
6888eb411b4bSmrg
6889eb411b4bSmrg    Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2]
6890eb411b4bSmrg    
6891eb411b4bSmrg    GetIncludeFile() can call GetDatabase() which can call GetIncludeFile()
6892eb411b4bSmrg    which can call GetDatabase() which can call GetIncludeFile() ....
6893eb411b4bSmrg    eventually causing recursive stack overflow and crash.
6894eb411b4bSmrg    
6895eb411b4bSmrg    Easily reproduced with a resource file that #includes itself.
6896eb411b4bSmrg    
6897eb411b4bSmrg    Limit is set to a include depth of 100 files, which should be enough
6898eb411b4bSmrg    for all known use cases, but could be adjusted later if necessary.
6899eb411b4bSmrg    
6900eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6901eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6902eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6903eb411b4bSmrg
6904eb411b4bSmrgcommit 076428918e6c35f66b9b55c3fa097ff06496d155
6905eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6906eb411b4bSmrgDate:   Fri Mar 1 18:37:37 2013 -0800
6907eb411b4bSmrg
6908eb411b4bSmrg    integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13]
6909eb411b4bSmrg    
6910eb411b4bSmrg    Called from XrmGetFileDatabase() which gets called from InitDefaults()
6911eb411b4bSmrg    which gets the filename from getenv ("XENVIRONMENT")
6912eb411b4bSmrg    
6913eb411b4bSmrg    If file is exactly 0xffffffff bytes long (or longer and truncates to
6914eb411b4bSmrg    0xffffffff, on implementations where off_t is larger than an int),
6915eb411b4bSmrg    then size may be set to a value which overflows causing less memory
6916eb411b4bSmrg    to be allocated than is written to by the following read() call.
6917eb411b4bSmrg    
6918eb411b4bSmrg    size is left limited to an int, because if your Xresources file is
6919eb411b4bSmrg    larger than 2gb, you're very definitely doing it wrong.
6920eb411b4bSmrg    
6921eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6922eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6923eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6924eb411b4bSmrg
6925eb411b4bSmrgcommit 90fd5abac2faca86f9f100353a3c9c7b89f31484
6926eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6927eb411b4bSmrgDate:   Sat Mar 2 11:44:19 2013 -0800
6928eb411b4bSmrg
6929eb411b4bSmrg    Integer overflows in stringSectionSize() cause buffer overflow in ReadColornameDB() [CVE-2013-1981 6/13]
6930eb411b4bSmrg    
6931eb411b4bSmrg    LoadColornameDB() calls stringSectionSize() to do a first pass over the
6932eb411b4bSmrg    file (which may be provided by the user via XCMSDB environment variable)
6933eb411b4bSmrg    to determine how much memory needs to be allocated to read in the file,
6934eb411b4bSmrg    then allocates the returned sizes and calls ReadColornameDB() to load the
6935eb411b4bSmrg    data from the file into that newly allocated memory.
6936eb411b4bSmrg    
6937eb411b4bSmrg    If stringSectionSize() overflows the signed ints used to calculate the
6938eb411b4bSmrg    file size (say if you have an xcmsdb with ~4 billion lines in or a
6939eb411b4bSmrg    combined string length of ~4 gig - which while it may have been
6940eb411b4bSmrg    inconceivable when Xlib was written, is quite possible today), then
6941eb411b4bSmrg    LoadColornameDB() may allocate a memory buffer much smaller than the
6942eb411b4bSmrg    amount of data ReadColornameDB() will write to it.
6943eb411b4bSmrg    
6944eb411b4bSmrg    The total size is left limited to an int, because if your xcmsdb file
6945eb411b4bSmrg    is larger than 2gb, you're doing it wrong.
6946eb411b4bSmrg    
6947eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6948eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6949eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6950eb411b4bSmrg
6951eb411b4bSmrgcommit b9ba832401734e1cbd30a930c0d11d850293f3f9
6952eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6953eb411b4bSmrgDate:   Sat Mar 2 11:25:25 2013 -0800
6954eb411b4bSmrg
6955eb411b4bSmrg    unvalidated length in _XimXGetReadData() [CVE-2013-1997 12/15]
6956eb411b4bSmrg    
6957eb411b4bSmrg    Check the provided buffer size against the amount of data we're going to
6958eb411b4bSmrg    write into it, not against the reported length from the ClientMessage.
6959eb411b4bSmrg    
6960eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6961eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6962eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6963eb411b4bSmrg
6964eb411b4bSmrgcommit de2e6c322c4aca22856b380f67f8e488e7510015
6965eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6966eb411b4bSmrgDate:   Sat Mar 2 11:11:08 2013 -0800
6967eb411b4bSmrg
6968eb411b4bSmrg    unvalidated index/length in _XkbReadGetNamesReply() [CVE-2013-1997 11/15]
6969eb411b4bSmrg    
6970eb411b4bSmrg    If the X server returns key name indexes outside the range of the number
6971eb411b4bSmrg    of keys it told us to allocate, out of bounds memory writes could occur.
6972eb411b4bSmrg    
6973eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6974eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6975eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6976eb411b4bSmrg
6977eb411b4bSmrgcommit 2df882eeb3a70256170127a746a9ba26376599a1
6978eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6979eb411b4bSmrgDate:   Sat Mar 2 11:01:04 2013 -0800
6980eb411b4bSmrg
6981eb411b4bSmrg    unvalidated index in _XkbReadVirtualModMap() [CVE-2013-1997 10/15]
6982eb411b4bSmrg    
6983eb411b4bSmrg    If the X server returns modifier map indexes outside the range of the number
6984eb411b4bSmrg    of keys it told us to allocate, out of bounds memory writes could occur.
6985eb411b4bSmrg    
6986eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
6987eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
6988eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
6989eb411b4bSmrg
6990eb411b4bSmrgcommit 4d7c422a37eb9617fb22f8e37527c2b34b105665
6991eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
6992eb411b4bSmrgDate:   Sat Mar 2 11:04:44 2013 -0800
6993eb411b4bSmrg
6994eb411b4bSmrg    unvalidated index in _XkbReadExplicitComponents() [CVE-2013-1997 9/15]
6995eb411b4bSmrg    
6996eb411b4bSmrg    If the X server returns key indexes outside the range of the number of
6997eb411b4bSmrg    keys it told us to allocate, out of bounds memory writes could occur.
6998eb411b4bSmrg    
6999eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7000eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7001eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7002eb411b4bSmrg
7003eb411b4bSmrgcommit e56a2ada719c5cfac5ed61a52a80ade86c0f5957
7004eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7005eb411b4bSmrgDate:   Sat Mar 2 10:51:51 2013 -0800
7006eb411b4bSmrg
7007eb411b4bSmrg    unvalidated index in _XkbReadModifierMap() [CVE-2013-1997 8/15]
7008eb411b4bSmrg    
7009eb411b4bSmrg    If the X server returns modifier map indexes outside the range of the number
7010eb411b4bSmrg    of keys it told us to allocate, out of bounds memory writes could occur.
7011eb411b4bSmrg    
7012eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7013eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7014eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7015eb411b4bSmrg
7016eb411b4bSmrgcommit 06c086e8a1d8374ea9a95ff989f053c96bb1bdca
7017eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7018eb411b4bSmrgDate:   Sat Mar 2 10:39:21 2013 -0800
7019eb411b4bSmrg
7020eb411b4bSmrg    unvalidated index in _XkbReadKeyBehaviors() [CVE-2013-1997 7/15]
7021eb411b4bSmrg    
7022eb411b4bSmrg    If the X server returns key behavior indexes outside the range of the number
7023eb411b4bSmrg    of keys it told us to allocate, out of bounds memory writes could occur.
7024eb411b4bSmrg    
7025eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7026eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7027eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7028eb411b4bSmrg
7029eb411b4bSmrgcommit 00626c3830b869259098985afa38933d77ccec72
7030eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7031eb411b4bSmrgDate:   Sat Mar 2 09:40:22 2013 -0800
7032eb411b4bSmrg
7033eb411b4bSmrg    unvalidated index in _XkbReadKeyActions() [CVE-2013-1997 6/15]
7034eb411b4bSmrg    
7035eb411b4bSmrg    If the X server returns key action indexes outside the range of the number
7036eb411b4bSmrg    of keys it told us to allocate, out of bounds memory access could occur.
7037eb411b4bSmrg    
7038eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7039eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7040eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7041eb411b4bSmrg
7042eb411b4bSmrgcommit fd7d4956bc7a1c4b5c38661b12777ebee4d685d9
7043eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7044eb411b4bSmrgDate:   Sat Mar 2 09:28:33 2013 -0800
7045eb411b4bSmrg
7046eb411b4bSmrg    unvalidated index in _XkbReadKeySyms() [CVE-2013-1997 5/15]
7047eb411b4bSmrg    
7048eb411b4bSmrg    If the X server returns keymap indexes outside the range of the number of
7049eb411b4bSmrg    keys it told us to allocate, out of bounds memory access could occur.
7050eb411b4bSmrg    
7051eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7052eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7053eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7054eb411b4bSmrg
7055eb411b4bSmrgcommit 59ae16a00d18588e98af57d26e442af8ea42b7aa
7056eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7057eb411b4bSmrgDate:   Sat Mar 2 09:18:26 2013 -0800
7058eb411b4bSmrg
7059eb411b4bSmrg    unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/15]
7060eb411b4bSmrg    
7061eb411b4bSmrg    If the X server returns color indexes outside the range of the number of
7062eb411b4bSmrg    colors it told us to allocate, out of bounds memory access could occur.
7063eb411b4bSmrg    
7064eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7065eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7066eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7067eb411b4bSmrg
7068eb411b4bSmrgcommit bff938b9fe1629cbacb726509edfa2a3840b7207
7069eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7070eb411b4bSmrgDate:   Sat Mar 2 09:12:47 2013 -0800
7071eb411b4bSmrg
7072eb411b4bSmrg    unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/15]
7073eb411b4bSmrg    
7074eb411b4bSmrg    If the X server returns shape indexes outside the range of the number
7075eb411b4bSmrg    of shapes it told us to allocate, out of bounds memory access could occur.
7076eb411b4bSmrg    
7077eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7078eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7079eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7080eb411b4bSmrg
7081eb411b4bSmrgcommit f293659d5a4024bda386305bb7ebeb4647c40934
7082eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7083eb411b4bSmrgDate:   Fri Mar 1 22:49:01 2013 -0800
7084eb411b4bSmrg
7085eb411b4bSmrg    unvalidated index in _XkbReadGetDeviceInfoReply() [CVE-2013-1997 2/15]
7086eb411b4bSmrg    
7087eb411b4bSmrg    If the X server returns more buttons than are allocated in the XKB
7088eb411b4bSmrg    device info structures, out of bounds writes could occur.
7089eb411b4bSmrg    
7090eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7091eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7092eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7093eb411b4bSmrg
7094eb411b4bSmrgcommit cddc4e7e3cb4b9b7ad25f8591971a86901c249f2
7095eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7096eb411b4bSmrgDate:   Fri Mar 1 19:30:09 2013 -0800
7097eb411b4bSmrg
7098eb411b4bSmrg    unvalidated lengths in XAllocColorCells() [CVE-2013-1997 1/15]
7099eb411b4bSmrg    
7100eb411b4bSmrg    If a broken server returned larger than requested values for nPixels or
7101eb411b4bSmrg    nMasks, XAllocColorCells would happily overflow the buffers provided by
7102eb411b4bSmrg    the caller to write the results into.
7103eb411b4bSmrg    
7104eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7105eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7106eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7107eb411b4bSmrg
7108eb411b4bSmrgcommit 2cd62b5eb99ffbb2fce99f3c459455e630b35bf7
7109eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7110eb411b4bSmrgDate:   Fri Mar 1 22:49:01 2013 -0800
7111eb411b4bSmrg
7112eb411b4bSmrg    integer overflow in XListHosts() [CVE-2013-1981 5/13]
7113eb411b4bSmrg    
7114eb411b4bSmrg    If the reported number of host entries is too large, the calculations
7115eb411b4bSmrg    to allocate memory for them may overflow, leaving us writing beyond the
7116eb411b4bSmrg    bounds of the allocation.
7117eb411b4bSmrg    
7118eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7119eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7120eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7121eb411b4bSmrg
7122eb411b4bSmrgcommit 1f6a3dbf699b85c0ea715ef21de7e7095a714e12
7123eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7124eb411b4bSmrgDate:   Fri Mar 1 22:49:01 2013 -0800
7125eb411b4bSmrg
7126eb411b4bSmrg    integer overflow in XGetMotionEvents() [CVE-2013-1981 4/13]
7127eb411b4bSmrg    
7128eb411b4bSmrg    If the reported number of motion events is too large, the calculations
7129eb411b4bSmrg    to allocate memory for them may overflow, leaving us writing beyond the
7130eb411b4bSmrg    bounds of the allocation.
7131eb411b4bSmrg    
7132eb411b4bSmrg    v2: Ensure nEvents is set to 0 when returning NULL events pointer
7133eb411b4bSmrg    
7134eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7135eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7136eb411b4bSmrg
7137eb411b4bSmrgcommit 39515b7c3ba8cae9021bf6695e378ae19487082f
7138eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7139eb411b4bSmrgDate:   Fri Mar 1 22:49:01 2013 -0800
7140eb411b4bSmrg
7141eb411b4bSmrg    integer overflow in XListFontsWithInfo() [CVE-2013-1981 3/13]
7142eb411b4bSmrg    
7143eb411b4bSmrg    If the reported number of remaining fonts is too large, the calculations
7144eb411b4bSmrg    to allocate memory for them may overflow, leaving us writing beyond the
7145eb411b4bSmrg    bounds of the allocation.
7146eb411b4bSmrg    
7147eb411b4bSmrg    v2: Fix reply_left calculations, check calculated sizes fit in reply_left
7148eb411b4bSmrg    v3: On error cases, also set values to be returned in pointer args to 0/NULL
7149eb411b4bSmrg    
7150eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7151eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7152eb411b4bSmrg
7153eb411b4bSmrgcommit 5669a220816b7d58fcaf0c302ead16fbe5c87817
7154eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7155eb411b4bSmrgDate:   Fri Mar 1 21:05:27 2013 -0800
7156eb411b4bSmrg
7157eb411b4bSmrg    integer overflow in _XF86BigfontQueryFont() [CVE-2013-1981 2/13]
7158eb411b4bSmrg    
7159eb411b4bSmrg    Similar to _XQueryFont, but with more ways to go wrong and overflow.
7160eb411b4bSmrg    Only compiled if libX11 is built with XF86BigFont support.
7161eb411b4bSmrg    
7162eb411b4bSmrg    v2: Fix reply_left calculations, check calculated sizes fit in reply_left
7163eb411b4bSmrg    
7164eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7165eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7166eb411b4bSmrg
7167eb411b4bSmrgcommit 6df8a63d34b7514077188e2062a13774f920c085
7168eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7169eb411b4bSmrgDate:   Fri Mar 1 21:05:27 2013 -0800
7170eb411b4bSmrg
7171eb411b4bSmrg    integer overflow in _XQueryFont() on 32-bit platforms [CVE-2013-1981 1/13]
7172eb411b4bSmrg    
7173eb411b4bSmrg    If the CARD32 reply.nCharInfos * sizeof(XCharStruct) overflows an
7174eb411b4bSmrg    unsigned long, then too small of a buffer will be allocated for the
7175eb411b4bSmrg    data copied in from the reply.
7176eb411b4bSmrg    
7177eb411b4bSmrg    v2: Fix reply_left calculations, check calculated sizes fit in reply_left
7178eb411b4bSmrg    
7179eb411b4bSmrg    Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
7180eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7181eb411b4bSmrg
7182eb411b4bSmrgcommit 9f5d83706543696fc944c1835a403938c06f2cc5
7183eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7184eb411b4bSmrgDate:   Fri Mar 1 20:54:24 2013 -0800
7185eb411b4bSmrg
7186eb411b4bSmrg    Add _XEatDataWords to discard a given number of 32-bit words of reply data
7187eb411b4bSmrg    
7188eb411b4bSmrg    Matches the units of the length field in X protocol replies, and provides
7189eb411b4bSmrg    a single implementation of overflow checking to avoid having to replicate
7190eb411b4bSmrg    those checks in every caller.
7191eb411b4bSmrg    
7192eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7193eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7194eb411b4bSmrg
7195eb411b4bSmrgcommit d7f04c340ade3834e603c23d543132e1ee4e0c63
7196eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7197eb411b4bSmrgDate:   Sat Mar 2 13:03:55 2013 -0800
7198eb411b4bSmrg
7199eb411b4bSmrg    Move repeated #ifdef magic to find PATH_MAX into a common header
7200eb411b4bSmrg    
7201eb411b4bSmrg    Lets stop duplicating the mess all over
7202eb411b4bSmrg    
7203eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7204eb411b4bSmrg    Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
7205eb411b4bSmrg
7206eb411b4bSmrgcommit f3a553a4e4a55d9d19deda1ea01883e1d5d682b1
7207eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
7208eb411b4bSmrgDate:   Tue May 7 18:38:14 2013 -0400
7209eb411b4bSmrg
7210eb411b4bSmrg    Add compose sequences for J́ and j́.
7211eb411b4bSmrg    
7212eb411b4bSmrg    The resulting sequences are:
7213eb411b4bSmrg    
7214eb411b4bSmrg      U+004A LATIN CAPITAL LETTER J  U+0301 COMBINING ACUTE ACCENT
7215eb411b4bSmrg      U+006A LATIN SMALL LETTER J    U+0301 COMBINING ACUTE ACCENT
7216eb411b4bSmrg    
7217eb411b4bSmrg    Used in Dutch, per:
7218eb411b4bSmrg    
7219eb411b4bSmrg      http://lists.x.org/archives/xorg-devel/2013-February/035514.html
7220eb411b4bSmrg      https://nl.wikipedia.org/wiki/Accenttekens_in_de_Nederlandse_spelling
7221eb411b4bSmrg    
7222eb411b4bSmrg    Signed-off-by: Pander <pander@users.sourceforge.net>
7223eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
7224eb411b4bSmrg
7225eb411b4bSmrgcommit f49bb2dd6d4ea45c55bd21acc0efe2b764441020
7226eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7227eb411b4bSmrgDate:   Sat Mar 16 18:30:56 2013 -0700
7228eb411b4bSmrg
7229eb411b4bSmrg    Move big request comment in XOpenDisplay to the right place
7230eb411b4bSmrg    
7231eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7232eb411b4bSmrg
7233eb411b4bSmrgcommit 3996543c1b2919e97d61a5d70fe1ebd7cd76fc83
7234eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7235eb411b4bSmrgDate:   Sat Mar 9 19:16:03 2013 -0800
7236eb411b4bSmrg
7237eb411b4bSmrg    libX11 1.5.99.901 (1.6 RC1)
7238eb411b4bSmrg    
7239eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7240eb411b4bSmrg
7241eb411b4bSmrgcommit f9cd175a471116a616e681fb0ca1a61b3d84a6a0
7242eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7243eb411b4bSmrgDate:   Fri Mar 8 22:33:28 2013 -0800
7244eb411b4bSmrg
7245eb411b4bSmrg    Fix very weird indenting in src/GetFProp.c
7246eb411b4bSmrg    
7247eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7248eb411b4bSmrg
7249eb411b4bSmrgcommit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c
7250eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7251eb411b4bSmrgDate:   Fri Mar 8 15:37:33 2013 -0800
7252eb411b4bSmrg
7253eb411b4bSmrg    XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL
7254eb411b4bSmrg    
7255eb411b4bSmrg    While the C standard technically allows for the compiler to translate
7256eb411b4bSmrg    pointer = 0 or pointer = NULL into something other than filling the
7257eb411b4bSmrg    pointer address with 0 bytes, the rest of the Xlib code already assumes
7258eb411b4bSmrg    that calloc initializes any pointers in the struct to NULL, and there
7259eb411b4bSmrg    are no known systems supported by X.Org where this is not true.
7260eb411b4bSmrg    
7261eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7262eb411b4bSmrg
7263eb411b4bSmrgcommit 39547d600a13713e15429f49768e54c3173c828d
7264eb411b4bSmrgAuthor: Karl Tomlinson <xmail@karlt.net>
7265eb411b4bSmrgDate:   Mon Feb 18 01:25:34 2013 +0000
7266eb411b4bSmrg
7267eb411b4bSmrg    MakeBigReq: don't move the last word, already handled by Data32
7268eb411b4bSmrg    
7269eb411b4bSmrg    MakeBigReq inserts a length field after the first 4 bytes of the request
7270eb411b4bSmrg    (after req->length), pushing everything else back by 4 bytes.
7271eb411b4bSmrg    
7272eb411b4bSmrg    The current memmove moves everything but the first 4 bytes back.
7273eb411b4bSmrg    If a request aligns to the end of the buffer pointer when MakeBigReq is
7274eb411b4bSmrg    invoked for that request, this runs over the buffer.
7275eb411b4bSmrg    Instead, we need to memmove minus the first 4 bytes (which aren't moved),
7276eb411b4bSmrg    minus the last 4 bytes (so we still align to the previous tail).
7277eb411b4bSmrg    
7278eb411b4bSmrg    The 4 bytes that fell out are already handled with Data32, which will
7279eb411b4bSmrg    handle the buffermax correctly.
7280eb411b4bSmrg    
7281eb411b4bSmrg    The case where req->length = 1 was already not functional.
7282eb411b4bSmrg    
7283eb411b4bSmrg    Reported by Abhishek Arya <inferno@chromium.org>.
7284eb411b4bSmrg    
7285eb411b4bSmrg    https://bugzilla.mozilla.org/show_bug.cgi?id=803762
7286eb411b4bSmrg    
7287eb411b4bSmrg    Reviewed-by: Jeff Muizelaar <jmuizelaar@mozilla.com>
7288eb411b4bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
7289eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7290eb411b4bSmrg
7291e9628295SmrgNotes:
7292e9628295Smrg    CVE-2013-7439
7293e9628295Smrg
7294eb411b4bSmrgcommit 3cdb6c3a1646f670afa03d424ec12ac418181d1e
7295eb411b4bSmrgAuthor: Quentin Glidic <sardemff7+git@sardemff7.net>
7296eb411b4bSmrgDate:   Tue Jan 15 21:07:17 2013 +0000
7297eb411b4bSmrg
7298eb411b4bSmrg    nls/Makefile.am: Use LOG_COMPILER
7299eb411b4bSmrg    
7300eb411b4bSmrg    TESTS_ENVIRONMENT is deprecated
7301eb411b4bSmrg    
7302eb411b4bSmrg    Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
7303eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7304eb411b4bSmrg
7305eb411b4bSmrgcommit df66d7a98e2bc7f44fb5583b645df87d525f07f1
7306eb411b4bSmrgAuthor: Quentin Glidic <sardemff7+git@sardemff7.net>
7307eb411b4bSmrgDate:   Tue Jan 15 21:07:16 2013 +0000
7308eb411b4bSmrg
7309eb411b4bSmrg    nls/Makefile.am: Remove unneeded $(srcdir)
7310eb411b4bSmrg    
7311eb411b4bSmrg    Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
7312eb411b4bSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
7313eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7314eb411b4bSmrg
7315eb411b4bSmrgcommit 3facbe5c0df1b5597571b7b00d5f7bdbc92fb278
7316eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7317eb411b4bSmrgDate:   Sat Mar 2 12:01:39 2013 -0800
7318eb411b4bSmrg
7319eb411b4bSmrg    Add <X11/Xresource.h> hint to all Xrm* man pages
7320eb411b4bSmrg    
7321eb411b4bSmrg    Help users figure out which header file they need to #include
7322eb411b4bSmrg    
7323eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7324eb411b4bSmrg
7325eb411b4bSmrgcommit 466404007f2c8f7166e4faddfea1454c5bfe1e9a
7326eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7327eb411b4bSmrgDate:   Fri Mar 8 17:13:09 2013 -0800
7328eb411b4bSmrg
7329eb411b4bSmrg    _xudc_code_to_glyph: check for NULL pointer *before* writing to it, not after
7330eb411b4bSmrg    
7331eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7332eb411b4bSmrg
7333eb411b4bSmrgcommit 47d2eff64d167b3245d346d7f38ca703be645e26
7334eb411b4bSmrgAuthor: Ken Moffat <ken@linuxfromscratch.org>
7335eb411b4bSmrgDate:   Thu Mar 7 18:27:54 2013 -0500
7336eb411b4bSmrg
7337eb411b4bSmrg    dead_double_grave and dead_inverted_breve should only have one underscore.
7338eb411b4bSmrg    
7339eb411b4bSmrg    Correct instances of dead_double_grave and dead_inverted_breve to
7340eb411b4bSmrg    dead_doublegrave and dead_invertedbreve.
7341eb411b4bSmrg    
7342eb411b4bSmrg    Signed-off-by: Ken Moffat <ken@linuxfromscratch.org>
7343eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
7344eb411b4bSmrg
7345eb411b4bSmrgcommit c23d61d1b84dca3740bf4786978c7908d0065fb9
7346eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7347eb411b4bSmrgDate:   Fri Mar 1 18:10:27 2013 -0800
7348eb411b4bSmrg
7349eb411b4bSmrg    Assume size_t is always available, since it was defined in C89
7350eb411b4bSmrg    
7351eb411b4bSmrg    Don't provide a fallback definition #ifdef X_NOT_POSIX anymore.
7352eb411b4bSmrg    We already use size_t throughout the rest of Xlib, just had this
7353eb411b4bSmrg    one instance left in XKBGAlloc.c of a fallback definition.
7354eb411b4bSmrg    
7355eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7356eb411b4bSmrg
7357eb411b4bSmrgcommit 9bcfd84aa1410387bc8cf002a5f90f44705aa0d1
7358eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7359eb411b4bSmrgDate:   Fri Mar 1 18:09:07 2013 -0800
7360eb411b4bSmrg
7361eb411b4bSmrg    unifdef XKB_IN_SERVER
7362eb411b4bSmrg    
7363eb411b4bSmrg    Leftovers from XKB files that were previously shared between the client
7364eb411b4bSmrg    and server code, but aren't any more.
7365eb411b4bSmrg    
7366eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7367eb411b4bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
7368eb411b4bSmrg
7369eb411b4bSmrgcommit 769a0efa2298040fe8316a89fc9e75fb61e288e5
7370eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7371eb411b4bSmrgDate:   Thu Feb 28 20:04:25 2013 -0800
7372eb411b4bSmrg
7373eb411b4bSmrg    unifdef CRAY & _CRAY
7374eb411b4bSmrg    
7375eb411b4bSmrg    (mostly performed with unifdef, followed by some manual cleanup of
7376eb411b4bSmrg     the remaining code)
7377eb411b4bSmrg    
7378eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7379eb411b4bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
7380eb411b4bSmrg
7381eb411b4bSmrgcommit ca106eb03e5f5468df8033300c5caae3d3c6936b
7382eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7383eb411b4bSmrgDate:   Thu Feb 28 20:04:25 2013 -0800
7384eb411b4bSmrg
7385eb411b4bSmrg    unifdef WORD64
7386eb411b4bSmrg    
7387eb411b4bSmrg    WORD64 seems to have only been defined in <X11/Xmd.h> when building for
7388eb411b4bSmrg    CRAY, to handle int being a 64-bit value (ILP64, not LP64) and having
7389eb411b4bSmrg    64-bit alignment requirements.
7390eb411b4bSmrg    
7391eb411b4bSmrg    It hadn't been fully supported even before autotooling, as can be
7392eb411b4bSmrg    seen by removed code such as:
7393eb411b4bSmrg    
7394eb411b4bSmrg     #ifdef WORD64
7395eb411b4bSmrg     _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8
7396eb411b4bSmrg     #endif
7397eb411b4bSmrg    
7398eb411b4bSmrg    (mostly performed with unifdef, followed by some manual cleanup of
7399eb411b4bSmrg     the remaining code)
7400eb411b4bSmrg    
7401eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7402eb411b4bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
7403eb411b4bSmrg
7404eb411b4bSmrgcommit 9399caf2c12cbe1ed56f4f6b368c5811cb5d0458
7405eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7406eb411b4bSmrgDate:   Thu Feb 28 20:04:25 2013 -0800
7407eb411b4bSmrg
7408eb411b4bSmrg    unifdef MUSTCOPY
7409eb411b4bSmrg    
7410eb411b4bSmrg    MUSTCOPY seems to have only been defined in <X11/Xmd.h> when building for
7411eb411b4bSmrg    CRAY, to handle missing some sizes of integer type.
7412eb411b4bSmrg    
7413eb411b4bSmrg    (mostly performed with unifdef, followed by some manual cleanup of
7414eb411b4bSmrg     spacing/indenting in the remaining code)
7415eb411b4bSmrg    
7416eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7417eb411b4bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
7418eb411b4bSmrg
7419eb411b4bSmrgcommit b687440c28c7da6ee0ae44514d20248db5161606
7420eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7421eb411b4bSmrgDate:   Sat Feb 16 10:42:23 2013 -0800
7422eb411b4bSmrg
7423eb411b4bSmrg    Convert more sprintf calls to snprintf
7424eb411b4bSmrg    
7425eb411b4bSmrg    You could analyze most of these and quickly recognize that there was no
7426eb411b4bSmrg    chance of buffer overflow already, but why make everyone spend time doing
7427eb411b4bSmrg    that when we can just make it obviously safe?
7428eb411b4bSmrg    
7429eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7430eb411b4bSmrg
7431eb411b4bSmrgcommit b092dabbd712d7b656abcf572d253b9b206c0237
7432eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7433eb411b4bSmrgDate:   Fri Feb 15 23:43:12 2013 -0800
7434eb411b4bSmrg
7435eb411b4bSmrg    XKeysymToString: move variable declarations to the scope of their usage
7436eb411b4bSmrg    
7437eb411b4bSmrg    Makes it easier for readers to understand scope of variable usage, and
7438eb411b4bSmrg    clears up gcc warning:
7439eb411b4bSmrg    
7440eb411b4bSmrg    KeysymStr.c: In function 'XKeysymToString':
7441eb411b4bSmrg    KeysymStr.c:128:13: warning: declaration of 'i' shadows a previous local [-Wshadow]
7442eb411b4bSmrg    KeysymStr.c:73:18: warning: shadowed declaration is here [-Wshadow]
7443eb411b4bSmrg    
7444eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7445eb411b4bSmrg
7446eb411b4bSmrgcommit f0b171c8ea7b055ba520272ea9a2604e18841ac7
7447eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7448eb411b4bSmrgDate:   Fri Feb 15 23:34:40 2013 -0800
7449eb411b4bSmrg
7450eb411b4bSmrg    Preserve constness in casting arguments through the Data*() routines
7451eb411b4bSmrg    
7452eb411b4bSmrg    Casts were annoying gcc by dropping constness when changing types,
7453eb411b4bSmrg    when routines simply either copy data into the request buffer or
7454eb411b4bSmrg    send it directly to the X server, and never modify the input.
7455eb411b4bSmrg    
7456eb411b4bSmrg    Fixes gcc warnings including:
7457eb411b4bSmrg    ChProp.c: In function 'XChangeProperty':
7458eb411b4bSmrg    ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7459eb411b4bSmrg    ChProp.c:65:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7460eb411b4bSmrg    ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7461eb411b4bSmrg    ChProp.c:74:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7462eb411b4bSmrg    ChProp.c:83:6: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7463eb411b4bSmrg    SetHints.c: In function 'XSetStandardProperties':
7464eb411b4bSmrg    SetHints.c:262:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7465eb411b4bSmrg    SetPntMap.c: In function 'XSetPointerMapping':
7466eb411b4bSmrg    SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7467eb411b4bSmrg    SetPntMap.c:46:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7468eb411b4bSmrg    StBytes.c: In function 'XStoreBuffer':
7469eb411b4bSmrg    StBytes.c:97:33: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7470eb411b4bSmrg    StName.c: In function 'XStoreName':
7471eb411b4bSmrg    StName.c:40:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7472eb411b4bSmrg    StName.c: In function 'XSetIconName':
7473eb411b4bSmrg    StName.c:51:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7474eb411b4bSmrg    
7475eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7476eb411b4bSmrg
7477eb411b4bSmrgcommit 6c558ee357292dd9dfc6d9006f4525f625327c52
7478eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7479eb411b4bSmrgDate:   Fri Feb 15 22:58:54 2013 -0800
7480eb411b4bSmrg
7481eb411b4bSmrg    Fix comment typo & confusing indentation levels in Data() macro definition
7482eb411b4bSmrg    
7483eb411b4bSmrg    The final } matches the one on the #define line, not one that doesn't
7484eb411b4bSmrg    appear after the else statement it was lined up with
7485eb411b4bSmrg    
7486eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7487eb411b4bSmrg
7488eb411b4bSmrgcommit afd6593da90e51234d59f8921c411317f91ab48b
7489eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7490eb411b4bSmrgDate:   Fri Feb 15 23:25:38 2013 -0800
7491eb411b4bSmrg
7492eb411b4bSmrg    XStringToKeysym: preserve constness when casting off unsignedness for strcmp
7493eb411b4bSmrg    
7494eb411b4bSmrg    Fixes gcc warning:
7495eb411b4bSmrg    StrKeysym.c:97:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7496eb411b4bSmrg    
7497eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7498eb411b4bSmrg
7499eb411b4bSmrgcommit 7e3bf4dd83fec22bd568146de75e6d59eff74e21
7500eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7501eb411b4bSmrgDate:   Fri Feb 15 23:14:40 2013 -0800
7502eb411b4bSmrg
7503eb411b4bSmrg    XRebindKeysym: Drop unnecessary const-removing cast
7504eb411b4bSmrg    
7505eb411b4bSmrg    C89 defines memcpy as taking a const void *, so casting from
7506eb411b4bSmrg    const unsigned char * to char * simply angers gcc for no benefit:
7507eb411b4bSmrg    
7508eb411b4bSmrg    KeyBind.c:1017:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7509eb411b4bSmrg    
7510eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7511eb411b4bSmrg
7512eb411b4bSmrgcommit 54527eab93d46055cf11eb6c18abb353a03ae544
7513eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7514eb411b4bSmrgDate:   Fri Feb 15 22:45:19 2013 -0800
7515eb411b4bSmrg
7516eb411b4bSmrg    cmsColNm.c: maintain constness of arguments to qsort helper function
7517eb411b4bSmrg    
7518eb411b4bSmrg    Fixes gcc warning:
7519eb411b4bSmrg    
7520eb411b4bSmrg    cmsColNm.c: In function 'FirstCmp':
7521eb411b4bSmrg    cmsColNm.c:257:20: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7522eb411b4bSmrg    cmsColNm.c:257:45: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual]
7523eb411b4bSmrg    
7524eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7525eb411b4bSmrg
7526eb411b4bSmrgcommit deedeada53676ee529d700bf96fde0b29a3a1def
7527eb411b4bSmrgAuthor: Nickolai Zeldovich <nickolai@csail.mit.edu>
7528eb411b4bSmrgDate:   Tue Jan 22 10:03:00 2013 -0500
7529eb411b4bSmrg
7530eb411b4bSmrg    XListFontsWithInfo: avoid accessing realloc'ed memory
7531eb411b4bSmrg    
7532eb411b4bSmrg    If exactly one of the two reallocs in XListFontsWithInfo() fails, the
7533eb411b4bSmrg    subsequent code accesses memory freed by the other realloc.
7534eb411b4bSmrg    
7535eb411b4bSmrg    Signed-off-by: Nickolai Zeldovich <nickolai@csail.mit.edu>
7536eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7537eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7538eb411b4bSmrg
7539eb411b4bSmrgcommit f57fd760cba92ad846917f21e94e73e9c846185f
7540eb411b4bSmrgAuthor: Colin Walters <walters@verbum.org>
7541eb411b4bSmrgDate:   Wed Jan 4 17:37:06 2012 -0500
7542eb411b4bSmrg
7543eb411b4bSmrg    autogen.sh: Implement GNOME Build API
7544eb411b4bSmrg    
7545eb411b4bSmrg    http://people.gnome.org/~walters/docs/build-api.txt
7546eb411b4bSmrg    
7547eb411b4bSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
7548eb411b4bSmrg
7549eb411b4bSmrgcommit 51c102d39e855cf1704d9eb3afba76a2e73c6b81
7550eb411b4bSmrgAuthor: Adam Jackson <ajax@redhat.com>
7551eb411b4bSmrgDate:   Tue Jan 15 14:28:48 2013 -0500
7552eb411b4bSmrg
7553eb411b4bSmrg    configure: Remove AM_MAINTAINER_MODE
7554eb411b4bSmrg    
7555eb411b4bSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
7556eb411b4bSmrg
7557eb411b4bSmrgcommit 3cd974b1d4d1fa6389d3695fa9fcc0c22a51d50c
7558eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7559eb411b4bSmrgDate:   Wed Dec 26 22:57:39 2012 -0800
7560eb411b4bSmrg
7561eb411b4bSmrg    Remove unused DECnet ("DNETCONN") code from Xlib
7562eb411b4bSmrg    
7563eb411b4bSmrg    Has never been converted to build in modular builds, so has been unusable
7564eb411b4bSmrg    since X11R7.0 release in 2005.  DNETCONN support was removed from xtrans
7565eb411b4bSmrg    back in 2008.
7566eb411b4bSmrg    
7567eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7568eb411b4bSmrg
7569eb411b4bSmrgcommit a6e5b36a3e6d4a7a9fb4bad905ed127e67b1957e
7570eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7571eb411b4bSmrgDate:   Wed Dec 26 22:56:38 2012 -0800
7572eb411b4bSmrg
7573eb411b4bSmrg    Remove unused TLI ("STREAMSCONN") code from Xlib
7574eb411b4bSmrg    
7575eb411b4bSmrg    Has never been converted to build in modular builds, so has been unusable
7576eb411b4bSmrg    since X11R7.0 release in 2005.  All known platforms with TLI/XTI support
7577eb411b4bSmrg    that X11R7 & later releases run on also have (and mostly prefer) BSD
7578eb411b4bSmrg    socket support for their networking API.
7579eb411b4bSmrg    
7580eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7581eb411b4bSmrg
7582eb411b4bSmrgcommit 59c9ee8cd58857c5769b643611cbe526005a9e45
7583eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7584eb411b4bSmrgDate:   Sun Dec 16 17:44:42 2012 -0800
7585eb411b4bSmrg
7586eb411b4bSmrg    Tell clang not to report -Wpadded warnings on public headers we can't fix
7587eb411b4bSmrg    
7588eb411b4bSmrg    Better to silence the compiler warning than break ABI.
7589eb411b4bSmrg    
7590eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7591eb411b4bSmrg
7592eb411b4bSmrgcommit 0b148750027fd0557c5ed93afda861ddf4b92e0f
7593eb411b4bSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk>
7594eb411b4bSmrgDate:   Mon Nov 12 17:27:52 2012 +0000
7595eb411b4bSmrg
7596eb411b4bSmrg    Fix config check for loadable modules
7597eb411b4bSmrg    
7598eb411b4bSmrg    The config check of the results of testing for dlfcn.h or dl.h just tests the
7599eb411b4bSmrg    value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking
7600eb411b4bSmrg    it is 'yes', so loadable module support would always be detected.
7601eb411b4bSmrg    
7602eb411b4bSmrg    This is necessary for successful compilation for the MinGW target without the
7603eb411b4bSmrg    optional dlfcn-win32 library.
7604eb411b4bSmrg    
7605eb411b4bSmrg    v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works
7606eb411b4bSmrg    correctly when dlfcn.h is available
7607eb411b4bSmrg    
7608eb411b4bSmrg    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
7609eb411b4bSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
7610eb411b4bSmrg
7611eb411b4bSmrgcommit cd25cab4b5b957641183ce72dd1ae0424aff1663
7612eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7613eb411b4bSmrgDate:   Fri May 20 18:27:02 2011 +0200
7614eb411b4bSmrg
7615eb411b4bSmrg    Install Xcms.txt in $(datadir) rather than $(libdir).
7616eb411b4bSmrg    
7617eb411b4bSmrg    This file is an architecture independent data and should be where
7618eb411b4bSmrg    other databases are.
7619eb411b4bSmrg    This is the Xlib provided sample file, applications are free to
7620eb411b4bSmrg    use a different one specifying its location in the XCMSDB env
7621eb411b4bSmrg    variable.
7622eb411b4bSmrg    
7623eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7624eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7625eb411b4bSmrg
7626eb411b4bSmrgcommit 51fef7e273b5c6256e4c9604e3e1afe5dc8f6a1a
7627eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7628eb411b4bSmrgDate:   Fri May 20 18:25:24 2011 +0200
7629eb411b4bSmrg
7630eb411b4bSmrg    Don't hard code path to Xcms.txt file.
7631eb411b4bSmrg    
7632eb411b4bSmrg    The path to this file is configurable at build time. The source
7633eb411b4bSmrg    however contains a hard coded path.
7634eb411b4bSmrg    
7635eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7636eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7637eb411b4bSmrg
7638eb411b4bSmrgcommit 9833489e6c3829a1e835bc0a11f028fc180809e4
7639eb411b4bSmrgAuthor: Colin Walters <walters@verbum.org>
7640eb411b4bSmrgDate:   Fri Dec 7 08:51:21 2012 -0500
7641eb411b4bSmrg
7642eb411b4bSmrg    Fix build after dropping locales
7643eb411b4bSmrg    
7644eb411b4bSmrg    They also needed to be removed from configure.ac
7645eb411b4bSmrg    
7646eb411b4bSmrg    Signed-off-by: Colin Walters <walters@verbum.org>
7647eb411b4bSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
7648eb411b4bSmrg
7649eb411b4bSmrgcommit 0a740a574aaf0c0eec78859b773a532cff3b74c3
7650eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7651eb411b4bSmrgDate:   Fri May 20 13:04:11 2011 +0200
7652eb411b4bSmrg
7653eb411b4bSmrg    i18n: Uppercased all occurances if 'iso8859' in the full locale name.
7654eb411b4bSmrg    
7655eb411b4bSmrg    Making all occurances of iso8859 upper case in the full local name
7656eb411b4bSmrg    makes the alias entries more consistent and match the entries on
7657eb411b4bSmrg    locale.dir.
7658eb411b4bSmrg    
7659eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7660eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7661eb411b4bSmrg
7662eb411b4bSmrgcommit 5e7d589697755a70fb22d85c6a1ae82b39843e53
7663eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7664eb411b4bSmrgDate:   Fri May 20 17:55:49 2011 +0200
7665eb411b4bSmrg
7666eb411b4bSmrg    i18n: Remove ja.S90 and ja.U90 locales.
7667eb411b4bSmrg    
7668eb411b4bSmrg    Both locales carry a copyright notice and a prorietary statement:
7669eb411b4bSmrg    
7670eb411b4bSmrg    Copyright 1995 by FUJITSU LIMITED
7671eb411b4bSmrg    This is source code modified by FUJITSU LIMITED under the Joint
7672eb411b4bSmrg    Development Agreement for the CDEnext PST.
7673eb411b4bSmrg    This is unpublished proprietary source code of FUJITSU LIMITED
7674eb411b4bSmrg    
7675eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7676eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7677eb411b4bSmrg
7678eb411b4bSmrgcommit 99eae3dcb7bf6764e3b243d2a2934a4d1ecce90e
7679eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7680eb411b4bSmrgDate:   Fri May 20 16:46:15 2011 +0200
7681eb411b4bSmrg
7682eb411b4bSmrg    i18n: Bring locale.dir and compose.dir in sync.
7683eb411b4bSmrg    
7684eb411b4bSmrg    Some entries for locale/encoding combinations were missing from
7685eb411b4bSmrg    either file or just misspelled, some entries were wrong or just
7686eb411b4bSmrg    aliases.
7687eb411b4bSmrg    
7688eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7689eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7690eb411b4bSmrg
7691eb411b4bSmrgcommit d1e6baa4e290b758e430077cb74e7c03ad850771
7692eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7693eb411b4bSmrgDate:   Fri May 20 14:02:39 2011 +0200
7694eb411b4bSmrg
7695eb411b4bSmrg    i18n: Treat 'a3_AZ' as an alias for 'az_AZ'.
7696eb411b4bSmrg    
7697eb411b4bSmrg    locale.alias contains a comment:
7698eb411b4bSmrg    XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3".
7699eb411b4bSmrg    Thus lets treat 'a3' as an alias for 'az'.
7700eb411b4bSmrg    
7701eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7702eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7703eb411b4bSmrg    Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net>
7704eb411b4bSmrg
7705eb411b4bSmrgcommit fa2aab0bea18efa26a56977d3166277582ab7b07
7706eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7707eb411b4bSmrgDate:   Fri May 20 13:09:38 2011 +0200
7708eb411b4bSmrg
7709eb411b4bSmrg    i18n: Fixed typos in full locale names.
7710eb411b4bSmrg    
7711eb411b4bSmrg    Fixing those typos those names actually match entries in
7712eb411b4bSmrg    locale.dir.
7713eb411b4bSmrg    
7714eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7715eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7716eb411b4bSmrg
7717eb411b4bSmrgcommit b88dd95005dce4c40f9b4d5f938f945e7955fd04
7718eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7719eb411b4bSmrgDate:   Sat May 21 07:29:38 2011 +0200
7720eb411b4bSmrg
7721eb411b4bSmrg    i18n: Remove duplicates and aliases to oneself.
7722eb411b4bSmrg    
7723eb411b4bSmrg    Aliases to itself don't make much sense.
7724eb411b4bSmrg    This changes occurances of:
772538ae11fcSmrg    xy_UV.UTF-8:                    xy_UV.UTF-8
7726eb411b4bSmrg    to
772738ae11fcSmrg    xy_UV:                  xy_UV.UTF-8
7728eb411b4bSmrg    where applicable.
7729eb411b4bSmrg    
7730eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7731eb411b4bSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
7732eb411b4bSmrg
7733eb411b4bSmrgcommit f198c6aa98f88ff285d903175a3c4c0fd33a4575
7734eb411b4bSmrgAuthor: Jens Herden <jens.herden@email.de>
7735eb411b4bSmrgDate:   Fri May 20 17:29:03 2011 +0200
7736eb411b4bSmrg
7737eb411b4bSmrg    i18n: Add support for Khmer locale and compose table.
7738eb411b4bSmrg    
7739eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7740eb411b4bSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
7741eb411b4bSmrg
7742eb411b4bSmrgcommit 40761898692e5063957bfa2518cca3d35b2e354a
7743eb411b4bSmrgAuthor: Kalman Kemenczy <kkemenczy@novell.com>
7744eb411b4bSmrgDate:   Fri May 20 17:03:24 2011 +0200
7745eb411b4bSmrg
7746eb411b4bSmrg    i18n: Add support for Serbian specific compose table entries.
7747eb411b4bSmrg    
7748eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7749eb411b4bSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
7750eb411b4bSmrg
7751eb411b4bSmrgcommit 7c14aacc9f01d7a975f8d9d033b9b13cbd777a61
7752eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7753eb411b4bSmrgDate:   Fri May 20 14:00:35 2011 +0200
7754eb411b4bSmrg
7755eb411b4bSmrg    i18n: Adding and removing comments.
7756eb411b4bSmrg    
7757eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7758eb411b4bSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
7759eb411b4bSmrg
7760eb411b4bSmrgcommit 7754d68976106183751243c2c35a84134be17b34
7761eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7762eb411b4bSmrgDate:   Fri May 20 13:45:31 2011 +0200
7763eb411b4bSmrg
7764eb411b4bSmrg    i18n: Add missing locales which existed in locale.alias.
7765eb411b4bSmrg    
7766eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7767eb411b4bSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
7768eb411b4bSmrg
7769eb411b4bSmrgcommit 952eccd0d25ba66023acfd31873eee2e71c38c42
7770eb411b4bSmrgAuthor: Egbert Eich <eich@freedesktop.org>
7771eb411b4bSmrgDate:   Fri May 20 10:57:57 2011 +0200
7772eb411b4bSmrg
7773eb411b4bSmrg    i18n: Consolidate compose handling for locales with UTF-8 encoding.
7774eb411b4bSmrg    
7775eb411b4bSmrg    - add an entry to include the default en_US compose file
7776eb411b4bSmrg      for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales.
7777eb411b4bSmrg    - add missing entries for zh_CN. and zh_HK and am_ET.
7778eb411b4bSmrg    - change entries for the UTF-8 encoding for ru_RU, ja_JP,
7779eb411b4bSmrg      ko_KR, th_TH and zh_TW to point to their native directory
7780eb411b4bSmrg      entries.
7781eb411b4bSmrg    
7782eb411b4bSmrg    Signed-off-by: Egbert Eich <eich@freedesktop.org>
7783eb411b4bSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
7784eb411b4bSmrg
7785eb411b4bSmrgcommit d14b6a250f004fa405179db7020f6953001d17b9
7786eb411b4bSmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
7787eb411b4bSmrgDate:   Mon Oct 22 13:54:11 2012 -0500
7788eb411b4bSmrg
7789eb411b4bSmrg    XIM: remove Private and Public macros
7790eb411b4bSmrg    
7791eb411b4bSmrg    Private is a struct member name in mingw-w64 <winioctl.h>, causing this
7792eb411b4bSmrg    useless define in a private header to break the build.
7793eb411b4bSmrg    
7794eb411b4bSmrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
7795eb411b4bSmrg    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
7796eb411b4bSmrg
7797eb411b4bSmrgcommit f2a8def423a46d52e834cf7ea49fa0079427663a
7798eb411b4bSmrgAuthor: Adam Jackson <ajax@redhat.com>
7799eb411b4bSmrgDate:   Wed Oct 17 14:40:43 2012 -0400
7800eb411b4bSmrg
7801eb411b4bSmrg    XErrorDB: Add GLXBadProfileARB
7802eb411b4bSmrg    
7803eb411b4bSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
7804eb411b4bSmrg
7805eb411b4bSmrgcommit d45b3fc19fbe95c41afc4e51d768df6d42332010
7806eb411b4bSmrgAuthor: Ross Burton <ross.burton@intel.com>
7807eb411b4bSmrgDate:   Wed Sep 12 14:39:40 2012 +0100
7808eb411b4bSmrg
7809eb411b4bSmrg    Allow overriding location of keysymdef.h
7810eb411b4bSmrg    
7811eb411b4bSmrg    Currently keysymdef.h is found by using the includedir of xproto.  This doesn't
7812eb411b4bSmrg    work when cross-compiling with a sysroot as that ends up being /usr/include/X11,
7813eb411b4bSmrg    not a path into the cross-build environment.
7814eb411b4bSmrg    
7815eb411b4bSmrg    So, add an option to allow explicitly specifying the location of keysymdef.h,
7816eb411b4bSmrg    and verify that the specified or found path exists.
7817eb411b4bSmrg    
7818eb411b4bSmrg    (original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself)
7819eb411b4bSmrg    
7820eb411b4bSmrg    Signed-off-by: Ross Burton <ross.burton@intel.com>
7821eb411b4bSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
7822eb411b4bSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
7823eb411b4bSmrg
7824eb411b4bSmrgcommit 44cdc0dc2c68d67654023ec707b807145d3a38c0
7825eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7826eb411b4bSmrgDate:   Thu Aug 23 19:15:07 2012 -0400
7827eb411b4bSmrg
7828eb411b4bSmrg    Renove some unnecessary low-level markup.
7829eb411b4bSmrg    
7830eb411b4bSmrg    Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter.
7831eb411b4bSmrg    This appears to have been somebody's thinko, it's only in a few of the files.
7832eb411b4bSmrg    
7833eb411b4bSmrg    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
7834eb411b4bSmrg
7835eb411b4bSmrgcommit b686600ab5ca93b5750f827786e79c329ab2db4d
7836eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7837eb411b4bSmrgDate:   Thu Aug 23 10:53:33 2012 -0400
7838eb411b4bSmrg
7839eb411b4bSmrg    The .NT/.NE macro pair is no longer used.  Remove it.
7840eb411b4bSmrg    
7841eb411b4bSmrg    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
7842eb411b4bSmrg
7843eb411b4bSmrgcommit b83f2898528c5dd683acd2a2143879a760a8dad5
7844eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7845eb411b4bSmrgDate:   Thu Aug 23 10:42:46 2012 -0400
7846eb411b4bSmrg
7847eb411b4bSmrg    Remove the one and only use of the .NT/.NE pair.
7848eb411b4bSmrg    
7849eb411b4bSmrg    The problem with these macros is that they rely on being able to
7850eb411b4bSmrg    center the note label.  That doesn't play well with modern HTML,
7851eb411b4bSmrg    not anyway without coomplications like CSS.  This use was just a cute
7852eb411b4bSmrg    trick, not adding enough value to be kept.
7853eb411b4bSmrg
7854eb411b4bSmrgcommit e9509fa6745d25eee01ec6f1c34edf8a806d66b3
7855eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7856eb411b4bSmrgDate:   Thu Aug 23 10:23:45 2012 -0400
7857eb411b4bSmrg
7858eb411b4bSmrg    The .C{ and .C} macros are never used.  Remove them.
7859eb411b4bSmrg    
7860eb411b4bSmrg    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
7861eb411b4bSmrg
7862eb411b4bSmrgcommit 6b2f7ddeea6c87dbec4ddfc19b1fed33f1bb8575
7863eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7864eb411b4bSmrgDate:   Thu Aug 23 10:08:08 2012 -0400
7865eb411b4bSmrg
7866eb411b4bSmrg    The .FN macro, paired with .FD, is also never used. Remove it.
7867eb411b4bSmrg    
7868eb411b4bSmrg    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
7869eb411b4bSmrg
7870eb411b4bSmrgcommit cac6572701c976542da562b2b277b07ffb892a6f
7871eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7872eb411b4bSmrgDate:   Thu Aug 23 10:03:00 2012 -0400
7873eb411b4bSmrg
7874eb411b4bSmrg    The ".FD" macro is never used.  Remove it.
7875eb411b4bSmrg    
7876eb411b4bSmrg    It was a temptation to presentation-level klugery and is best gone.
7877eb411b4bSmrg    
7878eb411b4bSmrg    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
7879eb411b4bSmrg
7880eb411b4bSmrgcommit 6e27a828f39f7028bc7f4a8736e7262fca250632
7881eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7882eb411b4bSmrgDate:   Thu Aug 23 09:54:25 2012 -0400
7883eb411b4bSmrg
7884eb411b4bSmrg    Clean up, my last commit missed four cases.
7885eb411b4bSmrg    
7886eb411b4bSmrg    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
7887eb411b4bSmrg
7888eb411b4bSmrgcommit a7fb575957ff4d9dd3671994a005ac3be8bb10fe
7889eb411b4bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
7890eb411b4bSmrgDate:   Thu Aug 23 08:24:17 2012 -0400
7891eb411b4bSmrg
7892eb411b4bSmrg    Eliminate all uses of tab stops in the libX11 man pages.
7893eb411b4bSmrg    
7894eb411b4bSmrg    Two steps: First, expand tabs to 8 spaces in code and structure
7895eb411b4bSmrg    listings.  Second, make the .Ds used to wrap code listings switch to
7896eb411b4bSmrg    constant-width font (CW) rather than numeric font position 1, which
7897eb411b4bSmrg    maps to R on most systems.
7898eb411b4bSmrg    
7899eb411b4bSmrg    It is possible some archaic systems won't know what CW is, but the
7900eb411b4bSmrg    only risk is that code listings won't look quite right on troff
7901eb411b4bSmrg    devices; the PostScript and DVI drivers definitely grok it, so those
7902eb411b4bSmrg    important cases are OK.
7903eb411b4bSmrg    
7904eb411b4bSmrg    The purpose of these changes is to get rid of presentation-level
7905eb411b4bSmrg    markup so these pages will lift clean to DocBook.
7906eb411b4bSmrg    
7907eb411b4bSmrg    Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
7908eb411b4bSmrg
7909eb411b4bSmrgcommit 8042f88ace33573f9d0dfaa21ed54ac7cef266d5
7910eb411b4bSmrgAuthor: Will Thompson <will@willthompson.co.uk>
7911eb411b4bSmrgDate:   Mon Jul 9 18:00:27 2012 +0100
7912eb411b4bSmrg
7913eb411b4bSmrg    Add compose sequences for "therefore" and "because".
7914eb411b4bSmrg    
7915eb411b4bSmrg    These sequences look sensible to me. I added them to the APL-related
7916eb411b4bSmrg    section of Mathematical Operators—they're in that section of Unicode
7917eb411b4bSmrg    anyway.
7918eb411b4bSmrg    
7919eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=51922
7920eb411b4bSmrg    
7921eb411b4bSmrg    Signed-off-by: Will Thompson <will@willthompson.co.uk>
7922eb411b4bSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
7923eb411b4bSmrg
7924eb411b4bSmrgcommit 65358ea5079236b2508f787ac2fb2024a477e36d
7925eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7926eb411b4bSmrgDate:   Fri Jun 29 23:08:04 2012 -0700
7927eb411b4bSmrg
7928eb411b4bSmrg    Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers
7929eb411b4bSmrg    
7930eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7931eb411b4bSmrg
7932eb411b4bSmrgcommit 0dc93f7e43deb102b1f8fb7c4c4844cdce7ffd1e
7933eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7934eb411b4bSmrgDate:   Fri Jun 29 22:57:13 2012 -0700
7935eb411b4bSmrg
7936eb411b4bSmrg    XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails
7937eb411b4bSmrg    
7938eb411b4bSmrg    Fixes leaks in error paths found by Parfait 1.0.0:
7939eb411b4bSmrg    
7940eb411b4bSmrg    Error: X Resource Leak
7941eb411b4bSmrg       Leaked X Resource pix
7942eb411b4bSmrg            at line 62 of CrBFData.c in function 'XCreateBitmapFromData'.
7943eb411b4bSmrg              pix initialized at line 60 with XCreatePixmap
7944eb411b4bSmrg    Error: X Resource Leak
7945eb411b4bSmrg       Leaked X Resource pix
7946eb411b4bSmrg            at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'.
7947eb411b4bSmrg              pix initialized at line 66 with XCreatePixmap
7948eb411b4bSmrg    
7949eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7950eb411b4bSmrg    Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
7951eb411b4bSmrg
7952eb411b4bSmrgcommit dce84b8c39ad5a8908c29bb6de25b6c3004c1ab7
7953eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7954eb411b4bSmrgDate:   Wed Jun 6 13:31:16 2012 -0700
7955eb411b4bSmrg
7956eb411b4bSmrg    libX11 spec: Correct prototype for XConvertSelection
7957eb411b4bSmrg    
7958eb411b4bSmrg    selection & target parameters were accidentally run together
7959eb411b4bSmrg    
7960eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7961eb411b4bSmrg
7962eb411b4bSmrgcommit 6c5cb2a90a6479f56855e5167039c37c234cdfe7
7963eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7964eb411b4bSmrgDate:   Fri Jun 1 23:37:09 2012 -0700
7965eb411b4bSmrg
7966eb411b4bSmrg    libX11 1.5.0
7967eb411b4bSmrg    
7968eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7969eb411b4bSmrg
7970eb411b4bSmrgcommit 05c587ec3be880721131a17c1dd4366e458fdd8b
7971eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
7972eb411b4bSmrgDate:   Sat May 26 14:37:28 2012 -0700
7973eb411b4bSmrg
7974eb411b4bSmrg    libX11 1.4.99.902 (1.5 RC2)
7975eb411b4bSmrg    
7976eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7977eb411b4bSmrg
7978eb411b4bSmrgcommit d817834d9772e3500d5102e2eae868b04a33c31f
7979eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
7980eb411b4bSmrgDate:   Sat May 5 19:02:10 2012 +0200
7981eb411b4bSmrg
7982eb411b4bSmrg    Compose: Reassigned squences with minus and a or o
7983eb411b4bSmrg    
7984eb411b4bSmrg    Reassigned squences with minus and a or o (vice versa and lower and
7985eb411b4bSmrg    upper case) to conform existing series and not resulting in tilde.
7986eb411b4bSmrg    Also added noe missing underscore sequence.
7987eb411b4bSmrg    
7988eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7989eb411b4bSmrg
7990eb411b4bSmrgcommit 6bfd1dca6e7cb2046ee6bf9dbbddc0af5ef7cc00
7991eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
7992eb411b4bSmrgDate:   Sat May 5 16:56:05 2012 +0200
7993eb411b4bSmrg
7994eb411b4bSmrg    Compose: Removed <slash> <U> and vice versa
7995eb411b4bSmrg    
7996eb411b4bSmrg    Combination with lower case u suffices
7997eb411b4bSmrg    
7998eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
7999eb411b4bSmrg
8000eb411b4bSmrgcommit 3a8b1637132d1e36eb5e11f52dfb284081772d14
8001eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
8002eb411b4bSmrgDate:   Sat May 5 16:44:31 2012 +0200
8003eb411b4bSmrg
8004eb411b4bSmrg    Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case
8005eb411b4bSmrg    
8006eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8007eb411b4bSmrg
8008eb411b4bSmrgcommit fd514d7a35119dd4413b51c84f2a536f2ca501a6
8009eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
8010eb411b4bSmrgDate:   Sat May 5 16:40:20 2012 +0200
8011eb411b4bSmrg
8012eb411b4bSmrg    Compose: Removed <S> in combination with a numeral for superscript
8013eb411b4bSmrg    
8014eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8015eb411b4bSmrg
8016eb411b4bSmrgcommit 1b5cad3ca54410c4edbca79c23c463e9e088bc0d
8017eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
8018eb411b4bSmrgDate:   Sat May 5 16:28:01 2012 +0200
8019eb411b4bSmrg
8020eb411b4bSmrg    Compose: Reassigned <o> <apostrophe> to oacute, also for upper case.
8021eb411b4bSmrg    
8022eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8023eb411b4bSmrg
8024eb411b4bSmrgcommit 0bbc0d5e605e2a4a3eb00a229b651d4546e8aef4
8025eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com>
8026eb411b4bSmrgDate:   Thu May 10 12:27:28 2012 -0400
8027eb411b4bSmrg
8028eb411b4bSmrg    Remove duplicate compose sequences from commit e51e37c118ae.
8029eb411b4bSmrg    
8030eb411b4bSmrg    The compose-check script only handles compiled Compose files, not
8031eb411b4bSmrg    the Compose.pre files.  One must remember to use:
8032eb411b4bSmrg    
8033eb411b4bSmrg        ./autogen.sh; make; make check
8034eb411b4bSmrg    
8035eb411b4bSmrg    when reviewing patches to the Compose.pre files....
8036eb411b4bSmrg    
8037eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8038eb411b4bSmrg
8039eb411b4bSmrgcommit e51e37c118ae6cb9ced8244ce1c410677e0279ce
8040eb411b4bSmrgAuthor: Geoff Streeter <geoff@dyalog.com>
8041eb411b4bSmrgDate:   Thu Mar 22 15:02:00 2012 +0000
8042eb411b4bSmrg
8043eb411b4bSmrg    Add APL support to compose
8044eb411b4bSmrg    
8045eb411b4bSmrg    Signed-off-by: Geoff Streeter <geoff@dyalog.com>
8046eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8047eb411b4bSmrg
8048eb411b4bSmrgcommit dac90324cee224df977a428afe80d960dceca769
8049eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org>
8050eb411b4bSmrgDate:   Sat May 5 16:05:07 2012 +0200
8051eb411b4bSmrg
8052eb411b4bSmrg    configure: make previous change work with older autoconf
8053eb411b4bSmrg    
8054eb411b4bSmrg    autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC.  So do
8055eb411b4bSmrg    the tests separately.
8056eb411b4bSmrg    
8057eb411b4bSmrg    Reported-by: Dave Airlie
8058eb411b4bSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
8059eb411b4bSmrg
8060eb411b4bSmrgcommit f5b50af4324186962e258ffe9be78d5ee4681982
8061eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org>
8062eb411b4bSmrgDate:   Sun Apr 29 16:43:09 2012 +0200
8063eb411b4bSmrg
8064eb411b4bSmrg    configure: check if issetugid is declared
8065eb411b4bSmrg    
8066eb411b4bSmrg    GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't
8067eb411b4bSmrg    declare it anywhere, causing gcc to error out with
8068eb411b4bSmrg    -Werror=implicit-function-declaration.  Use AC_CHECK_DECL in addition to
8069eb411b4bSmrg    AC_CHECK_FUNC so we disable this code instead of failing to build it.
8070eb411b4bSmrg    
8071eb411b4bSmrg    Debian bug#669670 <http://bugs.debian.org/669670>
8072eb411b4bSmrg    
8073eb411b4bSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
8074eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8075eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8076eb411b4bSmrg
8077eb411b4bSmrgcommit 52e1b5cc3b6de76ccf4285b55652474a522ed9a8
8078eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
8079eb411b4bSmrgDate:   Mon Apr 30 16:36:47 2012 +1000
8080eb411b4bSmrg
8081eb411b4bSmrg    Typo fix
8082eb411b4bSmrg    
8083eb411b4bSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8084eb411b4bSmrg
8085eb411b4bSmrgcommit b64969f0e510d5d3300cf968741a3726a6409577
8086eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8087eb411b4bSmrgDate:   Tue Apr 17 18:12:02 2012 -0700
8088eb411b4bSmrg
8089eb411b4bSmrg    Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion
8090eb411b4bSmrg    
8091eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8092eb411b4bSmrg
8093eb411b4bSmrgcommit 9ea611696f317ac3b3fb67893f1d6d87d49e3b5e
8094eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8095eb411b4bSmrgDate:   Tue Apr 17 18:01:36 2012 -0700
8096eb411b4bSmrg
8097eb411b4bSmrg    Add olinks from libX11 & localedb specs to ICCCM spec
8098eb411b4bSmrg    
8099eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8100eb411b4bSmrg
8101eb411b4bSmrgcommit b3c1b8cdab7d14220426c9b997ac362dc16318fc
8102eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8103eb411b4bSmrgDate:   Tue Apr 17 17:49:44 2012 -0700
8104eb411b4bSmrg
8105eb411b4bSmrg    Add olinks from libX11 spec to ICCCM spec
8106eb411b4bSmrg    
8107eb411b4bSmrg    Also convert ICCCM title mentions from <emphasis> to <citetitle>
8108eb411b4bSmrg    
8109eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8110eb411b4bSmrg
8111eb411b4bSmrgcommit ebebb65e753007ad01966dccc90bd6ca9a826488
8112eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8113eb411b4bSmrgDate:   Sat Apr 14 23:40:01 2012 -0700
8114eb411b4bSmrg
8115eb411b4bSmrg    libX11 AppC: Fix section headers that didn't translate from nroff properly
8116eb411b4bSmrg    
8117eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8118eb411b4bSmrg    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
8119eb411b4bSmrg
8120eb411b4bSmrgcommit d5ab4ae0e74ae1fb30fb72add0751effe2759bf2
8121eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8122eb411b4bSmrgDate:   Sat Apr 14 23:13:05 2012 -0700
8123eb411b4bSmrg
8124eb411b4bSmrg    Add olinks from libX11 spec to x11protocol spec
8125eb411b4bSmrg    
8126eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8127eb411b4bSmrg    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
8128eb411b4bSmrg
8129eb411b4bSmrgcommit 83878a0e34fffd255597300dd3e6cd43fcd645b0
8130eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8131eb411b4bSmrgDate:   Sat Apr 14 22:28:53 2012 -0700
8132eb411b4bSmrg
8133eb411b4bSmrg    libX11 spec: Remove .br nroff macro left behind in XGetWindowProperty prototype
8134eb411b4bSmrg    
8135eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8136eb411b4bSmrg
8137eb411b4bSmrgcommit abc523fce31fcf2687229697a8eb656e343ecb0c
8138eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8139eb411b4bSmrgDate:   Thu Mar 15 22:14:45 2012 -0700
8140eb411b4bSmrg
8141eb411b4bSmrg    libX11 1.4.99.901 (1.5 RC1)
8142eb411b4bSmrg    
8143eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8144eb411b4bSmrg
8145eb411b4bSmrgcommit b2cc5905a4a6d519957223e8ba2caef71520040c
8146eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8147eb411b4bSmrgDate:   Thu Mar 15 22:03:21 2012 -0700
8148eb411b4bSmrg
8149eb411b4bSmrg    Remove "register" qualifier that annoys Solaris Studio compiler
8150eb411b4bSmrg    
8151eb411b4bSmrg    Fixes warning:
8152eb411b4bSmrg    "Xrm.c", line 1094: warning: storage class after type is obsolescent
8153eb411b4bSmrg    
8154eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8155eb411b4bSmrg
8156eb411b4bSmrgcommit 62d42953893f93a98db0504eaf06d650ceaf5811
8157eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com>
8158eb411b4bSmrgDate:   Wed Mar 14 17:25:46 2012 -0400
8159eb411b4bSmrg
8160eb411b4bSmrg    Fix the gtk+ additions
8161eb411b4bSmrg    
8162eb411b4bSmrg    (Some of) the Dstroke and dstroke entries already were present as U011[01],
8163eb411b4bSmrg    even though XK_Dstroke and XK_dstroke are part of the latin2 set in keysymdef.h.
8164eb411b4bSmrg    
8165eb411b4bSmrg    The addition of <Multi_key> <o> <apostrophe> as a postfix version of
8166eb411b4bSmrg    <Multi_key> <apostrophe> <o> blocks the existing entries for ǻ and Ǻ.
8167eb411b4bSmrg    That prevents its and <Multi_key> <O> <apostrophe>’s addition.
8168eb411b4bSmrg    
8169eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8170eb411b4bSmrg
8171eb411b4bSmrgcommit 91bcce48d94792f78333d2aea73961cc2e739d2e
8172eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
8173eb411b4bSmrgDate:   Wed Mar 14 12:54:53 2012 -0400
8174eb411b4bSmrg
8175eb411b4bSmrg    Complete compose key sequences for musical symbols
8176eb411b4bSmrg    
8177eb411b4bSmrg    Signed-off-by: Pander <pander@users.sourceforge.net>
8178eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8179eb411b4bSmrg
8180eb411b4bSmrgcommit cf040016d455bc37f7665d6714337c5eafd8ea94
8181eb411b4bSmrgAuthor: Pander <pander@users.sourceforge.net>
8182eb411b4bSmrgDate:   Wed Mar 14 12:46:25 2012 -0400
8183eb411b4bSmrg
8184eb411b4bSmrg    Add compose sequences from gtk+ to X.Org
8185eb411b4bSmrg    
8186eb411b4bSmrg    Signed-off-by: Pander <pander@users.sourceforge.net>
8187eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8188eb411b4bSmrg
8189eb411b4bSmrgcommit a4c591ced5cac9301b9abfa0e521be2d0b267882
8190eb411b4bSmrgAuthor: Keith Packard <keithp@keithp.com>
8191eb411b4bSmrgDate:   Sun Mar 4 02:00:13 2012 -0800
8192eb411b4bSmrg
8193eb411b4bSmrg    Block for other threads in _XUserLockDisplay
8194eb411b4bSmrg    
8195eb411b4bSmrg    Wait for all other threads to release the user-level lock when
8196eb411b4bSmrg    acquiring it. This ensures that only one thread at a time holds the
8197eb411b4bSmrg    user-level lock, necessary as it is a nesting lock and a single
8198eb411b4bSmrg    variable is used to determine when the lock is nesting and when it is
8199eb411b4bSmrg    contended.
8200eb411b4bSmrg    
8201eb411b4bSmrg    Signed-off-by: Keith Packard <keithp@keithp.com>
8202eb411b4bSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
8203eb411b4bSmrg
8204eb411b4bSmrgcommit ed00b460acb08787b695f27b864e96102dfd4867
8205eb411b4bSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk>
8206eb411b4bSmrgDate:   Fri Oct 28 11:09:20 2011 -0500
8207eb411b4bSmrg
8208eb411b4bSmrg    Don't use caddr_t casts
8209eb411b4bSmrg    
8210eb411b4bSmrg    (caddr_t) isn't used anywhere else in xcb or libX11.
8211eb411b4bSmrg    Cast to (char *) for consistency.
8212eb411b4bSmrg    
8213eb411b4bSmrg    Removing this cast allows building for MinGW without patching.
8214eb411b4bSmrg    
8215eb411b4bSmrg    v2: Cast to (char *) rather than just dropping the cast
8216eb411b4bSmrg    
8217eb411b4bSmrg    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
8218eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8219eb411b4bSmrg
8220eb411b4bSmrgcommit 20adca02c2a1d0b7c95ecbe387d68f881fd57754
8221eb411b4bSmrgAuthor: Julien Cristau <jcristau@debian.org>
8222eb411b4bSmrgDate:   Sun Feb 19 13:27:38 2012 +0100
8223eb411b4bSmrg
8224eb411b4bSmrg    Revert "xcb: Add TCP fallback"
8225eb411b4bSmrg    
8226eb411b4bSmrg    This reverts commit f09c5299a381e2729e800a0ac43f1c0e371f65f6.
8227eb411b4bSmrg    
8228eb411b4bSmrg    The TCP fallback ended up falling back to UNIX socket connection if
8229eb411b4bSmrg    $DISPLAY was set to e.g. some.host:0 and the initial attempt failed.
8230eb411b4bSmrg    
8231eb411b4bSmrg    Debian bug#659558 <http://bugs.debian.org/659558>
8232eb411b4bSmrg    
8233eb411b4bSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
8234eb411b4bSmrg    
8235eb411b4bSmrg    Conflicts:
8236eb411b4bSmrg    
823738ae11fcSmrg            src/OpenDis.c
8238eb411b4bSmrg
8239eb411b4bSmrgcommit f4378193619baa9bb973c1b5b718721bbcbe92c7
8240eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com>
8241eb411b4bSmrgDate:   Wed Feb 22 14:13:20 2012 -0500
8242eb411b4bSmrg
8243eb411b4bSmrg    Make the compose sequence for ẞ work.
8244eb411b4bSmrg    
8245eb411b4bSmrg    There is no XK_Ssharp symbol for U+1E9E LATIN CAPITAL LETTER SHARP S,
8246eb411b4bSmrg    so use the U1e9e symbol in the Compose sequence.
8247eb411b4bSmrg    
8248eb411b4bSmrg    (Compose sequences do not work when the target symbol is unknown.)
8249eb411b4bSmrg    
8250eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8251eb411b4bSmrg
8252eb411b4bSmrgcommit 2ca641c3a506dcbee97e279b67990d5387389f36
8253eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com>
8254eb411b4bSmrgDate:   Mon Feb 20 17:04:59 2012 +0200
8255eb411b4bSmrg
8256eb411b4bSmrg    Use ezh/EZH in compose maps
8257eb411b4bSmrg    
8258eb411b4bSmrg    Related: https://bugs.freedesktop.org/show_bug.cgi?id=19687
8259eb411b4bSmrg    
8260eb411b4bSmrg    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
8261eb411b4bSmrg    Reviewed-by: Matt Dew <marcoz@osource.org>
8262eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8263eb411b4bSmrg
8264eb411b4bSmrgcommit 61725822f20f47684a545c1797183ee7075243ac
8265eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com>
8266eb411b4bSmrgDate:   Sun Feb 20 17:09:43 2011 +0200
8267eb411b4bSmrg
8268eb411b4bSmrg    Provide translation from XK_permille (ad5) to Unicode (U2030)
8269eb411b4bSmrg    
8270eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=19687
8271eb411b4bSmrg    
8272eb411b4bSmrg    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
8273eb411b4bSmrg    Reviewed-by: Matt Dew <marcoz@osource.org>
8274eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8275eb411b4bSmrg
8276eb411b4bSmrgcommit d2cce0abba0fa0143f49026442c8cab5ed721625
8277eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8278eb411b4bSmrgDate:   Sun Feb 12 19:01:43 2012 -0800
8279eb411b4bSmrg
8280eb411b4bSmrg    nls: Use LC_CTYPE=C for sed magic
8281eb411b4bSmrg    
8282eb411b4bSmrg    Stricter versions of sed can trip up if the input does not match
8283eb411b4bSmrg    LC_CTYPE
8284eb411b4bSmrg    
8285eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8286eb411b4bSmrg
8287eb411b4bSmrgcommit f180e043f55531933bedfa6e0ff36a00a9ec07f3
8288e9628295SmrgAuthor: Frédéric Boiteux < <fboiteux@calistel.com>
8289eb411b4bSmrgDate:   Wed Nov 30 12:47:31 2011 +0000
8290eb411b4bSmrg
8291eb411b4bSmrg    Compositions with the dead greek symbol
8292eb411b4bSmrg    
8293eb411b4bSmrg    FreeDesktop Bug 21475 <https://bugs.freedesktop.org/show_bug.cgi?id=21475>
8294eb411b4bSmrg    
8295eb411b4bSmrg    Signed-off-by: Frédéric Boiteux <fboiteux@calistel.com>
8296eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8297eb411b4bSmrg
8298eb411b4bSmrgcommit d58e8f8e27790017fcfdeca0843b7318d541c189
8299eb411b4bSmrgAuthor: Ryan Pavlik <rpavlik@iastate.edu>
8300eb411b4bSmrgDate:   Sun Jan 1 21:04:52 2012 +0000
8301eb411b4bSmrg
8302eb411b4bSmrg    Use pthreads on MinGW also
8303eb411b4bSmrg    
8304eb411b4bSmrg    Use pthreads (provided by the pthreads-win32 compatability library which implements
8305eb411b4bSmrg    them using native Win32 threading) on MinGW
8306eb411b4bSmrg    
8307eb411b4bSmrg    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
8308eb411b4bSmrg
8309eb411b4bSmrgcommit bf15ccb6821664746ec23d769d757edf8059007e
8310eb411b4bSmrgAuthor: Ryan Pavlik <rpavlik@iastate.edu>
8311eb411b4bSmrgDate:   Mon Jan 23 14:18:02 2012 +0000
8312eb411b4bSmrg
8313eb411b4bSmrg    Add XWindows.h include to Xxcbint.h
8314eb411b4bSmrg    
8315eb411b4bSmrg    This avoids some conflicting type re-definition errors which occur if
8316eb411b4bSmrg    we attempt to include Windows headers after Xmd.h
8317eb411b4bSmrg    
8318eb411b4bSmrg    Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
8319eb411b4bSmrg
8320eb411b4bSmrgcommit cadcbd376f0a5d17a71a2fe2f8ced5d93232921a
8321eb411b4bSmrgAuthor: Matt Dew <marcoz@osource.org>
8322eb411b4bSmrgDate:   Sat Jan 21 17:59:51 2012 -0700
8323eb411b4bSmrg
8324eb411b4bSmrg    informaltable & table cleanup
8325eb411b4bSmrg    
8326eb411b4bSmrg    On certain tables, add top and bottom borders to table header
8327eb411b4bSmrg    and a bottom border to the table. This matches what those
8328eb411b4bSmrg    tables in the old pdfs looked like.
8329eb411b4bSmrg    
8330eb411b4bSmrg    the <?dbfo keep-together='always'> prevents tables from
8331eb411b4bSmrg    splitting across pages. Useful for tiny tables.
8332eb411b4bSmrg    
8333eb411b4bSmrg    Converting the colwidth to a floating point, IE, 1* -> 1.0*
8334eb411b4bSmrg    cleans up these build errors:
8335eb411b4bSmrg    WARNING: table-layout="fixed" and column-width unspecified =>
8336eb411b4bSmrg    falling back to proportional-column-width(1)
8337eb411b4bSmrg    
8338eb411b4bSmrg    Signed-off-by: Matt Dew <marcoz@osource.org>
8339eb411b4bSmrg
8340eb411b4bSmrgcommit bb551f654df8f647c867f79252241964521e689e
8341eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8342eb411b4bSmrgDate:   Wed Dec 28 21:22:41 2011 -0800
8343eb411b4bSmrg
8344eb411b4bSmrg    Add more Xkb man pages to the See Also lists for core keyboard functions
8345eb411b4bSmrg    
8346eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8347eb411b4bSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
8348eb411b4bSmrg
8349eb411b4bSmrgcommit b7bb23fe7c8b8a17128e5bc98a05f68595190438
8350eb411b4bSmrgAuthor: Gaetan Nadon <nadon@memsize.(none)>
8351eb411b4bSmrgDate:   Fri Dec 30 17:08:14 2011 -0500
8352eb411b4bSmrg
8353eb411b4bSmrg    docbook.am: embed css styles inside the HTML HEAD element
8354eb411b4bSmrg    
8355eb411b4bSmrg    Rather than referring to the external xorg.css stylesheet, embed the content
8356eb411b4bSmrg    of the file in the html output produced. This is accomplished by using
8357eb411b4bSmrg    version 1.10 of xorg-xhtml.xsl.
8358eb411b4bSmrg    
8359eb411b4bSmrg    This makes the whole html docs tree much more relocatable.
8360eb411b4bSmrg    In addition, it eliminates xorg.css as a runtime file which makes
8361eb411b4bSmrg    xorg-sgml-doctools a build time only package.
8362eb411b4bSmrg    
8363eb411b4bSmrg    Signed-off-by: Gaetan Nadon <nadon@memsize.(none)>
8364eb411b4bSmrg
8365eb411b4bSmrgcommit 70505468b7c4a7068cc39be42e421dcee34ec595
8366eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8367eb411b4bSmrgDate:   Tue Dec 13 19:58:30 2011 -0800
8368eb411b4bSmrg
8369eb411b4bSmrg    makekeys: move buf declaration from global to main to silence gcc -Wshadow
8370eb411b4bSmrg    
8371eb411b4bSmrg    The global was only referenced in the main() function, which passes it
8372eb411b4bSmrg    as an argument of the same name to the parse_line() function, leading
8373eb411b4bSmrg    to gcc -Wshadow warnings:
8374eb411b4bSmrg    
8375eb411b4bSmrg    makekeys.c: In function ‘parse_line’:
8376eb411b4bSmrg    makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration
8377eb411b4bSmrg    makekeys.c:54:13: warning: shadowed declaration is here
8378eb411b4bSmrg    
8379eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8380eb411b4bSmrg
8381eb411b4bSmrgcommit 87e10a7b9a97c951ab4d477f61177779ac0a6a66
8382eb411b4bSmrgAuthor: Kusanagi Kouichi <slash@ac.auone-net.jp>
8383eb411b4bSmrgDate:   Wed Dec 14 02:17:55 2011 -0500
8384eb411b4bSmrg
8385eb411b4bSmrg    XQueryColors: Split a request into multiple requests if necessary
8386eb411b4bSmrg    
8387eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=9160
8388eb411b4bSmrg    
8389eb411b4bSmrg    Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
8390eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8391eb411b4bSmrg
8392eb411b4bSmrgcommit d3b3570592e9b9e57f270a0bd86762fd205a2833
8393eb411b4bSmrgAuthor: Andreas Wettstein <wettstein509@solnet.ch>
8394eb411b4bSmrgDate:   Tue Nov 8 20:18:09 2011 +0000
8395eb411b4bSmrg
8396eb411b4bSmrg    XIM: Allow modifier releases in compose sequences (#26705)
8397eb411b4bSmrg    
8398eb411b4bSmrg    Currently, only non-modifier keys (actually, keysyms) can be part of a compose
8399eb411b4bSmrg    sequence, and they are matched against the defined compose sequences at the
8400eb411b4bSmrg    time the key is pressed.  The patch allows to use modifier keys an well, but
8401eb411b4bSmrg    matches them on key release, and only if no other key has been pressed after
8402eb411b4bSmrg    the modifier.
8403eb411b4bSmrg    
8404eb411b4bSmrg    Releasing a non-matched modifier during an ongoing compose sequence only aborts
8405eb411b4bSmrg    the sequence if any modifier release would have matched.  In particular, if no
8406eb411b4bSmrg    compose sequences with modifiers are specified, the compose mechanism works
8407eb411b4bSmrg    exactly as without this patch.
8408eb411b4bSmrg    
8409eb411b4bSmrg    Even if modifiers are part of a compose sequence, they are not filtered.  This
8410eb411b4bSmrg    is because modifiers affect the keyboard state no matter what we do here and,
8411eb411b4bSmrg    therefore, filtering them only could confuse clients.
8412eb411b4bSmrg    
8413eb411b4bSmrg    The purpose is this extension to the compose mechanism is to allow to make
8414eb411b4bSmrg    better use of keys in convenient reach for touch typing.
8415eb411b4bSmrg    
8416eb411b4bSmrg    Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch>
8417eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8418eb411b4bSmrg
8419eb411b4bSmrgcommit 56448a626fc90bcf75a1fa2f4c294b0eb1f23bd6
8420eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8421eb411b4bSmrgDate:   Tue Nov 29 23:56:57 2011 -0800
8422eb411b4bSmrg
8423eb411b4bSmrg    Reject negative string counts in copy_string_list
8424eb411b4bSmrg    
8425eb411b4bSmrg    Silences parfait warning of a potential memory leak:
8426eb411b4bSmrg       Memory leak of pointer 'dst' allocated with malloc(length)
8427eb411b4bSmrg            at line 160 of FSWrap.c in function 'copy_string_list'.
8428eb411b4bSmrg              'dst' allocated at line 145 with malloc(length).
8429eb411b4bSmrg              dst leaks when count <= 0 at line 154.
8430eb411b4bSmrg    
8431eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8432eb411b4bSmrg
8433eb411b4bSmrgcommit bf2d7c8c6d70539c72560b1921e18df2610acf29
8434eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
8435eb411b4bSmrgDate:   Fri Nov 11 14:56:36 2011 +1000
8436eb411b4bSmrg
8437eb411b4bSmrg    libX11 1.4.99.1
8438eb411b4bSmrg    
8439eb411b4bSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8440eb411b4bSmrg
8441eb411b4bSmrgcommit 24283d40b1e4314c6647dda49d2a159833341a8b
8442eb411b4bSmrgAuthor: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8443eb411b4bSmrgDate:   Thu Sep 22 18:44:13 2011 -0400
8444eb411b4bSmrg
8445eb411b4bSmrg    makekeys: Fix build/target word size mismatch when cross-compiling
8446eb411b4bSmrg    
8447eb411b4bSmrg    Since makekeys is built using build environment's gcc and
8448eb411b4bSmrg    runs natively, we have to make sure that the size of the
8449eb411b4bSmrg    Signature type is the same on both the native environment
8450eb411b4bSmrg    and the target, otherwise we get mismatches upon running X,
8451eb411b4bSmrg    and some LSB test failures (xts5).
8452eb411b4bSmrg    
8453eb411b4bSmrg    Use an unsigned 32-bit integer on all platforms. Also,
8454eb411b4bSmrg    eliminate the redundant multiple typedefs for the
8455eb411b4bSmrg    Signature type.
8456eb411b4bSmrg    
8457eb411b4bSmrg    Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8458eb411b4bSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
8459eb411b4bSmrg
8460eb411b4bSmrgcommit 1c41f3b9b86b5eeedfa3bff92e519d45aa097587
8461eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8462eb411b4bSmrgDate:   Wed Nov 9 21:00:36 2011 -0800
8463eb411b4bSmrg
8464eb411b4bSmrg    XlcSL.c: convert old-style function definitions to ANSI C89 style
8465eb411b4bSmrg    
8466eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8467eb411b4bSmrg
8468eb411b4bSmrgcommit f6dad6aaa384bf836baa28ccb72b476a85c40eff
8469eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
8470eb411b4bSmrgDate:   Thu Oct 27 13:53:22 2011 +1000
8471eb411b4bSmrg
8472eb411b4bSmrg    Use GetReqSized for GetReq and GetReqExtra
8473eb411b4bSmrg    
8474eb411b4bSmrg    GetEmptyReq and GetResReq cannot do this due to the final typecast -
8475eb411b4bSmrg    typically requests that need either of those do not have their own typedef
8476eb411b4bSmrg    in the protocol headers.
8477eb411b4bSmrg    
8478eb411b4bSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8479eb411b4bSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
8480eb411b4bSmrg
8481eb411b4bSmrgcommit c9c99058b9d98789c0b2d7e78a23443c2b57a047
8482eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
8483eb411b4bSmrgDate:   Fri Oct 14 14:51:06 2011 +1000
8484eb411b4bSmrg
8485eb411b4bSmrg    include: Add GetReqSized() for request buffers of specific size
8486eb411b4bSmrg    
8487eb411b4bSmrg    Some XI2 requests change in size over different versions and libXi would
8488eb411b4bSmrg    need to hack around GetReq and GetReqExtra. Add a new GetReqSized so the
8489eb411b4bSmrg    library can explicitly specify the size of the request in 4-byte units.
8490eb411b4bSmrg    
8491eb411b4bSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8492eb411b4bSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
8493eb411b4bSmrg
8494eb411b4bSmrgcommit ba8a7a19165e30d14bc165f43f67c19b6a115585
8495eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
8496eb411b4bSmrgDate:   Thu Oct 27 13:24:10 2011 +1000
8497eb411b4bSmrg
8498eb411b4bSmrg    Switch GetEmptyReq and GetResReq to call _XGetRequest
8499eb411b4bSmrg    
8500eb411b4bSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8501eb411b4bSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
8502eb411b4bSmrg
8503eb411b4bSmrgcommit 4a060f993bf676cf21ad9784e010f54134da7b40
8504eb411b4bSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
8505eb411b4bSmrgDate:   Mon Oct 17 09:45:15 2011 +1000
8506eb411b4bSmrg
8507eb411b4bSmrg    Add _XGetRequest as substitute for GetReq/GetReqExtra
8508eb411b4bSmrg    
8509eb411b4bSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
8510eb411b4bSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
8511eb411b4bSmrg
8512eb411b4bSmrgcommit d8956520deb79c1cbb5e974c175bf8493859b22b
8513eb411b4bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
8514eb411b4bSmrgDate:   Fri Oct 14 17:53:00 2011 -0700
8515eb411b4bSmrg
8516eb411b4bSmrg    Fix "nomal" -> "normal" typo in several comments
8517eb411b4bSmrg    
8518eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8519eb411b4bSmrg
8520eb411b4bSmrgcommit 002b36e308a26a152504f9b40aa08a0dce9a7991
8521eb411b4bSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM>
8522eb411b4bSmrgDate:   Fri Oct 14 17:39:21 2011 -0700
8523eb411b4bSmrg
8524eb411b4bSmrg    mbtocs should not truncate input
8525eb411b4bSmrg    
8526eb411b4bSmrg    Fixes pasting more than 1024 bytes into xterm, as described in
8527eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=25209
8528eb411b4bSmrg    
8529eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8530eb411b4bSmrg
8531eb411b4bSmrgcommit 9b8d8c9e5b27273e8856a3851ba9b68022bed3cd
8532eb411b4bSmrgAuthor: Marko Myllynen <myllynen@redhat.com>
8533eb411b4bSmrgDate:   Mon Oct 10 09:41:13 2011 +0300
8534eb411b4bSmrg
8535eb411b4bSmrg    Add new compose sequences
8536eb411b4bSmrg    
8537eb411b4bSmrg    This patch adds few new compose sequences to the en_US map, ligatures
8538eb411b4bSmrg    common in typesetting and sequences already in use in the fi_FI map.
8539eb411b4bSmrg    
8540eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=30621
8541eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=34523
8542eb411b4bSmrg    
8543eb411b4bSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
8544eb411b4bSmrg
8545eb411b4bSmrgcommit 738f7b867341c1da87ee667d48815822715c3e75
8546eb411b4bSmrgAuthor: Choe Hwanjin <choe.hwanjin@gmail.com>
8547eb411b4bSmrgDate:   Thu Oct 13 07:58:02 2011 +0900
8548eb411b4bSmrg
8549eb411b4bSmrg    XIM: Make Xim handle NEED_SYNC_REPLY flag
8550eb411b4bSmrg    
8551eb411b4bSmrg    NEED_SYNC_REPLY flag should be in Xim not in Xic.
8552eb411b4bSmrg    Because the focused Xic can be changed before sending sync reply.
8553eb411b4bSmrg    After focused Xic changed, the new Xic doesn't have NEED_SYNC_REPLY
8554eb411b4bSmrg    flag enabled, so libX11 doesn't send XIM_SYNC_REPLY packet.
8555eb411b4bSmrg    
8556eb411b4bSmrg    This patch adds sync reply flag to Xim and removes sync reply
8557eb411b4bSmrg    from Xic.
8558eb411b4bSmrg    
8559eb411b4bSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=7869
8560eb411b4bSmrg    
8561eb411b4bSmrg    Signed-off-by: Choe Hwanjin <choe.hwanjin@gmail.com>
8562eb411b4bSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
8563eb411b4bSmrg
8564eb411b4bSmrgcommit 50e15379331c436851abb194251cde96999e67b3
8565eb411b4bSmrgAuthor: Bodo Graumann <mail@bodograumann.de>
8566eb411b4bSmrgDate:   Mon Oct 10 16:40:52 2011 +0200
8567eb411b4bSmrg
8568eb411b4bSmrg    libX11: Fixing modifier key range in Xutil.h (Bug #21910)
8569eb411b4bSmrg    
8570eb411b4bSmrg    IsModifierKey, defined in include/X11/Xutil.h, is a macro determining,
8571eb411b4bSmrg    which keys are regarded as modifiers. The constants ISO_Level5_Shift,
8572eb411b4bSmrg    ISO_Level5_Latch and ISO_Level5_Lock where excluded previously, leaving
8573eb411b4bSmrg    some Neo2 modifiers functionless in combination with compose.
8574eb411b4bSmrg    This patch adjusts the range to include the correct, full range of
8575eb411b4bSmrg    modifier constants.
8576eb411b4bSmrg    
8577eb411b4bSmrg    Neo2 Bug 277 <http://wiki.neo-layout.org/ticket/277>
8578eb411b4bSmrg    
8579eb411b4bSmrg    X.Org Bug 21910 <http://bugs.freedesktop.org/show_bug.cgi?id=21910>
8580eb411b4bSmrg    
8581eb411b4bSmrg    Signed-off-by: Bodo Graumann <mail@bodograumann.de>
8582eb411b4bSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
8583eb411b4bSmrg
8584eb411b4bSmrgcommit b5a108624331fabf393223c0891914cc54d4caf4
8585eb411b4bSmrgAuthor: Yann Droneaud <yann@droneaud.fr>
8586eb411b4bSmrgDate:   Tue Oct 11 17:27:59 2011 +0200
8587eb411b4bSmrg
8588eb411b4bSmrg    Return name instead of False in XSetICValues()
8589eb411b4bSmrg    
8590eb411b4bSmrg    In case of error, XSetICValues() must return the first argument
8591eb411b4bSmrg    that failed to be set.
8592eb411b4bSmrg    
8593eb411b4bSmrg    But in some error paths, it returns False, which is converted to NULL,
8594eb411b4bSmrg    so the function returns OK in case of error.
8595eb411b4bSmrg    
8596eb411b4bSmrg    Signed-off-by: Yann Droneaud <yann@droneaud.fr>
8597eb411b4bSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
8598eb411b4bSmrg
8599eb411b4bSmrgcommit 10992cb8dc5e4d938e7e5a633b68a81b5875f3ba
8600eb411b4bSmrgAuthor: Yann Droneaud <yann@droneaud.fr>
8601eb411b4bSmrgDate:   Sun Oct 9 17:56:45 2011 +0200
8602eb411b4bSmrg
8603eb411b4bSmrg    Return name instead of value in XGetIMValues() and XSetIMValues()
8604eb411b4bSmrg    
8605eb411b4bSmrg    As stated in man page (XOpenIM) and Xlib documentation (chapter 13.5.3),
8606eb411b4bSmrg    XGetIMValues() and XSetImValues() "returns the name of the first argument
8607eb411b4bSmrg    that could not be obtained."
8608eb411b4bSmrg    
8609eb411b4bSmrg    But currently,
8610eb411b4bSmrg    
8611eb411b4bSmrg      err = XGetIMValues(im, "invalid", &arg, NULL);
8612eb411b4bSmrg    
8613eb411b4bSmrg    returns &arg instead of "invalid".
8614eb411b4bSmrg    
8615eb411b4bSmrg    This patch fixes https://bugs.freedesktop.org/show_bug.cgi?id=12897
8616eb411b4bSmrg    
8617eb411b4bSmrg    Signed-off-by: Yann Droneaud <yann@droneaud.fr>
8618eb411b4bSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
8619eb411b4bSmrg
8620eb411b4bSmrgcommit f2651e03f3295a453a2965c3749bc8b6e66f1c09
8621eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8622eb411b4bSmrgDate:   Mon Oct 10 14:09:17 2011 -0700
8623eb411b4bSmrg
8624eb411b4bSmrg    Mark XKeycodeToKeysym as _X_DEPRECATED
8625eb411b4bSmrg    
8626eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8627eb411b4bSmrg
8628eb411b4bSmrgcommit 25d7bb9c705623ebbb3afba3b86d0ded5b6bb4fb
8629eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8630eb411b4bSmrgDate:   Sun Oct 9 02:38:28 2011 -0700
8631eb411b4bSmrg
8632eb411b4bSmrg    Fix nobreakspace for pt_BR.UTF-8
8633eb411b4bSmrg    
8634eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=31334
8635eb411b4bSmrg    
8636eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8637eb411b4bSmrg
8638eb411b4bSmrgcommit 913603660c17ec59a4d39d3e3b9d60469ee5c060
8639eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8640eb411b4bSmrgDate:   Sun Oct 9 02:26:45 2011 -0700
8641eb411b4bSmrg
8642eb411b4bSmrg    Fix potential uninitialized variable access in _XimMakeICAttrIDList
8643eb411b4bSmrg    
8644eb411b4bSmrg    Found by clang static analysis
8645eb411b4bSmrg    
8646eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8647eb411b4bSmrg
8648eb411b4bSmrgcommit 566ceaf5a92c721ac7155528e4d0d2e5cbef023f
8649eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8650eb411b4bSmrgDate:   Sun Oct 9 02:25:50 2011 -0700
8651eb411b4bSmrg
8652eb411b4bSmrg    Remove self-resolving aliases
8653eb411b4bSmrg    
8654eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=30112
8655eb411b4bSmrg    
8656eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8657eb411b4bSmrg
8658eb411b4bSmrgcommit 22ba43d198dcca86c88eb15a56fc7d8fc47c422e
8659eb411b4bSmrgAuthor: Matt Dew <marcoz@osource.org>
8660eb411b4bSmrgDate:   Fri Oct 7 22:52:30 2011 -0600
8661eb411b4bSmrg
8662eb411b4bSmrg    Cleanup IDs and links in doc
8663eb411b4bSmrg    
8664eb411b4bSmrg    1 - fix the capitalization of the ID attributes to match either the
8665eb411b4bSmrg         <title> or <funcdef> string it goes with.
8666eb411b4bSmrg    2 - fix any <linkend>'s that were affected by 1.
8667eb411b4bSmrg    3 - any <function> in the docs that has an actual funcdef,
8668eb411b4bSmrg    will become an olink.
8669eb411b4bSmrg    
8670eb411b4bSmrg    Signed-off-by: Matt Dew <marcoz@osource.org>
8671eb411b4bSmrg
8672eb411b4bSmrgcommit f858f3326adbc0c5711669b92a64a84a9083a055
8673eb411b4bSmrgAuthor: James Cloos <cloos@jhcloos.com>
8674eb411b4bSmrgDate:   Tue Oct 4 17:11:11 2011 -0400
8675eb411b4bSmrg
8676eb411b4bSmrg    [nls] Fix typo/synco.
8677eb411b4bSmrg    
8678eb411b4bSmrg    The iso8859-1 Compose table includes an optional section which uses
8679eb411b4bSmrg    Ctrl<T> as a substitute for <Multi_key>.  In that section the sequence
8680eb411b4bSmrg    to generate an @ (at) either was incorrectly copied from the Multi_key
8681eb411b4bSmrg    section or was not kept in sync with the Multi_key section.
8682eb411b4bSmrg    
8683eb411b4bSmrg    Fixing this eliminates the warning from compose-check.pl:
8684eb411b4bSmrg    
8685eb411b4bSmrg    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
8686eb411b4bSmrg    ┃ Clash with existing sequence in iso8859-1/Compose.pre
8687eb411b4bSmrg    ┃  on line 661: Ctrl<T> <A> <A>
868838ae11fcSmrg    ┃    line #661: Ctrl<T> <A> <A>         : "\305"        Aring
868938ae11fcSmrg    ┃    line #480: Ctrl<T> <A> <A>         : "@"   at
8690eb411b4bSmrg    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
8691eb411b4bSmrg    
8692eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8693eb411b4bSmrg
8694eb411b4bSmrgcommit 7f35f7efc23234b3f8529fee31a802c21846d9ab
8695eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8696eb411b4bSmrgDate:   Mon Sep 26 11:32:56 2011 -0700
8697eb411b4bSmrg
8698eb411b4bSmrg    Remove conflicting compose sequences for cent and colon
8699eb411b4bSmrg    
8700eb411b4bSmrg    Regression from 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4
8701eb411b4bSmrg    Found by tinderbox
8702eb411b4bSmrg    
8703eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8704eb411b4bSmrg
8705eb411b4bSmrgcommit 4d78ad4bf6dcabca9bb5f84c770abfbb02d3f7a4
8706eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8707eb411b4bSmrgDate:   Sun Sep 25 16:29:17 2011 -0700
8708eb411b4bSmrg
8709eb411b4bSmrg    Add additional compose sequences for pound sterling, yen, and cent (mixed case)
8710eb411b4bSmrg    
8711eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=1013
8712eb411b4bSmrg    
8713eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8714eb411b4bSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
8715eb411b4bSmrg
8716eb411b4bSmrgcommit 0ca4153a373e2af7a9eb3cef003393ab332bc79e
8717eb411b4bSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
8718eb411b4bSmrgDate:   Sat Sep 24 16:44:04 2011 -0700
8719eb411b4bSmrg
8720eb411b4bSmrg    Use a configure check for seteuid
8721eb411b4bSmrg    
8722eb411b4bSmrg    HP-UX doesn't have seteuid
8723eb411b4bSmrg    
8724eb411b4bSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=1497
8725eb411b4bSmrg    
8726eb411b4bSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
8727eb411b4bSmrg
8728eb411b4bSmrgcommit 79594b4d66344f248eb4314ecb78eb81f632c3ab
8729eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8730eb411b4bSmrgDate:   Tue Sep 20 16:06:10 2011 -0400
8731eb411b4bSmrg
8732eb411b4bSmrg    localedb specs: use <copyright> for first holder of multi license
8733eb411b4bSmrg    
8734eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8735eb411b4bSmrg
8736eb411b4bSmrgcommit 154430268cf004b06920edde2f1812dc16d71fae
8737eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8738eb411b4bSmrgDate:   Tue Sep 20 16:01:52 2011 -0400
8739eb411b4bSmrg
8740eb411b4bSmrg    libX11 specs: use <copyright> for first holder of multi license
8741eb411b4bSmrg    
8742eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8743eb411b4bSmrg
8744eb411b4bSmrgcommit 66e621f58dee804acb795ff2c79ce6dd38b34a3f
8745eb411b4bSmrgAuthor: Tollef Fog Heen <tfheen@err.no>
8746eb411b4bSmrgDate:   Tue Sep 20 13:07:37 2011 -0400
8747eb411b4bSmrg
8748eb411b4bSmrg    NLS: Add more vulgar fractions
8749eb411b4bSmrg    
8750eb411b4bSmrg    Add 1/7, 1/9, 1/10 and 0/3 vulgar fractions.
8751eb411b4bSmrg    
8752eb411b4bSmrg    Signed-off-by: Tollef Fog Heen <tfheen@err.no>
8753eb411b4bSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
8754eb411b4bSmrg
8755eb411b4bSmrgcommit e37a6da814b5653be46000a9a76902729660a2e6
8756eb411b4bSmrgAuthor: Alexander Polakov <polachok@gmail.com>
8757eb411b4bSmrgDate:   Sat Sep 17 20:54:58 2011 +0400
8758eb411b4bSmrg
8759eb411b4bSmrg    XGrabKey manual page: change XAllowAccess to XAllowEvents in See Also
8760eb411b4bSmrg    
8761eb411b4bSmrg    There is no XAllowAccess man page to see.
8762eb411b4bSmrg    
8763eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8764eb411b4bSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8765eb411b4bSmrg
8766eb411b4bSmrgcommit a23f3323f269b33a43d16dce01395cd28bc41b45
8767eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8768eb411b4bSmrgDate:   Mon Sep 19 15:27:44 2011 -0400
8769eb411b4bSmrg
8770eb411b4bSmrg    XKB: provide adequate quotes for the license text
8771eb411b4bSmrg    
8772eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8773eb411b4bSmrg
8774eb411b4bSmrgcommit a9c7a5cad91d968f5536ef8fc735036e921832a3
8775eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8776eb411b4bSmrgDate:   Mon Sep 19 15:18:53 2011 -0400
8777eb411b4bSmrg
8778eb411b4bSmrg    XIM: refactor the multi licensing legal text
8779eb411b4bSmrg    
8780eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8781eb411b4bSmrg
8782eb411b4bSmrgcommit c46f934ed89e7de79746a0387c9f998d91994ea6
8783eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8784eb411b4bSmrgDate:   Mon Sep 19 10:33:30 2011 -0400
8785eb411b4bSmrg
8786eb411b4bSmrg    xim trans: restore Fujitsu copyright legal text
8787eb411b4bSmrg    
8788eb411b4bSmrg    Somehow lost during docbook conversion. text from x.org ftp R7.5.
8789eb411b4bSmrg    
8790eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8791eb411b4bSmrg
8792eb411b4bSmrgcommit 3d75f993382bfdc89d31668d7dfc71c91222e0d7
8793eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8794eb411b4bSmrgDate:   Mon Sep 19 10:11:46 2011 -0400
8795eb411b4bSmrg
8796eb411b4bSmrg    xtrans: restore X Consortium original legal text
8797eb411b4bSmrg    
8798eb411b4bSmrg    Asking X Consortium permission to use The Open Group name makes no sense.
8799eb411b4bSmrg    Even more so in 1994 before X Window System was passed on to the Open Group.
8800eb411b4bSmrg    
8801eb411b4bSmrg    Using original text from xorg-docs/general/License
8802eb411b4bSmrg    
8803eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8804eb411b4bSmrg
8805eb411b4bSmrgcommit 136a381585a4a9686c11bad1a6130837978e677f
8806eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8807eb411b4bSmrgDate:   Mon Sep 19 10:03:21 2011 -0400
8808eb411b4bSmrg
8809eb411b4bSmrg    Framework: restore X Consortium copyright
8810eb411b4bSmrg    
8811eb411b4bSmrg    Somewhat dammaged during docbook conversion.
8812eb411b4bSmrg    Also restore pasrt of the original license text
8813eb411b4bSmrg    
8814eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8815eb411b4bSmrg
8816eb411b4bSmrgcommit 33f346878406762704a0c13cdc018111c666f3c1
8817eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8818eb411b4bSmrgDate:   Mon Sep 19 09:50:00 2011 -0400
8819eb411b4bSmrg
8820eb411b4bSmrg    localedb: restore X Consortium original legal text
8821eb411b4bSmrg    
8822eb411b4bSmrg    Asking X Consortium permission to use The Open Group name makes no sense.
8823eb411b4bSmrg    Even more so in 1994 before X Window System was passed on to the Open Group.
8824eb411b4bSmrg    
8825eb411b4bSmrg    Using original text from xorg-docs/general/License
8826eb411b4bSmrg    
8827eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8828eb411b4bSmrg
8829eb411b4bSmrgcommit e99c9338e413efca026210b9d830efb5c74d34e5
8830eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8831eb411b4bSmrgDate:   Mon Sep 19 08:23:18 2011 -0400
8832eb411b4bSmrg
8833eb411b4bSmrg    specs: support multi licensed copyright notice and license text
8834eb411b4bSmrg    
8835eb411b4bSmrg    For documentation having multiple licenses, the copyright and legalnotice
8836eb411b4bSmrg    elements sequence cannot instantiated multiple times.
8837eb411b4bSmrg    The copyright notice and license text are therefore coded inside a
8838eb411b4bSmrg    legalnotice element. The role attribute on the paragraph is used to allow
8839eb411b4bSmrg    styling of the copyright notice text which should not be italicized.
8840eb411b4bSmrg    
8841eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8842eb411b4bSmrg
8843eb411b4bSmrgcommit b9dedc757e667333ce899115d618f25cdaa4dd5e
8844eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8845eb411b4bSmrgDate:   Mon Sep 19 08:17:50 2011 -0400
8846eb411b4bSmrg
8847eb411b4bSmrg    localedb: add release info to spec
8848eb411b4bSmrg    
8849eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8850eb411b4bSmrg
8851eb411b4bSmrgcommit 4519c89a87ddce01e599542737a27c26030fe4ff
8852eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8853eb411b4bSmrgDate:   Mon Sep 19 08:05:32 2011 -0400
8854eb411b4bSmrg
8855eb411b4bSmrg    specs: fix The Open Group license text
8856eb411b4bSmrg    
8857eb411b4bSmrg    The warranty referred to the X Consortium
8858eb411b4bSmrg    
8859eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8860eb411b4bSmrg
8861eb411b4bSmrgcommit 08ac378423e7be72e340197ba5559a1a36f1783c
8862eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8863eb411b4bSmrgDate:   Mon Sep 19 08:03:39 2011 -0400
8864eb411b4bSmrg
8865eb411b4bSmrg    specs: The strandard name is still "X Consortium Standard"
8866eb411b4bSmrg    
8867eb411b4bSmrg    This spec, and fsproto spec, are the only two docs with a different
8868eb411b4bSmrg    standard name.
8869eb411b4bSmrg    
8870eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8871eb411b4bSmrg
8872eb411b4bSmrgcommit 8dfbeb1b1b1e8aa17f69d0a373155419a5f6a172
8873eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8874eb411b4bSmrgDate:   Sun Sep 18 13:22:34 2011 -0400
8875eb411b4bSmrg
8876eb411b4bSmrg    specs: support multi licensed copyright notice and license text
8877eb411b4bSmrg    
8878eb411b4bSmrg    For documentation having multiple licenses, the copyright and legalnotice
8879eb411b4bSmrg    elements sequence cannot instantiated multiple times.
8880eb411b4bSmrg    The copyright notice and license text are therefore coded inside a legalnotice
8881eb411b4bSmrg    element. The role attribute on the paragraph is used to allow styling of the
8882eb411b4bSmrg    copyright notice text which should not be italicized.
8883eb411b4bSmrg    
8884eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8885eb411b4bSmrg
8886eb411b4bSmrgcommit 278ca8947c1dabb2b819527dca0fa6190c034f67
8887eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8888eb411b4bSmrgDate:   Fri Sep 16 11:45:56 2011 -0400
8889eb411b4bSmrg
8890eb411b4bSmrg    docs: merge copyright holder under the same copyright notice
8891eb411b4bSmrg    
8892eb411b4bSmrg    As per the docbook markup dtd.
8893eb411b4bSmrg    
8894eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8895eb411b4bSmrg
8896eb411b4bSmrgcommit 7ff012bb433109a622ac122ade71669e842ebdcf
8897eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8898eb411b4bSmrgDate:   Fri Sep 16 10:09:57 2011 -0400
8899eb411b4bSmrg
8900eb411b4bSmrg    specs: handle multiple sets of copyright notice/license/warranty
8901eb411b4bSmrg    
8902eb411b4bSmrg    Docbook groups all the <copyright> elements together and all the
8903eb411b4bSmrg    <legalnotice> elements together.
8904eb411b4bSmrg    
8905eb411b4bSmrg    We cannot have a sequence:
8906eb411b4bSmrg    <copyright> <legalnotice> <copyright> <legalnotice> [...]
8907eb411b4bSmrg    
8908eb411b4bSmrg    A workaround, which was done in some documents, is to put the copyright
8909eb411b4bSmrg    notice inside the legalnotice in plain text without the <copyright> element.
8910eb411b4bSmrg    A formal paragraph title is added here which makes the copyright notice bold,
8911eb411b4bSmrg    and makes it much easier to locate.
8912eb411b4bSmrg    
8913eb411b4bSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
8914eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8915eb411b4bSmrg
8916eb411b4bSmrgcommit 4a550c71b8221c37b1a9378d5a170da9eaa03405
8917eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8918eb411b4bSmrgDate:   Wed Sep 14 15:55:42 2011 -0400
8919eb411b4bSmrg
8920eb411b4bSmrg    specs: remove orphan affiliation.
8921eb411b4bSmrg    
8922eb411b4bSmrg    Authors affiliation are correct.
8923eb411b4bSmrg    
8924eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8925eb411b4bSmrg
8926eb411b4bSmrgcommit 0cc02a6df65214560b7575e89cebee741d6d2469
8927eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8928eb411b4bSmrgDate:   Tue Sep 13 17:39:02 2011 -0400
8929eb411b4bSmrg
8930eb411b4bSmrg    specs: use appropriate markup for Copyright statements
8931eb411b4bSmrg    
8932eb411b4bSmrg    Also move <releaseinfo> to match order of appearance
8933eb411b4bSmrg    
8934eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8935eb411b4bSmrg
8936eb411b4bSmrgcommit afe13e19ebf0fc4e3460644164433af016f0add7
8937eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8938eb411b4bSmrgDate:   Mon Sep 12 16:54:45 2011 -0400
8939eb411b4bSmrg
8940eb411b4bSmrg    docs: use the &fullrelvers; entity to set X11 release information
8941eb411b4bSmrg    
8942eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8943eb411b4bSmrg
8944eb411b4bSmrgcommit 22a2153282db13e9d94881022b8c979539841a2c
8945eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8946eb411b4bSmrgDate:   Sun Sep 11 19:49:53 2011 -0400
8947eb411b4bSmrg
8948eb411b4bSmrg    docs: remove <productnumber> which is not used by default
8949eb411b4bSmrg    
8950eb411b4bSmrg    This element is not rendered by default on the title. A template
8951eb411b4bSmrg    customization is required to display it.
8952eb411b4bSmrg    X Window System does not have a product number.
8953eb411b4bSmrg    
8954eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8955eb411b4bSmrg
8956eb411b4bSmrgcommit 719f16570d9fcfd15247813ee51fa51ac8a6ff4c
8957eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8958eb411b4bSmrgDate:   Sun Sep 11 17:40:21 2011 -0400
8959eb411b4bSmrg
8960eb411b4bSmrg    docs: use the &fullrelvers; entity to set X11 release information
8961eb411b4bSmrg    
8962eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8963eb411b4bSmrg
8964eb411b4bSmrgcommit a6b2992f50b571d612ea9ade631c432c3099bc12
8965eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8966eb411b4bSmrgDate:   Sun Sep 11 17:38:42 2011 -0400
8967eb411b4bSmrg
8968eb411b4bSmrg    docs: remove orphan <affiliation>
8969eb411b4bSmrg    
8970eb411b4bSmrg    Somehow created during the conversion from roff. Unable to locate
8971eb411b4bSmrg    the author to which it belongs.
8972eb411b4bSmrg    
8973eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8974eb411b4bSmrg
8975eb411b4bSmrgcommit c7420060b6e47b8467ba50c796ec3c1bab090bc7
8976eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8977eb411b4bSmrgDate:   Sun Sep 11 17:38:05 2011 -0400
8978eb411b4bSmrg
8979eb411b4bSmrg    docs: remove <productnumber> which is not used by default
8980eb411b4bSmrg    
8981eb411b4bSmrg    This element is not rendered by default on the title. A template
8982eb411b4bSmrg    customization is required to display it.
8983eb411b4bSmrg    X Window System does not have a product number.
8984eb411b4bSmrg    
8985eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
8986eb411b4bSmrg
8987eb411b4bSmrgcommit 7d5b718c1edbc43c54b7001be548e515a49540ea
8988eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
8989eb411b4bSmrgDate:   Fri Sep 9 14:46:39 2011 -0400
8990eb411b4bSmrg
8991eb411b4bSmrg    docbook.am: embed css styles inside the HTML HEAD element
8992eb411b4bSmrg    
8993eb411b4bSmrg    Rather than referring to the external xorg.css stylesheet, embed the content
8994eb411b4bSmrg    of the file in the html output produced. This is accomplished by using
8995eb411b4bSmrg    version 1.10 of xorg-xhtml.xsl.
8996eb411b4bSmrg    
8997eb411b4bSmrg    This makes the whole html docs tree much more relocatable.
8998eb411b4bSmrg    In addition, it eliminates xorg.css as a runtime file which makes
8999eb411b4bSmrg    xorg-sgml-doctools a build time only package.
9000eb411b4bSmrg    
9001eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9002eb411b4bSmrg
9003eb411b4bSmrgcommit 24632d280491c465dfe208ef788815890892e326
9004eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9005eb411b4bSmrgDate:   Mon Sep 5 12:53:12 2011 -0400
9006eb411b4bSmrg
9007eb411b4bSmrg    compose: upgrade makefile to support olinking on chunked html
9008eb411b4bSmrg    
9009eb411b4bSmrg    The essential differences over the regular docbook.am are:
9010eb411b4bSmrg    Adding root.filename parameter for naming of chapters html files.
9011eb411b4bSmrg    Using xhtml xmlto format and xorg-chunk.xsl stylesheet
9012eb411b4bSmrg    Set olink.base.uri for pdf but not for chunked html
9013eb411b4bSmrg    Olink is not applicable to ps and txt formats.
9014eb411b4bSmrg    
9015eb411b4bSmrg    Html chapters are added to shelf_DATA as they are also installed.
9016eb411b4bSmrg    The xml is generated from a perl script and not distributed.
9017eb411b4bSmrg    
9018eb411b4bSmrg    Requires version 1.10 of xorg-sgml-doctools.
9019eb411b4bSmrg    
9020eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9021eb411b4bSmrg
9022eb411b4bSmrgcommit 93ab0a1c9a4f9094cf0c8e1c686130673e681798
9023eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9024eb411b4bSmrgDate:   Wed Aug 31 19:46:20 2011 -0400
9025eb411b4bSmrg
9026eb411b4bSmrg    docbook.am: refactor common flags for xmlto and xsltproc
9027eb411b4bSmrg    
9028eb411b4bSmrg    Maximize reuse and reduce risk of setting the wrong flag
9029eb411b4bSmrg    at the wrong place.
9030eb411b4bSmrg    
9031eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9032eb411b4bSmrg
9033eb411b4bSmrgcommit 85b725aa9ef76aeb5e94d42e0cd60f896da7ab97
9034eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9035eb411b4bSmrgDate:   Wed Aug 31 10:46:59 2011 -0400
9036eb411b4bSmrg
9037eb411b4bSmrg    docbook.am: add search path for local entities
9038eb411b4bSmrg    
9039eb411b4bSmrg    Currently, only $(XORG_SGML_PATH)/X11 is searched for xml entities.
9040eb411b4bSmrg    A module may want to add entities that apply only to itself and
9041eb411b4bSmrg    not to all modules, like the xserver does.
9042eb411b4bSmrg    
9043eb411b4bSmrg    This feature may or may not be used in this module, but all modules
9044eb411b4bSmrg    share a copy of docbook.am.
9045eb411b4bSmrg    
9046eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9047eb411b4bSmrg
9048eb411b4bSmrgcommit b5ed2d368d47f244d43d2513329fa2758bc4ef54
9049eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9050eb411b4bSmrgDate:   Thu Aug 25 14:39:20 2011 -0400
9051eb411b4bSmrg
9052eb411b4bSmrg    docbook.am: explicitly list xmlto flags for each target
9053eb411b4bSmrg    
9054eb411b4bSmrg    Normal evolution of make targets make it impractical to factor out
9055eb411b4bSmrg    common command flags for xmlto.
9056eb411b4bSmrg    
9057eb411b4bSmrg    The targets now list each command option as its presence or absence
9058eb411b4bSmrg    needs to be justified.
9059eb411b4bSmrg    
9060eb411b4bSmrg    xorg.ss is only needed by xmlto for html.
9061eb411b4bSmrg    masterdb is only needed by xmlto.
9062eb411b4bSmrg    img.src.path must not be used by html.
9063eb411b4bSmrg    xsltproc need to use customization layer xorg-*.xsl.
9064eb411b4bSmrg    txt format is not required to search masterdb.
9065eb411b4bSmrg    
9066eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9067eb411b4bSmrg
9068eb411b4bSmrgcommit d5b3605f3b0639452e892e9ff3afb18bb7442069
9069eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9070eb411b4bSmrgDate:   Thu Aug 25 13:12:49 2011 -0400
9071eb411b4bSmrg
9072eb411b4bSmrg    docbook.am: do not generate docs if docbook customization layer is missing
9073eb411b4bSmrg    
9074eb411b4bSmrg    The stylesheets used to be only about style, fonts or colors.
9075eb411b4bSmrg    Complex features are now used like olink and chunked html which
9076eb411b4bSmrg    may cause a build break when stylesheets are missing or lead to hard
9077eb411b4bSmrg    to find problem.
9078eb411b4bSmrg    
9079eb411b4bSmrg    Some modules may be built when stylesheets are present while others
9080eb411b4bSmrg    are built without. There is no requirement to build crippled docs.
9081eb411b4bSmrg    
9082eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9083eb411b4bSmrg
9084eb411b4bSmrgcommit 7f23c72c94d9d14122426b0d8c66054f1402769a
9085eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9086eb411b4bSmrgDate:   Fri Aug 5 14:33:32 2011 -0400
9087eb411b4bSmrg
9088eb411b4bSmrg    libX11 specs: review doclifter generated tables
9089eb411b4bSmrg    
9090eb411b4bSmrg    Many tables had a questionnable layout and some had information dropped.
9091eb411b4bSmrg    Each table was cross-referenced with a pre-docbook version
9092eb411b4bSmrg    to ensure semantic integrity.
9093eb411b4bSmrg    
9094eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9095eb411b4bSmrg
9096eb411b4bSmrgcommit 1efdbeb8cd08f443188ac783cbab6ba0654a66d6
9097eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9098eb411b4bSmrgDate:   Wed Jul 20 15:28:47 2011 -0400
9099eb411b4bSmrg
9100eb411b4bSmrg    credits.xml: remove toc from Acknowledgments
9101eb411b4bSmrg    
9102eb411b4bSmrg    There should be no toc for a simple preface with only one
9103eb411b4bSmrg    Acknowledgments section.
9104eb411b4bSmrg    
9105eb411b4bSmrg    Use <simplesect> markup rather than sect1.
9106eb411b4bSmrg    
9107eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9108eb411b4bSmrg
9109eb411b4bSmrgcommit 77cc17ed0817c1df3ac5feb9dc83a5ba5d021a4b
9110eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9111eb411b4bSmrgDate:   Thu Aug 4 19:59:37 2011 -0400
9112eb411b4bSmrg
9113eb411b4bSmrg    libX11 specs: move </para> above <varaiablelist>
9114eb411b4bSmrg    
9115eb411b4bSmrg    Many, but not all, function synopsis have a paragraph that
9116eb411b4bSmrg    nests the variable list. The code was generated by doclifter
9117eb411b4bSmrg    and there is no apprent reasons as to why it was done this way.
9118eb411b4bSmrg    Found while investigating a spacing issue.
9119eb411b4bSmrg    
9120eb411b4bSmrg    Before the patch:
9121eb411b4bSmrg    <para>Some blurb about the function
9122eb411b4bSmrg    <funcsynopsis>
9123eb411b4bSmrg    </funcsynopsis>
9124eb411b4bSmrg    <variablelist>
9125eb411b4bSmrg    </variablelist>
9126eb411b4bSmrg    </para>
9127eb411b4bSmrg    
9128eb411b4bSmrg    After the patch:
9129eb411b4bSmrg    <para>Some blurb about the function</para>
9130eb411b4bSmrg    <funcsynopsis>
9131eb411b4bSmrg    </funcsynopsis>
9132eb411b4bSmrg    <variablelist>
9133eb411b4bSmrg    </variablelist>
9134eb411b4bSmrg    
9135eb411b4bSmrg    There are no noticable differences when reading the doc
9136eb411b4bSmrg    other than than the removed few pixels of spacing between
9137eb411b4bSmrg    the function sysnopsis and the variable list block.
9138eb411b4bSmrg    
9139eb411b4bSmrg    In some cases, there are no "blurb about the fucntion"
9140eb411b4bSmrg    and the empty paragraph is removed.
9141eb411b4bSmrg    
9142eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9143eb411b4bSmrg
9144eb411b4bSmrgcommit 18595f0d8f95ff1c12e7b9f73bd4b30dda5c7168
9145eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9146eb411b4bSmrgDate:   Thu Jul 28 19:46:14 2011 -0400
9147eb411b4bSmrg
9148eb411b4bSmrg    compose specs: generate chunked html
9149eb411b4bSmrg    
9150eb411b4bSmrg    For large 600 page documents such as this one, chunked html
9151eb411b4bSmrg    provide faster browser load time and better navigation.
9152eb411b4bSmrg    
9153eb411b4bSmrg    Simply click on the locale of your choice in the toc and
9154eb411b4bSmrg    the browser loads just that one file. Being a DocBook,
9155eb411b4bSmrg    it benefits from all of the usual features and can be
9156eb411b4bSmrg    integrated with the rest of the documentation.
9157eb411b4bSmrg    
9158eb411b4bSmrg    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
9159eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9160eb411b4bSmrg
9161eb411b4bSmrgcommit 5cc8815b8a117cf0b6af37e7d55c5a420d9fff57
9162eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9163eb411b4bSmrgDate:   Thu Jun 23 15:16:47 2011 -0400
9164eb411b4bSmrg
9165eb411b4bSmrg    specs: build compose keys tables in specs/i18n/compose
9166eb411b4bSmrg    
9167eb411b4bSmrg    Build the tables article together with the rest of the specs.
9168eb411b4bSmrg    Make it transparent that the source in generated in nls.
9169eb411b4bSmrg    Reuse docbook.am and get all the features such as olink.
9170eb411b4bSmrg    
9171eb411b4bSmrg    The docbook article file stem and id must be the same. The new name
9172eb411b4bSmrg    for the main article is libX11-keys. The new installation location
9173eb411b4bSmrg    is $docdir/libX11/i18n/compose.
9174eb411b4bSmrg    
9175eb411b4bSmrg    The nls dir retains the role of generating the DocBook/XML source
9176eb411b4bSmrg    but does not build neither installs output formats or generated source.
9177eb411b4bSmrg    
9178eb411b4bSmrg    The tables article now has to specify that each included locale
9179eb411b4bSmrg    section is a dependency. It did not matter before as they were web links.
9180eb411b4bSmrg    
9181eb411b4bSmrg    The xorg-sgml-doctools masterdb shall be updated to include this new doc.
9182eb411b4bSmrg    Install location moved from doc/libX11/Compose to doc/libX11/i18n/compose.
9183eb411b4bSmrg    
9184eb411b4bSmrg    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
9185eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9186eb411b4bSmrg
9187eb411b4bSmrgcommit adebbe3856b4aee39c0c7af902c1dea847dd6d7c
9188eb411b4bSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
9189eb411b4bSmrgDate:   Thu Jun 23 14:43:31 2011 -0400
9190eb411b4bSmrg
9191eb411b4bSmrg    nls: restructure charts as a single article with sections
9192eb411b4bSmrg    
9193eb411b4bSmrg    Looks more like a real article with a toc rather than individual
9194eb411b4bSmrg    web pages. Looks nicer in pdf.
9195eb411b4bSmrg    
9196eb411b4bSmrg    Each locale is a "section" rather than an "article".
9197eb411b4bSmrg    Using XInclude to aggregate xml source files gets you the toc for free.
9198eb411b4bSmrg    
9199eb411b4bSmrg    The single document is over 600 pages while there were 62 separate
9200eb411b4bSmrg    documents previously. FOP version 1.0 is required to handle missing
9201eb411b4bSmrg    character like capital sharp s.
9202eb411b4bSmrg    
9203eb411b4bSmrg    Acked-by: Alan Coopersmith <alan.coopersmith@oracle.com>
9204eb411b4bSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
9205eb411b4bSmrg
92066cc2b21fSmrgcommit fc74dc12b1ff3c43e240e1a713316ce1bf525d61
92076cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
92086cc2b21fSmrgDate:   Thu Jul 28 19:32:40 2011 -0700
92096cc2b21fSmrg
92106cc2b21fSmrg    libX11 1.4.4
92116cc2b21fSmrg    
92126cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
92136cc2b21fSmrg
92146cc2b21fSmrgcommit ab1f30231755d99ed123af6873b981834640f01d
92156cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org>
92166cc2b21fSmrgDate:   Wed Jul 13 12:33:40 2011 -0600
92176cc2b21fSmrg
92186cc2b21fSmrg    Add id attributes to error codes to allow linking from other docs.
92196cc2b21fSmrg    
92206cc2b21fSmrg    Signed-off-by: Matt Dew <marcoz@osource.org>
92216cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
92226cc2b21fSmrg    Acked-by: Gaetan Nadon <memsize@videotron.ca>
92236cc2b21fSmrg
92246cc2b21fSmrgcommit 5c831fef402914ccf2ec14005c25be48852f119b
92256cc2b21fSmrgAuthor: David Coppa <dcoppa@gmail.com>
92266cc2b21fSmrgDate:   Tue Jul 12 10:05:47 2011 +0200
92276cc2b21fSmrg
92286cc2b21fSmrg    Fix libpthread linkage on OpenBSD.
92296cc2b21fSmrg    
92306cc2b21fSmrg    OpenBSD prefers to use the -pthread to fetch pthread libs when needed.
92316cc2b21fSmrg    
92326cc2b21fSmrg    Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
92336cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
92346cc2b21fSmrg
92356cc2b21fSmrgcommit 445b0b3efc04a74fc77cd3e483b25cfb5da82f12
92366cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
92376cc2b21fSmrgDate:   Wed Jun 22 20:46:26 2011 -0400
92386cc2b21fSmrg
92396cc2b21fSmrg    config: use XORG_WITH_PERL macro to replace custom program check
92406cc2b21fSmrg    
92416cc2b21fSmrg    New in version util-macros 1.15, the macro does the usual checking
92426cc2b21fSmrg    for program path and provides an interface for makefile variables.
92436cc2b21fSmrg    
92446cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
92456cc2b21fSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
92466cc2b21fSmrg
92476cc2b21fSmrgcommit 47d99a324db9232029a22dd523e3bc3ed0936aca
92486cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
92496cc2b21fSmrgDate:   Wed Jun 22 20:41:18 2011 -0400
92506cc2b21fSmrg
92516cc2b21fSmrg    config: update XORG_WITH_FOP macro usage
92526cc2b21fSmrg    
92536cc2b21fSmrg    A new feature to test for a minimum version has been added.
92546cc2b21fSmrg    
92556cc2b21fSmrg    The parameter position changed. Due to limited usage
92566cc2b21fSmrg    and requiring 1.15, it turns out to be backward compatible.
92576cc2b21fSmrg    
92586cc2b21fSmrg    There is no functional change to how docs are build.
92596cc2b21fSmrg    
92606cc2b21fSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
92616cc2b21fSmrg
92626cc2b21fSmrgcommit e659683ad51ecc26c989fbdefdfe20f83af2c5a5
92636cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
92646cc2b21fSmrgDate:   Wed Jun 22 11:48:49 2011 -0400
92656cc2b21fSmrg
92666cc2b21fSmrg    Remove unused xmlrules.in in specs, now in /nls
92676cc2b21fSmrg    
92686cc2b21fSmrg    The specs dir has been converted to docbook.am
92696cc2b21fSmrg    
92706cc2b21fSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
92716cc2b21fSmrg
92726cc2b21fSmrgcommit 9992092609bd83a0db778e9a9ac1e879d445e637
92736cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
92746cc2b21fSmrgDate:   Thu Mar 31 10:23:22 2011 -0400
92756cc2b21fSmrg
92766cc2b21fSmrg    nls: move xmlrules.in from specs to nls
92776cc2b21fSmrg    
92786cc2b21fSmrg    It is no longer used in the specs dir.
92796cc2b21fSmrg    Remove html from CLEANFILES as it breaks. Make do not clean directories
92806cc2b21fSmrg    Remove SUFFIXES as pattern rules are used rather than suffix rules.
92816cc2b21fSmrg    
92826cc2b21fSmrg    Other improvements are possible, the first priority is to move it out
92836cc2b21fSmrg    of the specs dir.
92846cc2b21fSmrg    
92856cc2b21fSmrg    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
92866cc2b21fSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
92876cc2b21fSmrg
92886cc2b21fSmrgcommit b370eeb0191b0e2a8bde2f03a442a8ca62e35d58
92896cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
92906cc2b21fSmrgDate:   Sun Jun 5 16:27:36 2011 -0400
92916cc2b21fSmrg
92926cc2b21fSmrg    Install target dbs alongside generated documents
92936cc2b21fSmrg    
92946cc2b21fSmrg    This matches a change in xorg-sgml-docs whereby the masterdb will look for
92956cc2b21fSmrg    the target dbs into the same location as the generated documents.
92966cc2b21fSmrg    
92976cc2b21fSmrg    The target dbs are now installed alongside the generated documents.
92986cc2b21fSmrg    Previously they are installed in $prefix/sgml/X11/dbs alongside masterdb which
92996cc2b21fSmrg    has the potential of installing outside the package prefix and cause
93006cc2b21fSmrg    distcheck to fail when user does not have write permission in this package.
93016cc2b21fSmrg    
93026cc2b21fSmrg    Requires XORG_CHECK_SGML_DOCTOOLS(1.8) which was released 2011-06-11
93036cc2b21fSmrg
93046cc2b21fSmrgcommit 4e741654b7e0a283779b8b4af5bb32e05b7fc678
93056cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
93066cc2b21fSmrgDate:   Tue Jun 7 18:41:30 2011 -0700
93076cc2b21fSmrg
93086cc2b21fSmrg    specs/libX11: Turn appendix references into links
93096cc2b21fSmrg    
93106cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93116cc2b21fSmrg
93126cc2b21fSmrgcommit a3d1152bc4b300f59ea2f08925739aab1ebfbc4e
93136cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
93146cc2b21fSmrgDate:   Tue Jun 7 18:37:41 2011 -0700
93156cc2b21fSmrg
93166cc2b21fSmrg    specs/libX11: Turn chapter references into links
93176cc2b21fSmrg    
93186cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93196cc2b21fSmrg
93206cc2b21fSmrgcommit d0cc949dfe44a41a71f19e4fe6c7547bb3d9bdbe
93216cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
93226cc2b21fSmrgDate:   Tue Jun 7 00:52:32 2011 -0700
93236cc2b21fSmrg
93246cc2b21fSmrg    specs/libX11: Turn many "see section ..." into links
93256cc2b21fSmrg    
93266cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93276cc2b21fSmrg
93286cc2b21fSmrgcommit 02d4c08dead2f266809b3f93ec72377783423ac7
93296cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
93306cc2b21fSmrgDate:   Sun Jun 5 22:50:37 2011 -0700
93316cc2b21fSmrg
93326cc2b21fSmrg    specs/libX11: Convert some header filenames to filename tags
93336cc2b21fSmrg    
93346cc2b21fSmrg    perl -i -p -e 's{^&lt;(.*\.h)&gt;\ *}{<filename class="headerfile">&lt;\1&gt;</filename>}' *.xml
93356cc2b21fSmrg    
93366cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93376cc2b21fSmrg
93386cc2b21fSmrgcommit c51a011329afa6e5b9d2b285349c132683ecf9fb
93396cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org>
93406cc2b21fSmrgDate:   Tue May 31 20:03:23 2011 -0600
93416cc2b21fSmrg
93426cc2b21fSmrg    Add id attributes to funcsynopsis to allow other docs to olink to them.
93436cc2b21fSmrg    
93446cc2b21fSmrg    Signed-off-by: Matt Dew <marcoz@osource.org>
93456cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93466cc2b21fSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
93476cc2b21fSmrg
93486cc2b21fSmrgcommit 6841260c8bb15404a0b4805bee3b0bdfec7176b3
93496cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
93506cc2b21fSmrgDate:   Fri May 27 20:14:36 2011 -0700
93516cc2b21fSmrg
93526cc2b21fSmrg    Bug 37624 - parameter x is missing from synopsis of XDrawString in libX11.html
93536cc2b21fSmrg    
93546cc2b21fSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=37624
93556cc2b21fSmrg    
93566cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93576cc2b21fSmrg
93586cc2b21fSmrgcommit 205af6a4e557c62a6395feadc1c89f4a9fe1713b
93596cc2b21fSmrgAuthor: Matt Dew <marcoz@osource.org>
93606cc2b21fSmrgDate:   Sat May 21 00:23:06 2011 -0600
93616cc2b21fSmrg
93626cc2b21fSmrg    Add id's to functions, to make clickable links.
93636cc2b21fSmrg    
93646cc2b21fSmrg    Signed-off-by: Matt Dew <marcoz@osource.org>
93656cc2b21fSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
93666cc2b21fSmrg
93676cc2b21fSmrgcommit 5c06bc594473f6ab234724cd90db32e7b57fe811
93686cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
93696cc2b21fSmrgDate:   Fri May 20 15:38:08 2011 -0700
93706cc2b21fSmrg
93716cc2b21fSmrg    libX11 spec: fix monospaced column alignment after deligaturization
93726cc2b21fSmrg    
93736cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
93746cc2b21fSmrg
93756cc2b21fSmrgcommit ef0019c714c273cb9b4ad3eba52d0b905109826b
93766cc2b21fSmrgAuthor: James Cloos <cloos@jhcloos.com>
93776cc2b21fSmrgDate:   Fri May 20 15:51:46 2011 -0400
93786cc2b21fSmrg
93796cc2b21fSmrg    Expand latin ligatures out to their NFKC equivalents.
93806cc2b21fSmrg    
93816cc2b21fSmrg    Ligatures should be done by the typesetting system.
93826cc2b21fSmrg    Manuscripts should not bother with them.
93836cc2b21fSmrg    
93846cc2b21fSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
93856cc2b21fSmrg    Reviewed-by: Keith Packard <keithp@keithp.com>
93866cc2b21fSmrg
93876cc2b21fSmrgcommit 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325
93886cc2b21fSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
93896cc2b21fSmrgDate:   Thu May 12 16:21:50 2011 +0200
93906cc2b21fSmrg
93916cc2b21fSmrg    XCB: Add more friendly error messages for common asserts
93926cc2b21fSmrg    
93936cc2b21fSmrg    This patch adds more friendly error messages for three common classes of
93946cc2b21fSmrg    assertion:
93956cc2b21fSmrg        - missed sequence numbers due to being griefed by another thread
93966cc2b21fSmrg        - unknown requests in queue due to being griefed by another thread
93976cc2b21fSmrg        - extensions dequeuing too much or too little reply data
93986cc2b21fSmrg    
93996cc2b21fSmrg    It adds error messages offering advice (e.g. call XInitThreads() first)
94006cc2b21fSmrg    on stderr, but still generates actual assertions.  Hopefully this means
94016cc2b21fSmrg    it's a little more Googleable and a little less frightening.
94026cc2b21fSmrg    
94036cc2b21fSmrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
94046cc2b21fSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
94056cc2b21fSmrg
94066cc2b21fSmrgcommit 159bf292477048b9a2f074735afc516f52c93d80
94076cc2b21fSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
94086cc2b21fSmrgDate:   Thu May 19 20:22:11 2011 -0400
94096cc2b21fSmrg
94106cc2b21fSmrg    Remove misplaced hyphens in libX11 DocBook/XML #37364
94116cc2b21fSmrg    
94126cc2b21fSmrg    Reported-by: Christopher Yeleighton <giecrilj@stegny.2a.pl>
94136cc2b21fSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
94146cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
94156cc2b21fSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
94166cc2b21fSmrg
94176cc2b21fSmrgcommit 0ee6d8247d397500ae183ef180b6ff21bceefa1c
94186cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
94196cc2b21fSmrgDate:   Tue May 17 20:49:59 2011 -0700
94206cc2b21fSmrg
94216cc2b21fSmrg    Fix man page and comment references to use XFreeModifiermap (lowercase map)
94226cc2b21fSmrg    
94236cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
94246cc2b21fSmrg
94256cc2b21fSmrgcommit 3275ec4ca8790d571b6a1902367ca5f68a2dc5fd
94266cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
94276cc2b21fSmrgDate:   Tue May 17 20:30:54 2011 -0700
94286cc2b21fSmrg
94296cc2b21fSmrg    XKB man pages: Fix coordinantes typo in multiple pages
94306cc2b21fSmrg    
94316cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
94326cc2b21fSmrg
94336cc2b21fSmrgcommit ca33a80606cd68e4572fa49ed6aaa1d1fc31a47f
94346cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
94356cc2b21fSmrgDate:   Tue May 17 16:27:32 2011 -0700
94366cc2b21fSmrg
94376cc2b21fSmrg    DisplayOfCCC.man: Fix typo "ClientWhitePointOfCC" -> "ClientWhitePointOfCCC"
94386cc2b21fSmrg    
94396cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
94406cc2b21fSmrg
94416cc2b21fSmrgcommit ae39d82b01359b07dd1fe092d867f79ea95a5438
94426cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
94436cc2b21fSmrgDate:   Sun May 8 09:08:07 2011 -0700
94446cc2b21fSmrg
94456cc2b21fSmrg    Silence clang static analysis warnings for SetReqLen
94466cc2b21fSmrg    
94476cc2b21fSmrg    This provides a simplified version of the SetReqLen macro when using clang for
94486cc2b21fSmrg    static analysis.  Prior to this change, we would see many Idempotent operation
94496cc2b21fSmrg    warnings inside this macro due to the common case of calling with arg2 and
94506cc2b21fSmrg    arg3 being the same variable.  This has no effect on code produced during
94516cc2b21fSmrg    compilation, but it silences a number of false positives in static analysis.
94526cc2b21fSmrg    
94536cc2b21fSmrg    XIPassiveGrab.c:170:5: warning: Assigned value is always the same as the existing value
94546cc2b21fSmrg        SetReqLen(req, num_modifiers, num_modifiers);
94556cc2b21fSmrg        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
94566cc2b21fSmrg    In file included from XIPassiveGrab.c:26:
94576cc2b21fSmrg    .../include/X11/Xlibint.h:580:8: note: instantiated from:
94586cc2b21fSmrg                n = badlen; \
94596cc2b21fSmrg                  ^
94606cc2b21fSmrg    
94616cc2b21fSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
94626cc2b21fSmrg
94636cc2b21fSmrgcommit 130af2bc02090ee2526adb2f9803fc07019b8f1f
94646cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
94656cc2b21fSmrgDate:   Wed May 4 15:34:31 2011 -0700
94666cc2b21fSmrg
94676cc2b21fSmrg    XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case
94686cc2b21fSmrg    
94696cc2b21fSmrg    XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds')
94706cc2b21fSmrg            _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1);
94716cc2b21fSmrg                                   ^~~~~~~
94726cc2b21fSmrg    
94736cc2b21fSmrg    Found-by: clang static analyzer
94746cc2b21fSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
94756cc2b21fSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
94766cc2b21fSmrg
94776cc2b21fSmrgcommit c987ef04bea345d5810e60cf6c53b747ddbe910e
94786cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
94796cc2b21fSmrgDate:   Wed May 4 15:31:17 2011 -0700
94806cc2b21fSmrg
94816cc2b21fSmrg    Revert "XKB: Avoid a possible NULL dereference"
94826cc2b21fSmrg    
94836cc2b21fSmrg    Sorry for the noise.  I accidentally pushed and didn't mean to. =(
94846cc2b21fSmrg    
94856cc2b21fSmrg    This reverts commit 4024091678ea07e0d898b798df9b29f3bf68eb08.
94866cc2b21fSmrg
94876cc2b21fSmrgcommit 46d04bc4e7ff6c86385002c929d8eb0310f737a8
94886cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
94896cc2b21fSmrgDate:   Wed May 4 11:35:31 2011 -0700
94906cc2b21fSmrg
94916cc2b21fSmrg    Dead code removal
94926cc2b21fSmrg    
94936cc2b21fSmrg    XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value
94946cc2b21fSmrg        for (key=row->keys,pos=k=0;k<row->num_keys;k++,key++) {
94956cc2b21fSmrg                           ~~~^~~~
94966cc2b21fSmrg    XKBGeom.c:115:5: warning: Value stored to 'pos' is never read
94976cc2b21fSmrg        pos= 0;
94986cc2b21fSmrg        ^    ~
94996cc2b21fSmrg    
95006cc2b21fSmrg    Found-by: clang static analyzer
95016cc2b21fSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
95026cc2b21fSmrg
95036cc2b21fSmrgcommit 4024091678ea07e0d898b798df9b29f3bf68eb08
95046cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
95056cc2b21fSmrgDate:   Wed May 4 11:34:53 2011 -0700
95066cc2b21fSmrg
95076cc2b21fSmrg    XKB: Avoid a possible NULL dereference
95086cc2b21fSmrg    
95096cc2b21fSmrg    XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds')
95106cc2b21fSmrg            _XkbCheckBounds(bounds,rbounds->x1,rbounds->y1);
95116cc2b21fSmrg                                   ^~~~~~~
95126cc2b21fSmrg    
95136cc2b21fSmrg    Found-by: clang static analyzer
95146cc2b21fSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
95156cc2b21fSmrg
95166cc2b21fSmrgcommit 626e5e34be55b7cf734d745bd40a7ee3359029f8
95176cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
95186cc2b21fSmrgDate:   Wed May 4 11:21:41 2011 -0700
95196cc2b21fSmrg
95206cc2b21fSmrg    Annotate _XIOError as _X_NORETURN
95216cc2b21fSmrg    
95226cc2b21fSmrg    Found-by: clang static analyzer
95236cc2b21fSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
95246cc2b21fSmrg
95256cc2b21fSmrgcommit d3d7896408b435ab42656398839ff4351a37724d
95266cc2b21fSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
95276cc2b21fSmrgDate:   Tue May 3 09:32:53 2011 -0700
95286cc2b21fSmrg
95296cc2b21fSmrg    clang analyzer: Don't warn about Xmalloc(0)
95306cc2b21fSmrg    
95316cc2b21fSmrg    This will prevent a number of false positives in where clang's
95326cc2b21fSmrg    static analysis reports about calls to malloc(0).
95336cc2b21fSmrg    
95346cc2b21fSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
95356cc2b21fSmrg
95366cc2b21fSmrgcommit 393921cf2188b2b0713cc157effaf17d0abab783
95376cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
95386cc2b21fSmrgDate:   Thu Apr 21 16:21:04 2011 -0700
95396cc2b21fSmrg
95406cc2b21fSmrg    Delete special case code to append "/sparcv9" to i18n module path
95416cc2b21fSmrg    
95426cc2b21fSmrg    Was triggered by defined(__sparcv9) so only built on Solaris SPARC 64-bit.
95436cc2b21fSmrg    Inconsistent with all other platforms, and a bit overcomplicated.
95446cc2b21fSmrg    
95456cc2b21fSmrg    Should anyone need to continue using that path, simply build with
95466cc2b21fSmrg    a #define POSTLOCALELIBDIR "sparcv9" to get the same result.
95476cc2b21fSmrg    
95486cc2b21fSmrg    Fixes Solaris bug 7038737:
95496cc2b21fSmrg     sparcv9 Xlib looking in wrong path for i18n loadable modules
95506cc2b21fSmrg    
95516cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
95526cc2b21fSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
95536cc2b21fSmrg
95546cc2b21fSmrgcommit b9ff9cfd5c56ae6d52c6503f7019756d9de29557
95556cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
95566cc2b21fSmrgDate:   Thu Apr 14 13:47:12 2011 -0700
95576cc2b21fSmrg
95586cc2b21fSmrg    specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244]
95596cc2b21fSmrg    
95606cc2b21fSmrg    Was incorrectly showing AllPlanes() instead when describing XOpenDisplay()
95616cc2b21fSmrg    
95626cc2b21fSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=36244
95636cc2b21fSmrg    
95646cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
95656cc2b21fSmrg
95666cc2b21fSmrgcommit b850adbdebcf500c659f85285d4d7374e15857f5
95676cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
95686cc2b21fSmrgDate:   Tue Apr 12 22:30:45 2011 -0700
95696cc2b21fSmrg
95706cc2b21fSmrg    Convert malloc(strlen()); strcpy() sets to strdup
95716cc2b21fSmrg    
95726cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
95736cc2b21fSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
95746cc2b21fSmrg
95756cc2b21fSmrgcommit 09194042d3dc44a463add1f7c122a68ffd5ef0bf
95766cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
95776cc2b21fSmrgDate:   Tue Apr 12 21:27:45 2011 -0700
95786cc2b21fSmrg
95796cc2b21fSmrg    Replace Xmalloc+bzero pairs with Xcalloc calls
95806cc2b21fSmrg    
95816cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
95826cc2b21fSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
95836cc2b21fSmrg
95846cc2b21fSmrgcommit ac1e2bff7121987fd768500a11d428d9fb9447c5
95856cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
95866cc2b21fSmrgDate:   Fri Mar 25 14:47:35 2011 +0200
95876cc2b21fSmrg
95886cc2b21fSmrg    om: Fix memory leaks on get_font_name error paths.
95896cc2b21fSmrg    
95906cc2b21fSmrg    While at it, remove unneeded check for NULL before Xfree.
95916cc2b21fSmrg    
95926cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
95936cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
95946cc2b21fSmrg
95956cc2b21fSmrgcommit 7c362e275c93c92b4e68fe862e73ee36665de703
95966cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
95976cc2b21fSmrgDate:   Wed Mar 30 15:06:10 2011 +0300
95986cc2b21fSmrg
95996cc2b21fSmrg    xcms: Fix memory leaks on LINEAR_RGB_InitSCCData error path.
96006cc2b21fSmrg    
96016cc2b21fSmrg    pScreenData is replaced when building per visual intensity tables. If
96026cc2b21fSmrg    malloc failed the old value of pScreenData (stored also in
96036cc2b21fSmrg    pScreenDefaultData) was being leaked. Also, property_return wasn't
96046cc2b21fSmrg    free'd in that case.
96056cc2b21fSmrg    
96066cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96076cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96086cc2b21fSmrg
96096cc2b21fSmrgcommit 5c810e2ac233e00f361549bafb9b59e8a9e05eff
96106cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96116cc2b21fSmrgDate:   Wed Mar 30 15:19:28 2011 +0300
96126cc2b21fSmrg
96136cc2b21fSmrg    xcms: Fix error on LINEAR_RGB_InitSCCData error path.
96146cc2b21fSmrg    
96156cc2b21fSmrg    Due to what looks like a copy & paste error, pScreenData->pBlueTbl would
96166cc2b21fSmrg    be accessed after being free'd.
96176cc2b21fSmrg    
96186cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96196cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96206cc2b21fSmrg
96216cc2b21fSmrgcommit d749948f9492fd9b61c74655a08e32c595e0e3a5
96226cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96236cc2b21fSmrgDate:   Fri Mar 25 16:06:15 2011 +0200
96246cc2b21fSmrg
96256cc2b21fSmrg    om: Fix potential memory leak in init_om.
96266cc2b21fSmrg    
96276cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96286cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96296cc2b21fSmrg
96306cc2b21fSmrgcommit d0749d6abdf0fd4d8b4e59b02dad8ccda3f10995
96316cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96326cc2b21fSmrgDate:   Thu Mar 24 20:40:41 2011 +0200
96336cc2b21fSmrg
96346cc2b21fSmrg    om: Fix memory leak on read_EncodingInfo error path.
96356cc2b21fSmrg    
96366cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96376cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96386cc2b21fSmrg
96396cc2b21fSmrgcommit 4b2e8d00f5b6969c14003ee8eb258b9f0e4dd7c3
96406cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96416cc2b21fSmrgDate:   Thu Mar 24 19:55:33 2011 +0200
96426cc2b21fSmrg
96436cc2b21fSmrg    Fix memory leaks on _XimCbDispatch error path.
96446cc2b21fSmrg    
96456cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96466cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96476cc2b21fSmrg
96486cc2b21fSmrgcommit 46e6c78b1a89e4774e0f7e0f4d6d0fd060c3897e
96496cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96506cc2b21fSmrgDate:   Thu Mar 24 19:52:05 2011 +0200
96516cc2b21fSmrg
96526cc2b21fSmrg    Fix memory leak on _XimCommitRecv error path.
96536cc2b21fSmrg    
96546cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96556cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96566cc2b21fSmrg
96576cc2b21fSmrgcommit 0ace642a2d47265f01450bfa2b2fd48eb6956a83
96586cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96596cc2b21fSmrgDate:   Thu Mar 24 19:48:44 2011 +0200
96606cc2b21fSmrg
96616cc2b21fSmrg    Fix memory leaks on _XimWriteCachedDefaultTree error paths.
96626cc2b21fSmrg    
96636cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96646cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96656cc2b21fSmrg
96666cc2b21fSmrgcommit e29be94edbb58b3b8dab545377a710d1f73b61e0
96676cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96686cc2b21fSmrgDate:   Thu Mar 24 19:42:36 2011 +0200
96696cc2b21fSmrg
96706cc2b21fSmrg    Fix memory leaks on _XimGetAttributeID error paths.
96716cc2b21fSmrg    
96726cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96736cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96746cc2b21fSmrg
96756cc2b21fSmrgcommit d144a50512466766f55ce61e3884925334b08f0d
96766cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96776cc2b21fSmrgDate:   Thu Mar 24 19:36:56 2011 +0200
96786cc2b21fSmrg
96796cc2b21fSmrg    Fix memory leaks on _XimProtoCreateIC error paths.
96806cc2b21fSmrg    
96816cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96826cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96836cc2b21fSmrg
96846cc2b21fSmrgcommit 6a452f7a98499508f753cb8a7c3f08bcbec736b9
96856cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96866cc2b21fSmrgDate:   Thu Mar 24 16:24:29 2011 +0200
96876cc2b21fSmrg
96886cc2b21fSmrg    Fix leaks in _XimEncodingNegotiation error paths.
96896cc2b21fSmrg    
96906cc2b21fSmrg    name_ptr and detail_ptr weren't free'd in some cases before returning
96916cc2b21fSmrg    False.
96926cc2b21fSmrg    
96936cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96946cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
96956cc2b21fSmrg
96966cc2b21fSmrgcommit 396e5a452a59c1f121220ba72167b720a863b30f
96976cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
96986cc2b21fSmrgDate:   Thu Mar 24 14:17:44 2011 +0200
96996cc2b21fSmrg
97006cc2b21fSmrg    FSWrap: fix potential leak in copy_string_list
97016cc2b21fSmrg    
97026cc2b21fSmrg    If list_count is 0, dst would be allocated and leaked.
97036cc2b21fSmrg    
97046cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
97056cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
97066cc2b21fSmrg
97076cc2b21fSmrgcommit 1a944260182bb552b954d69f6355c2760d4415df
97086cc2b21fSmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
97096cc2b21fSmrgDate:   Wed Mar 23 14:36:22 2011 +0200
97106cc2b21fSmrg
97116cc2b21fSmrg    Fix memory leak with broken bitmap files in XReadBitmapFileData
97126cc2b21fSmrg    
97136cc2b21fSmrg    Bitmap file data is read looping through the lines in the input file. If
97146cc2b21fSmrg    there is extra data after the bitmap, these lines will be processed and
97156cc2b21fSmrg    if this data represents another bitmap it will replace the one read
97166cc2b21fSmrg    before causing the memory allocated for bits to leak.
97176cc2b21fSmrg    
97186cc2b21fSmrg    This changes the code to stop processing the file once a bitmap was
97196cc2b21fSmrg    read.
97206cc2b21fSmrg    
97216cc2b21fSmrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
97226cc2b21fSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
97236cc2b21fSmrg
97246cc2b21fSmrgcommit c1c91e9a221a0e762d96cc12a3f189d6e59f4865
97256cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
97266cc2b21fSmrgDate:   Tue Apr 12 20:50:42 2011 -0700
97276cc2b21fSmrg
97286cc2b21fSmrg    Fix "attrinute" typo in comments in ximcp
97296cc2b21fSmrg    
97306cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
97316cc2b21fSmrg
97326cc2b21fSmrgcommit 7103b83a88edb9c93acfa68f3b556595b087baff
97336cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
97346cc2b21fSmrgDate:   Fri Apr 8 21:36:11 2011 -0700
97356cc2b21fSmrg
97366cc2b21fSmrg    Make doc install subdirectories more like the pre-docbook.am paths
97376cc2b21fSmrg    
97386cc2b21fSmrg    Haven't restored the "specs" path in the install path, but have restored
97396cc2b21fSmrg    libX11 & i18n subdirectories in the path for better logical grouping.
97406cc2b21fSmrg    
97416cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
97426cc2b21fSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
97436cc2b21fSmrg
97446cc2b21fSmrgcommit 9a1ae7a90f815a737a942e42d5eb1ffff400977b
97456cc2b21fSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
97466cc2b21fSmrgDate:   Fri Apr 8 13:24:28 2011 -0700
97476cc2b21fSmrg
97486cc2b21fSmrg    Install xml versions of specs even if HAVE_XMLTO is false
97496cc2b21fSmrg    
97506cc2b21fSmrg    Moves HAVE_XMLTO check into docbook.am, more closely matches behaviour
97516cc2b21fSmrg    from before docbook.am changes (commit e8c76407d2f6e3)
97526cc2b21fSmrg    
97536cc2b21fSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
97546cc2b21fSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
97556cc2b21fSmrg
975657f47464Smrgcommit a0ad0d5c99023bb9a8ce3944dbc3267f5265721e
975757f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
975857f47464SmrgDate:   Tue Apr 5 13:29:04 2011 -0700
975957f47464Smrg
976057f47464Smrg    libX11 1.4.3
976157f47464Smrg    
976257f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
976357f47464Smrg
976457f47464Smrgcommit e8c76407d2f6e3b11babdb84426e43e780c859c3
976557f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
976657f47464SmrgDate:   Fri Feb 25 09:23:54 2011 -0500
976757f47464Smrg
976857f47464Smrg    Documentation: add Docbook external references support
976957f47464Smrg    
977057f47464Smrg    When writing technical documentation, it is often necessary to cross
977157f47464Smrg    reference to other information. When that other information is not in the
977257f47464Smrg    current document, additional support is needed, namely <olink>.
977357f47464Smrg    
977457f47464Smrg    A new feature with version 1.7 of xorg-sgml-doctools adds references to
977557f47464Smrg    other documents within or outside this package.
977657f47464Smrg    
977757f47464Smrg    This patch adds technical support for this feature but does not change
977857f47464Smrg    the content of the documentation as seen by the end user.
977957f47464Smrg    
978057f47464Smrg    Each book or article must generate a database containing the href
978157f47464Smrg    of sections that can be referred to from another document. This database
978257f47464Smrg    is installed in DATAROOTDIR/sgml/X11/dbs. There is a requirement that
978357f47464Smrg    the value of DATAROOTDIR for xorg-sgml-doctools and for the package
978457f47464Smrg    documentation is the same. This forms a virtual document tree.
978557f47464Smrg    
978657f47464Smrg    This database is consulted by other documents while they are being generated
978757f47464Smrg    in order to fulfill the missing information for linking.
978857f47464Smrg    Refer to the xorg-sgml-doctools for further technical information.
978957f47464Smrg    
979057f47464Smrg    Co-authored-by: Matt Dew <marcoz@osource.org>
979157f47464Smrg    
979257f47464Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
979357f47464Smrg
979457f47464Smrgcommit 25eb76b3d2726f2f1de759901971ae53b2539dc4
979557f47464SmrgAuthor: Harshula Jayasuriya <harshula@gmail.com>
979657f47464SmrgDate:   Mon Mar 21 14:49:37 2011 +0000
979757f47464Smrg
979857f47464Smrg    Add #define XK_SINHALA
979957f47464Smrg    
980057f47464Smrg    Add #define XK_SINHALA so that the Sinhala keysyms can be used by
980157f47464Smrg    the lk xkb keymap.
980257f47464Smrg    
980357f47464Smrg    Signed-off-by: Harshula Jayasuriya <harshula@gmail.com>
980457f47464Smrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
980557f47464Smrg
980657f47464Smrgcommit db8b20b789112717ac0590b40f0b4dc2171797d0
980757f47464SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
980857f47464SmrgDate:   Thu Mar 17 16:15:00 2011 -0700
980957f47464Smrg
981057f47464Smrg    configure.ac: Bump version to 1.4.2
981157f47464Smrg    
981257f47464Smrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
981357f47464Smrg
981457f47464Smrgcommit 83e1ba59c48c79f8b0a7e7aa0b9c9cfd84fa403d
981557f47464SmrgAuthor: Jamey Sharp <jamey@minilop.net>
981657f47464SmrgDate:   Tue Mar 15 16:48:07 2011 -0700
981757f47464Smrg
981857f47464Smrg    Call _XErrorFunction without holding the Display lock.
981957f47464Smrg    
982057f47464Smrg    Historically, Xlib dropped the Display lock around the upcall to any
982157f47464Smrg    user-supplied _XErrorFunction, but somewhere along the way I quit doing
982257f47464Smrg    that if you built with XCB. The reasons are lost somewhere in the
982357f47464Smrg    pre-git history of Xlib/XCB, and I can't now see any reason to hold the
982457f47464Smrg    lock.
982557f47464Smrg    
982657f47464Smrg    The documentation for XSetErrorHandler still applies though:
982757f47464Smrg    
982857f47464Smrg        Because this condition is not assumed to be fatal, it is acceptable
982957f47464Smrg        for your error handler to return; the returned value is ignored.
983057f47464Smrg        However, the error handler should not call any functions (directly
983157f47464Smrg        or indirectly) on the display that will generate protocol requests
983257f47464Smrg        or that will look for input events.
983357f47464Smrg    
983457f47464Smrg    So while you are now once again permitted to re-enter Xlib from the
983557f47464Smrg    error handler, you're only allowed to call non-protocol functions.
983657f47464Smrg    
983757f47464Smrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
983857f47464Smrg
983957f47464Smrgcommit fd85aca7a616c595fc17b2520f84316a11e8906f
984057f47464SmrgAuthor: Jamey Sharp <jamey@minilop.net>
984157f47464SmrgDate:   Mon Mar 14 14:45:35 2011 -0700
984257f47464Smrg
984357f47464Smrg    Ignore user locks after sleeping in _XReply and _XReadEvents.
984457f47464Smrg    
984557f47464Smrg    This bug appears as a hang in applications that wait for replies from
984657f47464Smrg    multiple threads, where one such thread has taken a user lock using
984757f47464Smrg    XLockDisplay.
984857f47464Smrg    
984957f47464Smrg    Prior to this fix, the code could deadlock in this way: If thread 1 goes
985057f47464Smrg    to sleep waiting for a reply, and then thread 2 takes a user lock and
985157f47464Smrg    waits for a reply, then thread 2 will wait for thread 1 to process its
985257f47464Smrg    reply (because responses must be processed in order), but thread 1 will
985357f47464Smrg    wait for thread 2 to drop its user lock.
985457f47464Smrg    
985557f47464Smrg    Fixed by making thread 1 not wait for thread 2 to drop its user lock.
985657f47464Smrg    This makes the semantics of user locks hard to define, but they were
985757f47464Smrg    already hard to define. The new behavior appears to be consistent with
985857f47464Smrg    the way Xlib worked historically, anyway.
985957f47464Smrg    
986057f47464Smrg    Fixes: http://lists.freedesktop.org/archives/xcb/2011-March/006802.html
986157f47464Smrg    
986257f47464Smrg    There was a similar potential for deadlock in _XReadEvents, fixed the
986357f47464Smrg    same way, with the same caveats about user-lock semantics.
986457f47464Smrg    
986557f47464Smrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
986657f47464Smrg
986757f47464Smrgcommit 690f8bffd48a4e7e74298360ddd0431dc95dcd3f
9868e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
986957f47464SmrgDate:   Tue Jan 18 15:58:20 2011 +0200
987057f47464Smrg
987157f47464Smrg    xkb: XkbPropertyPtr determined allocation success from wrong variables
987257f47464Smrg    
987357f47464Smrg    Cannot reach dead statement "return NULL;"
987457f47464Smrg    
987557f47464Smrg    Check for the NULLness of prop->name and prop->value instead of
987657f47464Smrg    name and value, which was checked earlier anyway. Decided against
987757f47464Smrg    using strdup due to curious memory allocation functions and the
987857f47464Smrg    rest of the xkb not using it either.
987957f47464Smrg    
988057f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
988157f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
988257f47464Smrg
988357f47464Smrgcommit 6a4d027284e7bb5dd458157947bbb1ff580ad071
9884e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
988557f47464SmrgDate:   Mon Jan 10 16:37:22 2011 +0200
988657f47464Smrg
988757f47464Smrg    keyBind: Use Xcalloc to initialize allocated _XKeytrans
988857f47464Smrg    
988957f47464Smrg    Using uninitialized value "p->modifiers"
989057f47464Smrg    
989157f47464Smrg    Small fix by using Xcalloc instead of Xmalloc
989257f47464Smrg    
989357f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
989457f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
989557f47464Smrg
989657f47464Smrgcommit b993d73bb3214ecc24646f5427c8003b816c6921
9897e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
989857f47464SmrgDate:   Mon Jan 10 16:22:45 2011 +0200
989957f47464Smrg
990057f47464Smrg    im/ximcp: release modifiermap before returning
990157f47464Smrg    
990257f47464Smrg    Variable "map" goes out of scope
990357f47464Smrg    
990457f47464Smrg    Release modifiermap before returning. Reordered code to call
990557f47464Smrg    XGetModifierMapping after the first return from the function.
990657f47464Smrg    
990757f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
990857f47464Smrg    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
990957f47464Smrg
991057f47464Smrgcommit 807a7fc0354f2212dfa5ff1f9e4ede56d8e69ef4
991157f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
991257f47464SmrgDate:   Fri Feb 25 09:23:54 2011 -0500
991357f47464Smrg
991457f47464Smrg    Docbook: change the book id to match the xml file basename
991557f47464Smrg    
991657f47464Smrg    This is required for the up-coming external references support.
991757f47464Smrg    
991857f47464Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
991957f47464Smrg
992057f47464Smrgcommit 40812b53ff5fe548f6eaf43ba4c8781cb43dab43
992157f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
992257f47464SmrgDate:   Mon Feb 21 21:54:17 2011 +0100
992357f47464Smrg
992457f47464Smrg    Make the Local XIM request key releases for braille
992557f47464Smrg    
992657f47464Smrg    Braille chords management needs key release events. We need to explicitly
992757f47464Smrg    request then, else GTK would not pass them throught XFilterEvent and braille
992857f47464Smrg    wouldn't work.
992957f47464Smrg    
993057f47464Smrg    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
993157f47464Smrg
993257f47464Smrgcommit c97c42c49cd5095462abecdf908b416fb0b540b6
993357f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
993457f47464SmrgDate:   Mon Feb 21 17:27:38 2011 +0100
993557f47464Smrg
993657f47464Smrg    Match braille patterns with compose tree
993757f47464Smrg    
993857f47464Smrg    Braille patterns should also be usable in Compose.  This combines the
993957f47464Smrg    implementation of braille chords and compose tree: only emit the braille
994057f47464Smrg    pattern if it can not be found in the compose tree, if any.
994157f47464Smrg    
994257f47464Smrg    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
994357f47464Smrg
994457f47464Smrgcommit 0c6ca565d7c8a47ef3ea823569a9ca5298a5307d
994557f47464SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
994657f47464SmrgDate:   Mon Feb 21 15:56:54 2011 +0100
994757f47464Smrg
994857f47464Smrg    Fix status reporting for braille patterns
994957f47464Smrg    
995057f47464Smrg    _XimLocalMbLookupString can return a braille keysym even if _Xlcwctomb can't
995157f47464Smrg    convert to the current MB charset.
995257f47464Smrg    _XimLocalUtf8LookupString needs to set the braille keysym and status too.
995357f47464Smrg    
995457f47464Smrg    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
995557f47464Smrg
995657f47464Smrgcommit 993abe751f4141f54d8d28b8b73588a1c9085970
995757f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
995857f47464SmrgDate:   Fri Feb 11 14:49:17 2011 -0800
995957f47464Smrg
996057f47464Smrg    Clean up memory when first XCreateRegion succeeds and second fails
996157f47464Smrg    
996257f47464Smrg    Error: Memory leak (CWE 401)
996357f47464Smrg       Memory leak of pointer 's' allocated with XCreateRegion()
996457f47464Smrg            at line 387 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XShrinkRegion'.
996557f47464Smrg              's' allocated at line 387 with XCreateRegion().
996657f47464Smrg              s leaks when s != 0 at line 387.
996757f47464Smrg    Error: Memory leak (CWE 401)
996857f47464Smrg       Memory leak of pointer 'tra' allocated with XCreateRegion()
996957f47464Smrg            at line 1452 of /export/alanc/X.Org/sx86-gcc/lib/libX11/src/Region.c in function 'XXorRegion'.
997057f47464Smrg              'tra' allocated at line 1451 with XCreateRegion().
997157f47464Smrg              tra leaks when tra != 0 at line 1451.
997257f47464Smrg    
997357f47464Smrg    [ This bug was found by the Parfait 0.3.6 bug checking tool.
997457f47464Smrg      For more information see http://labs.oracle.com/projects/parfait/ ]
997557f47464Smrg    
997657f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
997757f47464Smrg
997857f47464Smrgcommit 6ac417cea1136a3617f5e40f4b106aaa3f48d6c2
997957f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
998057f47464SmrgDate:   Fri Feb 11 14:20:24 2011 -0800
998157f47464Smrg
998257f47464Smrg    ximcp: Prevent memory leak & double free if multiple %L in string
998357f47464Smrg    
998457f47464Smrg    In the highly unlikely event that TransFileName was passed a path
998557f47464Smrg    containing multiple %L entries, for each entry it would call
998657f47464Smrg    _XlcFileName, leaking the previous results, and then for each entry it
998757f47464Smrg    would copy from that pointer and free it, resulting in invalid pointers
998857f47464Smrg    & possible double frees for each use after the first one freed it.
998957f47464Smrg    
999057f47464Smrg    Error: Use after free (CWE 416)
999157f47464Smrg       Use after free of pointer 'lcCompose'
999257f47464Smrg            at line 358 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
999357f47464Smrg              Previously freed at line 360 with free.
999457f47464Smrg    Error: Use after free (CWE 416)
999557f47464Smrg       Use after free of pointer 'lcCompose'
999657f47464Smrg            at line 359 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
999757f47464Smrg              Previously freed at line 360 with free.
999857f47464Smrg    Error: Double free (CWE 415)
999957f47464Smrg       Double free of pointer 'lcCompose'
1000057f47464Smrg            at line 360 of modules/im/ximcp/imLcPrs.c in function 'TransFileName'.
1000157f47464Smrg              Previously freed at line 360 with free.
1000257f47464Smrg    
1000357f47464Smrg    [ This bug was found by the Parfait 0.3.6 bug checking tool.
1000457f47464Smrg      For more information see http://labs.oracle.com/projects/parfait/ ]
1000557f47464Smrg    
1000657f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1000757f47464Smrg
1000857f47464Smrgcommit 502d414118c97d35a44f8e295709682022876331
10009e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1001057f47464SmrgDate:   Thu Feb 3 17:08:57 2011 +0200
1001157f47464Smrg
1001257f47464Smrg    xcms/cmsProp: don't deal with uninitialized values, fail instead
1001357f47464Smrg    
1001457f47464Smrg    Properly handle the return value of XGetWindowProperty by considering
1001557f47464Smrg    if after the loop as well.
1001657f47464Smrg    
1001757f47464Smrg    Using freed pointer "prop_ret"
1001857f47464Smrg    
1001957f47464Smrg    There were numerous things wrong in how this function interacted with
1002057f47464Smrg    XGetWindowProperty.
1002157f47464Smrg    
1002257f47464Smrg    None of the local variables were initialized and remained that way if
1002357f47464Smrg    the call to XGetWindowProperty returned 1 (not Succeed). That doesn't
1002457f47464Smrg    result in after_ret being initialized in which case if it happens to
1002557f47464Smrg    be 0, the loop was exited. In that case format_ret and nitems_ret were
1002657f47464Smrg    uninitialized and the function might return with success (but with
1002757f47464Smrg    uninitialized pointer in prop_ret) or XcmsFailure.
1002857f47464Smrg    
1002957f47464Smrg    As the buffer enlarging code was called only when XGetWindowProperty
1003057f47464Smrg    failed (returned not Success), after_ret would not have been
1003157f47464Smrg    initialized. It would have been initialized only if the
1003257f47464Smrg    XGetWindowProperty has returned Success earlier, but in that case the
1003357f47464Smrg    code fragment would not have been reached.
1003457f47464Smrg    
1003557f47464Smrg    This patch alters the function to return XcmsFailure if the call to
1003657f47464Smrg    XGetWindowProperty fails.
1003757f47464Smrg    
1003857f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1003957f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1004057f47464Smrg    Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
1004157f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1004257f47464Smrg
1004357f47464Smrgcommit c37e278993b9e5b3d7025ef4c434373a011996ec
1004457f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1004557f47464SmrgDate:   Mon Jan 31 14:02:07 2011 +0200
1004657f47464Smrg
1004757f47464Smrg    xcms/LRGB: don't double-free property_return
1004857f47464Smrg    
1004957f47464Smrg    property_return was free'd before and in the case the conditional is true,
1005057f47464Smrg    the call to XcmsGetProperty failed which means that property_return wasn't
1005157f47464Smrg    set so there is no need to free it again.
1005257f47464Smrg    
1005357f47464Smrg    Double free of pointer "property_return" in call to "free"
1005457f47464Smrg    
1005557f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1005657f47464Smrg    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1005757f47464Smrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1005857f47464Smrg
1005957f47464Smrgcommit 50f4107811249806718a100f9d34f996c58e5e25
1006057f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1006157f47464SmrgDate:   Wed Feb 2 08:58:45 2011 -0800
1006257f47464Smrg
1006357f47464Smrg    Xrm.c: ReadInFile: refactor fstat error handling
1006457f47464Smrg    
1006557f47464Smrg    We can simplify the fstat failure case now that the GetFileSize macro
1006657f47464Smrg    has been expanded inline.
1006757f47464Smrg    
1006857f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1006957f47464Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
1007057f47464Smrg
1007157f47464Smrgcommit 5e9c40fcb5da43c9fdacf12967d090bf202daf2a
1007257f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1007357f47464SmrgDate:   Wed Feb 2 08:56:00 2011 -0800
1007457f47464Smrg
1007557f47464Smrg    Expand GetSizeOfFile() macro at the one place it's called
1007657f47464Smrg    
1007757f47464Smrg    Removes XrmI.h header that only contained this single macro
1007857f47464Smrg    
1007957f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1008057f47464Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
1008157f47464Smrg
1008257f47464Smrgcommit 450e17422c0e374d25c643f343ea268cec68da38
10083e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1008457f47464SmrgDate:   Mon Jan 31 14:01:57 2011 +0200
1008557f47464Smrg
1008657f47464Smrg    XlibInt: Use strncpy+zero termination instead of strcpy to enforce buffer size
1008757f47464Smrg    
1008857f47464Smrg    Possible overrun of 8192 byte fixed size buffer "buffer" by copying
1008957f47464Smrg    "ext->name" without length checking
1009057f47464Smrg    
1009157f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1009257f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1009357f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1009457f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1009557f47464Smrg
1009657f47464Smrgcommit e2566e43b02d2d7b7c1c3bb7db7c5ae81c1245fa
1009757f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1009857f47464SmrgDate:   Mon Jan 31 14:02:13 2011 +0200
1009957f47464Smrg
1010057f47464Smrg    lc/def/lcDefConv: Use Xcalloc to avoid use of uninitialized memory
1010157f47464Smrg    
1010257f47464Smrg    Fixed by zero'ing conv on allocation with Xcalloc. Then
1010357f47464Smrg    close_converter works properly.
1010457f47464Smrg    
1010557f47464Smrg    Using uninitialized value "conv->state" in call to function "close_converter"
1010657f47464Smrg    
1010757f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1010857f47464Smrg    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1010957f47464Smrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1011057f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1011157f47464Smrg
1011257f47464Smrgcommit 03f81ad8fb9783986cf9b17661dd31e95c396681
10113e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1011457f47464SmrgDate:   Mon Jan 31 14:02:16 2011 +0200
1011557f47464Smrg
1011657f47464Smrg    xlibi18n/lcFile: Removed superfluous check for NULL target_dir
1011757f47464Smrg    
1011857f47464Smrg    The situation is already handled before this code.
1011957f47464Smrg    
1012057f47464Smrg    Cannot reach dead expression "0U" inside statement "if (1U + (target_dir ? strl..."
1012157f47464Smrg    
1012257f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1012357f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1012457f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1012557f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1012657f47464Smrg
1012757f47464Smrgcommit 1346b9ea3b3882201ff8c3ee462ff4b0d4edf639
10128e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1012957f47464SmrgDate:   Mon Jan 31 14:02:15 2011 +0200
1013057f47464Smrg
1013157f47464Smrg    ximcp/imLckup: Handle negative return value from _Xlcwctomb
1013257f47464Smrg    
1013357f47464Smrg    Fixed by negative value to memcpy by checking for the negative return
1013457f47464Smrg    value of _Xlcwctomb and returning 0/XLookupNone in that case.
1013557f47464Smrg    
1013657f47464Smrg    a negative value was passed to memcpy
1013757f47464Smrg    
1013857f47464Smrg    Unfortunately the other return values for *status don't fit into the
1013957f47464Smrg    error (which appears to indicate some internal error or running out of
1014057f47464Smrg    memory). The other valid status codes are XBufferOverflow,
1014157f47464Smrg    XLookupNone, XLookupChars, XLookupKeySym, and XLookupBoth. Each of
1014257f47464Smrg    these has a specific meaning attached.
1014357f47464Smrg    
1014457f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1014557f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1014657f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1014757f47464Smrg
1014857f47464Smrgcommit 79a5c86e020f08cc108184298a72e2777036de39
10149e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1015057f47464SmrgDate:   Mon Jan 31 14:02:14 2011 +0200
1015157f47464Smrg
1015257f47464Smrg    ximcp/imTrX: Handle failing XGetWindowProperty
1015357f47464Smrg    
1015457f47464Smrg    Checked return value of XGetWindowProperty and return false if it fails.
1015557f47464Smrg    
1015657f47464Smrg    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
1015757f47464Smrg    
1015857f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1015957f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1016057f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1016157f47464Smrg
1016257f47464Smrgcommit 2ace8d5c89c8f6d9f42b4068f4b508ca28f0ced1
1016357f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1016457f47464SmrgDate:   Mon Jan 31 14:02:12 2011 +0200
1016557f47464Smrg
1016657f47464Smrg    XlibInt: info_list->watch_data was reallocated, but result was discarded
1016757f47464Smrg    
1016857f47464Smrg    info_list->watch_data was being reallocated, but the return value of
1016957f47464Smrg    the reallocation was stored only into a local variable. This might
1017057f47464Smrg    cause some funky behavior and crashes.
1017157f47464Smrg    
1017257f47464Smrg    Variable "wd_array" goes out of scope
1017357f47464Smrg    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)))"
1017457f47464Smrg    
1017557f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1017657f47464Smrg    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1017757f47464Smrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1017857f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1017957f47464Smrg
1018057f47464Smrgcommit 2b16a7e683e355c9746290b2cee2fd0dd2bf342a
10181e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1018257f47464SmrgDate:   Mon Jan 31 14:02:10 2011 +0200
1018357f47464Smrg
1018457f47464Smrg    GetProp: Zero-initialized error so its resourceID field is initialized
1018557f47464Smrg    
1018657f47464Smrg    Using uninitialized value "error.resourceID" in call to function "_XError"
1018757f47464Smrg    
1018857f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1018957f47464Smrg    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1019057f47464Smrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1019157f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1019257f47464Smrg
1019357f47464Smrgcommit 85e9f38e016137f0ff2791eb0d092ab027382d2c
1019457f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1019557f47464SmrgDate:   Tue Feb 1 11:07:25 2011 +0200
1019657f47464Smrg
1019757f47464Smrg    xcms/LRGB: Add a label for freeing property_return.
1019857f47464Smrg    
1019957f47464Smrg    The rest of the code uses goto's to free memory allocated later
1020057f47464Smrg    and prevent memory leaks, but there were several paths were
1020157f47464Smrg    property_return was free'd just before a goto.
1020257f47464Smrg    
1020357f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1020457f47464Smrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1020557f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1020657f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1020757f47464Smrg
1020857f47464Smrgcommit 3161dc57d4e9b70f852f05e5e474455e121b06ab
1020957f47464SmrgAuthor: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1021057f47464SmrgDate:   Mon Jan 31 14:02:08 2011 +0200
1021157f47464Smrg
1021257f47464Smrg    xcms/LRGB: Fix potential resource leak.
1021357f47464Smrg    
1021457f47464Smrg    property_return was not free'd if the allocation of pRedTbl failed.
1021557f47464Smrg    
1021657f47464Smrg    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1021757f47464Smrg    Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1021857f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1021957f47464Smrg
1022057f47464Smrgcommit be3e6c205d94dedc1cdebf5d17b987f0f828377a
10221e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1022257f47464SmrgDate:   Mon Jan 31 14:02:06 2011 +0200
1022357f47464Smrg
1022457f47464Smrg    Xrm: Handle the extremely unlikely situation of fstat failing
1022557f47464Smrg    
1022657f47464Smrg    Tracked variable "size" was passed to a negative sink.
1022757f47464Smrg    
1022857f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1022957f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1023057f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1023157f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1023257f47464Smrg
1023357f47464Smrgcommit 3fae16c64d6ef76fd4a25a54c7f7de76596457db
10234e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1023557f47464SmrgDate:   Mon Jan 31 14:02:05 2011 +0200
1023657f47464Smrg
1023757f47464Smrg    Xrm: NEWTABLE had a memory leak after a memory allocation error
1023857f47464Smrg    
1023957f47464Smrg    The NEWTABLE macro missed freeing its allocated memory on subsequent
1024057f47464Smrg    memory allocation errors. Added call to Xfree.
1024157f47464Smrg    
1024257f47464Smrg    Variable "table" goes out of scope
1024357f47464Smrg    
1024457f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1024557f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1024657f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1024757f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1024857f47464Smrg
1024957f47464Smrgcommit 7110ac653349a23c80c365f11f6270dc27c8975a
10250e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1025157f47464SmrgDate:   Mon Jan 31 14:02:03 2011 +0200
1025257f47464Smrg
1025357f47464Smrg    ImUtil: Handle a memory leak in one early return branch
1025457f47464Smrg    
1025557f47464Smrg    Fixed memory leak by adding Xfree for image
1025657f47464Smrg    
1025757f47464Smrg    Variable "image" goes out of scope
1025857f47464Smrg    
1025957f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1026057f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1026157f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1026257f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1026357f47464Smrg
1026457f47464Smrgcommit d695f5da9f5b778e54b6987d9177048e32818c4d
10265e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1026657f47464SmrgDate:   Mon Jan 31 14:02:01 2011 +0200
1026757f47464Smrg
1026857f47464Smrg    ximcp/imRm: Handle leaking colormap_ret
1026957f47464Smrg    
1027057f47464Smrg    Fixed memory leak by adding Xfree for colormap_ret
1027157f47464Smrg    
1027257f47464Smrg    Variable "colormap_ret" goes out of scope
1027357f47464Smrg    
1027457f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1027557f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1027657f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1027757f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1027857f47464Smrg
1027957f47464Smrgcommit f9eda19d08c1ea0973dfe0bc10a2519d6fd26cc7
10280e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1028157f47464SmrgDate:   Mon Jan 31 14:01:59 2011 +0200
1028257f47464Smrg
1028357f47464Smrg    ximcp/imRmAttr: Handle leaking missing_list
1028457f47464Smrg    
1028557f47464Smrg    Fixed memory leak by adding Xfree and initializing missing_list with NULL
1028657f47464Smrg    
1028757f47464Smrg    Variable "missing_list" goes out of scope
1028857f47464Smrg    
1028957f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1029057f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1029157f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1029257f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1029357f47464Smrg
1029457f47464Smrgcommit 3183269e0979c9dbce9d55d9e03937897dc9fb3b
10295e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1029657f47464SmrgDate:   Mon Jan 31 14:01:58 2011 +0200
1029757f47464Smrg
1029857f47464Smrg    ximcp/imRmAttr: Handle leaking colormap_ret
1029957f47464Smrg    
1030057f47464Smrg    XFree colormap_ret and initialize it when appropriate.
1030157f47464Smrg    
1030257f47464Smrg    Variable "colormap_ret" goes out of scope
1030357f47464Smrg    
1030457f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1030557f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1030657f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1030757f47464Smrg
1030857f47464Smrgcommit f66a032a937030f2d9baa81744d36dc585bb085c
10309e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1031057f47464SmrgDate:   Mon Jan 31 14:01:56 2011 +0200
1031157f47464Smrg
1031257f47464Smrg    xlibi18n/lcGeneric: Initialize uninitialized local variable
1031357f47464Smrg    
1031457f47464Smrg    Using uninitialized value "new"
1031557f47464Smrg    
1031657f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1031757f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1031857f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1031957f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1032057f47464Smrg
1032157f47464Smrgcommit d0266e06d38110ec908ca28379014eff743630b7
10322e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1032357f47464SmrgDate:   Mon Jan 31 14:01:54 2011 +0200
1032457f47464Smrg
1032557f47464Smrg    xcmx/cmxColNm: Removed unused assignments to pBuf (in two functions)
1032657f47464Smrg    
1032757f47464Smrg    Pointer "pBuf" returned from "fgets(buf, 256, stream)" is never used
1032857f47464Smrg    
1032957f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1033057f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1033157f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1033257f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1033357f47464Smrg
1033457f47464Smrgcommit cc686655d7bfdeab8b67e01a24bd452a2e9e3fcf
1033557f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1033657f47464SmrgDate:   Tue Feb 1 12:30:56 2011 +0200
1033757f47464Smrg
1033857f47464Smrg    XDefaultOMIF.c: Fix memory leaks in get_font_name
1033957f47464Smrg    
1034057f47464Smrg    Instead of copying the value returned by get_prop_name and then releasing it,
1034157f47464Smrg    directly use the return value of get_prop_name, which allocates memory for the
1034257f47464Smrg    name.
1034357f47464Smrg    
1034457f47464Smrg    If get_prop_name returns NULL, continue on to XFreeFont to release the font
1034557f47464Smrg    before returning the NULL via the normal function return.
1034657f47464Smrg    
1034757f47464Smrg    Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1034857f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1034957f47464Smrg
1035057f47464Smrgcommit 95796351435d81eaef8166d49ba3a6e7b633d70a
1035157f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1035257f47464SmrgDate:   Mon Jan 31 14:50:19 2011 -0500
1035357f47464Smrg
1035457f47464Smrg    config: comment, minor upgrade, quote and layout configure.ac
1035557f47464Smrg    
1035657f47464Smrg    Group statements per section as per Autoconf standard layout
1035757f47464Smrg    Quote statements where appropriate.
1035857f47464Smrg    Autoconf recommends not using dnl instead of # for comments
1035957f47464Smrg    
1036057f47464Smrg    Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters.
1036157f47464Smrg    Remove redundant AC_CANONICAL_HOST included in XORG_DEFAULT_OPTIONS
1036257f47464Smrg    
1036357f47464Smrg    This helps automated maintenance and release activities.
1036457f47464Smrg    Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
1036557f47464Smrg    
1036657f47464Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1036757f47464Smrg
1036857f47464Smrgcommit e994ab227ed28655565c3193e63733630105e7f9
10369e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1037057f47464SmrgDate:   Tue Jan 18 12:49:48 2011 +0200
1037157f47464Smrg
1037257f47464Smrg    Comparing array against NULL is not useful "&xkb->server->vmods != NULL"
1037357f47464Smrg    
1037457f47464Smrg    Removed superfluous comparison.
1037557f47464Smrg    
1037657f47464Smrg    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
1037757f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1037857f47464Smrg
1037957f47464Smrgcommit 4115f051e62f9b098efce691e070d44f09f30f1c
10380e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1038157f47464SmrgDate:   Wed Jan 12 15:51:11 2011 +0200
1038257f47464Smrg
1038357f47464Smrg    Variable "entry" tracked as NULL was dereferenced.
1038457f47464Smrg    
1038557f47464Smrg    Check entry for non-nullness before dereferencing it
1038657f47464Smrg    
1038757f47464Smrg    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
1038857f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1038957f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1039057f47464Smrg
1039157f47464Smrgcommit 0edb76d1d5fdca5a2543332699be2e72386dab24
10392e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1039357f47464SmrgDate:   Thu Jan 27 09:54:00 2011 +0200
1039457f47464Smrg
1039557f47464Smrg    Dereferencing possibly NULL "str" in call to function "memcpy" (Deref assumed on the basis of 'nonnull' parameter attribute.)
1039657f47464Smrg    
1039757f47464Smrg    If _XkbGetReadBufferPtr returns NULL, goto BAILOUT
1039857f47464Smrg    
1039957f47464Smrg    Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
1040057f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1040157f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1040257f47464Smrg
1040357f47464Smrgcommit 59da8a211ef723909d0530c0331d541db8e63378
10404e9628295SmrgAuthor: Erkki Seppälä < <erkki.seppala@vincit.fi>
1040557f47464SmrgDate:   Mon Jan 10 16:17:47 2011 +0200
1040657f47464Smrg
1040757f47464Smrg    Using freed pointer "e"
1040857f47464Smrg    
1040957f47464Smrg    Reordered code to first to do the comparison and then to release data
1041057f47464Smrg    
1041157f47464Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1041257f47464Smrg    Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com>
1041357f47464Smrg    Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi>
1041457f47464Smrg
1041557f47464Smrgcommit 0f11c229f7099f7c5aeed4691b358dca151dac7d
1041657f47464SmrgAuthor: Matt Dew <marcoz@osource.org>
1041757f47464SmrgDate:   Thu Jan 27 00:31:23 2011 -0700
1041857f47464Smrg
1041957f47464Smrg    Remove <literal> tags from compose-chart.pl so pdf building doesn't die on soft-hyphens.
1042057f47464Smrg    
1042157f47464Smrg    Signed-off-by: Matt Dew <marcoz@osource.org>
1042257f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1042357f47464Smrg
1042457f47464Smrgcommit ca00bb202f3afcdbbcb8c4cb50308c5dd03f2322
1042557f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1042657f47464SmrgDate:   Fri Jan 28 16:07:07 2011 -0500
1042757f47464Smrg
1042857f47464Smrg    config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
1042957f47464Smrg    
1043057f47464Smrg    This silences an Automake warning.
1043157f47464Smrg    
1043257f47464Smrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1043357f47464Smrg
1043457f47464Smrgcommit 8dac08c7515cb6f8a8f4d0a721713697eae755d8
1043557f47464SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1043657f47464SmrgDate:   Fri Jan 28 14:59:04 2011 -0500
1043757f47464Smrg
1043857f47464Smrg    config: remove unrequired AC_HEADER_STDC
1043957f47464Smrg    
1044057f47464Smrg    Autoconf says:
1044157f47464Smrg    "This macro is obsolescent, as current systems have conforming
1044257f47464Smrg    header files. New programs need not use this macro".
1044357f47464Smrg
1044457f47464Smrgcommit d4483375e37a72631d5821413cb75a423e990ffe
1044557f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1044657f47464SmrgDate:   Tue Jan 18 19:37:02 2011 -0800
1044757f47464Smrg
1044857f47464Smrg    config: Use correct AC_CONFIG_HEADERS macro
1044957f47464Smrg    
1045057f47464Smrg    Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER
1045157f47464Smrg    
1045257f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1045357f47464Smrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
1045457f47464Smrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
1045557f47464Smrg
1045657f47464Smrgcommit c6405fe931f313a0d159bdad00244fc8aae12468
1045757f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1045857f47464SmrgDate:   Sun Jan 16 11:55:23 2011 -0800
1045957f47464Smrg
1046057f47464Smrg    config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
1046157f47464Smrg    
1046257f47464Smrg    XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
1046357f47464Smrg    AC_PROG_C_C99. This sets gcc with -std=gnu99.
1046457f47464Smrg    If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
1046557f47464Smrg    
1046657f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1046757f47464Smrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
1046857f47464Smrg
1046957f47464Smrgcommit 17aa1f2305da0952ad594c7329d08aba21f13ac8
1047057f47464SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1047157f47464SmrgDate:   Sun Jan 16 11:40:59 2011 -0800
1047257f47464Smrg
1047357f47464Smrg    Update to xf86bigfontproto >= 1.2.0 header name
1047457f47464Smrg    
1047557f47464Smrg    Clears compile-time warning of:
1047657f47464Smrg    "X11/extensions/xf86bigfstr.h", line 1: #warning: "xf86bigfstr.h is obsolete and may be removed in the future."
1047757f47464Smrg    "X11/extensions/xf86bigfstr.h", line 2: #warning: "include <X11/extensions/xf86bigfproto.h> for the protocol defines."
1047857f47464Smrg    
1047957f47464Smrg    Requires xf86bigfontproto >= 1.2.0 if --disable-xf86bigfont is not
1048057f47464Smrg    passed to configure.
1048157f47464Smrg    
1048257f47464Smrg    Also removes unnecessary AC_SUBST of BIGFONT_CFLAGS & BIGFONT_LIBS
1048357f47464Smrg    that PKG_CHECK_MODULES does automatically
1048457f47464Smrg    
1048557f47464Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1048657f47464Smrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
1048757f47464Smrg
10488e9fcaa8aSmrgcommit a9228fcc676aacf9a760dd94891c89f9bc82b20d
10489e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10490e9fcaa8aSmrgDate:   Tue Jan 11 17:55:22 2011 -0800
10491e9fcaa8aSmrg
10492e9fcaa8aSmrg    libX11 1.4.1
10493e9fcaa8aSmrg    
10494e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10495e9fcaa8aSmrg
10496e9fcaa8aSmrgcommit 92fa96451af37a7a0f2592de07643fdaed7a9efd
10497e9fcaa8aSmrgAuthor: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
10498e9fcaa8aSmrgDate:   Mon Jan 3 12:25:28 2011 -0500
10499e9fcaa8aSmrg
10500e9fcaa8aSmrg    Initialize event type
10501e9fcaa8aSmrg    
10502e9fcaa8aSmrg    If we receive unsupported event closing connection triggers valgrind
10503e9fcaa8aSmrg    error.
10504e9fcaa8aSmrg    
10505e9fcaa8aSmrg    ==12017== Conditional jump or move depends on uninitialised value(s)
10506e9fcaa8aSmrg    ==12017==    at 0x487D454: _XFreeDisplayStructure (OpenDis.c:607)
10507e9fcaa8aSmrg    ==12017==    by 0x486857B: XCloseDisplay (ClDisplay.c:72)
10508e9fcaa8aSmrg    *snip*
10509e9fcaa8aSmrg    ==12017==  Uninitialised value was created by a heap allocation
10510e9fcaa8aSmrg    ==12017==    at 0x4834C48: malloc (vg_replace_malloc.c:236)
10511e9fcaa8aSmrg    ==12017==    by 0x4894147: _XEnq (XlibInt.c:877)
10512e9fcaa8aSmrg    ==12017==    by 0x4891BF3: handle_response (xcb_io.c:335)
10513e9fcaa8aSmrg    ==12017==    by 0x4892263: _XReply (xcb_io.c:626)
10514e9fcaa8aSmrg    *snip*
10515e9fcaa8aSmrg    
10516e9fcaa8aSmrg    Problem is that XFreeDisplaySturture is checking for qelt->event.type ==
10517e9fcaa8aSmrg    GenericEvent while _XUnknownWireEvent doesn't store the type.
10518e9fcaa8aSmrg    
10519e9fcaa8aSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
10520e9fcaa8aSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
10521e9fcaa8aSmrg    Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
10522e9fcaa8aSmrg
10523e9fcaa8aSmrgcommit fa9747b9d4443eef9b1687b8b1208801f5c585da
10524e9fcaa8aSmrgAuthor: Fernando Carrijo <fcarrijo.lists@gmail.com>
10525e9fcaa8aSmrgDate:   Tue Dec 28 16:18:57 2010 -0500
10526e9fcaa8aSmrg
10527e9fcaa8aSmrg    specs: convert images from gif to svg format.
10528e9fcaa8aSmrg    
10529e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10530e9fcaa8aSmrg
10531e9fcaa8aSmrgcommit 0012e2a4eaddc0840617b4758931ad976ca2eb7c
10532e9fcaa8aSmrgAuthor: Philipp Reh <sefi@s-e-f-i.de>
10533e9fcaa8aSmrgDate:   Wed Dec 22 15:14:05 2010 +0000
10534e9fcaa8aSmrg
10535e9fcaa8aSmrg    Events: Store event cookie when dequeuing event
10536e9fcaa8aSmrg    
10537e9fcaa8aSmrg    When we dequeue an event in XCheckTypedEvent or XCheckTypedWindowEvent,
10538e9fcaa8aSmrg    make sure to store the corresponding cookie too.
10539e9fcaa8aSmrg    
10540e9fcaa8aSmrg    Signed-off-by: Philipp Reh <sefi@s-e-f-i.de>
10541e9fcaa8aSmrg    Reviewed-by: Daniel Stone <daniel@fooishbar.org>
10542e9fcaa8aSmrg
10543e9fcaa8aSmrgcommit d2714d65e85b44abedf5f82e1a31506dba397ef2
10544e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10545e9fcaa8aSmrgDate:   Tue Dec 21 18:47:16 2010 -0800
10546e9fcaa8aSmrg
10547e9fcaa8aSmrg    Revert "Mark atom names argument to XInternAtoms as const"
10548e9fcaa8aSmrg    
10549e9fcaa8aSmrg    This reverts commit c8701115462b482d99ecff24d9de0f2806084ba5.
10550e9fcaa8aSmrg    
10551e9fcaa8aSmrg    The constification of a pointer to a pointer caused unexpected issues,
10552e9fcaa8aSmrg    and xorg-devel was unable to come up with a clean, safe, reasonable way
10553e9fcaa8aSmrg    to handle them, so we're chalking this up for now as yet another mistake
10554e9fcaa8aSmrg    in the Xlib API definition we'll be living with.
10555e9fcaa8aSmrg    
10556e9fcaa8aSmrg    See https://bugs.freedesktop.org/show_bug.cgi?id=32098 for details.
10557e9fcaa8aSmrg    
10558e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10559e9fcaa8aSmrg
10560e9fcaa8aSmrgcommit 6459f9a48a82de3bc0235bd36acab2df11e436d5
10561e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10562e9fcaa8aSmrgDate:   Mon Dec 20 20:54:07 2010 -0800
10563e9fcaa8aSmrg
10564e9fcaa8aSmrg    specs/XKB: make acknowlegement section <preface> instead of <chapter>
10565e9fcaa8aSmrg    
10566e9fcaa8aSmrg    Fixes numbering of actual chapters to match their filenames and to
10567e9fcaa8aSmrg    make the table/figure numbering match the references in the text.
10568e9fcaa8aSmrg    
10569e9fcaa8aSmrg    Reported-by: jelmd on freenode irc
10570e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10571e9fcaa8aSmrg
10572e9fcaa8aSmrgcommit 42c653d5413fc5870486a9cf51dd28d1e88f7c69
10573e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10574e9fcaa8aSmrgDate:   Sun Dec 19 23:53:02 2010 -0800
10575e9fcaa8aSmrg
10576e9fcaa8aSmrg    Add XKBlib spec images to dist_spec_DATA for distribution & installation
10577e9fcaa8aSmrg    
10578e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10579e9fcaa8aSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
10580e9fcaa8aSmrg
10581e9fcaa8aSmrgcommit 8f8a3c8c42af82976d261ac2447cfbb0f90fa77d
10582e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org>
10583e9fcaa8aSmrgDate:   Tue Nov 30 10:52:07 2010 -0500
10584e9fcaa8aSmrg
10585e9fcaa8aSmrg    specs: convert XKBlib spec from Framemaker to DocBook.xml
10586e9fcaa8aSmrg    
10587e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10588e9fcaa8aSmrg
10589e9fcaa8aSmrgcommit c8701115462b482d99ecff24d9de0f2806084ba5
10590e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10591e9fcaa8aSmrgDate:   Sun Nov 21 20:49:05 2010 -0800
10592e9fcaa8aSmrg
10593e9fcaa8aSmrg    Mark atom names argument to XInternAtoms as const
10594e9fcaa8aSmrg    
10595e9fcaa8aSmrg    Updates code & docs for XInternAtoms.
10596e9fcaa8aSmrg    
10597e9fcaa8aSmrg    The single atom name argument to XInternAtom was already const char *
10598e9fcaa8aSmrg    in the code, but not the docs, so updated it in the docs too.
10599e9fcaa8aSmrg    
10600e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10601e9fcaa8aSmrg    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
10602e9fcaa8aSmrg
10603e9fcaa8aSmrgcommit 24db5b5ff0d51b0ed9d9701a792c5f14f23b638d
10604e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10605e9fcaa8aSmrgDate:   Sun Nov 21 14:04:32 2010 -0800
10606e9fcaa8aSmrg
10607e9fcaa8aSmrg    libX11 1.4.0
10608e9fcaa8aSmrg    
10609e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10610e9fcaa8aSmrg
10611e9fcaa8aSmrgcommit 18d3c3e9de19e936281b111d5a82acfb3a3f552e
10612e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com>
10613e9fcaa8aSmrgDate:   Sat Nov 6 21:58:10 2010 +0000
10614e9fcaa8aSmrg
10615e9fcaa8aSmrg    config: Check host string when deciding architecture to build for
10616e9fcaa8aSmrg    
10617e9fcaa8aSmrg    When checking for the OS/2 platform, $target_os is used. However, unless
10618e9fcaa8aSmrg    building a cross compiler, the $host* strings contain the platform
10619e9fcaa8aSmrg    details for the build system. See:
10620e9fcaa8aSmrg    
10621e9fcaa8aSmrg    http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation
10622e9fcaa8aSmrg    
10623e9fcaa8aSmrg    $host_os is already being used to determine the transport and threading
10624e9fcaa8aSmrg    options.
10625e9fcaa8aSmrg    
10626e9fcaa8aSmrg    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
10627e9fcaa8aSmrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
10628e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10629e9fcaa8aSmrg
10630e9fcaa8aSmrgcommit affc2488a7f2660a74dc8354fc3e0bff2c4f879c
10631e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com>
10632e9fcaa8aSmrgDate:   Sat Nov 6 21:58:09 2010 +0000
10633e9fcaa8aSmrg
10634e9fcaa8aSmrg    config: Fix architecture check for OS/2 to skip nios2 cpu
10635e9fcaa8aSmrg    
10636e9fcaa8aSmrg    The OS/2 platform requires some utility functions as well as having a
10637e9fcaa8aSmrg    non-32 bit wchar_t. Fix the configure check so that it doesn't also
10638e9fcaa8aSmrg    affect the nios2 cpu, which wouldn't influence these operating system
10639e9fcaa8aSmrg    issues.
10640e9fcaa8aSmrg    
10641e9fcaa8aSmrg    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
10642e9fcaa8aSmrg    Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
10643e9fcaa8aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10644e9fcaa8aSmrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
10645e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10646e9fcaa8aSmrg
10647e9fcaa8aSmrgcommit 8cbca8a10761d1ea75a75bafa647632d6c0dac71
10648e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10649e9fcaa8aSmrgDate:   Tue Nov 9 13:04:44 2010 -0500
10650e9fcaa8aSmrg
10651e9fcaa8aSmrg    config: HTML file generation: use the installed copy of xorg.css
10652e9fcaa8aSmrg    
10653e9fcaa8aSmrg    Currenlty the xorg.css file is copied in each location
10654e9fcaa8aSmrg    where a DocBook/XML file resides. This produces about
10655e9fcaa8aSmrg    70 copies in the $(docdir) install tree.
10656e9fcaa8aSmrg    
10657e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10658e9fcaa8aSmrg
10659e9fcaa8aSmrgcommit 3e8907305e1818369aef5a5c0da61f09e20de4f8
10660e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10661e9fcaa8aSmrgDate:   Fri Oct 29 22:02:10 2010 -0700
10662e9fcaa8aSmrg
10663e9fcaa8aSmrg    libX11 1.3.99.903 (1.4.0 RC3)
10664e9fcaa8aSmrg    
10665e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10666e9fcaa8aSmrg
10667e9fcaa8aSmrgcommit 5d245d8013289b13e0c42100951b26166c7fada4
10668e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10669e9fcaa8aSmrgDate:   Fri Oct 29 22:01:39 2010 -0700
10670e9fcaa8aSmrg
10671e9fcaa8aSmrg    Require xorg-macros 1.11 now that it is released
10672e9fcaa8aSmrg    
10673e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10674e9fcaa8aSmrg
10675e9fcaa8aSmrgcommit 1ec89689fc771f116a6165226b9e076f54254a40
10676e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com>
10677e9fcaa8aSmrgDate:   Fri Oct 22 19:09:07 2010 -0700
10678e9fcaa8aSmrg
10679e9fcaa8aSmrg    docs: Disable fop documentation by default
10680e9fcaa8aSmrg    
10681e9fcaa8aSmrg    fop is used to generate the pdf and ps formats of the documentation.
10682e9fcaa8aSmrg    This can significantly slow down the build, especially when creating all
10683e9fcaa8aSmrg    the compose key charts. Since few people probably want the full set of
10684e9fcaa8aSmrg    doc formats, set the default to 'no'.
10685e9fcaa8aSmrg    
10686e9fcaa8aSmrg    The default parameter for XORG_WITH_FOP is only available in recent
10687e9fcaa8aSmrg    macros. Users generating configure from older macros will just get
10688e9fcaa8aSmrg    'auto' as the default.
10689e9fcaa8aSmrg    
10690e9fcaa8aSmrg    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
10691e9fcaa8aSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
10692e9fcaa8aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10693e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10694e9fcaa8aSmrg
10695e9fcaa8aSmrgcommit 03877bda911b72ac60a7144d6eced7d5be4b4d72
10696e9fcaa8aSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk>
10697e9fcaa8aSmrgDate:   Wed Apr 14 13:38:18 2010 +0100
10698e9fcaa8aSmrg
10699e9fcaa8aSmrg    Add C.UTF-8 and C.ASCII locale aliases
10700e9fcaa8aSmrg    
10701e9fcaa8aSmrg    Add C.UTF-8 locale as an alias for en_US.UTF-8
10702e9fcaa8aSmrg    Add C.ASCII locale as an alias for C
10703e9fcaa8aSmrg    
10704e9fcaa8aSmrg    (C.UTF-8 is the default locale for cygwin.  It also exists in debian,
10705e9fcaa8aSmrg    although I don't think it's intended for use by humans.)
10706e9fcaa8aSmrg    
10707e9fcaa8aSmrg    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
10708e9fcaa8aSmrg    Acked-by: Julien Cristau <jcristau@debian.org>
10709e9fcaa8aSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
10710e9fcaa8aSmrg
10711e9fcaa8aSmrgcommit 81d1d9a6bdca779a44f931730b866eea75777c00
10712e9fcaa8aSmrgAuthor: Dan Nicholson <dbn.lists@gmail.com>
10713e9fcaa8aSmrgDate:   Sat Oct 9 16:00:47 2010 -0700
10714e9fcaa8aSmrg
10715e9fcaa8aSmrg    docs: Remove directory prerequisites from make rules
10716e9fcaa8aSmrg    
10717e9fcaa8aSmrg    Make expects prerequisites to be files with valid timestamps, and
10718e9fcaa8aSmrg    directories are treated as always being out of date. Thus, any targets
10719e9fcaa8aSmrg    depending on directories will always be rebuilt.
10720e9fcaa8aSmrg    
10721e9fcaa8aSmrg    Instead, the doc rules are changed to always create the target's leading
10722e9fcaa8aSmrg    directory. This should prevent the documentation from being rebuilt when
10723e9fcaa8aSmrg    "make install" is run.
10724e9fcaa8aSmrg    
10725e9fcaa8aSmrg    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
10726e9fcaa8aSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
10727e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10728e9fcaa8aSmrg
10729e9fcaa8aSmrgcommit d0cbf388919364fe6b5b9127f36426eb744090a0
10730e9fcaa8aSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
10731e9fcaa8aSmrgDate:   Sun Sep 26 21:21:16 2010 -0700
10732e9fcaa8aSmrg
10733e9fcaa8aSmrg    Add an "X11_" string to header guards to avoid possible collision
10734e9fcaa8aSmrg    
10735e9fcaa8aSmrg    This addresses a build failure which can result from <X11/Xlocale.h> and
10736e9fcaa8aSmrg    <xlocale.h> being included in the same code since they both used the same
10737e9fcaa8aSmrg    _XLOCALE_H_ protection.
10738e9fcaa8aSmrg    
10739e9fcaa8aSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
10740e9fcaa8aSmrg
10741e9fcaa8aSmrgcommit b51ac675f44f5ce1a28c5734bf3c26983f8b4192
10742e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10743e9fcaa8aSmrgDate:   Tue Sep 21 19:53:03 2010 -0700
10744e9fcaa8aSmrg
10745e9fcaa8aSmrg    libX11 1.3.99.902 (1.4.0 RC2)
10746e9fcaa8aSmrg    
10747e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10748e9fcaa8aSmrg
10749e9fcaa8aSmrgcommit 986bb6d1d54368fe91e3ea24f518d43ce6179782
10750e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10751e9fcaa8aSmrgDate:   Tue Sep 14 00:10:31 2010 -0700
10752e9fcaa8aSmrg
10753e9fcaa8aSmrg    Bug 19379 - Provide docs with overview of all compose key combinations
10754e9fcaa8aSmrg    
10755e9fcaa8aSmrg    Adds compose-chart.pl to generate DocBook/XML documents listing compose
10756e9fcaa8aSmrg    keys, and Makefile rules to generate HTML & PDF output from them if xmlto
10757e9fcaa8aSmrg    is present.
10758e9fcaa8aSmrg    
10759e9fcaa8aSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=19379
10760e9fcaa8aSmrg    
10761e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10762e9fcaa8aSmrg    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
10763e9fcaa8aSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
10764e9fcaa8aSmrg    Tested-by: Gaetan Nadon <memsize@videotron.ca>
10765e9fcaa8aSmrg
10766e9fcaa8aSmrgcommit 3eb064071695ebf0f371163ed818a428dfeba8e6
10767e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10768e9fcaa8aSmrgDate:   Sat Sep 11 00:49:21 2010 -0700
10769e9fcaa8aSmrg
10770e9fcaa8aSmrg    Make locale data build non-recursive / parallelizable
10771e9fcaa8aSmrg    
10772e9fcaa8aSmrg    On a 4 core CPU with gmake -j 16 the nls subdir builds in half the time,
10773e9fcaa8aSmrg    plus this simplifies the next set of changes.
10774e9fcaa8aSmrg    
10775e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10776e9fcaa8aSmrg    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
10777e9fcaa8aSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
10778e9fcaa8aSmrg    Tested-by: Gaetan Nadon <memsize@videotron.ca>
10779e9fcaa8aSmrg
10780e9fcaa8aSmrgcommit a3fc78ac352e5a70a958996ef6aec50f653974d1
10781e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10782e9fcaa8aSmrgDate:   Fri Sep 17 17:38:11 2010 -0400
10783e9fcaa8aSmrg
10784e9fcaa8aSmrg    config: remove man page suffix from bottom summary
10785e9fcaa8aSmrg    
10786e9fcaa8aSmrg    The man page suffix is the same for all libraries on a given
10787e9fcaa8aSmrg    platform and is not configurable. It should have been removed
10788e9fcaa8aSmrg    in commit 09edc6de6.
10789e9fcaa8aSmrg    
10790e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10791e9fcaa8aSmrg
10792e9fcaa8aSmrgcommit a52b0068f36c739eb7e426214cd72a8d9bb776ca
10793e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10794e9fcaa8aSmrgDate:   Fri Sep 17 17:29:30 2010 -0400
10795e9fcaa8aSmrg
10796e9fcaa8aSmrg    config: remove unhelpful comment in .gitignore
10797e9fcaa8aSmrg    
10798e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10799e9fcaa8aSmrg
10800e9fcaa8aSmrgcommit 10dd881e7818be9074da4ab3a68577adcdaf71d2
10801e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com>
10802e9fcaa8aSmrgDate:   Wed Sep 8 10:44:23 2010 -0400
10803e9fcaa8aSmrg
10804e9fcaa8aSmrg    Zero buffer data in BufAlloc()
10805e9fcaa8aSmrg    
10806e9fcaa8aSmrg    Inspired by a pattern in NoMachine's NX.  Consistently zeroed buffers
10807e9fcaa8aSmrg    compress better with ssh and friends.  Note that you'll need to rebuild
10808e9fcaa8aSmrg    all your protocol libraries to take advantage of this.
10809e9fcaa8aSmrg    
10810e9fcaa8aSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
10811e9fcaa8aSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
10812e9fcaa8aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10813e9fcaa8aSmrg
10814e9fcaa8aSmrgcommit da099f0d2015831ea5f4a5d0740ed962aa4d5d8b
10815e9fcaa8aSmrgAuthor: James Cloos <cloos@jhcloos.com>
10816e9fcaa8aSmrgDate:   Sun Sep 12 17:00:54 2010 -0400
10817e9fcaa8aSmrg
10818e9fcaa8aSmrg    Revert “Dolt-ify"
10819e9fcaa8aSmrg    
10820e9fcaa8aSmrg    Libtool’s is now sufficiently fast that DOLT is no longer
10821e9fcaa8aSmrg    worth the bother, even on those few systems where is works.
10822e9fcaa8aSmrg    
10823e9fcaa8aSmrg    This reverts commit 3e9afd501e40d76040635bd9a3045bcaf5a03b60
10824e9fcaa8aSmrg    and part of commit d31e644c65c52828ea3e7abd94a8cf9aee12265c.
10825e9fcaa8aSmrg    
10826e9fcaa8aSmrg    It conflicted with commit f6a4fd0c7615684d08e848245849dea4017a5214
10827e9fcaa8aSmrg    which moved dolt from configure.ac to m4/dolt.m4.
10828e9fcaa8aSmrg    
10829e9fcaa8aSmrg    And it addresses: http://bugs.freedesktop.org/show_bug.cgi?id=28188
10830e9fcaa8aSmrg    
10831e9fcaa8aSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
10832e9fcaa8aSmrg
10833e9fcaa8aSmrgcommit 2661fbe6b809c937a60c2c1ca5ddb8280e399bd8
10834e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10835e9fcaa8aSmrgDate:   Thu Sep 9 19:24:29 2010 -0700
10836e9fcaa8aSmrg
10837e9fcaa8aSmrg    XIM spec title page minor formatting cleanup
10838e9fcaa8aSmrg    
10839e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10840e9fcaa8aSmrg
10841e9fcaa8aSmrgcommit f99f1380bbf7bb2a0c491acad4a3d8db44bfd752
10842e9fcaa8aSmrgAuthor: Jens Petersen <petersen@redhat.com>
10843e9fcaa8aSmrgDate:   Mon Aug 23 18:08:10 2010 -0700
10844e9fcaa8aSmrg
10845e9fcaa8aSmrg    Bug 29773: aliases for nb_NO.utf8 and nn_NO.utf8
10846e9fcaa8aSmrg    
10847e9fcaa8aSmrg    <https://bugs.freedesktop.org/show_bug.cgi?id=29773>
10848e9fcaa8aSmrg    
10849e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10850e9fcaa8aSmrg
10851e9fcaa8aSmrgcommit b15b8a558ec64c834cc8f6a52d7f3c4f530c8c4b
10852e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10853e9fcaa8aSmrgDate:   Fri Sep 3 23:11:53 2010 -0700
10854e9fcaa8aSmrg
10855e9fcaa8aSmrg    Sun's copyrights are now owned by Oracle
10856e9fcaa8aSmrg    
10857e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10858e9fcaa8aSmrg
10859e9fcaa8aSmrgcommit 7742bf62b1fa652da4270587e280249945367cae
10860e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
10861e9fcaa8aSmrgDate:   Fri Sep 3 18:31:44 2010 -0700
10862e9fcaa8aSmrg
10863e9fcaa8aSmrg    libX11 1.3.99.901 (1.4.0 RC1)
10864e9fcaa8aSmrg    
10865e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
10866e9fcaa8aSmrg
10867e9fcaa8aSmrgcommit 5a02d6d74b5451d48d8f55709dfd4ecd3c068586
10868e9fcaa8aSmrgAuthor: Jeroen Hoek <mail@jeroenhoek.nl>
10869e9fcaa8aSmrgDate:   Sun Aug 29 09:47:06 2010 -0400
10870e9fcaa8aSmrg
10871e9fcaa8aSmrg    libX11/nls compose tables, add LATIN CAPITAL LETTER SHARP S
10872e9fcaa8aSmrg    
10873e9fcaa8aSmrg    Add LATIN CAPITAL LETTER SHARP S
10874e9fcaa8aSmrg    (See https://bugs.freedesktop.org/show_bug.cgi?id=29448 for rationale)
10875e9fcaa8aSmrg    
10876e9fcaa8aSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
10877e9fcaa8aSmrg
10878e9fcaa8aSmrgcommit 09edc6de6619a2eabda3b808ebff4165550664f1
10879e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10880e9fcaa8aSmrgDate:   Fri Aug 13 14:21:08 2010 -0400
10881e9fcaa8aSmrg
10882e9fcaa8aSmrg    config: remove man-pages configuration option
10883e9fcaa8aSmrg    
10884e9fcaa8aSmrg    This option was added in commit 6e752ea120 with no explanation.
10885e9fcaa8aSmrg    The section number is provoded by XORG_MANPAGE_SECTIONS
10886e9fcaa8aSmrg    There is no case where libX11 should be different than other libs
10887e9fcaa8aSmrg    The option was also used to disable building of the man pages,
10888e9fcaa8aSmrg    which build in 14 secs. No indication this is required.
10889e9fcaa8aSmrg    
10890e9fcaa8aSmrg    If there is a requirement from system builders to disable building
10891e9fcaa8aSmrg    of man pages, it could be done consistently for all modules.
10892e9fcaa8aSmrg    
10893e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10894e9fcaa8aSmrg
10895e9fcaa8aSmrgcommit f92e754297ec5fdb81068b56a4435026666224fa
10896e9fcaa8aSmrgAuthor: Aaron Plattner <aplattner@nvidia.com>
10897e9fcaa8aSmrgDate:   Sun Aug 15 21:51:38 2010 -0700
10898e9fcaa8aSmrg
10899e9fcaa8aSmrg    XOpenDisplay: save the correct display_name value
10900e9fcaa8aSmrg    
10901e9fcaa8aSmrg    The X Test Suite's XDisplayString test checks the invariant
10902e9fcaa8aSmrg    XDisplayString(XOpenDisplay(str)) == str.  The Xlib XOpenDisplay violates this
10903e9fcaa8aSmrg    invariant by expanding str to the canonical form "host:display.scrn" (unless
10904e9fcaa8aSmrg    HAVE_LAUNCHD is set and it starts with "/tmp/launch").  E.g., this expands ":1"
10905e9fcaa8aSmrg    to ":1.0":
10906e9fcaa8aSmrg    
10907e9fcaa8aSmrg      400|26 1 1 19:26:41|IC Start
10908e9fcaa8aSmrg      200|26 1 19:26:41|TP Start
10909e9fcaa8aSmrg      520|26 1 00032625 1 1|VSW5TESTSUITE PURPOSE 1
10910e9fcaa8aSmrg      520|26 1 00032625 1 2|Assertion XDisplayString-1.(A)
10911e9fcaa8aSmrg      520|26 1 00032625 1 3|A call to XDisplayString returns the string that was used
10912e9fcaa8aSmrg      520|26 1 00032625 1 4|as the argument to the XOpenDisplay call that returned the
10913e9fcaa8aSmrg      520|26 1 00032625 1 5|value used as the display argument.
10914e9fcaa8aSmrg      520|26 1 00032625 1 6|METH: Open a connection using XOpenDisplay.
10915e9fcaa8aSmrg      520|26 1 00032625 1 7|METH: Obtain the display string using XDisplayString.
10916e9fcaa8aSmrg      520|26 1 00032625 1 8|METH: Verify that the value of the string is the parameter used in XOpenDisplay.
10917e9fcaa8aSmrg      520|26 1 00032625 1 9|METH: Close the display using XCloseDisplay.
10918e9fcaa8aSmrg      520|26 1 00032625 1 10|REPORT: XDisplayString() returned ":1.0" instead of ":1".
10919e9fcaa8aSmrg      220|26 1 1 19:26:41|FAIL
10920e9fcaa8aSmrg      410|26 1 1 19:26:41|IC End
10921e9fcaa8aSmrg    
10922e9fcaa8aSmrg    Fix this by deleting all of the code to construct the canonical path and just
10923e9fcaa8aSmrg    stashing a copy of the original display_name in dpy->display_name.
10924e9fcaa8aSmrg    
10925e9fcaa8aSmrg    Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
10926e9fcaa8aSmrg    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
10927e9fcaa8aSmrg
10928e9fcaa8aSmrgcommit 1dc401f678469d0235e6d0b28eb4356f03327c9f
10929e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10930e9fcaa8aSmrgDate:   Fri Aug 13 13:06:51 2010 -0400
10931e9fcaa8aSmrg
10932e9fcaa8aSmrg    man: xkb: remove unused variable LIB_MAN_DIR_SUFFIX
10933e9fcaa8aSmrg    
10934e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10935e9fcaa8aSmrg
10936e9fcaa8aSmrgcommit cbe9eebd11e5ebab4280d25b57b4cd4001241619
10937e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10938e9fcaa8aSmrgDate:   Fri Aug 13 11:42:29 2010 -0400
10939e9fcaa8aSmrg
10940e9fcaa8aSmrg    man: simplify building of shadow man pages
10941e9fcaa8aSmrg    
10942e9fcaa8aSmrg    Store the shadow files in git as any other man page.
10943e9fcaa8aSmrg    Move man pages to man dir and use the common makefile
10944e9fcaa8aSmrg    
10945e9fcaa8aSmrg    Local fix in CVS for bug 5628 is not required
10946e9fcaa8aSmrg    as the problem has been fixed in
10947e9fcaa8aSmrg    util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba
10948e9fcaa8aSmrg    
10949e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10950e9fcaa8aSmrg
10951e9fcaa8aSmrgcommit bfd899c9af2318ecbe84cb69007dba4223fdb502
10952e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10953e9fcaa8aSmrgDate:   Mon Aug 9 09:39:26 2010 -0400
10954e9fcaa8aSmrg
10955e9fcaa8aSmrg    config: reinstate XORG_PROG_RAWCPP erroneoulsy removed
10956e9fcaa8aSmrg    
10957e9fcaa8aSmrg    in commit 76e07ef6911734eac418e399b114f1b544512736.
10958e9fcaa8aSmrg    
10959e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10960e9fcaa8aSmrg
10961e9fcaa8aSmrgcommit 76e07ef6911734eac418e399b114f1b544512736
10962e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10963e9fcaa8aSmrgDate:   Fri Aug 6 14:01:51 2010 -0400
10964e9fcaa8aSmrg
10965e9fcaa8aSmrg     man: using the C preprocessor is not required for man pages.
10966e9fcaa8aSmrg    
10967e9fcaa8aSmrg    There were no special symbols needing cpp.
10968e9fcaa8aSmrg    Everything can be handled by the default MAN_SUBSTS in util-macros.
10969e9fcaa8aSmrg    
10970e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10971e9fcaa8aSmrg
10972e9fcaa8aSmrgcommit 4b8ff7db39f2fe7ef12968d462aaf3f9054b6c18
10973e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net>
10974e9fcaa8aSmrgDate:   Fri Aug 6 15:51:56 2010 -0700
10975e9fcaa8aSmrg
10976e9fcaa8aSmrg    Fix use-after-free in _XReply on X errors.
10977e9fcaa8aSmrg    
10978e9fcaa8aSmrg    _XReply would always call dequeue_pending_request on errors.  When it
10979e9fcaa8aSmrg    got an error for the current request, it would call dequeue, then break
10980e9fcaa8aSmrg    out of the loop; then, if it had an error in the event queue, it would
10981e9fcaa8aSmrg    compare it with the sequence number of the now-freed pending request.
10982e9fcaa8aSmrg    _XReply already stored that sequence number in dpy->last_request_read
10983e9fcaa8aSmrg    before freeing it, so look at that instead.
10984e9fcaa8aSmrg    
10985e9fcaa8aSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29412
10986e9fcaa8aSmrg    
10987e9fcaa8aSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
10988e9fcaa8aSmrg    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
10989e9fcaa8aSmrg
10990e9fcaa8aSmrgcommit 9fa146b30046396b70d64986e50d6617b3a8ac48
10991e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
10992e9fcaa8aSmrgDate:   Sat Jul 31 16:15:35 2010 -0400
10993e9fcaa8aSmrg
10994e9fcaa8aSmrg    specs: xsl stylesheet requires abs path to images
10995e9fcaa8aSmrg    
10996e9fcaa8aSmrg    Using abs_builddir requires automake 1.10 or later.
10997e9fcaa8aSmrg    
10998e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
10999e9fcaa8aSmrg
11000e9fcaa8aSmrgcommit a8727d4bc39015e303b4128d0ad8aaf6d5fc9f0a
11001e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
11002e9fcaa8aSmrgDate:   Sun Aug 1 14:13:07 2010 -0400
11003e9fcaa8aSmrg
11004e9fcaa8aSmrg    specs: update .gitignore now that all groff generated files are gone
11005e9fcaa8aSmrg    
11006e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
11007e9fcaa8aSmrg
11008e9fcaa8aSmrgcommit f70527f05677aaf6a493ba42d2d95f738aaebafa
11009e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com>
11010e9fcaa8aSmrgDate:   Thu Jul 29 11:11:21 2010 -0400
11011e9fcaa8aSmrg
11012e9fcaa8aSmrg    nls: Switch one of the interrobang sequences to gnaborretni
11013e9fcaa8aSmrg    
11014e9fcaa8aSmrg    Since gnaborretni is primarily used in LTR locales, the ? part of the
11015e9fcaa8aSmrg    sequence reflects the position of the bulge in the ?.  When scanning an
11016e9fcaa8aSmrg    inverted interrobang left-to-right, you see the bulge first, so the
11017e9fcaa8aSmrg    compose sequence ?! is used; upright interrobang shows the bulge
11018e9fcaa8aSmrg    last, so it's !?.
11019e9fcaa8aSmrg    
11020e9fcaa8aSmrg    This is a change in behaviour, but I was unable to come up with anything
11021e9fcaa8aSmrg    better.  ??!! or !!?? would match the patterns for ¿ and ¡, but they
11022e9fcaa8aSmrg    would delay evaluation of them; "¿Qué?" wouldn't show the ¿ until you hit
11023e9fcaa8aSmrg    Q.  Likewise ?!?! and !?!? would delay showing the interrobang itself.
11024e9fcaa8aSmrg    ~!? and ~?! were considered but are arguably less intuitive.
11025e9fcaa8aSmrg    
11026e9fcaa8aSmrg    Reviewed-by: James Cloos <cloos@jhcloos.com>
11027e9fcaa8aSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
11028e9fcaa8aSmrg
11029e9fcaa8aSmrgcommit 511c4f6d29b2da4f71093feabcbb3913cb5d12a7
11030e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
11031e9fcaa8aSmrgDate:   Wed Jul 28 10:27:39 2010 -0400
11032e9fcaa8aSmrg
11033e9fcaa8aSmrg    specs: move indexterm from glossdef to glossterm
11034e9fcaa8aSmrg    
11035e9fcaa8aSmrg    This move fixes a Java class cast exception in the glossary.
11036e9fcaa8aSmrg    The problem was introduced in commit
11037e9fcaa8aSmrg    26f4f0d50840fe5ba4c46aae0a8e68db0059434b
11038e9fcaa8aSmrg    
11039e9fcaa8aSmrg    It may not happen on all versions of the doc toolchain.
11040e9fcaa8aSmrg    There is no reason why indexterm cannot appear in glossdef,
11041e9fcaa8aSmrg    this is a workaround to an implementation problem found by
11042e9fcaa8aSmrg    trial and error.
11043e9fcaa8aSmrg    
11044e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
11045e9fcaa8aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11046e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11047e9fcaa8aSmrg
11048e9fcaa8aSmrgcommit 87a108f3aa565aa803dacb3a53b811f45025b609
11049e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org>
11050e9fcaa8aSmrgDate:   Sat Jul 24 14:46:57 2010 -0400
11051e9fcaa8aSmrg
11052e9fcaa8aSmrg    specs: replace troff source with docbook-xml source
11053e9fcaa8aSmrg    
11054e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
11055e9fcaa8aSmrg
11056e9fcaa8aSmrgcommit 8e603413586ff42b1351688f6f99318cbe243bca
11057e9fcaa8aSmrgAuthor: Julien Cristau <jcristau@debian.org>
11058e9fcaa8aSmrgDate:   Sat Jul 24 22:13:07 2010 +0200
11059e9fcaa8aSmrg
11060e9fcaa8aSmrg    Compose.man: default user compose file is .XCompose, not .Xcompose
11061e9fcaa8aSmrg    
11062e9fcaa8aSmrg    The path was correct in the DESCRIPTION section, but not in FILES.
11063e9fcaa8aSmrg    
11064e9fcaa8aSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
11065e9fcaa8aSmrg
11066e9fcaa8aSmrgcommit 554da76ece85d0fc0cada45a86860e69c2107e9a
11067e9fcaa8aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
11068e9fcaa8aSmrgDate:   Tue Jul 20 12:34:48 2010 +0100
11069e9fcaa8aSmrg
11070e9fcaa8aSmrg    NLS: Add \o/ Compose sequence
11071e9fcaa8aSmrg    
11072e9fcaa8aSmrg    Unicode is even more pointlessly awesome! Add a binding for Compose-\o/
11073e9fcaa8aSmrg    to U+1F64C PERSON RAISING BOTH HANDS IN CELEBRATION.
11074e9fcaa8aSmrg    
11075e9fcaa8aSmrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
11076e9fcaa8aSmrg
11077e9fcaa8aSmrgcommit 2e7a18b6a617b9b4bfcea2d36f2bd2d7e0c4a3dd
1107847f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
11079e9fcaa8aSmrgDate:   Fri Jul 9 18:13:13 2010 +0100
11080e9fcaa8aSmrg
11081e9fcaa8aSmrg    XStringToKeysym: Cope with 0x1234cafe-style input
11082e9fcaa8aSmrg    
11083e9fcaa8aSmrg    If we get input in the style of 0xdeadbeef, just return that exact
11084e9fcaa8aSmrg    keysym.  Introduces a dependency on strtoul, which I'm told is OK on all
11085e9fcaa8aSmrg    the systems we care about.
11086e9fcaa8aSmrg    
11087e9fcaa8aSmrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
11088e9fcaa8aSmrg
11089e9fcaa8aSmrgcommit 3df45ed0c29b98ff468a0ff0ba24830bb664fd5a
11090e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11091e9fcaa8aSmrgDate:   Mon Jul 19 17:58:27 2010 -0700
11092e9fcaa8aSmrg
11093e9fcaa8aSmrg    specs/libX11: Fix column count of Gravity Attributes table
11094e9fcaa8aSmrg    
11095e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11096e9fcaa8aSmrg
11097e9fcaa8aSmrgcommit 53bcba0d1d2dc3fd5e0de4bae3da30a1aa31a0c4
11098e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11099e9fcaa8aSmrgDate:   Mon Jul 19 14:43:38 2010 -0700
11100e9fcaa8aSmrg
11101e9fcaa8aSmrg    specs/libX11: Convert \- to &minus; and \^ to either &hairsp; or removed
11102e9fcaa8aSmrg    
11103e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11104e9fcaa8aSmrg
11105e9fcaa8aSmrgcommit 5a0b45275638281e1bb2ae7d3e16b98e6470dae9
11106e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11107e9fcaa8aSmrgDate:   Mon Jul 19 11:28:50 2010 -0700
1110847f86ac1Smrg
11109e9fcaa8aSmrg    specs/libX11: Manual cleanup pass over Ch. 1
1111047f86ac1Smrg    
11111e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1111247f86ac1Smrg
11113e9fcaa8aSmrgcommit 21567992958a6f12b3d0186f2f27a5b2a41b8448
11114e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11115e9fcaa8aSmrgDate:   Mon Jul 19 14:51:10 2010 -0700
1111647f86ac1Smrg
11117e9fcaa8aSmrg    specs/libX11: make sure all files have DOCTYPEs so standard entities work
1111847f86ac1Smrg    
11119e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11120e9fcaa8aSmrg
11121e9fcaa8aSmrgcommit c944a8521f5760b485192658b921145159cdb439
11122e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11123e9fcaa8aSmrgDate:   Sun Jul 18 13:12:20 2010 -0700
11124e9fcaa8aSmrg
11125e9fcaa8aSmrg    specs/libX11: Fix up list of header files in Ch.1 & add index entries
11126e9fcaa8aSmrg    
11127e9fcaa8aSmrg    Combination of manual editing and automatic substitution via:
11128e9fcaa8aSmrg    
11129e9fcaa8aSmrg    perl -i -p -00 -e 's{<varlistentry>(\s+)<term>&lt;X11/([^&]+)&gt;</term>(\s+)<listitem>(\s+)<para>}{<varlistentry id="Standard_Header_Files:$2">$1<term><filename class="headerfile">&lt;X11/$2&gt;</filename></term>$3<listitem>$4<indexterm type="file"><primary><filename class="headerfile">X11/$2</filename></primary></indexterm>$4<indexterm><primary>Files</primary><secondary>&lt;X11/$2&gt;</secondary></indexterm>$4<indexterm><primary>Headers</primary><secondary>&lt;X11/$2&gt;</secondary></indexterm>$4<para>}g' CH01.xml
1113047f86ac1Smrg    
1113147f86ac1Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1113247f86ac1Smrg
11133e9fcaa8aSmrgcommit bb66e8f1ce330043278d3e8cbc7d5d3bc56ee030
11134e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11135e9fcaa8aSmrgDate:   Sun Jul 18 12:47:27 2010 -0700
1113647f86ac1Smrg
11137e9fcaa8aSmrg    specs/libX11: Add indexterms for headerfiles that .hN used to provide
1113847f86ac1Smrg    
11139e9fcaa8aSmrg    Automatic substitution performed via:
11140e9fcaa8aSmrg    perl -i -p -e 's{^&lt;<filename class="headerfile">([^<]+)</filename>&gt;(.*)$}{<filename class="headerfile">&lt;$1&gt;</filename>$2\n<indexterm type="file"><primary><filename class="headerfile">$1</filename></primary></indexterm>\n<indexterm><primary>Files</primary><secondary><filename class="headerfile">&lt;$1&gt;</filename></secondary></indexterm>\n<indexterm><primary>Headers</primary><secondary><filename class="headerfile">&lt;$1&gt;</filename></secondary></indexterm>}' *.xml
1114147f86ac1Smrg    
11142e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11143e9fcaa8aSmrg
11144e9fcaa8aSmrgcommit d0b0d215cb85da48b323b1392149ce181e7ef5ec
11145e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11146e9fcaa8aSmrgDate:   Fri Jul 16 21:15:13 2010 -0700
11147e9fcaa8aSmrg
11148e9fcaa8aSmrg    specs/libX11: convert multicolumn lists from tables to <simplelist>
11149e9fcaa8aSmrg    
11150e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11151e9fcaa8aSmrg
11152e9fcaa8aSmrgcommit e679f80c6210c0aefe3669f8f536353619097a4b
11153e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11154e9fcaa8aSmrgDate:   Fri Jul 16 20:51:52 2010 -0700
11155e9fcaa8aSmrg
11156e9fcaa8aSmrg    specs/libX11: Tag WM_* as <property>
11157e9fcaa8aSmrg    
11158e9fcaa8aSmrg    Mass substitution done by:
11159e9fcaa8aSmrg     perl -i -p -e 'if ($_ !~ m{^\<}) { $_ =~ s{(WM_\w+)}{<property>$1</property>}g; }' *.xml
11160e9fcaa8aSmrg    
11161e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11162e9fcaa8aSmrg
11163e9fcaa8aSmrgcommit c7b7e59b3b22221d0be6286c540001c360308f69
11164e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11165e9fcaa8aSmrgDate:   Fri Jul 16 20:41:33 2010 -0700
11166e9fcaa8aSmrg
11167e9fcaa8aSmrg    specs/libX11: Convert simpler eqn markup to docbook tags
11168e9fcaa8aSmrg    
11169e9fcaa8aSmrg    Mostly "sup" to <superscript>
11170e9fcaa8aSmrg    
11171e9fcaa8aSmrg    There's several more complicated equations that will probably need
11172e9fcaa8aSmrg    MathML or SVG to solve.
11173e9fcaa8aSmrg    
11174e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11175e9fcaa8aSmrg
11176e9fcaa8aSmrgcommit 897486c54c6a54771867d667441aaf9a4b9c35ca
11177e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11178e9fcaa8aSmrgDate:   Fri Jul 16 00:50:39 2010 -0700
11179e9fcaa8aSmrg
11180e9fcaa8aSmrg    specs/libX11: App. D: convert literallayouts to synopsis or programlisting
11181e9fcaa8aSmrg    
11182e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11183e9fcaa8aSmrg
11184e9fcaa8aSmrgcommit 692906c3b3d8aa8b8927fbc230c3050d633785d2
11185e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11186e9fcaa8aSmrgDate:   Fri Jul 16 00:36:43 2010 -0700
11187e9fcaa8aSmrg
11188e9fcaa8aSmrg    specs/libX11: Fix section headers in Appendix D
11189e9fcaa8aSmrg    
11190e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11191e9fcaa8aSmrg
11192e9fcaa8aSmrgcommit bcc41baa02e137884d847aec0f3ff8ca5c85c32f
11193e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11194e9fcaa8aSmrgDate:   Wed Jul 14 07:22:26 2010 -0700
11195e9fcaa8aSmrg
11196e9fcaa8aSmrg    specs/libX11: Explicitly tag document as English
11197e9fcaa8aSmrg    
11198e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11199e9fcaa8aSmrg
11200e9fcaa8aSmrgcommit 6783544706ff370e900c137f951e90230586d6dc
11201e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11202e9fcaa8aSmrgDate:   Mon Jul 12 22:03:18 2010 -0700
11203e9fcaa8aSmrg
11204e9fcaa8aSmrg    specs/libX11: Appendix C: convert literallayouts to synopsis or programlisting
11205e9fcaa8aSmrg    
11206e9fcaa8aSmrg    Fixes display of a bunch of function prototypes and sample code
11207e9fcaa8aSmrg    
11208e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11209e9fcaa8aSmrg
11210e9fcaa8aSmrgcommit 8834cd9285e6aaf437aee56292c508d99a090fa9
11211e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11212e9fcaa8aSmrgDate:   Mon Jul 12 18:37:16 2010 -0700
11213e9fcaa8aSmrg
11214e9fcaa8aSmrg    xmlrules.in: Add chunked-html rule to manually generate smaller files
11215e9fcaa8aSmrg    
11216e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11217e9fcaa8aSmrg
11218e9fcaa8aSmrgcommit 53f78680c34ebc94ce26b5e14c2a0003435cf10d
11219e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11220e9fcaa8aSmrgDate:   Mon Jul 12 18:35:59 2010 -0700
11221e9fcaa8aSmrg
11222e9fcaa8aSmrg    specs/libX11: Convert Appendix A tables to real tables
11223e9fcaa8aSmrg    
11224e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11225e9fcaa8aSmrg
11226e9fcaa8aSmrgcommit 705a1257a8a47f4a1f94979aee09a837500ede7d
11227e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11228e9fcaa8aSmrgDate:   Mon Jul 12 18:38:09 2010 -0700
11229e9fcaa8aSmrg
11230e9fcaa8aSmrg    specs/libX11: Fix out-of-place text in Chapter 1
11231e9fcaa8aSmrg    
11232e9fcaa8aSmrg    DTD violation error introduced in 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4
11233e9fcaa8aSmrg    
11234e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11235e9fcaa8aSmrg
11236e9fcaa8aSmrgcommit a151346a2b7810e988f1de4b1e00b37672dc587a
11237e9fcaa8aSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
11238e9fcaa8aSmrgDate:   Mon Jul 12 16:52:12 2010 -0700
11239e9fcaa8aSmrg
11240e9fcaa8aSmrg    launchd: Explicitly search /sbin
11241e9fcaa8aSmrg    
11242e9fcaa8aSmrg    Previously, launchd wasn't found if /sbin wasn't in the user's PATH.
11243e9fcaa8aSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=29028
11244e9fcaa8aSmrg    
11245e9fcaa8aSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
11246e9fcaa8aSmrg
11247e9fcaa8aSmrgcommit 89cc2e02e7c29ef9a02f0cfdf2090a2934f539e4
11248e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11249e9fcaa8aSmrgDate:   Mon Jul 12 13:38:04 2010 -0700
11250e9fcaa8aSmrg
11251e9fcaa8aSmrg    Replace untranslated .hN macros with <filename> tags to show header names
11252e9fcaa8aSmrg    
11253e9fcaa8aSmrg    Translation performed by:
11254e9fcaa8aSmrg     perl -i -p -e 's{\<\!-- .hN (\S+) (\S+)?\s*-->}
1125538ae11fcSmrg                     {&lt;<filename class="headerfile">$1</filename>&gt;$2}' *.xml
11256e9fcaa8aSmrg    
11257e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11258e9fcaa8aSmrg
11259e9fcaa8aSmrgcommit 75480440946603b8efdbbf78b88d59c641b6d2c8
11260e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11261e9fcaa8aSmrgDate:   Sat Jul 10 00:06:13 2010 -0700
11262e9fcaa8aSmrg
11263e9fcaa8aSmrg    specs/libX11: Mass substitution of <function> tags with more specific tags
11264e9fcaa8aSmrg    
11265e9fcaa8aSmrg    Matched names from X headers & "nm libX11.so" output to names in spec to
11266e9fcaa8aSmrg    map to more specific tags.   Tags used:
11267e9fcaa8aSmrg    
11268e9fcaa8aSmrg                        <code>   code fragments
11269e9fcaa8aSmrg                    <constant>   enum values
11270e9fcaa8aSmrg                   <errorname>   X protocol errors
11271e9fcaa8aSmrg                    <filename>   filenames
11272e9fcaa8aSmrg                    <function>   functions
11273e9fcaa8aSmrg                    <function>   function-like macros (#define foo(a,b)...)
11274e9fcaa8aSmrg                 <returnvalue>   function return codes
11275e9fcaa8aSmrg                 <structfield>   struct members
11276e9fcaa8aSmrg                  <structname>   struct names (even when typedefed)
11277e9fcaa8aSmrg                      <symbol>   simple value #defines (#define NAME value)
11278e9fcaa8aSmrg                  <systemitem>   X protocol requests
11279e9fcaa8aSmrg    <systemitem class="event">   X protocol events
11280e9fcaa8aSmrg                        <type>   non-struct typedefs
11281e9fcaa8aSmrg                     <varname>   global variables
11282e9fcaa8aSmrg    
11283e9fcaa8aSmrg    (Also fixed a couple typos detected by failures of this matching, such as
11284e9fcaa8aSmrg     XESSetPrintErrorValues -> XESetPrintErrorValues.)
11285e9fcaa8aSmrg    
11286e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11287e9fcaa8aSmrg
11288e9fcaa8aSmrgcommit 26f4f0d50840fe5ba4c46aae0a8e68db0059434b
11289e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11290e9fcaa8aSmrgDate:   Fri Jul 9 00:37:23 2010 -0700
11291e9fcaa8aSmrg
11292e9fcaa8aSmrg    specs/libX11: Glossary cross-reference links
11293e9fcaa8aSmrg    
11294e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11295e9fcaa8aSmrg
11296e9fcaa8aSmrgcommit 930b52d84031de0e15e0a11cf4ecfd3b2f59e073
11297e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11298e9fcaa8aSmrgDate:   Thu Jul 8 21:19:08 2010 -0700
11299e9fcaa8aSmrg
11300e9fcaa8aSmrg    specs/libX11: Make whitespace around <function> tags more uniform
11301e9fcaa8aSmrg    
11302e9fcaa8aSmrg    Simplifies regular expressions for further mass substitutions.
11303e9fcaa8aSmrg    
11304e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11305e9fcaa8aSmrg
11306e9fcaa8aSmrgcommit 730ce6b8aca77b77385aa894d234cbde5fcbce37
11307e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
11308e9fcaa8aSmrgDate:   Fri Jul 9 20:10:37 2010 -0400
11309e9fcaa8aSmrg
11310e9fcaa8aSmrg    specs: use pattern rules rather than suffix rules
11311e9fcaa8aSmrg    
11312e9fcaa8aSmrg    This allows target to rebuild when included .xml files are changed.
11313e9fcaa8aSmrg    
11314e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
11315e9fcaa8aSmrg
11316e9fcaa8aSmrgcommit 5527b4bc8ce7de60123eb28789ddef54aa48a378
11317e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11318e9fcaa8aSmrgDate:   Thu Jul 8 20:56:41 2010 -0700
11319e9fcaa8aSmrg
11320e9fcaa8aSmrg    specs/libX11: Move punctuation outside of the <function> tags
11321e9fcaa8aSmrg    
11322e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11323e9fcaa8aSmrg
11324e9fcaa8aSmrgcommit d66d2134dfc38cd866c7c2d9ea45ed4b4dad23f0
11325e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11326e9fcaa8aSmrgDate:   Thu Jul 8 20:42:50 2010 -0700
11327e9fcaa8aSmrg
11328e9fcaa8aSmrg    specs/libX11: Mark a number of <acronym>s
11329e9fcaa8aSmrg    
11330e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11331e9fcaa8aSmrg
11332e9fcaa8aSmrgcommit d5bbb12f55ac9f691eab6242cedc53207275131b
11333e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11334e9fcaa8aSmrgDate:   Thu Jul 8 19:31:36 2010 -0700
1133547f86ac1Smrg
11336e9fcaa8aSmrg    specs/libX11: Glossary terms should not be marked as functions
11337e9fcaa8aSmrg    
11338e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11339e9fcaa8aSmrg
11340e9fcaa8aSmrgcommit 5decf7bc5dae0ae0c45c47eaaa9c4fdf9515ca1c
11341e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11342e9fcaa8aSmrgDate:   Thu Jul 8 19:28:18 2010 -0700
11343e9fcaa8aSmrg
11344e9fcaa8aSmrg    specs/libX11: Clean up author list & acknowledgements a little
11345e9fcaa8aSmrg    
11346e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11347e9fcaa8aSmrg
11348e9fcaa8aSmrgcommit 0cd29bdb332c333e5123dce65b25ad1d97fbdae3
11349e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11350e9fcaa8aSmrgDate:   Thu Jul 8 17:30:34 2010 -0700
11351e9fcaa8aSmrg
11352e9fcaa8aSmrg    specs/libX11: Convert troff .IN macros to docbook <indexterm> tags
11353e9fcaa8aSmrg    
11354e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11355e9fcaa8aSmrg
11356e9fcaa8aSmrgcommit a67d99ccbe22c8ce5f7a12f13b8991d9e0cf4491
11357e9fcaa8aSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
11358e9fcaa8aSmrgDate:   Thu Jul 8 17:29:21 2010 -0400
11359e9fcaa8aSmrg
11360e9fcaa8aSmrg    specs: specdir is required to install xml files
11361e9fcaa8aSmrg    
11362e9fcaa8aSmrg    The source is installed as well as the targets.
11363e9fcaa8aSmrg    This failed when configuring with --without-xmlto
11364e9fcaa8aSmrg    
11365e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
11366e9fcaa8aSmrg
11367e9fcaa8aSmrgcommit e14273f44c1501ab51db4adcb83b18a1073787d8
11368e9fcaa8aSmrgAuthor: Matt Dew <matt@osource.org>
11369e9fcaa8aSmrgDate:   Thu Jul 8 14:42:32 2010 -0400
11370e9fcaa8aSmrg
11371e9fcaa8aSmrg    specs: replace troff source with docbook-xml source
11372e9fcaa8aSmrg    
11373e9fcaa8aSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
11374e9fcaa8aSmrg
11375e9fcaa8aSmrgcommit bea0873caf50e9ed1b89255775d9ab912cbecd45
1137647f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1137747f86ac1SmrgDate:   Thu Jul 8 16:49:51 2010 +0100
1137847f86ac1Smrg
1137947f86ac1Smrg    XStringToKeysym: Check strdup() return value
1138047f86ac1Smrg    
1138147f86ac1Smrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
1138247f86ac1Smrg    Reviewed-by: Keith Packard <keithp@keithp.com>
1138347f86ac1Smrg
11384e9fcaa8aSmrgcommit cffa71b4a5743e2b6675b9a917d15aef4177d513
11385e9fcaa8aSmrgAuthor: Marko Myllynen <myllynen@redhat.com>
11386e9fcaa8aSmrgDate:   Mon Jun 28 15:08:05 2010 +0300
11387e9fcaa8aSmrg
11388e9fcaa8aSmrg    Fix two typos in SFS 5966 Annex 3
11389e9fcaa8aSmrg    
11390e9fcaa8aSmrg    X.Org bug#28792 <https://bugs.freedesktop.org/show_bug.cgi?id=28792>
11391e9fcaa8aSmrg    
11392e9fcaa8aSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
11393e9fcaa8aSmrg
11394e9fcaa8aSmrgcommit eb023c0f8919e809b8b609e1467b14d20a290aa7
1139547f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1139647f86ac1SmrgDate:   Tue Jun 15 18:49:43 2010 +0100
1139747f86ac1Smrg
1139847f86ac1Smrg    Delete now-redundant XKeysymDB
1139947f86ac1Smrg    
1140047f86ac1Smrg    Since XStringToKeysym now supports all the vendor keysyms, just delete
1140147f86ac1Smrg    our XKeysymDB, which was incomplete at best, misleading at worst, and
1140247f86ac1Smrg    always an annoyance.
1140347f86ac1Smrg    
1140447f86ac1Smrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
1140547f86ac1Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1140647f86ac1Smrg
11407e9fcaa8aSmrgcommit 00175397480b76d32bf82b0c7c94c91a2a95954e
1140847f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1140947f86ac1SmrgDate:   Tue Jun 15 18:48:48 2010 +0100
1141047f86ac1Smrg
1141147f86ac1Smrg    makekeys: Scan vendor keysyms as well as core
1141247f86ac1Smrg    
1141347f86ac1Smrg    Since we can't really live without vendor keysyms, scan them all in to
1141447f86ac1Smrg    generate ks_tables.h, rather than only doing the core ones, and leaving
1141547f86ac1Smrg    the vendor syms to be manually synchronised with XKeysymDB.
1141647f86ac1Smrg    
1141747f86ac1Smrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
1141847f86ac1Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1141947f86ac1Smrg
11420e9fcaa8aSmrgcommit ebd6ef0a4db0ddef0ae17ad14571518ccdeea5ba
1142147f86ac1SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1142247f86ac1SmrgDate:   Tue Jun 15 18:47:37 2010 +0100
1142347f86ac1Smrg
1142447f86ac1Smrg    XStringToKeysym: Special case for XF86 keysyms
1142547f86ac1Smrg    
1142647f86ac1Smrg    Some XFree86 keysyms were in XKeysymDB as XF86_foo, despite really being
1142747f86ac1Smrg    XF86foo.  So, if we get to the bottom of XStringToKeysym and haven't
1142847f86ac1Smrg    found our XF86_foo, try it again as XF86foo.
1142947f86ac1Smrg    
1143047f86ac1Smrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
1143147f86ac1Smrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1143247f86ac1Smrg
11433e9fcaa8aSmrgcommit 8c2ffce9e5c6eef8a04f7e2732db46b3b62e13bb
11434e9fcaa8aSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
11435e9fcaa8aSmrgDate:   Tue Jun 15 17:20:48 2010 +0100
1143661234c2cSmrg
11437e9fcaa8aSmrg    configure.ac: Change from deprecated AC_DEFINE_DIR to AX_
1143861234c2cSmrg    
11439e9fcaa8aSmrg    AC_DEFINE_DIR is deprecated as it's squatting on the autoconf-builtin
11440e9fcaa8aSmrg    namespace, so start using the more proper AX_DEFINE_DIR instead.
11441e9fcaa8aSmrg    
11442e9fcaa8aSmrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
11443e9fcaa8aSmrg    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
11444e9fcaa8aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1144561234c2cSmrg
11446e9fcaa8aSmrgcommit 6de368c9aa7ccd2fcd62fca5a2b278913db4d03d
11447e9fcaa8aSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br>
11448e9fcaa8aSmrgDate:   Thu Jul 1 06:50:47 2010 -0300
1144961234c2cSmrg
11450e9fcaa8aSmrg    Purge macros NEED_EVENTS and NEED_REPLIES
1145161234c2cSmrg    
11452e9fcaa8aSmrg    Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
11453e9fcaa8aSmrg    Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
11454e9fcaa8aSmrg    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1145561234c2cSmrg
11456e9fcaa8aSmrgcommit 0b724231be17f19538ee115a03b82b221b1f83c0
11457e9fcaa8aSmrgAuthor: Adam Jackson <ajax@redhat.com>
11458e9fcaa8aSmrgDate:   Wed Jun 30 16:30:49 2010 -0400
1145961234c2cSmrg
11460e9fcaa8aSmrg    Use -version-number consistently instead of -version-info
1146161234c2cSmrg    
11462e9fcaa8aSmrg    The latter is libtool braindamage.
1146361234c2cSmrg    
11464e9fcaa8aSmrg    Signed-off-by: Adam Jackson <ajax@redhat.com>
1146561234c2cSmrg
11466e9fcaa8aSmrgcommit 241a990afcf9c967c587ad6fd245df21b68b1ad9
1146761234c2cSmrgAuthor: Juliusz Chroboczek <jch@pps.jussieu.fr>
1146861234c2cSmrgDate:   Tue Jun 29 18:32:42 2010 +0200
1146961234c2cSmrg
1147061234c2cSmrg    Make Compose-comma map to ogonek for I and U in UTF-8 locales.
1147161234c2cSmrg    
1147261234c2cSmrg    With the preceding patch, it makes the UTF-8 compose map consistent with
1147361234c2cSmrg    the ISO 8859-4 and -13 maps.
1147461234c2cSmrg
11475e9fcaa8aSmrgcommit af55e582f485a668c2bf43129be972bc65f03c60
1147661234c2cSmrgAuthor: Juliusz Chroboczek <jch@pps.jussieu.fr>
1147761234c2cSmrgDate:   Tue Jun 29 18:20:18 2010 +0200
1147861234c2cSmrg
1147961234c2cSmrg    Make Compose-comma map to Ogonek for A and E in UTF-8 locales.
1148061234c2cSmrg    
1148161234c2cSmrg    This makes the UTF-8 compose file consistent with the ISO 8859-2 compose file
1148261234c2cSmrg    as far as Polish is concerned.  We only sacrifice one pair of characters,
1148361234c2cSmrg    e-cedilla, which is not used in any language.
1148461234c2cSmrg
11485e9fcaa8aSmrgcommit d6ba13009fc9ef876a104b907ffef73c6e405d4b
11486e9fcaa8aSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11487e9fcaa8aSmrgDate:   Thu Jun 24 13:13:11 2010 -0700
11488e9fcaa8aSmrg
11489e9fcaa8aSmrg    Define FILE_MAN_DIR_SUFFIX so XCompose shadow page has correct path
11490e9fcaa8aSmrg    
11491e9fcaa8aSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
11492e9fcaa8aSmrg
11493e9fcaa8aSmrgcommit 978c7238789037de917b9423ea9adfb006da1260
1149461234c2cSmrgAuthor: Jamey Sharp <jamey@minilop.net>
11495e9fcaa8aSmrgDate:   Sat Jun 19 10:44:55 2010 -0700
1149661234c2cSmrg
11497e9fcaa8aSmrg    poll_for_response: Really handle xcb_poll_for_reply getting a reply.
1149861234c2cSmrg    
11499e9fcaa8aSmrg    Don't lose async replies. That's bad.
1150061234c2cSmrg    
11501e9fcaa8aSmrg    `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the
11502e9fcaa8aSmrg    _XReply path worked; that path waited for replies, rather than polling.
11503e9fcaa8aSmrg    
11504e9fcaa8aSmrg    However, XRecordProcessReplies, which does nothing but call XPending,
11505e9fcaa8aSmrg    relied on the event-handling path to process async replies, and that was
11506e9fcaa8aSmrg    busted.
11507e9fcaa8aSmrg    
11508e9fcaa8aSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595
1150961234c2cSmrg    
1151061234c2cSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1151161234c2cSmrg
11512e9fcaa8aSmrgcommit ef67486c5a8aada24fd95b2991a3c4979f53805f
11513e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net>
11514e9fcaa8aSmrgDate:   Mon Jun 21 13:34:15 2010 -0700
1151561234c2cSmrg
11516e9fcaa8aSmrg    Revert "xcb_io.c: poll_for_response doesn't guarantee there's a pending request."
1151761234c2cSmrg    
11518e9fcaa8aSmrg    This reverts commit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e, because as
11519e9fcaa8aSmrg    a matter of fact, if poll_for_response returns NULL when we know
11520e9fcaa8aSmrg    dpy->xcb->next_event is non-NULL, there *is* guaranteed to be a pending
11521e9fcaa8aSmrg    request.
11522e9fcaa8aSmrg
11523e9fcaa8aSmrgcommit 301ec5b41e9d253a446db656e1789ac7345dc433
11524e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net>
11525e9fcaa8aSmrgDate:   Mon Jun 21 13:24:24 2010 -0700
11526e9fcaa8aSmrg
11527e9fcaa8aSmrg    Revert "poll_for_response: Really handle xcb_poll_for_reply getting a reply."
1152861234c2cSmrg    
11529e9fcaa8aSmrg    This reverts commit c115095d7f2bc4f5a4fb26380e3698fefdad7611. We *do*
11530e9fcaa8aSmrg    need to check poll_for_event every time through the loop in
11531e9fcaa8aSmrg    poll_for_response, so the commit did too much.
1153261234c2cSmrg
11533e9fcaa8aSmrgcommit 4a8b6528ff69f6feb8c0e119939b4ce6c088f29e
11534e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net>
11535e9fcaa8aSmrgDate:   Mon Jun 21 10:54:02 2010 -0700
1153661234c2cSmrg
11537e9fcaa8aSmrg    xcb_io.c: poll_for_response doesn't guarantee there's a pending request.
1153861234c2cSmrg    
11539e9fcaa8aSmrg    Fixes the second bug reported in:
11540e9fcaa8aSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=28595
1154161234c2cSmrg    
11542e9fcaa8aSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
11543e9fcaa8aSmrg
11544e9fcaa8aSmrgcommit c115095d7f2bc4f5a4fb26380e3698fefdad7611
11545e9fcaa8aSmrgAuthor: Jamey Sharp <jamey@minilop.net>
11546e9fcaa8aSmrgDate:   Sat Jun 19 10:44:55 2010 -0700
11547e9fcaa8aSmrg
11548e9fcaa8aSmrg    poll_for_response: Really handle xcb_poll_for_reply getting a reply.
11549e9fcaa8aSmrg    
11550e9fcaa8aSmrg    Don't lose async replies. That's bad.
11551e9fcaa8aSmrg    
11552e9fcaa8aSmrg    `xlsfonts -l`, which uses XListFontsWithInfo, worked fine, because the
11553e9fcaa8aSmrg    _XReply path worked; that path waited for replies, rather than polling.
11554e9fcaa8aSmrg    
11555e9fcaa8aSmrg    However, XRecordProcessReplies, which does nothing but call XPending,
11556e9fcaa8aSmrg    relied on the event-handling path to process async replies, and that was
11557e9fcaa8aSmrg    busted.
11558e9fcaa8aSmrg    
11559e9fcaa8aSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28595
11560e9fcaa8aSmrg    
11561e9fcaa8aSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
11562e9fcaa8aSmrg    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
11563e9fcaa8aSmrg
11564e9fcaa8aSmrgcommit a25ae169862ab9b76daf259613b37c6b07bc2ef2
11565e9fcaa8aSmrgAuthor: Marko Myllynen <myllynen@redhat.com>
11566e9fcaa8aSmrgDate:   Sun Jun 13 19:23:05 2010 +0300
1156761234c2cSmrg
11568e9fcaa8aSmrg    Implement SFS 5966 Annex 4 for Finland
11569e9fcaa8aSmrg    
11570e9fcaa8aSmrg    This patch adds Annex 4 of SFS 5966 for Finland and fixes two typos in
11571e9fcaa8aSmrg    Annex 3 (which were actually copied verbatim from the standard text).
11572e9fcaa8aSmrg    
11573e9fcaa8aSmrg    The implementation of the standard is now complete.
11574e9fcaa8aSmrg    
11575e9fcaa8aSmrg    X.Org bug#28498 <https://bugs.freedesktop.org/show_bug.cgi?id=28498>
11576e9fcaa8aSmrg    
11577e9fcaa8aSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
11578e9fcaa8aSmrg
11579e9fcaa8aSmrgcommit 47b04195d8a31c8f9e6dd804196162c6cfca3ac6
1158061234c2cSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
11581e9fcaa8aSmrgDate:   Fri Jun 4 13:20:17 2010 -0700
1158261234c2cSmrg
11583e9fcaa8aSmrg    LINEAR_RGB_InitSCCData: When malloc fails, don't try to free unallocated bits
11584e9fcaa8aSmrg    
11585e9fcaa8aSmrg    One of the malloc failure checks had a goto to the wrong spot in the
11586e9fcaa8aSmrg    list of cleanup free() calls to unwind at the end, and was freeing
11587e9fcaa8aSmrg    bits that hadn't been initialized/allocated yet, since they would be
11588e9fcaa8aSmrg    stored in the struct that just failed to be allocated.
11589e9fcaa8aSmrg    
11590e9fcaa8aSmrg    Error: Null pointer dereference (CWE 476)
11591e9fcaa8aSmrg       Read from pointer that could be constant 'NULL'
11592e9fcaa8aSmrg            at line 805 of /export/alanc/X.Org/sx86/lib/libX11/src/xcms/LRGB.c in function 'LINEAR_RGB_InitSCCData'.
11593e9fcaa8aSmrg              Pointer checked against constant 'NULL' at line 754 but does not protect the dereference.
11594e9fcaa8aSmrg    
11595e9fcaa8aSmrg    [ This bug was found by the Parfait bug checking tool.
11596e9fcaa8aSmrg      For more information see http://research.sun.com/projects/parfait ]
1159761234c2cSmrg    
1159861234c2cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1159961234c2cSmrg
11600e9fcaa8aSmrgcommit aebbf3623888119b43893b253195d93b613a6e1e
11601e9fcaa8aSmrgAuthor: Josh Triplett <josh@joshtriplett.org>
11602e9fcaa8aSmrgDate:   Sun Jun 6 19:11:55 2010 -0700
11603e9fcaa8aSmrg
11604e9fcaa8aSmrg    Mark the rest of Xprivate.h as _X_HIDDEN.
11605e9fcaa8aSmrg    
11606e9fcaa8aSmrg    None of the functions in Xprivate.h should have any callers outside of
11607e9fcaa8aSmrg    Xlib, by definition.
11608e9fcaa8aSmrg    
11609e9fcaa8aSmrg    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
11610e9fcaa8aSmrg    Suggested-by: Jamey Sharp <jamey@minilop.net>
11611e9fcaa8aSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
11612e9fcaa8aSmrg
11613e9fcaa8aSmrgcommit abcd1b67c8135ad652833e5a60d818837c39fce1
1161461234c2cSmrgAuthor: Julien Cristau <jcristau@debian.org>
1161561234c2cSmrgDate:   Fri Jun 4 13:57:45 2010 +0200
1161661234c2cSmrg
1161761234c2cSmrg    Hide _XSeqSyncFunction
1161861234c2cSmrg    
1161961234c2cSmrg    Commit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43 made _XSeqSyncFunction
1162061234c2cSmrg    non-static, but we don't need to export it.
1162161234c2cSmrg    
1162261234c2cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
1162361234c2cSmrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
1162461234c2cSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
11625e9fcaa8aSmrg
11626e9fcaa8aSmrgcommit 15e5eaf62897b3179d1fbe457cb19f886f0449f8
11627e9fcaa8aSmrgAuthor: Josh Triplett <josh@joshtriplett.org>
11628e9fcaa8aSmrgDate:   Thu Jun 3 09:41:01 2010 -0700
11629e9fcaa8aSmrg
11630e9fcaa8aSmrg    Remove support for building without XCB
11631e9fcaa8aSmrg    
11632e9fcaa8aSmrg    And there was much rejoicing.
11633e9fcaa8aSmrg    
11634e9fcaa8aSmrg    Signed-off-by: Josh Triplett <josh@joshtriplett.org>
11635e9fcaa8aSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
11636e9fcaa8aSmrg    
11637e9fcaa8aSmrg    Consensus on #xorg-devel agrees with removing --without-xcb; in
11638e9fcaa8aSmrg    particular, acks from Adam Jackson, Daniel Stone, Kristian Høgsberg,
11639e9fcaa8aSmrg    Julien Cristau, and Rémi Cardona.
1164061234c2cSmrg
1164188de56ccSmrgcommit fb19eb767a32fd4ff74021c51bc6f60eb8bdff74
1164288de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1164388de56ccSmrgDate:   Thu Jun 3 15:21:40 2010 -0700
1164488de56ccSmrg
1164588de56ccSmrg    libX11 1.3.4
1164688de56ccSmrg    
1164788de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1164888de56ccSmrg
1164988de56ccSmrgcommit 8f3db40ca5108a919244f3fff7466d01a14b3ce2
1165088de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1165188de56ccSmrgDate:   Thu Jun 3 13:08:17 2010 -0700
1165288de56ccSmrg
1165388de56ccSmrg    Workaround bug in groff flag processing that breaks distcheck
1165488de56ccSmrg    
1165588de56ccSmrg    At least with the groff 1.19.2 package I have installed, groff passes
1165688de56ccSmrg    on the -I flags for the include path to grohtml, which if they come
1165788de56ccSmrg    after the -P-I... flag we pass to grohtml to specify the image file
1165888de56ccSmrg    name pattern cause it to override that flag and put the images in
1165988de56ccSmrg    the wrong place, breaking "make distcheck" - changing the flag order
1166088de56ccSmrg    works around this.
1166188de56ccSmrg    
1166288de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1166388de56ccSmrg
1166488de56ccSmrgcommit bdb31a1fb707cebccc9efbbf68cb55c10fa4ea3e
1166588de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1166688de56ccSmrgDate:   Thu Jun 3 11:25:33 2010 -0700
1166788de56ccSmrg
1166888de56ccSmrg    Fix typo that made configure always report "none" for man page suffix
1166988de56ccSmrg    
1167088de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1167188de56ccSmrg
1167288de56ccSmrgcommit 6bb7d2d21d6b58019fb37b724b59c9744f30b9ce
1167388de56ccSmrgAuthor: Paul Bender <pebender@gmail.com>
1167488de56ccSmrgDate:   Thu Jun 3 11:20:26 2010 -0700
1167588de56ccSmrg
1167688de56ccSmrg    Bug 22591 - configure does not obey the --enable-*-transport options
1167788de56ccSmrg    
1167888de56ccSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=22591
1167988de56ccSmrg    
1168088de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1168188de56ccSmrg
1168288de56ccSmrgcommit d7f35946d673bb00f2768e025b6e1017422b2174
1168388de56ccSmrgAuthor: Paul Bender <pebender@gmail.com>
1168488de56ccSmrgDate:   Thu Jun 3 11:17:45 2010 -0700
1168588de56ccSmrg
1168688de56ccSmrg    Bug 22590 - libX11 1.2.1 has broken abstract namespace support
1168788de56ccSmrg    
1168888de56ccSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=22590
1168988de56ccSmrg    
1169088de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1169188de56ccSmrg
1169288de56ccSmrgcommit b2487d07f7b355f230a56e32c763acd08862735c
1169388de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1169488de56ccSmrgDate:   Thu Jun 3 11:06:15 2010 -0700
1169588de56ccSmrg
1169688de56ccSmrg    Bug 22584 - libX11 does not cross compile
1169788de56ccSmrg    
1169888de56ccSmrg    Adaptation of patch submitted by Paul Bender in attachment 27301 to
1169988de56ccSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=22584
1170088de56ccSmrg    
1170188de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1170288de56ccSmrg    Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
1170388de56ccSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
1170488de56ccSmrg
1170588de56ccSmrgcommit 4378219ff8c1418418c70086085358b69d574e74
1170688de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1170788de56ccSmrgDate:   Tue Jun 1 18:55:48 2010 -0700
1170888de56ccSmrg
1170988de56ccSmrg    Clarify requirements in XRestackWindows man page
1171088de56ccSmrg    
1171188de56ccSmrg    The required common parent window is not specified in the arguments,
1171288de56ccSmrg    just implied as the parent of the first window in the list.
1171388de56ccSmrg    
1171488de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1171588de56ccSmrg
1171688de56ccSmrgcommit f09c5299a381e2729e800a0ac43f1c0e371f65f6
1171788de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
1171888de56ccSmrgDate:   Wed May 12 16:42:18 2010 -0700
1171988de56ccSmrg
1172088de56ccSmrg    xcb: Add TCP fallback
1172188de56ccSmrg    
1172288de56ccSmrg    If we fail to connect to a UNIX socket and the transport isn't specified,
1172388de56ccSmrg    fallback on TCP.  This matches behavior with the xtrans codepath and the
1172488de56ccSmrg    Xlib spec.
1172588de56ccSmrg    
1172688de56ccSmrg    http://lists.x.org/archives/xorg-devel/2010-April/007915.html
1172788de56ccSmrg    
1172888de56ccSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
1172988de56ccSmrg    Reviewed-by: Jamey Sharp <jamey@minilop.net>
1173088de56ccSmrg
1173188de56ccSmrgcommit fd82552d5c0ce1931f29006a0c36f5e03cf8577e
1173238ae11fcSmrgMerge: aae2a4a7 933aee1d
1173388de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1173488de56ccSmrgDate:   Mon May 10 16:51:24 2010 -0700
1173588de56ccSmrg
1173688de56ccSmrg    Merge branch 'xlib-xcb-thread-fixes'
1173788de56ccSmrg
1173888de56ccSmrgcommit aae2a4a7aab26de3fa715d6ecd0a0e0926b37fc9
1173988de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
1174088de56ccSmrgDate:   Fri Apr 23 21:50:29 2010 -0700
1174188de56ccSmrg
1174288de56ccSmrg    Don't append the screen number when using a launchd socket
1174388de56ccSmrg    
1174488de56ccSmrg    ssh gets confused by this.  XQuartz is the only DDX using this
1174588de56ccSmrg    functionality, and it doesn't support different screens, so
1174688de56ccSmrg    let's just not include this until most ssh know how to handle
1174788de56ccSmrg    this.
1174888de56ccSmrg    
1174988de56ccSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
1175088de56ccSmrg
1175188de56ccSmrgcommit adcd0ec209abf832a769d52db660fb37eaad6e0c
1175288de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
1175388de56ccSmrgDate:   Fri Apr 23 16:33:44 2010 -0700
1175488de56ccSmrg
1175588de56ccSmrg    Remove launchd logic from _XConnectXCB as it's handled in XCB
1175688de56ccSmrg    
1175788de56ccSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
1175888de56ccSmrg
1175988de56ccSmrgcommit d232b259c36fdde1f4179822809fec1480867dc5
1176088de56ccSmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com>
1176188de56ccSmrgDate:   Tue Feb 2 17:01:28 2010 -0800
1176288de56ccSmrg
1176388de56ccSmrg    Fix various build warnings
1176488de56ccSmrg    
1176588de56ccSmrg    imLcIm.c: In function '_XimCachedFileName':
1176688de56ccSmrg    imLcIm.c:361: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
1176788de56ccSmrg    imLcIm.c:364: warning: format '%03x' expects type 'unsigned int', but argument 8 has type 'long unsigned int'
1176888de56ccSmrg    
1176988de56ccSmrg    imRm.c: In function '_XimDefaultArea':
1177088de56ccSmrg    imRm.c:597: warning: cast from pointer to integer of different size
1177188de56ccSmrg    imRm.c: In function '_XimDefaultColormap':
1177288de56ccSmrg    imRm.c:626: warning: cast from pointer to integer of different size
1177388de56ccSmrg    
1177488de56ccSmrg    lcFile.c:224: warning: no previous prototype for 'xlocaledir'
1177588de56ccSmrg    
1177688de56ccSmrg    lcUTF8.c: In function 'iconv_cstombs':
1177788de56ccSmrg    lcUTF8.c:1841: warning: assignment discards qualifiers from pointer target type
1177888de56ccSmrg    lcUTF8.c:1869: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
1177988de56ccSmrg    lcUTF8.c:1873: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
1178088de56ccSmrg    lcUTF8.c: In function 'iconv_mbstocs':
1178188de56ccSmrg    lcUTF8.c:1935: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
1178288de56ccSmrg    lcUTF8.c: In function 'iconv_mbtocs':
1178388de56ccSmrg    lcUTF8.c:2031: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
1178488de56ccSmrg    lcUTF8.c: In function 'iconv_mbstostr':
1178588de56ccSmrg    lcUTF8.c:2121: warning: pointer targets in passing argument 2 of 'mbtowc' differ in signedness
1178688de56ccSmrg    lcUTF8.c: In function 'iconv_strtombs':
1178788de56ccSmrg    lcUTF8.c:2180: warning: pointer targets in passing argument 1 of 'wctomb' differ in signedness
1178888de56ccSmrg    lcUTF8.c: In function '_XlcAddGB18030LocaleConverters':
1178988de56ccSmrg    lcUTF8.c:2367: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
1179088de56ccSmrg    lcUTF8.c:2368: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
1179188de56ccSmrg    lcUTF8.c:2373: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
1179288de56ccSmrg    lcUTF8.c:2374: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
1179388de56ccSmrg    lcUTF8.c:2375: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
1179488de56ccSmrg    lcUTF8.c:2376: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
1179588de56ccSmrg    lcUTF8.c:2377: warning: passing argument 5 of '_XlcSetConverter' from incompatible pointer type
1179688de56ccSmrg    
1179788de56ccSmrg    XlibInt.c: In function '_XGetHostname':
1179888de56ccSmrg    XlibInt.c:3441: warning: implicit declaration of function 'gethostname'
1179988de56ccSmrg    XlibInt.c:3441: warning: nested extern declaration of 'gethostname'
1180088de56ccSmrg    
1180188de56ccSmrg    ConnDis.c: In function '_XDisconnectDisplay':
1180288de56ccSmrg    ConnDis.c:540: warning: old-style function definition
1180388de56ccSmrg    ConnDis.c: In function '_XSendClientPrefix':
1180488de56ccSmrg    ConnDis.c:554: warning: old-style function definition
1180588de56ccSmrg    ConnDis.c: In function 'XSetAuthorization':
1180688de56ccSmrg    ConnDis.c:677: warning: old-style function definition
1180788de56ccSmrg    
1180888de56ccSmrg    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
1180988de56ccSmrg
1181088de56ccSmrgcommit 3e11c73187acb2e2be9a812840bbbea947527ccb
1181188de56ccSmrgAuthor: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
1181288de56ccSmrgDate:   Fri Apr 23 00:01:54 2010 +0200
1181388de56ccSmrg
1181488de56ccSmrg    Allow X11 users to compose anarchism
1181588de56ccSmrg    
1181688de56ccSmrg    I can easily compose the hammer and sickle (the symbol representative
1181788de56ccSmrg    of communism) by pressing the key sequence:
1181888de56ccSmrg    
1181988de56ccSmrg      <Compose> <C> <C> <C> <P> -> ☭
1182088de56ccSmrg    
1182188de56ccSmrg    But i can't easily make the circled A (the symbol representative of
1182288de56ccSmrg    anarchism).
1182388de56ccSmrg    
1182488de56ccSmrg    I'd like to be able to use <Compose> <O> <A> (this is a
1182588de56ccSmrg    currently unused key sequence) to generate the symbol:  Ⓐ
1182688de56ccSmrg    
1182788de56ccSmrg    Debian bug#555938 <http://bugs.debian.org/555938>
1182888de56ccSmrg    
1182988de56ccSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
1183088de56ccSmrg
1183188de56ccSmrgcommit 933aee1d5c53b0cc7d608011a29188b594c8d70b
1183288de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1183388de56ccSmrgDate:   Fri Apr 16 20:18:28 2010 -0700
1183488de56ccSmrg
1183588de56ccSmrg    Fix Xlib/XCB for multi-threaded applications (with caveats).
1183688de56ccSmrg    
1183788de56ccSmrg    Rather than trying to group all response processing in one monolithic
1183888de56ccSmrg    process_responses function, let _XEventsQueued, _XReadEvents, and
1183988de56ccSmrg    _XReply each do their own thing with a minimum of code that can all be
1184088de56ccSmrg    reasoned about independently.
1184188de56ccSmrg    
1184288de56ccSmrg    Tested with `ico -threads 20`, which seems to be able to make many
1184388de56ccSmrg    icosahedrons dance at once quite nicely now.
1184488de56ccSmrg    
1184588de56ccSmrg    Caveats:
1184688de56ccSmrg    
1184788de56ccSmrg    - Anything that was not thread-safe in Xlib before XCB probably still
1184888de56ccSmrg      isn't. XListFontsWithInfo, for instance.
1184988de56ccSmrg    
1185088de56ccSmrg    - If one thread is waiting for events and another thread tries to read a
1185188de56ccSmrg      reply, both will hang until an event arrives. Previously, if this
1185288de56ccSmrg      happened it might work sometimes, but otherwise would trigger either
1185388de56ccSmrg      an assertion failure or a permanent hang.
1185488de56ccSmrg    
1185588de56ccSmrg    - Versions of libxcb up to and including 1.6 have a bug that can cause
1185688de56ccSmrg      xcb_wait_for_event or xcb_wait_for_reply to hang if they run
1185788de56ccSmrg      concurrently with xcb_writev or other writers. So you'll want that fix
1185888de56ccSmrg      as well.
1185988de56ccSmrg    
1186088de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1186188de56ccSmrg    Reviewed-by: Josh Triplett <josh@freedesktop.org>
1186288de56ccSmrg
1186388de56ccSmrgcommit aab43278ae619eb57d2dd9c7396f460f078588fc
1186488de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1186588de56ccSmrgDate:   Fri Apr 16 22:24:16 2010 -0700
1186688de56ccSmrg
1186788de56ccSmrg    Use InternalLockDisplay on code paths called from LockDisplay.
1186888de56ccSmrg    
1186988de56ccSmrg    It's easier to reason about the code when we can't re-enter the
1187088de56ccSmrg    Xlib-private sync-handlers while they're already running.
1187188de56ccSmrg    
1187288de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1187388de56ccSmrg    Reviewed-by: Josh Triplett <josh@freedesktop.org>
1187488de56ccSmrg
1187588de56ccSmrgcommit 660b7d05f4ca4ab4661c9fe7ce655a4909b4e556
1187688de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1187788de56ccSmrgDate:   Fri Apr 16 19:45:11 2010 -0700
1187888de56ccSmrg
1187988de56ccSmrg    Fix _XSend to enqueue the right range of pending requests.
1188088de56ccSmrg    
1188188de56ccSmrg    _XSend was off-by-one on both ends. It should not re-enqueue the last
1188288de56ccSmrg    request that was already flushed, but it should enqueue the last request
1188388de56ccSmrg    currently being flushed.
1188488de56ccSmrg    
1188588de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1188688de56ccSmrg    Reviewed-by: Josh Triplett <josh@freedesktop.org>
1188788de56ccSmrg
1188888de56ccSmrgcommit f2735889908d6e5a7f8dbee42f00c54a52665191
1188988de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1189088de56ccSmrgDate:   Fri Apr 16 19:45:11 2010 -0700
1189188de56ccSmrg
1189288de56ccSmrg    Pending requests are always added in-order.
1189388de56ccSmrg    
1189488de56ccSmrg    Replace insert_pending_request, which did an in-order search of the
1189588de56ccSmrg    queue to find the right insertion point, with a simpler
1189688de56ccSmrg    append_pending_request, and use that in _XSend as well.
1189788de56ccSmrg    
1189888de56ccSmrg    Includes assertions to check that the list of pending requests is in
1189988de56ccSmrg    order by sequence number and does not have duplicates.
1190088de56ccSmrg    
1190188de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1190288de56ccSmrg    Reviewed-by: Josh Triplett <josh@freedesktop.org>
1190388de56ccSmrg
1190488de56ccSmrgcommit d9cf5885b0f97942fbbd2a7cc50118132ece50f6
1190588de56ccSmrgAuthor: Markus Duft <markus.duft@salomon.at>
1190688de56ccSmrgDate:   Fri Apr 16 08:39:34 2010 -0700
1190788de56ccSmrg
1190888de56ccSmrg    Bug 26839: Fix build problem on Interix (POSIX layer on Windows)
1190988de56ccSmrg    
1191088de56ccSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=26839
1191188de56ccSmrg    
1191288de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1191388de56ccSmrg
1191488de56ccSmrgcommit a3f5f1b90936d23e9894e3261b2d77fb7b32a51a
1191588de56ccSmrgAuthor: Josh Triplett <josh@freedesktop.org>
1191688de56ccSmrgDate:   Thu Apr 15 14:24:21 2010 -0700
1191788de56ccSmrg
1191888de56ccSmrg    Stop returning an int from _XIDHandler and _XSeqSyncFunction
1191988de56ccSmrg    
1192088de56ccSmrg    _XIDHandler and _XSeqSyncFunction originally ran from dpy->synchandler, and
1192188de56ccSmrg    thus had to return an int.  Now, they only run from _XPrivSyncHandler or
1192288de56ccSmrg    LockDisplay, neither of which needs to check their return value since they
1192388de56ccSmrg    always returned 0.  Make them both void.
1192488de56ccSmrg    
1192588de56ccSmrg    Signed-off-by: Josh Triplett <josh@freedesktop.org>
1192688de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1192788de56ccSmrg
1192888de56ccSmrgcommit a6d974dc59f2722b36e2df9d4f07aeee4f83ce43
1192988de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1193088de56ccSmrgDate:   Thu Apr 15 13:05:08 2010 -0700
1193188de56ccSmrg
1193288de56ccSmrg    Move XID and sync handling from SyncHandle to LockDisplay to fix races.
1193388de56ccSmrg    
1193488de56ccSmrg    XID and sync handling happened via _XPrivSyncHandler, assigned to
1193588de56ccSmrg    dpy->synchandler and called from SyncHandle.  _XPrivSyncHandler thus ran
1193688de56ccSmrg    without the Display lock, so manipulating the Display caused races, and
1193788de56ccSmrg    these races led to assertions in multithreaded code (demonstrated via
1193888de56ccSmrg    ico).
1193988de56ccSmrg    
1194088de56ccSmrg    In the XTHREADS case, after you've called XInitThreads, we can hook
1194188de56ccSmrg    LockDisplay and UnlockDisplay.  Use that to run _XIDHandler and
1194288de56ccSmrg    _XSeqSyncHandler from LockDisplay rather than SyncHandle; we then know
1194388de56ccSmrg    that we hold the lock, and thus we can avoid races.  We think it makes
1194488de56ccSmrg    sense to do these both from LockDisplay rather than UnlockDisplay, so
1194588de56ccSmrg    that you know you have valid sync and a valid XID before you start
1194688de56ccSmrg    setting up the request you locked to prepare.
1194788de56ccSmrg    
1194888de56ccSmrg    In the !XTHREADS case, or if you haven't called XInitThreads, you don't
1194988de56ccSmrg    get to use Xlib from multiple threads, so we can use the logic we have
1195088de56ccSmrg    now (with synchandler and savedsynchandler) without any concern about
1195188de56ccSmrg    races.
1195288de56ccSmrg    
1195388de56ccSmrg    This approach gets a bit exciting when the XID and sequence sync
1195488de56ccSmrg    handlers drop and re-acquire the Display lock. Reacquisition will re-run
1195588de56ccSmrg    the handlers, but they return immediately unless they have work to do,
1195688de56ccSmrg    so they can't recurse more than once.  In the worst case, if both of
1195788de56ccSmrg    them have work to do, we can nest the Display lock three deep.  In the
1195888de56ccSmrg    case of the _XIDHandler, we drop the lock to call xcb_generate_id, which
1195988de56ccSmrg    takes the socket back if it needs to request more XIDs, and taking the
1196088de56ccSmrg    socket back will reacquire the lock; we take care to avoid letting
1196188de56ccSmrg    _XIDHandler run again and re-enter XCB from the return_socket callback
1196288de56ccSmrg    (which causes Very Bad Things, and is Not Allowed).
1196388de56ccSmrg    
1196488de56ccSmrg    Tested with ico (with 1 and 20 threads), and with several test programs
1196588de56ccSmrg    for XID and sequence sync.  Tested with and without XInitThreads(), and
1196688de56ccSmrg    with and without XCB.
1196788de56ccSmrg    
1196888de56ccSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=23192
1196988de56ccSmrg    
1197088de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1197188de56ccSmrg    Signed-off-by: Josh Triplett <josh@freedesktop.org>
1197288de56ccSmrg
1197388de56ccSmrgcommit b089b53b697c2851db2985d32af3b29f1da5e31e
1197488de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1197588de56ccSmrgDate:   Wed Apr 14 12:59:11 2010 -0700
1197688de56ccSmrg
1197788de56ccSmrg    Honest. Extensions get to filter async errors too.
1197888de56ccSmrg    
1197988de56ccSmrg    Under some circumstances, errors are picked up by calling
1198088de56ccSmrg    xcb_poll_for_reply, rather than xcb_poll_for_event, because Xlib issued
1198188de56ccSmrg    the requests with the XCB_REQUEST_CHECKED flag. That happens when either
1198288de56ccSmrg    an async handler is queued at the time the requests are flushed, or when
1198388de56ccSmrg    XSetEventQueueOwner has been used to prevent Xlib from processing XCB's
1198488de56ccSmrg    event queue.
1198588de56ccSmrg    
1198688de56ccSmrg    This bugfix extends 405132dab64bf2375f8e57d02b1b53da2311933a to cover
1198788de56ccSmrg    those cases.
1198888de56ccSmrg    
1198988de56ccSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545
1199088de56ccSmrg    
1199188de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1199288de56ccSmrg
1199388de56ccSmrgcommit a15c31274650e391bc6de5d0951eb4464c228139
1199488de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1199588de56ccSmrgDate:   Wed Apr 14 12:10:34 2010 -0700
1199688de56ccSmrg
1199788de56ccSmrg    _XError already runs async handlers; only call them directly for replies.
1199888de56ccSmrg    
1199988de56ccSmrg    The previous behavior probably would have triggered bug reports someday.
1200088de56ccSmrg    
1200188de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1200288de56ccSmrg
1200388de56ccSmrgcommit 405132dab64bf2375f8e57d02b1b53da2311933a
1200488de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1200588de56ccSmrgDate:   Tue Apr 13 12:12:36 2010 -0700
1200688de56ccSmrg
1200788de56ccSmrg    Extensions get to filter async errors too.
1200888de56ccSmrg    
1200988de56ccSmrg    Apparently I misread XlibInt.c:_XReply and thought that handlers set
1201088de56ccSmrg    with XESetError should be consulted only for the sequence number that
1201188de56ccSmrg    _XReply is currently looking for. In fact, the error handlers are also
1201288de56ccSmrg    consulted when an error arrives for a request that was not expected to
1201388de56ccSmrg    have a reply.
1201488de56ccSmrg    
1201588de56ccSmrg    However, in an odd twist, the error handlers are *not* consulted outside
1201688de56ccSmrg    of _XReply--that is, when looking for events, or waiting to be able to
1201788de56ccSmrg    flush the output queue. So this patch takes some small pains to preserve
1201888de56ccSmrg    that behavior, though it seems likely to have been unintentional.
1201988de56ccSmrg    
1202088de56ccSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26545
1202188de56ccSmrg    
1202288de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1202388de56ccSmrg
1202488de56ccSmrgcommit d3eab4a38f3e53ef21eb3b6fa66ead7afecf6227
1202588de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1202688de56ccSmrgDate:   Tue Apr 13 12:49:59 2010 -0700
1202788de56ccSmrg
1202888de56ccSmrg    Prefer the xcb_generic_error_t we already have over casting to xEvent.
1202988de56ccSmrg    
1203088de56ccSmrg    Just a minor cleanup.
1203188de56ccSmrg    
1203288de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1203388de56ccSmrg
1203488de56ccSmrgcommit 75ea8c37935ccc911557d16a303ba595b8ab106b
1203588de56ccSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1203688de56ccSmrgDate:   Mon Apr 12 11:30:20 2010 -0700
1203788de56ccSmrg
1203888de56ccSmrg    Run the user's synchandler as well as any internal synchandlers.
1203988de56ccSmrg    
1204088de56ccSmrg    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=27595
1204188de56ccSmrg    
1204288de56ccSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1204388de56ccSmrg
1204488de56ccSmrgcommit c3f3e4a9e531d010312c97e753d6e543e607094d
1204588de56ccSmrgAuthor: Kusanagi Kouichi <slash@ac.auone-net.jp>
1204688de56ccSmrgDate:   Fri Feb 12 17:16:10 2010 +0900
1204788de56ccSmrg
1204888de56ccSmrg    Fix manual typos.
1204988de56ccSmrg    
1205088de56ccSmrg    Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
1205188de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1205288de56ccSmrg
1205388de56ccSmrgcommit 75c6c5595408caba9ef8233839d77021d02f86f2
1205488de56ccSmrgAuthor: Dirk Wallenstein <dirkwallenstein@t-online.de>
1205588de56ccSmrgDate:   Fri Feb 5 20:42:46 2010 +0100
1205688de56ccSmrg
1205788de56ccSmrg    man: Correct the XkbAllAccessXEventsMask mask name
1205888de56ccSmrg    
1205988de56ccSmrg    This mask has probably been renamed but not been updated in the manuals.
1206088de56ccSmrg    
1206188de56ccSmrg    Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de>
1206288de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1206388de56ccSmrg
1206488de56ccSmrgcommit 9262aceaff24c954cab8c252690032bc2ec25e7d
1206588de56ccSmrgAuthor: Dirk Wallenstein <dirkwallenstein@t-online.de>
1206688de56ccSmrgDate:   Fri Feb 5 20:42:45 2010 +0100
1206788de56ccSmrg
1206888de56ccSmrg    man: Add missing geometry component flag
1206988de56ccSmrg    
1207088de56ccSmrg    Signed-off-by: Dirk Wallenstein <dirkwallenstein@t-online.de>
1207188de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1207288de56ccSmrg
1207388de56ccSmrgcommit 50cf134465f6fd263f37acecac94518468ef1c6d
1207488de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de>
1207588de56ccSmrgDate:   Tue Feb 2 21:24:32 2010 +0100
1207688de56ccSmrg
1207788de56ccSmrg    man: Return value of XkbGetState is Status and not Bool
1207888de56ccSmrg    
1207988de56ccSmrg    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
1208088de56ccSmrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
1208188de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1208288de56ccSmrg
1208388de56ccSmrgcommit 7a93ae2bb5292a97fdd27ed818bc81248b37f641
1208488de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de>
1208588de56ccSmrgDate:   Tue Feb 2 21:24:30 2010 +0100
1208688de56ccSmrg
1208788de56ccSmrg    man: Fix return value specification of XkbKeyActionEntry
1208888de56ccSmrg    
1208988de56ccSmrg    The XkbKeyActionEntry macro expands to a pointer.
1209088de56ccSmrg    
1209188de56ccSmrg    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
1209288de56ccSmrg    Reviewed-by: Julien Cristau <jcristau@debian.org>
1209388de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1209488de56ccSmrg
1209588de56ccSmrgcommit e9884d4a05a5661ec343ea8a2aa0562b6419e086
1209688de56ccSmrgAuthor: Dirk Wallenstein <halsmit@t-online.de>
1209788de56ccSmrgDate:   Tue Feb 2 21:24:29 2010 +0100
1209888de56ccSmrg
1209988de56ccSmrg    man: Redirect users from XKeycodeToKeysym to XkbKeycodeToKeysym #25732
1210088de56ccSmrg    
1210188de56ccSmrg    XKeycodeToKeysym keeps compatibility with pre-XKB and thus only sees 2
1210288de56ccSmrg    groups with 2 levels each. It wraps the index into the next group.
1210388de56ccSmrg    This behavior confuses the unaware user, and therefore this will add a
1210488de56ccSmrg    reference to XkbKeycodeToKeysym in the corresponding man paragraph.
1210588de56ccSmrg    
1210688de56ccSmrg    Another bug had that issue, too. #5349
1210788de56ccSmrg    
1210888de56ccSmrg    Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
1210988de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1211088de56ccSmrg
1211188de56ccSmrgcommit 6474cdf97cd648afaeaa872155f3fa21cfb43f80
1211288de56ccSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com>
1211388de56ccSmrgDate:   Thu Apr 8 19:59:55 2010 -0700
1211488de56ccSmrg
1211588de56ccSmrg    Fix typo in new fi_FI.UTF-8 that was reported by "make check"
1211688de56ccSmrg    
1211788de56ccSmrg    Unrecognized pattern in Compose on line #154:
1211888de56ccSmrg      <dead_diaeresis> <space>                " "¨"
1211988de56ccSmrg    
1212088de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
1212188de56ccSmrg
1212288de56ccSmrgcommit 91bd5e7af2d3a9526aefb73dc10f417896f0e4dd
1212388de56ccSmrgAuthor: Marko Myllynen <myllynen@redhat.com>
1212488de56ccSmrgDate:   Thu Apr 8 19:52:42 2010 -0700
1212588de56ccSmrg
1212688de56ccSmrg    Bug 27465 - Rewritten fi_FI.UTF-8 Compose file
1212788de56ccSmrg    
1212888de56ccSmrg    I've rewritten the fi_FI.UTF-8 Compose file so that it
1212988de56ccSmrg    
1213088de56ccSmrg    - includes en_US.UTF-8/Compose for base compose definitions (and thus gets any
1213188de56ccSmrg    possible additions to en_US.UTF-8/Compose automatically included)
1213288de56ccSmrg    - overrides any en_US.UTF-8/Compose definitions with fi_FI.UTF-8/Compose
1213388de56ccSmrg    definitions (thus making it safe to include en_US.UTF-8/Compose)
1213488de56ccSmrg    - lists all the definitions specified in the SFS 5966 standard (thus making it
1213588de56ccSmrg    easy to verify that the implementation is valid and complete)
1213688de56ccSmrg    - adds a header about the file itself as required by the standard
1213788de56ccSmrg    
1213888de56ccSmrg    The rewritten version is ~320 lines compared to over 5000 lines of the previous
1213988de56ccSmrg    version.
1214088de56ccSmrg    
1214188de56ccSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=27465
1214288de56ccSmrg
1214388de56ccSmrgcommit f6a4fd0c7615684d08e848245849dea4017a5214
1214488de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1214588de56ccSmrgDate:   Thu Apr 1 21:46:12 2010 -0400
1214688de56ccSmrg
1214788de56ccSmrg    config: update and relocate AC_DEFINE_DIR macro
1214888de56ccSmrg    
1214988de56ccSmrg    Remove deprecated acinclude.m4 macro container file
1215088de56ccSmrg    Use separate macro files as per autoconf recommendation
1215188de56ccSmrg    Use the latest macro from GNU (ax) which replaces
1215288de56ccSmrg    the non-gnu version (ac)
1215388de56ccSmrg    This preserves the Autoconf macro AC namespace.
1215488de56ccSmrg    
1215588de56ccSmrg    Also moved out of acinclude.m4 is the DOLT macro
1215688de56ccSmrg    
1215788de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1215888de56ccSmrg
1215988de56ccSmrgcommit 61d5231db418cec51bd718633c3bba39b18689d6
1216088de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1216188de56ccSmrgDate:   Mon Mar 29 14:53:48 2010 -0400
1216288de56ccSmrg
1216388de56ccSmrg    config: remove the pkgconfig pc.in file from EXTRA_DIST
1216488de56ccSmrg    
1216588de56ccSmrg    Automake always includes it in the tarball.
1216688de56ccSmrg    
1216788de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1216888de56ccSmrg
1216988de56ccSmrgcommit 69fc76a0321c6b25cc4286173c53435c69ab8e0e
1217088de56ccSmrgAuthor: Fernando Carrijo <fcarrijo@yahoo.com.br>
1217188de56ccSmrgDate:   Wed Mar 17 23:53:16 2010 -0300
1217288de56ccSmrg
1217388de56ccSmrg    No need for req->firstKeyCode to be set twice.
1217488de56ccSmrg    
1217588de56ccSmrg    There is no reason to set req->firstKeyCode twice when a client, wishful
1217688de56ccSmrg    for changing keyboard mappings, calls XChangeKeyboardMapping. This patch
1217788de56ccSmrg    fixes the mistake by making no functional changes to libX11 whatsoever.
1217888de56ccSmrg    
1217988de56ccSmrg    Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
1218088de56ccSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
1218188de56ccSmrg
1218288de56ccSmrgcommit b5797597f83ee62228abfb88f026ef92163e07a5
1218388de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1218488de56ccSmrgDate:   Tue Feb 16 10:37:21 2010 -0500
1218588de56ccSmrg
1218688de56ccSmrg    config: move CWARNFLAGS from configure.ac to Makefile.am
1218788de56ccSmrg    
1218888de56ccSmrg    Compiler warning flags should be explicitly set in the makefile
1218988de56ccSmrg    rather than being merged with other packages compiler flags.
1219088de56ccSmrg    
1219188de56ccSmrg    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
1219288de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1219388de56ccSmrg
1219488de56ccSmrgcommit 052c4d7995b0e52a038933beb85cd544571c6b7e
1219588de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1219688de56ccSmrgDate:   Tue Feb 16 14:28:21 2010 -0500
1219788de56ccSmrg
1219888de56ccSmrg    specs: change install cmd due to automake 1.11
1219988de56ccSmrg    
1220088de56ccSmrg    specData_INSTALL is defined in 1.9 and 1.10 but not 1.11
1220188de56ccSmrg    
1220288de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1220388de56ccSmrg
1220488de56ccSmrgcommit 7277a18cda9f5a6807d11cf4ceb9449b1c302c18
1220588de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1220688de56ccSmrgDate:   Tue Feb 9 17:27:08 2010 -0500
1220788de56ccSmrg
1220888de56ccSmrg    doc: use $(mkdir_p) rather than $(MKDIR_P) due to automake 1.9.6
1220988de56ccSmrg    
1221088de56ccSmrg    $(MKDIR_P) is not defined in automake 1.9.
1221188de56ccSmrg    
1221288de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1221388de56ccSmrg
1221488de56ccSmrgcommit e66eda95b520727969d721416d4ea49b54ef2b03
1221588de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1221688de56ccSmrgDate:   Tue Feb 2 16:29:26 2010 -0500
1221788de56ccSmrg
1221888de56ccSmrg    specs: install html images in $docdir with html files
1221988de56ccSmrg    
1222088de56ccSmrg    The images required by the html files have been omitted.
1222188de56ccSmrg    
1222288de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1222388de56ccSmrg
1222488de56ccSmrgcommit 137d1ff6be99d040e77c8c4c52029c5bdf1f4808
1222588de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1222688de56ccSmrgDate:   Sun Jan 31 14:16:20 2010 -0500
1222788de56ccSmrg
1222888de56ccSmrg    doc: use new macros to control doc generation
1222988de56ccSmrg    
1223088de56ccSmrg    Namely XORG_WITH_GROFF for the groff generation tool
1223188de56ccSmrg    XORG_WITH_PS2PDF for the conversion of PS docs to PDF
1223288de56ccSmrg    XORG_ENABLE_SPECS for the generation of specs
1223388de56ccSmrg    
1223488de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1223588de56ccSmrg
1223688de56ccSmrgcommit 9ca583c5d6fcf9cd8151ee7b019630b141d32fab
1223788de56ccSmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
1223888de56ccSmrgDate:   Tue Jan 26 19:41:08 2010 -0500
1223988de56ccSmrg
1224088de56ccSmrg    doc: clean-up generated html images
1224188de56ccSmrg    
1224288de56ccSmrg    Generate images in /images as is the convention
1224388de56ccSmrg    Provide a base file name for images rather than process ID
1224488de56ccSmrg    Remove images directory when running make clean
1224588de56ccSmrg    
1224688de56ccSmrg    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
1224788de56ccSmrg
1224888de56ccSmrgcommit eb289b34bfc9978eef724e0f268975938334c06c
12249e9628295SmrgAuthor: Kristian Høgsberg  <krh@bitplanet.net>
1225088de56ccSmrgDate:   Thu Jan 21 13:39:17 2010 -0500
1225188de56ccSmrg
1225288de56ccSmrg    XErrorDB: Add new DRI2 request names
1225388de56ccSmrg
1225488de56ccSmrgcommit 6babf2123d05adb9349394c49cc2d81d1f66cf9e
1225588de56ccSmrgAuthor: Julien Cristau <jcristau@debian.org>
1225688de56ccSmrgDate:   Sat Jan 16 22:47:03 2010 +0000
1225788de56ccSmrg
1225888de56ccSmrg    man: Fix typo in Makefile
1225988de56ccSmrg    
1226088de56ccSmrg    Missing line continuation was preventing the XCompose alias from being
1226188de56ccSmrg    generated.
1226288de56ccSmrg    
1226388de56ccSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
1226488de56ccSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1226588de56ccSmrg
12266b4ee4795Smrgcommit 68530599e61cf9fef3fcc91650e7cef21837fce7
12267b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12268b4ee4795SmrgDate:   Sat Jan 16 11:41:32 2010 -0800
12269b4ee4795Smrg
12270b4ee4795Smrg    libX11 1.3.3
12271b4ee4795Smrg    
12272b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12273b4ee4795Smrg
12274b4ee4795Smrgcommit 1e5af224b9fbdb154620f898558704f2bc4bf4e9
12275b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12276b4ee4795SmrgDate:   Thu Jan 14 18:33:39 2010 -0800
12277b4ee4795Smrg
12278b4ee4795Smrg    Update COPYING file with actual licenses from libX11 code & docs
12279b4ee4795Smrg    
12280b4ee4795Smrg    COPYING was previously a years out-of-date copy of the LICENSES
12281b4ee4795Smrg    doc summarizing all licenses for all XFree86 components, many of
12282b4ee4795Smrg    which did not apply to libX11.
12283b4ee4795Smrg    
12284b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12285b4ee4795Smrg
12286b4ee4795Smrgcommit ddb1786720d6136b1b28be599c75c10ad1b76a2a
12287b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12288b4ee4795SmrgDate:   Thu Jan 14 17:38:26 2010 -0800
12289b4ee4795Smrg
12290b4ee4795Smrg    Purge CVS/RCS id tags
12291b4ee4795Smrg    
12292b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12293b4ee4795Smrg
12294b4ee4795Smrgcommit c1db9ddcfa7091f173478dca45bf720badedfca4
12295b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12296b4ee4795SmrgDate:   Thu Jan 14 15:39:14 2010 -0800
12297b4ee4795Smrg
12298b4ee4795Smrg    Update Sun license notices to current X.Org standard form
12299b4ee4795Smrg    
12300b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12301b4ee4795Smrg
12302b4ee4795Smrgcommit 1aaa7c0358c5c035b99625f5715cb722bc2d2a2f
12303b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12304b4ee4795SmrgDate:   Thu Jan 14 08:28:22 2010 -0800
12305b4ee4795Smrg
12306b4ee4795Smrg    Add %S substitutions to Compose man page
12307b4ee4795Smrg    
12308b4ee4795Smrg    Commit 9df349a7894725f9469b106af645f57f7f3f9af3 added support for %S
12309b4ee4795Smrg    in Compose file include statements - this documents it in the Compose
12310b4ee4795Smrg    file man page.
12311b4ee4795Smrg    
12312b4ee4795Smrg    Also changes the existing substitution documentation to list format
12313b4ee4795Smrg    instead of a paragraph format to allow easier adding of %S.
12314b4ee4795Smrg    
12315b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12316b4ee4795Smrg
12317b4ee4795Smrgcommit 94b45db93058cffa25598fe27dd3e385ace9d305
12318b4ee4795SmrgAuthor: Richard Purdie <rpurdie@linux.intel.com>
12319b4ee4795SmrgDate:   Thu Jan 14 08:04:28 2010 -0800
12320b4ee4795Smrg
12321b4ee4795Smrg    Fix configure.ac PKG_ macro calls
12322b4ee4795Smrg    
12323b4ee4795Smrg    If the first call to PKG_CHECK_MODULES() may not be called during execution
12324b4ee4795Smrg    which is the case here since its inside a case statement, call
12325b4ee4795Smrg    PKG_PROG_PKG_CONFIG() to ensure things worked correctly.
12326b4ee4795Smrg    
12327b4ee4795Smrg    Fixes a configure failure introduced by commit
12328b4ee4795Smrg    87529c039050ce3336ff9ce00f1b5a21d15690da when xcb is enabled.
12329b4ee4795Smrg    
12330b4ee4795Smrg    http://bugs.freedesktop.org/show_bug.cgi?id=26041
12331b4ee4795Smrg    
12332b4ee4795Smrg    Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
12333b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12334b4ee4795Smrg
12335b4ee4795Smrgcommit df559d8bc2238a2c369152fcb06e5b5ab132a5dc
12336b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12337b4ee4795SmrgDate:   Tue Jan 12 09:18:15 2010 -0800
12338b4ee4795Smrg
12339b4ee4795Smrg    Raise xorg-macros requirement to 1.4
12340b4ee4795Smrg    
12341b4ee4795Smrg    Needed since the changes in 464390f16d7ed4aa5bf80f89863ba92273075ec2
12342b4ee4795Smrg    depend on the INSTALL file delivered in xorg-macros 1.4
12343b4ee4795Smrg    
12344b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12345b4ee4795Smrg
12346b4ee4795Smrgcommit 9df349a7894725f9469b106af645f57f7f3f9af3
12347b4ee4795SmrgAuthor: James Cloos <cloos@jhcloos.com>
12348b4ee4795SmrgDate:   Wed Jan 13 11:04:38 2010 -0500
12349b4ee4795Smrg
12350b4ee4795Smrg    Allow inclusion of system level compose files.
12351b4ee4795Smrg    
12352b4ee4795Smrg    With the release of XFree86 4.4 an inclusion system of compose files was
12353b4ee4795Smrg    added to Xlib to allow inclusion of the default compose file (with %L),
12354b4ee4795Smrg    any compose files from user’s home directory (with %H), or a compose
12355b4ee4795Smrg    file with a hard coded path¹. However, even today including system level
12356b4ee4795Smrg    compose files is not possible in a platform independent manner although
12357b4ee4795Smrg    the machinery for including compose files and overriding previously
12358b4ee4795Smrg    defined compositions is already in place.
12359b4ee4795Smrg    
12360b4ee4795Smrg    With the ability to include system level compose files one could greatly
12361b4ee4795Smrg    reduce the need for compose file rule duplication and the work needed to
12362b4ee4795Smrg    propagate changes in one compose file to others. For example, currently
12363b4ee4795Smrg    the Finnish compose file fi_FI.UTF-8 weights over 5000 lines² but it
12364b4ee4795Smrg    is almost identical with en_US.UTF-8 except for perhaps half a dozen
12365b4ee4795Smrg    compositions.
12366b4ee4795Smrg    
12367b4ee4795Smrg    This commit allows one to include system level compose files with the
12368b4ee4795Smrg    following kind of syntax:
12369b4ee4795Smrg    
12370b4ee4795Smrg    include "%S/en_US.UTF-8/Compose"
12371b4ee4795Smrg    
12372b4ee4795Smrg    1] http://www.xfree86.org/4.4.0/RELNOTES5.html#42
12373b4ee4795Smrg    2] http://cgit.freedesktop.org/xorg/lib/libX11/tree/nls/fi_FI.UTF-8/Compose.pre
12374b4ee4795Smrg    
12375b4ee4795Smrg    Signed-off-by: Marko Myllynen <myllynen@redhat.com>
12376b4ee4795Smrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
12377b4ee4795Smrg
12378b4ee4795Smrgcommit ccf21a8877f40136e25f2f62d0668b0c76b3cfbd
12379b4ee4795SmrgAuthor: Thien-Thi Nguyen <ttn@gnuvola.org>
12380b4ee4795SmrgDate:   Tue Dec 1 10:31:47 2009 +0100
12381b4ee4795Smrg
12382b4ee4795Smrg    libX11: Fix comment: Invert polarity (direction) of reformat description.
12383b4ee4795Smrg    
12384b4ee4795Smrg    Signed-off-by: Thien-Thi Nguyen <ttn@gnuvola.org>
12385b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12386b4ee4795Smrg
12387b4ee4795Smrgcommit 4d4676c0d6324d2ff9d00d15ab485fa5d848a369
12388b4ee4795SmrgAuthor: Osamu Sayama <osamu.sayama@sun.com>
12389b4ee4795SmrgDate:   Tue Jan 5 17:26:40 2010 -0800
12390b4ee4795Smrg
12391b4ee4795Smrg    set_fontset_extents crash after get_rotate_fontname fix in 2bef065b70f7
12392b4ee4795Smrg    
12393b4ee4795Smrg    - In set_fontset_extents, check font_data is not NULL before running
12394b4ee4795Smrg      loop that may increment it to a non-NULL invalid pointer.
12395b4ee4795Smrg    - Make sure get_rotate_fontname counts the final field
12396b4ee4795Smrg    
12397b4ee4795Smrg    Fixes OpenSolaris bug 6913809: X application dumps core in ja_JP.UTF-8 locale
12398b4ee4795Smrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6913809>
12399b4ee4795Smrg    
12400b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12401b4ee4795Smrg    Reviewed-by: Adam Jackson <ajax@redhat.com>
12402b4ee4795Smrg
12403b4ee4795Smrgcommit 87529c039050ce3336ff9ce00f1b5a21d15690da
12404b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12405b4ee4795SmrgDate:   Tue Jan 5 18:02:37 2010 -0800
12406b4ee4795Smrg
12407b4ee4795Smrg    Merge X11, XKBPROTO, & XPROTO pkg-config lists
12408b4ee4795Smrg    
12409b4ee4795Smrg    Since the XPROTO_CFLAGS & XKBPROTO_CFLAGS are just merged into X11_CFLAGS
12410b4ee4795Smrg    in configure.ac anyway, might as well combine the lists passed to
12411b4ee4795Smrg    PKG_CHECK_MODULES to reduce duplication in the flags.
12412b4ee4795Smrg    
12413b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12414b4ee4795Smrg    Reviewed-by: Rémi Cardona <remi@gentoo.org>
12415b4ee4795Smrg    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
12416b4ee4795Smrg
12417b4ee4795Smrgcommit 2dd053667b44c55e2bf601aec7b75fc6fee1cf44
12418b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12419b4ee4795SmrgDate:   Tue Jan 5 17:56:58 2010 -0800
12420b4ee4795Smrg
12421b4ee4795Smrg    Add XCompose man page shadow for Compose man page
12422b4ee4795Smrg    
12423b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12424b4ee4795Smrg
12425b4ee4795Smrgcommit 02543bba816e065c02cd36e0c9e21519a9ee9c96
12426b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12427b4ee4795SmrgDate:   Tue Jan 5 17:47:44 2010 -0800
12428b4ee4795Smrg
12429b4ee4795Smrg    Add $(AM_V_GEN) to silence lint rules too
12430b4ee4795Smrg    
12431b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12432b4ee4795Smrg
12433b4ee4795Smrgcommit db7c6fdeeaef9475458498e4cf09d6b1329e9aa3
12434b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12435b4ee4795SmrgDate:   Tue Jan 5 17:42:42 2010 -0800
12436b4ee4795Smrg
12437b4ee4795Smrg    Remove GCC_WARNINGS now that XORG_CWARNFLAGS sets them for us
12438b4ee4795Smrg    
12439b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12440b4ee4795Smrg
12441b4ee4795Smrgcommit 6b4e526e7ba105622f6b143e8e2639b44cb6cc19
12442b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
12443b4ee4795SmrgDate:   Sun Nov 29 10:44:24 2009 -0500
12444b4ee4795Smrg
12445b4ee4795Smrg    configure.ac: restore correct order for XORG_DEFAULT_OPTIONS
12446b4ee4795Smrg    
12447b4ee4795Smrg    It must be following AC_USE_SYSTEM_EXTENSION
12448b4ee4795Smrg
12449b4ee4795Smrgcommit 3dbaa11d1c8705e1b309c6686f354766b651ad20
12450b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
12451b4ee4795SmrgDate:   Sun Nov 29 10:01:44 2009 -0500
12452b4ee4795Smrg
12453b4ee4795Smrg    Add .gitignore in /specs for generated files
12454b4ee4795Smrg    
12455b4ee4795Smrg    Being in /specs, it will apply for all 3 subdirs
12456b4ee4795Smrg
12457b4ee4795Smrgcommit f45d39d37aab04742e44cd8c3c993aad7587e40c
12458b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
12459b4ee4795SmrgDate:   Fri Nov 27 20:56:03 2009 -0500
12460b4ee4795Smrg
12461b4ee4795Smrg    Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
12462b4ee4795Smrg    
12463b4ee4795Smrg    Now that the INSTALL file is generated.
12464b4ee4795Smrg    Allows running make maintainer-clean.
12465b4ee4795Smrg
12466b4ee4795Smrgcommit 464390f16d7ed4aa5bf80f89863ba92273075ec2
12467b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
12468b4ee4795SmrgDate:   Wed Oct 28 14:09:10 2009 -0400
12469b4ee4795Smrg
12470b4ee4795Smrg    INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
12471b4ee4795Smrg    
12472b4ee4795Smrg    Add missing INSTALL file. Use standard GNU file on building tarball
12473b4ee4795Smrg    README may have been updated
12474b4ee4795Smrg    Remove AUTHORS file as it is empty and no content available yet.
12475b4ee4795Smrg    Remove NEWS file as it is empty and no content available yet.
12476b4ee4795Smrg
12477b4ee4795Smrgcommit 6360e7f0ce6a75da2bed33ede7fea783a1fb80e1
12478b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
12479b4ee4795SmrgDate:   Tue Oct 27 15:07:25 2009 -0400
12480b4ee4795Smrg
12481b4ee4795Smrg    Deploy the new XORG_DEFAULT_OPTIONS #24242
12482b4ee4795Smrg    
12483b4ee4795Smrg    This macro aggregate a number of existing macros that sets commmon
12484b4ee4795Smrg    X.Org components configuration options. It shields the configuration file from
12485b4ee4795Smrg    future changes.
12486b4ee4795Smrg
12487b4ee4795Smrgcommit d02f943c98fde2f14319bc57fd9ad77eb9a2a572
12488b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
12489b4ee4795SmrgDate:   Mon Oct 26 22:08:42 2009 -0400
12490b4ee4795Smrg
12491b4ee4795Smrg    Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
12492b4ee4795Smrg    
12493b4ee4795Smrg    ChangeLog filename is known to Automake and requires no further
12494b4ee4795Smrg    coding in the makefile.
12495b4ee4795Smrg
12496b4ee4795Smrgcommit f77c89c751a6a63c8ef11ecdddca2aed11ff6e29
12497b4ee4795SmrgAuthor: Gaetan Nadon <memsize@videotron.ca>
12498b4ee4795SmrgDate:   Thu Oct 22 12:34:19 2009 -0400
12499b4ee4795Smrg
12500b4ee4795Smrg    .gitignore: use common defaults with custom section # 24239
12501b4ee4795Smrg    
12502b4ee4795Smrg    Using common defaults will reduce errors and maintenance.
12503b4ee4795Smrg    Only the very small or inexistent custom section need periodic maintenance
12504b4ee4795Smrg    when the structure of the component changes. Do not edit defaults.
12505b4ee4795Smrg
12506b4ee4795Smrgcommit 46c7b0e9d0d85cf5ccc0d40d19821fcc3335503b
12507b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12508b4ee4795SmrgDate:   Thu Nov 12 23:05:40 2009 -0800
12509b4ee4795Smrg
12510b4ee4795Smrg    Add compose-check.pl to EXTRA_DIST
12511b4ee4795Smrg    
12512b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12513b4ee4795Smrg
12514b4ee4795Smrgcommit 54c64267cc8bc98641cc39a22cb7bd71673e89e0
12515b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org>
12516b4ee4795SmrgDate:   Thu Oct 29 17:17:24 2009 +0100
12517b4ee4795Smrg
12518b4ee4795Smrg    man: fix XCopyGC argument order
12519b4ee4795Smrg    
12520b4ee4795Smrg    Ubuntu bug#408337
12521b4ee4795Smrg
12522b4ee4795Smrgcommit aad10032651cdc2a53b359035954454a28d6db67
12523b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12524b4ee4795SmrgDate:   Fri Oct 23 13:55:14 2009 -0700
12525b4ee4795Smrg
12526b4ee4795Smrg    libX11 1.3.2
12527b4ee4795Smrg    
12528b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12529b4ee4795Smrg
12530b4ee4795Smrgcommit 6303ada89cb228c0f9656036f798703afb42fc29
12531b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12532b4ee4795SmrgDate:   Wed Oct 21 12:42:07 2009 +1000
12533b4ee4795Smrg
12534b4ee4795Smrg    Add smiley faces to compose sequences.
12535b4ee4795Smrg    
12536b4ee4795Smrg    I wonder how we could have lasted that long without them.
12537b4ee4795Smrg    
12538b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12539b4ee4795Smrg    Acked-by: Daniel Stone <daniel@fooishbar.org>
12540b4ee4795Smrg    Acked-By: James Cloos <cloos@jhcloos.com>
12541b4ee4795Smrg
12542b4ee4795Smrgcommit 0e104ebd8628803c27e36b16922ad1edd891325a
12543b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12544b4ee4795SmrgDate:   Thu Oct 22 23:12:30 2009 -0700
12545b4ee4795Smrg
12546b4ee4795Smrg    Add man page for Compose file format
12547b4ee4795Smrg    
12548b4ee4795Smrg    Based on grammar description in modules/im/ximcp/imLcPrs.c and
12549b4ee4795Smrg    note on XFree86 changes formerly found in xorg-docs RELNOTES.sgml
12550b4ee4795Smrg    
12551b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12552b4ee4795Smrg
12553b4ee4795Smrgcommit 9c95f2af7c442b3a59b1a30cf804f1ef4e7fc5b5
12554b4ee4795SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org>
12555b4ee4795SmrgDate:   Tue Oct 20 12:46:03 2009 -0700
12556b4ee4795Smrg
12557b4ee4795Smrg    Add extra configuration and sanity checks for groff and ps2pdf
12558b4ee4795Smrg    
12559b4ee4795Smrg    1) Add AC_ARG_VAR for GROFF and PS2PDF to inform users of these
12560b4ee4795Smrg       environment variables.
12561b4ee4795Smrg    2) Check that groff -ms works
12562b4ee4795Smrg    
12563b4ee4795Smrg    Some distributions ship the ms macros as a separate package which may
12564b4ee4795Smrg    not be installed together with groff, so we need to make sure that groff
12565b4ee4795Smrg    works and the required macros are actually installed before attempting
12566b4ee4795Smrg    to build the specs.
12567b4ee4795Smrg    
12568b4ee4795Smrg    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
12569b4ee4795Smrg    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
12570b4ee4795Smrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12571b4ee4795Smrg
12572b4ee4795Smrgcommit d3f801fd2f9198eaad6797414dba652f9c006c6d
12573b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12574b4ee4795SmrgDate:   Sun Oct 18 17:34:53 2009 -0500
12575b4ee4795Smrg
12576b4ee4795Smrg    Fix VPATH build of libX11 specs
12577b4ee4795Smrg    
12578b4ee4795Smrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12579b4ee4795Smrg
12580b4ee4795Smrgcommit ad15e1a89d30ccc11d80745897b83def1448e8c0
12581b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12582b4ee4795SmrgDate:   Sat Oct 17 16:14:34 2009 -0700
12583b4ee4795Smrg
12584b4ee4795Smrg    libX11 1.3.1
12585b4ee4795Smrg    
12586b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12587b4ee4795Smrg
12588b4ee4795Smrgcommit 0cbf98c17a7484bb58b2464b98d63bb3b4ea2594
12589b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12590b4ee4795SmrgDate:   Sat Oct 17 16:28:25 2009 -0700
12591b4ee4795Smrg
12592b4ee4795Smrg    Fix make distcheck
12593b4ee4795Smrg    
12594b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12595b4ee4795Smrg
12596b4ee4795Smrgcommit 082e62ad268ef16a3bebc5a3c9fa008dbdc483ed
12597b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12598b4ee4795SmrgDate:   Fri Oct 16 19:25:35 2009 -0700
12599b4ee4795Smrg
12600b4ee4795Smrg    Use $(AM_V_GEN) to silence echo commands for generating shadow man pages
12601b4ee4795Smrg    
12602b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12603b4ee4795Smrg
12604b4ee4795Smrgcommit 4e66da0783b2e5e3b288aaecd3c89396ed425c20
12605b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12606b4ee4795SmrgDate:   Wed Oct 14 16:18:24 2009 -0700
12607b4ee4795Smrg
12608b4ee4795Smrg    Move libX11 & XIM/locale specs from xorg-docs
12609b4ee4795Smrg    
12610b4ee4795Smrg    If groff is found, and --disable-specs is not passed to configure,
12611b4ee4795Smrg    specs will be converted to text, html and ps (or pdf if ps2pdf is
12612b4ee4795Smrg    found) and installed to $(docdir)
12613b4ee4795Smrg    
12614b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12615b4ee4795Smrg
12616b4ee4795Smrgcommit 5d3d817a42ddcc8d0c6efd33efd1442fe14f5c6b
12617b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12618b4ee4795SmrgDate:   Tue Oct 13 19:15:51 2009 -0500
12619b4ee4795Smrg
12620b4ee4795Smrg    Provide _Xsetlocale compat wrappers on Cygwin
12621b4ee4795Smrg    
12622b4ee4795Smrg    Previous versions of Cygwin did not have proper locale support, so Cygwin/X
12623b4ee4795Smrg    defined X_LOCALE, using _Xsetlocale instead.  Cygwin 1.7 has added locale
12624b4ee4795Smrg    support, but we can't remove the _Xsetlocale entry point without breaking
12625b4ee4795Smrg    ABI.
12626b4ee4795Smrg    
12627b4ee4795Smrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12628b4ee4795Smrg
12629b4ee4795Smrgcommit 2c8b3a877a713bb66a6316a7051b43c46af6e1a0
12630b4ee4795SmrgAuthor: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12631b4ee4795SmrgDate:   Tue Oct 13 19:15:49 2009 -0500
12632b4ee4795Smrg
12633b4ee4795Smrg    dolt: add Cygwin to supported platforms
12634b4ee4795Smrg    
12635b4ee4795Smrg    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12636b4ee4795Smrg
12637b4ee4795Smrgcommit a2c8e3e34b15b57ff881a52101fc961a602f35e4
12638b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12639b4ee4795SmrgDate:   Wed Oct 14 13:23:30 2009 -0700
12640b4ee4795Smrg
12641b4ee4795Smrg    Recognize XSUNBUFFERSIZE alias for XLIBBUFFERSIZE on Solaris
12642b4ee4795Smrg    
12643b4ee4795Smrg    Also fix indenting of the XLIBBUFFERSIZE code to match surrounding code
12644b4ee4795Smrg    
12645b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12646b4ee4795Smrg
12647b4ee4795Smrgcommit 34ddfca7b7d58240b0fe74bec6b2e0652d15c051
12648b4ee4795SmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk>
12649b4ee4795SmrgDate:   Tue Feb 10 17:47:25 2009 +0000
12650b4ee4795Smrg
12651b4ee4795Smrg    Include sys/select.h for select() and struct timeval, if it exists
12652b4ee4795Smrg    
12653b4ee4795Smrg    This is a cygwin build fix
12654b4ee4795Smrg
12655b4ee4795Smrgcommit 383165916ddac91740d4c780174d4c0d07cdb994
12656b4ee4795SmrgAuthor: Xake <xake@rymdraket.net>
12657b4ee4795SmrgDate:   Sun Sep 27 11:16:36 2009 +0200
12658b4ee4795Smrg
12659b4ee4795Smrg    Use AM_V_GEN instead of customized macros for AM_SILENT_RULES
12660b4ee4795Smrg    
12661b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12662b4ee4795Smrg
12663b4ee4795Smrgcommit 854269d55cdda8caf425515bfed2855e211a5ada
12664b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org>
12665b4ee4795SmrgDate:   Tue Oct 6 16:11:24 2009 +0200
12666b4ee4795Smrg
12667b4ee4795Smrg    configure: quote argument to m4_pattern_forbid
12668b4ee4795Smrg    
12669b4ee4795Smrg    Without this, configure spits out
12670b4ee4795Smrg    ../configure: line 12364: ac_fn_c_check_member: command not found
12671b4ee4795Smrg    ../configure: line 12378: ac_fn_c_check_type: command not found
12672b4ee4795Smrg    
12673b4ee4795Smrg    Also anchor the pattern to make it stricter.
12674b4ee4795Smrg    
12675b4ee4795Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
12676b4ee4795Smrg
12677b4ee4795Smrgcommit 3bb020587ce74e0737ec7aceb20041f1e77d3b87
12678b4ee4795SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org>
12679b4ee4795SmrgDate:   Thu Oct 1 22:20:38 2009 -0700
12680b4ee4795Smrg
12681b4ee4795Smrg    Split CFLAGS into CPPFLAGS and CFLAGS
12682b4ee4795Smrg    
12683b4ee4795Smrg    On some build systems, CPPFLAGS is set to "-I/some/prefix/include".  If older
12684b4ee4795Smrg    X11 headers are in /some/prefix/include, they will be preferred over the
12685b4ee4795Smrg    shipped headers.  This corrects that problem.
12686b4ee4795Smrg
12687b4ee4795Smrgcommit d54caf1c9c55af8247621b7ba6afb20b23699839
12688b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12689b4ee4795SmrgDate:   Fri Oct 2 10:59:08 2009 +1000
12690b4ee4795Smrg
12691b4ee4795Smrg    libX11 1.3
12692b4ee4795Smrg    
12693b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12694b4ee4795Smrg
12695b4ee4795Smrgcommit dd201bcf9e7f8863b7ef32273a5ef021678133c1
12696b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12697b4ee4795SmrgDate:   Fri Oct 2 12:10:29 2009 +1000
12698b4ee4795Smrg
12699b4ee4795Smrg    nls: remove duplicate Compose sequences from pt_BR.UTF-8
12700b4ee4795Smrg    
12701b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12702b4ee4795Smrg
12703b4ee4795Smrgcommit a293ae9e83739067fc92db1a39c262857bc2283e
12704b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12705b4ee4795SmrgDate:   Fri Sep 25 11:19:41 2009 +1000
12706b4ee4795Smrg
12707b4ee4795Smrg    Add XF86TouchpadToggle to XKeysymDB
12708b4ee4795Smrg    
12709b4ee4795Smrg    Lenovo laptops provide a key to enable or disable the touchpad and the
12710b4ee4795Smrg    trackstick. This key is usually located on Fn + F8.
12711b4ee4795Smrg    
12712b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12713b4ee4795Smrg    Acked-by: Adam Jackson <ajax@redhat.com>
12714b4ee4795Smrg
12715b4ee4795Smrgcommit 69839f8903a24eab08f17a781b3797fb64dce9cf
12716b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12717b4ee4795SmrgDate:   Sun Sep 27 10:34:16 2009 -0700
12718b4ee4795Smrg
12719b4ee4795Smrg    Bug 24173: libX11 from git fails to build with automake older then 1.11
12720b4ee4795Smrg    
12721b4ee4795Smrg    AM_CONDITIONAL must come *before* the AC_OUTPUT that creates the
12722b4ee4795Smrg    Makefiles, instead of after.
12723b4ee4795Smrg    <http://bugs.freedesktop.org/show_bug.cgi?id=24173>
12724b4ee4795Smrg    
12725b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12726b4ee4795Smrg
12727b4ee4795Smrgcommit f5effd041f58ef07703cca2b4f396758811e1eec
12728b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12729b4ee4795SmrgDate:   Wed Apr 15 10:59:23 2009 -0700
12730b4ee4795Smrg
12731b4ee4795Smrg    Resolve conflicting Compose sequences in iso8859-2, el_GR.UTF-8 & pt_BR.UTF-8
12732b4ee4795Smrg    
12733b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12734b4ee4795Smrg
12735b4ee4795Smrgcommit 3843778358d3a0cd6a2d07dba5dd061248053ac9
12736b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12737b4ee4795SmrgDate:   Wed Apr 15 10:56:09 2009 -0700
12738b4ee4795Smrg
12739b4ee4795Smrg    Add perl script to check for duplicate or conflicting compose file entries
12740b4ee4795Smrg    
12741b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12742b4ee4795Smrg
12743b4ee4795Smrgcommit 19cc5e1fa17a285045662820a8b4de2a0f9a194d
12744b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12745b4ee4795SmrgDate:   Fri Sep 18 17:10:04 2009 -0700
12746b4ee4795Smrg
12747b4ee4795Smrg    Use make rules instead of shell for loops to generate shadow man pages
12748b4ee4795Smrg    
12749b4ee4795Smrg    Allows parallel make and simpler build logs/error reporting
12750b4ee4795Smrg    
12751b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12752b4ee4795Smrg
12753b4ee4795Smrgcommit 7dabcac973d0b6692a3cd62bd6d8e0467b24200b
12754b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12755b4ee4795SmrgDate:   Fri Sep 18 16:58:53 2009 -0700
12756b4ee4795Smrg
12757b4ee4795Smrg    Add AM_SILENT_RULES support for cpp rules for man & nls files
12758b4ee4795Smrg    
12759b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12760b4ee4795Smrg
12761b4ee4795Smrgcommit bfa19cddd8546b4930a773f3bbd81137c362d82b
12762b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12763b4ee4795SmrgDate:   Fri Sep 18 16:58:16 2009 -0700
12764b4ee4795Smrg
12765b4ee4795Smrg    Update to using xorg-macros 1.3 & XORG_DEFAULT_OPTIONS
12766b4ee4795Smrg    
12767b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12768b4ee4795Smrg
12769b4ee4795Smrgcommit 51396066c8003a96a6399c9a4bed2a81e512b582
12770b4ee4795SmrgAuthor: Mikko Niskanen <mikko.niskanen@iki.fi>
12771b4ee4795SmrgDate:   Fri Sep 4 10:11:15 2009 +1000
12772b4ee4795Smrg
12773b4ee4795Smrg    Fix wrong typedef on HP-UX (#18998)
12774b4ee4795Smrg    
12775b4ee4795Smrg    shl_dt doesn't exist, the type is shl_t.
12776b4ee4795Smrg    
12777b4ee4795Smrg    X.Org Bug 18998 <http://bugs.freedesktop.org/show_bug.cgi?id=18998>
12778b4ee4795Smrg    
12779b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12780b4ee4795Smrg
12781b4ee4795Smrgcommit 615220a312b9430a580fe6dcf51703c6ef244f66
12782b4ee4795SmrgAuthor: Paul Bender <pebender@gmail.com>
12783b4ee4795SmrgDate:   Fri Sep 4 09:57:10 2009 +1000
12784b4ee4795Smrg
12785b4ee4795Smrg    Don't require xdmcp in configure.ac (#22583)
12786b4ee4795Smrg    
12787b4ee4795Smrg    X.Org Bug 22583 <http://bugs.freedesktop.org/show_bug.cgi?id=22583>
12788b4ee4795Smrg    
12789b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12790b4ee4795Smrg
12791b4ee4795Smrgcommit 20f9ecd86ad2a9ac6966f7eee32234cb5ef77c29
12792b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12793b4ee4795SmrgDate:   Thu Sep 3 14:02:44 2009 +1000
12794b4ee4795Smrg
12795b4ee4795Smrg    man: fix parameters to XkbAllocGeomOverlay{Rows|Keys} (#23499)
12796b4ee4795Smrg    
12797b4ee4795Smrg    X.Org Bug 23499 <http://bugs.freedesktop.org/show_bug.cgi?id=23499>
12798b4ee4795Smrg    
12799b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12800b4ee4795Smrg
12801b4ee4795Smrgcommit c2814a614dc4d9409bfa0f44c18bfd69ad7f7b85
12802b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12803b4ee4795SmrgDate:   Thu Sep 3 12:05:25 2009 +1000
12804b4ee4795Smrg
12805b4ee4795Smrg    man: XQueryTree may return BadWindow. (#23416)
12806b4ee4795Smrg    
12807b4ee4795Smrg    X.Org Bug 23416 <http://bugs.freedesktop.org/show_bug.cgi?id=XXX>
12808b4ee4795Smrg    
12809b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12810b4ee4795Smrg
12811b4ee4795Smrgcommit dbe98d456ccc6eeca9fa3e241a3db0a4d83c5a65
12812b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12813b4ee4795SmrgDate:   Fri Aug 28 23:07:58 2009 +0800
12814b4ee4795Smrg
12815b4ee4795Smrg    Fix version tag in .TH line of several XKB man pages
12816b4ee4795Smrg    
12817b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12818b4ee4795Smrg
12819b4ee4795Smrgcommit bf24400936c10af6f5aa0c75cfe2207ab9b680b4
12820b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12821b4ee4795SmrgDate:   Fri Aug 28 23:04:38 2009 +0800
12822b4ee4795Smrg
12823b4ee4795Smrg    XkbSetDeviceButtonActions.man: remove non-existent actions argument
12824b4ee4795Smrg    
12825b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12826b4ee4795Smrg
12827b4ee4795Smrgcommit 53affa9335116f2d367f041e6502a411d4619e47
12828b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12829b4ee4795SmrgDate:   Fri Aug 28 23:00:17 2009 +0800
12830b4ee4795Smrg
12831b4ee4795Smrg    XkbQueryExtension.man: Arguments should be pointers
12832b4ee4795Smrg    
12833b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12834b4ee4795Smrg
12835b4ee4795Smrgcommit 6233948885acc5873a5abddfff235afec555f3c2
12836b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12837b4ee4795SmrgDate:   Fri Aug 28 22:53:03 2009 +0800
12838b4ee4795Smrg
12839b4ee4795Smrg    XkbSAActionSetCtrls.man: Fix typo in formatting macro
12840b4ee4795Smrg    
12841b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12842b4ee4795Smrg
12843b4ee4795Smrgcommit 28a9ca57cdec4aa9ca92322f963b01f0c2daf47a
12844b4ee4795SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
12845b4ee4795SmrgDate:   Fri Aug 28 22:49:31 2009 +0800
12846b4ee4795Smrg
12847b4ee4795Smrg    Convert Xkb API man pages to ANSI prototypes
12848b4ee4795Smrg    
12849b4ee4795Smrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
12850b4ee4795Smrg
12851b4ee4795Smrgcommit fa2eecca85baab9616f7143cc1a853a594b4a90c
12852b4ee4795SmrgAuthor: James Cloos <cloos@jhcloos.com>
12853b4ee4795SmrgDate:   Mon Aug 24 06:35:17 2009 -0400
12854b4ee4795Smrg
12855b4ee4795Smrg    Add some (Serbian) Cyrillic NFD sequences.
12856b4ee4795Smrg    
12857b4ee4795Smrg    A number of characters in use in the various countries which use the
12858b4ee4795Smrg    Cyrillic script do not appear as pre-composed characters in The UCS
12859b4ee4795Smrg    or Unicode; they are only available as combining-character sequences.
12860b4ee4795Smrg    
12861b4ee4795Smrg    This commit adds support for using (prefix) dead keys and Multi_key-
12862b4ee4795Smrg    initiated sequences to enter a number of these combining-character
12863b4ee4795Smrg    sequences.  This ensures that users can enter these scripts even
12864b4ee4795Smrg    when using the current Cyrillic keymaps, which lack support for
12865b4ee4795Smrg    the combining characters.
12866b4ee4795Smrg    
12867b4ee4795Smrg    Please see the discussions on the xkb mailing list.
12868b4ee4795Smrg    
12869b4ee4795Smrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
12870b4ee4795Smrg
12871b4ee4795Smrgcommit d1bdc909f9246119696c8b0d9afb7bd8afb71b60
12872b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org>
12873b4ee4795SmrgDate:   Wed Aug 5 18:14:23 2009 +0200
12874b4ee4795Smrg
12875b4ee4795Smrg    man/xkb: delete spurious newline in .TH headers
12876b4ee4795Smrg
12877b4ee4795Smrgcommit ee723b83b24682db833a2f0abd96cd319b8a62af
12878b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org>
12879b4ee4795SmrgDate:   Wed Aug 5 16:45:19 2009 +0200
12880b4ee4795Smrg
12881b4ee4795Smrg    man: use __libmansuffix__ instead of 3X11 for references to other pages
12882b4ee4795Smrg
12883b4ee4795Smrgcommit 595e204feb82c798a92eea41fea03be6476ac181
12884b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org>
12885b4ee4795SmrgDate:   Wed Aug 5 16:43:36 2009 +0200
12886b4ee4795Smrg
12887b4ee4795Smrg    man/xkb: use __libmansuffix__ instead of hardcoding 3Xkb for manpage sections
12888b4ee4795Smrg
12889b4ee4795Smrgcommit 9da7e230d5320e1556ad2084fcd06ee7994385ea
12890b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12891b4ee4795SmrgDate:   Wed Aug 5 14:15:02 2009 +1000
12892b4ee4795Smrg
12893b4ee4795Smrg    Bump to 1.2.99.901 (1.3 RC1)
12894b4ee4795Smrg    
12895b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12896b4ee4795Smrg
12897b4ee4795Smrgcommit 8f78c7b4e3570cd46c5a220982963c17fe2157b8
12898b4ee4795SmrgAuthor: Filippo Giunchedi <filippo@debian.org>
12899b4ee4795SmrgDate:   Sat Jun 6 16:56:54 2009 +0200
12900b4ee4795Smrg
12901b4ee4795Smrg    nls: add {left,right}wards arrow to compose table
12902b4ee4795Smrg    
12903b4ee4795Smrg    Debian bug#532117 <http://bugs.debian.org/532117>
12904b4ee4795Smrg    
12905b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12906b4ee4795Smrg
12907b4ee4795Smrgcommit 7949bfa00390241d994f32463e50d4bd78920568
12908b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org>
12909b4ee4795SmrgDate:   Fri Jul 31 13:33:52 2009 +0200
12910b4ee4795Smrg
12911b4ee4795Smrg    Update library version for new symbols
12912b4ee4795Smrg    
12913b4ee4795Smrg    Commit 554f755e5545f63d3c8f299297927238da155773 added generic event
12914b4ee4795Smrg    cookie handling.  Bump libX11 version number accordingly.
12915b4ee4795Smrg    
12916b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12917b4ee4795Smrg
12918b4ee4795Smrgcommit 640fec5f4feacd01a00eea3dcd4edb220907d3dc
12919b4ee4795SmrgAuthor: Julien Cristau <jcristau@debian.org>
12920b4ee4795SmrgDate:   Sun Aug 2 17:18:31 2009 +0200
12921b4ee4795Smrg
12922b4ee4795Smrg    Add _XFUNCPROTOBEGIN/END to Xlib-xcb.h
12923b4ee4795Smrg    
12924b4ee4795Smrg    X.Org bug#22252 <https://bugs.freedesktop.org/show_bug.cgi?id=22252>
12925b4ee4795Smrg    
12926b4ee4795Smrg    Reported-by: Riku Salminen <rsalmin2@cc.hut.fi>
12927b4ee4795Smrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
12928b4ee4795Smrg
12929b4ee4795Smrgcommit bc06d49e9dac1836d6824769ddb2ac5ba9f14df7
12930b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12931b4ee4795SmrgDate:   Wed Jul 29 08:44:09 2009 +1000
12932b4ee4795Smrg
12933b4ee4795Smrg    Fix compiler warning 'unused variable qelt'
12934b4ee4795Smrg    
12935b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12936b4ee4795Smrg
12937b4ee4795Smrgcommit 03f4907e14f5755e72309f08742977b871e81e33
12938b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12939b4ee4795SmrgDate:   Wed Jul 29 08:34:57 2009 +1000
12940b4ee4795Smrg
12941b4ee4795Smrg    Add utlist.h to the Makefile.am
12942b4ee4795Smrg    
12943b4ee4795Smrg    utlist.h contains the linked list macros, it was added with the recent
12944b4ee4795Smrg    addition of event cookies but utlist.h wasn't added to the Makefile.am. As a
12945b4ee4795Smrg    result, make dist failed.
12946b4ee4795Smrg    
12947b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12948b4ee4795Smrg
12949b4ee4795Smrgcommit 554f755e5545f63d3c8f299297927238da155773
12950b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
12951b4ee4795SmrgDate:   Fri Jun 26 11:27:43 2009 +1000
12952b4ee4795Smrg
12953b4ee4795Smrg    Add generic event cookie handling to libX11.
12954b4ee4795Smrg    
12955b4ee4795Smrg    Generic events require more bytes than Xlib provides in the standard XEvent.
12956b4ee4795Smrg    Memory allocated by the extension and stored as pointers inside the event is
12957b4ee4795Smrg    prone to leak by simple 'while (1) { XNextEvent(...); }' loops.
12958b4ee4795Smrg    
12959b4ee4795Smrg    This patch adds cookie handling for generic events. Extensions may register
12960b4ee4795Smrg    a cookie handler in addition to the normal event vectors. If an extension
12961b4ee4795Smrg    has registered a cookie handler, _all_ generic events for this extensions
12962b4ee4795Smrg    must be handled through cookies. Otherwise, the default event handler is
12963b4ee4795Smrg    used.
12964b4ee4795Smrg    
12965b4ee4795Smrg    The cookie handler must return an XGenericEventCookie with a pointer to the
12966b4ee4795Smrg    data.The rest of the event (type, serialNumber, etc.) are to be filled as
12967b4ee4795Smrg    normal. When a client retrieves such a cookie event, the data is stored in
12968b4ee4795Smrg    an internal queue (the 'cookiejar'). This data is freed on the next call to
12969b4ee4795Smrg    XNextEvent().
12970b4ee4795Smrg    
12971b4ee4795Smrg    New extension interfaces:
12972b4ee4795Smrg        XESetWireToEventCookie(display, extension_number, cookie_handler)
12973b4ee4795Smrg    
12974b4ee4795Smrg    Where cookie_handler must set cookie->data. The data pointer is of arbitray
12975b4ee4795Smrg    size and type but must be a single memory block. This memory block
12976b4ee4795Smrg    represents the actual extension's event.
12977b4ee4795Smrg    
12978b4ee4795Smrg    New client interfaces:
12979b4ee4795Smrg        XGetEventData(display, *cookie);
12980b4ee4795Smrg        XFreeEventData(display, *cookie);
12981b4ee4795Smrg    
12982b4ee4795Smrg    If the client needs the actual event data, it must call XGetEventData() with
12983b4ee4795Smrg    the cookie. This returns the data pointer (and removes it from the cookie
12984b4ee4795Smrg    jar) and the client is then responsible for freeing the event with
12985b4ee4795Smrg    XFreeEventData(). It is safe to call either function with a non-cookie
12986b4ee4795Smrg    event. Events unclaimed or not handled by the XGetEventData() are cleaned up
12987b4ee4795Smrg    automatically.
12988b4ee4795Smrg    
12989b4ee4795Smrg    Example client code:
12990b4ee4795Smrg        XEvent event;
12991b4ee4795Smrg        XGenericEventCookie *cookie = &ev;
12992b4ee4795Smrg    
12993b4ee4795Smrg        XNextEvent(display, &event);
12994b4ee4795Smrg        if (XGetEventData(display, cookie)) {
12995b4ee4795Smrg            XIEvent *xievent = cookie->data;
12996b4ee4795Smrg            ...
12997b4ee4795Smrg        } else if (cookie->type == GenericEvent) {
12998b4ee4795Smrg            /* handle generic event */
12999b4ee4795Smrg        } else {
13000b4ee4795Smrg            /* handle extension/core event */
13001b4ee4795Smrg        }
13002b4ee4795Smrg        XFreeEventData(display, cookie);
13003b4ee4795Smrg    
13004b4ee4795Smrg    Cookies are not multi-threading safe. Clients that use XGetEventData() must
13005b4ee4795Smrg    lock between XNextEvent and XGetEventData to avoid other threads freeing
13006b4ee4795Smrg    cookies.
13007b4ee4795Smrg    
13008b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
13009b4ee4795Smrg
13010b4ee4795Smrgcommit d7675cb8fa7155e7aff1459636a117a97aa1bf28
13011b4ee4795SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
13012b4ee4795SmrgDate:   Mon Jul 6 13:17:35 2009 +1000
13013b4ee4795Smrg
13014b4ee4795Smrg    Bump to 1.2.99.1
13015b4ee4795Smrg    
13016b4ee4795Smrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
13017b4ee4795Smrg
130182e9c7c8cSmrgcommit 75fe48e7a42a685d7098e8d7108b9b956c471563
130192e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
130202e9c7c8cSmrgDate:   Fri Jul 10 14:07:34 2009 +1000
130212e9c7c8cSmrg
130222e9c7c8cSmrg    Bump to 1.2.2
130232e9c7c8cSmrg    
130242e9c7c8cSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
130252e9c7c8cSmrg
130262e9c7c8cSmrgcommit 5d0fe0e0e92759af5667c5dca2eacb1b6f2d66ea
130272e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
130282e9c7c8cSmrgDate:   Thu Jul 2 09:10:25 2009 +1000
130292e9c7c8cSmrg
130302e9c7c8cSmrg    XMaskEvent/XCheckMaskedEvents must not check for GenericEvents.
130312e9c7c8cSmrg    
130322e9c7c8cSmrg    GenericEvent cannot be selected for in the core event masks and they must
130332e9c7c8cSmrg    thus be treated like extension events.
130342e9c7c8cSmrg    
130352e9c7c8cSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
130362e9c7c8cSmrg
130372e9c7c8cSmrgcommit c1bf65b89f4e361f6178a73dd5334c8f2bd95732
130382e9c7c8cSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
130392e9c7c8cSmrgDate:   Thu Jul 2 09:06:05 2009 +1000
130402e9c7c8cSmrg
130412e9c7c8cSmrg    XWindowEvent/XCheckWindowEvent must not return GenericEvents.
130422e9c7c8cSmrg    
130432e9c7c8cSmrg    GenericEvents have no fixed position for the window, so they must be treated
130442e9c7c8cSmrg    like extension events.
130452e9c7c8cSmrg    
130462e9c7c8cSmrg    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
130472e9c7c8cSmrg
130482e9c7c8cSmrgcommit 38f9054554d63525d2dd51aafb5eb57821158ab9
130492e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
130502e9c7c8cSmrgDate:   Mon Jun 15 19:00:43 2009 -0700
130512e9c7c8cSmrg
130522e9c7c8cSmrg    Drop ancient USG SysV #ifdefs
130532e9c7c8cSmrg    
130542e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
130552e9c7c8cSmrg
130562e9c7c8cSmrgcommit 7bfe1323f16a1a69cc474659f7ac0c2570b1cf42
130572e9c7c8cSmrgAuthor: Adam Jackson <ajax@redhat.com>
130582e9c7c8cSmrgDate:   Fri Jun 12 12:44:01 2009 -0400
130592e9c7c8cSmrg
130602e9c7c8cSmrg    Remove X_NOT_STDC_ENV usage. (#6527)
130612e9c7c8cSmrg
130622e9c7c8cSmrgcommit 6dd74d7fb414ca1e99bae5c13e333961f396eb36
130632e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org>
130642e9c7c8cSmrgDate:   Fri May 29 11:18:11 2009 +0200
130652e9c7c8cSmrg
130662e9c7c8cSmrg    nls: remove more duplicated aliases
130672e9c7c8cSmrg    
130682e9c7c8cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
130692e9c7c8cSmrg
130702e9c7c8cSmrgcommit e4b0899f516da224010e68bd2d953d5293d94993
130712e9c7c8cSmrgAuthor: parag <parag@rawhideTM.pnq.redhat.com>
130722e9c7c8cSmrgDate:   Thu May 28 11:29:35 2009 +0530
130732e9c7c8cSmrg
130742e9c7c8cSmrg    nls: Add pa_PK locale information and make pa_IN as default for pa.
130752e9c7c8cSmrg    
130762e9c7c8cSmrg    X.Org bug#21954 <http://bugs.freedesktop.org/show_bug.cgi?id=21954>
130772e9c7c8cSmrg    
130782e9c7c8cSmrg    [jcristau: removed the pa_PK.UTF-8 alias to itself]
130792e9c7c8cSmrg    
130802e9c7c8cSmrg    Signed-off-by: parag <pnemade@redhat.com>
130812e9c7c8cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
130822e9c7c8cSmrg
130832e9c7c8cSmrgcommit f0ea1f6d51145592f8617854f9320ec5dbff3299
130842e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org>
130852e9c7c8cSmrgDate:   Fri May 29 10:58:20 2009 +0200
130862e9c7c8cSmrg
130872e9c7c8cSmrg    nls: remove broken sd_IN.UTF-8 alias
130882e9c7c8cSmrg    
130892e9c7c8cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
130902e9c7c8cSmrg
130912e9c7c8cSmrgcommit e29e010dabdb17d6498f2ef1786f69b8830c18ca
130922e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org>
130932e9c7c8cSmrgDate:   Fri May 29 10:57:43 2009 +0200
130942e9c7c8cSmrg
130952e9c7c8cSmrg    nls: remove duplicated en_US* aliases
130962e9c7c8cSmrg    
130972e9c7c8cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
130982e9c7c8cSmrg
130992e9c7c8cSmrgcommit a89a300d87852c84389ad97db66dcb8930cb45dd
131002e9c7c8cSmrgAuthor: Caolan McNamara <caolanm@redhat.com>
131012e9c7c8cSmrgDate:   Thu May 21 18:41:05 2009 +0200
131022e9c7c8cSmrg
131032e9c7c8cSmrg    man: missing space in XAllocColor man page
131042e9c7c8cSmrg    
131052e9c7c8cSmrg    X.Org bug#21854 <http://bugs.freedesktop.org/show_bug.cgi?id=21854>
131062e9c7c8cSmrg
131072e9c7c8cSmrgcommit c1c001e36504fd304f76f69bf6af3643225c49ea
131082e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com>
131092e9c7c8cSmrgDate:   Wed May 13 13:03:54 2009 -0400
131102e9c7c8cSmrg
131112e9c7c8cSmrg    [nls] Replace remaining UCS Combining Characters in Compose sequences.
131122e9c7c8cSmrg    
131132e9c7c8cSmrg    The replaces the instances of keysyms which match <U03[0-6][0-9A-Fa-f]>,
131142e9c7c8cSmrg    where the keysym is used as a dead_key, with an actual dead_key symbol.
131152e9c7c8cSmrg    
131162e9c7c8cSmrg    The only remaining instances of UCS combining characters in the
131172e9c7c8cSmrg    compose sequences are of U0338 COMBINING LONG SOLIDUS OVERLAY
131182e9c7c8cSmrg    used as a suffix in Multi_key-initiated sequences to create
131192e9c7c8cSmrg    mathematics characters such as ∉ U+2209 NOT AN ELEMENT OF
131202e9c7c8cSmrg    from ∈ U+2208 ELEMENT OF.
131212e9c7c8cSmrg
131222e9c7c8cSmrgcommit e2b0bad3d3b9e9ca781fc264eb7584afbe2a1a4f
131232e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com>
131242e9c7c8cSmrgDate:   Wed May 13 09:58:59 2009 -0400
131252e9c7c8cSmrg
131262e9c7c8cSmrg    [nls] Remove extraneous instances of UCS Combining Characters in Compose sequences.
131272e9c7c8cSmrg    
131282e9c7c8cSmrg    This removes those instances of keysyms which match <U03[0-6][0-9A-Fa-f]>,
131292e9c7c8cSmrg    where the matching keysym is used as a dead_key, and for which alternative
131302e9c7c8cSmrg    compose sequences exist.
131312e9c7c8cSmrg
131322e9c7c8cSmrgcommit 79f47e6dff2f0a0b673bbfecc47528edca814baa
131332e9c7c8cSmrgAuthor: James Cloos <cloos@jhcloos.com>
131342e9c7c8cSmrgDate:   Fri May 8 20:11:54 2009 -0400
131352e9c7c8cSmrg
131362e9c7c8cSmrg    [nls] Remove combining_ keysyms from the Compose files
131372e9c7c8cSmrg    
131382e9c7c8cSmrg    Some of the UTF-8 Compose tables included combining_ keysyms in
131392e9c7c8cSmrg    the compose sequences as though they were dead symbols.  This
131402e9c7c8cSmrg    is contrary to how combining characters are used in the UCS.
131412e9c7c8cSmrg    Therefore, those lines have been removed from the Compose tables.
131422e9c7c8cSmrg    
131432e9c7c8cSmrg    There were also some combining_ keysyms as targets.  As those
131442e9c7c8cSmrg    are not included in x11proto’s keysymdef.h, and as those do
131452e9c7c8cSmrg    exist there as Uxxxx keysyms, they are replaced with the Uxxxx
131462e9c7c8cSmrg    keysym names.
131472e9c7c8cSmrg    
131482e9c7c8cSmrg    This addresses http://bugzilla.freedesktop.org/show_bug.cgi?id=5107
131492e9c7c8cSmrg    and is based on attachment 25644 by samuel.thibault@ens-lyon.org.
131502e9c7c8cSmrg    
131512e9c7c8cSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
131522e9c7c8cSmrg
131532e9c7c8cSmrgcommit 4a08a3dfbda497b2be46e3e5fe6b777815ea27f9
131542e9c7c8cSmrgAuthor: parag <pnemade@redhat.com>
131552e9c7c8cSmrgDate:   Tue May 5 16:50:47 2009 +0530
131562e9c7c8cSmrg
131572e9c7c8cSmrg    libX11: Add new Indic language information to nls directory files. #21560
131582e9c7c8cSmrg    
131592e9c7c8cSmrg    Signed-off-by: parag <pnemade@redhat.com>
131602e9c7c8cSmrg
131612e9c7c8cSmrgcommit aaf81096eb44b4c2812108721ba02738391884da
131622e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
131632e9c7c8cSmrgDate:   Sat May 2 01:38:14 2009 -0700
131642e9c7c8cSmrg
131652e9c7c8cSmrg    Correct return type in XkbGetKeyboard man page
131662e9c7c8cSmrg    
131672e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
131682e9c7c8cSmrg
131692e9c7c8cSmrgcommit 2bef065b70f70af520b5de8fb23529254d15f003
131702e9c7c8cSmrgAuthor: Christoph Pfister <christophpfister@gmail.com>
131712e9c7c8cSmrgDate:   Mon Apr 27 22:32:57 2009 -0700
131722e9c7c8cSmrg
131732e9c7c8cSmrg    X.Org Bug #21117: crash in get_rotate_fontname (omGeneric.c)
131742e9c7c8cSmrg    
131752e9c7c8cSmrg    http://bugs.freedesktop.org/show_bug.cgi?id=21117
131762e9c7c8cSmrg    
131772e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
131782e9c7c8cSmrg
131792e9c7c8cSmrgcommit 5c1cde105db10df24d3c532f032cbc59050c7313
131802e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
131812e9c7c8cSmrgDate:   Fri Apr 17 22:14:47 2009 -0700
131822e9c7c8cSmrg
131832e9c7c8cSmrg    Use AC_USE_SYSTEM_EXTENSIONS instead of hand-rolled check for _GNU_SOURCE
131842e9c7c8cSmrg    
131852e9c7c8cSmrg    Raises minimum autoconf version required to 2.60
131862e9c7c8cSmrg    
131872e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
131882e9c7c8cSmrg
131892e9c7c8cSmrgcommit 84b7a91ef84f345384e4b0e13907385ca3ca3255
131902e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org>
131912e9c7c8cSmrgDate:   Tue Apr 14 15:59:57 2009 +0100
131922e9c7c8cSmrg
131932e9c7c8cSmrg    Fix fi_FI.UTF-8, again
131942e9c7c8cSmrg    
131952e9c7c8cSmrg    Commit 97fc6babd4ccaf300e25708868aa2a738893dc30 "NLS: Add UTF-8 compose
131962e9c7c8cSmrg    file for Finnish" made fi_FI.UTF-8 use a broken empty XLC_LOCALE file.
131972e9c7c8cSmrg    This reverts it back to using the en_US.UTF-8 one.
131982e9c7c8cSmrg
131992e9c7c8cSmrgcommit 128daff4422f973ea40dd1e31b2db230e643549e
132002e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net>
132012e9c7c8cSmrgDate:   Thu Apr 9 12:01:07 2009 +0700
132022e9c7c8cSmrg
132032e9c7c8cSmrg    Thai XIM not retrieve MB surrounding on UTF-8 LC
132042e9c7c8cSmrg    
132052e9c7c8cSmrg    On th_TH.UTF-8 locale, Thai XIM rejects all combining characters for GTK+ apps
132062e9c7c8cSmrg    that use X Input Method.
132072e9c7c8cSmrg    
132082e9c7c8cSmrg    This is because GTK+ imxim immodule passes surrounding text in locale encoding,
132092e9c7c8cSmrg    which is UTF-8 for UTF-8 locales. But current Thai XIM in Xlib assumes the
132102e9c7c8cSmrg    multi-byte StringConversionText response for the StringConversionCallback to
132112e9c7c8cSmrg    always be TIS-620, by retrieving a single byte and using it as-is.
132122e9c7c8cSmrg    
132132e9c7c8cSmrg    If the Thai XIM tries to convert the multi-byte text based on locale codeset
132142e9c7c8cSmrg    before using it, it will work again.
132152e9c7c8cSmrg    
132162e9c7c8cSmrg    X.Org But 12759 <http://bugs.freedesktop.org/show_bug.cgi?id=12759>
132172e9c7c8cSmrg    
132182e9c7c8cSmrg    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
132192e9c7c8cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
132202e9c7c8cSmrg
132212e9c7c8cSmrgcommit e09f0d227fbf95b6252759af9d426efd57686f9f
132222e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net>
132232e9c7c8cSmrgDate:   Thu Apr 9 11:47:55 2009 +0700
132242e9c7c8cSmrg
132252e9c7c8cSmrg    Thai XIM not filters when NumLock or CapsLock is on
132262e9c7c8cSmrg    
132272e9c7c8cSmrg    The Thai XIM component in libx11 activated on 'th*' locales normally filters
132282e9c7c8cSmrg    input sequence according to orthographic rules. However, when NumLock/CapsLock
132292e9c7c8cSmrg    is on, this stops working. All sequences are passed through.
132302e9c7c8cSmrg    
132312e9c7c8cSmrg    This is caused by missing masks in _XimThaiFilter(), which normally screens out
132322e9c7c8cSmrg    certain special keys from entering orthographic rules. Unfortunately, this
132332e9c7c8cSmrg    included events with NumLock/CapsLock on. Negating the masks from the check
132342e9c7c8cSmrg    allows the events to be tested by the rules.
132352e9c7c8cSmrg    
132362e9c7c8cSmrg    X.Org Bug 12517 <http://bugs.freedesktop.org/show_bug.cgi?id=12517>
132372e9c7c8cSmrg    
132382e9c7c8cSmrg    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
132392e9c7c8cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
132402e9c7c8cSmrg
132412e9c7c8cSmrgcommit d108d3c706af3502820b5202564488ea19908b77
132422e9c7c8cSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net>
132432e9c7c8cSmrgDate:   Thu Apr 9 11:25:25 2009 +0700
132442e9c7c8cSmrg
132452e9c7c8cSmrg    CharSet-to-CompoundText Conversion Failed for Thai Locales
132462e9c7c8cSmrg    
132472e9c7c8cSmrg    SCIM fails to commit Thai input characters on Thai locales, because it commits
132482e9c7c8cSmrg    string in compound text form, which was converted via
132492e9c7c8cSmrg    XwcTextListToTextProperty(). But the XLC_LOCALE for th_TH and th_TH.UTF-8
132502e9c7c8cSmrg    declares cs1's ct_encoding as TIS620-0:GR, which was commented out in
132512e9c7c8cSmrg    src/xlibi18n/lcCT.c default_ct_data, in favor of ISO8859-11 ESC sequence.
132522e9c7c8cSmrg    So, declaring cs1 as ISO8859-11:GR instead makes it work.
132532e9c7c8cSmrg    
132542e9c7c8cSmrg    Besides, for th_TH.UTF-8, adding cs2 class with ISO10646-1 encoding also adds
132552e9c7c8cSmrg    support for UTF-8 input.
132562e9c7c8cSmrg    
132572e9c7c8cSmrg    And, along discussion in the bug, a similar problem was found for fontset, too,
132582e9c7c8cSmrg    by causing delays on X apps startups on systems without tis620-0 fonts. This
132592e9c7c8cSmrg    is normally the case, as mkfontdir and mkfontscale generate iso8859-11 entries
132602e9c7c8cSmrg    by default for Thai X fonts. So, Thai fontset charset is also patched.
132612e9c7c8cSmrg    
132622e9c7c8cSmrg    X.Org Bug 16475 <http://bugs.freedesktop.org/show_bug.cgi?id=16475>
132632e9c7c8cSmrg    
132642e9c7c8cSmrg    Signed-off-by: Theppitak Karoonboonyanan <thep@linux.thai.net>
132652e9c7c8cSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
132662e9c7c8cSmrg
132672e9c7c8cSmrgcommit fd62d3318c846cd43d66a505946e94704d7d83dc
132682e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
132692e9c7c8cSmrgDate:   Wed Apr 8 19:42:25 2009 -0700
132702e9c7c8cSmrg
132712e9c7c8cSmrg    Revert "Change masculine to ordmasculine in Compose file comments"
132722e9c7c8cSmrg    
132732e9c7c8cSmrg    This reverts commit 892b401d5acc055803a20e349ede0d64490f2230.
132742e9c7c8cSmrg    
132752e9c7c8cSmrg    As Julien Cristau correctly points out, I misread the Compose file grammar
132762e9c7c8cSmrg    in modules/im/ximcp/imLcPrs.c, and those are keysyms, not comments, and
132772e9c7c8cSmrg    the keysym is named XK_masculine in keysymdef.h.   This change is thus a
132782e9c7c8cSmrg    bug in the Solaris compose tables to be fixed, not an improvement to bring
132792e9c7c8cSmrg    upstream.
132802e9c7c8cSmrg
132812e9c7c8cSmrgcommit eac57c77afdf44f50692225b8b0345a7c927bc84
132822e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
132832e9c7c8cSmrgDate:   Tue Apr 7 15:38:45 2009 -0700
132842e9c7c8cSmrg
132852e9c7c8cSmrg    Version bump: 1.2.1
132862e9c7c8cSmrg    
132872e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
132882e9c7c8cSmrg
132892e9c7c8cSmrgcommit bfbec08baec33c5024510b0bcbbee6e4a8473e79
132902e9c7c8cSmrgAuthor: Yaakov Selkowitz (Cygwin Ports maintainer) <yselkowitz@users.sourceforge.net>
132912e9c7c8cSmrgDate:   Tue Apr 7 13:46:57 2009 -0700
132922e9c7c8cSmrg
132932e9c7c8cSmrg    Bug 20773: Xcursor dynamic loading on Cygwin
132942e9c7c8cSmrg    
132952e9c7c8cSmrg    X.Org Bug #20773 <http://bugs.freedesktop.org/show_bug.cgi?id=20773>
132962e9c7c8cSmrg    Patch #24096 <http://bugs.freedesktop.org/attachment.cgi?id=24096>
132972e9c7c8cSmrg    
132982e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
132992e9c7c8cSmrg
133002e9c7c8cSmrgcommit c8c41614911be4fa222fa22478677d263b41c751
133012e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133022e9c7c8cSmrgDate:   Mon Apr 6 16:52:46 2009 -0700
133032e9c7c8cSmrg
133042e9c7c8cSmrg    Fix a several sparse warnings: Using plain integer as NULL pointer
133052e9c7c8cSmrg    
133062e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133072e9c7c8cSmrg
133082e9c7c8cSmrgcommit b336c3d0cc2aefc8926500cff5f76b5a3e803886
133092e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133102e9c7c8cSmrgDate:   Mon Apr 6 16:32:05 2009 -0700
133112e9c7c8cSmrg
133122e9c7c8cSmrg    Further ansify prototypes & reduce #ifdefs in locking.c
133132e9c7c8cSmrg    
133142e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133152e9c7c8cSmrg
133162e9c7c8cSmrgcommit 892b401d5acc055803a20e349ede0d64490f2230
133172e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133182e9c7c8cSmrgDate:   Mon Apr 6 10:50:09 2009 -0700
133192e9c7c8cSmrg
133202e9c7c8cSmrg    Change masculine to ordmasculine in Compose file comments
133212e9c7c8cSmrg    
133222e9c7c8cSmrg    Matches the ordfeminine name used for the matching character,
133232e9c7c8cSmrg    and the ordmasculine name used in many font descriptions of the glyph.
133242e9c7c8cSmrg    
133252e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133262e9c7c8cSmrg
133272e9c7c8cSmrgcommit e3198b55dc16ec57346cc28aa8d34165ce8cde96
133282e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org>
133292e9c7c8cSmrgDate:   Fri Mar 13 13:52:33 2009 +0100
133302e9c7c8cSmrg
133312e9c7c8cSmrg    Add a ru_RU.UTF-8 locale
133322e9c7c8cSmrg    
133332e9c7c8cSmrg    Based on patch by Eugene Konev <ejka@imfi.kspu.ru> for X.Org 6.9.0.
133342e9c7c8cSmrg    
133352e9c7c8cSmrg    Debian bug#330144 <http://bugs.debian.org/330144>
133362e9c7c8cSmrg    X.Org bug#15887 <http://bugs.freedesktop.org/show_bug.cgi?id=15887>
133372e9c7c8cSmrg
133382e9c7c8cSmrgcommit d239de9452691d6f875e6e5ace3d499ec3bf14d9
133392e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133402e9c7c8cSmrgDate:   Wed Mar 25 17:59:09 2009 -0700
133412e9c7c8cSmrg
133422e9c7c8cSmrg    Delete some unused "#ifdef notdef" static functions
133432e9c7c8cSmrg    
133442e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133452e9c7c8cSmrg
133462e9c7c8cSmrgcommit 4281892e31058ef3aecc96a5767824b34d88d415
133472e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133482e9c7c8cSmrgDate:   Wed Mar 25 17:52:48 2009 -0700
133492e9c7c8cSmrg
133502e9c7c8cSmrg    Remove _XP_PRINT_SERVER_ #ifdefs from Xrm.c
133512e9c7c8cSmrg    
133522e9c7c8cSmrg    This copy of Xrm.c is never compiled into the Xprint server any more, so
133532e9c7c8cSmrg    this old code-sharing #ifdef from the monolith tree isn't needed.
133542e9c7c8cSmrg    
133552e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133562e9c7c8cSmrg
133572e9c7c8cSmrgcommit 27a2e16e8ea11c1604e28645fae4d6ba4371d513
133582e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133592e9c7c8cSmrgDate:   Tue Mar 17 18:38:58 2009 -0700
133602e9c7c8cSmrg
133612e9c7c8cSmrg    makekeys: combine malloc(strlen)+strcpy into strdup
133622e9c7c8cSmrg    
133632e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133642e9c7c8cSmrg
133652e9c7c8cSmrgcommit 78a894231ae8ec4959007b6d9b8d2a15d6333a1e
133662e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133672e9c7c8cSmrgDate:   Tue Mar 17 15:42:19 2009 -0700
133682e9c7c8cSmrg
133692e9c7c8cSmrg    When makekeys fails to find a good hash, print error instead of divide-by-zero
133702e9c7c8cSmrg    
133712e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133722e9c7c8cSmrg
133732e9c7c8cSmrgcommit c9f84af591d15fbc3fa890bcd955d94f1ff82a0b
133742e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133752e9c7c8cSmrgDate:   Tue Mar 17 14:59:16 2009 -0700
133762e9c7c8cSmrg
133772e9c7c8cSmrg    Remove ifdef checks for macII left over from ancient A/UX 3.0 support
133782e9c7c8cSmrg    
133792e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133802e9c7c8cSmrg
133812e9c7c8cSmrgcommit 4b90da0ffb32b791d915ecae11996cc2f2cac9a7
133822e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133832e9c7c8cSmrgDate:   Mon Mar 16 18:37:49 2009 -0700
133842e9c7c8cSmrg
133852e9c7c8cSmrg    XErrorDB additions for DRI2 requests
133862e9c7c8cSmrg    
133872e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133882e9c7c8cSmrg
133892e9c7c8cSmrgcommit 273f45af1441be9d2135e4cac8c46ceb33470236
133902e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133912e9c7c8cSmrgDate:   Mon Mar 16 18:35:44 2009 -0700
133922e9c7c8cSmrg
133932e9c7c8cSmrg    XErrorDB additions for XInput errors and new XInput 1.5 requests
133942e9c7c8cSmrg    
133952e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
133962e9c7c8cSmrg
133972e9c7c8cSmrgcommit 90ef36f6336068183bf9d13ca972202db35b1202
133982e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
133992e9c7c8cSmrgDate:   Mon Mar 16 18:23:05 2009 -0700
134002e9c7c8cSmrg
134012e9c7c8cSmrg    XErrorDB additions for RANDR 1.3
134022e9c7c8cSmrg    
134032e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134042e9c7c8cSmrg
134052e9c7c8cSmrgcommit 124a4efaccf329f1a44f6b824e70278bdd1cad83
134062e9c7c8cSmrgAuthor: Lubos Lunak <l.lunak@suse.cz>
134072e9c7c8cSmrgDate:   Mon Mar 16 18:03:36 2009 -0700
134082e9c7c8cSmrg
134092e9c7c8cSmrg    XErrorDB updates for XTEST, RANDR, DAMAGE extensions
134102e9c7c8cSmrg    
134112e9c7c8cSmrg    From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html
134122e9c7c8cSmrg    
134132e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134142e9c7c8cSmrg
134152e9c7c8cSmrgcommit 80811846e37b805fddb37c71589fd5f6f6037b3f
134162e9c7c8cSmrgAuthor: Lubos Lunak <l.lunak@suse.cz>
134172e9c7c8cSmrgDate:   Mon Mar 16 17:57:52 2009 -0700
134182e9c7c8cSmrg
134192e9c7c8cSmrg    XGetErrorText() fails for extension error codes equal to the error base
134202e9c7c8cSmrg    
134212e9c7c8cSmrg    From http://lists.freedesktop.org/archives/xorg/2008-January/031937.html
134222e9c7c8cSmrg    
134232e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134242e9c7c8cSmrg
134252e9c7c8cSmrgcommit da95ecbbdcacc483cd0b5fd7db1fb2e2543341bd
134262e9c7c8cSmrgAuthor: Milos Komarcevic <miloskomarcevic@netscape.net>
134272e9c7c8cSmrgDate:   Mon Mar 16 17:43:26 2009 -0700
134282e9c7c8cSmrg
134292e9c7c8cSmrg    Bug 11456: Serbian locale updates (sr_RS and sr_ME)
134302e9c7c8cSmrg    
134312e9c7c8cSmrg    X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456>
134322e9c7c8cSmrg    Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937>
134332e9c7c8cSmrg    
134342e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134352e9c7c8cSmrg
134362e9c7c8cSmrgcommit 934a6c0519a9e32505beee55b004f36c2a710217
134372e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
134382e9c7c8cSmrgDate:   Mon Mar 16 14:55:22 2009 -0700
134392e9c7c8cSmrg
134402e9c7c8cSmrg    Bug 10082: Compose entries for some standard mathematical operators
134412e9c7c8cSmrg    
134422e9c7c8cSmrg    X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082>
134432e9c7c8cSmrg    
134442e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134452e9c7c8cSmrg
134462e9c7c8cSmrgcommit abf4da1ed0f735ca7ce471dc13a0ec3677391486
134472e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
134482e9c7c8cSmrgDate:   Mon Mar 16 14:27:46 2009 -0700
134492e9c7c8cSmrg
134502e9c7c8cSmrg    Bug 14651: We need to add new locale specification for Belarusian Latin locale
134512e9c7c8cSmrg    
134522e9c7c8cSmrg    X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651>
134532e9c7c8cSmrg    
134542e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134552e9c7c8cSmrg
134562e9c7c8cSmrgcommit 837703c8651e1321a50147a8311c56e4758ce08a
134572e9c7c8cSmrgAuthor: Caolan McNamara <caolanm@redhat.com>
134582e9c7c8cSmrgDate:   Mon Mar 16 14:15:50 2009 -0700
134592e9c7c8cSmrg
134602e9c7c8cSmrg    Bug 20575: man page for XCreatePixmapFromBitmapData doesn't match signature
134612e9c7c8cSmrg    
134622e9c7c8cSmrg    X.Org Bug #20575 <http://bugs.freedesktop.org/show_bug.cgi?id=20575>
134632e9c7c8cSmrg    Patch #23717 <http://bugs.freedesktop.org/attachment.cgi?id=23717>
134642e9c7c8cSmrg    
134652e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134662e9c7c8cSmrg
134672e9c7c8cSmrgcommit 22199018879055d8653e59d8236bef57164fac66
134682e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
134692e9c7c8cSmrgDate:   Mon Mar 16 13:28:18 2009 -0700
134702e9c7c8cSmrg
134712e9c7c8cSmrg    Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr)
134722e9c7c8cSmrg    
134732e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134742e9c7c8cSmrg
134752e9c7c8cSmrgcommit 4c63c27eab2b88f5556dbf72c36321f50f6de35e
134762e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
134772e9c7c8cSmrgDate:   Thu Mar 12 18:57:20 2009 -0700
134782e9c7c8cSmrg
134792e9c7c8cSmrg    Bug 9953: Please provide locale alias hu_HU.utf8
134802e9c7c8cSmrg    
134812e9c7c8cSmrg    X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953>
134822e9c7c8cSmrg    Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573>
134832e9c7c8cSmrg    
134842e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134852e9c7c8cSmrg
134862e9c7c8cSmrgcommit 501f4e0ada1690783ada05ad412e4b191ad55336
134872e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
134882e9c7c8cSmrgDate:   Thu Mar 12 17:38:21 2009 -0700
134892e9c7c8cSmrg
134902e9c7c8cSmrg    Bug 6820: Xlib shouldn't handle EAGAIN as a fatal IO error
134912e9c7c8cSmrg    
134922e9c7c8cSmrg    X.Org Bug #6820 <http://bugs.freedesktop.org/show_bug.cgi?id=6820>
134932e9c7c8cSmrg    Patch #17637 <http://bugs.freedesktop.org/attachment.cgi?id=17637>
134942e9c7c8cSmrg    
134952e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
134962e9c7c8cSmrg
134972e9c7c8cSmrgcommit 7b9c543e7210c7da204871c31a160e79d3a949b6
134982e9c7c8cSmrgAuthor: Paul Bender <pebender@gmail.com>
134992e9c7c8cSmrgDate:   Thu Mar 12 17:11:42 2009 -0700
135002e9c7c8cSmrg
135012e9c7c8cSmrg    Bug 15664: xau & xdmcp not needed in x11.pc dependencies when built with xcb
135022e9c7c8cSmrg    
135032e9c7c8cSmrg    X.Org bug #15664 <https://bugs.freedesktop.org/show_bug.cgi?id=15664>
135042e9c7c8cSmrg    Patch #16128 <https://bugs.freedesktop.org/attachment.cgi?id=16128>
135052e9c7c8cSmrg    
135062e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
135072e9c7c8cSmrg
135082e9c7c8cSmrgcommit fd2cf1ef66c2aff3dc758956c9e9e567b9892c06
135092e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM>
135102e9c7c8cSmrgDate:   Wed Mar 4 19:32:29 2009 -0800
135112e9c7c8cSmrg
135122e9c7c8cSmrg    Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA
135132e9c7c8cSmrg    
135142e9c7c8cSmrg    Sun bug 6809309 Add new utf8 locales supported by Xlib
135152e9c7c8cSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309>
135162e9c7c8cSmrg    
135172e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
135182e9c7c8cSmrg
135192e9c7c8cSmrgcommit cb70c9bc43267577859a3674ca9de9be396ba69e
135202e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
135212e9c7c8cSmrgDate:   Mon Feb 23 19:29:15 2009 -0800
135222e9c7c8cSmrg
135232e9c7c8cSmrg    Add --with-locale-lib-dir configure option to set locale lib install dir
135242e9c7c8cSmrg    
135252e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
135262e9c7c8cSmrg
135272e9c7c8cSmrgcommit ccd3584f0330db8dac90b9313c33ab8b5b2ec6af
135282e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
135292e9c7c8cSmrgDate:   Mon Feb 23 18:33:51 2009 -0800
135302e9c7c8cSmrg
135312e9c7c8cSmrg    Incorporate more locale names/aliases from Solaris libX11
135322e9c7c8cSmrg    
135332e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
135342e9c7c8cSmrg
135352e9c7c8cSmrgcommit 83ce4daefdf544f801c7d666c89162690a36ce41
135362e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
135372e9c7c8cSmrgDate:   Mon Feb 23 18:32:34 2009 -0800
135382e9c7c8cSmrg
135392e9c7c8cSmrg    Incorporate char range comments from Solaris version of ksc5601.h
135402e9c7c8cSmrg    
135412e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
135422e9c7c8cSmrg
135432e9c7c8cSmrgcommit ee279c84e34f1ebb8a6ff17d54ee146d11e29764
135442e9c7c8cSmrgAuthor: Chris Ball <cjb@laptop.org>
135452e9c7c8cSmrgDate:   Sat Feb 21 14:48:42 2009 -0500
135462e9c7c8cSmrg
135472e9c7c8cSmrg    Fix fi_FI locale install directory.
135482e9c7c8cSmrg    
135492e9c7c8cSmrg    fi_FI was setting "x11thislocaledir" to en_US, with the result that its
135502e9c7c8cSmrg    locale data was written in that locale dir.
135512e9c7c8cSmrg    
135522e9c7c8cSmrg    Signed-off-by: Chris Ball <cjb@laptop.org>
135532e9c7c8cSmrg
135542e9c7c8cSmrgcommit da6bbca07c796c69172a649405474f03bee66754
13555e9628295SmrgAuthor: Emilio Jesús Gallego Arias  <egallego@babel.ls.fi.upm.es>
135562e9c7c8cSmrgDate:   Sat Feb 21 20:17:23 2009 +0100
135572e9c7c8cSmrg
135582e9c7c8cSmrg    xcb_io: Avoid datatype overflow on AMD64 and friends.
135592e9c7c8cSmrg
135602e9c7c8cSmrgcommit 4ef6491afa69e8441caee7bbebc583e6e796275e
135612e9c7c8cSmrgAuthor: Chris Ball <cjb@laptop.org>
135622e9c7c8cSmrgDate:   Sat Feb 21 12:51:03 2009 -0500
135632e9c7c8cSmrg
135642e9c7c8cSmrg    Build fix for fi_FI.
135652e9c7c8cSmrg    
135662e9c7c8cSmrg    Commit 642c4e928e770e0.. instructs make to enter nls/fi_FI, but no
135672e9c7c8cSmrg    Makefile is written there by configure.
135682e9c7c8cSmrg    
135692e9c7c8cSmrg    Signed-off-by: Chris Ball <cjb@laptop.org>
135702e9c7c8cSmrg
135712e9c7c8cSmrgcommit 642c4e928e770e012379539a6ce09e11c02f09a6
135722e9c7c8cSmrgAuthor: Julien Cristau <jcristau@debian.org>
135732e9c7c8cSmrgDate:   Sat Feb 21 03:12:05 2009 +0100
135742e9c7c8cSmrg
135752e9c7c8cSmrg    nls: actually use the fi_FI.UTF-8 files
135762e9c7c8cSmrg    
135772e9c7c8cSmrg    The subdir wasn't added to nls/Makefile.am
135782e9c7c8cSmrg
135792e9c7c8cSmrgcommit 9bad8309ef289bb943651abf6967b24fa2252aac
135802e9c7c8cSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
135812e9c7c8cSmrgDate:   Fri Feb 20 14:45:54 2009 -0800
135822e9c7c8cSmrg
135832e9c7c8cSmrg    flags member of Display structure needs to be marked volatile
135842e9c7c8cSmrg    
135852e9c7c8cSmrg    Since the Xlib multithreaded code checks the flags variable in _XFlushInt
135862e9c7c8cSmrg    to see if the other threads are done yet, it has to be marked volatile so
135872e9c7c8cSmrg    the compiler doesn't optimize out re-loading it on each trip through the
135882e9c7c8cSmrg    while loop and end up in an impossible-to-exit infinite loop of CPU chewing.
135892e9c7c8cSmrg    
135902e9c7c8cSmrg    Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit
135912e9c7c8cSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332>
135922e9c7c8cSmrg    
135932e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
135942e9c7c8cSmrg
135952e9c7c8cSmrgcommit ef5c446395aa30d7b1096a112e241a81c5b358e7
135962e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM>
135972e9c7c8cSmrgDate:   Fri Feb 20 15:12:35 2009 -0800
135982e9c7c8cSmrg
135992e9c7c8cSmrg    Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk
136002e9c7c8cSmrg    
136012e9c7c8cSmrg    Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8
136022e9c7c8cSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236>
136032e9c7c8cSmrg    
136042e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
136052e9c7c8cSmrg
136062e9c7c8cSmrgcommit 3822f2654e9630167f0c6cae317b472c09771672
136072e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM>
136082e9c7c8cSmrgDate:   Fri Feb 20 15:03:51 2009 -0800
136092e9c7c8cSmrg
136102e9c7c8cSmrg    Add locale aliases for no_NO & sh_BA locale variants
136112e9c7c8cSmrg    
136122e9c7c8cSmrg    Fixes Sun bug id 6691219: xterm refuses to start in some locales
136132e9c7c8cSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219>
136142e9c7c8cSmrg    
136152e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
136162e9c7c8cSmrg
136172e9c7c8cSmrgcommit 63b6b5b5f522c0a606b32163c643edb64ca91d54
136182e9c7c8cSmrgAuthor: Xue Wei <Wei.Xue@Sun.COM>
136192e9c7c8cSmrgDate:   Fri Feb 20 14:23:11 2009 -0800
136202e9c7c8cSmrg
136212e9c7c8cSmrg    Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan
136222e9c7c8cSmrg    
136232e9c7c8cSmrg    Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications
136242e9c7c8cSmrg     changing keyboard layout with gimlet does not work")
136252e9c7c8cSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254>
136262e9c7c8cSmrg    
136272e9c7c8cSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
136282e9c7c8cSmrg
1362961b2299dSmrgcommit d497301707962f3b94542e999a36abffcfbd303d
1363061b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org>
1363161b2299dSmrgDate:   Tue Feb 17 16:09:41 2009 +0100
1363261b2299dSmrg
1363361b2299dSmrg    Bump to 1.2
1363461b2299dSmrg
1363561b2299dSmrgcommit 990e71361d1d7b79bf07b1dc93e4e905d4f1bdaf
1363661b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org>
1363761b2299dSmrgDate:   Tue Feb 17 15:23:40 2009 +0100
1363861b2299dSmrg
1363961b2299dSmrg    Check Xmalloc return value in _XConnectXCB
1364061b2299dSmrg    
1364161b2299dSmrg    X.Org bug#19137 <http://bugs.freedesktop.org/show_bug.cgi?id=19137>
1364261b2299dSmrg    
1364361b2299dSmrg    Signed-off-by: Julien Cristau <jcristau@debian.org>
1364461b2299dSmrg
1364561b2299dSmrgcommit b4b5893f69419ff577bbaa4d18f78e4ffd729a0c
1364661b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1364761b2299dSmrgDate:   Sat Feb 14 12:35:56 2009 -0500
1364861b2299dSmrg
1364961b2299dSmrg    dolt: allow older versions of bash to compile the library
1365061b2299dSmrg    
1365161b2299dSmrg    Cf xserver commit 7be6520d and bugzilla #19031.
1365261b2299dSmrg
1365361b2299dSmrgcommit 20982d6866e24453642b0b592fa0f13a88aa747c
1365461b2299dSmrgAuthor: Will Thompson <will@willthompson.co.uk>
1365561b2299dSmrgDate:   Thu Feb 5 02:53:06 2009 +1100
1365661b2299dSmrg
1365761b2299dSmrg    NLS: Compose: Non-aliasing CCCP
1365861b2299dSmrg    
1365961b2299dSmrg    Oops, cccp aliased cc for question mark.  Upper-case it to avoid fail.
1366061b2299dSmrg    
1366161b2299dSmrg    Signed-off-by: Will Thompson <will@willthompson.co.uk>
1366261b2299dSmrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry)
1366361b2299dSmrg
1366461b2299dSmrgcommit f052665394f3f0319e93a98f1d5d4ea287e1dd07
1366561b2299dSmrgAuthor: Will Thompson <will@willthompson.co.uk>
1366661b2299dSmrgDate:   Wed Feb 4 14:51:11 2009 +0000
1366761b2299dSmrg
1366861b2299dSmrg    Add two essential compose sequences
1366961b2299dSmrg    
1367061b2299dSmrg    Signed-off-by: Will Thompson <will@willthompson.co.uk>
1367161b2299dSmrg    Signed-off-by: Daniel Stone <daniel@fooishbar.org>
1367261b2299dSmrg
1367361b2299dSmrgcommit d7bea6fa909bf34c43efe0ca8239ab0f9f3a415f
1367461b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1367561b2299dSmrgDate:   Mon Feb 2 20:34:31 2009 -0800
1367661b2299dSmrg
1367761b2299dSmrg    Add README with pointers to mailing list, bugzilla & git repos
1367861b2299dSmrg    
1367961b2299dSmrg    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
1368061b2299dSmrg
1368161b2299dSmrgcommit f682c27e93512773122887d2cbabb1657af45d2e
1368261b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1368361b2299dSmrgDate:   Mon Feb 2 16:36:39 2009 -0200
1368461b2299dSmrg
1368561b2299dSmrg    Check if a function argument is NULL.
1368661b2299dSmrg    
1368761b2299dSmrg      This was an addition to patch (also by me)
1368861b2299dSmrg    https://bugs.freedesktop.org/attachment.cgi?id=14660
1368961b2299dSmrg    that was not added when rediscovering/correcting the problem.
1369061b2299dSmrg
1369161b2299dSmrgcommit 427e9d45d424b84efd9fc499aebf8d72392844c5
1369261b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1369361b2299dSmrgDate:   Thu Feb 28 15:58:12 2008 -0300
1369461b2299dSmrg
1369561b2299dSmrg    Allow multiple inclusions of cursorfont.h, cosmetic patch.
1369661b2299dSmrg
1369761b2299dSmrgcommit b91524a53e691f6a5d278fd8972b48a14ebeedeb
1369861b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1369961b2299dSmrgDate:   Thu Feb 28 15:54:43 2008 -0300
1370061b2299dSmrg
1370161b2299dSmrg    Don't add prototypes for functions that don't exist.
1370261b2299dSmrg    
1370361b2299dSmrg    Note that a full review was not done, only for functions that receive
1370461b2299dSmrg    char/short arguments, or one of it's parameters is a function pointer
1370561b2299dSmrg    that requires char/short arguments.
1370661b2299dSmrg
1370761b2299dSmrgcommit 537eb52fe266ac439c4b383bb04a70017b709911
1370861b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1370961b2299dSmrgDate:   Thu Feb 28 15:50:27 2008 -0300
1371061b2299dSmrg
1371161b2299dSmrg    WORD64 compile fix. This bug catched on a overview of the code.
1371261b2299dSmrg    
1371361b2299dSmrg    The code is wrong since the first git revision, so it seens that it has
1371461b2299dSmrg    not been compiled with WORD64 for quite some time, there is also another
1371561b2299dSmrg    interesting code in xkb/XKBRdBuf.c:
1371661b2299dSmrg      <hash>ifdef WORD64
1371761b2299dSmrg      _XkbWriteCopyData32 Not Implemented Yet for sizeof(int)==8
1371861b2299dSmrg      <hash>endif
1371961b2299dSmrg    and possibly there are other similar problems.
1372061b2299dSmrg
1372161b2299dSmrgcommit ffd0300fb74c6183208ae599133f2ded09e08d97
1372261b2299dSmrgAuthor: Brian Rogers <brian@xyzw.org>
1372361b2299dSmrgDate:   Sat Jan 31 10:37:51 2009 -0800
1372461b2299dSmrg
1372561b2299dSmrg    Initialize event_notify after allocating the memory for it.
1372661b2299dSmrg    
1372761b2299dSmrg    An uninitialized or otherwise invalid condition variable can apparently
1372861b2299dSmrg    cause a hang in pthread_cond_broadcast. Ekiga, openoffice, and xine
1372961b2299dSmrg    at least are freezing as a result of event_notify never being initialized.
1373061b2299dSmrg    
1373161b2299dSmrg    Signed-off-by: Brian Rogers <brian@xyzw.org>
1373261b2299dSmrg    Signed-off-by: Bart Massey <bart@cs.pdx.edu>
1373361b2299dSmrg
1373461b2299dSmrgcommit 97fc6babd4ccaf300e25708868aa2a738893dc30
1373561b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1373661b2299dSmrgDate:   Thu Jan 29 20:10:41 2009 -0500
1373761b2299dSmrg
1373861b2299dSmrg    NLS: Add UTF-8 compose file for Finnish
1373961b2299dSmrg    
1374061b2299dSmrg    From bug report:
1374161b2299dSmrg    
1374261b2299dSmrg      https://bugs.freedesktop.org/show_bug.cgi?id=18747
1374361b2299dSmrg
1374461b2299dSmrgcommit 1bd2966ed88f83479a066c6ca7da23a515979550
1374561b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1374661b2299dSmrgDate:   Thu Jan 29 20:25:15 2009 -0200
1374761b2299dSmrg
1374861b2299dSmrg    patches to avoid gcc warnings for libX11 (#4)
1374961b2299dSmrg    
1375061b2299dSmrg    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
1375161b2299dSmrg    Bug #17946, attachment #19443
1375261b2299dSmrg    
1375361b2299dSmrg    This patch avoids the gcc warning
1375438ae11fcSmrg            ../../../../libX11-1.1.5/modules/im/ximcp/imDefLkup.c:223: warning: passing arg 1 of `_XimProcSyncReply' from incompatible pointer type
1375561b2299dSmrg    (same as already done at other places)
1375661b2299dSmrg    
1375761b2299dSmrg    BTW: what is the difference between XIM (the type of ic->core.im)
1375861b2299dSmrg    and Xim ?
1375961b2299dSmrg
1376061b2299dSmrgcommit f16dd6af3eb17a25b8ee03d6617a7acc6e919fb0
1376161b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1376261b2299dSmrgDate:   Thu Jan 29 20:22:21 2009 -0200
1376361b2299dSmrg
1376461b2299dSmrg    patches to avoid gcc warnings for libX11 (#3)
1376561b2299dSmrg    
1376661b2299dSmrg    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
1376761b2299dSmrg    Bug #17946, attachment #19441
1376861b2299dSmrg    
1376961b2299dSmrg    This patch avoids the two gcc warnings
1377038ae11fcSmrg            ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:413: warning: assignment discards qualifiers from pointer target type
1377138ae11fcSmrg            ../../../../libX11-1.1.5/modules/im/ximcp/imRm.c:450: warning: assignment discards qualifiers from pointer target type
1377261b2299dSmrg    
1377361b2299dSmrg    Note, that this as a rather crude fix of the problem (and it is really a
1377461b2299dSmrg    shame to cast name_table to non-const).
1377561b2299dSmrg    
1377661b2299dSmrg    The right solution would be to declare XIMValuesList.supported_values
1377761b2299dSmrg    (in include/X11/Xlib.h) as 'const char **' (or '_Xconst char **').
1377861b2299dSmrg    This will, however, require extensive modifications in various places.
1377961b2299dSmrg
1378061b2299dSmrgcommit cce75c5dce73fe1f8626ed9e6798138ada09a860
1378161b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1378261b2299dSmrgDate:   Thu Jan 29 20:20:18 2009 -0200
1378361b2299dSmrg
1378461b2299dSmrg    patches to avoid gcc warnings for libX11 (#2)
1378561b2299dSmrg    
1378661b2299dSmrg    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
1378761b2299dSmrg    Bug #17946, attachment #19440
1378861b2299dSmrg    
1378961b2299dSmrg    Avoid a preprocessor message
1379038ae11fcSmrg            <stdin>:194: warning: no newline at end of file
1379161b2299dSmrg    
1379261b2299dSmrg    Two more such warnings (in XkbSAGroup.man and XkbSASetGroup.man)
1379361b2299dSmrg    seem to be caused by a truncated (or otherwise incomplete)
1379461b2299dSmrg    manpage.
1379561b2299dSmrg
1379661b2299dSmrgcommit 692baebcc50f1e952800bfe4e2e6bc42f54e62fe
1379761b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1379861b2299dSmrgDate:   Thu Jan 29 20:12:24 2009 -0200
1379961b2299dSmrg
1380061b2299dSmrg    patches to avoid gcc warnings for libX11 (#1)
1380161b2299dSmrg    
1380261b2299dSmrg    Author is Peter Breitenlohner <peb@mppmu.mpg.de>
1380361b2299dSmrg    Bug #17946, attachment #19439
1380461b2299dSmrg    
1380561b2299dSmrg    Define as 1 (one) as done by autoconf and the command line
1380661b2299dSmrg    option, e.g. -DX11_t, not as empty.
1380761b2299dSmrg    
1380861b2299dSmrg    This avoids the gcc (3.4.6) warnings:
1380938ae11fcSmrg            ../../libX11-1.1.5/src/x11_trans.c:27:1: warning: "X11_t" redefined
1381038ae11fcSmrg            <command line>:7:1: warning: this is the location of the previous definition
1381138ae11fcSmrg            ../../libX11-1.1.5/src/x11_trans.c:28:1: warning: "TRANS_CLIENT" redefined
1381238ae11fcSmrg            <command line>:8:1: warning: this is the location of the previous definition
1381361b2299dSmrg    
1381461b2299dSmrg    Similarly, follow the autoconf convention to define XTHREADS
1381561b2299dSmrg    and XUSE_MTSAFE_API as one.
1381661b2299dSmrg    
1381761b2299dSmrg    This avoids analogous warnings when compiling libXcomposite,
1381861b2299dSmrg    libXcursor, and libXdamage.
1381961b2299dSmrg    
1382061b2299dSmrg    No reason to AC_SUBST XTHREADS and XUSE_MTSAFE_API (unused).
1382161b2299dSmrg
1382261b2299dSmrgcommit a1977883c9f5ef0e515569d6e2ebccb07411f98c
1382361b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1382461b2299dSmrgDate:   Thu Jan 29 15:01:06 2009 -0200
1382561b2299dSmrg
1382661b2299dSmrg    Janitor: Correct some gcc/sparse warnings.
1382761b2299dSmrg    
1382861b2299dSmrg      Most remaining warnings are about XIM/Xim to/from conversion
1382961b2299dSmrg    and discarding const from pointers.
1383061b2299dSmrg
1383161b2299dSmrgcommit 8ba0ca32a63c532f128bdca7f1bf982cab8e12be
1383261b2299dSmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
1383361b2299dSmrgDate:   Wed Jan 28 20:31:42 2009 -0200
1383461b2299dSmrg
1383561b2299dSmrg    Janitor: ansification, make distcheck, compiler warnings.
1383661b2299dSmrg    
1383761b2299dSmrg      Only convert to use "ansi prototypes" the functions warned from
1383861b2299dSmrg    compilation with "./autogen.sh --prefix=/usr", on a Linux computer.
1383961b2299dSmrg    
1384061b2299dSmrg      Also, only address "trivial" compiler warning fixes in this commit.
1384161b2299dSmrg    
1384261b2299dSmrg      The new .gitignore is the output of a command like:
1384361b2299dSmrg    % find . -name .gitignore -exec cat {} \; | sort | uniq
1384461b2299dSmrg    and only the toplevel .gitignore file was kept.
1384561b2299dSmrg
1384661b2299dSmrgcommit 091c1624fd2f9d933329d6152e4ecd865aa7903a
1384761b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
1384861b2299dSmrgDate:   Tue Jan 13 12:05:54 2009 +1000
1384961b2299dSmrg
1385061b2299dSmrg    Fix wrong implies symbol.
1385161b2299dSmrg    
1385261b2299dSmrg    Quote Simos Xenitellis:
1385361b2299dSmrg    > I checked the gtk+ commit logs that go back to 2000, and I see that still it
1385461b2299dSmrg    > was
1385561b2299dSmrg    >
1385661b2299dSmrg    >   { 0x08ce, 0x21d2 }, /*                     implies ⇒ RIGHTWARDS
1385761b2299dSmrg    > DOUBLE ARROW */
1385861b2299dSmrg    >
1385961b2299dSmrg    > In XFree86, it appears there was an error when they converted the
1386061b2299dSmrg    > original table to
1386161b2299dSmrg    > http://cvsweb.xfree86.org/cvsweb/xc/lib/X11/imKStoUCS.c?rev=1.1&content-type=text/vnd.viewcvs-markup
1386261b2299dSmrg    > and the problem still shows up there (November 2000).
1386361b2299dSmrg    
1386461b2299dSmrg    http://lists.freedesktop.org/archives/xorg/2008-October/039743.html
1386561b2299dSmrg    
1386661b2299dSmrg    Reported by Erik Streb del Toro.
1386761b2299dSmrg
1386861b2299dSmrgcommit e32521f19e0b07649b7e3a03d56a2bd556b138fb
1386961b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1387061b2299dSmrgDate:   Sun Dec 7 04:13:34 2008 -0500
1387161b2299dSmrg
1387261b2299dSmrg    [i18n] s/U00DC/Udiaeresis/g
1387361b2299dSmrg    
1387461b2299dSmrg    The xkeyboard-config keyboards generate the symbol Udiaeresis, not
1387561b2299dSmrg    U00DC.  Make sure the relevant Compose sequences expect the symbol
1387661b2299dSmrg    which the keyboards actually send.
1387761b2299dSmrg
1387861b2299dSmrgcommit b7502abfe22f8dc009b21cda1172af221d8f9f32
1387961b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1388061b2299dSmrgDate:   Sun Dec 7 04:09:46 2008 -0500
1388161b2299dSmrg
1388261b2299dSmrg    Revert "For nls/*.pre, allow people to comment lines by starting them with '##'."
1388361b2299dSmrg    
1388461b2299dSmrg    As of commit c9d20e3 the initial double-hashes are replaced with proper C comments.
1388561b2299dSmrg    
1388661b2299dSmrg    This reverts commit a225a0be48770beb689d5ac5da97073634f7deab.
1388761b2299dSmrg
1388861b2299dSmrgcommit c9d20e3f697c9cfae5511412023362c1db7449b1
1388961b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1389061b2299dSmrgDate:   Sun Dec 7 04:08:23 2008 -0500
1389161b2299dSmrg
1389261b2299dSmrg    Use C comments rather than initial doubled hashes to exclude lines from .pre files
1389361b2299dSmrg
1389461b2299dSmrgcommit c34ce54d9eac2d8052dc5f205a2ab09866ef5d25
1389561b2299dSmrgAuthor: vehemens <vehemens@verizon.net>
1389661b2299dSmrgDate:   Sun Dec 7 01:18:26 2008 -0500
1389761b2299dSmrg
1389861b2299dSmrg    [i18n] Distribute new headers which were added for gb18030 support.
1389961b2299dSmrg    
1390061b2299dSmrg    big5hkscs.h and gbk.h, added in 67e34d7a, need to be in SOURCES to
1390161b2299dSmrg    make it into the tar.
1390261b2299dSmrg    
1390361b2299dSmrg    Completes 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51.
1390461b2299dSmrg    
1390561b2299dSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
1390661b2299dSmrg
1390761b2299dSmrgcommit 418819558d2c60e58b4e3022ce0fadf2143488ac
1390861b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de>
1390961b2299dSmrgDate:   Sat Nov 22 22:01:07 2008 +0100
1391061b2299dSmrg
1391161b2299dSmrg    Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299).
1391261b2299dSmrg
1391361b2299dSmrgcommit 67e34d7a82ccd31f1208c0c43a6d58c3c05bf51a
1391461b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de>
1391561b2299dSmrgDate:   Sat Nov 22 19:40:54 2008 +0100
1391661b2299dSmrg
1391761b2299dSmrg    Added remaining xlib patch required for gb18030 support (#1573).
1391861b2299dSmrg
1391961b2299dSmrgcommit 55782a0a1fe1560f1a9c0ed78bc7f2575c15abcf
1392061b2299dSmrgAuthor: Stefan Dirsch <sndirsch@suse.de>
1392161b2299dSmrgDate:   Sat Nov 22 17:53:06 2008 +0100
1392261b2299dSmrg
1392361b2299dSmrg    Added remaining hunk of Egbert's patch to prevent XIM deadlocks (#1182).
1392461b2299dSmrg
1392561b2299dSmrgcommit c859446c500c883a67f7a86cab1a44844e24dade
1392661b2299dSmrgAuthor: Ken Thomases <ken@codeweavers.com>
1392761b2299dSmrgDate:   Fri Nov 21 13:58:10 2008 -0500
1392861b2299dSmrg
1392961b2299dSmrg    [i18n] Provide translation from XK_partialderivative (8ef) to Unicode (U2202)
1393061b2299dSmrg    
1393161b2299dSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
1393261b2299dSmrg
1393361b2299dSmrgcommit 5e68e94d852c730ef9264fc0d8ca61a2ffe98b53
1393461b2299dSmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org>
1393561b2299dSmrgDate:   Mon Nov 17 20:47:26 2008 -0800
1393661b2299dSmrg
1393761b2299dSmrg    Force local transport when using the launchd socket.
1393861b2299dSmrg    
1393961b2299dSmrg    Fixes a regression due to
1394061b2299dSmrg    bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
1394161b2299dSmrg
1394261b2299dSmrgcommit 7aca689ce14d314b5c8c72c8df76f53f76ab467c
1394361b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com>
1394461b2299dSmrgDate:   Fri Nov 14 10:32:50 2008 +1000
1394561b2299dSmrg
1394661b2299dSmrg    Add XF86Suspend, XF86Hibernate to KeysymDB.
1394761b2299dSmrg
1394861b2299dSmrgcommit d16b11f25f8265e651def8d80bcd430c0448e664
1394961b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1395061b2299dSmrgDate:   Tue Nov 11 19:43:39 2008 -0500
1395161b2299dSmrg
1395261b2299dSmrg    [nls] Annotate the Bépo compose sequences
1395361b2299dSmrg    
1395461b2299dSmrg    Add comments with the UCS names.
1395561b2299dSmrg    Add utf-8 strings for each result.
1395661b2299dSmrg    Format for easy reading.
1395761b2299dSmrg
1395861b2299dSmrgcommit 730298464240be6f65b32416b3f9b20062c61825
1395961b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1396061b2299dSmrgDate:   Tue Nov 11 16:41:34 2008 -0500
1396161b2299dSmrg
1396261b2299dSmrg    [nls]  Add some UTF-8 Compose sequences
1396361b2299dSmrg    
1396461b2299dSmrg    As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/).
1396561b2299dSmrg    
1396661b2299dSmrg    Cf. bugs:
1396761b2299dSmrg    
1396861b2299dSmrg      https://bugs.freedesktop.org/show_bug.cgi?id=17821
1396961b2299dSmrg      https://bugs.freedesktop.org/show_bug.cgi?id=17822
1397061b2299dSmrg
1397161b2299dSmrgcommit ad6008a0c92733826983eb93f063d3d6276007d8
1397261b2299dSmrgAuthor: Colin Harrison <colin.harrison@virgin.net>
1397361b2299dSmrgDate:   Thu Nov 6 17:48:21 2008 -0500
1397461b2299dSmrg
1397561b2299dSmrg    Fix copy/paste typo in imLcPrs
1397661b2299dSmrg    
1397761b2299dSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
1397861b2299dSmrg
1397961b2299dSmrgcommit 0f0168ad18f8a280fc5a689eb02cfaa62d022ea6
1398061b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com>
1398161b2299dSmrgDate:   Thu Nov 6 14:54:13 2008 -0500
1398261b2299dSmrg
1398361b2299dSmrg    Fix leak in _XimXGetReadData
1398461b2299dSmrg    
1398561b2299dSmrg    Spotted by Denis Dzyubenko
1398661b2299dSmrg
1398761b2299dSmrgcommit ae23c25b9349ab1d7ff81f3075c000cf35fc442b
1398861b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org>
1398961b2299dSmrgDate:   Wed Nov 5 22:09:37 2008 +0100
1399061b2299dSmrg
1399161b2299dSmrg    Bump to 1.1.99.2
1399261b2299dSmrg
1399361b2299dSmrgcommit d31e644c65c52828ea3e7abd94a8cf9aee12265c
1399461b2299dSmrgAuthor: Julien Cristau <jcristau@debian.org>
1399561b2299dSmrgDate:   Wed Nov 5 21:33:13 2008 +0100
1399661b2299dSmrg
1399761b2299dSmrg    Fix distcheck
1399861b2299dSmrg
1399961b2299dSmrgcommit e6a7b70cdb2ae8b713012839a0a0bbb93817b8ef
1400061b2299dSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1400161b2299dSmrgDate:   Wed Oct 29 14:00:33 2008 -0700
1400261b2299dSmrg
1400361b2299dSmrg    Support multiple independent internal sync handlers
1400461b2299dSmrg    
1400561b2299dSmrg    Xlib has several independent tasks that need to be performed with the
1400661b2299dSmrg    display unlocked. It does this by replacing the existing sync handler with
1400761b2299dSmrg    one of a variety of internal sync handlers. However, if multiple internal
1400861b2299dSmrg    sync handlers need to run, then the last one registering wins and
1400961b2299dSmrg    previously registered internal sync handlers are never invoked. This
1401061b2299dSmrg    manifested as a bug with DRI applications on Xlib/XCB as that requires
1401161b2299dSmrg    both an XID handler after every XID allocation, and the periodic sequence
1401261b2299dSmrg    number handler. The XID handler would win, and the sequence number handler
1401361b2299dSmrg    would never be invoked.
1401461b2299dSmrg    
1401561b2299dSmrg    Fix this by unifying the internal sync handler mechanism into a single
1401661b2299dSmrg    function that calls all of the known internal sync handlers. They all need
1401761b2299dSmrg    to deal with being called when not strictly necessary now.
1401861b2299dSmrg    
1401961b2299dSmrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1402061b2299dSmrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
1402161b2299dSmrg    Signed-off-by: Josh Triplett <josh@freedesktop.org>
1402261b2299dSmrg
1402361b2299dSmrgcommit 2dbaaab9c4e3894b33dcae850551dee5473431d5
1402461b2299dSmrgAuthor: Keith Packard <keithp@keithp.com>
1402561b2299dSmrgDate:   Sat Oct 11 21:44:21 2008 -0700
1402661b2299dSmrg
1402761b2299dSmrg    Ensure that _XReadEvents always leaves an event in the queue on return
1402861b2299dSmrg    
1402961b2299dSmrg    XNextEvent assumes that the event queue will be non-empty on return from
1403061b2299dSmrg    _XReadEvents, but with multiple event readers running, the previous change
1403161b2299dSmrg    could leave the queue empty on return from process_responses. Re-invoke
1403261b2299dSmrg    process_responses until the queue is non-empty.
1403361b2299dSmrg    
1403461b2299dSmrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1403561b2299dSmrg
1403661b2299dSmrgcommit bedfe68259037c5564fe52758c92b9c97729640a
1403761b2299dSmrgAuthor: Keith Packard <keithp@keithp.com>
1403861b2299dSmrgDate:   Sat Oct 11 21:10:23 2008 -0700
1403961b2299dSmrg
1404061b2299dSmrg    Permit only one Xlib thread to block waiting for events
1404161b2299dSmrg    
1404261b2299dSmrg    As Xlib queues events internally, we must prevent multiple Xlib threads from
1404361b2299dSmrg    entering XCB to wait for an event in case the queued event is to be
1404461b2299dSmrg    delivered to the thread which didn't manage to read it. In other words, let
1404561b2299dSmrg    only one Xlib thread into xcb_wait_for_event at a time.
1404661b2299dSmrg    
1404761b2299dSmrg    Jamey Sharp looked over my shoulder while making this fix and, while hating
1404861b2299dSmrg    my whitespace conventions, appears happy enough with the actual code.
1404961b2299dSmrg    
1405061b2299dSmrg    Signed-off-by: Keith Packard <keithp@keithp.com>
1405161b2299dSmrg
1405261b2299dSmrgcommit cc19618d2eb3ed92a0b574aee26a7da8b4aed5d2
1405361b2299dSmrgAuthor: Jamey Sharp <jamey@minilop.net>
1405461b2299dSmrgDate:   Sun Mar 23 16:33:50 2008 -0700
1405561b2299dSmrg
1405661b2299dSmrg    Fix XAllocID race: hold the user display lock until we have a new XID.
1405761b2299dSmrg    
1405861b2299dSmrg    Xlib built --without-xcb is also vulnerable to this race, and a similar
1405961b2299dSmrg    fix might work there too.
1406061b2299dSmrg    
1406161b2299dSmrg    Also, use an XID that's truly invalid while waiting for the next XID to be
1406261b2299dSmrg    requested.
1406361b2299dSmrg
1406461b2299dSmrgcommit 54e5c0941b0ded1628d559a9f0a3451ea96c299b
1406561b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org>
1406661b2299dSmrgDate:   Sat Mar 15 17:22:23 2008 -0700
1406761b2299dSmrg
1406861b2299dSmrg    Use XCB's new socket handoff mechanism rather than the old XCB Xlib lock.
1406961b2299dSmrg    
1407061b2299dSmrg    Previously, Xlib/XCB used XCB's Xlib lock to prevent XCB from sending
1407161b2299dSmrg    requests between calls to Xlib's LockDisplay and UnlockDisplay macros.
1407261b2299dSmrg    Xlib/XCB then sent all of its requests using XCB's xcb_send_request, and
1407361b2299dSmrg    had to flush its requests when unlocking the display.
1407461b2299dSmrg    
1407561b2299dSmrg    XCB 1.2 adds a new socket handoff mechanism, xcb_take_socket.  Replace
1407661b2299dSmrg    much of the existing Xlib/XCB implementation with the use of
1407761b2299dSmrg    xcb_take_socket to take ownership of the write side of the X connection
1407861b2299dSmrg    socket, and a return_socket callback which writes any outstanding requests
1407961b2299dSmrg    with xcb_writev.  This approach allows Xlib/XCB to use the same buffering
1408061b2299dSmrg    as traditional Xlib did.  In particular, programs which use Xlib/XCB and
1408161b2299dSmrg    never make XCB calls will never need to hand the socket back to XCB, and
1408261b2299dSmrg    vice versa.
1408361b2299dSmrg    
1408461b2299dSmrg    This allows us to discard large quantities of synchronization code from
1408561b2299dSmrg    Xlib/XCB, together with the synchronization bugs present in that code.
1408661b2299dSmrg    Several test cases which previously failed now work perfectly, including
1408761b2299dSmrg    multi-threaded ico.  In addition, the infamous locking correctness
1408861b2299dSmrg    assertions, triggered when double-locking or when unlocking without a
1408961b2299dSmrg    previous lock, no longer exist, because Xlib/XCB no longer has any reason
1409061b2299dSmrg    to care more about application locking than traditional Xlib does.
1409161b2299dSmrg    
1409261b2299dSmrg    Furthermore, the handoff approach provides great improvements to
1409361b2299dSmrg    performance.  Results from x11perf's XNoOp test, which represented the
1409461b2299dSmrg    worst case for the lock-based Xlib/XCB:
1409561b2299dSmrg    
1409661b2299dSmrg    Traditional Xlib:       average 19100000/sec
1409761b2299dSmrg    Lock-based Xlib/XCB:    average  3350000/sec
1409861b2299dSmrg    Handoff-based Xlib/XCB: average 17400000/sec
1409961b2299dSmrg    
1410061b2299dSmrg    Thus, for no-ops, the handoff mechanism provides more than a 4x speedup to
1410161b2299dSmrg    Xlib/XCB, bringing Xlib/XCB within 9% of traditional Xlib no-op
1410261b2299dSmrg    performance.  Of course, real-world workloads do not use no-op, so your
1410361b2299dSmrg    mileage may vary.  In particular, since no-ops represent the worst case,
1410461b2299dSmrg    we expect real workloads to more closely match the performance of
1410561b2299dSmrg    traditional Xlib.
1410661b2299dSmrg    
1410761b2299dSmrg    While removing synchronization code, we changed _XReply to not drop any
1410861b2299dSmrg    locks when calling xcb_wait_for_reply; previously, we had to carefully
1410961b2299dSmrg    avoid a deadlock between the Display lock and the XCB Xlib lock. Holding
1411061b2299dSmrg    the locks reduces implementation complexity and should not impact
1411161b2299dSmrg    applications.
1411261b2299dSmrg    
1411361b2299dSmrg    Commit by Jamey Sharp and Josh Triplett.
1411461b2299dSmrg    XCB's handoff mechanism inspired by Keith Packard.
1411561b2299dSmrg
1411661b2299dSmrgcommit 5a19ac473f7a8046b0421fbd5d53da160c22ed75
1411761b2299dSmrgAuthor: Chris Ball <cjb@laptop.org>
1411861b2299dSmrgDate:   Mon Nov 3 22:57:29 2008 -0500
1411961b2299dSmrg
1412061b2299dSmrg    Remove configure check for xcb-xlib.
1412161b2299dSmrg    
1412261b2299dSmrg    xcb-xlib has been intentionally removed from libxcb; stop checking for
1412361b2299dSmrg    it at configure-time.
1412461b2299dSmrg
1412561b2299dSmrgcommit 34b35dda0bb7f3cf0ad9ab95ad7953d35d24f71b
1412661b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org>
1412761b2299dSmrgDate:   Wed Oct 29 14:37:44 2008 -0700
1412861b2299dSmrg
1412961b2299dSmrg    .gitignore: Add dolt files
1413061b2299dSmrg
1413161b2299dSmrgcommit 1290cccf2d90083eba852f5f413f7e3dff48ccd2
1413261b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com>
1413361b2299dSmrgDate:   Tue Oct 28 11:56:55 2008 +1030
1413461b2299dSmrg
1413561b2299dSmrg    man: fix formatting error in XkbGetIndicatorState man page.
1413661b2299dSmrg
1413761b2299dSmrgcommit b1022fa6d7e97640049e93ffa108083fc8d71b05
1413861b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1413961b2299dSmrgDate:   Sat Oct 25 09:13:08 2008 -0400
1414061b2299dSmrg
1414161b2299dSmrg    Increase size of working arrays in the makekeys utility program.
1414261b2299dSmrg    
1414361b2299dSmrg    Makekeys is used to create an optimal hash of the keysyms defined
1414461b2299dSmrg    in x11proto’s keysymdef.h.
1414561b2299dSmrg    
1414661b2299dSmrg    The recent addition of new keysyms there has triggered a bug in
1414761b2299dSmrg    makekeys where it tries to use a zero on the rhs of the % (mod)
1414861b2299dSmrg    operator (resulting in a divide by zero error) whenever it fails
1414961b2299dSmrg    to find a solution within its constraints.
1415061b2299dSmrg    
1415161b2299dSmrg    Increasing the size of the arrays allows it to find a solution for
1415261b2299dSmrg    the current set of keysyms.
1415361b2299dSmrg    
1415461b2299dSmrg    Makekeys is only run durring the build process, so this has no impact
1415561b2299dSmrg    on users of libX11, only on the amount of VM needed to build it.
1415661b2299dSmrg    
1415761b2299dSmrg    It still needs a more complete fix, but this allows compiles to
1415861b2299dSmrg    progress until that is completed.
1415961b2299dSmrg
1416061b2299dSmrgcommit 3e9afd501e40d76040635bd9a3045bcaf5a03b60
1416161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1416261b2299dSmrgDate:   Sat Oct 11 01:03:14 2008 -0400
1416361b2299dSmrg
1416461b2299dSmrg    Dolt-ify
1416561b2299dSmrg    
1416661b2299dSmrg    Add dolt to acinclude.m4 and call it it configure.ac to speed compiles.
1416761b2299dSmrg
1416861b2299dSmrgcommit 39c0b266cac8cbc15bf501d7869186862f01d823
1416961b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com>
1417061b2299dSmrgDate:   Wed Oct 15 14:30:20 2008 +1030
1417161b2299dSmrg
1417261b2299dSmrg    Add more keysyms for PS3 BD remotes, Ericsson Phones #16519
1417361b2299dSmrg    
1417461b2299dSmrg    X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519>
1417561b2299dSmrg
1417661b2299dSmrgcommit d23aad31338e7d869d878d5aa1b6b91d20287005
1417761b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@redhat.com>
1417861b2299dSmrgDate:   Mon Oct 13 09:41:59 2008 +1030
1417961b2299dSmrg
1418061b2299dSmrg    Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb.
1418161b2299dSmrg
1418261b2299dSmrgcommit 214ea6f5fd6aeaa7303ea4a69f9aedabf219ec4c
1418361b2299dSmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net>
1418461b2299dSmrgDate:   Thu Jul 24 15:44:26 2008 +0930
1418561b2299dSmrg
1418661b2299dSmrg    xkb: fix out-by-1 error in _XkbWriteKeyExplicit.
1418761b2299dSmrg    
1418861b2299dSmrg    Thanks to Michael Meeks, Novell Bug 369263.
1418961b2299dSmrg    https://bugzilla.novell.com/show_bug.cgi?id=369263
1419061b2299dSmrg
1419161b2299dSmrgcommit e7ece39afc8e0adc3b6b1e70b337b98376754462
1419261b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1419361b2299dSmrgDate:   Tue Oct 7 15:41:38 2008 -0700
1419461b2299dSmrg
1419561b2299dSmrg    Sun bug #6739431: double free in _X11TransConnectDisplay()
1419661b2299dSmrg    
1419761b2299dSmrg    Double free() introduced in bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
1419861b2299dSmrg    After copying original_hostname to phostname, set original_hostname
1419961b2299dSmrg    to NULL, so we don't free the same pointer twice when we free both
1420061b2299dSmrg    original_hostname and phostname.
1420161b2299dSmrg    
1420261b2299dSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431>
1420361b2299dSmrg
1420461b2299dSmrgcommit 0877bc916afbd1ff8f1833edc930b765ea783576
1420561b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1420661b2299dSmrgDate:   Tue Sep 23 19:02:02 2008 +0300
1420761b2299dSmrg
1420861b2299dSmrg    configure.ac: Fix CC_FOR_BUILD logic error
1420961b2299dSmrg    
1421061b2299dSmrg    Turns out we were accidentally smashing it so that you couldn't set it
1421161b2299dSmrg    externally at all.  Oops.
1421261b2299dSmrg
1421361b2299dSmrgcommit 58bf3aa746908f01c37be7045699e43a4e270944
1421461b2299dSmrgAuthor: John Tapsell <johnflux@gmail.com>
1421561b2299dSmrgDate:   Tue Sep 23 17:30:13 2008 +0300
1421661b2299dSmrg
1421761b2299dSmrg    Build: Use native compiler for makekeys
1421861b2299dSmrg    
1421961b2299dSmrg    makekeys needs to be run during the build process, as opposed to on the
1422061b2299dSmrg    target, so build it with either of gcc or cc to fix cross-compiling.
1422161b2299dSmrg    This can be overridden by setting $CC_FOR_BUILD.
1422261b2299dSmrg
1422361b2299dSmrgcommit 340422a5c7a413faef18666cada27cee14615250
1422461b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com>
1422561b2299dSmrgDate:   Wed Sep 17 12:54:34 2008 -0400
1422661b2299dSmrg
1422761b2299dSmrg    Fix the previous patch for the BadFont case.
1422861b2299dSmrg
1422961b2299dSmrgcommit 2335eafe4b53c27f6f9ee1bab3e1f5842f896428
1423061b2299dSmrgAuthor: Matthias Clasen <mclasen@redhat.com>
1423161b2299dSmrgDate:   Wed Sep 17 10:43:52 2008 -0400
1423261b2299dSmrg
1423361b2299dSmrg    Bug #17616: Fix an XCB leak when the client has a non-fatal error handler.
1423461b2299dSmrg
1423561b2299dSmrgcommit db0b85db29699be6bf7e78dede655d59ba926dfc
14236e9628295SmrgAuthor: Rafael Ávila de Espíndola < <rafael.espindola@gmail.com>
1423761b2299dSmrgDate:   Sun Sep 14 19:15:26 2008 -0400
1423861b2299dSmrg
1423961b2299dSmrg    Fix problem with <dead_acute> <c> in pt_BR.UTF-8
1424061b2299dSmrg    
1424161b2299dSmrg    The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8
1424261b2299dSmrg    Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the
1424361b2299dSmrg    ISO 8859 pt_BR Compose file) as the string but specify the keysym
1424461b2299dSmrg    and comment for Ć and ć (c with acute accent).
1424561b2299dSmrg    
1424661b2299dSmrg    This commit normalizes those two lines to match the specified string.
1424761b2299dSmrg    
1424861b2299dSmrg    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671
1424961b2299dSmrg    
1425061b2299dSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
1425161b2299dSmrg
1425261b2299dSmrgcommit b065c011baa69b69e3ea77c30d5e153c0d103e2d
1425361b2299dSmrgAuthor: Michael Verret <michael.verret@gmail.com>
1425461b2299dSmrgDate:   Mon Sep 8 16:33:35 2008 -0400
1425561b2299dSmrg
1425661b2299dSmrg    Fix documentation typo
1425761b2299dSmrg    
1425861b2299dSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
1425961b2299dSmrg
1426061b2299dSmrgcommit 4213ea95185377bdd1b51e82933f331fc0f52e5b
1426161b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1426261b2299dSmrgDate:   Sat Sep 6 04:19:19 2008 -0400
1426361b2299dSmrg
1426461b2299dSmrg    Remove extraneous <angle brackets> from the Ethiopic Compose file.
1426561b2299dSmrg    
1426661b2299dSmrg    The am_ET.UTF-8 Compose file submitted in:
1426761b2299dSmrg    
1426861b2299dSmrg    https://bugs.freedesktop.org/show_bug.cgi?id=11307
1426961b2299dSmrg    
1427061b2299dSmrg    for the OLCP project used incorrect syntax.  (It has angle brackets around the
1427161b2299dSmrg    Uxxxx symbols on the right hand side rather than only on the left hand side).
1427261b2299dSmrg    
1427361b2299dSmrg    This bug is noted in OLPC’s ticket:
1427461b2299dSmrg    
1427561b2299dSmrg    http://dev.laptop.org/ticket/7474
1427661b2299dSmrg    http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch
1427761b2299dSmrg
1427861b2299dSmrgcommit 9df84b513dd2b6e65e6d528cfac6d4cc3ea46918
1427961b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1428061b2299dSmrgDate:   Mon Sep 1 17:49:33 2008 -0400
1428161b2299dSmrg
1428261b2299dSmrg    Complete the set of vulgar fractions
1428361b2299dSmrg    
1428461b2299dSmrg    Unicode 1.1 added thirds, fifths, sixths and eights;
1428561b2299dSmrg    we might as well catch up.
1428661b2299dSmrg    
1428761b2299dSmrg    (Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152)
1428861b2299dSmrg    and 0/3 (U2189) in their pipelines, but those four can be added
1428961b2299dSmrg    here after they are published.)
1429061b2299dSmrg
1429161b2299dSmrgcommit a788792e9de95f8db0639557859722a35087481d
1429261b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1429361b2299dSmrgDate:   Wed Aug 20 15:28:07 2008 -0400
1429461b2299dSmrg
1429561b2299dSmrg    nls (en_US) Re-remove long compositions that override shorter
1429661b2299dSmrg    
1429761b2299dSmrg    As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>:
1429861b2299dSmrg    
1429961b2299dSmrg      Commit a6f4bbf7
1430061b2299dSmrg        nls (en_US): remove long compositions that override shorter [...]
1430161b2299dSmrg        removed some longer compose sequences because there are shorter
1430261b2299dSmrg        ones which take preference over the longer. For example the
1430361b2299dSmrg        sequences:
1430461b2299dSmrg    
1430561b2299dSmrg          <Multi_key> <apostrophe> <comma> <c>   : U1E09 # ḉ
1430661b2299dSmrg          <Multi_key> <apostrophe> <comma> <C>   : U1E08 # Ḉ
1430761b2299dSmrg    
1430861b2299dSmrg        were removed becase there already was:
1430961b2299dSmrg    
1431061b2299dSmrg          <Multi_key> <apostrophe> <comma>       : U201A # ‚
1431161b2299dSmrg    
1431261b2299dSmrg      Then commit 4ba09125
1431361b2299dSmrg        Work on making the en_US and pt_BR UTF-8 Compose as similar as
1431461b2299dSmrg        possible added exactly the same key sequences again. Obviusly
1431561b2299dSmrg        they won't work.
1431661b2299dSmrg
1431761b2299dSmrgcommit 55248e5c84c3fd8c349a3bb4cb15a1ec86989d74
1431861b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1431961b2299dSmrgDate:   Thu Jul 17 21:01:42 2008 -0400
1432061b2299dSmrg
1432161b2299dSmrg    Add more <Multi_key> <cedilla> Compose tuples
1432261b2299dSmrg    
1432361b2299dSmrg    The last commit missed the el_GR UTF-8 Compose.pre as well as
1432461b2299dSmrg    the various ISO 8859 locales which have compose sequences
1432561b2299dSmrg    generating ‘WITH CEDILLA’ characters.
1432661b2299dSmrg    
1432761b2299dSmrg    (Interestingly, some of the 8859 locales already supported
1432861b2299dSmrg    <Multi_key> <cedilla> for some CEDILLA characters, but not
1432961b2299dSmrg    for Ç or ç.)
1433061b2299dSmrg    
1433161b2299dSmrg    This is further work on bug 10397.
1433261b2299dSmrg
1433361b2299dSmrgcommit 4ba091255bb953d53078ba5619d6751052c739f7
1433461b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1433561b2299dSmrgDate:   Thu Jul 17 17:16:50 2008 -0400
1433661b2299dSmrg
1433761b2299dSmrg    Work on making the en_US and pt_BR UTF-8 Compose as similar as possible.
1433861b2299dSmrg    
1433961b2299dSmrg    The eventual goal here is to have a single primary UTF-8 Compose
1434061b2299dSmrg    file which the locale-specific UTF-8 Compose.pre files can #include.
1434161b2299dSmrg
1434261b2299dSmrgcommit 254522d3c24e0590732fc03cdd61ff4564819d94
1434361b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1434461b2299dSmrgDate:   Thu Jul 17 17:13:36 2008 -0400
1434561b2299dSmrg
1434661b2299dSmrg    Add <Multi_key> <cedilla> Compose tuples
1434761b2299dSmrg    
1434861b2299dSmrg    The en_US and pt_BR UTF-8 Compose tables had support for using <comma>
1434961b2299dSmrg    with <Multi_key> to enter CEDILLA characters.  Bug 10397 requests
1435061b2299dSmrg    support for using <cedilla> instead of <comma> in said sequences.
1435161b2299dSmrg    
1435261b2299dSmrg    This commit makes both styles work.
1435361b2299dSmrg
1435461b2299dSmrgcommit 7dc907f6032e1d5cbe4da0e414bdf2c569c04b44
1435561b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1435661b2299dSmrgDate:   Sat Jun 28 15:25:23 2008 -0400
1435761b2299dSmrg
1435861b2299dSmrg    Fix commit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01
1435961b2299dSmrg    
1436061b2299dSmrg    The new block was added twice to the en_US.UTF-8 Compose.pre;
1436161b2299dSmrg    delete the duplicate.
1436261b2299dSmrg
1436361b2299dSmrgcommit 596e081b7457dcd1c4ad555ac140e6999239bc0d
1436461b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1436561b2299dSmrgDate:   Sat Jun 28 20:14:05 2008 +0930
1436661b2299dSmrg
1436761b2299dSmrg    Fix unbalanced parenthesis in XKBlib.h # 16551
1436861b2299dSmrg    
1436961b2299dSmrg    X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551>
1437061b2299dSmrg
1437161b2299dSmrgcommit f6af6dd2f76c12b56ec166bb771457b9f08fe246
1437261b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com>
1437361b2299dSmrgDate:   Tue Jun 24 13:16:53 2008 -0400
1437461b2299dSmrg
1437561b2299dSmrg    Bug #14898: Don't abuse the sprintf() implementation.
1437661b2299dSmrg    
1437761b2299dSmrg    The thing you're printing into should not itself appear in the list of
1437861b2299dSmrg    things to print from, that's bad juju.  Just use strcat().
1437961b2299dSmrg
1438061b2299dSmrgcommit 21e464ec682ab23ba20ddf6bd72c6db214cfbe01
1438161b2299dSmrgAuthor: Khaled Hosny <khaledhosny@eglug.org>
1438261b2299dSmrgDate:   Thu Jun 19 18:26:11 2008 -0400
1438361b2299dSmrg
1438461b2299dSmrg    NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426)
1438561b2299dSmrg    
1438661b2299dSmrg    Add some Arabic digraphs to utf-8 locales with a Compose.pre
1438761b2299dSmrg    
1438861b2299dSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
1438961b2299dSmrg
1439061b2299dSmrgcommit bf53987eaf0fbd7f7627783fc39e7ee99e8361ba
1439161b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1439261b2299dSmrgDate:   Wed Jun 18 20:00:25 2008 -0700
1439361b2299dSmrg
1439461b2299dSmrg    Rework code to choose local connection types and fallback to others
1439561b2299dSmrg    
1439661b2299dSmrg    Adds --with-local-transport-order configure flag if you don't like the
1439761b2299dSmrg    default ordering (which is platform dependent)
1439861b2299dSmrg    
1439961b2299dSmrg    Includes fixes for these Sun/Solaris bug ids:
1440061b2299dSmrg    6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0
1440161b2299dSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250>
1440261b2299dSmrg    6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris
1440361b2299dSmrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481>
1440461b2299dSmrg
1440561b2299dSmrgcommit cf49e537014c3cb5aaee07e57400933e0bb72b6b
1440661b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1440761b2299dSmrgDate:   Tue Jun 17 14:41:17 2008 -0700
1440861b2299dSmrg
1440961b2299dSmrg    Strip whitespace from end of lines in source files
1441061b2299dSmrg
1441161b2299dSmrgcommit f76fd81dfbbd5cfae75c87ce0511e88e08529cf3
1441261b2299dSmrgAuthor: Jeff Smith <whydoubt@yahoo.com>
1441361b2299dSmrgDate:   Sun Jun 15 23:52:20 2008 -0500
1441461b2299dSmrg
1441561b2299dSmrg    Fix memory leak in XOpenDisplay
1441661b2299dSmrg    
1441761b2299dSmrg    Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
1441861b2299dSmrg
1441961b2299dSmrgcommit fca0b0ba3f72b7284601d4690bba99fc80a92614
1442061b2299dSmrgAuthor: Jens Herden <jens@khmeros.info>
1442161b2299dSmrgDate:   Tue Jun 10 20:07:30 2008 +0300
1442261b2299dSmrg
1442361b2299dSmrg    NLS: Add Khmer compose sequences (bug #5706)
1442461b2299dSmrg    
1442561b2299dSmrg    Add some Khmer digraphs to all locales with a Compose.pre.
1442661b2299dSmrg
1442761b2299dSmrgcommit e54cffb649b1622c17457e470cfab8cc56d38c97
1442838ae11fcSmrgMerge: 19802ccd 721b574d
1442961b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1443061b2299dSmrgDate:   Tue Jun 10 20:04:30 2008 +0300
1443161b2299dSmrg
1443261b2299dSmrg    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
1443361b2299dSmrg
1443461b2299dSmrgcommit 721b574d36f1884c3f1bf7bd933646e2ed6680b5
1443561b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1443661b2299dSmrgDate:   Thu May 29 10:57:21 2008 +0930
1443761b2299dSmrg
1443861b2299dSmrg    Bump to 1.1.99.1
1443961b2299dSmrg
1444061b2299dSmrgcommit 631d32d13247d1cf52c0833d438c5b38b01b17a4
1444161b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1444261b2299dSmrgDate:   Wed May 28 17:31:59 2008 +0930
1444361b2299dSmrg
1444461b2299dSmrg    Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents)
1444561b2299dSmrg
1444661b2299dSmrgcommit e9195db7257e418f83707233baeeb84b225caf4f
1444738ae11fcSmrgMerge: c34f76f4 a7f85567
1444861b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1444961b2299dSmrgDate:   Thu May 22 12:14:28 2008 +0930
1445061b2299dSmrg
1445161b2299dSmrg    Merge branch 'master' into xge
1445261b2299dSmrg
1445361b2299dSmrgcommit 19802ccd3909145e3ba2f6c073271cb5f3701685
1445461b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1445561b2299dSmrgDate:   Mon May 19 19:22:31 2008 +0300
1445661b2299dSmrg
1445761b2299dSmrg    gitignore: Update with loads more bits from server
1445861b2299dSmrg
1445961b2299dSmrgcommit a7f85567a3e850fba0c44571453d2852ab1a09be
1446061b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com>
1446161b2299dSmrgDate:   Tue May 13 10:28:39 2008 -0400
1446261b2299dSmrg
1446361b2299dSmrg    Bug #15884: Remove useless sleep()'s from the connection code.
1446461b2299dSmrg    
1446561b2299dSmrg    For network transports, there's enough delay in the network layer
1446661b2299dSmrg    already without adding more.  For local transports, just hurry up
1446761b2299dSmrg    and fail if the server isn't there.
1446861b2299dSmrg
1446961b2299dSmrgcommit c34f76f475bc632490122e67b5a82575d69d5569
1447061b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1447161b2299dSmrgDate:   Mon May 12 21:46:24 2008 +0930
1447261b2299dSmrg
1447361b2299dSmrg    Pull down extra bytes when reading a GenericEvent (non-xcb).
1447461b2299dSmrg    
1447561b2299dSmrg    I refuse to take any responsibily for this code. It works, I guess.
1447661b2299dSmrg    But - all the flushing is done somewhere before that, so we might need to
1447761b2299dSmrg    flush here. Under some circumstances anyway. Don't ask me, I'm an optical
1447861b2299dSmrg    illusion.
1447961b2299dSmrg    
1448061b2299dSmrg    Build with xcb as transport layer highly recommended.
1448161b2299dSmrg
1448261b2299dSmrgcommit c9b2ff1e6a607463993afa4a8d085857d97cc2f3
1448338ae11fcSmrgMerge: 17d7dcbf 9129057b
1448461b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1448561b2299dSmrgDate:   Mon May 12 17:58:37 2008 +0930
1448661b2299dSmrg
1448761b2299dSmrg    Merge branch 'master' into xge
1448861b2299dSmrg
1448961b2299dSmrgcommit 9129057bdbff0ec9cd8bb780cf7f85f134a291eb
1449061b2299dSmrgAuthor: Teemu Likonen <tlikonen@iki.fi>
1449161b2299dSmrgDate:   Wed May 7 21:44:22 2008 +0300
1449261b2299dSmrg
1449361b2299dSmrg    Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01
1449461b2299dSmrg    
1449561b2299dSmrg    Commit 6b6caeea830a977bdb54688cfb648d879821e752 added <dead_belowdot>
1449661b2299dSmrg    <A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and
1449761b2299dSmrg    U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused
1449861b2299dSmrg    duplicate compose sequences since these have already been defined. Also,
1449961b2299dSmrg    using <dead_belowring> is more logical since the diacritic is indeed
1450061b2299dSmrg    a "RING BELOW".
1450161b2299dSmrg
1450261b2299dSmrgcommit 01a9cb58888d290cc3d319feec4ee4a0297a844c
1450361b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1450461b2299dSmrgDate:   Wed May 7 20:04:44 2008 +0300
1450561b2299dSmrg
1450661b2299dSmrg    NLS: Make UTF-8 the default for Russian
1450761b2299dSmrg    
1450861b2299dSmrg    No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the
1450961b2299dSmrg    only other possible answer would be KOI8-R.
1451061b2299dSmrg    
1451161b2299dSmrg    Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com>
1451261b2299dSmrg
1451361b2299dSmrgcommit 407b81bfbbabf6feb565d6da22f9ef9a69016ab8
1451461b2299dSmrgAuthor: Ross Burton <ross@burtonini.com>
1451561b2299dSmrgDate:   Tue Apr 29 13:38:10 2008 +0300
1451661b2299dSmrg
1451761b2299dSmrg    NLS: Add interrobang to UTF-8 compose tables (bug #15653)
1451861b2299dSmrg    
1451961b2299dSmrg    It is what it says on the box.
1452061b2299dSmrg
1452161b2299dSmrgcommit 0b6682303e9c61fefc3818acfda616b1e3691abf
1452261b2299dSmrgAuthor: Theppitak Karoonboonyanan <thep@linux.thai.net>
1452361b2299dSmrgDate:   Mon Apr 28 11:51:25 2008 +0300
1452461b2299dSmrg
1452561b2299dSmrg    IM: Respect XMODIFIERS for Thai locale (bug #15719)
1452661b2299dSmrg    
1452761b2299dSmrg    When looking at Thai input methods, make sure XMODIFIERS is checked
1452861b2299dSmrg    before jumping straight into built-in Thai processing, so external XIM
1452961b2299dSmrg    servers such as SCIM can be used with Thai.
1453061b2299dSmrg
1453161b2299dSmrgcommit c13aded1b2f830ba5004abb0ec5518f9ea16087e
1453261b2299dSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net>
1453361b2299dSmrgDate:   Sat Apr 26 18:56:05 2008 +0100
1453461b2299dSmrg
1453561b2299dSmrg    Fix missing error condition
1453661b2299dSmrg
1453761b2299dSmrgcommit f5c5ffc175cb383c92ea0fa8c08cfb087c5f3083
1453861b2299dSmrgAuthor: Colin Harrison <colin.harrison-at-virgin.net>
1453961b2299dSmrgDate:   Mon Apr 21 17:24:33 2008 +0100
1454061b2299dSmrg
1454161b2299dSmrg    Xlib warning fixes
1454261b2299dSmrg
1454361b2299dSmrgcommit 6b6caeea830a977bdb54688cfb648d879821e752
1454461b2299dSmrgAuthor: James Cloos <cloos@jhcloos.com>
1454561b2299dSmrgDate:   Fri Apr 18 02:50:55 2008 -0400
1454661b2299dSmrg
1454761b2299dSmrg    Add some dead_key sequences to en_US.UTF-8 Compose table
1454861b2299dSmrg    
1454961b2299dSmrg    Make use of the new dead key symbols added to x11proto’s
1455061b2299dSmrg    commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which
1455161b2299dSmrg    was in responce to bug #15446).
1455261b2299dSmrg
1455361b2299dSmrgcommit 8f9b039580deaf658e464b7d6254064fcf183df6
1455461b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1455561b2299dSmrgDate:   Mon Apr 14 19:09:42 2008 -0700
1455661b2299dSmrg
1455761b2299dSmrg    Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version
1455861b2299dSmrg
1455961b2299dSmrgcommit 9f5e96eb91ab55dd441c3e94b75caf48c588778f
1456061b2299dSmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
1456161b2299dSmrgDate:   Mon Apr 14 18:21:14 2008 -0700
1456261b2299dSmrg
1456361b2299dSmrg    Fix mismatched brace indenting
1456461b2299dSmrg
1456561b2299dSmrgcommit a19f9c65ee9e5e5d783feaa84998c36439b0288b
1456661b2299dSmrgAuthor: Bart Massey <bart@cs.pdx.edu>
1456761b2299dSmrgDate:   Fri Apr 4 18:58:45 2008 -0700
1456861b2299dSmrg
1456961b2299dSmrg    added error check in Xcms color file parser; closes bug #15305
1457061b2299dSmrg
1457161b2299dSmrgcommit 12e8d0d01dd72ce98e7683ddb1bde181b7ed246f
1457261b2299dSmrgAuthor: Christian Weisgerber <naddy@mips.inka.de>
1457361b2299dSmrgDate:   Tue Mar 18 07:30:05 2008 +0100
1457461b2299dSmrg
1457561b2299dSmrg    ConnDis: properly cast 'addr' before accessing it as a byte array.
1457661b2299dSmrg    
1457761b2299dSmrg    If you use XDM-AUTHORIZATION-1 authorization keys for remote X11
1457861b2299dSmrg    clients over IPv6, the clients are liable to segfaults.
1457961b2299dSmrg
1458061b2299dSmrgcommit 64325f38bab082a8e0e9ce779a8e582de5c8588e
1458161b2299dSmrgAuthor: Josh Triplett <josh@freedesktop.org>
1458261b2299dSmrgDate:   Sat Mar 15 12:29:33 2008 -0700
1458361b2299dSmrg
1458461b2299dSmrg    Fix fd.o bug 15023: make Xlib sync correctly given many void requests
1458561b2299dSmrg    
1458661b2299dSmrg    If given many requests without replies, Xlib may not sync until it flushes
1458761b2299dSmrg    the output buffer.  Thus, if Xlib can fit enough requests in the buffer to
1458861b2299dSmrg    pass by the number of requests it would normally sync after (65536 -
1458961b2299dSmrg    BUFSIZE/sizeof(xReq)), it will sync too late.  The test case in bug 15023
1459061b2299dSmrg    demonstrated this by issuing a request with a reply (ListExtensions) at
1459161b2299dSmrg    just the right time to get confused with the GetInputFocus reply issued in
1459261b2299dSmrg    response to the sync 65,536 requests later; the test case used an async
1459361b2299dSmrg    handler to watch the replies, since otherwise it could not issue a request
1459461b2299dSmrg    without waiting for the response.  When the test case failed, Xlib's sync
1459561b2299dSmrg    handler would eat the ListExtensions reply, and the test case's async
1459661b2299dSmrg    handler would see the GetInputFocus reply.
1459761b2299dSmrg    
1459861b2299dSmrg    Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the
1459961b2299dSmrg    buffer size to figure out when the sequence numbers could potentially wrap
1460061b2299dSmrg    before the next flush.
1460161b2299dSmrg    
1460261b2299dSmrg    With this commit, the test case consistently passed, and the async reply
1460361b2299dSmrg    handler always saw the ListExtensions reply.
1460461b2299dSmrg    
1460561b2299dSmrg    Commit by Jamey Sharp and Josh Triplett.
1460661b2299dSmrg
1460761b2299dSmrgcommit a5395563bbee15fabe1e8fd7aa86f9f314d8d30e
1460861b2299dSmrgAuthor: Colin Harrison <colin.harrison@virgin.net>
1460961b2299dSmrgDate:   Sat Mar 15 13:39:13 2008 -0400
1461061b2299dSmrg
1461161b2299dSmrg    Fix typo
1461261b2299dSmrg    
1461361b2299dSmrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
1461461b2299dSmrg
1461561b2299dSmrgcommit f07585ca27a8487bc66dfe41486c823f0fdcea7d
1461661b2299dSmrgAuthor: Daniel Stone <daniel@fooishbar.org>
1461761b2299dSmrgDate:   Sat Mar 15 17:32:57 2008 +0200
1461861b2299dSmrg
1461961b2299dSmrg    configure.ac: Don't search for legacy X11 headers
1462061b2299dSmrg    
1462161b2299dSmrg    This can actually break cross-compiles, so don't do it anymore.
1462261b2299dSmrg
1462361b2299dSmrgcommit bf69541238c7df6606340c0f389e5c47149b29c7
1462461b2299dSmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
1462561b2299dSmrgDate:   Sun Mar 9 09:08:07 2008 +0100
1462661b2299dSmrg
1462761b2299dSmrg    nuke RCS Ids
1462861b2299dSmrg
1462961b2299dSmrgcommit 5e98aed13e529638df744e45893c471d5f2014fb
1463061b2299dSmrgAuthor: Adam Jackson <ajax@redhat.com>
1463161b2299dSmrgDate:   Thu Mar 6 16:10:33 2008 -0500
1463261b2299dSmrg
1463361b2299dSmrg    libX11 1.1.4
1463461b2299dSmrg
146351ab64890Smrgcommit 8e085971dc661da9f80ff6b67747459c0fb15c08
146361ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
146371ab64890SmrgDate:   Thu Feb 28 20:17:41 2008 -0800
146381ab64890Smrg
146391ab64890Smrg    Man page typo fixes
146401ab64890Smrg
146411ab64890Smrgcommit 1a1a42a3ca1dfaf42f1094936b71c140fc030fcb
14642e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@redhat.com>
146431ab64890SmrgDate:   Sun Feb 24 20:03:35 2008 -0500
146441ab64890Smrg
146451ab64890Smrg    XIM: Fix a hand when switching input context.
146461ab64890Smrg    
146471ab64890Smrg    Red Hat bug #201284.
146481ab64890Smrg
146491ab64890Smrgcommit e02e4ccafcaf3eb8993152dfcbfbee0240ea2db2
146501ab64890SmrgAuthor: Adam Jackson <ajax@redhat.com>
146511ab64890SmrgDate:   Sun Feb 24 20:00:43 2008 -0500
146521ab64890Smrg
146531ab64890Smrg    Bug #14029: Don't LockDisplay() recursively.
146541ab64890Smrg    
146551ab64890Smrg    See also Red Hat bugzilla #326461.
146561ab64890Smrg
146571ab64890Smrgcommit e5892467ae3308c8651be76e06db322dcbc08522
146581ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
146591ab64890SmrgDate:   Fri Feb 15 17:27:53 2008 -0800
146601ab64890Smrg
146611ab64890Smrg    Add support for building lint library with --enable-lint-library
146621ab64890Smrg
146631ab64890Smrgcommit e3eb83ec6a9bffa63cdffd94f077c12f85ad7240
146641ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
146651ab64890SmrgDate:   Mon Feb 11 20:11:43 2008 -0800
146661ab64890Smrg
146671ab64890Smrg    Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from #
146681ab64890Smrg
146691ab64890Smrgcommit d5ceed7a73a6b61758ddb6ff4e194955fbd5c185
146701ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
146711ab64890SmrgDate:   Fri Feb 8 16:46:46 2008 -0800
146721ab64890Smrg
146731ab64890Smrg    Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment
146741ab64890Smrg
146751ab64890Smrgcommit 416a812200f24d19149dcc497e5c51a0608120f6
146761ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
146771ab64890SmrgDate:   Fri Feb 8 15:31:31 2008 -0800
146781ab64890Smrg
146791ab64890Smrg    XErrorDB updates for Render 0.9 & XFixes 4.0
146801ab64890Smrg
146811ab64890Smrgcommit 16a76091cd632e5a3708e235ff864b58f3e4613e
146821ab64890SmrgAuthor: Kim Woelders <kim@woelders.dk>
146831ab64890SmrgDate:   Sat Dec 22 21:45:23 2007 +0100
146841ab64890Smrg
146851ab64890Smrg    Fix bs_BA entries in locale.dir.pre
146861ab64890Smrg    
146871ab64890Smrg    X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786>
146881ab64890Smrg
146891ab64890Smrgcommit 32115c563b87d2f37e3f9de70fbd0f4d9e424aea
1469038ae11fcSmrgMerge: 8f0bd3f4 e8d4cefa
146911ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
146921ab64890SmrgDate:   Fri Dec 14 22:43:47 2007 -0500
146931ab64890Smrg
146941ab64890Smrg    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
146951ab64890Smrg
146961ab64890Smrgcommit 8f0bd3f445cbdcc67650f6e8e3baf2ed89cb3695
146971ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
146981ab64890SmrgDate:   Fri Dec 14 22:42:59 2007 -0500
146991ab64890Smrg
147001ab64890Smrg    add a comment to en_US.UTF-8/Compose
147011ab64890Smrg
147021ab64890Smrgcommit 4d6c45e60ed13d3b0fea10413873d6a74f9d6a3b
147031ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
147041ab64890SmrgDate:   Fri Dec 14 22:40:13 2007 -0500
147051ab64890Smrg
147061ab64890Smrg    Add <dead_stroke> compose sequences
147071ab64890Smrg    
147081ab64890Smrg    The added sequences match the existing <Multi_key> <slash> sequences.
147091ab64890Smrg    
147101ab64890Smrg    This is related to bug #12765¹.
147111ab64890Smrg    
147121ab64890Smrg    1] https://bugs.freedesktop.org/show_bug.cgi?id=12765
147131ab64890Smrg
147141ab64890Smrgcommit e8d4cefa0837afa149a10e981528b368485a9e38
147151ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local>
147161ab64890SmrgDate:   Mon Dec 10 23:00:44 2007 -0800
147171ab64890Smrg
147181ab64890Smrg    Added launchd support.
147191ab64890Smrg
1472061b2299dSmrgcommit 17d7dcbfced4a9417b33507bd3fd9b7dd8268242
1472138ae11fcSmrgMerge: 5dfefd38 13ac8046
1472261b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1472361b2299dSmrgDate:   Thu Dec 6 14:08:29 2007 +1030
1472461b2299dSmrg
1472561b2299dSmrg    Merge branch 'master' into xge
1472661b2299dSmrg
1472761b2299dSmrgcommit 5dfefd3829d3ba7e41d5db0ad28e9dfee92fadd5
1472838ae11fcSmrgMerge: a68a1cd7 eff33ae5
1472961b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1473061b2299dSmrgDate:   Thu Dec 6 13:57:09 2007 +1030
1473161b2299dSmrg
1473261b2299dSmrg    Merge branch 'master' into xge
1473361b2299dSmrg    
1473461b2299dSmrg    Conflicts:
1473561b2299dSmrg    
1473638ae11fcSmrg            src/xcb_io.c
1473761b2299dSmrg
147381ab64890Smrgcommit 13ac80469f6958cabac596834e203bd9cb6d4c94
147391ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
147401ab64890SmrgDate:   Wed Dec 5 20:14:03 2007 -0500
147411ab64890Smrg
147421ab64890Smrg    Update the currency symbols block of en_US.UTF-8/Compose.pre
147431ab64890Smrg    Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for
147441ab64890Smrg    the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI,
147451ab64890Smrg    AUSTRAL, HRYVNIA and CEDI SIGNs.
147461ab64890Smrg
147471ab64890Smrgcommit b0a8f2ec4ba698841683f8ce389f9d72e6bce53e
147481ab64890SmrgAuthor: Anton Zinoviev <anton@lml.bas.bg>
147491ab64890SmrgDate:   Wed Dec 5 19:56:03 2007 -0500
147501ab64890Smrg
147511ab64890Smrg    Additions to the Compose file for UTF-8
147521ab64890Smrg    From bug #5371¹
147531ab64890Smrg    
147541ab64890Smrg    Commit 5cf5bc76642bfece7cb5b76faf414bf445f14489 left out this change
147551ab64890Smrg    from those in attachment #4122².  The post³ on xorg resulted in only
147561ab64890Smrg    a positive reply⁴ from Daniel, so this block is now also commited.
147571ab64890Smrg    
147581ab64890Smrg    1] https://bugs.freedesktop.org/show_bug.cgi?id=5371
147591ab64890Smrg    2] https://bugs.freedesktop.org/attachment.cgi?id=4122
147601ab64890Smrg    3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628
147611ab64890Smrg    4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966
147621ab64890Smrg    
147631ab64890Smrg    Signed-off-by: James Cloos <cloos@jhcloos.com>
147641ab64890Smrg    Acked-by:  Daniel Stone <daniel@fooishbar.org>
147651ab64890Smrg
147661ab64890Smrgcommit 438d02ebc08ee171cf1d3936f4c81050d428ab92
147671ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
147681ab64890SmrgDate:   Tue Dec 4 17:25:39 2007 -0500
147691ab64890Smrg
147701ab64890Smrg    Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file
147711ab64890Smrg    
147721ab64890Smrg    Based on src/KeysymStr.c and src/StrKeysym.c and comments in
147731ab64890Smrg    bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid;
147741ab64890Smrg    those should be in the form U plus the hex of the UCS Code Point.
147751ab64890Smrg    
147761ab64890Smrg    The 0x01000000 is ORed in by the code.
147771ab64890Smrg    
147781ab64890Smrg    This update fixes all of those.
147791ab64890Smrg    
147801ab64890Smrg    1] https://bugs.freedesktop.org/show_bug.cgi?id=11930
147811ab64890Smrg    2] https://bugs.freedesktop.org/show_bug.cgi?id=5129
147821ab64890Smrg
147831ab64890Smrgcommit 02e04059c89e175f51647e3b031344f743286b34
1478438ae11fcSmrgMerge: 1254c57d b57129ef
147851ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
147861ab64890SmrgDate:   Tue Dec 4 06:55:04 2007 -0500
147871ab64890Smrg
147881ab64890Smrg    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
147891ab64890Smrg
147901ab64890Smrgcommit 1254c57dd3a8d6ea87041b2f63024f99094f290f
147911ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
147921ab64890SmrgDate:   Tue Dec 4 06:53:55 2007 -0500
147931ab64890Smrg
147941ab64890Smrg    Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11
147951ab64890Smrg    Inspired by bug 11930¹:
147961ab64890Smrg    
147971ab64890Smrg    Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili
147981ab64890Smrg    and dead_dasia keysyms.  Make use of them in the en_US.UTF-8 and el_GR.UTF-8
147991ab64890Smrg    Compose files.
148001ab64890Smrg    
148011ab64890Smrg    This was done with a pair of perl scripts based on the one quoted in the
148021ab64890Smrg    log for commit c76d30253f1483ac8200ad5c032a818907e65030.
148031ab64890Smrg    
148041ab64890Smrg    1] https://bugs.freedesktop.org/show_bug.cgi?id=11930
148051ab64890Smrg
148061ab64890Smrgcommit b57129ef324c73ee91c2a796b800c4b45f4d4855
148071ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local>
148081ab64890SmrgDate:   Mon Dec 3 20:04:19 2007 -0800
148091ab64890Smrg
148101ab64890Smrg    Use __APPLE__ instead of __DARWIN__
148111ab64890Smrg
148121ab64890Smrgcommit b9c032e1d5ed08510863dfb91b8bda588e6c8c9e
148131ab64890SmrgAuthor: Jeremy Huddleston <jeremy@yuffie.local>
148141ab64890SmrgDate:   Wed Nov 28 16:43:49 2007 -0800
148151ab64890Smrg
148161ab64890Smrg    Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c
148171ab64890Smrg
148181ab64890Smrgcommit 4b91ed099554626f1ec17d5bdf7bd77ce1a70037
148191ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
148201ab64890SmrgDate:   Wed Nov 21 16:50:04 2007 -0800
148211ab64890Smrg
148221ab64890Smrg    X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page
148231ab64890Smrg    
148241ab64890Smrg    X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312>
148251ab64890Smrg    
148261ab64890Smrg    Protect /* sequences from cpp pre-processor removal without transforming
148271ab64890Smrg    to Unicode mathematical asterisk character
148281ab64890Smrg
148291ab64890Smrgcommit 2af660c2fcd15c86c66459bfc074c190ea1462e6
148301ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
148311ab64890SmrgDate:   Mon Oct 29 10:46:20 2007 -0700
148321ab64890Smrg
148331ab64890Smrg    Two threads can request sequence sync and XID fetch simultaneously.
148341ab64890Smrg    
148351ab64890Smrg    So don't assert that they can't.
148361ab64890Smrg    
148371ab64890Smrg    This makes the Xlib/XCB implementation of _XAllocID more closely
148381ab64890Smrg    resemble the traditional Xlib version.
148391ab64890Smrg
148401ab64890Smrgcommit 6e5485e0a5e3ab738becad12193e760c5fee83a4
148411ab64890SmrgAuthor: Samuel Thibault <samuel.thibault@ens-lyon.org>
148421ab64890SmrgDate:   Sun Oct 28 04:44:00 2007 -0800
148431ab64890Smrg
148441ab64890Smrg    X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man
148451ab64890Smrg    
148461ab64890Smrg    <http://bugs.freedesktop.org/show_bug.cgi?id=12983>
148471ab64890Smrg
148481ab64890Smrgcommit 24527c92fd1f433ea135e85ec876a94a529fe500
148491ab64890SmrgAuthor: Yann Droneaud <ydroneaud@mandriva.com>
148501ab64890SmrgDate:   Wed Oct 24 19:26:07 2007 +0300
148511ab64890Smrg
148521ab64890Smrg    XIM: Properly initialise client event
148531ab64890Smrg    
148541ab64890Smrg    Make sure all ClientMessage fields are initialised to 0 before we send it.
148551ab64890Smrg
148561ab64890Smrgcommit e41477f37b0d9b74a056d22dbf0073a94eecb9d6
148571ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
148581ab64890SmrgDate:   Wed Oct 24 19:22:22 2007 +0300
148591ab64890Smrg
148601ab64890Smrg    Colours: Fix --disable-xcms
148611ab64890Smrg    
148621ab64890Smrg    Disable large tracts of colour management code when passing
148631ab64890Smrg    --disable-xcms.
148641ab64890Smrg
148651ab64890Smrgcommit 11ea09745efa8de7dc82fe30ebd2393f08390957
148661ab64890SmrgAuthor: Eric Anholt <eric@anholt.net>
148671ab64890SmrgDate:   Fri Aug 31 17:30:33 2007 -0700
148681ab64890Smrg
148691ab64890Smrg    Bug #2081: Note the range limitation of XSetScreenSaver arguments.
148701ab64890Smrg
148711ab64890Smrgcommit 31540f1438ec63faf37044f2fd654b335ddf80f0
14872e9628295SmrgAuthor: Kristian Høgsberg  <krh@redhat.com>
148731ab64890SmrgDate:   Wed Aug 29 19:50:57 2007 -0400
148741ab64890Smrg
148751ab64890Smrg    Add GLX 1.4 requests and errors.
148761ab64890Smrg
148771ab64890Smrgcommit 7c996f78914c77fe17e9f4feede980d895d9df51
148781ab64890SmrgAuthor: Eric Anholt <eric@anholt.net>
148791ab64890SmrgDate:   Tue Aug 28 15:15:11 2007 -0700
148801ab64890Smrg
148811ab64890Smrg    Add XF86 keyboard/monitor brightness keysyms to the keysymbdb.
148821ab64890Smrg
148831ab64890Smrgcommit fa4effe82759f864a22a2dc6c920fa72ddb175a8
148841ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
148851ab64890SmrgDate:   Sun Jan 14 10:48:00 2007 -0800
148861ab64890Smrg
148871ab64890Smrg    Bug #9658: Bad markup on XIfEvent.3x
148881ab64890Smrg    
148891ab64890Smrg    X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658>
148901ab64890Smrg
148911ab64890Smrgcommit 74cba78daa738ef4d92096107d95c1a585933666
148921ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
148931ab64890SmrgDate:   Sun Jan 14 10:43:00 2007 -0800
148941ab64890Smrg
148951ab64890Smrg    Bug #9655: Bad markup in XrmUniqueQuark.3x
148961ab64890Smrg    
148971ab64890Smrg    X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655>
148981ab64890Smrg
148991ab64890Smrgcommit 4341d1a34b2a2e460b58131b6fd81935f3355bbc
149001ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
149011ab64890SmrgDate:   Sun Jan 14 10:43:00 2007 -0800
149021ab64890Smrg
149031ab64890Smrg    Bug #9654: Bad markup in XrmGetFileDatabase.3x
149041ab64890Smrg    
149051ab64890Smrg    X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654>
149061ab64890Smrg
149071ab64890Smrgcommit 2db713252090cae08f0200fecad4fc25fb64c8b1
149081ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
149091ab64890SmrgDate:   Sun Jan 14 10:40:00 2007 -0800
149101ab64890Smrg
149111ab64890Smrg    Bug #9653: Bad markup in XQueryColor.3x
149121ab64890Smrg    
149131ab64890Smrg    X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653>
149141ab64890Smrg
149151ab64890Smrgcommit 9d3ceea4b902e0471824c1e07ad64342b9a1114e
149161ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
149171ab64890SmrgDate:   Sun Jan 14 10:40:00 2007 -0800
149181ab64890Smrg
149191ab64890Smrg    Bug #9652: Bad markup in XDrawArc.3x
149201ab64890Smrg    
149211ab64890Smrg    X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652>
149221ab64890Smrg
149231ab64890Smrgcommit 2e7e0748d353d7f53bbd65ec6bf0df8758528ddc
149241ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
149251ab64890SmrgDate:   Sun Jan 14 10:39:00 2007 -0800
149261ab64890Smrg
149271ab64890Smrg    Bug #9651: Bad markup in XcmsColor.3x
149281ab64890Smrg    
149291ab64890Smrg    X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651>
149301ab64890Smrg
149311ab64890Smrgcommit c316aaf0aab06951db9dc5c9c1148bfea835d885
149321ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
149331ab64890SmrgDate:   Sun Jan 14 10:38:00 2007 -0800
149341ab64890Smrg
149351ab64890Smrg    Bug #9650: Bad markup in XLoadFont.3x manual page
149361ab64890Smrg    
149371ab64890Smrg    X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650>
149381ab64890Smrg
149391ab64890Smrgcommit ca5d9a625ea0965853fa9e74a448b8c29c78ec95
149401ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
149411ab64890SmrgDate:   Tue Jan 2 10:18:00 2007 -0800
149421ab64890Smrg
149431ab64890Smrg    Bug 9523: Markup problems in XQueryExtension.3x
149441ab64890Smrg    
149451ab64890Smrg    X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523>
149461ab64890Smrg
149471ab64890Smrgcommit fe713c616e29ba19c179b43c18eca1035079ce18
149481ab64890SmrgAuthor: Ian Romanick <idr@us.ibm.com>
149491ab64890SmrgDate:   Tue Aug 21 14:56:33 2007 -0700
149501ab64890Smrg
149511ab64890Smrg    Make sure nls/am_ET.UTF-8/Makefile is created by configure.
149521ab64890Smrg
149531ab64890Smrgcommit e3430616f26b68e1439143cbe10732f3fc329d20
149541ab64890SmrgAuthor: Eric S. Raymond <esr@thyrsus.com>
149551ab64890SmrgDate:   Tue Jan 2 08:40:00 2007 -0800
149561ab64890Smrg
149571ab64890Smrg    Bug #9516: Markup error in XAllocWMHints.3x
149581ab64890Smrg    
149591ab64890Smrg    X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516>
149601ab64890Smrg
149611ab64890Smrgcommit d8fe979fc929833e8c754aed32641786d5a0622b
1496238ae11fcSmrgMerge: 21ca9533 4ec1723f
149631ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
149641ab64890SmrgDate:   Mon Aug 20 15:34:50 2007 -0400
149651ab64890Smrg
149661ab64890Smrg    Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11
149671ab64890Smrg
149681ab64890Smrgcommit 21ca953337fb221b85345bf35ce1a98a0dcb2bf2
149691ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
149701ab64890SmrgDate:   Mon Aug 20 15:34:03 2007 -0400
149711ab64890Smrg
149721ab64890Smrg    Fix typo
149731ab64890Smrg    The code <U1000000D> was used where <U10000DC> was obviously intended.
149741ab64890Smrg    
149751ab64890Smrg    It is possible that <Udiaeresis> should be used instead, if that will
149761ab64890Smrg    not break anyone’s setup.
149771ab64890Smrg
149781ab64890Smrgcommit 4ec1723fff729440cd3349c1f95d87d2a6ba89cf
149791ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
149801ab64890SmrgDate:   Mon Aug 20 15:25:48 2007 -0400
149811ab64890Smrg
149821ab64890Smrg    Add compose file for Ethiopic to match new keyboard in xkeyboard-config
149831ab64890Smrg    From bug report:
149841ab64890Smrg    
149851ab64890Smrg      https://bugs.freedesktop.org/show_bug.cgi?id=11307
149861ab64890Smrg
149871ab64890Smrgcommit eff33ae525337ce2026be135a26464c7b1237113
149881ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
149891ab64890SmrgDate:   Sat Aug 18 17:58:23 2007 -0400
149901ab64890Smrg
149911ab64890Smrg    Patch for Catalan locales
149921ab64890Smrg    From bugzilla bug 10943¹:
149931ab64890Smrg    
149941ab64890Smrg      There are several Catalan locale codes which presently can
149951ab64890Smrg      be used in X11 systems; especially after they were accepted
149961ab64890Smrg      in belocs-locale-data².
149971ab64890Smrg    
149981ab64890Smrg      In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan
149991ab64890Smrg      locale codes.  For instance, without this, using ca_AD (actually
150001ab64890Smrg      a quite used locale⁴) some applications (eg. Emacs or Skype)
150011ab64890Smrg      cannot display Catalan diacritic marks as you type them.
150021ab64890Smrg    
150031ab64890Smrg    1] https://bugs.freedesktop.org/show_bug.cgi?id=10943
150041ab64890Smrg    2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html
150051ab64890Smrg    3] Toni Hermoso Pulido <toniher@softcatala.org>
150061ab64890Smrg    4] https://launchpad.net/~ubuntu.cat/+members
150071ab64890Smrg
150081ab64890Smrgcommit 1f980cb7d022f53d0aee9e793b08203fb888e86e
150091ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
150101ab64890SmrgDate:   Sat Aug 18 17:47:04 2007 -0400
150111ab64890Smrg
150121ab64890Smrg    Add additional Euro signs to compose
150131ab64890Smrg    Inspired by bug 7419¹ make all of:
150141ab64890Smrg    
150151ab64890Smrg        C=, =C, c=, =c, E=, =E, e=, E=
150161ab64890Smrg    
150171ab64890Smrg    after <Multi_key> generate € U+20AC EURO SIGN.
150181ab64890Smrg    
150191ab64890Smrg    1] https://bugs.freedesktop.org/show_bug.cgi?id=7419
150201ab64890Smrg
150211ab64890Smrgcommit 4b0a14521449dfce8b4347bd17243efd1d3eae2d
150221ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
150231ab64890SmrgDate:   Sat Aug 18 17:29:08 2007 -0400
150241ab64890Smrg
150251ab64890Smrg    Compose fix for Latin-1 (from Debian)
150261ab64890Smrg    The description from bugzilla bug 7417¹ is:
150271ab64890Smrg    
150281ab64890Smrg      We've been shipping this patch for some time in Debian now. The
150291ab64890Smrg      problem description from the patch header is reproduced below. You
150301ab64890Smrg      may want to note the licensing issue mentioned below, but we've been
150311ab64890Smrg      shipping it because the method by which this particular patch was
150321ab64890Smrg      generated and updated was also given below.
150331ab64890Smrg    
150341ab64890Smrg      This patch by Denis Barbier.
150351ab64890Smrg    
150361ab64890Smrg      The X11 protocol states that Unicode keysyms are in the range
150371ab64890Smrg      0x01000100 - 0x0110FFFF.  If the result of composing characters is a
150381ab64890Smrg      Unicode codepoint, X returns the corresponding Unicode keysym, which
150391ab64890Smrg      is its Unicode codepoint augmented by 0x01000000.  Latin-1
150401ab64890Smrg      characters must not appear with their Unicode codepoints in compose
150411ab64890Smrg      files, otherwise the returned composed character lies in the range
150421ab64890Smrg      0x01000000 - 0x010000FF which is not valid.
150431ab64890Smrg    
150441ab64890Smrg      There are two solutions: either fix composing routines to return
150451ab64890Smrg      0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or
150461ab64890Smrg      replace U00ZZ by their corresponding keysyms in compose files.  The
150471ab64890Smrg      latter is more logical and less error prone, so compose files will
150481ab64890Smrg      be patched.  Many applications accept these invalid Unicode keysyms,
150491ab64890Smrg      but few of them don't, most notably xemacs.  Only UTF-8 locales are
150501ab64890Smrg      affected.
150511ab64890Smrg    
150521ab64890Smrg      This has been fixed very recently in XFree86 CVS (but not xorg), but
150531ab64890Smrg      for licensing reasons, this patch is not grabbed.  Instead automatic
150541ab64890Smrg      conversion is performed by:
150551ab64890Smrg    
150561ab64890Smrg        sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \
150571ab64890Smrg        | grep -v deprecated | grep 0x0 \
150581ab64890Smrg        | sed -e 's/0x0/U0/' -e 's/XK_//' \
150591ab64890Smrg        | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile
150601ab64890Smrg        for f in nls/*.UTF-8/Compose.pre
150611ab64890Smrg        do
150621ab64890Smrg          sed -f sedfile $f > $f.tmp && mv $f.tmp $f
150631ab64890Smrg        done
150641ab64890Smrg    
150651ab64890Smrg    [I edited the quoted script to update it for the current location of
150661ab64890Smrg    the installed keysymdef.h and the current layout of the libX11
150671ab64890Smrg    repo. -JimC]
150681ab64890Smrg    
150691ab64890Smrg    I applied the script, not the patch attached to the bugreport.
150701ab64890Smrg    
150711ab64890Smrg    1] https://bugs.freedesktop.org/show_bug.cgi?id=7417
150721ab64890Smrg
150731ab64890Smrgcommit 5cf5bc76642bfece7cb5b76faf414bf445f14489
150741ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
150751ab64890SmrgDate:   Sat Aug 18 17:13:41 2007 -0400
150761ab64890Smrg
150771ab64890Smrg    Add some compose sequences
150781ab64890Smrg    
150791ab64890Smrg    Add some compose sequences from the patch in bug 5371 (attachment 4122).
150801ab64890Smrg    
150811ab64890Smrg    Cf:
150821ab64890Smrg    
150831ab64890Smrg    https://bugs.freedesktop.org/show_bug.cgi?id=5371
150841ab64890Smrg    https://bugs.freedesktop.org/attachment.cgi?id=4122
150851ab64890Smrg
150861ab64890Smrgcommit d4002e389dd69780dfc7c2f7bd3cb0c57f05d4f8
150871ab64890SmrgAuthor: James Cloos <cloos@jhcloos.com>
150881ab64890SmrgDate:   Sat Aug 18 13:57:31 2007 -0400
150891ab64890Smrg
150901ab64890Smrg    Fix SMP Compose targets
150911ab64890Smrg    The compose targets from the SMP (plane 1) were incorrect.
150921ab64890Smrg    
150931ab64890Smrg    At some point the 0x10000 bit had been lost.
150941ab64890Smrg
150951ab64890Smrgcommit f1ed3da9a30a1f0264fdc7d1c6466f27fe2a3d7d
150961ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net>
150971ab64890SmrgDate:   Thu Aug 16 17:37:22 2007 -0500
150981ab64890Smrg
150991ab64890Smrg    Fix a mutex reference-counting bug.
151001ab64890Smrg    
151011ab64890Smrg    I was told that some systems have a much more permissive libpthread.
151021ab64890Smrg    I was asked to commit this. This is from NetBSD's X source.
151031ab64890Smrg    (I didn't receive any feedback on xorg list for over two weeks
151041ab64890Smrg    about this.)
151051ab64890Smrg
151061ab64890Smrgcommit ac00a44b4875de70382da5a40dd87f976e5b9327
151071ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
151081ab64890SmrgDate:   Wed Aug 1 20:36:03 2007 +0200
151091ab64890Smrg
151101ab64890Smrg    Bumped version to 1.1.3.
151111ab64890Smrg
151121ab64890Smrgcommit 76fae9cba1e9bdf7f0eb2ff2b90153d622136cf0
151131ab64890SmrgAuthor: Joerg Sonnenberger <joerg@netbsd.org>
151141ab64890SmrgDate:   Fri Jul 27 11:15:47 2007 -0700
151151ab64890Smrg
151161ab64890Smrg    Fail properly on errors in recursive make.
151171ab64890Smrg
151181ab64890Smrgcommit 1a18319b3bde08dd9ef69c7cd735a76000cf3177
151191ab64890SmrgAuthor: Brice Goglin <Brice.Goglin@ens-lyon.org>
151201ab64890SmrgDate:   Thu Jul 26 23:31:15 2007 +0200
151211ab64890Smrg
151221ab64890Smrg    Add missing override parameter in XrmCombineDatabase prototype in the manpage
151231ab64890Smrg    
151241ab64890Smrg    Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
151251ab64890Smrg    in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434
151261ab64890Smrg    and https://bugs.freedesktop.org/show_bug.cgi?id=9948
151271ab64890Smrg    
151281ab64890Smrg    Also add the type of the second argument in XrmMergeDatabases.
151291ab64890Smrg
151301ab64890Smrgcommit 6f0764d4b56f64786b4980839ca262f10a51af6f
151311ab64890SmrgAuthor: Brice Goglin <Brice.Goglin@ens-lyon.org>
151321ab64890SmrgDate:   Thu Jul 26 22:53:52 2007 +0200
151331ab64890Smrg
151341ab64890Smrg    Clarify return value of XGetCommand in case of error in the manpage
151351ab64890Smrg    
151361ab64890Smrg    Reported by Sean Perry <shalehperry@attbi.com>
151371ab64890Smrg    in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348
151381ab64890Smrg    and https://bugs.freedesktop.org/show_bug.cgi?id=9828
151391ab64890Smrg
151401ab64890Smrgcommit b8bef57342632cc2d25580bb7daa3839bae04d89
151411ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
151421ab64890SmrgDate:   Wed Jul 25 17:44:06 2007 -0700
151431ab64890Smrg
151441ab64890Smrg    Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4
151451ab64890Smrg
151461ab64890Smrgcommit 590cde811a79375231c59ed8583e02b111ed567c
151471ab64890SmrgAuthor: Kean Johnston <kean@armory.com>
151481ab64890SmrgDate:   Thu Jul 19 16:44:20 2007 -0700
151491ab64890Smrg
151501ab64890Smrg    Reset hostname when falling back from :0 to hostname/localhost:0 as well
151511ab64890Smrg
151521ab64890Smrgcommit d334665e619e9db657a2ea2764a8b852401d4a3f
151531ab64890SmrgAuthor: Kean Johnston <kean@armory.com>
151541ab64890SmrgDate:   Tue Jul 17 16:34:30 2007 -0700
151551ab64890Smrg
151561ab64890Smrg    LOCALCONN fallback changes DisplayString() output, breaks KDE
151571ab64890Smrg    
151581ab64890Smrg    See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html>
151591ab64890Smrg
151601ab64890Smrgcommit 8e76bcf3cafda85058ce5f35f1f81929f4772f72
151611ab64890SmrgAuthor: Olivier Blin <blino@mandriva.org>
151621ab64890SmrgDate:   Mon Jun 11 18:32:09 2007 +1000
151631ab64890Smrg
151641ab64890Smrg    fix XGetMotionEvents arguments order - Fixes bug 11222
151651ab64890Smrg
151661ab64890Smrgcommit c2f88cdf5cd9c94b77e5bfdac572b5ac06ab4aa8
151671ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
151681ab64890SmrgDate:   Sun Jun 10 16:19:59 2007 -0700
151691ab64890Smrg
151701ab64890Smrg    Fix locking in _XimGetWindowEventmask.
151711ab64890Smrg    
151721ab64890Smrg    Now that XFilterEvent drops the Display lock before invoking callback
151731ab64890Smrg    functions, _XimGetWindowEventmask is called without the lock held. So
151741ab64890Smrg    when it called _XGetWindowAttributes, a variant of XGetWindowAttributes
151751ab64890Smrg    that does not lock the Display, Xlib/XCB would assert:
151761ab64890Smrg    
151771ab64890Smrg    xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
151781ab64890Smrg    
151791ab64890Smrg    Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others?
151801ab64890Smrg
151811ab64890Smrgcommit 65f0ab5d46d80d55fc04d4eb14fa05f130eb8b9c
151821ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
151831ab64890SmrgDate:   Sun Jun 3 21:41:47 2007 -0700
151841ab64890Smrg
151851ab64890Smrg    Move security fixes to the top of NEWS, and fix spacing.
151861ab64890Smrg    
151871ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
151881ab64890Smrg
151891ab64890Smrgcommit a549a258b8fcb1ba9d0c1b01b72967e385f67cab
151901ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
151911ab64890SmrgDate:   Sun Jun 3 21:29:40 2007 -0700
151921ab64890Smrg
151931ab64890Smrg    Add NEWS item for bugfix in commit e2c1d788d1fe7bd2d34756493951552441e59b8c.
151941ab64890Smrg    
151951ab64890Smrg    Commit by Josh Triplett and Jamey Sharp
151961ab64890Smrg
151971ab64890Smrgcommit 5123b77a3d32d3ad479462f319762c328278aed9
151981ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
151991ab64890SmrgDate:   Sun Jun 3 21:24:54 2007 -0700
152001ab64890Smrg
152011ab64890Smrg    Xlib/XCB: Inline and simplify handle_event, since only process_responses calls it now.
152021ab64890Smrg    
152031ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
152041ab64890Smrg
152051ab64890Smrgcommit 582ca690ea4f3ffd2b94826c4db97229bd3c7238
152061ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
152071ab64890SmrgDate:   Sun Jun 3 20:59:12 2007 -0700
152081ab64890Smrg
152091ab64890Smrg    Xlib/XCB: Fix _XReadEvents to always enqueue a new event, even if an error occurs
152101ab64890Smrg    
152111ab64890Smrg    Commit c337f9de7cfd89f983f83956b7457a274dd412f3 broke the invariant that
152121ab64890Smrg    _XReadEvents always enqueues at least one event even if an error occurred,
152131ab64890Smrg    because the one call to xcb_wait_for_event would then return an error, not an
152141ab64890Smrg    event, and nothing else ensured that process_responses would obtain an event.
152151ab64890Smrg    Fix this by reverting most of c337f9de7cfd89f983f83956b7457a274dd412f3 and
152161ab64890Smrg    f417570735aac865eb6b576d1ea76b5bfcd8573b and implementing the correct fix.  In
152171ab64890Smrg    process_responses, wait_for_first_event now serves as a flag, cleared when
152181ab64890Smrg    actually handling an event.
152191ab64890Smrg    
152201ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
152211ab64890Smrg
152221ab64890Smrgcommit e2c1d788d1fe7bd2d34756493951552441e59b8c
152231ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
152241ab64890SmrgDate:   Sun Jun 3 17:33:23 2007 -0700
152251ab64890Smrg
152261ab64890Smrg    Xlib/XCB: Only remove pending_requests when there are provably no more responses.
152271ab64890Smrg
152281ab64890Smrgcommit 7a6dbd4b07ca0a49c30ca7a1d2437eafb2e15eab
152291ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
152301ab64890SmrgDate:   Sun Jun 3 15:39:39 2007 -0700
152311ab64890Smrg
152321ab64890Smrg    Bump version number to 1.1.2, and add NEWS entry for 1.1.2
152331ab64890Smrg    
152341ab64890Smrg    Signed-off-by: Josh Triplett <josh@freedesktop.org>
152351ab64890Smrg
152361ab64890Smrgcommit 416f38f2e67ee1979b3d2feac6f06b3670238804
152371ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
152381ab64890SmrgDate:   Sun Jun 3 12:13:44 2007 -0700
152391ab64890Smrg
152401ab64890Smrg    Revert "Revert "include: don't distribute XlibConf.h""
152411ab64890Smrg    
152421ab64890Smrg    This reverts commit 79fa3d8070d95b960ba486f2439225872471dadd.
152431ab64890Smrg    
152441ab64890Smrg    Re-revert the XlibConf.h change, which prevented distribution, not
152451ab64890Smrg    installation.
152461ab64890Smrg
152471ab64890Smrgcommit 79fa3d8070d95b960ba486f2439225872471dadd
152481ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
152491ab64890SmrgDate:   Sat Jun 2 22:05:16 2007 -0700
152501ab64890Smrg
152511ab64890Smrg    Revert "include: don't distribute XlibConf.h"
152521ab64890Smrg    
152531ab64890Smrg    This reverts commit c9e28e05ae01ce8a29bea09df759b6271865b44c.
152541ab64890Smrg    
152551ab64890Smrg    The installed XlibInt.h includes XlibConf.h , so libX11 should ship
152561ab64890Smrg    XlibConf.h.  (Commit c9e28e05ae01ce8a29bea09df759b6271865b44c didn't actually
152571ab64890Smrg    prevent automake from shipping XlibConf.h, because it used
152581ab64890Smrg    nodist_x11include_HEADERS rather than nodist_HEADERS.)
152591ab64890Smrg
152601ab64890Smrgcommit f417570735aac865eb6b576d1ea76b5bfcd8573b
152611ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
152621ab64890SmrgDate:   Sat Jun 2 17:59:15 2007 -0700
152631ab64890Smrg
152641ab64890Smrg    Xlib/XCB: inline wait_or_poll_for_event, which now had only one caller.
152651ab64890Smrg    
152661ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
152671ab64890Smrg
152681ab64890Smrgcommit c337f9de7cfd89f983f83956b7457a274dd412f3
152691ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
152701ab64890SmrgDate:   Sat Jun 2 17:46:41 2007 -0700
152711ab64890Smrg
152721ab64890Smrg    Xlib/XCB: Ensure _XReadEvents reads at least one new event and blocks for exactly one event.
152731ab64890Smrg    
152741ab64890Smrg    Commit by Jamey Sharp and Josh Triplett.
152751ab64890Smrg
152761ab64890Smrgcommit 7f66c897f04806b75e574b55b48921b48045e3f9
152771ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
152781ab64890SmrgDate:   Sat Jun 2 16:43:39 2007 -0700
152791ab64890Smrg
152801ab64890Smrg    Update _XReply's copy of _XCBUnlockDisplay's guts.
152811ab64890Smrg    
152821ab64890Smrg    We introduced this bug in 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5.
152831ab64890Smrg    
152841ab64890Smrg    Also add a comment in _XCBUnlockDisplay to discourage this problem from
152851ab64890Smrg    respawning.
152861ab64890Smrg    
152871ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
152881ab64890Smrg
152891ab64890Smrgcommit 740ead23512f8d2eaafaa69e514f1ebafad475b9
152901ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
152911ab64890SmrgDate:   Sat Jun 2 16:01:01 2007 -0700
152921ab64890Smrg
152931ab64890Smrg    Xlib/XCB: Avoid re-crashing after _XIOError.
152941ab64890Smrg    
152951ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
152961ab64890Smrg
152971ab64890Smrgcommit 6b81cbbedfb521ce046b77ee3cc54e884a1dc0c5
152981ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
152991ab64890SmrgDate:   Sat Jun 2 12:30:30 2007 -0700
153001ab64890Smrg
153011ab64890Smrg    Hold XCB's Xlib lock even when only the user lock (XLockDisplay) is held.
153021ab64890Smrg    
153031ab64890Smrg    An Xlib client can query Display state, such as with NextRequest, while
153041ab64890Smrg    it holds only the Xlib user lock (between XLockDisplay and
153051ab64890Smrg    XUnlockDisplay), so XCB requests in other threads should be blocked when
153061ab64890Smrg    the Xlib user lock is held.
153071ab64890Smrg    
153081ab64890Smrg    We acquire the lock even when XInitThreads was not called, so that pure
153091ab64890Smrg    XCB code can use multiple threads even in an otherwise single-threaded
153101ab64890Smrg    Xlib application.
153111ab64890Smrg    
153121ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
153131ab64890Smrg
153141ab64890Smrgcommit 95523387d619af5b400748898d722e080b5ce1a6
153151ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
153161ab64890SmrgDate:   Sat Jun 2 11:57:39 2007 -0700
153171ab64890Smrg
153181ab64890Smrg    Allow re-entrant Xlib calls from _XIOError.
153191ab64890Smrg    
153201ab64890Smrg    Some libraries try to clean up X resources from atexit handlers, _fini,
153211ab64890Smrg    or C++ destructors. To make these work, the Display lock should be
153221ab64890Smrg    downgraded to a user lock (as in XLockDisplay) before calling exit(3).
153231ab64890Smrg    This blocks Xlib calls from threads other than the one calling exit(3)
153241ab64890Smrg    while still allowing the exit handlers to call Xlib.
153251ab64890Smrg    
153261ab64890Smrg    This assumes that the thread calling exit will call any atexit handlers.
153271ab64890Smrg    If this does not hold, then an alternate solution would involve
153281ab64890Smrg    registering an atexit handler to take over the lock, which would only
153291ab64890Smrg    assume that the same thread calls all the atexit handlers.
153301ab64890Smrg    
153311ab64890Smrg    Commit by Josh Triplett and Jamey Sharp.
153321ab64890Smrg
153331ab64890Smrgcommit 91b02b8064f4e0bcc56019f0722914850008a597
153341ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
153351ab64890SmrgDate:   Thu May 17 19:07:34 2007 +0200
153361ab64890Smrg
153371ab64890Smrg    More constification.
153381ab64890Smrg
153391ab64890Smrgcommit a4f3841940158351f9424c3f59b305cce877177d
153401ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
153411ab64890SmrgDate:   Thu May 17 00:29:43 2007 +0200
153421ab64890Smrg
153431ab64890Smrg    Constified composite text charset table.
153441ab64890Smrg
153451ab64890Smrgcommit 0581c0aa6039e6b2abb9f7b0a4f9904d8e01f00e
153461ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
153471ab64890SmrgDate:   Wed May 16 23:19:22 2007 +0200
153481ab64890Smrg
153491ab64890Smrg    Have the compiler fill in hexTable so we don't have to do it at runtime.
153501ab64890Smrg
153511ab64890Smrgcommit 0e8d9ca47dab0d069e305d5784d05f2ade04f0a8
153521ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
153531ab64890SmrgDate:   Wed May 16 19:36:23 2007 +0200
153541ab64890Smrg
153551ab64890Smrg    More constification.
153561ab64890Smrg
153571ab64890Smrgcommit 6d2bed8f04942b4de086a519ac693e729c9fdeea
153581ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
153591ab64890SmrgDate:   Wed May 16 19:18:20 2007 +0200
153601ab64890Smrg
153611ab64890Smrg    Constify and clean up token table.
153621ab64890Smrg
153631ab64890Smrgcommit 6c508eab5df5d517f7e4cbe6087308cd53a564b2
153641ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
153651ab64890SmrgDate:   Wed May 16 18:24:42 2007 +0200
153661ab64890Smrg
153671ab64890Smrg    Constified more tables.
153681ab64890Smrg
153691ab64890Smrgcommit e699c4231c205ef00d687b6412308d031b99806b
153701ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
153711ab64890SmrgDate:   Wed May 16 18:01:23 2007 +0200
153721ab64890Smrg
153731ab64890Smrg    Constified error list.
153741ab64890Smrg
1537561b2299dSmrgcommit a68a1cd7cb990ba276fbc36a7591044d78b3d3c1
1537661b2299dSmrgAuthor: Peter Hutterer <peter@cs.unisa.edu.au>
1537761b2299dSmrgDate:   Tue May 15 16:54:01 2007 +0930
1537861b2299dSmrg
1537961b2299dSmrg    Add XGenericEvent definition and handling for long events.
1538061b2299dSmrg
153811ab64890Smrgcommit c76d30253f1483ac8200ad5c032a818907e65030
153821ab64890SmrgAuthor: Jan Willem Stumpel <jstumpel@planet.nl>
153831ab64890SmrgDate:   Fri May 4 12:00:49 2007 -0700
153841ab64890Smrg
153851ab64890Smrg    Update el_GR.UTF-8/Compose.pre to match changes in xkeyboard-config cvs
153861ab64890Smrg    
153871ab64890Smrg    Cf:
153881ab64890Smrg    
153891ab64890Smrg      https://bugs.freedesktop.org/show_bug.cgi?id=10851
153901ab64890Smrg      https://bugs.freedesktop.org/show_bug.cgi?id=10824
153911ab64890Smrg      http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386385
153921ab64890Smrg    
153931ab64890Smrg    The greek keyboard definition was changed to replace dead_horn and
153941ab64890Smrg    dead_ogonek with U0313 COMBINING COMMA ABOVE (aka Psili) and U0314
153951ab64890Smrg    COMBINING REVERSED COMMA ABOVE (aka Dasia).
153961ab64890Smrg    
153971ab64890Smrg    This patch modifies the Greek Compose.pre to match.
153981ab64890Smrg    
153991ab64890Smrg    It is generated by the script Jan Willem Stumpel <jstumpel@planet.nl>
154001ab64890Smrg    posted to 386385@bugs.debian.org:
154011ab64890Smrg    
154021ab64890Smrg    #!/usr/bin/perl
154031ab64890Smrg    while (<>) {
154041ab64890Smrg      print $_;
154051ab64890Smrg      if (/dead_horn/) {
154061ab64890Smrg        s/dead_horn/U0313/;
154071ab64890Smrg        print $_;
154081ab64890Smrg      }
154091ab64890Smrg      elsif (/dead_ogonek/) {
154101ab64890Smrg        s/dead_ogonek/U0314/;
154111ab64890Smrg        print $_;
154121ab64890Smrg      }
154131ab64890Smrg    }
154141ab64890Smrg
154151ab64890Smrgcommit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831
154161ab64890SmrgAuthor: Magnus Kessler <Magnus.Kessler@gmx.net>
154171ab64890SmrgDate:   Tue May 1 15:20:08 2007 +0200
154181ab64890Smrg
154191ab64890Smrg    Switched function definitions from K&R to ANSI style.
154201ab64890Smrg
154211ab64890Smrgcommit 605d357074d556a05a3fba2e85cbea36a3204248
154221ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
154231ab64890SmrgDate:   Tue May 1 14:47:03 2007 +0200
154241ab64890Smrg
154251ab64890Smrg    Tweaked configure output about the man pages suffix.
154261ab64890Smrg
154271ab64890Smrgcommit 9824b40d2af4ca2376512c1be7743da0d5065900
154281ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
154291ab64890SmrgDate:   Sat Apr 28 00:42:18 2007 -0700
154301ab64890Smrg
154311ab64890Smrg    Fix typo in nroff macro in XkbAddGeomOverlayKey.man
154321ab64890Smrg
154331ab64890Smrgcommit f93849dcc68bd5042ea0884e5190dc7c35b31d68
154341ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
154351ab64890SmrgDate:   Sat Apr 28 00:30:55 2007 -0700
154361ab64890Smrg
154371ab64890Smrg    Protect C comments and #defines in XKB man pages from being mangled by cpp
154381ab64890Smrg
154391ab64890Smrgcommit f2f27d4763c7665e422fab10b96b4cf5ad6c0a6f
154401ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
154411ab64890SmrgDate:   Sat Apr 28 00:14:50 2007 -0700
154421ab64890Smrg
154431ab64890Smrg    Add Makefile to process/install XKB man pages
154441ab64890Smrg
154451ab64890Smrgcommit d9954c6f6f3a8c406b946acd0d034ff83c656156
154461ab64890SmrgAuthor: Dennis Arellano <Dennis.Arellano@Sun.COM>
154471ab64890SmrgDate:   Thu Aug 19 00:00:00 1999 -0700
154481ab64890Smrg
154491ab64890Smrg    Add man pages for XKB API's
154501ab64890Smrg    
154511ab64890Smrg    Man pages originally written for X11R6.4 integration to Solaris 7 11/99
154521ab64890Smrg    Sun bug id 4258344: Add new XKB API manpages for 6.4 upgrade
154531ab64890Smrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258344>
154541ab64890Smrg    
154551ab64890Smrg    (Volunteer needed to convert prototypes in man pages to ANSI C style...)
154561ab64890Smrg
154571ab64890Smrgcommit f640a49b5e2ebf29f9d655df544c63bf826f619a
154581ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
154591ab64890SmrgDate:   Fri Apr 20 18:39:59 2007 +0200
154601ab64890Smrg
154611ab64890Smrg    Markup tweak for XOpenIM.
154621ab64890Smrg
154631ab64890Smrgcommit e972b0bb255af4f3258217852542faf5afa60b28
154641ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org>
154651ab64890SmrgDate:   Fri Apr 20 18:35:09 2007 +0200
154661ab64890Smrg
154671ab64890Smrg    Bug #9695: Fixed a few argument types in the XOpenIM manpage.
154681ab64890Smrg
154691ab64890Smrgcommit b4e2276f329fa42397cb8609cfcd34ebafd3d96b
154701ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org>
154711ab64890SmrgDate:   Fri Apr 20 18:28:52 2007 +0200
154721ab64890Smrg
154731ab64890Smrg    Bug #9697: Fixed documentation of XVisualInfo struct.
154741ab64890Smrg    
154751ab64890Smrg    The "depth" member was said to be unsigned int, but it's signed.
154761ab64890Smrg
154771ab64890Smrgcommit 4068f3dae01c630f825002673b1d3a047ad61863
154781ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org>
154791ab64890SmrgDate:   Fri Apr 20 16:41:21 2007 +0200
154801ab64890Smrg
154811ab64890Smrg    Bug #9696: refer to XDefineCursor() instead of XDefineCusor().
154821ab64890Smrg
154831ab64890Smrgcommit 603c2f88d4e57ce1a3c16e8b6246866e6edd8fa8
154841ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
154851ab64890SmrgDate:   Sat Apr 7 14:42:55 2007 +0200
154861ab64890Smrg
154871ab64890Smrg    Use unistd.h to get getresuid() and friends.
154881ab64890Smrg    
154891ab64890Smrg    This works since we now have _GNU_SOURCE defined.
154901ab64890Smrg
154911ab64890Smrgcommit 0300f295bbd3a0c7c46baac8e0a27aeaf53c9d9b
154921ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
154931ab64890SmrgDate:   Sat Apr 7 14:27:12 2007 +0200
154941ab64890Smrg
154951ab64890Smrg    Bug #10562: Define _GNU_SOURCE on glibc systems.
154961ab64890Smrg
154971ab64890Smrgcommit a225a0be48770beb689d5ac5da97073634f7deab
154981ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
154991ab64890SmrgDate:   Fri Apr 6 12:46:25 2007 +0200
155001ab64890Smrg
155011ab64890Smrg    For nls/*.pre, allow people to comment lines by starting them with '##'.
155021ab64890Smrg    
155031ab64890Smrg    This fixes a bunch of cpp warnings from nls/en_US.UTF-8/Compose.pre.
155041ab64890Smrg    Fixing that file would have been a larger diff, and using ## may be
155051ab64890Smrg    nicer to use anyway.
155061ab64890Smrg
155071ab64890Smrgcommit 1c75a9479011e5f1ad01c950628d0ef5a302d8b6
155081ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
155091ab64890SmrgDate:   Fri Apr 6 11:59:31 2007 +0200
155101ab64890Smrg
155111ab64890Smrg    Bug #10475: Fixed lots of char*/const char* mixups.
155121ab64890Smrg    
155131ab64890Smrg    I didn't fix all of them, as that would require touching
155141ab64890Smrg    public headers.
155151ab64890Smrg
155161ab64890Smrgcommit 680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54
155171ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
155181ab64890SmrgDate:   Thu Apr 5 11:53:18 2007 +0200
155191ab64890Smrg
155201ab64890Smrg    Fix 64bit issues with reallocation.
155211ab64890Smrg
155221ab64890Smrgcommit 4d38aeaca42d0bdfe34a833a142ee4d895de03bf
155231ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
155241ab64890SmrgDate:   Wed Apr 4 18:41:18 2007 +0200
155251ab64890Smrg
155261ab64890Smrg    Fixed a few warnings.
155271ab64890Smrg
155281ab64890Smrgcommit 7dc7ef398b6ad90ccd1680ed9cd1cfdd47312f5a
155291ab64890SmrgAuthor: Matthieu Herrb <matthieu@roadrock.(none)>
155301ab64890SmrgDate:   Tue Apr 3 15:39:52 2007 +0200
155311ab64890Smrg
155321ab64890Smrg    Multiple integer overflows in the XGetPixel() and XInitImage functions
155331ab64890Smrg    
155341ab64890Smrg    CVE-2007-1667
155351ab64890Smrg
155361ab64890Smrgcommit 0284b144340a455a4b5b5011d81ac5a610372291
155371ab64890SmrgAuthor: David Baron <dbaron@dbaron.org>
155381ab64890SmrgDate:   Fri Mar 30 17:07:46 2007 +0200
155391ab64890Smrg
155401ab64890Smrg    Bug #7703: Fixed XSetSizeHints() et al wrt use of uninitialized data.
155411ab64890Smrg    
155421ab64890Smrg    Now only those fields of the respective hint struct are set that
155431ab64890Smrg    are actually valid in the input data.
155441ab64890Smrg    The changed functions are:
155451ab64890Smrg    XSetSizeHints(), XSetWMHints() and XSetWMSizeHints().
155461ab64890Smrg
155471ab64890Smrgcommit 0994faa0c76c45b106442db461b8a30a3e1c9395
155481ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
155491ab64890SmrgDate:   Thu Mar 29 17:31:25 2007 +0200
155501ab64890Smrg
155511ab64890Smrg    Fixed the change from the previous SendEvent commit.
155521ab64890Smrg    
155531ab64890Smrg    Testing a different patch than the one you commit is bad, right?
155541ab64890Smrg
155551ab64890Smrgcommit 398d75528a84f4b8414eb0e363cf53b1b16f6fdf
155561ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
155571ab64890SmrgDate:   Wed Mar 28 22:23:44 2007 +0200
155581ab64890Smrg
155591ab64890Smrg    Bug #10292: Fixed a memory leak related to XOpenDisplay() in the XCB code.
155601ab64890Smrg
155611ab64890Smrgcommit ab0bcd07957cecc8e7c0e75d5160a625e91264fe
155621ab64890SmrgAuthor: David Baron <dbaron@dbaron.org>
155631ab64890SmrgDate:   Wed Mar 28 22:21:40 2007 +0200
155641ab64890Smrg
155651ab64890Smrg    Bug #7713: Initialize all of the event's fields before sending it.
155661ab64890Smrg
155671ab64890Smrgcommit bc80f9fe3ccce40ee41246b97470c4f0519756ad
155681ab64890SmrgAuthor: Julien Cristau <jcristau@debian.org>
155691ab64890SmrgDate:   Sun Mar 18 13:14:48 2007 +0100
155701ab64890Smrg
155711ab64890Smrg    Bug #9279: Fixed a file descriptor leak.
155721ab64890Smrg
155731ab64890Smrgcommit c9e28e05ae01ce8a29bea09df759b6271865b44c
155741ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
155751ab64890SmrgDate:   Sat Dec 16 00:45:19 2006 +0200
155761ab64890Smrg
155771ab64890Smrg    include: don't distribute XlibConf.h
155781ab64890Smrg    
155791ab64890Smrg    Since XlibConf.h is built by configure, don't distribute it.
155801ab64890Smrg
155811ab64890Smrgcommit dd1705ced2cac6b4b6b21e79272fcf9bed4bf376
1558238ae11fcSmrgMerge: 129bbb9f 769b9854
155831ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net>
155841ab64890SmrgDate:   Thu Dec 14 14:23:20 2006 -0600
155851ab64890Smrg
155861ab64890Smrg    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/lib/libX11
155871ab64890Smrg
155881ab64890Smrgcommit 129bbb9f9114a571556fa3a24f15ba58a5cdb2de
155891ab64890SmrgAuthor: Jeremy C. Reed <reed@glacier.reedmedia.net>
155901ab64890SmrgDate:   Thu Dec 14 14:21:19 2006 -0600
155911ab64890Smrg
155921ab64890Smrg    For NetBSD, define the XTHREADLIB and XTHREAD_CFLAGS.
155931ab64890Smrg
155941ab64890Smrgcommit 769b9854f7eb1d6d20dd0b4a1c1215ad8e1b77b6
155951ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
155961ab64890SmrgDate:   Wed Dec 6 18:53:00 2006 +0200
155971ab64890Smrg
155981ab64890Smrg    Makefile.am: make ChangeLog hook safer
155991ab64890Smrg    
156001ab64890Smrg    Make ChangeLog hook as safe as possible.
156011ab64890Smrg    (cherry picked from f5d6a3d24095c7ffed86705995d0874c885e7676 commit)
156021ab64890Smrg
156031ab64890Smrgcommit 8a8185a649e93b90ffa820387ffdca831227f5a9
156041ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
156051ab64890SmrgDate:   Thu Nov 30 18:33:13 2006 -0800
156061ab64890Smrg
156071ab64890Smrg    Add autogen.sh to EXTRA_DIST.
156081ab64890Smrg
156091ab64890Smrgcommit efe817f95ef8d05e863c83147e903140bc860de4
156101ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
156111ab64890SmrgDate:   Thu Nov 30 17:58:35 2006 -0800
156121ab64890Smrg
156131ab64890Smrg    Release libX11 1.1.1.
156141ab64890Smrg
156151ab64890Smrgcommit f637a5b03164263a3af2e644cf655e52b015f1bb
156161ab64890SmrgAuthor: Ross Combs <rocombs@cs.nmsu.edu>
156171ab64890SmrgDate:   Sat Nov 25 14:45:17 2006 -0800
156181ab64890Smrg
156191ab64890Smrg    Debian bug #354315: Clarify return value in XGetWindowAttributes man page
156201ab64890Smrg    
156211ab64890Smrg    This man page does not discuss the actual return values of the
156221ab64890Smrg    function, but says they are of type "Status".  One might assume
156231ab64890Smrg    that this means you could compare it with the "Success" macro.
156241ab64890Smrg    One would be wrong.
156251ab64890Smrg    
156261ab64890Smrg    The X functions seem to have two three types representing status.
156271ab64890Smrg    If it is an "int" there are a number of error codes or "Success"
156281ab64890Smrg    which can be compared against.  If it is a bool, the result can be
156291ab64890Smrg    compared with "True" or "False".  If the return type is "Status" it
156301ab64890Smrg    appears that the return type is either 0 or 1.  Unfortunately the
156311ab64890Smrg    value for Success is zero, so it is important to distinguish
156321ab64890Smrg    between the first two types of return values and the third;
156331ab64890Smrg    otherwise the conditional will be inverted.
156341ab64890Smrg    
156351ab64890Smrg    XGetWindowAttributes() is one of the functions which returns zero
156361ab64890Smrg    for failure.  The man page should make this clear.
156371ab64890Smrg
156381ab64890Smrgcommit c6a0b0f18ed1242eeb908f5cf767ab8381edd456
156391ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
156401ab64890SmrgDate:   Sat Nov 25 14:23:45 2006 -0800
156411ab64890Smrg
156421ab64890Smrg    Bug #9154: Always process an event for _XReadEvents, even if an error occurs
156431ab64890Smrg    
156441ab64890Smrg    Previously, process_responses (in the wait_for_first_event case called
156451ab64890Smrg    from _XReadEvents) considered any return from xcb_wait_for_event
156461ab64890Smrg    sufficient to think it had processed an event. If xcb_wait_for_event
156471ab64890Smrg    returned an error, and no more events occurred before process_responses
156481ab64890Smrg    called xcb_poll_for_event, process_responses would try to return with
156491ab64890Smrg    dpy->head NULL, and would fail an assertion for the _XReadEvents
156501ab64890Smrg    postcondition. Now, process_responses continues using xcb_wait_for_event
156511ab64890Smrg    until it gets an event.
156521ab64890Smrg
156531ab64890Smrgcommit d56e78acce9b2aa1dd1bf172afedaa3bccd5e1c8
156541ab64890SmrgAuthor: Tilman Sauerbeck <tilman@code-monkey.de>
156551ab64890SmrgDate:   Sat Nov 25 05:29:31 2006 -0800
156561ab64890Smrg
156571ab64890Smrg    Bug #9153: Fix access to freed memory.
156581ab64890Smrg    
156591ab64890Smrg    The fix for bug #8622 introduced a smaller bug where _XReply would
156601ab64890Smrg    read memory shortly after freeing it. This patch caches the needed
156611ab64890Smrg    value in a stack-allocated variable before the heap-allocated memory
156621ab64890Smrg    is freed.
156631ab64890Smrg
156641ab64890Smrgcommit 934ca763bbc0dd7ae460469bfc000ba101602bcc
156651ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
156661ab64890SmrgDate:   Fri Nov 24 19:57:58 2006 -0800
156671ab64890Smrg
156681ab64890Smrg    libx11 doesn't use inputproto in public headers; don't require it in x11.pc
156691ab64890Smrg    
156701ab64890Smrg    Based on a Debian patch.
156711ab64890Smrg
156721ab64890Smrgcommit 4255997ef2d92740d51f6e63e9eabcfa089683f0
156731ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
156741ab64890SmrgDate:   Thu Nov 23 07:19:32 2006 -0800
156751ab64890Smrg
156761ab64890Smrg    Release libX11 1.1
156771ab64890Smrg
156781ab64890Smrgcommit a1168e11ec9377307c51a7271faec3bf88a63a66
156791ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
156801ab64890SmrgDate:   Tue Nov 21 17:52:34 2006 -0800
156811ab64890Smrg
156821ab64890Smrg    Add note in man-page that XListFontsWithInfo is not thread-safe.
156831ab64890Smrg    
156841ab64890Smrg    _XReply drops the Display lock, so the value of dpy->request may change
156851ab64890Smrg    before _XReply is called again.
156861ab64890Smrg    
156871ab64890Smrg    I discovered this by inspection a year or two ago. I'm pretty confident
156881ab64890Smrg    in the claim, and nobody has come up with an argument for why it's safe
156891ab64890Smrg    despite appearances.
156901ab64890Smrg
156911ab64890Smrgcommit 67abe024268c6b1fdee516e5d3a046ccffd7e80a
156921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
156931ab64890SmrgDate:   Sat Nov 18 15:39:26 2006 -0800
156941ab64890Smrg
156951ab64890Smrg    Bug #8622: Fix response processing order for threaded apps
156961ab64890Smrg    
156971ab64890Smrg    Previously, process_responses (the common code for _XReply,
156981ab64890Smrg    _XReadEvents, and _XEventsQueued) took the current request sequence
156991ab64890Smrg    number as an argument, and did some highly complicated processing to
157001ab64890Smrg    attempt to process responses in order across threads.  This didn't
157011ab64890Smrg    actually work.
157021ab64890Smrg    
157031ab64890Smrg    Now, process_responses handles responses in order, by adding condition
157041ab64890Smrg    variables to the list of outstanding requests in
157051ab64890Smrg    dpy->xcb->pending_requests, and blocking on them when those requests
157061ab64890Smrg    should get processed to allow _XReply to process them; if actually
157071ab64890Smrg    called from _XReply, it returns when _XReply's request should get
157081ab64890Smrg    processed.  _XReply broadcasts on the condition variable after it has
157091ab64890Smrg    read its reply and re-acquired the display lock.
157101ab64890Smrg    
157111ab64890Smrg    Another great commit brought to you by Jamey Sharp, Josh Triplett, the
157121ab64890Smrg    Gobby collaborative text editor, conspy, and ridiculous amounts of SSH
157131ab64890Smrg    forwarding.
157141ab64890Smrg    
157151ab64890Smrg    Signed-off-by: Josh Triplett <josh@freedesktop.org>
157161ab64890Smrg    Signed-off-by: Jamey Sharp <jamey@minilop.net>
157171ab64890Smrg
157181ab64890Smrgcommit 941f02ede63baa46f93ed8abccebe76fb29c0789
157191ab64890SmrgAuthor: Lars Knoll <lars@trolltech.com>
157201ab64890SmrgDate:   Wed Nov 8 12:17:41 2006 -0800
157211ab64890Smrg
157221ab64890Smrg    Don't hold the display lock around callbacks to the application.
157231ab64890Smrg    
157241ab64890Smrg    This fixes an XCB locking assertion failure, particularly with emacs.
157251ab64890Smrg
157261ab64890Smrgcommit e494ecaac1ec8a22bd9a85f800fca74d02e9d358
15727e9628295SmrgAuthor: Diego 'Flameeyes' Pettenò  <flameeyes@gentoo.org>
157281ab64890SmrgDate:   Tue Nov 7 09:32:00 2006 -0800
157291ab64890Smrg
157301ab64890Smrg    Add xcb-xlib dependency to x11.pc when built against XCB.
157311ab64890Smrg
157321ab64890Smrgcommit 2302008a3793eb4df8ede777d54fe06505c47eaf
157331ab64890SmrgAuthor: Eric Anholt <eric@anholt.net>
157341ab64890SmrgDate:   Mon Nov 6 17:11:42 2006 -0800
157351ab64890Smrg
157361ab64890Smrg    XCB: Allocate the right amount of memory for dpy->lock_fns.
157371ab64890Smrg    
157381ab64890Smrg    Fixes a crash I was experiencing on startup of anything using gdk.
157391ab64890Smrg
157401ab64890Smrgcommit 5f860655be88108b03ccd97470a0814819254bf0
157411ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
157421ab64890SmrgDate:   Thu Nov 2 17:55:31 2006 -0800
157431ab64890Smrg
157441ab64890Smrg    Release libX11 1.1 RC2 (1.0.99.2).
157451ab64890Smrg
157461ab64890Smrgcommit a6f4bbf7b1d725b0f04bd660f57b861a76b19831
157471ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
157481ab64890SmrgDate:   Sun Oct 29 03:10:30 2006 +0300
157491ab64890Smrg
157501ab64890Smrg    nls (en_US): remove long compositions that override shorter (bug #2286)
157511ab64890Smrg    Remove long compositions that override (or get overriden by) later shorter
157521ab64890Smrg    compositions, e.g. a four-key compose sequence that gets overriden by a
157531ab64890Smrg    later three-key compose sequence.
157541ab64890Smrg
157551ab64890Smrgcommit 0280bf11ef88673a9b5bba3a91a599260f1f0949
157561ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
157571ab64890SmrgDate:   Sun Oct 29 03:08:36 2006 +0300
157581ab64890Smrg
157591ab64890Smrg    nls: remove shadowed compose entries (bug #2286)
157601ab64890Smrg    Remove compose entries shadowed by others later on.
157611ab64890Smrg
157621ab64890Smrgcommit d118f2b1ef10997194b281524177dea7396da7dd
157631ab64890SmrgAuthor: Benno Schulenberg <bensberg@justemail.net>
157641ab64890SmrgDate:   Sun Oct 29 03:07:15 2006 +0300
157651ab64890Smrg
157661ab64890Smrg    nls: remove duplicate compose entries (bug #2286)
157671ab64890Smrg    Remove a bunch of duplicate entries from various Compose files.
157681ab64890Smrg
157691ab64890Smrgcommit 5e1cc2fe20e5904ca1e05a4cb7be13d450a593bb
157701ab64890SmrgAuthor: Caolan McNamara <caolanm@redhat.com>
157711ab64890SmrgDate:   Sun Oct 29 02:46:15 2006 +0300
157721ab64890Smrg
157731ab64890Smrg    XKB geometry: fix leaks in GetKeyboardByName (bug #8099)
157741ab64890Smrg    Don't leak the name and value of every property we parse, as well as the
157751ab64890Smrg    name of every colour.
157761ab64890Smrg
157771ab64890Smrgcommit 686bb8b35acf6cecae80fe89b2b5853f5816ce19
157781ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
157791ab64890SmrgDate:   Wed Oct 18 14:25:04 2006 +0200
157801ab64890Smrg
157811ab64890Smrg    Fix double open of compose file.
157821ab64890Smrg    
157831ab64890Smrg    Issue found by Kees Cook <kees@canonical.com>.
157841ab64890Smrg
157851ab64890Smrgcommit d3e65cb8cddf08913d83c9df2bb9b1517f2ad3a8
157861ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
157871ab64890SmrgDate:   Sat Oct 14 21:25:10 2006 -0700
157881ab64890Smrg
157891ab64890Smrg    XCB: check for and handle I/O errors in _XGetXCBBuffer.
157901ab64890Smrg
157911ab64890Smrgcommit 256eba6b40c5f811a03b04abf5f85f728ee3ab5d
157921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
157931ab64890SmrgDate:   Wed Oct 11 00:06:50 2006 -0700
157941ab64890Smrg
157951ab64890Smrg    XKB bugfix: SyncHandle must be called after UnlockDisplay, not before.
157961ab64890Smrg
157971ab64890Smrgcommit 1eedf1bd033e496843cfde42ae4ae5a119298605
157981ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
157991ab64890SmrgDate:   Tue Oct 10 23:03:28 2006 -0700
158001ab64890Smrg
158011ab64890Smrg    Add correct Display locking to XKB functions.
158021ab64890Smrg    
158031ab64890Smrg    Some XKB functions didn't correctly call LockDisplay or UnlockDisplay.
158041ab64890Smrg    This patch fixes at least some instances of that problem.
158051ab64890Smrg    
158061ab64890Smrg    Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs
158071ab64890Smrg    and proposing a fix, which this patch is based on.
158081ab64890Smrg
158091ab64890Smrgcommit e17c2cbe9fbaa1600d4b9463ec800a874b0d87cd
158101ab64890SmrgAuthor: David Nusinow <dnusinow@debian.org>
158111ab64890SmrgDate:   Tue Oct 10 22:11:05 2006 -0400
158121ab64890Smrg
158131ab64890Smrg    Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11
158141ab64890Smrg
158151ab64890Smrgcommit e53557da969b706dbc843f6fde3db31ffe382e0f
158161ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
158171ab64890SmrgDate:   Sat Oct 7 21:00:36 2006 -0700
158181ab64890Smrg
158191ab64890Smrg    Release libX11 1.1 RC1 (1.0.99.1).
158201ab64890Smrg
158211ab64890Smrgcommit bf237409c5fce32c557d298f62f44d456c2b5bc8
1582238ae11fcSmrgMerge: ba477191 2d426d1f
158231ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
158241ab64890SmrgDate:   Sat Oct 7 21:07:16 2006 -0700
158251ab64890Smrg
158261ab64890Smrg    As XCB support is about to be released in libX11, stable is now subsumed by master.
158271ab64890Smrg
158281ab64890Smrgcommit ba477191c67ce93e61423cc1abe35275704cce50
158291ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
158301ab64890SmrgDate:   Sat Oct 7 03:48:13 2006 -0700
158311ab64890Smrg
158321ab64890Smrg    XCB: Don't rely on having the definition of struct xcb_setup_t available.
158331ab64890Smrg
158341ab64890Smrgcommit 117b55cbd0b0ce51362df88363ed83d44a493ac7
158351ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
158361ab64890SmrgDate:   Fri Oct 6 16:27:31 2006 -0700
158371ab64890Smrg
158381ab64890Smrg    xcb_poll_for_event no longer takes an 'int *error' out-parameter.
158391ab64890Smrg
158401ab64890Smrgcommit caaa8e8a55e837b3585c1dee7bef194fc4c79d16
158411ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158421ab64890SmrgDate:   Fri Oct 6 16:26:11 2006 -0700
158431ab64890Smrg
158441ab64890Smrg    Actually ship Xxcbint.h
158451ab64890Smrg
158461ab64890Smrgcommit 7b027e53b5e393082f4f515c8ba18077eb97163f
158471ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158481ab64890SmrgDate:   Fri Oct 6 16:25:50 2006 -0700
158491ab64890Smrg
158501ab64890Smrg    Clean ChangeLog only in "make maintainer-clean", not "make clean"
158511ab64890Smrg    
158521ab64890Smrg    ChangeLog requires a git repo to generate; make clean and make distclean
158531ab64890Smrg    shouldn't get rid of it.
158541ab64890Smrg
158551ab64890Smrgcommit cab22e02e78b3e5b8a73d1cd55cf6686426b47e0
158561ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158571ab64890SmrgDate:   Fri Oct 6 16:24:58 2006 -0700
158581ab64890Smrg
158591ab64890Smrg    Add ChangeLog and "make dist"-generated files to .gitignore
158601ab64890Smrg
158611ab64890Smrgcommit e4c7cfdee4a40e466c0c6b370cabd432e9e855a0
158621ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158631ab64890SmrgDate:   Fri Oct 6 15:53:27 2006 -0700
158641ab64890Smrg
158651ab64890Smrg    Add manual pages for XGetXCBConnection and XSetEventQueueOwner
158661ab64890Smrg
158671ab64890Smrgcommit 688224cea95e453f94c5a602dc6fce84bc93dfc0
158681ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158691ab64890SmrgDate:   Fri Oct 6 13:41:16 2006 -0700
158701ab64890Smrg
158711ab64890Smrg    Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c
158721ab64890Smrg
158731ab64890Smrgcommit ab728ca372288d0db1b486c265e34c1376f29104
158741ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158751ab64890SmrgDate:   Fri Oct 6 12:36:39 2006 -0700
158761ab64890Smrg
158771ab64890Smrg    XCL is dead; long live Xlib/XCB
158781ab64890Smrg    
158791ab64890Smrg    Rename all instances of "XCL" to Xlib/XCB-derived names.
158801ab64890Smrg    
158811ab64890Smrg    The only user-visible change: rename the include file <X11/xcl.h> to
158821ab64890Smrg    <X11/Xlib-xcb.h>; programs will need to change their #include lines to match.
158831ab64890Smrg    
158841ab64890Smrg    Remove the XCL cast inlines from Xlib-xcb.h.
158851ab64890Smrg
158861ab64890Smrgcommit 5b73093203039d307eb7ab3845c3ced207e9e26c
158871ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158881ab64890SmrgDate:   Fri Oct 6 11:33:49 2006 -0700
158891ab64890Smrg
158901ab64890Smrg    Add XCB developers to AUTHORS
158911ab64890Smrg
158921ab64890Smrgcommit 1cb71ff139276a0a58c60ea5f261f64b94706b9b
158931ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
158941ab64890SmrgDate:   Fri Oct 6 11:21:28 2006 -0700
158951ab64890Smrg
158961ab64890Smrg    Fix email addresses in README
158971ab64890Smrg
158981ab64890Smrgcommit 12f038669278019594ca0ed53dadcf4e84092422
158991ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
159001ab64890SmrgDate:   Fri Oct 6 02:13:05 2006 -0700
159011ab64890Smrg
159021ab64890Smrg    XCB: Handle all responses in order of monotonically increasing sequence number.
159031ab64890Smrg
159041ab64890Smrgcommit f392680273278b43079302206897f794e60f3c70
159051ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
159061ab64890SmrgDate:   Fri Oct 6 01:11:08 2006 -0700
159071ab64890Smrg
159081ab64890Smrg    Actually install x11-xcb.pc, and ship x11-xcb.pc.in
159091ab64890Smrg
159101ab64890Smrgcommit f1fcad2e3fd17aaf1294f1d8e9f406fd5b32a863
159111ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
159121ab64890SmrgDate:   Thu Oct 5 18:32:29 2006 -0700
159131ab64890Smrg
159141ab64890Smrg    XCB: correctly handle failure to connect to X server.
159151ab64890Smrg
159161ab64890Smrgcommit e754b3b078d556c7861da56aad47d244e9199e06
159171ab64890SmrgAuthor: Josh Triplett <josh@freedesktop.org>
159181ab64890SmrgDate:   Thu Oct 5 17:44:22 2006 -0700
159191ab64890Smrg
159201ab64890Smrg    Split public Xlib/XCB functions into libX11-xcb
159211ab64890Smrg    
159221ab64890Smrg    We can never change the libX11 soname, and we don't want to commit to never
159231ab64890Smrg    changing the public Xlib/XCB functions, so split them into a separate library
159241ab64890Smrg    libX11-xcb.  This also means that a program linked solely against libX11
159251ab64890Smrg    should work with either Xlib or Xlib/XCB, which will make life easier for
159261ab64890Smrg    package maintainers.
159271ab64890Smrg    
159281ab64890Smrg    Signed-off-by: Josh Triplett <josh@freedesktop.org>
159291ab64890Smrg    Acked-by: Jamey Sharp <jamey@minilop.net>
159301ab64890Smrg
159311ab64890Smrgcommit ffd367f708b295abaedf3a23a1bfd4710d171d6f
159321ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
159331ab64890SmrgDate:   Wed Oct 4 17:16:46 2006 -0700
159341ab64890Smrg
159351ab64890Smrg    No longer #include Xmd from xcl.h: we do not need it.
159361ab64890Smrg
159371ab64890Smrgcommit 3aff149d42ba8ed620091971b3766bdf96c62aaf
159381ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
159391ab64890SmrgDate:   Wed Oct 4 16:58:32 2006 -0700
159401ab64890Smrg
159411ab64890Smrg    XCB: Revert locking to simple wrapper around libX11's normal locks.
159421ab64890Smrg    
159431ab64890Smrg    No more recursive mutexes, no more banging XCB's I/O lock in-place, and
159441ab64890Smrg    reduces the differences between the previous stable release and an
159451ab64890Smrg    XCB-enabled one. Sadly, Xlib's pluggable thread functions work again
159461ab64890Smrg    too, now. I apologize to the world.
159471ab64890Smrg
159481ab64890Smrgcommit 8ff122fb529bdb1c2b9a86b12d06b6da1b35d708
159491ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
159501ab64890SmrgDate:   Mon Sep 25 04:54:52 2006 -0700
159511ab64890Smrg
159521ab64890Smrg    Link explicitly against XCB's Xlib compatibility functions.
159531ab64890Smrg
159541ab64890Smrgcommit bde3cd123d65a2f36ee0c417f5f231b7e01d0671
159551ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
159561ab64890SmrgDate:   Mon Sep 25 04:13:20 2006 -0700
159571ab64890Smrg
159581ab64890Smrg    libxcb now installs header files in <xcb>, not <X11/XCB>.
159591ab64890Smrg
159601ab64890Smrgcommit 87d00207f5a1f25a45a153618739cd6481814f89
159611ab64890SmrgAuthor: Ian Osgood <iano@quirkster.com>
159621ab64890SmrgDate:   Sun Sep 24 23:39:01 2006 -0700
159631ab64890Smrg
159641ab64890Smrg    Track XCB's "Great Renaming".
159651ab64890Smrg
159661ab64890Smrgcommit 85a5e98dff9b7752fae157fad9b8c9825cb0efab
159671ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
159681ab64890SmrgDate:   Tue Sep 12 23:02:42 2006 -0700
159691ab64890Smrg
159701ab64890Smrg    Quit using XCBGetQueuedRequestRead.
159711ab64890Smrg
159721ab64890Smrgcommit a61936fc4e9bd93b108764bbacd5b8f786e51915
159731ab64890SmrgAuthor: Tollef Fog Heen <tfheen@err.no>
159741ab64890SmrgDate:   Wed Aug 30 00:05:54 2006 +0300
159751ab64890Smrg
159761ab64890Smrg    nls: use _XlcUtf8Loader for en_US (bug #7982)
159771ab64890Smrg    Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with
159781ab64890Smrg    every other locale.
159791ab64890Smrg
159801ab64890Smrgcommit abcc7e1865cdfbd591f6520cfe4257f0b0b1c03e
159811ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
159821ab64890SmrgDate:   Wed Aug 23 18:49:30 2006 -0700
159831ab64890Smrg
159841ab64890Smrg    When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN
159851ab64890Smrg    
159861ab64890Smrg    Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to
159871ab64890Smrg    connect on a named pipe, try a Unix socket first, to better support people who
159881ab64890Smrg    replace their X servers with ones that don't support named pipe transport.
159891ab64890Smrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225>
159901ab64890Smrg
159911ab64890Smrgcommit 1ddc44c1cada7e926bd4787406444ce7c36b61e1
159921ab64890SmrgAuthor: Mark Brown <mark.brown@sun.com>
159931ab64890SmrgDate:   Thu Jul 27 19:17:10 2006 -0700
159941ab64890Smrg
159951ab64890Smrg    Sun bug 1149809: Document event delivery when grab is terminated.
159961ab64890Smrg
159971ab64890Smrgcommit 171107b03ac89d94f9006c7cda242aeefb9ecd16
159981ab64890SmrgAuthor: Dennis Arellano <Dennis.Arellano@Sun.COM>
159991ab64890SmrgDate:   Thu Jul 27 18:47:06 2006 -0700
160001ab64890Smrg
160011ab64890Smrg    Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description
160021ab64890Smrg    
160031ab64890Smrg    Document that 32-bit format properties are always returned in arrays of type
160041ab64890Smrg    long, even on systems where long is 64-bits.
160051ab64890Smrg    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271>
160061ab64890Smrg
160071ab64890Smrgcommit 8309efe6550877cd0bf22979904b3f6bd3e6cffa
160081ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
160091ab64890SmrgDate:   Mon Jul 24 15:52:00 2006 -0700
160101ab64890Smrg
160111ab64890Smrg    Add support for "make lint" to check code with lint/sparse/etc.
160121ab64890Smrg
160131ab64890Smrgcommit 931e02fbd1acd09aae2b0954c34342c86c72dff6
160141ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
160151ab64890SmrgDate:   Mon Jul 24 15:50:52 2006 -0700
160161ab64890Smrg
160171ab64890Smrg    ANSIfy some static function definitions
160181ab64890Smrg
160191ab64890Smrgcommit 20b7abcaac324d90454de63f32f4a2b398e69e63
160201ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
160211ab64890SmrgDate:   Mon Jul 24 15:01:40 2006 -0700
160221ab64890Smrg
160231ab64890Smrg    Fix sparse warning: Using plain integer as NULL pointer
160241ab64890Smrg
160251ab64890Smrgcommit d158ab29930513c4097f5b67e7bea08ed2bfd62c
160261ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
160271ab64890SmrgDate:   Mon Jul 24 14:00:24 2006 -0700
160281ab64890Smrg
160291ab64890Smrg    Remove unused variable
160301ab64890Smrg
160311ab64890Smrgcommit 30377000375bdb958042dcb1f38503c94ef21eaf
160321ab64890SmrgAuthor: Eric Anholt <anholt@FreeBSD.org>
160331ab64890SmrgDate:   Fri Jul 21 18:55:36 2006 -0400
160341ab64890Smrg
160351ab64890Smrg    Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint).
160361ab64890Smrg
160371ab64890Smrgcommit 4eba45879aea4e415ab550ee56b900d060099110
160381ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
160391ab64890SmrgDate:   Sun Jul 16 10:55:39 2006 +0200
160401ab64890Smrg
160411ab64890Smrg    set GIT_DIR=${srcdir}/.git for git-log
160421ab64890Smrg
160431ab64890Smrgcommit 2d426d1f2608fedb77bd7d010dabece76b8d4a60
160441ab64890SmrgAuthor: Aaron Plattner <aplattner@nvidia.com>
160451ab64890SmrgDate:   Tue Jul 11 13:27:49 2006 -0700
160461ab64890Smrg
160471ab64890Smrg    Add a .PHONY to ensure the ChangeLog isn't stale.
160481ab64890Smrg    
160491ab64890Smrg    Setting the ChangeLog rule as phony forces it to be re-run even when the
160501ab64890Smrg    ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
160511ab64890Smrg    Solaris make.
160521ab64890Smrg    (cherry picked from b8a98809ed81e1226775e6447ef219ffc01334b5 commit)
160531ab64890Smrg
160541ab64890Smrgcommit b8a98809ed81e1226775e6447ef219ffc01334b5
160551ab64890SmrgAuthor: Aaron Plattner <aplattner@nvidia.com>
160561ab64890SmrgDate:   Tue Jul 11 13:27:49 2006 -0700
160571ab64890Smrg
160581ab64890Smrg    Add a .PHONY to ensure the ChangeLog isn't stale.
160591ab64890Smrg    
160601ab64890Smrg    Setting the ChangeLog rule as phony forces it to be re-run even when the
160611ab64890Smrg    ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
160621ab64890Smrg    Solaris make.
160631ab64890Smrg
160641ab64890Smrgcommit 8f2be66089b88e4ed6acb0211ea107f4bb910bd3
160651ab64890SmrgAuthor: Mayank Jain <majain@redhat.com>
160661ab64890SmrgDate:   Tue Jul 11 19:42:47 2006 +0100
160671ab64890Smrg
160681ab64890Smrg    add Indian language locales
160691ab64890Smrg    Add as, kn, ml, or, ur, and te locales.
160701ab64890Smrg
160711ab64890Smrgcommit a92eb6785699bbc9c6c3813f6af3bb9431a3f6b0
160721ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
160731ab64890SmrgDate:   Tue Jul 4 12:16:30 2006 +0200
160741ab64890Smrg
160751ab64890Smrg    Fix for autoconf 2.60 issue.
160761ab64890Smrg    
160771ab64890Smrg    Updated AC_DEFINE_DIR.
160781ab64890Smrg    Reverted datarootdir change.
160791ab64890Smrg
160801ab64890Smrgcommit 644f4828b15bce42b597eb123ba0bbc372c46c03
160811ab64890SmrgAuthor: Keith Packard <keithp@neko.keithp.com>
160821ab64890SmrgDate:   Sat Jul 1 21:31:23 2006 -0700
160831ab64890Smrg
160841ab64890Smrg    Work around recent autoconf (2.59?) changes in directory expansion.
160851ab64890Smrg    
160861ab64890Smrg    Recent autoconf versions have changed how directory names are managed in the
160871ab64890Smrg    configure.ac script; automatic 'eval' invocations now occur as a part of the
160881ab64890Smrg    AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed
160891ab64890Smrg    before the variables are used in further macro definitions. Also, ${datadir}
160901ab64890Smrg    is apparantly an old name for ${datarootdir} as ${datadir} doesn't get
160911ab64890Smrg    expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it
160921ab64890Smrg    is easy to work around by just using ${datarootdir} instead of ${datadir}.
160931ab64890Smrg
160941ab64890Smrgcommit be70a31229aa106aff0a09d78c00812682cd3475
160951ab64890SmrgAuthor: Keith Packard <keithp@neko.keithp.com>
160961ab64890SmrgDate:   Sat Jul 1 01:56:05 2006 -0700
160971ab64890Smrg
160981ab64890Smrg    Xlib/XCB: handle 32-bit sequence wrap.
160991ab64890Smrg    
161001ab64890Smrg    Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from
161011ab64890Smrg    XCB).
161021ab64890Smrg    Account for XCB sequence 0 handling.
161031ab64890Smrg
161041ab64890Smrgcommit 99c711707ad08e1396e123b1c7df687c560a489a
161051ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org>
161061ab64890SmrgDate:   Thu Jun 29 19:43:20 2006 -0700
161071ab64890Smrg
161081ab64890Smrg    Bump version to 1.0.3.
161091ab64890Smrg
161101ab64890Smrgcommit cde3c0dd72af2b490e80cffca962e3487dd31be4
161111ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org>
161121ab64890SmrgDate:   Thu Jun 29 19:39:36 2006 -0700
161131ab64890Smrg
161141ab64890Smrg    Bug #7349: Missed one of the setuid fixes.
161151ab64890Smrg    (cherry picked from e9614c963b532f46a7932c2305a4b177a996a222 commit)
161161ab64890Smrg
161171ab64890Smrgcommit df3fef8983d96c59d481c4cdaf1f271d54a116d2
161181ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
161191ab64890SmrgDate:   Thu Jun 29 18:59:57 2006 +0200
161201ab64890Smrg
161211ab64890Smrg    Update to final Compose cache directory location.
161221ab64890Smrg    (cherry picked from abda4d223e9cce9ac6e7b5d82a5680d9a502e52a commit)
161231ab64890Smrg
161241ab64890Smrgcommit 912ef198292d3053daa810f842510e5d62ded0f0
161251ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
161261ab64890SmrgDate:   Thu Jun 29 17:41:41 2006 +0200
161271ab64890Smrg
161281ab64890Smrg    Fix alignment of trees and wide chars in the cache.
161291ab64890Smrg    (cherry picked from 40a64c61f8bc33d497e1224e02c41dea2d424d97 commit)
161301ab64890Smrg
161311ab64890Smrgcommit 2ece832118b3ee5d8ed19f1ee9b1c822b70ec6e9
161321ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
161331ab64890SmrgDate:   Wed Jun 28 19:17:03 2006 +0200
161341ab64890Smrg
161351ab64890Smrg    First (dummy) entry of compose caches was not initialized and thus contained varying garbage.
161361ab64890Smrg    (cherry picked from f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3 commit)
161371ab64890Smrg
161381ab64890Smrgcommit e9614c963b532f46a7932c2305a4b177a996a222
161391ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org>
161401ab64890SmrgDate:   Thu Jun 29 19:39:36 2006 -0700
161411ab64890Smrg
161421ab64890Smrg    Bug #7349: Missed one of the setuid fixes.
161431ab64890Smrg
161441ab64890Smrgcommit abda4d223e9cce9ac6e7b5d82a5680d9a502e52a
161451ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
161461ab64890SmrgDate:   Thu Jun 29 18:59:57 2006 +0200
161471ab64890Smrg
161481ab64890Smrg    Update to final Compose cache directory location.
161491ab64890Smrg
161501ab64890Smrgcommit 40a64c61f8bc33d497e1224e02c41dea2d424d97
161511ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
161521ab64890SmrgDate:   Thu Jun 29 17:41:41 2006 +0200
161531ab64890Smrg
161541ab64890Smrg    Fix alignment of trees and wide chars in the cache.
161551ab64890Smrg
161561ab64890Smrgcommit f442dcaa56f8ecb7443e8e51c88ed97e10dbdba3
161571ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
161581ab64890SmrgDate:   Wed Jun 28 19:17:03 2006 +0200
161591ab64890Smrg
161601ab64890Smrg    First (dummy) entry of compose caches was not initialized and thus contained varying garbage.
161611ab64890Smrg
161621ab64890Smrgcommit bdbe464d774e01d317f67c63ebbda2fd0edbbdd1
161631ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org>
161641ab64890SmrgDate:   Thu Jun 22 23:59:03 2006 -0700
161651ab64890Smrg
161661ab64890Smrg    Delete ChangeLog, and add a rule to autogenerate it for distribution. Also
161671ab64890Smrg    add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a
161681ab64890Smrg    ChangeLog.
161691ab64890Smrg    (cherry picked from b0edfb8df16ab8c9959b83a4c966d55a59c4e295 commit)
161701ab64890Smrg
161711ab64890Smrgcommit b0edfb8df16ab8c9959b83a4c966d55a59c4e295
161721ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)>
161731ab64890SmrgDate:   Thu Jun 22 23:47:38 2006 -0700
161741ab64890Smrg
161751ab64890Smrg    Delete ChangeLog, and add a rule to autogenerate it for distribution. Also
161761ab64890Smrg    add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a
161771ab64890Smrg    ChangeLog.
161781ab64890Smrg
161791ab64890Smrgcommit dd54981aa76e9dfdc4c3302d6105b4b229447c84
161801ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)>
161811ab64890SmrgDate:   Thu Jun 22 15:47:38 2006 -0700
161821ab64890Smrg
161831ab64890Smrg    Bump version to 1.0.2.
161841ab64890Smrg
161851ab64890Smrgcommit c93539d974a67f596a5eb5b65042d26602546c72
161861ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com>
161871ab64890SmrgDate:   Tue Jun 20 21:04:03 2006 +0200
161881ab64890Smrg
161891ab64890Smrg    Check setuid() return value.
161901ab64890Smrg    (cherry picked from 5169d0e08ff6acb350a6ea768623f5ff0b85b05f commit)
161911ab64890Smrg
161921ab64890Smrgcommit 605533f814ab7892991578706a6458f61a89ca4d
161931ab64890SmrgAuthor: Derek Wang <derek.wang@sun.com>
161941ab64890SmrgDate:   Mon Jun 19 11:05:37 2006 -0700
161951ab64890Smrg
161961ab64890Smrg    Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded
161971ab64890Smrg    (cherry picked from eff50c94a07194297e705da53d9fbb3a40fb9ad4 commit)
161981ab64890Smrg
161991ab64890Smrgcommit 5bbd0822c5a926de0ed293437fb9f2b75cf3c4f4
162001ab64890SmrgAuthor: Scott Revelt <scott.revelt@sun.com>
162011ab64890SmrgDate:   Fri Jun 16 19:11:13 2006 -0700
162021ab64890Smrg
162031ab64890Smrg    Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators
162041ab64890Smrg    based on locale that doesn't match those used in the Xcms.txt
162051ab64890Smrg    (cherry picked from 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa commit)
162061ab64890Smrg
162071ab64890Smrgcommit 0b05cd4da6134df527fb010384a9fd569bd5d6a3
162081ab64890SmrgAuthor: Alan Coopersmith <alanc@alf.(none)>
162091ab64890SmrgDate:   Fri Jun 16 18:53:33 2006 -0700
162101ab64890Smrg
162111ab64890Smrg    Add *~ to ignore emacs droppings
162121ab64890Smrg    (cherry picked from c33d7b8282ac196b36229be26442296768c16f3e commit)
162131ab64890Smrg
162141ab64890Smrgcommit 214658b76b56768f69c3959a11525aae7813f448
162151ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
162161ab64890SmrgDate:   Fri Jun 16 15:36:40 2006 +0200
162171ab64890Smrg
162181ab64890Smrg    Bug #3104: Compose table cache for faster X11 application starts.
162191ab64890Smrg    (cherry picked from 1f4c9893ade08bad30c9bd12a36bee57d30b001e commit)
162201ab64890Smrg
162211ab64890Smrgcommit 13968a23aaea838ba4b69e42e8900f803499e091
162221ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
162231ab64890SmrgDate:   Tue Jun 13 20:23:46 2006 +0200
162241ab64890Smrg
162251ab64890Smrg    Bug #3104: Compose table cache for faster X11 application starts.
162261ab64890Smrg    (cherry picked from 4fe22647e6010a2886c2f3a7093adeaeb6678faa commit)
162271ab64890Smrg
162281ab64890Smrgcommit e7f8bca08f5476d0ca262097639ac7d424bb4d10
162291ab64890SmrgAuthor: Lubos Lunak <llunak@suse.de>
162301ab64890SmrgDate:   Mon Jun 12 18:48:08 2006 +0200
162311ab64890Smrg
162321ab64890Smrg    Bug #3104: Compose table cache for faster X11 application starts.
162331ab64890Smrg    (cherry picked from 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be commit)
162341ab64890Smrg
162351ab64890Smrgcommit f506aaf8ac9aae1ee8daaef6cde34ee85aecd641
162361ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
162371ab64890SmrgDate:   Fri Jun 9 18:24:02 2006 +0200
162381ab64890Smrg
162391ab64890Smrg    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.
162401ab64890Smrg    (cherry picked from 9354351fcb8baeaab85250d14409cfb4fa50f3e9 commit)
162411ab64890Smrg
162421ab64890Smrgcommit 0e6d5e979aacb0c295ce79369ecc5f22ffa7922c
162431ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
162441ab64890SmrgDate:   Wed Jun 7 20:29:05 2006 -0700
162451ab64890Smrg
162461ab64890Smrg    Fix bug #7035: unnecessary memmove in XOpenDisplay.
162471ab64890Smrg    Using memmove on the connection setup data causes a problem for XCB, but making
162481ab64890Smrg    Xlib stop doing that should be harmless for non-XCB as well.
162491ab64890Smrg    (cherry picked from b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0 commit)
162501ab64890Smrg
162511ab64890Smrgcommit cd7328c46ae72903ed02832828891b2dab4d5ee0
162521ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
162531ab64890SmrgDate:   Sat Jun 3 13:51:51 2006 +0300
162541ab64890Smrg
162551ab64890Smrg    Fix threading support on GNU/kFreeBSD systems.  (Robert Millan)
162561ab64890Smrg    (cherry picked from e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb commit)
162571ab64890Smrg
162581ab64890Smrgcommit c336eb6b80a6f91da1d0b3d28634a2cfde324670
1625938ae11fcSmrgMerge: 33556ca8 ad9ebbd2
162601ab64890SmrgAuthor: Donnie Berkholz <donnie@comet.(none)>
162611ab64890SmrgDate:   Thu Jun 22 14:25:35 2006 -0700
162621ab64890Smrg
162631ab64890Smrg    Merge branch 'stable' of http://people.freedesktop.org/~jamey/libX11 into stable
162641ab64890Smrg
162651ab64890Smrgcommit 213dacad21740466e7ab31b01d3fc513fe4b3e74
162661ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
162671ab64890SmrgDate:   Thu Jun 22 17:20:59 2006 +0300
162681ab64890Smrg
162691ab64890Smrg    Bump to 1.0.99.0 to avoid confusion.
162701ab64890Smrg
162711ab64890Smrgcommit efedfd68e31bcee2d21ac340be8dc9e1825ec890
1627238ae11fcSmrgMerge: e3acee88 4b8eb5d4
162731ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
162741ab64890SmrgDate:   Thu Jun 22 16:53:45 2006 +0300
162751ab64890Smrg
162761ab64890Smrg    Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11
162771ab64890Smrg
162781ab64890Smrgcommit 4b8eb5d4a1da73a94b5a6ab12e34784aae4c79c5
1627938ae11fcSmrgMerge: 5169d0e0 eff50c94
162801ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com>
162811ab64890SmrgDate:   Tue Jun 20 21:05:15 2006 +0200
162821ab64890Smrg
162831ab64890Smrg    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11
162841ab64890Smrg
162851ab64890Smrgcommit 5169d0e08ff6acb350a6ea768623f5ff0b85b05f
162861ab64890SmrgAuthor: Matthieu Herrb <matthieu@deville.herrb.com>
162871ab64890SmrgDate:   Tue Jun 20 21:04:03 2006 +0200
162881ab64890Smrg
162891ab64890Smrg    Check setuid() return value.
162901ab64890Smrg
162911ab64890Smrgcommit eff50c94a07194297e705da53d9fbb3a40fb9ad4
162921ab64890SmrgAuthor: Derek Wang <derek.wang@sun.com>
162931ab64890SmrgDate:   Mon Jun 19 11:05:37 2006 -0700
162941ab64890Smrg
162951ab64890Smrg    Sun bug 6209243: XExtentsOfFontSet causes segfault when font set not loaded
162961ab64890Smrg
162971ab64890Smrgcommit 94f3213fc4bd6ec49bfb68e8b4a4fddea2bf3baa
162981ab64890SmrgAuthor: Scott Revelt <scott.revelt@sun.com>
162991ab64890SmrgDate:   Fri Jun 16 19:11:13 2006 -0700
163001ab64890Smrg
163011ab64890Smrg    Sun bug 4022903: Xcms routines may fail if sscanf() is looking for separators
163021ab64890Smrg    based on locale that doesn't match those used in the Xcms.txt
163031ab64890Smrg
163041ab64890Smrgcommit c33d7b8282ac196b36229be26442296768c16f3e
163051ab64890SmrgAuthor: Alan Coopersmith <alanc@alf.(none)>
163061ab64890SmrgDate:   Fri Jun 16 18:53:33 2006 -0700
163071ab64890Smrg
163081ab64890Smrg    Add *~ to ignore emacs droppings
163091ab64890Smrg
163101ab64890Smrgcommit 1f4c9893ade08bad30c9bd12a36bee57d30b001e
163111ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
163121ab64890SmrgDate:   Fri Jun 16 15:36:40 2006 +0200
163131ab64890Smrg
163141ab64890Smrg    Bug #3104: Compose table cache for faster X11 application starts.
163151ab64890Smrg
163161ab64890Smrgcommit 4fe22647e6010a2886c2f3a7093adeaeb6678faa
163171ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
163181ab64890SmrgDate:   Tue Jun 13 20:23:46 2006 +0200
163191ab64890Smrg
163201ab64890Smrg    Bug #3104: Compose table cache for faster X11 application starts.
163211ab64890Smrg
163221ab64890Smrgcommit 1d28a655629a11ea7fd1e5df4c7b77dd4b63e3be
163231ab64890SmrgAuthor: Lubos Lunak <llunak@suse.de>
163241ab64890SmrgDate:   Mon Jun 12 18:48:08 2006 +0200
163251ab64890Smrg
163261ab64890Smrg    Bug #3104: Compose table cache for faster X11 application starts.
163271ab64890Smrg
163281ab64890Smrgcommit 9354351fcb8baeaab85250d14409cfb4fa50f3e9
163291ab64890SmrgAuthor: Matthias Hopf <mhopf@suse.de>
163301ab64890SmrgDate:   Fri Jun 9 18:24:02 2006 +0200
163311ab64890Smrg
163321ab64890Smrg    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.
163331ab64890Smrg
163341ab64890Smrgcommit b18713ec3f36a10b3cdb1e16f9550e1d2e05dff0
163351ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
163361ab64890SmrgDate:   Wed Jun 7 20:29:05 2006 -0700
163371ab64890Smrg
163381ab64890Smrg    Fix bug #7035: unnecessary memmove in XOpenDisplay.
163391ab64890Smrg    Using memmove on the connection setup data causes a problem for XCB, but making
163401ab64890Smrg    Xlib stop doing that should be harmless for non-XCB as well.
163411ab64890Smrg
163421ab64890Smrgcommit ad9ebbd2424bc2699944ffdf4e19e13f9dd8ab84
163431ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
163441ab64890SmrgDate:   Sat Jun 3 12:57:55 2006 +0300
163451ab64890Smrg
163461ab64890Smrg    Bug #2186: Add cs_CZ.iso8859-2 alias.
163471ab64890Smrg
163481ab64890Smrgcommit 9e7765e0b1cbaae6643072d91066ba1201b36227
163491ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
163501ab64890SmrgDate:   Fri Jun 2 02:46:29 2006 +0300
163511ab64890Smrg
163521ab64890Smrg    nls: Serbian (sr_CS) update (#5575)
163531ab64890Smrg    
163541ab64890Smrg    Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a
163551ab64890Smrg    corresponding locale change.  Update compose.dir.pre, locale.alias.pre,
163561ab64890Smrg    and locale.dir.pre.  (Milos Komarcevic)
163571ab64890Smrg
163581ab64890Smrgcommit a4ac2242b588da23044a20aa999ae84d4de7b2d8
163591ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
163601ab64890SmrgDate:   Fri Jun 2 02:24:25 2006 +0300
163611ab64890Smrg
163621ab64890Smrg    im: add Braille input method (#6296)
163631ab64890Smrg    
163641ab64890Smrg    Bug #6296: Add a Braille input method.  (Samuel Thibault)
163651ab64890Smrg
163661ab64890Smrgcommit 90de1e2e141ec591048a76cb695579ef809a28d3
163671ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
163681ab64890SmrgDate:   Fri Jun 2 02:22:17 2006 +0300
163691ab64890Smrg
163701ab64890Smrg    xkb support: small typo
163711ab64890Smrg
163721ab64890Smrgcommit 4c3e34bece7402f08139d34d1ef5834e3cf533c7
163731ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
163741ab64890SmrgDate:   Fri Jun 2 01:50:24 2006 +0300
163751ab64890Smrg
163761ab64890Smrg    en_US.UTF-8 Compose.pre: updates from Simos (#5129)
163771ab64890Smrg    
163781ab64890Smrg    Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms,
163791ab64890Smrg    adding Unicode character names, removing duplicate entries, et al.
163801ab64890Smrg
163811ab64890Smrgcommit 0c6473dd329c7334ae511884bcb6e73e632c784f
163821ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
163831ab64890SmrgDate:   Fri Jun 2 01:44:53 2006 +0300
163841ab64890Smrg
163851ab64890Smrg    nls: fix use of non-keysym dead_space (#5107)
163861ab64890Smrg    
163871ab64890Smrg    Bug #5107: Change users of dead_space to space.
163881ab64890Smrg
163891ab64890Smrgcommit 6f99f6349de5120f1cb7e02fbc97849341bc48e8
163901ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
163911ab64890SmrgDate:   Fri Jun 2 01:41:18 2006 +0300
163921ab64890Smrg
163931ab64890Smrg    optional XKB support fix
163941ab64890Smrg    
163951ab64890Smrg    Fix compilation with --disable-xkb.
163961ab64890Smrg
163971ab64890Smrgcommit 217d43ed44ced901122093af3ef1294e1736bb77
163981ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
163991ab64890SmrgDate:   Fri Jun 2 01:39:12 2006 +0300
164001ab64890Smrg
164011ab64890Smrg    i18n: separate data and lib directories
164021ab64890Smrg    
164031ab64890Smrg    Break out locale data into separate data and library directories, under
164041ab64890Smrg    $(datadir) and $(libdir), respectively, by default.
164051ab64890Smrg
164061ab64890Smrgcommit 92fa7fcde8df22830fca7c0275ab201033f7909c
164071ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
164081ab64890SmrgDate:   Thu May 11 14:04:48 2006 -0400
164091ab64890Smrg
164101ab64890Smrg    libXcursor.so.1, not libXcursor.so
164111ab64890Smrg
164121ab64890Smrgcommit 135b4df13ed7c35dbae8975f302fc1fb8412d7c0
164131ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
164141ab64890SmrgDate:   Wed May 10 18:06:03 2006 +0300
164151ab64890Smrg
164161ab64890Smrg    XKBMisc.c: use Xfree, not xfree
164171ab64890Smrg    
164181ab64890Smrg    Use Xfree() instead of xfree() when freeing interps.
164191ab64890Smrg
164201ab64890Smrgcommit 3518d772b08e3433bc28b4d8d293fa53ca25f0ee
164211ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
164221ab64890SmrgDate:   Wed May 10 14:51:37 2006 +0300
164231ab64890Smrg
164241ab64890Smrg    locale.alias.pre: bg_BG typo fix
164251ab64890Smrg    
164261ab64890Smrg    Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre.
164271ab64890Smrg
164281ab64890Smrgcommit cc533db60cb64dc163c66451933a9bf77c519062
164291ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain>
164301ab64890SmrgDate:   Sun Apr 9 22:22:03 2006 +0300
164311ab64890Smrg
164321ab64890Smrg    Coverity #203, #204: Fix potential NULL dereferences.
164331ab64890Smrg
164341ab64890Smrgcommit b83adf7dfd6157694fe4f232012fef36cd9666da
164351ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain>
164361ab64890SmrgDate:   Sun Apr 9 22:20:25 2006 +0300
164371ab64890Smrg
164381ab64890Smrg    Coverity #205: Fix potential NULL dereference.
164391ab64890Smrg
164401ab64890Smrgcommit 2d0cd10ad907864d0136739eaac459779c9a5332
164411ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain>
164421ab64890SmrgDate:   Sun Apr 9 22:18:20 2006 +0300
164431ab64890Smrg
164441ab64890Smrg    Coverity #209: Fix potential NULL dereference. (Alan Coopersmith)
164451ab64890Smrg
164461ab64890Smrgcommit dc2f3966068d66a564aa452cab9f0c26657fa1df
164471ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com>
164481ab64890SmrgDate:   Fri Apr 7 18:11:52 2006 +0300
164491ab64890Smrg
164501ab64890Smrg    Coverity #826: Fix potential memory leak.
164511ab64890Smrg
164521ab64890Smrgcommit 23df609ec451a01c77e8f31ecc85c5af7c62efed
164531ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com>
164541ab64890SmrgDate:   Fri Apr 7 17:49:41 2006 +0300
164551ab64890Smrg
164561ab64890Smrg    Bug #1625: Include keysym.h from Xutil.h.
164571ab64890Smrg
164581ab64890Smrgcommit 5262a1945c543a3419ed626e1deb09ef5b4584c1
164591ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net>
164601ab64890SmrgDate:   Wed Apr 5 17:12:15 2006 -0700
164611ab64890Smrg
164621ab64890Smrg    Check if visualList == NULL, not nVisualsMatched == 0. NULL happens in more
164631ab64890Smrg    
164641ab64890Smrg    cases (allocation failure) than nVisualsMatched == 0.  Noticed from inspection
164651ab64890Smrg    of Coverity #599, #600.
164661ab64890Smrg
164671ab64890Smrgcommit 8b42635f577468bb143ca593cdd9fb3450ad712c
164681ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net>
164691ab64890SmrgDate:   Wed Apr 5 16:42:26 2006 -0700
164701ab64890Smrg
164711ab64890Smrg    Coverity #558: Free newly-allocated Database in error path.
164721ab64890Smrg
164731ab64890Smrgcommit 6d06e41d1f431b3f1a1fcf69161e0af411325e9f
164741ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net>
164751ab64890SmrgDate:   Wed Apr 5 16:38:52 2006 -0700
164761ab64890Smrg
164771ab64890Smrg    Coverity #582: Free newly-allocated region in error path.
164781ab64890Smrg
164791ab64890Smrgcommit 5fd8f79ad3e38df74d9a6cb573617542c101df1a
164801ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com>
164811ab64890SmrgDate:   Fri Mar 17 15:58:39 2006 +0200
164821ab64890Smrg
164831ab64890Smrg    Properly clip bounds when only one point is defining an outline.
164841ab64890Smrg
164851ab64890Smrgcommit 1e1572eb7f8394ce152e99d96f711ccf9083baf9
164861ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com>
164871ab64890SmrgDate:   Sat Mar 11 15:39:15 2006 +0100
164881ab64890Smrg
164891ab64890Smrg    Fix prototype of XConfigureWindow(). Bugzilla #6023.
164901ab64890Smrg
164911ab64890Smrgcommit 1da8bd904f1fc79d63d368473531b438d08bfe37
164921ab64890SmrgAuthor: Jeremy C. Reed <reed@reedmedia.net>
164931ab64890SmrgDate:   Tue Feb 21 14:10:22 2006 -0800
164941ab64890Smrg
164951ab64890Smrg    Set XTHREADLIB correctly for dragonfly platforms.
164961ab64890Smrg
164971ab64890Smrgcommit c9768133e3f65ac4bb64e3941e2d6ae36897ec9c
164981ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
164991ab64890SmrgDate:   Sun Feb 19 12:29:27 2006 -0800
165001ab64890Smrg
165011ab64890Smrg    Update .gitignores for *.o and nls/locale.dir*.
165021ab64890Smrg
165031ab64890Smrgcommit efcbde6ba0b770bb0d4c7818e307712161011f10
165041ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
165051ab64890SmrgDate:   Sun Feb 19 12:28:41 2006 -0800
165061ab64890Smrg
165071ab64890Smrg    Move .cvsignore to .gitignore.
165081ab64890Smrg
165091ab64890Smrgcommit e3acee88cfcc4ef0fa8a7db39763a5ebe2e985cb
165101ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
165111ab64890SmrgDate:   Sat Jun 3 13:51:51 2006 +0300
165121ab64890Smrg
165131ab64890Smrg    Fix threading support on GNU/kFreeBSD systems.  (Robert Millan)
165141ab64890Smrg
165151ab64890Smrgcommit f1bd3152359ddfadd0d043006036c239f3e2907b
165161ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
165171ab64890SmrgDate:   Sat Jun 3 12:57:55 2006 +0300
165181ab64890Smrg
165191ab64890Smrg    Bug #2186: Add cs_CZ.iso8859-2 alias.
165201ab64890Smrg
165211ab64890Smrgcommit 2b1b79d90db1d7f0472718b8c010c36275994195
165221ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
165231ab64890SmrgDate:   Fri Jun 2 02:46:29 2006 +0300
165241ab64890Smrg
165251ab64890Smrg    nls: Serbian (sr_CS) update (#5575)
165261ab64890Smrg    Bug #5575: 'Yugoslavia' has changed to Serbia & Montenegro, along with a
165271ab64890Smrg    corresponding locale change.  Update compose.dir.pre, locale.alias.pre,
165281ab64890Smrg    and locale.dir.pre.  (Milos Komarcevic)
165291ab64890Smrg
165301ab64890Smrgcommit d6fba1f44d404362d3be1b421f57d7ccc3c8cdac
165311ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
165321ab64890SmrgDate:   Fri Jun 2 02:24:25 2006 +0300
165331ab64890Smrg
165341ab64890Smrg    im: add Braille input method (#6296)
165351ab64890Smrg    Bug #6296: Add a Braille input method.  (Samuel Thibault)
165361ab64890Smrg
165371ab64890Smrgcommit 0fed7d3185addd610e917dcdaa0676f0256c0ec5
165381ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
165391ab64890SmrgDate:   Fri Jun 2 02:22:17 2006 +0300
165401ab64890Smrg
165411ab64890Smrg    xkb support: small typo
165421ab64890Smrg
165431ab64890Smrgcommit cf7d9f9e46f3ce01ac04a95978918d5c0f3f3cf9
165441ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
165451ab64890SmrgDate:   Fri Jun 2 01:50:24 2006 +0300
165461ab64890Smrg
165471ab64890Smrg    en_US.UTF-8 Compose.pre: updates from Simos (#5129)
165481ab64890Smrg    Bug #5129: Numerous updates from Simos Xenitellis, fixing Unicode keysyms,
165491ab64890Smrg    adding Unicode character names, removing duplicate entries, et al.
165501ab64890Smrg
165511ab64890Smrgcommit 332d45fce9fdbf59168d90a133af1f580a589e54
165521ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
165531ab64890SmrgDate:   Fri Jun 2 01:44:53 2006 +0300
165541ab64890Smrg
165551ab64890Smrg    nls: fix use of non-keysym dead_space (#5107)
165561ab64890Smrg    Bug #5107: Change users of dead_space to space.
165571ab64890Smrg
165581ab64890Smrgcommit 34f59ce3d1e2eb2971b732d11871c6fff8a1c75b
165591ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
165601ab64890SmrgDate:   Fri Jun 2 01:41:18 2006 +0300
165611ab64890Smrg
165621ab64890Smrg    optional XKB support fix
165631ab64890Smrg    Fix compilation with --disable-xkb.
165641ab64890Smrg
165651ab64890Smrgcommit c5940a0b85edec4003f91a59fc3c44f538accfe1
165661ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
165671ab64890SmrgDate:   Fri Jun 2 01:39:12 2006 +0300
165681ab64890Smrg
165691ab64890Smrg    i18n: separate data and lib directories
165701ab64890Smrg    Break out locale data into separate data and library directories, under
165711ab64890Smrg    $(datadir) and $(libdir), respectively, by default.
165721ab64890Smrg
165731ab64890Smrgcommit 33556ca81db2419b9d2a37664c4cea2069414b37
165741ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
165751ab64890SmrgDate:   Fri May 12 14:49:17 2006 -0400
165761ab64890Smrg
165771ab64890Smrg    Bump to 1.0.1
165781ab64890Smrg
165791ab64890Smrgcommit 80d88557626fae9debc404de33d7fb5d69a6049d
165801ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
165811ab64890SmrgDate:   Thu May 11 14:06:28 2006 -0400
165821ab64890Smrg
165831ab64890Smrg    libXcursor.so.1, not libXcursor.so
165841ab64890Smrg
165851ab64890Smrgcommit 5384f27dfe3c94c462c137ab3540eaa5646ca4c6
165861ab64890SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net>
165871ab64890SmrgDate:   Thu May 11 14:04:48 2006 -0400
165881ab64890Smrg
165891ab64890Smrg    libXcursor.so.1, not libXcursor.so
165901ab64890Smrg
165911ab64890Smrgcommit 01f4d433eed6b70c6e9636157acac022054fdeb6
165921ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
165931ab64890SmrgDate:   Wed May 10 17:02:52 2006 -0700
165941ab64890Smrg
165951ab64890Smrg    Count any partial request towards the current Xlib sequence number.
165961ab64890Smrg
165971ab64890Smrgcommit 770cfbd1fcc80a83a9be0c4f68727b8af2c8f4a4
165981ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
165991ab64890SmrgDate:   Wed May 10 18:06:03 2006 +0300
166001ab64890Smrg
166011ab64890Smrg    XKBMisc.c: use Xfree, not xfree
166021ab64890Smrg    Use Xfree() instead of xfree() when freeing interps.
166031ab64890Smrg
166041ab64890Smrgcommit 22a5255b80b80772612279bc840a953edd0e3442
166051ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
166061ab64890SmrgDate:   Wed May 10 14:51:37 2006 +0300
166071ab64890Smrg
166081ab64890Smrg    locale.alias.pre: bg_BG typo fix
166091ab64890Smrg    Fix typo (be_BG.UTF-8 rather than bg_BG.UTF-8) in locale.alias.pre.
166101ab64890Smrg
166111ab64890Smrgcommit 9cac8c9824874ca7d835f001a4efa910b7fdd822
1661238ae11fcSmrgMerge: 19b8840a e514bc87
166131ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.fooishbar.org>
166141ab64890SmrgDate:   Wed May 10 14:50:37 2006 +0300
166151ab64890Smrg
166161ab64890Smrg    Merge branch 'master' of git+ssh://git.freedesktop.org/srv/git.freedesktop.org/git/xorg/lib/libX11
166171ab64890Smrg
166181ab64890Smrgcommit e514bc875f27f4bf197b06b8315eeca526195915
166191ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
166201ab64890SmrgDate:   Tue May 9 12:41:59 2006 -0700
166211ab64890Smrg
166221ab64890Smrg    Assert that dpy->request does not go backwards. Catches #5839 earlier.
166231ab64890Smrg
166241ab64890Smrgcommit fc1159137365a599bf611ee001f439416952c4e0
166251ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
166261ab64890SmrgDate:   Sun May 7 17:40:01 2006 -0700
166271ab64890Smrg
166281ab64890Smrg    In _XPutXCBBuffer, set aside any trailing partial request until the last byte is available.
166291ab64890Smrg
166301ab64890Smrgcommit c394480a4247213239822808e3f6e7c6cd6decd9
166311ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
166321ab64890SmrgDate:   Sun May 7 16:58:13 2006 -0700
166331ab64890Smrg
166341ab64890Smrg    Update for XCB ConnSetupSuccessRep name change.
166351ab64890Smrg
166361ab64890Smrgcommit 7672bf93bc1200905461aeb0a2dc2c2696410b93
166371ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain>
166381ab64890SmrgDate:   Sun Apr 9 22:22:03 2006 +0300
166391ab64890Smrg
166401ab64890Smrg    Coverity #203, #204: Fix potential NULL dereferences.
166411ab64890Smrg
166421ab64890Smrgcommit cfcafbe48d22d9a0cd50eb9454ce0ff88f0129d3
166431ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain>
166441ab64890SmrgDate:   Sun Apr 9 22:20:25 2006 +0300
166451ab64890Smrg
166461ab64890Smrg    Coverity #205: Fix potential NULL dereference.
166471ab64890Smrg
166481ab64890Smrgcommit b6771501feea98d037032f82117b6d4f15779f07
166491ab64890SmrgAuthor: Daniel Stone <daniels@endtroducing.localdomain>
166501ab64890SmrgDate:   Sun Apr 9 22:18:20 2006 +0300
166511ab64890Smrg
166521ab64890Smrg    Coverity #209: Fix potential NULL dereference.  (Alan Coopersmith)
166531ab64890Smrg
166541ab64890Smrgcommit 19b8840af241087bb17b1edabcaa9b28fdd0a1dc
166551ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com>
166561ab64890SmrgDate:   Fri Apr 7 18:11:52 2006 +0300
166571ab64890Smrg
166581ab64890Smrg    Coverity #826: Fix potential memory leak.
166591ab64890Smrg
166601ab64890Smrgcommit 3a16f262abe48b44ed641525e894bc22e13bf72a
166611ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com>
166621ab64890SmrgDate:   Fri Apr 7 17:49:41 2006 +0300
166631ab64890Smrg
166641ab64890Smrg    Bug #1625: Include keysym.h from Xutil.h.
166651ab64890Smrg
166661ab64890Smrgcommit 2481b767ae96e2f2503c0390545932c8397b090f
166671ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net>
166681ab64890SmrgDate:   Wed Apr 5 17:12:15 2006 -0700
166691ab64890Smrg
166701ab64890Smrg    Check if visualList == NULL, not nVisualsMatched == 0.  NULL happens in more
166711ab64890Smrg    cases (allocation failure) than nVisualsMatched == 0.  Noticed from inspection
166721ab64890Smrg    of Coverity #599, #600.
166731ab64890Smrg
166741ab64890Smrgcommit 152b17e47d878c2d928eb74581aa69d925a29123
166751ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net>
166761ab64890SmrgDate:   Wed Apr 5 16:42:26 2006 -0700
166771ab64890Smrg
166781ab64890Smrg    Coverity #558: Free newly-allocated Database in error path.
166791ab64890Smrg
166801ab64890Smrgcommit bc62b99ef36edb34035911c42104be7f6f9d2333
166811ab64890SmrgAuthor: Eric Anholt <anholt@leguin.anholt.net>
166821ab64890SmrgDate:   Wed Apr 5 16:38:52 2006 -0700
166831ab64890Smrg
166841ab64890Smrg    Coverity #582: Free newly-allocated region in error path.
166851ab64890Smrg
166861ab64890Smrgcommit d47f0b3cec1388f7ce60ab2af91df0dea0f221c5
166871ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
166881ab64890SmrgDate:   Fri Mar 31 22:53:07 2006 -0800
166891ab64890Smrg
166901ab64890Smrg    Fix buggy interaction with XCB when running out of XIDs.
166911ab64890Smrg
166921ab64890Smrgcommit e3f452571824d6a875bbf582946de185de9e01e9
166931ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
166941ab64890SmrgDate:   Fri Mar 31 22:52:14 2006 -0800
166951ab64890Smrg
166961ab64890Smrg    Add explicit include of Xmd.h to work around bug including both xcb.h and Xmd.h simultaneously.
166971ab64890Smrg
166981ab64890Smrgcommit 2363b74ca795c1b3a73c9e572532ba5191adec5b
166991ab64890SmrgAuthor: Daniel Stone <daniels@preemptive.research.nokia.com>
167001ab64890SmrgDate:   Fri Mar 17 15:58:39 2006 +0200
167011ab64890Smrg
167021ab64890Smrg    Properly clip bounds when only one point is defining an outline.
167031ab64890Smrg
167041ab64890Smrgcommit e876efb8aa410f2f5c87aaaa7042f847c4ff96f7
1670538ae11fcSmrgMerge: be266b20 f71ea0bc
167061ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com>
167071ab64890SmrgDate:   Sat Mar 11 15:40:35 2006 +0100
167081ab64890Smrg
167091ab64890Smrg    Merge branch 'master' of git+ssh://herrb@git.freedesktop.org/git/xorg/lib/libX11
167101ab64890Smrg
167111ab64890Smrgcommit be266b201dc13530a302a7572283ccd3f32aad87
167121ab64890SmrgAuthor: Matthieu Herrb <matthieu@bluenote.herrb.com>
167131ab64890SmrgDate:   Sat Mar 11 15:39:15 2006 +0100
167141ab64890Smrg
167151ab64890Smrg    Fix prototype of XConfigureWindow(). Bugzilla #6023.
167161ab64890Smrg
167171ab64890Smrgcommit f71ea0bc737c5a42e9e022b86e7ec3b4f846d31c
167181ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167191ab64890SmrgDate:   Fri Mar 3 11:08:41 2006 -0800
167201ab64890Smrg
167211ab64890Smrg    Update for XCBSendRequest sequence number API changes.
167221ab64890Smrg
167231ab64890Smrgcommit a11d1b0ae674320cf9897f6a83ec08c65eca8d9b
167241ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167251ab64890SmrgDate:   Fri Mar 3 01:42:49 2006 -0800
167261ab64890Smrg
167271ab64890Smrg    Use the full_sequence from XCBGenericError/Event for setting last_request_read, and quit replacing _XSetLastRequestRead with an XCB-specific version.
167281ab64890Smrg
167291ab64890Smrgcommit d8ba4ae7045b227f8b675628b9094dded02f1c08
167301ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167311ab64890SmrgDate:   Thu Mar 2 23:43:26 2006 -0800
167321ab64890Smrg
167331ab64890Smrg    Bugfix: Rely on XCBSendRequest to leave iov in a well-defined state, and place the spare iovecs at the beginning of the array.
167341ab64890Smrg
167351ab64890Smrgcommit f9afb5a54435c30961306080e9358d4240ecb844
167361ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167371ab64890SmrgDate:   Thu Mar 2 23:34:19 2006 -0800
167381ab64890Smrg
167391ab64890Smrg    assert() that we will not infinite loop or read uninitialized memory.
167401ab64890Smrg
167411ab64890Smrgcommit d3512ef3aae5b036a8ce6579318108f1ec20ee22
167421ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167431ab64890SmrgDate:   Thu Mar 2 15:58:52 2006 -0800
167441ab64890Smrg
167451ab64890Smrg    Quit relying on XCBSendRequest to pad to 4-byte boundaries and do it ourselves.
167461ab64890Smrg
167471ab64890Smrgcommit fb590c15a740264ee867d15a2547072e43b21eed
167481ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167491ab64890SmrgDate:   Thu Mar 2 12:06:04 2006 -0800
167501ab64890Smrg
167511ab64890Smrg    Handle errors correctly when Xlib owns the event queue and XCB has the checked error feature.
167521ab64890Smrg
167531ab64890Smrgcommit 8356ba37d307a9eda895a6bf41ef727bbfc9a695
167541ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167551ab64890SmrgDate:   Mon Feb 27 11:51:47 2006 -0800
167561ab64890Smrg
167571ab64890Smrg    Use the new XCBSendRequest flag, XCB_REQUEST_RAW, to hand a bag-o-bytes down uninterpreted.
167581ab64890Smrg
167591ab64890Smrgcommit 07bdf1fbbf2418f866df1a2140d514dd3f035139
167601ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167611ab64890SmrgDate:   Sun Feb 26 15:46:01 2006 -0800
167621ab64890Smrg
167631ab64890Smrg    Update for new XCBSendRequest API.
167641ab64890Smrg
167651ab64890Smrgcommit 409a08cff8347d39e0e6c53c9f380d21f221f5ac
167661ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167671ab64890SmrgDate:   Thu Feb 23 18:12:31 2006 -0800
167681ab64890Smrg
167691ab64890Smrg    Performance fix: Replace calls to XCBGetRequestRead with the new XCBGetQueuedRequestRead. Cuts a lot of syscalls.
167701ab64890Smrg
167711ab64890Smrgcommit ec30a27341b97620b07dd886f98d1d7664a67685
167721ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167731ab64890SmrgDate:   Thu Feb 23 18:01:46 2006 -0800
167741ab64890Smrg
167751ab64890Smrg    Minor performance fix: Access dpy->xcl->connection directly instead of calling XCBConnectionOfDisplay. It happens a lot.
167761ab64890Smrg
167771ab64890Smrgcommit 53c471c6a835d5cedeca99f2c97058d196a3fd7e
167781ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167791ab64890SmrgDate:   Thu Feb 23 11:46:09 2006 -0800
167801ab64890Smrg
167811ab64890Smrg    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.
167821ab64890Smrg
167831ab64890Smrgcommit 41c0121a8718b530feaf7fe315b673d9b8defce2
167841ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167851ab64890SmrgDate:   Tue Feb 21 21:25:41 2006 -0800
167861ab64890Smrg
167871ab64890Smrg    Refactor the code that passes requests down to XCB into a separate issue_complete_request function.
167881ab64890Smrg
167891ab64890Smrgcommit 67d06e0fe468dca22847aa14d3f917128f89f9cf
167901ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
167911ab64890SmrgDate:   Tue Feb 21 15:33:05 2006 -0800
167921ab64890Smrg
167931ab64890Smrg    If we have not actually put the buffer back, deferred invariants may not hold. This is OK.
167941ab64890Smrg
167951ab64890Smrgcommit 434bf80b4053ff1ba82adf65de1f76b4d3731bf1
167961ab64890SmrgAuthor: Jeremy C. Reed <reed@reedmedia.net>
167971ab64890SmrgDate:   Tue Feb 21 14:10:22 2006 -0800
167981ab64890Smrg
167991ab64890Smrg    Set XTHREADLIB correctly for dragonfly platforms.
168001ab64890Smrg
168011ab64890Smrgcommit b24834762e975bd319f9ab5c7cf790b2a02a9474
168021ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168031ab64890SmrgDate:   Tue Feb 21 14:03:26 2006 -0800
168041ab64890Smrg
168051ab64890Smrg    Sometimes functions other than _XUnlockDisplay call _XPutXCBBuffer. Some invariants appropriate for Unlock are not appropriate otherwise: move them to _XUnlockDisplay.
168061ab64890Smrg
168071ab64890Smrgcommit 99b8defd0d5e6993071e21638128c9de2574b37d
168081ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168091ab64890SmrgDate:   Tue Feb 21 13:04:21 2006 -0800
168101ab64890Smrg
168111ab64890Smrg    Execute BeforeFlush hooks on complete buffers, not request-at-a-time.
168121ab64890Smrg    Traditional Xlib worked this way; I dunno why I changed it.
168131ab64890Smrg
168141ab64890Smrgcommit 9b01e7849775749182052fe324df9d8e6ceeee99
168151ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168161ab64890SmrgDate:   Tue Feb 21 12:51:44 2006 -0800
168171ab64890Smrg
168181ab64890Smrg    Factor the XCBSendRequest call out of the conditional in _XPutXCBBuffer.
168191ab64890Smrg
168201ab64890Smrgcommit 7ce7ac882de128955751a5307889db9d712d8a72
168211ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168221ab64890SmrgDate:   Tue Feb 21 12:44:30 2006 -0800
168231ab64890Smrg
168241ab64890Smrg    Quit using a triple-pointer. Almost as if I were a sensible person.
168251ab64890Smrg
168261ab64890Smrgcommit 35a858be218cdbfa4593d44a67663d5c25297016
168271ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168281ab64890SmrgDate:   Tue Feb 21 12:21:01 2006 -0800
168291ab64890Smrg
168301ab64890Smrg    Remove the XCL_PAD macro.
168311ab64890Smrg
168321ab64890Smrgcommit e741b70ed2542c5463c57dac44bc37328616733b
168331ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168341ab64890SmrgDate:   Sun Feb 19 12:29:27 2006 -0800
168351ab64890Smrg
168361ab64890Smrg    Update .gitignores for *.o and nls/locale.dir*.
168371ab64890Smrg
168381ab64890Smrgcommit f25b4b00e1683b0d97dba46dac46d65a9c2270a6
168391ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168401ab64890SmrgDate:   Sun Feb 19 12:28:41 2006 -0800
168411ab64890Smrg
168421ab64890Smrg    Move .cvsignore to .gitignore.
168431ab64890Smrg
168441ab64890Smrgcommit c7cda56eebaf6ab11403363be14d4948d7d8be38
168451ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168461ab64890SmrgDate:   Sun Feb 19 11:49:15 2006 -0800
168471ab64890Smrg
168481ab64890Smrg    Land XCB support on X.org HEAD.
168491ab64890Smrg
168501ab64890Smrgcommit 881467b3032261791ef5ec61b3879bb68d0a3d8c
168511ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168521ab64890SmrgDate:   Sun Feb 19 02:14:11 2006 +0000
168531ab64890Smrg
168541ab64890Smrg    Merge the X11 and BIGREQS package sets: they were used in exactly the same places.
168551ab64890Smrg
168561ab64890Smrgcommit 6b0158dfad714db5b89c04dbea3aedeafa0fb146
168571ab64890SmrgAuthor: Jamey Sharp <jamey@minilop.net>
168581ab64890SmrgDate:   Tue Feb 14 19:37:36 2006 +0000
168591ab64890Smrg
168601ab64890Smrg    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.
168611ab64890Smrg
168621ab64890Smrgcommit 010c3acbb3a6993d39274f42d88c00849acb0fb0
168631ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
168641ab64890SmrgDate:   Sun Feb 12 18:19:17 2006 +0000
168651ab64890Smrg
168661ab64890Smrg    Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages not created correctly when MANDIR & MANSUFFIX don't match.
168671ab64890Smrg
168681ab64890Smrgcommit fe8c01c80263457f01b70dc1511b2bd9466b7c96
168691ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
168701ab64890SmrgDate:   Fri Feb 3 23:34:43 2006 +0000
168711ab64890Smrg
168721ab64890Smrg    Fix typo in .TH line
168731ab64890Smrg
168741ab64890Smrgcommit b091c217f3c3f60dde78b09a95c150df6c83d7ba
168751ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
168761ab64890SmrgDate:   Thu Dec 15 00:24:28 2005 +0000
168771ab64890Smrg
168781ab64890Smrg    Update package version number for final X11R7 release candidate.
168791ab64890Smrg
168801ab64890Smrgcommit e7c04e0e65a2a0c70c6ad29ec2d6f4350fd81c2a
168811ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
168821ab64890SmrgDate:   Tue Dec 6 22:48:41 2005 +0000
168831ab64890Smrg
168841ab64890Smrg    Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
168851ab64890Smrg
168861ab64890Smrgcommit b5c495854d5270e64e6d588388ffa906bfcaac22
168871ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
168881ab64890SmrgDate:   Sat Dec 3 05:49:42 2005 +0000
168891ab64890Smrg
168901ab64890Smrg    Update package version number for X11R7 RC3 release.
168911ab64890Smrg
168921ab64890Smrgcommit 9e96dbc343c7f27ff47607acd75378ab23903e2a
168931ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
168941ab64890SmrgDate:   Sat Dec 3 04:41:47 2005 +0000
168951ab64890Smrg
168961ab64890Smrg    Add check and cflags for malloc(0) returning NULL.
168971ab64890Smrg
168981ab64890Smrgcommit 649c37b47909620ccafde3e983de8321cddd74ce
168991ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
169001ab64890SmrgDate:   Mon Nov 28 22:03:04 2005 +0000
169011ab64890Smrg
169021ab64890Smrg    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)
169031ab64890Smrg
169041ab64890Smrgcommit 8d1500df66d796ebff2b0d8c02205e5fa6796d4a
169051ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
169061ab64890SmrgDate:   Wed Nov 23 22:33:06 2005 +0000
169071ab64890Smrg
169081ab64890Smrg    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
169091ab64890Smrg
169101ab64890Smrgcommit 93cf3747f9ae8d30bd485b41c5ff10397f68f078
169111ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org>
169121ab64890SmrgDate:   Sun Nov 20 23:17:39 2005 +0000
169131ab64890Smrg
169141ab64890Smrg    Add/improve libs .cvsignores.
169151ab64890Smrg
169161ab64890Smrgcommit fa1f4a08112bfa14d3758f4702733dd3892966c3
169171ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
169181ab64890SmrgDate:   Sat Nov 19 07:15:39 2005 +0000
169191ab64890Smrg
169201ab64890Smrg    Update pkgconfig files to separate library build-time dependencies from application build-time dependencies, and update package deps to work with separate build roots.
169211ab64890Smrg
169221ab64890Smrgcommit 7012f9b56c594cf40855ba0dbf93af1263417a8c
169231ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
169241ab64890SmrgDate:   Mon Nov 14 21:51:07 2005 +0000
169251ab64890Smrg
169261ab64890Smrg    Fix xf86bigfont pkgconfig dep typo.
169271ab64890Smrg
169281ab64890Smrgcommit 60a72f47951f46b4e0505d9903a94af3b6bed8ca
169291ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
169301ab64890SmrgDate:   Wed Nov 9 21:19:12 2005 +0000
169311ab64890Smrg
169321ab64890Smrg    Update package version number for X11R7 RC2 release.
169331ab64890Smrg
169341ab64890Smrgcommit 6bb0c3796b6e1beddc376a896e865704886e1462
169351ab64890SmrgAuthor: Kean Johnson <kean@armory.com>
169361ab64890SmrgDate:   Tue Nov 8 06:33:25 2005 +0000
169371ab64890Smrg
169381ab64890Smrg    See ChangeLog entry 2005-11-07 for details.
169391ab64890Smrg
169401ab64890Smrgcommit 14be0098ad90c3e68bd2d21b00ffabb76f1fd780
169411ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
169421ab64890SmrgDate:   Tue Nov 1 15:11:50 2005 +0000
169431ab64890Smrg
169441ab64890Smrg    Update pkgcheck dependencies to work with separate build roots.
169451ab64890Smrg
169461ab64890Smrgcommit 1bf71462a972e0fc56de63f5c7fd613b37fc70f1
169471ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org>
169481ab64890SmrgDate:   Fri Oct 28 10:44:03 2005 +0000
169491ab64890Smrg
169501ab64890Smrg    Revert that, it's redundant. But it is worth noting that --disable-xkb is broken, if anyone cares.
169511ab64890Smrg
169521ab64890Smrgcommit be627a39fe373e2e81fdc263780e70a271d9e0c5
169531ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org>
169541ab64890SmrgDate:   Fri Oct 28 08:28:08 2005 +0000
169551ab64890Smrg
169561ab64890Smrg    Add dependency on inputproto for XI.h.
169571ab64890Smrg
169581ab64890Smrgcommit 5fae4cb456cb03fb70cd065dbc2ca94c8ed99082
169591ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
169601ab64890SmrgDate:   Fri Oct 21 18:44:24 2005 +0000
169611ab64890Smrg
169621ab64890Smrg    Bug #4736: Error decoding for Damage extension. (Jonathan Lennox)
169631ab64890Smrg
169641ab64890Smrgcommit 1171fa9dc77413f0e90933a565ec07068052afb4
169651ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
169661ab64890SmrgDate:   Wed Oct 19 02:48:08 2005 +0000
169671ab64890Smrg
169681ab64890Smrg    Update package version number for RC1 release.
169691ab64890Smrg
169701ab64890Smrgcommit 2a2d905706308b9d5a1c16af1067fb390f43850c
169711ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
169721ab64890SmrgDate:   Tue Oct 18 00:00:08 2005 +0000
169731ab64890Smrg
169741ab64890Smrg    Use @LIB_MAN_SUFFIX@ instead of $(LIB_MAN_SUFFIX) in macro substitutions to work better with BSD make
169751ab64890Smrg
169761ab64890Smrgcommit 66d35b6971fb26762392a2a8e2c47db46c11116a
169771ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
169781ab64890SmrgDate:   Mon Oct 17 21:13:15 2005 +0000
169791ab64890Smrg
169801ab64890Smrg    Rename .shadows.DONE to shadows.DONE to avoid some make's thinking it's a suffix rule (reported by Matthieu Herrb)
169811ab64890Smrg
169821ab64890Smrgcommit a316995a17c084e98ef1b7f25d287c2c08b6d749
169831ab64890SmrgAuthor: Donnie Berkholz <spyderous@gentoo.org>
169841ab64890SmrgDate:   Sun Oct 16 03:03:35 2005 +0000
169851ab64890Smrg
169861ab64890Smrg    Change '==' to portable '='.
169871ab64890Smrg
169881ab64890Smrgcommit b76a072530e884bcbea6ed8fed5aef39361dcfc0
169891ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
169901ab64890SmrgDate:   Wed Oct 12 00:04:50 2005 +0000
169911ab64890Smrg
169921ab64890Smrg    configure.ac Use XORG_MAN_SECTIONS instead of custom man section configuration. Add shadow man pages for man pages that document multiple functions.
169931ab64890Smrg
169941ab64890Smrgcommit 8ee5c1429af98206e05a0536f87c0f21a529cdf0
169951ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org>
169961ab64890SmrgDate:   Tue Oct 11 02:18:36 2005 +0000
169971ab64890Smrg
169981ab64890Smrg    Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others.
169991ab64890Smrg
170001ab64890Smrgcommit 41ff3b9d1f194a7b56437b650d5f589225c078c6
170011ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
170021ab64890SmrgDate:   Sun Oct 9 22:28:39 2005 +0000
170031ab64890Smrg
170041ab64890Smrg    Bug #3021 <https://bugs.freedesktop.org/show_bug.cgi?id=3021> Requests and Errors for XFixes are not in XErrorDB (Jonathan Lennox)
170051ab64890Smrg
170061ab64890Smrgcommit 91ed79852e790049ab54e68f288afb3c953194c9
170071ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
170081ab64890SmrgDate:   Fri Oct 7 15:00:00 2005 +0000
170091ab64890Smrg
170101ab64890Smrg    Clean up generated files
170111ab64890Smrg    Add missing dist tarball files
170121ab64890Smrg
170131ab64890Smrgcommit 440399b470c97b159a530602fff11c315aca8d97
17014e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
170151ab64890SmrgDate:   Wed Oct 5 18:27:10 2005 +0000
170161ab64890Smrg
170171ab64890Smrg    Add el_GR.UTF-8 compose file
170181ab64890Smrg
170191ab64890Smrgcommit 010f0647e25ac617d0f92c8d2b8dda684da545db
170201ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
170211ab64890SmrgDate:   Fri Sep 30 07:52:46 2005 +0000
170221ab64890Smrg
170231ab64890Smrg    Bug #2609: Add Kyrgyz locale (Ilyas Bakirov).
170241ab64890Smrg
170251ab64890Smrgcommit 3ef2fb67bd8905b208ad7eb790c3843e14cea7ed
170261ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
170271ab64890SmrgDate:   Fri Sep 30 07:47:55 2005 +0000
170281ab64890Smrg
170291ab64890Smrg    Bug #1640: Kinyarwanda locale support. (Steve Murphy)
170301ab64890Smrg
170311ab64890Smrgcommit 4ae0decabe0960870df0ec165f495166c10a053c
170321ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
170331ab64890SmrgDate:   Fri Sep 30 07:40:03 2005 +0000
170341ab64890Smrg
170351ab64890Smrg    Bug #2268: Add South African locales (Dwayne Bailey). Some whitespace cleanups, as the parser is a little touchy.
170361ab64890Smrg
170371ab64890Smrgcommit 3f79eb4c99844f618f1889741d1631c2ffe5385f
170381ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
170391ab64890SmrgDate:   Fri Sep 30 07:11:19 2005 +0000
170401ab64890Smrg
170411ab64890Smrg    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.
170421ab64890Smrg
170431ab64890Smrgcommit d1237d1483ff972c76a0ac344ec97d5280db0007
170441ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
170451ab64890SmrgDate:   Thu Sep 29 21:27:12 2005 +0000
170461ab64890Smrg
170471ab64890Smrg    Add Xcms.txt to lib/X11
170481ab64890Smrg
170491ab64890Smrgcommit 4a86f299693f7376cbe98175f0b0c44d691802b3
170501ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
170511ab64890SmrgDate:   Sat Sep 24 20:11:06 2005 +0000
170521ab64890Smrg
170531ab64890Smrg    Add XQueryExtension.man
170541ab64890Smrg
170551ab64890Smrgcommit a057a66e2041d45198a13a4ece7c07068f76f21b
170561ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
170571ab64890SmrgDate:   Sat Sep 24 00:16:32 2005 +0000
170581ab64890Smrg
170591ab64890Smrg    Add XTHREAD_CFLAGS for platforms that need special defines like
170601ab64890Smrg    -D_REENTRANT or -D_POSIX_whatever to get re-entrant function definitions. Set XDMCP_LIBS correctly for later libXdmcp tests.
170611ab64890Smrg
170621ab64890Smrgcommit 3e920a65a7c376ad63eae2240fd06904d25d18bf
170631ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
170641ab64890SmrgDate:   Fri Sep 2 23:00:30 2005 +0000
170651ab64890Smrg
170661ab64890Smrg    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
170671ab64890Smrg
170681ab64890Smrgcommit 3eb9f2d693af89d04e2fd92492c8205dce332c9c
17069e9628295SmrgAuthor: Kristian Høgsberg  <krh@redhat.com>
170701ab64890SmrgDate:   Thu Sep 1 19:24:13 2005 +0000
170711ab64890Smrg
170721ab64890Smrg    Use $(X11_LOCALEDATADIR) instead of @X11_LOCALEDATADIR@ so this install destination can be overridden at make install time.
170731ab64890Smrg
170741ab64890Smrgcommit 7afa64325183b78d2d6a4862821f8b3e9866105c
170751ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
170761ab64890SmrgDate:   Sun Aug 28 19:45:48 2005 +0000
170771ab64890Smrg
170781ab64890Smrg    OpenBSD needs -lpthread for threaded applications too.
170791ab64890Smrg
170801ab64890Smrgcommit 2b2f3d3877cb7927f196d01a5df6a27bf8d0518a
170811ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
170821ab64890SmrgDate:   Fri Aug 26 05:16:46 2005 +0000
170831ab64890Smrg
170841ab64890Smrg    Define ERRORDB/KEYSYMDB to XERRORDB/XKEYSYMDB if the former is undefined but the latter is. (Gerte Hoogewerf)
170851ab64890Smrg
170861ab64890Smrgcommit 07066da0902df91c71f2adb81d1a17ec29165553
170871ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
170881ab64890SmrgDate:   Sun Aug 21 15:45:04 2005 +0000
170891ab64890Smrg
170901ab64890Smrg    update
170911ab64890Smrg
170921ab64890Smrgcommit de44d8b111f57bd2f015e085fd8298c5f2a15ef3
170931ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
170941ab64890SmrgDate:   Sun Aug 21 15:38:39 2005 +0000
170951ab64890Smrg
170961ab64890Smrg    Threads support for BSD systems:
170971ab64890Smrg    - need to check for gewtpwuid_r to define mtsafeapi
170981ab64890Smrg    - build UIThrstubs if needed.
170991ab64890Smrg
171001ab64890Smrgcommit 60217fdb918bafb2082519efe5cba3b13ad3082a
171011ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
171021ab64890SmrgDate:   Wed Aug 17 19:46:08 2005 +0000
171031ab64890Smrg
171041ab64890Smrg    Add xthreadlib variable to x11.pc. Bump to 0.99.1.
171051ab64890Smrg
171061ab64890Smrgcommit e1f4c6f5e36c1511f66fa1fac76520fd97eecbad
171071ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171081ab64890SmrgDate:   Wed Aug 17 01:27:08 2005 +0000
171091ab64890Smrg
171101ab64890Smrg    Fix more broken multi-line .ds macros. Remove extraneous ;'s .
171111ab64890Smrg
171121ab64890Smrgcommit 1909786f4a7d686369edcfc05a938df115fab37c
171131ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171141ab64890SmrgDate:   Tue Aug 16 19:23:15 2005 +0000
171151ab64890Smrg
171161ab64890Smrg    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)
171171ab64890Smrg
171181ab64890Smrgcommit 83406d69c62070d2eeef23eb47f1ca887f711ee5
171191ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171201ab64890SmrgDate:   Mon Aug 15 19:53:37 2005 +0000
171211ab64890Smrg
171221ab64890Smrg    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
171231ab64890Smrg
171241ab64890Smrgcommit 5bb43de17de8e71d967488a713bf2b3448533444
171251ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171261ab64890SmrgDate:   Sat Aug 6 18:59:49 2005 +0000
171271ab64890Smrg
171281ab64890Smrg    Typo fix in output message
171291ab64890Smrg
171301ab64890Smrgcommit afe34b95862bb3c06cdbe724cb5ec3001a4a5215
171311ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171321ab64890SmrgDate:   Thu Aug 4 02:55:49 2005 +0000
171331ab64890Smrg
171341ab64890Smrg    //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)
171351ab64890Smrg
171361ab64890Smrgcommit 3979a0b88edf6475ce5cfaa386e18ef980bda13c
171371ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171381ab64890SmrgDate:   Thu Aug 4 02:51:30 2005 +0000
171391ab64890Smrg
171401ab64890Smrg    //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)
171411ab64890Smrg
171421ab64890Smrgcommit 34b454df192f4563499c453ccdb8c079f4a20cbe
171431ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171441ab64890SmrgDate:   Sat Jul 30 20:30:46 2005 +0000
171451ab64890Smrg
171461ab64890Smrg    Include config.h so Xtrans knows which transport types to build code for
171471ab64890Smrg
171481ab64890Smrgcommit cd9c9936b49c125eda779b99887d7e6ae4cf56cd
171491ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
171501ab64890SmrgDate:   Sat Jul 30 19:15:16 2005 +0000
171511ab64890Smrg
171521ab64890Smrg    Add -D flags to clear various warnings (Stefan Dirsch)
171531ab64890Smrg
171541ab64890Smrgcommit e7fef67b4531faddd805d8f2157903006d3117ed
171551ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
171561ab64890SmrgDate:   Fri Jul 29 21:22:50 2005 +0000
171571ab64890Smrg
171581ab64890Smrg    Various changes preparing packages for RC0:
171591ab64890Smrg    - Verify and update package version numbers as needed
171601ab64890Smrg    - Implement versioning scheme
171611ab64890Smrg    - Change bug address to point to bugzilla bug entry form
171621ab64890Smrg    - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to reenable it)
171631ab64890Smrg    - Fix makedepend to use pkgconfig and pass distcheck
171641ab64890Smrg    - Update build script to build macros first
171651ab64890Smrg    - Update modular Xorg version
171661ab64890Smrg
171671ab64890Smrgcommit 2ebb00244928237088e68325b1032b3550455ce9
171681ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
171691ab64890SmrgDate:   Sat Jul 23 20:19:31 2005 +0000
171701ab64890Smrg
171711ab64890Smrg    remove orphan TAB at begin of line
171721ab64890Smrg
171731ab64890Smrgcommit dd7a9cdecda73e024ca84c5b9a22b18688038d94
171741ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
171751ab64890SmrgDate:   Sat Jul 23 18:09:39 2005 +0000
171761ab64890Smrg
171771ab64890Smrg    Modify modular libs to use Xregion.h instead of region.h
171781ab64890Smrg
171791ab64890Smrgcommit 6d635a88d91647b1b63611c3591f74916f88cd1c
171801ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
171811ab64890SmrgDate:   Sat Jul 23 18:06:16 2005 +0000
171821ab64890Smrg
171831ab64890Smrg    lib/Xrender/Picture.c Change region.h to Xregion.h and modify internal references to include <X11/Xregion.h>.
171841ab64890Smrg
171851ab64890Smrgcommit 36283f50fd9748733ae84cb7fb52ca8d9e661c15
171861ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
171871ab64890SmrgDate:   Sat Jul 16 06:25:35 2005 +0000
171881ab64890Smrg
171891ab64890Smrg    Set soversion to 6.2.0.
171901ab64890Smrg
171911ab64890Smrgcommit 75fd5ae6e4683b9b9dcc13bc2f0faf223610a74f
171921ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
171931ab64890SmrgDate:   Fri Jul 15 04:27:32 2005 +0000
171941ab64890Smrg
171951ab64890Smrg    Add missing Makefile.am to lib/X11/modules
171961ab64890Smrg
171971ab64890Smrgcommit 6d84a8b1329af1fcfe86b198f1a6e7dd6ff616c3
171981ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
171991ab64890SmrgDate:   Fri Jul 15 04:08:51 2005 +0000
172001ab64890Smrg
172011ab64890Smrg    Move i18n modules to top-level so they can be built in the right order (before xlib for non-loadable, after xlib for loadable).
172021ab64890Smrg    Link i18n modules against xlib to resolve Xlib symbols used by them.
172031ab64890Smrg
172041ab64890Smrgcommit 45f40126a73295345bb5eb187b1167874842ab6e
172051ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org>
172061ab64890SmrgDate:   Thu Jul 14 19:50:00 2005 +0000
172071ab64890Smrg
172081ab64890Smrg    Add $(top_srcdir)/src to include list
172091ab64890Smrg
172101ab64890Smrgcommit 0aed7d91f5928d09d541617aad03709b5090658d
172111ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
172121ab64890SmrgDate:   Thu Jul 14 17:04:49 2005 +0000
172131ab64890Smrg
172141ab64890Smrg    Build fix for non-GNU make.
172151ab64890Smrg
172161ab64890Smrgcommit b79422ccb02ab44548d1038956ab0cd4e2638645
172171ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
172181ab64890SmrgDate:   Thu Jul 14 15:12:44 2005 +0000
172191ab64890Smrg
172201ab64890Smrg    typo fixes (Matthieu Herrb)
172211ab64890Smrg
172221ab64890Smrgcommit 419304cde2fda19457c667870edefc0b227651b3
172231ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
172241ab64890SmrgDate:   Wed Jul 13 02:41:36 2005 +0000
172251ab64890Smrg
172261ab64890Smrg    Add missing backslashes to xlocale_la_SOURCES
172271ab64890Smrg
172281ab64890Smrgcommit d14cc5c8964c4539b57c6cb51ef653292e410b79
172291ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
172301ab64890SmrgDate:   Mon Jul 11 20:32:55 2005 +0000
172311ab64890Smrg
172321ab64890Smrg    Ammend AM_CFLAGS with all needed includes; cannot figure out an easy way to automate this.
172331ab64890Smrg
172341ab64890Smrgcommit 424c2d8905eb2ad0a2df15b1da2f96140bfbcffb
172351ab64890SmrgAuthor: Lars Knoll <lars@trolltech.com>
172361ab64890SmrgDate:   Mon Jul 11 15:24:32 2005 +0000
172371ab64890Smrg
172381ab64890Smrg    compile
172391ab64890Smrg
172401ab64890Smrgcommit de9784eb1bde46efc316da279e3da27c6cc288a7
172411ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
172421ab64890SmrgDate:   Mon Jul 11 09:26:40 2005 +0000
172431ab64890Smrg
172441ab64890Smrg    Ignore built man page files
172451ab64890Smrg
172461ab64890Smrgcommit 0c258c36d1523113790c599b16d2947d7aa6469a
172471ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
172481ab64890SmrgDate:   Mon Jul 11 09:18:31 2005 +0000
172491ab64890Smrg
172501ab64890Smrg    Minor changes to help modular Xlib build i18n modules
172511ab64890Smrg
172521ab64890Smrgcommit 6e752ea1203b786423e40f43340bce15ca3de0f0
172531ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
172541ab64890SmrgDate:   Mon Jul 11 08:29:18 2005 +0000
172551ab64890Smrg
172561ab64890Smrg    Enable loadable i18n modules, making them configurable on the configure command line.
172571ab64890Smrg    Clean up conditionals for XKB, XCMS, XLOCALEDIR
172581ab64890Smrg    Create new lib directory for locale modules in ${X11_LIBDIR}/locale/lib. Add this to the default XLOCALEDIR search path.
172591ab64890Smrg    Create separate X11_LOCALEDATADIR variable pointing at ${datadir}/X11/locale for installing locale data.
172601ab64890Smrg    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.
172611ab64890Smrg    Display message at end of configure script with selected options.
172621ab64890Smrg    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.
172631ab64890Smrg
172641ab64890Smrgcommit b46cf0d879f1dbf92dcf5a0305d18986c766ed84
172651ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
172661ab64890SmrgDate:   Sun Jul 10 22:37:33 2005 +0000
172671ab64890Smrg
172681ab64890Smrg    Fix segfault when _XimProtoCreateIC() fails to create a context; Debian #239991. (Chung-chieh Shan)
172691ab64890Smrg
172701ab64890Smrgcommit 6f2132b18e61ca9755e4b45550f3f5097dd1fbb7
172711ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
172721ab64890SmrgDate:   Sat Jul 9 20:06:04 2005 +0000
172731ab64890Smrg
172741ab64890Smrg    Set __libmansuffix__ & __xorgversion__ correctly when cpp processing man pages
172751ab64890Smrg
172761ab64890Smrgcommit 3939ac4410446b46071c9d714f4270c12bf904fe
172771ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
172781ab64890SmrgDate:   Sat Jul 9 18:44:14 2005 +0000
172791ab64890Smrg
172801ab64890Smrg    - 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
172811ab64890Smrg    - Don't assume $(CPP) can take gcc-only -traditional flag
172821ab64890Smrg    - CPP process man pages as is done in the monolithic tree
172831ab64890Smrg
172841ab64890Smrgcommit 19ba9d0df86c688319377467254b9ea9c4b0eccc
172851ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
172861ab64890SmrgDate:   Sat Jul 9 06:01:49 2005 +0000
172871ab64890Smrg
172881ab64890Smrg    Clean up .cvsignore files
172891ab64890Smrg
172901ab64890Smrgcommit f4bba6fa9b9ce637be7662754750054567e9250a
172911ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
172921ab64890SmrgDate:   Sat Jul 9 02:53:29 2005 +0000
172931ab64890Smrg
172941ab64890Smrg    typo fix. i suck.
172951ab64890Smrg
172961ab64890Smrgcommit 3305da61a61695e24c1ea11d3f59dddb52873d47
172971ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
172981ab64890SmrgDate:   Sat Jul 9 02:41:18 2005 +0000
172991ab64890Smrg
173001ab64890Smrg    Check for bigfont proto headers via pkgconfig (Arwed von Merkatz)
173011ab64890Smrg
173021ab64890Smrgcommit afdae2e8ccb93de2987b5a5e850695af15ece7e0
173031ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
173041ab64890SmrgDate:   Fri Jul 8 07:11:56 2005 +0000
173051ab64890Smrg
173061ab64890Smrg    Create and use XlibConf.h to match modular build which needs XTHREADS defined when building extensions
173071ab64890Smrg
173081ab64890Smrgcommit 86fa88dc594ca2093030acf5c84973ee2b33eb4c
173091ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
173101ab64890SmrgDate:   Fri Jul 8 06:57:06 2005 +0000
173111ab64890Smrg
173121ab64890Smrg    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.
173131ab64890Smrg    Add a bunch of .cvsignore files
173141ab64890Smrg
173151ab64890Smrgcommit 30f6ffedeaf899e699f0c6b14c9471ce9bcc430c
173161ab64890SmrgAuthor: Chris Less <clee@c133.org>
173171ab64890SmrgDate:   Mon Jul 4 23:01:48 2005 +0000
173181ab64890Smrg
173191ab64890Smrg    Fixing bug #380 - add a man page for XQueryExtension, XListExtensions, and XFreeExtensionList.
173201ab64890Smrg
173211ab64890Smrgcommit 55328bb6caabd37885cd19d7a5821ed425daf321
173221ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org>
173231ab64890SmrgDate:   Sun Jul 3 10:17:38 2005 +0000
173241ab64890Smrg
173251ab64890Smrg    Avoid a gmake-specific construct, and instead just write the name of the current directory into each Makefile.am.
173261ab64890Smrg
173271ab64890Smrgcommit 726538ba21b631bfb0b8094a5546acdaf57379ff
173281ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173291ab64890SmrgDate:   Sun Jul 3 07:37:33 2005 +0000
173301ab64890Smrg
173311ab64890Smrg    Fix more include paths; add dix-config.h to XKB code.
173321ab64890Smrg
173331ab64890Smrgcommit 8c7677138e70e14eca0255f2168583f0ecc21994
173341ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173351ab64890SmrgDate:   Sun Jul 3 07:00:55 2005 +0000
173361ab64890Smrg
173371ab64890Smrg    Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
173381ab64890Smrg    Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
173391ab64890Smrg    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>.
173401ab64890Smrg
173411ab64890Smrgcommit 197697c92a63091a4cc3cc04dcb7fa29d2655758
173421ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173431ab64890SmrgDate:   Fri Jul 1 22:13:35 2005 +0000
173441ab64890Smrg
173451ab64890Smrg    Fix objdir != srcdir, as well as make distcheck.
173461ab64890Smrg    Don't attempt to create Compose.pre files; formatting fixes.
173471ab64890Smrg    Added if not already present.
173481ab64890Smrg
173491ab64890Smrgcommit c162d60ad8f124563f94a2a266de59373936266c
17350e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
173511ab64890SmrgDate:   Wed Jun 22 22:46:31 2005 +0000
173521ab64890Smrg
173531ab64890Smrg    Apply these patches from Theo van Klaveren:
173541ab64890Smrg    lib-dmx.patch lib-FS.patch lib-X11.patch lib-XRes.patch lib-XScrnSaver.patch lib-xtrans.patch
173551ab64890Smrg    to make the libraries distcheck.
173561ab64890Smrg
173571ab64890Smrgcommit 9ee8abdab03ea605a6327118ab7dacab6adf8876
173581ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
173591ab64890SmrgDate:   Sat Jun 18 07:48:43 2005 +0000
173601ab64890Smrg
173611ab64890Smrg    Move Secure RPC flags from X11/configure.ac to xtrans/xtrans.m4 since multiple modules will need them
173621ab64890Smrg
173631ab64890Smrgcommit 12afc57b7d455781eee305e9ed6a899ceec8729e
173641ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173651ab64890SmrgDate:   Wed Jun 15 16:50:47 2005 +0000
173661ab64890Smrg
173671ab64890Smrg    Typo fix to locale/error/keysym location declarations.
173681ab64890Smrg
173691ab64890Smrgcommit 9a895777e30762f61b98d25be3b5d8b1169baa17
173701ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173711ab64890SmrgDate:   Wed Jun 15 13:37:43 2005 +0000
173721ab64890Smrg
173731ab64890Smrg    Typo in ImUtil.h commit -- I AM CAPTAIN SKILL.
173741ab64890Smrg
173751ab64890Smrgcommit add49285663684875ab7a5c58ec7a2cf8b775f67
173761ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173771ab64890SmrgDate:   Wed Jun 15 13:32:35 2005 +0000
173781ab64890Smrg
173791ab64890Smrg    Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end.
173801ab64890Smrg    Move ImUtil.h from src/ to include/X11/.
173811ab64890Smrg
173821ab64890Smrgcommit 845dfc6b42b950890866ee4df27761e086f50dca
173831ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173841ab64890SmrgDate:   Wed Jun 15 13:27:48 2005 +0000
173851ab64890Smrg
173861ab64890Smrg    Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file.
173871ab64890Smrg
173881ab64890Smrgcommit bba117f0d98f62cfb060d0fab97b407a3a0bfda9
173891ab64890SmrgAuthor: Daniel Stone <daniel@fooishbar.org>
173901ab64890SmrgDate:   Fri Jun 10 14:11:36 2005 +0000
173911ab64890Smrg
173921ab64890Smrg    Remove pointless include of Xlib.h.
173931ab64890Smrg    Fix #include path to bigreqstr.h.
173941ab64890Smrg
173951ab64890Smrgcommit 1a0de49da1274882bab05b0f7240936b37955e5c
173961ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org>
173971ab64890SmrgDate:   Thu Jun 9 21:30:15 2005 +0000
173981ab64890Smrg
173991ab64890Smrg    Use $(srcdir) for Compose.pre and XLC_LOCALE.pre
174001ab64890Smrg
174011ab64890Smrgcommit af4f0f302644ebfbb0ca9f4016a4aee85c973d37
174021ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org>
174031ab64890SmrgDate:   Thu Jun 9 15:55:33 2005 +0000
174041ab64890Smrg
174051ab64890Smrg    Replace <X11/transport.c> with <X11/Xtrans/transport.c>
174061ab64890Smrg
174071ab64890Smrgcommit fd5f58e0baf692e34b9b622286f18762cc2500d3
174081ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org>
174091ab64890SmrgDate:   Thu Jun 9 15:52:02 2005 +0000
174101ab64890Smrg
174111ab64890Smrg    Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
174121ab64890Smrg    Copy Xtrans.h to exports/include/X11/Xtrans only
174131ab64890Smrg
174141ab64890Smrgcommit 44538f9940f969d46c0e5e4b201c684cde2ba611
174151ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
174161ab64890SmrgDate:   Sun Jun 5 03:29:33 2005 +0000
174171ab64890Smrg
174181ab64890Smrg    Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT
174191ab64890Smrg
174201ab64890Smrgcommit 588e30e9ec65fa6205a34be650b79d5e2243edec
174211ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
174221ab64890SmrgDate:   Sat Jun 4 22:53:21 2005 +0000
174231ab64890Smrg
174241ab64890Smrg    Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method
174251ab64890Smrg
174261ab64890Smrgcommit a547afee2ef49cc41bbb67f9cff5a52a283c0854
174271ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
174281ab64890SmrgDate:   Sat Jun 4 21:20:20 2005 +0000
174291ab64890Smrg
174301ab64890Smrg    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)
174311ab64890Smrg
174321ab64890Smrgcommit ca93c761559ae464189c7ea7cf11c6a6679f2431
174331ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
174341ab64890SmrgDate:   Sat May 28 01:02:32 2005 +0000
174351ab64890Smrg
174361ab64890Smrg    Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383>
174371ab64890Smrg
174381ab64890Smrgcommit 09ebb349359e3dd9131fa2fa8b07559faa173654
174391ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
174401ab64890SmrgDate:   Sun May 22 19:05:11 2005 +0000
174411ab64890Smrg
174421ab64890Smrg    Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext
174431ab64890Smrg
174441ab64890Smrgcommit 761219b1ef9befc350c8a35b6f96d047e5f008cc
174451ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
174461ab64890SmrgDate:   Sat May 21 23:07:48 2005 +0000
174471ab64890Smrg
174481ab64890Smrg    xtrans:
174491ab64890Smrg    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
174501ab64890Smrg    ICE:
174511ab64890Smrg    Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro.
174521ab64890Smrg    X11:
174531ab64890Smrg    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.
174541ab64890Smrg
174551ab64890Smrgcommit 4b1ba6eb975b547b808f4d5c8825a3261de5e02a
174561ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
174571ab64890SmrgDate:   Sat May 21 04:26:12 2005 +0000
174581ab64890Smrg
174591ab64890Smrg    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)
174601ab64890Smrg    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).
174611ab64890Smrg
174621ab64890Smrgcommit 1d425d5e2092dd18a7dd599b37ed9af61cf59819
174631ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
174641ab64890SmrgDate:   Thu May 19 00:22:32 2005 +0000
174651ab64890Smrg
174661ab64890Smrg    revert last change, didn't do right thing at all, sorry for the noise
174671ab64890Smrg
174681ab64890Smrgcommit 1b0c46c1ae61d751dd3ca96de8e2c3fe21c5f4f2
174691ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
174701ab64890SmrgDate:   Thu May 19 00:10:07 2005 +0000
174711ab64890Smrg
174721ab64890Smrg    Require automake 1.7 in AM_INIT_AUTOMAKE
174731ab64890Smrg
174741ab64890Smrgcommit cd4657c175dbab6aaca36f18a0ca92c95b5567dd
17475e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
174761ab64890SmrgDate:   Tue May 17 22:32:09 2005 +0000
174771ab64890Smrg
174781ab64890Smrg    - Check for xproto as its CFLAGS are needed in the .pc file
174791ab64890Smrg
174801ab64890Smrgcommit 46e8d8a65430dd87c10b066b5cff99a689c22241
174811ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org>
174821ab64890SmrgDate:   Tue May 17 08:10:10 2005 +0000
174831ab64890Smrg
174841ab64890Smrg    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).
174851ab64890Smrg
174861ab64890Smrgcommit 23198d2bfbf0049b2630235cd4d4a4ffba7ec6c1
174871ab64890SmrgAuthor:  <ssp@aware-of-vacuity.boston.redhat.com>
174881ab64890SmrgDate:   Mon May 16 22:35:27 2005 +0000
174891ab64890Smrg
174901ab64890Smrg    Make Xdmcp unconditionally required, require various protocol modules.
174911ab64890Smrg    Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
174921ab64890Smrg    Check for kbproto if using XKB.
174931ab64890Smrg    Require xextproto rather than xextensions
174941ab64890Smrg    Remove the entries from the xlibs tree, as they are not relevant here.
174951ab64890Smrg
174961ab64890Smrgcommit 8bd3aea84ce54b8b76a898f3ae00e2b499c14a5e
17497e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
174981ab64890SmrgDate:   Mon May 16 21:48:36 2005 +0000
174991ab64890Smrg
175001ab64890Smrg    Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
175011ab64890Smrg    Check for kbproto if using XKB.
175021ab64890Smrg
175031ab64890Smrgcommit 9b1fa9ca3ed852ed40860f137511683f4bdae6fa
175041ab64890SmrgAuthor:  <ssp@aware-of-vacuity.boston.redhat.com>
175051ab64890SmrgDate:   Mon May 16 21:27:35 2005 +0000
175061ab64890Smrg
175071ab64890Smrg    Require xextproto rather than xextensions
175081ab64890Smrg    Remove the entries from the xlibs tree, as they are not relevant here.
175091ab64890Smrg
175101ab64890Smrgcommit 7eee605e3aeed549d1053325a03027c5e8cbf71b
17511e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
175121ab64890SmrgDate:   Fri May 13 22:53:36 2005 +0000
175131ab64890Smrg
175141ab64890Smrg    - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...>
175151ab64890Smrg    - For Xcomposite and Xdamage, don't link the build system out of the xc tree
175161ab64890Smrg    - Link the public X11 headers into their own directory
175171ab64890Smrg    - Add links to XKeysymDB and XErrorDB
175181ab64890Smrg    - Add links to all the Xlib man pages
175191ab64890Smrg    - Add links to the lcUniConv subdirectory
175201ab64890Smrg    - Conditionally include config.h in Xlib source
175211ab64890Smrg
175221ab64890Smrgcommit 6769ccda88caf27d1441d335ef2b318a047a612b
175231ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
175241ab64890SmrgDate:   Mon Mar 21 04:58:21 2005 +0000
175251ab64890Smrg
175261ab64890Smrg    xc/lib/X11/ErrDes.c
175271ab64890Smrg    //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>
175281ab64890Smrg
175291ab64890Smrgcommit 3b9e8ece93b916c55a82df53e85f097418edf471
175301ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
175311ab64890SmrgDate:   Sat Mar 19 22:04:55 2005 +0000
175321ab64890Smrg
175331ab64890Smrg    xc/nls/Compose/iso8859-2
175341ab64890Smrg    xc/nls/Compose/iso8859-3
175351ab64890Smrg    xc/nls/Compose/iso8859-9
175361ab64890Smrg    //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>.
175371ab64890Smrg
175381ab64890Smrgcommit 0ce5950a08b9ab23ca8a32effdd40c421e92df84
175391ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
175401ab64890SmrgDate:   Tue Mar 8 02:53:36 2005 +0000
175411ab64890Smrg
175421ab64890Smrg    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>.
175431ab64890Smrg
175441ab64890Smrgcommit df341cd2f2f263f13323e8c0936ea8aa0d7fbba1
175451ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
175461ab64890SmrgDate:   Tue Feb 1 03:12:28 2005 +0000
175471ab64890Smrg
175481ab64890Smrg    xc/nls/Compose/pt_BR.UTF-8
175491ab64890Smrg    //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>.
175501ab64890Smrg
175511ab64890Smrgcommit 483d3973f56dda51f9251d3ea808aaf7f3b48c10
175521ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
175531ab64890SmrgDate:   Fri Jan 28 18:31:31 2005 +0000
175541ab64890Smrg
175551ab64890Smrg    cleaned up boundary-case handling for Uxxxx Unicode keysym notation
175561ab64890Smrg
175571ab64890Smrgcommit f234188a4c1e6b655aef0e3957ccad20d4c5847f
175581ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
175591ab64890SmrgDate:   Wed Jan 19 01:53:55 2005 +0000
175601ab64890Smrg
175611ab64890Smrg    xc/nls/compose.dir
175621ab64890Smrg    xc/nls/locale.dir
175631ab64890Smrg    xc/nls/Compose/Imakefile
175641ab64890Smrg    xc/nls/Compose/pt_BR.UTF-8
175651ab64890Smrg    xc/nls/XI18N_OBJS/Imakefile
175661ab64890Smrg    xc/nls/XI18N_OBJS/pt_BR.UTF-8
175671ab64890Smrg    xc/nls/XLC_LOCALE/Imakefile
175681ab64890Smrg    xc/nls/XLC_LOCALE/pt_BR.UTF-8
175691ab64890Smrg    //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.
175701ab64890Smrg
175711ab64890Smrgcommit 7448ea7ef425d35cfc31eb41d46f4d879774f376
175721ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org>
175731ab64890SmrgDate:   Fri Jan 14 18:03:09 2005 +0000
175741ab64890Smrg
175751ab64890Smrg    Made some security enhancements:
175761ab64890Smrg    - no writing past end of buffer caused by bogus locale.
175771ab64890Smrg    - explicitely add a \0 character at end of string. (Bugzilla #2262)
175781ab64890Smrg
175791ab64890Smrgcommit 5557d47fcf22a6f3adf327691158f2270e3d5094
175801ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
175811ab64890SmrgDate:   Fri Jan 14 04:59:05 2005 +0000
175821ab64890Smrg
175831ab64890Smrg    xc/nls/compose.dir
175841ab64890Smrg    xc/nls/locale.alias
175851ab64890Smrg    xc/nls/locale.dir
175861ab64890Smrg    //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>.
175871ab64890Smrg
175881ab64890Smrgcommit 1fa3737f042f798fa11a9ff5b03f3b3ba3529824
175891ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org>
175901ab64890SmrgDate:   Tue Jan 11 17:37:57 2005 +0000
175911ab64890Smrg
175921ab64890Smrg    '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.
175931ab64890Smrg
175941ab64890Smrgcommit 642cd269f94a234aa470a1d43385bd42625d89a1
175951ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org>
175961ab64890SmrgDate:   Tue Dec 14 08:59:20 2004 +0000
175971ab64890Smrg
175981ab64890Smrg    Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out.
175991ab64890Smrg    Fixed typo.
176001ab64890Smrg    Added comment to a changed that's been committed with one of the previous commits.
176011ab64890Smrg
176021ab64890Smrgcommit a07ccae36e629741d2e48de7730114d30a975a41
176031ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
176041ab64890SmrgDate:   Sun Dec 12 08:42:50 2004 +0000
176051ab64890Smrg
176061ab64890Smrg    Fix missing XChangeProperty() prototype missing in synopsis section.
176071ab64890Smrg
176081ab64890Smrgcommit c73adb1c8ad806c2f9f0ba32f4b449e7a871501c
176091ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org>
176101ab64890SmrgDate:   Wed Dec 8 13:42:01 2004 +0000
176111ab64890Smrg
176121ab64890Smrg    Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform
176131ab64890Smrg
176141ab64890Smrgcommit d5e7ab194103e22fd6c5094aaa107d90210bb600
176151ab64890SmrgAuthor: Jim Gettys <jg@freedesktop.org>
176161ab64890SmrgDate:   Thu Dec 2 16:18:16 2004 +0000
176171ab64890Smrg
176181ab64890Smrg    fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor.
176191ab64890Smrg
176201ab64890Smrgcommit 03940d7330cb1bbf93d49c650aefb19de457da7c
176211ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org>
176221ab64890SmrgDate:   Wed Dec 1 13:06:55 2004 +0000
176231ab64890Smrg
176241ab64890Smrg    Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable
176251ab64890Smrg
176261ab64890Smrgcommit 11a03ab908bfcfab8a3492684e8e9320e492d552
176271ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org>
176281ab64890SmrgDate:   Wed Dec 1 12:42:17 2004 +0000
176291ab64890Smrg
176301ab64890Smrg    Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory
176311ab64890Smrg
176321ab64890Smrgcommit f3d83ee153f42e8899b844377e6b842d93411e62
176331ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org>
176341ab64890SmrgDate:   Mon Nov 15 15:06:54 2004 +0000
176351ab64890Smrg
176361ab64890Smrg    Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port
176371ab64890Smrg
176381ab64890Smrgcommit b798ea11911ac58a8e6e7d15a2a643b023859749
176391ab64890SmrgAuthor: Alexander Gottwald <ago at freedesktop dot org>
176401ab64890SmrgDate:   Mon Nov 15 13:29:56 2004 +0000
176411ab64890Smrg
176421ab64890Smrg    Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory
176431ab64890Smrg
176441ab64890Smrgcommit 436108cd6c84053698e5ca629096f59b34f50c2a
17645e9628295SmrgAuthor: Kristian Høgsberg  <krh@redhat.com>
176461ab64890SmrgDate:   Thu Nov 11 15:37:01 2004 +0000
176471ab64890Smrg
176481ab64890Smrg    Fix #1818
176491ab64890Smrg
176501ab64890Smrgcommit bf2e6ef66ba55f90efa4a4ba8c8b6d3ec0d1531c
176511ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
176521ab64890SmrgDate:   Tue Nov 9 00:56:56 2004 +0000
176531ab64890Smrg
176541ab64890Smrg    xc/nls/compose.dir
176551ab64890Smrg    xc/nls/locale.alias
176561ab64890Smrg    xc/nls/locale.dir
176571ab64890Smrg    //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>.
176581ab64890Smrg
176591ab64890Smrgcommit 443890ceefbd6dafe68e30d103ec4f9d316ed655
176601ab64890SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org>
176611ab64890SmrgDate:   Fri Nov 5 00:58:49 2004 +0000
176621ab64890Smrg
176631ab64890Smrg    xc/nls/compose.dir
176641ab64890Smrg    xc/nls/locale.alias
176651ab64890Smrg    xc/nls/locale.dir
176661ab64890Smrg    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>.
176671ab64890Smrg
176681ab64890Smrgcommit af7467ec734321f127b957921cce7792902b6794
176691ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-org>
176701ab64890SmrgDate:   Mon Oct 18 17:29:03 2004 +0000
176711ab64890Smrg
176721ab64890Smrg    Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su).
176731ab64890Smrg
176741ab64890Smrgcommit 1b900b59cb24fe8be3db0d434b04d462c0eeb206
176751ab64890SmrgAuthor: Egbert Eich <eich-at-freedesktop-dot-xorg>
176761ab64890SmrgDate:   Mon Oct 18 14:21:45 2004 +0000
176771ab64890Smrg
176781ab64890Smrg    Made handling of DevelDrivers for x86-64 more conformant to other platforms.
176791ab64890Smrg    Compress all font encodings (Stefan Dirsch).
176801ab64890Smrg    Fixed warnings.
176811ab64890Smrg    Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su).
176821ab64890Smrg    Added another compose key combination for the Euro symbol (Stefan Dirsch).
176831ab64890Smrg    Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian).
176841ab64890Smrg    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.
176851ab64890Smrg    Added explanation for DESTDIR to install to a different directory than /.
176861ab64890Smrg    Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11.
176871ab64890Smrg    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.
176881ab64890Smrg    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().
176891ab64890Smrg    Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink).
176901ab64890Smrg    Create missing links for backward compatibility to XFree86 (Stefan Dirsch).
176911ab64890Smrg    Changed comment to mention xorg.
176921ab64890Smrg    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).
176931ab64890Smrg    Added 'pic' to the man page rendering command pipeline (Werner Fink).
176941ab64890Smrg    Added missing return value (Stefan Dirsch, Roland Mainz)
176951ab64890Smrg
176961ab64890Smrgcommit 1ba103c3cad2329db3a31f88d7798b913affc570
176971ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org>
176981ab64890SmrgDate:   Wed Oct 13 07:38:00 2004 +0000
176991ab64890Smrg
177001ab64890Smrg    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>)
177011ab64890Smrg
177021ab64890Smrgcommit d80237db627bf71ad5615ff4ba05e6ab436aa740
17703e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
177041ab64890SmrgDate:   Fri Oct 8 22:57:56 2004 +0000
177051ab64890Smrg
177061ab64890Smrg    Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com>
177071ab64890Smrg    Move iso10646 last so the "fallback" fonts will actually be used if they are better matches.
177081ab64890Smrg
177091ab64890Smrgcommit d1f76d17ecf418396627b1a58319f2b9b255548a
177101ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
177111ab64890SmrgDate:   Sun Sep 26 22:54:57 2004 +0000
177121ab64890Smrg
177131ab64890Smrg    bug fix for previous patch
177141ab64890Smrg
177151ab64890Smrgcommit 48932d9b71d10e15812f47d5b842ab6aa8dac625
177161ab64890SmrgAuthor: Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>
177171ab64890SmrgDate:   Sun Sep 26 20:46:17 2004 +0000
177181ab64890Smrg
177191ab64890Smrg    The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn)
177201ab64890Smrg
177211ab64890Smrgcommit 2e02a95dcc43dd3ec7bbaf4675ffb94f5074f543
177221ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org>
177231ab64890SmrgDate:   Wed Sep 15 09:05:22 2004 +0000
177241ab64890Smrg
177251ab64890Smrg    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).
177261ab64890Smrg    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).
177271ab64890Smrg
177281ab64890Smrgcommit 2d3afb68a104a80a21ee622b9abb9c95e83505d3
177291ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org>
177301ab64890SmrgDate:   Tue Aug 31 11:37:03 2004 +0000
177311ab64890Smrg
177321ab64890Smrg    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).
177331ab64890Smrg
177341ab64890Smrgcommit e689746c8d0e21e9011e8b91a3071d235d3a2a74
177351ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
177361ab64890SmrgDate:   Thu Aug 19 06:48:06 2004 +0000
177371ab64890Smrg
177381ab64890Smrg    Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure.
177391ab64890Smrg
177401ab64890Smrgcommit d558a53a6f57eecfcaadce5141fe3a08860defcb
177411ab64890SmrgAuthor: Keith Packard <keithp@keithp.com>
177421ab64890SmrgDate:   Sat Aug 14 07:12:36 2004 +0000
177431ab64890Smrg
177441ab64890Smrg    Use XLIB_SKIP_ARGB_VISUALS environment variable to disable all depth 32 visuals. Necessary to keep Flash from crashing.
177451ab64890Smrg    Must call ValidateGC/ValidatePicture on "real" GC/Picture to ensure pCompositeClip is set correctly.
177461ab64890Smrg    Need to take the composite clip from the "real" GC/Picture and turn it into the clientClip for the backing version.
177471ab64890Smrg    Adjust pixmap screen origin to account for drawable->x/y Change debugging output a bit (disabled by default)
177481ab64890Smrg
177491ab64890Smrgcommit 85c2d81f299ed3444658011b7d6fb0a7ab8a6f55
177501ab64890SmrgAuthor: Alexander Gottwald <ago@freedesktop.org>
177511ab64890SmrgDate:   Fri Aug 13 16:28:19 2004 +0000
177521ab64890Smrg
177531ab64890Smrg    Set most significant bit to be a one. (Bug #1024, Kensuke Matsuzaki)
177541ab64890Smrg    Fix conversion from sjis and euc. (Bug #1024, Toshio Takabe)
177551ab64890Smrg
177561ab64890Smrgcommit c4d56e4e288d4e48b84b021a61638f46e9a45e27
177571ab64890SmrgAuthor: Adam Jackson <ajax@nwnk.net>
177581ab64890SmrgDate:   Wed Aug 11 05:25:13 2004 +0000
177591ab64890Smrg
177601ab64890Smrg    Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik.
177611ab64890Smrg
177621ab64890Smrgcommit 92487437173f600f208d825f65756d3ad14a4f7e
177631ab64890SmrgAuthor: Kevin E Martin <kem@kem.org>
177641ab64890SmrgDate:   Mon Aug 9 22:37:22 2004 +0000
177651ab64890Smrg
177661ab64890Smrg    Fix install problem on platforms not using xorg.cf/xfree86.cf (Bug #339, Harold L. Hunt II, Alexander Gottwald).
177671ab64890Smrg    Fix crash when using X core font in zh_CN.UTF-8 locale (Bug #368, Yu Shao, David Dawes).
177681ab64890Smrg    Fix glXMakeCurrent(Dpy, None, NULL) crash (Bug #719, Adam Jackson).
177691ab64890Smrg    HP-PA build fix (Bug #828, Guy Martin, Paul Anderson).
177701ab64890Smrg    Fix SDK build for GATOS and Wacom driver (Bug #829, Bryan Stine).
177711ab64890Smrg    Fix attempt to read video ROM before enabling it (Bug #843, Ivan Kokshaysky, Mike A. Harris).
177721ab64890Smrg    Fix detection of primary adapter (Bug #843, Ivan Kokshaysky, Mike A. Harris).
177731ab64890Smrg    Clarify xset man page description of how to use the keyboard repeat rate settings (Bug #846, Mike A. Harris).
177741ab64890Smrg    Fix problem where print-screen key would get remapped to sys-req in certain keymaps, which broke GNOME printscreen functionality (Bug #847, Owen Taylor).
177751ab64890Smrg    Fix several render problems:
177761ab64890Smrg    - MMIO mode support
177771ab64890Smrg    - Hang on IGP chips
177781ab64890Smrg    - VT switching hang
177791ab64890Smrg    - 3D render corruption (Bug #922, Hui Yu).
177801ab64890Smrg
177811ab64890Smrgcommit 55c2ee568e7d3903258286a13bdf96ce5348ffda
177821ab64890SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr>
177831ab64890SmrgDate:   Tue Jul 27 06:06:05 2004 +0000
177841ab64890Smrg
177851ab64890Smrg    - remove remaining AMOEBA references.
177861ab64890Smrg    - remove unused file.
177871ab64890Smrg
177881ab64890Smrgcommit 6e884b12911eedfb003e90a3829ce66f7fc9cf2d
17789e9628295SmrgAuthor: Søren Sandmann Pedersen  <sandmann@daimi.au.dk>
177901ab64890SmrgDate:   Tue Jul 20 17:48:09 2004 +0000
177911ab64890Smrg
177921ab64890Smrg    Tue Jul 20 19:38:06 2004 Soeren Sandmann <sandmann@daimi.au.dk>
177931ab64890Smrg    Set font_data->xlfd_data to NULL after XFree(). (#837, patch from Bastien Nocera).
177941ab64890Smrg    Tue Jul 20 18:23:32 2004 Soeren Sandmann <sandmann@daimi.au.dk>
177951ab64890Smrg    Use /dev/urandom on Linux.(#761).
177961ab64890Smrg
177971ab64890Smrgcommit 6f0bc97aa4e6de5a4b001f40ac10795cfdf09fc1
177981ab64890SmrgAuthor: Eric Anholt <anholt@freebsd.org>
177991ab64890SmrgDate:   Fri May 28 23:26:44 2004 +0000
178001ab64890Smrg
178011ab64890Smrg    Forced commit to note repocopy from xc/lib/XThrStub, will be connected to the build after this.
178021ab64890Smrg
178031ab64890Smrgcommit aa7010c43ae9f39fb84b5ff155f76117c9e527a0
178041ab64890SmrgAuthor: Egbert Eich <eich@pdx.freedesktop.org>
178051ab64890SmrgDate:   Mon May 24 19:02:11 2004 +0000
178061ab64890Smrg
178071ab64890Smrg    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.
178081ab64890Smrg
178091ab64890Smrgcommit 720702da29769d80ad1254d92edbad5b30f8a8da
178101ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
178111ab64890SmrgDate:   Sat May 22 03:47:42 2004 +0000
178121ab64890Smrg
178131ab64890Smrg    Bugzilla #658: XStringToKeysym fails for Greek_IOTAdiaeresis (Fixes VSW5 testcase XStringToKeysym-7 failure)
178141ab64890Smrg
178151ab64890Smrgcommit 3aed873292424b497d9a7dcee2975b95bf5ac966
178161ab64890SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com>
178171ab64890SmrgDate:   Sat Apr 24 23:39:25 2004 +0000
178181ab64890Smrg
178191ab64890Smrg    XOpenDisplay should try tcp connection if local connections fail (aka Sun bug id #4624183).
178201ab64890Smrg    Also includes fix from NetBSD Problem Report #25098 (Michael van Elst) (Xlib segfaults with IPv6 if compiled with HASXDMAUTH).
178211ab64890Smrg    xc/config/cf/sunLib.tmpl
178221ab64890Smrg    xc/lib/FS/Imakefile Add missing shared library dependencies for Solaris
178231ab64890Smrg
178241ab64890Smrgcommit c6349f43193b74a3c09945f3093a871b0157ba47
178251ab64890SmrgAuthor: Egbert Eich <eich@freedesktop.org>
178261ab64890SmrgDate:   Fri Apr 23 18:42:09 2004 +0000
178271ab64890Smrg
178281ab64890Smrg    Merging XORG-CURRENT into trunk
178291ab64890Smrg
178301ab64890Smrgcommit c3c4ddc682950a01b80825021f3e2503ab01ea7f
178311ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
178321ab64890SmrgDate:   Tue Nov 25 19:28:07 2003 +0000
178331ab64890Smrg
178341ab64890Smrg    Initial revision
178351ab64890Smrg
178361ab64890Smrgcommit dc4268a7dadc8da0d561757a68461246728613d3
178371ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
178381ab64890SmrgDate:   Fri Nov 14 16:48:47 2003 +0000
178391ab64890Smrg
178401ab64890Smrg    Initial revision
178411ab64890Smrg
178421ab64890Smrgcommit deae12c6b683898f5213992d561a59d4ea889cca
178431ab64890SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org>
178441ab64890SmrgDate:   Fri Nov 14 15:54:30 2003 +0000
178451ab64890Smrg
178461ab64890Smrg    R6.6 is the Xorg base-line
17847