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

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

2012-04-19 Thread Zorba Build Bot
Validation queue job bug867112-2012-04-19T06-11-57.54Z is finished. The final 
status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug867112/+merge/102429
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/fix-build-mac into lp:zorba

2012-04-19 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
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/fix-build-mac into lp:zorba

2012-04-19 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/fix-build-mac into lp:zorba has 
been updated.

Status: Needs review = Approved

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

2012-04-19 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/fix-build-mac-2012-04-19T06-45-58.526Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
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/temp-csx-schema into lp:zorba

2012-04-19 Thread Matthias Brantner
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/temp-csx-schema/+merge/96035
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 979147] Re: test/rbkt/zorba/index/numbers fails in Release mode

2012-04-19 Thread Matthias Brantner
** Changed in: zorba
 Assignee: (unassigned) = Matthias Brantner (matthias-brantner)

** Changed in: zorba
Milestone: None = 2.5

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

Title:
  test/rbkt/zorba/index/numbers fails in Release mode

Status in Zorba - The XQuery Processor:
  New

Bug description:
  It works in Debug mode (Linux 32 bit)

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

2012-04-19 Thread Chris Hillery
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/temp-csx-schema/+merge/96035
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/fix-build-mac into lp:zorba

2012-04-19 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/fix-build-mac/+merge/102637
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/fix-build-mac into lp:zorba

2012-04-19 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/fix-build-mac into lp:zorba has 
been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
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/xquery-30-upon-ddl-import into lp:zorba

2012-04-19 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/xquery-30-upon-ddl-import-2012-04-19T07-19-56.151Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/xquery-30-upon-ddl-import/+merge/97827
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/xquery-30-upon-ddl-import into lp:zorba

2012-04-19 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/xquery-30-upon-ddl-import into 
lp:zorba has been updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/xquery-30-upon-ddl-import/+merge/97827
-- 
https://code.launchpad.net/~zorba-coders/zorba/xquery-30-upon-ddl-import/+merge/97827
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-plan_serialization into lp:~zorba-coders/zorba/jsoniq

2012-04-19 Thread Matthias Brantner
The proposal to merge lp:~zorba-coders/zorba/jsoniq-plan_serialization into 
lp:~zorba-coders/zorba/jsoniq has been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq-plan_serialization/+merge/102275
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq-plan_serialization/+merge/102275
Your team Zorba Coders is subscribed to branch lp:~zorba-coders/zorba/jsoniq.

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

2012-04-19 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/jsoniq-plan_serialization-2012-04-19T08-56-09.968Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq-plan_serialization/+merge/102275
Your team Zorba Coders is subscribed to branch lp:~zorba-coders/zorba/jsoniq.

-- 
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 979147] Re: test/rbkt/zorba/index/numbers fails in Release mode

2012-04-19 Thread Matthias Brantner
It works in release mode on 64bit machine.

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

Title:
  test/rbkt/zorba/index/numbers fails in Release mode

Status in Zorba - The XQuery Processor:
  New

Bug description:
  It works in Debug mode (Linux 32 bit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/979147/+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/jsoniq-plan_serialization into lp:~zorba-coders/zorba/jsoniq

2012-04-19 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/jsoniq-plan_serialization into 
lp:~zorba-coders/zorba/jsoniq 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 jsoniq-plan_serialization-2012-04-19T08-56-09.968Z is
  finished.  The final status was:

  

  122 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/jsoniq-plan_serialization/+merge/102275
Your team Zorba Coders is subscribed to branch lp:~zorba-coders/zorba/jsoniq.

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

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

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/jsoniq-plan_serialization/+merge/102275
-- 
https://code.launchpad.net/~zorba-coders/zorba/jsoniq-plan_serialization/+merge/102275
Your team Zorba Coders is subscribed to branch lp:~zorba-coders/zorba/jsoniq.

-- 
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 979147] Re: test/rbkt/zorba/index/numbers fails in Release mode

2012-04-19 Thread Matthias Brantner
** Changed in: zorba
 Assignee: Matthias Brantner (matthias-brantner) = Markos Zaharioudakis 
(markos-za)

** Changed in: zorba
   Importance: Undecided = Medium

** Changed in: zorba
Milestone: 2.5 = None

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

Title:
  test/rbkt/zorba/index/numbers fails in Release mode

Status in Zorba - The XQuery Processor:
  New

Bug description:
  It works in Debug mode (Linux 32 bit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/979147/+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 906481] Re: empty elements xhtml serialization

2012-04-19 Thread Matthias Brantner
** Changed in: zorba
Milestone: None = 2.5

** Changed in: zorba
   Importance: Undecided = Medium

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

Title:
  empty elements  xhtml serialization

Status in Zorba - The XQuery Processor:
  New

Bug description:
  According to http://www.w3.org/TR/xhtml1/guidelines.html#C_2, the
  xhtml serialization should output empty tags including a space before
  the trailing / and the .

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

2012-04-19 Thread Paul J. Lucas
Did you actually try this on a Mac?  The preprocessor symbol is __APPLE__ and 
not APPLE.
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
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-951016 into lp:zorba

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

Status: Needs review = Approved

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

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


-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
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-951016 into lp:zorba

2012-04-19 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-951016-2012-04-19T14-05-59.25Z/log.html
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-951016/+merge/102557
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/fix-build-mac into lp:zorba

2012-04-19 Thread Paul J. Lucas
The proposal to merge lp:~zorba-coders/zorba/fix-build-mac into lp:zorba has 
been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
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-951016 into lp:zorba

2012-04-19 Thread Zorba Build Bot
The attempt to merge lp:~paul-lucas/zorba/bug-951016 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 bug-951016-2012-04-19T14-05-59.25Z 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/~paul-lucas/zorba/bug-951016/+merge/102557
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-951016 into lp:zorba

2012-04-19 Thread Zorba Build Bot
The proposal to merge lp:~paul-lucas/zorba/bug-951016 into lp:zorba has been 
updated.

Status: Approved = Needs review

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

2012-04-19 Thread Paul J. Lucas
The proposal to merge lp:~paul-lucas/zorba/bug-951016 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-19 Thread Paul J. Lucas
Paul J. Lucas has proposed merging lp:~paul-lucas/zorba/bug-951016 into 
lp:zorba.

Requested reviews:
  Paul J. Lucas (paul-lucas)
  Matthias Brantner (matthias-brantner)
Related bugs:
  Bug #951016 in Zorba: integer comparison warning in integer.h
  https://bugs.launchpad.net/zorba/+bug/951016

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/bug-951016/+merge/102707

Added functions to get rid of warnings.
Added is_xs_TT() functions to Integer.
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-951016/+merge/102707
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/util/stl_util.h'
--- src/util/stl_util.h	2012-04-16 20:56:43 +
+++ src/util/stl_util.h	2012-04-19 14:22:23 +
@@ -21,6 +21,7 @@
 #include cassert
 #include cstring
 #include iterator
+#include limits
 #include set
 #include stack
 
@@ -292,6 +293,80 @@
 
 ///
 
+//
+// These functions are used to test whether a value of numeric type N1 is
+// within the range of another numeric type N2.  It correctly handles the
+// cases where the signed-ness of N1 and N2 differ such that the code is
+// warning-free.
+//
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_signedN1::value
+  ZORBA_TR1_NS::is_signedN2::value,bool::type
+ge_min( N1 n1, N2 ) {
+  return n1 = std::numeric_limitsN2::min();
+}
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_signedN1::value
+  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+ge_min( N1 n1, N2 ) {
+  return n1 = 0;
+}
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
+  ZORBA_TR1_NS::is_signedN2::value,bool::type
+ge_min( N1, N2 ) {
+  return true;
+}
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
+  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+ge_min( N1, N2 ) {
+  return true;
+}
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_signedN1::value
+  ZORBA_TR1_NS::is_signedN2::value,bool::type
+le_max( N1 n1, N2 ) {
+  return n1 = std::numeric_limitsN2::max();
+}
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_signedN1::value
+  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+le_max( N1 n1, N2 ) {
+  return n1 = 0 || static_castN2( n1 ) = std::numeric_limitsN2::max();
+}
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
+  ZORBA_TR1_NS::is_signedN2::value,bool::type
+le_max( N1 n1, N2 ) {
+  return n1 = static_castN1( std::numeric_limitsN2::max() );
+}
+
+templatetypename N1,typename N2 inline
+typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
+  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+le_max( N1 n1, N2 ) {
+  return n1 = std::numeric_limitsN2::max();
+}
+
+#define ZORBA_GE_MIN(N,T) \
+  ::zorba::ztd::ge_min( N, static_castT(0) )
+
+#define ZORBA_LE_MAX(N,T) \
+  ::zorba::ztd::le_max( N, static_castT(0) )
+
+#define ZORBA_IN_RANGE(N,T) \
+  ( ZORBA_GE_MIN(N,T)  ZORBA_LE_MAX(N,T) )
+
+///
+
 templatetypename T class stack_generator {
   std::stackT stk;
 public:

=== modified file 'src/zorbatypes/decimal.h'
--- src/zorbatypes/decimal.h	2012-04-17 16:07:10 +
+++ src/zorbatypes/decimal.h	2012-04-19 14:22:23 +
@@ -200,7 +200,9 @@
 
   // miscellaneous 
 
-  bool is_integer() const;
+  bool is_xs_int() const;
+  bool is_xs_integer() const;
+  bool is_xs_long() const;
 
   uint32_t hash() const;
 
@@ -227,8 +229,6 @@
 
   static uint32_t hash( value_type const );
 
-  bool is_xs_long() const;
-
   enum parse_options {
 parse_integer,
 parse_decimal
@@ -387,13 +387,18 @@
   return hash( value_ );
 }
 
-inline bool Decimal::is_integer() const {
+inline bool Decimal::is_xs_int() const {
+  return value_.is_integer() 
+ value_ = MAPM::getMinInt32()  value_ = MAPM::getMaxInt32();
+}
+
+inline bool Decimal::is_xs_integer() const {
   return value_.is_integer() != 0;
 }
 
 inline bool Decimal::is_xs_long() const {
   return value_.is_integer() 
- value_  MAPM::getMinInt64()  value_  MAPM::getMaxInt64();
+ value_ = MAPM::getMinInt64()  value_ = MAPM::getMaxInt64();
 }
 
 inline int Decimal::sign() const {

=== modified file 'src/zorbatypes/integer.cpp'
--- src/zorbatypes/integer.cpp	2012-04-17 16:07:10 +
+++ src/zorbatypes/integer.cpp	2012-04-19 14:22:23 +
@@ -259,7 +259,7 @@
 
 TEMPLATE_DECL(T)
 bool operator==( INTEGER_IMPL(T) const i, Decimal const d ) {
-  return d.is_integer()  i.itod() == d.value_;
+  return d.is_xs_integer()  i.itod() == d.value_;
 }
 
 

[Zorba-coders] [Merge] lp:~paul-lucas/zorba/bug-951016 into lp:zorba

2012-04-19 Thread Paul J. Lucas
The proposal to merge lp:~paul-lucas/zorba/bug-951016 into lp:zorba has been 
updated.

Commit Message changed to:

Added functions to get rid of warnings.
Added is_xs_TT() functions to Integer.

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

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


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

2012-04-19 Thread Paul J. Lucas
The proposal to merge lp:~paul-lucas/zorba/bug-951016 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-19 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-951016-2012-04-19T14-44-58.911Z/log.html
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-951016/+merge/102707
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/fix-build-mac into lp:zorba

2012-04-19 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/fix-build-mac into lp:zorba has 
been updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
-- 
https://code.launchpad.net/~zorba-coders/zorba/fix-build-mac/+merge/102637
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-951016 into lp:zorba

2012-04-19 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/~paul-lucas/zorba/bug-951016/+merge/102707
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-951016 into lp:zorba

2012-04-19 Thread Zorba Build Bot
The proposal to merge lp:~paul-lucas/zorba/bug-951016 into lp:zorba has been 
updated.

Status: Approved = Needs review

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

2012-04-19 Thread Chris Hillery
The proposal to merge lp:~paul-lucas/zorba/bug-946986 into lp:zorba has been 
updated.

Status: Needs review = Approved

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

2012-04-19 Thread Matthias Brantner
Review: Approve


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

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

Status: Needs review = Approved

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

2012-04-19 Thread Zorba Build Bot
Validation queue job bug-946986-2012-04-19T15-42-59.631Z is finished. The final 
status was:

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

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

Status: Approved = Merged

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

2012-04-19 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-951016-2012-04-19T16-15-57.634Z/log.html
-- 
https://code.launchpad.net/~paul-lucas/zorba/bug-951016/+merge/102707
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/php-fix-build into lp:zorba

2012-04-19 Thread William Candillon
William Candillon has proposed merging lp:~zorba-coders/zorba/php-fix-build 
into lp:zorba.

Requested reviews:
  William Candillon (wcandillon)
  Paul J. Lucas (paul-lucas)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722

Fix the mac build with the PHP binding
-- 
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'cmake_modules/FindPHP5.cmake'
--- cmake_modules/FindPHP5.cmake	2012-04-16 20:56:43 +
+++ cmake_modules/FindPHP5.cmake	2012-04-19 16:41:21 +
@@ -102,6 +102,8 @@
 __object_init
 __zend_hash_add_or_update
 _php_strtolower
+_executor_globals
+_call_user_function 
 )
 SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS
   ${CMAKE_SHARED_MODULE_CREATE_C_FLAGS},-U,${symbol})

-- 
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/php-fix-build into lp:zorba

2012-04-19 Thread William Candillon
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
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-951016 into lp:zorba

2012-04-19 Thread Zorba Build Bot
Validation queue job bug-951016-2012-04-19T16-15-57.634Z is finished. The final 
status was:

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

2012-04-19 Thread William Candillon
The proposal to merge lp:~zorba-coders/zorba/php-fix-build into lp:zorba has 
been updated.

Commit Message changed to:

Fix the mac build with the PHP binding

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

2012-04-19 Thread William Candillon
The proposal to merge lp:~zorba-coders/zorba/php-fix-build into lp:zorba has 
been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
-- 
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
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-951016 into lp:zorba

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

Status: Approved = Merged

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

2012-04-19 Thread Zorba Build Bot
No approved revision specified.
-- 
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
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/php-fix-build into lp:zorba

2012-04-19 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/php-fix-build into lp:zorba has 
been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
-- 
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
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 867112] Re: Diagnostic Handler not working in API Bindings

2012-04-19 Thread Rodolfo Ochoa
** 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/867112

Title:
  Diagnostic Handler not working in API Bindings

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  When I run this code in python the diagnostic handler method is never
  called.

  class MyDiagnosticHandler(zorba_api.DiagnosticHandler): 
def error(self, *args):
  print Error args: , args

  def test(zorba, diagnosticHandler):
try:
  xquery = zorba.compileQuery(1 div 0, diagnosticHandler)
  print xquery.execute()
except Exception, e:
  print Cought error: , e
return

  
  store = zorba_api.InMemoryStore_getInstance()
  zorba = zorba_api.Zorba_getInstance(store)
  diagnosticHandler = MyDiagnosticHandler()

  print Running: Compile query string using Diagnostic Handler
  test(zorba, diagnosticHandler)
  print Success

  
  zorba.shutdown()
  zorba_api.InMemoryStore_shutdown(store)

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

2012-04-19 Thread Paul J. Lucas
The proposal to merge lp:~zorba-coders/zorba/php-fix-build into lp:zorba has 
been updated.

Status: Needs review = Approved

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

2012-04-19 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/php-fix-build-2012-04-19T17-01-05.802Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
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 951016] Re: integer comparison warning in integer.h

2012-04-19 Thread Paul J. Lucas
** Changed in: zorba
   Status: In Progress = Fix Committed

** Changed in: zorba
Milestone: None = 2.5

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

Title:
  integer comparison warning in integer.h

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  In file included from 
/home/mbrantner/zorba/sandbox/src/zorbatypes/integer.cpp:25:0:
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h: In member function 
‘bool zorba::IntegerImplT::is_long() const [with IntType = long long unsigned 
int]’:
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.cpp:300:16:   
instantiated from here
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h:570:52: warning: 
comparison between signed and unsigned integer expressions
  /home/mbrantner/zorba/sandbox/src/zorbatypes/integer.h:570:52: warning: 
comparison between signed and unsigned integer expressions

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

2012-04-19 Thread Zorba Build Bot
Validation queue job php-fix-build-2012-04-19T17-01-05.802Z is finished. The 
final status was:

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

2012-04-19 Thread noreply
The proposal to merge lp:~zorba-coders/zorba/php-fix-build into lp:zorba has 
been updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
-- 
https://code.launchpad.net/~zorba-coders/zorba/php-fix-build/+merge/102722
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/serializer into lp:zorba

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

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/102747
-- 
https://code.launchpad.net/~zorba-coders/zorba/serializer/+merge/102747
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-19 Thread Zorba Build Bot
Validation queue job bug928987-2012-04-19T22-35-58.124Z is finished. The final 
status was:

All tests succeeded!
-- 
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/bug925143 into lp:zorba

2012-04-19 Thread Rodolfo Ochoa
The proposal to merge lp:~zorba-coders/zorba/bug925143 into lp:zorba has been 
updated.

Commit Message changed to:

Collection Manager and Document Manager is ready on XQJ API.

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug925143/+merge/102791
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 925143] Re: CollectionManager in SWIG apis

2012-04-19 Thread Rodolfo Ochoa
** Branch linked: lp:~zorba-coders/zorba/bug925143

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

Title:
  CollectionManager in SWIG apis

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  Stijn Tonk stijnt...@hotmail.com has made the feature request to
  provide the CollectionManager API in the swig bindings. Currently, we
  only expose the DocumentManager.

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

2012-04-19 Thread Rodolfo Ochoa
Rodolfo Ochoa has proposed merging lp:~zorba-coders/zorba/bug986016 into 
lp:zorba.

Requested reviews:
  Cezar Andrei (cezar-andrei)
  Matthias Brantner (matthias-brantner)
Related bugs:
  Bug #986016 in Zorba: Windows trunk not compiling
  https://bugs.launchpad.net/zorba/+bug/986016

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug986016/+merge/102792

Workaround Windows compiler error
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug986016/+merge/102792
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/util/stl_util.h'
--- src/util/stl_util.h	2012-04-19 21:40:27 +
+++ src/util/stl_util.h	2012-04-20 05:20:24 +
@@ -309,21 +309,21 @@
 
 templatetypename N1,typename N2 inline
 typename std::enable_ifZORBA_TR1_NS::is_signedN1::value
-  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+  !!ZORBA_TR1_NS::is_unsignedN2::value,bool::type
 ge_min( N1 n1, N2 ) {
   return n1 = 0;
 }
 
 templatetypename N1,typename N2 inline
-typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
+typename std::enable_if!!ZORBA_TR1_NS::is_unsignedN1::value
   ZORBA_TR1_NS::is_signedN2::value,bool::type
 ge_min( N1, N2 ) {
   return true;
 }
 
 templatetypename N1,typename N2 inline
-typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
-  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+typename std::enable_if!!ZORBA_TR1_NS::is_unsignedN1::value
+  !!ZORBA_TR1_NS::is_unsignedN2::value,bool::type
 ge_min( N1, N2 ) {
   return true;
 }
@@ -337,21 +337,21 @@
 
 templatetypename N1,typename N2 inline
 typename std::enable_ifZORBA_TR1_NS::is_signedN1::value
-  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+  !!ZORBA_TR1_NS::is_unsignedN2::value,bool::type
 le_max( N1 n1, N2 ) {
   return n1 = 0 || static_castN2( n1 ) = std::numeric_limitsN2::max();
 }
 
 templatetypename N1,typename N2 inline
-typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
+typename std::enable_if!!ZORBA_TR1_NS::is_unsignedN1::value
   ZORBA_TR1_NS::is_signedN2::value,bool::type
 le_max( N1 n1, N2 ) {
   return n1 = static_castN1( std::numeric_limitsN2::max() );
 }
 
 templatetypename N1,typename N2 inline
-typename std::enable_ifZORBA_TR1_NS::is_unsignedN1::value
-  ZORBA_TR1_NS::is_unsignedN2::value,bool::type
+typename std::enable_if!!ZORBA_TR1_NS::is_unsignedN1::value
+  !!ZORBA_TR1_NS::is_unsignedN2::value,bool::type
 le_max( N1 n1, N2 ) {
   return n1 = std::numeric_limitsN2::max();
 }

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

2012-04-19 Thread Rodolfo Ochoa
The proposal to merge lp:~zorba-coders/zorba/bug986016 into lp:zorba has been 
updated.

Commit Message changed to:

Workaround Windows compiler error

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug986016/+merge/102792
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug986016/+merge/102792
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 986016] [NEW] Windows trunk not compiling

2012-04-19 Thread Rodolfo Ochoa
Public bug reported:

There is a bug on windows that gives the following error:

1c:\dev\bug928987\src\util\stl_util.h(315): error C2995: 
'std::enable_ifstd::tr1::is_signed_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::ge_min(N1,N2)' : function template has already been defined
1  c:\dev\bug928987\src\util\stl_util.h(306) : see declaration of 
'zorba::ztd::ge_min'
1c:\dev\bug928987\src\util\stl_util.h(329): error C2995: 
'std::enable_ifstd::tr1::is_unsigned_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::ge_min(N1,N2)' : function template has already been defined
1  c:\dev\bug928987\src\util\stl_util.h(320) : see declaration of 
'zorba::ztd::ge_min'
1c:\dev\bug928987\src\util\stl_util.h(343): error C2995: 
'std::enable_ifstd::tr1::is_signed_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::le_max(N1,N2)' : function template has already been defined
1  c:\dev\bug928987\src\util\stl_util.h(334) : see declaration of 
'zorba::ztd::le_max'
1c:\dev\bug928987\src\util\stl_util.h(357): error C2995: 
'std::enable_ifstd::tr1::is_unsigned_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::le_max(N1,N2)' : function template has already been defined
1  c:\dev\bug928987\src\util\stl_util.h(348) : see declaration of 
'zorba::ztd::le_max'

** Affects: zorba
 Importance: Undecided
 Status: New

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

Title:
  Windows trunk not compiling

Status in Zorba - The XQuery Processor:
  New

Bug description:
  There is a bug on windows that gives the following error:

  1c:\dev\bug928987\src\util\stl_util.h(315): error C2995: 
'std::enable_ifstd::tr1::is_signed_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::ge_min(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(306) : see declaration of 
'zorba::ztd::ge_min'
  1c:\dev\bug928987\src\util\stl_util.h(329): error C2995: 
'std::enable_ifstd::tr1::is_unsigned_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::ge_min(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(320) : see declaration of 
'zorba::ztd::ge_min'
  1c:\dev\bug928987\src\util\stl_util.h(343): error C2995: 
'std::enable_ifstd::tr1::is_signed_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::le_max(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(334) : see declaration of 
'zorba::ztd::le_max'
  1c:\dev\bug928987\src\util\stl_util.h(357): error C2995: 
'std::enable_ifstd::tr1::is_unsigned_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::le_max(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(348) : see declaration of 
'zorba::ztd::le_max'

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/986016/+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 986016] Re: Windows trunk not compiling

2012-04-19 Thread Rodolfo Ochoa
The error is described here:
http://stackoverflow.com/questions/9285657/sfinae-differentiation-between-signed-and-unsigned

seems that is an error in the compiler, so the solution is a workaround
until the compiler is fixed.

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

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

Title:
  Windows trunk not compiling

Status in Zorba - The XQuery Processor:
  New

Bug description:
  There is a bug on windows that gives the following error:

  1c:\dev\bug928987\src\util\stl_util.h(315): error C2995: 
'std::enable_ifstd::tr1::is_signed_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::ge_min(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(306) : see declaration of 
'zorba::ztd::ge_min'
  1c:\dev\bug928987\src\util\stl_util.h(329): error C2995: 
'std::enable_ifstd::tr1::is_unsigned_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::ge_min(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(320) : see declaration of 
'zorba::ztd::ge_min'
  1c:\dev\bug928987\src\util\stl_util.h(343): error C2995: 
'std::enable_ifstd::tr1::is_signed_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::le_max(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(334) : see declaration of 
'zorba::ztd::le_max'
  1c:\dev\bug928987\src\util\stl_util.h(357): error C2995: 
'std::enable_ifstd::tr1::is_unsigned_Ty::valuestd::tr1::is_signedN2::value,bool::type
 zorba::ztd::le_max(N1,N2)' : function template has already been defined
  1  c:\dev\bug928987\src\util\stl_util.h(348) : see declaration of 
'zorba::ztd::le_max'

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