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
Mark Probst [Thu, 5 Mar 2009 14:06:59 +0000 (14:06 -0000)]
2009-03-05 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c (mono_arch_build_imt_thunk): Add support for mixed
generic/imt thunks where some entries branch through the vtable,
while other entries branch directly.
svn path=/trunk/mono/; revision=128690
Marek Safar [Thu, 5 Mar 2009 13:37:23 +0000 (13:37 -0000)]
Less static is good for my health.
svn path=/trunk/mcs/; revision=128684
Zoltan Varga [Thu, 5 Mar 2009 13:22:48 +0000 (13:22 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* mini-darwin.c (mono_chain_signal): Define this to fix the build.
* mini-windows.c: Ditto.
svn path=/trunk/mono/; revision=128683
Jb Evain [Thu, 5 Mar 2009 12:23:33 +0000 (12:23 -0000)]
new test
svn path=/trunk/mcs/; revision=128682
Rolf Bjarne Kvinge [Thu, 5 Mar 2009 11:54:52 +0000 (11:54 -0000)]
2009-03-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
* WaitHandle.cs: Added missing WaitOne overload.
svn path=/trunk/mcs/; revision=128681
Marek Safar [Thu, 5 Mar 2009 11:40:08 +0000 (11:40 -0000)]
2009-03-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #480100
* parameter.cs: A parameter is not hoisted when used directly as ET.
svn path=/trunk/mcs/; revision=128679
Atsushi Eno [Thu, 5 Mar 2009 09:33:52 +0000 (09:33 -0000)]
2009-03-05 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs, MessageHeaders.cs, MessageImpl.cs :
handle headers in SL2. Slightly changed 3.0 code too.
* Makefile : added /r:System.Xml.Linq in 2.1 too.
svn path=/trunk/mcs/; revision=128670
Rodrigo Kumpera [Thu, 5 Mar 2009 02:45:14 +0000 (02:45 -0000)]
2009-03-04 Rodrigo Kumpera <rkumpera@novell.com>
* domain-internals.h (MonoDomain): Add two fields to cache invoke wrappers to
capture the thread context.
* object.c (mono_async_result_new): Cache the invoke wrappers to
ExecutionContext::Capture.
svn path=/trunk/mono/; revision=128664
Rodrigo Kumpera [Thu, 5 Mar 2009 02:45:05 +0000 (02:45 -0000)]
2009-03-04 Rodrigo Kumpera <rkumpera@novell.com>
* marshal.h: Add a prototype for what mono_compile_method returns
for invoke wrappers.
* gc.c: Use the new prototype declaration.
svn path=/trunk/mono/; revision=128663
Geoff Norton [Thu, 5 Mar 2009 02:07:48 +0000 (02:07 -0000)]
whoops
svn path=/trunk/mono/; revision=128662
Geoff Norton [Thu, 5 Mar 2009 02:07:43 +0000 (02:07 -0000)]
2009-03-04 Geoff Norton <gnorton@novell.com>
* boehm-gc.c: Add some MONO_LOG tracing for the GC
* gc-internal.h:
* mono-gc.h: Expose mono_gc_invoke_finalizers in the embedding api.
svn path=/trunk/mono/; revision=128661
Ivan Zlatev [Wed, 4 Mar 2009 23:47:15 +0000 (23:47 -0000)]
2009-03-04 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Fix RowCount/ColumnCount decreasing.
* DataGridViewTest.cs: Add tests for RowCount/ColumnCount decreasing.
Based on a patch by Tom Hindle <tom_hindle@sil.org>
[Fixes bug #482133]
svn path=/trunk/mcs/; revision=128645
Zoltan Varga [Wed, 4 Mar 2009 23:15:48 +0000 (23:15 -0000)]
2009-03-05 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_jit_runtime_invoke): Speed up the invoking of parameterless
ctors.
svn path=/trunk/mono/; revision=128638
Ivan Zlatev [Wed, 4 Mar 2009 22:31:19 +0000 (22:31 -0000)]
2009-03-04 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs, DataGridViewElement.cs:
- Always calls OnDataGridViewChanged() if the new DGV is
not the same/null as the current one.
- Do not throw NREs when setting TopLeftHeaderCell to null
- Unset the DGV for TopLeftHeaderCell when replacing it
* DataGridViewCellTest.cs: Add tests for OnDataGridViewChanged behavior.
Based on a patch by Tom Hindle <tom_hindle@sil.org>
[Fixes bug #481681]
svn path=/trunk/mcs/; revision=128628
Marek Habersack [Wed, 4 Mar 2009 20:02:09 +0000 (20:02 -0000)]
typo fix
svn path=/trunk/mcs/; revision=128610
Miguel de Icaza [Wed, 4 Mar 2009 19:22:20 +0000 (19:22 -0000)]
Allow doc tool to process this
svn path=/trunk/mono/; revision=128607
Marek Safar [Wed, 4 Mar 2009 19:19:37 +0000 (19:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=128606
Marek Habersack [Wed, 4 Mar 2009 19:03:18 +0000 (19:03 -0000)]
2009-03-04 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: do not clean the dynamic base directory in
DoUnload, it can cause race conditions.
svn path=/trunk/mcs/; revision=128602
Marek Safar [Wed, 4 Mar 2009 18:53:23 +0000 (18:53 -0000)]
2009-03-04 Marek Safar <marek.safar@gmail.com>
* statement.cs: Fixed an issue when using variable is of interface
type.
svn path=/trunk/mcs/; revision=128600
Atsushi Eno [Wed, 4 Mar 2009 18:47:53 +0000 (18:47 -0000)]
2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
* CrossDomainPolicy.cs : added validation method. Not sure if it is
complete.
* CrossDomainAccessManager.cs : validate against crossdomain.xml too.
svn path=/trunk/mcs/; revision=128593
Atsushi Eno [Wed, 4 Mar 2009 18:09:16 +0000 (18:09 -0000)]
2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
* CrossDomainAccessManager.cs : replace reflection-based
Uri retrieval with actually working one.
* HttpRequestChannel.cs : use cross domain access manager.
svn path=/trunk/mcs/; revision=128581
Atsushi Eno [Wed, 4 Mar 2009 17:22:41 +0000 (17:22 -0000)]
2009-03-04 Atsushi Enomoto <atsushi@ximian.com>
* CrossDomainAccessManager.cs : 2.1 WebRequest misses some
members used here.
* Makefile : add /r:System.Core in 2.1 build.
svn path=/trunk/mcs/; revision=128579
Jonathan Pobst [Wed, 4 Mar 2009 16:59:45 +0000 (16:59 -0000)]
2009-03-04 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDown.cs: When dismissing control due to ESC, don't
hit a NRE if we are a ContextMenuStrip and do not have a parent.
[Fixes bug #478616]
svn path=/trunk/mcs/; revision=128573
Jb Evain [Wed, 4 Mar 2009 16:53:57 +0000 (16:53 -0000)]
2009-03-04 Jb Evain <jbevain@novell.com>
* Mono.Cecil/StructureWriter.cs: properly set the metadata tokens
of newly emitted modules and assemblies. Fix #480729.
svn path=/trunk/mcs/; revision=128572
Rolf Bjarne Kvinge [Wed, 4 Mar 2009 16:49:21 +0000 (16:49 -0000)]
In .:
2009-03-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
* System.Net.dll.sources: Added WriteStreamClosedEventArgs_2_1.cs
and WriteStreamClosedEventHandler_2_1.cs
In System.Net:
2009-03-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
* WebClient_2_1.cs: Stub out missing methods.
* WriteStreamClosedEventArgs_2_1.cs:
* WriteStreamClosedEventHandler_2_1.cs: Added.
svn path=/trunk/mcs/; revision=128571
Atsushi Eno [Wed, 4 Mar 2009 16:47:34 +0000 (16:47 -0000)]
2009-03-04 Astushi Enomoto <atsushi@ximian.com>
* net_2_1_raw_System.ServiceModel.dll.sources :
added cross domain checker sources.
* CrossDomainAccessManager.cs, ClientAccessPolicy.cs,
CrossDomainPolicy.cs : new. support cross domain access check.
svn path=/trunk/mcs/; revision=128570
Zoltan Varga [Wed, 4 Mar 2009 16:33:59 +0000 (16:33 -0000)]
2009-03-04 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_line_number_info): Add some debug code to help track
down an assert.
svn path=/trunk/mono/; revision=128568
Martin Baulig [Wed, 4 Mar 2009 15:40:48 +0000 (15:40 -0000)]
Clean up the debugger's exception API and add some documentation.
2009-03-04 Martin Baulig <martin@ximian.com>
* debug-mini.c: Clean up the exception API and add documentation.
(mono_debugger_handle_exception): New public method; this is
called when throwing an exception or encountering an unhandled one.
(mono_debugger_call_exception_handler): Formerly known as
mono_debugger_handle_exception(); this is used to tell the
debugger that we're about to invoke an exception handler.
svn path=/trunk/mono/; revision=128556
Mark Probst [Wed, 4 Mar 2009 15:23:53 +0000 (15:23 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* Makefile.am: Second part of the erroneous change reverted. I
suck.
svn path=/trunk/mono/; revision=128554
Mark Probst [Wed, 4 Mar 2009 15:21:05 +0000 (15:21 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* Makefile.am: Erroneous change reverted.
svn path=/trunk/mono/; revision=128553
Mark Probst [Wed, 4 Mar 2009 15:13:32 +0000 (15:13 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: Don't inline methods that use JMP. Fixes
#481403.
2009-03-04 Mark Probst <mark.probst@gmail.com>
* bug-481403.il: New test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=128552
Mark Probst [Wed, 4 Mar 2009 15:05:34 +0000 (15:05 -0000)]
2009-03-04 Mark Probst <mark.probst@gmail.com>
* exceptions-x86.c: Include debug-mini.h - fixes build.
svn path=/trunk/mono/; revision=128549