[Zorba-coders] [Bug 854506] [NEW] type errors cause ugly error msgs

2011-09-20 Thread David Graf
Public bug reported: A query like this declare function local:foo() as empty-sequence() { }; local:foo(); causes the following error msg because of a type error: :3,3: type error [err:XPTY0004]: Cannot treat [NodeXQType elementNode nametest=[uri: , local: foo] content=[XQType ANY_TYPE

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

2011-10-02 Thread David Graf
David Graf has proposed merging lp:~davidagraf/zorba/allow_c_files into lp:zorba. Requested reviews: Chris Hillery (ceej-launchpad) For more details, see: https://code.launchpad.net/~davidagraf/zorba/allow_c_files/+merge/77816 This change allows the usage of c files in external modules

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

2011-10-02 Thread David Graf
The proposal to merge lp:~davidagraf/zorba/allow_c_files into lp:zorba has been updated. Status: Needs review => Approved For more details, see: https://code.launchpad.net/~davidagraf/zorba/allow_c_files/+merge/77816 -- https://code.launchpad.net/~davidagraf/zorba/allow_c_files/+merge/77816

[Zorba-coders] [Bug 872850] [NEW] Serialization of Tumbling Window For fails

2011-10-12 Thread David Graf
Public bug reported: Hello The serialization of a tumbling window for is broken. The assertion at src/zorbaserialization/class_serializer.h:399 doesn't pass. The problem can be reproduced by extending the plan_serialization unit test with the following diff: === modified file 'test/unit/guestbo

Re: [Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba

2011-10-13 Thread David Graf
Hello Daniel Thanks for fixing the issue that fast. Unfortunately, I didn't approve the patch because of two comments I have: 1) Does the fix in src/compiler/expression/expr.cpp belongs do the tumbling window for fix or is this something else? If yes, we need an extra test for this. Or even bett

Re: [Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba

2011-10-17 Thread David Graf
Hey Daniel Ok. Can you just additionally add the test from the diff from my bug report? -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79162 Your team Zorba Coders is requested to review the proposed merge of lp:~danielturcanu/zorba/plan-serializer into lp:zorba. --

[Zorba-coders] [Bug 867107] Re: xqdoc dependency to zorba is wrong

2011-10-17 Thread David Graf
Yes, it is still a problem. It is very easy to reproduce: 1) make 2) rm bin/zorba 3 make xqdoc => make xqdoc [100%] Built target zorba_simplestore Scanning dependencies of target xqdoc-xml [100%] Building XQDoc XML documentation ... /bin/sh: bin/zorba: not found make[3]: *** [CMakeFiles/xqdoc-xml

Re: [Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba

2011-10-18 Thread David Graf
Review: Approve -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79162 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/~zorb

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

2011-11-11 Thread David Graf
Review: Approve The fix works on my machine! -- https://code.launchpad.net/~zorba-coders/zorba/bug_867107/+merge/81956 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

Re: [Zorba-coders] [Merge] lp:~danielturcanu/zorba/plan-serializer into lp:zorba

2011-11-16 Thread David Graf
Review: Approve -- https://code.launchpad.net/~danielturcanu/zorba/plan-serializer/+merge/79528 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/~zorb

[Zorba-coders] [Bug 898093] [NEW] Print Source Code of Current Line in Debugger Client

2011-11-30 Thread David Graf
Public bug reported: In gdb, the source code of the current line number is printed when the debugger breaks somewhere, e.g.: (gdb) r Starting program: /home/dagraf/test/test Breakpoint 1, main () at test.cpp:8 8 lSet.insert("david"); (gdb) n 9 lSet.insert("graf"); (gdb) n 10

[Zorba-coders] [Bug 900688] [NEW] cyclic dependency of declared variables not detected correctly

2011-12-06 Thread David Graf
Public bug reported: In XQuery 3.0, it is possible to make forward references to global variables, like in: declare variable $x := 3 + $b; declare variable $b := 4; $x Such forward references can cause circular dependencies like in: declare variable $x := 3 + $b; declare variable $b := $x; $x

[Zorba-coders] [Bug 898093] Re: Debugger: print source code of current line in debugger client

2011-12-07 Thread David Graf
That's already a big improvement. But actually, I meant something more. I would like to have the code printed. Not just the file and line number. As in the example above. Thus, this bug is not done yet ... ** Changed in: zorba Status: Fix Committed => Incomplete -- You received this bug

[Zorba-coders] [Bug 901160] [NEW] Debugger: gdb way of adding breakpoints

2011-12-07 Thread David Graf
Public bug reported: Setting breakpoints in zorba debugger client works very well already. But the way the breakpoints need to be set is a little bit circuitous. Would it be possible to do it the gdb way? For example setting breakpoints in the current file: (gdb) b 9 Breakpoint 2 at 0x400a2b: fil

[Zorba-coders] [Bug 901173] [NEW] Debugger: Interactive Console Input

2011-12-07 Thread David Graf
Public bug reported: Currently, the cmd debugger input is not interactive. E.g. there is no possibility to get used commands by clicking the up key, code completion doesn't work, and it is even not possible to move the cursor with the left and right arrow to correct a typo in between. Information

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

2011-12-08 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/fots30 into lp:zorba. Requested reviews: Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fots30/+merge/84904 I added the proposed w3c tests for the 'default value for ext

Re: [Zorba-coders] [Bug 901173] Re: Debugger: Interactive Console Input

2011-12-14 Thread David Graf
Gabriel, should I create a ppa package for editline? On Tue, Dec 13, 2011 at 11:26 PM, Gabriel Petrovay < 901...@bugs.launchpad.net> wrote: > A basic version should be fixed in r10590. > > ** Changed in: zorba > Status: New => Fix Committed > > ** Changed in: zorba >Milestone: None => 2

[Zorba-coders] [Bug 904656] [NEW] Debugger: history in debugger client

2011-12-15 Thread David Graf
Public bug reported: Would be nice do be able to scroll through the preceding commands by clicking 'arrow up' and 'arrow down'. As in gdb. ** Affects: zorba Importance: Wishlist Assignee: Gabriel Petrovay (gabipetrovay) Status: New -- You received this bug notification becaus

[Zorba-coders] [Bug 904657] [NEW] Debugger: run command is confusion - Replace with alias?

2011-12-15 Thread David Graf
Public bug reported: I think the 'run' command is quite confusion. Especially for gdb users because they think run does a restart. I understand, the behavior of 'run' cannot be changed because it is a defined in the standard. Maybe, it would be helpful to do an alias from continue to run and hide

[Zorba-coders] [Bug 905392] [NEW] CMake: Too long cmake commands on Windows

2011-12-16 Thread David Graf
Public bug reported: Because the build directory of my zorba configuration is kind of deep in file system tree, I am getting troubles because the zorba specific cmd commands that are executed by Zorba are getting too long. I am getting the problem when cmake executes the script function-enum.xq. T

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

2011-12-20 Thread David Graf
Review: Approve I reviewed CMakeConfiguration.txt, bin/CMakeLists.txt, bin/debugger/config.h.cmake. Looks good to me. I was only thinking if it would be a good idea to remove the option ZORBA_WITH_DEBUGGER_CLIENT (generating the debugger client if debugging is switched on). The less options to

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

2011-12-24 Thread David Graf
Review: Approve Looks good! -- https://code.launchpad.net/~zorba-coders/zorba/debugger_enhancements/+merge/86801 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://lau

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

2012-01-09 Thread David Graf
Review: Approve It works. Cool! -- https://code.launchpad.net/~zorba-coders/zorba/debugger_client_extras/+merge/87817 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:

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

2012-01-11 Thread David Graf
Review: Approve It works. But during testing this feature, I managed to produce an Assertion that has nothing to do with this change. I file a bug for it. -- https://code.launchpad.net/~zorba-coders/zorba/debugger_stop_command/+merge/88107 Your team Zorba Coders is subscribed to branch lp:zorba.

[Zorba-coders] [Bug 914655] [NEW] XQDB: Assertion `str.size() == length' failed.

2012-01-11 Thread David Graf
Public bug reported: 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

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

2012-01-17 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/phpapi/+merge/88853 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 M

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

2012-01-18 Thread David Graf
Review: Needs Fixing I tested it. Works really nice. I just have some little comments concerning the code: 1) Do we already have a bug entry for this: 336 // TODO: this was the initial implementation. This will have to change 337 -this->sleep_(1000); 338 +this->sleep_(2

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

2012-01-18 Thread David Graf
Review: Approve Locks good! -- https://code.launchpad.net/~zorba-coders/zorba/debugger_ctrl_c/+merge/89014 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

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/email_sausalito_fixes_r2651_and_r2676 into lp:zorba/email-module

2012-01-24 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/email_sausalito_fixes_r2651_and_r2676/+merge/88236 Your team Zorba Coders is subscribed to branch lp:zorba/email-module. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubsc

[Zorba-coders] [Bug 922504] [NEW] Endless Loop in Ordpath generation - Assertion?

2012-01-27 Thread David Graf
Public bug reported: A customer form 28msec was able to produce an endless loop in OrdPath::getLocalBitLength. Basically, the variable lastByte was set to 0 in line 360 -> the while loop never stops. Unfortunately, I was not able to figure out under which circumstances this behavior happens. But

[Zorba-coders] [Bug 900688] Re: cyclic dependency of declared variables not detected correctly

2012-01-30 Thread David Graf
** Description changed: - In XQuery 3.0, it is possible to make forward references to global - variables, like in: + According to the XQuery 3.0 spec, forward references of variables should + work. Thus, queries like this should work: - declare variable $x := 3 + $b; - declare variable $b := 4;

[Zorba-coders] [Bug 900688] Re: cyclic dependency of declared variables not detected correctly

2012-01-30 Thread David Graf
** Description changed: - According to the XQuery 3.0 spec, forward references of variables should + According to the XQuery 3.0 spec (sentence 'The static context for an + initializing expression includes all functions, variables, and + namespaces that are declared or imported anywhere in the Pro

[Zorba-coders] [Bug 923672] [NEW] Impossible to set context-item for rbkt test (externall)

2012-01-30 Thread David Graf
Public bug reported: Currently, there is no way to set the context item before executing an rbkt test. Therefore, many tests of the w3c testsuite are rewritten and the context item passed via the variable input-context1, e.g. SchemaValidation/ValidateExpression/validateexpr-17. ** Affects: zorba

[Zorba-coders] [Bug 923686] [NEW] If context item is set, context position and context size need to be set

2012-01-30 Thread David Graf
Public bug reported: According to http://www.w3.org/TR/xquery-30/#id-xq-evaluation-context- components, context position and context size need to be set if the context item is set. ** Affects: zorba Importance: Undecided Status: New -- You received this bug notification because yo

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

2012-01-30 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/fots30 into lp:zorba. Requested reviews: Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/fots30/+merge/90731 I added the proposed w3c tests for the 'default value for ext

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

2012-01-31 Thread David Graf
The proposal to merge lp:~zorba-coders/zorba/fots30 into lp:zorba has been updated. Commit Message changed to: Added the new external variable value tests that will be added to the w3c testsuite to the zorba rbkt tests. Inclusive the failing once. Added launchpad entries for them and marked th

Re: [Zorba-coders] [Bug 923672] Re: Impossible to set context-item for rbkt test (externall)

2012-01-31 Thread David Graf
An. Sorry then. I didn't double check. But as you said, the feature is really missing. Should we keep this bug entry then? Ps: Are context items set from the external not checked at all by the w3c tests? Crazy! On Tuesday, January 31, 2012, Chris Hillery <923...@bugs.launchpad.net> wrote: > For t

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

2012-02-07 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/fots30/+merge/90731 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 M

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-02-15 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/91657 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-coder

[Zorba-coders] [Bug 932808] [NEW] global vars can be overwritten by local vars (serialization and eval involved)

2012-02-15 Thread David Graf
Public bug reported: working on it. But I need the bug number to create a branch. ** 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/

[Zorba-coders] [Bug 932808] Re: global vars can be overwritten by local vars (serialization and eval involved)

2012-02-15 Thread David Graf
** 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/932808 Title: global vars can be overwritten by local vars (serialization and eval involved)

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-02-27 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/94419 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-coder

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/pul-and-xdm-schemas into lp:zorba

2012-02-27 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/pul-and-xdm-schemas/+merge/94209 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/~z

[Zorba-coders] [Bug 943150] [NEW] Allow Module Development without Zorba Sources

2012-02-29 Thread David Graf
Public bug reported: As far as I see it correctly, module development can currently not be done without checking out zorba sources and compiling it. One reason are the module dependencies E.g. the following dependency in the http-client module works only, if the data converter sources are avail

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-03-05 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/95152 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-coder

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-03-13 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/97251 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-coder

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-03-14 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/97292 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-coder

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-03-16 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/97701 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-coder

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

2012-04-05 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/virtual-destructors/+merge/100979 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/~

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

2012-04-05 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978 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-c

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

2012-04-10 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/ordpathmsgs into lp:zorba. Requested reviews: Markos Zaharioudakis (markos-za) Till Westmann (tillw) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/ordpathmsgs/+merge/101373 Introduced ZORBA_ASSERT_WITH_MSG macro

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

2012-04-11 Thread David Graf
Added fixes to get rid of another two warnings when compiling zorba with clang. -- https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@li

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

2012-04-11 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/clang-friend into lp:zorba. Requested reviews: David Graf (davidagraf) Paul J. Lucas (paul-lucas) Till Westmann (tillw) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518 Added __llvm__

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

2012-04-11 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518 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-c

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

2012-04-11 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/ordpathmsgs into lp:zorba. Requested reviews: Till Westmann (tillw) Markos Zaharioudakis (markos-za) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/ordpathmsgs/+merge/101520 Introduced ZORBA_ASSERT_WITH_MSG macro

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

2012-04-13 Thread David Graf
The proposal to merge lp:~zorba-coders/zorba/ordpathmsgs into lp:zorba has been updated. Commit Message changed to: Bug #980600. Introduced ZORBA_ASSERT_WITH_MSG macro to give additional debugging information in case an assertion fails. Currently used in Ordpath functions. For more details, se

[Zorba-coders] [Bug 980600] [NEW] printing additional info if ordpath generation fails

2012-04-13 Thread David Graf
g the ZORBA_ASSERT macro. We decided to implement the makro ZORBA_ASSERT_WITH_MSG to show an additional message if an assertion is hit. In case of the ordpath generation, we write the involved parent and sibling ordpath into the message. ** Affects: zorba Importance: Critical Assignee:

[Zorba-coders] [Bug 980600] Re: printing additional info if ordpath generation fails

2012-04-13 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/980600 Title: printing additional info if ordpath generation fails Status in Zorb

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

2012-04-13 Thread David Graf
Review: Approve Reviewed the code and tests an example. Looks good! -- https://code.launchpad.net/~zorba-coders/zorba/bug-867253/+merge/101693 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad

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

2012-04-13 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/bug-914655 into lp:zorba. Requested reviews: David Graf (davidagraf) Matthias Brantner (matthias-brantner) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/bug-914655/+merge/101922 Fix for bug #914655. -- https

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

2012-04-13 Thread David Graf
Fix for bug #914655. -- 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-

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

2012-04-13 Thread David Graf
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-cod

[Zorba-coders] [Bug 914655] Re: XQDB: Assertion `str.size() == length' failed.

2012-04-13 Thread David Graf
** Changed in: zorba Status: Confirmed => In Progress ** Changed in: zorba Assignee: Markos Zaharioudakis (markos-za) => David Graf (davidagraf) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba.

[Zorba-coders] [Bug 866725] Re: Warnings in the Runtime

2012-04-13 Thread David Graf
This is the current build output on windows (trunk revision 10758). Need to check if some of the warnings can be fixed easily. ** Changed in: zorba Status: New => In Progress ** Attachment added: "build output on windows" https://bugs.launchpad.net/zorba/+bug/866725/+attachment/3059822

[Zorba-coders] [Bug 981060] [NEW] xqdb uses 'wrong' zorba

2012-04-13 Thread David Graf
retty annoying for development. This is the situation on unix. It could be similar on Windows. ** Affects: zorba Importance: Undecided Assignee: David Graf (davidagraf) Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the regis

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

2012-04-14 Thread David Graf
> Looks good to me. Could the problem be reproduced without debugger? If so, we > should add a test for it. Good point. I found a test to add. -- https://code.launchpad.net/~zorba-coders/zorba/bug-914655/+merge/101922 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: htt

[Zorba-coders] [Bug 981405] [NEW] Zorba error [zerr:ZXQP0002]: "bound": assertion failed.

2012-04-14 Thread David Graf
Public bug reported: Hello I was able to reproduce an assertion during compilation by the usage of try-cache and eval (tested with zorba revision 10761 on Ubuntu 10.04 64Bit). I don't know if Nicolae is the right assignee and if this bug needs to be fixed for Zorba 2.5. Please reassign and/or re

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

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

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

2012-04-18 Thread David Graf
> The changes look ok, but I'm not sure how to test. > I tried to build this branch using clang on MacOS X, but it doesn't build for > me. > What exactly should work now that did not work before? Hello Till Sorry for not answering earlier. The 'defined __llvm__' condition makes Zorba compiling i

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

2012-04-19 Thread David Graf
Ghislain used cmake's xcode generator, yet. But it should also work if you just replace gcc with clang. I did this on linux. -- https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.n

[Zorba-coders] [Bug 986075] [NEW] out of range vector access in plan generator

2012-04-20 Thread David Graf
Public bug reported: Hello Markos We discovered an out-of-range vector access during plan generation on our windows machine. On Windows only, because windows does an out-of- range check in debug mode automatically. To reproduce and detect the problem on linux, you need to apply the following patc

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/fix_typo_email_module into lp:zorba/email-module

2012-04-25 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/fix_typo_email_module/+merge/103374 Your team Zorba Coders is subscribed to branch lp:zorba/email-module. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-04-25 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/103453 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-code

[Zorba-coders] [Bug 989490] [NEW] on ubuntu 12.04, Java and/or JNI not found

2012-04-27 Thread David Graf
Public bug reported: Hey Chris Java and/or JNI is not found on ubuntu 12.04. Therefore, fop doesn't work. I think the paths to java stuff changed on ubuntu 12.04. Maybe, cmake 2.8.8 is handle those changes. cmake 2.8.7 is not. David ** Affects: zorba Importance: Undecided Assignee: Ch

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/parse-fragment into lp:zorba

2012-05-02 Thread David Graf
Review: Approve -- https://code.launchpad.net/~nbrinza/zorba/parse-fragment/+merge/103624 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-code

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

2012-05-03 Thread David Graf
Review: Approve Changes do work on Windows. -- https://code.launchpad.net/~zorba-coders/zorba/bug-992037/+merge/104406 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

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

2012-05-04 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/windows-fix into lp:zorba. Requested reviews: David Graf (davidagraf) Ghislain Fourny (gislenius) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/windows-fix/+merge/104748 fixing windows build -- https

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

2012-05-04 Thread David Graf
Review: Approve -- https://code.launchpad.net/~zorba-coders/zorba/windows-fix/+merge/104748 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-co

[Zorba-coders] [Bug 1002867] Re: resulting base64 in http-client is wrong

2012-05-22 Thread David Graf
** Attachment added: "test.xq" https://bugs.launchpad.net/bugs/1002867/+attachment/3157878/+files/test.xq -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1002867 Title: resulting base64 in htt

[Zorba-coders] [Bug 1002867] [NEW] resulting base64 in http-client is wrong

2012-05-22 Thread David Graf
Public bug reported: I am having a query (see attachment) which imports the same image with the file and the http-client module. Unfortunately, the resulting base64 values are different. The file module works properly. The imported base64 string is correct. But the one coming from the http-client

[Zorba-coders] [Bug 1002867] Re: resulting base64 in http-client is wrong

2012-05-22 Thread David Graf
>> The query imports base64, but it's not used explicitly anywhere. Sorry, my fault. I forgot to remove the unused module. >> How does the query "know" to output in base64? I do not really understand. The results of file:read-binary and http-client:send-request($request)[2] are base64 items. The

[Zorba-coders] [Bug 1002867] Re: resulting base64 in http-client is wrong

2012-05-22 Thread David Graf
The default serialization of zorba is XML (I guess). Therefore, it cannot return binary data. Therefore, it returns the base64 string. I think zorba doesn't have an option to use binary serialization. Right? -- You received this bug notification because you are a member of Zorba Coders, which is

[Zorba-coders] [Bug 1003023] [NEW] Zorba error [zerr:ZXQP0002]: "fvme != freevarMap.end()": assertion failed.

2012-05-22 Thread David Graf
Public bug reported: Hey Markos I am able to produce the assertion 'Zorba error [zerr:ZXQP0002]: "fvme != freevarMap.end()": assertion failed.'. I hope you are the right guy for this. Otherwise, please reassign. How to reproduce: - download attached library module - create a main module file wi

[Zorba-coders] [Bug 1003023] Re: Zorba error [zerr:ZXQP0002]: "fvme != freevarMap.end()": assertion failed.

2012-05-22 Thread David Graf
** Attachment added: "testlib.xq" https://bugs.launchpad.net/bugs/1003023/+attachment/3158256/+files/testlib.xq -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1003023 Title: Zorba error [zerr

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

2012-05-23 Thread David Graf
Review: Approve -- https://code.launchpad.net/~paul-lucas/zorba/bug-1002867/+merge/106855 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-code

Re: [Zorba-coders] [Merge] lp:~nbrinza/zorba/error-messages into lp:zorba

2012-05-30 Thread David Graf
Review: Approve Tested it. Very cool. Something that is unrelated: Is it possible to make those things: +#line 87 "/home/colea/xquery_bzr/error-messages/src/compiler/parser/xquery_parser.y" ... with relative paths? -- https://code.launchpad.net/~nbrinza/zorba/error-messages/+merge/107899 Your

[Zorba-coders] [Merge] lp:~zorba-coders/zorba/email-module-dayofweek-fix into lp:zorba/email-module

2012-06-01 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/email-module-dayofweek-fix into lp:zorba/email-module. Requested reviews: Chris Hillery (ceejatec) Sorin Marian Nasoi (sorin.marian.nasoi) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/email-module-dayofweek-fix

Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/email-module-dayofweek-fix into lp:zorba/email-module

2012-06-01 Thread David Graf
Pushed another two fixes. -- https://code.launchpad.net/~zorba-coders/zorba/email-module-dayofweek-fix/+merge/108335 Your team Zorba Coders is subscribed to branch lp:zorba/email-module. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscri

[Zorba-coders] [Bug 1008504] Re: parse-xml-fragment triggers schema error

2012-06-04 Thread David Graf
** Changed in: zorba Assignee: (unassigned) => David Graf (davidagraf) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1008504 Title: parse-xml-fragment triggers schema error Status

[Zorba-coders] [Bug 1008504] Re: parse-xml-fragment triggers schema error

2012-06-04 Thread David Graf
** Changed in: zorba Assignee: David Graf (davidagraf) => Nicolae Brinza (nbrinza) ** 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.ne

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-12 Thread David Graf
Hello Chris You can close this bug. We don't have this problem anymore. The java modules are working properly on Ubuntu 12.04 since a while. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/989490

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread David Graf
Hello Chris, Unfortunately, telling you to close the bug was a bad idea. This morning, I found an additional issue. When compiling zorba or sausalito on a clean ubuntu 12.04, I get this: -- --- Module: util-jvm--- -- Looking for JNI -- Looking for Java -- Building Zorba without util-jvm mo

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread David Graf
Hey Chris >> (Also - what was the reason you changed JAVA_AWT_INCLUDE_DIRECTORIES to JAVA_AWT_INCLUDE_PATH? That doesn't seem to make sense.) That's a typo. Thanks for telling me. 2) I don't like these changes, although I'm not sure of the alternative. IMHO the existing FindJNI code with all of

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-13 Thread David Graf
Hey Chris After reading your last comments, I decided to bypass the problem differently. Without changing FindJNI.cmake. I generate the JAVA_HOME variable with a bash script and set it before searching the JNI stuff. Here is the code: 1 === modified file 'runtime/zorba_modules/util-jvm/CMa

[Zorba-coders] [Merge] lp:~davidagraf/zorba/schema-tools-module-module-bug-989490 into lp:zorba/schema-tools-module

2012-06-14 Thread David Graf
David Graf has proposed merging lp:~davidagraf/zorba/schema-tools-module-module-bug-989490 into lp:zorba/schema-tools-module. Requested reviews: David Graf (davidagraf) Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~davidagraf/zorba/schema-tools-module-module

[Zorba-coders] [Merge] lp:~davidagraf/zorba/data-formatting-module-bug-989490 into lp:zorba/data-formatting-module

2012-06-14 Thread David Graf
David Graf has proposed merging lp:~davidagraf/zorba/data-formatting-module-bug-989490 into lp:zorba/data-formatting-module. Requested reviews: David Graf (davidagraf) Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~davidagraf/zorba/data-formatting-module-bug

[Zorba-coders] [Merge] lp:~davidagraf/zorba/util-jvm-module-bug-989490 into lp:zorba/util-jvm-module

2012-06-14 Thread David Graf
David Graf has proposed merging lp:~davidagraf/zorba/util-jvm-module-bug-989490 into lp:zorba/util-jvm-module. Requested reviews: David Graf (davidagraf) Chris Hillery (ceejatec) For more details, see: https://code.launchpad.net/~davidagraf/zorba/util-jvm-module-bug-989490/+merge/110275

[Zorba-coders] [Bug 989490] Re: on ubuntu 12.04, Java and/or JNI not found

2012-06-14 Thread David Graf
Hey Chris I made merge proposals. I implemented everything in cmake. Because it is less lines of code :-). I am wondering if the same should be done here: swig/java/CMakeLists.txt What do you think? -- You received this bug notification because you are a member of Zorba Coders, which is the re

Re: [Zorba-coders] [Merge] lp:~davidagraf/zorba/schema-tools-module-module-bug-989490 into lp:zorba/schema-tools-module

2012-06-14 Thread David Graf
Review: Approve -- https://code.launchpad.net/~davidagraf/zorba/schema-tools-module-module-bug-989490/+merge/110271 Your team Zorba Coders is subscribed to branch lp:zorba/schema-tools-module. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net U

  1   2   3   >