]> git.pond.sub.org Git - empserver/blob - doc/CHANGES4.X
Update change log for 4.3.33
[empserver] / doc / CHANGES4.X
1 Changes to Empire 4.3.33 - Sun Mar  1 10:10:31 UTC 2015
2  * The add syntax deprecated in 4.3.29 is now gone.
3  * The explore, move, test, transport syntax deprecated in 4.3.27 is
4    now gone.
5  * The bmap flag syntax deprecated in 4.3.27 is now gone.
6  * Stricter configuration validation:
7    - Reject odd WORLD_X instead of making it even silently.
8    - Reject odd WORLD_Y.
9    - Reject missiles that lack capability VTOL instead of adding VTOL
10      silently.
11    - Reject ships that can carry planes, but have neither capability
12      plane nor miss, instead of adding miss silently.
13  * Outlaw ships that can drop depth charges, but not fire.  No such
14    ships exist in the stock game.  4.3.31 permitted them, but keeping
15    them working has turned out to be bothersome.
16  * Changes to fire and torpedo:
17    - Don't disclose that the torpedo's path to the target is blocked
18      by land when the target is out of range.  Screwed up in 4.2.2.
19    - When a submarine gets hit by return fire after firing its deck
20      gun, the defender again learns the submarine's uid and type, just
21      like for surface ships.  This is how it worked before Empire 2.3.
22    - When a submarine gets hit by return fire after launching a
23      torpedo, the defender again learns the submarine's uid.  Before
24      Empire 2.3, he learned uid and type.
25    - Print "Kaboom" even when the target is out of range.
26    - Always clear missions when firing guns or dropping depth charges.
27      Screwed up when missions were added in Chainsaw.
28    - Report "Sector X,Y ready to fire" instead of "Sector X,Y firing",
29      because the sector isn't firing, yet, then.  Also report ships
30      and land units ready to fire.
31    - Suppress bulletin when player shells or torpedoes his own ship.
32  * When artillery on a bridge span shelled down the supporting bridge
33    head, the bridge fell and the artillery drowned alright.  But then
34    the bridge rose right back.  Broken in 4.3.14.
35  * Fix board to charge mobility even when defender is less than 100%
36    efficient.  Broken in Empire 2.
37  * The convert command charged security land units mobility until
38    4.3.16 broke that.  Drop this undocumented feature instead of
39    fixing it.
40  * Report the owner of ships sunk by return torpedoes instead of POGO.
41    Screwed up when return torpedoes were added in Chainsaw.
42  * Don't disclose uid, type and owner of torpedoed submarines.  The
43    latter leaked through the news.
44  * Changes to bomb:
45    - Fix damage to mobility when bombing planes.  Has always been
46      broken.
47    - Include position when reporting bombing of a land unit, like we
48      do for ships.
49    - Suppress bulletin when player bombs his own assets.
50    - Report bombing of plane to owner once, not twice.
51    - Don't permit bombing of dead planes.  Missed when we did the same
52      for dead ships and land units in 4.3.16.
53  * Changes to retreat and lretreat:
54    - Be less loquacious when changing orders.
55    - Deprecate pseudo-condition 'c'.  Use retreat path 'h' to cancel
56      retreat orders.
57    - Change query syntax from "retreat SHIPS" to "retreat SHIPS q".
58      Consistent with mission, and makes prompting for arguments more
59      usable.  Keep accepting the old syntax for now, but deprecate it.
60    - Reject invalid retreat paths instead of silently ignoring invalid
61      characters during retreat.  Unfortunately, the path needs to be
62      valid even with deprecated pseudo-condition 'c', where it's not
63      actually used.  This might break some existing usage.
64    - Fail without charging BTUs when the player gives no conditions.
65    - Fix infinite loop when third argument contains '?'.  Broken in
66      4.3.16.
67  * Rename retreat flag "torped" to "torpedoed" in xdump retreat-flags.
68    This could conceivably break clients.  No actual breakage is known.
69  * Rewrite automatic retreat to fix its many bugs and inconsistencies
70    with navigate and march:
71    - When a ship defeats a boarding party, but suffers enough damage
72      to sink, retreat the victim's group (if any) instead of ship#0.
73    - Permit retreat exactly when navigate and march would be
74      permitted.  Before, land units happily retreated while on the
75      trading block (forbidden with march since 4.0.9), crewless
76      (likewise since 4.0.0), kidnapped in a foreign sector
77      (inconsistent since land units were added in Chainsaw 3), loaded
78      on a ship (likewise) or a land unit (inconsistent since that
79      became possible in 4.0.0).  Ships retreated while on the trading
80      block (forbidden with navigate since 4.0.9).
81    - Land units can now retreat into foreign sectors exactly when they
82      could march there: when the sector is allied, or when the land
83      unit is a spy (with the usual risks).
84    - Land units can now retreat into mountains.
85    - Land unit retreat now resets fortification.
86    - Group retreat now happens only along a single path.  Before, you
87      could scatter a group in several directions, and even retreat in
88      far away places.  The latter was a highly abusable design flaw.
89    - Bulletins provide more useful information in fewer words.  In
90      particular, they always report the end sector.
91    - Fix retreat after a torpedo hit to include the torpedo damage in
92      its mobility cost calculation.
93    - When retreat runs into a sector that cannot be entered, don't
94      consume the retreat direction.
95    - Don't charge mobility for retreating in direction 'h'
96    - You can no longer make your own ships or land units retreat.
97    - Clear mission only when the ship or land unit actually retreats.
98    - Land unit group retreat could corrupt the land unit file or crash
99      the server.  Screwed up when Chainsaw added land unit retreat.
100    - Fix ship retreat when helpless.  Surface ships claimed to retreat
101      in a bulletin, but that was a lie.  Submarines didn't even
102      pretend.
103  * Don't tell the player he sunk a ship when it survives an attack
104    with bomb, fire, launch or torpedo, but sinks during retreat.  bomb
105    even reported where it had retreated to when it sank.
106  * Land mine fixes, affecting march and, if option INTERDICT_ATT is
107    enabled, attack and assault:
108    - Fix march sub-command 'm' to not let non-engineers hit mines.
109      Broken in Empire 2.  Fixed in 4.0.17 for ships only.
110    - Engineers now risk hitting mines twice instead of once on sector
111      entry, just like minesweepers.
112    - No sweeping with zero mobility.  Screwed up when Chainsaw added
113      land units.
114  * Navigate and march cleanup and bug hunt:
115    - Stop on non-fatal mine hits, too.  Before, we carried on, and
116      ships that lost all crew were left behind only at the next
117      prompt.  Note that we already stop on non-fatal interdiction
118      damage since Empire 2.
119    - Fix use-after-free when a flagship or leader stays behind without
120      a prompt following immediately.
121    - When something other than movement charged mobility, the charge
122      was lost on the next movement, unless there was a prompt in
123      between.  For instance, mobility lost to mine hits could come
124      back.
125    - Fix parser not to get confused by white-space.
126    - Make ships use radar always, not just most of the time.
127    - Land units now use radar automatically like ships.
128    - Report flagship and leader changes immediately, and always.
129      Before, they were reported only around a prompt.
130    - Wipe mission and retreat orders less eagerly.  Before, they where
131      sometimes wiped even for ships and land units the command
132      rejected.
133    - Give up fortification only when a land unit actually moves or
134      sweeps.
135    - Report where exactly ships and land units sweep mines.
136    - Nicer error messages for sub-command 'm'.
137    - Fix sub-command 'm' not to drop engineers without mobility from
138      the march.
139    - When denying ships entry to an unfriendly sector with canals,
140      don't disclose whether it's above 2%.
141    - Both navigate and march now require all their ships and land
142      units to be in the same sector.  Support for scattered ships and
143      land units complicates the code and blows up the test matrix.
144      It's also rather obscure; I suspect accidental use has been more
145      frequent than intentional use.
146    - Check for sector abandonment before anyone marches instead of
147      right before moving the last land unit.  Fixes a bug that could
148      scatter the group when something interferes while waiting for the
149      player to confirm abandonment.
150    - When marching a mixed group of spies and non-spies into a
151      non-allied sector, remove non-spies from the group, and move the
152      spies.  Before, only the spies before the first non-spy moved
153      into the non-allied sector, which could scatter the group.
154      Screwed up when 4.0.0 added spy units.
155    - Don't permit trains to march out of sectors without rail.
156    - When navigating a mixed group of ships with and without canal
157      capability into a canal, remove incapable ships from the group,
158      and move the capable ships.  Before, only the ships before the
159      first incapable ship moved into the canal, which could scatter
160      the group.  Broken in 4.3.0.
161    - Fix navigate buffer overrun for impossibly long paths taken.  No
162      remotely sane game configuration provides a ship fast enough to
163      trigger it.  Broken in 4.0.0.
164  * Remove option SAIL (commands follow, mquota, sail, unsail; ship
165    selectors mquota, path, follow) and autonav (commands order,
166    qorder, sorder; ship selectors xstart, xend, ystart, yend,
167    cargostart, cargoend, amtstart, amtend, autonav) due to multiple
168    issues:
169    - The orders are executed at the update.  Crafty players can use
170      them to get around the update window.
171    - Usability is poor, especially for autonav.
172    - Few players use them.
173    - Documentation is inaccurate.
174    - Code has bugs, some of them critical.
175    - It's almost 1300 lines of rather crufty code nobody wants to
176      touch.
177    - Code sharing complicates maintenance of the navigate command.
178  * Configuration tables reader and empdump improvements:
179    - Better error messages.
180    - Export now omits redundant data by default.  Use empdump -c to
181      include it.
182    - Import can cope with omitted sectors and realms.  Omitted sectors
183      become sea, and omitted realms become empty.
184    - Column order is now unrestricted.  Before, some tables required
185      an ID field to come first.
186    - Support splitting any table.  Before, tables sect, news, lost,
187      realm, game, infrastructure could not be split.
188    - Support strings longer than 65535 characters.
189  * Fix empdump -i to reject strings that are one character too long.
190    The bug affected ship table columns path, name and rpath, land
191    table column rpath, nat table columns cname, passwd, ip, hostname
192    and userid.
193  * Reject nat selectors relations, contacts and rejects, because they
194    don't actually make sense.  They exist just for xdump.
195  * Drop the code to resolve player IP address.  It's been disabled
196    since 4.2.13.  Deprecate nat selector hostname.
197  * Fix bridge spans next to a bridge tower or head taking damage to
198    fall when they should with EASY_BRIDGES off.  Has always been
199    broken.
200  * Fix bridge spans next to a collapsing bridge tower to fall when
201    they should with EASY_BRIDGES on.  Broken in 4.3.12.
202  * When you scrap a plane, you get crew back only proportionally to
203    plane efficiency.
204  * Changes to build:
205    - Fail the attempt to build a bridge not next to land or bridge
206      tower more nicely.
207    - Deities can now build anywhere, without materials, work or money.
208    - Building a plane no longer uses at least one military.  Military
209      for crew are now rounded just like the other materials.  The
210      special case dates back to 4.2.3.
211    - Report missing materials more nicely.
212    - You now need the required materials rounded up to be present.
213      Actual use is still randomly rounded.  Before, crafty players
214      could exploit the rounding to save materials, or build
215      sufficiently cheap things without materials.  In the stock game,
216      linf and many plane types could be built without materials.
217  * Remove option TREATIES.  Usability is very poor, virtually nobody
218    uses them, conditions are incomplete, the code is buggy, and a
219    burden to maintain.
220  * Test suite improvements:
221    - Coverage extended to commands build, navigate, march, fire,
222      torpedo, retreat, lretreat, falling bridges, automatic retreat,
223      command info page completeness, and the empdump utility program.
224    - Maintainability of tests much improved.
225    - Test harness refactoring.
226    Much work remains.
227  * Adjust stack sizes.  Stack overflow was possibly for tiny worlds.
228  * Fix start, stop to not operate on dead units when used by a deity.
229    Screwed up when start, stop were extended to units in 4.3.6.
230  * Nukes can be grouped into stockpiles, just like ships can be
231    grouped into fleets.  The new command stockpile does for nukes what
232    fleet does for ships.  Likewise the new nuke selector stockpile.
233  * wingadd no longer costs BTUs, for consistency with fleetadd and
234    army.
235  * Changes to edit:
236    - Keep missions centered on ship, plane or land unit centered when
237      teleporting it.  Screwed up when Chainsaw added missions.
238    - Preserve "does not follow" when copying ships.  Preserve "no
239      distribution center" when copying sectors, and don't mess up
240      coastal flag.  Screwed when Chainsaw added the means to copy a
241      ship or sector.
242    - You can now edit nukes.
243    - Suppress bulletin on no-op ship, plane, land unit location
244      change.  Screwed up in 4.3.32.
245    - You can now edit ship, plane and land unit types.
246    - Changing the owner of a ship, plane or land unit away from POGO
247      now works.
248  * Fix "make uninstall" to remove HTML info pages (which are not
249    installed by default) and directory share/empire/.
250  * Fix "make install" to remove stale formatted info pages.
251  * Code refactoring and cleanup.
252  * Info file fixes and improvements.
253
254 Changes to Empire 4.3.32 - Sun Aug 25 07:55:34 UTC 2013
255  * Fix an LWP stack overflow observed on AIX 7.1.
256  * Fix portability bug in standalone client Makefile
257  * Fix portability bug in configure test for curses.
258  * The break command now honors new designation of sanctuaries.
259  * Changes to edit, give, setsector, setresource, swapsector:
260    - Generalize edit to multiple objects: accept
261      <SECTS|SHIPS|PLANES|LANDS|NATS> argument instead of just
262      <SECT|SHIP|PLANE|LAND|NAT>.  Obsoletes setsector and setresource.
263    - Make interactive "edit c" detect and handle concurrent updates,
264      like other edits do.
265    - Don't reprint edited object when done with it.
266    - Always print a message describing the actual change.  Necessary
267      to give the deity a chance to catch unexpected changes, e.g. a
268      player moving away stuff right before a give command, leaving
269      fewer items than the deity intends to take.  Existing messages
270      improved, missing ones added.
271    - Consistently send bulletins to the victim / beneficiary of deity
272      meddling, except when changing stuff mortals can't see.
273    - Report much more deity meddling in the news (subject to option
274      GODNEWS).
275    - More robust argument checking.  Before, careless deity edits
276      could cause internal errors.  Much bounds checking was missing,
277      inconsistent or wrong.
278    - Teleport planes and land units to carrier on load.
279    - Refuse to move planes and land units on carriers.
280    - Fix stack smash in edit l key 'L' that can mess up sector file.
281    - Fix setsector to again print actual landmine change for occupied
282      sectors.  Broken in 4.3.31.
283    - Suppress bulletins for acts of god to himself.
284    - Suppress news for acts of god to gods.
285    - Suppress news and bulletins on no-op acts of god.
286    - Always send bulletins from POGO.  Name the meddling deity in the
287      bulletin text instead.  Inconsistent since Chainsaw.
288    - Make interactive edit accept empty key argument again.
289    - Make interactive edit treat blank input like empty input.
290    - Don't let edit put a land unit or plane on two carriers
291    - Do not disclose when a deity destroys a ship, tell the ex-owner
292      only that he lost it.
293    - edit p and u now show the edited unit like edit s.
294    - edit s now shows the edited ship even when its owner is invalid.
295  * Clean up output of satellite, land, sorder and mission for world
296    sizes between 200 and 1998.  cutoff and level still have issues
297    there.
298  * Plug harmless file descriptor leak on OpenBSD with IPv6.  Broken in
299    4.3.31.
300  * New doc/contributing explains how to contribute to Empire.
301  * Code refactoring and cleanup.
302  * Info page, manual page and documentation fixes and clarifications.
303
304 Changes to Empire 4.3.31 - Sun May 12 16:58:34 UTC 2013
305  * Fix read beyond end of conditional argument on missing operand.
306  * Don't put broken links into info pages formatted as HTML.
307  * Permit ships that can drop depth charges, but not fire.  No such
308    ships exist in the stock game.
309  * Consistently require guns for dropping depth charges.  Before, only
310    the fire command required guns (since 4.3.12 and before 4.0.6).
311  * Change econfig key rollover_avail_max from 0 to 50.
312  * Make sector production more predictable.  Commands production and
313    budget are now a bit more accurate.
314  * Fix bugs that messed up xdump lost and xdump trade on big endian
315    hosts (broken in 4.3.8), and made the server fail during startup on
316    most big endian hosts (broken in 4.3.12).
317  * Build process robustness fixes.
318  * Use "Level: Obsolete" to mark obsolete info pages, and drop "info
319    Obsolete".
320  * Server now uses IPv4 format for IPv4-mapped addresses.  Simplifies
321    safe use of econfig key privip.
322  * Server logs a few more network connection details.
323  * Fixes and workarounds for econfig key listen_addr "" (which is the
324    default) when the system has both IPv4 and IPv6 addresses
325    configured:
326    - Server accepted only IPv6 connections on Windows and BSDs.  Fix
327      to accept IPv4 ones, too.
328    - Except for OpenBSD, where the fix doesn't work.  Accept IPv4
329      connections instead of IPv6 ones there, and document how to get
330      IPv6 accepted instead.
331    - Linux systems are frequently configured in a way that makes the
332      server accept only IPv4 connections.  Document workaround: use
333      listen_addr "::".
334  * Change fairland island size probability distribution: roll two dice
335    instead of one.  This makes extreme sizes much less likely.
336  * Make fairland record the island number in the deity territory.
337  * Fix extension of market bidding time when high bidder changes.
338    Introduced broken in 4.0.7, with insufficient fixes in 4.0.9 and
339    4.2.0.
340  * Fix market not to mess up ridiculously high unit prices.  Has been
341    broken since 4.0.0 introduced the market.
342  * Fix melting of big piles of stuff by ridiculously heavy fallout.
343    Has been broken since fallout exists.
344  * Fix crash on edit s, p, u key 'U' with negative argument.
345  * When a deity builds ships or land units in foreign sectors, they're
346    given to the sector owner.  This lets POGO build them, and it's how
347    build works for planes and nukes.
348  * Fix PRNG (pseudo-random number generator) seeding to resist
349    guessing: seed with a kernel random number.  If we can't get one,
350    fall back to a hash of high-resolution time and process ID.  This
351    should happen only on old systems or Windows.  Far worse than a
352    kernel random number, but far better than just low-resolution time.
353    Fairland's seeding used to be low-resolution time and process ID,
354    but regressed in 4.2.20 to just time.
355  * Switch PRNG from BSD random() to Mersenne Twister.  This is a is a
356    proven, high-quality PRNG.
357  * Fix tiny error in distribution of some die rolls.
358  * Increase land unit retreat chance and nuclear damage's chance to
359    destroy a nuke by one percentage point, for simplicity.
360  * Merge news items a bit more aggressively.
361  * Fix a year 2038 bug in news item merging.
362  * Retire the nightly build.
363  * New make target check.  Just a few tests for now, derived from the
364    smoke test that used to be part of the nightly build.
365  * Really fix accepting connections from "long" IPv6 address.  The fix
366    in 4.3.23 could mess up player's host address in player output and
367    logs, and cause extra "Last connection" messages.
368  * Take ship cost into account when picking missile interdiction
369    target.  Broken in 4.3.8.
370  * Really fix give, setsector and setresource not to wipe out
371    concurrent updates.  The fix in 4.3.27 was insufficient.
372  * Fix setsector not to disclose number of landmines to occupier.
373  * Make capital fail more nicely when the sector is unsuitable.  Its
374    argument must now be a single sector.  Before, it silently picked
375    the first suitable one when the argument selected several.  Has
376    always been that way, and never documented.
377  * Changes to option GODNEWS:
378    - Deity command give could downgrade the deity's relations to the
379      sector owner when GODNEWS was enabled.  No more.
380    - Likewise, deity commands edit and setsector can no longer
381      downgrade the victim's relations to the deity.
382    - News enabled by GODNEWS no longer affect news headlines.
383  * Fix bomb, drop, fly, paradrop, recon and sweep to again accept a
384    destination sector equal to the assembly point.  Broken in 4.3.27.
385  * Fix portability bug in configure test for Windows API.
386  * More user friendly server startup: journal open errors are detected
387    while the server still runs in the foreground, which makes it
388    possible to complain to stderr and to exit unsuccessfully.
389  * Market changes:
390    - Forbid selling conquered populace.  Only relevant when the deity
391      allows selling civilians, which is probably a bad idea.
392    - Permit selling military by default.
393    - Forbid selling ships and land units carrying unsalable cargo.
394  * Scrapping ships and land units now spreads the plague
395  * Don't let scrap give away civilians, kill them off instead.
396  * Pilots and air cargo now spread the plague.
397  * Don't let fly and drop give away civilians.
398  * Fix fly to permit flying civs to a carrier in an occupied sector.
399    Broken in 4.2.17.
400  * Don't let planes fly to a carrier without sufficient space.
401    Before, planes that didn't fit were teleported home, which could be
402    abused.  Broken in 4.3.17.  Almost the same bug was previously
403    fixed in 4.2.17.
404  * Fix tend to foreign ships:
405    - Refuse to tend civilians to foreign ships.
406    - Don't leak friendly foreign ships' commodity cargo.
407    - Continue with remaining target ships after skipping a foreign one
408      when tending a negative amount of commodities.
409    All broken when Chainsaw 2 added tending to allies.
410  * march sub-command 'm' can now sweep own landmines.
411  * Land units no longer sweep allied landmines, except when executing
412    march sub-command 'm'.  They don't hit them since 4.3.27.  Sweeping
413    was forgotten then.
414  * Fix bmap commands not to parse empty flags argument as "revert".
415    Broken in 4.3.27.
416  * Code refactoring and cleanup.
417  * Info page fixes and clarifications.
418
419 Changes to Empire 4.3.30 - Tue May 22 18:34:52 UTC 2012
420  * Disable damage to base sector or ship when missile explodes on
421    launch for now, because damage done to other missiles there can be
422    wiped out in some cases.  Broken in Empire 2.
423  * Fix navigate and march not to wipe out concurrent updates.
424    Abusable, but probably not worthwhile.
425  * Fix some buffer overruns in fairland.  Has always been broken.
426  * Fix arm to require nuke and plane to be in the same sector.  A
427    remote nuke got teleported to its plane when the plane moved.
428    Broken in 4.3.3.
429  * Change login command kill (used by client option -k) to kill less
430    ruthlessly: send a flash message and try to flush output, exactly
431    like a server shutdown does.
432  * Fix server shutdown to wait for player threads to reach a safe
433    state.  Before, player threads raced with shutdown, and failed to
434    update the treasury, record play time, and write log entries when
435    they lost.  Bug goes back to Empire 2.  Patched partially or
436    unsuccessfully in 4.2.10, 4.2.12, 4.2.20, 4.3.6, 4.3.10 and 4.3.23.
437    The race was hard to lose in practice, until an unrelated
438    "simplification" in 4.3.23 could get player threads stuck sending
439    output after shutdown aborted a command.
440  * Idle timeout changes:
441    - The grace period for clients to complete login and logout is now
442      separate from the idle timeout.  Configurable with new econfig
443      key login_grace_time, default is 120 seconds.
444    - The idle timeout for visitors is now separate from the one for
445      players.  Configurable with new econfig key max_idle_visitor,
446      default is five minutes.
447    - Fix the idle timeout when the connection gets stuck sending
448      output.  Broken in 4.3.20.
449    - Idle timeout during execute now terminates the connection, not
450      just the execute command.
451  * Fix stack smash in build.  Remote hole!  Broken when Empire 2 added
452    the confirmation prompt.
453  * Fix stack smash in scrap and scuttle.  Remote hole!  Broken when
454    Chainsaw added the confirmation prompt.  Additionally, the
455    confirmation prompt is misleading when the player supplies
456    conditionals.  Redesign the flawed prompt.
457  * Fix execute's echo of the command.  Broken in 4.3.28.
458  * The mobility cost of retreating a defending land unit was
459    calculated for an uninitialized sector.  This could charge
460    incorrect mobility, prevent retreat, or, if the stars align just
461    right, crash the server.  Broken in 4.3.6.
462  * Commands cutoff, headlines, land, lstat, motd, neweff, payoff,
463    qorder, sorder, and wall now behave like the other information
464    query commands when the player's connection can't take more output:
465    they pause to let other code run.
466  * Revised command permissions:
467    - arm and disarm no longer require money, for consistency with the
468      other commands to move stuff around.
469    - satellite no longer requires money, for consistency with lookout,
470      radar, sonar and skywatch.
471    - qorder, sorder, survey and test no longer require a capital, for
472      consistency with the other commands that report on stuff the
473      player owns.
474    - start and stop no longer require a capital, for consistency with
475      the other commands to control production.
476    - fortify now requires a capital, for consistency with mission,
477      morale and range.
478    - Anybody may now use country, echo and financial.
479    - Visitors can no longer use census, commodity, map, nmap,
480      sinfrastructure (useless without sectors), read (visitors don't
481      get any telegrams), and change (always failed).
482    - Players can no longer use map and nmap before break.  This is
483      consistent with all the other commands to examine the
484      environment.  It also prevents people from trying multiple
485      unbroken countries in a blitz to find the one with the nicest
486      vicinity.
487    - Players can now use resource before break, just like census.
488  * read could swallow the first telegram header when showing the
489    telegrams that arrived while waiting for the player to confirm
490    deletion.  Broken in 4.3.29.
491  * Fix 'm' in path argument of explore, move, transport:
492    - Don't moan about deprecated argument syntax ('m' without a space
493      before its argument) even when there's no argument.
494    - Recognize the flags argument again.
495    Broken in 4.3.27.
496  * Market fixes:
497    - Command market is no longer available to visitors, because it
498      triggers execution of trades that have become ready.
499    - Fix a race condition that could cause commodity trades to be
500      executed multiple times.  Abusing this to duplicate commodities
501      seems tricky, but possible.  Broken in Empire 3.
502    - Don't expropriate sellers of units.  POGO got the the money, the
503      telegrams and made the news, the seller got nothing.  Broken in
504      4.3.17.
505  * Login command quit and server shutdown could lose player output.
506    4.3.23 tried to fix the shutdown case, but the fix was incomplete.
507  * Fix login command quit to really quit.  It sometimes just swallowed
508    buffered input, at least on some systems.
509  * 4.2.22's fairer command scheduling failed to cover the execute
510    command.  Fix that.
511  * When a client shuts down input transmission to log out, output
512    could get lost.  Our client never does that.
513  * Don't skip post command treasury update and status notification on
514    EOF from player, after quit command, and when command is aborted by
515    server shutdown.  An unluckily timed EOF or shutdown can deprive a
516    player of money gained from scuttling tradeships or sacking a
517    capital.  Can be abused to build bridges and infrastructure free of
518    charge.  Can also be abused to designate sectors for free, but the
519    stock game's sector types are all free anyway.  Has always been
520    broken.
521  * Fix client not to send an empty line on player interrupt (normally
522    ^C) before the first command.  This was missed in 4.3.26.
523  * Code and info page cleanup.
524  * Documentation fixes.
525
526 Changes to Empire 4.3.29 - Fri Jan 20 19:20:20 UTC 2012
527  * drop and fly from carrier could fail to load last civilian or
528    military.
529  * Telegram and announcement changes:
530    - wire no longer loops to show announcements that arrived while
531      waiting for the player to confirm deletion.
532    - At most five seconds worth of messages are now squashed together
533      into one.  Before, only the time between adjacent telegrams was
534      limited, not the total time.
535    - When telegrams arrived while read was waiting for the player to
536      confirm deletion, and we then showed them, we nevertheless
537      claimed "you have new telegrams" before the next command prompt.
538      Only with toggle inform off.  Known bug since Empire 2.
539    - Fix read not to clobber asynchronous notification of telegrams
540      arriving while waiting for the player to confirm deletion.
541    - Fix wire not to reset number of pending telegrams with toggle
542      inform on.  Broken when Empire 2 introduced toggle inform.
543    - The number of pending announcements was off when announcements
544      were squashed together.
545    - More careful error handling and logging.
546  * Ensure all of an update's output goes into a single production
547    report:
548    - Avoid splitting it up when the update is slow.  Empire 2 already
549      did that for the number of pending telegrams, but not for read.
550    - Don't turn parts of it into BULLETINs.  Autonav and sail could do
551      that since Empire 2.
552  * files now creates POGO with user interface flags beep, coastwatch,
553    sonar and techlists set, for consistency with add.
554  * Change newcap back to not wiping the country (it wiped since
555    4.3.12).  Additionally, leave levels and telegrams alone.
556  * Changes to deity command add:
557    - Require confirmation for unadvisable actions.
558    - Refuse to touch a country while it's being played.
559    - Don't crash on negative country number.
560    - Create deities with money, just like files creates POGO.
561    - Always reset the country completely, not just when adding a
562      player or a visitor.
563    - Rename argument "new" to "player".  Keep recognizing "new" for
564      now, but deprecate it.
565    - Drop argument "active".  If you really want to create a player
566      country without a capital, add the player country normally, then
567      activate it with edit instead of newcap.
568    - Drop the obscure sector check and wipe option.  If you really
569      need to wipe out a country, there's much more to wipe than just
570      sectors.
571    - Drop the undocumented land unit destruction feature.
572  * Permit no-op country name change again.  Accidentally outlawed in
573    4.3.20.
574  * Plug a few minor memory and file descriptor leaks.
575  * Fix use-after-free when plane gets shot down or aborted in
576    dogfight.  Broken in 4.3.27.
577  * Code cleanup.
578  * Info page and manual page fixes.
579
580 Changes to Empire 4.3.28 - Sat Jul 16 11:30:53 UTC 2011
581  * Don't let POGO (#0) navigate dead ships, and march dead land units.
582    The ghosts even got sighted and interdicted, and could hit mines.
583    Has always been that way.
584  * llook can't see land units and planes loaded on land units anymore.
585  * Fix board to ignore land units loaded on land units when testing
586    whether a sector can board.  Broken in 4.0.17.
587  * Fix transport to reject planes loaded on land units.  The plane
588    remained on its carrier.  When the land unit moved, the plane was
589    teleported right back to it.  Broken since Chainsaw 3 added land
590    units.
591  * Fix lradar not to let land units loaded on land units use radar.
592    Broken since 4.0.0 added trains.
593  * Fix strength to ignore land units loaded on land units.  Broken in
594    4.2.0.
595  * Fix navigate and march to find paths longer than a few sectors
596    again (7 for 64 bit hosts, 3 for 32 bit hosts).  Broken in 4.3.27.
597  * march sub-command 'i' now shows number of military and land units
598    loaded.
599  * New server option -F to force start even when state looks bad.
600    Risks crashes and further corruption, but gives deities a chance to
601    fix up a bad game state with edit commands and such.
602  * empdump -x no longer refuses to export game state that looks bad.
603    Gives deities another tool to fix up a bad game state.
604  * Land units loaded on land units fight che again, as they used to
605    before 4.3.26.
606  * When a land unit dies fighting che, land units loaded on it get
607    unloaded, and planes loaded on it die.  Before, the update left
608    them stuck on their dead carrier.  Impact like the next item.
609    Abusable.  Broken since Chainsaw 3 added land units.
610  * The update no longer destroys ships, planes and land units for lack
611    of maintenance.  Before, it left any embarked planes, land units
612    and nukes on their dead carrier.  In this state, units behaved as
613    if their carrier was still alive, with additional protection from
614    the fact that a dead carrier can't be damaged or boarded.  If
615    another unit with the same number got built, it picked up the stuck
616    cargo.  The cargo got teleported to its new carrier when the
617    carrier moved.  Abusable, but it involves going broke, so it's
618    rarely practical.  Slightly more practical before 4.3.6 removed
619    budget priorities.  Broken for ships and land units when Empire 2
620    added their maintenance cost, and for planes when 4.3.3 replaced
621    nuclear stockpiles by nuke units.
622  * Fix bogus internal error triggered by navigate and march
623    sub-commands 'r', 'l' and 's'.  Broken in 4.3.27.
624  * Fix client not to reject redirections and execute containing
625    non-ASCII characters with a bogus scary warning when using UTF-8.
626  * Fix execute not to mangle non-ASCII characters in the argument when
627    prompting for it while login option utf-8 is on.
628  * Fix handling of non-ASCII and control characters in batch files.
629  * Conversion from UTF-8 to ASCII ate the character following a
630    replaced non-ASCII character.  Buffer overrun possible if the
631    terminating zero gets eaten.  Could happen in players, read, flash,
632    wall, and execute.
633  * Fix handling of empty commands:
634    - Time used was not updated.
635    - Mortal player wasn't logged off for game hours, game down, and
636      time limit.
637    - Notifications were delayed: going broke, becoming solvent, new
638      telegrams (toggle inform off only), new announcements, capital
639      lost.
640  * Minor tweaks to nightly build.
641  * Server's and empdump's sanity checking of configuration and game
642    state is now more rigorous.
643  * Deity xdump no longer dumps unused countries' realms.
644  * Remove option LANDSPIES.  Deities can customize the land table to
645    disable spy units.
646  * Remove option TRADESHIPS.  Deities can customize the ship table to
647    enable trade ships.
648  * Configuration table changes (builtin and custom):
649    - Rows must be in ascending uid order.
650    - Omitting rows in tables item, sect-chr and infrastructure is no
651      longer permitted.
652    - Custom tables now replace the builtin table completely.  Before,
653      omitted rows defaulted to the builtin version, except at the end
654      of a table.  Commenting out unwanted stuff just works now.
655    - Permit custom table product having fewer than 14 entries.
656    - Reject custom tables where customization has no effect (updates,
657      table, meta, all symbol tables) or where it's unsafe (news-chr).
658    - Input is checked more rigorously.
659  * empdump -i fixes:
660    - Don't touch plane file when import fails.
661    - Refuse import of incorrectly sized table instead of silently
662      creating one the server will reject.
663    - Replace old state completely.  Before, omitted rows in the dump
664      defaulted to the old state, except at the end of a table.
665    - Input is checked more rigorously.
666  * Fix xdump updates not to dump bogus extra updates.
667  * Fix use-after-free when a plane got shot down or aborted by flak.
668    Broken in 4.3.27.
669  * Friendlier diagnostics in the build command.
670  * Fix build to set nuke's tech exactly like for ships, planes and
671    land units.  It's not currently used for anything.
672  * Research required for nukes was slightly off sometimes due to
673    incorrect rounding.
674  * Bridge building required 0.005 tech less than advertised, fix.
675  * "show nuke" now obeys toggle techlists.
676  * Fix "show land s" to show columns xpl and lnd again.  Broken in
677    4.3.15.
678  * Code refactoring and cleanup.
679  * Documentation on custom tables and xdump updated.
680  * Info file fixes.
681
682 Changes to Empire 4.3.27 - Sun Apr 17 11:36:29 UTC 2011
683  * License upgrade to GPL version 3 or later.
684  * Fix buy not to wipe out concurrent updates.  Can be abused to
685    duplicate commodities.
686  * Don't let fighters, SAMs and ABMs intercept while on trading block.
687  * Don't let missiles interdict ships or land units while on trading
688    block.
689  * Fix client to log long input lines untruncated.
690  * Fix client crash for long input lines.
691  * info subject pages now mark unusually long pages with a !.
692  * The edit command keys deprecated in 4.3.15, 4.3.17 and 4.3.20 are
693    now gone.
694  * Fix give, setsector and setres not to wipe out concurrent updates.
695  * Fix explore, move, test, transport not to ignore spaces in path
696    arguments.  Broken in 4.3.7.  Deprecate use of 'm' without space
697    before its argument.
698  * Improvements to map drawing commands:
699    - Don't fail silently when asked to draw a map around an invalid
700      unit, explain the problem.
701    - Deprecate bmap flag "r".  Use (a prefix of) "revert" instead.
702    - bmap flags following "t" are no longer ignored.  However, info
703      pages previously documented an argument "true" in addition to
704      flag "t".  To keep that working, keep ignoring flags following
705      "t" when they're bad.  But deprecate that usage.
706    - Reverting the bmap no longer draws a map.
707    - Bad conditionals could make the commands misinterpret their first
708      argument.
709    - The commands now fail when they reject their second argument.
710  * The xdump syntax deprecated in 4.3.12 is now gone.
711  * Fix satellite to fail on bad conditionals instead of ignoring them.
712  * Journal improvements:
713    - Optional logging of output.
714    - Long lines are no longer truncated.
715    - Login phase input is now logged, too.
716    - Commands are now logged.  Allows making sense of input without
717      context.
718  * Option BRIDGETOWERS is now disabled by default.
719  * Bridge towers now take 300 hcms to build, down from 400.
720  * Fix stop orders to expire even when the country is broke.  Broken
721    in 4.3.8.
722  * Fix march and navigate not to advise on "legal directions" when
723    path finding fails.
724  * New path finder:
725    - Much faster, especially for distribution, i.e. where it matters
726      most.  Speedups in excess of 30x have been observed for updates
727      taken from real games.
728    - Old land path finder leaked memory occasionally.
729    - Old land path finder overran buffers for very long paths.  A
730      malicious player can arrange sufficiently long paths, but it
731      takes a lot of land.  Distribution, the distribute command, land
732      unit reaction, and automatic supply now handle arbitrary long
733      paths.  Commands explore, move, test, transport, march, navigate
734      and path now handle paths up to 1023 characters.  Command
735      bestpath shows paths longer than 1023 characters with the tail
736      replaced by "...".
737    - Old sea and air path finder treated destinations as unreachable
738      when the best path was longer than 99 characters.  Command sorder
739      now handles arbitrary long paths.  Commands bomb, drop, fly,
740      paradrop, recon, sweep and sail now handle paths up to 1023
741      characters.  Autonav considers up to 1023 characters at the
742      update.  Planes can fly missions up to 1023 sectors from their
743      base.
744  * Automatic supply charged mobility for the path back to the source
745    instead forward to the sink.
746  * Make bestpath work for deities in foreign land.
747  * More robust savecore example script.
748  * Fix buffer overruns in the lookout, spy, map and nmap commands when
749    WORLD_X * WORLD_Y is not a multiple of 16.
750  * The path command's maps weren't always fitted to the path
751    correctly.  Broken in 4.3.17.
752  * Land units no longer hit allied mines.
753  * Change sharebmap with yourself to do nothing instead of telling you
754    you're not friendly to yourself.
755  * You can now flash yourself.  Enjoy!
756  * A race condition could make the flash command claim an ally was not
757    logged on when he was.  Hard to trigger outside the lab.
758  * The flash command no longer prints "Flash sent" for deities.  It's
759    annoying.  It never did that for mortals.
760  * Plug memory leaks in mission code on a number of conditions:
761    - Submarines moving where own planes would interdict hostile
762      submarines
763    - Ground combat where countries hostile to one of the parties would
764      support if relations were right (allied to one party, at war with
765      the other)
766    - Ships or land units moving within hostile missile mission op
767      areas
768    - Any player action within marine missile mission op areas that
769      could trigger the missile owners' missions.
770  * Attack fixes:
771    - When you ordered a sector to attack with military, but lost the
772      sector before the attack was executed, and the new owner was
773      allied to you, the server got confused: it let the military
774      attack even though they were already dead, but not occupy.
775    - When you ordered a land unit to attack from an allied sector, and
776      the sector got lost before the attack was executed, the server
777      reported things as if you had owned the sector yourself.  The
778      land unit still attacked when the new owner was also allied to
779      you.  No more.
780    - When a land unit attacked out of an allied sector, its mobility
781      cost was computed as if the ally owned the land unit.  Attacking
782      sectors old-owned by that ally was too cheap, and taking back
783      one's own was too expensive.
784  * Fix trade ships to pay off in own harbor.  Broken in 4.3.17.
785  * Remove option SLOW_WAR.  It hasn't been enabled in a public game
786    for years, and the code implementing it was buggy.
787  * Fix a bug in sail that limited the sail path to 27 instead of the
788    intended 28 characters.
789  * Fix race condition in transmission of flash and telegram
790    information messages that could double output and possibly crash
791    the server.
792  * Planes get to sweep and sonar only after flak and interception.
793  * Don't limit the radar command's range to fit its output into a
794    world map without clipping.  The limiting goes back to Chainsaw 2.
795  * Make flak vs. pinpoint bombing consistent with ordinary flak:
796    - 4.3.6 reduced the plane abort chance on damage, but missed the
797      additional flak vs. pinpoint bombing.  Fix that.
798    - Fix to charge mobility appropriate for damage.
799  * Prettier flak damage reporting.
800  * Fix bugs that could cause bmap updates from recon and satellite to
801    be lost.
802  * Fix lookout to properly report sector ownership to deities.
803  * Suppress bogus messages deities with non-zero country number got
804    when attempting to navigate foreign ships or march foreign land
805    units.  Such deity use hasn't worked since Empire 2.
806  * Deities can no longer fly foreign planes.  It didn't fully work
807    since Chainsaw 3, and can trigger internal errors since 4.3.11.
808  * Don't split lines over several bulletins.  The read command
809    normally merges these bulletins, but if they are more than five
810    seconds apart (clock jumped somehow), we get a bulletin header in
811    the middle of a line.  Broken since Empire 2.
812  * Don't beep when plane, land unit or nuke die on a collapsing
813    bridge.  Not nice, because it could beep many times, and could put
814    beeps in bulletins.  Beeping was added in 4.0.18.
815  * Minor improvements to nuclear damage reporting.
816  * When a deity dropped a foreign nuke, parts of the output went to
817    the owner of the nuke instead of the deity.
818  * When a player triggered a foreign missile launch (mission or
819    interception), and the missile exploded on launch, part of the
820    report went to the player instead of the missile owner.  This
821    disclosed the missile owner's origin.  Broken in Empire 2.
822  * When autonav reported to a ship owner that it can't load or unload
823    foreign civilians, it used the sector owner's coordinate system.
824    This disclosed the sector owner's origin.  Abusable.
825  * When nuclear damage bounced off a sanctuary, the bulletin to the
826    sanctuary owner used the attacker's coordinate system.  This
827    disclosed the attacker's origin.
828  * When a deity used sweep, lmine, sail or sabotage with a foreign
829    plane, land unit or ship, its location was reported in the foreign
830    coordinate system.
831  * When a deity asked for a foreign nation report, the capital
832    location was reported in the foreign coordinate system.
833  * Code refactoring and cleanup.
834  * Info file improvements.
835
836 Changes to Empire 4.3.26 - Mon May 24 16:37:40 UTC 2010
837  * Land units loaded on ships or land units can no longer fight che.
838  * When foreign land units were present, a che revolt could damage
839    them instead of the defending land units.  This could let defenders
840    survive the revolt.  They were captured or blown up if che took
841    over the sector.
842  * Fix che revolt to damage only land units that actually fight
843  * Fix loading x-light missiles on ships without capability plane.
844    These ships could only use their x-light slots for x-light planes,
845    not their plane slots.  Broken in 4.3.17.
846  * Update bmap when nuclear detonation makes wasteland.
847  * Fix fly and drop to report discarded cargo items correctly.
848  * New client option -s to specify server host and port.
849  * Hitting landmines could crash the server.  When not, the damage
850    reduction for capability engineer was applied unpredictably.
851    Broken in 4.3.24.
852  * Fix retreat and lretreat condition 'c'.  Broken in 4.3.16.
853  * coastwatch and skywatch could see too far.  Up to one sector for
854    practical radar ranges.
855  * skywatch now reports satellite uids.  The uid is required for
856    launching a-sats since 4.3.23.
857  * Fix client not to send an empty line of input before aborting the
858    command on player interrupt (normally ^C).
859  * Fix sabotage not to kill the spy every time.  Broken in 4.3.17.
860  * Code cleanup.
861  * Info page fixes, manual page improvements.
862
863 Changes to Empire 4.3.25 - Sun Mar 21 08:27:37 UTC 2010
864  * Hitting seamines could crash the server.  When not, the damage
865    reduction for capability sweep was applied unpredictably.  Broken
866    in 4.3.24.
867  * When an interdiction did damage other than collateral damage, the
868    planes that intercepted it from interdicted carriers used no
869    petrol.  4.3.24 fixed only the "no damage" case.
870  * Ship anti-missile defense failed to charge shells when the ship was
871    interdicted.  The fix in 4.3.24 covered only launch.
872  * Fix a bug in navigate and march that let players lay mines free of
873    charge.  Also fix them not to prompt for the number of mines.
874  * Missile exploding on launch could not damage its base if it was
875    armed with a nuke.  Broken in 4.3.23.
876  * When a torpedo attack triggered a return torpedo, the news reported
877    it to be fired by the attacker instead of the defender.
878  * Interdiction attacked submarines with surface-only weapons.  Broken
879    in 4.3.24.
880  * Fix a bug in lradar, path, radar, route, satellite, sect and survey
881    that could leak maps to other players.  Broken in 4.2.0.  Fixed in
882    4.2.8 for bmap, lbmap, lmap, map, nmap, pbmap, pmap, sbmap and smap
883    only.
884  * files could clobber the game when reading confirmation fails.
885  * fairland no longer rejects small worlds without trying.
886
887 Changes to Empire 4.3.24 - Tue Jan 26 21:29:14 UTC 2010
888  * The client sometimes hung under Windows when the server closed the
889    connection.  Broken in 4.3.23.
890  * Fix navigate and march not to crash the server when a path argument
891    consists of a valid path plus whitespace.  Broken in 4.3.7.
892  * When a client sent a blank line in the login phase, the server
893    crashed on some systems.
894  * Fix crash bug in bomb, drop, fly, paradrop, recon and sail.  Broken
895    in 4.3.16.
896  * Fix bogus internal error on escort, recon, and satellite launch.
897    Mostly harmless, as error recovery worked fine.  Broken in 4.3.23.
898  * Stop ship and land unit movement on interdiction even when it does
899    no damage.
900  * When an interdiction did no or only collateral damage, the planes
901    that intercepted it from interdicted carriers used no petrol, and
902    interdicted land units were immune to collateral damage.
903  * The limit for the number of sectors, ships, planes, land units,
904    nukes, and so forth is now large enough not to matter.  It used to
905    be 32768 on common machines.  The sector limit was introduced in
906    4.3.12.  World x- and y-size are still limited to 65536 on common
907    machines.
908  * News use much less space, and thus I/O.  Space was wasted in
909    4.3.12.  Side effects of the change:
910    - Expiry of old news no longer updates news timestamps.  Updating
911      timestamps was wrong, because it defeated incremental xdump news.
912    - The empdump utility can no longer update timestamps of imported
913      news.  Unfortunate, as it breaks incremental xdump news.
914  * New news selector duration, the time span covered by this news item
915    in seconds.
916  * ABMs failed to charge supplies when their sector was the
917    intercepted missile's target.  The stock game's ABMs use no
918    supplies.
919  * Ship anti-missile defense failed to charge shells when the ship was
920    the missile's target.
921  * Code refactoring and cleanup.
922
923 Changes to Empire 4.3.23 - Sun Dec 13 16:34:49 UTC 2009
924  * Fix missile interception not to intercept tactical and marine
925    missiles attacking missiles or satellites.  No such missiles exist
926    in the stock game.  Interception of tactical ABMs could crash the
927    server.  Broken in Empire 2.
928  * Missiles missing their target do collateral damage again.  Was
929    disabled because of bugs in 4.0.18 for manual launch and in 4.3.16
930    for automatic launch.
931  * News reported victim as actor for sub-launched anti-sat and ABM.
932  * Defense value of missiles vs. ABMs and satellites vs. anti-sats
933    failed to improve with tech.
934  * Fix a bug that let missiles interdict ships outside their op area.
935    This could happen when a group navigating together was partly
936    inside the op area.
937  * Only bomb strategic and launch at sector can use nukes.  Before,
938    they could also be used by missions, bomb pinpoint, and launch at
939    ships, but there were several bugs and inconsistencies, and the
940    code was messy.  The arm command now rejects marine missiles in
941    addition to satellites, ABMs and SAMs, and clears the mission.  The
942    mission command now rejects planes armed with nukes.
943  * Missiles exploding on launch pad no longer set off their nukes.
944  * The launch command now more accurately reports why a missile can't
945    be equipped.  It no longer draws supplies automatically.
946  * Manually launched anti-sat now always kills when it hits, for
947    consistency with automatically launched ones.
948  * Don't permit nukes on satellites, ABMs and SAMs.  Nukes on
949    satellites could be armed and disarmed even in orbit.  Nukes on
950    ABMs and SAMs were lost without effect when their missile
951    intercepted.  The stock game is not affected, because its
952    satellites, ABMs and SAMs all have zero load.
953  * Remove obsolete plane capabilities stealth and half-stealth.  Not
954    used by the stock game.
955  * Penalize fighter combat value for any load, not just bombs.  The
956    stock game's fighters can't carry anything but bombs.
957  * Make bomb work for non-tactical cargo bomber.  No such planes exist
958    in the stock game.
959  * Revised cargo plane rules: a cargo flight can be either an airlift
960    or an airdrop now.  Airlifts carry more cargo than airdrops.  A
961    cargo drop or paradrop with a non-VTOL plane is an airdrop.
962    Anything else is an airlift.  This makes paradrop loads consistent
963    with drop loads.  Paradrop with VTOL transports now carries twice
964    the punch, and drop with non-VTOL transports hauls less than fly.
965    In particular, the stock game's tr can't drop guns anymore.
966  * Enforce plane selection rules more tightly:
967    - bomb command can select only planes with capability bomber or
968      tactical.  Before, other planes with non-zero load flew along,
969      but their bombs were silently lost.
970    - sweep command can select only planes with capability sweep.
971      Before, other planes performed ordinary reconnaissance instead.
972    - drop command can select only planes with capability cargo.
973      Before, other planes flew along but dropped nothing.
974  * Fix paradrop to fail without destroying the paratroopers when the
975    player owns the target sector.
976  * Launching an anti-sat now takes the target plane as argument.
977    Before, it took a sector argument, and targeted the lowest-numbered
978    satellite there.  Rather inconvenient when your own satellite masks
979    one of the enemy's.
980  * Remove option PINPOINTMISSILE.  Deities can customize the plane
981    table to disable marine missiles.
982  * Ridiculously impotent nukes could do unpredictable interdiction
983    damage.  No such nukes exist in the stock game.
984  * The production command could mispredict resource-depleting level
985    production.  No such products exist in the stock game.  In fact,
986    they'd be highly unusual.
987  * The update could crash or corrupt the game when a (misconfigured)
988    product depleted resource "none".
989  * Revamp the Windows port based on ideas stolen from Gnulib.  Share
990    the code between server and client.
991  * Don't log out player when update aborts a command under Windows.
992    Broken in 4.3.20, and not fully fixed in 4.3.21.
993  * Fix accepting connections from hosts with "long" IPv6 address.  The
994    internal buffer had insufficient space.
995  * Delay shutdown up to 3s to let player output buffers drain.
996  * Fix a race between main thread and player threads, which could
997    theoretically make the server crash on start.
998  * Clean up synchronization between commands, update and shutdown, and
999    when player threads sleep on I/O.
1000  * Clean up the cruft that has accumulated in and behind the empio
1001    interface, and, to a lesser degree, the empthread interface.
1002  * Fix time difference underflows in pthread and Windows code.  They
1003    could potentially cause hangs, although none have been observed.
1004  * Make budget's "Sector building" line look better.
1005  * Make sector maintenance cost configurable.  New sect-chr selector
1006    maint.  Capitals now pay maintenance regardless of efficiency.
1007  * Overhaul show sect b.
1008  * Fix mine production resource limit for sector peffic != 100.  This
1009    affects mountains in the stock game, but only with an impractically
1010    large number of ETUs per update.
1011  * Code refactoring and cleanup.
1012  * Info file fixes and improvements.
1013
1014 Changes to Empire 4.3.22 - Sat Apr 25 11:56:29 UTC 2009
1015  * Fix a Windows client bug that could lead to hangs, at least with
1016    some versions of the C run-time.  Broken in 4.3.11.
1017  * Allow building without curses terminfo.  Highlighting in the client
1018    doesn't work then.
1019  * Really fix bomb not to wipe out plane updates made while it asked
1020    for pinpoint targets.  The fix in 4.3.21 didn't cover escorts.
1021  * Fix tend land not to wipe out concurrent updates.
1022  * Automatic supply fixes:
1023    - Ships with just two shells could fire a torpedo to return fire or
1024      interdict.
1025    - Ships with just one shell could use their anti-missile defense.
1026    - Land units were considered in supply even when they had not quite
1027      enough supplies.  Such land units could defend without penalty,
1028      attack and react.
1029    Broken in 4.3.20.
1030  * Fix update to take dead units off carriers.
1031  * Standalone client distribution built empire instead of empire.exe
1032    for Windows.  Broken in 4.3.0.
1033  * Fix client to abort script execution on SIGINT.
1034  * Fix Windows client not to hang on EOF on standard input when that
1035    is a tty.
1036  * Fix a client bug that could make it hang when EOF on standard input
1037    follows an execute command closely.
1038  * Seamines under bridge spans were disabled a long time ago, in
1039    Empire 2.  The drop command refuses to mine there.  Change mine
1040    command to do so as well.
1041  * Seamines under bridge spans were mistaken for landmines by ground
1042    combat, land units retreating from bombs, and non-land unit ground
1043    movement.
1044  * When a bridge tower collapsed, its landmines magically became
1045    seamines.
1046  * Don't log out player when he interrupts a command.  Broken in
1047    4.3.19.
1048  * Code cleanup and portability improvements.
1049  * Info file and documentation fixes.
1050
1051 Changes to Empire 4.3.21 - Mon Mar  9 21:34:52 UTC 2009
1052  * Fix swapsector not to wipe out concurrent changes to the swapped
1053    sectors.
1054  * Fix a bug in crash dumping that could mess up the journal and, at
1055    least in theory, mess up commands info, read, turn, and wire;
1056    announcement expiry, and reading of econfig and schedule.
1057  * Fix bomb not to wipe out plane updates made while it asked for
1058    pinpoint targets.
1059  * When bombing ships with a force containing both planes with and
1060    without capability ASW, the bomb command could fail to report
1061    presence of submarines, and could refuse to bomb ships when there
1062    were only submarines.
1063  * Leaving land units behind after a victorious attack could in some
1064    cases wipe out changes made to them since the victory.
1065  * The timestamp selectors added to commodity, load and trade in
1066    4.3.12 could lead to spurious command failures.  None have been
1067    observed in the wild.
1068  * Don't log out player when update aborts a command.  Broken in
1069    4.3.20.
1070  * Code refactoring and cleanup.
1071
1072 Changes to Empire 4.3.20 - Fri Feb 20 18:14:20 UTC 2009
1073  * Option LOANS is now disabled by default.
1074  * Option RAILWAYS is now enabled by default.
1075  * Many fixes to automatic supply:
1076    - Planes flying interception or support missions, abms intercepting
1077      ballistic missiles, and the launch command for missiles and
1078      anti-sats could all supply more shells than necessary, lose
1079      shells, or conjure them up.
1080    - Ships shooting down marine missiles could supply more shells than
1081      necessary, or lose shells.
1082    - Supply ships could conjure up shells when firing guns using
1083      multiple shells, or launching torpedoes, or dropping depth
1084      charges, or shooting down marine missiles.  No supply ships
1085      capable of doing that exist in the stock game.
1086    - Supply engineers could conjure up shells when laying mines.  They
1087      don't exist in the stock game.
1088    - load, lload and supply could supply land units with enough food
1089      from the sector containing them to starve the sector.
1090    - Sectors were charged too much mobility for moving supplies
1091      sometimes.
1092    - Land units serving as supply source no longer draw supplies
1093      recursively, because the bugs there are too hard to fix to be
1094      worth it.
1095    - Defending and reacting units only checked whether they could draw
1096      supplies, but didn't actually draw them.
1097    - load, lload, supply, assault and board no longer supply land
1098      units from ships carrying them.  This feature, added in 4.0.14,
1099      was inconsistent with other ways to supply.
1100    - Don't use automatic supply to avoid starvation at the update.  It
1101      adds complexity to the update.  How much good it does to players
1102      is highly doubtful; certainly nobody can rely on it.  It isn't
1103      covered by the starvation command.  Ships or land units could
1104      steal enough food from their sector to make it starve.
1105    - lmine could only fetch shells for engineers that use ammo.  The
1106      stock game's engineers all do.
1107    The changes listed for load and lload are actually lies, because
1108    supply has been disabled there since 4.3.17.
1109  * Don't let an engineer lay mines while it is on a ship or land unit,
1110    or in a foreign sector.
1111  * Sectors and ships no longer need shells to fire flak.
1112  * Use IPv4 and v6 only when suitable interfaces are configured.
1113  * Fix turn off not to fail when the message is empty.  Broken in
1114    4.2.20.
1115  * Don't nag the deity about game hours restriction in force all the
1116    time.
1117  * Tell deity when the game is down, just like players.  Also make the
1118    information available in xdump, as game selector down.
1119  * Corrupt mailboxes could crash the server.
1120  * Fix reject accept.  Broken in 4.3.4.
1121  * If a player was at a prompt when the deity turned the game down, he
1122    was allowed to enter one more command.
1123  * Air defense is no longer separate from interception.  Putting a
1124    plane on air defense now merely changes where it intercepts.
1125    Separate air defense added too much pointless complexity.  Its
1126    implementation violated design assumptions of the intercept code.
1127    Because of that, the same plane could intercept both an air defense
1128    mission and the planes that triggered it, and the damage it
1129    received in the first interception was wiped out.
1130  * Intercept the same all along the flight path.  In each sector, any
1131    country owning the sector, a surface ship or a land unit there gets
1132    to intercept.  Before, only the sector owner got to intercept,
1133    except for the assembly point and the target sector.  In the target
1134    sector, any country owning surface ships or land units got to
1135    intercept in addition to the sector owner.  Thus, a sector owner
1136    with surface ships or land units there got to intercept twice.  The
1137    sector owner did not get to intercept at the assembly point,
1138    even when it was the target sector.
1139  * Spotting rule changes:
1140    - Ships and land units now spot overflying planes along all of the
1141      flight path instead of just the target sector, and no longer
1142      report allied planes.
1143    - Planes now spot ships and land units only when flying recon or
1144      sweep, and along all of their flight path instead of just the
1145      target sector.  It still takes a spy plane to identify ships and
1146      land units.
1147    - Planes now spot ships and land units in a sector even when all
1148      planes abort there.
1149    - Planes now spot all foreign ships and land units, not just
1150      hostile ones.
1151  * Fix SAM interception for intercepts other than the first.
1152  * Fix air defense and flak over sectors allied to the planes.  Air
1153    defense was broken in Empire 2.  Flak was broken in 4.2.8.
1154  * Establishing contact by spotting planes from sectors didn't work.
1155  * Fix reconnaissance patrols to use sonar when any capable plane is
1156    present.  Before, all planes had to be capable.
1157  * Fix recon and sweep not to spy after all spy planes are gone.
1158  * Fix a bug that made multiple clients running on the same Windows
1159    machine interfere with each other.  Broken in 4.3.11.
1160  * Fix enforcing game hours for players already logged in.  Broken in
1161    4.3.19.
1162  * Fix distribution not to abandon a distribution center by exporting
1163    the last military.
1164  * Many fixes to load, unload, lload and lunload:
1165    - Now usable for deities.
1166    - Plug loopholes that let you steal foreign commodities by making
1167      load/lload unload and unload/lunload load through use of negative
1168      amount arguments.
1169    - Fix not to let you give away civilians.
1170    - You can't use lload in foreign sectors or lunload with foreign
1171      land units anymore.  Loading stuff in foreign sectors was
1172      prohibited already for ships.
1173    - lload and lunload now work on foreign land units only when
1174      they're explicitly named by uid.  This matches behavior of load
1175      and unload.
1176    - Fix to test relations of foreign object's owner to player instead
1177      of the other way round.
1178  * Make sure land units with maximum mobility can attack mountains.
1179  * Fix land unit attack mobility cost.  Broken in 4.3.6.
1180  * Conditions comparing string-valued selectors like wing to unquoted
1181    values are now interpreted more smartly.  Before, unquoted strings
1182    were prone to be interpreted as selector names even when that made
1183    no sense.  You still have to disambiguate truly ambiguous cases
1184    like w=w for planes, e.g. as wing=w or w='w'.
1185  * Fix reporting of shot spies in news.  Broken in 4.3.16.
1186  * Remove econfig key mission_mob_cost.  Questionable feature, and
1187    hasn't been used in a long time.
1188  * Reserve and escort missions now have an op-area, like all the other
1189    missions.
1190  * Land units now react only when on a reserve mission.  The lrange
1191    command is gone.  The edit command still accepts and ignores the
1192    land unit key 'P' for compatibility, but it is deprecated.
1193  * Fix a bug that could mess up mission op-area when the range of
1194    ship, plane or land unit on the mission decreases, e.g. through the
1195    range command.
1196  * Reserve missions no longer give a bonus to reaction range.
1197  * Info file fixes.
1198  * Code refactoring and cleanup.
1199
1200 Changes to Empire 4.3.19 - Sun Dec  7 23:15:34 UTC 2008
1201  * LWP doesn't work with Darwin due to OS bugs, avoid it for now.
1202  * Don't let ships double-retreat first on 'i' (injured) and then on
1203    'h' (helpless) when shelled.
1204  * Fix a bug that suppressed the "sunk!" message.  Broken in 4.3.17.
1205  * Log out player when maximum time per day is exceeded.  Before, he
1206    could remain logged in with visitor privileges only, but once
1207    logged out could not log back in.
1208  * If a player was at a prompt when either game hours restriction
1209    started or maximum time per day was exceeded, he was allowed to
1210    enter one more command.
1211  * Deitying a capital failed to charge money and report news.  Broken
1212    in 4.3.17.
1213  * Overhaul accounting of play time, fixing minor inaccuracies.
1214  * Fix parsing of 24:00 in econfig key game_hours and
1215    update_demandtimes.
1216  * New option RAILWAYS.
1217  * Che ages just like military reserves (1% per 24 ETUs).
1218  * Permit ships to assault the sector they're in.
1219  * Sectors eating less than one unit of food don't make one unit of
1220    food for free anymore.  They still can't starve.
1221  * New concept sector terrain.  Deities can use it to make sectors
1222    other than wilderness redesignatable.  See sect.config for more
1223    info.
1224  * Represent play time in seconds rather than minutes.  This affects
1225    xdump: nat selector minused (counting minutes) is replaced by
1226    timeused (counting seconds).
1227  * Improved nightly build, with additional tests.
1228
1229 Changes to Empire 4.3.18 - Sat Oct 18 18:39:17 UTC 2008
1230  * Fix building of planes, land units and nukes with uids that have
1231    never been used before.  This could crash the server on some
1232    systems in certain states.  Broken in 4.3.17.
1233  * Improved nightly build, with restructured and extended tests.
1234
1235 Changes to Empire 4.3.17 - Sat Sep 20 16:07:44 UTC 2008
1236  * Fix standalone client build for Windows.  Broken in 4.3.11.
1237  * Disable automatic supply of land units on load for now, it's
1238    broken, and can be abused to duplicate supplies.
1239  * Make trade show exactly what's on sale, remove option SHOWPLANE.
1240  * Stop ships, planes, land units and nukes on violent takeover, just
1241    like sectors.
1242  * Wipe orders when ships, planes, land units and nukes are taken over
1243    violently or given away peacefully.  Fleet, wing, army and mission
1244    were already cleared in many, but not all cases.  Other orders were
1245    never cleared: mission op-areas (visible in xdump), ship autonav
1246    orders, ship sail path (including ship to follow and mobility
1247    quota), land unit retreat orders, plane range limit, and land unit
1248    retreat percentage.
1249  * Fix takeover of stuff by attack, assault, board, lboard, paradrop
1250    and pboard:
1251    - Corrupt land unit file could lead to infinite recursion.
1252    - Take over nuke armed on plane along with the plane.  Broken in
1253      4.3.3.
1254    - Taking over land units with negative mobility increased mobility
1255      to zero.  Ditto for planes embarked on ships or land units.
1256  * Fix a bug that made set and xdump not recognize unused trade lots
1257    as such.
1258  * Fix giving away stuff by trading it:
1259    - When an armed nuke is sold separately from its plane, take it off
1260      the plane.  You couldn't do that before 4.3.3.
1261    - Give away nuke armed on sold plane along with the plane.  Broken
1262      in 4.3.3.
1263    - Don't zero mobility of planes and land units on sold ships.
1264  * Fix giving away stuff by unloading from its carrier: Give away any
1265    nukes armed on planes (broken in 4.3.3) and land units loaded on
1266    land units.  The latter can't happen in the stock game.
1267  * Fix giving away stuff by scrapping or scuttling its carrier:
1268    - Fix up output.
1269    - Disarm the nuke from a plane instead of destroying it.
1270    - Give away any loaded land units and planes, too.
1271  * Tradeship fixes:
1272    - Fix scuttle to ask for confirmation when scuttling a tradeship in
1273      an unsuitable sector even when the tradeship is pirated.  Broken
1274      in 4.2.13.
1275    - Fix scuttle to require 2% harbor efficiency for a trade ship to
1276      pay.  Also require at least friendly relations.
1277    - Make autonav refuse scuttle orders in unsuitable sectors.
1278  * Clean up rules on where you can scrap stuff:
1279    - Ships in own or friendly, efficient harbors (relations used not
1280      to matter, contrary to info)
1281    - Planes in own or allied, efficient airfields (friendly used to
1282      work as well, contrary to info)
1283    - Land units in any own or allied sector (relations used not to
1284      matter, and you couldn't scrap them on ships)
1285    Also tell player why something can't be scrapped instead of
1286    ignoring it silently.
1287  * Rewrite the broken code to move land units, planes and nukes along
1288    with their carrier.  The old code was a hack that didn't update
1289    timestamps (so incremental dumps didn't pick up the movement), and
1290    it didn't cover all uses.  The update, in particular, was prone to
1291    see cargo in old locations, which could screw up repairs.
1292  * Expire lost items at the update instead of continuously.
1293  * Replace econfig key lost_items_timeout by lost_keep_hours.
1294  * Minor Windows threading fixes.
1295  * Journal now uses human-readable names to identify threads.
1296  * Ship and land unit load counters are no longer stored in game
1297    state, because they duplicate information already there.  Same for
1298    the type of nuke loaded on a plane.  Remove field nuketype from
1299    xdump plane.  Clients can simply find the plane's nuke instead.
1300    The edit command still accepts and ignores the plane key 'n' for
1301    compatibility, but it is deprecated.
1302  * Ship and land unit load counts as displayed by ship, sdump, land,
1303    ldump, ship selectors nplane, nxlight, nchoppers, nland, and land
1304    selectors nxlight, nland are now reliable.  They used to get out of
1305    sync at times.
1306  * Ship load counts now reflect what is loaded, not how it is stored.
1307    For instance, if a light carrier, capable of carrying 4 x-lights
1308    and 20 light planes carries nothing but 5 sams, we now have
1309    nxlight=5, nplane=0 instead of nxlight=4, nplane=1.
1310  * New cargo lists data structure to let code find loaded planes, land
1311    units and nukes easily and efficiently.
1312  * Revamped upkeep of lost file.  It should be reliable now.
1313  * Disable the ill-advised error recovery on sector access that swept
1314    bugs under the carpet rather than recovering from them.
1315  * Occupied sectors no longer revert to the old owner when all
1316    military and land units go away.  This feature was added in
1317    Chainsaw 3.  It wasn't integrated properly with the che code
1318    (things went wrong when che killed all defenders, but couldn't
1319    convert the sector due to its loyalty), and combat code (if an
1320    attack killed off all local defenders and got defeated by reacting
1321    units, the sector changed ownership anyway, silently).
1322  * Include destination coordinates in interception and plane mission
1323    messages.
1324  * Client could misdiagnose redirections and executes as unauthorized,
1325    or die outright.  Broken in 4.3.11.
1326  * Fix xdump realm to dump player instead of absolute coordinates.
1327    Disclosed the true origin.  Broken in 4.3.0.
1328  * Fix spy to reliably avoid spying same sector more than once.
1329  * The map drawing code could smash the heap when the world was
1330    ridiculously small.
1331  * When a satellite's launch trajectory was off, its coordinates could
1332    get screwed up, which made it invisible in skywatch.
1333  * Fix several bugs that made the path command screw up when the path
1334    spans large areas.
1335  * Fix the default size of the map shown by move, test and transport
1336    sub-command M.
1337  * Fix bugs that could make arguments in area or dist syntax miss
1338    ships, planes, land units and nukes at the border of the selected
1339    area, if that area spans the whole world.  In sufficiently small
1340    worlds, it could also make radar miss satellites and ships, sonar
1341    miss ships, satellite miss ships and land units, nuclear
1342    detonations miss ships, planes, land units and nukes, automatic
1343    supply miss ship and land unit supply sources, ships and land units
1344    fail to return fire, ships fail to fire support.
1345  * Maps sometimes showed x-coordinates as three lines instead of two
1346    unnecessarily.
1347  * Improved nightly build, tests in particular.
1348  * Code refactoring and cleanup.
1349
1350 Changes to Empire 4.3.16 - Sat Aug  9 15:56:52 UTC 2008
1351  * Production command incorrectly limited the number of graduates,
1352    happy strollers, technological breakthroughs and medical
1353    discoveries produced by a sector to 999.  Broken in 4.2.15.
1354  * Fix a bug in improve that could let you spend more money than you
1355    have.
1356  * Fix work command not to spend more mobility than requested, and to
1357    round mobility use randomly instead of down.
1358  * Commands demobilize, convert and work no longer let you spend more
1359    money than you have.  Commands demobilize and convert no longer ask
1360    for confirmation before spending more than half your money.  Saving
1361    that feature would have been more work than it's worth.
1362  * Remove undocumented key 'd' at bomb ship, plane and land unit
1363    target prompts.
1364  * Fix land unit flak when pin-bombed to match flak when overflown:
1365    proportional to efficiency, and randomly rounded.  Was missed in
1366    4.3.6.
1367  * Don't permit bombing of embarked planes and land units.
1368  * Fix capital maintenance to charge at 60% efficiency.
1369  * launch command now requires only 40% plane efficiency, for
1370    consistency with other ways to launch missiles.
1371  * Disable collateral damage when automatically launched missiles miss
1372    their target.  Collateral damage was done even when the launch
1373    failed or the missile got intercepted.  It's been disabled for
1374    manually launched missiles since 4.0.18, for the same reason.
1375  * Fix a bug that corrupted the lostitems file.  Broken in 4.3.12.
1376  * Show command changes:
1377    - Move product information from "show sect c" into new "show
1378      product", and reformat it to be easier to understand.
1379    - New column navigability in "show sect s".
1380    - "show sect s" now shows the packing bonus type instead of
1381      selected packing bonuses.  "show item" shows the actual bonuses
1382      for each type.
1383    - "show sect b" now shows the usual values in addition to unusual
1384      ones.
1385  * Fix interdiction to obey op-area for missiles.
1386  * Fix a bug that caused a stale sources.mk to be distributed in the
1387    4.3.14 an 4.3.15 tarballs.  The latter does not build out of the
1388    box because of that.
1389  * Don't strip tab characters from quoted command arguments.  Broken
1390    in 4.2.21.
1391  * shutdown commands now always take effect immediately.  Before, they
1392    could be delayed by up to a minute.
1393  * shutdown could start multiple shutdown threads when you initiated a
1394    shutdown shortly after cancelling one.  This screwed up the timing
1395    of the shutdown.
1396  * Deity syntax of zdone changed, and is now documented in info.
1397  * The threshold command could be tricked into accepting negative
1398    thresholds.
1399  * Fix designate to always write updated bmap to disk.
1400  * Fix bomb to fail on empty <pin|strat> argument instead of flying
1401    without bombs.
1402  * Fix a bug in distribute that screwed up the current sector's
1403    distribution center when the command got aborted.
1404  * Commands arm, bomb, deliver, drop, fire, fly, paradrop, recon,
1405    lmine, order, power, range, sail, shutdown, sweep and tend did not
1406    honor command abortion at some prompts.
1407  * Fix a bug in handling of EOF from client that could bite in the
1408    following ways:
1409    - EOF at target prompts for bombing commodities, ships, planes and
1410      land units sent the server into an infinite loop that ate all
1411      memory.
1412    - EOF at sail's path prompt crashed the server.
1413    - EOF at some prompts in deliver, designate, fly, morale, zdone,
1414      attack and assault didn't abort the command.
1415    Broken in 4.3.11.
1416  * Selector terr is now the same as terr0 for mortal players, and
1417    dterr for deities.  This matches how the territory command works.
1418    Unfortunately, this required us to rename xdump sect field terr to
1419    terr0.  Sorry about that.
1420  * Fix bomb not to let you bomb dead ships and land units.
1421  * Make the retreat command a bit more helpful on retreat conditions,
1422    and make it fail on bad conditions.
1423  * Fix the mapper scripts.  Broken in 4.2.0.
1424  * Fix flying commands not to let planes do double duty as escorts.
1425    Broken in 4.3.12.
1426  * When a minesweeper hit a mine after sweeping, the mine wasn't used
1427    up.  If it sank the minesweeper, the code accessed freed memory,
1428    which could clobber the ship file or worse.  Broken in 4.0.17.
1429  * Don't let non-light units board ships that can't carry them.
1430  * Capitals can now employ up to 1000 civilians instead of 999.
1431  * Spy command changes:
1432    - Spy now requires sector military.  Before, presence of land units
1433      was sufficient, but spies shot were only deduced from sector
1434      military.  If you lost more spies than you had sector military,
1435      the rest came back from the dead.
1436    - Spy no longer ignores non-sea sectors without civilians, military
1437      and land units.
1438    - Remove columns lnd, pln from spy report.  The values didn't match
1439      the reported land units and planes, and could leak the presence
1440      of spy units.
1441    - Establish contact when spy succeeds even though the spy was
1442      caught.
1443  * Fix news reporting and damage when land units interdict ships in
1444    sectors other than sea.
1445  * Fix land unit return fire damage to ships to take accuracy into
1446    account, like the fire command and interdiction does.
1447  * Remove the inconsistent shelling damage reduction for range.  Fire
1448    command got damage reduced by 10-20% with a chance depending on
1449    range ("Wind deflects shells").  Ships interdicting got it reduced
1450    by half.  Other ways to shell did not get damage reduced for range.
1451  * Fix ground combat to report defending land units.  Broken in 4.3.4.
1452  * Info file and documentation fixes and improvements.
1453
1454 Changes to Empire 4.3.15 - Sun May 18 08:59:30 UTC 2008
1455  * The edit command keys deprecated in 4.3.10 are now gone.
1456  * fairland now obeys game file locks.
1457  * Do not leak world creation time in files utility, because that
1458    facilitates attacks against fairland's PRNG.  Broken in 4.3.12.
1459  * Fix starvation not to starve one more than it should.  The last man
1460    on a boat or land unit now can't starve anymore.
1461  * Fix a crash bug in satellite.  Broken in 4.2.7 and not fixed
1462    correctly in 4.2.12.
1463  * Fix a coordinate normalization bug that could theoretically lead to
1464    buffer overruns and other unpleasantness.  None have been
1465    reproduced, though.  Broken in 4.3.12.
1466  * Remove option FUEL.  The abstract idea of tying ships and land
1467    units to a logistical tether is sound, the concrete implementation
1468    as option FUEL is flawed.  It adds too much busy-work to the game
1469    to be enjoyable.  It hasn't been enabled in a public game for
1470    years.  The code implementing it is ugly, repetitive, and a burden
1471    to maintain.  The edit command still accepts and ignores the fuel
1472    keys for compatibility, but they are deprecated.
1473  * Fix pin-bomb not to report subs when there are none.
1474  * You now have to take a capital to capture the victim's money, loans
1475    or market lots.  Merely obliterating the capital doesn't cut it.
1476    It still makes the victim lose money, though.
1477  * Fix a bug that could theoretically allow sacking of non-existant
1478    capitals of visitors, deities and such.
1479  * You now gain BTUs and MOB_ACCESS mobility before the first update
1480    again.  You didn't since 4.3.10 introduced the ETU clock.
1481  * Fix edit to detect when the edited object changes while it's being
1482    edited.
1483  * Fix xdump nat for relations: it got HIDDEN backwards.  Broken in
1484    4.3.12.
1485  * Fix origin command not to prompt twice for its argument.  Broken in
1486    4.3.0.
1487  * Info file improvements.
1488
1489 Changes to Empire 4.3.14 - Mon May  5 04:57:03 UTC 2008
1490  * Another round of fixes to the fire command:
1491    - Don't disclose where the target retreated to.
1492    - Charge the target shells for returning fire.
1493    - Always use guns when the target is out of range, even if it's a
1494      submarine.  Before, the difference in shell use disclosed whether
1495      the target is a submarine.  Loophole opened in 4.3.12.
1496    - Make depth charges again work with just one shell.  Failing the
1497      command in that case lets players find out whether the target is
1498      a submarine.  Loophole opened in 4.3.12.
1499    - Detect when the firing sector, ship or land unit changes across
1500      the target prompt.  Can be abused to duplicate commodities, and
1501      more.
1502  * Fix parsing of anchor-relative time in update schedule.  Broken in
1503    4.3.13.
1504  * Fix logging of player input in the journal to include command
1505    interruption and EOF.
1506  * Fix oversights in 4.3.12's change to keep track of flying planes:
1507    planes could be erroneously reported damaged by their own ground
1508    strikes.  Happened with missions and the launch command.
1509  * Fix load not load hardened missiles.
1510  * Fix harden not to harden missiles loaded on land units.
1511  * New server option -E to choose what to do on recoverable internal
1512    error.  You can now make the server dump core and keep going (not
1513    implemented for Windows).  New econfig key post_crash_dump_hook to
1514    run a program after crash-dumping.  See scripts/savecore for an
1515    example.
1516  * Journal entries are now flushed to disk right away even when the
1517    server is not running in debug mode.
1518  * Don't let land units load trains.
1519  * Allow deity to display power report for all types of countries,
1520    with power c.
1521  * Fix designate's check for disallowed sector types.  Broken in
1522    4.3.12.
1523  * Documentation fixes.
1524
1525 Changes to Empire 4.3.13 - Tue Apr 15 19:03:11 UTC 2008
1526  * Work around strptime() lossage on some systems.  Fixes the parsing
1527    of the schedule file there.
1528  * New selector maxnoc for xdump version.
1529  * Fix initialization of realms in newcap.  Broken in 4.3.12.
1530  * Fix add for status arguments active, god, delete.  Broken in
1531    4.3.12.
1532  * Info file, manual page and documentation fixes.
1533
1534 Changes to Empire 4.3.12 - Wed Apr  2 05:35:06 UTC 2008
1535  * Fix rounding error in update that could result in more babies than
1536    food permits, and negative food.
1537  * Fix a bug that could lead to unfair thread scheduling under
1538    Windows.
1539  * Fix ship and land unit missile interdiction and ballistic missile
1540    interception to require a proper base.  Before, missiles could
1541    launch from anywhere for that.
1542  * Launch bug fixes:
1543    - Don't allow launching from unowned sectors.
1544    - Don't destroy missiles stuck on foreign ships.
1545    - Use up the supplies required for launching an asat only when it
1546      actually launches.
1547    - Don't ignore satellites' fuel use.
1548  * Deity command newcap now requires its second argument (sanctuary
1549    coordinates).  Before, it tried to pick a suitable location when
1550    none was given.  The code implementing this feature had problems,
1551    and it's not worth fixing, because it is obscure, and rarely (if
1552    ever) used: no conscientious deity would use it for a real game,
1553    and for blitzes fairland does a better job.
1554  * Keep track of flying planes properly.  This fixes a number of bugs:
1555    - While the bomb command awaited pin-bombing target input from the
1556      player, other players could interact with the pin-bombers and
1557      escorts as if they were sitting in their bases: spy them, damage,
1558      capture, load, unload, or upgrade them, even get intercepted by
1559      them.  But any changes to those planes were wiped out when they
1560      landed.  Abusable.
1561    - The bomb command could bomb its own escorts, directly (pin-bomb
1562      planes) or through collateral damage, strategic sector damage,
1563      collapsing bridges or nuke damage.  The damage to the escorts was
1564      wiped out when they landed.
1565    - If you asked for a plane to fly both in the primary mission and
1566      escort, you got charged fuel for two sorties instead of one.
1567  * Plug memory leaks in plane interception.
1568  * Fix trade not to let the buyer teleport satellites (not in orbit)
1569    and asats to an arbitrary sector.  Abusable, because abms
1570    intercepted from anywhere, and satellites could be launched from
1571    unowned sectors.
1572  * The PRNG seed is now logged in the journal.
1573  * Fix nightly build for Windows.
1574  * Fix crash bug that bit when custom tables contained columns names
1575    that existed, but weren't supposed to be in the custom table.
1576  * New timestamp selector for commodity, country, game, loan, nation,
1577    news, realm, trade, treaty to support incremental xdump.
1578  * Deity commands newcap and add wipe the nation more thoroughly.  add
1579    no longer touches relations and flags for status active and god.
1580  * New utility program empdump to export and import game state as
1581    plain text.  Check its manual for details, including limitations.
1582  * Plane, ship and land unit stats are no longer stored as game state,
1583    but recomputed from tech and base stats as needed.
1584  * xdump ver is no longer a special case.  Syntax "xdump ver" is now
1585    deprecated.  Use "xdump version *".
1586  * Fire and torpedo cleanup and bug hunt:
1587    - Plug memory leak in fire command.
1588    - Fix ammunition use when returning fire: resupply could lose
1589      shells when returning fire to multiple targets, and land units
1590      were charged per target instead of just once.
1591    - Interdicting land units now resupply shells automatically, for
1592      consistency with other ways to fire.
1593    - torpedo and fire no longer resupply shells automatically.  The
1594      latter used to resupply land units only.
1595    - Land units no longer have to be in supply to fire actively, for
1596      consistency with other ways to fire.
1597    - Submarines with zero mobility can no longer interdict, for
1598      consistency with other ways to torpedo.
1599    - Fix bugs that let submarines without capability torp use
1600      torpedoes to return fire and interdict.
1601    - Fix torpedo command not to require a line of sight for return
1602      fire and depth charges, and to use torpedo range instead of
1603      firing range for return torpedoes.
1604    - Active fire and interdiction didn't work for ships with zero
1605      firing range, even though return fire and support did.  No such
1606      ships exist in the stock game.
1607    - Let land units with zero firing range and non-zero firing damage
1608      fire, for consistency with ships.  No such units exist in the
1609      stock game.
1610    - Ships required different numbers of military to operate their
1611      guns for the various kinds of fire.  Unify to require 2*N-1
1612      military to fire N guns.
1613    - Ship ammunition use differed for the various kinds of fire.
1614      Unify to use one shell per two guns.
1615    - Forts could fire support even when there were not enough mil.
1616    - Fix automatic shell resupply in several places to supply exactly
1617      the shells actually fired, no more, no less.
1618  * Change depth charges back to how they are documented and worked
1619    before 4.0.6, mostly: require no guns, one military, do damage like
1620    shell fire from three guns (before 4.0.6: two guns), use two
1621    shells.  In 4.0.6's model, they worked exactly like shell fire
1622    (require guns and gun crew, non-zero firing range, damage and
1623    ammunition use scales with available guns), except for missions,
1624    which was a bug.  Note that depth charge damage for all ships is
1625    now like fire from three guns for two shells.  No change for dd; af
1626    did two gun damage for one shell before, and nas did four gun
1627    damage for two shells.
1628  * The edit command keys deprecated in 4.3.3 are now gone.
1629  * Fix build not to screw up automatic dependencies on certain compile
1630    errors.
1631  * Fix a bug that could prevent repeated news from properly
1632    aggregating into one news item.
1633  * Properly initialize all bits in game state files, even those that
1634    aren't used.
1635  * Fix explore's test for stopping on a splashed bridge.  The bug made
1636    explore print to a bogus message.
1637  * Fix spelling of symbol airburst in table plane-flags.  This could
1638    affect clients.
1639  * Change designate not to check total cost before executing the
1640    redesignation.  The code implementing that was buggy and too ugly
1641    to live.  Designate doesn't cost anything in the stock game.
1642  * Always charge land units at least as much mobility for assaulting
1643    from non-landing ships as from landing ships.  Before, marines lost
1644    all mobility when assaulting from a non-landing ship, which could
1645    be less than what the same assault costs from a landing ship (half
1646    an update's worth).
1647  * Fix LWP's stack initialization for -s.  It caused crashes on some
1648    systems.
1649  * Fix confused and buggy bridge splashing code:
1650    - Flying planes could be reported drowned.
1651    - Pin-bombing a bridge head failed to collapse bridge spans for
1652      lack of support, unless the pin-bombing caused collateral damage.
1653    - Corrupt sector file could lead to infinite recursion.
1654  * Relative names now work for econfig keys data and info.
1655  * Fix utility programs to abort on internal errors.  They used to
1656    print a message and attempt to recover.
1657  * Fix off-by-one in fairland that ate the last expansion island.
1658  * Switch from CVS to git.
1659  * Code refactoring and cleanup.
1660  * Portability fixes.
1661  * Info file, manual page and documentation fixes and updates.
1662
1663 Changes to Empire 4.3.11 - Tue Jan  1 18:57:38 UTC 2008
1664  * New sector selector elev.  It's set by fairland, but has no effect
1665    on the game.  It can be useful for deities to customize a world
1666    created by fairland.
1667  * The client now copes with ids greater than 15.  The Empire
1668    protocol currently uses 14 ids.
1669  * Rewrite the client's code for reading server output during login.
1670    The old code could write one byte beyond the end of the buffer
1671    (theoretically a remote hole), got confused by long lines, and
1672    lines that didn't arrive in one piece.
1673  * Long country name, password or user name crashed the client.
1674  * Fix xdump not to deny access to game state tables when maximum
1675    minutes per day are exceeded.
1676  * The server considers a country bankrupt when its treasury is
1677    negative.  Except when it doesn't.  Fix that:
1678    - report misreported countries with $0 as broke.
1679    - If a command spent a few cents more than you had, commands requiring
1680      money became unavailable even when rounding brought you back to
1681      $0.  But logging out and back in then bankrupted you.
1682    - If your treasury rose to exactly $0, commands requiring money
1683      remained unavailable.
1684    - If you had $0, sectors didn't build and sectors and ships didn't
1685      produce at the update.
1686  * Fix a bug in trade that made your money evaporate when a trade fell
1687    through because you couldn't fully pay.  This bug was there since
1688    the introduction of the market in 4.0.0.  It got aggravated by the
1689    removal of forced loans in 4.3.0.
1690  * Fix printing of the new group in army, fleet and wing.  Broken in
1691    4.3.5.
1692  * Fix flash not to screw up the message when the first argument
1693    contains white-space.
1694  * Don't let planes intercept when they are stuck in foreign bases, on
1695    inefficient ships or land units, or on land units loaded on ships
1696    or land units.
1697  * Fix a bug that made interception require petrol to be present even
1698    for planes that don't use fuel (SAMs).  Broken in 4.3.3.  Air
1699    defense missions weren't affected.
1700  * fairland and setsector now limit fertility to 100 instead of 120,
1701    like the other resources.
1702  * Generalize the autonav hack for fishing boats so it covers oil
1703    derricks as well.
1704  * Fix bug in path command that made it swallow every other step.
1705    Broken in 4.2.22.
1706  * The execute command no longer supports redirections and execute in
1707    batch files.  Flaws in the Empire protocol make it next to
1708    impossible for clients to implement that correctly.  See
1709    doc/clients-howto for an explanation.
1710  * Rewrite much of the client's code for sending commands and
1711    receiving server output:
1712    - No longer blocks on sending commands, which could deadlock the
1713      session.
1714    - Fix race condition that could cause server output to be discarded
1715      on EOF on standard input.
1716    - Don't discard server output when reading standard input fails.
1717    - Fix error handling for execute and other, more obscure cases.
1718    - More rigorous error checking for redirections and execute.
1719      Clearer error messages, too.
1720    - Fix execute redirected to file or pipe.  Believed to be broken in
1721      4.2.0.
1722    - The client now creates files for redirections with the same
1723      permissions whether the redirection is in a pipe or not.  Before,
1724      redirections without a pipe created files with no permissions for
1725      group and others.  This change may make your redirected output
1726      visible to other users on your system.  Use the usual controls,
1727      like umask, to restrict permissions to your liking.
1728    - Reject unexpected redirections (violating the protocol).  Before,
1729      they silently replaced the current one, and in the case of pipes
1730      leaked file descriptors and memory.
1731    - Redirections in batch files are not implemented.  They didn't
1732      quite work before, and could leak memory and file descriptors.  A
1733      flaw in the Empire protocol makes them next to impossible to
1734      implement correctly.
1735    - The execute command in batch files is not implemented.  A flaw in
1736      the Empire protocol makes this practically useless anyway.
1737    - Old code leaked memory in various places.
1738    - Unfortunate incompatibility with older servers: if you type the
1739      EOF character (normally ^D) at an argument prompt, the session
1740      hangs.  Use the interrupt character (normally ^C) to get out.
1741  * The client now supports options -h and -v.
1742  * The client no longer zaps its command line in a lame attempt at
1743    protecting users who foolishly specify passwords on the command
1744    line.  Zapping annoys system administrators and creates a false
1745    sense of security.
1746  * Journal entries are now flushed to disk right away when the server
1747    is running in debug mode.
1748  * Fix bugs in load that could make loading operations fail noisily
1749    instead of silently on some systems.
1750  * Server now reliably shuts down session when it receives an
1751    end-of-file condition from the client.  Before, it merely failed
1752    the current command when it got it at an argument prompt.
1753  * Fix bug in execute that could crash the server on some systems when
1754    it prompts for the argument.
1755  * Fix bug that let you check whether a non-allied carrier is
1756    efficient enough for takeoff when one of your planes got stuck
1757    there somehow.
1758  * Fix bug that let you attempt to escort a one-way mission to a
1759    carrier with non-light, non-interceptor escorts.  Such planes don't
1760    fit on carriers, and the command then failed with a bogus error
1761    message.  Before 4.2.17, the planes flew, and the escorts were
1762    teleported home.
1763  * Change the rules for fitting planes on ships slightly, so that the
1764    order of loading no longer matters. Choppers and x-lights can now
1765    use plane slots even when not light.  X-light choppers, which don't
1766    exist in the stock game, can no longer use x-light slots.
1767  * The server now keeps its log file open, just like the journal.
1768  * New server option -R to set the PRNG seed.  This is for
1769    reproducible tests.  Change the Windows-only service uninstall
1770    options from -r/-R to -u/-U.
1771  * Supply a real PRNG for Windows instead of the leaky water-pistol
1772    Windows provides.
1773  * Threads sleeping until a specified time could return early under
1774    Windows.  This could cause missed updates.  Broken in 4.3.10.
1775  * Fix missing newline in show updates.
1776  * Power report didn't factor tech into power correctly.  Broken in
1777    4.3.3.
1778  * Code refactoring and cleanup.
1779  * Info file and documentation fixes and updates.
1780
1781 Changes to Empire 4.3.10 - Thu Sep  6 17:59:53 UTC 2007
1782  * Bridge spans now cost $1000 instead of $2000, and bridge towers
1783    $3000 instead of $7500.
1784  * The Windows port now supports IPv6, but it still needs to be
1785    enabled manually at compile-time.
1786  * The custom table reader detects more errors.
1787  * Do not leak world creation time in files and fairland, because
1788    that facilitates attacks against the PRNG.  This misfeature crept
1789    into 4.3.0.
1790  * Remove the ancient, crufty non-UCONTEXT system-dependent LWP code.
1791    Using it required manual hackery since 4.3.0.
1792  * Plug file descriptor leak in add command.
1793  * Don't kill player connections violently when their thread appears
1794    to be hung.  Threads being aborted by update or shutdown could be
1795    misidentified as hung, and the violence could lead to resource
1796    leaks, locked out updates, and corrupted game state.
1797  * Fix LWP to reliably wake up threads sleeping for a time.  Before,
1798    players with a sufficiently fast connection could starve out system
1799    threads, including the update.
1800  * Fix a class of bugs that made commands behave differently while the
1801    update is attempting to take control:
1802    - No MOB_ACCESS mobility was gained.
1803    - Telegrams were miscounted.
1804    - Bulletins got misfiled as production reports.
1805    - The navigate command ignored sail paths.
1806    - The declare command was more quiet, and declarations of war
1807      failed silently when SLOW_WAR was enabled.
1808    - Many messages got misdirected to bulletins.
1809    Some of these bugs go back all the way to Empire 2, ca 1995.
1810  * New deity command reload, effect similar to SIGHUP.
1811  * Not voting for a demand update no longer lets you veto further
1812    demand updates.  This feature was flawed (it encourages players to
1813    vote late so that they can tactically vote no and thus build up
1814    veto rights), virtually unused, and buggy.  The edit command still
1815    accepts and ignores the country key 'U' for compatibility, but it
1816    is deprecated.
1817  * Fix zdone not to claim to have triggered an update when they're
1818    disabled.
1819  * New update scheduler and ETU clock:
1820    - New schedule file.  See doc/schedule for how to use it.  Replaces
1821      econfig keys update_policy, adj_update, update_times, hourslop,
1822      blitz_time.  A change of schedule does not require a server
1823      restart.
1824    - The force command can no longer force updates in the future.
1825      Edit the schedule file for that.
1826    - New command show updates to show the update schedule.  Obsoletes
1827      the update command.
1828    - New xdump game and xdump updates.
1829    - New utility program empsched to help test update schedules.
1830    - Replace option DEMANDUPDATE and econfig key update_demandpolicy
1831      by econfig key update_demand.
1832    - econfig key update_demandtimes no longer applies to scheduled
1833      demand updates.
1834    - You now receive new BTUs at the update in addition to login.
1835    - You now always gain the same BTUs and MOB_ACCESS mobility per
1836      turn, even when the update schedule changes, updates get missed,
1837      or unscheduled demand updates run.
1838    - Remove the mobupdate command, because porting it to the new ETU
1839      clock is not worth it.
1840  * Redesign of synchronization between commands, update and shutdown,
1841    and how updates are triggered:
1842    - Simplify update to a single thread waiting for the trigger.
1843      Before, three update threads had to perform a carefully
1844      choreographed dance to make updates happen.  The dance relied on
1845      thread priorities for correctness, which are only implemented by
1846      LWP.  With pthreads and under Windows, demand updates were prone
1847      to two update threads starting up concurrently.  Even with LWP,
1848      forced and demand updates could lead to double updates.
1849    - Use a lock for synchronization: commands take it shared, update
1850      and shutdown take it exclusive.  This makes update and shutdown
1851      block until all aborted commands terminated and gave up their
1852      lock.  Before, they proceeded blindly after waiting two or one
1853      seconds respectively, which was cheesy and unsafe.
1854    - New commands no longer fail while the update is pending, they are
1855      delayed until after the update.
1856    - New commands can no longer start during shutdown.  Before, they
1857      could, but risked getting killed violently, possibly corrupting
1858      game state.
1859    - Fix command execution so that commands blocked in writing
1860      redirections are abortable.  The bug allowed players to delay
1861      update and shutdown indefinitely.
1862    - Fix shutdown not to let player threads block on output.  This
1863      let players delay shutdown indefinitely.
1864    - Fix reading of player input not to block again after update or
1865      shutdown aborted it.  The bug allowed players to delay update and
1866      shutdown indefinitely.
1867  * Thread priorities are only implemented by LWP and no longer used.
1868    With LWP, they let players with a sufficiently fast connection
1869    starve out the threads that clean the lost file and kill idle
1870    connections.  Drop them.
1871  * Show nuke rounded required research incorrectly.
1872  * Log unprintable characters as octal escapes rather than question
1873    marks in the journal file.
1874  * The files program no longer changes permissions of existing files.
1875  * The files program now creates all files with permissions ug=rw and
1876    all directories ug=rwx, modified by umask.
1877  * Fix a bug that could make arm, disarm and nuke detonation work with
1878    a used-up nuke instead of the armed one.  This could be abused to
1879    detonate nukes multiple times.  Broken in 4.3.3.
1880  * Fix nuke detonation output for zero blast radius.
1881  * Plug memory leaks in thread code.
1882  * Fix a bug that made LWP I/O wakeup unreliable.
1883  * New march sub-command v for view.
1884  * Journal was initialized before threads were, which was wrong.
1885  * Fix server not to create a journal on SIGHUP when it is disabled.
1886  * shutdown 0 now requests immediate shutdown instead of cancellation
1887    of a pending shutdown.  shutdown -1 now cancels.
1888  * flash and wall no longer split long message lines.
1889  * Fix a bug in collect that screwed up a fully collected loan instead
1890    of deleting it.  The screwed up loan could not be sharked or
1891    collected, but it could be repaid.
1892  * Remove the wait command, it's been broken and restricted to deity
1893    since Empire 2, ca. 1995.
1894  * Budget failed to take sector production into account for predicting
1895    unit repairs.  Before 4.3.6, this bug bit only when you fooled
1896    around with budget priorities.
1897  * When unit repairs are limited by materials, the efficiency gain is
1898    now rounded down.
1899  * Ship repairs outside harbors and plane repairs by carriers used to
1900    consume commodities when and as far as available.  Now, they
1901    consume the same fraction of the real cost of each commodity,
1902    i.e. commodity use is limited by the most scarce commodity.
1903    Neither old nor new behavior make much sense, but the new code is
1904    simpler.
1905  * Code refactoring and cleanup, in particular to make the Windows
1906    port less ugly.
1907  * Portability fixes.
1908  * Info file and manual page updates.  All manual pages are now
1909    installed in section 6.
1910
1911 Changes to Empire 4.3.9 - Sat Jan  6 12:42:19 UTC 2007
1912  * Fix declare to prevent the deity from changing relations for a
1913    player to self.  Allow the deity to set the relations of a player
1914    towards the deity.
1915  * Fix arm not to put the same nuke on multiple planes (broken in
1916    4.3.3).
1917  * New option AUTO_POWER.
1918  * Sectors now repair allied land units.
1919  * Sectors now repair only own and allied planes.
1920  * Fix repair of planes on foreign carriers: repair allied planes,
1921    ignore the others.  Before 4.3.3, carriers destroyed rather than
1922    repaired foreign planes.  Since 4.3.3, foreign planes were treated
1923    as recoverable error.
1924  * Fix automatic fortification of land units to use all excess
1925    mobility even when mobility delta exceeds mobility maximum.
1926  * Disable automatic fortification of land units when MOB_ACCESS is
1927    on, because it is prohibitively slow then (broken in 4.2.13).
1928  * Budget now shows level production (tech, education, research and
1929    happiness) rounded instead of randomly rounded.
1930  * Fix update not to randomly flush small level production to zero.
1931  * Fix overly restrictive game file locking under Windows (broken in
1932    4.3.8).
1933  * Fix navigate to charge mobility for sweeping mines without moving
1934    (broken in 4.3.6).
1935  * Code cleanup.
1936
1937 Changes to Empire 4.3.8 - Fri Oct 20 18:30:28 UTC 2006
1938  * Ships no longer produce stuff when the government is broke.
1939  * Fix land unit casualties in revolts.
1940  * Fix security units not to raid friendly che.
1941  * Fix update sequence to ensure stopped sectors don't work on the
1942    ships, planes and land units in the sector.  Before 4.3.6, this bug
1943    bit only when you fooled around with budget priorities.
1944  * Fix canal loading (was broken in 4.3.0).
1945  * Fix tend not to tend land units that could not be loaded.
1946  * Make xdump command available before break, but deny access to game
1947    state.
1948  * Lock game files to prevent concurrent access by multiple programs.
1949    fairland does not yet obey the lock.
1950  * Fix production to consider sector item limit.
1951  * Fix swapsector to update coastal flag correctly (broken in 4.3.0).
1952  * Enhanced mapping sub-commands in move, test, explore and transport.
1953  * Code cleanup.
1954  * Info file fixes.
1955
1956 Changes to Empire 4.3.7 - Fri Jul 14 23:05:19 UTC 2006
1957  * Sanctuaries are again fully populated with civilians (4.3.6 changed
1958    the limit, but not the population).  Food is now spread evenly
1959    among them.
1960  * Fix path finder to find shortest naval and aerial paths again
1961    (broken in 4.3.4).
1962  * transport's map sub-command now does the right thing for a unit
1963    number argument.
1964  * Fix bug in map sub-command of move, explore and transport that
1965    passed junk to map command.  Could theoretically crash.
1966  * Food need reported by starvation was one short for sectors without
1967    food.
1968  * Change land unit ammunition use back to what it was before 4.2.3.
1969    This lets deities customize ammunition use independent of damage.
1970    It also substantially reduces ammunition consumption at high tech.
1971  * navigation and march enhancements:
1972    - Sub-command 'f' now takes an optional ship / land unit number.
1973    - Mapping sub-commands now take an optional ship / land unit
1974      number.
1975    - New sub-command 'd' to drop mines.
1976  * Let minesweepers retreat at their full speed (missed in 4.3.6).
1977  * SUPER_BARS cannot be harmed, so don't interdict them.
1978  * Don't let trains and non-trains march together for now, because the
1979    march code isn't prepared for that.
1980  * New mapping flag 'n' to show nukes.
1981  * Mapping flag '*' now shows nukes as well.
1982  * New command nbmap to bmap around a nuke.  Overload command nmap to
1983    map around a nuke when given a nuke argument.
1984  * Fix an inconsistency that gave tactical bombers a small bonus
1985    vs. flak when pin-bombing.
1986  * Fix production to show the designation that actually produces, not
1987    the designation as it is now (broken in 4.3.6).
1988  * Fix accidental whitespace change in output of sdump, pdump and
1989    ldump that crept into 4.3.5.
1990  * Support user-defined sector types and products in custom tables,
1991    not just customization of existing ones.
1992  * Fix off-by-one bug in budget that used to be masked by budget
1993    priorities until their demise in 4.3.6.  The bug could crash the
1994    game on certain systems.
1995  * Code cleanup.
1996  * Info file fixes.
1997
1998 Changes to Empire 4.3.6 - Tue Jun 20 18:46:18 UTC 2006
1999  * The shutdown command now terminates the server process correctly
2000    even with LinuxThreads pthreads under Linux 2.4 and earlier.
2001  * Cope with old versions of groff (broken in 4.3.0).
2002  * You can now arm allied planes with nukes.
2003  * Taking a nuke off a plane gives it to the sector owner again.
2004    Feature was accidentally dropped in 4.3.3.  Recipient must be
2005    allied.
2006  * Naval path went bananas for impassable end sectors (broken in
2007    4.3.1).
2008  * New econfig key disabled_commands.
2009  * New territory selector dterr, restricted to deities.  The territory
2010    command defaults to it for deities.
2011  * Let land units attack as long as they have positive mobility,
2012    except for high-mobility terrain (mountains), where the rules
2013    remain as they were: land units need to have all the mobility
2014    charged for the attack, not counting combat and moving in to
2015    occupy.  Rationale: Making sure your land units reach attack
2016    positions with enough mobility left is a pain in the neck.
2017    Requiring only positive mobility is friendlier, but allowed rushing
2018    of mountains, so we make an exception there.
2019  * Can typeset info pages as PostScript.  Result isn't exactly pretty.
2020  * Support disabling of infrastructure in infra custom table.  Remove
2021    redundant option DEFENSE_INFRA.  show command now shows only enabled
2022    infrastructure.
2023  * Fix crash on empty argument in bmap, lbmap, lmap, map, nmap, pbmap,
2024    pmap sbmap, smap (broken in 4.3.1).
2025  * New, simpler sector mobility cost formula:
2026    - The basic cost is still a linear function of sector efficiency,
2027      with customizable cost at 0% and at 100%.  The latter used to be
2028      derived from the former.  The show command shows both parameters
2029      now.
2030    - Mountains are no longer a special case.
2031    - Tweak costs: mountains now range from 2.4 to 1.2 instead of 2.174
2032      to 1.304, highway, bridge head, bridge span and bridge tower
2033      range from 0.4 to 0.001 instead of 0.2 to 0.001, and wilderness
2034      is 0.4 flat instead of 0.6 to 0.4.  All sector types mortal
2035      players can designate now cost the same at 0%.  That's a feature.
2036    - Road infrastructure now reduces cost up to 90%, linear in road
2037      efficiency (used to be close to that, but non-linear).  Same for
2038      rail infrastructure, but 99%.  Adapted from Ice World V.
2039    - Double land unit minimum cost to 0.02, to slow them down on
2040      highways.
2041    - Change land unit cost penalty in newly taken land to an extra 0.2
2042      instead of a minimum of 0.2, to reduce penetration depth.
2043  * Reduce bridge head defense and collect value to match highway's.
2044  * sinfrastructure displayed bogus rail mobility costs when there was
2045    no rail.
2046  * Retreating engineers took full landmine damage instead of half.
2047  * Fix socket creation code not to print a null pointer.
2048  * Fix login option code not to search beyond end of table (broken in
2049    4.2.21).
2050  * Spy planes and satellites can no longer spot landspies.
2051  * Spy planes can now spot surface ships at sea.  They can no longer
2052    spot land units loaded on ships or land units.
2053  * Fix train retreat mobility cost, and don't permit retreat off rail.
2054  * Change maximum population to 100 for plains (was 49), mountains
2055    (was 99), bridge spans and bridge towers (was 999), and to 1000 for
2056    the other habitable sector types (was 999).
2057  * Let minesweepers navigate at the speed their stats indicate by
2058    letting them sweep on the move at no extra mobility charge.
2059  * Reduce chance for planes to abort from 100-eff (if eff<80) to
2060    80-eff.  This should make it easier to punch through air defense,
2061    flak in particular, and increase the risk of getting shot down.
2062  * Ship and land unit flak intensity is now proportional to efficiency.
2063  * Ship and land unit flak intensity is no longer scaled by the tech
2064    of the owner of the last thing firing.  It's still scaled by each
2065    thing's tech.
2066  * All ships and land units firing flak now spot the plane and are
2067    spotted by the plane.  Previously, spotting stopped as soon as flak
2068    maxed out.
2069  * Inefficient land units were overcharged mobility when reacting.
2070    Broken when Empire3 changed land unit mobility use not to depend on
2071    efficiency, except for supply units.
2072  * New journal file to log complete player input plus selected
2073    important events.  Controlled by new econfig key keep_journal, off
2074    by default.
2075  * Fix unsafe shutdown on SIGINT and SIGTERM.
2076  * Fix land unit path finding: paths weren't always cheapest (broken
2077    in 4.0.2), and trains could be sent down paths without rail (never
2078    worked).  Also fixes unit reaction path cost.
2079  * The custom table reader can now deal with sector, item, product and
2080    infra tables more comfortably.
2081  * Remove option BIG_CITY.  Deities can customize the sect table to
2082    get the same effect.
2083  * Many more selectors can now be compared with names, not just
2084    numbers.  This includes nations, e.g. census ?old=Mirkwood.  Does
2085    not fully work for queer names like &&&.
2086  * Let land units on missions support, just like ships.
2087  * Don't let units loaded on a train react.
2088  * Change update sequence to repair ships, planes and land units after
2089    sectors produce.  This makes repairs use new avail instead of old.
2090  * Let players stop and start units.
2091  * Remove budget priorities.
2092  * Make plane report easier to understand.
2093  * Change land report to show carriers in the same format as plane and
2094    nuke report do.
2095  * Code cleanup.
2096  * Info file and manual page fixes.
2097
2098 Changes to Empire 4.3.5 - Sun May 28 07:49:54 UTC 2006
2099  * In conditionals, ~ compared to a string selector now stands for an
2100    empty string.
2101  * Change encoding of `not in any group' from " " to "".  This makes
2102    fleet=~ work.  It also affects xdump.
2103  * Fix plane capture code to clear wing.
2104  * People now eat and starve exactly the same in sectors, ships and
2105    land units.  There used to be small differences, and civilians and
2106    uw loaded on land units didn't eat at all.  The starvation command
2107    has been updated accordingly.
2108  * Fix bug that makes it impossible to assault or board with land
2109    units (broken in 4.3.4).
2110  * Code cleanup.
2111
2112 Changes to Empire 4.3.4 - Thu May 25 05:46:10 UTC 2006
2113  * Don't use non-portable groff features (broken in 4.3.0).
2114  * Work around potential crash bugs in command argument access.
2115  * Plug major information leak through nation selectors (broken in
2116    4.2.21).  The fix unfortunately exchanges the meaning of xdump
2117    nation and xdump country.  Sorry about that.
2118  * Minimize redundancy between (mortal's) xdump nation and xdump
2119    country.
2120  * New nation selector rejects.
2121  * xdump nation now shows foreign relations and no longer discloses
2122    hidden relations.
2123  * Fix crash bug in edit.
2124  * Fix number of planes building in budget command (broken in 4.3.3).
2125  * Selectors group, fleet, wing and army are now strings, and obvious
2126    syntax like fleet#a works.  xdump also shows the strings now.
2127    Units not assigned to a group currently have group string " ", but
2128    that may still change.
2129  * Don't fold conditionals to lower case, because it breaks valid
2130    conditionals like fleet#A.
2131  * Mobility cost of a plane sortie is no longer limited to current
2132    mobility + 32.
2133  * Various formulas no longer truncate or round intermediate results.
2134  * Interdiction mission charged twice the normal mobility cost for
2135    torpedoes.
2136  * Fix sail not to interpret negative x-coordinates as unsail
2137    argument.
2138  * Improved configure script.
2139  * Code cleanup.
2140
2141 Changes to Empire 4.3.3 - Tue May 16 21:35:47 UTC 2006
2142  * power c can now show powerless countries.  power c * works.
2143  * Fortresses now require 5% efficiency to return fire and interdict.
2144  * Range of ship return fire and support fire no longer depends on
2145    efficiency.
2146  * Fix heap smash in login command client.  Remote hole!
2147  * Properly destroy nukes on collapsing bridges.  Before, you could
2148    rescue them by building a new bridge or arming them on naval
2149    planes.
2150  * Nukes are now numbered like other units:
2151    - New selector type replaces selectors number and types.
2152    - New selector plane points to plane armed with this nuke.
2153    - New selectors effic, mobil, tech, group, opx, opy, mission,
2154      radius.  Provided because all units have them; values are
2155      currently not interesting.
2156    - nuke command output redesigned.
2157    - ndump output changed subtly: nukes are no longer sorted by
2158      location, nukes in the same location no longer share id, and
2159      nukes on planes are shown.
2160    - transport nuke now works like transport plane.
2161  * arm and disarm now accept the common plane syntax, not just plane
2162    numbers.
2163  * Fix arm to let you change an armed plane's air-burst/ground-burst
2164    (broken in 4.2.6).
2165  * territory no longer re-prompts when supplied with a bad argument,
2166    it just fails.
2167  * edit lets you edit stuff that is actually computed from other
2168    state, like sector's coastal flag.  This makes no sense and is now
2169    deprecated.  Stuff deprecated since 4.2.15 is now gone.
2170  * Code cleanup.
2171
2172 Changes to Empire 4.3.2 - Thu Apr 27 17:59:58 UTC 2006
2173  * Fix security units' raid at the update (broken in 4.0.0, fixed only
2174    for 100% units in 4.2.7).  Back out 4.2.7's 2.5x deadliness
2175    increase.  Make sure empty units don't kill anyone.
2176  * Fix bug in player_init(), which was most likely fatal on 64 bit
2177    hosts.  Broken in 4.3.0.
2178  * Fix xdump not to disclose other countries' realms (new in 4.3.0).
2179  * The order in which sectors were visited for `*' arguments disclosed
2180    the real origin, fix.  Mapping commands used to work around this
2181    bug, until 4.3.1 exposed it there as well.
2182  * Code didn't compile on some systems.
2183  * Fix edit plane not to truncate large values for keys 'a' and 'd'.
2184
2185 Changes to Empire 4.3.1 - Sat Apr 15 11:40:47 UTC 2006
2186  * Fix check of game state on server startup (new in 4.3.0).
2187  * sail now accepts a destination sector.
2188  * Tend could send bogus bulletins (broken in 4.3.0).
2189  * Plug memory leaks in mission command.
2190  * Close loophole in navigate that allowed players to find all sectors
2191    that are unfriendly or inefficient harbors or bridges.
2192  * Server didn't start when default econfig was missing and user
2193    didn't supply one with -e (broken in 4.3.0).
2194  * Retreat condition 'h' (helpless) never worked, fix.
2195  * Fix retreating mine sweepers to use mobility for sweeping.
2196  * Fix retreating land units to hit mines with the same probability
2197    and to take the same damage as in normal movement.  Before,
2198    hit probability was higher, and damage was lower.
2199  * Ships could retreat into sectors owned by whoever made them
2200    retreat, but not in their owner's sectors.
2201  * Fix 'm' at the movement prompt of transport and test.
2202  * Fix march and test not to apply conditionals to sectors mapped,
2203    which led to spurious error messages.
2204  * Fix break not to respect conditionals.  The bug let players keep
2205    sanctuaries.
2206  * Fix retreat code not to respect conditionals.  Attackers could
2207    abuse this to suppress fleet and army retreat orders.
2208  * Fix retreat and edit to zero-terminate retreat paths.
2209    Theoretically abusable for gaining information.
2210  * Fix format string crash bugs in load, spy and bomb.
2211  * Fix the telegram editor: empty telegrams were broken in 4.2.21, and
2212    ~p before the first line of text never worked.
2213  * Fix ancient bridge building race condition that could break the
2214    test whether the player can afford the bridge.
2215  * Fix trade lot change detection in set command.  Can probably be
2216    abused to defraud sellers.
2217  * The pthread code now compiles under Solaris.
2218  * navigate and march now permit any whitespace between route and
2219    optional argument for radar, lookout, sonar, not just spaces.
2220  * Fix canal navigation (was broken in 4.3.0).
2221  * Info file fixes.
2222
2223 Changes to Empire 4.3.0 - Sun Mar 19 08:13:10 UTC 2006
2224  * version no longer pretends option SHIPNAMES still exists.
2225  * Remove files auth and ban.  They could be used to restrict client
2226    address and user.  Restricting user is useless, because players can
2227    send whatever they want.  Banning IPs is better done with a packet
2228    filter.  That leaves restricting deity IPs.  Provide new econfig
2229    key privip for that.  Apply it to session kill as well as login.
2230  * xdump escapes GUINEA_PIGS status:
2231    - xdump is now enabled unconditionally.
2232    - xdump sect now dumps selector coastal, because it can't be
2233      reliably computed from other xdump information.
2234    - New xdump realm and country.  Realm information is now stored in
2235      a separate file, with appropriate selectors.
2236    - Reviewed for completeness and information leaks.  See info xdump
2237      for remaining issues.  New treaty selector uid, nat selectors
2238      relations, contacts.  Removed useless selectors: news and lost
2239      uid, nat dayno.
2240    - Command syntax changed.
2241    - xdump opt is no more, option information is now in xdump ver.
2242    - xdump can now dump meta-data.
2243    - Header and footer changed to be more compact.  You now need
2244      meta-data to identify fields.
2245    - Bug fixes.
2246    - Documentation in doc/xdump.
2247  * New econfig key builtindir.
2248  * New econfig key custom_tables lets you customize configuration
2249    tables without recompiling.  Customizing tables other than unit
2250    tables is not recommended for now.  See doc/econfig for
2251    instructions.
2252  * Check configuration and game state are sane on server startup.
2253  * Remove option NONUKES and NEUTRON.  Deities can load a suitable
2254    nuke table to get the same effect.
2255  * Remove option DRNUKE.  Use econfig key drnuke_const to control
2256    whether nukes need research.
2257  * Disqualify land units from performing missions while loaded on
2258    ships or trains.
2259  * Fix dump for strings without terminating zero.
2260  * Fix login command option not to send an extra prompt.
2261  * zdone now displays information about demand update vetoing.
2262  * The Windows port now requires Winsock version 2.
2263  * Remove econfig key powe_cost.
2264  * version report now shows all the configurable settings of interest
2265    to players.
2266  * carg and lcarg now display people as well.
2267  * ldump now dumps civ and uw as well.
2268  * Fix dangling pointer dereference in dogfighting code.
2269  * Tell sector owner when partisans take over.  But don't disclose che
2270    casualties then.
2271  * emp_server, files, fairland now support options -h and -v.
2272  * Simplify baroque version numbering to a single version number.
2273    This affects output of version.
2274  * New show item and show news.
2275  * New build process:
2276    - Follow the usual steps: configure; make; make install.  The
2277      latter is optional.  The only file deities still have to edit is
2278      econfig.
2279    - Use GNU Autoconf for system configuration.
2280    - Use GNU Make for portability and features.
2281    - Support separate build trees.
2282    - Remake out-of-date dependencies automatically.
2283    - Remake out-of-date info files automatically.
2284    - Flatten info directory.
2285    - Formatted info files are no longer distributed in source tarball.
2286    - Use LWP only with UCONTEXT.  Autoconfiguring the other LWP
2287      low-level options doesn't seem to be worth the effort, as
2288      UCONTEXT should be pretty portable.
2289  * Fix use of freed memory in sail.
2290  * sail could let large ships enter big cities.
2291  * Fix reject and accept not to require contact.
2292  * Fix sharebmap and telegram to prompt for a missing first argument.
2293  * Fix report to align column research correctly for deities.
2294  * When the optional newspaper argument doesn't work because HIDDEN is
2295    enabled, complain instead of ignoring it silently.
2296  * When BLITZ is enabled, fairland no longer permutes country numbers
2297    in newcap_script so that start islands are ordered from top left to
2298    bottom right.
2299  * Minimize output format differences between options:
2300    - census shows column fall regardless of FALLOUT.
2301    - show nuke now shows column res regardless of DRNUKE.
2302    - report no longer suppress column status when HIDDEN is enabled.
2303      HIDDEN limits status information like for the country command.
2304    - relations column width differed depending on option SLOW_WAR.
2305      Always use the wider format.
2306  * Fix a bug in edit that suppressed the player notification telex on
2307    military reserve change.
2308  * Fix command dispatch not to let deities use commands that are
2309    declared not to be available to them.  The only command affected is
2310    break.
2311  * Fix the list command for visitor.
2312  * econfig key m_m_p_d no longer applies to deities.
2313  * Fix the origin command for country #0.  Allow moving origin to
2314    another country's origin.  Allow deities to reset origin to
2315    absolute 0,0.  This turns origin into a superset of the offset
2316    command.  Remove offset command.
2317  * Fix a bug that caused unpredictable flak damage when it should have
2318    been maximum damage (was broken in 4.2.19).
2319  * Don't store initial capital location, remove the associated nat
2320    selectors xstart, ystart.
2321  * Fix production command to consider resource depletion.
2322  * Fix justification of coordinate output in cutoff and mission.
2323  * Option UPDATESCHED is no longer optional.  Disabling it didn't
2324    work anyway.
2325  * Support IPv6.
2326  * Turn options into ordinary econfig keys.
2327  * New econfig key start_cash.
2328  * BTU regeneration now depends on the capital's work percentage.
2329  * nation now supports an optional argument that lets deities ask for
2330    somebody else's nation report.
2331  * Fix nation to display SANCTUARY instead of VISITOR for countries in
2332    sanctuary.
2333  * Fix capital to let you use a regained sacked capital without
2334    activating another one in between.
2335  * Don't move capital when it is sacked.
2336  * New ship capability canal, replacing obscure formula based on build
2337    materials.
2338  * You now need a capital to request a demand update.
2339  * power now ignores landspies.
2340  * Fix LWP stack checking.
2341  * Clean up LWP, drop dead machine-specific code, fix portability bugs
2342    in UCONTEXT code.
2343  * census now shows the old owner instead of `*'.  dump is unchanged
2344    to avoid breaking clients.
2345  * peek no longer prints the old owner.
2346  * When a bombed land unit retreated, collateral damage was applied to
2347    the wrong sector.
2348  * paradrop, drop and fly can no longer abandon the base sector.
2349  * Tending foreign ships now sends a bulletin to the owner.
2350  * Fix bug that permitted login for inactive countries, including ""
2351  * Fix tend for spies.
2352  * Change launch to fire all missiles selected at the same target.
2353    Previously, it prompted for a new target after each missile.
2354  * add, consider, build, launch and fire no longer re-prompt when
2355    supplied with a bad argument, they just fail.  Consequently, the
2356    build command no longer lets you list types you can build.  It
2357    points to the show command instead.
2358  * Fix add not to truncate country number.
2359  * Fix selector coastal to be accurate at all times.
2360  * Fix obscure bug in fairland: the sector added last to an island
2361    wasn't considered coastal.  Affected resource computation.
2362  * Fix sector wiping in add command.
2363  * Remove options NO_LCMS, NO_HCMS, NO_OIL.  They were broken in many
2364    ways.  Custom configuration tables should become a serviceable
2365    replacement eventually.
2366  * Client no longer freezes on long lines of server output.
2367  * Fix uninitialized signal mask bugs.
2368  * Fix Windows service code's treatment of -e.
2369  * Sub interdiction disclosed sub owner through news' actor selector.
2370  * country reports on all countries, but carefully limits information
2371    disclosed to mortals.  Output format changed.
2372  * Market no longer forces sellers to grant loans.
2373  * Fix potential crash bug in set command.  Friendlier prompt and
2374    diagnostics.
2375  * Substantial code cleanup and portability fixes.
2376  * Extend empfile abstraction to cover game configuration.
2377  * Overhaul of game state storage.
2378  * The above includes major contributions from Ron Koenderink.  Many
2379    thanks!
2380
2381 Changes to Empire 4.2.23 - Sun Oct 23 09:28:26 UTC 2005
2382  * Make version pretend option SHIPNAMES still exists, for the benefit
2383    of clients that still depend on it.
2384  * The change to conv in 4.2.22 could crash or compute incorrect
2385    maximum population.
2386  * Info updates missing in 4.2.22.
2387  * A few code cleanups.
2388
2389 Changes to Empire 4.2.22 - Tue Oct 11 20:23:51 UTC 2005
2390  * Log player login, logout and session kill.
2391  * Close loophole in assembly point rules that allowed players to find
2392    all unowned sectors.  The assembly point must now be owned by you
2393    or an ally, or you or an ally must have a ship there.
2394  * Don't let embarked land units fire flak.
2395  * Fix display of the last connection's host when the host name was
2396    not resolved.
2397  * Fix change command to accept full length representative (password),
2398    currently 19 characters.  It used to chop off after eight
2399    characters.
2400  * Non-recon missions no longer establish contact to owners of
2401    overflown sectors, because those missions do not identify the
2402    owner.  This matches info Hidden.
2403  * The following events now establish contact:
2404    - Catching a spy
2405    - Sighting a ship when toggle coastwatch is off
2406    - Spotting overflying planes
2407    - satellite spotting land units
2408    - lookout and llookout spotting ships, planes and land units
2409    - Any relations change
2410  * The country command's `temporary' state of disorder ended after
2411    ten years.
2412  * Telegram notifications could get lost in exotic circumstances,
2413    e.g. while a second client attempted to connect.  Can be abused for
2414    stealthy attacks.
2415  * Remove option SNEAK_ATTACK.
2416  * Fix lboard not to let you board dead land units.
2417  * Fix stack smash in bomb, drop, fly, paradrop, recon and sail.
2418    Remote hole!
2419  * bomb, drop, fly, paradrop, recon and sail now deal with EOF
2420    correctly.
2421  * Fix fly to let the player abort the command at the last prompt.
2422  * Client no longer reads execute scripts in binary mode under
2423    Windows.
2424  * New econfig key listen_address.
2425  * econfig key port can now be a service name.  Service empire no
2426    longer takes precedence over econfig.
2427  * Client falls back to compiled-in host only if environment doesn't
2428    supply one, not if it can't be resolved.  Same for port.
2429  * Oil derrick could extract slightly more oil than was in the ground.
2430  * test command checked start sector for space and some other things
2431    instead of end sector.
2432  * convert now silently limits conversions to avoid exceeding maximum
2433    population.
2434  * shoot no longer limits you to 999 victims.
2435  * 4.2.19 broke pin-bombing commodities on some platforms.
2436  * Don't block on output while update is pending.  This is required to
2437    ensure the update can abort commands.
2438  * Commands submitted while the update is waiting for commands to
2439    abort now fail.
2440  * The force command no longer waits for the specified time.  It
2441    starts a scheduling thread instead, just like shutdown.
2442  * Correct grammar and punctuation in output of version.
2443  * Option SHIPNAMES is no longer optional.
2444  * Fix output of qorder and sorder for ships with sail path.
2445  * Don't change capital to agribusiness on retake.  From Pat Loney.
2446  * bdes prompt for new designation was messed up for empty bmaps.
2447  * Client now supports pipes under Windows.
2448  * Care for subtle Windows socket incompatibilities.
2449  * Fix strength command not to lie about units reacting into
2450    mountains.
2451  * strength now yields the processor periodically, to keep the game
2452    responsive.
2453  * Schedule commands more fairly.  Previously, a sufficiently fast
2454    player could starve out the others.
2455  * launch assumed plane maximum mobility 127 for calculating when
2456    satellites will be ready to use.
2457  * Drop support for for DCE threads.
2458  * Drop support for pthread implementations lacking pthread_kill().
2459    This includes ancient versions of OS X.
2460  * Code cleanups.
2461  * Minor info file fixes.
2462  * The above includes major contributions from Ron Koenderink.  Many
2463    thanks!
2464
2465 Changes to Empire 4.2.21 - Sat Jul 16 17:51:01 UTC 2005
2466  * Don't let threads block on output to another player thread's
2467    socket.  Such blocking violates basic design assumptions and can
2468    cause all kinds of grief.  In particular, it causes player session
2469    hangs under Windows with 4.2.20.  Broken since the introduction of
2470    flash and asynchronous telegram notification many years ago.
2471  * Threads sleeping until a specified time could return early under
2472    Windows.  This could cause double-updates.
2473  * Fix fallout damage (was broken in 4.2.19).
2474  * Fix show sector s (was broken in 4.2.19).
2475  * Fix deliver not to deliver friendly civilians into occupied
2476    sectors.
2477  * Fix mil duplication in board (was broken in 4.2.14).
2478  * Fix stack smash in lrange, shoot and execute.  Remote holes, and
2479    the last one doesn't even require authentication.
2480  * Fix crash bug in emp_config parsing.
2481  * Fix buffer overruns in turn and shutdown.
2482  * Fix second argument of shutdown.
2483  * announce, pray, telegram and turn now abort on EOF.
2484  * Fix display of MOTD and game down message of maximum size.
2485  * Correctly support telnet line termination on input.  Previously,
2486    carriage returns could slip into ship names and such.
2487  * Fix flash not to lie about recipients that are just logging in.
2488  * Remove obscure login command list.
2489  * Convert client from obsolete termcap to terminfo, and clean up
2490    terminal handling.
2491  * New fairland option -h to print usage information.  Improved
2492    command line syntax diagnostics.  Exit unsuccessfully on unknown
2493    options.
2494  * fleet and army now copy retreat orders of the fleet's or army's
2495    first member with group retreat orders in the same sector.
2496    Previously, they used the retreat orders of the first fleet or army
2497    member, which is less than useful, and failed to take ownership
2498    into account, which is an abusable bug.
2499  * New xdump nation.
2500  * Fix xdump not to disclose other countries' losses.
2501  * Fix exit status of files program when it can't create files.
2502  * Support UTF-8 encoded Unicode in human-human communications.  This
2503    affects MOTD, game down message, telexes, announcements and flash
2504    messages.  See new doc/unicode for technical details.
2505  * New login command `options' for client/server option negotiation.
2506    See new doc/clients-howto for technical details.  The only option
2507    so far is utf-8.
2508  * emp_client -u now requests UTF-8.  This requires a terminal that
2509    understands UTF-8.
2510  * Fix news for land unit defensive support.
2511  * Properly mark sea mines hit by retreating ships.  Unmark mines
2512    cleared by bridges.
2513  * Fix diagnostics for unknown selector names in conditionals (was
2514    broken in 4.2.20).
2515  * Fix selector name clashes: rename ship selector mobquota to mquota,
2516    land selector for reaction range limit from rad to rmax.
2517  * Fix Windows services for relative file names on command line or in
2518    econfig (was broken in 4.2.20).
2519  * econfig keys ship_grow_scale, plane_grow_scale and land_grow_scale
2520    are now float.  This gives deities finer control over maximum
2521    efficiency gain.
2522  * Fix production command for sectors with 60% efficiency.
2523  * Improve syntax of read for deities.
2524  * Code cleanups.
2525  * Some info topic names differed only in case, which loses on
2526    case-insensitive file systems, and is a bad user interface even
2527    when it works.  Change those names.  Rename deity command hidden to
2528    peek because its info topic clashed with that of option HIDDEN.
2529  * Thanks to Doug Wescott sheep are finally covered properly in info.
2530  * Documentation fixes.
2531  * Much of the above was contributed by Ron Koenderink.  Many thanks!
2532
2533 Changes to Empire 4.2.20 - Tue Mar 22 21:07:18 UTC 2005
2534  * When units in different sectors marched, only units in the sector
2535    with the highest-numbered unit were interdicted.  A marching
2536    non-spy made all marching spies visible to interdiction regardless
2537    of location.
2538  * Fix crash when interdiction sinks second ship in a sector.  Broken
2539    in 4.0.10.
2540  * Fix an ancient bug in simulation of level production that clobbered
2541    stack and could lead to low predictions, typically zero, which
2542    screwed up budget.  The bug had no effect until 4.2.19.
2543  * When a sector revolts, and there wasn't enough space to liberate
2544    all uw, the number of remaining uw got the wrong sign.  Broken in
2545    4.2.14.
2546  * Log and abort when LWP stack check detects stack smash.  Server
2547    option -s no longer implies -p.
2548  * The native Windows build now supports -p and -s.
2549  * The native Windows build now properly deals with ^C when running in
2550    the foreground.  It no longer prompts for a quit command on the
2551    terminal.
2552  * The meaning of server option -D in presence of -e is unclear.
2553    Other programs only support -e.  Remove option -D.  Use -e
2554    DIR/econfig instead of -D DIR.
2555  * New server option -v shows version information.
2556  * Fix the server's exit status with -h.  Broken in 4.2.19.
2557  * The linux-pthreads build failed to shut down on signals.
2558  * Fix threading bugs in the native Windows build that made shutdown
2559    unsafe and screwed up update aborting commands.
2560  * New econfig key pre_update_hook to allow automatic, safe backup
2561    right before the update.  See scripts/backup for an example.
2562  * The server now prints log messages to stderr as well when running
2563    in the foreground.
2564  * Fix potential buffer overflows in logerror() and lwpStatus().
2565  * Server now requires POSIX signals.  It no longer catches SIGUSR1.
2566  * Remove support for ancient versions of HP-UX.
2567  * Fix seeding of PRNG broken in 4.2.19.
2568  * Don't reseed the PRNG in commands, it hurts randomness and could be
2569    abused by crafty players.
2570  * The server now makes the data directory its working directory.
2571    This also gets rid of a bug that changed the file name of the
2572    sector, power, nation and lostitems file unless econfig could not
2573    be read.
2574  * The server now writes a pid file.  Thanks to Daniel O'Connor.
2575  * More user friendly server startup: more errors are detected while
2576    the server still runs in the foreground, which makes it possible to
2577    complain to stderr and to exit unsuccessfully.
2578  * Early log messages went to the log file in the default data
2579    directory, even though econfig specifies another data directory.
2580  * Specifying an econfig file on the command line that can't be read
2581    is now fatal.
2582  * Errors in econfig are now fatal.
2583  * The server now refuses to start when it can't open data files.
2584  * News are now sorted and expire sanely.
2585  * Conditionals can now compare strings as well.
2586  * Corrupted down and motd files could cause buffer overflows.
2587  * Fix recon to let player abort at the flight path prompt.
2588  * power no longer rounds worldwide numbers for deities.
2589  * power command failed to recognize deities with non-zero country
2590    number.
2591  * Change output of production command so that columns are aligned
2592    even for large values.  Replace column wkfc by more useful column
2593    avail.
2594  * neweff and production miscalculated work when mil exceeded
2595    population limit.
2596  * neweff miscalculated work when the population limit exceeded 999.
2597  * Fix capping of avail when a big city is torn down.
2598  * Fix a bug in fire that allowed players to find all submarine uids.
2599  * Maximum sector population is no longer hardcoded, and now covered
2600    by xdump.  Option RES_POP now affects mountains and plains as
2601    well.  From Ray Hyatt.
2602  * Fix fina and news not to ignore errors in conditions.
2603  * The native Windows build now requires Windows Sockets 2.
2604  * The native Windows build now supports multiple instances of the
2605    service.  The ability to supply additional startup parameters to
2606    the service has been removed.
2607  * Implement fairland command line parsing under Windows.
2608  * Improved fairland and emp_server usage message.
2609  * Code cleanups.
2610  * Minor info file and documentation fixes.
2611  * Much of the above was contributed by Ron Koenderink.  Many thanks!
2612
2613 Changes to Empire 4.2.19 - Thu Dec 23 20:24:24 UTC 2004
2614  * Fix order not to unload into full sectors.
2615  * Fix scrap not to dump stuff into full sectors.  Excess stuff is now
2616    destroyed.
2617  * Fix distribute not to conjure up a civilian when importing
2618    civilians from a dist center that doesn't have any.
2619  * Fix flak to resupply no more shells than actually needed.
2620  * Fix rounding error in shoot that could result in more people shot
2621    than actually there.
2622  * Fix info and apro error handling.  In particular, do not leak
2623    potentially sensitive information on the server to players.
2624  * info no longer shows a random matching page when the topic argument
2625    is ambiguous.  Instead, it lists all matching topics.
2626  * Embarked land units and overflying planes no longer spot each
2627    other.
2628  * Fix show command to show only sectors that players can designate
2629    (was broken in 4.2.18).
2630  * Fix a rounding error in production command column `max'.
2631  * Fix production command for overpopulated mountains and plains.
2632  * Fix tradeship ally cut to match documentation.
2633  * Fix plague, which was was broken in 4.2.14: it got stuck in stage I.
2634  * Fix a bug in aerial sonar where ships could mask submarines with
2635    the same number modulo 256.
2636  * Don't allow bombing of subs that were not detected.
2637  * MOTD and the game down message are now entirely separate: use `turn
2638    motd' for the MOTD, and `turn on' and `turn off' for the game down
2639    message.  `turn on' no longer lets you edit the MOTD.
2640  * Remove option NUKEFAILDETONATE.
2641  * Option ORBIT is no longer optional.
2642  * New option GUINEA_PIGS to control experimental stuff not ready for
2643    prime time.  If your deity enables this in a serious game, run!
2644  * Many xdump fixes.  xdump is now enabled by option GUINEA_PIGS.
2645  * New ship and land selectors rflags, rpath.
2646  * New ship selectors for order: xstart. xend, ystart, yend,
2647    cargostart, cargend, amtstart, amtend
2648  * New ship selectors for sail: mobquota, path, follow.
2649  * New news selector uid.
2650  * Implement command line parsing under Windows where it was missing.
2651  * emp_server and and files print a usage message on command line
2652    syntax errors.
2653  * Fix how emp_server exits after being panicked by a signal.  It can
2654    now dump core when this happens.
2655  * Fix bug in client that could crash it when a line of input starts
2656    with '?'.
2657  * Client now gets user name from environment variable LOGNAME if set,
2658    else from system.
2659  * The native Windows build can now run as a service.
2660  * Redirecting client input now works under Windows.
2661  * Code cleanups.
2662  * Don't confuse work with loyalty in info Citizens.
2663  * Minor info file and manual page fixes.
2664  * Much of the above was contributed by Ron Koenderink and Marc
2665    Olzheim.  Many thanks!
2666
2667 Changes to Empire 4.2.18 - Tue Sep  7 14:08:59 UTC 2004
2668  * Fix info to accept abbreviated arguments under Windows.  From Ron
2669    Koenderink.
2670  * Buying planes or land units loaded on something didn't work when
2671    that something moved.
2672  * Fix a bug that could produce update cascades with update policy
2673    UDP_TIMES.
2674  * Fix delivery and distribution to grant packing bonus only to
2675    efficient sectors, just like move.  Previously, delivery ignored
2676    efficiency, and distribution behaved as if it were an efficient
2677    sector without special bonuses.
2678  * New sector selectors loyal, access; ship selectors radius, access,
2679    xbuilt, ybuilt, builder, name; plane selectors radius, access,
2680    theta; land unit selectors radius, react, nland, access; lost
2681    selector id.
2682  * Fix sector selectors che, che_target; plane selectors att, def;
2683    nuke selector types; treaty selector exp; news selector time;
2684    commodity selectors type, xbuy, ybuy.
2685  * Option PLANENAMES is no longer optional.
2686  * Ensure config parameter variables and their description in
2687    configkeys[] are consistent.  Inconsistencies there caused bugs in
2688    the past.  From Marc Olzheim.
2689  * Complain if econfig file can't be read.
2690  * Better messages for errors in econfig file.
2691  * Remove unused econfig keys hard_tech and last_demand_update.
2692  * New econfig key news_keep_days to configure news expiry.
2693  * New econfig key anno_keep_days to configure announcement expiry.
2694  * Fix announcement expiry.  It leaked file descriptors and memory,
2695    and could corrupt the anno file.  From Ron Koenderink.
2696  * New command xdump: experimental extended dump.  Disabled for now.
2697  * Bankers no longer round down debts, and they collect interest for
2698    the time debtors are idling at sub-prompts.
2699  * Loan interest calculation was broken at the due date and after a
2700    last payment made at the due date.  With luck, debtors could abuse
2701    this to repay loans cheap (they couldn't gain cash, though), sharks
2702    to purchase loans cheap, and creditors to collect excessively.
2703  * Fix major bug in transport that allowed two cooperating countries
2704    to duplicate items.
2705  * Don't report interdiction damage twice when transporting planes.
2706  * Fix message for attempting to transport a plane in a sector not
2707    owned by the player.
2708  * Fix confusing diagnostics when refusing to improve defense because
2709    option DEFENSE_INFRA is off.
2710  * Simplify confusing code in budget.
2711  * Fix spacing in output of budget and show.
2712  * Change one-way plane sorties to match ordinary sorties: offer
2713    carriers regardless of the sector they're in, require carriers to
2714    be efficient.
2715  * Allow `realm #'.
2716  * Don't print owner of incoming missile twice when intercepting it.
2717  * Simplify constituent storage in product characteristics.
2718  * Replace remaining `variables' leftovers; mainly in unit
2719    characteristics.
2720  * Remove leading spaces in deity unit dumps.
2721  * Replace inappropriate uses of compile time constant ETUS by 60.
2722    Deities don't change ETUS, they change etu_per_update by editing
2723    econfig.  This nonsense dates back at least to chainsaw 3.31.
2724  * Change ship production (fishing and drilling for oil) to match
2725    sector production.  Ship efficiency and tech are now relevant, and
2726    all people on board work.  From Ron Koenderink.
2727  * Code cleanups.
2728  * Minor info file fixes.
2729
2730 Changes to Empire 4.2.17 - Mon Aug 16 16:21:53 UTC 2004
2731  * Fix seeding of PRNG under Windows.  The bug made updates occur at
2732    a predictable time in the update window.  From Ron Koenderink.
2733  * Close major loophole in drop that allowed players to determine
2734    whether an arbitrary sector is sea, allied land, or other land.
2735  * fly could fly civilians into occupied sectors.  For consistency
2736    with other means to move around stuff, this is no longer possible.
2737  * Don't allow flying to a carrier that doesn't have space for the
2738    planes.  Previously, planes that did this were teleported home,
2739    which could be abused.
2740  * Close loophole in bomb that allowed players to find all
2741    sanctuaries.
2742  * Fix move and explore not to crash when moving civilians to a sector
2743    without civilians, and interdiction destroys them all.  Found and
2744    debugged by Jeff Cotter.
2745  * Fix printing of messages entered with turn command.  '%' characters
2746    could cause havoc, even crashes.
2747  * Use sector's actual maximum population to compute chance of plague
2748    outbreak.  Previously, code used 9999 for big cities and 999 for
2749    other sectors, and info Plague said 999.  This makes all crowded
2750    sectors equally vulnerable, even mountains, plains, and inefficient
2751    big cities.
2752  * Oil derricks no longer drill and deplete more oil than they can
2753    hold.  From Ron Koenderink.
2754  * Version 4.2.15's coordinate and list parsing fixes reject trailing
2755    junk.  That's too strict.  Silently ignore trailing junk as long as
2756    it starts with whitespace.
2757  * Version 4.2.15's selector rewrite broke some type literals,
2758    e.g. `?des=n' was interpreted as `?des=newdes'.  Change to prefer
2759    type literals to selectors.
2760  * Nightly build patches game to get repeatable PRNG results.  From
2761    Marc Olzheim.
2762
2763 Changes to Empire 4.2.16 - Wed Jun 16 18:56:16 UTC 2004
2764  * Previous version broke sector production when part of the work is
2765    used for sector construction.  Fix courtesy Jeff Cotter.
2766  * Add rudimentary tests to nightly build.  From Marc Olzheim.
2767
2768 Changes to Empire 4.2.15 - Wed May 26 17:55:58 UTC 2004
2769  * test command no longer asks whether to abandon the sector.
2770  * explore command could generate a bogus `lost' record when it
2771    regains an abandoned start sector.
2772  * edit command now properly updates stats when editing tech level of
2773    ships, planes or land units.  A few of these stats can be edited
2774    separately, which doesn't make much sense, and is now deprecated.
2775  * edit command no longer accepts efficiency values that would destroy
2776    the edited unit.  Deities can still delete units by setting the
2777    owner to zero.
2778  * upgrade command used to charge an amount of avail that didn't match
2779    info upgrade.  Neither the implemented nor the documented amount
2780    made much sense.  Change it to 15% of the full build cost.  Rewrite
2781    info upgrade.
2782  * Commands upgrade and build could be off by one when reporting
2783    required avail.
2784  * upgrade command reported rounded cost but charged unrounded
2785    cost.  Round cost of upgrade down to match behavior of build.
2786  * Upgrading planes now preserves range when it is less than the
2787    maximum range.  It used to set it to the new maximum range.
2788  * show bridge and show tower no longer claim bridge building requires
2789    `workers' (whatever that is), since it doesn't.
2790  * Replace option ROLLOVER_AVAIL by econfig parameter
2791    rollover_avail_max, which is the maximum amount of avail that rolls
2792    over.  Previously, avail was limited after rollover, and even when
2793    ROLLOVER_AVAIL was off.  Fix that.
2794  * Ships weren't always charged mobility for firing with option
2795    NOMOBCOST off.
2796  * Fix shell use of return torpedoes.
2797  * designate no longer complains twice about deity only designations.
2798  * Ensure designate zaps efficiency only when sector type really
2799    changes.
2800  * Fix strength to always report mines to deities.
2801  * Remove option SHIP_DECAY.
2802  * Fix bug in sonar that could crash or yield unpredictable results
2803    near the true origin.
2804  * Fix buffer overflow in flash and wall.
2805  * Fix wall not to strip out first word of message.
2806  * Change market and order to use item types instead of mnemo
2807    characters internally.
2808  * Market now reports sales with full item names instead of single
2809    letter codes.
2810  * buy now requires first argument to be an item name, as documented.
2811  * production command handled production backlog incorrectly, failed
2812    to limit production for production efficiency greater than one,
2813    e.g. agribusiness, and incorrectly limited raw material
2814    consumption.  Also fix a rounding error.  With help from Ron
2815    Koenderink.
2816  * Sector work was accidentally truncated to even.
2817  * Fix coordinate parsing for large numbers when WORLD_X or WORLD_Y
2818    don't divide SHRT_MAX+1.
2819  * Properly diagnose over-long unit lists.
2820  * Rewrite selector code.  Old code let players smash the stack by
2821    supplying too many conditions.  New code properly rejects ambiguous
2822    abbreviations and prefers exact matches.  Selectors with names that
2823    collide with types, like land units' rad and spy, now work.
2824    Selectors with non-integral values, like land units' att, now work.
2825  * survey used to display hundreds for everything but variables.  Now
2826    it displays hundreds only for values that can be large.
2827  * Rewrite info survey.  Document ability to survey properties other
2828    than items and resources.
2829  * Rewrite info build, since it was inaccurate and poorly structured.
2830  * Fix info fire on required military.  From Marc Olzheim.
2831  * New fairland argument -R to set the PRNG seed.  Print the seed.
2832    This allows you to recreate the same world again.
2833  * New facilities to deal with internal errors.  These crash when the
2834    server is started with -d, which is appropriate for debugging, and
2835    potentially disastrous for running a real game.
2836  * Automated nightly builds.
2837  * Code cleanups.
2838
2839 Changes to Empire 4.2.14 - Mon Mar 22 09:04:12 UTC 2004
2840  * Options NEWPOWER, NEW_STARVE and NEW_WORK are no longer optional.
2841  * Gripe about unknown options in econfig.
2842  * Remove option GRAB_THINGS.
2843  * Utility program files takes new option -f.
2844  * Remove utility programs land, ore and perfect, which don't compile
2845    since 4.2.0 (Oct '98).
2846  * fairland no longer warns when it added resources, but when it
2847    didn't.
2848  * Fallout code could claim destruction of more items than actually
2849    existed.
2850  * Fix recursive resupply (resupply from supply land unit triggering a
2851    resupply of the land unit) when just testing for how much can be
2852    resupplied.  The bug could have led to insufficient resupply.
2853  * Fix recursive resupply not to consume all fuel in supply units.  No
2854    supply units consuming fuel exist in the stock game.
2855  * Limit delivery and distribution thresholds to ITEM_MAX (9999).
2856    Distribution threshold were previously limited to 10000, and
2857    delivery thresholds to 65528.
2858  * Limit items in sectors to ITEM_MAX (9999).  Commands give and buy
2859    used to limit to 9990.  Market transactions and commands explore,
2860    move, drop and fly to 32767.  Limiting in autonav code (order
2861    command) didn't work.  Item delivery used to stop at 9990,
2862    distribution at 9999.  Food growing and sector production used to
2863    stop at 9999.  Grind, assault lunchboxes, demobilization, mine
2864    sweeping and che liberating uw could theoretically attempt to
2865    increase items beyond 65535, which would have been ignored
2866    (destroying the increase).
2867  * Properly saturate fallout at FALLOUT_MAX (9999).  Previously,
2868    fallout increases behaved inconsistently.  Increases beyond 65535
2869    could get ignored, or fallout could saturate at 9999, or it could
2870    overflow at 65536 (that would take quite some nuking, though).
2871  * Properly saturate mines at MINES_MAX (65535).  Previously, a mining
2872    operation that would have gone beyond 65535 was ignored.
2873  * Fix `are we loading or unloading' tests for load, unload, lload and
2874    lunload.
2875  * Fix editing of land unit attack and defense values.  Implement
2876    editing of ship defense values.  Contributed by Ron Koenderink.
2877  * edit now edits che number and target separately.
2878  * Fix edit to properly extend unit files.  Contributed by Ron
2879    Koenderink.
2880  * Major internal reorganisation: Sectors need space for items,
2881    deliveries and distribution thresholds.  To save space, the
2882    ancients invented `variables': a collection of key-value pairs,
2883    missing means zero value, space for `enough' keys.  This
2884    complicates the code, as assigning to a `variable' can fail for
2885    lack of space.  Over time, `enough' increased, and for quite some
2886    time now `variables' have been *wasting* space.  Replace them,
2887    except in unit characteristics, where they are read-only, and will
2888    be replaced later.  This also removes misfeatures like plague
2889    outbreaks silently deleting deliveries.
2890  * Remove disabled commands dissolve and mult.  Remove configuration
2891    parameters minmult and maxmult.
2892  * trade command indexed an array out of bounds when attempting to
2893    display the plague as commodity.  Fix.
2894  * New make goal interix.  Contributed by Ron Koenderink.
2895  * The type selector now prefers an exact match to a partial match.
2896    ?type=sb now selects sb, not sbc, even when sbc happens to be found
2897    first.
2898  * Value of selector sell was always zero, remove it.
2899  * Clean up selector code.
2900  * satellite now displays all sectors owned by other players, and none
2901    else.  It used to display all but sea, mountains, sanctuaries,
2902    wasteland and wilderness.
2903  * map commands now display wilderness and plains owned by other
2904    players as '?'.  Radar commands now display all wilderness and
2905    plains as '?'.
2906  * Fix power timestamp for Windows.  Contributed by Ron Koenderink.
2907  * Make client abort the current command on ^C under Windows, as
2908    everywhere else.  Contributed by Ron Koenderink.
2909  * Command line parser interpreted trailing whitespace as an another
2910    (empty) argument.  Ignore it instead.
2911  * Properly declare stuff in headers, include proper system headers.
2912    Remove all nested external declarations.  Source code is now fully
2913    prototyped.  Enable appropriate gcc warnings.
2914  * Fix several type errors.  Some may have been show-stoppers on big
2915    endian machines where sizeof(long) != sizeof(int).
2916  * Remove pre-ISO C compatibility cruft (hey, it's been only fifteen
2917    years).
2918  * Various portability fixes.  Some bugs may have been show-stoppers
2919    when sizeof(long) != sizeof(int).  With help from Marc Olzheim and
2920    Ron Koenderink.
2921  * Move some code to more logical places.  Remove some unused code,
2922    some of which was hard to port.
2923  * The files program could print error messages to a log file in some
2924    circumstances.  Make it print to stderr.
2925  * deliver can now change direction without changing the threshold.
2926  * deliver now provides appropriate context when prompting for
2927    thresholds.
2928  * Login command play no longer ignores up to two arguments if there
2929    isn't a third one.
2930  * Fix payoff (was broken in 4.2.13).
2931  * Capability fish didn't work together with capability oil.
2932  * Fix and clarify plague outbreak chance in info Plague.
2933  * Fix RES_POP maximum population in info Research.
2934  * Fix info telegram and info announce on ~ escapes.
2935  * Update info Selector to match code.
2936  * Document all undocumented unit capabilities and stats.
2937  * Document submarines' ability to carry landspies.
2938  * Fix info shoot on security units.
2939  * Various small info file fixes.
2940  * Many fixes in the troff macro package for info files.
2941  * Many fixes for translating info files to HTML.
2942  * Many info file markup fixes.
2943
2944 Changes to Empire 4.2.13 - Fri Feb 13 22:12:36 UTC 2004
2945  * Source code reindented and cleaned up somewhat.
2946  * Various small info file fixes.
2947  * Fixed change requiring 254 BTUs even when not charging any
2948    (BLITZ).
2949  * Fixed tactical non-marine missile crash.
2950  * Fixed spy unit detection chance for eff<100.
2951  * Fixed output of sorder.
2952  * `edit' can now work non-interactively.  Contributed by Ron
2953    Koenderink.
2954  * Fixed and extended edit for sectors.
2955  * Fixed use of errno.
2956  * Minor security fix: doconfig now writes example auth entry as
2957    comment.
2958  * Fixed reading of country name and password in client for Windows.
2959  * Replace use of some obsolete non-portable library functions by
2960    portable equivalents.
2961  * designate now warns about redesignated capital only when it
2962    succeeds in redesignating the capital.
2963  * attack could be off by one when reporting required unit mobility.
2964  * Fixed command matching.  Unique prefixes were not always
2965    recognized, and junk suffixes were ignored.
2966  * Removed bestdistpath.  bestpath yields the same results.
2967  * Renamed lstats to lstat for consistency and to match info page.
2968  * Fixed non-portable fd_set * arguments of select().
2969  * New `map' flag `h' to highlight own sectors.  Contributed by Marc
2970    Olzheim.
2971  * Fixed `sabo' reporting damage to player in deity coordinates.
2972  * New option ROLLOVER_AVAIL.  Contributed by Drake Diedrich.
2973  * Fix Windows server shutdown on reading "quit" from stdin.
2974  * Land units now fortify automatically when mobility plus growth
2975    exceeds the maximum.  With code from Marc Olzheim.
2976  * Wandering che are less predictable.
2977  * Land units no longer regenerate mobility faster while it is
2978    negative.
2979  * Fixed emp_client -k.
2980  * No longer allow pirates to ferret out where a ship was built.
2981  * Fixed map commands to reject bmap flags `t' and `r' instead of
2982    turning into bmap.
2983  * Fixed lmine shell resupply.
2984  * News no longer call all sub-launched missiles nuclear.
2985  * Incoming missiles are now reported with coordinates.
2986  * Removed some code that served no purpose except crashing on
2987    Windows.
2988  * Fixed Mac OSX and AIX build problems.
2989  * Don't resolve player IP addresses for now, because it can crash
2990    with certain versions of GNU libc.
2991  * Fixed recording of lost nukes.
2992
2993 Changes to Empire 4.2.12 - Mon Aug 18 16:54:21 MDT 2003
2994  * Corrected contact information for Wolfpack.
2995  * Sector isn't abandoned until move or explore is complete.
2996  * Fixed multiple cases where return value of getstarg() was
2997    used without being checked which crashed the server.
2998  * Used stdarg.h instead of varargs.h.
2999  * Call only_subs and save result before mission frees attacker
3000    list.  Call with free list could cause server crash.
3001  * Fixed spy sat map for units on opposite side of world wrap.
3002  * Don't sleep in main thread when called from signal handler.
3003  * Fixed error checking in pthreads.
3004  * Properly detach pthreads.
3005  * Pass unlocked mutex to pthread_mutex_unlock.
3006  * Cope with interrupted sleep in pthread empth_sleep to prevent
3007    double update.
3008  * Added server configurable update window.
3009  * Initialized variables passed to setsockopt in accept.c.
3010  * Fixed bug where sharing bmap with uncontacted country crashes
3011    server.
3012
3013 Changes to Empire 4.2.11 - Sun Sep  1 09:54:59 MDT 2002
3014  * Added compile option for the Mac OSX architecture.
3015  * Fixed bug in cargo where unit array was indexed by shp_maxno
3016    instead of lnd_maxno.
3017  * Fixed bug in reject where aborting the command crashes the
3018    server.
3019  * Can't buy land units into enemy headquarters.
3020  * Added sabotage command and commando unit.
3021  * Spies moving by themselves will not trigger interdiction.
3022  * Fixed error in map distance calculation that caused errant
3023    interdiction.
3024  * Ships going under -127 mobility will be set to -127 mob and
3025    not roll over to positive mobility.
3026  * Corrected plane cost in info Maintenance.
3027  * Changed error message for loans rejected for being too big.
3028  * Land units will take casualty damage proportional to their
3029    ability to carry mil.
3030  * Fixed bug where "route i *" crashes server.
3031  * Cannot upgrade planes in orbit.
3032  * Fixed bug in declare with deity aborting command at last
3033    prompt crashes the server.
3034  * Coastwatch notify works with NO_FORT_FIRE option.
3035  * Thread that kills idle connection will charge player for
3036    minutes the player was logged on.
3037  * Removed separate sendeof at end of execute from emp_client
3038    that logged players off on certain platforms.
3039  * Updated player idle counter during read prompt so players
3040    wouldn't be kicked off during long flashes or writing telegrams.
3041  * LOSE_CONTACT will work as advertised.
3042  * Allied units marching through 0 mobility conquered sectors
3043    are charged at least LND_MINMOBCOST.
3044
3045 Changes to Empire 4.2.10 - Mon Aug 13 14:34:39 MDT 2001
3046  * Assault can reinforce own sector when SLOW_WAR is enabled.
3047  * emp_client no longer converts lines into tags but still verifies executes,
3048    pipes, and file redirect match players input.
3049  * Added pboard command to capture enemy planes in your territory.
3050  * Declaring war when at Sitzkrieg won't return relations to Mobilizing.
3051  * Declaring war won't charge money if you're already Mobilizing.
3052  * Added multiple territory fields.
3053  * "show nuke build" displays the proper avail.
3054  * retreating land units will only retreat to sectors owned by the player
3055    that owns the unit.
3056  * added hard cap of "250 + easy" to limit_level.
3057  * education p.e. calculation divides edu constant by etu per update.
3058  * Added patch for Linux for the PowerPC.
3059
3060 Changes to Empire 4.2.9 - Sun Jan  7 15:49:13 PST 2001
3061  * Fixed data corruption when bogus target gets fired upon.
3062  * Increased size of ancillary stacks to prevent stack overflow.
3063  * Changed all references to empire.cx.
3064  * Ships, planes, and land units lost to lack of maintenance will now be
3065    lost.
3066  * No longer allowed to sack deity's capital.
3067  * Accuracy calculation in land unit support was backwards.
3068  * Corrected formula for likelihood of plague in info Plague.
3069  * Fixed files to correctly size map and bmap files from econfig file.
3070  * No longer allowed to add country 0.  It corrupts deity country.
3071
3072 Changes to Empire 4.2.8 - Mon Oct  9 17:35:35 MDT 2000
3073  * Fixed range in radar.t and Sector-types.t.  Maximum range at infinite
3074    tech is 16.
3075  * Changed so that player can't drop civilians into occupied sectors.
3076  * Fixed bug that crashes update if etus/update is less than 8.
3077  * Fixed sometimes not reporting overflights
3078  * Fixing flak for units/ships to be in all sectors as they should be
3079  * Updated order of firing flak in Flak.t.
3080  * Fixed 80% efficient planes on ships must be maintained.
3081  * Fixed initial MOB_ACCESS check thread sleep time was set by an uninitialized
3082    variable.
3083  * Removed "TEMPORARILY DISABLED" message from mission command for escort
3084    missions.  Escort missions have been re-enabled since 4.0.15.
3085  * Using sonar from the navigate command will print the sonar map.
3086  * Eliminated annoying error messages when using navigate with conditionals.
3087  * Fixed Technology.t to correctly add 1 before taking the logarithm.
3088  * Fixed bug that allowed players to steal opponents maps.
3089  * Put time limit for bidding on market and trade in econfig file.
3090  * Moved hours file information into econfig file.
3091  * Added comments on setting update policy in econfig file.
3092  * Added logging of cases where write extends data file by more than one id.
3093  * Option MARKET is turned off by default.
3094
3095 Changes to Empire 4.2.7 - Fri Mar 10 18:41:04 PST 2000
3096  * Added new NF_SACKED flag to indicate when a country has had it's
3097    capital sacked.  This flag is only cleared when the country actively
3098    redesignates it's capital using the "capital" command, and changed
3099    capital.t to reflect this (no more re-sacking after an update if the
3100    country doesn't reset and repeating until they are out of cash.)
3101  * Added land unit to edit command for planes.
3102  * Added nuketype to edit command for planes.
3103  * Changed so that if the leader of a group of units is a train, the
3104    railways are used for bestpath instead of roadways.
3105  * Changed mission command to also print reaction radius of reserve
3106    missions when set for land units.
3107  * Changed Flak.t to reflect guns having to be loaded onto a land unit
3108    for flak to fire.
3109  * Changed so that visitor countries cannot change their name or password.
3110  * Changed so that you cannot upgrade deity planes, ships or units.
3111  * Changed so that you know where missions are flown from.
3112  * Changed so that the airport owner you fly a mission from is informed.
3113  * Changed so that preperations for takeoff are reported to the owner of
3114    the sector, ship or unit a plane is taking off from if it is not owned
3115    by the owner of the plane.
3116  * Changed so that when a sector reverts during a guerrilla revolt, the
3117    mobility is not reset.  When MOB_ACCESS is not enabled, this used to mean
3118    you would always get at least an updates worth of mobility.  With
3119    MOB_ACCESS, sectors that reverted during the update were useless, since you
3120    got no mobility for a long time.  This fixes that problem, and makes che
3121    more useful as well.
3122  * Changed so that air defense missions don't always send up every plane in the
3123    area, but instead always send up at most two times the number of incoming
3124    planes (for each interdicting country.) This helps to stop 1 plane from
3125    stripping the mobility from 25 air defense planes all at once, but doesn't
3126    limit it to n+1 as there is for regular interception.
3127  * Clarified deity reversion of sectors in Sector-ownership.t
3128  * Clarified production efficiency and added pointer to "show sector cap"
3129    in Product.t
3130  * Clarified nuketype selector for planes in Selector.t
3131  * Clarified that fortifying units does not affect mission status in info
3132    pages for mission and fortify.
3133  * Clarified fuel syntax upon error in fuel command in empmod.c.
3134  * Cleaned up comments causing minor complaints in some builds.
3135  * Fixed bug in loans where you could collect on proposed loans.
3136  * Fixed production command to be more accurate (though it *still* has some
3137    rounding errors, it's better.)
3138  * Fixed potential memory leak in air defense missions.
3139  * Fixed bug where you couldn't pinbomb some commodities if other commodities
3140    didn't already exist in the sector.
3141  * Fixed bug where you couldn't build 0 crew planes without military in the
3142    sector.  (This is different from needing at least 1 military to build all
3143    planes that need a crew which introduced another related bug earlier.)
3144  * Fixed bug where scrapping land unit 0 could cause erroneous transfer
3145    messages to be displayed for deity owned planes.
3146  * Fixed bug where land units on ships in a sector taken over were blown
3147    up or captured.
3148  * Fixed bug where planes on ships in a sector taken over were blown up
3149    or captured.
3150  * Fixed bug in sdump printing origx and origy in deity coordinates.
3151  * Fixed bug in satellites showing wrong sectors (sometimes) when using the
3152    optional arguments.
3153  * Fixed bug in launch showing wrong satellite target (showed asat instead
3154    of the target satellite.)
3155  * Fixed bug where you could gain information not normally available using
3156    the "fire" command to determine sector type information.
3157  * Fixed bug in market/trade creating extra money when loans are taken out.
3158  * Fixed problem with land units not being reported sunk after being sunk
3159    on a ship that was nuked or wastelanded in a sector.
3160  * Fixed problem with Spies.t using "llook" instead of "llookout".
3161  * Fixed problem in lwp/arch.c including jmp_buf.h instead of setjmp.h
3162    on some Linux boxes.
3163  * Fixed problem with plague infection being way too high in cities when
3164    the BIG_CITY option is enabled.
3165  * Fixed bug in edit command getting confused with arguments.
3166  * Fixed bug in ask_move_in_off asking you to move in a negative number of
3167    troops (hey, it could happen. :) )
3168  * Fixed bug in add command not keeping flags or relations initially correct.
3169  * Fixed bug in torpedo command sometimes telling victim about torpedo
3170    sightings even when way out of range.
3171  * Fixed bug in spy command not reporting planes in adjacent sectors, as well
3172    as not formatting them properly when reporting them.
3173  * Fixed bug in satellite with noisy transmission causing a potential
3174    crash of the server with non-100% efficient satellites.
3175  * Fixed potential crashing of the server during satellite display when not
3176    calculating distances to ships and units correctly.
3177  * Fixed bug where planes in non-allied sectors, ships and units could be
3178    used on missions.
3179  * Fixed bug where planes on the trading block could be used on missions.
3180  * Fixed bug where planes and units that get traded don't have mobility set
3181    correctly when using MOB_ACCESS option.
3182  * Fixed bug which made security units virtually useless.
3183  * Fixed access times and mobility not being set right when building planes,
3184    ships, units, bridges and bridge towers when MOB_ACCESS is enabled.
3185  * Fixed minor formatting problem with launch of satellites.
3186  * Fixed minor formatting problem with planes with greater than 999 tech.
3187  * Fixed minor formatting problem with ships with greater than 999 tech.
3188  * Fixed problem with "llook" showing up in TOP info file.
3189  * Fixed problem with lwp Makefile choking on NT builds with clean target.
3190  * General cleanup of potentially ambiguous statements.
3191
3192 Changes to Empire 4.2.6 - Fri Jun  4 05:55:20 PDT 1999
3193  * Added "TECH_POP" as an option where technology costs more to make
3194    as your population grows past 50K civilians.  It is disabled by
3195    default.
3196  * Changed "produce" command to accurately print what the true p.e. is.
3197  * Changed "update" command to display if mobility updating is enabled for
3198    MOB_ACCESS option.
3199  * Fixed bug where toggling off the coastwatch flag also turned off
3200    forts firing on hostile ships coming into range.
3201  * Fixed bug where assaulting your own land would violate any treaties
3202    you have where assaults are a violation.
3203  * Fixed bug where all planes (even those without need for a crew, such
3204    as missiles) needed at least 1 military to build.
3205  * Fixed bug where when a ship sinks during the update due to lack of maint,
3206    land units and planes on it were left stranded.
3207  * Fixed bug where when a land unit dies during the update due to lack of
3208    maint, land units and planes on it were left stranded on it.
3209  * Fixed bug where nukes could be lost due to MOB_ACCESS updating mobility
3210    while arming.
3211  * Fixed bug in "show sector capabilities" not showing products correctly.
3212  * Fixed bug in "show tower build" printing "bridges" instead of "bridge
3213    towers".
3214  * Fixed bug in sectors that don't revolt not showing up as lost items.
3215  * Fixed bug where maps with an X of exactly 200 is not drawing third line.
3216  * Fixed bug where MOB_ACCESS was not updating the mobility just before
3217    the update.
3218  * Fixed bug in the way treaties are examined and sometimes produce
3219    wrong results.
3220  * Fixed edit to allow creating negative mobility for sectors.
3221  * Fixed setsector to allow creating negative mobility for sectors.
3222  * Fixed bug where when writing out the value of a sector that had
3223    negative mobility and was damaged in combat, mobility was being
3224    set back to 0.
3225  * Fixed Taxes.t info page to reflect that captured civvies only pay
3226    1/4 taxes.
3227  * Fixed Technology.t info page to reflect TECH_POP option.
3228  * Fixed navigate.t info page to reflect that only ships in the fleet
3229    in the same sector that are fired upon have damage divided up.
3230  * Made techlists toggle on by default (so things are shown in order of
3231    technological advances.)
3232
3233 Changes to Empire 4.2.5 - Mon Mar  1 06:42:24 PST 1999
3234  * Added optimization to increasing mobility to check if an object is
3235    already at max mob, just return since it can't be increased.
3236  * Added "-ltermcap" for client libs for hp build (it was already in
3237    hpux build.)
3238  * Added clearing of telegram flags after the update so that the next
3239    telegram is flagged as new and not part of the update.
3240  * Fixed Update-sequence.t to reflect MOB_ACCESS.
3241  * Fixed bug where fortification amount was not being limited to
3242    maximum mobility for land units (land_mob_max).
3243  * Fixed bug where land unit fortification strength was being calculated
3244    by using 127 instead of land_mob_max.
3245  * Fixed bug where scrapping land units was creating military.
3246  * Fixed description of sect_mob_neg_factor in econfig file.
3247  * Increased speed of PT boats.
3248
3249 Changes to Empire 4.2.4 - Tue Feb  2 05:47:44 PST 1999
3250  * Added check to make military values match up correctly for land
3251    units.
3252  * Fixed bug in doconfig not putting ipglob.c in the right place.
3253  * Fixed bug where attacking deity sectors will violate a treaty.
3254  * Fixed newspaper.t information file.
3255  * Fixed potential bug in fixing up timestamp information when restarting a
3256    game with MOB_ACCESS turned on.
3257  * Fixed bug in explore command not setting mobility to correct
3258    value when MOB_ACCESS was enabled.
3259  * Fixed bug in enlist setting mobility incorrectly sometimes.
3260  * Added doc/backup file for deities which recommends how backups and
3261    restores of the data directory should be done.
3262
3263 Changes to Empire 4.2.3 - Wed Jan 13 06:02:35 PST 1999
3264  * Added linux-pthreads target and build for using pthreads under Linux.
3265  * Added NO_FORT_FIRE option which disables the ability of forts to
3266    fire when enabled.
3267  * Added more error checking and recovery for corrupt data files.
3268  * Changed alphapos target to alpha-pthreads for better clarity.
3269  * Changed fairland to allow 0 sector distance to other islands and
3270    continents (James Risner)
3271  * Changed "frg" and "dam" land unit stats to "rng" and "fir" so they
3272    match the way ships are described (since this is how they really work.)
3273  * Changed Unit-types.t to now describe "rng" as firing range of a unit,
3274    and "fir" as the number of guns that a land unit fires.
3275  * Cleaned up misc. build warnings.
3276  * Changed artillery damage to be 5 + d6 per gun firing from just d6
3277    per gun firing and updated Damage.t to reflect this change.
3278  * Changed artillery firing ranges to be like ships ranges - divided
3279    by two, and modified them to make more sense.
3280  * Changed artillery units to be "slightly" :) more powerful.
3281  * Changed "cavalry" unit to tech 30 and lowered mil content to 20.
3282  * Changed "artillery" unit to tech 35.
3283  * Changed so that guns are no longer required to build units, and
3284    that guns must be loaded onto artillery units for them to fire.
3285    Client developers note: the show command has not changed yet to
3286    remove the 'guns' column (since guns are no longer required) but
3287    will in a future revision (possibly 4.2.4) so "be prepared" for
3288    "show land build" to change. :)
3289  * Fixed landunitgun to handle all the damage calculations like it should.
3290  * Fixed bug sinking planes when the ship they are on sinks.
3291  * Fixed bug destroying planes when the land unit they are on is destroyed.
3292  * Fixed bug where land units could fire support without enough military.
3293  * Fixed bug in abandoning sectors by marching out a land unit where it
3294    would not let you sometimes (uninitialized variable problem.)
3295  * Fixed gets problem in files.c (James Risner)
3296  * Fixed bug in determinig operations range of a ship.
3297  * Fixed bug in building planes where you could manufacture military.
3298  * Fixed warnings in threading package(s).
3299  * Fixed fire.t to reflect new firing changes.
3300  * Fixed lstat.t to reflect new firing changes.
3301  * Fixed sstat.t to reflect the way things really work.
3302  * Fixed Ship-types.t to reflect the way things really work.
3303  * Fixed the way shutdowns work to hopefully better protect data files.
3304  * Fixed bug in attacking when sector mobility is less than 0 and it would
3305    prompt for attacking with a negative amount of military.
3306  * Fixed typo in fire.t stating wrong parameters for firing from a sector.
3307  * Fixed bug in client when it prompts for country name it was putting
3308    an extraneous end of line on the end that needed to be stripped off.
3309  * Fixed problems running on Linux running on an Alpha machine.  Thanks
3310    to Rocky Mountain Internet and Jeremy A. Cunningham for giving us time
3311    on a machine to work out the bugs.  (Note that the only build that
3312    works on Linux/Alpha is the linux-pthreads)
3313
3314 Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
3315  * Added some code optimizations into the update code when building paths.
3316  * Added some new cacheing for building paths to help speed up updates.
3317  * Added so that you can use "name" and "password" with the change command
3318    as well as "country" and "representative".
3319  * Added flag to power command so that if you are a deity and enter
3320    a negative number of countries you want to see, you see the power chart
3321    for that many countries without power numbers on the next line.  Only
3322    useful for deities that want to see the chart un-broken up by that line.
3323  * Added new functionality to fortify command.  You can now use a negative
3324    fortification value to cause the unit to be fortified and leave at
3325    least that much mobility on the unit. I.E. "fort * -67" will fortify
3326    all units and make sure the mobility of each unit doesn't go below
3327    67.  If the mobility is already below that level (or equal) the unit
3328    is left unchanged.
3329  * Added that the realm command prints "Realm #n is x:x,y:y" after
3330    you set a new realm.
3331  * Added TREATIES option and enabled it by default.
3332  * Added "no depth-charging subs" and "no new land units" treaty
3333    clauses.
3334  * Added Trannie Carter's basic client fix to use fgets instead of gets.
3335  * Changed market and command to only print the lowest priced lot of
3336     each given commodity by default.  If you specify "all" it shows
3337     all lots on the market, and if you specify a specific item, it shows
3338     all lots of that item type.
3339  * Changed start command to only write out sector if it changed.
3340  * Changed stop command to only write out sector if it changed.
3341  * Changed how plane names were changed on server startup if the
3342    PLANENAMES option was enabled.
3343  * Changed move command to use standard askyn function for abandoning
3344    sector prompt.
3345  * Changed plane overlight sightings to take stealth into account,
3346    and if the planes managed to evade all flak and interceptors, they
3347    are not marked as "spotted" over enemy sectors.
3348  * Changed all units with the supply flag to have their marching speeds
3349    based on efficiency since that is their purpose.  What this means is
3350    that supply units and trains are more effective at 100% than at 10%
3351    (just as fighting units are more effective at 100% than at 10%, but
3352     their effectiveness is determined by how well they fight, not how well
3353     they "run away, run away!" :) )
3354  * Changed so that flash toggle is on by default for POGO at setup
3355    time.
3356  * Changed so that when a sector is taken, all land units owned by the
3357    current owner are treated as planes are during takeovers (i.e. there
3358    is a pretty good chance they are blown up, and if not, they change owner
3359    to the attacker and are beat up pretty good.)
3360  * Fixed treaties to work again.
3361  * Fixed bug in taking over land units not using correct pointer (can
3362    cause a crash or data corruption.)
3363  * Fixed collect command to wipe deliver and distribution information
3364    correctly.
3365  * Fixed potential bug in bmap not working when destination bmap has
3366    blank spaces in it.
3367  * Fixed bug in shark command not getting right nation structure.
3368  * Fixed bug in server where empty commands (for example, all spaces
3369    or tabs) were being reported as bogus commands.  They are now just
3370    ignored.
3371  * Fixed bug in scrap not dropping land units off of scrapped units carrying
3372    them.
3373  * Fixed bug in news where boarding of land units was reported backwards.
3374  * Fixed bug in calculating new people when growing them during an update.
3375  * Fixed missing -ltermcap in HP/UX build.
3376  * Fixed setsector to limit mobility to 127 not 255 (255 was being caught
3377    later and being reset to 0 anyway)
3378  * Fixed Sector-types.t to show a '\' instead of a '/' for wasteland,
3379    since that is what it really is.
3380  * Fixed retreat.t documentation to reflect the "retreat upon failed
3381    boarding" flag.
3382  * Fixed bug where satellites were not orbiting the world during the
3383    update.
3384  * Fixed bug in torpedos being too smart.  They knew how to jump over
3385    land! :)  Now the "line_of_sight" routine is used to determine if a
3386    torpedo has a straight path to the destination.  If it doesn't, the
3387    torpedo no longer jumps over land, but instead slams into it.  This was
3388    an interesting bug because you could torp ships on the other side of
3389    a very skinny island as long as they were in range, even if there was
3390    no sea route possible.
3391  * Fixed bug when pinbombing and you run out of an object to pinbomb (land
3392    units for example) but you still have to pick something to bomb.  For
3393    ships it worked ok (just aborted that it couldn't find any more ships)
3394    and this was fixed for land units and planes.
3395  * Fixed server crashing bug when flying a plane and not carrying
3396    any cargo.
3397  * Fixed bug in move losing commodities when it runs out of room in the
3398    destination sector.  Goods are now attempted to be returned to the
3399    start sector, and apporpriate steps taken if the start sector is no
3400    longer available.
3401  * Fixed march to prompt you before you abandon a sector you own by
3402    marching out the last land unit.
3403  * Fixed check functions to only check the relevant portions of the structure
3404    and not the timestamp info that doesn't affect how the object functions.
3405  * Fixed bug in spy command that always told you if a spy unit was in a
3406    non-owned sector.
3407  * Fixed bug in displaying of land unit missions not showing correct land
3408    unit range.
3409  * Fixed bug in wire command where new announcements that you read at
3410    the last second don't get wiped out properly.
3411  * Fixed bug where announcement file could be corrupted by very long lines.
3412  * Fixed bug where bmap was not set when player was told what kind of
3413    sector they were attacking (this was an old abusable bug that was
3414    removed long ago to fix the abuse, and it's been fixed in a non-abusable
3415    way finally.)
3416  * Fixed bug where change command would warn you about monetary and
3417    BTU costs, but not prompt you to break out if you didn't want to really
3418    change your country name.
3419  * Fixed bug in sub-launched nukes that are intercepted being reported in
3420    the news incorrectly.
3421  * Fixed bug in load where you could abandon a sector and not know it by
3422    loading your last civilians or military onto a ship.
3423  * Fixed potential memory leak in autonav code.
3424  * Fixed potential bug where you could possibly determine if a sector is
3425    owned or not using one way plane missions.
3426  * Fixed Damage.t info page to properly show damages for planes and
3427    land unit shelling.
3428  * Fixed deliver.t to include syntax for command.
3429  * Fixed country.t to include syntax for command.
3430  * Fixed bug where ships on orders were not adding radar information to
3431    the bmap during an update.
3432  * Fixed bug where ships on sail were not adding radar information to
3433    the bmap during an update.
3434  * Fixed bestownedpath code to use the bmap properly.  Note this is a very
3435    important bug fix.  When navigating a ship, players are no longer given
3436    free information that they would not normally know.  For example, if you
3437    try sailing your ship off into uncharted areas of your bmap, the bestpath
3438    code will only use as much information as you have on-hand (i.e. your
3439    bmap) to plan out your path for you.  If you have no information on an
3440    area, it just keeps forging on, until bumping into something.  Of course,
3441    after the initial exploration through an area, the bmap will be set and
3442    used for all future sailings through that area.  Harbors and bridges
3443    are still checked for construction worthiness if you know where they
3444    are (i.e. they are on your bmap.) (Overall, what happened before
3445    was that the bestpath code would route your ship around islands that
3446    you didn't even know were there, and you could use various commands
3447    to see how that ship was going to sail during the update and thus you
3448    gained information that you wouldn't normally know.)
3449  * Merged bestpath and bestownedpath and wrote new wrappers, "BestShipPath"
3450    and "BestAirPath" to use it properly.  It is also good to note that
3451    bestownedpath is used to determine paths for ships and for planes,
3452    and that best_path (which uses the A* algorithm) is used for all land
3453    based paths, and that the two are never interchanged.
3454  * Removed "jet recon" plane (it slipped in during the PLANENAMES conversion,
3455    and RECON was never used before.)
3456  * Removed extraneous "resnoise" and "resbenefit" functions and combined
3457    the two for setresource and setsector commands.
3458
3459 Changes to Empire 4.2.1 - Tue Nov  3 12:56:20 PST 1998
3460  * Fixed problem with global/plane.c not defining last structure element
3461    properly, and thus causing crashes when accessing certain plane
3462    routines.  This happened during the move to make the PLANENAMES option
3463    run-time configurable.
3464
3465 Changes to Empire 4.2.0 - Thu Oct 29 06:27:15 PST 1998
3466  * Bumped rev to 4.2.0 since this is a major release (the server is now
3467    run-time configurable for just about everything and is released under
3468    the GNU GPL.)
3469  * Put in official licensing information.
3470  * Re-arranged and commented the econfig (Empire Configuration) file.  The
3471    auto-generated "data/econfig" file is now pumped out chock full of
3472    comments (which may or may not be useful.)  Since the server is
3473    pretty much fully run-time configurable (MAXNOC is not, but it gets
3474    a default of 99 anyway) deities will probably be spending more time
3475    in the config file.
3476  * Added server support for building under NT, including mods from
3477    Doug Hay and Steve McClure to get the server building and running
3478    under NT. (This was built using MSVC++ 5.0 on NT 4.0 and command
3479    line "nmake nt")
3480  * Added Doug Hay's ntthread.c implementation for NT threading.
3481  * Added max pop column to "show sector stats" output.
3482  * Added lboard command for boarding land units from sectors.  Only raw
3483    mil can board land units, and only mil and land units aboard the unit
3484    being boarded fight back.
3485  * Added GODNEWS option.  When enabled, the deity giving people stuff
3486    is shown in the news.
3487  * Added bridge tower sector ('@')
3488  * Added BRIDGETOWERS option.  When enabled you can build bridge towers
3489    from a bridge span.  You can then build bridge spans from the tower.
3490    If the tower is destroyed ( <20% eff) bridges connected fall unless
3491    supported on the other side.  You can only build bridge towers in open
3492    water not adjacent to land and other towers.  Expensive.
3493  * Added plains sector ('~') - Max pop is 1/40th regular sectors, and
3494    it is deity creatable only (can't redesignate unless you wasteland it
3495    with a nuke :) )
3496  * Changed "info all" to no longer use printdir, instead it just uses the "all"
3497    info page which contains this information.
3498  * Changed so you can now load up to 2 spy units onto non-land unit carrying
3499    submarines if the LANDSPIES option is enabled.  Useful for sneaking up
3500    to shore and spying on your neighbors.
3501  * Changed so spies unloaded from ships are not given as gifts, they are just
3502    unloaded quietly.
3503  * Changed build command to handle building towers ("build t")
3504  * Changed show command to show tower stats ("show t b")
3505  * Changed reject so you can now reject things from any country except
3506    deity countries (this now includes sanctuary countries and visitor
3507    countries you don't want to deal with)
3508  * Changed ndump to dump nuclear stockpile ID as well.
3509  * Changed flash so that if someone allied to you is either not logged on or
3510    not accepting flashes, you are notified.  This is info you could gain
3511    otherwise since you can see other countries that are allied to you via
3512    players.
3513  * Fixed bug in news command when HIDDEN mods are enabled.
3514  * Fixed distribute command to only write out to the database if we
3515    actually changed the sector (i.e. if we really moved the dist
3516    center, we write.  Otherwise, it makes no point.)
3517  * Fixed threshold command to only write out to the database if
3518    we actually changed the sector (i.e. if we really changed the
3519    threshold, we write.  Otherwise, it makes no point.)
3520  * Fixed - population growth and truncation in "Update-sequence.t" info
3521    file is now clearer
3522  * Fixed the way fortify takes mobility away from a land unit if
3523    engineers are present.
3524  * Fixed bug in buying commodities at the last minute not resetting the
3525    time correctly in all situations.
3526  * Fixed bug in building nukes where it would always ask if you tried
3527    building more than one at a time.
3528  * Fixed bug where if you put (either by building or by transporting)
3529    more than 127 of one type of nuke in a sector, they all got lost. A
3530    negative wrapover sort of thing.
3531  * Fixed ndump to print # of stockpiles dumped.
3532  * Fixed ndump.t to reflect changes
3533  * Fixed bug in build command that didn't account for EOL characters.
3534  * Fixed bug where you could use planes to drop conquered populace
3535  * Fixed bug in distribute command in how it checked for current distribution
3536    sector.
3537  * Fixed pr_flash and pr_inform to no longer send messages if the player
3538    is still in the process of logging in (i.e. not in the PLAYING state)
3539  * Fixed report command output for deities.
3540  * Fixed bug in nuclear damage either taking out submarines when it
3541    shouldn't, or not taking them out when it should.
3542  * Fixed bug in loading units that are carrying units onto other units
3543    (note that it doesn't happen since only HEAVY units can carry other
3544    units and that check works, but that might change some day, and we
3545    don't want units carrying units to be carried by other units, etc. :) )
3546  * Fixed info pages to reflect new sector types.
3547  * Fixed info pages to reflect new spy unit capabilities.
3548  * Fixed show commands to only show trade ships if the TRADESHIPS option
3549    is enabled.
3550  * Fixed build command to only allow building of trade ships if the
3551    TRADESHIPS options is enabled.
3552  * Fixed up some definitions located in many places used for checking
3553    sectors for navigation rights.
3554  * Fixed power.t to correctly describe NEW_POWER formula.
3555  * Made HIDDEN option run time configurable.
3556  * Made LOSE_CONTACT option run time configurable.
3557  * Made ORBIT option run time configurable.
3558  * Made SAIL option run time configurable.
3559  * Made MOB_ACCESS option run time configurable.
3560  * Made FALLOUT option run time configurable.
3561  * Made SLOW_WAR option run time configurable.
3562  * Made SNEAK_ATTACK option run time configurable.
3563  * Made WORLD_X and WORLD_Y run time configurable.
3564  * Made MARKET option run time configurable.
3565  * Made LOANS option run time configurable.
3566  * Made BIG_CITY option run time configurable.
3567  * Made TRADESHIPS option run time configurable.
3568  * Made SHIPNAMES option run time configurable.
3569  * Made DEMANDUPDATE option run time configurable.
3570  * Made UPDATESCHED option run time configurable.
3571  * Made LANDSPIES option run time configurable.
3572  * Made NONUKES option run time configurable.
3573  * Made PLANENAMES option run time configurable.
3574  * Removed SMALL_SERVER stuff (unused baggage)
3575  * Removed trading post sector ('v')
3576
3577 Changes to Empire 4.0.18 - Thu Sep 24 06:54:27 PDT 1998
3578  * Fixed bug in aircombat where planes in flight could intercept air
3579    defense planes and take no damage (i.e. they got to fight twice,
3580    once for free.)
3581  * Fixed bug in freeing memory after performing missions that could crash
3582    the server (it mainly happened after an interdiction mission using
3583    planes and escorts, where some escorts came from airports that didn't have
3584    bombers going up.  Freeing the leftover escorts was crashing the server.)
3585  * Fixed bug where you could load non-existant units if you were allied
3586    with country #0.
3587  * Fixed bug where you could pin-bomb a plane with itself.
3588  * Fixed bug where satellites over a bridge may get killed if the bridge
3589    is sunk.
3590  * Fixed bug where land units on a ship in the same sector as a bridge
3591    that is splashed may get sunk.
3592  * Fixed bug where planes on a ship in the same sector as a bridge
3593    that is splashed may get sunk.
3594  * Fixed doconfig with correct empire site text.
3595  * Fixed major problem with abms not firing, and sometimes crashing
3596    server.
3597  * Fixed bug in land units counting up loaded units wrong.
3598  * Fixed doconfig makefile to have doconfig.c as a dependency.
3599  * Fixed bug in resetting commodities (the comm_uid was not being
3600    properly set.)
3601  * Fixed bug in repaying loans not working correctly (the l_uid was not
3602    being properly set.)
3603  * Fixed bug in buying items from the trading block not allowing you
3604    to due to a perceived change in item status.
3605  * Fixed bug in mfir.c where a bogus input to a target could crash
3606    the server.
3607  * Fixed bug that after you read telegrams new telegrams may not send
3608    an inform message (the old telegram flags were not cleared.)
3609  * Fixed bug where fort support distance calculations are calculated
3610    twice instead of just once.  This bug caused a lower percentage
3611    of support fire than designed.
3612  * Fixed bomb.t to reflect land unit changes.
3613  * Put in some integrity checking for planes returing from bombing runs.
3614  * Added ability to edit land unit that a land unit is loaded on in
3615    edit command.
3616  * Consolidated bridgefall code into "knockdown" function (this code
3617    existed in at least 3 places, and was different in all of them.)
3618  * Subs returning fire are no longer reported in the news.
3619  * Visitor countries can now use the 'motd' command.
3620  * When trying to use a visitor country, if it is in use, you are not told
3621    by whom, just that it is in use.
3622  * Optimized (slightly) support fire from forts not getting supply and
3623    shells if not needed (out of range)
3624  * Updated Education.t
3625  * Modified (increased) chances of hitting mines slightly.
3626  * Removed unused variables from shp_check_mines.
3627
3628 Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
3629  * Added ability in edit to change coastal flag for sectors.
3630  * Added ability in edit to edit plague values for ships.
3631  * Added ability for "spy" to report all units/planes not owned by you
3632    that exist in the sector you are spying from.
3633  * Modified naval planes and anti-sub planes.
3634  * Changed so that missiles and bombs that miss their targets cause
3635    collateral damage in the target sector (they have to land somewhere!)
3636  * Changed llook so that non-spy units are required to have at least 1
3637    military personnel on board to see anything.
3638  * Fixed "llookout.t" to reflect change for military requirement.
3639  * Updated Plague.t
3640  * Updated upgrade.t
3641  * Added "lmine" flag for deities to see what sectors have mines in them
3642    (works for sea and land mines, used "lmine" to distinguish it from "min"
3643    which determines mineral (iron) content of a sector.)
3644  * No longer able to pin bomb land units on a ship.
3645  * Land units are required to have at least one military loaded to perform
3646    a mission.
3647  * Firing land units are required to have at least on military loaded to
3648    be able to fire (or return fire.)
3649  * Spies are not always seen when being pinbombed.  You have to look very
3650    carefully for them (as you usually would.)
3651  * Fixed typo in "Spies.t"
3652  * Added new info about spy ability to spy.t.
3653  * Updated tax information in Innards.t and Update-sequence.t
3654  * Fixed typo in fire.t information about units firing on ships.
3655  * Loading military onto land units now resets fortification.  (You gotta
3656    re-fortify the new guys.)
3657  * Fixed bug where planes that were mine capable could not drop mines if
3658    they were not cargo capable.
3659  * Fixed bug in potentially crashing in update code for nations tech/research.
3660  * Fixed bug in execute putting you into execute mode incorrectly.
3661  * Fixed bug in board not allowing land units to board from 0 mobility
3662    sectors.
3663  * Fixed bug where interdicted land units that were missed displayed
3664    a "SPLASH! Bombs miss your ships" message.
3665  * Fixed bug in minesweeping sectors where, even with mobility or
3666    having the sweep ability, ships would get hit by mines for doing
3667    nothing.
3668  * Fixed bug in count_land_planes always writing out land units unnecessarily.
3669  * Fixed bug in count_planes always writing out ships unnecessarily.
3670  * Fixed bug in lnd_count_units always writing out land units unnecessarily.
3671  * Fixed bug in count_units always writing out ships unnecessarily.
3672  * Fixed bug in llook that reported units on ships.
3673  * Fixed bug in llook that reported satellites launched over the unit.
3674  * Fixed bug in llook that always reported spies (it should be a 10-100%
3675    chance)
3676  * Fixed bug in anti possibly not saving lost items correctly.
3677  * Fixed bug in planes getting extended range when on missions and the
3678    op center is not where the plane is located.
3679  * Fixed bug in land unit defensive strength not being based on the eff of
3680    the unit when calculating odds of a battle.
3681  * Fixed bug in board not reporting consistant information.
3682  * Fixed bug in the way land unit casualties were being taken.
3683  * Fixed bug where land units on ships could return fire.
3684  * Fixed bug where land units on other land units could return fire.
3685  * Fixed bug where land units on other land units could fire.
3686  * Fixed bug in attacks/assaults/boardings spreading plague incorrectly.
3687  * Fixed bug in updating plague for ships.
3688  * Fixed bug in updating plague for land units.
3689  * Fixed bug in updating plague for attacking/defending land units.
3690  * Fixed bug where you couldn't pin-bomb land units that were < 20% eff.
3691  * Fixed bug which revealed the owner of torping subs when on a mission.
3692
3693 Changes to Empire 4.0.16 - Fri Jun 12 08:52:06 EDT 1998
3694  * Added patches sent in by Steve McClure, Sverker Wiberg and Curtis
3695    Larsen.  They are described with other changes below.
3696  * Fixed bugs in the following commands that allowed two cooperating
3697    countries to create infinite numbers of any commodity and/or cash
3698    at any time (race conditions in the server): build, board, deliver,
3699    designate, distribute, explore, fuel, improve, load, ltend, mobquota,
3700    move, name, order, reset, sail, sell, set, tend, territory, test,
3701    threshold, torpedo, transport, unload
3702  * Fixed bug in board command giving out too much information about a
3703    non-owned sector when it shouldn't be.
3704  * Fixed bug in board command when firing on a sector in defense before
3705    checking mobility.
3706  * Fixed bug in rangeedit allowing plane(s) to possibly be stored wrong.
3707  * Fixed bug in launch allowing plane to possibly be stored wrong after
3708    launch.
3709  * Fixed bug in lrangeedit allowing land unit(s) to possibly be stored wrong.
3710  * Fixed bug in morale allowing land unit(s) to possibly be stored wrong.
3711  * Fixed bug in arm/disarm allowing a plane to possibly be stored wrong.
3712  * Fixed bug in loan sometimes not writing database correctly.
3713  * Fixed bug in collect.
3714  * Fixed bug in dropping mines from land units.
3715  * Fixed crashing bug in sector_strength routine when oceans take
3716    collateral damage.
3717  * Fixed bug in transport possibly decrementing too much mobility when
3718    moving a nuke.
3719  * Fixed some little warning type messages building with gcc -Wall.
3720  * Fixed problem compiling lwp threads with glibc6 under Linux.
3721  * Changed flash so that players can always flash deities.
3722  * Changed players command to always show deities and visitor countries
3723    that are logged on, and only show allied countries for normal player
3724    countries.
3725  * Fixed bug in anti command not stopping sectors when they revolt.
3726  * Fixed bug in set_coastal function not counting bridge spans as
3727    water based sectors (after all, the land is still a coastal sector,
3728    even if next to a bridge span.)
3729  * "flash" and "players" is re-enabled for visitor accounts.
3730  * Fixed bug in bleeding of technology and research to other players.
3731  * Fixed bug in explore not spreading plague correctly.
3732  * Fixed bug in move not spreading plague correctly.
3733  * Fixed bug in deliver not spreading plague correctly.
3734  * Fixed bug in distribute not spreading plague.
3735  * Included "postresults" script in the scripts directory which can be
3736    used to auto-post daily power chart/announcements to rec.games.empire.
3737  * Updated Plague.t
3738  * Updated Innards.t
3739  * Removed OVCONFIG from build.conf, and patched doconfig to match.
3740  * doconfig is only run if needed
3741  * emp_client and emp_server are only linked if needed
3742  * Added list of disabled options to the version command.
3743  * Fixed bug in survey allowing you to see hidden variables.
3744  * Re-enabled escort missions due to above bug fix most likely the problem.
3745  * Changed one instance of "restrict" to "restricted" in bestpath.c.  For
3746    some reason, this was causing a problem on one of the Linux builds (??).
3747  * Added "show sector capabilities" functionality (this didn't exist
3748    before.)
3749  * Fixed bug in neweff not reporting stopped sectors.  It now (correctly)
3750    reports them as not changing eff.
3751
3752 Changes to Empire 4.0.15 - Wed May 20 12:35:53 EDT 1998
3753  * Fixed the spelling of Markus' name in CHANGES4.0 files.
3754  * Added Markus' patches/fixes.  Some are detailed below.
3755  * Added 'mipsultrix.gxx' build target.
3756  * Fixed doconfig to write ipglob.c in the correct target area.
3757  * Fixed a bunch of type casting that needed to be done correctly.
3758  * Only print out last connect by for non-visitor accounts.
3759  * 'players' command is only useable by non-visitor accounts.
3760  * Fixed ask_off in attsub.c to not print out allied sector mil counts
3761    when attacking from neighboring sectors.
3762  * Fixed targetting of che when taking over sectors.
3763  * 'anti' command only fights che that are targetted at you.
3764  * Fixed update not updating timestamps of objects (ships, planes, land
3765    units, sectors.)
3766  * Fixed bug delivering conquered populace.
3767  * Fixed potential bug scuttling ship with land units on it.
3768  * Moved heavy bombers to tech 90.
3769  * Fixed bug in setsector telling the deity coordinates of sectors being
3770    granted/taken away.
3771  * Fixed bug in setting budget of enlistment sectors to 0.
3772
3773 Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
3774  * Fixed time_t problem in common/log.c
3775  * Fixed bug in headlines
3776  * Replaced vaxultrix build flags with proper vanilla ones.
3777  * Fixed bug in update/prepare.c (sometimes not getting charged for
3778    mil on units and ships)
3779  * Fixed bug in printing of "No ship(s)" twice in cargo command when no
3780    ships were selected.
3781  * Temporarily disabled escort missions until a fix is found. They are
3782    randomly crashing the server.
3783  * Fixed morale.t to reflect that retreat percentage is based off of
3784    morale_base and not 75.
3785  * Fixed bug in bridgefall where planes and units on ship in a sector
3786    that has a bridge collapse are being sunk.
3787  * Fixed bug in update/produce.c when a sector overflows it's capacity
3788    on production.
3789  * Fixed bug in produce command reporting incorrect costs (sometimes).
3790  * Land units on ships will now try to draw supply from the ship they
3791    are on.
3792
3793 Changes to Empire 4.0.13 - Mon Mar  2 11:04:28 EST 1998
3794  * Fixed bug in distribute when world sizes are other than 64x32
3795  * Fixed bug in getcommand (not really a bug, just made it work like
3796    it used to so that the players command is useful for deities
3797    again)
3798  * Fixed building of POSIX threads on Alpha running Digital Unix.
3799  * Fixed line_of_sight prototype in sona.c
3800  * Fixed fairland not to conuse stupid C++ compilers.
3801
3802 Changes to Empire 4.0.12 - Tue Feb 24 11:27:31 EST 1998
3803  * Fixed client build on linux (whoops)
3804
3805 Changes to Empire 4.0.11 - Tue Feb 10 10:53:10 EST 1998
3806  * AIX build seems to only work with gcc right now (but at least that works)
3807  * Vax Ultrix (vaxultrix) build should work now (hopefully) out of the box.
3808  * Took out autosupply of airports when bombing or dropping shells.
3809     (This was the only commodity this was done for, and it was creating
3810     problems since supply is still somewhat broken somewhere)
3811  * Included Curtis Larsen's, Markus Armbruster's and Sverker Wiberg's
3812     submitted patches, which collectively included cleaning up most
3813     of the server prototypes and bogus declarations.  Many thanks.
3814  * Increased incoming command buffer to 1024 from 512 bytes
3815  * Increased the # of parsed arguments from 64 to 100
3816  * Fixed bug where spies were not dying when damaged.
3817  * Fixed bug in HIDDEN mods in declare command not printing country # of
3818     uncontacted country correctly (or at all as a matter of fact)
3819
3820 Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
3821  * Fixed bug where fleets were being interdicted but the damage was being
3822     spread to ships not in the same sectors.
3823  * Fixed but in market when buying goods without enough cash.
3824  * Planes in orbit over airports are no longer fixed up during updates.
3825  * Planes in orbit are no longer damaged when the sectors they are over
3826     are damaged.
3827  * Planes on ships are no longer damaged when the sectors they are in are
3828     damaged, unless the ship is damaged.
3829  * Fixed problem with no newline after partisan activity telegram in
3830     anti.c
3831  * Fixed problem in chan.c printing out change costs incorrectly.
3832  * Fixed problem in dispatch.c screwing things up on redirection.
3833  * financial should now handle 6 and 7 digit loans.
3834  * Planes on ships that are in sectors that revolt are no longer taken
3835     over.
3836  * Fixed bug in powe.c where the power report was mis-calculating the
3837     efficiency of planes.
3838  * Fixed doconfig.c to use STDC instead of multi-level #ifdefs.
3839  * Fixed bug in parse.c that was screwing up double quotes in conditional
3840     arguments.
3841  * Military in a sector now only produce up to maxpop, just like civvies
3842     and uw's.  No more stuffing 6K mil into a mountain to max it out.  You
3843     can still hold more mil there over the updates, but the extras just
3844     won't produce anymore.
3845  * Fixed bug in shark that allowed you to shark up loans even if you couldn't
3846     cover the debt.
3847  * Fixed bug in day of week calculation for server up time in common/keyword.c
3848     that is used for gamedays.
3849  * Documented what happens to standing military in collect.t when you collect
3850     a sector.
3851  * Documented mountains only holding and using 1/10th of the normal sector
3852     population in Sector-types.t.
3853  * Fixed documentation on ship's firing ranges in fire.t to be less
3854     ambiguous.
3855  * Updated nukes in nuke.t
3856  * Added apropos command (thanks to Mike Wise)
3857  * Added case-insensitivity to the info command (thanks to Mike Wise).  If
3858     there are two files of the same name, and you don't get a complete match,
3859     then whichever file is found first in the directory is used.
3860  * Changed documentation in wantupd.h
3861
3862 Changes to Empire 4.0.9 - Sat Apr 19 23:01:51 EDT 1997
3863  * Fixed dump info pages that were getting formatted funny.
3864  * Fixed improve info page.
3865  * Fixed bug in allied planes/units not moving when the carriers move.
3866  * Fixed bug in satellite output for <100% satellites.
3867  * Fixed bug in load/unload not putting a newline after some unloadings
3868     in allied sectors.
3869  * Fixed bug in harden not printing correct values.
3870  * Fixed bug in creating/moving/etc. nuclear stockpiles.
3871  * Fixed bug where subs were trying to torp commodities moving on land when
3872     on interdiction.  (This was funny ;-) )
3873  * Fixed bug in "move" where you could keep a sector even after someone else
3874     took it from you.
3875  * Budget now correctly reports the # of units being built.
3876  * Mil on units & ships are now reported as normal military costs, not
3877     ship or unit maintainence costs in budget.
3878  * Fixed bug in update code where taxes could potentially be initialized
3879     incorrectly (affected budgets too.)
3880  * Fixed bug in nat.h header so that it uses SCT_MAXDEF instead of a fixed
3881     number (that was incorrect.)
3882  * Fixed bug with trains - they needed the xlight flag to carry planes.
3883  * Revamped and improved flak.
3884  * Added "Flak" info page.
3885  * Added "Fallout" info page.
3886  * Fixed repay/offer/consider to all need a capital to be used.
3887  * Fixed bug with air defense missions not running when not AT WAR.  They now
3888     fly when HOSTILE.
3889  * plane/ship/unit short names are all now 4 characters, padded if needed.
3890  * pdump/sdump/ldump/ndump now just print the short name for the type.
3891  * sdump now has ship name at very end in quotes.
3892     These were done at the request of some client developers for ease of use.
3893  * Fixed extra space in the dump output.
3894  * Fixed fallout - not quite so nasty anymore.
3895  * Fixed fallout - things on ships/units are damaged now.
3896  * Fixed and balanced planes/ships/units/nukes in conjunction with each other.
3897  * Fixed bug in doconfig.c calculating wrong s_p_etu sometimes.
3898  * Fixed bug where harbors weren't being used to resupply.
3899  * Fixed bug where selling units loaded with planes and units wouldn't take
3900     the loaded planes or units - they are now dropped.
3901  * Fixed bug in arm/disarm where you could arm/disarm planes on the trading
3902     block.
3903  * Deities can now remove things from the trading block/market.
3904  * Fixed bug in "work" not charging engineers enough mob.
3905  * Fixed bug in "work" not adding teardown and buildup avail costs together.
3906  * Subs no longer need mobility to return fire when fired upon.
3907  * Fixed "reset".
3908  * Fixed bug in "trade" allowing 2 players to pay for the same item, but only
3909     the last player gets it.
3910  * Fixed bug where you couldn't launch missiles from allied ships or sectors.
3911  * Fixed bombing so that pin-bombing can cause collateral damage too.
3912  * Fixed sector damage to damage planes there too.
3913  * Fixed flag in lload so that it doesn't always print if not needed.
3914  * Fixed "sell.t" info page.
3915  * Fixed bug in "buy" where not entering the price correctly could cause
3916     a crash.
3917  * Fixed "sell" so that at least 1 mobility is required to sell goods.  Keeps
3918     the midnight "raid and sell" abuse down. :)
3919  * Fixed "show plane cap" to move the last column over 1 more where it should
3920     be.
3921  * Fixed timestamps to be updated for units/planes on ships/units that move,
3922     since those units/planes move too.
3923
3924 Changes to Empire 4.0.8 - Wed Feb 26 23:00:51 EST 1997
3925  * Fixed bug in nstr_exec that was wiping out the previous conditional.
3926     This was major because it affected timestamp values which are more
3927     than 65535.
3928  * Fixed bug in sdump.c for typo in reporting the trade ships origin.
3929
3930 Changes to Empire 4.0.7 - Mon Feb 24 22:48:54 EST 1997
3931  * Fixed bug in aircombat.c when calculating the air combat odds.  Negative
3932     numbers were screwing things up good...
3933  * Fort sector's coordinates are no longer printed when auto-firing at
3934     ships.
3935  * Subs can now surface and fire deck guns (again)  They can also be
3936     hit by return fire when doing so.
3937  * Fixed bug in setting of plane attack and defensive values so that
3938     negative numbers don't keep going further negative.
3939  * Fixed incorrect military control calculation in the sell command.
3940  * Trading posts are no longer required to sell goods from.  You can sell
3941     from harbors and warehouses now too.
3942  * Spy now prints out the owner of land units you see when spying.  Before
3943     this was assumed to be sector owner, which is no longer true.
3944  * Loading land units now prints out what was loaded onto each unit,
3945     just as loading ships do.
3946  * Added fallout, coast, c_del, m_del, c_cut and m_cut to dump output.
3947  * Added "GO_RENEW" option.  This option means that gold and oil resources
3948     are renewable.
3949  * Added "lost_items_timeout" config variable, and set the default to
3950     48 hours.  This determines how long lost items stay in the lost items
3951     database.
3952  * Fixed land unit names to be more consistent.
3953  * Fixed mission.t info page.
3954  * Fixed bug in that if mission_mob_cost was set to 0, even negative
3955     mob units should be able to be put on missions.
3956  * Removed restriction on things needing to be at least 60% to be put
3957     on a mission.  Note that while you can put them on missions at < 60%
3958     now, when trying to do the mission, it still checks the eff.  This
3959     is to help in automatic setup (build, put on mission, forget) instead
3960     of having to come back repeatedly.
3961  * Spies caught in Neutral or Friendly countries cause the Neutral or
3962     Friendly country to go Hostile towards the owner of the spy.
3963  * Tweaked ammunition numbers for artillery units.
3964  * No more automatic declarations of War should be made.  You will go
3965     hostile, but since going to war doesn't increase your countries
3966     defenses, and is purely political, it is left to the player to go
3967     that final step.
3968  * Fixed bug in trade that wasn't incrementing the time if last second bidding.
3969  * Fixed bug in "lmine" that was crashing the server if the land unit was
3970     out of mobility.
3971  * Fixed buy so that if you specify a product, you can only bid on that
3972     type of product.
3973  * Added "lost.t" info page.
3974  * Added "lost items" database (EF_LOST)
3975  * Fixed bug where you could move in allied forces after an attack if they
3976     bordered the victim area.
3977  * Fixed nstr_comp to deal with values > 16 bits coming in from
3978     client for comparisons.
3979  * Changed last minute market/trade timers to increment 5 minutes.  2 minutes
3980     was too quick.
3981  * Fixed decode in lib/common/nstr_subs.c to deal with NSC_TIME better.
3982  * Commented out the logging of the market checking in server/marketup.c,
3983     lib/commands/buy.c and lib/commands/trad.c  It was generating lots of
3984     pretty much useless data that made parsing the server.log file more
3985     more difficult than it needed to be.
3986  * Fixed crashing bug in ldump.
3987  * sdump, ldump, ndump, pdump and dump now print out the current
3988     timestamp on the "DUMP XXX" line.
3989  * Fixed denial of service bug in lib/player/accept.c in
3990     player_find_other function.
3991  * Fixed bug in shark reporting incorrect buyer of the loan.
3992  * Fixed bug in sdump.c (case 0 should have been case 10)
3993  * ldump and sdump now always print the fuel column if asked for,
3994     even if opt_FUEL is turned off.  In the case that it is turned
3995     off, the fuel is listed as 0.
3996  * Added "timestamp" field, which is updated every time an item is
3997     changed.
3998  * Fixed up the Clients.t info page.
3999  * sdump now prints trade ship building origin.
4000  * sdump now always prints name even if SHIPNAMES isn't defined.  If
4001     it is not defined, then the name is empty.
4002  * Added "timestamp" to info/Concepts/Selector.t
4003  * Added some more relevant info to info/Server/Empire4.t
4004  * Fixed Infrastructure.t info page to reflect the fact that infrastructure
4005     is no longer torn down when a sector is re-designated.
4006  * Fixed sell.t to more accurately reflect the time-delay market.
4007  * Fixed read.t and wire.t to reference accept and reject.
4008  * Fixed reject.t not referencing accept command.
4009  * Fixed collect.t to more accurately reflect what goes on when collecting
4010     sectors.
4011  * Fixed financial.t to reflect defaulted loans.
4012  * Fixed dump.t, sdump.t, ldump.t, ndump.t, pdump.t to reflect new
4013     timestamp info.
4014  * Fixed "census.t" (had incorrect reference to "info syntax" instead
4015     of "info Syntax".
4016
4017 Changes to Empire 4.0.6 - Thu Jan 16 11:33 EST 1997
4018  * Increased damage from depthcharges because on increased damage from
4019     torpedos.  Sub frange decreased to be more balanced with destroyer frange.
4020  * Intelligence reports (spy) on units will now report the estimated number
4021     of mil on the unit.
4022  * Fixed equation for ship visibility so it will drop as tech increases.
4023  * Added new commands sdump, ldump, pdump, and ndump to dump data on ships,
4024     land units, planes, and nukes.
4025  * If fields are provided, dump will only supply those fields requested.
4026  * Decreased speed of subs.
4027  * When options NO_LCMS or NO_HCMS are set, those commodities are no longer
4028     required for infrastructure improvements.
4029  * Units that lose an assault or a boarding attempt from a ship will no
4030     longer swim back to the ship they came from.
4031  * Units that take extra casualties will no longer lose all their mil at
4032     once.
4033  * Infrastucture is retained when redesignating a sector.
4034  * Dieing spies will no longer crash the server.
4035  * Units, planes, and ships must have mobility to perform missions.
4036  * Units on ship being scrapped are transferred to harbor.
4037  * Food is no longer autoloaded onto units when they are built.
4038  * Fixed show plane stat to show correct range.
4039  * Infantries now take damage at same rate as casualties.
4040  * Fixed bug with hap_fact.  Having more happiness now helps with fighting
4041     che.
4042  * Fixed anti to write back target country so che will continue to fight
4043     when they survive.
4044  * Fixed llookout to show correct estimate on number of mil on unit.
4045  * Added buildable architecture "hp".  This type will build the server on
4046     a HP/UX machine using the standard compiler instead of gcc.
4047
4048 Changes to Empire 4.0.5 - Thu Dec 12 10:28:48 EST 1996
4049  * Fixed bug in update/distribute.c where pathcost was not being called with
4050     the MOB_ROAD argument (and thus distribution costs could be GREATLY
4051     affected.) - Thanks Ice!
4052
4053 Changes to Empire 4.0.4 - Mon Dec  9 11:00:00 EST 1996
4054  * Fixed Solaris port using gcc.
4055  * Fixed doconfig.c to create directories with right modes.
4056  * Fixed install macros in makefiles to move binaries to the right
4057     places.
4058
4059 Changes to Empire 4.0.3 - Wed Dec  4 22:46:53 EST 1996
4060  * Added HP/UX port.
4061  * Fixed doconfig.c (put exit(0) at the end of main.)
4062  * Fixed improve.c (moved the prompt[] string outside the fcn.)
4063
4064 Changes to Empire 4.0.2 - Mon Oct 14 12:26:40 EDT 1996
4065  * Put in LND_MINMOBCOST in land.h
4066  * Put in change in lnd_mobcost in lndsub.c
4067  * Put in new nuke costs in nuke.c
4068  * Put in fix so that total work can only be done by the max pop. No more extra
4069     civvies tossed in will do it anymore in human.c.
4070  * Put in fix for src/util/Makefile - beefed it up.
4071  * Put in fix to show where your ship is when it gets shelled in mfir.c.
4072  * Changed infrastructure of roads from .040 to .020 (122 instead of 150 in
4073     common/move.c)
4074  * Fixed Update-sequence.t.
4075  * Put in fix for mobcost bonus for 0% highways.
4076  * Fixed stop.t
4077  * Fixed commodity.t
4078  * Spruced up torpedo damage somewhat. :) :)
4079  * Fixed "assault bmap bug" in attsub.c
4080  * Fixed Produce.t (bars cost)
4081  * Changed mountains to get an automatic "2" for defensive bonus in attsub.c
4082  * Fixed consider.t
4083  * Fixed repay.t
4084  * Fixed offer.t
4085  * Fixed "offer" and "consider" not being legal commands in player/empmod.c
4086  * Fixed Damage.t
4087  * Fixed sstat.t
4088  * Fixed lstat.c, pstat.c and sstat.c
4089  * Fixed cutoff command in cuto.c
4090  * Fixed attack value in attack_val in lndsub.c
4091  * Fixed lload in commands/load.c
4092  * Fixed defense_val in lndsub.c - Made it a minimum of 1, so that units will
4093     always fight until dead or retreating.  0 makes them get stuck.
4094  * Fixed update/deliver.c - no delivery of non-oldowned civvies (or anything
4095     else for that matter.)
4096  * Fixed llook in commands/look.c
4097  * Fixed che bug in subs/nstr.c
4098  * Fixed bug in strv.c by overcompensating by 1 food per sector (minute amounts
4099     of people would starve.)
4100  * Fixed update/human.c - feed_people rounding problems (I hope.)
4101  * Fixed morale problem in update/land.c
4102  * Fixed count_bodies in attsub.c
4103  * Fixed lnd_mobcost.
4104  * Fixed subs/land,plane,ship.c to handle sunken units and planes correctly.
4105  * Fixed interest rate in commands/offe.c
4106  * Fixed bug in buy.c.
4107  * Put in DEFENSE_INFRA soption o you can turn on/off the use of the defensive
4108     infrastructure.  When off, the defensive infrastructure is the same
4109     as the sector efficiency, and you can't improve it.  This is OFF by
4110     default.
4111  * Fixed Empire4.t
4112  * Added Wolfpack.t
4113  * Land units are now built with a default reaction radius of 0.
4114  * Changed name of lt artilleries to "lat" from "lart" so you can now build
4115     "lar"s again.
4116  * Lowered the speed and firing range of pt boats.
4117  * Lowered the initial att strength of cavs from 1.5 to 1.3 (they were TOO
4118     powerful.)
4119  * Changed the max mob gain defaults of units/planes to 1.0 and ships to 1.5
4120     (This is * ETU_RATE, so it is equal to ETU_RATE for units/planes and
4121      1.5 * ETU_RATE for ships.)
4122  * Conquered civvies only pay 1/4 taxes.
4123  * Railways don't get torn down when you rebuild sectors anymore (but roads
4124     and defenses do (if enabled.)
4125
4126 Changes to Empire 4.0.1 - Wed Aug 28 11:35:40 EDT 1996
4127  * Added "extern double tradetax" to check_trade in trad.c
4128  * Improved description of data directory in build.conf
4129  * Fixed bug in attacking land units that retreat so they now get
4130     charged mobility for attacking.
4131  * Fixed dump to report road, rail and defense of a sector at the end.
4132  * Fixed doconfig bug in not checking the right directory to see if the
4133     "data" directory existed or not before trying to create it.
4134  * "change" now works for sanctuary countries.
4135  * Fixed the description of "sinfrastructure".
4136  * Added more info to "Infrastructure".
4137  * Units/planes are no longer reduced to 75% when bought from the trading
4138     block.
4139  * Supply units were slowed down to the speed of infantry units.
4140  * Trade-ship payoffs have been lowered to 2.5, 3.5 and 5.0
4141  * Bars interest is up to $250 per 1K again.
4142  * Civ taxes were raised back up to a 10:1 mil/civ tax ratio (was 20:1)
4143  * Fixed various info pages.
4144  * Fixed bug in people not getting truncated when broke (this was thought
4145     to be fixed, but wasn't. Now it is, dammit!)
4146  * Fixed bug with units marching across oceans (scuba gear not included. ;-) )
4147  * Market/trade taxes and trade ship payoff figures were added to version.
4148  * "cede" has been removed as a default command.
4149  * Makefile rule was fixed for depend build.
4150  * Fixed bug in mapdist not taking world edges into account nicely enough.
4151  * Added a "scuttle" order for autoscuttling trade ships.  Makes using them
4152     easier.  Cleaned up scuttle code while in there.
4153  * Fixed bug with scuttling a ship with units on it not scuttling the units
4154     too.
4155
4156 Changes to Empire 4.0.0 - Wed Aug 21 1996
4157  * Initial Wolfpack release - Long live the Wolfpack!!!!
4158  * Cleaned up the build environment.  Now all that is needed is to edit the
4159     build.conf file, answer the questions there and type "make <arch>" to
4160     build for a specific architecture.  Thus, no more reliance on gnumake
4161     or special shell scripts.
4162  * We are now shipping the pre-built info pages with the server for those who
4163     Don't want to build them.  You can also still just type "make" and have
4164     the info pages build, but it doesn't completely work (i.e. rebuild new
4165     Subjects) if you don't have perl5 installed.
4166  * Put in the "help" command that does the same thing as "info".
4167  * Removed C_SYNC.  This is done for 2 reasons.  1) None of us like it or
4168     wish to support it.  2) We envision a better scheme for doing similar
4169     things will come along.
4170  * Put in MOB_ACCESS - This allows real-time updating of mobility.
4171  * Put in MARKET - This is the time-based market (yes, still teleports,
4172     but it's not as bad as it was.)
4173  * Lots of the documenation has been updated, but there is more to do.
4174  * Added NO_LCMS, NO_HCMS and NO_OIL options.  When any of these options are
4175     enabled, you don't need any of that type of material to build things.
4176     If NO_HCMS is enabled, you don't need HCMS to build bridges, you need
4177     lcms.  If both NO_HCMS and NO_LCMS are enabled, then you don't need
4178     any materials to build a bridge.
4179  * There is no mobility cost for assigning missions.  But, there is also
4180     no longer any benefit for being on a mission either.
4181  * Damage is the same for all commodities (people too.)  This means you
4182     can deity shell/bomb sectors again.
4183  * Units are now dependant on tech.  What this means is that their statistics
4184     now increase with tech.  In addition, there is only 1 type of each basic
4185     unit now (i.e. just "cavalry" instead of "cavalry 1", "cavalry 2", etc.)
4186     This reflects the idea that as you learn more, you learn how to not only
4187     build better units, but you learn to build units better. :)  This also
4188     opens the door for a "lupgrade" command along the same lines as the
4189     "upgrade" command for ships.
4190  * Units now have a minimum mob cost for attacking a sector.  Marching
4191     mob costs have not changed.
4192  * Starting units have been removed.  This means that at the beginning, people
4193     may live a little longer since their neighbor can't come visiting quite
4194     as quick.
4195  * Shells are no longer required to build units.
4196  * Mil are no longer required to build units.
4197  * Mil are no longer an intrinsic part of a unit.  They are now a loadable
4198     commodity.  The way a unit's defense/att bonuses work now are
4199         attack = (att * mil * eff)
4200         defense = (def * mil * eff)
4201     In addition, when a unit takes damage, both the eff and the mil go
4202     down.  You can quickly toss in new hacks, but you need to wait to repair
4203     the unit at the update.  Thus, you can now look at unit's efficiency
4204     as their training.
4205  * You need at least 1 mil on a unit to march it (spies are the exception.)
4206  * Units always react if in range and they have the mobility, no matter
4207     what their efficency.
4208  * Units may now march anywhere - in your own sectors, deity owned sectors
4209     or allied sectors, with 1 exception, spies.  Also, your units can get
4210     trapped if your ally declares non-alliance with you while your units
4211     are still in his country.)
4212  * Units always march at their speed, efficiency doesn't matter.
4213  * LANDSPIES was added - This creates land unit based spies.  Spies may march
4214     anywhere, with a chance of getting caught (except in allied territory.)
4215     See "info Spies" for more info on them.
4216  * Planes may now be based out of allied airports.  Landing planes on
4217     ships/sectors you do not own no longer changes thier owner.  You can only
4218     land on owned/allied sectors/ships, and you may only
4219     fly/bomb/para/recon/drop from owned/allied sectors.  So, if a country
4220     you are allied with goes hostile at you, your planes are now stuck there.
4221     Note that if you are using an allied airport, their commodities get
4222     sucked up, not yours (obviously.)
4223  * Planes are now tech-based.  Their statistics increase as their tech
4224     increases.  Deleted extraneous planes.
4225  * There is a new toggle, "techlists", which allows you to see what you
4226     can build/stats/capabilities sorted by tech instead of groupings.
4227  * Ships are now tech-based.  Their statistics increase as their tech
4228     increases.  Deleted extraneous ships.
4229  * Che can now be lessened by making happiness.  If you have more happiness
4230     than your conquered populace, they don't fight as hard or recruit as
4231     much.  If you have less than them, they fight harder and recruit more.
4232     It's not much though - it ranges from 2.0 in your favor to only 0.8
4233     against you (whereas it was always 1.0 before.)  So, it definitely
4234     favors the attackers to make lots of happy now.
4235  * Bridgeheads can only be built on coasts.
4236  * Players command was fixed so you only see allies, and don't get
4237     approx #'s of players anymore.
4238  * POSIX threads support has been added.
4239  * The attack bmap bug has been fixed.
4240  * BTUs regenerate 3 times faster now.
4241  * GRAB_THINGS is off by default.
4242  * Big nuclear bombs are back, and FALLOUT has been fixed and enabled
4243     as a default (you couldn't make wasteland before with FALLOUT, now
4244     you can.)
4245  * You can now deliver military and civilians.
4246  * Added SHIP_DECAY option - off by default (turns off ships decaying out
4247     at sea if not enough mil.)
4248  * The reverting owner bug has been fixed in territory, thresh, dist
4249     and deliver.  There are probably more, and when found, will be fixed.
4250  * The "sectors don't starve when stopped or broke" bug has been fixed.
4251  * The "people never get truncated" bug has been fixed.
4252  * Added infrastructure to sectors.  What this means is that a sector
4253     can now have it's mobility improved by building both roads and
4254     railways.  It also means that a sectors defense is now based on the
4255     defensive infrastructure you build into the sector (no more intrinsic
4256     better defenses based on the sector, you determine which sectors are
4257     defended heavily, and which aren't.)
4258  * The defensive value of a sector no longer relies on the efficiency of
4259     the sector. Instead, it relies on the defensive efficiency of the sector.
4260     Thus, the "production" and "defensive" aspects of sectors have been
4261     separated.
4262  * "show sect stats" now shows the maximum defensive value for sectors.
4263  * Changed sector structure to take floats for off/def values so we can use
4264     a base of 1 instead of 2.
4265  * Added "improve" and "sinfrastructure" to support the infrastructure
4266     concepts.
4267  * Added L_TRAIN units which can only travel along railways.  Very fast on
4268     efficient railways, slow on non-efficient ones.
4269  * Added the ability for units to carry other units.
4270  * Fixed census (shortened up "fallout" and "coast" to "fall" and "coa".)
4271  * Forts only cost $500 to build and 100 hcms now (since they don't get any
4272     better defenses automagically.)
4273  * Modified "show sect build" to show the costs for building up the
4274     infrastructure of a sector.
4275  * Changed "spy" and the satellite recon stuff (which shows sector stuff for
4276     spyplanes too) to show the new infrastructure stuff, rounded of course.
4277  * Added Drake's info->html scripts, with some modifications, so you can
4278     now type "make html" and have your info pages built as html files too.
4279     This adds a new directory, "info.html", to the build tree.
4280  * Modified upgrade so that planes and land units may now be upgraded.
4281  * Added pstat command to list the statistics of your planes.
4282  * Added lstat command to list the statistics of your land units.
4283  * Added sstat command to list the statistics of your ships.
4284  * Added nmap command to show a map of your sectors after their new
4285     designations have taken place.