mono.git
20 years ago2003-10-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Oct 2003 06:32:46 +0000 (06:32 -0000)]
2003-10-16  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_signature): Copy `generic_param_count'.
(inflate_generic_header): Copy `gen_params'.

* icall.c (ves_icall_MethodInfo_get_IsGenericMethodDefinition):
New interncall.

* metadata.c (mono_metadata_parse_method_signature): Actually set
the `method->generic_param_count' here.
(mono_metadata_load_generic_params): Initialize `pklass' to NULL.

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

20 years ago2003-10-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Oct 2003 05:19:29 +0000 (05:19 -0000)]
2003-10-16  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (namespace_or_type_name): Only create a
GenericMemberAccess if we actually have type arguments.

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

20 years agoAdd new Tls directory
Miguel de Icaza [Thu, 16 Oct 2003 01:27:23 +0000 (01:27 -0000)]
Add new Tls directory

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Thu, 16 Oct 2003 00:59:32 +0000 (00:59 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * WebClient.cs: added a slash between directory and file names.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Thu, 16 Oct 2003 00:41:18 +0000 (00:41 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
    because now it is used TlsSession and it doesn't work without
    these changes.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 23:06:18 +0000 (23:06 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile: Add Mono.Security.Tls assembly.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 23:05:32 +0000 (23:05 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile:
    * ChangeLog:
    * System.Security.Tls.dll:
    * System.Security.Tls.dll.sources: Initial commit.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 23:04:05 +0000 (23:04 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile: changed reference from Lib/System.Security.Tls.dll to
    System.Security.Tls because the last will be installed before and
    separatelly.

    * Lib: Removed Lib directory, moved System.Security.Tls.dll to
    Mono.Security.Tls library directory.

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

20 years ago2003-10-15 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 21:55:09 +0000 (21:55 -0000)]
2003-10-15  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile: fix building and the install objectives.

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

20 years ago2003-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Oct 2003 20:58:09 +0000 (20:58 -0000)]
2003-10-15  Zoltan Varga  <vargaz@freemail.hu>

* vararg.il: New file.

* Makefile.am: Added vararg.il.

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

20 years agoGdipDrawImageRectI changed
Alexandre Pigolkine [Wed, 15 Oct 2003 20:57:58 +0000 (20:57 -0000)]
GdipDrawImageRectI changed

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

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

* get.c (get_ret_type): Remove needless warning message.

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

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

* mini.c (mono_method_to_ir): Fix initialization of typedbyref locals.

* mini.c inssel.brg: Implement typedefbyref opcodes.

* mini.c (mono_jit_compile_method): Remove unused local variable.

* mini.c (mono_jit_compile_method_inner): Ditto.

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

20 years agoImproved organization of information. Added syntax coloring for proxy and wsdl.
Lluis Sanchez [Wed, 15 Oct 2003 18:49:44 +0000 (18:49 -0000)]
Improved organization of information. Added syntax coloring for proxy and wsdl.

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

20 years ago * MessageBinding.cs: Name property should be null by default.
Lluis Sanchez [Wed, 15 Oct 2003 18:47:12 +0000 (18:47 -0000)]
* MessageBinding.cs: Name property should be null by default.
* ProtocolImporter.cs: Take into account the previous change.

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

20 years ago2003-10-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Wed, 15 Oct 2003 18:11:48 +0000 (18:11 -0000)]
2003-10-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* Iterator.cs : DescendantIterator and FollowingIterator also should
  not MoveNext() after they reached to the end.

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

20 years ago * MapCodeGenerator.cs: Made MapCodeGenerator internal.
Lluis Sanchez [Wed, 15 Oct 2003 18:11:33 +0000 (18:11 -0000)]
* MapCodeGenerator.cs: Made MapCodeGenerator internal.

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

20 years ago2003-10-15: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 15 Oct 2003 16:38:47 +0000 (16:38 -0000)]
2003-10-15:  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Synchronized files with Gborg repository

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

20 years ago2003-10-15: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 15 Oct 2003 16:36:40 +0000 (16:36 -0000)]
2003-10-15:  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Synchronized files with Gborg repository.

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

20 years ago2003-10-15: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 15 Oct 2003 16:31:27 +0000 (16:31 -0000)]
2003-10-15:  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* System.Security.Tls.dll: Added Tls implementation from Carlos Guzman. Npgsql now supports SSL connections with this library.

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

20 years agoMySql - fixed problem where socket was not getting closed properly (thanks Steve!)
Reggie Burnett [Wed, 15 Oct 2003 16:03:30 +0000 (16:03 -0000)]
MySql - fixed problem where socket was not getting closed properly (thanks Steve!)

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

20 years ago2003-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Oct 2003 15:57:00 +0000 (15:57 -0000)]
2003-10-15  Zoltan Varga  <vargaz@freemail.hu>

* TypedReference.cs: Add new field used by the runtime.

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

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

* object.h: Add a new field to TypedRef to simplify the implementation
of the REFANY opcodes in the JIT.

* icall.c: Make use of the new field.

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

20 years ago2003-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Oct 2003 15:53:48 +0000 (15:53 -0000)]
2003-10-15  Zoltan Varga  <vargaz@freemail.hu>

* metadata.c (mono_type_size): Compute the size of TYPEDBYREF types
dynamically.

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

20 years agoCompile fixes
Dick Porter [Wed, 15 Oct 2003 14:35:16 +0000 (14:35 -0000)]
Compile fixes

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

20 years agoMySql - enclosed queries for max_allowed_packet and characterset inside try catch...
Reggie Burnett [Wed, 15 Oct 2003 14:23:05 +0000 (14:23 -0000)]
MySql - enclosed queries for max_allowed_packet and characterset inside try catch (and set defaults)

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

20 years agoImplemented SaveFileDialog.cs
Jordi Mas i Hernandez [Wed, 15 Oct 2003 13:58:32 +0000 (13:58 -0000)]
Implemented SaveFileDialog.cs

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

20 years ago * System.Xml.dll.sources: added System.Xml.Serialization/MapCodeGenerator.cs
Lluis Sanchez [Wed, 15 Oct 2003 08:18:46 +0000 (08:18 -0000)]
* System.Xml.dll.sources: added System.Xml.Serialization/MapCodeGenerator.cs

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

20 years ago * MapCodeGenerator.cs: New file. Moved here all code that is common
Lluis Sanchez [Wed, 15 Oct 2003 08:18:04 +0000 (08:18 -0000)]
* MapCodeGenerator.cs: New file. Moved here all code that is common
  between XmlCodeExporter and SoapCodeExporter.
* SoapCodeExporter.cs: Implemented.
* XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
* XmlSerializationReaderInterpreter.cs: Fixed problem when reading
  encoded bare parameter list.
* XmlTypeMapping.cs: Added method for getting member element by index.

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

20 years ago * TypeStubManager.cs: Added OperationName property.
Lluis Sanchez [Wed, 15 Oct 2003 08:17:24 +0000 (08:17 -0000)]
* TypeStubManager.cs: Added OperationName property.

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

20 years ago * HttpSimpleProtocolReflector.cs, ProtocolReflector.cs:
Lluis Sanchez [Wed, 15 Oct 2003 08:16:44 +0000 (08:16 -0000)]
* HttpSimpleProtocolReflector.cs, ProtocolReflector.cs:
  Fixed naming of messages.
* ProtocolImporter.cs: It now iterates through all bindings. It creates
  a namespace for all bindings.
* ServiceDescriptionImporter.cs: Some code moved to ProtocolImporter.
* SoapProtocolImporter.cs: Improved support for RPC format. It now is working.

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

20 years ago2003-10-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 15 Oct 2003 04:27:33 +0000 (04:27 -0000)]
2003-10-15  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Switch.TableSwitchEmit): Compare the upper bound
to kb.Nlast, and not the kb.nFirst to isolate the switch
statement.

Extract the underlying type, so enumerations of long/ulong are
treated like long/ulong.

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

20 years ago2003-10-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 15 Oct 2003 04:26:44 +0000 (04:26 -0000)]
2003-10-15  Miguel de Icaza  <miguel@ximian.com>

* test-49.cs: Improved test with input from bug #48761

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

20 years agoThanks to David Waite for the detective work on this bug.
Miguel de Icaza [Wed, 15 Oct 2003 03:59:50 +0000 (03:59 -0000)]
Thanks to David Waite for the detective work on this bug.

2003-10-14  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (New): Overload the meaning of RequestedType to
track the possible creation of the NewDelegate type, since
DoResolve is invoked more than once for new constructors on field
initialization.

See bugs: #48800 and #37014

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

20 years agoMore tests
Miguel de Icaza [Wed, 15 Oct 2003 03:57:56 +0000 (03:57 -0000)]
More tests

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

20 years ago2003-10-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 15 Oct 2003 03:37:36 +0000 (03:37 -0000)]
2003-10-14  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay (declare_local_constants): Take an arraylist
instead of a single constant.

(local_constant_declaration): It should take a
constant_declarators, not a constant_declarator.

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

20 years agoImprove with bug 49487 info
Miguel de Icaza [Wed, 15 Oct 2003 03:34:54 +0000 (03:34 -0000)]
Improve with bug 49487 info

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

20 years ago2003-10-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 15 Oct 2003 03:25:55 +0000 (03:25 -0000)]
2003-10-14  Miguel de Icaza  <miguel@ximian.com>

* convert.cs: Fix error report.

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

20 years agoFix bug
Miguel de Icaza [Wed, 15 Oct 2003 03:25:18 +0000 (03:25 -0000)]
Fix bug

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

20 years ago2003-10-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Oct 2003 01:59:16 +0000 (01:59 -0000)]
2003-10-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CompilationConfiguration.cs: use the context passed in. If not, try
the current context.

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

20 years ago * CSharpCodeGenerator.cs: added override for the method
Lluis Sanchez [Wed, 15 Oct 2003 00:32:20 +0000 (00:32 -0000)]
* CSharpCodeGenerator.cs: added override for the method
  GenerateParameterDeclarationExpression. The parameter must be generated
  with a safe C# name.

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

20 years agoDrawString function added
Alexandre Pigolkine [Tue, 14 Oct 2003 23:37:03 +0000 (23:37 -0000)]
DrawString function added

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

20 years agosupport for named parameters (just enclose in {} in the description, and alternate...
Rafael Teixeira [Tue, 14 Oct 2003 22:45:40 +0000 (22:45 -0000)]
support for named parameters (just enclose in {} in the description, and alternate form

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

20 years agolots of small adjustments, and correcting some sintaxes (extra modifiers)
Rafael Teixeira [Tue, 14 Oct 2003 22:44:15 +0000 (22:44 -0000)]
lots of small adjustments, and correcting some sintaxes (extra modifiers)

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

20 years ago2003-10-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Oct 2003 22:35:57 +0000 (22:35 -0000)]
2003-10-15  Martin Baulig  <martin@ximian.com>

* Type.cs (Type.DeclaringMethod): For a generic method's type
parameter, return this method - otherwise, return null.

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

20 years ago2003-10-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Oct 2003 22:28:40 +0000 (22:28 -0000)]
2003-10-15  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_from_gen_param): Renamed to
mono_class_from_generic_parameter() and moved most of the
functionality from mono_reflection_define_generic_parameter()
here; ie. we create a "real" class here.
(mono_class_from_mono_type): Only allow MONO_TYPE_VAR and
MONO_TYPE_MVAR if mono_class_from_generic_parameter() has
previously been called.

* class.h (MonoGenericParam): Moved the declaration of this struct
here from metadata.h and added `MonoMethod *method'.

* icall.c (ves_icall_MonoType_get_DeclaringMethod): New
interncall.

* loader.c (mono_get_method_from_token): If we have any generic
parameters, call mono_metadata_load_generic_params() to read them
from the MONO_TABLE_GENERICPAR.

* metadata.c (mono_metadata_load_generic_params): Added
`MonoMethod *method' argument which is used MONO_TYPE_MVAR.

* metadata.h (MonoMethodSignature): Replaced
`MonoGenericInst *geninst' with `guint16 generic_param_count'.
(MonoMethodHeader): Added `MonoGenericParam *gen_params'.

* reflection.c (mono_reflection_define_generic_parameter): Moved
most of the functionality into the new
mono_class_from_generic_parameter(); set the `method' field if
we're a method parameter.

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

20 years agoFixes CommonDialog to work with windowless containers
Jordi Mas i Hernandez [Tue, 14 Oct 2003 22:10:21 +0000 (22:10 -0000)]
Fixes CommonDialog to work with windowless containers

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

20 years ago2003-10-14 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 14 Oct 2003 20:05:18 +0000 (20:05 -0000)]
2003-10-14  Bernie Solomon  <bernard@ugsolutions.com>
* Makefile do not build gdiplus on Windows

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

20 years ago * ILTokenizer.cs: Fix /* */ comment blocks.
Jackson Harper [Tue, 14 Oct 2003 19:18:38 +0000 (19:18 -0000)]
    * ILTokenizer.cs: Fix /* */ comment blocks.

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

20 years agoTests to make sure comments are being handled properly
Jackson Harper [Tue, 14 Oct 2003 19:16:44 +0000 (19:16 -0000)]
Tests to make sure comments are being handled properly

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

20 years agoUse monologue directly
Miguel de Icaza [Tue, 14 Oct 2003 18:40:15 +0000 (18:40 -0000)]
Use monologue directly

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

20 years ago2003-10-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 14 Oct 2003 16:24:44 +0000 (16:24 -0000)]
2003-10-14  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlSchemas.cs : Implemented IsDataSet().

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

20 years agoArghh
Gonzalo Paniagua Javier [Tue, 14 Oct 2003 12:48:42 +0000 (12:48 -0000)]
Arghh

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

20 years agoAdded myself
Gonzalo Paniagua Javier [Tue, 14 Oct 2003 12:45:55 +0000 (12:45 -0000)]
Added myself

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

20 years agoGot tired of that warning
Gonzalo Paniagua Javier [Tue, 14 Oct 2003 12:22:13 +0000 (12:22 -0000)]
Got tired of that warning

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

20 years ago2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Oct 2003 12:19:14 +0000 (12:19 -0000)]
2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/BaseCompiler.cs:
* System.Web.Configuration/CompilationConfiguration.cs: pass
CompilerOptions and WarningLevel.

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

20 years ago2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Oct 2003 11:12:47 +0000 (11:12 -0000)]
2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: new files in System.Web.Configuration.

* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs:
* System.Web.Configuration/CompilerCollection.cs:
* System.Web.Configuration/WebCompiler.cs: new files that process and
store system.web/compilation info (compilers + assemblies).

* System.Web.Configuration/HttpHandlersSectionHandler.cs: added option
for an attribute to be empty.

* System.Web.UI/BaseParser.cs: added CompilationConfig property.

* System.Web.UI/TemplateParser.cs:
* System.Web.UI/SimpleWebHandlerParser.cs: added CompilationConfig
property. Don't hardcode assembly names any more, assemblies in bin
are added depending on the configuration. The default language is
also taken from the configuration.

* System.Web.Compilation/BaseCompiler.cs: now gets the CodeCompiler
from configuration files.

In short, this changes make our ASP.NET support any language
that has CodeDom CodeCompiler and CodeGenerator.

VB.NET currently fails because of its buggy handling of options.

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

20 years agoadded system.web/compilation section
Gonzalo Paniagua Javier [Tue, 14 Oct 2003 10:57:46 +0000 (10:57 -0000)]
added system.web/compilation section

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

20 years ago2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Oct 2003 10:56:57 +0000 (10:56 -0000)]
2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.dll.sources: added VCodeCompiler.cs by Jochen Wezel
<jwezel@compumaster.de>.

* Microsoft.VisualBasic/VBCodeCompiler.cs: New.
* Microsoft.VisualBasic/VBCodeGenerator.cs:
* Microsoft.VisualBasic/VBCodeProvider.cs: modified others to use the
new CodeCompiler.

* System.Net.Sockets/UdpClient.cs: removed Consoles.

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 14 Oct 2003 05:21:41 +0000 (05:21 -0000)]
2003-10-13 Bernie Solomon  <bernard@ugsolutions.com>

* marshal.c (emit_struct_conv): if native size is 0
emit no code.

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 14 Oct 2003 05:17:17 +0000 (05:17 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* x86/tramp.c: restore EDX after memcpy call

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

20 years ago * HttpRequest.cs: Url property switched to use the ServerName rather than LocalAddress
David Waite [Tue, 14 Oct 2003 04:18:40 +0000 (04:18 -0000)]
* HttpRequest.cs: Url property switched to use the ServerName rather than LocalAddress

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

20 years ago * typemanager.cs (TypeToCoreType): Add float and double this fixes
Jackson Harper [Tue, 14 Oct 2003 04:05:03 +0000 (04:05 -0000)]
    * typemanager.cs (TypeToCoreType): Add float and double this fixes
bug #49611

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

20 years agoReflect latest API changes.
Martin Baulig [Tue, 14 Oct 2003 03:54:32 +0000 (03:54 -0000)]
Reflect latest API changes.

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

20 years ago2003-10-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Oct 2003 03:49:13 +0000 (03:49 -0000)]
2003-10-14  Martin Baulig  <martin@ximian.com>

* icall.c: The generics API has changed in the spec since it was
added to System.Type; these modifications make it match the spec
again.
(ves_icall_Type_GetGenericParameters): Renamed to
`ves_icall_Type_GetGenericArguments'.
(ves_icall_Type_get_IsGenericTypeDefinition): New interncall.
(ves_icall_MonoType_get_HasGenericParameteres): Renamed to
`ves_icall_MonoType_get_HasGenericArguments'.
(ves_icall_MonoType_get_IsUnboundGenericParameter): Renamed to
`ves_icall_MonoType_get_IsGenericParameter'.
(ves_icall_MonoType_get_HasUnboundGenericParameters): Removed;
this is no interncall anymore.
(ves_icall_TypeBuilder_get_IsUnboundGenericParameter): Renamed to
`ves_icall_TypeBuilder_get_IsGenericParameter'.

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

20 years ago2003-10-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Oct 2003 03:41:32 +0000 (03:41 -0000)]
2003-10-14  Martin Baulig  <martin@ximian.com>

The generics API has changed in the spec since it was added here;
these modifications make it match the spec again.

* Type.cs
(GetGenericParameters): Renamed to `GetGenericArguments'.
(HasGenericParameters): Renamed to `HasGenericArguments'.
(HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
(IsGenericTypeDefinition): New property.
(IsUnboundGenericParameter): Renamed to `IsGenericParameter'.

* MonoType.cs (ContainsGenericParameters): Implement this here;
this is no interncall anymore.

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

20 years ago2003-10-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 14 Oct 2003 03:28:59 +0000 (03:28 -0000)]
2003-10-14  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_bind_generic_parameters): Also
inflate generic methods if we're reading the class from IL.

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

20 years ago * SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
Lluis Sanchez [Tue, 14 Oct 2003 00:51:53 +0000 (00:51 -0000)]
* SoapCodeExporter.cs: Initial implementation of AddMappingMetadata().
* SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
  in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
* SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
* XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
  and whether it uses encoded or literal format.
* XmlSchemaExporter.cs: Little fixes.

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

20 years ago * XmlSchema.cs: If the schema element is an empty element, skip it after
Lluis Sanchez [Tue, 14 Oct 2003 00:51:21 +0000 (00:51 -0000)]
* XmlSchema.cs: If the schema element is an empty element, skip it after
  reading the attributes.

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

20 years ago * HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs, HttpSimpleTypeStubInfo.cs,
Lluis Sanchez [Tue, 14 Oct 2003 00:50:40 +0000 (00:50 -0000)]
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs, HttpSimpleTypeStubInfo.cs,
  HttpSoapWebServiceHandler.cs, Methods.cs, SoapHttpClientProtocol.cs,
  TypeStubManager.cs
  Added class LogicalTypeInfo, which contains info common to all protocols
  through which a web service can be accessed. Also, modified the way
  Serializers are created. Instead of creating one by one, they are now
  created all at once. This will make serialization creation more efficient
  when the serializer code generator is in place.
* SoapRpcMethodAttribute.cs: Set the correct default values for the
  properties.
* WebServiceHelper.cs: Removed unused method GetServiceNamespace().
* XmlReturnReader.cs, XmlReturnWriter.cs: Get the namespace for the return
  type from LogicalTypeInfo.

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

20 years ago * ContractReference.cs, DiscoveryDocumentReference.cs, SchemaReference.cs:
Lluis Sanchez [Tue, 14 Oct 2003 00:49:47 +0000 (00:49 -0000)]
* ContractReference.cs, DiscoveryDocumentReference.cs, SchemaReference.cs:
      Little fixes.
* DiscoveryClientProtocol.cs: WriteAll(): Write files to the provided
  directory.
* DiscoveryReference.cs: Improved method FilenameFromUrl().

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

20 years ago * HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
Lluis Sanchez [Tue, 14 Oct 2003 00:48:53 +0000 (00:48 -0000)]
* HttpSimpleProtocolReflector.cs, SoapProtocolReflector.cs:
  Get the namespace for literal types from LogicalTypeInfo, since it may not
  be the same as the service namespace.
* ProtocolReflector.cs: Access LogicalTypeInfo to get WS info common to
  all protocols.
* ServiceDescription.cs: Added soap/encoded namespace.
* SoapProtocolImporter.cs: Added some bits of RPC format support.

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

20 years ago2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Oct 2003 23:58:19 +0000 (23:58 -0000)]
2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Delegate.cs: add the method name to the exception when it cannot be
bound.
* Exception.cs: fix nullref in Source.

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

20 years agoupdate
Miguel de Icaza [Mon, 13 Oct 2003 23:32:58 +0000 (23:32 -0000)]
update

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 23:02:06 +0000 (23:02 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* interp.c - set large stack size on HP 64bit

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 23:00:04 +0000 (23:00 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* Makefile.am hppa_atomic.s: add HP 64bit
implementation of atomic ops

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 22:56:37 +0000 (22:56 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* Makefile.am: add hppa subdir

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 22:54:34 +0000 (22:54 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* configure.in: add hppa support (64bit only)
make solaris build work with Forte compiler

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 22:48:11 +0000 (22:48 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* hppa/tramp.c: add initial implementation - this is 64 bit only
hppa/Makefile.am hppa/.cvsignore: added

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 22:38:25 +0000 (22:38 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* sparc/sparc-codegen.h sparc/tramp.c: add initial implementation
for V9 (64 bit), cover more 32 bit cases as well.

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

20 years ago * MethodDef.cs: Check for null param lists in vararg
Jackson Harper [Mon, 13 Oct 2003 21:56:09 +0000 (21:56 -0000)]
    * MethodDef.cs: Check for null param lists in vararg
methods. Fixes bug #49614.

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

20 years agoUse the default encoding from the StreamWriter if no encoding was passed
Miguel de Icaza [Mon, 13 Oct 2003 21:51:15 +0000 (21:51 -0000)]
Use the default encoding from the StreamWriter if no encoding was passed

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

20 years ago2003-10-13 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 13 Oct 2003 21:44:14 +0000 (21:44 -0000)]
2003-10-13 Ben Maurer  <bmaurer@users.sourceforge.net>

* SessionStateModule.cs: prevent Context.State from being null if
the module is inited in another HttpApplication. Fixes #49569.

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

20 years ago2003-10-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 13 Oct 2003 20:14:44 +0000 (20:14 -0000)]
2003-10-13  Martin Baulig  <martin@ximian.com>

* class.cs (Method.Define): If we're a generic method, call
TypeBuilder.DefineGenericMethod () before resolving
the parameters.
(MethodData): Added .ctor which takes an additional MethodBuilder
argument; this is used for generic methods.
(MethodData.Define): Call `builder.SetGenericMethodSignature()' if
we already have a MethodBuilder.

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

20 years ago2003-10-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 13 Oct 2003 20:08:47 +0000 (20:08 -0000)]
2003-10-13  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_define_generic_parameter): This
method isn't called directly from the icall anymore; take a
`MonoReflectionAssemblyBuilder *' so we can use this for type and
method generic parameters.
(ReflectionMethodBuilder): Added `MonoArray *generic_param'.
(method_builder_encode_signature): Encode generic parameters.
(mono_image_get_method_info): Write generic params to the
MONO_TABLE_GENERICPARAM table.

* reflection.h (MonoReflectionMethodBuilder): Added
`MonoArray *generic_params'.

* metadata.h (MonoMethodSignature): Added `MonoGenericInst *geninst'.

* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Added
wrapper for mono_reflection_define_generic_parameter().
(ves_icall_MethodBuilder_define_generic_parameter): Likewise.

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

20 years ago2003-10-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 13 Oct 2003 20:06:52 +0000 (20:06 -0000)]
2003-10-13  Martin Baulig  <martin@ximian.com>

* MethodBuilder.cs (MethodBuilder): Added
`TypeBuilder.MonoGenericParam[] generic_params' field.
(DefineGenericParameter, SetGenericMethodSignature): New public methods.

* TypeBuilder.cs (DefineGenericMethod): New public method.

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

20 years ago * get.c: stringify nested types properly ie Outer/Inner.
Jackson Harper [Mon, 13 Oct 2003 20:03:20 +0000 (20:03 -0000)]
    * get.c: stringify nested types properly ie Outer/Inner.

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 19:35:28 +0000 (19:35 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* Makefile.am: fix so it works if builddir != srcdir

* libtest.c: (mono_test_empty_struct) make it exist for
non-GCC builds (and possibly pass depending on trampolines).
(mono_test_marshal_bool_byref) bools marshal as ints by default

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

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

* threads.c (CreateThread): Wrap pthread_attr_setstacksize call in
a conditional for platforms that don't have it.

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

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

* configure.in: Added check for pthread_attr_setstacksize.

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

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

* marshal.h: Add missing function to fix build.

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

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

* bug-46781.cs: New regression test.

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 17:48:28 +0000 (17:48 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML
  declaration even though there is no XmlDeclaration child.
* XmlTextReader.cs : Fixed Init() so that ResetState() should work.

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

20 years agoTiny documentation fix
Andreas N [Mon, 13 Oct 2003 17:00:39 +0000 (17:00 -0000)]
Tiny documentation fix

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

20 years ago2003-10-13 Todd Berman <tberman@gentoo.org>
Todd Berman [Mon, 13 Oct 2003 16:54:53 +0000 (16:54 -0000)]
2003-10-13  Todd Berman <tberman@gentoo.org>

        * SoapContext.cs: Added Addressing objects.
        * SoapEnvelope.cs: Added Encoding and fixed up Save (string)

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

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

* marshal.c (mono_marshal_get_native_wrapper): Add support for
the SetLastError pinvoke attribute.

* marshal.c (mono_marshal_set_last_error): New helper function called
by the generated code.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 16:23:24 +0000 (16:23 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c pinvoke2.cs: Add new test for SetLastError functionality.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 15:23:41 +0000 (15:23 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* OpCode.cs: Fix Value property. Fixes #49328.

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

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

* Makefile.am (TEST_CS_SRC): Remove merged tests.

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

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

* pinvoke2.cs pinvoke3.cs: Merge tests 4-8 into these files +
convert tests so they run with the test driver used by mini.

* pinvoke3.cs libtest.c: Add tests for class arguments and return
values.

* pinvoke4.cs pinvoke5.cs pinvoke6.cs pinvoke7.cs pinvoke8.cs: Removed.

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