Boost logo

Boost-Commit :

From: mconsoni_at_[hidden]
Date: 2007-06-26 20:49:21


Author: mconsoni
Date: 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
New Revision: 7188
URL: http://svn.boost.org/trac/boost/changeset/7188

Log:
- tabs were converted to 8 spaces, as Boost doesn't allow them.

Text files modified:
   sandbox/libs/extension/examples/info/im/im_main.cpp | 8 ++--
   sandbox/libs/extension/examples/info/im/plugins.cpp | 56 ++++++++++++++++++++--------------------
   sandbox/libs/extension/examples/info/multilanguage_hello_world.cpp | 2
   sandbox/libs/extension/examples/info/multilanguage_main.cpp | 14 +++++-----
   sandbox/libs/extension/examples/main.cpp | 4 +-
   sandbox/libs/extension/examples/multiple_inheritance/main_mi.cpp | 6 ++--
   sandbox/libs/extension/examples/parameters/lots_of_parameters.cpp | 2
   sandbox/libs/extension/examples/parameters/lots_of_parameters_interface.hpp | 2
   sandbox/libs/extension/examples/parameters/main_lp.cpp | 2
   sandbox/libs/extension/examples/registry/registry_example.cpp | 12 ++++----
   sandbox/libs/extension/examples/versioning/hello_world_versions.cpp | 4 +-
   sandbox/libs/extension/examples/versioning/main_versions.cpp | 14 +++++-----
   sandbox/libs/extension/test/factory_test.cpp | 16 +++++-----
   sandbox/libs/extension/test/hello_world_test.cpp | 2
   sandbox/libs/extension/test/lib_caching_test.cpp | 48 +++++++++++++++++-----------------
   sandbox/libs/extension/test/multiple_inheritance_test.cpp | 22 +++++++-------
   sandbox/libs/extension/test/parameters_test.cpp | 6 ++--
   sandbox/libs/extension/test/versions_test.cpp | 10 +++---
   sandbox/libs/extension/test/zone_test.cpp | 8 ++--
   19 files changed, 119 insertions(+), 119 deletions(-)

Modified: sandbox/libs/extension/examples/info/im/im_main.cpp
==============================================================================
--- sandbox/libs/extension/examples/info/im/im_main.cpp (original)
+++ sandbox/libs/extension/examples/info/im/im_main.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -31,7 +31,7 @@
 
   // load the shared library with
   load_single_library(fm, "libIMPlugins.extension",
- "extension_export_plugins");
+ "extension_export_plugins");
 
   // get a reference to the list of constructors for protocols
   std::list< factory<protocol, boost::shared_ptr<network_parameters> > > &
@@ -60,7 +60,7 @@
   // server
   std::cout << "MSN hostname: " << msn_parameters->hostname() << std::endl;
   std::cout << "Jabber hostname: " << jabber_parameters->hostname()
- << std::endl;
+ << std::endl;
   std::cout << std::endl;
 
   // http_mode: note that one of the implementations doesn't support it,
@@ -76,12 +76,12 @@
   MSN_ptr->login("testuser", "testpass");
   Jabber_ptr->login("testuser", "testpass");
   std::cout << std::endl;
-
+
   // send message
   MSN_ptr->send("hi");
   Jabber_ptr->send("hi");
   std::cout << std::endl;
-
+
   // change status
   MSN_ptr->change_status("away");
   Jabber_ptr->change_status("away");

Modified: sandbox/libs/extension/examples/info/im/plugins.cpp
==============================================================================
--- sandbox/libs/extension/examples/info/im/plugins.cpp (original)
+++ sandbox/libs/extension/examples/info/im/plugins.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -22,42 +22,42 @@
 class MSN : public protocol
 {
 public:
- virtual void login(const std::string &user, const std::string &pass) {
- std::cout << "MSN: Logged In" << std::endl;
- }
- virtual void send(const std::string &msg) {
- std::cout << "MSN: message [" << msg << "] sent" << std::endl;
- }
- virtual std::string receive(void) {
- return std::string("MSN: hello! msg received");
- }
- virtual void change_status(const std::string &new_status) {
- std::cout << "MSN: Status changed to [" << new_status << "]"
- << std::endl;
- }
+ virtual void login(const std::string &user, const std::string &pass) {
+ std::cout << "MSN: Logged In" << std::endl;
+ }
+ virtual void send(const std::string &msg) {
+ std::cout << "MSN: message [" << msg << "] sent" << std::endl;
+ }
+ virtual std::string receive(void) {
+ return std::string("MSN: hello! msg received");
+ }
+ virtual void change_status(const std::string &new_status) {
+ std::cout << "MSN: Status changed to [" << new_status << "]"
+ << std::endl;
+ }
 
- virtual ~MSN(void) {}
+ virtual ~MSN(void) {}
 };
 
 // Jabber protocol implementation
 class Jabber : public protocol
 {
 public:
- virtual void login(const std::string &user, const std::string &pass) {
- std::cout << "Jabber: Logged In" << std::endl;
- }
- virtual void send(const std::string &msg) {
- std::cout << "Jabber: message [" << msg << "] sent" << std::endl;
- }
- virtual std::string receive(void) {
- return std::string("Jabber: hello! msg received");
- }
- virtual void change_status(const std::string &new_status) {
- std::cout << "Jabber: Status changed to [" << new_status << "]"
- << std::endl;
- }
+ virtual void login(const std::string &user, const std::string &pass) {
+ std::cout << "Jabber: Logged In" << std::endl;
+ }
+ virtual void send(const std::string &msg) {
+ std::cout << "Jabber: message [" << msg << "] sent" << std::endl;
+ }
+ virtual std::string receive(void) {
+ return std::string("Jabber: hello! msg received");
+ }
+ virtual void change_status(const std::string &new_status) {
+ std::cout << "Jabber: Status changed to [" << new_status << "]"
+ << std::endl;
+ }
 
- virtual ~Jabber(void) {}
+ virtual ~Jabber(void) {}
 };
 
 

Modified: sandbox/libs/extension/examples/info/multilanguage_hello_world.cpp
==============================================================================
--- sandbox/libs/extension/examples/info/multilanguage_hello_world.cpp (original)
+++ sandbox/libs/extension/examples/info/multilanguage_hello_world.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -73,7 +73,7 @@
   fm.add<monde, word, word_description>(word_description("french", "world!"));
 
   fm.add<buonasera, word, word_description>(word_description("italian",
- "hello"));
+ "hello"));
   fm.add<mondo, word, word_description>(word_description("italian", "world!"));
 
   fm.add<hello, word, word_description>(word_description("english", "hello"));

Modified: sandbox/libs/extension/examples/info/multilanguage_main.cpp
==============================================================================
--- sandbox/libs/extension/examples/info/multilanguage_main.cpp (original)
+++ sandbox/libs/extension/examples/info/multilanguage_main.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -21,24 +21,24 @@
 {
   using namespace boost::extensions;
   // Create the factory_map object - it will hold all of the available
- // constructors. Multiple factory_maps can be constructed.
+ // constructors. Multiple factory_maps can be constructed.
   factory_map fm;
   
   // load the shared library with
   load_single_library(fm, "libMultilanguageHelloWorld.extension",
- "extension_export_multilanguage_word");
+ "extension_export_multilanguage_word");
   // Get a reference to the list of constructors for words.
   std::list<factory<word, word_description> > & factory_list =
     fm.get<word, word_description>();
   
   if (factory_list.size() < 4+4) {
     std::cout << "Error - the classes were not found ("
- << factory_list.size() << " classes)" << std::endl;
+ << factory_list.size() << " classes)" << std::endl;
     return 1;
   }
 
   for (std::list<factory<word, word_description> >::iterator current_word =
- factory_list.begin(); current_word != factory_list.end();
+ factory_list.begin(); current_word != factory_list.end();
        ++current_word) {
       // Using auto_ptr to avoid needing delete. Using smart_ptrs
       // is recommended.
@@ -46,9 +46,9 @@
       // constructors with up to six arguments can be used.
       std::auto_ptr<word> word_ptr(current_word->create());
       std::cout << word_ptr->get_val() << " is "
- << current_word->get_info().english_translation
- << " in " << current_word->get_info().language
- << std::endl;
+ << current_word->get_info().english_translation
+ << " in " << current_word->get_info().language
+ << std::endl;
   }
   std::cout << std::endl;
   

Modified: sandbox/libs/extension/examples/main.cpp
==============================================================================
--- sandbox/libs/extension/examples/main.cpp (original)
+++ sandbox/libs/extension/examples/main.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -23,13 +23,13 @@
   factory_map fm;
   // load the shared library with
   load_single_library(fm, "libHelloWorldLib.extension",
- "extension_export_word");
+ "extension_export_word");
   // Get a reference to the list of constructors for words.
   std::list<factory<word, int> > & factory_list = fm.get<word, int>();
   if (factory_list.size() < 2)
     std::cout << "Error - the classes were not found.";
   for (std::list<factory<word, int> >::iterator current_word =
- factory_list.begin(); current_word != factory_list.end();
+ factory_list.begin(); current_word != factory_list.end();
        ++current_word)
   {
     // Using auto_ptr to avoid needing delete. Using smart_ptrs is

Modified: sandbox/libs/extension/examples/multiple_inheritance/main_mi.cpp
==============================================================================
--- sandbox/libs/extension/examples/multiple_inheritance/main_mi.cpp (original)
+++ sandbox/libs/extension/examples/multiple_inheritance/main_mi.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -33,7 +33,7 @@
   load_single_library(twilight, "libBoat.extension", "extension_export");
   load_single_library(twilight, "libFlyingCar.extension", "extension_export");
   load_single_library(twilight, "libCarOfTheFuture.extension",
- "extension_export");
+ "extension_export");
   load_single_library(twilight, "libPlane.extension", "extension_export");
   // load_all_libraries(twilight, "./", "extension_export_word");
   // Get a reference to the list of constructors.
@@ -47,7 +47,7 @@
   if (factory_list.size() < 1)
     std::cout << "Error - no computers were found.";
   for (std::list<factory<computer, std::string> >::iterator comp =
- factory_list.begin(); comp != factory_list.end(); ++comp)
+ factory_list.begin(); comp != factory_list.end(); ++comp)
   {
     // Using auto_ptr to avoid needing delete. Using smart_ptrs is
     // recommended.
@@ -69,7 +69,7 @@
   if (factory_list2.size() < 1)
     std::cout << "Error - no vehicles were found.";
   for (std::list<factory<vehicle, std::string> >::iterator comp =
- factory_list2.begin(); comp != factory_list2.end(); ++comp)
+ factory_list2.begin(); comp != factory_list2.end(); ++comp)
   {
     // Using auto_ptr to avoid needing delete. Using smart_ptrs is
     // recommended.

Modified: sandbox/libs/extension/examples/parameters/lots_of_parameters.cpp
==============================================================================
--- sandbox/libs/extension/examples/parameters/lots_of_parameters.cpp (original)
+++ sandbox/libs/extension/examples/parameters/lots_of_parameters.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -18,7 +18,7 @@
 {
 public:
   six_parameters(bool b, unsigned int i, char c, std::string s, A a,
- boost::shared_ptr<A> ptr_a)
+ boost::shared_ptr<A> ptr_a)
     : lots_of_parameters_interface(b, i, c, s, a, ptr_a)
   {
     std::cout << "Constructor called." << std::endl << std::endl;

Modified: sandbox/libs/extension/examples/parameters/lots_of_parameters_interface.hpp
==============================================================================
--- sandbox/libs/extension/examples/parameters/lots_of_parameters_interface.hpp (original)
+++ sandbox/libs/extension/examples/parameters/lots_of_parameters_interface.hpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -25,7 +25,7 @@
 {
 public:
   lots_of_parameters_interface(bool b, unsigned int i, char c, std::string s,
- A a, boost::shared_ptr<A> ptr_a) {}
+ A a, boost::shared_ptr<A> ptr_a) {}
   virtual ~lots_of_parameters_interface(void) {}
 };
 

Modified: sandbox/libs/extension/examples/parameters/main_lp.cpp
==============================================================================
--- sandbox/libs/extension/examples/parameters/main_lp.cpp (original)
+++ sandbox/libs/extension/examples/parameters/main_lp.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -41,7 +41,7 @@
     factory_list.begin();
   std::auto_ptr< lots_of_parameters_interface >
     par_ptr(par->create(true, 4, 'c', "test", A(2),
- boost::shared_ptr<A>(new A(15))));
+ boost::shared_ptr<A>(new A(15))));
 
   return 0;
 }

Modified: sandbox/libs/extension/examples/registry/registry_example.cpp
==============================================================================
--- sandbox/libs/extension/examples/registry/registry_example.cpp (original)
+++ sandbox/libs/extension/examples/registry/registry_example.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -32,14 +32,14 @@
       if (strcmp(value = w->get_val(), "First Time") != 0)
       {
         std::cout << "The string's value should have been \"First Time\" "
- << "but was: "
+ << "but was: "
                   << value << std::endl;
         return -1;
       }
       if (strcmp(value = w->get_val(), "Second Time") != 0)
       {
         std::cout << "The string's value should have been \"Second Time\" "
- << "but was: "
+ << "but was: "
                   << value << std::endl;
         return -1;
       }
@@ -66,15 +66,15 @@
       if (strcmp(value = w->get_val(), "First Time") != 0)
       {
         std::cout << "The string's value should have been \"First Time\" "
- << "but was: "
- << value << std::endl;
+ << "but was: "
+ << value << std::endl;
         return -1;
       }
       if (strcmp(value = w->get_val(), "Second Time") != 0)
       {
         std::cout << "The string's value should have been \"Second Time\" "
- << "but was: "
- << value << std::endl;
+ << "but was: "
+ << value << std::endl;
         return -1;
       }
     }

Modified: sandbox/libs/extension/examples/versioning/hello_world_versions.cpp
==============================================================================
--- sandbox/libs/extension/examples/versioning/hello_world_versions.cpp (original)
+++ sandbox/libs/extension/examples/versioning/hello_world_versions.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -26,6 +26,6 @@
 extern "C" void BOOST_EXTENSION_EXPORT_DECL
 extension_export_word(boost::extensions::factory_map & fm)
 {
- fm.add<hello, word, int>(21); // int could be used as version (v2 word 1)
- fm.add<world, word, int>(22); // int could be used as version (v2 word 2)
+ fm.add<hello, word, int>(21); // int could be used as version (v2 word 1)
+ fm.add<world, word, int>(22); // int could be used as version (v2 word 2)
 }

Modified: sandbox/libs/extension/examples/versioning/main_versions.cpp
==============================================================================
--- sandbox/libs/extension/examples/versioning/main_versions.cpp (original)
+++ sandbox/libs/extension/examples/versioning/main_versions.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -30,15 +30,15 @@
 
   // load hello world first version
   load_single_library(fm, "libHelloWorldLib.extension",
- "extension_export_word");
+ "extension_export_word");
 
   // load hello world second version
   load_single_library(fm, "libHelloWorldLibv2.extension",
- "extension_export_word");
+ "extension_export_word");
 
   // load hello world second version again
   load_single_library(fm, "libHelloWorldLibv2.extension",
- "extension_export_word");
+ "extension_export_word");
 
   // load salute library (with hello included)
   load_single_library(fm, "libSaluteLib.extension", "extension_export_salute");
@@ -48,13 +48,13 @@
 
   if (factory_list.size() < 6) {
     std::cout << "Error - the classes were not found ("
- << factory_list.size() << " classes)" << std::endl;
+ << factory_list.size() << " classes)" << std::endl;
     return 1;
   }
 
   std::cout << "words: " << std::endl;
   for (std::list<factory<word, int> >::iterator current_word =
- factory_list.begin();
+ factory_list.begin();
        current_word != factory_list.end(); ++current_word)
     {
       // Using auto_ptr to avoid needing delete. Using smart_ptrs is
@@ -73,13 +73,13 @@
 
   if (salute_factory_list.size() < 2) {
     std::cout << "Error - the classes were not found ("
- << salute_factory_list.size() << " classes)" << std::endl;
+ << salute_factory_list.size() << " classes)" << std::endl;
     return 1;
   }
 
   std::cout << "salutes: " << std::endl;
   for (std::list<factory<salute, int> >::iterator current_salute =
- salute_factory_list.begin();
+ salute_factory_list.begin();
        current_salute != salute_factory_list.end(); ++current_salute)
     {
       // Using auto_ptr to avoid needing delete. Using smart_ptrs is

Modified: sandbox/libs/extension/test/factory_test.cpp
==============================================================================
--- sandbox/libs/extension/test/factory_test.cpp (original)
+++ sandbox/libs/extension/test/factory_test.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -30,12 +30,12 @@
   factory_map z;
   setup_zone(z);
   std::vector<factory<fruit, std::string, int, int> >
- f1(z.get<fruit, std::string, int, int>().begin(),
- z.get<fruit, std::string, int, int>().end());
+ f1(z.get<fruit, std::string, int, int>().begin(),
+ z.get<fruit, std::string, int, int>().end());
 
   std::list<factory<fruit, std::string, int, int> >
- f2(z.get<fruit, std::string, int, int>().begin(),
- z.get<fruit, std::string, int, int>().end());
+ f2(z.get<fruit, std::string, int, int>().begin(),
+ z.get<fruit, std::string, int, int>().end());
   std::list<factory<fruit, std::string, int, int> > f3(z);
   std::list<factory<fruit, std::string, int, int> > f4 = z;
   BOOST_CHECK_EQUAL(f1.size(), f2.size());
@@ -48,10 +48,10 @@
   factory_map z;
   setup_zone(z);
   std::vector<factory<fruit, std::string, int, int> >
- f1(z.get<fruit, std::string, int, int>().begin(),
- z.get<fruit, std::string, int, int>().end());
+ f1(z.get<fruit, std::string, int, int>().begin(),
+ z.get<fruit, std::string, int, int>().end());
   std::vector<factory<fruit, std::string, int, int> >::iterator
- it = f1.begin();
+ it = f1.begin();
 
   std::auto_ptr<fruit> first(it->create(0, 1));
   std::auto_ptr<fruit> second((++it)->create(0, 1));
@@ -60,7 +60,7 @@
   BOOST_CHECK_EQUAL((second->get_cost()), 7);
   BOOST_CHECK_EQUAL((third->get_cost()), 18);
   BOOST_CHECK_EQUAL(typeid(*first.get()).name(),
- typeid(apple).name());
+ typeid(apple).name());
   BOOST_CHECK_EQUAL(typeid(*second.get()).name(), typeid(banana).name());
   BOOST_CHECK_EQUAL(typeid(*third.get()).name(), typeid(nectarine).name());
   BOOST_CHECK(typeid(*third.get()).name() != typeid(banana).name());

Modified: sandbox/libs/extension/test/hello_world_test.cpp
==============================================================================
--- sandbox/libs/extension/test/hello_world_test.cpp (original)
+++ sandbox/libs/extension/test/hello_world_test.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -30,7 +30,7 @@
   // check if the factory can return the functor
   factory_map fm;
   functor<void, factory_map &> load_func =
- l.get_functor<void, factory_map &>("extension_export_word");
+ l.get_functor<void, factory_map &>("extension_export_word");
   BOOST_CHECK_EQUAL( load_func.is_valid(), true );
 
   load_func(fm);

Modified: sandbox/libs/extension/test/lib_caching_test.cpp
==============================================================================
--- sandbox/libs/extension/test/lib_caching_test.cpp (original)
+++ sandbox/libs/extension/test/lib_caching_test.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -32,35 +32,35 @@
 BOOST_AUTO_TEST_CASE(lib_caching_test)
 {
   if(boost::filesystem::exists(BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldCache.extension")) {
+ "libHelloWorldCache.extension")) {
     boost::filesystem::remove(BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldCache.extension");
+ "libHelloWorldCache.extension");
   }
   boost::filesystem::copy_file(BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldLib.extension",
- BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldCache.extension");
+ "libHelloWorldLib.extension",
+ BOOST_EXTENSION_LIBS_DIRECTORY
+ "libHelloWorldCache.extension");
 
   {
     // load the first version
     shared_library l((std::string("libHelloWorldCache")
- + ".extension").c_str());
+ + ".extension").c_str());
     BOOST_CHECK_EQUAL( l.open(), true );
     {
 
       // check if the factory can return the functor
       factory_map fm;
       functor<void, factory_map &> load_func = l.get_functor<void,
- factory_map &>("extension_export_word");
+ factory_map &>("extension_export_word");
       BOOST_CHECK_EQUAL( load_func.is_valid(), true );
-
+
       load_func(fm);
 
       std::list<factory<word, int> > & factory_list = fm.get<word, int>();
       BOOST_CHECK_EQUAL( factory_list.size(), 2U );
 
       std::list<factory<word, int> >::iterator current_word =
- factory_list.begin();
+ factory_list.begin();
 
       std::auto_ptr<word> hello_word_ptr(current_word->create());
       BOOST_CHECK_EQUAL( !hello_word_ptr.get(), 0 );
@@ -81,23 +81,23 @@
 
   // replace the loaded library and try to reload
   boost::filesystem::remove(BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldCache.extension");
+ "libHelloWorldCache.extension");
   boost::filesystem::copy_file(BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldLibv2.extension",
- BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldCache.extension");
+ "libHelloWorldLibv2.extension",
+ BOOST_EXTENSION_LIBS_DIRECTORY
+ "libHelloWorldCache.extension");
 
   {
     // load the second version
     shared_library l((std::string("libHelloWorldCache")
- + ".extension").c_str());
+ + ".extension").c_str());
     BOOST_CHECK_EQUAL( l.open(), true );
 
     {
       // check if the factory can return the functor
       factory_map fm;
       functor<void, factory_map &> load_func = l.get_functor<void,
- factory_map &>("extension_export_word");
+ factory_map &>("extension_export_word");
       BOOST_CHECK_EQUAL( load_func.is_valid(), true );
 
       load_func(fm);
@@ -105,12 +105,12 @@
       // check if we can get the word list
       std::list<factory<word, int> > & factory_list = fm.get<word, int>();
       BOOST_CHECK_EQUAL( factory_list.size(), 2U );
-
+
       // iterate trough the classes and execute get_val method
       // to obtain the correct words
       std::list<factory<word, int> >::iterator current_word =
- factory_list.begin();
-
+ factory_list.begin();
+
       std::auto_ptr<word> hello_word_ptr(current_word->create());
       BOOST_CHECK_EQUAL( !hello_word_ptr.get(), 0 );
 
@@ -131,14 +131,14 @@
   {
     // load the library again and remove it when loaded
     shared_library l((std::string("libHelloWorldCache")
- + ".extension").c_str());
+ + ".extension").c_str());
     BOOST_CHECK_EQUAL( l.open(), true );
 
     {
       // check if the factory can return the functor
       factory_map fm;
       functor<void, factory_map &> load_func = l.get_functor<void,
- factory_map &>("extension_export_word");
+ factory_map &>("extension_export_word");
       BOOST_CHECK_EQUAL( load_func.is_valid(), true );
 
       load_func(fm);
@@ -146,12 +146,12 @@
       // check if we can get the word list
       std::list<factory<word, int> > & factory_list = fm.get<word, int>();
       BOOST_CHECK_EQUAL( factory_list.size(), 2U );
-
+
       // iterate trough the classes and execute get_val method
       // to obtain the correct words
       std::list<factory<word, int> >::iterator current_word =
- factory_list.begin();
-
+ factory_list.begin();
+
       std::auto_ptr<word> hello_word_ptr(current_word->create());
       BOOST_CHECK_EQUAL( !hello_word_ptr.get(), 0 );
 
@@ -161,7 +161,7 @@
       ++current_word;
 
       boost::filesystem::remove(BOOST_EXTENSION_LIBS_DIRECTORY
- "libHelloWorldCache.extension");
+ "libHelloWorldCache.extension");
 
       std::auto_ptr<word> world_word_ptr(current_word->create());
       BOOST_CHECK_EQUAL( !world_word_ptr.get(), 0 );

Modified: sandbox/libs/extension/test/multiple_inheritance_test.cpp
==============================================================================
--- sandbox/libs/extension/test/multiple_inheritance_test.cpp (original)
+++ sandbox/libs/extension/test/multiple_inheritance_test.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -44,15 +44,15 @@
 
   // check if the libraries can be loaded
   shared_library libVehicle((std::string("libVehicle")
- + ".extension").c_str());
+ + ".extension").c_str());
   shared_library libCar((std::string("libCar") + ".extension").c_str());
   shared_library libComputer((std::string("libComputer")
- + ".extension").c_str());
+ + ".extension").c_str());
   shared_library libBoat((std::string("libBoat") + ".extension").c_str());
   shared_library libFlyingCar((std::string("libFlyingCar")
- + ".extension").c_str());
+ + ".extension").c_str());
   shared_library libCarOfTheFuture((std::string("libCarOfTheFuture")
- + ".extension").c_str());
+ + ".extension").c_str());
   shared_library libPlane((std::string("libPlane") + ".extension").c_str());
   BOOST_CHECK_EQUAL( libVehicle.open(), true );
   BOOST_CHECK_EQUAL( libCar.open(), true );
@@ -119,7 +119,7 @@
   std::auto_ptr<vehicle> v1_ptr(v->create());
   BOOST_CHECK_EQUAL( v->get_info(), "A vehicle exported as a vehicle" );
   BOOST_CHECK_EQUAL( v1_ptr->list_capabilities(),
- "\nIt is some sort of vehicle." );
+ "\nIt is some sort of vehicle." );
 
   ++v;
 
@@ -141,19 +141,19 @@
   std::auto_ptr<vehicle> v4_ptr(v->create());
   BOOST_CHECK_EQUAL( v->get_info(), "A flying car exported as a vehicle");
   BOOST_CHECK_EQUAL( v4_ptr->list_capabilities(),
- "\nIt travels on roads.\nIt flies in the air.\n"
- "It takes off from your driveway" );
+ "\nIt travels on roads.\nIt flies in the air.\n"
+ "It takes off from your driveway" );
 
   ++v;
 
   // a car of the future as a vehicle
   std::auto_ptr<vehicle> v5_ptr(v->create());
   BOOST_CHECK_EQUAL( v->get_info(), "A car of the future exported as "
- "a vehicle" );
+ "a vehicle" );
   BOOST_CHECK_EQUAL( v5_ptr->list_capabilities(), "\nIt floats on water.\n"
- "It travels on roads.\nIt flies in the air.\n"
- "It takes off from your driveway\nIt computes.\n"
- "Costs an arm and a leg" );
+ "It travels on roads.\nIt flies in the air.\n"
+ "It takes off from your driveway\nIt computes.\n"
+ "Costs an arm and a leg" );
 
   ++v;
 

Modified: sandbox/libs/extension/test/parameters_test.cpp
==============================================================================
--- sandbox/libs/extension/test/parameters_test.cpp (original)
+++ sandbox/libs/extension/test/parameters_test.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -38,18 +38,18 @@
   // check if we can get the parameter list
   std::list<factory<lots_of_parameters_interface, int, bool, unsigned int,
     char, std::string, A, boost::shared_ptr<A> > > & factory_list =
- fm.get<lots_of_parameters_interface, int, bool, unsigned int, char,
+ fm.get<lots_of_parameters_interface, int, bool, unsigned int, char,
     std::string, A, boost::shared_ptr<A> >();
   BOOST_CHECK_EQUAL( factory_list.size(), 1U );
 
   // get the interface and construct it
   std::list<factory<lots_of_parameters_interface, int, bool, unsigned int,
     char, std::string, A, boost::shared_ptr<A> > >::iterator params =
- factory_list.begin();
+ factory_list.begin();
 
   std::auto_ptr<lots_of_parameters_interface>
     params_ptr(params->create(true, 4, 'c', "test", A(2),
- boost::shared_ptr<A>(new A(15))));
+ boost::shared_ptr<A>(new A(15))));
   BOOST_CHECK_EQUAL( !params_ptr.get(), 0 );
 
 }

Modified: sandbox/libs/extension/test/versions_test.cpp
==============================================================================
--- sandbox/libs/extension/test/versions_test.cpp (original)
+++ sandbox/libs/extension/test/versions_test.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -34,15 +34,15 @@
 
   // load hello world first version
   load_single_library(fm, "libHelloWorldLib.extension",
- "extension_export_word");
+ "extension_export_word");
 
   // load hello world second version
   load_single_library(fm, "libHelloWorldLibv2.extension",
- "extension_export_word");
+ "extension_export_word");
 
   // load hello world second version again
   load_single_library(fm, "libHelloWorldLibv2.extension",
- "extension_export_word");
+ "extension_export_word");
 
   // load salute library (with hello included)
   load_single_library(fm, "libSaluteLib.extension", "extension_export_salute");
@@ -65,7 +65,7 @@
 
   std::vector<std::string>::const_iterator expected_word = words.begin();
   for (std::list<factory<word, int> >::iterator current_word =
- factory_list.begin(); current_word != factory_list.end();
+ factory_list.begin(); current_word != factory_list.end();
        ++current_word)
     {
       /// check that the pointer is OK and the word is the one that
@@ -91,7 +91,7 @@
   std::vector<std::string>::const_iterator expected_salute = salutes.begin();
 
   for (std::list<factory<salute, int> >::iterator current_salute =
- salute_factory_list.begin();
+ salute_factory_list.begin();
        current_salute != salute_factory_list.end(); ++current_salute)
     {
       /// check that the pointer is OK and the salute is the one that

Modified: sandbox/libs/extension/test/zone_test.cpp
==============================================================================
--- sandbox/libs/extension/test/zone_test.cpp (original)
+++ sandbox/libs/extension/test/zone_test.cpp 2007-06-26 20:49:20 EDT (Tue, 26 Jun 2007)
@@ -60,16 +60,16 @@
 {
   factory_map z;
   BOOST_CHECK_EQUAL((z.get<vegetable, vegetable_info, float>().size()),
- size_t(0));
+ size_t(0));
   z.add<apple, fruit, std::string, int, int>("A round fruit");
   z.add<tomato, fruit, std::string, int,
     int>("A round fruit that isn't very sweet");
   z.add<tomato, vegetable, vegetable_info, float>(vegetable_info("Tomato",
- 112));
+ 112));
   BOOST_CHECK_EQUAL((z.get<fruit, std::string, int, int>().size()), size_t(2));
   BOOST_CHECK_EQUAL((z.get<vegetable, vegetable_info, float>().size()),
- size_t(1));
+ size_t(1));
   BOOST_CHECK_EQUAL((z.get<vegetable, vegetable_info,
- float>().begin()->get_info().get_calories()), 112);
+ float>().begin()->get_info().get_calories()), 112);
 }
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk