mono.git
17 years agomove Mainsoft.Web.Administration under class/Mainsoft.Web
Konstantin Triger [Thu, 9 Nov 2006 15:41:34 +0000 (15:41 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web

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

17 years agomove Mainsoft.Web.Administration under class/Mainsoft.Web
Konstantin Triger [Thu, 9 Nov 2006 15:38:38 +0000 (15:38 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web

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

17 years agoremove all the generated files
Konstantin Triger [Thu, 9 Nov 2006 15:27:10 +0000 (15:27 -0000)]
remove all the generated files

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

17 years agoremove all the generated files
Konstantin Triger [Thu, 9 Nov 2006 15:21:38 +0000 (15:21 -0000)]
remove all the generated files

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

17 years agouse IntPtr.Zero instead of (IntPtr) 0
Andrew Skiba [Thu, 9 Nov 2006 15:17:22 +0000 (15:17 -0000)]
use IntPtr.Zero instead of (IntPtr) 0

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

17 years ago2006-11-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Nov 2006 14:58:40 +0000 (14:58 -0000)]
2006-11-09  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationSettingsBaseTest.cs: Added test case for StringCollection
properties (that encode the string list in XML).

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

17 years ago2006-11-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Nov 2006 14:58:20 +0000 (14:58 -0000)]
2006-11-09  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationSettingsBase.cs: Add special case when dealing with
StringCollection in the Properties property.

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

17 years ago2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 9 Nov 2006 14:45:15 +0000 (14:45 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>

* DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.

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

17 years ago2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 14:36:01 +0000 (14:36 -0000)]
2006-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaImporter.cs : top-level element might also have no type
  name specification, so just compare ElementType with anyType.

* XmlSchemaImporterTests.cs :
  added DefaultTypeTopLevelElementImportsAllComplexTypes().

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

17 years ago* ObjectDataSourceTest.cs, ObjectDataSourceViewTest.cs: removed NotWorking attributes...
Vladimir Krasnov [Thu, 9 Nov 2006 14:23:26 +0000 (14:23 -0000)]
* ObjectDataSourceTest.cs, ObjectDataSourceViewTest.cs: removed NotWorking attributes, added test case

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

17 years ago* System.Web.dll.sources: added DataSourceCasheManager.cs
Vladimir Krasnov [Thu, 9 Nov 2006 13:28:01 +0000 (13:28 -0000)]
* System.Web.dll.sources: added DataSourceCasheManager.cs
* System.Web20.vmwcsproj: added DataSourceCasheManager.cs
* ParameterCollection.cs: fixed SetDirtyObject method
* ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState utilization for control's properties, implemented caching
* SqlDataSource.cs, SqlDataSourceView.cs: implemented caching

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

17 years ago2006-11-09 Yoni Klain <yonik@mainsoft.com>
Yoni Klain [Thu, 9 Nov 2006 13:03:24 +0000 (13:03 -0000)]
2006-11-09 Yoni Klain <yonik@mainsoft.com>
* add new application for Web site administration
* new dir Mainsoft.Web.Administration

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

17 years ago2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 12:04:45 +0000 (12:04 -0000)]
2006-11-09  Rolf Bjarne Kvinge  <RKvinge@novell.com>

        * StatusBarPanel.cs:
        - Width is set to MinWidth if Width is smaller than
        MinWidth. Fixes #79842.
        - MinWidth now always overrides Width (MSDN says MinWidth
        is set to Width when AutoSize = None, but they do not
        behave like that).
        - Style has now the the correct default value.

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

17 years agoFix #79872
Raja R Harinath [Thu, 9 Nov 2006 11:46:10 +0000 (11:46 -0000)]
Fix #79872
* assembly.c (mono_assembly_load_from_full): Check that the given
image has an assembly manifest.

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

17 years ago* driver.cs (BadAssembly): Handle all the ugliness of DefineDynamicAssembly.
Raja R Harinath [Thu, 9 Nov 2006 11:38:53 +0000 (11:38 -0000)]
* driver.cs (BadAssembly): Handle all the ugliness of DefineDynamicAssembly.

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

17 years ago2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 11:03:17 +0000 (11:03 -0000)]
2006-11-09  Rolf Bjarne Kvinge  <RKvinge@novell.com>

         * StatusBarPanelTest.cs: Added tests for bug #79842.

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

17 years ago 2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 09:56:27 +0000 (09:56 -0000)]
 2006-11-09  Rolf Bjarne Kvinge  <RKvinge@novell.com>

        * TrackBarTest.cs: Added tests for bug #79718.

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

17 years ago 2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 09:46:01 +0000 (09:46 -0000)]
 2006-11-09  Rolf Bjarne Kvinge  <RKvinge@novell.com>

        * TrackBar.cs:
        - The control is completely invalidated on
        Got/LostFocus to draw the focus rectangle correctly.
        - When AutoSize then height is always 45 (width for
        vertical controls).

        * ThemeWin32Classic.cs: The TrackBar thumb is now centered
        on the mouse when moved and it doesn't move when grabbed
        until the mouse moves as well. Also fixed some wrong
        calculations when clicking on the thumb (control thought
        click was outside of thumb and didn't grab it).
        Fixes some of the issues in #79718.

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

17 years agoAdd support for Retargetable assembly flag.
Ankit Jain [Thu, 9 Nov 2006 09:38:03 +0000 (09:38 -0000)]
Add support for Retargetable assembly flag.

In mono/metadata:

* tabledefs.h (ASSEMBLYREF_RETARGETABLE_FLAG):
(ASSEMBLYREF_ENABLEJITCOMPILE_TRACKING_FLAG):
(ASSEMBLYREF_DISABLEJITCOMPILE_OPTIMIZER_FLAG): Add AssemblyRef flags.

In mono/dis:

* dump.c (dump_table_assemblyref): Dump Flags also.
* main.c (assembly_ref_flags): New. Stringify AssemblyRef flags.
(dis_directive_assemblyref): Emit flags also.
(dis_directive_assembly): Likewise.

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

17 years agoFix bug #79860. Add support for Retargetable assembly flag.
Ankit Jain [Thu, 9 Nov 2006 09:29:17 +0000 (09:29 -0000)]
Fix bug #79860. Add support for Retargetable assembly flag.

In ilasm/codegen:

* CodeGen.cs (CodeGen.BeginAssemblyRef): Add param for attributes.
(SetAssemblyName): Rename to ..
(SetThisAssembly): .. this. Add param for attributes.
* ExternTable (ExternAssembly.ctor): Likewise.
(ExternAssembly.Resolve): Add attributes.
(ExternTable.AddAssembly): Add param for attributes.
(ExternTable): Update to changes.
* Assembly.cs (Assembly.SetAssemblyAttr): New.
(Assembly.Resolve): Add the flags.

In ilasm/scanner:

* ILTables.cs (keywords): Add 'retargetable'.

In ilasm/parser:

* ILParser.jay (K_RETARGETABLE): New.
(asm_attr): Add rule for K_RETARGETABLE.
(assembly_head): Handle attributes.
(assemblyref_head): Add asm_attr.

In class/PEAPI:

* Metadata.cs (AssemAttr.Retargetable): New.
(AssemblyRef.AddAssemblyAttr): New.

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

17 years ago2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 09:07:40 +0000 (09:07 -0000)]
2006-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaImporter.cs : attributes might overlap by extending
  base content models. Since invalid content models are rejected by
  Compile(), simply ignore duplicating attributes. Note that it is
  basically hack, which should not skip derived ones but use them (but
  it is mostly harmless since the result is very unlikely to differ).

* XmlSchemaImporterTests.cs :
  added ImportComplexDerivationByExtension().

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

17 years ago2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 09:03:18 +0000 (09:03 -0000)]
2006-11-09  Atsushi Enomoto <atsushi@ximian.com>

* NewMonoXSD.cs : and for Read() as well ;-)

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

17 years ago2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 08:56:16 +0000 (08:56 -0000)]
2006-11-09  Atsushi Enomoto <atsushi@ximian.com>

* NewMonoXSD.cs : Ankit wants good validation error reporting ;-)

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

17 years ago2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 08:38:08 +0000 (08:38 -0000)]
2006-11-09  Atsushi Enomoto <atsushi@ximian.com>

* NewMonoXSD.cs : process all elements including imported ones. To do
  so, use post-compilation schema items.

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

17 years agoPrevent disabled button to highlight.
Everaldo Canuto [Thu, 9 Nov 2006 08:10:19 +0000 (08:10 -0000)]
Prevent disabled button to highlight.

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

17 years agoadd some PropertyDescriptor tests for IsReadOnly
Chris Toshok [Thu, 9 Nov 2006 05:02:42 +0000 (05:02 -0000)]
add some PropertyDescriptor tests for IsReadOnly

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

17 years ago2006-11-09 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 9 Nov 2006 05:02:06 +0000 (05:02 -0000)]
2006-11-09  Chris Toshok  <toshok@ximian.com>

* ReflectionPropertyDescriptor.cs: IsReadOnly needs to take into
account the ReadOnlyAttribute.

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

17 years ago2006-11-08 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 9 Nov 2006 04:31:42 +0000 (04:31 -0000)]
2006-11-08  Chris Toshok  <toshok@ximian.com>

* PropertyGridView.cs: only call ToggleValue if the item is not
readonly.

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

17 years agoupdate the ancient README
Chris Toshok [Thu, 9 Nov 2006 04:28:43 +0000 (04:28 -0000)]
update the ancient README

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

17 years ago2006-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 04:23:05 +0000 (04:23 -0000)]
2006-11-08  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaImporter.cs : when top-level element is xs:anyType, all
  complexTypes must be also imported.

* XmlSchemaImporterTests.cs :
  added AnyTypeTopLevelElementImportsAllComplexTypes().

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

17 years agothese tests work now
Chris Toshok [Thu, 9 Nov 2006 03:33:17 +0000 (03:33 -0000)]
these tests work now

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

17 years agoIn .:
Chris Toshok [Thu, 9 Nov 2006 03:32:44 +0000 (03:32 -0000)]
In .:
2006-11-08  Chris Toshok  <toshok@ximian.com>

* System.Windows.Forms.dll.sources: add RootGridEntry.cs

In System.Windows.Forms:
* RootGridEntry.cs: new class to represent GridItemType.Root.

* CategoryGridEntry.cs: reformat, and add boilerplate.

* GridEntry.cs: remove the UIParent stuff - turns out .Parent
returns the UI parent anyway, and we need special handling to
implement the GetTarget method in the face of it.  Also, implement
Select().

* PropertyGrid.cs, PropertyGridView.cs: a number of fixes.  create
a root grid item, and use that instead of PropertyGrid.grid_items.
Also, make use of TypeConverters (and add limitted support for
ICustomTypeDescriptors) when initially populating the grid.
Arrays now show up more or less properly.

2006-11-08  Chris Toshok  <toshok@ximian.com>

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

17 years agofix this test for MS
Chris Toshok [Thu, 9 Nov 2006 03:21:19 +0000 (03:21 -0000)]
fix this test for MS

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

17 years agoadd another (notworking) test
Chris Toshok [Thu, 9 Nov 2006 03:15:09 +0000 (03:15 -0000)]
add another (notworking) test

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Nov 2006 03:05:50 +0000 (03:05 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* CollectionConverterTest.cs: More test cases.

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

17 years ago2006-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 9 Nov 2006 02:11:40 +0000 (02:11 -0000)]
2006-11-08  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaImporter.cs : ImportTypeMapping() raises exception when
  the argument name is not bound to any elements.

* XmlSchemaImporterTests.cs : added ImportTypeMapping() test for
  nonexistent name.

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

17 years ago2006-11-08 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 8 Nov 2006 22:59:41 +0000 (22:59 -0000)]
2006-11-08  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripItemDesignerAvailability.cs: Added.
* ToolStripItemDesignerAvailabilityAttribute.cs: Added.

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

17 years agoadd a bunch more property grid tests (some of which aren't working with mono)
Chris Toshok [Wed, 8 Nov 2006 22:47:11 +0000 (22:47 -0000)]
add a bunch more property grid tests (some of which aren't working with mono)

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

17 years ago * TextBoxBase.cs: The RichTextBox and textbox have very
Jackson Harper [Wed, 8 Nov 2006 21:23:46 +0000 (21:23 -0000)]
    * TextBoxBase.cs: The RichTextBox and textbox have very
        * different
        word selection methods.  Implement the textbox's simple word
        selection here, and let the RichTextBox override and provide
it's
        own.
        - Don't do extra selection on mouseup
        * RichTextBox.cs: Use the documents word selection algorithm, I
        think ideally, this function will be pulled into the
        RichTextBox.cs code someday.

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

17 years ago - Invalidate the selected area when setting it, if it is
Jackson Harper [Wed, 8 Nov 2006 21:07:22 +0000 (21:07 -0000)]
    - Invalidate the selected area when setting it, if it is
          visible.

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

17 years ago2006-11-08 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 8 Nov 2006 20:49:03 +0000 (20:49 -0000)]
2006-11-08  Chris Toshok  <toshok@ximian.com>

* Application.cs: set the modal dialog to non modal after we close
it.  Fixes bug #79866.

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

17 years ago - Make sure to set the cursor position when there is a click,
Jackson Harper [Wed, 8 Nov 2006 20:16:18 +0000 (20:16 -0000)]
    - Make sure to set the cursor position when there is a click,
        otherwise two clicks in separate areas could cause a large chunk
        to be selected.

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

17 years ago* TextBoxTest.cs: Added test for bug #79851.
Gert Driesen [Wed, 8 Nov 2006 20:05:17 +0000 (20:05 -0000)]
* TextBoxTest.cs: Added test for bug #79851.

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

17 years ago* System_test.dll.sources: Added ArrayConverterTests.cs.
Gert Driesen [Wed, 8 Nov 2006 19:53:28 +0000 (19:53 -0000)]
* System_test.dll.sources: Added ArrayConverterTests.cs.
* ArrayConverter.cs: Modifed ConvertTo for Array => String to match
MS. In GetProperties, throw NRE to match MS.
* ArrayConverterTests.cs: Added tests for ArrayConverter.

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

17 years ago * TextBoxBase.cs: Only rich text box can do full line selects.
Jackson Harper [Wed, 8 Nov 2006 19:53:10 +0000 (19:53 -0000)]
    * TextBoxBase.cs: Only rich text box can do full line selects.

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

17 years ago * TextControl.cs: When combining lines carry over the line end
Jackson Harper [Wed, 8 Nov 2006 17:56:23 +0000 (17:56 -0000)]
    * TextControl.cs: When combining lines carry over the line end
        style from the end line.

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

17 years agoremove unused field
Chris Toshok [Wed, 8 Nov 2006 16:55:17 +0000 (16:55 -0000)]
remove unused field

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

17 years ago2006-11-08 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 8 Nov 2006 16:54:58 +0000 (16:54 -0000)]
2006-11-08  Chris Toshok  <toshok@ximian.com>

* ArrayConverter.cs: implement GetProperties correctly, by
creating ArrayPropertyDescriptor objects for each array element.

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

17 years ago2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 8 Nov 2006 16:46:25 +0000 (16:46 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>

* GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 16:17:52 +0000 (16:17 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: Fix build as the first build of 2.0's System.dll
may depend on a Mono.Security.dll without the new ToString overload.

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

17 years agorename all jvm-only files to jvm.cs
Andrew Skiba [Wed, 8 Nov 2006 15:45:46 +0000 (15:45 -0000)]
rename all jvm-only files to jvm.cs

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

17 years agoWed Nov 8 16:40:02 CET 2006 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 Nov 2006 15:40:16 +0000 (15:40 -0000)]
Wed Nov 8 16:40:02 CET 2006 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: some VFP updates.

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

17 years agoAddress parts of #58244 -- most of what's left is in the runtime
Raja R Harinath [Wed, 8 Nov 2006 15:19:54 +0000 (15:19 -0000)]
Address parts of #58244 -- most of what's left is in the runtime
* driver.cs (LoadAssembly): Simplify slightly.  Add CS0009 and
CS1509 error checks, and handle them for all assembly loads, not
just the first invocation.
(LoadModule): Likewise.  Move handling of 'adder_method' ...
* codegen.cs (AssemblyClass.AddModule): ... here.

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

17 years ago * Makefile.am: Revert addition of L_SET et al; this breaks the Win32 build.
Jonathan Pryor [Wed, 8 Nov 2006 15:12:06 +0000 (15:12 -0000)]
* Makefile.am: Revert addition of L_SET et al; this breaks the Win32 build.
* map.c: Revert addition of L_SET et al; this breaks the Win32 build.
* mph.h: Add macros for L_SET, L_INCR, and L_XTND for non-Win32 platforms.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:52:43 +0000 (14:52 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security_test.dll.sources: Added unit and CAS tests for
System.Security.Cryptography.X509Certificates.X509Certificate2UI

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:51:41 +0000 (14:51 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate2UICas.cs: New (2.0) CAS tests for X509Certificate2UI
* X509Certificate2UITest.cs: New (2.0) unit tests for
X509Certificate2UI

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:50:54 +0000 (14:50 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate2UI.cs: Fix exceptions, add security attributes and
notes.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:48:57 +0000 (14:48 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: Return (find) the SigningCertificate
even if the signature isn't verifiable. This is the behaviour required
for 2.0.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:48:16 +0000 (14:48 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: Refactor ToString method to allow most options available
when using fx 2.0.
* X509Certificate.cs: Add methods to retrieve the Issuer and Subject
Distinguished Names in binary (ASN.1) form. Reverse (actually correct)
the text representation of Issuer and Subject for 2.0.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:45:24 +0000 (14:45 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X500DistinguishedNameTest.cs: Removed all  NotWorking tags. Added
more Decode test cases.
* X509BasicConstraintsExtensionTest.cs: Added test case where the
extension is created using CryptoConfig.
* X509Certificate2Test.cs: Added test cases for GetCertContentType,
DER encoded certificates, PKCS#12 certificates and removed all
NotWorking tags.
* X509EnhancedKeyUsageExtensionTest.cs: Added test case where the
extension is created using CryptoConfig.
* X509KeyUsageExtensionTest.cs: Added test case where the extension is
created using CryptoConfig.
* X509SubjectKeyIdentifierExtensionTest.cs: Added test case where the
extension is created using CryptoConfig.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:39:52 +0000 (14:39 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X500DistinguishedName.cs: Fix most common cases. Some flags are
still not supported.
* X509Certificate2.cs: Fix importing PKCS#12 certificates (with keys)
in some cases. Implement GetCertContentType for Cert, Pfx and Pkcs12.
Implement ToString methods.
* X509ExtensionCollection.cs: Add an internal ctor that can populate
the collection from extensions coming from an Mono.Security.X509.
X509Certificate. CryptoConfig is used to allow extensibility to the
X509Extension class.

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

17 years agoPrevent toolbar to open more than one tooltip at same.
Everaldo Canuto [Wed, 8 Nov 2006 14:34:54 +0000 (14:34 -0000)]
Prevent toolbar to open more than one tooltip at same.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:33:01 +0000 (14:33 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X509CapiTest.cs: Update test cases to work under 2.0 (serial number
is reversed, actually fixed, in 2.0).
* X509Cert20Test.cs: Added new 2.0 specific tests for DER-encoded
certificates and PKCS#12 certificates.
* X509CertificateCas.cs: Update test cases to work under 2.0.
* X509CertificateTest.cs: Update test cases to work under 2.0.
* X509SpcTest.cs: Fix behaviour changes for Authenticode handling
under 2.0.

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

17 years ago2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 8 Nov 2006 14:31:21 +0000 (14:31 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>

* DataBoundControl.cs: fixed:
ConfirmInitState method s called by
the DataBoundControl class in its OnLoad method.

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

17 years agoAdd System.Security.Cryptography.X509Certificates/X509Certificate20.cs to the build
Sebastien Pouliot [Wed, 8 Nov 2006 14:27:05 +0000 (14:27 -0000)]
Add System.Security.Cryptography.X509Certificates/X509Certificate20.cs to the build

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:26:00 +0000 (14:26 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Add support for (2.0) X.509 extensions in
CreateFromName method. This allows the framework to be extensible with
new certificate extensions (syntax is missing from machine.config).

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:25:32 +0000 (14:25 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Refactored 2.0 support (partial class) and added
some missing features. All unit tests now works in both 1.x and 2.0.
* X509Certificate20.cs: Partial class for 2.0 specific properties and
methods for X509Certificate class.

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:25:11 +0000 (14:25 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* X501Name.cs: Refactor ToString method to allow most options available
when using fx 2.0.
* X509Certificate.cs: Add methods to retrieve the Issuer and Subject
Distinguished Names in binary (ASN.1) form. Reverse (actually correct)
the text representation of Issuer and Subject for 2.0.
* X520Attributes.cs: Keep in sync with latest version from
Mono.Security.dll assembly (required for X501Name update).

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

17 years ago2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Nov 2006 14:24:57 +0000 (14:24 -0000)]
2006-11-08  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: Return (find) the SigningCertificate
even if the signature isn't verifiable. This is the behaviour required
for 2.0.

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

17 years agoAdd missing method
Miguel de Icaza [Wed, 8 Nov 2006 14:21:30 +0000 (14:21 -0000)]
Add missing method

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

17 years agosvn path=/trunk/mcs/; revision=67519
Vladislav Spivak [Wed, 8 Nov 2006 14:10:12 +0000 (14:10 -0000)]
svn path=/trunk/mcs/; revision=67519

17 years agoGetType and GetVirtualPathDependencies implementation for BuildManager
Marek Habersack [Wed, 8 Nov 2006 13:58:24 +0000 (13:58 -0000)]
GetType and GetVirtualPathDependencies implementation for BuildManager

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

17 years agoA few changes related to App_*Resources and App_Code folders
Marek Habersack [Wed, 8 Nov 2006 13:43:06 +0000 (13:43 -0000)]
A few changes related to App_*Resources and App_Code folders

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

17 years agoRemoved unnecessary WriteLines
Marek Habersack [Wed, 8 Nov 2006 13:14:16 +0000 (13:14 -0000)]
Removed unnecessary WriteLines

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

17 years agorename Grasshopper project
Andrew Skiba [Wed, 8 Nov 2006 13:06:57 +0000 (13:06 -0000)]
rename Grasshopper project

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

17 years ago2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 8 Nov 2006 12:57:58 +0000 (12:57 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>

* Page.cs: fixed: LoadControlState is called for controls
that added on Load and latter, for 1.x refactoring only

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

17 years agoRemove tooltips when ToolButton click events.
Everaldo Canuto [Wed, 8 Nov 2006 12:35:48 +0000 (12:35 -0000)]
Remove tooltips when ToolButton click events.

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

17 years agocompile System.dll in GH
Andrew Skiba [Wed, 8 Nov 2006 12:34:58 +0000 (12:34 -0000)]
compile System.dll in GH

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

17 years agoImplementation of the App_Code folder compiler for ASP.NET 2.0
Marek Habersack [Wed, 8 Nov 2006 12:08:05 +0000 (12:08 -0000)]
Implementation of the App_Code folder compiler for ASP.NET 2.0

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

17 years agoIgnore right click for menu actions
Everaldo Canuto [Wed, 8 Nov 2006 11:12:09 +0000 (11:12 -0000)]
Ignore right click for menu actions

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

17 years agoFix MouseRelease to only release MouseState after create wParam for message
Everaldo Canuto [Wed, 8 Nov 2006 06:27:58 +0000 (06:27 -0000)]
Fix MouseRelease to only release MouseState after create wParam for message

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

17 years ago* Control.cs : Focus() now calls Select to set the Container's
Andreia Gaita [Wed, 8 Nov 2006 02:59:15 +0000 (02:59 -0000)]
* Control.cs : Focus() now calls Select to set the Container's
Active Control and to give it focus. To avoid infinite recursion
(because ActiveControl also calls Focus at one point), a check
is made in Focus with the help of a new internal variable
is_focusing.

2006-11-07  Andreia Gaita  <shana.ufie@gmail.com>

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

17 years ago2006-11-07 Mike Kestner <mkestner@novell.com>
Mike Kestner [Tue, 7 Nov 2006 23:55:31 +0000 (23:55 -0000)]
2006-11-07  Mike Kestner  <mkestner@novell.com>

* ListView.cs : raise OnSelectedIndexChanged in CreateHandle
if there's a selection.  Fixes #79849.

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

17 years ago * Makefile.am: Add implementation macros for L_SET, L_INCR, and L_XTND.
Jonathan Pryor [Tue, 7 Nov 2006 23:27:20 +0000 (23:27 -0000)]
* Makefile.am: Add implementation macros for L_SET, L_INCR, and L_XTND.
* map.c: Make sure that L_SET, L_INCR, and L_XTND are defined.  Lets
  Mono_Posix_FromSeekFlags() work on Solaris, fixing Gnome Bugzilla 370081.

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

17 years agoadd a ToString test
Chris Toshok [Tue, 7 Nov 2006 23:01:16 +0000 (23:01 -0000)]
add a ToString test

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

17 years agoadd two non-working StatusBarPanel tests
Chris Toshok [Tue, 7 Nov 2006 22:52:28 +0000 (22:52 -0000)]
add two non-working StatusBarPanel tests

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

17 years ago2006-11-07 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 7 Nov 2006 21:26:42 +0000 (21:26 -0000)]
2006-11-07  Dick Porter  <dick@ximian.com>

        * DnsTest.cs: GetHostByAddressString5() should only throw
        SocketException on pre-2.0 profiles

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

17 years ago2006-11-07 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 7 Nov 2006 21:26:17 +0000 (21:26 -0000)]
2006-11-07  Dick Porter  <dick@ximian.com>

        * socket-io.c (ves_icall_System_Net_Dns_GetHostByAddr_internal):
        Put the old resolver behaviour back for pre-2.0 profiles.

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

17 years ago2006-11-07 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 7 Nov 2006 21:13:05 +0000 (21:13 -0000)]
2006-11-07  Robert Jordan  <robertj@gmx.net>

* WaitHandle.cs: Don't assume Assembly.GetEntryAssembly () != null.
Fixes bug #79859.

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

17 years ago* PropertyGrid.cs: Avoid fixed height of help description label.
Gert Driesen [Tue, 7 Nov 2006 20:37:22 +0000 (20:37 -0000)]
* PropertyGrid.cs: Avoid fixed height of help description label.
Fixes part of bug #79829.

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

17 years ago2006-11-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 7 Nov 2006 20:23:34 +0000 (20:23 -0000)]
2006-11-07  Chris Toshok  <toshok@ximian.com>

* XplatUIX11.cs: fix #79790 again, by using the
_NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.

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

17 years agoFix left click checking.
Everaldo Canuto [Tue, 7 Nov 2006 20:18:31 +0000 (20:18 -0000)]
Fix left click checking.

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

17 years agoenable more unit tests
Chris Toshok [Tue, 7 Nov 2006 19:40:49 +0000 (19:40 -0000)]
enable more unit tests

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

17 years ago * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
Chris Toshok [Tue, 7 Nov 2006 19:40:37 +0000 (19:40 -0000)]
* ProgressBar.cs: fix a typo in ToString().  fixes a unit test.

2006-11-07  Chris Toshok  <toshok@ximian.com>

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

17 years agoenable this test too
Chris Toshok [Tue, 7 Nov 2006 19:34:01 +0000 (19:34 -0000)]
enable this test too

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

17 years agothis test is working now
Chris Toshok [Tue, 7 Nov 2006 19:31:45 +0000 (19:31 -0000)]
this test is working now

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

17 years ago * RelatedPropertyManager.cs: set property_name in our ctor. fixes
Chris Toshok [Tue, 7 Nov 2006 19:31:15 +0000 (19:31 -0000)]
* RelatedPropertyManager.cs: set property_name in our ctor.  fixes
PropertyManager unit tests.

* PropertyManager.cs: make property_name internal.

2006-11-07  Chris Toshok  <toshok@ximian.com>

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

17 years agoget rid of the ^M's, and also fix up the nonworking imagelist and imemode tests
Chris Toshok [Tue, 7 Nov 2006 19:12:57 +0000 (19:12 -0000)]
get rid of the ^M's, and also fix up the nonworking imagelist and imemode tests

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

17 years ago2006-11-07 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 7 Nov 2006 19:12:19 +0000 (19:12 -0000)]
2006-11-07  Chris Toshok  <toshok@ximian.com>

* ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
pass a unit test.  Also, don't set image_index to anything in
response to setting the ImageList property.

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

17 years agothis test works now
Chris Toshok [Tue, 7 Nov 2006 18:52:45 +0000 (18:52 -0000)]
this test works now

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