[Zorba-coders] [Merge] lp:~zorba-coders/zorba/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/destroy-annotation-qnames into 
lp:zorba has been updated.

Status: Needs review = Approved

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

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/destroy-annotation-qnames-2012-04-16T06-22-07.882Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/bug-978722_excel into lp:zorba/excel-module

2012-04-16 Thread Matthias Brantner
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/bug-978722_excel 
into lp:zorba/excel-module.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  William Candillon (wcandillon)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-978722_excel/+merge/102054

fix for bug #978722 (change annotation prefix from ann to an)
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-978722_excel/+merge/102054
Your team Zorba Coders is subscribed to branch lp:zorba/excel-module.
-- 
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue job destroy-annotation-qnames-2012-04-16T06-22-07.882Z is 
finished. The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 1 Approve, 2 Needs Fixing.
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/destroy-annotation-qnames into 
lp:zorba has been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/bug-921458 into lp:zorba

2012-04-16 Thread Matthias Brantner
Matthias Brantner has proposed merging lp:~zorba-coders/zorba/bug-921458 into 
lp:zorba.

Requested reviews:
  William Candillon (wcandillon)
  Paul J. Lucas (paul-lucas)
Related bugs:
  Bug #921458 in Zorba: file:read-text-lines() blocking
  https://bugs.launchpad.net/zorba/+bug/921458

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058

Fix for bug #921458 (file:read-text-lines() blocking)

The problem was that the string:split function isn't suitable for tokenizing 
with newlines as separator.

I have provided a native implementation using C++'s getline.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
--- ChangeLog	2012-04-14 06:12:29 +
+++ ChangeLog	2012-04-16 07:08:21 +
@@ -21,6 +21,7 @@
   * Fixed bug #872234 (prevent a rewritting to take place in case of sequential expr)
   * Fixed bug #906494 (default compile with D_FILE_OFFSET_BITS=64)
   * Fixed bug #912586, #912593 and #912722 (assertion failures with lax validation)
+  * Fixed bug #921458 (file:read-text-lines() blocking)
   * Fixed bug #949910 (has-children may be invoked on all nodes). Internally, zorba::store::Item::getChildren() now returns NULL on node classes without offspring (instead of raising an error).
 
 

=== modified file 'modules/org/expath/ns/file.xq'
--- modules/org/expath/ns/file.xq	2012-04-14 01:36:33 +
+++ modules/org/expath/ns/file.xq	2012-04-16 07:08:21 +
@@ -422,11 +422,7 @@
 declare %an:nondeterministic function file:read-text-lines(
   $file as xs:string,
   $encoding as xs:string
-) as xs:string*
-{
-  let $content := file:read-text($file, $encoding)
-  return fn:tokenize($content, \n)
-};
+) as xs:string* external;
 
 (:~
  : This is an internal function that copies an entire source directory to an

=== modified file 'modules/org/expath/ns/file.xq.src/file.cpp'
--- modules/org/expath/ns/file.xq.src/file.cpp	2012-03-30 19:03:09 +
+++ modules/org/expath/ns/file.xq.src/file.cpp	2012-04-16 07:08:21 +
@@ -223,6 +223,124 @@
 
 //*
 
+ReadTextLinesFunction::ReadTextLinesFunction(const FileModule* aModule)
+  : FileFunction(aModule)
+{
+}
+
+ItemSequence_t
+ReadTextLinesFunction::evaluate(
+  const ExternalFunction::Arguments_t aArgs,
+  const StaticContext*  aSctxCtx,
+  const DynamicContext* aDynCtx) const
+{
+  String lFileStr = getFilePathString(aArgs, 0);
+  File_t lFile = File::createFile(lFileStr.c_str());
+  String lEncoding(UTF-8);
+
+  // preconditions
+  if (!lFile-exists()) {
+raiseFileError(FOFL0001, A file does not exist at this path, lFile-getFilePath());
+  }
+  if (lFile-isDirectory()) {
+raiseFileError(FOFL0004, The given path points to a directory, lFile-getFilePath());
+  }
+
+  lEncoding = getEncodingArg(aArgs, 1);
+
+  return ItemSequence_t(new LinesItemSequence(lFile, lEncoding, this));
+}
+
+ReadTextLinesFunction::LinesItemSequence::LinesItemSequence(
+const File_t aFile,
+const String aEncoding,
+const ReadTextLinesFunction* aFunc)
+  : theFile(aFile),
+theEncoding(aEncoding),
+theFunc(aFunc)
+{
+}
+
+Iterator_t
+ReadTextLinesFunction::LinesItemSequence::getIterator()
+{
+  return new ReadTextLinesFunction::LinesItemSequence::LinesIterator(
+  theFile, theEncoding, theFunc
+);
+}
+
+ReadTextLinesFunction::LinesItemSequence::LinesIterator::LinesIterator(
+const File_t aFile,
+const String aEncoding,
+const ReadTextLinesFunction* aFunc)
+  : theFile(aFile),
+theEncoding(aEncoding),
+theFunc(aFunc),
+theStream(0)
+{
+}
+
+ReadTextLinesFunction::LinesItemSequence::LinesIterator::~LinesIterator()
+{
+  delete theStream;
+}
+
+void
+ReadTextLinesFunction::LinesItemSequence::LinesIterator::open()
+{
+  if ( transcode::is_necessary( theEncoding.c_str() ) )
+  {
+try
+{
+  theStream = new transcode::streamstd::ifstream(theEncoding.c_str());
+}
+catch (std::invalid_argument const e)
+{
+  theFunc-raiseFileError(FOFL0006, Unsupported encoding, theEncoding.c_str());
+}
+  }
+  else
+  {
+theStream = new std::ifstream();
+  }
+  theFile-openInputStream(*theStream, false, true);
+}
+
+bool
+ReadTextLinesFunction::LinesItemSequence::LinesIterator::next(Item aRes)
+{
+  if (!theStream || !theStream-good())
+return false;
+
+  std::string lStr;
+  getline(*theStream, lStr);
+  
+  if (theStream-bad())
+  {
+return false;
+  }
+  else
+  {
+aRes = theFunc-theModule-getItemFactory()-createString(lStr);
+return true;
+  }
+}
+
+void
+ReadTextLinesFunction::LinesItemSequence::LinesIterator::close()
+{
+  delete theStream;
+  theStream = 0;
+}
+
+bool
+ReadTextLinesFunction::LinesItemSequence::LinesIterator::isOpen() const
+{
+  return theStream != 0;
+}
+

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/bug-921458 into lp:zorba

2012-04-16 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/bug-921458 into lp:zorba has been 
updated.

Commit Message changed to:

Fix for bug #921458 (file:read-text-lines() blocking)

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

2012-04-16 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/bug-921458 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-16 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/bug-921458/+merge/102058
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/bug-921458 into lp:zorba

2012-04-16 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/bug-921458 into lp:zorba has been 
updated.

Status: Approved = Needs review

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

2012-04-16 Thread Markos Zaharioudakis
Review: Approve


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

2012-04-16 Thread Markos Zaharioudakis
The proposal to merge lp:~zorba-coders/zorba/bug-914655 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-914655-2012-04-16T08-11-01.617Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-914655/+merge/101922
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/bug-914655 into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue job bug-914655-2012-04-16T08-11-01.617Z is finished. The final 
status was:

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

2012-04-16 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/bug-914655 into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-914655/+merge/101922
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-914655/+merge/101922
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 914655] Re: XQDB: Assertion `str.size() == length' failed.

2012-04-16 Thread David Graf
** Changed in: zorba
   Status: In Progress = 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/914655

Title:
  XQDB: Assertion `str.size() == length' failed.

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  I am able to produce an assertion in xqdb on ubuntu 10.04 64bit.

  Query:
  for $x in (1,2,3)
  let $y := $x+1
  return $y

  Protocol:
  ./bin/xqdb -f -q debugger.xq
  Communication port: 28028
  Zorba executable:   ./bin/zorba
  Zorba arguments:-d -f -q debugger.xq 
  Zorba XQuery Debugger Server
  Copyright 2006-2009 The FLWOR Foundation.
  License: Apache License 2.0: http://www.apache.org/licenses/LICENSE-2.0

  Established connection with XQuery client zorba
  (xqdb) break -f debugger.xq -l 2

  set breakpoint with id 1 and state enabled
  (xqdb) run
  ?xml version=1.0 encoding=UTF-8?

  break in query body at /home/dagraf/zorba/build/debugger.xq:2

  2 o| let $y := $x+1
  (xqdb) print -c x

  Error: Error while evaluating expression.
  (xqdb) print -c $x
  Segmentation fault
  xqdb: /home/dagraf/zorba/sandbox/src/debugger/debugger_clientimpl.cpp:60: 
virtual void zorba::DebuggerListener::run(): Assertion `str.size() == length' 
failed.
  Aborted

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/914655/+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


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

2012-04-16 Thread William Candillon
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058
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/bug-966355 into lp:zorba

2012-04-16 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-966355/+merge/100316
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:~diogo-simoes89/zorba/data-cleaning-thesaurus into lp:zorba/data-cleaning-module

2012-04-16 Thread Bruno Martins
The proposal to merge lp:~diogo-simoes89/zorba/data-cleaning-thesaurus into 
lp:zorba/data-cleaning-module has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning-thesaurus/+merge/100683
-- 
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning-thesaurus/+merge/100683
Your team Zorba Coders is requested to review the proposed merge of 
lp:~diogo-simoes89/zorba/data-cleaning-thesaurus into 
lp:zorba/data-cleaning-module.

-- 
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:~diogo-simoes89/zorba/data-cleaning-thesaurus into lp:zorba/data-cleaning-module

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/data-cleaning-thesaurus-2012-04-16T13-01-49.132Z/log.html
-- 
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning-thesaurus/+merge/100683
Your team Zorba Coders is requested to review the proposed merge of 
lp:~diogo-simoes89/zorba/data-cleaning-thesaurus into 
lp:zorba/data-cleaning-module.

-- 
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/unordered-collection-tests into lp:zorba

2012-04-16 Thread Markos Zaharioudakis
Review: Approve

ok, I (relunctantly) aprove.
-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
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/unordered-collection-tests into lp:zorba

2012-04-16 Thread Markos Zaharioudakis
The proposal to merge lp:~zorba-coders/zorba/unordered-collection-tests into 
lp:zorba has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
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:~diogo-simoes89/zorba/data-cleaning-thesaurus into lp:zorba/data-cleaning-module

2012-04-16 Thread Zorba Build Bot
The attempt to merge lp:~diogo-simoes89/zorba/data-cleaning-thesaurus into 
lp:zorba/data-cleaning-module 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 data-cleaning-thesaurus-2012-04-16T13-01-49.132Z is
  finished.  The final status was:

  

  2 tests did not succeed - changes not commited.


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

-- 
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning-thesaurus/+merge/100683
Your team Zorba Coders is requested to review the proposed merge of 
lp:~diogo-simoes89/zorba/data-cleaning-thesaurus into 
lp:zorba/data-cleaning-module.

-- 
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:~diogo-simoes89/zorba/data-cleaning-thesaurus into lp:zorba/data-cleaning-module

2012-04-16 Thread Zorba Build Bot
The proposal to merge lp:~diogo-simoes89/zorba/data-cleaning-thesaurus into 
lp:zorba/data-cleaning-module has been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning-thesaurus/+merge/100683
-- 
https://code.launchpad.net/~diogo-simoes89/zorba/data-cleaning-thesaurus/+merge/100683
Your team Zorba Coders is requested to review the proposed merge of 
lp:~diogo-simoes89/zorba/data-cleaning-thesaurus into 
lp:zorba/data-cleaning-module.

-- 
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/unordered-collection-tests into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/unordered-collection-tests-2012-04-16T13-34-01.133Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Markos Zaharioudakis
Review: Approve

I made a fix to take into account synchronization in clear() method
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Markos Zaharioudakis
The proposal to merge lp:~zorba-coders/zorba/destroy-annotation-qnames into 
lp:zorba has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/unordered-collection-tests into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue job unordered-collection-tests-2012-04-16T13-34-01.133Z is 
finished. The final status was:

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

2012-04-16 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/unordered-collection-tests into 
lp:zorba has been updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
-- 
https://code.launchpad.net/~zorba-coders/zorba/unordered-collection-tests/+merge/101374
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/destroy-annotation-qnames-2012-04-16T14-08-16.291Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue job destroy-annotation-qnames-2012-04-16T14-08-16.291Z is 
finished. The final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/bug-921458 into lp:zorba

2012-04-16 Thread Paul J. Lucas
Review: Approve


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

2012-04-16 Thread Paul J. Lucas
The proposal to merge lp:~zorba-coders/zorba/bug-921458 into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058
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/destroy-annotation-qnames into lp:zorba

2012-04-16 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/destroy-annotation-qnames into 
lp:zorba has been updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
-- 
https://code.launchpad.net/~zorba-coders/zorba/destroy-annotation-qnames/+merge/97824
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/bug-921458 into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-921458-2012-04-16T14-47-08.502Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058
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 866725] Re: Warnings in the Runtime

2012-04-16 Thread David Graf
Hint for myself: went through till 46%.

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

Title:
  Warnings in the Runtime

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  In Zorba, there is some chaos with the types of length variables. They
  have the type xqp_long, xqp_ulong, long, ulong, etc.. Therefore, the
  following warnings are shown if I compile zorba on windows:

  src\runtime\sequences\sequences_impl.cpp(477) : warning C4244: '=' : 
conversion from 'double' to 'zorba::xqp_long', possible loss of data
  src\runtime\sequences\sequences_impl.cpp(482) : warning C4244: '=' : 
conversion from 'double' to 'zorba::xqp_long', possible loss of data
  src\runtime\collections\collections_impl.cpp(1165) : warning C4244: 
'argument' : conversion from 'zorba::xqp_ulong' to 'ulong', possible loss of 
data

  src\runtime\core\var_iterators.cpp(341) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(378) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(379) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(630) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(656) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(735) : warning C4244: 'argument' : 
conversion from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(755) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data
  src\runtime\core\var_iterators.cpp(756) : warning C4244: '=' : conversion 
from 'zorba::xqp_long' to 'ulong', possible loss of data

  
  src\store\naive\loader_fast.cpp(218) : warning C4244: 'return' : conversion 
from 'std::streamsize' to 'long', possible loss of data
  src\store\naive\loader_dtd.cpp(221) : warning C4244: 'return' : conversion 
from 'std::streamsize' to 'long', possible loss of data
  src\store\naive\loader_dtd.cpp(273) : warning C4244: 'initializing' : 
conversion from 'std::streamoff' to 'size_t', possible loss of data

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/866725/+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


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

2012-04-16 Thread Matthias Brantner
Review: Approve


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

2012-04-16 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/bug-966355 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-16 Thread Zorba Build Bot
Validation queue job bug-921458-2012-04-16T14-47-08.502Z is finished. The final 
status was:

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

2012-04-16 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/bug-921458 into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-921458/+merge/102058
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 921458] Re: file:read-text-lines() blocking

2012-04-16 Thread Zorba Build Bot
** Changed in: zorba
   Status: In Progress = 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/921458

Title:
  file:read-text-lines() blocking

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  I wrote the following query:
  import module namespace file =http://expath.org/ns/file;;

  for $line at $i in file:read-text-lines(doc.xml)
  return
    if($i lt 1104869) then () else concat($line, 
  )

  Where doc.xml is a large document.
  The result of the query seems to never end and its memory footprint is huge.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/921458/+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/bug-966355 into lp:zorba

2012-04-16 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/bug-966355 into lp:zorba has been 
updated.

Status: Approved = Needs review

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

2012-04-16 Thread Paul J. Lucas
The proposal to merge lp:~zorba-coders/zorba/bug-966355 into lp:zorba has been 
updated.

Commit Message changed to:

Added operators for built-in types (when ZORBA_WITH_BIG_INTEGER=OFF).

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

2012-04-16 Thread Paul J. Lucas
Review: Approve


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

2012-04-16 Thread Matthias Brantner
Review: Approve


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

2012-04-16 Thread Markos Zaharioudakis
The proposal to merge lp:~zorba-coders/zorba/bug-966355 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-966355-2012-04-16T16-04-19.631Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-966355/+merge/102128
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/bug-966355 into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue job bug-966355-2012-04-16T16-04-19.631Z is finished. The final 
status was:

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

2012-04-16 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/bug-966355 into lp:zorba has been 
updated.

Status: Approved = Merged

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

2012-04-16 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-980463/+merge/102014
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/bug-980463 into lp:zorba

2012-04-16 Thread Matthias Brantner
The proposal to merge lp:~paul-lucas/zorba/bug-980463 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-980463-2012-04-16T16-49-14.305Z/log.html
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-980463/+merge/102014
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/fn_envvars into lp:zorba

2012-04-16 Thread Juan Zacarias
The proposal to merge lp:~zorba-coders/zorba/fn_envvars into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-16 Thread Zorba Build Bot
Validation queue job bug-980463-2012-04-16T16-49-14.305Z is finished. The final 
status was:

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

2012-04-16 Thread noreply
The proposal to merge lp:~paul-lucas/zorba/bug-980463 into lp:zorba has been 
updated.

Status: Approved = Merged

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

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/fn_envvars-2012-04-16T17-29-09.092Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/fn_envvars/+merge/101882
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/fn_envvars into lp:zorba

2012-04-16 Thread Zorba Build Bot
Validation queue job fn_envvars-2012-04-16T17-29-09.092Z is finished. The final 
status was:

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

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

2012-04-16 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/fn_envvars into lp:zorba has been 
updated.

Status: Approved = Needs review

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

2012-04-16 Thread Cezar Andrei
Review: Approve

Looks good.
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug928987/+merge/99445
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/bug928987 into lp:zorba

2012-04-16 Thread Cezar Andrei
The proposal to merge lp:~zorba-coders/zorba/bug928987 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug928987-2012-04-16T20-46-06.764Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug928987/+merge/99445
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/bug928987 into lp:zorba

2012-04-16 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/bug928987 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 bug928987-2012-04-16T20-46-06.764Z 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/bug928987/+merge/99445
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/bug928987 into lp:zorba

2012-04-16 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/bug928987 into lp:zorba has been 
updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug928987/+merge/99445
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug928987/+merge/99445
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-04-16 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/102192

Fixed bug #891650
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/102192
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'ChangeLog'
--- ChangeLog	2012-04-16 15:17:02 +
+++ ChangeLog	2012-04-16 21:56:21 +
@@ -12,6 +12,7 @@
   * Fixed bug 955170 (Catch clause with URILiteral-based wilcard NameTest)
   * Fixed bug 955135 (err:XQDY0044 not caught by try-catch expressions)
   * Fixed bug #967864 (var substitution did not update theFreeVars property)
+  * Fixed buf #891650 (context size var not always declared within path expr)
   * Fixed bug #948879 (--uri-path doesn't work with fetch:content())
   * Fixed bug in window iterator (binding the end vars in the output tuple stream)
   * Fixed bug #866547 (protect index-join rule from general flwor)

=== modified file 'src/compiler/translator/translator.cpp'
--- src/compiler/translator/translator.cpp	2012-04-16 15:34:36 +
+++ src/compiler/translator/translator.cpp	2012-04-16 21:56:21 +
@@ -8600,7 +8600,7 @@
   else
   {
 expr_t inputSeqExpr = wrap_in_dos_and_dupelim(pathExpr, false);
-rchandleflwor_expr flworExpr = wrap_expr_in_flwor(inputSeqExpr, false);
+rchandleflwor_expr flworExpr = wrap_expr_in_flwor(inputSeqExpr, (axisStep == NULL));
 push_nodestack(flworExpr.getp());
   }
 }

=== modified file 'src/runtime/api/plan_wrapper.cpp'
--- src/runtime/api/plan_wrapper.cpp	2012-03-30 19:03:09 +
+++ src/runtime/api/plan_wrapper.cpp	2012-04-16 21:56:21 +
@@ -143,7 +143,8 @@
   // However, for reasons of lazy evaluation, we also return the result
   // that was computed before the exit expression was evaluated
   // (see test scripting/exit4.xq)
-  if (!theExitValue) {
+  if (!theExitValue) 
+  {
 try
 {
   return PlanIterator::consumeNext(result, theIterator, *thePlanState);

=== modified file 'src/runtime/core/internal_operators.cpp'
--- src/runtime/core/internal_operators.cpp	2012-04-09 23:08:06 +
+++ src/runtime/core/internal_operators.cpp	2012-04-16 21:56:21 +
@@ -34,26 +34,30 @@
 SERIALIZABLE_CLASS_VERSIONS(UnhoistIterator)
 
 
+
 void HoistIteratorState::init(PlanState planState)
 {
   PlanIteratorState::init(planState);
   theDone = false;
 }
 
+
 void HoistIteratorState::reset(PlanState planState)
 {
   PlanIteratorState::reset(planState);
   theDone = false;
 }
 
+
 bool
 HoistIterator::nextImpl(store::Item_t result, PlanState planState) const
 {
   bool error = false;
-  HoistIteratorState *state;
+
+  HoistIteratorState* state;
   DEFAULT_STACK_INIT(HoistIteratorState, state, planState);
 
-  while(!state-theDone) 
+  while (!state-theDone) 
   {
 try 
 {
@@ -67,8 +71,10 @@
 
   GENV_ITEMFACTORY-createError(result, ze.release());
 }
+
 STACK_PUSH(error || !state-theDone, state);
   }
+
   STACK_END(state);
 }
 

=== modified file 'src/runtime/core/internal_operators.h'
--- src/runtime/core/internal_operators.h	2012-03-30 19:03:09 +
+++ src/runtime/core/internal_operators.h	2012-04-16 21:56:21 +
@@ -22,16 +22,20 @@
 
 namespace zorba {
 
-class HoistIteratorState : public PlanIteratorState {
-  public:
-bool theDone;
+class HoistIteratorState : public PlanIteratorState 
+{
+public:
+  bool theDone;
 
-void init(PlanState planState);
-void reset(PlanState planState);
+public:
+  void init(PlanState planState);
+  void reset(PlanState planState);
 };
 
+
 NARY_ITER_STATE(HoistIterator, HoistIteratorState);
 
+
 NARY_ITER(UnhoistIterator);
 
 }

=== modified file 'src/runtime/eval/eval.cpp'
--- src/runtime/eval/eval.cpp	2012-04-14 06:37:23 +
+++ src/runtime/eval/eval.cpp	2012-04-16 21:56:21 +
@@ -188,6 +188,12 @@
 ulong maxOuterVarId;
 copyOuterVariables(planState, outerSctx, evalDctx, maxOuterVarId);
 
+// If we are here after a reet, we must set state-thePlanWrapper to NULL
+// before reseting the state-thePlan. Otherwise, the current state-thePlan
+// will be destroyed first, and then we will attempt to close it when 
+// state-thePlanWrapper is reset later. 
+state-thePlanWrapper = NULL;
+
 // Compile
 state-thePlan = compile(evalCCB,
  item-getStringValue(),

=== modified file 'src/store/naive/simple_pul.h'
--- src/store/naive/simple_pul.h	2012-03-30 19:03:09 +
+++ src/store/naive/simple_pul.h	2012-04-16 21:56:21 +
@@ -153,7 +153,7 @@
 
 protected:
   // Bookeeping
-  Collection * theCollection;
+  Collection   * theCollection;
 
   PULImpl  * thePul;
 

=== added file 'test/rbkt/ExpQueryResults/zorba/paths/path28.xml.res'
--- test/rbkt/ExpQueryResults/zorba/paths/path28.xml.res	1970-01-01 00:00:00 +
+++ 

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

2012-04-16 Thread Markos Zaharioudakis
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/102192
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-04-16 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/102192
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/102192
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-04-16 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/markos-scratch-2012-04-16T22-05-08.83Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/102192
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

2012-04-16 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/markos-scratch 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 markos-scratch-2012-04-16T22-05-08.83Z is finished.
  The final status was:

  

  Undetermined, probably an error - please email chill...@lambda.nu with the
  number of this job!


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

-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/102192
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-04-16 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/markos-scratch into lp:zorba has 
been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/102192
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/102192
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 872500] Re: Crash in xqdoc query

2012-04-16 Thread Chris Hillery
Can't reproduce this with recent builds. Closing unless Jonathan is
still seeing it and can provide some more details.

** 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/872500

Title:
  Crash in xqdoc query

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  This core dumps for me:

  import module namespace x = http://www.zorba-xquery.com/modules/xqdoc;;
  import schema namespace xqds = http://www.xqdoc.org/1.0;;
  validate { x:xqdoc(http://www.zorba-xquery.com/modules/converters/json;) 
}

  
  zorba -f -q xqdoc.xq json.xml
  Segmentation fault (core dumped)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/872500/+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] [Bug 867156] Re: Import schema segfaults

2012-04-16 Thread Chris Hillery
I'm not able to reproduce any crash, but I can't get the query to run.
The query imports the XMLSchema schema directly:

  import schema namespace xs = http://www.w3.org/2001/XMLSchema; at
http://www.w3.org/2001/XMLSchema.xsd;;

and this doesn't seem to work:

/tmp/foo/conformance-dimensions/conf/CheckTaxonomy.xq:42,1: static error 
[err:XQST0059]: Fatal error in schema with system id 
http://www.w3.org/2001/XMLSchema.xsd, line 1, column 3.
markup declaration expected: target namespace not found for schema/module; 
raised at /home/ceej/zo/src/src/types/schema/LoadSchemaErrorHandler.cpp:88 

I don't know what's going on here, but I did try downloading
XMLSchema.xsd and putting it on Zorba's URI path so it would be loaded
locally. This led me to also download XMLSchema.dtd and datatypes.dtd
which are referenced by XMLSchema.xsd. With all those on the URI path, I
now get a bunch of warnings like

Warning at file 
file:///home/ceej/zo/src/build/URI_PATH/org/w3/www/2001/XMLSchema.xsd, line 
346, char 13
  Message: attribute 'id' has already been declared for element 'xs:field'

finally followed by an error:

/tmp/foo/conformance-dimensions/conf/CheckTaxonomy.xq:42,1: static error 
[err:XQST0059]: Error in schema with system id 
file:///home/ceej/zo/src/build/URI_PATH/org/w3/www/2001/XMLSchema.xsd, line 
177, column 47.
type 'http://www.w3.org/2001/XMLSchema:derivationControl' not found: target 
namespace not found for schema/module; raised at 
/home/ceej/zo/src/src/types/schema/LoadSchemaErrorHandler.cpp:68 

It kind of seems like Zorba has some idea of the contents of
XMLSchema.xsd built-in; is that correct? I'm afraid I don't know how to
debug this any further, but it doesn't immediately seem to indicate a
problem in URI resolution which is why I assume the bug was assigned to
me. Does anyone else know how schema-for-schema is supposed to work
with Zorba?

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

Title:
  Import schema segfaults

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Starting program: /Users/wcandillon/28msec/zorba/build/dist/bin/zorba -q 
CheckTaxonomy.xq -f
  Reading symbols for shared libraries 
... done
  Reading symbols for shared libraries . done
  Reading symbols for shared libraries  done
  Reading symbols for shared libraries ... done

  Program received signal EXC_BAD_ACCESS, Could not access memory.
  Reason: 13 at address: 0x
  0x7fff87b4b062 in std::istream::sentry::sentry ()
  (gdb) where
  #0  0x7fff87b4b062 in std::istream::sentry::sentry ()
  #1  0x7fff87b4b553 in std::istream::read ()
  #2  0x00010162168d in zorba::IstreamBinInputStream::readBytes ()
  #3  0x000103d921e3 in xercesc_2_8::XMLReader::refreshRawBuffer ()
  #4  0x000103d93b47 in xercesc_2_8::XMLReader::XMLReader ()
  #5  0x000103d93c39 in xercesc_2_8::XMLReader::XMLReader ()
  #6  0x000103d17eda in xercesc_2_8::ReaderMgr::createReader ()
  #7  0x000103cef908 in xercesc_2_8::IGXMLScanner::scanReset ()
  #8  0x000103cedc18 in xercesc_2_8::IGXMLScanner::scanDocument ()
  #9  0x000103c66998 in xercesc_2_8::AbstractDOMParser::parse ()
  #10 0x000103d58c77 in xercesc_2_8::TraverseSchema::preprocessImport ()
  #11 0x000103d57e72 in xercesc_2_8::TraverseSchema::preprocessChildren ()
  #12 0x000103d58690 in xercesc_2_8::TraverseSchema::preprocessSchema ()
  #13 0x000103d6d899 in xercesc_2_8::TraverseSchema::TraverseSchema ()
  #14 0x000103d6d972 in xercesc_2_8::TraverseSchema::TraverseSchema ()
  #15 0x000103d2eb5d in xercesc_2_8::SGXMLScanner::loadXMLSchemaGrammar ()
  #16 0x000103d2ee01 in xercesc_2_8::SGXMLScanner::loadGrammar ()
  #17 0x000103d9a0e5 in xercesc_2_8::XMLScanner::loadGrammar ()
  #18 0x000103d9a1a7 in xercesc_2_8::XMLScanner::loadGrammar ()
  #19 0x000103d2879a in xercesc_2_8::SAX2XMLReaderImpl::loadGrammar ()
  #20 0x000101614c4d in zorba::Schema::registerXSD ()
  #21 0x000100347e7a in zorba::TranslatorImpl::import_schema ()
  #22 0x000100290924 in zorba::TranslatorImpl::begin_visit ()
  #23 0x00010019f6e0 in zorba::SchemaImport::accept ()
  #24 0x0001001ab8ac in zorba::SIND_DeclList::accept ()
  #25 0x00010019f52e in zorba::Prolog::accept ()
  #26 0x00010019f21d in zorba::MainModule::accept ()
  #27 0x000100214d7d in zorba::translate_aux ()
  #28 0x0001002148eb in zorba::translate ()
  #29 0x0001005d87c6 in zorba::XQueryCompiler::normalize ()
  #30 0x0001005d89c3 in zorba::XQueryCompiler::compile ()
  #31 0x0001005da700 in zorba::XQueryCompiler::compile ()
  #32 0x00010004ba8a in zorba::XQueryImpl::doCompile ()
  #33 0x00010004c796 in zorba::XQueryImpl::compile ()
  #34 0x000153e8 in compileAndExecute ()
  #35 0x00019a87 in main ()


[Zorba-coders] [Bug 874679] Re: Clean up second arg to ADD_TEST_DIRECTORY()

2012-04-16 Thread Chris Hillery
** Changed in: zorba
   Status: New = 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/874679

Title:
  Clean up second arg to ADD_TEST_DIRECTORY()

Status in Zorba - The XQuery Processor:
  Confirmed

Bug description:
  The second (optional) argument to ADD_TEST_DIRECTORY() contains a list
  of test cases that should be skipped (ie, not created at all). This is
  extremely dangerous. By bypassing them entirely, there is no way of
  detecting when the bug is fixed. We have already had serious problems
  caused by test removal hiding the introduction of new bugs in the
  past.

  I understand that removing a test that segfaults is necessary on
  Windows in order for the tests to run unattended. However, it should
  never be done on other platforms. So ADD_TEST_DIRECTORY() should
  instead mark the bugs as EXPECTED_FAILURE()s on other platforms. (I
  realize that *currently* all places that pass a list of segfaulting
  tests to ADD_TEST_DIRECTORY() are inside an IF(WIN32), but this is not
  sufficient - ADD_TEST_DIRECTORY() itself must enforce that the tests
  are skipped only on Windows, or else sooner or later someone will
  accidentally do it wrong. There's currently no documentation either,
  making this much more likely.)

  In order to do this, ADD_TEST_DIRECTORY() needs to either accept a
  list of pairs of the form (testname, bug ID), or else accept two
  parallel lists (testnames and bug IDs), so it can pass the bug number
  to EXPECTED_FAILURE().

  A slightly more difficult approach would be to introduce a new
  KNOWN_SEGFAULT() macro that handled this in conjunction with
  ADD_TEST_DIRECTORY(). I'm not totally sure this is a good idea,
  though, because it would (silently) not do anything for tests added by
  any means other than ADD_TEST_DIRECTORY().

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/874679/+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] [Bug 918164] Re: C++ API for JSONiq

2012-04-16 Thread Chris Hillery
I believe all necessary work has been done on the JSONiq branch already:
at least the methods isJSONItem(), getJSONItemKind(), getObjectPairs(),
getArrayMembers(), getObjectValue(), getArrayMember(), getPairName(),
and getPairValue() are exposed on zorba::Item. Some of these methods may
need to be changed/renamed/revisited depending on the final decision
about whether pairs are a first-class type or not.

** Branch linked: lp:~zorba-coders/zorba/jsoniq

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

Title:
  C++ API for JSONiq

Status in Zorba - The XQuery Processor:
  Confirmed

Bug description:
  To at least include punching new store::Item methods through the
  zorba::Item API.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/918164/+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] [Bug 980463] Re: Using type_info::name() wrong

2012-04-16 Thread Paul J. Lucas
** Changed in: zorba
   Status: In Progress = 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/980463

Title:
  Using type_info::name() wrong

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  In class_serializer.h,  the definition of the CHECK_CLASS_NAME macro:

#define CHECK_CLASS_NAME(class_name) \
if (ar.is_serializing_out()  !ar.is_serialize_base_class()) \
{ \
  assert(strstr(typeid(*this).name(), #class_name)); \
}

  The string returned by type_info::name() is implementation-dependent
  and has no guarantees about its content or format. In this case, you
  can not legitimately test to see, for some class type C, if
  typeid(C).name() contains the string literal C.

  However, you can legitimately compare two name() strings for equality.
  The above should be rewritten as:

  assert(::strcmp(typeid(*this).name(), typeid(class_name).name())
  == 0);

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/980463/+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] [Bug 966355] Re: Compiler chooses wrong overload for some Integer operators

2012-04-16 Thread Paul J. Lucas
** Changed in: zorba
   Status: In Progress = 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/966355

Title:
  Compiler chooses wrong overload for some Integer operators

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  For an xs_integer (that is a typedef for Integer), an expression such
  as:

    i - 1

  apparently constructs a Decimal for the 1 and performs an Integer -
  Decimal calculation that returns a Decimal. It shouldn't construct a
  Decimal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/966355/+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] [Bug 983628] [NEW] Latest Integer/Decimal/Float changes break Windows build

2012-04-16 Thread Paul J. Lucas
Public bug reported:

I happen to think the Windows compiler is just plain wrong. The entire
*point* of enable_if is to be able to use it via the C++ SFINAE
technique.  The compiler happily accepts enable_if in other contexts.
Sigh

decimal.cpp
C:\dev\bug867112\src\zorbatypes\decimal.cpp(260) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::Decimal 
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(261) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::Decimal 
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImpl__int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImplunsigned __int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImpl__int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImplunsigned __int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImpl__int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImplunsigned __int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImpl__int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImplunsigned __int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImpl__int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=zorba::IntegerImplunsigned __int64
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(322) : error C2794: 'type' : is not 
a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
with
[
_Test=false,
_Type=bool
]
C:\dev\bug867112\src\zorbatypes\decimal.cpp(323) : error 

[Zorba-coders] [Bug 983628] Re: Latest Integer/Decimal/Float changes break Windows build

2012-04-16 Thread Paul J. Lucas
** Branch linked: lp:~paul-lucas/zorba/bug-983628

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

Title:
  Latest Integer/Decimal/Float changes break Windows build

Status in Zorba - The XQuery Processor:
  New

Bug description:
  I happen to think the Windows compiler is just plain wrong. The entire
  *point* of enable_if is to be able to use it via the C++ SFINAE
  technique.  The compiler happily accepts enable_if in other contexts.
  Sigh

  decimal.cpp
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(260) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::Decimal 
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(261) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::Decimal 
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImpl__int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(295) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImplunsigned __int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImpl__int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(296) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImplunsigned __int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImpl__int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(297) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImplunsigned __int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImpl__int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(298) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImplunsigned __int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImpl__int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(299) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=zorba::IntegerImplunsigned __int64
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=bool
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(320) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=bool
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=bool
  ]
  C:\dev\bug867112\src\zorbatypes\decimal.cpp(321) : error C2794: 'type' : is 
not a member of any direct or indirect base class of 
'std::tr1::enable_if_Test,_Type'
  with
  [
  _Test=false,
  _Type=bool
  ]