[PHP-DOC] PhD 0.1.0 Released

2007-10-20 Thread Hannes Magnusson
Hi all

PhD 0.1.0 has been released \o/.
Yes. I know the RC was named 0.1 but those version warnings by pear
were annoying :)

For the of you who ran the RC you can upgrade by using the pear
upgrade command;
pear upgrade http://doc.php.net/phd/PhD-0.1.0.tgz

If you however are installing PhD for the first time;
pear install http://doc.php.net/phd/PhD-0.1.0.tgz

Quick list of changes:
- Add example numbering
- Improved support for modifiers in fieldsynopsis
- Remove () from refname when looking for version info (reported
by Paul Reinheimer)
- Print notes inline with its title (reported by Philip Olson)
- Check if we have an open { before we print }
- Escape the version info (patch by Richard Q.)
- Fixed variablelist titles
- Fixed table info titles
- Fixed empty table cells (reported by Mark Wiesemann)
- Fixed table title markup (reported by Richard Q.)
- Fixed non-closing b element for empty lt;title /gt;s (reported
by Joshua Thompson and Philip Olson)
- Fixed bug#43013 (Description rather then function name for right
arrows on extension pages) (patch by Richard Q.)
- Fixed bug#42906 (docs.php.net bold instead of links)
- Fixed bug#42860 (cannot render lt;orgnamegt; element)
- Fixed bug#42845 (Copyright page has no TOC)
- Language support (for autogenerated texts):
  * Bulgarian (by Kouber Saparev)
  * Czech (by Jakub Vrana)
  * German (by Oliver Albers)
  * Italian (by Marco Cucinato)
  * Japanese (by TAKAGI Masahiro)
  * Polish (by Jaroslaw Glowacki)
  * Brazilian Portuguese (by Diego Feitosa)
  * Romanian (by Simion Onea)

-Hannes


[PHP-DOC] Entity reftitle.returnvalues

2007-10-20 Thread Felipe Pena
Hello,
In Brazilian portuguese translation the value of entity
reftitle.returnvalues shouldn't be 'titleValor retornado/title'
instead of 'titleValores de retornado/title'?
As I reported in http://bugs.php.net/bug.php?id=42990


[PHP-DOC] Two entities in pt_BR translation

2007-10-20 Thread Felipe Pena
The following entities is incorrect:
!ENTITY reftitle.errors   'titleErros/Excessões/title'
!ENTITY ReservedConstants Constantes Predefinidas

I suggest:
Excessões - Exceções
Predefinidas - Pré-definidas


Re: [PHP-DOC] Entity reftitle.returnvalues

2007-10-20 Thread Fernando Correa da Conceição

Felipe Pena escreveu:

Hello,
In Brazilian portuguese translation the value of entity
reftitle.returnvalues shouldn't be 'titleValor retornado/title'
instead of 'titleValores de retornado/title'?
As I reported in http://bugs.php.net/bug.php?id=42990

  

Fixed in cvs.

Thanks, and keep with this help!


Re: [PHP-DOC] Two entities in pt_BR translation

2007-10-20 Thread Fernando Correa da Conceição

Felipe Pena escreveu:

The following entities is incorrect:
!ENTITY reftitle.errors   'titleErros/Excessões/title'
!ENTITY ReservedConstants Constantes Predefinidas

I suggest:
Excessões - Exceções
Predefinidas - Pré-definidas

  

Done!

Fernando.


[PHP-DOC] Update - token_get_all() example

2007-10-20 Thread Felipe Pena
Update example according to PHP 5.2.2 (Line numbers are returned in
element 2):

?php

$tokens = token_get_all('?php echo; ?');
/* array (  array ( 0 = 367, 1 = '?php ', 2 = 1 ),
 array ( 0 = 316, 1 = 'echo', 2 = 1 ),
 ';',  
 array ( 0 = 370, 1 = ' ', 2 = 1 ),
 array ( 0 = 369, 1 = '?', 2 = 1 ) ) */

/* Note in the following example that the string is parsed as
T_INLINE_HTML
   rather than the otherwise expected T_COMMENT (T_ML_COMMENT in PHP
5).
   This is because no open/close tags were used in the code provided.
   This would be equivalent to putting a comment outside of ?php ?
tags in a normal file. */
$tokens = token_get_all('/* comment */');
// array ( array (  0 = 311, 1 = '/* comment */',  2 = 1 ) )

?