incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o..@apache.org
Subject svn commit: r1294538 - /incubator/ooo/trunk/main/ucb/source/ucp/webdav/
Date Tue, 28 Feb 2012 09:44:19 GMT
Author: orw
Date: Tue Feb 28 09:44:18 2012
New Revision: 1294538

URL: http://svn.apache.org/viewvc?rev=1294538&view=rev
Log:
correction of wrong line ends 

Modified:
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.hxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCopyReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfGetReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfHeadReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMkColReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMoveReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.hxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.cxx
    incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.hxx

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.cxx Tue Feb 28 09:44:18 2012
@@ -42,14 +42,14 @@ extern "C" apr_status_t Serf_ConnectSetu
                                               pool );
 }
 
-extern "C" apr_status_t Serf_Credentials( char **username, 
-                                          char **password,
-                                          serf_request_t *request,
-                                          void *baton,
-                                          int code, 
-                                          const char *authn_type,
-                                          const char *realm,
-                                          apr_pool_t *pool )
+extern "C" apr_status_t Serf_Credentials( char **username, 
+                                          char **password,
+                                          serf_request_t *request,
+                                          void *baton,
+                                          int code, 
+                                          const char *authn_type,
+                                          const char *realm,
+                                          apr_pool_t *pool )
 {
     SerfRequestProcessor* pReqProc = static_cast< SerfRequestProcessor* >( baton );
     return pReqProc->provideSerfCredentials( username, 

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.hxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.hxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCallbacks.hxx Tue Feb 28 09:44:18 2012
@@ -31,14 +31,14 @@ extern "C" apr_status_t Serf_ConnectSetu
                                            void *setup_baton,
                                            apr_pool_t *pool );
 
-extern "C" apr_status_t Serf_Credentials( char **username, 
-                                          char **password,
-                                          serf_request_t *request,
-                                          void *baton,
-                                          int code, 
-                                          const char *authn_type,
-                                          const char *realm,
-                                          apr_pool_t *pool );
+extern "C" apr_status_t Serf_Credentials( char **username, 
+                                          char **password,
+                                          serf_request_t *request,
+                                          void *baton,
+                                          int code, 
+                                          const char *authn_type,
+                                          const char *realm,
+                                          apr_pool_t *pool );
 
 extern "C" apr_status_t Serf_CertificationValidation( void *data,
                                                       int failures,

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCopyReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCopyReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCopyReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfCopyReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -104,5 +104,5 @@ bool SerfCopyReqProcImpl::processSerfRes
     /* NOTREACHED */
     return true;
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfDeleteReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -89,5 +89,5 @@ bool SerfDeleteReqProcImpl::processSerfR
     /* NOTREACHED */
     return true;
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfGetReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfGetReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfGetReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfGetReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -166,7 +166,7 @@ bool SerfGetReqProcImpl::processSerfResp
     /* NOTREACHED */
     return true;
 }
-
+
 void SerfGetReqProcImpl::processSingleResponseHeader( const char* inHeaderName,
                                                       const char* inHeaderValue )
 {
@@ -209,5 +209,5 @@ void SerfGetReqProcImpl::processSingleRe
         mpResource->properties.push_back( thePropertyValue );
     }
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfHeadReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfHeadReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfHeadReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfHeadReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -120,7 +120,7 @@ bool SerfHeadReqProcImpl::processSerfRes
 
     return true;
 }
-
+
 void SerfHeadReqProcImpl::processSingleResponseHeader( const char* inHeaderName,
                                                        const char* inHeaderValue )
 {
@@ -163,5 +163,5 @@ void SerfHeadReqProcImpl::processSingleR
         mpResource->properties.push_back( thePropertyValue );
     }
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMkColReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMkColReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMkColReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMkColReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -89,5 +89,5 @@ bool SerfMkColReqProcImpl::processSerfRe
     /* NOTREACHED */
     return true;
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMoveReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMoveReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMoveReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfMoveReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -104,5 +104,5 @@ bool SerfMoveReqProcImpl::processSerfRes
     /* NOTREACHED */
     return true;
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPostReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -155,5 +155,5 @@ bool SerfPostReqProcImpl::processSerfRes
     /* NOTREACHED */
     return true;
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfPutReqProcImpl.cxx Tue Feb 28 09:44:18
2012
@@ -112,5 +112,5 @@ bool SerfPutReqProcImpl::processSerfResp
     /* NOTREACHED */
     return true;
 }
-
+
 } // namespace http_dav_ucp

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.cxx Tue Feb 28 09:44:18
2012
@@ -210,7 +210,7 @@ bool SerfRequestProcessor::processPost( 
 
     return outSerfStatus == APR_SUCCESS;
 }
-
+
 // POST
 bool SerfRequestProcessor::processPost( const char* inData,
                                         apr_size_t inDataLen,
@@ -266,7 +266,7 @@ bool SerfRequestProcessor::processCopy( 
 
     return outSerfStatus == APR_SUCCESS;
 }
-
+
 // MOVE
 bool SerfRequestProcessor::processMove( const rtl::OUString & inDestinationPath,
                                         const bool inOverwrite,
@@ -281,7 +281,7 @@ bool SerfRequestProcessor::processMove( 
 
     return outSerfStatus == APR_SUCCESS;
 }
-
+
 apr_status_t SerfRequestProcessor::runProcessor()
 {
     prepareProcessor();
@@ -398,12 +398,12 @@ void SerfRequestProcessor::postprocessPr
 
 }
 
-apr_status_t SerfRequestProcessor::provideSerfCredentials( char ** outUsername, 
-                                         char ** outPassword,
-                                         serf_request_t * inRequest, 
-                                         int inCode, 
-                                         const char *inAuthProtocol,
-                                         const char *inRealm,
+apr_status_t SerfRequestProcessor::provideSerfCredentials( char ** outUsername, 
+                                         char ** outPassword,
+                                         serf_request_t * inRequest, 
+                                         int inCode, 
+                                         const char *inAuthProtocol,
+                                         const char *inRealm,
                                          apr_pool_t *inAprPool )
 {
     return mrSerfSession.provideSerfCredentials( outUsername,
@@ -484,12 +484,12 @@ apr_status_t SerfRequestProcessor::handl
                  mnHTTPStatusCode == 307 )
             {
                 // new location for certain redirections
-                serf_bucket_t *headers = serf_bucket_response_get_headers( inSerfResponseBucket
);
-                const char* location = serf_bucket_headers_get( headers, "Location" );
-                if ( location )
-                {
-                    mRedirectLocation = rtl::OUString::createFromAscii( location );
-                }
+                serf_bucket_t *headers = serf_bucket_response_get_headers( inSerfResponseBucket
);
+                const char* location = serf_bucket_headers_get( headers, "Location" );
+                if ( location )
+                {
+                    mRedirectLocation = rtl::OUString::createFromAscii( location );
+                }
                 mbProcessingDone = true;
                 return APR_EGENERAL;
             }

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.hxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.hxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfRequestProcessor.hxx Tue Feb 28 09:44:18
2012
@@ -92,7 +92,7 @@ public:
     bool processPut( const char* inData,
                      apr_size_t inDataLen,
                      apr_status_t& outSerfStatus );
-
+
     // POST
     bool processPost( const char* inData,
                       apr_size_t inDataLen,
@@ -100,7 +100,7 @@ public:
                       const rtl::OUString & inReferer,
                       const com::sun::star::uno::Reference< SerfInputStream >&
xioInStrm,
                       apr_status_t& outSerfStatus );
-
+
     // POST
     bool processPost( const char* inData,
                       apr_size_t inDataLen,
@@ -108,29 +108,29 @@ public:
                       const rtl::OUString & inReferer,
                       const com::sun::star::uno::Reference< com::sun::star::io::XOutputStream
>& xioOutStrm,
                       apr_status_t& outSerfStatus );
-
+
     // DELETE
     bool processDelete( apr_status_t& outSerfStatus );
-
+
     // MKCOL
     bool processMkCol( apr_status_t& outSerfStatus );
-
+
     // COPY
     bool processCopy( const rtl::OUString & inDestinationPath,
                       const bool inOverwrite,
                       apr_status_t& outSerfStatus );
-
+
     // MOVE
     bool processMove( const rtl::OUString & inDestinationPath,
                       const bool inOverwrite,
                       apr_status_t& outSerfStatus );
-
-    apr_status_t provideSerfCredentials( char ** outUsername, 
-                                         char ** outPassword,
-                                         serf_request_t * inRequest, 
-                                         int inCode, 
-                                         const char *inAuthProtocol,
-                                         const char *inRealm,
+
+    apr_status_t provideSerfCredentials( char ** outUsername, 
+                                         char ** outPassword,
+                                         serf_request_t * inRequest, 
+                                         int inCode, 
+                                         const char *inAuthProtocol,
+                                         const char *inRealm,
                                          apr_pool_t *inAprPool );
 
     apr_status_t setupSerfRequest( serf_request_t * inSerfRequest,

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.cxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.cxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.cxx Tue Feb 28 09:44:18 2012
@@ -185,7 +185,7 @@ void SerfSession::Init()
         }
 
 
-        serf_config_credentials_callback( m_pSerfContext, Serf_Credentials );
+        serf_config_credentials_callback( m_pSerfContext, Serf_Credentials );
     }
 }
 
@@ -285,12 +285,12 @@ apr_status_t SerfSession::setupSerfConne
     return APR_SUCCESS;
 }
 
-apr_status_t SerfSession::provideSerfCredentials( char ** outUsername, 
-                                                  char ** outPassword,
-                                                  serf_request_t * /*inRequest*/, 
-                                                  int /*inCode*/, 
-                                                  const char *inAuthProtocol,
-                                                  const char *inRealm,
+apr_status_t SerfSession::provideSerfCredentials( char ** outUsername, 
+                                                  char ** outPassword,
+                                                  serf_request_t * /*inRequest*/, 
+                                                  int /*inCode*/, 
+                                                  const char *inAuthProtocol,
+                                                  const char *inRealm,
                                                   apr_pool_t *inAprPool )
 {
     DAVAuthListener * pListener = getRequestEnvironment().m_xAuthListener.get();

Modified: incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.hxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.hxx?rev=1294538&r1=1294537&r2=1294538&view=diff
==============================================================================
--- incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.hxx (original)
+++ incubator/ooo/trunk/main/ucb/source/ucp/webdav/SerfSession.hxx Tue Feb 28 09:44:18 2012
@@ -85,12 +85,12 @@ public:
                                       serf_bucket_t **outSerfOutputBucket,
                                       apr_pool_t* inAprPool );
 
-    apr_status_t provideSerfCredentials( char ** outUsername, 
-                                         char ** outPassword,
-                                         serf_request_t * inRequest, 
-                                         int inCode, 
-                                         const char *inAuthProtocol,
-                                         const char *inRealm,
+    apr_status_t provideSerfCredentials( char ** outUsername, 
+                                         char ** outPassword,
+                                         serf_request_t * inRequest, 
+                                         int inCode, 
+                                         const char *inAuthProtocol,
+                                         const char *inRealm,
                                          apr_pool_t *inAprPool );
 
     apr_status_t verifySerfCertificate( int inFailures,



Mime
View raw message