summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-13Pick-up changes in m4 submoduleHEADmasterGaetan Nadon1-0/+0
Better to have all util repos at same m4 level Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-13config: remove old dead code for documentationGaetan Nadon3-27/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-09config: remove the dependency on X11 ProtocolGaetan Nadon1-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>
2014-02-09config: add missing COPYING fileGaetan Nadon1-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>
2014-02-09config: drop the check for sys/types.hGaetan Nadon1-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>
2014-02-09config: remove AC_TYPE_SSIZE_TGaetan Nadon1-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>
2014-02-09config: use AC_CONFIG_HEADERS to create a config.h fileGaetan Nadon4-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>
2014-02-09config: add bug URL to AC_INITGaetan Nadon1-1/+3
Use same layout as libxcb. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-01-29Check submodules before running autoconf.Niclas Zeising1-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>
2013-12-11xcb_aux_parse_color should take const char *Keith Packard2-2/+2
This elimiantes warnings when passing string constants Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2013-05-31atoms.c: #include <stdio.h> for vsnprintf case, not just vasprintfAlan Coopersmith1-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>
2013-01-16autogen.sh: Implement GNOME Build APIColin Walters1-1/+3
http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-01-16configure: Remove AM_MAINTAINER_MODEAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-05-30Release 0.3.9Arnaud Fontaine2-1/+7
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2012-05-21Add autogen.sh to EXTRA_DIST.Arnaud Fontaine1-1/+2
2011-05-25Do not rely anymore on gperf and m4 following removal of deprecated atoms.Arnaud Fontaine6-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>
2011-05-01Remove xcb_bitops.h.Arnaud Fontaine2-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>
2011-04-26Release 0.3.8Arnaud Fontaine1-0/+12
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-04-26Fix package nameArnaud Fontaine1-1/+1
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-04-14Use an absolute URL for the m4 submoduleDirk Wallenstein1-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>
2011-03-26Link with -no-undefinedJon TURNEY1-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>
2011-03-11pkg-config files: remove LIBS which is unrequired and undesirableGaetan Nadon4-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>
2011-03-11Remove the Doxyfile which is unused, out dated and wrong.Gaetan Nadon1-1305/+0
Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2011-03-11Fix distcheck due to xcb_atom.hGaetan Nadon19-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>
2011-03-07config: generate ChangeLog and INSTALLGaetan Nadon2-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>
2011-03-07config: use the default xorg .gitignore fileGaetan Nadon2-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>
2010-12-23Bump version to 0.3.8Arnaud Fontaine1-1/+1
2010-12-23Remove useless xcb_atom_get_fast*() and xcb_atom_get_name().Arnaud Fontaine2-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.
2010-12-23Remove synchronous xcb_atom_get()Arnaud Fontaine2-23/+0
2010-12-23Remove deprecated atoms.Arnaud Fontaine2-16/+0
Atoms defined in this library has been moved to xproto and marked as deprecated almost one year ago.
2010-12-23Create a single shared library and header file and reset SONAMEArnaud Fontaine10-33/+39
2010-12-23Split up atom, aux event into their own repositoryArnaud Fontaine7-83/+291
2010-11-14Delete callback-based APIs for events, properties, and replies.Jamey Sharp4-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>
2010-11-14Delete redundant core-protocol error codes.Jamey Sharp1-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>
2010-11-14Rename XCB_EVENT_ERROR_SUCESS to XCB_EVENT_ERROR_SUCCESSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Jamey Sharp <jamey@minilop.net>
2010-11-14Fix typos in various header commentsAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Jamey Sharp <jamey@minilop.net>
2010-11-14Add AM_MAINTAINER_MODE for vendorsArnaud Fontaine1-0/+1
2010-11-14Deprecate namespaceless pre-defined atomsPeter Harris1-1/+11
Signed-off-by: Peter Harris <pharris@opentext.com>
2010-11-14Update autogen.sh to one that does builddir != srcdirJon TURNEY1-1/+10
2010-11-14Bump version to 0.3.7Arnaud Fontaine1-1/+1
2010-11-14Bump version to 0.3.6Arnaud Fontaine1-1/+1
2010-11-14event: fix compiler warning due to missing include for memsetArnaud Fontaine1-0/+1
2010-11-14event: update to libxcb 1.4Arnaud Fontaine2-3/+1
Remove useless macros to get error information because libxcb 1.4 now provides additional fields (major_opcode, minor_opcode and resource_id) like Xlib.
2010-11-14Check for ssize_t in configure for xcb-util-common.hArnaud Fontaine1-1/+5
2010-11-14Typo in configure.acMikhail Gusarov1-1/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-11-14Release xcb-util 0.3.5Julien Danjou1-1/+1
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-11-14Add a check on xproto version libxcb was compiled withBob Ham1-1/+20
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-11-14wrapped xcb_atom.h for C++ per bug report of <comick@autistici.org>Bart Massey1-0/+8
2010-11-14Zero out handlers list in xcb_event_handlers_initMikhail Gusarov1-0/+1
xcb_event_handle relies on the fact that handler for non-handled event is NULL. Initialize handlers in xcb_event_handlers_init to avoid calling function by uninitialized pointer. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Signed-off-by: Peter Harris <pharris@opentext.com>
2010-11-14Make sure m4 supports -I flag, if not, try finding gnu m4Alan Coopersmith1-2/+18
Solaris m4 does not support -I flag, but gnu m4 is included in recent Solaris & OpenSolaris releases (and must already be installed on any machine that runs autoconf to generate configure scripts) Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Signed-off-by: Julien Danjou <julien@danjou.info>