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

2012-08-03 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-1025566-2012-08-03T05-46-02.016Z/log.html
-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


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

2012-08-03 Thread Zorba Build Bot
Validation queue job bug-1025566-2012-08-03T05-46-02.016Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


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

2012-08-03 Thread noreply
The proposal to merge lp:~davidagraf/zorba/bug-1025566 into lp:zorba has been 
updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


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

2012-08-02 Thread David Graf
David Graf has proposed merging lp:~davidagraf/zorba/bug-1025566 into lp:zorba.

Requested reviews:
  Chris Hillery (ceejatec)

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914

tmp fix for testdriver_mt to make it work with boost 1.50. I lost the patience 
:-).
-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'test/rbkt/testdriver_mt.cpp'
--- test/rbkt/testdriver_mt.cpp	2012-07-24 08:48:48 +
+++ test/rbkt/testdriver_mt.cpp	2012-08-02 14:46:26 +
@@ -44,8 +44,6 @@
 #include testdriver_comparator.h
 #include testdriver_common.h
 
-#define BOOST_FILESYSTEM_VERSION 2
-
 // These are included last because they define the stdint.h's INTMAX_C and UINTMAX_C
 #include boost/filesystem/operations.hpp
 #include boost/filesystem/path.hpp
@@ -233,25 +231,45 @@
 /
 void createPath(const fs::path filePath, std::ofstream fileStream)
 {
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
   fileStream.open(filePath.file_string().c_str());
+#else
+  fileStream.open(filePath.generic_string().c_str());
+#endif
   if (!fileStream.good())
   {
 fs::path dirPath = filePath;
 dirPath = dirPath.remove_leaf();
 
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
 if (!fs::exists(dirPath.file_string()))
+#else
+if (!fs::exists(dirPath.generic_string()))
+#endif
 {
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
   fs::create_directories(dirPath.file_string());
+#else
+  fs::create_directories(dirPath.generic_string());
+#endif
 
   // clear the bad flag on windows, which for some unknown reason doesn't reset when opening a file again
   fileStream.clear(); 
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
   fileStream.open(filePath.file_string().c_str());
+#else
+  fileStream.open(filePath.generic_string().c_str());
+#endif
 }
 
 if (!fileStream.good())
 {
   std::cerr  Could not open file:  
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
  filePath.file_string()  std::endl;
+#else
+ filePath.generic_string()  std::endl;
+#endif
   abort();
 }
   }
@@ -380,7 +398,11 @@
 relativeQueryFile = queries-theQueryFilenames[queryNo];
 queryPath = fs::path(queries-theQueriesDir) / (relativeQueryFile);
 
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
 std::string testName = fs::change_extension(queryPath, ).file_string();
+#else
+std::string testName = fs::change_extension(queryPath, ).generic_string();
+#endif
 ulong pos = testName.find(Queries);
 testName = testName.substr(pos + 8);
 
@@ -393,7 +415,11 @@
 // exprected errors, or the pathnames of reference-result files.
 specPath = fs::change_extension(queryPath, .spec);
 if (fs::exists(specPath))
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
   querySpec.parseFile(specPath.file_string(), rbkt_src_dir, rbkt_bin_dir); 
+#else
+  querySpec.parseFile(specPath.generic_string(), rbkt_src_dir, rbkt_bin_dir);
+#endif
 
 // Get the pathnames of the ref-result files found in the .spec file (if any).
 // If no ref-results file was specified in the .spec file, create a default
@@ -494,14 +520,22 @@
 setModulePaths(module_path, sctx);
 
 // Set the error file to be used by the error handler for the current query
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
 errHandler.setErrorFile(errorFilePath.file_string());
+#else
+errHandler.setErrorFile(errorFilePath.generic_string());
+#endif
 
 //
 // Compile the query, if it has not been compiled already. 
 //
 if (queries-theQueryObjects[queryNo] == 0)
 {
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
   slurp_file(queryPath.file_string().c_str(),
+#else
+  slurp_file(queryPath.generic_string().c_str(),
+#endif
  queryString,
  rbkt_src_dir,
  rbkt_bin_dir);
@@ -509,7 +543,11 @@
   try
   {
 query = zorba-createQuery(errHandler);
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
 query-setFileName(queryPath.file_string());
+#else
+query-setFileName(queryPath.generic_string());
+#endif
 query-compile(queryString.c_str(), sctx, getCompilerHints());
   }
   catch(...)
@@ -632,8 +670,13 @@
   ulong i;
   for (i = 0; i  refFilePaths.size(); i++) 
   {
+#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
 std::string refFilePath = refFilePaths[i].file_string();
 std::string resFilePath = resultFilePath.file_string();
+#else
+std::string 

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

2012-08-02 Thread Chris Hillery
Review: Approve


-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


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

2012-08-02 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/bug-1025566-2012-08-03T00-17-01.009Z/log.html
-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


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

2012-08-02 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 1 Approve.
-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


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

2012-08-02 Thread David Graf
Review: Approve


-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


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

2012-08-02 Thread David Graf
The proposal to merge lp:~davidagraf/zorba/bug-1025566 into lp:zorba has been 
updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
-- 
https://code.launchpad.net/~davidagraf/zorba/bug-1025566/+merge/117914
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp