Commit graph

97 commits

Author SHA1 Message Date
Milos Komarcevic
da95ecbbdc Bug 11456: Serbian locale updates (sr_RS and sr_ME)
X.Org Bug #11456 <http://bugs.freedesktop.org/show_bug.cgi?id=11456>
Patch #23937 <http://bugs.freedesktop.org/attachment.cgi?id=23937>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-16 17:43:26 -07:00
Alan Coopersmith
934a6c0519 Bug 10082: Compose entries for some standard mathematical operators
X.Org Bug #10082 <http://bugs.freedesktop.org/show_bug.cgi?id=10082>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-16 14:56:39 -07:00
Alan Coopersmith
abf4da1ed0 Bug 14651: We need to add new locale specification for Belarusian Latin locale
X.Org Bug #14651 <http://bugs.freedesktop.org/show_bug.cgi?id=14651>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-16 14:31:15 -07:00
Alan Coopersmith
2219901887 Correct locale alias for sh_BA.ISO8859-2@bosnia (should be sr, not nr)
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-16 13:28:18 -07:00
Alan Coopersmith
4c63c27eab Bug 9953: Please provide locale alias hu_HU.utf8
X.Org Bug #9953 <http://bugs.freedesktop.org/show_bug.cgi?id=9953>
Debian Bug #407573 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407573>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-12 18:58:27 -07:00
Xue Wei
fd2cf1ef66 Add UTF-8 locale entries for es_US, kk_KZ, mt_MT, and sh_BA
Sun bug 6809309 Add new utf8 locales supported by Xlib
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6809309>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-04 19:33:50 -08:00
Alan Coopersmith
ccd3584f03 Incorporate more locale names/aliases from Solaris libX11
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-23 19:29:23 -08:00
Chris Ball
ee279c84e3 Fix fi_FI locale install directory.
fi_FI was setting "x11thislocaledir" to en_US, with the result that its
locale data was written in that locale dir.

Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-21 14:48:42 -05:00
Julien Cristau
642c4e928e nls: actually use the fi_FI.UTF-8 files
The subdir wasn't added to nls/Makefile.am
2009-02-21 12:21:30 +01:00
Xue Wei
ef5c446395 Add nn_NO.UTF-8 to compose.dir.pre for Norwegian Nynorsk
Sun bug 6691236: Swing applications dump core when locale is nn_NO.UTF-8
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691236>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-20 15:16:59 -08:00
Xue Wei
3822f2654e Add locale aliases for no_NO & sh_BA locale variants
Fixes Sun bug id 6691219: xterm refuses to start in some locales
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6691219>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-20 15:15:10 -08:00
Xue Wei
63b6b5b5f5 Add kk_KZ.UTF-8 to locale.dir.pre for Kazakhstan
Fixes Sun bug id 6737254 ("kk_KZ.UTF-8 locale: In Java applications
 changing keyboard layout with gimlet does not work")
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6737254>

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-20 14:23:11 -08:00
Will Thompson
20982d6866 NLS: Compose: Non-aliasing CCCP
Oops, cccp aliased cc for question mark.  Upper-case it to avoid fail.

Signed-off-by: Will Thompson <will@willthompson.co.uk>
Signed-off-by: Daniel Stone <daniel@fooishbar.org> (sorry)
2009-02-05 02:53:06 +11:00
Will Thompson
f052665394 Add two essential compose sequences
Signed-off-by: Will Thompson <will@willthompson.co.uk>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-02-05 02:23:01 +11:00
James Cloos
97fc6babd4 NLS: Add UTF-8 compose file for Finnish
From bug report:

  https://bugs.freedesktop.org/show_bug.cgi?id=18747
2009-01-29 20:17:48 -05:00
Paulo Cesar Pereira de Andrade
8ba0ca32a6 Janitor: ansification, make distcheck, compiler warnings.
Only convert to use "ansi prototypes" the functions warned from
compilation with "./autogen.sh --prefix=/usr", on a Linux computer.

  Also, only address "trivial" compiler warning fixes in this commit.

  The new .gitignore is the output of a command like:
% find . -name .gitignore -exec cat {} \; | sort | uniq
and only the toplevel .gitignore file was kept.
2009-01-28 20:31:42 -02:00
James Cloos
e32521f19e [i18n] s/U00DC/Udiaeresis/g
The xkeyboard-config keyboards generate the symbol Udiaeresis, not
U00DC.  Make sure the relevant Compose sequences expect the symbol
which the keyboards actually send.
2008-12-07 04:13:34 -05:00
James Cloos
c9d20e3f69 Use C comments rather than initial doubled hashes to exclude lines from .pre files 2008-12-07 04:08:23 -05:00
Stefan Dirsch
418819558d Fixed strange font mixups, when fontsets are still used (#2676, Novell #74299). 2008-11-22 22:01:07 +01:00
James Cloos
d16b11f25f [nls] Annotate the Bépo compose sequences
Add comments with the UCS names.
Add utf-8 strings for each result.
Format for easy reading.
2008-11-11 19:43:39 -05:00
James Cloos
7302984642 [nls] Add some UTF-8 Compose sequences
As requested for the Bépo keyboard layout (http://clavier-dvorak.org/wiki/).

Cf. bugs:

  https://bugs.freedesktop.org/show_bug.cgi?id=17821
  https://bugs.freedesktop.org/show_bug.cgi?id=17822
2008-11-11 16:41:34 -05: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
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
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
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
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
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
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
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
James Cloos
13ac80469f Update the currency symbols block of en_US.UTF-8/Compose.pre
Add XCOMM lines a la the existing NEW SHEQEL SIGN entry for
the KIP, TUGRIK, DRACHMA. GERMAN PENNY, PESO, GUARANI,
AUSTRAL, HRYVNIA and CEDI SIGNs.
2007-12-05 20:14:03 -05:00
Anton Zinoviev
b0a8f2ec4b Additions to the Compose file for UTF-8
From bug #5371¹

Commit 5cf5bc7664 left out this change
from those in attachment #4122².  The post³ on xorg resulted in only
a positive reply⁴ from Daniel, so this block is now also commited.

1] https://bugs.freedesktop.org/show_bug.cgi?id=5371
2] https://bugs.freedesktop.org/attachment.cgi?id=4122
3] http://article.gmane.org/gmane.comp.freedesktop.xorg/20628
4] http://article.gmane.org/gmane.comp.freedesktop.xorg/23966

Signed-off-by: James Cloos <cloos@jhcloos.com>
Acked-by:  Daniel Stone <daniel@fooishbar.org>
2007-12-05 19:59:19 -05:00
James Cloos
438d02ebc0 Fix the <U\x+> keysyms in the en_US.UTF-8 Compose file
Based on src/KeysymStr.c and src/StrKeysym.c and comments in
bugs #11930¹ and #5129² it is clear that <U100XXXXX> is invalid;
those should be in the form U plus the hex of the UCS Code Point.

The 0x01000000 is ORed in by the code.

This update fixes all of those.

1] https://bugs.freedesktop.org/show_bug.cgi?id=11930
2] https://bugs.freedesktop.org/show_bug.cgi?id=5129
2007-12-04 17:25:39 -05:00
James Cloos
1254c57dd3 Use the new dead_psili and dead_dasia keysyms added to proto/x11proto 7.0.11
Inspired by bug 11930¹:

Commit 40ed4eef92e31fcf7ea0a436e1a00cdf49484c1b to x11proto added dead_psili
and dead_dasia keysyms.  Make use of them in the en_US.UTF-8 and el_GR.UTF-8
Compose files.

This was done with a pair of perl scripts based on the one quoted in the
log for commit c76d30253f.

1] https://bugs.freedesktop.org/show_bug.cgi?id=11930
2007-12-04 06:53:55 -05:00
James Cloos
d8fe979fc9 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 2007-08-20 15:34:50 -04:00
James Cloos
21ca953337 Fix typo
The code <U1000000D> was used where <U10000DC> was obviously intended.

It is possible that <Udiaeresis> should be used instead, if that will
not break anyone’s setup.
2007-08-20 15:34:03 -04:00
James Cloos
4ec1723fff Add compose file for Ethiopic to match new keyboard in xkeyboard-config
From bug report:

  https://bugs.freedesktop.org/show_bug.cgi?id=11307
2007-08-20 15:25:48 -04:00
James Cloos
eff33ae525 Patch for Catalan locales
From bugzilla bug 10943¹:

  There are several Catalan locale codes which presently can
  be used in X11 systems; especially after they were accepted
  in belocs-locale-data².

  In the following patches, I³ add ca_AD, ca_FR and ca_IT Catalan
  locale codes.  For instance, without this, using ca_AD (actually
  a quite used locale⁴) some applications (eg. Emacs or Skype)
  cannot display Catalan diacritic marks as you type them.

1] https://bugs.freedesktop.org/show_bug.cgi?id=10943
2] http://lists.debian.org/debian-devel-changes/2005/07/msg01429.html
3] Toni Hermoso Pulido <toniher@softcatala.org>
4] https://launchpad.net/~ubuntu.cat/+members
2007-08-18 17:58:23 -04:00
James Cloos
1f980cb7d0 Add additional Euro signs to compose
Inspired by bug 7419¹ make all of:

    C=, =C, c=, =c, E=, =E, e=, E=

after <Multi_key> generate € U+20AC EURO SIGN.

1] https://bugs.freedesktop.org/show_bug.cgi?id=7419
2007-08-18 17:47:04 -04:00
James Cloos
4b0a145214 Compose fix for Latin-1 (from Debian)
The description from bugzilla bug 7417¹ is:

  We've been shipping this patch for some time in Debian now. The
  problem description from the patch header is reproduced below. You
  may want to note the licensing issue mentioned below, but we've been
  shipping it because the method by which this particular patch was
  generated and updated was also given below.

  This patch by Denis Barbier.

  The X11 protocol states that Unicode keysyms are in the range
  0x01000100 - 0x0110FFFF.  If the result of composing characters is a
  Unicode codepoint, X returns the corresponding Unicode keysym, which
  is its Unicode codepoint augmented by 0x01000000.  Latin-1
  characters must not appear with their Unicode codepoints in compose
  files, otherwise the returned composed character lies in the range
  0x01000000 - 0x010000FF which is not valid.

  There are two solutions: either fix composing routines to return
  0xZZ instead of 0x010000ZZ (where Z is an hexadecimal digit), or
  replace U00ZZ by their corresponding keysyms in compose files.  The
  latter is more logical and less error prone, so compose files will
  be patched.  Many applications accept these invalid Unicode keysyms,
  but few of them don't, most notably xemacs.  Only UTF-8 locales are
  affected.

  This has been fixed very recently in XFree86 CVS (but not xorg), but
  for licensing reasons, this patch is not grabbed.  Instead automatic
  conversion is performed by:

    sed -e '/XK_LATIN1/,/XK_LATIN1/!d' /usr/include/X11/keysymdef.h \
    | grep -v deprecated | grep 0x0 \
    | sed -e 's/0x0/U0/' -e 's/XK_//' \
    | awk '{ printf "s/\\b%s\\b/%s/ig\n", $3, $2; }' > sedfile
    for f in nls/*.UTF-8/Compose.pre
    do
      sed -f sedfile $f > $f.tmp && mv $f.tmp $f
    done

[I edited the quoted script to update it for the current location of
the installed keysymdef.h and the current layout of the libX11
repo. -JimC]

I applied the script, not the patch attached to the bugreport.

1] https://bugs.freedesktop.org/show_bug.cgi?id=7417
2007-08-18 17:29:08 -04:00
James Cloos
5cf5bc7664 Add some compose sequences
Add some compose sequences from the patch in bug 5371 (attachment 4122).

Cf:

https://bugs.freedesktop.org/show_bug.cgi?id=5371
https://bugs.freedesktop.org/attachment.cgi?id=4122
2007-08-18 17:13:41 -04:00
James Cloos
d4002e389d Fix SMP Compose targets
The compose targets from the SMP (plane 1) were incorrect.

At some point the 0x10000 bit had been lost.
2007-08-18 13:57:31 -04:00