Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/core_archive_module into lp:zorba

2012-06-29 Thread Chris Hillery
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/core_archive_module/+merge/112661
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/core_archive_module into lp:zorba

2012-06-29 Thread Chris Hillery
The proposal to merge lp:~zorba-coders/zorba/core_archive_module into lp:zorba 
has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/core_archive_module/+merge/112661
-- 
https://code.launchpad.net/~zorba-coders/zorba/core_archive_module/+merge/112661
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/core_archive_module into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/core_archive_module-2012-06-29T07-13-03.31Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/core_archive_module/+merge/112661
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/core_archive_module into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job core_archive_module-2012-06-29T07-13-03.31Z is finished. 
The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/core_archive_module/+merge/112661
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
Attempt to merge into lp:zorba failed due to conflicts: 

text conflict in test/rbkt/Queries/CMakeLists.txt
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
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] [Bug 997045] Re: EQName regressions

2012-06-29 Thread Nicolae Brinza
** Branch linked: lp:~nbrinza/zorba/error-messages

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/997045

Title:
  EQName regressions

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following tests are failing in trunk, r10831 that used to pass:

test-case name=eqname-001 result=fail/
test-case name=eqname-002 result=fail/
test-case name=eqname-003 result=fail/
test-case name=eqname-004 result=fail/
test-case name=eqname-005 result=fail/
test-case name=eqname-006 result=fail/
test-case name=eqname-007 result=fail/
test-case name=eqname-008 result=fail/
test-case name=eqname-009 result=fail/
test-case name=eqname-010 result=fail/
test-case name=eqname-011 result=fail/
test-case name=eqname-012 result=fail/

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/997045/+subscriptions

-- 
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/error-messages-2012-06-29T13-07-06.398Z/log.html
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
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/jsoniq into lp:zorba

2012-06-29 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/jsoniq into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/jsoniq into 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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
The attempt to merge lp:~nbrinza/zorba/error-messages into lp:zorba failed. 
Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job error-messages-2012-06-29T13-07-06.398Z is finished.
  The final status was:

  

  No tests were run - build or configure step must have failed.

  Not commiting changes.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112757
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/jsoniq into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/jsoniq-2012-06-29T13-14-41.212Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/jsoniq into 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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Commit Message changed to:

Implemented the new EQName syntax.

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112767
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112767
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112767
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112767
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:~davidagraf/zorba/paging into lp:zorba

2012-06-29 Thread David Graf
The proposal to merge lp:~davidagraf/zorba/paging into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112611
-- 
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112611
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] [Bug 891453] Re: XQuery grammar needs EQNames

2012-06-29 Thread Nicolae Brinza
1. The EQNames grammar is implemented. The new syntax is also
implemented in a branch, waiting to be merged.

2. The AtomicOrUnionType production is actually implemented indirectly
through the following rules from xquery_parser.y:

ItemType  ::=  AtomicType

AtomicType  ::=  QNAME

QNAME  ::=  QNAME_SVAL
  |  EQNAME

, so there isn't anything that needs to be done, as far as I understand.


Matthias, could you please double-check, confirm and then close the bug?


** Changed in: zorba
 Assignee: Nicolae Brinza (nbrinza) = Matthias Brantner (matthias-brantner)

** Changed in: zorba
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/891453

Title:
  XQuery grammar needs EQNames

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  According to Matthias, the XQuery grammar needs to be extended to
  support EQNames.  There also needs to be an AtonicOrUntionType
  production.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/891453/+subscriptions

-- 
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/jsoniq into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job jsoniq-2012-06-29T13-14-41.212Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba

2012-06-29 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 2 Approve, 1 Needs Fixing, 1 Needs 
Information, 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/jsoniq into 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/jsoniq into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/jsoniq into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq/+merge/92171
Your team Zorba Coders is requested to review the proposed merge of 
lp:~zorba-coders/zorba/jsoniq into 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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
There are additional revisions which have not been approved in review. Please 
seek review and approval of these new revisions.
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112767
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112767
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112767
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:~davidagraf/zorba/paging into lp:zorba

2012-06-29 Thread David Graf
David Graf has proposed merging lp:~davidagraf/zorba/paging into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Till Westmann (tillw)

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112775

Positional pagination
-- 
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112775
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
--- ChangeLog	2012-06-28 22:07:25 +
+++ ChangeLog	2012-06-29 13:52:27 +
@@ -10,6 +10,7 @@
 - fn:parse-xml-fragment#1
   * Added support for transient maps to the http://www.zorba-xquery.com/modules/store/data-structures/unordered-map module.
   * Added support for fragments to fn:path
+  * Positional pagination support for collections
 
 Optimizations:
   * Small optimization of comparison operations.

=== modified file 'modules/com/zorba-xquery/www/modules/store/dynamic/collections/dml.xq'
--- modules/com/zorba-xquery/www/modules/store/dynamic/collections/dml.xq	2012-06-28 04:14:03 +
+++ modules/com/zorba-xquery/www/modules/store/dynamic/collections/dml.xq	2012-06-29 13:52:27 +
@@ -615,6 +615,23 @@
 
 
 (:~
+ : The collection function returns the sequence of nodes and/or json items
+ : that belong to the collection identified by the given name.
+ :
+ : @param $name The name of the collection.
+ : @param $skip The number of collection items to skip.
+ :
+ : @return The sequence contained in the given collection.
+ :
+ : @error zerr:ZDDY0003 If available collections does not provide a mapping
+ :for the expanded QName $name.
+ :
+ :)
+declare function
+dml:collection($name as xs:QName, $skip as xs:integer) as item()* external;
+
+
+(:~
  : The collection-name function returns the name of the collection the given
  : item (node or json item) belongs to.
  :

=== modified file 'modules/com/zorba-xquery/www/modules/store/static/collections/dml.xq'
--- modules/com/zorba-xquery/www/modules/store/static/collections/dml.xq	2012-06-28 04:14:03 +
+++ modules/com/zorba-xquery/www/modules/store/static/collections/dml.xq	2012-06-29 13:52:27 +
@@ -867,6 +867,23 @@
 
 
 (:~
+ : The collection function returns the sequence of nodes and/or json items
+ : that belong to the collection identified by the given name.
+ :
+ : @param $name The name of the collection.
+ : @param $skip The number of collection items to skip.
+ :
+ : @return The sequence contained in the given collection.
+ :
+ : @error zerr:ZDDY0001 if the collection identified by $name is not declared.
+ : @error zerr:ZDDY0003 if the collection identified by $name is not available.
+ :
+ :)
+declare function 
+cdml:collection($name as xs:QName, $skip as xs:integer) as item()*  external;
+
+
+(:~
  : The collection-name function returns the name of the collection the given
  : item (node or json item) belongs to.
  :

=== modified file 'src/functions/func_sequences_impl.cpp'
--- src/functions/func_sequences_impl.cpp	2012-06-28 04:14:03 +
+++ src/functions/func_sequences_impl.cpp	2012-06-29 13:52:27 +
@@ -543,20 +543,16 @@
 ZorbaCollectionIterator collection =
 static_castZorbaCollectionIterator(*argv[0]);
 
-if (collection.isDynamic())
-{
-  return new CountCollectionIterator(sctx,
- loc,
- collection.getChildren(),
- CountCollectionIterator::ZORBADYNAMIC);
-}
-else
-{
-  return new CountCollectionIterator(sctx,
- loc,
- collection.getChildren(),
- CountCollectionIterator::ZORBASTATIC);
-}
+return new CountCollectionIterator(
+ sctx,
+ loc,
+ collection.getChildren(),
+ (
+   collection.isDynamic()
+ ? CountCollectionIterator::ZORBADYNAMIC
+ : CountCollectionIterator::ZORBASTATIC
+ )
+   );
   }
   else if (typeid(FnCollectionIterator) == counted_type)
   {
@@ -600,10 +596,9 @@
 return new ProbeIndexRangeGeneralIterator(
 sctx, loc, lIter.getChildren(), true);
   }
-  else
-  {
-return new FnCountIterator(sctx, loc, argv);
-  }
+  
+  // fallback
+  return new FnCountIterator(sctx, loc, argv);
 }
 
 

=== modified file 'src/functions/pregenerated/func_collections.cpp'
--- src/functions/pregenerated/func_collections.cpp	2012-06-28 04:14:03 +
+++ src/functions/pregenerated/func_collections.cpp	2012-06-29 13:52:27 +
@@ -342,6 +342,19 @@
 
   {
 DECL_WITH_KIND(sctx, static_collections_dml_collection,
+(createQName(http://www.zorba-xquery.com/modules/store/static/collections/dml,,collection;), 
+GENV_TYPESYSTEM.QNAME_TYPE_ONE, 
+GENV_TYPESYSTEM.INTEGER_TYPE_ONE, 
+GENV_TYPESYSTEM.ANY_NODE_TYPE_STAR),
+

[Zorba-coders] [Merge] lp:~davidagraf/zorba/paging into lp:zorba

2012-06-29 Thread David Graf
The proposal to merge lp:~davidagraf/zorba/paging into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112775
-- 
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112775
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Commit Message changed to:

Implemented the new EQName syntax.

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
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:~davidagraf/zorba/paging into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job paging-2012-06-29T13-48-12.365Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112775
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:~davidagraf/zorba/paging into lp:zorba

2012-06-29 Thread noreply
The proposal to merge lp:~davidagraf/zorba/paging into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112775
-- 
https://code.launchpad.net/~davidagraf/zorba/paging/+merge/112775
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/error-messages-2012-06-29T14-18-00.292Z/log.html
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
The attempt to merge lp:~nbrinza/zorba/error-messages into lp:zorba failed. 
Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job error-messages-2012-06-29T14-18-00.292Z is finished.
  The final status was:

  

  11 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112777
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

2012-06-29 Thread Markos Zaharioudakis
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch 
into lp:zorba.

Requested reviews:
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112790

Fixed bug #1018673 + renamed misleading isXXXNode() methods.
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112790
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/runtime/nodes/node_position_impl.cpp'
--- src/runtime/nodes/node_position_impl.cpp	2012-06-28 04:14:03 +
+++ src/runtime/nodes/node_position_impl.cpp	2012-06-29 14:45:27 +
@@ -464,14 +464,14 @@
 {
   store::Item_t lUri;
 
-  PlanIteratorState *state;
+  PlanIteratorState* state;
   DEFAULT_STACK_INIT(PlanIteratorState, state, planState);
 
   consumeNext(lUri, theChildren[0].getp(), planState);
 
   try
   {
-GENV_ITEMFACTORY-createBoolean(result, lUri-isAttribute());
+GENV_ITEMFACTORY-createBoolean(result, lUri-isAttributeRef());
   }
   catch (ZorbaException e)
   {
@@ -493,14 +493,14 @@
 {
   store::Item_t lUri;
 
-  PlanIteratorState *state;
+  PlanIteratorState* state;
   DEFAULT_STACK_INIT(PlanIteratorState, state, planState);
 
   consumeNext(lUri, theChildren[0].getp(), planState);
 
   try
   {
-GENV_ITEMFACTORY-createBoolean(result, lUri-isComment());
+GENV_ITEMFACTORY-createBoolean(result, lUri-isCommentRef());
   }
   catch (ZorbaException e)
   {
@@ -522,14 +522,14 @@
 {
   store::Item_t lUri;
 
-  PlanIteratorState *state;
+  PlanIteratorState* state;
   DEFAULT_STACK_INIT(PlanIteratorState, state, planState);
 
   consumeNext(lUri, theChildren[0].getp(), planState);
 
   try
   {
-GENV_ITEMFACTORY-createBoolean(result, lUri-isDocument());
+GENV_ITEMFACTORY-createBoolean(result, lUri-isDocumentRef());
   }
   catch (ZorbaException e)
   {
@@ -551,14 +551,14 @@
 {
   store::Item_t lUri;
 
-  PlanIteratorState *state;
+  PlanIteratorState* state;
   DEFAULT_STACK_INIT(PlanIteratorState, state, planState);
 
   consumeNext(lUri, theChildren[0].getp(), planState);
 
   try
   {
-GENV_ITEMFACTORY-createBoolean(result, lUri-isElement());
+GENV_ITEMFACTORY-createBoolean(result, lUri-isElementRef());
   }
   catch (ZorbaException e)
   {
@@ -580,14 +580,14 @@
 {
   store::Item_t lUri;
 
-  PlanIteratorState *state;
+  PlanIteratorState* state;
   DEFAULT_STACK_INIT(PlanIteratorState, state, planState);
 
   consumeNext(lUri, theChildren[0].getp(), planState);
 
   try
   {
-GENV_ITEMFACTORY-createBoolean(result, lUri-isProcessingInstruction());
+GENV_ITEMFACTORY-createBoolean(result, lUri-isProcessingInstructionRef());
   }
   catch (ZorbaException e)
   {
@@ -609,14 +609,14 @@
 {
   store::Item_t lUri;
 
-  PlanIteratorState *state;
+  PlanIteratorState* state;
   DEFAULT_STACK_INIT(PlanIteratorState, state, planState);
 
   consumeNext(lUri, theChildren[0].getp(), planState);
 
   try
   {
-GENV_ITEMFACTORY-createBoolean(result, lUri-isText());
+GENV_ITEMFACTORY-createBoolean(result, lUri-isTextRef());
   }
   catch (ZorbaException e)
   {

=== modified file 'src/runtime/nodes/nodes_impl.cpp'
--- src/runtime/nodes/nodes_impl.cpp	2012-06-28 21:54:08 +
+++ src/runtime/nodes/nodes_impl.cpp	2012-06-29 14:45:27 +
@@ -703,87 +703,101 @@
 bool FnPathIterator::nextImpl(store::Item_t result, PlanState planState) const
 {
   store::Item_t inNode;
-  store::Item_t swap;
   store::Item_t nodeName;
+  store::NsBindings nsBindings;
   zstring path;
   zstring temp;
   zstring zNamespace;
   zstring zLocalName;
   zstring zPosition;
+  bool rootIsDocument = false;
 
   PlanIteratorState* state;
   DEFAULT_STACK_INIT(PlanIteratorState, state, planState);
 
   if (consumeNext(inNode, theChildren[0], planState))
   {
-while (inNode-getParent())
-{
-  temp = path;
-  path = /;
-
+do
+{ 
   switch (inNode-getNodeKind())
   {
+case store::StoreConsts::documentNode:
+  temp = path;
+  path = /;
+  path += temp;
+  rootIsDocument = true;
+  break;
+
 case store::StoreConsts::elementNode:
   nodeName = inNode-getNodeName();
   zNamespace = nodeName-getNamespace();
   zLocalName = nodeName-getLocalName();
   zPosition = ztd::to_string(getNodePosition(inNode));
-  path += \+zNamespace+\:+zLocalName+[+zPosition+];
+  temp = path;
+  path = \+zNamespace+\:+zLocalName+[+zPosition.c_str()+];
+  path += temp;
   break;
+
 case store::StoreConsts::attributeNode:
   nodeName = inNode-getNodeName();
   zNamespace =nodeName-getNamespace();
   zLocalName = nodeName-getLocalName();
-  path += @;
   if(zNamespace != )
   {
-path += \+zNamespace+\:;
-  }
-  path += zLocalName;
+temp = path;
+path = @\+zNamespace+\:+zLocalName;
+path 

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba

2012-06-29 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112790
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

2012-06-29 Thread Markos Zaharioudakis
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/112790
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112790
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

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-06-29T14-45-58.319Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112790
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] [Bug 1018673] Re: fix ordpath bug

2012-06-29 Thread Markos Zaharioudakis
** Changed in: zorba
   Status: New = Fix Committed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1018673

Title:
  fix ordpath bug

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  Fix ordpath bug hit by Matthias and William in Sausalito. The
  follwoing assertion fails:

  Exception thrown during pul::applyUpdates: compPos  numComps1 
  compPos  numComps2: assertion failed. The following information
  might help: Involved Parameters: Parent: 40| 1, Sib1: 61|40| 1.2.0.1,
  Sib2: 62| 1.2.1, compPos: 2, numComps1: 3, numComps2: 2.
  Assertion failed: (fix_count()==0), function ~Partition, file
  /Users/wcandillon/28msec/sausalito/sandbox/runtime/store/src/partition.cpp,
  line 32.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1018673/+subscriptions

-- 
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

2012-06-29 Thread noreply
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/112790
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112790
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] [Bug 891453] Re: XQuery grammar needs EQNames

2012-06-29 Thread Chris Hillery
Invalid actually is a closed state. Setting back to Confirmed until
Matthias can double-check.

** Changed in: zorba
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/891453

Title:
  XQuery grammar needs EQNames

Status in Zorba - The XQuery Processor:
  Confirmed

Bug description:
  According to Matthias, the XQuery grammar needs to be extended to
  support EQNames.  There also needs to be an AtonicOrUntionType
  production.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/891453/+subscriptions

-- 
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Matthias Brantner
Matthias Brantner has proposed merging 
lp:~zorba-coders/zorba/feature-pragma_no_copy into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816

pragma for preventing copying of nodes in functions that insert into collections

For example

 declare namespace ext = http://www.zorba-xquery.com/extensions;;

 (# ext:no-copy #) {
   dml:insert-nodes-last(xs:QName(local:foo), $node)
 };
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/compiler/api/compilercb.h'
--- src/compiler/api/compilercb.h	2012-06-28 04:14:03 +
+++ src/compiler/api/compilercb.h	2012-06-29 17:23:20 +
@@ -29,6 +29,7 @@
 // without having the definition of static_context availble.
 # include context/static_context.h
 #endif
+#include compiler/expression/pragma.h
 
 #include zorbaserialization/class_serializer.h
 
@@ -157,6 +158,9 @@
 
   typedef std::mapcsize, static_context_t SctxMap;
 
+  typedef std::multimapexpr*, pragma_t PragmaMap;
+  typedef PragmaMap::const_iterator  PragmaMapIter;
+
 public:  
   XQueryDiagnostics   * theXQueryDiagnostics;
 
@@ -186,6 +190,8 @@
 
   configtheConfig;
 
+  PragmaMap thePragmas;
+
 public:
   SERIALIZABLE_CLASS(CompilerCB);
   CompilerCB(::zorba::serialization::Archiver ar);

=== modified file 'src/compiler/expression/CMakeLists.txt'
--- src/compiler/expression/CMakeLists.txt	2012-06-28 04:14:03 +
+++ src/compiler/expression/CMakeLists.txt	2012-06-29 17:23:20 +
@@ -26,7 +26,8 @@
 fo_expr.cpp
 script_exprs.cpp
 update_exprs.cpp
-function_item_expr.cpp)
+function_item_expr.cpp
+pragma.cpp)
 
 IF (NOT ZORBA_NO_FULL_TEXT)
   LIST(APPEND EXPRESSION_SRCS

=== modified file 'src/compiler/expression/expr.cpp'
--- src/compiler/expression/expr.cpp	2012-06-28 04:14:03 +
+++ src/compiler/expression/expr.cpp	2012-06-29 17:23:20 +
@@ -955,14 +955,6 @@
 /***
 
 /
-pragma::pragma(store::Item_t name, std::string const content)
-  :
-  theQName(name),
-  theContent(content)
-{
-}
-
-
 extension_expr::extension_expr(
 static_context* sctx,
 const QueryLoc loc)

=== modified file 'src/compiler/expression/expr.h'
--- src/compiler/expression/expr.h	2012-06-28 04:14:03 +
+++ src/compiler/expression/expr.h	2012-06-29 17:23:20 +
@@ -29,6 +29,7 @@
 #include functions/signature.h
 
 #include compiler/expression/var_expr.h
+#include compiler/expression/pragma.h
 
 #include context/static_context.h
 #include context/namespace_context.h
@@ -765,22 +766,6 @@
 /***//**
 
 /
-class pragma : public SimpleRCObject
-{
-  friend class expr;
-
-public:
-  store::Item_t theQName;
-  std::string theContent;
-
-public:
-  pragma(store::Item_t name, std::string const content);
-};
-
-
-/***//**
-
-/
 class extension_expr : public expr 
 {
   friend class ExprIterator;

=== modified file 'src/compiler/expression/expr_base.cpp'
--- src/compiler/expression/expr_base.cpp	2012-06-28 04:14:03 +
+++ src/compiler/expression/expr_base.cpp	2012-06-29 17:23:20 +
@@ -541,6 +541,30 @@
 
 
 /***
+
+/
+BoolAnnotationValue expr::getContainsPragma() const
+{
+  return (BoolAnnotationValue)
+ ((theFlags1  CONTAINS_PRAGMA_MASK)  CONTAINS_PRAGMA);
+}
+
+
+void expr::setContainsPragma(BoolAnnotationValue v)
+{
+  theFlags1 = ~CONTAINS_PRAGMA_MASK;
+  theFlags1 |= (v  CONTAINS_PRAGMA);
+}
+
+
+bool expr::containsPragma() const
+{
+  BoolAnnotationValue v = getContainsPragma();
+  return (v == ANNOTATION_TRUE || v == ANNOTATION_TRUE_FIXED);
+}
+
+
+/***
   This annotation tells whether the expr must produce nodes that belong to 
   standalone trees or not. A tree is standalone if it does not contain 
   references to other trees. Such references are created when the optimizer 

=== modified file 'src/compiler/expression/expr_base.h'
--- src/compiler/expression/expr_base.h	2012-06-28 04:14:03 +
+++ src/compiler/expression/expr_base.h	2012-06-29 17:23:20 +
@@ -151,7 +151,8 @@
 CONTAINS_RECURSIVE_CALL = 12,
 PROPAGATES_INPUT_NODES  = 14,
 WILL_BE_SERIALIZED  = 16,
-MUST_COPY_NODES = 18
+

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/feature-pragma_no_copy-2012-06-29T17-23-58.019Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Matthias Brantner
The proposal to merge lp:~paul-lucas/zorba/feature-ft_bw into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Matthias Brantner
Review: Needs Fixing

- the changelog says that it's a new function but it has been there before
- ft:tokenize-nodes#2 comment is confusing. Why does it say
The default
74  + : a href=http://www.w3.org/TR/xmlschema-2/#language;language/a
75  + : is assumed to be the one returned by codeft:current-lang()/code
in between the two pragmas.
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job feature-pragma_no_copy-2012-06-29T17-23-58.019Z is 
finished. The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/feature-pragma_no_copy into 
lp:zorba has been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/feature-ft_bw-2012-06-29T17-53-01.219Z/log.html
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job feature-ft_bw-2012-06-29T17-53-01.219Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 1 Approve, 1 Needs Fixing.
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~paul-lucas/zorba/feature-ft_bw into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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

2012-06-29 Thread Markos Zaharioudakis
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch 
into lp:zorba.

Requested reviews:
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112827

Optimized hash function used for nodes (fixes bug #1010051) + some 
hashmap/hashset cleanup
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112827
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
--- ChangeLog	2012-06-29 13:25:20 +
+++ ChangeLog	2012-06-29 18:25:24 +
@@ -17,6 +17,7 @@
   * Improved hoist rule: tighter hoisting of expressions (also fixes bug #967428,
 which is only a performance bug)
   * Optimized hash sets used by fn:distinct-values and nodes-distinct
+  * Optimized hash function used for nodes (also fixes bug #1010051)
   * No more serialization of compiler expressions.
   * Big rewrite of plan serializer internals, resulting in big performance improvement.
 

=== modified file 'src/runtime/sequences/SequencesImpl.cpp'
--- src/runtime/sequences/SequencesImpl.cpp	2012-06-28 04:14:03 +
+++ src/runtime/sequences/SequencesImpl.cpp	2012-06-29 18:25:24 +
@@ -48,7 +48,6 @@
 #include store/api/iterator.h
 #include store/api/item_factory.h
 #include store/api/pul.h
-#include store/util/hashset_node_handle.h
 
 #include context/static_context.h
 #include context/dynamic_context.h

=== modified file 'src/runtime/sequences/SequencesImpl.h'
--- src/runtime/sequences/SequencesImpl.h	2012-06-28 04:14:03 +
+++ src/runtime/sequences/SequencesImpl.h	2012-06-29 18:25:24 +
@@ -34,13 +34,6 @@
 namespace zorba
 {
 
-namespace store 
-{
-  class NodeHashSet;
-}
-
-class ValueCollCompareParam;
-
 
 /
 // //

=== modified file 'src/runtime/sequences/pregenerated/sequences.h'
--- src/runtime/sequences/pregenerated/sequences.h	2012-06-28 04:14:03 +
+++ src/runtime/sequences/pregenerated/sequences.h	2012-06-29 18:25:24 +
@@ -34,9 +34,7 @@
 
 
 namespace zorba {
-namespace store{
-  class NodeHashSet;
-}
+class NodeHandleHashSet;
 class AtomicItemHandleHashSet;
 /**
  * 
@@ -708,7 +706,7 @@
 class HashSemiJoinIteratorState : public PlanIteratorState
 {
 public:
-  store::NodeHashSet* theRightInput; //
+  NodeHandleHashSet* theRightInput; //
 
   HashSemiJoinIteratorState();
 

=== modified file 'src/runtime/sequences/sequences_impl.cpp'
--- src/runtime/sequences/sequences_impl.cpp	2012-06-28 04:14:03 +
+++ src/runtime/sequences/sequences_impl.cpp	2012-06-29 18:25:24 +
@@ -53,10 +53,10 @@
 #include store/api/item_factory.h
 #include store/api/temp_seq.h
 #include store/api/pul.h
-#include store/util/hashset_node_handle.h
 
 #include context/static_context.h
 
+#include zorbautils/hashset_node_itemh.h
 #include zorbautils/hashset_atomic_itemh.h
 
 namespace zorbatm = zorba::time;
@@ -1106,7 +1106,7 @@
 /
 HashSemiJoinIteratorState::HashSemiJoinIteratorState()
 {
-  theRightInput = new store::NodeHashSet();
+  theRightInput = new NodeHandleHashSet(1024, false);
 }
 
 

=== modified file 'src/runtime/spec/sequences/sequences.xml'
--- src/runtime/spec/sequences/sequences.xml	2012-06-28 04:14:03 +
+++ src/runtime/spec/sequences/sequences.xml	2012-06-29 18:25:24 +
@@ -15,7 +15,7 @@
 zorba:header
 zorba:include form=Quotedruntime/base/narybase.h/zorba:include
 zorba:include form=Quotedruntime/core/path_iterators.h/zorba:include
-zorba:fwd-decl ns=storeNodeHashSet/zorba:fwd-decl
+zorba:fwd-decl ns=zorbaNodeHandleHashSet/zorba:fwd-decl
 zorba:fwd-decl ns=zorbaAtomicItemHandleHashSet/zorba:fwd-decl
 /zorba:header
 
@@ -680,7 +680,7 @@
 
   zorba:state generateInit=false generateReset=false
generateConstructor=false generateDestructor=false
-zorba:member type=store::NodeHashSet* name=theRightInput brief=/
+zorba:member type=NodeHandleHashSet* name=theRightInput brief=/
   /zorba:state
 
   zorba:constructor

=== modified file 'src/store/naive/node_items.cpp'
--- src/store/naive/node_items.cpp	2012-06-28 04:14:03 +
+++ src/store/naive/node_items.cpp	2012-06-29 18:25:24 +
@@ -471,9 +471,29 @@
 /***
 
 /
-void XmlNode::setTreeInternal(const XmlTree* aNewTree)
-{
-  theUnion.treeRCPtr = (long*)aNewTree;
+bool XmlNode::equals(const store::Item* other, long, const XQPCollator*) const
+{
+  assert(!isConnectorNode());
+  return this == other;
+}
+
+
+/***
+
+/
+uint32_t 

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job markos-scratch-2012-06-29T18-31-03.467Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112827
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Commit Message changed to:

Implemented the new EQName syntax.

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/error-messages-2012-06-29T21-07-14.246Z/log.html
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/feature-pragma_no_copy into 
lp:zorba has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job error-messages-2012-06-29T21-07-14.246Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 1 Pending.
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~nbrinza/zorba/error-messages into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/feature-pragma_no_copy-2012-06-29T21-33-59.318Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Nicolae Brinza
Review: Approve


-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/feature-pragma_no_copy into 
lp:zorba failed. Below is the output from the failed tests.


CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:274 
(message):
  Validation queue job feature-pragma_no_copy-2012-06-29T21-33-59.318Z is
  finished.  The final status was:

  

  1 tests did not succeed - changes not commited.


Error in read script: /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake

-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/feature-pragma_no_copy into 
lp:zorba has been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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

2012-06-29 Thread Markos Zaharioudakis
Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch 
into lp:zorba.

Requested reviews:
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112857

Fixed bug #1016429 (scoping of copy variables in transform expr)
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112857
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/compiler/parsetree/parsenode_print_xquery_visitor.cpp'
--- src/compiler/parsetree/parsenode_print_xquery_visitor.cpp	2012-06-28 04:14:03 +
+++ src/compiler/parsetree/parsenode_print_xquery_visitor.cpp	2012-06-29 22:08:19 +
@@ -1838,9 +1838,9 @@
   os  copy $;
   n.get_var_list()-accept(*this);
   os  modify ;
-  n.get_source_expr()-accept(*this);
+  n.get_modify_expr()-accept(*this);
   os  return ;
-  n.get_target_expr()-accept(*this);
+  n.get_return_expr()-accept(*this);
   return 0;
 }
 DEFAULT_END_VISIT (TransformExpr)

=== modified file 'src/compiler/parsetree/parsenodes.cpp'
--- src/compiler/parsetree/parsenodes.cpp	2012-06-28 04:14:03 +
+++ src/compiler/parsetree/parsenodes.cpp	2012-06-29 22:08:19 +
@@ -4726,23 +4726,23 @@
 TransformExpr::TransformExpr(
   const QueryLoc loc,
   rchandleCopyVarList var_list_h,
-  rchandleexprnode source_expr_h,
-  rchandleexprnode target_expr_h)
+  rchandleexprnode modifyExpr,
+  rchandleexprnode returnExpr)
   :
   exprnode(loc),
   var_list(var_list_h),
-  source_expr(source_expr_h),
-  target_expr(target_expr_h)
+  theModifyExpr(modifyExpr),
+  theReturnExpr(returnExpr)
 {
 }
 
 
-void TransformExpr::accept( parsenode_visitor v ) const
+void TransformExpr::accept( parsenode_visitor v ) const
 {
   BEGIN_VISITOR();
   ACCEPT (var_list);
-  ACCEPT (source_expr);
-  ACCEPT (target_expr);
+  ACCEPT (theModifyExpr);
+  ACCEPT (theReturnExpr);
   END_VISITOR();
 }
 
@@ -4754,7 +4754,7 @@
 }
 
 
-void CopyVarList::accept( parsenode_visitor v ) const
+void CopyVarList::accept( parsenode_visitor v ) const
 {
   BEGIN_VISITOR();
 
@@ -4781,7 +4781,7 @@
 }
 
 
-void VarBinding::accept( parsenode_visitor v ) const
+void VarBinding::accept( parsenode_visitor v ) const
 {
   BEGIN_VISITOR();
   ACCEPT (expr);

=== modified file 'src/compiler/parsetree/parsenodes.h'
--- src/compiler/parsetree/parsenodes.h	2012-06-28 04:14:03 +
+++ src/compiler/parsetree/parsenodes.h	2012-06-29 22:08:19 +
@@ -5571,20 +5571,20 @@
 {
 protected:
   rchandleCopyVarList var_list;
-  rchandleexprnode source_expr;
-  rchandleexprnode target_expr;
+  rchandleexprnodetheModifyExpr;
+  rchandleexprnodetheReturnExpr;
 
 public:
   TransformExpr(
 const QueryLoc loc,
 rchandleCopyVarList var_list,
-rchandleexprnode source_expr,
-rchandleexprnode target_expr);
+rchandleexprnode modifyExpr,
+rchandleexprnode returnExpr);
 
 
   rchandleCopyVarList get_var_list() const { return var_list; }
-  rchandleexprnode get_source_expr() const { return source_expr; }
-  rchandleexprnode get_target_expr() const { return target_expr; }
+  rchandleexprnode get_modify_expr() const { return theModifyExpr; }
+  rchandleexprnode get_return_expr() const { return theReturnExpr; }
 
   void accept(parsenode_visitor) const;
 };

=== modified file 'src/compiler/translator/translator.cpp'
--- src/compiler/translator/translator.cpp	2012-06-28 04:14:03 +
+++ src/compiler/translator/translator.cpp	2012-06-29 22:08:19 +
@@ -13169,8 +13169,8 @@
   transformExpr-setModifyExpr(modifyExpr);
   transformExpr-setReturnExpr(returnExpr);
 
-  const size_t lSize = v.get_var_list()-size();
-  for (size_t i = 0; i  lSize; ++i)
+  const csize lSize = v.get_var_list()-size();
+  for (csize i = 0; i  lSize; ++i)
   {
 pop_scope();
   }
@@ -13193,22 +13193,21 @@
 {
   TRACE_VISIT();
 
-  push_scope();
-  var_expr_t ve = bind_var(loc, v.get_varname(), var_expr::copy_var);
-  push_nodestack(ve.getp());
-
   return no_state;
 }
 
 void end_visit(const VarBinding v, void*)
 {
-  TRACE_VISIT_OUT ();
+  TRACE_VISIT_OUT();
 
   expr_t sourceExpr = pop_nodestack();
+
   if (sourceExpr-is_updating())
 throw XQUERY_EXCEPTION(err::XUST0001, ERROR_LOC(loc));
 
-  var_expr_t varExpr = pop_nodestack_var();
+  push_scope();
+
+  var_expr_t varExpr = bind_var(loc, v.get_varname(), var_expr::copy_var);
 
   transform_expr* transformExpr =
   dynamic_casttransform_expr*(theNodeStack.top().getp());

=== added file 'test/rbkt/Queries/zorba/updates/transform02.spec'
--- test/rbkt/Queries/zorba/updates/transform02.spec	1970-01-01 00:00:00 +
+++ test/rbkt/Queries/zorba/updates/transform02.spec	2012-06-29 22:08:19 +
@@ -0,0 +1,1 @@
+Error: http://www.w3.org/2005/xqt-errors:XUTY0013

=== added file 'test/rbkt/Queries/zorba/updates/transform02.xq'
--- test/rbkt/Queries/zorba/updates/transform02.xq	1970-01-01 00:00:00 +
+++ test/rbkt/Queries/zorba/updates/transform02.xq	2012-06-29 

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba

2012-06-29 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112857
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

2012-06-29 Thread Markos Zaharioudakis
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/112857
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112857
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

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-06-29T22-11-06.649Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112857
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] [Bug 1016429] Re: crash in transform expression

2012-06-29 Thread Markos Zaharioudakis
** Changed in: zorba
   Status: New = Fix Committed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1016429

Title:
  crash in transform expression

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  declare variable $filename as xs:string := test;

  copy $filename := $filename
  modify ()
  return $filename

  crashes (due to using the same var names $filename := $filename)
  running on latest trunk rev 10884. Thank you for fixing.

  P.S.: this is not a duplicate of bug #1008082

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1016429/+subscriptions

-- 
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

2012-06-29 Thread Zorba Build Bot
Validation queue job markos-scratch-2012-06-29T22-11-06.649Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112857
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

2012-06-29 Thread noreply
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/112857
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/112857
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/feature-pragma_no_copy into 
lp:zorba has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
There are additional revisions which have not been approved in review. Please 
seek review and approval of these new revisions.
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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/feature-pragma_no_copy into lp:zorba

2012-06-29 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/feature-pragma_no_copy into 
lp:zorba has been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-pragma_no_copy/+merge/112816
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Matthias Brantner
The proposal to merge lp:~paul-lucas/zorba/feature-ft_bw into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/feature-ft_bw-2012-06-29T22-57-52.686Z/log.html
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread Zorba Build Bot
Validation queue job feature-ft_bw-2012-06-29T22-57-52.686Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~paul-lucas/zorba/feature-ft_bw into lp:zorba

2012-06-29 Thread noreply
The proposal to merge lp:~paul-lucas/zorba/feature-ft_bw into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
-- 
https://code.launchpad.net/~paul-lucas/zorba/feature-ft_bw/+merge/112811
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:~nbrinza/zorba/error-messages into lp:zorba

2012-06-29 Thread Matthias Brantner
Review: Needs Information

- what about the following tests from in w3c_known_failures.txt?

test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-013
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-006
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-012
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-009
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-001
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-008
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-011
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-002
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-004
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-005
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-003
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-010
test/rbkt/w3c_testsuite/XQuery/Basics/EQNames/eqname-007

- is the following query supposed to work? It doesn't parse with this branch.

declare %Q{http://www.zorba-xquery.com/annotations}:sequential function 
local:foo()
{
  1
};

local:foo()
-- 
https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/112849
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