Commit graph

475 commits

Author SHA1 Message Date
James Cloos
3e9afd501e Dolt-ify
Add dolt to acinclude.m4 and call it it configure.ac to speed compiles.
2008-10-25 00:37:53 -04:00
Peter Hutterer
39c0b266ca Add more keysyms for PS3 BD remotes, Ericsson Phones #16519
X.Org Bug 16519 <https://bugs.freedesktop.org/show_bug.cgi?id=16519>
2008-10-15 14:30:20 +10:30
Peter Hutterer
d23aad3133 Add XF86Battery, XF86Bluetooth, XF86WLAN, XF86UWB to keysymdb. 2008-10-13 12:07:42 +10:30
Peter Hutterer
214ea6f5fd xkb: fix out-by-1 error in _XkbWriteKeyExplicit.
Thanks to Michael Meeks, Novell Bug 369263.
https://bugzilla.novell.com/show_bug.cgi?id=369263
2008-10-13 12:07:42 +10:30
Alan Coopersmith
e7ece39afc Sun bug #6739431: double free in _X11TransConnectDisplay()
Double free() introduced in bf53987eaf
After copying original_hostname to phostname, set original_hostname
to NULL, so we don't free the same pointer twice when we free both
original_hostname and phostname.

<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6739431>
2008-10-07 15:41:38 -07:00
Daniel Stone
0877bc916a configure.ac: Fix CC_FOR_BUILD logic error
Turns out we were accidentally smashing it so that you couldn't set it
externally at all.  Oops.
2008-09-23 19:02:02 +03:00
John Tapsell
58bf3aa746 Build: Use native compiler for makekeys
makekeys needs to be run during the build process, as opposed to on the
target, so build it with either of gcc or cc to fix cross-compiling.
This can be overridden by setting $CC_FOR_BUILD.
2008-09-23 17:30:13 +03:00
Adam Jackson
340422a5c7 Fix the previous patch for the BadFont case. 2008-09-17 12:54:34 -04:00
Matthias Clasen
2335eafe4b Bug #17616: Fix an XCB leak when the client has a non-fatal error handler. 2008-09-17 10:43:52 -04:00
Rafael Ávila de Espíndola
db0b85db29 Fix problem with <dead_acute> <c> in pt_BR.UTF-8
The <dead_acute> <C> and <dead_acute> <c> lines in the pt_BR UTF-8
Compose file show "Ç" and "ç" (c with cedilla accent) (akin to the
ISO 8859 pt_BR Compose file) as the string but specify the keysym
and comment for Ć and ć (c with acute accent).

This commit normalizes those two lines to match the specified string.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=4671

Signed-off-by: James Cloos <cloos@jhcloos.com>
2008-09-14 19:15:26 -04:00
Michael Verret
b065c011ba Fix documentation typo
Signed-off-by: James Cloos <cloos@jhcloos.com>
2008-09-08 16:42:48 -04:00
James Cloos
4213ea9518 Remove extraneous <angle brackets> from the Ethiopic Compose file.
The am_ET.UTF-8 Compose file submitted in:

https://bugs.freedesktop.org/show_bug.cgi?id=11307

for the OLCP project used incorrect syntax.  (It has angle brackets around the
Uxxxx symbols on the right hand side rather than only on the left hand side).

This bug is noted in OLPC’s ticket:

http://dev.laptop.org/ticket/7474
http://dev.laptop.org/attachment/ticket/7474/olpc_7474_dead_vowels_libX11.patch
2008-09-06 04:19:19 -04:00
James Cloos
9df84b513d Complete the set of vulgar fractions
Unicode 1.1 added thirds, fifths, sixths and eights;
we might as well catch up.

(Unicode and ISO 10646 have 1/7 (U2150), 1/9 (U2151), 1/10 (U2152)
and 0/3 (U2189) in their pipelines, but those four can be added
here after they are published.)
2008-09-01 17:58:13 -04:00
James Cloos
a788792e9d nls (en_US) Re-remove long compositions that override shorter
As reported in <https://bugs.freedesktop.org/show_bug.cgi?id=17228>:

  Commit a6f4bbf7
    nls (en_US): remove long compositions that override shorter [...]
    removed some longer compose sequences because there are shorter
    ones which take preference over the longer. For example the
    sequences:

      <Multi_key> <apostrophe> <comma> <c>   : U1E09 # ḉ
      <Multi_key> <apostrophe> <comma> <C>   : U1E08 # Ḉ

    were removed becase there already was:

      <Multi_key> <apostrophe> <comma>       : U201A # ‚

  Then commit 4ba09125
    Work on making the en_US and pt_BR UTF-8 Compose as similar as
    possible added exactly the same key sequences again. Obviusly
    they won't work.
2008-08-20 15:28:07 -04:00
James Cloos
55248e5c84 Add more <Multi_key> <cedilla> Compose tuples
The last commit missed the el_GR UTF-8 Compose.pre as well as
the various ISO 8859 locales which have compose sequences
generating ‘WITH CEDILLA’ characters.

(Interestingly, some of the 8859 locales already supported
<Multi_key> <cedilla> for some CEDILLA characters, but not
for Ç or ç.)

This is further work on bug 10397.
2008-07-17 21:01:42 -04:00
James Cloos
4ba091255b Work on making the en_US and pt_BR UTF-8 Compose as similar as possible.
The eventual goal here is to have a single primary UTF-8 Compose
file which the locale-specific UTF-8 Compose.pre files can #include.
2008-07-17 17:16:50 -04:00
James Cloos
254522d3c2 Add <Multi_key> <cedilla> Compose tuples
The en_US and pt_BR UTF-8 Compose tables had support for using <comma>
with <Multi_key> to enter CEDILLA characters.  Bug 10397 requests
support for using <cedilla> instead of <comma> in said sequences.

This commit makes both styles work.
2008-07-17 17:13:36 -04:00
James Cloos
7dc907f603 Fix commit 21e464ec68
The new block was added twice to the en_US.UTF-8 Compose.pre;
delete the duplicate.
2008-06-28 15:25:23 -04:00
Peter Hutterer
596e081b74 Fix unbalanced parenthesis in XKBlib.h # 16551
X.Org Bug 16551 <http://bugs.freedesktop.org/show_bug.cgi?id=16551>
2008-06-28 20:15:16 +09:30
Adam Jackson
f6af6dd2f7 Bug #14898: Don't abuse the sprintf() implementation.
The thing you're printing into should not itself appear in the list of
things to print from, that's bad juju.  Just use strcat().
2008-06-24 13:16:53 -04:00
Khaled Hosny
21e464ec68 NLS: Add Arabic Lam-Alef ligature compose sequences (bug #16426)
Add some Arabic digraphs to utf-8 locales with a Compose.pre

Signed-off-by: James Cloos <cloos@jhcloos.com>
2008-06-19 18:26:11 -04:00
Alan Coopersmith
bf53987eaf Rework code to choose local connection types and fallback to others
Adds --with-local-transport-order configure flag if you don't like the
default ordering (which is platform dependent)

Includes fixes for these Sun/Solaris bug ids:
6678250 X Commands returning incorrect display value unix:0.0 not <system>:0.0
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6678250>
6716481 libX11 should prefer Unix domain sockets over named pipes on Solaris
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6716481>
2008-06-18 20:00:25 -07:00
Alan Coopersmith
cf49e53701 Strip whitespace from end of lines in source files 2008-06-17 14:41:17 -07:00
Jeff Smith
f76fd81dfb Fix memory leak in XOpenDisplay
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-06-16 17:09:29 +09:30
Jens Herden
fca0b0ba3f NLS: Add Khmer compose sequences (bug #5706)
Add some Khmer digraphs to all locales with a Compose.pre.
2008-06-10 20:07:30 +03:00
Daniel Stone
e54cffb649 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 2008-06-10 20:04:30 +03:00
Peter Hutterer
721b574d36 Bump to 1.1.99.1 2008-05-29 10:57:21 +09:30
Peter Hutterer
631d32d132 Require xproto 7.0.13 and libxcb 1.1.90 (for GenericEvents) 2008-05-28 17:49:56 +09:30
Peter Hutterer
e9195db725 Merge branch 'master' into xge 2008-05-22 12:14:28 +09:30
Daniel Stone
19802ccd39 gitignore: Update with loads more bits from server 2008-05-19 19:22:31 +03:00
Adam Jackson
a7f85567a3 Bug #15884: Remove useless sleep()'s from the connection code.
For network transports, there's enough delay in the network layer
already without adding more.  For local transports, just hurry up
and fail if the server isn't there.
2008-05-13 10:28:39 -04:00
Peter Hutterer
c34f76f475 Pull down extra bytes when reading a GenericEvent (non-xcb).
I refuse to take any responsibily for this code. It works, I guess.
But - all the flushing is done somewhere before that, so we might need to
flush here. Under some circumstances anyway. Don't ask me, I'm an optical
illusion.

Build with xcb as transport layer highly recommended.
2008-05-12 21:48:12 +09:30
Peter Hutterer
c9b2ff1e6a Merge branch 'master' into xge 2008-05-12 17:58:37 +09:30
Teemu Likonen
9129057bdb Change <dead_belowdot> to <dead_belowring> for U+1E00 and U+U1E01
Commit 6b6caeea83 added <dead_belowdot>
<A> and <dead_belowdot> <a> compose sequences for letters U+1E00 and
U+U1E01 (LATIN CAPITAL/SMALL LETTER A WITH RING BELOW). This caused
duplicate compose sequences since these have already been defined. Also,
using <dead_belowring> is more logical since the diacritic is indeed
a "RING BELOW".
2008-05-07 23:20:53 +03:00
Daniel Stone
01a9cb5888 NLS: Make UTF-8 the default for Russian
No-one uses 8859-5 anymore, so make the default for Russian UTF-8; the
only other possible answer would be KOI8-R.

Signed-off-by: Sergey V. Udaltsov <sergey.udaltsov@gmail.com>
2008-05-07 20:04:44 +03:00
Ross Burton
407b81bfbb NLS: Add interrobang to UTF-8 compose tables (bug #15653)
It is what it says on the box.
2008-04-29 13:38:10 +03:00
Theppitak Karoonboonyanan
0b6682303e IM: Respect XMODIFIERS for Thai locale (bug #15719)
When looking at Thai input methods, make sure XMODIFIERS is checked
before jumping straight into built-in Thai processing, so external XIM
servers such as SCIM can be used with Thai.
2008-04-28 11:51:25 +03:00
Colin Harrison
c13aded1b2 Fix missing error condition 2008-04-26 18:56:05 +01:00
Colin Harrison
f5c5ffc175 Xlib warning fixes 2008-04-21 17:24:33 +01:00
James Cloos
6b6caeea83 Add some dead_key sequences to en_US.UTF-8 Compose table
Make use of the new dead key symbols added to x11proto’s
commit 44e24a27bca023cf7b799f191fe6d52e12efbe5f (which
was in responce to bug #15446).
2008-04-18 02:53:00 -04:00
Alan Coopersmith
8f9b039580 Update ac_define_dir macro in acinclude.m4 to 2008-04-12 version 2008-04-14 19:09:42 -07:00
Alan Coopersmith
9f5e96eb91 Fix mismatched brace indenting 2008-04-14 18:21:28 -07:00
Bart Massey
a19f9c65ee added error check in Xcms color file parser; closes bug #15305 2008-04-04 18:58:45 -07:00
Christian Weisgerber
12e8d0d01d ConnDis: properly cast 'addr' before accessing it as a byte array.
If you use XDM-AUTHORIZATION-1 authorization keys for remote X11
clients over IPv6, the clients are liable to segfaults.
2008-03-18 07:30:05 +01:00
Josh Triplett
64325f38ba Fix fd.o bug 15023: make Xlib sync correctly given many void requests
If given many requests without replies, Xlib may not sync until it flushes
the output buffer.  Thus, if Xlib can fit enough requests in the buffer to
pass by the number of requests it would normally sync after (65536 -
BUFSIZE/sizeof(xReq)), it will sync too late.  The test case in bug 15023
demonstrated this by issuing a request with a reply (ListExtensions) at
just the right time to get confused with the GetInputFocus reply issued in
response to the sync 65,536 requests later; the test case used an async
handler to watch the replies, since otherwise it could not issue a request
without waiting for the response.  When the test case failed, Xlib's sync
handler would eat the ListExtensions reply, and the test case's async
handler would see the GetInputFocus reply.

Fix this by replacing SEQLIMIT with a function sync_hazard() that uses the
buffer size to figure out when the sequence numbers could potentially wrap
before the next flush.

With this commit, the test case consistently passed, and the async reply
handler always saw the ListExtensions reply.

Commit by Jamey Sharp and Josh Triplett.
2008-03-15 13:04:54 -07:00
Colin Harrison
a5395563bb Fix typo
Signed-off-by: James Cloos <cloos@jhcloos.com>
2008-03-15 13:39:13 -04:00
Daniel Stone
f07585ca27 configure.ac: Don't search for legacy X11 headers
This can actually break cross-compiles, so don't do it anymore.
2008-03-15 17:32:57 +02:00
Matthieu Herrb
bf69541238 nuke RCS Ids 2008-03-09 09:08:07 +01:00
Adam Jackson
5e98aed13e libX11 1.1.4 2008-03-06 16:10:33 -05:00
Alan Coopersmith
8e085971dc Man page typo fixes 2008-02-28 20:17:41 -08:00