Commit graph

463 commits

Author SHA1 Message Date
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
Søren Sandmann Pedersen
1a1a42a3ca XIM: Fix a hand when switching input context.
Red Hat bug #201284.
2008-02-24 20:03:35 -05:00
Adam Jackson
e02e4ccafc Bug #14029: Don't LockDisplay() recursively.
See also Red Hat bugzilla #326461.
2008-02-24 20:00:43 -05:00
Alan Coopersmith
e5892467ae Add support for building lint library with --enable-lint-library 2008-02-15 17:27:53 -08:00
Alan Coopersmith
e3eb83ec6a Spell out number in XkbGetKeyVirtualModMap man page to avoid cpp errors from # 2008-02-11 20:11:43 -08:00
Alan Coopersmith
d5ceed7a73 Add WM_LOCALE_NAME to list of properties set in XSetWMProperties comment 2008-02-08 16:46:46 -08:00
Alan Coopersmith
416a812200 XErrorDB updates for Render 0.9 & XFixes 4.0 2008-02-08 15:31:31 -08:00
Kim Woelders
16a76091cd Fix bs_BA entries in locale.dir.pre
X.Org bug#13786 <http://bugs.freedesktop.org/show_bug.cgi?id=13786>
2007-12-22 21:46:15 +01:00
James Cloos
32115c563b Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 2007-12-14 22:43:47 -05:00
James Cloos
8f0bd3f445 add a comment to en_US.UTF-8/Compose 2007-12-14 22:42:59 -05:00
James Cloos
4d6c45e60e Add <dead_stroke> compose sequences
The added sequences match the existing <Multi_key> <slash> sequences.

This is related to bug #12765¹.

1] https://bugs.freedesktop.org/show_bug.cgi?id=12765
2007-12-14 22:40:13 -05:00
Jeremy Huddleston
e8d4cefa08 Added launchd support. 2007-12-10 23:00:44 -08:00
Peter Hutterer
17d7dcbfce Merge branch 'master' into xge 2007-12-06 14:08:29 +10:30