summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Check submodules before running autoconf."baserock/0.4.0Javier Jardón2015-03-301-15/+0
| | | | This reverts commit 2eb581ab2f90fbcea878f5696da3e1d7acad3c58.
* Use lorried xcb/util-common-m4Jonathan Maw2015-03-301-1/+1
|
* Release 0.4.00.4.0Arnaud Fontaine2014-10-152-1/+15
|
* Pick-up changes in m4 submodule as it's better to have all util repos at ↵Arnaud Fontaine2014-09-241-0/+0
| | | | same m4 level.
* image: use AM_CPPFLAGS rather than per-target libxcb_image_la_CPPFLAGSGaetan Nadon2014-04-171-1/+5
| | | | | | | | | | | | There is only one target in this directory, so we do not need to trigger the per-target infrastructure which would require AC_PROG_CC_C_O macro. So libxcb_image_la-xcb_image.o simply becomes xcb_image.o. http://www.gnu.org/software/automake/manual/automake.html#Renamed-Objects Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* test: move test cases into their own directoryGaetan Nadon2014-04-1711-32/+31
| | | | | | | | | Seperate building the production code from the test programs, out of principal and as it opens the possibilities of simplification in follow-up patches. Avoid file names like test_xcb_image_shm-test_xcb_image_shm Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* make: image is using X11 Protcol headers, so XPROTO_CFLAGS is requiredGaetan Nadon2014-04-171-2/+2
| | | | | | | | This package may theorically be installed at a different location. Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* make: using EXTRA_DIST for xcb-util-image.pc.in is redundantGaetan Nadon2014-04-171-2/+0
| | | | | | | | | | | All files mentionned in AC_CONFIG_FILES have their source files distributed automatically. http://www.gnu.org/software/automake/manual/automake.html Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* make: there should be no attempt to remove any Makefile.in fileGaetan Nadon2014-04-171-2/+0
| | | | | | | | | | | | | | Files generated by autoconf (and the various tools it calls) must not be removed by running a makefile. This is outside the scope of the makefile. http://lists.gnu.org/archive/html/autoconf/2007-03/msg00043.html One can use git-clean to return to the original state of the module prior to running autogen.sh, autoreconf or configure. Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: add missing COPYING fileGaetan Nadon2014-04-171-0/+27
| | | | | | | | This file is mandatory. It reflects the copyright statements found in the source code as written by their respective owners. Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: use AC_CONFIG_HEADERS to create a config.h fileGaetan Nadon2014-04-177-0/+25
| | | | | | | | | | | | | 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. Reviewed-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: remove old dead code for documentationGaetan Nadon2014-04-173-26/+0
| | | | | Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon2014-04-171-3/+6
| | | | | | | | | | Fix Automake warning: AC_OUTPUT should be used without arguments. www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Files Changed layout to one file per file like other xorg modules. Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: add bug URL to AC_INITGaetan Nadon2014-04-171-1/+3
| | | | | | | | Use same layout as libxcb. Reviewed-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* 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>
* fixed some compiler C90 warningsBart Massey2013-08-231-4/+3
|
* Fixed endianness bug in xy pixmap getimage.Bart Massey2013-08-231-3/+1
| | | | | | The endianness of the returned bit planes does not depend on the host bit order in the current server, and apparently not in the spec. So..yeah.
* increased window size for test_xcb_image for usabilityBart Massey2013-08-231-2/+2
|
* added window names to test_xcb_image windowsBart Massey2013-08-231-0/+11
|
* Fixed get_image to handle xy format with nontrivial plane_mask.Bart Massey2013-08-231-21/+19
| | | | | Or at least made it work a little. There may still be many bugs here depending on endianness, size vs stride, etc.
* changed test_xcb_image to work with XY_PIXMAP with nontrivial planemaskBart Massey2013-08-231-2/+7
|
* added additional format tests for XY_PIXMAP bit planesBart Massey2013-08-231-5/+10
|
* Fix compilation when NDEBUG is definedJon TURNEY2013-02-061-0/+2
| | | | | | | | | | | | | | | | | | | | | XORG_DEFAULT_OPTIONS enables -Werror=return-type xcb_image_get_pixel() and xcb_image_create_native() assume assert(0) is noreturn, and don't return a value in that case. But assert(0) isn't noreturn if NDEBUG is defined. Fix this by returning a suitable value. (Also, on the MinGW target, assert(0) is non-standard and may return even in the !NDEBUG case, as the C runtime may ask the user if they want to abort or not...) /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_get_pixel': /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:754:1: error: control reaches end of non-void function [-Wreturn-type] /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_create_native': /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:190:1: error: control reaches end of non-void function [-Wreturn-type] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Peter Harris <pharris@opentext.com>
* corrected return value documentation for xcb_image_shm_put()Bart Massey2012-10-281-3/+1
|
* Release 0.3.90.3.9Arnaud Fontaine2012-05-302-1/+8
| | | | Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Fix GCC warning in test_formats.Arnaud Fontaine2012-05-221-1/+1
|
* Use rand() instead of random(), being part of the C standard library,Jon TURNEY2012-05-221-1/+1
| | | | | | | it is more portable (for example, to MinGW) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* Don't try to build test_xcb_image_shm if SHM isn't available (for example, ↵Jon TURNEY2012-05-222-1/+7
| | | | | | | on MinGW) Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
* Add autogen.sh to EXTRA_DIST.Arnaud Fontaine2012-05-211-0/+1
|
* Remove Doxyfile which is unused, out dated and wrong.Arnaud Fontaine2012-05-211-1305/+0
|
* Fix xcb_bitops.h include pathRoberto Branciforti2011-05-032-2/+2
| | | | | | This patch fix the include path of the xcb_bitops.h file. Signed-off-by: rbbrnc <rbbrnci@gmail.com>
* Add missing xcb_bitops.h.Arnaud Fontaine2011-05-012-1/+213
| | | | | | | | Following the split up of xcb-util, this header was incorrectly put into util, which doesn't actually use it, whereas it should have always been in util-image. Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Release 0.3.80.3.8Arnaud Fontaine2011-04-261-0/+9
| | | | 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-0/+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>
* config: generate ChangeLog and INSTALLGaetan Nadon2011-03-072-230/+11
| | | | | | | | | | 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
|
* Fix GCC warnings due to functions not being declared as static andArnaud Fontaine2010-12-233-8/+7
| | | | random() being declared as extern
* Check whether tmp_image is not NULL before trying to dereference itArnaud Fontaine2010-12-231-5/+7
|
* Split image up into its own repositoryArnaud Fontaine2010-12-2313-117/+298
|
* test.xbm is part of the source code for test_bitmap.c.Jamey Sharp2010-11-141-1/+1
| | | | | | | This fixes distcheck. Reported-by: Chris Ball <cjb@laptop.org> Signed-off-by: Jamey Sharp <jamey@minilop.net>
* Ensure that xcb-image sample apps get built.Jamey Sharp2010-11-141-1/+1
| | | | | | Otherwise nobody will notice if they bitrot. Signed-off-by: Jamey Sharp <jamey@minilop.net>
* Fix typos in various header commentsAlan Coopersmith2010-11-141-2/+2
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Jamey Sharp <jamey@minilop.net>
* Add AM_MAINTAINER_MODE for vendorsArnaud Fontaine2010-11-141-0/+1
|
* Update autogen.sh to one that does builddir != srcdirJon TURNEY2010-11-141-1/+10
|
* Bump version to 0.3.7Arnaud Fontaine2010-11-141-1/+1
|
* Bump version to 0.3.6Arnaud Fontaine2010-11-141-1/+1
|
* Check for ssize_t in configure for xcb-util-common.hArnaud Fontaine2010-11-141-1/+5
|