1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-10-27 18:20:13 -04:00
Commit Graph

955 Commits

Author SHA1 Message Date
John Zaitseff
cef694cab6 Add an unreleased version of m4/ax_compiler_vendor.m4 for compiler detection 2018-08-06 09:24:48 +10:00
John Zaitseff
1c3afc571b Minor whitespace cleanup in #define statements 2018-08-04 22:14:03 +10:00
John Zaitseff
192b749018 Use a better check for Solaris (SunOS 5.x)
The __sun__ macro is not always defined by Oracle Solaris Studio, but
__sun is, as it is in GCC and Clang.  By itself, __sun__ also matches the
very obsolete SunOS 4.x BSD-based operating system, hence the need for
__SVR4 as well.

See https://web.archive.org/web/20180221212835/http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
for more information on operating system macro checks.
2018-08-04 18:03:33 +10:00
John Zaitseff
2d6a339fb1 Define _XOPEN_SOURCE correctly for Solaris systems 2018-08-04 16:48:29 +10:00
John Zaitseff
de6f113d12 Change parameters of apply_xor() from void * to char *
Arithmetic on void * pointers is undefined, according to Section 6.5.6
Paragraph 2, Section 6.2.5 Paragraph 1 and Section 6.2.5 Paragraph 19 of
the ISO/IEC 9899:1999 C99 standard: the void type is incomplete and thus
its size cannot be determined.

GCC allows pointer arithmetic on void * as an extension (and only warns
if "-Wpointer-arith" is given); the Oracle Developer Studio C compiler
issues a warning by default.
2018-08-04 14:31:45 +10:00
John Zaitseff
a47e8528dc Force redefinition of _XOPEN_SOURCE if required
Newer versions of libncurses/libncursesw "#define _XOPEN_SOURCE 600" in
their pkg-config file.  This change forces _XOPEN_SOURCE to be redefined
to 700 in that case.
2018-07-27 18:39:18 +10:00
John Zaitseff
f45986e88d Pedantically type-cast integer comparisons
The latest versions of the GNU Compiler Collection complain about signed
and unsigned integer comparisons when run with the "-Wextra" flag.  Keep
those compilers happy.
2018-07-27 18:33:14 +10:00
John Zaitseff
9e3f7c7713 Replace incorrect command line argument "--maxturn" with "--max-turn" 2018-07-27 06:55:14 +10:00
John Zaitseff
d009cd82a7 Update all PO files, adding translations for obsolete strings
Translations have been taken from previous versions of PO files or from
strings very similar to the added ones.
2018-07-27 06:46:15 +10:00
John Zaitseff
53c8d735c3 Remove duplicate obsolete strings 2018-07-27 06:25:37 +10:00
John Zaitseff
4946112c41 Add additional strings found in other versions of glibc's getopt.c 2018-07-27 06:15:11 +10:00
John Zaitseff
3bb98b24dc Update documentation to mention the obsolete strings 2018-07-27 06:02:54 +10:00
John Zaitseff
5a62a39770 Add strings from obsolete versions of libraries
Previous versions of the GNU Portability Library, and versions of the GNU
C Library as released with various Linux distributions, used strings no
longer present in the current version of the GNU Portability Library.
When used on systems with those strings, Star Traders could not provide
appropriate translations.  This patch fixes that problem.
2018-07-27 05:52:25 +10:00
John Zaitseff
9ee01e98d9 Update ax_append_flag.m4 to latest version from the GNU Autoconf archive 2018-07-26 00:31:16 +10:00
John Zaitseff
8eb727453d Print a configuration summary at the end of configure 2018-07-25 15:10:08 +10:00
John Zaitseff
baf7cfed8e Warn about enhanced Curses only if NLS is enabled
If Native Language Support is disabled, the program does not use the GNU
Gettext library and thus all strings are in ASCII format: enhanced Curses
is not needed in such situations.
2018-07-25 15:04:59 +10:00
John Zaitseff
d0fb4635b9 Update to the latest GNU Portability Library release 2018-07-24 21:27:58 +10:00
John Zaitseff
839c47d49c Specify that ngettext() is used in the program 2018-07-24 21:25:37 +10:00
John Zaitseff
32c0f7b084 List additional command line options for the configure script 2018-07-24 20:34:56 +10:00
John Zaitseff
c224d1ed66 Update list of prerequisites for game installation
In particular, mention the Clang LLVM compiler, require POSIX.1-2008
instead of POSIX.1-2001, and require libiconv if the GNU Gettext library
requires it.
2018-07-24 20:28:05 +10:00
John Zaitseff
c550549783 Correct spelling mistake in utils.c 2018-07-24 18:41:59 +10:00
John Zaitseff
4ebf83c067 Demote FTP URLs
The FTP protocol is all but dead (even though it is still supported by
The ZAP Group which distributes Star Traders).  Demote such URLs below
the secure HTTP versions.
2018-07-15 19:51:38 +10:00
John Zaitseff
148ae46f26 Mention the updated Esperanto translation in NEWS 2018-05-15 21:31:01 +10:00
John Zaitseff
71c0df4e08 Merge branch po-translationproject: update eo.po 2018-05-15 21:30:45 +10:00
John Zaitseff
e69cb6e2a6 Update eo.po to the latest version from the Translation Project 2018-05-15 21:01:11 +10:00
John Zaitseff
f18c878194 Mention the need for pkg-config for unreleased versions 2018-04-17 19:25:44 +10:00
John Zaitseff
6b5c67a94c Update the Russian TP team email address 2018-04-04 20:14:06 +10:00
John Zaitseff
decc08bfd1 Add the X-Bugs header as is done by the Translation Project robot 2018-04-04 20:09:45 +10:00
John Zaitseff
0388cf7bdc Add spaces for consistency with other PO files 2018-04-04 20:02:52 +10:00
John Zaitseff
7dcb3a1549 Clean up whitespacing, etc., in the Spanish translation
Change the whitespacing, padding and word-wrapping of many strings and
labels, add the standard header comment, correct a few obvious spelling
and translation mistakes, replace 'quotes' and `quotes' with «quotes» and
tabs with spaces.
2018-04-04 13:43:44 +10:00
John Zaitseff
d79d82bda8 Mentioned the updated string label in NEWS 2018-03-30 15:20:13 +11:00
John Zaitseff
1427eb683f Change label from "New Stock:" to "New stock:" for consistency
This inconsistency (between the "Old stock:" and "New Stock:" labels) has
been present since August 2011!
2018-03-30 14:50:47 +11:00
John Zaitseff
f99eafef66 Update to the latest POT file 2018-03-30 13:40:19 +11:00
John Zaitseff
bf7b7a42aa Mention the latest Git snapshot of gnulib in NEWS 2018-03-30 13:35:40 +11:00
John Zaitseff
5480c1949c Update to the latest GNU Portability Library release 2018-03-30 13:10:13 +11:00
John Zaitseff
4b06fc9c85 Added the Spanish translation by Francisco Javier Serrador to the master branch 2018-03-30 12:54:51 +11:00
John Zaitseff
abc9b77bd6 Change all relevant http references to https (secure HTTP) 2018-03-30 12:46:37 +11:00
John Zaitseff
cf0216a7d5 Update the URLs and formatting of the GPL licence 2018-03-30 12:44:54 +11:00
John Zaitseff
1d85a6a0e0 Start preparing for version 7.13 2018-03-30 11:44:55 +11:00
John Zaitseff
8c6d009611 Update the copyright date to 2018 2018-03-30 11:38:29 +11:00
John Zaitseff
6ab70c6e53 Merge branch po-translationproject: add es.po 2018-03-30 11:21:20 +11:00
John Zaitseff
ded85e80b3 Add the Spanish translation by Francisco Javier Serrador
Downloaded from the Translation Project,
http://translationproject.org/PO-files/es/trader-7.10-pre2.es.po
2018-03-30 11:19:36 +11:00
John Zaitseff
da01cf7f00 Merge branch po-translationproject: keep current versions of po files 2018-03-30 11:14:43 +11:00
John Zaitseff
1e75b9fec7 Mirror the latest translations at the Translation Project
All translations of Star Traders are present as stored on the Translation
Project website at http://translationproject.org/latest/trader/

Original dates:

da.po    2017-05-21 15:42
eo.po    2016-02-15 01:32
fi.po    2015-09-19 12:52
hr.po    2012-04-19 16:27
ru.po    2012-03-29 10:27
sv.po    2017-05-22 00:27
2018-03-30 11:09:27 +11:00
John Zaitseff
46f9dca198 Add the HTTP protocol URL in addition to FTP for downloading Star Traders 2017-11-16 08:36:46 +11:00
John Zaitseff
36e9bee9a1 Update all GMO files (and en@quot.po) as part of "make dist" 2017-08-24 15:58:02 +10:00
John Zaitseff
409c9bbf09 The file m4/gnulib-comp.m4 is required in the with-autogenerated branch
Without this file, ./configure fails and the ./build-aux/bootstrap script
needs to be run again.  This latter script has been rerun with the same
inputs as commit 2dc2bfb9bf.
2017-08-24 15:52:46 +10:00
John Zaitseff
2dc2bfb9bf Update all auto-generated files
These files have been created by running ./build-aux/bootstrap with
Gnulib as at commit d93b573ba772a334a83dac971c3004f1fed8a8a5 (with a date
stamp of Wed Aug 23 14:45:58 2017 -0700), Autoconf 2.69, Automake 1.15.1,
Gettext 0.19.8.1 and pkg-config 0.29.
2017-08-24 15:44:54 +10:00
John Zaitseff
1aa70a0da8 Merge branch master into with-autogenerated: updated sr.po 2017-08-24 15:30:03 +10:00
John Zaitseff
e4925f8100 Update version number and POT creation date in all PO files 2017-08-24 15:21:11 +10:00