Marek Safar [Wed, 19 Mar 2008 09:42:15 +0000 (09:42 -0000)]
2008-03-19 Marek Safar <marek.safar@gmail.com>
* generic.cs, generic-mcs.cs, expression.cs, ecore.cs: Rewrote nullable
binary operations to be purely based on binary operations and optimized
emitted code (30% less in some cases). Introduced ReducedExpression for ETs
and other ET refactoring.
* typemanager.cs: Fixed warning.
svn path=/trunk/mcs/; revision=98576
Zoltan Varga [Tue, 18 Mar 2008 23:18:41 +0000 (23:18 -0000)]
2008-03-19 Zoltan Varga <vargaz@gmail.com>
* Stopwatch.cs: Fix visibility of GetTimestamp () method.
svn path=/trunk/mcs/; revision=98562
Geoff Norton [Tue, 18 Mar 2008 21:15:06 +0000 (21:15 -0000)]
2008-03-18 Geoff Norton <gnorton@novell.com>
* Cache.cs: MS allows calling Insert in a removed handler, we need to
avoid double locking here otherwise the Insert will never succeed.
svn path=/trunk/mcs/; revision=98559
Andreia Gaita [Tue, 18 Mar 2008 19:20:05 +0000 (19:20 -0000)]
* System.Windows.Forms/WebBrowser.cs: Add missing attributes, missing
Padding and DefaultSize properties, remove extraneous getters
2008-03-18 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=98553
Paolo Molaro [Tue, 18 Mar 2008 18:28:18 +0000 (18:28 -0000)]
Tue Mar 18 20:18:02 CET 2008 Paolo Molaro <lupus@ximian.com>
* mini.c: make the test to optimize ldtoken from typeof() more
precise.
svn path=/trunk/mono/; revision=98550
Mark Probst [Tue, 18 Mar 2008 15:06:55 +0000 (15:06 -0000)]
2008-03-18 Mark Probst <mark.probst@gmail.com>
* generics-sharing-other-exc.2.il: Test case for catching
exceptions not derived from System.Exception specified by a type
variable.
* Makefile.am: Added the new test.
svn path=/trunk/mono/; revision=98535
Mark Probst [Tue, 18 Mar 2008 13:48:22 +0000 (13:48 -0000)]
2008-03-18 Mark Probst <mark.probst@gmail.com>
* mini.c: Generic sharing of the initobj instruction for reference
types.
2008-03-18 Mark Probst <mark.probst@gmail.com>
* generic-initobj.2.cs: Test case for initobj in generic code.
* Makefile.am: Added the new test.
svn path=/trunk/mono/; revision=98533
Igor Zelmanovich [Tue, 18 Mar 2008 12:53:10 +0000 (12:53 -0000)]
merge r98531
svn path=/trunk/mcs/; revision=98532
Paolo Molaro [Tue, 18 Mar 2008 10:50:26 +0000 (10:50 -0000)]
Tue Mar 18 12:39:27 CET 2008 Paolo Molaro <lupus@ximian.com>
* mini.h, mini-amd64.c, mini-x86.c, tramp-amd64.c, tramp-x86.c: change
the mono_breakpoint_clean_code() code to perform bound checks.
svn path=/trunk/mono/; revision=98527
Paolo Molaro [Tue, 18 Mar 2008 10:02:26 +0000 (10:02 -0000)]
Tue Mar 18 11:50:14 CET 2008 Paolo Molaro <lupus@ximian.com>
* mini.h, mini-trampolines.c, tramp-*.c: change the signature of
mono_arch_patch_callsite() to include the start of the managed method
to be able to perform bound checks.
svn path=/trunk/mono/; revision=98524
Igor Zelmanovich [Tue, 18 Mar 2008 09:43:04 +0000 (09:43 -0000)]
merge r98518
svn path=/trunk/mcs/; revision=98520
Carlos Alberto Cortez [Tue, 18 Mar 2008 05:21:42 +0000 (05:21 -0000)]
2008-03-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelper.cs: Implement a pair of GetListItemProperties
method overloads.
svn path=/trunk/mcs/; revision=98516
Rodrigo Kumpera [Mon, 17 Mar 2008 21:35:43 +0000 (21:35 -0000)]
2008-03-17 Rodrigo Kumpera <rkumpera@novell.com>
* make_constrained_test.sh: Test generator for constrained calls.
* make_test.sh: New tests using the added generator.
svn path=/trunk/mono/; revision=98498
Rodrigo Kumpera [Mon, 17 Mar 2008 21:29:16 +0000 (21:29 -0000)]
2008-03-17 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (VerifyContext): Added instruction prefix data to the struct.
* verify.c (is_compatible_boxed_valuetype): Don't check if the type is a valuetype, been boxed is enough.
* verify.c (do_invoke): Support constrained callvirt form. Grouped similar checks together.
* verify.c (do_cast): Let the result value keep the boxed status.
* verify.c (mono_method_verify): Add proper support for prefixed and implement contrained.
svn path=/trunk/mono/; revision=98497
Mark Probst [Mon, 17 Mar 2008 18:32:18 +0000 (18:32 -0000)]
2008-03-16 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c, class-internals.h: Support for putting
methods into the runtime generic context.
svn path=/trunk/mono/; revision=98478
Jonathan Pobst [Mon, 17 Mar 2008 18:20:13 +0000 (18:20 -0000)]
2008-03-16 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Move resetting the selected index to keypress
instead of textchanged. Changing the text programmatically
should not trigger resetting the selected index. Fixes test.
svn path=/trunk/mcs/; revision=98476
Veerapuram Varadhan [Mon, 17 Mar 2008 17:55:42 +0000 (17:55 -0000)]
** Fixes part1 of #357947 - delete the row directly from Index than
calling Update.
svn path=/trunk/mcs/; revision=98474
Marek Safar [Mon, 17 Mar 2008 17:39:06 +0000 (17:39 -0000)]
New tests.
svn path=/trunk/mcs/; revision=98473
Marek Safar [Mon, 17 Mar 2008 17:38:53 +0000 (17:38 -0000)]
2008-03-17 Marek Safar <marek.safar@gmail.com>
* class.cs, decl.cs, delegate.cs: Do protected modifier check on each member
* symbolwriter.cs: Fixed.
svn path=/trunk/mcs/; revision=98472
Marek Safar [Mon, 17 Mar 2008 16:32:19 +0000 (16:32 -0000)]
2008-03-17 Marek Safar <marek.safar@gmail.com>
* anonymous.cs, driver.cs: Reset anonymous types counters.
svn path=/trunk/mcs/; revision=98466
Marek Safar [Mon, 17 Mar 2008 16:30:29 +0000 (16:30 -0000)]
New test.
svn path=/trunk/mcs/; revision=98465
Marek Safar [Mon, 17 Mar 2008 16:30:05 +0000 (16:30 -0000)]
2008-03-17 Marek Safar <marek.safar@gmail.com>
* ecore.cs (MethodGroupExpr): Skip first candidate, it's already the best.
* class.cs: Use fullname for all type member definitions.
svn path=/trunk/mcs/; revision=98464
Marek Safar [Mon, 17 Mar 2008 16:22:28 +0000 (16:22 -0000)]
Disabled ltest-13
svn path=/trunk/mcs/; revision=98463
Marek Safar [Mon, 17 Mar 2008 16:21:26 +0000 (16:21 -0000)]
2008-03-17 Marek Safar <marek.safar@gmail.com>
* MonoMethod.cs (ToString): Print VarArgs argument.
svn path=/trunk/mcs/; revision=98462
Jonathan Pobst [Mon, 17 Mar 2008 16:00:05 +0000 (16:00 -0000)]
2008-03-16 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: When the user types into the textbox, reset
the selected index to -1. [Fixes bug #371672]
svn path=/trunk/mcs/; revision=98460
Jonathan Pobst [Mon, 17 Mar 2008 15:46:06 +0000 (15:46 -0000)]
2008-03-16 Jonathan Pobst <monkey@jpobst.com>
* FileDialog.cs: Support Control-A for selecting everything
in an OpenFileDialog. [Fixes bug #371564]
svn path=/trunk/mcs/; revision=98459
Mark Probst [Mon, 17 Mar 2008 14:59:30 +0000 (14:59 -0000)]
2008-03-17 Mark Probst <mark.probst@gmail.com>
* mini-ops.h, inssel.brg, inssel-long.brg, inssel-long32.brg,
inssel-long32-mips.brg: Added opcodes for doing indirect calls
with the runtime generic context argument.
* mini.c: Share calls to several types of unsharable methods by
putting the address of the method code in the runtime generic
context and doing an indirect call.
* graph.c, local-propagation.c, aliasing.c: Added the new opcodes
to switches.
2008-03-17 Mark Probst <mark.probst@gmail.com>
* shared-generic-methods.2.cs: Test case for calls from shared
code to generic methods.
* Makefile.am: Added the new test.
svn path=/trunk/mono/; revision=98456
Jb Evain [Mon, 17 Mar 2008 14:42:36 +0000 (14:42 -0000)]
2008-03-17 Jb Evain <jbevain@novell.com>
* reflection.c: when running on a 2.0 runtime, emit
unconditionally the #~ header version as 2.0, and the
CLI header version as 2.5, for symmetry's sake with csc.
svn path=/trunk/mono/; revision=98455
Geoff Norton [Mon, 17 Mar 2008 14:26:47 +0000 (14:26 -0000)]
2008-03-17 Geoff Norton <gnorton@novell.com>
* build-iphone.sh: Fix a typo.
svn path=/trunk/mono/; revision=98454
Igor Zelmanovich [Mon, 17 Mar 2008 10:10:59 +0000 (10:10 -0000)]
merge r98447
svn path=/trunk/mcs/; revision=98448
Atsushi Eno [Mon, 17 Mar 2008 09:38:02 +0000 (09:38 -0000)]
2008-03-17 Atsushi Enomoto <atsushi@ximian.com>
* DTMXPathDocumentBuilder2.cs : allow document fragment as XmlReader
input. Fixed bug #324606.
* XPathNavigatorTests.cs : added test for bug #324606.
svn path=/trunk/mcs/; revision=98446
Zoltan Varga [Sun, 16 Mar 2008 20:45:30 +0000 (20:45 -0000)]
2008-03-16 Zoltan Varga <vargaz@gmail.com>
* class.c: Remove the unused cache_interface_offsets stuff.
* class.c loader.c domain.c verify.c metadata.c debug-helpers.c threadpool.c
profiler.c: Fix warnings.
svn path=/trunk/mono/; revision=98429
Mark Probst [Sun, 16 Mar 2008 10:57:22 +0000 (10:57 -0000)]
2008-03-16 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c, class-internals.h: Support for putting
methods into the runtime generic context.
2008-03-16 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Change due to a change in the runtime genric
context API.
svn path=/trunk/mono/; revision=98417
Zoltan Varga [Sun, 16 Mar 2008 00:42:23 +0000 (00:42 -0000)]
2008-03-16 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs (GetField): Add test for #351172.
svn path=/trunk/mcs/; revision=98410
Zoltan Varga [Sun, 16 Mar 2008 00:37:21 +0000 (00:37 -0000)]
2008-03-16 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_fields): Ignore calls made to this function for
classes which are generic instances of not-yet finished typebuilders. Fixes
#351172.
* reflection.c (fixup_method): Add support for FieldOnTypeBuilderInst.
svn path=/trunk/mono/; revision=98409
Jonathan Pobst [Sat, 15 Mar 2008 23:07:26 +0000 (23:07 -0000)]
2008-03-15 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: When row/column visible/height properties
change, invalidate. Take the NIEX out of InvalidateRow/Column
etc. We don't support them yet, but we can just invalidate
everything until we do support them. (Added MonoTODO). Set
proper control styles.
* DataGridViewRow.cs: Don't call PaintHeader if row headers
are turned off.
svn path=/trunk/mcs/; revision=98402
Carlos Alberto Cortez [Sat, 15 Mar 2008 22:22:51 +0000 (22:22 -0000)]
2008-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelperTest.cs: New GetListItemType test.
svn path=/trunk/mcs/; revision=98400
Carlos Alberto Cortez [Sat, 15 Mar 2008 22:22:04 +0000 (22:22 -0000)]
2008-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
svn path=/trunk/mcs/; revision=98399
Zoltan Varga [Sat, 15 Mar 2008 20:32:13 +0000 (20:32 -0000)]
2008-03-15 Zoltan Varga <vargaz@gmail.com>
* metadata-internals.h (MonoDynamicImage): Add 'generic_def_objects' hash table.
* class-internals.h (MonoMethodInflated): Remove the rarely used reflection_info
field, replace it with a hash table in MonoDynamicImage.
* reflection.c (inflate_mono_method): Access the generic definition object from
image->generic_def_objects instead of imethod->reflection_info.
* reflection.c (mono_reflection_bind_generic_method_parameters): Ditto.
* icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition): Ditto.
svn path=/trunk/mono/; revision=98398
Miguel de Icaza [Sat, 15 Mar 2008 19:38:17 +0000 (19:38 -0000)]
Improve error message, based ona patch from Brad Langhorst
svn path=/trunk/mcs/; revision=98395
Zoltan Varga [Sat, 15 Mar 2008 19:28:35 +0000 (19:28 -0000)]
2008-03-15 Zoltan Varga <vargaz@gmail.com>
* image.c (mono_image_close): Move the dynamic image freeing code to a separate
function in reflection.c so it is easier to keep in sync with the dynamic image
creation code.
* reflection.c (mono_dynamic_image_free): New internal function, extracted from
mono_image_close ().
svn path=/trunk/mono/; revision=98394
Mark Probst [Sat, 15 Mar 2008 12:44:05 +0000 (12:44 -0000)]
2008-03-15 Mark Probst <mark.probst@gmail.com>
* class.c (mono_class_generic_sharing_enabled): Disable generic
sharing for all architectures except AMD64 and x86 to fix build.
svn path=/trunk/mono/; revision=98389
Gert Driesen [Sat, 15 Mar 2008 12:43:40 +0000 (12:43 -0000)]
* RuntimeResourceSet.cs: On 2.0 profile, throw ObjectDisposedException
when ResourceSet is disposed.
svn path=/trunk/mcs/; revision=98388
Gert Driesen [Sat, 15 Mar 2008 12:41:37 +0000 (12:41 -0000)]
* ResourceManager.cs: Default to RuntimeResourceSet for all ctors.
* ResourceSet.cs: Avoid duplicate argument checks. On 2.0 profile,
throw ObjectDisposedException when ResourceSet is disposed.
* RuntimeResourceSet.cs: On 2.0 profile, throw ObjectDisposedException
when ResourceSet is disposed.
* ResourceManagerTest.cs: Enabled and added ResourceSetType asserts.
Added test for disposed ResourceSet. Avoid using ExpectedException.
* ResourceSetTest.cs: Improved tests for ctor argument checks. Avoid
using ExpectedException.
svn path=/trunk/mcs/; revision=98387
Gert Driesen [Sat, 15 Mar 2008 07:34:51 +0000 (07:34 -0000)]
* DesignerAttribute.cs: To match MS, throw NRE when designerTypeName argument
is null in ctors.
* System_test.dll.sources: Added DesignerAttributeTest.cs.
* DesignerAttributeTest.cs: Added ctor tests.
svn path=/trunk/mcs/; revision=98385
Martin Baulig [Sat, 15 Mar 2008 01:13:58 +0000 (01:13 -0000)]
Ooops, sorry for the breakage.
svn path=/trunk/mono/; revision=98375
Martin Baulig [Sat, 15 Mar 2008 00:40:50 +0000 (00:40 -0000)]
2008-03-15 Martin Baulig <martin@ximian.com>
* tramp-x86.c
(mono_arch_nullify_class_init_trampoline): Add call to
mono_breakpoint_clean_code() to make things work when running
inside the debugger.
svn path=/trunk/mono/; revision=98374
Martin Baulig [Sat, 15 Mar 2008 00:35:02 +0000 (00:35 -0000)]
2008-03-15 Martin Baulig <martin@ximian.com>
* tramp-amd64.c
(mono_arch_nullify_class_init_trampoline): Add call to
mono_breakpoint_clean_code() to make things work when running
inside the debugger.
svn path=/trunk/mono/; revision=98372
Marek Safar [Fri, 14 Mar 2008 22:59:09 +0000 (22:59 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Handle new tests correctly.
svn path=/trunk/mcs/; revision=98361
Miguel de Icaza [Fri, 14 Mar 2008 22:55:43 +0000 (22:55 -0000)]
Added missing Makefile
svn path=/trunk/mcs/; revision=98360
Miguel de Icaza [Fri, 14 Mar 2008 21:30:31 +0000 (21:30 -0000)]
Add System.Data.DataSetExtensions stubs for Marek Habersack
svn path=/trunk/mcs/; revision=98358
Jonathan Pobst [Fri, 14 Mar 2008 20:46:54 +0000 (20:46 -0000)]
2008-03-14 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewRow.cs: Only paint the white background in
cell bounds, the row bounds extends past the cells if the
grid width isn't as wide as the DGV.
svn path=/trunk/mcs/; revision=98354
Rodrigo Kumpera [Fri, 14 Mar 2008 20:37:32 +0000 (20:37 -0000)]
* valid_generic_test.cs: Tests for generic classes.
* unverifiable_generic_type_field_access.il: Tests for
not mixing generic arguments.
* valid_generic_test.cs: Add tests for generic
class and method together.
2008-03-12 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=98351
Rodrigo Kumpera [Fri, 14 Mar 2008 20:34:55 +0000 (20:34 -0000)]
2008-03-14 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Use the generic definition MonoGenericContext when available.
Remove code for checking generics instance compatibility in favor of
mono_class_is_assignable_from.
svn path=/trunk/mono/; revision=98350
Zoltan Varga [Fri, 14 Mar 2008 20:22:31 +0000 (20:22 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* inssel-long.brg (reg): Fix 64 bit build.
svn path=/trunk/mono/; revision=98348
Jonathan Pobst [Fri, 14 Mar 2008 20:08:41 +0000 (20:08 -0000)]
2008-03-14 Jonathan Pobst <monkey@jpobst.com>
* DataGridView*: Completely revamp the drawing to match the
public API. Our grids now look better, and call all the
appropriate methods and event to allow users to override
the painting and do their own.
svn path=/trunk/mcs/; revision=98347
Mark Probst [Fri, 14 Mar 2008 19:58:04 +0000 (19:58 -0000)]
2008-03-14 Mark Probst <mark.probst@gmail.com>
* mini.c, mini.h: Share static generic code by passing it an
implicit argument pointing to the runtime generic context.
* mini-ops.h, inssel.brg, inssel-long.brg, inssel-long32.brg,
inssel-long32-mips.brg: New opcodes for calling shared static,
which need to be passed the runtime generic context.
* mini-amd64.c, mini-x86.c: Save the runtime generic context
argument on the stack in the prologue if needed. New function for
finding the runtime generic context argument from the registers
saved by the trampoline.
* mini-amd64.h, mini-x86.h: Specify which register to use for the
runtime generic context argument.
* tramp-amd64.c: Also restore the register used for the runtime
generic context argument.
* mini-trampoline.c: Resolve shared static calls by consulting the
runtime generic context via the new argument.
* generic-sharing.c: Add an argument to sharability-checking
functions that specifies whether type variables should be treated
as sharable type arguments.
* inssel-x86.brg: Removed a superfluous, buggy rule.
* graph.c, local-propagation.c, aliasing.c: Added the new opcodes
to switches.
2008-03-14 Mark Probst <mark.probst@gmail.com>
* marshal.c, marshal.h, metadata-internals.h, image.c,
wrapper-types.h: New wrapper for invoking a shared static method
without having to pass the runtime generic context argument.
2008-03-14 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.cs: New tests for static methods.
* generic-inlining.2.cs: Added. Tests generic method inlining.
* shared-generic-synchronized.2.cs: Added. Tests shared
synchronized methods.
* Makefile.am: Added the new tests. New target for running the
generic code sharing with the optimization enabled.
svn path=/trunk/mono/; revision=98345
Miguel de Icaza [Fri, 14 Mar 2008 19:45:37 +0000 (19:45 -0000)]
Clarify the license to track our web site
svn path=/trunk/mono/; revision=98341
Rodrigo Kumpera [Fri, 14 Mar 2008 19:06:30 +0000 (19:06 -0000)]
2008-03-14 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h: Add missing function PerformanceCounterCategory::GetInstanceNames.
svn path=/trunk/mono/; revision=98337
Zoltan Varga [Fri, 14 Mar 2008 19:00:39 +0000 (19:00 -0000)]
Remove a FIXME.
svn path=/trunk/mono/; revision=98335
Zoltan Varga [Fri, 14 Mar 2008 18:59:22 +0000 (18:59 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_field_on_inst_token): Add caching.
svn path=/trunk/mono/; revision=98334
Zoltan Varga [Fri, 14 Mar 2008 18:58:45 +0000 (18:58 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* TypeBuilderTest.cs: Add tests for GetField ().
svn path=/trunk/mcs/; revision=98333
Zoltan Varga [Fri, 14 Mar 2008 18:50:24 +0000 (18:50 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* MonoGenericClass.cs (GetField): Construct a FieldOnTypeBuilderInst object
instead of using GetCorrespondingInflatedField. This is needed so this class can
reflect the changes made to the type builder after initialize () has been called.
svn path=/trunk/mcs/; revision=98330
Zoltan Varga [Fri, 14 Mar 2008 18:47:21 +0000 (18:47 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* corlib.dll.sources: Add System.Reflection.Emit/FieldOnTypeBuilderInst.cs.
svn path=/trunk/mcs/; revision=98328
Zoltan Varga [Fri, 14 Mar 2008 18:47:01 +0000 (18:47 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* FieldOnTypeBuilderInst.cs: New file.
svn path=/trunk/mcs/; revision=98327
Zoltan Varga [Fri, 14 Mar 2008 18:45:04 +0000 (18:45 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_get_field_on_inst_token): New helper function to
create a token from a FieldOnTypeBuilderInst.
(mono_image_create_token): Handle FieldOnTypeBuilderInst.
(resolve_object): Ditto.
* object-internals.h (MonoReflectionFieldOnTypeBuilderInst): New structure
mirroring System.Reflection.Emit.FieldOnTypeBuilderInst.
svn path=/trunk/mono/; revision=98325
Martin Baulig [Fri, 14 Mar 2008 18:09:37 +0000 (18:09 -0000)]
Fix compiler warnings.
svn path=/trunk/mcs/; revision=98307
Martin Baulig [Fri, 14 Mar 2008 18:06:49 +0000 (18:06 -0000)]
2008-02-19 Martin Baulig <martin@ximian.com>
* class.cs
(IMethodData.EmitExtraSymbolInfo): New interface method.
(MethodData.Emit): Call method.EmitExtraSymbolInfo().
(MethodOrOperator.EmitExtraSymbolInfo): Implement this new
interface method here as an empty public virtual method.
* anonymous.cs
(AnonymousMethodMethod.ctor): Added `string real_name' argument.
(AnonymousMethodMethod.EmitExtraSymbolInfo): Override and call
CodeGen.SymbolWriter.SetRealMethodName().
2008-02-18 Martin Baulig <martin@ximian.com>
* anonymous.cs
(ScopeInfo.EmitType): Override this and emit debugging
information for captured variables.
(RootScopeInfo.EmitType): Override this and emit symbol
information for a captured `this'.
2008-02-15 Martin Baulig <martin@ximian.com>
* iterators.cs: Emit debugging info.
* codegen.cs
(EmitContext.Flags): Add `OmitDebuggingInfo'.
(EmitContext.OmitDebuggingInfo): New public property.
* statement.cs
(While): Override Emit() and don't emit symbol info there; do it
inside DoEmit() instead.
(Block.Emit): Omit symbol information while emitting the scope
initializers; don't ec.Mark() the `EndLocation'. Fix the lexical
block logic.
(ExplicitBlock.IsIterator): Moved here from `ToplevelBlock'.
(ToplevelBlock.MakeIterator): Pass the `flags' to `ExplicitBlock's
.ctor to make `IsIterator' work.
svn path=/trunk/mcs/; revision=98305
Martin Baulig [Fri, 14 Mar 2008 17:58:20 +0000 (17:58 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
* symbolwriter.cs: Added the new symbol writer function from the
debugger's `terrania' branch; temporarily enclose them inside
`#if !DISABLE_TERRANIA_CHANGES' conditionals until I'm back from
my vacations.
svn path=/trunk/mcs/; revision=98304
Martin Baulig [Fri, 14 Mar 2008 17:44:22 +0000 (17:44 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
* symbolwriter.cs
(SymbolWriter): Make this a public static class.
* codegen.cs
(CodeGen.SymbolWriter): Removed; use the new static `SymbolWriter'
class instead of using `if (CodeGen.SymbolWriter != null)' everywhere.
svn path=/trunk/mcs/; revision=98301
Martin Baulig [Fri, 14 Mar 2008 17:14:05 +0000 (17:14 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
Merged the debugger's `terrania' branch into trunk.
svn path=/trunk/mcs/; revision=98296
Atsushi Eno [Fri, 14 Mar 2008 17:12:26 +0000 (17:12 -0000)]
2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
* CustomizableFileSettingsProvider.cs : cosmetic header fix
requested by the author.
svn path=/trunk/mcs/; revision=98295
Martin Baulig [Fri, 14 Mar 2008 16:55:59 +0000 (16:55 -0000)]
2008-03-14 Martin Baulig <martin@ximian.com>
* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 68.
* debug-mono-symfile.h
(MONO_SYMBOL_FILE_VERSION): Bump to 41.
(MONO_SYMBOL_FILE_COMPATIBILITY_VERSION): New #define.
2008-03-10 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.h
(MonoSymbolFileMethodAddress): Removed `num_lexical_blocks' and
`lexical_block_table_offset'.
(MonoDebugMethodInfo): Removed `num_lexical_blocks' and
`lexical_blocks'.
(MonoSymbolFile): Added `version'.
* mono-debug.h
(MonoDebugLexicalBlockEntry): Removed.
(MonoDebugMethodJitInfo): Removed `num_lexical_blocks' and
`lexical_blocks'.
* mono-debug.c (mono_debug_add_method): Don't compute lexical
blocks here; the debugger now does this internally.
2008-02-27 Martin Baulig <martin@ximian.com>
* object.c (mono_runtime_exec_main): Call
`mono_debugger_event (MONO_DEBUGGER_EVENT_REACHED_MAIN)' and
`mono_debugger_event (MONO_DEBUGGER_EVENT_MAIN_EXITED)' here.
svn path=/trunk/mono/; revision=98292
Zoltan Varga [Fri, 14 Mar 2008 16:33:22 +0000 (16:33 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Fix build on platforms without IMT.
svn path=/trunk/mono/; revision=98287
Marek Safar [Fri, 14 Mar 2008 16:28:05 +0000 (16:28 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
A test for bug #370577
svn path=/trunk/mcs/; revision=98285
Marek Safar [Fri, 14 Mar 2008 16:27:40 +0000 (16:27 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
A fix for bug #370577
* statement.cs, lambda.cs: Added extra limitations when dealing with void
return type.
svn path=/trunk/mcs/; revision=98284
Mark Probst [Fri, 14 Mar 2008 15:18:23 +0000 (15:18 -0000)]
2008-03-14 Mark Probst <mark.probst@gmail.com>
* tramp-x86.c: Fixed register restore offsets in the trampoline
code for ECX and EDX.
svn path=/trunk/mono/; revision=98271
Zoltan Varga [Fri, 14 Mar 2008 12:02:08 +0000 (12:02 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* BinderTests.cs: Add tests for #367655.
svn path=/trunk/mcs/; revision=98265
Zoltan Varga [Fri, 14 Mar 2008 11:58:05 +0000 (11:58 -0000)]
2008-03-14 Zoltan Varga <vargaz@gmail.com>
* Binder.cs (ChangeType): Add support for Char->Double/Single conversations. Fixes
#367655.
svn path=/trunk/mcs/; revision=98264
Marek Safar [Fri, 14 Mar 2008 11:54:16 +0000 (11:54 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Replaced XmlTextWriter and XmlTextReader with
XmlWriter and XmlReader.
svn path=/trunk/mcs/; revision=98263
Marek Safar [Fri, 14 Mar 2008 10:59:19 +0000 (10:59 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* typemanager.cs (CSharpName): Made 250 times faster.
svn path=/trunk/mcs/; revision=98260
Marek Safar [Fri, 14 Mar 2008 10:38:11 +0000 (10:38 -0000)]
Fixes 1.1 build
svn path=/trunk/mcs/; revision=98259
Robert Jordan [Fri, 14 Mar 2008 10:25:10 +0000 (10:25 -0000)]
2008-03-14 Robert Jordan <robertj@gmx.net>
* mono-dl.c (w32_load_module): prevent error dialog by resetting
the Win32 error mode during LoadLibrary (). Fixes #360363.
* mono-dl.c (w32_dlerror): kill a warning.
svn path=/trunk/mono/; revision=98258
Paolo Molaro [Fri, 14 Mar 2008 09:12:58 +0000 (09:12 -0000)]
This POS doesn't seem to behave like the rest of the build.
svn path=/trunk/mcs/; revision=98256
Marek Safar [Fri, 14 Mar 2008 09:06:17 +0000 (09:06 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* Makefile: New compiler-tester options.
svn path=/trunk/mcs/; revision=98253
Marek Safar [Fri, 14 Mar 2008 09:05:40 +0000 (09:05 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* Makefile: New compiler-tester options.
svn path=/trunk/mcs/; revision=98252
Marek Safar [Fri, 14 Mar 2008 09:03:20 +0000 (09:03 -0000)]
2008-03-14 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Added IL regression support.
svn path=/trunk/mcs/; revision=98251
Paolo Molaro [Fri, 14 Mar 2008 07:44:11 +0000 (07:44 -0000)]
Fri Mar 14 09:31:59 CET 2008 Paolo Molaro <lupus@ximian.com>
* rules.make, library.make: move GACUTIL definition into rules.make as
it's used also by the tools. Add the hidden -bootstrap option.
svn path=/trunk/mcs/; revision=98247
Paolo Molaro [Fri, 14 Mar 2008 07:44:04 +0000 (07:44 -0000)]
Fri Mar 14 09:29:29 CET 2008 Paolo Molaro <lupus@ximian.com>
* driver.cs: added a bootstrap option to ignore sn failures for now
when bootstrapping a build. The option name will periodically change
so no one else can use it.
svn path=/trunk/mcs/; revision=98246
Carlos Alberto Cortez [Fri, 14 Mar 2008 05:58:45 +0000 (05:58 -0000)]
2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.Windows.Forms_test.dll.sources: Added
ListBindingHelperTest.cs.
svn path=/trunk/mcs/; revision=98243
Carlos Alberto Cortez [Fri, 14 Mar 2008 05:56:56 +0000 (05:56 -0000)]
2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelperTest.cs: New file and a new test.
svn path=/trunk/mcs/; revision=98242
Carlos Alberto Cortez [Fri, 14 Mar 2008 05:53:38 +0000 (05:53 -0000)]
2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelper.cs: Implement 2.0 GetList methods.
svn path=/trunk/mcs/; revision=98241
Atsushi Eno [Fri, 14 Mar 2008 02:59:54 +0000 (02:59 -0000)]
2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
* driver.cs : temporarily disable r98206 strongname check
until the build gets fixed.
svn path=/trunk/mcs/; revision=98233
Sebastien Pouliot [Fri, 14 Mar 2008 00:40:40 +0000 (00:40 -0000)]
2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConvert.cs: Re-order exception handling to report the most
precise error to caller. Apply RSA extra check to DSA.
* RSAManaged.cs: Test imported parameters to ensure the public and
private parts of the keypair match together.
svn path=/trunk/mcs/; revision=98226
Sebastien Pouliot [Fri, 14 Mar 2008 00:40:06 +0000 (00:40 -0000)]
2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConvert.cs: Re-order exception handling to report the most
precise error to caller. Apply RSA extra check to DSA.
* RSAManaged.cs: Test imported parameters to ensure the public and
private parts of the keypair match together.
svn path=/trunk/mcs/; revision=98225
Sebastien Pouliot [Thu, 13 Mar 2008 22:37:12 +0000 (22:37 -0000)]
2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Update copyright notices.
* sn.cs: Display a better error message if an assembly is not
strongnamed but yet delay-signed (the old one succeeded to confuse
myself ;-). Display messages from CryptographicException since
those are not unknown errors (like other exceptions).
svn path=/trunk/mcs/; revision=98220
Jonathan Pobst [Thu, 13 Mar 2008 21:59:58 +0000 (21:59 -0000)]
2008-03-13 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Implement BorderStyle.
svn path=/trunk/mcs/; revision=98215
Marek Habersack [Thu, 13 Mar 2008 21:30:12 +0000 (21:30 -0000)]
2008-03-13 Marek Habersack <mhabersack@novell.com>
* ApplicationHostTest.cs: adjust test for the PrivateBinPath
change in ApplicationHost.
2008-03-13 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: use HttpApplication.BinDirs to
create watchers for binary application directories.
* HttpApplication.cs:
Remove the BinDirectories enumerator property, replaced with a
BinDirectory one returning a string with path to the binary
directory.
2008-03-13 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
checking whether we're running in a case-insensitive environment.
Revert to the single-bin-dir behavior when setting the
PrivateBinPath - the directories are sought for in the order given
by HttpApplication.BinDirs and the first existing directory is set
as the value of PrivateBinPath. If none of those are found,
PrivateBinPath defaults to "bin" (and "/app/full/path/bin" in the
2.0 profile)
2008-03-13 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: HttpApplication.BinaryDirectories property no longer
exists, use HttpApplication.BinDirectory instead.
svn path=/trunk/mcs/; revision=98211
Paolo Molaro [Thu, 13 Mar 2008 20:44:40 +0000 (20:44 -0000)]
Thu Mar 13 22:33:36 CET 2008 Paolo Molaro <lupus@ximian.com>
* driver.cs: run sn on the assembly to ensure it is strongly named.
svn path=/trunk/mcs/; revision=98206
Paolo Molaro [Thu, 13 Mar 2008 20:43:22 +0000 (20:43 -0000)]
Thu Mar 13 22:32:24 CET 2008 Paolo Molaro <lupus@ximian.com>
* Makefile: strong name the tuned assemblies.
svn path=/trunk/mcs/; revision=98205