pike.git
/
CHANGES
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/CHANGES:66:
o basetype(foo) Returns a string with the basic type of foo as opposed to _typeof(foo) that returns the actual type. Also available as sprintf("%t", foo). o getenv()/putenv() The environment variable functions getenv and putenv is now is now both case insensitive on Microsoft Windows systems. This should make your programs more portable.
+
o Return value from catch blocks.
+
The return value from catch blocks that exit normally has been
+
changed from a normal zero (i.e. zero_type 0) to UNDEFINED (i.e.
+
zero_type 1).
-
+
o SSL
+
The Pike SSL implementation now supports TLS 1.0. Also the LDAP
+
protocol and the HTTP.Query methods supports secure transport over
+
SSL/TLS.
+
+
Language additions: ------------------- o foreach(X; Y; Z) The foreach statement has been extended to allow iterations over mappings, multisets and any object that implements the iterator interface (see below). To make it possible to use this conveniently, a new syntax has been added to get both the index and the value in each iteration:
pike.git/CHANGES:243:
A class can now define a function mixed _m_delete(mixed index) to make the objects work like mappings with m_delete(). (This feature has been added to later 7.2 releases too.) o Constant objects An object can now be constant, allowing for better performace and better dumping. For example used for Gmp.Bignum, Math.Matrix and Image.Color.
-
New modules / classes / methods
/ functionality
added:
-
--------------------------------------
----------------
+
New modules / classes / methods added:
+
--------------------------------------
o ADT.History ADT implementation of a "leaking stack". Hilfe example: > object h=ADT.History(3); > for(int i=17; i<22; i++) h->push(i); Ok. > h->get_first_entry_num(); (1) Result: 3 > h[3]; (2) Result: 19
pike.git/CHANGES:279:
> r->add(5,1); (4) Result: ADT.Relation.Binary("test") > r->find_shortest_path(1,5); (5) Result: ({ /* 4 elements */ 1, 2, 3, 5 })
+
Array.common_prefix
+
Array.count
+
Array.greedy_diff
+
Array.oid_sort_func
+
Array.arrayify
+
Array.uniq2
+
Array.sum
+
o Audio.Codec and Audio.Format Contain decoders/encoders and format parsers for audio. Currently WAV and MP3. Note: The API remains marked "unstable". o Crypto.md4 Hash used for NT Lanmanager passwords. o Crypto.crypt_md5 Convenience function to produce crypted $1$ style crypted passwords (commonly called MD5 passwords).
-
+
o Debug
+
Many top level debug functions has moved into the Debug module to
+
keep amount of top level functions less intimidating for new users
+
and to make the debug functions easier to find.
+
o Debug.Tracer
-
+
A class that when instatiated will turn on trace, and when it's
+
destroyed will turn it off again.
+
o Debug.Subject
-
Helper
classes
that
helps
in
understanding
what
Pike
is
doing
.
+
This
is
a
probe
subject which you can send
in
somewhere
to
get
+
probed (not to be confused with a probe object, which does some
+
active probing)
.
All calls to LFUNs will be printed to stderr.
o DVB Access to DVB (digital sat) resources. Controls tuner, MP2 audio and video decoders. Allows extract multiple channels at once. Note: Only old 0.9.4 DVB API is supported.
-
+
o Gmp.mpq and Gmp.mpf
+
Support for GMP multi precision fractions and multi precision
+
floats. Hilfe example:
+
> Gmp.mpq(5,3);
+
(1) Result: 5/3
+
> _->invert();
+
(2) Result: 3/5
+
> (float)_;
+
(3) Result: 0.600000
+
> Gmp.mpq(5,3)+Gmp.mpq(1,2);
+
(4) Result: 13/6
+
o Gz.File Pike can now compress and decompress the Gzip format. This is still a bit experimental but the basic functions should work just fine. o HTTP.Server A simple HTTP Server.
-
+
o Image.filled_circle(_layer)
+
Returns an Image/Layer object with a filled circle on it.
+
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:369:
o Math.Transforms Glue for supporting FFT and iFFT via libfftw and librfftw. o Math Added the IEEE float constants inf and nan. o MIME.Message Guess mode added. *FIXME: expand on this jhs*
+
o Oracle
+
The Oracle database glue now supports CLOBs and BLOBs.
+
o Parser.Python Splits Python source code into text tokens. o Parser.RCS Extracts data from RCS or CVS repositories. o Parser.XML.NSTree This is an extended version of Parser.XML.Tree that can handle namespaces according to the W3C namespace specification. o Protocols.X.KeySyms
-
+
o SDL
+
Wrapper for a subset of Simple DirectMedia Layer
+
functionality. Useful for writing games, movie players and other
+
graphically intensive applications.
+
+
o Shuffler
+
+
Standards.EXIF
+
Standards.FIPS10_4
+
Standards.ISO639_2.map_to_639_1, convert_b_to_t, convert_t_to_b
+
o Standards.CIFF o Standards.FIPS10_4 FIXME: remove? o Standards.ID3 ID3 tags decoder/encoder. Supports versions: 1.0, 1.1, 2.2-2.4. Frequently used in MP3 files for encapsulating metadata. o Standards.RDF Represents an RDF domain and allows you to perform searches in its relations. Currently only serializes/deserializes to N-triple format.
-
o System.Time
-
Used to get the current time with sub second precision.
-
-
o System.Timer
-
Measures the time between two calls.
-
-
o System.Memory
-
Handles read/write from mmap'ed or allocated memory.
-
-
system.normalize_path
-
system.gettimeofday
-
system.get_netinfo_property (Max OS X)
-
system.usleep/nanosleep
-
FIXME: per?
-
+
o Stdio Moved get_all_active_fd() from spider to Stdio. Added methods to Stdio.File: sync(), line_iterator()
-
+
Stdio.connect_unix
+
Stdio.simplify_path
+
Stdio.file_equal
+
Stdio.FILE.set_charset
+
o Stdio.expand_symlinks(string path) Expands all symlinks along a path (returns 0 for broken links). (Only available on systems with readlink.) o Stdio.FakeFile Wraps a string and exports a Stdio.File interface. o Stdio.File->grantpt() can now allocate a VTY on systems with /dev/ptmx support. Minimal example: fd = Stdio.File("/dev/ptmx", "rw" ); Stdio.File fd2 = Stdio.File( fd->grantpt(), "rw" ); Process.create_process( ({ "/bin/bash" }), ([ "stdin":fd2, "stdout":fd2, "stderr":fd2, "setsid":fd2, ]) );
-
+
o String.SplitIterator
+
FIXME: grubba
+
+
o String.Replace, String.SingleReplace
+
FIXME
+
+
o System.Time
+
Used to get the current time with sub second precision.
+
+
o System.Timer
+
Measures the time between two calls.
+
+
o System.Memory
+
Handles read/write from mmap'ed or allocated memory.
+
+
System.normalize_path
+
System.gettimeofday
+
System.get_netinfo_property (Max OS X)
+
System.usleep/nanosleep
+
FIXME: per?
+
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".
-
o Shuffler
+
-
o Gmp.mpq and Gmp.mpf
-
Multi precision fractions.
-
-
o String.SplitIterator
-
FIXME: grubba
-
-
o String.Replace, String.SingleReplace
-
FIXME
-
-
o SDL
-
Wrapper for a subset of Simple DirectMedia Layer
-
functionality. Useful for writing games, movie players and other
-
graphically intensive applications.
-
-
o Oracle
-
CLOB and BLOB support.
-
-
o Return value from catch blocks.
-
The return value from catch blocks that exit normally has been
-
changed from a normal zero (i.e. zero_type 0) to UNDEFINED (i.e.
-
zero_type 1).
-
-
+
Optimizations: -------------- o Machine code used on some architectures. o Computed goto o Better module dumping o Overall speed improvements.
pike.git/CHANGES:706:
o Calendar.verify *FIXME: remove?* Nilsson does lib: master.pike - add_predefine/remove_predefine - Improved handling of module cross dependencies.
-
Array.common_prefix
-
Array.count
-
Array.greedy_diff
-
Array.oid_sort_func
-
Array.arrayify
-
Array.uniq2
-
Array.sum
+
Local Multiset Pike.Backend Pike.Security Pike.BacktraceFrame Pike.WEAK_INDICES, WEAK_VALUES, WEAK
-
Image.DWG
-
Image.DIMS
-
Image.Fonts
-
Image.filled_circle
-
+
String.Elite String.SingleReplace String.Replace String.SplitIterator String.soundex String.Buffer String.HTML String.int2char String.int2hex String.expand_tabs String.int2roman String.int2size
-
ADT.History
-
ADT.Relation.Binary
-
+
Audio
-
Debug.Subject
-
Debug.Tracer
-
+
Locale.Language MIME.ext_to_media_type
-
Parser.Python
-
Parser.RCS
+
Parser.decode_numeric_xml_entity Parser.get_xml_parser Parser.parse_html_entities
-
Parser.LR
+
Parser.XML.NSTree
-
Protocols.HTTP.Query supports https
-
Protocols.LDAP supports ldaps
+
Protocols.SNMP now works Protocols.XMLRPC
-
SSL support TLS 1.0
-
-
Standards.EXIF
-
Standards.FIPS10_4
-
Standards.ID3
-
Standards.ISO639_2.map_to_639_1, convert_b_to_t, convert_t_to_b
-
Standards.RDF
-
Standards.CIFF
-
-
Stdio.FakeFile
-
Stdio.connect_unix
-
Stdio.simplify_path
-
Stdio.expand_symlinks
-
Stdio.file_equal
-
Stdio.FILE.set_charset
-
-
DVB
-
+
Web.Crawler