summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-02-08make: implement the silent rules for m4 generated files.HEADmasterGaetan Nadon1-2/+2
Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-07make: using EXTRA_DIST for xcb-*.pc.in is redundantGaetan Nadon2-4/+0
All files mentionned in AC_CONFIG_FILES have their source files distributed automatically. http://www.gnu.org/software/automake/manual/automake.html Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2014-02-07make: there should be no attempt to remove any Makefile.in fileGaetan Nadon2-3/+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. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2014-02-07make: use AM_CPPFLAGS rather than per-target libxcb_*_la_CPPFLAGSGaetan Nadon2-2/+2
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_ewmh_la-ewmh.o simply becomes ewmh.o. http://www.gnu.org/software/automake/manual/automake.html#Renamed-Objects Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2014-02-07make: remove unused XPROTO_CFLAGS and XPROTO_LIBSGaetan Nadon2-4/+4
These should have been removed with the patch: "Split up icccm and ewmh into their own repository" back in 2011. Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2014-02-07Do not distribute ewmh C source file as they are generated with M4.Arnaud Fontaine1-2/+3
Signed-off-by: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-03config: update the README file for bug trackingGaetan Nadon1-4/+15
Update bug tracker info following libxcb format. Reviewed-by: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-03config: add missing COPYING fileGaetan Nadon1-0/+27
This file is mandatory. It reflects the copyright statements found in the source code as written by their respective owners. Reviewed-by: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-03config: add bug URL to AC_INITGaetan Nadon1-1/+3
Use same layout as libxcb. Reviewed-by: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-03config: 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. Reviewed-by: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-03config: use AC_CONFIG_HEADERS to create a config.h fileGaetan Nadon3-0/+10
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: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-03config: remove AC_TYPE_SSIZE_TGaetan Nadon1-2/+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 Reviewed-by: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-02-03config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon1-5/+7
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: Arnaud Fontaine <arnau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2014-01-29xcb-proto should have never been required as xcb provides the Atoms.Arnaud Fontaine1-1/+1
Reported on Debian BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722632 Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2014-01-29Release 0.4.0.Arnaud Fontaine2-2/+7
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
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-07-16Even though EWMH spec does not mandate window to be set, some WM expect it ↵Arnaud Fontaine1-3/+6
to be set. For example, Awesome 3.4 with Zaphod mode checks this attribute to match it to the relevant root window. Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2012-05-31Release 0.3.9Arnaud Fontaine2-1/+7
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2012-05-31Bump SONAME version following 23a4eb6.Arnaud Fontaine1-1/+1
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2012-05-30Fix GCC warning on ewmh_atom_t type.Arnaud Fontaine1-1/+1
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2012-05-21Add autogen.sh to EXTRA_DIST.Arnaud Fontaine1-0/+1
2011-08-29Fix incomplete implementation of _NET_SUPPORTING_WM_CHECK.Arnaud Fontaine2-10/+10
EWMH specification states that _NET_SUPPORTING_WM_CHECK must also be set on the child window, not only on the root window.
2011-06-30Replacing c++ class keyword in interface headerAndreas Pokorny1-3/+3
class is a c++ keyword and cannot be used for parameter names. Signed-off-by: Andreas Pokorny <Andreas.Pokorny@gmail.com> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2011-06-30Remove the Doxyfile which is unused, out dated and wrong.Arnaud Fontaine1-1306/+0
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-04-26Release 0.3.8Arnaud Fontaine1-0/+14
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-23Untabify for consistency.Arnaud Fontaine2-19/+19
Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-04-23Fix setters for _NET_WM_ICON to allow more than one icon.Arnaud Fontaine2-22/+63
Only one icon could be given at a time, thus add append setters to only set one icon at a time in a convenient way and make the general setters more generic. 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-26Fix unintialized variable for the number of iconsArnaud Fontaine1-0/+1
2011-03-26Link with -no-undefinedJon TURNEY2-2/+2
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-26Return more icons from _NET_WM_ICONUli Schlachter2-10/+87
EWMH says that _NET_WM_ICON is an array of icon. That means that it can contain more than one icon. This way, apps can provide icons of different sizes. Common sizes seem to be 16x16, 32x32 and 48x48. This commit makes it possible to access all the icons in _NET_WM_ICON via iterators instead of just the first one. Thanks to Arnaud Fontaine for his help with the API. Signed-off-by: Uli Schlachter <psychon@znc.in> Signed-off-by: Arnaud Fontaine <arnau@debian.org>
2011-03-26xcb_ewmh_get_wm_icon_reply: Fix crash on errorUli Schlachter1-5/+3
When the GetProperty request fails due to an error, xcb_ewmh_get_wm_icon_from_reply will be called with a NULL pointer for the reply. This function would then call xcb_get_property_value_length on this NULL pointer which caused a crash. Fix this by moving the NULL-pointer check before the call to value_length(). Signed-off-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2011-03-26_NET_WM_ICON: Fix the length checkUli Schlachter1-2/+2
expected_len is the expected length in number-of-pixels, but r_value_len is the number of bytes in the reply. Since a pixel consists of 4 bytes, we have to divide the number of bytes by 4 to get the number of pixels. Signed-off-by: Uli Schlachter <psychon@znc.in> Reviewed-by: Arnaud Fontaine <arnau@debian.org>
2011-03-07Check more carefully the reply of a _NET_WM_ICON which may containsArnaud Fontaine1-3/+12
several icons
2011-03-07Add ewmh/ewmh.c and ewmh/xcb_ewmh.h to .gitignore as they are generated with m4Arnaud Fontaine1-0/+2
2011-03-07config: generate ChangeLog and INSTALLGaetan Nadon2-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@debian.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@debian.org>
2011-03-06Bump version to 0.3.8Arnaud Fontaine1-1/+1
2011-03-06Prefix all ICCCM public functions, types and macros by 'icccm'.Arnaud Fontaine3-601/+601
By convention, all public functions, types and macros of other xcb/util libraries are prefixed by their name, and so should icccm. The library SONAME has been bumped since this commit completely breaks the interface.
2011-03-06Split up icccm and ewmh into their own repositoryArnaud Fontaine7-94/+287
2011-03-06Rename time function parameter to xtime in to avoid clash with time.hArnaud Fontaine1-10/+10
2011-03-06Add missing inclusion of stdlib.h in EWMH headerArnaud Fontaine2-3/+4
2010-11-14xcb_ewmh_get_wm_name_reply should have always been staticArnaud Fontaine1-4/+5
2010-11-14xcb_ewmh_init_atoms: don't use VLA for wm_cm_sn declarationArnaud Fontaine1-4/+5
2010-11-14xcb_ewmh_init_atoms: use xcb_setup_roots_length()Arnaud Fontaine1-7/+6
2010-11-14xcb_ewmh_send_client_message: check whether the data fit the ClientMessageArnaud Fontaine1-0/+2
2010-11-14A given connection may have several screens associatedArnaud Fontaine5-154/+321
2010-11-14Remove useless constArnaud Fontaine2-4/+4
2010-11-14Fix typos on _NET_WM_SYNC_REQUEST_COUNTER functions and add it in the Atoms listArnaud Fontaine2-4/+6