Lluis Sanchez [Tue, 21 Oct 2003 00:16:52 +0000 (00:16 -0000)]
* ServiceDescription.cs: Fixed implementation of CanRead.
svn path=/trunk/mcs/; revision=19245
Lluis Sanchez [Tue, 21 Oct 2003 00:14:07 +0000 (00:14 -0000)]
* DiscoveryClientProtocol.cs: Fixed little bug in DiscoverAny.
svn path=/trunk/mcs/; revision=19244
Lluis Sanchez [Tue, 21 Oct 2003 00:03:59 +0000 (00:03 -0000)]
Added disco tool
svn path=/trunk/mono/; revision=19243
Lluis Sanchez [Mon, 20 Oct 2003 23:40:19 +0000 (23:40 -0000)]
* Makefile: Added disco directory.
svn path=/trunk/mcs/; revision=19242
Sebastien Pouliot [Mon, 20 Oct 2003 23:36:25 +0000 (23:36 -0000)]
2003-10-20 Sebastien Pouliot <spouliot@videotron.ca>
* Mono.Security.dll.sources: Removed AssemblyInfo.cs from build.
This file is for TLS not for the complete Mono.Security assembly.
svn path=/trunk/mcs/; revision=19241
Duncan Mak [Mon, 20 Oct 2003 23:24:38 +0000 (23:24 -0000)]
Added TlsAbstractCipherSuite.cs, TlsCipherSuiteFactory.cs and
TlsCompressMethod.cs. This fixes the build.
svn path=/trunk/mcs/; revision=19240
Lluis Sanchez [Mon, 20 Oct 2003 23:10:14 +0000 (23:10 -0000)]
* ReflectionHelper.cs: In CheckSerializableType() check that the type
is public.
* XmlSerializationWriter.cs: Added check for circular references.
This fixes bug #49879.
svn path=/trunk/mcs/; revision=19239
Miguel de Icaza [Mon, 20 Oct 2003 22:16:28 +0000 (22:16 -0000)]
2003-10-20 Miguel de Icaza <miguel@ximian.com>
* TcpClient.cs: Fix void Dispose (bool disposing) to follow the
pattern. It was shutting down the managed resources even in the
finalizer case, it should only do that when called from
IDisposable.Dipose.
svn path=/trunk/mcs/; revision=19238
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 22:14:35 +0000 (22:14 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=19237
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 22:13:56 +0000 (22:13 -0000)]
Updated Changelog
svn path=/trunk/mcs/; revision=19236
Jordi Mas i Hernandez [Mon, 20 Oct 2003 21:50:36 +0000 (21:50 -0000)]
adding jordi as contributor
svn path=/trunk/mono/; revision=19234
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:49:42 +0000 (21:49 -0000)]
Recommit change done by Pedro
svn path=/trunk/mcs/; revision=19233
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:46:08 +0000 (21:46 -0000)]
Updated Changelog
svn path=/trunk/mcs/; revision=19232
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:32:34 +0000 (21:32 -0000)]
Sync file
svn path=/trunk/mcs/; revision=19231
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:29:23 +0000 (21:29 -0000)]
Fill and parse message replace by specific process method for each protocol supported
svn path=/trunk/mcs/; revision=19230
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:24:51 +0000 (21:24 -0000)]
Updated file
svn path=/trunk/mcs/; revision=19228
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:19:50 +0000 (21:19 -0000)]
Added new CompressionMethod property
svn path=/trunk/mcs/; revision=19227
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:19:26 +0000 (21:19 -0000)]
Updated CompressionMethod property of session context
svn path=/trunk/mcs/; revision=19226
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:16:50 +0000 (21:16 -0000)]
Static method moved to TlsCipherSuiteFactory class
svn path=/trunk/mcs/; revision=19225
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:16:08 +0000 (21:16 -0000)]
TlsCipherSuite now inhers from TlsAbstractCipherSuite class, fixed problem with padding length calculation with new AES cipher suites
svn path=/trunk/mcs/; revision=19224
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:14:00 +0000 (21:14 -0000)]
Added new enumeration for TLS compression methods
svn path=/trunk/mcs/; revision=19223
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:11:51 +0000 (21:11 -0000)]
Added new Factory class for Cipher Suites
svn path=/trunk/mcs/; revision=19222
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:09:31 +0000 (21:09 -0000)]
Added new class for SSL3 Cipher Suites
svn path=/trunk/mcs/; revision=19221
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:07:53 +0000 (21:07 -0000)]
Added new abstract base class for cipher suite implementations
svn path=/trunk/mcs/; revision=19220
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 20:33:50 +0000 (20:33 -0000)]
Added my information of mono contributor
svn path=/trunk/mono/; revision=19219
Jordi Mas i Hernandez [Mon, 20 Oct 2003 20:06:40 +0000 (20:06 -0000)]
added default form to show unhandled exceptions
svn path=/trunk/mcs/; revision=19218
Lluis Sanchez [Mon, 20 Oct 2003 19:28:39 +0000 (19:28 -0000)]
* disco.cs, Makefile, disco.exe.sources: New files. Initial implementation
of the Disco tool.
svn path=/trunk/mcs/; revision=19216
Miguel de Icaza [Mon, 20 Oct 2003 19:09:39 +0000 (19:09 -0000)]
2003-10-20 Miguel de Icaza <miguel@ximian.com>
* FileStream.cs public FileStream (string name, FileMode mode)
constructor: If we pass FileMode.Append, we can not pass
FileAccess.ReadWrite. This fixes bug 44959
svn path=/trunk/mcs/; revision=19215
Lluis Sanchez [Mon, 20 Oct 2003 18:41:46 +0000 (18:41 -0000)]
* ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
can't be serialized. This fixes bug #49878.
* TypeData.cs: In ListItemType check that the collection has a valid
Add method and report an error if not.
* XmlReflectionImporter.cs: Added CheckSerializableType check call when
reflecting a collection.
svn path=/trunk/mcs/; revision=19214
Zoltan Varga [Mon, 20 Oct 2003 18:38:56 +0000 (18:38 -0000)]
2003-10-20 Zoltan Varga <vargaz@freemail.hu>
* exception.c (mono_exception_from_name_msg): New helper function for
creating exceptions and initializing their message field.
* exception.c: Simplify functions using the new helper.
* exception.h exception.c (mono_get_exception_cannot_unload_appdomain):
New function.
svn path=/trunk/mono/; revision=19213
Miguel de Icaza [Mon, 20 Oct 2003 18:36:36 +0000 (18:36 -0000)]
Casting error bug fix: Applied patches from seifert@everybody.org (Jeff Seifert), that fix #49561
svn path=/trunk/mcs/; revision=19212
Miguel de Icaza [Mon, 20 Oct 2003 18:34:53 +0000 (18:34 -0000)]
Applied patch from seifert@everybody.org (Jeff Seifert), bug 49553
svn path=/trunk/mcs/; revision=19211
Pedro Martínez Juliá [Mon, 20 Oct 2003 18:33:58 +0000 (18:33 -0000)]
2003-10-20 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* Mono.Security.dll.sources: Added references for Tls files.
svn path=/trunk/mcs/; revision=19210
Pedro Martínez Juliá [Mon, 20 Oct 2003 18:32:07 +0000 (18:32 -0000)]
2003-10-20 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
namespace is Mono.System.Protocol.Tls, before was
System.Security.Tls.
* Npgsql/Makefile: Change reference from System.Security.Tls to
Mono.Security (now Tls lives there).
svn path=/trunk/mcs/; revision=19209
Miguel de Icaza [Mon, 20 Oct 2003 18:23:39 +0000 (18:23 -0000)]
Update this too
svn path=/trunk/mcs/; revision=19208
Miguel de Icaza [Mon, 20 Oct 2003 18:23:06 +0000 (18:23 -0000)]
Add generator
svn path=/trunk/mcs/; revision=19207
Miguel de Icaza [Mon, 20 Oct 2003 18:22:42 +0000 (18:22 -0000)]
Applied patch from perky@FreeBSD.org (Hye-Shik Chang) that adds CP949 codec
svn path=/trunk/mcs/; revision=19206
Miguel de Icaza [Mon, 20 Oct 2003 18:14:17 +0000 (18:14 -0000)]
flush
svn path=/trunk/mono/; revision=19205
Miguel de Icaza [Mon, 20 Oct 2003 18:06:25 +0000 (18:06 -0000)]
Makefile fix
svn path=/trunk/mcs/; revision=19204
César Natarén [Mon, 20 Oct 2003 17:01:26 +0000 (17:01 -0000)]
If you want to help on the Mono Jscript .Net compiler effort, here is
a list of things where you can start helping with:
svn path=/trunk/mcs/; revision=19201
Lluis Sanchez [Mon, 20 Oct 2003 14:45:35 +0000 (14:45 -0000)]
Improved formatting of xml and code.
svn path=/trunk/mono/; revision=19199
Jordi Mas i Hernandez [Mon, 20 Oct 2003 14:04:46 +0000 (14:04 -0000)]
Initial PrintDialog implementation
svn path=/trunk/mcs/; revision=19198
Zoltan Varga [Mon, 20 Oct 2003 13:14:37 +0000 (13:14 -0000)]
2003-10-20 Zoltan Varga <vargaz@freemail.hu>
* object.h object.c: Remove G_GNUC_NORETURN from the signature of
mono_raise_exception, since otherwise gcc doesn't generate the function
epilog for raise_exception, confusing the stack unwinding in the JIT.
Fixes #45043.
svn path=/trunk/mono/; revision=19197
Zoltan Varga [Mon, 20 Oct 2003 12:40:02 +0000 (12:40 -0000)]
2003-10-20 Zoltan Varga <vargaz@freemail.hu>
* rawbuffer.c (mono_raw_buffer_load_mmap): Map mmap-ed memory with
PROT_EXEC. This seems to prevent segmentation faults on Fedora Linux.
Fixes #49499.
svn path=/trunk/mono/; revision=19196
Nick Drochak [Mon, 20 Oct 2003 07:14:12 +0000 (07:14 -0000)]
2003-10-20 Nick Drochak <ndrochak@gol.com>
* ecore.cs: Fix typo and build. Needed another right paren.
svn path=/trunk/mcs/; revision=19195
Miguel de Icaza [Mon, 20 Oct 2003 03:54:06 +0000 (03:54 -0000)]
2003-10-19 Miguel de Icaza <miguel@ximian.com>
* ecore.cs: Applied fix from Ben Maurer. We were handling in the
`internal' case regular and protected, but not allowing protected
to be evaluated later. Bug 49840
svn path=/trunk/mcs/; revision=19193
Atsushi Eno [Sun, 19 Oct 2003 14:09:22 +0000 (14:09 -0000)]
2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
* XmlSchemaCollection.cs : Implemented CopyTo().
* XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
Added support for anySimpleType.
* XmlSchemaSimpleType.cs : Type specification named as anyType should
be mapped to anySimpleType.
* BUGS-MS.txt : Added more case note.
svn path=/trunk/mcs/; revision=19192
Atsushi Eno [Sun, 19 Oct 2003 13:56:55 +0000 (13:56 -0000)]
2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlAttributeCollection.cs : Fixed synchronization stuff.
* XmlConvert.cs : Added two FromBinHexString() methods.
* XmlTextReader.cs : Modified to use one of the above method.
* XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be
disabled (in the next commit), so resolver won' be set to it.
Attempt to validate against XDR now throws NotSupportedException.
svn path=/trunk/mcs/; revision=19191
Gonzalo Paniagua Javier [Sun, 19 Oct 2003 11:16:59 +0000 (11:16 -0000)]
2003-10-19 Joerg Rosenkranz <joergr@voelcker.com>
* Tds.cs (GetStringValue): A string length of 0xFF (255) is not
misinterpreted as special value anymore.
This is a fix to bug #49835.
svn path=/trunk/mcs/; revision=19190
Jackson Harper [Sun, 19 Oct 2003 09:28:56 +0000 (09:28 -0000)]
* PEAPI.cs: Use bytes not bits for constant sizes.
svn path=/trunk/mcs/; revision=19189
Atsushi Eno [Sun, 19 Oct 2003 09:23:29 +0000 (09:23 -0000)]
2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlChar.cs : added WhitespaceChars, used in common.
* XmlConvert.cs,
XmlDeclaration.cs,
XmlParserInput.cs,
XmlTextReader.cs,
XmlTextWriter.cs : String.Trim()
* XmlConvert.cs : shifted XmlConstructs to XmlChar.
* XmlTextReader.cs : Implemented Normalization.
svn path=/trunk/mcs/; revision=19188
Atsushi Eno [Sun, 19 Oct 2003 04:47:46 +0000 (04:47 -0000)]
2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
GetNamespaceOfPrefix() fixed at 2003-10-13.
* XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
which remained by previous call of this method.
* XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
* XmlValidatingReader.cs : Notice about intention of XDR won't be
supported (at least in Mono 1.0).
svn path=/trunk/mcs/; revision=19187
Miguel de Icaza [Sun, 19 Oct 2003 04:46:48 +0000 (04:46 -0000)]
Fix the ! operator for traces, and add N: to the trace factiliy
svn path=/trunk/mono/; revision=19186
Sebastien Pouliot [Sun, 19 Oct 2003 03:10:14 +0000 (03:10 -0000)]
2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
* X509SecurityTokenTest.cs: New. New. Unit tests for X509SecurityToken.
svn path=/trunk/mcs/; revision=19185
Gonzalo Paniagua Javier [Sun, 19 Oct 2003 00:36:42 +0000 (00:36 -0000)]
2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspParser.cs: fixed bug #49627.
svn path=/trunk/mcs/; revision=19183
Gonzalo Paniagua Javier [Sun, 19 Oct 2003 00:20:59 +0000 (00:20 -0000)]
2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Calendar.cs: fixed bug #49727.
svn path=/trunk/mcs/; revision=19182
Ben Maurer [Sat, 18 Oct 2003 23:59:00 +0000 (23:59 -0000)]
2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
* TableStyle.cs: fix #49740.
svn path=/trunk/mcs/; revision=19181
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 23:36:42 +0000 (23:36 -0000)]
2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SelectedDatesCollection.cs: fix by Yaron for bug #49698.
* ValidationSummary.cs: fixes bug #49669.
svn path=/trunk/mcs/; revision=19180
Sebastien Pouliot [Sat, 18 Oct 2003 22:01:45 +0000 (22:01 -0000)]
2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
* BinarySecurityToken.cs: Added support for GetXml/LoadXml
* SecurityToken.cs: Better support for WSE2
* X509SecurityToken.cs: Implemented most of the TODO.
svn path=/trunk/mcs/; revision=19179
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 20:01:19 +0000 (20:01 -0000)]
2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* icall.c: OutputDebugStringW expects 16-bit unicode characters, not
utf8.
svn path=/trunk/mono/; revision=19178
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 18:33:54 +0000 (18:33 -0000)]
Added uninstall target
svn path=/trunk/mcs/; revision=19177
Lluis Sanchez [Sat, 18 Oct 2003 18:29:22 +0000 (18:29 -0000)]
* icall.c: Removed GetUninitializedObject method because
AllocateUninitializedClassInstance does the same.
svn path=/trunk/mono/; revision=19176
Lluis Sanchez [Sat, 18 Oct 2003 18:23:03 +0000 (18:23 -0000)]
* FormatterServices.cs: In GetUninitializedObject methdod, reuse
ActivationServices.AllocateUninitializedClassInstance, it does the same.
svn path=/trunk/mcs/; revision=19175
Lluis Sanchez [Sat, 18 Oct 2003 18:22:30 +0000 (18:22 -0000)]
* ActivationServices.cs: make AllocateUninitializedClassInstance public,
so it can be reused.
svn path=/trunk/mcs/; revision=19174
Sebastien Pouliot [Sat, 18 Oct 2003 17:23:49 +0000 (17:23 -0000)]
2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
* StrongName.cs: Oops, forgot the INSIDE_CORLIB to mark class as internal.
svn path=/trunk/mcs/; revision=19173
Sebastien Pouliot [Sat, 18 Oct 2003 17:18:58 +0000 (17:18 -0000)]
2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
* sn.cs: Fixed a bug when exporting the public key from a SNK file.
svn path=/trunk/mcs/; revision=19171
Sebastien Pouliot [Sat, 18 Oct 2003 17:17:41 +0000 (17:17 -0000)]
2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
* corlib.dll.sources: Added classes StrongName to support StrongNames.
svn path=/trunk/mcs/; revision=19170
Sebastien Pouliot [Sat, 18 Oct 2003 17:16:17 +0000 (17:16 -0000)]
2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
* AssemblyBuilder.cs (SetCustomAttribute): Changed PK extraction to
use Mono.Security.StrongName (#49785).
svn path=/trunk/mcs/; revision=19169
Sebastien Pouliot [Sat, 18 Oct 2003 17:13:45 +0000 (17:13 -0000)]
2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
* StrongName.cs: Added from Mono.Security assembly for StrongName
support in AssemblyBuilder.
svn path=/trunk/mcs/; revision=19168
Jackson Harper [Sat, 18 Oct 2003 16:06:34 +0000 (16:06 -0000)]
* util.c (hex_dump): Use uppercase hex so there are no conflicts
with ilasm keywords ie cf
svn path=/trunk/mono/; revision=19167
Jackson Harper [Sat, 18 Oct 2003 16:05:21 +0000 (16:05 -0000)]
* dis-cil.c (get_encoded_user_string): use g_strescape instead of
escaping manually.
svn path=/trunk/mono/; revision=19166
Jackson Harper [Sat, 18 Oct 2003 15:55:25 +0000 (15:55 -0000)]
* ExternTable.cs: Separate class and value types into diff
tables.
svn path=/trunk/mcs/; revision=19165
Jackson Harper [Sat, 18 Oct 2003 15:48:31 +0000 (15:48 -0000)]
* InstrTable.cs: Use short branch instructions instead of aliasing them
to the long branch instructions.
svn path=/trunk/mcs/; revision=19164
Jackson Harper [Sat, 18 Oct 2003 15:44:44 +0000 (15:44 -0000)]
* PEAPI.cs: Add proper support for short instructions, removing
PEAPI's auto selection of short/long branch operations
feature.
svn path=/trunk/mcs/; revision=19163
Zoltan Varga [Sat, 18 Oct 2003 15:34:26 +0000 (15:34 -0000)]
2003-10-18 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (SetCustomAttribute): Extract the public key from
the keyfile.
svn path=/trunk/mcs/; revision=19162
Atsushi Eno [Sat, 18 Oct 2003 15:21:26 +0000 (15:21 -0000)]
2003-10-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
* XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
XmlDeclaration now calls WriteProcessingInstruction(). This fixes
testcase XmlWriterTests.WriteNodeFullDocument().
* XmlTextWriter.cs : Added LAMESPEC comments related to above.
svn path=/trunk/mcs/; revision=19161
Martin Baulig [Sat, 18 Oct 2003 07:13:03 +0000 (07:13 -0000)]
2003-10-18 Martin Baulig <martin@ximian.com>
* MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
abstract; use an interncall in MonoMethod and a custom
implementation in MethodBuilder.
svn path=/trunk/mcs/; revision=19160
Martin Baulig [Sat, 18 Oct 2003 06:59:42 +0000 (06:59 -0000)]
2003-10-18 Martin Baulig <martin@ximian.com>
* class.c (inflate_generic_signature): Renamed to
mono_class_inflate_generic_signature() and made it public.
(my_mono_class_from_generic_parameter): New static function; if we
don't already have the generic parameter's MonoClass, create a
very simple one which is just used internally in the runtime and
not passed back to managed code.
* class.h (MonoGenericInst): Added `gpointer mbuilder' field.
* metadata.h (MonoMethodSignature): Moved the
`MonoGenericParam *gen_params' to the MonoMethodHeader.
(MonoMethodHeader): Moved the `MonoGenericParam *gen_params' here.
* icall.c (ves_icall_MethodInfo_GetGenericArguments): Renamed to
ves_icall_MonoMethod_GetGenericArguments(); this is now an
interncall on the MonoMethod class, not on MethodInfo.
(ves_icall_MethodInfo_BindGenericParameters): Removed, we're now
calling mono_reflection_bind_generic_method_parameters() directly.
* loader.c (mono_method_get_signature): If this is a MethodSpec;
return the already computed `method->signature'.
(method_from_methodspec): New static function to load a method
from a MethodSpec entry.
(mono_get_method_from_token): Call the new method_from_methodspec()
for MethodSpec tokens.
(mono_get_method_from_token): If we're a generic method, load the
type parameters.
* reflection.c (mono_image_get_memberref_token): Allow
MEMBERREF_PARENT_TYPEDEF here; this will be used in the MethodSpec
table.
(fixup_method): Added support for MONO_TABLE_METHODSPEC.
(mono_image_create_token): First check whether it's a generic
method (so we'd need to create a MethodSpec), then do the other
two alternatives.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionMethod *' instead of a `MonoMethod *'; we're now
called directly from the interncall.
svn path=/trunk/mono/; revision=19159
Jackson Harper [Sat, 18 Oct 2003 06:14:49 +0000 (06:14 -0000)]
* ILParser.jay: Set value types, set enums as value types. Use
correct var for call conv in method signatures.
svn path=/trunk/mcs/; revision=19157
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 05:54:18 +0000 (05:54 -0000)]
2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/TemplateControl.cs: moved NoParamsInvoker class to its
own file.
* System.Web/HttpApplicationFactory.cs: use NoParamsInvoker.
* System.Web/HttpRequest.cs: support request filters.
* System.Web/HttpRequestStream.cs: mono-stylized and added new Set
method.
* System.Web/NoParamsInvoker.cs: proxy class to invoke user-provided
methods without parameters that are invoked by EventHandlers.
svn path=/trunk/mcs/; revision=19156
Sebastien Pouliot [Sat, 18 Oct 2003 02:53:56 +0000 (02:53 -0000)]
2003-10-17 Sebastien Pouliot <spouliot@videotron.ca>
* corlib.dll.sources: Added classes CryptoConvert to support StrongNames.
svn path=/trunk/mcs/; revision=19155
Sebastien Pouliot [Sat, 18 Oct 2003 02:28:17 +0000 (02:28 -0000)]
2003-10-17 Sebastien Pouliot <spouliot@videotron.ca>
* CryptoConvert.cs: Added from Mono.Security to support StrongNames.
svn path=/trunk/mcs/; revision=19154
Lluis Sanchez [Fri, 17 Oct 2003 22:55:42 +0000 (22:55 -0000)]
* SoapReflectionImporter.cs: Support element references for enum values in
encoding format. This fixes bug #49568.
* XmlSerializationReaderInterpreter.cs: In encoded format, do not check
the name and namespace of the wrapper element. MS.NET doesn't do it.
This fixes bug #49729.
svn path=/trunk/mcs/; revision=19152
Rafael Teixeira [Fri, 17 Oct 2003 22:20:33 +0000 (22:20 -0000)]
2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Microsoft.VisualBasic/VBCodeGenerator.cs: Sub or Function generation is switched by method.ReturnType being "System.Void"
svn path=/trunk/mcs/; revision=19150
Rafael Teixeira [Fri, 17 Oct 2003 22:11:45 +0000 (22:11 -0000)]
2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Microsoft.VisualBasic/VBCodeCompiler.cs: Inserts "--" before file names block
* Microsoft.VisualBasic/VBCodeGenerator.cs: Indexer should be ".Item(xx)"
svn path=/trunk/mcs/; revision=19149
Martin Baulig [Fri, 17 Oct 2003 21:58:11 +0000 (21:58 -0000)]
2003-10-17 Martin Baulig <martin@ximian.com>
* gen-test.sh: Removed.
* gen-test.pl: New file; this is a perl script which runs all the
generics tests.
svn path=/trunk/mcs/; revision=19148
Rafael Teixeira [Fri, 17 Oct 2003 21:30:53 +0000 (21:30 -0000)]
2003/10/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* genericparser.cs:
Don't print exception when a file is not found to be parsed
File extensions not matched are now processed with the default parser
Better handle file/directory not found exceptions, and use Report.Error in that case
* added defaultparserattribute.cs
* mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
* location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
* mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
svn path=/trunk/mcs/; revision=19147
Ben Maurer [Fri, 17 Oct 2003 21:12:21 +0000 (21:12 -0000)]
2003-10-17 Ben Maurer <bmaurer@users.sourceforge.net>
* CompilationConfiguration.cs (Init): you have to inherit copying
files from the bin folders too.
svn path=/trunk/mcs/; revision=19146
Reggie Burnett [Fri, 17 Oct 2003 19:30:47 +0000 (19:30 -0000)]
MySql - Fixed major bug with null field handling (thanks Naucki)
MySql - Removed unused IsClosed method in MySqlStream
MySql - Removed unused IsDead code from Driver
svn path=/trunk/mcs/; revision=19144
Jackson Harper [Fri, 17 Oct 2003 19:21:13 +0000 (19:21 -0000)]
* dis-cil.c (get_encoded_user_string): Escape user strings when
loading. ie ""quote"" should be "\"quote\"".
* dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
block. Combine SEH blocks that have the same offset and length,
this prevents creating invalid SEH blocks.
svn path=/trunk/mono/; revision=19143
Ettore Perazzoli [Fri, 17 Oct 2003 18:53:17 +0000 (18:53 -0000)]
2003-10-17 Ettore Perazzoli <ettore@ximian.com>
* Mono.Data.SqliteClient/SqliteConnection.cs
(SqliteConnection.LastInsertRowId): New property to bind the
sqlite_last_insert_rowid() call.
svn path=/trunk/mcs/; revision=19141
Pedro Martínez Juliá [Fri, 17 Oct 2003 17:04:16 +0000 (17:04 -0000)]
2003-10-17 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* MonoEvent.cs: implement ToString method as in MS.NET.
* MonoMethod.cs: fix some differences between mono and MS.NET
implementation of ToString.
svn path=/trunk/mcs/; revision=19139
Martin Baulig [Fri, 17 Oct 2003 16:37:19 +0000 (16:37 -0000)]
2003-10-17 Martin Baulig <martin@ximian.com>
* generic.cs (Constraints.Resolve): Take a DecpSpace instead of a
TypeContainer so we can also use this for Interfaces.
(TypeParameter.Resolve): Likewise.
* interface.cs (Interface.DefineType): Added support for generic
interfaces.
* cs-parser.jay: Added support for generic structs and interfaces.
svn path=/trunk/mcs/; revision=19138
Martin Baulig [Fri, 17 Oct 2003 16:29:47 +0000 (16:29 -0000)]
Two more generics tests.
svn path=/trunk/mcs/; revision=19137
Miguel de Icaza [Fri, 17 Oct 2003 16:15:22 +0000 (16:15 -0000)]
fluhs
svn path=/trunk/mono/; revision=19136
Zoltan Varga [Fri, 17 Oct 2003 14:04:03 +0000 (14:04 -0000)]
2003-10-17 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs (SetCustomAttribute): Ignore empty keyfile name.
svn path=/trunk/mcs/; revision=19134
Zoltan Varga [Fri, 17 Oct 2003 13:09:59 +0000 (13:09 -0000)]
2003-10-17 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs: Moved loading of the public key file into
managed code from reflection.c.
svn path=/trunk/mcs/; revision=19133
Zoltan Varga [Fri, 17 Oct 2003 13:08:21 +0000 (13:08 -0000)]
2003-10-17 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (load_public_key): Move loading of the public key
into managed code.
svn path=/trunk/mono/; revision=19132
Zoltan Varga [Fri, 17 Oct 2003 12:45:07 +0000 (12:45 -0000)]
2003-10-17 Zoltan Varga <vargaz@freemail.hu>
* AssemblyNameTest.cs: Convert to Nunit2 format, add tests for
CultureInfo, Version and HashAlgorithm properties.
svn path=/trunk/mcs/; revision=19131
Zoltan Varga [Fri, 17 Oct 2003 12:40:18 +0000 (12:40 -0000)]
2003-10-17 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs: Set cultureInfo and version from the AssemblyName
passed to the constructor.
svn path=/trunk/mcs/; revision=19130