Sebastien Pouliot [Sat, 28 Jun 2008 16:04:10 +0000 (16:04 -0000)]
Mono.Cecil.Cil/GuidAttribute.cs: Seal attribute class
svn path=/trunk/mcs/; revision=106818
Sebastien Pouliot [Sat, 28 Jun 2008 15:52:00 +0000 (15:52 -0000)]
Mono.Cecil.Signatures/SignatureWriter.cs: Fix typo.
svn path=/trunk/mcs/; revision=106817
Zoltan Varga [Sat, 28 Jun 2008 04:15:52 +0000 (04:15 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_message_init): Avoid looking up array types for each call.
svn path=/trunk/mono/; revision=106812
Zoltan Varga [Sat, 28 Jun 2008 03:49:27 +0000 (03:49 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_message_invoke): Avoid looking up the object[] type for each
call.
svn path=/trunk/mono/; revision=106811
Zoltan Varga [Sat, 28 Jun 2008 03:35:26 +0000 (03:35 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* Control.cs (ResolveAdapter): Avoid calling the Context property getter
multiple times.
svn path=/trunk/mcs/; revision=106809
Rodrigo Kumpera [Sat, 28 Jun 2008 03:18:14 +0000 (03:18 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* ResourceReader.cs: Avoid an extra array copy for the resource arrays.
svn path=/trunk/mcs/; revision=106808
Massimiliano Mantione [Sat, 28 Jun 2008 03:07:21 +0000 (03:07 -0000)]
Made so that at appdomain unload the buffers are flushed by the profiler worker thread (which we know is registered with the runtime).
svn path=/trunk/mono/; revision=106807
Ivan Zlatev [Sat, 28 Jun 2008 00:38:05 +0000 (00:38 -0000)]
2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Clear the root griditem first thing when
new object/s is/are selected. Fixes some rare cases where
the View will get a paint request and won't know that the
grid is in the process of repopulating.
svn path=/trunk/mcs/; revision=106791
Atsushi Eno [Sat, 28 Jun 2008 00:07:56 +0000 (00:07 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationErrorsExceptionTest.cs : actually
remove ignored tests.
svn path=/trunk/mcs/; revision=106790
Zoltan Varga [Fri, 27 Jun 2008 23:51:28 +0000 (23:51 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_ValueType_Equals): Optimize the comparison of enums
even more.
svn path=/trunk/mono/; revision=106789
Zoltan Varga [Fri, 27 Jun 2008 23:23:39 +0000 (23:23 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* ResourceManager.cs: Add a negative cache for culture->resource set mappings
which caches lookup failures.
* ResourceSet.cs (GetObjectInternal): Search the hash table in the ignoreCase
case too.
svn path=/trunk/mcs/; revision=106787
Rodrigo Kumpera [Fri, 27 Jun 2008 22:11:22 +0000 (22:11 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* CodePointIndexer.cs : Make TableRange a struct instead
of a class so we save 2 memory ops per ToIndex loop.
svn path=/trunk/mcs/; revision=106782
Zoltan Varga [Fri, 27 Jun 2008 21:44:47 +0000 (21:44 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
svn path=/trunk/mcs/; revision=106781
Rodrigo Kumpera [Fri, 27 Jun 2008 21:12:10 +0000 (21:12 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* Exception.cs: Build method traces using the
stack trace StringBuilder.
svn path=/trunk/mcs/; revision=106779
Atsushi Eno [Fri, 27 Jun 2008 21:03:18 +0000 (21:03 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* SectionInfo.cs, Configuration.cs, ConfigInfo.cs,
SectionGroupInfo.cs :
eliminate XmlTextReader, first stage.
svn path=/trunk/mcs/; revision=106778
Atsushi Eno [Fri, 27 Jun 2008 20:56:26 +0000 (20:56 -0000)]
too silly to document.
svn path=/trunk/mcs/; revision=106777
Atsushi Eno [Fri, 27 Jun 2008 20:45:49 +0000 (20:45 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationErrorsException.cs : recover from
silly change that tries to prevent debuggin by
decreasing error location information.
* ConfigurationErrorsExceptionTest.cs : mark couple
of tests as [Ignore] that blocks us from decent
implementation in the name of silly .NET compatibility.
Maybe I'll remove more silliness later.
svn path=/trunk/mcs/; revision=106776
Rodrigo Kumpera [Fri, 27 Jun 2008 20:45:31 +0000 (20:45 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* MethodBase.cs: Added tests for GetMethodFromToken.
svn path=/trunk/mcs/; revision=106775
Sebastien Pouliot [Fri, 27 Jun 2008 19:56:07 +0000 (19:56 -0000)]
2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
* TestRegion.cs: Add test case for #402613 to verify Exclude.
Based on Jan Krajicek's code supplied inside the bug report.
svn path=/trunk/mcs/; revision=106769
Marek Safar [Fri, 27 Jun 2008 19:54:09 +0000 (19:54 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A test for bug #401020
svn path=/trunk/mcs/; revision=106767
Marek Safar [Fri, 27 Jun 2008 19:53:37 +0000 (19:53 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A fix for bug #401020
* ecore.cs: Both types and modifiers have to match for ref and out arguments
svn path=/trunk/mcs/; revision=106766
Marek Safar [Fri, 27 Jun 2008 18:34:55 +0000 (18:34 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A test for bug #398319
svn path=/trunk/mcs/; revision=106760
Marek Safar [Fri, 27 Jun 2008 18:34:15 +0000 (18:34 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A fix for bug #398319
* cs-parser.jay: Implemented undocumented base access expression inside
anonymous types.
svn path=/trunk/mcs/; revision=106759
Zoltan Varga [Fri, 27 Jun 2008 18:30:55 +0000 (18:30 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_delegate_trampoline): Don't pass a gsctx to
get_this_arg_from_call, let it compute it when needed.
* mini-amd64.c (mono_arch_get_this_arg_reg): Add a 'code' argument, compute
gsctx from code only when needed.
* mini-trampolines.c (get_generic_context): Rename this to
mono_get_generic_context_from_code (), and move it to generic-sharing.c, where
it can be called by the arch backends.
svn path=/trunk/mono/; revision=106758
Zoltan Varga [Fri, 27 Jun 2008 18:13:31 +0000 (18:13 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* TemplateControl.cs: Avoid collecting the automatic event info for each
instance.
svn path=/trunk/mcs/; revision=106751
Zoltan Varga [Fri, 27 Jun 2008 17:19:32 +0000 (17:19 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_fields): Avoid calling setup_fields_locking () for
each iteration.
svn path=/trunk/mono/; revision=106748
Marek Habersack [Fri, 27 Jun 2008 17:04:17 +0000 (17:04 -0000)]
Add support for Parallel Marking in Boehm's GC
svn path=/trunk/mono/; revision=106747
Dick Porter [Fri, 27 Jun 2008 16:13:12 +0000 (16:13 -0000)]
2008-06-27 Dick Porter <dick@ximian.com>
* processes.c: Implement a form of process pseudo-handle to allow
non-mono processes to be manipulated. Fixes bug 313231.
* wait.c: Check for process pseudo-handles and fail if an attempt
is made to wait on one.
svn path=/trunk/mono/; revision=106743
Atsushi Eno [Fri, 27 Jun 2008 16:07:37 +0000 (16:07 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* AggregateCacheDependencyTest.cs: mark wrong, timing-
dependent test as "Ignore".
svn path=/trunk/mcs/; revision=106742
Gert Driesen [Fri, 27 Jun 2008 15:43:02 +0000 (15:43 -0000)]
* OracleDataAdapter_FillSchema_DsSt.cs: Ignore tests when not compiled
for JVM. Fixes buildbot test failure.
* OracleDataAdapter_GetFillParameters.cs: Ignore tests when not
compiled for JVM. Fixes buildbot test failure.
* OracleDataReader_NextResult.cs: Ignore tests when not compiled for
JVM. Fixes buildbot test failures.
svn path=/trunk/mcs/; revision=106739
Robert Jordan [Fri, 27 Jun 2008 13:32:43 +0000 (13:32 -0000)]
In System.Web:
2008-06-27 Robert Jordan <robertj@gmx.net>
* HttpCachePolicy.cs: map default HttpCacheability to
"Cache-control: private" for MS.NET compatibility.
Fixes bug #404083. Contributed by
Hubert FONGARNAND <informatique.internet@fiducial.fr>.
In System.Web.Util:
2008-06-27 Robert Jordan <robertj@gmx.net>
* TimeUtil.cs (ToUtcTimeString): convert using the invariant
culture. Fixes bug #404083. Contributed by
Hubert FONGARNAND <informatique.internet@fiducial.fr>.
svn path=/trunk/mcs/; revision=106737
Gert Driesen [Fri, 27 Jun 2008 13:26:19 +0000 (13:26 -0000)]
* EventDescriptorCollectionTests.cs: Enabled tests for Empty, Find and
IList. Added test for String indexer.
* PropertyDescriptorCollectionTests.cs: Improved test for Find and
merged CultureInsensitiveFindTest. Improved test for Find with null
name/key. Added test for String indexer.
* EventDescriptorCollection.cs: Fixed Empty to return read-only
collection. In a read-only collection, throw NotSupportedException
instead of InvalidOperationException when attempting to modify the
collection. Fixed find to use ordinal comparison on 2.0 profile.
Fixed IList's IsFixedSize and IsReadOnly.
* PropertyDescriptorCollection.cs (Find): Use key as argument name
when name is null. Silly compatiblity fix.
svn path=/trunk/mcs/; revision=106736
Gert Driesen [Fri, 27 Jun 2008 11:59:22 +0000 (11:59 -0000)]
* System_test.dll.sources: Added EventDescriptorCollectionTest.cs.
* EventDescriptorCollectionTests.cs: Added tests based on tests for
PropertyDescriptorCollection.
* PropertyDescriptorCollectionTests.cs: Added tests for Sort overloads.
Improved test for Find with null key.
* EventDescriptorCollection.cs: Fixed NRE in Sort overloads when order
string array is null.
* PropertyDescriptorCollection.cs: Fixed NRE in Sort overloads when
order string array is null.
svn path=/trunk/mcs/; revision=106733
Andreas N [Fri, 27 Jun 2008 07:47:39 +0000 (07:47 -0000)]
2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* BinaryFormatter.cs: Fix parameter name
svn path=/trunk/mcs/; revision=106731
Andreas N [Fri, 27 Jun 2008 07:47:05 +0000 (07:47 -0000)]
2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* MissingManifestResourceException.cs:
* MissingSatelliteAssemblyException.cs:
* ResourceManager.cs: Fix parameter names
svn path=/trunk/mcs/; revision=106730
Andreas N [Fri, 27 Jun 2008 07:46:25 +0000 (07:46 -0000)]
2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Collection.cs: Fix parameter names
* ReadOnlyCollection.cs: Fix parameter names
svn path=/trunk/mcs/; revision=106729
Zoltan Varga [Fri, 27 Jun 2008 06:30:48 +0000 (06:30 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_ValueType_Equals): Avoid traversing all the static
fields of an enum.
svn path=/trunk/mono/; revision=106727
Zoltan Varga [Fri, 27 Jun 2008 05:54:33 +0000 (05:54 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_print_thread_dump): Allow the argument to be NULL.
svn path=/trunk/mono/; revision=106725
Zoltan Varga [Fri, 27 Jun 2008 05:05:38 +0000 (05:05 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* SqlDataReader.cs (ConstructSchemaTable): Avoid unneccessary reflection calls.
svn path=/trunk/mcs/; revision=106724
Ivan Zlatev [Fri, 27 Jun 2008 02:01:11 +0000 (02:01 -0000)]
2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
* XplatUIX11.cs, InternalWindowManager.cs:
If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
doesn't automagically update the FormBorderStyle, so we must
double check the CreateParams explicitly to determine if the
window is a toolwindow.
* ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
instead of doing custom checks.
Fixes toolwindows for the test case in bug #402446
svn path=/trunk/mcs/; revision=106722
Ivan Zlatev [Fri, 27 Jun 2008 01:51:12 +0000 (01:51 -0000)]
2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
* Control.cs: Visibility of the control should be false
when the handle is destroyed in WmDestroy and not immediately
in Dispose(). This is effectively where the disposing process
ends even though the control is marked as Disposed immediately
after calling Dispose().
[Fixes bug #402446]
svn path=/trunk/mcs/; revision=106721
Ivan Zlatev [Fri, 27 Jun 2008 01:35:01 +0000 (01:35 -0000)]
2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
* PropertyDescriptorCollection.cs, EventDescriptorCollection.cs,
MemberDescriptor.cs: Implement proper sorting of descriptors by
comparing their names.
[Fixes bug #403882]
svn path=/trunk/mcs/; revision=106718
Ivan Zlatev [Fri, 27 Jun 2008 01:26:33 +0000 (01:26 -0000)]
2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
* SizeConverter.cs: Fallback to CultureInfo.CurrentCulture
if supplied culture is null.
* PointConverter.cs: Fallback to CultureInfo.CurrentCulture
if supplied culture is null.
* Add tests accordingly
svn path=/trunk/mcs/; revision=106717
Ivan Zlatev [Fri, 27 Jun 2008 01:16:09 +0000 (01:16 -0000)]
2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridTextBox.cs: Start monitoring the mouse clicks
when the textbox gets focus.
[Fixes bug #402704]
svn path=/trunk/mcs/; revision=106716
Ivan Zlatev [Fri, 27 Jun 2008 01:08:08 +0000 (01:08 -0000)]
2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridTextBox.cs, PropertyGridView.cs:
- Alt + Down should show the drop down editor.
- Focus the editor when showing it
[Fixes bug #402710]
svn path=/trunk/mcs/; revision=106715
Zoltan Varga [Fri, 27 Jun 2008 00:44:55 +0000 (00:44 -0000)]
2008-06-26 Zoltan Varga <vargaz@gmail.com>
* nBrowser/Node.cs nBrowser/Result.cs: Avoid looking up adapter types names for
every request in every assembly.
svn path=/trunk/mcs/; revision=106713
Marek Safar [Fri, 27 Jun 2008 00:11:42 +0000 (00:11 -0000)]
New test.
svn path=/trunk/mcs/; revision=106712
Marek Safar [Fri, 27 Jun 2008 00:11:26 +0000 (00:11 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #404227
* cs-parser.jay: Parse namespace declaration using qualified identifier.
svn path=/trunk/mcs/; revision=106711
Andreia Gaita [Thu, 26 Jun 2008 23:46:21 +0000 (23:46 -0000)]
Remove leftover + character
svn path=/trunk/mono/; revision=106708
Alp Toker [Thu, 26 Jun 2008 23:33:22 +0000 (23:33 -0000)]
Disable DOLT by default and bring back the configure flag
It works on most systems but seems to break the build bot.
Needs more investigation.
svn path=/trunk/mono/; revision=106707
Alp Toker [Thu, 26 Jun 2008 23:04:20 +0000 (23:04 -0000)]
Another prospective fix for the build bot
svn path=/trunk/mono/; revision=106705
Marek Safar [Thu, 26 Jun 2008 22:51:52 +0000 (22:51 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A test for bug #404227
svn path=/trunk/mcs/; revision=106702
Andreas N [Thu, 26 Jun 2008 22:32:34 +0000 (22:32 -0000)]
2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Version.cs: Fix parameter names
UInt64.cs:
UInt32.cs:
UInt16.cs:
Int64.cs: Fix parameter names
Int32.cs: Fix parameter names; some small formatting
Int16.cs: Fix parameter names
Double.cs: Fix parameter names; small formatting
Single.cs:
SByte.cs:
Byte.cs:
Boolean.cs:
DateTime.cs:
Enum.cs:
Decimal.cs: Fix parameter names
svn path=/trunk/mcs/; revision=106701
Marek Safar [Thu, 26 Jun 2008 22:23:04 +0000 (22:23 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #404227
* convert.cs: Fixed explicit array to interface cast.
svn path=/trunk/mcs/; revision=106699
Alp Toker [Thu, 26 Jun 2008 22:04:35 +0000 (22:04 -0000)]
2008-06-26 Alp Toker <alp@nuanti.com>
* acinclude.m4: Prospective dolt fix for the build bot. Fix syntax to work
with older bash versions.
svn path=/trunk/mono/; revision=106696
Massimiliano Mantione [Thu, 26 Jun 2008 21:47:25 +0000 (21:47 -0000)]
Added more logging code.
svn path=/trunk/mono/; revision=106694
Rodrigo Kumpera [Thu, 26 Jun 2008 21:28:44 +0000 (21:28 -0000)]
In .:
2008-06-26 Rodrigo Kumpera <rkumpera@novell.com>
* nullable_boxing.2.cs: Test if Array::GetValue box nullables
correctly.
svn path=/trunk/mono/; revision=106693
Rodrigo Kumpera [Thu, 26 Jun 2008 21:12:57 +0000 (21:12 -0000)]
In .:
2008-06-26 Rodrigo Kumpera <rkumpera@novell.com>
* object.c (mono_value_box): Fix boxing of nullables.
svn path=/trunk/mono/; revision=106685
Marek Safar [Thu, 26 Jun 2008 19:25:58 +0000 (19:25 -0000)]
New test.
svn path=/trunk/mcs/; revision=106671
Alp Toker [Thu, 26 Jun 2008 19:19:33 +0000 (19:19 -0000)]
2008-06-26 Alp Toker <alp@nuanti.com>
* acinclude.m4: Update dolt to the latest git version
5e9eef10. (The one we
had wasn't in fact the latest version and had a known bug.)
svn path=/trunk/mono/; revision=106670
Sebastien Pouliot [Thu, 26 Jun 2008 19:10:24 +0000 (19:10 -0000)]
2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Security_test.dll.sources: Added SubjectAltNameExtension unit
tests to the build. Patch by David Wolinsky
svn path=/trunk/mcs/; revision=106669
Sebastien Pouliot [Thu, 26 Jun 2008 19:10:13 +0000 (19:10 -0000)]
2008-06-26 David Wolinsky <davidiw@ufl.edu>
* SubjectAltNameExtension.cs: IP Addresses are handled and now
this class can be generated via the constructor from arrays.
* GeneralNames.cs: Added support to generate GeneralNames from
an arrays of strings.
svn path=/trunk/mcs/; revision=106668
Sebastien Pouliot [Thu, 26 Jun 2008 19:09:34 +0000 (19:09 -0000)]
2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
* SubjectAltNameExtensionTest.cs: New. Unit tests for
SubjectAltNameExtension. Patch by David Wolinsky
svn path=/trunk/mcs/; revision=106667
Veerapuram Varadhan [Thu, 26 Jun 2008 18:38:52 +0000 (18:38 -0000)]
missed committing the sources file
svn path=/trunk/mcs/; revision=106665
Zoltan Varga [Thu, 26 Jun 2008 18:36:48 +0000 (18:36 -0000)]
2008-06-26 Zoltan Varga <vargaz@gmail.com>
* driver.c (mono_main): Add experimental --aot-only command line option.
* mini.c: Error out when creating trampolines or JIT compiling if --aot-only is
set.
svn path=/trunk/mono/; revision=106664
Marek Safar [Thu, 26 Jun 2008 18:33:19 +0000 (18:33 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #403894
* delegate.cs: Mutate DelegateInvocation type.
svn path=/trunk/mcs/; revision=106663
Marek Safar [Thu, 26 Jun 2008 18:19:20 +0000 (18:19 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A test for bug #379348
svn path=/trunk/mcs/; revision=106662
Marek Safar [Thu, 26 Jun 2008 18:17:22 +0000 (18:17 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #379348
* delegate.cs: Box a load of generic parameters.
svn path=/trunk/mcs/; revision=106661
Marek Safar [Thu, 26 Jun 2008 17:43:19 +0000 (17:43 -0000)]
New test.
svn path=/trunk/mcs/; revision=106657
Marek Safar [Thu, 26 Jun 2008 16:50:25 +0000 (16:50 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
* expression.cs: Add an array creation arguments mutate.
svn path=/trunk/mcs/; revision=106650
Atsushi Eno [Thu, 26 Jun 2008 16:49:15 +0000 (16:49 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* DiagnosticsConfigurationHandler.cs: quick build fix (hopefully).
svn path=/trunk/mcs/; revision=106649
Marek Safar [Thu, 26 Jun 2008 16:28:07 +0000 (16:28 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A test for bug #386068
svn path=/trunk/mcs/; revision=106646
Marek Safar [Thu, 26 Jun 2008 16:27:39 +0000 (16:27 -0000)]
2008-06-26 Marek Safar <marek.safar@gmail.com>
A fix for bug #386068
* anonymous.cs, expression.cs: Emit correctly hoisted expression tree
parameter.
svn path=/trunk/mcs/; revision=106645
Kornél Pál [Thu, 26 Jun 2008 15:30:57 +0000 (15:30 -0000)]
Implement support for mixed-mode assemblies on Windows x64 as well. Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=106641
Mark Probst [Thu, 26 Jun 2008 13:48:45 +0000 (13:48 -0000)]
2008-06-26 Mark Probst <mark.probst@gmail.com>
* generic-valuetype-interface.2.cs: Test for generic valuetypes
which implement interfaces.
* generic-valuetype-newobj.2.il, generic-valuetype-newobj2.2.il:
Test for newobj with generic valuetypes.
* Makefile.am: Tests added.
svn path=/trunk/mono/; revision=106634
Sebastien Pouliot [Thu, 26 Jun 2008 12:49:33 +0000 (12:49 -0000)]
2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate2.cs: Allow password-less ctor to (try to) open
PKCS#12 files (with an empty password).
[Fix bug #403610]
svn path=/trunk/mcs/; revision=106632
Gert Driesen [Thu, 26 Jun 2008 10:54:00 +0000 (10:54 -0000)]
* DiagnosticsConfigurationHandler.cs: On 2.0 profile, throw
ConfigurationErrorsException when any attribute other than 'Name'
is found when referencing a shared listener. Fixes bug #404054.
Added support for the traceOutputOptions attribute on 2.0 profile.
Fixes bug #403583.
* ConfigXmlDocument.cs: Implement IConfigErrorInfo on all Node classes.
svn path=/trunk/mcs/; revision=106628
Gert Driesen [Thu, 26 Jun 2008 10:31:07 +0000 (10:31 -0000)]
* ConfigurationErrorsExceptionTest.cs: Added tests for ctors and
GetFilename/GetLineNumber overloads.
* System.Configuration_test.dll.sources: added
ConfigurationErrorsExceptionTest.cs.
* System.Configuration.dll.sources: added ConfigXmlTextReader.cs.
* ConfigurationElement.cs: Use ConfigurationErrorsException instead of
ConfigurationException, and pass reader to ConfigurationErrorsException
ctor to allow for file/linenumber info in exception message.
* ConfigurationErrorsException.cs: Removed local bareMessage field, and
use base.BareMessage field instead. Fixed Message property to only add
filename if not null or zero-length string, and only add line if not
zero. In GetFilename/GetLineNumber overloads, only try to get info if
node/reader implements IConfigErrorInfo.
* ConfigurationSection.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* ConfigXmlTextReader.cs: Added XmlTextReader that implements
IConfigErrorInfo.
* ConfigurationLocation.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* ClientConfigurationSystem.cs: Perform lazy initialization and
wrap exceptions in ConfigurationErrorsException. Fixes standalone test
t28.
* Configuration.cs: Use ConfigXmlTextReader instead of XmlTextReader
to allow for file/linenumber info in exception messages.
* ConfigInfo.cs: Fixed ThrowException to use file/number info available
in XmlTextReader for exception message.
* AppSettingsSection.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* Assert.cs: added.
* Makefile: added Assert.cs, and explicitly specify output file.
* t28.cs: Improved test.
svn path=/trunk/mcs/; revision=106626
Rodrigo Kumpera [Wed, 25 Jun 2008 22:27:49 +0000 (22:27 -0000)]
2008-06-25 Rodrigo Kumpera <rkumpera@novell.com>
* class.c, class-internals.h: Export mono_class_get_generic_type_definition
as part of the private mono API.
* loader.c (ves_icall_System_Reflection_MethodBase_GetMethodFromHandleInternalType):
Do proper argument checking for methods that belong to generic classes.
Do proper type resolution for GMFH/2.
Fixes #377324.
svn path=/trunk/mono/; revision=106610
Rodrigo Kumpera [Wed, 25 Jun 2008 22:23:43 +0000 (22:23 -0000)]
In .:
2008-06-25 Rodrigo Kumpera <rkumpera@n ovell.com>
* MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
and fail. This is part of the fix for #377324.
svn path=/trunk/mcs/; revision=106609
Rodrigo Kumpera [Wed, 25 Jun 2008 22:17:33 +0000 (22:17 -0000)]
In .:
2008-06-25 Rodrigo Kumpera <rkumpera@novell.com>
* generic-ldtoken-method.2.il: Don't use GetMethodHandle/1
with methods that belong to a generic type.
svn path=/trunk/mono/; revision=106608
Zoltan Varga [Wed, 25 Jun 2008 21:43:27 +0000 (21:43 -0000)]
2008-06-25 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Add not-yet-usable 'full' option. Add some infrastructure code
for emitting methods which are not in the source assembly. Detect and report
failure of assembling+linking.
svn path=/trunk/mono/; revision=106606
Zoltan Varga [Wed, 25 Jun 2008 20:58:34 +0000 (20:58 -0000)]
2008-06-25 Zoltan Varga <vargaz@gmail.com>
* configure.in: Enable dolt by default as an experiment.
svn path=/trunk/mono/; revision=106604
Zoltan Varga [Wed, 25 Jun 2008 20:54:53 +0000 (20:54 -0000)]
2008-06-25 Zoltan Varga <vargaz@gmail.com>
* acinclude.m4: Update dolt to the latest git version.
svn path=/trunk/mono/; revision=106603
Marek Safar [Wed, 25 Jun 2008 20:31:00 +0000 (20:31 -0000)]
2008-06-25 Marek Safar <marek.safar@gmail.com>
* ecore.cs, expression.cs: Fixed broken TypeCast clone, implemented few more
CloneTo.
svn path=/trunk/mcs/; revision=106602
Rodrigo Kumpera [Wed, 25 Jun 2008 20:16:18 +0000 (20:16 -0000)]
In .:
2008-06-25 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_switch): Fix a memory corruption bug with
the jump index is out of bound.
2008-06-25 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=106601
Ivan Zlatev [Wed, 25 Jun 2008 19:37:54 +0000 (19:37 -0000)]
2008-06-25 Ivan N. Zlatev <contact@i-nz.net>
* TypeDescriptor.cs: Fix a NRE.
[Fixes bug #403880]
svn path=/trunk/mcs/; revision=106599
Rodrigo Kumpera [Wed, 25 Jun 2008 19:27:37 +0000 (19:27 -0000)]
In .:
2008-06-24 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Disable debug code.
svn path=/trunk/mono/; revision=106597
Zoltan Varga [Wed, 25 Jun 2008 18:33:57 +0000 (18:33 -0000)]
2008-06-25 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_klass_info): Call mono_class_setup_vtable ().
* aot-compiler.c: Move the contents of the has_glot_slots array to MonoCompile.
svn path=/trunk/mono/; revision=106595
Jb Evain [Wed, 25 Jun 2008 18:13:04 +0000 (18:13 -0000)]
make gendarme happy
svn path=/trunk/mcs/; revision=106591
Marek Safar [Wed, 25 Jun 2008 17:35:50 +0000 (17:35 -0000)]
2008-06-25 Marek Safar <marek.safar@gmail.com>
A fix for bug #403518
* delegate.cs: Type correctly anonymous method new invocation.
svn path=/trunk/mcs/; revision=106588
Marek Safar [Wed, 25 Jun 2008 17:35:26 +0000 (17:35 -0000)]
2008-06-25 Marek Safar <marek.safar@gmail.com>
A fix for bug #403518
* delegate.cs: Type correctly anonymous method new invocation.
svn path=/trunk/mcs/; revision=106587
Jb Evain [Wed, 25 Jun 2008 17:34:23 +0000 (17:34 -0000)]
no more unsafe code in System.Core. Yeah.
svn path=/trunk/mcs/; revision=106586
Jonathan Pobst [Wed, 25 Jun 2008 17:29:59 +0000 (17:29 -0000)]
2008-06-25 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Fix from Andy for panel text for panels
that are not the first panel.
* StatusBar.cs: Ensure that the X coordinate of panels is always
stored. Fix IList implementation of StatusBarPanelCollection to
call the regular methods.
[Fixes bug #403599, #402165]
svn path=/trunk/mcs/; revision=106585
Gert Driesen [Wed, 25 Jun 2008 17:22:56 +0000 (17:22 -0000)]
* ApplicationSettingsBaseTest.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=106584
Gert Driesen [Wed, 25 Jun 2008 17:21:30 +0000 (17:21 -0000)]
* DictionarySectionHandler.cs: Fixed line endings.
* IgnoreSectionHandler.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=106583
Gert Driesen [Wed, 25 Jun 2008 17:18:35 +0000 (17:18 -0000)]
* ConfigurationExceptionTest.cs: Added ctor tests.
* System_test.dll.sources: Added ConfigurationExceptionTest.cs.
* ConfigurationExceptionTest.cs: Removed local bareMessage field, and
use base.Message instead. Fixed default cor to invoke String ctor of
SystemException. Fixed Message property to only add filename if not
null or zero-length string, and only add line if not zero.
svn path=/trunk/mcs/; revision=106582
Massimiliano Mantione [Wed, 25 Jun 2008 17:09:06 +0000 (17:09 -0000)]
Record also the domain of each statistical hit, so that mono_jit_info_table_find works properly.
svn path=/trunk/mono/; revision=106580
Massimiliano Mantione [Wed, 25 Jun 2008 16:47:32 +0000 (16:47 -0000)]
Fixed breakage introduced in r105966
svn path=/trunk/mono/; revision=106572
Jb Evain [Wed, 25 Jun 2008 16:47:16 +0000 (16:47 -0000)]
blah
svn path=/trunk/mcs/; revision=106571