changelog Changelog

2009-07-04 - HTML_CSS 1.5.4 (stable) released

  • Fixed bug #16354 : Does not parse multiple simple At-rules properly
  • Fixed bug #16355 : Simple at rules nested within other at rules are reported as top level at rules
  • Fixed bug #16357 : Multiple equal complex at rules not parsed correctly
  • Fixed bug #16358 : Multiple media types on media at rule not parsed correctly
  • Fixed bug #16359 : Multiple selectors on a single rule inside a complex at rule not properly parsed
  • Fixed bug #16360 : Multiple selectors inside a complex at rule not properly parsed
2009-01-21 - HTML_CSS 1.5.3 (stable) released

  • Fixed bug #15690 : setSameStyle() produces E_USER_NOTICE
2009-01-20 - HTML_CSS 1.5.2 (stable) released

  • fix minor notice errors
  • implement Mock Object (PHPUnit feature) to replace call to W3C CSS Validator Web Service
  • add many new unit test cases to improve code coverage from 77 to 96%
2008-03-15 - HTML_CSS 1.5.1 (stable) released

  • Fixed bug #12996 : Call-time pass-by-reference has been deprecated
  • Fixed bug #13314 : Notice error raised on parsing string
2008-01-15 - HTML_CSS 1.5.0 (stable) released

  • Implement request #12194 : support of At-Rules
  • add new function getOptions() to retrieve easily all configuration options at once
  • add new function validate() to check data source with the W3C CSS validator service.
    see file examples/CSS_validate.php
2007-12-14 - HTML_CSS 1.4.0 (stable) released

  • removed old class (private) properties related to options ($_xhtmlCompliant, $_cache, $_singleLine, $_charset, $_contentDisposition, $_groupsFirst, $_allowDuplicates), now group by in a private array $options.
  • added class constructor (ZE2) for PHP5.
  • Error handler allow now to use PEAR_ERROR_CALLBACK to customize action (log yes/no, print yes/no) when an error/exception is raised.
  • remove trailing EOL in toString() output (with oneline option set to true)
2007-10-22 - HTML_CSS 1.3.0 (stable) released

  • prevent invalide CSS data source in to parse
  • add Content-Disposition to the headers in display(); request#12195
  • remove pointless NEWS file from distribution
2007-06-12 - HTML_CSS 1.2.0 (stable) released

  • No code changes since previous version, but license change from PHP 3.01 to BSD.
  • Manual license Creative Commons version upgrade from 2.0 to 3.0
2007-02-18 - HTML_CSS 1.1.3 (stable) released

  • fixed typo error in "oneline" attribute used with class constructor (bug #10103)
  • User Guide 1.1.3 included in this release cover all versions 1.x.x, 1.1.x
2007-01-03 - HTML_CSS 1.1.2 (stable) released

  • fixed error into grepStyle() method : conflict between goup (alibis) and simple element
  • User Guide 1.1.0 included in this release cover also versions 1.1.1 and 1.1.2 (bug fixes)
2007-01-01 - HTML_CSS 1.1.1 (stable) released

  • fixed error catch into parseData() method (related to 2006-12-21 modification)
  • fixed version number on license declared and used in CSS.php file
2007-01-01 - HTML_CSS 1.1.0 (stable) released

  • add new feature : ability to search if an element/property is defined or not
  • upgraded copyright notice to new year 2007
  • add new example CSS_grepStyles.php for function grepStyle()
  • include a new revision of User Guide (TDG) in html format
2006-12-21 - HTML_CSS 1.0.1 (stable) released

  • fix a bug with HTML_CSS::isError() method
  • drop support of package xml 1.0; Now we must have at least PEAR 1.4.3
  • License change from PHP 3.0 to PHP 3.01
2006-06-24 - HTML_CSS 1.0.0 (stable) released

  • copyright dates updates in all headers comment blocks.
  • add @ignore phpdoc tag in all unit tests to hide them in API doc generation.
  • introduces package xml 2.0
  • unified API arguments for all group functions
2005-07-26 - HTML_CSS 1.0.0RC2 (beta) released

  • Add parseData() : Ability to parse multiple data sources (filename, string) at once
  • Add isError() : Tell whether a value return by HTML_CSS is an error.
2005-07-26 - HTML_CSS 1.0.0RC1 (beta) released

  • PEAR_ErrorStack was replaced by a simple way to plug in any error handling system you might want (default used PEAR_Error object)
  • Duplicate properties can now be allowed.
  • Allows to fix a HTML_Progress problem (bug #2784)
  • Fixed bug #3920 : Inappropriate style rule reordering
  • Removes PEAR_ErrorStack and Log packages dependencies
  • All unitTests are now fully PEAR_Error compatible
  • apiVersion() returns now a string rather than a float; compatible with php.version_compare()
  • createGroup() always returns a value now
  • parseSelectors() status goes from public to protected
  • collapseInternalSpaces() status goes from public to protected
  • setSameStyle() is now optimized and single old reference is removed from CSS declarations
  • toArray reimplemented (API changed if duplicates allowed)
  • Updates headers comment block on all files
2004-11-21 - HTML_CSS 0.4.0 (beta) no public release

  • All unitTests are now fully PEAR_Error compatible
  • Removes PEAR_ErrorStack and Log packages dependencies
  • Uses the basic error handler PEAR_Error (see examples/CSS_Logger.php)
  • Allows to fix a HTML_Progress problem (see bug #2784)
  • Adds testcase for setXhtmlCompliance API
2004-05-20 - HTML_CSS 0.3.4 (beta) released

  • Compatibility fix for PHP5 in parseSelectors
  • Now parseSelectors correctly divides selectors with IDs (output mode 2)
  • Added testcases for all bugs (Laurent)
  • Added dependency on PEAR 1.3.1 or greater (necessary for error handling)
2004-05-20 - HTML_CSS 0.3.3 (beta) released

  • New error implementation (PEAR_Error_Stack) (Laurent)
  • Added more testcases (Laurent)
  • Output definitions on single line
  • Fixed bug #1072 : incomplete internal inheritance support in parseString and getStyle
  • Fixed bug #1084 : parseSelectors unable to handle inheritance
2004-03-24 - HTML_CSS 0.3.2 (beta) released

  • setXhtmlCompliance(bool)
    Determines whether elements are automatically lowercased for XHTML compliance. May also be passed to class constructor as array element 'xhtml'.
  • Selectors are now properly parsed to ensure compliance
  • Fixed bug #725 : Elements differentiated because of whitespace
  • Fixed bug #998 : parseString failure to parse property value when it contained a colon
  • Fixed bug #1066 : Trim property values in parseString
2003-11-03 - HTML_CSS 0.3.0 (beta), and 0.3.1 (beta) released

  • License change from PHP 2.02 to 3.0
  • Parse CSS from string (Laurent)
  • Read and parse CSS from file (Laurent)
  • Retrieve the settings of individual properties (Laurent)
  • Fully redesigned group handling
  • Output to file
  • new Error handling introduced (Laurent)
  • Added unit tests (Laurent)
2003-07-31 - HTML_CSS 0.2.0 (stable) released

  • Initial PEAR public release