Commit graph

238 commits

Author SHA1 Message Date
Jamey Sharp
6eee1707ea htmldir was introduced in autoconf 2.59c: set a reasonable value for earlier versions. 2006-11-19 00:34:06 -08:00
Jamey Sharp
da4d56ef5a Provide xcb_prefetch_maximum_request_length counterpart to xcb_get_maximum_request_length. 2006-11-18 22:38:42 -08:00
Jamey Sharp
aedfa1fe1d Fix Doxygen warnings.
Specifically, fixes these two warnings which were emitted for every
generated source file:

* Warning: end of file while inside a group
* Warning: group XCB_BigRequests_API already documented. Skipping documentation.
2006-11-18 22:35:53 -08:00
Jamey Sharp
44a2160c95 Make doc installation work and simplify doc/Makefile.am.
Don't override the default htmldir with an unquoted copy.

Don't suppress `make` echoing on Doxygen commands.

Ensure the tutorial is always installed even if Doxygen isn't
available.

Take better advantage of the automake installation infrastructure.
2006-11-18 22:35:39 -08:00
Jamey Sharp
142fe9a6f2 Turn off Doxygen warnings for undocumented API, for now.
But warn about absent parameter documentation for functions that are
otherwise documented.
2006-11-18 16:51:01 -08:00
Jamey Sharp
3634299ecc Switch from the old AM_PATH_CHECK macro to pkg-config.
check 0.9.4 is now required to build XCB's unit tests.

The version that we were requiring was not actually new enough to let
our unit tests compile, and the AM_PATH_CHECK macro is now considered
deprecated. We know that versions of check using pkg-config are new
enough to work, and the check dependency was optional anyway, so we've
dropped support for older versions.
2006-11-16 17:02:17 -08:00
TORRI Vincent
82762555a1 add Makefile.am for building/installing doxygen doc 2006-11-05 18:24:30 +01:00
TORRI Vincent
f32c7131cc add xcb.doxygen to EXTRA_DIST 2006-11-05 18:22:55 +01:00
TORRI Vincent
e3b7009dc0 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xcb/libxcb 2006-11-05 18:21:34 +01:00
TORRI Vincent
0262cd63a2 add AM_CHECK_DOXYGEN macro 2006-11-05 18:20:45 +01:00
Jamey Sharp
32cd2d2047 Release libxcb 1.0 RC3 (0.9.93). 2006-11-02 18:04:16 -08:00
Jeremy Kolb jkolb@brandeis.edu
9d15516054 Added initial doxygen generation stuff. This should probably be cleaned up later.
Added support for major/minor-version attributes in the xcb tag.  This is just to give some reference and help people when using *query_version.
2006-10-29 19:31:09 -05:00
TORRI Vincent
8eba8690ad fix doxy doc 2006-10-20 07:00:15 +02:00
Jamey Sharp
a5529a4f2f Add doxygen config file.
Thanks to Jeremy Kolb <jkolb@brandeis.edu> for the initial version.
2006-10-19 00:13:50 -07:00
Jamey Sharp
094248405f Quit treating xproto specially: handle it like all the extensions. 2006-10-19 00:12:31 -07:00
Jamey Sharp
6bc0b37303 Ignore generated xinerama files. 2006-10-19 00:12:31 -07:00
Josh Triplett
5abb10d63f Also test xcb_parse_display with NULL argument and display in $DISPLAY 2006-10-16 05:11:57 -07:00
Jamey Sharp
9d619d14e3 Match only XCB-namespaced XID generators when converting to xcb_generate_id.
Thanks to Vincent Torri for pointing out that I screwed up. :-)
2006-10-15 12:34:30 -07:00
Zephaniah E. Hull
5ec55dc9c0 Define and use constants for opcode numbers.
Hard coding the opcode numbers in the function just makes it harder to figure
out what's going on, but much more to the point, not defining the opcodes in
the header makes it impossible to use the generated headers instead of the
x11proto headers in the server.

The name I settled on is very simple, for an extension by the name of xconf,
and a request by the name of list_devices, we get XCB_XCONF_LIST_DEVICES.  If
this somehow causes problems, we can probably add a _OP somewhere in there,
but.

Acked-by: Jamey Sharp <jamey@minilop.net>
Closes: #8641
2006-10-14 19:52:23 -07:00
Jeremy Kolb
c1504691ec Add library support for xcb-xinerama.
This is version 1.1 of the Xinerama (PanoramiX) extension.
2006-10-12 23:52:59 -04:00
Josh Triplett
7f74dd6b64 Add note to xcbxlib.h that nothing except Xlib/XCB should use it. 2006-10-08 18:16:14 -07:00
Jamey Sharp
431f210bbb Release libxcb 1.0 RC2 (0.9.92). 2006-10-07 19:50:55 -07:00
Jamey Sharp
e0fac22caa Bugfix: make Plan 7 'checked' requests work correctly.
The initial implementation of Plan 7 dumped all X errors into the event
queue, because the record of a pending reply was pruned too early if an
error occurred in place of the expected reply.
2006-10-07 18:35:53 -07:00
Ian Osgood
7b84d8b650 Document xcb_generate_id. 2006-10-07 14:09:29 -07:00
Josh Triplett
9e10819a67 Move xcb_generate_id from xcbext.h to xcb.h
Since extensions no longer provide type-specific XID-generation functions,
xcb_generate_id now forms part of the xcb client API, rather than the
extension API; move it from xcbext.h to xcb.h accordingly.
2006-10-07 13:16:52 -07:00
Josh Triplett
b9e49b2a47 Stop implicitly importing xproto; goes with proto change to explicitly import it 2006-10-07 01:27:36 -07:00
Jamey Sharp
dd5ece6065 Declare "struct foo" or "enum foo" as well as the typedef'd name "foo". 2006-10-07 01:27:03 -07:00
Josh Triplett
16ec51397e Handle "xidunion" instead of "union" for XID unions like DRAWABLE and FONTABLE 2006-10-07 00:15:24 -07:00
Jamey Sharp
7b786bd8f3 api_conv.pl: replace xcb_*_new with calls directly to xcb_generate_id, now that we have no type-safety XID wrappers. 2006-10-06 23:32:32 -07:00
Josh Triplett
c73ff37b90 Refer to the "xlib lock" rather than the "IOLock" in xcbxlib.h 2006-10-06 20:14:48 -07:00
Josh Triplett
90eeb461be Remove XID wrapper structures and replace them with uint32_t typedefs
After positive feedback from several people, we have decided to remove the XID
wrapper structures that attempted to provide C type safety, and replace them
with uint32_t typedefs.  Feedback has indicated that these type-safety hacks
generated more trouble than help.

We will bump the libxcb soname at the next release.
2006-10-06 17:44:53 -07:00
Jamey Sharp
9bd2c0c58f Remove xcb_get_io_lock from the Xlib-specific API: it is no longer used. 2006-10-06 16:47:50 -07:00
Jamey Sharp
34168ab549 Remove the 'int *error' out-parameter for xcb_poll_for_event. 2006-10-06 16:35:36 -07:00
Jamey Sharp
40589db812 Add xcb_xlib_lock and xcb_xlib_unlock, a special-purpose two-level recursive lock just for libX11. 2006-10-04 15:01:00 -07:00
Jamey Sharp
57b0cd8fea Factor out pthread_mutex_lock and unlock calls for the iolock. 2006-10-04 14:52:49 -07:00
TORRI Vincent
e7f473afbd fix some indentation, remove args of the main function (not needed), xcb_sync -> xcb_aux_sync. Jamey, it seems that your script transforms XCBGetSetup into a type, instead of a function. Same for XCBSetupVendor. Maybe there are other fuctions that have the same problem. 2006-09-30 13:06:58 +02:00
TORRI Vincent
408e745386 update tutorial to the new api. Add some doc about cursors. Add some colors to section 6 (Opening and closing the connection to an X server). Tell me if you want to keep colors or not (colors can be modified in xcb.css) 2006-09-30 12:45:12 +02:00
Jamey Sharp
15993fccd0 Release libxcb 1.0 RC1 (0.9.91). 2006-09-25 05:12:07 -07:00
Josh Triplett
f7cd80142f Stop installing the protocol descriptions for extensions to an extensions/
subdirectory
2006-09-25 05:10:37 -07:00
Josh Triplett
0d7beff580 Actually install xcb-xlib.pc, and ship xcb-xlib.pc.in in distribution tarballs 2006-09-25 04:43:04 -07:00
Jamey Sharp
d04e7777d3 Ensure api_conv.pl is idempotent on names of constants: XCB_[A-Z0-9_]+. 2006-09-25 04:19:25 -07:00
Jamey Sharp
0bccf7d2ee Move header files to $includedir/xcb (generally $prefix/include/xcb). 2006-09-25 04:19:25 -07:00
Josh Triplett
9100981d35 Split the Xlib compatibility functions into a separate library libxcb-xlib
We don't want to have to change the libxcb soname if we later manage to remove
the Xlib compatibility functions, and nothing except Xlib should ever use
them, so split them into a separate library.
2006-09-25 02:57:19 -07:00
Jamey Sharp
810dfb8862 Move debian/ directory to new branch "debian". 2006-09-25 02:10:44 -07:00
Jamey Sharp
46b7dbdd93 We no longer need xproto: do not list it as a dependency. 2006-09-25 02:00:23 -07:00
Jamey Sharp
cf80bab8e6 Lowercase library names to correspond with the new API. 2006-09-25 01:42:12 -07:00
Ian Osgood
a1a7646d5a Add XCBAllPlanes from xcb-image util library. 2006-09-24 14:10:20 -07:00
Josh Triplett
dfbde9a4e9 Integrate top-level .gitignore into .gitignore for each subdirectory
In preparation for the repository split, move the relevant contents of the
top-level .gitignore into the .gitignore for each immediate subdirectory.
2006-09-24 03:19:54 -07:00
TORRI Vincent
905379e447 now, I know how to use api_conv.pl :) 2006-09-24 08:51:20 +02:00
Josh Triplett
16516a5e94 Remove the xcb_[extension]_init functions; use xcb_get_extension_data directly 2006-09-23 14:44:15 -07:00