PEAR PEAR Base System The PEAR package contains: * the PEAR base class * the PEAR_Error error handling mechanism * the PEAR installer, for creating, distributing and installing packages PHP License ssb lead Stig Sæther Bakken stig@php.net cox developer Tomas V.V.Cox cox@idecnet.com mj helper Martin Jansen mj@php.net 1.1-dev stable 2003-01-10 PEAR BASE CLASS: * PEAR_Error now supports exceptions when using Zend Engine 2. Set the error mode to PEAR_ERROR_EXCEPTION to make PEAR_Error throw itself as an exception (invoke PEAR errors with raiseError() or throwError() just like before). PEAR INSTALLER: * Packaging and validation now parses PHP source code (unless ext/tokenizer is disabled) and does some coding standard conformance checks. Specifically, the names of classes and functions are checked to ensure that they are prefixed with the package name. If your package has symbols that should be without this prefix, you can override this warning by explicitly adding a "provides" entry in your package.xml file. See the package.xml file for this release for an example (OS_Guess, System and md5_file). All classes and non-private (not underscore-prefixed) methods and functions are now registered during "pear package". Archive_Tar Console_Getopt 1.0.1 stable 2003-01-10 * PEAR_Error class has call backtrace available by calling getBacktrace(). Available if used with PHP 4.3 or newer. * PEAR_Config class uses getenv() rather than $_ENV to read environment variables. * System::which() Windows fix, now looks for exe/bat/cmd/com suffixes rather than just exe * Added "pear cvsdiff" command * Windows output buffering bugfix for "pear" command Archive_Tar Console_Getopt 1.0 stable 2002-12-27 * set default cache_ttl to 1 hour * added "clear-cache" command Archive_Tar Console_Getopt 1.0b3 stable 2002-12-13 * fixed "info" shortcut (conflicted with "install") * added "php_bin" config parameter * all "non-personal" config parameters now use environment variables for defaults (very useful to override the default php_dir on Windows!) Archive_Tar Console_Getopt 1.0b2 stable 2002-11-26 Changes, Installer: * --force option no longer ignores errors, use --ignore-errors instead * installer transactions: failed installs abort cleanly, without leaving half-installed packages around 1.0b1 stable 2002-10-12 New Features, Installer: * new command: "pear makerpm" * new command: "pear search" * new command: "pear upgrade-all" * new command: "pear config-help" * new command: "pear sign" * Windows support for "pear build" (requires msdev) * new dependency type: "zend" * XML-RPC results may now be cached (see cache_dir and cache_ttl config) * HTTP proxy authorization support * install/upgrade install-root support Bugfixes, Installer: * fix for XML-RPC bug that made some remote commands fail * fix problems under Windows with DIRECTORY_SEPARATOR * lots of other minor fixes * --force option did not work for "pear install Package" * http downloader used "4.2.1" rather than "PHP/4.2.1" as user agent * bending over a little more to figure out how PHP is installed * "platform" file attribute was not included during "pear package" New Features, PEAR Library: * added PEAR::loadExtension($ext) * added PEAR::delExpect() * System::mkTemp() now cleans up at shutdown * defined PEAR_ZE2 constant (boolean) * added PEAR::throwError() with a simpler API than raiseError() Bugfixes, PEAR Library: * ZE2 compatibility fixes * use getenv() as fallback for $_ENV Archive_Tar Console_Getopt 0.90 beta 2002-05-28 * fix: "help" command was broken * new command: "info" * new command: "config-help" * un-indent multi-line data from xml description files * new command: "build" * fix: config-set did not work with "set" parameters * disable magic_quotes_runtime * "install" now builds and installs C extensions * added PEAR::delExpect() * System class no longer inherits PEAR * grouped PEAR_Config parameters * add --nobuild option to install/upgrade commands * new and more generic Frontend API Archive_Tar Console_Getopt 0.10 beta 2002-05-26 Lots of stuff this time. 0.9 was not actually self-hosting, even though it claimed to be. This version finally is self-hosting (really!), meaning you can upgrade the installer with the command "pear upgrade PEAR". * new config paramers: http_proxy and umask * HTTP proxy support when downloading packages * generalized command handling code * and fixed the bug that would not let commands have the same options as "pear" itself * added long options to every command * added command shortcuts ("pear help shortcuts") * added stub for Gtk installer * some phpdoc fixes * added class dependency detector (using ext/tokenizer) * dependency handling fixes * added OS_Guess class for detecting OS * install files with the "platform" attribute set only on matching operating systems * PEAR_Remote now falls back to the XML_RPC package if xmlrpc-epi is not available * renamed command: package-list -> list * new command: package-dependencies * lots of minor fixes Archive_Tar Console_Getopt 0.9 beta 2002-04-07 First package release. Commands implemented: remote-package-info list-upgrades list-remote-packages download config-show config-get config-set list-installed shell-test install uninstall upgrade package package-list package-info login logout