mono.git
20 years agoServiceContainer implemented
Alexandre Pigolkine [Sun, 31 Aug 2003 23:35:51 +0000 (23:35 -0000)]
ServiceContainer implemented

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

20 years agoDon't ask. Somehow this fixes compilation with csc 1.0
Gonzalo Paniagua Javier [Sun, 31 Aug 2003 21:39:26 +0000 (21:39 -0000)]
Don't ask. Somehow this fixes compilation with csc 1.0

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

20 years agoFlush
Miguel de Icaza [Sun, 31 Aug 2003 21:19:40 +0000 (21:19 -0000)]
Flush

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

20 years agoFix
Miguel de Icaza [Sun, 31 Aug 2003 17:37:03 +0000 (17:37 -0000)]
Fix

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

20 years ago2003-08-31 Jerome Laban <jlaban@wanadoo.fr>
Jerome Laban [Sun, 31 Aug 2003 17:22:04 +0000 (17:22 -0000)]
2003-08-31  Jerome Laban <jlaban@wanadoo.fr>
        * Label.cs: Fixed Text property not redrawing the label correctly.

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

20 years ago2003-08-31 Jerome Laban <jlaban@wanadoo.fr>
Jerome Laban [Sun, 31 Aug 2003 17:06:07 +0000 (17:06 -0000)]
2003-08-31  Jerome Laban <jlaban@wanadoo.fr>
        * win32functions.cs: Added GetUpdateRect function.
        * Control.cs: Make sure to call OnPaint even if UserPaint style is not
        enabled. Get the appropriate DC for WM_PAINT operations.

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

20 years ago2003-08-31 Jerome Laban <jlaban@wanadoo.fr>
Jerome Laban [Sun, 31 Aug 2003 16:21:36 +0000 (16:21 -0000)]
2003-08-31  Jerome Laban <jlaban@wanadoo.fr>
        * Graphics.cs:
        * win32functions.cs: Added Win32 Ellipse implementation.

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

20 years ago2003-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 31 Aug 2003 14:45:11 +0000 (14:45 -0000)]
2003-08-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Repeater.cs: fix for Items property provided by yaronsh@mainsoft.com
(Yaron Shkop). Closes bug #48060.

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

20 years ago2003-08-31 Jerome Laban <jlaban@wanadoo.fr>
Jerome Laban [Sun, 31 Aug 2003 13:53:23 +0000 (13:53 -0000)]
2003-08-31  Jerome Laban <jlaban@wanadoo.fr>
        * Container.cs: A site without name cannot be duplicate.

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

20 years ago2003-08-31 Jerome Laban <jlaban@wanadoo.fr>
Jerome Laban [Sun, 31 Aug 2003 13:43:49 +0000 (13:43 -0000)]
2003-08-31  Jerome Laban <jlaban@wanadoo.fr>
        * Timer.cs: Fixed Enabled property bebavior.

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

20 years agostubs added
Alexandre Pigolkine [Sun, 31 Aug 2003 00:58:45 +0000 (00:58 -0000)]
stubs added

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

20 years agoswitch to linux line terminators
Alexandre Pigolkine [Sun, 31 Aug 2003 00:55:04 +0000 (00:55 -0000)]
switch to linux line terminators

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

20 years agoScreen.cs small fixes and few methods implemented
Alexandre Pigolkine [Sun, 31 Aug 2003 00:51:39 +0000 (00:51 -0000)]
Screen.cs small fixes and few methods implemented

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

20 years agoOleg's output patch
Ben Maurer [Sat, 30 Aug 2003 22:19:58 +0000 (22:19 -0000)]
Oleg's output patch

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

20 years ago2003-08-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 30 Aug 2003 17:21:54 +0000 (17:21 -0000)]
2003-08-30  Zoltan Varga  <vargaz@freemail.hu>

* interp.c: Use mono_field_from_token () in the appropriate places.
This simplifies the code and also fixes #48051.

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

20 years agoMore array handling fixes (Redim/Erase)
Marco Ridoni [Sat, 30 Aug 2003 17:03:49 +0000 (17:03 -0000)]
More array handling fixes (Redim/Erase)

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

20 years agoSmall fix to ReDim which got broken during the last CVS update
Marco Ridoni [Sat, 30 Aug 2003 16:44:12 +0000 (16:44 -0000)]
Small fix to ReDim which got broken during the last CVS update

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

20 years agoWith statement added, several modifier fixes, ParamArray fixes, Array declaration
Marco Ridoni [Sat, 30 Aug 2003 16:33:57 +0000 (16:33 -0000)]
With statement added, several modifier fixes, ParamArray fixes, Array declaration
fixes

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

20 years agoThe resolver should be fully case-insensitive
Marco Ridoni [Sat, 30 Aug 2003 16:32:26 +0000 (16:32 -0000)]
The resolver should be fully case-insensitive

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

20 years agoRuntime conversion added for underlying types in Enums
Marco Ridoni [Sat, 30 Aug 2003 16:31:46 +0000 (16:31 -0000)]
Runtime conversion added for underlying types in Enums

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

20 years agoOne more Runtime conversion (Byte)
Marco Ridoni [Sat, 30 Aug 2003 16:31:10 +0000 (16:31 -0000)]
One more Runtime conversion (Byte)

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

20 years agoUndo workaround. Zoltan fixed it.
Gonzalo Paniagua Javier [Sat, 30 Aug 2003 14:54:47 +0000 (14:54 -0000)]
Undo workaround. Zoltan fixed it.

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

20 years ago2003-08-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 30 Aug 2003 14:38:39 +0000 (14:38 -0000)]
2003-08-30  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Web_Util_ICalls_get_machine_install_dir):
(ves_icall_System_Configuration_DefaultConfig_get_machine_config_path):
Avoid caching the result since strings must be domain specific. Fixes
#48050.

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

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

* aot.c (mono_compile_assembly): Oops. Remove debugging cruft from
last checkin.

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

20 years agoconsole
Gonzalo Paniagua Javier [Sat, 30 Aug 2003 02:18:03 +0000 (02:18 -0000)]
console

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

20 years ago2003-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 30 Aug 2003 02:13:39 +0000 (02:13 -0000)]
2003-08-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationHost.cs: workaround for bug #48050.

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

20 years agoadded gthread
Gonzalo Paniagua Javier [Sat, 30 Aug 2003 00:27:59 +0000 (00:27 -0000)]
added gthread

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

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

* mini.c (mini_init): Call mono_marshal_init () explicitly since it
is needed  by code which is executed before mono_runtime_init ().
Thanks to Bernie Solomon (bernard@ugsolutions.com) for noticing this.

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

20 years ago2003-08-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 29 Aug 2003 14:51:30 +0000 (14:51 -0000)]
2003-08-29  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_init): Make this callable multiple times
since it is hard to find a correct place to call it.

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

20 years ago2003-08-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 29 Aug 2003 14:19:37 +0000 (14:19 -0000)]
2003-08-29  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_runtime_class_init): Execute static constructors in
the correct appdomain.

* image.c (build_guid_table): Handle the case when multiple images have
the same GUID.

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

20 years ago2003-08-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 29 Aug 2003 14:15:30 +0000 (14:15 -0000)]
2003-08-29  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_thread_abort): Fix warning.
(mono_jit_compile_method): Call static constructor in the AOT case too.

* aot.c (mono_compile_assembly): Fix warning.

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

20 years ago * Makefile: Fixed assembly reference.
Lluis Sanchez [Fri, 29 Aug 2003 12:56:16 +0000 (12:56 -0000)]
* Makefile: Fixed assembly reference.

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

20 years ago * ServiceDescription.cs: Disabled suspport for serialization, until I found
Lluis Sanchez [Fri, 29 Aug 2003 12:31:35 +0000 (12:31 -0000)]
* ServiceDescription.cs: Disabled suspport for serialization, until I found
  an easy way of generate serialization readers and writers.

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

20 years ago * SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
Lluis Sanchez [Fri, 29 Aug 2003 12:27:26 +0000 (12:27 -0000)]
* SoapReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
* XmlMemberMapping.cs: Changed constructor.
* XmlReflectionImporter.cs: Fixed construcion of XmlMemberMapping.
* XmlSchemaImporter.cs: Implemented ImportMembersMapping().
* XmlSerializationReaderInterpreter.cs: Added some helper methods. Changed visibility.
* XmlSerializationWriterInterpreter.cs: Changed visibility.

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

20 years ago2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 29 Aug 2003 04:48:42 +0000 (04:48 -0000)]
2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: added ICalls.cs.
* System.Web.Hosting/ApplicationHost.cs: set hostingInstallDir.
* System.Web.Hosting/SimpleWorkerRequest.cs: implemented a couple of
properties.

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

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

* ICalls.cs: holds a couple of icalls.

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

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

* icall.c: added a couple of icalls for System.Web.

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

20 years ago2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 29 Aug 2003 03:15:52 +0000 (03:15 -0000)]
2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: ensure we do all the EndRequest steps. Don't
filter the output on error.

* HttpResponse.cs: modified DoFilter to allow bypassing filtering.

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

20 years ago2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 29 Aug 2003 00:09:08 +0000 (00:09 -0000)]
2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SimpleWorkerRequest.cs: fixed GetFilePathTranslated and added a
paranoid condition to ExtractPathInfo.

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

20 years ago2003-08-28 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Thu, 28 Aug 2003 22:17:32 +0000 (22:17 -0000)]
2003-08-28 Ben Maurer  <bmaurer@users.sourceforge.net>

* cs0666.xml: added sample xml file for monodoc error provider.

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

20 years agoXmlSerializer.cs: Fix in Deserialize() method.
Lluis Sanchez [Thu, 28 Aug 2003 22:01:44 +0000 (22:01 -0000)]
XmlSerializer.cs: Fix in Deserialize() method.

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

20 years ago2003-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Aug 2003 20:48:23 +0000 (20:48 -0000)]
2003-08-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini.c: register a SIGINT handler if MONO_DEBUG is defined.

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

20 years agonew MONO_DEBUG env. var.
Gonzalo Paniagua Javier [Thu, 28 Aug 2003 20:46:16 +0000 (20:46 -0000)]
new MONO_DEBUG env. var.

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

20 years agopatch for Gtk+ integration. Needs external program. I'd love to do this automatically...
Johannes Roith [Thu, 28 Aug 2003 20:27:29 +0000 (20:27 -0000)]
patch for Gtk+ integration. Needs external program. I'd love to do this automatically, but hat would require a manged xsettings implementation first.

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

20 years ago * Makefile: Added wsdl directory.
Lluis Sanchez [Thu, 28 Aug 2003 17:34:55 +0000 (17:34 -0000)]
* Makefile: Added wsdl directory.

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

20 years ago * Makefile: added
Lluis Sanchez [Thu, 28 Aug 2003 17:34:17 +0000 (17:34 -0000)]
* Makefile: added
* wsdl.exe.sources: added
* MonoWSDL.cs: Added wsdl code by Erik LeBel.

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

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

* inssel.brg (OP_UNBOXCAST): Add support for the AOT case.

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

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

20 years agoNow it's working without any ugly hacks :-)
Martin Baulig [Thu, 28 Aug 2003 14:48:24 +0000 (14:48 -0000)]
Now it's working without any ugly hacks :-)

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

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