Branch: Tag:

2017-07-17

2017-07-17 17:10:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

CHANGES: Reformatted and added some points.

Changes since Pike 8.0.438 (release 9) should now be up to date.

53:    Concurrent.race(connect(host1, port1), connect(host2, port2))    ->then(make_requet, query);    + o Debug.Inspect +  +  Allows for interactive debugging and live data structure inspection +  in both single- and multi-threaded programs. +  +  Example: +  In the program you'd like to inspect, insert the following one-liner: +  Debug.Inspect("/tmp/test.pike"); +  +  Then start the program and keep it running. +  Next you create a /tmp/test.pike with the following content: +  void create() { +  werror("Only once per modification of test.pike\n"); +  } +  +  int main() { +  werror("This will run every iteration\n"); +  werror("By returning 1 here, we disable the stacktrace dumps\n"); +  return 0; +  } +  +  void destroy() { +  werror("destroy() runs just as often as create()\n"); +  } +  +  Whenever you edit /tmp/test.pike, it will automatically reload +  the file. +  + Bug fixes + --------- +  + o ADT.Heap +  +  Fixed heap corruption when the same object is pushed more than +  once. It will now be considered as calling adjust(). +  + o FSEvents +  +  EventStreamMonitor now works with other backends. +    o Filesystem.Monitor       - Reduced initialization latency.
82:       - Fixed symlink issue with InotifyMonitor.    - o Sql.pgsql + o Inotify    -  Sped up BEGIN/COMMIT statements. -  Preserve the initial error message in case of multiple error messages -  during the same transaction. -  Flush out unseen error messages upon connection close to stderr. +  Addressed an issue where the backend might be stuck in pending +  indefinitely.    - o Sql.SQLite + o mappings    -  When using query bindings, strings are now always stored as strings; -  previously, 8-bit strings were stored as binary objects (BLOBs) and -  wide strings were stored as unicode strings, which caused 8-bit strings -  to be unequal (and thus not returned) when used in a standard string query. +  Fixed an off by one error in random(mapping) that randomly caused +  values of type PIKE_T_FREE from the freelist to be exposed to Pike.    -  Binary values may be stored as BLOBs using bindings by wrapping the -  binary string in a multiset. For example, to store the value "myBinary" -  as a BLOB value using a binding, use: (<"myBinary">). + o Nettle.Hash    - o Debug.Inspect +  Fixed NULL-dereference in Nettle.Hash()->crypt_hash().    -  Allows for interactive debugging and live data structure inspection -  in both single- and multi-threaded programs. + o Parser.HTML    -  Example: -  In the program you'd like to inspect, insert the following one-liner: -  Debug.Inspect("/tmp/test.pike"); +  Fixed a condition where Pike would run out of stack space for large +  documents.    -  Then start the program and keep it running. -  Next you create a /tmp/test.pike with the following content: -  void create() { -  werror("Only once per modification of test.pike\n"); -  } + o Search    -  int main() { -  werror("This will run every iteration\n"); -  werror("By returning 1 here, we disable the stacktrace dumps\n"); -  return 0; -  } +  Fixed a race condition when updating the database.    -  void destroy() { -  werror("destroy() runs just as often as create()\n"); -  } + o Sql.pgsql    -  Whenever you edit /tmp/test.pike, it will automatically reload -  the file. +  - Sped up BEGIN/COMMIT statements.    - Bug fixes - --------- +  - Preserve the initial error message in case of multiple error messages +  during the same transaction.    - o Search +  - Flush out unseen error messages upon connection close to stderr.    -  Fixed a race condition when updating the database. +  - Closed a prepared-statement-cache race when the same statement +  is offered multiple times before it finalises the cache entry.    - o Parser.HTML +  - Fix sync errors with the database in case of multiple running +  statements on a single connection that generate multiple errors.    -  Fixed a condition where Pike would run out of stack space for large -  documents. +  - Eliminate spurious sync errors on pipe-lined transactions +  (multiple transactions in flight on a single file descriptor).    - o ADT.Heap +  - CancelRequests (to cancel running queries) caused sync errors with +  the database when multiple queries were in flight.    -  Fixed heap corruption when the same object is pushed more than -  once. It will now be considered as calling adjust(). +  - Eliminate transient error messages on database restarts.    - o Inotify + o Sql.SQLite    -  Addressed an issue where the backend might be stuck in pending -  indefinitely. +  When using query bindings, strings are now always stored as strings; +  previously, 8-bit strings were stored as binary objects (BLOBs) and +  wide strings were stored as unicode strings, which caused 8-bit strings +  to be unequal (and thus not returned) when used in a standard string query.    - o FSEvents +  Binary values may be stored as BLOBs using bindings by wrapping the +  binary string in a multiset. For example, to store the value "myBinary" +  as a BLOB value using a binding, use: (<"myBinary">).    -  EventStreamMonitor now works with other backends. -  +    o Standards.BSON    -  Fixed incorrect encoding/decoding of Binary data. +  - Fixed incorrect encoding/decoding of Binary data.    -  +  - Bugfixes for the decoding of Binary values of subtype 2, Binary +  values of subtypes above 0x7f and Datetime values with negative +  values. +  + o Standards.JSON +  +  Fixed integer overflow in decode() on 64-bit platforms. +    o Stdio.Buffer    -  Fixed a crash when attempting to create a rewind key on a buffer +  - Fixed a crash when attempting to create a rewind key on a buffer    returned by read_buffer().    - o mappings +  - Fixed integer overflow in read_json().    -  Fixed an off by one error in random(mapping) that randomly caused -  values of type PIKE_T_FREE from the freelist to be exposed to Pike. + Building + --------    - o Sql.pgsql + o Configure    -  Closed a prepared-statement-cache race when the same statement -  is offered multiple times before it finalises the cache entry. -  Fix sync errors with the database in case of multiple running -  statements on a single connection that generate multiple errors. -  Eliminate spurious sync errors on pipe-lined transactions -  (multiple transactions in flight on a single file descriptor). -  CancelRequests (to cancel running queries) caused sync errors with -  the database when multiple queries were in flight: fixed. -  Eliminate transient error messages on database restarts. +  Attempt to detect the tool prefix depending on ABI.    - o Standards.BSON +  Improves detection of pkg-config.    -  Bugfixes for the decoding of Binary values of subtype 2, Binary -  values of subtypes above 0x7f and Datetime values with negative -  values. + o Java    -  +  Detect system installation of JavaVM framework on MacOS X.    -  + o Stdio +  +  Improved support for NetBSD. +  +    Changes since Pike 8.0.404 (release 8)   ----------------------------------------------------------------------