mono.git
16 years agoDisabled ltest-13
Marek Safar [Mon, 17 Mar 2008 16:22:28 +0000 (16:22 -0000)]
Disabled ltest-13

svn path=/trunk/mcs/; revision=98463

16 years ago2008-03-17 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-16 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-16 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-17 Mark Probst <mark.probst@gmail.com>
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

16 years ago2008-03-17 Jb Evain <jbevain@novell.com>
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

16 years ago2008-03-17 Geoff Norton <gnorton@novell.com>
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

16 years agomerge r98447
Igor Zelmanovich [Mon, 17 Mar 2008 10:10:59 +0000 (10:10 -0000)]
merge r98447

svn path=/trunk/mcs/; revision=98448

16 years ago2008-03-17 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2008-03-16 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-16 Mark Probst <mark.probst@gmail.com>
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

16 years ago2008-03-16 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-16 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-15 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-15 Zoltan Varga <vargaz@gmail.com>
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

16 years agoImprove error message, based ona patch from Brad Langhorst
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

16 years ago2008-03-15 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-15 Mark Probst <mark.probst@gmail.com>
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

16 years ago* RuntimeResourceSet.cs: On 2.0 profile, throw ObjectDisposedException
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

16 years ago* ResourceManager.cs: Default to RuntimeResourceSet for all ctors.
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

16 years ago* DesignerAttribute.cs: To match MS, throw NRE when designerTypeName argument
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

16 years agoOoops, sorry for the breakage.
Martin Baulig [Sat, 15 Mar 2008 01:13:58 +0000 (01:13 -0000)]
Ooops, sorry for the breakage.

svn path=/trunk/mono/; revision=98375

16 years ago2008-03-15 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-15 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years agoAdded missing Makefile
Miguel de Icaza [Fri, 14 Mar 2008 22:55:43 +0000 (22:55 -0000)]
Added missing Makefile

svn path=/trunk/mcs/; revision=98360

16 years agoAdd System.Data.DataSetExtensions stubs for Marek Habersack
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

16 years ago2008-03-14 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago * valid_generic_test.cs: Tests for generic classes.
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

16 years ago2008-03-14 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-14 Mark Probst <mark.probst@gmail.com>
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

16 years agoClarify the license to track our web site
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

16 years ago2008-03-14 Rodrigo Kumpera <rkumpera@novell.com>
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

16 years agoRemove a FIXME.
Zoltan Varga [Fri, 14 Mar 2008 19:00:39 +0000 (19:00 -0000)]
Remove a FIXME.

svn path=/trunk/mono/; revision=98335

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years agoFix compiler warnings.
Martin Baulig [Fri, 14 Mar 2008 18:09:37 +0000 (18:09 -0000)]
Fix compiler warnings.

svn path=/trunk/mcs/; revision=98307

16 years ago2008-02-19 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2008-03-14 Martin Baulig <martin@ximian.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Mark Probst <mark.probst@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Zoltan Varga <vargaz@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years agoFixes 1.1 build
Marek Safar [Fri, 14 Mar 2008 10:38:11 +0000 (10:38 -0000)]
Fixes 1.1 build

svn path=/trunk/mcs/; revision=98259

16 years ago2008-03-14 Robert Jordan <robertj@gmx.net>
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

16 years agoThis POS doesn't seem to behave like the rest of the build.
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-03-14 Marek Safar <marek.safar@gmail.com>
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

16 years agoFri Mar 14 09:31:59 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years agoFri Mar 14 09:29:29 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years ago2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-03-14 Atsushi Enomoto <atsushi@ximian.com>
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

16 years ago2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-03-13 Sebastien Pouliot <sebastien@ximian.com>
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

16 years ago2008-03-13 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-03-13 Marek Habersack <mhabersack@novell.com>
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

16 years agoThu Mar 13 22:33:36 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years agoThu Mar 13 22:32:24 CET 2008 Paolo Molaro <lupus@ximian.com>
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

16 years agoUncorrupt key.
Paolo Molaro [Thu, 13 Mar 2008 20:09:57 +0000 (20:09 -0000)]
Uncorrupt key.

svn path=/trunk/mcs/; revision=98202

16 years ago2008-03-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 13 Mar 2008 19:45:52 +0000 (19:45 -0000)]
2008-03-13  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: use HttpRuntime.CaseInsensitive instead of
own IsRunningOnWindows.

* HttpRuntime.cs: introduce two static properties -
CaseInsensitive (set to true whenever the environment is
case-insensitive - i.e. MONO_IOMAP="all" or MONO_IOMAP="case", or
running on Windows) and RunningOnWindows.
2008-03-13  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: if we're running in a case-insensitive
environment, use case-insensitive comparer for the build caches
2008-03-13  Marek Habersack  <mhabersack@novell.com>

* ApplicationHost.cs: use HttpRuntime.CaseInsensitive when
checking whether we're running in a case-insensitive environment.

svn path=/trunk/mcs/; revision=98199

16 years agoUpdated
Marek Safar [Thu, 13 Mar 2008 19:05:13 +0000 (19:05 -0000)]
Updated

svn path=/trunk/mcs/; revision=98198

16 years agoUpdated
Marek Safar [Thu, 13 Mar 2008 18:55:56 +0000 (18:55 -0000)]
Updated

svn path=/trunk/mcs/; revision=98196

16 years agorevert
Jb Evain [Thu, 13 Mar 2008 17:36:27 +0000 (17:36 -0000)]
revert

svn path=/trunk/mcs/; revision=98189

16 years agorevert
Jb Evain [Thu, 13 Mar 2008 17:32:10 +0000 (17:32 -0000)]
revert

svn path=/trunk/mcs/; revision=98188

16 years ago2008-03-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 13 Mar 2008 17:05:07 +0000 (17:05 -0000)]
2008-03-13  Marek Safar  <marek.safar@gmail.com>

* Extensions.cs: Disabled redundant OnFieldOrProperty.

svn path=/trunk/mcs/; revision=98184

16 years agoPortability fix.
Paolo Molaro [Thu, 13 Mar 2008 16:41:09 +0000 (16:41 -0000)]
Portability fix.

svn path=/trunk/mono/; revision=98182

16 years ago2008-03-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 13 Mar 2008 16:15:44 +0000 (16:15 -0000)]
2008-03-13  Jonathan Pobst  <monkey@jpobst.com>

* FileDialog.cs: Apply patch from Andy Hume: Any time we
are comparing attributes, make sure we only look at the
one we are interested.  These calls were failing if there
were more than one attribute.
[Fixes bug #370385]

svn path=/trunk/mcs/; revision=98175

16 years agoAdded ChangeLog...
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:38 +0000 (15:25 -0000)]
Added ChangeLog...

svn path=/trunk/mono/; revision=98164

16 years agoFixed heap profiler, added a new way to get the symbol names for unmanaged functions...
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:35 +0000 (15:25 -0000)]
Fixed heap profiler, added a new way to get the symbol names for unmanaged functions, and fixed lots of bugs.

svn path=/trunk/mono/; revision=98163

16 years agoUse rdtsc as performance counter instead of reading the current time.
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:32 +0000 (15:25 -0000)]
Use rdtsc as performance counter instead of reading the current time.

svn path=/trunk/mono/; revision=98162

16 years agoadded size to heap-shot reporting
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:28 +0000 (15:25 -0000)]
added size to heap-shot reporting

svn path=/trunk/mono/; revision=98161

16 years agoAdded command options and file for heap profiling
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:25 +0000 (15:25 -0000)]
Added command options and file for heap profiling

svn path=/trunk/mono/; revision=98160

16 years agoAdded arguments to control gc snapshots
Massimiliano Mantione [Thu, 13 Mar 2008 15:25:21 +0000 (15:25 -0000)]
Added arguments to control gc snapshots

svn path=/trunk/mono/; revision=98159

16 years ago2008-03-13 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 13 Mar 2008 15:19:11 +0000 (15:19 -0000)]
2008-03-13  Jonathan Pobst  <monkey@jpobst.com>

* DataGridColumnStyle.cs: Hide ctor from 1.1 profile.

svn path=/trunk/mcs/; revision=98158

16 years agorename wrt to our conventions
Jb Evain [Thu, 13 Mar 2008 15:12:53 +0000 (15:12 -0000)]
rename wrt to our conventions

svn path=/trunk/mcs/; revision=98156

16 years agoupdate
Jb Evain [Thu, 13 Mar 2008 15:07:31 +0000 (15:07 -0000)]
update

svn path=/trunk/mcs/; revision=98155

16 years ago2008-03-13 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 13 Mar 2008 15:06:57 +0000 (15:06 -0000)]
2008-03-13  Jb Evain  <jbevain@novell.com>

* Extensions.cs: a collection of useful extension methods
which are useful to S.L.E.

* Expression.cs, MemberExpression.cs,
MemberAssignment.cs, MemberBinding.cs:
refactor common pattern into a common method.

svn path=/trunk/mcs/; revision=98154

16 years agoThu Mar 13 16:24:53 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 13 Mar 2008 14:36:25 +0000 (14:36 -0000)]
Thu Mar 13 16:24:53 CET 2008 Paolo Molaro <lupus@ximian.com>

* processes.c: properly check for executable files (fixes bug #368829).

svn path=/trunk/mono/; revision=98149

16 years ago2008-03-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 13 Mar 2008 13:51:54 +0000 (13:51 -0000)]
2008-03-13  Marek Habersack  <mhabersack@novell.com>

* AssemblyInfo.cs: version changed to 3.5.0.0 for the 3.5
profile.

svn path=/trunk/mcs/; revision=98146

16 years ago2008-03-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 13 Mar 2008 10:36:44 +0000 (10:36 -0000)]
2008-03-13  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Refactored to support verbose mod

svn path=/trunk/mcs/; revision=98128