CHANGELOG

ldmud-3.4.1/CHANGELOG · 416.4 KB

From the archive ldmud-3.4.1.tar.gz

Download the archive   « Back to the archive contents

This file lists all changes made to the game driver in all gory detail.
See the file HISTORY for a user-oriented summary of all the changes.

24-Nov-2005  (Lars Duening)  (3.3.712 = 3.4.1)
  - Released as 3.4.1 on 12-Mar-2006.
  - (md5.c) The ROTATE_LEFT macro wasn't 64-bit clean (Bug #413).
  - (interpret.c) Using foreach(), when looping over a mapping with no values,
      or with only the index being extracted, the loop actually loops over the
      mapping and not just the indices copied into an array (Bug #388).
  - (object.c) Efun set_environment(): clear the RESET_STATE flag of
      of the moved object's original environment, if any (Bug #387).
  - (efuns.c) Efun md5()/sha1() can now hash arrays of numbers as well
      (Bug #411).
  - (xalloc.c) The string_copy() function checks if the requested
      memory is actually allocated, throwing an error if not (Bug #397).
  - (simulate.c) Errors during the processing of a fatal() will be
      recognized and treated as double-fatal (Bug #408).
  - (interpret.c) free_svalue() now recognizes the free of nested
      structures and de-serializes them to avoid stack overflows (Bug #416).
  - (Makefile.in, version.sh, patchlevel.h.in) Removed PRCS support.

24-Nov-2005  (Gnomi)
  - (actions.c) When re-using a sentence structure for marker_sent,
       the shadow_ob member wasn't cleared out, causing crashes
       down the road (Bug #0000414).
  - (closure.c) bind_lambda() doesn't ignore unbindable closures
       when the second argument is missing (Bug #407).

09-Oct-2005  (Lars Duening)
  - (closure.c) replace_program_lambda_adjust() forgot to clear the
       object references from the auxiliary lambda it created (Bug #0000412).

08-Oct-2005  (Lars Duening)
  - (closure.c) When freeing bound unbound_lambdas, the code forgot to
       remove the reference to the creator object of the unbound_lambda.
  - (closure.c) Efun symbol_function() leaked an object reference (Bug
       #0000412).
  - (closure.c, object.h) Made the object reference logs a bit more
       expressive.

31-Oct-2005 (Philipp Hancke)
  - (pkg-tls.c) When accepting a SSL connection, request a client
       certificate. The driver itself won't check the correctness,
       but the result will be available in the connection status.

30-Oct-2005 (Lars Duening)  (3.3.711)
  - Created snapshot.

29-Oct-2005 (Lars Duening)
  - (backend.c) The backend call to cleanup_all_objects() is now
       controlled with a low/high watermark logic, to prevent
       repeated calls in consecutive backend cycles: if one cleanup
       didn't remove enough destructed objects, it is unlikely
       that immediately following ones will.
  - (pkg-tls.c) The OpenSSL read/writes are now retried when necessary.
  - (configure) When searching for the mysqlclient library in the
       usual places, the configure script forgot to clear out the 
       cache flag.
  - (smalloc.c) Removed a compilation error when SBRK_OK wasn't defined.
  - (mstrings, many files) The find-in-table statistics were done
       incompletely.
  - (structs.c) The test for struct equivalence now recurses through
       member structs; otherwise changes in an contained struct wouldn't
       be reflected in the containing struct.
  - (prolang.y) Clarified the 'Unknown type' error messages when
       derefencing structs.

19-Oct-2005 (Lars Duening)
  - (pkg-tls.c) tls_check_certificate() now returns the low-level API
      values, and throws an error if the connection is not secure.

11-Oct-2005 (Lars Duening)
  - (erq/erq.c, xerq/socket.c) Corrected compilation warnings.
  - (lex.c) to_int() no longer accepts "x<num>" as valid sedecimal
       notation (Bug #0000402).

10-Oct-2005 (Lars Duening)
  - (backend.c) Added a clear_state() at the beginning of the
    process_objects() loop, so that errors during the cleanup find
    a consistent machine state (Bug #0000405).

09-Oct-2005 (Lars Duening)
  - (simulate.c) If the catch() handling notices an out-of-memory
      situation, the catch() is ignored. This also fixes an endless
      recursion (Bug #0000406).

04-Oct-2005 (Lars Duening)
  - (doc/concepts/overloading) New man page (thanks, Coogan!).

28-Sep-2005 (Lars Duening)
  - (doc/efun/clone_object) Clarified the variable initialisation.

23-Aug-2005 (Lars Duening)
  - (Makefile.in) The PRCS rules first check if PRCS is available.

20-Jun-2005 (Lars Duening)  (3.3.710)
  - (patchlevel.h.in, version.sh, mk-patchlevel.sh, Makefiles)
      Modified the version numbering system to be compatible between
      Subversion and PRCS.

20-Jun-2005 (Lars Duening)  (3.3.709)
  - (xalloc.c) xalloc used REPLACE_MALLOC before it was defined,
      leading to compilation errors on systems supporting it (Bug #0000393).

19-Jun-2005 (Lars Duening)  (3.3.708)
  - (pkg-pgsql, func_spec) Added new efun pg_conv_string(), courtesy
      of Philipp.
  - (efuns.c) Added new flag setting '4' to get_type_info() for closures
      (Bug #0000392).
  - (parse.c) Possibly corrected a refcounting bug in handling prepositions
      (Bug #0000391).
  - (closure.c) Since the operators #'&, #'|, #'^ and #'! are now considered
      efuns, the closure compiler skipped the special treatment of these.
      As an added bonus of the correction, #'| and #'^ can now take
      an arbitrary number of arguments, too. (Bug #0000389)

10-Jun-2005 (Lars Duening)  (3.3.707)
  - (gcollect, backend.c) If the number of destructed pending objects
      exceeds the number of active objects, a cleanup of all objects
      is triggered. Also, the incremental cleanup in each cycle
      cleans at least the number of objects destructed in the cycle.

06-Jun-2005 (Lars Duening)  (3.3.706)
  - (object.c, sprintf.c, structs.c) Removed a couple compilation warnings
      on x86-64.

15-May-2005 (Lars Duening)  (3.3.705 = 3.4.0)
  - (simulate.c) runtime_error(), runtime_warning() and heart_beat_error()
      received a new argument 'caught' (Bug #0000385).

15-May-2005 (Lars Duening)  (3.3.704)
  - (object.c) Single-character operator closures like #'- couldn't
      be restored in arrays due to some outdated hack in the parser
      (Bug #0000384 and #0000386).

15-May-2005 (Lars Duening)  (3.3.703)
  - (sprintf) sprintf("%c", 0) returned an empty string instead of a
      string with the 0 character, because the code used the system
      sprintf() for this formatting internally (Bug #0000378).

14-May-2005 (Lars Duening)  (3.3.702)
  - (sprintf) Printing structures with "%O" or "%Q" in non-compact
      mode also prints the names of the structure members (Bug #0000380).

13-May-2005 (Lars Duening)  (3.3.701)
  - (configure) Added a check to see if the system is using a broken iconv
      (part of glibc 2.0-2.2) - this iconv can throw the driver into an
      endless loop (Bug #0000377).

13-May-2005 (Lars Duening)  (3.3.700)
  - (lex.c) When adding strings in preprocessor conditionals, the lhs
      string was freed twice, causing memory corruption (reported by Tobias).

24-Apr-2005 (Lars Duening)  (3.3.699)
  - (config.h.in, gcollect.c) Added a specific define LOG_NEW_CLEANUP
      to enable the logging of the automatic cleanup activity. This
      is useful if the cleanup is suspicious of hogging the CPU.
  - (main.c, pkg-tls.c) Improved the documentation for the TLS commandline
      options, removed a crasher when only one of the two cert locations
      is specified (thanks, Coogan!).
  - (xalloc.c) Added warning if ptmalloc is used under FreeBSD.
  - (configure) New configuration parameter '--with-tls-path' allows
      to specifiy a non-standard location for the TLS installation.

01-Apr-2005 (Lars Duening)  (3.3.698)
  - (pkg-tls.c) Added FreeBSD 5.4 compatibility (thanks, Ralph!).
  - (simulate, many files) Renamed error() to errorf() due to a collision
      with gnutls.h include files under newer compilers.

01-Apr-2005 (Lars Duening)  (3.3.696, .697)
  - (port.c) Corrected a C99 incompatibility (thanks, Ralph!).
  - (simulate.c, backend) The commands/s and compiled lines/s statistics
       are part of the 'status tables' output.
  - (gcollect.c) Added a missing variable initialisation (thanks, Ralph!).

27-Mar-2005 (Lars Duening)  (3.3.695)
  - (patchlevel.h, main.c, lex.c) Simplified the version number handling
       in anticipation of the 3.4 branch.

27-Mar-2005 (Lars Duening)  (3.3.694)
  - (backend.c) I reintroduced the numeric limit on the number of objects
       to data-clean, as even with the random factor it could happen
       that the driver tries to cleanup hundreds of objects in one cycle.
       The numeric limit is calculated such that all listed objects can
       be cleaned in half of the configured cleanup cycle.

27-Mar-2005 (Lars Duening)  (3.3.693)
  - (slaballoc.c) Corrected the free-steps statistics.
  - (backend.c) The data-cleanup didn't pay attention to the backend
       timing, occasionally causing the driver to clean up thousands
       of objects in one cycle.
  - (gcollect.c) The cleanup of the fixed datastructures (wizlist, driver
       hooks) did not observe the overall cleanup timing - on muds with
       lots of data in the default wizlist entry this lead to annoying
       lags.

25-Mar-2005 (Lars Duening)  (3.3.692)
  - (simulate.c) Modified the callback setup so that efun callbacks
       can take normal lvalues; and timed function/closure callbacks
       take protected lvalues - but not vice versa.

24-Mar-2005 (Lars Duening)  (3.3.691)
  - (gcollect.c) Added a log output for the time it takes to data-clean
       objects.
  - (config.h.in, slaballoc.c) The sorting of the partial slab freelists
       is now configurable by hand.
  - (slaballoc.c) Added weighted-average statistics for number of steps
       per freed block.
  - (interpret, backend.c, call_out.c, efuns.c heart_beat.c, simulate.c)
       Added a statistic (last and time-weighted average) about the total
       execution ticks and time per LPC thread.

20-Mar-2005 (Lars Duening)  (3.3.690)
  - (backend, main, simulate.c) Updated the last-data-cleaned statistics
       to be weighted over time; and generalized the statistics implementation
       in general.

18-Mar-2005 (Lars Duening)  (3.3.689)
  - (backend.c) Improved the synch heartbeat condition expression.
  - (heartbeat.c) I had forgotten to remove all remnants of an exploratory
       change.

17-Mar-2005 (Lars Duening)  (3.3.688)
  - (backend.c) The synchronous heartbeat timing wasn't initialised properly.

13-Mar-2005 (Lars Duening)  (3.3.687)
  - (main, backend.c, heartbeat.c) The ALARM_TIME and HEART_BEAT_INTERVAL
        time are now configurable at compile and start time (based on
        a patch by Gnomi).

12-Mar-2005 (Lars Duening)  (3.3.686)
  - (func_spec, object.c) The efun tell_object() can now take an array,
        mapping, struct or object as second argument, calling catch_msg() in
        the target in that case (Bug #0000354).
  - (func_spec, object.c) The efuns tell_room() and say() can now take a
        mapping, object or struct instead of an array as second argument for
        the catch_msg() mechanism.

09-Mar-2005 (Lars Duening)  (3.3.685)
  - (mapping.c) The hash/hybrid statistics were somewhat off.
  - (gcollect, backend.c, simulate.c) The default time interval for
      a data cleanup is now available as macro in gcollect.h . And
      since we have that time interval, the number-to-process limit
      in process_objects() didn't make much sense anymore.

06-Mar-2005 (Lars Duening)  (3.3.684)
  - (slaballoc.c) Tuned the allocator: the partially-used slab lists
      are now lazily order for better usage.
  - (interpret.c) For an uncallable closure, the code forgot to clean
      out the CSP before throwing the error (Bug #0000374).
  - (doc/efun/snoop) Corrected the description of the return value (Bug
      #0000372).

26-Feb-2005 (Lars Duening)  (3.3.683)
  - (efuns.c) regreplace() didn't update the stack pointers properly,
      causing crashes down the road (reported by Bardioc).

25-Feb-2005 (Lars Duening)  (3.3.682)
  - (mapping.c) Indexing a mapping with strings didn't quite work yet: the
      hash computation didn't take into effect that strings are no longer
      tabled just to use them as rvalue indices.
  - (simulate.c) If a callback didn't have a valid object associated with
      it (e.g. unbound_lambda()s), the code forgot to remove the arguments
      from the stack (Bug #0000370).
  - (simulate.c) Uncalleable closures given as callbacks are now detected
      and cause a runtime error (Bug #0000370).
  - (simulate.c) A runtime in a regreplace() substitution closure leaked
      the regexp structure. I changed the whole thing to automatic
      cleanup (Bug #0000370).

24-Feb-2005 (Lars Duening)  (3.3.681)
  - (mstrings) Re-integrated the stringtable structures into the strings:
      on the whole, the majority of strings will be tabled so reducing
      the overhead for this case is beneficial.

24-Feb-2005 (Lars Duening)  (3.3.680)
  - (mstrings, closure.c, interpret.c) Debugging 3.3.679: reallocating a
      string 'under the hood' is no longer possible as the string data is now
      an integral part of the string structure. This disables the
      mstr_append() optimizations.

21-Feb-2005 (Lars Duening)  (3.3.679)
  - (mapping.c) get_map_lvalue() didn't correctly check the mapping size:
       it checked against the current and not the future size (Bug #0000369).
  - (mapping, simulate.c) Added a statistic for hash and hybrid mappings (for
       now just the count).
  - (mstrings, gcollect.c, array.c, closure.c, i-svalue_cmp.h, interpret.c,
     simulate.c) Simplified the string implementation to reduce the overhead.

21-Feb-2005 (Lars Duening)  (3.3.678)
  - (slaballoc.c, smalloc.c) I hate crashers which don't happen on my machine:
       the merging of the esbrk() result with adjacent free blocks crashed
       the driver (Bug #0000368).

20-Feb-2005 (Lars Duening)  (3.3.677)
  - (configure, mapping.c, simulate) It is now possible to determine
       the max number of mapping entries (keys) in addition to the total
       mapping size (Bug #0000360).
  - (main.c) New commandline option '--max-mapping-keys' to determine
       separately the maximum number of entries in a mapping.

20-Feb-2005 (Lars Duening)  (3.3.676)
  - (smalloc.c) Corrected a crasher in realloc().
  - (smalloc.c, slaballoc.c) New memory allocated with esbrk() is now
       coagulated with existing free memory if possible (Bug #0000364).

20-Feb-2005 (Lars Duening)  (3.3.675)
  - (pkg-tls.c) Removed compilation errors when using GnuTLS.
  - (comm.c) The charmode/noecho mode is changed in remove_input_to()
       only if the first pending input_to() is removed. Hopefully this
       fixes Bug #0000363.

20-Feb-2005 (Lars Duening)  (3.3.674)
  - (prolang, simulate.c) During the compilation of the master object, simul
       efuns are disabled.

20-Feb-2005 (Lars Duening)  (3.3.673)
  - (smalloc.c, slaballoc.c) The memory block size computation failed
       on large blocks, giving bad statistics.

13-Feb-2005 (Lars Duening)  (3.3.672)
  - (pkg-tls.c) Philip provided a tls_check_certificate() efun.

12-Feb-2005 (Lars Duening)  (3.3.671)
  - (pkg-tls.c) My change was premature.
  - (mstrings.c) The printing of percent values was missing a conversion
      to float in order to actually compute the percent values.

11-Feb-2005 (Lars Duening)  (3.3.670)
  - (mstrings.c) The extended string statistics didn't count the tabled
      comparisons correctly.
  - (lex.c) New macro __BOOT_TIME__ expands to the time() the driver
      was booted.
  - (comm, pkg-tls.c) New interactive_t flag 'outgoing_conn' is TRUE for
      connections openened by net_connect(). This is used by TLS (OpenSSL)
      to set the proper state for the session.
  - (slaballoc.c, smalloc.c) When using brk() for core allocation, the
      returned memory address was one word too low.

09-Feb-2005 (Lars Duening)  (3.3.669)
  - (object, simulate.c, backend.c) The list of destructed-but-referenced
      objects is scanned for deallocatable objects only when a flag
      signals that there actually are candidates. This should reduce
      the CPU load when destructed objects accumulate.
  - (mstrings, various files) Added statistics to check how much the
      shared string table actually helps performance. They are printed
      in the 'status tables' command.

07-Feb-2005 (Lars Duening)  (3.3.668)
  - (smalloc.c, slaballoc.c) The large block handler is now capable
      of handling blocks up to 2**32 words. This is especially useful
      on systems using malloc() instead of sbrk() for core memory
      allocation (reported by Menaures).
  - (efuns.c, smalloc.c, slaballoc.c) The extended malloc statistics
      are now separate from 'status malloc' in 'status malloc extstats'
      (Bug #0000358).

01-Feb-2005 (Lars Duening)  (3.3.667)
  - (pkg-mccp.c) In start_mccp_compress(), the interactive pointer
      was used before being set. I moved the set&check forward
       (Bug #0000361).
  - (pkg-tls.c) The success code passed to the TLS-handshake callback
      was incorrect: on success, it was passed as '1' instead of '0'
       (reported by Philipp).

31-Jan-2005 (Lars Duening)  (3.3.666)
  - (xalloc.c) Forgot to remove a fatal() used to debug slaballoc (Bug
       #0000359).
  - (slaballoc.c) Removed compiler warnings (Bug #0000358).
  - (mregex.c) Great - Kerberos has a function 'error_message()' in 
       a global include file (reported by Rajko).
  - (comm.c) Do not print the prompt to interactives which are currently
       negotiating a TLS handshake.
  - (pkg-tls.c) During the execution of a tls-init callback, the callback
       is protected against premature freeing.
  - (interpret.c) The range foreach (i: __INT_MIN__ .. __INT_MAX__)
       now works as well (I added an internal flag for this case to allow one
       extra pass through the loop (Bug #0000355).
  - (pkg-mccp.c) With the telnet machine disabled, it is now possible to
       still use outgoing compression with start_mccp_compression(), assuming
       a suitable client program is used on the other end (suggested by
       Philipp).

30-Jan-2005 (Lars Duening)  (3.3.665)
  - (interpret.c) foreach(i: x..__INT_MAX__) never executed because
       of internal overflow. By changing the meaning of the internal 'count'
       from 'upper limit' to 'iterations left', this overflow was
       avoided (Bug #0000355).

30-Jan-2005 (Lars Duening)  (3.3.664)
  - (xalloc, slaballoc, configure, efuns.c) Added new 'slaballocator'
       which provides a better use of the free small block storage.
  - (interpret.c) When using foreach() on references, the protector
       structure was allocated too small - a stupid typo (Bug #0000353).

22-Jan-2005 (Lars Duening)  (3.3.663)
  - (actions, simulate, gcollect.c) Unused action and shadow sentences
       are no longer held in a freelist, but instead returned directly
       to the memory allocator.

22-Jan-2005 (Lars Duening)  (3.3.662)
  - (efuns.c) Deep-copying a mapping employing shared arrays as keys (e.g. ([
       arr, ([ arr ]) ])) prematurely freed the copied array as the code
       didn't keep track of the copied data itself, but of the svalues it was
       stored in - and for mapping keys these svalues were local variables
       (Bug #0000351).
  - (comm.c) If telnet-negs were turned off in linemode, the driver started
       treating lineends as if in charmode, which the higher routines
       didn't expect (reported by Philip).

19-Jan-2005 (Lars Duening)  (3.3.661)
  - (gcollect.c) When a program was swapped out, the GC didn't clear the refs
       of its name (Bug #0000348).
  - (mregex.c) If a regexp function was asked to use both RE_TRADITIONAL
       and RE_PCRE, and the regexp doesn't compile for both, the resulting
       error leaked some structures (Bug #0000349).

17-Jan-2005 (Lars Duening)  (3.3.660)
  - (gcollect.c) The names of programs of destructed objects didn't
       get their references cleared properly in a GC, leaking the
       program names if the destructed object was held by
       a self-reference (Bug #0000099).
  - (closure.c) Determining the closure location leaked the
       program's name (Bug  #0000347).

16-Jan-2005 (Lars Duening)  (3.3.659)
  - (configure) Corrected the mySQL library check (Bug #0000346).

14-Jan-2005 (Lars Duening)  (3.3.658)
  - (interpret, array.c, mapping.c, parse.c, simulate.c, files.c)
       The new function push_error_handler() simplifies the creation
       of T_ERROR_HANDLER values.
  - (object.c) Exceptions during a restore no longer leak values
       (Bug #0000344).
  - (smalloc.c) The extended large-free statistics was still off.

14-Jan-2005 (Lars Duening)  (3.3.657)
  - (array.c) Efun unique_array() no longer leaks memory if aborted
       by an exception (Bug #0000345).

14-Jan-2005 (Lars Duening)  (3.3.656)
  - (gcollect.c, object.c) The GC forgot to clean out the refcounts
       of the names of the destructed objects, which meant that if
       the destructed object was held by a self-reference, the name
       would receive an extra reference count and leak until the
       next GC (Bug #0000343).

14-Jan-2005 (Lars Duening)  (3.3.655)
  - (backend.c) Tweak to the process_objects() loop: the loop now
       really allows to have a given number of objects being cleant
       per loop, not just checked for being cleanable.

14-Jan-2005 (Lars Duening)  (3.3.654)
  - (smalloc.c) Small block splits now make sure, that the remaining
       block has a minimum size. This size is currently configured
       to 3 words = 12 Bytes, as the driver doesn't need that many
       of the even smaller blocks.
  - (object, gcollect.c, backend.c) The data cleanup is now timed
       independent of the time of the last reference: similar to
       reset the cleanup takes place in random intervals based
       on the configured cleanup-time (or one hour if the cleanup-time
       is 0).

13-Jan-2005 (Lars Duening)  (3.3.653)
  - (util/xerq/erq.c) The erq didn't check if the calculated timeout
       for the next select() had become negative. (Bug #0000342).

12-Jan-2005 (Lars Duening)  (3.3.652)
  - (mapping.c) Indexing a 0-width mapping returned pointers to memory outside
       the mapping, causing weird crashes. The solution is to return pointers
       to the global const1 (when found), or to a local svalue-0 instance
       (when not found and a lvalue is requested) (Bug #0000341).

10-Jan-2005 (Lars Duening)  (3.3.651)
  - (configure) Added yet another path to the search for a mySQL installation.

09-Jan-2005 (Lars Duening)  (3.3.650)
  - (doc/efun/send_udp) Added a note about the blocking behaviour of 
       name lookups.
  - (configure) The mySQL test was not quite correct.

09-Jan-2005 (Lars Duening)  (3.3.649)
  - (configure) Added another path to the search for a mySQL installation.

08-Jan-2005 (Lars Duening)  (3.3.648)
  - (settings/timewarp) New settings file.
  - (mudlib/sys/files.h, files.c) Efun get_dir() can now return
        access times and file modes (suggested by Mats).

08-Jan-2005 (Lars Duening)  (3.3.647)
  - (configure, pkg-mysql.c) Adjusted the search for the mySQL include
        files to allow for local installations (Bug #0000338)

08-Jan-2005 (Lars Duening)  (3.3.646)
  - (func_spec, lex, prolang.y, interpret.c) New pragma 'range_check'
        allows to check the validity of array ranges at runtime - these
        are the range checks currently controlled by the warn_deprecated
        pragma.

08-Jan-2005 (Lars Duening)  (3.3.645)
  - (smalloc.c) Corrected some bugs in the extended statistics.
  - (comm, simulate.c, mudlib/sys/debug_info.h) Added statistics for
        the incoming network traffic, and also display the total
        amount of data sent/received in the 'status tables' command.

04-Jan-2005 (Lars Duening)  (3.3.644)
  - (main.c, doc/driver/invocation, INSTALL) Corrected the documentation
        (Bugs #0000333 and #0000335).

31-Dec-2004 (Lars Duening)  (3.3.643)
  - (mapping.c) Corrected the hashing function so that for efun/sefun/operator
        closures the object information is no longer part of the hash. Without
        that, mappings treat closure keys differently than the '=='/'!='
        operators, which is not a good thing.

31-Dec-2004 (Lars Duening)  (3.3.642)
  - (lex.c) Factored the handling of preprocessor statements and of
        closures out of the yylex switch.

29-Dec-2004 (Lars Duening)  (3.3.641)
  - (closure, object.c) The driver internally now uses the closure creation
        functions as well - there were more places where lambdas were
        initialized by hand than I expected to be.
  - (closure.c) The location determination for closures didn't check
        carefully enough if the pc was correct or not.

28-Dec-2004 (Lars Duening)  (3.3.640)
  - (pkg-mysql.c) Most mySQL efuns are now privileged as ("mysql", "<efun
        name>") (Bug #0000318).
  - (pkg-pgsql.c) All Postgres efuns are now privileged as ("pgsql", "<efun
        name>").

28-Dec-2004 (Lars Duening)  (3.3.639)
  - (interpret) inter_pc is now always visible, as it's needed by the
        closure origination tracking.
  - (closure) Added functions to create basic closure types, primarily
        so that other closure creators (like FinalFrontier's stringcompiler)
        don't have to do it by hand (and break with every change to the
        closure structure).

27-Dec-2004 (Lars Duening)  (3.3.638)
  - (mudlib/sys/tls.h) Corrected (Bug #0000331)
  - (doc/efun/m_values) Explained the lack of predictable order in the result
        (Bug #0000329)
  - (closure, gcollect.c, interpret.c) Non-operator/efun/sefun closures now
        keep a reference to the program location where they are created, for
        more informative printing (error messages and otherwise).

23-Dec-2004 (Lars Duening)  (3.3.637)
  - (comm.c, sys/input_to.h) The input_to() flag INPUT_APPEND allows
        to queue input_to()s (suggested by Volker Behr).

23-Dec-2004 (Lars Duening)  (3.3.636)
  - (lex, efuns.c) Another small correction to the number parsing in to_int():
        negative numbers exceeding the limits are properly mapped to INT_MIN,
        not -INT_MAX. Unfortunately too large negative numbers seen by
        the LPC compiler are still mapped to -INT_MAX due to the lack
        of proper overflow handling in the compiler; however, the compiler
        now emits a warning on these occasions.
  - (comm.c, pkg-tls.c) More TLS bugfixes by Fippo and Peng (Bug #0000138 and
        #0000140).

22-Dec-2004 (Lars Duening)  (3.3.635)
  - (pkg_tls, func_spec, configure) Incorporated the GNUTLS patches from Peng
       and Gawain: use the new gnutls parameter generation if available;
       properly handle threading; don't request a client certificate since we
       don't need it; and the new fun tls_available() returns whether the
       TLS package could be initialized or not (Bug #0000082).

22-Dec-2004 (Lars Duening)  (3.3.634)
  - (func_spec, efuns.c) New efun regexp_package() to determine the
       currently active default regexp package.

22-Dec-2004 (Lars Duening)  (3.3.633)
  - (prolang.y) The no-warn-deprecated opcodes weren't included in the
       size calculations for the lvalue indexing shuffling.
  - (lex.c, efuns.c) The overflow checking in the number parsing routine
       was overeager, causing Evermore to no longer boot. The checking
       now really compares against the largest possible number, instead
       of simply checking the sign (Bug #0000327).

21-Dec-2004 (Lars Duening)  (3.3.632)
  - (lex.c) The number parsing now recognizes overflows and forces these
       numbers to be LONG_MAX (Bug #0000327).
  - (mstrings.c) mstring_realloc_string() (used for example to append
       to strings) didn't check if the string was indirectly tabled,
       potentially freeing memory which was still in use otherwise
       (reported by Bardioc).
  - (settings/evermore) Updated to the latest version.
  - (prolang.y, interpret.c) The array indexing warnings are now controlled
       by the warn_deprecated pragma (Bug #0000325).

18-Dec-2004 (Lars Duening)  (3.3.631)
  - (interpret.c) Assignments to negative-sized ranges now throw
       an error; indexing of ranges with out of bounds limits generate
       warnings (Bug #0000325).
  - (interpret.c) In DEBUG mode: when setting up an inherited call, check
       that the given inherit index is sensible.

17-Dec-2004 (Lars Duening)  (3.3.630)
  - (xalloc) Added a new function prexalloc() to re-allocate permanent
       memory.
  - (pkg-tls.c) The allocator for the TLS package of course needs to
       allocate permanent memory so that the GC won't deallocate
       the library's memory (Bug #0000323).

11-Dec-2004 (Lars Duening)  (3.3.629)
  - (gcollect.c) Closures found to be bound to destructed objects are
       replaced by 0s, not #'undef closures (Bug #0000322).
  - (closure) The function store_undef_closure() is no longer needed.

09-Dec-2004 (Lars Duening)  (3.3.628)
  - (xalloc.c) Modified xalloc() to accept allocations of size 0 (again as the
       C standard demands).

07-Dec-2004 (Lars Duening)  (3.3.627)
  - (pkg-tls.c) Added allocation wrapper so that gnutls allocations can 
       be traced using the driver's mechanisms (thanks, Peng!)
  - (xalloc.c) Modified rexalloc() and xfree() to accept NULL pointers
       as well (as the C standard demands) (Bug #0000132).

06-Dec-2004 (Lars Duening)  (3.3.626)
  - (erq/erq.c) The erq didn't quite use correct data lengths when sending UDP
       packets, either (thanks, Tobias!)

03-Dec-2004 (Lars Duening)  (3.3.624, .625)
  - (erq/erq.c) The erq errorneously assumed a constant data length
       when receiving UDP packets (thanks, Tobias!)
  - (comm.c, object.c) The driver didn't check if the privilege_violation()
       called for input_to() or rename_object() destructed the object
       in question (Bug #0000316).

30-Nov-2004 (Lars Duening)  (3.3.623)
  - (comm.c) Fixed a memory leak when a no-bank input_to was denied (Bug
       #0000143)

29-Nov-2004 (Lars Duening)  (3.3.622)
  - (interpret.c) When indexing a string for assignment, the driver failed
       to duplicate the string, leading to interesting effects if the string
       was used as mapping key (reported by Andre).

27-Nov-2004 (Lars Duening)  (3.3.621)
  - (interpret.c) When calling inherited functions in objects with virtual
       parents, the function adjusting the offsets always returned NULL
       instead of the pointer to the parent. This was a fallout from the
       closure change.

26-Nov-2004 (Lars Duening)  (3.3.620)
  - (Makefile.in, doc/man/ldmud.1) Added the automatic generation of a manpage
       from the drivers '--longhelp' output.
  - (src/bugs, src/done, src/wk) Moved the data from these directories
       into the bugtracker.

26-Nov-2004 (Lars Duening)  (3.3.618, .619)
  - (closure.c) Calls to explicitely inherited lfun closures weren't compiled
       correctly in lambda()s (Bug #0000145).

25-Nov-2004 (Lars Duening)  (3.3.617)
  - (prolang.y) When the new inline closures were disabled, the LPC compiler
       produced incomplete code for the inline closure constants, and
       the interpreter didn't interpret it correctly either.

24-Nov-2004 (Lars Duening)  (3.3.616)
  - (closure, gcollect.c, interpret.c, object.c prolang) Implemented proper
       closures explicitely referencing inherited functions.

22-Nov-2004 (Lars Duening)  (3.3.615)
  - (comm.c) Efun net_connect(): on multihomed machines the created
       socket is bound to the hostname given with the --hostname option (Bug
       #0000137).

15-Nov-2004 (Lars Duening)  (3.3.614)
  - (efuns.c) You learn a new thing every day: I never realized that
       strtol() supports "+34" and similar - efun to_int() can now
       interpret that again, too (reported by Bardioc).

13-Nov-2004 (Lars Duening)  (3.3.613)
  - (lex.c, efuns.c) Embarassing: the number parsing method assumed that the
       string at least started with a digit - this broke to_int().
       (Bug #0000141)

12-Nov-2004 (Lars Duening)  (3.3.612)
  - (pkg-alists.c) Efun insert_alist() no longer returned the insertion
       position for keys not yet in a key array (reported by Bardioc).

11-Nov-2004 (Lars Duening)  (3.3.611)
  - (efuns.c, lex) Efun to_int() now supports the '0x', '0b', and '0o'
       bases (suggested by Steve Goucher).

30-Oct-2004 (Lars Duening)  (3.3.610)
  - (func_spec, object.c) Introduced the (str, n) form for efun present()
    (Bug #0000134).

26-Oct-2004 (Lars Duening)  (3.3.609)
  - (smalloc.c) Ok, ordering the small block freelists was a bad idea - I
      removed that now. Ordering the large block freelists doesn't seem
      to make a performance difference, so I keep it in for now.

24-Oct-2004 (Lars Duening)  (3.3.608)
  - (backend.c) Reduced the frequence of data-cleanup such that at least
      time_to_clean_up seconds (or 3600 seconds) must have passed since
      the last reference.
  - (smalloc.c) smalloc now supports allocations of 0 byte length (needed
      to replace malloc()).

14-Oct-2004 (Lars Duening)  (3.3.607)
  - (comm.c) The NOECHO hook call specified only two arguments when
      three were required (reported by Bardio and Steve G.).

11-Oct-2004 (Lars Duening)  (3.3.606)
  - (mregex.c) Added a number of NULL pointer checks to the deallocation
      of regular expressions (reported by Bardioc, #0000130, #0000135).

29-Sep-2004 (Lars Duening)  (3.3.605)
  - (smalloc.c) Corrected a bug in the SMALLOC_ORDER_FREELIST code for
      small blocks: the code forgot to store the block size into the
      free blocks, which caused the defragment code to do wondrous things
      (reported by Bardioc).

27-Sep-2004 (Lars Duening)  (3.3.604)
  - (pkg_tls.c) Corrected the callback handling for tls_init_connection()
      (Bug #0000131).
  - (driver.h) Added a macro MIN() for those systems which don't have it.

16-Sep-2004 (Lars Duening)  (3.3.603)
  - (config.h.in, smalloc.c, xalloc, main.c, sysmalloc.c, xptmalloc.c)
      New manual config.h macro MALLOC_EXT_STATISTICS enables extended
      block statistics in smalloc. The statistics can be retrieved
      with debug_info(DINFO_DATA, DID_MEMORY), and are also printed as
      part of the 'status malloc' command. This is an experiment to
      see if we can get more information about the small  heap
      fragmentation this way.

15-Sep-2004 (Lars Duening)  (3.3.602)
  - (config.h.in, smalloc.c, main.c) New manual config.h macro
      SMALLOC_ORDER_FREELISTS instructs smalloc to keep its freelists ordered
      by block address. This is an experiment to see if the high heap
      fragmentation can be reduced this way.

12-Sep-2004 (Lars Duening)  (3.3.601)
  - (prolang.y, lex) New pragma (no_)warn_function_inconsistent to control
      the handling of redefined functions which differ in return or argument
      types. This is intended to easen the adaptation of legacy mudlib
      code (suggested by Wayne).

12-Sep-2004 (Lars Duening)  (3.3.600)
  - (prolang.y) When checking the redefinition of inherited variables, do
      allow the redefinition of static inherited variables with other
      static variables (it will generated warning, though). Also the
      equivalency of nosave and static was applied too late (reported by
      Willem).
  - (func_spec, efuns.c, main) Added an 'exit code' argument to the shutdown()
      efun (Bug #0000129).
  - (func_spec, interpret.c, prolang.y) The pragma warn-deprecated is now
      expressed through a prefix bytecode where appropriate (Bug #0000059,
      #0000093).

09-Sep-2004 (Lars Duening)  (3.3.599)
  - (mregex.c) On a collision in the hash table, the regdata_t structure
       was freed with a call to free_regexp() - not good (Bug #0000128).

07-Sep-2004 (Lars Duening)  (3.3.598)
  - (main, mregex.c, simulate.c) The H_REGEXP_PACKAGE hook can now accept
       the value 0 to fall back onto the package defined by the commandline
       arguments/configuration.

06-Sep-2004 (Lars Duening)  (3.3.597)
  - (ed.c, lex.c, mregex) Removed USE_PCRE remnants which among other things
       disrupted compilation (Bug #0000126).

04-Sep-2004 (Lars Duening)  (3.3.596)
  - (mregex, simulate.c, efuns.c) Implemented the concurrent use of both
       regexp packages.

04-Sep-2004 (Lars Duening)  (3.3.595)
  - (configure, main.c, simulate.c) Added the glue to select a default
       regexp package via commandline option or driver hook. The regexp
       logic itself is still unchanged.

04-Sep-2004 (Lars Duening)  (3.3.594)
  - (mregexp, ed.c) Changed the regexp implementation to use a pImpl
       idiom - this will allow to use traditional regexps and PCRE
       in parallel.

04-Sep-2004 (Lars Duening)  (3.3.593)
  - (comm.c, simulate.c) Added new input_to() flag 'INPUT_LOCAL' to switch
      only the driver side input mode between LINE and CHAR (Bug #0000124).

03-Sep-2004 (Lars Duening)  (3.3.592)
  - (interpret.c, simulate.c) Removed memory leaks (thanks, Gnomi!)
      (Bug #0000120).
  - (sprintf.c) Too large fieldsizes or precisions are caught (Bug #0000119).
  - (closure,  object.c) Some operator closures were saved using the wrong
       names, making the restoration impossible. Also, restoring closures
       within arrays wasn't robust enough (Bug #0000118).
  - (comm.c) Clarified the warnings for input_to modechanges for objects
       with telnet disabled (Bug #0000124).
  - (comm.c) When switching out of CHARMODE, the driver accidentally
       discarded any pending input lines after the current one. (thanks,
       Gnomi) (Bug #0000123)

01-Sep-2004 (Lars Duening)
  - (pkg-tls.c) Added a bugfix to the session creation (thanks, Phillipp!)

31-Aug-2004 (Lars Duening)  (3.3.591)
  - (prolang.y) The real correction to the memory corruption problem: it
      happened when an inline closure returned a struct, because the
      compiler derefenced the returntype entry during the cleanup even
      though it was an uncounted reference. The problem however showed
      up only when the compilation failed and the struct involved was
      a private struct, because in all other cases the struct had enough
      references left to survive.

30-Aug-2004 (Lars Duening)  (3.3.590)
  - (prolang.y) The move of the PREPARE_INSERT() in the last patch caused
      the driver to generate faulty bytecode.
  - (prolang.y) Function definitions didn't count the reference for the
      returntype, which lead to memory corruption/crashes when handling
      struct returntypes. Unfortunately now we have a memory leak
      when structs are used as returntypes - there is something to be said for
      using C++...  (reported by Bardioc).

23-Aug-2004 (Lars Duening)  (3.3.589)
  - (prolang.y) Removed a C99 construct which broke compilation on C90
      compilers. I hope. (Bug #0000116).

23-Aug-2004 (Lars Duening)  (3.3.588)
  - (array.c, pkg-mccp.c) Removed compiler warnings (thanks, Andre).

22-Aug-2004 (Lars Duening)  (3.3.587)
  - (interpret.c) Calls from destructed objects to other objects
       (including simul-efun calls) now elicit a warning (Bug #0000113).
  - (configure, config.h, mregex, pkg-pcre, main.c) The driver now tries
       to use the system's PCRE library if available, while offering an
       override to use the builtin package regardless.

21-Aug-2004 (Lars Duening)  (3.3.586)
  - (interpret.c) If a lambda was executed inside a catch() and threw an
       error, the error routines didn't clean up the protective reference
       held in current_lambda (Bug #0000114).
  - (efuns.c) to_string(closure) leaked the closure (Bug #0000114).
  - (ed.c) The 'M' command leaked the regular expression (Bug #0000114).

19-Aug-2004 (Lars Duening)  (3.3.585)
  - (prolang.y, interpret.c, func_spec) Float variables without initializer
       are now properly initialized to float-0 instead of number-0 (reported
       by Bardioc).
  - (pkg-mccp.c) When ending a MCCP connection failed due to an error, the
       zlib datastructures weren't deallocated (Bug #0000111, fix by Alwin).

08-Aug-2004 (Lars Duening)  (3.3.584)
  - (simulate.c) When printing a load-object error with a long filename,
       the message is limited to the length of the error message buffer (Bug
       #0000109).
  - (simulate, xalloc.c) The length of the error message and error format
       buffer are now given by two macros, to facilitate easier adaptation
       of depending program segments.

01-Aug-2004 (Lars Duening)  (3.3.583)
  - (backend.c) If the garbage_collection() couldn't open a passed file,
       the filename was leaked (reported by xtian).
  - (mstrings.c) Corrected the statistics display for itabled strings.
  - (smalloc.c) The allocated small block statistics was confused by
       the mem_increment() feature.

29-Jul-2004 (Lars Duening)  (3.3.582)
  - (lex.c) The macros __FLOAT_MIN__ and __FLOAT_MAX__ now reflect
       the limits for 'double' floats (Bug #0000101).

28-Jul-2004 (Lars Duening)  (3.3.581)
  - (call_out.c) When printing the uid for an object with an error, make
       sure that there is an uid to print (reported by Bardioc).
  - (mudlib/crashleak.c) Donated by Menaures: a modification of the crasher
       object, looking for memory leaks (Bug #0000102).

25-Jul-2004 (Lars Duening)  (3.3.580)
  - (interpret.c) If the struct lookup operator receives arguments of
       the wrong type, it just throws an error instead of crashing the
       driver, as this can happen with careless funcall(#'->)s (Bug #0000097).
  - (efuns.c) to_array('symbol) crashed the driver because it tried to
       free the symbol as a string (Bug #0000097).
  - (interpret.c) The trace collection into an array now uses unlimited
       arrays, otherwise a too-small limit would cause the driver
       to enter an endless error loop (Bug #0000097).
  - (object, gcollect.c) If a save_{object,value} failed and thus
       left a pointer table behind, a following GC would free the table
       without resetting the pointer. The next save_{object, value} would
       then use the freed memory (Bug #0000097).

25-Jul-2004 (Lars Duening)  (3.3.579)
  - (xerq/erq.c) If select() in the main loop was interrupted by a signal,
       the ERQ still proceeded to evaluate the fd-sets.
  - (xerq/execute.c) The debug logging of the execute parameters didn't
       work.
  - (comm.c) If an ERQ callback function accepts an array, the numbers
       are now all passed on positive (range 0..255).

24-Jul-2004 (Lars Duening)  (3.3.578)
  - (xerq/defs.h) ERQ_DEBUG level wasn't properly translated into
       debug output.
  - (xerq/socket.c) Added a few level 2 diagnostics.
  - (interpret.c) Removed two left-over DEBUG diagnostics (reported
       by Bardioc).
  - (comm.c) input_to() didn't properly check its arguments (Bug #0000098).
  - (call_out.c) If a call-out causes an error, all further call-outs for
       the same user are re-scheduled to the next cycle. This is mainly
       meant to stop run-away call-outs causing too-long-evaluations while
       re-scheduling calls to themselves (Bug #0000095).

21-Jul-2004 (Lars Duening)  (3.3.577)
  - (array.c, interpret.c) Removed a number of memory leaks caused by
       runtime errors during array operations which exceeded the max
       array size (Bug #0000096).
  - (comm.c) If input_to() wasn't given a valid prompt, it leaked
       the memory for the internal input-to structure (Bug #0000096).
  - (comm.c) If binary_message() was given an array of non-ints, it leaked
       the memory for the internal message string (Bug #0000096).
  - (bitstrings.c) The bitstring operators would leak the memory for
       the result if encountering an invalid bitpattern (Bug #0000096).
  - (files.c) If tail() couldnt' find the file, it didn't free the
       string with the pathname (Bug #0000096).

16-Jul-2004 (Lars Duening)  (3.3.576)
  - (interpret.c) When printing a warning during the creation of in inline
       closure, the global stack pointer was one too low (thanks, Gnomi)
       (part of Bug #0000091)

14-Jul-2004 (Lars Duening)  (3.3.575)
  - (prolang.y) The 'missing return' warning is no longer triggered if
       a function ends with raise_error() or throw().
  - (comm.c) Efun input_to(): the check for a change in the CHARMODE mode
       did not properly check if the command_giver was valid - this could
       cause a segfault if input_to() was used without an interactive (Bug
       #0000090).
  - (smalloc.c) If the allocation exceeds the numerical limits and the
       allocation is not in MALLOC_SYSTEM mode, a simple diagnostic is printed
       and the allocation fails. This way, an " "*MAX_INT won't crash
       the mud. (Bug #0000086)
  - (array.c) The array allocation now checks if the size of the requested
       array exceeds the numerical limits (part of Bug #0000091)

13-Jul-2004 (Lars Duening)  (3.3.574)
  - (prolang.y) The 'public foo() shadows private bar()' warning no longer
       warns about the __INIT() function (Bug #0000085).
  - (efuns.c) Removed a memory leak in ctime( <vector> ) (Bug #0000087).
  - (simulate.c) In catch(), the check if there are enough evals left
       was done before the reserve had been added to the eval cost. Since
       the handling for this case was changed to a runtime error, this
       caused the error handler to subtract a reserve which wasn't there,
       in the process messing up eval cost handling (Bug #0000088).
  - (simulate.c) The restoration of eval limits didn't handle the case
       of a fixed eval cost (USE_EVAL_COST > 0) correctly if the process had
       used more than the given amount: the total eval cost was set to the
       given amount, instead of adding the amount to the previous eval cost
       value (Bug #0000077).

12-Jul-2004 (Lars Duening)  (3.3.573)
  - (actions.c) Efun remove_action() didn't check if the sentence under
       scrutiny is a true verb or a shadow sentence - this caused a crash
       if a shadow object executed remove_action(1, shadowee) (Bug #0000080).

11-Jul-2004 (Lars Duening)  (3.3.572)
  - (comm.c, actions.c) On a too long message or command, print the
       first 200 characters as debugging aid (Bug #0000078).

10-Jul-2004 (Lars Duening)  (3.3.571)
  - (interpret.c) The tracedepth was always increased, but only decreased
       when traceing was active (#0000070)

10-Jul-2004 (Lars Duening)  (3.3.570)
  - (pcre/) PCRE no longer directly changes the EVAL_COST, instead the
       MATCH_LIMIT option is used to limit the execution of backtracking
       expressions. Updated the documentation. (Bug #0000075)

08-Jul-2004 (Lars Duening)  (3.3.569)
  - (pcre/) Upgraded PCRE to version 4.5; however, there is additional work
       to be done as PCRE 4.5 offers additional features (Bug #0000075)

01-Jul-2004 (Lars Duening)  (3.3.568)
  - (doc/efun/previous_object) Corrected to reflect actual behaviour (Bug
       #0000073).
  - (lex.c) The symbol __MAX_MALLOC__ is set to what is actually set
       in the global 'max_malloced' and not just the configuration
       value MAX_MALLLOCED (Bug #0000069).

29-Jun-2004 (Lars Duening)  (3.3.567)
  - (comm.c) Improved the check for input_to() bitflags on an object with
       telnet disabled so that only changes in the mode are warned about.

21-Jun-2004 (Lars Duening)  (3.3.566)
  - (xalloc)  The memory reserves were allocated with xalloc(), but freed
       with mem_free() - not good (reported by Heiko).
  - (mstrings) Corrected a compiler error (thanks, Ralph!)

14-Jun-2004 (Lars Duening)  (3.3.565)
  - (doc/) Corrected a number of German manpages.
  - (comm.c) net_connect() didn't compile with IPv6 (reported by Fini).
  - (mstrings, object.c) Contradicting the documentation, save_object()
       did not strip a trailing '.c' from the given filename (reported by
       Niflheim@Unitopia) (Bug #00000067).

30-May-2004 (Lars Duening)  (3.3.564)
  - (interpret.c) Calling privilege_violation() with only three arguments
       accidentally instructed the interpreter to pass four (reported
       by Ralph).
  - (simulate.c) limited() accidentally removed all arguments for the
       closure to execute.

30-May-2004 (Lars Duening)  (3.3.563)
  - (smalloc.c) When using PThreads, don't request memory via sbrk() - on
       Linux systems this leads to corrupted memory.
  - (simulate) Added a new runtime limit LIMIT_COST (f-010320).
  - (interpret, simulate) For limited() and set_limits() the limit
       values are passed to the privilege_violation call (f-020131-0).

28-May-2004 (Lars Duening)  (3.3.562)
  - (interpret.c, port.h, util/indent/indent_globs.h) Adapted for gcc 3.4.0
      (thanks, Ralph!).
  - (mud/lp-245) Removed 'missing return value' warnings.

26-May-2004 (Lars Duening)  (3.3.561)
  - (prolang.y) The 'public shadows private' warning now checks only
       for genuinely private functions, not merely hidden ones. This should
       make the warning more accurate.

25-May-2004 (Lars Duening)  (3.3.560)
  - (prolang.y, interpret.c, simulate, string_spec, closure.c) Added
       modifier 'reserve' to the catch() instruction in order to
       specify the reserved amount of eval ticks at runtime (suggested
       by Menaures).

24-May-2004 (Lars Duening)  (3.3.559)
  - (prolang.y) The compiler emits warnings if the functions defined by
       two inherits collide in their visibility. If this produces too
       much output, we will have to control this by a pragma. (suggested 
       by Bardioc).
  - (simulate.c) If a catch() doesn't have enough eval time left
       (less than CATCH_EVAL_COST), this is thrown as an error from inside
       the catch instead of causing the catch to return 0. (suggested
       by Menaures).
  - (efuns.c) Removed compiler warnings (thanks, Guandalug!)

23-May-2004 (Lars Duening)  (3.3.558)
  - (object.c) When restoring structs and the saved data is longer than
       the struct, make sure that the extra values are skipped in the
       data.

23-May-2004 (Lars Duening)  (3.3.557)
  - (configure) Corrected a typo in the --with-udp-port option (thanks,
       LynX).
  - (object.c) When restoring structs, the sizes no longer need to match - 
       the driver restores as many members by position as possible.

23-May-2004 (Lars Duening)  (3.3.556)
  - (efuns, func_spec) The efuns member() and rmember() can take a
       start position.

22-May-2004 (Lars Duening)  (3.3.555)
  - (smalloc.c) With USE_AVL_FREELIST, the AVL tree could develop cycles -
       corrected that (reported by Ralph).

21-May-2004 (Lars Duening)  (3.3.554)
  - (func_spec, object, parse.c) The result of efun deep_inventory()
       can be restricted to a certain depth (suggested by Urv).

20-May-2004 (Lars Duening)  (3.3.553)
  - (config.h.in) Oops, the AVL change to smalloc (3.3.534) was never activated.
  - (smalloc.c) Small block allocated directly from a freelist didn't set
       the GC_FREE flag. As this flag doubles as M_DEFRAG flag, many
       blocks were accidentally considered 'permanent'.
  - (object.c) When writing save files, only the names of structs
       will use the shared-string notation. Other strings are given
       literally for better readability (suggested by Coogan).

19-May-2004 (Lars Duening)  (3.3.552)
  - (comm.c) The H_NOECHO hook is now called only if the target object
      is not destructed.
  - (etc/savefile-parse.pl) Fini provided a Perl script (actually long time
      ago) which can read a LPMud savefile and recreate the data as
      Perl datastructures.

18-May-2004 (Lars Duening)  (3.3.551)
  - (simulate, backend.c, string_spec) Runtime errors are now also passed
      to the master function runtime_warning().

18-May-2004 (Lars Duening)  (3.3.550)
  - (efuns.c) Bah, forgot the 'MTRACE_ARG' to the call of
      mstring_cvt_progname(), so the file didn't compile when MALLOC_TRACE
       was enabled (reported by Ralph).

17-May-2004 (Lars Duening)  (3.3.549)
  - (efuns.c, closure) Efun get_type_info() can now return the name
       of the defining program for a lfun or context closure (Bug #0000010).
  - (configure) Removed double checks for stdint.h and inttypes.h .
  - (wiz_list.c) During a GC, the references for the error filename
       and message weren't cleared.
  - (gcollect) In general, string references weren't cleared during the
       GC (a holdover from when all strings were tabled).

16-May-2004 (Lars Duening)  (3.3.548)
  - (my-stdint.h) I checked for a subtly wrong define here, causing the
       compilation to break on Linux (reported by Ralph).
  - (configure, my-stdint.h) FreeBSD doesn't have stdint.h, but it
       has inttypes.h which serves mostly the same purpose (reported by
       Joseph).

15-May-2004 (Lars Duening)  (3.3.547)
  - (configure, my-stdint.h, sha1.h) Added a test for and a replacement
       of the C99 include file stdint.h, which is required by the sha1
       code (reported by Joseph).

14-May-2004 (Lars Duening)  (3.3.546)
  - (comm.c, simul_efun.c) Corrected compilation errors (thanks, Ralph!)

13-May-2004 (Lars Duening)  (3.3.545)
  - (comm.c, pkg-mccp) A MCCP connection can now be terminated by force from
       the driver.
  - (comm.c, gcollect.c ) USE_PTHREADS: The memory allocations/deallocations
       for the background thread are done using malloc()/free().
  - (configure, smalloc.c) USE_PTHREADS: With threads, smalloc no longer
       attempts to replace malloc() and friends. This way we can
       use smalloc() for main-thread allocations, and fall back on system
       malloc() for sub-thread allocations. In extension, smalloc is again
       the default allocator even if pthreads are enabled.
  - (configure) If pthreads are not requested, don't add the lib to
       link (but still check if it's available).
  - (simul_efun, main.c, interpret.c) Corrected the re-load of the simul
       efun object so that returning 0 from master::get_simul_efun() again
       signals working without such an object.

12-May-2004 (Lars Duening)  (3.3.544)
  - (array.c) My apologies to all involved: I messed up the callback
       handling for unique_array() in 3.3.39 (reported by Ralph and Urv).

11-May-2004 (Lars Duening)  (3.3.543)
  - (main.c, simul_efun.c) If the simul-efun object can't be reloaded at
       runtime, don't terminate the driver (reported by Bardioc).
  - (mregex.c) Corrected a memory leak when using PCRE (reported by Alwin).

10-May-2004 (Lars Duening)  (3.3.542)
  - (mstrings.c) Since the purpose of mstring_unshare() and mstring_dup()
       is to create modifiable string copies, the .hash value is set
       to 0 in the new strings.
  - (doc/efun.de) Updated (thanks, Menaures!)

09-May-2004 (Lars Duening)  (3.3.541)
  - (mstrings) mstr_get_hash() macro now first checks if the hash has
       already been computed before calling the slower mstring_get_hash()
       function.
  - (pkg-tls, comm, func_spec, gcollect.c) tls_init_connection() is now
       able to set up the TLS connection in the background, optionally
       calling a callback function once the attempt fails or succeeds
       finally.

08-May-2004 (Lars Duening)  (3.3.540)
  - (make_func.y) Worked around a bug in the codegeneration on AIX 5.2 for
       both Visual Age C 6 and gcc 2.9.
  - (mapping.c) When looking up string keys, the code only checked if the
       string was tabled, not if it was directly tabled.
  - (mstrings) The hash of a string is now stored with the string data
       and computed on demand. Especially for lookups of strings in the
       string table this should give some advantages.
  - (mregex.c, otable.c) Make use of new mstring hash functions.
  - (interpret.c) When multiplying an array, string elements are now
       longer made tabled.

06-May-2004 (Lars Duening)  (3.3.539)
  - (array.c) Using name-based callbacks for unique_array() crashed
       the driver (reported by Ralph).
   - (mstrings.c) Modified mstring_make_tabled() and mstring_table_inplace()
        so that the strings are always tabled in-place (using indirectly
        tabled strings if necessary). This allows to table a string without
        allocating any extra memory.
   - (interpret.c) Assigning or transferring a string no longer makes
        the string tabled (that's what we have refcounts in them for).
   - (comm.c, efuns.c, gcollect.c, interpret.c, simulate.c) Adapted to the
        no-failure versions of mstring_make_tabled().
   - (doc/concepts/inheritance) Shiny new doc from Lynx (thanks!).

02-May-2004 (Lars Duening)  (3.3.538)
  - (pkg-tls.c) tls_query_connection() returns FALSE on non-interactive
       objects instead of raising an error (suggested by Lynx).

30-Apr-2004 (Lars Duening)  (3.3.537)
  - (lex, prolang.y) The pragma '(no_)warn_missing_return' controls whether
       the driver checks for missing return statements or not; by default
       the check is enable.
  - (prolang.y) If the driver can detect at compile time that a return
       statement is missing, a compile time warning is emitted and the
       code uses the normal F_RETURN0 as default return.
  - (prolang.y) Corrected compilation errors when NEW_INLINES was not
       defined (Bug #0000056)

28-Apr-2004 (Lars Duening)  (3.3.536)
  - (etc/patch-o-matic, settings/forgottendreams) Updated with the latest
       version (thanks, Andre!)
  - (pkg-tls.c) The TLS handshake() is retried when it failed with
       an E_AGAIN or E_INTERRUPTED for GnuTLS, or WANT_READ/WANT_WRITE
       for OpenSSL (thanks, Fippo!) (Bug #0000054)

27-Apr-2004 (Lars Duening)  (3.3.535)
  - (strfuns.c) Efun convert_charset() crashed when given an empty
       input string (reported by Ralph).
  - (configure) When checking for iconv, the script now first checks
       if -liconv is actually needed before looking for the libraries
       (reported by Philipp).
  - (configure) Made the test for non-const in parameter to iconv()
       more reliable ... I hope (reported by Ralph).

27-Apr-2004 (Lars Duening)  (3.3.534)
  - (smalloc.c, config.h, efuns.c) If multiple large blocks of the same
       size are freed, an AVL node is created just for the first one of these
       blocks. The other blocks are held in a double-linked list hanging
       off the AVL node. For now, this feature is activated by
       the macro USE_AVL_FREELIST in config.h. Practive will show if
       the ratio of free blocks to AVL nodes is large enough to make
       this useful. (Bug #0000053)

27-Apr-2004 (Lars Duening)  (3.3.533)
  - (strfuns.c) Efun convert_charset(): The parameters to iconv_open() were
      reversed.
  - (smalloc.c) If esbrk() can allocated more memory than asked, the
      difference is now returned in a pointer-argument instead of
      a global variable - much easier to understand this way.

26-Apr-2004 (Lars Duening)  (3.3.532)
  - (actions.c) Added missing include.
  - (configure) Corrected bison recognition under AIX/Visual Age 6.
  - (configure) Test if iconv() takes a non-const char** as input string.
  - (random.c) Adapted for AIX/Visual Age 6.
  - (interpret.c) <int> -= <float> subtracted a random number (reported by
       Acius).
  - (efuns.c, port.h) Efun reverse() can bit-reverse integers.
  - (etc/lpc.xml) Menaures provided a new version.

24-Apr-2004 (Lars Duening)  (3.3.531)
  - (smalloc.c) Corrected the permanent block allocation statistics.
  - (func_spec) Deprecated efun make_shared_string().
  - (func_spec, strfuns) New efun convert_charset() (thanks, Philip).

24-Apr-2004 (Lars Duening)  (3.3.530)
  - (xalloc.c, smalloc.c) Changed the memory dump output format so that all the
       important information is on one line. Also increased the size of
       the initial small chunk so that all the driver's own tables fit
       into it.

24-Apr-2004 (Lars Duening)  (3.3.529)
  - (comm.c) Integrated Uwe's patch to open IPv6 connections with
       net_connect() (thanks!).
  - (efun.de/) A few more manpage translations.
  - (func_spec, efuns) New efun reverse() (provided by Ralph, thanks!)
       (f-000113-1, f-990714-7, f-990203-15)

23-Apr-2004 (Lars Duening)  (3.3.528)
  - (main.c) The standard strings are initialized earlier in the startup
       process so that a memory error doesn't cause a coredump.

22-Apr-2004 (Lars Duening)  (3.3.527)
  - (efuns.c) Forgot an '#include <fcntl.h>'.

22-Apr-2004 (Lars Duening)  (3.3.526)
  - (smalloc.c, xalloc.c, efuns.c) debug_info(DINFO_DUMP, "memory")
       dumps a list of all allocated memory blocks into the file
       <mudlib>/MEMORY_DUMP, if the allocator supports this.

22-Apr-2004 (Lars Duening)  (3.3.525)
  - (sha1) The files were still in DOS fileformat, which causes some
       compilers to choke on the multi-line macro definitions.
  - (backend.c) Active objects were never cleant up.
  - (gcollect.c) During object cleanup, mappings with just one reference
       left are not cleant up, as they will be freed immediately.

20-Apr-2004 (Lars Duening)  (3.3.524)
  - (configure) The MySQL libraries are now also search in
       /usr/local/lib/mysql/lib (can happen on older installations on Mac
       OS-X). Also, when the libraries were found in /usr/local/lib, the
       script still added /usr/local/mysql/lib to the link command.
  - (mudlib/sys/lpctypes.h) Corrected a typo.

18-Apr-2004 (Lars Duening)  (3.3.523)
  - (func_spec, sha1, efuns) New efun sha1() (provided by Fippo -
       thanks!).
  - (func_spec, files.c) Efun write_file() can now be instructed to
        delete the file first (suggested by Pulami).

18-Apr-2004 (Lars Duening)  (3.3.522)
  - (interpret.c) F_RETURN now takes care to undo a pending SAVE_ARG_FRAME.
       This situation can happen in a closure like ({#'sprintf, "%O",
       ({#'return, 1 }) }) (reported by Risky).

18-Apr-2004 (Lars Duening)  (3.3.521)
  - (prolang.y, func_spec, interpret.c) The default return inserted for
       value returning functions (in case the programmer forgets about
       it) now generates a runtime warning so that such code can be found
       and corrected. This applies only for functions with specified return
       type - old type functions don't generate a warning (suggested by
       Heiko).

15-Apr-2004 (Lars Duening)  (3.3.520)
  - (func_spec, array, simulate) Efun unique_array() can now use
       a closure as separator function, and also pass extra arguments
       (suggested by Shinarae).

14-Apr-2004 (Lars Duening)  (3.3.519)
  - (prolang.y) I had to restrict '&(struct->member)' to a single level
       of member lookup because the compiler generated invalid code.

13-Apr-2004 (Lars Duening)  (3.3.518)
  - (sprintf.c) Made the code portable to non-32-bit machines.
  - (test/t-040413) Added a testcase for two struct lookup issues.

13-Apr-2004 (Lars Duening)  (3.3.517)
  - (sprintf.c) Format '%b' to print a number in binary notation (supplied
       by Ralph - thanks!).

13-Apr-2004 (Lars Duening)  (3.3.516)
  - (func_spec, prolang.y, interpret.c) I had to back out the recent change
       as it interfered with the use of bitflags. We need a proper unsigned
       type for this kind of thing.

12-Apr-2004 (Lars Duening)  (3.3.515)
  - (mud/heaven7, settings/heaven7) Heaven7 v4 runs natively on LDMud 3.2 .
  - (func_spec, prolang.y, interpret.c) Constant integer numbers exceeding the
        allowed range cause runtime errors (reported by Ralph).

11-Apr-2004 (Lars Duening)  (3.3.514)
  - (svalue.h) Reserved CLOSURE typecode 1 (used to be CLOSURE_ALIEN_LFUN) for
        future use, so that the other closure typecode have the same value as
        in 3.2 (suggested by Sebastion).
  - (mudlib/sys/lpctypes.h) Added symbolic defines for the closure typecodes.

10-Apr-2004 (Lars Duening)  (3.3.513)
  - (comm.c) Corrected a compilation error when TELNET_DEBUG is defined
       (thanks, Tobias).
  - (comm.c) Using input_to() without a command_giver crashed the
        driver.
  - (erq/erq.c, xerq/lookup.c) Well, TRY_AGAIN is a h_errno result,
       not errno (thanks, Tobias).
  - (xptmalloc.c) Under *BSD when using pthreads and GC support, malloc()
       is used before the pthread structures are available. For this
       reason, REPLACE_MALLOC is disabled under *BSD (for simplicity in
       all cases).

09-Apr-2004 (Lars Duening)  (3.3.512)
  - (efuns.c) The cost calculation for efun clones() forgot to take the
       number of checked objects into account.
  - (configure, sprintf.c) trunc() is a C-99 library function; if not
       available, the driver uses ceil()/floor() instead.
  - (mudlib/dns_resolve.c) Example simul-efun for doing non-blocking
       DNS lookups (thanks, Tobias & Arne!)
  - (doc/efun.de) Added the german efun manpages from Unitopia (thanks,
       Tiberian!)
  - (util/erq/erq.c) Corrected the ERQ_LOOKUP so that the passed-in hostnames
       are properly null-terminated (thanks, LynX).
  - (util/erq/xerq.c) ERQ_LOOKUPs are tried again only if the DNS indicates
       that it is useful.

06-Apr-2004 (Lars Duening)  (3.3.511)
  - (comm.c) With telnet disabled, an input_to() can still pretend to
       switch from line- to charmode.

04-Apr-2004 (Lars Duening)
  - (erq.c) Retry name-lookups only if the DNS subsystem said so (thanks,
      Tobias!).

03-Apr-2004 (Lars Duening)  (3.3.510)
  - (func_spec, comm, string_spec) New efun enable_telnet() to disable/enable
       telnet support.

03-Apr-2004 (Lars Duening)  (3.3.509)
  - (object.c) function_exists() and variable_exists() now check if the
       object is destructed, instead of crashing (Bug #0000038).
  - (files.c,  backend.c, object.c) Added missing include for SunOS 4.1
       (reported by Coogan).
  - (configure, main.c) strtoul() is not available on the older machines,
       this is now checked by configure (reported by Coogan).
  - (object.c) If H_RESET/H_CREATE_* are defined by name, static functions
       are found as well (suggested by Daniel).

03-Apr-2004 (Lars Duening)  (3.3.508)
  - (object.c) restore_value() now checks for and rejects extraneous
       characters after the '\n' delimiting the value string (Bug #0000039).
  - (prolang.y) Casts to type 'mixed' are exempted from generating
       an "empty cast" warning (Bug #0000041).
  - (configure) The configuration now checks for libnsl as standard
       system library - it is needed for ERQ on Solaris (Bug #0000012).

01-Apr-2004 (Lars Duening)  (3.3.507)
  - (prolang.y, interpret.c) Implemented <mapping> &= <mapping>,
       <mapping> &= <vector> (Bug #0000042).
  - (interpret.c) get_line_number(): Program names in the traceback
       can be arbitrarily long (Bug #0000040).

31-Mar-2004 (Lars Duening)  (3.3.506)
  - (prolang.y) Corrected range check regarding short integers (thanks,
       Gnomi).
  - (comm.c, pkg-mccp.c, mregex.c, structs.c) Removed warnings (thanks,
       Andre!).

30-Mar-2004 (Lars Duening)  (3.3.505)
  - (func_spec) The result type of m_entry() was specified as 'mapping'
       instead of the correct 'mixed *' (thanks, Heiko!).
  - (random.c) Updated the Mersenne twister to the version with improved
       initialization (thanks, Fini, for the link).

27-Mar-2004 (Lars Duening)  (3.3.504)
  - (mstrings, interpret.c) Extended the string-appending scheme
       to addition of numbers to strings.
  - (ed.c) The 'Q'/'q' commands no longer clear the buffer before
       checking if the command was legal (Bug #0000046).
  - (ed.c) Corrected the doprnt() function so that the current line
       is never out of range (this could happen when giving 'Z' while
       at the end of the file). (Bug #0000045)

27-Mar-2004 (Lars Duening)  (3.3.503)
  - (strfuns, simulate.c) Added a function to make a c-string copy
       of a strbuf.
  - (mempools.c) Reduced the ideal size of a pool block to 128 bytes - 
       hopefully this reduces some of the fragmentation issues.
  - (mstrings, interpret.c) When adding strings (operators '+' and
       '+='), the driver tries to extend the left-hand string when
       possible, instead of allocating a new string. When creating
       large strings, this hopefully improves the reduces the allocations
       of new string buffers.
  - (interpret.c) inl_transfer_svalue() no longer makes untabled
       strings tabled. Originally the driver did this for volatile strings
       at this point, which no longer exist.

23-Mar-2004 (Lars Duening)  (3.3.502)
  - (actions.c) If the H_COMMAND lfun is not found in an object, the
       driver now throws an error instead of crashing (reported by Urv).

22-Mar-2004 (Lars Duening)  (3.3.501)
  - (prolang.y) Corrected a crasher when printing type of incomplete
       structures (as they are used to store the efun type specifications)
       (thanks, Alwin!) (Bug #0000043)

24-Feb-2004 (Lars Duening)  (3.3.500)
  - (xerq/socket.c) When sending data over a congested socket, the
       queued data included the last successfully sent bytes
       (thanks, Fantom!).

22-Feb-2004 (Lars Duening)  (3.3.499)
  - (comm) The net_connect() handling wasn't prepared for errors during the
       LPC logon, occasionally re-trying the logon endlessly (reported 
       by Dafire).

19-Dec-2003 (Lars Duening)  (3.3.498)
  - (comm) When a connection can't be opened immediately with net_connect(),
       the socket was closed prematurely (reported by LynX).

14-Dec-2003 (Lars Duening)  (3.3.497)
  - (comm) When opening a connection with net_connect(), printing of
       the prompt clobbered the current_object, causing a crash.

21-Nov-2003 (Lars Duening)  (3.3.496)
  - (comm) Added new efun net_connect() (thanks, LynX!)
  - (object.c, sys/functionlist.h) Efun variable_list() didn't properly
       filter for static variables.

18-Nov-2003 (Lars Duening)  (3.3.495)
  - (mudlib/telnetneg.c, xerq/lpc/socketd.c) New versions from Fiona (thanks!)
  - (sprintf.c) When printing floats with %O/%Q, they are always printed
       with a decimal point (suggested by Fiona).

30-Oct-2003 (Lars Duening)  (3.3.494)
  - (prolang.y) When creating a foreach() instruction, don't get confused
       by visibility flags in the variable type. Before, a 'varargs mixed *'
       function parameter was errorneously recognized as reference
       (reported by Alwin and Fiona).
  - (prolang.y) When removing an unnecessary F_SAVE_ARG_FRAME from a
       functioncall, also update the last_expression value. Before,
       a F_CONST0 pushed in place of a void-functions return value
       was never optimized out.

17-Oct-2003 (Lars Duening)  (3.3.493)
  - (comm.c) Efun query_ip_number(): the return of the full socket
       address in a reference argument didn't work (thanks, Nostradamus).
  - (configure) More corrections to the detection of -lcrypto and -lz
       (reported by Jaroslaw).

15-Oct-2003 (Lars Duening)  (3.3.492)
  - (configure) Made sure that -lz always follows the -lmysqlclient,
       as some system apparently can't resolve all backward references
       (reported by Alwin).

02-Oct-2003 (Lars Duening)
  - (comm.c, mempools.c, ptmalloc, xalloc.c) Removed signed/unsigned
       compiler warnings (thanks, Ralph).
  - (pkg-odbc, p-031002) Added, but not yet processed (thanks, Robert!).

30-Sep-2003 (Lars Duening)  (3.3.491)
  - (comm.c) The maxNumCmds setting was defaulted to 0 instead of -1
       (reported by Bardioc).
  - (comm.c, master_skeleton.c) Officially documented that a new
       interactive connection is bound to the master at the time
       of master::connect(), and adjusted the set_max_commands
       manpage accordingly.
  - (lex.c) The macros __RESET_TIME__ and __CLEANUP_TIME__ always used
       the configured values, ignoring commandline overrides (reported
       by Ralph).
  - (interpret.c, func_spec) New efun master() to return the master object.

28-Sep-2003 (Lars Duening)  (3.3.490)
  - (comm.c) Removed a crasher from set_max_commands() (thanks, Ralph!).

27-Sep-2003 (Lars Duening)  (3.3.489)
  - (autoconf) Renamed the option enable-use-array-calls to
      enable-lpc-array-calls, as it's a language option and not a package.

27-Sep-2003 (Lars Duening)  (3.3.488)
  - (efuns.c) Added a third argument to debug_info(DINFO_OBJLIST) to return
       multiple objects.
  - (comm, func_spec) New efuns set_max_commands(), get_max_commands()
       to control the number of commands allowed per second on a
       per-connection basis.
  - (svalue.h) Added macro put_float() to store floats into a svalue.
  - (lex, prolang.y) Pragma (no_)warn_empty_casts allows to turn off
       the warnings about ineffective casts.
  - (etc/lpc.vim) LPC syntax highlighting for vim (submitted by Coogan).
  - (autoconf, interpret.c, main.c, lex.c) The call_other() on arrays of
       objects is now configurable; if enabled, __LPC_ARRAY_CALLS__ is
       defined.
  - (mudlib/sys/commands.h) Added defines for the query_action() bitflags.
  - (array.c, mapping.c, pkg-alists.c, sprintf.c, xalloc.c, prolang.y)
       Removed a couple of signed/unsigned warnings (thanks, Ralph!).
  - (efuns.c) to_array(string) now treats the string characters as unsigned
       (reported by Fiona).

27-Sep-2003 (Lars Duening)  (3.3.487)
  - (prolang.y) Corrected some subtleties in the lfun/efun classification
      of functions, revealed by the recent change.
  - (simul_efun.c) The __INIT() function is no longer visible as simul-efun.

25-Sep-2003 (Lars Duening)  (3.3.486)
  - (prolang.y, lex) The driver crashed when a private lfun shadowing
      a public sefun was virtually inherited twice in parallel, because
      the public sefun inhibited a proper cross-definition of the second
      lfun instance. The problem was in the either-or assignment of an
      identifier to either be an lfun or a (s)efun/global var (t-030925).
  - (mapping.c) When walking over a mapping of width 1, the hash part
      was not protected; thus deletions from the mapping from within the
      walk_mapping callback could cause walk_mapping() to pass invalid
      pointers to the callback on later iterations (reported by Bardioc).
  - (comm, func_spec) Passing 0 as argument to
      set_{combine,connection}_charset() re-establishes the default charset.
  - (comm, func_spec) New efuns get_combine_charset() and
      get_connection_charset().
  - (comm) Experimental: limited the number of commands accepted per
       connection to 10 per second - this is meant as a safety limit for
       muds making heavy use of charmode connections. If it works out,
       the feature will be fully fleshed out with commandline arguments
       and everything (Mantis #0000009).

12-Sep-2003 (Lars Duening)  (3.3.485)
  - (sprintf.c) Printing a 0-member struct with '%O' crashed the driver
       (reported by Nostradamus).

02-Sep-2003 (Lars Duening)  (3.3.484)
  - (prolang.y) When creating a local lvalue, the compiler didn't properly
       check if it's a real local or a context value, causing 
       'map( arr, (: mm[$1]; :) );' to resolve 'mm' as local value (reported
       by Zonk).

24-Aug-2003 (Lars Duening)  (3.3.483)
  - (lex.c) Removed a crasher.
  - (configure) Improved the mySQL/PostgreSQL recognition: on some machines,
      /usr/local/include is not in the standard search path :-(

21-Aug-2003 (Lars Duening)  (3.3.482)
  - (configure) Improved the PostgreSQL recognition.
  - (make_func.y, actions.c, array.c, backend.c, bitstrings.c, comm.c,
     efuns.c, files.c, hash.c, interpret.c, lex.c, main.c, mapping.c,
     mempools.c, mstrings.c, object.c, prolang.y, parse.c, pkg-pgsql.c,
     simulate.c, sprintf.c, smalloc.c, xalloc.c) Removed signed/unsigned
       compiler warnings.

20-Aug-2003 (Lars Duening)  (3.3.481)
  - (configure, pkg-mysql.h, pkg-pgsql.h) If mySQL/PostgreSQL are configured
      but not existant, the compilation will fail with a suitable error
      message. Also the configure script tries harder to not let this happen
      (Mantis #0000013).

19-Aug-2003 (Lars Duening)  (3.3.480)
  - (lex, prolang.y, files.c, simulate.c, backend.c, closure.c) Redefinition
      of LPC preprocessor macros now list the file and line of the original
      definition (suggest by Bardioc).

14-Aug-2003 (Lars Duening)  (3.3.479)
  - (smalloc.c, debug_info.h) Added small block defragmentation
      statistics.

14-Aug-2003 (Lars Duening)  (3.3.478)
  - (pkg-tls, comm, md5, configure) Added the OpenSSL support. It's probably
      buggy as heck as I had to copy&paste from OpenSSL demo programs due
      to lack of documentation.

13-Aug-2003 (Lars Duening)  (3.3.477)
  - (pkg-tls) Added the program initialisation/de-initialisation code for
      OpenSSL.

09-Aug-2003 (Lars Duening)  (3.3.476)
  - (configure) The configuration script now looks for OpenSSL before
      GnuTLS. However, TLS support using OpenSSL is not implemented yet.

09-Aug-2003 (Lars Duening)  (3.3.475)
  - (main.c, pkg-tls) The x509 key and certfile can now be specifed
      on the commandline with '--tls-key' and '--tls-cert'.

08-Aug-2003 (Lars Duening)  (3.3.474)
  - (pkg-tls.c, comm.c) Corrected compilation errors in the TLS code
      (I didn't have GnuTLS installed before, so I didn't notice).

08-Aug-2003 (Lars Duening)  (3.3.473)
  - (lex.c) Symbol __PTHREADS__ is defined if the driver is compiled
       for pthreads (suggested by Gawain).
  - (configure, pkg-tls) Added TLS support (using GnuTLS) - thanks,
       Gawain!

07-Aug-2003 (Lars Duening)  (3.3.472)
  - (doc/) Corrected a number of typos (thanks, Casey!)
  - (object.c) The efun variable_list() can now return variable values
       as well (thanks, Casey!).

07-Aug-2003 (Lars Duening)  (3.3.471)
  - (configure, pkg-mysql, main.c) Improved the recognition of mySQL when
       there's more than one mySQL installation. Additionally the pkg-mysql
       checks that the mysqlclient library is consistent with the header
       files (reported by Craig Venz).

05-Jul-2003 (Lars Duening)  (3.3.470)
  - (smalloc.c) Reduced the computational overhead of the small block
       defragmentation: since only newly freed blocks offer opportunities
       for defragmentation, only those are checked.
  - (object.c) Saving an object in the old format ('0') still used the
       shared value syntax for strings (reported by Bardioc).

31-Jul-2003 (Lars Duening)  (3.3.469)
  - (smalloc.c) Splitting of a block from a larger free list failed
       to preserve the PREV_BLOCK flag in the returned block, causing
       the defragmentation to malfunction on occasion (Mantis #0000007)

29-Jul-2003 (Lars Duening)  (3.3.468)
  - (smalloc.c) The small-block defragmentation clobbered an important
       flag in some blocks, causing the driver to crash (reported by Bardioc).
  - (smalloc.c) Reduced the amount of freelist-linking done for
       non-defragmentable blocks.

28-Jul-2003 (Lars Duening)  (3.3.467)
  - (prolang.y) If a pragma requires a function return type, the error
       message now names the active pragma in question instead of always
       'strict_types' (Mantis #0000003)
  - (comm.c) In charmode, CR and LF are treated as normal data
       characters (Mantis #0000002).

26-Jul-2003 (Lars Duening)  (3.3.466)
  - (mapping.c) Taking a cue from 3.2.10-594, the number of times a mapping
       is checked for destructed elements has been reduced. This was less of
       a problem than in 3.2.10, but still occured far too often,
  - (mapping.c) The mapping compaction criterium has been extended to
       guarantee a compaction after 2 * TIME_TO_COMPACT seconds idle time.

25-Jul-2003 (Lars Duening)  (3.3.465)
  - (mudlib/dhrystone.c) The time measurement was off by factor 10.
  - (smalloc.c) Implemented a lazy defragmentation scheme for the
       free small blocks.

24-Jul-2003 (Lars Duening)  (3.3.464)
  - (configure) Improved the detection of libcrypt and libcrypto.
  - (bytecode.h, hosts/crypt.c) Added a number of macros to deal with 64-bit
       machines (untested).

23-Jul-2003 (Lars Duening)  (3.3.463)
  - (sysmalloc.c, ptmalloc/malloc.c) Corrected compilation errors (reported by
       Tomba).

22-Jul-2003 (Lars Duening)
  - (object.c) Cleaned up the code in restore_object() a wee bit.

21-Jul-2003 (Lars Duening)  (3.3.462)
  - (interpret.c) The -= operator didn't work when subtracting an int
       from an int: a missing break caused it to flag a non-existant
       argument error.

17-Jul-2003 (Lars Duening)  (3.3.461)
  - (prolang.y) Made the cast checks more informative.

17-Jul-2003 (Lars Duening)  (3.3.460)
  - (interpret.c) The operators -=, /= and *= can now operate on 
       <int> x <float> values, yielding a <float> result.
  - (prolang.y) Casts with no effect generate a warning.

17-Jul-2003 (Lars Duening)  (3.3.459)
  - (i-svalue_cmp.h) When comparing closures for equality, the result was
       reveresed (reported by Fantom).
  - (array.c, interpret.c) Replaced uses of closure_cmp() with closure_eq()
       where appropriate.

10-Jul-2003 (Lars Duening)  (3.3.458)
  - (interpret.c) When the value stack overflowed during a secure_apply(),
       the secure_apply_error() routine failed to notice that the stack
       elements had already been cleared out (reported by Bardioc).

27-Jun-2003 (Lars Duening)  (3.3.457)
  - (xptmalloc.c) Added a heap_start variable so that assert_stack_gap()
       will compile (reported by Dafire).
  - (ptmalloc) Added Gawain's latest changes - thanks!

26-Jun-2003 (Lars Duening)
  - (interpret.c) Added compile-time check to make sure that MAX_USER_TRACE
       is not larger than MAX_TRACE.

25-Jun-2003 (Lars Duening)  (3.3.456)
  - (xalloc.c) On HP-UX machines, the stack is above the heap and is also
       growing upwards, which the heap/stack check didn't expect. I reworked
       the code to be more generic (reported by Rainer).
  - (lex.c, interpret.c) Characters with the 8th bit set are now uniformly
       treated as positive by the lexer and indexing operations (reported by
       Oskar).
  - (lex.c) Added macro __MAX_MALLOC__ to reflect the MAX_MALLOCED
       parameter (suggested by Coogan).

18-May-2003 (Lars Duening)  (3.3.455)
  - (sprintf.c) Removed a memory leak in efun printf() (reported by Dafire).

07-May-2003 (Lars Duening)  (3.3.454)
  - (simulate.c) The error() routine now takes care to zero out all
       pointer variables after freeing the referenced data. This way, if
       a recursive error occurs before the new reference is stored the
       driver won't try to free the same references again (reported by
       Freaky).

05-May-2003 (Lars Duening)  (3.3.453)
  - (lex.c) Ooops, I forgot that I had commented out the strong type
       pragmas when I experimented with an older mudlib (thanks, Ralph).
  - (ptmalloc/thread-m.h) The constraints for one asm statement operand
       were wrong (reported by Bardioc).
  - (object.c) Made restore_xxx() even more robust towards CRLFs (thanks,
       Holger).

03-May-2003 (Lars Duening)  (3.3.452)
  - (simulate, interpret, func_spec, prolang.y) Added the new modifier
       'publish' to the catch() directive to have it call
       master::runtime_error() when an error occurs (suggested by
       Menaures).

03-May-2003 (Lars Duening)  (3.3.451)
  - (comm.c) When a pthread was cancelled, the flushing of the pending
       data happened after the socket was already shut down. Reason was that
       the threads were 'detached' upon creation, disabling the ability
       of the parent thread to wait for their completion (reported by Urv).
  - (object.c) The restore_svalue() routine now accepts a CR preceeding
       a LF as delimiter.

30-Apr-2003 (Lars Duening)  (3.3.450)
  - (ed.c) Only consecutive 'z'/'Z' commands do not re-print the current line;
       a 'z'/'Z' after a different command does (suggested by Elric).
  - (comm) When using PThreads, destructing an interactive object now
       flushes all remaining pending data to the socket (suggested by Urv).
       Additionally, the main thread waits properly for the writer thread to
       terminate.
  - (comm.c) When not using MCCP but PThreads, all outputs were doubled.

29-Apr-2003 (Lars Duening)  (3.3.449)
  - (sprintf.c) When printing arrays with '%O', the size was given
       one too small.
  - (mregex.c) PCRE: The string arguments passed to pcre_exec() were wrong, 
       making repeated replacements within on string dangerous (e.g. in ed
       '749,$s!arg!strength!gp') (reported by Elric).

24-Apr-2003 (Lars Duening)  (3.3.448)
  - (interpret.c) If during a call of the type 'funcall(lfun-closure)' the
       object holding the closure was destructed and the closure deallocated,
       int_call_lambda() still read the now-invalid lambda structure after
       the actual call. This could lead to an inconsistency in the
       control stack, depending on the memory contents (reported by Bardioc).

22-Apr-2003 (Lars Duening)  (3.3.447)
  - (pkg-mccp, comm, gcollect.c, configure) Added MCCP support (thanks,
       Dafire!) (p-011012, p-020810-1).

21-Apr-2003 (Lars Duening)  (3.3.446)
  - (pkg-pgsql.c) Corrected a crasher during a GC.
  - (smalloc.c) Corrected the small-free-block statistics.

19-Apr-2003 (Lars Duening)  (3.3.445)
  - (pkg-pgsql, configure, other files) Added PostgreSQL implementation
       based on the code donated by Ctx (thanks!) (f-011229-0).

13-Apr-2003 (Lars Duening)  (3.3.444)
  - (smalloc.c) Removed compilation warnings.

13-Apr-2003 (Lars Duening)  (3.3.443)
  - (func_spec, object) The efuns save_value() and save_object() can now
       create savefiles in the old format as well.

12-Apr-2003 (Lars Duening)  (3.3.442)
  - (xalloc.c) Corrected a compilation error when MALLOC_TRACE was not
       defined.

12-Apr-2003 (Lars Duening)  (3.3.441)
  - (smalloc.c) Adjacent free small blocks are now merged automatically
       as soon as they are detected. This reduces the mem_consolidation()
       call to detecting and freeing totally unused small chunks.
  - (xalloc.c) The block dump of lost blocks now prints a proper hexdump
       instead of just dumping the data as-is.

11-Apr-2003 (Lars Duening)  (3.3.440)
  - (smalloc.c) A bit of code cleanup; and in preparation for the planned
       automatic small block defragmentation introduced 'free' flags for
       small blocks and a minimum payload size.

09-Apr-2003 (Lars Duening)  (3.3.439)
  - (efuns.c, strfuns, func_spec) Efuns filter() and map() can be used on
       strings.

09-Apr-2003 (Lars Duening)  (3.3.438)
  - (heartbeat.c) Removed the pooled allocation of heartbeat structures:
       Muds have spikes of high callout usage, but a low usage over
       the longterm average, so most of the pooled structures are not
       used. This more than makes up for any malloc overhead saved
       by the pooled allocation.
  - (heartbeat.c) Errors in a heartbeat execution now longer aborts
       the whole heartbeat cycle (suggested by Baba).
  - (efuns.c, main, mudlib/sys/debug_info.h) The boot time is now
       available through debug_info(DINFO_DATA, DID_STATUS).
  - (wizlist) The wizlist now accounts the evalcost split into
       ticks and gigaticks, to be able to handle long uptimes, and also
       offer a non-decaying total sum of the evalcosts (suggested by
       Baba).

07-Apr-2003 (Lars Duening)  (3.3.437)
  - (mud/lp-245) Adapted the set_this_object() usage in the master.
  - (actions.c) Efun remove_action() can now remove all actions defined
      by an object (suggested by Menaures).

04-Apr-2003 (Lars Duening)  (3.3.436)
  - (structs.c) When remove_unreferenced_struct() freed the structs, it
      forgot to properly mark the memory blocks as 'allocated', so that
      the final sweep phase of the GC tried to free them again (reported
      by Nostradamus).

30-Mar-2003 (Lars Duening)  (3.3.435)
  - (comm.c) The driver now logs the pathname of the ERQ executable
      it attempts to start.

29-Mar-2003 (Lars Duening)  (3.3.434)
  - (config.h.in) The options MALLOC_CHECK and MALLOC_SBRK got mixed up.
  - (gcollect.c) The cleanup code didn't remove the program from the swap
      when it zeroed out a reference to a destructed blueprint. Later GCs
      then followed this invalid pointer.

27-Mar-2003 (Lars Duening)  (3.3.433)
  - (simulate.c, mapping) Since there is no longer a list of dirty mappings,
      and since the GC can handle dirty mappings, it is no longer feasible
      to keep an accurate count.
  - (efuns.c) to_struct() can now convert mappings to structs.
  - (mapping.c) mkmapping() can now convert structs to mappings.

26-Mar-2003 (Lars Duening)  (3.3.432)
  - (prolang.y) Constrained the switch() grammar to accept just blocks
      as body, not statements (reported by Menaures).
  - (comm.c) After removing a pending input_to, the proper noecho
      state is restored (provided by Ctx).

25-Mar-2003 (Lars Duening)  (3.3.431)
  - (port, simulate.c) Since memmem() is a GNU/Linux extension and buggy
      up to glibc 2.0, the driver now uses its own replacement all the
      time. But I adjusted the argument order to the one used by the
      correct Linux function (reported by Fiona).
  - (interpret.c) Function calls by address and global variable accesses
      now check if a set_this_object() is in effect.

24-Mar-2003 (Lars Duening)  (3.3.430)
  - (prolang.y) Assignment to struct members caused a fatal error if
      the struct did not have the named member. The problem was that
      in such a case an invalid type was recorded for the result (reported by
      Dafire).

21-Mar-2003 (Lars Duening)  (3.3.429)
  - (object.c) Shared strings are now saved in the <n> notation as well;
      this is mostly beneficial for saving endless repetitions of the
      same struct name (suggested by Bardioc).

20-Mar-2003 (Lars Duening)  (3.3.428)
  - (object.c) Restoring the efun closure "#e:," confused the
      savefile parser (thanks, Risky).
  - (func_spec, efuns, mstrings) New efun strrstr().
  - (mapping, prolang.y) Operator '&' can now intersect mappings with
      other mappings and arrays.
  - (func_spec, mapping) New efun m_entry() to return all values for
      an entry at once.

19-Mar-2003 (Lars Duening)  (3.3.427)
  - (sprintf.c, closure) Modifier '#' used for '%O' and '%Q' produces
      output in a compact format (suggested by Menaures).
  - (func_spec, efuns) New efun rmember().

19-Mar-2003 (Lars Duening)  (3.3.426)
  - (structs.c, object.c) Saving and restoring struct now also saves
      the defining program's name, so that external restore modules
      can restore the values (reported by Bardioc).

17-Mar-2003 (Lars Duening)  (3.3.425)
  - (backend.c, gcollect.c) Corrections to the cleanup code: removed an
      interaction between the cleanup code and the swapper, which caused an
      incomplete cleanup; made sure that dirty mappings are compacted just
      once; and made sure that the backend cleanup code actually cycles
      through the object list.
  - (call_out.c) Removed a memory leak in remove_call_out()/find_call_out().

17-Mar-2003 (Lars Duening)  (3.3.424)
  - (doc/master) Added missing manpages for the parse_command() support
      (reported by Zonk).
  - (main, simulate.c, configure) New commandline option '--filename-spaces'
      to allow space characters in filenames (default is to disallow them).
  - (object.c) Shared variable closures were saved without the '<num>=' header
      (reported by Menaures and Fiona).

17-Mar-2003 (Lars Duening)  (3.3.423)
  - (mapping.c) Removed a memory leak.

15-Mar-2003 (Lars Duening)  (3.3.422)
  - (gcollect.c) The NEW_CLEANUP code treated the driver hooks like other
      svalues, which was bad because it caused lambda-closure hooks bound
      to destructed objects to disappear. Since these closures can be re-bound
      on the fly, the cleanup code now does exactly that (reported by
      Nostradamus and Bardioc).

14-Mar-2003 (Lars Duening)  (3.3.421)
  - (driver.h, smalloc.c) Removed a build problem when MALLOC_CHECK
      was not defined, but MALLOC_TRACE was (reported by Nostradamus).

13-Mar-2003 (Lars Duening)  (3.3.420)
  - (xalloc.c, smalloc.c, configure) New configuration option
      '--enable-malloc-sbrk' to selectively allow the memory allocator to use
      sbrk() instead of malloc() where available (default is to allow sbrk()).
      The idea is to circumvent limitations some system put on sbrk().
      (suggested by Tomba)

12-Mar-2003 (Lars Duening)  (3.3.419)
  - (mapping.c, gcollect.c) The mapping GC forgot to mark the map-chain
       blocks as referenced (reported by Bardioc).

11-Mar-2003 (Lars Duening)  (3.3.418)
  - (structs.c) Removed a crasher caused by two uninitialized variables.
  - (mappings, gcollect.c) The GC can now collect mappings with hash
       parts.
  - (ptmalloc.c) More locking code - these should cover almost all
       cases (thanks, Gawain).

10-Mar-2003 (Lars Duening)  (3.3.417)
  - (prolang.y) Corrected the error handling when a struct member was
       duplicated and clashed with an inherited member (reported by
       Guandalug).
  - (prolang.y, structs, hash, efuns.c, interpret.c, sprintf.c)
       When a struct-defining program is recompiled, the compiler
       tries to reactivate the struct type objects if possible.

08-Mar-2003 (Lars Duening)  (3.3.416)
  - (swap.c, mapping) The swapper got out of sync when swapping mappings
       with destructed objects as keys. So far it was not a problem because
       mappings got compacted faster than they were swapped, and the swapper
       already refused to swap mappings with objects/closures used as keys
       in the condensed part. But with the new mapping compaction strategy
       a more thorough test became necessary.

07-Mar-2003 (Lars Duening)  (3.3.415)
  - (configure) New configuration option '--with-optimize' to select
       the optimization level in the generated Makefile: no, low,
       med, or high.
  - (call_out.c) Removed the pooled allocation of callout structures:
       Muds have spikes of high callout usage, but a low usage over
       the longterm average, so most of the pooled structures are not
       used. This more than makes up for any malloc overhead saved
       by the pooled allocation.
  - (swap.c) Added sanity checks to the variable swapper.

06-Mar-2003 (Lars Duening)  (3.3.414)
  - (dumpstat.c) Corrected build warnings.
  - (mempools, lex.c) Cosmetic changes.
  - (mapping.c) Additional condition for mapping compaction: the number
       of entries in the hash part is equal to or exceeds the number
       of non-deleted condensed entries.

06-Mar-2003 (Lars Duening)  (3.3.413)
  - (mapping, gcollect, backend) The compaction of dirty mappings is now
       part of the object cleanup process. This needs some careful handling,
       but simplifies the mapping code.

05-Mar-2003 (Lars Duening)  (3.3.412)
  - (mempools, alloca.c, array.c, object.c, lex.c, ptrtable.c) The user
       space of a mempool block is now restricted to 256 bytes, to reduce
       fragmentation issues in the large block heap.

05-Mar-2003 (Lars Duening)  (3.3.411)
  - (gcollect.c, object.c) Inserted checks so that the driver doesn't try
       to access the non-existing name of the default wizlist entry (in
       particular the GC) (reported by Bardioc).

03-Mar-2003 (Lars Duening)  (3.3.410)
  - (mapping, backend.c, gcollect.c) Experimental: dirty mappings are
       not compacted immediately, but only after a certain time (for now
       10 minutes) since the last change has elapsed.

03-Mar-2003 (Lars Duening)  (3.3.409)
  - (dumpstat.c) Added the object load time to the OBJ_DUMP data (suggested by
       Menaures).
  - (dumpstat.c) Removed a memory leak in dumpstat() and dumpstat_dest().
  - (closure.c) When converting a lfun closure which is bound to a different
       object than it is defined in ('alien lfun closure'), to a string, the
       bound object is printed as well as the defining object.
  - (ed.c) Consecutive 'z' or 'Z' commands no longer repeat the previous
       current line (suggested by Menaures).

02-Mar-2003 (Lars Duening)  (3.3.408)
  - (configure) It would be useful if I actually updated the configure
       script.

02-Mar-2003 (Lars Duening)  (3.3.407)
  - (ptmalloc.c) Added some documentation and error checks (thanks, Gawain).
  - (configure, smalloc) Removed the CHECK_SMALLOC_TOTAL debugging code -
       the problem is fixed.
  - (configure, smalloc) New diagnostic option MALLOC_SBRK_TRACE to enable
       a log of all esbrk() calls and the stats of the allocation requests
       causing it. This formalizes the 'DEBUG: MEM ' diagnostics added
       in 3.3.399, though the particular string 'DEBUG: MEM ' has been
       dropped from the output.

02-Mar-2003 (Lars Duening)  (3.3.406)
  - (gcollect.c) During the 'clear' phase of the GC, struct member elements
       weren't marked as cleared, which prevented proper counting in the
       'count' phase and caused the referenced memory blocks being deallocated
       prematurely in the 'sweep' phase (reported by Bardioc).
  - (mapping.c) Fixed a memory leak in efun m_add().

01-Mar-2003 (Lars Duening)  (3.3.405)
  - (func_spec, object) New efun variable_exists() and
       variable_list().

27-Feb-2003 (Lars Duening)  (3.3.404)
  - (interpret.c) Improved the error message for when 'mapping[a,b]' is used
       with incorrect types at runtime.

27-Feb-2003 (Lars Duening)  (3.3.403)
  - (gcollect.c, swap.c, mempools) During a the GC a new swap membuffer could
       be allocated and then marked 'unreferenced' by the GC, subsequently
       causing memory corruption as the swapper continued to use it. The
       memory buffers are now held on to during the GC and only freed
       afterwards.

24-Feb-2003 (Lars Duening)  (3.3.402)
  - (strfuns.c) Made the strbuf allocations resilient against out-of-memory
       conditions.
  - (xalloc) rexalloc() now accepts the MALLOC_TRACE information. The
       normal implementation doesn't use it, but they are useful when
       instrumenting the allocator code.

24-Feb-2003 (Lars Duening)  (3.3.401)
  - (interpret.c) With special reference indexing of struct members,
       the struct refcount was decremented once too often.

23-Feb-2003 (Lars Duening)  (3.3.400)
  - (smalloc.c, xalloc.c) Corrected two fatal typos.

23-Feb-2003 (Lars Duening)  (3.3.399)
  - (smalloc.c, xalloc.c) All esbrk() requests are logged on stdout
       as 'DEBUG: MEM ...' messages. This is to find out why certain
       muds use so much memory lately.

21-Feb-2003 (Lars Duening)  (3.3.398)
  - (mempools.c) Corrected a compilation problem.

21-Feb-2003 (Lars Duening)  (3.3.397)
  - (lex.c) Macro __MSDOS_FS__ is defined on systems using the
       MS-DOS filesystem conventions.

20-Feb-2003 (Lars Duening)  (3.3.396)
  - (mempools, efuns.c) Added the table sizes to the debug_info(DINFO_DATA,
       DID_STATUS) result.

20-Feb-2003 (Lars Duening)  (3.3.395)
  - (mempools, files.c, swap.c, object.c) The file reading efuns (read_file(),
       read_bytes(), restore_()) and the swapper now use a persistent buffer
       to hold the variable data in memory. Goal is to avoid allocations and
       deallocations of large memory blocks which worsen the memory
       fragmentation.

18-Feb-2003 (Lars Duening)  (3.3.394)
  - (smalloc, efuns.c) Since smalloc can split up large small blocks and
       handle oversized ones, having the special case of 'unused space' in the
       current small chunk is no longer necessary. This also means that the
       DID_MEM_UNUSED value from debug_info() no longer exists (b-020506).

16-Feb-2003 (Lars Duening)  (3.3.393)
  - (smalloc, backend.c, gcollect.c) The smalloc freelist consolidation
       is now also called from the backend and does its job whenever
       the number of free small blocks is twice the amount the last
       consolidation left over.
  - (smalloc.c) The maximum small block size has been reduced to 64 Bytes:
       it turned out that the larger sizes aren't deallocated often enough
       to make the free lists work, which caused unnecessary small chunk
       allocations.
  - (sprintf.c) Normal (top-level) sprintf() calls now use a static
       instance of the fmt_state_t buffer, avoided repeated (de)allocations
       of that 130KB structure.

16-Feb-2003 (Lars Duening)  (3.3.392)
  - (smalloc.c) Since parsing the min-small-malloc already requires
       a small chunk allocation, the small chunk allocation using the new
       chunk size is also forced to go directly to the system.

15-Feb-2003 (Lars Duening)  (3.3.391)
  - (ptmalloc) Gawain provided the first locking code for the GC.
  - (interpret.c) On 'too deep recursion' errors, also print the depth
       and recursion limits. This information is somewhat redundant, but
       makes the error logs easier to read.

12-Feb-2003 (Lars Duening)  (3.3.390)
  - (prolang.y) The illegal switch-case ranges like '100..50' now generate
       an error message (reported by Menaures).

08-Feb-2003 (Lars Duening)  (3.3.389)
  - (ptmalloc) Corrected a compilation problem on x86 gcc (reported
       by Nostradamus).

07-Feb-2003 (Lars Duening)  (3.3.388)
  - (prolang.y) Corrected a fatal error in the 'break'/'continue'
       handling.
  - (configure) Corrected the check for pthread_atfork().

06-Feb-2003 (Lars Duening)  (3.3.387)
  - (prolang.y) With the increasing program sizes, using 16-Bit offsets
       for the 'break' and 'continue' branches was no longer enough. They
       might hold the final offsets, but during compilation they stored
       the absolute address of the next 'break'/'continue', which could
       exceed 2 Bytes (reported by Alwin).
  - (prolang.y) Insertions of 2 byte values are now checked for range.
  - (xptmalloc.c, mudlib/sys/debug_info.h) debug_info(DINFO_MEMORY) now
       returns the ptmalloc statistics (thanks, Gawain).
  - (ptmalloc) GC support is now alpha-functional, but not yet
       threadsafe (thanks, Gawain).
  - (configure) The check for pthread_atfork() was unreliable.

04-Feb-2003 (Lars Duening)  (3.3.386)
  - (smalloc.c) Small chunks (except for the first one) are now allocated
       from the large blocks. Reason is that during a consolidation, unused
       small chunks are returned to the large blocks. Without this change,
       new small chunks we

Showing the first 100 KB of 416.4 KB. Download the archive for the full file.

Site Stats

Snippets: 1791
Codebases: 571