Ankit Jain [Tue, 8 Nov 2005 11:15:51 +0000 (11:15 -0000)]
* gen-dump-table.cs: New test case (for r52695).
svn path=/trunk/mono/; revision=52696
Ankit Jain [Tue, 8 Nov 2005 11:12:21 +0000 (11:12 -0000)]
* dump.c (dump_table_method): Get the type/method context required for parsing
method signature and dis_stringify'ing it.
svn path=/trunk/mono/; revision=52695
Paolo Molaro [Tue, 8 Nov 2005 10:42:57 +0000 (10:42 -0000)]
Tue Nov 8 11:28:20 GMT 2005 Paolo Molaro <lupus@ximian.com>
* mini-arm.c: fixed alignment of doubles/longs to match
the C ABI (bug #76635).
svn path=/trunk/mono/; revision=52694
Marek Safar [Tue, 8 Nov 2005 10:39:32 +0000 (10:39 -0000)]
New test.
svn path=/trunk/mcs/; revision=52693
Marek Safar [Tue, 8 Nov 2005 10:29:06 +0000 (10:29 -0000)]
2005-11-08 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (Attribute.GetCoClassAttributeValue): New method.
(AttributeTester.GetCoClassAttribute): Get CoClassAttribute.
* class.cs (TypeContainer.IsComImport): New property.
(Constructor.Define): Create proper ctor for ComImport types.
* expression.cs (New.CheckComImport): Fixed.
svn path=/trunk/mcs/; revision=52692
Raja R Harinath [Tue, 8 Nov 2005 10:08:14 +0000 (10:08 -0000)]
*** merged revisions from mcs: 52375-52682
svn path=/trunk/mcs/; revision=52691
Ankit Jain [Tue, 8 Nov 2005 10:00:08 +0000 (10:00 -0000)]
* get.c (init_key_table): Add keywords - callconv and flags.
svn path=/trunk/mono/; revision=52690
Marek Safar [Tue, 8 Nov 2005 09:57:51 +0000 (09:57 -0000)]
update
svn path=/trunk/mcs/; revision=52689
Atsushi Eno [Tue, 8 Nov 2005 09:47:51 +0000 (09:47 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* mono-api.xsl : Use indent; it is practically impossible to improve
generated HTML w/o indentation.
svn path=/trunk/mcs/; revision=52688
Atsushi Eno [Tue, 8 Nov 2005 09:46:04 +0000 (09:46 -0000)]
2005-11-08 Atsushi Enomoto <atsushi@ximian.com>
* cormissing.js : make it work w/ indented HTML sources.
svn path=/trunk/mono/; revision=52687
Alexandre Rocha Lima e Marcondes [Tue, 8 Nov 2005 05:08:19 +0000 (05:08 -0000)]
2005-11-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* LateBinding.cs: Revised patch from Tobias Käs <tobias.kaes@gmx.de>
for fixes data types conversions in LateSet.
* Added TypeMemberY.vb testing bug #76453
svn path=/trunk/mcs/; revision=52685
Miguel de Icaza [Tue, 8 Nov 2005 03:54:56 +0000 (03:54 -0000)]
Attempt to make the helper assembly only bulit on the 2.0 framework, as otherwise its empty
svn path=/trunk/mcs/; revision=52684
Miguel de Icaza [Tue, 8 Nov 2005 03:46:05 +0000 (03:46 -0000)]
Isolate error
svn path=/trunk/mcs/; revision=52683
Miguel de Icaza [Tue, 8 Nov 2005 03:39:01 +0000 (03:39 -0000)]
2005-11-07 Miguel de Icaza <miguel@novell.com>
* anonymous.cs (CaptureContext.AddParameterToContext): The fact
that a parameter has been captured does not mean that we do not
have to do the rest of the processing. This fixes the second part
of #76592. If there was another anonymous method capturing
values in the past, the Scope would never be set for the second
method that captured the same parameter.
(CaptureContext.EmitAssignParameter): When `leave_copy' is passed,
properly manipulate the stack. Second part of fix for #76592.
svn path=/trunk/mcs/; revision=52682
Miguel de Icaza [Tue, 8 Nov 2005 03:38:47 +0000 (03:38 -0000)]
Add
svn path=/trunk/mcs/; revision=52681
Alexandre Rocha Lima e Marcondes [Tue, 8 Nov 2005 02:42:01 +0000 (02:42 -0000)]
2005-11-06 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* LateBinding.cs : Calling 'LateIndexSet' if the member resolves
to a field, but arguments length are greater than one.
svn path=/trunk/mcs/; revision=52680
Sebastien Pouliot [Tue, 8 Nov 2005 02:35:30 +0000 (02:35 -0000)]
2005-11-07 Sebastien Pouliot <sebastien@ximian.com>
* CodeMethodInvokeExpressionTest.cs: Fixed some failures on 2.0
tests.
svn path=/trunk/mcs/; revision=52679
Miguel de Icaza [Tue, 8 Nov 2005 02:16:14 +0000 (02:16 -0000)]
This is a compile-only test as we dont support it
svn path=/trunk/mcs/; revision=52678
Gonzalo Paniagua Javier [Tue, 8 Nov 2005 02:00:34 +0000 (02:00 -0000)]
2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Page.cs: call LoadViewStateRecursive when the Form collection has
not been used by a different page (GetTypeHashCode). This fixes problems
when calling Server.Transfer while preserving Form and QueryString,
as the page we transfer to used the view state stored in the Form, which
contained the serialized data for the page calling Server.Transfer
instead.
svn path=/trunk/mcs/; revision=52677
Gonzalo Paniagua Javier [Tue, 8 Nov 2005 01:56:08 +0000 (01:56 -0000)]
2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebROCollection.cs: add an ID for the collection. Page needs it.
svn path=/trunk/mcs/; revision=52676
Lluis Sanchez [Tue, 8 Nov 2005 01:30:42 +0000 (01:30 -0000)]
2005-11-08 Lluis Sanchez Gual <lluis@novell.com>
* TcpServerChannel.cs: Fix null ref exception.
* TcpServerChannel.cs, TcpConnectionPool.cs: only TARGET_JVM changes
svn path=/trunk/mcs/; revision=52675
Miguel de Icaza [Tue, 8 Nov 2005 00:57:36 +0000 (00:57 -0000)]
2005-11-07 Miguel de Icaza <miguel@novell.com>
* expression.cs (New): Add support for invoking "new" on
interfaces that have been flagged with the ComImport attribute and
the CoClass. Fixes #76637
svn path=/trunk/mcs/; revision=52674
Miguel de Icaza [Tue, 8 Nov 2005 00:57:01 +0000 (00:57 -0000)]
Up
svn path=/trunk/mcs/; revision=52673
Miguel de Icaza [Tue, 8 Nov 2005 00:56:44 +0000 (00:56 -0000)]
Add tests
svn path=/trunk/mcs/; revision=52672
Miguel de Icaza [Mon, 7 Nov 2005 23:09:17 +0000 (23:09 -0000)]
2005-11-07 Miguel de Icaza <miguel@novell.com>
* statement.cs (Try.DoEmit): When a variable is captured, do not
try to emit the vi.LocalBuilder variable as it has been captured.
Create a temporary variable and store the results on the
FieldBuilder. Fixes #76642
svn path=/trunk/mcs/; revision=52670
Jordi Mas i Hernandez [Mon, 7 Nov 2005 22:53:17 +0000 (22:53 -0000)]
2005-11-07 Pedro Martinez Julia <pedromj@gmail.com>
* IBindingListView.cs Initial implementation
* HandledEventArgs.cs Initial implementation
* HandledEventHandler.cs Initial implementation
* ListSortDescription.cs: Initial implementation
* ListSortDescriptionCollection.cs: Initial implementation
svn path=/trunk/mcs/; revision=52669
Miguel de Icaza [Mon, 7 Nov 2005 22:33:35 +0000 (22:33 -0000)]
Fix
svn path=/trunk/mcs/; revision=52667
Jackson Harper [Mon, 7 Nov 2005 21:57:10 +0000 (21:57 -0000)]
* X11Dnd.cs: Set the X/Y positions on the DragEventArgs
correctly.
svn path=/trunk/mcs/; revision=52666
Atsushi Eno [Mon, 7 Nov 2005 20:03:39 +0000 (20:03 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XsltException.cs : under 2.0, some properties are virtual.
svn path=/trunk/mcs/; revision=52665
Jackson Harper [Mon, 7 Nov 2005 19:42:42 +0000 (19:42 -0000)]
* ScrollableControl.cs: Calculate the maximum and change vars
(more) correctly so that scrollbars appear as a sensible size.
svn path=/trunk/mcs/; revision=52663
Sebastien Pouliot [Mon, 7 Nov 2005 19:08:52 +0000 (19:08 -0000)]
2005-11-07 Sebastien Pouliot <sebastien@ximian.com>
* security-manager.h: Added definitions to deal with strongname key
pairs bigger (and smaller) than 1024 bits.
* reflection.c: Remove hardcoded strongname size (128 bytes) and
adjust wrt the public key length being used.
svn path=/trunk/mono/; revision=52662
Atsushi Eno [Mon, 7 Nov 2005 18:18:49 +0000 (18:18 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs, XPathNodeIterator.cs : DebuggerDisplayAttribute
values are fixed. However, they totally do not make sense since
there is no DebuggerDisplayProxy type in our impl.
svn path=/trunk/mcs/; revision=52661
Atsushi Eno [Mon, 7 Nov 2005 18:17:27 +0000 (18:17 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidator.cs : added missing ValidateWhitespace and
ValidateText, though the latter I think is LAMESPEC.
svn path=/trunk/mcs/; revision=52660
Atsushi Eno [Mon, 7 Nov 2005 17:22:05 +0000 (17:22 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlReader.cs : dependent XmlSchemaValidationFlags fix.
Added ReadElementContentAsObject() and ReadContentAsObject().
* XmlReader.cs, XmlTextReader.cs :
LookupNamespace(string,bool) is now private.
* XmlReader.cs, XmlNode,cs :
[DebuggerDisplay].
* XmlSchemaValidationFlags.cs : updated to match 2.0 RTM.
* XmlSchemaValidator.cs : related fix.
* XmlSchemaValidatingReader.cs : XmlSchemaValidationFlags is updated.
* XmlReaderSettingsTests.cs : XmlSchemaValidationFlags is updated.
svn path=/trunk/mcs/; revision=52659
Zoltan Varga [Mon, 7 Nov 2005 16:57:41 +0000 (16:57 -0000)]
2005-11-07 Zoltan Varga <vargaz@gmail.com>
* docs/jit-regalloc: Merge forgotten documentation updates from
the mini-xp-local-regalloc branch.
svn path=/trunk/mono/; revision=52658
Paolo Molaro [Mon, 7 Nov 2005 15:13:58 +0000 (15:13 -0000)]
Mon Nov 7 16:13:21 CET 2005 Paolo Molaro <lupus@ximian.com>
* aot.c: fix compilation with --enable-minimal=aot.
svn path=/trunk/mono/; revision=52657
Jonathan Pryor [Mon, 7 Nov 2005 15:07:13 +0000 (15:07 -0000)]
* map-icalls.h: Oddly, this file didn't get the new functions added in
2005-10-14 -- ToConfstrName, FromConfstrName, etc. Add them.
* map.c, map.h: Remove invalid enumeration value SyslogFacility.LOG_USRE.
svn path=/trunk/mono/; revision=52656
Jonathan Pryor [Mon, 7 Nov 2005 15:04:34 +0000 (15:04 -0000)]
* Syscall.cs: *xattr functions should use the FileNameMarshaler for filenames.
svn path=/trunk/mcs/; revision=52655
Jonathan Pryor [Mon, 7 Nov 2005 14:50:54 +0000 (14:50 -0000)]
* make-map.cs: Always use ordinal string sorting behavior. The string
collation sorting has changed, so to keep the mono/support diff sizes down
we have to explicitly specify the previous implicit ordering.
svn path=/trunk/mcs/; revision=52654
Konstantin Triger [Mon, 7 Nov 2005 14:09:38 +0000 (14:09 -0000)]
retrieve the StringManager from AppDomain
svn path=/trunk/mcs/; revision=52653
Marek Safar [Mon, 7 Nov 2005 13:56:35 +0000 (13:56 -0000)]
2005-11-07 Marek Safar <marek.safar@seznam.cz>
decl.cs (CurrentTypeParameters): Fixed to be public.
svn path=/trunk/mcs/; revision=52652
Sebastien Pouliot [Mon, 7 Nov 2005 13:18:28 +0000 (13:18 -0000)]
2005-11-07 Sebastien Pouliot <sebastien@ximian.com>
* StrongName.cs: Synch with Mono.Security.dll to get support for
strongname keypairs different from 1024 bits.
svn path=/trunk/mcs/; revision=52651
Atsushi Eno [Mon, 7 Nov 2005 12:56:29 +0000 (12:56 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlValueGetter.cs, XmlSchemaValidator.cs, XmlSchemaException.cs,
XmlSchemaAttribute.cs : Updated API to match 2.0 RTM. Most of the
changes are related to XmlValueGetter change.
* XsdValidatingReader.cs, XmlSchemaValidatingReader.cs,
XsdIdentityState.cs :
Dependent changes caused by XmlValueGetter changes.
* xsdtest.cs : updated to match 2.0 RTM API.
svn path=/trunk/mcs/; revision=52650
Lluis Sanchez [Mon, 7 Nov 2005 12:30:02 +0000 (12:30 -0000)]
2005-11-07 Lluis Sanchez Gual <lluis@novell.com>
* XmlSchemaImporter.cs: Added support for restrictions with
embedded simple type definitions.
svn path=/trunk/mcs/; revision=52648
Atsushi Eno [Mon, 7 Nov 2005 11:42:17 +0000 (11:42 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlElement.cs, XmlCDataSection.cs, XmlText.cs, XmlWhitespace.cs,
XmlSignificantWhitespace.cs : added ParentNode overrides (actually
they don't make sense since it just calls base.)
* XmlNode.cs, XmlDocument.cs : changed .NET 2.0 CreateNavigator() impl
to match signature and skip OwnerDocument check in XmlNode (since
it is overriden). Maybe MS does not have ownerDocument as a field and
costs too much on OwnerDocument property.
Added missing bits in XmlDocument.
svn path=/trunk/mcs/; revision=52647
Atsushi Eno [Mon, 7 Nov 2005 10:37:57 +0000 (10:37 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttribute.cs : added new overrides in 2.0 RTM (this scarcely
makes sense without real optimization though).
* XmlDocument.cs, XmlElement.cs, XmlNode.cs : avoid ChildNodes and
save extra XmlNodeList creation cost.
svn path=/trunk/mcs/; revision=52646
Marek Safar [Mon, 7 Nov 2005 10:05:40 +0000 (10:05 -0000)]
2005-11-07 Marek Safar <marek.safar@seznam.cz>
generic.cs, rootcontext.cs: Removed NewConstraintAttribute.
svn path=/trunk/mcs/; revision=52645
Andrew Skiba [Mon, 7 Nov 2005 09:59:42 +0000 (09:59 -0000)]
* XslTransform.cs: throw meaningful exception when Transform is
called before Load
svn path=/trunk/mcs/; revision=52644
Marek Safar [Mon, 7 Nov 2005 09:28:43 +0000 (09:28 -0000)]
2005-11-07 Marek Safar <marek.safar@seznam.cz>
gmcs.exe.sources: Use CryptoConvert.cs from corlib.
svn path=/trunk/mcs/; revision=52643
Marek Safar [Mon, 7 Nov 2005 09:18:19 +0000 (09:18 -0000)]
new tests
svn path=/trunk/mcs/; revision=52642
Marek Safar [Mon, 7 Nov 2005 09:04:45 +0000 (09:04 -0000)]
2005-11-07 Marek Safar <marek.safar@seznam.cz>
* class.cs (CheckPairedOperators): Made compilable with csc 2.0.
* ecore.cs (InstanceResolve): Fixed CS1540 detection.
* expression.cs (Binary.DoResolve): Added && optimalization.
* typemanager.cs (AddUserType): Removed useless argument.
svn path=/trunk/mcs/; revision=52640
Atsushi Eno [Mon, 7 Nov 2005 08:57:59 +0000 (08:57 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XPathException.cs : Message property is back in 2.0 RTM.
svn path=/trunk/mcs/; revision=52639
Atsushi Eno [Mon, 7 Nov 2005 08:57:45 +0000 (08:57 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaValidator.cs : sealed.
* ValidationEventArgs.cs : not sealed in 2.0.
* XmlSchemaCollection.cs : added private ICollection.Count (to erase
IsVirtual difference).
svn path=/trunk/mcs/; revision=52638
Atsushi Eno [Mon, 7 Nov 2005 08:48:22 +0000 (08:48 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : XmlReader.ReadTypedValue() does not exist
anymore, so it is not override.
* XmlNamespaceManager.cs : NameTable is virtual in 2.0 RTM.
* XmlReader.cs : IsEmptyElement is reverted to be abstract in 2.0 RTM.
ReadTypedValue() is removed.
* XmlValidatingReader.cs : ReadTypedValue() is not virtual now.
* XmlWriter.cs : Settings is virtual.
* XPathNodeIterator.cs : added [DebuggerDisplay]. pretty useless tho.
* XPathNavigator.cs : [DebuggerDisplay] as well.
SelectSingleNode() and AppendChildElement() are now virtual.
svn path=/trunk/mcs/; revision=52637
Atsushi Eno [Mon, 7 Nov 2005 08:43:14 +0000 (08:43 -0000)]
2005-11-07 Atsushi Enomoto <atsushi@ximian.com>
* SubtreeXmlReader.cs : XmlReader.IsEmptyElement is not virtual
anymore, so added it.
svn path=/trunk/mcs/; revision=52636
Zoltan Varga [Sun, 6 Nov 2005 21:30:57 +0000 (21:30 -0000)]
2005-11-06 Zoltan Varga <vargaz@freemail.hu>
* Directory.cs: Add stub for net 2.0 GetFiles method.
svn path=/trunk/mcs/; revision=52635
Zoltan Varga [Sun, 6 Nov 2005 21:24:04 +0000 (21:24 -0000)]
2005-11-06 Zoltan Varga <vargaz@freemail.hu>
* corlib.dll.sources: Add System.IO/SearchOption.cs.
svn path=/trunk/mcs/; revision=52634
Zoltan Varga [Sun, 6 Nov 2005 21:23:30 +0000 (21:23 -0000)]
2005-11-06 Zoltan Varga <vargaz@freemail.hu>
* SearchOption.cs: New file.
svn path=/trunk/mcs/; revision=52633
Zoltan Varga [Sun, 6 Nov 2005 20:44:52 +0000 (20:44 -0000)]
2005-11-06 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_ptr_to_struct): Do not treat the
explicit layout case the same as the blittable case. Fixes #76626.
svn path=/trunk/mono/; revision=52632
Zoltan Varga [Sun, 6 Nov 2005 20:43:28 +0000 (20:43 -0000)]
2005-11-06 Zoltan Varga <vargaz@freemail.hu>
* Label.cs: Add == and != operators.
svn path=/trunk/mcs/; revision=52631
Konstantin Triger [Sun, 6 Nov 2005 17:20:34 +0000 (17:20 -0000)]
create GSSCredential only once, cleanup
svn path=/trunk/mcs/; revision=52628
Robert Jordan [Sun, 6 Nov 2005 13:28:20 +0000 (13:28 -0000)]
2005-11-05 Robert Jordan <robertj@gmx.net>
* System.Runtime.Remoting.dll.sources: Added Channels/IAuthorizeRemotingConnection.cs
svn path=/trunk/mcs/; revision=52627
Robert Jordan [Sun, 6 Nov 2005 13:26:40 +0000 (13:26 -0000)]
2005-11-05 Robert Jordan <robertj@gmx.net>
* IAuthorizeRemotingConnection.cs: Added.
svn path=/trunk/mcs/; revision=52626
Robert Jordan [Sun, 6 Nov 2005 13:24:30 +0000 (13:24 -0000)]
2005-11-05 Robert Jordan <robertj@gmx.net>
* corlib.dll.sources: Added System.Runtime.Remoting.Channels/ISecurableChannel.cs
svn path=/trunk/mcs/; revision=52625
Robert Jordan [Sun, 6 Nov 2005 13:23:51 +0000 (13:23 -0000)]
2005-11-05 Robert Jordan <robertj@gmx.net>
* ISecurableChannel.cs: Added.
svn path=/trunk/mcs/; revision=52624
Svetlana Zholkovsky [Sun, 6 Nov 2005 11:48:12 +0000 (11:48 -0000)]
Fix RemotingConfiguration.cs (ConfigHandler.OnEndElement) and ServerIdentity.cs (DisposeServerObject)
svn path=/trunk/mcs/; revision=52623
Svetlana Zholkovsky [Sun, 6 Nov 2005 11:08:53 +0000 (11:08 -0000)]
Add System.Runtime.Remoting.vmwcsproj and System.Runtime.Remoting.sln; Some TARGET_JVM changes
svn path=/trunk/mcs/; revision=52622
Svetlana Zholkovsky [Sun, 6 Nov 2005 10:51:54 +0000 (10:51 -0000)]
Fix SoapCore.cs and BinaryCore.cs to create new dictionary object for Properties during initialization
svn path=/trunk/mcs/; revision=52621
Svetlana Zholkovsky [Sun, 6 Nov 2005 10:47:25 +0000 (10:47 -0000)]
Fix HttpHandler, HttpHandlerFactory and HttpServerChannel to work properly with a web server hosted applications; Add HttpHandlerFactory.jvm.cs
svn path=/trunk/mcs/; revision=52620
Boris Kirzner [Sun, 6 Nov 2005 09:39:13 +0000 (09:39 -0000)]
Use app.config with TestConfiguration class for tests settings.
svn path=/trunk/mcs/; revision=52619
Boris Kirzner [Sun, 6 Nov 2005 09:20:55 +0000 (09:20 -0000)]
Fixes for RefreshCache().
svn path=/trunk/mcs/; revision=52618
Atsushi Eno [Sat, 5 Nov 2005 20:22:01 +0000 (20:22 -0000)]
2005-11-05 Atsushi Enomoto <atsushi@ximian.com>
* WebClient: use POST for DownloadData(). Fixed bug #76631.
svn path=/trunk/mcs/; revision=52612
Miguel de Icaza [Sat, 5 Nov 2005 16:15:00 +0000 (16:15 -0000)]
Commit
svn path=/trunk/mcs/; revision=52609
Kornél Pál [Sat, 5 Nov 2005 14:34:04 +0000 (14:34 -0000)]
Consts.cs.in: Removed obsolete using System.Runtime.InteropServices.
svn path=/trunk/mcs/; revision=52608
Kornél Pál [Sat, 5 Nov 2005 10:50:01 +0000 (10:50 -0000)]
Updated runtime version to v2.0.50727 (2.0 RTM). Use Consts.MonoVersion, Consts.FxFileVersion and Consts.VsFileVersion in assembly attributes. Use Consts.RuntimeVersion as Environment.Version that makes maintenance easier.
svn path=/trunk/mcs/; revision=52607
Robert Jordan [Sat, 5 Nov 2005 02:02:37 +0000 (02:02 -0000)]
2005-11-05 Robert Jordan <robertj@gmx.net>
* System.Runtime.Remoting.dll.sources: Removed Ipc/IpcChannelFactory.cs
svn path=/trunk/mcs/; revision=52606
Robert Jordan [Sat, 5 Nov 2005 02:02:16 +0000 (02:02 -0000)]
2005-11-05 Robert Jordan <robertj@gmx.net>
* IpcServerChannel.cs: Implemented missing GetChannelUri ().
Ipc*.cs: Removed the reflective channel factory.
svn path=/trunk/mcs/; revision=52605
Robert Jordan [Sat, 5 Nov 2005 02:01:25 +0000 (02:01 -0000)]
2005-11-05 Robert Jordan <robertj@gmx.net>
* IpcClientChannel.cs, IpcServerChannel.cs: Added missing ctors.
svn path=/trunk/mcs/; revision=52604
Carlos Alberto Cortez [Sat, 5 Nov 2005 01:13:01 +0000 (01:13 -0000)]
2005-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* gcs0281.cs: New test.
* CSFriendAssembly-lib.cs: New helper file.
svn path=/trunk/mcs/; revision=52603
Carlos Alberto Cortez [Sat, 5 Nov 2005 01:02:38 +0000 (01:02 -0000)]
2005-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* gtest-friend-[01-12].cs, gtest-friend-00-lib.cs,
gtest-friend-01-lib.cs, gtest-friend-02-lib.cs:
New tests for friend assembly access.
* InternalsVisibleTest.snk, InternalsVisibleTest2.snk:
Helper keys for our new friend access tests.
svn path=/trunk/mcs/; revision=52602
Carlos Alberto Cortez [Fri, 4 Nov 2005 22:46:51 +0000 (22:46 -0000)]
2005-11-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Add friend assembly access support.
* typemanager.cs: assembly_internals_vis_attrs
cache for friend assembly access.
(TypeManager.IsFriendAssembly): New method for
checking friend assembly access.
(TypeManager.Error_FriendAccessNameNotMatching): New
helper method.
(TypeManager.CompareKeyTokens): Likewise.
(TypeManager.Filter): Handle friend accessible
members.
* namespace.cs (RootNamespace.GetTypeInAssembly): Return
friend accessible types.
* ecore.cs (Expression.IsAccessorAccessible): Handle
friend accessible properties.
* decl.cs (DeclSpace.CheckAccessLevel): Handle friend
accessible types.
svn path=/trunk/mcs/; revision=52601
Jackson Harper [Fri, 4 Nov 2005 22:34:21 +0000 (22:34 -0000)]
- Use dotted lines instead of dashed lines to match MS better.
svn path=/trunk/mcs/; revision=52600
Jackson Harper [Fri, 4 Nov 2005 22:22:07 +0000 (22:22 -0000)]
* TreeView.cs: When the tree is sorted null out the top_node so
that it is recalculated.
svn path=/trunk/mcs/; revision=52599
Jackson Harper [Fri, 4 Nov 2005 22:01:29 +0000 (22:01 -0000)]
* TreeNodeCollection.cs: Refresh when nodes are cleared from the
collection.
svn path=/trunk/mcs/; revision=52598
Robert Jordan [Fri, 4 Nov 2005 21:50:22 +0000 (21:50 -0000)]
2005-11-04 Robert Jordan <robertj@gmx.net>
* IpcChannelHelper.cs: Removed the colon from the invalid pipe name
chars, because it is a valid char on NT systems and some .NET IPC
channel samples contain a colon in their port names.
svn path=/trunk/mcs/; revision=52597
Sebastien Pouliot [Fri, 4 Nov 2005 21:31:13 +0000 (21:31 -0000)]
2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
* PKCS12.cs: It's now possible to add multiple keys of the same size
inside a pkcs12 file. Fix bug #76627.
svn path=/trunk/mcs/; revision=52595
Sebastien Pouliot [Fri, 4 Nov 2005 21:30:47 +0000 (21:30 -0000)]
2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
* PKCS12Test.cs: Added tests for adding multiple keys with the same
size inside a pkcs12 file. Fixed test when removing different keys
from the structure (removed only it the public key match).
svn path=/trunk/mcs/; revision=52594
Sebastien Pouliot [Fri, 4 Nov 2005 20:48:50 +0000 (20:48 -0000)]
2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
* PKCS12.cs: Added tests for MaximumPasswordLength property wrt to the
CryptoAPI limits on the password length (32 characters) when importing
and exporting PKCS #12 files.
svn path=/trunk/mcs/; revision=52593
Sebastien Pouliot [Fri, 4 Nov 2005 20:45:56 +0000 (20:45 -0000)]
2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
* PKCS12.cs: Added MaximumPasswordLength property to allow decoding
the password with a length limits like MS PFXImportCertStore does.
In this case you just have to assign the value CryptoApiPasswordLimit
to the new static property.
svn path=/trunk/mcs/; revision=52592
Sebastien Pouliot [Fri, 4 Nov 2005 18:46:14 +0000 (18:46 -0000)]
oops forgot to save the ChangeLog before committing...
svn path=/trunk/mcs/; revision=52590
Chris Toshok [Fri, 4 Nov 2005 18:17:13 +0000 (18:17 -0000)]
okay, add the System.Web.Profile stuff back to the build (hopefully it won't break it this time).
svn path=/trunk/mcs/; revision=52588
Chris Toshok [Fri, 4 Nov 2005 18:07:41 +0000 (18:07 -0000)]
2005-11-04 Chris Toshok <toshok@ximian.com>
* System.Web.dll.sources: add the S.W.C_2.0/HttpModule*.cs files,
and nuke S.W.C_2.0/InternalSection.cs.
* System.Web.Configuration_2.0/SystemWebSectionGroup.cs: enable
the HttpModules property.
* System.Web.Configuration_2.0/HttpHandlerActionCollection.cs:
reindent, and add MonoTODO's.
* System.Web.Configuration_2.0/HttpHandlerAction.cs: use
properties in the ctor, and remove the instance variables.
* System.Web.Configuration_2.0/InternalSection.cs: nuke.
* System.Web.Configuration_2.0/HttpModuleActionCollection.cs: new
stubs.
* System.Web.Configuration_2.0/HttpModuleAction.cs: new stubs.
* System.Web.Configuration_2.0/HttpModulesSection.cs: new stubs.
* System.Web.Configuration_2.0/CompilationSection.cs: inherit from
ConfigurationSection, not InternalSection.
* System.Web.Configuration_2.0/SiteMapSection.cs: same.
* System.Web.Configuration_2.0/PagesSection.cs: same.
* System.Web.Configuration_2.0/MembershipSection.cs: same.
* System.Web.Configuration_2.0/AnonymousIdentificationSection.cs:
same.
svn path=/trunk/mcs/; revision=52587
Chris Toshok [Fri, 4 Nov 2005 17:25:17 +0000 (17:25 -0000)]
2005-11-04 Chris Toshok <toshok@ximian.com>
* SettingsProvider.cs, SettingsPropertyValueCollection.cs,
SettingValueElement.cs, SettingElement.cs,
SettingsPropertyValue.cs, ApplicationSettingsBase.cs,
SettingsPropertyCollection.cs, SettingsProviderCollection.cs,
SettingElementCollection.cs: Add XML_DEPS and CONFIGURATION_DEPS
to get this to bootstrap compile. What a pain.
svn path=/trunk/mcs/; revision=52586
Chris Toshok [Fri, 4 Nov 2005 17:12:24 +0000 (17:12 -0000)]
2005-11-04 Chris Toshok <toshok@ximian.com>
* ApplicationSettingsBase.cs: remove unnecessary using.
* SettingValueElement.cs: add XML_DEP's.
svn path=/trunk/mcs/; revision=52585
Sebastien Pouliot [Fri, 4 Nov 2005 16:28:11 +0000 (16:28 -0000)]
Activate CAS unit tests for System.CodeDom.Compiler.CodeCompiler
svn path=/trunk/mcs/; revision=52584
Sebastien Pouliot [Fri, 4 Nov 2005 16:27:15 +0000 (16:27 -0000)]
svn path=/trunk/mcs/; revision=52583
Sebastien Pouliot [Fri, 4 Nov 2005 16:23:05 +0000 (16:23 -0000)]
Document the optional 'size' arguments for -k (generate keypair) that was introduced in 2.0
svn path=/trunk/mono/; revision=52582
Sebastien Pouliot [Fri, 4 Nov 2005 16:16:05 +0000 (16:16 -0000)]
2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
* sn.cs: Added optional keysize argument to -k (generate keypair).
This is required as 2.0 allows key length from 384 to 16384 bits (i.e.
which are the CryptoAPI limitations on RSA).
svn path=/trunk/mcs/; revision=52581
Sebastien Pouliot [Fri, 4 Nov 2005 16:15:43 +0000 (16:15 -0000)]
2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
* StrongName.cs: Added new constructor to specify the strongname key
size (which can vary from 384 bits to 16384 bits in 2.0). Fixed
PublicKey property not to assume a 1024 bits public key. Verification
was *already* working for any key length (so *much* older version of
Mono can verify new assemblies signatures without problem :-).
svn path=/trunk/mcs/; revision=52580
Gert Driesen [Fri, 4 Nov 2005 16:09:59 +0000 (16:09 -0000)]
* System_test.dll.sources: Added CodeCastExpressionTest.cs,
CodeCatchClauseTest.cs, CodeChecksumPragmaTest.cs,
CodeConstructorTest.cs, CodeDefaultValueExpressionTest.cs;
CodeDelegateCreateExpressionTest.cs, CodeEventReferenceExpressionTest.cs
CodeGotoStatementTest.cs, CodeLabeledStatementTest.cs,
CodeLinePragmaTest.cs, CodeMemberMethodTest.cs,
CodeMethodInvokeExpressionTest.cs, CodeMethodReferenceExpressionTest.cs,
CodeNamespaceImportTest.cs, CodeNamespaceTest.cs,
CodeObjectCreateExpressionTest.cs,
CodeParameterDeclarationExpressionTest.cs,
CodePropertyReferenceExpressionTest.cs, CodeRegionDirectiveTest.cs,
CodeSnippetCompileUnitTest.cs, CodeSnippetExpressionTest.cs,
CodeSnippetStatementTest.cs, CodeSnippetTypeMemberTest.cs,
CodeStatementCollectionTest.cs, CodeTypeConstructorTest.cs,
CodeTypeParameterTest.cs, CodeTypeOfExpressionTest.cs,
CodeTypeReferenceExpressionTest.cs,
CodeVariableDeclarationStatementTest.cs,
CodeVariableReferenceExpressionTest.cs
* CSharpCodeGenerator.cs: Ignore ChecksumData of CodeChecksumPragma
if null.
* CodeTypeReferenceExpressionTest.cs: Added tests.
* CodeVariableDeclarationStatementTest.cs: Added tests.
* CodePropertyReferenceExpressionTest.cs: Added tests.
* CodeNamespaceImportTest.cs: Added tests.
* CodeTypeConstructorTest.cs: Added tests.
* CodeSnippetExpressionTest.cs: Added tests.
* CodeParameterDeclarationExpressionTest.cs: Added tests.
* CodeObjectCreateExpressionTest.cs: Added tests.
* CodeTypeDelegateTest.cs: Set eol-style to native.
* CodeLabeledStatementTest.cs: Added tests.
* CodeConstructorTest.cs: Added tests.
* CodeTypeOfExpressionTest.cs: Added tests.
* CodeGotoStatementTest.cs: Added tests.
* CodeCastExpressionTest.cs: Added tests.
* CodeMemberFieldTest.cs: Set eol-style to native.
* CodeMethodInvokeExpressionTest.cs: Added tests.
* CodeEventReferenceExpressionTest.cs: Added tests.
* CodeChecksumPragmaTest.cs: Added tests.
* CodeSnippetCompileUnitTest.cs: Added tests.
* CodeNamespaceTest.cs: Added tests.
* CodeSnippetStatementTest.cs: Added tests.
* CodeMemberMethodTest.cs: Added tests.
* CodeMemberPropertyTest.cs: Set eol-style to native.
* CodeCatchClauseTest.cs: Added tests.
* CodeStatementCollectionTest.cs: Added tests.
* CodeRegionDirectiveTest.cs: Added tests.
* CodeTypeParameterTest.cs: Added tests.
* CodeVariableReferenceExpressionTest.cs: Added tests.
* CodeDefaultValueExpressionTest.cs: Added tests.
* CodeSnippetTypeMemberTest.cs: Added tests.
* CodeDelegateCreateExpressionTest.cs: Added tests.
* CodeLinePragmaTest.cs: Added tests.
* CodeMethodReferenceExpressionTest.cs: Added tests.
* CodeEventReferenceExpression.cs: EventName now returns zero-length
string if underlying value is null.
* CodeParameterDeclarationExpressionCollection.cs: Fixed AddRange to
add each item to collection using Add method to ensure validation
is performed.
* CodeChecksumPragma.cs: FileName now returns zero-length string
if underlying value is null.
* CodeSnippetCompileUnit.cs: Value now returns zero-length string if
underlying value is null.
* CodeNamespace.cs: Name now returns zero-length string if underlying
value is null.
* CodeSnippetStatement.cs: Value now returns zero-length string if
underlying value is null.
* CodeMemberMethod.cs: code formatting change.
* CodeCatchClause.cs: CatchExceptionType now returns CodeTypeReference
instance for System.Exception if underlying value is null. LocalName
now returns zero-length string if underlying value is null.
* CodeStatementCollection.cs: Fixed AddRange to add each item to
collection using Add method to ensure validation is performed. Code
formatting changes.
* CodeRegionDirective.cs: RegionText now returns zero-length string
if underlying value is null.
* CodeTypeParameter.cs: Name now returns zero-length string if
underlying value is null.
* CodeVariableReferenceExpression.cs: VariableName now returns
zero-length string if underlying value is null.
* CodeDefaultValueExpression.cs: Type now returns CodeTypeReference
for void if underlying value is null.
* CodeExpressionCollection.cs: Fixed AddRange to add each item to
collection using Add method to ensure validation is performed.
* CodeSnippetTypeMember.cs: Text now returns zero-length string if
underlying value is null.
* CodeTypeReferenceCollection.cs: Fixed AddRange to add each item
to collection using Add method to ensure validation is performed.
* CodeDelegateCreateExpression.cs: DelegateType now returns
CodeTypeReference for void if underlying value is null. MethodName
now returns zero-length string if underlying value is null.
* CodeMethodReferenceExpression.cs: MethodName now returns
zero-length string if underlying value is null.
* CodeLinePragma.cs: FileName now returns zero-length string if
underlying value is null.
* CodeTypeReferenceExpression.cs: Type now return CodeTypeReference
for void if underlying value is null.
* CodeVariableDeclarationStatement.cs: Name now return zero-length
string if underlying value is null. Type returns CodeTypeReference
for void if underlying value is null.
* CodePropertyReferenceExpression.cs: PropertyName now returns
zero-length string if underlying value is null.
* CodeNamespaceImport.cs: Namespace now returns zero-length string
if underlying value is null.
* CodeTypeConstructor.cs: Name is fixed to ".cctor" to match MS.NET.
* CodeSnippetExpression.cs: Value now returns zero-length string if
underlying value is null.
* CodeParameterDeclarationExpression.cs: Name now returns zero-length
string if underlying value is null. Type now returns CodeTypeReference
for void if underlying value is null.
* CodeObjectCreateExpression.cs: CreateType now returns
CodeTypeReference for void if underlying value is null.
* CodeLabeledStatement.cs: Label returns zero-length string if
underlying value is null.
* CodeConstructor.cs: Name is fixed to ".ctor" to match MS.NET.
* CodeTypeOfExpression.cs: Type returns CodeTypeReference for void
if underlying value is null.
* CodeGotoStatement.cs: Only throw ArgumentNullException for null or
zero-length label on 2.0 profile.
* CodeCastExpression.cs: TargetType returns CodeTypeReference for void
if underlying value is null.
* CodeMethodInvokeExpression.cs: Method returns a default
CodeMethodReferenceExpression instance if the underlying value is
null.
svn path=/trunk/mcs/; revision=52579