mono.git
16 years ago2008-01-23 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 23 Jan 2008 08:42:52 +0000 (08:42 -0000)]
2008-01-23  Martin Baulig  <martin@ximian.com>

* Makefile (NO_INSTALL) [PROFILE=net_2_0]: Install the dll.

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

16 years ago2008-01-23 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Wed, 23 Jan 2008 07:18:04 +0000 (07:18 -0000)]
2008-01-23  Stephane Delcroix  <sdelcroix@novell.com>

* TimeZoneInfo.AdjustmentRuleTests.cs:
* TimeZoneInfo.TransitionTimeTests.cs: disable failing tests at runtime on
windows

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

16 years ago2008-01-23 Olivier Dufour <olivier.duff@gmail.com>
Olivier Dufour [Wed, 23 Jan 2008 06:42:48 +0000 (06:42 -0000)]
2008-01-23  Olivier Dufour <olivier.duff@gmail.com>

* ResXResourceReaderTest.cs: Fix the value for test GetNodePosition.

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

16 years agoIn .:
Geoff Norton [Wed, 23 Jan 2008 01:22:56 +0000 (01:22 -0000)]
In .:
2008-01-22  Geoff Norton  <gnorton@novell.com>

* EventHandler.cs: Subscribe to the MouseWheel and MouseScroll events.
* MouseHandler.cs: Post MOUSEWHEEL events when scrolling with old
mice, and mighty mice, and two-finger scrolling.
2008-01-16  Geoff Norton  <gnorton@novell.com>

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

16 years agoIn .:
Geoff Norton [Wed, 23 Jan 2008 01:21:33 +0000 (01:21 -0000)]
In .:
2008-01-22  Geoff Norton  <gnorton@novell.com>

* XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam

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

16 years ago2008-01-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 23 Jan 2008 01:18:25 +0000 (01:18 -0000)]
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* BinaryExpression.cs: Unleash the power of cut and paste.

Bring a bunch of operatros from mcs/expression.cs

* Expression.cs: There is no op_LogicalAnd or op_LogicalOr, I just
used those from mcs, that was wrong.   use the proper ones, clean
up the result.

* BinaryExpression.cs: Add method invocations for binary methods.

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

16 years ago2008-01-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 22 Jan 2008 23:51:22 +0000 (23:51 -0000)]
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* Expression.cs: There is no op_LogicalAnd or op_LogicalOr, I just
used those from mcs, that was wrong.   use the proper ones, clean
up the result.

* BinaryExpression.cs: Add method invocations for binary methods.

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 23:07:50 +0000 (23:07 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayout.cs: Remove using the padding.  This is now included
properly in the DisplayRectangle.  Fixes a broken test.

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

16 years agoShut up all those warnings
Miguel de Icaza [Tue, 22 Jan 2008 22:50:33 +0000 (22:50 -0000)]
Shut up all those warnings

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 22:23:27 +0000 (22:23 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
through the normal flat button code and don't draw the checkbox glyph.
* Theme.cs: Button->ButtonBase signature change.
[Fixes bug #324755]

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

16 years agosvn path=/trunk/mcs/; revision=93592
Everaldo Canuto [Tue, 22 Jan 2008 22:06:12 +0000 (22:06 -0000)]
svn path=/trunk/mcs/; revision=93592

16 years agosvn path=/trunk/mcs/; revision=93591
Everaldo Canuto [Tue, 22 Jan 2008 22:03:02 +0000 (22:03 -0000)]
svn path=/trunk/mcs/; revision=93591

16 years agosvn path=/trunk/mcs/; revision=93588
Everaldo Canuto [Tue, 22 Jan 2008 21:59:37 +0000 (21:59 -0000)]
svn path=/trunk/mcs/; revision=93588

16 years agosvn path=/trunk/mcs/; revision=93587
Everaldo Canuto [Tue, 22 Jan 2008 21:57:52 +0000 (21:57 -0000)]
svn path=/trunk/mcs/; revision=93587

16 years agoNew test.
Marek Safar [Tue, 22 Jan 2008 21:48:17 +0000 (21:48 -0000)]
New test.

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

16 years agoRemoved invalid test.
Marek Safar [Tue, 22 Jan 2008 21:48:05 +0000 (21:48 -0000)]
Removed invalid test.

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 21:47:06 +0000 (21:47 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, expression.cs, generic.cs: Implicit bool? to bool conversion is
not allowed.

* generic.cs: Implemented coalesce expression.

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

16 years agosvn path=/trunk/mcs/; revision=93577
Everaldo Canuto [Tue, 22 Jan 2008 21:29:48 +0000 (21:29 -0000)]
svn path=/trunk/mcs/; revision=93577

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 21:21:59 +0000 (21:21 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: When we reset our current_pos back to the left
beginning, make sure we take padding into account.
[Fixes bug #354676]

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs: Add test for bug #354676.

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 20:47:04 +0000 (20:47 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
becomes a wrapper around Padding.
[Fixes a part of bug #354676]

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ScrollableControlTest.cs: Add test for bug #354676.

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

16 years agoAdd
Miguel de Icaza [Tue, 22 Jan 2008 20:33:53 +0000 (20:33 -0000)]
Add

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

16 years agoAdd comment
Miguel de Icaza [Tue, 22 Jan 2008 20:33:46 +0000 (20:33 -0000)]
Add comment

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

16 years agoBuild fix.
Marek Safar [Tue, 22 Jan 2008 17:57:44 +0000 (17:57 -0000)]
Build fix.

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

16 years agoIn .:
Geoff Norton [Tue, 22 Jan 2008 17:17:47 +0000 (17:17 -0000)]
In .:
2008-01-22 Geoff Norton  <gnorton@novell.com>

* Mime.cs:  Avoid a needles exception on OSX if we dont have a buffer
acquired.  Also ensure the buffer is large enough to grab the header
we need on linux boxes.

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

16 years ago2008-01-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 16:42:21 +0000 (16:42 -0000)]
2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement a custom enumerator so people can delete
from the Controls collection while in a foreach.
[Fixes bug #355074]

2008-01-22  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Add test for bug #355074.

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

16 years ago2008-01-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 22 Jan 2008 16:11:49 +0000 (16:11 -0000)]
2008-01-22  Ivan N. Zlatev  <contact@i-nz.net>

 * MutilineStringEditor.cs: Fix EditValue to return the new
 value not the old one.
 [Fixes #354991]

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 15:48:08 +0000 (15:48 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

A test for bug #355145

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

16 years agoNew test.
Marek Safar [Tue, 22 Jan 2008 15:47:48 +0000 (15:47 -0000)]
New test.

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 15:47:33 +0000 (15:47 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #355145
  * anonymous.cs, convert.cs, ecore.cs, generic.cs, lambda.cs: Implemented
  expression tree type inference.

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

16 years ago2008-01-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 22 Jan 2008 15:14:59 +0000 (15:14 -0000)]
2008-01-22  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs: Fix focusing behavior:
 - Tab should focus the grid text box.
 - Clicking on the labels shouldn't focus the grid text box.

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

16 years agowe pass NewArrayBounds and NewArrayList
Jb Evain [Tue, 22 Jan 2008 14:20:18 +0000 (14:20 -0000)]
we pass NewArrayBounds and NewArrayList

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

16 years ago2008-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jan 2008 14:20:05 +0000 (14:20 -0000)]
2008-01-22  Jb Evain  <jbevain@novell.com>

* Expression.cs, ExpressionPrinter.cs: implement NewArrayList.

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

16 years agoadd NewArrayInit tests
Jb Evain [Tue, 22 Jan 2008 14:17:16 +0000 (14:17 -0000)]
add NewArrayInit tests

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

16 years ago2008-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jan 2008 14:01:07 +0000 (14:01 -0000)]
2008-01-22  Jb Evain  <jbevain@novell.com>

* Expression.cs, ExpressionPrinter.cs, NewArrayExpression.cs:
implement Expression.NewArrayBounds.

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

16 years agotests for NewArrayBounds
Jb Evain [Tue, 22 Jan 2008 13:59:06 +0000 (13:59 -0000)]
tests for NewArrayBounds

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

16 years agoFix #354663
Raja R Harinath [Tue, 22 Jan 2008 13:36:35 +0000 (13:36 -0000)]
Fix #354663
* expression.cs (Binary.IsUnsignedType): Fix typo.

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

16 years ago* gtest-exmethod-08.cs: Initialize 'first' and 'second' to non-null.
Raja R Harinath [Tue, 22 Jan 2008 13:36:09 +0000 (13:36 -0000)]
* gtest-exmethod-08.cs: Initialize 'first' and 'second' to non-null.

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

16 years agoMore food for our quickly catching up duo
Marek Safar [Tue, 22 Jan 2008 13:22:47 +0000 (13:22 -0000)]
More food for our quickly catching up duo

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

16 years agoNew test.
Marek Safar [Tue, 22 Jan 2008 13:18:06 +0000 (13:18 -0000)]
New test.

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 13:15:52 +0000 (13:15 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

  * ecore.cs, expression.cs, generic.cs: Implemented NewArrayInit expression.

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

16 years agofix test suite
Igor Zelmanovich [Tue, 22 Jan 2008 12:42:03 +0000 (12:42 -0000)]
fix test suite

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

16 years ago2008-01-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Jan 2008 12:23:25 +0000 (12:23 -0000)]
2008-01-22  Sebastien Pouliot  <sebastien@ximian.com>

* Syscall.cs: Fix Flock.Equals to avoid NRE (and return false if object
is null). Found using Gendarme.

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

16 years ago2008-01-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Jan 2008 12:23:09 +0000 (12:23 -0000)]
2008-01-22  Sebastien Pouliot  <sebastien@ximian.com>

* UnixPipes.cs: Fix Equals to avoid NRE (and return false if object
is null). Found using Gendarme.

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

16 years ago2008-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jan 2008 12:22:24 +0000 (12:22 -0000)]
2008-01-22  Zoltan Varga  <vargaz@gmail.com>

* MonoGenericClass.cs: Make this NET 2.0 only.

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

16 years agofix test
Igor Zelmanovich [Tue, 22 Jan 2008 12:16:48 +0000 (12:16 -0000)]
fix test

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

16 years ago2008-01-22 Stephane Delcroix <sdelcroix@novell.com>
Stephane Delcroix [Tue, 22 Jan 2008 12:03:03 +0000 (12:03 -0000)]
2008-01-22  Stephane Delcroix  <sdelcroix@novell.com>

* TimeZoneInfoTest.cs: disable failing tests at runtime on windows

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

16 years agoworking
Jb Evain [Tue, 22 Jan 2008 11:42:01 +0000 (11:42 -0000)]
working

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

16 years agochecks
Jb Evain [Tue, 22 Jan 2008 11:41:57 +0000 (11:41 -0000)]
checks

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

16 years agoworking
Jb Evain [Tue, 22 Jan 2008 11:34:55 +0000 (11:34 -0000)]
working

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

16 years agoadd Sum checks
Jb Evain [Tue, 22 Jan 2008 11:34:42 +0000 (11:34 -0000)]
add Sum checks

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

16 years ago2008-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jan 2008 11:24:48 +0000 (11:24 -0000)]
2008-01-22  Zoltan Varga  <vargaz@gmail.com>

* MonoGenericClass.cs (Initialize): Simplify this a bit and add comments for this
class.

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

16 years ago2008-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jan 2008 11:23:02 +0000 (11:23 -0000)]
2008-01-22  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h (MonoReflectionGenericClass): Make the 'generic_type' field
a MonoReflectionTypeBuilder since it is always of that type.

* reflection.c (mono_type_get_object): Remove an unneccesary check.

* reflection.c (mono_generic_class_get_object): Simplify this a bit.

* reflection.c (mono_reflection_bind_generic_parameters): Ditto.

* icall.c (ves_icall_MonoGenericClass_GetParentType): Ditto.

* icall.c (ves_icall_MonoGenericClass_GetInterfaces): Ditto.

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

16 years agosmall refactoring
Jb Evain [Tue, 22 Jan 2008 10:59:22 +0000 (10:59 -0000)]
small refactoring

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

16 years agosmall refactoring
Jb Evain [Tue, 22 Jan 2008 10:42:47 +0000 (10:42 -0000)]
small refactoring

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

16 years agosmall refactoring
Jb Evain [Tue, 22 Jan 2008 10:39:12 +0000 (10:39 -0000)]
small refactoring

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 10:11:58 +0000 (10:11 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

A test for bug #355161

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

16 years ago008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 10:11:24 +0000 (10:11 -0000)]
008-01-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #355161
  * ecore.cs, expression.cs: Wider range of extension method supported
  expressions.

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

16 years ago * TestGraphics.cs: Added test for bug #355141.
Gert Driesen [Tue, 22 Jan 2008 09:51:47 +0000 (09:51 -0000)]
 * TestGraphics.cs: Added test for bug #355141.

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

16 years ago2008-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jan 2008 09:47:00 +0000 (09:47 -0000)]
2008-01-22  Jb Evain  <jbevain@novell.com>

* ExpressionPrinter.cs: fix Lambda and Equal.

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

16 years ago* AssemblyBuilder.cs: Introduce magic value for AssemblyBuilferAccess
Gert Driesen [Tue, 22 Jan 2008 09:26:29 +0000 (09:26 -0000)]
* AssemblyBuilder.cs: Introduce magic value for AssemblyBuilferAccess
to signal usage from a compiler. On 2.0 profile, perform argument
check for access. Use AssemblyFlags passed in through AssemblyName
arguments. Modified SetCustomAttribute to only use the Assembly*
attribute for constructing the assembly name when used in compiler
context. Fixes corlib part of bug #354970.
* AppDomainTest.cs: Added DefineDynamicAssembly tests for invalid
AssemblyBuilderAccess argument. Enabled test for DefineDynamicAssembly
overload taking IEnumerable<CustomAttributeBuilder>. Fixed typo in
comments.
* AssemblyBuilderTest.cs: Enabled test for bug #354970.

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

16 years ago* codegen.cs: Use magic value for AssemblyBuilderAccess to instruct
Gert Driesen [Tue, 22 Jan 2008 09:24:34 +0000 (09:24 -0000)]
* codegen.cs: Use magic value for AssemblyBuilderAccess to instruct
AssemblyBuilder to operate in compiler context. Fixes mcs part of
bug #354970.

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

16 years agocomplete tests
Jb Evain [Tue, 22 Jan 2008 09:18:16 +0000 (09:18 -0000)]
complete tests

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

16 years ago move headers_sent initialization up to prevent additional trial to send headers...
Konstantin Triger [Tue, 22 Jan 2008 09:12:52 +0000 (09:12 -0000)]
 move headers_sent initialization up to prevent additional trial to send headers if an exception is thrown

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

16 years agoone namespace to rule them all
Jb Evain [Tue, 22 Jan 2008 08:59:38 +0000 (08:59 -0000)]
one namespace to rule them all

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

16 years agoenable new Enumerable tests
Jb Evain [Tue, 22 Jan 2008 08:53:19 +0000 (08:53 -0000)]
enable new Enumerable tests

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

16 years ago2008-01-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jan 2008 08:52:56 +0000 (08:52 -0000)]
2008-01-22  Jb Evain  <jbevain@novell.com>

* EnumerableMoreTest.cs: add tests by
Andreas Noever <andreas.noever@gmail.com>.

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

16 years agofix ToDictionary comparer
Jb Evain [Tue, 22 Jan 2008 08:51:44 +0000 (08:51 -0000)]
fix ToDictionary comparer

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

16 years ago2008-01-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jan 2008 08:44:22 +0000 (08:44 -0000)]
2008-01-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #355148
  * ecore.cs, expression.cs: Correctly report misused ref and out modifiers.

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

16 years agoNew test.
Marek Safar [Tue, 22 Jan 2008 08:42:27 +0000 (08:42 -0000)]
New test.

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

16 years ago2008-01-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 22 Jan 2008 07:01:58 +0000 (07:01 -0000)]
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* BinaryExpression.cs (EmitCoalesce): Add support for emitting
code for Coalesce.

TODO: this does not use the "Conversion" Lambda, which am not sure
who generates this or what it is used for.

(EmitLogical): Fix a couple of bugs in AndAlso, OrElse.

* Expression.cs: Add support for Coalesce.
(BinaryCoreCheck): Move more checking here, instead of the helper
routines, will remove them next.

* LambdaExpression.cs (Compile): Create the delegate last, so we
manage to save the assembly while debugging in case of error

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

16 years agoFix java build - add reference to myfaces
Noam Lampert [Tue, 22 Jan 2008 05:22:52 +0000 (05:22 -0000)]
Fix java build - add reference to myfaces

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

16 years ago2008-01-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 22 Jan 2008 05:20:21 +0000 (05:20 -0000)]
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* expression.cs (CreateExpressionTree): Add support for or and
logical or, and indent following the coding conventions.

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

16 years ago2008-01-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 22 Jan 2008 05:12:04 +0000 (05:12 -0000)]
2008-01-22  Miguel de Icaza  <miguel@novell.com>

* typemanager.cs (LinqExpression): renamed from
ExpressionTreeManager, for a shorter name.

Use TypeManager.CoreLookupType to lookup types from our core
assemblies and turn those into "Type" variables.

Consumers that previously used "Namespace" and "Type" from this
class should instead use the TypeExpression which is a type that
is fully resolved (without involving the regular C# resolution
rules).

This typically looks like this:

TypeExpression texpr = new TypeExpression (LinqExpression.expression_type, loc);
new MemberAccess (texpr, name, type_arguments, loc)

This avoids the problem in: #355178

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

16 years ago2008-01-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 22 Jan 2008 02:49:19 +0000 (02:49 -0000)]
2008-01-22  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs: IsValueTypeGridItem should return true
 for Arrays as well.

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

16 years ago2008-01-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 22 Jan 2008 02:03:03 +0000 (02:03 -0000)]
2008-01-22  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  - Renamed GridEntry.SelectedObjects to TargetObjects to better
  reflect the property name role.
  - PropertyGrid.GetTarget is not required as the target is known
  (TargetObjects).
  - Setting values will handle value types as a special case now and
  populate them up in the chain.
  [Fixes #354990]

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

16 years ago2008-01-21 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 22 Jan 2008 01:25:04 +0000 (01:25 -0000)]
2008-01-21  Miguel de Icaza  <miguel@novell.com>

* Expression.cs (BinaryCoreCheck): Add checking for a few
operators here (to avoid doing a second pass, handles AndAlso and
OrElse).

(AndAlso, OrElse): Add some code.

* BinaryExpression.cs: Instead of using GetValueOrDefault use
get_Value, as we already probed for the lack of value.

Split out support for And/Or to a separate routine as the code is
not very easy to share with the arithmetics code.

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

16 years agoAdd more codepath checks
Miguel de Icaza [Tue, 22 Jan 2008 01:22:50 +0000 (01:22 -0000)]
Add more codepath checks

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

16 years ago2008-01-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Jan 2008 01:07:39 +0000 (01:07 -0000)]
2008-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* DateTimeOffsetTest.cs: Add test case for Equals to validate
Gendarme's finding.

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

16 years agoDateTimeOffset.cs: Avoid NRE on bad cast if null is provided to Equals(object). Found...
Sebastien Pouliot [Tue, 22 Jan 2008 01:06:46 +0000 (01:06 -0000)]
DateTimeOffset.cs: Avoid NRE on bad cast if null is provided to Equals(object). Found using Gendarme.

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

16 years ago2008-01-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Jan 2008 00:47:34 +0000 (00:47 -0000)]
2008-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* TimeZoneInfo.TransitionTime.cs: Avoid NRE on bad cast if null is
provided to Equals(object). Found with Gendarme.

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

16 years ago2008-01-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 22 Jan 2008 00:46:34 +0000 (00:46 -0000)]
2008-01-21  Sebastien Pouliot  <sebastien@ximian.com>

* TimeZoneInfo.TransitionTimeTest.cs: Add test case for Equals to
validate Gendarme finding.

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

16 years ago2008-01-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Jan 2008 00:45:47 +0000 (00:45 -0000)]
2008-01-21  Jonathan Pobst  <monkey@jpobst.com>

* Hwnd.cs: Create a public property for the Graphics we keep around.

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

16 years ago2008-01-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jan 2008 23:59:45 +0000 (23:59 -0000)]
2008-01-22  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_reflection_create_runtime_class): Remove already created
instantiations from the type cache.

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

16 years agoTest fixed.
Marek Safar [Mon, 21 Jan 2008 23:08:06 +0000 (23:08 -0000)]
Test fixed.

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

16 years ago2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jan 2008 21:44:56 +0000 (21:44 -0000)]
2008-01-21 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_ldstr): fixed token verification. previous code was 100% broken.

* verify.c (do_unbox_value): push a controled mutability managed pointer.

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

16 years ago2008-01-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jan 2008 21:07:16 +0000 (21:07 -0000)]
2008-01-21  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: fix Intersect.

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

16 years ago2008-01-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jan 2008 21:02:45 +0000 (21:02 -0000)]
2008-01-21  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: fix Concat et SelectMany.

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

16 years ago2008-01-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jan 2008 20:57:10 +0000 (20:57 -0000)]
2008-01-21  Jb Evain  <jbevain@novell.com>

* Enumerable.cs: fix range.

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

16 years ago2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jan 2008 20:41:50 +0000 (20:41 -0000)]
2008-01-21 Rodrigo Kumpera  <rkumpera@novell.com>
* verify.c (do_ldstr): added, verifies if the #US token is valid.

* verify.c (mono_method_verify): removed old TODO

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

16 years ago2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jan 2008 20:40:17 +0000 (20:40 -0000)]
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>

* invalid_ldstr_bad_token.il: added. check the index
against the the #US heap.

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

16 years ago2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jan 2008 20:10:10 +0000 (20:10 -0000)]
2008-01-21 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_newobj): add visibility check.

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

16 years ago * unverifiable_newobj_no_visibility.il: added. visibility
Rodrigo Kumpera [Mon, 21 Jan 2008 20:09:28 +0000 (20:09 -0000)]
* unverifiable_newobj_no_visibility.il: added. visibility
check for newobj.

2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>

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

16 years agoImprove the helper tool, generate code twice
Miguel de Icaza [Mon, 21 Jan 2008 19:53:04 +0000 (19:53 -0000)]
Improve the helper tool, generate code twice

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

16 years ago2008-01-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Jan 2008 19:31:05 +0000 (19:31 -0000)]
2008-01-21  Marek Safar  <marek.safar@gmail.com>

* BinaryExpression.cs: Fixed initobj initialization.

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

16 years agoModify java build to use a different JSF implementation
Noam Lampert [Mon, 21 Jan 2008 19:18:43 +0000 (19:18 -0000)]
Modify java build to use a different JSF implementation

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

16 years ago2008-01-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Jan 2008 19:18:00 +0000 (19:18 -0000)]
2008-01-21  Marek Safar  <marek.safar@gmail.com>

* BinaryExpression.cs: Fixed initobj initialization.

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

16 years ago2008-01-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Jan 2008 19:13:41 +0000 (19:13 -0000)]
2008-01-21  Marek Safar  <marek.safar@gmail.com>

  * cs-parser.jay, expression.cs: Check `namespace alias qualifier' language
  feature in parser only as we do in other cases.

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

16 years ago2008-01-21 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 21 Jan 2008 19:13:36 +0000 (19:13 -0000)]
2008-01-21  Ivan N. Zlatev  <contact@i-nz.net>

 * PropertyGridView.cs: Just hide the grid textbox and do nothing more
 when the current object selection changes.
 Fixes failing test SelectedObject_Null2.B5.

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

16 years ago2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jan 2008 18:30:52 +0000 (18:30 -0000)]
2008-01-21 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_load_function_ptr): add visibility check.

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

16 years ago2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jan 2008 18:27:38 +0000 (18:27 -0000)]
2008-01-21 Rodrigo Kumpera <rkumpera@novell.com>

* unverifiable_ldftn_no_visibility.il: added. visibility
check for ldftn.

* unverifiable_ldvirtftn_no_visibility.il: added. visibility
check for ldvirtftn.

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