mono.git
20 years ago * Makefile: Add gacutil to the build
Jackson Harper [Wed, 28 Apr 2004 17:46:44 +0000 (17:46 -0000)]
    * Makefile: Add gacutil to the build

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

20 years agoOoops.
Martin Baulig [Wed, 28 Apr 2004 17:46:40 +0000 (17:46 -0000)]
Ooops.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 17:21:02 +0000 (17:21 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.CheckStructCycles): New public
static method to check for cycles in the struct layout.

* rootcontext.cs (RootContext.PopulateTypes): Call
TypeManager.CheckStructCycles() for each TypeContainer.
[Note: We only need to visit each type once.]

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

20 years ago2004-04-28 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 28 Apr 2004 16:40:52 +0000 (16:40 -0000)]
2004-04-28  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* IntegerFormatter.cs: Prevent the use of the explicit static constuctor

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 16:32:17 +0000 (16:32 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* test-243.cs: New test for #57014.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 16:31:50 +0000 (16:31 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* test-154.cs: Added test case for #52625.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 16:30:35 +0000 (16:30 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* constant.cs (StringConstant.Emit): Emit Ldnull if we're null.

* const.cs (Const.LookupConstantValue): Return a `bool' signalling
success and added `out object value'.  Use a `bool resolved' field
to check whether we've already been called rather than
`ConstantValue != null' since this breaks for NullLiterals.

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

20 years ago * expression.cs: fixed bug to get enum running
Anirban Bhattacharjee [Wed, 28 Apr 2004 15:54:48 +0000 (15:54 -0000)]
  * expression.cs: fixed bug to get enum running
  * enum.cs: handling several negative scenarios
             Changed several exception numbers
  * assign.cs: Changed exception number

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

20 years ago2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 15:45:27 +0000 (15:45 -0000)]
2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DigestAuthenticationModule.cs: introduces new overridable method
GetUserByName(), which by default works exactly like it used to, but
inherited classes can implement their own version. Patch by Tambet Ingo.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 15:25:20 +0000 (15:25 -0000)]
2004-04-28  Sebastien Pouliot <sebastien@ximian.com>

* AssemblyInfo.cs: Re-activated ClsCompliant(true).

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:43:34 +0000 (14:43 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:42:20 +0000 (14:42 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* SequentialSearchPrimeGeneratorBase.cs: In sync with
Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:39:53 +0000 (14:39 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* X509SpcTest.cs: Commented tests as the root certificates aren't part
of the Mono trusted store.

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

20 years ago2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 14:39:15 +0000 (14:39 -0000)]
2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* config.h.in:
* configure.in:
* mono/io-layer/io.c:
* mono/io-layer/sockets.c:
* mono/metadata/file-io.c:
* mono/metadata/socket-io.c: added check for sys/aio.h.

svn path=/trunk/mono/; revision=26166

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:36:44 +0000 (14:36 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Added X509ChainStatusFlags, X509CRL, X509Store,
X509StoreManager, X509Stores, BasicConstraintsExtension,
KeyUsageExtension and SubjectKeyIdentifierExtension to the build.
Removed ITrustAnchors.cs, TestAnchors.cs and TrustAnchors from the
build.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:32:36 +0000 (14:32 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* DSACryptoServiceProvider.cs: Changed delegate signature.
* RSACryptoServiceProvider.cs: Changed delegate signature.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:30:30 +0000 (14:30 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* BasicConstaintExtension.cs: New in corlib. In sync with
Mono.Security.dll version.
* KeyUsageExtension.cs: New in corlib. In sync with Mono.Security.dll
version.
* SubjectKeyIdentifierExtension.cs: New in corlib. In sync with
Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:27:30 +0000 (14:27 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: In sync with Mono.Security.dll version.
* X509CRL.cs: New in corlib. In sync with Mono.Security.dll version.
* X509Certificate.cs: In sync with Mono.Security.dll version.
* X509CertificateCollection.cs: In sync with Mono.Security.dll version.
* X509Chain.cs: In sync with Mono.Security.dll version.
* X509ChainStatusFlag.cs: New in corlib. In sync with Mono.Security.dll
version.
* X509Extension.cs: In sync with Mono.Security.dll version.
* X509Extensions.cs: In sync with Mono.Security.dll version.
* X509Store.cs: New in corlib. In sync with Mono.Security.dll version.
* X509StoreManager.cs: New in corlib. In sync with Mono.Security.dll version.
* X509Stores.cs: New in corlib. In sync with Mono.Security.dll version.
* X520Attributes.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:20:26 +0000 (14:20 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConvert.cs: In sync with Mono.Security.dll version.
* CryptoTools.cs: In sync with Mono.Security.dll version.
* DSAManaged.cs: Changed delegate to please FxCop.
* PKCS1.cs: In sync with Mono.Security.dll version.
* RSAManaged.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:17:04 +0000 (14:17 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeBase.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:15:28 +0000 (14:15 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1.cs: In sync with Mono.Security.dll version.
* ASN1Convert.cs: In sync with Mono.Security.dll version.
* PKCS7.cs: In sync with Mono.Security.dll version.
* StrongName.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:12:51 +0000 (14:12 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* NextPrimeFinder.cs: In sync with Mono.Security.dll version.
* PrimeGeneratorBase.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:10:59 +0000 (14:10 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* PrimalityTests.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 14:09:20 +0000 (14:09 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* BigInteger.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-04-28 Patrik Torstensson
Patrik Torstensson [Wed, 28 Apr 2004 14:05:11 +0000 (14:05 -0000)]
2004-04-28 Patrik Torstensson

* HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
removed MonoTodo

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 13:59:06 +0000 (13:59 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* KeyUsageExtension.cs: Added missing INSIDE_CORLIB to enum.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 13:54:09 +0000 (13:54 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeBase.cs: Added missing (overwritten) #if INSIDE_CORLIB
directives to hides type and enum in corlib.

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

20 years agoImageCodecInfo.cs: Removed unwanted characters which crept in bcos of my carelessness.
Sanja Gupta [Wed, 28 Apr 2004 13:37:06 +0000 (13:37 -0000)]
ImageCodecInfo.cs: Removed unwanted characters which crept in bcos of my carelessness.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 13:36:50 +0000 (13:36 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Uncommented assembly key file attribute as MCS can
now strongname assembly. This makes Mono.Http compile with CSC (now
that Mono.Http is also strongnamed).

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

20 years ago2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 13:31:48 +0000 (13:31 -0000)]
2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* error.[ch]: added _wapi_get_win32_file_error...
* io.c: ... which was _wapi_get_win32_error here.
* sockets.c: rename the function calls here too.

svn path=/trunk/mono/; revision=26146

20 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Wed, 28 Apr 2004 13:21:54 +0000 (13:21 -0000)]
ChangeLog: Updated ChangeLog
Modified Files: Converted from dos2unix format

 Modified Files:
  BitmapData.cs ChangeLog ColorAdjustType.cs ColorChannelFlag.cs
  ColorMap.cs ColorMapType.cs ColorMatrix.cs ColorMatrixFlag.cs
  ColorMode.cs ColorPalette.cs EmfPlusRecordType.cs EmfType.cs
  Encoder.cs EncoderParameter.cs EncoderParameterValueType.cs
  EncoderParameters.cs EncoderValue.cs FrameDimension.cs
  ImageAttributes.cs ImageCodecFlags.cs ImageCodecInfo.cs
  ImageFlags.cs ImageFormat.cs ImageLockMode.cs MetaHeader.cs
  Metafile.cs MetafileFrameUnit.cs MetafileHeader.cs
  MetafileType.cs PaletteFlags.cs PixelFormat.cs
  PlayRecordCallback.cs PropertyItem.cs
  WmfPlaceableFileHeader.cs

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

20 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Wed, 28 Apr 2004 12:58:23 +0000 (12:58 -0000)]
ChangeLog: Updated ChangeLog
ColorTranslator.cs, StringFormat.cs, SystemIcons.cs,ToolboxBitmapAttribute.cs:
Converted to unix format from dos format

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 12:57:02 +0000 (12:57 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* corlib_test.dll.sources: Added DESCryptoServiceProviderTest.cs.

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

20 years ago2004-03-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 12:54:53 +0000 (12:54 -0000)]
2004-03-28  Sebastien Pouliot  <sebastien@ximian.com>

* DESCryptoServiceProviderTest.cs: New. Completes coverage for
DESCryptoServiceProvider class. Calls the FIPS 81 tests for this
implementation.
* DESTest.cs: Added test vectors from FIPS 81.

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

20 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 28 Apr 2004 12:51:44 +0000 (12:51 -0000)]
ChangeLog: Updated ChangeLog.
ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported() methods.

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

20 years ago2004-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 28 Apr 2004 12:49:44 +0000 (12:49 -0000)]
2004-04-28  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am mini.h mini-exceptions.c mini-x86.h mini-sparc.h exceptions-sparc.c: Move parts of the sparc exception handling code to XP code.

svn path=/trunk/mono/; revision=26140

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 12:44:22 +0000 (12:44 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Fixed bug when offset > 0 in destination
buffer.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 12:42:41 +0000 (12:42 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Fixed a bug when offset > 0 in destination
buffer. Changed Array.Copy to Buffer.BlockCopy.

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

20 years agoremove C sharp based codec info
Jordi Mas i Hernandez [Wed, 28 Apr 2004 12:22:16 +0000 (12:22 -0000)]
remove C sharp based codec info

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

20 years agoWhoops, need to change pthread_mutex functions to mono_mutex here.
Dick Porter [Wed, 28 Apr 2004 12:15:11 +0000 (12:15 -0000)]
Whoops, need to change pthread_mutex functions to mono_mutex here.

svn path=/trunk/mono/; revision=26136

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 12:11:16 +0000 (12:11 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* DSA.cs: Moved XML comments to monodoc. Added globalization to
exceptions. Already had 100% coverage.
* DSAParameters.cs: Moved XML comments to monodoc.
* DSASignatureDeformetter.cs: Added globalization to exceptions.
Limited catch to expected exception. Already had 100% coverage.
* DSASignatureFormatter.cs: Added globalization to exceptions. Limited
catch to expected exception. Already had 100% coverage.

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

20 years ago2004-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 28 Apr 2004 12:08:14 +0000 (12:08 -0000)]
2004-04-28  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-sparc.c exceptions-ppc.c exceptions-s390.c mini-ppc.h mini-s390.h mini-sparc.h: Fix up ports after changes.

svn path=/trunk/mono/; revision=26133

20 years ago2004-04-28 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 28 Apr 2004 11:55:04 +0000 (11:55 -0000)]
2004-04-28  Dick Porter  <dick@ximian.com>

* threads.c: Don't abort a thread thats already aborting, when
terminating everything.

svn path=/trunk/mono/; revision=26132

20 years ago2004-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 28 Apr 2004 11:00:49 +0000 (11:00 -0000)]
2004-04-28  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Added System.Reflection.Emit/MethodRental.cs.

* corlib_test.dll.sources: Added Test/System.Reflection.Emit/MethodRentalTest.cs.

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

20 years ago2004-04-28 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 28 Apr 2004 10:48:44 +0000 (10:48 -0000)]
2004-04-28  Dick Porter  <dick@ximian.com>

* daemon-messages.c: Avoid a deadlock when a thread is killed while
waiting for the daemon by using a recursive mutex.  Helps bug 56699.

svn path=/trunk/mono/; revision=26130

20 years ago(test_flags): NUnit.Framework.dll is now in
Raja R Harinath [Wed, 28 Apr 2004 10:24:50 +0000 (10:24 -0000)]
(test_flags): NUnit.Framework.dll is now in
class/lib/$(PROFILE).

** YA Quick fix for breaking mcs/ tree

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

20 years ago(Driver.MainDriver) [IsModuleOnly]: Open code the
Raja R Harinath [Wed, 28 Apr 2004 10:09:15 +0000 (10:09 -0000)]
(Driver.MainDriver) [IsModuleOnly]: Open code the
setting of this flag, since the 'set' method may be non-public.

** Quick fix for breaking mcs/ build: mcs/errors/CS3013-module.cs
   See corlib/System.Reflection/ChangeLog
   2004-04-27  Lluis Sanchez Gual  <lluis@ximian.com>

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

20 years agofixes method signature
Jordi Mas i Hernandez [Wed, 28 Apr 2004 09:53:51 +0000 (09:53 -0000)]
fixes method signature

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

20 years ago2004-04-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 28 Apr 2004 09:41:22 +0000 (09:41 -0000)]
2004-04-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-exceptions.c: New file.

* mini.c mini-exceptions.c mini-x86.h exceptions-x86.c Makefile.am:
Move some parts of the x86 exception handling code to an
arch-independent file so it can be shared with other ports.

svn path=/trunk/mono/; revision=26126

20 years agoImplemented ImageAttributes.SetWrapMode method.
Ravindra [Wed, 28 Apr 2004 09:36:32 +0000 (09:36 -0000)]
Implemented ImageAttributes.SetWrapMode method.

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

20 years agoImageCodecs sample
Jordi Mas i Hernandez [Wed, 28 Apr 2004 09:18:54 +0000 (09:18 -0000)]
ImageCodecs sample

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

20 years agoCodecs use gdi+ and fixes
Jordi Mas i Hernandez [Wed, 28 Apr 2004 09:08:30 +0000 (09:08 -0000)]
Codecs use gdi+ and fixes

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

20 years agofixes typo
Jordi Mas i Hernandez [Wed, 28 Apr 2004 08:41:02 +0000 (08:41 -0000)]
fixes typo

svn path=/trunk/mono/; revision=26122

20 years ago(FlowBranchingException.LookupLabel): Add a null
Raja R Harinath [Wed, 28 Apr 2004 08:07:00 +0000 (08:07 -0000)]
(FlowBranchingException.LookupLabel): Add a null
check on current_vector.Block.

** Quick fix for breaking mcs/ build (tools/monop/monop.cs).

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

20 years agofixed LoadViewState() implementation.
Alon Gazit [Wed, 28 Apr 2004 07:55:39 +0000 (07:55 -0000)]
fixed LoadViewState() implementation.
Always loading the saved attributes collection.

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

20 years ago* ColumnReference.cs : using DataRow _inExpressionEvaluation before accessing row...
Boris Kirzner [Wed, 28 Apr 2004 07:39:07 +0000 (07:39 -0000)]
* ColumnReference.cs : using DataRow _inExpressionEvaluation before accessing row value to get an access to deleted rows also.

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

20 years ago* DataRow.cs :
Boris Kirzner [Wed, 28 Apr 2004 07:35:15 +0000 (07:35 -0000)]
* DataRow.cs :
  - Perfomance fixes:
  - Added using of list of autoIncrement columns
  - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
  - Fix in CheckNullConstraints
  - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
  - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
  - Added onColumnRemoved() method to threat column removal accurately.

* DataRowCollection.cs :
  - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
  - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)

* DataTable.cs :
  - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)

* DataColumnCollection.cs :
  - Perfomance fixes :
     - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
     - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
     - automatic creation of column names rewrited (bug fixes + perfomance improvement)

* DataColumn.cs :
  - Uses autoincrement list of a table

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

20 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Wed, 28 Apr 2004 06:47:41 +0000 (06:47 -0000)]
ChangeLog: Updated ChangeLog
ImageFormat.cs: Implemented Equals() method

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

20 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Wed, 28 Apr 2004 06:45:10 +0000 (06:45 -0000)]
ChangeLog: Updated ChangeLog
ImageFormatConverter.cs: Corrected ConvertFrom() method.

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

20 years agocleanup
Urs C. Muff [Wed, 28 Apr 2004 04:23:32 +0000 (04:23 -0000)]
cleanup

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

20 years agocleanup
Urs C. Muff [Wed, 28 Apr 2004 03:59:07 +0000 (03:59 -0000)]
cleanup

svn path=/trunk/mono/; revision=26114

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 03:45:40 +0000 (03:45 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* System.Data.SqlXml.dll.sources: Added Assembly/AssemblyInfo.cs
and Locale.cs to the build.

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

20 years ago2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 03:45:35 +0000 (03:45 -0000)]
2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io-layer/io.c: fixed leak in async_notifier().

* io-layer/sockets.[ch]: added AIO support for sockets and fixed
WSAIoctl declaration.

* io-layer/threads.c: removed old comment.

* metadata/icall.c: added 2 new async calls for Socket.

* metadata/socket-io.[ch]: fixed some warnings. Added support for
asynchronous IO on *nix systems.

* metadata/threadpool.c: removed unused variable.

svn path=/trunk/mono/; revision=26111

20 years ago2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 03:45:16 +0000 (03:45 -0000)]
2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: added support for unmanaged asynchronous IO. Speed up
error checking.
* UdpClient.cs: fixed Dispose so that it only closes the socket when
called explicitly.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 03:43:11 +0000 (03:43 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added
* TODOAttribute.cs: Added

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 03:41:07 +0000 (03:41 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* Microsoft.VSA.dll.sources: Added Assembly/AssemblyInfo.cs and
Locale.cs to the build.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 03:36:37 +0000 (03:36 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* Microsoft.VisualC.dll.sources: Added Assembly/AssemblyInfo.cs,
Locale.cs and TODO to the build.

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

20 years ago2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 03:33:11 +0000 (03:33 -0000)]
2004-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* Microsoft.JScript.dll.sources: Added Assembly/AssemblyInfo.cs and
Locale.cs to the build.

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

20 years ago2004-04-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 28 Apr 2004 03:28:19 +0000 (03:28 -0000)]
2004-04-26  Sebastien Pouliot  <sebastien@ximian.com>

* System.Runtime.InteropServices.CustomMarshalers.dll.sources:
Added Assembly/AssemblyInfo.cs, Locale.cs and TODO to the build.

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

20 years agoa bit cleaner
Ben Maurer [Wed, 28 Apr 2004 03:24:03 +0000 (03:24 -0000)]
a bit cleaner

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

20 years ago(SetCustomAttribute): Handle the presence of the
Raja R Harinath [Wed, 28 Apr 2004 03:21:10 +0000 (03:21 -0000)]
(SetCustomAttribute): Handle the presence of the
full type name in the data stream.  This is emitted for value
types by the Mono runtime.

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

20 years ago2004-04-27 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 28 Apr 2004 03:15:22 +0000 (03:15 -0000)]
2004-04-27 Ben Maurer  <bmaurer@users.sourceforge.net>

* outline.cs: Don't show the interfaces of an enum,
s/;/, for enum. Style cop.

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

20 years ago2004-04-27 Sebastien Pouliot
Sebastien Pouliot [Wed, 28 Apr 2004 03:13:33 +0000 (03:13 -0000)]
2004-04-27  Sebastien Pouliot

* AssemblyInfo.cs: Changed public key to mswse.pub to match MS

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

20 years ago2004-04-27 Sebastien Pouliot
Sebastien Pouliot [Wed, 28 Apr 2004 03:10:42 +0000 (03:10 -0000)]
2004-04-27  Sebastien Pouliot

* AssemblyInfo.cs: Changed public key to msfinal.pub to match MS

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

20 years agoadd enum improvement
John Luke [Wed, 28 Apr 2004 02:55:24 +0000 (02:55 -0000)]
add enum improvement
and type name kinds

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 02:55:04 +0000 (02:55 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* expression.cs (BaseAccess.CommonResolve): Don't allow `base' in
a field initializer.  Fixes #56459.

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

20 years ago2004-04-27 Sebastien Pouliot
Sebastien Pouliot [Wed, 28 Apr 2004 02:47:15 +0000 (02:47 -0000)]
2004-04-27  Sebastien Pouliot

* AssemblyInfo.cs: Changed public key to msfinal.pub to match MS

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

20 years agoNew tests for bug #52154.
Martin Baulig [Wed, 28 Apr 2004 02:46:59 +0000 (02:46 -0000)]
New tests for bug #52154.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 02:46:25 +0000 (02:46 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* ecore.cs (PropertyExpr.DoResolve/DoResolveLValue): Check whether
we're not attempting to use an indexer.  Fixes #52154.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 01:06:18 +0000 (01:06 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* statement.cs (Return): Don't create a return label if we don't
need it; reverts my change from January 20th.  Thanks to Ben
Maurer for this.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 28 Apr 2004 00:44:58 +0000 (00:44 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

According to the spec, `goto' can only leave a nested scope, but
never enter it.

* statement.cs (Block.LookupLabel): Only lookup in the current
block, don't recurse into parent or child blocks.
(Block.AddLabel): Check in parent and child blocks, report
CS0140/CS0158 if we find a duplicate.
(Block): Removed this indexer for label lookups.
(Goto.Resolve): Call LookupLabel() on our current FlowBranching;
this already does the error reporting for us.

* flowanalysis.cs
(FlowBranching.UsageVector.Block): New public variable; may be null.
(FlowBranching.CreateSibling): Added `Block' argument.
(FlowBranching.LookupLabel): New public virtual method.  Lookup a
label for the target of a `goto' and check whether we're not
leaving a `finally'.

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

20 years agodelay sign assemblies with the ecma key
Jackson Harper [Tue, 27 Apr 2004 21:59:21 +0000 (21:59 -0000)]
delay sign assemblies with the ecma key

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 27 Apr 2004 21:25:18 +0000 (21:25 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranching.UsageVector.MergeChild): If we're
a finite loop block, also do the ALWAYS->SOMETIMES for throws (not
just for returns).

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

20 years ago * gacutil.cs: Temporarily disable strong name verification
Jackson Harper [Tue, 27 Apr 2004 21:02:00 +0000 (21:02 -0000)]
    * gacutil.cs: Temporarily disable strong name verification
          when installing.

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

20 years ago2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Apr 2004 20:54:30 +0000 (20:54 -0000)]
2004-04-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaComplexType.cs : Set basetype as ur-type for such complex
  type that has an immediate Particle (W3C specified as restriction
  of ur-type).

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 27 Apr 2004 20:47:44 +0000 (20:47 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* statement.cs (Block.AddLabel): Also check for implicit blocks
and added a CS0158 check.

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

20 years ago2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Apr 2004 20:31:51 +0000 (20:31 -0000)]
2004-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDataLoader.cs : Even when it should ignore schema, it was
  infering schema.
* XmlSchemaDataImporter.cs : DataRelation creation support.
  Improved "DataSet" element handing. When attributes are on the
  element, it is not a "DataSet" element.
  Fixed parent key column name.
  Unique name creation is not required. Just raise an error.
  Fill facet also for attribute types.

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

20 years ago2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 27 Apr 2004 20:24:30 +0000 (20:24 -0000)]
2004-04-27  Atsushi Enomoto <atsushi@ximian.com>

* ConstraintCollectionTest.cs,
  DataSetTest.cs,
  DataTableTest.cs,
  ForeignKeyConstraintTest.cs : Fixes for incorrect NET_1_0 use.
* DataRowCollectionTest.cs : just check exception type. Don't check
  localizable error message.
* DataSetAssertion.cs : Removed AssertDataSet() with just 4 argument.
  Added relation count parameter for AssertDataTable().
  Added Nested check parameter for AssertDataRelation().
* DataSetInferXmlSchemaTest.cs,
  DataSetReadXmlTest.cs,
  DataSetReadXmlSchemaTest.cs :
  Applied new AssertDataTable().  Added more check on
  DataSetReadXmlSchemaTest.SingleElementTreatmentDifference ().

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

20 years agoOoops, this was a bad idea.
Martin Baulig [Tue, 27 Apr 2004 20:07:47 +0000 (20:07 -0000)]
Ooops, this was a bad idea.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 27 Apr 2004 19:56:03 +0000 (19:56 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs: Also track initializations in unreachable
code.  Fixes #56439.

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

20 years ago * gacutil.cs: Remove hack for removing strong name headers. The
Jackson Harper [Tue, 27 Apr 2004 19:50:36 +0000 (19:50 -0000)]
    * gacutil.cs: Remove hack for removing strong name headers. The
strong name type now handles these properly and this screwed up
the ecma key.

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

20 years ago*** empty log message ***
Martin Baulig [Tue, 27 Apr 2004 19:33:55 +0000 (19:33 -0000)]
*** empty log message ***

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

20 years agoMake this work again.
Martin Baulig [Tue, 27 Apr 2004 19:33:32 +0000 (19:33 -0000)]
Make this work again.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 27 Apr 2004 19:32:37 +0000 (19:32 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* flowanalysis.cs (FlowBranchingLoop): New class.
(FlowBranching.UsageVector.MergeJumpOrigins): Take a list of
UsageVector's instead of an ArrayList.
(FlowBranching.Label): Likewise.
(FlowBranching.UsageVector.MergeBreakOrigins): New method.
(FlowBranching.AddBreakVector): New method.

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

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 27 Apr 2004 19:30:17 +0000 (19:30 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* test-154.cs: Added test case for #52625.

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

20 years ago2004-04-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 27 Apr 2004 19:06:37 +0000 (19:06 -0000)]
2004-04-27  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs: Small regression fix: only convert the type if we

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

20 years ago * sn.cs: Attempt to load the strongnames.config file from the GAC
Jackson Harper [Tue, 27 Apr 2004 19:02:23 +0000 (19:02 -0000)]
    * sn.cs: Attempt to load the strongnames.config file from the GAC
path.

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

20 years agoFlush
Miguel de Icaza [Tue, 27 Apr 2004 18:44:16 +0000 (18:44 -0000)]
Flush

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

20 years ago * Makefile.am: Grab libraries from lib/default now.
Jackson Harper [Tue, 27 Apr 2004 18:41:12 +0000 (18:41 -0000)]
    * Makefile.am: Grab libraries from lib/default now.
* runtime/Makefile.am: Grab libraries from lib/default now.

svn path=/trunk/mono/; revision=26070

20 years ago2004-04-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 27 Apr 2004 18:08:09 +0000 (18:08 -0000)]
2004-04-27  Martin Baulig  <martin@ximian.com>

* attribute.cs (Attribute.Resolve): If we have a constant value
for a named field or property, implicity convert it to the correct
type.

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