Permalink
Browse files

* Preparing for 2.1.0 release

git-svn-id: http://svn.php.net/repository/pear/packages/Net_UserAgent/trunk@184641 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 74f6630 commit 9aebee9f7b9369fc1a2225abcafa3993b0d030aa Jason Rust committed Apr 18, 2005
Showing with 67 additions and 38 deletions.
  1. +67 −38 package.xml
View
@@ -3,16 +3,14 @@
<package version="1.0">
<name>Net_UserAgent_Detect</name>
<summary>Net_UserAgent_Detect determines the Web browser, version, and platform from an HTTP user agent string</summary>
- <description>
- The Net_UserAgent object does a number of tests on an HTTP user
- agent string. The results of these tests are available via methods of
- the object.
-
- This module is based upon the JavaScript browser detection code
- available at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
- This module had many influences from the lib/Browser.php code in
- version 1.3 of Horde.
- </description>
+ <description>The Net_UserAgent object does a number of tests on an HTTP user
+agent string. The results of these tests are available via methods of
+the object.
+
+This module is based upon the JavaScript browser detection code
+available at http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html.
+This module had many influences from the lib/Browser.php code in
+version 1.3 of Horde.</description>
<maintainers>
<maintainer>
<user>jrust</user>
@@ -33,43 +31,74 @@
<role>helper</role>
</maintainer>
</maintainers>
- <deps>
- <dep type="php" rel="ge" version="4.1.0" />
- </deps>
<release>
- <license>PHP 2.01</license>
+ <version>2.1.0</version>
+ <date>2005-04-18</date>
+ <license>PHP License</license>
<state>stable</state>
- <version>2.0.1</version>
- <date>2004-03-11</date>
- <notes>
- * Made it PHP5 compatible in a way that is BC
- * Added support for Safari
- * Bumped konq's javascript version up to 1.4
- * Fix bug where w3m caused warnings
- * fixed a notice error when the user agent is empty
- * Fixed missing windows xp detection and added nested_table_render_bug quirk for netscape 4.8 and below.
- * Code cleanups.
- </notes>
+ <notes>* Added support for firefox, opera6, opera7, aol8, webdav, netgem/iplayer, and win2003
+* The getQuirk() method now works correctly
+* Normally all browser information is cached the first time Net_UserAgent_Detect is run on a page to make it as speedy as possible. However, in some case there is need to clear the cached data. This can now be done by setting the &quot;re-evaluate&quot; option.</notes>
+ <deps>
+ <dep type="php" rel="ge" version="4.1.0"/>
+ </deps>
+ <provides type="class" name="Net_UserAgent_Detect" />
+ <provides type="function" name="Net_UserAgent_Detect::singleton" />
+ <provides type="function" name="Net_UserAgent_Detect::detect" />
+ <provides type="function" name="Net_UserAgent_Detect::setOption" />
+ <provides type="function" name="Net_UserAgent_Detect::isBrowser" />
+ <provides type="function" name="Net_UserAgent_Detect::getBrowser" />
+ <provides type="function" name="Net_UserAgent_Detect::getBrowserString" />
+ <provides type="function" name="Net_UserAgent_Detect::isIE" />
+ <provides type="function" name="Net_UserAgent_Detect::isNavigator" />
+ <provides type="function" name="Net_UserAgent_Detect::isNetscape" />
+ <provides type="function" name="Net_UserAgent_Detect::isOS" />
+ <provides type="function" name="Net_UserAgent_Detect::getOS" />
+ <provides type="function" name="Net_UserAgent_Detect::getOSString" />
+ <provides type="function" name="Net_UserAgent_Detect::setQuirk" />
+ <provides type="function" name="Net_UserAgent_Detect::hasQuirk" />
+ <provides type="function" name="Net_UserAgent_Detect::getQuirk" />
+ <provides type="function" name="Net_UserAgent_Detect::setFeature" />
+ <provides type="function" name="Net_UserAgent_Detect::hasFeature" />
+ <provides type="function" name="Net_UserAgent_Detect::getFeature" />
+ <provides type="function" name="Net_UserAgent_Detect::getAcceptType" />
+ <provides type="function" name="Net_UserAgent_Detect::setAcceptType" />
+ <provides type="function" name="Net_UserAgent_Detect::hasAcceptType" />
+ <provides type="function" name="Net_UserAgent_Detect::getUserAgent" />
<filelist>
- <dir name="/" baseinstalldir="Net/UserAgent">
- <file role="php">Detect.php</file>
- </dir>
+ <file role="test" baseinstalldir="Net_UserAgent_Detect" name="tests/example.php"/>
+ <file role="php" baseinstalldir="Net_UserAgent_Detect" name="Detect.php"/>
</filelist>
</release>
<changelog>
<release>
- <license>PHP 2.01</license>
- <state>stable</state>
<version>1.0</version>
<date>2002-05-21</date>
- <notes>
- This is the initial independent PEAR release.
- </notes>
- <filelist>
- <dir name="/" baseinstalldir="Net/UserAgent">
- <file role="php">Detect.php</file>
- </dir>
- </filelist>
+ <license>PHP 2.01</license>
+ <state>stable</state>
+ <notes>This is the initial independent PEAR release.</notes>
+ </release>
+ <release>
+ <version>2.0.1</version>
+ <date>2004-03-11</date>
+ <license>PHP 2.01</license>
+ <state>stable</state>
+ <notes>* Made it PHP5 compatible in a way that is BC
+* Added support for Safari
+* Bumped konq's javascript version up to 1.4
+* Fix bug where w3m caused warnings
+* fixed a notice error when the user agent is empty
+* Fixed missing windows xp detection and added nested_table_render_bug quirk for netscape 4.8 and below.
+* Code cleanups.</notes>
+ </release>
+ <release>
+ <version>2.1.0</version>
+ <date>2005-04-18</date>
+ <license>PHP License</license>
+ <state>stable</state>
+ <notes>* Added support for firefox, opera6, opera7, aol8, webdav, netgem/iplayer, and win2003
+* The getQuirk() method now works correctly
+* Normally all browser information is cached the first time Net_UserAgent_Detect is run on a page to make it as speedy as possible. However, in some case there is need to clear the cached data. This can now be done by setting the &quot;re-evaluate&quot; option.</notes>
</release>
</changelog>
</package>

0 comments on commit 9aebee9

Please sign in to comment.