Commit graph

1150 commits

Author SHA1 Message Date
Jamey Sharp
1eedf1bd03 Add correct Display locking to XKB functions.
Some XKB functions didn't correctly call LockDisplay or UnlockDisplay.
This patch fixes at least some instances of that problem.

Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for finding these bugs
and proposing a fix, which this patch is based on.
2006-10-10 23:03:28 -07:00
David Nusinow
e17c2cbe9f Dynamically generate internal manpage section using __libmanpagesuffix__ so that it actually matches the section if you don't use 3X11 2006-10-10 22:11:05 -04:00
Jamey Sharp
e53557da96 Release libX11 1.1 RC1 (1.0.99.1). 2006-10-07 21:07:35 -07:00
Jamey Sharp
bf237409c5 As XCB support is about to be released in libX11, stable is now subsumed by master. 2006-10-07 21:07:16 -07:00
Jamey Sharp
ba477191c6 XCB: Don't rely on having the definition of struct xcb_setup_t available. 2006-10-07 03:48:13 -07:00
Jamey Sharp
117b55cbd0 xcb_poll_for_event no longer takes an 'int *error' out-parameter. 2006-10-06 16:40:27 -07:00
Josh Triplett
caaa8e8a55 Actually ship Xxcbint.h 2006-10-06 16:26:11 -07:00
Josh Triplett
7b027e53b5 Clean ChangeLog only in "make maintainer-clean", not "make clean"
ChangeLog requires a git repo to generate; make clean and make distclean
shouldn't get rid of it.
2006-10-06 16:25:50 -07:00
Josh Triplett
cab22e02e7 Add ChangeLog and "make dist"-generated files to .gitignore 2006-10-06 16:24:58 -07:00
Josh Triplett
e4c7cfdee4 Add manual pages for XGetXCBConnection and XSetEventQueueOwner 2006-10-06 15:53:27 -07:00
Josh Triplett
688224cea9 Remove unnecessary prototype for _XFreeDisplayStructure in xcb_disp.c 2006-10-06 13:41:16 -07:00
Josh Triplett
ab728ca372 XCL is dead; long live Xlib/XCB
Rename all instances of "XCL" to Xlib/XCB-derived names.

The only user-visible change: rename the include file <X11/xcl.h> to
<X11/Xlib-xcb.h>; programs will need to change their #include lines to match.

Remove the XCL cast inlines from Xlib-xcb.h.
2006-10-06 12:36:39 -07:00
Josh Triplett
5b73093203 Add XCB developers to AUTHORS 2006-10-06 11:33:49 -07:00
Josh Triplett
1cb71ff139 Fix email addresses in README 2006-10-06 11:23:00 -07:00
Jamey Sharp
12f0386692 XCB: Handle all responses in order of monotonically increasing sequence number. 2006-10-06 02:13:21 -07:00
Josh Triplett
f392680273 Actually install x11-xcb.pc, and ship x11-xcb.pc.in 2006-10-06 01:12:42 -07:00
Jamey Sharp
f1fcad2e3f XCB: correctly handle failure to connect to X server. 2006-10-05 18:32:29 -07:00
Josh Triplett
e754b3b078 Split public Xlib/XCB functions into libX11-xcb
We can never change the libX11 soname, and we don't want to commit to never
changing the public Xlib/XCB functions, so split them into a separate library
libX11-xcb.  This also means that a program linked solely against libX11
should work with either Xlib or Xlib/XCB, which will make life easier for
package maintainers.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: Jamey Sharp <jamey@minilop.net>
2006-10-05 17:44:22 -07:00
Jamey Sharp
ffd367f708 No longer #include Xmd from xcl.h: we do not need it. 2006-10-04 17:16:46 -07:00
Jamey Sharp
3aff149d42 XCB: Revert locking to simple wrapper around libX11's normal locks.
No more recursive mutexes, no more banging XCB's I/O lock in-place, and
reduces the differences between the previous stable release and an
XCB-enabled one. Sadly, Xlib's pluggable thread functions work again
too, now. I apologize to the world.
2006-10-04 16:58:32 -07:00
Jamey Sharp
8ff122fb52 Link explicitly against XCB's Xlib compatibility functions. 2006-09-25 04:54:52 -07:00
Jamey Sharp
bde3cd123d libxcb now installs header files in <xcb>, not <X11/XCB>. 2006-09-25 04:13:20 -07:00
Ian Osgood
87d00207f5 Track XCB's "Great Renaming". 2006-09-24 23:39:01 -07:00
Jamey Sharp
85a5e98dff Quit using XCBGetQueuedRequestRead. 2006-09-12 23:02:42 -07:00
Tollef Fog Heen
a61936fc4e nls: use _XlcUtf8Loader for en_US (bug #7982)
Use _XlcUtf8Loader instead of _XlcUnicodeLoade,r bringing it into line with
every other locale.
2006-08-30 00:05:54 +03:00
Alan Coopersmith
abcc7e1865 When opening display, if LOCALCONN fails, fall back to UNIXCONN, then TCPCONN
Port to X11R7 of Sun bug fix 4061225 by Alex Chen for X11R6 - when failing to
connect on a named pipe, try a Unix socket first, to better support people who
replace their X servers with ones that don't support named pipe transport.
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4061225>
2006-08-23 18:49:30 -07:00
Mark Brown
1ddc44c1ca Sun bug 1149809: Document event delivery when grab is terminated. 2006-07-27 19:17:10 -07:00
Dennis Arellano
171107b03a Sun bug 4091271: XGetWindowProperty is missing a crucial prop_return description
Document that 32-bit format properties are always returned in arrays of type
long, even on systems where long is 64-bits.
<http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4091271>
2006-07-27 18:47:06 -07:00
Alan Coopersmith
8309efe655 Add support for "make lint" to check code with lint/sparse/etc. 2006-07-24 15:52:00 -07:00
Alan Coopersmith
931e02fbd1 ANSIfy some static function definitions 2006-07-24 15:50:52 -07:00
Alan Coopersmith
20b7abcaac Fix sparse warning: Using plain integer as NULL pointer 2006-07-24 15:01:40 -07:00
Alan Coopersmith
d158ab2993 Remove unused variable 2006-07-24 14:00:24 -07:00
Eric Anholt
3037700037 Bug #7188: Fix the documentation of XUrgencyHint (not UrgencyHint). 2006-07-21 18:56:04 -04:00
Matthieu Herrb
4eba45879a set GIT_DIR=${srcdir}/.git for git-log 2006-07-16 10:55:39 +02:00
Aaron Plattner
2d426d1f26 Add a .PHONY to ensure the ChangeLog isn't stale.
Setting the ChangeLog rule as phony forces it to be re-run even when the
ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
Solaris make.
(cherry picked from b8a98809ed commit)
2006-07-11 13:28:14 -07:00
Aaron Plattner
b8a98809ed Add a .PHONY to ensure the ChangeLog isn't stale.
Setting the ChangeLog rule as phony forces it to be re-run even when the
ChangeLog file already exists. Research indicates .PHONY is portable to BSD and
Solaris make.
2006-07-11 13:27:49 -07:00
Mayank Jain
8f2be66089 add Indian language locales
Add as, kn, ml, or, ur, and te locales.
2006-07-11 19:42:47 +01:00
Matthias Hopf
a92eb67856 Fix for autoconf 2.60 issue.
Updated AC_DEFINE_DIR.
Reverted datarootdir change.
2006-07-04 12:16:30 +02:00
Keith Packard
644f4828b1 Work around recent autoconf (2.59?) changes in directory expansion.
Recent autoconf versions have changed how directory names are managed in the
configure.ac script; automatic 'eval' invocations now occur as a part of the
AC_DEFINE_DIR macro which make it imperative that AC_DEFINE_DIR be executed
before the variables are used in further macro definitions. Also, ${datadir}
is apparantly an old name for ${datarootdir} as ${datadir} doesn't get
expanded correctly by AC_DEFINE_DIR. This looks like an autoconf bug, but it
is easy to work around by just using ${datarootdir} instead of ${datadir}.
2006-07-01 21:31:23 -07:00
Keith Packard
be70a31229 Xlib/XCB: handle 32-bit sequence wrap.
Replace broken sequence compares with XCB_SEQUENCE_COMPARE (copied from
XCB).
Account for XCB sequence 0 handling.
2006-07-01 01:56:05 -07:00
Donnie Berkholz
99c711707a Bump version to 1.0.3. 2006-06-29 19:43:20 -07:00
Donnie Berkholz
cde3c0dd72 Bug #7349: Missed one of the setuid fixes.
(cherry picked from e9614c963b commit)
2006-06-29 19:41:51 -07:00
Matthias Hopf
df3fef8983 Update to final Compose cache directory location.
(cherry picked from abda4d223e commit)
2006-06-29 19:41:44 -07:00
Matthias Hopf
912ef19829 Fix alignment of trees and wide chars in the cache.
(cherry picked from 40a64c61f8 commit)
2006-06-29 19:41:37 -07:00
Matthias Hopf
2ece832118 First (dummy) entry of compose caches was not initialized and thus contained varying garbage.
(cherry picked from f442dcaa56 commit)
2006-06-29 19:41:29 -07:00
Donnie Berkholz
e9614c963b Bug #7349: Missed one of the setuid fixes. 2006-06-29 19:39:36 -07:00
Matthias Hopf
abda4d223e Update to final Compose cache directory location. 2006-06-29 18:59:57 +02:00
Matthias Hopf
40a64c61f8 Fix alignment of trees and wide chars in the cache. 2006-06-29 17:41:41 +02:00
Matthias Hopf
f442dcaa56 First (dummy) entry of compose caches was not initialized and thus contained varying garbage. 2006-06-28 19:17:03 +02:00
Donnie Berkholz
bdbe464d77 Delete ChangeLog, and add a rule to autogenerate it for distribution. Also
add 'foreign' to AM_INIT_AUTOMAKE to make autotools happy with not having a
ChangeLog.
(cherry picked from b0edfb8df1 commit)
2006-06-22 23:59:03 -07:00