cvs: phpdoc / configure.php /en language-defs.ent /scripts file-entities.php.in

From: Date: Wed, 07 Jan 2009 20:22:53 +0000
Subject: cvs: phpdoc / configure.php /en language-defs.ent /scripts file-entities.php.in
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2971@lists.php.net to get a copy of this message
bjori Wed Jan 7 20:22:53 2009 UTC Modified files: /phpdoc configure.php /phpdoc/en language-defs.ent /phpdoc/scripts file-entities.php.in Log: Remove unsupported features http://cvs.php.net/viewvc.cgi/phpdoc/configure.php?r1=1.61&r2=1.62&diff_format=u Index: phpdoc/configure.php diff -u phpdoc/configure.php:1.61 phpdoc/configure.php:1.62 --- phpdoc/configure.php:1.61 Wed Jan 7 20:14:41 2009 +++ phpdoc/configure.php Wed Jan 7 20:22:53 2009 @@ -19,11 +19,11 @@ | Gwynne Raskind <gwynne@php.net> | +----------------------------------------------------------------------+ - $Id: configure.php,v 1.61 2009/01/07 20:14:41 bjori Exp $ + $Id: configure.php,v 1.62 2009/01/07 20:22:53 bjori Exp $ */ error_reporting(E_ALL); -$cvs_id = '$Id: configure.php,v 1.61 2009/01/07 20:14:41 bjori Exp $'; +$cvs_id = '$Id: configure.php,v 1.62 2009/01/07 20:22:53 bjori Exp $'; echo "configure.php: $cvs_id\n"; @@ -254,10 +254,6 @@ 'HOWTO' => 'no', // Junk to make the old scripts (file-entities.php and missing-entities.php) cooperative - 'PHP_SOURCE' => 'no', - 'PEAR_SOURCE' => 'no', - 'PECL_SOURCE' => 'no', - 'EXT_SOURCE' => 'no', 'CYGWIN' => '0', 'WINJADE' => '0', 'NSGMLS' => 'no', http://cvs.php.net/viewvc.cgi/phpdoc/en/language-defs.ent?r1=1.45&r2=1.46&diff_format=u Index: phpdoc/en/language-defs.ent diff -u phpdoc/en/language-defs.ent:1.45 phpdoc/en/language-defs.ent:1.46 --- phpdoc/en/language-defs.ent:1.45 Sun Dec 28 17:23:14 2008 +++ phpdoc/en/language-defs.ent Wed Jan 7 20:22:53 2009 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.45 $ --> +<!-- $Revision: 1.46 $ --> <!-- Part titles used mostly in manual.xml itself --> <!ENTITY PHPManual "PHP Manual"> @@ -40,8 +40,6 @@ <!ENTITY ServerSpecificExtensions "Server Specific Extensions"> <!ENTITY SearchEngineExtensions "Search Engine Extensions"> <!ENTITY MiscExtensions "Misc Extensions"> -<!ENTITY PECLReference "PECL Function Reference"> -<!ENTITY AddOnReference "Addon Extension Function Reference"> <!ENTITY Appendices "Appendices"> <!ENTITY PEAR "PEAR: the PHP Extension and Application Repository"> <!ENTITY FAQ "FAQ: Frequently Asked Questions"> http://cvs.php.net/viewvc.cgi/phpdoc/scripts/file-entities.php.in?r1=1.56&r2=1.57&diff_format=u Index: phpdoc/scripts/file-entities.php.in diff -u phpdoc/scripts/file-entities.php.in:1.56 phpdoc/scripts/file-entities.php.in:1.57 --- phpdoc/scripts/file-entities.php.in:1.56 Wed Dec 31 06:40:11 2008 +++ phpdoc/scripts/file-entities.php.in Wed Jan 7 20:22:53 2009 @@ -17,7 +17,7 @@ | Gabor Hojtsy <goba@php.net> | +----------------------------------------------------------------------+ - $Id: file-entities.php.in,v 1.56 2008/12/31 06:40:11 philip Exp $ + $Id: file-entities.php.in,v 1.57 2009/01/07 20:22:53 bjori Exp $ */ /** @@ -54,15 +54,6 @@ // The language encoding to use $encoding = '@ENCODING@'; -// PHP, PECL and additional extension source directories if given -$php_source = ('@PHP_SOURCE@' === 'no' ? false : abs_path('@PHP_SOURCE@')); -$pecl_source = ('@PECL_SOURCE@' === 'no' ? false : abs_path('@PECL_SOURCE@')); -$ext_sources = array(); -foreach (explode(':', '@EXT_SOURCE@') as $path) { - if(!empty($path)) { - $ext_sources[]= abs_path($path); - } -} // ......:ENTITY CREATION:...................................................... @@ -87,65 +78,6 @@ create_part_file("entities/builtin-extensions.xml", $builtin_extensions, 'funcref', '&FunctionReference;', '<para>See also <xref linkend="extensions"/>.</para>'); $entities[] = entstr("builtin.extensions", "$out_dir/entities/builtin-extensions.xml"); -// additional documentation embedded in PECL extensions -$pecl_extensions = array(); - -if($pecl_source) { - $dh = opendir($pecl_source); - - $pecl_dirs = array(); - while($dir = readdir()) { - if($dir[0] === ".") continue; // ignore system dir entries and hidden files - $pecl_dirs[] = $dir; - } - - foreach ($pecl_dirs as $dir) { - $docdir = "$pecl_source/$dir/manual"; - - if (@is_dir($docdir)) { - - $dirent = str_replace("_","-",$dir); - if(@is_dir("$docdir/en")) { - file_entities("$docdir/en", "$docdir/@LANGDIR@", "$docdir/en", $entities, "reference.$dirent"); - } else if (@is_dir("$docdir/$dir")) { - file_entities("$docdir/$dir", "$docdir/$dir", "$docdir/$dir", $entities, "reference.$dirent"); - } else if (@is_dir("$docdir/$dirent")) { - file_entities("$docdir/$dirent", "$docdir/$dirent", "$docdir/$dirent", $entities, "reference.$dirent"); - } else { - continue; - } - $pecl_extensions[] = "&reference.$dirent.reference;"; - sort($pecl_extensions); - } - } - closedir($dh); -} - -create_part_file("entities/pecl-extensions.xml", $pecl_extensions, 'pecl-funcref', "&PECLReference;"); -$entities[] = entstr("pecl.extensions", "$out_dir/entities/pecl-extensions.xml"); - -// additional documentation embedded in external extension sources -$addon_extensions = array(); -foreach ($ext_sources as $ext_dir) { - $docdir = "$ext_dir/manual"; - $dir = basename($ext_dir); - $dirent = str_replace("_","-",$dir); - if(@is_dir("$docdir/en/reference/$dir")) { - file_entities("$docdir/en/reference/$dir", "$docdir/@LANGDIR@/reference/$dir", "$docdir/en/reference/$dir", $entities, "reference.$dirent"); - } else if (@is_dir("$docdir/$dir")) { - file_entities("$docdir/$dir", "$docdir/$dir", "$docdir/$dir", $entities, "reference.$dirent"); - } else if (@is_dir("$docdir/$dirent")) { - file_entities("$docdir/$dirent", "$docdir/$dirent", "$docdir/$dirent", $entities, "reference.$dirent"); - } else { - continue; - } - $addon_extensions[] = "&reference.$dirent.reference;"; - $sort($addon_extensions); -} - -create_part_file("entities/addon-extensions.xml", $addon_extensions, 'addon-funcref', '&AddOnReference;'); -$entities[] = entstr("addon.extensions", "$out_dir/entities/addon-extensions.xml"); - // Open file for appending and write out all entitities $fp = fopen("$out_dir/entities/file-entities.ent", "w");

« previous php.doc.cvs (#2971) next »