[PHP-DOC] cvs: phpdoc /en/reference/cpdf reference.xml

2007-07-24 Thread Philip Olson
philip  Wed Jul 25 05:59:53 2007 UTC

  Modified files:  
/phpdoc/en/reference/cpdf   reference.xml 
  Log:
  Deprecate ClibPDF
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/cpdf/reference.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/en/reference/cpdf/reference.xml
diff -u phpdoc/en/reference/cpdf/reference.xml:1.17 
phpdoc/en/reference/cpdf/reference.xml:1.18
--- phpdoc/en/reference/cpdf/reference.xml:1.17 Wed Jun 20 22:24:17 2007
+++ phpdoc/en/reference/cpdf/reference.xml  Wed Jul 25 05:59:53 2007
@@ -1,15 +1,24 @@
 
-
+
 
 
+
 
  http://docbook.org/ns/docbook"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
-  ClibPDF Functions
+  ClibPDF Functions [deprecated]
   ClibPDF
 
   

 &reftitle.intro;
+
+ 
+  ClibPDF support is deprecated and users are strongly encouraged to use
+  an alternative, like Haru,
+  PDFlib, or one of the available
+  PHP alternatives.
+ 
+
 
  ClibPDF lets you create PDF documents with PHP. ClibPDF functionality
  and API are similar to PDFlib.


Re: [PHP-DOC] Re: cvs: phpdoc /en/reference/bbcode .cvsignore configure.xml constants.xml reference.xml /en/reference/bbcode/functions bbcode-add-element.xml bbcode-create.xml bbcode-destroy.xml bbcod

2007-07-24 Thread Philip Olson


On Jul 24, 2007, at 3:07 PM, Xavier De Cock wrote:

Sorry it's my first time documentation, and I'd firstly posted a  
patch as

requested which as waited 2 days without response or comments.

So I tried to build the doc and found no error.

My mother language is French (as we can see in the comments of the
extension i must translate them to English) so, I'll try to give more
attention to typos, thanks for the patch.

The extension must still evolve although it's able to do what we  
need some

operations and limits are still in it so the documentation will be
enhanced. I'll try to use vi to edit the next versions because I  
see some

tabs in the files.

I hope this documentation will be useful (I'll translate it to  
French, and

try to make less typos :/)


It's okay, these things happen. Just be sure to check your unified  
diffs over and over before commit because phpdoc is picky about  
whitespace. Whether something sits around for a day or three before  
commit isn't a big deal, there is no rush. I apologize for not  
responding to your review request especially after requesting it be  
done. But thankfully there are many watchful eyes lurking about, like  
Maciek, that are here to help each other out.


Regards,
Philip


[PHP-DOC] cvs: phd / README

2007-07-24 Thread Gwynne Amaya Raskind
gwynne  Wed Jul 25 05:04:37 2007 UTC

  Added files: 
/phdREADME 
  Log:
  A quick README listing authors and some quick remarks.
  
  


[PHP-DOC] cvs: phd / LICENSE build.php convert.php index.php makestatic.php /formats chm.php pdf.php plaintext.php xchm.php xhtml.php xml.php /include database.inc.php output.inc.php transform.inc.p

2007-07-24 Thread Gwynne Amaya Raskind
gwynne  Wed Jul 25 04:52:54 2007 UTC

  Added files: 
/phdLICENSE build.php convert.php index.php makestatic.php 
/phd/formatschm.php pdf.php plaintext.php xchm.php xhtml.php 
xml.php 
/phd/includedatabase.inc.php output.inc.php transform.inc.php 
/phd/schema phd.dtd phd.xsd xlink.xsd xml.xsd 
/phd/setup  CLI.class.php Configurator.class.php HTTP.class.php 
Option_Metadata.inc.php SAPI.interface.php 
Template_File.class.php config.in.php setup.messages.php 
setup.php 
  Log:
  Initial import of PhD sources. Note that these files currently are under the 
MIT license; this may change in the near future and we politely ask that until 
a final decision is made, the code not be used elsewhere.
  
  
http://cvs.php.net/viewvc.cgi/phd/build.php?view=markup&rev=1.1
Index: phd/build.php
+++ phd/build.php
#!/usr/local/php/bin/php


http://cvs.php.net/viewvc.cgi/phd/convert.php?view=markup&rev=1.1
Index: phd/convert.php
+++ phd/convert.php
#!/usr/local/php/bin/php


http://cvs.php.net/viewvc.cgi/phd/index.php?view=markup&rev=1.1
Index: phd/index.php
+++ phd/index.php
#!/usr/local/php/bin/php


http://cvs.php.net/viewvc.cgi/phd/makestatic.php?view=markup&rev=1.1
Index: phd/makestatic.php
+++ phd/makestatic.php
#!/usr/local/php/bin/php


http://cvs.php.net/viewvc.cgi/phd/formats/chm.php?view=markup&rev=1.1
Index: phd/formats/chm.php
+++ phd/formats/chm.php

http://cvs.php.net/viewvc.cgi/phd/formats/pdf.php?view=markup&rev=1.1
Index: phd/formats/pdf.php
+++ phd/formats/pdf.php

http://cvs.php.net/viewvc.cgi/phd/formats/plaintext.php?view=markup&rev=1.1
Index: phd/formats/plaintext.php
+++ phd/formats/plaintext.php

http://cvs.php.net/viewvc.cgi/phd/formats/xchm.php?view=markup&rev=1.1
Index: phd/formats/xchm.php
+++ phd/formats/xchm.php

http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?view=markup&rev=1.1
Index: phd/formats/xhtml.php
+++ phd/formats/xhtml.php

http://cvs.php.net/viewvc.cgi/phd/formats/xml.php?view=markup&rev=1.1
Index: phd/formats/xml.php
+++ phd/formats/xml.php

http://cvs.php.net/viewvc.cgi/phd/include/database.inc.php?view=markup&rev=1.1
Index: phd/include/database.inc.php
+++ phd/include/database.inc.php

http://cvs.php.net/viewvc.cgi/phd/include/output.inc.php?view=markup&rev=1.1
Index: phd/include/output.inc.php
+++ phd/include/output.inc.php

http://cvs.php.net/viewvc.cgi/phd/include/transform.inc.php?view=markup&rev=1.1
Index: phd/include/transform.inc.php
+++ phd/include/transform.inc.php

http://cvs.php.net/viewvc.cgi/phd/schema/phd.dtd?view=markup&rev=1.1
Index: phd/schema/phd.dtd
+++ phd/schema/phd.dtd




















http://cvs.php.net/viewvc.cgi/phd/schema/phd.xsd?view=markup&rev=1.1
Index: phd/schema/phd.xsd
+++ phd/schema/phd.xsd

http://www.w3.org/2001/XMLSchema.dtd";>
http://www.w3.org/2001/XMLSchema";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:docbook="http://docbook.org/ns/docbook";
blockDefault="#all"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
xml:lang="EN"
targetNamespace="http://phd.php.net/ns/phd";
version="PhD 1.0">

 
 

 
  
   
   
  
 

 
  
   
  
 

 
  
  
 

 
 
 
 
 
  
   
  
 
 
 
 
 
 
  
   


   
  
 
 
 
  
   

 

   
  
 
 


http://cvs.php.net/viewvc.cgi/phd/schema/xlink.xsd?view=markup&rev=1.1
Index: phd/schema/xlink.xsd
+++ phd/schema/xlink.xsd

http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/xlink"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:docbook="http://docbook.org/ns/docbook";>
  
  
  
  
  
  

  





  

  
  

  




  

  
  
  
  


http://cvs.php.net/viewvc.cgi/phd/schema/xml.xsd?view=markup&rev=1.1
Index: phd/schema/xml.xsd
+++ phd/schema/xml.xsd

http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" 
targetNamespace="http://www.w3.org/XML/1998/namespace"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:docbook="http://docbook.org/ns/docbook";>
  
  
  
  

  

  

  


http://cvs.php.net/viewvc.cgi/phd/setup/CLI.class.php?view=markup&rev=1.1
Index: phd/setup/CLI.class.php
+++ phd/setup/CLI.class.php
 
 |
| This source file is subject to the license that is bundled with this|
| package in the file LICENSE, and is available through the   |
| world-wide-web at the following url:|
| http://phd.php.net/LICENSE  |
+-+
| The commandline interface for setup.php to talk to the user.|
+

[PHP-DOC] cvs: php-src(PHP_5_2) / NEWS /ext/reflection php_reflection.c /ext/reflection/tests 026.phpt

2007-07-24 Thread Johannes Schl
johannesTue Jul 24 23:15:59 2007 UTC

  Added files: (Branch: PHP_5_2)
/php-src/ext/reflection/tests   026.phpt 

  Modified files:  
/php-srcNEWS 
/php-src/ext/reflection php_reflection.c 
  Log:
  - New ReflectionExtension::info() function to print the phpinfo() block
for an extension. [DOC]
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.857&r2=1.2027.2.547.2.858&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.857 php-src/NEWS:1.2027.2.547.2.858
--- php-src/NEWS:1.2027.2.547.2.857 Tue Jul 24 22:57:13 2007
+++ php-src/NEWSTue Jul 24 23:15:58 2007
@@ -35,6 +35,8 @@
   (Andrey A. Belashkov, Tony)
 - Added missing MSG_EOR and MSG_EOF constants to sockets extension. (Jani)
 - Added PCRE_VERSION constant. (Tony)
+- Added ReflectionExtension::info() function to print the phpinfo() block for
+  an extension. (Johannes)
 
 - Implemented FR #41884 (ReflectionClass::getDefaultProperties() does not 
handle 
   static attributes). (Tony)
http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/php_reflection.c?r1=1.164.2.33.2.42&r2=1.164.2.33.2.43&diff_format=u
Index: php-src/ext/reflection/php_reflection.c
diff -u php-src/ext/reflection/php_reflection.c:1.164.2.33.2.42 
php-src/ext/reflection/php_reflection.c:1.164.2.33.2.43
--- php-src/ext/reflection/php_reflection.c:1.164.2.33.2.42 Mon Jul 23 
01:13:43 2007
+++ php-src/ext/reflection/php_reflection.c Tue Jul 24 23:15:58 2007
@@ -20,7 +20,7 @@
+--+
 */
 
-/* $Id: php_reflection.c,v 1.164.2.33.2.42 2007/07/23 01:13:43 bjori Exp $ */
+/* $Id: php_reflection.c,v 1.164.2.33.2.43 2007/07/24 23:15:58 johannes Exp $ 
*/
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -4394,6 +4394,20 @@
 }
 /* }}} */
 
+/* {{{ proto public void ReflectionExtension::info() U
+   Prints phpinfo block for the extension */
+ZEND_METHOD(reflection_extension, info)
+{
+   reflection_object *intern;
+   zend_module_entry *module;
+
+   METHOD_NOTSTATIC_NUMPARAMS(reflection_extension_ptr, 0);
+   GET_REFLECTION_OBJECT_PTR(module);
+
+   php_info_print_module(module TSRMLS_CC);
+}
+/* }}} */
+
 /* {{{ method tables */
 static zend_function_entry reflection_exception_functions[] = {
{NULL, NULL, NULL}
@@ -4770,6 +4784,7 @@
ZEND_ME(reflection_extension, getClasses, NULL, 0)
ZEND_ME(reflection_extension, getClassNames, NULL, 0)
ZEND_ME(reflection_extension, getDependencies, NULL, 0)
+   ZEND_ME(reflection_extension, info, NULL, 0)
{NULL, NULL, NULL}
 };
 /* }}} */
@@ -4888,7 +4903,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Reflection", "enabled");
 
-   php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 
1.164.2.33.2.42 2007/07/23 01:13:43 bjori Exp $");
+   php_info_print_table_row(2, "Version", "$Id: php_reflection.c,v 
1.164.2.33.2.43 2007/07/24 23:15:58 johannes Exp $");
 
php_info_print_table_end();
 } /* }}} */

http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/tests/026.phpt?view=markup&rev=1.1
Index: php-src/ext/reflection/tests/026.phpt
+++ php-src/ext/reflection/tests/026.phpt


[PHP-DOC] cvs: php-src(PHP_5_2) / NEWS /ext/pcre php_pcre.c

2007-07-24 Thread Antony Dovgal
tony2001Tue Jul 24 22:35:19 2007 UTC

  Modified files:  (Branch: PHP_5_2)
/php-srcNEWS 
/php-src/ext/pcre   php_pcre.c 
  Log:
  [DOC] MFH: add PCRE_VERSION constant to ext/pcre
  
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.855&r2=1.2027.2.547.2.856&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.855 php-src/NEWS:1.2027.2.547.2.856
--- php-src/NEWS:1.2027.2.547.2.855 Tue Jul 24 19:24:39 2007
+++ php-src/NEWSTue Jul 24 22:35:18 2007
@@ -34,6 +34,7 @@
 - Added CURLOPT_PRIVATE & CURLINFO_PRIVATE constants. 
   (Andrey A. Belashkov, Tony)
 - Added missing MSG_EOR and MSG_EOF constants to sockets extension. (Jani)
+- Added PCRE_VERSION constant. (Tony)
 
 - Implemented FR #41884 (ReflectionClass::getDefaultProperties() does not 
handle 
   static attributes). (Tony)
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/php_pcre.c?r1=1.168.2.9.2.18&r2=1.168.2.9.2.19&diff_format=u
Index: php-src/ext/pcre/php_pcre.c
diff -u php-src/ext/pcre/php_pcre.c:1.168.2.9.2.18 
php-src/ext/pcre/php_pcre.c:1.168.2.9.2.19
--- php-src/ext/pcre/php_pcre.c:1.168.2.9.2.18  Tue Jun 12 14:08:16 2007
+++ php-src/ext/pcre/php_pcre.c Tue Jul 24 22:35:18 2007
@@ -16,7 +16,7 @@
+--+
  */
 
-/* $Id: php_pcre.c,v 1.168.2.9.2.18 2007/06/12 14:08:16 scottmac Exp $ */
+/* $Id: php_pcre.c,v 1.168.2.9.2.19 2007/07/24 22:35:18 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -56,7 +56,7 @@
 };
 
 
-ZEND_DECLARE_MODULE_GLOBALS(pcre);
+ZEND_DECLARE_MODULE_GLOBALS(pcre)
 
 
 static void pcre_handle_exec_error(int pcre_code TSRMLS_DC) /* {{{ */
@@ -149,6 +149,7 @@
REGISTER_LONG_CONSTANT("PREG_BACKTRACK_LIMIT_ERROR", 
PHP_PCRE_BACKTRACK_LIMIT_ERROR, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("PREG_RECURSION_LIMIT_ERROR", 
PHP_PCRE_RECURSION_LIMIT_ERROR, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("PREG_BAD_UTF8_ERROR", PHP_PCRE_BAD_UTF8_ERROR, 
CONST_CS | CONST_PERSISTENT);
+   REGISTER_STRING_CONSTANT("PCRE_VERSION", (char *)pcre_version(), 
CONST_CS | CONST_PERSISTENT);
 
return SUCCESS;
 }


[PHP-DOC] Re: cvs: phpdoc /en/reference/bbcode .cvsignore configure.xml constants.xml reference.xml /en/reference/bbcode/functions bbcode-add-element.xml bbcode-create.xml bbcode-destroy.xml bbcode-pa

2007-07-24 Thread Xavier De Cock
Sorry it's my first time documentation, and I'd firstly posted a patch as
requested which as waited 2 days without response or comments.

So I tried to build the doc and found no error.

My mother language is French (as we can see in the comments of the
extension i must translate them to English) so, I'll try to give more
attention to typos, thanks for the patch.

The extension must still evolve although it's able to do what we need some
operations and limits are still in it so the documentation will be
enhanced. I'll try to use vi to edit the next versions because I see some
tabs in the files.

I hope this documentation will be useful (I'll translate it to French, and
try to make less typos :/)

Thanks for your Help,

Xavier

PS: I'm committing the changes


[PHP-DOC] cvs: phpdoc /en/reference/bbcode constants.xml reference.xml /en/reference/bbcode/functions bbcode-add-element.xml bbcode-create.xml bbcode-destroy.xml bbcode-parse.xml

2007-07-24 Thread De Cock Xavier
voidTue Jul 24 21:55:02 2007 UTC

  Modified files:  
/phpdoc/en/reference/bbcode constants.xml reference.xml 
/phpdoc/en/reference/bbcode/functions   bbcode-add-element.xml 
bbcode-create.xml 
bbcode-destroy.xml 
bbcode-parse.xml 
  Log:
  Applied the patch from M. Sokolewicz <[EMAIL PROTECTED]> (thanks a lot for 
  your Help).
  
  + Added corrections about file_info reference
  + Added Minor Typo corrections
  + Removed all tabs (i found)
  
  + Aspelled everything twice, 'should help
  
  Sorry, once more for my previous submission :">
  
  Xavier.
  
  http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/constants.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/bbcode/constants.xml
diff -u phpdoc/en/reference/bbcode/constants.xml:1.1 
phpdoc/en/reference/bbcode/constants.xml:1.2
--- phpdoc/en/reference/bbcode/constants.xml:1.1Tue Jul 24 12:13:12 2007
+++ phpdoc/en/reference/bbcode/constants.xmlTue Jul 24 21:55:02 2007
@@ -1,5 +1,5 @@
 
-
+
 http://docbook.org/ns/docbook";>
  &reftitle.constants;
  &extension.constants;
@@ -7,29 +7,29 @@
   

 BBCODE_TYPE_NOARG
- (integer)
+(integer)


 
- This BBCode tag does not accept arguments.
+ This BBCode tag does not accept any arguments.
 

   
   

 BBCODE_TYPE_SINGLE
- (integer)
+(integer)


 
- This BBCode tag does not have corresponding close tag.
+ This BBCode tag does not have a corresponding close tag.
 

   
   

 BBCODE_TYPE_ARG
- (integer)
+(integer)


 
@@ -40,18 +40,18 @@
   

 BBCODE_TYPE_OPTARG
- (integer)
+(integer)


 
- This BBCode tag accepts an optional argument.
+ This BBCode tag accept an optional argument.
 

   
   

 BBCODE_TYPE_ROOT
- (integer)
+(integer)


 
@@ -62,22 +62,23 @@
   

 BBCODE_FLAGS_ARG_PARSING
- (integer)
+(integer)


 
- This BBCode tag require argument subparsing (the argument is reparsed by 
the BBCode extension).
+ This BBCode tag require argument sub-parsing (the argument is also parsed 
by
+ the BBCode extension).
 

   
   

 BBCODE_FLAGS_CDATA_NOT_ALLOWED
- (integer)
+(integer)


 
- This BBCode Tag does not accept content (it voids it automaticaly).
+ This BBCode Tag does not accept content (it voids it automatically).
 

   
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/reference.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/bbcode/reference.xml
diff -u phpdoc/en/reference/bbcode/reference.xml:1.1 
phpdoc/en/reference/bbcode/reference.xml:1.2
--- phpdoc/en/reference/bbcode/reference.xml:1.1Tue Jul 24 12:13:12 2007
+++ phpdoc/en/reference/bbcode/reference.xmlTue Jul 24 21:55:02 2007
@@ -1,5 +1,5 @@
 
-
+
 
 http://docbook.org/ns/docbook";>
  BBCode Functions
@@ -9,12 +9,12 @@
   
&reftitle.intro;

-The functions of this extensions are aimed to help parse BBCode text in
-   order to convert it to HTML or another markup / markdown langage. It 
uses
-   a one pass parsing and provides great speed improvement over the common 
-   approach based on regular expressions. Further more, it helps provide
-   valid HTML by reordering open / close tags and closing automaticaly
-   unclosed tags.
+This extension aims to help parse BBCode text in
+order to convert it to HTML or another markup language. It uses
+one pass parsing and provides great speed improvement over the common 
+approach based on regular expressions. Further more, it helps provide
+valid HTML by reordering open / close tags and by automatically closing
+unclosed tags.

   
   
@@ -29,8 +29,8 @@
   
&reftitle.resources;

-There is one resource used in BBCode extension: a BBCode_Container
-   returned by bbcode_create.
+One resource is used in the BBCode extension: a BBCode_Container
+returned by bbcode_create.

   
   
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml
diff -u phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml:1.1 
phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml:1.2
--- phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml:1.1 Tue Jul 
24 12:13:12 2007
+++ phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml Tue Jul 24 
21:55:02 2007
@@ -1,9 +1,9 @@
 
-
+
 http://docbook.org/ns/docbook";>
  
   bbcode_add_element
-  Close fileinfo resource
+  Adds a bbcode element
  
  
   &reftitle.description;
@@ -15,8 +15,7 @@
   
 
   
-   This function adds a tag to an existing BBCod

[PHP-DOC] #42084 [Opn->Asn]: socket_recv / socket_send* / etc. does not mention MSG_* constants

2007-07-24 Thread nicobn
 ID:   42084
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Assigned
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  Irrelevant
-Assigned To:  
+Assigned To:  nicobn


Previous Comments:


[2007-07-24 10:51:07] [EMAIL PROTECTED]

Description:

The sockets extension documention mentions some defined constants with
prefix MSG_* but in the functions manual pages where those can be used
there is nothing about them. 

For example http://www.php.net/manual/en/function.socket-send.php
has a table of the raw values for those constants..

Note: I'm going to add some missing ones, stay tuned. :)






-- 
Edit this bug report at http://bugs.php.net/?id=42084&edit=1


[PHP-DOC] Re: cvs: phpdoc /en/reference/bbcode .cvsignore configure.xml constants.xml reference.xml /en/reference/bbcode/functions bbcode-add-element.xml bbcode-create.xml bbcode-destroy.xml bbcode-p

2007-07-24 Thread M. Sokolewicz

De Cock Xavier wrote:

voidTue Jul 24 12:13:12 2007 UTC

  Added files: 
/phpdoc/en/reference/bbcode	.cvsignore configure.xml constants.xml 
   	reference.xml 
/phpdoc/en/reference/bbcode/functions	bbcode-add-element.xml 
 	bbcode-create.xml 
 	bbcode-destroy.xml 
 	bbcode-parse.xml 
  Log:

  make test_xml && make html were successfull, commiting bbcode documentation 
to CVS
  
  * Hope i didn't make too many mistakes :/ *
  




I don't really know about mistakes, but it would be wise to re-read what 
 you wrote one last time before commiting it. This commit had a lot of 
typos :)


I'll add a diff here so you know what I mean. Also, it's wise to be 
consistent (eg. are we talking about a 'tag set' or a tag_set? You use 
both interchangingly). I tired of rewriting descriptions after the 
second function (sorry). Also, I've changed one file-description from 
"Close fileinfo resource" to "Adds a bbcode element". Generally though, 
please check your writing before commiting, preferably with a 
spelling-checker aswell.


- Tul

P.S. It's great to see documentation written for pecl-extensions though!! :)

diff -u -r bbcode\constants.xml bbcode-2\constants.xml
--- bbcode\constants.xmlTue Jul 24 19:29:23 2007
+++ bbcode-2\constants.xml  Tue Jul 24 19:12:47 2007
@@ -11,7 +11,7 @@


 
- This BBCode tag does not accept arguments.
+ This BBCode tag does not accept any arguments.
 

   
@@ -22,7 +22,7 @@


 
- This BBCode tag does not have corresponding close tag.
+ This BBCode tag does not have a corresponding close tag.
 

   
@@ -33,7 +33,7 @@


 
- This BBCode tag need an argument.
+ This BBCode tag needs an argument.
 

   
@@ -66,7 +66,7 @@


 
- This BBCode tag require argument subparsing (the argument is reparsed by 
the BBCode extension).
+ This BBCode tag requires argument subparsing (the argument is reparsed by 
the BBCode extension).
 

   
@@ -77,7 +77,7 @@


 
- This BBCode Tag does not accept content (it voids it automaticaly).
+ This BBCode Tag does not accept any content (it voids it automaticaly).
 

   

diff -u -r bbcode\functions\bbcode-add-element.xml 
bbcode-2\functions\bbcode-add-element.xml
--- bbcode\functions\bbcode-add-element.xml Tue Jul 24 19:29:37 2007
+++ bbcode-2\functions\bbcode-add-element.xml   Tue Jul 24 19:15:42 2007
@@ -3,7 +3,7 @@
 http://docbook.org/ns/docbook";>
  
   bbcode_add_element
-  Close fileinfo resource
+  Adds a bbcode element
  
  
   &reftitle.description;
@@ -15,8 +15,7 @@
   
 
   
-   This function adds a tag to an existing BBCode_Container tag_set see 
-   bbcode_create for the format needed for tag_rules
+   Adds a tag to an existing BBCode_Container tag_set using tag_rules.
   
 
  
@@ -28,7 +27,7 @@
  bbcode_container
  
   
-   BBCode_Container resource returned by 
bbcode_create.
+   BBCode_Container resource, returned by 
bbcode_create.
   
  
 
@@ -36,7 +35,7 @@
  tag_name
  
   
-   The new tag to add to the BBCode_Container tag set.
+   The new tag to add to the BBCode_Container tag_set.
   
  
 
@@ -44,8 +43,8 @@
  tag_rules
  
   
-   An associative array containing the parsing rules see
-   bbcode_create for the keys availables
+   An associative array containing the parsing rules; see
+   bbcode_create for the available keys.
   
  
 
 
diff -u -r bbcode\functions\bbcode-create.xml 
bbcode-2\functions\bbcode-create.xml
--- bbcode\functions\bbcode-create.xml  Tue Jul 24 19:29:32 2007
+++ bbcode-2\functions\bbcode-create.xmlTue Jul 24 19:18:28 2007
@@ -3,7 +3,7 @@
 http://docbook.org/ns/docbook";>
  
   bbcode_create
-  Create a BBCode Ressource
+  Create a BBCode Resource
  
  
   &reftitle.description;
@@ -13,7 +13,7 @@
   
 
   
-   This function starts a new BBCode Ressource used to pars BBCode strings
+   This function returns a new BBCode Resource used to parse BBCode strings.
   
 
  
@@ -25,9 +25,9 @@
  bbcode_initial_tags
  
   
-   It's an associative array containing tag name as keys and parameters
-   needed to correctly parse BBCode as value in an associative array of
-   the form:
+   An associative array containing the tag names as keys and parameters
+   required to correctly parse BBCode as their value. The following 
key/value
+   pairs are supported:
 
 
  
@@ -37,26 +37,27 @@
 
 
  
-  type needed - an int
-   indicating the type of tag use the BBCODE_TYPE_* constants
+  type required - an int
+   indic

Re: [PHP-DOC] Docbook5 upgrade still stalling phpdoc-bg builds

2007-07-24 Thread Hannes Magnusson

Hi Kouber

On 7/23/07, Kouber Saparev <[EMAIL PROTECTED]> wrote:

Hi folks,

Since the Docbook5 changes were introduced, we're still not able to make
tests and generate the Bulgarian (phpdoc-bg) version of the manual.

Running "make test" issues the following output:


I've fixed all errors except for the
mysql.field-offset.req.description entity in bg/language-snippets.ent
as I've no idea what the text says I didn't want to move the tags
around, so you'll have to "retranslate" it from
en/language-snippets.ent

-Hannes


[PHP-DOC] #42088 [NEW]: Code error

2007-07-24 Thread admin at gtacartel dot pl
From: admin at gtacartel dot pl
Operating system: Windows XP SP2
PHP version:  Irrelevant
PHP Bug Type: Translation problem
Bug description:  Code error

Description:

http://pl2.php.net/manual/pl/function.arsort.php <- missing double quote


-- 
Edit bug report at http://bugs.php.net/?id=42088&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42088&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42088&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42088&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42088&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=42088&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=42088&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=42088&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=42088&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=42088&r=support
Expected behavior:http://bugs.php.net/fix.php?id=42088&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=42088&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=42088&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42088&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42088&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42088&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=42088&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=42088&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42088&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=42088&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=42088&r=mysqlcfg


[PHP-DOC] cvs: phpdoc /en/reference/bbcode/functions bbcode-create.xml

2007-07-24 Thread De Cock Xavier
voidTue Jul 24 12:17:12 2007 UTC

  Modified files:  
/phpdoc/en/reference/bbcode/functions   bbcode-create.xml 
  Log:
  oups, didn't commited the right folder :/ i must delete the multiple copies 
of phpdoc - bug corrected
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/functions/bbcode-create.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/bbcode/functions/bbcode-create.xml
diff -u phpdoc/en/reference/bbcode/functions/bbcode-create.xml:1.1 
phpdoc/en/reference/bbcode/functions/bbcode-create.xml:1.2
--- phpdoc/en/reference/bbcode/functions/bbcode-create.xml:1.1  Tue Jul 24 
12:13:12 2007
+++ phpdoc/en/reference/bbcode/functions/bbcode-create.xml  Tue Jul 24 
12:17:12 2007
@@ -1,5 +1,5 @@
 
-
+
 http://docbook.org/ns/docbook";>
  
   bbcode_create
@@ -8,6 +8,7 @@
  
   &reftitle.description;
   
+   ressourcebbcode_create
arraybbcode_initial_tags
   
 


[PHP-DOC] cvs: phpdoc /en/reference/bbcode .cvsignore configure.xml constants.xml reference.xml /en/reference/bbcode/functions bbcode-add-element.xml bbcode-create.xml bbcode-destroy.xml bbcode-parse

2007-07-24 Thread De Cock Xavier
voidTue Jul 24 12:13:12 2007 UTC

  Added files: 
/phpdoc/en/reference/bbcode .cvsignore configure.xml constants.xml 
reference.xml 
/phpdoc/en/reference/bbcode/functions   bbcode-add-element.xml 
bbcode-create.xml 
bbcode-destroy.xml 
bbcode-parse.xml 
  Log:
  make test_xml && make html were successfull, commiting bbcode documentation 
to CVS
  
  * Hope i didn't make too many mistakes :/ *
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/.cvsignore?view=markup&rev=1.1
Index: phpdoc/en/reference/bbcode/.cvsignore
+++ phpdoc/en/reference/bbcode/.cvsignore
functions.xml

http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/configure.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/bbcode/configure.xml
+++ phpdoc/en/reference/bbcode/configure.xml


http://docbook.org/ns/docbook"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
 &reftitle.install;
 
  &pecl.info;
  &url.pecl.package;bbcode
 





http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/constants.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/bbcode/constants.xml
+++ phpdoc/en/reference/bbcode/constants.xml


http://docbook.org/ns/docbook";>
 &reftitle.constants;
 &extension.constants;
 
  
   
BBCODE_TYPE_NOARG
 (integer)
   
   

 This BBCode tag does not accept arguments.

   
  
  
   
BBCODE_TYPE_SINGLE
 (integer)
   
   

 This BBCode tag does not have corresponding close tag.

   
  
  
   
BBCODE_TYPE_ARG
 (integer)
   
   

 This BBCode tag need an argument.

   
  
  
   
BBCODE_TYPE_OPTARG
 (integer)
   
   

 This BBCode tag accepts an optional argument.

   
  
  
   
BBCODE_TYPE_ROOT
 (integer)
   
   

 This BBCode tag is the special tag root (nesting level 0).

   
  
  
   
BBCODE_FLAGS_ARG_PARSING
 (integer)
   
   

 This BBCode tag require argument subparsing (the argument is reparsed by 
the BBCode extension).

   
  
  
   
BBCODE_FLAGS_CDATA_NOT_ALLOWED
 (integer)
   
   

 This BBCode Tag does not accept content (it voids it automaticaly).

   
  
 




http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/reference.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/bbcode/reference.xml
+++ phpdoc/en/reference/bbcode/reference.xml



http://docbook.org/ns/docbook";>
 BBCode Functions
 BBCode

 
  
   &reftitle.intro;
   
The functions of this extensions are aimed to help parse BBCode text in
order to convert it to HTML or another markup / markdown langage. It 
uses
a one pass parsing and provides great speed improvement over the common 
approach based on regular expressions. Further more, it helps provide
valid HTML by reordering open / close tags and closing automaticaly
unclosed tags.
   
  
  
  
  &reference.bbcode.configure;

  
   &reftitle.runtime;
   &no.config;
  

  
   &reftitle.resources;
   
There is one resource used in BBCode extension: a BBCode_Container
returned by bbcode_create.
   
  
  
  &reference.bbcode.constants;
 
 &reference.bbcode.functions;




http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml
+++ phpdoc/en/reference/bbcode/functions/bbcode-add-element.xml


http://docbook.org/ns/docbook";>
 
  bbcode_add_element
  Close fileinfo resource
 
 
  &reftitle.description;
  
   boolbbcode_add_element
   
resourcebbcode_container
   stringtag_name
   arraytag_rules
  

  
   This function adds a tag to an existing BBCode_Container tag_set see 
   bbcode_create for the format needed for tag_rules
  

 
 
  &reftitle.parameters;
  
   

 bbcode_container
 
  
   BBCode_Container resource returned by bbcode_create.
  
 


 tag_name
 
  
   The new tag to add to the BBCode_Container tag set.
  
 


 tag_rules
 
  
   An associative array containing the parsing rules see
   bbcode_create for the keys availables
  
 

   
  
 
 
  &reftitle.returnvalues;
  
   &return.success;
  
 





http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/functions/bbcode-create.xml?view=markup&rev=1.1
Index: phpdoc/en/reference/bbcode/functions/bbcode-create.xml
+++ phpdoc/en/reference/bbcode/functions/bbcode-create.xml


http://docbook.org/ns/docbook";>
 
  bbcode_create
  Create a BBCode Ressource
 
 
  &reftitle.description;
  
   arraybbcode_initial_tags
  

  
   This function starts a new BBCode Ressource used to pars BBCode strings
  

 
 
  &reftitle.parameters;
  
   

 bbcode_initial_tags
 
  
   It's an associative array containing tag 

[PHP-DOC] #42084 [NEW]: socket_recv / socket_send* / etc. does not mention MSG_* constants

2007-07-24 Thread [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Operating system: *
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  socket_recv / socket_send* / etc. does not mention MSG_* 
constants

Description:

The sockets extension documention mentions some defined constants with
prefix MSG_* but in the functions manual pages where those can be used
there is nothing about them. 

For example http://www.php.net/manual/en/function.socket-send.php
has a table of the raw values for those constants..

Note: I'm going to add some missing ones, stay tuned. :)


-- 
Edit bug report at http://bugs.php.net/?id=42084&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42084&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42084&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42084&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42084&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=42084&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=42084&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=42084&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=42084&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=42084&r=support
Expected behavior:http://bugs.php.net/fix.php?id=42084&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=42084&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=42084&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42084&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42084&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42084&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=42084&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=42084&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42084&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=42084&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=42084&r=mysqlcfg