mono.git
20 years ago2003-10-31 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 1 Nov 2003 02:48:14 +0000 (02:48 -0000)]
2003-10-31  Sebastien Pouliot  <spouliot@videotron.ca>

* IReplayCache.cs: New. Interface for ReplayCache.
* OASIS.cs: New. Implementation for OASIS WS-Security (prefix "wsse").
* ReplayCacheManager.cs: New. Stub, with MonoTODO, for WSE2.
* SaML.cs: New. SAML description (prefix/ns) for WS-Security.
* SecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* SecurityTokenReferenceType.cs: New. Stub, with MonoTODO, for WSE2.
* SMSecurity.cs: New. Implementation for WS-Security ("wsse" and
"http://schemas.xmlsoap.org/ws/2002/12/secext").
* SMSecurityBase.cs: New. Abstract class to retrieve Prefix and Namespace.
* SynchronizedSecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* WSEReplayCache.cs: New. Stub, with MonoTODO, for WSE2.
* Xmltok.cs: New. WS-Security Profile for XML-based Tokens (descriptions).
* XrML.cs: New. eXtensible rights Markup Language descriptions for WS-Security.

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

20 years ago2003-10-31 Pedro Martnez Juli <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 31 Oct 2003 22:04:31 +0000 (22:04 -0000)]
2003-10-31  Pedro Martnez Juli  <yoros@wanadoo.es>

    * DateTimeTest.cs: Removed Universal Time in ToString because in
    each computer that could be different. We need more control over
    that to know what the result should be.

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

20 years ago2003-10-31 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 31 Oct 2003 22:04:10 +0000 (22:04 -0000)]
2003-10-31  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DateTime.cs: Fixed a few format bugs.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 20:34:47 +0000 (20:34 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* metadata.h (mono_metadata_make_token): Put parentheses around macro
argument.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 18:48:43 +0000 (18:48 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.h appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef): Fix signature.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 15:59:47 +0000 (15:59 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c (mono_method_same_domain): New function to return
whenever the caller and the callee are in the same domain.

* tramp-x86.c (x86_magic_trampoline): Use the new function.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 15:27:52 +0000 (15:27 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* AppDomain.cs (InternalPushDomainRef): New icalls.

* AppDomain.cs (InvokeInDomain): New method to execute code in a
different appdomain.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 14:39:17 +0000 (14:39 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c appdomain.h icall.c: Get rid of the InvokeInDomain
icalls. Instead, do everything in managed code. This is needed since
it is hard to restore the original domain etc. in unmanaged code in the
presence of undeniable exceptions.

* appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef):
New icalls to push and pop appdomain refs.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:25:54 +0000 (13:25 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain-unload.cs: Get rid of hardcoded file names.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:18:44 +0000 (13:18 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* appdomain-unload.cs: New file. AppDomain Unloading tests.

* Makefile: Add new test + enable IL tests now that we have a working
ilasm.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:12:06 +0000 (13:12 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* delegate7.cs: Convert it to use the test driver + add regression test
for #50366.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:06:28 +0000 (13:06 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* interp.c (mono_create_method_pointer): New function which contains
the arch independent part of the method wrapper creation. Add a cache
for the wrapper code, since Delegate::Equals depends on the wrapper
address being constant for a method. Fixes #50366.

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

20 years ago2003-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 31 Oct 2003 13:03:36 +0000 (13:03 -0000)]
2003-10-31  Zoltan Varga  <vargaz@freemail.hu>

* */tramp.c (mono_create_method_pointer): Rename to
mono_arch_create_method_pointer, move common code to a new function in
interp.c.

* */tramp.c (mono_create_trampoline): Rename to
mono_arch_create_trampoline for consistency.

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

20 years agoFlush
Miguel de Icaza [Fri, 31 Oct 2003 06:27:57 +0000 (06:27 -0000)]
Flush

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

20 years agoMore tests ....
Martin Baulig [Fri, 31 Oct 2003 06:19:23 +0000 (06:19 -0000)]
More tests ....

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

20 years ago2003-10-31 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 31 Oct 2003 06:14:50 +0000 (06:14 -0000)]
2003-10-31  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_type): Renamed to
mono_class_inflate_generic_type() and made it public.

* icall.c ("System.Reflection.MonoGenericInst::inflate_field"):
New interncall.

* loader.c (mono_field_from_memberref): Also set the retklass for
typespecs.

* fielder.c (mono_image_get_inflated_field_token): New static
method; creates a metadata token for an inflated field.
(mono_image_create_token, fixup_method): Added support for
"MonoInflatedField".
(fieldbuilder_to_mono_class_field): New static function.
(mono_reflection_inflate_field): New public function.

* reflection.h
(MonoReflectionGenericInst): Added `MonoArray *fields'.
(MonoReflectionInflatedField): New typedef.

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

20 years ago2003-10-31 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 31 Oct 2003 06:02:48 +0000 (06:02 -0000)]
2003-10-31  Martin Baulig  <martin@ximian.com>

* MonoGenericInst.cs (MonoInflatedField): New internal class.
(MonoGenericInst.GetFields): Override this method and inflate
the fields.

* MonoField.cs: Don't make this class sealed.

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

20 years ago2003-10-30 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 31 Oct 2003 03:56:09 +0000 (03:56 -0000)]
2003-10-30  Bernie Solomon  <bernard@ugsolutions.com>

* interp.c: (ves_exec_method_with_context)
fix CEE_NEWOBJ inside wrapper methods

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

20 years ago2003-10-30 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 31 Oct 2003 03:45:57 +0000 (03:45 -0000)]
2003-10-30  Bernie Solomon  <bernard@ugsolutions.com>

* interp.c: (ves_exec_method_with_context)
we need to lookup internal calls now
don't free type in CEE_SIZEOF

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

20 years ago2003-10-30 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 31 Oct 2003 02:38:18 +0000 (02:38 -0000)]
2003-10-30  Bernie Solomon  <bernard@ugsolutions.com>

* socket-io.c (in6_addr ipaddress_to_struct_in6_addr): fix
for Solaris and other platforms without s6_addr16

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

20 years ago2003-10-30 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 31 Oct 2003 02:09:38 +0000 (02:09 -0000)]
2003-10-30  Sebastien Pouliot  <spouliot@videotron.ca>

* sn.cs: Fixed strongname generation for small exponents (like 17).
Part of the fixed for bug #50341.

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

20 years ago2003-10-30 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 31 Oct 2003 02:04:48 +0000 (02:04 -0000)]
2003-10-30  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoConvert.cs: Fixed strongname generation for small exponents
(like 17). Part of the fixed for bug #50341.

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

20 years ago2003-10-30 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 30 Oct 2003 23:55:53 +0000 (23:55 -0000)]
2003-10-30  cesar lopez nataren <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: fixed function call parsing! yeah! (give
thanks to Hector!)

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

20 years ago2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 30 Oct 2003 17:07:33 +0000 (17:07 -0000)]
2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Compiler.cs : It is not important, but attribute order became closer
  to MS.NET and Xalan (assuming from OASIS tests).

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

20 years ago2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 30 Oct 2003 15:28:46 +0000 (15:28 -0000)]
2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* GenericOutputter.cs : Attribute wasn't overwritten its properties
  because Attribute is struct it was let to another local variable.

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

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