pajoye Thu, 11 Feb 2010 23:55:19 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294929
Log: - missing patch for the resourcebunlde support in intl Changed paths: _U php/php-src/branches/PHP_5_3_2/ U php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_class.c U php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_iterator.c D php/php-src/branches/PHP_5_3_2/ext/intl/tests/rb_build.php A + php/php-src/branches/PHP_5_3_2/ext/intl/tests/resourcebundle.build (from php/php-src/branches/PHP_5_3/ext/intl/tests/resourcebundle.build:r293437) _U php/php-src/branches/PHP_5_3_2/ext/tidy/tests/ _U php/php-src/branches/PHP_5_3_2/tests/security/open_basedir_parse_ini_file.phpt
Property changes on: php/php-src/branches/PHP_5_3_2 ___________________________________________________________________ Modified: svn:mergeinfo - /php/php-src/branches/PHP_5_3:292504,292574,292594-292595,292611,292620,292624,292630,292632-292635,292654,292677,292682-292683,292693,292716,292719,292762,292765,292771,292777,292823,293051,293075,293114,293126,293131,293144,293146,293152,293175-293176,293180,293216,293235,293253,293268,293341,293380,293400,293409,293442,293447,293466,293487,293502,293538,293548,293558,293588,293590,293597,293627,293644,293653,293655,293699,293721,293726-293728,293730,293732,293735,293762,293768,293804,293815-293816,293862,293894,293896-293897,293901-293906,293917-293918,293965-293966,293974,293976-293977,293985,293998,294040,294053,294075,294077-294078,294081,294089,294094,294100,294102,294104,294126-294127,294129,294164,294251-294253,294255,294259-294261,294265,294267,294269,294272,294278,294285,294302-294304,294307-294308,294310,294312-294313,294315,294317,294320-294323,294333-294336,294353,294418,294421,294487,294498,294532,294571,294695,294697,294724,294762,294814,294816,294825,294849,294854-294855,294866,294882 /php/php-src/trunk:284726 + /php/php-src/branches/PHP_5_3:292504,292574,292594-292595,292611,292620,292624,292630,292632-292635,292654,292677,292682-292683,292693,292716,292719,292762,292765,292771,292777,292823,293051,293075,293114,293126,293131,293144,293146,293152,293175-293176,293180,293216,293235,293253,293268,293341,293380,293400,293409,293437,293442,293447,293466,293487,293502,293538,293548,293558,293588,293590,293597,293627,293644,293653,293655,293699,293721,293726-293728,293730,293732,293735,293762,293768,293804,293813,293815-293816,293862,293894,293896-293897,293901-293906,293917-293918,293965-293966,293974,293976-293977,293985,293998,294040,294053,294075,294077-294078,294081,294089,294094,294100,294102,294104,294126-294127,294129,294164,294251-294253,294255,294259-294261,294265,294267,294269,294272,294278,294285,294302-294304,294307-294308,294310,294312-294313,294315,294317,294320-294323,294333-294336,294353,294418,294421,294487,294498,294532,294571,294695,294697,294724,294762,294814,294816,294825,294849,294854-294855,294866,294882 /php/php-src/trunk:284726 Modified: php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_class.c =================================================================== --- php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_class.c 2010-02-11 23:43:40 UTC (rev 294928) +++ php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_class.c 2010-02-11 23:55:19 UTC (rev 294929) @@ -87,7 +87,7 @@ char * pbuf; zval *object = return_value; - ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object ); + ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object TSRMLS_CC); intl_error_reset( NULL TSRMLS_CC ); @@ -247,7 +247,7 @@ /* {{{ resourcebundle_array_count */ int resourcebundle_array_count(zval *object, long *count TSRMLS_DC) { - ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object ); + ResourceBundle_object *rb = (ResourceBundle_object *) zend_object_store_get_object( object TSRMLS_CC); *count = ures_getSize( rb->me ); Modified: php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_iterator.c =================================================================== --- php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_iterator.c 2010-02-11 23:43:40 UTC (rev 294928) +++ php/php-src/branches/PHP_5_3_2/ext/intl/resourcebundle/resourcebundle_iterator.c 2010-02-11 23:55:19 UTC (rev 294929) @@ -94,7 +94,7 @@ { ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; if (!iterator->current) { - resourcebundle_iterator_read( iterator ); + resourcebundle_iterator_read( iterator TSRMLS_CC); } *data = &iterator->current; } @@ -106,7 +106,7 @@ ResourceBundle_iterator *iterator = (ResourceBundle_iterator *) iter; if (!iterator->current) { - resourcebundle_iterator_read( iterator ); + resourcebundle_iterator_read( iterator TSRMLS_CC); } if (iterator->is_table) { *str_key = estrdup( iterator->currentkey ); Deleted: php/php-src/branches/PHP_5_3_2/ext/intl/tests/rb_build.php =================================================================== --- php/php-src/branches/PHP_5_3_2/ext/intl/tests/rb_build.php 2010-02-11 23:43:40 UTC (rev 294928) +++ php/php-src/branches/PHP_5_3_2/ext/intl/tests/rb_build.php 2010-02-11 23:55:19 UTC (rev 294929) @@ -1,33 +0,0 @@ -<?php -// THIS SCRIPT WILL REBUILD ResourceBundle bundles from source files - -// DEFINE YOUR ICU TOOLS PATH HERE -define("ICU_DIR", "C:/PROJECTS/ICU40/BIN/"); - -$here = dirname(__FILE__); - -$dir = new GlobIterator("$here/_files/*.txt", FilesystemIterator::KEY_AS_FILENAME); - -foreach($dir as $file) { - passthru( ICU_DIR."genrb -s $here/_files/ -d $here/_files/resourcebundle ".$file->getFileName()); -} - -$dir = new GlobIterator("$here/_files/resourcebundle/*.res", FilesystemIterator::KEY_AS_FILENAME); -foreach($dir as $file) { - if($file->getFileName() == "res_index.res") continue; - $list[] = str_replace(".res", "", $file->getFileName()); -} - -$filelist = join(" {\"\"}\n", $list); -$res_index = <<<END -res_index:table(nofallback) { - InstalledLocales { -$filelist {""} - } -} -END; -file_put_contents("$here/_files/res_index.txt", $res_index); - -passthru( ICU_DIR."genrb -s $here/_files/ -d $here/_files/resourcebundle res_index.txt"); - -// passthru(ICU_DIR."icupkg -tl -a $here/rb.txt -s $here/_files -d $here/_files new $here/_files/resourcebundle.dat"); \ No newline at end of file Copied: php/php-src/branches/PHP_5_3_2/ext/intl/tests/resourcebundle.build (from rev 293437, php/php-src/branches/PHP_5_3/ext/intl/tests/resourcebundle.build) =================================================================== --- php/php-src/branches/PHP_5_3_2/ext/intl/tests/resourcebundle.build (rev 0) +++ php/php-src/branches/PHP_5_3_2/ext/intl/tests/resourcebundle.build 2010-02-11 23:55:19 UTC (rev 294929) @@ -0,0 +1,33 @@ +<?php +// THIS SCRIPT WILL REBUILD ResourceBundle bundles from source files + +// DEFINE YOUR ICU TOOLS PATH HERE +define("ICU_DIR", "C:/PROJECTS/ICU40/BIN/"); + +$here = dirname(__FILE__); + +$dir = new GlobIterator("$here/_files/*.txt", FilesystemIterator::KEY_AS_FILENAME); + +foreach($dir as $file) { + passthru( ICU_DIR."genrb -s $here/_files/ -d $here/_files/resourcebundle ".$file->getFileName()); +} + +$dir = new GlobIterator("$here/_files/resourcebundle/*.res", FilesystemIterator::KEY_AS_FILENAME); +foreach($dir as $file) { + if($file->getFileName() == "res_index.res") continue; + $list[] = str_replace(".res", "", $file->getFileName()); +} + +$filelist = join(" {\"\"}\n", $list); +$res_index = <<<END +res_index:table(nofallback) { + InstalledLocales { +$filelist {""} + } +} +END; +file_put_contents("$here/_files/res_index.txt", $res_index); + +passthru( ICU_DIR."genrb -s $here/_files/ -d $here/_files/resourcebundle res_index.txt"); + +// passthru(ICU_DIR."icupkg -tl -a $here/rb.txt -s $here/_files -d $here/_files new $here/_files/resourcebundle.dat"); \ No newline at end of file Property changes on: php/php-src/branches/PHP_5_3_2/ext/tidy/tests ___________________________________________________________________ Modified: svn:mergeinfo - /php/php-src/branches/PHP_5_3/ext/tidy/tests:292562,292566,292571,292574,292620,292635,292716,292719,292765,293146,293152,293175-293176,293180,293216,293235,293253,293380,293400,293409,293442,293447,293466,293487,293502,293538,293548,293558,293588,293590,293597,293627,293644,293653,293655,293699,293721,293726-293728,293730,293732,293735,293762,293768,293804,293815-293816,293862,293894,293896-293897,293901-293906,293917-293918,293965-293966,293976-293977,293985,293998,294040,294053,294075,294077-294078,294081,294089,294094,294100,294102,294104,294126-294127,294129,294164,294251-294253,294255,294259-294261,294265,294267,294269,294272,294278,294285,294302-294304,294307-294308,294310,294312-294313,294315,294317,294320-294323,294333-294336,294353,294418,294421,294487,294498,294532,294571,294695,294697,294724,294762,294814,294816,294825,294849,294854-294855,294866,294882 /php/php-src/trunk/ext/tidy/tests:29815-29816,284726,287798-287941 + /php/php-src/branches/PHP_5_3/ext/tidy/tests:292562,292566,292571,292574,292620,292635,292716,292719,292765,293146,293152,293175-293176,293180,293216,293235,293253,293380,293400,293409,293437,293442,293447,293466,293487,293502,293538,293548,293558,293588,293590,293597,293627,293644,293653,293655,293699,293721,293726-293728,293730,293732,293735,293762,293768,293804,293813,293815-293816,293862,293894,293896-293897,293901-293906,293917-293918,293965-293966,293976-293977,293985,293998,294040,294053,294075,294077-294078,294081,294089,294094,294100,294102,294104,294126-294127,294129,294164,294251-294253,294255,294259-294261,294265,294267,294269,294272,294278,294285,294302-294304,294307-294308,294310,294312-294313,294315,294317,294320-294323,294333-294336,294353,294418,294421,294487,294498,294532,294571,294695,294697,294724,294762,294814,294816,294825,294849,294854-294855,294866,294882 /php/php-src/trunk/ext/tidy/tests:29815-29816,284726,287798-287941 Property changes on: php/php-src/branches/PHP_5_3_2/tests/security/open_basedir_parse_ini_file.phpt ___________________________________________________________________ Modified: svn:mergeinfo - /php/php-src/branches/PHP_5_3/tests/security/open_basedir_parse_ini_file.phpt:292562,292566,292571,292574,292620,292716,293146,293152,293175-293176,293180,293216,293235,293253,293380,293400,293409,293442,293447,293466,293487,293502,293538,293548,293558,293588,293590,293597,293627,293644,293653,293655,293699,293721,293726-293728,293730,293732,293735,293762,293768,293804,293815-293816,293862,293894,293896-293897,293901-293906,293917-293918,293965-293966,293976-293977,293985,293998,294040,294053,294075,294077-294078,294081,294089,294094,294100,294102,294104,294126-294127,294129,294164,294251-294253,294255,294259-294261,294265,294267,294269,294272,294278,294285,294302-294304,294307-294308,294310,294312-294313,294315,294317,294320-294323,294333-294336,294353,294418,294421,294487,294498,294532,294571,294695,294697,294724,294762,294814,294816,294825,294849,294854-294855,294866,294882 /php/php-src/trunk/tests/security/open_basedir_parse_ini_file.phpt:29815-29816,265951 + /php/php-src/branches/PHP_5_3/tests/security/open_basedir_parse_ini_file.phpt:292562,292566,292571,292574,292620,292716,293146,293152,293175-293176,293180,293216,293235,293253,293380,293400,293409,293437,293442,293447,293466,293487,293502,293538,293548,293558,293588,293590,293597,293627,293644,293653,293655,293699,293721,293726-293728,293730,293732,293735,293762,293768,293804,293813,293815-293816,293862,293894,293896-293897,293901-293906,293917-293918,293965-293966,293976-293977,293985,293998,294040,294053,294075,294077-294078,294081,294089,294094,294100,294102,294104,294126-294127,294129,294164,294251-294253,294255,294259-294261,294265,294267,294269,294272,294278,294285,294302-294304,294307-294308,294310,294312-294313,294315,294317,294320-294323,294333-294336,294353,294418,294421,294487,294498,294532,294571,294695,294697,294724,294762,294814,294816,294825,294849,294854-294855,294866,294882 /php/php-src/trunk/tests/security/open_basedir_parse_ini_file.phpt:29815-29816,265951
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php