Commit graph

1016 commits

Author SHA1 Message Date
Adam Jackson
51c102d39e configure: Remove AM_MAINTAINER_MODE
Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-15 14:28:48 -05:00
Alan Coopersmith
3cd974b1d4 Remove unused DECnet ("DNETCONN") code from Xlib
Has never been converted to build in modular builds, so has been unusable
since X11R7.0 release in 2005.  DNETCONN support was removed from xtrans
back in 2008.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-09 20:50:32 -08:00
Alan Coopersmith
a6e5b36a3e Remove unused TLI ("STREAMSCONN") code from Xlib
Has never been converted to build in modular builds, so has been unusable
since X11R7.0 release in 2005.  All known platforms with TLI/XTI support
that X11R7 & later releases run on also have (and mostly prefer) BSD
socket support for their networking API.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-09 20:50:32 -08:00
Alan Coopersmith
59c9ee8cd5 Tell clang not to report -Wpadded warnings on public headers we can't fix
Better to silence the compiler warning than break ABI.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-09 20:50:32 -08:00
Jon TURNEY
0b14875002 Fix config check for loadable modules
The config check of the results of testing for dlfcn.h or dl.h just tests the
value of the ac_cv_ variables, which will be 'yes' or 'no', rather than checking
it is 'yes', so loadable module support would always be detected.

This is necessary for successful compilation for the MinGW target without the
optional dlfcn-win32 library.

v2: Also, fixed typoed name of ac_cv_header_dlfcn_h, so check still works
correctly when dlfcn.h is available

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2013-01-09 14:49:41 +00:00
Egbert Eich
cd25cab4b5 Install Xcms.txt in $(datadir) rather than $(libdir).
This file is an architecture independent data and should be where
other databases are.
This is the Xlib provided sample file, applications are free to
use a different one specifying its location in the XCMSDB env
variable.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-03 10:36:13 -05:00
Egbert Eich
51fef7e273 Don't hard code path to Xcms.txt file.
The path to this file is configurable at build time. The source
however contains a hard coded path.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-03 10:35:43 -05:00
Colin Walters
9833489e6c Fix build after dropping locales
They also needed to be removed from configure.ac

Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-12-07 15:13:14 +01:00
Egbert Eich
0a740a574a i18n: Uppercased all occurances if 'iso8859' in the full locale name.
Making all occurances of iso8859 upper case in the full local name
makes the alias entries more consistent and match the entries on
locale.dir.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-12-06 05:46:17 -05:00
Egbert Eich
5e7d589697 i18n: Remove ja.S90 and ja.U90 locales.
Both locales carry a copyright notice and a prorietary statement:

Copyright 1995 by FUJITSU LIMITED
This is source code modified by FUJITSU LIMITED under the Joint
Development Agreement for the CDEnext PST.
This is unpublished proprietary source code of FUJITSU LIMITED

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-12-06 05:46:17 -05:00
Egbert Eich
99eae3dcb7 i18n: Bring locale.dir and compose.dir in sync.
Some entries for locale/encoding combinations were missing from
either file or just misspelled, some entries were wrong or just
aliases.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-12-06 05:46:17 -05:00
Egbert Eich
d1e6baa4e2 i18n: Treat 'a3_AZ' as an alias for 'az_AZ'.
locale.alias contains a comment:
XCOMM a3 is not an ISO 639 language code, but in Cyrillic, "Z" looks like "3".
Thus lets treat 'a3' as an alias for 'az'.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Magnus Kessler <Magnus.Kessler@gmx.net>
2012-12-06 05:46:06 -05:00
Egbert Eich
fa2aab0bea i18n: Fixed typos in full locale names.
Fixing those typos those names actually match entries in
locale.dir.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-12-05 11:51:19 -05:00
Egbert Eich
b88dd95005 i18n: Remove duplicates and aliases to oneself.
Aliases to itself don't make much sense.
This changes occurances of:
xy_UV.UTF-8:			xy_UV.UTF-8
to
xy_UV:			xy_UV.UTF-8
where applicable.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: James Cloos <cloos@jhcloos.com>
2012-12-03 05:18:40 -05:00
Jens Herden
f198c6aa98 i18n: Add support for Khmer locale and compose table.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: James Cloos <cloos@jhcloos.com>
2012-12-03 05:18:17 -05:00
Kalman Kemenczy
4076189869 i18n: Add support for Serbian specific compose table entries.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: James Cloos <cloos@jhcloos.com>
2012-12-03 05:17:53 -05:00
Egbert Eich
7c14aacc9f i18n: Adding and removing comments.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: James Cloos <cloos@jhcloos.com>
2012-12-03 05:16:46 -05:00
Egbert Eich
7754d68976 i18n: Add missing locales which existed in locale.alias.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: James Cloos <cloos@jhcloos.com>
2012-12-03 05:16:31 -05:00
Egbert Eich
952eccd0d2 i18n: Consolidate compose handling for locales with UTF-8 encoding.
- add an entry to include the default en_US compose file
  for the ja_JP, ko_KR, th_TH, zh_CN, zh_HK and zh_TW locales.
- add missing entries for zh_CN. and zh_HK and am_ET.
- change entries for the UTF-8 encoding for ru_RU, ja_JP,
  ko_KR, th_TH and zh_TW to point to their native directory
  entries.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
Reviewed-by: James Cloos <cloos@jhcloos.com>
2012-11-30 09:36:51 -05:00
Yaakov Selkowitz
d14b6a250f XIM: remove Private and Public macros
Private is a struct member name in mingw-w64 <winioctl.h>, causing this
useless define in a private header to break the build.

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2012-10-29 18:43:35 -05:00
Adam Jackson
f2a8def423 XErrorDB: Add GLXBadProfileARB
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-10-17 14:41:06 -04:00
Ross Burton
d45b3fc19f Allow overriding location of keysymdef.h
Currently keysymdef.h is found by using the includedir of xproto.  This doesn't
work when cross-compiling with a sysroot as that ends up being /usr/include/X11,
not a path into the cross-build environment.

So, add an option to allow explicitly specifying the location of keysymdef.h,
and verify that the specified or found path exists.

(original patch by Martin Jansa <martin.jansa@gmail.com>, revised by myself)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2012-09-12 22:30:39 +01:00
Eric S. Raymond
44cdc0dc2c Renove some unnecessary low-level markup.
Also, SYNTAX -> SYNOPSIS so function prototypes get parsed by doclifter.
This appears to have been somebody's thinko, it's only in a few of the files.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 19:15:07 -04:00
Eric S. Raymond
b686600ab5 The .NT/.NE macro pair is no longer used. Remove it.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:53:33 -04:00
Eric S. Raymond
b83f289852 Remove the one and only use of the .NT/.NE pair.
The problem with these macros is that they rely on being able to
center the note label.  That doesn't play well with modern HTML,
not anyway without coomplications like CSS.  This use was just a cute
trick, not adding enough value to be kept.
2012-08-23 10:42:46 -04:00
Eric S. Raymond
e9509fa674 The .C{ and .C} macros are never used. Remove them.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:23:45 -04:00
Eric S. Raymond
6b2f7ddeea The .FN macro, paired with .FD, is also never used. Remove it.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:08:08 -04:00
Eric S. Raymond
cac6572701 The ".FD" macro is never used. Remove it.
It was a temptation to presentation-level klugery and is best gone.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 10:03:00 -04:00
Eric S. Raymond
6e27a828f3 Clean up, my last commit missed four cases.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 09:54:25 -04:00
Eric S. Raymond
a7fb575957 Eliminate all uses of tab stops in the libX11 man pages.
Two steps: First, expand tabs to 8 spaces in code and structure
listings.  Second, make the .Ds used to wrap code listings switch to
constant-width font (CW) rather than numeric font position 1, which
maps to R on most systems.

It is possible some archaic systems won't know what CW is, but the
only risk is that code listings won't look quite right on troff
devices; the PostScript and DVI drivers definitely grok it, so those
important cases are OK.

The purpose of these changes is to get rid of presentation-level
markup so these pages will lift clean to DocBook.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-08-23 08:24:17 -04:00
Will Thompson
8042f88ace Add compose sequences for "therefore" and "because".
These sequences look sensible to me. I added them to the APL-related
section of Mathematical Operators—they're in that section of Unicode
anyway.

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

Signed-off-by: Will Thompson <will@willthompson.co.uk>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2012-07-13 10:46:07 +01:00
Alan Coopersmith
65358ea507 Convert XCreate{Pix,Bit}map...Data to use C99 designated initializers
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-08 09:17:29 -07:00
Alan Coopersmith
0dc93f7e43 XCreate{Pix,Bit}map...Data: Free pixmap in error path if XCreateGC fails
Fixes leaks in error paths found by Parfait 1.0.0:

Error: X Resource Leak
   Leaked X Resource pix
        at line 62 of CrBFData.c in function 'XCreateBitmapFromData'.
          pix initialized at line 60 with XCreatePixmap
Error: X Resource Leak
   Leaked X Resource pix
        at line 70 of CrPFBData.c in function 'XCreatePixmapFromBitmapData'.
          pix initialized at line 66 with XCreatePixmap

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
2012-07-08 09:17:22 -07:00
Alan Coopersmith
dce84b8c39 libX11 spec: Correct prototype for XConvertSelection
selection & target parameters were accidentally run together

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-06-06 13:31:19 -07:00
Alan Coopersmith
6c5cb2a90a libX11 1.5.0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-06-01 23:37:09 -07:00
Alan Coopersmith
05c587ec3b libX11 1.4.99.902 (1.5 RC2)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-26 14:37:28 -07:00
Pander
d817834d97 Compose: Reassigned squences with minus and a or o
Reassigned squences with minus and a or o (vice versa and lower and
upper case) to conform existing series and not resulting in tilde.
Also added noe missing underscore sequence.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-25 23:28:04 -07:00
Pander
6bfd1dca6e Compose: Removed <slash> <U> and vice versa
Combination with lower case u suffices

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-25 23:26:48 -07:00
Pander
3a8b163713 Compose: Removed <n> <minus> for n with tilde, also vice versa & for upper case
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-25 23:25:39 -07:00
Pander
fd514d7a35 Compose: Removed <S> in combination with a numeral for superscript
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-25 23:24:40 -07:00
Pander
1b5cad3ca5 Compose: Reassigned <o> <apostrophe> to oacute, also for upper case.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-25 23:24:23 -07:00
James Cloos
0bbc0d5e60
Remove duplicate compose sequences from commit e51e37c118.
The compose-check script only handles compiled Compose files, not
the Compose.pre files.  One must remember to use:

    ./autogen.sh; make; make check

when reviewing patches to the Compose.pre files....

Signed-off-by: James Cloos <cloos@jhcloos.com>
2012-05-10 12:27:28 -04:00
Geoff Streeter
e51e37c118 Add APL support to compose
Signed-off-by: Geoff Streeter <geoff@dyalog.com>
Signed-off-by: James Cloos <cloos@jhcloos.com>
2012-05-08 15:48:41 -04:00
Julien Cristau
dac90324ce configure: make previous change work with older autoconf
autoconf 2.63 doesn't seem to like the nested AC_CHECK_DECL/FUNC.  So do
the tests separately.

Reported-by: Dave Airlie
Signed-off-by: Julien Cristau <jcristau@debian.org>
2012-05-05 16:05:07 +02:00
Julien Cristau
f5b50af432 configure: check if issetugid is declared
GNU/kFreeBSD has issetugid in libc (for legacy apps?), but doesn't
declare it anywhere, causing gcc to error out with
-Werror=implicit-function-declaration.  Use AC_CHECK_DECL in addition to
AC_CHECK_FUNC so we disable this code instead of failing to build it.

Debian bug#669670 <http://bugs.debian.org/669670>

Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-04 20:20:07 -07:00
Peter Hutterer
52e1b5cc3b Typo fix
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-04-30 16:37:01 +10:00
Alan Coopersmith
b64969f0e5 Add X11R7 sections to the libX11 & XKBlib credits to cover Docbook conversion
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-04-17 18:17:53 -07:00
Alan Coopersmith
9ea611696f Add olinks from libX11 & localedb specs to ICCCM spec
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-04-17 18:01:36 -07:00
Alan Coopersmith
b3c1b8cdab Add olinks from libX11 spec to ICCCM spec
Also convert ICCCM title mentions from <emphasis> to <citetitle>

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-04-17 17:49:50 -07:00
Alan Coopersmith
ebebb65e75 libX11 AppC: Fix section headers that didn't translate from nroff properly
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-04-17 09:20:13 -07:00