mono.git
20 years ago * Repeater.cs: Throw an exception if the datasource is set to
Jackson Harper [Thu, 30 Oct 2003 09:00:24 +0000 (09:00 -0000)]
    * Repeater.cs: Throw an exception if the datasource is set to
something that does not implement either IListSource or
IEnumerable. This fixes bug #50155.

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

20 years ago2003-10-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 30 Oct 2003 08:41:55 +0000 (08:41 -0000)]
2003-10-30  Martin Baulig  <martin@ximian.com>

* mini.c (MTYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_CLASS): New macros;
similar to TYPE_PARAM_TO_TYPE and TYPE_PARAM_TO_CLASS, but for
method parameters.
(mono_method_to_ir): Added support for MONO_TYPE_MVAR; similar to
MONO_TYPE_VAR, we the actual types from MTYPE_PARAM_TO_CLASS().

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

20 years ago2003-10-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 30 Oct 2003 08:32:17 +0000 (08:32 -0000)]
2003-10-30  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_type): Take just one `MonoGenericInst *'
argument instead of two.
(mono_class_inflate_generic_signature): Likewise.
(inflate_generic_header): Likewise.
(mono_class_inflate_generic_method): Likewise.  In addition, if
`ginst->klass' is set, it becomes the new `method->klass'.

* class.h (MonoGenericInst): Removed the `gpointer mbuilder'
field.

* reflection.c (encode_generic_method_sig): Write a 0xa as the
first byte. [FIXME]
(method_encode_methodspec): If we have generic parameters, create
a MethodSpec instead of a MethodRef.
(fixup_method): Added support for "MonoInflatedMethod" and
"MonoInflatedCtor".
(mono_image_create_token): Added support for "MonoInflatedMethod"
and "MonoInflatedCtor".
(inflated_method_get_object): New static function; returns a
managed "System.Reflection.MonoInflatedMethod" object.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionInflatedMethod' instead of a `MonoReflectionMethod'.
(mono_reflection_inflate_method_or_ctor): Likewise.
(mono_image_get_generic_method_param_info): Initialize unused
fields to zero.
(mono_image_get_generic_param_info): Likewise.

* reflection.h (MonoReflectionInflatedMethod): New public
typedef.  Corresponds to the managed "S.R.MonoInflatedMethod" and
"S.R.MonoInflatedCtor" classes.

* loader.c (method_from_memberref): If we're a TypeSpec and it
resolves to a generic instance, inflate the method.

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

20 years ago * DataGridPagerStyle.cs: Do not allow page button counts to be set
Jackson Harper [Thu, 30 Oct 2003 08:16:42 +0000 (08:16 -0000)]
    * DataGridPagerStyle.cs: Do not allow page button counts to be set
to less then 1. Patch by Yaron Shkop. This fixes bug #50236.

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

20 years agoProper name so Mohammad gets his due credit.
Jackson Harper [Thu, 30 Oct 2003 08:00:40 +0000 (08:00 -0000)]
Proper name so Mohammad gets his due credit.

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

20 years ago * ButtonColumn.cs: Format string and text to format were
Jackson Harper [Thu, 30 Oct 2003 07:58:35 +0000 (07:58 -0000)]
    * ButtonColumn.cs: Format string and text to format were
inversed. This fixes bug #50171.

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

20 years ago * DataGridColumn.cs: If an item style is set apply it to the
Jackson Harper [Thu, 30 Oct 2003 07:31:58 +0000 (07:31 -0000)]
    * DataGridColumn.cs: If an item style is set apply it to the
cell. This fixes bug #50173.

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

20 years ago2003-10-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 30 Oct 2003 01:24:37 +0000 (01:24 -0000)]
2003-10-30  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoInflatedMethod, MonoInflatedCtor): New
internal classes.

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

20 years agofix typo
John Luke [Thu, 30 Oct 2003 00:12:41 +0000 (00:12 -0000)]
fix typo
add small troubleshooting section referencing daily builds
and using monolite tarballs.

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

20 years ago2003-10-29 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 29 Oct 2003 22:15:11 +0000 (22:15 -0000)]
2003-10-29 Ben Maurer  <bmaurer@users.sourceforge.net>

* HyperLinkColumn.cs: Patch by Yaron Shkop. Fixes #50234. Remove
old debugging value.

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

20 years ago * HtmlControl.cs: Make disabled an attribute of the control so it
Jackson Harper [Wed, 29 Oct 2003 22:14:46 +0000 (22:14 -0000)]
    * HtmlControl.cs: Make disabled an attribute of the control so it
is rendered. This is a slightly modifed version of a patch
by Yaron Shkop. Fixes bug #50160.

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

20 years ago * PagedDataSource.cs:
Jackson Harper [Wed, 29 Oct 2003 21:32:33 +0000 (21:32 -0000)]
    * PagedDataSource.cs:
* DataGrid.cs: Patch by ximian@aksi.mdamt.net. Do not go past the
end of the last page. Fixes bug #5085.

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

20 years ago * CheckBox.cs: Do not change the status of a checkbox when there
Jackson Harper [Wed, 29 Oct 2003 20:57:17 +0000 (20:57 -0000)]
    * CheckBox.cs: Do not change the status of a checkbox when there
is no post data. This fixes bug #49091.
* CheckBoxList.cs: Do not change the status of the checkboxes when
there is no post data. This fixes bug #49093.

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

20 years ago * CheckBox.cs: Do not change the status of a checkbox when there
Jackson Harper [Wed, 29 Oct 2003 20:43:16 +0000 (20:43 -0000)]
    * CheckBox.cs: Do not change the status of a checkbox when there
is no postback data. This fixes bug #49091.

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

20 years ago2003-10-29 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 29 Oct 2003 15:10:34 +0000 (15:10 -0000)]
2003-10-29  Dick Porter  <dick@ximian.com>

* man/mono.1: Document MONO_EXTERNAL_ENCODINGS variable

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

20 years ago2003-10-29 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 29 Oct 2003 15:10:03 +0000 (15:10 -0000)]
2003-10-29  Dick Porter  <dick@ximian.com>

* io.c (MoveFile): If the move crosses filesystems, try and fall
back to copy and delete.  Patch from J�rg Rosenkranz
(JoergR@voelcker.com), fixes bug 50298.

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

20 years ago2003-10-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Oct 2003 14:56:08 +0000 (14:56 -0000)]
2003-10-29  Zoltan Varga  <vargaz@freemail.hu>

* mini.c mini-ops.h inssel.brg: Implement undeniable exception
propagation.

* mini.c (sigusr1_signal_handler): Move creation of the thread abort
object here, so it is in the correct appdomain etc.

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

20 years ago2003-10-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Oct 2003 14:52:07 +0000 (14:52 -0000)]
2003-10-29  Zoltan Varga  <vargaz@freemail.hu>

* object.h (MonoThread): New field 'appdomain_refs' which holds a list
of appdomains referenced by this thread.

* threads.c
(mono_thread_push_appdomain_ref):
(mono_thread_pop_appdomain_ref): New functions to register/unregister
appdomain references.
(mono_threads_abort_appdomain_threads): New function to abort all
threads which reference a given appdomain.
(mono_thread_get_pending_exception): New function to return an
exception which needs to be re-raised at the end of catch clauses.

* threads.c: Register/unregister appdomain reference on thread
creation/destruction.

* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain):
Register/unregister appdomain reference.

* appdomain.c (mono_domain_unload): Add support for aborting threads.
Raise an exception in case of a timeout.

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

20 years ago * INSTALL.txt: Tell users where to find monocharges, do not
Jackson Harper [Tue, 28 Oct 2003 23:31:26 +0000 (23:31 -0000)]
    * INSTALL.txt: Tell users where to find monocharges, do not
reference README.building.

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

20 years ago * platforms/linux.make: Tell users to read INSTALL.txt not the
Jackson Harper [Tue, 28 Oct 2003 23:23:02 +0000 (23:23 -0000)]
   * platforms/linux.make: Tell users to read INSTALL.txt not the
non-existant README.building.

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

20 years ago * HttpSessionState.cs: Do not allow timeout to be set to less then
Jackson Harper [Tue, 28 Oct 2003 21:10:35 +0000 (21:10 -0000)]
    * HttpSessionState.cs: Do not allow timeout to be set to less then
one.

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

20 years ago * SessionInProcHandler.cs: Compute timeouts
Jackson Harper [Tue, 28 Oct 2003 20:58:54 +0000 (20:58 -0000)]
    * SessionInProcHandler.cs: Compute timeouts
correctly. DateTime.Milliseconds is the just the milliseconds part
of the time, it is not the entire time as milliseconds.

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

20 years ago2003-10-28 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 28 Oct 2003 20:57:18 +0000 (20:57 -0000)]
2003-10-28  cesar lopez nataren <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: allow empty program files. Added type
annotations on var decl and function decl.
* VariableDeclaration.cs: added return type annotation field.
* FunctionExpression.cs: added return type parameter to constructor.
* FunctionDeclaration.cs: added return type parameter to
constructor. Added Emit method (just creates the static field at
the global object, for now).
* FunctionObject.cs: added return type to constructor. Changed
names to readable ones ;-)

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

20 years ago2003-10-28 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 28 Oct 2003 20:02:57 +0000 (20:02 -0000)]
2003-10-28  cesar lopez nataren <cesar@ciencias.unam.mx>

* ScriptStream.cs: added WriteLine.

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

20 years ago * ExternTable.cs: Revert back to resolving value and class types
Jackson Harper [Tue, 28 Oct 2003 19:05:07 +0000 (19:05 -0000)]
    * ExternTable.cs: Revert back to resolving value and class types
into the same table. This avoids types being resolved multiple
times when classrefs are used with valuetypes.

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

20 years ago * Driver.cs: Stub some command line args to maintain compatibility
Jackson Harper [Tue, 28 Oct 2003 18:19:55 +0000 (18:19 -0000)]
    * Driver.cs: Stub some command line args to maintain compatibility
with MS.

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

20 years agochangelog
Jackson Harper [Tue, 28 Oct 2003 17:58:38 +0000 (17:58 -0000)]
changelog

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

20 years ago * ILParser.jay: Use the ExternTable to create external type
Jackson Harper [Tue, 28 Oct 2003 17:56:30 +0000 (17:56 -0000)]
    * ILParser.jay: Use the ExternTable to create external type
references. Remove some ultra top secret debugging code.

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

20 years ago2003-10-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 28 Oct 2003 17:55:05 +0000 (17:55 -0000)]
2003-10-28  Miguel de Icaza  <miguel@ximian.com>

* StreamReader.cs: Add checks for disposed stream from bug report
#48696 (Patrik Reali)

* TextReader.cs (Read): Return the total number of bytes read,
patch from Patrik Realli.

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

20 years ago * ExternTable.cs: This is now used to store ExternTypeRefs so we
Jackson Harper [Tue, 28 Oct 2003 17:52:58 +0000 (17:52 -0000)]
    * ExternTable.cs: This is now used to store ExternTypeRefs so we
only create 1 for each external type.
* ExternTypeRef.cs: Only create one method and field per a
signature/name.

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

20 years ago2003-10-28 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 28 Oct 2003 11:18:52 +0000 (11:18 -0000)]
2003-10-28  Dick Porter  <dick@ximian.com>

* strenc.h:
* strenc.c: New files, convert text to and from unicode or utf8,
and the user's chosen encoding.

2003-10-28  Dick Porter  <dick@ximian.com>

* io.c: Use the new encoding conversion to cope with non-utf8
locales in filenames.

* processes.c: Ditto for process arguments.

2003-10-28  Dick Porter  <dick@ximian.com>

* object.c (mono_runtime_run_main): Convert command-line arguments
into utf8, falling back to the user's locale encoding to do so.

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

20 years agoListView enhancements: bug fixes, new methods and properties
Jordi Mas i Hernandez [Mon, 27 Oct 2003 21:06:56 +0000 (21:06 -0000)]
ListView enhancements: bug fixes, new methods and properties

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

20 years ago2003-10-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Oct 2003 20:32:27 +0000 (20:32 -0000)]
2003-10-27  Zoltan Varga  <vargaz@freemail.hu>
* mini.c tramp-x86.c tramp-sparc.c tramp-ppc.c: Use the normal
trampolines for icalls and pinvokes as well. Fixes #33569.

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

20 years ago2003-10-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Oct 2003 20:29:06 +0000 (20:29 -0000)]
2003-10-27  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_get_method_from_token): Avoid looking up the icalls
at this time.

* marshal.c (mono_marshal_get_native_wrapper): Lookup icalls here.

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

20 years ago2003-10-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Oct 2003 19:30:17 +0000 (19:30 -0000)]
2003-10-27  Zoltan Varga  <vargaz@freemail.hu>

* AppDomain.cs: Fix prototype of InternalIsFinalizingForUnload.

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

20 years ago2003-10-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Oct 2003 18:49:07 +0000 (18:49 -0000)]
2003-10-27  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_jit_compile_method_inner): Lookup icalls here if not
already done.
(mono_method_to_ir): Avoid freeing the type created returned from
mono_type_create_from_typespec, since it is put into an internal cache
by the function. Fixes pointer.exe.

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

20 years ago2003-10-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Oct 2003 18:47:01 +0000 (18:47 -0000)]
2003-10-27  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (reflection_methodbuilder_to_mono_method): Avoid looking
up icalls at method definition time. Partially fixes #33569.

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

20 years ago2003-10-27 Eran Domb <erand@mainsoft.com>
Eran Domb [Mon, 27 Oct 2003 09:55:39 +0000 (09:55 -0000)]
2003-10-27  Eran Domb  <erand@mainsoft.com>
* DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
check null values when ending loading data.

* DataSet.cs (RejectChanges) : Imlementation.
(Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
change it to empty string.

* DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.

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

20 years ago2003-10-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 27 Oct 2003 02:42:14 +0000 (02:42 -0000)]
2003-10-26  Miguel de Icaza  <miguel@ximian.com>

* WebServiceHelper.cs: Compute content type and encoding
correctly in the absence of extra options.

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

20 years ago2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-26 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-26 Todd Berman <tberman@gentoo.org>
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

20 years ago2003-10-26 Todd Berman <tberman@gentoo.org>
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

20 years ago2003-10-26 Todd Berman <tberman@gentoo.org>
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

20 years agotypo
Ben Maurer [Sun, 26 Oct 2003 20:44:43 +0000 (20:44 -0000)]
typo

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

20 years ago2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
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

20 years ago2003-10-26 Ben Maurer <bmaurer@users.sourceforge.net>
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

20 years agoSome fixes until datagrid.cs actually compiles
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

20 years ago2003-10-26 Todd Berman <tberman@gentoo.org>
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

20 years ago2003-10-26 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years ago2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years ago2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-25 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-25 Todd Berman <tberman@gentoo.org>
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

20 years ago2003-10-25 Todd Berman <tberman@gentoo.org>
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

20 years ago2003-10-25 Todd Berman <tberman@gentoo.org>
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

20 years agoupdated news about gtk# windows installer. updated me on the team page.
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

20 years ago2003-10-25 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-25 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-25 Pedro Mart�nez Juli� <yoros@wanadoo.es>
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

20 years ago2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
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

20 years ago2003-10-25 Ben Maurer <bmaurer@users.sourceforge.net>
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

20 years ago2003-10-25 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-25 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-25 Zoltan Varga <vargaz@freemail.hu>
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

20 years agoSmall incremental updates
Miguel de Icaza [Sat, 25 Oct 2003 16:37:24 +0000 (16:37 -0000)]
Small incremental updates

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

20 years ago2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years ago2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years ago2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years ago2003-10-25 Martin Baulig <martin@ximian.com>
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

20 years agoAdded "-220 Cannot resolve constructed type".
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

20 years agoNew test.
Martin Baulig [Sat, 25 Oct 2003 15:01:44 +0000 (15:01 -0000)]
New test.

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

20 years ago2003-10-25 Martin Baulig <martin@ximian.com>
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

20 years ago2003-10-25 Martin Baulig <martin@ximian.com>
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

20 years agoNew test.
Martin Baulig [Sat, 25 Oct 2003 12:27:50 +0000 (12:27 -0000)]
New test.

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

20 years ago2003-10-25 Martin Baulig <martin@ximian.com>
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

20 years ago2003-10-25 Martin Baulig <martin@ximian.com>
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

20 years ago2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years ago2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years ago2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
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

20 years agotypo fix
Ben Maurer [Sat, 25 Oct 2003 02:00:09 +0000 (02:00 -0000)]
typo fix

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

20 years agoforgot to commit the changelog into cvs for the previous entry
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

20 years ago2003-10-24 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-24 Sebastien Pouliot <spouliot@videotron.ca>
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

20 years ago2003-10-24 cesar lopez nataren <cesar@ciencias.unam.mx>
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

20 years agoFlushage
Miguel de Icaza [Fri, 24 Oct 2003 20:30:42 +0000 (20:30 -0000)]
Flushage

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

20 years ago2003-10-24 Miguel de Icaza <miguel@ximian.com>
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

20 years agoFri Oct 24 20:50:00 GMT+2 2003 Joel Basson <jstrike@mweb.co.za>
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

20 years ago2003-10-24: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
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

20 years ago2003-10-24: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
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

20 years ago2003-10-24 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-24 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-24 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-24 Zoltan Varga <vargaz@freemail.hu>
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

20 years ago2003-10-24 Zoltan Varga <vargaz@freemail.hu>
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

20 years agoUpdate
Miguel de Icaza [Fri, 24 Oct 2003 10:54:59 +0000 (10:54 -0000)]
Update

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