summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-28BSD MakefileHEADobsdMatthieu Herrb
2024-04-21AUTHORS: remove Xprint code (which was itself removed back in 2010)masterAlan Coopersmith
Fixes: 47b6e66 ("xprint: remove xprint related C code") Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/app/xedit/-/merge_requests/10>
2024-04-21Assume all target platforms have strcasecmp() nowAlan Coopersmith
It's a standard part of Unix98/SUSv2 and later Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/app/xedit/-/merge_requests/10>
2024-03-24xedit 1.2.4xedit-1.2.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-03-03Fix crash when undefined function called in lisp.lspAlan Coopersmith
Reported-by: Gregory James DUCK <gjduck@gmail.com> Closes: #1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-24unifdef ISCAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-24Use AC_C_INLINE instead of ifdef __GNUC__ to check for inline keywordAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-24unifdef __UNIXOS2__Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-11Add -help and -version optionsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-03xedit 1.2.3xedit-1.2.3Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-02man page: remove out-of-date COPYRIGHT sectionAlan Coopersmith
The information previously listed here didn't match what is present in the source code or the COPYING file, and the X(7) man page doesn't list any license information as this had claimed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-04Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-04gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-01-05Followup to previous commit to use isinfinite for darwin rather than arm64.Jeremy Huddleston Sequoia
It's deprecated on Intel as well as of macOS 10.9. This also restores behavior on other platforms that define __arm64__. Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
2020-11-28Minimal changes to build on Apple silicon (i.e., new Apple M1 Macs)Gary Palter
2019-09-11Fix segfault when tags file isn't foundNiclas Zeising
Fix a segfault when the tags file isn't found. xedit tries to construct a path to the tags file (by defailt ${HOME}/tags), using amongst other things basename(3). However, basename is called with an immutable string which causes segfaults on FreeBSD, since basename(3) uses the provided buffer to store it's result. Change the code to duplicate the string with strdup() and call basename on the duplicated string instead.
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov
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>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer
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>
2015-02-21xedit 1.2.2xedit-1.2.2Matt Turner
2014-11-07Include AM_PROG_AR to detect 'ar' instead of hard-coding itTed Tanberry
see Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=486470 Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-09-09Use automake subdir-objects optionAlan Coopersmith
Stops automake from issuing a ton of warnings about how this will be the default soon. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-09-09Check for pagesize options via autoconf instead of per-platform #ifdefsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-09-09Copious const cleanupAlan Coopersmith
Removes 1554 gcc warnings of "discards ‘const’ qualifier" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-09-09Require OS to provide rename(2), as all POSIX.1-1990 & later OS'es doAlan Coopersmith
Sorry SVR1-SVR3. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02configure: Drop AM_MAINTAINER_MODEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-03Fix man page tbl markupAlan Coopersmith
'\" t is needed to work with Solaris man/nroff commands Other changes fix issues found on all platforms Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-12-17Remove obsolete Imake SIGNALRETURNSINTGaetan Nadon
Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-07-06Drop CRAY supportStéphane Aulery
Signed-off-by: Stéphane Aulery <lkppo@free.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-12xedit 1.2.1xedit-1.2.1Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-12Remove lisp/env.c from EXTRA_DIST to fix make_distcheckAlan Coopersmith
commit c110109f171 replaced it with getenv.c & setenv.c Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-08-23Eliminate use of tab stops. Use real TBL markup.Eric S. Raymond
These changes help structural lifting to DocBook. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-07-11Do not unconditionally define DEBUG.Thomas Klausner
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Avoid problems with builds with -Werror=format-security.pcpa
Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Use proper pointer when computing "realpath" of a new file.pcpa
In some special conditions it previously could omit a slash, and instead of creating foo/bar/baz would create foo/barbaz. Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Correct 64 bit overflow check and bignum code.pcpa
Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Update fallback implementation of missing libc functionspcpa
This commit updates realpath.c from http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/realpath.c?rev=1.14;content-type=text/plain and lisp/env.c from http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/getenv.c?rev=1.10;content-type=text/plain and http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/stdlib/setenv.c?rev=1.13;content-type=text/plain The update reason is to replace files under "4 clause BSD", that is considered problematic or require special documentation notation or conditions when redistributing free software. Signed-off-by: pcpa <paulo.cesar.pereira.de.andrade@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-04Fix builds of lisp/core.c with Solaris Studio compilersAlan Coopersmith
Required in order to build with Studio cc now that xorg-macros is setting -errwarn=E_FUNC_HAS_NO_RETURN_STMT since a bug in the Solaris system headers causes the noreturn attribute to not be correctly applied to the exit() prototype in <stdlib.h> when building with Studio instead of gcc. Otherwise compiler exits with error: "lisp/core.c", line 4329: Function has no return statement : Lisp_Quit Uses Studio-specific pragma instead of adding another exit() prototype with a noreturn attribute to avoid causing gcc to warn about having a redundant prototype for the exit() function. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-25Require xt >= 1.0 for appdefaultdirJeremy Huddleston
https://bugs.freedesktop.org/show_bug.cgi?id=7237 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-01-19config: move man pages into their own directoryGaetan Nadon
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
This silences an Autoconf warning
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-30xedit 1.2.0xedit-1.2.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: Remove unnecessary calls from configure.acAlan Coopersmith
AC_PROG_CC & AC_PROG_INSTALL are provided by XORG_DEFAULT_OPTIONS now Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: update AC_PREREQ statement to 2.60Gaetan Nadon
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> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>