mono.git
16 years agoUpdate to recent changes -- mostly testcases failing due to missing ArrayList
Raja R Harinath [Mon, 14 Apr 2008 05:09:31 +0000 (05:09 -0000)]
Update to recent changes -- mostly testcases failing due to missing ArrayList
and Hashtable

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:21:20 +0000 (22:21 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* AssemblyBuilderTest.cs (GetCustomAttributes_NotCreated): New test for
#363447.

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:16:09 +0000 (22:16 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_custom_attrs_construct): Fix crash when the cattr type
isn't finished yet. Fixes #363447.

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

16 years ago2008-04-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:03:46 +0000 (22:03 -0000)]
2008-04-14  Zoltan Varga  <vargaz@gmail.com>

* StringTest.cs: Add a test for #374511.

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

16 years ago2008-04-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 22:00:56 +0000 (22:00 -0000)]
2008-04-13  Zoltan Varga  <vargaz@gmail.com>

* String.cs (Split): Fix the handling of RemoveEmptyEntries when the separator
matches at the beginning of the string. Fixes #374511.

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

16 years ago2008-04-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 20:06:54 +0000 (20:06 -0000)]
2008-04-13  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add a test for #346419.

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

16 years ago2008-04-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 13 Apr 2008 20:06:06 +0000 (20:06 -0000)]
2008-04-13  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_bounded_array_class_get): Fix the name of bounded array types.
Fixes #346419.

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

16 years agocopy sys.xml dummy types here
Jb Evain [Sun, 13 Apr 2008 15:07:10 +0000 (15:07 -0000)]
copy sys.xml dummy types here

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

16 years agomove the System.Net 2.1 specific from System to System.Net
Jb Evain [Sun, 13 Apr 2008 14:37:51 +0000 (14:37 -0000)]
move the System.Net 2.1 specific from System to System.Net

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

16 years agoMono.Cecil/AssemblyDefinition.cs: Short circut loop when module is found.
Sebastien Pouliot [Sun, 13 Apr 2008 14:14:27 +0000 (14:14 -0000)]
Mono.Cecil/AssemblyDefinition.cs: Short circut loop when module is found.

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

16 years agomerge back ml2 into trunk
Jb Evain [Sun, 13 Apr 2008 13:47:01 +0000 (13:47 -0000)]
merge back ml2 into trunk

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

16 years agomerge back ml2 into trunk
Jb Evain [Sun, 13 Apr 2008 13:46:12 +0000 (13:46 -0000)]
merge back ml2 into trunk

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

16 years agolast merge 100420:100549
Jb Evain [Sun, 13 Apr 2008 11:44:22 +0000 (11:44 -0000)]
last merge 100420:100549

svn path=/branches/jb/ml2/mono/; revision=100550

16 years agolast merge 100420:100549
Jb Evain [Sun, 13 Apr 2008 11:44:22 +0000 (11:44 -0000)]
last merge 100420:100549

svn path=/branches/jb/ml2/mcs/; revision=100550

16 years agoFix for Java compilation:
Noam Lampert [Sun, 13 Apr 2008 08:34:11 +0000 (08:34 -0000)]
Fix for Java compilation:
1. Upgrade to VS 2008 project files
2. Remove one test that uses java-non-supported handles.

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

16 years agoVisual studio upgrade did not work well.
Noam Lampert [Sun, 13 Apr 2008 08:16:49 +0000 (08:16 -0000)]
Visual studio upgrade did not work well.
Fix references in project files.

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

16 years agoFixes for Java compilations:
Noam Lampert [Sun, 13 Apr 2008 07:44:03 +0000 (07:44 -0000)]
Fixes for Java compilations:
1. Upgrade project/solution files to visual studio 2008
2. In Grasshopper, the InternalVisible attribute in System.Web doesn't work, so need to compile without using the internals of System.Web.

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

16 years ago * ListView.cs: When changing the size in VirtualMode, also Reset the
Carlos Alberto Cortez [Sun, 13 Apr 2008 03:09:53 +0000 (03:09 -0000)]
* ListView.cs: When changing the size in VirtualMode, also Reset the
selection.
* ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
changing selection info for VirtualMode.
Fixes #372618.

2009-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
Carlos Alberto Cortez [Sat, 12 Apr 2008 20:35:08 +0000 (20:35 -0000)]
* ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
view, don't use LineLimit for the first item - use NoWrap *always*
instead, since ListView.LabelWrap is not used for this view.
Fixes #378054.

2009-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-04-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 12 Apr 2008 19:56:38 +0000 (19:56 -0000)]
2008-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: Enable some more tests.

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

16 years ago2009-04-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 12 Apr 2008 19:52:31 +0000 (19:52 -0000)]
2009-04-12  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: Call UpdateIsBinding when setting control - probably
Binding is already usable and we don't need to wait to check the
IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
Created, just like 2.0 does.
* CurrencyManager.cs: I'm so lame - the previous check was wrong.

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

16 years ago2008-04-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Apr 2008 06:18:32 +0000 (06:18 -0000)]
2008-04-12  Zoltan Varga  <vargaz@gmail.com>

* assembly.c (mono_assembly_load_from_full): Do the check for loading other
mscorlibs for the non-refonly case as well.

* image.c (do_mono_image_load): Remove the mscorlib check, it is already done
in mono_assembly_load_from_full (). Fixes #378924.

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

16 years agoIn .:
Geoff Norton [Sat, 12 Apr 2008 00:04:15 +0000 (00:04 -0000)]
In .:
2008-04-11  Geoff Norton  <gnorton@novell.com>

* processes.c: The global extern environ doesn't exist on Mac.  We
need to call NSGetEnviron instead.

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

16 years agoIn .:
Geoff Norton [Sat, 12 Apr 2008 00:03:40 +0000 (00:03 -0000)]
In .:
2008-04-11  Geoff Norton  <gnorton@novell.com>

* icall.c: The global extern environ doesn't exist on Mac.  We
need to call NSGetEnviron instead.

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

16 years ago2008-04-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 11 Apr 2008 23:58:04 +0000 (23:58 -0000)]
2008-04-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingTest.cs: Enable IsBindingTest.

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

16 years ago * Binding.cs: Just realized we don't need to have a handler for
Carlos Alberto Cortez [Fri, 11 Apr 2008 23:55:05 +0000 (23:55 -0000)]
* Binding.cs: Just realized we don't need to have a handler for
BindingContextChanged, since this info should be now consumed directly
in the BindingManagerBase. And also, the manager.IsBindingSuspended
state info is checked directly, instead of caching it.

* CurrencyManager.cs: IsSuspended should return always false if Count
== 0.

2009-04-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2009-04-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 11 Apr 2008 23:31:47 +0000 (23:31 -0000)]
2009-04-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Binding.cs: When calling PushData, return if manager.Count == 0,
since we just don't have data to be read. Also, when setting the
Control for binding, hook up some events to refresh the IsBinding
state when BindingContext change or control gets created; use
Control.IsHandleCreated instead of Control.Created check to set
IsBinding state - we *actually* need to modify IsBinding when control
is created, but we don't have any Created event, only HandleCreated.
Fixes part of #349364.

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

16 years agoIn .:
Geoff Norton [Fri, 11 Apr 2008 21:42:42 +0000 (21:42 -0000)]
In .:
* WindowHandler.cs: Move the caret back to the real screen position
after a window bounds is changed.

2008-04-11  Geoff Norton  <gnorton@novell.com>

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

16 years agoIn .:
Geoff Norton [Fri, 11 Apr 2008 21:41:48 +0000 (21:41 -0000)]
In .:
2008-04-11  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs: Expose Caret to the Carbon layer.  Guard against
warping a null Caret.

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

16 years ago2008-04-11 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 11 Apr 2008 21:24:40 +0000 (21:24 -0000)]
2008-04-11  Geoff Norton  <gnorton@novell.com>

        * KeyboardHandler.cs: Fix keyboard support on little endian
        architectures.

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

16 years ago2008-04-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 11 Apr 2008 20:15:02 +0000 (20:15 -0000)]
2008-04-11  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Implement row/column autosizing methods. Implement
autosorting.
* DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
* DataGridViewRowCollection.cs: Add an internal sorting method.

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

16 years ago2008-04-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 11 Apr 2008 18:50:22 +0000 (18:50 -0000)]
2008-04-11  Zoltan Varga  <vargaz@gmail.com>

* Thread.cs: Make in_currentculture non-static. Fixes #378892.

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

16 years ago2008-04-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 11 Apr 2008 18:38:56 +0000 (18:38 -0000)]
2008-04-11  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
value in ListView drawing code.

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

16 years agoDisabled another test until jb merges the changes.
Marek Safar [Fri, 11 Apr 2008 18:20:33 +0000 (18:20 -0000)]
Disabled another test until jb merges the changes.

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

16 years ago2008-04-11 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 11 Apr 2008 17:19:47 +0000 (17:19 -0000)]
2008-04-11  Mark Probst  <mark.probst@gmail.com>

* Makefile.am: Added missing files to EXTRA_DIST.

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

16 years agoNew tests.
Marek Safar [Fri, 11 Apr 2008 16:16:54 +0000 (16:16 -0000)]
New tests.

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

16 years agoNew tests.
Marek Safar [Fri, 11 Apr 2008 16:15:29 +0000 (16:15 -0000)]
New tests.

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

16 years ago2008-04-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Apr 2008 16:14:57 +0000 (16:14 -0000)]
2008-04-11  Marek Safar  <marek.safar@gmail.com>

* assign.cs, ecore.cs, expression.cs, nullable.cs: More work on nullable
types and user defined operators. User operators arguments has to be checked
for null value before invocation, which also means no operator is called
when any argument is not convertible to unwrapped nullable type.

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

16 years ago2008-04-11 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 11 Apr 2008 15:51:52 +0000 (15:51 -0000)]
2008-04-11  Jonathan Pobst  <monkey@jpobst.com>

* FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
is clicked.  Respect the user setting Cancel in FileOk.

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

16 years agoIn .:
Geoff Norton [Fri, 11 Apr 2008 15:25:15 +0000 (15:25 -0000)]
In .:
2008-04-11  Geoff Norton  <gnorton@novell.com>

* ListView.cs: Avoid setting and resetting control Width/Heights and
calculate the final value and set it once.  Prevents a feedback loop
on the mac.

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

16 years agoAdd missing ChangeLog entries.
Zoltan Varga [Fri, 11 Apr 2008 13:07:27 +0000 (13:07 -0000)]
Add missing ChangeLog entries.

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

16 years ago2008-04-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 11 Apr 2008 11:42:27 +0000 (11:42 -0000)]
2008-04-11  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Implement OP_ABS directly using
SSE2 instructions.

* basic-math.cs: Fix warnings. Add a test for Math.Abs ().

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

16 years ago2008-04-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 11 Apr 2008 11:37:37 +0000 (11:37 -0000)]
2008-04-11  Zoltan Varga  <vargaz@gmail.com>

* amd64/amd64-codegen.h (amd64_sse_andpd_reg_membase): New codegen macro.

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

16 years agomerge 100015:100420
Jb Evain [Fri, 11 Apr 2008 10:11:23 +0000 (10:11 -0000)]
merge 100015:100420

svn path=/branches/jb/ml2/mono/; revision=100421

16 years agomerge 100015:100420
Jb Evain [Fri, 11 Apr 2008 10:11:23 +0000 (10:11 -0000)]
merge 100015:100420

svn path=/branches/jb/ml2/mcs/; revision=100421

16 years ago2008-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Apr 2008 06:58:18 +0000 (06:58 -0000)]
2008-04-11  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : use per-profile libdir to put executables.

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

16 years ago2008-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Apr 2008 06:57:16 +0000 (06:57 -0000)]
2008-04-11  Atsushi Enomoto  <atsushi@ximian.com>

* scripts/Makefile.am : we need genxs2 for generating 2.0 based
  serializer.

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

16 years ago2008-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 11 Apr 2008 06:34:35 +0000 (06:34 -0000)]
2008-04-11  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTypeMapping.cs : .NET 2.0 has a weird behavior that swallows
  exception from IXmlSerializable.GetSchema().

* XmlSerializerTestClasses.cs, XmlSerializerTests.cs : added test
for IXmlSerializable serialization whose GetSchema() borks.

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

16 years ago2008-04-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Apr 2008 22:35:06 +0000 (22:35 -0000)]
2008-04-11  Zoltan Varga  <vargaz@gmail.com>

* mini.c (handle_stack_args): Make this return void since its return value was
never used. Also set cfg->unverifiable for invalid IL instead of calling
G_BREAKPOINT ().

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

16 years ago2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 22:05:43 +0000 (22:05 -0000)]
2008-04-10 Rodrigo Kumpera  <rkumpera@novell.com>

verify.c: Add generic method constraint verification.

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

16 years ago2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 21:05:23 +0000 (21:05 -0000)]
2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>

* AssemblyRunner.cs: If a VerificationException
happens while running under fulltrust, it means
that the code is invalid.

* make_method_constraint_test.sh: Test generator for
generic methods argument constraints.

* make_test.sh: Added tests for invalid opcodes
using the new generator.

* invalid_generic_method_and_type.il: New test
for generic constraints.

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

16 years ago2008-04-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 Apr 2008 18:28:15 +0000 (18:28 -0000)]
2008-04-10  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
[Fixes bug #378869]

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

16 years ago2008-04-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Apr 2008 18:15:55 +0000 (18:15 -0000)]
2008-04-10  Atsushi Enomoto  <atsushi@ximian.com>

        * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
          Add some on-the-spot code, but it seems we don't need it.

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

16 years ago2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 17:48:25 +0000 (17:48 -0000)]
2008-04-10 Rodrigo Kumpera  <rkumpera@novell.com>

class.c (mono_class_inflate_generic_method_full): Add a long
explanation to the is_mb_open hack. Remove the FIXME.

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

16 years ago2008-04-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 Apr 2008 17:33:22 +0000 (17:33 -0000)]
2008-04-10  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Add method for DataGridView to trigger focus cues
even when it handles the tab keypress.

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

16 years ago2008-04-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 10 Apr 2008 17:03:21 +0000 (17:03 -0000)]
2008-04-10  Atsushi Enomoto  <atsushi@ximian.com>

        * Makefile: fix extra dist file name.

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

16 years agoFix java build
Noam Lampert [Thu, 10 Apr 2008 16:41:07 +0000 (16:41 -0000)]
Fix java build

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

16 years agoSmall bug fix in java run-tests
Noam Lampert [Thu, 10 Apr 2008 16:29:28 +0000 (16:29 -0000)]
Small bug fix in java run-tests

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

16 years ago2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 16:12:13 +0000 (16:12 -0000)]
2008-04-10 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): Mark all unknown opcodes
as invalid. Mark jmp as unverifiable.

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

16 years ago2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 16:09:44 +0000 (16:09 -0000)]
2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>

* make_bad_op_test.sh: Test generator for
invalid opcodes.

* make_test.sh: Added tests for invalid opcodes
using the new generator.

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

16 years agoUpgrade to visual studio 2008 project.
Noam Lampert [Thu, 10 Apr 2008 16:02:39 +0000 (16:02 -0000)]
Upgrade to visual studio 2008 project.

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

16 years ago2008-04-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 Apr 2008 15:38:27 +0000 (15:38 -0000)]
2008-04-10  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: More keyboard handling, tab, esc.
* DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
when at the beginning or end of the text in the text box.

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

16 years ago2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 14:52:03 +0000 (14:52 -0000)]
2008-04-10 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Add code to do type constraint verification on class instances.

* verify.c (mono_verifier_verify_class): Use the type constraint
verification code.

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

16 years ago2008-04-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 10 Apr 2008 14:25:33 +0000 (14:25 -0000)]
2008-04-10  Mark Probst  <mark.probst@gmail.com>

* generic-box.2.cs, generic-boxing.2.il, generic-delegate.2.cs,
generic-ldobj.2.il, generic-ldtoken.2.il,
generic-ldtoken-field.2.il, generic-ldtoken-method.2.il,
generic-mkrefany.2.il, generic-sizeof.2.cs, generic-tailcall.2.il,
generic-unbox.2.cs, generic-unboxing.2.il, generic-virtual.2.cs,
generics-sharing.2.cs: New test cases for generic sharing.

* Makefile.am: Added tests.

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

16 years ago2008-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 10 Apr 2008 13:40:51 +0000 (13:40 -0000)]
2008-04-10  Marek Habersack  <mhabersack@novell.com>

* HttpApplicationFactory.cs: compile web references before
App_Code. Fixes bug #377934

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

16 years ago2008-04-10 Erven Rohou <erven.rohou@st.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 12:54:46 +0000 (12:54 -0000)]
2008-04-10  Erven Rohou <erven.rohou@st.com>

* DebuggingInfo.cs: use new DefineMethod API. Remove useless
variable.
* MethodDef.cs: remove useless variable.

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

16 years ago2008-04-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 10 Apr 2008 12:39:26 +0000 (12:39 -0000)]
2008-04-10 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_get_field_default_value): Don't pass cindex
as hint to mono_metadata_get_constant_index. The local is not initialized
and should contain garbage most of the time. This could only work
with a lot of luck.

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

16 years agoRemoved debugging code.
Massimiliano Mantione [Thu, 10 Apr 2008 09:05:51 +0000 (09:05 -0000)]
Removed debugging code.

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

16 years agoAdded possibiliy of requesting heap snapshots with a signal (like heap-shot).
Massimiliano Mantione [Thu, 10 Apr 2008 08:18:16 +0000 (08:18 -0000)]
Added possibiliy of requesting heap snapshots with a signal (like heap-shot).

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

16 years ago* mono-profiler-oprofile.c: Added option to append a suffix to the default file name.
Massimiliano Mantione [Thu, 10 Apr 2008 08:18:12 +0000 (08:18 -0000)]
* mono-profiler-oprofile.c: Added option to append a suffix to the default file name.

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

16 years ago2008-04-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 10 Apr 2008 03:01:31 +0000 (03:01 -0000)]
2008-04-09  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Guard against an NRE causing a test to fail.

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

16 years ago2008-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 10 Apr 2008 02:06:43 +0000 (02:06 -0000)]
2008-04-10  Marek Habersack  <mhabersack@novell.com>

* Control.cs: refactoring - IdSeparator property is internally
present also in 1.1.

2008-04-10  Marek Habersack  <mhabersack@novell.com>

* RadioButton.cs: adjust 'name' and 'value' attribute values to
match MS.NET. Fixes bug #378024

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

16 years agoActually add the types :P
Marek Habersack [Thu, 10 Apr 2008 01:43:42 +0000 (01:43 -0000)]
Actually add the types :P

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

16 years ago2008-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 10 Apr 2008 01:31:00 +0000 (01:31 -0000)]
2008-04-10  Marek Habersack  <mhabersack@novell.com>

* MimeTypes.cs: added some missing MIME types. New entries
contributed by Albert Ritmeester
<aritmeester@vitalhealthsoftware.nl>, thanks! Fixes bug #372290

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

16 years ago2008-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 10 Apr 2008 00:52:30 +0000 (00:52 -0000)]
2008-04-10  Marek Habersack  <mhabersack@novell.com>

* CheckBoxList.cs: set the Selected property to the value in POST
data only if the item in question was enabled before postback
occurred. Fixes bug #377703

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

16 years ago2008-04-10 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 10 Apr 2008 00:21:35 +0000 (00:21 -0000)]
2008-04-10  Marek Habersack  <mhabersack@novell.com>

* ListControl.cs: make sure the owned items' Enabled property is
set to the same value what ListControl's. Fixes bug #377703

* ListItemCollection.cs: fixed SetDirty to store the index of the
last dirtied item properly. Fixes bug #377703
For the 2.0 profile, set the ListItem instances Enabled property
to the value of the owning ListControl (internal ItemsEnabled
property was added to make it possible). Fixes bug #377703

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

16 years ago2008-04-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 Apr 2008 22:58:09 +0000 (22:58 -0000)]
2008-04-09  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Some fixups for showing and adding the edit control.
* DataGridViewButtonColumn.cs: Implement ToString.
* DataGridViewCell.cs: Size and position the control simultaneously.
* DataGridViewTextBoxCell.cs: Use base to position control.

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

16 years ago2008-04-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 9 Apr 2008 22:46:02 +0000 (22:46 -0000)]
2008-04-10  Mark Probst  <mark.probst@gmail.com>

* mini.c: Make sure "this" is live in catch clauses with type
variables in shared generic code.

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

16 years agoUnbreak the build, again
Marek Habersack [Wed, 9 Apr 2008 22:32:14 +0000 (22:32 -0000)]
Unbreak the build, again

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

16 years ago2008-04-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 9 Apr 2008 21:53:11 +0000 (21:53 -0000)]
2008-04-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Consts.cs.in: Add common strings for assembly attributes

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

16 years ago2008-04-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 9 Apr 2008 21:14:14 +0000 (21:14 -0000)]
2008-04-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing 2.0 attributes

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

16 years ago * tokentype.h: Add MONO_TOKEN_GENERIC_PARAM.
Rodrigo Kumpera [Wed, 9 Apr 2008 21:12:25 +0000 (21:12 -0000)]
* tokentype.h: Add MONO_TOKEN_GENERIC_PARAM.

2008-04-09 Rodrigo Kumpera  <rkumpera@novell.com>

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

16 years agoFix the build
Marek Habersack [Wed, 9 Apr 2008 21:01:40 +0000 (21:01 -0000)]
Fix the build

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

16 years ago2008-04-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 9 Apr 2008 20:58:43 +0000 (20:58 -0000)]
2008-04-09  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: HttpException, let the CompilationException pass through. Fixes
bug #377904

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

16 years ago2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 9 Apr 2008 20:57:52 +0000 (20:57 -0000)]
2004-04-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added

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

16 years ago008-04-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 9 Apr 2008 20:45:25 +0000 (20:45 -0000)]
008-04-09  Marek Habersack  <mhabersack@novell.com>

* HttpContext.cs: make RewritePath work correctly in the 2.0
profile, fixes bug #371581

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

16 years ago2008-04-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 9 Apr 2008 20:37:14 +0000 (20:37 -0000)]
2008-04-09  Zoltan Varga  <vargaz@gmail.com>

* dlmalloc.h dlmalloc.c: New files, a slightly modified version of Doug
Lea's malloc package.

* mono-codeman.c: Use dlmalloc for managing memory in dynamic code managers,
this allows us to set the executable bit on the system memory dlmalloc
allocates from, fixing #320036.

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

16 years ago2008-04-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 9 Apr 2008 20:23:23 +0000 (20:23 -0000)]
2008-04-09 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs (GetGenericArguments_ArgumentsHaveAttributes): Added test for bug #377596.
It verifies if it's possible to retrieve attributes from generic arguments.

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

16 years ago2008-04-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 9 Apr 2008 20:19:48 +0000 (20:19 -0000)]
2008-04-09 Rodrigo Kumpera  <rkumpera@novell.com>

* class-internals.h: Add generic_param_token to MonoClass::sizes union.

* class.c (mono_class_from_generic_parameter): Save the token of the
generic param in MonoClass::sizes.generic_param_token.

* reflection.c (mono_custom_attrs_from_class): If the class type is
VAR or MVAR retrieve the attributes of the generic param.

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

16 years ago2008-04-09 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 9 Apr 2008 20:10:08 +0000 (20:10 -0000)]
2008-04-09  Marek Habersack  <mhabersack@novell.com>

* System.Web.dll.sources: added System.Web.Compilation/AppWebReferencesCompiler.cs

2008-04-09  Marek Habersack  <mhabersack@novell.com>

* HttpApplicationFactory.cs: compile web references. Fixes bug
#377934

* VirtualPath.cs: added a method to convert a physical path into a
virtual one, if the physical path is under the application root.

2008-04-09  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: refactoring - the SetCommonParameters and
GetDefaultCompilerTypeForLanguage moved here from BuildProvider,
and made internal static.

* AppWebReferencesCompiler.cs: added - support for compiling of
wsdl files found in the App_WebResources directory. Fixes bug
#377934

* BuildProvider.cs: refactoring - moved the SetCommonParameters
and GetDefaultCompilerTypeForLanguage to BuildManager

* WsdlBuildProvider.cs: added the CodeCompilerType property
override.
Namespace for the generated code is taken from the wsdl path,
relative to App_Code or App_WebReferences, if the wsdl in question
is under on of those directories.
GenerateCode uses OpenReader () so that VirtualPathProvider works
for wsdl files.

* AssemblyBuilder.cs: Cope with virtualPath being null in BuildAssembly.
Reference assemblies specified in web.config when linking.

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

16 years agoNew test, update
Marek Safar [Wed, 9 Apr 2008 19:07:01 +0000 (19:07 -0000)]
New test, update

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

16 years agoNew test.
Marek Safar [Wed, 9 Apr 2008 18:47:31 +0000 (18:47 -0000)]
New test.

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

16 years ago2008-04-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 9 Apr 2008 18:47:03 +0000 (18:47 -0000)]
2008-04-09  Marek Safar  <marek.safar@gmail.com>

* convert.cs, ecore.cs, expression.cs, nullable.cs: Initial refactoring
of Unary expressions to follow operator overloading rules precisely.
Also fixes #321794, #323794

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

16 years agoupdate namespace
Jb Evain [Wed, 9 Apr 2008 16:19:41 +0000 (16:19 -0000)]
update namespace

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

16 years agomove GCLatencyMode to System.Runtime
Jb Evain [Wed, 9 Apr 2008 16:18:39 +0000 (16:18 -0000)]
move GCLatencyMode to System.Runtime

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

16 years ago2008-04-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 Apr 2008 16:09:42 +0000 (16:09 -0000)]
2008-04-09  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Fix up some formatting and painting code.
* DataGridViewImageCell.cs: Implement some NIEX methods.

2008-04-09  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewImageCellTest.cs: Add.

2008-04-09  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms_test.dll.sources: Add DataGridViewImageCellTest.cs.

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

16 years agorefactoring
Jb Evain [Wed, 9 Apr 2008 16:04:43 +0000 (16:04 -0000)]
refactoring

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

16 years agoadd test for static properties
Jb Evain [Wed, 9 Apr 2008 15:58:53 +0000 (15:58 -0000)]
add test for static properties

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

16 years ago2008-04-09 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 9 Apr 2008 15:39:04 +0000 (15:39 -0000)]
2008-04-09  Jb Evain  <jbevain@novell.com>

* CSharpCodeGenerator.cs: Emit bodyless getters and setters
for abstract properties. Based on a patch by
Stefan Rusek <stefan@fogcreek.com>

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

16 years ago2008-04-09 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 9 Apr 2008 15:31:16 +0000 (15:31 -0000)]
2008-04-09  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItemCollection.cs: What moving an item from one owner
to another, remove from source owner before adding to destination.
[Fixes bug #378109]

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