Skip to content
Browse files

Fix a few cases of mixed line-endings

This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
  • Loading branch information...
1 parent 5c94b81 commit cd51491631380ed56723fdfc66945213f9864b5a @harinath harinath committed Jul 26, 2010
Showing with 3,468 additions and 3,560 deletions.
  1. +0 −1 libgc/.gitattributes
  2. +0 −1 libgc/include/private/.gitattributes
  3. +13 −13 libgc/include/private/gcconfig.h
  4. +4 −4 libgc/win32_threads.c
  5. +0 −1 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/.gitattributes
  6. +3 −3 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/RncParser.jay
  7. +22 −22 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/RncTokenizer.cs
  8. +22 −22 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/RncWriter.cs
  9. +20 −20 mcs/class/Commons.Xml.Relaxng/Commons.Xml/XmlDefaultReader.cs
  10. +4 −4 mcs/class/Compat.ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib/AssemblyInfo.cs
  11. +0 −1 mcs/class/I18N/Common/.gitattributes
  12. +12 −12 mcs/class/I18N/Common/ByteEncoding.cs
  13. +0 −1 mcs/class/IBM.Data.DB2/IBM.Data.DB2/.gitattributes
  14. +9 −9 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2CommandBuilder.cs
  15. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ConnectionPool.cs
  16. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ConnectionSettings.cs
  17. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Constants.cs
  18. +311 −311 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2DataReader.cs
  19. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ErrorCollection.cs
  20. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2OpenConnection.cs
  21. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Parameter.cs
  22. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ParameterCollection.cs
  23. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Transaction.cs
  24. +21 −21 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Type.cs
  25. +0 −2 mcs/class/Mainsoft.Web/Mainsoft.Web.AspnetConfig/aspnetconfig/.gitattributes
  26. +3 −3 mcs/class/Mainsoft.Web/Mainsoft.Web.AspnetConfig/aspnetconfig/HttpHandlersSectionHandler.cs
  27. +2 −2 mcs/class/Mainsoft.Web/Mainsoft.Web.AspnetConfig/aspnetconfig/UrlUtils.cs
  28. +0 −2 mcs/class/Mainsoft.Web/Mainsoft.Web.Hosting/.gitattributes
  29. +4 −4 mcs/class/Mainsoft.Web/Mainsoft.Web.Hosting/IncludeHelperServlet.cs
  30. +1 −1 mcs/class/Mainsoft.Web/Mainsoft.Web.Hosting/ServletWorkerRequest.cs
  31. +2 −2 mcs/class/Mainsoft.Web/Mainsoft.Web.Profile/DerbyProfileHelper.cs
  32. +74 −74 mcs/class/Mainsoft.Web/Mainsoft.Web.Profile/DerbyProfileProvider.cs
  33. +5 −5 mcs/class/Mainsoft.Web/Mainsoft.Web.Security/DerbyMembershipHelper.cs
  34. +2 −2 mcs/class/Mainsoft.Web/Mainsoft.Web.Security/DerbyRolesHelper.cs
  35. +1 −1 mcs/class/Mainsoft.Web/Tests/Mainsoft.Web.Security/MembershipTests.cs
  36. +0 −1 mcs/class/Managed.Windows.Forms/System.Windows.Forms.Theming/Default/.gitattributes
  37. +25 −25 mcs/class/Managed.Windows.Forms/System.Windows.Forms.Theming/Default/LinkLabelPainter.cs
  38. +15 −15 mcs/class/Managed.Windows.Forms/System.Windows.Forms.Theming/ThemeElements.cs
  39. +2 −2 mcs/class/Managed.Windows.Forms/System.Windows.Forms.Theming/ThemeElementsDefault.cs
  40. +1 −1 mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/MdiFormHandleTest.cs
  41. +1 −1 mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/SendKeysTest.cs
  42. +1 −1 mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/UpDownTest.cs
  43. +1 −1 mcs/class/Managed.Windows.Forms/resources/System.Windows.Forms.en.resx
  44. +0 −1 mcs/class/Microsoft.Build.Engine/.gitattributes
  45. +2 −2 mcs/class/Microsoft.Build.Engine/Makefile
  46. +0 −1 mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/.gitattributes
  47. +2 −2 mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/ChangeLog
  48. +0 −1 mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/.gitattributes
  49. +1 −1 mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixBinaryClientFormatterSink.cs
  50. +22 −22 mcs/class/Mono.Posix/Mono.Remoting.Channels.Unix/UnixConnectionPool.cs
  51. +0 −1 mcs/class/Mono.Security/Documentation/en/Mono.Security.Protocol.Tls/.gitattributes
  52. +84 −84 mcs/class/Mono.Security/Documentation/en/Mono.Security.Protocol.Tls/SslServerStream.xml
  53. +4 −4 mcs/class/Mono.Security/Test/tools/mutual/mutual.cs
  54. +32 −32 mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Security.jvm/Krb5Helper.cs
  55. +29 −29 mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Security.jvm/SecureStream.cs
  56. +0 −1 mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/.gitattributes
  57. +2 −2 mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ResourcesHandler.cs
  58. +0 −7 mcs/class/Npgsql/Npgsql/.gitattributes
  59. +1 −1 mcs/class/Npgsql/Npgsql/NpgsqlClosedState.resx
  60. +1 −1 mcs/class/Npgsql/Npgsql/NpgsqlConnectedState.resx
  61. +1 −1 mcs/class/Npgsql/Npgsql/NpgsqlException.resx
  62. +31 −31 mcs/class/Npgsql/Npgsql/NpgsqlParameterCollection.cs
  63. +1 −1 mcs/class/Npgsql/Npgsql/NpgsqlReadyState.resx
  64. +1 −1 mcs/class/Npgsql/Npgsql/NpgsqlTransaction.es.resx
  65. +1 −1 mcs/class/Npgsql/Npgsql/NpgsqlTransaction.resx
  66. +0 −1 mcs/class/Npgsql/NpgsqlTypes/.gitattributes
  67. +1 −1 mcs/class/Npgsql/NpgsqlTypes/NpgsqlTypesHelper.resx
  68. +0 −1 mcs/class/System.Configuration/Test/standalone/.gitattributes
  69. +4 −4 mcs/class/System.Configuration/Test/standalone/t28.cs
  70. +1 −1 mcs/class/System.Data.Linq/examples/DbLinq.MySql.Example/nwind/Andrus.cs
  71. +0 −1 mcs/class/System.Data.Linq/src/DbMetal/Language/.gitattributes
  72. +127 −127 mcs/class/System.Data.Linq/src/DbMetal/Language/FrenchWords.txt
  73. +0 −2 mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci/.gitattributes
  74. +6 −6 mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci/OciStatementHandle.cs
  75. +2 −2 mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci/OciTransactionHandle.cs
  76. +0 −1 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/.gitattributes
  77. +27 −27 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/OracleCommand.cs
  78. +24 −24 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/OracleCommandBuilder.cs
  79. +26 −26 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/OracleConvert.cs
  80. +26 −26 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/OracleDataReader.cs
  81. +27 −27 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/OracleException.cs
  82. +10 −10 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/OracleInfoMessageEventArgs.cs
  83. +27 −27 mcs/class/System.Data.OracleClient/System.Data.OracleClient.jvm/OracleParameter.cs
  84. +27 −27 mcs/class/System.Data/System.Data.OleDb.jvm/OleDbCommand.cs
  85. +23 −23 mcs/class/System.Data/System.Data.OleDb.jvm/OleDbDataAdapter.cs
  86. +27 −27 mcs/class/System.Data/System.Data.OleDb.jvm/OleDbException.cs
  87. +23 −23 mcs/class/System.Data/System.Data.OleDb.jvm/OleDbPermission.cs
  88. +27 −27 mcs/class/System.Data/System.Data.OleDb.jvm/OleDbType.cs
  89. +0 −2 mcs/class/System.Data/System.Data.ProviderBase.jvm/.gitattributes
  90. +116 −116 mcs/class/System.Data/System.Data.ProviderBase.jvm/AbstractDBCommand.cs
  91. +1 −1 mcs/class/System.Data/System.Data.ProviderBase.jvm/AbstractDBConnection.cs
  92. +76 −76 mcs/class/System.Data/System.Data.ProviderBase.jvm/AbstractDBParameter.cs
  93. +6 −6 mcs/class/System.Data/System.Data.ProviderBase.jvm/AbstractDataReader.cs
  94. +27 −27 mcs/class/System.Data/System.Data.ProviderBase.jvm/AbstractDbException.cs
  95. +52 −52 mcs/class/System.Data/System.Data.ProviderBase.jvm/AbstractDbParameterCollection.cs
  96. +27 −27 mcs/class/System.Data/System.Data.ProviderBase.jvm/AbstractTransaction.cs
  97. +27 −27 mcs/class/System.Data/System.Data.ProviderBase.jvm/ReaderCache.cs
  98. +26 −26 mcs/class/System.Data/System.Data.ProviderBase.jvm/regex.cs
  99. +0 −4 mcs/class/System.Data/System.Data.SqlClient.jvm/.gitattributes
  100. +2 −2 mcs/class/System.Data/System.Data.SqlClient.jvm/MetaType.cs
  101. +2 −2 mcs/class/System.Data/System.Data.SqlClient.jvm/SqlCollation.cs
  102. +23 −23 mcs/class/System.Data/System.Data.SqlClient.jvm/SqlCommandBuilder.cs
  103. +54 −54 mcs/class/System.Data/System.Data.SqlClient.jvm/SqlConvert.cs
  104. +23 −23 mcs/class/System.Data/System.Data.SqlClient.jvm/SqlDataAdapter.cs
  105. +2 −2 mcs/class/System.Data/System.Data.SqlClient.jvm/SqlError.cs
  106. +27 −27 mcs/class/System.Data/System.Data.SqlClient.jvm/SqlException.cs
  107. +14 −14 mcs/class/System.Data/System.Data.SqlClient.jvm/SqlInfoMessageEventArgs.cs
  108. +0 −6 mcs/class/System.Data/System.Data.SqlTypes.jvm/.gitattributes
  109. +1 −1 mcs/class/System.Data/System.Data.SqlTypes.jvm/INullable.cs
  110. +1 −1 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlBinary.cs
  111. +1 −1 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlBoolean.cs
  112. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlByte.cs
  113. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlDateTime.cs
  114. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlDecimal.cs
  115. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlDouble.cs
  116. +63 −63 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlGuid.cs
  117. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlInt16.cs
  118. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlInt32.cs
  119. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlInt64.cs
  120. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlMoney.cs
  121. +1 −1 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlNullValueException.cs
  122. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlSingle.cs
  123. +27 −27 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlString.cs
  124. +1 −1 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlTruncateException.cs
  125. +2 −2 mcs/class/System.Data/System.Data.SqlTypes.jvm/SqlTypeException.cs
  126. +0 −2 mcs/class/System.Data/Test/.gitattributes
  127. +103 −103 mcs/class/System.Data/Test/PostgresTest.cs
  128. +95 −95 mcs/class/System.Data/Test/SqlTest.cs
  129. +34 −34 .../System.Data.Tests.Mainsoft/System.Data/RowNotInTableException/RowNotInTableException_Generate.cs
  130. +29 −29 mcs/class/System.Data/Test/TestExecuteScalar.cs
  131. +23 −23 mcs/class/System.Data/Test/TestSqlConnection.cs
  132. +32 −32 mcs/class/System.Data/Test/TestSqlDataReader.cs
  133. +27 −27 mcs/class/System.Data/Test/TestSqlParameters.cs
  134. +0 −1 mcs/class/System.DirectoryServices/System.DirectoryServices/.gitattributes
  135. +23 −23 mcs/class/System.DirectoryServices/System.DirectoryServices/DirectorySearcher.cs
  136. +4 −4 mcs/class/System.DirectoryServices/Test/System.DirectoryServices/DirectoryServicesPermissionTest.cs
  137. +0 −2 mcs/class/System.Drawing/Samples/System.Drawing/.gitattributes
  138. +18 −18 mcs/class/System.Drawing/Samples/System.Drawing/GraphicsUnits.cs
  139. +2 −2 mcs/class/System.Drawing/Samples/System.Drawing/RegionsRectangle.cs
  140. +0 −4 mcs/class/System.Drawing/System.Drawing.Drawing2D/.gitattributes
  141. +26 −26 mcs/class/System.Drawing/System.Drawing.Drawing2D/ExtendedGeneralPath.jvm.cs
  142. +2 −2 mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsContainer.jvm.cs
  143. +1 −1 mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPathIterator.jvm.cs
  144. +1 −1 mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsState.jvm.cs
  145. +21 −21 mcs/class/System.Drawing/System.Drawing.Drawing2D/PathGradientBrush.jvm.cs
  146. +0 −1 mcs/class/System.Drawing/System.Drawing.Imaging/.gitattributes
  147. +11 −11 mcs/class/System.Drawing/System.Drawing.Imaging/ImageAttributes.jvm.cs
  148. +1 −1 mcs/class/System.Drawing/System.Drawing.Imaging/ImageCodecInfo.jvm.cs
  149. +0 −5 mcs/class/System.Drawing/System.Drawing.Printing/.gitattributes
  150. +1 −1 mcs/class/System.Drawing/System.Drawing.Printing/MarginsConverter.cs
  151. +31 −31 mcs/class/System.Drawing/System.Drawing.Printing/PaperKind.cs
  152. +1 −1 mcs/class/System.Drawing/System.Drawing.Printing/PaperSource.cs
  153. +1 −1 mcs/class/System.Drawing/System.Drawing.Printing/PrintAction.cs
  154. +1 −1 mcs/class/System.Drawing/System.Drawing.Printing/PrintController.cs
  155. +9 −9 mcs/class/System.Drawing/System.Drawing.Printing/PrintingServices.cs
  156. +0 −6 mcs/class/System.Drawing/System.Drawing/.gitattributes
  157. +2 −2 mcs/class/System.Drawing/System.Drawing/Brush.jvm.cs
  158. +1 −1 mcs/class/System.Drawing/System.Drawing/Graphics.jvm.cs
  159. +19 −19 mcs/class/System.Drawing/System.Drawing/Image.jvm.cs
  160. +8 −8 mcs/class/System.Drawing/System.Drawing/SolidBrush.jvm.cs
  161. +42 −42 mcs/class/System.Drawing/System.Drawing/StringFormat.jvm.cs
  162. +6 −6 mcs/class/System.Drawing/System.Drawing/SystemColors.jvm.cs
  163. +10 −10 mcs/class/System.Drawing/Test/DrawingTest/Test/Graphics.cs
  164. +0 −2 mcs/class/System.Drawing/Test/System.Drawing.Imaging/.gitattributes
  165. +8 −8 mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestBmpCodec.cs
  166. +1 −1 mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestColorMatrix.cs
  167. +8 −8 mcs/class/System.Drawing/Test/System.Drawing.Imaging/TestJpegCodec.cs
  168. +0 −2 mcs/class/System.Management/System.Management.Instrumentation/.gitattributes
  169. +9 −9 mcs/class/System.Management/System.Management.Instrumentation/Instance.cs
  170. +12 −12 mcs/class/System.Management/System.Management.Instrumentation/InstrumentedAttribute.cs
  171. +0 −1 mcs/class/System.Messaging/System.Messaging/.gitattributes
  172. +21 −21 mcs/class/System.Messaging/System.Messaging/AccessControlEntry.cs
  173. +21 −21 mcs/class/System.Messaging/System.Messaging/DefaultPropertiesToSend.cs
  174. +21 −21 mcs/class/System.Messaging/System.Messaging/MessagePropertyFilter.cs
  175. +21 −21 mcs/class/System.Messaging/System.Messaging/MessageQueueCriteria.cs
  176. +21 −21 mcs/class/System.Messaging/System.Messaging/MessageQueueEnumerator.cs
  177. +21 −21 mcs/class/System.Messaging/System.Messaging/MessageQueueErrorCode.cs
  178. +6 −6 mcs/class/System.Messaging/System.Messaging/MessageQueueInstaller.cs
  179. +21 −21 mcs/class/System.Messaging/System.Messaging/MessageQueuePermissionEntryCollection.cs
  180. +21 −21 mcs/class/System.Messaging/System.Messaging/Trustee.cs
  181. +2 −2 mcs/class/System.Messaging/Test/System.Messaging/MessageQueuePermissionAttributeTest.cs
  182. +20 −20 mcs/class/System.Numerics/DLR-0.92-BigIntegerv2.patch
  183. +0 −1 mcs/class/System.Numerics/System.Numerics/.gitattributes
  184. +24 −24 mcs/class/System.Numerics/System.Numerics/BigInteger.cs
  185. +0 −1 mcs/class/System.Numerics/Test/System.Numerics/.gitattributes
  186. +4 −4 mcs/class/System.Numerics/Test/System.Numerics/BigIntegerTest.cs
  187. +0 −1 mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Simple/.gitattributes
  188. +1 −1 mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Simple/SimpleWireFormat.cs
  189. +1 −1 mcs/class/System.Runtime.Remoting/Test/CallSeq.cs
  190. +15 −15 mcs/class/System.Runtime.Serialization.Formatters.Soap/Test/InternalSoapValuesTest.cs
  191. +15 −15 mcs/class/System.Runtime.Serialization.Formatters.Soap/Test/SoapFormatterTest.cs
  192. +0 −1 mcs/class/System.Runtime.Serialization/Test/.gitattributes
  193. +27 −27 mcs/class/System.Runtime.Serialization/Test/XmlComparer.cs
  194. +0 −1 mcs/class/System.Security/System.Security.Cryptography/.gitattributes
  195. +27 −27 mcs/class/System.Security/System.Security.Cryptography/CryptographicAttributeCollection.cs
  196. +2 −2 mcs/class/System.ServiceModel.Web/Test/System.ServiceModel.Web/WebServiceHostTest.cs
  197. +0 −1 mcs/class/System.ServiceModel/Test/FeatureBased/Features.Serialization/.gitattributes
  198. +12 −12 mcs/class/System.ServiceModel/Test/FeatureBased/Features.Serialization/XmlComparer.cs
  199. +0 −1 mcs/class/System.ServiceModel/resources/.gitattributes
  200. +2 −2 mcs/class/System.ServiceModel/resources/WS-Addressing.schema
  201. +0 −1 mcs/class/System.Web.Extensions/System.Web.Script.Services/.gitattributes
  202. +1 −1 mcs/class/System.Web.Extensions/System.Web.Script.Services/AuthenticationService.cs
  203. +1 −1 mcs/class/System.Web.Extensions/System.Web.Script.Services/ScriptHandlerFactory.cs
  204. +0 −1 mcs/class/System.Web.Extensions/Test/System.Web.UI.WebControls/.gitattributes
  205. +22 −22 mcs/class/System.Web.Extensions/Test/System.Web.UI.WebControls/ListViewTest.cs
  206. +1 −1 mcs/class/System.Web.Mvc2/Properties/AssemblyInfo.cs
  207. +2 −2 mcs/class/System.Web.Mvc2/System.Web.Mvc/Html/DefaultDisplayTemplates.cs
  208. +2 −2 mcs/class/System.Web.Mvc2/System.Web.Mvc/Html/DefaultEditorTemplates.cs
  209. +0 −6 mcs/class/System.Web.Services/Test/standalone/server/.gitattributes
  210. +2 −2 mcs/class/System.Web.Services/Test/standalone/server/Test1.asmx
  211. +1 −1 mcs/class/System.Web.Services/Test/standalone/server/Test2.asmx
  212. +2 −2 mcs/class/System.Web.Services/Test/standalone/server/TestBinding3.asmx
  213. +2 −2 mcs/class/System.Web.Services/Test/standalone/server/TestBinding4.asmx
  214. +2 −2 mcs/class/System.Web.Services/Test/standalone/server/TestBinding5.asmx
  215. +1 −1 mcs/class/System.Web.Services/Test/standalone/server/TestBinding6.asmx
  216. +0 −1 mcs/class/System.XML/Documentation/en/System.Xml.Serialization/.gitattributes
  217. +2 −2 mcs/class/System.XML/Documentation/en/System.Xml.Serialization/XmlSerializer.xml
  218. +0 −1 mcs/class/System.XML/Mono.Xml.Schema/.gitattributes
  219. +54 −54 mcs/class/System.XML/Mono.Xml.Schema/XsdParticleValidationState.cs
  220. +64 −64 mcs/class/System.XML/Mono.Xml.Schema/XsdWildcard.cs
  221. +0 −2 mcs/class/System.XML/Mono.Xml/.gitattributes
  222. +8 −8 mcs/class/System.XML/Mono.Xml/IHasXmlParserContext.cs
  223. +8 −8 mcs/class/System.XML/Mono.Xml/IHasXmlSchemaInfo.cs
  224. +20 −20 mcs/class/System.XML/Mono.Xml/XmlFilterReader.cs
  225. +0 −1 mcs/class/System.XML/Test/System.Xml/.gitattributes
  226. +0 −1 mcs/class/System.XML/Test/System.Xml/W3C/.gitattributes
  227. +11 −11 mcs/class/System.XML/Test/System.Xml/W3C/xmlconf.cs
  228. +1 −1 mcs/class/System.XML/Test/System.Xml/XmlResolverTest.cs
  229. +0 −1 mcs/class/System.XML/Test/System.Xml/nist_dom/.gitattributes
  230. +0 −1 mcs/class/System.XML/Test/System.Xml/nist_dom/fundamental/Attr/.gitattributes
  231. +34 −34 mcs/class/System.XML/Test/System.Xml/nist_dom/fundamental/Attr/Attr.cs
  232. +1 −1 mcs/class/System.XML/Test/System.Xml/nist_dom/readme.txt
  233. +1 −1 mcs/class/System.XML/Test/System.Xml/nist_dom/util.cs
  234. +0 −2 mcs/class/System/Microsoft.Win32/.gitattributes
  235. +3 −3 mcs/class/System/Microsoft.Win32/SystemEvents.cs
  236. +1 −1 mcs/class/System/Microsoft.Win32/TimerElapsedEventArgs.cs
  237. +21 −21 mcs/class/System/System.IO/MonoIOError.cs
  238. +0 −1 mcs/class/System/System.Net.Configuration/.gitattributes
  239. +6 −6 mcs/class/System/System.Net.Configuration/SmtpSection.cs
  240. +1 −1 mcs/class/System/System.Text.RegularExpressions/BaseMachine.cs
Sorry, we could not display the entire diff because too many files (373) changed.
View
1 libgc/.gitattributes
@@ -1,3 +1,2 @@
/BCC_MAKEFILE -crlf
/digimars.mak -crlf
-/win32_threads.c -crlf
View
1 libgc/include/private/.gitattributes
@@ -1 +0,0 @@
-/gcconfig.h -crlf
View
26 libgc/include/private/gcconfig.h
@@ -408,18 +408,18 @@
# else
# if (defined(_MSDOS) || defined(_MSC_VER)) && (_M_IX86 >= 300) \
|| defined(_WIN32) && !defined(__CYGWIN32__) && !defined(__CYGWIN__)
-# if defined(__LP64__) || defined(_WIN64)
-# define X86_64
-# else
-# define I386
-# endif
-# define MSWIN32 /* or Win64 */
-# define mach_type_known
-# endif
-# if defined(_MSC_VER) && defined(_M_IA64)
-# define IA64
-# define MSWIN32 /* Really win64, but we don't treat 64-bit */
- /* variants as a differnt platform. */
+# if defined(__LP64__) || defined(_WIN64)
+# define X86_64
+# else
+# define I386
+# endif
+# define MSWIN32 /* or Win64 */
+# define mach_type_known
+# endif
+# if defined(_MSC_VER) && defined(_M_IA64)
+# define IA64
+# define MSWIN32 /* Really win64, but we don't treat 64-bit */
+ /* variants as a differnt platform. */
# endif
# endif
# if defined(__DJGPP__)
@@ -808,7 +808,7 @@
# define STACKBOTTOM ((ptr_t) LMGetCurStackBase())
# define DATAEND /* not needed */
# endif
-
+
# ifdef LINUX
# if defined(__powerpc64__)
# define ALIGNMENT 8
View
8 libgc/win32_threads.c
@@ -385,10 +385,10 @@ void GC_push_all_stacks()
# define PUSH4(r1,r2,r3,r4) PUSH2(r1,r2), PUSH2(r3,r4)
# if defined(I386)
PUSH4(Edi,Esi,Ebx,Edx), PUSH2(Ecx,Eax), PUSH1(Ebp);
- sp = (ptr_t)context.Esp;
-# elif defined(X86_64)
- PUSH4(Rax,Rcx,Rdx,Rbx); PUSH2(Rbp, Rsi); PUSH1(Rdi);
- PUSH4(R8, R9, R10, R11); PUSH4(R12, R13, R14, R15);
+ sp = (ptr_t)context.Esp;
+# elif defined(X86_64)
+ PUSH4(Rax,Rcx,Rdx,Rbx); PUSH2(Rbp, Rsi); PUSH1(Rdi);
+ PUSH4(R8, R9, R10, R11); PUSH4(R12, R13, R14, R15);
sp = (ptr_t)context.Rsp;
# elif defined(ARM32)
PUSH4(R0,R1,R2,R3),PUSH4(R4,R5,R6,R7),PUSH4(R8,R9,R10,R11),PUSH1(R12);
View
1 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/.gitattributes
@@ -1,3 +1,2 @@
-/RncParser.jay -crlf
/RncTokenizer.cs -crlf
/RncWriter.cs -crlf
View
6 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/RncParser.jay
@@ -118,9 +118,9 @@ namespace Commons.Xml.Relaxng.Rnc
if (p is RelaxngGrammar)
((RelaxngGrammar) p).IsSourceCompactSyntax = true;
return p;
- } catch (Exception ex) {
- throw new RelaxngException (String.Format ("Tokenizer error at line {0}, column {1}: {2}", Line, Column, ex.Message), ex);
- }
+ } catch (Exception ex) {
+ throw new RelaxngException (String.Format ("Tokenizer error at line {0}, column {1}: {2}", Line, Column, ex.Message), ex);
+ }
}
private void FillLocation (RelaxngElementBase el)
View
44 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/RncTokenizer.cs
@@ -7,27 +7,27 @@
// (C)2003 Atsushi Enomoto
// (C)2004 Novell Inc.
//
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Collections;
@@ -508,4 +508,4 @@ private int ParseToken (bool backslashed)
}
}
-}
+}
View
44 mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.Rnc/RncWriter.cs
@@ -6,27 +6,27 @@
//
// (C)2005 Novell Inc.
//
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Collections;
@@ -554,4 +554,4 @@ public void WriteNameExcept (RelaxngExceptNameClass e)
}
#endregion
}
-}
+}
View
40 mcs/class/Commons.Xml.Relaxng/Commons.Xml/XmlDefaultReader.cs
@@ -8,26 +8,26 @@
//
// Copyright (c) 2004 Novell Inc.
// All rights reserved
-//
-// 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.
-//
+//
+// 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.
+//
//
// Similar to SAX DefaultHandler
View
8 mcs/class/Compat.ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib/AssemblyInfo.cs
@@ -47,12 +47,12 @@
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
-#if NET_2_0
+#if NET_2_0
[assembly: AssemblyVersion("2.6.0.0")]
-#else
-// not worrying about the NET_1_0 profile for now.
+#else
+// not worrying about the NET_1_0 profile for now.
[assembly: AssemblyVersion("0.6.0.0")]
-#endif
+#endif
[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile ("SharpZipLib.pub")]
View
1 mcs/class/I18N/Common/.gitattributes
@@ -1 +0,0 @@
-/ByteEncoding.cs -crlf
View
24 mcs/class/I18N/Common/ByteEncoding.cs
@@ -371,21 +371,21 @@ public unsafe override String GetString(byte[] bytes, int index, int count)
("count", Strings.GetString("ArgRange_Array"));
}
- if (count == 0)
- return string.Empty;
-
- string s = new string ((char) 0, count);
-
- fixed (byte* bytePtr = bytes)
- fixed (char* charPtr = s)
- fixed (char* cvt = toChars) {
- byte* b = bytePtr + index;
- char* c = charPtr;
+ if (count == 0)
+ return string.Empty;
+
+ string s = new string ((char) 0, count);
+
+ fixed (byte* bytePtr = bytes)
+ fixed (char* charPtr = s)
+ fixed (char* cvt = toChars) {
+ byte* b = bytePtr + index;
+ char* c = charPtr;
while(count-- != 0)
*(c++) = cvt[*(b++)];
}
-
- return s;
+
+ return s;
}
public override String GetString(byte[] bytes)
{
View
1 mcs/class/IBM.Data.DB2/IBM.Data.DB2/.gitattributes
@@ -1,6 +1,5 @@
/DB2ClientUtils.cs -crlf
/DB2Command.cs -crlf
-/DB2CommandBuilder.cs -crlf
/DB2Connection.cs -crlf
/DB2ConnectionPool.cs -crlf
/DB2ConnectionSettings.cs -crlf
View
18 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2CommandBuilder.cs
@@ -46,7 +46,7 @@ public DB2CommandBuilder (DB2DataAdapter adapter)
DataAdapter = adapter;
}
- public DB2DataAdapter DataAdapter
+ public DB2DataAdapter DataAdapter
{
get
{
@@ -77,7 +77,7 @@ public DB2DataAdapter DataAdapter
}
}
- public string QuotePrefix
+ public string QuotePrefix
{
get
{
@@ -87,7 +87,7 @@ public string QuotePrefix
{ }
}
- public string QuoteSuffix
+ public string QuoteSuffix
{
get
{
@@ -119,7 +119,7 @@ public DB2Command GetInsertCommand ()
values += ", ";
}
- if(!((bool)dr["IsAutoIncrement"]))
+ if(!((bool)dr["IsAutoIncrement"]))
{
fields += column.ColumnName;
//values += ":v_" + column.ColumnName;
@@ -135,8 +135,8 @@ public DB2Command GetInsertCommand ()
{
//DataColumn column = dt.Columns[i];
DataRow dr = dt.Rows[i];
- DataColumn column = new DataColumn((string)dr["ColumnName"], DB2TypeConverter.GetManagedType((int)dr["ProviderType"]));
- if (!((bool)dr["IsAutoIncrement"]))
+ DataColumn column = new DataColumn((string)dr["ColumnName"], DB2TypeConverter.GetManagedType((int)dr["ProviderType"]));
+ if (!((bool)dr["IsAutoIncrement"]))
{
DB2Parameter aux = new DB2Parameter("v_" + column.ColumnName, column.DataType);
aux.Direction = ParameterDirection.Input;
@@ -158,7 +158,7 @@ public DB2Command GetUpdateCommand ()
string wheres = "";
for (int i = 0; i < dt.Rows.Count; i++)
{
- if (sets.Length != 0 && !((bool)dt.Rows[i]["IsAutoIncrement"]))
+ if (sets.Length != 0 && !((bool)dt.Rows[i]["IsAutoIncrement"]))
{
sets += ", ";
}
@@ -180,7 +180,7 @@ public DB2Command GetUpdateCommand ()
{
DataRow dr = dt.Rows[i];
DataColumn column = new DataColumn((string)dr["ColumnName"], DB2TypeConverter.GetManagedType((int)dr["ProviderType"]));
- if (!((bool)dr["IsAutoIncrement"]))
+ if (!((bool)dr["IsAutoIncrement"]))
{
DB2Parameter aux = new DB2Parameter("s_" + column.ColumnName, column.DataType);
aux.Direction = ParameterDirection.Input;
@@ -251,7 +251,7 @@ public void RefreshSchema ()
deleteCommand = null;
}
- private DataTable GetSchema()
+ private DataTable GetSchema()
{
dataAdapter.SelectCommand.Connection.Open();
DB2Command cmd = new DB2Command(dataAdapter.SelectCommand.CommandText, dataAdapter.SelectCommand.Connection);
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ConnectionPool.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Collections;
using System.Text;
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ConnectionSettings.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Runtime.InteropServices;
using System.Text;
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Constants.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
namespace IBM.Data.DB2
View
622 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2DataReader.cs
@@ -1,45 +1,45 @@
-
-//
-// 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.
-//
-using System;
-using System.Collections;
-using System.Data;
-using System.Runtime.InteropServices;
-using System.Globalization;
-using System.Text;
-
-namespace IBM.Data.DB2
-{
- /// <summary>
- /// Summary description for DB2ClientDataReader.
- /// DB2ClientDataReader.
- /// </summary>
- public sealed class DB2DataReader : MarshalByRefObject, IDataReader
- {
+
+//
+// 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.
+//
+using System;
+using System.Collections;
+using System.Data;
+using System.Runtime.InteropServices;
+using System.Globalization;
+using System.Text;
+
+namespace IBM.Data.DB2
+{
+ /// <summary>
+ /// Summary description for DB2ClientDataReader.
+ /// DB2ClientDataReader.
+ /// </summary>
+ public sealed class DB2DataReader : MarshalByRefObject, IDataReader
+ {
private struct ColumnInfo
{
public string Colname;
public int Sqltype;
- }
-
+ }
+
private object[] _resultSet;
private ColumnInfo[] columnInfo;
private Hashtable columnsNames;
@@ -54,8 +54,8 @@ private struct ColumnInfo
private CommandBehavior behavior;
private bool hasRows;
private bool skipReadOnce;
-
-
+
+
#region Constructors and destructors
/// <summary>
///
@@ -78,7 +78,7 @@ internal DB2DataReader(DB2Connection con, DB2Command com, CommandBehavior behavi
}
#endregion
-
+
private void GetFieldCountAndAffectedRows()
{
short sqlRet;
@@ -93,64 +93,64 @@ private void GetFieldCountAndAffectedRows()
sqlRet = DB2CLIWrapper.SQLNumResultCols(hwndStmt, out colCount);
DB2ClientUtils.DB2CheckReturn(sqlRet, DB2Constants.SQL_HANDLE_STMT, hwndStmt, "DB2ClientDataReader - SQLNumResultCols", db2Conn);
fieldCount = colCount;
- }
-
- #region Properties
-
- #region Depth property
- ///
- ///Depth of nesting for the current row, need to figure out what this translates into
- ///with DB2.
- ///
- private int depth = 0;
- public int Depth
- {
- get
- {
+ }
+
+ #region Properties
+
+ #region Depth property
+ ///
+ ///Depth of nesting for the current row, need to figure out what this translates into
+ ///with DB2.
+ ///
+ private int depth = 0;
+ public int Depth
+ {
+ get
+ {
if(isClosed)
{
throw new InvalidOperationException("Reader is closed");
- }
- return depth;
- }
- }
- #endregion
-
- #region IsClosed property
- /// <summary>
- /// True if the reader is closed.
- /// </summary>
- private bool isClosed = true;
- public bool IsClosed
- {
- get
- {
- return isClosed;
- }
- }
- #endregion
-
- #region RecordsAffected property
- ///
- /// Number of records affected by this operation. Will be zero until we close the
- /// reader
- ///
-
- public int RecordsAffected
- {
- get
- {
- return recordsAffected;
- }
- }
- #endregion
-
- #endregion
-
- #region Methods
-
-
-
+ }
+ return depth;
+ }
+ }
+ #endregion
+
+ #region IsClosed property
+ /// <summary>
+ /// True if the reader is closed.
+ /// </summary>
+ private bool isClosed = true;
+ public bool IsClosed
+ {
+ get
+ {
+ return isClosed;
+ }
+ }
+ #endregion
+
+ #region RecordsAffected property
+ ///
+ /// Number of records affected by this operation. Will be zero until we close the
+ /// reader
+ ///
+
+ public int RecordsAffected
+ {
+ get
+ {
+ return recordsAffected;
+ }
+ }
+ #endregion
+
+ #endregion
+
+ #region Methods
+
+
+
#region Close method
public void Close()
@@ -197,10 +197,10 @@ void Dispose(bool disposing)
Dispose(false);
}
- #endregion
-
- #region GetSchemaTable
-
+ #endregion
+
+ #region GetSchemaTable
+
public DataTable GetSchemaTable()
{
if(isClosed)
@@ -378,11 +378,11 @@ public DataTable GetSchemaTable()
}
}
return _schemaTable;
- }
- #endregion
-
- #region NextResult
-
+ }
+ #endregion
+
+ #region NextResult
+
public bool NextResult()
{
hasRows = false;
@@ -399,11 +399,11 @@ public bool NextResult()
return false;
DB2ClientUtils.DB2CheckReturn(sqlRet, DB2Constants.SQL_HANDLE_STMT, hwndStmt, "Db2ClientDataReader - SQLMoreResults", db2Conn);
return true;
- }
- #endregion
-
- #region Read
-
+ }
+ #endregion
+
+ #region Read
+
#if !NET_1_0
public bool HasRows
{
@@ -418,8 +418,8 @@ public bool HasRows
return hasRows;
}
}
-#endif
-
+#endif
+
public bool Read()
{
if (isClosed)
@@ -444,10 +444,10 @@ public bool Read()
hasData = true;
return true;
- }
- #endregion
-
- #region GetColumnInfo
+ }
+ #endregion
+
+ #region GetColumnInfo
private void GetColumnInfo()
{
if(isClosed)
@@ -477,22 +477,22 @@ private void GetColumnInfo()
}
- }
- #endregion
-
- #region Describe/Bind/Fetch functions
- ///
- ///Broke these out so that we can use different paths for Immediate executions and Prepared executions
- /// <summary>
- /// Does the describe and bind steps for the query result set. Called for both immediate and prepared queries.
- /// </summary>
-
-/// <summary>
-/// FetchResults does what it says.
-/// </summary>
-/// <param name="dbVals"></param>
-/// <param name="sqlLen_or_IndPtr"></param>
-/// <param name="_resultSet"></param>
+ }
+ #endregion
+
+ #region Describe/Bind/Fetch functions
+ ///
+ ///Broke these out so that we can use different paths for Immediate executions and Prepared executions
+ /// <summary>
+ /// Does the describe and bind steps for the query result set. Called for both immediate and prepared queries.
+ /// </summary>
+
+/// <summary>
+/// FetchResults does what it says.
+/// </summary>
+/// <param name="dbVals"></param>
+/// <param name="sqlLen_or_IndPtr"></param>
+/// <param name="_resultSet"></param>
private int FieldNameLookup(DataTable _schemaTable, string name)
{
for(int i = 0; i < _schemaTable.Rows.Count; i++)
@@ -504,16 +504,16 @@ private int FieldNameLookup(DataTable _schemaTable, string name)
}
}
return -1;
- }
-
- #endregion
-
- #region IDataRecord Interface
- ///Code for the IDataRecord interface
- ///
- #region FieldCount
- ///
- ///
+ }
+
+ #endregion
+
+ #region IDataRecord Interface
+ ///Code for the IDataRecord interface
+ ///
+ #region FieldCount
+ ///
+ ///
public int FieldCount
{
get
@@ -523,10 +523,10 @@ public int FieldCount
return fieldCount;
}
- }
- #endregion
-
- #region Item accessors
+ }
+ #endregion
+
+ #region Item accessors
public object this[string name]
{
get
@@ -576,9 +576,9 @@ public int FieldCount
}
throw new NotImplementedException("Unknown SQL type " + columnInfo[col].Sqltype);
}
- }
- #endregion
-
+ }
+ #endregion
+
#region GetBytes
///
/// GetBytes, return a stream of bytes
@@ -602,8 +602,8 @@ public long GetBytes(int col, long fieldOffset, byte[] buffer, int bufferOffset,
return sourceArray.LongLength;
#endif
}
- #endregion
-
+ #endregion
+
#region GetChars
///
///GetChars, returns char array
@@ -619,10 +619,10 @@ public long GetChars(int col, long fieldOffset, char[] buffer, int bufferOffset,
}
return (long)sourceString.Length;
}
- #endregion
-
- #region GetBoolean method
-
+ #endregion
+
+ #region GetBoolean method
+
public Boolean GetBoolean(int col)
{
return (Boolean)GetBooleanInternal(col);
@@ -655,9 +655,9 @@ internal object GetBooleanInternal(int col)
}
}
return _resultSet[col];
- }
- #endregion
-
+ }
+ #endregion
+
#region GetGuid
///
/// GetDateTime method
@@ -696,12 +696,12 @@ internal object GetGuidInternal(int col)
return _resultSet[col];
}
- #endregion
-
- #region GetByte
- ///
- ///GetByte
- ///
+ #endregion
+
+ #region GetByte
+ ///
+ ///GetByte
+ ///
public Byte GetByte(int col)
{
return (Byte)GetByteInternal(col);
@@ -734,13 +734,13 @@ internal object GetByteInternal(int col)
}
}
return _resultSet[col];
- }
- #endregion
-
- #region GetChar
- ///
- ///GetChar, return column as a char
- ///
+ }
+ #endregion
+
+ #region GetChar
+ ///
+ ///GetChar, return column as a char
+ ///
public Char GetChar(int col)
{
return (Char)GetCharInternal(col);
@@ -773,25 +773,25 @@ internal object GetCharInternal(int col)
}
}
return _resultSet[col];
- }
- #endregion
-
- #region GetData
- ///
- /// GetData method
- ///
- public IDataReader GetData(int col)
- {
- //Have to research this one, not quite sure what the docs mean
- //DB2 does have some structured data types, is that what this is for?
- throw new NotSupportedException();
- }
- #endregion
-
- #region GetDataTypeName
- ///
- ///GetDataTypeName return the type of data
- ///
+ }
+ #endregion
+
+ #region GetData
+ ///
+ /// GetData method
+ ///
+ public IDataReader GetData(int col)
+ {
+ //Have to research this one, not quite sure what the docs mean
+ //DB2 does have some structured data types, is that what this is for?
+ throw new NotSupportedException();
+ }
+ #endregion
+
+ #region GetDataTypeName
+ ///
+ ///GetDataTypeName return the type of data
+ ///
public string GetDataTypeName(int col)
{
if(columnInfo == null)
@@ -836,14 +836,14 @@ public string GetDataTypeName(int col)
return "VARBINARY";
}
throw new NotImplementedException("Unknown SQL type " + columnInfo[col].Sqltype);
- }
- #endregion
-
- #region GetDateTime
- ///
- /// GetDateTime method
- ///
-
+ }
+ #endregion
+
+ #region GetDateTime
+ ///
+ /// GetDateTime method
+ ///
+
public DateTime GetDateTime(int col)
{
return (DateTime)GetDateTimeInternal(col);
@@ -883,9 +883,9 @@ internal object GetDateTimeInternal(int col)
}
}
return _resultSet[col];
- }
- #endregion
-
+ }
+ #endregion
+
#region GetDate
///
/// GetDate method
@@ -927,8 +927,8 @@ internal object GetDateInternal(int col)
return _resultSet[col];
}
- #endregion
-
+ #endregion
+
#region GetTime
///
/// GetTime method
@@ -974,13 +974,13 @@ internal object GetTimeInternal(int col)
return _resultSet[col];
}
- #endregion
-
-
- #region GetDecimal
- ///
- ///GetDecimal method
- ///
+ #endregion
+
+
+ #region GetDecimal
+ ///
+ ///GetDecimal method
+ ///
public Decimal GetDecimal(int col)
{
@@ -1020,13 +1020,13 @@ internal object GetDecimalInternal(int col)
// }
// }
return _resultSet[col];
- }
- #endregion
-
- #region GetDouble
- ///
- /// GetDouble
- ///
+ }
+ #endregion
+
+ #region GetDouble
+ ///
+ /// GetDouble
+ ///
public Double GetDouble(int col)
{
return (Double)GetDoubleInternal(col);
@@ -1059,27 +1059,27 @@ internal object GetDoubleInternal(int col)
}
}
return _resultSet[col];
- }
- #endregion
-
- #region GetFieldType
- ///
- /// Type GetFieldType
- ///
+ }
+ #endregion
+
+ #region GetFieldType
+ ///
+ /// Type GetFieldType
+ ///
public Type GetFieldType(int col)
{
if(columnInfo == null)
{
GetColumnInfo();
}
return GetManagedType(columnInfo[col].Sqltype);
- }
- #endregion
-
- #region GetFloat
- ///
- /// GetFloat
- ///
+ }
+ #endregion
+
+ #region GetFloat
+ ///
+ /// GetFloat
+ ///
public float GetFloat(int col)
{
return (float)GetFloatInternal(col);
@@ -1112,13 +1112,13 @@ internal object GetFloatInternal(int col)
}
}
return _resultSet[col];
- }
- #endregion
-
- #region The GetInt?? series
- ///
- ///GetInt16
- ///
+ }
+ #endregion
+
+ #region The GetInt?? series
+ ///
+ ///GetInt16
+ ///
public short GetInt16(int col)
{
return (short)GetInt16Internal(col);
@@ -1228,27 +1228,27 @@ internal object GetInt64Internal(int col)
}
return _resultSet[col];
}
-
- #endregion
-
- #region GetName
- ///
- ///GetName, returns the name of the field
- ///
+
+ #endregion
+
+ #region GetName
+ ///
+ ///GetName, returns the name of the field
+ ///
public string GetName(int col)
{
if(columnInfo == null)
{
GetColumnInfo();
}
return columnInfo[col].Colname;
- }
- #endregion
-
- #region GetOrdinal
- ///
- /// GetOrdinal, return the index of the named column
- ///
+ }
+ #endregion
+
+ #region GetOrdinal
+ ///
+ /// GetOrdinal, return the index of the named column
+ ///
public int GetOrdinal(string name)
{
if(columnInfo == null)
@@ -1261,13 +1261,13 @@ public int GetOrdinal(string name)
throw new IndexOutOfRangeException("name");
}
return (int)ordinal;
- }
- #endregion
-
- #region GetString
- ///
- /// GetString returns a string
- ///
+ }
+ #endregion
+
+ #region GetString
+ ///
+ /// GetString returns a string
+ ///
public string GetString(int col)
{
return (string)GetStringInternal(col);
@@ -1304,23 +1304,23 @@ public object GetStringInternal(int col)
}
}
return _resultSet[col];
- }
- #endregion
-
- #region GetValue
- ///
- /// GetVCalue, returns an object
- ///
- public object GetValue(int col)
- {
- return this[col];
- }
- #endregion
-
- #region GetValues
- ///
- /// GetValues returns all columns in the row through the argument, and the number of columns in the return value
- ///
+ }
+ #endregion
+
+ #region GetValue
+ ///
+ /// GetVCalue, returns an object
+ ///
+ public object GetValue(int col)
+ {
+ return this[col];
+ }
+ #endregion
+
+ #region GetValues
+ ///
+ /// GetValues returns all columns in the row through the argument, and the number of columns in the return value
+ ///
public int GetValues(object[] values)
{
int count = Math.Min(fieldCount, values.Length);
@@ -1332,24 +1332,24 @@ public int GetValues(object[] values)
}
return count;
- }
- #endregion
-
- #region IsDBNull
- ///
- /// IsDBNull Is the column null
- ///
+ }
+ #endregion
+
+ #region IsDBNull
+ ///
+ /// IsDBNull Is the column null
+ ///
public bool IsDBNull(int col)
{
//Proper implementation once I get the SQLDescribe/SQLBind/SQLFetch stuff in place
return Convert.IsDBNull(this[col]);
- }
- #endregion
-
- #endregion ///For IDataRecord
-
- #region private methods
-
+ }
+ #endregion
+
+ #endregion ///For IDataRecord
+
+ #region private methods
+
private DataTable BuildNewSchemaTable()
{
DataTable schemaTable = new DataTable("SchemaTable");
@@ -1375,19 +1375,19 @@ private DataTable BuildNewSchemaTable()
schemaTable.Columns.Add(new DataColumn("BaseColumnName", typeof(string)));
return schemaTable;
- }
- #endregion
-
- private void InitMem(int memSize, ref IntPtr ptr){
- if (ptr.ToInt32() == 0){
- unsafe{
- fixed(byte* arr = new byte[memSize]){
- ptr = new IntPtr(arr);
- }
- }
- }
- }
-
+ }
+ #endregion
+
+ private void InitMem(int memSize, ref IntPtr ptr){
+ if (ptr.ToInt32() == 0){
+ unsafe{
+ fixed(byte* arr = new byte[memSize]){
+ ptr = new IntPtr(arr);
+ }
+ }
+ }
+ }
+
private Type GetManagedType(int sql_type)
{
switch(sql_type)
@@ -1419,8 +1419,8 @@ private Type GetManagedType(int sql_type)
return typeof(byte[]);
}
throw new NotImplementedException("Unknown SQL type " + sql_type);
- }
-
+ }
+
private bool IsLong(short sql_type)
{
switch(sql_type)
@@ -1430,7 +1430,7 @@ private bool IsLong(short sql_type)
return true;
}
return false;
- }
+ }
private object GetBlobDataInternal(int col)
{
if((col < 0) || (col >= fieldCount))
@@ -1461,8 +1461,8 @@ private object GetBlobDataInternal(int col)
}
}
return _resultSet[col];
- }
- }
-
-}
-#endregion
+ }
+ }
+
+}
+#endregion
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ErrorCollection.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Collections;
using System.Text;
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2OpenConnection.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Collections;
using System.Runtime.InteropServices;
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Parameter.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Data;
using System.Runtime.InteropServices;
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2ParameterCollection.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Data;
using System.Collections;
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Transaction.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
using System.Data;
using System.Runtime.InteropServices;
View
42 mcs/class/IBM.Data.DB2/IBM.Data.DB2/DB2Type.cs
@@ -1,24 +1,24 @@
-
-//
-// 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.
-//
+
+//
+// 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.
+//
using System;
namespace IBM.Data.DB2
View
2 mcs/class/Mainsoft.Web/Mainsoft.Web.AspnetConfig/aspnetconfig/.gitattributes
@@ -15,7 +15,6 @@
/Error.aspx.designer.cs -crlf
/GridButton.cs -crlf
/GridCheckBox.cs -crlf
-/HttpHandlersSectionHandler.cs -crlf
/Mainsoft.Web.AspnetConfig.css -crlf
/ManageRole.aspx -crlf
/ManageRole.aspx.cs -crlf
@@ -28,7 +27,6 @@
/SecurError.aspx.cs -crlf
/SecurError.aspx.designer.cs -crlf
/StrUtils.cs -crlf
-/UrlUtils.cs -crlf
/Util.Master -crlf
/Util.Master.cs -crlf
/Util.Master.designer.cs -crlf
View
6 mcs/class/Mainsoft.Web/Mainsoft.Web.AspnetConfig/aspnetconfig/HttpHandlersSectionHandler.cs
@@ -31,9 +31,9 @@
using System.Collections;
using System.Configuration;
using System.Xml;
-using System.Globalization;
-using System;
-
+using System.Globalization;
+using System;
+
namespace Mainsoft.Web.Configuration
{