Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 655221f22cf5027a14a3cb97845acda76172875d 1 parent 4221119
PHP SVN authored
Showing with 0 additions and 227 deletions.
  1. +0 −66 package.php
  2. +0 −158 package.xml
  3. +0 −3  phpdoc.sh
View
66 package.php
@@ -1,66 +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.7';
-$notes = <<<EOT
-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' operations.
-The composite handler's log() method now opens its child handlers if they're not already open.
-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
158 package.xml
@@ -1,158 +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.9">
- <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.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>
- <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.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.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.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.