]> git.pond.sub.org Git - empserver/log
empserver
20 years ago(do_desi): Move check for redesignated capital behind the actual
Markus Armbruster [Mon, 12 Jan 2004 17:28:22 +0000 (17:28 +0000)]
(do_desi): Move check for redesignated capital behind the actual
redesignation.  Closes #803768.

20 years ago(index, rindex): Obsolete BSDisms; remove. Use standard strchr() and
Markus Armbruster [Thu, 8 Jan 2004 18:15:13 +0000 (18:15 +0000)]
(index, rindex): Obsolete BSDisms; remove.  Use standard strchr() and
strrchr() instead.
(setbuffer): Obsolete BSDism, unused; remove.

20 years ago(bzero, bcopy): Obsolete BSDisms; remove. Remove some calls without
Markus Armbruster [Thu, 8 Jan 2004 17:54:28 +0000 (17:54 +0000)]
(bzero, bcopy): Obsolete BSDisms; remove.  Remove some calls without
effect.  Replace calls by struct assignment where possible.  Replace
clear buffer, copy string to buffer by strncpy().  Use assignment to
clear when that's clearer.  Replace overlapping copy through bounce
buffer by memmove().  Replace rest by standard memset() and memcpy().
Also use sizeof() instead of literal array sizes for robustness, and
instead of symbolic array sizes for clarity.

20 years agoFix missing include <string.h>.
Markus Armbruster [Thu, 8 Jan 2004 17:26:18 +0000 (17:26 +0000)]
Fix missing include <string.h>.

20 years ago(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp(). Callers
Markus Armbruster [Thu, 8 Jan 2004 10:20:44 +0000 (10:20 +0000)]
(copy, atopi, same): Remove, use strcpy(), atoi(), strcmp().  Callers
changed.  Remove empty source files.

20 years agoRemove superflous include.
Markus Armbruster [Thu, 8 Jan 2004 10:11:38 +0000 (10:11 +0000)]
Remove superflous include.

20 years ago(ffs): Unused, remove.
Markus Armbruster [Thu, 8 Jan 2004 10:10:19 +0000 (10:10 +0000)]
(ffs): Unused, remove.

20 years ago(login): Fix reading of country name and, if we lack getpass(),
Markus Armbruster [Thu, 8 Jan 2004 05:57:38 +0000 (05:57 +0000)]
(login): Fix reading of country name and, if we lack getpass(),
password.  Used to strip \r from country name (superflous), and not to
strip \n from password (required).

20 years agoFix previous rev.
Markus Armbruster [Tue, 6 Jan 2004 20:19:37 +0000 (20:19 +0000)]
Fix previous rev.

20 years ago(wrauth): Emit example `nowhereman@nowhere.land.edu' commented out.
Markus Armbruster [Tue, 6 Jan 2004 20:18:46 +0000 (20:18 +0000)]
(wrauth): Emit example `nowhereman@nowhere.land.edu' commented out.
nowhere.land.edu doesn't exist right now, but it might pop up any
time.

20 years ago(info): Use ANSI strerror() instead of non-portable sys_errlist[].
Markus Armbruster [Tue, 6 Jan 2004 20:08:53 +0000 (20:08 +0000)]
(info): Use ANSI strerror() instead of non-portable sys_errlist[].

20 years ago(logerror): Remove unused cruft.
Markus Armbruster [Tue, 6 Jan 2004 20:07:03 +0000 (20:07 +0000)]
(logerror): Remove unused cruft.

20 years agoFix title.
Markus Armbruster [Thu, 18 Dec 2003 09:17:07 +0000 (09:17 +0000)]
Fix title.

20 years ago(at_minimum, blocksig, emp_bitinit, filelogerror, iceil, ifloor,
Markus Armbruster [Wed, 17 Dec 2003 23:13:50 +0000 (23:13 +0000)]
(at_minimum, blocksig, emp_bitinit, filelogerror, iceil, ifloor,
mapdsq, mask, signame, strscan, sys_siglist, typed_wire, unblocksig):
Unused, remove.

(add_airport, add_to_fired_queue, air_damage, anti_torp, best_path,
bitinit2, blankrow, bmnxtsct, bp_init, build_mission_list,
build_mission_list_type, buildeff, candchrg, canshoot, cantorp,
cede_sect, cede_ship, checksect, client_cmd, coun_cmd,
deity_build_land, divide, do_conv, do_defdam, do_demo, do_desi,
do_mob_land, do_mob_plane, do_mob_sect, do_mob_ship, do_prod,
docountry, doland, doplane, doship, dosupport, dotsprintf, dounit,
empth_start, enlist, errcheck, filereport, find_airport, find_escorts,
findcondition, fire_dchrg, fire_torp, fltp_to_list, get_minimum,
getin, goodsect, grab_sect, grab_ship, grow_people, growfood, in_addr,
infect_people, init_mchr, init_pchr, init_plchr, is_engineer,
itemname, kill_cmd, landrepair, limit_level, list_cmd, lupgr,
materials_charge, materials_cost, meltitems, mission_pln_arm,
mission_pln_sel, move_map, nat_cap, num_units, outid, pass_cmd,
perform_mission, pinflak_planedamage, play_cmd, pln_equip, prexpense,
print_res, prplanes, prunits, pupgr, quiet_bigdef, quit_cmd, radmap2,
retreat_land1, retreat_ship1, s_commod, sanc_cmd, sarg_getrange,
scuttle_it, scuttle_land, set_target, share_incr, shiprepair,
shp_check_mines, shp_check_nav, shp_check_one_mines, shp_hit_mine,
shp_interdict, shp_mess, sort_lookup_list, starvation, supgr, swap,
take_casualties, trunc_people, upd_buildeff, upd_land, upd_ship,
use_ammo, user_cmd): Change linkage to static.

20 years agoList generated files that CVS doesn't ignore by default.
Markus Armbruster [Wed, 17 Dec 2003 23:02:40 +0000 (23:02 +0000)]
List generated files that CVS doesn't ignore by default.

20 years agoCosmetics.
Markus Armbruster [Wed, 17 Dec 2003 21:26:26 +0000 (21:26 +0000)]
Cosmetics.

20 years ago(show, show_item): New `show item'. From Ron Koenderink; changes to
Markus Armbruster [Wed, 17 Dec 2003 21:22:08 +0000 (21:22 +0000)]
(show, show_item): New `show item'.  From Ron Koenderink; changes to
info files heavily hacked by me.

20 years agoSpelling fixes.
Markus Armbruster [Wed, 17 Dec 2003 21:20:01 +0000 (21:20 +0000)]
Spelling fixes.

20 years agoerrno may not be a variable; users must include errno.h instead of
Markus Armbruster [Wed, 17 Dec 2003 21:18:12 +0000 (21:18 +0000)]
errno may not be a variable; users must include errno.h instead of
declaring it like `extern int errno'.

20 years ago(setfdtablesize): Remove. This may drop support for Sequent.
Markus Armbruster [Wed, 17 Dec 2003 21:14:00 +0000 (21:14 +0000)]
(setfdtablesize): Remove.  This may drop support for Sequent.

(getfdtablesize) [hpux]: Client and server had different versions.
Standardize on server's.

20 years agoFix previous rev.
Markus Armbruster [Wed, 17 Dec 2003 21:07:54 +0000 (21:07 +0000)]
Fix previous rev.

20 years agoMakefiles worked only if certain directories and generated files were
Markus Armbruster [Wed, 17 Dec 2003 21:01:37 +0000 (21:01 +0000)]
Makefiles worked only if certain directories and generated files were
already present.  These files are no longer in CVS.  Fix Makefiles.

20 years ago(show, show_item): New `show item'. From Ron Koenderink; changes to
Markus Armbruster [Wed, 17 Dec 2003 19:50:20 +0000 (19:50 +0000)]
(show, show_item): New `show item'.  From Ron Koenderink; changes to
info files heavily hacked by me.

20 years agoGenerated file, shouldn't have been committed.
Markus Armbruster [Wed, 17 Dec 2003 19:46:54 +0000 (19:46 +0000)]
Generated file, shouldn't have been committed.

20 years ago(edit, prsect, doland): Fix `editing' sector coordinates (copies
Markus Armbruster [Wed, 17 Dec 2003 17:24:30 +0000 (17:24 +0000)]
(edit, prsect, doland): Fix `editing' sector coordinates (copies
sector).  New: edit distribution sector, designation and new
designation.  From Ron Koenderink.

20 years ago(update_policy_check, diffx, diffy, takeover_plane): Prototypes were
Markus Armbruster [Wed, 17 Dec 2003 16:58:16 +0000 (16:58 +0000)]
(update_policy_check, diffx, diffy, takeover_plane): Prototypes were
missing.

20 years agoFix some damage done by indent-emp. Code is still hard to read.
Markus Armbruster [Wed, 17 Dec 2003 16:46:25 +0000 (16:46 +0000)]
Fix some damage done by indent-emp.  Code is still hard to read.

20 years agoRemove pragmas that promote certain serious warnings to errors on
Markus Armbruster [Sun, 14 Dec 2003 10:15:03 +0000 (10:15 +0000)]
Remove pragmas that promote certain serious warnings to errors on
windows.  For obvious reasons, such warnings ought to be fixed.
Making compilation abort is the sledgehammer method to force that.
It's a stupid method for us, as we develop on various platforms, and
don't test every single commit under Windows.  It gratuitously breaks
programs that work fine.  Leave them as warnings, and fix them on
sight.

20 years ago(edit): Rewrite of undocumented and broken feature: if there are extra
Markus Armbruster [Tue, 25 Nov 2003 19:16:18 +0000 (19:16 +0000)]
(edit): Rewrite of undocumented and broken feature: if there are extra
arguments, they are interpreted as key-value pairs, and edit does not
prompt for more.  From Ron Koenderink.
(player_coms): Document extended syntax.

20 years ago(sorde): Output format fixes from Ron Koenderink.
Markus Armbruster [Sun, 9 Nov 2003 13:33:17 +0000 (13:33 +0000)]
(sorde): Output format fixes from Ron Koenderink.

20 years ago(LND_SPY_DETECT_CHANCE): New.
Markus Armbruster [Sun, 9 Nov 2003 12:52:16 +0000 (12:52 +0000)]
(LND_SPY_DETECT_CHANCE): New.
(look_land, sabo, prunits, unitsatxy, lnd_mar_one_sector,
count_sect_units, takeover): Use it.  Closes bug#786369.

20 years ago(decl): Remove broken and redundant check of declarer's country
Markus Armbruster [Sun, 9 Nov 2003 10:53:06 +0000 (10:53 +0000)]
(decl): Remove broken and redundant check of declarer's country
number.  Check is redundant, because invalid values can come only from
natarg(), and those are checked above.  Check is broken because
natarg() returns negative value on error, not 255.

20 years agoUndo some ugly line line-breaks introduced by indent.
Markus Armbruster [Sun, 9 Nov 2003 10:47:36 +0000 (10:47 +0000)]
Undo some ugly line line-breaks introduced by indent.

20 years agoSpelling fix.
Markus Armbruster [Sun, 9 Nov 2003 10:46:32 +0000 (10:46 +0000)]
Spelling fix.

20 years agoRemove some comments that are no longer valid.
Markus Armbruster [Sun, 9 Nov 2003 10:45:26 +0000 (10:45 +0000)]
Remove some comments that are no longer valid.

20 years ago(perform_mission): Fix destruction of missiles. Closes bug#789415.
Markus Armbruster [Sun, 9 Nov 2003 10:42:29 +0000 (10:42 +0000)]
(perform_mission): Fix destruction of missiles.  Closes bug#789415.

20 years ago(chan): Don't require 254 BTUs even when not charging any (BLITZ).
Markus Armbruster [Sat, 4 Oct 2003 18:29:29 +0000 (18:29 +0000)]
(chan): Don't require 254 BTUs even when not charging any (BLITZ).

20 years agoList generated files and directories that CVS doesn't ignore by
Markus Armbruster [Sat, 4 Oct 2003 16:01:10 +0000 (16:01 +0000)]
List generated files and directories that CVS doesn't ignore by
default.

20 years agoAdd proper .SA; it's required by info.pl. Closes #793708.
Markus Armbruster [Sat, 4 Oct 2003 14:57:05 +0000 (14:57 +0000)]
Add proper .SA; it's required by info.pl.  Closes #793708.

20 years ago(parse_files): Choked on CVS, backup files, and more. Fix to work only on
Markus Armbruster [Sat, 4 Oct 2003 14:56:07 +0000 (14:56 +0000)]
(parse_files): Choked on CVS, backup files, and more.  Fix to work only on
*.t.  Closes #793707.

20 years agoList generated files and directories that CVS doesn't ignore by
Markus Armbruster [Sat, 4 Oct 2003 14:54:09 +0000 (14:54 +0000)]
List generated files and directories that CVS doesn't ignore by
default.

20 years agoMakefiles worked only if certain directories and generated files were
Markus Armbruster [Sat, 4 Oct 2003 14:22:52 +0000 (14:22 +0000)]
Makefiles worked only if certain directories and generated files were
already present.  Source distributions had them, but we didn't commit
them to CVS.  Fix Makefiles.

20 years agoGenerated file, shouldn't have been committed.
Markus Armbruster [Sat, 4 Oct 2003 14:19:50 +0000 (14:19 +0000)]
Generated file, shouldn't have been committed.

20 years agoIndented with src/scripts/indent-emp.
Markus Armbruster [Tue, 2 Sep 2003 20:48:48 +0000 (20:48 +0000)]
Indented with src/scripts/indent-emp.

20 years agoNew.
Markus Armbruster [Tue, 2 Sep 2003 20:45:34 +0000 (20:45 +0000)]
New.

20 years agoImport of Empire 4.2.12 v4.2.12
Markus Armbruster [Sat, 23 Aug 2003 12:23:04 +0000 (12:23 +0000)]
Import of Empire 4.2.12