pike.git
/
CHANGES
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/CHANGES:475:
o Mysql Unicode support. FIXME: Document in more detail. C.f. check-in 1.25 of lib/modules/Sql.pmod/mysql.pike. o Odbc FIXME: Rewrite Now supports UnixODBC properly. Fixed various issues with Unicode.
+
create_dsn()
+
FreeTDS fixes
-
+
o Oracle
+
+
FIXME:
+
Works with Oracle 10
+
added num_rows()
+
+
o Parser.HTML
+
+
FIXME
+
Allow string and array as argument to _set_*_callback
+
o Parser.Pike and Parser.C Parser.Pike and Parser.C has been rewritten in C for increased performance. The #string directives should be handled correctly now. o Parser.RCS FIXME: Rewrite Handle broken RCS files better. o Parser.XML.NSTree - Added add_child_before() and add_child_after() methods to the NSNode object. - Fixed crash bug.
-
+
o Parser.XML.Simple
+
+
FIXME
+
autoconvert() moved to top level
+
Several correctness fixes.
+
Added Simple.Context
+
o Parser.XML.Tree FIXME: Rewrite Added rendering of DTD ENTITY nodes. The renderer now knows about the internal_subset attribute for the DOCTYPE tag. Added rendering of DTD ELEMENT nodes. Added functions to inser new childe node. Moved parser code into the nodes allowing for extendability. set_tag_name() simple-stuff AbstractSimpleNode, VirtualNode, SimpleNode. Node.zap_tree
-
+
o Postgres
+
+
FIXME
+
Added affected_rows.
+
o Pike - A new function count_memory() has been added which can calculate the memory consumed by arbitrary data structures. Useful when implementing memory caches. - A new function get_runtime_info() has been added which returns information about current ABI, if automatic bignums are enabled, what bytecode method is used, the size of native floats and integers and the native byte order.
pike.git/CHANGES:607:
The readmsg() method in the protocol object now takes an optional timout argument. o Protocols.XMLRPC The new AsyncClient class implements an asynchronous XMLRPC client. o Regexp.PCRE.Widestring
-
This
feature
is
now
reported
in
the
basic
feature
list
(pike
-
--features
).
+
-
Replace
matches
in
a
string,
with
support
for
backreferences,
now
+
possible from replace_positional(
).
-
+
> Regexp.PCRE.Plain("my name is ([a-zA-Z]+)")->
+
>> replace_positional("hello, my name is john.",
+
>> "%[0]s is my name");
+
(1) Result: "hello, john is my name."
+
+
- Regexp.PCRE.Widestring is now reported in the basic feature list
+
(pike --features).
+
o Sql - Bugfixes in listing Postgres fields. - If ENABLE_SPAWN_RSQLD is defined, rsqld will be spawned when needed to complete rsql queries. - Added streaming_query() method to Sql objects which enables larger result sets than available memory.
pike.git/CHANGES:671:
o Stdio (module.pmod, Readline, Terminfo) FIXME o String - The function int2size has been rewritten to fixpoint as well as using the more common abbreviation of "B" for byte.
+
o System
+
+
FIXME
+
+
resolvepath() enabled on more OSes and falls back to realpath(3C) if
+
resolvepath(2) doesn't exists.
+
+
setproctitle()
+
+
- Added support for POSIX style timers using clock_gettime(3) to
+
allow for high resolution thread local cpu time and monotonic real
+
time on reasonable modern Linux systems for gethrvtime() and
+
gauge(). Added CPU_TIME_RESOLUTION, CPU_TIME_IMPLEMENTATION,
+
REAL_TIME_IS_MONOTONIC, REAL_TIME_RESOLUTION and
+
REAL_TIME_IMPLEMENTATION constants to singal the system
+
capabilities.
+
o Tools FIXME o Web.Crawler - Bugfix to support robots.txt created on windows. - User Agent change to "Mozilla 4.0 (PikeCrawler)" o Web.RDF - Added add_statement() method which allows new relations to be added to an RDF set. o sprintf
-
sprintf() and
friends
now attempt to perform compile-time argument
-
checking.
+
-
sprintf() and
related
functions
now attempt to perform
+
compile-time argument checking.
-
sprintf() now attempts to lookup the name of the program when
+
-
sprintf() now attempts to lookup the name of the program when
formatting types of objects and programs.
-
+
- The new formatting directive %H can be used to format a string as
+
a binary holertih string.
+
+
> sprintf("%2H", "Hello");
+
(1) Result: "\0\5Hello"
+
+
- The new formatting directive %q can be used to format a atring as
+
a quoted string, quoting all control character and non-8-bit
+
characters as well as quote characters. Like %O but always on one
+
line.
+
+
> sprintf("%q", "abc \x00 \" \' \12345");
+
(1) Result: "\"abc \\0 \\\" ' \\u14e5\""
+
o gethrtime, gethrvtime, gauge Added support for POSIX style timers using clock_gettime(3). Notably this fixes nice high resolution thread local cpu time and monotonic real time on reasonably modern Linux systems. There are new constants CPU_TIME_* and REAL_TIME_* in the System module to allow pike code to query various properties of the CPU and real time clocks in use.