Re[2]: [PHP-DOC] wrong symbols in phpdoc/chm

2005-09-24 Thread anatoly techtonik
||*()*|| Hi, Vlad.

VJ Also, it's unclear which one directory is really used for building chm
VJ files.
VJ I see two concurent ways: phpdoc/htmlhelp/make_chm.bat and
VJ phpdoc/chm/make_chm.bat

Read chm/make_chm.README and htmlhelp/README.txt

VJ Both set of tools expect all the files produced by running make in html
VJ subdirectory while really it appears a level higher.
VJ So with default setting neither works.

It is invoked from makefile in directory level above. I.e. cd phpdoc/
and then
make chm
or
make chm_xml

t
-- 


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

2005-09-24 Thread Wez Furlong
wez Sat Sep 24 11:51:17 2005 EDT

  Modified files:  
/phpdoc/en/reference/pdoreference.xml 
  Log:
  a note about catching exceptions and the dangers of not doing so on a 
production site.
  
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/reference.xml?r1=1.40r2=1.41ty=u
Index: phpdoc/en/reference/pdo/reference.xml
diff -u phpdoc/en/reference/pdo/reference.xml:1.40 
phpdoc/en/reference/pdo/reference.xml:1.41
--- phpdoc/en/reference/pdo/reference.xml:1.40  Tue Sep 20 04:22:28 2005
+++ phpdoc/en/reference/pdo/reference.xml   Sat Sep 24 11:51:16 2005
@@ -1,5 +1,5 @@
 ?xml version='1.0' encoding='iso-8859-1'?
-!-- $Revision: 1.40 $ --
+!-- $Revision: 1.41 $ --
 !-- Purpose: database.abstract --
 !-- Membership: pecl, bundled --
 !-- State:experimental --
@@ -271,6 +271,17 @@
   /programlisting
  /example
 /para
+warning
+ para
+  If your application does not catch the exception thrown from the PDO
+  constructor, the default action taken by the zend engine is to terminate
+  the script and display a back trace.  This back trace will likely reveal
+  the full database connection details, including the username and
+  password.  It is your responsibility to catch this exception, either
+  explicitly (via a literalcatch/literal statement) or implicitly via
+  functionset_exception_handler/function.
+ /para
+/warning
 para
  Upon successful connection to the database, an instance of the PDO class
  is returned to your script.  The connection remains active for the


[PHP-DOC] #33838 [Com]: php_manual_en.chm displaying ????? for navigation links

2005-09-24 Thread bo dot php dot net at email dot connaction dot net
 ID:   33838
 Comment by:   bo dot php dot net at email dot connaction dot net
 Reported By:  marshall at kingstairs dot com
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Windows XP SP2
 PHP Version:  Irrelevant
 New Comment:

The problem still exists in the 22 September 2005 version ...


Previous Comments:


[2005-09-19 15:55:08] bo dot php dot net at email dot connaction dot
net

The problem exists under Windows 2000 SP4 as well.



[2005-09-11 23:45:09] marshall at kingstairs dot com

Problem still exists in 8 Sep release...



[2005-08-21 05:46:00] mlee at kanhan dot com

The current version (Aug 17 23:58:13 2005) still has this problem.  It
seems that the problem occured since the July 19 version and has not
been fixed.



[2005-08-03 18:30:33] [EMAIL PROTECTED]

Although the links are fixed in the new release, this bug still
persists. The files have bogus '???' instead of normal text in the
'back'/'next' links. I think this info is gathered from the localized
docbook files, but I'm not sure what is causing the problem..



[2005-07-23 19:31:55] marshall at kingstairs dot com

Description:

The 19th July version of the English chm documentation is displaying
? for all of the navigation links. I've checked, and the ?
is actually in the source.
Other information is also being displayed as ???
Look at the Table of Contents and Preface topics for a quick example.






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


[PHP-DOC] #34631 [NEW]: Possible errors on mysql_unbuffered_query page?

2005-09-24 Thread david at david-salisbury dot co dot uk
From: david at david-salisbury dot co dot uk
Operating system: Irrelevant
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  Possible errors on mysql_unbuffered_query page?

Description:

http://uk.php.net/manual/en/function.mysql-unbuffered-query.php

At the above page in the Return Values section you say mysql_query()
returns these things.  Shouldn't it be that mysql_unbuffered_query()
returns those things seeing as it's on the mysql_unbuffered_query() manual
page?


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


[PHP-DOC] #34631 [Opn-Ver]: Possible errors on mysql_unbuffered_query page?

2005-09-24 Thread marcot
 ID:   34631
 Updated by:   [EMAIL PROTECTED]
 Reported By:  david at david-salisbury dot co dot uk
-Status:   Open
+Status:   Verified
 Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant


Previous Comments:


[2005-09-24 21:07:46] david at david-salisbury dot co dot uk

Description:

http://uk.php.net/manual/en/function.mysql-unbuffered-query.php

At the above page in the Return Values section you say mysql_query()
returns these things.  Shouldn't it be that mysql_unbuffered_query()
returns those things seeing as it's on the mysql_unbuffered_query()
manual page?






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


[PHP-DOC] cvs: phpdoc /scripts missing-entities.php.in

2005-09-24 Thread Nuno Lopes
nlopess Sat Sep 24 19:26:49 2005 EDT

  Modified files:  
/phpdoc/scripts missing-entities.php.in 
  Log:
  fix cygwin testing
  
http://cvs.php.net/diff.php/phpdoc/scripts/missing-entities.php.in?r1=1.22r2=1.23ty=u
Index: phpdoc/scripts/missing-entities.php.in
diff -u phpdoc/scripts/missing-entities.php.in:1.22 
phpdoc/scripts/missing-entities.php.in:1.23
--- phpdoc/scripts/missing-entities.php.in:1.22 Thu Sep 22 10:48:36 2005
+++ phpdoc/scripts/missing-entities.php.in  Sat Sep 24 19:26:48 2005
@@ -17,7 +17,7 @@
   | Gabor Hojtsy [EMAIL PROTECTED]  |
   +--+
   
-  $Id: missing-entities.php.in,v 1.22 2005/09/22 14:48:36 techtonik Exp $
+  $Id: missing-entities.php.in,v 1.23 2005/09/24 23:26:48 nlopess Exp $
 */
 
 set_time_limit(0);
@@ -45,9 +45,10 @@
  (strpos(php_uname(), 'CYGWIN') === false)
  (strncmp($NSGMLS, /usr/bin/, 9) === 0)) 
 {
-   $cygbin = exec(cygpath -d /usr/bin/);
-$NSGMLS = preg_replace(!^/usr/bin/!, $cygbin, $NSGMLS);
+$cygbin = trim(`cygpath -d /usr/bin/`);
+$NSGMLS = preg_replace('!^/usr/bin/!', $cygbin, $NSGMLS) . '.exe';
 }
+
 // '..' components are not allowed in exec path to executable
 $NSGMLS = realpath($NSGMLS);
 


[PHP-DOC] cvs: phpdoc /scripts file-entities.php.in

2005-09-24 Thread Nuno Lopes
nlopess Sat Sep 24 19:28:42 2005 EDT

  Modified files:  
/phpdoc/scripts file-entities.php.in 
  Log:
  order extensions by titleabbreb, as it is used in the left menu of php.net 
docs.
  also sort data only once, instead of once per extension :)
  
http://cvs.php.net/diff.php/phpdoc/scripts/file-entities.php.in?r1=1.39r2=1.40ty=u
Index: phpdoc/scripts/file-entities.php.in
diff -u phpdoc/scripts/file-entities.php.in:1.39 
phpdoc/scripts/file-entities.php.in:1.40
--- phpdoc/scripts/file-entities.php.in:1.39Sun Aug 21 12:27:08 2005
+++ phpdoc/scripts/file-entities.php.in Sat Sep 24 19:28:42 2005
@@ -17,7 +17,7 @@
   | Gabor Hojtsy [EMAIL PROTECTED]  |
   +--+
   
-  $Id: file-entities.php.in,v 1.39 2005/08/21 16:27:08 goba Exp $
+  $Id: file-entities.php.in,v 1.40 2005/09/24 23:28:42 nlopess Exp $
 */
 
 /**
@@ -81,8 +81,8 @@
if (!$title) $title = $dirent; // extension name is close enough
$builtin_extensions[$title] = reference.$dirent.reference;;
}
-   ksort($builtin_extensions);
 }
+ksort($builtin_extensions);
 
 create_part_file(entities/builtin-extensions.xml, $builtin_extensions, 
'funcref', 'FunctionReference;');
 $entities[] = entstr(builtin.extensions, 
$out_dir/entities/builtin-extensions.xml);
@@ -453,6 +453,10 @@
 * ... but this is probably good enough for 98.5% of extensions
 */
 
+   if (preg_match(#titleabbrev(.*?)/titleabbrev#, $contents, 
$matches)) {
+   return strtoupper(trim($matches[1]));
+   }
+
if (preg_match(#title(.*?)/title#, $contents, $matches)) {
return strtoupper(trim($matches[1]));
}


[PHP-DOC] #34632 [NEW]: typo in is_readable documentation

2005-09-24 Thread bugs at bmuskalla dot de
From: bugs at bmuskalla dot de
Operating system: n/a
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  typo in is_readable documentation

Description:

Wrong description on http://www.php.net/is_readable

Example 1. is_writable() example should be Example 1. is_readable()
example

Reproduce code:
---
go to http://www.php.net/is_readable

Expected result:

Example 1. is_readable() example


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


[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions is-readable.xml

2005-09-24 Thread Oliver Albers
simpSat Sep 24 22:05:08 2005 EDT

  Modified files:  
/phpdoc/en/reference/filesystem/functions   is-readable.xml 
  Log:
  Bug 34632: example headline
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/is-readable.xml?r1=1.8r2=1.9ty=u
Index: phpdoc/en/reference/filesystem/functions/is-readable.xml
diff -u phpdoc/en/reference/filesystem/functions/is-readable.xml:1.8 
phpdoc/en/reference/filesystem/functions/is-readable.xml:1.9
--- phpdoc/en/reference/filesystem/functions/is-readable.xml:1.8Tue Sep 
20 08:09:43 2005
+++ phpdoc/en/reference/filesystem/functions/is-readable.xmlSat Sep 24 
22:05:07 2005
@@ -1,5 +1,5 @@
 ?xml version=1.0 encoding=iso-8859-1?
-!-- $Revision: 1.8 $ --
+!-- $Revision: 1.9 $ --
 !-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --
   refentry id=function.is-readable
refnamediv
@@ -23,7 +23,7 @@
 /para
 para
  example
-  titlefunctionis_writable/function example/title
+  titlefunctionis_readable/function example/title
   programlisting role=php
 ![CDATA[  
 ?php


[PHP-DOC] #34632 [Opn-Csd]: typo in is_readable documentation

2005-09-24 Thread simp
 ID:   34632
 Updated by:   [EMAIL PROTECTED]
 Reported By:  bugs at bmuskalla dot de
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: n/a
 PHP Version:  Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:


[2005-09-25 03:15:06] bugs at bmuskalla dot de

Description:

Wrong description on http://www.php.net/is_readable

Example 1. is_writable() example should be Example 1. is_readable()
example

Reproduce code:
---
go to http://www.php.net/is_readable

Expected result:

Example 1. is_readable() example






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