cvs: pear /Text_Wiki package.xml /Text_Wiki/Text Wiki.php /Text_Wiki/Text/Wiki Parse.php Render.php /Text_Wiki/Text/Wiki/Parse/Default Anchor.php
Blockquote.php Bold.php Break.php Center.php Code.php Colortext.php Deflist.php Delimiter.php Embed.php Emphasis.php Freelink.php Function.php
Heading.php Horiz.php Html.php Image.php Include.php Interwiki.php Italic.php List.php Newline.php Paragraph.php Phplookup.php Prefilter.php Raw.php
Revise.php Strong.php Superscript.php Table.php Tighten.php Toc.php Tt.php Url.php Wikilink.php /Text_Wiki/Text/Wiki/Render/Plain Prefilter.php
/Text_Wiki/Text/Wiki/Render/Xhtml Prefilter.php

From: Date: Tue, 22 Feb 2005 19:12:59 +0000
Subject: cvs: pear /Text_Wiki package.xml /Text_Wiki/Text Wiki.php /Text_Wiki/Text/Wiki Parse.php Render.php /Text_Wiki/Text/Wiki/Parse/Default Anchor.php
Blockquote.php Bold.php Break.php Center.php Code.php Colortext.php Deflist.php Delimiter.php Embed.php Emphasis.php Freelink.php Function.php
Heading.php Horiz.php Html.php Image.php Include.php Interwiki.php Italic.php List.php Newline.php Paragraph.php Phplookup.php Prefilter.php Raw.php
Revise.php Strong.php Superscript.php Table.php Tighten.php Toc.php Tt.php Url.php Wikilink.php /Text_Wiki/Text/Wiki/Render/Plain Prefilter.php
/Text_Wiki/Text/Wiki/Render/Xhtml Prefilter.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29684@lists.php.net to get a copy of this message
pmjones Tue Feb 22 14:12:59 2005 EDT Modified files: /pear/Text_Wiki package.xml /pear/Text_Wiki/Text Wiki.php /pear/Text_Wiki/Text/Wiki Parse.php Render.php /pear/Text_Wiki/Text/Wiki/Parse/Default Anchor.php Blockquote.php Bold.php Break.php Center.php Code.php Colortext.php Deflist.php Delimiter.php Embed.php Emphasis.php Freelink.php Function.php Heading.php Horiz.php Html.php Image.php Include.php Interwiki.php Italic.php List.php Newline.php Paragraph.php Phplookup.php Prefilter.php Raw.php Revise.php Strong.php Superscript.php Table.php Tighten.php Toc.php Tt.php Url.php Wikilink.php /pear/Text_Wiki/Text/Wiki/Render/Plain Prefilter.php /pear/Text_Wiki/Text/Wiki/Render/Xhtml Prefilter.php Log: added broad swaths of docblock comments

http://cvs.php.net/diff.php/pear/Text_Wiki/package.xml?r1=1.38&r2=1.39&ty=u Index: pear/Text_Wiki/package.xml diff -u pear/Text_Wiki/package.xml:1.38 pear/Text_Wiki/package.xml:1.39 --- pear/Text_Wiki/package.xml:1.38 Tue Feb 1 11:54:49 2005 +++ pear/Text_Wiki/package.xml Tue Feb 22 14:12:57 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<!-- $Id: package.xml,v 1.38 2005/02/01 16:54:49 pmjones Exp $ --> +<!-- $Id: package.xml,v 1.39 2005/02/22 19:12:57 pmjones Exp $ --> <package version="1.0"> <name>Text_Wiki</name> <summary>Abstracts parsing and rendering rules for Wiki markup in structured plain text.</summary> @@ -9,7 +9,7 @@ <maintainer> <user>pmjones</user> <name>Paul M. Jones</name> - <email>pmjones@ciaweb.net</email> + <email>pmjones@php.net</email> <role>lead</role> </maintainer> </maintainers> http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki.php?r1=1.27&r2=1.28&ty=u Index: pear/Text_Wiki/Text/Wiki.php diff -u pear/Text_Wiki/Text/Wiki.php:1.27 pear/Text_Wiki/Text/Wiki.php:1.28 --- pear/Text_Wiki/Text/Wiki.php:1.27 Tue Feb 1 11:56:56 2005 +++ pear/Text_Wiki/Text/Wiki.php Tue Feb 22 14:12:57 2005 @@ -8,11 +8,11 @@ * * @package Text_Wiki * -* @author Paul M. Jones <pmjones@ciaweb.net> +* @author Paul M. Jones <pmjones@php.net> * * @license LGPL * -* @version $Id: Wiki.php,v 1.27 2005/02/01 16:56:56 pmjones Exp $ +* @version $Id: Wiki.php,v 1.28 2005/02/22 19:12:57 pmjones Exp $ * */ @@ -40,7 +40,9 @@ * * @package Text_Wiki * -* @version 0.25.0 beta +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ * */ http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse.php?r1=1.2&r2=1.3&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse.php diff -u pear/Text_Wiki/Text/Wiki/Parse.php:1.2 pear/Text_Wiki/Text/Wiki/Parse.php:1.3 --- pear/Text_Wiki/Text/Wiki/Parse.php:1.2 Sat Sep 25 15:05:13 2004 +++ pear/Text_Wiki/Text/Wiki/Parse.php Tue Feb 22 14:12:58 2005 @@ -4,8 +4,24 @@ * * Baseline rule class for extension into a "real" parser component. * +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version @package_version@ +* +*/ + +/** +* +* Baseline rule class for extension into a "real" parser component. +* * Text_Wiki_Rule classes do not stand on their own; they are called by a -* Text_Wiki object, typcially in the transform()method. Each rule class +* Text_Wiki object, typcially in the transform() method. Each rule class * performs three main activities: parse, process, and render. * * The parse() method takes a regex and applies it to the whole block of @@ -18,11 +34,13 @@ * process() method returns the text that should replace the matched text * from parse(). * -* @author Paul M. Jones <pmjones@ciaweb.net> +* @category Text * * @package Text_Wiki * -* $Id: Parse.php,v 1.2 2004/09/25 19:05:13 pmjones Exp $ +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ * */ http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Render.php?r1=1.3&r2=1.4&ty=u Index: pear/Text_Wiki/Text/Wiki/Render.php diff -u pear/Text_Wiki/Text/Wiki/Render.php:1.3 pear/Text_Wiki/Text/Wiki/Render.php:1.4 --- pear/Text_Wiki/Text/Wiki/Render.php:1.3 Sat Sep 25 15:05:13 2004 +++ pear/Text_Wiki/Text/Wiki/Render.php Tue Feb 22 14:12:58 2005 @@ -1,5 +1,37 @@ <?php +/** +* +* Base rendering class for parsed and tokenized text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Render.php,v 1.4 2005/02/22 19:12:58 pmjones Exp $ +* +*/ + +/** +* +* Base rendering class for parsed and tokenized text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version @package_version@ +* +*/ + class Text_Wiki_Render { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Anchor.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Anchor.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Anchor.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Anchor.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Anchor.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Anchor.php Tue Feb 22 14:12:58 2005 @@ -2,6 +2,24 @@ /** * +* Parses for anchor targets. +* +* @category Text +* +* @package Text_Wiki +* +* @author Manuel Holtgrewe <purestorm at ggnore dot net> +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Anchor.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ + +/** +* * This class implements a Text_Wiki_Parse to add an anchor target name * in the wiki page. * @@ -9,8 +27,12 @@ * * @author Paul M. Jones <pmjones at ciaweb dot net> * +* @category Text +* * @package Text_Wiki -* +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Anchor extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Blockquote.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Blockquote.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Blockquote.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Blockquote.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Blockquote.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Blockquote.php Tue Feb 22 14:12:58 2005 @@ -4,17 +4,35 @@ * * Parse for block-quoted text. * +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Blockquote.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ + +/** +* +* Parse for block-quoted text. +* * Find source text marked as a blockquote, identified by any number of * greater-than signs '>' at the start of the line, followed by a space, * and then the quote text; each '>' indicates an additional level of * quoting. * -* $Id: Blockquote.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +* @category Text * -* @author Paul M. Jones <pmjones@ciaweb.net> -* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Blockquote extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Bold.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Bold.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Bold.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Bold.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Bold.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Bold.php Tue Feb 22 14:12:58 2005 @@ -1,19 +1,39 @@ <?php -// $Id: Bold.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for bold text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Bold.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for bold text. +* * This class implements a Text_Wiki_Rule to find source text marked for * strong emphasis (bold) as defined by text surrounded by three * single-quotes. On parsing, the text itself is left in place, but the * starting and ending instances of three single-quotes are replaced with * tokens. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Bold extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Break.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Break.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Break.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Break.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Break.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Break.php Tue Feb 22 14:12:58 2005 @@ -1,16 +1,36 @@ <?php -// $Id: Break.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for explicit line breaks. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Break.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for explicit line breaks. +* * This class implements a Text_Wiki_Parse to mark forced line breaks in the * source text. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Break extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Center.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Center.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Center.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Center.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Center.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Center.php Tue Feb 22 14:12:58 2005 @@ -1,16 +1,36 @@ <?php -// $Id: Center.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for centered lines of text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Center.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for centered lines of text. +* * This class implements a Text_Wiki_Parse to find lines marked for centering. * The line must start with "= " (i.e., an equal-sign followed by a space). * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Center extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Code.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Code.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Code.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Code.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Code.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Code.php Tue Feb 22 14:12:58 2005 @@ -1,9 +1,25 @@ <?php -// $Id: Code.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for text marked as a code example block. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Code.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for text marked as a code example block. +* * This class implements a Text_Wiki_Parse to find sections marked as code * examples. Blocks are marked as the string <code> on a line by itself, * followed by the inline code example, and terminated with the string @@ -11,10 +27,14 @@ * native PHP highlight_string() function to colorize it, then surrounded * with <pre>...</pre> tags when rendered as XHTML. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Code extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Colortext.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Colortext.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Colortext.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Colortext.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Colortext.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Colortext.php Tue Feb 22 14:12:58 2005 @@ -1,16 +1,33 @@ <?php -// $Id: Colortext.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for colorized text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Colortext.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * -* This class implements a Text_Wiki_Parse to find source text marked for -* coloring. -* -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* Parses for colorized text. +* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Colortext extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Deflist.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Deflist.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Deflist.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Deflist.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Deflist.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Deflist.php Tue Feb 22 14:12:58 2005 @@ -1,20 +1,40 @@ <?php -// $Id: Deflist.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for definition lists. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Deflist.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for definition lists. +* * This class implements a Text_Wiki_Parse to find source text marked as a * definition list. In short, if a line starts with ':' then it is a -* definition list item; another ':' on the same lines indicates the end +* definition list item; another ':' on the same line indicates the end * of the definition term and the beginning of the definition narrative. * The list items must be on sequential lines (no blank lines between * them) -- a blank line indicates the beginning of a new list. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Deflist extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Delimiter.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Delimiter.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Delimiter.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Delimiter.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Delimiter.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Delimiter.php Tue Feb 22 14:12:58 2005 @@ -1,18 +1,38 @@ <?php -// $Id: Delimiter.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for Text_Wiki delimiter characters already in the source text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Delimiter.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for Text_Wiki delimiter characters already in the source text. +* * This class implements a Text_Wiki_Parse to find instances of the delimiter * character already embedded in the source text; it extracts them and replaces * them with a delimited token, then renders them as the delimiter itself * when the target format is XHTML. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Delimiter extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Embed.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Embed.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Embed.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Embed.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Embed.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Embed.php Tue Feb 22 14:12:58 2005 @@ -1,9 +1,25 @@ <?php -// $Id: Embed.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Embeds the results of a PHP script at render-time. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Embed.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Embeds the results of a PHP script at render-time. +* * This class implements a Text_Wiki_Parse to embed the contents of a URL * inside the page at render-time. Typically used to get script output. * This differs from the 'include' rule, which incorporates results at @@ -14,10 +30,14 @@ * occur if the embedded output has <script> or other similar tags. Be * careful. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Embed extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Emphasis.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Emphasis.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Emphasis.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Emphasis.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Emphasis.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Emphasis.php Tue Feb 22 14:12:58 2005 @@ -1,18 +1,38 @@ <?php -// $Id: Emphasis.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for emphasized text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Emphasis.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for emphasized text. +* * This class implements a Text_Wiki_Parse to find source text marked for * emphasis (italics) as defined by text surrounded by two single-quotes. * On parsing, the text itself is left in place, but the starting and ending * instances of two single-quotes are replaced with tokens. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_emphasis extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Freelink.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Freelink.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Freelink.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Freelink.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Freelink.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Freelink.php Tue Feb 22 14:12:58 2005 @@ -1,9 +1,25 @@ <?php -// $Id: Freelink.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for wiki freelink text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Freelink.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for freelinked page links. +* * This class implements a Text_Wiki_Parse to find source text marked as a * wiki freelink, and automatically create a link to that page. * @@ -15,10 +31,14 @@ * Page)). Finally, you can use named anchors on the target page: * ((MyHomePage|My Home Page#Section1)). * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Freelink extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Function.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Function.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Function.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Function.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Function.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Function.php Tue Feb 22 14:12:58 2005 @@ -1,6 +1,34 @@ <?php -// $Id: Function.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for an API function documentation block. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Function.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ + +/** +* +* Parses for an API function documentation block. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* +*/ class Text_Wiki_Parse_Function extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Heading.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Heading.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Heading.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Heading.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Heading.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Heading.php Tue Feb 22 14:12:58 2005 @@ -1,19 +1,39 @@ <?php -// $Id: Heading.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for heading text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Heading.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for heading text. +* * This class implements a Text_Wiki_Parse to find source text marked to * be a heading element, as defined by text on a line by itself prefixed * with a number of plus signs (+). The heading text itself is left in * the source, but is prefixed and suffixed with delimited tokens marking * the start and end of the heading. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Heading extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Horiz.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Horiz.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Horiz.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Horiz.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Horiz.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Horiz.php Tue Feb 22 14:12:58 2005 @@ -1,16 +1,36 @@ <?php -// $Id: Horiz.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for horizontal ruling lines. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Horiz.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for horizontal ruling lines. +* * This class implements a Text_Wiki_Parse to find source text marked to * be a horizontal rule, as defined by four dashed on their own line. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Horiz extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Html.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Html.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Html.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Html.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Html.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Html.php Tue Feb 22 14:12:58 2005 @@ -1,17 +1,37 @@ <?php -// $Id: Html.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for blocks of HTML code. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Html.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for blocks of HTML code. +* * This class implements a Text_Wiki_Parse to find source text marked as * HTML to be redndred as-is. The block start is marked by <html> on its * own line, and the block end is marked by </html> on its own line. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Html extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Image.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Image.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Image.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Image.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Image.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Image.php Tue Feb 22 14:12:58 2005 @@ -1,23 +1,33 @@ <?php -// $Id: Image.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for image placement. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Image.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * -* This class implements a Text_Wiki_Parse to embed the contents of a URL -* inside the page. Typically used to get script output. -* -* This rule is inherently not secure; it allows cross-site scripting to -* occur if the embedded output has <script> or other similar tags. Be -* careful. -* -* In the future, we'll add a rule config options to set the base embed -* path so that it is limited to one directory. -* -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* Parses for image placement. +* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Image extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Include.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Include.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Include.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Include.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Include.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Include.php Tue Feb 22 14:12:58 2005 @@ -1,6 +1,20 @@ <?php -// $Id: Include.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Includes the contents of another PHP script into the source text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Include.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * @@ -16,10 +30,14 @@ * occur if the embedded output has <script> or other similar tags. Be * careful. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Include extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Interwiki.php?r1=1.2&r2=1.3&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Interwiki.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Interwiki.php:1.2 pear/Text_Wiki/Text/Wiki/Parse/Default/Interwiki.php:1.3 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Interwiki.php:1.2 Mon Jan 31 22:47:37 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Interwiki.php Tue Feb 22 14:12:58 2005 @@ -1,17 +1,37 @@ <?php -// $Id: Interwiki.php,v 1.2 2005/02/01 03:47:37 pmjones Exp $ +/** +* +* Parses for interwiki links. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Interwiki.php,v 1.3 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for interwiki links. +* * This class implements a Text_Wiki_Parse to find source text marked as * an Interwiki link. See the regex for a detailed explanation of the * text matching procedure; e.g., "InterWikiName:PageName". * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Interwiki extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Italic.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Italic.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Italic.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Italic.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Italic.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Italic.php Tue Feb 22 14:12:58 2005 @@ -1,18 +1,38 @@ <?php -// $Id: Italic.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for italic text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Italic.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for italic text. +* * This class implements a Text_Wiki_Parse to find source text marked for * emphasis (italics) as defined by text surrounded by two single-quotes. * On parsing, the text itself is left in place, but the starting and ending * instances of two single-quotes are replaced with tokens. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Italic extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/List.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/List.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/List.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/List.php Tue Feb 22 14:12:58 2005 @@ -1,9 +1,25 @@ <?php -// $Id: List.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for bulleted and numbered lists. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: List.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for bulleted and numbered lists. +* * This class implements a Text_Wiki_Parse to find source text marked as * a bulleted or numbered list. In short, if a line starts with '* ' then * it is a bullet list item; if a line starts with '# ' then it is a @@ -12,10 +28,14 @@ * separated by blank lines to improve readability. Using a non-* non-# * non-whitespace character at the beginning of a line ends the list. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_List extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Newline.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Newline.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Newline.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Newline.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Newline.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Newline.php Tue Feb 22 14:12:58 2005 @@ -1,17 +1,37 @@ <?php -// $Id: Newline.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for implied line breaks indicated by newlines. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Newline.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for implied line breaks indicated by newlines. +* * This class implements a Text_Wiki_Parse to mark implied line breaks in the * source text, usually a single carriage return in the middle of a paragraph * or block-quoted text. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Newline extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Paragraph.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Paragraph.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Paragraph.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Paragraph.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Paragraph.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Paragraph.php Tue Feb 22 14:12:58 2005 @@ -1,17 +1,37 @@ <?php -// $Id: Paragraph.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for paragraph blocks. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Paragraph.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for paragraph blocks. +* * This class implements a Text_Wiki rule to find sections of the source * text that are paragraphs. A para is any line not starting with a token * delimiter, followed by two newlines. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Paragraph extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Phplookup.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Phplookup.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Phplookup.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Phplookup.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Phplookup.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Phplookup.php Tue Feb 22 14:12:58 2005 @@ -1,16 +1,33 @@ <?php -// $Id: Phplookup.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Find source text marked for lookup in the PHP online manual. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Phplookup.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * -* Find source text marked for -* lookup in the PHP online manual. -* -* @author Paul M. Jones <pmjones@ciaweb.net> +* Find source text marked for lookup in the PHP online manual. * +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Phplookup extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Prefilter.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Prefilter.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Prefilter.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Prefilter.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Prefilter.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Prefilter.php Tue Feb 22 14:12:58 2005 @@ -1,6 +1,20 @@ <?php -// $Id: Prefilter.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* "Pre-filter" the source text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Prefilter.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * @@ -11,10 +25,14 @@ * to the top and end of the source text, compress 3 or more newlines to * 2 newlines. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Prefilter extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Raw.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Raw.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Raw.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Raw.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Raw.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Raw.php Tue Feb 22 14:12:58 2005 @@ -1,17 +1,37 @@ <?php -// $Id: Raw.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for text marked as "raw" (i.e., to be rendered as-is). +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Raw.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for text marked as "raw" (i.e., to be rendered as-is). +* * This class implements a Text_Wiki rule to find sections of the source * text that are not to be processed by Text_Wiki. These blocks of "raw" * text will be rendered as they were found. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Raw extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Revise.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Revise.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Revise.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Revise.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Revise.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Revise.php Tue Feb 22 14:12:58 2005 @@ -1,16 +1,33 @@ <?php -// $Id: Revise.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for text marked as revised (insert/delete). +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Revise.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * -* This class implements a Text_Wiki_Parse to find source text marked for -* revision. -* -* @author Paul M. Jones <pmjones@ciaweb.net> +* Parses for text marked as revised (insert/delete). * +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Revise extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Strong.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Strong.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Strong.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Strong.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Strong.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Strong.php Tue Feb 22 14:12:58 2005 @@ -1,19 +1,40 @@ <?php -// $Id: Strong.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ + +/** +* +* Parses for strongly-emphasized text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Strong.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for strongly-emphasized text. +* * This class implements a Text_Wiki_Parse to find source text marked for * strong emphasis (bold) as defined by text surrounded by three * single-quotes. On parsing, the text itself is left in place, but the * starting and ending instances of three single-quotes are replaced with * tokens. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Strong extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Superscript.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Superscript.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Superscript.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Superscript.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Superscript.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Superscript.php Tue Feb 22 14:12:58 2005 @@ -1,19 +1,33 @@ <?php -// $Id: Superscript.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for superscripted text. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Superscript.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * -* This class implements a Text_Wiki_Parse to find source text marked for -* strong emphasis (bold) as defined by text surrounded by three -* single-quotes. On parsing, the text itself is left in place, but the -* starting and ending instances of three single-quotes are replaced with -* tokens. -* -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* Parses for superscripted text. +* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Superscript extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Table.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Table.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Table.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Table.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Table.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Table.php Tue Feb 22 14:12:58 2005 @@ -1,19 +1,39 @@ <?php -// $Id: Table.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Parses for table markup. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Table.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Parses for table markup. +* * This class implements a Text_Wiki_Parse to find source text marked as a * set of table rows, where a line start and ends with double-pipes (||) * and uses double-pipes to separate table cells. The rows must be on * sequential lines (no blank lines between them) -- a blank line * indicates the beginning of a new table. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Table extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Tighten.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Tighten.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Tighten.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Tighten.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Tighten.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Tighten.php Tue Feb 22 14:12:58 2005 @@ -1,15 +1,34 @@ <?php -// $Id: Tighten.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ + +/** +* +* The rule removes all remaining newlines. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Tighten.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * * The rule removes all remaining newlines. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Tighten extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Toc.php Tue Feb 22 14:12:58 2005 @@ -1,17 +1,37 @@ <?php -// $Id: Toc.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +/** +* +* Looks through parsed text and builds a table of contents. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Toc.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ /** * +* Looks through parsed text and builds a table of contents. +* * This class implements a Text_Wiki_Parse to find all heading tokens and * build a table of contents. The [[toc]] tag gets replaced with a list * of all the level-2 through level-6 headings. * -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Tt.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Tt.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Tt.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Tt.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Tt.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Tt.php Tue Feb 22 14:12:58 2005 @@ -4,6 +4,22 @@ * * Find source text marked for teletype (monospace). * +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Tt.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ + +/** +* +* Find source text marked for teletype (monospace). +* * Defined by text surrounded by two curly braces. On parsing, the text * itself is left in place, but the starting and ending instances of * curly braces are replaced with tokens. @@ -13,13 +29,14 @@ * 'type' => ['start'|'end'] The starting or ending point of the * teletype text. The text itself is left in the source. * +* @category Text * -* $Id: Tt.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ -* -* @author Paul M. Jones <pmjones@ciaweb.net> -* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Tt extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Url.php?r1=1.1&r2=1.2&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Url.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Url.php:1.1 pear/Text_Wiki/Text/Wiki/Parse/Default/Url.php:1.2 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Url.php:1.1 Mon Jan 31 10:46:52 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Url.php Tue Feb 22 14:12:58 2005 @@ -4,10 +4,26 @@ * * Parse for URLS in the source text. * +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Url.php,v 1.2 2005/02/22 19:12:58 pmjones Exp $ +* +*/ + +/** +* +* Parse for URLS in the source text. +* * Various URL markings are supported: inline (the URL by itself), -* numbered or footnote reference (where the URL is enclosed in square brackets), and -* named reference (where the URL is enclosed in square brackets and has a -* name included inside the brackets). E.g.: +* numbered or footnote reference (where the URL is enclosed in square +* brackets), and named reference (where the URL is enclosed in square +* brackets and has a name included inside the brackets). E.g.: * * inline -- http://example.com * numbered -- [http://example.com] @@ -25,12 +41,14 @@ * * 'text' => the displayed text of the URL link * -* $Id: Url.php,v 1.1 2005/01/31 15:46:52 pmjones Exp $ +* @category Text * -* @author Paul M. Jones <pmjones@ciaweb.net> -* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Url extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Parse/Default/Wikilink.php?r1=1.2&r2=1.3&ty=u Index: pear/Text_Wiki/Text/Wiki/Parse/Default/Wikilink.php diff -u pear/Text_Wiki/Text/Wiki/Parse/Default/Wikilink.php:1.2 pear/Text_Wiki/Text/Wiki/Parse/Default/Wikilink.php:1.3 --- pear/Text_Wiki/Text/Wiki/Parse/Default/Wikilink.php:1.2 Sun Feb 13 21:43:15 2005 +++ pear/Text_Wiki/Text/Wiki/Parse/Default/Wikilink.php Tue Feb 22 14:12:58 2005 @@ -3,6 +3,22 @@ /** * * Parse for links to wiki pages. +* +* @category Text +* +* @package Text_Wiki +* +* @author Paul M. Jones <pmjones@php.net> +* +* @license LGPL +* +* @version $Id: Wikilink.php,v 1.3 2005/02/22 19:12:58 pmjones Exp $ +* +*/ + +/** +* +* Parse for links to wiki pages. * * Wiki page names are typically in StudlyCapsStyle made of * WordsSmashedTogether. @@ -18,12 +34,14 @@ * * 'anchor' => a named anchor on the target wiki page. * -* $Id: Wikilink.php,v 1.2 2005/02/14 02:43:15 pmjones Exp $ -* -* @author Paul M. Jones <pmjones@ciaweb.net> -* +* @category Text +* * @package Text_Wiki -* +* +* @author Paul M. Jones <pmjones@php.net> +* +* @version @package_version@ +* */ class Text_Wiki_Parse_Wikilink extends Text_Wiki_Parse { http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Render/Plain/Prefilter.php?r1=1.2&r2=1.3&ty=u Index: pear/Text_Wiki/Text/Wiki/Render/Plain/Prefilter.php diff -u pear/Text_Wiki/Text/Wiki/Render/Plain/Prefilter.php:1.2 pear/Text_Wiki/Text/Wiki/Render/Plain/Prefilter.php:1.3 --- pear/Text_Wiki/Text/Wiki/Render/Plain/Prefilter.php:1.2 Sat Sep 25 15:05:14 2004 +++ pear/Text_Wiki/Text/Wiki/Render/Plain/Prefilter.php Tue Feb 22 14:12:58 2005 @@ -13,10 +13,10 @@ // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ -// | Authors: Paul M. Jones <pmjones@ciaweb.net> | +// | Authors: Paul M. Jones <pmjones@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Prefilter.php,v 1.2 2004/09/25 19:05:14 pmjones Exp $ +// $Id: Prefilter.php,v 1.3 2005/02/22 19:12:58 pmjones Exp $ /** @@ -25,7 +25,7 @@ * that line endings are consistently \n, lines ending in a backslash \ * are concatenated with the next line, and tabs are converted to spaces. * -* @author Paul M. Jones <pmjones@ciaweb.net> +* @author Paul M. Jones <pmjones@php.net> * * @package Text_Wiki * http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Render/Xhtml/Prefilter.php?r1=1.5&r2=1.6&ty=u Index: pear/Text_Wiki/Text/Wiki/Render/Xhtml/Prefilter.php diff -u pear/Text_Wiki/Text/Wiki/Render/Xhtml/Prefilter.php:1.5 pear/Text_Wiki/Text/Wiki/Render/Xhtml/Prefilter.php:1.6 --- pear/Text_Wiki/Text/Wiki/Render/Xhtml/Prefilter.php:1.5 Sat Sep 25 15:05:14 2004 +++ pear/Text_Wiki/Text/Wiki/Render/Xhtml/Prefilter.php Tue Feb 22 14:12:58 2005 @@ -13,10 +13,10 @@ // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ -// | Authors: Paul M. Jones <pmjones@ciaweb.net> | +// | Authors: Paul M. Jones <pmjones@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Prefilter.php,v 1.5 2004/09/25 19:05:14 pmjones Exp $ +// $Id: Prefilter.php,v 1.6 2005/02/22 19:12:58 pmjones Exp $ /** @@ -25,7 +25,7 @@ * that line endings are consistently \n, lines ending in a backslash \ * are concatenated with the next line, and tabs are converted to spaces. * -* @author Paul M. Jones <pmjones@ciaweb.net> +* @author Paul M. Jones <pmjones@php.net> * * @package Text_Wiki *
« previous php.pear.cvs (#29684) next »