roxen.lists.pike.general

Subject Author Date
Pike 7.8.352 released Peter Bortas @ Pike importmöt <6341[at]lyskom[dot]lysator[dot]liu[dot]se> 24-09-2009
The Pike developers are proud to present Pike 7.8.316, a new stable
release.

Download from

  http://pike.ida.liu.se/download/pub/pike/latest-stable/


Changes since Pike 7.8.316 (second 7.8 release):
----------------------------------------------------------------------

General
-------

o ADT.Heap
  The compat functions top() and size() are now marked as deprecated.


Extensions and New Functions
----------------------------

o Image.Image

  Added support for sending Color objects to the color() function.

o Sql.Sql

  Added support for fetching result sets as JSON-encoded strings.

o Calendar

  Updated timezone data to 2009j.

o Parser.XML.Tree

  Output from render_xml() is now on canonical form.

o Added "pike -x httpserver" that implements a minimal HTTP-server
  exporting the current directory.


Optimizations
-------------

o Lowered startup time by extending encode_value() and MasterCodec so
  that master.pike can be precompiled.

o Lowered startup time by reducing the number of MEMSET() calls done
  on startup.

o Allow threads while calling SDL_GL_SwapBuffers.

o Added optimization of has_value() and search() for single-character strings.

o Added optimization when combining two arrays where the second array
  contains a single item.


Bug fixes
---------

o Fixed casting of floats to strings to again work more like in Pike
  7.6 and earlier: The string will always contain either a "." or an
  "e" to signify that it is a float, and it will no longer display so
  many digits that the binary/decimal conversion errors become
  visible.

o Protocols.HTTP.Server.HeaderParser will now discard parts of a
  header value if the header value contains a newline (like "Host:
  google.com\n.hax.net\r\n") and headers without colon.

o file_open_socket() now attempts to set SO_REUSEPORT on the socket.
  Potentially fixes issues on FreeBSD 7.x where ports aren't reused.

o Calendar.TimeRanges now knows that `+() and `-() can get any number
  of arguments.

o The experimental extended ZFS support is disabled since it pulled in
  unwanted dependencies.

o Fixed propagation of changed module directories for joinnodes by
  zapping the joinnode cache.

o Fixed memory leak in Image.WBF.

o Fixed potential NULL-deref in Image.XWD.

o Fixed potential NULL-deref in Image.PNG.


Building and installing
-----------------------

o Nettle 2.0 is now supported.