mono.git
17 years ago2007-06-06 Nagappan A <anagappan@novell.com>
Nagappan Alagappan [Wed, 6 Jun 2007 10:38:13 +0000 (10:38 -0000)]
2007-06-06  Nagappan A  <anagappan@novell.com>

* ColumnReference.cs (Unify): Return object as it is, if object
type is char. Fixes bug # 81625.

* Numeric.cs (IsNumeric): Return false if object type is
char. Fixes bug # 81625.

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

17 years ago2007-06-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 6 Jun 2007 04:47:58 +0000 (04:47 -0000)]
2007-06-05  Miguel de Icaza  <miguel@novell.com>

* TreeNodeCollection.cs: Applied patch from Neil Cawse <neilcawse@geotab.com>

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

17 years ago2007-06-05 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Tue, 5 Jun 2007 23:45:32 +0000 (23:45 -0000)]
2007-06-05  Rodrigo Kumpera  <kumpera@gmail.com>

* get.c: Support for variance related generics modifiers: <+T> and <-T>

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

17 years ago2006-06-05 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Tue, 5 Jun 2007 23:41:43 +0000 (23:41 -0000)]
2006-06-05  Rodrigo Kumpera <kumpera@gmail.com>
* ILParser.jay: Support for variance related generic modifiers <+T> and <-T>

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

17 years ago2007-06-05 Rodrigo Kumpera <kumpera@gmail.com
Rodrigo Kumpera [Tue, 5 Jun 2007 23:41:16 +0000 (23:41 -0000)]
2007-06-05  Rodrigo Kumpera <kumpera@gmail.com

* generics-variance.il: New. Test for variance related generic modifiers <+T> and <-T>

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

17 years ago2007-06-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 5 Jun 2007 22:53:57 +0000 (22:53 -0000)]
2007-06-05  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: We can't cache Bounds in VirtualMode
since we can get different item instances every time we retrieve it.

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

17 years ago2007-06-06 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 5 Jun 2007 22:10:37 +0000 (22:10 -0000)]
2007-06-06  Mark Probst  <mark.probst@gmail.com>

* mini.c, driver.c: Reverted the MonoInternalHashTable changes.
Have to figure out what makes them crash the SWF regression.

2007-06-06  Mark Probst  <mark.probst@gmail.com>

* class.c, image.c, class-internals.h, domain.c,
domain-internals.h (MonoImage): Reverting MonoInternalHashTable
changes.  Have to figure out what makes them break the SWF
regression.

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

17 years ago2007-06-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 5 Jun 2007 21:00:27 +0000 (21:00 -0000)]
2007-06-05  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (mono_arch_lowering_pass): Fix ia64 build.

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

17 years ago2007-06-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 5 Jun 2007 19:42:23 +0000 (19:42 -0000)]
2007-06-05  Robert Jordan  <robertj@gmx.net>

* RemotingServicesTest.cs: Add test for bug #81811.

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

17 years ago2007-06-05 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 5 Jun 2007 19:39:16 +0000 (19:39 -0000)]
2007-06-05  Robert Jordan  <robertj@gmx.net>

* ChannelServices.cs (CreateClientChannelSinkChain):
Provide the URI when channel data is not IChannelDataStore,
otherwise the channels won't be able to obtain the URI.
Fixes #81811.

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

17 years agoSet eol-style.
Robert Jordan [Tue, 5 Jun 2007 19:32:02 +0000 (19:32 -0000)]
Set eol-style.

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

17 years ago2007-06-05 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Tue, 5 Jun 2007 16:16:01 +0000 (16:16 -0000)]
2007-06-05  Andreia Gaita  <avidigal@novell.com>

* build-csproj, build-csproj2k5, swf.csproj, SWF2k5.csproj:
Move external Consts.cs and MonoTODOAttribute.cs dependencies
to the mwf tree, change the build scripts accordingly (so a
user can compile and debug with mwf without having all the mono
source tree).
Remove Mono.Posix reference from build-csproj2k5.
Fix conditional compilation symbols (NET_1_1 should also be
defined on 2.0)
Synch up the *.csproj files

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

17 years agoTue Jun 5 17:40:04 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 5 Jun 2007 15:42:10 +0000 (15:42 -0000)]
Tue Jun 5 17:40:04 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: optimizee out the type check when storing null in a
reference array.

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

17 years ago2007-06-05 David Ferguson <davecferguson@gmail.com>
Andreia Gaita [Tue, 5 Jun 2007 15:11:22 +0000 (15:11 -0000)]
2007-06-05  David Ferguson <davecferguson@gmail.com>

* DateTime.cs: Changed DateTime.Parse() to throw a FormatException
  instead of an ArgumentOutOfRangeException for .NET 2.0.  An
  ArgumentOutOfRangeException is still thrown for .NET 1.1.
  Fixes bug #77633. Add test.

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

17 years ago2007-06-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 5 Jun 2007 13:43:34 +0000 (13:43 -0000)]
2007-06-05  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs (CSharpSignature): One more missing build-in types
replacement.
More tricks for non-mono runtime.

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

17 years ago2007-06-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 Jun 2007 12:50:12 +0000 (12:50 -0000)]
2007-06-05  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: TemplateSourceDirectory in the 2.0
profile uses the TemplateControl property instead of Parent. This
allows to return the correct path.

2007-06-05  Marek Habersack  <mhabersack@novell.com>

* Control.cs: TemplateSourceDirectory uses TemplateControl to
lookup the virtual source directory in the 2.0 instead of the
Parent.
ResolveClientUrl copes with empty TemplateSourceDirectory in the
correct way now - the check is made after the basePath checks.
The changes above make ResolveClientUrl work properly when called
from within a control residing in a TemplateControl.

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

17 years ago2007-06-03 Kamil Skalski <nazgul@nemerle.org>
Marek Habersack [Tue, 5 Jun 2007 10:07:19 +0000 (10:07 -0000)]
2007-06-03  Kamil Skalski  <nazgul@nemerle.org>

        * SQLiteConvert.cs: Port function for converting native UTF8 string
      into managed string from the old SqliteClient implementation.
      Use it instead of PtrToStrAuto, which fails on Windows.

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

17 years agoMake cyclic-dependency handling more readable
Raja R Harinath [Tue, 5 Jun 2007 09:57:11 +0000 (09:57 -0000)]
Make cyclic-dependency handling more readable
* Makefile (MISSING_DEPS): New.  Contains the list of cyclic
dependencies that aren't present.
(echo-warning): Simplify drastically.

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

17 years ago* statement.cs (Block.CheckError136_InParents): Remove.
Raja R Harinath [Tue, 5 Jun 2007 09:56:59 +0000 (09:56 -0000)]
* statement.cs (Block.CheckError136_InParents): Remove.
(Block.AddVariable): Use GetParameterInfo instead.
(ToplevelBlock.ProcessArguments): Likewise.

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

17 years ago2007-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 5 Jun 2007 04:20:57 +0000 (04:20 -0000)]
2007-06-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Work around for #81602, since an unkown an pretty
infrequent condition appears only in some systems (old linux boxes, it
seems).

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

17 years ago2007-06-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Jun 2007 21:17:42 +0000 (21:17 -0000)]
2007-06-04  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs : fix silliness.

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

17 years ago2007-06-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 4 Jun 2007 20:51:49 +0000 (20:51 -0000)]
2007-06-04  Mark Probst  <mark.probst@gmail.com>

* class.c, image.c, class-internals.h (MonoImage): class_cache is
a MonoInternalHashTable now.

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

17 years ago2007-06-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 4 Jun 2007 20:49:21 +0000 (20:49 -0000)]
2007-06-04  Mark Probst  <mark.probst@gmail.com>

* mini.c, driver.c: Changed MonoDomain.jit_code_hash to a
MonoInternalHashTable.

2007-06-04  Mark Probst  <mark.probst@gmail.com>

* domain.c, domain-internals.h (MonoDomain): jit_code_hash is a
MonoInternalHashTable now.

2007-06-04  Mark Probst  <mark.probst@gmail.com>

* interp.c, interp.h (RuntimeMethod): Due to the jit_code_hash
change in MonoDomain this had to be changed slightly, too.

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

17 years ago2007-06-04 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 4 Jun 2007 20:37:43 +0000 (20:37 -0000)]
2007-06-04  Mark Probst  <mark.probst@gmail.com>

* Makefile.am:
* mono-internal-hash.c, mono-internal-hash.h: Hash table which
uses the value themselves as nodes, hence doesn't have to allocate
nodes.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 20:00:44 +0000 (20:00 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* Button.cs: Completely reformat and a little refactor to bring
this closer to Mono circa 2007.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 19:38:37 +0000 (19:38 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
to be ButtonBase.Invalidate.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 18:49:52 +0000 (18:49 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* ButtonBase.cs: GetPreferredSize is 2.0 only.  Fixes build.

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

17 years ago2007-06-04 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 17:35:35 +0000 (17:35 -0000)]
2007-06-04  Jonathan Pobst  <monkey@jpobst.com>

* ButtonBase.cs: Completely reformat and a little refactor to bring
this closer to Mono circa 2007.

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

17 years ago * PropertyGridTest.cs: Added test for bug #81796, and reworked
Gert Driesen [Mon, 4 Jun 2007 16:46:55 +0000 (16:46 -0000)]
 * PropertyGridTest.cs: Added test for bug #81796, and reworked
SelectedGridItem_Null test to no longer check actual message.

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

17 years agoIn mcs:
Raja R Harinath [Mon, 4 Jun 2007 14:41:01 +0000 (14:41 -0000)]
In mcs:
* statement.cs (ToplevelBlock.CloneTo): New.  Copy over parameter
information too.
(ToplevelBlock.GetParameterInfo): Split out of ...
(ToplevelBlock.GetParameterRefernce): ... this.
(ToplevelBlock.ParameterMap): Remove.
* expression.cs (ParameterReference): Update to use
ToplevelParameterInfo.

In gmcs:
* linq.cs (Select.DoResolve): Pass the created parameters to the
ToplevelBlock too.

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

17 years ago2007-06-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 4 Jun 2007 14:03:54 +0000 (14:03 -0000)]
2007-06-04  Atsushi Enomoto  <atsushi@ximian.com>

* CustomizableLocalFileSettingsProvider.cs : contribution for
  LocalFileSettingsProvider implementation, by Noriaki Okimoto
  (seara@ojk.sppd.ne.jp), modified by myself to fit for System.dll.
  Origin of code license assignment at
  http://ojk.sppd.ne.jp/ojkblog/?date=20070603#p01.
* LocalFileSettingsProvider.cs : rewriting to use above.

  Due to some kind of compiler issue it is not enabled yet.

* System.dll.sources :
  added CustomizableLocalFileSettingsProvider.cs.

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

17 years ago* statement.cs (ToplevelBlock.ProcessParameters): Workaround some regression.
Raja R Harinath [Mon, 4 Jun 2007 13:33:51 +0000 (13:33 -0000)]
* statement.cs (ToplevelBlock.ProcessParameters): Workaround some regression.

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

17 years agoerror test gcs0412-3.cs worked only by chance
Raja R Harinath [Mon, 4 Jun 2007 13:09:31 +0000 (13:09 -0000)]
error test gcs0412-3.cs worked only by chance

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

17 years ago* flowanalysis.cs (FlowBranching.CheckOutParameters): Move ...
Raja R Harinath [Mon, 4 Jun 2007 12:54:53 +0000 (12:54 -0000)]
* flowanalysis.cs (FlowBranching.CheckOutParameters): Move ...
* statement.cs (ToplevelBlock.CheckOutParameters): ... here.

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

17 years agoMon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Jun 2007 12:41:12 +0000 (12:41 -0000)]
Mon Jun 4 14:52:17 CEST 2007 Paolo Molaro <lupus@ximian.com>

* String.cs: optimized CompareOrdinal ().

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

17 years ago* statement.cs (ToplevelBlock.ResolveMeta): Move CS0136 checks ...
Raja R Harinath [Mon, 4 Jun 2007 12:14:29 +0000 (12:14 -0000)]
* statement.cs (ToplevelBlock.ResolveMeta): Move CS0136 checks ...
(ToplevelBlock.ProcessParameters) ... here.
(ToplevelBlock..ctor): Invoke it.

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

17 years ago* statement.cs (ToplevelBlock.ResolveMeta): Add sanity checks for
Raja R Harinath [Mon, 4 Jun 2007 11:23:18 +0000 (11:23 -0000)]
* statement.cs (ToplevelBlock.ResolveMeta): Add sanity checks for
new parameters.

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

17 years ago* statement.cs (IKnownVariable): New interface.
Raja R Harinath [Mon, 4 Jun 2007 10:44:39 +0000 (10:44 -0000)]
* statement.cs (IKnownVariable): New interface.
(LocalInfo): Implement it.
(ToplevelParameterInfo): New class.
(ExplicitBlock.AddKnownVariable): Use IKnownVariable.
(ExplicitBlock.GetKnownVariable): Likewise.  Rename from GetKnownVariableInfo.

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

17 years agoExclude i8 for now.
Paolo Molaro [Mon, 4 Jun 2007 10:19:13 +0000 (10:19 -0000)]
Exclude i8 for now.

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

17 years agoMon Jun 4 11:29:43 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 4 Jun 2007 09:19:51 +0000 (09:19 -0000)]
Mon Jun 4 11:29:43 CEST 2007 Paolo Molaro <lupus@ximian.com>

* inssel.brg, mini.c, mini-ops.h: optimized Math.Mini/Max
signed integer methods.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 4 Jun 2007 01:09:32 +0000 (01:09 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Modify AutoSizeGrowAndShrink test to pass on all WM's.

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

17 years agosvn path=/trunk/mcs/; revision=78505
Noam Lampert [Sun, 3 Jun 2007 13:37:10 +0000 (13:37 -0000)]
svn path=/trunk/mcs/; revision=78505

17 years agoimclude new files
Konstantin Triger [Sun, 3 Jun 2007 13:35:31 +0000 (13:35 -0000)]
imclude new files

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

17 years agofixing ifdefs
Konstantin Triger [Sun, 3 Jun 2007 13:28:07 +0000 (13:28 -0000)]
fixing ifdefs

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

17 years agoFix j2ee reference
Noam Lampert [Sun, 3 Jun 2007 13:22:56 +0000 (13:22 -0000)]
Fix j2ee reference

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

17 years agoremove unneeded overrides
Konstantin Triger [Sun, 3 Jun 2007 12:10:46 +0000 (12:10 -0000)]
remove unneeded overrides

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

17 years agoSwitch j2ee to JavaEE
Noam Lampert [Sun, 3 Jun 2007 10:55:36 +0000 (10:55 -0000)]
Switch j2ee to JavaEE

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

17 years agoFix rt reference
Noam Lampert [Sun, 3 Jun 2007 10:54:01 +0000 (10:54 -0000)]
Fix rt reference

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

17 years agoFix rt reference
Noam Lampert [Sun, 3 Jun 2007 10:52:15 +0000 (10:52 -0000)]
Fix rt reference

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

17 years agoCreate consts.cs in pre-build
Noam Lampert [Sun, 3 Jun 2007 10:22:53 +0000 (10:22 -0000)]
Create consts.cs in pre-build

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

17 years agoAdd vs2005 project for jay
Noam Lampert [Sun, 3 Jun 2007 09:52:32 +0000 (09:52 -0000)]
Add vs2005 project for jay

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

17 years agoGenerate documenation for this assembly
Noam Lampert [Sun, 3 Jun 2007 09:30:09 +0000 (09:30 -0000)]
Generate documenation for this assembly

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

17 years agoRework the way we compile the aspx file and merge the jar. The old schema tended...
Noam Lampert [Sun, 3 Jun 2007 09:28:39 +0000 (09:28 -0000)]
Rework the way we compile the aspx file and merge the jar. The old schema tended to leave random files and randomly convolute the build

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

17 years ago2007-06-03 Adar Wesley <adarw@mainsoft.com>
Adar Wesley [Sun, 3 Jun 2007 08:40:38 +0000 (08:40 -0000)]
2007-06-03  Adar Wesley <adarw@mainsoft.com>

        * ProfilePropertySettingsCollection.cs: added missing method
        OnDeserializeUnrecognizedElement.

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

17 years agoPartly speed up CS0136 error checks.
Raja R Harinath [Sun, 3 Jun 2007 06:16:41 +0000 (06:16 -0000)]
Partly speed up CS0136 error checks.
* statement.cs (ExplicitBlock.GetKnownVariableInfo): Remove
'recurse' parameter.
(Block.DoCheckError136): Only check errors in parameters.  Move
local variable checks ...
(Block.AddVariable): ... here, and ...
(ToplevelBlock.ResolveMeta): ... here.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 2 Jun 2007 19:08:51 +0000 (19:08 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Disable the static case
permanently since the current approach doesn't work.

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

17 years ago* statement.cs (Block.IsChildOf): Remove.
Raja R Harinath [Sat, 2 Jun 2007 16:19:14 +0000 (16:19 -0000)]
* statement.cs (Block.IsChildOf): Remove.

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

17 years ago* statement.cs (Statement.Clone): Move special case code to Block.CloneTo.
Raja R Harinath [Sat, 2 Jun 2007 16:19:03 +0000 (16:19 -0000)]
* statement.cs (Statement.Clone): Move special case code to Block.CloneTo.

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

17 years ago2007-06-01 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sat, 2 Jun 2007 15:03:34 +0000 (15:03 -0000)]
2007-06-01  Everaldo Canuto  <ecanuto@novell.com>

* Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
values for autosize. Fixes #80137.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 2 Jun 2007 11:19:20 +0000 (11:19 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg (stmt): Only call delegate->invoke_impl if
MONO_ARCH_HAVE_CREATE_DELEGATE_TRAMPOLINE is defined.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:43:38 +0000 (23:43 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* PropertyInfoTest.cs: Mark new test as NotWorking.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:38:46 +0000 (23:38 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* MonoCustomAttrs.cs (GetBase): Revert last change as it breaks the build.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:20:01 +0000 (23:20 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* PropertyInfoTest.cs: Added new test.

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

17 years ago2007-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 23:19:22 +0000 (23:19 -0000)]
2007-06-02  Zoltan Varga  <vargaz@gmail.com>

* MonoCustomAttrs.cs (GetBase): Handle properties correctly. Fixes #81797.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Jun 2007 22:14:09 +0000 (22:14 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Don't perform layout when AutoSize changes.
* Form.cs: Perform layout in AutoSize override.  Don't set ClientSize
directly when autosizing, use SetBounds with BoundsSpecified.None.
Fixes unit tests my last commit broke.

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

17 years ago2007-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 20:21:50 +0000 (20:21 -0000)]
2007-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_output_basic_block): Unify div/rem opcodes and handle
the sreg2==rdx case.

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

17 years ago2007-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 20:17:40 +0000 (20:17 -0000)]
2007-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c cpu-amd64.md: Correct length of r4const instruction and take into
account if it contains a rex prefix.
(peephole_pass): Handle OP_FMOVE as well.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Jun 2007 19:50:24 +0000 (19:50 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Perform layout when AutoSize changes.
* Form.cs: Implement AutoSizing.

2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* FormTest.cs: Add tests for AutoSize'ing.

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

17 years ago * DataGrid.cs: remove the XXX'ed check at the top of
Chris Toshok [Fri, 1 Jun 2007 19:38:23 +0000 (19:38 -0000)]
* DataGrid.cs: remove the XXX'ed check at the top of
ProcessGridKey.  fixes #80464.

2007-06-01  Chris Toshok  <toshok@ximian.com>

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

17 years ago2007-06-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 1 Jun 2007 19:31:41 +0000 (19:31 -0000)]
2007-06-01  Chris Toshok  <toshok@ximian.com>

* DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
adding idempotent (add/remove in Edit()), and also make sure we
don't add it until after we set the text, so it's not tripped in
Edit().  Fixes unit test regression.

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

17 years ago2007-05-23 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 1 Jun 2007 18:10:59 +0000 (18:10 -0000)]
2007-05-23  Everaldo Canuto  <ecanuto@novell.com>

* LabelTest.cs: Fix SizeTest for 2.0 profile since autosize theres
diferent behavior on 2.0.

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

17 years ago2007-06-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 1 Jun 2007 17:22:34 +0000 (17:22 -0000)]
2007-06-01  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: In UpdateBounds, only recalculate anchor distances if the
change is user explicit, not when the layout engine moves stuff.  Fixes
anchoring to bottom and right.  [Fixes bug #81790]

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

17 years agoIn .:
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 17:00:02 +0000 (17:00 -0000)]
In .:
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* corlib_test.dll.sources : added DateTimeFormatInfoTest.cs.

In Test/System.Globalization:
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* DateTimeFormatInfo.cs: Added EraName.

In System.Globalization:
2007-05-31  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* GregorianCalendar.cs: Change era names from C.E./Common Era
to AD/A.D.
* DateTimeFormatInfo.cs: GetEra: search the abbreviated era names
as well for the era, and return the era, not the index of the era
in the array.

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

17 years ago* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726. (forgot the changelog)
Andreia Gaita [Fri, 1 Jun 2007 16:41:57 +0000 (16:41 -0000)]
* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726. (forgot the changelog)

2007-06-01  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 16:40:20 +0000 (16:40 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* Calendar.cs DateTimeFormatInfo.cs : 2.0 API fixes.
* CalendricalCalculations.cs : fixed AddMonth() and AddYears() to
  consider that the max days in the target month (for AddYears()
  leap year month could matter). Fixed bug #81783.

* CalendarTest.cs : test for bug #81783 and AddYears() for leap year
  (similar issue).

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

17 years ago* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
Andreia Gaita [Fri, 1 Jun 2007 16:35:39 +0000 (16:35 -0000)]
* PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.

2007-06-01  Andreia Gaita  <avidigal@novell.com>

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

17 years ago* ContainerControl.cs: Fire enter event for common ancestor if
Andreia Gaita [Fri, 1 Jun 2007 15:59:35 +0000 (15:59 -0000)]
* ContainerControl.cs: Fire enter event for common ancestor if
it is not a ContainerControl.
Send focus to the active_control and not the 'value',the active
control might have been changed in one of the events fired.
Definitely fixes #80159.

2007-06-01  Andreia Gaita  <avidigal@novell.com>

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

17 years ago2007-06-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 1 Jun 2007 14:10:46 +0000 (14:10 -0000)]
2007-06-01  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: be case-insensitive when looking for
Bind requests.

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

17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 13:53:42 +0000 (13:53 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* MonoTODOAttribute.cs : fixed regression that those derived todo
  attribute types are not reported in the class status pages.

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

17 years ago2007-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 1 Jun 2007 13:52:22 +0000 (13:52 -0000)]
2007-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs mono-api-diff.cs :
  handle MonoTODOAttribute derivations.

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

17 years ago2007-06-01 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Fri, 1 Jun 2007 13:39:46 +0000 (13:39 -0000)]
2007-06-01  Andreia Gaita  <avidigal@novell.com>

* DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.

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

17 years ago2007-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 1 Jun 2007 12:41:49 +0000 (12:41 -0000)]
2007-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Disable the static case for now
as it causes regressions.

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

17 years ago* ScrollableControlTest.cs: Add ResizeAnchoredTest.
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 10:00:17 +0000 (10:00 -0000)]
* ScrollableControlTest.cs: Add ResizeAnchoredTest.
* PropertyGridTest.cs: A few more tests.

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

17 years ago* PropertyGrid.cs: Anchor the help description to the bottom of the
Rolf Bjarne Kvinge [Fri, 1 Jun 2007 09:57:13 +0000 (09:57 -0000)]
* PropertyGrid.cs: Anchor the help description to the bottom of the
  help panel and refactor SelectGridItem into a
  SelectGridItemInternal that can be set to null (and update it to
  clear the help texts when it is set to null). Set root item to null
  when there's no SelectedObject. Fixes #80438.
* ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  when we're recalculating after a resize (only).

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

17 years ago2007-06-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 1 Jun 2007 05:37:00 +0000 (05:37 -0000)]
2007-06-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Added a new test for 2.0 RedrawItem method.

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

17 years ago * ListView.cs: Implement 2.0 RedrawItems method.
Carlos Alberto Cortez [Fri, 1 Jun 2007 05:33:30 +0000 (05:33 -0000)]
* ListView.cs: Implement 2.0 RedrawItems method.

2007-05-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

17 years ago2007-05-31 Jeffrey Stedfast <fejj@gnome.org>
Jeffrey Stedfast [Fri, 1 Jun 2007 01:46:13 +0000 (01:46 -0000)]
2007-05-31  Jeffrey Stedfast  <fejj@gnome.org>

* SmtpClient.cs: Added an extensions parser to figure out if the
ESMTP server supports things like STARTTLS and which AUTH
mechanisms are supported. Don't try authenticating if no authmechs
are supported.

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

17 years ago2007-05-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 31 May 2007 21:44:46 +0000 (21:44 -0000)]
2007-05-31  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_get_delegate_invoke_impl): Implement support for the
static case as well.

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

17 years agoRollback r78168 that causes some unit test errors
Everaldo Canuto [Thu, 31 May 2007 19:38:25 +0000 (19:38 -0000)]
Rollback r78168 that causes some unit test errors

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

17 years ago2007-05-31 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 31 May 2007 19:29:32 +0000 (19:29 -0000)]
2007-05-31  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListControl.cs: Disconnect PositionChanged and ItemChanged
handlers from previous data manager when DataSource is set to
null. Fixes #81771.

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

17 years ago * TextBoxBase.cs: These seem to be the correct values.
Jackson Harper [Thu, 31 May 2007 18:47:47 +0000 (18:47 -0000)]
    * TextBoxBase.cs: These seem to be the correct values.

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

17 years ago2007-05-31 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Thu, 31 May 2007 17:46:36 +0000 (17:46 -0000)]
2007-05-31  Everaldo Canuto  <ecanuto@novell.com>

* FileDialog.cs: When close dialog with ok set filterindex using combobox
value. Fixes #81784.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 17:20:10 +0000 (17:20 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* LookupBindingPropertiesAttribute.cs:
  Should be sealed. Implemented GetHashCode().

* LookupBindingPropertiesAttributeTest.cs:
  test GetHashCode() as well.

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

17 years ago2007-05-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 31 May 2007 17:07:44 +0000 (17:07 -0000)]
2007-05-31  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Implement 2.0 scaling methods.

2007-05-31  Jonathan Pobst  <monkey@jpobst.com>

* ControlTest.cs: Add tests for 2.0 scaling methods.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 17:01:50 +0000 (17:01 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* ContainerFilterService.cs CustomTypeDescriptor.cs
  InstanceCreationEditor.cs InvalidAsynchronousStateException.cs
  MultilineStringConverter.cs NestedContainer.cs
  NullableConverter.cs TypeDescriptionProvider.cs
  TypeDescriptionProviderAttribute.cs :
  2.0 stubs except for [Obsolete].
* TypeDescriptor.cs : added missing 2.0 members.

* System.dll.sources :
  added couple of new 2.0 sys.ComponentModel types.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 16:14:48 +0000 (16:14 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyDescriptor.cs : oops, wrong fix.

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

17 years ago2007-05-31 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 31 May 2007 16:12:19 +0000 (16:12 -0000)]
2007-05-31  Atsushi Enomoto  <atsushi@ximian.com>

* PropertyDescriptor.cs : call base. fix winforms tests.

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

17 years ago* ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
Rolf Bjarne Kvinge [Thu, 31 May 2007 16:00:31 +0000 (16:00 -0000)]
* ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  corcompare issues.

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

17 years ago* ProgressBar.cs: Implemented missing 2.0 members.
Rolf Bjarne Kvinge [Thu, 31 May 2007 15:22:27 +0000 (15:22 -0000)]
* ProgressBar.cs: Implemented missing 2.0 members.

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

17 years ago* Control.cs: Corcompare issues.
Rolf Bjarne Kvinge [Thu, 31 May 2007 14:57:21 +0000 (14:57 -0000)]
* Control.cs: Corcompare issues.
* MessageBox.cs: Implemented missing 2.0 functions.

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