1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-06-30 19:45:23 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
John Zaitseff
2032f6de8a Move redefinition of _XOPEN_SOURCE into its own Autoconf macro and header
This makes the main source code look a little cleaner, at the expense of
background magic happening in the configure-generated config.h.  But this
magic was already happening for _GNU_SOURCE, __EXTENSIONS__ and the like.

The only wrinkle is that newer versions of NcursesW cause ./configure to
include "-D_XOPEN_SOURCE=600" as part of the compilation command line--on
systems that support _XOPEN_SOURCE=700.  The AC_DEFINE/AC_DEFINE_UNQUOTED
macros automatically comment out any "#undef" lines in config.h, so the
file lib/xopen_source.h works around this limitation.  It is
automatically included by config.h.
2018-08-09 18:05:39 +10:00
John Zaitseff
1f734e960b Replace spaces with tabs and vice versa
For Star Traders, all text files use spaces only (no tabs); for C source
code files, tabs are used, except in comments, where spaces only are used.
2018-08-08 14:55:58 +10:00
John Zaitseff
0a1e837c4d Add the Gnulib monetary module to check for the existence of <monetary.h> 2018-08-08 09:57:25 +10:00
John Zaitseff
61e6dec3a3 Tweak configuration summary to include the compiler used with flags 2018-08-06 12:37:32 +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
839c47d49c Specify that ngettext() is used in the program 2018-07-24 21:25:37 +10:00
John Zaitseff
abc9b77bd6 Change all relevant http references to https (secure HTTP) 2018-03-30 12:46:37 +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
94005770f3 Start preparing for version 7.12 2017-08-07 18:33:29 +10:00
John Zaitseff
3d390967af Start preparing for version 7.11 2017-06-15 11:39:19 +10:00
John Zaitseff
d66fa33fb6 Update version number and release date: we release today! 2017-06-02 05:22:35 +10:00
John Zaitseff
ab5a0e1e80 Set the version number to 7.10-pre2 to allow a second prerelease 2017-05-23 08:10:28 +10:00
John Zaitseff
2715a602ee Set the version number to 7.10-pre1 to allow a prerelease 2017-05-20 12:25:51 +10:00
John Zaitseff
aa360d2788 Enable maintainer mode in configure.ac
Although maintainer mode is the default, explicitly listing in
configure.ac allows users (or distributions, more to the point) of
disabling it by passing "--disable-maintainer-mode" to ./configure.
2017-05-20 09:06:00 +10:00
John Zaitseff
584682955f Make sure the icon images are distributed and installed correctly 2017-05-19 23:54:56 +10:00
John Zaitseff
a6b88fe12f Generate trader.desktop and install it in the correct location 2017-05-17 20:12:44 +10:00
John Zaitseff
a2c5300d62 Update to Automake 1.15 2017-05-17 11:58:42 +10:00
John Zaitseff
0786bc2d6a Upgrade GNU Gettext to version 0.19.8 2017-05-17 10:37:12 +10:00
John Zaitseff
2f79514910 Update the copyright date to 2017 2017-05-14 06:29:44 +10:00
John Zaitseff
6adb3fee48 Upgrade GNU Gettext to version 0.19.5
The Gnulib macros have finally caught up to this version.
2016-04-16 06:32:57 +10:00
John Zaitseff
7d64ab9717 Add a data directory for non-code data 2016-03-11 16:47:14 +11:00
John Zaitseff
bbfe531d62 Downgrade GNU Gettext to version 0.18.3
The Gnulib macros currently use Gettext version 0.18.3 in their m4 files.
2016-03-11 09:59:53 +11:00
John Zaitseff
237fed45c0 Start preparing for the next version: bump to v7.10 2016-03-11 09:27:51 +11:00
John Zaitseff
a486cd15aa Update the copyright year to 2016 2016-01-05 09:25:51 +11:00
John Zaitseff
e074f2c15e Change the version number to 7.9 2015-09-30 09:49:29 +10:00
John Zaitseff
e88eed25fa Update the Star Traders version number from 7.8-pre1 to 7.8 2015-09-10 09:04:27 +10:00
John Zaitseff
996e40d610 Prepare for a prerelease of Star Traders (v7.8-pre1) 2015-08-26 22:51:05 +10:00
John Zaitseff
76b4b8bded Update the configure.ac file to Star Traders v7.8 2015-08-19 09:48:30 +10:00
John Zaitseff
de7d77995d Update to GNU Gettext 0.19.5 2015-08-19 09:47:18 +10:00
John Zaitseff
5fcea7eb65 Update to GNU Gettext 0.19.1 2015-08-18 12:29:44 +10:00
John Zaitseff
f16f78a509 Update the copyright date to 2015 2015-08-18 07:27:22 +10:00
John Zaitseff
f7940ad66f Start preparing for the next version of Star Traders (version 7.7) 2014-10-03 05:51:48 +10:00
John Zaitseff
ac6b25294e Start preparing for the next version of Star Traders 2014-06-18 20:55:15 +10:00
John Zaitseff
9450fed943 Update the copyright year to 2014 2014-05-22 11:05:51 +10:00
John Zaitseff
c25ec91e99 Update the copyright year to 2013, and the version number to 7.5 2013-02-02 10:48:43 +11:00
John Zaitseff
a14acef052 Change version to 7.4; update to the latest version of Gnulib 2012-05-09 07:09:33 +10:00
John Zaitseff
1f7a249f9e Prepare for a second preliminary release of Star Traders
This version, version 7.4-pre2, is to give translators and packagers time
to make changes before the real release of 7.4.
2012-04-14 14:05:49 +10:00
John Zaitseff
8e3a0d790e Warn if NcursesW (or similar) is not found
Add a prominent warning if NcursesW (or some other wide-character version
of Curses) is not found at build time.  It is not an error because the
game might be run under a single-byte encoding (eg, ISO8859-1), even if
compiled under a multibyte encoding (eg, UTF-8).
2012-03-28 11:08:38 +11:00
John Zaitseff
874aac8b75 Prepare for a preliminary release of Star Traders
This preliminary release, version 7.4-pre1, allows translators time to
make changes before the real release of 7.4.
2012-03-27 10:16:21 +11:00
John Zaitseff
bc3e1a06a1 Update the copyright year to 2012 2012-03-15 02:36:23 +11:00
John Zaitseff
917ed49975 Start preparing for version 7.3: bug fixes and a Russian translation 2011-08-30 08:13:28 +10:00
John Zaitseff
32ed55a0cd Convert strings to UTF-8 if possible during file save and load 2011-08-08 11:15:44 +10:00
John Zaitseff
378b7e64b0 Add preliminary support for GNU gettext internationalisation 2011-08-01 18:17:02 +10:00
John Zaitseff
3167306af4 Start preparing for version 7.2
In this version, hopefully, internationalisation and multibyte strings
will be handled correctly.
2011-08-01 15:10:17 +10:00
John Zaitseff
9599707f67 Add information about version 7.1 of Star Traders 2011-07-29 12:17:16 +10:00
John Zaitseff
48e8bbba93 Complete rewrite of the M4 macro that checks for Curses 2011-07-28 21:19:33 +10:00
John Zaitseff
c0ce8c6770 Replace the check for a C99 compiler with one that works... I hope! 2011-07-26 21:18:12 +10:00
John Zaitseff
b68da501fd Add an explicit check for a C99 compiler
We use C99 features quite extensively in the source code.
2011-07-26 21:13:12 +10:00