Marek Habersack [Thu, 12 Mar 2009 14:27:01 +0000 (14:27 -0000)]
2009-03-12 Marek Habersack <mhabersack@novell.com>
* TemplateBuildProvider.cs: ExtractReferenceDependencies must also
extract the value of the Page attribute.
svn path=/trunk/mcs/; revision=129141
Atsushi Eno [Thu, 12 Mar 2009 09:29:40 +0000 (09:29 -0000)]
2009-03-12 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs, KnownTypeCollection.cs :
support CollectionDataContract-based dictionary too.
* XmlObjectSerializerTest.cs : added test for dictionary with
CollectionDataContractAttribute.
svn path=/trunk/mcs/; revision=129128
Atsushi Eno [Thu, 12 Mar 2009 08:37:33 +0000 (08:37 -0000)]
2009-03-12 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs, KnownTypeCollection.cs :
added support for dictionary serialization (not for
CollectionDataContract-attributed dictionary yet).
* XmlObjectSerializerTest.cs : added tests for IDictionary
serialization (both generic and non-generic).
svn path=/trunk/mcs/; revision=129125
Atsushi Eno [Thu, 12 Mar 2009 04:31:01 +0000 (04:31 -0000)]
2009-03-12 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : cosmetic !NET_2_1 fix (no effect).
* KnownTypeCollection.cs : use ICollection<> and IList instead of
IEnumerable. This causes confusion for dictionary.
svn path=/trunk/mcs/; revision=129124
Jonathan Pryor [Thu, 12 Mar 2009 00:49:24 +0000 (00:49 -0000)]
Remove generated directories.
svn path=/trunk/mcs/; revision=129117
Jonathan Pryor [Thu, 12 Mar 2009 00:46:32 +0000 (00:46 -0000)]
Add the DbMetal and VisualMetal sources from DbLinq, so that we can add a
`sqlmetal' tool which uses the DbMetal sources.
svn path=/trunk/mcs/; revision=129116
Gonzalo Paniagua Javier [Thu, 12 Mar 2009 00:20:55 +0000 (00:20 -0000)]
2009-03-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* InotifyWatcher.cs: don't send events when a directory is created
unless it matches the pattern. Fixes bug #484082.
svn path=/trunk/mcs/; revision=129112
Jonathan Pryor [Wed, 11 Mar 2009 20:06:10 +0000 (20:06 -0000)]
Flush. (Updates to sync with DbLinq r1009, fixes IVendor lookup within
System.Data.Linq.dll, add unit tests -- which aren't hooked up to Mono's build
system -- various bug fixes, etc.)
svn path=/trunk/mcs/; revision=129090
Marek Safar [Wed, 11 Mar 2009 19:00:40 +0000 (19:00 -0000)]
New test.
svn path=/trunk/mcs/; revision=129086
Marek Safar [Wed, 11 Mar 2009 18:55:51 +0000 (18:55 -0000)]
2009-03-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #482996
* anonymous.cs: Make sure we are not infering return type when
checking type compatibility.
svn path=/trunk/mcs/; revision=129085
Zoltan Varga [Wed, 11 Mar 2009 16:51:19 +0000 (16:51 -0000)]
2009-03-11 Zoltan Varga <vargaz@gmail.com>
* SortedListTest.cs: Add tests for #483985.
svn path=/trunk/mcs/; revision=129078
Rolf Bjarne Kvinge [Wed, 11 Mar 2009 16:49:50 +0000 (16:49 -0000)]
2009-03-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
* WebClient_2_1.cs: OnOpenReadCompleted and OnDownloadStringCompleted:
make sure we don't pass any exceptions back to native code.
svn path=/trunk/mcs/; revision=129077
Zoltan Varga [Wed, 11 Mar 2009 16:49:43 +0000 (16:49 -0000)]
2009-03-11 Zoltan Varga <vargaz@gmail.com>
* SortedList.cs: Add version checking to the Key/Value enumerators +
implement support for Reset (). Fixes #483985.
svn path=/trunk/mcs/; revision=129076
Zoltan Varga [Wed, 11 Mar 2009 15:14:36 +0000 (15:14 -0000)]
2009-03-11 Zoltan Varga <vargaz@gmail.com>
* BinderTests.cs: Add a test for #484294.
svn path=/trunk/mcs/; revision=129070
Zoltan Varga [Wed, 11 Mar 2009 15:10:29 +0000 (15:10 -0000)]
2009-03-11 Zoltan Varga <vargaz@gmail.com>
* Binder.cs: Allow conversions from T to T?. Fixes #484294.
svn path=/trunk/mcs/; revision=129069
Atsushi Eno [Wed, 11 Mar 2009 15:03:02 +0000 (15:03 -0000)]
2009-03-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlFormatterSerializer.cs, XmlObjectSerializer.cs,
XmlFormatterDeserializer.cs, KnownTypeCollection.cs :
add more xsi:type to cover collection items.
* XmlObjectSerializerTest.cs : test for generic IList of
DictionaryEntry. (no Hashtable serialization yet.)
svn path=/trunk/mcs/; revision=129068
Marek Safar [Wed, 11 Mar 2009 14:28:58 +0000 (14:28 -0000)]
This should not go in.
svn path=/trunk/mcs/; revision=129065
Zoltan Varga [Wed, 11 Mar 2009 14:27:10 +0000 (14:27 -0000)]
2009-03-11 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_output_basic_block): Fix % 1. Fixes #484323.
* basic.cs: Add a test.
svn path=/trunk/mono/; revision=129063
Marek Safar [Wed, 11 Mar 2009 14:18:02 +0000 (14:18 -0000)]
2009-03-11 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, generic.cs, parameter.cs, decl.cs, const.cs,
rootcontext.cs, namespace.cs, class.cs, delegate.cs, driver.cs,
generic-mcs.cs, attribute.cs, codegen.cs: Maintain predefined
attributes in their own structure. Needed when accessing their
properties before they are resolved.
svn path=/trunk/mcs/; revision=129061
Mark Probst [Wed, 11 Mar 2009 14:15:49 +0000 (14:15 -0000)]
Make sure x86 ATOMIC_CAS doesn't overwrite its own operands.
2009-03-11 Mark Probst <mark.probst@gmail.com>
* mini-x86.c (mono_arch_output_basic_block): Use different
registers in case the ones we want to overwrite are used by the
other operand. Fixes regression in #480807.
svn path=/trunk/mono/; revision=129058
Atsushi Eno [Wed, 11 Mar 2009 11:52:34 +0000 (11:52 -0000)]
2009-03-11 Atsushi Enomoto <atsushi@ximian.com>
* KnownTypeCollection.cs : fix generic argument names in xml.
They should use xmlized names instead of raw type name.
* XmlFormatterDeserializer.cs : remove extra Console.WriteLine.
* XmlObjectSerializerTest.cs : test for generic IList of KeyValuePair
(it is still different from full IDictionary support...!).
svn path=/trunk/mcs/; revision=129055
Atsushi Eno [Wed, 11 Mar 2009 09:37:01 +0000 (09:37 -0000)]
2009-03-11 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : eliminate whitespace misuses.
svn path=/trunk/mcs/; revision=129053
Atsushi Eno [Wed, 11 Mar 2009 09:06:06 +0000 (09:06 -0000)]
2009-03-11 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : actually it could just be
ICollection<T>.
svn path=/trunk/mcs/; revision=129051
Atsushi Eno [Wed, 11 Mar 2009 06:26:09 +0000 (06:26 -0000)]
2009-03-11 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : implemented generic IList
deserialization.
* XmlObjectSerializerTest.cs : test for generic IList
serialization.
* Makefile: added -r:System.Core.
svn path=/trunk/mcs/; revision=129045
Jackson Harper [Tue, 10 Mar 2009 21:39:10 +0000 (21:39 -0000)]
* Uri.cs: 2.1 Uris do get a UriTypeConverter.
svn path=/trunk/mcs/; revision=129023
Zoltan Varga [Tue, 10 Mar 2009 21:38:35 +0000 (21:38 -0000)]
2009-03-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_compile_assembly): Make the output less verbose.
svn path=/trunk/mono/; revision=129022
Zoltan Varga [Tue, 10 Mar 2009 19:51:16 +0000 (19:51 -0000)]
2009-03-10 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add a test for #483852.
svn path=/trunk/mcs/; revision=129011
Zoltan Varga [Tue, 10 Mar 2009 19:45:41 +0000 (19:45 -0000)]
2009-03-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (ensure_complete_type): New helper function to call
type resolve handlers for unfinished dynamic types.
(resolve_object): Call it for MonoClassFields. Fixes #483852.
svn path=/trunk/mono/; revision=129009
Atsushi Eno [Tue, 10 Mar 2009 18:21:07 +0000 (18:21 -0000)]
2009-03-10 Atsushi Enomoto <atsushi@ximian.com>
* KnownTypeCollection.cs : fix for generic serialization.
* XmlObjectSerializerTest.cs : test for generic type serialization.
svn path=/trunk/mcs/; revision=129001
Miguel de Icaza [Tue, 10 Mar 2009 17:20:50 +0000 (17:20 -0000)]
Clarify
svn path=/trunk/mono/; revision=128995
Zoltan Varga [Tue, 10 Mar 2009 16:47:37 +0000 (16:47 -0000)]
2009-03-10 Zoltan Varga <vargaz@gmail.com>
* README: Remove the comment about --with-moonlight being pre-alpha.
svn path=/trunk/mono/; revision=128990
Marek Habersack [Tue, 10 Mar 2009 14:21:42 +0000 (14:21 -0000)]
2009-03-10 Marek Habersack <mhabersack@novell.com>
* UrlAuthorizationModule.cs: OnAuthorizeRequest must use the
configuration from <location> elements in the config. Fixes bug
#467221
svn path=/trunk/mcs/; revision=128972
Marek Habersack [Tue, 10 Mar 2009 14:21:26 +0000 (14:21 -0000)]
Cosmetics
svn path=/trunk/mcs/; revision=128971
Jb Evain [Tue, 10 Mar 2009 12:31:57 +0000 (12:31 -0000)]
2009-03-10 Jb Evain <jbevain@novell.com>
* Mono.Tuner/MoonlightAssemblyStep.cs: don't remove
the LoadReferencesStep for specific Moonlight tuning.
svn path=/trunk/mcs/; revision=128966
Atsushi Eno [Tue, 10 Mar 2009 08:26:50 +0000 (08:26 -0000)]
2009-03-10 Atsushi Enomoto <atsushi@ximian.com>
* scripts/Makefile.am : added svcutil.
svn path=/trunk/mono/; revision=128954
Atsushi Eno [Tue, 10 Mar 2009 08:24:57 +0000 (08:24 -0000)]
2009-03-10 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: add svcutil to the build.
svn path=/trunk/mcs/; revision=128952
Zoltan Varga [Tue, 10 Mar 2009 01:19:20 +0000 (01:19 -0000)]
2009-03-10 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_line_number_info): The line number info for
IL code was off by one. Fix that.
svn path=/trunk/mono/; revision=128931
Zoltan Varga [Tue, 10 Mar 2009 00:19:58 +0000 (00:19 -0000)]
2009-03-10 Zoltan Varga <vargaz@gmail.com>
* mini-s390x.c: Fix support for vtypes whose addresses are passed on the
stack.
svn path=/trunk/mono/; revision=128924
Mark Probst [Mon, 9 Mar 2009 20:00:18 +0000 (20:00 -0000)]
Fix LOADI4_MEMINDEX on PPC64.
2009-03-09 Mark Probst <mark.probst@gmail.com>
Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.
* mini-ppc.c: Correct handling of OP_LOADI4_MEMINDEX for ppc64.
Fixes #483462.
svn path=/trunk/mono/; revision=128904
Martin Baulig [Mon, 9 Mar 2009 15:11:17 +0000 (15:11 -0000)]
Author: Martin Baulig <martin@novell.com>
Date: Thu Mar 5 17:47:30 2009 +0100
Add CompileUnitEntry.IncludeFiles.
2009-03-05 Martin Baulig <martin@ximian.com>
* MonoSymbolTable.cs
(CompileUnitEntry.IncludeFiles): New public property.
(CompileUnitEntry.ReadData): Also read include files.
svn path=/trunk/mcs/; revision=128890
Marek Safar [Mon, 9 Mar 2009 14:29:42 +0000 (14:29 -0000)]
2009-03-09 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs: Optimized GetKeyword using an array instead of
hashtable (~10x faster).
* driver.cs: Removed wrong Reset.
svn path=/trunk/mcs/; revision=128884
Martin Baulig [Mon, 9 Mar 2009 14:14:56 +0000 (14:14 -0000)]
Add .gitignore's.
svn path=/trunk/mcs/; revision=128880
Zoltan Varga [Mon, 9 Mar 2009 10:38:11 +0000 (10:38 -0000)]
2009-03-09 Zoltan Varga <vargaz@gmail.com>
* custom-attr.cs: Add a test for #483247.
svn path=/trunk/mono/; revision=128865
Zoltan Varga [Mon, 9 Mar 2009 10:37:22 +0000 (10:37 -0000)]
2009-03-09 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_custom_attrs_has_attr): Handle interfaces. Fixes
#483247.
svn path=/trunk/mono/; revision=128864
Zoltan Varga [Sun, 8 Mar 2009 21:42:41 +0000 (21:42 -0000)]
2009-03-08 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (token_handler): Decode method references in non-wrappers
as well.
svn path=/trunk/mono/; revision=128856
Marek Safar [Sun, 8 Mar 2009 19:16:20 +0000 (19:16 -0000)]
New tests.
svn path=/trunk/mcs/; revision=128855
Rodrigo Kumpera [Sun, 8 Mar 2009 19:15:41 +0000 (19:15 -0000)]
2009-03-04 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c (get_shadow_assembly_location): Fix memleak.
svn path=/trunk/mono/; revision=128853
Marek Safar [Sun, 8 Mar 2009 19:15:25 +0000 (19:15 -0000)]
2009-03-08 Marek Safar <marek.safar@gmail.com>
* class.cs: Use correct common base type for unmanaged delayed
check.
* rootcontext.cs: Wrap unhandled exception.
svn path=/trunk/mcs/; revision=128852
Zoltan Varga [Sun, 8 Mar 2009 18:33:24 +0000 (18:33 -0000)]
2009-03-08 Zoltan Varga <vargaz@gmail.com>
* gchandles.cs: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=128850
Zoltan Varga [Sun, 8 Mar 2009 18:18:45 +0000 (18:18 -0000)]
2009-03-08 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoDomain): Add new hash tables mapping
between GCHandles of type WeakTrackResurrection and the objects they
point to.
* gc.c: Partly implement the sematics of GCHandles of type
WeakTrackResurrection: these handles should only be cleared after the
finalizer of the object they are pointing to has ran.
svn path=/trunk/mono/; revision=128849
Ivan Zlatev [Sun, 8 Mar 2009 12:48:22 +0000 (12:48 -0000)]
2009-03-08 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: When removing the first displayed row and moving
the current cell up one we must invalidate the first displayed row
index before calculating the row heights, etc.
* DataGridViewTest.cs: Add tests for CurrentCell.
[Fixes bug #483202]
svn path=/trunk/mcs/; revision=128845
Ivan Zlatev [Sun, 8 Mar 2009 12:48:05 +0000 (12:48 -0000)]
2009-03-08 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix three column bugs:
- Rows should be cleared (but not removed) if columns become 0.
- The current cell should get moved
- ColumnCount increase was adding too many columns.
* DataGridViewTest.cs: Add tests for ColumnCount.
svn path=/trunk/mcs/; revision=128844
Ivan Zlatev [Sat, 7 Mar 2009 13:59:55 +0000 (13:59 -0000)]
2009-03-07 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix RowCount decrease which wasn't working well
in both scenarions - with and without editing row.
* DataGridViewTest.cs: Add more tests for the RowCount property.
svn path=/trunk/mcs/; revision=128833
Raja R Harinath [Sat, 7 Mar 2009 11:05:59 +0000 (11:05 -0000)]
Make SeekableStreamReader self-tuning and arbitrarily seekable
* support.cs (SeekableStreamReader.ResetStream): New. Allocates the buffer.
(SeekableStreamReader.Position.set): Use it. Simplify logic
which, as a side-effect, makes it arbitrarily-seekable. Tune the
buffer size when the stream needs to be re-read from the beginning.
svn path=/trunk/mcs/; revision=128831
Gert Driesen [Sat, 7 Mar 2009 09:10:04 +0000 (09:10 -0000)]
* Convert.cs: Do not throw InvalidCastException if IConvertible.ToType
returns null.
* ConvertTest.cs: Merged and improved test for bug #481687.
* ConvertTest2.cs: Merged into ConvertTest.cs.
svn path=/trunk/mcs/; revision=128830
Marek Safar [Sat, 7 Mar 2009 08:29:56 +0000 (08:29 -0000)]
Add missing const.
svn path=/trunk/mcs/; revision=128829
Mark Probst [Sat, 7 Mar 2009 06:38:49 +0000 (06:38 -0000)]
Partially revert r126631 because it's no longer needed.
2009-03-06 Mark Probst <mark.probst@gmail.com>
* icall.c: Partially revert r126631 because using the jump
trampolines for generic shared methods makes it superfluous.
svn path=/trunk/mono/; revision=128828
Gonzalo Paniagua Javier [Sat, 7 Mar 2009 00:06:04 +0000 (00:06 -0000)]
2009-03-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ResourceSet.cs: for custom resource sets without a reader, pretende
that's we've already read the stream.
svn path=/trunk/mcs/; revision=128814
Andrés G. Aragoneses [Fri, 6 Mar 2009 23:34:37 +0000 (23:34 -0000)]
2009-03-06 Andrés G. Aragoneses <aaragoneses@novell.com>
* Convert.cs: Correct typo in exception message.
svn path=/trunk/mcs/; revision=128812
Miguel de Icaza [Fri, 6 Mar 2009 23:32:09 +0000 (23:32 -0000)]
2009-02-24 Sebastien Pouliot <sebastien@ximian.com>
* SafeHandle.cs: Add default ctor in 2.1 profile (needed to compile
svn path=/trunk/mcs/; revision=128810
Miguel de Icaza [Fri, 6 Mar 2009 23:22:57 +0000 (23:22 -0000)]
2009-03-06 Miguel de Icaza <miguel@novell.com>
* Convert.cs: Apply patch from Tom Hindle that uses
IConvertible.ToType if there are no other possible conversions
defined.
Fixes: #481687
svn path=/trunk/mcs/; revision=128807
Ivan Zlatev [Fri, 6 Mar 2009 23:13:37 +0000 (23:13 -0000)]
2009-03-06 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Be compatible with MS in that the scroll to
selection has a synchronous effect. The trick here is that in
order to avoid unnecessary calculations each time a row/column
is added/removed we recalculate the whole grid size just before
just before the scroll to selection.
[Fixes bug #482478]
svn path=/trunk/mcs/; revision=128806
Miguel de Icaza [Fri, 6 Mar 2009 23:08:49 +0000 (23:08 -0000)]
Update docs
svn path=/trunk/mcs/; revision=128805
Marek Habersack [Fri, 6 Mar 2009 22:16:37 +0000 (22:16 -0000)]
2009-03-06 Marek Habersack <mhabersack@novell.com>
* JsonDeserializer.cs: unquoted key values must ignore leading
and trailing whitespace
2009-03-06 Marek Habersack <mhabersack@novell.com>
* JavaScriptSerializerTest.cs: added a test for unquoted tests
surrounded with spaces.
svn path=/trunk/mcs/; revision=128801
Marek Habersack [Fri, 6 Mar 2009 21:29:46 +0000 (21:29 -0000)]
2009-03-06 Marek Habersack <mhabersack@novell.com>
* XPathBinder.cs: use the pased namespace manager
svn path=/trunk/mcs/; revision=128799
Jb Evain [Fri, 6 Mar 2009 21:04:34 +0000 (21:04 -0000)]
remove dead files
svn path=/trunk/mcs/; revision=128798
Marek Habersack [Fri, 6 Mar 2009 20:54:40 +0000 (20:54 -0000)]
2009-03-06 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: BindingContainerType - if control type of the
containing builder is null, return typeof (Control)
svn path=/trunk/mcs/; revision=128796
Rodrigo Kumpera [Fri, 6 Mar 2009 20:42:41 +0000 (20:42 -0000)]
2009-03-06 Rodrigo Kumpera <rkumpera@novell.com>
* MonoType.cs (MonoTypeInfo): Add default_ctor field.
* MonoType.cs: Add GetDefaultConstructor that caches using
type_info.default_ctor.
* MonoType.cs (FullName): Protects against type_info been replaced
under the hood.
* Activator.cs (CreateInstance): If the type is a MonoType resolve the
default constructor using the new method from MonoType.
Improves Activator::CreateInstance performance by at least 30%, reduces object churn
and domain lock contention.
svn path=/trunk/mcs/; revision=128795
Marek Habersack [Fri, 6 Mar 2009 20:04:54 +0000 (20:04 -0000)]
2009-03-06 Marek Habersack <mhabersack@novell.com>
* WebControl.cs: if savedState is not an instance of Pair in
LoadViewState, do not attempt to load from it.
svn path=/trunk/mcs/; revision=128793
Carlos Alberto Cortez [Fri, 6 Mar 2009 17:00:08 +0000 (17:00 -0000)]
2009-03-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: LoadFile(string path) should pass by default
RichTextBoxStreamType.RichText, without caring about the detection or
extension of the file.
svn path=/trunk/mcs/; revision=128791
Carlos Alberto Cortez [Fri, 6 Mar 2009 16:26:55 +0000 (16:26 -0000)]
2009-03-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RichTextBox.cs: When calling LoadFile, remove the extra EOL
introduced by StreamReader, since it will convert the EOF to an EOL.
Fixes #479646.
svn path=/trunk/mcs/; revision=128788
Jonathan Pobst [Fri, 6 Mar 2009 15:57:53 +0000 (15:57 -0000)]
2009-03-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDownMenu.cs: Use Math.Max instead of calculating
preferred size twice.
svn path=/trunk/mcs/; revision=128786
Zoltan Varga [Fri, 6 Mar 2009 15:55:12 +0000 (15:55 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* arm/tramp.c: Include a change from the debian patches. Avoid #include-ing
a file in the middle of a function.
svn path=/trunk/mono/; revision=128782
Jonathan Pobst [Fri, 6 Mar 2009 15:46:39 +0000 (15:46 -0000)]
2009-03-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripMenuItem.cs: Don't draw the dropdown arrow or shortcut
string if we aren't on a ToolStripDropDownMenu.
svn path=/trunk/mcs/; revision=128780
Zoltan Varga [Fri, 6 Mar 2009 15:24:42 +0000 (15:24 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* load-exceptions.cs load-missing.il: Add a test for #482638.
svn path=/trunk/mono/; revision=128779
Zoltan Varga [Fri, 6 Mar 2009 15:22:16 +0000 (15:22 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Check for type load exceptions in
the delegate ctor handling code. Fixes #482638.
svn path=/trunk/mono/; revision=128778
Jonathan Pobst [Fri, 6 Mar 2009 15:12:04 +0000 (15:12 -0000)]
2009-03-06 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDownButton.cs, ToolStripItem.cs: Refactor some Button
code from Item to Button. Patch from Alex Shulgin.
svn path=/trunk/mcs/; revision=128777
Ankit Jain [Fri, 6 Mar 2009 14:24:00 +0000 (14:24 -0000)]
Fix bug #481336.
* SolutionParser.cs (AddWarningForMissingProjectConfiguration): New.
(AddProjectTargets): Emit warning for missing project configurations.
svn path=/trunk/mcs/; revision=128773
Marek Safar [Fri, 6 Mar 2009 14:02:19 +0000 (14:02 -0000)]
New test.
svn path=/trunk/mcs/; revision=128772
Atsushi Eno [Fri, 6 Mar 2009 04:34:31 +0000 (04:34 -0000)]
2009-03-06 Atsushi Enomoto <atsushi@ximian.com>
* MessageBodyDescription.cs, MessagePartDescription.cs,
OperationDescription.cs, MessageDescriptionCollection.cs:
clean up extra todos.
svn path=/trunk/mcs/; revision=128754
Zoltan Varga [Fri, 6 Mar 2009 02:35:58 +0000 (02:35 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mini_emit_memset): Fix the handling of size '3'. Fixes
#481458.
* iltests.il.in: Add a test.
svn path=/trunk/mono/; revision=128749
Zoltan Varga [Fri, 6 Mar 2009 01:39:24 +0000 (01:39 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* mini-darwin.c (mono_chain_signal): Remove this, it is already in
mini-posix.c.
svn path=/trunk/mono/; revision=128747
Zoltan Varga [Thu, 5 Mar 2009 23:38:21 +0000 (23:38 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* mono-hash.c: Use precise GC allocation for the Boehm GC as well.
svn path=/trunk/mono/; revision=128745
Zoltan Varga [Thu, 5 Mar 2009 23:18:14 +0000 (23:18 -0000)]
2009-03-06 Zoltan Varga <vargaz@gmail.com>
* threads.c (handle_store): Create the 'threads' hash table with the proper
MONO_HASH_VALUE_GC type.
svn path=/trunk/mono/; revision=128744
Zoltan Varga [Thu, 5 Mar 2009 22:18:44 +0000 (22:18 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoDomain): Move 'typeof_void' before
FIRST_GC_TRACKED.
* domain.c (mono_domain_create): Register the fields between FIRST_GC_TRACKED
and LAST_GC_TRACKED as a GC root.
svn path=/trunk/mono/; revision=128734
Zoltan Varga [Thu, 5 Mar 2009 22:04:09 +0000 (22:04 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* gc-internal.h: Fix the comment of mono_gc_alloc_fixed.
* object.c (mono_class_create_runtime_vtable): Create a GC descriptor for
the static data even if it consists of 1 reference.
* boehm-gc.c (mono_gc_alloc_fixed): Allocate using GC_MALLOC_EXPLICITLY_TYPED
if there is a GC descriptor.
svn path=/trunk/mono/; revision=128731
Jb Evain [Thu, 5 Mar 2009 22:02:27 +0000 (22:02 -0000)]
adjust name
svn path=/trunk/mcs/; revision=128730
Mark Probst [Thu, 5 Mar 2009 21:44:30 +0000 (21:44 -0000)]
ChangeLog fix.
svn path=/trunk/mono/; revision=128729
Zoltan Varga [Thu, 5 Mar 2009 21:27:42 +0000 (21:27 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* reflection.c (ALLOC_REFENTRY): Allocate ReflectedEntry-es using malloc
instead of through the GC since they contain no object references.
svn path=/trunk/mono/; revision=128727
Mark Probst [Thu, 5 Mar 2009 20:55:15 +0000 (20:55 -0000)]
2009-03-05 Mark Probst <mark.probst@gmail.com>
* mini-trampolines.c (mono_create_jump_trampoline): If the method
is shared generic code, return the trampoline, even if the method
has already been compiled. Fixes #479753.
* mini.c, mini.h: New function
mono_jit_find_compiled_method_with_jit_info() which is the same as
mono_jit_find_compiled_method() but also returns the jit info.
2009-03-05 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c (instantiate_other_info): Always return a jump
trampoline for method code.
2009-03-05 Mark Probst <mark.probst@gmail.com>
* bug-479763.2.cs: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=128723
Jb Evain [Thu, 5 Mar 2009 20:48:55 +0000 (20:48 -0000)]
we pass those
svn path=/trunk/mcs/; revision=128722
Jb Evain [Thu, 5 Mar 2009 20:48:13 +0000 (20:48 -0000)]
in System.Runtime.CompilerServices:
2009-03-05 Jb Evain <jbevain@novell.com>
* ExecutionScope.cs: add support for hoisted locals.
in System.Linq.Expressions:
2009-03-05 Jb Evain <jbevain@novell.com>
* EmitContext.cs
* ParameterExpression.cs:
add support for hoisted locals.
svn path=/trunk/mcs/; revision=128721
Mark Probst [Thu, 5 Mar 2009 20:16:59 +0000 (20:16 -0000)]
2009-03-05 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_method_to_ir): Only force the vtable var
for methods which actually have one. For all other methods, make
sure the this argument var is live the whole method.
* mini.c (mini_method_compile): Every shared method has a
this/vtable/mrgctx info. Fixes #480807.
svn path=/trunk/mono/; revision=128720
Atsushi Eno [Thu, 5 Mar 2009 19:10:55 +0000 (19:10 -0000)]
2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
* ContractDescriptionGenerator.cs : fill service known types.
* ServiceKnownTypeAttribute.cs : correct implementation to populate
specified types.
svn path=/trunk/mcs/; revision=128719
Atsushi Eno [Thu, 5 Mar 2009 18:46:40 +0000 (18:46 -0000)]
2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaderException.cs : added missing members.
svn path=/trunk/mcs/; revision=128717
Marek Habersack [Thu, 5 Mar 2009 18:05:11 +0000 (18:05 -0000)]
2009-03-05 Marek Habersack <mhabersack@novell.com>
* culture-info-tables.h: generated to include the en-tt culture.
2009-03-05 Marek Habersack <mhabersack@novell.com>
* locales/en_TT.xml: added here since openi18n.org times out and
also I can't update icu_locales.tar.gz. File based on en_ZA.xml
from that tarball, with appropriate modifications.
* Makefile.am (supp_data_files): added supp/en_TT.xml
svn path=/trunk/mono/; revision=128714
Bill Holmes [Thu, 5 Mar 2009 17:56:08 +0000 (17:56 -0000)]
2009-03-05 Bill Holmes <billholmes54@gmail.com>
* mono.def : Removing missing methods to remove link errors for
MSVC build.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=128713
Marek Habersack [Thu, 5 Mar 2009 16:13:56 +0000 (16:13 -0000)]
test
svn path=/trunk/mcs/; revision=128705
Jb Evain [Thu, 5 Mar 2009 15:58:29 +0000 (15:58 -0000)]
new tests
svn path=/trunk/mcs/; revision=128696
Jonathan Pobst [Thu, 5 Mar 2009 15:34:40 +0000 (15:34 -0000)]
2009-03-05 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDrowDown.cs: Remove some hardcoded values and assumptions.
* ToolStripDropDownButton.cs: This should use a ToolStripDropDownMenu,
not a ToolStripDropDown.
* ToolStripItem.cs: Don't use the item margins on a ToolStripDropDown.
svn path=/trunk/mcs/; revision=128694