mono.git
17 years ago2007-01-15 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Mon, 15 Jan 2007 22:05:08 +0000 (22:05 -0000)]
2007-01-15  Jonathan Pobst  <jpobst@novell.com>

* Form.cs: Implement Form.ShowIcon.

* XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
null, which when combined with the DlgModalFrame window style removes
the icon from the title bar.

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

17 years agoFix a compilation issue
Marek Habersack [Mon, 15 Jan 2007 21:44:45 +0000 (21:44 -0000)]
Fix a compilation issue

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

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 21:23:01 +0000 (21:23 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
coexists in the same icon file.

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

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 21:21:57 +0000 (21:21 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* Icon.cs: Refactor Save code to allow saving a single icon size.
This allows ToBitmap to produce the right (sized) bitmap wrt the
selected icon size. Fix #80509 under UNIX.

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

17 years agoWsdl build provider added
Marek Habersack [Mon, 15 Jan 2007 21:02:18 +0000 (21:02 -0000)]
Wsdl build provider added

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

17 years agoAdd MonoTODO
Miguel de Icaza [Mon, 15 Jan 2007 20:50:01 +0000 (20:50 -0000)]
Add MonoTODO

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

17 years agoA few changes to the ADO.NET 2.0 support
Marek Habersack [Mon, 15 Jan 2007 20:45:44 +0000 (20:45 -0000)]
A few changes to the ADO.NET 2.0 support

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

17 years agoTypo
Sebastien Pouliot [Mon, 15 Jan 2007 20:42:21 +0000 (20:42 -0000)]
Typo

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

17 years ago2007-01-15 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Mon, 15 Jan 2007 20:30:37 +0000 (20:30 -0000)]
2007-01-15  Jonathan Pobst  <jpobst@novell.com>

* Control.cs: Call OnMouseClick after OnClick. (2.0)

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

17 years ago2007-01-15 Everaldo Canuto <everaldo@simios.org>
Everaldo Canuto [Mon, 15 Jan 2007 20:13:53 +0000 (20:13 -0000)]
2007-01-15  Everaldo Canuto  <everaldo@simios.org>

* MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
menu when mdi child windows theres a menu, uses insert to get icon
at first position. Partially fix #80006.

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

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 20:09:33 +0000 (20:09 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>
* TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
11x22, to test for non perfect match icon selection.
* TestImage.cs: Add test cases for locked/unlocked streams when using
GDI+ (e.g. Mono running on Windows).

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

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 20:09:08 +0000 (20:09 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>
* Bitmap.cs: Make sure we're not building bitmaps using stream that
can be disposed (as GDI+ may require access to them anytime);
* Image.cs: Track user versus internal streams in InitFromStream

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

17 years ago2007-01-15 Jonathan Pobst <jpobst@novell.com>
Jonathan Pobst [Mon, 15 Jan 2007 19:57:04 +0000 (19:57 -0000)]
2007-01-15  Jonathan Pobst  <jpobst@novell.com>

* Clipboard.cs: Implement 2.0 methods.

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

17 years ago* basic.cs, exceptions.cs: break up large tests to increase
Mark Mason [Mon, 15 Jan 2007 19:04:16 +0000 (19:04 -0000)]
* basic.cs, exceptions.cs: break up large tests to increase
debugability.

Signed-off-by: Mark Mason <mason@broadcom.com>
These changes submitted under the MIT/X11 license.

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

17 years ago * atomic.h: add locking primitives for MIPS.
Mark Mason [Mon, 15 Jan 2007 18:49:27 +0000 (18:49 -0000)]
* atomic.h: add locking primitives for MIPS.

Signed-off-by: Mark Mason <mason@broadcom.com>
These changes submitted under the MIT/X11 license.

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

17 years ago2007-01-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 15 Jan 2007 18:36:38 +0000 (18:36 -0000)]
2007-01-15  Miguel de Icaza  <miguel@novell.com>

* load-missing.il: Add test for missing assembly reference in
field reference;

Add test for missing type in newobj call.

Add test for missing type reference in a parameter.

Add test for missing assembly in method call.

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

17 years agoIcon.cs: Change icon selection to match either width *or* height.
Sebastien Pouliot [Mon, 15 Jan 2007 18:36:10 +0000 (18:36 -0000)]
Icon.cs: Change icon selection to match either width *or* height.

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

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 18:34:46 +0000 (18:34 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test cases for non-standard size icons, 10x16 and 11x22,
to test for non perfect match icon selection.

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

17 years agoAdd new non-standard size icons, 10x16 and 11x22.
Sebastien Pouliot [Mon, 15 Jan 2007 18:34:21 +0000 (18:34 -0000)]
Add new non-standard size icons, 10x16 and 11x22.

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

17 years agoAdd new 32bpp icon with non-standard size, 10x16 and 11x22, to test for non perfect...
Sebastien Pouliot [Mon, 15 Jan 2007 18:31:33 +0000 (18:31 -0000)]
Add new 32bpp icon with non-standard size, 10x16 and 11x22, to test for non perfect match icon selection

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

17 years agoMon Jan 15 18:57:14 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Jan 2007 17:57:57 +0000 (17:57 -0000)]
Mon Jan 15 18:57:14 CET 2007 Paolo Molaro <lupus@ximian.com>

* mini.c: optimized RuntimeHelpers::InitializeArray () calls.

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

17 years ago2007-01-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Mon, 15 Jan 2007 17:56:55 +0000 (17:56 -0000)]
2007-01-15  Miguel de Icaza  <miguel@novell.com>

* loader.c (mono_loader_error_prepare_exception): Clear the error
once we have extracted the information from it, do this before we
call into the JIT's class loading mechanisms.

* object.c (mono_class_create_runtime_vtable): Do not clear the
loader error before calling mono_class_get_exception_for_failure
as the loader error is needed inside
mono_class_get_exception_for_failure to throw the error (thinko).

Fixes #80521

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

17 years ago* DerbyMembershipHelper.cs: fixed Users_DeleteUser, commented delete from Personaliza...
Vladimir Krasnov [Mon, 15 Jan 2007 16:59:24 +0000 (16:59 -0000)]
* DerbyMembershipHelper.cs: fixed Users_DeleteUser, commented delete from Personalization table

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

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 16:21:28 +0000 (16:21 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* IconCodecTest.cs: New test case to check 32bpp (XP) icons.

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

17 years ago2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 15 Jan 2007 16:18:10 +0000 (16:18 -0000)]
2007-01-15  Sebastien Pouliot  <sebastien@ximian.com>

* TestIcon.cs: Add test cases for XP (32bpp) icons.

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

17 years agoMakefile: Add new test icon 32bpp.ico for newer, XP, ARGB icons.
Sebastien Pouliot [Mon, 15 Jan 2007 16:16:47 +0000 (16:16 -0000)]
Makefile: Add new test icon 32bpp.ico for newer, XP, ARGB icons.

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

17 years agoNew. Subset of /winforms/icon/test.ico with three 32bpp icons, 16x16, 32x32 and 48x48.
Sebastien Pouliot [Mon, 15 Jan 2007 16:15:01 +0000 (16:15 -0000)]
New. Subset of /winforms/icon/test.ico with three 32bpp icons, 16x16, 32x32 and 48x48.

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

17 years ago2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 15 Jan 2007 16:01:24 +0000 (16:01 -0000)]
2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>

* Menu.cs: added z-index attribute to popup div's.

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

17 years agofixed crlf
Vladimir Krasnov [Mon, 15 Jan 2007 15:43:35 +0000 (15:43 -0000)]
fixed crlf

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

17 years ago* SoapHttpClientProtocolTest.cs: Added test for bug #79988.
Gert Driesen [Mon, 15 Jan 2007 15:42:20 +0000 (15:42 -0000)]
* SoapHttpClientProtocolTest.cs: Added test for bug #79988.
* SocketResponder.cs: Utility class for emulating Web Service backend.
* System.Web.Services_test.dll.sources: added SocketResponder.cs and
SoapHttpClientProtocolTest.cs.

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

17 years ago* FileUpload.cs: fixed FileName property, should return filename without full path...
Vladimir Krasnov [Mon, 15 Jan 2007 15:34:59 +0000 (15:34 -0000)]
* FileUpload.cs: fixed FileName property, should return filename without full path on client side

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

17 years agoImplementation of ListControl.VerifyMultiSelect with method with proper overloading...
Ilya Kharmatsky [Mon, 15 Jan 2007 15:30:06 +0000 (15:30 -0000)]
Implementation of ListControl.VerifyMultiSelect with method with proper overloading in derived types.

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

17 years ago2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 15 Jan 2007 15:25:15 +0000 (15:25 -0000)]
2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>

* TreeNode.cs
considers INavigateUIData.NavigateUrl when bound.

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

17 years ago* Al.cs: Use DelaySign enum to capture whether a delaysign (+ or -)
Gert Driesen [Mon, 15 Jan 2007 14:27:26 +0000 (14:27 -0000)]
* Al.cs: Use DelaySign enum to capture whether a delaysign (+ or -)
option was specified, and what value was set. This was necessary to
make a distinction between leaving the default value (possibly
obtained from a template assembly), and explicitly turned delay signing
off. Removed unused IsStrongName method. Added support for absolute
paths for modules on unix (borrowed from mcs). Previously absolute
paths where reported as unrecognized command line options. Only add
AssemblyDelaySignAttribute, AssemblyKeyFileAttribute and
AssemblyKeyNameAttribute on 1.0 profile. Do not add an
AssemblyCultureAttribute if culture is specified, instead set the
culture on the AssemblyName. When template is not an absolute path,
then consider it to relative to the current directory. Removed unused
AddResource method. Do not require template to be strongly signed;
although MSDN states this, MS does not enforce this (and it should not).
Template option take a file name, not an assembly name. Fixed bug
#80440. When a template is set, use the keyfile specified in
AssemblyKeyFileAttribute of that template to sign the assembly (unless
overridden by /keyfile option). Same goes for AssemblyDelaySignAttribute
and AssemblyKeyNameAttribute.

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

17 years ago2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Mon, 15 Jan 2007 14:08:20 +0000 (14:08 -0000)]
2007-01-15 Igor Zelmanovich <igorz@mainsoft.com>

* CompleteWizardStep.cs
* CreateUserWizard.cs
* CreateUserWizardStep.cs
* TemplatedWizardStep.cs
* Wizard.cs
make the design complied to .NET
build all possible controls at once and manage render by Visible property

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

17 years agoIn Test/System.Windows.Forms:
Everaldo Canuto [Mon, 15 Jan 2007 13:59:43 +0000 (13:59 -0000)]
In Test/System.Windows.Forms:
2006-12-04  Everaldo Canuto  <everaldo@simios.org>

* MenuItemTest.cs: Remove the "NotWorking" from MenuItemMerge test.

In System.Windows.Forms:
2007-01-15  Everaldo Canuto  <everaldo@simios.org>

* Menu.cs: Implement Insert method of MenuItemCollection class
to fix MenuMerge.

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

17 years ago* ServletWorkerRequest.jvm.cs: fixed ctor, welcome file in sub dir
Vladimir Krasnov [Mon, 15 Jan 2007 13:54:58 +0000 (13:54 -0000)]
* ServletWorkerRequest.jvm.cs: fixed ctor, welcome file in sub dir
* DerbyProfileHelper.cs: fixed GetUserId, return null if username is null
* DerbyDBSchema.cs: fixed GetSchemaVersion, return nullif DB does not exist

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

17 years agoForgotten commit
Marek Habersack [Mon, 15 Jan 2007 13:51:55 +0000 (13:51 -0000)]
Forgotten commit

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

17 years agobug fix (wrong nunit API usage)
Ilya Kharmatsky [Mon, 15 Jan 2007 13:47:59 +0000 (13:47 -0000)]
bug fix (wrong nunit API usage)

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

17 years agoFixes and test refactoring for - VirtualPathUtility.cs class and respective test.
Ilya Kharmatsky [Mon, 15 Jan 2007 13:13:19 +0000 (13:13 -0000)]
Fixes and test refactoring for - VirtualPathUtility.cs class and respective test.

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

17 years ago* SiteMapProvider.cs: fixed IsAccessibleToUser, true if SecurityTrimmingEnabled not...
Vladimir Krasnov [Mon, 15 Jan 2007 11:52:59 +0000 (11:52 -0000)]
* SiteMapProvider.cs: fixed IsAccessibleToUser, true if SecurityTrimmingEnabled not enabled, true if Roles exists on node and rolename is '*'

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

17 years agoBugs/implementations of Control's methods, reproduced by ControlTest from http:/...
Ilya Kharmatsky [Mon, 15 Jan 2007 11:27:54 +0000 (11:27 -0000)]
Bugs/implementations of Control's methods, reproduced by ControlTest from mono-project.com/ASPTests

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

17 years agoAdded mono-dl.{ch}.
Paolo Molaro [Mon, 15 Jan 2007 10:06:27 +0000 (10:06 -0000)]
Added mono-dl.{ch}.

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

17 years agoMon Jan 15 10:27:31 CET 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Jan 2007 09:29:01 +0000 (09:29 -0000)]
Mon Jan 15 10:27:31 CET 2007 Paolo Molaro <lupus@ximian.com>

* reflection.c: align fields rva data so it's faster to load at
runtime.

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

17 years ago2007-01-15 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 15 Jan 2007 07:39:50 +0000 (07:39 -0000)]
2007-01-15  Alp Toker  <alp@atoker.com>

* Mono.Cairo/Surface.cs:
* Makefile: Disable CAIRO_1_2. Patches to make the 1.2 binding work
are being developed out-of-tree but not ready yet.

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

17 years agoavoid bad indexing
Konstantin Triger [Mon, 15 Jan 2007 07:39:23 +0000 (07:39 -0000)]
avoid bad indexing

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

17 years agosvn path=/trunk/mono/; revision=71003
Miguel de Icaza [Mon, 15 Jan 2007 07:27:16 +0000 (07:27 -0000)]
svn path=/trunk/mono/; revision=71003

17 years ago2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Jan 2007 05:43:59 +0000 (05:43 -0000)]
2007-01-15  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSerializerTests.cs : Fixed NotDotNet generic test which itself
  was wrong.

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

17 years ago2007-01-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Jan 2007 05:26:35 +0000 (05:26 -0000)]
2007-01-15  Atsushi Enomoto  <atsushi@ximian.com>

* TypeData.cs : reject generic type definitions.
* TypeTranslator.cs : Make generic type names in XML compatible with
  .net: foo_x0060_1 -> fooOfString.

* XmlSerializerTests.cs : most of generic tests are working now.
* XmlReflectionImporterTests.cs : test for rejecting generic type
  definition.

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

17 years agoADO.NET 2.0 support for Sqlite
Marek Habersack [Mon, 15 Jan 2007 02:24:42 +0000 (02:24 -0000)]
ADO.NET 2.0 support for Sqlite

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

17 years ago2007-01-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 15 Jan 2007 01:45:32 +0000 (01:45 -0000)]
2007-01-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewTest.cs: Add tests for new 2.0 FindItemWithText methods.

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

17 years ago2007-01-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 15 Jan 2007 01:43:35 +0000 (01:43 -0000)]
2007-01-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Implement 2.0 FindItemWithText method.

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

17 years ago2007-01-14 Jensen Somers <jensen.somers@gmail.com>
Miguel de Icaza [Sun, 14 Jan 2007 23:16:49 +0000 (23:16 -0000)]
2007-01-14  Jensen Somers <jensen.somers@gmail.com>

    * ArraySegment.cs: Added Equals() method, operator == and !=
    overloading and GetHashCode().

2007-01-14  Jensen Somers <jensen.somers@gmail.com>

    * ArraySegmentTest.cs: Add a test case for the ArraySegment.Equals
    functionality.

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

17 years agoFix the build
Robert Jordan [Sun, 14 Jan 2007 22:02:00 +0000 (22:02 -0000)]
Fix the build

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

17 years agoFix a compilation problem in the bootstrap phase
Marek Habersack [Sun, 14 Jan 2007 21:46:07 +0000 (21:46 -0000)]
Fix a compilation problem in the bootstrap phase

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

17 years ago2007-01-14 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 14 Jan 2007 21:38:50 +0000 (21:38 -0000)]
2007-01-14  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemGroup.cs (Detach): Added.
        (RemoveItem)
        (RemoveItemAt): Used Detach ().

        * BuildItem.cs: Made FromXml and HasParent internal and added
        ParentItem and ParentItemGroup properties (internal).
        (Detach): Added.

        * GroupingCollection.cs (Remove): Used Detach ().

        * Project.cs (ctor): Added PreserveWhitespace = false to get formatted
        text on Save ().
        (GetEvaluatedItemsByNameIgnoringCondition)
        (GetEvaluatedItemsByName)
        (GetEvaluatedProperty): Reevaluate if needed.
        (RemoveItem)
        (RemoveAllItemGroups)
        (RemoveAllPropertyGroups): Implemented.
        (DoLoad): Added closing of TextReader.

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

17 years ago2007-01-14 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Sun, 14 Jan 2007 21:18:43 +0000 (21:18 -0000)]
2007-01-14  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemGroupTest.cs, ProjectTest.cs: Added more tests.

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

17 years agofixed IsDirty Property, added tests for IsDirty Property
Vladimir Krasnov [Sun, 14 Jan 2007 17:36:58 +0000 (17:36 -0000)]
fixed IsDirty Property, added tests for IsDirty Property

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

17 years agoAdded J2EE Portal support.
Eyal Alalouf [Sun, 14 Jan 2007 17:20:40 +0000 (17:20 -0000)]
Added J2EE Portal support.

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

17 years agoAdd portal support
Eyal Alalouf [Sun, 14 Jan 2007 17:10:38 +0000 (17:10 -0000)]
Add portal support

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

17 years agoFix message
Miguel de Icaza [Sun, 14 Jan 2007 16:50:21 +0000 (16:50 -0000)]
Fix message

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

17 years agowrap commandText with \[\] if needed
Konstantin Triger [Sun, 14 Jan 2007 16:28:05 +0000 (16:28 -0000)]
wrap commandText with \[\] if needed

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

17 years agoAdding support for .net 2.0 property "BaseCompareValidator.CompareInvariantValues...
Ilya Kharmatsky [Sun, 14 Jan 2007 14:46:33 +0000 (14:46 -0000)]
Adding support for .net 2.0 property "BaseCompareValidator.CompareInvariantValues". The changes are also reflected in .net 1.1 implementations (the 2.0 related methods are defined
as 'internal' in this configuration)

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

17 years agofix typo: ParameterInfo.Position is 0-based
Konstantin Triger [Sun, 14 Jan 2007 14:36:11 +0000 (14:36 -0000)]
fix typo: ParameterInfo.Position is 0-based

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

17 years agoNew tests.
Marek Safar [Sun, 14 Jan 2007 14:31:14 +0000 (14:31 -0000)]
New tests.

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

17 years agoNew tests based on bug #80368
Marek Safar [Sun, 14 Jan 2007 14:27:33 +0000 (14:27 -0000)]
New tests based on bug #80368

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

17 years ago2007-01-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 14 Jan 2007 14:26:26 +0000 (14:26 -0000)]
2007-01-14  Marek Safar  <marek.safar@gmail.com>

A fix for bug #80368
* assign.cs (FieldInitializer): New class implements field
initializer statement.

* attribute.cs: Update after FieldMember rename.

* class.cs (PropertyBasedMember): New common class for property based
types.
(InterfaceMemberBase): New base class for all members which can be used as
an interface members.
(MethodCore): Moved really common code to InterfaceMemberBase.
(Method.Define): Equal and GetHasCode detection is relevant for methods
only.
(MethodData.Define): Don't assume that public event implements an
interface automatically.
(MethodData.DefineMethodBuilder): Issue an error even if only extern
modifier is used.
(MemberBase): Moved all interface speficic code to InterfaceMemberBase.
(FieldMember): Merged with FieldBase.
(EventProperty.AEventPropertyAccessor): New specialization to check whether
event extern modifier can be used.
(EventField.EventFieldAccessor): Moved event field specific code here.
(Event.AllowedModifiers): Even event can be extern.
(Event.FindOutBaseMethod): New override specific to events.
(Indexer.parameters): Reintroduce parameters because base class holds
only properties common data.
(Indexer.CheckForDuplications): Indexers are threated as methods so we
need do extra parameters check.

* const.cs: Update after FieldMember rename.

* decl.cs (MemberCache.FindBaseEvent): New method.

* doc.cs (GetMethodDocCommentName): Accept parameters as extra argument
to reflect that indexer is now derived from PropertyBased.

* ecore.cs (GetMemberType): Made public.
(EventExpr.ResolveMemberAccess): Use right event cache and checks for
obsolete event.

* flowanalysis.cs, statement.cs: Update after FieldMember rename.

* typemanager.cs (CSharpSignature): Correctly print event accessors.
(RegisterEvent): Removed.
(RegisterPrivateFieldOfEvent): Renamed to RegisterEventField.
(GetPrivateFieldOfEvent): Renamed to GetEventField.

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

17 years agoprocess relative URL to the image.
Eyal Alalouf [Sun, 14 Jan 2007 11:49:10 +0000 (11:49 -0000)]
process relative URL to the image.

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

17 years agoimplemented ObjectDataSourceStatusEventArgs.AffectedRows propoerty
Konstantin Triger [Sun, 14 Jan 2007 10:31:51 +0000 (10:31 -0000)]
implemented ObjectDataSourceStatusEventArgs.AffectedRows propoerty

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

17 years agomake the DbParameterCollection.IndexOf(string) case insensitive
Konstantin Triger [Sun, 14 Jan 2007 09:49:06 +0000 (09:49 -0000)]
make the DbParameterCollection.IndexOf(string) case insensitive

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

17 years agotypo: ParameterPrefix is prepended inside CreateDbParameter
Konstantin Triger [Sun, 14 Jan 2007 09:39:39 +0000 (09:39 -0000)]
typo: ParameterPrefix is prepended inside CreateDbParameter

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

17 years ago* Makefile: Added al to net_2_0_SUBDIRS.
Gert Driesen [Sat, 13 Jan 2007 22:47:43 +0000 (22:47 -0000)]
* Makefile: Added al to net_2_0_SUBDIRS.
* Makefile: Make profile-specific.
 (CLEAN_FILES): Add 'al.exe' and 'al.exe.mdb'.

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

17 years ago* scripts/Makefile.am: Added 'al2'.
Gert Driesen [Sat, 13 Jan 2007 22:47:01 +0000 (22:47 -0000)]
* scripts/Makefile.am: Added 'al2'.

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

17 years ago* ControlTest.cs: Add test to check if Exception is raised when
Andreia Gaita [Sat, 13 Jan 2007 20:40:02 +0000 (20:40 -0000)]
* ControlTest.cs: Add test to check if Exception is raised when
adding a top level control (form) as a child control

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

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

17 years agoAdd tests
Miguel de Icaza [Sat, 13 Jan 2007 07:20:33 +0000 (07:20 -0000)]
Add tests

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

17 years agoPatch from Sridhar Kulkarni (full impl)
Miguel de Icaza [Sat, 13 Jan 2007 07:08:52 +0000 (07:08 -0000)]
Patch from Sridhar Kulkarni (full impl)

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

17 years agoi2007-01-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 13 Jan 2007 07:05:49 +0000 (07:05 -0000)]
i2007-01-13  Miguel de Icaza  <miguel@novell.com>

* Add a few more missing helper classes.

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

17 years agoRevert the most useful warning message in the world
Miguel de Icaza [Sat, 13 Jan 2007 05:04:50 +0000 (05:04 -0000)]
Revert the most useful warning message in the world

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

17 years agoSorry, nothing to see here
Miguel de Icaza [Sat, 13 Jan 2007 05:02:55 +0000 (05:02 -0000)]
Sorry, nothing to see here

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

17 years ago2006-12-19 Chris Toshok <toshok@ximian.com>
Miguel de Icaza [Sat, 13 Jan 2007 04:32:15 +0000 (04:32 -0000)]
2006-12-19  Chris Toshok  <toshok@ximian.com>

* System.Design.dll.sources: add DataSourceConverter.cs and

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

17 years ago2007-01-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 13 Jan 2007 04:30:06 +0000 (04:30 -0000)]
2007-01-12  Miguel de Icaza  <miguel@novell.com>

* DataObjectFieldAttribute.cs: Add new file.

2007-01-12  Miguel de Icaza  <miguel@novell.com>

* Trace.cs: Add a number of 2.0 overloads.

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

17 years agoFix thinko
Miguel de Icaza [Sat, 13 Jan 2007 04:10:01 +0000 (04:10 -0000)]
Fix thinko

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

17 years agoA couple of other no-op overrides
Miguel de Icaza [Sat, 13 Jan 2007 04:03:12 +0000 (04:03 -0000)]
A couple of other no-op overrides

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

17 years ago2007-01-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 13 Jan 2007 03:52:24 +0000 (03:52 -0000)]
2007-01-12  Miguel de Icaza  <miguel@novell.com>

* DateTimeFormatInfo.cs: Add support for shortest day names.
Notice that there is no support in the runtime to actually load
this information from any place.   So they are all english values.

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

17 years ago2007-01-12 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 13 Jan 2007 03:06:33 +0000 (03:06 -0000)]
2007-01-12  Miguel de Icaza  <miguel@novell.com>

* Control.cs: Remove comment, it provides no information about
what could be wrong.

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

17 years agoFew classes for some Telerik controls
Miguel de Icaza [Sat, 13 Jan 2007 03:00:31 +0000 (03:00 -0000)]
Few classes for some Telerik controls

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

17 years ago2007-01-12 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 12 Jan 2007 22:28:52 +0000 (22:28 -0000)]
2007-01-12  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildPropertyGroup.cs: Don't trigger reevaluation just after a
        change but just mark that it needs it.

        * Project.cs: Reevaluate when it needs reevaluation and one of
        Evaluated* properties is used.

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

17 years ago2007-01-12 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Fri, 12 Jan 2007 22:26:14 +0000 (22:26 -0000)]
2007-01-12  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * ProjectTest.cs, BuildPropertyGroupTest.cs: Enable more tests.

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

17 years ago* ControlStyleTest.cs: Added style test for LinkLabel with text, but
Gert Driesen [Fri, 12 Jan 2007 21:52:37 +0000 (21:52 -0000)]
* ControlStyleTest.cs: Added style test for LinkLabel with text, but
no links.

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

17 years ago* FocusTest.cs: Ignore tests that rely on Form.Show () synchronously
Gert Driesen [Fri, 12 Jan 2007 21:23:27 +0000 (21:23 -0000)]
* FocusTest.cs: Ignore tests that rely on Form.Show () synchronously
generating WM_ACTIVATE on unix.
* FormTest.cs: Same.

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

17 years ago2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 12 Jan 2007 19:30:42 +0000 (19:30 -0000)]
2007-01-12  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeFormatter.cs: The ASN.1 structure must be padded to a
multiple of 8 bytes, else the signature is invalid - even if the hash
is correct!

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

17 years agoImageAttribute.cs: Reuse code in SetColorMatrix overloads.
Sebastien Pouliot [Fri, 12 Jan 2007 18:54:38 +0000 (18:54 -0000)]
ImageAttribute.cs: Reuse code in SetColorMatrix overloads.

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

17 years agoIn metadata:
Raja R Harinath [Fri, 12 Jan 2007 16:17:43 +0000 (16:17 -0000)]
In metadata:
Prepare to simplify GenericMethod handling.
* class-internals.h (mono_method_get_context): New accessor function.
* class.c, icall.c, loader.c, reflection.c, verify.c: Use accessor
rather than directly accessing '->context' field.

In mini:
* mini.c (mono_method_to_ir): Use new MonoGenericContext accessor.

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

17 years ago2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 12 Jan 2007 15:06:20 +0000 (15:06 -0000)]
2007-01-12  Sebastien Pouliot  <sebastien@ximian.com>

* TestBitmap.cs: Add test cases for FromHicon and roundtripping using
GetHbitmap and FromHbitmap.
* TestIcon.cs: Add test cases for all constructors. Add test cases for
saving icons (all sizes). Add test cases for roundtripping icons using
Handle and HICON.

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

17 years ago2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 12 Jan 2007 15:02:40 +0000 (15:02 -0000)]
2007-01-12  Sebastien Pouliot  <sebastien@ximian.com>

* Graphics.cs: Change DrawIcon* methods to use the internal bitmap
we keep for the Icon. This is required to let HICON support work with
libgdiplus (and should be faster than creating a new bitmap each time)
* Icon.cs: Fix ctor exceptions. Select the correct icon when multiple
size are available (and do not match the requested size). Fix handle
support for work under UNIX (Win32 support still missing). Keep an
internal bitmap for the Icon to use for HICON support.

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

17 years ago2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Jan 2007 14:35:05 +0000 (14:35 -0000)]
2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* SignedXml.cs : when there is an envelope document and no referenced
  DataObject was found, then look for the target element from the
  envelope.

* SignedXmlTest.cs : added DataReferenceToNonDataObject().

* xmldsig.cs : signature-big.xml also depends on the input document.

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

17 years ago* class-internals.h (_MonoGenericParam.method): Move ...
Raja R Harinath [Fri, 12 Jan 2007 13:11:28 +0000 (13:11 -0000)]
* class-internals.h (_MonoGenericParam.method): Move ...
(_MonoGenericContainer): ... here.  Add into union with klass field.
* class.c, icall.c, loader.c, metadata.c, reflection.c: Update to changes.

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

17 years ago2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 12 Jan 2007 12:22:39 +0000 (12:22 -0000)]
2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataObject.cs : don't clear attributes or children unnecessarily.

* DataObjectTest.cs : test to make sure to not clear attributes or
  children unnecessarily.

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

17 years agoFix source code identation
Everaldo Canuto [Fri, 12 Jan 2007 11:19:23 +0000 (11:19 -0000)]
Fix source code identation

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

17 years agoFix source code identation
Everaldo Canuto [Fri, 12 Jan 2007 11:11:45 +0000 (11:11 -0000)]
Fix source code identation

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