Commits on Source (64)
-
Tilman Sauerbeck authored
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.
-
Tilman Sauerbeck authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
Alan Coopersmith authored
-
James Cloos authored
-
Matthieu Herrb authored
-
Paulo Cesar Pereira de Andrade authored
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@sun.com>
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Jeremy Huddleston authored
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>
-
Gaetan Nadon authored
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.
-
Gaetan Nadon authored
ChangeLog filename is known to Automake and requires no further coding in the makefile.
-
Gaetan Nadon authored
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
-
Gaetan Nadon authored
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.
-
Gaetan Nadon authored
Now that the INSTALL file is generated. Allows running make maintainer-clean.
-
Gaetan Nadon authored
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>
-
Gaetan Nadon authored
Automake always includes it in the tarball. Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
Gaetan Nadon authored
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>
-
Gaetan Nadon authored
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>
-
Gaetan Nadon authored
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>
-
Gaetan Nadon authored
No functional change. Shadows are part of libman_PRE. Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
Gaetan Nadon authored
Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Gaetan Nadon authored
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>
-
Gaetan Nadon authored
This silences an Automake warning. Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
Gaetan Nadon authored
Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
Gaetan Nadon authored
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>
-
Gaetan Nadon authored
We can skip the extra step of using XCURSORPATH_LIST in configure.ac. Signed-off-by:
Gaetan Nadon <memsize@videotron.ca>
-
Chris Wilson authored
We freed the parent structure without freeing the list contained within, making valgrind unhappy. Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Chris Wilson authored
References: https://bugs.freedesktop.org/show_bug.cgi?id=2731 Signed-off-by:
Chris Wilson <chris@chris-wilson.co.uk>
-
Jeremy Huddleston authored
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>
-
Alan Coopersmith authored
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>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
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>
-
Alan Coopersmith authored
Based on similar commit dac73a519816 to libXft Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by:
Gaetan Nadon <memsize@videotron.ca>
-
Jon TURNEY authored
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>
-
Jon TURNEY authored
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>
-
Alan Coopersmith authored
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>
-
Alan Coopersmith authored
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>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
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>
-
Alan Coopersmith authored
When parsing cursor files, a user defined (e.g. through environment variables) cursor file is opened and parsed. The header is read in _XcursorReadFileHeader(), which reads an unsigned int for the number of toc structures in the header, but it was being passed to _XcursorFileHeaderCreate() as a signed int to allocate those structures. If the number was negative, it would pass the bounds check and could overflow the calculation for how much memory to allocate to store the data being read, leading to overflowing the buffer with the data read from the user controlled file. Reported-by:
Ilja Van Sprundel <ivansprundel@ioactive.com> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
shubham shrivastav authored
Fix does one byte of memory allocation for null termination of string. https://bugs.freedesktop.org/show_bug.cgi?id=90857 Reviewed-by:
Keith Packard <keithp@keithp.com> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Peter Hutterer authored
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>
-
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>
-
Signed-off-by:
Mihail Konev <k.mvc@ya.ru>
-
Tobias Stöckmann authored
It is possible to trigger heap overflows due to an integer overflow while parsing images and a signedness issue while parsing comments. The integer overflow occurs because the chosen limit 0x10000 for dimensions is too large for 32 bit systems, because each pixel takes 4 bytes. Properly chosen values allow an overflow which in turn will lead to less allocated memory than needed for subsequent reads. The signedness bug is triggered by reading the length of a comment as unsigned int, but casting it to int when calling the function XcursorCommentCreate. Turning length into a negative value allows the check against XCURSOR_COMMENT_MAX_LEN to pass, and the following addition of sizeof (XcursorComment) + 1 makes it possible to allocate less memory than needed for subsequent reads. Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org> Reviewed-by:
Matthieu Herrb <matthieu@herrb.eu>
-
Matthieu Herrb authored
Signed-off-by:
Matthieu Herrb <matthieu@herrb.eu>
-
Drew Parsons authored
-
Drew Parsons authored
Merge tag 'libXcursor-1.1.15' of https://anongit.freedesktop.org/git/xorg/lib/libXcursor into upstream-unstable libXcursor-1.1.15
-
Philipp Ludwig authored
https://bugs.freedesktop.org/show_bug.cgi?id=3603 Signed-off-by:
Philipp Ludwig <git-devel@philippludwig.net> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Cosimo Cecchi authored
Nowadays ~/.icons is not used anymore as the preferred location for custom user icon themes; XDG_DATA_HOME/icons (aka ~/.local/share/icons) is what toolkits like GTK prefer. Prepend that location to the default xcursor path, so that cursor themes installed there can be used by apps and toolkits that use libXcursor.
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Drew Parsons authored
Merge tag 'libXcursor-1.2.0' of https://gitlab.freedesktop.org/xorg/lib/libxcursor into upstream-experimental libXcursor-1.2.0
.gitignore
deleted
100644 → 0
This diff is collapsed.
Makefile.in
0 → 100644
This diff is collapsed.
NEWS
deleted
100644 → 0
README
deleted
100644 → 0
README.md
0 → 100644
aclocal.m4
0 → 100644
This diff is collapsed.
config.guess
0 → 100755
This diff is collapsed.
config.h.in
0 → 100644
config.sub
0 → 100755
This diff is collapsed.
configure
0 → 100755
This diff is collapsed.
depcomp
0 → 100755
This diff is collapsed.
include/X11/Xcursor/Xcursor.h.in
0 → 100644
This diff is collapsed.
install-sh
0 → 100755
This diff is collapsed.
ltmain.sh
0 → 100644
This diff is collapsed.