5.6.6-RELEASE: Documentation release

at 2008-04-24 in ReleasesAnnouncements by kiesel (0 comments)

This release includes massive inline documentation cleanup which went in parallel with the building of the new XP Framework's documentation website. Most noticeably, there is also the second part RFC #0151 implemented which drops the deprecated lang.reflect.Argument class and its corresponding methods in the reflection API.
Also, this release is probably the most well tested one, as it was preceded by 5 release candidates before being released to the public :)

XP 5.6.6
Requires PHP 5 (5.2.0 - ...) - Download

ChangeLog




Heads up!
  • Changed xpcli / util.cmd.Runner argument passing - argv[0] should not be passed to Runner::main()(friebe)
  • Deprecated addMinutes(), addHours(), addDays() methods in util.TimeSpan (gellweiler)
  • Backwards incompatible changes in lang.reflect package http://news.xp-framework.net/article/240/2008/03/08/BC (friebe)
  • Removed deprecated lang.reflect.Argument class and corresponding methods in lang.reflect.Routine(friebe)


RFCs


  • Implemented RFC #0160: xml.IXSLProcessor::setXMLTree() / setXSLTree() (friebe)
  • Implemented RFC #0156: Constructor::newInstance() (friebe)
  • Implemented RFC #0155: lang.reflect.Routine::getReturnType(): Type instead of string (friebe)
  • Implemented RFC #0148: Bytes type (friebe)


Bugfixes


  • Made xarloader::acquire() throw a lang.FormatException in case the given file is not a valid XAR archive (friebe)
  • Fixed bug #28 - MySQLConnection does not honor Port given in DSN (Martin Contento, friebe)
  • Fixed util.Date's constructor with timestamps (doebele, kiesel)
  • Fixed wrong date creation in util.Message which created wrong sending dates (hinckel)
  • Fixed newinstance() and create() for fully qualified classes (friebe)
  • Fixed xml.DomXSLProcessor to produce meaningful error messages in case a transformation failed (kiesel)
  • Fixed text.doclet.markup API to handle sourcecode, preformatted text ordered and unordered lists correctly (friebe)
  • Added mapping for field type double to rdbms.mysql.MySQLDBAdapter (hinckel)
  • Fixed problems with percent sign (%) substitution in RDBMS API when using Criteria or Statement class (hinckel)
  • Fixed unittest.TestSuite to not report errors if a previously run test's setUp() routine failed. (friebe)
  • Fixed util.Properties::readBool() to return TRUE if any of "1", "yes", "true" or "on" is given (see bug #26) (friebe)
  • Fixed lang.Process to not throw exceptions if non-qualified command is given (e.g. new Process('ssh')) by resolving PATH environment (friebe)
  • Fixed problem with xpcli -c -cp option conflicting with the run Command class' -c -cp options (friebe)
  • Fixed HttpScriptletRequest::getData never read from php://input (ruben)


Features


  • Added lang.ClassLoader::getLoaders() (friebe)
  • Made lang.ClassLoader::registerPath() throw an exception in case the given path does not exist (friebe)
  • Made lang.base.php use PHP_INT_MAX for LONG_MIN / LONG_MAX values instead of calculating it manually. Saves on function call. (friebe)
  • Added security.password package (friebe)
  • Added ENUM class type to text.doclet API - ClassDoc::isEnum() will return true and ClassDoc::classType() will yield ENUM_CLASS if this classdoc object represents a subclass of lang.Enum.(friebe)
  • Added containingPackage() and contains() methods to PackageDoc class (friebe)
  • Made io.File constructor accept (string, string) and (Folder, string) See http://news.xp-framework.net/article/241/2008/03/24/io.File (friebe)
  • QA work: Completed / updated apidocs in multiple places (friebe)
  • Added util.TimeSpan::add(), util.TimeSpan::subtract() methods (gellweiler, friebe)
  • Added static seconds(), minutes(), hours(), days() and weeks() to util.TimeSpan (gellweiler, friebe)
  • Added rdbms.DBTableAttribute::getLength() accessor - add this information to XML generated from databases via DBXmlGenerator (Martin Contento, friebe)
  • Added SQL function to week() to extrakt the "week of year" from a date field (wagner)



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases

Related

Find related articles by a search for «5.6.6-RELEASE:».