Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/phpapi into lp:zorba
- Is it on purpose that the only thing that is returned by the iterator is a serialized version of the item? For example, this will return an error for attribute nodes. Yes. We have two use cases for XQPHP: - The mobile app which uses execute(). - The google earth demo which uses the iterator. - There is a tab at the beginning of /** * Internal - Is this wrapper supposed to be merged before the implementation of execute() can stream? Yes -- https://code.launchpad.net/~zorba-coders/zorba/phpapi/+merge/88160 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/phpapi into lp:zorba
William Candillon has proposed merging lp:~zorba-coders/zorba/phpapi into lp:zorba. Requested reviews: David Graf (davidagraf) Matthias Brantner (matthias-brantner) Rodolfo Ochoa (rodolfo-ochoa) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/phpapi/+merge/88315 This merge adds the PHP API that was introduced at the PHP Tour 2011. It contains a test for it (php2). From the last merge proposal, the following things have been done: - Revert bogus change in swig/php/generate_proxy.php.in (renaming of libPrefix to prefix). - Introduce a STD Iterator for streaming results. - Make the parseXML() method private. - Improve importQueryFromURI The two key tests are: - php1 - php2 -- https://code.launchpad.net/~zorba-coders/zorba/phpapi/+merge/88315 Your team Zorba Coders is subscribed to branch lp:zorba. === modified file 'doc/php/CMakeLists.txt' --- doc/php/CMakeLists.txt 2011-06-20 12:44:21 + +++ doc/php/CMakeLists.txt 2012-01-12 08:56:26 + @@ -1,4 +1,4 @@ -# Copyright 2006-2008 The FLWOR Foundation. +# Copyright 2006-2012 The FLWOR Foundation. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. === modified file 'doc/php/examples/CMakeLists.txt' --- doc/php/examples/CMakeLists.txt 2011-08-19 00:03:31 + +++ doc/php/examples/CMakeLists.txt 2012-01-12 08:56:26 + @@ -1,4 +1,4 @@ -# Copyright 2006-2008 The FLWOR Foundation. +# Copyright 2006-2012 The FLWOR Foundation. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. @@ -20,14 +20,21 @@ MESSAGE(STATUS PHP Path: ${phpPath}) SET(phpExtensionPath ${CMAKE_BINARY_DIR}/swig/php) MESSAGE(STATUS PHP Extension Path: ${phpExtensionPath}) + SET(phpIncludePath ${CMAKE_BINARY_DIR}/swig/php) + MESSAGE(STATUS PHP Include Path: ${phpExtensionPath}) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/php.ini.in ${CMAKE_CURRENT_BINARY_DIR}/php.ini) MESSAGE(STATUS Configuration file: ${CMAKE_CURRENT_BINARY_DIR}/php.ini) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/simple.php.in ${CMAKE_CURRENT_BINARY_DIR}/simple.php) MESSAGE(STATUS Simple configuration file: ${CMAKE_CURRENT_BINARY_DIR}/simple.php) - ADD_TEST(php ${PHP5_EXECUTABLE} -c ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/simple.php) + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/test.php.in ${CMAKE_CURRENT_BINARY_DIR}/test.php) + MESSAGE(STATUS PHP test file configured: ${CMAKE_CURRENT_BINARY_DIR}/test.php) + ADD_TEST(php1 ${PHP5_EXECUTABLE} -c ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/simple.php) MESSAGE(STATUS Installing: ${CMAKE_CURRENT_BINARY_DIR}/simple.php) - - INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/simple.php + ADD_TEST(php2 ${PHP5_EXECUTABLE} -c ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/test.php) + MESSAGE(STATUS Installing: ${CMAKE_CURRENT_BINARY_DIR}/test.php) + + + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/simple.php ${CMAKE_CURRENT_BINARY_DIR}/test.php COMPONENT php_examples DESTINATION share/doc/zorba-${ZORBA_MAJOR_NUMBER}.${ZORBA_MINOR_NUMBER}.${ZORBA_PATCH_NUMBER}/php/examples) === modified file 'doc/php/examples/php.ini.in' --- doc/php/examples/php.ini.in 2009-10-30 16:34:37 + +++ doc/php/examples/php.ini.in 2012-01-12 08:56:26 + @@ -1,2 +1,3 @@ enable_dl=On extension_dir=@phpExtensionPath@ +include_path=.:@phpIncludePath@ \ No newline at end of file === modified file 'doc/php/examples/simple.php.in' --- doc/php/examples/simple.php.in 2011-08-04 02:14:56 + +++ doc/php/examples/simple.php.in 2012-01-12 08:56:26 + @@ -1,6 +1,6 @@ ?php /* - * Copyright 2006-2008 The FLWOR Foundation. + * Copyright 2006-2012 The FLWOR Foundation. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -require '@phpPath@/zorba_api_wrapper.php'; +require '@phpPath@/Zorba/zorba_api_wrapper.php'; function example_1(Zorba $aZorba) { === added file 'doc/php/examples/test.php.in' --- doc/php/examples/test.php.in 1970-01-01 00:00:00 + +++ doc/php/examples/test.php.in 2012-01-12 08:56:26 + @@ -0,0 +1,120 @@ +?php +/* + * Copyright 2006-2012 The FLWOR Foundation. + * + * Licensed under the Apache License, Version 2.0 (the License); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/phpapi into lp:zorba
This new proposal is removing unwanted tabs. -- https://code.launchpad.net/~zorba-coders/zorba/phpapi/+merge/88315 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/88383 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/88383 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/88383 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-01-12T14-38-08.2Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/88383 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
Validation queue job markos-scratch-2012-01-12T14-38-08.2Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/88383 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has been updated. Status: Approved = Merged For more details, see: https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/88383 -- https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/88383 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/phpapi into lp:zorba
I'm fine with it now. Before merging, please make sure the change is contained in the ChangeLog. Also, don't mention the obsolete comment in the description or commit message - Revert bogus change in swig/php/generate_proxy.php.in (renaming of libPrefix to prefix).. As an aside, importQueryFromURI still allows file system access only. I saw that the comment mentions that but it's still strange. -- https://code.launchpad.net/~zorba-coders/zorba/phpapi/+merge/88315 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug905035 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug905035 into lp:zorba has been updated. Status: Needs review = Approved For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug905035/+merge/88271 -- https://code.launchpad.net/~zorba-coders/zorba/bug905035/+merge/88271 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug905035 into lp:zorba
Validation queue starting for merge proposal. Log at: http://zorbatest.lambda.nu:8080/remotequeue/bug905035-2012-01-12T22-04-03.62Z/log.html -- https://code.launchpad.net/~zorba-coders/zorba/bug905035/+merge/88271 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug905035 into lp:zorba
Validation queue job bug905035-2012-01-12T22-04-03.62Z is finished. The final status was: All tests succeeded! -- https://code.launchpad.net/~zorba-coders/zorba/bug905035/+merge/88271 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug905035 into lp:zorba
Voting does not meet specified criteria. Required: Approve 1, Disapprove 1. Got: 1 Approve, 2 Pending. -- https://code.launchpad.net/~zorba-coders/zorba/bug905035/+merge/88271 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug905035 into lp:zorba
The proposal to merge lp:~zorba-coders/zorba/bug905035 into lp:zorba has been updated. Status: Approved = Needs review For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug905035/+merge/88271 -- https://code.launchpad.net/~zorba-coders/zorba/bug905035/+merge/88271 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~rodolfo-ochoa/zorba/xqj into lp:zorba
NOTICE.txt was erased, don't know why, now its back... -- https://code.launchpad.net/~rodolfo-ochoa/zorba/xqj/+merge/87841 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
Re: [Zorba-coders] [Merge] lp:~rodolfo-ochoa/zorba/xqj into lp:zorba
NOTICE.txt was erased, don't know why, now its back... Current NOTICE.txt is from trunk. -- https://code.launchpad.net/~rodolfo-ochoa/zorba/xqj/+merge/87841 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp