pike.git
/
CHANGES
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/CHANGES:130:
o Added the '?:' operator for compatibility with other C-like languages. It is identical to '||' in pike. o The && operator changed, when doing A && B, and A is false, keep A instead of returning 0. This is especially useful then A is not actually 0, but an object that evaluates to false, or UNDEFINED.
+
o Fixed symbol resolution with deep inherits and mixins.
-
+
New preprocessor features ------------------------- o Support for the ", ##__VA_ARGS__" cpp feature. This makes the ‘##’ token paste operator have a special meaning when placed between a comma and a variable argument. If you write | #define err(format, ...) f(debug)werror("ERROR: "+format, ##__VA_ARGS__)
pike.git/CHANGES:299:
o Tools.PEM and Tools.X409 deprecated Use the corresponding modules in Standards. o The built in sandbox is now deprecated Unless somebody wants to take ownership of the feature and keep it up to date the security system will be removed in the next stable release.
+
o The compiler now warns about switch statements where the cases
+
aren't enumerable, since these will generate random failures
+
if the code is read from a dump.
-
+
Removed features and modules ---------------------------- o Removed facets The optional (and not enabled by default) support for facet classes has been removed, since it was only partially done and not really used. o It is no longer possible to compile pike without libgmp.
pike.git/CHANGES:321:
Bignums are now a required language feature o The old low-level 'files' module has been renamed to _Stdio o 'GTK' is now GTK2, not GTK1 unless the system has no GTK2 support. o Locale.Charset The charset module is now available on the top level as 'Charset'
-
o The compiler now warns about switch statements where the cases
-
aren't enumerable, since these will generate random failures
-
if the code is read from a dump.
+
-
+
New modules ----------- o Pike.Watchdog A Watchdog that ensures that the process is not hung for an extended period of time. The definition of 'hung' is: Has not used the default backend. To use it simply keep an instance of the watchdog around in your
pike.git/CHANGES:465:
o __builtin The __builtin module is now a directory module, so that it can provide a suitable namespace for code written in Pike intended for being inherited from modules written in C (cf precompile). Extensions and new functions ----------------------------
+
o Bz2.File added It implements a Stdio.File like API, including support for the same iterator API that Stdio.File has, allowing for convenient line iterations over BZ2 compressed files. | foreach( Bz2.File("log.bz2")->line_iterator(); int n; string line ) o Image.JPEG
pike.git/CHANGES:995:
now becomes int query_tooltip(GTK2.Widget w, int x, int y, int keyboard_tooltip, GTK2.GObject tooltip, mixed callback_arg) Bug fixes ---------
-
o Fixed symbol resolution with deep inherits and mixins.
-
+
o Fixed backtraces when Protocols.HTTP.Query objects where garbage collected. [bug 5730] o Fixed problem with Calendar.month_from_yday() when applied on week 53. [bug 5303] o Fixed leak in the PNG decoder for images with tRNS chunk. o System.normalize_path no long fails for files with 8-bit chars in their names.