* SoapCore.cs: Set eol-style to native.
authorGert Driesen <drieseng@users.sourceforge.net>
Wed, 31 May 2006 08:38:41 +0000 (08:38 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Wed, 31 May 2006 08:38:41 +0000 (08:38 -0000)
* SoapServerFormatterSinkProvider.cs: Fixed line endings. Set eol-style
to CRLF.
* ChannelCore.cs: Set eol-style to native.
* BinaryServerFormatterSink.cs: Set eol-style to native.
* SoapClientFormatterSinkProvider.cs: Fixed line endings. Set eol-style
to CRLF. Next and CreateSink should not be virtual.
* SoapMessageFormatter.cs: Set eol-style to CRLF.
* BinaryClientFormatterSink.cs: Fixed line endings. Set eol-style to
native.
* BinaryCore.cs: Set eol-style to native.
* BinaryServerFormatterSinkProvider.cs: Set eol-style to native.
* CommonTransportKeys.cs: Set eol-style to native.
* SoapServerFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.
* RemotingThreadPool.cs: Fixed line endings. Set eol-style to native.
* BinaryClientFormatterSinkProvider.cs: Set eol-style to native.
* SoapClientFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.

svn path=/trunk/mcs/; revision=61301

mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/ChangeLog
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/RemotingThreadPool.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/SoapClientFormatterSink.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/SoapClientFormatterSinkProvider.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/SoapServerFormatterSink.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels/SoapServerFormatterSinkProvider.cs

index 4fa48fda07074e437e6fe12bb79686425c92f052..3e10dd9ef96f5820ade580a9b801565a151a20e9 100644 (file)
@@ -132,7 +132,7 @@ namespace System.Runtime.Remoting.Channels
                        _nextInChain.AsyncProcessRequest (stack, msg, transportHeaders, stream);
 
                        // FIXME: No idea about how to implement IMessageCtrl
-                       return null;    \r
+                       return null;    
                }
 
                public IMessage SyncProcessMessage (IMessage msg)
index 1d33d5e108e94e8393784abc3794186c0b46d411..a9a01f329d1c7ed5674f42829322b6e665578792 100644 (file)
@@ -1,3 +1,23 @@
+2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SoapCore.cs: Set eol-style to native.
+       * SoapServerFormatterSinkProvider.cs: Fixed line endings. Set eol-style
+       to CRLF.
+       * ChannelCore.cs: Set eol-style to native.
+       * BinaryServerFormatterSink.cs: Set eol-style to native.
+       * SoapClientFormatterSinkProvider.cs: Fixed line endings. Set eol-style
+       to CRLF. Next and CreateSink should not be virtual.
+       * SoapMessageFormatter.cs: Set eol-style to CRLF.
+       * BinaryClientFormatterSink.cs: Fixed line endings. Set eol-style to
+       native.
+       * BinaryCore.cs: Set eol-style to native.
+       * BinaryServerFormatterSinkProvider.cs: Set eol-style to native.
+       * CommonTransportKeys.cs: Set eol-style to native.
+       * SoapServerFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.
+       * RemotingThreadPool.cs: Fixed line endings. Set eol-style to native.
+       * BinaryClientFormatterSinkProvider.cs: Set eol-style to native.
+       * SoapClientFormatterSink.cs: Fixed line endings. Set eol-style to CRLF.
+
 2006-03-05  Andrew Skiba <andrews@mainsoft.com>
 
        * SoapMessageFormatter.cs: : exceptions propagating
index 6dfa9bdb1596ce2945f982ca9a55da0fe72de9fa..aa99a6554872244ad712418160a8fe74aa1ab473 100644 (file)
@@ -141,7 +141,7 @@ namespace System.Runtime.Remoting.Channels
 #if !TARGET_JVM
                        while (true) {
 #else
-                       while (!stopped) \r
+                       while (!stopped) 
                        {
 #endif
                                ThreadStart work = null;
index 6460de2694845da0af36290deace813999a0aba7..a1cdbd5beb467efc741d1356049a40fa872e479b 100644 (file)
@@ -6,27 +6,27 @@
 //\r
 // 2002 (C) Copyright, Ximian, Inc.\r
 //\r
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
+\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
 \r
 using System.Collections;\r
 using System.IO;\r
index 0ccd9353943c65c7a58b72debb3316988d2c225d..2b8bf6bacce701c643c60cfb0825b5aba1369713 100644 (file)
@@ -1,25 +1,25 @@
 // created on 20/05/2003 at 12:33\r
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
+\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
 using System.Collections;\r
 using System.Runtime.Remoting.Messaging;\r
 \r
@@ -43,13 +43,13 @@ namespace System.Runtime.Remoting.Channels {
                        _soapCore = new SoapCore (this, properties, allowedProperties);\r
                }\r
                \r
-               public virtual IClientChannelSinkProvider Next \r
+               public IClientChannelSinkProvider Next \r
                {\r
                        get { return _nextClientChannelSinkProvider;}\r
                        set { _nextClientChannelSinkProvider = value;}\r
                }\r
                \r
-               public virtual IClientChannelSink CreateSink( IChannelSender channel, \r
+               public IClientChannelSink CreateSink( IChannelSender channel, \r
                                                             string url, \r
                                                             object remoteChannelData)\r
                {\r
index d7c9c37564e444878cb446b44134c4f5fcceec97..ec26fda61cc2254a40439a9780778a6ea86ef256 100644 (file)
@@ -6,27 +6,27 @@
 //\r
 // 2002 (C) Copyright, Ximian, Inc.\r
 //\r
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
+\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
 \r
 using System.Collections;\r
 using System.IO;\r
@@ -130,36 +130,36 @@ namespace System.Runtime.Remoting.Channels {
                                                        IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream,\r
                                                        out IMessage responseMsg, out ITransportHeaders responseHeaders, out Stream responseStream)\r
                {\r
-                       // Check whether the request was already processed by another
-                       // formatter sink and pass the request to the next sink if so.
-                       if (requestMsg != null)
-                               return next_sink.ProcessMessage (sinkStack,
-                                                                requestMsg,
-                                                                requestHeaders,
-                                                                requestStream,
-                                                                out responseMsg,
-                                                                out responseHeaders,
-                                                                out responseStream);
-
-                       // Check whether the request is suitable for this formatter
-                       // and pass the request to the next sink if not.
-                       // Note that a null content-type is handled as suitable,
-                       // otherwise no other sink will be able to handle the request.
-                       string contentType = requestHeaders["Content-Type"] as string;
-                       if (contentType != null && !contentType.StartsWith ("text/xml")) {
-                               try {
-                                       return next_sink.ProcessMessage (sinkStack,
-                                               requestMsg,
-                                               requestHeaders,
-                                               requestStream,
-                                               out responseMsg,
-                                               out responseHeaders,
-                                               out responseStream);
-                               } catch {
-                                       // Let this formatter handle the exception.
-                               }
-                       }
-
+                       // Check whether the request was already processed by another\r
+                       // formatter sink and pass the request to the next sink if so.\r
+                       if (requestMsg != null)\r
+                               return next_sink.ProcessMessage (sinkStack,\r
+                                                                requestMsg,\r
+                                                                requestHeaders,\r
+                                                                requestStream,\r
+                                                                out responseMsg,\r
+                                                                out responseHeaders,\r
+                                                                out responseStream);\r
+\r
+                       // Check whether the request is suitable for this formatter\r
+                       // and pass the request to the next sink if not.\r
+                       // Note that a null content-type is handled as suitable,\r
+                       // otherwise no other sink will be able to handle the request.\r
+                       string contentType = requestHeaders["Content-Type"] as string;\r
+                       if (contentType != null && !contentType.StartsWith ("text/xml")) {\r
+                               try {\r
+                                       return next_sink.ProcessMessage (sinkStack,\r
+                                               requestMsg,\r
+                                               requestHeaders,\r
+                                               requestStream,\r
+                                               out responseMsg,\r
+                                               out responseHeaders,\r
+                                               out responseStream);\r
+                               } catch {\r
+                                       // Let this formatter handle the exception.\r
+                               }\r
+                       }\r
+\r
                        responseMsg = null;\r
                        responseHeaders = null;\r
                        responseStream = null;\r
index 736c9c1eea20e5cfaefab56953d03cdf3f9cecb2..b0b164d98c02818a360b42167651c56ac1bdbfea 100644 (file)
@@ -6,27 +6,27 @@
 //\r
 // 2002 (C) Copyright, Ximian, Inc.\r
 //\r
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-// 
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-// 
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
+\r
+//\r
+// Permission is hereby granted, free of charge, to any person obtaining\r
+// a copy of this software and associated documentation files (the\r
+// "Software"), to deal in the Software without restriction, including\r
+// without limitation the rights to use, copy, modify, merge, publish,\r
+// distribute, sublicense, and/or sell copies of the Software, and to\r
+// permit persons to whom the Software is furnished to do so, subject to\r
+// the following conditions:\r
+// \r
+// The above copyright notice and this permission notice shall be\r
+// included in all copies or substantial portions of the Software.\r
+// \r
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
+//\r
 \r
 using System.Collections;\r
 using System.Runtime.Serialization.Formatters;\r
@@ -93,4 +93,4 @@ namespace System.Runtime.Remoting.Channels
                                _next.GetChannelData(channelData);\r
                }\r
        }\r
-}
+}\r