summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-04-21AUTHORS: remove Xprint code (which was itself removed back in 2010)HEADmasterAlan Coopersmith1-13/+0
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 Coopersmith6-62/+0
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 Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-03-03Fix crash when undefined function called in lisp.lspAlan Coopersmith1-1/+2
Reported-by: Gregory James DUCK <gjduck@gmail.com> Closes: #1 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-24unifdef ISCAlan Coopersmith2-10/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-24Use AC_C_INLINE instead of ifdef __GNUC__ to check for inline keywordAlan Coopersmith2-5/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-02-24unifdef __UNIXOS2__Alan Coopersmith9-25/+4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-11Add -help and -version optionsAlan Coopersmith1-0/+23
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-09gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-03xedit 1.2.3xedit-1.2.3Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-02man page: remove out-of-date COPYRIGHT sectionAlan Coopersmith1-10/+0
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-04gitlab CI: add a basic build testAlan Coopersmith1-0/+98
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 Sequoia4-4/+4
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 Palter4-4/+4
2019-09-11Fix segfault when tags file isn't foundNiclas Zeising1-2/+4
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev1-0/+3
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov1-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>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer1-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>
2015-02-21xedit 1.2.2xedit-1.2.2Matt Turner1-1/+1
2014-11-07Include AM_PROG_AR to detect 'ar' instead of hard-coding itTed Tanberry2-0/+2
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 Coopersmith1-2/+1
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 Coopersmith3-23/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-09-09Copious const cleanupAlan Coopersmith25-232/+238
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 Coopersmith1-14/+0
Sorry SVR1-SVR3. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-02autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith1-2/+3
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 Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-03Fix man page tbl markupAlan Coopersmith1-6/+6
'\" 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 Nadon4-51/+2
Assume signal handlers return void, as C89 requires Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2013-07-06Drop CRAY supportStéphane Aulery1-4/+1
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-01-12Remove lisp/env.c from EXTRA_DIST to fix make_distcheckAlan Coopersmith1-1/+0
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. Raymond1-42/+67
These changes help structural lifting to DocBook. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
2012-07-11Do not unconditionally define DEBUG.Thomas Klausner1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-05-31Avoid problems with builds with -Werror=format-security.pcpa2-2/+2
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.pcpa1-1/+1
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.pcpa5-45/+16
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 functionspcpa7-320/+451
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 Coopersmith1-0/+5
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 Huddleston1-1/+1
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 Nadon4-15/+17
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 Nadon1-3/+3
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon1-8/+8
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon1-1/+1
This silences an Autoconf warning
2011-01-12config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon1-1/+1
This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-30xedit 1.2.0xedit-1.2.0Alan Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-30config: Remove unnecessary calls from configure.acAlan Coopersmith1-2/+0
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 Nadon1-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> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-01Xmu functions are called directly, so include it in PKG_CHECK_MODULESAlan Coopersmith1-4/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>