summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-03-01xlsfonts 1.0.8HEADxlsfonts-1.0.8masterAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Use reallocarray() if availableAlan Coopersmith2-3/+18
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-12-16Fix -Wincompatible-pointer-types warning from gcc (issue #1)Alan Coopersmith1-46/+59
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 Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-09-10man page: emphasize this program is for querying an X serverAlan Coopersmith1-3/+3
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03Clear -Wshadow warning from gccAlan Coopersmith1-2/+2
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 Coopersmith1-3/+3
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 Coopersmith1-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-12-03gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-11-28Adapt to X.Org standard coding styleAlan Coopersmith3-234/+243
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2021-11-28Fix spelling/wording issuesAlan Coopersmith2-3/+3
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith3-26/+18
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-03-09xlsfonts 1.0.6xlsfonts-1.0.6Alan 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-04-24Add -v option to synopsis in man pageNiveditha Rau1-1/+1
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 Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31Remove old CVS id tagsAlan Coopersmith3-9/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31Add -version option to print program versionAlan Coopersmith2-0/+12
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31Print which option was in error along with usage messageAlan Coopersmith3-11/+24
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31autogen.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-05-31configure: Drop AM_MAINTAINER_MODEAlan Coopersmith2-2/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-05-31config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith1-2/+5
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 Coopersmith1-1/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-04-16Combine usage message stringsAlan Coopersmith1-13/+13
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-11-11Add function attributes suggested by gcc warningsAlan Coopersmith1-2/+2
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 Coopersmith3-10/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-02-01Use _X_NORETURN from xproto 7.0.17 instead of local checkAlan Coopersmith2-9/+4
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 Coopersmith3-18/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-02-01Remove unneeded Malloc functionAlan Coopersmith2-20/+1
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 Nadon4-39/+21
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 Nadon1-29/+29
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: remove unrequired AC_SUBST([*_LIBS])Gaetan Nadon1-1/+0
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 Nadon1-1/+0
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 Nadon1-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>
2011-01-12config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONSGaetan Nadon1-1/+0
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 Nadon1-3/+3
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 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 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 Nadon2-1/+1
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 Coopersmith1-8/+17
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-06-12Bump to 1.0.3xlsfonts-1.0.3Julien Cristau1-1/+1
2010-06-12Require xorg-macros 1.4 for INSTALL_CMDJulien Cristau1-2/+2
2010-06-12Use string literals as format stringsJulien Cristau1-7/+4
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 Cristau1-2/+0
The function itself was dropped in 77c46f5ed8d96106ff117f89932ada0439193cb6.
2010-02-11config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon2-2/+1
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>