Commit graph

64 commits

Author SHA1 Message Date
Daniel Stone
add4928566 Define locations for XErrorDB, XKeysymDB, and locale data in configure.ac. Add AC_DEFINE_DIR macro from autoconf-archive.cryp.to towards this end.
Move ImUtil.h from src/ to include/X11/.
2005-06-15 13:32:35 +00:00
Daniel Stone
845dfc6b42 Move ImUtil.h from src/ to include/X11/. Additionally, copy Cmap.h as a distribution file. 2005-06-15 13:27:48 +00:00
Daniel Stone
bba117f0d9 Remove pointless include of Xlib.h.
Fix #include path to bigreqstr.h.
2005-06-10 14:11:36 +00:00
Alexander Gottwald
1a0de49da1 Use $(srcdir) for Compose.pre and XLC_LOCALE.pre 2005-06-09 21:30:15 +00:00
Alexander Gottwald
af4f0f3026 Replace <X11/transport.c> with <X11/Xtrans/transport.c> 2005-06-09 15:55:33 +00:00
Alexander Gottwald
fd5f58e0ba Replace <X11/Xtrans.h> with <X11/Xtrans/Xtrans.h>
Copy Xtrans.h to exports/include/X11/Xtrans only
2005-06-09 15:52:02 +00:00
Alan Coopersmith
44538f9940 Port Imake flags to autoconf tests & --enable-* flags: HASSETUGID, HASGETRESUID, NO_XLOCALEDIR, HAS_SHM and XF86BIGFONT 2005-06-05 03:29:33 +00:00
Alan Coopersmith
588e30e9ec Add --enable-secure-rpc flag and checks for needed functions for Secure RPC ("SUN-DES-1") authentication method 2005-06-04 22:53:21 +00:00
Alan Coopersmith
a547afee2e Bug #3436 <https://bugs.freedesktop.org/show_bug.cgi?id=3436> Conndis.c uses incorrect type for args to XdmcpWrap() (Mike Harris - mharris@www.linux.org.uk) 2005-06-04 21:20:20 +00:00
Matthieu Herrb
ca93c76155 Don't use $< in explicit rules. This only works with GNU make. <https://bugs.freedesktop.org/show_bug.cgi?id=3383> 2005-05-28 01:02:32 +00:00
Alan Coopersmith
09ebb34935 Convert man pages to long file names in lib/X11, lib/Xt, & lib/Xext 2005-05-22 19:05:11 +00:00
Alan Coopersmith
761219b1ef xtrans:
Create autoconf macro XTRANS_CONNECTION_FLAGS to provide standard set of --enable flags for which transports to support and common place to update for required libraries for platforms that need certain libs for certain transports
ICE:
Add ICE_t #define required by Xtrans headers. Replace static defines of LOCALCONN & UNIXCONN with new XTRANS_CONNECTION_FLAGS macro.
X11:
Moved transport type checks to new macro XTRANS_CONNECTION_FLAGS in xtrans.m4 in xtrans module so they can be shared by all modules using xtrans.
2005-05-21 23:07:48 +00:00
Alan Coopersmith
4b1ba6eb97 Quote $ac_cv_search_* variables to prevent errors from test when they are set to "none required" (as happens on Solaris since dlopen is in libc)
Comment out "override CC = gcc" line as it breaks builds with non-GNU makes, and its incorrect to force a specific compiler. Change LINK line from gcc to $(CC).
2005-05-21 04:26:12 +00:00
Adam Jackson
1d425d5e20 revert last change, didn't do right thing at all, sorry for the noise 2005-05-19 00:22:32 +00:00
Adam Jackson
1b0c46c1ae Require automake 1.7 in AM_INIT_AUTOMAKE 2005-05-19 00:10:07 +00:00
Søren Sandmann Pedersen
cd4657c175 - Check for xproto as its CFLAGS are needed in the .pc file 2005-05-17 22:32:09 +00:00
Egbert Eich
46e8d8a654 gcc4 allows to check if sentinels are correct (a sentinel is the terminating element in a varargs list). A sentinel needs to be NULL, not 0 - which doesn't make a difference on 32bit but matters on 64bit. Furthermore it can be told that functions have a printf-like format string and argument list so that they can verify that both match. To use these features certain attributes need to be set - which are compiler specific. To do this we define macros which are expanded depending on the compiler version. For now we put those in include/Xfuncproto.h (the XFree86 DDX layer contains a file compiler.h which however is not visible outside the DDX) (Bugzilla #3268). 2005-05-17 08:10:10 +00:00
23198d2bfb Make Xdmcp unconditionally required, require various protocol modules.
Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
Check for kbproto if using XKB.
Require xextproto rather than xextensions
Remove the entries from the xlibs tree, as they are not relevant here.
2005-05-16 22:35:27 +00:00
Søren Sandmann Pedersen
8bd3aea84c Mon May 16 17:48:03 2005 Søren Sandmann <sandmann@redhat.com>
Check for kbproto if using XKB.
2005-05-16 21:48:36 +00:00
9b1fa9ca3e Require xextproto rather than xextensions
Remove the entries from the xlibs tree, as they are not relevant here.
2005-05-16 21:27:35 +00:00
Søren Sandmann Pedersen
7eee605e3a - For now put xtrans in X11/Xtrans/X11, since libX11 is looking for it in <X11/...>
- For Xcomposite and Xdamage, don't link the build system out of the xc tree
- Link the public X11 headers into their own directory
- Add links to XKeysymDB and XErrorDB
- Add links to all the Xlib man pages
- Add links to the lcUniConv subdirectory
- Conditionally include config.h in Xlib source
2005-05-13 22:53:36 +00:00
Alan Coopersmith
6769ccda88 xc/lib/X11/ErrDes.c
//bugs.freedesktop.org/show_bug.cgi?id=132) Patch #2168 (https://bugs.freedesktop.org/attachment.cgi?id=2168) Replace a couple of BUFSIZE uses with better values to check against. Fixes by Stuart Anderson <anderson@netsweng.com>
2005-03-21 04:58:21 +00:00
Roland Mainz
3b9e8ece93 xc/nls/Compose/iso8859-2
xc/nls/Compose/iso8859-3
xc/nls/Compose/iso8859-9
//bugs.freedesktop.org/show_bug.cgi?id=2592) attachment #2156 (https://bugs.freedesktop.org/attachment.cgi?id=2156) Fix a couple of typos in ISO8859-* Compose files ("asciicircum" instead "of asciicirum"). Patch by Matthias Hopf <mhopf@suse.de>.
2005-03-19 22:04:55 +00:00
Alan Coopersmith
0ce5950a08 Bugzilla Bug 2006 (https://bugs.freedesktop.org/show_bug.cgi?id=2006) Patch #2031 (https://bugs.freedesktop.org/attachment.cgi?id=2031) XEmbed client doesn't receive key events from XIM: Use | to set a bit, not &. Patch by Hidetoshi Tajima <hidetoshi.tajima@sun.com>. 2005-03-08 02:53:36 +00:00
Roland Mainz
df341cd2f2 xc/nls/Compose/pt_BR.UTF-8
//bugs.freedesktop.org/show_bug.cgi?id=2400) attachment #1762 (https://bugs.freedesktop.org/attachment.cgi?id=1762): Fix build bustage caused by broken patch for brazillian locale support (see Bugzilla #1896). Patch by Kevin E. Martin <kem@freedesktop.org>.
2005-02-01 03:12:28 +00:00
Markus Kuhn
483d3973f5 cleaned up boundary-case handling for Uxxxx Unicode keysym notation 2005-01-28 18:31:31 +00:00
Roland Mainz
f234188a4c xc/nls/compose.dir
xc/nls/locale.dir
xc/nls/Compose/Imakefile
xc/nls/Compose/pt_BR.UTF-8
xc/nls/XI18N_OBJS/Imakefile
xc/nls/XI18N_OBJS/pt_BR.UTF-8
xc/nls/XLC_LOCALE/Imakefile
xc/nls/XLC_LOCALE/pt_BR.UTF-8
//bugs.freedesktop.org/show_bug.cgi?id=1896) attachment #1675 (https://bugs.freedesktop.org/attachment.cgi?id=1675): Add support for pt_BR.UTF-8 locale. Patch by Gustavo Noronha Silva, Branden Robinson, Julien Lafon.
2005-01-19 01:53:55 +00:00
Egbert Eich
7448ea7ef4 Made some security enhancements:
- no writing past end of buffer caused by bogus locale.
- explicitely add a \0 character at end of string. (Bugzilla #2262)
2005-01-14 18:03:09 +00:00
Roland Mainz
5557d47fcf xc/nls/compose.dir
xc/nls/locale.alias
xc/nls/locale.dir
//bugs.freedesktop.org/show_bug.cgi?id=1830) attachment #1674 (https://bugs.freedesktop.org/attachment.cgi?id=1674): Adding support for the bs_BA (bs, bs_BA, bs_BA.iso88592, bs_BA.ISO-8859-2, bs_BA.ISO_8859-2, bs_BA.UTF-8) locale. Patch by Vedran Ljubovic <vljubovic@smartnet.ba>.
2005-01-14 04:59:05 +00:00
Egbert Eich
1fa3737f04 'Normalize' locale names (ie. remove any '-' and '_' and convert to lower case after the <language>_<territory> part) before matching against locale.alias (Bugzilla #2262). This needs adequate testing that we don't accidentally introduce undesirable side effects. 2005-01-11 17:37:57 +00:00
Egbert Eich
642cd269f9 Removed #ifdef'ed out code together with the comment explaining why it was #ifdef'ed out.
Fixed typo.
Added comment to a changed that's been committed with one of the previous commits.
2004-12-14 08:59:20 +00:00
Matthieu Herrb
a07ccae36e Fix missing XChangeProperty() prototype missing in synopsis section. 2004-12-12 08:42:50 +00:00
Alexander Gottwald
c73adb1c8a Bugzilla #1980 (https://bugs.freedesktop.org/show_bug.cgi?id=1980) Handle XERRORDB only on WIN32 platform 2004-12-08 13:42:01 +00:00
Jim Gettys
d5e7ab1941 fix comment to indicate additional possible mode. i bug 1756 reported by Owen Taylor. 2004-12-02 16:18:16 +00:00
Alexander Gottwald
03940d7330 Bugzilla #1980, https://bugs.freedesktop.org/show_bug.cgi?id=1980 Make location of XErrorDB configurable 2004-12-01 13:06:55 +00:00
Alexander Gottwald
11a03ab908 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 2004-12-01 12:42:17 +00:00
Alexander Gottwald
f3d83ee153 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added mingw (Win32) port 2004-11-15 15:06:54 +00:00
Alexander Gottwald
b798ea1191 Bugzilla #1864, http://freedesktop.org/bugzilla/show_bug.cgi?id=1864 Initialize pointer to NULL to avoid freeing random memory 2004-11-15 13:29:56 +00:00
Kristian Høgsberg
436108cd6c Fix #1818 2004-11-11 15:37:01 +00:00
Roland Mainz
bf2e6ef66b xc/nls/compose.dir
xc/nls/locale.alias
xc/nls/locale.dir
//freedesktop.org/bugzilla/show_bug.cgi?id=1544): Adding support for the si_LK (si, sinhala, si_LK, si_LK.UTF-8) locale. Patch by Anuradha Ratnaweera <gnu.slash.linux@gmail.com>.
2004-11-09 00:56:56 +00:00
Roland Mainz
443890ceef xc/nls/compose.dir
xc/nls/locale.alias
xc/nls/locale.dir
Adding some of the major indic locales (bn_IN.UTF-8, bn_IN.utf8, gu_IN.UTF-8, gu_IN.utf8, pa_IN.UTF-8, pa_IN.utf8) to X. Patch by Leon Ho <llch@redhat.com>.
2004-11-05 00:58:49 +00:00
Egbert Eich
af7467ec73 Correcting font encodings for GB18030, GBK and BIG5-HKSCS. Adding nls support for those encodings (Bugzilla 1573, James Su). 2004-10-18 17:29:03 +00:00
Egbert Eich
1b900b59cb Made handling of DevelDrivers for x86-64 more conformant to other platforms.
Compress all font encodings (Stefan Dirsch).
Fixed warnings.
Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and Root mode (bugzilla #1580, James Su).
Added another compose key combination for the Euro symbol (Stefan Dirsch).
Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian).
Changed default encoding for ru from KOI8-R to ISO8859-5 (Mike Fabian). This is the encoding that is also used by glibc. We may break other libcs - lets see who complains.
Added explanation for DESTDIR to install to a different directory than /.
Added some early bailouts to atiprobe if PCI structure pointer is NULL to prevent sig11.
XV support doesn't depend on 2D acceleration any more. This patch removes this limitation from the NSC driver. This is a patch that I have committed to XFree86 a while ago but never ported over to X.Org. Matthieu Herrb contributed some build fixes.
Fixing SetDPMSTimers() so that DPMS*Time == 0 disables the appropriate timer. This takes advantage of the fact that TimerSet() with a timeout argument 0 behaves like TimerCanel().
Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink).
Create missing links for backward compatibility to XFree86 (Stefan Dirsch).
Changed comment to mention xorg.
Changed cursor for the 'kill' action from XC_draped_box to XC_Pirate. If you don't like it we can change it back (original author unkown).
Added 'pic' to the man page rendering command pipeline (Werner Fink).
Added missing return value (Stefan Dirsch, Roland Mainz)
2004-10-18 14:21:45 +00:00
Eric Anholt
1ba103c3ca Use attributes instead of pragmas for weak symbols on gcc 2.95 as well. Using pragmas may result in the symbols being undefined with big -O. (FreeBSD ports/69708, Masakazu HIGAKI <higamasa@dream.com>) 2004-10-13 07:38:00 +00:00
Søren Sandmann Pedersen
d80237db62 Fri Oct 8 18:53:11 2004 Soeren Sandmann <sandmann@redhat.com>
Move iso10646 last so the "fallback" fonts will actually be used if they are better matches.
2004-10-08 22:57:56 +00:00
Markus Kuhn
d1f76d17ec bug fix for previous patch 2004-09-26 22:54:57 +00:00
Markus Kuhn
48932d9b71 The big keysym cleanup, to bring implementation in line with the recent revision of Appendix A of the protocol spec. (Markus Kuhn) 2004-09-26 20:46:17 +00:00
Egbert Eich
2e02a95dcc Unregistering events in XSelectInput() when unregistering IM filter callbacks may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway (Lubos Lunak).
Fix size of a variable that gets assigned the value of SmartScheduleTime (long) to long. This should help to prevent smart scheduler lockup on 64 bit systems due to overruns (Andreas Schwab).
2004-09-15 09:05:22 +00:00
Egbert Eich
2d3afb68a1 Fixed some lockups in XIM code when the application is running with multi thread support. These lockups occur deep down in XFilterEvents() which itself locks when another Xlib function gets called that also locks. This fixes two instances by separating those Xlib functions into an internal (non-locking) call and a locking wrapper that is used as an external function. There may be several other such instances therefore another more general patch is eventually required (Bugzilla #1182). 2004-08-31 11:37:03 +00:00
Kevin E Martin
e689746c8d Fix header file to #ifdef the XKB keysyms when they are used. This fixes the X test suite build failure. 2004-08-19 06:48:06 +00:00