Horde_Util pear.horde.org Util Utility library A library that provides functionality useful for all kind of applications. Jan Schneider jan jan@horde.org yes Chuck Hagenbuch chuck chuck@horde.org no Michael Slusarz slusarz slusarz@horde.org no 2019-11-03 2.5.9 2.5.0 stable stable LGPL-2.1 * [mjr] PHP 7.4 compatibility fixes (Remi Collet <remi@famillecollet.com>, PR #2). * [jan] Fix wrapping if the wrapping break adds indention. 5.3.0 8.0.0alpha1 8.0.0alpha1 1.7.0 dom Horde_Imap_Client pear.horde.org 2.0.0 3.0.0alpha1 3.0.0alpha1 Horde_Test pear.horde.org 2.1.0 3.0.0alpha1 3.0.0alpha1 ctype filter iconv intl json mbstring xml 0.0.1 0.0.1 alpha alpha 2003-10-28 LGPL-2.1 * Initial release as a PEAR package 0.0.2 0.0.2 alpha alpha 2006-05-08 LGPL-2.1 * Converted to package.xml 2.0 for pear.horde.org 0.1.0 0.1.0 beta beta 2008-09-25 LGPL-2.1 * Added magic PHP5 methods to the Variables class. * Added array_merge_recursive_overwrite() to Horde_Array(). * Fixed a bug in Horde_Array::arraySort where auto-detecting the first key failed. * Added sorter functions for array keys. * Removed use of array_unique(). * Cleaned up addParameter() in the Util class. * Implemented a much more efficient, yet safer file wiping algorithm. * Fixed Util::addParameter when it is passed a base URL that contains an urlencoded ampersand. * Added a parameter to Util::nocacheUrl() to not encode url. * Added Util::getPathInfo(). * Signed parameters to go.php with an HMAC based on a new secret key configuration value, to prevent using go.php as an open referrer. * Made logout tokens only valid for a configurable length of time. * Made it possible to use String.php without having any other files available. * Use utf8_decode() in String::length() if possible. * Always use preg_match() in String::regexMatch(). * Workaround for korean messages in a non-standard charset. * Fixed String::substr() length calculations. * Added multibyte-safe String::wordwrap() method. * Added parameter to use wordwrap() for line folding. * Use C as the portable locale (Bug #6194). * Don't use utf8_encode/decode on very large strings if other options are available. (Bug #6660) * Fixed order of checks in String::convertCharset (Bug #6794). 1.0.0alpha1 1.0.0 alpha alpha 2011-03-08 LGPL-2.1 * First alpha release for Horde 4. * Added Horde_String::rpos(). * Renamed Horde_Array::array_merge_recursive_overwrite() to Horde_Array::replaceRecursive(). * Added Horde_String::common(). * Added Horde_Domhtml::. * Removed Horde_Util::assertDriverConfig(). * Removed Horde_Util::bufferOutput(). * Removed Horde_Util::uriB64Encode() and Horde_Util::uriB64Decode(). * Removed Horde_Util::strftime2date() and Horde_Util::date2strftime(). * Removed Horde_Util::closeWindowJs() and Horde_Util::nocacheUrl(). * Added Horde_String::convertToUtf8(). * Added Horde_Util::abbreviate(). * Removed Horde_Array::combine() and Horde_Util::hmac(). 1.0.0beta1 1.0.0 beta beta 2011-03-16 LGPL-2.1 * First beta release for Horde 4. 1.0.0RC1 1.0.0 beta beta 2011-03-22 LGPL-2.1 * First release candidate for Horde 4. * [mms] Tweak loading HTML documents (encodings) in Horde_Domhtml. * [mms] Added Horde_Domhtml#returnBody(). * [mms] Added Domhtml unit tests. 1.0.0RC2 1.0.0 beta beta 2011-03-29 LGPL-2.1 * Second release candidate for Horde 4. * Fix parsing ISO-8859-15 data with Horde_Domhtml (Bug #9714). 1.0.0 1.0.0 stable stable 2011-04-06 LGPL-2.1 * First stable release for Horde 4. 1.0.1 1.0.0 stable stable 2011-04-20 LGPL-2.1 * [jan] Fix wrapping of several follow-up lines with existing line breaks. * [jan] Fix creating temporary files with open_basedir restrictions. 1.0.2 1.0.0 stable stable 2011-05-03 LGPL-2.1 * [mms] In Horde_Variables, operate on a copy of the $_REQUEST variable. 1.0.3 1.0.0 stable stable 2011-06-01 LGPL-2.1 * [mms] Don't try to use dl() in PHP 5.3+. 1.0.4 1.0.0 stable stable 2011-06-14 LGPL-2.1 * [jan] Unescape escaped quotes when importing CSV data. 1.0.5 1.0.0 stable stable 2011-07-27 LGPL-2.1 * [jan] Fix removing too many backslashes with magic quotes enabled (Bug #10149). * [jan] Fix reading CSV data with PHP < 5.3. 1.0.6 1.0.0 stable stable 2011-10-11 LGPL-2.1 * [jan] Speed up Horde_String::substr() (Evert Pot, Request #8627). 1.1.0 1.1.0 stable stable 2011-12-06 LGPL-2.1 * [mms] Add Horde_String::validUtf8(). 1.2.0 1.2.0 stable stable 2012-01-17 LGPL-2.1 * [mms] Add Horde_Variables#filter(). 1.3.0 1.3.0 stable stable 2012-03-20 LGPL-2.1 * [jan] Implement ArrayAccess in Horde_Variables. 1.3.1 1.3.0 stable stable 2012-05-29 LGPL-2.1 * [mms] Fix Horde_String::validUtf8() to workaround PHP/PCRE bug where segfault will occur on input strings > ~5000 characters 1.4.0 1.4.0 stable stable 2012-06-29 LGPL-2.1 * [mms] Add Horde_String::trimUtf8Bom(). 1.4.1 1.4.0 stable stable 2012-06-29 LGPL-2.1 * 2.0.0alpha1 2.0.0alpha1 alpha alpha 2012-07-06 LGPL-2.1 * First alpha release for Horde 5. * [mms] Removed e-mail array manipulation methods (Horde_Mail package now provides this feature). * [mms] Removed Horde_Util::getCsv() (moved to Horde_Data package). * [mms] Add iteration to Horde_Domhtml object. * [jan] Remove Horde_Util::getTempDir(). * [jan] Remove Horde_Array::replaceRecursive(). 2.0.0beta1 2.0.0beta1 beta beta 2012-07-19 LGPL-2.1 * First beta release for Horde 5. 2.0.0beta2 2.0.0beta1 beta beta 2012-10-12 LGPL-2.1 * [mms] Remove Horde_Util::addParameter() and Horde_Util::removeParameter(). * [mms] Remove Horde_Util::cloneObject(). 2.0.0 2.0.0 stable stable 2012-10-30 LGPL-2.1 * First stable release for Horde 5. 2.0.1 2.0.0 stable stable 2012-11-19 LGPL-2.1 * [mms] Use new Horde_Test layout. 2.0.2 2.0.0 stable stable 2012-12-20 LGPL-2.1 * [mms] Convert Horde_String#validUtf8() from a preg-regex to a string iterator to eliminate PCRE issues relating to stack sizes (Bug #11899). 2.0.3 2.0.0 stable stable 2013-01-09 LGPL-2.1 * [mms] Fix validating certain strings of UTF-8 data (Bug #11930). 2.1.0 2.1.0 stable stable 2013-02-11 LGPL-2.1 * [mms] Added 'charset' and 'metacharset' parameters to returnHtml(). * [mms] Added Horde_Domhtml#getCharset() to get best-guess charset of current encoding within the DOM object. * [mms] Fix inserting HEAD into HTML document with Horde_Domhtml#getHead() if it doesn't already exist in the document. 2.2.0 2.2.0 stable stable 2013-02-17 LGPL-2.1 * [mms] Can't add charset directly to HTML document or else DOM will alter document when generating HTML. * [mms] Added Horde_Domhtml#getBody(). 2.2.1 2.2.0 stable stable 2013-03-05 LGPL-2.1 * [mms] Simplify Horde_Variables iterator. 2.2.2 2.2.0 stable stable 2013-05-06 LGPL-2.1 * [mms] Fix Horde_Domhtml#returnBody(). 2.3.0 2.3.0 stable stable 2013-06-27 LGPL-2.1 * [mms] SECURITY: '_formvars' form input must now be JSON encoded, not PHP serialized. 2.4.0 2.4.0 stable stable 2014-05-02 LGPL-2.1 * [mms] Add Horde_String_Transliterate class. * [mms] Support deeply nested HTML documents (requires PHP 5.4.0+ and libxml 2.7.0+) (Bug #13086). 2.4.1 2.4.0 stable stable 2014-08-05 LGPL-2.1 * [mms] Fallback to lesser priority transliterator driver when an error is encountered. 2.5.0 2.5.0 stable stable 2014-08-06 LGPL-2.1 * [mms] Fix regression in Horde_String_Transliterate for PHP 5.3 (Bug #13419). * [mms] Added Horde_String::ipos() and Horde_String::ripos(). 2.5.1 2.5.0 stable stable 2014-08-14 LGPL-2.1 * [mms] Fix another issue with older versions of PHP in Horde_String_Transliterate. 2.5.2 2.5.0 stable stable 2014-12-29 LGPL-2.1 * [mms] Fix deleting multi-level temporary directories in Horde_Util::deleteAtShutdown(). 2.5.3 2.5.0 stable stable 2015-02-10 LGPL-2.1 * [jan] Use grapheme functions in Horde_String if intl extension is available. 2.5.4 2.5.0 stable stable 2015-03-03 LGPL-2.1 * [mms] Fix error detection when using Horde_String::substr() with mb_substr(). 2.5.5 2.5.0 stable stable 2015-04-13 LGPL-2.1 * [mms] Fix handling broken text input with all multibyte drivers. 2.5.6 2.5.0 stable stable 2015-07-31 LGPL-2.1 * [jan] Fix test that could fail due to changes in glibc. * [jan] Fix Composer file. 2.5.7 2.5.0 stable stable 2016-02-02 LGPL-2.1 * [jan] Mark PHP 7 as supported. 2.5.8 2.5.0 stable stable 2016-07-01 LGPL-2.1 * [mjr] Fix detecting certain types of broken UTF-8 strings. 2.5.9 2.5.0 stable stable 2019-11-03 LGPL-2.1 * [mjr] PHP 7.4 compatibility fixes (Remi Collet <remi@famillecollet.com>, PR #2). * [jan] Fix wrapping if the wrapping break adds indention.