Merge lp:~zorba-coders/zorba/bug905028 into lp:zorba
Proposed by
Rodolfo Ochoa
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Matthias Brantner | ||||
Approved revision: | 10814 | ||||
Merged at revision: | 10841 | ||||
Proposed branch: | lp:~zorba-coders/zorba/bug905028 | ||||
Merge into: | lp:zorba | ||||
Diff against target: |
189 lines (+49/-11) 9 files modified
ChangeLog (+1/-0) include/zorba/static_context.h (+7/-0) src/api/staticcontextimpl.cpp (+17/-0) src/api/staticcontextimpl.h (+5/-0) src/compiler/rewriter/tools/dataflow_annotations.h (+1/-3) src/context/static_context.cpp (+14/-5) src/context/static_context.h (+2/-0) src/functions/func_sequences_impl.h (+2/-2) src/runtime/full_text/ft_module_impl.cpp (+0/-1) |
||||
To merge this branch: | bzr merge lp:~zorba-coders/zorba/bug905028 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthias Brantner | Approve | ||
Chris Hillery | Approve | ||
Review via email: mp+104447@code.launchpad.net |
Commit message
BaseURI can now be cleared through a method.
When BaseUri is undefined it returns an empty string instead of asserting.
Fixed some compilation warnings to have a cleaner compiling.
Added #define stdafx.h to some files to fix the precompiled headers on Windows.
Description of the change
BaseURI can now be cleared through a method.
When BaseUri is undefined it returns an empty string instead of asserting.
To post a comment you must log in.
1. When adding new virtual methods to a public API class, they must be added at the bottom of the class (after any other virtual methods) to maintain ABI compatibility.
2. Couldn't users just call setBaseURI(""), rather than needing this new method?
3. I don't understand the change to static_ context: :compute_ base_uri( ); that seems like it will change behaviour even when nobody calls clearBaseURI(). Can you clarify that logic?
Style issues:
4. dataflow_ annotations. h: don't comment out code; just delete the line. Also, is the new #include of rewriter_context.h necessary?
5. I don't love the fact that the Windows compilation fixes are part of this merge proposal, since they're unrelated and that won't show up in the log. However, I admit it's a pain to run a separate proposal for them. Could you just add a note to the commit message saying they're there?