Jamey Sharp
771761ccaa
Minor performance improvement: do not call _xcb_in_expect_reply unless it is needed. It is not often needed.
2006-04-20 11:51:01 -07:00
Jamey Sharp
8953a14f2b
Add <sys/select.h> to xcb_in.c to fix bug #6122 .
2006-04-19 22:48:10 -07:00
Alan Coopersmith
05a66af895
Bugfix: xcb_conn.c included <sys/fcntl.h> instead of the POSIX-standard <fcntl.h>.
2006-04-19 21:51:33 -07:00
Alan Coopersmith
f705456744
Only set CWARNFLAGS to gnu flags if $GCC is set. Otherwise check for Sun compiler and use its enhanced warning flag.
2006-04-19 21:40:42 -07:00
Ian Osgood
6f369fde3c
Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
2006-04-19 20:45:31 -07:00
Jamey Sharp
f090da98f3
Remove the last goto in XCB: XCBWaitForReply now permits multiple threads to force the same cookie.
2006-04-19 20:31:20 -07:00
Jamey Sharp
d5347485a5
Restructure XCBWaitForReply to eliminate two gotos.
2006-04-19 20:23:37 -07:00
Jamey Sharp
d5ab03b4b7
Fixed poll_for_reply, added comments, and refactored XCBWaitForReply to call poll_for_reply.
2006-04-19 20:15:15 -07:00
Jamey Sharp
7667adbc63
Add XCBPollForReply and deprecate XCBGetRequestRead and XCBGetQueuedRequestRead.
2006-04-19 16:49:32 -07:00
Josh Triplett
53971ea183
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
2006-04-16 11:23:52 -07:00
Josh Triplett
71de16fac2
Improve package descriptions.
2006-04-16 11:05:50 -07:00
Josh Triplett
e92bde6e51
Change Depends on x-dev to x11proto-core-dev.
2006-04-16 09:59:13 -07:00
Josh Triplett
eca61f6b5e
Add Build-Depends on libxdmcp-dev.
2006-04-16 09:25:36 -07:00
Josh Triplett
a0057d7a48
* Debian X11R7 transition:
...
* Change Build-Depends on x-dev to x11proto-core-dev.
* Install headers to /usr/include/X11, not /usr/X11R6/include/X11.
* Pre-Depends: x11-common (>= 1:1.09).
2006-04-16 09:24:01 -07:00
Josh Triplett
11c62f7d9d
Stop installing the libtool .la files.
2006-04-15 22:50:33 -07:00
Josh Triplett
057ae541a3
Update -dbg package handling to work with debhelper compat level 5.
...
Increase minimum version on debhelper Build-Depends to 5.0.0.
2006-04-15 20:44:11 -07:00
Josh Triplett
8eedb4a487
Stop running autoreconf in debian/rules, and remove Build-Depends for
...
autoconf, automake, and libtool.
2006-04-15 20:22:05 -07:00
Josh Triplett
cc075990f4
Add xcbint.h to noinst_HEADERS, so it gets distributed.
2006-04-15 20:21:22 -07:00
Josh Triplett
cb6e1849b6
Use screensaver.xml
2006-04-15 14:17:52 -07:00
Josh Triplett
91aeea2a3e
Put EXTHEADERS and EXTSOURCES in order.
2006-04-15 12:52:05 -07:00
Josh Triplett
ff38c17c48
Split all non-essential extensions into their own separate libraries, named
...
libXCBextname. To use extension extname, include extname.h and link with
-lXCBextname. This allows extensions to change without bumping the main
libXCB version.
bigreq and xc_misc remain in libXCB, because XCB uses them internally to make
big requests and to allocate XIDs, respectively.
2006-04-15 12:26:03 -07:00
Eric Anholt
8275ac3a4a
Retry a select() if it returns with EINTR. Fixes IO errors in Xephyr, which is
...
often interrupted by timers.
2006-04-09 19:51:10 -07:00
Eric Anholt
66a88ed0e5
Remove unnecessary include. Noticed by jamey.
2006-04-09 19:19:12 -07:00
Ian Osgood
922cb6137a
Work on the tutorial, and update xproto.xml to match:
...
* Fixed grammar
* Answered some TODO's and added some more
* Updated X.h constants to those in xproto.h
* Added enumerations used in tutorial to xproto.xml
* Prefered XCBFlush to XCBSync
* Corrected and refactored the "events" example
I extracted the examples to test them. Where should I put them?
2006-03-22 17:57:57 -08:00
Josh Triplett
fc577b81bf
Remove outdated fd.o-* entries from */debian/.gitignore (obsolete since before they came from .cvsignore).
2006-03-21 14:22:21 -08:00
Jamey Sharp
df5d8adc1f
The typedefs replacing Xmd.h conflict with Xmd.h. Here is a hacky workaround: FIXME!
2006-03-16 11:27:06 -08:00
Ian Osgood
5ccf7216d2
Change <bit> syntax to <bit>n</bit> as Jamey and Josh suggested
...
and add more button, key, and graphics enumerations.
2006-03-15 22:41:08 -08:00
Ian Osgood
35ecaf45be
Remove proto/X11 dependencies from xcb-demo.
2006-03-15 10:09:47 -08:00
Ian Osgood
4142e34695
Remove xcb-util dependency on proto/X11
...
by moving many defs from X.h to <enum>s in xproto.xml
2006-03-14 18:23:37 -08:00
Ian Osgood
f5c4956a81
Fix XCBGetSetup to match prototype.
2006-03-14 11:53:01 -08:00
Ian Osgood
9472c251ae
Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
2006-03-14 11:44:43 -08:00
Ian Osgood
71ddf29d00
Add an expression construct <bit bit="n"/>
...
for mask enumerations such as CW flags.
Replaces the C-specific use of 1<<n in xproto.xml
2006-03-14 10:18:22 -08:00
TORRI Vincent
0d648ac0ab
doxygen documentation of the API
2006-03-14 07:40:39 +01:00
Ian Osgood
a810d1ffe4
Remove dependencies on Xmd.h and X.h
...
(Still including X.h until defs are moved to xproto.xml
and xcb-util and xcb-demo are fixed to use them.)
2006-03-13 17:49:17 -08:00
Ian Osgood
be1302b6ef
Remove last deprecation warning.
2006-03-13 10:36:13 -08:00
Ian Osgood
d8de2c7c2a
Merge branch 'master' of git+ssh://iano@git.freedesktop.org/git/xcb
2006-03-12 23:03:24 -08:00
Ian Osgood
e7576738c3
Restructure to remove most deprecation warnings.
2006-03-12 23:02:45 -08:00
Jamey Sharp
5e0cfa84be
Use libXdmcp, if available with XdmcpWrap, for XDM-AUTHORIZATION-1. Closes bug #6106 .
2006-03-12 17:15:50 -08:00
Jamey Sharp
d69c403cba
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
2006-03-12 13:36:33 -08:00
Jamey Sharp
b83f18a4cc
Only _xcb_conn_wait calls _xcb_out_write now, so move it to xcb_conn.c and make it static.
2006-03-12 13:20:29 -08:00
Jamey Sharp
fb61c94d68
Remove c->out.vec. Pass iovecs directly down the call tree. Add _xcb_out_flush_to, refactor other functions, make write_block static.
2006-03-12 12:40:34 -08:00
Jamey Sharp
5cdc02e344
Portability fixes. Should help DragonFly and Solaris, and should not hurt anything else. Tested only on linux so far though.
2006-03-11 20:32:04 -08:00
Jamey Sharp
83e652f566
Move c->out.vec refs out of _xcb_conn_wait up to _xcb_out_flush.
2006-03-09 00:02:42 -08:00
Jamey Sharp
5b0ae3421d
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb
2006-03-08 22:50:48 -08:00
Jamey Sharp
fd1f9cb13f
Unify autofoo .gitignore bits into one top-level file, and remove resulting redundancies.
2006-03-08 22:49:59 -08:00
Ian Osgood
1261a4150c
Add symbols for error and reply response_types,
...
and use XCBKeymapNotify from xcb-proto.
2006-03-08 22:26:20 -08:00
Ian Osgood
6fb661f3ff
Bugfix: null-terminate the path in sockaddr_un before using it.
...
This may fix itermittant connect failures.
2006-03-08 21:56:57 -08:00
Jamey Sharp
621f891c49
Move c->out.vec refs out of _xcb_out_write up to _xcb_conn_wait.
2006-03-08 14:21:16 -08:00
Jamey Sharp
c491eeb9a9
Fix off-by-one error that kept the last byte(s) of the output queue from being used.
2006-03-07 21:19:58 -08:00
TORRI Vincent
522a6e0eac
Use the GCC 4 visibility extension to mark everything in xcbint.h hidden.
2006-03-07 10:25:23 -08:00