Sebastien Pouliot [Mon, 27 Oct 2003 01:37:39 +0000 (01:37 -0000)]
2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
* crypto: Updated status up to today: TLS/WSE/Strongnames ...
svn path=/trunk/mono/; revision=19418
Sebastien Pouliot [Mon, 27 Oct 2003 01:21:56 +0000 (01:21 -0000)]
2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
* ReferenceListTest.cs: Added test to list all references using the
enumerator.
svn path=/trunk/mcs/; revision=19417
Sebastien Pouliot [Mon, 27 Oct 2003 01:20:17 +0000 (01:20 -0000)]
2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
* AsymmetricDecryptionKey.cs: Added internal property to the
asymmetric keypair.
* EncryptedData.cs: Added minimal support for decryption.
* EncryptedKey.cs: Added minimal support for decryption.
* KeyIdentifier.cs: Added internal properties to get access to
X509Certificate, DecryptionKey and EncryptionKey from the key identifier.
* Security.cs: Implemented support for EncryptedData in LoadXml and
implemented part of GetXml.
* SecurityInputFilter.cs: Now process incoming security headers (but
not ExtendedSecurity).
* SecurityOutputFilter.cs: Now uses Security class to Load/Get the
security headers (code moved into Security.cs).
svn path=/trunk/mcs/; revision=19416
Sebastien Pouliot [Mon, 27 Oct 2003 01:12:40 +0000 (01:12 -0000)]
2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
* SoapWebResponse.cs: Fixed the wrong context (re-used request).
* WebServicesClientProtocol.cs: Fixed null pipeline in requests.
svn path=/trunk/mcs/; revision=19415
Todd Berman [Sun, 26 Oct 2003 23:10:58 +0000 (23:10 -0000)]
2003-10-26 Todd Berman <tberman@gentoo.org>
* Microsoft.Web.Services.dll.2.sources: Added RoutingFault.cs
* Microsoft.Web.Services.dll.2.sources: Added Found.cs
* Microsoft.Web.Services.dll.sources: Added RoutingFault.cs
* Microsoft.Web.Services.dll.sources: Added Found.cs
svn path=/trunk/mcs/; revision=19414
Todd Berman [Sun, 26 Oct 2003 23:09:43 +0000 (23:09 -0000)]
2003-10-26 Todd Berman <tberman@gentoo.org>
* RoutingFault.cs: Implementation
* Path.cs: More Implementation
* Found.cs: Implementation
svn path=/trunk/mcs/; revision=19413
Todd Berman [Sun, 26 Oct 2003 21:21:48 +0000 (21:21 -0000)]
2003-10-26 Todd Berman <tberman@gentoo.org>
* RoutingOutputFilter.cs: Adding ReplyTo
svn path=/trunk/mcs/; revision=19412
Ben Maurer [Sun, 26 Oct 2003 20:44:43 +0000 (20:44 -0000)]
typo
svn path=/trunk/mcs/; revision=19411
Ben Maurer [Sun, 26 Oct 2003 20:38:34 +0000 (20:38 -0000)]
2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
* RadioButton.cs: Patch by Yaron Shkop. Enables disabling a
RadioButton. Fixes #50132
svn path=/trunk/mcs/; revision=19410
Ben Maurer [Sun, 26 Oct 2003 19:47:26 +0000 (19:47 -0000)]
2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
* HttpRequest.cs: use the below file when it is proper.
* HttpMultipartContentParser.cs: new file for parsing
multipart/form-data
svn path=/trunk/mcs/; revision=19409
Philip Van Hoof [Sun, 26 Oct 2003 19:46:24 +0000 (19:46 -0000)]
Some fixes until datagrid.cs actually compiles
svn path=/trunk/mcs/; revision=19408
Todd Berman [Sun, 26 Oct 2003 17:59:28 +0000 (17:59 -0000)]
2003-10-26 Todd Berman <tberman@gentoo.org>
* WebServicesConfiguration.cs: Allowing the MessagingConfiguration to
stay the same one (prevents double socket binding attempts)
svn path=/trunk/mcs/; revision=19406
Atsushi Eno [Sun, 26 Oct 2003 03:41:55 +0000 (03:41 -0000)]
2003-10-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XsdValidatingReader.cs : xsi:type should be normalized. More cleanup.
* XsdParticleValidationState.cs : Reverted default content processing
to lax. It is msxsdtest/wildCard/wildG038.xsd which looks incorrect.
svn path=/trunk/mcs/; revision=19405
Atsushi Eno [Sun, 26 Oct 2003 03:39:03 +0000 (03:39 -0000)]
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDReader.cs, DTDValidatingReader.cs, XmlInputStream.cs,
XmlTextReader.cs : More cleanup.
* XmlDocument.cs : Removed CheckName(). Code cleanup.
* XmlElement.cs : .ctor() now adds default attributes (if required).
* XmlAttribute.cs, XmlElement.cs, XmlEntity.cs, XmlEntityReference.cs,
XmlNotation.cs : Now uses OwnerDocument's NameTable.
svn path=/trunk/mcs/; revision=19404
Sebastien Pouliot [Sun, 26 Oct 2003 02:57:29 +0000 (02:57 -0000)]
2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
* SoapContext.cs: Now construct the SecurityCollection for
ExtendedSecurity when null.
svn path=/trunk/mcs/; revision=19403
Sebastien Pouliot [Sun, 26 Oct 2003 02:10:08 +0000 (02:10 -0000)]
2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
* Microsoft.Web.Services.dll.2.sources: Added IMutableSecurityToken.cs
in Microsoft.Web.Services.Security (new in WSE2)
svn path=/trunk/mcs/; revision=19402
Sebastien Pouliot [Sun, 26 Oct 2003 02:07:42 +0000 (02:07 -0000)]
2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
* ReferenceListTest.cs: New. Complete unit tests for ReferenceList.
* WSSecurityTest.cs: Adjusted for WSE2.
svn path=/trunk/mcs/; revision=19401
Sebastien Pouliot [Sun, 26 Oct 2003 02:05:47 +0000 (02:05 -0000)]
2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
* EncryptedData.cs: Can now encrypt SOAP body message (no decrypt yet).
* EncryptedKey.cs: Updated symmetric key creation.
* IMutableSecurityToken.cs: New. Interface in WSE2 to clone SecurityTokens.
* ReferenceList.cs: Completed implementation.
* Security.cs: Fixed Elements and Tokens collections that weren't always created.
* SecurityOutputFilter: Added support for EncryptedData.
* SecurityToken.cs: Private member IPrincipal is now only defined for WSE2 (removed warning).
* UsernameToken.cs: Updated for WSE2.
* X509SecurityToken.cs: Added SecurityTokenReference/KeyIdentifier in KeyInfo.
svn path=/trunk/mcs/; revision=19400
Todd Berman [Sat, 25 Oct 2003 22:37:13 +0000 (22:37 -0000)]
2003-10-25 Todd Berman <tberman@gentoo.org>
* SoapTcpChannel.cs: fixes for csc
* SoapTcpListener.cs: fix for csc
* SoapTcpTransport.cs: fix for csc
svn path=/trunk/mcs/; revision=19399
Todd Berman [Sat, 25 Oct 2003 22:35:22 +0000 (22:35 -0000)]
2003-10-25 Todd Berman <tberman@gentoo.org>
* AsyncResult.cs: csc fixes
* SoapContext.cs: csc fixes
svn path=/trunk/mcs/; revision=19398
Todd Berman [Sat, 25 Oct 2003 22:32:48 +0000 (22:32 -0000)]
2003-10-25 Todd Berman <tberman@gentoo.org>
* Nonce.cs: WSE2 Compilation fix
svn path=/trunk/mcs/; revision=19397
Daniel Morgan [Sat, 25 Oct 2003 20:38:02 +0000 (20:38 -0000)]
updated news about gtk# windows installer. updated me on the team page.
svn path=/trunk/mono/; revision=19396
Zoltan Varga [Sat, 25 Oct 2003 20:32:32 +0000 (20:32 -0000)]
2003-10-25 Zoltan Varga <vargaz@freemail.hu>
* libtest.c pinvoke2.cs: Add tests for [In,Out] marshalling of arrays.
svn path=/trunk/mono/; revision=19395
Zoltan Varga [Sat, 25 Oct 2003 20:22:40 +0000 (20:22 -0000)]
2003-10-25 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_native_wrapper): Add support for [Out]
marshalling of arrays. Fixes #50116.
svn path=/trunk/mono/; revision=19394
Pedro Martínez Juliá [Sat, 25 Oct 2003 20:22:02 +0000 (20:22 -0000)]
2003-10-25 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* XmlConvert.cs: Support for the sign in double and single. The
processing of the infinites and nan numbers are more complex than
comparing to "INF" so we must let Double::Parse and Single::Parse
doing their job.
svn path=/trunk/mcs/; revision=19393
Ben Maurer [Sat, 25 Oct 2003 20:18:51 +0000 (20:18 -0000)]
2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
* PagedDataSource.cs: Patch by Ivo Haamer. Typo prevented
paging from working. Fixes #48814.
svn path=/trunk/mcs/; revision=19392
Ben Maurer [Sat, 25 Oct 2003 20:04:44 +0000 (20:04 -0000)]
2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
* DataGrid.cs: A few typos kept us from viewing datagrids
that were based on customized collections.
svn path=/trunk/mcs/; revision=19391
Zoltan Varga [Sat, 25 Oct 2003 18:53:21 +0000 (18:53 -0000)]
2003-10-25 Zoltan Varga <vargaz@freemail.hu>
* AppDomain.cs (IsFinalizingForUnload): Implement.
* AppDomain.cs (Unload): Move the notification of OnUnload listeners
to unmanaged code.
svn path=/trunk/mcs/; revision=19389
Zoltan Varga [Sat, 25 Oct 2003 18:51:17 +0000 (18:51 -0000)]
2003-10-25 Zoltan Varga <vargaz@freemail.hu>
* appdomain.c (ves_icall_System_AppDomain_InternalIsFinalizingForUnload): New icall.
* appdomain.c (unload_thread_main): Clear class->cached_vtable if it
points to a vtable in the dying appdomain.
* appdomain.c (mono_domain_unload): Move the notification of OnUnload
listeners into unmanaged code inside the lock.
svn path=/trunk/mono/; revision=19388
Zoltan Varga [Sat, 25 Oct 2003 18:47:49 +0000 (18:47 -0000)]
2003-10-25 Zoltan Varga <vargaz@freemail.hu>
* object.c (mono_class_vtable): Turn off typed allocation in non-root
domains and add some comments.
svn path=/trunk/mono/; revision=19387
Miguel de Icaza [Sat, 25 Oct 2003 16:37:24 +0000 (16:37 -0000)]
Small incremental updates
svn path=/trunk/mcs/; revision=19386
Atsushi Eno [Sat, 25 Oct 2003 15:54:50 +0000 (15:54 -0000)]
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while
the correct binding is sbyte.
* XmlSchemaAll.cs,
XmlSchemaChoice.cs,
XmlSchemaSequence.cs,
XmlSchemaGroupBase.cs : ActualParticle now considers pointlessness
described in WXS structures 3.9.6.
Added ValidateRecurse() to support 'Recurse' validation.
* XmlSchemaComplexType.cs : Removed incorrect content type conformity
check.
* XmlSchemaElement.cs : Implemented 'RecurseAsIfGroup' validation
described in WXS structures 3.9.6. Fixed type derivation check to
do only if the base type is not anyType.
* XmlSchemaSimpleTypeRestriction.cs : Should catch Regex()
construction exception. ValidateList... and ValidateNonList... was
in reverse.
* XmlSchemaUtil.cs : Removed extra MonoTODO. Removed CheckToken().
svn path=/trunk/mcs/; revision=19385
Atsushi Eno [Sat, 25 Oct 2003 15:52:43 +0000 (15:52 -0000)]
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDValidatingReader.cs : Now it handles whitespace entity as
significant.
* XmlConvert.cs : As to NIST testcases, exponential support on single
and double floating point numbers.
* XmlValidatingReader.cs : If it IsDefault, then line number and line
position returns 0.
svn path=/trunk/mcs/; revision=19384
Atsushi Eno [Sat, 25 Oct 2003 15:52:05 +0000 (15:52 -0000)]
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XsdValidatingReader.cs : Removed MonoTODO which was implemented in
XmlValidatingreader as a result. Added xsi:nil normalization.
svn path=/trunk/mcs/; revision=19383
Martin Baulig [Sat, 25 Oct 2003 15:36:45 +0000 (15:36 -0000)]
2003-10-25 Martin Baulig <martin@ximian.com>
* decl.cs (DeclSpace.ResolveType): If we're a ConstructedType,
call ConstructedType.Resolve() on it.
* generic.cs (ConstructedType.Resolve): Set `type' on success.
svn path=/trunk/mcs/; revision=19382
Martin Baulig [Sat, 25 Oct 2003 15:02:35 +0000 (15:02 -0000)]
Added "-220 Cannot resolve constructed type".
svn path=/trunk/mcs/; revision=19381
Martin Baulig [Sat, 25 Oct 2003 15:01:44 +0000 (15:01 -0000)]
New test.
svn path=/trunk/mcs/; revision=19380
Martin Baulig [Sat, 25 Oct 2003 15:01:15 +0000 (15:01 -0000)]
2003-10-25 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.GetClassBases): Changed
`out Type parent' into `out TypeExpr parent'. Moved CS0644 and
CS8214 reporting here.
(TypeContainer.DefineType): GetClassBases() gives us a `TypeExpr'
instead of a `Type' for our parent. In case of a recursive
declaration (see tests/gen-23.cs for an example), our parent is a
ConstructedType and it doesn't have its type set. So, first
create our own TypeBuilder, then call constructed.Resolve() to get
the parent's type and finally TypeBuilder.SetParent() it.
* ecore.cs (TypeExpr.Name): New public virtual property.
* generic.cs
(ConstructedType): We're now a TypeExpr and not just an Expression.
(ConstructedType.ResolveAsTypeStep): Don't resolve our type
arguments here; this is done later.
(ConstructedType.Resolve): New public method to resolve the type
arguments and bind them.
svn path=/trunk/mcs/; revision=19379
Martin Baulig [Sat, 25 Oct 2003 14:51:44 +0000 (14:51 -0000)]
2003-10-25 Martin Baulig <martin@ximian.com>
* class.h (MonoGenericInst): Added `MonoClass *klass' field.
* image.h (MonoImage): Added `GHashTable *typespec_cache'.
* metadata.c (mono_metadata_parse_generic_inst): Renamed to
`do_mono_metadata_parse_generic_inst'; pass it the MonoType we're
currently parsing. Create the generic class and store it in
`generic_inst->klass' before parsing the type arguments. This is
required to support "recursive" definitions; see mcs/tests/gen-23.cs
for an example.
(mono_type_create_from_typespec): Use a new `image->typespec_cache'
to support recursive typespec entries.
* class.c (mono_class_setup_parent): If our parent is a generic
instance, we may get called before it has its name set.
(mono_class_from_generic): Splitted into
mono_class_create_from_generic() and mono_class_initialize_generic().
svn path=/trunk/mono/; revision=19378
Martin Baulig [Sat, 25 Oct 2003 12:27:50 +0000 (12:27 -0000)]
New test.
svn path=/trunk/mcs/; revision=19377
Martin Baulig [Sat, 25 Oct 2003 12:18:44 +0000 (12:18 -0000)]
2003-10-25 Martin Baulig <martin@ximian.com>
* icall.c (ves_icall_Type_BindGenericParameters): Return a
`MonoReflectionGenericInst *' instead of a `MonoReflectionType *'.
("System.Reflection.MonoGenericInst::inflate_method"): New interncall.
("System.Reflection.MonoGenericInst::inflate_ctor"): New interncall.
* reflection.c (my_mono_class_from_mono_type): Added MONO_TYPE_GENERICINST.
(create_typespec): Likewise.
(mono_reflection_bind_generic_parameters): Return a
`MonoReflectionGenericInst *' instead of a `MonoClass *'.
(mono_reflection_inflate_method_or_ctor): New public function.
* reflection.h (MonoReflectionGenericInst): New typedef.
svn path=/trunk/mono/; revision=19376
Martin Baulig [Sat, 25 Oct 2003 12:05:46 +0000 (12:05 -0000)]
2003-10-25 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs: New internal class.
svn path=/trunk/mcs/; revision=19375
Atsushi Eno [Sat, 25 Oct 2003 09:41:37 +0000 (09:41 -0000)]
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* BuiltInDatatype.cs : Fixed incorrect inheritance of date and time.
Fixed most of date-time related types' ParseValue().
Applied Normalize() before parsing values in some ParseValue().
svn path=/trunk/mcs/; revision=19374
Atsushi Eno [Sat, 25 Oct 2003 09:36:42 +0000 (09:36 -0000)]
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTDReader.cs,
XmlConstructs.cs,
XmlTextReader.cs,
XmlWriter.cs : Fixed incorrect access modifier.
* XmlTextWriter.cs : Imported state variable from XmlWriter.
* DTDValidatingReader.cs : Removed extraneous MonoTODO.
* XmlConvert.cs : Implemented ToTimeSpan().
Modified ToDateTime() to reuse the same array.
svn path=/trunk/mcs/; revision=19373
Atsushi Eno [Sat, 25 Oct 2003 09:16:20 +0000 (09:16 -0000)]
2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
svn path=/trunk/mcs/; revision=19372
Ben Maurer [Sat, 25 Oct 2003 02:00:09 +0000 (02:00 -0000)]
typo fix
svn path=/trunk/mcs/; revision=19371
Sebastien Pouliot [Sat, 25 Oct 2003 01:25:04 +0000 (01:25 -0000)]
forgot to commit the changelog into cvs for the previous entry
svn path=/trunk/mcs/; revision=19370
Sebastien Pouliot [Sat, 25 Oct 2003 01:17:06 +0000 (01:17 -0000)]
2003-10-24 Sebastien Pouliot <spouliot@videotron.ca>
* SignatureTest.cs: New. Basic tests for Signature.
svn path=/trunk/mcs/; revision=19369
Sebastien Pouliot [Sat, 25 Oct 2003 01:14:03 +0000 (01:14 -0000)]
2003-10-24 Sebastien Pouliot <spouliot@videotron.ca>
* AsymmetricDecryptionKey.cs: Change to license and line-ends.
* PasswordOption.cs: Inversed SendNone and SendHashed because they had
the wrong values (corcompare)
* Signature.cs: Stub completed.
* SignedXml.cs: Added interface IXmlElement and missing virtual to
CheckSignature (corcompare)
* XmlSignature.cs: Removed license from header.
svn path=/trunk/mcs/; revision=19368
César Natarén [Sat, 25 Oct 2003 00:45:38 +0000 (00:45 -0000)]
2003-10-24 cesar lopez nataren <cesar@ciencias.unam.mx>
* ast.cs: Added 'virtual' Emit method (I might change it to be
abstract, but I would have to added to all classes that derive
from it. I'll do it later)
* Block.cs: Added Emit method.
* CodeGnerator.cs: Restructured it (not based on the Visitor pattern
anymore) - still missing some methods, ut on the way. A nice
hacking weekend coming. Added EmitContext class.
* ScriptBlock.cs: Added Emit method.
* VariableDeclaration.cs: Changed type field from string to
Type. Added Emit method.
* VariableStatement.cs: Added Emit method.
* driver.cs: Added CodeGeneration phase (only simple var
declarations support it. More coming soon).
svn path=/trunk/mcs/; revision=19367
Miguel de Icaza [Fri, 24 Oct 2003 20:30:42 +0000 (20:30 -0000)]
Flushage
svn path=/trunk/mcs/; revision=19366
Miguel de Icaza [Fri, 24 Oct 2003 20:29:45 +0000 (20:29 -0000)]
2003-10-24 Miguel de Icaza <miguel@ximian.com>
* SystemBrushes.cs: Some more brushe3s.
* SystemPens.cs: More pens.
* Pen.cs: Implement IDisposable, ICloneable.
* Region.cs: Add some more stubs here.
* StringFormat.cs: Add some more code here.
2003-10-24 Miguel de Icaza <miguel@ximian.com>
* GraphicsPath.cs: Stub some more.
svn path=/trunk/mcs/; revision=19365
Joel Basson [Fri, 24 Oct 2003 19:08:14 +0000 (19:08 -0000)]
Fri Oct 24 20:50:00 GMT+2 2003 Joel Basson <jstrike@mweb.co.za>
* Added start of DataGrid
svn path=/trunk/mcs/; revision=19364
Francisco Figueiredo Jr. [Fri, 24 Oct 2003 16:36:21 +0000 (16:36 -0000)]
2003-10-24: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Fixed a missed curle brace :)
svn path=/trunk/mcs/; revision=19363
Francisco Figueiredo Jr. [Fri, 24 Oct 2003 16:33:49 +0000 (16:33 -0000)]
2003-10-24: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Better performance implementation of the method which converts a byte[] to a bytea string. Thanks Jackson Harper (jackson at ximian dot com)
svn path=/trunk/mcs/; revision=19362
Zoltan Varga [Fri, 24 Oct 2003 15:15:19 +0000 (15:15 -0000)]
2003-10-24 Zoltan Varga <vargaz@freemail.hu>
* AppDomain.cs: Add InternalInvokeInDomain[ByID] icalls.
svn path=/trunk/mcs/; revision=19361
Zoltan Varga [Fri, 24 Oct 2003 15:05:00 +0000 (15:05 -0000)]
2003-10-24 Zoltan Varga <vargaz@freemail.hu>
* mini.c: Update after appdomain changes.
* mini.c (mono_jit_compile_method_inner): Allways compile native
method wrappers in the root domain, since there can only be one
instance of them, whose address is stored in method->info.
svn path=/trunk/mono/; revision=19360
Zoltan Varga [Fri, 24 Oct 2003 15:01:35 +0000 (15:01 -0000)]
2003-10-24 Zoltan Varga <vargaz@freemail.hu>
* interp.c: Update after appdomain changes.
svn path=/trunk/mono/; revision=19359
Zoltan Varga [Fri, 24 Oct 2003 14:59:58 +0000 (14:59 -0000)]
2003-10-24 Zoltan Varga <vargaz@freemail.hu>
* object.c (mono_class_proxy_vtable): Run the whole vtable construction
inside the domain lock. Fixes #49993.
* object.c (mono_class_vtable): When typed allocation is used,
allocate vtables in the GC heap instead of in the mempool, since the
vtables contain GC descriptors which are used by the collector even
after the domain owning the mempool is unloaded.
* domain.c (mono_domain_set): Rename to mono_domain_set_internal.
* domain.c (mono_domain_unload): Rename to mono_domain_free to better
reflect what it does. Also invalidate mempools instead of freeing
them if a define is set.
* appdomain.h (MonoAppDomainState): New enumeration to hold the state
of the appdomain.
* appdomain.h (_MonoDomain): New field 'finalizable_object_hash' to
hold the finalizable objects in this domain.
* appdomain.h (_MonoDomain): New field 'state' to hold the state of the
appdomain.
* appdomain.c (mono_domain_set): New function to set the current
appdomain, but only if it is not being unloaded.
* appdomain.c threads.c threadpool.c object.c: Avoid entering an
appdomain which is being unloaded.
* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Prevent
unloading of the root appdomain.
* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain): New
icall to execute a method in another appdomain. Intended as a
replacement for InternalSetDomain, which can confuse the code
generation in the JIT.
* appdomain.c (mono_domain_is_unloading): New function to determine
whenever an appdomain is unloading.
* appdomain.c (mono_domain_unload): New function to correctly unload
an appdomain.
* assembly.c (mono_assembly_load_references): Check that an assembly
does not references itself.
* gc.c (mono_domain_finalize): Rewrote so instead of finalizing a
domain manually, it asks the finalizer thread to do it, then waits for
the result. Also added a timeout.
* icall.c: Register the new icalls.
* threads.h threads.c: Export the mono_gc_stop_world and
mono_gc_start_world functions.
svn path=/trunk/mono/; revision=19358
Zoltan Varga [Fri, 24 Oct 2003 14:27:24 +0000 (14:27 -0000)]
2003-10-24 Zoltan Varga <vargaz@freemail.hu>
* mempool.h mempool.c (mono_mempool_invalidate): New debugging
function to fill out the mempool with 0x2a.
svn path=/trunk/mono/; revision=19357
Miguel de Icaza [Fri, 24 Oct 2003 10:54:59 +0000 (10:54 -0000)]
Update
svn path=/trunk/mono/; revision=19356
Pedro Martínez Juliá [Fri, 24 Oct 2003 10:33:10 +0000 (10:33 -0000)]
2003-10-24 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* DateTime.cs: When handling '-' as a date separator, MS.NET uses
the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
svn path=/trunk/mcs/; revision=19355
Miguel de Icaza [Fri, 24 Oct 2003 05:05:30 +0000 (05:05 -0000)]
In Short:
Updated System.Drawing, lots of cleanups.
Added JPEG encoder/decoder back to Bitmap.
We can load and save images again.
Still need work to support all formats, everywhere
PNG codec broken (but at least its plugged back).
2003-10-23 Miguel de Icaza <miguel@ximian.com>
* bitmap.c (GdipCreateBitmapFromScan0): Do not allocate buffer
here, expect that our caller to allocate that.
Do not compute the stride here, expect our caller to do this
properly.
* Use the Mono coding conventions.
2003-10-23 Miguel de Icaza <miguel@ximian.com>
* Image.cs: Kill the InternalImageInfo, everything is now done in
terms of Image and BitmapData.
* Rectangle.cs: Make this one also sequential, change from using
Point + Size to use x, y, width, height; So we can use GdiPlus.
* gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
BitmapData class argument, and instead use the [In,Out]
attributes, which will do struct marshalling on the fields. Now
we can use C#'s BitmapData directly to talk to Gdiplus.
* gdipStructs.cs: Every internal structure that has to talk to
Gdi+ is properly prefixed, to minimize the confussion.
* Bitmap.cs Bitmap (int width, int height, PixelFormat format):
Compute the stride here where we have the BPP information,
allocate a buffer of the proper size, and pass this to
GdipCreateBitmapFromScan0
* Image.cs: Implement Dispose pattern.
2003-10-23 Miguel de Icaza <miguel@ximian.com>
* JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
we will just have the JPEG library copy directly into our buffer.
(Encode, Decode): Ported to the new model which avoid copies, and
eliminates InternalImageInfo.
TODO: need to port the PNG coder/decoder, and add support for RGBA
images which got dropped from this version
* BmpCodec.cs: Rework this one to use BitmapData and Image. Do
not use the RawBytes property, instead pull the data one line at a
time, and write that out.
* ImageCodecInfo.cs: Make the encoding and decoding delegates take
a Image parameter;
* BmpCodec.cs:
* BitmapData.cs: Make this one sequential, and also mimic the
layout of GdiPlus.h so we can use this instead of making copies
back and forth.
svn path=/trunk/mcs/; revision=19354
Miguel de Icaza [Fri, 24 Oct 2003 04:57:54 +0000 (04:57 -0000)]
Display location for error
svn path=/trunk/mcs/; revision=19353
Miguel de Icaza [Fri, 24 Oct 2003 04:46:10 +0000 (04:46 -0000)]
Improve test to expose bug
svn path=/trunk/mono/; revision=19352
Ben Maurer [Thu, 23 Oct 2003 22:41:39 +0000 (22:41 -0000)]
render the next month button so that aligns to the right
svn path=/trunk/mcs/; revision=19350
Atsushi Eno [Thu, 23 Oct 2003 16:02:08 +0000 (16:02 -0000)]
2003-10-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XsdParticleValidationState.cs : Default content processing shoule be
lax.
* XsdValidatingReader.cs : If there is no trial to get schemas for
namespaces, then validation against such namespace should be failed.
It now uses XmlSchemaAttribute.ValidatedUse instead of .Use.
* XsdWildcard.cs : Fixed incorrect intersection computing.
svn path=/trunk/mcs/; revision=19348
Atsushi Eno [Thu, 23 Oct 2003 16:01:27 +0000 (16:01 -0000)]
2003-10-23 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlSchemaAll.cs,
XmlSchemaChoice.cs,
XmlSchemaGroupBase.cs,
XmlSchemaSequence.cs : Now CompiledItems went to XmlSchemaGroupBase.
* XmlSchemaAny.cs,
XmlSchemaElement.cs,
XmlSchemaGroupBase.cs,
XmlSchemaGroupRef.cs,
XmlSchemaParticle.cs,
XmlSchemaSequence.cs : Added ParticleEquals() method to compare
whether the particles are equal in the context of WXS part 1 - 3.9.6.
* XmlSchemaAny.cs : Implemented ValidateDerivationByRestriction().
* XmlSchemaAnyAttribute.cs : Removed extraneous lines and added my
responsibility on this class.
Added ValidateWildcardAllowsNamespaceName().
* XmlSchemaAttribute.cs : Added ValidatedUse which holds post-
compilation value of "Use".
* XmlSchemaAttributeGroup.cs,
XmlSchemaAttributeGroupRef.cs : Removed MonoTODO (same as some other
classes) since there is no more errors on attribute stuff ;-)
* XmlSchemaComplexType.cs : complex content extension must block
derivation from any built-in primitive types.
Fixed wildcard derivation by restriction.
ValidateDerivationByRestriction() now checks attribute related
validity of DBR (derivation by restriction).
Now uses ParticleEquals() for particle DBR check.
* XmlSchemaSequence.cs : Fixed to use CompiledItems instead of Items.
svn path=/trunk/mcs/; revision=19347
Gonzalo Paniagua Javier [Thu, 23 Oct 2003 14:15:22 +0000 (14:15 -0000)]
Removed duplicate file name
svn path=/trunk/mcs/; revision=19346
Gonzalo Paniagua Javier [Thu, 23 Oct 2003 13:17:01 +0000 (13:17 -0000)]
2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
was just changing && by || after the first Match.
svn path=/trunk/mcs/; revision=19345
Carlos Guzmán Álvarez [Thu, 23 Oct 2003 11:43:37 +0000 (11:43 -0000)]
Added changelog file
svn path=/trunk/mcs/; revision=19344
Carlos Guzmán Álvarez [Thu, 23 Oct 2003 11:42:11 +0000 (11:42 -0000)]
Added new files to build script
svn path=/trunk/mcs/; revision=19343
Carlos Guzmán Álvarez [Thu, 23 Oct 2003 11:39:46 +0000 (11:39 -0000)]
Removed AssemblyInfo.cs file
svn path=/trunk/mcs/; revision=19342
Carlos Guzmán Álvarez [Thu, 23 Oct 2003 11:38:44 +0000 (11:38 -0000)]
TlsAbstractCipherSuite.cs renamed as CipherSuite.cs
svn path=/trunk/mcs/; revision=19341
Carlos Guzmán Álvarez [Thu, 23 Oct 2003 11:36:02 +0000 (11:36 -0000)]
Updated ChangeLog
svn path=/trunk/mcs/; revision=19340
Carlos Guzmán Álvarez [Thu, 23 Oct 2003 11:35:12 +0000 (11:35 -0000)]
Added partial implementation of SSL3 protocol (not finished yet). Renamed TlsAbstractCipherSuite.cs to CipherSuite.cs. Renamed TlsAbstractCipherSuite class as CipherSuite
svn path=/trunk/mcs/; revision=19339
Lluis Sanchez [Thu, 23 Oct 2003 11:34:21 +0000 (11:34 -0000)]
* CrossAppDomainChannel.cs: Before the domain switch, save and reset
thread's datastore. Restore it on return. This fixes bug #49774.
svn path=/trunk/mcs/; revision=19338
Lluis Sanchez [Thu, 23 Oct 2003 11:33:50 +0000 (11:33 -0000)]
* MethodCall.cs: In the constructor that takes a CADMethodCallMessage
object, make sure strings are not reused across domains.
svn path=/trunk/mcs/; revision=19337
Lluis Sanchez [Thu, 23 Oct 2003 11:33:19 +0000 (11:33 -0000)]
* Thread.cs: Added ResetDataStoreStatus and RestoreDataStoreStatus
methods. They are used in CrossAppDomainChannel to save and restore
thread's local data when switching between domains.
svn path=/trunk/mcs/; revision=19336
Lluis Sanchez [Thu, 23 Oct 2003 11:15:52 +0000 (11:15 -0000)]
* RemotingServices.cs: Do not create an identity for an object if it
already has one.
svn path=/trunk/mcs/; revision=19335
Gonzalo Paniagua Javier [Thu, 23 Oct 2003 10:11:40 +0000 (10:11 -0000)]
2003-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Calendar.cs: apply header style in RenderHeader. Fixes bug #49144.
Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19334
Jackson Harper [Thu, 23 Oct 2003 07:37:05 +0000 (07:37 -0000)]
* main.c: Use escaped names for method, and type names. Initialize
the name table.
* main.c (visibility_map): Fix typo, should be nested family not
family
* main.c (dis_data): Use uppercase hex to avoid name conflicts.
* get.c/get.h: New method to get an escaped name. This method will
take a name and escape it if it is an ilasm keyword, or uses a non
id char. Use escaped names for type, method, field, and parameter names.
* get.c (get_typespec): A typespec can be used for anything, so we
need to handle all types not just modified types.
* get.c (dis_stringify_object_with_class): Handle nested classes
* get.c (get_token): Add field keyword to field tokens.
svn path=/trunk/mono/; revision=19333
Miguel de Icaza [Thu, 23 Oct 2003 05:11:35 +0000 (05:11 -0000)]
2003-10-23 Miguel de Icaza <miguel@ximian.com>
* Image.cs: Implement Dispose pattern.
svn path=/trunk/mcs/; revision=19332
Sebastien Pouliot [Thu, 23 Oct 2003 02:47:03 +0000 (02:47 -0000)]
2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
* NonceTest.cs: New. Unit tests for Nonce. The tests will only work for
WSE2 (as WSE1 Nonce constructor are internal)
svn path=/trunk/mcs/; revision=19331
Sebastien Pouliot [Thu, 23 Oct 2003 02:43:24 +0000 (02:43 -0000)]
2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
* Nonce.cs: Added WSE2 support so I could include the unit tests.
svn path=/trunk/mcs/; revision=19330
César Natarén [Thu, 23 Oct 2003 01:49:35 +0000 (01:49 -0000)]
ChangeLog entry
svn path=/trunk/mcs/; revision=19329
Sebastien Pouliot [Thu, 23 Oct 2003 01:49:21 +0000 (01:49 -0000)]
2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
* SecurityTokenReferenceTest.cs: New. Unit tests for SecurityTokenReference.
svn path=/trunk/mcs/; revision=19328
Sebastien Pouliot [Thu, 23 Oct 2003 01:47:00 +0000 (01:47 -0000)]
2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
* SecurityTokenReference.cs: Completed implementation.
svn path=/trunk/mcs/; revision=19327
César Natarén [Thu, 23 Oct 2003 01:46:39 +0000 (01:46 -0000)]
2003-10-22 cesar lopez nataren <cesar@ciencias.unam.mx>
* statement.cs: added Return class.
* Throw.cs: Added expression field, constructor and ToString.
svn path=/trunk/mcs/; revision=19326
César Natarén [Thu, 23 Oct 2003 01:41:23 +0000 (01:41 -0000)]
2003-10-22 cesar lopez nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: Allow return_stm and throw_stm tree
building.
svn path=/trunk/mcs/; revision=19325
César Natarén [Thu, 23 Oct 2003 01:00:56 +0000 (01:00 -0000)]
2003-10-22 cesar lopez nataren <cesar@ciencias.unam.mx>
* With.cs: added constructor and ToString. Back to the non-tmp
namespace.
* jscript-parser-lexer.g: allow with_stm tree building.
svn path=/trunk/mcs/; revision=19324
Sebastien Pouliot [Thu, 23 Oct 2003 00:42:04 +0000 (00:42 -0000)]
2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
* KeyIdentifierTest.cs: New. Unit tests for KeyIdentifier.
svn path=/trunk/mcs/; revision=19323
César Natarén [Thu, 23 Oct 2003 00:40:13 +0000 (00:40 -0000)]
2003-10-22 cesar lopez nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: changed the return type from if_stm from
'If' to AST. Added tree for continue_stm. Allowed building of
Break tree.
* statement.cs: switched to internal 'If' class. Added Continue
class. Added Break class.
svn path=/trunk/mcs/; revision=19322
Sebastien Pouliot [Thu, 23 Oct 2003 00:37:04 +0000 (00:37 -0000)]
2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
* KeyIdentifier.cs: Completed implementation.
svn path=/trunk/mcs/; revision=19321
Sebastien Pouliot [Thu, 23 Oct 2003 00:35:02 +0000 (00:35 -0000)]
2003-10-22 Sebastien Pouliot <spouliot@videotron.ca>
* SoapContext.cs: Fixed compilation for WSE1 (CS0118).
svn path=/trunk/mcs/; revision=19320
César Natarén [Wed, 22 Oct 2003 23:33:35 +0000 (23:33 -0000)]
updates from grammar changes
svn path=/trunk/mcs/; revision=19318
César Natarén [Wed, 22 Oct 2003 23:31:22 +0000 (23:31 -0000)]
updates for function_decl_or_expr tree building
svn path=/trunk/mcs/; revision=19317
César Natarén [Wed, 22 Oct 2003 23:23:43 +0000 (23:23 -0000)]
2003-10-22 cesar lopez nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: build tree for function decl or expr.
svn path=/trunk/mcs/; revision=19316
César Natarén [Wed, 22 Oct 2003 21:48:59 +0000 (21:48 -0000)]
2003-10-22 cesar lopez nataren <cesar@ciencias.unam.mx>
* jscript-lexer-parser.g: added building tree for if_stm.
* Statement.cs: Added if class for 'if' statement.
svn path=/trunk/mcs/; revision=19315
Duncan Mak [Wed, 22 Oct 2003 20:56:35 +0000 (20:56 -0000)]
2003-10-20 Duncan Mak <duncan@ximian.com>
* Delegate.cs (CreateDelegate): Avoid creating an extra Type array
and merge the two iterations into one.
svn path=/trunk/mcs/; revision=19312