mono.git
20 years ago2003-08-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 28 Aug 2003 14:45:07 +0000 (14:45 -0000)]
2003-08-28  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_Type_BindGenericParameters): Use
`klass->generic_inst' instead of `&klass->byval_arg' in the
mono_type_get_object() call.  The returned type must be
MONO_TYPE_GENERICINST and not MONO_TYPE_CLASS.

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

20 years ago2003-08-28 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 28 Aug 2003 13:14:19 +0000 (13:14 -0000)]
2003-08-28  Dick Porter  <dick@ximian.com>

        * critical-sections.c:  Patch from Bernie Solomon                               <bernard@ugsolutions.com> to emit a warning if locking a critical               section fails.

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

20 years ago* MonoMethodMessage.cs: Moved CallType into namespace declaration.
Lluis Sanchez [Thu, 28 Aug 2003 12:42:53 +0000 (12:42 -0000)]
* MonoMethodMessage.cs: Moved CallType into namespace declaration.

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

20 years ago * System.Web.Services.dll.sources: Added System.Web.Services.Protocols.SoapDocumenta...
Lluis Sanchez [Thu, 28 Aug 2003 12:40:41 +0000 (12:40 -0000)]
* System.Web.Services.dll.sources: Added System.Web.Services.Protocols.SoapDocumentationHandler

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

20 years ago * MessageBinding.cs: Added default value attribute for Name property.
Lluis Sanchez [Thu, 28 Aug 2003 12:34:56 +0000 (12:34 -0000)]
* MessageBinding.cs: Added default value attribute for Name property.
* OperationMessage.cs: Added default value attribute for Name property.
* ServiceDescription.cs: Changed order of some properties, so they are
  serialized in the right order.
  Added GetNamespaceList(), which returns the namespaces to add when serializing
  the document.
  Implemented classes ServiceDescriptionSerializer and ServiceDescriptionWriter,
  that extends the XmlSerializer by adding suport for XmlFormatExtensions.
* ServiceDescriptionReflector.cs: Basic implementation (no support for
  extensions yet).
* SoapBinding.cs: Fixed namespace name.
* SoapBodyBinding.cs: Added null check in PartsString property.
* SoapOperationBinding.cs: Fixed namespace name.

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

20 years ago * HttpSoapWebServiceHandler.cs:
Lluis Sanchez [Thu, 28 Aug 2003 12:25:14 +0000 (12:25 -0000)]
* HttpSoapWebServiceHandler.cs:
* Methods.cs: Added SoapBindingStyle, SoapBindingUse, InputMembersMapping
  and OutputMembersMapping properties in MethodStubInfo.
  Use default value defined in TypeStubInfo for RequestNamespace,
  ResponseNamespace and other properties.
  Added class BindingInfo to store information about class bindings.
  In TypeStubInfo added SoapBindingStyle, DefaultBinding, Methods and
  Bindings properties.
* SoapRpcMethodAttribute.cs: Use WebServiceAttribute.DefaultNamespace constant
  instead of hardcoded namespace name.
* WebServiceHandlerFactory.cs: Create new SoapDocumentationHandler for
  documentation requests.
* SoapDocumentationHandler.cs: new handler that generates WS documentation.

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

20 years ago * XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
Lluis Sanchez [Thu, 28 Aug 2003 12:13:06 +0000 (12:13 -0000)]
* XmlReflectionImporter.cs: Fill RelatedMaps property of the generated map.
* XmlSchemas.cs: Find method: make sure the returned object belongs to
  the requested type.
* XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
  Add null checks for eventSource.
* XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
* XmlSerializationWriter.cs: In Initialize method, initialize the provided
  namespece declarations. Virtual method WriteObject not needed any more.
  In WriteStartElement, write the provided namespaces.
* XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
  Added GetTypeMap method, that returns the map for a given type. Added some
  virtual methods, so writer behavior can be extended at several places by
  derived classes.
* XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
  methods CreateReader and CreateWriter are not called unless no type or
  type mapping was provided in the constructor.

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

20 years ago * BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added double type.
Lluis Sanchez [Thu, 28 Aug 2003 11:58:13 +0000 (11:58 -0000)]
* BuiltInDatatypes.cs, XmlSchemaDatatype.cs: Added double type.

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

20 years ago * XmlFormatExtensionPointAttribute.cs: Fixed constructor. Member name
Lluis Sanchez [Thu, 28 Aug 2003 11:55:53 +0000 (11:55 -0000)]
* XmlFormatExtensionPointAttribute.cs: Fixed constructor. Member name
  was not set.

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

20 years ago2003-08-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 28 Aug 2003 11:25:08 +0000 (11:25 -0000)]
2003-08-28  Zoltan Varga  <vargaz@freemail.hu>

* cpu-pentium.md: Fix the length of call opcodes so they include the
ESP restoring instruction. Fixes #47968.

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

20 years agoAlso works with local variables :-)
Martin Baulig [Thu, 28 Aug 2003 02:28:03 +0000 (02:28 -0000)]
Also works with local variables :-)

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

20 years ago2003-08-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 28 Aug 2003 02:11:46 +0000 (02:11 -0000)]
2003-08-28  Martin Baulig  <martin@ximian.com>

* sample-stack.il: Compile this with ilasm: "ilasm /dll
sample-stack.il".

* sample-hello.cs: Compile this with gmcs: "gmcs
/r:sample-stack.dll sample-hello.cs".

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

20 years ago2003-08-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 28 Aug 2003 02:09:40 +0000 (02:09 -0000)]
2003-08-28  Martin Baulig  <martin@ximian.com>

* mini-x86.c (mono_arch_call_opcode): Added support for
MONO_TYPE_GENERICINST.

* mini.c (check_call_signature): Added support for MONO_TYPE_GENERICINST.

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

20 years ago2003-08-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 28 Aug 2003 02:02:45 +0000 (02:02 -0000)]
2003-08-28  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType.ResolveAsTypeStep): Actually bind
the parameters to the generic type.

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

20 years ago2003-08-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Aug 2003 23:52:00 +0000 (23:52 -0000)]
2003-08-28  Martin Baulig  <martin@ximian.com>

* cs-tokenizer.cs (parse_less_than): Also allow all builtin types.

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

20 years ago2003-08-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Aug 2003 23:11:18 +0000 (23:11 -0000)]
2003-08-28  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (opt_type_argument_list): Use
`OP_GENERICS_LT type_arguments OP_GENERICS_GT'.
(primary_expression): Replace `qualified_identifier' with `type_name'.
(type_parameter_list): Use `OP_GENERICS_LT type_parameters OP_GENERICS_GT'.

* cs-tokenizer.cs (is_punct): When reading a `<', invoke a custom
parser to check whether it is syntactically a type parameter list;
return OP_GENERICS_LT/OP_GENERICS_GT instead of OP_LT/OP_GT in
this case.

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

20 years ago2003-08-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Aug 2003 22:57:19 +0000 (22:57 -0000)]
2003-08-28  Martin Baulig  <martin@ximian.com>

* gen-3.cs: New generics test.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 19:49:08 +0000 (19:49 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (BUILT_SOURCES): Fix compilation on platforms without
a JIT. Patch by Bernie Solomon (bernard@ugsolutions.com).

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 19:45:08 +0000 (19:45 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* interp.c (main): Fix the order of initialization calls so it maches
the order in the JIT.Patch by Bernie Solomon (bernard@ugsolutions.com).
Also remove the unused ms mutex.

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

20 years ago2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 27 Aug 2003 16:11:33 +0000 (16:11 -0000)]
2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Array.cs: added the new overloaded CreateInstance, GetValue, SetValue
taking 'longs'. All tests pass.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 15:22:36 +0000 (15:22 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Use $(MAKE) instead of make. Patch by Bernie Solomon
(bernard@ugsolutions.com).

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:34:03 +0000 (14:34 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* NOTES: New file.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:16:12 +0000 (14:16 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_class_proxy_vtable): Make it thread safe.

* pedump.c: Fix warning.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:06:58 +0000 (14:06 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* mini.c jit-icalls.c tramp-x86.c tramp-ppc.c tramp-sparc.c: Get rid of
metadata_section.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:03:04 +0000 (14:03 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* interp.c: Get rid of metadata_section.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:01:50 +0000 (14:01 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* object.c appdomain.h: Get rid of metadata_section.
It is no longer needed and it was causing deadlocks with domain->lock.

* appdomain.c (add_assemblies_to_domain): Make it thread safe.

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

20 years ago * mono/utils/strtod.c: added arm define
Malte Hildingson [Wed, 27 Aug 2003 13:55:48 +0000 (13:55 -0000)]
* mono/utils/strtod.c: added arm define

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

20 years ago * mono/metadata/marshal.c: compiler compability fix
Malte Hildingson [Wed, 27 Aug 2003 13:47:09 +0000 (13:47 -0000)]
* mono/metadata/marshal.c: compiler compability fix

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

20 years agoOoops ....
Martin Baulig [Wed, 27 Aug 2003 08:34:06 +0000 (08:34 -0000)]
Ooops ....

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

20 years ago2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 27 Aug 2003 08:27:06 +0000 (08:27 -0000)]
2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CaseInsensitiveHashCodeProvider.cs: small speed improvement.

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

20 years ago2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 27 Aug 2003 08:12:52 +0000 (08:12 -0000)]
2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: when the request is completed or an
error happens, execute all the delegates attached to EndRequest, not
only the last one. This makes xsp/test/authtest work again.

* System.Web/HttpMethodNotAllowedHandler.cs: fixed description for http
status code.

* System.Web.Security/UrlAuthorizationModule.cs: fixed description for
status code.

* System.Web.Util/UrlUtils.cs: made Reduce work when a "/" is passed.

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

20 years agoMerged from MCS Wed Aug 27 09:42:30 CEST 2003.
Martin Baulig [Wed, 27 Aug 2003 07:54:32 +0000 (07:54 -0000)]
Merged from MCS Wed Aug 27 09:42:30 CEST 2003.

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

20 years ago2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 27 Aug 2003 00:28:53 +0000 (00:28 -0000)]
2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* Exception.cs: Add ClassInterface attr. Implement TargetSite and
Source. Remove MonoTODO attributes (class is 100% done). Also
passes all Rotor tests for Exception!

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

20 years ago2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 26 Aug 2003 23:17:08 +0000 (23:17 -0000)]
2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* Enum.cs: Remove [MonoTODO]'s that had been completed.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 20:28:22 +0000 (20:28 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* ecore.cs (SimpleName.SimpleNameResolve): Look for members before
resolving aliases; fixes #47927.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 20:17:25 +0000 (20:17 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* test-215.cs: New test for bug #47927.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 19:57:28 +0000 (19:57 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
need to pass true here. Fixes bug #47918.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:48:51 +0000 (19:48 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* statement.cs (Using.DoResolve): This is internally emitting a
try/finally clause, so we need to set ec.NeedExplicitReturn if we
do not always return.  Fixes #47681.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:45:51 +0000 (19:45 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* verify-7.cs: New test buf bug #47681.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:43:36 +0000 (19:43 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* pedump.c (main): Don't call mono_image_close() if `verify_pe'.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:29:59 +0000 (19:29 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* mini.c (get_basic_blocks): Added `unsigned char **pos' argument;
when reporting an error, set this to the actual error location.
(mono_method_to_ir): Report the correct error location if
get_basic_blocks() returned an error.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:24:45 +0000 (19:24 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* pedump.c (main): Call mono_metadata_init(),
mono_raw_buffer_init(), mono_images_init(), mono_assemblies_init()
and mono_loader_init().

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 18:59:49 +0000 (18:59 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* test-214.cs: New test for bug #47853.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 18:50:23 +0000 (18:50 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCore): Moved WarningNotHiding(),
Error_CannotChangeAccessModifiers() and CheckMethodAgainstBase()
into MemberBase.
(AdditionResult): Make this nested in DeclSpace.
(DeclSpace.ctor): The .ctor now takes an additional NamespaceEntry
argument; call NamespaceEntry.Define() unless we're nested in a
class or struct.

* namespace.cs (Namespace.DefineName): New public function.  This
is called from DeclSpace's .ctor to add
(Namespace.Lookup): Include DeclSpaces in the lookup.

* class.cs (Operator): Derive from MemberBase, not MemberCore.

* const.cs (Const): Derive from MemberBase, not MemberCore.

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

20 years agopainting code and click logic updated
Alexandre Pigolkine [Tue, 26 Aug 2003 15:44:54 +0000 (15:44 -0000)]
painting code and click logic updated

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

20 years agoFlush
Miguel de Icaza [Tue, 26 Aug 2003 14:30:11 +0000 (14:30 -0000)]
Flush

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 13:38:34 +0000 (13:38 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
to remap hashtable values during a copying collection. Not used at the
moment.
* mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
in the common case.
* mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
the key function even if the client supplied g_direct_equal instead of
NULL.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 12:47:32 +0000 (12:47 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
exception. Thanks to Mark Easton <measton@tebiki.co.uk>.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 12:25:22 +0000 (12:25 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI.WebControls/CheckBox.cs: in LoadPostData, only return
true when the new data is different from the one we had. Fixed
conditions to save Checked state. Thanks to yaronshkop@hotmail.com
(Yaron Shkop).

* System.Web.UI/Page.cs: check if controls that require postback have
been changed by an event and register them to be notified of data
changed event.

Fixes bug #47869.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 10:04:03 +0000 (10:04 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* loader.h: Add missing include to fix build.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 10:02:06 +0000 (10:02 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* image.h: mono_image_load_references is no more.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 10:00:38 +0000 (10:00 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c: Reworked assembly loading to make it really thread safe.
After these changes, the assembly returned by mono_assembly_open is
fully initialized, i.e. all its references assemblies are loaded.

* assembly.c (mono_image_load_references): Renamed to
mono_assembly_load_references, and made private, since clients no
longer need to call it.

* class.c: Removed calls to mono_assembly_load_references, since it was
a source of deadlocks.

* loader.h loader.c class.h class.c: Protect data structures using a
new lock, the loader lock.

* class.c (mono_class_setup_vtable): Create temporary hash tables and
GPtrArrays only when needed.

* class.c (mono_class_layout_fields): Ignore the dummy field inserted
into empty structures by mcs. Fixes pinvoke7.cs.

* domain.c (mono_init): Call a new initialization function.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 09:45:08 +0000 (09:45 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (mono_runtime_init): Call the new initializer function
of the marshal module.

* marshal.c (mono_marshal_load_type_info): Ignore the dummy field
inserted into empty structures by mono. Fixes pinvoke7.cs.

* marshal.h marshal.c: Added locks around the wrapper caches to make
this module thread safe.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 09:40:40 +0000 (09:40 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_InternalInvoke): Method wrappers doesn't require a
this argument. Fixes pinvoke1.exe.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 02:37:08 +0000 (02:37 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 02:07:48 +0000 (02:07 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
bug #47866.

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

20 years ago2003-08-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 25 Aug 2003 20:58:46 +0000 (20:58 -0000)]
2003-08-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* DTMXPathNavigator.cs: Allocate valueBuilder on first use.

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

20 years ago2003-08-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 25 Aug 2003 18:28:19 +0000 (18:28 -0000)]
2003-08-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* XPathNavigator.cs: "Smart" behavior in Matches. Nice 8x speed
improvement in the method (5ms/call -> .7 ms / call) measured by
monodoc's rendering of N:System.
* Expression.cs: Utility methods to support above.

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

20 years ago2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 25 Aug 2003 16:42:15 +0000 (16:42 -0000)]
2003-08-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebControl.cs: removed dangling ^M and unneeded fields. Keep track
of Enable in ViewState. Fixes bug #47865.

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

20 years agoUpdate profiles to use -d: and make generics build use NET_1_1
Miguel de Icaza [Mon, 25 Aug 2003 15:48:24 +0000 (15:48 -0000)]
Update profiles to use -d: and make generics build use NET_1_1

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

20 years ago2003-08-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 25 Aug 2003 15:09:30 +0000 (15:09 -0000)]
2003-08-25  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.ExplicitReferenceConversion): When
converting from an interface type to a class, unbox if the target
type is a struct type.  Fixes #47822.

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

20 years ago2003-08-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 25 Aug 2003 15:02:13 +0000 (15:02 -0000)]
2003-08-25  Martin Baulig  <martin@ximian.com>

* test-213.cs: New test for bug #47822.

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

20 years agoCopyright attribution was missing for a pair of files
Rafael Teixeira [Mon, 25 Aug 2003 14:15:30 +0000 (14:15 -0000)]
Copyright attribution was missing for a pair of files

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

20 years agoSmall portability fix.
Paolo Molaro [Mon, 25 Aug 2003 13:38:33 +0000 (13:38 -0000)]
Small portability fix.

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

20 years ago.cvsignore update
Ben Maurer [Mon, 25 Aug 2003 13:38:19 +0000 (13:38 -0000)]
.cvsignore update

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

20 years ago * object.h: Added call_type field to MonoMethodMessage and the corresponding
Lluis Sanchez [Mon, 25 Aug 2003 12:09:25 +0000 (12:09 -0000)]
* object.h: Added call_type field to MonoMethodMessage and the corresponding
enumeration of values. Removed fields to store remote call output values in
MonoAsyncResult. Not needed any more.
* object.c: Initialize call_type and async_result fields in mono_message_init.
* marshal.c: mono_delegate_begin_invoke(): for proxies, set call_type before
dispatching the message.
mono_delegate_end_invoke (): delegate to the proxy the work of waiting for the
async call to finish. To do it use a message with EndInvoke call type.

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

20 years ago * RemotingProxy.cs: Use CallType property to check the type of
Lluis Sanchez [Mon, 25 Aug 2003 11:32:52 +0000 (11:32 -0000)]
* RemotingProxy.cs: Use CallType property to check the type of
  the message.

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

20 years ago * AsyncResult.cs: Added method EndInvoke(). Fixed SyncProcessMessage().
Lluis Sanchez [Mon, 25 Aug 2003 11:31:16 +0000 (11:31 -0000)]
* AsyncResult.cs: Added method EndInvoke(). Fixed SyncProcessMessage().
* CallContext.cs: Clean current logical context before setting the new
  values form LogicalCallContext (SetCurrentCallContext).
* MonoMethodMessage.cs: Added new CallType field and enum.
* StackBuilderSink.cs: Improved error message.

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

20 years ago * ClientChannelSinkStack.cs: Implemented DispatchException.
Lluis Sanchez [Mon, 25 Aug 2003 11:23:33 +0000 (11:23 -0000)]
* ClientChannelSinkStack.cs: Implemented DispatchException.

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

20 years ago * RemotingServices.cs: Some small fixes.
Lluis Sanchez [Mon, 25 Aug 2003 11:21:55 +0000 (11:21 -0000)]
* RemotingServices.cs: Some small fixes.

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

20 years ago * SoapTypeMapper.cs: Added mappings for more primitive types.
Lluis Sanchez [Mon, 25 Aug 2003 11:13:56 +0000 (11:13 -0000)]
* SoapTypeMapper.cs: Added mappings for more primitive types.
* SoapWriter.cs: Use XmlSchema.Namespace and XmlSchema.InstanceNamespace
  instead of string constants.

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

20 years ago2003-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 25 Aug 2003 10:28:50 +0000 (10:28 -0000)]
2003-08-25  Zoltan Varga  <vargaz@freemail.hu>

* mono.pc.in: Added gthread-2.0.

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

20 years ago2003-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 25 Aug 2003 10:07:32 +0000 (10:07 -0000)]
2003-08-25  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_type_blittable): OBJECT is not blittable.
(mono_method_blittable): Methods which have marshalling descriptors
are not blittable either. Fixes #47842.

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

20 years ago * test-31.il: Added tests for static properties. Also made the code
Jackson Harper [Mon, 25 Aug 2003 00:49:08 +0000 (00:49 -0000)]
* test-31.il: Added tests for static properties. Also made the code
for methods verifiable IL.

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

20 years ago* RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
Vladimir Vukicevic [Sun, 24 Aug 2003 23:37:12 +0000 (23:37 -0000)]
* RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
setup/restoration into RealProxy's PrivateInvoke, so that custom
RealProxy's get a LogicalCallContext.

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

20 years agocompleted the set of floating point ops
ct [Sun, 24 Aug 2003 22:49:45 +0000 (22:49 -0000)]
completed the set of floating point ops

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

20 years agomodified to be compatible with specification
Alexandre Pigolkine [Sun, 24 Aug 2003 19:28:17 +0000 (19:28 -0000)]
modified to be compatible with specification

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

20 years ago2003-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 19:23:25 +0000 (19:23 -0000)]
2003-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* typemanager.cs: fixed the values of MethodFlags. Closes #47855 and
#47854.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:10:41 +0000 (19:10 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlValidatingReader.cs : Implemented SchemaType. Added support for
  ValidationType.Schema. Added support for XmlResolver. Fixed
  ReadTypedValue() not to consume EndElement.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:10:01 +0000 (19:10 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* System.Xml.dll.sources : added XsdParticleValidationState.cs
  and XsdValidatingReader.cs.
* System.Xml_test.dll.sources : added XsdParticleValidationTests.cs
  and XsdValidatingReaderTests.cs.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:06:49 +0000 (19:06 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XsdValidatingReader.cs,
  XsdParticleValidationState.cs : Initial checkin.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:04:01 +0000 (19:04 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlAttributeTests.cs : Added DefaultAttributeRemoval() and
  EmptyStringHasTextNode().
* XmlElementTests.cs : Added RemoveDoesNotRemoveDefaultAttributes().
* XmlReaderCommonTests.cs : Added overroaded AssertNodeValues() and
  ReadAttributeValue().
* XmlTextReaderTests.cs :
  Added NotAllowedCharRef() and ExpandParameterEntity().
  Also added but ignored tests: UndeclaredEntityInIntSubsetOnlyXml()
  and UndeclaredEntityInStandaloneXml().
* XmlValidatingReaderTests.cs : TestAttributeDefaultContribution()
  refactory.
* Added XsdParticleValidationTests.cs and XsdValidatingReaderTests.cs.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:02:20 +0000 (19:02 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* 1.xsd, 2.xsd, 3.xsd, 4.xsd : Initial checkin.

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

20 years agoadded rss -> text/xml mimetype
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 17:21:49 +0000 (17:21 -0000)]
added rss -> text/xml mimetype

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

20 years agofixed the build on win
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 17:19:32 +0000 (17:19 -0000)]
fixed the build on win

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

20 years ago* System.Drawing.dll.sources: Add Cairo implementation.
Duncan Mak [Sun, 24 Aug 2003 17:15:59 +0000 (17:15 -0000)]
* System.Drawing.dll.sources: Add Cairo implementation.

* cairo-api.cs: New file, replace Cairo.cs and cairo.cs. That
naming thing is just too confusing.

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

20 years agoMake all references to the enums (Cairo.Foo) be just
Duncan Mak [Sun, 24 Aug 2003 17:07:23 +0000 (17:07 -0000)]
Make all references to the enums (Cairo.Foo) be just
Foo. This should (hopefully) fix the build on Windows.

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

20 years agoFix the link to the ADO.Net and ASP.Net page; thanks to John Thomas
Duncan Mak [Sun, 24 Aug 2003 16:49:51 +0000 (16:49 -0000)]
Fix the link to the ADO.Net and ASP.Net page; thanks to John Thomas
<jcthomas5@bigpond.com> for noticing the bug.

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

20 years ago2003-08-24 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 24 Aug 2003 16:48:45 +0000 (16:48 -0000)]
2003-08-24  Sebastien Pouliot  <spouliot@videotron.ca>

* SymmetricAlgorithm.cs: Fixed IV length exception for stream ciphers
(e.g. RC4) which don't uses IV. This needs more tests for small IV...

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

20 years ago2003-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 16:13:43 +0000 (16:13 -0000)]
2003-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TcpListenerTest.cs: added more tests.

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

20 years ago2003-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 16:04:24 +0000 (16:04 -0000)]
2003-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TcpListener.cs: various fixes to make the new tests pass. Closes
bug #47848.

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

20 years ago2003-08-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Aug 2003 08:09:59 +0000 (08:09 -0000)]
2003-08-24  Duncan Mak  <duncan@ximian.com>

* ListControl.cs: Indentation, coding style fixes.

2003-08-24  Duncan Mak  <duncan@ximian.com>

Patches from Brian Takita <brian.takita@runbox.com>

* GroupBox.cs (OnPaintBackground): Commented out.
* ListControl.cs (DataSource): Fixed visibility of property and
field.
* MonthCalander.cs: Should match Specs better.

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

20 years ago2003-08-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Aug 2003 07:59:54 +0000 (07:59 -0000)]
2003-08-24  Duncan Mak  <duncan@ximian.com>

* System.Drawing.dll.sources: Add Cairo implementation.

2003-08-24  Duncan Mak  <duncan@ximian.com>

Initial checkin of System.Drawing.XrImpl ported to use Cairo.

* Graphics.cs (DrawCurve):
(DrawImageUnscaled):
(IsVisible):Implement the overloads in terms of the other overloads.

(FillClosedCurve): Implement the simple APIs, the default tension
is 0.5, the default FillMode is FillMode.Alternate.

* cairo.cs: A copy of the CairoAPI class from the Mono.Cairo
assembly, with some method parameter/return type changed to better
fit the usage within System.Drawing.

* gdk-helpers.cs: Emulate some of Gdk.Pixbuf's API here,
basically the same as XrImpl's GDKfunctions.cs, but the names of
the functions are nicer, with the help of the DllImportAttribute's
EntryPoint field.

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

20 years ago(FillEllipse): Implemented.
Duncan Mak [Sun, 24 Aug 2003 07:28:28 +0000 (07:28 -0000)]
(FillEllipse): Implemented.

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

20 years agoMoving build to use the 1.1 target, per Miguel's request.
Ben Maurer [Sun, 24 Aug 2003 04:37:00 +0000 (04:37 -0000)]
Moving build to use the 1.1 target, per Miguel's request.

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

20 years agoDebug output removed
Alexandre Pigolkine [Sat, 23 Aug 2003 23:57:21 +0000 (23:57 -0000)]
Debug output removed

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

20 years agoDrawRadioButton and DrawCheckBox improved
Alexandre Pigolkine [Sat, 23 Aug 2003 23:43:57 +0000 (23:43 -0000)]
DrawRadioButton and DrawCheckBox improved

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

20 years agoClear, DrawImage functions
Alexandre Pigolkine [Sat, 23 Aug 2003 23:40:43 +0000 (23:40 -0000)]
Clear, DrawImage functions

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

20 years agodelegate Clear to implementation
Alexandre Pigolkine [Sat, 23 Aug 2003 23:39:09 +0000 (23:39 -0000)]
delegate Clear to implementation

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

20 years agoset ImageFormat and PixelFormat in contstuctors, GetDeviceCaps function and parameters
Alexandre Pigolkine [Sat, 23 Aug 2003 09:39:37 +0000 (09:39 -0000)]
set ImageFormat and PixelFormat in contstuctors, GetDeviceCaps function and parameters

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