cvs: phpdoc / Makefile.in configure.in /scripts/rtlpatch HtmlParser.class.php rtlpatch.php todo.txt

From: Date: Mon, 26 May 2003 10:41:37 +0000
Subject: cvs: phpdoc / Makefile.in configure.in /scripts/rtlpatch HtmlParser.class.php rtlpatch.php todo.txt
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353917@lists.php.net to get a copy of this message
momo Mon May 26 06:41:37 2003 EDT Added files: /phpdoc/scripts/rtlpatch todo.txt Modified files: /phpdoc Makefile.in configure.in /phpdoc/scripts/rtlpatch HtmlParser.class.php rtlpatch.php Log: hebrew phpweb now working Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.134 phpdoc/Makefile.in:1.135 --- phpdoc/Makefile.in:1.134 Sun May 25 05:49:39 2003 +++ phpdoc/Makefile.in Mon May 26 06:41:37 2003 @@ -13,7 +13,7 @@ # # -# $Id: Makefile.in,v 1.134 2003/05/25 09:49:39 momo Exp $ +# $Id: Makefile.in,v 1.135 2003/05/26 10:41:37 momo Exp $ # all: html @@ -61,7 +61,8 @@ PDF_FILES=@MANUAL@.pdf.bz2 -HACK_RTL_LANGS_AFTER_BUILD=@HACK_RTL_LANGS_AFTER_BUILD@ +HACK_RTL_LANGS_PAGES=@HACK_RTL_LANGS_PAGES@ +HACK_RTL_LANGS_PHPWEB=@HACK_RTL_LANGS_PHPWEB@ # }}} @AUTOGENERATED_RULES@ @@ -161,7 +162,7 @@ html/index.html: manual.xml $(HTML_DEPS) @test -d html || mkdir html $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml - $(HACK_RTL_LANGS_AFTER_BUILD) + $(HACK_RTL_LANGS_PAGES) # still needs more tweaks!! html_xsl: manual.xml zendapihtml @@ -188,6 +189,7 @@ @test -d php || mkdir php -$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml $(PHP) -q $(scriptdir)/phpweb-entities.php pwd remove + $(HACK_RTL_LANGS_PHPWEB) palmdoc: @MANUAL@.doc.pdb @MANUAL@.doc.pdb: @MANUAL@.txt scripts/makedoc Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.194 phpdoc/configure.in:1.195 --- phpdoc/configure.in:1.194 Sun May 25 05:49:39 2003 +++ phpdoc/configure.in Mon May 26 06:41:37 2003 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.194 2003/05/25 09:49:39 momo Exp $ +dnl $Id: configure.in,v 1.195 2003/05/26 10:41:37 momo Exp $ dnl autoconf initialisation AC_INIT() @@ -530,7 +530,8 @@ PHP_BUILD_DATE=date '+%d-%m-%Y' LANG_HACK_FOR_HE="no" - HACK_RTL_LANGS_AFTER_BUILD="" + HACK_RTL_LANGS_PAGES="" + HACK_RTL_LANGS_PHPWEB="" case $withval in kr) LANG="ko" @@ -539,7 +540,8 @@ he) LANG="en" LANG_HACK_FOR_HE="yes" - HACK_RTL_LANGS_AFTER_BUILD="$PHP $srcdir/scripts/rtlpatch/rtlpatch.php ./html" + HACK_RTL_LANGS_PAGES="$PHP $srcdir/scripts/rtlpatch/rtlpatch.php ./html" + HACK_RTL_LANGS_PHPWEB="$PHP $srcdir/scripts/rtlpatch/rtlpatch.php ./php" LANGDIR="he" ;; hk) @@ -558,7 +560,8 @@ LANG=$withval LANGDIR=$withval esac - AC_SUBST(HACK_RTL_LANGS_AFTER_BUILD) + AC_SUBST(HACK_RTL_LANGS_PAGES) + AC_SUBST(HACK_RTL_LANGS_PHPWEB) MANUAL="php_manual_$withval" AC_MSG_RESULT( $withval ) fi Index: phpdoc/scripts/rtlpatch/HtmlParser.class.php diff -u phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.1 phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.2 --- phpdoc/scripts/rtlpatch/HtmlParser.class.php:1.1 Thu May 22 12:13:44 2003 +++ phpdoc/scripts/rtlpatch/HtmlParser.class.php Mon May 26 06:41:37 2003 @@ -16,7 +16,7 @@ | Authors: Moshe Doron <momo@php.net> | +----------------------------------------------------------------------+ - $Id: HtmlParser.class.php,v 1.1 2003/05/22 16:13:44 momo Exp $ + $Id: HtmlParser.class.php,v 1.2 2003/05/26 10:41:37 momo Exp $ */ define("__HTML_FREE_ENGLISH__",1); @@ -401,10 +401,10 @@ $this->maptmp[$type][] = $this->NOE; //debuginfo($this->maptmp[$type]); }else if($type <= -10){ -//debuginfo($type); -//debuginfo($this->maptmp[$type]); +//mysyslog($type); +//print_r($this->maptmp[-$type]); - if($id = array_pop($this->maptmp[-$type])){ + if($id = @array_pop($this->maptmp[-$type])){ $this->ECE[$id] = $this->NOE; }else{ //if more close $this->ECE[$this->NOE] = $this->NOE; Index: phpdoc/scripts/rtlpatch/rtlpatch.php diff -u phpdoc/scripts/rtlpatch/rtlpatch.php:1.4 phpdoc/scripts/rtlpatch/rtlpatch.php:1.5 --- phpdoc/scripts/rtlpatch/rtlpatch.php:1.4 Mon May 26 05:44:27 2003 +++ phpdoc/scripts/rtlpatch/rtlpatch.php Mon May 26 06:41:37 2003 @@ -16,7 +16,7 @@ | Authors: Moshe Doron <momo@php.net> | +----------------------------------------------------------------------+ - $Id: rtlpatch.php,v 1.4 2003/05/26 09:44:27 momo Exp $ + $Id: rtlpatch.php,v 1.5 2003/05/26 10:41:37 momo Exp $ */ /* @@ -35,6 +35,7 @@ script runing time on my box is about 15% then the build time, not so big deal, that'll force me rewrite the parser in C ;) */ + error_reporting(2047); // finding the real path of the needed files: Index: phpdoc/scripts/rtlpatch/todo.txt +++ phpdoc/scripts/rtlpatch/todo.txt 1. main tree menu. 2. <tt class=option> (configure)- ltr. 3. encoding on web (?). 4. big manual.

« previous php.doc (#969353917) next »