Permalink
Browse files

This commit was manufactured by cvs2svn to create tag 'RELEASE_1_9_5'.

  • Loading branch information...
1 parent fa1154c commit 3a0984d79b85bab2d5150fb90c316e5cd5bfd6cf PHP SVN committed Apr 25, 2006
Showing with 0 additions and 258 deletions.
  1. +0 −69 package.php
  2. +0 −186 package.xml
  3. +0 −3 phpdoc.sh
View
69 package.php
@@ -1,69 +0,0 @@
-<?php
-
-require_once 'PEAR/PackageFileManager2.php';
-PEAR::setErrorHandling(PEAR_ERROR_DIE);
-
-$desc = <<<EOT
-The Log framework provides an abstracted logging system. It supports logging to console, file, syslog, SQL, Sqlite, mail, and mcal targets. It also provides a subject - observer mechanism.
-EOT;
-
-$version = '1.9.4';
-$notes = <<<EOT
-If a 'DB' class already exists, the SQL handler won't attempt to require DB.php. (Bug 6214)
-When creating the Log instance in factory(), return a proper reference to the object. (Bug 5261)
-When preparing the MDB2 statement, mark it as MDB2_PREPARE_MANIP. (Bug 6323)
-If the desired Log class already exists (because the caller has supplied it from some custom location), simply instantiate and return a new instance. (Mads Danquah)
-The observer's factory method now provides more robust file location logic. (Bug 6831)
-Added MIN() and MAX() functions for calculating the minimum and maximum log masks based on a given priority. MAX() superceeds the existing UPTO() function, which is now deprecated.
-Settled on the PHP4-style "return object by reference" notation for good, even though it results in a E_STRICT warning under PHP5. (Bug 6689)
-EOT;
-
-$package = new PEAR_PackageFileManager2();
-
-$result = $package->setOptions(array(
- 'filelistgenerator' => 'cvs',
- 'changelogoldtonew' => false,
- 'simpleoutput' => true,
- 'baseinstalldir' => '/',
- 'packagefile' => 'package2.xml',
- 'packagedirectory' => '.'));
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
-
-$package->setPackage('Log');
-$package->setPackageType('php');
-$package->setSummary('Logging utilities');
-$package->setDescription($desc);
-$package->setChannel('pear.php.net');
-$package->setLicense('PHP License', 'http://www.php.net/license/3_01.txt');
-$package->setAPIVersion('1.0.0');
-$package->setAPIStability('stable');
-$package->setReleaseVersion($version);
-$package->setReleaseStability('stable');
-$package->setNotes($notes);
-$package->setPhpDep('4.3.0');
-$package->setPearinstallerDep('1.4.3');
-$package->addMaintainer('lead', 'jon', 'Jon Parise', 'jon@php.net');
-$package->addIgnore(array('package.php', 'phpdoc.sh', 'package.xml', 'package2.xml'));
-$package->addPackageDepWithChannel('optional', 'DB', 'pear.php.net', '1.3');
-$package->addPackageDepWithChannel('optional', 'MDB2', 'pear.php.net', '2.0.0RC1');
-$package->addExtensionDep('optional', 'sqlite');
-
-$package->generateContents();
-$package1 = &$package->exportCompatiblePackageFile1();
-
-if ($_SERVER['argv'][1] == 'commit') {
- $result = $package->writePackageFile();
- $result = $package1->writePackageFile();
-} else {
- $result = $package->debugPackageFile();
- $result = $package1->debugPackageFile();
-}
-
-if (PEAR::isError($result)) {
- echo $result->getMessage();
- die();
-}
View
186 package.xml
@@ -1,186 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0">
-<package version="1.0" packagerversion="1.4.6">
- <name>Log</name>
- <summary>Logging utilities</summary>
- <description>The Log framework provides an abstracted logging system. It supports logging to console, file, syslog, SQL, Sqlite, mail, and mcal targets. It also provides a subject - observer mechanism.
- </description>
- <maintainers>
- <maintainer>
- <user>jon</user>
- <name>Jon Parise</name>
- <email>jon@php.net</email>
- <role>lead</role>
- </maintainer>
- </maintainers>
- <release>
- <version>1.9.4</version>
- <date>2006-04-24</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>If a &apos;DB&apos; class already exists, the SQL handler won&apos;t attempt to require DB.php. (Bug 6214)
-When creating the Log instance in factory(), return a proper reference to the object. (Bug 5261)
-When preparing the MDB2 statement, mark it as MDB2_PREPARE_MANIP. (Bug 6323)
-If the desired Log class already exists (because the caller has supplied it from some custom location), simply instantiate and return a new instance. (Mads Danquah)
-The observer&apos;s factory method now provides more robust file location logic. (Bug 6831)
-Added MIN() and MAX() functions for calculating the minimum and maximum log masks based on a given priority. MAX() superceeds the existing UPTO() function, which is now deprecated.
-Settled on the PHP4-style &quot;return object by reference&quot; notation for good, even though it results in a E_STRICT warning under PHP5. (Bug 6689)
- </notes>
- <deps>
- <dep type="php" rel="ge" version="4.3.0" optional="no"/>
- <dep type="pkg" rel="ge" version="1.3" optional="yes">DB</dep>
- <dep type="pkg" rel="ge" version="2.0.0RC1" optional="yes">MDB2</dep>
- <dep type="ext" rel="has" optional="no">sqlite</dep>
- </deps>
- <filelist>
- <dir name="/" baseinstalldir="/">
- <dir name="docs">
- <dir name="examples">
- <file role="doc" name="composite.php"/>
- <file role="doc" name="console.php"/>
- <file role="doc" name="display.php"/>
- <file role="doc" name="error_log.php"/>
- <file role="doc" name="file.php"/>
- <file role="doc" name="mail.php"/>
- <file role="doc" name="null.php"/>
- <file role="doc" name="observer_mail.php"/>
- <file role="doc" name="pear_error_handler.php"/>
- <file role="doc" name="php_error_handler.php"/>
- <file role="doc" name="sql.php"/>
- <file role="doc" name="sqlite.php"/>
- <file role="doc" name="syslog.php"/>
- <file role="doc" name="win.php"/>
- </dir> <!-- /docs/examples -->
- <file role="doc" name="guide.txt"/>
- </dir> <!-- /docs -->
- <dir name="Log">
- <file role="php" name="composite.php"/>
- <file role="php" name="console.php"/>
- <file role="php" name="daemon.php"/>
- <file role="php" name="display.php"/>
- <file role="php" name="error_log.php"/>
- <file role="php" name="file.php"/>
- <file role="php" name="mail.php"/>
- <file role="php" name="mcal.php"/>
- <file role="php" name="mdb2.php"/>
- <file role="php" name="null.php"/>
- <file role="php" name="observer.php"/>
- <file role="php" name="sql.php"/>
- <file role="php" name="sqlite.php"/>
- <file role="php" name="syslog.php"/>
- <file role="php" name="win.php"/>
- </dir> <!-- /Log -->
- <dir name="misc">
- <file role="data" name="log.sql"/>
- </dir> <!-- /misc -->
- <dir name="tests">
- <file role="test" name="composite.phpt"/>
- <file role="test" name="console.phpt"/>
- <file role="test" name="display.phpt"/>
- <file role="test" name="error_log.phpt"/>
- <file role="test" name="extract.phpt"/>
- <file role="test" name="extract2.phpt"/>
- <file role="test" name="factory.phpt"/>
- <file role="test" name="file.phpt"/>
- <file role="test" name="levels.phpt"/>
- <file role="test" name="null.phpt"/>
- <file role="test" name="priority.phpt"/>
- <file role="test" name="singleton.phpt"/>
- <file role="test" name="sqlite.phpt"/>
- <file role="test" name="sql_ident.phpt"/>
- </dir> <!-- /tests -->
- <file role="php" name="Log.php"/>
- </dir> <!-- / -->
- </filelist>
- </release>
- <changelog>
- <release>
- <version>1.9.4</version>
- <date>2006-04-24</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>If a &apos;DB&apos; class already exists, the SQL handler won&apos;t attempt to require DB.php. (Bug 6214)
-When creating the Log instance in factory(), return a proper reference to the object. (Bug 5261)
-When preparing the MDB2 statement, mark it as MDB2_PREPARE_MANIP. (Bug 6323)
-If the desired Log class already exists (because the caller has supplied it from some custom location), simply instantiate and return a new instance. (Mads Danquah)
-The observer&apos;s factory method now provides more robust file location logic. (Bug 6831)
-Added MIN() and MAX() functions for calculating the minimum and maximum log masks based on a given priority. MAX() superceeds the existing UPTO() function, which is now deprecated.
-Settled on the PHP4-style &quot;return object by reference&quot; notation for good, even though it results in a E_STRICT warning under PHP5. (Bug 6689)
- </notes>
- </release>
- <release>
- <version>1.9.4</version>
- <date>2006-04-20</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>If a &apos;DB&apos; class already exists, the SQL handler won&apos;t attempt to require DB.php. (Bug 6214)
-When creating the Log instance in factory(), return a proper reference to the object. (Bug 5261)
-When preparing the MDB2 statement, mark it as MDB2_PREPARE_MANIP. (Bug 6323)
-If the desired Log class already exists (because the caller has supplied it from some custom location), simply instantiate and return a new instance. (Mads Danquah)
-The observer&apos;s factory method now provides more robust file location logic. (Bug 6831)
-Added MIN() and MAX() functions for calculating the minimum and maximum log masks based on a given priority. MAX() superceeds the existing UPTO() function, which is now deprecated.
- </notes>
- </release>
- <release>
- <version>1.9.4</version>
- <date>2006-04-20</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>If a &apos;DB&apos; class already exists, the SQL handler won&apos;t attempt to require DB.php. (Bug 6214)
-When creating the Log instance in factory(), return a proper reference to the object. (Bug 5261)
-When preparing the MDB2 statement, mark it as MDB2_PREPARE_MANIP. (Bug 6323)
-If the desired Log class already exists (because the caller has supplied it from some custom location), simply instantiate and return a new instance. (Mads Danquah)
-The observer&apos;s factory method now provides more robust file location logic. (Bug 6831)
-Added MIN() and MAX() functions for calculating the minimum and maximum log masks based on a given priority. MAX() superceeds the existing UPTO() function, which is now deprecated.
- </notes>
- </release>
- <release>
- <version>1.9.4</version>
- <date>2006-03-01</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>If a &apos;DB&apos; class already exists, the SQL handler won&apos;t attempt to require DB.php. (Bug 6214)
-When creating the Log instance in factory(), return a proper reference to the object. (Bug 5261)
-When preparing the MDB2 statement, mark it as MDB2_PREPARE_MANIP. (Bug 6323)
-If the desired Log class already exists (because the caller has supplied it from some custom location), simply instantiate and return a new instance. (Mads Danquah)
-The observer&apos;s factory method now provides more robust file location logic. (Bug 6831)
- </notes>
- </release>
- <release>
- <version>1.9.3</version>
- <date>2005-12-04</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>The Observer code is now PHP 4.4 compliant. (Bug 5776)
-Log::factory(), Log::singleton(), and Log_observer::factory() now return null instead of false on failure. This is more consistent with the model that these methods return object references. Backwards compatibility is only violated if users were explicitly testing for a literal &apos;false&apos; result.
- </notes>
- </release>
- <release>
- <version>1.9.3</version>
- <date>2005-12-04</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>The Observer code is now PHP 4.4 compliant. (Bug 5776)
-Log::factory(), Log::singleton(), and Log_observer::factory() now return null instead of false on failure. This is more consistent with the model that these methods return object references. Backwards compatibility is only violated if users were explicitly testing for a literal &apos;false&apos; result.
- </notes>
- </release>
- <release>
- <version>1.9.3</version>
- <date>2005-12-04</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>The Observer code is now PHP 4.4 compliant. (Bug 5776)
-Log::factory(), Log::singleton(), and Log_observer::factory() now return null instead of false on failure. This is more consistent with the model that these methods return object references. Backwards compatibility is only violated if users were explicitly testing for a literal &apos;false&apos; result.
- </notes>
- </release>
- <release>
- <version>1.9.3</version>
- <date>2005-12-04</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>The Observer code is now PHP 4.4 compliant. (Bug 5776)
-Log::factory(), Log::singleton(), and Log_observer::factory() now return null instead of false on failure. This is more consistent with the model that these methods return object references. Backwards compatibility is only violated if users were explicitly testing for a literal &apos;false&apos; result.
- </notes>
- </release>
- </changelog>
-</package>
View
3 phpdoc.sh
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-phpdoc -f Log.php -d Log -t docs/api -p -ti "Log Package API" -dn Log -dc Log -ed docs/examples -i CVS/*

0 comments on commit 3a0984d

Please sign in to comment.