Atsushi Eno [Thu, 15 Nov 2007 20:13:44 +0000 (20:13 -0000)]
2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
* DbProviderFactoriesConfigurationHandler.cs : Create() now takes
parent DataSet into consideration i.e. it now merges items in
different configurations. Fixed bug #323708.
svn path=/trunk/mcs/; revision=89701
Atsushi Eno [Thu, 15 Nov 2007 20:11:52 +0000 (20:11 -0000)]
2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
Part of fix for bug #323708.
* ConfigurationSection.cs : in GetRuntimeObject(), take parent
section instance into consideration.
* SectionInformation.cs : to make it possible, GetParentSection()
should be implemented.
* Configuration.cs : to make it possible, GetSectionInstance()
should set parent section on its SectionInformation. It used to
just steal parent's xml when its own xml does not exist, but
it now blocks correct configuration retrieval.
svn path=/trunk/mcs/; revision=89700
Dick Porter [Thu, 15 Nov 2007 20:03:27 +0000 (20:03 -0000)]
2007-11-15 Dick Porter <dick@ximian.com>
* threads.c (ves_icall_System_Threading_Thread_Join_internal):
When joining a thread, it's the thread that's calling Join that
gets WaitSleepJoin state not the target. Fixes the standalone
test case in bug 334740, and hopefully the whole bug too.
svn path=/trunk/mono/; revision=89699
Atsushi Eno [Thu, 15 Nov 2007 19:56:28 +0000 (19:56 -0000)]
2007-11-15 Atsushi Enomoto <atsushi@ximian.com>
* SectionGroupInfo.cs : remove extra StringBuilder creation.
svn path=/trunk/mcs/; revision=89698
Rodrigo B. de Oliveira [Thu, 15 Nov 2007 19:41:53 +0000 (19:41 -0000)]
Fixed Optimize for ldc_i4
svn path=/trunk/mcs/; revision=89697
Dick Porter [Thu, 15 Nov 2007 17:13:51 +0000 (17:13 -0000)]
2007-11-15 Dick Porter <dick@ximian.com>
* process.c: Read file version info from the files pointed at by
process modules, not the current process. Fixes bug 315969.
Use windows typedef names in some places to fix warnings on the
windows build.
2007-11-15 Dick Porter <dick@ximian.com>
* processes.c: Implement process module support by reading from
/proc if it's available.
* versioninfo.h:
* versioninfo.c: New functions to implement PE file version info
support.
svn path=/trunk/mono/; revision=89688
Dick Porter [Thu, 15 Nov 2007 17:13:46 +0000 (17:13 -0000)]
2007-11-15 Dick Porter <dick@ximian.com>
* Process.cs: Pass the process handle to GetModules_internal();
svn path=/trunk/mcs/; revision=89687
Miguel de Icaza [Thu, 15 Nov 2007 16:50:05 +0000 (16:50 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources : added S.R.InteropSvcs.ComTypes types.
svn path=/trunk/mcs/; revision=89684
Jonathan Pobst [Thu, 15 Nov 2007 16:38:57 +0000 (16:38 -0000)]
2007-11-15 Jonathan Pobst <monkey@jpobst.com>
* KeysConverter.cs: The default values should be an array of Keys, not
strings. Also, the array has more values for 2.0.
[Fixes bug #341851]
svn path=/trunk/mcs/; revision=89682
Mark Probst [Thu, 15 Nov 2007 15:05:34 +0000 (15:05 -0000)]
2007-11-15 Mark Probst <mark.probst@gmail.com>
* mini.c, mini.h, generic-sharing.c: Functions for producing code
which extract fields out of the runtime generic context. Full
sharing of the NEWARR opcode.
2007-11-15 Mark Probst <mark.probst@gmail.com>
* image.c, metadata-internals.h: Added a generic_class_cache hash
to MonoImage for looking up generic classes when sharing generics.
svn path=/trunk/mono/; revision=89680
Paolo Molaro [Thu, 15 Nov 2007 14:48:14 +0000 (14:48 -0000)]
Thu Nov 15 16:11:30 CET 2007 Paolo Molaro <lupus@ximian.com>
* sgen-gc.c: warning cleanups.
svn path=/trunk/mono/; revision=89679
Marek Safar [Thu, 15 Nov 2007 14:14:49 +0000 (14:14 -0000)]
Warnings cleanup
svn path=/trunk/mcs/; revision=89678
Zoltan Varga [Thu, 15 Nov 2007 13:42:27 +0000 (13:42 -0000)]
2007-11-15 Zoltan Varga <vargaz@gmail.com>
* TypeTest.cs: Add new test for GetProperties () and virtual new properties.
svn path=/trunk/mcs/; revision=89676
Zoltan Varga [Thu, 15 Nov 2007 13:40:47 +0000 (13:40 -0000)]
2007-11-15 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_Type_GetPropertiesByName): Implement proper hiding of
inherited properties.
svn path=/trunk/mono/; revision=89675
Paolo Molaro [Thu, 15 Nov 2007 12:57:50 +0000 (12:57 -0000)]
Thu Nov 15 14:20:21 CET 2007 Paolo Molaro <lupus@ximian.com>
* abcremoval.c, mini.c, ssa.c, ssapre.c: updated to implement
--enable-minimal=ssa.
svn path=/trunk/mono/; revision=89674
Gert Driesen [Thu, 15 Nov 2007 12:11:41 +0000 (12:11 -0000)]
* Typetest.cs: Added and improve tests for InvokeMember. Enabled test
for bug #321735.
* MonoType.cs: Modified ParamName for ArgumentException to match
MS. Provide meaningful exception messages. On 2.0, throw ANE instead
of ArgumentException when args is null.
svn path=/trunk/mcs/; revision=89671
Marek Safar [Thu, 15 Nov 2007 11:51:57 +0000 (11:51 -0000)]
Warnings cleanup
svn path=/trunk/mcs/; revision=89670
Rodrigo B. de Oliveira [Thu, 15 Nov 2007 11:18:56 +0000 (11:18 -0000)]
Compact Framework support by using Guid(string) if CF_2_0 is defined
svn path=/trunk/mcs/; revision=89667
Marek Safar [Thu, 15 Nov 2007 11:15:20 +0000 (11:15 -0000)]
New test.
svn path=/trunk/mcs/; revision=89666
Marek Safar [Thu, 15 Nov 2007 11:14:50 +0000 (11:14 -0000)]
New tests.
svn path=/trunk/mcs/; revision=89665
Marek Safar [Thu, 15 Nov 2007 11:13:50 +0000 (11:13 -0000)]
2007-11-15 Marek Safar <marek.safar@gmail.com>
* gcs-parser.jay, statement.cs, decl.cs, ecore.cs: Try to resolve an
implicitly type local variable only when it is used in a declaration.
svn path=/trunk/mcs/; revision=89664
Marek Safar [Thu, 15 Nov 2007 10:30:24 +0000 (10:30 -0000)]
2007-11-15 Marek Safar <marek.safar@gmail.com>
* attribute.cs: Use CS0612 for empty strings.
svn path=/trunk/mcs/; revision=89662
Gert Driesen [Thu, 15 Nov 2007 09:25:50 +0000 (09:25 -0000)]
* MemberDescriptor.cs: Spaces to tabs, code formatting.
* PropertyDescriptor.cs: When adding or removing a new handler for an
existing component, update the hashtable. In GetValueChangedHandler,
return null if component is null.
* PropertyDescriptorTests.cs: Added tests for AddValueChanged,
GetInvocationTarget, GetValueChangedHandler and RemoveValueChanged.
svn path=/trunk/mcs/; revision=89659
Jonathan Pobst [Thu, 15 Nov 2007 01:46:53 +0000 (01:46 -0000)]
2007-11-14 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Change ExecutablePath to use
Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
[Fixes bug #323552]
svn path=/trunk/mcs/; revision=89650
Zoltan Varga [Thu, 15 Nov 2007 00:35:33 +0000 (00:35 -0000)]
2007-11-15 Zoltan Varga <vargaz@gmail.com>
* MonoType.cs (Invoke): Allow BindingFlags.SetField and BindingFlags.SetProperty to be specified together. Fixes #321735.
svn path=/trunk/mcs/; revision=89649
Jonathan Pobst [Wed, 14 Nov 2007 22:49:20 +0000 (22:49 -0000)]
2007-11-14 Jonathan Pobst <monkey@jpobst.com>
* LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
* TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
be ignored. Create a new GetLineEnding that can specify which types of
line endings to look for. On Insert, only create new lines for \n and \r\n.
[Fixes bug #324274]
svn path=/trunk/mcs/; revision=89642
Marek Habersack [Wed, 14 Nov 2007 20:29:41 +0000 (20:29 -0000)]
2007-11-14 Marek Habersack <mhabersack@novell.com>
* FileMatchingInfo.cs: if Request is present, construct MatchExact
using Request.BaseVirtualDir instead of
HttpRuntime.AppDomainAppVirtualPath, falling back to the latter if
the former is not available. Fixes bug #341703
svn path=/trunk/mcs/; revision=89631
Miguel de Icaza [Wed, 14 Nov 2007 16:21:55 +0000 (16:21 -0000)]
2007-11-14 Miguel de Icaza <miguel@novell.com>
* Console.cs, ConsoleDriver.cs, TermInfoDriver.cs,
TermInfoReader.cs, TermInfoNumber.cs, TermInfoStrings.cs,
CStreamReader.cs, CStreamWriter.cs, NullConsoleDriver.cs,
WindowsConsoleDriver.cs: In the 2.1 profile we do not need the
full-blown Console (the terminal-addressable console) so we shrink
it down to the basic 1.0 Console.
svn path=/trunk/mcs/; revision=89626
Jonathan Pobst [Wed, 14 Nov 2007 15:39:54 +0000 (15:39 -0000)]
2007-11-14 Jonathan Pobst <monkey@jpobst.com>
* TextBoxBase.cs: As we loop through each line changing the font, tell
the document that the line needs to be recalculated. Fixes bug #341534.
svn path=/trunk/mcs/; revision=89622
Marek Safar [Wed, 14 Nov 2007 15:28:40 +0000 (15:28 -0000)]
2007-11-14 Marek Safar <marek.safar@gmail.com>
* Nullable.cs: Optimized to use generic comparers.
svn path=/trunk/mcs/; revision=89619
Zoltan Varga [Wed, 14 Nov 2007 14:39:25 +0000 (14:39 -0000)]
2007-11-14 Zoltan Varga <vargaz@gmail.com>
* ArrayTest.cs: Add a test for Copy () and exceptions.
svn path=/trunk/mcs/; revision=89613
Zoltan Varga [Wed, 14 Nov 2007 14:38:47 +0000 (14:38 -0000)]
2007-11-14 Zoltan Varga <vargaz@gmail.com>
* Array.cs (Copy): Throw InvalidCastException in more cases.
svn path=/trunk/mcs/; revision=89612
Marek Safar [Wed, 14 Nov 2007 13:15:38 +0000 (13:15 -0000)]
New test.
svn path=/trunk/mcs/; revision=89608
Marek Safar [Wed, 14 Nov 2007 13:14:02 +0000 (13:14 -0000)]
2007-11-14 Marek Safar <marek.safar@gmail.com>
* lambda.cs, statement.cs: Contextual return may act as a statement.
svn path=/trunk/mcs/; revision=89607
Mark Probst [Wed, 14 Nov 2007 12:06:40 +0000 (12:06 -0000)]
2007-11-14 Mark Probst <mark.probst@gmail.com>
* object.c, class-internals.h: Added more information to the
runtime generic context.
svn path=/trunk/mono/; revision=89604
Marek Safar [Wed, 14 Nov 2007 10:10:22 +0000 (10:10 -0000)]
More test coverage.
svn path=/trunk/mcs/; revision=89603
Marek Safar [Wed, 14 Nov 2007 10:06:12 +0000 (10:06 -0000)]
2007-11-14 Marek Safar <marek.safar@gmail.com>
A fix for a regression cause by #324222
* class.cs: Don't report unused even when it implements an interface.
svn path=/trunk/mcs/; revision=89601
Marek Habersack [Wed, 14 Nov 2007 09:16:36 +0000 (09:16 -0000)]
2007-11-14 Marek Habersack <mhabersack@novell.com>
* SimpleWebHandlerParser.cs: expect GetTypeFromBin to be called
with a fully qualified type name and act accordingly. Fixes bug
#341456.
svn path=/trunk/mcs/; revision=89600
Atsushi Eno [Wed, 14 Nov 2007 08:44:22 +0000 (08:44 -0000)]
2007-11-14 Atsushi Enomoto <atsushi@ximian.com>
* Configuration.cs : (Save) when the given file path is relative
it failed to create directory. Fixed standalone test t25/t26.
* InternalConfigurationHost.cs : pass userLevel to create a host
instance.
svn path=/trunk/mcs/; revision=89597
Atsushi Eno [Wed, 14 Nov 2007 08:10:43 +0000 (08:10 -0000)]
2007-11-14 Atushi Enomoto <atsushi@ximian.com>
* DataSetTest.cs : added test for r89307 fix (it is for XmlSerializer
but needs to be in sys.data).
* MonkeyDataSet.cs : test support classes (generated by xsd).
* System.Data_test.dll.sources: added MonkeyDataSet.cs, test helper.
svn path=/trunk/mcs/; revision=89596
Zoltan Varga [Tue, 13 Nov 2007 19:39:16 +0000 (19:39 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* DelegateTest.cs: Add tests for virtual target methods.
svn path=/trunk/mcs/; revision=89576
Zoltan Varga [Tue, 13 Nov 2007 19:26:53 +0000 (19:26 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_delegate_trampoline): Update after
mono_marshal_get_delegate_invoke () signature change.
svn path=/trunk/mono/; revision=89574
Zoltan Varga [Tue, 13 Nov 2007 19:26:13 +0000 (19:26 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_delegate_invoke): Take a delegate as argument
instead of just the target method. Generalize the abstract method handling to
handle any non-static method.
* icall.c (ves_icall_System_Delegate_SetMulticastInvoke): Update after
mono_marshal_get_delegate_invoke () signature change.
svn path=/trunk/mono/; revision=89572
Jonathan Pobst [Tue, 13 Nov 2007 17:43:21 +0000 (17:43 -0000)]
2007-11-13 Jonathan Pobst <monkey@jpobst.com>
* DateTimePickerTest.cs: Remove a compare on seconds in a format
string so that we get a Assert.AreEqual (DateTime.Now, DateTime.Now)
failure 60x less often on the buildbots. (I've never actually seen
the minutes be different, but the possibility is still there.)
svn path=/trunk/mcs/; revision=89567
Jonathan Pobst [Tue, 13 Nov 2007 16:29:21 +0000 (16:29 -0000)]
2007-11-13 Jonathan Pobst <monkey@jpobst.com>
[Another round of refactoring]
* Line.cs: Add DeleteCharacters.
* LineTag.cs: Add Delete.
* TextBoxBase.cs: Update to use new methods.
* TextControl.cs: Refactor the Delete* methods.
svn path=/trunk/mcs/; revision=89563
Mark Probst [Tue, 13 Nov 2007 16:16:00 +0000 (16:16 -0000)]
2007-11-13 Mark Probst <mark.probst@gmail.com>
* mini.c: Removed the shared context in favor of the generic
sharing context. Allocate the MonoJitInfo structure with room for
the generic sharing context if it's needed.
* mini.h: Remove MonoGenericSharingContext declaration. It's in
domain-internals.h now.
* mini-x86.c: Pass the generic sharing context to get_call_info ().
* generic-sharing.c: Several changes for working without a shared
context and instead operating on open types instead.
2007-11-13 Mark Probst <mark.probst@gmail.com>
* class.c, class-internals.h: Made
mono_type_get_basic_type_from_generic () public. Fixed member
access check for shared generics.
* loader.c: Don't insert field into field cache if it's part of a
non-inflated generic class.
* domain.c, domain-internals.h: The generic sharing context is now
part of the jit info data structure. Added two accessor
functions.
svn path=/trunk/mono/; revision=89562
Igor Zelmanovich [Tue, 13 Nov 2007 15:56:35 +0000 (15:56 -0000)]
2007-11-13 Igor Zelmanovich <igorz@mainsoft.com>
* ClientScriptManager.cs:
Ensure a script resource is included once in multi form environment.
svn path=/trunk/mcs/; revision=89561
Robert Jordan [Tue, 13 Nov 2007 15:05:33 +0000 (15:05 -0000)]
memory_usage: add support for MONO_TYPE_STRING.
svn path=/trunk/mono/; revision=89560
Everaldo Canuto [Tue, 13 Nov 2007 14:29:45 +0000 (14:29 -0000)]
2007-11-13 Everaldo Canuto <ecanuto@novell.com>
* Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
the patch. [Fixes #324856]
svn path=/trunk/mcs/; revision=89559
Jb Evain [Tue, 13 Nov 2007 14:24:29 +0000 (14:24 -0000)]
enable
svn path=/trunk/mcs/; revision=89558
Marek Safar [Tue, 13 Nov 2007 14:11:01 +0000 (14:11 -0000)]
New test.
svn path=/trunk/mcs/; revision=89557
Marek Safar [Tue, 13 Nov 2007 14:09:02 +0000 (14:09 -0000)]
New test.
svn path=/trunk/mcs/; revision=89556
Marek Habersack [Tue, 13 Nov 2007 14:08:57 +0000 (14:08 -0000)]
2007-11-13 Marek Habersack <mhabersack@novell.com>
* data/config.xml: replaced the possibly conflicting default block
names with ones that are less likely to cause conflicts and
modified feature and default config entries to use the new names,
via the defaultBlockName attribute of the section element.
* Mono.MonoConfig/Section.cs: added DefaultBlockName property,
which defaults to Name if not parsed from the XML node.
* Mono.MonoConfig/FeatureNodeHandler.cs: Use the defaultBlockName
attribute when searching for the default sections.
* Mono.MonoConfig/DefaultConfigFileNodeHandler.cs:
Use the defaultBlockName attribute when searching for the default
sections.
svn path=/trunk/mcs/; revision=89555
Marek Safar [Tue, 13 Nov 2007 14:08:32 +0000 (14:08 -0000)]
2007-11-13 Marek Safar <marek.safar@gmail.com>
A fix for bug #341205
* ecore.cs, expression.cs: Method group expression cannot do static
method access with an instance reference check before overloading takes
a place.
svn path=/trunk/mcs/; revision=89554
Atsushi Eno [Tue, 13 Nov 2007 14:04:21 +0000 (14:04 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : in 2.0 it depends on System.Transactions.dll.
* RegistrationException.cs IPlaybackControl.cs
RegistrationHelperTx.cs IAsyncErrorNotify.cs ITransaction.cs
IServiceCall.cs IProcessInitControl.cs IProcessInitializer.cs
ContextUtil.cs ServiceConfig.cs : couple of 2.0 API fixes.
* IClrObjectFactory.cs : 2.0 API fixes.
svn path=/trunk/mcs/; revision=89553
Atsushi Eno [Tue, 13 Nov 2007 14:01:22 +0000 (14:01 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: In 2.0 System.EnterpriseServices.dll depends on
System.Transactions.dll.
svn path=/trunk/mcs/; revision=89552
Atsushi Eno [Tue, 13 Nov 2007 13:31:02 +0000 (13:31 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* ToolboxItemCreator.cs, ToolboxService.cs, ToolboxItemContainer.cs:
couple of 2.0 API fixes.
svn path=/trunk/mcs/; revision=89551
Atsushi Eno [Tue, 13 Nov 2007 13:06:19 +0000 (13:06 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* DelegatingConfigHost.cs: 2.0 API fix.
svn path=/trunk/mcs/; revision=89550
Atsushi Eno [Tue, 13 Nov 2007 11:51:37 +0000 (11:51 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* Process.cs : ... and it exposed some missing attributes.
svn path=/trunk/mcs/; revision=89548
Atsushi Eno [Tue, 13 Nov 2007 11:40:41 +0000 (11:40 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* XmlDsigExcC14NTransform.cs : removed extra [ComVisible].
svn path=/trunk/mcs/; revision=89546
Marek Habersack [Tue, 13 Nov 2007 11:17:25 +0000 (11:17 -0000)]
2007-11-13 Marek Habersack <mhabersack@novell.com>
* mconfig.cs: better error handling. Print inner exception
message, if any, in addition to the outer one.
* Mono.MonoConfig/Configuration.cs: do not ignore XmlException
when loading configuration files.
* Mono.MonoConfig/DefaultConfigFileNodeHandler.cs: use
DefaultConfigFile.FileName when writing a file or invoking the
OnOverwriteFile event handler.
svn path=/trunk/mcs/; revision=89544
Atsushi Eno [Tue, 13 Nov 2007 10:33:27 +0000 (10:33 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* GraphicsPath.cs : AddBeziers(Point[]) arg is "params" in 2.0.
svn path=/trunk/mcs/; revision=89541
Atsushi Eno [Tue, 13 Nov 2007 10:21:58 +0000 (10:21 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* SmtpNetworkElement.cs, SmtpSection.cs : added missing 2,0 stuff.
svn path=/trunk/mcs/; revision=89540
Atsushi Eno [Tue, 13 Nov 2007 10:13:32 +0000 (10:13 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestCachePolicy.cs
HttpCacheAgeControl.cs
HttpRequestCacheLevel.cs
RequestCacheLevel.cs : fixed enum value binary compat to .net.
svn path=/trunk/mcs/; revision=89539
Atsushi Eno [Tue, 13 Nov 2007 10:11:45 +0000 (10:11 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* NetworkStream.cs : in 2.0 Close() is not needed and does not exist.
svn path=/trunk/mcs/; revision=89538
Atsushi Eno [Tue, 13 Nov 2007 10:06:27 +0000 (10:06 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* WebRequest.cs : added missing ImpersonationLevel (NIE).
* SecurityProtocolType.cs : not [Serializable] in 2.0.
* ServicePoint.cs : no GetHashCode() in 2.0.
* WebRequestMethods.cs : fixed wrong STOU.
* FileWebResponse.cs : no Dispose(true) in 2.0 API.
svn path=/trunk/mcs/; revision=89537
Marek Safar [Tue, 13 Nov 2007 09:46:42 +0000 (09:46 -0000)]
New test.
svn path=/trunk/mcs/; revision=89536
Marek Safar [Tue, 13 Nov 2007 09:46:31 +0000 (09:46 -0000)]
More tests.
svn path=/trunk/mcs/; revision=89535
Atsushi Eno [Tue, 13 Nov 2007 09:46:19 +0000 (09:46 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* SerialPort.cs :
Added [DefaultValue]. For PortName it is useless though.
Do not use ObsoleteAttribute for MonoTODO role.
svn path=/trunk/mcs/; revision=89534
Marek Safar [Tue, 13 Nov 2007 09:46:13 +0000 (09:46 -0000)]
2007-11-13 Marek Safar <marek.safar@gmail.com>
A fix for bug #325359
* class.cs: Use predictable name for automatically generated property.
svn path=/trunk/mcs/; revision=89533
Atsushi Eno [Tue, 13 Nov 2007 09:45:56 +0000 (09:45 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* Process.cs : oops, SessionId was int.
svn path=/trunk/mcs/; revision=89532
Atsushi Eno [Tue, 13 Nov 2007 09:37:43 +0000 (09:37 -0000)]
oops.
svn path=/trunk/mcs/; revision=89531
Atsushi Eno [Tue, 13 Nov 2007 09:29:03 +0000 (09:29 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* Process.cs : added missing SessionId (NIE).
svn path=/trunk/mcs/; revision=89530
Atsushi Eno [Tue, 13 Nov 2007 09:25:55 +0000 (09:25 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* ConfigXmlDocument.cs : corcompare cleanup.
svn path=/trunk/mcs/; revision=89529
Atsushi Eno [Tue, 13 Nov 2007 09:25:35 +0000 (09:25 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* ResolveNameEventHandler.cs, RootDesignerSerializerAttribute.cs,
DesignerLoader.cs, SerializationStore.cs : couple of 2.0 API fixes.
svn path=/trunk/mcs/; revision=89528
Atsushi Eno [Tue, 13 Nov 2007 08:58:57 +0000 (08:58 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* AssemblyName.cs : remove extraneous MonoTODO.
svn path=/trunk/mcs/; revision=89527
Atsushi Eno [Tue, 13 Nov 2007 08:41:21 +0000 (08:41 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* ExceptionHandlingClause.cs : implemented ToString().
svn path=/trunk/mcs/; revision=89526
Atsushi Eno [Tue, 13 Nov 2007 05:33:28 +0000 (05:33 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* MethodBase.cs : (Invoke) removed extra interface implementation.
svn path=/trunk/mcs/; revision=89522
Atsushi Eno [Tue, 13 Nov 2007 05:24:26 +0000 (05:24 -0000)]
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* StrongNameKeyPair.cs : implemented 2.0 runtime serialization stuff.
svn path=/trunk/mcs/; revision=89521
Jb Evain [Tue, 13 Nov 2007 00:55:13 +0000 (00:55 -0000)]
2007-11-13 Jb Evain <jbevain@novell.com>
* Enumerable.cs: make the new unit tests pass.
svn path=/trunk/mcs/; revision=89515
Jb Evain [Tue, 13 Nov 2007 00:54:47 +0000 (00:54 -0000)]
2007-11-13 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: unit tests are good.
svn path=/trunk/mcs/; revision=89514
Jb Evain [Tue, 13 Nov 2007 00:53:18 +0000 (00:53 -0000)]
clean
svn path=/trunk/mcs/; revision=89513
Zoltan Varga [Mon, 12 Nov 2007 23:38:46 +0000 (23:38 -0000)]
2007-11-12 David S. Miller <davem@davemloft.net>
* inssel-sparc.brg: Fix double instruction emit.
svn path=/trunk/mono/; revision=89510
Zoltan Varga [Mon, 12 Nov 2007 22:51:38 +0000 (22:51 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* System.dll.sources: Add System/UriIdnScope.cs.
svn path=/trunk/mcs/; revision=89503
Zoltan Varga [Mon, 12 Nov 2007 22:50:18 +0000 (22:50 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* UriIdnScope.cs: Compile this in the 2.0 profile as well as this is a NET 3.5 type.
svn path=/trunk/mcs/; revision=89502
Zoltan Varga [Mon, 12 Nov 2007 22:44:40 +0000 (22:44 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System/GCCollectionMode.cs and System/GCLatencyMode.cs.
svn path=/trunk/mcs/; revision=89501
Zoltan Varga [Mon, 12 Nov 2007 22:44:16 +0000 (22:44 -0000)]
2007-11-13 Zoltan Varga <vargaz@gmail.com>
* GCCollectionMode.cs GCLatencyMode.cs: New net 3.5 types.
svn path=/trunk/mcs/; revision=89500
Zoltan Varga [Mon, 12 Nov 2007 22:09:41 +0000 (22:09 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* invoke.cs: Add tests for invoking the Array Get/Set methods.
svn path=/trunk/mono/; revision=89497
Zoltan Varga [Mon, 12 Nov 2007 22:07:26 +0000 (22:07 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_runtime_invoke): Avoid trying to compile the Array
Get/Set/Address methods.
svn path=/trunk/mono/; revision=89496
Zoltan Varga [Mon, 12 Nov 2007 22:06:02 +0000 (22:06 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Create a non-shared wrapper for
the array Get/Set/Address methods, since the JIT inlines them.
* metadata-internals.h (MonoImage): Add 'runtime_invoke_direct_cache'.
* image.c (mono_image_close): Free runtime_invoke_direct_cache.
(mono_image_init): Initialize runtime_invoke_direct_cache.
svn path=/trunk/mono/; revision=89495
Zoltan Varga [Mon, 12 Nov 2007 21:09:37 +0000 (21:09 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* DelegateTest.cs: Add tests for abstract target methods.
svn path=/trunk/mcs/; revision=89492
Zoltan Varga [Mon, 12 Nov 2007 21:00:26 +0000 (21:00 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* mini.c debug-debugger.c mini-trampolines.c: Update after
mono_marshal_get_delegate_invoke signature change.
svn path=/trunk/mono/; revision=89491
Zoltan Varga [Mon, 12 Nov 2007 20:58:14 +0000 (20:58 -0000)]
2007-11-12 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Delegate_SetMulticastInvoke): Update after
mono_marshal_get_delegate_invoke signature change.
* marshal.c (mono_marshal_get_delegate_invoke): Receive the target_method as
an additional argument. Add support for invoking abstract methods.
* metadata-internals.h (MonoImage): Add 'delegate_abstract_invoke_cache'.
* image.c (mono_image_close): Free delegate_abstract_invoke_cache.
svn path=/trunk/mono/; revision=89490
Rodrigo Kumpera [Mon, 12 Nov 2007 19:51:47 +0000 (19:51 -0000)]
2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* bug-322722_patch_bx.2.cs : Added test for bug #322722.
* bug-322722_dyn_method_throw.2.cs: Same.
* Makefile.am: Added the two tests for bug #322722.
svn path=/trunk/mono/; revision=89488
Rodrigo Kumpera [Mon, 12 Nov 2007 19:34:31 +0000 (19:34 -0000)]
2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* cpu-arm.md: Increase the max size of OP_THROW to 24 bytes.
This can happens with dynamic methods. Fixes the other bug in #322722.
svn path=/trunk/mono/; revision=89486
Rodrigo Kumpera [Mon, 12 Nov 2007 19:31:15 +0000 (19:31 -0000)]
2007-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* tramp-arm.c (mono_arch_patch_callsite): Support patching
BX call sequence.
* mini-arm.c (arm_patch): Implement patching of BX call
sequence. Fixes one of the bugs in #322722.
svn path=/trunk/mono/; revision=89485
Marek Safar [Mon, 12 Nov 2007 18:51:45 +0000 (18:51 -0000)]
New test.
svn path=/trunk/mcs/; revision=89484
Marek Safar [Mon, 12 Nov 2007 18:50:55 +0000 (18:50 -0000)]
More tests.
svn path=/trunk/mcs/; revision=89483
Marek Safar [Mon, 12 Nov 2007 18:50:16 +0000 (18:50 -0000)]
2007-11-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #324996
* expression.cs (Is): Handle case where D is nullable and T is not
correctly.
* generics.cs (Nullable.HasValue): Nullable HasValue expression.
svn path=/trunk/mcs/; revision=89482
Atsushi Eno [Mon, 12 Nov 2007 17:28:05 +0000 (17:28 -0000)]
2007-11-12 Atsushi Enomoto <atsushi@ximian.com>
* System.dll.sources : added S.R.InteropSvcs.ComTypes types.
* ADVF.cs DATADIR.cs DVASPECT.cs FORMATETC.cs IAdviseSink.cs
IDataObject.cs IEnumFORMATETC.cs IEnumSTATDATA.cs STATDATA.cs
STGMEDIUM.cs TYMED.cs : initial checkin.
svn path=/trunk/mcs/; revision=89478