Sebastien Pouliot [Sun, 12 Oct 2003 16:07:14 +0000 (16:07 -0000)]
2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
* AuthenticodeBase.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile
* AuthenticodeDeformatter.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile
svn path=/trunk/mcs/; revision=18914
Sebastien Pouliot [Sun, 12 Oct 2003 16:06:12 +0000 (16:06 -0000)]
2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
* PKCS7.cs: Added from Mono.Security assembly for Authenticode
support in X509Certificate.CreateFromSignedFile
svn path=/trunk/mcs/; revision=18913
Pedro Martínez Juliá [Sun, 12 Oct 2003 15:54:36 +0000 (15:54 -0000)]
2003-10-12 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* WebClient.cs: refine reading of local files (like MS.NET).
svn path=/trunk/mcs/; revision=18912
Sebastien Pouliot [Sun, 12 Oct 2003 15:47:17 +0000 (15:47 -0000)]
2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
* chktrust.1: New. Man page for Authenticode chktrust.exe
* signcode.1: New. Man page for Authenticode signcode.exe
* sn.1: New. Man page for StrongName sn.exe
* man.xml: Added new (and missing) entries.
svn path=/trunk/mono/; revision=18911
Zoltan Varga [Sun, 12 Oct 2003 12:53:05 +0000 (12:53 -0000)]
2003-10-12 Zoltan Varga <vargaz@freemail.hu>
* tramp-x86.c (x86_class_init_trampoline): Fix build.
svn path=/trunk/mono/; revision=18910
Zoltan Varga [Sun, 12 Oct 2003 11:47:49 +0000 (11:47 -0000)]
2003-10-12 Zoltan Varga <vargaz@freemail.hu>
* tramp-x86.c (x86_class_init_trampoline): Thread safety fixes.
svn path=/trunk/mono/; revision=18909
Duncan Mak [Sun, 12 Oct 2003 01:51:58 +0000 (01:51 -0000)]
* Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
(cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
(cairo_current_matrix): Signature changed, updated.
(cairo_surface_reference): New API.
(cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
* Mono.Cairo/Surface.cs:
* Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
(Destroy): It's supposed to return void, not IntPtr.
* cairo-api.cs: Marked as in internal class, instead of
public. Update to new Cairo API (see Mono.Cairo/Cairo.cs).
* gdk-helpers.cs (Gdk.Pixbuf.Finalize): Removed.
svn path=/trunk/mcs/; revision=18901
Miguel de Icaza [Sun, 12 Oct 2003 01:39:58 +0000 (01:39 -0000)]
Also work for floats
svn path=/trunk/mcs/; revision=18899
Sebastien Pouliot [Sat, 11 Oct 2003 20:11:11 +0000 (20:11 -0000)]
2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
* AssemblyInfo.cs: changed version number to 0.28.99
* sn.cs: Add support for signing and verifying assemblies.
svn path=/trunk/mcs/; revision=18890
Sebastien Pouliot [Sat, 11 Oct 2003 20:03:42 +0000 (20:03 -0000)]
2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
* SoftwarePublisherCertificateTest.cs: Repaired test build.
svn path=/trunk/mcs/; revision=18889
Sebastien Pouliot [Sat, 11 Oct 2003 20:02:55 +0000 (20:02 -0000)]
2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
* StrongNameTest.cs: Added tests for Hash, Sign and Verify.
svn path=/trunk/mcs/; revision=18888
Sebastien Pouliot [Sat, 11 Oct 2003 20:02:08 +0000 (20:02 -0000)]
2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
* StrongName.cs: Added Hash, Sign and Verify.
svn path=/trunk/mcs/; revision=18887
Ben Maurer [Sat, 11 Oct 2003 18:42:13 +0000 (18:42 -0000)]
build fix
svn path=/trunk/mcs/; revision=18885
Martin Baulig [Sat, 11 Oct 2003 16:37:13 +0000 (16:37 -0000)]
2003-10-11 Martin Baulig <martin@ximian.com>
* mono-debug.c (mono_debug_add_method): Added a workaround for
bug #48591.
svn path=/trunk/mono/; revision=18883
Miguel de Icaza [Sat, 11 Oct 2003 15:49:10 +0000 (15:49 -0000)]
Patch from Marco Canini to fix an overflow
svn path=/trunk/mcs/; revision=18881
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 09:08:19 +0000 (09:08 -0000)]
2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Calendar.cs: apply the calendar style to the new Table, not to itself.
Fixes #49406.
* CheckBox.cs: render the hidden fields if AutoPostBack.
* Style.cs: don't render empty width/height. Small improvement in
CopyFrom.
* Table.cs: fixed condition for border width.
* TableStyle.cs:
(CopyFrom): always call the base class to copy other attributes. Fixes
bug #49408. Don't render empty 'rules' attribute.
* WebControl.cs: track viewstate when enabled. Don't overwrite source
control attributes in CopyBaseAttributes.
* ChangeLog: fixed dates.
svn path=/trunk/mcs/; revision=18878
Jackson Harper [Sat, 11 Oct 2003 09:00:09 +0000 (09:00 -0000)]
Add new generic method types to build
svn path=/trunk/mcs/; revision=18877
Jackson Harper [Sat, 11 Oct 2003 08:59:12 +0000 (08:59 -0000)]
* GenericTypeRef.cs: Allow Mvars to be a base type.
* GenericMethodRef.cs: Basically just a wrapper around an existing
method making it into a generic method.
* GenericMethodSig.cs: Signature for a generic method.
svn path=/trunk/mcs/; revision=18876
Jackson Harper [Sat, 11 Oct 2003 08:57:47 +0000 (08:57 -0000)]
* ILParser.jay: Create generic method refs.
svn path=/trunk/mcs/; revision=18875
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 06:59:25 +0000 (06:59 -0000)]
Decrypt file.
svn path=/trunk/mcs/; revision=18874
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 04:01:03 +0000 (04:01 -0000)]
2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponse.cs:
* HttpServerUtility.cs: change the response writer in Execute. Thanks
to Rich Alimi <rich@velvetsea.net> for noticing this.
svn path=/trunk/mcs/; revision=18873
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 03:45:07 +0000 (03:45 -0000)]
2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpApplicationFactory.cs:
* System.Web.UI/TemplateControl.cs: support for wiring up events without
parameters.
* System.Web.Compilation/AspParser.cs:
* System.Web.Compilation/TagAttributes.cs: allow duplicated runat=server
attributes and display error page when duplicated attributes and runat
is specified.
svn path=/trunk/mcs/; revision=18872
Jackson Harper [Sat, 11 Oct 2003 00:30:31 +0000 (00:30 -0000)]
* PEAPI.cs: New GenericMethodSig class for creating generic method
signatures. Use this class instead of GenericTypeInst for creating
generic methods. Fix Generic call conv. according to two of my
docs it is 0x10 and only one says 0x50 so I will go with 0x10.
svn path=/trunk/mcs/; revision=18871
Pedro Martínez Juliá [Fri, 10 Oct 2003 23:38:41 +0000 (23:38 -0000)]
2003-10-10 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* Uri.cs: fixed a problem with some URIs like file://some_file.txt
It used to return "/some_file.txt/" instead of "some_file.txt" in
LocalPath. Fix handling of full path files and SMB addresses.
* UriTest.cs: added some test for "file://one_file.txt". Uri used to
fail with this URIs.
* WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
but we didn't. Now, when Uri fails with an exception, it adds
"file://" before the URI and tries again.
svn path=/trunk/mcs/; revision=18870
Jackson Harper [Fri, 10 Oct 2003 21:12:42 +0000 (21:12 -0000)]
* dump.c: When dumping methodspecs dump the full methodspec with
signature, and dump the signature.
svn path=/trunk/mono/; revision=18865
Lluis Sanchez [Fri, 10 Oct 2003 17:54:25 +0000 (17:54 -0000)]
* XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
need to be of type SOAP-ENC:Array, it can be a restriction of it.
svn path=/trunk/mcs/; revision=18863
Lluis Sanchez [Fri, 10 Oct 2003 16:38:58 +0000 (16:38 -0000)]
* ContractReference.cs, DiscoveryClientProtocol.cs,
DiscoveryClientResult.cs, DiscoveryDocument.cs,
DiscoveryDocumentReference.cs, DiscoveryExceptionDictionary.cs,
DiscoveryReference.cs, SchemaReference.cs: Implemented initial support
for discovery documents (.disco).
svn path=/trunk/mcs/; revision=18862
Lluis Sanchez [Fri, 10 Oct 2003 16:38:18 +0000 (16:38 -0000)]
* DiscoveryDocumentSerializer.cs: New file.
svn path=/trunk/mcs/; revision=18861
Zoltan Varga [Fri, 10 Oct 2003 13:08:13 +0000 (13:08 -0000)]
2003-10-10 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_no_aot): Remove unused global variable.
* mini.c: Thread safety fixes.
svn path=/trunk/mono/; revision=18860
Zoltan Varga [Fri, 10 Oct 2003 12:41:23 +0000 (12:41 -0000)]
2003-10-10 Zoltan Varga <vargaz@freemail.hu>
* mono/tests/libtest.c (mono_test_marshal_delegate): Added test for
stdcall calling convention.
svn path=/trunk/mono/; revision=18859
Zoltan Varga [Fri, 10 Oct 2003 12:31:52 +0000 (12:31 -0000)]
2003-10-10 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_managed_wrapper): Under windows,
delegates passed to native code must use the STDCALL calling
convention. Fixes #35987.
svn path=/trunk/mono/; revision=18858
Zoltan Varga [Fri, 10 Oct 2003 11:30:32 +0000 (11:30 -0000)]
2003-10-10 Zoltan Varga <vargaz@freemail.hu>
* Array.cs: Add argument checking to GetValue and SetValue.
svn path=/trunk/mcs/; revision=18857
Jackson Harper [Fri, 10 Oct 2003 09:03:37 +0000 (09:03 -0000)]
* get.c/get.h: Add methods to get stringified methodspecs and
method type parameters.
svn path=/trunk/mono/; revision=18855
Jackson Harper [Fri, 10 Oct 2003 08:59:06 +0000 (08:59 -0000)]
* get.c/get.h: Add methods to get stringified methodspecs and
method type parameters.
svn path=/trunk/mono/; revision=18854
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 08:53:57 +0000 (08:53 -0000)]
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspTokenizer.cs: moved token numbers above unicode.
svn path=/trunk/mcs/; revision=18853
César Natarén [Fri, 10 Oct 2003 07:30:10 +0000 (07:30 -0000)]
2003-10-10 cesar lopez nataren <cesar@ciencias.unam.mx>
* README: added some info about hacking the grammar
svn path=/trunk/mcs/; revision=18852
César Natarén [Fri, 10 Oct 2003 07:11:34 +0000 (07:11 -0000)]
2003-10-10 cesar lopez nataren <cesar@ciencias.unam.mx>
* JSparser.cs: Updated the constructor to not receiving params.
* JScriptLexer.cs, JScriptParser.cs, JScriptParserTokenTypes.cs,
JScriptParserTokenTypes.txt: update of antlr generated files from
grammar changes.
svn path=/trunk/mcs/; revision=18851
César Natarén [Fri, 10 Oct 2003 06:59:50 +0000 (06:59 -0000)]
changelog entry for grammar changes
svn path=/trunk/mcs/; revision=18850
César Natarén [Fri, 10 Oct 2003 06:47:05 +0000 (06:47 -0000)]
rewritten EcmaScript grammar
svn path=/trunk/mcs/; revision=18849
Martin Baulig [Fri, 10 Oct 2003 05:37:29 +0000 (05:37 -0000)]
2003-10-10 Martin Baulig <martin@ximian.com>
* class.c (inflate_generic_type): If we're inflating for a generic
type instance (and not for a generic method), return
MONO_TYPE_MVAR unchanged.
svn path=/trunk/mono/; revision=18848
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 04:35:54 +0000 (04:35 -0000)]
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapDocumentationHandler.cs: don't close the response stream here
to allow filtering.
svn path=/trunk/mcs/; revision=18846
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 03:24:41 +0000 (03:24 -0000)]
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Collections/Hashtable.cs:
* Test/System.Collections/HashtableTest.cs: patch from Carlos A.
Barcenilla (barce@frlp.utn.edu.ar) that includes some fixes for
Hashtable + NUnit2 tests.
svn path=/trunk/mcs/; revision=18845
Miguel de Icaza [Fri, 10 Oct 2003 03:14:54 +0000 (03:14 -0000)]
2003-10-09 Miguel de Icaza <miguel@ximian.com>
* DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
should not be TimeSpan.MaxValue, because it overflow. Set this to
be MAX_VALUE_TICKS
svn path=/trunk/mcs/; revision=18844
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:44:42 +0000 (01:44 -0000)]
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.[ch]: export busy_worker_threads, not mono_worker_threads.
* threads.c: GetAvailableTheads is slightly more accurate.
svn path=/trunk/mono/; revision=18842
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:37:27 +0000 (01:37 -0000)]
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* string-icalls.c: Join ignores null strings in the source array.
svn path=/trunk/mono/; revision=18841
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:17:27 +0000 (01:17 -0000)]
added webControls section
svn path=/trunk/mono/; revision=18840
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 01:16:51 +0000 (01:16 -0000)]
2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.dll.sources: added new file.
* System.Web/HttpUtility.cs: error checking.
* System.Web.Configuration/WebControlsSectionHandler.cs: new file to
handle <webControls> configuration.
svn path=/trunk/mcs/; revision=18839
Bernie Solomon [Fri, 10 Oct 2003 00:30:15 +0000 (00:30 -0000)]
2003-10-09 Bernie Solomon <bernard@ugsolutions.com>
* threads.h threads.c : add mono_threads_set_default_stacksize
and pass default to CreateThread calls.
svn path=/trunk/mono/; revision=18838
Lluis Sanchez [Fri, 10 Oct 2003 00:24:03 +0000 (00:24 -0000)]
* SoapReflectionImporter.cs, XmlReflectionImporter.cs: Fixed bug #49476.
Read only properties are only serialized if the type is an array.
svn path=/trunk/mcs/; revision=18837
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 23:36:33 +0000 (23:36 -0000)]
report about ICU
svn path=/trunk/mono/; revision=18836
Martin Baulig [Thu, 9 Oct 2003 23:24:19 +0000 (23:24 -0000)]
2003-10-10 Martin Baulig <martin@ximian.com>
* gen-15.cs: New test for generic methods.
svn path=/trunk/mcs/; revision=18835
Martin Baulig [Thu, 9 Oct 2003 23:18:15 +0000 (23:18 -0000)]
2003-10-10 Martin Baulig <martin@ximian.com>
* TypeBuilder.cs (TypeBuilder.MonoGenericParam): Added `index' field.
(TypeBuilder.DefineGenericParameter): Added overloaded version
taking an `int index' argument for generic methods.
svn path=/trunk/mcs/; revision=18834
Martin Baulig [Thu, 9 Oct 2003 23:15:12 +0000 (23:15 -0000)]
2003-10-10 Martin Baulig <martin@ximian.com>
* reflection.c (MonoReflectionGenericParam): Added `guint32 index'.
(mono_reflection_define_generic_parameter): If `gparam->index' is
non-zero, create a MONO_TYPE_MVAR.
(encode_type): Added support for MONO_TYPE_MVAR.
svn path=/trunk/mono/; revision=18833
Martin Baulig [Thu, 9 Oct 2003 23:08:39 +0000 (23:08 -0000)]
2003-10-10 Martin Baulig <martin@ximian.com>
* class.cs (Method): Added .ctor which takes a `GenericMethod'
instead of a `DeclSpace'. This is used for generic methods.
* cs-parser.jay (method_header): Added support for generic
methods; create a `GenericMethod' instance and pass it to the
`Method's .ctor; it'll be used as the `DeclSpace' to lookup
parameters and locals.
* decl.cs (DeclSpace.SetParameterInfo): Removed Location argument
since we already have the location. Check whether we're a generic
type declaration or a generic method and create the correct type
parameter.
* generic.cs (TypeParameter): Added .ctor which takes an
additional `int index' argument. It is used for generic methods.
(TypeParameter.DefineMethod): New public method.
(GenericMethod): New public class; derives from DeclSpace and is
used for generic methods.
svn path=/trunk/mcs/; revision=18831
Martin Baulig [Thu, 9 Oct 2003 22:41:37 +0000 (22:41 -0000)]
Merged from MCS.
svn path=/trunk/mcs/; revision=18828
Martin Baulig [Thu, 9 Oct 2003 22:23:09 +0000 (22:23 -0000)]
2003-10-09 Martin Baulig <martin@ximian.com>
* class.cs (MethodCore): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodCore.DoDefineParameters): Removed the TypeContainer
argument; use the DeclSpace which was passed to the .ctor instead.
(MethodCore.CheckParameter): Take a DeclSpace instead of a
TypeContainer; we only need a DeclSpace here.
svn path=/trunk/mcs/; revision=18826
Dick Porter [Thu, 9 Oct 2003 21:48:10 +0000 (21:48 -0000)]
Add MONO_ARCH_SAVE_REGS (noticed by Gonzalo)
svn path=/trunk/mono/; revision=18824
Martin Baulig [Thu, 9 Oct 2003 21:39:18 +0000 (21:39 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=18823
Martin Baulig [Thu, 9 Oct 2003 21:33:50 +0000 (21:33 -0000)]
2003-10-09 Martin Baulig <martin@ximian.com>
* class.cs (MethodData): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodData.Define, MethodData.Emit): Pass the `ds' to the
EmitContext's .ctor.
svn path=/trunk/mcs/; revision=18822
Martin Baulig [Thu, 9 Oct 2003 21:18:32 +0000 (21:18 -0000)]
2003-10-09 Martin Baulig <martin@ximian.com>
* decl.cs (DeclSpace.AsAccessible): Moved here from TypeContainer.
(AccessLevel, CheckAccessLevel, GetAccessLevel): They're used by
AsAccessible(), moved them as well.
* class.cs (TypeContainer.AsAccessible): Moved to DeclSpace.
svn path=/trunk/mcs/; revision=18821
Dick Porter [Thu, 9 Oct 2003 21:09:57 +0000 (21:09 -0000)]
2003-10-09 Dick Porter <dick@ximian.com>
* CultureInfo.cs: Implemented, with internal calls to ICU apart
from the Invariant culture.
* SortKey.cs:
* CompareInfo.cs: Implemented
* DateTimeFormatInfo.cs: Fixed the worst of the formatting,
construct default FullDateTimePattern on the fly.
svn path=/trunk/mcs/; revision=18820
Bernie Solomon [Thu, 9 Oct 2003 21:09:48 +0000 (21:09 -0000)]
2003-10-09 Bernie Solomon <bernard@ugsolutions.com>
* threads.c: (CreateThread) use stacksize argument
if non-zero - change default for 64 bits to 4Mb
svn path=/trunk/mono/; revision=18819
Dick Porter [Thu, 9 Oct 2003 21:00:27 +0000 (21:00 -0000)]
2003-10-09 Dick Porter <dick@ximian.com>
* acconfig.h:
* configure.in: Check for ICU availability
2003-10-09 Dick Porter <dick@ximian.com>
* icall.c:
* locales.h:
* locales.c: Internal calls for constructing CultureInfo and
related objects from libicu (if its available.)
svn path=/trunk/mono/; revision=18818
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 20:34:50 +0000 (20:34 -0000)]
2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* MonoCustomAttrs.cs: from_cache is now thread-safe. Yeah, I got a
duplicate entry exception.
svn path=/trunk/mcs/; revision=18817
Bernie Solomon [Thu, 9 Oct 2003 19:20:57 +0000 (19:20 -0000)]
2003-10-09 Bernie Solomon <bernard@ugsolutions.com>
* mono/tests/libtest.c: fix after merge of pinvoke2.cs
svn path=/trunk/mono/; revision=18814
Atsushi Eno [Thu, 9 Oct 2003 19:14:22 +0000 (19:14 -0000)]
2003-10-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* System.Xml.dll.sources: added DTDReader.cs.
svn path=/trunk/mcs/; revision=18813
Atsushi Eno [Thu, 9 Oct 2003 19:13:16 +0000 (19:13 -0000)]
2003-10-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* Added DTDReader.cs. It is almost importation of XmlTextReader.
* DTDObjectModel.cs :
- More .NET-ism. Properties took place of fields.
- Imported PE set from XmlTextReader. Added location info.
- Added DTDEntityBase common to PE and GE.
- More correct text declaration handling with new XmlTextReader.
* DTDValidatingReader.cs :
- Now uses entity resolving XmlTextReader to validate attributes
correctly. Implemented standalone
- Standalone and default related validity constraints check.
* XmlImplementation.cs: Implemented HasFeature().
* XmlNode.cs : Implemented Supports().
* XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
* XmlParserInput.cs : Removed extraneous members.
* XmlTextReader.cs :
- All DTD related functionality now goes to DTDReader.cs
- It became old simple TextReader input style.
- Implemented GetRemainder().
- Implemented ReadBase64(), ReadBinHex() and ReadChars(), using
additional new private method ReadUntilEndTag().
- Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
ReadXmlDeclaration() now became simple.
- More strict entity reference check at SetEntityReferenceProperty()
- Removed extraneous members.
* XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
svn path=/trunk/mcs/; revision=18812
Atsushi Eno [Thu, 9 Oct 2003 19:08:36 +0000 (19:08 -0000)]
2003-10-09 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* BuiltInDatatype.cs : Added CLSCompliant attributes to some classes.
svn path=/trunk/mcs/; revision=18811
Zoltan Varga [Thu, 9 Oct 2003 18:18:42 +0000 (18:18 -0000)]
2003-10-09 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_create_class_init_trampoline): Add a lock around
class_init_hash_addr.
svn path=/trunk/mono/; revision=18810
Jordi Mas i Hernandez [Thu, 9 Oct 2003 16:29:06 +0000 (16:29 -0000)]
listview column enhancements
svn path=/trunk/mcs/; revision=18808
Zoltan Varga [Thu, 9 Oct 2003 16:14:04 +0000 (16:14 -0000)]
2003-10-09 Zoltan Varga <vargaz@freemail.hu>
* arrays.cs (test_0_newarr_emulation): Add new regression test for
#30073.
svn path=/trunk/mono/; revision=18807
Zoltan Varga [Thu, 9 Oct 2003 16:12:12 +0000 (16:12 -0000)]
2003-10-09 Zoltan Varga <vargaz@freemail.hu>
* mini.c: Decompose the NEWARR instruction before decomposing its
arguments. Fixes #30073.
svn path=/trunk/mono/; revision=18806
Zoltan Varga [Thu, 9 Oct 2003 16:04:38 +0000 (16:04 -0000)]
2003-10-09 Zoltan Varga <vargaz@freemail.hu>
* debug-helpers.c (wrapper_type_names): Add 'unknown' wrapper type.
svn path=/trunk/mono/; revision=18804
Jackson Harper [Thu, 9 Oct 2003 09:20:55 +0000 (09:20 -0000)]
* main.c/get.c: Remove magic numbers, use constants.
svn path=/trunk/mono/; revision=18798
Jackson Harper [Thu, 9 Oct 2003 08:53:38 +0000 (08:53 -0000)]
* PEAPI.cs: Add generic method Mvar type. Add MethodSpec table,
and an Api method for adding methods to the methodspec table.
svn path=/trunk/mcs/; revision=18797
Jackson Harper [Thu, 9 Oct 2003 06:36:32 +0000 (06:36 -0000)]
* PeapiTypeRef.cs: Remove old hackery for adding methods to
arrays, use typespecs now.
svn path=/trunk/mcs/; revision=18796
Jackson Harper [Thu, 9 Oct 2003 06:34:17 +0000 (06:34 -0000)]
* PEAPI.cs: Remove some old hacks for adding methods to arrays,
typespecs are used for this now.
svn path=/trunk/mcs/; revision=18795
Todd Berman [Thu, 9 Oct 2003 04:45:15 +0000 (04:45 -0000)]
2003-10-08 Todd Berman <tberman@gentoo.org>
* Microsoft.Web.Services.dll2.sources: Added RelatesTo.cs
svn path=/trunk/mcs/; revision=18792
Todd Berman [Thu, 9 Oct 2003 04:44:36 +0000 (04:44 -0000)]
2003-10-08 Todd Berman <tberman@gentoo.org>
* RelatesTo.cs: Implemented
* ReplyTo.cs: Implemented
* To.cs: Implemented
svn path=/trunk/mcs/; revision=18791
Todd Berman [Thu, 9 Oct 2003 04:42:58 +0000 (04:42 -0000)]
2003-10-08 Todd Berman <tberman@gentoo.org>
* QualifiedName.cs: Initial implementation of FromString.
svn path=/trunk/mcs/; revision=18790
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 03:52:42 +0000 (03:52 -0000)]
2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: added an argument to async_invoke_thread that is the
item to process, pass the MonoAsyncResult to the thread start function
when creating a new thread. This way we don't need to acquire any lock
when we're creating a new thread. Readded a semaphore for faster
response times (instead of that Sleep i added).
svn path=/trunk/mono/; revision=18789
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 03:31:08 +0000 (03:31 -0000)]
2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Net/ServicePoint.cs: preparing for recycling. Not yet finished.
* System.Net/ServicePointManager.cs: this is the one that reads config.
* System.Net/WebConnectionGroup.cs: don't read config here.
* System.Net/WebConnection.cs: added the queue again. Launch queued
requests on error.
* System.Net.Configuration/ConnectionManagementHandler.cs: the hashtable
is case insensitive now.
svn path=/trunk/mcs/; revision=18788
Miguel de Icaza [Thu, 9 Oct 2003 02:51:41 +0000 (02:51 -0000)]
FlushetyFlushage
svn path=/trunk/mono/; revision=18787
Gonzalo Paniagua Javier [Thu, 9 Oct 2003 02:35:08 +0000 (02:35 -0000)]
2003-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
the state before throwing the exception if depth > 0.
svn path=/trunk/mcs/; revision=18786
Lluis Sanchez [Thu, 9 Oct 2003 00:51:16 +0000 (00:51 -0000)]
* SoapReflectionImporter.cs, XmlReflectionImporter.cs,
SoapReflectionImporter.cs: Fixed bug #94694. Check for public constructor
is not needed for value types.
svn path=/trunk/mcs/; revision=18784
Bernie Solomon [Thu, 9 Oct 2003 00:44:55 +0000 (00:44 -0000)]
2003-10-08 Bernie Solomon <bernard@ugsolutions.com>
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData):
get daylight change dates better on Windows, fix handling
of platforms without tm_gmtoff.
svn path=/trunk/mono/; revision=18783
Gonzalo Paniagua Javier [Wed, 8 Oct 2003 23:41:01 +0000 (23:41 -0000)]
Mono.Data.Tds/Mono.Data.Tds.Protocol/ChangeLog
2003-10-03 Diego Caravana <diego@toth.it>
* Tds70.cs: Now handles parameters of type ReturnValue and
InputOutput.
(BuildParameters): skips the ReturnValue params and builds the
set string considering the assigned value for InputOutput ones.
(BuildProcedureCall): like the preceding one plus adds the return
value to the final select.
-----
System.Data/System.Data.SqlClient/ChangeLog
2003-10-03 Diego Caravana <diego@toth.it>
* SqlCommand.cs: no change.
* SqlConnection.cs (Close): Added checks for null instance
variables.
* SqlParameter.cs (Direction): Now handles parameters of type
ReturnValue and InputOutput.
* SqlParameterCollection.cs (IndexOf(string)): Search for
SqlParameter object in list is done by obtaining ParameterName
attribute, not directly through list.IndexOf().
svn path=/trunk/mcs/; revision=18782
Jackson Harper [Wed, 8 Oct 2003 23:22:11 +0000 (23:22 -0000)]
* main.c (dis_genericparam): renamed to
dis_generic_param_and_constraints, allow a table type to be passed
to the method so this could be used with generic methods (It is
not though).
* get.c/get.h (get_generic_param): method to stringify generic
type and method parameters.
* get.c (dis_stringify_method_signature): Add generic
parameters.
svn path=/trunk/mono/; revision=18781
Todd Berman [Wed, 8 Oct 2003 22:25:25 +0000 (22:25 -0000)]
2003-10-08 Todd Berman <tberman@gentoo.org>
* Microsoft.Web.Services.dll.2.sources: Added FaultTo.cs
* Microsoft.Web.Services.dll.2.sources: Added From.cs
* Microsoft.Web.Services.dll.2.sources: Added MessageID.cs
* Microsoft.Web.Services.dll.2.sources: Added Recipient.cs
svn path=/trunk/mcs/; revision=18780
Todd Berman [Wed, 8 Oct 2003 22:24:11 +0000 (22:24 -0000)]
2003-10-08 Todd Berman <tberman@gentoo.org>
* FaultTo.cs: Implemented
* From.cs: Implemented
* MessageID.cs: Implemented
* Recipient.cs: Implemented
svn path=/trunk/mcs/; revision=18779
Pedro Martínez Juliá [Wed, 8 Oct 2003 21:27:21 +0000 (21:27 -0000)]
2003-10-08 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* System.Web.UI/PageParser.cs: drop some useless code.
svn path=/trunk/mcs/; revision=18777
Martin Baulig [Wed, 8 Oct 2003 21:26:27 +0000 (21:26 -0000)]
Added a FIXME.
svn path=/trunk/mcs/; revision=18776
Jackson Harper [Wed, 8 Oct 2003 20:59:59 +0000 (20:59 -0000)]
Test defining a generic method
svn path=/trunk/mcs/; revision=18775
Jackson Harper [Wed, 8 Oct 2003 20:56:48 +0000 (20:56 -0000)]
* ILParser.jay: Attach generic type parameters to methods.
svn path=/trunk/mcs/; revision=18774
Jackson Harper [Wed, 8 Oct 2003 20:54:44 +0000 (20:54 -0000)]
* InstrTable.cs: Add unbox.any instruction.
* MethodDef.cs: Allow generic parameters to be added to methods.
svn path=/trunk/mcs/; revision=18773
Jackson Harper [Wed, 8 Oct 2003 20:47:53 +0000 (20:47 -0000)]
* PEAPI.cs: Remove methods for creating generic parameters without
a name, names are mandatory. Add method to add type parameters to
methods. Allow GenericParameters to have either a type or a
method as its owner. Also fix visibility of GenericParameters, a
GenericParameter should not be created outside of PEAPI.
svn path=/trunk/mcs/; revision=18772
Martin Baulig [Wed, 8 Oct 2003 20:15:21 +0000 (20:15 -0000)]
gen-14.cs is now working :-)
svn path=/trunk/mcs/; revision=18771
Martin Baulig [Wed, 8 Oct 2003 20:11:16 +0000 (20:11 -0000)]
Simplify this a bit.
svn path=/trunk/mcs/; revision=18770
Ben Maurer [Wed, 8 Oct 2003 20:05:37 +0000 (20:05 -0000)]
2003-10-08 Ben Maurer <bmaurer@users.sourceforge.net>
* DateTime.cs (ToString): Total rewrite, fixes #49358.
svn path=/trunk/mcs/; revision=18769
Martin Baulig [Wed, 8 Oct 2003 20:04:01 +0000 (20:04 -0000)]
2003-10-06 Martin Baulig <martin@ximian.com>
* class.c (inflate_generic_method): Renamed to
mono_class_inflate_generic_method() and made public.
(mono_class_init): Don't inflate the generic methods here.
(mono_class_from_generic): Added `gboolean inflate_methods'
argument. Inflate the methods here.
* loader.c (mono_method_get_param_names): Ignore instances of
generic types for the moment.
* reflection.c (fixup_method): Added support for inflated methods.
(mono_image_create_token): Use mono_image_get_methodref_token()
for inflated methods.
(mono_custom_attrs_from_param): Ignore instances of generic types
for the moment.
(mono_reflection_bind_generic_parameters): New public function.
Moved all the functionality from
ves_icall_Type_BindGenericParameters() here and added support for
dynamic types.
(mono_reflection_define_generic_parameter): Initialize
`klass->methods' here.
* icall.c (ves_icall_Type_BindGenericParameters): Moved all the
functionality into mono_reflection_define_generic_parameter().
(ves_icall_Type_GetGenericTypeDefinition): If we're coming from a
TypeBuilder, return that TypeBuilder.
svn path=/trunk/mono/; revision=18768