summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* libXfixes 6.0.1HEADlibXfixes-6.0.1masterAlan Coopersmith2023-04-091-2/+3
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith2023-02-255-5/+5
| | | | | | Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith2023-02-132-1/+3
| | | | | | | | | | | | | | | | | | AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:44: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. aclocal.m4:3465: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* XFixesCloseDisplay: Mark codes as unusedAlan Coopersmith2022-11-192-2/+4
| | | | | | | | | | | | Quiets clang warning: Xfixes.c:206:46: warning: unused parameter 'codes' [-Wunused-parameter] XFixesCloseDisplay (Display *dpy, XExtCodes *codes) ^ Raises minimum required version of xproto to 7.0.22 (released June 2011) for the definition of _X_UNUSED Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Handle 6 of 9 -Wsign-conversion warnings from clangAlan Coopersmith2022-11-194-6/+6
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Handle 60 of 60 -Wimplicit-int-conversion warnings from clangAlan Coopersmith2022-11-196-60/+60
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Handle 63 of 63 -Wshorten-64-to-32 warnings from clangAlan Coopersmith2022-11-195-63/+69
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Resolve 36 of 40 -Wextra-semi-stmt warnings from clangAlan Coopersmith2022-11-191-2/+2
| | | | | | | | Wrap XFixesCheckExtension() & XFixesSimpleCheckExtension() macro bodies in do { ... } while(0) so that they use the semicolon provided by callers instead of letting it dangle as another statement. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Quiet -Wconditional-uninitialized warnings from clangAlan Coopersmith2022-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | I believe these were false positives, as the variables were initialized unless the image = NULL -> if (!image) return NULL code path was followed, but this makes clang stop warning. Cursor.c:144:8: warning: variable 'nbytes' may be uninitialized when used here [-Wconditional-uninitialized] if(nbytes > nread) ^~~~~~ Cursor.c:80:21: note: initialize the variable 'nbytes' to silence this warning size_t nbytes , nread ; ^ = 0 Cursor.c:144:17: warning: variable 'nread' may be uninitialized when used here [-Wconditional-uninitialized] if(nbytes > nread) ^~~~~ Cursor.c:80:29: note: initialize the variable 'nread' to silence this warning size_t nbytes , nread ; ^ = 0 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Mark two dpy parameters const as suggested by cppcheckAlan Coopersmith2022-11-191-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Variable scope reduction as recommended by cppcheckAlan Coopersmith2022-11-192-3/+4
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove unnecessary casts from malloc & free callsAlan Coopersmith2022-11-192-3/+3
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* gitlab CI: add a basic build testAlan Coopersmith2022-07-171-0/+98
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix spelling/wording issuesAlan Coopersmith2022-07-172-2/+2
| | | | | | | Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-07-171-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXfixes 6.0.0libXfixes-6.0.0Peter Hutterer2021-05-121-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* xfixes: Add ClientDisconnectModeOlivier Fourdan2021-05-103-1/+112
| | | | | | | | | | | | | | | | | | | | The Xserver itself is capable of terminating itself once all X11 clients are gone, yet in a typical full session, there are a number of X11 clients running continuously (e.g. the Xsettings daemon, IBus, etc.). Those always-running clients will prevent the Xserver from terminating, because the actual number of X11 clients will never drop to 0. To solve this issue directly at the Xserver level, this add new entries to the XFixes extension to let the X11 clients themselves specify the disconnect mode they expect. Typically, those X11 daemon clients would specify the disconnect mode XFixesClientDisconnectFlagTerminate to let the Xserver know that they should not be accounted for when checking the remaining clients prior to terminate. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2019-03-161-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Update README for gitlab migrationAlan Coopersmith2018-11-193-34/+20
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen: add default patch prefixMihail Konev2017-01-261-0/+3
| | | | Signed-off-by: Mihail Konev <k.mvc@ya.ru>
* autogen.sh: use quoted string variablesEmil Velikov2017-01-261-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>
* autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer2017-01-261-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>
* libXfixes 5.0.3libXfixes-5.0.3Matthieu Herrb2016-10-041-1/+1
| | | | Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
* Integer overflow on illegal server responseTobias Stoeckmann2016-09-251-3/+12
| | | | | | | | | | | | The 32 bit field "rep.length" is not checked for validity, which allows an integer overflow on 32 bit systems. A malicious server could send INT_MAX as length, which gets multiplied by the size of XRectangle. In that case the client won't read the whole data from server, getting out of sync. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>
* libXfixes 5.0.2libXfixes-5.0.2Matt Turner2016-05-251-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* Remove fallback for _XEatDataWords, require libX11 1.6 for itMichael Joost2013-11-222-21/+1
| | | | | | | | | | | | | _XEatDataWords was orignally introduced with the May 2013 security patches, and in order to ease the process of delivering those, fallback versions of _XEatDataWords were included in the X extension library patches so they could be applied to older versions that didn't have libX11 1.6 yet. Now that we're past that hurdle, we can drop the fallbacks and just require libX11 1.6 for building new versions of the extension libraries. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXfixes 5.0.1libXfixes-5.0.1Alan Coopersmith2013-05-281-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* integer overflow in XFixesGetCursorImage() [CVE-2013-1983]Alan Coopersmith2013-05-031-12/+18
| | | | | | | | | If the reported cursor dimensions or name length are too large, the calculations to allocate memory for them may overflow, leaving us writing beyond the bounds of the allocation. Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Use _XEatDataWords to avoid overflow of _XEatData calculationsAlan Coopersmith2013-05-034-3/+24
| | | | | | rep.length is a CARD32, so rep.length << 2 could overflow in 32-bit builds Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* XFixesFetchRegionAndBounds: use nread in call to XReadPadAlan Coopersmith2013-03-091-2/+2
| | | | | | | | | | We already went through the trouble of calculating a variable with the amount to read, might as well use it instead of recalculating it. Also move initialization of the variable to the point it's needed/used Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* Remove duplicate declaration of XFixesExtensionName in Xfixesint.hAlan Coopersmith2013-03-091-2/+0
| | | | | | | | | | | | | | Silences gcc warnings: In file included from Region.c:26:0: Xfixesint.h:52:13: warning: redundant redeclaration of 'XFixesExtensionName' [-Wredundant-decls] Xfixesint.h:34:13: note: previous declaration of 'XFixesExtensionName' was here In file included from Cursor.c:49:0: Xfixesint.h:52:13: warning: redundant redeclaration of 'XFixesExtensionName' [-Wredundant-decls] Xfixesint.h:34:13: note: previous declaration of 'XFixesExtensionName' was here Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* Replace deprecated Automake INCLUDES variable with AM_CPPFLAGSbaserock/morphAlan Coopersmith2013-01-181-3/+2
| | | | | | | | | | | | | Excerpt https://lists.gnu.org/archive/html/automake/2012-12/msg00038.html - Support for the long-deprecated INCLUDES variable will be removed altogether in Automake 1.14. The AM_CPPFLAGS variable should be used instead. This variable was deprecated in Automake releases prior to 1.10, which is the current minimum level required to build X. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* autogen.sh: Implement GNOME Build APIColin Walters2013-01-151-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-151-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* man: remove "current", we're way past 1.0.Peter Hutterer2011-10-211-1/+1
| | | | | | | Claiming "the current 1.0 release" when the library is already past version 4 is a tad confusing. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Strip trailing whitespaceAlan Coopersmith2011-09-169-28/+28
| | | | | | | Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXfixes v5: Pointer barrierslibXfixes-5.0Adam Jackson2011-03-083-1/+76
| | | | | | | | | v2: Use int * for device list, consistent with libXi. v3: Update copyright year. Reviewed-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
* config: comment, minor upgrade, quote and layout configure.acGaetan Nadon2011-02-021-49/+48
| | | | | | | | | | | | | | Group statements per section as per Autoconf standard layout Quote statements where appropriate. Autoconf recommends not using dnl instead of # for comments Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. Add AC_CONFIG_SRCDIR([Makefile.am]) Remove redundant AC_SUBST(*_CFLAGS) and/or *_LIBS No functional configuration changes This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
* config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon2011-01-281-1/+1
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon2011-01-271-1/+0
| | | | | | | | XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo2010-07-071-2/+0
| | | | | | Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXfixes 4.0.5libXfixes-4.0.5Alan Coopersmith2010-06-091-1/+4
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix .TH values in Xfixes.manAlan Coopersmith2010-06-093-13/+5
| | | | | | | | Requires xorg-macros 1.8 in order to get the updated XORG_MANPAGE_SECTIONS that sets $(SED) & $(MAN_SUBSTS) from configure for us. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
* Sun's copyrights now belong to OracleAlan Coopersmith2010-06-084-4/+4
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Always call SyncHandle after issuing an X request.Jamey Sharp2010-04-091-0/+1
|
* config: update AC_PREREQ statement to 2.60Gaetan Nadon2010-03-291-1/+1
| | | | | | | | | | Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: remove the pkgconfig pc.in file from EXTRA_DISTGaetan Nadon2010-03-291-1/+0
| | | | | | Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Update Sun license notices to current X.Org standard formAlan Coopersmith2010-01-144-77/+76
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Purge CVS/RCS id tagsAlan Coopersmith2010-01-147-7/+0
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* COPYING: add missing copyright notice.Gaetan Nadon2010-01-141-0/+20
| | | | | | | | | Refer to: Cursor.c Copyright © 2006 Sun Microsystems Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>