pike.git / CHANGES

version» Context lines:

pike.git/CHANGES:7:   o New Hilfe    The interactive pike environment you get when running pike without    giving a program name, has been thoroughly rewritten. Most notably    it now supports more of the common pike constructs, and is more    extendable and configurable. Start it and type help for more info.      o AutoDoc    The major parts of Pike now has some sort of documentation on    class and function level thanks to the AutoDoc system which has    been deployed during the last year. Manual dumps are published on -  http://pike.ida.liu.se/docs/reference/ +  http://pike.ida.liu.se/docs/reference/.      o pike -x    When starting pike with the -x parameter, the pike process will    run the named script in Tools.Standalone, giving the rest of the    arguments as command-line switches. This is a convenient way of    running rsif (replace string in file) and pv (the image viewer    you may be familiar with from Tools.PV).      o unbug    Embryo of a Pike debugger. Not stable nor finished.
pike.git/CHANGES:98:    which cannot be iterated over directly in any other way. For    example, to get some arbitrary index in a mapping m:       mixed any_index = Mapping.Iterator(m)->index();      o Automap    To perform per-element operations on arrays, there is now a convenience    syntax for map(), that can make code more readable in some situations.    Summing up two arrays element by element using automap looks like this:    -  a[*] + b[*]; // the result has as many elements as the shortest array +  a[*] + b[*]; // the result has as many elements as the shortest array.       Multiplying all elements in a by a constant:       a[*] * 4711;       Make an array of what sprintf("%O", a[n]) returns for all elements in a:       sprintf("%O", a[*]);      o Implicit lambda
pike.git/CHANGES:130:    {    glPushMatrix();    mixed err = catch(f());    glPopMatrix();    if (err) throw(err);    }       void do_something()    {    PushPop() { -  glTranslate( ((1.0-0.08)-pcs)/2, 0.0, 0.0 ); +  glTranslate( ((1.0-0.08))/2, 0.0, 0.0 );    draw_stuff();    };    }       Note that although useful, this feature has important    disadvantages and will probably be obsoleted by a better    alternative in the future. The problem is that the inner brace    block become a completely separate function instead of remaining a    block. The difference (apart from being slower) is shown by this    example:
pike.git/CHANGES:290:   o Debug.Subject    Helper classes that helps in understanding what Pike is doing.      o Locale.Language    FIXME: nilsson?      o Math.Matrix    Methods sum(), max(), min(), convolve() and dot_product() added.      o Math.Transforms -  Added support for FFT and iFFT. +  Glue for supporting FFT and iFFT via libfftw and librfftw.      o Math    Added inf and nan constants.      o MIME.Message    Guess mode added. *FIXME: expand on this*      o Parser.Python    Splits Python source code into text tokens.   
pike.git/CHANGES:352:    Stdio.File fd2 = Stdio.File( fd->grantpt(), "rw" );    Process.create_process( ({ "/bin/bash" }), ([    "stdin":fd2, "stdout":fd2, "stderr":fd2, "setsid":fd2,    ]) );      o Stdio    Moved get_all_active_fd() from spider to Stdio.    Added methods to Stdio.File: sync(), line_iterator()      o Gz.File -  Pike can now compress and decompress the Gzip format. +  Pike can now compress and decompress the Gzip format. This is +  still a bit experimental but the basic functions should work +  just fine.      o Stdio.expand_symlinks(string path)    Expands all symlinks along a path (returns 0 for broken links).    (Only available on systems with readlink.)      o Tools.PV    Convenience tool that sets up a canvas with GTK, presents a    picture on it and delivers a number of image inspection and    manipulation options. This is a great tool for image work in    Hilfe.       > object i=Image.Image(32,32)->random();    > Tools.PV(i);    -  The Pike Viewer tool is also accessible via "pike -x pv" +  The Pike Viewer tool is also accessible via "pike -x pv".      o Image.Dims    Can extract the dimensions of an image with a minimal amount of    data loading. Currently handles JPEG, GIF and PNG images. Hilfe    example:    > Image.Dims.get(Stdio.File("test.gif"));    (1) Result: ({ /* 2 elements */    1412,    1120    })
pike.git/CHANGES:394:    Decodes AutoCAD thumbnail images.      o Image.JPEG    Support for lossless transforms and handling of metadata.      o Image.SVG    Support for Structured Vector Graphics through the Gnome SVG    library. Requires Gnome 2.      o Image.Image -  Added two new methods: blur() and grey_blur() +  Added two new methods: blur() and grey_blur().      o Image.PVR -  VQ compression/decompression added +  VQ compression/decompression added.      o Shuffler      o Gmp.mpq and Gmp.mpf    Multi precision fractions.      o String.SplitIterator    FIXME: grubba      o String.Replace, String.SingleReplace
pike.git/CHANGES:567:   -----------------------------------------------------      The folloing changes were considered bugs and have no backwards   compatibility layer.         o enum and typedef have implicit local binding    enums and typedefs now always have static binding. In 7.2 they    could sometimes be dynamically bound.    - o Image.Layer modes modified -  + o Image.Layer modes modified.    Alpha channel handling for modes add, subtract, multiply, divide,    modulo, invsubtract, invdivide, invmodulo, difference, max, min,    bitwise_and, bitwise_or, bitwise_xor, screen and overlay modified so    that the source layer alpha channel copied to the destination layer    alpha channel rather then mixed with the current layer alpha channel:       aD=aS       rather then the behavior before:      Newline at end of file added.