Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
661 lines (628 sloc) 20.7 KB
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>HTML_CSS</name>
<channel>pear.php.net</channel>
<summary>Provides a simple interface for validate, handle and generate cascading style sheets</summary>
<description>HTML_CSS provides a simple interface to handle stylesheets declaration.
It is completely standards compliant, and has some great features:
* Simple OO interface to CSS definitions
* Can parse existing CSS (string or file)
* Output to
- Inline stylesheet declarations
- Document internal stylesheet declarations
- Standalone stylesheet declarations
- Array of definitions
- File
* Can validate contents with the WC3 CSS Validator Web Service
In addition, it shares the following with HTML_Common based classes:
* Indent style support
* Line ending style</description>
<lead>
<name>Klaus Guenther</name>
<user>thesaur</user>
<email>klaus@capitalfocus.org</email>
<active>no</active>
</lead>
<lead>
<name>Laurent Laville</name>
<user>farell</user>
<email>pear@laurent-laville.org</email>
<active>no</active>
</lead>
<date>2011-11-29</date>
<time>08:46:03</time>
<version>
<release>1.5.5</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
PHPUnit 3.6 compatibility
</notes>
<contents>
<dir baseinstalldir="/" name="/">
<file baseinstalldir="/" md5sum="176f5be94051eabfd97c040cc872adc3" name="/examples/CSS_Advanced.php" role="php" />
<file baseinstalldir="/" md5sum="e02ccb479a4fe5cc50c72bdc2293de09" name="/examples/CSS_DisplayOnline.php" role="php" />
<file baseinstalldir="/" md5sum="de754809fcfc9955d787657d08541093" name="/examples/css_errorstack_custom.php" role="php" />
<file baseinstalldir="/" md5sum="ae860345d02ed298b8dfbe89fb610a0e" name="/examples/css_errorstack_logger.php" role="php" />
<file baseinstalldir="/" md5sum="3f826da3f0a6f21d7f21b14225b0c0e3" name="/examples/css_error_custom.php" role="php" />
<file baseinstalldir="/" md5sum="af97a39aba6badfd0d04354868ea64c4" name="/examples/css_error_ignore.php" role="php" />
<file baseinstalldir="/" md5sum="0306b4c9a0f927f03cc36e7ce3153cf0" name="/examples/css_error_logger.php" role="php" />
<file baseinstalldir="/" md5sum="d07791022a900bb7d0d78f373a3461de" name="/examples/CSS_grepStyles.php" role="php" />
<file baseinstalldir="/" md5sum="4b621986a19299e4c15a6d816b325599" name="/examples/CSS_InHeader.php" role="php" />
<file baseinstalldir="/" md5sum="e701c87ca56243d3da8260aca3f5baeb" name="/examples/CSS_Inline.php" role="php" />
<file baseinstalldir="/" md5sum="1fb9164b98b2d34310882683dc0bdf7c" name="/examples/CSS_Logger.php" role="php" />
<file baseinstalldir="/" md5sum="b8ccf04fa0a45ac1d247df7ea2be6ec5" name="/examples/CSS_parseData.php" role="php" />
<file baseinstalldir="/" md5sum="08facf95c0f17e00fc016d3d59c80c4a" name="/examples/CSS_req12194_atrule_api.php" role="php" />
<file baseinstalldir="/" md5sum="f1705159532bda8ee3ce3796371cf23a" name="/examples/CSS_req12194_atrule_parser.php" role="php" />
<file baseinstalldir="/" md5sum="7c531309f83c93c354ab23a9ce0ffcb4" name="/examples/CSS_Stylesheet.php" role="php" />
<file baseinstalldir="/" md5sum="b43f92a1c14528a5f937241784a5b492" name="/examples/CSS_validate.php" role="php" />
<file baseinstalldir="/" md5sum="dfbead20021880897273413b10060b28" name="/HTML/CSS.php" role="php" />
<file baseinstalldir="/" md5sum="d261dfdb9832800989b21c97b5c481da" name="/HTML/CSS/Error.php" role="php" />
<file baseinstalldir="/" md5sum="85ea81a8fc41916e953e6f81bca993de" name="/tests/AllTests.php" role="php" />
<file baseinstalldir="/" md5sum="e040498b9701c595cc6fc108134ceb63" name="/tests/HTML_CSS_BugsTest.php" role="php" />
<file baseinstalldir="/" md5sum="721a1068cfd3d71e1c0e890828430434" name="/tests/HTML_CSS_OutputTest.php" role="php" />
<file baseinstalldir="/" md5sum="a26e96524ddfa4b4d395a09f199c9b58" name="/tests/HTML_CSS_StandardTest.php" role="php" />
<file baseinstalldir="/" md5sum="bdb58577bae9ea9ac7ef84e36087ac06" name="/tests/phpunit.xml" role="data" />
<file baseinstalldir="/" md5sum="6f8279c57a6fa517db0ffdd84775628e" name="/tests/stylesheet.css" role="data" />
<file baseinstalldir="/" md5sum="06af92b6a4ac0665452bcf75d285329f" name="/tests/TestListener.php" role="php" />
<file baseinstalldir="/" md5sum="78585e60b66f732bf6810ab990f0991f" name="ChangeLog" role="doc" />
<file baseinstalldir="/" md5sum="21efac63cc61edd13db348b9e54b0729" name="package.php" role="php" />
<file baseinstalldir="/" md5sum="2917b17cac2efbaa5223aa65295a0f05" name="README" role="data" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>4.3.0</min>
</php>
<pearinstaller>
<min>1.5.4</min>
</pearinstaller>
<package>
<name>HTML_Common</name>
<channel>pear.php.net</channel>
<min>1.2.4</min>
</package>
<extension>
<name>pcre</name>
</extension>
</required>
<optional>
<package>
<name>PEAR</name>
<channel>pear.php.net</channel>
</package>
<package>
<name>Services_W3C_CSSValidator</name>
<channel>pear.php.net</channel>
<min>0.1.0</min>
</package>
<package>
<name>PHPUnit</name>
<channel>pear.phpunit.de</channel>
<min>3.2.0</min>
</package>
</optional>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-07-31</date>
<license uri="http://www.php.net/license/2_02.txt">PHP License 2.02</license>
<notes>
It is completely standards compliant, and has some great features:
* Inline stylesheet declarations
* Document internal stylesheet declarations
* Standalone stylesheet declarations
In addition, it shares the following with HTML_Common based classes:
* Indent style support
* Line ending style
</notes>
</release>
<release>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2003-11-03</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
Warning:
Major BC break!
License change:
Now PHP License 3.0
New features:
* 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
* Error handling introduced (Laurent)
* Added unit tests (Laurent)
Bugfixes:
* Examples updated
</notes>
</release>
<release>
<version>
<release>0.3.1</release>
<api>0.3.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2003-11-03</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
Warning:
Major BC break!
License change:
Now PHP License 3.0
New features:
* 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
* Error handling introduced (Laurent)
* Added unit tests (Laurent)
Bugfixes:
* Fixed setSameStyle functionality
</notes>
</release>
<release>
<version>
<release>0.3.2</release>
<api>0.3.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2004-03-24</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
New features:
* setXhtmlCompliance(bool)
Determines whether elements are automatically lowercased
for XHTML compliance. May also be passed to class constructor
as array element &apos;xhtml&apos;.
* Selectors are now properly parsed to ensure compliance
Bugfixes:
* #725 (Elements differentiated because of whitespace)
* #998 (parseString failure to parse property value when it contained a colon)
* #1066 (Trim property values in parseString)
</notes>
</release>
<release>
<version>
<release>0.3.3</release>
<api>0.3.3</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2004-05-20</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
New features:
* New error implementation (PEAR_Error_Stack) (Laurent)
* Added more testcases (Laurent)
* Output definitions on single line
Bugfixes:
* #1072 (incomplete internal inheritance support in parseString and getStyle)
* #1084 (parseSelectors unable to handle inheritance)
</notes>
</release>
<release>
<version>
<release>0.3.4</release>
<api>0.3.4</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2004-05-21</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
New features:
* Added testcases for all bugs (Laurent)
Bugfixes:
* Added dependency on PEAR 1.3.1 or greater (necessary for error handling)
* Compatibility fix for PHP5 in parseSelectors
* Now parseSelectors correctly divides selectors with IDs (output mode 2)
</notes>
</release>
<release>
<version>
<release>0.4.0</release>
<api>0.4.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2004-11-21</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
New features:
* Removes PEAR_ErrorStack and Log packages dependencies
* Uses the basic error handler PEAR_Error (see examples/CSS_Logger.php)
Bug fixes
* Allows to fix a HTML_Progress problem (see bug #2784)
Changes
* Adds testcase for setXhtmlCompliance API
* All unitTests are now fully PEAR_Error compatible
Quality Assurance
* This release follows the rules defined at
* http://pear.php.net/group/docs/20040226-vn.php
</notes>
</release>
<release>
<version>
<release>1.0.0RC1</release>
<api>1.0.0RC1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2005-07-26</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
New features:
- 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.
Bug fixes
- Allows to fix a HTML_Progress problem (bug #2784)
- Inappropriate style rule reordering (bug #3920)
Changes
- 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)
Quality Assurance
- Updates headers comment block on all files
</notes>
</release>
<release>
<version>
<release>1.0.0RC2</release>
<api>1.0.0RC2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2005-12-15</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
New features:
- parseData() : Ability to parse multiple data sources (filename, string) at once
- isError() : Tell whether a value return by HTML_CSS is an error.
See new script: examples/CSS_parseData.php
</notes>
</release>
<release>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-06-24</date>
<license uri="http://www.php.net/license/3_0.txt">PHP License 3.0</license>
<notes>
After 2 releases candidate and no bug reported since 6 months, it&apos;s time to build the final stable version 1.0.0
* Improvements
- add @ignore phpdoc tag in all unit tests to hide them in API doc generation.
- introduces package xml 2.0
* Quality Assurance
- header comment blocks were updated (copyright dates, ...)
- include a user-guide in html format (others format to download on http://pear.laurent-laville.org/HTML_CSS/docs)
</notes>
</release>
<release>
<version>
<release>1.0.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-12-21</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
- 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
</notes>
</release>
<release>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-12-30</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
* news
- add new feature : ability to search if an element/property is defined or not
- upgraded copyright notice to new year 2007
* QA
- add new example CSS_grepStyles.php for function grepStyle()
- include a new revision of User Guide (TDG).
see http://pear.laurent-laville.org/HTML_CSS for more format to download.
</notes>
</release>
<release>
<version>
<release>1.1.1</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-01-01</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
* bugs
- it was impossible to use isError() in cascade with version 1.1.0
- fixed version number on license declared and used in CSS.php file
</notes>
</release>
<release>
<version>
<release>1.1.2</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-01-03</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
* bugs
- fixed error into grepStyle() method : conflict between goup (alibis) and simple element
* QA
User Guide 1.1.0 included in this release cover also versions 1.1.1 and 1.1.2 (bug fixes)
</notes>
</release>
<release>
<version>
<release>1.1.3</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-02-18</date>
<license uri="http://www.php.net/license/3_01.txt">PHP License 3.01</license>
<notes>
* bugs
- fixed typo error in &quot;oneline&quot; attribute used with class constructor (Bug #10103)
* QA
User Guide 1.1.3 included in this release cover all versions 1.x.x, 1.1.x
</notes>
</release>
<release>
<version>
<release>1.2.0</release>
<api>1.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-06-12</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* changes
- No code changes since previous release, but license changed
from PHP 3.01 to new BSD (give more freedom)
* QA
User Guide 1.2.0 included in this release cover all versions 1.x.x, 1.1.x, 1.2.x
</notes>
</release>
<release>
<version>
<release>1.3.0</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-10-22</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* changes
- prevent invalide CSS data source in to parse
* news
- add Content-Disposition to the headers in display(); implement request #12195
* QA
User Guide 1.3.0 included in this release cover all versions 1.x.x, 1.1.x, 1.2.x, 1.3.x
</notes>
</release>
<release>
<version>
<release>1.4.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-12-14</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* changes
- 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)
* news
- API 1.4.0 allow now a setter/getter PHP5 facility compatible
(magic function __set, __get) for read/write CSS options.
* QA
- PHP minimum set to 4.3.0
- PEAR installer minimum set to 1.5.4 (to avoid security vulnerability)
- Coding Standard fixes (recommandation by PHP_CodeSniffer)
- tests suite migrated from PHPUnit 1.x to 3.x
- User Guide 1.4.0 included in this release cover all versions
1.x.x, 1.1.x, 1.2.x, 1.3.x, 1.4.x
</notes>
</release>
<release>
<version>
<release>1.5.0</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-01-15</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* changes
- copyright year bump
* news
- 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 W3C CSS validator service.
Require PHP5. See file examples/CSS_validate.php
* QA
- User Guide (HTML version) included in previous versions was removed, since
its now part of PEAR manual
</notes>
</release>
<release>
<version>
<release>1.5.1</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-03-15</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* bugs
- fix bug #12996 : Call-time pass-by-reference has been deprecated
- fix bug #13314 : Notice error raised on parsing string
</notes>
</release>
<release>
<version>
<release>1.5.2</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-01-20</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* QA
- 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%
</notes>
</release>
<release>
<version>
<release>1.5.3</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-01-21</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
* QA
- prevent wrong usage of setSameStyle(); see bug #15690
</notes>
</release>
<release>
<version>
<release>1.5.4</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-11-29</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
Changes
- createAtRule signature changed : add optional duplicates parameter
Bug fixes
- 16354 : Does not parse multiple simple At-rules properly
- 16355 : Simple at rules nested within other at rules are reported as top level at rules
- 16357 : Multiple equal complex at rules not parsed correctly
- 16358 : Multiple media types on media at rule not parsed correctly
- 16359 : Multiple selectors on a single rule inside a complex at rule not properly parsed
- 16360 : Multiple selectors inside a complex at rule not properly parsed
Last action as active package leader
</notes>
</release>
<release>
<version>
<release>1.5.5</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-11-29</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
<notes>
PHPUnit 3.6 compatibility
</notes>
</release>
</changelog>
</package>