UPPatch Information

Release Full Source Patch Obsoleted
0.9.2 space-0.9.2.tar.gz 0.9.1 -> patch-0.9.2.gz patch-0.9.3

Changes

Patch v0.9.2
============

- Use a hash table for console modes. This should make
  things a bit quicker when changing console modes.
- More cosmetic repairs to user-visible output.
- Updated the hashing code to allow lookups to be made
  on non-zero terminated strings by providing a string
  length.  This means we don't have to take a copy of
  various strings so we could hack them up.
- Added a utility function - load_text_flags - which
  takes a string, and using the specified hash table
  sets or clears flags in a flag word.
- Changed the object, ship and console flag structure
  to contain a length parameter.  This is used by the
  new hash search-with-length routine.
- Renamed the console type spacecalls to be more inline
  with the object and ship flag calls. I also added a
  function to directly check a console flag.

  set_consoleflags(console, flags)
  get_consoleflags(console)
  has_console_flag(console, flag)

- Greater use of 'const' and 'static' where possible.
  This should provide more opportunities for compiler
  optimizations, and reduce namespace pollution.
- Corrected the declaration of cmdShdAllocate
  (was cmdShieldAllocate).
- Fixed funListContainers, funContactListNumbers,
  funContactListDbrefs, funTransListBeamable,
  funTransListDests to use the platform indepentant
  buffer return macro. This may very well have caused
  tinymush to crash every now and again.
- Rework of platform specific code to remove the MU*
  headers from inclusion in any PSE code except platform.c
  This should give us a very compact mapping layer between
  the server and the PSE code.

                 +-----+                    +-----+
                 | MU* +---- platform.c ----+ PSE +
                 +-----+                    +-----+

- New additional patches to MUX, and MUSH are in the
  patches directory. This will cure the errors regarding
  discarding const when compiling platform.c

  patch-tinymux-1.5p3-const
  patch-tinymush-2.2.3-const

  These patches do not alter the operation of the MUX
  or MUSH server in any way. They just add some 'const'
  declarations where appropriate.

Installation

Standard installation instructions apply.

Difference Statistics

 CHANGES                             |   59 ++
 docs-src/src/spacecalls-coding.html |   11 
 docs/spacecalls-coding.html         |   11 
 patches/patch-tinymush-2.2.3-const  |  114 +++++
 patches/patch-tinymux-1.5p3-const   |  227 ++++++++++
 src/comm.c                          |    2 
 src/commands.c                      |  573 +--!!!!!!!!!!!!!!!!!!!!!!!
 src/damage.c                        |   40 !
 src/dbint.h                         |   20 
 src/eng.c                           |    6 
 src/events.c                        |    2 
 src/hashtab.c                       |   44 +
 src/hashtab.h                       |    5 
 src/interface.h                     |   64 ++
 src/nav.c                           |    3 
 src/object.c                        |  436 !!!!!!!!!!!!!!!!!!!
 src/object.h                        |    9 
 src/platform.c                      |  461 ++++++++++++++----!!!
 src/platform.h                      |  150 -----!!
 src/scm.c                           |    2 
 src/scm/scm_armour.c                |    2 
 src/scm/scm_hull.c                  |    2 
 src/scm/scm_shields.c               |    2 
 src/sensors.c                       |    4 
 src/shields.c                       |    2 
 src/ship.h                          |    6 
 src/smain.c                         |   31 !
 src/smisc.c                         |   57 -!
 src/smisc.h                         |    4 
 src/spaceconf.h                     |    2 
 src/tactical.c                      |    2 
 src/varray.c                        |    2 
 src/version.h                       |    3 
 33 files changed, 912 insertions(+), 247 deletions(-), 1199 modifications(!)

Disclaimer

This code is provided as a development release. Not all of the functionality noted in the documentation may be present, and correct operation of the included components is not guaranteed. Caveat Emptor.

Valid XHTML 1.0! Maintained by Mark Cooke
Last Updated: 28-Nov-2003