a little bit of cleanup
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Fri, 10 Aug 2007 14:08:33 +0000 (14:08 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Fri, 10 Aug 2007 14:08:33 +0000 (14:08 +0000)
zypp/Url.cc
zypp/base/String.h
zypp/url/UrlBase.cc

index a56c76ed650770feb723fddada036b419be8dddd..aeb9cba3bb134f532dac2246f0cde8733d9b913f 100644 (file)
@@ -391,11 +391,6 @@ namespace zypp
       if (fragment.size() > 1)
         fragment = fragment.substr(1);
 
-      std::cout << "scheme: " << scheme << " authority: " << authority
-        << " query " << query << " fragment " << fragment << std::endl;
-
-      std::cout << "out[3] " << out[3] << std::endl;
-
       url = g_urlSchemeRepository().getUrlByScheme(scheme);
       if( !url)
       {
index 1cad6112984a520c179f7c55e73cb7160a9cecfa..7a6864cbc1cd18d05b1e509d9a4dfe4904d0291f 100644 (file)
@@ -97,27 +97,6 @@ namespace zypp
      * \li \c wsmatch
     */
 
-    //@{
-    /** regex */
-#if 0    
-    using boost::regex;
-    using boost::regex_match;
-    using boost::regex_search;
-    using boost::regex_replace;
-    using boost::match_results;
-    using boost::match_extra;
-    using boost::cmatch;
-    using boost::wcmatch;
-    using boost::smatch;
-    using boost::wsmatch;
-    //@}
-
-    /**
-     * helper to debug regular expressions matches
-     */
-    std::ostream & dumpRegexpResult( const boost::smatch &what, std::ostream & str );
-#endif
-
     ///////////////////////////////////////////////////////////////////
     /** \name String representation of number.
      *
index 6c9b002ae583294adc1a9ed77317c57f015bd4e9..08a7a1efb64263ad68a74b5c58dcef05ee0da361 100644 (file)
@@ -154,7 +154,6 @@ namespace zypp
           try
           {
             str::regex rex(regx);
-            std::cout << "testing *" << data << "* against *" << regx << "*" << std::endl;
             valid = str::regex_match(data, rex);
           }
           catch( ... )
@@ -439,8 +438,6 @@ namespace zypp
       std::string   url;
       UrlBaseData   tmp;
 
-      std::cout << "UrlBase:.asString()" << std::endl;
-
       if( opts.has(ViewOptions::WITH_SCHEME))
       {
         tmp.scheme = getScheme();
@@ -474,8 +471,6 @@ namespace zypp
                 }
               }
 
-              std::cout << "tmp.host: *" << tmp.host << "*" << std::endl;
-
               url += tmp.host;
 
               if( opts.has(ViewOptions::WITH_PORT))
@@ -502,7 +497,6 @@ namespace zypp
       if( opts.has(ViewOptions::WITH_PATH_NAME))
       {
         tmp.pathname = getPathName(zypp::url::E_ENCODED);
-        std::cout << "pathname: *" << tmp.pathname << "*" << std::endl;
         if( !tmp.pathname.empty())
         {
           if(url.find("/") != std::string::npos)
@@ -838,8 +832,6 @@ namespace zypp
 
       std::string username, password, host, port;
 
-      std::cout << "authority: " << authority << "*" << std::endl;
-
       if ((p=s.find('@')) != std::string::npos)
       {
         q = s.find(':');
@@ -1023,8 +1015,6 @@ namespace zypp
           ));
         }
 
-        std::cout << "host: *" << host << "*" << std::endl;
-
         if( isValidHost(host))
         {
           std::string temp;