dmytton Mon Feb 26 20:11:52 2007 UTC
Modified files:
/phpdoc/en/reference/uodbc reference.xml
/phpdoc/entitiesglobal.ent
Log:
Reworded description about iODBC to make it clearer. Closes #39453
dmytton Sun Feb 25 18:14:09 2007 UTC
Modified files:
/phpdoc/en/reference/mbstring/functions mb-strrpos.xml
Log:
Patch from #40522
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mbstring/functions/mb-strrpos.xml?r1=1.5r2=1.6diff_format=u
Index:
dmytton Sat Feb 24 20:42:20 2007 UTC
Modified files:
/phpdoc/en/appendices ini.xml
Log:
Fixed #40614 Incorrect memory_limit documentation
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/ini.xml?r1=1.48r2=1.49diff_format=u
Index:
dmytton Sat Feb 24 20:57:32 2007 UTC
Modified files:
/phpdoc/en/reference/image reference.xml
Log:
Applied patch in #40525
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/reference.xml?r1=1.29r2=1.30diff_format=u
Index:
dmytton Sat Feb 24 21:12:24 2007 UTC
Modified files:
/phpdoc/en/reference/mbstring/functions mb-strrpos.xml
Log:
Missed space in previous commit
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mbstring/functions/mb-strrpos.xml?r1=1.4r2=1.5diff_format=u
dmytton Sat Feb 24 21:32:28 2007 UTC
Modified files:
/phpdoc/en/reference/stream/functions stream-socket-client.xml
Log:
Added note about timeout with async. Closes #40517
Is anyone working on the SOAP documentation at the moment? I have been
working with it in PHP recently and have found the documentation to be a
bit sparse. If nobody else is doing stuff, I'm planning on adding some
more detail.
--
David Mytton
http://www.olate.co.uk
http://www.mytton.net
on the non-English pages regardless.
--
David Mytton
http://www.olate.co.uk
to review them in the various languages
too.
--
David Mytton
http://www.olate.co.uk
Is it worth me using the RFC for this?
--
David Mytton
http://www.olate.co.uk
No, I mean http://doc.php.net/php/rfc/rfc-overview.php - request for
comments...if that is indeed what it is for? :)
--
David Mytton
http://www.olate.co.uk
it does't
matter where you put PHP. But I think I'll create a separate copy in
C:\PHP so as to avoid this problem.
--
David Mytton
http://www.olate.co.uk
it to the root. But I'm
not most people :)
Are you ready to give me a trial run?
Not yet. I've got the Cygwin setup, checkout and config instructions
done. Now I'm doing the basics of editing, checking the syntax and
building the manual.
--
David Mytton
http://www.olate.co.uk
. :)
--
David Mytton
http://www.olate.co.uk
:
http://www.phpdoc.info/meta/function-aliases.php
phpdoc mailing list archive:
http://marc.theaimsgroup.com/?l=phpdoc
--
David Mytton
http://www.olate.co.uk
--
David Mytton
http://www.olate.co.uk
many argyments
./configure: line 1410: /cygdrive/c/Program: No such file or directory
./configure: line 1412: /cygdrive/c/Program: No such file or directory
./configure: line 1412: test: yes: unary operator expected
configure: error: PHP version 4.0.0 or newer needed
--
Regards,
David Mytton
http
remember how to do it!
--
Regards,
David Mytton
http://www.olate.co.uk
I'd like to appear on the Authors and Editors list. I've not done
too much recently but I'm hoping to make some time to continue adding
examples to functions without then like I started doing a while back
:)
--
Regards,
David Mytton
http://www.olate.co.uk
If I wanted to add a link to
http://www.php.net/manual/en/ref.mysql.php would the link be:
link linkend=ref.mysqlLink text/link
?
--
Regards,
David Mytton
http://www.olate.co.uk
Thanks.
On 12/08/05, Dan Scott [EMAIL PROTECTED] wrote:
On 8/12/05, David Mytton [EMAIL PROTECTED] wrote:
If I wanted to add a link to
http://www.php.net/manual/en/ref.mysql.php would the link be:
link linkend=ref.mysqlLink text/link
?
--
Regards,
David Mytton
http
dmytton Fri Aug 12 09:33:14 2005 EDT
Modified files:
/phpdoc/en/faq databases.xml
Log:
Added link to installation instructions for bug #34081
http://cvs.php.net/diff.php/phpdoc/en/faq/databases.xml?r1=1.27r2=1.28ty=u
Index: phpdoc/en/faq/databases.xml
diff
I am updating http://www.php.net/manual/en/ref.pdo.php to add some
extra information for installation as per
http://bugs.php.net/bug.php?id=33696 and I want to add a link to
http://pecl.php.net/package-search.php?pkg_name=PDO_ - how do I add my
own link in to do this?
--
Regards,
David Mytton
I have subscribed to the docweb list now, and reminding Gabor about the karma ;)
--
Regards,
David Mytton
http://www.olate.co.uk
Presumably one has to have access to the php.net website CVS to fix this? :)
--
Regards,
David Mytton
http://www.olate.co.uk
Ok great. I'll subscribe to the mailing list this evening.
--
Regards,
David Mytton
http://www.olate.co.uk
but also assist new people.
Presumably the php.net website can then link to the doc.php.net site.
What do you think?
--
Regards,
David Mytton
http://www.olate.co.uk
dmytton Mon Jun 6 13:50:56 2005 EDT
Modified files:
/phpdoc/en/reference/datetime/functions strtotime.xml
Log:
Tweak for bug 33105
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/strtotime.xml?r1=1.12r2=1.13ty=u
Index:
bugs and working on adding stuff to the docs :)
--
Regards,
David Mytton
http://www.olate.co.uk
Windows. My tool of choice is obviously Cygwin for source management,
but also Jedit for the actual editing of the docs. Might be worth
mentioning?
--
Regards,
David Mytton
http://www.olate.co.uk
,
David Mytton
http://www.olate.co.uk
That would be a good idea to set up. It would save a lot of trouble
getting things like CygWin set up at least.
--
Regards,
David Mytton
http://www.olate.co.uk
On 4/6/05, David Mytton [EMAIL PROTECTED] wrote:
Since I recently started working on the docs, do you think it is worth
me writing a quick start document with bullet points explaining
exactly how to get involved (referencing pages in the howto)? When I
originally looked at it, I found
?
--
Regards,
David Mytton
http://www.olate.co.uk
lists and newsgroup :
The French Mailing List link is dead.
regards
--
colder
http://www.colder.ch/v2
[EMAIL PROTECTED]
--
Regards,
David Mytton
http://www.olate.co.uk
dmytton Thu Apr 7 17:45:39 2005 EDT
Modified files:
/phpdoc/en/faq installation.xml
Log:
Added note as per bug #32625
http://cvs.php.net/diff.php/phpdoc/en/faq/installation.xml?r1=1.43r2=1.44ty=u
Index: phpdoc/en/faq/installation.xml
diff -u
Ahh, perhaps I should have read that README also... *printed*
--
Regards,
David Mytton
http://www.olate.co.uk
.
--
Regards,
David Mytton
http://www.olate.co.uk
On Apr 6, 2005 4:14 PM, Gabor Hojtsy [EMAIL PROTECTED] wrote:
A quick start guide would be nice at the start of the howto, which links
to detailed information in the document.
Goba
Ok, I'll write something up either today or tomorrow.
--
Regards,
David Mytton
http://www.olate.co.uk
On Apr 6, 2005 6:18 PM, Philip Olson [EMAIL PROTECTED] wrote:
Have you looked at the README?
Yes, I have.
--
Regards,
David Mytton
http://www.olate.co.uk
Yeah, I agree with the changes. It would make it much less confusing
when you actually see the error output!
Mehdi Achour wrote:
Gabor Hojtsy wrote:
+// redefine the user error constants - PHP 4 only
+define(FATAL, E_USER_ERROR);
+define(ERROR, E_USER_WARNING);
+define(WARNING,
dmytton Tue Apr 5 06:51:54 2005 EDT
Modified files:
/phpdoc/en/reference/errorfunc/functionsrestore-error-handler.xml
Log:
Fixed example switch statement output to show correct error types
Gabor Hojtsy wrote:
The output should be changed too :) It is not a good prectice to echo
WARNING in case of a NOTICE, right? David's copy of this example should
also be fixed. David?
Goba
All done :)
Regards,
David Mytton
Olate Ltd
http://www.olate.co.uk
dmytton Tue Apr 5 06:57:50 2005 EDT
Modified files:
/phpdoc/en/reference/mysqli/functions mysqli-data-seek.xml
Log:
Fixed bug 32570
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-data-seek.xml?r1=1.17r2=1.18ty=u
Index:
Sean Coates wrote:
David Mytton wrote:
By the way, the text you closed it with - is that in the quick fix
drop menu as I can't see it on there anywhere?
Yes, fixed in CVS
S
In which case, should http://bugs.php.net/quick-fix-desc.php be updated
to say that the actual message posted will change
Derick Rethans wrote:
On Mon, 4 Apr 2005, David Mytton wrote:
Should work now, can you please test?
regards,
Derick
Yeh, it does work now - I just closed a bug ok. It had me logged in
automatically.
Regards,
David Mytton
Olate Ltd
http://www.olate.co.uk
Presumably, this was decided long ago and won't be changed, so this
bug can be closed?
http://bugs.php.net/bug.php?id=26096
--
Regards,
David Mytton
Managing Director - Olate Ltd
http://www.olate.co.uk
dmytton Tue Apr 5 11:36:42 2005 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions is-readable.xml
Log:
Added example
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/is-readable.xml?r1=1.5r2=1.6ty=u
Index:
Hi,
The http://www.phpdoc.info/meta/missing-examples.php list isn't
updating. I'd like to use that so I can add examples to functions that
don't have them. Is anyone able to set it updating again or tell me
how I can do it?
Thanks
--
Regards,
David Mytton
http://www.olate.co.uk
dmytton Tue Apr 5 11:46:30 2005 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions is-file.xml
Log:
Added example
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/is-file.xml?r1=1.6r2=1.7ty=u
Index:
dmytton Tue Apr 5 13:36:37 2005 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions is-readable.xml
is-writable.xml
Log:
Removed tabs from examples
dmytton Tue Apr 5 17:31:12 2005 EDT
Modified files:
/phpdoc/en/reference/calendar/functions cal-info.xml
Log:
Added param calendar info from note and added example
Hi,
I have added an example to the dir.closedir function. Diff is attached.
--
Regards,
David Mytton
Olate Ltd
http://www.olate.co.uk
? dir.closedir.xml.diff
Index: closedir.xml
===
RCS file: /repository/phpdoc/en/reference/dir
Hi,
I have added an example to the errorfunc.restore_error_handler function.
Diff is attached.
--
Regards,
David Mytton
Olate Ltd
http://www.olate.co.uk
? errorfunc.restore-error-handler.xml.diff
Index: restore-error-handler.xml
dmytton Mon Apr 4 13:31:30 2005 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions is-writable.xml
Log:
Added example
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/is-writable.xml?r1=1.6r2=1.7ty=u
Index:
dmytton Mon Apr 4 13:32:43 2005 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions fwrite.xml
Log:
Added function tag to example title
http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/fwrite.xml?r1=1.12r2=1.13ty=u
Index:
dmytton Mon Apr 4 13:47:31 2005 EDT
Modified files:
/phpdoc/en/reference/mysqli/functions mysqli-query.xml
Log:
Fix for bug #32573
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-query.xml?r1=1.8r2=1.9ty=u
Index:
dmytton Mon Apr 4 14:00:22 2005 EDT
Modified files:
/phpdoc/en/reference/errorfunc/functionsrestore-error-handler.xml
Log:
Added example
http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml?r1=1.5r2=1.6ty=u
Index:
Ahh yes, thanks for that. I'll remember for next time :) I also
committed the changes since I now have my CVS account.
Regards,
David Mytton
Olate Ltd
http://www.olate.co.uk
Philip Olson wrote:
Be sure to use example.outputs.similar; instead of
example.outputs; where appropriate.
I fixed this but I can't close the bug - The username or password you
supplied was incorrect.
Regards,
David Mytton
Olate Ltd
http://www.olate.co.uk
jmarbas at hotmail dot com wrote:
From: jmarbas at hotmail dot com
Operating system: n/a
PHP version: 5.0.3
PHP Bug Type
Thanks for that.
By the way, the text you closed it with - is that in the quick fix drop
menu as I can't see it on there anywhere?
Regards,
David Mytton
Olate Ltd
http://www.olate.co.uk
Sean Coates wrote:
David Mytton wrote:
I fixed this but I can't close the bug - The username or password you
Derick Rethans wrote:
You can do it, go to the developer tab. Theusername and password are
only for the original bug's submitter.
Derick
On the developer tag, it says CVS Username and Password though... Isn't
the Edit Submission tab for the original submitter?
Regards,
David Mytton
Olate Ltd
Derick Rethans wrote:
On Mon, 4 Apr 2005, David Mytton wrote:
correct. you're saying that your cvs username and password don't work?
Derick
Yeh, it didn't work when I tried to login. I suspect it hasn't
propagated throughout the whole site yet?
David
Gabor Hojtsy wrote:
+// redefine the user error constants - PHP 4 only
+define(FATAL, E_USER_ERROR);
+define(ERROR, E_USER_WARNING);
+define(WARNING, E_USER_NOTICE);
Is this from a different part of the manual? Is it supposed to be a good
idea to rename WARNING to ERROR and NOTICE to WARNING? It
Hi,
I'm going to be installing Cygwin today so I'll try and check this.
David
Gabor Hojtsy wrote:
Hi,
Have someone tried an openjade and sp install within cygwin? It would
greatly simplify the windows setup process, if we could say that
someone is fine with using the openjade provided with
Gabor Hojtsy wrote:
Yes, it would definitely be better. I can hand out CVS write access to
those, who are willing to contribute to the doc.php.net website, which
is supposed to be this very place. The doc website team has a mailing
list, but sadly only a few people are active.
Sean Coates wrote:
The data at http://www.phpdoc.info/meta/ has been inaccurate for at
least as long (less than a week, though), as these scripts used to be
located in a different place, and I forgot to update the config.
(I have them half moved to docweb, but.. time constraints...)
The
Is this really a valid bug? Is it down to the doc writers to provide
examples for something like this?
David
gehrig at ishd dot de wrote:
ID: 32410
User updated by: gehrig at ishd dot de
Reported By: gehrig at ishd dot de
Status: Open
Bug Type: Documentation
Ok. I'm not too familiar with SOAP (never needed to use it before) so
I'll have to do some research into this before I do so. But does anyone
have any examples for this function I could possibly use?
Mehdi Achour wrote:
IMHO, the more (consistant) examples we have, the more we help our readers.
Thanks!
Leonardo Boshell wrote:
Hi David,
Ok. I'm not too familiar with SOAP (never needed to use it before) so
I'll have to do some research into this before I do so. But does anyone
have any examples for this function I could possibly use?
I was asked recently to develop a program that
I thought I'd provide some notes for my experience with cygwin because
it was not straightforward!
- Downloading and installing the default setup.exe from cygwin is not
sufficient. It does not come with any of the packages that you need by
default. I had to manually install the following:
Hi,
I've attached the diff of my latest attempt using cygwin this time.
David
Index: localtime.xml
===
RCS file: /repository/phpdoc/en/reference/datetime/functions/localtime.xml,v
retrieving revision 1.3
diff -u -r1.3 localtime.xml
Hi,
Just tried to do a make html but it failed with an openjade error saying
it could not find certain .xml files even though they are present in the
correct directories. I have downloaded new copies from the website and
tried to build them manually but I still can't get it to work. Any
Using the openjade provided with cygwin. I have attached the output from
running make html but it doesn't show the errors afterwards. For some
reason they are outputted to the console. But it is like this:
/usr/bin/openjade:manual.xml:49:1:E: cannot find
Here is the output but without any of the errors.
Gabor Hojtsy wrote:
Openjade installed by cygwin? Openjade installed by you as windows
exe? What XML files does it miss?
Goba
rm -rf html mkdir html
../phpdoc-tools/php.bat -q ./scripts/rtlpatch/hackmanuallang.php en
SP_ENCODING=XML
I have it all working now.
First, I installed openjade through cygwin and ran autoconf and
./configure. Running make html generated the errors I posted a while ago.
Then I tried downloading jade itself but I didn't realise I was
downloading the windows source (I didn't spot the link to the
Gabor Hojtsy wrote:
Could you please revert back to the without jade setup and post
those 20 lines I have asked you for?
!-- DON'T TOUCH - AUTOGENERATED BY file-entities.php --
!-- ZendAPI not found --
!ENTITY zendapi.toc ''
!-- global function index file --
The rest of the document is just like that. All the paths seem to be
correct. For example one of the errors is:
/usr/bin/openjade:manual.xml:168:2:E: cannot find
C:/cygwin/home/David/phpdoc/entities/missing-ids.xml; tried
entities/C:/cygwin/home/David/phpdoc/entities/missing-ids.xml,
I can't find the PHP option in the setup. I did a search on their
website at http://www.cygwin.com/packages and PHP isn't listed.
David
Gabor Hojtsy wrote:
David, please install the PHP package in cygwin (with the cygwin setup
tool - it will not affect your normal PHP install), and try again.
Hi,
Here is the diff for the finished modifications to
en/reference/datetime/functions/localtime.xml. This includes an added
note from 2 of the comments added to the current entry and an example
(it doesn't already have one). It has been validated.
David
? localtime.xml.diff
Index:
Yeh, Apache and wget are there. But there is no PHP.
David
Gabor Hojtsy wrote:
This says that Apache, PHP, etc. should be listed in the web category:
http://www.kegel.com/php.html#demo2.cygwin
Goba
Gabor Hojtsy wrote:
Until then, please update your phpdoc checkout (I just made it simpler
to go on with our tests :) and modify file-entities.php.in in the
scripts folder to always set $cygwin_compiled to true. Then please try
to ./configure and make test.
Ok, I changed the $cygwin_compiled
Gabor Hojtsy wrote:
Now the errors should contain /cygdrive path values. Are they?
Goba
No, they still have the C:/cygwin paths in them. This is using my
Windows PHP (not the cygwin one).
Righto. I think I might use Jedit to do the editing in Windows and just
generate the diffs and doing the CVS stuff using cygwin. Nano editor is
good for small edits but not so good after a while imo.
David
anatoly techtonik wrote:
||*()*|| Hi, David.
DM Is there anyone using native Windows
Yeah, I did. And I also double checked the generated file-entities.php
file to ensure the change was in that.
Gabor Hojtsy wrote:
Hum, the $cygwin_compiled = true; change in the file-entities.php.in
file and the ./configure should have resulted in the cygwin stripper
not being called. Are you
Yep.
$Id: file-entities.pgp.in,v 1.35 2005/04/03 18:47:41 goba Exp $
Gabor Hojtsy wrote:
Yeah, I did. And I also double checked the generated file-entities.php
file to ensure the change was in that.
You do have file-entities.php.in 1.35 right?
Goba
Could you generate the file-entities.ent file as normal, then do a check
to see if it is using the cygwin jade and if so, do a mass replace on
the strings in the file-entities.ent file? If I was just using PHP then
I could do a mass str_replace on the file after reading it into an
array, for
Gabor Hojtsy wrote:
Open the file with a text
editor, and get proper cygwin path values there, and see if openjade
works.
Goba
That worked. I did a replace C:/ with /cygdrive/c/ using Wordpad, saved
and ran make test and it was successful - no errors.
Gabor Hojtsy wrote:
OK, updated configure.in to check for a windows jade setup, and
file-entities.ent to only rewrite the cygwin values in that case. Please
cvs update, autoconf(!), configure and then check again.
Goba
Did just that and it worked perfectly. The make test is now working fine
Yep, that worked fine also. Including the new additions:
To install the minimal set of required packages select devel/autoconf,
devel/automake, devel/make and doc/libxml2 along with components, which
are selected in setup by default
I think it is all fixed now :)
David
Gabor Hojtsy wrote:
Gabor Hojtsy wrote:
Where is openjade in that structure? devel/openjade?
Goba
text/openjade and text/opensp
David
),
new SoapHeader($namespace, 'lock', 'door'));
Perhaps someone with more experience of soap might like to take over
this one? :)
Regards,
David Mytton
Managing Director - Olate Ltd
http://www.olate.co.uk
Leonardo Boshell wrote:
Hi David,
Ok. I'm not too familiar with SOAP (never needed to use
Gabor Hojtsy wrote:
Thanks for your active participation in cleaning this stuff up, it was
much needed. I hope others will also find this solution working around,
especially now that two of you confirmed that this solution works.
Yeah, it might as well be as easy as possible to get started on
an example. Looking at www.php.net/localtime - that clearly
doesn't have any examples. So is the listing at
http://www.phpdoc.info/meta/missing-examples.php wrong or does time()
need more than 1 example to be counted?
David Mytton
Hi,
I have just edited the function.localtime .xml file (attached) to
include an example and also added a note about the value returned in
tm_mday and tm_yday. Am I doing this right? If so, will someone with CVS
write access will commit it?
Thanks for the help whilst I'm learning this :)
(I
Where should I be heading then to get the right tools setup so I can
check that I've done everything ok? I'm using Windows as my primary system.
David
Cornelia Boenigk wrote:
Hi All
It is somehow confusing ...
Two days (?) ago there was an advice to go to
http://wiki.phpdoc.info/DocSkel because
Right. Looks like I'm definitely going to need to get Cygwin setup then
so I can do this properly. I just downloaded a couple of XML editor
tools for Windows to see if they are any good but your docs recommend
against that - using emacs or vi is probably the safest way.
I created a path file
Hi,
I am interested in contributing to the PHP Documentation. I have been
using PHP for 2 years or so now, and would like to help out where ever
possible. I e-mailed the PHP Internals list and they recommended that I
post to the documentation list.
How should I go about getting involved?
David
Read the fine howto:
php.net/dochowto
to make yourself somewhat familiar with the tools we use.
Correct spelling errors, rewrite parts of the docs, solve doc bugs
(bugs.php.net) etc.
Yeah, I have been reading through that and will get started on it right
away. I'll also go ahead and apply for a
99 matches
Mail list logo