summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Replace deprecated Automake INCLUDES variable with AM_CPPFLAGSbaserock/morphAlan Coopersmith2013-01-151-1/+1
| | | | | | | | | | | | | 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>
* libXcursor 1.1.13libXcursor-1.1.13Alan Coopersmith2012-03-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* XcursorImageLoadCursor: return failure if _XcursorGetDisplayInfo failsAlan Coopersmith2011-11-301-0/+3
| | | | | | | | | | | | | | Error: Null pointer dereference (CWE 476) Read from null pointer 'info' at line 615 of src/cursor.c in function 'XcursorImageLoadCursor'. Function '_XcursorGetDisplayInfo' may return constant 'NULL' at line 134, called at line 597. Null pointer introduced at line 134 of src/display.c in function '_XcursorGetDisplayInfo'. [ This bug was found by the Parfait 0.3.7 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
* XcursorFileSaveImages: plug memory leak on invalid inputAlan Coopersmith2011-11-301-2/+5
| | | | | | | | | | | | | | Error: Memory leak (CWE 401) Memory leak of pointer 'comments' allocated with XcursorCommentsCreate(0) at line 982 of src/file.c in function 'XcursorFileSaveImages'. 'comments' allocated at line 978 with XcursorCommentsCreate(0). comments leaks when comments != 0 at line 981. [ This bug was found by the Parfait 0.3.7 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
* Add generated Xcursor.h to .gitignoreJon TURNEY2011-09-251-0/+1
| | | | | | | Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix install of generated Xcursor.h when builddir != srcdirJon TURNEY2011-09-251-1/+1
| | | | | | | Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Gaetan Nadon <memsize@videotron.ca> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Set Xcursor.h version numbers from configure.acAlan Coopersmith2011-09-192-10/+20
| | | | | | | Based on similar commit dac73a519816 to libXft Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Strip trailing whitespaceAlan Coopersmith2011-09-1610-123/+123
| | | | | | | Performed with: find * -type f | xargs perl -i -p -e 's{\s+$}{\n}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXcursor 1.1.12libXcursor-1.1.12Alan Coopersmith2011-06-291-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Mark bitmasks as unsigned intsAlan Coopersmith2011-05-221-2/+2
| | | | | | | | Clears Sun compiler warnings from shifting 8 bits by 24 bits: "cursor.c", line 215: warning: integer overflow detected: op "<<" "cursor.c", line 280: warning: integer overflow detected: op "<<" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Correct error handling in _XcursorAverageColorJeremy Huddleston2011-05-071-2/+3
| | | | | | | | | | | Previously it would either div-zero or get stuck in a loop until int overflow if called with a bad value. cursor.c:214:32: warning: Division by zero return (0xff << 24) | ((red/npixels) << 16) | ((green/npixels) << 8) | (blue/npixels); Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Free the FontInfo structure after loading the cursor from it.Chris Wilson2011-04-011-0/+1
| | | | | References: https://bugs.freedesktop.org/show_bug.cgi?id=2731 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* Free the partial header after failing to open the cursor.Chris Wilson2011-04-011-0/+3
| | | | Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* Free list on shutdown.Chris Wilson2011-04-011-0/+7
| | | | | | | We freed the parent structure without freeing the list contained within, making valgrind unhappy. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
* config: perform XCURSORPATH formatting in man/Makefile.amGaetan Nadon2011-02-022-5/+3
| | | | | | We can skip the extra step of using XCURSORPATH_LIST in configure.ac. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: comment, minor upgrade, quote and layout configure.acGaetan Nadon2011-02-021-39/+42
| | | | | | | | | | | | | 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. This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon2011-01-281-1/+1
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon2011-01-281-2/+2
| | | | | | This silences an Automake warning. 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>
* libXcursor 1.1.11libXcursor-1.1.11Alan Coopersmith2010-10-271-1/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* man: whitespace managementGaetan Nadon2010-08-161-32/+33
| | | | Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* man: reorder makefile statementsGaetan Nadon2010-08-161-13/+12
| | | | | | No functional change. Shadows are part of libman_PRE. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* man: store shadow man pages in git rather than generating themGaetan Nadon2010-08-1632-19/+35
| | | | | | | | | | Simplify the build process and the makefile. Local fix in CVS for bug 5628 is not required as the problem has been fixed in util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon2010-08-162-13/+6
| | | | | | | | | Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* 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>
* config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon2010-02-162-6/+5
| | | | | | | Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon2009-11-271-0/+1
| | | | | Now that the INSTALL file is generated. Allows running make maintainer-clean.
* INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon2009-10-283-231/+5
| | | | | | | Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
* Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon2009-10-271-7/+5
| | | | | | This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
* Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon2009-10-261-2/+0
| | | | | ChangeLog filename is known to Automake and requires no further coding in the makefile.
* .gitignore: use common defaults with custom section # 24239Gaetan Nadon2009-10-221-12/+60
| | | | | | Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
* This is not a GNU project, so declare it foreign.Jeremy Huddleston2009-10-211-1/+1
| | | | | | | | | | | | | | | | | | On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: > > I noticed an INSTALL file in xlsclients and libXvMC today, and it > > was quite annoying to work around since 'autoreconf -fvi' replaces > > it and git wants to commit it. Should these files even be in git? > > Can I nuke them for the betterment of humanity and since they get > > created by autoreconf anyways? > > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation of the INSTALL file. It is also part of the 24206 solution. Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
* libXcursor 1.1.10libXcursor-1.1.10Peter Hutterer2009-08-281-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add README with pointers to mailing list, bugzilla & git reposAlan Coopersmith2009-02-021-0/+25
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Janitor: make distcheck, compiler warnings, extra .gitignore files.Paulo Cesar Pereira de Andrade2009-01-296-16/+18
|
* nuke RCS IdsMatthieu Herrb2008-03-098-16/+0
|
* Replace static ChangeLog with dist-hook to generate from git logJames Cloos2007-12-062-276/+10
|
* Version bump: 1.1.9libXcursor-1.1.9Alan Coopersmith2007-08-242-4/+2
|
* Make shadow man pages for each functionAlan Coopersmith2007-08-221-0/+46
|
* Add XCURSOR_PATH to man pageAlan Coopersmith2007-08-211-1/+7
|
* Use cursorpath found by configure in man pageAlan Coopersmith2007-08-213-7/+20
|
* Added object files to .gitignore.Tilman Sauerbeck2007-05-121-0/+1
|
* Store the cursor names in one large string.Tilman Sauerbeck2007-05-121-39/+96
| | | | | | This means the compiler doesn't need to place the array in the read-write sections of the DSO, which means less relocations when the library is loaded and a smaller memory footprint.
* Bump to 1.1.8libXcursor-1.1.8Adam Jackson2006-10-131-1/+1
|
* Fix many sparse warnings: Using plain integer as NULL pointerAlan Coopersmith2006-10-105-85/+85
|
* Fix lint warning: deallocating a pointer that could be NULL: library.c(266)Alan Coopersmith2006-10-101-1/+2
|
* Add XORG_WITH_LINT to allow checking code with lint/sparse/etc.Alan Coopersmith2006-10-103-0/+20
|
* Use $prefix & $ICONDIR settings from configure for default path in manpageAlan Coopersmith2006-10-062-3/+3
| | | | (Stop hardcoding /usr/X11R6 & /usr/share in the paths shown.)
* Xcursor.man formatting cleanupsAlan Coopersmith2006-10-061-4/+6
|