summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "autogen.sh: verify that git submodules are initialized"baserock/0.4.0Javier Jardón2015-03-301-15/+0
| | | | This reverts commit e527fdc914d4b4fa816ea9e563c6abf6505b39d3.
* Change the url in .gitmodules to the baserock troveRichard Dale2015-03-301-1/+1
|
* Release 0.4.00.4.0Arnaud Fontaine2014-10-012-1/+7
|
* Remove old/outdated documentation crufts.Arnaud Fontaine2014-10-014-1331/+0
|
* 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.
* Fix handling of error connectionsUli Schlachter2014-02-221-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When an xcb_connection_t goes into an error state, all operations on it will fail. This means that after a call to xcb_key_symbols_get_reply(), syms->u.reply would still be a NULL pointer and that xcb_get_setup() returns a NULL pointer. The only way for xcb_get_setup() to return NULL is for an error connection, but xcb_get_keyboard_mapping_reply() could also fail for other reasons. So to fix this, all functions need to check for error connections and if syms->u.reply is not NULL. This was tested with the following C code: #include <xcb_keysyms.h> #include <stdio.h> #include <stdlib.h> int main() { xcb_connection_t *c = xcb_connect(NULL, NULL); xcb_key_symbols_t *syms = xcb_key_symbols_alloc(c); /* The above sent a GetKeyboardMapping request. Let's now break the * connection so that it cannot get the reply. */ uint32_t max = xcb_get_maximum_request_length(c); xcb_screen_t *s = xcb_setup_roots_iterator(xcb_get_setup(c)).data; size_t len = (max << 2) * 2; void *p = malloc(len); printf("Sending request of length %d*2=%d\n", xcb_get_maximum_request_length(c), len); xcb_change_property(c, XCB_PROP_MODE_REPLACE, s->root, XCB_ATOM_STRING, XCB_ATOM_STRING, 8, len, p); free(p); if (!xcb_connection_has_error(c)) puts("Connection did not break :("); /* Crash? */ free(xcb_key_symbols_get_keycode(syms, 0xff14)); return 0; } Reference: https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1195 Signed-off-by: Uli Schlachter <psychon@znc.in>
* Duplicate keycodes are unnecessaryBastien Dejean2013-02-241-2/+3
| | | | | | | | When multiple keysym matches occur on one keycode, we do not want to return that keycode multiple times. Signed-off-by: Bastien Dejean <nihilhill@gmail.com> Signed-off-by: Michael Stapelberg <michael+xcb@stapelberg.de>
* autogen.sh: verify that git submodules are initializedMichael Stapelberg2012-11-291-0/+15
|
* Release 0.3.90.3.9Arnaud Fontaine2012-05-302-1/+6
| | | | Signed-off-by: Arnaud Fontaine <arnau@debian.org>
* Add autogen.sh to EXTRA_DIST.Arnaud Fontaine2012-05-211-0/+2
|
* Recognise ISO_Level5-keysyms as modifiers in xcb_is_modifier_key #39177Andreas Wettstein2012-01-111-1/+1
| | | | | | | | | | | xcb_is_modifier_key did not regecognise ISO_Level5_Shift, ISO_Level5_Latch, and ISO_Level5_Lock as modifiers. See bug 39177, https://bugs.freedesktop.org/show_bug.cgi?id=39177 Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch> Reviewed-by: James Cloos <cloos@jhcloos.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Julien Danjou <julien@danjou.info>
* Release 0.3.80.3.8Arnaud Fontaine2011-04-261-0/+7
| | | | 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>
* 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@debian.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@debian.org>
* Bump version to 0.3.8Arnaud Fontaine2010-12-231-1/+1
|
* Check whether realloc doesn't fail (reported by cppcheck)Arnaud Fontaine2010-12-231-2/+11
|
* Split up keysyms into its own repositoryArnaud Fontaine2010-12-236-97/+276
|
* Check for malloc failure in xcb_key_symbols_alloc.Joshua Phillips2010-11-141-0/+2
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* 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
|
* Typo in configure.acMikhail Gusarov2010-11-141-1/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Release xcb-util 0.3.5Julien Danjou2010-11-141-1/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Add a check on xproto version libxcb was compiled withBob Ham2010-11-141-1/+20
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Make sure m4 supports -I flag, if not, try finding gnu m4Alan Coopersmith2010-11-141-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>
* bump version to 0.3.4Julien Danjou2010-11-141-1/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* keysyms: bump versionJulien Danjou2010-11-141-0/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* keysyms: fix xcb_key_symbols_get_keycode() APIJulien Danjou2010-11-142-28/+40
| | | | | | | | xcb_key_symbols_get_keycode() returned a keycode. That's wrong, since actually a keysym can have multiple keycode. And we usually need all this keycodes to correctly grab a keysym. Signed-off-by: Julien Danjou <julien@danjou.info>
* Release xcb-util 0.3.3Julien Danjou2010-11-141-1/+1
|
* xcb_keysyms: remove xcb_lookup_tJulien Danjou2010-11-141-8/+0
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Revert "keysyms: use xcb_key_lookup_t type for col paramter"Julien Danjou2010-11-142-25/+28
| | | | This reverts commit 24da2934459c7811f77713a3c7aaa6691ad203f2.
* Release xcb-util 0.3.2Julien Danjou2010-11-141-1/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* keysyms: use xcb_key_lookup_t type for col paramterJulien Danjou2010-11-142-28/+25
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* build: add check for xproto >= 7.0.8Julien Danjou2010-11-141-0/+2
| | | | | | This is needed to have _X_INLINE. Signed-off-by: Julien Danjou <julien@danjou.info>
* Fix copyright statementJonathan Landis2010-11-141-0/+31
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Release xcb-util 0.3.1Julien Danjou2010-11-141-1/+1
|
* configure: stop if m4 is not foundJulien Danjou2010-11-141-1/+4
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* Do not cast the return value of malloc() in modern C.Ulrich Eckhardt2010-11-141-1/+1
| | | | Signed-off-by: Bart Massey <bart@cs.pdx.edu>
* doc: enable doxygen doc in various submoduleJulien Danjou2010-11-141-1/+5
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* doc: add various authors, remove old todo itemJulien Danjou2010-11-141-5/+8
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* [icccm] Bump library version number to 0.3.0.Arnaud Fontaine2010-11-141-1/+1
|
* prepare 0.2.1 releaseJulien Danjou2010-11-141-1/+1
| | | | Signed-off-by: Julien Danjou <julien@danjou.info>
* used doxygen -u to create a much more elaborate doxyfileBart Massey2010-11-141-42/+1204
|
* All util libraries require the XCB 1.0 API; check for it in configure.Jamey Sharp2010-11-141-1/+1
|
* Release xcb-util 0.2Jamey Sharp2010-11-141-1/+1
|