Commit graph

28 commits

Author SHA1 Message Date
Marc Olzheim
99187cd5fd Always seed with '1' instead of the supplied value of emp_srandom()
fot the nightly build.
2004-06-20 17:14:56 +00:00
Marc Olzheim
7877507f25 Make it possible to skip steps of the build by specifying so in the
environment variable "NIGHTLY_SKIP_STEP", making it easier to debug
problems in the build.
2004-06-20 16:36:51 +00:00
Marc Olzheim
58c93d2557 Instead of patching Make.sysdefs, introduce emp_{,s}random() and patch
all files to use it.  Output from the nightly build machines should
now be the same for the different platforms.
2004-06-20 15:30:41 +00:00
Marc Olzheim
788bae6c01 Use non-standard port for the nightly servers, so that the servers
do not conflict with other possible test servers.
2004-06-20 14:08:42 +00:00
Marc Olzheim
6e63f30d9f Make emp_client shut up about TERM variable. 2004-06-20 14:01:20 +00:00
Marc Olzheim
d35f51be90 Actually use the RANDOM defines and define NIGHTLY. Code is patched
into src/lib/gen/chance.c
2004-06-20 14:00:31 +00:00
Marc Olzheim
17c4546ec6 Make sure that the same prng is used on all systems, namely *rand48().
For now, only fairland.c is "fixed".  We'll have to patch the random
calls in the server to use the RANDOM and SRANDOM macros to make
things completely reproducible.
2004-06-19 13:54:49 +00:00
e68dba6d23 Update for 4.2.16. 2004-06-16 19:03:41 +00:00
Marc Olzheim
4c7eca14b5 Remove spurious "Clean sandbox"... 2004-06-16 18:54:36 +00:00
Marc Olzheim
d5b00ca908 Always report 0 minutes login time and 640 btus to ease diff-ing. 2004-06-16 18:32:46 +00:00
Marc Olzheim
5c4ec39dd2 Use "Thu Jan 1 00:00:00 GMT 1970\n" as output for the ctime() hack,
instead of an empty string.
2004-06-16 18:19:40 +00:00
Marc Olzheim
3629f0fe1e First step to add testing of the server to the nightlybuild.
For now, just some simple checks are added.
2004-06-16 16:06:17 +00:00
Marc Olzheim
7db0d77710 Patch to make ctime return "" for ease test output diff-ing. 2004-06-16 16:04:31 +00:00
f1e87e3542 Update for 4.2.15. 2004-05-16 15:00:22 +00:00
Marc Olzheim
40c88d77d8 Don't try to let patch read from unreadable or nonexisting files. 2004-04-14 23:25:31 +00:00
d12359938b (iop, iop_t): Unused, remove. 2004-04-08 19:53:17 +00:00
70a87bb3b4 Remove types that no longer exist. 2004-04-08 19:47:51 +00:00
543b0cba4f (NS_UNDEF, NS_LIST, NS_DIST, NS_AREA, NS_ALL, NS_XY, NS_GROUP): Turn
macros into enumeration constants.
(ns_seltype): New.  Use where appropriate.
2004-04-06 21:37:52 +00:00
4366c5ac6e Selector rewrite: values other than long, interpret identifiers
according to context, to make `lstat * ?type#spy&spy>1' work.  Closes
bug#825363, #905809, #905814 and #922968.
(nsc_type, packed_nsc_type, nsc_cat, packed_nsc_cat, nsc_flags): New.
(valstr): New.  Old code encoded values in type long, which was
somewhat hard to read and could only support signed integer values.
(nscstr): Redesign.  Use valstr.  Typed operator.
(castr): Split ca_code into ca_type, ca_flags, ca_off.  Tables
changed.
(nstr_comp, nstr_exec): Redesign and rewrite.  Callers changed.  They
used the old design incorrectly, which let players smash the stack
by supplying more than NCOND conditions.
(encode, nstr_comp_val, decode, nstr_exec_val): Rename, redesign, and
rewrite.  Callers changed.
(nstr_coerce_val): New.
(var_ca, sect_ca, ship_ca, land_ca): Checking both var_ca[] and the
object's ca complicates proper recognition of unique abbreviations.
Copy contents of var_ca[] into the ca of objects, remove var_ca[].

(surv): Reject values with category other than NSC_OFF and types that
can't be coerced to NSC_LONG.  Old code happily passed values with
category NSC_VAL to code_char().  The previous version interpreted
them correctly, but earlier versions interpreted them as NSC_OFF, then
logged `bad type in decode: 0' and evaluated them into zero.

(code_char): Used to test category NSC_VAR to decide whether to
display tens or hundreds.  NSC_VAR no longer exists.  Test type
instead.  Makes more sense anyway.
2004-04-02 19:02:12 +00:00
Marc Olzheim
1617ba7d4f Remove CVS keywords Source and Id. No functional change. 2004-03-23 19:08:38 +00:00
Marc Olzheim
4a4923f951 A sandbox system to automate the building of the source tree and
reporting differences in compiler output with the output of the
previous build.
2004-03-23 16:32:45 +00:00
14e0060a61 Update for 4.2.14. 2004-02-20 20:14:53 +00:00
995a22dd91 Change tarball names to empire$part-4.2.13.tar.gz. Tarballs now
unpack in a directory whose name matches the tarball name, as usual.
2004-02-13 21:27:19 +00:00
9020da90b5 Set archive members' owner, group and force sensible permissions. 2004-02-13 21:07:24 +00:00
a3c7146c91 Create info.text.tar.gz and info.html.tar.gz. 2004-02-07 02:23:00 +00:00
f23d2846f9 New make target dist, to run new src/scripts/mkdist. 2004-02-07 01:09:22 +00:00
ef042a754d No need to pass -nsob, it's implied by -kr. 2004-02-06 23:30:47 +00:00
5f263a7753 New. 2003-09-02 20:45:34 +00:00