Commit graph

418 commits

Author SHA1 Message Date
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
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
02e04059c8 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/lib/libX11 2007-12-04 06:55:04 -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
Jeremy Huddleston
b57129ef32 Use __APPLE__ instead of __DARWIN__ 2007-12-03 20:04:19 -08:00
Jeremy Huddleston
b9c032e1d5 Define __DARWIN__ when host_os == darwin* as needed in SetLocale.c 2007-11-28 16:43:49 -08:00
Alan Coopersmith
4b91ed0995 X.Org Bug #4312: incorrect comment asterisk in XAnyEvent.3x man page
X.Org Bugzilla #4312 <http://bugs.freedesktop.org/show_bug.cgi?id=4312>

Protect /* sequences from cpp pre-processor removal without transforming
to Unicode mathematical asterisk character
2007-11-21 16:50:04 -08:00
Jamey Sharp
2af660c2fc Two threads can request sequence sync and XID fetch simultaneously.
So don't assert that they can't.

This makes the Xlib/XCB implementation of _XAllocID more closely
resemble the traditional Xlib version.
2007-11-04 13:02:35 -08:00
Samuel Thibault
6e5485e0a5 X.Org Bug #12983: Typos in ./man/XChangeKeyboardControl.man
<http://bugs.freedesktop.org/show_bug.cgi?id=12983>
2007-10-29 16:17:15 -07:00
Yann Droneaud
24527c92fd XIM: Properly initialise client event
Make sure all ClientMessage fields are initialised to 0 before we send it.
2007-10-24 19:26:07 +03:00
Daniel Stone
e41477f37b Colours: Fix --disable-xcms
Disable large tracts of colour management code when passing
--disable-xcms.
2007-10-24 19:22:22 +03:00
Eric Anholt
11ea09745e Bug #2081: Note the range limitation of XSetScreenSaver arguments. 2007-08-31 17:32:04 -07:00
Kristian Høgsberg
31540f1438 Add GLX 1.4 requests and errors. 2007-08-29 19:50:57 -04:00
Eric Anholt
7c996f7891 Add XF86 keyboard/monitor brightness keysyms to the keysymbdb. 2007-08-28 15:16:00 -07:00
Eric S. Raymond
fa4effe827 Bug #9658: Bad markup on XIfEvent.3x
X.Org Bugzilla #9658 <https://bugs.freedesktop.org/show_bug.cgi?id=9658>
2007-08-21 15:43:38 -07:00
Eric S. Raymond
74cba78daa Bug #9655: Bad markup in XrmUniqueQuark.3x
X.Org Bugzilla #9655 <https://bugs.freedesktop.org/show_bug.cgi?id=9655>
2007-08-21 15:39:06 -07:00
Eric S. Raymond
4341d1a34b Bug #9654: Bad markup in XrmGetFileDatabase.3x
X.Org Bugzilla #9654 <https://bugs.freedesktop.org/show_bug.cgi?id=9654>
2007-08-21 15:36:46 -07:00
Eric S. Raymond
2db7132520 Bug #9653: Bad markup in XQueryColor.3x
X.Org Bugzilla #9653 <https://bugs.freedesktop.org/show_bug.cgi?id=9653>
2007-08-21 15:32:42 -07:00
Eric S. Raymond
9d3ceea4b9 Bug #9652: Bad markup in XDrawArc.3x
X.Org Bugzilla #9652 <https://bugs.freedesktop.org/show_bug.cgi?id=9652>
2007-08-21 15:19:59 -07:00
Eric S. Raymond
2e7e0748d3 Bug #9651: Bad markup in XcmsColor.3x
X.Org Bugzilla #9651 <https://bugs.freedesktop.org/show_bug.cgi?id=9651>
2007-08-21 15:10:59 -07:00
Eric S. Raymond
c316aaf0aa Bug #9650: Bad markup in XLoadFont.3x manual page
X.Org Bugzilla #9650 <https://bugs.freedesktop.org/show_bug.cgi?id=9650>
2007-08-21 15:06:21 -07:00
Eric S. Raymond
ca5d9a625e Bug 9523: Markup problems in XQueryExtension.3x
X.Org Bugzilla #9523 <https://bugs.freedesktop.org/show_bug.cgi?id=9523>
2007-08-21 15:06:21 -07:00
Ian Romanick
fe713c616e Make sure nls/am_ET.UTF-8/Makefile is created by configure. 2007-08-21 14:56:52 -07:00
Eric S. Raymond
e3430616f2 Bug #9516: Markup error in XAllocWMHints.3x
X.Org Bugzilla #9516 <https://bugs.freedesktop.org/show_bug.cgi?id=9516>
2007-08-21 13:30:44 -07: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
Jeremy C. Reed
f1ed3da9a3 Fix a mutex reference-counting bug.
I was told that some systems have a much more permissive libpthread.
I was asked to commit this. This is from NetBSD's X source.
(I didn't receive any feedback on xorg list for over two weeks
about this.)
2007-08-16 17:39:21 -05:00
Tilman Sauerbeck
ac00a44b48 Bumped version to 1.1.3. 2007-08-01 20:36:03 +02:00
Joerg Sonnenberger
76fae9cba1 Fail properly on errors in recursive make. 2007-07-27 11:15:47 -07:00
Brice Goglin
1a18319b3b Add missing override parameter in XrmCombineDatabase prototype in the manpage
Reported by Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393434
and https://bugs.freedesktop.org/show_bug.cgi?id=9948

Also add the type of the second argument in XrmMergeDatabases.
2007-07-26 23:31:15 +02:00
Brice Goglin
6f0764d4b5 Clarify return value of XGetCommand in case of error in the manpage
Reported by Sean Perry <shalehperry@attbi.com>
in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=133348
and https://bugs.freedesktop.org/show_bug.cgi?id=9828
2007-07-26 22:53:52 +02:00
Alan Coopersmith
b8bef57342 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 2007-07-25 17:44:06 -07:00
Kean Johnston
590cde811a Reset hostname when falling back from :0 to hostname/localhost:0 as well 2007-07-19 16:44:20 -07:00
Kean Johnston
d334665e61 LOCALCONN fallback changes DisplayString() output, breaks KDE
See <http://lists.freedesktop.org/archives/xorg/2007-July/026443.html>
2007-07-17 16:34:30 -07:00
Olivier Blin
8e76bcf3ca fix XGetMotionEvents arguments order - Fixes bug 11222 2007-06-11 18:32:09 +10:00
Jamey Sharp
c2f88cdf5c Fix locking in _XimGetWindowEventmask.
Now that XFilterEvent drops the Display lock before invoking callback
functions, _XimGetWindowEventmask is called without the lock held. So
when it called _XGetWindowAttributes, a variant of XGetWindowAttributes
that does not lock the Display, Xlib/XCB would assert:

xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

Should fix Gentoo #156367, Ubuntu #87947, Debian #427296. And others?
2007-06-10 16:19:59 -07:00