Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 66d31580f5f8ec50c56a4ab91ae7bb9097ecaeaf 1 parent 12f5cfc
PHP SVN authored
Showing with 0 additions and 301 deletions.
  1. +0 −64 package.php
  2. +0 −234 package.xml
  3. +0 −3  phpdoc.sh
View
64 package.php
@@ -1,64 +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.9';
-$notes = <<<EOT
-Improving the performance of line format parsing. (Bug 8766)
-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->addMaintainer('lead', 'yunosh', 'Jan Schneider', 'jan@horde.org');
-$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
234 package.xml
@@ -1,234 +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.11">
- <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>
- <maintainer>
- <user>yunosh</user>
- <name>Jan Schneider</name>
- <email>jan@horde.org</email>
- <role>lead</role>
- </maintainer>
- </maintainers>
- <release>
- <version>1.9.9</version>
- <date>2006-10-11</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>Improving the performance of line format parsing. (Bug 8766)
- </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="yes">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.9</version>
- <date>2006-10-11</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>Improving the performance of line format parsing. (Bug 8766)
- </notes>
- </release>
- <release>
- <version>1.9.9</version>
- <date>2006-10-08</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>Improving the performance of line format parsing. (Bug 8766)
- </notes>
- </release>
- <release>
- <version>1.9.8</version>
- <date>2006-07-31</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>The window handler now allows the entire CSS style to be set instead of just the text color.
- </notes>
- </release>
- <release>
- <version>1.9.8</version>
- <date>2006-07-31</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>The window handler now allows the entire CSS style to be set instead of just the text color.
- </notes>
- </release>
- <release>
- <version>1.9.7</version>
- <date>2006-07-07</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>Provided documentation on logging PHP assertions and exceptions.
-All stock handlers now provide stubbed open() and close() method.
-The composite handler now tracks the success of its child handlers&apos; operations.
-The composite handler&apos;s log() method now opens its child handlers if they&apos;re not already open.
- </notes>
- </release>
- <release>
- <version>1.9.7</version>
- <date>2006-07-07</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>Provided documentation on logging PHP assertions and exceptions.
-All stock handlers now provide stubbed open() and close() method.
-The composite handler now tracks the success of its child handlers&apos; operations.
-The composite handler&apos;s log() method now opens its child handlers if they&apos;re not already open.
- </notes>
- </release>
- <release>
- <version>1.9.6</version>
- <date>2006-07-07</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)
-Instances of strftime(&apos;%T&apos;) have been replaced with &apos;%H:%M:%S&apos;. (Bug 7629)
-Provided documentation on logging PHP assertions and exceptions.
- </notes>
- </release>
- <release>
- <version>1.9.6</version>
- <date>2006-07-07</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>_getBacktraceVars() now works with composite handlers. (Bug 7602)
-Instances of strftime(&apos;%T&apos;) have been replaced with &apos;%H:%M:%S&apos;. (Bug 7629)
-Provided documentation on logging PHP assertions and exceptions.
- </notes>
- </release>
- <release>
- <version>1.9.5</version>
- <date>2006-04-30</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>Correcting the sqlite dependency. It is now optional. (Bug 7523)
- </notes>
- </release>
- <release>
- <version>1.9.5</version>
- <date>2006-04-30</date>
- <license>PHP License</license>
- <state>stable</state>
- <notes>Correcting the sqlite dependency. It is now optional. (Bug 7523)
- </notes>
- </release>
- <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-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.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/*
Please sign in to comment.
Something went wrong with that request. Please try again.