mono.git
20 years ago2004-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 29 Apr 2004 00:35:12 +0000 (00:35 -0000)]
2004-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini-arch.h: fix the build on windows.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 00:18:42 +0000 (00:18 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* expression.cs (ComposedCast.DoResolveAsTypeStep): Don't allow
`void[]' (CS1547).

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

20 years agoNew tests.
Martin Baulig [Thu, 29 Apr 2004 00:17:54 +0000 (00:17 -0000)]
New tests.

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 00:10:46 +0000 (00:10 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* statement.cs (LocalInfo.Resolve): Check whether the type is not
void (CS1547).

* class.cs (MemberBase.CheckParameters, FieldBase.DoDefine): Check
whether the type is not void (CS1547).

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

20 years ago2004-04-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 29 Apr 2004 00:10:32 +0000 (00:10 -0000)]
2004-04-28  Martin Baulig  <martin@ximian.com>

* expression.cs (Unary.DoResolveLValue): Override this and report
CS0131 for anything but Operator.Indirection.

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

20 years agoCouple of other warnings out
Miguel de Icaza [Thu, 29 Apr 2004 00:01:10 +0000 (00:01 -0000)]
Couple of other warnings out

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Thu, 29 Apr 2004 00:00:17 +0000 (00:00 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* configure.in: reword message re EGD support
now it is there

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

20 years agoremove a few warnings and dead code
Miguel de Icaza [Wed, 28 Apr 2004 23:59:00 +0000 (23:59 -0000)]
remove a few warnings and dead code

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

20 years agoIndendation fixes, get PPC up to speed to latest API changes
Miguel de Icaza [Wed, 28 Apr 2004 23:50:58 +0000 (23:50 -0000)]
Indendation fixes, get PPC up to speed to latest API changes

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

20 years agoSencond part of the patch
Miguel de Icaza [Wed, 28 Apr 2004 23:49:52 +0000 (23:49 -0000)]
Sencond part of the patch

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

20 years agoNew test.
Martin Baulig [Wed, 28 Apr 2004 23:46:27 +0000 (23:46 -0000)]
New test.

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

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

Committing a patch from Ben Maurer; see bug #50820.

* typemanager.cs (TypeManager.FilterWithClosure): Added CS1540
check for classes.

* ecore.cs (Expression.MemberLookupFailed): Added CS1540 check for
classes.

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

20 years ago2004-04-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 28 Apr 2004 23:27:28 +0000 (23:27 -0000)]
2004-04-28  Miguel de Icaza  <miguel@ximian.com>

* Applied patch from Atsushi Enomoto that allows Synchronized
writers to have a `dont close' flag, this fixes 52094

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

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

* config.h.in:
* configure.in: check for field name in 'union sigval'.

* mono/io-layer/io.c:
* mono/io-layer/sockets.c: use the field name from configure when
accessing sigval pointer field. Makes this work on the Mac.

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

20 years ago * outline.cs: Property.GetGetMethod() does not return the method if it
Lluis Sanchez [Wed, 28 Apr 2004 22:29:15 +0000 (22:29 -0000)]
* outline.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
worked before the fix.

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

20 years ago * typemanager.cs: Property.GetGetMethod() does not return the method if it
Lluis Sanchez [Wed, 28 Apr 2004 22:26:17 +0000 (22:26 -0000)]
* typemanager.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
worked before the fix.

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

20 years ago * MonoProperty.cs: Property.GetGetMethod() does not return the method if it
Lluis Sanchez [Wed, 28 Apr 2004 22:14:53 +0000 (22:14 -0000)]
* MonoProperty.cs: Property.GetGetMethod() does not return the method if it
is private (it did until now because of a bug). Make sure it works as it
worked before the fix.

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

20 years ago * MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not return
Lluis Sanchez [Wed, 28 Apr 2004 22:13:25 +0000 (22:13 -0000)]
* MonoCustomAttrs.cs, MonoType.cs: Property.GetGetMethod() does not return
the method if it is private (it did until now because of a bug). Make sure
it works as it worked before the fix.
* Type.cs: Implemented FilterAttribute delegate.

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

20 years ago* Makefile: Removed unneeded System.Web.Services dependency.
Lluis Sanchez [Wed, 28 Apr 2004 22:02:28 +0000 (22:02 -0000)]
* Makefile: Removed unneeded System.Web.Services dependency.

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 28 Apr 2004 21:54:04 +0000 (21:54 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* atomic.c: (InterlockedExchange) fix typo for
mutex name

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 28 Apr 2004 21:51:04 +0000 (21:51 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* rand.c: try and talk to egd or prngd
for random bytes if opening devices fail.

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

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

* statement.cs (Block.LookupLabel): Also lookup in implicit child blocks.
(Block.AddLabel): Call DoLookupLabel() to only search in the
current block.

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

20 years ago2004-04-28 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 28 Apr 2004 20:46:37 +0000 (20:46 -0000)]
2004-04-28  Bernie Solomon  <bernard@ugsolutions.com>

* transform.c: Make sure ENSURE_I4 does something
32 bit machines too.
(mono_interp_transform_method): allow some stack
space for tracing to work.

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

20 years ago * TypeDescriptor.cs: Do not return attributes that have the same TypeID.
Lluis Sanchez [Wed, 28 Apr 2004 20:21:55 +0000 (20:21 -0000)]
* TypeDescriptor.cs: Do not return attributes that have the same TypeID.
This fixes bug #57655.

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

20 years agoSmall fix.
Martin Baulig [Wed, 28 Apr 2004 19:54:28 +0000 (19:54 -0000)]
Small fix.

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

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

* cfold.cs (ConstantFold.BinaryFold): Added special support for
comparing StringConstants and NullLiterals in Equality and Inequality.

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

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

* AssemblyInfo.cs: Now use the mono.pub key for delay-signing.

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

20 years agoAdding it again as a binary.
Martin Baulig [Wed, 28 Apr 2004 19:25:58 +0000 (19:25 -0000)]
Adding it again as a binary.

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

20 years agoRemoving.
Martin Baulig [Wed, 28 Apr 2004 19:25:43 +0000 (19:25 -0000)]
Removing.

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

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

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

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

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

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

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

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

* pinvoke2.cs libtest.c: New tests for long fields inside structs.

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

20 years agoAdded our Mono public key.
Martin Baulig [Wed, 28 Apr 2004 19:13:09 +0000 (19:13 -0000)]
Added our Mono public key.

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

20 years ago * driver.cs: Attempt to load referenced assemblies from the
Jackson Harper [Wed, 28 Apr 2004 19:01:06 +0000 (19:01 -0000)]
    * driver.cs: Attempt to load referenced assemblies from the
GAC. This is the quick and dirty version of this method that
doesnt take into account versions and just takes the first
canidate found. Will be good enough for now as we will not have more
then one version installed into the GAC until I update this
method.

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

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

* marshal.c (mono_marshal_load_type_info): Calculate the minimum
alignment for the type using the native alignment of its members
instead of using klass->min_align.

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

20 years agoDon't check for cycles in builtin types while compiling corlib.
Martin Baulig [Wed, 28 Apr 2004 18:46:32 +0000 (18:46 -0000)]
Don't check for cycles in builtin types while compiling corlib.

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

20 years ago* MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.
Lluis Sanchez [Wed, 28 Apr 2004 18:41:10 +0000 (18:41 -0000)]
* MessageFormatter.cs: Serialize Args, not OutArgs, like in MS.NET.

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

20 years ago * CADMessages.cs: Revert last change. It was ok.
Lluis Sanchez [Wed, 28 Apr 2004 18:39:26 +0000 (18:39 -0000)]
* CADMessages.cs: Revert last change. It was ok.
* MethodResponse.cs, ReturnMessage.cs: Handle output parameters in a
  different way. The message is constructed from an array that has all
  parameters, including input parameters (which will be set to null).
  The Args property returns all arguments. OutArgs returns only the
  output arguments, which are taken from the provided args list.

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

20 years ago * RemotingServices.cs: When create a ReturnMessage, provide an array with
Lluis Sanchez [Wed, 28 Apr 2004 18:37:47 +0000 (18:37 -0000)]
* RemotingServices.cs: When create a ReturnMessage, provide an array with
  all parameters, including input parameters.

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

20 years agono need to have gacutil.exe here. Reference System.Xml for EnumCheck.exe
Gonzalo Paniagua Javier [Wed, 28 Apr 2004 18:30:10 +0000 (18:30 -0000)]
no need to have gacutil.exe here. Reference System.Xml for EnumCheck.exe

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

20 years agoRemove conflict indicators.
Zoltan Varga [Wed, 28 Apr 2004 18:03:05 +0000 (18:03 -0000)]
Remove conflict indicators.

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

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

* metadata.c (mono_type_stack_size): Fix size of TYPEDBYREF.

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

20 years ago * scripts/Makefile.am:
Jackson Harper [Wed, 28 Apr 2004 17:53:53 +0000 (17:53 -0000)]
    * scripts/Makefile.am:
* scripts/gacutil.in: Add a gacutil script

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

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