Merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba

Proposed by Paul J. Lucas
Status: Merged
Approved by: Chris Hillery
Approved revision: 11515
Merged at revision: 11510
Proposed branch: lp:~zorba-coders/zorba/bug-1189996
Merge into: lp:zorba
Diff against target: 1473 lines (+230/-210)
72 files modified
ChangeLog (+1/-0)
doc/cxx/examples/binary.cpp (+4/-4)
include/zorba/annotation.h (+1/-1)
include/zorba/api_shared_types.h (+1/-1)
include/zorba/dynamic_context.h (+3/-3)
include/zorba/function.h (+1/-1)
include/zorba/internal/unit_tests.h (+14/-14)
include/zorba/query_location.h (+1/-1)
include/zorba/static_context.h (+3/-3)
include/zorba/stemmer.h (+1/-1)
include/zorba/thesaurus.h (+1/-1)
include/zorba/tokenizer.h (+1/-1)
include/zorba/uri_resolvers.h (+4/-4)
include/zorba/util/base64_util.h (+23/-19)
include/zorba/util/calendar.h (+3/-3)
modules/ExternalModules.conf (+26/-13)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_request_handler.cpp (+6/-7)
modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.cpp (+3/-3)
modules/org/expath/ns/file.xq.src/file.cpp (+2/-2)
src/api/base64_streambuf.cpp (+1/-1)
src/api/base64impl.cpp (+43/-46)
src/api/serialization/serializer.cpp (+1/-1)
src/api/smart_ptr.cpp (+4/-3)
src/api/transcode_streambuf.cpp (+1/-1)
src/compiler/expression/ftnode.cpp (+1/-1)
src/compiler/expression/ftnode.h (+1/-1)
src/context/dynamic_context.h (+2/-2)
src/context/uri_resolver.h (+1/-1)
src/debugger/debugger_clientimpl.cpp (+5/-2)
src/debugger/debugger_server.cpp (+4/-4)
src/diagnostics/dict.cpp (+1/-1)
src/precompiled/stdafx.h (+6/-4)
src/runtime/base64/base64_impl.cpp (+1/-1)
src/runtime/durations_dates_times/format_dateTime.cpp (+1/-1)
src/runtime/fetch/fetch_impl.cpp (+1/-1)
src/runtime/full_text/apply.cpp (+1/-1)
src/runtime/full_text/ft_module_impl.cpp (+1/-1)
src/runtime/full_text/ft_stop_words_set.cpp (+1/-1)
src/runtime/full_text/ft_stop_words_set.h (+1/-1)
src/runtime/full_text/ft_thesaurus.h (+1/-1)
src/runtime/full_text/ft_token_matcher.h (+1/-1)
src/runtime/full_text/ft_util.cpp (+1/-1)
src/runtime/full_text/ft_util.h (+1/-1)
src/runtime/full_text/full_text_impl.cpp (+1/-1)
src/runtime/full_text/icu_tokenizer.cpp (+1/-1)
src/runtime/full_text/icu_tokenizer.h (+1/-1)
src/runtime/full_text/stemmer.cpp (+1/-1)
src/runtime/full_text/stemmer.h (+1/-1)
src/runtime/full_text/stemmer/sb_stemmer.cpp (+1/-1)
src/runtime/full_text/thesauri/iso2788.h (+1/-1)
src/runtime/full_text/thesauri/wn_thesaurus.cpp (+2/-1)
src/runtime/full_text/thesauri/xqftts_relationship.cpp (+1/-1)
src/runtime/full_text/thesaurus.h (+1/-1)
src/runtime/full_text/tokenizer.cpp (+1/-1)
src/runtime/sequences/sequences_impl.cpp (+1/-1)
src/runtime/uris/uris_impl.cpp (+2/-2)
src/store/api/item.h (+1/-1)
src/store/naive/node_items.cpp (+7/-11)
src/store/naive/node_items.h (+5/-5)
src/unit_tests/test_base64_streambuf.cpp (+1/-1)
src/unit_tests/test_time_parse.cpp (+1/-1)
src/unit_tests/unit_tests.cpp (+8/-5)
src/util/CMakeLists.txt (+1/-0)
src/util/locale.h (+1/-1)
src/util/time_parse.cpp (+1/-1)
src/util/time_parse.h (+1/-1)
src/util/time_util.h (+1/-1)
src/util/transcode_streambuf.h (+1/-1)
src/zorbatypes/ft_token.cpp (+1/-1)
src/zorbatypes/ft_token.h (+1/-1)
src/zorbautils/CMakeLists.txt (+0/-1)
test/unit/lib_unit_test.cpp (+3/-3)
To merge this branch: bzr merge lp:~zorba-coders/zorba/bug-1189996
Reviewer Review Type Date Requested Status
Chris Hillery Approve
Paul J. Lucas Approve
Review via email: mp+168850@code.launchpad.net

Commit message

Relocated some headers to zorba/include/util.

Description of the change

Relocated some headers to zorba/include/util.

To post a comment you must log in.
Revision history for this message
Paul J. Lucas (paul-lucas) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message):
  Validation queue job bug-1189996-2013-06-12T05-27-59.092Z 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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message):
  Validation queue job bug-1189996-2013-06-12T12-36-56.857Z 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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message):
  Validation queue job bug-1189996-2013-06-12T13-24-03.998Z 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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message):
  Validation queue job bug-1189996-2013-06-12T13-39-59.374Z 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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message):
  Validation queue job bug-1189996-2013-06-12T14-05-06.022Z 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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message):
  Validation queue job bug-1189996-2013-06-12T14-29-54.488Z is finished. The
  final status was:

  9 tests did not succeed - changes not commited.

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

The attempt to merge lp:~zorba-coders/zorba/bug-1189996 into lp:zorba failed. Below is the output from the failed tests.

CMake Error at /home/ceej/zo/testing/zorbatest/tester/TarmacLander.cmake:281 (message):
  Validation queue job bug-1189996-2013-06-12T15-31-18.989Z is finished. The
  final status was:

  1 tests did not succeed - changes not commited.

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

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-1189996-2013-06-13T01-28-01.428Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Voting does not meet specified criteria. Required: Approve > 1, Disapprove < 1, Needs Fixing < 1, Pending < 1, Needs Information < 1, Resubmit < 1. Got: 1 Approve.

Revision history for this message
Chris Hillery (ceejatec) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-1189996-2013-06-13T09-54-59.599Z is finished. The final status was:

All tests succeeded!

Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job bug-1189996-2013-06-13T10-38-49.692Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2013-06-12 15:38:39 +0000
+++ ChangeLog 2013-06-13 01:24:25 +0000
@@ -33,6 +33,7 @@
33 for user-defined types.33 for user-defined types.
34 * jn:members function takes item()* as aparameter (instead of item())34 * jn:members function takes item()* as aparameter (instead of item())
35 * jn:keys function takes item()* as aparameter (instead of item())35 * jn:keys function takes item()* as aparameter (instead of item())
36 * Fixed bug #1189996 (Relocate some public API headers to util)
36 * Object/array navigation allows item()* as the type of the input sequence37 * Object/array navigation allows item()* as the type of the input sequence
37 (doing implicit iteration over the input sequence and skipping items38 (doing implicit iteration over the input sequence and skipping items
38 that are not objects/arrays).39 that are not objects/arrays).
3940
=== modified file 'doc/cxx/examples/binary.cpp'
--- doc/cxx/examples/binary.cpp 2013-02-07 17:24:36 +0000
+++ doc/cxx/examples/binary.cpp 2013-06-13 01:24:25 +0000
@@ -13,18 +13,18 @@
13 * See the License for the specific language governing permissions and13 * See the License for the specific language governing permissions and
14 * limitations under the License.14 * limitations under the License.
15 */15 */
16
16#include <zorba/zorba.h>17#include <zorba/zorba.h>
17#include <zorba/base64.h>18#include <zorba/util/base64_util.h>
18#include <iostream>19#include <iostream>
1920
20
21using namespace zorba;21using namespace zorba;
2222
23bool 23bool
24encode_example() 24encode_example()
25{25{
26 String lString("Hello Zorba");26 String lString("Hello Zorba");
27 String lEncoded = zorba::encoding::Base64::encode(lString);27 String lEncoded = zorba::base64::encode(lString);
28 return lEncoded == "SGVsbG8gWm9yYmE="; 28 return lEncoded == "SGVsbG8gWm9yYmE=";
29}29}
3030
@@ -32,7 +32,7 @@
32decode_example()32decode_example()
33{33{
34 String lEncoded("SGVsbG8gWm9yYmE=");34 String lEncoded("SGVsbG8gWm9yYmE=");
35 String lDecoded = zorba::encoding::Base64::decode(lEncoded);35 String lDecoded = zorba::base64::decode(lEncoded);
36 return lDecoded == "Hello Zorba";36 return lDecoded == "Hello Zorba";
37}37}
3838
3939
=== modified file 'include/zorba/annotation.h'
--- include/zorba/annotation.h 2013-02-07 17:24:36 +0000
+++ include/zorba/annotation.h 2013-06-13 01:24:25 +0000
@@ -18,7 +18,7 @@
1818
19#include <zorba/config.h>19#include <zorba/config.h>
20#include <zorba/api_shared_types.h>20#include <zorba/api_shared_types.h>
21#include <zorba/smart_ptr.h>21#include <zorba/util/smart_ptr.h>
2222
23namespace zorba {23namespace zorba {
2424
2525
=== modified file 'include/zorba/api_shared_types.h'
--- include/zorba/api_shared_types.h 2013-05-31 03:38:45 +0000
+++ include/zorba/api_shared_types.h 2013-06-13 01:24:25 +0000
@@ -17,7 +17,7 @@
17#define ZORBA_SHARED_TYPES_INCL_H17#define ZORBA_SHARED_TYPES_INCL_H
1818
19#include <zorba/config.h>19#include <zorba/config.h>
20#include <zorba/smart_ptr.h>20#include <zorba/util/smart_ptr.h>
2121
22namespace zorba {22namespace zorba {
2323
2424
=== modified file 'include/zorba/dynamic_context.h'
--- include/zorba/dynamic_context.h 2013-05-22 02:22:35 +0000
+++ include/zorba/dynamic_context.h 2013-06-13 01:24:25 +0000
@@ -21,12 +21,12 @@
21#include <memory>21#include <memory>
2222
23#include <zorba/config.h>23#include <zorba/config.h>
24#include <zorba/locale.h>
25#include <zorba/time.h>
26#include <zorba/api_shared_types.h>24#include <zorba/api_shared_types.h>
25#include <zorba/external_function_parameter.h>
27#include <zorba/static_context_consts.h>26#include <zorba/static_context_consts.h>
27#include <zorba/util/calendar.h>
28#include <zorba/util/locale.h>
28#include <zorba/xmldatamanager.h>29#include <zorba/xmldatamanager.h>
29#include <zorba/external_function_parameter.h>
3030
3131
32namespace zorba {32namespace zorba {
3333
=== modified file 'include/zorba/function.h'
--- include/zorba/function.h 2013-04-19 22:25:21 +0000
+++ include/zorba/function.h 2013-06-13 01:24:25 +0000
@@ -21,7 +21,7 @@
2121
22#include <zorba/config.h>22#include <zorba/config.h>
23#include <zorba/api_shared_types.h>23#include <zorba/api_shared_types.h>
24#include <zorba/smart_ptr.h>24#include <zorba/util/smart_ptr.h>
2525
26namespace zorba {26namespace zorba {
2727
2828
=== renamed file 'include/zorba/unit_tests.h' => 'include/zorba/internal/unit_tests.h'
--- include/zorba/unit_tests.h 2013-02-07 17:24:36 +0000
+++ include/zorba/internal/unit_tests.h 2013-06-13 01:24:25 +0000
@@ -13,24 +13,24 @@
13 * See the License for the specific language governing permissions and13 * See the License for the specific language governing permissions and
14 * limitations under the License.14 * limitations under the License.
15 */15 */
16#ifndef ZORBA_UNIT_TESTS_H16
17#define ZORBA_UNIT_TESTS_H17#ifndef ZORBA_INTERNAL_UNIT_TESTS_H
18#define ZORBA_INTERNAL_UNIT_TESTS_H
1819
19#include <zorba/config.h>20#include <zorba/config.h>
2021
21
22namespace zorba {22namespace zorba {
2323namespace UnitTests {
24 namespace UnitTests24
25 {25///////////////////////////////////////////////////////////////////////////////
26 ZORBA_DLL_PUBLIC int runUnitTest(int argc, char* argv[]);26
27 };27ZORBA_DLL_PUBLIC int runUnitTest(int argc, char* argv[]);
2828
29}29///////////////////////////////////////////////////////////////////////////////
3030
3131} // namespace UnitTests
32#endif32} // namespace Zorba
3333#endif /* ZORBA_INTERNAL_UNIT_TESTS_H */
34/*34/*
35 * Local variables:35 * Local variables:
36 * mode: c++36 * mode: c++
3737
=== modified file 'include/zorba/query_location.h'
--- include/zorba/query_location.h 2013-02-07 17:24:36 +0000
+++ include/zorba/query_location.h 2013-06-13 01:24:25 +0000
@@ -18,8 +18,8 @@
18#define QUERYLOCATION_H18#define QUERYLOCATION_H
1919
20#include <zorba/config.h>20#include <zorba/config.h>
21#include <zorba/smart_ptr.h>
22#include <zorba/api_shared_types.h>21#include <zorba/api_shared_types.h>
22#include <zorba/util/smart_ptr.h>
2323
24namespace zorba{24namespace zorba{
2525
2626
=== modified file 'include/zorba/static_context.h'
--- include/zorba/static_context.h 2013-03-25 23:02:19 +0000
+++ include/zorba/static_context.h 2013-06-13 01:24:25 +0000
@@ -16,17 +16,17 @@
16#ifndef XQP_STATIC_CONTEXT_API_H16#ifndef XQP_STATIC_CONTEXT_API_H
17#define XQP_STATIC_CONTEXT_API_H17#define XQP_STATIC_CONTEXT_API_H
1818
19#include <vector>
20
19#include <zorba/config.h>21#include <zorba/config.h>
20#include <zorba/api_shared_types.h>22#include <zorba/api_shared_types.h>
21#include <zorba/zorba_string.h>23#include <zorba/zorba_string.h>
22#include <zorba/typeident.h>24#include <zorba/typeident.h>
23#include <zorba/static_context_consts.h>25#include <zorba/static_context_consts.h>
24#include <zorba/options.h> // for compiler hints class26#include <zorba/options.h> // for compiler hints class
25#include <vector>
26#include <zorba/function.h>27#include <zorba/function.h>
27#include <zorba/annotation.h>28#include <zorba/annotation.h>
28#include <zorba/smart_ptr.h>29#include <zorba/util/smart_ptr.h>
29#include <zorba/smart_ptr.h>
30#ifndef ZORBA_NO_FULL_TEXT30#ifndef ZORBA_NO_FULL_TEXT
31#include <zorba/thesaurus.h>31#include <zorba/thesaurus.h>
32#endif /* ZORBA_NO_FULL_TEXT */32#endif /* ZORBA_NO_FULL_TEXT */
3333
=== modified file 'include/zorba/stemmer.h'
--- include/zorba/stemmer.h 2013-06-01 00:30:39 +0000
+++ include/zorba/stemmer.h 2013-06-13 01:24:25 +0000
@@ -24,7 +24,7 @@
24#include <zorba/internal/cxx_util.h>24#include <zorba/internal/cxx_util.h>
25#include <zorba/internal/unique_ptr.h>25#include <zorba/internal/unique_ptr.h>
26#include <zorba/internal/ztd.h>26#include <zorba/internal/ztd.h>
27#include <zorba/locale.h>27#include <zorba/util/locale.h>
28#include <zorba/zorba_string.h>28#include <zorba/zorba_string.h>
2929
30namespace zorba {30namespace zorba {
3131
=== modified file 'include/zorba/thesaurus.h'
--- include/zorba/thesaurus.h 2013-06-01 00:30:39 +0000
+++ include/zorba/thesaurus.h 2013-06-13 01:24:25 +0000
@@ -24,8 +24,8 @@
24#include <zorba/internal/cxx_util.h>24#include <zorba/internal/cxx_util.h>
25#include <zorba/internal/unique_ptr.h>25#include <zorba/internal/unique_ptr.h>
26#include <zorba/internal/ztd.h>26#include <zorba/internal/ztd.h>
27#include <zorba/locale.h>
28#include <zorba/uri_resolvers.h>27#include <zorba/uri_resolvers.h>
28#include <zorba/util/locale.h>
29#include <zorba/zorba_string.h>29#include <zorba/zorba_string.h>
3030
31namespace zorba {31namespace zorba {
3232
=== modified file 'include/zorba/tokenizer.h'
--- include/zorba/tokenizer.h 2013-06-01 00:30:39 +0000
+++ include/zorba/tokenizer.h 2013-06-13 01:24:25 +0000
@@ -24,7 +24,7 @@
24#include <zorba/internal/cxx_util.h>24#include <zorba/internal/cxx_util.h>
25#include <zorba/internal/unique_ptr.h>25#include <zorba/internal/unique_ptr.h>
26#include <zorba/internal/ztd.h>26#include <zorba/internal/ztd.h>
27#include <zorba/locale.h>27#include <zorba/util/locale.h>
2828
29namespace zorba {29namespace zorba {
3030
3131
=== modified file 'include/zorba/uri_resolvers.h'
--- include/zorba/uri_resolvers.h 2013-02-07 17:24:36 +0000
+++ include/zorba/uri_resolvers.h 2013-06-13 01:24:25 +0000
@@ -22,12 +22,12 @@
2222
23#include <zorba/config.h>23#include <zorba/config.h>
24#include <zorba/api_shared_types.h>24#include <zorba/api_shared_types.h>
25#include <zorba/internal/unique_ptr.h>
26#include <zorba/internal/ztd.h>
25#include <zorba/item.h>27#include <zorba/item.h>
28#include <zorba/streams.h>
29#include <zorba/util/locale.h>
26#include <zorba/zorba_string.h>30#include <zorba/zorba_string.h>
27#include <zorba/streams.h>
28#include <zorba/locale.h>
29#include <zorba/internal/unique_ptr.h>
30#include <zorba/internal/ztd.h>
3131
32/**32/**
33 * @file uri_resolvers.h33 * @file uri_resolvers.h
3434
=== renamed file 'include/zorba/base64_stream.h' => 'include/zorba/util/base64_stream.h'
=== renamed file 'include/zorba/base64.h' => 'include/zorba/util/base64_util.h'
--- include/zorba/base64.h 2013-02-07 17:24:36 +0000
+++ include/zorba/util/base64_util.h 2013-06-13 01:24:25 +0000
@@ -13,33 +13,37 @@
13 * See the License for the specific language governing permissions and13 * See the License for the specific language governing permissions and
14 * limitations under the License.14 * limitations under the License.
15 */15 */
16
16#ifndef ZORBA_BASE64_API_H17#ifndef ZORBA_BASE64_API_H
17#define ZORBA_BASE64_API_H18#define ZORBA_BASE64_API_H
1819
19#include <string>20// standard
21#include <iostream>
2022
23// zorba
21#include <zorba/config.h>24#include <zorba/config.h>
22#include <zorba/zorba_string.h>25#include <zorba/zorba_string.h>
2326
24namespace zorba {27namespace zorba {
25namespace encoding {28namespace base64 {
2629
27 struct ZORBA_DLL_PUBLIC Base6430///////////////////////////////////////////////////////////////////////////////
28 {31
29 static String32ZORBA_DLL_PUBLIC
30 encode(const String& aString);33String encode( String const &aString );
3134
32 static String35ZORBA_DLL_PUBLIC
33 encode(std::istream& aStream);36String encode( std::istream &aStream );
3437
35 static String38ZORBA_DLL_PUBLIC
36 decode(const String& aString);39String decode( String const &aString );
37 40
38 static String41ZORBA_DLL_PUBLIC
39 decode(std::istream& aStream); 42String decode( std::istream &aStream );
40 };43
4144///////////////////////////////////////////////////////////////////////////////
42} // namespace encoding45
46} // namespace base64
43} // namespace zorba47} // namespace zorba
4448
45#endif /* ZORBA_BASE64_API_H */49#endif /* ZORBA_BASE64_API_H */
4650
=== renamed file 'include/zorba/time.h' => 'include/zorba/util/calendar.h'
--- include/zorba/time.h 2013-05-24 23:08:13 +0000
+++ include/zorba/util/calendar.h 2013-06-13 01:24:25 +0000
@@ -14,8 +14,8 @@
14 * limitations under the License.14 * limitations under the License.
15 */15 */
1616
17#ifndef ZORBA_TIME_API_H17#ifndef ZORBA_CALENDAR_API_H
18#define ZORBA_TIME_API_H18#define ZORBA_CALENDAR_API_H
1919
20namespace zorba {20namespace zorba {
21namespace time {21namespace time {
@@ -63,5 +63,5 @@
6363
64} // namespace time64} // namespace time
65} // namespace zorba65} // namespace zorba
66#endif /* ZORBA_TIME_API_H */66#endif /* ZORBA_CALENDAR_API_H */
67/* vim:set et sw=2 ts=2: */67/* vim:set et sw=2 ts=2: */
6868
=== renamed file 'include/zorba/locale.h' => 'include/zorba/util/locale.h'
=== renamed file 'include/zorba/smart_ptr.h' => 'include/zorba/util/smart_ptr.h'
=== renamed file 'include/zorba/transcode_stream.h' => 'include/zorba/util/transcode_stream.h'
=== modified file 'modules/ExternalModules.conf'
--- modules/ExternalModules.conf 2013-06-11 23:54:50 +0000
+++ modules/ExternalModules.conf 2013-06-13 01:24:25 +0000
@@ -26,10 +26,13 @@
26# "tag" is the VCS tag to check out (optional - defaults to HEAD;26# "tag" is the VCS tag to check out (optional - defaults to HEAD;
27# currently only works for bzr, since svn tags are just different URLS)27# currently only works for bzr, since svn tags are just different URLS)
2828
29archive bzr lp:zorba/archive-module zorba-2.929#archive bzr lp:zorba/archive-module
30csv bzr lp:zorba/csv-module30archive bzr lp:~zorba-coders/zorba/bug-1189996-archive
31#csv bzr lp:zorba/csv-module
32csv bzr lp:~zorba-coders/zorba/bug-1189996-csv
31data-cleaning bzr lp:zorba/data-cleaning-module33data-cleaning bzr lp:zorba/data-cleaning-module
32data-formatting bzr lp:zorba/data-formatting-module34#data-formatting bzr lp:zorba/data-formatting-module
35data-formatting bzr lp:~zorba-coders/zorba/bug-1189996-data-formatting
33excel bzr lp:zorba/excel-module zorba-2.936excel bzr lp:zorba/excel-module zorba-2.9
34info-extraction bzr lp:zorba/info-extraction-module zorba-2.937info-extraction bzr lp:zorba/info-extraction-module zorba-2.9
35geo bzr lp:zorba/geo-module zorba-2.938geo bzr lp:zorba/geo-module zorba-2.9
@@ -37,19 +40,29 @@
37graphviz bzr lp:zorba/graphviz-module zorba-2.940graphviz bzr lp:zorba/graphviz-module zorba-2.9
38html bzr lp:zorba/html-module zorba-2.941html bzr lp:zorba/html-module zorba-2.9
39http-client bzr lp:zorba/http-client-module zorba-2.942http-client bzr lp:zorba/http-client-module zorba-2.9
40image bzr lp:zorba/image-module zorba-2.943#image bzr lp:zorba/image-module zorba-2.9
41jdbc bzr lp:zorba/jdbc-module44image bzr lp:~zorba-coders/zorba/bug-1189996-image
45#jdbc bzr lp:zorba/jdbc-module
46jdbc bzr lp:~zorba-coders/zorba/bug-1189996-jdbc
42languages bzr lp:zorba/languages-module zorba-2.947languages bzr lp:zorba/languages-module zorba-2.9
43oracle-nosql-db bzr lp:zorba/oracle-nosql-db-module48#oracle-nosql-db bzr lp:zorba/oracle-nosql-db-module
49oracle-nosql-db bzr lp:~zorba-coders/zorba/bug-1189996-oracle-nosql-db
44oauth bzr lp:zorba/oauth-module zorba-2.950oauth bzr lp:zorba/oauth-module zorba-2.9
45process bzr lp:zorba/process-module51process bzr lp:zorba/process-module
46read-pdf bzr lp:zorba/read-pdf-module52#read-pdf bzr lp:zorba/read-pdf-module
47security bzr lp:zorba/security-module zorba-2.953read-pdf bzr lp:~zorba-coders/zorba/bug-1189996-read-pdf
54#security bzr lp:zorba/security-module zorba-2.9
55security bzr lp:~zorba-coders/zorba/bug-1189996-security
48system bzr lp:zorba/system-module zorba-2.956system bzr lp:zorba/system-module zorba-2.9
49email bzr lp:zorba/email-module zorba-2.957#email bzr lp:zorba/email-module zorba-2.9
50util-jvm bzr lp:zorba/util-jvm-module58email bzr lp:~zorba-coders/zorba/bug-1189996-email
51schema-tools bzr lp:zorba/schema-tools-module59#util-jvm bzr lp:zorba/util-jvm-module
60util-jvm bzr lp:~zorba-coders/zorba/bug-1189996-util-jvm
61#schema-tools bzr lp:zorba/schema-tools-module
62schema-tools bzr lp:~zorba-coders/zorba/bug-1189996-schema-tools
52stack bzr lp:zorba/stack-module zorba-2.963stack bzr lp:zorba/stack-module zorba-2.9
53queue bzr lp:zorba/queue-module zorba-2.964queue bzr lp:zorba/queue-module zorba-2.9
54couchbase bzr lp:zorba/couchbase-module zorba-2.965#couchbase bzr lp:zorba/couchbase-module zorba-2.9
55sqlite bzr lp:zorba/sqlite-module zorba-2.966couchbase bzr lp:~zorba-coders/zorba/bug-1189996-couchbase
67#sqlite bzr lp:zorba/sqlite-module zorba-2.9
68sqlite bzr lp:~zorba-coders/zorba/bug-1189996-sqlite
5669
=== modified file 'modules/com/zorba-xquery/www/modules/http-client.xq.src/http_request_handler.cpp'
--- modules/com/zorba-xquery/www/modules/http-client.xq.src/http_request_handler.cpp 2013-02-07 17:24:36 +0000
+++ modules/com/zorba-xquery/www/modules/http-client.xq.src/http_request_handler.cpp 2013-06-13 01:24:25 +0000
@@ -16,14 +16,13 @@
1616
17#include <iostream>17#include <iostream>
1818
19#include <zorba/api_shared_types.h>
20#include <zorba/serializer.h>
21#include <zorba/singleton_item_sequence.h>
22#include <zorba/util/base64_util.h>
23#include <zorba/xquery_functions.h>
19#include <zorba/zorba.h>24#include <zorba/zorba.h>
20#include <zorba/singleton_item_sequence.h>
21#include <zorba/serializer.h>
22#include <zorba/api_shared_types.h>
23#include <zorba/xquery_functions.h>
24#include <zorba/zorba_functions.h>25#include <zorba/zorba_functions.h>
25#include <zorba/base64.h>
26#include <zorba/xquery_functions.h>
2726
28#include "http_request_handler.h"27#include "http_request_handler.h"
2928
@@ -117,7 +116,7 @@
117 if (lAuthMethod == "basic") {116 if (lAuthMethod == "basic") {
118 String lAuthString = aUsername + ":" + aPassword;117 String lAuthString = aUsername + ":" + aPassword;
119 String lAuth = "Authorization: Basic ";118 String lAuth = "Authorization: Basic ";
120 lAuth += encoding::Base64::encode(lAuthString);119 lAuth += base64::encode(lAuthString);
121 theAuthMethod = lAuth.c_str();120 theAuthMethod = lAuth.c_str();
122 theHeaderLists[0] = curl_slist_append(theHeaderLists[0], theAuthMethod.c_str());121 theHeaderLists[0] = curl_slist_append(theHeaderLists[0], theAuthMethod.c_str());
123 } else if (lAuthMethod == "digest") {122 } else if (lAuthMethod == "digest") {
124123
=== modified file 'modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.cpp'
--- modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.cpp 2013-04-10 05:17:20 +0000
+++ modules/com/zorba-xquery/www/modules/http-client.xq.src/http_response_parser.cpp 2013-06-13 01:24:25 +0000
@@ -21,13 +21,13 @@
21#include <stdexcept>21#include <stdexcept>
22#include <string>22#include <string>
2323
24#include <zorba/base64.h>
25#include <zorba/config.h>24#include <zorba/config.h>
26#include <zorba/diagnostic_list.h>25#include <zorba/diagnostic_list.h>
27#include <zorba/error.h>26#include <zorba/error.h>
28#include <zorba/item.h>27#include <zorba/item.h>
29#include <zorba/item_factory.h>28#include <zorba/item_factory.h>
30#include <zorba/transcode_stream.h>29#include <zorba/util/base64_util.h>
30#include <zorba/util/transcode_stream.h>
31#include <zorba/xmldatamanager.h>31#include <zorba/xmldatamanager.h>
32#include <zorba/xquery_exception.h>32#include <zorba/xquery_exception.h>
33#include <zorba/xquery_exception.h>33#include <zorba/xquery_exception.h>
@@ -328,7 +328,7 @@
328 // TODO: once a proper streaming implementation is in place this can be328 // TODO: once a proper streaming implementation is in place this can be
329 // changed. This required a Base64 encoding stream since the item factory329 // changed. This required a Base64 encoding stream since the item factory
330 // work only builds base64binary and assumes the data is already encoded.330 // work only builds base64binary and assumes the data is already encoded.
331 String lEncoded = encoding::Base64::encode(aStream);331 String lEncoded = base64::encode(aStream);
332 return lFactory->createBase64Binary(lEncoded.data(), lEncoded.size());332 return lFactory->createBase64Binary(lEncoded.data(), lEncoded.size());
333 }333 }
334334
335335
=== modified file 'modules/org/expath/ns/file.xq.src/file.cpp'
--- modules/org/expath/ns/file.xq.src/file.cpp 2013-06-12 23:54:27 +0000
+++ modules/org/expath/ns/file.xq.src/file.cpp 2013-06-13 01:24:25 +0000
@@ -23,15 +23,15 @@
23#include <stdexcept>23#include <stdexcept>
2424
25// Zorba25// Zorba
26#include <zorba/base64.h>
27#include <zorba/diagnostic_list.h>26#include <zorba/diagnostic_list.h>
28#include <zorba/empty_sequence.h>27#include <zorba/empty_sequence.h>
29#include <zorba/serializer.h>28#include <zorba/serializer.h>
30#include <zorba/singleton_item_sequence.h>29#include <zorba/singleton_item_sequence.h>
31#include <zorba/transcode_stream.h>
32#include <zorba/user_exception.h>30#include <zorba/user_exception.h>
31#include <zorba/util/base64_util.h>
33#include <zorba/util/fs_util.h>32#include <zorba/util/fs_util.h>
34#include <zorba/util/stream_util.h>33#include <zorba/util/stream_util.h>
34#include <zorba/util/transcode_stream.h>
3535
36// local36// local
37#include "file_module.h"37#include "file_module.h"
3838
=== modified file 'src/api/base64_streambuf.cpp'
--- src/api/base64_streambuf.cpp 2013-04-16 22:12:03 +0000
+++ src/api/base64_streambuf.cpp 2013-06-13 01:24:25 +0000
@@ -23,7 +23,7 @@
23# include <stdio.h>23# include <stdio.h>
24#endif24#endif
2525
26#include <zorba/base64_stream.h>26#include <zorba/util/base64_stream.h>
2727
28#include "util/base64_util.h"28#include "util/base64_util.h"
2929
3030
=== modified file 'src/api/base64impl.cpp'
--- src/api/base64impl.cpp 2013-02-07 17:24:36 +0000
+++ src/api/base64impl.cpp 2013-06-13 01:24:25 +0000
@@ -16,8 +16,8 @@
16#include "stdafx.h"16#include "stdafx.h"
1717
18#include <sstream> 18#include <sstream>
19#include <zorba/base64.h>
20#include <zorba/diagnostic_list.h>19#include <zorba/diagnostic_list.h>
20#include <zorba/util/base64_util.h>
2121
22#include <zorba/config.h>22#include <zorba/config.h>
23#include <zorba/zorba_string.h>23#include <zorba/zorba_string.h>
@@ -27,61 +27,58 @@
27#include "util/base64_util.h"27#include "util/base64_util.h"
2828
29#define CATCH_BASE64_EXCEPTION() \29#define CATCH_BASE64_EXCEPTION() \
30 catch (const base64::exception& e) \30 catch (base64::exception const &e) \
31 { \31 { \
32 throw XQUERY_EXCEPTION(err::FORG0001, \32 throw XQUERY_EXCEPTION(err::FORG0001, \
33 ERROR_PARAMS(ZED(FORG0001_Base64BadChar_2), e.invalid_char())); \33 ERROR_PARAMS(ZED(FORG0001_Base64BadChar_2), e.invalid_char())); \
34 } \34 } \
35 catch (const std::invalid_argument&) \35 catch (std::invalid_argument const&) \
36 { \36 { \
37 throw XQUERY_EXCEPTION(err::FORG0001, \37 throw XQUERY_EXCEPTION(err::FORG0001, \
38 ERROR_PARAMS(ZED(FORG0001_Base64Multiple4))); \38 ERROR_PARAMS(ZED(FORG0001_Base64Multiple4))); \
39 }39 }
4040
41using namespace std;
4142
42namespace zorba {43namespace zorba {
43namespace encoding {44namespace base64 {
4445
45String Base64::encode(const String& aString) 46///////////////////////////////////////////////////////////////////////////////
46{47
47 String result;48String encode(String const &aString ) {
48 base64::encode( aString.data(), aString.size(), &result );49 String result;
49 return result;50 encode( aString.data(), aString.size(), &result );
50}51 return result;
5152}
5253
53String Base64::encode(std::istream& aStream) 54String encode( istream& aStream ) {
54{55 String result;
55 String result;56 encode( aStream, &result );
56 base64::encode( aStream, &result );57 return result;
57 return result;58}
58}59
5960
6061String decode( String const &aString ) {
61String Base64::decode(const String& aString)62 try {
62{63 String result;
63 try {64 decode( aString.data(), aString.size(), &result, dopt_ignore_ws );
64 String result;65 return result;
65 base64::decode(66 }
66 aString.data(), aString.size(), &result, base64::dopt_ignore_ws67 CATCH_BASE64_EXCEPTION()
67 );68}
68 return result;69
69 }70
70 CATCH_BASE64_EXCEPTION()71String decode( istream &aStream ) {
71}72 try {
7273 String result;
7374 decode( aStream, &result, dopt_ignore_ws );
74String Base64::decode(std::istream& aStream)75 return result;
75{76 }
76 try {77 CATCH_BASE64_EXCEPTION()
77 String result;78}
78 base64::decode( aStream, &result, base64::dopt_ignore_ws );79
79 return result;80///////////////////////////////////////////////////////////////////////////////
80 }81
81 CATCH_BASE64_EXCEPTION()82} // namespace base64
82}
83
84
85} // namespace encoding
86} // namespace zorba83} // namespace zorba
87/* vim:set et sw=2 ts=2: */84/* vim:set et sw=2 ts=2: */
8885
=== modified file 'src/api/serialization/serializer.cpp'
--- src/api/serialization/serializer.cpp 2013-06-05 00:37:35 +0000
+++ src/api/serialization/serializer.cpp 2013-06-13 01:24:25 +0000
@@ -19,7 +19,7 @@
19#include <iomanip>19#include <iomanip>
2020
21#include <zorba/zorba_string.h>21#include <zorba/zorba_string.h>
22#include <zorba/transcode_stream.h>22#include <zorba/util/transcode_stream.h>
2323
24#include "diagnostics/xquery_diagnostics.h"24#include "diagnostics/xquery_diagnostics.h"
25#include "diagnostics/assert.h"25#include "diagnostics/assert.h"
2626
=== modified file 'src/api/smart_ptr.cpp'
--- src/api/smart_ptr.cpp 2013-02-07 17:24:36 +0000
+++ src/api/smart_ptr.cpp 2013-06-13 01:24:25 +0000
@@ -13,9 +13,10 @@
13 * See the License for the specific language governing permissions and13 * See the License for the specific language governing permissions and
14 * limitations under the License.14 * limitations under the License.
15 */15 */
16#include "stdafx.h"16
17#include <zorba/smart_ptr.h>17#include "stdafx.h"
18#include "stdafx.h"18
19#include <zorba/util/smart_ptr.h>
1920
20namespace zorba {21namespace zorba {
2122
2223
=== modified file 'src/api/transcode_streambuf.cpp'
--- src/api/transcode_streambuf.cpp 2013-02-07 17:24:36 +0000
+++ src/api/transcode_streambuf.cpp 2013-06-13 01:24:25 +0000
@@ -15,7 +15,7 @@
15 */15 */
1616
17#include "stdafx.h"17#include "stdafx.h"
18#include <zorba/transcode_stream.h>18#include <zorba/util/transcode_stream.h>
1919
20#include "util/transcode_streambuf.h"20#include "util/transcode_streambuf.h"
2121
2222
=== modified file 'src/compiler/expression/ftnode.cpp'
--- src/compiler/expression/ftnode.cpp 2013-06-01 00:30:39 +0000
+++ src/compiler/expression/ftnode.cpp 2013-06-13 01:24:25 +0000
@@ -22,8 +22,8 @@
22#include "types/casting.h"22#include "types/casting.h"
23#include "util/ascii_util.h"23#include "util/ascii_util.h"
24#include "util/indent.h"24#include "util/indent.h"
25#include "util/locale.h"
25#include "util/stl_util.h"26#include "util/stl_util.h"
26#include "zorbautils/locale.h"
2727
28#include "expr_visitor.h"28#include "expr_visitor.h"
29#include "ftnode.h"29#include "ftnode.h"
3030
=== modified file 'src/compiler/expression/ftnode.h'
--- src/compiler/expression/ftnode.h 2013-06-01 00:30:39 +0000
+++ src/compiler/expression/ftnode.h 2013-06-13 01:24:25 +0000
@@ -17,8 +17,8 @@
17#ifndef ZORBA_COMPILER_FTNODE_H17#ifndef ZORBA_COMPILER_FTNODE_H
18#define ZORBA_COMPILER_FTNODE_H18#define ZORBA_COMPILER_FTNODE_H
1919
20#include <zorba/locale.h>
21#include <zorba/internal/cxx_util.h>20#include <zorba/internal/cxx_util.h>
21#include <zorba/util/locale.h>
2222
23#include "common/shared_types.h"23#include "common/shared_types.h"
2424
2525
=== modified file 'src/context/dynamic_context.h'
--- src/context/dynamic_context.h 2013-05-08 08:01:05 +0000
+++ src/context/dynamic_context.h 2013-06-13 01:24:25 +0000
@@ -18,11 +18,11 @@
18#define ZORBA_DYNAMIC_CONTEXT_H18#define ZORBA_DYNAMIC_CONTEXT_H
1919
20#include <zorba/external_function_parameter.h>20#include <zorba/external_function_parameter.h>
21#include <zorba/time.h>21#include <zorba/util/calendar.h>
2222
23#include "util/locale.h"
23#include "zorbautils/hashmap_zstring.h"24#include "zorbautils/hashmap_zstring.h"
24#include "zorbautils/hashmap_itemp.h"25#include "zorbautils/hashmap_itemp.h"
25#include "zorbautils/locale.h"
2626
27#include "common/shared_types.h"27#include "common/shared_types.h"
2828
2929
=== modified file 'src/context/uri_resolver.h'
--- src/context/uri_resolver.h 2013-02-07 17:24:36 +0000
+++ src/context/uri_resolver.h 2013-06-13 01:24:25 +0000
@@ -34,7 +34,7 @@
34#include <util/auto_vector.h>34#include <util/auto_vector.h>
35#include <store/api/shared_types.h>35#include <store/api/shared_types.h>
36#include <zorba/streams.h>36#include <zorba/streams.h>
37#include <zorba/locale.h>37#include <zorba/util/locale.h>
3838
39namespace zorba {39namespace zorba {
4040
4141
=== modified file 'src/debugger/debugger_clientimpl.cpp'
--- src/debugger/debugger_clientimpl.cpp 2013-02-07 17:24:36 +0000
+++ src/debugger/debugger_clientimpl.cpp 2013-06-13 01:24:25 +0000
@@ -14,11 +14,14 @@
14 * limitations under the License.14 * limitations under the License.
15 */15 */
16#include "stdafx.h"16#include "stdafx.h"
17
17#include <iostream>18#include <iostream>
18#include <sstream>19#include <sstream>
19#include <cassert>20#include <cassert>
21
20#include <zorba/debugger_event_handler.h>22#include <zorba/debugger_event_handler.h>
21#include <zorba/base64.h>23#include <zorba/util/base64_util.h>
24
22#include "debugger/debugger_clientimpl.h"25#include "debugger/debugger_clientimpl.h"
23#include "debugger/socket_streambuf.h"26#include "debugger/socket_streambuf.h"
2427
@@ -566,7 +569,7 @@
566DebuggerClientImpl::eval(std::string const &aExpr)569DebuggerClientImpl::eval(std::string const &aExpr)
567{570{
568 std::size_t id = ++theLastId;571 std::size_t id = ++theLastId;
569 *theOutStream << "eval -i " << id << " -- " << encoding::Base64::encode(aExpr.c_str()) << '\0';572 *theOutStream << "eval -i " << id << " -- " << base64::encode(aExpr.c_str()) << '\0';
570 theOutStream->flush();573 theOutStream->flush();
571 return id;574 return id;
572}575}
573576
=== modified file 'src/debugger/debugger_server.cpp'
--- src/debugger/debugger_server.cpp 2013-02-07 17:24:36 +0000
+++ src/debugger/debugger_server.cpp 2013-06-13 01:24:25 +0000
@@ -22,7 +22,7 @@
22# include <signal.h>22# include <signal.h>
23#endif23#endif
2424
25#include <zorba/base64.h>25#include <zorba/util/base64_util.h>
26#include <zorba/util/uri.h>26#include <zorba/util/uri.h>
2727
28#include "api/xqueryimpl.h"28#include "api/xqueryimpl.h"
@@ -401,7 +401,7 @@
401 try {401 try {
402402
403 String lEncodedData(aCommand.getData());403 String lEncodedData(aCommand.getData());
404 String lDecodedData = encoding::Base64::decode(lEncodedData);404 String lDecodedData = base64::decode(lEncodedData);
405405
406 zstring lVar(lDecodedData.c_str());406 zstring lVar(lDecodedData.c_str());
407 std::list<std::pair<zstring, zstring> > lResults = theRuntime->eval(lVar);407 std::list<std::pair<zstring, zstring> > lResults = theRuntime->eval(lVar);
@@ -734,7 +734,7 @@
734 buildChildProperties(aName, lResults, aStream);734 buildChildProperties(aName, lResults, aStream);
735 } else if (lResults.size() == 1) {735 } else if (lResults.size() == 1) {
736 String lValue(lResults.front().first.c_str());736 String lValue(lResults.front().first.c_str());
737 aStream << encoding::Base64::encode(lValue);737 aStream << base64::encode(lValue);
738 }738 }
739739
740 aStream << "</property>";740 aStream << "</property>";
@@ -761,7 +761,7 @@
761 << "encoding=\"base64\" "761 << "encoding=\"base64\" "
762 << "constant=\"1\" "762 << "constant=\"1\" "
763 << "children=\"0\" "763 << "children=\"0\" "
764 << ">" << encoding::Base64::encode(lValue)764 << ">" << base64::encode(lValue)
765 << "</property>";765 << "</property>";
766 }766 }
767}767}
768768
=== modified file 'src/diagnostics/dict.cpp'
--- src/diagnostics/dict.cpp 2013-02-07 17:24:36 +0000
+++ src/diagnostics/dict.cpp 2013-06-13 01:24:25 +0000
@@ -20,7 +20,7 @@
20#include <utility> /* for pair */20#include <utility> /* for pair */
21#include <cassert>21#include <cassert>
2222
23#include "zorbautils/locale.h"23#include "util/locale.h"
2424
25#include "dict.h"25#include "dict.h"
26#include "dict_impl.h"26#include "dict_impl.h"
2727
=== modified file 'src/precompiled/stdafx.h'
--- src/precompiled/stdafx.h 2013-06-01 00:30:39 +0000
+++ src/precompiled/stdafx.h 2013-06-13 01:24:25 +0000
@@ -49,16 +49,19 @@
49 #include <zorba/store_manager.h>49 #include <zorba/store_manager.h>
50 #include <zorba/xquery.h>50 #include <zorba/xquery.h>
51 #include <zorba/xquery_exception.h>51 #include <zorba/xquery_exception.h>
52
52 #include "diagnostics/assert.h"53 #include "diagnostics/assert.h"
53 #include "zorbatypes/mapm/m_apm_lc.h"54 #include "util/cxx_util.h"
54 #include "zorbatypes/datetime/parse.h"55 #include "util/locale.h"
55 #include "zorbatypes/chartype.h"56 #include "zorbatypes/chartype.h"
56 #include "zorbatypes/collation_manager.h"57 #include "zorbatypes/collation_manager.h"
58 #include "zorbatypes/datetime/parse.h"
57 #include "zorbatypes/ft_token.h"59 #include "zorbatypes/ft_token.h"
58 #include "zorbatypes/m_apm.h"60 #include "zorbatypes/m_apm.h"
61 #include "zorbatypes/mapm/m_apm_lc.h"
59 #include "zorbatypes/rclock.h"62 #include "zorbatypes/rclock.h"
60 #include "zorbatypes/schema_types.h"63 #include "zorbatypes/schema_types.h"
61//64
62 #include "zorbatypes/timezone.h"65 #include "zorbatypes/timezone.h"
63 #include "zorbatypes/URI.h"66 #include "zorbatypes/URI.h"
64 #include "zorbatypes/xerces_xmlcharray.h"67 #include "zorbatypes/xerces_xmlcharray.h"
@@ -72,7 +75,6 @@
72 #include "zorbautils/hashset.h"75 #include "zorbautils/hashset.h"
73 76
74 #include "zorbautils/latch.h"77 #include "zorbautils/latch.h"
75 #include "zorbautils/locale.h"
76 #include "zorbautils/lock.h"78 #include "zorbautils/lock.h"
77 #include "zorbautils/mutex.h"79 #include "zorbautils/mutex.h"
78 #include "zorbautils/runnable.h"80 #include "zorbautils/runnable.h"
7981
=== modified file 'src/runtime/base64/base64_impl.cpp'
--- src/runtime/base64/base64_impl.cpp 2013-04-16 21:12:12 +0000
+++ src/runtime/base64/base64_impl.cpp 2013-06-13 01:24:25 +0000
@@ -16,7 +16,7 @@
16#include "stdafx.h"16#include "stdafx.h"
1717
18#include <sstream>18#include <sstream>
19#include <zorba/transcode_stream.h>19#include <zorba/util/transcode_stream.h>
2020
21#include "system/globalenv.h"21#include "system/globalenv.h"
2222
2323
=== modified file 'src/runtime/durations_dates_times/format_dateTime.cpp'
--- src/runtime/durations_dates_times/format_dateTime.cpp 2013-05-22 02:22:35 +0000
+++ src/runtime/durations_dates_times/format_dateTime.cpp 2013-06-13 01:24:25 +0000
@@ -32,13 +32,13 @@
32#include "store/api/store.h"32#include "store/api/store.h"
33#include "system/globalenv.h"33#include "system/globalenv.h"
34#include "util/ascii_util.h"34#include "util/ascii_util.h"
35#include "util/locale.h"
35#include "util/stream_util.h"36#include "util/stream_util.h"
36#include "util/string_util.h"37#include "util/string_util.h"
37#include "util/time_util.h"38#include "util/time_util.h"
38#include "util/utf8_util.h"39#include "util/utf8_util.h"
39#include "zorbatypes/datetime.h"40#include "zorbatypes/datetime.h"
40#include "zorbatypes/zstring.h"41#include "zorbatypes/zstring.h"
41#include "zorbautils/locale.h"
4242
43// local43// local
44#include "format_dateTime.h"44#include "format_dateTime.h"
4545
=== modified file 'src/runtime/fetch/fetch_impl.cpp'
--- src/runtime/fetch/fetch_impl.cpp 2013-02-26 04:12:43 +0000
+++ src/runtime/fetch/fetch_impl.cpp 2013-06-13 01:24:25 +0000
@@ -15,7 +15,7 @@
15 */15 */
16#include "stdafx.h"16#include "stdafx.h"
1717
18#include <zorba/transcode_stream.h>18#include <zorba/util/transcode_stream.h>
1919
20#include "diagnostics/assert.h"20#include "diagnostics/assert.h"
21#include "diagnostics/xquery_diagnostics.h"21#include "diagnostics/xquery_diagnostics.h"
2222
=== modified file 'src/runtime/full_text/apply.cpp'
--- src/runtime/full_text/apply.cpp 2013-06-07 22:04:25 +0000
+++ src/runtime/full_text/apply.cpp 2013-06-13 01:24:25 +0000
@@ -31,9 +31,9 @@
31#include "store/api/store.h"31#include "store/api/store.h"
32#include "system/globalenv.h"32#include "system/globalenv.h"
33#include "util/indent.h"33#include "util/indent.h"
34#include "util/locale.h"
34#include "util/stl_util.h"35#include "util/stl_util.h"
35#include "zorbamisc/ns_consts.h"36#include "zorbamisc/ns_consts.h"
36#include "zorbautils/locale.h"
3737
38#ifndef NDEBUG38#ifndef NDEBUG
39# include "system/properties.h"39# include "system/properties.h"
4040
=== modified file 'src/runtime/full_text/ft_module_impl.cpp'
--- src/runtime/full_text/ft_module_impl.cpp 2013-05-30 21:22:57 +0000
+++ src/runtime/full_text/ft_module_impl.cpp 2013-06-13 01:24:25 +0000
@@ -44,11 +44,11 @@
44#include "types/casting.h"44#include "types/casting.h"
45#include "types/typeimpl.h"45#include "types/typeimpl.h"
46#include "types/typeops.h"46#include "types/typeops.h"
47#include "util/locale.h"
47#include "util/stl_util.h"48#include "util/stl_util.h"
48#include "util/utf8_util.h"49#include "util/utf8_util.h"
49#include "zorbatypes/integer.h"50#include "zorbatypes/integer.h"
50#include "zorbatypes/URI.h"51#include "zorbatypes/URI.h"
51#include "zorbautils/locale.h"
5252
53#include "ft_module_util.h"53#include "ft_module_util.h"
54#include "ft_stop_words_set.h"54#include "ft_stop_words_set.h"
5555
=== modified file 'src/runtime/full_text/ft_stop_words_set.cpp'
--- src/runtime/full_text/ft_stop_words_set.cpp 2013-06-01 00:30:39 +0000
+++ src/runtime/full_text/ft_stop_words_set.cpp 2013-06-13 01:24:25 +0000
@@ -21,10 +21,10 @@
21#include "context/static_context.h"21#include "context/static_context.h"
22#include "context/uri_resolver.h"22#include "context/uri_resolver.h"
23#include "util/ascii_util.h"23#include "util/ascii_util.h"
24#include "util/locale.h"
24#include "util/mmap_file.h"25#include "util/mmap_file.h"
25#include "util/stl_util.h"26#include "util/stl_util.h"
26#include "util/uri_util.h"27#include "util/uri_util.h"
27#include "zorbautils/locale.h"
2828
29#include "ft_stop_words_set.h"29#include "ft_stop_words_set.h"
3030
3131
=== modified file 'src/runtime/full_text/ft_stop_words_set.h'
--- src/runtime/full_text/ft_stop_words_set.h 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/ft_stop_words_set.h 2013-06-13 01:24:25 +0000
@@ -19,8 +19,8 @@
1919
20#include <set>20#include <set>
2121
22#include <zorba/locale.h>
23#include <zorba/internal/unique_ptr.h>22#include <zorba/internal/unique_ptr.h>
23#include <zorba/util/locale.h>
2424
25#include "compiler/expression/ftnode.h"25#include "compiler/expression/ftnode.h"
26#include "zorbatypes/zstring.h"26#include "zorbatypes/zstring.h"
2727
=== modified file 'src/runtime/full_text/ft_thesaurus.h'
--- src/runtime/full_text/ft_thesaurus.h 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/ft_thesaurus.h 2013-06-13 01:24:25 +0000
@@ -17,8 +17,8 @@
17#ifndef ZORBA_FULL_TEXT_FT_THESAURUS_H17#ifndef ZORBA_FULL_TEXT_FT_THESAURUS_H
18#define ZORBA_FULL_TEXT_FT_THESAURUS_H18#define ZORBA_FULL_TEXT_FT_THESAURUS_H
1919
20#include <zorba/locale.h>
21#include <zorba/internal/unique_ptr.h>20#include <zorba/internal/unique_ptr.h>
21#include <zorba/util/locale.h>
2222
23#include "zorbatypes/zstring.h"23#include "zorbatypes/zstring.h"
2424
2525
=== modified file 'src/runtime/full_text/ft_token_matcher.h'
--- src/runtime/full_text/ft_token_matcher.h 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/ft_token_matcher.h 2013-06-13 01:24:25 +0000
@@ -17,7 +17,7 @@
17#ifndef ZORBA_FULL_TEXT_FT_TOKEN_MATCHER_H17#ifndef ZORBA_FULL_TEXT_FT_TOKEN_MATCHER_H
18#define ZORBA_FULL_TEXT_FT_TOKEN_MATCHER_H18#define ZORBA_FULL_TEXT_FT_TOKEN_MATCHER_H
1919
20#include <zorba/locale.h>20#include <zorba/util/locale.h>
2121
22#include "compiler/expression/ftnode.h"22#include "compiler/expression/ftnode.h"
23#include "context/static_context.h"23#include "context/static_context.h"
2424
=== modified file 'src/runtime/full_text/ft_util.cpp'
--- src/runtime/full_text/ft_util.cpp 2013-05-08 20:14:47 +0000
+++ src/runtime/full_text/ft_util.cpp 2013-06-13 01:24:25 +0000
@@ -19,10 +19,10 @@
19#include <stdexcept>19#include <stdexcept>
2020
21#include "diagnostics/xquery_diagnostics.h"21#include "diagnostics/xquery_diagnostics.h"
22#include "util/locale.h"
22#include "zorbamisc/ns_consts.h"23#include "zorbamisc/ns_consts.h"
23#include "zorbatypes/integer.h"24#include "zorbatypes/integer.h"
24#include "zorbatypes/numconversions.h"25#include "zorbatypes/numconversions.h"
25#include "zorbautils/locale.h"
2626
27#include "ft_util.h"27#include "ft_util.h"
2828
2929
=== modified file 'src/runtime/full_text/ft_util.h'
--- src/runtime/full_text/ft_util.h 2013-06-01 00:30:39 +0000
+++ src/runtime/full_text/ft_util.h 2013-06-13 01:24:25 +0000
@@ -19,7 +19,7 @@
1919
20#include <zorba/internal/cxx_util.h>20#include <zorba/internal/cxx_util.h>
21#include <zorba/item.h>21#include <zorba/item.h>
22#include <zorba/locale.h>22#include <zorba/util/locale.h>
2323
24#include "compiler/expression/ftnode.h"24#include "compiler/expression/ftnode.h"
25#include "store/api/item.h"25#include "store/api/item.h"
2626
=== modified file 'src/runtime/full_text/full_text_impl.cpp'
--- src/runtime/full_text/full_text_impl.cpp 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/full_text_impl.cpp 2013-06-13 01:24:25 +0000
@@ -15,7 +15,7 @@
15 */15 */
16#include "stdafx.h"16#include "stdafx.h"
1717
18#include <zorba/locale.h>18#include <zorba/util/locale.h>
1919
20#include "common/common.h"20#include "common/common.h"
21#include "store/api/ft_token_iterator.h"21#include "store/api/ft_token_iterator.h"
2222
=== modified file 'src/runtime/full_text/icu_tokenizer.cpp'
--- src/runtime/full_text/icu_tokenizer.cpp 2013-06-01 00:30:39 +0000
+++ src/runtime/full_text/icu_tokenizer.cpp 2013-06-13 01:24:25 +0000
@@ -33,10 +33,10 @@
33#include "diagnostics/xquery_exception.h"33#include "diagnostics/xquery_exception.h"
34#include "diagnostics/zorba_exception.h"34#include "diagnostics/zorba_exception.h"
35#include "util/ascii_util.h"35#include "util/ascii_util.h"
36#include "util/locale.h"
36#include "util/stl_util.h"37#include "util/stl_util.h"
37#include "util/unicode_util.h"38#include "util/unicode_util.h"
38#include "util/utf8_util.h"39#include "util/utf8_util.h"
39#include "zorbautils/locale.h"
40#include "zorbautils/mutex.h"40#include "zorbautils/mutex.h"
4141
42#include "icu_tokenizer.h"42#include "icu_tokenizer.h"
4343
=== modified file 'src/runtime/full_text/icu_tokenizer.h'
--- src/runtime/full_text/icu_tokenizer.h 2013-06-01 00:30:39 +0000
+++ src/runtime/full_text/icu_tokenizer.h 2013-06-13 01:24:25 +0000
@@ -21,8 +21,8 @@
2121
22#include <zorba/internal/cxx_util.h>22#include <zorba/internal/cxx_util.h>
23#include <zorba/internal/unique_ptr.h>23#include <zorba/internal/unique_ptr.h>
24#include <zorba/locale.h>
25#include <zorba/tokenizer.h>24#include <zorba/tokenizer.h>
25#include <zorba/util/locale.h>
2626
27namespace zorba {27namespace zorba {
2828
2929
=== modified file 'src/runtime/full_text/stemmer.cpp'
--- src/runtime/full_text/stemmer.cpp 2013-06-01 00:30:39 +0000
+++ src/runtime/full_text/stemmer.cpp 2013-06-13 01:24:25 +0000
@@ -17,7 +17,7 @@
1717
18#include <zorba/internal/cxx_util.h>18#include <zorba/internal/cxx_util.h>
1919
20#include "zorbautils/locale.h"20#include "util/locale.h"
21#include "zorbautils/mutex.h"21#include "zorbautils/mutex.h"
2222
23#include "stemmer.h"23#include "stemmer.h"
2424
=== modified file 'src/runtime/full_text/stemmer.h'
--- src/runtime/full_text/stemmer.h 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/stemmer.h 2013-06-13 01:24:25 +0000
@@ -22,7 +22,7 @@
22#ifndef ZORBA_NO_FULL_TEXT22#ifndef ZORBA_NO_FULL_TEXT
2323
24#include <zorba/internal/unique_ptr.h>24#include <zorba/internal/unique_ptr.h>
25#include <zorba/locale.h>25#include <zorba/util/locale.h>
2626
27#include "util/stl_util.h"27#include "util/stl_util.h"
28#include "zorbatypes/zstring.h"28#include "zorbatypes/zstring.h"
2929
=== modified file 'src/runtime/full_text/stemmer/sb_stemmer.cpp'
--- src/runtime/full_text/stemmer/sb_stemmer.cpp 2013-06-01 00:30:39 +0000
+++ src/runtime/full_text/stemmer/sb_stemmer.cpp 2013-06-13 01:24:25 +0000
@@ -17,8 +17,8 @@
1717
18#include <zorba/internal/cxx_util.h>18#include <zorba/internal/cxx_util.h>
1919
20#include "util/locale.h"
20#include "zorbautils/fatal.h"21#include "zorbautils/fatal.h"
21#include "zorbautils/locale.h"
2222
23#include "sb_stemmer.h"23#include "sb_stemmer.h"
2424
2525
=== modified file 'src/runtime/full_text/thesauri/iso2788.h'
--- src/runtime/full_text/thesauri/iso2788.h 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/thesauri/iso2788.h 2013-06-13 01:24:25 +0000
@@ -20,7 +20,7 @@
20#include <cstdlib> /* for abs(3) */20#include <cstdlib> /* for abs(3) */
21#include <iostream>21#include <iostream>
2222
23#include <zorba/locale.h>23#include <zorba/util/locale.h>
2424
25namespace zorba {25namespace zorba {
2626
2727
=== modified file 'src/runtime/full_text/thesauri/wn_thesaurus.cpp'
--- src/runtime/full_text/thesauri/wn_thesaurus.cpp 2013-06-01 00:30:39 +0000
+++ src/runtime/full_text/thesauri/wn_thesaurus.cpp 2013-06-13 01:24:25 +0000
@@ -30,11 +30,12 @@
30#include "system/globalenv.h"30#include "system/globalenv.h"
31#include "util/fs_util.h"31#include "util/fs_util.h"
32#include "util/less.h"32#include "util/less.h"
33#include "util/locale.h"
33#if DEBUG_FT_THESAURUS34#if DEBUG_FT_THESAURUS
34# include "util/oseparator.h"35# include "util/oseparator.h"
35#endif36#endif
36#include "util/utf8_util.h"37#include "util/utf8_util.h"
37#include "zorbautils/locale.h"38#include "system/globalenv.h"
3839
39#include "decode_base128.h"40#include "decode_base128.h"
40#include "wn_db_segment.h"41#include "wn_db_segment.h"
4142
=== modified file 'src/runtime/full_text/thesauri/xqftts_relationship.cpp'
--- src/runtime/full_text/thesauri/xqftts_relationship.cpp 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/thesauri/xqftts_relationship.cpp 2013-06-13 01:24:25 +0000
@@ -15,7 +15,7 @@
15 */15 */
16#include "stdafx.h"16#include "stdafx.h"
1717
18#include <zorba/locale.h>18#include <zorba/util/locale.h>
1919
20#include "util/utf8_util.h"20#include "util/utf8_util.h"
2121
2222
=== modified file 'src/runtime/full_text/thesaurus.h'
--- src/runtime/full_text/thesaurus.h 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/thesaurus.h 2013-06-13 01:24:25 +0000
@@ -17,8 +17,8 @@
17#ifndef ZORBA_THESAURUS_H17#ifndef ZORBA_THESAURUS_H
18#define ZORBA_THESAURUS_H18#define ZORBA_THESAURUS_H
1919
20#include <zorba/locale.h>
21#include <zorba/internal/unique_ptr.h>20#include <zorba/internal/unique_ptr.h>
21#include <zorba/util/locale.h>
2222
23#include "context/uri_resolver.h"23#include "context/uri_resolver.h"
24#include "util/stl_util.h"24#include "util/stl_util.h"
2525
=== modified file 'src/runtime/full_text/tokenizer.cpp'
--- src/runtime/full_text/tokenizer.cpp 2013-02-07 17:24:36 +0000
+++ src/runtime/full_text/tokenizer.cpp 2013-06-13 01:24:25 +0000
@@ -25,8 +25,8 @@
25#include "diagnostics/assert.h"25#include "diagnostics/assert.h"
26#include "store/api/store.h"26#include "store/api/store.h"
27#include "system/globalenv.h"27#include "system/globalenv.h"
28#include "util/locale.h"
28#include "zorbamisc/ns_consts.h"29#include "zorbamisc/ns_consts.h"
29#include "zorbautils/locale.h"
3030
31#include "ft_util.h"31#include "ft_util.h"
3232
3333
=== modified file 'src/runtime/sequences/sequences_impl.cpp'
--- src/runtime/sequences/sequences_impl.cpp 2013-06-11 05:40:04 +0000
+++ src/runtime/sequences/sequences_impl.cpp 2013-06-13 01:24:25 +0000
@@ -31,7 +31,7 @@
31// For timing31// For timing
32#include <zorba/util/time.h>32#include <zorba/util/time.h>
3333
34#include <zorba/transcode_stream.h>34#include <zorba/util/transcode_stream.h>
3535
36#include <util/fs_util.h>36#include <util/fs_util.h>
37#include <util/uri_util.h>37#include <util/uri_util.h>
3838
=== modified file 'src/runtime/uris/uris_impl.cpp'
--- src/runtime/uris/uris_impl.cpp 2013-06-05 00:37:35 +0000
+++ src/runtime/uris/uris_impl.cpp 2013-06-13 01:24:25 +0000
@@ -17,6 +17,8 @@
1717
18#include <algorithm>18#include <algorithm>
1919
20#include <zorba/util/transcode_stream.h>
21
20#include "common/common.h"22#include "common/common.h"
2123
22#include "diagnostics/assert.h"24#include "diagnostics/assert.h"
@@ -28,8 +30,6 @@
28#include "system/globalenv.h"30#include "system/globalenv.h"
29#include "store/api/item_factory.h"31#include "store/api/item_factory.h"
3032
31#include "zorba/transcode_stream.h"
32
33#include "util/uri_util.h"33#include "util/uri_util.h"
3434
35#include "zorbatypes/URI.h"35#include "zorbatypes/URI.h"
3636
=== modified file 'src/store/api/item.h'
--- src/store/api/item.h 2013-06-05 00:37:35 +0000
+++ src/store/api/item.h 2013-06-13 01:24:25 +0000
@@ -32,8 +32,8 @@
32#include "diagnostics/xquery_diagnostics.h"32#include "diagnostics/xquery_diagnostics.h"
3333
34#ifndef ZORBA_NO_FULL_TEXT34#ifndef ZORBA_NO_FULL_TEXT
35#include <zorba/locale.h>
36#include <zorba/tokenizer.h>35#include <zorba/tokenizer.h>
36#include <zorba/util/locale.h>
37#include "store/api/ft_token_iterator.h"37#include "store/api/ft_token_iterator.h"
38#endif /* ZORBA_NO_FULL_TEXT */38#endif /* ZORBA_NO_FULL_TEXT */
3939
4040
=== modified file 'src/store/naive/node_items.cpp'
--- src/store/naive/node_items.cpp 2013-04-23 10:58:29 +0000
+++ src/store/naive/node_items.cpp 2013-06-13 01:24:25 +0000
@@ -22,17 +22,17 @@
22#include <zorba/item.h>22#include <zorba/item.h>
2323
24#include "api/unmarshaller.h"24#include "api/unmarshaller.h"
25
26#include "diagnostics/assert.h"25#include "diagnostics/assert.h"
27#include "diagnostics/util_macros.h"26#include "diagnostics/util_macros.h"
28#include "diagnostics/xquery_diagnostics.h"27#include "diagnostics/xquery_diagnostics.h"
2928#ifndef ZORBA_NO_FULL_TEXT
29#include "util/locale.h"
30#endif /* ZORBA_NO_FULL_TEXT */
31#include "util/mem_sizeof.h"
32#include "util/stl_util.h"
33#include "util/string_util.h"
34#include "zorbamisc/ns_consts.h"
30#include "zorbatypes/URI.h"35#include "zorbatypes/URI.h"
31#ifndef ZORBA_NO_FULL_TEXT
32#include "zorbautils/locale.h"
33#endif /* ZORBA_NO_FULL_TEXT */
34
35#include "zorbamisc/ns_consts.h"
3636
37#include "store/api/copymode.h"37#include "store/api/copymode.h"
38#include "atomic_items.h"38#include "atomic_items.h"
@@ -48,10 +48,6 @@
48#include "dataguide.h"48#include "dataguide.h"
49#include "node_factory.h"49#include "node_factory.h"
5050
51#include "util/mem_sizeof.h"
52#include "util/stl_util.h"
53#include "util/string_util.h"
54
55#ifndef ZORBA_NO_FULL_TEXT51#ifndef ZORBA_NO_FULL_TEXT
56using namespace zorba::locale;52using namespace zorba::locale;
57#endif /* ZORBA_NO_FULL_TEXT */53#endif /* ZORBA_NO_FULL_TEXT */
5854
=== modified file 'src/store/naive/node_items.h'
--- src/store/naive/node_items.h 2013-05-21 21:44:25 +0000
+++ src/store/naive/node_items.h 2013-06-13 01:24:25 +0000
@@ -22,16 +22,16 @@
2222
23#include <store/api/item.h>23#include <store/api/item.h>
2424
25#include <diagnostics/assert.h>
26#include <zorba/config.h>25#include <zorba/config.h>
27#include <zorba/error.h>26#include <zorba/error.h>
28#ifndef ZORBA_NO_FULL_TEXT27#ifndef ZORBA_NO_FULL_TEXT
29#include <zorba/locale.h>
30#include <zorba/tokenizer.h>28#include <zorba/tokenizer.h>
29#include <zorba/util/locale.h>
31#endif /* ZORBA_NO_FULL_TEXT */30#endif /* ZORBA_NO_FULL_TEXT */
32#include <zorbatypes/zstring.h>31#include "diagnostics/assert.h"
33#include <zorbautils/fatal.h>32#include "zorbatypes/zstring.h"
34#include <zorbautils/hashfun.h>33#include "zorbautils/fatal.h"
34#include "zorbautils/hashfun.h"
3535
36#ifndef ZORBA_NO_FULL_TEXT36#ifndef ZORBA_NO_FULL_TEXT
37#include "ft_token_store.h"37#include "ft_token_store.h"
3838
=== modified file 'src/unit_tests/test_base64_streambuf.cpp'
--- src/unit_tests/test_base64_streambuf.cpp 2013-04-16 22:12:03 +0000
+++ src/unit_tests/test_base64_streambuf.cpp 2013-06-13 01:24:25 +0000
@@ -19,7 +19,7 @@
19#include <iostream>19#include <iostream>
20#include <sstream>20#include <sstream>
2121
22#include <zorba/base64_stream.h>22#include <zorba/util/base64_stream.h>
2323
24using namespace std;24using namespace std;
25using namespace zorba;25using namespace zorba;
2626
=== modified file 'src/unit_tests/test_time_parse.cpp'
--- src/unit_tests/test_time_parse.cpp 2013-03-12 03:46:25 +0000
+++ src/unit_tests/test_time_parse.cpp 2013-06-13 01:24:25 +0000
@@ -23,10 +23,10 @@
23#include <string>23#include <string>
2424
25#include "util/ascii_util.h"25#include "util/ascii_util.h"
26#include "util/locale.h"
26#include "util/stl_util.h"27#include "util/stl_util.h"
27#include "util/time_parse.h"28#include "util/time_parse.h"
28#include "zorbatypes/zstring.h"29#include "zorbatypes/zstring.h"
29#include "zorbautils/locale.h"
3030
31using namespace std;31using namespace std;
32using namespace zorba;32using namespace zorba;
3333
=== modified file 'src/unit_tests/unit_tests.cpp'
--- src/unit_tests/unit_tests.cpp 2013-05-31 03:38:45 +0000
+++ src/unit_tests/unit_tests.cpp 2013-06-13 01:24:25 +0000
@@ -15,21 +15,23 @@
15 */15 */
16#include "stdafx.h"16#include "stdafx.h"
1717
18#include <zorba/unit_tests.h>
19#include "unit_test_list.h"
20
21#include <map>18#include <map>
22#include <string>19#include <string>
23#include <iostream>20#include <iostream>
2421
2522#include <zorba/internal/unit_tests.h>
26typedef int (*libunittestfunc)(int , char*[]);23
24#include "unit_test_list.h"
25
26typedef int (*libunittestfunc)(int,char*[]);
2727
28using namespace std;28using namespace std;
2929
30namespace zorba {30namespace zorba {
31namespace UnitTests {31namespace UnitTests {
3232
33///////////////////////////////////////////////////////////////////////////////
34
33map<string,libunittestfunc> libunittests;35map<string,libunittestfunc> libunittests;
3436
35/**37/**
@@ -105,6 +107,7 @@
105 return (* iter->second)(argc, argv);107 return (* iter->second)(argc, argv);
106}108}
107109
110///////////////////////////////////////////////////////////////////////////////
108111
109} // namespace UnitTests112} // namespace UnitTests
110} // namespace zorba113} // namespace zorba
111114
=== modified file 'src/util/CMakeLists.txt'
--- src/util/CMakeLists.txt 2013-05-31 03:38:45 +0000
+++ src/util/CMakeLists.txt 2013-06-13 01:24:25 +0000
@@ -22,6 +22,7 @@
22 indent.cpp22 indent.cpp
23 json_parser.cpp23 json_parser.cpp
24 json_util.cpp24 json_util.cpp
25 locale.cpp
25 mem_streambuf.cpp26 mem_streambuf.cpp
26 stream_util.cpp27 stream_util.cpp
27 string_util.cpp28 string_util.cpp
2829
=== renamed file 'src/zorbautils/locale.cpp' => 'src/util/locale.cpp'
=== renamed file 'src/zorbautils/locale.h' => 'src/util/locale.h'
--- src/zorbautils/locale.h 2013-05-08 01:05:04 +0000
+++ src/util/locale.h 2013-06-13 01:24:25 +0000
@@ -19,7 +19,7 @@
1919
20#include <iostream>20#include <iostream>
2121
22#include <zorba/locale.h>22#include <zorba/util/locale.h>
2323
24#include "util/string_util.h"24#include "util/string_util.h"
25#include "zorbatypes/zstring.h"25#include "zorbatypes/zstring.h"
2626
=== modified file 'src/util/time_parse.cpp'
--- src/util/time_parse.cpp 2013-06-01 00:30:39 +0000
+++ src/util/time_parse.cpp 2013-06-13 01:24:25 +0000
@@ -24,8 +24,8 @@
24#include <zorba/internal/cxx_util.h>24#include <zorba/internal/cxx_util.h>
25#include "ascii_util.h"25#include "ascii_util.h"
26#include "string_util.h"26#include "string_util.h"
27#include "util/locale.h"
27#include "zorbatypes/zstring.h"28#include "zorbatypes/zstring.h"
28#include "zorbautils/locale.h"
2929
30// local30// local
31#include "time_parse.h"31#include "time_parse.h"
3232
=== modified file 'src/util/time_parse.h'
--- src/util/time_parse.h 2013-06-01 00:30:39 +0000
+++ src/util/time_parse.h 2013-06-13 01:24:25 +0000
@@ -25,7 +25,7 @@
25#include <zorba/internal/cxx_util.h>25#include <zorba/internal/cxx_util.h>
26#include "string_util.h"26#include "string_util.h"
27#include "time_util.h"27#include "time_util.h"
28#include "zorbautils/locale.h"28#include "util/locale.h"
2929
30namespace zorba {30namespace zorba {
31namespace time {31namespace time {
3232
=== modified file 'src/util/time_util.h'
--- src/util/time_util.h 2013-06-12 04:51:35 +0000
+++ src/util/time_util.h 2013-06-13 01:24:25 +0000
@@ -26,7 +26,7 @@
26// Zorba26// Zorba
27#include <zorba/config.h>27#include <zorba/config.h>
28#include <zorba/internal/cxx_util.h>28#include <zorba/internal/cxx_util.h>
29#include <zorba/time.h>29#include <zorba/util/calendar.h>
30#include "string_util.h"30#include "string_util.h"
3131
32#ifndef TM_YEAR_BASE32#ifndef TM_YEAR_BASE
3333
=== modified file 'src/util/transcode_streambuf.h'
--- src/util/transcode_streambuf.h 2013-02-07 17:24:36 +0000
+++ src/util/transcode_streambuf.h 2013-06-13 01:24:25 +0000
@@ -18,7 +18,7 @@
18#define ZORBA_TRANSCODE_STREAMBUF_H18#define ZORBA_TRANSCODE_STREAMBUF_H
1919
20#include <zorba/config.h>20#include <zorba/config.h>
21#include <zorba/transcode_stream.h>21#include <zorba/util/transcode_stream.h>
2222
23///////////////////////////////////////////////////////////////////////////////23///////////////////////////////////////////////////////////////////////////////
2424
2525
=== modified file 'src/zorbatypes/ft_token.cpp'
--- src/zorbatypes/ft_token.cpp 2013-06-01 00:30:39 +0000
+++ src/zorbatypes/ft_token.cpp 2013-06-13 01:24:25 +0000
@@ -22,10 +22,10 @@
22#include "diagnostics/assert.h"22#include "diagnostics/assert.h"
23#include "runtime/full_text/ft_wildcard.h"23#include "runtime/full_text/ft_wildcard.h"
24#include "runtime/full_text/stemmer.h"24#include "runtime/full_text/stemmer.h"
25#include "util/locale.h"
25#include "util/stl_util.h"26#include "util/stl_util.h"
26#include "util/unicode_util.h"27#include "util/unicode_util.h"
27#include "util/utf8_util.h"28#include "util/utf8_util.h"
28#include "zorbautils/locale.h"
2929
30#include "ft_token.h"30#include "ft_token.h"
3131
3232
=== modified file 'src/zorbatypes/ft_token.h'
--- src/zorbatypes/ft_token.h 2013-06-01 00:30:39 +0000
+++ src/zorbatypes/ft_token.h 2013-06-13 01:24:25 +0000
@@ -21,7 +21,7 @@
21#include <vector>21#include <vector>
2222
23#include <zorba/internal/cxx_util.h>23#include <zorba/internal/cxx_util.h>
24#include <zorba/locale.h>24#include <zorba/util/locale.h>
2525
26#include "zorbatypes/zstring.h"26#include "zorbatypes/zstring.h"
2727
2828
=== modified file 'src/zorbautils/CMakeLists.txt'
--- src/zorbautils/CMakeLists.txt 2013-02-07 17:24:36 +0000
+++ src/zorbautils/CMakeLists.txt 2013-06-13 01:24:25 +0000
@@ -20,7 +20,6 @@
20 mutex.cpp20 mutex.cpp
21 condition.cpp21 condition.cpp
22 latch.cpp22 latch.cpp
23 locale.cpp
24 lock.cpp23 lock.cpp
25 runnable.cpp24 runnable.cpp
26 synchronous_logger.cpp25 synchronous_logger.cpp
2726
=== modified file 'test/unit/lib_unit_test.cpp'
--- test/unit/lib_unit_test.cpp 2013-02-07 17:24:36 +0000
+++ test/unit/lib_unit_test.cpp 2013-06-13 01:24:25 +0000
@@ -17,11 +17,11 @@
1717
18#include <zorba/zorba.h>18#include <zorba/zorba.h>
19#include <zorba/store_manager.h>19#include <zorba/store_manager.h>
20#include <zorba/unit_tests.h>20#include <zorba/internal/unit_tests.h>
2121
22/**22/**
23 * This is the main entry point for unit tests which require a running23 * This is the main entry point for unit tests that require a running
24 * Zorba instance, and which execute inside of libzorba.24 * Zorba instance and execute inside of libzorba.
25 */25 */
2626
27using namespace zorba;27using namespace zorba;

Subscribers

People subscribed via source and target branches