pike.git / CHANGES

version» Context lines:

pike.git/CHANGES:7:      o New syntax to index from the end in range operations.    A "<" can be added before an index in the [..] operator to count    from the end instead. This is convenient to e.g. chop off the last    element in an array: a[..<1].      o Several declarations and definitions (most notably the debug and    runtime flags) have moved from main.h to pike_embed.h, in an attempt    to add support for embedding.    + o Major compiler API cleanups. +  The Pike compiler is now executing in a pike function context +  (rather than in an efun context), and it is possible to customize +  some of its behaviour via inherit (rather than via handler objects). +  As a consequence the compiler is now much closer to being thread-safe. +    o New `[..] operator function.    Range operations have been separated from the `[] operator function    and is handled by a new `[..] which provides greater control in how    the range bounds are specified. For compatibility, if there is no    `[..] then `[] is still called for range operations.       FIXME: Describe relation with Pike.INDEX_FROM_BEG/END & OPEN_BOUND.      o Generalized this and this_program.    It is now possible to refer to inherits in objects. Example:
pike.git/CHANGES:137:    The compiler now checks that all symbols that have been declared    private actually are used.      o Unicode    Case information and the Unicode module are updated to Unicode    5.0.0.      o protected    The modifier protected is now an alias for the modifier static.    + o Pike_fp->context +  Pike_fp->context is now a pointer to the current struct inherit +  rather than a copy of it. This allows for easier access to +  inherited symbols in C-code.    -  +    Extensions and New Functions    -  + o __attribute__ and __deprecated__ +  It's now possible to set custom attributes on types. This is +  currently used to improve the argument checking for sprintf() +  and related functions, and for marking symbols as deprecated. +    o ADT.BitBuffer       Added read() method that reads whole bytes from the buffer and    returns as a string.      o ADT.Queue       It is now possible to use sizeof() and value() on a Queue object.      o ADT.Stack