summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-01xlsfonts 1.0.8HEADxlsfonts-1.0.8masterAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Use reallocarray() if availableAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-12-16Fix -Wincompatible-pointer-types warning from gcc (issue #1)Alan Coopersmith
xlsfonts.c: In function ‘get_list’: xlsfonts.c:204:23: warning: assignment to ‘char **’ from incompatible pointer type ‘const char **’ [-Wincompatible-pointer-types] 204 | fonts = &pattern; | ^ v2: Split the open vs. list code to allow preserving the constness of the argument to get_list, at the cost of less code sharing between the two paths Closes: #1 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-09-10man page: emphasize this program is for querying an X serverAlan Coopersmith
Try to answer the question "How is this different from fslsfonts?" Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-04-03xlsfonts 1.0.7xlsfonts-1.0.7Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03Build xz tarballs instead of bzip2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03Clear -Wshadow warning from gccAlan Coopersmith
xlsfonts.c: In function ‘do_query_font’: xlsfonts.c:628:24: warning: declaration of ‘dpy’ shadows a global declaration [-Wshadow] do_query_font(Display *dpy, char *name) ^~~ In file included from xlsfonts.c:37:0: dsimple.h:53:17: note: shadowed declaration is here extern Display *dpy; /* The current display */ ^~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03Clear -Wsign-compare warnings from gccAlan Coopersmith
xlsfonts.c:560:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i <= fs->max_char_or_byte2; i++, cs++) { ^~ xlsfonts.c: In function ‘print_character_metrics’: xlsfonts.c:611:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = info->min_byte1; j <= info->max_byte1; j++) { ^~ xlsfonts.c:613:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = info->min_char_or_byte2; i <= info->max_char_or_byte2; i++) { ^~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03PrintProperty: replace sprintf with snprintfAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03gitlab CI: add a basic build testAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-11-28Adapt to X.Org standard coding styleAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-11-28Fix spelling/wording issuesAlan Coopersmith
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-09xlsfonts 1.0.6xlsfonts-1.0.6Alan 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-04-24Add -v option to synopsis in man pageNiveditha Rau
Signed-off-by: Niveditha Rau <niveditha.rau@oracle.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-04-16xlsfonts 1.0.5xlsfonts-1.0.5Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31Remove old CVS id tagsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31Add -version option to print program versionAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31Print which option was in error along with usage messageAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31autogen.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-05-31configure: Drop AM_MAINTAINER_MODEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-04-16xlsfonts 1.0.4xlsfonts-1.0.4Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-04-16Combine usage message stringsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-11Add function attributes suggested by gcc warningsAlan Coopersmith
Mark usage() with _X_NORETURN Mark Fatal_Error() with _X_ATTRIBUTE_PRINTF Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-11Fix gcc -Wwrite-strings warningsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-02-01Use _X_NORETURN from xproto 7.0.17 instead of local checkAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-02-01inline Realloc() at the one place it's calledAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-02-01Remove unneeded Malloc functionAlan Coopersmith
The only place it was called was in Realloc, if the initial pointer was NULL, but ANSI C89 already guarantees realloc(NULL, size) will be handled as malloc(size), so we don't need to handle that case ourselves. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
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: 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: remove unrequired AC_SUBST([*_LIBS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove unrequired AC_SUBST([*_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon
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>
2011-01-12config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONSGaetan Nadon
It depends on util-macros 1.8 or later The existing statement can now be removed from the configuration file. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: 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 in one pass is 2.60 dated June 2006. A version later than 2.60 can be used, but no new features from such a later version can be used in configure.ac. Although the code in this module can be configured with a version earlier than 2.60, most of code is now contained in macros from util-macros which use features of version 2.60, at the present or in the future. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-27Change xlsfonts DocBook XML file extension from .sgml to .xmlGaetan Nadon
This file is used as the input format for the man page. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-08-06Fill in COPYING file with copyright notices from source codeAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-12Bump to 1.0.3xlsfonts-1.0.3Julien Cristau
2010-06-12Require xorg-macros 1.4 for INSTALL_CMDJulien Cristau
2010-06-12Use string literals as format stringsJulien Cristau
Allows gcc to check argument types, and avoids warnings: xlsfonts.c:632: warning: format not a string literal, argument types not checked
2010-06-12Remove _bitmap_error prototype from dsimple.cJulien Cristau
The function itself was dropped in 77c46f5ed8d96106ff117f89932ada0439193cb6.
2010-02-11config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon
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>