summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* xcb-util 0.4.1HEADxcb-util-0.4.1masterAlan Coopersmith2022-12-193-3/+11
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* xcb_aux: handle -Wimplicit-int-conversion warnings from clangAlan Coopersmith2022-12-041-4/+4
| | | | | | | | | | | | | | | | | | | | | xcb_aux.c:61:10: warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion] return depth; ~~~~~~ ^~~~~ xcb_aux.c:343:14: warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] *red = r << n; ~ ~~^~~~ xcb_aux.c:344:16: warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] *green = g << n; ~ ~~^~~~ xcb_aux.c:345:15: warning: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] *blue = b << n; ~ ~~^~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* atoms: Fix type mismatch in xcb_atom_name_unique()Alan Coopersmith2022-12-041-2/+2
| | | | | | | | | | | | | | | | | Clears clang warnings of: atoms.c:84:36: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat] return makename("%s_U%lu", base, id); ~~~ ^~ %u atoms.c:86:27: warning: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Wformat] return makename("U%lu", id); ~~~ ^~ %u Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* atoms: add format attribute to makenames() functionAlan Coopersmith2022-12-041-0/+8
| | | | | | | | | Quiets clang warning: atoms.c:53:22: warning: format string is not a string literal [-Wformat-nonliteral] n = vasprintf(&ret, fmt, ap); ^~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen: add default patch prefixMihail Konev2022-07-241-0/+3
| | | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen.sh: use quoted string variablesEmil Velikov2022-07-241-4/+4
| | | | | | | | | | Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2022-07-241-1/+1
| | | | | | | | Syncs the invocation of configure with the one from the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2022-07-201-0/+98
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update m4 to xorg/util/xcb-util-m4@c617eee22ae5c285e79e81Alan Coopersmith2022-07-201-0/+0
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-07-201-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add README.md to EXTRA_DISTAlan Coopersmith2019-02-171-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update README for gitlab migrationAlan Coopersmith2019-02-171-9/+11
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2019-02-171-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Release 0.4.00.4.0Arnaud Fontaine2014-10-152-1/+10
|
* Follow changes in m4 submodule.Arnaud Fontaine2014-02-171-0/+0
|
* Pick-up changes in m4 submoduleGaetan Nadon2014-02-171-0/+0
| | | | | | | Better to have all util repos at same m4 level Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: remove old dead code for documentationGaetan Nadon2014-02-173-27/+1
| | | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: remove the dependency on X11 ProtocolGaetan Nadon2014-02-171-2/+0
| | | | | | | | | The XPROTO_CFLAGS variable is not used. The dependency on libxcb is sufficient as it depends on xproto. This package compiles even if xproto is uninstalled after configuration. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: add missing COPYING fileGaetan Nadon2014-02-171-0/+29
| | | | | | | | This file is mandatory. It reflects the copyright statements found in the source code as written by their respective owners. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: drop the check for sys/types.hGaetan Nadon2014-02-171-3/+1
| | | | | | | | All the X supported systems do have this header file. None of the xorg modules have this check, so it is safe to remove. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: remove AC_TYPE_SSIZE_TGaetan Nadon2014-02-171-1/+0
| | | | | | | | | | This is not needed as we have standard headers and C99. This result in no change to the defines used at compile time. http://www.gnu.org/software/autoconf/manual/autoconf.html Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: use AC_CONFIG_HEADERS to create a config.h fileGaetan Nadon2014-02-174-0/+14
| | | | | | | | | | | | This file contains C preprocessor #define statements which replace the current -Ds added to each compilation invocation. This makes the gcc output command easier to read and prevents exceeding the max line limits on some computers. This is the preferred method in al the xorg modules. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: add bug URL to AC_INITGaetan Nadon2014-02-171-1/+3
| | | | | | | Use same layout as libxcb. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* Check submodules before running autoconf.Niclas Zeising2014-01-291-0/+15
| | | | | | | | | | Exit early with an informative message if the submodules are missing, since they are needed. Without this autoconf throws a bunch of uninformative errors which does not point to the actual problem. This was taken from util-keysyms. Signed-off-by: Niclas Zeising <zeising@daemonic.se> Reviewed-By: Arnaud Fontaine <arnau@debian.org>
* xcb_aux_parse_color should take const char *Keith Packard2013-12-112-2/+2
| | | | | | | This elimiantes warnings when passing string constants Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
* atoms.c: #include <stdio.h> for vsnprintf case, not just vasprintfAlan Coopersmith2013-05-311-2/+0
| | | | | | | | Both forms of v*printf() function need <stdio.h>, so include it unconditionally. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=64807 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* autogen.sh: Implement GNOME Build APIColin Walters2013-01-161-1/+3
| | | | | | http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
* configure: Remove AM_MAINTAINER_MODEAdam Jackson2013-01-161-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Release 0.3.90.3.9Arnaud Fontaine2012-05-302-1/+7
| | | | Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Add autogen.sh to EXTRA_DIST.Arnaud Fontaine2012-05-211-1/+2
|
* Do not rely anymore on gperf and m4 following removal of deprecated atoms.Arnaud Fontaine2011-05-256-146/+2
| | | | | | | | | | | As atoms were deprecated by 0a5c59f, gperf and m4 are not needed anymore, thus rename files accordingly and downgrade minimum required version of autoconf (2.62 was only needed to check for M4 in M4 util macro). Also, remove xcb_atom_get_predefined() and xcb_atom_get_name_predefined() which were only meaningful for those atoms and bump the SONAME accordingly. Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Remove xcb_bitops.h.Arnaud Fontaine2011-05-012-213/+0
| | | | | | This header file is now part of util-image and not being used in this library. Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Release 0.3.80.3.8Arnaud Fontaine2011-04-261-0/+12
| | | | Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Fix package nameArnaud Fontaine2011-04-261-1/+1
| | | | Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Use an absolute URL for the m4 submoduleDirk Wallenstein2011-04-141-1/+1
| | | | | | | | | | A relative submodule URL requires m4 duplicates relative to every fork or local mirror of this module. To select a different protocol with an absolute submodule URL, the url.<base>.insteadOf configuration option can be used. Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Arnaud Fontaine <arnau@debian.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Link with -no-undefinedJon TURNEY2011-03-261-1/+1
| | | | | | | | | | Use -no-undefined to assure libtool that the library has no unresolved symbols at link time, so that libtool will build a shared library for platforms require that all symbols are resolved when the library is linked. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Acked-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* pkg-config files: remove LIBS which is unrequired and undesirableGaetan Nadon2011-03-114-4/+4
| | | | | | | | LIBS is not supplied by the package configuration, it may be anything the builder sets through the command line. Only -lxcb-util is needed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* Remove the Doxyfile which is unused, out dated and wrong.Gaetan Nadon2011-03-111-1305/+0
| | | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* Fix distcheck due to xcb_atom.hGaetan Nadon2011-03-1119-55/+48
| | | | | | | | | | | Make does not see this target as being located in the builddir. The main issue is that "built source" is not build in the directory. Rather than investing efforts in workarounds, this patch builds the library the same way all other xorg libraries are built. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* config: generate ChangeLog and INSTALLGaetan Nadon2011-03-072-231/+12
| | | | | | | | | | By copying a snippet of Makefile for xorg modules. One side-effect is that Makefile.in is no longer deleted on maintainer clean. This should never be done as it leaves your configuration in a half-broken state. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Arnaud Fontaine <arnau@mini-dweeb.org>
* config: use the default xorg .gitignore fileGaetan Nadon2011-03-072-17/+65
| | | | | | | | This will save future maintenance when module structure/tools change. This patch depends on the util-common-m4 submodule patch in the m4 path Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Arnaud Fontaine <arnau@mini-dweeb.org>
* Bump version to 0.3.8Arnaud Fontaine2010-12-231-1/+1
|
* Remove useless xcb_atom_get_fast*() and xcb_atom_get_name().Arnaud Fontaine2010-12-232-81/+0
| | | | | | These functions and their types would require to write their unchecked equivalent however it's not worth the effort when considering that they only hide InternAtom request/reply and nothing else.
* Remove synchronous xcb_atom_get()Arnaud Fontaine2010-12-232-23/+0
|
* Remove deprecated atoms.Arnaud Fontaine2010-12-232-16/+0
| | | | | Atoms defined in this library has been moved to xproto and marked as deprecated almost one year ago.
* Create a single shared library and header file and reset SONAMEArnaud Fontaine2010-12-2310-33/+39
|
* Split up atom, aux event into their own repositoryArnaud Fontaine2010-12-237-83/+291
|
* Delete callback-based APIs for events, properties, and replies.Jamey Sharp2010-11-144-209/+1
| | | | | | | | | | | | | | | | | | | | | | | | They are poorly designed and not terribly useful. I wrote the original versions of these libraries for demonstration purposes and would like to actively discourage anyone from actually using them. After deleting the callback-based APIs, there was nothing interesting left in property or reply, so those libraries are deleted outright. The event library is no longer particularly related to event handling, but that's a problem for another commit. The icccm library had some simple hooks for integrating with the property library, which are precisely as useful as the property library itself, so I deleted them too. (Arnaud suggested this in <sa5ocib84hf.fsf@Orfeo.duckcorp.org>.) Since the icccm and event libraries have changed interfaces, this commit bumps their SONAME versions. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Acked-by: Julien Cristau <jcristau@debian.org>
* Delete redundant core-protocol error codes.Jamey Sharp2010-11-141-45/+0
| | | | | | | | | | | | | XCB already defines the error codes, though with unfortunate names. The following sed replacements should correct any code that was using these definitions: s/\<XCB_EVENT_ERROR_SUCCESS\>/0/g s/\<XCB_EVENT_ERROR_BAD_COLOR\>/XCB_COLORMAP/g s/\<XCB_EVENT_ERROR_BAD_GC\>/XCB_G_CONTEXT/g s/\<XCB_EVENT_ERROR_BAD_/XCB_/g Signed-off-by: Jamey Sharp <jamey@minilop.net>
* Rename XCB_EVENT_ERROR_SUCESS to XCB_EVENT_ERROR_SUCCESSAlan Coopersmith2010-11-141-1/+1
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Jamey Sharp <jamey@minilop.net>