Re: [PHP-DOC] proposal system

2005-07-30 Thread Sean Coates

I don't know who invented proposal system, but I dislike it.
Proposals votings and so-called "democratic system" is evil. If we
can't find a consensus then we are very bad team. I personally enjoy
solving phpdoc tasks and act on my own, but programming proposal for
my chaotic nature is not different from ordinary job, except that it
is my free time. IMHO a proof of concept and fix to recent commit in
many ways better than a good advice and appreciation of the work yet
undone.


I think you're looking at it the wrong way. There is no "forcing." The 
doc team works very well together for the most part, and there's a lot 
more respect than in many other technical circles, shown on this list.


We already vote demographically, sometimes. In fact, you're doing it in 
this post with your "-1 I don't like it", and that's completely fine. We 
also have a RFC directory in CVS that barely anyone looks at very often 
(I'm guilty).


I look at the proposal system as a way to work ideas into a solution 
that the majority (and sure, ideally everyone) can be happy with.


For example, I have a pseudo-proposal that I've been stalling on, 
waiting for the RFC system. Philip also has one (that may have already 
been adopted.. ?). http://wiki.phpdoc.info/RFC. My Nomenclature 
proposal, for example, isn't something I want to work out on my own. I 
don't want to say "Here are the rules. Follow them." I want us to come 
to a concensus (as you put it) on the best practices. I think we can do 
that.


Please don't look at it as "conflict" and "force", but as "problem" and 
"possible solution."


S


[PHP-DOC] cvs: phpdoc /htmlhelp/suppfiles/html _script.js

2005-07-30 Thread anatoly techtonik
techtonik   Sat Jul 30 15:53:13 2005 EDT

  Modified files:  
/phpdoc/htmlhelp/suppfiles/html _script.js 
  Log:
  - ws =(
  http://cvs.php.net/diff.php/phpdoc/htmlhelp/suppfiles/html/_script.js?r1=1.10&r2=1.11&ty=u
Index: phpdoc/htmlhelp/suppfiles/html/_script.js
diff -u phpdoc/htmlhelp/suppfiles/html/_script.js:1.10 
phpdoc/htmlhelp/suppfiles/html/_script.js:1.11
--- phpdoc/htmlhelp/suppfiles/html/_script.js:1.10  Sat Jul 30 15:26:43 2005
+++ phpdoc/htmlhelp/suppfiles/html/_script.js   Sat Jul 30 15:53:11 2005
@@ -1,537 +1,537 @@
-// $Id: _script.js,v 1.10 2005/07/30 19:26:43 techtonik Exp $
-// 
=
-// Preference handling
-
-// Handle all the preferences, including online functions custom
-// context menus, and skins [this is called from php_manual_prefs.js]
-function prefHandler()
-{
-// Find out what file stores the skin JS code
-switch (prefs_skin) {
-
-// Internal low skin
-case "Low":
-skin_js_file = '_skin_lo.js';
-break;
-
-// Internal high skin
-case "High":
-skin_js_file = '_skin_hi.js';
-break;
-
-// An external skin with full path (escape it just
-// to make sure that paths with spaces and other
-// unusual chars will work - and turn back : to
-// it's original form)
-default:
-//escaped_skin = escape(prefs_skin);
-//escaped_skin = escaped_skin.replace(/%3A/, ':')
-skin_js_file = "file:///" + prefs_skin;
-break;
-}
-
-// Load in the skin JS code
-document.write('<'+ '/script>');
-
-// OnContextMenu is only supported in IE5+ so do
-// not try to support the context menu otherwise
-if (ie_version_major >= 5) {
-
-// Write out context menu for the first time into it's div
-document.write('
'); -contextMenuRewrite(true); -document.write('
'); - -// Assign our own event handlers to document events [5+] -document.oncontextmenu = contextMenu; -document.onclick = contextMenuCloseTimeout; -window.onblur = contextMenuCloseTimeout; -} -} - -// = -// CHM path detection - Thanks to Pete Lees and Jeff Hall for this code - -// Get the path and name of the CHM file and assign values -function getCHMFile() -{ -var a, X, Y, Z; -a = location.href.search(/:/); -Y = location.href.lastIndexOf("::"); -if (a == 4) { // file: or http: -Y = location.href.lastIndexOf("/"); -chmfile_page = unescape(location.href.substring(Y+1)); -if (location.href.substring(0,4) == "file") { -chmfile_path = unescape(location.href.substring(8, Y+1)); -} -} -else { -if (a == 2) X = 14; // mk:@MSITStore: -if (a == 7) X = 7; // ms-its: -chmfile_fullname = unescape(location.href.substring(X, Y)); -Z = chmfile_fullname.lastIndexOf("\\"); -chmfile_path = unescape(chmfile_fullname.substring(0, Z+1)); -chmfile_name = unescape(chmfile_fullname.substring(Z+1)); -chmfile_page = unescape(location.href.substring(Y+3)); -} - -// RAQ : Wednesday, 16 March 2005 01:56 pm : If this page has been loaded because -// the notes were selected from the search results, then remove the hash. -if (location.hash == '#userNotes') -chmfile_page = chmfile_page.substring(0, chmfile_page.lastIndexOf('#')); - -//alert( -// "_script\n\n" + -// "location\n"+ -// "location.hash = '" + location.hash + "'\n" + -// "location.host = '" + location.host + "'\n" + -// "location.hostname = '" + location.hostname + "'\n" + -// "location.href = '" + location.href + "'\n" + -// "location.pathname = '" + location.pathname + "'\n" + -// "location.port = '" + location.port + "'\n" + -// "location.protocol = '" + location.protocol + "'\n" + -// "location.search = '" + location.search + "'\n\n" + -// "chmfile\n"+ -// "chmfile_name = '" + chmfile_name + "'\n" + -// "chmfile_path = '" + chmfile_path + "'\n" + -// "chmfile_page = '" + chmfile_page + "'\n" -// ); - -} - -// = -// Page display and online functions code - -// Go online to see this page in an external window [called when a user -// clicks on the "this page oline" link] -function thisPageOnline() -{ -if (!prefs_online) { -alert("You are in offline mode.\nThis functionality is not available"); -} else { -window.open(prefs_mirror + 'manual/' + this_lang + '/' + this_page_php); -} -} - -// Report bug on this manual page, using GET method URL tricks -// [called when a user clicks on t

[PHP-DOC] cvs: phpdoc /xsl htmlhelp.xsl

2005-07-30 Thread anatoly techtonik
techtonik   Sat Jul 30 15:42:43 2005 EDT

  Modified files:  
/phpdoc/xsl htmlhelp.xsl 
  Log:
  - g.. convert endings back to lf
  http://cvs.php.net/diff.php/phpdoc/xsl/htmlhelp.xsl?r1=1.23&r2=1.24&ty=u
Index: phpdoc/xsl/htmlhelp.xsl
diff -u phpdoc/xsl/htmlhelp.xsl:1.23 phpdoc/xsl/htmlhelp.xsl:1.24
--- phpdoc/xsl/htmlhelp.xsl:1.23Sat Jul 30 14:30:40 2005
+++ phpdoc/xsl/htmlhelp.xsl Sat Jul 30 15:42:41 2005
@@ -1,755 +1,755 @@
-
-
-http://www.w3.org/1999/XSL/Transform";
-xmlns:doc="http://nwalsh.com/xsl/documentation/1.0";
-xmlns:exsl="http://exslt.org/common";
-xmlns:set="http://exslt.org/sets";
-   version="1.0"
-exclude-result-prefixes="doc exsl set">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-http://www.w3.org/TR/html4/loose.dtd'"/>
-
-
-
-
-
-
-
-
-
-
-appendix  toc,title
-article   toc
-book  toc,title
-chapter   toc,title
-part  toc,title
-preface   toc
-qandadiv  toc
-qandaset  toc
-reference toc,title
-sect1 toc
-sect2 toc
-sect3 toc
-sect4 toc
-sect5 toc
-section   toc
-set   toc
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  
-
-  
-  
-
-  
-  
-
-  
-
-  
-  
-  
-  
-
-
-  
-  
-  
-  
-
-
-  
-  
-
-
-
-  
-  
-
-  
-
-
-  
-
-
-  
-
-  
-
-  
-  
-  
-
-
-  
-  
-
-  
-
-
-
-  
-
-  
-
-  
-  
-
-
-
-
-
-  
-
-  
-
-
-  
-
-  
-
-
-
-
-  
-
-
-
-
-  
-  
-  
-
-
-
-
-
-
-
-
-
-  
-  
-  
-  
-  
-
-  
-
-  
-
-
-  
-
-  
-
-  
-
-
-
-  
-
-  
-
-  
-  
-
-  
-
-
-  
-  
-
-  
-  
-
-  
-
-  
-
-  
-  
-  
-
-
-  
-  
-  
-  
-
-
-  
-  
-  
-
-  
-
-
-
-
-
-
-  
-
-  
-
-  
-  
-
-
-
-  
-
-
-  
-
-
-
-
-
-  
-
-  
-
-  
-  
-
-  
-
-
-  
-  
-
-  
-
-  
-  
-  
-
-
-  
-  
-  
-
-  
-
-  
-
-  
-
-
-
-
-
-
-
-
-
-
-
-
-  
-  
-  
-  
-
-  
-
-  
-
-  
-  
-
-
-
-  
-  
-
-
-
-   
-   
-   
-
-
-
-
-
-
-
-
-
-   
-   
-   
-
-
-
-  
-
-  
-
-
-
-
-  
-
-
-
-  
-
-
-
-  
-  
-
-
-
-
-  if (typeof displayPage == 'function') { 
displayPage(); } else {document.all['pageContent'].style.display = 
'block';}
-  if(prefs_context_override){return 
false;}
-
-
- 
-
-
-
-
-
-  
-  
-  
-   function displayNotes() { _displayNotes(); }
-   if (typeof loadNotes == "function") { loadNotes(); }
-  
-
-
-
-
-  
-  
-  
-  
-  
- 
-  
-
-  
-  
-
-  
-
-  
-
-<< 
-
-  
-  
-
-  
-  
-
-
-  
-
-
-  
-  
-
-  
-  
-
-  
-
-  
-
-
- >>
-  
-  
-
-  
-
- 
-  
-
-  This 
page online
-     
-  Report a 
bug
-
-  
-
-  
-  
-
-
-
-
-  
-  
-
-  
-  
-
-  
-
-  
-  
-  
-  
-
-  
-
-  
-  
-
-  
-
-  
-
-  
-  
-
-  
-
-
-  
-
-  
-
-  
-
-
-  
-   : 
-
-  
-
-
-
-
-  
-
-
-
-
-
-  
-  
-
-  
-  
-
-
-
-  
-  
-
-
-
-
-
-
-
-
-
-  
-  
-
-
-  
-
-  
-
-
-
-
-  
-
-  
-
-  
-
-
-
-  
-  
-  : 
-
-
-
-  
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  
-
-  
-
-
-
-
-  
-
-
-  
-  ()
-  
-  
-
-  
-
-
-
-
-
-  
-
- 
-
-
- 
-
- ( 
-
-
-  ]
-
- )
-  
-
-
-
-
-  
- [
-  
-  
-, 
-  
-  
-   
-  
-   
-  
-
-  &
-
-   
-  
-
-
-
-
-
-
-
-
-
-
-
-
-
-   
-
-
-
-
-
-
+
+
+http://www.w3.org/1999/XSL/Transform";
+xmlns:doc="http://nwalsh.com/xsl/documentation/1.0";
+xmlns:exsl="http://exslt.org/common";
+xmlns:set="http://exslt.org/sets";
+   version="1.0"
+exclude-result-prefixes="doc exsl set">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+http://www.w3.org/TR/html4/loose.dtd'"/>
+
+
+
+
+
+
+
+
+
+
+appendix  toc,title
+article   toc
+book  toc,title
+chapter   toc,title
+part  toc,title
+preface   toc
+qandadiv  toc
+qandaset  toc
+reference toc,title
+sect1 toc
+sect2 toc
+sect3 toc
+sect4

[PHP-DOC] cvs: phpdoc /htmlhelp/suppfiles/skins/phpZ skin.js

2005-07-30 Thread anatoly techtonik
techtonik   Sat Jul 30 15:36:19 2005 EDT

  Modified files:  
/phpdoc/htmlhelp/suppfiles/skins/phpZ   skin.js 
  Log:
  - fix javascript errors like on appendixes/configure options page when
  navigation link has additional markup child
  
  
http://cvs.php.net/diff.php/phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js?r1=1.4&r2=1.5&ty=u
Index: phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js
diff -u phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js:1.4 
phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js:1.5
--- phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js:1.4Wed Mar 16 13:04:13 2005
+++ phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.jsSat Jul 30 15:36:18 2005
@@ -1,4 +1,4 @@
-// phpZ version 1.0.2 PHP Manual CHM version skin by Gonzalo De la Peña 
<[EMAIL PROTECTED]>
+// phpZ version 1.0.3 PHP Manual CHM version skin by Gonzalo De la Peña 
<[EMAIL PROTECTED]>
 // Based partially on the PHP CHM base skin by Gabor Hojtsy 
 // Minor enhancements by Richard Quadling <[EMAIL PROTECTED]>
 // 
@@ -25,7 +25,7 @@
functionPage = true;
else
functionPage = false;
-   manualVersion = 'phpZ skinver 1.0.2';
+   manualVersion = 'phpZ skinver 1.0.3';
manualDate = '';
 }
 
@@ -276,34 +276,29 @@
var prev = document.all('navPrev');
var next = document.all('navNext');
var html = '';
-   var prevText, nextText;
// RAQ : Friday, 18 February 2005 09:32 am : Initialise variables
var prevURL = '';
var prevText = '';
var nextURL = '';
var nextText = '';

-   if ( ! prev || ! next )
-   {
-   next = document.createElement('DIV');
-   next.innerHTML = ' ';
+   if ( ! prev ) {
prev = document.createElement('DIV');
prev.innerHTML = ' ';
-   }
-   else
-   {
-   if ( ie_version_major >= 6 )
-   {
-   prevText = prev.childNodes[0].childNodes[0];
-   prevText.data = prevText.substringData(3, 
prevText.length - 3);
-   nextText = next.childNodes[0].childNodes[0];
-   nextText.data = nextText.substringData(0, 
nextText.length - 3);
-   }
+   } else {
// RAQ : Friday, 18 February 2005 09:33 am : Retrieve URL and Text for 
next and previous.
prevURL = prev.all.tags('A')(0).href;
prevText = prev.all.tags('A')(0).innerText;
+   prevText = prevText.substring(3);
+}
+
+   if ( ! next ) {
+   next = document.createElement('DIV');
+   next.innerHTML = ' ';
+   } else {
nextURL = next.all.tags('A')(0).href;
nextText = next.all.tags('A')(0).innerText;
+   nextText = nextText.substring(0, nextText.length - 3);
}

html += '';


[PHP-DOC] Excellent FREE XML editor

2005-07-30 Thread Keith Roberts

Greetings all!

Found an interesting XML editor written in Java at:

http://www.xmlmind.com/xmleditor/features.html

The standard version is free to download and use.

It runs on most OS platforms with Java support available.

Here is some info from the above webpage.


Detailed List of Features
Screen Shots
Why Choose XXE?
Standard Edition
Professional Edition
Download Standard Edition
Buy Professional Edition
Upgrade Professional Edition
Documentation
Support
Plug-ins

Features Overview

Supports the DTD, W3C XML Schema, RELAX NG schemas, XML 
namespace, XSLT, XPath, XInclude, XML catalog standards. 
Editing commands are DTD/schema aware. This makes creating 
invalid documents almost impossible. Word processor-like 
views are configured using cascading style sheets (CSS2).

When a CSS style sheet is not available for a document, a 
fully editable tree view is used instead of the word 
processor-like view.

Multiple, synchronized, views can be used to edit the same 
document. Standard controls such as buttons, check boxes, 
combo boxes, text fields, etc, can be embedded in the word 
processor-like view. With this feature, XXE can be used to 
edit XML data, XML documents or a mix of both content types. 
Has an easy to use and yet extremely powerful integrated 
spreadsheet engine. Can transform the document being edited 
using a built-in XSLT engine and FO processor plug-ins.

Supports many image formats (GIF, JPEG, PNG, SVG, TIFF, BMP, 
EPS, PDF, etc) through the use of image toolkit plug-ins. 
Can be used to edit documents stored on an FTP or WebDAV 
server. Ready-to-use support for XHTML (including HTML.4 
tables and forms), DocBook (including CALS tables), 
Simplified DocBook, Slides. Localized to English, French, 
German and Czech. Spell checker with dictionaries for 
English, French, German and Spanish. Multi-platform: 
Windows, Linux, MacOS X. Can be customized (menu, tool bar, 
keyboard shortcuts, macro-commands, etc) without any 
programming, using modular XML configuration files. Can be 
extended by writing custom commands and custom views in the 
JavaTM programming language. Configuration files and Jar 
files containing extension code can be centralized on an 
HTTP or FTP server. Can be deployed using JavaTM Web Start.

See detailed list of features for more information.

© 2003-2005 Pixware. Updated 2005-07-11 using qizx/open.

Java and all Java-based marks are trademarks or registered 
trademarks of Sun Microsystems, Inc. in the U.S. and other 
countries.

Acrobat is a trademark of Adobe Systems Incorporated.

HTH - Keith Roberts


[PHP-DOC] cvs: phpdoc /htmlhelp/suppfiles/html _script.js

2005-07-30 Thread anatoly techtonik
techtonik   Sat Jul 30 15:26:45 2005 EDT

  Modified files:  
/phpdoc/htmlhelp/suppfiles/html _script.js 
  Log:
  * give more time for clipboard copy operations to complete
  http://cvs.php.net/diff.php/phpdoc/htmlhelp/suppfiles/html/_script.js?r1=1.9&r2=1.10&ty=u
Index: phpdoc/htmlhelp/suppfiles/html/_script.js
diff -u phpdoc/htmlhelp/suppfiles/html/_script.js:1.9 
phpdoc/htmlhelp/suppfiles/html/_script.js:1.10
--- phpdoc/htmlhelp/suppfiles/html/_script.js:1.9   Tue Jun 14 10:47:47 2005
+++ phpdoc/htmlhelp/suppfiles/html/_script.js   Sat Jul 30 15:26:43 2005
@@ -1,537 +1,537 @@
-// $Id: _script.js,v 1.9 2005/06/14 14:47:47 techtonik Exp $
-// 
=
-// Preference handling
-
-// Handle all the preferences, including online functions custom
-// context menus, and skins [this is called from php_manual_prefs.js]
-function prefHandler()
-{
-// Find out what file stores the skin JS code
-switch (prefs_skin) {
-
-// Internal low skin
-case "Low":
-skin_js_file = '_skin_lo.js';
-break;
-
-// Internal high skin
-case "High":
-skin_js_file = '_skin_hi.js';
-break;
-
-// An external skin with full path (escape it just
-// to make sure that paths with spaces and other
-// unusual chars will work - and turn back : to
-// it's original form)
-default:
-//escaped_skin = escape(prefs_skin);
-//escaped_skin = escaped_skin.replace(/%3A/, ':')
-skin_js_file = "file:///" + prefs_skin;
-break;
-}
-
-// Load in the skin JS code
-document.write('<'+ '/script>');
-
-// OnContextMenu is only supported in IE5+ so do
-// not try to support the context menu otherwise
-if (ie_version_major >= 5) {
-
-// Write out context menu for the first time into it's div
-document.write('
'); -contextMenuRewrite(true); -document.write('
'); - -// Assign our own event handlers to document events [5+] -document.oncontextmenu = contextMenu; -document.onclick = contextMenuCloseTimeout; -window.onblur = contextMenuCloseTimeout; -} -} - -// = -// CHM path detection - Thanks to Pete Lees and Jeff Hall for this code - -// Get the path and name of the CHM file and assign values -function getCHMFile() -{ -var a, X, Y, Z; -a = location.href.search(/:/); -Y = location.href.lastIndexOf("::"); -if (a == 4) { // file: or http: -Y = location.href.lastIndexOf("/"); -chmfile_page = unescape(location.href.substring(Y+1)); -if (location.href.substring(0,4) == "file") { -chmfile_path = unescape(location.href.substring(8, Y+1)); -} -} -else { -if (a == 2) X = 14; // mk:@MSITStore: -if (a == 7) X = 7; // ms-its: -chmfile_fullname = unescape(location.href.substring(X, Y)); -Z = chmfile_fullname.lastIndexOf("\\"); -chmfile_path = unescape(chmfile_fullname.substring(0, Z+1)); -chmfile_name = unescape(chmfile_fullname.substring(Z+1)); -chmfile_page = unescape(location.href.substring(Y+3)); -} - -// RAQ : Wednesday, 16 March 2005 01:56 pm : If this page has been loaded because -// the notes were selected from the search results, then remove the hash. -if (location.hash == '#userNotes') -chmfile_page = chmfile_page.substring(0, chmfile_page.lastIndexOf('#')); - -//alert( -// "_script\n\n" + -// "location\n"+ -// "location.hash = '" + location.hash + "'\n" + -// "location.host = '" + location.host + "'\n" + -// "location.hostname = '" + location.hostname + "'\n" + -// "location.href = '" + location.href + "'\n" + -// "location.pathname = '" + location.pathname + "'\n" + -// "location.port = '" + location.port + "'\n" + -// "location.protocol = '" + location.protocol + "'\n" + -// "location.search = '" + location.search + "'\n\n" + -// "chmfile\n"+ -// "chmfile_name = '" + chmfile_name + "'\n" + -// "chmfile_path = '" + chmfile_path + "'\n" + -// "chmfile_page = '" + chmfile_page + "'\n" -// ); - -} - -// = -// Page display and online functions code - -// Go online to see this page in an external window [called when a user -// clicks on the "this page oline" link] -function thisPageOnline() -{ -if (!prefs_online) { -alert("You are in offline mode.\nThis functionality is not available"); -} else { -window.open(prefs_mirror + 'manual/' + this_lang + '/' + this_page_php); -} -} - -// Report bug on this manual page, using GET metho

[PHP-DOC] proposal system

2005-07-30 Thread anatoly techtonik
Hello, phpdoc@lists.php.net

I don't know who invented proposal system, but I dislike it.
Proposals votings and so-called "democratic system" is evil. If we
can't find a consensus then we are very bad team. I personally enjoy
solving phpdoc tasks and act on my own, but programming proposal for
my chaotic nature is not different from ordinary job, except that it
is my free time. IMHO a proof of concept and fix to recent commit in
many ways better than a good advice and appreciation of the work yet
undone.

   Which problems (conflicts) do we want to solve?
 and
   Who we want to convince (force) with this system?

t
-- 
--[ http://wiki.phpdoc.info/DocLinks ]--


[PHP-DOC] #33930 [Opn->Bgs]: CHM bug in French documentation

2005-07-30 Thread nlopess
 ID:   33930
 Updated by:   [EMAIL PROTECTED]
 Reported By:  lundyb at gmail dot com
-Status:   Open
+Status:   Bogus
 Bug Type: Documentation problem
 Operating System: Windows XP
 PHP Version:  Irrelevant
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

.


Previous Comments:


[2005-07-30 20:55:31] lundyb at gmail dot com

Description:

I have downloaded the file php_manual_fr.chm (From here:
http://fr2.php.net/get/php_manual_fr.chm/from/a/mirror) but I think
this file doesn't function correctly.

Indeed, for all the categories, I have the message "Impossible de
trouver le fichier H:/phpdoc/fr/html. Vérifiez que le chemin
d'accès ou l'adresse Internet sont corrects". In my opinion, this is a
problem with absolute URI's.

There are a screenshot here which shows the problem:
http://img182.imageshack.us/img182/9835/errphp5es.jpg

NOTE BEFORE BECOME NERVOUS:
I know there are already a report of this bug, but...always the bug :(

(Sorry for my English, I'm french)






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


[PHP-DOC] #33930 [NEW]: CHM bug in French documentation

2005-07-30 Thread lundyb at gmail dot com
From: lundyb at gmail dot com
Operating system: Windows XP
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  CHM bug in French documentation

Description:

I have downloaded the file php_manual_fr.chm (From here:
http://fr2.php.net/get/php_manual_fr.chm/from/a/mirror) but I think this
file doesn't function correctly.

Indeed, for all the categories, I have the message "Impossible de trouver
le fichier H:/phpdoc/fr/html. Vérifiez que le chemin d'accès ou
l'adresse Internet sont corrects". In my opinion, this is a problem with
absolute URI's.

There are a screenshot here which shows the problem:
http://img182.imageshack.us/img182/9835/errphp5es.jpg

NOTE BEFORE BECOME NERVOUS:
I know there are already a report of this bug, but...always the bug :(

(Sorry for my English, I'm french)


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


[PHP-DOC] cvs: phpdoc /xsl htmlhelp.xsl

2005-07-30 Thread anatoly techtonik
techtonik   Sat Jul 30 14:30:40 2005 EDT

  Modified files:  
/phpdoc/xsl htmlhelp.xsl 
  Log:
  - attempt to fix javascript errors of Bug #29749 while printing
  http://cvs.php.net/diff.php/phpdoc/xsl/htmlhelp.xsl?r1=1.22&r2=1.23&ty=u
Index: phpdoc/xsl/htmlhelp.xsl
diff -u phpdoc/xsl/htmlhelp.xsl:1.22 phpdoc/xsl/htmlhelp.xsl:1.23
--- phpdoc/xsl/htmlhelp.xsl:1.22Thu Jul 14 09:42:28 2005
+++ phpdoc/xsl/htmlhelp.xsl Sat Jul 30 14:30:40 2005
@@ -1,755 +1,755 @@
-
-
-http://www.w3.org/1999/XSL/Transform";
-xmlns:doc="http://nwalsh.com/xsl/documentation/1.0";
-xmlns:exsl="http://exslt.org/common";
-xmlns:set="http://exslt.org/sets";
-   version="1.0"
-exclude-result-prefixes="doc exsl set">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-http://www.w3.org/TR/html4/loose.dtd'"/>
-
-
-
-
-
-
-
-
-
-
-appendix  toc,title
-article   toc
-book  toc,title
-chapter   toc,title
-part  toc,title
-preface   toc
-qandadiv  toc
-qandaset  toc
-reference toc,title
-sect1 toc
-sect2 toc
-sect3 toc
-sect4 toc
-sect5 toc
-section   toc
-set   toc
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  
-
-  
-  
-
-  
-  
-
-  
-
-  
-  
-  
-  
-
-
-  
-  
-  
-  
-
-
-  
-  
-
-
-
-  
-  
-
-  
-
-
-  
-
-
-  
-
-  
-
-  
-  
-  
-
-
-  
-  
-
-  
-
-
-
-  
-
-  
-
-  
-  
-
-
-
-
-
-  
-
-  
-
-
-  
-
-  
-
-
-
-
-  
-
-
-
-
-  
-  
-  
-
-
-
-
-
-
-
-
-
-  
-  
-  
-  
-  
-
-  
-
-  
-
-
-  
-
-  
-
-  
-
-
-
-  
-
-  
-
-  
-  
-
-  
-
-
-  
-  
-
-  
-  
-
-  
-
-  
-
-  
-  
-  
-
-
-  
-  
-  
-  
-
-
-  
-  
-  
-
-  
-
-
-
-
-
-
-  
-
-  
-
-  
-  
-
-
-
-  
-
-
-  
-
-
-
-
-
-  
-
-  
-
-  
-  
-
-  
-
-
-  
-  
-
-  
-
-  
-  
-  
-
-
-  
-  
-  
-
-  
-
-  
-
-  
-
-
-
-
-
-
-
-
-
-
-
-
-  
-  
-  
-  
-
-  
-
-  
-
-  
-  
-
-
-
-  
-  
-
-
-
-   
-   
-   
-
-
-
-
-
-
-
-
-
-   
-   
-   
-
-
-
-  
-
-  
-
-
-
-
-  
-
-
-
-  
-
-
-
-  
-  
-
-
-
-
-  displayPage();
-  if(prefs_context_override){return 
false;}
-
-
- 
-
-
-
-
-
-  
-  
-  
-   function displayNotes() { _displayNotes(); }
-   loadNotes();
-  
-
-
-
-
-  
-  
-  
-  
-  
- 
-  
-
-  
-  
-
-  
-
-  
-
-<< 
-
-  
-  
-
-  
-  
-
-
-  
-
-
-  
-  
-
-  
-  
-
-  
-
-  
-
-
- >>
-  
-  
-
-  
-
- 
-  
-
-  This 
page online
-     
-  Report a 
bug
-
-  
-
-  
-  
-
-
-
-
-  
-  
-
-  
-  
-
-  
-
-  
-  
-  
-  
-
-  
-
-  
-  
-
-  
-
-  
-
-  
-  
-
-  
-
-
-  
-
-  
-
-  
-
-
-  
-   : 
-
-  
-
-
-
-
-  
-
-
-
-
-
-  
-  
-
-  
-  
-
-
-
-  
-  
-
-
-
-
-
-
-
-
-
-  
-  
-
-
-  
-
-  
-
-
-
-
-  
-
-  
-
-  
-
-
-
-  
-  
-  : 
-
-
-
-  
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  
-
-  
-
-
-
-
-  
-
-
-  
-  ()
-  
-  
-
-  
-
-
-
-
-
-  
-
- 
-
-
- 
-
- ( 
-
-
-  ]
-
- )
-  
-
-
-
-
-  
- [
-  
-  
-, 
-  
-  
-   
-  
-   
-  
-
-  &
-
-   
-  
-
-
-
-
-
-
-
-
-
-
-
-
-
-   
-
-
-
-
-
-
+
+
+http://www.w3.org/1999/XSL/Transform";
+xmlns:doc="http://nwalsh.com/xsl/documentation/1.0";
+xmlns:exsl="http://exslt.org/common";
+xmlns:set="http://exslt.org/sets";
+   version="1.0"
+exclude-result-prefixes="doc exsl set">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+http://www.w3.org/TR/html4/loose.dtd'"/>
+
+
+
+
+
+
+
+
+
+
+appendix  toc,title
+article   toc
+book  toc,title
+chapter   toc,title
+part  toc,title
+preface   toc
+qandadiv  toc
+qandaset  toc
+reference toc,title
+sect1 toc
+sect2 toc
+sect3 toc
+sect4 toc
+sect5 toc
+section   toc
+set   toc
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

[PHP-DOC] cvs: phpdoc /en/reference/datetime constants.xml reference.xml /en/reference/datetime/functions date.xml gmmktime.xml mktime.xml strtotime.xml

2005-07-30 Thread Nuno Lopes
nlopess Sat Jul 30 14:14:12 2005 EDT

  Added files: 
/phpdoc/en/reference/datetime   constants.xml 

  Modified files:  
/phpdoc/en/reference/datetime   reference.xml 
/phpdoc/en/reference/datetime/functions date.xml gmmktime.xml 
mktime.xml strtotime.xml 
  Log:
  add the new date constants.
  deprecate is_dst parameter
  document the new date() format chars
  http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/reference.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/datetime/reference.xml
diff -u phpdoc/en/reference/datetime/reference.xml:1.8 
phpdoc/en/reference/datetime/reference.xml:1.9
--- phpdoc/en/reference/datetime/reference.xml:1.8  Wed Jun 22 15:33:34 2005
+++ phpdoc/en/reference/datetime/reference.xml  Sat Jul 30 14:14:09 2005
@@ -1,5 +1,5 @@
 
-
+
  
   Date and Time Functions
   Date/Time
@@ -47,10 +47,7 @@
 &no.resource;


-   
-&reftitle.constants;
-&no.constants;
-   
+   &reference.datetime.constants;

   
 
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date.xml?r1=1.18&r2=1.19&ty=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.18 
phpdoc/en/reference/datetime/functions/date.xml:1.19
--- phpdoc/en/reference/datetime/functions/date.xml:1.18Sun Apr 24 
19:50:57 2005
+++ phpdoc/en/reference/datetime/functions/date.xml Sat Jul 30 14:14:11 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -144,6 +144,14 @@
1 if it is a leap year, 0 
otherwise.
   
   
+   o
+   ISO-8601 year number. This has the same value as
+Y, except that if the ISO week number
+(W) belongs to the previous or next year, that year
+is used instead. (added in PHP 5.1.0)
+   Examples: 1999 or 
2003
+  
+  
Y
A full numeric representation of a year, 4 digits
Examples: 1999 or 
2003
@@ -209,6 +217,11 @@
---
   
   
+   e
+   Timezone identifier (added in PHP 5.1.0)
+   Examples: UTC, GMT, 
Atlantic/Azores
+  
+  
I (capital i)
Whether or not the date is in daylights savings time
1 if Daylight Savings Time, 
0 otherwise.
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/gmmktime.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/datetime/functions/gmmktime.xml
diff -u phpdoc/en/reference/datetime/functions/gmmktime.xml:1.8 
phpdoc/en/reference/datetime/functions/gmmktime.xml:1.9
--- phpdoc/en/reference/datetime/functions/gmmktime.xml:1.8 Sun Apr 24 
19:50:58 2005
+++ phpdoc/en/reference/datetime/functions/gmmktime.xml Sat Jul 30 14:14:11 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -31,6 +31,13 @@
from right to left, with any omitted arguments being set to the
current corresponding GMT value.
   
+  
+   
+As of PHP 5.1.0, the is_dst parameter became
+deprecated. As a result, the new timezone handling features should be used
+instead.
+   
+  
   

 
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/mktime.xml?r1=1.17&r2=1.18&ty=u
Index: phpdoc/en/reference/datetime/functions/mktime.xml
diff -u phpdoc/en/reference/datetime/functions/mktime.xml:1.17 
phpdoc/en/reference/datetime/functions/mktime.xml:1.18
--- phpdoc/en/reference/datetime/functions/mktime.xml:1.17  Fri Jun  3 
04:46:16 2005
+++ phpdoc/en/reference/datetime/functions/mktime.xml   Sat Jul 30 14:14:11 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
  
@@ -81,10 +81,11 @@
  
   
The number of the year, may be a two or four digit value,
-   with values between 0-69 mapping to 2000-2069 and 70-99 to
-   1970-1999 (on systems where time_t is a 32bit signed integer, as
+   with values between 0-69 mapping to 2000-2069 and 70-100 to
+   1970-2000. On systems where time_t is a 32bit signed integer, as
most common today, the valid range for year 
-   is somewhere between 1901 and 2038).
+   is somewhere between 1901 and 2038, although this limitation is
+   overcome as of PHP 5.1.0.
   
  
 
@@ -103,6 +104,12 @@
Some systems (e.g. Solaris 8) enable DST at midnight so time 0:30 of 
the day when DST 
is enabled is evaluated as 23:30 of the previous day.
   
+  
+   
+As of PHP 5.1.0, this parameter became deprecated. As a result, the
+new timezone handling features should be used instead.
+   
+  
  
 

@@ -136,6 +143,10 @@
3.0.10
Added is_dst parameter
   
+  
+   5.1.0
+   the is_dst parameter became 
deprecated
+  
  
 

http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/strtotime.xml?r1=1.14&r2=1.15&ty=u
Index: phpdoc/en/reference/datetime/functions/strtotime.xml
diff -u phpdoc/en/reference/datetime/functions/strtotime.xml:1.14 
phpdoc/en/reference/datetime/functions/strtoti

[PHP-DOC] cvs: phpdoc /en/docweb main.ent

2005-07-30 Thread Jacques Marneweck
jacques Sat Jul 30 12:25:27 2005 EDT

  Modified files:  
/phpdoc/en/docweb   main.ent 
  Log:
  Stripped markup from *.users.*
  
  
http://cvs.php.net/diff.php/phpdoc/en/docweb/main.ent?r1=1.20&r2=1.21&ty=u
Index: phpdoc/en/docweb/main.ent
diff -u phpdoc/en/docweb/main.ent:1.20 phpdoc/en/docweb/main.ent:1.21
--- phpdoc/en/docweb/main.ent:1.20  Sat Jul 30 12:12:56 2005
+++ phpdoc/en/docweb/main.ent   Sat Jul 30 12:25:26 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
 
@@ -132,9 +132,9 @@
 authentication, you will be redirected to this form automatically.'>
 
 
-Username'>
-Real name'>
-Country'>
+
+
+
   
 
 


Re: [PHP-DOC] cvs: phpdoc /en/docweb main.ent

2005-07-30 Thread Sean Coates

Jacques Marneweck wrote:

+
+
+Username'>
+Real name'>
+Country'>


I really think we should avoid putting markup directly in the entities 
when simple.


For example, in docweb.login.text, it would be inconvenient to break 
that piece into two entities (one for "Note:" and one for the rest).


However, in the case of docweb.users.*, we should put the  tags 
into the template, and allow the entities to be only text.


(sorry for the crosspost)

S


[PHP-DOC] cvs: phpdoc /en/docweb main.ent

2005-07-30 Thread Jacques Marneweck
jacques Sat Jul 30 12:12:58 2005 EDT

  Modified files:  
/phpdoc/en/docweb   main.ent 
  Log:
  Added user page entities.
  
  
http://cvs.php.net/diff.php/phpdoc/en/docweb/main.ent?r1=1.19&r2=1.20&ty=u
Index: phpdoc/en/docweb/main.ent
diff -u phpdoc/en/docweb/main.ent:1.19 phpdoc/en/docweb/main.ent:1.20
--- phpdoc/en/docweb/main.ent:1.19  Thu Jul 28 14:10:08 2005
+++ phpdoc/en/docweb/main.ent   Sat Jul 30 12:12:56 2005
@@ -1,5 +1,5 @@
 
-
+
 
 
 
@@ -59,6 +59,7 @@
 
 
 
+ 
 
 
 
@@ -129,6 +130,11 @@
 Note: If you just want to browse
 the website, you will not need to login.  For all tasks that require
 authentication, you will be redirected to this form automatically.'>
+
+
+Username'>
+Real name'>
+Country'>
   
 
 


[PHP-DOC] #27688 [Opn->Csd]: Session names consisting of only numbers cause session id generation

2005-07-30 Thread vrana
 ID:   27688
 Updated by:   [EMAIL PROTECTED]
 Reported By:  ryan at daelibs dot com dot au
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: *
 PHP Version:  5CVS, 4CVS (2005-01-10)
 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.

"Session name can't consist only from digits, at least one letter must
be present. Otherwise new session id is generated every time."


Previous Comments:


[2005-07-29 18:30:20] [EMAIL PROTECTED]

There should be a big fat warning about this in the manual.




[2005-07-29 18:29:48] [EMAIL PROTECTED]

Session name can NOT be a plain number. 
No checks will be added since that'd make the code slower for no real
gain.




[2004-03-29 09:39:15] [EMAIL PROTECTED]

This happens because PHP turns a numeric session name 
into an array index inside $_COOKIE and we're doing an 
zend_hash_find() instead of a zend_hash_index_find(). 
(ext/session/session.c, line 1098).

We can probably fix the bug by doing a 
zend_hash_index_find() instead if the session name 
successfully converts to a integer.




[2004-03-29 04:53:03] unknown at simplemachines dot org

Here's a simple workaround:


Session ID: ', session_id(), '
Cookie: ', $_COOKIE[session_name()];

?>

Removing the session_id() line though, shows that the cookie is still
being properly set.

-[Unknown]



[2004-03-25 00:00:26] ryan at daelibs dot com dot au

Description:

When you use a session name that has only numbers, each call to
session_start seems to regenerate a new session id, so the session does
not persist.

The code below can be loaded and refreshed to reproduce the behaviour


Reproduce code:
---
';
echo 'Session Id: '.session_id().'';
?>

Expected result:

Session Name: 99
Session Id: {{a sid that remains the same between each refresh }} 

Actual result:
--
Session Name: 99
Session Id: {{a different sid each refresh}} 





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


[PHP-DOC] cvs: phpdoc /en/reference/session/functions session-name.xml

2005-07-30 Thread Jakub Vrana
vrana   Sat Jul 30 04:44:30 2005 EDT

  Modified files:  
/phpdoc/en/reference/session/functions  session-name.xml 
  Log:
  Session name must contain a letter (bug #27688)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/session/functions/session-name.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/session/functions/session-name.xml
diff -u phpdoc/en/reference/session/functions/session-name.xml:1.4 
phpdoc/en/reference/session/functions/session-name.xml:1.5
--- phpdoc/en/reference/session/functions/session-name.xml:1.4  Wed May 19 
04:46:40 2004
+++ phpdoc/en/reference/session/functions/session-name.xml  Sat Jul 30 
04:44:26 2005
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -27,6 +27,12 @@
  for every request (and before session_start
  or session_register are called).
 
+
+ 
+  Session name can't consist only from digits, at least one letter must be
+  present. Otherwise new session id is generated every time.
+ 
+
 
  session_name examples