Re: [PHP-DOC] PHP version on function docs
Jouni Ahto <[EMAIL PROTECTED]> wrote: > On 2 Sep 2001 [EMAIL PROTECTED] wrote: >> Jouni Ahto <[EMAIL PROTECTED]> wrote: >> > This way, the documentation will be generated even if parts of the >> > translation are a bit old and don't yet have those IDs needed, but 'make >> > test' still catches the errors. >> >> actually, the manual generation does a make test before making things >> for real, so that change alone won't help. > > Oh, I see. Any chance of of slightly changing it, for example adding > target test_man_gen to the Makefile? Unlike other errors, like incorrect > XML tags etc., incorrect IDs are somewhat acceptable (at least to me). The > net result is just a link not being created. And it's just plain > impossible that all the translations would be really up-to-date all the > time. sure. just add a target and i'll switch the build script to use it. jim
Re: [PHP-DOC] PHP version on function docs
On 2 Sep 2001 [EMAIL PROTECTED] wrote: > Jouni Ahto <[EMAIL PROTECTED]> wrote: > > This way, the documentation will be generated even if parts of the > > translation are a bit old and don't yet have those IDs needed, but 'make > > test' still catches the errors. > > actually, the manual generation does a make test before making things > for real, so that change alone won't help. Oh, I see. Any chance of of slightly changing it, for example adding target test_man_gen to the Makefile? Unlike other errors, like incorrect XML tags etc., incorrect IDs are somewhat acceptable (at least to me). The net result is just a link not being created. And it's just plain impossible that all the translations would be really up-to-date all the time. -- Jouni
Re: [PHP-DOC] PHP version on function docs
Jouni Ahto <[EMAIL PROTECTED]> wrote: > This way, the documentation will be generated even if parts of the > translation are a bit old and don't yet have those IDs needed, but 'make > test' still catches the errors. actually, the manual generation does a make test before making things for real, so that change alone won't help. jim
[PHP-DOC] cvs: phpdoc /hu/functions image.xml
jah Sat Sep 1 19:49:36 2001 EDT Modified files: /phpdoc/hu/functionsimage.xml Log: Fixed tags. Index: phpdoc/hu/functions/image.xml diff -u phpdoc/hu/functions/image.xml:1.9 phpdoc/hu/functions/image.xml:1.10 --- phpdoc/hu/functions/image.xml:1.9 Sat Sep 1 16:22:05 2001 +++ phpdoc/hu/functions/image.xml Sat Sep 1 19:49:36 2001 @@ -919,8 +919,10 @@ + Ha nem bal felsõ és jobb alsó koordinátákat adsz meg, akkor lehal a program, és a képbõl semmit sem fogsz látni!!![angol doksiba!] + @@ -1109,7 +,7 @@ kerül. Ha szeretnéd megadni a kép minõségét akkor, amikor a képet a kimenetre szeretnéd küldeni, akkor a kép nevének üres karakterláncot ('') adj meg! Ha egy image/jpg értékû content-type fejlécet írsz ki a - header függvénnyel, akkor a JPEG + header függvénnyel, akkor a JPEG típusú kép közvetlenül a kimenetre küldhetõ.
Re: [PHP-DOC] PHP version on function docs
On Sat, 1 Sep 2001, Marco Cucinato wrote: > Since the PHP version numbers related to every function > (/version.xml) are applied to the doc every time they are generated, > the old docs are not updated: > Look at the array_walk function over the different translations. > EN: (PHP 3>= 3.0.3, PHP 4 >= 4.0b1) > CZ: (PHP 3>= 3.0.3, PHP 4 >= 4.0b1) > FR: (PHP 3>= 3.0.3, PHP 4 >= 4.0b1) > but > ES: (PHP 3>= 3.0.3, PHP 4 ) because it was last updated on > 2001/05/20, and version.xml was changed on 2001/06/25. > > If the docs were always reprocessed, the version numbers would be > homogeneous. Seems that the spanish version isn't recreated automatically due to a few errors in it. Mainly some references in the non-translated files (our documentation generation system automatically substitutes the english version for a non-translated one) to IDs in another file that exist in the latest english version, but not yet added to a translated version. I'd like to propose a small change in Makefile.in: - JADE=@JADE@ + JADE=@JADE@ -wno-idref NSGMLS=@NSGMLS@ This way, the documentation will be generated even if parts of the translation are a bit old and don't yet have those IDs needed, but 'make test' still catches the errors. -- Jouni
[PHP-DOC] PHP version on function docs
Since the PHP version numbers related to every function (/version.xml) are applied to the doc every time they are generated, the old docs are not updated: Look at the array_walk function over the different translations. EN: (PHP 3>= 3.0.3, PHP 4 >= 4.0b1) CZ: (PHP 3>= 3.0.3, PHP 4 >= 4.0b1) FR: (PHP 3>= 3.0.3, PHP 4 >= 4.0b1) but ES: (PHP 3>= 3.0.3, PHP 4 ) because it was last updated on 2001/05/20, and version.xml was changed on 2001/06/25. If the docs were always reprocessed, the version numbers would be homogeneous. -- Marco Cucinato
[PHP-DOC] cvs: phpdoc /scripts revcheck.php
gobaSat Sep 1 16:23:10 2001 EDT Modified files: /phpdoc/scripts revcheck.php Log: Status can contain spaces Index: phpdoc/scripts/revcheck.php diff -u phpdoc/scripts/revcheck.php:1.1 phpdoc/scripts/revcheck.php:1.2 --- phpdoc/scripts/revcheck.php:1.1 Thu Aug 30 11:34:55 2001 +++ phpdoc/scripts/revcheck.php Sat Sep 1 16:23:09 2001 @@ -84,13 +84,13 @@ // Checking for the translations "revision tag" else { preg_match ("//", $line, $match); +")\s*Status:\s*(.+)\s*-->/", $line, $match); } // The tag with revision number is not found so search // for n/a revision comment if (count($match) == 0) { preg_match ("''", $line, $match); +")\s*Status:\s*(.+)\s*-->'", $line, $match); } return ($match); } // get_tag() function end
[PHP-DOC] cvs: phpdoc /hu Translators /hu/functions errorfunc.xml image.xml
gobaSat Sep 1 16:22:05 2001 EDT Modified files: /phpdoc/hu Translators /phpdoc/hu/functionserrorfunc.xml image.xml Log: Updated status flags in files and in Translators Index: phpdoc/hu/Translators diff -u phpdoc/hu/Translators:1.55 phpdoc/hu/Translators:1.56 --- phpdoc/hu/Translators:1.55 Thu Aug 30 12:57:59 2001 +++ phpdoc/hu/Translators Sat Sep 1 16:22:05 2001 @@ -124,7 +124,7 @@ icap.xml iconv.xml ifx.xml -image.xml Kontra Gergely [undrcon] +image.xml Kontra Gergely [no-sync] imap.xml info.xmlHojtsy Gábor[no-sync] ingres_ii.xml Index: phpdoc/hu/functions/errorfunc.xml diff -u phpdoc/hu/functions/errorfunc.xml:1.6 phpdoc/hu/functions/errorfunc.xml:1.7 --- phpdoc/hu/functions/errorfunc.xml:1.6 Thu Aug 30 11:44:30 2001 +++ phpdoc/hu/functions/errorfunc.xml Sat Sep 1 16:22:05 2001 @@ -1,5 +1,5 @@ - + Error Handling and Logging Functions Index: phpdoc/hu/functions/image.xml diff -u phpdoc/hu/functions/image.xml:1.8 phpdoc/hu/functions/image.xml:1.9 --- phpdoc/hu/functions/image.xml:1.8 Thu Aug 30 15:21:38 2001 +++ phpdoc/hu/functions/image.xml Sat Sep 1 16:22:05 2001 @@ -1,5 +1,5 @@ - + Képmanipuláló függvények
[PHP-DOC] cvs: phpdoc /en/functions math.xml
jeroen Sat Sep 1 10:54:09 2001 EDT Modified files: /phpdoc/en/functionsmath.xml Log: Implemented user-notes to round() Index: phpdoc/en/functions/math.xml diff -u phpdoc/en/functions/math.xml:1.50 phpdoc/en/functions/math.xml:1.51 --- phpdoc/en/functions/math.xml:1.50 Sun Aug 19 07:47:37 2001 +++ phpdoc/en/functions/math.xmlSat Sep 1 10:54:08 2001 @@ -1,5 +1,5 @@ - + Mathematical Functions Math @@ -1126,13 +1126,28 @@ Returns the rounded value of val to specified precision (number of digits after the decimal point). + precision can also be negative or zero (default). + + + + + PHP doesn't handle strings like "12,300.2" correctly + by default. See converting from strings. + + + + -$foo = round (3.4); // $foo == 3.0 -$foo = round (3.5); // $foo == 4.0 -$foo = round (3.6); // $foo == 4.0 +$foo = round(3.4); // $foo == 3.0 +$foo = round(3.5); // $foo == 4.0 +$foo = round(3.6); // $foo == 4.0 +$foo = round(3.6, 0); // equivalent with above + +$foo = round(1.95583, 2); // $foo == 1.96 -$foo = round (1.95583, 2); // $foo == 1.96 +$foo = round(1241757, -3); // $foo == 1242000 @@ -1262,5 +1277,7 @@ sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -vim: ts=1 sw=1 et syntax=sgml +vim600: syn=xml +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 -->
[PHP-DOC] ACT NOW!!! Low Mortgage Rates
mnu76 Whether a new home loan is what you seek or to refinance your current home loan at a lower interest rate, we can help! Mortgage rates haven't been this low in the last 12 months, take action now! Refinance your home with us and include all of those pesky credit card bills or use the extra cash for that pool you've always wanted... Where others say NO, we say YES!!! Even if you have been turned down elsewhere, we can help! Easy terms! Our mortgage referral service combines the highest quality loans with the most economical rates and the easiest qualifications! Take just 2 minutes to complete the following form. There is no obligation, all information is kept strictly confidential, and you must be at least 18 years of age. Service is available within the United States only. This service is fast and free. Free information request form: PLEASE VISIT http://www.freewebhostingcentral.com/mortgagezone Since you have received this message you have either responded to one of our offers in the past or your address has been registered with us. If you wish to be removed please reply to: mailto:[EMAIL PROTECTED]?subject=remove xqw3j ***
[PHP-DOC] cvs: phpdoc /en/functions mysql.xml
jah Sat Sep 1 08:53:45 2001 EDT Modified files: /phpdoc/en/functionsmysql.xml Log: Fixed closing tag. Index: phpdoc/en/functions/mysql.xml diff -u phpdoc/en/functions/mysql.xml:1.63 phpdoc/en/functions/mysql.xml:1.64 --- phpdoc/en/functions/mysql.xml:1.63 Thu Aug 30 16:36:21 2001 +++ phpdoc/en/functions/mysql.xml Sat Sep 1 08:53:45 2001 @@ -1,5 +1,5 @@ - + MySQL functions MySQL @@ -1834,7 +1834,7 @@ See also: mysql_affected_rows, mysql_db_query, mysql_unbuffered_query, - mysql_free_result/function>, + mysql_free_result, mysql_result, mysql_select_db, and mysql_connect.