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

2012-06-26 Thread Ghislain Fourny
Hi Markos, Thanks a lot! 2. and 3. should be fixed. About 1: invariant 3 checks that the tree does not contain a type under certain circumstances, so it requires getType() to fail in a gracious manner. The asserts that were in getType() are actually relocated to the element and attribute

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

2012-06-26 Thread Markos Zaharioudakis
Hi Markos, Thanks a lot! 2. and 3. should be fixed. About 2, the problem is still there, because setTree now calls getNodeKind(), which is also a virtual method. But this is a more general problem; basically, we need a non-virtual getNodeKindInternal() method to be used everywhere

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

2012-06-26 Thread Markos Zaharioudakis
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 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 :

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

2012-06-22 Thread Markos Zaharioudakis
Review: Needs Fixing -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 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 :

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

2012-06-22 Thread Markos Zaharioudakis
1. Why are the asserts in XmlTree::getType() converted to ifs? Did th asserts actually trigger ever? 2. The setTree() methods has been made virtual. This si not good, because the method is used rather often. 3. The 6 lines: #ifndef EMBEDED_TYPE #ifndef NDEBUG ATTRIBUTE_ELEMENT_INVARIANT1;

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

2012-06-20 Thread Matthias Brantner
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 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 :

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

2012-06-18 Thread Ghislain Fourny
I think that the existing code could lead the tree structure (attribute/element types) to an inconsistent state that led to windows crashes. As far as I can remember, it was originally because of QName comparison using == instead of equals. This merge proposal (i) brings more encapsulation to

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

2012-06-18 Thread Ghislain Fourny
I think that this bug was marked as Fix Released because it was raised against Sausalito, and this code is already in Sausalito. -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list:

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

2012-06-15 Thread Dennis Knochenwefel
Review: Approve looks good to me. -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 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 :

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

2012-06-15 Thread Matthias Brantner
Review: Needs Information The bug has already been marked as Fix Released. Which problem does this commit fix? -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list:

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

2012-06-15 Thread Dennis Knochenwefel
Ghislain and I did some cleanup. And I think this was a problem that appeared only on windows. I don't know if we ever added a bug report for it. Ghislain, do you remember more than I do? -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 Your team Zorba Coders is

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

2012-05-30 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve 1, Disapprove 1, Needs Fixing 1, Pending 1. Got: 3 Pending. -- https://code.launchpad.net/~zorba-coders/zorba/bug-971782/+merge/100788 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list:

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

2012-04-04 Thread Zorba Build Bot
The attempt to merge lp:~zorba-coders/zorba/bug-971782 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-971782-2012-04-04T15-36-09.028Z is finished. The final